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.

Merge branch 'dev' of https://github.com/dream-num/univer into dev

jerryb944b430c6d7
diff --cc packages/base-ui/src/Common/EventManager.ts
index d08bf87907,4287f0c324..371af92dff
--- a/packages/base-ui/src/Common/EventManager.ts
+++ b/packages/base-ui/src/Common/EventManager.ts
@@@ -11,9 -11,7 +11,8 @@@ export class EventManager
private _installObserver() {
// Event
- this._observerManager.addObserver('onRichTextDidMountObservable', 'core', new Observable());
this._observerManager.addObserver('onUIChangeObservable', 'core', new Observable());
this._observerManager.addObserver('onAfterChangeUILocaleObservable', 'core', new Observable());
+ this._observerManager.addObserver('onViewComponentFocusChange', 'core', new Observable());
}
}
diff --cc packages/ui-plugin-sheets/src/Controller/SheetContainerUIController.ts
index ed088ffb6a,fbe58cd172..c40c1f69ea
--- a/packages/ui-plugin-sheets/src/Controller/SheetContainerUIController.ts
+++ b/packages/ui-plugin-sheets/src/Controller/SheetContainerUIController.ts
@@@ -3,9 -5,10 +5,11 @@@ import { ISheetUIPluginConfig } from '.
import { SheetUIPlugin } from '../SheetUIPlugin';
import { SheetContainer, UI } from '../View';
import { CellEditorUIController } from './CellEditorUIController';
+ import { FormulaBarUIController } from './FormulaBarUIController';
+ import { InfoBarUIController } from './InfoBarUIController';
import { RightMenuUIController } from './RightMenuUIController';
+import { SheetBarUIController } from './SheetBarUIContruller';
- import { ToolBarUIController } from './ToolbarUIController';
+ import { ToolbarUIController } from './ToolbarUIController';
export class SheetContainerUIController {
protected _plugin: SheetUIPlugin;
@@@ -35,13 -42,15 +43,15 @@@
this._initialize();
- this._toolbarController = new ToolBarUIController(this._plugin, this._config.layout?.toolBarConfig);
+ console.log('sheet container init!');
+
+ this._toolbarController = new ToolbarUIController(this._plugin, this._config.layout?.toolbarConfig);
this._cellEditorUIController = new CellEditorUIController(this._plugin);
- // this._formulaBarUIController = new FormulaBarUIController(this._plugin);
- // this._infoBarController = new InfoBarController(this._plugin);
+ this._formulaBarUIController = new FormulaBarUIController(this._plugin);
+ this._infoBarController = new InfoBarUIController(this._plugin);
this._rightMenuController = new RightMenuUIController(this._plugin, this._config.layout?.rightMenuConfig);
// this._countBarController = new CountBarController(this._plugin);
- // this._sheetBarController = new SheetBarControl(this._plugin);
+ this._sheetBarController = new SheetBarUIController(this._plugin);
// 初始化UI
const config = {