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(workspace): rename

Dushusira80516ed532e
diff --git a/packages/base-ui/src/Basics/Const/ComponentConfig/DefaultToolbarConfig.ts b/packages/base-ui/src/Basics/Const/ComponentConfig/DefaultToolbarConfig.ts
index bfcd5cdf61..6b9f15e437 100644
--- a/packages/base-ui/src/Basics/Const/ComponentConfig/DefaultToolbarConfig.ts
+++ b/packages/base-ui/src/Basics/Const/ComponentConfig/DefaultToolbarConfig.ts
@@ -1,4 +1,4 @@
-import { BaseToolbarConfig, SheetToolbarConfig } from '../../Interfaces/ComponentConfig/ToolbarConfig1';
+import { BaseToolbarConfig, SheetToolbarConfig } from '../../Interfaces/ComponentConfig/ToolbarConfig';
export const DefaultToolbarConfig: BaseToolbarConfig = {
undo: true,
diff --git a/packages/base-ui/src/Basics/Interfaces/ComponentConfig/ToolbarConfig1.ts b/packages/base-ui/src/Basics/Interfaces/ComponentConfig/ToolbarConfig.ts
similarity index 100%
rename from packages/base-ui/src/Basics/Interfaces/ComponentConfig/ToolbarConfig1.ts
rename to packages/base-ui/src/Basics/Interfaces/ComponentConfig/ToolbarConfig.ts
diff --git a/packages/base-ui/src/Basics/Interfaces/ComponentConfig/UniverSheetConfig.ts b/packages/base-ui/src/Basics/Interfaces/ComponentConfig/UniverSheetConfig.ts
index 1608f15e70..4d05bf654e 100644
--- a/packages/base-ui/src/Basics/Interfaces/ComponentConfig/UniverSheetConfig.ts
+++ b/packages/base-ui/src/Basics/Interfaces/ComponentConfig/UniverSheetConfig.ts
@@ -1,5 +1,5 @@
import { SheetRightMenuConfig } from './RightMenuConfig';
-import { SheetToolbarConfig } from './ToolbarConfig1';
+import { SheetToolbarConfig } from './ToolbarConfig';
export interface UniverSheetConfig {
toolbarConfig?: SheetToolbarConfig;
diff --git a/packages/base-ui/src/Basics/Interfaces/ComponentConfig/index.ts b/packages/base-ui/src/Basics/Interfaces/ComponentConfig/index.ts
index b09d63fd39..38a635ae55 100644
--- a/packages/base-ui/src/Basics/Interfaces/ComponentConfig/index.ts
+++ b/packages/base-ui/src/Basics/Interfaces/ComponentConfig/index.ts
@@ -1,4 +1,4 @@
-export * from './ToolbarConfig1';
+export * from './ToolbarConfig';
export * from './UniverConfig';
export * from './UniverSheetConfig';
export * from './RightMenuConfig';
diff --git a/packages/ui-plugin-sheets/src/Controller/ToolbarUIController.ts b/packages/ui-plugin-sheets/src/Controller/ToolbarUIController.ts
index 369dc33bec..5f7f57b0b0 100644
--- a/packages/ui-plugin-sheets/src/Controller/ToolbarUIController.ts
+++ b/packages/ui-plugin-sheets/src/Controller/ToolbarUIController.ts
@@ -30,7 +30,7 @@ import {
VERTICAL_ALIGN_CHILDREN,
TEXT_WRAP_CHILDREN,
TEXT_ROTATE_CHILDREN,
-} from '../View/Toolbar1/Const';
+} from '../View/Toolbar/Const';
import styles from '../View/Toolbar/index.module.less';
diff --git a/packages/ui-plugin-sheets/src/View/SheetContainer/SheetContainer.tsx b/packages/ui-plugin-sheets/src/View/SheetContainer/SheetContainer.tsx
index bd18ad74c2..557c9cb7fb 100644
--- a/packages/ui-plugin-sheets/src/View/SheetContainer/SheetContainer.tsx
+++ b/packages/ui-plugin-sheets/src/View/SheetContainer/SheetContainer.tsx
@@ -11,7 +11,7 @@ import { FormulaBar } from '../FormulaBar';
import { RichText } from '../RichText';
import { ISheetUIPluginConfig } from '../../Basics';
import { Slot } from '../Slot/Slot';
-import { Toolbar } from '../Toolbar1';
+import { Toolbar } from '../Toolbar';
export interface BaseSheetContainerProps extends BaseComponentProps {
config: ISheetUIPluginConfig;
diff --git a/packages/ui-plugin-sheets/src/View/Toolbar1/Const.ts b/packages/ui-plugin-sheets/src/View/Toolbar/Const.ts
similarity index 100%
rename from packages/ui-plugin-sheets/src/View/Toolbar1/Const.ts
rename to packages/ui-plugin-sheets/src/View/Toolbar/Const.ts
diff --git a/packages/ui-plugin-sheets/src/View/Toolbar1/DataBar.tsx b/packages/ui-plugin-sheets/src/View/Toolbar/DataBar.tsx
similarity index 100%
rename from packages/ui-plugin-sheets/src/View/Toolbar1/DataBar.tsx
rename to packages/ui-plugin-sheets/src/View/Toolbar/DataBar.tsx
diff --git a/packages/ui-plugin-sheets/src/View/Toolbar1/ToolBar.md b/packages/ui-plugin-sheets/src/View/Toolbar/ToolBar.md
similarity index 100%
rename from packages/ui-plugin-sheets/src/View/Toolbar1/ToolBar.md
rename to packages/ui-plugin-sheets/src/View/Toolbar/ToolBar.md
diff --git a/packages/ui-plugin-sheets/src/View/Toolbar1/ToolBar.tsx b/packages/ui-plugin-sheets/src/View/Toolbar/ToolBar.tsx
similarity index 100%
rename from packages/ui-plugin-sheets/src/View/Toolbar1/ToolBar.tsx
rename to packages/ui-plugin-sheets/src/View/Toolbar/ToolBar.tsx
diff --git a/packages/ui-plugin-sheets/src/View/Toolbar1/Toolbar-zh.md b/packages/ui-plugin-sheets/src/View/Toolbar/Toolbar-zh.md
similarity index 100%
rename from packages/ui-plugin-sheets/src/View/Toolbar1/Toolbar-zh.md
rename to packages/ui-plugin-sheets/src/View/Toolbar/Toolbar-zh.md
diff --git a/packages/ui-plugin-sheets/src/View/Toolbar1/index.less b/packages/ui-plugin-sheets/src/View/Toolbar/index.less
similarity index 100%
rename from packages/ui-plugin-sheets/src/View/Toolbar1/index.less
rename to packages/ui-plugin-sheets/src/View/Toolbar/index.less
diff --git a/packages/ui-plugin-sheets/src/View/Toolbar1/index.module.css b/packages/ui-plugin-sheets/src/View/Toolbar/index.module.css
similarity index 100%
rename from packages/ui-plugin-sheets/src/View/Toolbar1/index.module.css
rename to packages/ui-plugin-sheets/src/View/Toolbar/index.module.css
diff --git a/packages/ui-plugin-sheets/src/View/Toolbar1/index.module.less b/packages/ui-plugin-sheets/src/View/Toolbar/index.module.less
similarity index 100%
rename from packages/ui-plugin-sheets/src/View/Toolbar1/index.module.less
rename to packages/ui-plugin-sheets/src/View/Toolbar/index.module.less
diff --git a/packages/ui-plugin-sheets/src/View/Toolbar1/index.ts b/packages/ui-plugin-sheets/src/View/Toolbar/index.ts
similarity index 100%
rename from packages/ui-plugin-sheets/src/View/Toolbar1/index.ts
rename to packages/ui-plugin-sheets/src/View/Toolbar/index.ts
diff --git a/packages/ui-plugin-sheets/src/View/index.tsx b/packages/ui-plugin-sheets/src/View/index.tsx
index 6d2e3a2f9f..8b72e66a87 100644
--- a/packages/ui-plugin-sheets/src/View/index.tsx
+++ b/packages/ui-plugin-sheets/src/View/index.tsx
@@ -38,7 +38,7 @@ export class UI {
}
export * from './SheetContainer';
-export * from './Toolbar1';
+export * from './Toolbar';
export * from './RightMenu';
export * from './InfoBar';
export * from './Common';