Skip to content

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.

chore: add SingleUnitUIController from index (#4761)

Wenzhao Hubb23f0429332
diff --git a/packages/ui/src/controllers/ui/ui-shared.controller.ts b/packages/ui/src/controllers/ui/ui-shared.controller.ts
index f5ee0c617a..2abfd92e51 100644
--- a/packages/ui/src/controllers/ui/ui-shared.controller.ts
+++ b/packages/ui/src/controllers/ui/ui-shared.controller.ts
@@ -21,6 +21,9 @@ import { Disposable, isInternalEditorID, LifecycleStages } from '@univerjs/core'
const STEADY_TIMEOUT = 3000;
+/**
+ * @ignore
+ */
export abstract class SingleUnitUIController extends Disposable {
protected _steadyTimeout: number;
protected _renderTimeout: number;
diff --git a/packages/ui/src/index.ts b/packages/ui/src/index.ts
index 7154724b38..b122cefa71 100644
--- a/packages/ui/src/index.ts
+++ b/packages/ui/src/index.ts
@@ -40,6 +40,7 @@ export {
export { ShortcutPanelController } from './controllers/shortcut-display/shortcut-panel.controller';
export { IUIController, type IWorkbenchOptions } from './controllers/ui/ui.controller';
export { DesktopUIController } from './controllers/ui/ui-desktop.controller';
+export { SingleUnitUIController } from './controllers/ui/ui-shared.controller';
export { UniverMobileUIPlugin } from './mobile-ui-plugin';
export { DesktopBeforeCloseService, IBeforeCloseService } from './services/before-close/before-close.service';
export { CopyCommand, CutCommand, PasteCommand, SheetPasteShortKeyCommandName } from './services/clipboard/clipboard.command';