Build your own AI office with Univer Office SDK. Bring editing, calculation, collaboration, and file processing into your product for people and AI agents. Built on an extensible open-source core.
TypeScript boardcollaborationdocdocxexceloffce365officepdfpptpptxpresentationsdksheetslidesspreadsheetuniverwordwordprocessorworkspacexlsx
chore: change property accessibility desktop dialog service
Wenzhao Hu48417ca50fcb
diff --git a/packages/ui/src/services/dialog/desktop-dialog.service.ts b/packages/ui/src/services/dialog/desktop-dialog.service.tsindex b72ede5633..8f84bd5384 100644--- a/packages/ui/src/services/dialog/desktop-dialog.service.ts+++ b/packages/ui/src/services/dialog/desktop-dialog.service.ts@@ -22,8 +22,8 @@ import type { IDialogPartMethodOptions } from '../../views/components/dialog-parimport type { IDialogService } from './dialog.service';export class DesktopDialogService extends Disposable implements IDialogService {- private _dialogOptions: IDialogPartMethodOptions[] = [];- private readonly _dialogOptions$ = new Subject<IDialogPartMethodOptions[]>();+ protected _dialogOptions: IDialogPartMethodOptions[] = [];+ protected readonly _dialogOptions$ = new Subject<IDialogPartMethodOptions[]>();override dispose(): void {super.dispose();@@ -62,6 +62,6 @@ export class DesktopDialogService extends Disposable implements IDialogService {}getDialogs$() {- return this._dialogOptions$;+ return this._dialogOptions$.asObservable();}}