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.

flush

jerrye6626f3d8d57
diff --git a/packages/base-sheets/src/Controller/SheetBarController.ts b/packages/base-sheets/src/Controller/SheetBarController.ts
index 5b90f4d011..5c2f79d226 100644
--- a/packages/base-sheets/src/Controller/SheetBarController.ts
+++ b/packages/base-sheets/src/Controller/SheetBarController.ts
@@ -246,7 +246,7 @@ class SheetBarUIController {
});
});
- CommandManager.getActionObservers().add((actionEvent) => {
+ CommandManager.getActionObservers().add((actionEvent: any) => {
const action = actionEvent.action as SheetActionBase<any>;
const workbook = action.getWorkBook();
const actionUnitId = workbook.getUnitId();
diff --git a/packages/ui-plugin-sheets/src/Controller/SheetBarUIControl.ts b/packages/ui-plugin-sheets/src/Controller/SheetBarUIControl.ts
new file mode 100644
index 0000000000..ee73a7e4c0
--- /dev/null
+++ b/packages/ui-plugin-sheets/src/Controller/SheetBarUIControl.ts
@@ -0,0 +1,13 @@
+export class SheetBarUIController {
+ protected _sheetBar: SheetBar;
+
+ protected _sheetList: SheetUlProps[];
+
+ protected _sheetIndex: number;
+
+ protected _dataId: string;
+
+ protected _sheetUl: SheetUl[];
+
+ protected _menuList: SheetUlProps[];
+}
\ No newline at end of file