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
refactor: rename plugins (#719)
白熱33ab44e1a6ce
diff --git a/examples/docs/src/main.ts b/examples/docs/src/main.tsindex d753a37489..fea06ddd12 100644--- a/examples/docs/src/main.ts+++ b/examples/docs/src/main.ts@@ -16,10 +16,10 @@import { LocaleType, Univer } from '@univerjs/core';import { defaultTheme } from '@univerjs/design';-import { UniverDocs } from '@univerjs/docs';-import { UniverDocsUI } from '@univerjs/docs-ui';-import { UniverRenderEngine } from '@univerjs/engine-render';-import { UniverUI } from '@univerjs/ui';+import { UniverDocsPlugin } from '@univerjs/docs';+import { UniverDocsUIPlugin } from '@univerjs/docs-ui';+import { UniverRenderEnginePlugin } from '@univerjs/engine-render';+import { UniverUIPlugin } from '@univerjs/ui';import { DEFAULT_DOCUMENT_DATA_CN } from 'data';import { locales } from './locales';@@ -40,16 +40,16 @@ const univer = new Univer({});// core plugins-univer.registerPlugin(UniverRenderEngine);-univer.registerPlugin(UniverUI, {+univer.registerPlugin(UniverRenderEnginePlugin);+univer.registerPlugin(UniverUIPlugin, {container: 'univer-container',header: true,toolbar: true,});-univer.registerPlugin(UniverDocs, {+univer.registerPlugin(UniverDocsPlugin, {standalone: true,});-univer.registerPlugin(UniverDocsUI, {+univer.registerPlugin(UniverDocsUIPlugin, {container: 'univerdoc',layout: {docContainerConfig: {diff --git a/examples/sheets/src/main.ts b/examples/sheets/src/main.tsindex 801cdb051a..a781d704db 100644--- a/examples/sheets/src/main.ts+++ b/examples/sheets/src/main.ts@@ -16,18 +16,18 @@import { LocaleType, LogLevel, Univer } from '@univerjs/core';import { greenTheme } from '@univerjs/design';-import { RichTextEditingMutation, UniverDocs } from '@univerjs/docs';-import { UniverFormulaEngine } from '@univerjs/engine-formula';-import { UniverRenderEngine } from '@univerjs/engine-render';+import { RichTextEditingMutation, UniverDocsPlugin } from '@univerjs/docs';+import { UniverFormulaEnginePlugin } from '@univerjs/engine-formula';+import { UniverRenderEnginePlugin } from '@univerjs/engine-render';import type { IUniverRPCMainThreadConfig } from '@univerjs/rpc';-import { UniverRPCMainThread } from '@univerjs/rpc';-import { UniverSheets } from '@univerjs/sheets';-import { UniverSheetsFormula } from '@univerjs/sheets-formula';-import { UniverSheetsNumfmt } from '@univerjs/sheets-numfmt';-import { UniverSheetsUI } from '@univerjs/sheets-ui';-import { UniverUI } from '@univerjs/ui';+import { UniverRPCMainThreadPlugin } from '@univerjs/rpc';+import { UniverSheetsPlugin } from '@univerjs/sheets';+import { UniverSheetsFormulaPlugin } from '@univerjs/sheets-formula';+import { UniverSheetsNumfmtPlugin } from '@univerjs/sheets-numfmt';+import { UniverSheetsUIPlugin } from '@univerjs/sheets-ui';+import { UniverUIPlugin } from '@univerjs/ui';import type { IUniscriptConfig } from '@univerjs/uniscript';-import { UniverUniscript } from '@univerjs/uniscript';+import { UniverUniscriptPlugin } from '@univerjs/uniscript';import { DEFAULT_WORKBOOK_DATA_DEMO } from 'data';import { locales } from './locales';@@ -50,35 +50,35 @@ const univer = new Univer({});// core plugins-univer.registerPlugin(UniverDocs, {+univer.registerPlugin(UniverDocsPlugin, {hasScroll: false,});-univer.registerPlugin(UniverRenderEngine);-univer.registerPlugin(UniverUI, {+univer.registerPlugin(UniverRenderEnginePlugin);+univer.registerPlugin(UniverUIPlugin, {container: 'app',header: true,toolbar: true,footer: true,});-univer.registerPlugin(UniverSheets, {+univer.registerPlugin(UniverSheetsPlugin, {notExecuteFormula: true,});-univer.registerPlugin(UniverSheetsUI);+univer.registerPlugin(UniverSheetsUIPlugin);// sheet feature plugins-univer.registerPlugin(UniverSheetsNumfmt);+univer.registerPlugin(UniverSheetsNumfmtPlugin);univer.registerPlugin(DebuggerPlugin);-univer.registerPlugin(UniverFormulaEngine, {+univer.registerPlugin(UniverFormulaEnginePlugin, {notExecuteFormula: true,});-univer.registerPlugin(UniverSheetsFormula);-univer.registerPlugin(UniverRPCMainThread, {+univer.registerPlugin(UniverSheetsFormulaPlugin);+univer.registerPlugin(UniverRPCMainThreadPlugin, {workerURL: './worker.js',unsyncMutations: new Set([RichTextEditingMutation.id]),} as IUniverRPCMainThreadConfig);-univer.registerPlugin(UniverUniscript, {+univer.registerPlugin(UniverUniscriptPlugin, {getWorkerUrl(moduleID, label) {if (label === 'typescript' || label === 'javascript') {return './vs/language/typescript/ts.worker.js';diff --git a/examples/sheets/src/worker.ts b/examples/sheets/src/worker.tsindex cbb2f9bffe..7c3d25aeec 100644--- a/examples/sheets/src/worker.ts+++ b/examples/sheets/src/worker.ts@@ -15,17 +15,17 @@*/import { LocaleType, Univer } from '@univerjs/core';-import { UniverFormulaEngine } from '@univerjs/engine-formula';+import { UniverFormulaEnginePlugin } from '@univerjs/engine-formula';import { UniverRPCWorkerThreadPlugin } from '@univerjs/rpc';-import { UniverSheets } from '@univerjs/sheets';+import { UniverSheetsPlugin } from '@univerjs/sheets';// Univer web worker is also a univer application.const univer = new Univer({locale: LocaleType.ZH_CN,});-univer.registerPlugin(UniverSheets);-univer.registerPlugin(UniverFormulaEngine);+univer.registerPlugin(UniverSheetsPlugin);+univer.registerPlugin(UniverFormulaEnginePlugin);univer.registerPlugin(UniverRPCWorkerThreadPlugin);declare let self: WorkerGlobalScope & typeof globalThis & { univer: Univer };diff --git a/examples/slides/src/main.ts b/examples/slides/src/main.tsindex 18d675133b..fa5c9c903a 100644--- a/examples/slides/src/main.ts+++ b/examples/slides/src/main.ts@@ -16,10 +16,10 @@import { LocaleType, Univer } from '@univerjs/core';import { greenTheme } from '@univerjs/design';-import { UniverRenderEngine } from '@univerjs/engine-render';-import { UniverSlides } from '@univerjs/slides';-import { UniverSlidesUI } from '@univerjs/slides-ui';-import { UniverUI } from '@univerjs/ui';+import { UniverRenderEnginePlugin } from '@univerjs/engine-render';+import { UniverSlidesPlugin } from '@univerjs/slides';+import { UniverSlidesUIPlugin } from '@univerjs/slides-ui';+import { UniverUIPlugin } from '@univerjs/ui';import { DEFAULT_SLIDE_DATA } from 'data';// package info@@ -37,16 +37,16 @@ const univer = new Univer({});// base-render-univer.registerPlugin(UniverRenderEngine);-univer.registerPlugin(UniverUI, {+univer.registerPlugin(UniverRenderEnginePlugin);+univer.registerPlugin(UniverUIPlugin, {container: 'univer-container',header: true,toolbar: true,footer: true,innerLeft: true,});-univer.registerPlugin(UniverSlides);-univer.registerPlugin(UniverSlidesUI);+univer.registerPlugin(UniverSlidesPlugin);+univer.registerPlugin(UniverSlidesUIPlugin);univer.createUniverSlide(DEFAULT_SLIDE_DATA);diff --git a/packages/docs-ui/src/docs-ui-plugin.ts b/packages/docs-ui/src/docs-ui-plugin.tsindex e96ffc4554..d24da01825 100644--- a/packages/docs-ui/src/docs-ui-plugin.ts+++ b/packages/docs-ui/src/docs-ui-plugin.ts@@ -33,7 +33,7 @@ import { AppUIController } from './controllers';import { DocUIController } from './controllers/doc-ui.controller';import { zhCN } from './locale';-export class UniverDocsUI extends Plugin {+export class UniverDocsUIPlugin extends Plugin {static override type = PluginType.Doc;constructor(diff --git a/packages/docs/src/doc-plugin.ts b/packages/docs/src/doc-plugin.tsindex 486ea1d1f3..e90ced7c32 100644--- a/packages/docs/src/doc-plugin.ts+++ b/packages/docs/src/doc-plugin.ts@@ -95,7 +95,7 @@ const DEFAULT_DOCUMENT_PLUGIN_DATA = {const PLUGIN_NAME = 'docs';-export class UniverDocs extends Plugin {+export class UniverDocsPlugin extends Plugin {static override type = PluginType.Doc;private _config: IUniverDocsConfig;diff --git a/packages/docs/src/index.ts b/packages/docs/src/index.tsindex 915e9e5ef0..15247d9273 100644--- a/packages/docs/src/index.ts+++ b/packages/docs/src/index.ts@@ -49,7 +49,7 @@ export {type ISetTextSelectionsOperationParams,SetTextSelectionsOperation,} from './commands/operations/text-selection.operation';-export { type IUniverDocsConfig, UniverDocs } from './doc-plugin';+export { type IUniverDocsConfig, UniverDocsPlugin } from './doc-plugin';export { DocSkeletonManagerService } from './services/doc-skeleton-manager.service';export { DocViewModelManagerService } from './services/doc-view-model-manager.service';export { TextSelectionManagerService } from './services/text-selection-manager.service';diff --git a/packages/engine-formula/src/index.ts b/packages/engine-formula/src/index.tsindex c0e32d0eec..3d14947987 100644--- a/packages/engine-formula/src/index.ts+++ b/packages/engine-formula/src/index.ts@@ -92,7 +92,7 @@ export { FUNCTION_NAMES_UNIVER } from './functions/univer/function-names';export { FUNCTION_NAMES_WEB } from './functions/web/function-names';export { FormulaDataModel } from './models/formula-data.model';export { initSheetFormulaData } from './models/formula-data.model';-export { UniverFormulaEngine } from './plugin';+export { UniverFormulaEnginePlugin } from './plugin';export { CalculateFormulaService } from './services/calculate-formula.service';export {FeatureCalculationManagerService,diff --git a/packages/engine-formula/src/plugin.ts b/packages/engine-formula/src/plugin.tsindex 53c9c491cb..8f6c78b281 100644--- a/packages/engine-formula/src/plugin.ts+++ b/packages/engine-formula/src/plugin.ts@@ -58,7 +58,7 @@ interface IUniverFormulaEngine {notExecuteFormula?: boolean;}-export class UniverFormulaEngine extends Plugin {+export class UniverFormulaEnginePlugin extends Plugin {constructor(private _config: IUniverFormulaEngine,@Inject(Injector) protected override _injector: Injectordiff --git a/packages/engine-render/src/index.ts b/packages/engine-render/src/index.tsindex 90ef8a8f13..b835fc95e1 100644--- a/packages/engine-render/src/index.ts+++ b/packages/engine-render/src/index.ts@@ -23,7 +23,7 @@ export * from './custom';export * from './engine';export * from './group';export * from './layer';-export { IRenderingEngine, UniverRenderEngine } from './render-engine';+export { IRenderingEngine, UniverRenderEnginePlugin } from './render-engine';export * from './render-manager.service';export * from './scene';export * from './scene-viewer';diff --git a/packages/engine-render/src/render-engine.ts b/packages/engine-render/src/render-engine.tsindex 8eb86a38ee..64b2b6a323 100644--- a/packages/engine-render/src/render-engine.ts+++ b/packages/engine-render/src/render-engine.ts@@ -27,7 +27,7 @@ export const IRenderingEngine = createIdentifier<Engine>('univer.render-engine')const PLUGIN_NAME = 'render-engine';-export class UniverRenderEngine extends Plugin {+export class UniverRenderEnginePlugin extends Plugin {static override type = PluginType.Univer;constructor(diff --git a/packages/image/src/image-plugin.ts b/packages/image/src/image-plugin.tsindex 3d327b5ae0..049b3278e5 100644--- a/packages/image/src/image-plugin.ts+++ b/packages/image/src/image-plugin.ts@@ -25,7 +25,7 @@ import { IImageRenderService, ImageRenderService } from './services/image-renderconst PLUGIN_NAME = 'image';-export class ImagePlugin extends Plugin {+export class UniverImagePlugin extends Plugin {static override type = PluginType.Univer;constructor(diff --git a/packages/image/src/index.ts b/packages/image/src/index.tsindex 00cc8cd7b2..9f1a98dbe1 100644--- a/packages/image/src/index.ts+++ b/packages/image/src/index.ts@@ -14,5 +14,5 @@* limitations under the License.*/-export { ImagePlugin } from './image-plugin';+export { UniverImagePlugin } from './image-plugin';export { ImageManagerService } from './services/image-manager.service';diff --git a/packages/rpc/src/index.ts b/packages/rpc/src/index.tsindex 9876ac91cb..24b592f32b 100644--- a/packages/rpc/src/index.ts+++ b/packages/rpc/src/index.ts@@ -17,7 +17,7 @@export {type IUniverRPCMainThreadConfig,type IUniverRPCWorkerThreadPluginConfig,- UniverRPCMainThread,+ UniverRPCMainThreadPlugin,UniverRPCWorkerThreadPlugin,} from './plugin';export { IRPChannelService } from './services/rpc/channel.service';diff --git a/packages/rpc/src/plugin.ts b/packages/rpc/src/plugin.tsindex 1ac09607b3..0ef324fa73 100644--- a/packages/rpc/src/plugin.ts+++ b/packages/rpc/src/plugin.ts@@ -41,7 +41,7 @@ export interface IUniverRPCMainThreadConfig {* This plugin is used to register the RPC services on the main thread. It* is also responsible for booting up the Web Worker instance of Univer.*/-export class UniverRPCMainThread extends Plugin {+export class UniverRPCMainThreadPlugin extends Plugin {static override type = PluginType.Univer;constructor(diff --git a/packages/sheets-find/src/find-plugin.ts b/packages/sheets-find/src/find-plugin.tsindex b00df1c080..2613666e51 100644--- a/packages/sheets-find/src/find-plugin.ts+++ b/packages/sheets-find/src/find-plugin.ts@@ -31,7 +31,7 @@ import { FindService } from './services/find.service';export interface IFindPluginConfig {}-export class FindPlugin extends Plugin {+export class UniverSheetsFindPlugin extends Plugin {static override type = PluginType.Sheet;private _config: IFindPluginConfig = {};diff --git a/packages/sheets-find/src/index.ts b/packages/sheets-find/src/index.tsindex 7a054ed45c..9ad5d2512a 100644--- a/packages/sheets-find/src/index.ts+++ b/packages/sheets-find/src/index.ts@@ -14,5 +14,5 @@* limitations under the License.*/-export { FindPlugin } from './find-plugin';+export { UniverSheetsFindPlugin } from './find-plugin';export { enUS, zhCN } from './locale';diff --git a/packages/sheets-formula/src/formula-ui-plugin.ts b/packages/sheets-formula/src/formula-ui-plugin.tsindex 8b875f054b..d682c5d976 100644--- a/packages/sheets-formula/src/formula-ui-plugin.ts+++ b/packages/sheets-formula/src/formula-ui-plugin.ts@@ -40,7 +40,7 @@ import { FormulaPromptService, IFormulaPromptService } from './services/prompt.sinterface IFormulaUIConfig {description: IFunctionInfo[];}-export class UniverSheetsFormula extends Plugin {+export class UniverSheetsFormulaPlugin extends Plugin {static override type = PluginType.Sheet;constructor(diff --git a/packages/sheets-formula/src/index.ts b/packages/sheets-formula/src/index.tsindex 90671bb84b..3afcd0d705 100644--- a/packages/sheets-formula/src/index.ts+++ b/packages/sheets-formula/src/index.ts@@ -14,5 +14,5 @@* limitations under the License.*/-export { UniverSheetsFormula } from './formula-ui-plugin';+export { UniverSheetsFormulaPlugin } from './formula-ui-plugin';export { enUS, zhCN } from './locale';diff --git a/packages/sheets-import-xlsx/src/import-xlsx-plugin.tsx b/packages/sheets-import-xlsx/src/import-xlsx-plugin.tsxindex b8e081191c..88147f82bf 100644--- a/packages/sheets-import-xlsx/src/import-xlsx-plugin.tsx+++ b/packages/sheets-import-xlsx/src/import-xlsx-plugin.tsx@@ -24,7 +24,7 @@ import { UploadService } from './services/upload.service';export interface IImportXlsxPluginConfig {}-export class ImportXlsxPlugin extends Plugin {+export class UniverSheetsImportXlsxPlugin extends Plugin {static override type = PluginType.Sheet;private _importXlsxController!: ImportXlsxController;diff --git a/packages/sheets-numfmt/src/numfmt-plugin.ts b/packages/sheets-numfmt/src/numfmt-plugin.tsindex 139590de1e..d7a46f3fef 100644--- a/packages/sheets-numfmt/src/numfmt-plugin.ts+++ b/packages/sheets-numfmt/src/numfmt-plugin.ts@@ -27,7 +27,7 @@ import { NumfmtSheetController } from './controllers/numfmt.sheet.controller';import { INumfmtController } from './controllers/type';import { UserHabitController } from './controllers/user-habit.controller';-export class UniverSheetsNumfmt extends Plugin {+export class UniverSheetsNumfmtPlugin extends Plugin {static override type = PluginType.Sheet;constructor(diff --git a/packages/sheets-ui/src/index.ts b/packages/sheets-ui/src/index.tsindex 6cfe98faf6..af07a5b612 100644--- a/packages/sheets-ui/src/index.ts+++ b/packages/sheets-ui/src/index.ts@@ -59,4 +59,4 @@ export { ISelectionRenderService } from './services/selection/selection-render.sexport { SelectionRenderService } from './services/selection/selection-render.service';export { SelectionShape } from './services/selection/selection-shape';export { SheetSkeletonManagerService } from './services/sheet-skeleton-manager.service';-export { UniverSheetsUI } from './sheets-ui-plugin';+export { UniverSheetsUIPlugin } from './sheets-ui-plugin';diff --git a/packages/sheets-ui/src/sheets-ui-plugin.ts b/packages/sheets-ui/src/sheets-ui-plugin.tsindex b4a0870463..a1cf3272d6 100644--- a/packages/sheets-ui/src/sheets-ui-plugin.ts+++ b/packages/sheets-ui/src/sheets-ui-plugin.ts@@ -63,7 +63,7 @@ import { SheetSkeletonManagerService } from './services/sheet-skeleton-manager.simport { IStatusBarService, StatusBarService } from './services/status-bar.service';import { SheetCanvasView } from './views/sheet-canvas-view';-export class UniverSheetsUI extends Plugin {+export class UniverSheetsUIPlugin extends Plugin {static override type = PluginType.Sheet;constructor(diff --git a/packages/sheets/src/index.ts b/packages/sheets/src/index.tsindex b17e2cee61..de1e5d9efe 100644--- a/packages/sheets/src/index.ts+++ b/packages/sheets/src/index.ts@@ -14,7 +14,7 @@* limitations under the License.*/-export { type IUniverSheetsConfig, UniverSheets } from './sheets-plugin';+export { type IUniverSheetsConfig, UniverSheetsPlugin } from './sheets-plugin';// #region servicesexport { COMMAND_LISTENER_SKELETON_CHANGE, COMMAND_LISTENER_VALUE_CHANGE } from './basics/const/command-listener-const';diff --git a/packages/sheets/src/sheets-plugin.ts b/packages/sheets/src/sheets-plugin.tsindex f5f2a554a1..81d089b0ab 100644--- a/packages/sheets/src/sheets-plugin.ts+++ b/packages/sheets/src/sheets-plugin.ts@@ -40,7 +40,7 @@ export interface IUniverSheetsConfig {/*** The main sheet base, construct the sheet container and layout, mount the rendering engine*/-export class UniverSheets extends Plugin {+export class UniverSheetsPlugin extends Plugin {static override type = PluginType.Sheet;constructor(diff --git a/packages/slides-ui/src/slides-ui-plugin.ts b/packages/slides-ui/src/slides-ui-plugin.tsindex ba20bfafc5..80f8d52c9a 100644--- a/packages/slides-ui/src/slides-ui-plugin.ts+++ b/packages/slides-ui/src/slides-ui-plugin.ts@@ -26,7 +26,7 @@ import { AppUIController } from './controllers/app-ui-controller';import { SlideUIController } from './controllers/slide-ui.controller';import { zhCN } from './locale';-export class UniverSlidesUI extends Plugin {+export class UniverSlidesUIPlugin extends Plugin {static override type = PluginType.Slide;private _appUIController?: AppUIController;diff --git a/packages/slides-ui/src/views/toolbar/Toolbar.tsx b/packages/slides-ui/src/views/toolbar/Toolbar.tsxindex e3626d91af..2f860d2a43 100644--- a/packages/slides-ui/src/views/toolbar/Toolbar.tsx+++ b/packages/slides-ui/src/views/toolbar/Toolbar.tsx@@ -18,7 +18,7 @@ import { Button, Container, Tooltip } from '@univerjs/design';import type { BaseComponentProps } from '@univerjs/ui';import React, { Component, createRef } from 'react';-import type { UniverSlidesUI } from '../..';+import type { UniverSlidesUIPlugin } from '../..';import { SLIDE_UI_PLUGIN_NAME } from '../../basics';import type { IToolbarItemProps } from '../../controllers';import styles from './index.module.less';@@ -183,7 +183,7 @@ export class Toolbar extends Component<IProps, IState> {// @ts-ignoreconst wrapper = this.context().getPluginManager()- .getPluginByName<UniverSlidesUI>(SLIDE_UI_PLUGIN_NAME)+ .getPluginByName<UniverSlidesUIPlugin>(SLIDE_UI_PLUGIN_NAME)?.getAppUIController().getSlideContainerController().getContentRef().current!;diff --git a/packages/slides/src/slides-plugin.ts b/packages/slides/src/slides-plugin.tsindex 29a0b7c6b5..9b9282418a 100644--- a/packages/slides/src/slides-plugin.ts+++ b/packages/slides/src/slides-plugin.ts@@ -29,7 +29,7 @@ const DEFAULT_SLIDE_PLUGIN_DATA = {};const PLUGIN_NAME = 'slides';-export class UniverSlides extends Plugin {+export class UniverSlidesPlugin extends Plugin {static override type = PluginType.Slide;private _config: IUniverSlidesConfig;diff --git a/packages/ui/src/index.ts b/packages/ui/src/index.tsindex eca0ec309d..6e74d1bcd0 100644--- a/packages/ui/src/index.ts+++ b/packages/ui/src/index.ts@@ -69,6 +69,6 @@ export { DesktopShortcutService, type IShortcutItem, IShortcutService } from './export { ShortcutExperienceService } from './services/shortcut/shortcut-experience.service';export { DesktopSidebarService } from './services/sidebar/desktop-sidebar.service';export { ISidebarService } from './services/sidebar/sidebar.service';-export { UniverUI } from './ui-plugin';+export { UniverUIPlugin } from './ui-plugin';export * from './utils';export { type IConfirmPartMethodOptions } from './views/components/confirm-part/interface';diff --git a/packages/ui/src/ui-plugin.ts b/packages/ui/src/ui-plugin.tsindex e0d4c69976..04bebe8549 100644--- a/packages/ui/src/ui-plugin.ts+++ b/packages/ui/src/ui-plugin.ts@@ -57,7 +57,7 @@ const DEFAULT_SLIDE_PLUGIN_DATA = {};/*** UI plugin provides basic interaction with users. Including workbench (menus, UI parts, notifications etc.), copy paste, shortcut.*/-export class UniverUI extends Plugin {+export class UniverUIPlugin extends Plugin {static override type = PluginType.Univer;private _config: IUniverUIConfig;diff --git a/packages/uniscript/src/index.ts b/packages/uniscript/src/index.tsindex eb8323155b..5a029baa6f 100644--- a/packages/uniscript/src/index.ts+++ b/packages/uniscript/src/index.ts@@ -15,4 +15,4 @@*/export { enUS, zhCN } from './locale';-export { type IUniscriptConfig, UniverUniscript } from './plugin';+export { type IUniscriptConfig, UniverUniscriptPlugin } from './plugin';diff --git a/packages/uniscript/src/plugin.ts b/packages/uniscript/src/plugin.tsindex 133ba67824..3a02d374e7 100644--- a/packages/uniscript/src/plugin.ts+++ b/packages/uniscript/src/plugin.ts@@ -29,7 +29,7 @@ const PLUGIN_NAME = 'uniscript';export interface IUniscriptConfig extends IScriptEditorServiceConfig {}-export class UniverUniscript extends Plugin {+export class UniverUniscriptPlugin extends Plugin {static override type = PluginType.Univer;constructor(