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
chore(workspace): rename @univer to @univerjs
Dushusir9a047b8827d9
diff --git a/.github/contributing-zh.md b/.github/contributing-zh.mdindex 3bd28fe2d5..39117903ce 100644--- a/.github/contributing-zh.md+++ b/.github/contributing-zh.md@@ -88,7 +88,7 @@ pnpm run --filter [package name] [command]比如启动 `packages/sheets-plugin-sort` 工程的`dev`开发模式```sh-pnpm run --filter @univer/sheets-plugin-sort dev+pnpm run --filter @univerjs/sheets-plugin-sort dev```@@ -361,21 +361,21 @@ pnpm install比如 `data-validation` 插件安装依赖```sh- pnpm i --filter @univer/sheets-plugin-data-validation+ pnpm i --filter @univerjs/sheets-plugin-data-validation```启动开发模式```sh- pnpm run --filter @univer/sheets-plugin-data-validation dev+ pnpm run --filter @univerjs/sheets-plugin-data-validation dev```这里用到了 pnpm 的 `--filter` 的功能来筛选出指定的插件来运行命令,更多学习内容请移步[官网 pnpm 过滤](https://pnpm.io/zh/filtering)-4. 如果需要测试其他的插件和当前插件一起运行,需要在当前插件里安装您所需要的插件,比如以下命令是在`@univer/base-sheets` 插件中安装 `@univer/sheets-plugin-alternating-colors` 插件:+4. 如果需要测试其他的插件和当前插件一起运行,需要在当前插件里安装您所需要的插件,比如以下命令是在`@univerjs/base-sheets` 插件中安装 `@univerjs/sheets-plugin-alternating-colors` 插件:```sh- pnpm add @univer/sheets-plugin-alternating-colors --filter @univer/base-sheets+ pnpm add @univerjs/sheets-plugin-alternating-colors --filter @univerjs/base-sheets```如果您还有协同开发的朋友,他本地的开发需要执行`pnpm install`来链接到安装的插件@@ -445,7 +445,7 @@ pnpm install### 挂载设置面板-依据插件模板生成的新插件,默认会将插件里的 DOM 元素挂载到界面上的工具栏,内部是在插件里引入了`@univer/base-sheets`,然后通过其 API `addButton` 来动态挂载 DOM 元素,所以工具栏会多出一个`data-validation`插件按钮,即表明插件加载成功+依据插件模板生成的新插件,默认会将插件里的 DOM 元素挂载到界面上的工具栏,内部是在插件里引入了`@univerjs/base-sheets`,然后通过其 API `addButton` 来动态挂载 DOM 元素,所以工具栏会多出一个`data-validation`插件按钮,即表明插件加载成功- filterPlugin 类中的 initialize 初始化时,使用 SheetPlugin 插件提供的 API 来挂载 JSX 组件@@ -557,7 +557,7 @@ pnpm install### 获取 context-在插件初始化的时候,会自动从核心(@univer/core)注入 context,context 包含 Univer 核心的所有上下文,我们根据 context 进行业务逻辑处理。+在插件初始化的时候,会自动从核心(@univerjs/core)注入 context,context 包含 Univer 核心的所有上下文,我们根据 context 进行业务逻辑处理。比如,获取 workbook@@ -692,7 +692,7 @@ npx playwright installnpm run test:ui```-UI 测试主要是测试`@univer/style-univer`的组件+UI 测试主要是测试`@univerjs/style-univer`的组件- 未与核心耦合、未使用核心`SheetContext`/`locale`的无状态组件,编写单元测试,测试文件的目录和组件在一个层级,参照`./packages/style-univer/src/components/Container>`组件@@ -1194,7 +1194,7 @@ cover: ''## 案例```jsx-import { Button } from '@univer/style-univer';+import { Button } from '@univerjs/style-univer';const ToolBar = () => {const buttonText = '确认';@@ -1216,8 +1216,8 @@ const ToolBar = () => {### 安装依赖-- 安装生产依赖到某一个插件里,比如在`plugin-sort`里安装`preact`: `pnpm add preact --filter @univer/sheets-plugin-sort`-- 安装开发依赖到某一个插件里,加一个 `-D` 比如在`plugin-sort`里安装`jest`: `pnpm add -D jest --filter @univer/sheets-plugin-sort`+- 安装生产依赖到某一个插件里,比如在`plugin-sort`里安装`preact`: `pnpm add preact --filter @univerjs/sheets-plugin-sort`+- 安装开发依赖到某一个插件里,加一个 `-D` 比如在`plugin-sort`里安装`jest`: `pnpm add -D jest --filter @univerjs/sheets-plugin-sort`- 安装开发依赖到所有插件里,比如在所有插件里安装`jest`: `pnpm add -D jest`,这类插件一般称为公共依赖,公共依赖包一般安装在项目一级根目录的`package.json`中- 更新公共依赖包:`pnpm update`@@ -1241,20 +1241,20 @@ npm run build### 安装插件-先用 npm 安装核心包`@univer/core`、渲染引擎 `@univer/base-render`、表格组件插件`@univer/base-sheets`、基础 UI 插件`@univer/style-univer`和筛选插件`@univer/sheets-plugin-filter`+先用 npm 安装核心包`@univerjs/core`、渲染引擎 `@univerjs/base-render`、表格组件插件`@univerjs/base-sheets`、基础 UI 插件`@univerjs/style-univer`和筛选插件`@univerjs/sheets-plugin-filter````sh-npm i @univer/core @univer/base-render @univer/base-sheets @univer/style-univer @univer/sheets-plugin-filter+npm i @univerjs/core @univerjs/base-render @univerjs/base-sheets @univerjs/style-univer @univerjs/sheets-plugin-filter```然后再引入插件使用```js-import { UniverSheet } from '@univer/core';-import '@univer/core/lib/style.css';-import { UniverComponentSheet } from '@univer/style-univer';-import { RenderEngine } from '@univer/base-render';-import { SheetPlugin } from '@univer/base-sheets';+import { UniverSheet } from '@univerjs/core';+import '@univerjs/core/lib/style.css';+import { UniverComponentSheet } from '@univerjs/style-univer';+import { RenderEngine } from '@univerjs/base-render';+import { SheetPlugin } from '@univerjs/base-sheets';// 初始化universheetconst univerSheet = UniverSheet.newInstance({@@ -1283,17 +1283,17 @@ univerSheet.installPlugin(new FilterPlugin());先用 npm 安装插件```sh-npm i @univer/core @univer/base-render @univer/base-sheets @univer/style-univer @univer/sheets-plugin-filter+npm i @univerjs/core @univerjs/base-render @univerjs/base-sheets @univerjs/style-univer @univerjs/sheets-plugin-filter```然后再动态引入插件使用```js-import { UniverSheet } from '@univer/core';-import '@univer/core/lib/style.css';-import { UniverComponentSheet } from '@univer/style-univer';-import { RenderEngine } from '@univer/base-render';-import { SheetPlugin } from '@univer/base-sheets';+import { UniverSheet } from '@univerjs/core';+import '@univerjs/core/lib/style.css';+import { UniverComponentSheet } from '@univerjs/style-univer';+import { RenderEngine } from '@univerjs/base-render';+import { SheetPlugin } from '@univerjs/base-sheets';// 初始化universheetconst univerSheet = UniverSheet.newInstance({@@ -1314,7 +1314,7 @@ univerSheetUp.installPlugin();// 动态加载筛选插件-import('@univer/sheets-plugin-filter').then(({ FilterPlugin }) => {+import('@univerjs/sheets-plugin-filter').then(({ FilterPlugin }) => {univerSheetUp.installPlugin(new FilterPlugin());});```diff --git a/.github/contributing.md b/.github/contributing.mdindex fac687a173..d0397283b1 100644--- a/.github/contributing.md+++ b/.github/contributing.md@@ -37,7 +37,7 @@ pnpm run --filter [package name] [command]For example, start the `dev` development mode of the `packages/sheets-plugin-sort` project```bash-pnpm run --filter @univer/sheets-plugin-sort dev+pnpm run --filter @univerjs/sheets-plugin-sort dev```@@ -62,7 +62,7 @@ npm run cli3. Execute the following command to start the plug-in development mode```bash-pnpm run --filter @univer/sheets-plugin-filter dev+pnpm run --filter @univerjs/sheets-plugin-filter dev```4. There will be an additional `filter` plugin button in the toolbar on the interfacediff --git a/.vscode/settings.json b/.vscode/settings.jsonindex b2b66d0c49..b7ef461629 100644--- a/.vscode/settings.json+++ b/.vscode/settings.json@@ -57,6 +57,7 @@"Tahoma","univer","univerdoc",+ "univerjs","universheet","universlide","Unmerge",diff --git a/cli/README.md b/cli/README.mdindex d62c80069c..967c902326 100644--- a/cli/README.md+++ b/cli/README.md@@ -5,7 +5,7 @@Install dependency```sh-npm i -g @univer/cli+npm i -g @univerjs/cli```### Create Plugindiff --git a/cli/package.json b/cli/package.jsonindex 78078ef078..fc6cb31d00 100644--- a/cli/package.json+++ b/cli/package.json@@ -1,5 +1,5 @@{- "name": "@univer/cli",+ "name": "@univerjs/cli","version": "1.0.26","description": "Quickly build univer plugins, custom package univer cores and plugins","main": "./src/index.ts",diff --git a/cli/src/create.ts b/cli/src/create.tsindex 1313920557..e26046e4ca 100644--- a/cli/src/create.ts+++ b/cli/src/create.ts@@ -158,10 +158,10 @@ function createProject(projectPath: string) {}function devTips(projectName: string) {- // pnpm run --filter @univer/sheets-plugin-<%= projectValue %> dev+ // pnpm run --filter @univerjs/sheets-plugin-<%= projectValue %> devconsole.log(chalk.green(`\nSuccess!\n`));- console.log(chalk.white(`Install Dependencies: \n`, chalk.green(`pnpm i --filter @univer/${projectName}\n`)));- console.log(chalk.white(`Develop: \n`, chalk.green(`pnpm run --filter @univer/${projectName} dev\n`)));+ console.log(chalk.white(`Install Dependencies: \n`, chalk.green(`pnpm i --filter @univerjs/${projectName}\n`)));+ console.log(chalk.white(`Develop: \n`, chalk.green(`pnpm run --filter @univerjs/${projectName} dev\n`)));}function covertToPascalCase(str: string) {diff --git a/cli/src/init.ts b/cli/src/init.tsindex 0b6b4aa5c0..00691b25d9 100644--- a/cli/src/init.ts+++ b/cli/src/init.ts@@ -161,6 +161,6 @@ function capitalizeFirstLetter(string: string) {}function devTips(projectName: string) {- // pnpm run --filter @univer/sheets-plugin-<%= projectValue %> dev- console.log(chalk.green(` SUCCESS!\n\n`), chalk.white(`Check directory packages/${projectName}, run the following command to develop: \n\n`), chalk.green(`pnpm run --filter @univer/${projectName} dev`));+ // pnpm run --filter @univerjs/sheets-plugin-<%= projectValue %> dev+ console.log(chalk.green(` SUCCESS!\n\n`), chalk.white(`Check directory packages/${projectName}, run the following command to develop: \n\n`), chalk.green(`pnpm run --filter @univerjs/${projectName} dev`));}diff --git a/cli/src/templates/base/README-zh.md b/cli/src/templates/base/README-zh.mdindex e3d405866c..21acd0963c 100644--- a/cli/src/templates/base/README-zh.md+++ b/cli/src/templates/base/README-zh.md@@ -9,13 +9,13 @@ UniverSheet <%= projectUpperValue %>插件### 安装```bash-npm i @univer/<%= projectName %>+npm i @univerjs/<%= projectName %>```### 使用```js-impport {<%= projectUpperValue %>} from '@univer/<%= projectName %>'+impport {<%= projectUpperValue %>} from '@univerjs/<%= projectName %>'const univerSheet = new UniverSheet();univerSheet.installPlugin(new <%= projectUpperValue %>());@@ -41,7 +41,7 @@ pnpm installnpm run dev# 或者项目根目录 ./-pnpm run --filter @univer/<%= projectName %> dev+pnpm run --filter @univerjs/<%= projectName %> dev```### 打包@@ -51,5 +51,5 @@ pnpm run --filter @univer/<%= projectName %> devnpm run build# 或者根目录 ./-pnpm run --filter @univer/<%= projectName %> build+pnpm run --filter @univerjs/<%= projectName %> build```diff --git a/cli/src/templates/base/README.md b/cli/src/templates/base/README.mdindex 8450d8260b..8c25b08f14 100644--- a/cli/src/templates/base/README.md+++ b/cli/src/templates/base/README.md@@ -9,13 +9,13 @@ UniverSheet Plugin <%= projectUpperValue %>### Installation```bash-npm i @univer/<%= projectName %>+npm i @univerjs/<%= projectName %>```### Usage```js-impport {<%= projectUpperValue %>} from '@univer/<%= projectName %>'+impport {<%= projectUpperValue %>} from '@univerjs/<%= projectName %>'const univerSheet = new UniverSheet();univerSheet.installPlugin(new <%= projectUpperValue %>());@@ -41,7 +41,7 @@ pnpm installnpm run dev# Or project root directory ./-pnpm run --filter @univer/<%= projectName %> dev+pnpm run --filter @univerjs/<%= projectName %> dev```### Package@@ -51,5 +51,5 @@ pnpm run --filter @univer/<%= projectName %> devnpm run build# Or root directory ./-pnpm run --filter @univer/<%= projectName %> build+pnpm run --filter @univerjs/<%= projectName %> build```diff --git a/cli/src/templates/base/package.json b/cli/src/templates/base/package.jsonindex a22e1f55ac..ba3d5641d4 100644--- a/cli/src/templates/base/package.json+++ b/cli/src/templates/base/package.json@@ -1,5 +1,5 @@{- "name": "@univer/<%= projectName %>",+ "name": "@univerjs/<%= projectName %>","version": "0.0.1","description": "UniverSheet normal <%= projectName %>","keywords": [],@@ -52,12 +52,12 @@"vite": "^2.4.4"},"dependencies": {- "@univer/common-plugin-data": "workspace:^0.0.1",- "@univer/base-component": "workspace:^0.0.1",- "@univer/base-render": "workspace:^0.0.1",- "@univer/core": "workspace:^0.0.1",- "@univer/base-sheets": "workspace:^0.0.1",- "@univer/style-univer": "workspace:^0.0.1",+ "@univerjs/common-plugin-data": "workspace:^0.0.1",+ "@univerjs/base-component": "workspace:^0.0.1",+ "@univerjs/base-render": "workspace:^0.0.1",+ "@univerjs/core": "workspace:^0.0.1",+ "@univerjs/base-sheets": "workspace:^0.0.1",+ "@univerjs/style-univer": "workspace:^0.0.1","preact": "^10.5.14"}}diff --git a/cli/src/templates/base/src/Controller/SortController.ts b/cli/src/templates/base/src/Controller/SortController.tsindex 579edc8d44..8f5a145181 100644--- a/cli/src/templates/base/src/Controller/SortController.ts+++ b/cli/src/templates/base/src/Controller/SortController.ts@@ -1,4 +1,4 @@-import { BaseComponentRender } from '@univer/base-component';+import { BaseComponentRender } from '@univerjs/base-component';import { <%= projectUpperValue %>Plugin } from '../<%= projectUpperValue %>Plugin';export class <%= projectUpperValue %>Controller {diff --git a/cli/src/templates/base/src/SortPlugin.tsx b/cli/src/templates/base/src/SortPlugin.tsxindex b84730f067..9024489c66 100644--- a/cli/src/templates/base/src/SortPlugin.tsx+++ b/cli/src/templates/base/src/SortPlugin.tsx@@ -1,4 +1,4 @@-import { Plugin, UniverSheet } from '@univer/core';+import { Plugin, UniverSheet } from '@univerjs/core';import { zh, en } from './Locale';import { <%= projectConstantValue %>_PLUGIN_NAME} from './Basic/Const/PLUGIN_NAME'import { <%= projectUpperValue %>Controller } from './Controller/<%= projectUpperValue %>Controller';diff --git a/cli/src/templates/base/src/Types/index.d.ts b/cli/src/templates/base/src/Types/index.d.tsindex 9820ab8ea2..023ee42921 100644--- a/cli/src/templates/base/src/Types/index.d.ts+++ b/cli/src/templates/base/src/Types/index.d.ts@@ -1,7 +1,7 @@/// <reference types="vite/client" />export * from '../index';-declare module '@univer/<%= projectName %>' {}+declare module '@univerjs/<%= projectName %>' {}// use css moduledeclare module '*.less' {diff --git a/cli/src/templates/base/src/main.tsx b/cli/src/templates/base/src/main.tsxindex a9307c5843..4f871add29 100644--- a/cli/src/templates/base/src/main.tsx+++ b/cli/src/templates/base/src/main.tsx@@ -1,8 +1,8 @@-import { UniverSheet } from '@univer/core';-import { RenderEngine } from '@univer/base-render';-import { SheetPlugin } from '@univer/base-sheets';-import { UniverComponentSheet } from '@univer/style-univer';-import { DEFAULT_WORKBOOK_DATA } from '@univer/common-plugin-data';+import { UniverSheet } from '@univerjs/core';+import { RenderEngine } from '@univerjs/base-render';+import { SheetPlugin } from '@univerjs/base-sheets';+import { UniverComponentSheet } from '@univerjs/style-univer';+import { DEFAULT_WORKBOOK_DATA } from '@univerjs/common-plugin-data';import { <%= projectUpperValue %>Plugin } from './<%= projectUpperValue %>Plugin';diff --git a/cli/src/templates/common-plugin/README-zh.md b/cli/src/templates/common-plugin/README-zh.mdindex e3d405866c..21acd0963c 100644--- a/cli/src/templates/common-plugin/README-zh.md+++ b/cli/src/templates/common-plugin/README-zh.md@@ -9,13 +9,13 @@ UniverSheet <%= projectUpperValue %>插件### 安装```bash-npm i @univer/<%= projectName %>+npm i @univerjs/<%= projectName %>```### 使用```js-impport {<%= projectUpperValue %>} from '@univer/<%= projectName %>'+impport {<%= projectUpperValue %>} from '@univerjs/<%= projectName %>'const univerSheet = new UniverSheet();univerSheet.installPlugin(new <%= projectUpperValue %>());@@ -41,7 +41,7 @@ pnpm installnpm run dev# 或者项目根目录 ./-pnpm run --filter @univer/<%= projectName %> dev+pnpm run --filter @univerjs/<%= projectName %> dev```### 打包@@ -51,5 +51,5 @@ pnpm run --filter @univer/<%= projectName %> devnpm run build# 或者根目录 ./-pnpm run --filter @univer/<%= projectName %> build+pnpm run --filter @univerjs/<%= projectName %> build```diff --git a/cli/src/templates/common-plugin/README.md b/cli/src/templates/common-plugin/README.mdindex 8450d8260b..8c25b08f14 100644--- a/cli/src/templates/common-plugin/README.md+++ b/cli/src/templates/common-plugin/README.md@@ -9,13 +9,13 @@ UniverSheet Plugin <%= projectUpperValue %>### Installation```bash-npm i @univer/<%= projectName %>+npm i @univerjs/<%= projectName %>```### Usage```js-impport {<%= projectUpperValue %>} from '@univer/<%= projectName %>'+impport {<%= projectUpperValue %>} from '@univerjs/<%= projectName %>'const univerSheet = new UniverSheet();univerSheet.installPlugin(new <%= projectUpperValue %>());@@ -41,7 +41,7 @@ pnpm installnpm run dev# Or project root directory ./-pnpm run --filter @univer/<%= projectName %> dev+pnpm run --filter @univerjs/<%= projectName %> dev```### Package@@ -51,5 +51,5 @@ pnpm run --filter @univer/<%= projectName %> devnpm run build# Or root directory ./-pnpm run --filter @univer/<%= projectName %> build+pnpm run --filter @univerjs/<%= projectName %> build```diff --git a/cli/src/templates/common-plugin/package.json b/cli/src/templates/common-plugin/package.jsonindex e8ab23d148..344c2e5538 100644--- a/cli/src/templates/common-plugin/package.json+++ b/cli/src/templates/common-plugin/package.json@@ -1,5 +1,5 @@{- "name": "@univer/<%= projectName %>",+ "name": "@univerjs/<%= projectName %>","version": "0.0.1","description": "UniverSheet normal <%= projectName %>","keywords": [],@@ -50,14 +50,14 @@"vite": "^2.4.4"},"dependencies": {- "@univer/common-plugin-data": "workspace:^0.0.1",- "@univer/base-component": "workspace:^0.0.1",- "@univer/base-render": "workspace:^0.0.1",- "@univer/core": "workspace:^0.0.1",- "@univer/base-sheets": "workspace:^0.0.1",- "@univer/base-docs": "workspace:^0.0.1",- "@univer/base-slides": "workspace:^0.0.1",- "@univer/style-univer": "workspace:^0.0.1",+ "@univerjs/common-plugin-data": "workspace:^0.0.1",+ "@univerjs/base-component": "workspace:^0.0.1",+ "@univerjs/base-render": "workspace:^0.0.1",+ "@univerjs/core": "workspace:^0.0.1",+ "@univerjs/base-sheets": "workspace:^0.0.1",+ "@univerjs/base-docs": "workspace:^0.0.1",+ "@univerjs/base-slides": "workspace:^0.0.1",+ "@univerjs/style-univer": "workspace:^0.0.1","preact": "^10.5.14"}}diff --git a/cli/src/templates/common-plugin/src/Controller/SortController.ts b/cli/src/templates/common-plugin/src/Controller/SortController.tsindex 579edc8d44..8f5a145181 100644--- a/cli/src/templates/common-plugin/src/Controller/SortController.ts+++ b/cli/src/templates/common-plugin/src/Controller/SortController.ts@@ -1,4 +1,4 @@-import { BaseComponentRender } from '@univer/base-component';+import { BaseComponentRender } from '@univerjs/base-component';import { <%= projectUpperValue %>Plugin } from '../<%= projectUpperValue %>Plugin';export class <%= projectUpperValue %>Controller {diff --git a/cli/src/templates/common-plugin/src/SortPlugin.tsx b/cli/src/templates/common-plugin/src/SortPlugin.tsxindex 4e88f462c1..8ed7447a86 100644--- a/cli/src/templates/common-plugin/src/SortPlugin.tsx+++ b/cli/src/templates/common-plugin/src/SortPlugin.tsx@@ -1,4 +1,4 @@-import { Plugin, UniverSheet, UniverDoc, UniverSlide } from '@univer/core';+import { Plugin, UniverSheet, UniverDoc, UniverSlide } from '@univerjs/core';import { zh, en } from './Locale';import { <%= projectConstantValue %>_PLUGIN_NAME} from './Basic/Const/PLUGIN_NAME'import { <%= projectUpperValue %>Controller } from './Controller/<%= projectUpperValue %>Controller';diff --git a/cli/src/templates/common-plugin/src/Types/index.d.ts b/cli/src/templates/common-plugin/src/Types/index.d.tsindex 9820ab8ea2..023ee42921 100644--- a/cli/src/templates/common-plugin/src/Types/index.d.ts+++ b/cli/src/templates/common-plugin/src/Types/index.d.ts@@ -1,7 +1,7 @@/// <reference types="vite/client" />export * from '../index';-declare module '@univer/<%= projectName %>' {}+declare module '@univerjs/<%= projectName %>' {}// use css moduledeclare module '*.less' {diff --git a/cli/src/templates/common-plugin/src/main.tsx b/cli/src/templates/common-plugin/src/main.tsxindex 47a558b891..f8bae80c9d 100644--- a/cli/src/templates/common-plugin/src/main.tsx+++ b/cli/src/templates/common-plugin/src/main.tsx@@ -1,10 +1,10 @@-import { UniverSheet, UniverDoc, UniverSlide } from '@univer/core';-import { RenderEngine } from '@univer/base-render';-import { SheetPlugin } from '@univer/base-sheets';-import { DocPlugin } from '@univer/base-docs';-import { SlidePlugin } from '@univer/base-slides';-import { UniverComponentSheet } from '@univer/style-univer';-import { DEFAULT_WORKBOOK_DATA } from '@univer/common-plugin-data';+import { UniverSheet, UniverDoc, UniverSlide } from '@univerjs/core';+import { RenderEngine } from '@univerjs/base-render';+import { SheetPlugin } from '@univerjs/base-sheets';+import { DocPlugin } from '@univerjs/base-docs';+import { SlidePlugin } from '@univerjs/base-slides';+import { UniverComponentSheet } from '@univerjs/style-univer';+import { DEFAULT_WORKBOOK_DATA } from '@univerjs/common-plugin-data';import { <%= projectUpperValue %>Plugin } from './<%= projectUpperValue %>Plugin';diff --git a/cli/src/templates/docs-plugin/README-zh.md b/cli/src/templates/docs-plugin/README-zh.mdindex e3d405866c..21acd0963c 100644--- a/cli/src/templates/docs-plugin/README-zh.md+++ b/cli/src/templates/docs-plugin/README-zh.md@@ -9,13 +9,13 @@ UniverSheet <%= projectUpperValue %>插件### 安装```bash-npm i @univer/<%= projectName %>+npm i @univerjs/<%= projectName %>```### 使用```js-impport {<%= projectUpperValue %>} from '@univer/<%= projectName %>'+impport {<%= projectUpperValue %>} from '@univerjs/<%= projectName %>'const univerSheet = new UniverSheet();univerSheet.installPlugin(new <%= projectUpperValue %>());@@ -41,7 +41,7 @@ pnpm installnpm run dev# 或者项目根目录 ./-pnpm run --filter @univer/<%= projectName %> dev+pnpm run --filter @univerjs/<%= projectName %> dev```### 打包@@ -51,5 +51,5 @@ pnpm run --filter @univer/<%= projectName %> devnpm run build# 或者根目录 ./-pnpm run --filter @univer/<%= projectName %> build+pnpm run --filter @univerjs/<%= projectName %> build```diff --git a/cli/src/templates/docs-plugin/README.md b/cli/src/templates/docs-plugin/README.mdindex 8450d8260b..8c25b08f14 100644--- a/cli/src/templates/docs-plugin/README.md+++ b/cli/src/templates/docs-plugin/README.md@@ -9,13 +9,13 @@ UniverSheet Plugin <%= projectUpperValue %>### Installation```bash-npm i @univer/<%= projectName %>+npm i @univerjs/<%= projectName %>```### Usage```js-impport {<%= projectUpperValue %>} from '@univer/<%= projectName %>'+impport {<%= projectUpperValue %>} from '@univerjs/<%= projectName %>'const univerSheet = new UniverSheet();univerSheet.installPlugin(new <%= projectUpperValue %>());@@ -41,7 +41,7 @@ pnpm installnpm run dev# Or project root directory ./-pnpm run --filter @univer/<%= projectName %> dev+pnpm run --filter @univerjs/<%= projectName %> dev```### Package@@ -51,5 +51,5 @@ pnpm run --filter @univer/<%= projectName %> devnpm run build# Or root directory ./-pnpm run --filter @univer/<%= projectName %> build+pnpm run --filter @univerjs/<%= projectName %> build```diff --git a/cli/src/templates/docs-plugin/package.json b/cli/src/templates/docs-plugin/package.jsonindex da917ab715..35f4340971 100644--- a/cli/src/templates/docs-plugin/package.json+++ b/cli/src/templates/docs-plugin/package.json@@ -1,5 +1,5 @@{- "name": "@univer/<%= projectName %>",+ "name": "@univerjs/<%= projectName %>","version": "0.0.1","description": "UniverSheet normal <%= projectName %>","keywords": [],@@ -50,12 +50,12 @@"vite": "^2.4.4"},"dependencies": {- "@univer/common-plugin-data": "workspace:^0.0.1",- "@univer/base-component": "workspace:^0.0.1",- "@univer/base-render": "workspace:^0.0.1",- "@univer/core": "workspace:^0.0.1",- "@univer/base-docs": "workspace:^0.0.1",- "@univer/style-univer": "workspace:^0.0.1",+ "@univerjs/common-plugin-data": "workspace:^0.0.1",+ "@univerjs/base-component": "workspace:^0.0.1",+ "@univerjs/base-render": "workspace:^0.0.1",+ "@univerjs/core": "workspace:^0.0.1",+ "@univerjs/base-docs": "workspace:^0.0.1",+ "@univerjs/style-univer": "workspace:^0.0.1","preact": "^10.5.14"}}diff --git a/cli/src/templates/docs-plugin/src/Controller/SortController.ts b/cli/src/templates/docs-plugin/src/Controller/SortController.tsindex 3c578d3113..b7ec962853 100644--- a/cli/src/templates/docs-plugin/src/Controller/SortController.ts+++ b/cli/src/templates/docs-plugin/src/Controller/SortController.ts@@ -1,5 +1,5 @@-import { BaseComponentRender } from '@univer/base-component';-import { DocPlugin } from '@univer/base-docs';+import { BaseComponentRender } from '@univerjs/base-component';+import { DocPlugin } from '@univerjs/base-docs';import { <%= projectConstantValue %>_PLUGIN_NAME } from '../Basic/Const';import { <%= projectUpperValue %>Plugin } from '../<%= projectUpperValue %>Plugin';diff --git a/cli/src/templates/docs-plugin/src/SortPlugin.tsx b/cli/src/templates/docs-plugin/src/SortPlugin.tsxindex 0272d519cf..698fa2bf65 100644--- a/cli/src/templates/docs-plugin/src/SortPlugin.tsx+++ b/cli/src/templates/docs-plugin/src/SortPlugin.tsx@@ -1,4 +1,4 @@-import { Plugin, DocContext, UniverDoc } from '@univer/core';+import { Plugin, DocContext, UniverDoc } from '@univerjs/core';import { zh, en } from './Locale';import { <%= projectConstantValue %>_PLUGIN_NAME} from './Basic/Const/PLUGIN_NAME'import { <%= projectUpperValue %>Controller } from './Controller/<%= projectUpperValue %>Controller';diff --git a/cli/src/templates/docs-plugin/src/Types/index.d.ts b/cli/src/templates/docs-plugin/src/Types/index.d.tsindex 9820ab8ea2..023ee42921 100644--- a/cli/src/templates/docs-plugin/src/Types/index.d.ts+++ b/cli/src/templates/docs-plugin/src/Types/index.d.ts@@ -1,7 +1,7 @@/// <reference types="vite/client" />export * from '../index';-declare module '@univer/<%= projectName %>' {}+declare module '@univerjs/<%= projectName %>' {}// use css moduledeclare module '*.less' {diff --git a/cli/src/templates/docs-plugin/src/main.tsx b/cli/src/templates/docs-plugin/src/main.tsxindex 9c6be57416..0bcfd3c3eb 100644--- a/cli/src/templates/docs-plugin/src/main.tsx+++ b/cli/src/templates/docs-plugin/src/main.tsx@@ -1,7 +1,7 @@-import { UniverDoc } from '@univer/core';-import { RenderEngine } from '@univer/base-render';-import { DocPlugin } from '@univer/base-docs';-import { UniverComponentSheet } from '@univer/style-univer';+import { UniverDoc } from '@univerjs/core';+import { RenderEngine } from '@univerjs/base-render';+import { DocPlugin } from '@univerjs/base-docs';+import { UniverComponentSheet } from '@univerjs/style-univer';import { <%= projectUpperValue %>Plugin } from './<%= projectUpperValue %>Plugin';diff --git a/cli/src/templates/sheets-plugin/README-zh.md b/cli/src/templates/sheets-plugin/README-zh.mdindex e3d405866c..21acd0963c 100644--- a/cli/src/templates/sheets-plugin/README-zh.md+++ b/cli/src/templates/sheets-plugin/README-zh.md@@ -9,13 +9,13 @@ UniverSheet <%= projectUpperValue %>插件### 安装```bash-npm i @univer/<%= projectName %>+npm i @univerjs/<%= projectName %>```### 使用```js-impport {<%= projectUpperValue %>} from '@univer/<%= projectName %>'+impport {<%= projectUpperValue %>} from '@univerjs/<%= projectName %>'const univerSheet = new UniverSheet();univerSheet.installPlugin(new <%= projectUpperValue %>());@@ -41,7 +41,7 @@ pnpm installnpm run dev# 或者项目根目录 ./-pnpm run --filter @univer/<%= projectName %> dev+pnpm run --filter @univerjs/<%= projectName %> dev```### 打包@@ -51,5 +51,5 @@ pnpm run --filter @univer/<%= projectName %> devnpm run build# 或者根目录 ./-pnpm run --filter @univer/<%= projectName %> build+pnpm run --filter @univerjs/<%= projectName %> build```diff --git a/cli/src/templates/sheets-plugin/README.md b/cli/src/templates/sheets-plugin/README.mdindex 8450d8260b..8c25b08f14 100644--- a/cli/src/templates/sheets-plugin/README.md+++ b/cli/src/templates/sheets-plugin/README.md@@ -9,13 +9,13 @@ UniverSheet Plugin <%= projectUpperValue %>### Installation```bash-npm i @univer/<%= projectName %>+npm i @univerjs/<%= projectName %>```### Usage```js-impport {<%= projectUpperValue %>} from '@univer/<%= projectName %>'+impport {<%= projectUpperValue %>} from '@univerjs/<%= projectName %>'const univerSheet = new UniverSheet();univerSheet.installPlugin(new <%= projectUpperValue %>());@@ -41,7 +41,7 @@ pnpm installnpm run dev# Or project root directory ./-pnpm run --filter @univer/<%= projectName %> dev+pnpm run --filter @univerjs/<%= projectName %> dev```### Package@@ -51,5 +51,5 @@ pnpm run --filter @univer/<%= projectName %> devnpm run build# Or root directory ./-pnpm run --filter @univer/<%= projectName %> build+pnpm run --filter @univerjs/<%= projectName %> build```diff --git a/cli/src/templates/sheets-plugin/package.json b/cli/src/templates/sheets-plugin/package.jsonindex a16d0cebf5..1fbb0c13ce 100644--- a/cli/src/templates/sheets-plugin/package.json+++ b/cli/src/templates/sheets-plugin/package.json@@ -1,5 +1,5 @@{- "name": "@univer/<%= projectName %>",+ "name": "@univerjs/<%= projectName %>","version": "0.0.1","description": "UniverSheet normal <%= projectName %>","keywords": [],@@ -50,12 +50,12 @@"vite": "^2.4.4"},"dependencies": {- "@univer/common-plugin-data": "workspace:^0.0.1",- "@univer/base-component": "workspace:^0.0.1",- "@univer/base-render": "workspace:^0.0.1",- "@univer/core": "workspace:^0.0.1",- "@univer/base-sheets": "workspace:^0.0.1",- "@univer/style-univer": "workspace:^0.0.1",+ "@univerjs/common-plugin-data": "workspace:^0.0.1",+ "@univerjs/base-component": "workspace:^0.0.1",+ "@univerjs/base-render": "workspace:^0.0.1",+ "@univerjs/core": "workspace:^0.0.1",+ "@univerjs/base-sheets": "workspace:^0.0.1",+ "@univerjs/style-univer": "workspace:^0.0.1","preact": "^10.5.14"}}diff --git a/cli/src/templates/sheets-plugin/src/Controller/SortController.ts b/cli/src/templates/sheets-plugin/src/Controller/SortController.tsindex 6bfc12912e..4e4fc16db4 100644--- a/cli/src/templates/sheets-plugin/src/Controller/SortController.ts+++ b/cli/src/templates/sheets-plugin/src/Controller/SortController.ts@@ -1,6 +1,6 @@-import { PLUGIN_NAMES } from '@univer/core';-import { BaseComponentRender } from '@univer/base-component';-import { IToolBarItemProps, SelectTypes, SheetPlugin } from '@univer/base-sheets';+import { PLUGIN_NAMES } from '@univerjs/core';+import { BaseComponentRender } from '@univerjs/base-component';+import { IToolBarItemProps, SelectTypes, SheetPlugin } from '@univerjs/base-sheets';import { <%= projectConstantValue %>_PLUGIN_NAME } from '../Basic/Const';import { <%= projectUpperValue %>Plugin } from '../<%= projectUpperValue %>Plugin';diff --git a/cli/src/templates/sheets-plugin/src/SortPlugin.tsx b/cli/src/templates/sheets-plugin/src/SortPlugin.tsxindex adc6066ff4..608e7400a1 100644--- a/cli/src/templates/sheets-plugin/src/SortPlugin.tsx+++ b/cli/src/templates/sheets-plugin/src/SortPlugin.tsx@@ -1,4 +1,4 @@-import { Plugin, SheetContext, UniverSheet } from '@univer/core';+import { Plugin, SheetContext, UniverSheet } from '@univerjs/core';import { zh, en } from './Locale';import { <%= projectConstantValue %>_PLUGIN_NAME} from './Basic/Const/PLUGIN_NAME'import { <%= projectUpperValue %>Controller } from './Controller/<%= projectUpperValue %>Controller';diff --git a/cli/src/templates/sheets-plugin/src/Types/index.d.ts b/cli/src/templates/sheets-plugin/src/Types/index.d.tsindex 9820ab8ea2..023ee42921 100644--- a/cli/src/templates/sheets-plugin/src/Types/index.d.ts+++ b/cli/src/templates/sheets-plugin/src/Types/index.d.ts@@ -1,7 +1,7 @@/// <reference types="vite/client" />export * from '../index';-declare module '@univer/<%= projectName %>' {}+declare module '@univerjs/<%= projectName %>' {}// use css moduledeclare module '*.less' {diff --git a/cli/src/templates/sheets-plugin/src/main.tsx b/cli/src/templates/sheets-plugin/src/main.tsxindex a9307c5843..4f871add29 100644--- a/cli/src/templates/sheets-plugin/src/main.tsx+++ b/cli/src/templates/sheets-plugin/src/main.tsx@@ -1,8 +1,8 @@-import { UniverSheet } from '@univer/core';-import { RenderEngine } from '@univer/base-render';-import { SheetPlugin } from '@univer/base-sheets';-import { UniverComponentSheet } from '@univer/style-univer';-import { DEFAULT_WORKBOOK_DATA } from '@univer/common-plugin-data';+import { UniverSheet } from '@univerjs/core';+import { RenderEngine } from '@univerjs/base-render';+import { SheetPlugin } from '@univerjs/base-sheets';+import { UniverComponentSheet } from '@univerjs/style-univer';+import { DEFAULT_WORKBOOK_DATA } from '@univerjs/common-plugin-data';import { <%= projectUpperValue %>Plugin } from './<%= projectUpperValue %>Plugin';diff --git a/cli/src/templates/slides-plugin/README-zh.md b/cli/src/templates/slides-plugin/README-zh.mdindex e3d405866c..21acd0963c 100644--- a/cli/src/templates/slides-plugin/README-zh.md+++ b/cli/src/templates/slides-plugin/README-zh.md@@ -9,13 +9,13 @@ UniverSheet <%= projectUpperValue %>插件### 安装```bash-npm i @univer/<%= projectName %>+npm i @univerjs/<%= projectName %>```### 使用```js-impport {<%= projectUpperValue %>} from '@univer/<%= projectName %>'+impport {<%= projectUpperValue %>} from '@univerjs/<%= projectName %>'const univerSheet = new UniverSheet();univerSheet.installPlugin(new <%= projectUpperValue %>());@@ -41,7 +41,7 @@ pnpm installnpm run dev# 或者项目根目录 ./-pnpm run --filter @univer/<%= projectName %> dev+pnpm run --filter @univerjs/<%= projectName %> dev```### 打包@@ -51,5 +51,5 @@ pnpm run --filter @univer/<%= projectName %> devnpm run build# 或者根目录 ./-pnpm run --filter @univer/<%= projectName %> build+pnpm run --filter @univerjs/<%= projectName %> build```diff --git a/cli/src/templates/slides-plugin/README.md b/cli/src/templates/slides-plugin/README.mdindex 8450d8260b..8c25b08f14 100644--- a/cli/src/templates/slides-plugin/README.md+++ b/cli/src/templates/slides-plugin/README.md@@ -9,13 +9,13 @@ UniverSheet Plugin <%= projectUpperValue %>### Installation```bash-npm i @univer/<%= projectName %>+npm i @univerjs/<%= projectName %>```### Usage```js-impport {<%= projectUpperValue %>} from '@univer/<%= projectName %>'+impport {<%= projectUpperValue %>} from '@univerjs/<%= projectName %>'const univerSheet = new UniverSheet();univerSheet.installPlugin(new <%= projectUpperValue %>());@@ -41,7 +41,7 @@ pnpm installnpm run dev# Or project root directory ./-pnpm run --filter @univer/<%= projectName %> dev+pnpm run --filter @univerjs/<%= projectName %> dev```### Package@@ -51,5 +51,5 @@ pnpm run --filter @univer/<%= projectName %> devnpm run build# Or root directory ./-pnpm run --filter @univer/<%= projectName %> build+pnpm run --filter @univerjs/<%= projectName %> build```diff --git a/cli/src/templates/slides-plugin/package.json b/cli/src/templates/slides-plugin/package.jsonindex cf9237914c..b7440697ea 100644--- a/cli/src/templates/slides-plugin/package.json+++ b/cli/src/templates/slides-plugin/package.json@@ -1,5 +1,5 @@{- "name": "@univer/<%= projectName %>",+ "name": "@univerjs/<%= projectName %>","version": "0.0.1","description": "UniverSheet normal <%= projectName %>","keywords": [],@@ -50,12 +50,12 @@"vite": "^2.4.4"},"dependencies": {- "@univer/common-plugin-data": "workspace:^0.0.1",- "@univer/base-component": "workspace:^0.0.1",- "@univer/base-render": "workspace:^0.0.1",- "@univer/core": "workspace:^0.0.1",- "@univer/base-slides": "workspace:^0.0.1",- "@univer/style-univer": "workspace:^0.0.1",+ "@univerjs/common-plugin-data": "workspace:^0.0.1",+ "@univerjs/base-component": "workspace:^0.0.1",+ "@univerjs/base-render": "workspace:^0.0.1",+ "@univerjs/core": "workspace:^0.0.1",+ "@univerjs/base-slides": "workspace:^0.0.1",+ "@univerjs/style-univer": "workspace:^0.0.1","preact": "^10.5.14"}}diff --git a/cli/src/templates/slides-plugin/src/Controller/SortController.ts b/cli/src/templates/slides-plugin/src/Controller/SortController.tsindex c54451403b..10e742b7d2 100644--- a/cli/src/templates/slides-plugin/src/Controller/SortController.ts+++ b/cli/src/templates/slides-plugin/src/Controller/SortController.ts@@ -1,5 +1,5 @@-import { BaseComponentRender } from '@univer/base-component';-import { SlidePlugin } from '@univer/base-slides';+import { BaseComponentRender } from '@univerjs/base-component';+import { SlidePlugin } from '@univerjs/base-slides';import { <%= projectConstantValue %>_PLUGIN_NAME } from '../Basic/Const';import { <%= projectUpperValue %>Plugin } from '../<%= projectUpperValue %>Plugin';diff --git a/cli/src/templates/slides-plugin/src/SortPlugin.tsx b/cli/src/templates/slides-plugin/src/SortPlugin.tsxindex 78eb9e99b3..d9b13a5407 100644--- a/cli/src/templates/slides-plugin/src/SortPlugin.tsx+++ b/cli/src/templates/slides-plugin/src/SortPlugin.tsx@@ -1,4 +1,4 @@-import { Plugin, SlideContext, UniverSlide } from '@univer/core';+import { Plugin, SlideContext, UniverSlide } from '@univerjs/core';import { zh, en } from './Locale';import { <%= projectConstantValue %>_PLUGIN_NAME} from './Basic/Const/PLUGIN_NAME'import { <%= projectUpperValue %>Controller } from './Controller/<%= projectUpperValue %>Controller';diff --git a/cli/src/templates/slides-plugin/src/Types/index.d.ts b/cli/src/templates/slides-plugin/src/Types/index.d.tsindex 9820ab8ea2..023ee42921 100644--- a/cli/src/templates/slides-plugin/src/Types/index.d.ts+++ b/cli/src/templates/slides-plugin/src/Types/index.d.ts@@ -1,7 +1,7 @@/// <reference types="vite/client" />export * from '../index';-declare module '@univer/<%= projectName %>' {}+declare module '@univerjs/<%= projectName %>' {}// use css moduledeclare module '*.less' {diff --git a/cli/src/templates/slides-plugin/src/main.tsx b/cli/src/templates/slides-plugin/src/main.tsxindex a14bb7df05..901f11ae1c 100644--- a/cli/src/templates/slides-plugin/src/main.tsx+++ b/cli/src/templates/slides-plugin/src/main.tsx@@ -1,7 +1,7 @@-import { UniverSlide } from '@univer/core';-import { RenderEngine } from '@univer/base-render';-import { SlidePlugin } from '@univer/base-slides';-import { UniverComponentSheet } from '@univer/style-univer';+import { UniverSlide } from '@univerjs/core';+import { RenderEngine } from '@univerjs/base-render';+import { SlidePlugin } from '@univerjs/base-slides';+import { UniverComponentSheet } from '@univerjs/style-univer';import { <%= projectUpperValue %>Plugin } from './<%= projectUpperValue %>Plugin';diff --git a/cli/src/type.d.ts b/cli/src/type.d.tsindex 104ebf8539..966aaed0f9 100644--- a/cli/src/type.d.ts+++ b/cli/src/type.d.ts@@ -1,2 +1,2 @@export * from './index';-declare module '@univer/cli' {}\ No newline at end of file+declare module '@univerjs/cli' {}\ No newline at end of filediff --git a/examples/univer-doc-ts/package.json b/examples/univer-doc-ts/package.jsonindex 0933f44f2d..adb67f44af 100644--- a/examples/univer-doc-ts/package.json+++ b/examples/univer-doc-ts/package.json@@ -44,12 +44,12 @@"vite-plugin-external": "1.2.3"},"dependencies": {- "@univer/base-component": "workspace:^0.0.1",- "@univer/base-docs": "workspace:^0.0.1",- "@univer/base-render": "workspace:^0.0.1",- "@univer/common-plugin-data": "workspace:^0.0.1",- "@univer/core": "workspace:^0.0.1",- "@univer/style-univer": "workspace:^0.0.1",+ "@univerjs/base-component": "workspace:^0.0.1",+ "@univerjs/base-docs": "workspace:^0.0.1",+ "@univerjs/base-render": "workspace:^0.0.1",+ "@univerjs/common-plugin-data": "workspace:^0.0.1",+ "@univerjs/core": "workspace:^0.0.1",+ "@univerjs/style-univer": "workspace:^0.0.1","preact": "^10.5.14"}}diff --git a/examples/univer-doc-ts/src/main.tsx b/examples/univer-doc-ts/src/main.tsxindex 10b56914fe..b0ef81b3cd 100644--- a/examples/univer-doc-ts/src/main.tsx+++ b/examples/univer-doc-ts/src/main.tsx@@ -1,9 +1,9 @@-import { UniverDoc } from '@univer/core';-import { RenderEngine } from '@univer/base-render';-import { UniverComponentSheet } from '@univer/style-univer';-import { DocPlugin } from '@univer/base-docs';-import { BaseComponentPlugin } from '@univer/base-component';-import { DEFAULT_DOCUMENT_DATA_EN } from '@univer/common-plugin-data';+import { UniverDoc } from '@univerjs/core';+import { RenderEngine } from '@univerjs/base-render';+import { UniverComponentSheet } from '@univerjs/style-univer';+import { DocPlugin } from '@univerjs/base-docs';+import { BaseComponentPlugin } from '@univerjs/base-component';+import { DEFAULT_DOCUMENT_DATA_EN } from '@univerjs/common-plugin-data';const docPluginConfig = {container: 'univerdoc',diff --git a/examples/univer-doc-ts/vite.config.ts b/examples/univer-doc-ts/vite.config.tsindex 4f01b3b35e..bb48384b5b 100644--- a/examples/univer-doc-ts/vite.config.ts+++ b/examples/univer-doc-ts/vite.config.ts@@ -42,8 +42,8 @@ export default defineConfig({// }),createExternal({externals: {- // '@univer/core': '@univer/core',- // '@univer/style-univer': '@univer/style-univer',+ // '@univerjs/core': '@univerjs/core',+ // '@univerjs/style-univer': '@univerjs/style-univer',// preact: 'preact',// react: 'react',},diff --git a/examples/univer-doc-ts/vite.demo.config.ts b/examples/univer-doc-ts/vite.demo.config.tsindex e6cca81325..362daff572 100644--- a/examples/univer-doc-ts/vite.demo.config.ts+++ b/examples/univer-doc-ts/vite.demo.config.ts@@ -53,10 +53,10 @@ export default defineConfig({// }),createExternal({externals: {- // '@univer/core': '@univer/core',- // '@univer/base-render': '@univer/base-render',- // '@univer/base-component': '@univer/base-component',- // '@univer/style-univer': '@univer/style-univer',+ // '@univerjs/core': '@univerjs/core',+ // '@univerjs/base-render': '@univerjs/base-render',+ // '@univerjs/base-component': '@univerjs/base-component',+ // '@univerjs/style-univer': '@univerjs/style-univer',// 'css-vars-ponyfill': 'css-vars-ponyfill',// nanoid: 'nanoid',// preact: 'preact',diff --git a/examples/univer-preact-ts/package.json b/examples/univer-preact-ts/package.jsonindex b03e64be8c..96d342292f 100644--- a/examples/univer-preact-ts/package.json+++ b/examples/univer-preact-ts/package.json@@ -43,19 +43,19 @@"vite-plugin-external": "1.2.3"},"dependencies": {- "@univer/base-component": "workspace:^0.0.1",- "@univer/base-docs": "workspace:^0.0.1",- "@univer/base-render": "workspace:^0.0.1",- "@univer/base-sheets": "workspace:^0.0.1",- "@univer/base-slides": "workspace:^0.0.1",- "@univer/common-plugin-collaboration": "workspace:^0.0.1",- "@univer/common-plugin-data": "workspace:^0.0.1",- "@univer/core": "workspace:^0.0.1",- "@univer/sheets-plugin-clipboard": "workspace:^0.0.1",- "@univer/sheets-plugin-formula": "workspace:^0.0.1",- "@univer/sheets-plugin-import-xlsx": "workspace:^0.0.1",- "@univer/sheets-plugin-numfmt": "workspace:^0.0.1",- "@univer/style-univer": "workspace:^0.0.1",+ "@univerjs/base-component": "workspace:^0.0.1",+ "@univerjs/base-docs": "workspace:^0.0.1",+ "@univerjs/base-render": "workspace:^0.0.1",+ "@univerjs/base-sheets": "workspace:^0.0.1",+ "@univerjs/base-slides": "workspace:^0.0.1",+ "@univerjs/common-plugin-collaboration": "workspace:^0.0.1",+ "@univerjs/common-plugin-data": "workspace:^0.0.1",+ "@univerjs/core": "workspace:^0.0.1",+ "@univerjs/sheets-plugin-clipboard": "workspace:^0.0.1",+ "@univerjs/sheets-plugin-formula": "workspace:^0.0.1",+ "@univerjs/sheets-plugin-import-xlsx": "workspace:^0.0.1",+ "@univerjs/sheets-plugin-numfmt": "workspace:^0.0.1",+ "@univerjs/style-univer": "workspace:^0.0.1","preact": "^10.5.14"}}diff --git a/examples/univer-preact-ts/src/index.ts b/examples/univer-preact-ts/src/index.tsindex 6b0b5e282a..c6e1a232c5 100644--- a/examples/univer-preact-ts/src/index.ts+++ b/examples/univer-preact-ts/src/index.ts@@ -1,16 +1,16 @@-import { IDocumentData, ISlideData, IWorkbookConfig, UniverDoc, UniverSheet, UniverSlide } from '@univer/core';-import { RenderEngine } from '@univer/base-render';-import { BaseComponentPlugin } from '@univer/base-component';-import { UniverComponentSheet } from '@univer/style-univer';-import { ISheetPluginConfig, SheetPlugin } from '@univer/base-sheets';-import { IDocPluginConfig, DocPlugin } from '@univer/base-docs';-import { ISlidePluginConfig, SlidePlugin } from '@univer/base-slides';-import { DEFAULT_WORKBOOK_DATA } from '@univer/common-plugin-data';-import { CollaborationPlugin, ICollaborationPluginConfig } from '@univer/common-plugin-collaboration';-import { DEFAULT_FORMULA_DATA, FormulaPlugin, IFormulaConfig } from '@univer/sheets-plugin-formula';-import { INumfmtPluginConfig, NumfmtPlugin } from '@univer/sheets-plugin-numfmt';-import { ClipboardPlugin } from '@univer/sheets-plugin-clipboard';-import { ImportXlsxPlugin } from '@univer/sheets-plugin-import-xlsx';+import { IDocumentData, ISlideData, IWorkbookConfig, UniverDoc, UniverSheet, UniverSlide } from '@univerjs/core';+import { RenderEngine } from '@univerjs/base-render';+import { BaseComponentPlugin } from '@univerjs/base-component';+import { UniverComponentSheet } from '@univerjs/style-univer';+import { ISheetPluginConfig, SheetPlugin } from '@univerjs/base-sheets';+import { IDocPluginConfig, DocPlugin } from '@univerjs/base-docs';+import { ISlidePluginConfig, SlidePlugin } from '@univerjs/base-slides';+import { DEFAULT_WORKBOOK_DATA } from '@univerjs/common-plugin-data';+import { CollaborationPlugin, ICollaborationPluginConfig } from '@univerjs/common-plugin-collaboration';+import { DEFAULT_FORMULA_DATA, FormulaPlugin, IFormulaConfig } from '@univerjs/sheets-plugin-formula';+import { INumfmtPluginConfig, NumfmtPlugin } from '@univerjs/sheets-plugin-numfmt';+import { ClipboardPlugin } from '@univerjs/sheets-plugin-clipboard';+import { ImportXlsxPlugin } from '@univerjs/sheets-plugin-import-xlsx';interface ISheetPropsCustom {coreConfig?: Partial<IWorkbookConfig>;@@ -111,16 +111,16 @@ const univerSlideCustom = function (config?: ISlidePropsCustom) {export { univerSheetCustom, univerDocCustom, univerSlideCustom };-export * as UniverCore from '@univer/core';-export * as BaseRender from '@univer/base-render';-export * as BaseComponent from '@univer/base-component';-export * as StyleUniver from '@univer/style-univer';-export * as BaseSheets from '@univer/base-sheets';-export * as BaseDocs from '@univer/base-docs';-export * as BaseSlides from '@univer/base-slides';-export * as CommonPluginData from '@univer/common-plugin-data';-export * as CommonPluginCollaboration from '@univer/common-plugin-collaboration';-export * as SheetsPluginFormula from '@univer/sheets-plugin-formula';-export * as SheetsPluginNumfmt from '@univer/sheets-plugin-numfmt';-export * as SheetsPluginClipboard from '@univer/sheets-plugin-clipboard';-export * as SheetsPluginImportXlsx from '@univer/sheets-plugin-import-xlsx';+export * as UniverCore from '@univerjs/core';+export * as BaseRender from '@univerjs/base-render';+export * as BaseComponent from '@univerjs/base-component';+export * as StyleUniver from '@univerjs/style-univer';+export * as BaseSheets from '@univerjs/base-sheets';+export * as BaseDocs from '@univerjs/base-docs';+export * as BaseSlides from '@univerjs/base-slides';+export * as CommonPluginData from '@univerjs/common-plugin-data';+export * as CommonPluginCollaboration from '@univerjs/common-plugin-collaboration';+export * as SheetsPluginFormula from '@univerjs/sheets-plugin-formula';+export * as SheetsPluginNumfmt from '@univerjs/sheets-plugin-numfmt';+export * as SheetsPluginClipboard from '@univerjs/sheets-plugin-clipboard';+export * as SheetsPluginImportXlsx from '@univerjs/sheets-plugin-import-xlsx';diff --git a/examples/univer-preact-ts/src/main.tsx b/examples/univer-preact-ts/src/main.tsxindex 16e38bf344..e55b53638d 100644--- a/examples/univer-preact-ts/src/main.tsx+++ b/examples/univer-preact-ts/src/main.tsx@@ -1,5 +1,5 @@-import { DEFAULT_WORKBOOK_DATA, DEFAULT_WORKBOOK_DATA_DEMO3, DEFAULT_WORKBOOK_DATA_DOWN } from '@univer/common-plugin-data';-import { IWorkbookConfig, IWorksheetConfig, SheetTypes, Tools } from '@univer/core';+import { DEFAULT_WORKBOOK_DATA, DEFAULT_WORKBOOK_DATA_DEMO3, DEFAULT_WORKBOOK_DATA_DOWN } from '@univerjs/common-plugin-data';+import { IWorkbookConfig, IWorksheetConfig, SheetTypes, Tools } from '@univerjs/core';import { univerSheetCustom } from '.';const sheetConfig = {diff --git a/examples/univer-preact-ts/vite.config.ts b/examples/univer-preact-ts/vite.config.tsindex f0753a8b68..537f01c369 100644--- a/examples/univer-preact-ts/vite.config.ts+++ b/examples/univer-preact-ts/vite.config.ts@@ -44,8 +44,8 @@ export default defineConfig({// }),createExternal({externals: {- // '@univer/core': '@univer/core',- // '@univer/style-univer': '@univer/style-univer',+ // '@univerjs/core': '@univerjs/core',+ // '@univerjs/style-univer': '@univerjs/style-univer',// preact: 'preact',// react: 'react',},diff --git a/examples/univer-sheet-ts/package.json b/examples/univer-sheet-ts/package.jsonindex f2700a2a18..396fcbad06 100644--- a/examples/univer-sheet-ts/package.json+++ b/examples/univer-sheet-ts/package.json@@ -44,16 +44,16 @@"vite-plugin-external": "1.2.3"},"dependencies": {- "@univer/base-component": "workspace:^0.0.1",- "@univer/base-render": "workspace:^0.0.1",- "@univer/base-sheets": "workspace:^0.0.1",- "@univer/common-plugin-data": "workspace:^0.0.1",- "@univer/core": "workspace:^0.0.1",- "@univer/sheets-plugin-clipboard": "workspace:^0.0.1",- "@univer/sheets-plugin-formula": "workspace:^0.0.1",- "@univer/sheets-plugin-import-xlsx": "workspace:^0.0.1",- "@univer/sheets-plugin-numfmt": "workspace:^0.0.1",- "@univer/style-univer": "workspace:^0.0.1",+ "@univerjs/base-component": "workspace:^0.0.1",+ "@univerjs/base-render": "workspace:^0.0.1",+ "@univerjs/base-sheets": "workspace:^0.0.1",+ "@univerjs/common-plugin-data": "workspace:^0.0.1",+ "@univerjs/core": "workspace:^0.0.1",+ "@univerjs/sheets-plugin-clipboard": "workspace:^0.0.1",+ "@univerjs/sheets-plugin-formula": "workspace:^0.0.1",+ "@univerjs/sheets-plugin-import-xlsx": "workspace:^0.0.1",+ "@univerjs/sheets-plugin-numfmt": "workspace:^0.0.1",+ "@univerjs/style-univer": "workspace:^0.0.1","preact": "^10.5.14"}}diff --git a/examples/univer-sheet-ts/src/main.tsx b/examples/univer-sheet-ts/src/main.tsxindex 0209e961a5..c5e2e1ddaf 100644--- a/examples/univer-sheet-ts/src/main.tsx+++ b/examples/univer-sheet-ts/src/main.tsx@@ -1,14 +1,14 @@-import { UniverSheet, UniverDoc, UniverSlide, Univer } from '@univer/core';-import { RenderEngine } from '@univer/base-render';-import { UniverComponentSheet } from '@univer/style-univer';-import { SheetPlugin } from '@univer/base-sheets';+import { UniverSheet, UniverDoc, UniverSlide, Univer } from '@univerjs/core';+import { RenderEngine } from '@univerjs/base-render';+import { UniverComponentSheet } from '@univerjs/style-univer';+import { SheetPlugin } from '@univerjs/base-sheets';import {DEFAULT_FORMULA_DATA,DEFAULT_FORMULA_DATA_DEMO,DEFAULT_FORMULA_DATA_DEMO1,FormulaPlugin,-} from '@univer/sheets-plugin-formula';-import { NumfmtPlugin } from '@univer/sheets-plugin-numfmt';+} from '@univerjs/sheets-plugin-formula';+import { NumfmtPlugin } from '@univerjs/sheets-plugin-numfmt';import {DEFAULT_WORKBOOK_DATA,DEFAULT_WORKBOOK_DATA_DEMO,@@ -17,10 +17,10 @@ import {DEFAULT_WORKBOOK_DATA_DEMO3,DEFAULT_WORKBOOK_DATA_DEMO4,DEFAULT_WORKBOOK_DATA_DOWN,-} from '@univer/common-plugin-data';-import { ClipboardPlugin } from '@univer/sheets-plugin-clipboard';-import { BaseComponentPlugin } from '@univer/base-component';-import { ImportXlsxPlugin } from '@univer/sheets-plugin-import-xlsx';+} from '@univerjs/common-plugin-data';+import { ClipboardPlugin } from '@univerjs/sheets-plugin-clipboard';+import { BaseComponentPlugin } from '@univerjs/base-component';+import { ImportXlsxPlugin } from '@univerjs/sheets-plugin-import-xlsx';const uiDefaultConfigDemo = {container: 'universheet',diff --git a/examples/univer-sheet-ts/vite.config.ts b/examples/univer-sheet-ts/vite.config.tsindex 634c469905..2140d0c5de 100644--- a/examples/univer-sheet-ts/vite.config.ts+++ b/examples/univer-sheet-ts/vite.config.ts@@ -42,8 +42,8 @@ export default defineConfig({// }),createExternal({externals: {- // '@univer/core': '@univer/core',- // '@univer/style-univer': '@univer/style-univer',+ // '@univerjs/core': '@univerjs/core',+ // '@univerjs/style-univer': '@univerjs/style-univer',// preact: 'preact',// react: 'react',},diff --git a/examples/univer-sheet-ts/vite.demo.config.ts b/examples/univer-sheet-ts/vite.demo.config.tsindex e6cca81325..362daff572 100644--- a/examples/univer-sheet-ts/vite.demo.config.ts+++ b/examples/univer-sheet-ts/vite.demo.config.ts@@ -53,10 +53,10 @@ export default defineConfig({// }),createExternal({externals: {- // '@univer/core': '@univer/core',- // '@univer/base-render': '@univer/base-render',- // '@univer/base-component': '@univer/base-component',- // '@univer/style-univer': '@univer/style-univer',+ // '@univerjs/core': '@univerjs/core',+ // '@univerjs/base-render': '@univerjs/base-render',+ // '@univerjs/base-component': '@univerjs/base-component',+ // '@univerjs/style-univer': '@univerjs/style-univer',// 'css-vars-ponyfill': 'css-vars-ponyfill',// nanoid: 'nanoid',// preact: 'preact',diff --git a/examples/univer-slide-ts/package.json b/examples/univer-slide-ts/package.jsonindex a6de827b48..1928d880b3 100644--- a/examples/univer-slide-ts/package.json+++ b/examples/univer-slide-ts/package.json@@ -44,12 +44,12 @@"vite-plugin-external": "1.2.3"},"dependencies": {- "@univer/base-component": "workspace:^0.0.1",- "@univer/base-slides": "workspace:^0.0.1",- "@univer/base-render": "workspace:^0.0.1",- "@univer/common-plugin-data": "workspace:^0.0.1",- "@univer/core": "workspace:^0.0.1",- "@univer/style-univer": "workspace:^0.0.1",+ "@univerjs/base-component": "workspace:^0.0.1",+ "@univerjs/base-slides": "workspace:^0.0.1",+ "@univerjs/base-render": "workspace:^0.0.1",+ "@univerjs/common-plugin-data": "workspace:^0.0.1",+ "@univerjs/core": "workspace:^0.0.1",+ "@univerjs/style-univer": "workspace:^0.0.1","preact": "^10.5.14"}}diff --git a/examples/univer-slide-ts/src/main.tsx b/examples/univer-slide-ts/src/main.tsxindex affe293dc7..dad97823c1 100644--- a/examples/univer-slide-ts/src/main.tsx+++ b/examples/univer-slide-ts/src/main.tsx@@ -1,9 +1,9 @@-import { UniverSlide } from '@univer/core';-import { RenderEngine } from '@univer/base-render';-import { UniverComponentSheet } from '@univer/style-univer';-import { SlidePlugin } from '@univer/base-slides';-import { BaseComponentPlugin } from '@univer/base-component';-import { DEFAULT_SLIDE_DATA } from '@univer/common-plugin-data';+import { UniverSlide } from '@univerjs/core';+import { RenderEngine } from '@univerjs/base-render';+import { UniverComponentSheet } from '@univerjs/style-univer';+import { SlidePlugin } from '@univerjs/base-slides';+import { BaseComponentPlugin } from '@univerjs/base-component';+import { DEFAULT_SLIDE_DATA } from '@univerjs/common-plugin-data';const slidePluginConfig = {container: 'universlide',diff --git a/examples/univer-slide-ts/vite.config.ts b/examples/univer-slide-ts/vite.config.tsindex c4311055fd..9f1c6729b7 100644--- a/examples/univer-slide-ts/vite.config.ts+++ b/examples/univer-slide-ts/vite.config.ts@@ -42,8 +42,8 @@ export default defineConfig({// }),createExternal({externals: {- // '@univer/core': '@univer/core',- // '@univer/style-univer': '@univer/style-univer',+ // '@univerjs/core': '@univerjs/core',+ // '@univerjs/style-univer': '@univerjs/style-univer',// preact: 'preact',// react: 'react',},diff --git a/examples/univer-slide-ts/vite.demo.config.ts b/examples/univer-slide-ts/vite.demo.config.tsindex e6cca81325..362daff572 100644--- a/examples/univer-slide-ts/vite.demo.config.ts+++ b/examples/univer-slide-ts/vite.demo.config.ts@@ -53,10 +53,10 @@ export default defineConfig({// }),createExternal({externals: {- // '@univer/core': '@univer/core',- // '@univer/base-render': '@univer/base-render',- // '@univer/base-component': '@univer/base-component',- // '@univer/style-univer': '@univer/style-univer',+ // '@univerjs/core': '@univerjs/core',+ // '@univerjs/base-render': '@univerjs/base-render',+ // '@univerjs/base-component': '@univerjs/base-component',+ // '@univerjs/style-univer': '@univerjs/style-univer',// 'css-vars-ponyfill': 'css-vars-ponyfill',// nanoid: 'nanoid',// preact: 'preact',diff --git a/examples/univer-vanilla-ts/package.json b/examples/univer-vanilla-ts/package.jsonindex 6fa5e02a2b..1eb72becc7 100644--- a/examples/univer-vanilla-ts/package.json+++ b/examples/univer-vanilla-ts/package.json@@ -44,18 +44,18 @@"vite-plugin-external": "1.2.3"},"dependencies": {- "@univer/base-component": "workspace:^0.0.1",- "@univer/base-docs": "workspace:^0.0.1",- "@univer/base-render": "workspace:^0.0.1",- "@univer/base-sheets": "workspace:^0.0.1",- "@univer/base-slides": "workspace:^0.0.1",- "@univer/common-plugin-data": "workspace:^0.0.1",- "@univer/core": "workspace:^0.0.1",- "@univer/sheets-plugin-clipboard": "workspace:^0.0.1",- "@univer/sheets-plugin-formula": "workspace:^0.0.1",- "@univer/sheets-plugin-import-xlsx": "workspace:^0.0.1",- "@univer/sheets-plugin-numfmt": "workspace:^0.0.1",- "@univer/style-univer": "workspace:^0.0.1",+ "@univerjs/base-component": "workspace:^0.0.1",+ "@univerjs/base-docs": "workspace:^0.0.1",+ "@univerjs/base-render": "workspace:^0.0.1",+ "@univerjs/base-sheets": "workspace:^0.0.1",+ "@univerjs/base-slides": "workspace:^0.0.1",+ "@univerjs/common-plugin-data": "workspace:^0.0.1",+ "@univerjs/core": "workspace:^0.0.1",+ "@univerjs/sheets-plugin-clipboard": "workspace:^0.0.1",+ "@univerjs/sheets-plugin-formula": "workspace:^0.0.1",+ "@univerjs/sheets-plugin-import-xlsx": "workspace:^0.0.1",+ "@univerjs/sheets-plugin-numfmt": "workspace:^0.0.1",+ "@univerjs/style-univer": "workspace:^0.0.1","preact": "^10.5.14"}}diff --git a/examples/univer-vanilla-ts/src/main.tsx b/examples/univer-vanilla-ts/src/main.tsxindex 000f3bcbbe..200dbaf65c 100644--- a/examples/univer-vanilla-ts/src/main.tsx+++ b/examples/univer-vanilla-ts/src/main.tsx@@ -1,14 +1,14 @@-import { UniverSheet, UniverDoc, UniverSlide, Univer } from '@univer/core';-import { RenderEngine } from '@univer/base-render';-import { UniverComponentSheet } from '@univer/style-univer';-import { SheetPlugin } from '@univer/base-sheets';+import { UniverSheet, UniverDoc, UniverSlide, Univer } from '@univerjs/core';+import { RenderEngine } from '@univerjs/base-render';+import { UniverComponentSheet } from '@univerjs/style-univer';+import { SheetPlugin } from '@univerjs/base-sheets';import {DEFAULT_FORMULA_DATA,DEFAULT_FORMULA_DATA_DEMO,DEFAULT_FORMULA_DATA_DEMO1,FormulaPlugin,-} from '@univer/sheets-plugin-formula';-import { NumfmtPlugin } from '@univer/sheets-plugin-numfmt';+} from '@univerjs/sheets-plugin-formula';+import { NumfmtPlugin } from '@univerjs/sheets-plugin-numfmt';import {DEFAULT_WORKBOOK_DATA,DEFAULT_WORKBOOK_DATA_DEMO,@@ -17,10 +17,10 @@ import {DEFAULT_WORKBOOK_DATA_DEMO3,DEFAULT_WORKBOOK_DATA_DEMO4,DEFAULT_WORKBOOK_DATA_DOWN,-} from '@univer/common-plugin-data';-import { ClipboardPlugin } from '@univer/sheets-plugin-clipboard';-import { BaseComponentPlugin } from '@univer/base-component';-import { ImportXlsxPlugin } from '@univer/sheets-plugin-import-xlsx';+} from '@univerjs/common-plugin-data';+import { ClipboardPlugin } from '@univerjs/sheets-plugin-clipboard';+import { BaseComponentPlugin } from '@univerjs/base-component';+import { ImportXlsxPlugin } from '@univerjs/sheets-plugin-import-xlsx';const uiDefaultConfigDemo = {container: 'universheet',diff --git a/examples/univer-vanilla-ts/vite.config.ts b/examples/univer-vanilla-ts/vite.config.tsindex ec0d09aa39..d865e31612 100644--- a/examples/univer-vanilla-ts/vite.config.ts+++ b/examples/univer-vanilla-ts/vite.config.ts@@ -42,8 +42,8 @@ export default defineConfig({// }),createExternal({externals: {- // '@univer/core': '@univer/core',- // '@univer/style-univer': '@univer/style-univer',+ // '@univerjs/core': '@univerjs/core',+ // '@univerjs/style-univer': '@univerjs/style-univer',// preact: 'preact',// react: 'react',},diff --git a/package.json b/package.jsonindex 32e1d07540..20af669114 100644--- a/package.json+++ b/package.json@@ -5,14 +5,14 @@"private": true,"scripts": {"test": "node scripts/test",- "test:ui": "pnpm run --filter @univer/style-univer test",- "test:e2e": "pnpm run --filter @univer/base-sheets test:play",+ "test:ui": "pnpm run --filter @univerjs/style-univer test",+ "test:e2e": "pnpm run --filter @univerjs/base-sheets test:play","dev": "node scripts/dev","dev:sheet": "pnpm run --filter univer-sheet-ts dev","dev:all": "pnpm run --filter univer-vanilla-ts dev","dev:preact": "pnpm run --filter univer-sheet-preact dev",- "dev:doc": "pnpm run --filter @univer/base-docs dev",- "dev:slide": "pnpm run --filter @univer/base-slides dev",+ "dev:doc": "pnpm run --filter @univerjs/base-docs dev",+ "dev:slide": "pnpm run --filter @univerjs/base-slides dev","d": "pnpm run --filter univer-vanilla-ts dev","api": "node scripts/api","lighthouse-dev": "start /B node scripts/dev && lighthouse http://127.0.0.1:3103 --output html --output-path ./report.html",@@ -22,7 +22,7 @@"build:slide": "pnpm run --filter univer-slide-ts build:demo","link": "node scripts/link.js","build:customd": "cd cli/src/templates/univer-custom-build && npm run build:d",- "clean": "npm cache clean --force && pnpm dlx rimraf node_modules **/node_modules/ package-lock.json yarn.lock pnpm-lock.yaml && pnpm install && pnpm dlx playwright install",+ "clean": "npm cache clean --force && pnpm dlx [email protected] node_modules **/node_modules/ package-lock.json yarn.lock pnpm-lock.yaml && pnpm install && pnpm dlx playwright install","node-server": "node scripts/server.js","univer-cli": "cd cli && npm run cli","postinstall": "node scripts/postinstall.js",diff --git a/packages/base-component/README-zh.md b/packages/base-component/README-zh.mdindex 188b8c08d1..73e09d01be 100644--- a/packages/base-component/README-zh.md+++ b/packages/base-component/README-zh.md@@ -16,13 +16,13 @@ UniverSheet 官方 UI 组件库### 安装```bash-npm i @univer/base-component+npm i @univerjs/base-component```### 使用```js-impport baseUI from '@univer/base-component'+impport baseUI from '@univerjs/base-component'universheet.install(baseUI)universheet.create({plugins:['base-component']@@ -49,7 +49,7 @@ npm inpm run dev# 或者项目根目录 ./-npm run dev -w @univer/base-component+npm run dev -w @univerjs/base-component```### 打包@@ -59,7 +59,7 @@ npm run dev -w @univer/base-componentnpm run build# 或者根目录 ./-npm run build -w @univer/base-component+npm run build -w @univerjs/base-component```## 组件库文档@@ -80,7 +80,7 @@ npm inpm run start# 或者根目录-npm run start -w @univer/base-component+npm run start -w @univerjs/base-component```此命令启动本地开发服务器并打开浏览器窗口。 大多数更改都会实时刷新,而无需重新启动服务器。@@ -92,7 +92,7 @@ npm run start -w @univer/base-componentnpm run build:doc# 或者根目录-npm run build:doc -w @univer/base-component+npm run build:doc -w @univerjs/base-component```此命令将静态内容生成到 `build` 目录中,并且可以使用任何静态内容托管服务来提供。diff --git a/packages/base-component/README.md b/packages/base-component/README.mdindex fc6ae56b5b..1a7ebbf911 100644--- a/packages/base-component/README.md+++ b/packages/base-component/README.md@@ -16,13 +16,13 @@ UniverSheet official UI component library### Install```bash-npm i @univer/base-component+npm i @univerjs/base-component```### Import```js-impport baseUI from'@univer/base-component'+impport baseUI from'@univerjs/base-component'universheet.install(baseUI)universheet.create({plugins:['base-component']@@ -49,7 +49,7 @@ npm inpm run dev# Or project root directory ./-npm run dev -w @univer/base-component+npm run dev -w @univerjs/base-component```### Package@@ -59,7 +59,7 @@ npm run dev -w @univer/base-componentnpm run build# Or root directory ./-npm run build -w @univer/base-component+npm run build -w @univerjs/base-component```## Doc Website@@ -80,7 +80,7 @@ npm inpm run start# or root folder-npm run start -w @univer/base-component+npm run start -w @univerjs/base-component```This command starts a local development server and opens up a browser window. Most changes are reflected live without having to restart the server.@@ -92,7 +92,7 @@ This command starts a local development server and opens up a browser window. Monpm run build:doc# or root folder-npm run build:doc -w @univer/base-component+npm run build:doc -w @univerjs/base-component```This command generates static content into the `build` directory and can be served using any static contents hosting service.diff --git a/packages/base-component/package.json b/packages/base-component/package.jsonindex 4b61735e36..1ef52f6bf7 100644--- a/packages/base-component/package.json+++ b/packages/base-component/package.json@@ -1,5 +1,5 @@{- "name": "@univer/base-component",+ "name": "@univerjs/base-component","version": "0.0.1","description": "UniverSheet normal plugin UI manager","keywords": [],@@ -50,10 +50,10 @@"vite-plugin-external": "1.2.3"},"dependencies": {- "@univer/base-render": "workspace:^0.0.1",- "@univer/base-sheets": "workspace:^0.0.1",- "@univer/core": "workspace:^0.0.1",- "@univer/style-univer": "workspace:^0.0.1",+ "@univerjs/base-render": "workspace:^0.0.1",+ "@univerjs/base-sheets": "workspace:^0.0.1",+ "@univerjs/core": "workspace:^0.0.1",+ "@univerjs/style-univer": "workspace:^0.0.1","css-vars-ponyfill": "^2.4.6","nanoid": "^4.0.0","preact": "^10.5.14",diff --git a/packages/base-component/src/BaseComponent.ts b/packages/base-component/src/BaseComponent.tsindex 9e52ac667d..495702d090 100644--- a/packages/base-component/src/BaseComponent.ts+++ b/packages/base-component/src/BaseComponent.ts@@ -1,4 +1,4 @@-import { BasePlugin } from '@univer/core';+import { BasePlugin } from '@univerjs/core';import { ComponentClass, ForwardFn } from './Framework';import { Description } from './Components';diff --git a/packages/base-component/src/BaseComponentPlugin.ts b/packages/base-component/src/BaseComponentPlugin.tsindex 11958e56df..8a8544028f 100644--- a/packages/base-component/src/BaseComponentPlugin.ts+++ b/packages/base-component/src/BaseComponentPlugin.ts@@ -1,5 +1,5 @@-import { SheetPlugin } from '@univer/base-sheets';-import { Plugin, UniverSheet, UniverDoc, UniverSlide, PLUGIN_NAMES } from '@univer/core';+import { SheetPlugin } from '@univerjs/base-sheets';+import { Plugin, UniverSheet, UniverDoc, UniverSlide, PLUGIN_NAMES } from '@univerjs/core';import { UniverConfig } from './Basics/Interfaces/UniverConfig';import { UniverSheetConfig } from './Basics/Interfaces/UniverSheetConfig';import { BaseComponentPluginObserve, installObserver } from './Basics/Observer';diff --git a/packages/base-component/src/Basics/Interfaces/ToolbarConfig/BaseToolBarConfig.ts b/packages/base-component/src/Basics/Interfaces/ToolbarConfig/BaseToolBarConfig.tsindex 26a09043a7..34b2b94fc7 100644--- a/packages/base-component/src/Basics/Interfaces/ToolbarConfig/BaseToolBarConfig.ts+++ b/packages/base-component/src/Basics/Interfaces/ToolbarConfig/BaseToolBarConfig.ts@@ -1,5 +1,5 @@-import { BaseSelectChildrenProps, BaseSelectProps } from '@univer/base-sheets';-import { BaseTextButtonProps } from '@univer/base-sheets/src/View/UI/Common/TextButton/TextButton';+import { BaseSelectChildrenProps, BaseSelectProps } from '@univerjs/base-sheets';+import { BaseTextButtonProps } from '@univerjs/base-sheets/src/View/UI/Common/TextButton/TextButton';export interface ToolBarConfig extends SheetToolBarConfig, DocToolBarConfig, SlideToolBarConfig {}diff --git a/packages/base-component/src/Basics/Interfaces/UniverConfig.ts b/packages/base-component/src/Basics/Interfaces/UniverConfig.tsindex 3f41b85202..5030475432 100644--- a/packages/base-component/src/Basics/Interfaces/UniverConfig.ts+++ b/packages/base-component/src/Basics/Interfaces/UniverConfig.ts@@ -1,4 +1,4 @@-import { ContextBase } from '@univer/core';+import { ContextBase } from '@univerjs/core';import { ToolBarConfig } from './ToolbarConfig/BaseToolBarConfig';/**diff --git a/packages/base-component/src/Basics/Observer.ts b/packages/base-component/src/Basics/Observer.tsindex 1fe88689a6..6517ca09e2 100644--- a/packages/base-component/src/Basics/Observer.ts+++ b/packages/base-component/src/Basics/Observer.ts@@ -1,4 +1,4 @@-import { Observable } from '@univer/core';+import { Observable } from '@univerjs/core';import { BaseComponentPlugin } from '../BaseComponentPlugin';export type BaseComponentPluginObserve = {diff --git a/packages/base-component/src/Basics/Register/Clipboard/ClipboardExtensionFactory.ts b/packages/base-component/src/Basics/Register/Clipboard/ClipboardExtensionFactory.tsindex 342a470a7b..c1b6992009 100644--- a/packages/base-component/src/Basics/Register/Clipboard/ClipboardExtensionFactory.ts+++ b/packages/base-component/src/Basics/Register/Clipboard/ClipboardExtensionFactory.ts@@ -1,4 +1,4 @@-import { Plugin } from '@univer/core';+import { Plugin } from '@univerjs/core';import { IClipboardData } from '../../Interfaces/IClipboardData';/**diff --git a/packages/base-component/src/Basics/Register/Clipboard/ClipboardExtensionRegister.ts b/packages/base-component/src/Basics/Register/Clipboard/ClipboardExtensionRegister.tsindex facafb572a..e1f2da49d3 100644--- a/packages/base-component/src/Basics/Register/Clipboard/ClipboardExtensionRegister.ts+++ b/packages/base-component/src/Basics/Register/Clipboard/ClipboardExtensionRegister.ts@@ -1,4 +1,4 @@-import { sortRules } from '@univer/core';+import { sortRules } from '@univerjs/core';import { BaseClipboardExtensionFactory } from './ClipboardExtensionFactory';export class ClipboardExtensionRegister {diff --git a/packages/base-component/src/Basics/Register/DragAndDrop/DragAndDropExtensionFactory.ts b/packages/base-component/src/Basics/Register/DragAndDrop/DragAndDropExtensionFactory.tsindex 2c28997a0d..335e7b9645 100644--- a/packages/base-component/src/Basics/Register/DragAndDrop/DragAndDropExtensionFactory.ts+++ b/packages/base-component/src/Basics/Register/DragAndDrop/DragAndDropExtensionFactory.ts@@ -1,4 +1,4 @@-import { Plugin } from '@univer/core';+import { Plugin } from '@univerjs/core';import { IDragAndDropData } from '../../Interfaces';/**diff --git a/packages/base-component/src/Basics/Register/DragAndDrop/DragAndDropExtensionRegister.ts b/packages/base-component/src/Basics/Register/DragAndDrop/DragAndDropExtensionRegister.tsindex 94124fc9c0..dbd06c50d6 100644--- a/packages/base-component/src/Basics/Register/DragAndDrop/DragAndDropExtensionRegister.ts+++ b/packages/base-component/src/Basics/Register/DragAndDrop/DragAndDropExtensionRegister.ts@@ -1,4 +1,4 @@-import { sortRules } from '@univer/core';+import { sortRules } from '@univerjs/core';import { BaseDragAndDropExtensionFactory } from './DragAndDropExtensionFactory';export class DragAndDropExtensionRegister {diff --git a/packages/base-component/src/Common/AppContext.tsx b/packages/base-component/src/Common/AppContext.tsxindex ba5f1eb574..8cc14fac26 100644--- a/packages/base-component/src/Common/AppContext.tsx+++ b/packages/base-component/src/Common/AppContext.tsx@@ -1,7 +1,7 @@/*** Use createContext to provide global language and skin settings*/-import { ContextBase, Locale } from '@univer/core';+import { ContextBase, Locale } from '@univerjs/core';import { createContext } from 'preact';export type AppContextValues = {diff --git a/packages/base-component/src/Common/DragManager.ts b/packages/base-component/src/Common/DragManager.tsindex 1055fa6dac..cbb2eb94f9 100644--- a/packages/base-component/src/Common/DragManager.ts+++ b/packages/base-component/src/Common/DragManager.ts@@ -1,4 +1,4 @@-import { Observable, ObserverManager, Plugin } from '@univer/core';+import { Observable, ObserverManager, Plugin } from '@univerjs/core';export type DragObserver = {onKeyDownObservable: Observable<DragEvent>;diff --git a/packages/base-component/src/Common/KeyboardManager.ts b/packages/base-component/src/Common/KeyboardManager.tsindex 8dfb8bcaff..66b51b1a91 100644--- a/packages/base-component/src/Common/KeyboardManager.ts+++ b/packages/base-component/src/Common/KeyboardManager.ts@@ -1,4 +1,4 @@-import { Observable, ObserverManager, Plugin } from '@univer/core';+import { Observable, ObserverManager, Plugin } from '@univerjs/core';export type KeyboardObserver = {onKeyDownObservable: Observable<KeyboardEvent>;diff --git a/packages/base-component/src/Common/RegisterManager.ts b/packages/base-component/src/Common/RegisterManager.tsindex 957c4f0c7d..c5fcd2d870 100644--- a/packages/base-component/src/Common/RegisterManager.ts+++ b/packages/base-component/src/Common/RegisterManager.ts@@ -1,4 +1,4 @@-import { Plugin } from '@univer/core';+import { Plugin } from '@univerjs/core';import { IClipboardData, IDragAndDropData } from '../Basics/Interfaces';import { ClipboardExtensionManager, DragAndDropExtensionManager } from '../Basics/Register';diff --git a/packages/base-component/src/Components/SheetBar.ts b/packages/base-component/src/Components/SheetBar.tsindex a8c88afcf6..d2ba2c4362 100644--- a/packages/base-component/src/Components/SheetBar.ts+++ b/packages/base-component/src/Components/SheetBar.ts@@ -1,4 +1,4 @@-import { BooleanNumber } from '@univer/core';+import { BooleanNumber } from '@univerjs/core';import { BaseComponent, BaseComponentProps, JSXComponent } from '../BaseComponent';import { BaseSelectProps } from './Select';diff --git a/packages/base-component/src/Components/Ul.ts b/packages/base-component/src/Components/Ul.tsindex 052317b838..3f21e746f4 100644--- a/packages/base-component/src/Components/Ul.ts+++ b/packages/base-component/src/Components/Ul.ts@@ -1,4 +1,4 @@-import { BooleanNumber } from '@univer/core';+import { BooleanNumber } from '@univerjs/core';import { BaseComponent, BaseComponentProps, JSXComponent } from '../BaseComponent';export interface BaseUlProps extends BaseComponentProps {diff --git a/packages/base-component/src/Controller/UniverContainerController.ts b/packages/base-component/src/Controller/UniverContainerController.tsindex aabf6569d3..b6d443fd5a 100644--- a/packages/base-component/src/Controller/UniverContainerController.ts+++ b/packages/base-component/src/Controller/UniverContainerController.ts@@ -1,6 +1,6 @@-import { RenderEngine } from '@univer/base-render';-// import { CanvasView } from '@univer/base-sheets';-import { LocaleType, PLUGIN_NAMES } from '@univer/core';+import { RenderEngine } from '@univerjs/base-render';+// import { CanvasView } from '@univerjs/base-sheets';+import { LocaleType, PLUGIN_NAMES } from '@univerjs/core';import { BaseComponentPlugin } from '../BaseComponentPlugin';import { UniverConfig } from '../Basics';import { UniverSheetConfig } from '../Basics/Interfaces/UniverSheetConfig';diff --git a/packages/base-component/src/Framework/Preact.ts b/packages/base-component/src/Framework/Preact.tsindex a10279483e..f1db19bd76 100644--- a/packages/base-component/src/Framework/Preact.ts+++ b/packages/base-component/src/Framework/Preact.ts@@ -1,4 +1,4 @@-import { BasePlugin, SheetContext, Nullable } from '@univer/core';+import { BasePlugin, SheetContext, Nullable } from '@univerjs/core';import { cloneElement, Component as PreactComponent, ComponentChildren, ComponentClass, createRef, JSX, RefObject, render, VNode, PreactContext, Ref } from 'preact';import { ForwardFn, forwardRef, PureComponent as PreactPureComponent } from 'preact/compat';import { BaseComponentRender, BaseComponentSheet } from '../BaseComponent';diff --git a/packages/base-component/src/Helpers/Cell.ts b/packages/base-component/src/Helpers/Cell.tsindex ddc37e05c8..f4679591bc 100644--- a/packages/base-component/src/Helpers/Cell.ts+++ b/packages/base-component/src/Helpers/Cell.ts@@ -15,9 +15,9 @@ import {Tools,VerticalAlign,WrapStrategy,-} from '@univer/core';+} from '@univerjs/core';import { nanoid } from 'nanoid';-import { pxToPt } from '@univer/base-render';+import { pxToPt } from '@univerjs/base-render';import { textTrim } from '../Utils';// TODO: move to Utilsdiff --git a/packages/base-component/src/Types/index.d.ts b/packages/base-component/src/Types/index.d.tsindex ae1f7267fb..9d196ad287 100644--- a/packages/base-component/src/Types/index.d.ts+++ b/packages/base-component/src/Types/index.d.ts@@ -1,2 +1,2 @@export * from '../index';-declare module '@univer/base-component' {}+declare module '@univerjs/base-component' {}diff --git a/packages/base-component/src/UI/ToolBar/SingleButton.tsx b/packages/base-component/src/UI/ToolBar/SingleButton.tsxindex 094f67b014..01b41e842d 100644--- a/packages/base-component/src/UI/ToolBar/SingleButton.tsx+++ b/packages/base-component/src/UI/ToolBar/SingleButton.tsx@@ -1,5 +1,5 @@-import { BaseSingleButtonProps, Component, JSXComponent, SingleButtonComponent } from '@univer/base-component';-import { Button, Tooltip } from '@univer/style-univer';+import { BaseSingleButtonProps, Component, JSXComponent, SingleButtonComponent } from '@univerjs/base-component';+import { Button, Tooltip } from '@univerjs/style-univer';import styles from './index.module.less';diff --git a/packages/base-component/src/UI/ToolBar/ToolBar-zh.md b/packages/base-component/src/UI/ToolBar/ToolBar-zh.mdindex 8e7e52bc10..4e8d509888 100644--- a/packages/base-component/src/UI/ToolBar/ToolBar-zh.md+++ b/packages/base-component/src/UI/ToolBar/ToolBar-zh.md@@ -75,7 +75,7 @@ cover: ''## 案例```jsx-import { ToolBar } from '@univer/style-univer';+import { ToolBar } from '@univerjs/style-univer';const SheetContainer = () => {return (diff --git a/packages/base-component/src/UI/ToolBar/ToolBar.tsx b/packages/base-component/src/UI/ToolBar/ToolBar.tsxindex 1546cb9dda..9091469796 100644--- a/packages/base-component/src/UI/ToolBar/ToolBar.tsx+++ b/packages/base-component/src/UI/ToolBar/ToolBar.tsx@@ -1,5 +1,5 @@-import { BaseComponentProps, BaseComponentRender, BaseComponentSheet, Component, createRef, debounce } from '@univer/base-component';-import { PLUGIN_NAMES } from '@univer/core';+import { BaseComponentProps, BaseComponentRender, BaseComponentSheet, Component, createRef, debounce } from '@univerjs/base-component';+import { PLUGIN_NAMES } from '@univerjs/core';import { IToolBarItemProps } from '../../../Model/ToolBarModel';import { SheetPlugin } from '../../../SheetPlugin';import { Select } from '../Common/Select/Select';diff --git a/packages/base-component/src/UI/UniverContainer/UniverContainer.tsx b/packages/base-component/src/UI/UniverContainer/UniverContainer.tsxindex 2993084d04..3109c7b216 100644--- a/packages/base-component/src/UI/UniverContainer/UniverContainer.tsx+++ b/packages/base-component/src/UI/UniverContainer/UniverContainer.tsx@@ -1,9 +1,9 @@-import { Tools } from '@univer/core';-import { Container, Content, Footer, Header, Layout, Sider } from '@univer/style-univer';+import { Tools } from '@univerjs/core';+import { Container, Content, Footer, Header, Layout, Sider } from '@univerjs/style-univer';import cssVars from 'css-vars-ponyfill';-import defaultSkin from '@univer/style-univer/assets/css/skin/default.module.less';-import darkSkin from '@univer/style-univer/assets/css/skin/dark.module.less';-import greenSkin from '@univer/style-univer/assets/css/skin/green.module.less';+import defaultSkin from '@univerjs/style-univer/assets/css/skin/default.module.less';+import darkSkin from '@univerjs/style-univer/assets/css/skin/dark.module.less';+import greenSkin from '@univerjs/style-univer/assets/css/skin/green.module.less';import { BaseComponentProps } from '../../BaseComponent';import { IShowContainerConfig, UniverConfig } from '../../Basics';import { AppContext } from '../../Common';diff --git a/packages/base-component/vite.config.ts b/packages/base-component/vite.config.tsindex cd1332619a..60f1600cd1 100644--- a/packages/base-component/vite.config.ts+++ b/packages/base-component/vite.config.ts@@ -40,8 +40,8 @@ export default defineConfig({preact(),createExternal({externals: {- '@univer/core': '@univer/core',- '@univer/base-render': '@univer/base-render',+ '@univerjs/core': '@univerjs/core',+ '@univerjs/base-render': '@univerjs/base-render','css-vars-ponyfill': 'css-vars-ponyfill','react-colorful': 'react-colorful',preact: 'preact'diff --git a/packages/base-docs/README-zh.md b/packages/base-docs/README-zh.mdindex 7eb6149841..7c8ba37c04 100644--- a/packages/base-docs/README-zh.md+++ b/packages/base-docs/README-zh.md@@ -9,13 +9,13 @@ UniverSheet Docs 插件### 安装```bash-npm i @univer/base-docs+npm i @univerjs/base-docs```### 使用```js-impport {Docs} from '@univer/base-docs'+impport {Docs} from '@univerjs/base-docs'const univerSheet = new UniverSheet();univerSheet.installPlugin(new Docs());@@ -41,7 +41,7 @@ pnpm installnpm run dev# 或者项目根目录 ./-pnpm run --filter @univer/base-docs dev+pnpm run --filter @univerjs/base-docs dev```### 打包@@ -51,5 +51,5 @@ pnpm run --filter @univer/base-docs devnpm run build# 或者根目录 ./-pnpm run --filter @univer/base-docs build+pnpm run --filter @univerjs/base-docs build```diff --git a/packages/base-docs/README.md b/packages/base-docs/README.mdindex da446a3e6c..71ba100d01 100644--- a/packages/base-docs/README.md+++ b/packages/base-docs/README.md@@ -9,13 +9,13 @@ UniverSheet Plugin Docs### Installation```bash-npm i @univer/base-docs+npm i @univerjs/base-docs```### Usage```js-impport {Docs} from '@univer/base-docs'+impport {Docs} from '@univerjs/base-docs'const univerSheet = new UniverSheet();univerSheet.installPlugin(new Docs());@@ -41,7 +41,7 @@ pnpm installnpm run dev# Or project root directory ./-pnpm run --filter @univer/base-docs dev+pnpm run --filter @univerjs/base-docs dev```### Package@@ -51,5 +51,5 @@ pnpm run --filter @univer/base-docs devnpm run build# Or root directory ./-pnpm run --filter @univer/base-docs build+pnpm run --filter @univerjs/base-docs build```diff --git a/packages/base-docs/package.json b/packages/base-docs/package.jsonindex 5ae5b3e472..ac79799e27 100644--- a/packages/base-docs/package.json+++ b/packages/base-docs/package.json@@ -1,5 +1,5 @@{- "name": "@univer/base-docs",+ "name": "@univerjs/base-docs","version": "0.0.1","description": "UniverSheet normal base-docs","keywords": [],@@ -49,12 +49,12 @@"vite": "^2.4.4"},"dependencies": {- "@univer/base-component": "workspace:^0.0.1",- "@univer/base-render": "workspace:^0.0.1",- "@univer/base-sheets": "workspace:^0.0.1",- "@univer/core": "workspace:^0.0.1",- "@univer/common-plugin-data": "workspace:^0.0.1",- "@univer/style-univer": "workspace:^0.0.1",+ "@univerjs/base-component": "workspace:^0.0.1",+ "@univerjs/base-render": "workspace:^0.0.1",+ "@univerjs/base-sheets": "workspace:^0.0.1",+ "@univerjs/core": "workspace:^0.0.1",+ "@univerjs/common-plugin-data": "workspace:^0.0.1",+ "@univerjs/style-univer": "workspace:^0.0.1","css-vars-ponyfill": "^2.4.6","preact": "^10.5.14"}diff --git a/packages/base-docs/src/Basic/DemoData.ts b/packages/base-docs/src/Basic/DemoData.tsindex ffc28b1e1e..8f17eab6c5 100644--- a/packages/base-docs/src/Basic/DemoData.ts+++ b/packages/base-docs/src/Basic/DemoData.ts@@ -12,7 +12,7 @@ import {PositionedObjectLayoutType,SectionType,WrapTextType,-} from '@univer/core';+} from '@univerjs/core';export const DOCS_DEMO_DATA: IDocumentData = {id: 'd',diff --git a/packages/base-docs/src/Basic/Observer.ts b/packages/base-docs/src/Basic/Observer.tsindex 2be85eb378..09e1b064dc 100644--- a/packages/base-docs/src/Basic/Observer.ts+++ b/packages/base-docs/src/Basic/Observer.ts@@ -1,5 +1,5 @@-import { IKeyboardEvent } from '@univer/base-render';-import { Observable, Plugin } from '@univer/core';+import { IKeyboardEvent } from '@univerjs/base-render';+import { Observable, Plugin } from '@univerjs/core';import { DocContainer } from '../View/UI/DocContainer';import { ToolBar } from '../View/UI/ToolBar/ToolBar';diff --git a/packages/base-docs/src/Controller/DocumentController.ts b/packages/base-docs/src/Controller/DocumentController.tsindex 63123d3ffa..df2478a414 100644--- a/packages/base-docs/src/Controller/DocumentController.ts+++ b/packages/base-docs/src/Controller/DocumentController.ts@@ -1,4 +1,4 @@-import { BooleanNumber, CommandManager } from '@univer/core';+import { BooleanNumber, CommandManager } from '@univerjs/core';import { DocPlugin, IDocPluginConfig } from '../DocPlugin';import { InputController } from './InputController';diff --git a/packages/base-docs/src/Controller/InfoBarController.ts b/packages/base-docs/src/Controller/InfoBarController.tsindex 257ac9f91c..12ee661414 100644--- a/packages/base-docs/src/Controller/InfoBarController.ts+++ b/packages/base-docs/src/Controller/InfoBarController.ts@@ -1,4 +1,4 @@-import { PLUGIN_NAMES } from '@univer/core';+import { PLUGIN_NAMES } from '@univerjs/core';import { InfoBarModel } from '../Model/InfoBarModel';import { DocPlugin } from '../DocPlugin';import { InfoBar } from '../View/UI/InfoBar';diff --git a/packages/base-docs/src/Controller/InputController.ts b/packages/base-docs/src/Controller/InputController.tsindex 0a27675461..8875c0356d 100644--- a/packages/base-docs/src/Controller/InputController.ts+++ b/packages/base-docs/src/Controller/InputController.ts@@ -1,6 +1,6 @@-import { Documents, IDocumentSkeletonSpan, SpanType } from '@univer/base-render';-import { TextSelection } from '@univer/base-render/src/Component/Docs/Common/TextSelection';-import { KeyboardKeyType, Logger, Nullable } from '@univer/core';+import { Documents, IDocumentSkeletonSpan, SpanType } from '@univerjs/base-render';+import { TextSelection } from '@univerjs/base-render/src/Component/Docs/Common/TextSelection';+import { KeyboardKeyType, Logger, Nullable } from '@univerjs/core';import { DocPlugin } from '../DocPlugin';export class InputController {diff --git a/packages/base-docs/src/Controller/ToolBarController.ts b/packages/base-docs/src/Controller/ToolBarController.tsindex 0709c99609..1346528ac5 100644--- a/packages/base-docs/src/Controller/ToolBarController.ts+++ b/packages/base-docs/src/Controller/ToolBarController.ts@@ -1,6 +1,6 @@-import { BaseComponentRender, BaseComponentSheet } from '@univer/base-component';-import { Tools, BorderType, BorderStyleTypes, HorizontalAlign, VerticalAlign, WrapStrategy, DEFAULT_STYLES } from '@univer/core';-import { ColorPicker } from '@univer/style-univer';+import { BaseComponentRender, BaseComponentSheet } from '@univerjs/base-component';+import { Tools, BorderType, BorderStyleTypes, HorizontalAlign, VerticalAlign, WrapStrategy, DEFAULT_STYLES } from '@univerjs/core';+import { ColorPicker } from '@univerjs/style-univer';import { DocPlugin } from '../DocPlugin';import { defaultLayout, ILayout } from '../View/UI/DocContainer';diff --git a/packages/base-docs/src/DocPlugin.tsx b/packages/base-docs/src/DocPlugin.tsxindex e25d7a48f7..aa2969eaf5 100644--- a/packages/base-docs/src/DocPlugin.tsx+++ b/packages/base-docs/src/DocPlugin.tsx@@ -1,13 +1,13 @@-import { DocContext, Plugin, PLUGIN_NAMES, UniverSheet, Tools, AsyncFunction } from '@univer/core';+import { DocContext, Plugin, PLUGIN_NAMES, UniverSheet, Tools, AsyncFunction } from '@univerjs/core';import { zh, en } from './Locale';-import { IOCContainer } from '@univer/core';-import { Component, getRefElement, isElement, ISlotProps, RefObject, render } from '@univer/base-component';+import { IOCContainer } from '@univerjs/core';+import { Component, getRefElement, isElement, ISlotProps, RefObject, render } from '@univerjs/base-component';import { DocPluginObserve, install } from './Basic/Observer';import { ToolBarController } from './Controller/ToolBarController';import { DocumentController } from './Controller/DocumentController';import { BaseDocContainerConfig, defaultLayout, DocContainer, IDocPluginConfigBase, ILayout } from './View/UI/DocContainer';import { InfoBarController } from './Controller/InfoBarController';-import { Engine, RenderEngine } from '@univer/base-render';+import { Engine, RenderEngine } from '@univerjs/base-render';import { CanvasView } from './View/Render/CanvasView';import { CANVAS_VIEW_KEY } from './View/Render';import { DocsView } from './View/Render/Views';diff --git a/packages/base-docs/src/Types/index.d.ts b/packages/base-docs/src/Types/index.d.tsindex 2a457e9e7f..bab5e9d094 100644--- a/packages/base-docs/src/Types/index.d.ts+++ b/packages/base-docs/src/Types/index.d.ts@@ -1,7 +1,7 @@/// <reference types="vite/client" />export * from '../index';-declare module '@univer/base-docs' { }+declare module '@univerjs/base-docs' {}// use css moduledeclare module '*.less' {diff --git a/packages/base-docs/src/View/Render/BaseView.ts b/packages/base-docs/src/View/Render/BaseView.tsindex de3fd2eb34..2b4323bacc 100644--- a/packages/base-docs/src/View/Render/BaseView.ts+++ b/packages/base-docs/src/View/Render/BaseView.ts@@ -1,5 +1,5 @@-import { Scene } from '@univer/base-render';-import { Registry, Worksheet } from '@univer/core';+import { Scene } from '@univerjs/base-render';+import { Registry, Worksheet } from '@univerjs/core';import { DocPlugin } from '../../DocPlugin';export class BaseView {diff --git a/packages/base-docs/src/View/Render/CanvasView.ts b/packages/base-docs/src/View/Render/CanvasView.tsindex 51a555b018..7798acf13f 100644--- a/packages/base-docs/src/View/Render/CanvasView.ts+++ b/packages/base-docs/src/View/Render/CanvasView.ts@@ -1,5 +1,5 @@-import { Engine, EVENT_TYPE, IWheelEvent, Layer, Scene, ScrollBar, Viewport } from '@univer/base-render';-import { EventState, sortRules } from '@univer/core';+import { Engine, EVENT_TYPE, IWheelEvent, Layer, Scene, ScrollBar, Viewport } from '@univerjs/base-render';+import { EventState, sortRules } from '@univerjs/core';import { BaseView, CanvasViewRegistry, CANVAS_VIEW_KEY } from './BaseView';import './Views';import { DocPlugin } from '../../DocPlugin';diff --git a/packages/base-docs/src/View/Render/Views/DocsView.ts b/packages/base-docs/src/View/Render/Views/DocsView.tsindex e094e2f892..eae865a7df 100644--- a/packages/base-docs/src/View/Render/Views/DocsView.ts+++ b/packages/base-docs/src/View/Render/Views/DocsView.ts@@ -1,5 +1,5 @@-import { getColor, Rect, Documents, DocumentSkeleton } from '@univer/base-render';-import { IDocumentData } from '@univer/core';+import { getColor, Rect, Documents, DocumentSkeleton } from '@univerjs/base-render';+import { IDocumentData } from '@univerjs/core';import { BaseView, CanvasViewRegistry } from '../BaseView';import { CANVAS_VIEW_KEY } from '../BaseView';diff --git a/packages/base-docs/src/View/Render/Views/DrawingsView.ts b/packages/base-docs/src/View/Render/Views/DrawingsView.tsindex 43fe211a7a..87f138d76b 100644--- a/packages/base-docs/src/View/Render/Views/DrawingsView.ts+++ b/packages/base-docs/src/View/Render/Views/DrawingsView.ts@@ -1,4 +1,4 @@-import { getColor, Rect, Documents, DocumentSkeleton, CustomObject, IPageRenderConfig, Transform, ptToPx, BaseObject, Picture, Liquid } from '@univer/base-render';+import { getColor, Rect, Documents, DocumentSkeleton, CustomObject, IPageRenderConfig, Transform, ptToPx, BaseObject, Picture, Liquid } from '@univerjs/base-render';import { BaseView, CanvasViewRegistry } from '../BaseView';import { DOCS_VIEW_KEY } from './DocsView';diff --git a/packages/base-docs/src/View/Render/Views/PageView.ts b/packages/base-docs/src/View/Render/Views/PageView.tsindex cd4c1ad677..012994db5b 100644--- a/packages/base-docs/src/View/Render/Views/PageView.ts+++ b/packages/base-docs/src/View/Render/Views/PageView.ts@@ -1,4 +1,4 @@-import { getColor, Rect, Documents, DocumentSkeleton, CustomObject, IPageRenderConfig, Transform, ptToPx } from '@univer/base-render';+import { getColor, Rect, Documents, DocumentSkeleton, CustomObject, IPageRenderConfig, Transform, ptToPx } from '@univerjs/base-render';import { BaseView, CanvasViewRegistry } from '../BaseView';import { DOCS_VIEW_KEY } from './DocsView';diff --git a/packages/base-docs/src/View/Render/Views/TestView.ts b/packages/base-docs/src/View/Render/Views/TestView.tsindex 73ac42531e..5fb66e5c12 100644--- a/packages/base-docs/src/View/Render/Views/TestView.ts+++ b/packages/base-docs/src/View/Render/Views/TestView.ts@@ -1,4 +1,4 @@-import { getColor, RegularPolygon, Documents, DocumentSkeleton, CustomObject, IPageRenderConfig, Transform, ptToPx, COLORS, Rect } from '@univer/base-render';+import { getColor, RegularPolygon, Documents, DocumentSkeleton, CustomObject, IPageRenderConfig, Transform, ptToPx, COLORS, Rect } from '@univerjs/base-render';import { BaseView, CanvasViewRegistry } from '../BaseView';const PAGE_VIEW_BACKGROUND = 'page_view_background';diff --git a/packages/base-docs/src/View/UI/Common/Item/Item.tsx b/packages/base-docs/src/View/UI/Common/Item/Item.tsxindex 452f01885e..2c5e0b1e26 100644--- a/packages/base-docs/src/View/UI/Common/Item/Item.tsx+++ b/packages/base-docs/src/View/UI/Common/Item/Item.tsx@@ -1,4 +1,4 @@-import { BaseComponentRender, BaseComponentSheet, BaseMenuItem, Component, ComponentChildren, joinClassNames } from '@univer/base-component';+import { BaseComponentRender, BaseComponentSheet, BaseMenuItem, Component, ComponentChildren, joinClassNames } from '@univerjs/base-component';import styles from './index.module.less';export interface BaseItemProps extends BaseMenuItem {diff --git a/packages/base-docs/src/View/UI/Common/Line/LineBold.tsx b/packages/base-docs/src/View/UI/Common/Line/LineBold.tsxindex 06228abcd3..a4f1ec8cfa 100644--- a/packages/base-docs/src/View/UI/Common/Line/LineBold.tsx+++ b/packages/base-docs/src/View/UI/Common/Line/LineBold.tsx@@ -1,5 +1,5 @@-import { Component } from '@univer/base-component';-import { Nullable, Observer, Workbook } from '@univer/core';+import { Component } from '@univerjs/base-component';+import { Nullable, Observer, Workbook } from '@univerjs/core';interface IState {locale: string;diff --git a/packages/base-docs/src/View/UI/Common/Line/LineColor.tsx b/packages/base-docs/src/View/UI/Common/Line/LineColor.tsxindex 1099c2e8bd..44b3f0fafd 100644--- a/packages/base-docs/src/View/UI/Common/Line/LineColor.tsx+++ b/packages/base-docs/src/View/UI/Common/Line/LineColor.tsx@@ -1,5 +1,5 @@-import { BaseComponentRender, BaseComponentSheet, Component } from '@univer/base-component';-import { Nullable, Observer, Workbook } from '@univer/core';+import { BaseComponentRender, BaseComponentSheet, Component } from '@univerjs/base-component';+import { Nullable, Observer, Workbook } from '@univerjs/core';interface IState {locale: string;diff --git a/packages/base-docs/src/View/UI/Common/Select/Select.tsx b/packages/base-docs/src/View/UI/Common/Select/Select.tsxindex bb6c020405..50d3b056f7 100644--- a/packages/base-docs/src/View/UI/Common/Select/Select.tsx+++ b/packages/base-docs/src/View/UI/Common/Select/Select.tsx@@ -1,5 +1,5 @@-import { BaseComponentRender, BaseComponentSheet, BaseMenuItem, BaseMenuProps, Component, ComponentChildren } from '@univer/base-component';-import { ColorPicker, Dropdown } from '@univer/style-univer';+import { BaseComponentRender, BaseComponentSheet, BaseMenuItem, BaseMenuProps, Component, ComponentChildren } from '@univerjs/base-component';+import { ColorPicker, Dropdown } from '@univerjs/style-univer';import { BaseItemProps, Item } from '../Item/Item';import styles from './index.module.less';diff --git a/packages/base-docs/src/View/UI/Common/TextButton/TextButton.tsx b/packages/base-docs/src/View/UI/Common/TextButton/TextButton.tsxindex 9c2d9bf6ea..36b4bda846 100644--- a/packages/base-docs/src/View/UI/Common/TextButton/TextButton.tsx+++ b/packages/base-docs/src/View/UI/Common/TextButton/TextButton.tsx@@ -1,4 +1,4 @@-import { BaseComponentRender, BaseComponentSheet, Component, ComponentChildren } from '@univer/base-component';+import { BaseComponentRender, BaseComponentSheet, Component, ComponentChildren } from '@univerjs/base-component';import styles from './index.module.less';export interface BaseTextButtonProps {diff --git a/packages/base-docs/src/View/UI/DocContainer/DocContainer.tsx b/packages/base-docs/src/View/UI/DocContainer/DocContainer.tsxindex f58094705e..cf31bcbfb0 100644--- a/packages/base-docs/src/View/UI/DocContainer/DocContainer.tsx+++ b/packages/base-docs/src/View/UI/DocContainer/DocContainer.tsx@@ -13,14 +13,14 @@ import {cloneElement,BaseComponentProps,Description,-} from '@univer/base-component';-import { AsyncFunction, ContextBase, DocContext, IKeyType, LocaleType, PLUGIN_NAMES, Tools, Workbook } from '@univer/core';+} from '@univerjs/base-component';+import { AsyncFunction, ContextBase, DocContext, IKeyType, LocaleType, PLUGIN_NAMES, Tools, Workbook } from '@univerjs/core';import cssVars from 'css-vars-ponyfill';-import { Container, Content, Footer, Header, Layout, Sider } from '@univer/style-univer';-import defaultSkin from '@univer/style-univer/assets/css/skin/default.module.less';-import darkSkin from '@univer/style-univer/assets/css/skin/dark.module.less';+import { Container, Content, Footer, Header, Layout, Sider } from '@univerjs/style-univer';+import defaultSkin from '@univerjs/style-univer/assets/css/skin/default.module.less';+import darkSkin from '@univerjs/style-univer/assets/css/skin/dark.module.less';// All skins' less file-import greenSkin from '@univer/style-univer/assets/css/skin/green.module.less';+import greenSkin from '@univerjs/style-univer/assets/css/skin/green.module.less';// app context for skin and Localeimport style from './index.module.less';import { ToolBar } from '../ToolBar';diff --git a/packages/base-docs/src/View/UI/InfoBar/InfoBar.tsx b/packages/base-docs/src/View/UI/InfoBar/InfoBar.tsxindex b7d299181e..460213694c 100644--- a/packages/base-docs/src/View/UI/InfoBar/InfoBar.tsx+++ b/packages/base-docs/src/View/UI/InfoBar/InfoBar.tsx@@ -1,5 +1,5 @@-import { BaseComponentRender, BaseComponentSheet, Component } from '@univer/base-component';-import { Nullable, PLUGIN_NAMES } from '@univer/core';+import { BaseComponentRender, BaseComponentSheet, Component } from '@univerjs/base-component';+import { Nullable, PLUGIN_NAMES } from '@univerjs/core';import { BaseInfoBarProps } from '../../../Controller/InfoBarController';import './index.less';diff --git a/packages/base-docs/src/View/UI/ToolBar/SingleButton.tsx b/packages/base-docs/src/View/UI/ToolBar/SingleButton.tsxindex 1b19e72bbb..a55584be11 100644--- a/packages/base-docs/src/View/UI/ToolBar/SingleButton.tsx+++ b/packages/base-docs/src/View/UI/ToolBar/SingleButton.tsx@@ -1,5 +1,5 @@-import { BaseSingleButtonProps, Component, JSXComponent, SingleButtonComponent } from '@univer/base-component';-import { Button, Tooltip } from '@univer/style-univer';+import { BaseSingleButtonProps, Component, JSXComponent, SingleButtonComponent } from '@univerjs/base-component';+import { Button, Tooltip } from '@univerjs/style-univer';import styles from './index.module.less';diff --git a/packages/base-docs/src/View/UI/ToolBar/ToolBar-zh.md b/packages/base-docs/src/View/UI/ToolBar/ToolBar-zh.mdindex 517ea3b0a6..b298cd0f56 100644--- a/packages/base-docs/src/View/UI/ToolBar/ToolBar-zh.md+++ b/packages/base-docs/src/View/UI/ToolBar/ToolBar-zh.md@@ -75,7 +75,7 @@ cover: ''## 案例```jsx-import { ToolBar } from '@univer/style-univer';+import { ToolBar } from '@univerjs/style-univer';const SheetContainer = () => {return (diff --git a/packages/base-docs/src/View/UI/ToolBar/ToolBar.tsx b/packages/base-docs/src/View/UI/ToolBar/ToolBar.tsxindex 439eb30844..18be5f4311 100644--- a/packages/base-docs/src/View/UI/ToolBar/ToolBar.tsx+++ b/packages/base-docs/src/View/UI/ToolBar/ToolBar.tsx@@ -1,6 +1,6 @@-import { BaseComponentProps, BaseComponentRender, BaseComponentSheet, Component, createRef } from '@univer/base-component';+import { BaseComponentProps, BaseComponentRender, BaseComponentSheet, Component, createRef } from '@univerjs/base-component';-import { PLUGIN_NAMES } from '@univer/core';+import { PLUGIN_NAMES } from '@univerjs/core';import { DocPlugin } from '../../../DocPlugin';import { IToolBarItemProps } from '../../../Model/ToolBarModel';import { Select } from '../Common/Select/Select';diff --git a/packages/base-docs/src/main.tsx b/packages/base-docs/src/main.tsxindex 1a926f23e0..b29e01632f 100644--- a/packages/base-docs/src/main.tsx+++ b/packages/base-docs/src/main.tsx@@ -1,8 +1,8 @@-import { UniverDoc } from '@univer/core';-import { RenderEngine } from '@univer/base-render';-import { UniverComponentSheet } from '@univer/style-univer';+import { UniverDoc } from '@univerjs/core';+import { RenderEngine } from '@univerjs/base-render';+import { UniverComponentSheet } from '@univerjs/style-univer';import { DocPlugin } from './DocPlugin';-import { DEFAULT_DOCUMENT_DATA_EN } from '@univer/common-plugin-data';+import { DEFAULT_DOCUMENT_DATA_EN } from '@univerjs/common-plugin-data';const univerDocUp = UniverDoc.newInstance(DEFAULT_DOCUMENT_DATA_EN);diff --git a/packages/base-formula-engine/README-zh.md b/packages/base-formula-engine/README-zh.mdindex 2a69df71a7..d1380785c4 100644--- a/packages/base-formula-engine/README-zh.md+++ b/packages/base-formula-engine/README-zh.md@@ -9,13 +9,13 @@ UniverSheet FormulaEngine 插件### 安装```bash-npm i @univer/base-formula-engine+npm i @univerjs/base-formula-engine```### 使用```js-impport {FormulaEngine} from '@univer/base-formula-engine'+impport {FormulaEngine} from '@univerjs/base-formula-engine'const univerSheet = new UniverSheet();univerSheet.installPlugin(new FormulaEngine());@@ -41,7 +41,7 @@ pnpm installnpm run dev# 或者项目根目录 ./-pnpm run --filter @univer/base-formula-engine dev+pnpm run --filter @univerjs/base-formula-engine dev```### 打包@@ -51,5 +51,5 @@ pnpm run --filter @univer/base-formula-engine devnpm run build# 或者根目录 ./-pnpm run --filter @univer/base-formula-engine build+pnpm run --filter @univerjs/base-formula-engine build```diff --git a/packages/base-formula-engine/README.md b/packages/base-formula-engine/README.mdindex 6022a100df..8816cabaae 100644--- a/packages/base-formula-engine/README.md+++ b/packages/base-formula-engine/README.md@@ -9,13 +9,13 @@ UniverSheet Plugin FormulaEngine### Installation```bash-npm i @univer/base-formula-engine+npm i @univerjs/base-formula-engine```### Usage```js-impport {FormulaEngine} from '@univer/base-formula-engine'+impport {FormulaEngine} from '@univerjs/base-formula-engine'const univerSheet = new UniverSheet();univerSheet.installPlugin(new FormulaEngine());@@ -41,7 +41,7 @@ pnpm installnpm run dev# Or project root directory ./-pnpm run --filter @univer/base-formula-engine dev+pnpm run --filter @univerjs/base-formula-engine dev```### Package@@ -51,5 +51,5 @@ pnpm run --filter @univer/base-formula-engine devnpm run build# Or root directory ./-pnpm run --filter @univer/base-formula-engine build+pnpm run --filter @univerjs/base-formula-engine build```diff --git a/packages/base-formula-engine/package.json b/packages/base-formula-engine/package.jsonindex e09cd6e50d..659fed8d27 100644--- a/packages/base-formula-engine/package.json+++ b/packages/base-formula-engine/package.json@@ -1,5 +1,5 @@{- "name": "@univer/base-formula-engine",+ "name": "@univerjs/base-formula-engine","version": "0.0.1","description": "UniverSheet normal base-formula-engine","keywords": [],@@ -50,8 +50,8 @@"vite": "^2.4.4"},"dependencies": {- "@univer/core": "workspace:^0.0.1",- "@univer/style-univer": "workspace:^0.0.1",+ "@univerjs/core": "workspace:^0.0.1",+ "@univerjs/style-univer": "workspace:^0.0.1","nanoid": "4.0.0","preact": "^10.5.14"}diff --git a/packages/base-formula-engine/src/Analysis/Lexer.ts b/packages/base-formula-engine/src/Analysis/Lexer.tsindex 8fef079d94..4f52a8d264 100644--- a/packages/base-formula-engine/src/Analysis/Lexer.ts+++ b/packages/base-formula-engine/src/Analysis/Lexer.ts@@ -2,7 +2,7 @@ import { ErrorType } from '../Basics/ErrorType';import { DEFAULT_TOKEN_TYPE_LAMBDA_PARAMETER, DEFAULT_TOKEN_TYPE_PARAMETER, DEFAULT_TOKEN_TYPE_ROOT } from '../Basics/TokenType';import { LexerNode } from './LexerNode';import { operatorToken, matchToken, OPERATOR_TOKEN_SET, OPERATOR_TOKEN_PRIORITY, suffixToken, SUFFIX_TOKEN_SET, prefixToken } from '../Basics/Token';-import { Nullable } from '@univer/core';+import { Nullable } from '@univerjs/core';enum bracketType {NORMAL,diff --git a/packages/base-formula-engine/src/Analysis/LexerNode.ts b/packages/base-formula-engine/src/Analysis/LexerNode.tsindex 88b7d42911..dfe22d5de0 100644--- a/packages/base-formula-engine/src/Analysis/LexerNode.ts+++ b/packages/base-formula-engine/src/Analysis/LexerNode.ts@@ -1,4 +1,4 @@-import { Nullable } from '@univer/core';+import { Nullable } from '@univerjs/core';import { LambdaPrivacyVarType } from '../Basics/Common';interface LexerNodeJson {diff --git a/packages/base-formula-engine/src/AstNode/FunctionNode.ts b/packages/base-formula-engine/src/AstNode/FunctionNode.tsindex 7909e37563..444f7cb279 100644--- a/packages/base-formula-engine/src/AstNode/FunctionNode.ts+++ b/packages/base-formula-engine/src/AstNode/FunctionNode.ts@@ -1,4 +1,4 @@-import { Nullable } from '@univer/core';+import { Nullable } from '@univerjs/core';import { LexerNode } from '../Analysis/LexerNode';import { AstNodePromiseType, FunctionVariantType } from '../Basics/Common';import { ErrorType } from '../Basics/ErrorType';diff --git a/packages/base-formula-engine/src/AstNode/LambdaNode.ts b/packages/base-formula-engine/src/AstNode/LambdaNode.tsindex e0fd207051..339097b690 100644--- a/packages/base-formula-engine/src/AstNode/LambdaNode.ts+++ b/packages/base-formula-engine/src/AstNode/LambdaNode.ts@@ -1,4 +1,4 @@-import { Nullable } from '@univer/core';+import { Nullable } from '@univerjs/core';import { LexerNode } from '../Analysis/LexerNode';import { ErrorType } from '../Basics/ErrorType';import { ParserDataLoader } from '../Basics/ParserDataLoader';diff --git a/packages/base-formula-engine/src/AstNode/ReferenceNode.ts b/packages/base-formula-engine/src/AstNode/ReferenceNode.tsindex b3716da2c6..28b8105845 100644--- a/packages/base-formula-engine/src/AstNode/ReferenceNode.ts+++ b/packages/base-formula-engine/src/AstNode/ReferenceNode.ts@@ -1,4 +1,4 @@-import { ABCToNumber } from '@univer/core';+import { ABCToNumber } from '@univerjs/core';import { FORMULA_AST_NODE_REGISTRY } from '../Basics/Registry';import { BaseAstNodeFactory, BaseAstNode } from './BaseAstNode';import { NodeType, NODE_ORDER_MAP } from './NodeType';diff --git a/packages/base-formula-engine/src/Basics/CacheLRU.ts b/packages/base-formula-engine/src/Basics/CacheLRU.tsindex d31ea4f75f..9370758dae 100644--- a/packages/base-formula-engine/src/Basics/CacheLRU.ts+++ b/packages/base-formula-engine/src/Basics/CacheLRU.ts@@ -1,4 +1,4 @@-import { hashAlgorithm, LRUMap } from '@univer/core';+import { hashAlgorithm, LRUMap } from '@univerjs/core';import { AstRootNode } from '../AstNode/AstRootNode';// export const CACHE_FORMULA_AST = new LRUMap<string, AstRootNode>(100000);diff --git a/packages/base-formula-engine/src/Basics/Common.ts b/packages/base-formula-engine/src/Basics/Common.tsindex f42493801c..9e43324cd9 100644--- a/packages/base-formula-engine/src/Basics/Common.ts+++ b/packages/base-formula-engine/src/Basics/Common.ts@@ -2,7 +2,7 @@ import { BaseReferenceObject } from '../ReferenceObject/BaseReferenceObject';import { BaseValueObject } from '../ValueObject/BaseValueObject';import { ErrorValueObject } from '../OtherObject/ErrorValueObject';import { AsyncObject } from '../OtherObject/AsyncObject';-import { BooleanNumber, ICellData, IRangeData, Nullable, ObjectMatrix, ObjectMatrixPrimitiveType } from '@univer/core';+import { BooleanNumber, ICellData, IRangeData, Nullable, ObjectMatrix, ObjectMatrixPrimitiveType } from '@univerjs/core';import { BaseAstNode } from '../AstNode/BaseAstNode';import { ReferenceNode } from '../AstNode/ReferenceNode';import { UnionNode } from '../AstNode/UnionNode';diff --git a/packages/base-formula-engine/src/Basics/LambdaRuntime.ts b/packages/base-formula-engine/src/Basics/LambdaRuntime.tsindex ad03134bb5..427d3c1a57 100644--- a/packages/base-formula-engine/src/Basics/LambdaRuntime.ts+++ b/packages/base-formula-engine/src/Basics/LambdaRuntime.ts@@ -1,4 +1,4 @@-import { Nullable } from '@univer/core';+import { Nullable } from '@univerjs/core';import { BaseAstNode } from '../AstNode/BaseAstNode';export class LambdaRuntime {diff --git a/packages/base-formula-engine/src/Basics/Observer.ts b/packages/base-formula-engine/src/Basics/Observer.tsindex d5cd2d1b1c..a7c0de10d3 100644--- a/packages/base-formula-engine/src/Basics/Observer.ts+++ b/packages/base-formula-engine/src/Basics/Observer.ts@@ -1,4 +1,4 @@-import { BooleanNumber, IKeyValue, Observable, Plugin } from '@univer/core';+import { BooleanNumber, IKeyValue, Observable, Plugin } from '@univerjs/core';import { LexerNode } from '../Analysis/LexerNode';interface ISelectionControlFillConfig {}diff --git a/packages/base-formula-engine/src/Basics/ParserDataLoader.ts b/packages/base-formula-engine/src/Basics/ParserDataLoader.tsindex 65ba1e5af7..92b24eed16 100644--- a/packages/base-formula-engine/src/Basics/ParserDataLoader.ts+++ b/packages/base-formula-engine/src/Basics/ParserDataLoader.ts@@ -1,4 +1,4 @@-import { sortRules } from '@univer/core';+import { sortRules } from '@univerjs/core';import { BaseAstNodeFactory } from '../AstNode/BaseAstNode';import { FORMULA_AST_NODE_REGISTRY, FORMULA_FUNCTION_REGISTRY } from '../Basics/Registry';import { BaseFunction } from '../Functions/BaseFunction';diff --git a/packages/base-formula-engine/src/Basics/Registry.ts b/packages/base-formula-engine/src/Basics/Registry.tsindex eddcc7d0cf..a5ec7005ee 100644--- a/packages/base-formula-engine/src/Basics/Registry.ts+++ b/packages/base-formula-engine/src/Basics/Registry.ts@@ -1,4 +1,4 @@-import { Registry, RegistryAsMap } from '@univer/core';+import { Registry, RegistryAsMap } from '@univerjs/core';export const FORMULA_AST_NODE_REGISTRY = Registry.create();diff --git a/packages/base-formula-engine/src/Dependency/DependencyTree.ts b/packages/base-formula-engine/src/Dependency/DependencyTree.tsindex 9169687a73..7db67a82f2 100644--- a/packages/base-formula-engine/src/Dependency/DependencyTree.ts+++ b/packages/base-formula-engine/src/Dependency/DependencyTree.ts@@ -1,4 +1,4 @@-import { IRangeData, IUnitRange } from '@univer/core';+import { IRangeData, IUnitRange } from '@univerjs/core';import { BaseAstNode } from '../AstNode/BaseAstNode';import { IFormulaData } from '../Basics/Common';diff --git a/packages/base-formula-engine/src/Dependency/FormulaDependency.ts b/packages/base-formula-engine/src/Dependency/FormulaDependency.tsindex 68dcc92259..b9e275c10c 100644--- a/packages/base-formula-engine/src/Dependency/FormulaDependency.ts+++ b/packages/base-formula-engine/src/Dependency/FormulaDependency.ts@@ -1,4 +1,4 @@-import { IGridRange, IRangeData, IUnitRange, ObjectMatrix } from '@univer/core';+import { IGridRange, IRangeData, IUnitRange, ObjectMatrix } from '@univerjs/core';import { generateAstNode } from '../Analysis/Tools';import { FunctionNode, PrefixNode, ReferenceNode, SuffixNode, UnionNode } from '../AstNode';import { BaseAstNode } from '../AstNode/BaseAstNode';diff --git a/packages/base-formula-engine/src/FormulaEnginePlugin.tsx b/packages/base-formula-engine/src/FormulaEnginePlugin.tsxindex bc8a0b202c..5bb45786f6 100644--- a/packages/base-formula-engine/src/FormulaEnginePlugin.tsx+++ b/packages/base-formula-engine/src/FormulaEnginePlugin.tsx@@ -1,6 +1,6 @@-import { SheetContext, IGridRange, IUnitRange, Plugin, PLUGIN_NAMES } from '@univer/core';+import { SheetContext, IGridRange, IUnitRange, Plugin, PLUGIN_NAMES } from '@univerjs/core';-import { IOCContainer } from '@univer/core';+import { IOCContainer } from '@univerjs/core';import { LexerTreeMaker } from './Analysis/Lexer';import { FormulaEnginePluginObserver } from './Basics/Observer';import { AstTreeMaker } from './Analysis/Parser';diff --git a/packages/base-formula-engine/src/Interpreter/Interpreter.ts b/packages/base-formula-engine/src/Interpreter/Interpreter.tsindex a2c62a515c..5faccf63e4 100644--- a/packages/base-formula-engine/src/Interpreter/Interpreter.ts+++ b/packages/base-formula-engine/src/Interpreter/Interpreter.ts@@ -1,4 +1,4 @@-import { CellValueType, ICellData, IRangeData, ObjectMatrix } from '@univer/core';+import { CellValueType, ICellData, IRangeData, ObjectMatrix } from '@univerjs/core';import { FunctionNode } from '../AstNode';import { BaseAstNode } from '../AstNode/BaseAstNode';import { NodeType } from '../AstNode/NodeType';diff --git a/packages/base-formula-engine/src/ReferenceObject/BaseReferenceObject.ts b/packages/base-formula-engine/src/ReferenceObject/BaseReferenceObject.tsindex 88cfa6a663..44fe5e262b 100644--- a/packages/base-formula-engine/src/ReferenceObject/BaseReferenceObject.ts+++ b/packages/base-formula-engine/src/ReferenceObject/BaseReferenceObject.ts@@ -1,4 +1,4 @@-import { CellValueType, ICellData, IRangeData, Nullable, ObjectArray, ObjectMatrix } from '@univer/core';+import { CellValueType, ICellData, IRangeData, Nullable, ObjectArray, ObjectMatrix } from '@univerjs/core';import { CalculateValueType, IArrayValueObject, NodeValueType, SheetDataType, SheetNameMapType, UnitDataType } from '../Basics/Common';import { ErrorType, ERROR_TYPE_SET } from '../Basics/ErrorType';import { ObjectClassType } from '../Basics/ObjectClassType';diff --git a/packages/base-formula-engine/src/ReferenceObject/CellReferenceObject.ts b/packages/base-formula-engine/src/ReferenceObject/CellReferenceObject.tsindex 2ef231d98e..251b4ed85f 100644--- a/packages/base-formula-engine/src/ReferenceObject/CellReferenceObject.ts+++ b/packages/base-formula-engine/src/ReferenceObject/CellReferenceObject.ts@@ -1,4 +1,4 @@-import { IRangeData, referenceToGrid } from '@univer/core';+import { IRangeData, referenceToGrid } from '@univerjs/core';import { ErrorType } from '../Basics/ErrorType';import { ErrorValueObject } from '../OtherObject/ErrorValueObject';import { BaseReferenceObject } from './BaseReferenceObject';diff --git a/packages/base-formula-engine/src/ReferenceObject/ColumnReferenceObject.ts b/packages/base-formula-engine/src/ReferenceObject/ColumnReferenceObject.tsindex ac1039c905..9b94bb83fd 100644--- a/packages/base-formula-engine/src/ReferenceObject/ColumnReferenceObject.ts+++ b/packages/base-formula-engine/src/ReferenceObject/ColumnReferenceObject.ts@@ -1,4 +1,4 @@-import { IRangeData, referenceToGrid } from '@univer/core';+import { IRangeData, referenceToGrid } from '@univerjs/core';import { ErrorType } from '../Basics/ErrorType';import { ErrorValueObject } from '../OtherObject/ErrorValueObject';import { BaseReferenceObject } from './BaseReferenceObject';diff --git a/packages/base-formula-engine/src/ReferenceObject/RangeReferenceObject.ts b/packages/base-formula-engine/src/ReferenceObject/RangeReferenceObject.tsindex 5032f753a4..e2e8b2a794 100644--- a/packages/base-formula-engine/src/ReferenceObject/RangeReferenceObject.ts+++ b/packages/base-formula-engine/src/ReferenceObject/RangeReferenceObject.ts@@ -1,4 +1,4 @@-import { IRangeData } from '@univer/core';+import { IRangeData } from '@univerjs/core';import { BaseReferenceObject } from './BaseReferenceObject';export class RangeReferenceObject extends BaseReferenceObject {diff --git a/packages/base-formula-engine/src/ReferenceObject/RowReferenceObject.ts b/packages/base-formula-engine/src/ReferenceObject/RowReferenceObject.tsindex 30400123e7..67fcbbd996 100644--- a/packages/base-formula-engine/src/ReferenceObject/RowReferenceObject.ts+++ b/packages/base-formula-engine/src/ReferenceObject/RowReferenceObject.ts@@ -1,4 +1,4 @@-import { IRangeData, referenceToGrid } from '@univer/core';+import { IRangeData, referenceToGrid } from '@univerjs/core';import { ErrorType } from '../Basics/ErrorType';import { ErrorValueObject } from '../OtherObject/ErrorValueObject';import { BaseReferenceObject } from './BaseReferenceObject';diff --git a/packages/base-formula-engine/src/ReferenceObject/TableReferenceObject.ts b/packages/base-formula-engine/src/ReferenceObject/TableReferenceObject.tsindex b8652d6a4c..890c4070a7 100644--- a/packages/base-formula-engine/src/ReferenceObject/TableReferenceObject.ts+++ b/packages/base-formula-engine/src/ReferenceObject/TableReferenceObject.ts@@ -1,4 +1,4 @@-import { IRangeData } from '@univer/core';+import { IRangeData } from '@univerjs/core';import { ISuperTable, TableOptionType } from '../Basics/Common';import { $SUPER_TABLE_COLUMN_REGEX } from '../Basics/Regex';import { matchToken } from '../Basics/Token';diff --git a/packages/base-formula-engine/src/Types/index.d.ts b/packages/base-formula-engine/src/Types/index.d.tsindex 437fc9cf48..7e50ad6146 100644--- a/packages/base-formula-engine/src/Types/index.d.ts+++ b/packages/base-formula-engine/src/Types/index.d.ts@@ -1,2 +1,2 @@export * from '../index';-declare module '@univer/base-formula-engine' {}\ No newline at end of file+declare module '@univerjs/base-formula-engine' {}diff --git a/packages/base-formula-engine/src/ValueObject/ArrayValueObject.ts b/packages/base-formula-engine/src/ValueObject/ArrayValueObject.tsindex 6752ef0103..04474d49ec 100644--- a/packages/base-formula-engine/src/ValueObject/ArrayValueObject.ts+++ b/packages/base-formula-engine/src/ValueObject/ArrayValueObject.ts@@ -1,4 +1,4 @@-import { CellValueType, Nullable, ObjectArray, ObjectMatrix } from '@univer/core';+import { CellValueType, Nullable, ObjectArray, ObjectMatrix } from '@univerjs/core';import { fromObjectToString } from '../Basics/Calculate';import { CalculateValueType, IArrayValueObject } from '../Basics/Common';import { ErrorType, ERROR_TYPE_SET } from '../Basics/ErrorType';diff --git a/packages/base-formula-engine/src/ValueObject/BaseValueObject.ts b/packages/base-formula-engine/src/ValueObject/BaseValueObject.tsindex 62184f9d1e..149bfd53ce 100644--- a/packages/base-formula-engine/src/ValueObject/BaseValueObject.ts+++ b/packages/base-formula-engine/src/ValueObject/BaseValueObject.ts@@ -1,4 +1,4 @@-import { Nullable } from '@univer/core';+import { Nullable } from '@univerjs/core';import { CalculateValueType, ConcatenateType } from '../Basics/Common';import { ErrorType } from '../Basics/ErrorType';import { ObjectClassType } from '../Basics/ObjectClassType';diff --git a/packages/base-numfmt-engine/README-zh.md b/packages/base-numfmt-engine/README-zh.mdindex ca7d0c0ced..09e7664f1b 100644--- a/packages/base-numfmt-engine/README-zh.md+++ b/packages/base-numfmt-engine/README-zh.md@@ -16,13 +16,13 @@ UniverSheet 官方 UI 组件库### 安装```bash-npm i @univer/style-univer+npm i @univerjs/style-univer```### 使用```js-impport baseUI from '@univer/style-univer'+impport baseUI from '@univerjs/style-univer'universheet.install(baseUI)universheet.create({plugins:['style-univer']@@ -49,7 +49,7 @@ npm inpm run dev# 或者项目根目录 ./-npm run dev -w @univer/style-univer+npm run dev -w @univerjs/style-univer```### 打包@@ -59,7 +59,7 @@ npm run dev -w @univer/style-univernpm run build# 或者根目录 ./-npm run build -w @univer/style-univer+npm run build -w @univerjs/style-univer```## 组件库文档@@ -80,7 +80,7 @@ npm inpm run start# 或者根目录-npm run start -w @univer/style-univer+npm run start -w @univerjs/style-univer```此命令启动本地开发服务器并打开浏览器窗口。 大多数更改都会实时刷新,而无需重新启动服务器。@@ -92,7 +92,7 @@ npm run start -w @univer/style-univernpm run build:doc# 或者根目录-npm run build:doc -w @univer/style-univer+npm run build:doc -w @univerjs/style-univer```此命令将静态内容生成到 `build` 目录中,并且可以使用任何静态内容托管服务来提供。diff --git a/packages/base-numfmt-engine/README.md b/packages/base-numfmt-engine/README.mdindex 66fb725e95..a45bd77aad 100644--- a/packages/base-numfmt-engine/README.md+++ b/packages/base-numfmt-engine/README.md@@ -16,13 +16,13 @@ UniverSheet official UI component library### Install```bash-npm i @univer/style-univer+npm i @univerjs/style-univer```### Import```js-impport baseUI from'@univer/style-univer'+impport baseUI from'@univerjs/style-univer'universheet.install(baseUI)universheet.create({plugins:['style-univer']@@ -49,7 +49,7 @@ npm inpm run dev# Or project root directory ./-npm run dev -w @univer/style-univer+npm run dev -w @univerjs/style-univer```### Package@@ -59,7 +59,7 @@ npm run dev -w @univer/style-univernpm run build# Or root directory ./-npm run build -w @univer/style-univer+npm run build -w @univerjs/style-univer```## Doc Website@@ -80,7 +80,7 @@ npm inpm run start# or root folder-npm run start -w @univer/style-univer+npm run start -w @univerjs/style-univer```This command starts a local development server and opens up a browser window. Most changes are reflected live without having to restart the server.@@ -92,7 +92,7 @@ This command starts a local development server and opens up a browser window. Monpm run build:doc# or root folder-npm run build:doc -w @univer/style-univer+npm run build:doc -w @univerjs/style-univer```This command generates static content into the `build` directory and can be served using any static contents hosting service.diff --git a/packages/base-numfmt-engine/package.json b/packages/base-numfmt-engine/package.jsonindex c8500e0a42..f096f01233 100644--- a/packages/base-numfmt-engine/package.json+++ b/packages/base-numfmt-engine/package.json@@ -1,5 +1,5 @@{- "name": "@univer/base-numfmt-engine",+ "name": "@univerjs/base-numfmt-engine","version": "0.0.1","description": "UniverSheet normal plugin UI manager","keywords": [],@@ -45,6 +45,6 @@"vite-plugin-external": "1.2.3"},"dependencies": {- "@univer/core": "workspace:^0.0.1"+ "@univerjs/core": "workspace:^0.0.1"}}diff --git a/packages/base-numfmt-engine/src/Types/index.d.ts b/packages/base-numfmt-engine/src/Types/index.d.tsindex 57df03e527..81f4fd4880 100644--- a/packages/base-numfmt-engine/src/Types/index.d.ts+++ b/packages/base-numfmt-engine/src/Types/index.d.ts@@ -1,2 +1,2 @@export * from '../index';-declare module '@univer/base-numfmt-engine' { }+declare module '@univerjs/base-numfmt-engine' { }diff --git a/packages/base-numfmt-engine/vite.config.ts b/packages/base-numfmt-engine/vite.config.tsindex a04e91deb3..e75da9b931 100644--- a/packages/base-numfmt-engine/vite.config.ts+++ b/packages/base-numfmt-engine/vite.config.ts@@ -38,8 +38,8 @@ export default defineConfig({preact(),createExternal({externals: {- '@univer/core': '@univer/core',- '@univer/style-univer': '@univer/style-univer',+ '@univerjs/core': '@univerjs/core',+ '@univerjs/style-univer': '@univerjs/style-univer',preact: 'preact',react: 'react',},diff --git a/packages/base-render/README-zh.md b/packages/base-render/README-zh.mdindex d760c4cb6e..76d95ed949 100644--- a/packages/base-render/README-zh.md+++ b/packages/base-render/README-zh.md@@ -9,13 +9,13 @@ UniverSheet Spreadsheet 插件### 安装```bash-npm i @univer/base-render+npm i @univerjs/base-render```### 使用```js-impport {Spreadsheet} from '@univer/base-render'+impport {Spreadsheet} from '@univerjs/base-render'const univerSheet = new UniverSheet();univerSheet.installPlugin(new Spreadsheet());@@ -41,7 +41,7 @@ pnpm installnpm run dev# 或者项目根目录 ./-pnpm run --filter @univer/base-render dev+pnpm run --filter @univerjs/base-render dev```### 打包@@ -51,5 +51,5 @@ pnpm run --filter @univer/base-render devnpm run build# 或者根目录 ./-pnpm run --filter @univer/base-render build+pnpm run --filter @univerjs/base-render build```diff --git a/packages/base-render/README.md b/packages/base-render/README.mdindex 5a764c5f31..9a607c9822 100644--- a/packages/base-render/README.md+++ b/packages/base-render/README.md@@ -9,13 +9,13 @@ UniverSheet Plugin Spreadsheet### Installation```bash-npm i @univer/base-render+npm i @univerjs/base-render```### Usage```js-impport {Spreadsheet} from '@univer/base-render'+impport {Spreadsheet} from '@univerjs/base-render'const univerSheet = new UniverSheet();univerSheet.installPlugin(new Spreadsheet());@@ -41,7 +41,7 @@ pnpm installnpm run dev# Or project root directory ./-pnpm run --filter @univer/base-render dev+pnpm run --filter @univerjs/base-render dev```### Package@@ -51,5 +51,5 @@ pnpm run --filter @univer/base-render devnpm run build# Or root directory ./-pnpm run --filter @univer/base-render build+pnpm run --filter @univerjs/base-render build```diff --git a/packages/base-render/package.json b/packages/base-render/package.jsonindex 3697dca319..08fed0d0da 100644--- a/packages/base-render/package.json+++ b/packages/base-render/package.json@@ -1,5 +1,5 @@{- "name": "@univer/base-render",+ "name": "@univerjs/base-render","version": "0.0.1","description": "UniverSheet normal base-render","keywords": [],@@ -46,7 +46,7 @@"vite-plugin-external": "1.2.3"},"dependencies": {- "@univer/core": "workspace:^0.0.1",+ "@univerjs/core": "workspace:^0.0.1","nanoid": "4.0.0"}}diff --git a/packages/base-render/src/BaseObject.ts b/packages/base-render/src/BaseObject.tsindex d85cf8771c..6bc238a437 100644--- a/packages/base-render/src/BaseObject.ts+++ b/packages/base-render/src/BaseObject.ts@@ -1,4 +1,4 @@-import { EventState, IKeyValue, Observable, Observer, Nullable } from '@univer/core';+import { EventState, IKeyValue, Observable, Observer, Nullable } from '@univerjs/core';import { IBoundRect, Vector2 } from './Basics/Vector2';import { Transform } from './Basics/Transform';diff --git a/packages/base-render/src/Basics/Draw.ts b/packages/base-render/src/Basics/Draw.tsindex c349fdcbaa..3b819c10b4 100644--- a/packages/base-render/src/Basics/Draw.ts+++ b/packages/base-render/src/Basics/Draw.ts@@ -1,4 +1,4 @@-import { BorderStyleTypes, IPosition } from '@univer/core';+import { BorderStyleTypes, IPosition } from '@univerjs/core';import { BORDER_TYPE, ORIENTATION_TYPE } from './Const';import { IDocumentSkeletonLine } from './IDocumentSkeletonCached';import { Vector2 } from './Vector2';diff --git a/packages/base-render/src/Basics/IDocumentSkeletonCached.ts b/packages/base-render/src/Basics/IDocumentSkeletonCached.tsindex 3aeda0f058..4064f4d635 100644--- a/packages/base-render/src/Basics/IDocumentSkeletonCached.ts+++ b/packages/base-render/src/Basics/IDocumentSkeletonCached.ts@@ -9,7 +9,7 @@ import {IIndentStart,PageOrientType,IElement,-} from '@univer/core';+} from '@univerjs/core';export interface IDocumentSkeletonCached extends ISkeletonResourceReference {pages: IDocumentSkeletonPage[];diff --git a/packages/base-render/src/Basics/IEvents.ts b/packages/base-render/src/Basics/IEvents.tsindex 6817a81dbf..872dd7e60a 100644--- a/packages/base-render/src/Basics/IEvents.ts+++ b/packages/base-render/src/Basics/IEvents.ts@@ -1,4 +1,4 @@-import { Nullable } from '@univer/core';+import { Nullable } from '@univerjs/core';/*** Alias type for number that are floatsdiff --git a/packages/base-render/src/Basics/Interfaces.ts b/packages/base-render/src/Basics/Interfaces.tsindex a0d9164dca..2e5936ca95 100644--- a/packages/base-render/src/Basics/Interfaces.ts+++ b/packages/base-render/src/Basics/Interfaces.ts@@ -11,7 +11,7 @@ import {ISize,ITextStyle,ITransformState,-} from '@univer/core';+} from '@univerjs/core';import { TextSelection } from '../Component/Docs/Common/TextSelection';import { Documents } from '../Component/Docs/Document';import {diff --git a/packages/base-render/src/Basics/Path2.ts b/packages/base-render/src/Basics/Path2.tsindex 7a986f5a91..44ca784858 100644--- a/packages/base-render/src/Basics/Path2.ts+++ b/packages/base-render/src/Basics/Path2.ts@@ -1,4 +1,4 @@-import { Nullable } from '@univer/core';+import { Nullable } from '@univerjs/core';import { Vector2 } from './Vector2';export const INITIAL_Path2: Vector2[] = [new Vector2(0, 0), new Vector2(1, 1)];diff --git a/packages/base-render/src/Basics/PerformanceMonitor.ts b/packages/base-render/src/Basics/PerformanceMonitor.tsindex 50b0a0ba34..88850fee23 100644--- a/packages/base-render/src/Basics/PerformanceMonitor.ts+++ b/packages/base-render/src/Basics/PerformanceMonitor.ts@@ -1,4 +1,4 @@-import { Nullable } from '@univer/core';+import { Nullable } from '@univerjs/core';/*** Performance monitor tracks rolling average frame-time and frame-time variance over a user defined sliding-windowdiff --git a/packages/base-render/src/Basics/Tools.ts b/packages/base-render/src/Basics/Tools.tsindex 8f309b5116..eaeaae73eb 100644--- a/packages/base-render/src/Basics/Tools.ts+++ b/packages/base-render/src/Basics/Tools.ts@@ -1,4 +1,4 @@-import { FontStyleType, ICellInfo, ISelection, IStyleBase, Nullable, ObjectMatrix, Tools, IRangeData, BaselineOffset, IScale } from '@univer/core';+import { FontStyleType, ICellInfo, ISelection, IStyleBase, Nullable, ObjectMatrix, Tools, IRangeData, BaselineOffset, IScale } from '@univerjs/core';import { DEFAULT_FONTFACE_PLANE } from './Const';import { IBoundRectNoAngle } from './Vector2';import { IFontLocale } from './Interfaces';diff --git a/packages/base-render/src/Basics/Transform.ts b/packages/base-render/src/Basics/Transform.tsindex a4011a36d1..85cd3c567a 100644--- a/packages/base-render/src/Basics/Transform.ts+++ b/packages/base-render/src/Basics/Transform.ts@@ -1,4 +1,4 @@-import { ITransformState } from '@univer/core';+import { ITransformState } from '@univerjs/core';import { degToRad, precisionTo, radToDeg } from './Tools';import { IRect } from './Interfaces';import { Vector2 } from './Vector2';diff --git a/packages/base-render/src/Basics/UnitConvert.ts b/packages/base-render/src/Basics/UnitConvert.tsindex 76b0637606..a33833d4db 100644--- a/packages/base-render/src/Basics/UnitConvert.ts+++ b/packages/base-render/src/Basics/UnitConvert.ts@@ -1,4 +1,4 @@-import { IDocumentData, Tools } from '@univer/core';+import { IDocumentData, Tools } from '@univerjs/core';import { ptToPx, pxToPt } from './Tools';const whiteListKeyForPt = new Set(['', '']);diff --git a/packages/base-render/src/Component/Component.ts b/packages/base-render/src/Component/Component.tsindex 200ce1423b..89bafcf788 100644--- a/packages/base-render/src/Component/Component.ts+++ b/packages/base-render/src/Component/Component.ts@@ -1,4 +1,4 @@-import { sortRules } from '@univer/core';+import { sortRules } from '@univerjs/core';import { IBoundRect } from '../Basics/Vector2';import { BaseObject } from '../BaseObject';import { ComponentExtension } from './Extension';diff --git a/packages/base-render/src/Component/Docs/Block/Block.ts b/packages/base-render/src/Component/Docs/Block/Block.tsindex dcaeaee1d2..49f16350cc 100644--- a/packages/base-render/src/Component/Docs/Block/Block.ts+++ b/packages/base-render/src/Component/Docs/Block/Block.ts@@ -1,4 +1,4 @@-import { BlockType, ContextBase, IBlockElement } from '@univer/core';+import { BlockType, ContextBase, IBlockElement } from '@univerjs/core';import { dealWidthParagraph } from './Paragraph';import { dealWithBlockError } from './BlockError';import { IDocumentSkeletonPage, ISkeletonResourceReference } from '../../../Basics/IDocumentSkeletonCached';diff --git a/packages/base-render/src/Component/Docs/Block/Paragraph/Bullet.Ruler.ts b/packages/base-render/src/Component/Docs/Block/Paragraph/Bullet.Ruler.tsindex 2907e7947b..bf53cbd5ac 100644--- a/packages/base-render/src/Component/Docs/Block/Paragraph/Bullet.Ruler.ts+++ b/packages/base-render/src/Component/Docs/Block/Paragraph/Bullet.Ruler.ts@@ -1,4 +1,4 @@-import { ContextBase, GlyphType, numberToListABC } from '@univer/core';+import { ContextBase, GlyphType, numberToListABC } from '@univerjs/core';import { dealWidthCustomBulletOrderedSymbol } from '../../../../Custom/UseCustom';export function getBulletOrderedSymbol(startIndex: number, startNumber: number, glyphType: GlyphType | string, context?: ContextBase) {diff --git a/packages/base-render/src/Component/Docs/Block/Paragraph/Bullet.ts b/packages/base-render/src/Component/Docs/Block/Paragraph/Bullet.tsindex 95176c912a..6199ea95a5 100644--- a/packages/base-render/src/Component/Docs/Block/Paragraph/Bullet.ts+++ b/packages/base-render/src/Component/Docs/Block/Paragraph/Bullet.ts@@ -1,4 +1,4 @@-import { ContextBase, IBullet, ILists, INestingLevel, ITextStyle, Nullable } from '@univer/core';+import { ContextBase, IBullet, ILists, INestingLevel, ITextStyle, Nullable } from '@univerjs/core';import { FontCache } from '../../../../Basics/FontCache';import { getFontStyleString } from '../../../../Basics/Tools';import { IDocumentSkeletonBullet } from '../../../../Basics/IDocumentSkeletonCached';diff --git a/packages/base-render/src/Component/Docs/Block/Paragraph/InlineDrawing.ts b/packages/base-render/src/Component/Docs/Block/Paragraph/InlineDrawing.tsindex 8666c10c63..b34dd0c9ce 100644--- a/packages/base-render/src/Component/Docs/Block/Paragraph/InlineDrawing.ts+++ b/packages/base-render/src/Component/Docs/Block/Paragraph/InlineDrawing.ts@@ -1,4 +1,4 @@-import { IDrawing } from '@univer/core';+import { IDrawing } from '@univerjs/core';import { IDocumentSkeletonPage } from '../../../../Basics/IDocumentSkeletonCached';import { IFontLocale, IParagraphConfig, ISectionBreakConfig } from '../../../../Basics/Interfaces';diff --git a/packages/base-render/src/Component/Docs/Block/Paragraph/Language.Ruler.ts b/packages/base-render/src/Component/Docs/Block/Paragraph/Language.Ruler.tsindex 3e1e1ab8bc..187a796564 100644--- a/packages/base-render/src/Component/Docs/Block/Paragraph/Language.Ruler.ts+++ b/packages/base-render/src/Component/Docs/Block/Paragraph/Language.Ruler.ts@@ -1,4 +1,4 @@-import { Nullable } from '@univer/core';+import { Nullable } from '@univerjs/core';import { createSkeletonLetterSpan, createSkeletonWordSpan } from '../../Common/Span';import { hasArabic, hasCJK, hasSpaceAndTab, hasTibetan } from '../../../../Basics/Tools';import { IDocumentSkeletonSpan } from '../../../../Basics/IDocumentSkeletonCached';diff --git a/packages/base-render/src/Component/Docs/Block/Paragraph/Layout.Ruler.ts b/packages/base-render/src/Component/Docs/Block/Paragraph/Layout.Ruler.tsindex 05dd13454e..7d8f7d6213 100644--- a/packages/base-render/src/Component/Docs/Block/Paragraph/Layout.Ruler.ts+++ b/packages/base-render/src/Component/Docs/Block/Paragraph/Layout.Ruler.ts@@ -1,4 +1,4 @@-import { BooleanNumber, GridType, HorizontalAlign, INumberUnit, IParagraphStyle, NamedStyleType, SpacingRule } from '@univer/core';+import { BooleanNumber, GridType, HorizontalAlign, INumberUnit, IParagraphStyle, NamedStyleType, SpacingRule } from '@univerjs/core';import {getCharSpaceApply,getCharSpaceConfig,diff --git a/packages/base-render/src/Component/Docs/Block/Paragraph/Paragraph.ts b/packages/base-render/src/Component/Docs/Block/Paragraph/Paragraph.tsindex 348dfffe9b..a4c2ad98ca 100644--- a/packages/base-render/src/Component/Docs/Block/Paragraph/Paragraph.ts+++ b/packages/base-render/src/Component/Docs/Block/Paragraph/Paragraph.ts@@ -9,7 +9,7 @@ import {ParagraphElementType,PositionedObjectLayoutType,ContextBase,-} from '@univer/core';+} from '@univerjs/core';import { dealWidthTextRun } from './TextRun';import { dealWidthBullet } from './Bullet';import { dealWidthInlineDrawing } from './InlineDrawing';diff --git a/packages/base-render/src/Component/Docs/Block/Paragraph/TextRun.ts b/packages/base-render/src/Component/Docs/Block/Paragraph/TextRun.tsindex 5629a335cb..882d4af3b7 100644--- a/packages/base-render/src/Component/Docs/Block/Paragraph/TextRun.ts+++ b/packages/base-render/src/Component/Docs/Block/Paragraph/TextRun.ts@@ -1,4 +1,4 @@-import { BooleanNumber, GridType, HorizontalAlign, ITextRun, NamedStyleType, SpacingRule } from '@univer/core';+import { BooleanNumber, GridType, HorizontalAlign, ITextRun, NamedStyleType, SpacingRule } from '@univerjs/core';import { composeCharForLanguage } from './Language.Ruler';import { calculateParagraphLayout } from './Layout.Ruler';diff --git a/packages/base-render/src/Component/Docs/Common/Column.ts b/packages/base-render/src/Component/Docs/Common/Column.tsindex d6ea1833e8..c74a66a604 100644--- a/packages/base-render/src/Component/Docs/Common/Column.ts+++ b/packages/base-render/src/Component/Docs/Common/Column.ts@@ -1,4 +1,4 @@-import { ColumnSeparatorType, ISectionColumnProperties } from '@univer/core';+import { ColumnSeparatorType, ISectionColumnProperties } from '@univerjs/core';import { IDocumentSkeletonColumn } from '../../../Basics/IDocumentSkeletonCached';export function createSkeletonColumn(diff --git a/packages/base-render/src/Component/Docs/Common/Line.ts b/packages/base-render/src/Component/Docs/Common/Line.tsindex 09ffda4d29..78221762b7 100644--- a/packages/base-render/src/Component/Docs/Common/Line.ts+++ b/packages/base-render/src/Component/Docs/Common/Line.ts@@ -1,4 +1,4 @@-import { IDrawing, Nullable, PositionedObjectLayoutType, WrapTextType } from '@univer/core';+import { IDrawing, Nullable, PositionedObjectLayoutType, WrapTextType } from '@univerjs/core';import {IDocumentSkeletonBlockAnchor,IDocumentSkeletonDivide,diff --git a/packages/base-render/src/Component/Docs/Common/Page.ts b/packages/base-render/src/Component/Docs/Common/Page.tsindex 5e1c89f215..9137b33cd5 100644--- a/packages/base-render/src/Component/Docs/Common/Page.ts+++ b/packages/base-render/src/Component/Docs/Common/Page.ts@@ -1,4 +1,4 @@-import { IBlockElement, IFooterData, IHeaderData, Nullable, PageOrientType } from '@univer/core';+import { IBlockElement, IFooterData, IHeaderData, Nullable, PageOrientType } from '@univerjs/core';import { createSkeletonSection } from './Section';import { BreakType, IDocumentSkeletonFooter, IDocumentSkeletonHeader, IDocumentSkeletonPage, ISkeletonResourceReference } from '../../../Basics/IDocumentSkeletonCached';import { ISectionBreakConfig } from '../../../Basics/Interfaces';diff --git a/packages/base-render/src/Component/Docs/Common/Section.ts b/packages/base-render/src/Component/Docs/Common/Section.tsindex 4504207859..fe2b9d23e4 100644--- a/packages/base-render/src/Component/Docs/Common/Section.ts+++ b/packages/base-render/src/Component/Docs/Common/Section.ts@@ -1,4 +1,4 @@-import { ColumnSeparatorType, ISectionColumnProperties } from '@univer/core';+import { ColumnSeparatorType, ISectionColumnProperties } from '@univerjs/core';import { IDocumentSkeletonColumn, IDocumentSkeletonSection } from '../../../Basics/IDocumentSkeletonCached';export function createSkeletonSection(diff --git a/packages/base-render/src/Component/Docs/Common/Span.ts b/packages/base-render/src/Component/Docs/Common/Span.tsindex b56561fb19..5871d5d908 100644--- a/packages/base-render/src/Component/Docs/Common/Span.ts+++ b/packages/base-render/src/Component/Docs/Common/Span.ts@@ -1,4 +1,4 @@-import { BooleanNumber, BulletAlignment, GridType } from '@univer/core';+import { BooleanNumber, BulletAlignment, GridType } from '@univerjs/core';import { validationGrid } from './Tools';import { IDocumentSkeletonBullet, IDocumentSkeletonSpan, SpanType } from '../../../Basics/IDocumentSkeletonCached';import { FontCache } from '../../../Basics/FontCache';diff --git a/packages/base-render/src/Component/Docs/Common/TextSelection.ts b/packages/base-render/src/Component/Docs/Common/TextSelection.tsindex 968861cdfd..7ff53e0b3e 100644--- a/packages/base-render/src/Component/Docs/Common/TextSelection.ts+++ b/packages/base-render/src/Component/Docs/Common/TextSelection.ts@@ -1,4 +1,4 @@-import { IPosition, ITextSelectionRange, Nullable } from '@univer/core';+import { IPosition, ITextSelectionRange, Nullable } from '@univerjs/core';import { nanoid } from 'nanoid';import { COLORS } from '../../../Basics/Const';import {diff --git a/packages/base-render/src/Component/Docs/Common/Tools.ts b/packages/base-render/src/Component/Docs/Common/Tools.tsindex 067cc43458..7f5ae37cc9 100644--- a/packages/base-render/src/Component/Docs/Common/Tools.ts+++ b/packages/base-render/src/Component/Docs/Common/Tools.ts@@ -11,7 +11,7 @@ import {ObjectRelativeFromH,ObjectRelativeFromV,SpacingRule,-} from '@univer/core';+} from '@univerjs/core';import {IDocumentSkeletonColumn,IDocumentSkeletonDivide,diff --git a/packages/base-render/src/Component/Docs/DocSkeleton.ts b/packages/base-render/src/Component/Docs/DocSkeleton.tsindex 1ffe90ce08..e695497361 100644--- a/packages/base-render/src/Component/Docs/DocSkeleton.ts+++ b/packages/base-render/src/Component/Docs/DocSkeleton.ts@@ -12,7 +12,7 @@ import {SectionType,VerticalAlign,WrapStrategy,-} from '@univer/core';+} from '@univerjs/core';import { getLastPage, updateBlockIndex } from './Common/Tools';import { createSkeletonPage } from './Common/Page';diff --git a/packages/base-render/src/Component/Docs/Document.Editor.ts b/packages/base-render/src/Component/Docs/Document.Editor.tsindex de3a20a927..1c2c810c42 100644--- a/packages/base-render/src/Component/Docs/Document.Editor.ts+++ b/packages/base-render/src/Component/Docs/Document.Editor.ts@@ -1,4 +1,4 @@-import { Nullable, Observable, Observer } from '@univer/core';+import { Nullable, Observable, Observer } from '@univerjs/core';import { IDocumentSkeletonCached, IDocumentSkeletonSpan } from '../../Basics/IDocumentSkeletonCached';import { CURSOR_TYPE } from '../../Basics/Const';import { IMouseEvent, IPointerEvent } from '../../Basics/IEvents';diff --git a/packages/base-render/src/Component/Docs/Document.ts b/packages/base-render/src/Component/Docs/Document.tsindex 1feadcbb1e..276c407ba0 100644--- a/packages/base-render/src/Component/Docs/Document.ts+++ b/packages/base-render/src/Component/Docs/Document.ts@@ -1,4 +1,4 @@-import { BooleanNumber, HorizontalAlign, Nullable, Observable, Observer, VerticalAlign, WrapStrategy } from '@univer/core';+import { BooleanNumber, HorizontalAlign, Nullable, Observable, Observer, VerticalAlign, WrapStrategy } from '@univerjs/core';import { DocComponent } from './DocComponent';import { IDocumentSkeletonCached, IDocumentSkeletonPage, IDocumentSkeletonSpan, LineType, PageLayoutType } from '../../Basics/IDocumentSkeletonCached';import { IBoundRect, Vector2 } from '../../Basics/Vector2';diff --git a/packages/base-render/src/Component/Docs/Extensions/Background.ts b/packages/base-render/src/Component/Docs/Extensions/Background.tsindex 18e461fa58..04dc2ed02b 100644--- a/packages/base-render/src/Component/Docs/Extensions/Background.ts+++ b/packages/base-render/src/Component/Docs/Extensions/Background.ts@@ -1,4 +1,4 @@-import { getColorStyle, IScale } from '@univer/core';+import { getColorStyle, IScale } from '@univerjs/core';import { DocumentsSpanAndLineExtensionRegistry } from '../../Extension';import { docExtension } from '../DocExtension';import { IDocumentSkeletonSpan } from '../../../Basics/IDocumentSkeletonCached';diff --git a/packages/base-render/src/Component/Docs/Extensions/Border.ts b/packages/base-render/src/Component/Docs/Extensions/Border.tsindex 9786f1879e..2d24cac7cc 100644--- a/packages/base-render/src/Component/Docs/Extensions/Border.ts+++ b/packages/base-render/src/Component/Docs/Extensions/Border.ts@@ -1,4 +1,4 @@-import { BorderStyleTypes, getColorStyle, IBorderData, IBorderStyleData, Nullable, IScale } from '@univer/core';+import { BorderStyleTypes, getColorStyle, IBorderData, IBorderStyleData, Nullable, IScale } from '@univerjs/core';import { DocumentsSpanAndLineExtensionRegistry } from '../../Extension';import { docExtension } from '../DocExtension';import { IDocumentSkeletonSpan } from '../../../Basics/IDocumentSkeletonCached';diff --git a/packages/base-render/src/Component/Docs/Extensions/FontAndBaseLine.ts b/packages/base-render/src/Component/Docs/Extensions/FontAndBaseLine.tsindex 7e94919801..9ae492bd0d 100644--- a/packages/base-render/src/Component/Docs/Extensions/FontAndBaseLine.ts+++ b/packages/base-render/src/Component/Docs/Extensions/FontAndBaseLine.ts@@ -1,4 +1,4 @@-import { BaselineOffset, getColorStyle, IScale } from '@univer/core';+import { BaselineOffset, getColorStyle, IScale } from '@univerjs/core';import { DocumentsSpanAndLineExtensionRegistry } from '../../Extension';import { docExtension } from '../DocExtension';import { IDocumentSkeletonSpan } from '../../../Basics/IDocumentSkeletonCached';diff --git a/packages/base-render/src/Component/Docs/Extensions/Line.ts b/packages/base-render/src/Component/Docs/Extensions/Line.tsindex 869f60d5e8..bde94cb741 100644--- a/packages/base-render/src/Component/Docs/Extensions/Line.ts+++ b/packages/base-render/src/Component/Docs/Extensions/Line.ts@@ -1,4 +1,4 @@-import { BooleanNumber, getColorStyle, TextDecoration, IScale } from '@univer/core';+import { BooleanNumber, getColorStyle, TextDecoration, IScale } from '@univerjs/core';import { DocumentsSpanAndLineExtensionRegistry } from '../../Extension';import { docExtension } from '../DocExtension';import { IDocumentSkeletonSpan } from '../../../Basics/IDocumentSkeletonCached';diff --git a/packages/base-render/src/Component/Extension.ts b/packages/base-render/src/Component/Extension.tsindex dcf82a149e..ddc8bffada 100644--- a/packages/base-render/src/Component/Extension.ts+++ b/packages/base-render/src/Component/Extension.ts@@ -1,4 +1,4 @@-import { IDocumentRenderConfig, Registry, IScale } from '@univer/core';+import { IDocumentRenderConfig, Registry, IScale } from '@univerjs/core';import { getScale } from '../Basics/Tools';import { RenderComponent } from './Component';import { Vector2 } from '../Basics/Vector2';diff --git a/packages/base-render/src/Component/Sheets/Extensions/Background.ts b/packages/base-render/src/Component/Sheets/Extensions/Background.tsindex baf1461440..0589d1e24e 100644--- a/packages/base-render/src/Component/Sheets/Extensions/Background.ts+++ b/packages/base-render/src/Component/Sheets/Extensions/Background.ts@@ -1,5 +1,5 @@// import { fixLineWidthByScale, getColor, IScale } from '@Basics';-import { IScale } from '@univer/core';+import { IScale } from '@univerjs/core';import { SpreadsheetSkeleton } from '../SheetSkeleton';import { SheetExtension } from './SheetExtension';diff --git a/packages/base-render/src/Component/Sheets/Extensions/Border.ts b/packages/base-render/src/Component/Sheets/Extensions/Border.tsindex d1f26adc0a..64a495b97e 100644--- a/packages/base-render/src/Component/Sheets/Extensions/Border.ts+++ b/packages/base-render/src/Component/Sheets/Extensions/Border.ts@@ -1,4 +1,4 @@-import { BorderStyleTypes, IRangeData, ObjectMatrix, IScale } from '@univer/core';+import { BorderStyleTypes, IRangeData, ObjectMatrix, IScale } from '@univerjs/core';import { BorderCacheItem } from '../Interfaces';import { fixLineWidthByScale } from '../../../Basics/Tools';import { SpreadsheetSkeleton } from '../SheetSkeleton';diff --git a/packages/base-render/src/Component/Sheets/Extensions/BorderAuxiliary.ts b/packages/base-render/src/Component/Sheets/Extensions/BorderAuxiliary.tsindex 3137ef0e73..44775b5e4a 100644--- a/packages/base-render/src/Component/Sheets/Extensions/BorderAuxiliary.ts+++ b/packages/base-render/src/Component/Sheets/Extensions/BorderAuxiliary.ts@@ -1,4 +1,4 @@-import { BooleanNumber, IRangeData, IScale, ObjectMatrix } from '@univer/core';+import { BooleanNumber, IRangeData, IScale, ObjectMatrix } from '@univerjs/core';import { fixLineWidthByScale, getColor } from '../../../Basics/Tools';import { SpreadsheetSkeleton } from '../SheetSkeleton';import { SheetExtension } from './SheetExtension';diff --git a/packages/base-render/src/Component/Sheets/Extensions/ColumnTitleLayout.ts b/packages/base-render/src/Component/Sheets/Extensions/ColumnTitleLayout.tsindex 5f5a733163..59493d05b7 100644--- a/packages/base-render/src/Component/Sheets/Extensions/ColumnTitleLayout.ts+++ b/packages/base-render/src/Component/Sheets/Extensions/ColumnTitleLayout.ts@@ -1,4 +1,4 @@-import { numberToABC, IScale } from '@univer/core';+import { numberToABC, IScale } from '@univerjs/core';import { fixLineWidthByScale, getColor } from '../../../Basics/Tools';import { MIDDLE_CELL_POS_MAGIC_NUMBER } from '../../../Basics/Const';import { SpreadsheetSkeleton } from '../SheetSkeleton';diff --git a/packages/base-render/src/Component/Sheets/Extensions/Font.ts b/packages/base-render/src/Component/Sheets/Extensions/Font.tsindex 39d81fc706..1c9d5adc08 100644--- a/packages/base-render/src/Component/Sheets/Extensions/Font.ts+++ b/packages/base-render/src/Component/Sheets/Extensions/Font.ts@@ -1,4 +1,4 @@-import { HorizontalAlign, IColorStyle, ObjectMatrix, WrapStrategy, IScale } from '@univer/core';+import { HorizontalAlign, IColorStyle, ObjectMatrix, WrapStrategy, IScale } from '@univerjs/core';import { SpreadsheetSkeleton } from '../SheetSkeleton';import { SheetExtension } from './SheetExtension';import { SpreadsheetExtensionRegistry } from '../../Extension';diff --git a/packages/base-render/src/Component/Sheets/Extensions/RowTitleLayout.ts b/packages/base-render/src/Component/Sheets/Extensions/RowTitleLayout.tsindex 754a4fdcf6..83169ece27 100644--- a/packages/base-render/src/Component/Sheets/Extensions/RowTitleLayout.ts+++ b/packages/base-render/src/Component/Sheets/Extensions/RowTitleLayout.ts@@ -1,4 +1,4 @@-import { IScale } from '@univer/core';+import { IScale } from '@univerjs/core';import { fixLineWidthByScale, getColor } from '../../../Basics/Tools';import { MIDDLE_CELL_POS_MAGIC_NUMBER } from '../../../Basics/Const';import { SpreadsheetSkeleton } from '../SheetSkeleton';diff --git a/packages/base-render/src/Component/Sheets/Extensions/SheetExtension.ts b/packages/base-render/src/Component/Sheets/Extensions/SheetExtension.tsindex 57f6924ddf..663f5c22ca 100644--- a/packages/base-render/src/Component/Sheets/Extensions/SheetExtension.ts+++ b/packages/base-render/src/Component/Sheets/Extensions/SheetExtension.ts@@ -1,4 +1,4 @@-import { IRangeData, ObjectMatrix } from '@univer/core';+import { IRangeData, ObjectMatrix } from '@univerjs/core';import { getCellByIndex } from '../../../Basics/Tools';import { ComponentExtension } from '../../Extension';import { SpreadsheetSkeleton } from '../SheetSkeleton';diff --git a/packages/base-render/src/Component/Sheets/Interfaces.ts b/packages/base-render/src/Component/Sheets/Interfaces.tsindex a62074d90b..ba5487de1a 100644--- a/packages/base-render/src/Component/Sheets/Interfaces.ts+++ b/packages/base-render/src/Component/Sheets/Interfaces.ts@@ -1,4 +1,4 @@-import { ObjectMatrix, BorderStyleTypes, VerticalAlign, HorizontalAlign, WrapStrategy } from '@univer/core';+import { ObjectMatrix, BorderStyleTypes, VerticalAlign, HorizontalAlign, WrapStrategy } from '@univerjs/core';import { BORDER_TYPE } from '../../Basics/Const';import { DocumentSkeleton } from '../Docs/DocSkeleton';diff --git a/packages/base-render/src/Component/Sheets/Selection/SelectionControl.ts b/packages/base-render/src/Component/Sheets/Selection/SelectionControl.tsindex 9bade377f2..769ff1a643 100644--- a/packages/base-render/src/Component/Sheets/Selection/SelectionControl.ts+++ b/packages/base-render/src/Component/Sheets/Selection/SelectionControl.ts@@ -1,4 +1,4 @@-import { Nullable, ISelection, ICellInfo } from '@univer/core';+import { Nullable, ISelection, ICellInfo } from '@univerjs/core';import { SelectionModel } from './SelectionModel';import { Rect } from '../../../Shape/Rect';import { Group } from '../../../Group';diff --git a/packages/base-render/src/Component/Sheets/Selection/SelectionManager.ts b/packages/base-render/src/Component/Sheets/Selection/SelectionManager.tsindex a0bc1fee2d..a6b60df855 100644--- a/packages/base-render/src/Component/Sheets/Selection/SelectionManager.ts+++ b/packages/base-render/src/Component/Sheets/Selection/SelectionManager.ts@@ -1,4 +1,4 @@-import { Nullable, Observer, ISelection, makeCellToSelection, IRangeData, IRangeCellData } from '@univer/core';+import { Nullable, Observer, ISelection, makeCellToSelection, IRangeData, IRangeCellData } from '@univerjs/core';import { SelectionControl } from './SelectionControl';import { ScrollTimer } from '../../../ScrollTimer';diff --git a/packages/base-render/src/Component/Sheets/Selection/SelectionModel.ts b/packages/base-render/src/Component/Sheets/Selection/SelectionModel.tsindex 32bdeb220c..579d67de3f 100644--- a/packages/base-render/src/Component/Sheets/Selection/SelectionModel.ts+++ b/packages/base-render/src/Component/Sheets/Selection/SelectionModel.ts@@ -1,4 +1,4 @@-import { ICellInfo, ISelection, Nullable, makeCellToSelection } from '@univer/core';+import { ICellInfo, ISelection, Nullable, makeCellToSelection } from '@univerjs/core';import { SELECTION_TYPE } from './SelectionControl';export class SelectionModel implements ISelection {diff --git a/packages/base-render/src/Component/Sheets/SheetComponent.ts b/packages/base-render/src/Component/Sheets/SheetComponent.tsindex cf4d8a9aa0..7a36d178da 100644--- a/packages/base-render/src/Component/Sheets/SheetComponent.ts+++ b/packages/base-render/src/Component/Sheets/SheetComponent.ts@@ -1,4 +1,4 @@-import { searchArray } from '@univer/core';+import { searchArray } from '@univerjs/core';import { IBoundRect } from '../../Basics/Vector2';import { RenderComponent } from '../Component';import { SpreadsheetSkeleton } from './SheetSkeleton';diff --git a/packages/base-render/src/Component/Sheets/SheetSkeleton.ts b/packages/base-render/src/Component/Sheets/SheetSkeleton.tsindex ab1fca5a78..641d80af39 100644--- a/packages/base-render/src/Component/Sheets/SheetSkeleton.ts+++ b/packages/base-render/src/Component/Sheets/SheetSkeleton.ts@@ -29,7 +29,7 @@ import {Nullable,getColorStyle,IDocumentRenderConfig,-} from '@univer/core';+} from '@univerjs/core';import { BORDER_TYPE, COLOR_BLACK_RGB } from '../../Basics/Const';import { IStylesCache, BorderCache } from './Interfaces';import { getFontStyleString, getCellPositionByIndex, isRectIntersect } from '../../Basics/Tools';diff --git a/packages/base-render/src/Component/Sheets/Spreadsheet.ts b/packages/base-render/src/Component/Sheets/Spreadsheet.tsindex 0fe0bb13d7..f61eb446b1 100644--- a/packages/base-render/src/Component/Sheets/Spreadsheet.ts+++ b/packages/base-render/src/Component/Sheets/Spreadsheet.ts@@ -1,4 +1,4 @@-import { CellValueType, HorizontalAlign, ICellInfo, IRangeData, Nullable, ObjectMatrix, searchArray, WrapStrategy, sortRules } from '@univer/core';+import { CellValueType, HorizontalAlign, ICellInfo, IRangeData, Nullable, ObjectMatrix, searchArray, WrapStrategy, sortRules } from '@univerjs/core';import { Background } from './Extensions/Background';import { Border } from './Extensions/Border';import { Font } from './Extensions/Font';diff --git a/packages/base-render/src/Component/Skeleton.ts b/packages/base-render/src/Component/Skeleton.tsindex 4a195ac7b9..f9de13a00d 100644--- a/packages/base-render/src/Component/Skeleton.ts+++ b/packages/base-render/src/Component/Skeleton.ts@@ -1,4 +1,4 @@-import { ContextBase } from '@univer/core';+import { ContextBase } from '@univerjs/core';import { en, zh } from '../Locale';import { IFontLocale } from '../Basics/Interfaces';diff --git a/packages/base-render/src/Component/Slides/Slide.ts b/packages/base-render/src/Component/Slides/Slide.tsindex 2866815067..82f298855e 100644--- a/packages/base-render/src/Component/Slides/Slide.ts+++ b/packages/base-render/src/Component/Slides/Slide.ts@@ -1,4 +1,4 @@-import { Nullable, Observable } from '@univer/core';+import { Nullable, Observable } from '@univerjs/core';import { getColor } from '../../Basics/Tools';import { COLORS, CURSOR_TYPE } from '../../Basics/Const';import { Scene } from '../../Scene';diff --git a/packages/base-render/src/Custom/BlockPlugin.ts b/packages/base-render/src/Custom/BlockPlugin.tsindex e11ad6412c..05368353d5 100644--- a/packages/base-render/src/Custom/BlockPlugin.ts+++ b/packages/base-render/src/Custom/BlockPlugin.ts@@ -1,4 +1,4 @@-import { SheetContext, IOCContainer, Observable, Plugin } from '@univer/core';+import { SheetContext, IOCContainer, Observable, Plugin } from '@univerjs/core';import { IDocumentSkeletonPage, ISkeletonResourceReference } from '../Basics/IDocumentSkeletonCached';import { ISectionBreakConfig } from '../Basics/Interfaces';diff --git a/packages/base-render/src/Custom/BulletPlugin.ts b/packages/base-render/src/Custom/BulletPlugin.tsindex 486fb8f02d..359137ec37 100644--- a/packages/base-render/src/Custom/BulletPlugin.ts+++ b/packages/base-render/src/Custom/BulletPlugin.ts@@ -1,4 +1,4 @@-import { SheetContext, IOCContainer, Observable, Plugin } from '@univer/core';+import { SheetContext, IOCContainer, Observable, Plugin } from '@univerjs/core';export type BulletPluginObserve = {onAfterChangeFontFamilyObservable: Observable<any>;diff --git a/packages/base-render/src/Custom/UseCustom.ts b/packages/base-render/src/Custom/UseCustom.tsindex 736cc1ac43..9eaa0df260 100644--- a/packages/base-render/src/Custom/UseCustom.ts+++ b/packages/base-render/src/Custom/UseCustom.ts@@ -1,4 +1,4 @@-import { ContextBase } from '@univer/core';+import { ContextBase } from '@univerjs/core';import { BlockPlugin } from './BlockPlugin';import { BulletPlugin } from './BulletPlugin';import { IDocumentSkeletonPage, ISkeletonResourceReference } from '../Basics/IDocumentSkeletonCached';diff --git a/packages/base-render/src/Engine.ts b/packages/base-render/src/Engine.tsindex eb179c2884..00d6d8d6d3 100644--- a/packages/base-render/src/Engine.ts+++ b/packages/base-render/src/Engine.ts@@ -1,4 +1,4 @@-import { Observable } from '@univer/core';+import { Observable } from '@univerjs/core';import { DeviceType, IEvent, IKeyboardEvent, IPointerEvent, PointerInput } from './Basics/IEvents';import { getSizeForDom, getPointerPrefix, IsSafari, requestNewFrame } from './Basics/Tools';diff --git a/packages/base-render/src/Group.ts b/packages/base-render/src/Group.tsindex 9a413bc741..a03720b212 100644--- a/packages/base-render/src/Group.ts+++ b/packages/base-render/src/Group.ts@@ -1,4 +1,4 @@-import { Nullable, sortRules } from '@univer/core';+import { Nullable, sortRules } from '@univerjs/core';import { Scene } from './Scene';import { isString } from './Basics/Tools';import { IBoundRect, Vector2 } from './Basics/Vector2';diff --git a/packages/base-render/src/Layer.ts b/packages/base-render/src/Layer.tsindex fab6ae3636..5e42f6370b 100644--- a/packages/base-render/src/Layer.ts+++ b/packages/base-render/src/Layer.ts@@ -1,4 +1,4 @@-import { sortRules } from '@univer/core';+import { sortRules } from '@univerjs/core';import { BaseObject } from './BaseObject';import { Scene } from './Scene';import { Group } from './Group';diff --git a/packages/base-render/src/RenderEngine.ts b/packages/base-render/src/RenderEngine.tsindex f1c9c80f1f..d551ef1cd0 100644--- a/packages/base-render/src/RenderEngine.ts+++ b/packages/base-render/src/RenderEngine.ts@@ -1,4 +1,4 @@-import { UniverSheet, Plugin, PLUGIN_NAMES } from '@univer/core';+import { UniverSheet, Plugin, PLUGIN_NAMES } from '@univerjs/core';import { Engine } from './Engine';export class RenderEngine extends Plugin {diff --git a/packages/base-render/src/Scene.Transformer.ts b/packages/base-render/src/Scene.Transformer.tsindex 309907f2be..fa3cf1af58 100644--- a/packages/base-render/src/Scene.Transformer.ts+++ b/packages/base-render/src/Scene.Transformer.ts@@ -1,4 +1,4 @@-import { Nullable, Observable, Observer } from '@univer/core';+import { Nullable, Observable, Observer } from '@univerjs/core';import { BaseObject } from './BaseObject';import { CURSOR_TYPE } from './Basics/Const';import { IMouseEvent, IPointerEvent } from './Basics/IEvents';diff --git a/packages/base-render/src/Scene.inputManager.ts b/packages/base-render/src/Scene.inputManager.tsindex bf764c6261..3c6e068a9e 100644--- a/packages/base-render/src/Scene.inputManager.ts+++ b/packages/base-render/src/Scene.inputManager.ts@@ -1,4 +1,4 @@-import { Observer, Nullable } from '@univer/core';+import { Observer, Nullable } from '@univerjs/core';import { IKeyboardEvent, IMouseEvent, IPointerEvent, IEvent, DeviceType, PointerInput, IWheelEvent } from './Basics/IEvents';import { Vector2 } from './Basics/Vector2';diff --git a/packages/base-render/src/Scene.ts b/packages/base-render/src/Scene.tsindex 502bdb0d24..86067db9e2 100644--- a/packages/base-render/src/Scene.ts+++ b/packages/base-render/src/Scene.ts@@ -1,4 +1,4 @@-import { EventState, Observable, Observer, sortRules, sortRulesByDesc, Nullable } from '@univer/core';+import { EventState, Observable, Observer, sortRules, sortRulesByDesc, Nullable } from '@univerjs/core';import { IKeyboardEvent, IMouseEvent, IPointerEvent, IWheelEvent } from './Basics/IEvents';import { requestNewFrame, precisionTo } from './Basics/Tools';diff --git a/packages/base-render/src/SceneViewer.ts b/packages/base-render/src/SceneViewer.tsindex 5fbf05cf0d..6dab939339 100644--- a/packages/base-render/src/SceneViewer.ts+++ b/packages/base-render/src/SceneViewer.ts@@ -1,4 +1,4 @@-import { Nullable } from '@univer/core';+import { Nullable } from '@univerjs/core';import { IBoundRect, Vector2 } from './Basics/Vector2';import { BaseObject } from './BaseObject';import { Scene } from './Scene';diff --git a/packages/base-render/src/ScrollTimer.ts b/packages/base-render/src/ScrollTimer.tsindex 4ea96e8563..23f12758b0 100644--- a/packages/base-render/src/ScrollTimer.ts+++ b/packages/base-render/src/ScrollTimer.ts@@ -1,4 +1,4 @@-import { IPaddingData, Nullable } from '@univer/core';+import { IPaddingData, Nullable } from '@univerjs/core';import { RENDER_CLASS_TYPE } from './Basics/Const';import { Viewport } from './Viewport';import { Scene } from './Scene';diff --git a/packages/base-render/src/Shape/Circle.ts b/packages/base-render/src/Shape/Circle.tsindex c591ec6dc2..60f09d3407 100644--- a/packages/base-render/src/Shape/Circle.ts+++ b/packages/base-render/src/Shape/Circle.ts@@ -1,6 +1,6 @@// import { IShapeProps, Shape, IObjectFullState, Group, Scene } from '.';-import { IKeyValue } from '@univer/core';+import { IKeyValue } from '@univerjs/core';import { TRANSFORM_CHANGE_OBSERVABLE_TYPE } from '../Basics/Interfaces';import { IShapeProps, Shape } from './Shape';diff --git a/packages/base-render/src/Shape/Path.ts b/packages/base-render/src/Shape/Path.tsindex 3244d1238f..66bd320761 100644--- a/packages/base-render/src/Shape/Path.ts+++ b/packages/base-render/src/Shape/Path.ts@@ -1,6 +1,6 @@// import { IShapeProps, Shape, IObjectFullState, Group, Scene } from '.';-import { IKeyValue, Nullable } from '@univer/core';+import { IKeyValue, Nullable } from '@univerjs/core';import { IObjectFullState, TRANSFORM_CHANGE_OBSERVABLE_TYPE } from '../Basics/Interfaces';import { IShapeProps, Shape } from './Shape';diff --git a/packages/base-render/src/Shape/Rect.ts b/packages/base-render/src/Shape/Rect.tsindex 4252655f21..2873a209f2 100644--- a/packages/base-render/src/Shape/Rect.ts+++ b/packages/base-render/src/Shape/Rect.ts@@ -1,6 +1,6 @@// import { IShapeProps, Shape, IObjectFullState, Group, Scene } from '.';-import { IKeyValue } from '@univer/core';+import { IKeyValue } from '@univerjs/core';import { IShapeProps, Shape } from './Shape';export interface IRectProps extends IShapeProps {diff --git a/packages/base-render/src/Shape/RegularPolygon.ts b/packages/base-render/src/Shape/RegularPolygon.tsindex 4a3b37814c..26f30c498d 100644--- a/packages/base-render/src/Shape/RegularPolygon.ts+++ b/packages/base-render/src/Shape/RegularPolygon.ts@@ -1,6 +1,6 @@// import { IShapeProps, Shape, IObjectFullState, Group, Scene } from '.';-import { IKeyValue } from '@univer/core';+import { IKeyValue } from '@univerjs/core';import { IObjectFullState, TRANSFORM_CHANGE_OBSERVABLE_TYPE } from '../Basics/Interfaces';import { IPoint } from '../Basics/Vector2';import { IShapeProps, Shape } from './Shape';diff --git a/packages/base-render/src/Shape/RichText.ts b/packages/base-render/src/Shape/RichText.tsindex f1ef46010f..f2024ae2c8 100644--- a/packages/base-render/src/Shape/RichText.ts+++ b/packages/base-render/src/Shape/RichText.ts@@ -13,7 +13,7 @@ import {IColorStyle,IBorderData,Nullable,-} from '@univer/core';+} from '@univerjs/core';import { Canvas } from '../Canvas';import { BaseObject } from '../BaseObject';import { IBoundRect } from '../Basics/Vector2';diff --git a/packages/base-render/src/Shape/ScrollBar.ts b/packages/base-render/src/Shape/ScrollBar.tsindex 8d77f8a0e2..a1fa86219e 100644--- a/packages/base-render/src/Shape/ScrollBar.ts+++ b/packages/base-render/src/Shape/ScrollBar.ts@@ -1,4 +1,4 @@-import { EventState } from '@univer/core';+import { EventState } from '@univerjs/core';import { Vector2 } from '../Basics/Vector2';import { IMouseEvent, IPointerEvent } from '../Basics/IEvents';import { COLORS, EVENT_TYPE, RENDER_CLASS_TYPE } from '../Basics/Const';diff --git a/packages/base-render/src/Shape/Shape.ts b/packages/base-render/src/Shape/Shape.tsindex f8ecd97b4d..724fc6ac8a 100644--- a/packages/base-render/src/Shape/Shape.ts+++ b/packages/base-render/src/Shape/Shape.ts@@ -1,4 +1,4 @@-import { IKeyValue, IScale, Nullable } from '@univer/core';+import { IKeyValue, IScale, Nullable } from '@univerjs/core';import { Canvas, getDevicePixelRatio } from '../Canvas';import { BaseObject, BASE_OBJECT_ARRAY } from '../BaseObject';import { IBoundRect, Vector2 } from '../Basics/Vector2';diff --git a/packages/base-render/src/Types/index.d.ts b/packages/base-render/src/Types/index.d.tsindex 42afbce2d2..03306c4a4c 100644--- a/packages/base-render/src/Types/index.d.ts+++ b/packages/base-render/src/Types/index.d.ts@@ -1,2 +1,2 @@export * from '../index';-declare module '@univer/base-render' {}+declare module '@univerjs/base-render' {}diff --git a/packages/base-render/src/Viewport.ts b/packages/base-render/src/Viewport.tsindex 52d4a55510..61e9111c09 100644--- a/packages/base-render/src/Viewport.ts+++ b/packages/base-render/src/Viewport.ts@@ -1,4 +1,4 @@-import { EventState, Observable, Nullable } from '@univer/core';+import { EventState, Observable, Nullable } from '@univerjs/core';import { toPx } from './Basics/Tools';import { PointerInput, IWheelEvent } from './Basics/IEvents';diff --git a/packages/base-render/vite.config.ts b/packages/base-render/vite.config.tsindex b1fba9e0d4..b8fe813ea2 100644--- a/packages/base-render/vite.config.ts+++ b/packages/base-render/vite.config.ts@@ -39,7 +39,7 @@ export default defineConfig({preact(),createExternal({externals: {- '@univer/core': '@univer/core',+ '@univerjs/core': '@univerjs/core',},}),],diff --git a/packages/base-sheets/README-zh.md b/packages/base-sheets/README-zh.mdindex f064914c3e..86bfa99bdc 100644--- a/packages/base-sheets/README-zh.md+++ b/packages/base-sheets/README-zh.md@@ -9,13 +9,13 @@ UniverSheet Spreadsheet 插件### 安装```bash-npm i @univer/base-sheets+npm i @univerjs/base-sheets```### 使用```js-impport {Spreadsheet} from '@univer/base-sheets'+impport {Spreadsheet} from '@univerjs/base-sheets'const univerSheet = new UniverSheet();univerSheet.installPlugin(new Spreadsheet());@@ -41,7 +41,7 @@ pnpm installnpm run dev# 或者项目根目录 ./-pnpm run --filter @univer/base-sheets dev+pnpm run --filter @univerjs/base-sheets dev```### 打包@@ -51,5 +51,5 @@ pnpm run --filter @univer/base-sheets devnpm run build# 或者根目录 ./-pnpm run --filter @univer/base-sheets build+pnpm run --filter @univerjs/base-sheets build```diff --git a/packages/base-sheets/README.md b/packages/base-sheets/README.mdindex 11095d9fa4..637df2d8db 100644--- a/packages/base-sheets/README.md+++ b/packages/base-sheets/README.md@@ -9,13 +9,13 @@ UniverSheet Plugin Spreadsheet### Installation```bash-npm i @univer/base-sheets+npm i @univerjs/base-sheets```### Usage```js-impport {Spreadsheet} from '@univer/base-sheets'+impport {Spreadsheet} from '@univerjs/base-sheets'const univerSheet = new UniverSheet();univerSheet.installPlugin(new Spreadsheet());@@ -41,7 +41,7 @@ pnpm installnpm run dev# Or project root directory ./-pnpm run --filter @univer/base-sheets dev+pnpm run --filter @univerjs/base-sheets dev```### Package@@ -51,5 +51,5 @@ pnpm run --filter @univer/base-sheets devnpm run build# Or root directory ./-pnpm run --filter @univer/base-sheets build+pnpm run --filter @univerjs/base-sheets build```diff --git a/packages/base-sheets/package.json b/packages/base-sheets/package.jsonindex 29ea23b811..5a354c638c 100644--- a/packages/base-sheets/package.json+++ b/packages/base-sheets/package.json@@ -1,5 +1,5 @@{- "name": "@univer/base-sheets",+ "name": "@univerjs/base-sheets","version": "0.0.1","description": "UniverSheet normal base-sheets","keywords": [],@@ -48,11 +48,11 @@"vite-plugin-external": "1.2.3"},"dependencies": {- "@univer/base-component": "workspace:^0.0.1",- "@univer/base-render": "workspace:^0.0.1",- "@univer/common-plugin-data": "workspace:^0.0.1",- "@univer/core": "workspace:^0.0.1",- "@univer/style-univer": "workspace:^0.0.1",+ "@univerjs/base-component": "workspace:^0.0.1",+ "@univerjs/base-render": "workspace:^0.0.1",+ "@univerjs/common-plugin-data": "workspace:^0.0.1",+ "@univerjs/core": "workspace:^0.0.1",+ "@univerjs/style-univer": "workspace:^0.0.1","css-vars-ponyfill": "^2.4.6","nanoid": "4.0.0","preact": "^10.5.14"diff --git a/packages/base-sheets/src/Basics/Interfaces/SelectionConfig.ts b/packages/base-sheets/src/Basics/Interfaces/SelectionConfig.tsindex f2c0d12a77..3d0b597925 100644--- a/packages/base-sheets/src/Basics/Interfaces/SelectionConfig.ts+++ b/packages/base-sheets/src/Basics/Interfaces/SelectionConfig.ts@@ -1,4 +1,4 @@-import { IRangeCellData, IRangeData } from '@univer/core';+import { IRangeCellData, IRangeData } from '@univerjs/core';export interface ISelectionConfig {selection: IRangeData;diff --git a/packages/base-sheets/src/Basics/Observer.ts b/packages/base-sheets/src/Basics/Observer.tsindex 3c87dfa778..e1d1b9b866 100644--- a/packages/base-sheets/src/Basics/Observer.ts+++ b/packages/base-sheets/src/Basics/Observer.ts@@ -1,4 +1,4 @@-import { Observable, Plugin } from '@univer/core';+import { Observable, Plugin } from '@univerjs/core';import { FormulaBar } from '../View/UI/FormulaBar/FormulaBar';import { SelectionControl } from '../Controller/Selection/SelectionController';import { SheetContainer } from '../View/UI/SheetContainer';diff --git a/packages/base-sheets/src/Basics/Register/CellEditRegister/CellEditExtensionFactory.ts b/packages/base-sheets/src/Basics/Register/CellEditRegister/CellEditExtensionFactory.tsindex 3c8e4c3c83..4be2fce577 100644--- a/packages/base-sheets/src/Basics/Register/CellEditRegister/CellEditExtensionFactory.ts+++ b/packages/base-sheets/src/Basics/Register/CellEditRegister/CellEditExtensionFactory.ts@@ -1,4 +1,4 @@-import { Plugin } from '@univer/core';+import { Plugin } from '@univerjs/core';import { ICell } from '../../Interfaces';/**diff --git a/packages/base-sheets/src/Basics/Register/CellEditRegister/CellEditExtensionManager.ts b/packages/base-sheets/src/Basics/Register/CellEditRegister/CellEditExtensionManager.tsindex d522e65da7..ab68a12142 100644--- a/packages/base-sheets/src/Basics/Register/CellEditRegister/CellEditExtensionManager.ts+++ b/packages/base-sheets/src/Basics/Register/CellEditRegister/CellEditExtensionManager.ts@@ -1,4 +1,4 @@-import { Nullable } from '@univer/core';+import { Nullable } from '@univerjs/core';import { ICell } from '../../Interfaces';import { BaseCellEditExtension, BaseCellEditExtensionFactory } from './CellEditExtensionFactory';import { CellEditExtensionRegister } from './CellEditExtensionRegister';diff --git a/packages/base-sheets/src/Basics/Register/CellEditRegister/CellEditExtensionRegister.ts b/packages/base-sheets/src/Basics/Register/CellEditRegister/CellEditExtensionRegister.tsindex 05fbe47488..5d474864d8 100644--- a/packages/base-sheets/src/Basics/Register/CellEditRegister/CellEditExtensionRegister.ts+++ b/packages/base-sheets/src/Basics/Register/CellEditRegister/CellEditExtensionRegister.ts@@ -1,4 +1,4 @@-import { sortRules } from '@univer/core';+import { sortRules } from '@univerjs/core';import { BaseCellEditExtensionFactory } from './CellEditExtensionFactory';import { REGISTRY_CELL_EDIT_FACTORY } from './RegistryFactory';diff --git a/packages/base-sheets/src/Basics/Register/CellInputRegister/CellInputExtensionFactory.ts b/packages/base-sheets/src/Basics/Register/CellInputRegister/CellInputExtensionFactory.tsindex 85da1e6f09..16d445cbfb 100644--- a/packages/base-sheets/src/Basics/Register/CellInputRegister/CellInputExtensionFactory.ts+++ b/packages/base-sheets/src/Basics/Register/CellInputRegister/CellInputExtensionFactory.ts@@ -1,4 +1,4 @@-import { Plugin } from '@univer/core';+import { Plugin } from '@univerjs/core';import { ICell } from '../../Interfaces';/**diff --git a/packages/base-sheets/src/Basics/Register/CellInputRegister/CellInputExtensionManager.ts b/packages/base-sheets/src/Basics/Register/CellInputRegister/CellInputExtensionManager.tsindex b97cbbd54b..564b157b99 100644--- a/packages/base-sheets/src/Basics/Register/CellInputRegister/CellInputExtensionManager.ts+++ b/packages/base-sheets/src/Basics/Register/CellInputRegister/CellInputExtensionManager.ts@@ -1,4 +1,4 @@-import { Nullable } from '@univer/core';+import { Nullable } from '@univerjs/core';import { ICell } from '../../Interfaces';import { BaseCellInputExtension, BaseCellInputExtensionFactory } from './CellInputExtensionFactory';import { CellInputExtensionRegister } from './CellInputExtensionRegister';diff --git a/packages/base-sheets/src/Basics/Register/CellInputRegister/CellInputExtensionRegister.ts b/packages/base-sheets/src/Basics/Register/CellInputRegister/CellInputExtensionRegister.tsindex 96bb68ae7d..da612fbed4 100644--- a/packages/base-sheets/src/Basics/Register/CellInputRegister/CellInputExtensionRegister.ts+++ b/packages/base-sheets/src/Basics/Register/CellInputRegister/CellInputExtensionRegister.ts@@ -1,4 +1,4 @@-import { sortRules } from '@univer/core';+import { sortRules } from '@univerjs/core';import { BaseCellInputExtensionFactory } from './CellInputExtensionFactory';import { REGISTRY_CELL_INPUT_FACTORY } from './RegistryFactory';diff --git a/packages/base-sheets/src/Basics/Register/NamedRangeActionExtension.ts b/packages/base-sheets/src/Basics/Register/NamedRangeActionExtension.tsindex 3c01bb3225..92b1fe992b 100644--- a/packages/base-sheets/src/Basics/Register/NamedRangeActionExtension.ts+++ b/packages/base-sheets/src/Basics/Register/NamedRangeActionExtension.ts@@ -7,7 +7,7 @@ import {ISheetActionData,Tools,IInsertRowActionData,-} from '@univer/core';+} from '@univerjs/core';import { SheetPlugin } from '../../SheetPlugin';/**diff --git a/packages/base-sheets/src/Basics/RegisterAction.ts b/packages/base-sheets/src/Basics/RegisterAction.tsindex d559cd26ef..2a3320c527 100644--- a/packages/base-sheets/src/Basics/RegisterAction.ts+++ b/packages/base-sheets/src/Basics/RegisterAction.ts@@ -1,4 +1,4 @@-import { CommandManager } from '@univer/core';+import { CommandManager } from '@univerjs/core';import { SetSelectionValueAction } from '../Model/Action/SetSelectionValueAction';import { ACTION_NAMES } from './Enum';diff --git a/packages/base-sheets/src/Controller/AntLineController.ts b/packages/base-sheets/src/Controller/AntLineController.tsindex 17a28cba07..8149fdb292 100644--- a/packages/base-sheets/src/Controller/AntLineController.ts+++ b/packages/base-sheets/src/Controller/AntLineController.ts@@ -1,5 +1,5 @@-import { Workbook } from '@univer/core';-import { Rect, Scene } from '@univer/base-render';+import { Workbook } from '@univerjs/core';+import { Rect, Scene } from '@univerjs/base-render';import { SheetView } from '../View/Render/Views';import { AntLine, AntLineModel, IAntLineRange } from '../Model/AntLineModel';import { SheetPlugin } from '../SheetPlugin';diff --git a/packages/base-sheets/src/Controller/CellEditorController.ts b/packages/base-sheets/src/Controller/CellEditorController.tsindex 7d8e27a9b7..5d4591b8bf 100644--- a/packages/base-sheets/src/Controller/CellEditorController.ts+++ b/packages/base-sheets/src/Controller/CellEditorController.ts@@ -1,6 +1,6 @@-import { getRefElement, handleDomToJson, handleJsonToDom, handleStyleToString, handleStringToStyle, $$, setLastCaretPosition, KeyboardManager } from '@univer/base-component';-import { Direction, IDocumentData, IRangeData, IStyleData, Nullable, ICellData, Tools, isKeyPrintable, PLUGIN_NAMES } from '@univer/core';-import { IMouseEvent, IPointerEvent } from '@univer/base-render';+import { getRefElement, handleDomToJson, handleJsonToDom, handleStyleToString, handleStringToStyle, $$, setLastCaretPosition, KeyboardManager } from '@univerjs/base-component';+import { Direction, IDocumentData, IRangeData, IStyleData, Nullable, ICellData, Tools, isKeyPrintable, PLUGIN_NAMES } from '@univerjs/core';+import { IMouseEvent, IPointerEvent } from '@univerjs/base-render';import { SheetPlugin } from '../SheetPlugin';import { SheetContainer } from '../View/UI/SheetContainer';import { CANVAS_VIEW_KEY } from '../View/Render/BaseView';diff --git a/packages/base-sheets/src/Controller/CountBarController.ts b/packages/base-sheets/src/Controller/CountBarController.tsindex 86bfbf497d..4098ada121 100644--- a/packages/base-sheets/src/Controller/CountBarController.ts+++ b/packages/base-sheets/src/Controller/CountBarController.ts@@ -1,4 +1,4 @@-import { RangeList, Tools } from '@univer/core';+import { RangeList, Tools } from '@univerjs/core';import { SheetPlugin } from '../SheetPlugin';import { CountBar } from '../View/UI/CountBar';diff --git a/packages/base-sheets/src/Controller/FormulaBarController.ts b/packages/base-sheets/src/Controller/FormulaBarController.tsindex 9bd69840bb..b80267d288 100644--- a/packages/base-sheets/src/Controller/FormulaBarController.ts+++ b/packages/base-sheets/src/Controller/FormulaBarController.ts@@ -1,5 +1,5 @@-import { PLUGIN_NAMES } from '@univer/core';-import { INamedRange } from '@univer/core/src/Interfaces/INamedRange';+import { PLUGIN_NAMES } from '@univerjs/core';+import { INamedRange } from '@univerjs/core/src/Interfaces/INamedRange';import { CellInputExtensionManager } from '../Basics/Register/CellInputRegister';import { SheetPlugin } from '../SheetPlugin';import { FormulaBar } from '../View/UI/FormulaBar';diff --git a/packages/base-sheets/src/Controller/InfoBarController.ts b/packages/base-sheets/src/Controller/InfoBarController.tsindex 3a7ad96dbe..8e6b711ebe 100644--- a/packages/base-sheets/src/Controller/InfoBarController.ts+++ b/packages/base-sheets/src/Controller/InfoBarController.ts@@ -1,4 +1,4 @@-import { PLUGIN_NAMES } from '@univer/core';+import { PLUGIN_NAMES } from '@univerjs/core';import { InfoBarModel } from '../Model/InfoBarModel';import { SheetPlugin } from '../SheetPlugin';import { InfoBar } from '../View/UI/InfoBar';diff --git a/packages/base-sheets/src/Controller/RightMenuController.ts b/packages/base-sheets/src/Controller/RightMenuController.tsindex 4a8ab7a670..8eed3dfafa 100644--- a/packages/base-sheets/src/Controller/RightMenuController.ts+++ b/packages/base-sheets/src/Controller/RightMenuController.ts@@ -1,5 +1,5 @@-import { IMouseEvent, IPointerEvent } from '@univer/base-render';-import { PLUGIN_NAMES, Tools } from '@univer/core';+import { IMouseEvent, IPointerEvent } from '@univerjs/base-render';+import { PLUGIN_NAMES, Tools } from '@univerjs/core';import { RightMenuModel, RightMenuProps } from '../Model/RightMenuModel';import { SheetPlugin } from '../SheetPlugin';import { RightMenu } from '../View/UI/RightMenu';diff --git a/packages/base-sheets/src/Controller/Selection/ColumnTitleController.ts b/packages/base-sheets/src/Controller/Selection/ColumnTitleController.tsindex 6d0f571eab..74b094718a 100644--- a/packages/base-sheets/src/Controller/Selection/ColumnTitleController.ts+++ b/packages/base-sheets/src/Controller/Selection/ColumnTitleController.ts@@ -1,5 +1,5 @@-import { CURSOR_TYPE, Group, IMouseEvent, IPointerEvent, Rect } from '@univer/base-render';-import { Nullable } from '@univer/core';+import { CURSOR_TYPE, Group, IMouseEvent, IPointerEvent, Rect } from '@univerjs/base-render';+import { Nullable } from '@univerjs/core';import { DragLineDirection } from './DragLineController';import { SelectionManager } from './SelectionManager';diff --git a/packages/base-sheets/src/Controller/Selection/DragLineController.ts b/packages/base-sheets/src/Controller/Selection/DragLineController.tsindex 915be64c5e..58ded14a91 100644--- a/packages/base-sheets/src/Controller/Selection/DragLineController.ts+++ b/packages/base-sheets/src/Controller/Selection/DragLineController.ts@@ -1,5 +1,5 @@-import { CURSOR_TYPE, Group, IMouseEvent, IPointerEvent, Rect } from '@univer/base-render';-import { Nullable, Observer } from '@univer/core';+import { CURSOR_TYPE, Group, IMouseEvent, IPointerEvent, Rect } from '@univerjs/base-render';+import { Nullable, Observer } from '@univerjs/core';import { SelectionManager } from './SelectionManager';enum DRAG_LINE_KEY {diff --git a/packages/base-sheets/src/Controller/Selection/RowTitleController.ts b/packages/base-sheets/src/Controller/Selection/RowTitleController.tsindex c3aebe171d..ebcbbcd1d1 100644--- a/packages/base-sheets/src/Controller/Selection/RowTitleController.ts+++ b/packages/base-sheets/src/Controller/Selection/RowTitleController.ts@@ -1,5 +1,5 @@-import { CURSOR_TYPE, Group, IMouseEvent, IPointerEvent, Rect } from '@univer/base-render';-import { Nullable } from '@univer/core';+import { CURSOR_TYPE, Group, IMouseEvent, IPointerEvent, Rect } from '@univerjs/base-render';+import { Nullable } from '@univerjs/core';import { DragLineDirection } from './DragLineController';import { SelectionManager } from './SelectionManager';diff --git a/packages/base-sheets/src/Controller/Selection/SelectionControlDragDrop.ts b/packages/base-sheets/src/Controller/Selection/SelectionControlDragDrop.tsindex b13ced50ce..26054da772 100644--- a/packages/base-sheets/src/Controller/Selection/SelectionControlDragDrop.ts+++ b/packages/base-sheets/src/Controller/Selection/SelectionControlDragDrop.ts@@ -1,5 +1,5 @@-import { CURSOR_TYPE, Group, IMouseEvent, IPointerEvent, Rect, ScrollTimer } from '@univer/base-render';-import { Direction, ISelection, makeCellToSelection, Nullable, Observer } from '@univer/core';+import { CURSOR_TYPE, Group, IMouseEvent, IPointerEvent, Rect, ScrollTimer } from '@univerjs/base-render';+import { Direction, ISelection, makeCellToSelection, Nullable, Observer } from '@univerjs/core';import { SelectionModel } from '../../Model';import { DEFAULT_SELECTION_CONFIG, SelectionControl, SELECTION_TYPE } from './SelectionController';diff --git a/packages/base-sheets/src/Controller/Selection/SelectionControlFill.ts b/packages/base-sheets/src/Controller/Selection/SelectionControlFill.tsindex 0ccc6f2d8a..5e8aad14a7 100644--- a/packages/base-sheets/src/Controller/Selection/SelectionControlFill.ts+++ b/packages/base-sheets/src/Controller/Selection/SelectionControlFill.ts@@ -1,4 +1,4 @@-import { CURSOR_TYPE, IMouseEvent, IPointerEvent } from '@univer/base-render';+import { CURSOR_TYPE, IMouseEvent, IPointerEvent } from '@univerjs/base-render';import { SelectionControl } from './SelectionController';export class SelectionControlFill {diff --git a/packages/base-sheets/src/Controller/Selection/SelectionController.ts b/packages/base-sheets/src/Controller/Selection/SelectionController.tsindex 5802fe709b..4b9b04bf91 100644--- a/packages/base-sheets/src/Controller/Selection/SelectionController.ts+++ b/packages/base-sheets/src/Controller/Selection/SelectionController.ts@@ -1,5 +1,5 @@-import { Rect, Group, Spreadsheet } from '@univer/base-render';-import { Nullable, ISelection, ICellInfo } from '@univer/core';+import { Rect, Group, Spreadsheet } from '@univerjs/base-render';+import { Nullable, ISelection, ICellInfo } from '@univerjs/core';import { SelectionModel } from '../../Model/SelectionModel';import { SelectionControlDragAndDrop } from './SelectionControlDragDrop';import { SelectionControlFill } from './SelectionControlFill';diff --git a/packages/base-sheets/src/Controller/Selection/SelectionManager.ts b/packages/base-sheets/src/Controller/Selection/SelectionManager.tsindex cda65b8005..189301e167 100644--- a/packages/base-sheets/src/Controller/Selection/SelectionManager.ts+++ b/packages/base-sheets/src/Controller/Selection/SelectionManager.ts@@ -1,5 +1,5 @@-import { IMouseEvent, IPointerEvent, Rect, Spreadsheet, SpreadsheetColumnTitle, SpreadsheetRowTitle, ScrollTimer } from '@univer/base-render';-import { Nullable, Observer, Worksheet, ISelection, makeCellToSelection, IRangeData, RangeList, Range, IRangeCellData, ICellInfo, Command, Direction } from '@univer/core';+import { IMouseEvent, IPointerEvent, Rect, Spreadsheet, SpreadsheetColumnTitle, SpreadsheetRowTitle, ScrollTimer } from '@univerjs/base-render';+import { Nullable, Observer, Worksheet, ISelection, makeCellToSelection, IRangeData, RangeList, Range, IRangeCellData, ICellInfo, Command, Direction } from '@univerjs/core';import { ACTION_NAMES, ISelectionsConfig } from '../../Basics';import { ISelectionModelValue, ISetSelectionValueActionData } from '../../Model/Action/SetSelectionValueAction';import { SelectionModel } from '../../Model/SelectionModel';diff --git a/packages/base-sheets/src/Controller/SheetBarController.ts b/packages/base-sheets/src/Controller/SheetBarController.tsindex d2911556c0..5b90f4d011 100644--- a/packages/base-sheets/src/Controller/SheetBarController.ts+++ b/packages/base-sheets/src/Controller/SheetBarController.ts@@ -1,6 +1,6 @@-import { BaseMenuItem, BaseUlProps } from '@univer/base-component';-import { ACTION_NAMES, CommandManager, NameGen, Nullable, PLUGIN_NAMES, SheetActionBase } from '@univer/core';-import { ColorPicker } from '@univer/style-univer';+import { BaseMenuItem, BaseUlProps } from '@univerjs/base-component';+import { ACTION_NAMES, CommandManager, NameGen, Nullable, PLUGIN_NAMES, SheetActionBase } from '@univerjs/core';+import { ColorPicker } from '@univerjs/style-univer';import { SheetBarModel } from '../Model/SheetBarModel';import { SheetBar } from '../View/UI/SheetBar';import { SheetPlugin } from '../SheetPlugin';diff --git a/packages/base-sheets/src/Controller/SheetContainerController.ts b/packages/base-sheets/src/Controller/SheetContainerController.tsindex 5eb743de0f..1beb8cabf5 100644--- a/packages/base-sheets/src/Controller/SheetContainerController.ts+++ b/packages/base-sheets/src/Controller/SheetContainerController.ts@@ -1,5 +1,5 @@-import { CommandManager, ContextBase, ISheetActionData, LocaleType, PLUGIN_NAMES, SheetActionBase, Workbook } from '@univer/core';-import { BaseComponentSheet, BaseComponentRender, BaseComponentProps, DragManager, getRefElement } from '@univer/base-component';+import { CommandManager, ContextBase, ISheetActionData, LocaleType, PLUGIN_NAMES, SheetActionBase, Workbook } from '@univerjs/core';+import { BaseComponentSheet, BaseComponentRender, BaseComponentProps, DragManager, getRefElement } from '@univerjs/base-component';import { CellRangeModal } from '../View/UI/Common/CellRange/CellRangeModal';import { SheetPlugin } from '../SheetPlugin';diff --git a/packages/base-sheets/src/Controller/ToolBarController.ts b/packages/base-sheets/src/Controller/ToolBarController.tsindex c9ae4bb2e9..7f48d45191 100644--- a/packages/base-sheets/src/Controller/ToolBarController.ts+++ b/packages/base-sheets/src/Controller/ToolBarController.ts@@ -1,5 +1,5 @@-import { Range, HorizontalAlign, VerticalAlign, WrapStrategy, DEFAULT_STYLES, BorderType } from '@univer/core';-import { ColorPicker } from '@univer/style-univer';+import { Range, HorizontalAlign, VerticalAlign, WrapStrategy, DEFAULT_STYLES, BorderType } from '@univerjs/core';+import { ColorPicker } from '@univerjs/style-univer';import { SheetPlugin } from '../SheetPlugin';import { SelectionControl } from './Selection/SelectionController';diff --git a/packages/base-sheets/src/Model/Action/SetSelectionValueAction.ts b/packages/base-sheets/src/Model/Action/SetSelectionValueAction.tsindex a8e12d3e74..00498b1350 100644--- a/packages/base-sheets/src/Model/Action/SetSelectionValueAction.ts+++ b/packages/base-sheets/src/Model/Action/SetSelectionValueAction.ts@@ -1,4 +1,4 @@-import { SheetActionBase, ActionObservers, ActionType, ISheetActionData, ICellInfo, ISelection, Nullable, Workbook } from '@univer/core';+import { SheetActionBase, ActionObservers, ActionType, ISheetActionData, ICellInfo, ISelection, Nullable, Workbook } from '@univerjs/core';import { ACTION_NAMES } from '../../Basics';import { SetSelectionValue } from '../Apply/SetSelectionValue';diff --git a/packages/base-sheets/src/Model/AntLineModel.ts b/packages/base-sheets/src/Model/AntLineModel.tsindex c4d12043ca..ecfa23a957 100644--- a/packages/base-sheets/src/Model/AntLineModel.ts+++ b/packages/base-sheets/src/Model/AntLineModel.ts@@ -1,5 +1,5 @@-import { Rect } from '@univer/base-render';-import { IRangeData, Nullable } from '@univer/core';+import { Rect } from '@univerjs/base-render';+import { IRangeData, Nullable } from '@univerjs/core';export interface IAntLineRange extends IRangeData {id?: string;diff --git a/packages/base-sheets/src/Model/Apply/SetSelectionValue.ts b/packages/base-sheets/src/Model/Apply/SetSelectionValue.tsindex 344ef7e2b3..c56504c2a0 100644--- a/packages/base-sheets/src/Model/Apply/SetSelectionValue.ts+++ b/packages/base-sheets/src/Model/Apply/SetSelectionValue.ts@@ -1,4 +1,4 @@-import { PLUGIN_NAMES, Worksheet } from '@univer/core';+import { PLUGIN_NAMES, Worksheet } from '@univerjs/core';import { SheetPlugin } from '../..';import { ISelectionModelValue } from '../Action/SetSelectionValueAction';diff --git a/packages/base-sheets/src/Model/RightMenuModel.ts b/packages/base-sheets/src/Model/RightMenuModel.tsindex 47791820b6..00808d2dcb 100644--- a/packages/base-sheets/src/Model/RightMenuModel.ts+++ b/packages/base-sheets/src/Model/RightMenuModel.ts@@ -1,4 +1,4 @@-import { BaseMenuItem } from '@univer/base-component';+import { BaseMenuItem } from '@univerjs/base-component';import { BaseSelectChildrenProps } from '../View/UI/Common/Select/Select';export interface CustomLabelOptions extends BaseSelectChildrenProps {diff --git a/packages/base-sheets/src/Model/SelectionModel.ts b/packages/base-sheets/src/Model/SelectionModel.tsindex 8e6719caa7..eaa8845558 100644--- a/packages/base-sheets/src/Model/SelectionModel.ts+++ b/packages/base-sheets/src/Model/SelectionModel.ts@@ -1,4 +1,4 @@-import { ICellInfo, ISelection, Nullable, makeCellToSelection } from '@univer/core';+import { ICellInfo, ISelection, Nullable, makeCellToSelection } from '@univerjs/core';import { SELECTION_TYPE } from '../Controller/Selection/SelectionController';import { SheetPlugin } from '../SheetPlugin';diff --git a/packages/base-sheets/src/SheetPlugin.tsx b/packages/base-sheets/src/SheetPlugin.tsxindex 03e74a2d4f..65570a6d60 100644--- a/packages/base-sheets/src/SheetPlugin.tsx+++ b/packages/base-sheets/src/SheetPlugin.tsx@@ -1,5 +1,5 @@-import { getRefElement, isElement, ISlotProps, RefObject, render } from '@univer/base-component';-import { Engine, RenderEngine } from '@univer/base-render';+import { getRefElement, isElement, ISlotProps, RefObject, render } from '@univerjs/base-component';+import { Engine, RenderEngine } from '@univerjs/base-render';import {AsyncFunction,SheetContext,@@ -12,7 +12,7 @@ import {SheetActionBase,ACTION_NAMES,ISetNamedRangeActionData,-} from '@univer/core';+} from '@univerjs/core';import { install, SheetPluginObserve, uninstall } from './Basics/Observer';import { RightMenuProps } from './Model/RightMenuModel';diff --git "a/packages/base-sheets/src/SheetPlugin\345\211\257\346\234\254.tsx" "b/packages/base-sheets/src/SheetPlugin\345\211\257\346\234\254.tsx"index c2367bd630..26bf827b76 100644--- "a/packages/base-sheets/src/SheetPlugin\345\211\257\346\234\254.tsx"+++ "b/packages/base-sheets/src/SheetPlugin\345\211\257\346\234\254.tsx"@@ -1,6 +1,6 @@-import { BaseComponentPlugin } from '@univer/base-component';-import { Engine, RenderEngine } from '@univer/base-render';-import { SheetContext, Plugin, PLUGIN_NAMES } from '@univer/core';+import { BaseComponentPlugin } from '@univerjs/base-component';+import { Engine, RenderEngine } from '@univerjs/base-render';+import { SheetContext, Plugin, PLUGIN_NAMES } from '@univerjs/core';import { SheetPluginObserve, uninstall } from './Basics/Observer';import { RightMenuProps } from './Model/RightMenuModel';diff --git a/packages/base-sheets/src/Types/index.d.ts b/packages/base-sheets/src/Types/index.d.tsindex 0f79633960..fc52974669 100644--- a/packages/base-sheets/src/Types/index.d.ts+++ b/packages/base-sheets/src/Types/index.d.ts@@ -1,10 +1,10 @@/// <reference types="vite/client" />export * from '../index';-declare module '@univer/base-sheets' {}+declare module '@univerjs/base-sheets' {}// use css moduledeclare module '*.less' {const resource: { [key: string]: string };export = resource;-}\ No newline at end of file+}diff --git a/packages/base-sheets/src/View/Render/BaseView.ts b/packages/base-sheets/src/View/Render/BaseView.tsindex 508c49f321..72a1175b13 100644--- a/packages/base-sheets/src/View/Render/BaseView.ts+++ b/packages/base-sheets/src/View/Render/BaseView.ts@@ -1,5 +1,5 @@-import { Scene } from '@univer/base-render';-import { Registry, Worksheet } from '@univer/core';+import { Scene } from '@univerjs/base-render';+import { Registry, Worksheet } from '@univerjs/core';import { SheetPlugin } from '../../SheetPlugin';export class BaseView {diff --git a/packages/base-sheets/src/View/Render/CanvasView.ts b/packages/base-sheets/src/View/Render/CanvasView.tsindex 5a4c5a04e9..7e42ba89dd 100644--- a/packages/base-sheets/src/View/Render/CanvasView.ts+++ b/packages/base-sheets/src/View/Render/CanvasView.ts@@ -1,5 +1,5 @@-import { Engine, EVENT_TYPE, IScrollObserverParam, IWheelEvent, Layer, Scene, ScrollBar, Viewport } from '@univer/base-render';-import { EventState, Worksheet } from '@univer/core';+import { Engine, EVENT_TYPE, IScrollObserverParam, IWheelEvent, Layer, Scene, ScrollBar, Viewport } from '@univerjs/base-render';+import { EventState, Worksheet } from '@univerjs/core';import { BaseView, CANVAS_VIEW_KEY, CanvasViewRegistry } from './BaseView';import { SheetView } from './Views/SheetView';import './Views';diff --git a/packages/base-sheets/src/View/Render/Views/OtherViewTest.ts b/packages/base-sheets/src/View/Render/Views/OtherViewTest.tsindex 0d04df08a9..2fb0849569 100644--- a/packages/base-sheets/src/View/Render/Views/OtherViewTest.ts+++ b/packages/base-sheets/src/View/Render/Views/OtherViewTest.ts@@ -1,4 +1,4 @@-import { getColor, Path, Picture, Rect, Circle, RichText, Scene } from '@univer/base-render';+import { getColor, Path, Picture, Rect, Circle, RichText, Scene } from '@univerjs/base-render';import {BaselineOffset,BlockType,@@ -11,7 +11,7 @@ import {ParagraphElementType,PositionedObjectLayoutType,WrapTextType,-} from '@univer/core';+} from '@univerjs/core';import { SheetPlugin } from '../../../SheetPlugin';import { BaseView } from '../BaseView';diff --git a/packages/base-sheets/src/View/Render/Views/SceneViewerTestView.ts b/packages/base-sheets/src/View/Render/Views/SceneViewerTestView.tsindex 87f6e90be5..d253e9a3e2 100644--- a/packages/base-sheets/src/View/Render/Views/SceneViewerTestView.ts+++ b/packages/base-sheets/src/View/Render/Views/SceneViewerTestView.ts@@ -13,8 +13,8 @@ import {SpreadsheetRowTitle,SpreadsheetSkeleton,Viewport,-} from '@univer/base-render';-import { EventState, Worksheet } from '@univer/core';+} from '@univerjs/base-render';+import { EventState, Worksheet } from '@univerjs/core';import { SheetPlugin } from '../../../SheetPlugin';import { BaseView } from '../BaseView';diff --git a/packages/base-sheets/src/View/Render/Views/SheetView.ts b/packages/base-sheets/src/View/Render/Views/SheetView.tsindex 6cec88dacb..0ab97a03b7 100644--- a/packages/base-sheets/src/View/Render/Views/SheetView.ts+++ b/packages/base-sheets/src/View/Render/Views/SheetView.ts@@ -1,5 +1,5 @@-import { getColor, Rect, Scene, Spreadsheet, SpreadsheetColumnTitle, SpreadsheetRowTitle, SpreadsheetSkeleton } from '@univer/base-render';-import { Worksheet } from '@univer/core';+import { getColor, Rect, Scene, Spreadsheet, SpreadsheetColumnTitle, SpreadsheetRowTitle, SpreadsheetSkeleton } from '@univerjs/base-render';+import { Worksheet } from '@univerjs/core';import { BaseView, CANVAS_VIEW_KEY, CanvasViewRegistry } from '../BaseView';import { SelectionManager } from '../../../Controller/Selection/SelectionManager';import { SheetPlugin } from '../../../SheetPlugin';diff --git a/packages/base-sheets/src/View/Render/Views/TestView.ts b/packages/base-sheets/src/View/Render/Views/TestView.tsindex 05baa1993f..8c3a5ba6b0 100644--- a/packages/base-sheets/src/View/Render/Views/TestView.ts+++ b/packages/base-sheets/src/View/Render/Views/TestView.ts@@ -1,4 +1,4 @@-import { EVENT_TYPE, getColor, Rect, Scene } from '@univer/base-render';+import { EVENT_TYPE, getColor, Rect, Scene } from '@univerjs/base-render';import { SheetPlugin } from '../../../SheetPlugin';import { BaseView, CanvasViewRegistry } from '../BaseView';diff --git a/packages/base-sheets/src/View/UI/Common/CellRange/CellRange.tsx b/packages/base-sheets/src/View/UI/Common/CellRange/CellRange.tsxindex a651c74e77..b2cd30f0bf 100644--- a/packages/base-sheets/src/View/UI/Common/CellRange/CellRange.tsx+++ b/packages/base-sheets/src/View/UI/Common/CellRange/CellRange.tsx@@ -1,4 +1,4 @@-import { BaseComponentRender, BaseComponentSheet, Component, createRef, ModalButtonGroup } from '@univer/base-component';+import { BaseComponentRender, BaseComponentSheet, Component, createRef, ModalButtonGroup } from '@univerjs/base-component';import styles from './index.module.less';interface CellRangeProps {diff --git a/packages/base-sheets/src/View/UI/Common/CellRange/CellRangeModal.tsx b/packages/base-sheets/src/View/UI/Common/CellRange/CellRangeModal.tsxindex ecfbef2564..84fc014c04 100644--- a/packages/base-sheets/src/View/UI/Common/CellRange/CellRangeModal.tsx+++ b/packages/base-sheets/src/View/UI/Common/CellRange/CellRangeModal.tsx@@ -1,5 +1,5 @@-import { BaseComponentRender, BaseComponentSheet, Component, createRef } from '@univer/base-component';-import { PLUGIN_NAMES } from '@univer/core';+import { BaseComponentRender, BaseComponentSheet, Component, createRef } from '@univerjs/base-component';+import { PLUGIN_NAMES } from '@univerjs/core';interface childrenProps {placeholder?: string;diff --git a/packages/base-sheets/src/View/UI/Common/ColorSelect/ColorSelect.tsx b/packages/base-sheets/src/View/UI/Common/ColorSelect/ColorSelect.tsxindex 4b9c7081e0..379fa931e9 100644--- a/packages/base-sheets/src/View/UI/Common/ColorSelect/ColorSelect.tsx+++ b/packages/base-sheets/src/View/UI/Common/ColorSelect/ColorSelect.tsx@@ -1,5 +1,5 @@-import { Component, ComponentChildren } from '@univer/base-component';-import { PLUGIN_NAMES } from '@univer/core';+import { Component, ComponentChildren } from '@univerjs/base-component';+import { PLUGIN_NAMES } from '@univerjs/core';import { SheetPlugin } from '../../../../SheetPlugin';import styles from './index.module.less';diff --git a/packages/base-sheets/src/View/UI/Common/Item/Item.tsx b/packages/base-sheets/src/View/UI/Common/Item/Item.tsxindex 9cf4971765..3695f5f445 100644--- a/packages/base-sheets/src/View/UI/Common/Item/Item.tsx+++ b/packages/base-sheets/src/View/UI/Common/Item/Item.tsx@@ -1,4 +1,4 @@-import { BaseComponentRender, BaseComponentSheet, BaseMenuItem, Component, ComponentChildren, joinClassNames } from '@univer/base-component';+import { BaseComponentRender, BaseComponentSheet, BaseMenuItem, Component, ComponentChildren, joinClassNames } from '@univerjs/base-component';import styles from './index.module.less';export interface BaseItemProps extends BaseMenuItem {diff --git a/packages/base-sheets/src/View/UI/Common/Line/LineBold.tsx b/packages/base-sheets/src/View/UI/Common/Line/LineBold.tsxindex 7b9cf78f88..74682df052 100644--- a/packages/base-sheets/src/View/UI/Common/Line/LineBold.tsx+++ b/packages/base-sheets/src/View/UI/Common/Line/LineBold.tsx@@ -1,4 +1,4 @@-import { BaseComponentRender, BaseComponentSheet, Component } from '@univer/base-component';+import { BaseComponentRender, BaseComponentSheet, Component } from '@univerjs/base-component';interface IState {img: string;diff --git a/packages/base-sheets/src/View/UI/Common/Line/LineColor.tsx b/packages/base-sheets/src/View/UI/Common/Line/LineColor.tsxindex 5bad8cedc5..9df3f572e7 100644--- a/packages/base-sheets/src/View/UI/Common/Line/LineColor.tsx+++ b/packages/base-sheets/src/View/UI/Common/Line/LineColor.tsx@@ -1,4 +1,4 @@-import { BaseComponentRender, BaseComponentSheet, Component } from '@univer/base-component';+import { BaseComponentRender, BaseComponentSheet, Component } from '@univerjs/base-component';interface IState {color: string;diff --git a/packages/base-sheets/src/View/UI/Common/Select/Select.tsx b/packages/base-sheets/src/View/UI/Common/Select/Select.tsxindex e24fc2c6d8..bf4e9edc96 100644--- a/packages/base-sheets/src/View/UI/Common/Select/Select.tsx+++ b/packages/base-sheets/src/View/UI/Common/Select/Select.tsx@@ -1,5 +1,5 @@-import { BaseComponentRender, BaseComponentSheet, BaseMenuItem, Component, ComponentChildren } from '@univer/base-component';-import { Dropdown } from '@univer/style-univer';+import { BaseComponentRender, BaseComponentSheet, BaseMenuItem, Component, ComponentChildren } from '@univerjs/base-component';+import { Dropdown } from '@univerjs/style-univer';import { BaseItemProps, Item } from '../Item/Item';import styles from './index.module.less';diff --git a/packages/base-sheets/src/View/UI/Common/TextButton/TextButton.tsx b/packages/base-sheets/src/View/UI/Common/TextButton/TextButton.tsxindex 3f02180906..56d574035b 100644--- a/packages/base-sheets/src/View/UI/Common/TextButton/TextButton.tsx+++ b/packages/base-sheets/src/View/UI/Common/TextButton/TextButton.tsx@@ -1,4 +1,4 @@-import { BaseComponentRender, BaseComponentSheet, Component, ComponentChildren } from '@univer/base-component';+import { BaseComponentRender, BaseComponentSheet, Component, ComponentChildren } from '@univerjs/base-component';import styles from './index.module.less';export interface BaseTextButtonProps {diff --git a/packages/base-sheets/src/View/UI/CountBar/CountBar.tsx b/packages/base-sheets/src/View/UI/CountBar/CountBar.tsxindex edaaa1438c..533f0f4a26 100644--- a/packages/base-sheets/src/View/UI/CountBar/CountBar.tsx+++ b/packages/base-sheets/src/View/UI/CountBar/CountBar.tsx@@ -1,5 +1,5 @@-import { BaseCountBarProps, Component, CountBarComponent, createRef, JSXComponent } from '@univer/base-component';-import { PLUGIN_NAMES } from '@univer/core';+import { BaseCountBarProps, Component, CountBarComponent, createRef, JSXComponent } from '@univerjs/base-component';+import { PLUGIN_NAMES } from '@univerjs/core';import styles from './index.module.less';// type CountProps = {};diff --git a/packages/base-sheets/src/View/UI/FormulaBar/FormulaBar.tsx b/packages/base-sheets/src/View/UI/FormulaBar/FormulaBar.tsxindex 51bd7f0f50..e84007584d 100644--- a/packages/base-sheets/src/View/UI/FormulaBar/FormulaBar.tsx+++ b/packages/base-sheets/src/View/UI/FormulaBar/FormulaBar.tsx@@ -1,4 +1,4 @@-import { BaseComponentProps, BaseComponentRender, BaseComponentSheet, Component, debounce } from '@univer/base-component';+import { BaseComponentProps, BaseComponentRender, BaseComponentSheet, Component, debounce } from '@univerjs/base-component';import { BaseSelectChildrenProps, Select } from '../Common/Select/Select';import styles from './index.module.less';diff --git a/packages/base-sheets/src/View/UI/InfoBar/InfoBar.tsx b/packages/base-sheets/src/View/UI/InfoBar/InfoBar.tsxindex ddd318900e..6bd791d2b9 100644--- a/packages/base-sheets/src/View/UI/InfoBar/InfoBar.tsx+++ b/packages/base-sheets/src/View/UI/InfoBar/InfoBar.tsx@@ -1,5 +1,5 @@-import { BaseComponentRender, BaseComponentSheet, Component } from '@univer/base-component';-import { Nullable, PLUGIN_NAMES } from '@univer/core';+import { BaseComponentRender, BaseComponentSheet, Component } from '@univerjs/base-component';+import { Nullable, PLUGIN_NAMES } from '@univerjs/core';import { BaseInfoBarProps } from '../../../Controller/InfoBarController';import styles from './index.module.less';diff --git a/packages/base-sheets/src/View/UI/ModalGroup/ModalGroup.tsx b/packages/base-sheets/src/View/UI/ModalGroup/ModalGroup.tsxindex 351be05247..974edc2f63 100644--- a/packages/base-sheets/src/View/UI/ModalGroup/ModalGroup.tsx+++ b/packages/base-sheets/src/View/UI/ModalGroup/ModalGroup.tsx@@ -1,5 +1,5 @@-import { Component } from '@univer/base-component';-import { PLUGIN_NAMES } from '@univer/core';+import { Component } from '@univerjs/base-component';+import { PLUGIN_NAMES } from '@univerjs/core';import { ModalGroupProps } from '../../../Controller/ModalGroupController';import { SheetPlugin } from '../../../SheetPlugin';diff --git a/packages/base-sheets/src/View/UI/RichText/CellTextStyle.ts b/packages/base-sheets/src/View/UI/RichText/CellTextStyle.tsindex 56a4943c8d..4cb6536623 100644--- a/packages/base-sheets/src/View/UI/RichText/CellTextStyle.ts+++ b/packages/base-sheets/src/View/UI/RichText/CellTextStyle.ts@@ -1,5 +1,5 @@-import { $$, selectTextContent, selectTextContentCross, textTrim } from '@univer/base-component';-import { Color } from '@univer/core';+import { $$, selectTextContent, selectTextContentCross, textTrim } from '@univerjs/base-component';+import { Color } from '@univerjs/core';import styles from './index.module.less';interface IStyleSetting {diff --git a/packages/base-sheets/src/View/UI/RichText/RichText.tsx b/packages/base-sheets/src/View/UI/RichText/RichText.tsxindex a2f513d569..3c67b52db2 100644--- a/packages/base-sheets/src/View/UI/RichText/RichText.tsx+++ b/packages/base-sheets/src/View/UI/RichText/RichText.tsx@@ -1,5 +1,5 @@-import { Component, createRef, xssDeal } from '@univer/base-component';-// import { CellInputHandler } from '@univer/sheets-plugin-formula/src/Controller/CellInputHandler';+import { Component, createRef, xssDeal } from '@univerjs/base-component';+// import { CellInputHandler } from '@univerjs/sheets-plugin-formula/src/Controller/CellInputHandler';import { CellTextStyle } from './CellTextStyle';import styles from './index.module.less';// interface IProps {diff --git a/packages/base-sheets/src/View/UI/RightMenu/RightMenu.tsx b/packages/base-sheets/src/View/UI/RightMenu/RightMenu.tsxindex 13577e13f1..4e0e9dffa6 100644--- a/packages/base-sheets/src/View/UI/RightMenu/RightMenu.tsx+++ b/packages/base-sheets/src/View/UI/RightMenu/RightMenu.tsx@@ -1,6 +1,6 @@-import { BaseComponentRender, BaseComponentSheet, BaseRightMenuProps, Component, createRef } from '@univer/base-component';-import { IMouseEvent } from '@univer/base-render';-import { PLUGIN_NAMES } from '@univer/core';+import { BaseComponentRender, BaseComponentSheet, BaseRightMenuProps, Component, createRef } from '@univerjs/base-component';+import { IMouseEvent } from '@univerjs/base-render';+import { PLUGIN_NAMES } from '@univerjs/core';import Style from './index.module.less';import { SheetPlugin } from '../../../SheetPlugin';import { RightMenuProps } from '../../../Model';diff --git a/packages/base-sheets/src/View/UI/RightMenu/RightMenuButton.tsx b/packages/base-sheets/src/View/UI/RightMenu/RightMenuButton.tsxindex 8e17ccf21c..7965f355ef 100644--- a/packages/base-sheets/src/View/UI/RightMenu/RightMenuButton.tsx+++ b/packages/base-sheets/src/View/UI/RightMenu/RightMenuButton.tsx@@ -1,4 +1,4 @@-import { BaseComponentRender, BaseComponentSheet, Component } from '@univer/base-component';+import { BaseComponentRender, BaseComponentSheet, Component } from '@univerjs/base-component';interface IProps {label: string;diff --git a/packages/base-sheets/src/View/UI/RightMenu/RightMenuInput.tsx b/packages/base-sheets/src/View/UI/RightMenu/RightMenuInput.tsxindex 1ea5da28ed..d8fe08c53b 100644--- a/packages/base-sheets/src/View/UI/RightMenu/RightMenuInput.tsx+++ b/packages/base-sheets/src/View/UI/RightMenu/RightMenuInput.tsx@@ -1,4 +1,4 @@-import { BaseComponentRender, BaseComponentSheet, Component } from '@univer/base-component';+import { BaseComponentRender, BaseComponentSheet, Component } from '@univerjs/base-component';interface IProps {prefix: string[];diff --git a/packages/base-sheets/src/View/UI/RightMenu/RightMenuItem.tsx b/packages/base-sheets/src/View/UI/RightMenu/RightMenuItem.tsxindex 0ff09723a7..175f86a271 100644--- a/packages/base-sheets/src/View/UI/RightMenu/RightMenuItem.tsx+++ b/packages/base-sheets/src/View/UI/RightMenu/RightMenuItem.tsx@@ -1,4 +1,4 @@-import { BaseComponentRender, BaseComponentSheet, Component } from '@univer/base-component';+import { BaseComponentRender, BaseComponentSheet, Component } from '@univerjs/base-component';import styles from './index.module.less';interface IProps {diff --git a/packages/base-sheets/src/View/UI/RightMenu/RightMenuSelect.tsx b/packages/base-sheets/src/View/UI/RightMenu/RightMenuSelect.tsxindex ef4681b456..8bfb90b915 100644--- a/packages/base-sheets/src/View/UI/RightMenu/RightMenuSelect.tsx+++ b/packages/base-sheets/src/View/UI/RightMenu/RightMenuSelect.tsx@@ -1,4 +1,4 @@-import { BaseComponentRender, BaseComponentSheet, Component } from '@univer/base-component';+import { BaseComponentRender, BaseComponentSheet, Component } from '@univerjs/base-component';import { CustomLabelOptions } from '../../../Model';interface IProps {diff --git a/packages/base-sheets/src/View/UI/SheetBar/SheetBar.tsx b/packages/base-sheets/src/View/UI/SheetBar/SheetBar.tsxindex d0fac65fc2..8dd4b23633 100644--- a/packages/base-sheets/src/View/UI/SheetBar/SheetBar.tsx+++ b/packages/base-sheets/src/View/UI/SheetBar/SheetBar.tsx@@ -1,6 +1,6 @@-import { BaseComponentRender, BaseComponentSheet, BaseMenuItem, BaseSheetBarProps, Component, createRef, RefObject } from '@univer/base-component';-import { Nullable, Observer, PLUGIN_NAMES, Workbook } from '@univer/core';-import { Menu } from '@univer/style-univer';+import { BaseComponentRender, BaseComponentSheet, BaseMenuItem, BaseSheetBarProps, Component, createRef, RefObject } from '@univerjs/base-component';+import { Nullable, Observer, PLUGIN_NAMES, Workbook } from '@univerjs/core';+import { Menu } from '@univerjs/style-univer';import { SlideTabBar } from '../../../Basics/SlideTabBar/SlideTabBar';import { SheetPlugin } from '../../../SheetPlugin';import styles from './index.module.less';diff --git a/packages/base-sheets/src/View/UI/SheetBar/SheetBarMenu.tsx b/packages/base-sheets/src/View/UI/SheetBar/SheetBarMenu.tsxindex 7c8dc166b6..f4f6c9c175 100644--- a/packages/base-sheets/src/View/UI/SheetBar/SheetBarMenu.tsx+++ b/packages/base-sheets/src/View/UI/SheetBar/SheetBarMenu.tsx@@ -1,4 +1,4 @@-import { BaseComponentRender, BaseComponentSheet, Component, joinClassNames, JSX } from '@univer/base-component';+import { BaseComponentRender, BaseComponentSheet, Component, joinClassNames, JSX } from '@univerjs/base-component';import styles from './index.module.less';interface SheetBarMenuItem {diff --git a/packages/base-sheets/src/View/UI/SheetContainer/SheetContainer.tsx b/packages/base-sheets/src/View/UI/SheetContainer/SheetContainer.tsxindex 1db0d46520..35f9921727 100644--- a/packages/base-sheets/src/View/UI/SheetContainer/SheetContainer.tsx+++ b/packages/base-sheets/src/View/UI/SheetContainer/SheetContainer.tsx@@ -1,9 +1,9 @@-import { Component, BaseComponentSheet, BaseComponentRender, createRef, AppContext } from '@univer/base-component';-import { PLUGIN_NAMES, Tools } from '@univer/core';-import { Container, Content, Footer, Header, Layout, Sider } from '@univer/style-univer';-import defaultSkin from '@univer/style-univer/assets/css/skin/default.module.less';-import darkSkin from '@univer/style-univer/assets/css/skin/dark.module.less';-import greenSkin from '@univer/style-univer/assets/css/skin/green.module.less';+import { Component, BaseComponentSheet, BaseComponentRender, createRef, AppContext } from '@univerjs/base-component';+import { PLUGIN_NAMES, Tools } from '@univerjs/core';+import { Container, Content, Footer, Header, Layout, Sider } from '@univerjs/style-univer';+import defaultSkin from '@univerjs/style-univer/assets/css/skin/default.module.less';+import darkSkin from '@univerjs/style-univer/assets/css/skin/dark.module.less';+import greenSkin from '@univerjs/style-univer/assets/css/skin/green.module.less';import cssVars from 'css-vars-ponyfill';// app context for skin and Localediff --git a/packages/base-sheets/src/View/UI/SideGroup/SideGroup.tsx b/packages/base-sheets/src/View/UI/SideGroup/SideGroup.tsxindex 9290ab9a27..98c591fa7d 100644--- a/packages/base-sheets/src/View/UI/SideGroup/SideGroup.tsx+++ b/packages/base-sheets/src/View/UI/SideGroup/SideGroup.tsx@@ -1,5 +1,5 @@-import { Component } from '@univer/base-component';-import { PLUGIN_NAMES } from '@univer/core';+import { Component } from '@univerjs/base-component';+import { PLUGIN_NAMES } from '@univerjs/core';import { SideProps } from '../../../Controller/SideGroupController';import { SheetPlugin } from '../../../SheetPlugin';diff --git a/packages/base-sheets/src/View/UI/ToolBar/SingleButton.tsx b/packages/base-sheets/src/View/UI/ToolBar/SingleButton.tsxindex 1b19e72bbb..a55584be11 100644--- a/packages/base-sheets/src/View/UI/ToolBar/SingleButton.tsx+++ b/packages/base-sheets/src/View/UI/ToolBar/SingleButton.tsx@@ -1,5 +1,5 @@-import { BaseSingleButtonProps, Component, JSXComponent, SingleButtonComponent } from '@univer/base-component';-import { Button, Tooltip } from '@univer/style-univer';+import { BaseSingleButtonProps, Component, JSXComponent, SingleButtonComponent } from '@univerjs/base-component';+import { Button, Tooltip } from '@univerjs/style-univer';import styles from './index.module.less';diff --git a/packages/base-sheets/src/View/UI/ToolBar/ToolBar-zh.md b/packages/base-sheets/src/View/UI/ToolBar/ToolBar-zh.mdindex 517ea3b0a6..b298cd0f56 100644--- a/packages/base-sheets/src/View/UI/ToolBar/ToolBar-zh.md+++ b/packages/base-sheets/src/View/UI/ToolBar/ToolBar-zh.md@@ -75,7 +75,7 @@ cover: ''## 案例```jsx-import { ToolBar } from '@univer/style-univer';+import { ToolBar } from '@univerjs/style-univer';const SheetContainer = () => {return (diff --git a/packages/base-sheets/src/View/UI/ToolBar/ToolBar.tsx b/packages/base-sheets/src/View/UI/ToolBar/ToolBar.tsxindex 28a0e3298d..616897a31d 100644--- a/packages/base-sheets/src/View/UI/ToolBar/ToolBar.tsx+++ b/packages/base-sheets/src/View/UI/ToolBar/ToolBar.tsx@@ -1,5 +1,5 @@-import { BaseComponentProps, BaseComponentRender, BaseComponentSheet, Component, createRef, debounce } from '@univer/base-component';-import { PLUGIN_NAMES } from '@univer/core';+import { BaseComponentProps, BaseComponentRender, BaseComponentSheet, Component, createRef, debounce } from '@univerjs/base-component';+import { PLUGIN_NAMES } from '@univerjs/core';import { IToolBarItemProps } from '../../../Model/ToolBarModel';import { SheetPlugin } from '../../../SheetPlugin';import { Select } from '../Common/Select/Select';diff --git a/packages/base-sheets/src/main.tsx b/packages/base-sheets/src/main.tsxindex c1f14c81c9..92ae5cfd04 100644--- a/packages/base-sheets/src/main.tsx+++ b/packages/base-sheets/src/main.tsx@@ -1,9 +1,9 @@-import { UniverSheet } from '@univer/core';-import { RenderEngine } from '@univer/base-render';-import { UniverComponentSheet } from '@univer/style-univer';-import { NumfmtPlugin } from '@univer/sheets-plugin-numfmt';-import { DEFAULT_WORKBOOK_DATA, DEFAULT_WORKBOOK_DATA_DOWN } from '@univer/common-plugin-data';-import { DEFAULT_FORMULA_DATA, DEFAULT_FORMULA_DATA_DOWN, FormulaPlugin } from '@univer/sheets-plugin-formula';+import { UniverSheet } from '@univerjs/core';+import { RenderEngine } from '@univerjs/base-render';+import { UniverComponentSheet } from '@univerjs/style-univer';+import { NumfmtPlugin } from '@univerjs/sheets-plugin-numfmt';+import { DEFAULT_WORKBOOK_DATA, DEFAULT_WORKBOOK_DATA_DOWN } from '@univerjs/common-plugin-data';+import { DEFAULT_FORMULA_DATA_DOWN, FormulaPlugin } from '@univerjs/sheets-plugin-formula';import { SheetPlugin } from './SheetPlugin';const uiDefaultConfigUp = {diff --git a/packages/base-sheets/vite.config.ts b/packages/base-sheets/vite.config.tsindex d48d84ece5..d684cbdcc7 100644--- a/packages/base-sheets/vite.config.ts+++ b/packages/base-sheets/vite.config.ts@@ -48,10 +48,10 @@ export default defineConfig({preact(),createExternal({externals: {- '@univer/core': '@univer/core',- '@univer/base-render': '@univer/base-render',- '@univer/base-component': '@univer/base-component',- '@univer/style-univer': '@univer/style-univer',+ '@univerjs/core': '@univerjs/core',+ '@univerjs/base-render': '@univerjs/base-render',+ '@univerjs/base-component': '@univerjs/base-component',+ '@univerjs/style-univer': '@univerjs/style-univer','css-vars-ponyfill': 'css-vars-ponyfill',nanoid: 'nanoid',preact: 'preact',diff --git a/packages/base-slides/README-zh.md b/packages/base-slides/README-zh.mdindex 6f577742ad..2b109c9b05 100644--- a/packages/base-slides/README-zh.md+++ b/packages/base-slides/README-zh.md@@ -9,13 +9,13 @@ UniverSheet Slides 插件### 安装```bash-npm i @univer/base-slides+npm i @univerjs/base-slides```### 使用```js-impport {Slides} from '@univer/base-slides'+impport {Slides} from '@univerjs/base-slides'const univerSheet = new UniverSheet();univerSheet.installPlugin(new Slides());@@ -41,7 +41,7 @@ pnpm installnpm run dev# 或者项目根目录 ./-pnpm run --filter @univer/base-slides dev+pnpm run --filter @univerjs/base-slides dev```### 打包@@ -51,5 +51,5 @@ pnpm run --filter @univer/base-slides devnpm run build# 或者根目录 ./-pnpm run --filter @univer/base-slides build+pnpm run --filter @univerjs/base-slides build```diff --git a/packages/base-slides/README.md b/packages/base-slides/README.mdindex 90711250ba..151224f1a8 100644--- a/packages/base-slides/README.md+++ b/packages/base-slides/README.md@@ -9,13 +9,13 @@ UniverSheet Plugin Slides### Installation```bash-npm i @univer/base-slides+npm i @univerjs/base-slides```### Usage```js-impport {Slides} from '@univer/base-slides'+impport {Slides} from '@univerjs/base-slides'const univerSheet = new UniverSheet();univerSheet.installPlugin(new Slides());@@ -41,7 +41,7 @@ pnpm installnpm run dev# Or project root directory ./-pnpm run --filter @univer/base-slides dev+pnpm run --filter @univerjs/base-slides dev```### Package@@ -51,5 +51,5 @@ pnpm run --filter @univer/base-slides devnpm run build# Or root directory ./-pnpm run --filter @univer/base-slides build+pnpm run --filter @univerjs/base-slides build```diff --git a/packages/base-slides/package.json b/packages/base-slides/package.jsonindex 97246a9ff3..fb0231c064 100644--- a/packages/base-slides/package.json+++ b/packages/base-slides/package.json@@ -1,5 +1,5 @@{- "name": "@univer/base-slides",+ "name": "@univerjs/base-slides","version": "0.0.1","description": "UniverSheet normal base-slides","keywords": [],@@ -49,12 +49,12 @@"vite": "^2.4.4"},"dependencies": {- "@univer/base-component": "workspace:^0.0.1",- "@univer/base-render": "workspace:^0.0.1",- "@univer/base-sheets": "workspace:^0.0.1",- "@univer/common-plugin-data": "workspace:^0.0.1",- "@univer/core": "workspace:^0.0.1",- "@univer/style-univer": "workspace:^0.0.1",+ "@univerjs/base-component": "workspace:^0.0.1",+ "@univerjs/base-render": "workspace:^0.0.1",+ "@univerjs/base-sheets": "workspace:^0.0.1",+ "@univerjs/common-plugin-data": "workspace:^0.0.1",+ "@univerjs/core": "workspace:^0.0.1",+ "@univerjs/style-univer": "workspace:^0.0.1","css-vars-ponyfill": "^2.4.6","preact": "^10.5.14"}diff --git a/packages/base-slides/src/Basic/DemoData.ts b/packages/base-slides/src/Basic/DemoData.tsindex e497d1c745..19d94405d5 100644--- a/packages/base-slides/src/Basic/DemoData.ts+++ b/packages/base-slides/src/Basic/DemoData.ts@@ -10,7 +10,7 @@ import {ParagraphElementType,PositionedObjectLayoutType,WrapTextType,-} from '@univer/core';+} from '@univerjs/core';export const docsDemoData: IDocumentData = {documentId: 'd',diff --git a/packages/base-slides/src/Basic/Observer.ts b/packages/base-slides/src/Basic/Observer.tsindex a27f79260f..fc0d7424d6 100644--- a/packages/base-slides/src/Basic/Observer.ts+++ b/packages/base-slides/src/Basic/Observer.ts@@ -1,5 +1,5 @@-import { IKeyboardEvent } from '@univer/base-render';-import { Observable, Plugin } from '@univer/core';+import { IKeyboardEvent } from '@univerjs/base-render';+import { Observable, Plugin } from '@univerjs/core';import { SlideContainer } from '../View/UI/SlideContainer';import { SlideBar } from '../View/UI/SlideBar/SlideBar';import { ToolBar } from '../View/UI/ToolBar/ToolBar';diff --git a/packages/base-slides/src/Controller/InfoBarController.ts b/packages/base-slides/src/Controller/InfoBarController.tsindex b96fa24aa5..82c0b5877e 100644--- a/packages/base-slides/src/Controller/InfoBarController.ts+++ b/packages/base-slides/src/Controller/InfoBarController.ts@@ -1,4 +1,4 @@-import { PLUGIN_NAMES } from '@univer/core';+import { PLUGIN_NAMES } from '@univerjs/core';import { InfoBarModel } from '../Model/InfoBarModel';import { SlidePlugin } from '../SlidePlugin';import { InfoBar } from '../View/UI/InfoBar';diff --git a/packages/base-slides/src/Controller/SlideBarController.ts b/packages/base-slides/src/Controller/SlideBarController.tsindex 9f264be4da..7b443b4a8d 100644--- a/packages/base-slides/src/Controller/SlideBarController.ts+++ b/packages/base-slides/src/Controller/SlideBarController.ts@@ -1,4 +1,4 @@-import { ISlidePage, PLUGIN_NAMES } from '@univer/core';+import { ISlidePage, PLUGIN_NAMES } from '@univerjs/core';import { SlidePlugin } from '../SlidePlugin';import { SlideBar } from '../View/UI/SlideBar/SlideBar';diff --git a/packages/base-slides/src/Controller/SlideController.ts b/packages/base-slides/src/Controller/SlideController.tsindex 9f6a1c1d13..1ac6abf301 100644--- a/packages/base-slides/src/Controller/SlideController.ts+++ b/packages/base-slides/src/Controller/SlideController.ts@@ -1,4 +1,4 @@-import { BooleanNumber, CommandManager } from '@univer/core';+import { BooleanNumber, CommandManager } from '@univerjs/core';import { SlidePlugin } from '../SlidePlugin';export class SlideController {diff --git a/packages/base-slides/src/Controller/ToolBarController.ts b/packages/base-slides/src/Controller/ToolBarController.tsindex 08b34e9afb..ae4fbf0fb6 100644--- a/packages/base-slides/src/Controller/ToolBarController.ts+++ b/packages/base-slides/src/Controller/ToolBarController.ts@@ -1,6 +1,6 @@-import { BaseComponentRender, BaseComponentSheet } from '@univer/base-component';-import { Tools, BorderType, BorderStyleTypes, HorizontalAlign, VerticalAlign, WrapStrategy, DEFAULT_STYLES } from '@univer/core';-import { ColorPicker } from '@univer/style-univer';+import { BaseComponentRender, BaseComponentSheet } from '@univerjs/base-component';+import { Tools, BorderType, BorderStyleTypes, HorizontalAlign, VerticalAlign, WrapStrategy, DEFAULT_STYLES } from '@univerjs/core';+import { ColorPicker } from '@univerjs/style-univer';import { SlidePlugin } from '../SlidePlugin';import { defaultLayout, ILayout } from '../View/UI/SlideContainer';diff --git a/packages/base-slides/src/SlidePlugin.tsx b/packages/base-slides/src/SlidePlugin.tsxindex 55e0e6b996..4368f2752b 100644--- a/packages/base-slides/src/SlidePlugin.tsx+++ b/packages/base-slides/src/SlidePlugin.tsx@@ -1,6 +1,6 @@-import { SlideContext, Plugin, PLUGIN_NAMES, UniverSheet, Tools, AsyncFunction } from '@univer/core';-import { getRefElement, isElement, ISlotProps, RefObject, render } from '@univer/base-component';-import { Engine, RenderEngine } from '@univer/base-render';+import { SlideContext, Plugin, PLUGIN_NAMES, UniverSheet, Tools, AsyncFunction } from '@univerjs/core';+import { getRefElement, isElement, ISlotProps, RefObject, render } from '@univerjs/base-component';+import { Engine, RenderEngine } from '@univerjs/base-render';import { zh, en } from './Locale';import { install, SlidePluginObserve } from './Basic/Observer';import { ToolBarController } from './Controller/ToolBarController';diff --git a/packages/base-slides/src/Types/index.d.ts b/packages/base-slides/src/Types/index.d.tsindex 9ea4b464b9..9b34ccf920 100644--- a/packages/base-slides/src/Types/index.d.ts+++ b/packages/base-slides/src/Types/index.d.ts@@ -1,10 +1,10 @@/// <reference types="vite/client" />export * from '../index';-declare module '@univer/base-slides' { }+declare module '@univerjs/base-slides' {}// use css moduledeclare module '*.less' {const resource: { [key: string]: string };export = resource;-}\ No newline at end of file+}diff --git a/packages/base-slides/src/View/Render/Adaptor.ts b/packages/base-slides/src/View/Render/Adaptor.tsindex eb9941734e..dcb3f128c0 100644--- a/packages/base-slides/src/View/Render/Adaptor.ts+++ b/packages/base-slides/src/View/Render/Adaptor.ts@@ -1,5 +1,5 @@-import { Scene } from '@univer/base-render';-import { ContextBase, IPageElement, PageElementType, Registry } from '@univer/core';+import { Scene } from '@univerjs/base-render';+import { ContextBase, IPageElement, PageElementType, Registry } from '@univerjs/core';export class ObjectAdaptor {zIndex = 0;diff --git a/packages/base-slides/src/View/Render/Adaptors/DocsAdaptor.ts b/packages/base-slides/src/View/Render/Adaptors/DocsAdaptor.tsindex cc7fd9bbd3..a6c842d060 100644--- a/packages/base-slides/src/View/Render/Adaptors/DocsAdaptor.ts+++ b/packages/base-slides/src/View/Render/Adaptors/DocsAdaptor.ts@@ -12,8 +12,8 @@ import {SceneViewer,ScrollBar,Viewport,-} from '@univer/base-render';-import { ContextBase, DocContext, EventState, IPageElement, PageElementType } from '@univer/core';+} from '@univerjs/base-render';+import { ContextBase, DocContext, EventState, IPageElement, PageElementType } from '@univerjs/core';import { ObjectAdaptor, CanvasObjectProviderRegistry } from '../Adaptor';export enum DOCS_VIEW_KEY {diff --git a/packages/base-slides/src/View/Render/Adaptors/ImageAdaptor.ts b/packages/base-slides/src/View/Render/Adaptors/ImageAdaptor.tsindex 7461f1ac84..b00a8f5ff9 100644--- a/packages/base-slides/src/View/Render/Adaptors/ImageAdaptor.ts+++ b/packages/base-slides/src/View/Render/Adaptors/ImageAdaptor.ts@@ -1,5 +1,5 @@-import { Picture } from '@univer/base-render';-import { IPageElement, PageElementType } from '@univer/core';+import { Picture } from '@univerjs/base-render';+import { IPageElement, PageElementType } from '@univerjs/core';import { ObjectAdaptor, CanvasObjectProviderRegistry } from '../Adaptor';export class ImageAdaptor extends ObjectAdaptor {diff --git a/packages/base-slides/src/View/Render/Adaptors/RichTextAdaptor.ts b/packages/base-slides/src/View/Render/Adaptors/RichTextAdaptor.tsindex fc728116e0..eb9e4b6f89 100644--- a/packages/base-slides/src/View/Render/Adaptors/RichTextAdaptor.ts+++ b/packages/base-slides/src/View/Render/Adaptors/RichTextAdaptor.ts@@ -1,5 +1,5 @@-import { IRichTextProps, RichText, Scene } from '@univer/base-render';-import { ContextBase, IPageElement, PageElementType } from '@univer/core';+import { IRichTextProps, RichText, Scene } from '@univerjs/base-render';+import { ContextBase, IPageElement, PageElementType } from '@univerjs/core';import { ObjectAdaptor, CanvasObjectProviderRegistry } from '../Adaptor';diff --git a/packages/base-slides/src/View/Render/Adaptors/ShapeAdaptor.ts b/packages/base-slides/src/View/Render/Adaptors/ShapeAdaptor.tsindex 4e885dc090..2b8c19705d 100644--- a/packages/base-slides/src/View/Render/Adaptors/ShapeAdaptor.ts+++ b/packages/base-slides/src/View/Render/Adaptors/ShapeAdaptor.ts@@ -1,5 +1,5 @@-import { Rect, Shape } from '@univer/base-render';-import { getColorStyle, IPageElement, PageElementType, ShapeType } from '@univer/core';+import { Rect, Shape } from '@univerjs/base-render';+import { getColorStyle, IPageElement, PageElementType, ShapeType } from '@univerjs/core';import { ObjectAdaptor, CanvasObjectProviderRegistry } from '../Adaptor';export class ShapeAdaptor extends ObjectAdaptor {diff --git a/packages/base-slides/src/View/Render/Adaptors/SlideAdaptor.ts b/packages/base-slides/src/View/Render/Adaptors/SlideAdaptor.tsindex c36bcd9272..f8715bcc2d 100644--- a/packages/base-slides/src/View/Render/Adaptors/SlideAdaptor.ts+++ b/packages/base-slides/src/View/Render/Adaptors/SlideAdaptor.ts@@ -14,8 +14,8 @@ import {ScrollBar,Slide,Viewport,-} from '@univer/base-render';-import { ContextBase, SlideModel, EventState, getColorStyle, IColorStyle, IPageElement, ISlidePage, PageElementType, SlideContext } from '@univer/core';+} from '@univerjs/base-render';+import { ContextBase, SlideModel, EventState, getColorStyle, IColorStyle, IPageElement, ISlidePage, PageElementType, SlideContext } from '@univerjs/core';import { ObjectAdaptor, CanvasObjectProviderRegistry } from '../Adaptor';import { ObjectProvider } from '../ObjectProvider';diff --git a/packages/base-slides/src/View/Render/Adaptors/SpreadsheetAdaptor.ts b/packages/base-slides/src/View/Render/Adaptors/SpreadsheetAdaptor.tsindex f0db50e381..ee14f36925 100644--- a/packages/base-slides/src/View/Render/Adaptors/SpreadsheetAdaptor.ts+++ b/packages/base-slides/src/View/Render/Adaptors/SpreadsheetAdaptor.ts@@ -12,8 +12,8 @@ import {SpreadsheetRowTitle,SpreadsheetSkeleton,Viewport,-} from '@univer/base-render';-import { ContextBase, EventState, ICellData, IPageElement, ObjectMatrix, PageElementType, SheetContext, Styles, Worksheet } from '@univer/core';+} from '@univerjs/base-render';+import { ContextBase, EventState, ICellData, IPageElement, ObjectMatrix, PageElementType, SheetContext, Styles, Worksheet } from '@univerjs/core';import { ObjectAdaptor, CanvasObjectProviderRegistry } from '../Adaptor';enum SHEET_VIEW_KEY {diff --git a/packages/base-slides/src/View/Render/CanvasView.ts b/packages/base-slides/src/View/Render/CanvasView.tsindex fd35705706..3535c66596 100644--- a/packages/base-slides/src/View/Render/CanvasView.ts+++ b/packages/base-slides/src/View/Render/CanvasView.ts@@ -1,5 +1,5 @@-import { Engine, EVENT_TYPE, IWheelEvent, Layer, Rect, Scene, SceneViewer, ScrollBar, Slide, Viewport } from '@univer/base-render';-import { EventState, getColorStyle, IColorStyle, IPageElement, ISlidePage, Nullable, Registry, sortRules } from '@univer/core';+import { Engine, EVENT_TYPE, IWheelEvent, Layer, Rect, Scene, SceneViewer, ScrollBar, Slide, Viewport } from '@univerjs/base-render';+import { EventState, getColorStyle, IColorStyle, IPageElement, ISlidePage, Nullable, Registry, sortRules } from '@univerjs/core';import { SlidePlugin } from '../../SlidePlugin';import { SlideBar } from '../UI/SlideBar/SlideBar';import { ObjectProvider } from './ObjectProvider';diff --git a/packages/base-slides/src/View/Render/ObjectProvider.ts b/packages/base-slides/src/View/Render/ObjectProvider.tsindex bfed183f4b..b760bed76c 100644--- a/packages/base-slides/src/View/Render/ObjectProvider.ts+++ b/packages/base-slides/src/View/Render/ObjectProvider.ts@@ -1,5 +1,5 @@-import { BaseObject, Scene } from '@univer/base-render';-import { ContextBase, IPageElement, sortRules } from '@univer/core';+import { BaseObject, Scene } from '@univerjs/base-render';+import { ContextBase, IPageElement, sortRules } from '@univerjs/core';import { CanvasObjectProviderRegistry, ObjectAdaptor } from './Adaptor';import './Adaptors';diff --git a/packages/base-slides/src/View/UI/Common/Item/Item.tsx b/packages/base-slides/src/View/UI/Common/Item/Item.tsxindex 452f01885e..2c5e0b1e26 100644--- a/packages/base-slides/src/View/UI/Common/Item/Item.tsx+++ b/packages/base-slides/src/View/UI/Common/Item/Item.tsx@@ -1,4 +1,4 @@-import { BaseComponentRender, BaseComponentSheet, BaseMenuItem, Component, ComponentChildren, joinClassNames } from '@univer/base-component';+import { BaseComponentRender, BaseComponentSheet, BaseMenuItem, Component, ComponentChildren, joinClassNames } from '@univerjs/base-component';import styles from './index.module.less';export interface BaseItemProps extends BaseMenuItem {diff --git a/packages/base-slides/src/View/UI/Common/Line/LineBold.tsx b/packages/base-slides/src/View/UI/Common/Line/LineBold.tsxindex 06228abcd3..a4f1ec8cfa 100644--- a/packages/base-slides/src/View/UI/Common/Line/LineBold.tsx+++ b/packages/base-slides/src/View/UI/Common/Line/LineBold.tsx@@ -1,5 +1,5 @@-import { Component } from '@univer/base-component';-import { Nullable, Observer, Workbook } from '@univer/core';+import { Component } from '@univerjs/base-component';+import { Nullable, Observer, Workbook } from '@univerjs/core';interface IState {locale: string;diff --git a/packages/base-slides/src/View/UI/Common/Line/LineColor.tsx b/packages/base-slides/src/View/UI/Common/Line/LineColor.tsxindex 1099c2e8bd..44b3f0fafd 100644--- a/packages/base-slides/src/View/UI/Common/Line/LineColor.tsx+++ b/packages/base-slides/src/View/UI/Common/Line/LineColor.tsx@@ -1,5 +1,5 @@-import { BaseComponentRender, BaseComponentSheet, Component } from '@univer/base-component';-import { Nullable, Observer, Workbook } from '@univer/core';+import { BaseComponentRender, BaseComponentSheet, Component } from '@univerjs/base-component';+import { Nullable, Observer, Workbook } from '@univerjs/core';interface IState {locale: string;diff --git a/packages/base-slides/src/View/UI/Common/Select/Select.tsx b/packages/base-slides/src/View/UI/Common/Select/Select.tsxindex bb6c020405..50d3b056f7 100644--- a/packages/base-slides/src/View/UI/Common/Select/Select.tsx+++ b/packages/base-slides/src/View/UI/Common/Select/Select.tsx@@ -1,5 +1,5 @@-import { BaseComponentRender, BaseComponentSheet, BaseMenuItem, BaseMenuProps, Component, ComponentChildren } from '@univer/base-component';-import { ColorPicker, Dropdown } from '@univer/style-univer';+import { BaseComponentRender, BaseComponentSheet, BaseMenuItem, BaseMenuProps, Component, ComponentChildren } from '@univerjs/base-component';+import { ColorPicker, Dropdown } from '@univerjs/style-univer';import { BaseItemProps, Item } from '../Item/Item';import styles from './index.module.less';diff --git a/packages/base-slides/src/View/UI/Common/TextButton/TextButton.tsx b/packages/base-slides/src/View/UI/Common/TextButton/TextButton.tsxindex 9c2d9bf6ea..36b4bda846 100644--- a/packages/base-slides/src/View/UI/Common/TextButton/TextButton.tsx+++ b/packages/base-slides/src/View/UI/Common/TextButton/TextButton.tsx@@ -1,4 +1,4 @@-import { BaseComponentRender, BaseComponentSheet, Component, ComponentChildren } from '@univer/base-component';+import { BaseComponentRender, BaseComponentSheet, Component, ComponentChildren } from '@univerjs/base-component';import styles from './index.module.less';export interface BaseTextButtonProps {diff --git a/packages/base-slides/src/View/UI/InfoBar/InfoBar.tsx b/packages/base-slides/src/View/UI/InfoBar/InfoBar.tsxindex 8938a6580f..f8a9c3e993 100644--- a/packages/base-slides/src/View/UI/InfoBar/InfoBar.tsx+++ b/packages/base-slides/src/View/UI/InfoBar/InfoBar.tsx@@ -1,5 +1,5 @@-import { BaseComponentRender, BaseComponentSheet, Component } from '@univer/base-component';-import { Nullable, PLUGIN_NAMES } from '@univer/core';+import { BaseComponentRender, BaseComponentSheet, Component } from '@univerjs/base-component';+import { Nullable, PLUGIN_NAMES } from '@univerjs/core';import { BaseInfoBarProps } from '../../../Controller/InfoBarController';import './index.less';diff --git a/packages/base-slides/src/View/UI/SlideBar/SlideBar.tsx b/packages/base-slides/src/View/UI/SlideBar/SlideBar.tsxindex 11cfec0b7b..8f8e22dbd3 100644--- a/packages/base-slides/src/View/UI/SlideBar/SlideBar.tsx+++ b/packages/base-slides/src/View/UI/SlideBar/SlideBar.tsx@@ -1,5 +1,5 @@-import { BaseComponentRender, BaseComponentSheet, Component, createRef } from '@univer/base-component';-import { PLUGIN_NAMES, ISlidePage } from '@univer/core';+import { BaseComponentRender, BaseComponentSheet, Component, createRef } from '@univerjs/base-component';+import { PLUGIN_NAMES, ISlidePage } from '@univerjs/core';import styles from './index.module.less';interface SlideBarState {diff --git a/packages/base-slides/src/View/UI/SlideContainer/SlideContainer.tsx b/packages/base-slides/src/View/UI/SlideContainer/SlideContainer.tsxindex 52f244fcb8..cda3a5f74d 100644--- a/packages/base-slides/src/View/UI/SlideContainer/SlideContainer.tsx+++ b/packages/base-slides/src/View/UI/SlideContainer/SlideContainer.tsx@@ -13,14 +13,14 @@ import {cloneElement,BaseComponentProps,Description,-} from '@univer/base-component';-import { AsyncFunction, SlideContext, IKeyType, LocaleType, PLUGIN_NAMES, Tools, Workbook } from '@univer/core';+} from '@univerjs/base-component';+import { AsyncFunction, SlideContext, IKeyType, LocaleType, PLUGIN_NAMES, Tools, Workbook } from '@univerjs/core';import cssVars from 'css-vars-ponyfill';-import { Container, Content, Footer, Header, Layout, Sider } from '@univer/style-univer';-import defaultSkin from '@univer/style-univer/assets/css/skin/default.module.less';-import darkSkin from '@univer/style-univer/assets/css/skin/dark.module.less';+import { Container, Content, Footer, Header, Layout, Sider } from '@univerjs/style-univer';+import defaultSkin from '@univerjs/style-univer/assets/css/skin/default.module.less';+import darkSkin from '@univerjs/style-univer/assets/css/skin/dark.module.less';// All skins' less file-import greenSkin from '@univer/style-univer/assets/css/skin/green.module.less';+import greenSkin from '@univerjs/style-univer/assets/css/skin/green.module.less';// app context for skin and Localeimport style from './index.module.less';import { ToolBar } from '../ToolBar';diff --git a/packages/base-slides/src/View/UI/ToolBar/SingleButton.tsx b/packages/base-slides/src/View/UI/ToolBar/SingleButton.tsxindex 1b19e72bbb..a55584be11 100644--- a/packages/base-slides/src/View/UI/ToolBar/SingleButton.tsx+++ b/packages/base-slides/src/View/UI/ToolBar/SingleButton.tsx@@ -1,5 +1,5 @@-import { BaseSingleButtonProps, Component, JSXComponent, SingleButtonComponent } from '@univer/base-component';-import { Button, Tooltip } from '@univer/style-univer';+import { BaseSingleButtonProps, Component, JSXComponent, SingleButtonComponent } from '@univerjs/base-component';+import { Button, Tooltip } from '@univerjs/style-univer';import styles from './index.module.less';diff --git a/packages/base-slides/src/View/UI/ToolBar/ToolBar-zh.md b/packages/base-slides/src/View/UI/ToolBar/ToolBar-zh.mdindex 517ea3b0a6..b298cd0f56 100644--- a/packages/base-slides/src/View/UI/ToolBar/ToolBar-zh.md+++ b/packages/base-slides/src/View/UI/ToolBar/ToolBar-zh.md@@ -75,7 +75,7 @@ cover: ''## 案例```jsx-import { ToolBar } from '@univer/style-univer';+import { ToolBar } from '@univerjs/style-univer';const SheetContainer = () => {return (diff --git a/packages/base-slides/src/View/UI/ToolBar/ToolBar.tsx b/packages/base-slides/src/View/UI/ToolBar/ToolBar.tsxindex 5390d8bdad..1c21bfcfc6 100644--- a/packages/base-slides/src/View/UI/ToolBar/ToolBar.tsx+++ b/packages/base-slides/src/View/UI/ToolBar/ToolBar.tsx@@ -1,6 +1,6 @@-import { BaseComponentProps, BaseComponentRender, BaseComponentSheet, Component, createRef } from '@univer/base-component';+import { BaseComponentProps, BaseComponentRender, BaseComponentSheet, Component, createRef } from '@univerjs/base-component';-import { PLUGIN_NAMES } from '@univer/core';+import { PLUGIN_NAMES } from '@univerjs/core';import { SlidePlugin } from '../../../SlidePlugin';import { IToolBarItemProps } from '../../../Model/ToolBarModel';import { TextButton } from '../Common/TextButton/TextButton';diff --git a/packages/base-slides/src/main.tsx b/packages/base-slides/src/main.tsxindex edd983a726..f045988860 100644--- a/packages/base-slides/src/main.tsx+++ b/packages/base-slides/src/main.tsx@@ -1,8 +1,8 @@-import { UniverSlide } from '@univer/core';-import { RenderEngine } from '@univer/base-render';-import { UniverComponentSheet } from '@univer/style-univer';+import { UniverSlide } from '@univerjs/core';+import { RenderEngine } from '@univerjs/base-render';+import { UniverComponentSheet } from '@univerjs/style-univer';import { SlidePlugin } from './SlidePlugin';-import { DEFAULT_SLIDE_DATA } from '@univer/common-plugin-data';+import { DEFAULT_SLIDE_DATA } from '@univerjs/common-plugin-data';const slidePluginConfig = {container: 'universlide',diff --git a/packages/common-plugin-collaboration/README-zh.md b/packages/common-plugin-collaboration/README-zh.mdindex 7350139eaf..a50a325710 100644--- a/packages/common-plugin-collaboration/README-zh.md+++ b/packages/common-plugin-collaboration/README-zh.md@@ -9,13 +9,13 @@ UniverSheet Collaboration 插件### 安装```bash-npm i @univer/common-plugin-collaboration+npm i @univerjs/common-plugin-collaboration```### 使用```js-impport {Collaboration} from '@univer/common-plugin-collaboration'+impport {Collaboration} from '@univerjs/common-plugin-collaboration'const univerSheet = new UniverSheet();univerSheet.installPlugin(new Collaboration());@@ -41,7 +41,7 @@ pnpm installnpm run dev# 或者项目根目录 ./-pnpm run --filter @univer/common-plugin-collaboration dev+pnpm run --filter @univerjs/common-plugin-collaboration dev```### 打包@@ -51,5 +51,5 @@ pnpm run --filter @univer/common-plugin-collaboration devnpm run build# 或者根目录 ./-pnpm run --filter @univer/common-plugin-collaboration build+pnpm run --filter @univerjs/common-plugin-collaboration build```diff --git a/packages/common-plugin-collaboration/README.md b/packages/common-plugin-collaboration/README.mdindex a0ed62074d..79bfcb88a3 100644--- a/packages/common-plugin-collaboration/README.md+++ b/packages/common-plugin-collaboration/README.md@@ -9,13 +9,13 @@ UniverSheet Plugin Collaboration### Installation```bash-npm i @univer/common-plugin-collaboration+npm i @univerjs/common-plugin-collaboration```### Usage```js-impport {Collaboration} from '@univer/common-plugin-collaboration'+impport {Collaboration} from '@univerjs/common-plugin-collaboration'const univerSheet = new UniverSheet();univerSheet.installPlugin(new Collaboration());@@ -41,7 +41,7 @@ pnpm installnpm run dev# Or project root directory ./-pnpm run --filter @univer/common-plugin-collaboration dev+pnpm run --filter @univerjs/common-plugin-collaboration dev```### Package@@ -51,5 +51,5 @@ pnpm run --filter @univer/common-plugin-collaboration devnpm run build# Or root directory ./-pnpm run --filter @univer/common-plugin-collaboration build+pnpm run --filter @univerjs/common-plugin-collaboration build```diff --git a/packages/common-plugin-collaboration/package.json b/packages/common-plugin-collaboration/package.jsonindex a6946f9723..16b9eb5870 100644--- a/packages/common-plugin-collaboration/package.json+++ b/packages/common-plugin-collaboration/package.json@@ -1,5 +1,5 @@{- "name": "@univer/common-plugin-collaboration",+ "name": "@univerjs/common-plugin-collaboration","version": "0.0.1","description": "UniverSheet normal common-plugin-collaboration","keywords": [],@@ -50,14 +50,14 @@"vite": "^2.4.4"},"dependencies": {- "@univer/common-plugin-data": "workspace:^0.0.1",- "@univer/base-component": "workspace:^0.0.1",- "@univer/base-render": "workspace:^0.0.1",- "@univer/core": "workspace:^0.0.1",- "@univer/base-sheets": "workspace:^0.0.1",- "@univer/base-docs": "workspace:^0.0.1",- "@univer/base-slides": "workspace:^0.0.1",- "@univer/style-univer": "workspace:^0.0.1",+ "@univerjs/common-plugin-data": "workspace:^0.0.1",+ "@univerjs/base-component": "workspace:^0.0.1",+ "@univerjs/base-render": "workspace:^0.0.1",+ "@univerjs/core": "workspace:^0.0.1",+ "@univerjs/base-sheets": "workspace:^0.0.1",+ "@univerjs/base-docs": "workspace:^0.0.1",+ "@univerjs/base-slides": "workspace:^0.0.1",+ "@univerjs/style-univer": "workspace:^0.0.1","preact": "^10.5.14"}}diff --git a/packages/common-plugin-collaboration/src/CollaborationPlugin.tsx b/packages/common-plugin-collaboration/src/CollaborationPlugin.tsxindex 29e0683583..be468b97a9 100644--- a/packages/common-plugin-collaboration/src/CollaborationPlugin.tsx+++ b/packages/common-plugin-collaboration/src/CollaborationPlugin.tsx@@ -1,4 +1,4 @@-import { Plugin, UniverSheet, UniverDoc, UniverSlide } from '@univer/core';+import { Plugin, UniverSheet, UniverDoc, UniverSlide } from '@univerjs/core';import { zh, en } from './Locale';import { COLLABORATION_PLUGIN_NAME } from './Basic/Const/PLUGIN_NAME';import { CollaborationController } from './Controller/CollaborationController';diff --git a/packages/common-plugin-collaboration/src/Controller/CollaborationController.ts b/packages/common-plugin-collaboration/src/Controller/CollaborationController.tsindex 371bc98836..63abf5bf25 100644--- a/packages/common-plugin-collaboration/src/Controller/CollaborationController.ts+++ b/packages/common-plugin-collaboration/src/Controller/CollaborationController.ts@@ -1,6 +1,6 @@-import { BaseComponentRender } from '@univer/base-component';-import { SheetPlugin } from '@univer/base-sheets';-import { ACTION_NAMES, CommandManager, HEART_BEAT_MESSAGE, IOSocket, IOSocketListenType, ISheetActionData, PLUGIN_NAMES, SheetActionBase, SheetContext } from '@univer/core';+import { BaseComponentRender } from '@univerjs/base-component';+import { SheetPlugin } from '@univerjs/base-sheets';+import { ACTION_NAMES, CommandManager, HEART_BEAT_MESSAGE, IOSocket, IOSocketListenType, ISheetActionData, PLUGIN_NAMES, SheetActionBase, SheetContext } from '@univerjs/core';import { CollaborationPlugin } from '../CollaborationPlugin';export class CollaborationController {diff --git a/packages/common-plugin-collaboration/src/Types/index.d.ts b/packages/common-plugin-collaboration/src/Types/index.d.tsindex 89524af5d9..13dfb82994 100644--- a/packages/common-plugin-collaboration/src/Types/index.d.ts+++ b/packages/common-plugin-collaboration/src/Types/index.d.ts@@ -1,7 +1,7 @@/// <reference types="vite/client" />export * from '../index';-declare module '@univer/common-plugin-collaboration' {}+declare module '@univerjs/common-plugin-collaboration' {}// use css moduledeclare module '*.less' {diff --git a/packages/common-plugin-collaboration/src/main.tsx b/packages/common-plugin-collaboration/src/main.tsxindex 08bd6c5f1f..ec610dbe3f 100644--- a/packages/common-plugin-collaboration/src/main.tsx+++ b/packages/common-plugin-collaboration/src/main.tsx@@ -1,10 +1,10 @@-import { UniverSheet, UniverDoc, UniverSlide } from '@univer/core';-import { RenderEngine } from '@univer/base-render';-import { SheetPlugin } from '@univer/base-sheets';-import { DocPlugin } from '@univer/base-docs';-import { SlidePlugin } from '@univer/base-slides';-import { UniverComponentSheet } from '@univer/style-univer';-import { DEFAULT_WORKBOOK_DATA } from '@univer/common-plugin-data';+import { UniverSheet, UniverDoc, UniverSlide } from '@univerjs/core';+import { RenderEngine } from '@univerjs/base-render';+import { SheetPlugin } from '@univerjs/base-sheets';+import { DocPlugin } from '@univerjs/base-docs';+import { SlidePlugin } from '@univerjs/base-slides';+import { UniverComponentSheet } from '@univerjs/style-univer';+import { DEFAULT_WORKBOOK_DATA } from '@univerjs/common-plugin-data';import { CollaborationPlugin } from './CollaborationPlugin';diff --git a/packages/common-plugin-data/README.md b/packages/common-plugin-data/README.mdindex cf0c83136c..96417a7ca2 100644--- a/packages/common-plugin-data/README.md+++ b/packages/common-plugin-data/README.md@@ -1,3 +1,3 @@-# @univer/core+# @univerjs/corePut the core case, DEMO, template datadiff --git a/packages/common-plugin-data/package.json b/packages/common-plugin-data/package.jsonindex 594439eac3..49480cfc3c 100644--- a/packages/common-plugin-data/package.json+++ b/packages/common-plugin-data/package.json@@ -1,5 +1,5 @@{- "name": "@univer/common-plugin-data",+ "name": "@univerjs/common-plugin-data","version": "0.0.1","description": "","author": "",@@ -32,7 +32,7 @@},"license": "MIT","dependencies": {- "@univer/core": "workspace:^0.0.1"+ "@univerjs/core": "workspace:^0.0.1"},"devDependencies": {"@types/jest": "^27.5.2",diff --git a/packages/common-plugin-data/src/Docs/DEFAULT_DOCUMENT_DATA.ts b/packages/common-plugin-data/src/Docs/DEFAULT_DOCUMENT_DATA.tsindex 63010a6d9e..774117c3a2 100644--- a/packages/common-plugin-data/src/Docs/DEFAULT_DOCUMENT_DATA.ts+++ b/packages/common-plugin-data/src/Docs/DEFAULT_DOCUMENT_DATA.ts@@ -10,7 +10,7 @@ import {PositionedObjectLayoutType,SectionType,WrapTextType,-} from '@univer/core';+} from '@univerjs/core';import { DEFAULT_LIST_TEST } from './DEFAULT_LIST';export const DEFAULT_DOCUMENT_DATA: IDocumentData = {diff --git a/packages/common-plugin-data/src/Docs/DEFAULT_DOCUMENT_DATA_EN.ts b/packages/common-plugin-data/src/Docs/DEFAULT_DOCUMENT_DATA_EN.tsindex 6392845e25..51000ff5cf 100644--- a/packages/common-plugin-data/src/Docs/DEFAULT_DOCUMENT_DATA_EN.ts+++ b/packages/common-plugin-data/src/Docs/DEFAULT_DOCUMENT_DATA_EN.ts@@ -9,7 +9,7 @@ import {PositionedObjectLayoutType,SectionType,WrapTextType,-} from '@univer/core';+} from '@univerjs/core';import { DEFAULT_LIST_TEST } from './DEFAULT_LIST';export const DEFAULT_DOCUMENT_DATA_EN: IDocumentData = {diff --git a/packages/common-plugin-data/src/Docs/DEFAULT_LIST.ts b/packages/common-plugin-data/src/Docs/DEFAULT_LIST.tsindex 9eaca767d0..3b0cb1add1 100644--- a/packages/common-plugin-data/src/Docs/DEFAULT_LIST.ts+++ b/packages/common-plugin-data/src/Docs/DEFAULT_LIST.ts@@ -1,4 +1,4 @@-import { BulletAlignment, GlyphType } from '@univer/core';+import { BulletAlignment, GlyphType } from '@univerjs/core';export const DEFAULT_LIST_TEST = {unorderedTest: {diff --git a/packages/common-plugin-data/src/Sheets/DEFAULT_WORKBOOK_DATA.ts b/packages/common-plugin-data/src/Sheets/DEFAULT_WORKBOOK_DATA.tsindex 9096219cd5..2714ed4805 100644--- a/packages/common-plugin-data/src/Sheets/DEFAULT_WORKBOOK_DATA.ts+++ b/packages/common-plugin-data/src/Sheets/DEFAULT_WORKBOOK_DATA.ts@@ -18,7 +18,7 @@ import {WrapTextType,BulletAlignment,GlyphType,-} from '@univer/core';+} from '@univerjs/core';const richTextTestFloat: IDocumentData = {id: 'd',diff --git a/packages/common-plugin-data/src/Sheets/Demo/DEFAULT_WORKBOOK_DATA_DEMO.ts b/packages/common-plugin-data/src/Sheets/Demo/DEFAULT_WORKBOOK_DATA_DEMO.tsindex e91c46af80..c781bb14da 100644--- a/packages/common-plugin-data/src/Sheets/Demo/DEFAULT_WORKBOOK_DATA_DEMO.ts+++ b/packages/common-plugin-data/src/Sheets/Demo/DEFAULT_WORKBOOK_DATA_DEMO.ts@@ -1,4 +1,4 @@-import { BlockType, BooleanNumber, BorderStyleTypes, IDocumentData, IWorkbookConfig, LocaleType, ParagraphElementType, SheetTypes } from '@univer/core';+import { BlockType, BooleanNumber, BorderStyleTypes, IDocumentData, IWorkbookConfig, LocaleType, ParagraphElementType, SheetTypes } from '@univerjs/core';import { PAGE5_RICHTEXT_1 } from '../../Slides/RichText/PAGE5_RICHTEXT_1';const richTextDemo: IDocumentData = {diff --git a/packages/common-plugin-data/src/Sheets/Demo/DEFAULT_WORKBOOK_DATA_DEMO1.ts b/packages/common-plugin-data/src/Sheets/Demo/DEFAULT_WORKBOOK_DATA_DEMO1.tsindex 9f51d4b74a..90535558ac 100644--- a/packages/common-plugin-data/src/Sheets/Demo/DEFAULT_WORKBOOK_DATA_DEMO1.ts+++ b/packages/common-plugin-data/src/Sheets/Demo/DEFAULT_WORKBOOK_DATA_DEMO1.ts@@ -1,4 +1,4 @@-import { BooleanNumber, BorderStyleTypes, IWorkbookConfig, LocaleType, SheetTypes } from '@univer/core';+import { BooleanNumber, BorderStyleTypes, IWorkbookConfig, LocaleType, SheetTypes } from '@univerjs/core';export const DEFAULT_WORKBOOK_DATA_DEMO1: IWorkbookConfig = {id: 'workbook-01',diff --git a/packages/common-plugin-data/src/Sheets/Demo/DEFAULT_WORKBOOK_DATA_DEMO2.ts b/packages/common-plugin-data/src/Sheets/Demo/DEFAULT_WORKBOOK_DATA_DEMO2.tsindex cd6aa58353..0218a6ea5c 100644--- a/packages/common-plugin-data/src/Sheets/Demo/DEFAULT_WORKBOOK_DATA_DEMO2.ts+++ b/packages/common-plugin-data/src/Sheets/Demo/DEFAULT_WORKBOOK_DATA_DEMO2.ts@@ -1,4 +1,4 @@-import { BooleanNumber, BorderStyleTypes, IWorkbookConfig, LocaleType, SheetTypes } from '@univer/core';+import { BooleanNumber, BorderStyleTypes, IWorkbookConfig, LocaleType, SheetTypes } from '@univerjs/core';export const DEFAULT_WORKBOOK_DATA_DEMO2: IWorkbookConfig = {id: 'workbook-01',diff --git a/packages/common-plugin-data/src/Sheets/Demo/DEFAULT_WORKBOOK_DATA_DEMO3.ts b/packages/common-plugin-data/src/Sheets/Demo/DEFAULT_WORKBOOK_DATA_DEMO3.tsindex 4ca9699629..20800a6f28 100644--- a/packages/common-plugin-data/src/Sheets/Demo/DEFAULT_WORKBOOK_DATA_DEMO3.ts+++ b/packages/common-plugin-data/src/Sheets/Demo/DEFAULT_WORKBOOK_DATA_DEMO3.ts@@ -1,4 +1,4 @@-import { BlockType, BooleanNumber, BorderStyleTypes, IDocumentData, IWorkbookConfig, LocaleType, ParagraphElementType, SheetTypes } from '@univer/core';+import { BlockType, BooleanNumber, BorderStyleTypes, IDocumentData, IWorkbookConfig, LocaleType, ParagraphElementType, SheetTypes } from '@univerjs/core';const richTextDemo: IDocumentData = {id: 'd',diff --git a/packages/common-plugin-data/src/Sheets/Demo/DEFAULT_WORKBOOK_DATA_DEMO4.ts b/packages/common-plugin-data/src/Sheets/Demo/DEFAULT_WORKBOOK_DATA_DEMO4.tsindex d6316b2e78..c1c7ec5a1e 100644--- a/packages/common-plugin-data/src/Sheets/Demo/DEFAULT_WORKBOOK_DATA_DEMO4.ts+++ b/packages/common-plugin-data/src/Sheets/Demo/DEFAULT_WORKBOOK_DATA_DEMO4.ts@@ -1,4 +1,4 @@-import { BlockType, BooleanNumber, BorderStyleTypes, IDocumentData, IWorkbookConfig, LocaleType, ParagraphElementType, SheetTypes } from '@univer/core';+import { BlockType, BooleanNumber, BorderStyleTypes, IDocumentData, IWorkbookConfig, LocaleType, ParagraphElementType, SheetTypes } from '@univerjs/core';const richTextDemo1: IDocumentData = {id: 'd',diff --git a/packages/common-plugin-data/src/Sheets/SLIDE_WORKBOOK_DATA.ts b/packages/common-plugin-data/src/Sheets/SLIDE_WORKBOOK_DATA.tsindex a8d5dda0a3..44d8566bf0 100644--- a/packages/common-plugin-data/src/Sheets/SLIDE_WORKBOOK_DATA.ts+++ b/packages/common-plugin-data/src/Sheets/SLIDE_WORKBOOK_DATA.ts@@ -1,4 +1,4 @@-import { BooleanNumber, BorderStyleTypes, IWorkbookConfig, LocaleType, SheetTypes } from '@univer/core';+import { BooleanNumber, BorderStyleTypes, IWorkbookConfig, LocaleType, SheetTypes } from '@univerjs/core';import { PAGE5_RICHTEXT_1 } from '../Slides/RichText/PAGE5_RICHTEXT_1';export const SLIDE_WORKBOOK_DATA: IWorkbookConfig = {diff --git a/packages/common-plugin-data/src/Slides/DEFAULT_SLIDE_DATA.ts b/packages/common-plugin-data/src/Slides/DEFAULT_SLIDE_DATA.tsindex d693d91304..1e0cb77017 100644--- a/packages/common-plugin-data/src/Slides/DEFAULT_SLIDE_DATA.ts+++ b/packages/common-plugin-data/src/Slides/DEFAULT_SLIDE_DATA.ts@@ -1,4 +1,4 @@-import { ISlideData } from '@univer/core';+import { ISlideData } from '@univerjs/core';import { DEFAULT_FIRST_PAGE } from './DefaultPages/Page1';import { DEFAULT_SECOND_PAGE } from './DefaultPages/Page2';import { DEFAULT_THIRD_PAGE } from './DefaultPages/Page3';diff --git a/packages/common-plugin-data/src/Slides/DefaultPages/Page1.ts b/packages/common-plugin-data/src/Slides/DefaultPages/Page1.tsindex f0db29ad8e..83ea7c638d 100644--- a/packages/common-plugin-data/src/Slides/DefaultPages/Page1.ts+++ b/packages/common-plugin-data/src/Slides/DefaultPages/Page1.ts@@ -1,4 +1,4 @@-import { PageElementType, PageType, ShapeType } from '@univer/core';+import { PageElementType, PageType, ShapeType } from '@univerjs/core';export const DEFAULT_FIRST_PAGE = {id: 'cover_1',diff --git a/packages/common-plugin-data/src/Slides/DefaultPages/Page2.ts b/packages/common-plugin-data/src/Slides/DefaultPages/Page2.tsindex 8a143ea4ad..7b44d96b80 100644--- a/packages/common-plugin-data/src/Slides/DefaultPages/Page2.ts+++ b/packages/common-plugin-data/src/Slides/DefaultPages/Page2.ts@@ -1,4 +1,4 @@-import { PageElementType, PageType, ShapeType } from '@univer/core';+import { PageElementType, PageType, ShapeType } from '@univerjs/core';export const DEFAULT_SECOND_PAGE = {id: 'catalog_1',diff --git a/packages/common-plugin-data/src/Slides/DefaultPages/Page3.ts b/packages/common-plugin-data/src/Slides/DefaultPages/Page3.tsindex 7bb0c01e87..395896e9ff 100644--- a/packages/common-plugin-data/src/Slides/DefaultPages/Page3.ts+++ b/packages/common-plugin-data/src/Slides/DefaultPages/Page3.ts@@ -1,4 +1,4 @@-import { PageElementType, PageType, ShapeType } from '@univer/core';+import { PageElementType, PageType, ShapeType } from '@univerjs/core';import { PAGE3_RICHTEXT_1 } from '../RichText/PAGE3_RICHTEXT_1';import { PAGE3_RICHTEXT_2 } from '../RichText/PAGE3_RICHTEXT_2';import { PAGE3_RICHTEXT_3 } from '../RichText/PAGE3_RICHTEXT_3';diff --git a/packages/common-plugin-data/src/Slides/DefaultPages/Page4.ts b/packages/common-plugin-data/src/Slides/DefaultPages/Page4.tsindex e1e286d73e..3e0c6bc19b 100644--- a/packages/common-plugin-data/src/Slides/DefaultPages/Page4.ts+++ b/packages/common-plugin-data/src/Slides/DefaultPages/Page4.ts@@ -1,4 +1,4 @@-import { IWorksheetConfig, PageElementType, PageType, ShapeType } from '@univer/core';+import { IWorksheetConfig, PageElementType, PageType, ShapeType } from '@univerjs/core';import { SLIDE_WORKBOOK_DATA } from '../../Sheets/SLIDE_WORKBOOK_DATA';const worksheetConfig = SLIDE_WORKBOOK_DATA.sheets[SLIDE_WORKBOOK_DATA.sheetOrder[0]] as IWorksheetConfig;diff --git a/packages/common-plugin-data/src/Slides/DefaultPages/Page5.ts b/packages/common-plugin-data/src/Slides/DefaultPages/Page5.tsindex 24f6c0e6d8..123fce0258 100644--- a/packages/common-plugin-data/src/Slides/DefaultPages/Page5.ts+++ b/packages/common-plugin-data/src/Slides/DefaultPages/Page5.ts@@ -1,4 +1,4 @@-import { PageElementType, PageType, ShapeType } from '@univer/core';+import { PageElementType, PageType, ShapeType } from '@univerjs/core';export const DEFAULT_FIFTH_PAGE = {id: 'technology_1',diff --git a/packages/common-plugin-data/src/Slides/DefaultPages/Page6.ts b/packages/common-plugin-data/src/Slides/DefaultPages/Page6.tsindex fb03d9670c..8803edf386 100644--- a/packages/common-plugin-data/src/Slides/DefaultPages/Page6.ts+++ b/packages/common-plugin-data/src/Slides/DefaultPages/Page6.ts@@ -1,4 +1,4 @@-import { PageElementType, PageType, ShapeType } from '@univer/core';+import { PageElementType, PageType, ShapeType } from '@univerjs/core';import { DEFAULT_DOCUMENT_DATA_EN } from '../../Docs/DEFAULT_DOCUMENT_DATA_EN';export const DEFAULT_SIXTH_PAGE = {diff --git a/packages/common-plugin-data/src/Slides/DefaultPages/Page7.ts b/packages/common-plugin-data/src/Slides/DefaultPages/Page7.tsindex 8133892a44..15784dbc2a 100644--- a/packages/common-plugin-data/src/Slides/DefaultPages/Page7.ts+++ b/packages/common-plugin-data/src/Slides/DefaultPages/Page7.ts@@ -1,4 +1,4 @@-import { PageElementType, PageType, ShapeType } from '@univer/core';+import { PageElementType, PageType, ShapeType } from '@univerjs/core';import { generateUnlimitedSlideData } from '../UNLIMITED_SLIDE_DATA';export const DEFAULT_SEVEN_PAGE = {diff --git a/packages/common-plugin-data/src/Slides/RichText/PAGE3_RICHTEXT_1.ts b/packages/common-plugin-data/src/Slides/RichText/PAGE3_RICHTEXT_1.tsindex 6208fa258c..747d5c077b 100644--- a/packages/common-plugin-data/src/Slides/RichText/PAGE3_RICHTEXT_1.ts+++ b/packages/common-plugin-data/src/Slides/RichText/PAGE3_RICHTEXT_1.ts@@ -1,4 +1,4 @@-import { BlockType, PageElementType, ParagraphElementType } from '@univer/core';+import { BlockType, PageElementType, ParagraphElementType } from '@univerjs/core';import { DEFAULT_LIST_TEST } from '../../Docs/DEFAULT_LIST';export const PAGE3_RICHTEXT_1 = {diff --git a/packages/common-plugin-data/src/Slides/RichText/PAGE3_RICHTEXT_2.ts b/packages/common-plugin-data/src/Slides/RichText/PAGE3_RICHTEXT_2.tsindex b85f4f174f..d0c1ed7cdd 100644--- a/packages/common-plugin-data/src/Slides/RichText/PAGE3_RICHTEXT_2.ts+++ b/packages/common-plugin-data/src/Slides/RichText/PAGE3_RICHTEXT_2.ts@@ -1,4 +1,4 @@-import { BlockType, PageElementType, ParagraphElementType } from '@univer/core';+import { BlockType, PageElementType, ParagraphElementType } from '@univerjs/core';import { DEFAULT_LIST_TEST } from '../../Docs/DEFAULT_LIST';export const PAGE3_RICHTEXT_2 = {diff --git a/packages/common-plugin-data/src/Slides/RichText/PAGE3_RICHTEXT_3.ts b/packages/common-plugin-data/src/Slides/RichText/PAGE3_RICHTEXT_3.tsindex d83e9c8a65..854d85f0b2 100644--- a/packages/common-plugin-data/src/Slides/RichText/PAGE3_RICHTEXT_3.ts+++ b/packages/common-plugin-data/src/Slides/RichText/PAGE3_RICHTEXT_3.ts@@ -1,4 +1,4 @@-import { BlockType, PageElementType, ParagraphElementType } from '@univer/core';+import { BlockType, PageElementType, ParagraphElementType } from '@univerjs/core';import { DEFAULT_LIST_TEST } from '../../Docs/DEFAULT_LIST';export const PAGE3_RICHTEXT_3 = {diff --git a/packages/common-plugin-data/src/Slides/RichText/PAGE5_RICHTEXT_1.ts b/packages/common-plugin-data/src/Slides/RichText/PAGE5_RICHTEXT_1.tsindex de483281b9..0343667a0d 100644--- a/packages/common-plugin-data/src/Slides/RichText/PAGE5_RICHTEXT_1.ts+++ b/packages/common-plugin-data/src/Slides/RichText/PAGE5_RICHTEXT_1.ts@@ -1,4 +1,4 @@-import { BlockType, BooleanNumber, IDocumentData, ParagraphElementType } from '@univer/core';+import { BlockType, BooleanNumber, IDocumentData, ParagraphElementType } from '@univerjs/core';import { DEFAULT_LIST_TEST } from '../../Docs/DEFAULT_LIST';export const PAGE5_RICHTEXT_1: IDocumentData = {diff --git a/packages/common-plugin-data/src/Slides/UNLIMITED_SLIDE_DATA.ts b/packages/common-plugin-data/src/Slides/UNLIMITED_SLIDE_DATA.tsindex 6f55bb38c8..92087f48f7 100644--- a/packages/common-plugin-data/src/Slides/UNLIMITED_SLIDE_DATA.ts+++ b/packages/common-plugin-data/src/Slides/UNLIMITED_SLIDE_DATA.ts@@ -1,4 +1,4 @@-import { ISlideData, PageElementType, PageType, ShapeType } from '@univer/core';+import { ISlideData, PageElementType, PageType, ShapeType } from '@univerjs/core';import { DEFAULT_SECOND_PAGE } from './DefaultPages/Page2';import { DEFAULT_THIRD_PAGE } from './DefaultPages/Page3';import { DEFAULT_FORTH_PAGE } from './DefaultPages/Page4';diff --git a/packages/common-plugin-data/src/Types/index.d.ts b/packages/common-plugin-data/src/Types/index.d.tsindex 53db60d3f3..9bf70dc9f0 100644--- a/packages/common-plugin-data/src/Types/index.d.ts+++ b/packages/common-plugin-data/src/Types/index.d.ts@@ -1,2 +1,2 @@export * from '../index';-declare module '@univer/common-plugin-data' { }+declare module '@univerjs/common-plugin-data' { }diff --git a/packages/common-plugin-data/vite.config.ts b/packages/common-plugin-data/vite.config.tsindex 4a615d6875..2d164c0292 100644--- a/packages/common-plugin-data/vite.config.ts+++ b/packages/common-plugin-data/vite.config.ts@@ -31,7 +31,7 @@ export default defineConfig({plugins: [createExternal({externals: {- '@univer/core': '@univer/core'+ '@univerjs/core': '@univerjs/core'},}),],diff --git a/packages/core/README.md b/packages/core/README.mdindex 6e136b8708..4d58562407 100644--- a/packages/core/README.md+++ b/packages/core/README.md@@ -1,19 +1,19 @@-# @univer/core+# @univerjs/core## dev```bash-pnpm run --filter @univer/sheets-plugin-alternating-colors dev+pnpm run --filter @univerjs/sheets-plugin-alternating-colors dev```## test```bash-pnpm run --filter @univer/sheets-plugin-alternating-colors test+pnpm run --filter @univerjs/sheets-plugin-alternating-colors test```## test cover```bash-pnpm run --filter @univer/sheets-plugin-alternating-colors test:cover+pnpm run --filter @univerjs/sheets-plugin-alternating-colors test:cover```diff --git a/packages/core/package.json b/packages/core/package.jsonindex 27bf5c4d47..02874b05cf 100644--- a/packages/core/package.json+++ b/packages/core/package.json@@ -1,5 +1,5 @@{- "name": "@univer/core",+ "name": "@univerjs/core","version": "0.0.1","description": "Univer core","author": "DreamNum <[email protected]>",diff --git a/packages/core/src/Types/index.d.ts b/packages/core/src/Types/index.d.tsindex 9e5a1e30c2..30322d0ab3 100644--- a/packages/core/src/Types/index.d.ts+++ b/packages/core/src/Types/index.d.ts@@ -1,5 +1,5 @@export * from '../index';-declare module '@univer/core' { }+declare module '@univerjs/core' {}declare global {interface Navigator {diff --git a/packages/sheets-plugin-alternating-colors/README-zh.md b/packages/sheets-plugin-alternating-colors/README-zh.mdindex 8552079bed..37f5ea438d 100644--- a/packages/sheets-plugin-alternating-colors/README-zh.md+++ b/packages/sheets-plugin-alternating-colors/README-zh.md@@ -9,13 +9,13 @@ UniverSheet AlternatingColors 插件### 安装```bash-npm i @univer/sheets-plugin-alternating-colors+npm i @univerjs/sheets-plugin-alternating-colors```### 使用```js-impport {AlternatingColors} from '@univer/sheets-plugin-alternating-colors'+impport {AlternatingColors} from '@univerjs/sheets-plugin-alternating-colors'const univerSheet = new UniverSheet();univerSheet.installPlugin(new AlternatingColors());@@ -41,7 +41,7 @@ pnpm installnpm run dev# 或者项目根目录 ./-pnpm run --filter @univer/sheets-plugin-alternating-colors dev+pnpm run --filter @univerjs/sheets-plugin-alternating-colors dev```### 打包@@ -51,5 +51,5 @@ pnpm run --filter @univer/sheets-plugin-alternating-colors devnpm run build# 或者根目录 ./-pnpm run --filter @univer/sheets-plugin-alternating-colors build+pnpm run --filter @univerjs/sheets-plugin-alternating-colors build```diff --git a/packages/sheets-plugin-alternating-colors/README.md b/packages/sheets-plugin-alternating-colors/README.mdindex 9fd46a1cd8..c9bbb3591b 100644--- a/packages/sheets-plugin-alternating-colors/README.md+++ b/packages/sheets-plugin-alternating-colors/README.md@@ -9,13 +9,13 @@ UniverSheet Plugin AlternatingColors### Installation```bash-npm i @univer/sheets-plugin-alternating-colors+npm i @univerjs/sheets-plugin-alternating-colors```### Usage```js-impport {AlternatingColors} from '@univer/sheets-plugin-alternating-colors'+impport {AlternatingColors} from '@univerjs/sheets-plugin-alternating-colors'const univerSheet = new UniverSheet();univerSheet.installPlugin(new AlternatingColors());@@ -41,7 +41,7 @@ pnpm installnpm run dev# Or project root directory ./-pnpm run --filter @univer/sheets-plugin-alternating-colors dev+pnpm run --filter @univerjs/sheets-plugin-alternating-colors dev```### Package@@ -51,5 +51,5 @@ pnpm run --filter @univer/sheets-plugin-alternating-colors devnpm run build# Or root directory ./-pnpm run --filter @univer/sheets-plugin-alternating-colors build+pnpm run --filter @univerjs/sheets-plugin-alternating-colors build```diff --git a/packages/sheets-plugin-alternating-colors/package.json b/packages/sheets-plugin-alternating-colors/package.jsonindex 2aedcc80aa..a7c8370a76 100644--- a/packages/sheets-plugin-alternating-colors/package.json+++ b/packages/sheets-plugin-alternating-colors/package.json@@ -1,5 +1,5 @@{- "name": "@univer/sheets-plugin-alternating-colors",+ "name": "@univerjs/sheets-plugin-alternating-colors","version": "0.0.1","description": "UniverSheet normal plugin-alternating-colors","keywords": [],@@ -45,12 +45,12 @@"vite-plugin-external": "1.2.3"},"dependencies": {- "@univer/base-component": "workspace:^0.0.1",- "@univer/base-render": "workspace:^0.0.1",- "@univer/base-sheets": "workspace:^0.0.1",- "@univer/common-plugin-data": "workspace:^0.0.1",- "@univer/core": "workspace:^0.0.1",- "@univer/style-univer": "workspace:^0.0.1",+ "@univerjs/base-component": "workspace:^0.0.1",+ "@univerjs/base-render": "workspace:^0.0.1",+ "@univerjs/base-sheets": "workspace:^0.0.1",+ "@univerjs/common-plugin-data": "workspace:^0.0.1",+ "@univerjs/core": "workspace:^0.0.1",+ "@univerjs/style-univer": "workspace:^0.0.1","preact": "^10.5.14"}}diff --git a/packages/sheets-plugin-alternating-colors/src/AlternatingColorsPlugin.tsx b/packages/sheets-plugin-alternating-colors/src/AlternatingColorsPlugin.tsxindex 4f4f3ecea1..95d694db9d 100644--- a/packages/sheets-plugin-alternating-colors/src/AlternatingColorsPlugin.tsx+++ b/packages/sheets-plugin-alternating-colors/src/AlternatingColorsPlugin.tsx@@ -1,6 +1,6 @@-import { ISlotElement, ISlotProps } from '@univer/base-component';-import { SheetContext, IOCContainer, UniverSheet, Nullable, Plugin, PLUGIN_NAMES, Command } from '@univer/core';-import { IToolBarItemProps, SheetPlugin } from '@univer/base-sheets';+import { ISlotElement, ISlotProps } from '@univerjs/base-component';+import { SheetContext, IOCContainer, UniverSheet, Nullable, Plugin, PLUGIN_NAMES, Command } from '@univerjs/core';+import { IToolBarItemProps, SheetPlugin } from '@univerjs/base-sheets';import { Banding } from './Banding';import { IAddBandingActionData } from './Command';import { ACTION_NAMES } from './Command/ACTION_NAMES';diff --git a/packages/sheets-plugin-alternating-colors/src/Apply/SetBanding.ts b/packages/sheets-plugin-alternating-colors/src/Apply/SetBanding.tsindex a6a4bbbf43..07e602f0c6 100644--- a/packages/sheets-plugin-alternating-colors/src/Apply/SetBanding.ts+++ b/packages/sheets-plugin-alternating-colors/src/Apply/SetBanding.ts@@ -1,4 +1,4 @@-import { Tools } from '@univer/core';+import { Tools } from '@univerjs/core';import { AlternatingColorsPlugin } from '../AlternatingColorsPlugin';import { DEFAULT_PROPERTIES_BANDED_RANGE, IBandedRange } from '../IBandedRange';diff --git a/packages/sheets-plugin-alternating-colors/src/Banding.ts b/packages/sheets-plugin-alternating-colors/src/Banding.tsindex 6bbb2f656a..607a626e7d 100644--- a/packages/sheets-plugin-alternating-colors/src/Banding.ts+++ b/packages/sheets-plugin-alternating-colors/src/Banding.ts@@ -1,4 +1,4 @@-import { Command, CommandManager, SheetContext, Plugin, Worksheet } from '@univer/core';+import { Command, CommandManager, SheetContext, Plugin, Worksheet } from '@univerjs/core';import { IAddBandingActionData, IDeleteBandingActionData, ISetBandingActionData } from './Command';import { ACTION_NAMES } from './Command/ACTION_NAMES';diff --git a/packages/sheets-plugin-alternating-colors/src/Basics/Observer.ts b/packages/sheets-plugin-alternating-colors/src/Basics/Observer.tsindex dcac4f5854..2070c72052 100644--- a/packages/sheets-plugin-alternating-colors/src/Basics/Observer.ts+++ b/packages/sheets-plugin-alternating-colors/src/Basics/Observer.ts@@ -1,4 +1,4 @@-import { Plugin, Observable } from '@univer/core';+import { Plugin, Observable } from '@univerjs/core';export type AlternatingColorsPluginObserve = {onAfterChangeFontFamilyObservable: Observable<string>;diff --git a/packages/sheets-plugin-alternating-colors/src/Command/Action/AddBandingAction.ts b/packages/sheets-plugin-alternating-colors/src/Command/Action/AddBandingAction.tsindex 6d5eec187b..5936801d83 100644--- a/packages/sheets-plugin-alternating-colors/src/Command/Action/AddBandingAction.ts+++ b/packages/sheets-plugin-alternating-colors/src/Command/Action/AddBandingAction.ts@@ -1,4 +1,4 @@-import { SheetActionBase, ActionObservers, ISheetActionData, Workbook } from '@univer/core';+import { SheetActionBase, ActionObservers, ISheetActionData, Workbook } from '@univerjs/core';import { AlternatingColorsPlugin } from '../../AlternatingColorsPlugin';import { AddBanding } from '../../Apply/AddBanding';import { DeleteBanding } from '../../Apply/DeleteBanding';diff --git a/packages/sheets-plugin-alternating-colors/src/Command/Action/DeleteBandingAction.ts b/packages/sheets-plugin-alternating-colors/src/Command/Action/DeleteBandingAction.tsindex 0e165d14d2..fb4d919758 100644--- a/packages/sheets-plugin-alternating-colors/src/Command/Action/DeleteBandingAction.ts+++ b/packages/sheets-plugin-alternating-colors/src/Command/Action/DeleteBandingAction.ts@@ -1,4 +1,4 @@-import { SheetActionBase, ActionObservers, ISheetActionData, Workbook } from '@univer/core';+import { SheetActionBase, ActionObservers, ISheetActionData, Workbook } from '@univerjs/core';import { AlternatingColorsPlugin } from '../../AlternatingColorsPlugin';import { AddBanding } from '../../Apply/AddBanding';import { DeleteBanding } from '../../Apply/DeleteBanding';diff --git a/packages/sheets-plugin-alternating-colors/src/Command/Action/SetBandingAction.ts b/packages/sheets-plugin-alternating-colors/src/Command/Action/SetBandingAction.tsindex 436d1378d2..0fd16f6172 100644--- a/packages/sheets-plugin-alternating-colors/src/Command/Action/SetBandingAction.ts+++ b/packages/sheets-plugin-alternating-colors/src/Command/Action/SetBandingAction.ts@@ -1,4 +1,4 @@-import { SheetActionBase, ActionObservers, ISheetActionData, Workbook } from '@univer/core';+import { SheetActionBase, ActionObservers, ISheetActionData, Workbook } from '@univerjs/core';import { AlternatingColorsPlugin } from '../../AlternatingColorsPlugin';import { SetBanding } from '../../Apply/SetBanding';import { ALTERNATING_COLORS_PLUGIN_NAME } from '../../Const';diff --git a/packages/sheets-plugin-alternating-colors/src/Command/RegisterAction.ts b/packages/sheets-plugin-alternating-colors/src/Command/RegisterAction.tsindex 062d626fec..ce48175bcd 100644--- a/packages/sheets-plugin-alternating-colors/src/Command/RegisterAction.ts+++ b/packages/sheets-plugin-alternating-colors/src/Command/RegisterAction.ts@@ -1,4 +1,4 @@-import { CommandManager } from '@univer/core';+import { CommandManager } from '@univerjs/core';import { AddBandingAction } from './Action/AddBandingAction';import { DeleteBandingAction } from './Action/DeleteBandingAction';import { SetBandingAction } from './Action/SetBandingAction';diff --git a/packages/sheets-plugin-alternating-colors/src/IBandedRange.ts b/packages/sheets-plugin-alternating-colors/src/IBandedRange.tsindex c476536947..3189d53aa6 100644--- a/packages/sheets-plugin-alternating-colors/src/IBandedRange.ts+++ b/packages/sheets-plugin-alternating-colors/src/IBandedRange.ts@@ -1,4 +1,4 @@-import { IRangeData } from '@univer/core';+import { IRangeData } from '@univerjs/core';import { BandingTheme } from './BandingTheme';/*** Properties referring a single dimension (either row or column).diff --git a/packages/sheets-plugin-alternating-colors/src/Types/index.d.ts b/packages/sheets-plugin-alternating-colors/src/Types/index.d.tsindex 4482e7e0d5..3a5837822a 100644--- a/packages/sheets-plugin-alternating-colors/src/Types/index.d.ts+++ b/packages/sheets-plugin-alternating-colors/src/Types/index.d.ts@@ -1,7 +1,7 @@export * from '../index';-declare module '@univer/sheets-plugin-alternating-colors' { }+declare module '@univerjs/sheets-plugin-alternating-colors' { }// use css moduledeclare module '*.less' {diff --git a/packages/sheets-plugin-alternating-colors/src/UI/AlternatingColorsButton.tsx b/packages/sheets-plugin-alternating-colors/src/UI/AlternatingColorsButton.tsxindex ed3e9fbaa1..03a0eb8f6d 100644--- a/packages/sheets-plugin-alternating-colors/src/UI/AlternatingColorsButton.tsx+++ b/packages/sheets-plugin-alternating-colors/src/UI/AlternatingColorsButton.tsx@@ -1,7 +1,7 @@-import { Component, IToolBarItemProps } from '@univer/base-component';+import { Component, IToolBarItemProps } from '@univerjs/base-component';-import { SheetContext, Nullable, Observer, PLUGIN_NAMES, Workbook } from '@univer/core';-import { SheetPlugin } from '@univer/base-sheets';+import { SheetContext, Nullable, Observer, PLUGIN_NAMES, Workbook } from '@univerjs/core';+import { SheetPlugin } from '@univerjs/base-sheets';import { ALTERNATING_COLORS_PLUGIN_NAME } from '../Const';import { IProps } from '../IData/IAlternatingColors';diff --git a/packages/sheets-plugin-alternating-colors/src/UI/AlternatingColorsSide/AlternatingColorsSide.tsx b/packages/sheets-plugin-alternating-colors/src/UI/AlternatingColorsSide/AlternatingColorsSide.tsxindex 321adbf73d..e5777f9800 100644--- a/packages/sheets-plugin-alternating-colors/src/UI/AlternatingColorsSide/AlternatingColorsSide.tsx+++ b/packages/sheets-plugin-alternating-colors/src/UI/AlternatingColorsSide/AlternatingColorsSide.tsx@@ -1,6 +1,6 @@-import { closest, Component, createRef } from '@univer/base-component';-import { IKeyValue, IRangeStringData, Nullable, Observer, PluginManager, PLUGIN_NAMES, Tools, Workbook } from '@univer/core';-import { SheetPlugin } from '@univer/base-sheets';+import { closest, Component, createRef } from '@univerjs/base-component';+import { IKeyValue, IRangeStringData, Nullable, Observer, PluginManager, PLUGIN_NAMES, Tools, Workbook } from '@univerjs/core';+import { SheetPlugin } from '@univerjs/base-sheets';import { AlternatingColorsPlugin } from '../../AlternatingColorsPlugin';import { BandingTheme } from '../../BandingTheme';diff --git a/packages/sheets-plugin-alternating-colors/src/main.tsx b/packages/sheets-plugin-alternating-colors/src/main.tsxindex 1e559fb373..e5576f8d2e 100644--- a/packages/sheets-plugin-alternating-colors/src/main.tsx+++ b/packages/sheets-plugin-alternating-colors/src/main.tsx@@ -1,8 +1,8 @@-import { UniverSheet } from '@univer/core';-import { RenderEngine } from '@univer/base-render';-import { DEFAULT_WORKBOOK_DATA } from '@univer/common-plugin-data';-import { SheetPlugin } from '@univer/base-sheets';-import { UniverComponentSheet } from '@univer/style-univer';+import { UniverSheet } from '@univerjs/core';+import { RenderEngine } from '@univerjs/base-render';+import { DEFAULT_WORKBOOK_DATA } from '@univerjs/common-plugin-data';+import { SheetPlugin } from '@univerjs/base-sheets';+import { UniverComponentSheet } from '@univerjs/style-univer';const uiDefaultConfigUp = {container: 'universheet-demo-up',diff --git a/packages/sheets-plugin-alternating-colors/test/Banding.test.ts b/packages/sheets-plugin-alternating-colors/test/Banding.test.tsindex 41da4be5b6..ada6f042ff 100644--- a/packages/sheets-plugin-alternating-colors/test/Banding.test.ts+++ b/packages/sheets-plugin-alternating-colors/test/Banding.test.ts@@ -1,8 +1,8 @@/*** @jest-environment jsdom*/-import { UniverSheet } from '@univer/core';-import { StyleUniverSheet } from '@univer/style-univer';+import { UniverSheet } from '@univerjs/core';+import { StyleUniverSheet } from '@univerjs/style-univer';import { AlternatingColorsPlugin } from '../src';// TODO 补充单元测试test('Test Banding', () => {diff --git a/packages/sheets-plugin-alternating-colors/vite.config.ts b/packages/sheets-plugin-alternating-colors/vite.config.tsindex dace230d6c..6db06c4d77 100644--- a/packages/sheets-plugin-alternating-colors/vite.config.ts+++ b/packages/sheets-plugin-alternating-colors/vite.config.ts@@ -38,8 +38,8 @@ export default defineConfig({preact(),createExternal({externals: {- '@univer/core': '@univer/core',- '@univer/style-univer': '@univer/style-univer',+ '@univerjs/core': '@univerjs/core',+ '@univerjs/style-univer': '@univerjs/style-univer',preact: 'preact',react: 'react',},diff --git a/packages/sheets-plugin-clipboard/README-zh.md b/packages/sheets-plugin-clipboard/README-zh.mdindex ca7d0c0ced..09e7664f1b 100644--- a/packages/sheets-plugin-clipboard/README-zh.md+++ b/packages/sheets-plugin-clipboard/README-zh.md@@ -16,13 +16,13 @@ UniverSheet 官方 UI 组件库### 安装```bash-npm i @univer/style-univer+npm i @univerjs/style-univer```### 使用```js-impport baseUI from '@univer/style-univer'+impport baseUI from '@univerjs/style-univer'universheet.install(baseUI)universheet.create({plugins:['style-univer']@@ -49,7 +49,7 @@ npm inpm run dev# 或者项目根目录 ./-npm run dev -w @univer/style-univer+npm run dev -w @univerjs/style-univer```### 打包@@ -59,7 +59,7 @@ npm run dev -w @univer/style-univernpm run build# 或者根目录 ./-npm run build -w @univer/style-univer+npm run build -w @univerjs/style-univer```## 组件库文档@@ -80,7 +80,7 @@ npm inpm run start# 或者根目录-npm run start -w @univer/style-univer+npm run start -w @univerjs/style-univer```此命令启动本地开发服务器并打开浏览器窗口。 大多数更改都会实时刷新,而无需重新启动服务器。@@ -92,7 +92,7 @@ npm run start -w @univer/style-univernpm run build:doc# 或者根目录-npm run build:doc -w @univer/style-univer+npm run build:doc -w @univerjs/style-univer```此命令将静态内容生成到 `build` 目录中,并且可以使用任何静态内容托管服务来提供。diff --git a/packages/sheets-plugin-clipboard/README.md b/packages/sheets-plugin-clipboard/README.mdindex 66fb725e95..a45bd77aad 100644--- a/packages/sheets-plugin-clipboard/README.md+++ b/packages/sheets-plugin-clipboard/README.md@@ -16,13 +16,13 @@ UniverSheet official UI component library### Install```bash-npm i @univer/style-univer+npm i @univerjs/style-univer```### Import```js-impport baseUI from'@univer/style-univer'+impport baseUI from'@univerjs/style-univer'universheet.install(baseUI)universheet.create({plugins:['style-univer']@@ -49,7 +49,7 @@ npm inpm run dev# Or project root directory ./-npm run dev -w @univer/style-univer+npm run dev -w @univerjs/style-univer```### Package@@ -59,7 +59,7 @@ npm run dev -w @univer/style-univernpm run build# Or root directory ./-npm run build -w @univer/style-univer+npm run build -w @univerjs/style-univer```## Doc Website@@ -80,7 +80,7 @@ npm inpm run start# or root folder-npm run start -w @univer/style-univer+npm run start -w @univerjs/style-univer```This command starts a local development server and opens up a browser window. Most changes are reflected live without having to restart the server.@@ -92,7 +92,7 @@ This command starts a local development server and opens up a browser window. Monpm run build:doc# or root folder-npm run build:doc -w @univer/style-univer+npm run build:doc -w @univerjs/style-univer```This command generates static content into the `build` directory and can be served using any static contents hosting service.diff --git a/packages/sheets-plugin-clipboard/package.json b/packages/sheets-plugin-clipboard/package.jsonindex ff434c1550..6467dc53c9 100644--- a/packages/sheets-plugin-clipboard/package.json+++ b/packages/sheets-plugin-clipboard/package.json@@ -1,5 +1,5 @@{- "name": "@univer/sheets-plugin-clipboard",+ "name": "@univerjs/sheets-plugin-clipboard","version": "0.0.1","description": "UniverSheet normal plugin UI manager","keywords": [],@@ -41,12 +41,12 @@"vite-plugin-external": "1.2.3"},"dependencies": {- "@univer/base-component": "workspace:^0.0.1",- "@univer/base-render": "workspace:^0.0.1",- "@univer/base-sheets": "workspace:^0.0.1",- "@univer/common-plugin-data": "workspace:^0.0.1",- "@univer/core": "workspace:^0.0.1",- "@univer/style-univer": "workspace:^0.0.1",+ "@univerjs/base-component": "workspace:^0.0.1",+ "@univerjs/base-render": "workspace:^0.0.1",+ "@univerjs/base-sheets": "workspace:^0.0.1",+ "@univerjs/common-plugin-data": "workspace:^0.0.1",+ "@univerjs/core": "workspace:^0.0.1",+ "@univerjs/style-univer": "workspace:^0.0.1","nanoid": "^4.0.0","preact": "^10.5.14"}diff --git a/packages/sheets-plugin-clipboard/src/Action/AddFilterAction.ts b/packages/sheets-plugin-clipboard/src/Action/AddFilterAction.tsindex 65482f7349..534344e2fa 100644--- a/packages/sheets-plugin-clipboard/src/Action/AddFilterAction.ts+++ b/packages/sheets-plugin-clipboard/src/Action/AddFilterAction.ts@@ -1,4 +1,4 @@-import { SheetActionBase, ActionObservers, ISheetActionData, Nullable, Workbook } from '@univer/core';+import { SheetActionBase, ActionObservers, ISheetActionData, Nullable, Workbook } from '@univerjs/core';import { IFilter } from '../Domain';import { ACTION_NAMES, FILTER_PLUGIN } from '../Const';import { AddFilter, RemoveFilter } from '../Apply';diff --git a/packages/sheets-plugin-clipboard/src/Action/AddFilterCriteriaAction.ts b/packages/sheets-plugin-clipboard/src/Action/AddFilterCriteriaAction.tsindex 91f15f08c1..c0c95ab78b 100644--- a/packages/sheets-plugin-clipboard/src/Action/AddFilterCriteriaAction.ts+++ b/packages/sheets-plugin-clipboard/src/Action/AddFilterCriteriaAction.ts@@ -1,4 +1,4 @@-import { SheetActionBase, ActionObservers, ISheetActionData, Nullable, Workbook } from '@univer/core';+import { SheetActionBase, ActionObservers, ISheetActionData, Nullable, Workbook } from '@univerjs/core';import { IFilterCriteriaColumn } from '../Domain/FilterCriteriaColumn';import { ACTION_NAMES } from '../Const/ACTION_NAME';import { FILTER_PLUGIN } from '../Const';diff --git a/packages/sheets-plugin-clipboard/src/Action/RemoveFilterAction.ts b/packages/sheets-plugin-clipboard/src/Action/RemoveFilterAction.tsindex cd51a8c169..d182ae63d6 100644--- a/packages/sheets-plugin-clipboard/src/Action/RemoveFilterAction.ts+++ b/packages/sheets-plugin-clipboard/src/Action/RemoveFilterAction.ts@@ -1,4 +1,4 @@-import { SheetActionBase, ActionObservers, ISheetActionData, Nullable, Workbook } from '@univer/core';+import { SheetActionBase, ActionObservers, ISheetActionData, Nullable, Workbook } from '@univerjs/core';import { AddFilter, RemoveFilter } from '../Apply';import { ACTION_NAMES, FILTER_PLUGIN } from '../Const';import { IFilter } from '../Domain';diff --git a/packages/sheets-plugin-clipboard/src/Action/RemoveFilterCriteriaAction.ts b/packages/sheets-plugin-clipboard/src/Action/RemoveFilterCriteriaAction.tsindex a713621f80..857f7370b6 100644--- a/packages/sheets-plugin-clipboard/src/Action/RemoveFilterCriteriaAction.ts+++ b/packages/sheets-plugin-clipboard/src/Action/RemoveFilterCriteriaAction.ts@@ -1,4 +1,4 @@-import { SheetActionBase, ActionObservers, ISheetActionData, Nullable, Workbook } from '@univer/core';+import { SheetActionBase, ActionObservers, ISheetActionData, Nullable, Workbook } from '@univerjs/core';import { AddFilterCriteria, RemoveFilterCriteria } from '../Apply';import { ACTION_NAMES, FILTER_PLUGIN } from '../Const';import { IFilterCriteriaColumn } from '../Domain';diff --git a/packages/sheets-plugin-clipboard/src/Apply/AddFilter.ts b/packages/sheets-plugin-clipboard/src/Apply/AddFilter.tsindex d74e3bd208..bbf57f9f9b 100644--- a/packages/sheets-plugin-clipboard/src/Apply/AddFilter.ts+++ b/packages/sheets-plugin-clipboard/src/Apply/AddFilter.ts@@ -1,4 +1,4 @@-import { Nullable } from '@univer/core';+import { Nullable } from '@univerjs/core';import { Filter, IFilter } from '../Domain';import { ClipboardPlugin } from '../ClipboardPlugin';diff --git a/packages/sheets-plugin-clipboard/src/Apply/AddFilterCriteria.ts b/packages/sheets-plugin-clipboard/src/Apply/AddFilterCriteria.tsindex e095c564d8..b826459376 100644--- a/packages/sheets-plugin-clipboard/src/Apply/AddFilterCriteria.ts+++ b/packages/sheets-plugin-clipboard/src/Apply/AddFilterCriteria.ts@@ -1,4 +1,4 @@-import { Nullable } from '@univer/core';+import { Nullable } from '@univerjs/core';import { FilterCriteriaColumn, IFilterCriteriaColumn } from '../Domain';import { ClipboardPlugin } from '../ClipboardPlugin';diff --git a/packages/sheets-plugin-clipboard/src/Apply/RemoveFilter.ts b/packages/sheets-plugin-clipboard/src/Apply/RemoveFilter.tsindex 4accac003b..c8650d1452 100644--- a/packages/sheets-plugin-clipboard/src/Apply/RemoveFilter.ts+++ b/packages/sheets-plugin-clipboard/src/Apply/RemoveFilter.ts@@ -1,4 +1,4 @@-import { Nullable } from '@univer/core';+import { Nullable } from '@univerjs/core';import { ClipboardPlugin } from '../ClipboardPlugin';import { IFilter } from '../Domain';diff --git a/packages/sheets-plugin-clipboard/src/Apply/RemoveFilterCriteria.ts b/packages/sheets-plugin-clipboard/src/Apply/RemoveFilterCriteria.tsindex 22f83627e9..fc0999061f 100644--- a/packages/sheets-plugin-clipboard/src/Apply/RemoveFilterCriteria.ts+++ b/packages/sheets-plugin-clipboard/src/Apply/RemoveFilterCriteria.ts@@ -1,4 +1,4 @@-import { Nullable } from '@univer/core';+import { Nullable } from '@univerjs/core';import { ClipboardPlugin } from '../ClipboardPlugin';import { IFilterCriteriaColumn } from '../Domain';diff --git a/packages/sheets-plugin-clipboard/src/Basics/Register/ClipboardExtension.ts b/packages/sheets-plugin-clipboard/src/Basics/Register/ClipboardExtension.tsindex 591161d301..3cd115a705 100644--- a/packages/sheets-plugin-clipboard/src/Basics/Register/ClipboardExtension.ts+++ b/packages/sheets-plugin-clipboard/src/Basics/Register/ClipboardExtension.ts@@ -1,4 +1,4 @@-import { BaseClipboardExtension, BaseClipboardExtensionFactory, handelTableToJson, handlePlainToJson, IClipboardData } from '@univer/base-component';+import { BaseClipboardExtension, BaseClipboardExtensionFactory, handelTableToJson, handlePlainToJson, IClipboardData } from '@univerjs/base-component';import { ClipboardPlugin } from '../../ClipboardPlugin';export class ClipboardExtension extends BaseClipboardExtension<ClipboardPlugin> {diff --git a/packages/sheets-plugin-clipboard/src/Basics/Register/ClipboardOfficeExtension.ts b/packages/sheets-plugin-clipboard/src/Basics/Register/ClipboardOfficeExtension.tsindex 8b4c730657..6a442681af 100644--- a/packages/sheets-plugin-clipboard/src/Basics/Register/ClipboardOfficeExtension.ts+++ b/packages/sheets-plugin-clipboard/src/Basics/Register/ClipboardOfficeExtension.ts@@ -1,4 +1,4 @@-import { BaseClipboardExtension, BaseClipboardExtensionFactory, IClipboardData } from '@univer/base-component';+import { BaseClipboardExtension, BaseClipboardExtensionFactory, IClipboardData } from '@univerjs/base-component';import { ClipboardPlugin } from '../../ClipboardPlugin';/**diff --git a/packages/sheets-plugin-clipboard/src/ClipboardPlugin.tsx b/packages/sheets-plugin-clipboard/src/ClipboardPlugin.tsxindex 19f2f05ebf..f3c4627e1f 100644--- a/packages/sheets-plugin-clipboard/src/ClipboardPlugin.tsx+++ b/packages/sheets-plugin-clipboard/src/ClipboardPlugin.tsx@@ -1,5 +1,5 @@-import { SheetContext, Plugin, UniverSheet, PLUGIN_NAMES } from '@univer/core';-import { BaseComponentPlugin } from '@univer/base-component';+import { SheetContext, Plugin, UniverSheet, PLUGIN_NAMES } from '@univerjs/core';+import { BaseComponentPlugin } from '@univerjs/base-component';import { en, zh } from './Locale';import { CLIPBOARD_PLUGIN } from './Const';import { Copy, Paste, UniverCopy, UniverPaste } from './Domain';diff --git a/packages/sheets-plugin-clipboard/src/Domain/Copy.ts b/packages/sheets-plugin-clipboard/src/Domain/Copy.tsindex a0a59cc17d..e984d599a9 100644--- a/packages/sheets-plugin-clipboard/src/Domain/Copy.ts+++ b/packages/sheets-plugin-clipboard/src/Domain/Copy.ts@@ -1,6 +1,6 @@-import { handleJsonToDom, handleStyleToString } from '@univer/base-component';-import { SheetContext, PLUGIN_NAMES, Tools } from '@univer/core';-import { SheetPlugin, SelectionModel, RightMenuProps, SelectionControl, RightMenuItem } from '@univer/base-sheets';+import { handleJsonToDom, handleStyleToString } from '@univerjs/base-component';+import { SheetContext, PLUGIN_NAMES, Tools } from '@univerjs/core';+import { SheetPlugin, SelectionModel, RightMenuProps, SelectionControl, RightMenuItem } from '@univerjs/base-sheets';import { Clipboard } from './Clipboard';import { ClipboardInput } from '../UI/ClipboardInput';import { CLIPBOARD_PLUGIN } from '../Const';diff --git a/packages/sheets-plugin-clipboard/src/Domain/Cut.ts b/packages/sheets-plugin-clipboard/src/Domain/Cut.tsindex a6353239ed..0d3406a395 100644--- a/packages/sheets-plugin-clipboard/src/Domain/Cut.ts+++ b/packages/sheets-plugin-clipboard/src/Domain/Cut.ts@@ -1,6 +1,6 @@-import { handleJsonToDom, handleStyleToString } from '@univer/base-component';-import { SheetContext, PLUGIN_NAMES, Tools } from '@univer/core';-import { SheetPlugin, SelectionModel, RightMenuProps, SelectionControl } from '@univer/base-sheets';+import { handleJsonToDom, handleStyleToString } from '@univerjs/base-component';+import { SheetContext, PLUGIN_NAMES, Tools } from '@univerjs/core';+import { SheetPlugin, SelectionModel, RightMenuProps, SelectionControl } from '@univerjs/base-sheets';import { Clipboard } from './Clipboard';import { CLIPBOARD_PLUGIN } from '../Const';diff --git a/packages/sheets-plugin-clipboard/src/Domain/Paste.ts b/packages/sheets-plugin-clipboard/src/Domain/Paste.tsindex 0e2aa79e12..8e8a6af991 100644--- a/packages/sheets-plugin-clipboard/src/Domain/Paste.ts+++ b/packages/sheets-plugin-clipboard/src/Domain/Paste.ts@@ -1,7 +1,7 @@-import { SelectionControl } from '@univer/base-sheets/src/Controller/Selection/SelectionController';-import { SheetContext, PLUGIN_NAMES } from '@univer/core';-import { RightMenuProps, SelectionModel, SheetPlugin } from '@univer/base-sheets';-import { handleTableMergeData } from '@univer/base-component';+import { SelectionControl } from '@univerjs/base-sheets/src/Controller/Selection/SelectionController';+import { SheetContext, PLUGIN_NAMES } from '@univerjs/core';+import { RightMenuProps, SelectionModel, SheetPlugin } from '@univerjs/base-sheets';+import { handleTableMergeData } from '@univerjs/base-component';export interface PasteType {type: string;diff --git a/packages/sheets-plugin-clipboard/src/IData.ts b/packages/sheets-plugin-clipboard/src/IData.tsindex eef24e3f91..4e9190e13a 100644--- a/packages/sheets-plugin-clipboard/src/IData.ts+++ b/packages/sheets-plugin-clipboard/src/IData.ts@@ -1,4 +1,4 @@-import { SheetContext } from '@univer/core';+import { SheetContext } from '@univerjs/core';import { ClipboardPlugin } from './ClipboardPlugin';export type IConfig = {diff --git a/packages/sheets-plugin-clipboard/src/IData/FilterType.ts b/packages/sheets-plugin-clipboard/src/IData/FilterType.tsindex 38f3f82801..d44d7957bf 100644--- a/packages/sheets-plugin-clipboard/src/IData/FilterType.ts+++ b/packages/sheets-plugin-clipboard/src/IData/FilterType.ts@@ -1,4 +1,4 @@-import { IColor, IRangeData, Nullable } from '@univer/core';+import { IColor, IRangeData, Nullable } from '@univerjs/core';export type IFilterType = {range: IRangeData;diff --git a/packages/sheets-plugin-clipboard/src/Types/index.d.ts b/packages/sheets-plugin-clipboard/src/Types/index.d.tsindex fbf059f050..789d7342a3 100644--- a/packages/sheets-plugin-clipboard/src/Types/index.d.ts+++ b/packages/sheets-plugin-clipboard/src/Types/index.d.ts@@ -1,5 +1,5 @@export * from '../index';-declare module '@univer/sheets-plugin-clipboard' {}+declare module '@univerjs/sheets-plugin-clipboard' {}// use css moduledeclare module '*.less' {diff --git a/packages/sheets-plugin-clipboard/src/UI/ClipboardInput.tsx b/packages/sheets-plugin-clipboard/src/UI/ClipboardInput.tsxindex b5e3055bd0..73877d0467 100644--- a/packages/sheets-plugin-clipboard/src/UI/ClipboardInput.tsx+++ b/packages/sheets-plugin-clipboard/src/UI/ClipboardInput.tsx@@ -1,4 +1,4 @@-import { BaseComponentRender, BaseComponentSheet, Component } from '@univer/base-component';+import { BaseComponentRender, BaseComponentSheet, Component } from '@univerjs/base-component';interface IProps {prefix?: string;diff --git a/packages/sheets-plugin-clipboard/test/StartUp.ts b/packages/sheets-plugin-clipboard/test/StartUp.tsindex 65aeb51153..7a00efdad4 100644--- a/packages/sheets-plugin-clipboard/test/StartUp.ts+++ b/packages/sheets-plugin-clipboard/test/StartUp.ts@@ -15,7 +15,7 @@ import {Worksheet,ObserverManager,IWorksheetConfig,-} from "@univer/core";+} from "@univerjs/core";export function StartUpReady(): IOCContainer {const configure = {diff --git a/packages/sheets-plugin-clipboard/vite.config.ts b/packages/sheets-plugin-clipboard/vite.config.tsindex 6e87d1c451..aa15ff7df2 100644--- a/packages/sheets-plugin-clipboard/vite.config.ts+++ b/packages/sheets-plugin-clipboard/vite.config.ts@@ -38,8 +38,8 @@ export default defineConfig({preact(),createExternal({externals: {- '@univer/core': '@univer/core',- '@univer/style-univer': '@univer/style-univer',+ '@univerjs/core': '@univerjs/core',+ '@univerjs/style-univer': '@univerjs/style-univer',preact: 'preact',react: 'react',},diff --git a/packages/sheets-plugin-comment/README-zh.md b/packages/sheets-plugin-comment/README-zh.mdindex c2f16f2a15..c1e139a7c8 100644--- a/packages/sheets-plugin-comment/README-zh.md+++ b/packages/sheets-plugin-comment/README-zh.md@@ -9,13 +9,13 @@ UniverSheet Comment 插件### 安装```bash-npm i @univer/sheets-plugin-comment+npm i @univerjs/sheets-plugin-comment```### 使用```js-impport {Comment} from '@univer/sheets-plugin-comment'+impport {Comment} from '@univerjs/sheets-plugin-comment'const univerSheet = new UniverSheet();univerSheet.installPlugin(new Comment());@@ -41,7 +41,7 @@ pnpm installnpm run dev# 或者项目根目录 ./-pnpm run --filter @univer/sheets-plugin-comment dev+pnpm run --filter @univerjs/sheets-plugin-comment dev```### 打包@@ -51,5 +51,5 @@ pnpm run --filter @univer/sheets-plugin-comment devnpm run build# 或者根目录 ./-pnpm run --filter @univer/sheets-plugin-comment build+pnpm run --filter @univerjs/sheets-plugin-comment build```diff --git a/packages/sheets-plugin-comment/README.md b/packages/sheets-plugin-comment/README.mdindex b35293e208..df5aec4b8f 100644--- a/packages/sheets-plugin-comment/README.md+++ b/packages/sheets-plugin-comment/README.md@@ -9,13 +9,13 @@ UniverSheet Plugin Comment### Installation```bash-npm i @univer/sheets-plugin-comment+npm i @univerjs/sheets-plugin-comment```### Usage```js-impport {Comment} from '@univer/sheets-plugin-comment'+impport {Comment} from '@univerjs/sheets-plugin-comment'const univerSheet = new UniverSheet();univerSheet.installPlugin(new Comment());@@ -41,7 +41,7 @@ pnpm installnpm run dev# Or project root directory ./-pnpm run --filter @univer/sheets-plugin-comment dev+pnpm run --filter @univerjs/sheets-plugin-comment dev```### Package@@ -51,5 +51,5 @@ pnpm run --filter @univer/sheets-plugin-comment devnpm run build# Or root directory ./-pnpm run --filter @univer/sheets-plugin-comment build+pnpm run --filter @univerjs/sheets-plugin-comment build```diff --git a/packages/sheets-plugin-comment/package.json b/packages/sheets-plugin-comment/package.jsonindex c6402ab8a7..bd53c2ce09 100644--- a/packages/sheets-plugin-comment/package.json+++ b/packages/sheets-plugin-comment/package.json@@ -1,5 +1,5 @@{- "name": "@univer/sheets-plugin-comment",+ "name": "@univerjs/sheets-plugin-comment","version": "0.0.1","description": "UniverSheet normal plugin-comment","keywords": [],@@ -44,12 +44,12 @@"vite-plugin-external": "1.2.3"},"dependencies": {- "@univer/base-component": "workspace:^0.0.1",- "@univer/base-render": "workspace:^0.0.1",- "@univer/base-sheets": "workspace:^0.0.1",- "@univer/common-plugin-data": "workspace:^0.0.1",- "@univer/core": "workspace:^0.0.1",- "@univer/style-univer": "workspace:^0.0.1",+ "@univerjs/base-component": "workspace:^0.0.1",+ "@univerjs/base-render": "workspace:^0.0.1",+ "@univerjs/base-sheets": "workspace:^0.0.1",+ "@univerjs/common-plugin-data": "workspace:^0.0.1",+ "@univerjs/core": "workspace:^0.0.1",+ "@univerjs/style-univer": "workspace:^0.0.1","preact": "^10.5.14"}}diff --git a/packages/sheets-plugin-comment/src/CommentPlugin.tsx b/packages/sheets-plugin-comment/src/CommentPlugin.tsxindex fd8bb1117c..ba2a4a4f6e 100644--- a/packages/sheets-plugin-comment/src/CommentPlugin.tsx+++ b/packages/sheets-plugin-comment/src/CommentPlugin.tsx@@ -1,6 +1,6 @@-import { IToolBarItemProps, ISlotElement } from '@univer/base-component';-import { SheetContext, IOCContainer, UniverSheet, Nullable, Plugin, PLUGIN_NAMES } from '@univer/core';-import { SheetPlugin } from '@univer/base-sheets';+import { IToolBarItemProps, ISlotElement } from '@univerjs/base-component';+import { SheetContext, IOCContainer, UniverSheet, Nullable, Plugin, PLUGIN_NAMES } from '@univerjs/core';+import { SheetPlugin } from '@univerjs/base-sheets';import { COMMENT_COLORS_PLUGIN_NAME } from './Const/PLUGIN_NAME';import { IConfig } from './IData/IComment';import { en, zh } from './Locale';diff --git a/packages/sheets-plugin-comment/src/Types/index.d.ts b/packages/sheets-plugin-comment/src/Types/index.d.tsindex abb04cb61c..963dc90944 100644--- a/packages/sheets-plugin-comment/src/Types/index.d.ts+++ b/packages/sheets-plugin-comment/src/Types/index.d.ts@@ -1,7 +1,7 @@export * from '../index';-declare module '@univer/sheets-plugin-comment' { }+declare module '@univerjs/sheets-plugin-comment' { }// use css moduledeclare module '*.less' {diff --git a/packages/sheets-plugin-comment/src/UI/CommentButton.tsx b/packages/sheets-plugin-comment/src/UI/CommentButton.tsxindex 6723772db0..e5b8a983c4 100644--- a/packages/sheets-plugin-comment/src/UI/CommentButton.tsx+++ b/packages/sheets-plugin-comment/src/UI/CommentButton.tsx@@ -1,6 +1,6 @@-import { BaseComponentRender, BaseComponentSheet, BaseSelectProps, Component, IToolBarItemProps } from '@univer/base-component';-import { Nullable, Observer, Workbook } from '@univer/core';-import { SheetPlugin } from '@univer/base-sheets';+import { BaseComponentRender, BaseComponentSheet, BaseSelectProps, Component, IToolBarItemProps } from '@univerjs/base-component';+import { Nullable, Observer, Workbook } from '@univerjs/core';+import { SheetPlugin } from '@univerjs/base-sheets';import { IProps } from '../IData/IComment';diff --git a/packages/sheets-plugin-comment/src/main.tsx b/packages/sheets-plugin-comment/src/main.tsxindex 672ae8e6b5..295decacb5 100644--- a/packages/sheets-plugin-comment/src/main.tsx+++ b/packages/sheets-plugin-comment/src/main.tsx@@ -1,8 +1,8 @@-import { UniverSheet } from '@univer/core';-import { RenderEngine } from '@univer/base-render';-import { DEFAULT_WORKBOOK_DATA } from '@univer/common-plugin-data';-import { SheetPlugin } from '@univer/base-sheets';-import { UniverComponentSheet } from '@univer/style-univer';+import { UniverSheet } from '@univerjs/core';+import { RenderEngine } from '@univerjs/base-render';+import { DEFAULT_WORKBOOK_DATA } from '@univerjs/common-plugin-data';+import { SheetPlugin } from '@univerjs/base-sheets';+import { UniverComponentSheet } from '@univerjs/style-univer';const uiDefaultConfigUp = {container: 'universheet-demo-up',diff --git a/packages/sheets-plugin-comment/vite.config.ts b/packages/sheets-plugin-comment/vite.config.tsindex b9ab74fb13..f5fa9d205f 100644--- a/packages/sheets-plugin-comment/vite.config.ts+++ b/packages/sheets-plugin-comment/vite.config.ts@@ -38,8 +38,8 @@ export default defineConfig({preact(),createExternal({externals: {- '@univer/core': '@univer/core',- '@univer/style-univer': '@univer/style-univer',+ '@univerjs/core': '@univerjs/core',+ '@univerjs/style-univer': '@univerjs/style-univer',preact: 'preact',react: 'react',},diff --git a/packages/sheets-plugin-conditional-format/README-zh.md b/packages/sheets-plugin-conditional-format/README-zh.mdindex 9aefd5e342..57c3a62113 100644--- a/packages/sheets-plugin-conditional-format/README-zh.md+++ b/packages/sheets-plugin-conditional-format/README-zh.md@@ -9,13 +9,13 @@ UniverSheet ConditionalFormat 插件### 安装```bash-npm i @univer/sheets-plugin-conditional-format+npm i @univerjs/sheets-plugin-conditional-format```### 使用```js-impport {ConditionalFormat} from '@univer/sheets-plugin-conditional-format'+impport {ConditionalFormat} from '@univerjs/sheets-plugin-conditional-format'const univerSheet = new UniverSheet();univerSheet.installPlugin(new ConditionalFormat());@@ -41,7 +41,7 @@ pnpm installnpm run dev# 或者项目根目录 ./-pnpm run --filter @univer/sheets-plugin-conditional-format dev+pnpm run --filter @univerjs/sheets-plugin-conditional-format dev```### 打包@@ -51,5 +51,5 @@ pnpm run --filter @univer/sheets-plugin-conditional-format devnpm run build# 或者根目录 ./-pnpm run --filter @univer/sheets-plugin-conditional-format build+pnpm run --filter @univerjs/sheets-plugin-conditional-format build```diff --git a/packages/sheets-plugin-conditional-format/README.md b/packages/sheets-plugin-conditional-format/README.mdindex bab4cad74d..33b6727362 100644--- a/packages/sheets-plugin-conditional-format/README.md+++ b/packages/sheets-plugin-conditional-format/README.md@@ -9,13 +9,13 @@ UniverSheet Plugin ConditionalFormat### Installation```bash-npm i @univer/sheets-plugin-conditional-format+npm i @univerjs/sheets-plugin-conditional-format```### Usage```js-impport {ConditionalFormat} from '@univer/sheets-plugin-conditional-format'+impport {ConditionalFormat} from '@univerjs/sheets-plugin-conditional-format'const univerSheet = new UniverSheet();univerSheet.installPlugin(new ConditionalFormat());@@ -41,7 +41,7 @@ pnpm installnpm run dev# Or project root directory ./-pnpm run --filter @univer/sheets-plugin-conditional-format dev+pnpm run --filter @univerjs/sheets-plugin-conditional-format dev```### Package@@ -51,5 +51,5 @@ pnpm run --filter @univer/sheets-plugin-conditional-format devnpm run build# Or root directory ./-pnpm run --filter @univer/sheets-plugin-conditional-format build+pnpm run --filter @univerjs/sheets-plugin-conditional-format build```diff --git a/packages/sheets-plugin-conditional-format/package.json b/packages/sheets-plugin-conditional-format/package.jsonindex 6602d543c6..756d424012 100644--- a/packages/sheets-plugin-conditional-format/package.json+++ b/packages/sheets-plugin-conditional-format/package.json@@ -1,5 +1,5 @@{- "name": "@univer/sheets-plugin-conditional-format",+ "name": "@univerjs/sheets-plugin-conditional-format","version": "0.0.1","description": "UniverSheet normal plugin conditionalFormat","keywords": [],@@ -45,12 +45,12 @@"vite-plugin-external": "1.2.3"},"dependencies": {- "@univer/base-component": "workspace:^0.0.1",- "@univer/base-render": "workspace:^0.0.1",- "@univer/base-sheets": "workspace:^0.0.1",- "@univer/common-plugin-data": "workspace:^0.0.1",- "@univer/core": "workspace:^0.0.1",- "@univer/style-univer": "workspace:^0.0.1",+ "@univerjs/base-component": "workspace:^0.0.1",+ "@univerjs/base-render": "workspace:^0.0.1",+ "@univerjs/base-sheets": "workspace:^0.0.1",+ "@univerjs/common-plugin-data": "workspace:^0.0.1",+ "@univerjs/core": "workspace:^0.0.1",+ "@univerjs/style-univer": "workspace:^0.0.1","preact": "^10.5.14"}}diff --git a/packages/sheets-plugin-conditional-format/src/ConditionalFormatPlugin.tsx b/packages/sheets-plugin-conditional-format/src/ConditionalFormatPlugin.tsxindex e3100a69f4..91db509e79 100644--- a/packages/sheets-plugin-conditional-format/src/ConditionalFormatPlugin.tsx+++ b/packages/sheets-plugin-conditional-format/src/ConditionalFormatPlugin.tsx@@ -1,6 +1,6 @@-import { IToolBarItemProps, ISlotElement } from '@univer/base-component';-import { SheetContext, IOCContainer, UniverSheet, Plugin, PLUGIN_NAMES } from '@univer/core';-import { SheetPlugin } from '@univer/base-sheets';+import { IToolBarItemProps, ISlotElement } from '@univerjs/base-component';+import { SheetContext, IOCContainer, UniverSheet, Plugin, PLUGIN_NAMES } from '@univerjs/core';+import { SheetPlugin } from '@univerjs/base-sheets';import { en, zh } from './Locale';import { ConditionalFormatButton } from './UI/ConditionalFormatButton';diff --git a/packages/sheets-plugin-conditional-format/src/ConditionalFormatRule.ts b/packages/sheets-plugin-conditional-format/src/ConditionalFormatRule.tsindex ca04030c84..02befe7161 100644--- a/packages/sheets-plugin-conditional-format/src/ConditionalFormatRule.ts+++ b/packages/sheets-plugin-conditional-format/src/ConditionalFormatRule.ts@@ -1,4 +1,4 @@-import { IRangeData, Nullable } from '@univer/core';+import { IRangeData, Nullable } from '@univerjs/core';import { ConditionalFormatRuleBuilder } from './ConditionalFormatRuleBuilder';import { BooleanRule, GradientRule } from './IData/IConditionalFormatRule';diff --git a/packages/sheets-plugin-conditional-format/src/ConditionalFormatRuleBuilder.ts b/packages/sheets-plugin-conditional-format/src/ConditionalFormatRuleBuilder.tsindex 6e54d35537..932628d46e 100644--- a/packages/sheets-plugin-conditional-format/src/ConditionalFormatRuleBuilder.ts+++ b/packages/sheets-plugin-conditional-format/src/ConditionalFormatRuleBuilder.ts@@ -1,4 +1,4 @@-import { ConditionType, InterpolationPointType, Range, IRangeData, IStyleData, Nullable, RelativeDate } from '@univer/core';+import { ConditionType, InterpolationPointType, Range, IRangeData, IStyleData, Nullable, RelativeDate } from '@univerjs/core';import { ConditionalFormatRule } from './ConditionalFormatRule';import { BooleanCondition, BooleanRule, ConditionValue, GradientRule, InterpolationPoint } from './IData/IConditionalFormatRule';diff --git a/packages/sheets-plugin-conditional-format/src/IData/IConditionalFormatRule.ts b/packages/sheets-plugin-conditional-format/src/IData/IConditionalFormatRule.tsindex 57f0335362..1589df4916 100644--- a/packages/sheets-plugin-conditional-format/src/IData/IConditionalFormatRule.ts+++ b/packages/sheets-plugin-conditional-format/src/IData/IConditionalFormatRule.ts@@ -1,4 +1,4 @@-import { ConditionType, IColor, IColorStyle, InterpolationPointType, IRangeData, IStyleData, RelativeDate } from '@univer/core';+import { ConditionType, IColor, IColorStyle, InterpolationPointType, IRangeData, IStyleData, RelativeDate } from '@univerjs/core';/*** The value of the condition.diff --git a/packages/sheets-plugin-conditional-format/src/Types/index.d.ts b/packages/sheets-plugin-conditional-format/src/Types/index.d.tsindex 21f6ab0244..0d413403d7 100644--- a/packages/sheets-plugin-conditional-format/src/Types/index.d.ts+++ b/packages/sheets-plugin-conditional-format/src/Types/index.d.ts@@ -1,7 +1,7 @@export * from '../index';-declare module '@univer/sheets-plugin-conditional-format' { }+declare module '@univerjs/sheets-plugin-conditional-format' { }// use css moduledeclare module '*.less' {diff --git a/packages/sheets-plugin-conditional-format/src/UI/ConditionContent.tsx b/packages/sheets-plugin-conditional-format/src/UI/ConditionContent.tsxindex 6ce55ce306..75b279e801 100644--- a/packages/sheets-plugin-conditional-format/src/UI/ConditionContent.tsx+++ b/packages/sheets-plugin-conditional-format/src/UI/ConditionContent.tsx@@ -1,6 +1,6 @@-import { BaseComponentRender, BaseComponentSheet, Component } from '@univer/base-component';-import { IKeyValue, Nullable, Observer, Workbook } from '@univer/core';-import { SheetPlugin } from '@univer/base-sheets';+import { BaseComponentRender, BaseComponentSheet, Component } from '@univerjs/base-component';+import { IKeyValue, Nullable, Observer, Workbook } from '@univerjs/core';+import { SheetPlugin } from '@univerjs/base-sheets';import styles from './index.module.less';diff --git a/packages/sheets-plugin-conditional-format/src/UI/ConditionalFormatButton.tsx b/packages/sheets-plugin-conditional-format/src/UI/ConditionalFormatButton.tsxindex 397e853b16..61dfd706c6 100644--- a/packages/sheets-plugin-conditional-format/src/UI/ConditionalFormatButton.tsx+++ b/packages/sheets-plugin-conditional-format/src/UI/ConditionalFormatButton.tsx@@ -1,6 +1,6 @@-import { BaseComponentRender, BaseComponentSheet, BaseSelectProps, Component, ModalProps } from '@univer/base-component';-import { Nullable, Observer, Workbook } from '@univer/core';-import { SheetPlugin } from '@univer/base-sheets';+import { BaseComponentRender, BaseComponentSheet, BaseSelectProps, Component, ModalProps } from '@univerjs/base-component';+import { Nullable, Observer, Workbook } from '@univerjs/core';+import { SheetPlugin } from '@univerjs/base-sheets';import { IProps } from '../IData/IConditionalFormat';import { ConditionContent } from './ConditionContent';diff --git a/packages/sheets-plugin-conditional-format/src/UI/IconContent.tsx b/packages/sheets-plugin-conditional-format/src/UI/IconContent.tsxindex 7bd47cf84f..1829620949 100644--- a/packages/sheets-plugin-conditional-format/src/UI/IconContent.tsx+++ b/packages/sheets-plugin-conditional-format/src/UI/IconContent.tsx@@ -1,5 +1,5 @@-import { Component } from '@univer/base-component';-import { Nullable, Observer, Workbook } from '@univer/core';+import { Component } from '@univerjs/base-component';+import { Nullable, Observer, Workbook } from '@univerjs/core';import styles from './index.module.less';diff --git a/packages/sheets-plugin-conditional-format/src/UI/ImageList.tsx b/packages/sheets-plugin-conditional-format/src/UI/ImageList.tsxindex a2d9718b52..6042140d13 100644--- a/packages/sheets-plugin-conditional-format/src/UI/ImageList.tsx+++ b/packages/sheets-plugin-conditional-format/src/UI/ImageList.tsx@@ -1,5 +1,5 @@-import { Component } from '@univer/base-component';-import { Nullable, Observer, Workbook } from '@univer/core';+import { Component } from '@univerjs/base-component';+import { Nullable, Observer, Workbook } from '@univerjs/core';import CFcolorGradation from '../Assets/CFcolorGradation.png';import CFdataBar from '../Assets/CFdataBar.png';import styles from './index.module.less';diff --git a/packages/sheets-plugin-conditional-format/src/UI/RuleContent.tsx b/packages/sheets-plugin-conditional-format/src/UI/RuleContent.tsxindex dbdadbbd1b..acb2504b83 100644--- a/packages/sheets-plugin-conditional-format/src/UI/RuleContent.tsx+++ b/packages/sheets-plugin-conditional-format/src/UI/RuleContent.tsx@@ -1,6 +1,6 @@-import { BaseComponentRender, BaseComponentSheet, Component, joinClassNames } from '@univer/base-component';-import { Nullable, Observer, Workbook } from '@univer/core';-import { SheetPlugin } from '@univer/base-sheets';+import { BaseComponentRender, BaseComponentSheet, Component, joinClassNames } from '@univerjs/base-component';+import { Nullable, Observer, Workbook } from '@univerjs/core';+import { SheetPlugin } from '@univerjs/base-sheets';import styles from './index.module.less';type RuleContentProps = {diff --git a/packages/sheets-plugin-conditional-format/src/UI/RuleManage.tsx b/packages/sheets-plugin-conditional-format/src/UI/RuleManage.tsxindex a6195c275f..811c4404ae 100644--- a/packages/sheets-plugin-conditional-format/src/UI/RuleManage.tsx+++ b/packages/sheets-plugin-conditional-format/src/UI/RuleManage.tsx@@ -1,6 +1,6 @@-import { BaseComponentRender, BaseComponentSheet, Component } from '@univer/base-component';-import { Nullable, Observer, Workbook } from '@univer/core';-import { SheetPlugin } from '@univer/base-sheets';+import { BaseComponentRender, BaseComponentSheet, Component } from '@univerjs/base-component';+import { Nullable, Observer, Workbook } from '@univerjs/core';+import { SheetPlugin } from '@univerjs/base-sheets';import styles from './index.module.less';type RuleManageProps = {diff --git a/packages/sheets-plugin-conditional-format/src/main.tsx b/packages/sheets-plugin-conditional-format/src/main.tsxindex 1ab6082ae9..eeda9f01eb 100644--- a/packages/sheets-plugin-conditional-format/src/main.tsx+++ b/packages/sheets-plugin-conditional-format/src/main.tsx@@ -1,8 +1,8 @@-import { UniverSheet } from '@univer/core';-import { RenderEngine } from '@univer/base-render';-import { DEFAULT_WORKBOOK_DATA } from '@univer/common-plugin-data';-import { SheetPlugin } from '@univer/base-sheets';-import { UniverComponentSheet } from '@univer/style-univer';+import { UniverSheet } from '@univerjs/core';+import { RenderEngine } from '@univerjs/base-render';+import { DEFAULT_WORKBOOK_DATA } from '@univerjs/common-plugin-data';+import { SheetPlugin } from '@univerjs/base-sheets';+import { UniverComponentSheet } from '@univerjs/style-univer';const uiDefaultConfigUp = {container: 'universheet-demo-up',diff --git a/packages/sheets-plugin-conditional-format/vite.config.ts b/packages/sheets-plugin-conditional-format/vite.config.tsindex babbf492b8..330fff7016 100644--- a/packages/sheets-plugin-conditional-format/vite.config.ts+++ b/packages/sheets-plugin-conditional-format/vite.config.ts@@ -38,8 +38,8 @@ export default defineConfig({preact(),createExternal({externals: {- '@univer/core': '@univer/core',- '@univer/style-univer': '@univer/style-univer',+ '@univerjs/core': '@univerjs/core',+ '@univerjs/style-univer': '@univerjs/style-univer',preact: 'preact',react: 'react',},diff --git a/packages/sheets-plugin-data-validation/README-zh.md b/packages/sheets-plugin-data-validation/README-zh.mdindex af0bac1b27..ecdc07952e 100644--- a/packages/sheets-plugin-data-validation/README-zh.md+++ b/packages/sheets-plugin-data-validation/README-zh.md@@ -9,13 +9,13 @@ UniverSheet DataValidation 插件### 安装```bash-npm i @univer/sheets-plugin-data-validation+npm i @univerjs/sheets-plugin-data-validation```### 使用```js-impport {DataValidation} from '@univer/sheets-plugin-data-validation'+impport {DataValidation} from '@univerjs/sheets-plugin-data-validation'const univerSheet = new UniverSheet();univerSheet.installPlugin(new DataValidation());@@ -41,7 +41,7 @@ pnpm installnpm run dev# 或者项目根目录 ./-pnpm run --filter @univer/sheets-plugin-data-validation dev+pnpm run --filter @univerjs/sheets-plugin-data-validation dev```### 打包@@ -51,5 +51,5 @@ pnpm run --filter @univer/sheets-plugin-data-validation devnpm run build# 或者根目录 ./-pnpm run --filter @univer/sheets-plugin-data-validation build+pnpm run --filter @univerjs/sheets-plugin-data-validation build```diff --git a/packages/sheets-plugin-data-validation/README.md b/packages/sheets-plugin-data-validation/README.mdindex eb546d6f71..510132310d 100644--- a/packages/sheets-plugin-data-validation/README.md+++ b/packages/sheets-plugin-data-validation/README.md@@ -9,13 +9,13 @@ UniverSheet Plugin DataValidation### Installation```bash-npm i @univer/sheets-plugin-data-validation+npm i @univerjs/sheets-plugin-data-validation```### Usage```js-impport {DataValidation} from '@univer/sheets-plugin-data-validation'+impport {DataValidation} from '@univerjs/sheets-plugin-data-validation'const univerSheet = new UniverSheet();univerSheet.installPlugin(new DataValidation());@@ -41,7 +41,7 @@ pnpm installnpm run dev# Or project root directory ./-pnpm run --filter @univer/sheets-plugin-data-validation dev+pnpm run --filter @univerjs/sheets-plugin-data-validation dev```### Package@@ -51,5 +51,5 @@ pnpm run --filter @univer/sheets-plugin-data-validation devnpm run build# Or root directory ./-pnpm run --filter @univer/sheets-plugin-data-validation build+pnpm run --filter @univerjs/sheets-plugin-data-validation build```diff --git a/packages/sheets-plugin-data-validation/package.json b/packages/sheets-plugin-data-validation/package.jsonindex f5458c91d9..f2c4bafddf 100644--- a/packages/sheets-plugin-data-validation/package.json+++ b/packages/sheets-plugin-data-validation/package.json@@ -1,5 +1,5 @@{- "name": "@univer/sheets-plugin-data-validation",+ "name": "@univerjs/sheets-plugin-data-validation","version": "0.0.1","description": "UniverSheet normal plugin dataValidation","keywords": [],@@ -45,12 +45,12 @@"vite-plugin-external": "1.2.3"},"dependencies": {- "@univer/base-component": "workspace:^0.0.1",- "@univer/base-render": "workspace:^0.0.1",- "@univer/base-sheets": "workspace:^0.0.1",- "@univer/common-plugin-data": "workspace:^0.0.1",- "@univer/core": "workspace:^0.0.1",- "@univer/style-univer": "workspace:^0.0.1",+ "@univerjs/base-component": "workspace:^0.0.1",+ "@univerjs/base-render": "workspace:^0.0.1",+ "@univerjs/base-sheets": "workspace:^0.0.1",+ "@univerjs/common-plugin-data": "workspace:^0.0.1",+ "@univerjs/core": "workspace:^0.0.1",+ "@univerjs/style-univer": "workspace:^0.0.1","preact": "^10.5.14"}}diff --git a/packages/sheets-plugin-data-validation/src/DataValidationPlugin.tsx b/packages/sheets-plugin-data-validation/src/DataValidationPlugin.tsxindex 923387a1d6..3da01c30a5 100644--- a/packages/sheets-plugin-data-validation/src/DataValidationPlugin.tsx+++ b/packages/sheets-plugin-data-validation/src/DataValidationPlugin.tsx@@ -1,6 +1,6 @@-import { IToolBarItemProps, ISlotElement } from '@univer/base-component';-import { SheetContext, UniverSheet, Plugin, PLUGIN_NAMES } from '@univer/core';-import { SheetPlugin } from '@univer/base-sheets';+import { IToolBarItemProps, ISlotElement } from '@univerjs/base-component';+import { SheetContext, UniverSheet, Plugin, PLUGIN_NAMES } from '@univerjs/core';+import { SheetPlugin } from '@univerjs/base-sheets';import { en, zh } from './Locale';import { DataValidationButton } from './UI/DataValidationButton';diff --git a/packages/sheets-plugin-data-validation/src/Types/index.d.ts b/packages/sheets-plugin-data-validation/src/Types/index.d.tsindex 23154eb95f..6d8573b1b6 100644--- a/packages/sheets-plugin-data-validation/src/Types/index.d.ts+++ b/packages/sheets-plugin-data-validation/src/Types/index.d.ts@@ -1,7 +1,7 @@export * from '../index';-declare module '@univer/sheets-plugin-data-validation' { }+declare module '@univerjs/sheets-plugin-data-validation' { }diff --git a/packages/sheets-plugin-data-validation/src/UI/DataValidationButton.tsx b/packages/sheets-plugin-data-validation/src/UI/DataValidationButton.tsxindex da309cc805..8615a8535c 100644--- a/packages/sheets-plugin-data-validation/src/UI/DataValidationButton.tsx+++ b/packages/sheets-plugin-data-validation/src/UI/DataValidationButton.tsx@@ -1,6 +1,6 @@-import { BaseComponentRender, BaseComponentSheet, Component, IToolBarItemProps, ModalProps } from '@univer/base-component';-import { Nullable, Observer, Workbook } from '@univer/core';-import { SheetPlugin } from '@univer/base-sheets';+import { BaseComponentRender, BaseComponentSheet, Component, IToolBarItemProps, ModalProps } from '@univerjs/base-component';+import { Nullable, Observer, Workbook } from '@univerjs/core';+import { SheetPlugin } from '@univerjs/base-sheets';import { IProps } from '../IData/IDataValidation';import { DataValidationContent } from './DataValidationContent';import styles from './index.module.less';diff --git a/packages/sheets-plugin-data-validation/src/UI/DataValidationContent.tsx b/packages/sheets-plugin-data-validation/src/UI/DataValidationContent.tsxindex 05983f4d16..ed40caecc4 100644--- a/packages/sheets-plugin-data-validation/src/UI/DataValidationContent.tsx+++ b/packages/sheets-plugin-data-validation/src/UI/DataValidationContent.tsx@@ -1,6 +1,6 @@-import { BaseComponentRender, BaseComponentSheet, Component } from '@univer/base-component';-import { Nullable, Observer, Workbook } from '@univer/core';-import { SheetPlugin } from '@univer/base-sheets';+import { BaseComponentRender, BaseComponentSheet, Component } from '@univerjs/base-component';+import { Nullable, Observer, Workbook } from '@univerjs/core';+import { SheetPlugin } from '@univerjs/base-sheets';import styles from './index.module.less';type DataValidationProps = {diff --git a/packages/sheets-plugin-data-validation/src/main.tsx b/packages/sheets-plugin-data-validation/src/main.tsxindex eca86a8d79..80cd162b4e 100644--- a/packages/sheets-plugin-data-validation/src/main.tsx+++ b/packages/sheets-plugin-data-validation/src/main.tsx@@ -1,8 +1,8 @@-import { UniverSheet } from '@univer/core';-import { RenderEngine } from '@univer/base-render';-import { DEFAULT_WORKBOOK_DATA } from '@univer/common-plugin-data';-import { SheetPlugin } from '@univer/base-sheets';-import { UniverComponentSheet } from '@univer/style-univer';+import { UniverSheet } from '@univerjs/core';+import { RenderEngine } from '@univerjs/base-render';+import { DEFAULT_WORKBOOK_DATA } from '@univerjs/common-plugin-data';+import { SheetPlugin } from '@univerjs/base-sheets';+import { UniverComponentSheet } from '@univerjs/style-univer';const uiDefaultConfigUp = {container: 'universheet-demo-up',diff --git a/packages/sheets-plugin-data-validation/vite.config.ts b/packages/sheets-plugin-data-validation/vite.config.tsindex be0730095e..892841f1a0 100644--- a/packages/sheets-plugin-data-validation/vite.config.ts+++ b/packages/sheets-plugin-data-validation/vite.config.ts@@ -38,8 +38,8 @@ export default defineConfig({preact(),createExternal({externals: {- '@univer/core': '@univer/core',- '@univer/style-univer': '@univer/style-univer',+ '@univerjs/core': '@univerjs/core',+ '@univerjs/style-univer': '@univerjs/style-univer',preact: 'preact',react: 'react',},diff --git a/packages/sheets-plugin-filter/README-zh.md b/packages/sheets-plugin-filter/README-zh.mdindex ca7d0c0ced..09e7664f1b 100644--- a/packages/sheets-plugin-filter/README-zh.md+++ b/packages/sheets-plugin-filter/README-zh.md@@ -16,13 +16,13 @@ UniverSheet 官方 UI 组件库### 安装```bash-npm i @univer/style-univer+npm i @univerjs/style-univer```### 使用```js-impport baseUI from '@univer/style-univer'+impport baseUI from '@univerjs/style-univer'universheet.install(baseUI)universheet.create({plugins:['style-univer']@@ -49,7 +49,7 @@ npm inpm run dev# 或者项目根目录 ./-npm run dev -w @univer/style-univer+npm run dev -w @univerjs/style-univer```### 打包@@ -59,7 +59,7 @@ npm run dev -w @univer/style-univernpm run build# 或者根目录 ./-npm run build -w @univer/style-univer+npm run build -w @univerjs/style-univer```## 组件库文档@@ -80,7 +80,7 @@ npm inpm run start# 或者根目录-npm run start -w @univer/style-univer+npm run start -w @univerjs/style-univer```此命令启动本地开发服务器并打开浏览器窗口。 大多数更改都会实时刷新,而无需重新启动服务器。@@ -92,7 +92,7 @@ npm run start -w @univer/style-univernpm run build:doc# 或者根目录-npm run build:doc -w @univer/style-univer+npm run build:doc -w @univerjs/style-univer```此命令将静态内容生成到 `build` 目录中,并且可以使用任何静态内容托管服务来提供。diff --git a/packages/sheets-plugin-filter/README.md b/packages/sheets-plugin-filter/README.mdindex 66fb725e95..a45bd77aad 100644--- a/packages/sheets-plugin-filter/README.md+++ b/packages/sheets-plugin-filter/README.md@@ -16,13 +16,13 @@ UniverSheet official UI component library### Install```bash-npm i @univer/style-univer+npm i @univerjs/style-univer```### Import```js-impport baseUI from'@univer/style-univer'+impport baseUI from'@univerjs/style-univer'universheet.install(baseUI)universheet.create({plugins:['style-univer']@@ -49,7 +49,7 @@ npm inpm run dev# Or project root directory ./-npm run dev -w @univer/style-univer+npm run dev -w @univerjs/style-univer```### Package@@ -59,7 +59,7 @@ npm run dev -w @univer/style-univernpm run build# Or root directory ./-npm run build -w @univer/style-univer+npm run build -w @univerjs/style-univer```## Doc Website@@ -80,7 +80,7 @@ npm inpm run start# or root folder-npm run start -w @univer/style-univer+npm run start -w @univerjs/style-univer```This command starts a local development server and opens up a browser window. Most changes are reflected live without having to restart the server.@@ -92,7 +92,7 @@ This command starts a local development server and opens up a browser window. Monpm run build:doc# or root folder-npm run build:doc -w @univer/style-univer+npm run build:doc -w @univerjs/style-univer```This command generates static content into the `build` directory and can be served using any static contents hosting service.diff --git a/packages/sheets-plugin-filter/package.json b/packages/sheets-plugin-filter/package.jsonindex 0dcbdea34d..db388b8e1e 100644--- a/packages/sheets-plugin-filter/package.json+++ b/packages/sheets-plugin-filter/package.json@@ -1,5 +1,5 @@{- "name": "@univer/sheets-plugin-filter",+ "name": "@univerjs/sheets-plugin-filter","version": "0.0.1","description": "UniverSheet normal plugin UI manager","keywords": [],@@ -41,12 +41,12 @@"vite-plugin-external": "1.2.3"},"dependencies": {- "@univer/base-component": "workspace:^0.0.1",- "@univer/base-render": "workspace:^0.0.1",- "@univer/base-sheets": "workspace:^0.0.1",- "@univer/common-plugin-data": "workspace:^0.0.1",- "@univer/core": "workspace:^0.0.1",- "@univer/style-univer": "workspace:^0.0.1",+ "@univerjs/base-component": "workspace:^0.0.1",+ "@univerjs/base-render": "workspace:^0.0.1",+ "@univerjs/base-sheets": "workspace:^0.0.1",+ "@univerjs/common-plugin-data": "workspace:^0.0.1",+ "@univerjs/core": "workspace:^0.0.1",+ "@univerjs/style-univer": "workspace:^0.0.1","nanoid": "^4.0.0","preact": "^10.5.14"}diff --git a/packages/sheets-plugin-filter/src/Action/AddFilterAction.ts b/packages/sheets-plugin-filter/src/Action/AddFilterAction.tsindex 8092a9f9bd..1749a96965 100644--- a/packages/sheets-plugin-filter/src/Action/AddFilterAction.ts+++ b/packages/sheets-plugin-filter/src/Action/AddFilterAction.ts@@ -1,4 +1,4 @@-import { SheetActionBase, ActionObservers, ISheetActionData, Nullable, Workbook } from '@univer/core';+import { SheetActionBase, ActionObservers, ISheetActionData, Nullable, Workbook } from '@univerjs/core';import { IFilter } from '../Domain';import { ACTION_NAMES, FILTER_PLUGIN_NAME } from '../Const';import { AddFilter, RemoveFilter } from '../Apply';diff --git a/packages/sheets-plugin-filter/src/Action/AddFilterCriteriaAction.ts b/packages/sheets-plugin-filter/src/Action/AddFilterCriteriaAction.tsindex 81d4151dfe..55554871b8 100644--- a/packages/sheets-plugin-filter/src/Action/AddFilterCriteriaAction.ts+++ b/packages/sheets-plugin-filter/src/Action/AddFilterCriteriaAction.ts@@ -1,4 +1,4 @@-import { SheetActionBase, ActionObservers, ISheetActionData, Nullable, Workbook } from '@univer/core';+import { SheetActionBase, ActionObservers, ISheetActionData, Nullable, Workbook } from '@univerjs/core';import { IFilterCriteriaColumn } from '../Domain/FilterCriteriaColumn';import { ACTION_NAMES } from '../Const/ACTION_NAME';import { FILTER_PLUGIN_NAME } from '../Const';diff --git a/packages/sheets-plugin-filter/src/Action/RemoveFilterAction.ts b/packages/sheets-plugin-filter/src/Action/RemoveFilterAction.tsindex 85a96e29f7..326c52d71e 100644--- a/packages/sheets-plugin-filter/src/Action/RemoveFilterAction.ts+++ b/packages/sheets-plugin-filter/src/Action/RemoveFilterAction.ts@@ -1,4 +1,4 @@-import { SheetActionBase, ActionObservers, ISheetActionData, Nullable, Workbook } from '@univer/core';+import { SheetActionBase, ActionObservers, ISheetActionData, Nullable, Workbook } from '@univerjs/core';import { AddFilter, RemoveFilter } from '../Apply';import { ACTION_NAMES, FILTER_PLUGIN_NAME } from '../Const';import { IFilter } from '../Domain';diff --git a/packages/sheets-plugin-filter/src/Action/RemoveFilterCriteriaAction.ts b/packages/sheets-plugin-filter/src/Action/RemoveFilterCriteriaAction.tsindex 4719ba9c6a..e92d30a9af 100644--- a/packages/sheets-plugin-filter/src/Action/RemoveFilterCriteriaAction.ts+++ b/packages/sheets-plugin-filter/src/Action/RemoveFilterCriteriaAction.ts@@ -1,4 +1,4 @@-import { SheetActionBase, ActionObservers, ISheetActionData, Nullable, Workbook } from '@univer/core';+import { SheetActionBase, ActionObservers, ISheetActionData, Nullable, Workbook } from '@univerjs/core';import { AddFilterCriteria, RemoveFilterCriteria } from '../Apply';import { ACTION_NAMES, FILTER_PLUGIN_NAME } from '../Const';import { IFilterCriteriaColumn } from '../Domain';diff --git a/packages/sheets-plugin-filter/src/Apply/AddFilter.ts b/packages/sheets-plugin-filter/src/Apply/AddFilter.tsindex e355eacd6e..fe8eace2c9 100644--- a/packages/sheets-plugin-filter/src/Apply/AddFilter.ts+++ b/packages/sheets-plugin-filter/src/Apply/AddFilter.ts@@ -1,4 +1,4 @@-import { Nullable } from '@univer/core';+import { Nullable } from '@univerjs/core';import { Filter, IFilter } from '../Domain';import { FilterPlugin } from '../FilterPlugin';diff --git a/packages/sheets-plugin-filter/src/Apply/AddFilterCriteria.ts b/packages/sheets-plugin-filter/src/Apply/AddFilterCriteria.tsindex 0453e9817c..0e32e31447 100644--- a/packages/sheets-plugin-filter/src/Apply/AddFilterCriteria.ts+++ b/packages/sheets-plugin-filter/src/Apply/AddFilterCriteria.ts@@ -1,4 +1,4 @@-import { Nullable } from '@univer/core';+import { Nullable } from '@univerjs/core';import { FilterCriteriaColumn, IFilterCriteriaColumn } from '../Domain';import { FilterPlugin } from '../FilterPlugin';diff --git a/packages/sheets-plugin-filter/src/Apply/RemoveFilter.ts b/packages/sheets-plugin-filter/src/Apply/RemoveFilter.tsindex 5164907bfa..2f225fd7e4 100644--- a/packages/sheets-plugin-filter/src/Apply/RemoveFilter.ts+++ b/packages/sheets-plugin-filter/src/Apply/RemoveFilter.ts@@ -1,4 +1,4 @@-import { Nullable } from '@univer/core';+import { Nullable } from '@univerjs/core';import { FilterPlugin } from '../FilterPlugin';import { IFilter } from '../Domain';diff --git a/packages/sheets-plugin-filter/src/Apply/RemoveFilterCriteria.ts b/packages/sheets-plugin-filter/src/Apply/RemoveFilterCriteria.tsindex c42899edbf..55c9ab74ff 100644--- a/packages/sheets-plugin-filter/src/Apply/RemoveFilterCriteria.ts+++ b/packages/sheets-plugin-filter/src/Apply/RemoveFilterCriteria.ts@@ -1,4 +1,4 @@-import { Nullable } from '@univer/core';+import { Nullable } from '@univerjs/core';import { FilterPlugin } from '../FilterPlugin';import { IFilterCriteriaColumn } from '../Domain';diff --git a/packages/sheets-plugin-filter/src/Domain/Filter.ts b/packages/sheets-plugin-filter/src/Domain/Filter.tsindex ae1adbc7d9..1344b8eb5e 100644--- a/packages/sheets-plugin-filter/src/Domain/Filter.ts+++ b/packages/sheets-plugin-filter/src/Domain/Filter.ts@@ -1,4 +1,4 @@-import { Command, SheetContext, IRangeData, GroupModel, Nullable, Sequence, Serializer } from '@univer/core';+import { Command, SheetContext, IRangeData, GroupModel, Nullable, Sequence, Serializer } from '@univerjs/core';import { ACTION_NAMES } from '../Const';import { FilterCriteria } from './FilterCriteria';import { FilterCriteriaColumn, IFilterCriteriaColumn } from './FilterCriteriaColumn';diff --git a/packages/sheets-plugin-filter/src/Domain/FilterCriteria.ts b/packages/sheets-plugin-filter/src/Domain/FilterCriteria.tsindex d32f885e80..f6fd925925 100644--- a/packages/sheets-plugin-filter/src/Domain/FilterCriteria.ts+++ b/packages/sheets-plugin-filter/src/Domain/FilterCriteria.ts@@ -1,4 +1,4 @@-import { BooleanCriteria, Color, SheetContext, RelativeDate, Sequence, Serializer, Tools } from '@univer/core';+import { BooleanCriteria, Color, SheetContext, RelativeDate, Sequence, Serializer, Tools } from '@univerjs/core';import { ConditionValue } from '../../../sheets-plugin-conditional-format';import { FilterCriteriaBuilder } from './FilterCriteriaBuilder';diff --git a/packages/sheets-plugin-filter/src/Domain/FilterCriteriaBuilder.ts b/packages/sheets-plugin-filter/src/Domain/FilterCriteriaBuilder.tsindex 6be363af28..9d591e6b0e 100644--- a/packages/sheets-plugin-filter/src/Domain/FilterCriteriaBuilder.ts+++ b/packages/sheets-plugin-filter/src/Domain/FilterCriteriaBuilder.ts@@ -1,4 +1,4 @@-import { BooleanCriteria, Color, SheetContext, RelativeDate, Serializer, Tools, Tuples } from '@univer/core';+import { BooleanCriteria, Color, SheetContext, RelativeDate, Serializer, Tools, Tuples } from '@univerjs/core';import { ConditionValue } from '../../../sheets-plugin-conditional-format';import { FilterCriteria, IFilterCriteria } from './FilterCriteria';diff --git a/packages/sheets-plugin-filter/src/Domain/FilterCriteriaColumn.ts b/packages/sheets-plugin-filter/src/Domain/FilterCriteriaColumn.tsindex a55cf20631..1543993968 100644--- a/packages/sheets-plugin-filter/src/Domain/FilterCriteriaColumn.ts+++ b/packages/sheets-plugin-filter/src/Domain/FilterCriteriaColumn.ts@@ -1,4 +1,4 @@-import { SheetContext, Sequence, Serializer } from '@univer/core';+import { SheetContext, Sequence, Serializer } from '@univerjs/core';import { FilterCriteria, IFilterCriteria } from './FilterCriteria';export interface IFilterCriteriaColumn extends Sequence {diff --git a/packages/sheets-plugin-filter/src/Domain/FilterList.ts b/packages/sheets-plugin-filter/src/Domain/FilterList.tsindex 2324fe7567..b2c563abe5 100644--- a/packages/sheets-plugin-filter/src/Domain/FilterList.ts+++ b/packages/sheets-plugin-filter/src/Domain/FilterList.ts@@ -1,4 +1,4 @@-import { GroupModel, Sequence, Serializer, Tools } from '@univer/core';+import { GroupModel, Sequence, Serializer, Tools } from '@univerjs/core';import { Filter, IFilter } from './Filter';export interface IFilterPluginConfig extends Sequence {diff --git a/packages/sheets-plugin-filter/src/FilterPlugin.tsx b/packages/sheets-plugin-filter/src/FilterPlugin.tsxindex 15059f1157..6a77ec4941 100644--- a/packages/sheets-plugin-filter/src/FilterPlugin.tsx+++ b/packages/sheets-plugin-filter/src/FilterPlugin.tsx@@ -1,12 +1,12 @@-import { ISlotElement } from '@univer/base-component';-import { Command, SheetContext, IRangeData, UniverSheet, Plugin, PLUGIN_NAMES } from '@univer/core';-import { SheetPlugin } from '@univer/base-sheets';+import { ISlotElement } from '@univerjs/base-component';+import { Command, SheetContext, IRangeData, UniverSheet, Plugin, PLUGIN_NAMES } from '@univerjs/core';+import { SheetPlugin } from '@univerjs/base-sheets';import { en, zh } from './Locale';import { IConfig } from './IData';import { FilterButton } from './UI/FilterButton';import { ACTION_NAMES, FILTER_PLUGIN_NAME } from './Const';import { Filter, FilterList, IFilterPluginConfig } from './Domain';-import { Univer } from '@univer/core/src/Basics/Univer';+import { Univer } from '@univerjs/core/src/Basics/Univer';export class FilterPlugin extends Plugin {private _filterList: FilterList;diff --git a/packages/sheets-plugin-filter/src/IData.ts b/packages/sheets-plugin-filter/src/IData.tsindex 39209f9a01..57488ef10b 100644--- a/packages/sheets-plugin-filter/src/IData.ts+++ b/packages/sheets-plugin-filter/src/IData.ts@@ -1,4 +1,4 @@-import { SheetContext } from '@univer/core';+import { SheetContext } from '@univerjs/core';import { FilterPlugin } from './FilterPlugin';export type IConfig = {diff --git a/packages/sheets-plugin-filter/src/IData/FilterType.ts b/packages/sheets-plugin-filter/src/IData/FilterType.tsindex 38f3f82801..d44d7957bf 100644--- a/packages/sheets-plugin-filter/src/IData/FilterType.ts+++ b/packages/sheets-plugin-filter/src/IData/FilterType.ts@@ -1,4 +1,4 @@-import { IColor, IRangeData, Nullable } from '@univer/core';+import { IColor, IRangeData, Nullable } from '@univerjs/core';export type IFilterType = {range: IRangeData;diff --git a/packages/sheets-plugin-filter/src/Types/index.d.ts b/packages/sheets-plugin-filter/src/Types/index.d.tsindex 15ec65526c..3281f4bef8 100644--- a/packages/sheets-plugin-filter/src/Types/index.d.ts+++ b/packages/sheets-plugin-filter/src/Types/index.d.ts@@ -1,7 +1,7 @@export * from '../index';-declare module '@univer/sheets-plugin-filter' { }+declare module '@univerjs/sheets-plugin-filter' { }// use css moduledeclare module '*.less' {diff --git a/packages/sheets-plugin-filter/src/UI/FilterButton.tsx b/packages/sheets-plugin-filter/src/UI/FilterButton.tsxindex d5516397ea..fc190171b6 100644--- a/packages/sheets-plugin-filter/src/UI/FilterButton.tsx+++ b/packages/sheets-plugin-filter/src/UI/FilterButton.tsx@@ -1,5 +1,5 @@-import { BaseSelectProps, Component, IToolBarItemProps } from '@univer/base-component';-import { Nullable, Observer, Workbook } from '@univer/core';+import { BaseSelectProps, Component, IToolBarItemProps } from '@univerjs/base-component';+import { Nullable, Observer, Workbook } from '@univerjs/core';import { IProps } from '../IData';import { FilterPlugin } from '../FilterPlugin';diff --git a/packages/sheets-plugin-filter/src/main.tsx b/packages/sheets-plugin-filter/src/main.tsxindex b1eedabcd5..1b1c77296c 100644--- a/packages/sheets-plugin-filter/src/main.tsx+++ b/packages/sheets-plugin-filter/src/main.tsx@@ -1,8 +1,8 @@-import { UniverSheet } from '@univer/core';-import { RenderEngine } from '@univer/base-render';-import { DEFAULT_WORKBOOK_DATA } from '@univer/common-plugin-data';-import { SheetPlugin } from '@univer/base-sheets';-import { UniverComponentSheet } from '@univer/style-univer';+import { UniverSheet } from '@univerjs/core';+import { RenderEngine } from '@univerjs/base-render';+import { DEFAULT_WORKBOOK_DATA } from '@univerjs/common-plugin-data';+import { SheetPlugin } from '@univerjs/base-sheets';+import { UniverComponentSheet } from '@univerjs/style-univer';const uiDefaultConfigUp = {container: 'universheet-demo-up',diff --git a/packages/sheets-plugin-filter/test/StartUp.ts b/packages/sheets-plugin-filter/test/StartUp.tsindex 65aeb51153..7a00efdad4 100644--- a/packages/sheets-plugin-filter/test/StartUp.ts+++ b/packages/sheets-plugin-filter/test/StartUp.ts@@ -15,7 +15,7 @@ import {Worksheet,ObserverManager,IWorksheetConfig,-} from "@univer/core";+} from "@univerjs/core";export function StartUpReady(): IOCContainer {const configure = {diff --git a/packages/sheets-plugin-filter/vite.config.ts b/packages/sheets-plugin-filter/vite.config.tsindex 2e20c02101..ecf19fbeea 100644--- a/packages/sheets-plugin-filter/vite.config.ts+++ b/packages/sheets-plugin-filter/vite.config.ts@@ -38,8 +38,8 @@ export default defineConfig({preact(),createExternal({externals: {- '@univer/core': '@univer/core',- '@univer/style-univer': '@univer/style-univer',+ '@univerjs/core': '@univerjs/core',+ '@univerjs/style-univer': '@univerjs/style-univer',preact: 'preact',react: 'react',},diff --git a/packages/sheets-plugin-find/README-zh.md b/packages/sheets-plugin-find/README-zh.mdindex 2b71e29d1f..6f5a6b3650 100644--- a/packages/sheets-plugin-find/README-zh.md+++ b/packages/sheets-plugin-find/README-zh.md@@ -9,13 +9,13 @@ UniverSheet Find 插件### 安装```bash-npm i @univer/sheets-plugin-find+npm i @univerjs/sheets-plugin-find```### 使用```js-impport {Find} from '@univer/sheets-plugin-find'+impport {Find} from '@univerjs/sheets-plugin-find'const univerSheet = new UniverSheet();univerSheet.installPlugin(new Find());@@ -41,7 +41,7 @@ pnpm installnpm run dev# 或者项目根目录 ./-pnpm run --filter @univer/sheets-plugin-find dev+pnpm run --filter @univerjs/sheets-plugin-find dev```### 打包@@ -51,5 +51,5 @@ pnpm run --filter @univer/sheets-plugin-find devnpm run build# 或者根目录 ./-pnpm run --filter @univer/sheets-plugin-find build+pnpm run --filter @univerjs/sheets-plugin-find build```diff --git a/packages/sheets-plugin-find/README.md b/packages/sheets-plugin-find/README.mdindex e88f59ed35..65eaa66339 100644--- a/packages/sheets-plugin-find/README.md+++ b/packages/sheets-plugin-find/README.md@@ -9,13 +9,13 @@ UniverSheet Plugin Find### Installation```bash-npm i @univer/sheets-plugin-find+npm i @univerjs/sheets-plugin-find```### Usage```js-impport {Find} from '@univer/sheets-plugin-find'+impport {Find} from '@univerjs/sheets-plugin-find'const univerSheet = new UniverSheet();univerSheet.installPlugin(new Find());@@ -41,7 +41,7 @@ pnpm installnpm run dev# Or project root directory ./-pnpm run --filter @univer/sheets-plugin-find dev+pnpm run --filter @univerjs/sheets-plugin-find dev```### Package@@ -51,5 +51,5 @@ pnpm run --filter @univer/sheets-plugin-find devnpm run build# Or root directory ./-pnpm run --filter @univer/sheets-plugin-find build+pnpm run --filter @univerjs/sheets-plugin-find build```diff --git a/packages/sheets-plugin-find/package.json b/packages/sheets-plugin-find/package.jsonindex 19c647ffb3..17c82d7e16 100644--- a/packages/sheets-plugin-find/package.json+++ b/packages/sheets-plugin-find/package.json@@ -1,5 +1,5 @@{- "name": "@univer/sheets-plugin-find",+ "name": "@univerjs/sheets-plugin-find","version": "0.0.1","description": "UniverSheet normal plugin find","keywords": [],@@ -45,12 +45,12 @@"vite-plugin-external": "1.2.3"},"dependencies": {- "@univer/base-component": "workspace:^0.0.1",- "@univer/base-render": "workspace:^0.0.1",- "@univer/base-sheets": "workspace:^0.0.1",- "@univer/common-plugin-data": "workspace:^0.0.1",- "@univer/core": "workspace:^0.0.1",- "@univer/style-univer": "workspace:^0.0.1",+ "@univerjs/base-component": "workspace:^0.0.1",+ "@univerjs/base-render": "workspace:^0.0.1",+ "@univerjs/base-sheets": "workspace:^0.0.1",+ "@univerjs/common-plugin-data": "workspace:^0.0.1",+ "@univerjs/core": "workspace:^0.0.1",+ "@univerjs/style-univer": "workspace:^0.0.1","preact": "^10.5.14"}}diff --git a/packages/sheets-plugin-find/src/Basic/Observer.ts b/packages/sheets-plugin-find/src/Basic/Observer.tsindex 26d379e85b..51804138ae 100644--- a/packages/sheets-plugin-find/src/Basic/Observer.ts+++ b/packages/sheets-plugin-find/src/Basic/Observer.ts@@ -1,4 +1,4 @@-import { Observable } from '@univer/core';+import { Observable } from '@univerjs/core';import { FindPlugin } from '../FindPlugin';import { FindModal } from '../View/UI/FindModal';import { SearchContent } from '../View/UI/SearchContent';diff --git a/packages/sheets-plugin-find/src/Controller/FindController.ts b/packages/sheets-plugin-find/src/Controller/FindController.tsindex bbb08bd3c8..d0691cf728 100644--- a/packages/sheets-plugin-find/src/Controller/FindController.ts+++ b/packages/sheets-plugin-find/src/Controller/FindController.ts@@ -1,6 +1,6 @@-import { BaseComponentRender } from '@univer/base-component';-import { IToolBarItemProps, SheetPlugin } from '@univer/base-sheets';-import { PLUGIN_NAMES } from '@univer/core';+import { BaseComponentRender } from '@univerjs/base-component';+import { IToolBarItemProps, SheetPlugin } from '@univerjs/base-sheets';+import { PLUGIN_NAMES } from '@univerjs/core';import { FIND_PLUGIN_NAME } from '../Const/PLUGIN_NAME';import { FindPlugin } from '../FindPlugin';diff --git a/packages/sheets-plugin-find/src/Controller/FindModalController.ts b/packages/sheets-plugin-find/src/Controller/FindModalController.tsindex 992ec7e188..7fabc9dbc5 100644--- a/packages/sheets-plugin-find/src/Controller/FindModalController.ts+++ b/packages/sheets-plugin-find/src/Controller/FindModalController.ts@@ -1,6 +1,6 @@-import { BaseComponentRender, ComponentChildren } from '@univer/base-component';-import { SheetPlugin } from '@univer/base-sheets';-import { PLUGIN_NAMES } from '@univer/core';+import { BaseComponentRender, ComponentChildren } from '@univerjs/base-component';+import { SheetPlugin } from '@univerjs/base-sheets';+import { PLUGIN_NAMES } from '@univerjs/core';import { FIND_PLUGIN_NAME } from '../Const/PLUGIN_NAME';import { FindPlugin } from '../FindPlugin';import { FindModal } from '../View/UI/FindModal';diff --git a/packages/sheets-plugin-find/src/Domain/TextFind.ts b/packages/sheets-plugin-find/src/Domain/TextFind.tsindex e8263022cf..676c57d059 100644--- a/packages/sheets-plugin-find/src/Domain/TextFind.ts+++ b/packages/sheets-plugin-find/src/Domain/TextFind.ts@@ -1,4 +1,4 @@-// import { Range, Worksheet, RangeList, FormatType, IRangeData } from '@univer/core';+// import { Range, Worksheet, RangeList, FormatType, IRangeData } from '@univerjs/core';// import { getRegExpStr } from '../Util/util';// import { FindType } from '../IData';diff --git a/packages/sheets-plugin-find/src/FindPlugin.ts b/packages/sheets-plugin-find/src/FindPlugin.tsindex c8cd1de810..8f9b79f39b 100644--- a/packages/sheets-plugin-find/src/FindPlugin.ts+++ b/packages/sheets-plugin-find/src/FindPlugin.ts@@ -1,4 +1,4 @@-import { SheetContext, UniverSheet, Plugin, Worksheet } from '@univer/core';+import { SheetContext, UniverSheet, Plugin, Worksheet } from '@univerjs/core';// import { TextFinder } from './Domain/TextFind';import { FindType } from './IData/IFind';import { FIND_PLUGIN_NAME } from './Const/PLUGIN_NAME';diff --git a/packages/sheets-plugin-find/src/IData/IFind.ts b/packages/sheets-plugin-find/src/IData/IFind.tsindex 88f094c995..021d034ab1 100644--- a/packages/sheets-plugin-find/src/IData/IFind.ts+++ b/packages/sheets-plugin-find/src/IData/IFind.ts@@ -1,4 +1,4 @@-import { FormatType } from '@univer/core';+import { FormatType } from '@univerjs/core';export type IConfig = {};diff --git a/packages/sheets-plugin-find/src/Types/index.d.ts b/packages/sheets-plugin-find/src/Types/index.d.tsindex a244d38af4..3aa701bb35 100644--- a/packages/sheets-plugin-find/src/Types/index.d.ts+++ b/packages/sheets-plugin-find/src/Types/index.d.ts@@ -1,7 +1,7 @@export * from '../index';-declare module '@univer/sheets-plugin-find' { }+declare module '@univerjs/sheets-plugin-find' { }// use css modulediff --git a/packages/sheets-plugin-find/src/View/UI/FindModal.tsx b/packages/sheets-plugin-find/src/View/UI/FindModal.tsxindex f38552df2e..5785c19033 100644--- a/packages/sheets-plugin-find/src/View/UI/FindModal.tsx+++ b/packages/sheets-plugin-find/src/View/UI/FindModal.tsx@@ -1,6 +1,6 @@-import { BaseComponentRender, BaseComponentSheet, Component, ModalProps } from '@univer/base-component';-import { PLUGIN_NAMES } from '@univer/core';-import { SheetPlugin } from '@univer/base-sheets';+import { BaseComponentRender, BaseComponentSheet, Component, ModalProps } from '@univerjs/base-component';+import { PLUGIN_NAMES } from '@univerjs/core';+import { SheetPlugin } from '@univerjs/base-sheets';import { IProps } from '../../IData/IFind';import { FindPlugin } from '../../FindPlugin';import { FIND_PLUGIN_NAME } from '../../Const/PLUGIN_NAME';diff --git a/packages/sheets-plugin-find/src/View/UI/LocationContent.tsx b/packages/sheets-plugin-find/src/View/UI/LocationContent.tsxindex 414ffa0e41..c7254427cc 100644--- a/packages/sheets-plugin-find/src/View/UI/LocationContent.tsx+++ b/packages/sheets-plugin-find/src/View/UI/LocationContent.tsx@@ -1,6 +1,6 @@-import { BaseComponentRender, BaseComponentSheet, Component } from '@univer/base-component';-import { Nullable, Observer, Workbook } from '@univer/core';-import { SheetPlugin } from '@univer/base-sheets';+import { BaseComponentRender, BaseComponentSheet, Component } from '@univerjs/base-component';+import { Nullable, Observer, Workbook } from '@univerjs/core';+import { SheetPlugin } from '@univerjs/base-sheets';import styles from './index.module.less';type LocationProps = {diff --git a/packages/sheets-plugin-find/src/View/UI/SearchContent.tsx b/packages/sheets-plugin-find/src/View/UI/SearchContent.tsxindex 85d68f13eb..e90150dbe3 100644--- a/packages/sheets-plugin-find/src/View/UI/SearchContent.tsx+++ b/packages/sheets-plugin-find/src/View/UI/SearchContent.tsx@@ -1,5 +1,5 @@-import { BaseComponentRender, BaseComponentSheet, Component } from '@univer/base-component';-import { Nullable } from '@univer/core';+import { BaseComponentRender, BaseComponentSheet, Component } from '@univerjs/base-component';+import { Nullable } from '@univerjs/core';import { FIND_PLUGIN_NAME } from '../../Const/PLUGIN_NAME';import { FindPlugin } from '../../FindPlugin';import styles from './index.module.less';diff --git a/packages/sheets-plugin-find/src/View/UI/fuben.tsx b/packages/sheets-plugin-find/src/View/UI/fuben.tsxindex d4ec52814c..8fee38f1aa 100644--- a/packages/sheets-plugin-find/src/View/UI/fuben.tsx+++ b/packages/sheets-plugin-find/src/View/UI/fuben.tsx@@ -1,7 +1,7 @@-import { BaseComponentRender, BaseComponentSheet, Component } from '@univer/base-component';-import { Nullable, Observer, Workbook } from '@univer/core';-import { SheetPlugin } from '@univer/base-sheets';-// import { Button, CheckboxGroup, Input, Tab, TabPane } from '@univer/style-univer';+import { BaseComponentRender, BaseComponentSheet, Component } from '@univerjs/base-component';+import { Nullable, Observer, Workbook } from '@univerjs/core';+import { SheetPlugin } from '@univerjs/base-sheets';+// import { Button, CheckboxGroup, Input, Tab, TabPane } from '@univerjs/style-univer';import styles from './index.module.less';import { FindPlugin } from '../../FindPlugin';diff --git a/packages/sheets-plugin-find/src/test/TextFind.test.ts b/packages/sheets-plugin-find/src/test/TextFind.test.tsindex 73cce96610..dbb8346920 100644--- a/packages/sheets-plugin-find/src/test/TextFind.test.ts+++ b/packages/sheets-plugin-find/src/test/TextFind.test.ts@@ -18,7 +18,7 @@ import {UndoManager,Workbook,Worksheet,-} from '@univer/core';+} from '@univerjs/core';import { TextFinder } from '../Domain';export function IOCContainerStartUpReady(workbookConfig?: Partial<IWorkbookConfig>): IOCContainer {diff --git a/packages/sheets-plugin-find/test/TextFind.test.ts b/packages/sheets-plugin-find/test/TextFind.test.tsindex 7df3074c30..f84960806b 100644--- a/packages/sheets-plugin-find/test/TextFind.test.ts+++ b/packages/sheets-plugin-find/test/TextFind.test.ts@@ -18,7 +18,7 @@ import {UndoManager,Workbook,Worksheet,-} from '@univer/core';+} from '@univerjs/core';import { TextFinder } from '../src/Domain/TextFind';export function IOCContainerStartUpReady(workbookConfig?: Partial<IWorkbookConfig>): IOCContainer {diff --git a/packages/sheets-plugin-find/vite.config.ts b/packages/sheets-plugin-find/vite.config.tsindex a7f7c1cdad..58fd267650 100644--- a/packages/sheets-plugin-find/vite.config.ts+++ b/packages/sheets-plugin-find/vite.config.ts@@ -38,8 +38,8 @@ export default defineConfig({preact(),createExternal({externals: {- '@univer/core': '@univer/core',- '@univer/style-univer': '@univer/style-univer',+ '@univerjs/core': '@univerjs/core',+ '@univerjs/style-univer': '@univerjs/style-univer',preact: 'preact',react: 'react',},diff --git a/packages/sheets-plugin-formula/README-zh.md b/packages/sheets-plugin-formula/README-zh.mdindex 3fa4d85406..72683757d5 100644--- a/packages/sheets-plugin-formula/README-zh.md+++ b/packages/sheets-plugin-formula/README-zh.md@@ -9,13 +9,13 @@ UniverSheet Formula 插件### 安装```bash-npm i @univer/sheets-plugin-formula+npm i @univerjs/sheets-plugin-formula```### 使用```js-impport {Formula} from '@univer/sheets-plugin-formula'+impport {Formula} from '@univerjs/sheets-plugin-formula'const univerSheet = new UniverSheet();univerSheet.installPlugin(new Formula());@@ -41,7 +41,7 @@ pnpm installnpm run dev# 或者项目根目录 ./-pnpm run --filter @univer/sheets-plugin-formula dev+pnpm run --filter @univerjs/sheets-plugin-formula dev```### 打包@@ -51,5 +51,5 @@ pnpm run --filter @univer/sheets-plugin-formula devnpm run build# 或者根目录 ./-pnpm run --filter @univer/sheets-plugin-formula build+pnpm run --filter @univerjs/sheets-plugin-formula build```diff --git a/packages/sheets-plugin-formula/README.md b/packages/sheets-plugin-formula/README.mdindex 295be1fa84..c9f51f497e 100644--- a/packages/sheets-plugin-formula/README.md+++ b/packages/sheets-plugin-formula/README.md@@ -9,13 +9,13 @@ UniverSheet Plugin Formula### Installation```bash-npm i @univer/sheets-plugin-formula+npm i @univerjs/sheets-plugin-formula```### Usage```js-impport {Formula} from '@univer/sheets-plugin-formula'+impport {Formula} from '@univerjs/sheets-plugin-formula'const univerSheet = new UniverSheet();univerSheet.installPlugin(new Formula());@@ -41,7 +41,7 @@ pnpm installnpm run dev# Or project root directory ./-pnpm run --filter @univer/sheets-plugin-formula dev+pnpm run --filter @univerjs/sheets-plugin-formula dev```### Package@@ -51,5 +51,5 @@ pnpm run --filter @univer/sheets-plugin-formula devnpm run build# Or root directory ./-pnpm run --filter @univer/sheets-plugin-formula build+pnpm run --filter @univerjs/sheets-plugin-formula build```diff --git a/packages/sheets-plugin-formula/package.json b/packages/sheets-plugin-formula/package.jsonindex 3885e01f6f..7c36588cc4 100644--- a/packages/sheets-plugin-formula/package.json+++ b/packages/sheets-plugin-formula/package.json@@ -1,5 +1,5 @@{- "name": "@univer/sheets-plugin-formula",+ "name": "@univerjs/sheets-plugin-formula","version": "0.0.1","description": "UniverSheet normal plugin formula","keywords": [],@@ -45,13 +45,13 @@"vite-plugin-external": "1.2.3"},"dependencies": {- "@univer/base-component": "workspace:^0.0.1",- "@univer/base-formula-engine": "workspace:^0.0.1",- "@univer/base-render": "workspace:^0.0.1",- "@univer/base-sheets": "workspace:^0.0.1",- "@univer/common-plugin-data": "workspace:^0.0.1",- "@univer/core": "workspace:^0.0.1",- "@univer/style-univer": "workspace:^0.0.1",+ "@univerjs/base-component": "workspace:^0.0.1",+ "@univerjs/base-formula-engine": "workspace:^0.0.1",+ "@univerjs/base-render": "workspace:^0.0.1",+ "@univerjs/base-sheets": "workspace:^0.0.1",+ "@univerjs/common-plugin-data": "workspace:^0.0.1",+ "@univerjs/core": "workspace:^0.0.1",+ "@univerjs/style-univer": "workspace:^0.0.1","css-vars-ponyfill": "^2.4.6","preact": "^10.5.14","react-colorful": "^5.3.0"diff --git a/packages/sheets-plugin-formula/src/Basic/Interfaces/IFormula.ts b/packages/sheets-plugin-formula/src/Basic/Interfaces/IFormula.tsindex 610fff53b5..6ea3523c79 100644--- a/packages/sheets-plugin-formula/src/Basic/Interfaces/IFormula.ts+++ b/packages/sheets-plugin-formula/src/Basic/Interfaces/IFormula.ts@@ -1,5 +1,5 @@-import { SheetContext } from '@univer/core';-import { FormulaDataType } from '@univer/base-formula-engine';+import { SheetContext } from '@univerjs/core';+import { FormulaDataType } from '@univerjs/base-formula-engine';export type IConfig = {context: SheetContext;diff --git a/packages/sheets-plugin-formula/src/Basic/Observer.ts b/packages/sheets-plugin-formula/src/Basic/Observer.tsindex 0dd0d1b1c1..6718c4e61e 100644--- a/packages/sheets-plugin-formula/src/Basic/Observer.ts+++ b/packages/sheets-plugin-formula/src/Basic/Observer.ts@@ -1,4 +1,4 @@-import { Observable } from '@univer/core';+import { Observable } from '@univerjs/core';import { FormulaPlugin } from '../FormulaPlugin';import { HelpFunction, SearchFunction } from '../View/UI/FormulaPrompt';import { SearchFormulaModal } from '../View/UI/SearchFormulaModal/SearchFormulaModal1';diff --git a/packages/sheets-plugin-formula/src/Basic/Register/FormulaActionExtension.ts b/packages/sheets-plugin-formula/src/Basic/Register/FormulaActionExtension.tsindex 39060e3507..46e36f1d8b 100644--- a/packages/sheets-plugin-formula/src/Basic/Register/FormulaActionExtension.ts+++ b/packages/sheets-plugin-formula/src/Basic/Register/FormulaActionExtension.ts@@ -12,7 +12,7 @@ import {Nullable,ObjectMatrix,Tools,-} from '@univer/core';+} from '@univerjs/core';import { FormulaPlugin } from '../../FormulaPlugin';import { ACTION_NAMES as PLUGIN_ACTION_NAMES } from '../Enum';diff --git a/packages/sheets-plugin-formula/src/Basic/Register/FormulaCellEditExtension.ts b/packages/sheets-plugin-formula/src/Basic/Register/FormulaCellEditExtension.tsindex 16b00feeca..84c0171c93 100644--- a/packages/sheets-plugin-formula/src/Basic/Register/FormulaCellEditExtension.ts+++ b/packages/sheets-plugin-formula/src/Basic/Register/FormulaCellEditExtension.ts@@ -1,6 +1,6 @@-import { BaseCellEditExtension, BaseCellEditExtensionFactory, ICell, SheetPlugin } from '@univer/base-sheets';-import { IFormulaData } from '@univer/base-formula-engine';-import { IRangeData, Nullable, PLUGIN_NAMES } from '@univer/core';+import { BaseCellEditExtension, BaseCellEditExtensionFactory, ICell, SheetPlugin } from '@univerjs/base-sheets';+import { IFormulaData } from '@univerjs/base-formula-engine';+import { IRangeData, Nullable, PLUGIN_NAMES } from '@univerjs/core';import { FormulaPlugin } from '../../FormulaPlugin';export class FormulaCellEditExtension extends BaseCellEditExtension {diff --git a/packages/sheets-plugin-formula/src/Basic/Register/FormulaCellInputExtension.ts b/packages/sheets-plugin-formula/src/Basic/Register/FormulaCellInputExtension.tsindex 72c2bf34a4..023a349b8f 100644--- a/packages/sheets-plugin-formula/src/Basic/Register/FormulaCellInputExtension.ts+++ b/packages/sheets-plugin-formula/src/Basic/Register/FormulaCellInputExtension.ts@@ -1,6 +1,6 @@-import { BaseCellInputExtension, BaseCellInputExtensionFactory, ICell } from '@univer/base-sheets';-import { IFormulaData } from '@univer/base-formula-engine';-import { IRangeData, Nullable } from '@univer/core';+import { BaseCellInputExtension, BaseCellInputExtensionFactory, ICell } from '@univerjs/base-sheets';+import { IFormulaData } from '@univerjs/base-formula-engine';+import { IRangeData, Nullable } from '@univerjs/core';import { FormulaPlugin } from '../../FormulaPlugin';export class FormulaCellInputExtension extends BaseCellInputExtension {diff --git a/packages/sheets-plugin-formula/src/Controller/ArrayFormulaLineController.ts b/packages/sheets-plugin-formula/src/Controller/ArrayFormulaLineController.tsindex c0a7beaf2f..d60e78e312 100644--- a/packages/sheets-plugin-formula/src/Controller/ArrayFormulaLineController.ts+++ b/packages/sheets-plugin-formula/src/Controller/ArrayFormulaLineController.ts@@ -1,6 +1,6 @@-import { IRangeData, PLUGIN_NAMES, Workbook } from '@univer/core';-import { Rect, Scene } from '@univer/base-render';-import { SheetPlugin, SheetView } from '@univer/base-sheets';+import { IRangeData, PLUGIN_NAMES, Workbook } from '@univerjs/core';+import { Rect, Scene } from '@univerjs/base-render';+import { SheetPlugin, SheetView } from '@univerjs/base-sheets';import { FormulaPlugin } from '../FormulaPlugin';diff --git a/packages/sheets-plugin-formula/src/Controller/CellInputHandler.ts b/packages/sheets-plugin-formula/src/Controller/CellInputHandler.tsindex b7fa9fe55c..b8f53f98cd 100644--- a/packages/sheets-plugin-formula/src/Controller/CellInputHandler.ts+++ b/packages/sheets-plugin-formula/src/Controller/CellInputHandler.ts@@ -1,5 +1,5 @@-import { $$, getNodeindex, xssDeal } from '@univer/base-component';-import { Nullable, Tools } from '@univer/core';+import { $$, getNodeindex, xssDeal } from '@univerjs/base-component';+import { Nullable, Tools } from '@univerjs/core';import { lang } from './locale';/**diff --git a/packages/sheets-plugin-formula/src/Controller/FirstLoader.ts b/packages/sheets-plugin-formula/src/Controller/FirstLoader.tsindex 1252e60d5f..96dfa0c417 100644--- a/packages/sheets-plugin-formula/src/Controller/FirstLoader.ts+++ b/packages/sheets-plugin-formula/src/Controller/FirstLoader.ts@@ -1,4 +1,4 @@-import { ActionOperation, ACTION_NAMES, ISetRangeDataActionData, Command, ObjectMatrix, ICellData } from '@univer/core';+import { ActionOperation, ACTION_NAMES, ISetRangeDataActionData, Command, ObjectMatrix, ICellData } from '@univerjs/core';import { FormulaController } from './FormulaController';export function firstLoader(formulaController: FormulaController) {diff --git a/packages/sheets-plugin-formula/src/Controller/FormulaController.ts b/packages/sheets-plugin-formula/src/Controller/FormulaController.tsindex 8f40a5255e..458ff3d8d1 100644--- a/packages/sheets-plugin-formula/src/Controller/FormulaController.ts+++ b/packages/sheets-plugin-formula/src/Controller/FormulaController.ts@@ -1,6 +1,6 @@-import { FormulaEnginePlugin, IInterpreterDatasetConfig, SheetDataType, UnitDataType, SheetNameMapType, ArrayFormulaDataType } from '@univer/base-formula-engine';-import { SheetPlugin } from '@univer/base-sheets';-import { PLUGIN_NAMES, SheetContext } from '@univer/core';+import { FormulaEnginePlugin, IInterpreterDatasetConfig, SheetDataType, UnitDataType, SheetNameMapType, ArrayFormulaDataType } from '@univerjs/base-formula-engine';+import { SheetPlugin } from '@univerjs/base-sheets';+import { PLUGIN_NAMES, SheetContext } from '@univerjs/core';import { FORMULA_PLUGIN_NAME, CONFIG } from '../Basic';import { IFormulaConfig } from '../Basic/Interfaces/IFormula';import { FormulaPlugin } from '../FormulaPlugin';diff --git a/packages/sheets-plugin-formula/src/Controller/FormulaPromptController.ts b/packages/sheets-plugin-formula/src/Controller/FormulaPromptController.tsindex 748d9f269c..2869fef925 100644--- a/packages/sheets-plugin-formula/src/Controller/FormulaPromptController.ts+++ b/packages/sheets-plugin-formula/src/Controller/FormulaPromptController.ts@@ -1,6 +1,6 @@-import { $$, getRefElement } from '@univer/base-component';-import { SheetPlugin } from '@univer/base-sheets';-import { KeyCode, PLUGIN_NAMES, SheetContext } from '@univer/core';+import { $$, getRefElement } from '@univerjs/base-component';+import { SheetPlugin } from '@univerjs/base-sheets';+import { KeyCode, PLUGIN_NAMES, SheetContext } from '@univerjs/core';import { FORMULA_PLUGIN_NAME } from '../Basic';import { FormulaPlugin } from '../FormulaPlugin';import { HelpFunction, SearchFunction } from '../View/UI/FormulaPrompt';diff --git a/packages/sheets-plugin-formula/src/Controller/SearchFormulaModalController.ts b/packages/sheets-plugin-formula/src/Controller/SearchFormulaModalController.tsindex 0492bbbe36..be9bb7c6a2 100644--- a/packages/sheets-plugin-formula/src/Controller/SearchFormulaModalController.ts+++ b/packages/sheets-plugin-formula/src/Controller/SearchFormulaModalController.ts@@ -1,6 +1,6 @@-import { ComponentChildren } from '@univer/base-component';-import { SheetPlugin, CellRangeModal } from '@univer/base-sheets';-import { PLUGIN_NAMES } from '@univer/core';+import { ComponentChildren } from '@univerjs/base-component';+import { SheetPlugin, CellRangeModal } from '@univerjs/base-sheets';+import { PLUGIN_NAMES } from '@univerjs/core';import { FORMULA_PLUGIN_NAME, FunctionList, FunList, SelectCategoryType } from '../Basic';import { FormulaPlugin } from '../FormulaPlugin';import { SearchFormulaContent } from '../View/UI/SearchFormulaModal/SearchFormulaContent';diff --git a/packages/sheets-plugin-formula/src/FormulaPlugin.tsx b/packages/sheets-plugin-formula/src/FormulaPlugin.tsxindex 0805c94f87..dde0627f72 100644--- a/packages/sheets-plugin-formula/src/FormulaPlugin.tsx+++ b/packages/sheets-plugin-formula/src/FormulaPlugin.tsx@@ -1,6 +1,6 @@-import { SheetContext, IOCContainer, UniverSheet, Plugin } from '@univer/core';-import { CellEditExtensionManager, CellInputExtensionManager } from '@univer/base-sheets';-import { FormulaEnginePlugin } from '@univer/base-formula-engine';+import { SheetContext, IOCContainer, UniverSheet, Plugin } from '@univerjs/core';+import { CellEditExtensionManager, CellInputExtensionManager } from '@univerjs/base-sheets';+import { FormulaEnginePlugin } from '@univerjs/base-formula-engine';import { zh, en } from './Locale';import { IFormulaConfig } from './Basic/Interfaces/IFormula';diff --git a/packages/sheets-plugin-formula/src/Model/Action/SetFormulaRangeDataAction.ts b/packages/sheets-plugin-formula/src/Model/Action/SetFormulaRangeDataAction.tsindex 1977195948..c8347367db 100644--- a/packages/sheets-plugin-formula/src/Model/Action/SetFormulaRangeDataAction.ts+++ b/packages/sheets-plugin-formula/src/Model/Action/SetFormulaRangeDataAction.ts@@ -1,5 +1,5 @@-import { FormulaDataType } from '@univer/base-formula-engine';-import { SheetActionBase, ActionObservers, ISheetActionData, CommandUnit } from '@univer/core';+import { FormulaDataType } from '@univerjs/base-formula-engine';+import { SheetActionBase, ActionObservers, ISheetActionData, CommandUnit } from '@univerjs/core';import { SetFormulaRangeData } from '../Apply/SetFormulaRangeData';export interface ISetFormulaRangeActionData extends ISheetActionData {diff --git a/packages/sheets-plugin-formula/src/Model/Apply/SetFormulaRangeData.ts b/packages/sheets-plugin-formula/src/Model/Apply/SetFormulaRangeData.tsindex 3d4a0e712d..4890e53423 100644--- a/packages/sheets-plugin-formula/src/Model/Apply/SetFormulaRangeData.ts+++ b/packages/sheets-plugin-formula/src/Model/Apply/SetFormulaRangeData.ts@@ -1,5 +1,5 @@-import { Tools, Workbook } from '@univer/core';-import { FormulaDataType } from '@univer/base-formula-engine';+import { Tools, Workbook } from '@univerjs/core';+import { FormulaDataType } from '@univerjs/base-formula-engine';import { FORMULA_PLUGIN_NAME } from '../../Basic';import { FormulaPlugin } from '../../FormulaPlugin';diff --git a/packages/sheets-plugin-formula/src/Model/FormulaDataModel.ts b/packages/sheets-plugin-formula/src/Model/FormulaDataModel.tsindex ff6cfb9ab5..f57af28c30 100644--- a/packages/sheets-plugin-formula/src/Model/FormulaDataModel.ts+++ b/packages/sheets-plugin-formula/src/Model/FormulaDataModel.ts@@ -1,5 +1,5 @@-import { ArrayFormulaDataType, FormulaDataType } from '@univer/base-formula-engine';-import { ObjectMatrix } from '@univer/core';+import { ArrayFormulaDataType, FormulaDataType } from '@univerjs/base-formula-engine';+import { ObjectMatrix } from '@univerjs/core';import { IFormulaConfig, RecalculationModeType } from '../Basic/Interfaces/IFormula';export class FormulaDataModel {diff --git a/packages/sheets-plugin-formula/src/Model/RegisterAction.ts b/packages/sheets-plugin-formula/src/Model/RegisterAction.tsindex 89a29b3219..f572b58d4d 100644--- a/packages/sheets-plugin-formula/src/Model/RegisterAction.ts+++ b/packages/sheets-plugin-formula/src/Model/RegisterAction.ts@@ -1,4 +1,4 @@-import { CommandManager } from '@univer/core';+import { CommandManager } from '@univerjs/core';import { ACTION_NAMES } from '../Basic/Enum/ACTION_NAMES';import { SetFormulaRangeDataAction } from './Action/SetFormulaRangeDataAction';diff --git a/packages/sheets-plugin-formula/src/Service/FormulaCacheLoader.ts b/packages/sheets-plugin-formula/src/Service/FormulaCacheLoader.tsindex 32d301bc38..a00891df55 100644--- a/packages/sheets-plugin-formula/src/Service/FormulaCacheLoader.ts+++ b/packages/sheets-plugin-formula/src/Service/FormulaCacheLoader.ts@@ -1,4 +1,4 @@-import { CellValueType, ICellData, IWorkbookConfig, ObjectMatrix } from '@univer/core';+import { CellValueType, ICellData, IWorkbookConfig, ObjectMatrix } from '@univerjs/core';type SheetDataType = { [sheetName: string]: ObjectMatrix<ICellData> };diff --git a/packages/sheets-plugin-formula/src/Types/index.d.ts b/packages/sheets-plugin-formula/src/Types/index.d.tsindex 968b6947a7..656a41bc79 100644--- a/packages/sheets-plugin-formula/src/Types/index.d.ts+++ b/packages/sheets-plugin-formula/src/Types/index.d.ts@@ -1,7 +1,7 @@export * from '../index';-declare module '@univer/sheets-plugin-formula' { }+declare module '@univerjs/sheets-plugin-formula' { }// use css moduledeclare module '*.less' {diff --git a/packages/sheets-plugin-formula/src/View/UI/FormulaLabel.tsx b/packages/sheets-plugin-formula/src/View/UI/FormulaLabel.tsxindex 435e250330..db8c59f3bd 100644--- a/packages/sheets-plugin-formula/src/View/UI/FormulaLabel.tsx+++ b/packages/sheets-plugin-formula/src/View/UI/FormulaLabel.tsx@@ -1,4 +1,4 @@-import { Component, BaseComponentSheet, BaseComponentRender } from '@univer/base-component';+import { Component, BaseComponentSheet, BaseComponentRender } from '@univerjs/base-component';interface IProps {label: string;diff --git a/packages/sheets-plugin-formula/src/View/UI/FormulaPrompt/HelpFunction.tsx b/packages/sheets-plugin-formula/src/View/UI/FormulaPrompt/HelpFunction.tsxindex 5c8fcdcde6..d6afac6d8b 100644--- a/packages/sheets-plugin-formula/src/View/UI/FormulaPrompt/HelpFunction.tsx+++ b/packages/sheets-plugin-formula/src/View/UI/FormulaPrompt/HelpFunction.tsx@@ -1,4 +1,4 @@-import { Component } from '@univer/base-component';+import { Component } from '@univerjs/base-component';import { FORMULA_PLUGIN_NAME } from '../../../Basic';import { lang } from '../../../Controller/locale';import { FormulaPlugin } from '../../../FormulaPlugin';diff --git a/packages/sheets-plugin-formula/src/View/UI/FormulaPrompt/SearchFunction.tsx b/packages/sheets-plugin-formula/src/View/UI/FormulaPrompt/SearchFunction.tsxindex 7ac68fbfe4..43055a6c12 100644--- a/packages/sheets-plugin-formula/src/View/UI/FormulaPrompt/SearchFunction.tsx+++ b/packages/sheets-plugin-formula/src/View/UI/FormulaPrompt/SearchFunction.tsx@@ -1,5 +1,5 @@-import { Component } from '@univer/base-component';-import { Nullable, Observer, Workbook } from '@univer/core';+import { Component } from '@univerjs/base-component';+import { Nullable, Observer, Workbook } from '@univerjs/core';import { FORMULA_PLUGIN_NAME } from '../../../Basic';import { lang } from '../../../Controller/locale';import { FormulaPlugin } from '../../../FormulaPlugin';diff --git a/packages/sheets-plugin-formula/src/View/UI/IfGenerate/ifGenerate.tsx b/packages/sheets-plugin-formula/src/View/UI/IfGenerate/ifGenerate.tsxindex 9a11c0d1fb..d20fb89917 100644--- a/packages/sheets-plugin-formula/src/View/UI/IfGenerate/ifGenerate.tsx+++ b/packages/sheets-plugin-formula/src/View/UI/IfGenerate/ifGenerate.tsx@@ -1,5 +1,5 @@-import { BaseButtonProps, BaseComponentSheet, BaseModalProps, BaseSelectProps, Component, FunctionComponent } from '@univer/base-component';-import { Nullable, Observer, Workbook } from '@univer/core';+import { BaseButtonProps, BaseComponentSheet, BaseModalProps, BaseSelectProps, Component, FunctionComponent } from '@univerjs/base-component';+import { Nullable, Observer, Workbook } from '@univerjs/core';import { IConfig } from '../../Basic/Interfaces/IFormula';import styles from './index.module.less';diff --git a/packages/sheets-plugin-formula/src/View/UI/SearchFormulaModal/SearchFormulaContent.tsx b/packages/sheets-plugin-formula/src/View/UI/SearchFormulaModal/SearchFormulaContent.tsxindex 3143c2ec0f..0f89795957 100644--- a/packages/sheets-plugin-formula/src/View/UI/SearchFormulaModal/SearchFormulaContent.tsx+++ b/packages/sheets-plugin-formula/src/View/UI/SearchFormulaModal/SearchFormulaContent.tsx@@ -1,5 +1,5 @@-import { BaseComponentRender, BaseComponentSheet, Component, createRef, debounce } from '@univer/base-component';-import { Select } from '@univer/base-sheets';+import { BaseComponentRender, BaseComponentSheet, Component, createRef, debounce } from '@univerjs/base-component';+import { Select } from '@univerjs/base-sheets';import { FunctionList } from '../../../Basic';import { FunListILabel, ILabel } from '../../../Controller/SearchFormulaModalController';import styles from './index.module.less';diff --git a/packages/sheets-plugin-formula/src/View/UI/SearchFormulaModal/SearchFormulaModal.tsx b/packages/sheets-plugin-formula/src/View/UI/SearchFormulaModal/SearchFormulaModal.tsxindex bfd6dcdb4f..cbadf75866 100644--- a/packages/sheets-plugin-formula/src/View/UI/SearchFormulaModal/SearchFormulaModal.tsx+++ b/packages/sheets-plugin-formula/src/View/UI/SearchFormulaModal/SearchFormulaModal.tsx@@ -1,6 +1,6 @@-import { BaseComponentRender, BaseComponentSheet, Component } from '@univer/base-component';-import { PLUGIN_NAMES } from '@univer/core';-import { SheetPlugin } from '@univer/base-sheets';+import { BaseComponentRender, BaseComponentSheet, Component } from '@univerjs/base-component';+import { PLUGIN_NAMES } from '@univerjs/core';+import { SheetPlugin } from '@univerjs/base-sheets';import { FORMULA_PLUGIN_NAME } from '../../../Basic';import { SearchFormulaModalData } from '../../../Controller/SearchFormulaModalController';import { FormulaPlugin } from '../../../FormulaPlugin';diff --git a/packages/sheets-plugin-formula/src/View/UI/SearchFormulaModal/SearchFormulaModal1.tsx b/packages/sheets-plugin-formula/src/View/UI/SearchFormulaModal/SearchFormulaModal1.tsxindex 7ddf29217f..28ffed4955 100644--- a/packages/sheets-plugin-formula/src/View/UI/SearchFormulaModal/SearchFormulaModal1.tsx+++ b/packages/sheets-plugin-formula/src/View/UI/SearchFormulaModal/SearchFormulaModal1.tsx@@ -1,5 +1,5 @@-import { BaseButtonProps, BaseComponentSheet, BaseModalProps, BaseSelectProps, Component, createRef, FunctionComponent } from '@univer/base-component';-import { Nullable, Observer, Workbook } from '@univer/core';+import { BaseButtonProps, BaseComponentSheet, BaseModalProps, BaseSelectProps, Component, createRef, FunctionComponent } from '@univerjs/base-component';+import { Nullable, Observer, Workbook } from '@univerjs/core';import * as func from '../../Basic/Const/FunctionList'; // 全部公式数组import { IConfig } from '../../Basic/Interfaces/IFormula';import styles from './index.module.less';diff --git a/packages/sheets-plugin-formula/src/View/UI/SearchFormulaModal/SearchItem.tsx b/packages/sheets-plugin-formula/src/View/UI/SearchFormulaModal/SearchItem.tsxindex dde142363b..677a4fd682 100644--- a/packages/sheets-plugin-formula/src/View/UI/SearchFormulaModal/SearchItem.tsx+++ b/packages/sheets-plugin-formula/src/View/UI/SearchFormulaModal/SearchItem.tsx@@ -1,5 +1,5 @@-import { Component } from '@univer/base-component';-import { CellRange } from '@univer/base-sheets';+import { Component } from '@univerjs/base-component';+import { CellRange } from '@univerjs/base-sheets';import { FORMULA_PLUGIN_NAME, P } from '../../../Basic';import { FunParams } from '../../../Controller/SearchFormulaModalController';import { FormulaPlugin } from '../../../FormulaPlugin';diff --git a/packages/sheets-plugin-formula/src/main.tsx b/packages/sheets-plugin-formula/src/main.tsxindex 64caf30cfc..a0bed5ae79 100644--- a/packages/sheets-plugin-formula/src/main.tsx+++ b/packages/sheets-plugin-formula/src/main.tsx@@ -1,8 +1,8 @@-import { UniverSheet } from '@univer/core';-import { RenderEngine } from '@univer/base-render';-import { DEFAULT_WORKBOOK_DATA } from '@univer/common-plugin-data';-import { SheetPlugin } from '@univer/base-sheets';-import { UniverComponentSheet } from '@univer/style-univer';+import { UniverSheet } from '@univerjs/core';+import { RenderEngine } from '@univerjs/base-render';+import { DEFAULT_WORKBOOK_DATA } from '@univerjs/common-plugin-data';+import { SheetPlugin } from '@univerjs/base-sheets';+import { UniverComponentSheet } from '@univerjs/style-univer';const uiDefaultConfigUp = {container: 'universheet-demo-up',diff --git a/packages/sheets-plugin-freeze/README-zh.md b/packages/sheets-plugin-freeze/README-zh.mdindex 4d945256fc..ee2d0e6092 100644--- a/packages/sheets-plugin-freeze/README-zh.md+++ b/packages/sheets-plugin-freeze/README-zh.md@@ -9,13 +9,13 @@ UniverSheet Frozen 插件### 安装```bash-npm i @univer/sheets-plugin-freeze+npm i @univerjs/sheets-plugin-freeze```### 使用```js-impport {Frozen} from '@univer/sheets-plugin-freeze'+impport {Frozen} from '@univerjs/sheets-plugin-freeze'const univerSheet = new UniverSheet();univerSheet.installPlugin(new Frozen());@@ -41,7 +41,7 @@ pnpm installnpm run dev# 或者项目根目录 ./-pnpm run --filter @univer/sheets-plugin-freeze dev+pnpm run --filter @univerjs/sheets-plugin-freeze dev```### 打包@@ -51,5 +51,5 @@ pnpm run --filter @univer/sheets-plugin-freeze devnpm run build# 或者根目录 ./-pnpm run --filter @univer/sheets-plugin-freeze build+pnpm run --filter @univerjs/sheets-plugin-freeze build```diff --git a/packages/sheets-plugin-freeze/README.md b/packages/sheets-plugin-freeze/README.mdindex 7974464bf3..ae2c9487f6 100644--- a/packages/sheets-plugin-freeze/README.md+++ b/packages/sheets-plugin-freeze/README.md@@ -9,13 +9,13 @@ UniverSheet Plugin Frozen### Installation```bash-npm i @univer/sheets-plugin-freeze+npm i @univerjs/sheets-plugin-freeze```### Usage```js-impport {Frozen} from '@univer/sheets-plugin-freeze'+impport {Frozen} from '@univerjs/sheets-plugin-freeze'const univerSheet = new UniverSheet();univerSheet.installPlugin(new Frozen());@@ -41,7 +41,7 @@ pnpm installnpm run dev# Or project root directory ./-pnpm run --filter @univer/sheets-plugin-freeze dev+pnpm run --filter @univerjs/sheets-plugin-freeze dev```### Package@@ -51,5 +51,5 @@ pnpm run --filter @univer/sheets-plugin-freeze devnpm run build# Or root directory ./-pnpm run --filter @univer/sheets-plugin-freeze build+pnpm run --filter @univerjs/sheets-plugin-freeze build```diff --git a/packages/sheets-plugin-freeze/package.json b/packages/sheets-plugin-freeze/package.jsonindex c27d0418ad..c93b8b964d 100644--- a/packages/sheets-plugin-freeze/package.json+++ b/packages/sheets-plugin-freeze/package.json@@ -1,5 +1,5 @@{- "name": "@univer/sheets-plugin-freeze",+ "name": "@univerjs/sheets-plugin-freeze","version": "0.0.1","description": "UniverSheet normal plugin-freeze","keywords": [],@@ -44,12 +44,12 @@"vite-plugin-external": "1.2.3"},"dependencies": {- "@univer/base-component": "workspace:^0.0.1",- "@univer/base-render": "workspace:^0.0.1",- "@univer/base-sheets": "workspace:^0.0.1",- "@univer/common-plugin-data": "workspace:^0.0.1",- "@univer/core": "workspace:^0.0.1",- "@univer/style-univer": "workspace:^0.0.1",+ "@univerjs/base-component": "workspace:^0.0.1",+ "@univerjs/base-render": "workspace:^0.0.1",+ "@univerjs/base-sheets": "workspace:^0.0.1",+ "@univerjs/common-plugin-data": "workspace:^0.0.1",+ "@univerjs/core": "workspace:^0.0.1",+ "@univerjs/style-univer": "workspace:^0.0.1","preact": "^10.5.14"}}diff --git a/packages/sheets-plugin-freeze/src/Action/RegisterAction.ts b/packages/sheets-plugin-freeze/src/Action/RegisterAction.tsindex 5c1d32aa12..c4cc3dd29d 100644--- a/packages/sheets-plugin-freeze/src/Action/RegisterAction.ts+++ b/packages/sheets-plugin-freeze/src/Action/RegisterAction.ts@@ -1,4 +1,4 @@-import { CommandManager } from '@univer/core';+import { CommandManager } from '@univerjs/core';import { ACTION_NAMES } from '../Basic/Enum/ACTION_NAMES';import { SetFrozenColumnsAction } from './SetFrozenColumnsAction';import { SetFrozenRowsAction } from './SetFrozenRowsAction';diff --git a/packages/sheets-plugin-freeze/src/Action/SetFrozenCancelAction.ts b/packages/sheets-plugin-freeze/src/Action/SetFrozenCancelAction.tsindex e81cac800a..bc1bf1e473 100644--- a/packages/sheets-plugin-freeze/src/Action/SetFrozenCancelAction.ts+++ b/packages/sheets-plugin-freeze/src/Action/SetFrozenCancelAction.ts@@ -1,4 +1,4 @@-import { SheetActionBase, ISheetActionData, Workbook, ActionObservers, ActionType } from '@univer/core';+import { SheetActionBase, ISheetActionData, Workbook, ActionObservers, ActionType } from '@univerjs/core';import { SetFrozenCancel } from '../Apply/SetFrozenCancel';import { SetFrozenColumns } from '../Apply/SetFrozenColumns';import { SetFrozenRows } from '../Apply/SetFrozenRows';diff --git a/packages/sheets-plugin-freeze/src/Action/SetFrozenColumnsAction.ts b/packages/sheets-plugin-freeze/src/Action/SetFrozenColumnsAction.tsindex a2edea42fd..f806926bcd 100644--- a/packages/sheets-plugin-freeze/src/Action/SetFrozenColumnsAction.ts+++ b/packages/sheets-plugin-freeze/src/Action/SetFrozenColumnsAction.ts@@ -1,4 +1,4 @@-import { ISheetActionData, SheetActionBase, Workbook, ActionObservers, ActionType } from '@univer/core';+import { ISheetActionData, SheetActionBase, Workbook, ActionObservers, ActionType } from '@univerjs/core';import { SetFrozenColumns } from '../Apply/SetFrozenColumns';import { ACTION_NAMES } from '../Basic/Enum/ACTION_NAMES';diff --git a/packages/sheets-plugin-freeze/src/Action/SetFrozenRowsAction.ts b/packages/sheets-plugin-freeze/src/Action/SetFrozenRowsAction.tsindex 30da4c9dc5..9b5a42e6ff 100644--- a/packages/sheets-plugin-freeze/src/Action/SetFrozenRowsAction.ts+++ b/packages/sheets-plugin-freeze/src/Action/SetFrozenRowsAction.ts@@ -1,4 +1,4 @@-import { ISheetActionData, SheetActionBase, Workbook, ActionObservers, ActionType } from '@univer/core';+import { ISheetActionData, SheetActionBase, Workbook, ActionObservers, ActionType } from '@univerjs/core';import { SetFrozenRows } from '../Apply/SetFrozenRows';import { ACTION_NAMES } from '../Basic/Enum/ACTION_NAMES';diff --git a/packages/sheets-plugin-freeze/src/Apply/SetFrozenCancel.ts b/packages/sheets-plugin-freeze/src/Apply/SetFrozenCancel.tsindex a95fc78c38..6965ffb2bd 100644--- a/packages/sheets-plugin-freeze/src/Apply/SetFrozenCancel.ts+++ b/packages/sheets-plugin-freeze/src/Apply/SetFrozenCancel.ts@@ -1,4 +1,4 @@-import { Worksheet } from '@univer/core';+import { Worksheet } from '@univerjs/core';export function SetFrozenCancel(worksheet: Worksheet): number[] {// get configdiff --git a/packages/sheets-plugin-freeze/src/Apply/SetFrozenColumns.ts b/packages/sheets-plugin-freeze/src/Apply/SetFrozenColumns.tsindex 278321c9a9..e7754ac6b6 100644--- a/packages/sheets-plugin-freeze/src/Apply/SetFrozenColumns.ts+++ b/packages/sheets-plugin-freeze/src/Apply/SetFrozenColumns.ts@@ -1,4 +1,4 @@-import { Worksheet } from '@univer/core';+import { Worksheet } from '@univerjs/core';export function SetFrozenColumns(worksheet: Worksheet, numColumns: number): number {// get configdiff --git a/packages/sheets-plugin-freeze/src/Apply/SetFrozenRows.ts b/packages/sheets-plugin-freeze/src/Apply/SetFrozenRows.tsindex be16363d6b..a1eaaf8931 100644--- a/packages/sheets-plugin-freeze/src/Apply/SetFrozenRows.ts+++ b/packages/sheets-plugin-freeze/src/Apply/SetFrozenRows.ts@@ -1,4 +1,4 @@-import { Worksheet } from '@univer/core';+import { Worksheet } from '@univerjs/core';export function SetFrozenRows(worksheet: Worksheet, numRows: number): number {// get configdiff --git a/packages/sheets-plugin-freeze/src/Controller/Freeze.ts b/packages/sheets-plugin-freeze/src/Controller/Freeze.tsindex 5573a484fb..1d045f79a5 100644--- a/packages/sheets-plugin-freeze/src/Controller/Freeze.ts+++ b/packages/sheets-plugin-freeze/src/Controller/Freeze.ts@@ -1,4 +1,4 @@-import { CommandManager, Worksheet, Command, SheetContext } from '@univer/core';+import { CommandManager, Worksheet, Command, SheetContext } from '@univerjs/core';import { ACTION_NAMES } from '../Basic/Enum/ACTION_NAMES';export class Freeze {diff --git a/packages/sheets-plugin-freeze/src/FreezePlugin.tsx b/packages/sheets-plugin-freeze/src/FreezePlugin.tsxindex 211b70ee37..c7ec8a53a6 100644--- a/packages/sheets-plugin-freeze/src/FreezePlugin.tsx+++ b/packages/sheets-plugin-freeze/src/FreezePlugin.tsx@@ -1,6 +1,6 @@-import { IToolBarItemProps, ISlotElement } from '@univer/base-component';-import { SheetContext, IOCContainer, UniverSheet, Plugin, PLUGIN_NAMES } from '@univer/core';-import { SheetPlugin } from '@univer/base-sheets';+import { IToolBarItemProps, ISlotElement } from '@univerjs/base-component';+import { SheetContext, IOCContainer, UniverSheet, Plugin, PLUGIN_NAMES } from '@univerjs/core';+import { SheetPlugin } from '@univerjs/base-sheets';import { FROZEN_PLUGIN_NAME } from './Basic/Const/PLUGIN_NAME';import { IConfig } from './IData';import { en, zh } from './Model/Locale';diff --git a/packages/sheets-plugin-freeze/src/Types/index.d.ts b/packages/sheets-plugin-freeze/src/Types/index.d.tsindex 96c8fcb4ac..fc92817f71 100644--- a/packages/sheets-plugin-freeze/src/Types/index.d.ts+++ b/packages/sheets-plugin-freeze/src/Types/index.d.ts@@ -2,7 +2,7 @@export * from '../index';-declare module '@univer/sheets-plugin-freeze' { }+declare module '@univerjs/sheets-plugin-freeze' { }// use css moduledeclare module '*.less' {diff --git a/packages/sheets-plugin-freeze/src/View/UI/FreezeButton.tsx b/packages/sheets-plugin-freeze/src/View/UI/FreezeButton.tsxindex 54390e48a0..94537b7760 100644--- a/packages/sheets-plugin-freeze/src/View/UI/FreezeButton.tsx+++ b/packages/sheets-plugin-freeze/src/View/UI/FreezeButton.tsx@@ -1,6 +1,6 @@-import { BaseComponentRender, BaseComponentSheet, BaseSelectProps, Component, ISelectButton, IToolBarItemProps } from '@univer/base-component';-import { Nullable, Observer, Workbook } from '@univer/core';-import { SheetPlugin } from '@univer/base-sheets';+import { BaseComponentRender, BaseComponentSheet, BaseSelectProps, Component, ISelectButton, IToolBarItemProps } from '@univerjs/base-component';+import { Nullable, Observer, Workbook } from '@univerjs/core';+import { SheetPlugin } from '@univerjs/base-sheets';import { IConfig } from '../../IData';interface IProps {diff --git a/packages/sheets-plugin-freeze/src/main.tsx b/packages/sheets-plugin-freeze/src/main.tsxindex 4828a1c506..bfcdf38a1c 100644--- a/packages/sheets-plugin-freeze/src/main.tsx+++ b/packages/sheets-plugin-freeze/src/main.tsx@@ -1,8 +1,8 @@-import { UniverSheet } from '@univer/core';-import { RenderEngine } from '@univer/base-render';-import { DEFAULT_WORKBOOK_DATA } from '@univer/common-plugin-data';-import { SheetPlugin } from '@univer/base-sheets';-import { UniverComponentSheet } from '@univer/style-univer';+import { UniverSheet } from '@univerjs/core';+import { RenderEngine } from '@univerjs/base-render';+import { DEFAULT_WORKBOOK_DATA } from '@univerjs/common-plugin-data';+import { SheetPlugin } from '@univerjs/base-sheets';+import { UniverComponentSheet } from '@univerjs/style-univer';const uiDefaultConfigUp = {container: 'universheet-demo-up',diff --git a/packages/sheets-plugin-freeze/vite.config.ts b/packages/sheets-plugin-freeze/vite.config.tsindex d759f1eed9..5a561f73fd 100644--- a/packages/sheets-plugin-freeze/vite.config.ts+++ b/packages/sheets-plugin-freeze/vite.config.ts@@ -38,8 +38,8 @@ export default defineConfig({preact(),createExternal({externals: {- '@univer/core': '@univer/core',- '@univer/style-univer': '@univer/style-univer',+ '@univerjs/core': '@univerjs/core',+ '@univerjs/style-univer': '@univerjs/style-univer',preact: 'preact',react: 'react',},diff --git a/packages/sheets-plugin-group/README-zh.md b/packages/sheets-plugin-group/README-zh.mdindex 0032642cb2..c7849671ff 100644--- a/packages/sheets-plugin-group/README-zh.md+++ b/packages/sheets-plugin-group/README-zh.md@@ -9,13 +9,13 @@ UniverSheet Group 插件### 安装```bash-npm i @univer/sheets-plugin-group+npm i @univerjs/sheets-plugin-group```### 使用```js-impport {Group} from '@univer/sheets-plugin-group'+impport {Group} from '@univerjs/sheets-plugin-group'const univerSheet = new UniverSheet();univerSheet.installPlugin(new Group());@@ -41,7 +41,7 @@ pnpm installnpm run dev# 或者项目根目录 ./-pnpm run --filter @univer/sheets-plugin-group dev+pnpm run --filter @univerjs/sheets-plugin-group dev```### 打包@@ -51,5 +51,5 @@ pnpm run --filter @univer/sheets-plugin-group devnpm run build# 或者根目录 ./-pnpm run --filter @univer/sheets-plugin-group build+pnpm run --filter @univerjs/sheets-plugin-group build```diff --git a/packages/sheets-plugin-group/README.md b/packages/sheets-plugin-group/README.mdindex 66d2e3c8de..68b2711c45 100644--- a/packages/sheets-plugin-group/README.md+++ b/packages/sheets-plugin-group/README.md@@ -9,13 +9,13 @@ UniverSheet Plugin Group### Installation```bash-npm i @univer/sheets-plugin-group+npm i @univerjs/sheets-plugin-group```### Usage```js-impport {Group} from '@univer/sheets-plugin-group'+impport {Group} from '@univerjs/sheets-plugin-group'const univerSheet = new UniverSheet();univerSheet.installPlugin(new Group());@@ -41,7 +41,7 @@ pnpm installnpm run dev# Or project root directory ./-pnpm run --filter @univer/sheets-plugin-group dev+pnpm run --filter @univerjs/sheets-plugin-group dev```### Package@@ -51,5 +51,5 @@ pnpm run --filter @univer/sheets-plugin-group devnpm run build# Or root directory ./-pnpm run --filter @univer/sheets-plugin-group build+pnpm run --filter @univerjs/sheets-plugin-group build```diff --git a/packages/sheets-plugin-group/package.json b/packages/sheets-plugin-group/package.jsonindex 2adaf884f3..2bcda80318 100644--- a/packages/sheets-plugin-group/package.json+++ b/packages/sheets-plugin-group/package.json@@ -1,5 +1,5 @@{- "name": "@univer/sheets-plugin-group",+ "name": "@univerjs/sheets-plugin-group","version": "0.0.1","description": "UniverSheet normal sheets-plugin-group","keywords": [],@@ -49,12 +49,12 @@"vite": "^2.4.4"},"dependencies": {- "@univer/base-component": "workspace:^0.0.1",- "@univer/base-render": "workspace:^0.0.1",- "@univer/base-sheets": "workspace:^0.0.1",- "@univer/common-plugin-data": "workspace:^0.0.1",- "@univer/core": "workspace:^0.0.1",- "@univer/style-univer": "workspace:^0.0.1",+ "@univerjs/base-component": "workspace:^0.0.1",+ "@univerjs/base-render": "workspace:^0.0.1",+ "@univerjs/base-sheets": "workspace:^0.0.1",+ "@univerjs/common-plugin-data": "workspace:^0.0.1",+ "@univerjs/core": "workspace:^0.0.1",+ "@univerjs/style-univer": "workspace:^0.0.1","preact": "^10.5.14"}}diff --git a/packages/sheets-plugin-group/src/Action/RegisterAction.ts b/packages/sheets-plugin-group/src/Action/RegisterAction.tsindex 23e6267c6b..f12d0eddb4 100644--- a/packages/sheets-plugin-group/src/Action/RegisterAction.ts+++ b/packages/sheets-plugin-group/src/Action/RegisterAction.ts@@ -1,4 +1,4 @@-import { CommandManager } from '@univer/core';+import { CommandManager } from '@univerjs/core';import { ACTION_NAMES } from '../Basic/Enum/ACTION_NAMES';import { SetCollapseAllColumnGroupsAction } from './SetCollapseAllColumnGroupsAction';import { SetCollapseAllRowGroupsAction } from './SetCollapseAllRowGroupsAction';diff --git a/packages/sheets-plugin-group/src/Action/SetCollapseAllColumnGroupsAction.ts b/packages/sheets-plugin-group/src/Action/SetCollapseAllColumnGroupsAction.tsindex ec90346e3d..7cbdeb6376 100644--- a/packages/sheets-plugin-group/src/Action/SetCollapseAllColumnGroupsAction.ts+++ b/packages/sheets-plugin-group/src/Action/SetCollapseAllColumnGroupsAction.ts@@ -1,4 +1,4 @@-import { ISheetActionData, SheetActionBase, Workbook, ActionObservers, ActionType } from '@univer/core';+import { ISheetActionData, SheetActionBase, Workbook, ActionObservers, ActionType } from '@univerjs/core';import { SetCollapseAllColumnGroups } from '../Apply/SetCollapseAllColumnGroups';import { GroupOpenType } from '../Controller/StructGroup';diff --git a/packages/sheets-plugin-group/src/Action/SetCollapseAllRowGroupsAction.ts b/packages/sheets-plugin-group/src/Action/SetCollapseAllRowGroupsAction.tsindex 2cde7fe6e2..7b47461ad1 100644--- a/packages/sheets-plugin-group/src/Action/SetCollapseAllRowGroupsAction.ts+++ b/packages/sheets-plugin-group/src/Action/SetCollapseAllRowGroupsAction.ts@@ -1,4 +1,4 @@-import { ISheetActionData, SheetActionBase, Workbook, ActionObservers, ActionType } from '@univer/core';+import { ISheetActionData, SheetActionBase, Workbook, ActionObservers, ActionType } from '@univerjs/core';import { SetCollapseAllRowGroups } from '../Apply/SetCollapseAllRowGroups';import { GroupOpenType } from '../Controller/StructGroup';diff --git a/packages/sheets-plugin-group/src/Controller/Group.ts b/packages/sheets-plugin-group/src/Controller/Group.tsindex 142c05f7f9..0aec8523b7 100644--- a/packages/sheets-plugin-group/src/Controller/Group.ts+++ b/packages/sheets-plugin-group/src/Controller/Group.ts@@ -1,4 +1,4 @@-import { Nullable } from '@univer/core';+import { Nullable } from '@univerjs/core';/***diff --git a/packages/sheets-plugin-group/src/GroupPlugin.tsx b/packages/sheets-plugin-group/src/GroupPlugin.tsxindex 96ab6e6655..7aa5c372ed 100644--- a/packages/sheets-plugin-group/src/GroupPlugin.tsx+++ b/packages/sheets-plugin-group/src/GroupPlugin.tsx@@ -1,10 +1,10 @@-import { SheetContext, Plugin, PLUGIN_NAMES, UniverSheet } from '@univer/core';+import { SheetContext, Plugin, PLUGIN_NAMES, UniverSheet } from '@univerjs/core';import { GroupButton } from './View/UI/GroupButton';import { zh, en } from './Locale';-import { IToolBarItemProps, ISlotElement } from '@univer/base-component';-import { IOCContainer } from '@univer/core';-import { SheetPlugin } from '@univer/base-sheets';+import { IToolBarItemProps, ISlotElement } from '@univerjs/base-component';+import { IOCContainer } from '@univerjs/core';+import { SheetPlugin } from '@univerjs/base-sheets';import { GROUP_PLUGIN_NAME } from './Basic/Const/PLUGIN_NAME';export interface IGroupPluginConfig {}diff --git a/packages/sheets-plugin-group/src/Types/index.d.ts b/packages/sheets-plugin-group/src/Types/index.d.tsindex 78c46daf66..f74e998af1 100644--- a/packages/sheets-plugin-group/src/Types/index.d.ts+++ b/packages/sheets-plugin-group/src/Types/index.d.ts@@ -1,7 +1,5 @@--export * from '../index';-declare module '@univer/sheets-plugin-group' { }+declare module '@univerjs/sheets-plugin-group' {}// use css moduledeclare module '*.less' {diff --git a/packages/sheets-plugin-group/src/View/UI/GroupButton.tsx b/packages/sheets-plugin-group/src/View/UI/GroupButton.tsxindex 519e71b92f..5665ed18e6 100644--- a/packages/sheets-plugin-group/src/View/UI/GroupButton.tsx+++ b/packages/sheets-plugin-group/src/View/UI/GroupButton.tsx@@ -1,5 +1,5 @@-import { Nullable, Observer } from '@univer/core';-import { ISelectButton, IToolBarItemProps, Component, BaseSelectProps } from '@univer/base-component';+import { Nullable, Observer } from '@univerjs/core';+import { ISelectButton, IToolBarItemProps, Component, BaseSelectProps } from '@univerjs/base-component';interface IProps {}// Types for state@@ -8,10 +8,8 @@ interface IState {}export class GroupButton extends Component<IProps, IState> {-private _localeObserver: Nullable<Observer<void>>;initialize(props: IProps) {-const OrderASCIcon = this.getComponentRender().renderFunction('OrderASCIcon');const OrderDESCIcon = this.getComponentRender().renderFunction('OrderDESCIcon');const OrderIcon = this.getComponentRender().renderFunction('OrderIcon');@@ -55,9 +53,12 @@ export class GroupButton extends Component<IProps, IState> {// subscribe Locale change event- this._localeObserver = this._context.getObserverManager().getObserver('onAfterChangeUILocaleObservable','core')?.add(() => {- this.setLocale();- });+ this._localeObserver = this._context+ .getObserverManager()+ .getObserver('onAfterChangeUILocaleObservable', 'core')+ ?.add(() => {+ this.setLocale();+ });}/*** destory@@ -99,6 +100,17 @@ export class GroupButton extends Component<IProps, IState> {const { group } = state;const Select = this.getComponentRender().renderFunction('Select');// Set Provider for entire Container- return <Select tooltip={group.tooltip} tooltipRight={group.tooltipRight} border={group.border} needChange={group.needChange} key={group.locale} children={group.children as BaseSelectProps[]} label={group.label} icon={group.icon} />;+ return (+ <Select+ tooltip={group.tooltip}+ tooltipRight={group.tooltipRight}+ border={group.border}+ needChange={group.needChange}+ key={group.locale}+ children={group.children as BaseSelectProps[]}+ label={group.label}+ icon={group.icon}+ />+ );}}diff --git a/packages/sheets-plugin-group/src/main.tsx b/packages/sheets-plugin-group/src/main.tsxindex 1f257499f6..27f4fb0ac9 100644--- a/packages/sheets-plugin-group/src/main.tsx+++ b/packages/sheets-plugin-group/src/main.tsx@@ -1,9 +1,9 @@-import { UniverSheet } from '@univer/core';-import { RenderEngine } from '@univer/base-render';-import { DEFAULT_WORKBOOK_DATA } from '@univer/common-plugin-data';-import { SheetPlugin } from '@univer/base-sheets';-import { UniverComponentSheet } from '@univer/style-univer';-import { FilterPlugin } from '@univer/sheets-plugin-filter';+import { UniverSheet } from '@univerjs/core';+import { RenderEngine } from '@univerjs/base-render';+import { DEFAULT_WORKBOOK_DATA } from '@univerjs/common-plugin-data';+import { SheetPlugin } from '@univerjs/base-sheets';+import { UniverComponentSheet } from '@univerjs/style-univer';+import { FilterPlugin } from '@univerjs/sheets-plugin-filter';import { GroupPlugin } from './GroupPlugin';const uiDefaultConfigUp = {diff --git a/packages/sheets-plugin-image/README-zh.md b/packages/sheets-plugin-image/README-zh.mdindex ca7d0c0ced..09e7664f1b 100644--- a/packages/sheets-plugin-image/README-zh.md+++ b/packages/sheets-plugin-image/README-zh.md@@ -16,13 +16,13 @@ UniverSheet 官方 UI 组件库### 安装```bash-npm i @univer/style-univer+npm i @univerjs/style-univer```### 使用```js-impport baseUI from '@univer/style-univer'+impport baseUI from '@univerjs/style-univer'universheet.install(baseUI)universheet.create({plugins:['style-univer']@@ -49,7 +49,7 @@ npm inpm run dev# 或者项目根目录 ./-npm run dev -w @univer/style-univer+npm run dev -w @univerjs/style-univer```### 打包@@ -59,7 +59,7 @@ npm run dev -w @univer/style-univernpm run build# 或者根目录 ./-npm run build -w @univer/style-univer+npm run build -w @univerjs/style-univer```## 组件库文档@@ -80,7 +80,7 @@ npm inpm run start# 或者根目录-npm run start -w @univer/style-univer+npm run start -w @univerjs/style-univer```此命令启动本地开发服务器并打开浏览器窗口。 大多数更改都会实时刷新,而无需重新启动服务器。@@ -92,7 +92,7 @@ npm run start -w @univer/style-univernpm run build:doc# 或者根目录-npm run build:doc -w @univer/style-univer+npm run build:doc -w @univerjs/style-univer```此命令将静态内容生成到 `build` 目录中,并且可以使用任何静态内容托管服务来提供。diff --git a/packages/sheets-plugin-image/README.md b/packages/sheets-plugin-image/README.mdindex 66fb725e95..a45bd77aad 100644--- a/packages/sheets-plugin-image/README.md+++ b/packages/sheets-plugin-image/README.md@@ -16,13 +16,13 @@ UniverSheet official UI component library### Install```bash-npm i @univer/style-univer+npm i @univerjs/style-univer```### Import```js-impport baseUI from'@univer/style-univer'+impport baseUI from'@univerjs/style-univer'universheet.install(baseUI)universheet.create({plugins:['style-univer']@@ -49,7 +49,7 @@ npm inpm run dev# Or project root directory ./-npm run dev -w @univer/style-univer+npm run dev -w @univerjs/style-univer```### Package@@ -59,7 +59,7 @@ npm run dev -w @univer/style-univernpm run build# Or root directory ./-npm run build -w @univer/style-univer+npm run build -w @univerjs/style-univer```## Doc Website@@ -80,7 +80,7 @@ npm inpm run start# or root folder-npm run start -w @univer/style-univer+npm run start -w @univerjs/style-univer```This command starts a local development server and opens up a browser window. Most changes are reflected live without having to restart the server.@@ -92,7 +92,7 @@ This command starts a local development server and opens up a browser window. Monpm run build:doc# or root folder-npm run build:doc -w @univer/style-univer+npm run build:doc -w @univerjs/style-univer```This command generates static content into the `build` directory and can be served using any static contents hosting service.diff --git a/packages/sheets-plugin-image/package.json b/packages/sheets-plugin-image/package.jsonindex d3bd646fbd..598cd736f0 100644--- a/packages/sheets-plugin-image/package.json+++ b/packages/sheets-plugin-image/package.json@@ -1,5 +1,5 @@{- "name": "@univer/sheets-plugin-image",+ "name": "@univerjs/sheets-plugin-image","version": "0.0.1","description": "UniverSheet normal plugin UI manager","keywords": [],@@ -45,12 +45,12 @@"vite-plugin-external": "1.2.3"},"dependencies": {- "@univer/base-component": "workspace:^0.0.1",- "@univer/base-render": "workspace:^0.0.1",- "@univer/base-sheets": "workspace:^0.0.1",- "@univer/common-plugin-data": "workspace:^0.0.1",- "@univer/core": "workspace:^0.0.1",- "@univer/style-univer": "workspace:^0.0.1",+ "@univerjs/base-component": "workspace:^0.0.1",+ "@univerjs/base-render": "workspace:^0.0.1",+ "@univerjs/base-sheets": "workspace:^0.0.1",+ "@univerjs/common-plugin-data": "workspace:^0.0.1",+ "@univerjs/core": "workspace:^0.0.1",+ "@univerjs/style-univer": "workspace:^0.0.1","preact": "^10.5.14"}}diff --git a/packages/sheets-plugin-image/src/Apply/RemoveImageProperty.ts b/packages/sheets-plugin-image/src/Apply/RemoveImageProperty.tsindex 6333e94648..f072e55621 100644--- a/packages/sheets-plugin-image/src/Apply/RemoveImageProperty.ts+++ b/packages/sheets-plugin-image/src/Apply/RemoveImageProperty.ts@@ -1,4 +1,4 @@-import { Nullable } from '@univer/core';+import { Nullable } from '@univerjs/core';import { OverGridImagePlugin, OverGridImageProperty } from '../OverGridImagePlugin';export function RemoveImageProperty(plugin: OverGridImagePlugin, id: string): Nullable<OverGridImageProperty> {diff --git a/packages/sheets-plugin-image/src/Basic/Observer.ts b/packages/sheets-plugin-image/src/Basic/Observer.tsindex 7c1b9b28e6..d91325c92c 100644--- a/packages/sheets-plugin-image/src/Basic/Observer.ts+++ b/packages/sheets-plugin-image/src/Basic/Observer.ts@@ -1,4 +1,4 @@-import { Observable } from '@univer/core';+import { Observable } from '@univerjs/core';import { OverGridImagePlugin, OverGridImageProperty } from '../OverGridImagePlugin';export type ImagePluginObserve = {diff --git a/packages/sheets-plugin-image/src/Command/Action/AddImagePropertyAction.ts b/packages/sheets-plugin-image/src/Command/Action/AddImagePropertyAction.tsindex bfd5366fef..0c0b29a76f 100644--- a/packages/sheets-plugin-image/src/Command/Action/AddImagePropertyAction.ts+++ b/packages/sheets-plugin-image/src/Command/Action/AddImagePropertyAction.ts@@ -1,4 +1,4 @@-import { SheetActionBase, ActionObservers, ISheetActionData, Workbook } from '@univer/core';+import { SheetActionBase, ActionObservers, ISheetActionData, Workbook } from '@univerjs/core';import { ACTION_NAMES } from '../../Const';import { OverGridImageBorderType, OverGridImagePlugin } from '../../OverGridImagePlugin';import { AddImageProperty } from '../../Apply/AddImageProperty';diff --git a/packages/sheets-plugin-image/src/Command/Action/SetImageTypeAction.ts b/packages/sheets-plugin-image/src/Command/Action/SetImageTypeAction.tsindex ed7948f2c5..4c3234f3cc 100644--- a/packages/sheets-plugin-image/src/Command/Action/SetImageTypeAction.ts+++ b/packages/sheets-plugin-image/src/Command/Action/SetImageTypeAction.ts@@ -1,4 +1,4 @@-import { SheetActionBase, ActionObservers, ISheetActionData, Workbook } from '@univer/core';+import { SheetActionBase, ActionObservers, ISheetActionData, Workbook } from '@univerjs/core';import { SetImageType } from '../../Apply';import { OverGridImagePlugin } from '../../OverGridImagePlugin';import { ACTION_NAMES } from '../../Const';diff --git a/packages/sheets-plugin-image/src/Command/RegisterAction.ts b/packages/sheets-plugin-image/src/Command/RegisterAction.tsindex ac1e91d2dd..7fcaf67173 100644--- a/packages/sheets-plugin-image/src/Command/RegisterAction.ts+++ b/packages/sheets-plugin-image/src/Command/RegisterAction.ts@@ -1,4 +1,4 @@-import { CommandManager } from '@univer/core';+import { CommandManager } from '@univerjs/core';import { ACTION_NAMES } from '../Const';import { SetImageTypeAction } from './Action';import { AddImagePropertyAction } from './Action/AddImagePropertyAction';diff --git a/packages/sheets-plugin-image/src/OverGridImagePlugin.tsx b/packages/sheets-plugin-image/src/OverGridImagePlugin.tsxindex b140f57b5a..7b3fbe7ff8 100644--- a/packages/sheets-plugin-image/src/OverGridImagePlugin.tsx+++ b/packages/sheets-plugin-image/src/OverGridImagePlugin.tsx@@ -1,7 +1,7 @@-import { ISlotElement, ISlotProps, IToolBarItemProps } from '@univer/base-component';-import { Command, Plugin, PLUGIN_NAMES, Nullable, Worksheet, IOCContainer, UniverSheet } from '@univer/core';-import { SheetPlugin } from '@univer/base-sheets';-import { IPictureProps } from '@univer/base-render';+import { ISlotElement, ISlotProps, IToolBarItemProps } from '@univerjs/base-component';+import { Command, Plugin, PLUGIN_NAMES, Nullable, Worksheet, IOCContainer, UniverSheet } from '@univerjs/core';+import { SheetPlugin } from '@univerjs/base-sheets';+import { IPictureProps } from '@univerjs/base-render';import { ACTION_NAMES } from './Const';import { ImagePluginObserve, install, uninstall } from './Basic/Observer';import { OVER_GRID_IMAGE_PLUGIN_NAME } from './Const/PLUGIN_NAME';diff --git a/packages/sheets-plugin-image/src/Types/index.d.ts b/packages/sheets-plugin-image/src/Types/index.d.tsindex d071547521..59662dd3b3 100644--- a/packages/sheets-plugin-image/src/Types/index.d.ts+++ b/packages/sheets-plugin-image/src/Types/index.d.ts@@ -1,7 +1,7 @@export * from '../index';-declare module '@univer/sheets-plugin-image' { }+declare module '@univerjs/sheets-plugin-image' { }// use css moduledeclare module '*.less' {diff --git a/packages/sheets-plugin-image/src/UI/ImagePanel/ImagePanelUI.tsx b/packages/sheets-plugin-image/src/UI/ImagePanel/ImagePanelUI.tsxindex ff0b0a5354..b18128a59c 100644--- a/packages/sheets-plugin-image/src/UI/ImagePanel/ImagePanelUI.tsx+++ b/packages/sheets-plugin-image/src/UI/ImagePanel/ImagePanelUI.tsx@@ -1,6 +1,6 @@-import { Component, VNode } from '@univer/base-component';-import { PLUGIN_NAMES } from '@univer/core';-import { SheetPlugin } from '@univer/base-sheets';+import { Component, VNode } from '@univerjs/base-component';+import { PLUGIN_NAMES } from '@univerjs/core';+import { SheetPlugin } from '@univerjs/base-sheets';import { BorderType } from '../../Enum/BorderType';import { NormalType } from '../../Enum/NormalType';import { OVER_GRID_IMAGE_PLUGIN_NAME } from '../../Const/PLUGIN_NAME';diff --git a/packages/sheets-plugin-image/src/UI/ImageUploadButton/ImageUploadButtonUI.tsx b/packages/sheets-plugin-image/src/UI/ImageUploadButton/ImageUploadButtonUI.tsxindex eeee447ab6..c59d8956db 100644--- a/packages/sheets-plugin-image/src/UI/ImageUploadButton/ImageUploadButtonUI.tsx+++ b/packages/sheets-plugin-image/src/UI/ImageUploadButton/ImageUploadButtonUI.tsx@@ -1,5 +1,5 @@-import { Component, IToolBarItemProps, VNode } from '@univer/base-component';-import { SheetContext } from '@univer/core';+import { Component, IToolBarItemProps, VNode } from '@univerjs/base-component';+import { SheetContext } from '@univerjs/core';import { FileSelected } from '../../Library/FileSelected';export interface ImageUploadButtonUIProps {diff --git a/packages/sheets-plugin-image/src/View/OverImageRender.ts b/packages/sheets-plugin-image/src/View/OverImageRender.tsindex 0ac1f00cd1..086b4cfc36 100644--- a/packages/sheets-plugin-image/src/View/OverImageRender.ts+++ b/packages/sheets-plugin-image/src/View/OverImageRender.ts@@ -1,5 +1,5 @@-import { RenderEngine, EVENT_TYPE, Scene } from '@univer/base-render';-import { PLUGIN_NAMES } from '@univer/core';+import { RenderEngine, EVENT_TYPE, Scene } from '@univerjs/base-render';+import { PLUGIN_NAMES } from '@univerjs/core';import { OverGridImagePlugin, OverGridImageProperty } from '../OverGridImagePlugin';import { OverImageShape } from './OverImageShape';diff --git a/packages/sheets-plugin-image/src/View/OverImageShape.ts b/packages/sheets-plugin-image/src/View/OverImageShape.tsindex cda86d3f1d..7dc78da660 100644--- a/packages/sheets-plugin-image/src/View/OverImageShape.ts+++ b/packages/sheets-plugin-image/src/View/OverImageShape.ts@@ -1,4 +1,4 @@-import { Picture } from '@univer/base-render';+import { Picture } from '@univerjs/base-render';import { OverGridImageBorderType, OverGridImageProperty } from '../OverGridImagePlugin';export class OverImageShape extends Picture {diff --git a/packages/sheets-plugin-image/src/main.tsx b/packages/sheets-plugin-image/src/main.tsxindex fabe4de69c..f81b462fee 100644--- a/packages/sheets-plugin-image/src/main.tsx+++ b/packages/sheets-plugin-image/src/main.tsx@@ -1,8 +1,8 @@-import { UniverSheet } from '@univer/core';-import { RenderEngine } from '@univer/base-render';-import { DEFAULT_WORKBOOK_DATA } from '@univer/common-plugin-data';-import { SheetPlugin } from '@univer/base-sheets';-import { UniverComponentSheet } from '@univer/style-univer';+import { UniverSheet } from '@univerjs/core';+import { RenderEngine } from '@univerjs/base-render';+import { DEFAULT_WORKBOOK_DATA } from '@univerjs/common-plugin-data';+import { SheetPlugin } from '@univerjs/base-sheets';+import { UniverComponentSheet } from '@univerjs/style-univer';const uiDefaultConfigUp = {container: 'universheet-demo-up',diff --git a/packages/sheets-plugin-image/vite.config.ts b/packages/sheets-plugin-image/vite.config.tsindex 7939e5b0c8..69e5e87262 100644--- a/packages/sheets-plugin-image/vite.config.ts+++ b/packages/sheets-plugin-image/vite.config.ts@@ -38,8 +38,8 @@ export default defineConfig({preact(),createExternal({externals: {- '@univer/core': '@univer/core',- '@univer/style-univer': '@univer/style-univer',+ '@univerjs/core': '@univerjs/core',+ '@univerjs/style-univer': '@univerjs/style-univer',preact: 'preact',react: 'react',},diff --git a/packages/sheets-plugin-import-xlsx/README-zh.md b/packages/sheets-plugin-import-xlsx/README-zh.mdindex fdaabb6254..dac4c28f1c 100644--- a/packages/sheets-plugin-import-xlsx/README-zh.md+++ b/packages/sheets-plugin-import-xlsx/README-zh.md@@ -9,13 +9,13 @@ UniverSheet ImportXlsx 插件### 安装```bash-npm i @univer/sheets-plugin-import-xlsx+npm i @univerjs/sheets-plugin-import-xlsx```### 使用```js-impport {ImportXlsx} from '@univer/sheets-plugin-import-xlsx'+impport {ImportXlsx} from '@univerjs/sheets-plugin-import-xlsx'const univerSheet = new UniverSheet();univerSheet.installPlugin(new ImportXlsx());@@ -41,7 +41,7 @@ pnpm installnpm run dev# 或者项目根目录 ./-pnpm run --filter @univer/sheets-plugin-import-xlsx dev+pnpm run --filter @univerjs/sheets-plugin-import-xlsx dev```### 打包@@ -51,5 +51,5 @@ pnpm run --filter @univer/sheets-plugin-import-xlsx devnpm run build# 或者根目录 ./-pnpm run --filter @univer/sheets-plugin-import-xlsx build+pnpm run --filter @univerjs/sheets-plugin-import-xlsx build```diff --git a/packages/sheets-plugin-import-xlsx/README.md b/packages/sheets-plugin-import-xlsx/README.mdindex e9fd77d0be..4503da65fc 100644--- a/packages/sheets-plugin-import-xlsx/README.md+++ b/packages/sheets-plugin-import-xlsx/README.md@@ -9,13 +9,13 @@ UniverSheet Plugin ImportXlsx### Installation```bash-npm i @univer/sheets-plugin-import-xlsx+npm i @univerjs/sheets-plugin-import-xlsx```### Usage```js-impport {ImportXlsx} from '@univer/sheets-plugin-import-xlsx'+impport {ImportXlsx} from '@univerjs/sheets-plugin-import-xlsx'const univerSheet = new UniverSheet();univerSheet.installPlugin(new ImportXlsx());@@ -41,7 +41,7 @@ pnpm installnpm run dev# Or project root directory ./-pnpm run --filter @univer/sheets-plugin-import-xlsx dev+pnpm run --filter @univerjs/sheets-plugin-import-xlsx dev```### Package@@ -51,5 +51,5 @@ pnpm run --filter @univer/sheets-plugin-import-xlsx devnpm run build# Or root directory ./-pnpm run --filter @univer/sheets-plugin-import-xlsx build+pnpm run --filter @univerjs/sheets-plugin-import-xlsx build```diff --git a/packages/sheets-plugin-import-xlsx/package.json b/packages/sheets-plugin-import-xlsx/package.jsonindex 3c1b789a38..70f677c116 100644--- a/packages/sheets-plugin-import-xlsx/package.json+++ b/packages/sheets-plugin-import-xlsx/package.json@@ -1,5 +1,5 @@{- "name": "@univer/sheets-plugin-import-xlsx",+ "name": "@univerjs/sheets-plugin-import-xlsx","version": "0.0.1","description": "UniverSheet normal sheets-plugin-import-xlsx","keywords": [],@@ -49,12 +49,12 @@"vite": "^2.4.4"},"dependencies": {- "@univer/base-component": "workspace:^0.0.1",- "@univer/base-render": "workspace:^0.0.1",- "@univer/base-sheets": "workspace:^0.0.1",- "@univer/common-plugin-data": "workspace:^0.0.1",- "@univer/core": "workspace:^0.0.1",- "@univer/style-univer": "workspace:^0.0.1",+ "@univerjs/base-component": "workspace:^0.0.1",+ "@univerjs/base-render": "workspace:^0.0.1",+ "@univerjs/base-sheets": "workspace:^0.0.1",+ "@univerjs/common-plugin-data": "workspace:^0.0.1",+ "@univerjs/core": "workspace:^0.0.1",+ "@univerjs/style-univer": "workspace:^0.0.1","luckyexcel": "^1.0.1","preact": "^10.5.14"}diff --git a/packages/sheets-plugin-import-xlsx/src/Basic/Register/DragAndDropExtension.ts b/packages/sheets-plugin-import-xlsx/src/Basic/Register/DragAndDropExtension.tsindex cb821a9325..4f1ce906ad 100644--- a/packages/sheets-plugin-import-xlsx/src/Basic/Register/DragAndDropExtension.ts+++ b/packages/sheets-plugin-import-xlsx/src/Basic/Register/DragAndDropExtension.ts@@ -1,4 +1,4 @@-import { BaseDragAndDropExtension, BaseDragAndDropExtensionFactory, handelTableToJson, handlePlainToJson, IDragAndDropData } from '@univer/base-component';+import { BaseDragAndDropExtension, BaseDragAndDropExtensionFactory, handelTableToJson, handlePlainToJson, IDragAndDropData } from '@univerjs/base-component';import { ImportXlsxPlugin } from '../../ImportXlsxPlugin';export class DragAndDropExtension extends BaseDragAndDropExtension<ImportXlsxPlugin> {diff --git a/packages/sheets-plugin-import-xlsx/src/Controller/ImportXlsxController.ts b/packages/sheets-plugin-import-xlsx/src/Controller/ImportXlsxController.tsindex 4868f8464d..52f14c9ba3 100644--- a/packages/sheets-plugin-import-xlsx/src/Controller/ImportXlsxController.ts+++ b/packages/sheets-plugin-import-xlsx/src/Controller/ImportXlsxController.ts@@ -1,6 +1,6 @@-import { IKeyValue, migrate, PLUGIN_NAMES, Tools } from '@univer/core';-import { BaseComponentRender } from '@univer/base-component';-import { IToolBarItemProps, SelectTypes, SheetPlugin } from '@univer/base-sheets';+import { IKeyValue, migrate, PLUGIN_NAMES, Tools } from '@univerjs/core';+import { BaseComponentRender } from '@univerjs/base-component';+import { IToolBarItemProps, SelectTypes, SheetPlugin } from '@univerjs/base-sheets';import * as LuckyExcel from 'luckyexcel';import { IMPORT_XLSX_PLUGIN_NAME } from '../Basic/Const';diff --git a/packages/sheets-plugin-import-xlsx/src/ImportXlsxPlugin.tsx b/packages/sheets-plugin-import-xlsx/src/ImportXlsxPlugin.tsxindex 4b0cb46b56..f72179094f 100644--- a/packages/sheets-plugin-import-xlsx/src/ImportXlsxPlugin.tsx+++ b/packages/sheets-plugin-import-xlsx/src/ImportXlsxPlugin.tsx@@ -1,8 +1,8 @@-import { Plugin, PLUGIN_NAMES, SheetContext, UniverSheet } from '@univer/core';+import { Plugin, PLUGIN_NAMES, SheetContext, UniverSheet } from '@univerjs/core';import { zh, en } from './Locale';import { IMPORT_XLSX_PLUGIN_NAME } from './Basic/Const/PLUGIN_NAME';import { ImportXlsxController } from './Controller/ImportXlsxController';-import { BaseComponentPlugin } from '@univer/base-component';+import { BaseComponentPlugin } from '@univerjs/base-component';import { DragAndDropExtensionFactory } from './Basic/Register/DragAndDropExtension';export interface IImportXlsxPluginConfig {}diff --git a/packages/sheets-plugin-import-xlsx/src/Types/index.d.ts b/packages/sheets-plugin-import-xlsx/src/Types/index.d.tsindex 510b1f464e..918617db67 100644--- a/packages/sheets-plugin-import-xlsx/src/Types/index.d.ts+++ b/packages/sheets-plugin-import-xlsx/src/Types/index.d.ts@@ -1,7 +1,7 @@/// <reference types="vite/client" />export * from '../index';-declare module '@univer/sheets-plugin-import-xlsx' {}+declare module '@univerjs/sheets-plugin-import-xlsx' {}// use css moduledeclare module '*.less' {diff --git a/packages/sheets-plugin-import-xlsx/src/main.tsx b/packages/sheets-plugin-import-xlsx/src/main.tsxindex f96506434a..b6957347d7 100644--- a/packages/sheets-plugin-import-xlsx/src/main.tsx+++ b/packages/sheets-plugin-import-xlsx/src/main.tsx@@ -1,8 +1,8 @@-import { UniverSheet } from '@univer/core';-import { RenderEngine } from '@univer/base-render';-import { SheetPlugin } from '@univer/base-sheets';-import { UniverComponentSheet } from '@univer/style-univer';-import { DEFAULT_WORKBOOK_DATA } from '@univer/common-plugin-data';+import { UniverSheet } from '@univerjs/core';+import { RenderEngine } from '@univerjs/base-render';+import { SheetPlugin } from '@univerjs/base-sheets';+import { UniverComponentSheet } from '@univerjs/style-univer';+import { DEFAULT_WORKBOOK_DATA } from '@univerjs/common-plugin-data';import { ImportXlsxPlugin } from './ImportXlsxPlugin';diff --git a/packages/sheets-plugin-link/README-zh.md b/packages/sheets-plugin-link/README-zh.mdindex a9a889bdf5..659c90a946 100644--- a/packages/sheets-plugin-link/README-zh.md+++ b/packages/sheets-plugin-link/README-zh.md@@ -9,13 +9,13 @@ UniverSheet InsertLink 插件### 安装```bash-npm i @univer/sheets-plugin-insert-link+npm i @univerjs/sheets-plugin-insert-link```### 使用```js-impport {InsertLink} from '@univer/sheets-plugin-insert-link'+impport {InsertLink} from '@univerjs/sheets-plugin-insert-link'const univerSheet = new UniverSheet();univerSheet.installPlugin(new InsertLink());@@ -41,7 +41,7 @@ pnpm installnpm run dev# 或者项目根目录 ./-pnpm run --filter @univer/sheets-plugin-insert-link dev+pnpm run --filter @univerjs/sheets-plugin-insert-link dev```### 打包@@ -51,5 +51,5 @@ pnpm run --filter @univer/sheets-plugin-insert-link devnpm run build# 或者根目录 ./-pnpm run --filter @univer/sheets-plugin-insert-link build+pnpm run --filter @univerjs/sheets-plugin-insert-link build```diff --git a/packages/sheets-plugin-link/README.md b/packages/sheets-plugin-link/README.mdindex 344e97ef79..7a69c36e8d 100644--- a/packages/sheets-plugin-link/README.md+++ b/packages/sheets-plugin-link/README.md@@ -9,13 +9,13 @@ UniverSheet Plugin InsertLink### Installation```bash-npm i @univer/sheets-plugin-insert-link+npm i @univerjs/sheets-plugin-insert-link```### Usage```js-impport {InsertLink} from '@univer/sheets-plugin-insert-link'+impport {InsertLink} from '@univerjs/sheets-plugin-insert-link'const univerSheet = new UniverSheet();univerSheet.installPlugin(new InsertLink());@@ -41,7 +41,7 @@ pnpm installnpm run dev# Or project root directory ./-pnpm run --filter @univer/sheets-plugin-insert-link dev+pnpm run --filter @univerjs/sheets-plugin-insert-link dev```### Package@@ -51,5 +51,5 @@ pnpm run --filter @univer/sheets-plugin-insert-link devnpm run build# Or root directory ./-pnpm run --filter @univer/sheets-plugin-insert-link build+pnpm run --filter @univerjs/sheets-plugin-insert-link build```diff --git a/packages/sheets-plugin-link/package.json b/packages/sheets-plugin-link/package.jsonindex 9d5f57b36b..b03ed0c089 100644--- a/packages/sheets-plugin-link/package.json+++ b/packages/sheets-plugin-link/package.json@@ -1,5 +1,5 @@{- "name": "@univer/sheets-plugin-link",+ "name": "@univerjs/sheets-plugin-link","version": "0.0.1","description": "UniverSheet normal plugin insertLink","keywords": [],@@ -45,12 +45,12 @@"vite-plugin-external": "1.2.3"},"dependencies": {- "@univer/base-component": "workspace:^0.0.1",- "@univer/base-render": "workspace:^0.0.1",- "@univer/base-sheets": "workspace:^0.0.1",- "@univer/common-plugin-data": "workspace:^0.0.1",- "@univer/core": "workspace:^0.0.1",- "@univer/style-univer": "workspace:^0.0.1",+ "@univerjs/base-component": "workspace:^0.0.1",+ "@univerjs/base-render": "workspace:^0.0.1",+ "@univerjs/base-sheets": "workspace:^0.0.1",+ "@univerjs/common-plugin-data": "workspace:^0.0.1",+ "@univerjs/core": "workspace:^0.0.1",+ "@univerjs/style-univer": "workspace:^0.0.1","preact": "^10.5.14"}}diff --git a/packages/sheets-plugin-link/src/IData/ILink.ts b/packages/sheets-plugin-link/src/IData/ILink.tsindex cc5ac270b6..964fd78160 100644--- a/packages/sheets-plugin-link/src/IData/ILink.ts+++ b/packages/sheets-plugin-link/src/IData/ILink.ts@@ -1,4 +1,4 @@-import { SheetContext } from '@univer/core';+import { SheetContext } from '@univerjs/core';export type IConfig = {context: SheetContext;diff --git a/packages/sheets-plugin-link/src/LinkPlugin.tsx b/packages/sheets-plugin-link/src/LinkPlugin.tsxindex ebfc50c3cf..a6945a22e6 100644--- a/packages/sheets-plugin-link/src/LinkPlugin.tsx+++ b/packages/sheets-plugin-link/src/LinkPlugin.tsx@@ -1,6 +1,6 @@-import { IToolBarItemProps, ISlotElement } from '@univer/base-component';-import { SheetContext, IOCContainer, UniverSheet, Plugin, PLUGIN_NAMES } from '@univer/core';-import { SheetPlugin } from '@univer/base-sheets';+import { IToolBarItemProps, ISlotElement } from '@univerjs/base-component';+import { SheetContext, IOCContainer, UniverSheet, Plugin, PLUGIN_NAMES } from '@univerjs/core';+import { SheetPlugin } from '@univerjs/base-sheets';import { en, zh } from './Locale';import { LinkButton } from './UI/LinkButton';diff --git a/packages/sheets-plugin-link/src/Types/index.d.ts b/packages/sheets-plugin-link/src/Types/index.d.tsindex 419eb5ce61..3fd7c1fef0 100644--- a/packages/sheets-plugin-link/src/Types/index.d.ts+++ b/packages/sheets-plugin-link/src/Types/index.d.ts@@ -2,7 +2,7 @@export * from '../index';-declare module '@univer/sheets-plugin-link' { }+declare module '@univerjs/sheets-plugin-link' { }// use css modulediff --git a/packages/sheets-plugin-link/src/UI/LinkButton.tsx b/packages/sheets-plugin-link/src/UI/LinkButton.tsxindex ceed2636a3..a7c375889d 100644--- a/packages/sheets-plugin-link/src/UI/LinkButton.tsx+++ b/packages/sheets-plugin-link/src/UI/LinkButton.tsx@@ -1,6 +1,6 @@-import { BaseComponentRender, BaseComponentSheet, Component, IToolBarItemProps, ModalProps } from '@univer/base-component';-import { Nullable, Observer, Workbook } from '@univer/core';-import { Icon } from '@univer/style-univer';+import { BaseComponentRender, BaseComponentSheet, Component, IToolBarItemProps, ModalProps } from '@univerjs/base-component';+import { Nullable, Observer, Workbook } from '@univerjs/core';+import { Icon } from '@univerjs/style-univer';import { IProps } from '../IData/ILink';import styles from './index.module.less';import { LinkContent } from './LinkContent';diff --git a/packages/sheets-plugin-link/src/UI/LinkContent.tsx b/packages/sheets-plugin-link/src/UI/LinkContent.tsxindex 87f149c6d5..2d2a00b8d5 100644--- a/packages/sheets-plugin-link/src/UI/LinkContent.tsx+++ b/packages/sheets-plugin-link/src/UI/LinkContent.tsx@@ -1,5 +1,5 @@-import { BaseComponentRender, BaseComponentSheet, Component } from '@univer/base-component';-import { Nullable, Observer, Workbook } from '@univer/core';+import { BaseComponentRender, BaseComponentSheet, Component } from '@univerjs/base-component';+import { Nullable, Observer, Workbook } from '@univerjs/core';import { IProps } from '../IData';import styles from './index.module.less';diff --git a/packages/sheets-plugin-link/src/main.tsx b/packages/sheets-plugin-link/src/main.tsxindex dce37dfa8b..9f92af28a9 100644--- a/packages/sheets-plugin-link/src/main.tsx+++ b/packages/sheets-plugin-link/src/main.tsx@@ -1,8 +1,8 @@-import { UniverSheet } from '@univer/core';-import { RenderEngine } from '@univer/base-render';-import { DEFAULT_WORKBOOK_DATA } from '@univer/common-plugin-data';-import { SheetPlugin } from '@univer/base-sheets';-import { UniverComponentSheet } from '@univer/style-univer';+import { UniverSheet } from '@univerjs/core';+import { RenderEngine } from '@univerjs/base-render';+import { DEFAULT_WORKBOOK_DATA } from '@univerjs/common-plugin-data';+import { SheetPlugin } from '@univerjs/base-sheets';+import { UniverComponentSheet } from '@univerjs/style-univer';const uiDefaultConfigUp = {container: 'universheet-demo-up',diff --git a/packages/sheets-plugin-link/vite.config.ts b/packages/sheets-plugin-link/vite.config.tsindex 60ddf0df88..f8b74a8085 100644--- a/packages/sheets-plugin-link/vite.config.ts+++ b/packages/sheets-plugin-link/vite.config.ts@@ -38,8 +38,8 @@ export default defineConfig({preact(),createExternal({externals: {- '@univer/core': '@univer/core',- '@univer/style-univer': '@univer/style-univer',+ '@univerjs/core': '@univerjs/core',+ '@univerjs/style-univer': '@univerjs/style-univer',preact: 'preact',react: 'react',},diff --git a/packages/sheets-plugin-numfmt/README-zh.md b/packages/sheets-plugin-numfmt/README-zh.mdindex ca7d0c0ced..09e7664f1b 100644--- a/packages/sheets-plugin-numfmt/README-zh.md+++ b/packages/sheets-plugin-numfmt/README-zh.md@@ -16,13 +16,13 @@ UniverSheet 官方 UI 组件库### 安装```bash-npm i @univer/style-univer+npm i @univerjs/style-univer```### 使用```js-impport baseUI from '@univer/style-univer'+impport baseUI from '@univerjs/style-univer'universheet.install(baseUI)universheet.create({plugins:['style-univer']@@ -49,7 +49,7 @@ npm inpm run dev# 或者项目根目录 ./-npm run dev -w @univer/style-univer+npm run dev -w @univerjs/style-univer```### 打包@@ -59,7 +59,7 @@ npm run dev -w @univer/style-univernpm run build# 或者根目录 ./-npm run build -w @univer/style-univer+npm run build -w @univerjs/style-univer```## 组件库文档@@ -80,7 +80,7 @@ npm inpm run start# 或者根目录-npm run start -w @univer/style-univer+npm run start -w @univerjs/style-univer```此命令启动本地开发服务器并打开浏览器窗口。 大多数更改都会实时刷新,而无需重新启动服务器。@@ -92,7 +92,7 @@ npm run start -w @univer/style-univernpm run build:doc# 或者根目录-npm run build:doc -w @univer/style-univer+npm run build:doc -w @univerjs/style-univer```此命令将静态内容生成到 `build` 目录中,并且可以使用任何静态内容托管服务来提供。diff --git a/packages/sheets-plugin-numfmt/README.md b/packages/sheets-plugin-numfmt/README.mdindex 66fb725e95..a45bd77aad 100644--- a/packages/sheets-plugin-numfmt/README.md+++ b/packages/sheets-plugin-numfmt/README.md@@ -16,13 +16,13 @@ UniverSheet official UI component library### Install```bash-npm i @univer/style-univer+npm i @univerjs/style-univer```### Import```js-impport baseUI from'@univer/style-univer'+impport baseUI from'@univerjs/style-univer'universheet.install(baseUI)universheet.create({plugins:['style-univer']@@ -49,7 +49,7 @@ npm inpm run dev# Or project root directory ./-npm run dev -w @univer/style-univer+npm run dev -w @univerjs/style-univer```### Package@@ -59,7 +59,7 @@ npm run dev -w @univer/style-univernpm run build# Or root directory ./-npm run build -w @univer/style-univer+npm run build -w @univerjs/style-univer```## Doc Website@@ -80,7 +80,7 @@ npm inpm run start# or root folder-npm run start -w @univer/style-univer+npm run start -w @univerjs/style-univer```This command starts a local development server and opens up a browser window. Most changes are reflected live without having to restart the server.@@ -92,7 +92,7 @@ This command starts a local development server and opens up a browser window. Monpm run build:doc# or root folder-npm run build:doc -w @univer/style-univer+npm run build:doc -w @univerjs/style-univer```This command generates static content into the `build` directory and can be served using any static contents hosting service.diff --git a/packages/sheets-plugin-numfmt/package.json b/packages/sheets-plugin-numfmt/package.jsonindex f3387ebe1f..71318167f3 100644--- a/packages/sheets-plugin-numfmt/package.json+++ b/packages/sheets-plugin-numfmt/package.json@@ -1,5 +1,5 @@{- "name": "@univer/sheets-plugin-numfmt",+ "name": "@univerjs/sheets-plugin-numfmt","version": "0.0.1","description": "UniverSheet normal plugin UI manager","keywords": [],@@ -45,13 +45,13 @@"vite-plugin-external": "1.2.3"},"dependencies": {- "@univer/base-component": "workspace:^0.0.1",- "@univer/base-numfmt-engine": "workspace:^0.0.1",- "@univer/base-render": "workspace:^0.0.1",- "@univer/base-sheets": "workspace:^0.0.1",- "@univer/common-plugin-data": "workspace:^0.0.1",- "@univer/core": "workspace:^0.0.1",- "@univer/style-univer": "workspace:^0.0.1",+ "@univerjs/base-component": "workspace:^0.0.1",+ "@univerjs/base-numfmt-engine": "workspace:^0.0.1",+ "@univerjs/base-render": "workspace:^0.0.1",+ "@univerjs/base-sheets": "workspace:^0.0.1",+ "@univerjs/common-plugin-data": "workspace:^0.0.1",+ "@univerjs/core": "workspace:^0.0.1",+ "@univerjs/style-univer": "workspace:^0.0.1","preact": "^10.5.14"}}diff --git a/packages/sheets-plugin-numfmt/src/Basic/Observer.ts b/packages/sheets-plugin-numfmt/src/Basic/Observer.tsindex ea1d16581d..76262fa3eb 100644--- a/packages/sheets-plugin-numfmt/src/Basic/Observer.ts+++ b/packages/sheets-plugin-numfmt/src/Basic/Observer.ts@@ -1,4 +1,4 @@-import { Observable } from '@univer/core';+import { Observable } from '@univerjs/core';import { NumfmtPlugin } from '../NumfmtPlugin';import { NumfmtModal } from '../View/UI/NumfmtModal';diff --git a/packages/sheets-plugin-numfmt/src/Basic/Register/NumfmtActionExtension.ts b/packages/sheets-plugin-numfmt/src/Basic/Register/NumfmtActionExtension.tsindex cbe228ec8f..4a0d45d054 100644--- a/packages/sheets-plugin-numfmt/src/Basic/Register/NumfmtActionExtension.ts+++ b/packages/sheets-plugin-numfmt/src/Basic/Register/NumfmtActionExtension.ts@@ -1,5 +1,5 @@-import { BaseActionExtension, BaseActionExtensionFactory, ISetRangeDataActionData, ObjectMatrix, ISheetActionData, ACTION_NAMES, ActionOperation } from '@univer/core';-import { numfmt } from '@univer/base-numfmt-engine';+import { BaseActionExtension, BaseActionExtensionFactory, ISetRangeDataActionData, ObjectMatrix, ISheetActionData, ACTION_NAMES, ActionOperation } from '@univerjs/core';+import { numfmt } from '@univerjs/base-numfmt-engine';import { ACTION_NAMES as PLUGIN_ACTION_NAMES } from '../Enum';import { NumfmtPlugin } from '../../NumfmtPlugin';diff --git a/packages/sheets-plugin-numfmt/src/Controller/NumfmtController.ts b/packages/sheets-plugin-numfmt/src/Controller/NumfmtController.tsindex c4e4d86801..c1d1a0e663 100644--- a/packages/sheets-plugin-numfmt/src/Controller/NumfmtController.ts+++ b/packages/sheets-plugin-numfmt/src/Controller/NumfmtController.ts@@ -8,10 +8,10 @@ import {ACTION_NAMES as CORE_ACTION_NAME,ActionOperation,ISetRangeDataActionData,-} from '@univer/core';-import { BaseComponentRender } from '@univer/base-component';-import { IToolBarItemProps, SheetPlugin } from '@univer/base-sheets';-import { numfmt } from '@univer/base-numfmt-engine';+} from '@univerjs/core';+import { BaseComponentRender } from '@univerjs/base-component';+import { IToolBarItemProps, SheetPlugin } from '@univerjs/base-sheets';+import { numfmt } from '@univerjs/base-numfmt-engine';import { ACTION_NAMES } from '../Basic/Enum';import { DEFAULT_DATA, NUMFMT_PLUGIN_NAME, NumftmConfig } from '../Basic/Const';import { NumfmtModel } from '../Model/NumfmtModel';diff --git a/packages/sheets-plugin-numfmt/src/Controller/NumfmtModalController.ts b/packages/sheets-plugin-numfmt/src/Controller/NumfmtModalController.tsindex 9e7aef4ed6..baf5e8c4c5 100644--- a/packages/sheets-plugin-numfmt/src/Controller/NumfmtModalController.ts+++ b/packages/sheets-plugin-numfmt/src/Controller/NumfmtModalController.ts@@ -1,6 +1,6 @@-import { ComponentChildren } from '@univer/base-component';-import { SheetPlugin } from '@univer/base-sheets';-import { PLUGIN_NAMES } from '@univer/core';+import { ComponentChildren } from '@univerjs/base-component';+import { SheetPlugin } from '@univerjs/base-sheets';+import { PLUGIN_NAMES } from '@univerjs/core';import { NUMBERFORMAT, NUMFMT_PLUGIN_NAME, CURRENCYDETAIL, DATEFMTLISG } from '../Basic/Const';import { NumfmtPlugin } from '../NumfmtPlugin';import { FormatContent } from '../View/UI/FormatContent';diff --git a/packages/sheets-plugin-numfmt/src/Model/Action/SetNumfmtRangeDataAction.ts b/packages/sheets-plugin-numfmt/src/Model/Action/SetNumfmtRangeDataAction.tsindex 9df212725f..a9330f02e0 100644--- a/packages/sheets-plugin-numfmt/src/Model/Action/SetNumfmtRangeDataAction.ts+++ b/packages/sheets-plugin-numfmt/src/Model/Action/SetNumfmtRangeDataAction.ts@@ -1,4 +1,4 @@-import { SheetActionBase, ActionObservers, ISheetActionData, ObjectMatrixPrimitiveType, CommandUnit } from '@univer/core';+import { SheetActionBase, ActionObservers, ISheetActionData, ObjectMatrixPrimitiveType, CommandUnit } from '@univerjs/core';import { SetNumfmtRangeData } from '../Apply/SetNumfmtRangeData';export interface ISetNumfmtRangeActionData extends ISheetActionData {diff --git a/packages/sheets-plugin-numfmt/src/Model/Apply/SetNumfmtRangeData.ts b/packages/sheets-plugin-numfmt/src/Model/Apply/SetNumfmtRangeData.tsindex 1181d2767a..f977215f0d 100644--- a/packages/sheets-plugin-numfmt/src/Model/Apply/SetNumfmtRangeData.ts+++ b/packages/sheets-plugin-numfmt/src/Model/Apply/SetNumfmtRangeData.ts@@ -1,4 +1,4 @@-import { ObjectMatrix, ObjectMatrixPrimitiveType, Workbook } from '@univer/core';+import { ObjectMatrix, ObjectMatrixPrimitiveType, Workbook } from '@univerjs/core';import { NumfmtPlugin } from '../../NumfmtPlugin';import { NUMFMT_PLUGIN_NAME } from '../../Basic/Const';diff --git a/packages/sheets-plugin-numfmt/src/Model/NumfmtModel.ts b/packages/sheets-plugin-numfmt/src/Model/NumfmtModel.tsindex 3893871582..a0d5738f43 100644--- a/packages/sheets-plugin-numfmt/src/Model/NumfmtModel.ts+++ b/packages/sheets-plugin-numfmt/src/Model/NumfmtModel.ts@@ -1,4 +1,4 @@-import { ObjectMatrixPrimitiveType } from '@univer/core';+import { ObjectMatrixPrimitiveType } from '@univerjs/core';export class NumfmtModel {protected _sheetsNumfmtConfig: Map<string, ObjectMatrixPrimitiveType<string>>;diff --git a/packages/sheets-plugin-numfmt/src/Model/RegisterAction.ts b/packages/sheets-plugin-numfmt/src/Model/RegisterAction.tsindex 276c81f3eb..808b4d8327 100644--- a/packages/sheets-plugin-numfmt/src/Model/RegisterAction.ts+++ b/packages/sheets-plugin-numfmt/src/Model/RegisterAction.ts@@ -1,4 +1,4 @@-import { CommandManager } from '@univer/core';+import { CommandManager } from '@univerjs/core';import { ACTION_NAMES } from '../Basic/Enum';import { SetNumfmtRangeDataAction } from './Action/SetNumfmtRangeDataAction';diff --git a/packages/sheets-plugin-numfmt/src/NumfmtPlugin.ts b/packages/sheets-plugin-numfmt/src/NumfmtPlugin.tsindex 93ee72eb36..b33ad1469c 100644--- a/packages/sheets-plugin-numfmt/src/NumfmtPlugin.ts+++ b/packages/sheets-plugin-numfmt/src/NumfmtPlugin.ts@@ -1,4 +1,4 @@-import { SheetContext, IRangeData, ObjectMatrixPrimitiveType, Plugin } from '@univer/core';+import { SheetContext, IRangeData, ObjectMatrixPrimitiveType, Plugin } from '@univerjs/core';import { NumfmtPluginObserve, install } from './Basic/Observer';import { NUMFMT_PLUGIN_NAME } from './Basic/Const/PLUGIN_NAME';import { NumfmtController } from './Controller/NumfmtController';diff --git a/packages/sheets-plugin-numfmt/src/Types/index.d.ts b/packages/sheets-plugin-numfmt/src/Types/index.d.tsindex f9898e1664..eaa809ccae 100644--- a/packages/sheets-plugin-numfmt/src/Types/index.d.ts+++ b/packages/sheets-plugin-numfmt/src/Types/index.d.ts@@ -1,5 +1,5 @@export * from '../index';-declare module '@univer/sheets-plugin-numfmt' {}+declare module '@univerjs/sheets-plugin-numfmt' {}// use css moduledeclare module '*.less' {diff --git a/packages/sheets-plugin-numfmt/src/View/UI/FormatContent.tsx b/packages/sheets-plugin-numfmt/src/View/UI/FormatContent.tsxindex de743141fe..64cb7167a1 100644--- a/packages/sheets-plugin-numfmt/src/View/UI/FormatContent.tsx+++ b/packages/sheets-plugin-numfmt/src/View/UI/FormatContent.tsx@@ -1,4 +1,4 @@-import { BaseComponentRender, BaseComponentSheet, Component, createRef } from '@univer/base-component';+import { BaseComponentRender, BaseComponentSheet, Component, createRef } from '@univerjs/base-component';import styles from './index.module.less';interface IProps {diff --git a/packages/sheets-plugin-numfmt/src/View/UI/NumfmtModal.tsx b/packages/sheets-plugin-numfmt/src/View/UI/NumfmtModal.tsxindex 2f238ac470..4ee309f210 100644--- a/packages/sheets-plugin-numfmt/src/View/UI/NumfmtModal.tsx+++ b/packages/sheets-plugin-numfmt/src/View/UI/NumfmtModal.tsx@@ -1,6 +1,6 @@-import { BaseComponentProps, BaseComponentRender, BaseComponentSheet, Component } from '@univer/base-component';-import { SheetPlugin } from '@univer/base-sheets';-import { PLUGIN_NAMES } from '@univer/core';+import { BaseComponentProps, BaseComponentRender, BaseComponentSheet, Component } from '@univerjs/base-component';+import { SheetPlugin } from '@univerjs/base-sheets';+import { PLUGIN_NAMES } from '@univerjs/core';import { NUMFMT_PLUGIN_NAME } from '../../Basic/Const';import { ModalDataProps } from '../../Controller/NumfmtModalController';import { NumfmtPlugin } from '../../NumfmtPlugin';diff --git a/packages/sheets-plugin-numfmt/vite.config.ts b/packages/sheets-plugin-numfmt/vite.config.tsindex 24a90040ea..232d5ba8d8 100644--- a/packages/sheets-plugin-numfmt/vite.config.ts+++ b/packages/sheets-plugin-numfmt/vite.config.ts@@ -38,8 +38,8 @@ export default defineConfig({preact(),createExternal({externals: {- '@univer/core': '@univer/core',- '@univer/style-univer': '@univer/style-univer',+ '@univerjs/core': '@univerjs/core',+ '@univerjs/style-univer': '@univerjs/style-univer',preact: 'preact',react: 'react',},diff --git a/packages/sheets-plugin-pivot-table/README-zh.md b/packages/sheets-plugin-pivot-table/README-zh.mdindex 85afb960fe..c8d8e4e2a2 100644--- a/packages/sheets-plugin-pivot-table/README-zh.md+++ b/packages/sheets-plugin-pivot-table/README-zh.md@@ -9,13 +9,13 @@ UniverSheet PivotTable 插件### 安装```bash-npm i @univer/sheets-plugin-pivot-table+npm i @univerjs/sheets-plugin-pivot-table```### 使用```js-impport {PivotTable} from '@univer/sheets-plugin-pivot-table'+impport {PivotTable} from '@univerjs/sheets-plugin-pivot-table'const univerSheet = new UniverSheet();univerSheet.installPlugin(new PivotTable());@@ -41,7 +41,7 @@ pnpm installnpm run dev# 或者项目根目录 ./-pnpm run --filter @univer/sheets-plugin-pivot-table dev+pnpm run --filter @univerjs/sheets-plugin-pivot-table dev```### 打包@@ -51,5 +51,5 @@ pnpm run --filter @univer/sheets-plugin-pivot-table devnpm run build# 或者根目录 ./-pnpm run --filter @univer/sheets-plugin-pivot-table build+pnpm run --filter @univerjs/sheets-plugin-pivot-table build```diff --git a/packages/sheets-plugin-pivot-table/README.md b/packages/sheets-plugin-pivot-table/README.mdindex e14872ce45..36040b6e98 100644--- a/packages/sheets-plugin-pivot-table/README.md+++ b/packages/sheets-plugin-pivot-table/README.md@@ -9,13 +9,13 @@ UniverSheet Plugin PivotTable### Installation```bash-npm i @univer/sheets-plugin-pivot-table+npm i @univerjs/sheets-plugin-pivot-table```### Usage```js-impport {PivotTable} from '@univer/sheets-plugin-pivot-table'+impport {PivotTable} from '@univerjs/sheets-plugin-pivot-table'const univerSheet = new UniverSheet();univerSheet.installPlugin(new PivotTable());@@ -41,7 +41,7 @@ pnpm installnpm run dev# Or project root directory ./-pnpm run --filter @univer/sheets-plugin-pivot-table dev+pnpm run --filter @univerjs/sheets-plugin-pivot-table dev```### Package@@ -51,5 +51,5 @@ pnpm run --filter @univer/sheets-plugin-pivot-table devnpm run build# Or root directory ./-pnpm run --filter @univer/sheets-plugin-pivot-table build+pnpm run --filter @univerjs/sheets-plugin-pivot-table build```diff --git a/packages/sheets-plugin-pivot-table/package.json b/packages/sheets-plugin-pivot-table/package.jsonindex b28411dbca..88ef0fbd5f 100644--- a/packages/sheets-plugin-pivot-table/package.json+++ b/packages/sheets-plugin-pivot-table/package.json@@ -1,5 +1,5 @@{- "name": "@univer/sheets-plugin-pivot-table",+ "name": "@univerjs/sheets-plugin-pivot-table","version": "0.0.1","description": "UniverSheet normal plugin-pivot-table","keywords": [],@@ -44,12 +44,12 @@"vite-plugin-external": "1.2.3"},"dependencies": {- "@univer/base-component": "workspace:^0.0.1",- "@univer/base-render": "workspace:^0.0.1",- "@univer/base-sheets": "workspace:^0.0.1",- "@univer/common-plugin-data": "workspace:^0.0.1",- "@univer/core": "workspace:^0.0.1",- "@univer/style-univer": "workspace:^0.0.1",+ "@univerjs/base-component": "workspace:^0.0.1",+ "@univerjs/base-render": "workspace:^0.0.1",+ "@univerjs/base-sheets": "workspace:^0.0.1",+ "@univerjs/common-plugin-data": "workspace:^0.0.1",+ "@univerjs/core": "workspace:^0.0.1",+ "@univerjs/style-univer": "workspace:^0.0.1","preact": "^10.5.14"}}diff --git a/packages/sheets-plugin-pivot-table/src/PivotTablePlugin.tsx b/packages/sheets-plugin-pivot-table/src/PivotTablePlugin.tsxindex 39bb40daf2..ff45239008 100644--- a/packages/sheets-plugin-pivot-table/src/PivotTablePlugin.tsx+++ b/packages/sheets-plugin-pivot-table/src/PivotTablePlugin.tsx@@ -1,6 +1,6 @@-import { IToolBarItemProps, ISlotElement } from '@univer/base-component';-import { SheetContext, IOCContainer, UniverSheet, Plugin, PLUGIN_NAMES } from '@univer/core';-import { SheetPlugin } from '@univer/base-sheets';+import { IToolBarItemProps, ISlotElement } from '@univerjs/base-component';+import { SheetContext, IOCContainer, UniverSheet, Plugin, PLUGIN_NAMES } from '@univerjs/core';+import { SheetPlugin } from '@univerjs/base-sheets';import { en, zh } from './Locale';import { PivotTableButton } from './UI/PivotTableButton';diff --git a/packages/sheets-plugin-pivot-table/src/Types/index.d.ts b/packages/sheets-plugin-pivot-table/src/Types/index.d.tsindex 2d004ff73d..0a28f2b5d8 100644--- a/packages/sheets-plugin-pivot-table/src/Types/index.d.ts+++ b/packages/sheets-plugin-pivot-table/src/Types/index.d.ts@@ -1,7 +1,7 @@export * from '../index';-declare module '@univer/sheets-plugin-pivot-table' { }+declare module '@univerjs/sheets-plugin-pivot-table' { }// use css moduledeclare module '*.less' {diff --git a/packages/sheets-plugin-pivot-table/src/UI/PivotTableButton.tsx b/packages/sheets-plugin-pivot-table/src/UI/PivotTableButton.tsxindex 42e905db84..801fd20c12 100644--- a/packages/sheets-plugin-pivot-table/src/UI/PivotTableButton.tsx+++ b/packages/sheets-plugin-pivot-table/src/UI/PivotTableButton.tsx@@ -1,6 +1,6 @@-import { BaseComponentRender, BaseComponentSheet, Component, IToolBarItemProps } from '@univer/base-component';-import { Nullable, Observer, Workbook } from '@univer/core';-import { SheetPlugin } from '@univer/base-sheets';+import { BaseComponentRender, BaseComponentSheet, Component, IToolBarItemProps } from '@univerjs/base-component';+import { Nullable, Observer, Workbook } from '@univerjs/core';+import { SheetPlugin } from '@univerjs/base-sheets';import { PIVOT_TABLE_PLUGIN_NAME } from '../Const/PLUGIN_NAME';import { IProps } from '../IData/IPivotTable';import styles from './index.module.less';diff --git a/packages/sheets-plugin-pivot-table/src/main.tsx b/packages/sheets-plugin-pivot-table/src/main.tsxindex 4fde7075dd..dcf00b7b0b 100644--- a/packages/sheets-plugin-pivot-table/src/main.tsx+++ b/packages/sheets-plugin-pivot-table/src/main.tsx@@ -1,8 +1,8 @@-import { UniverSheet } from '@univer/core';-import { RenderEngine } from '@univer/base-render';-import { DEFAULT_WORKBOOK_DATA } from '@univer/common-plugin-data';-import { SheetPlugin } from '@univer/base-sheets';-import { UniverComponentSheet } from '@univer/style-univer';+import { UniverSheet } from '@univerjs/core';+import { RenderEngine } from '@univerjs/base-render';+import { DEFAULT_WORKBOOK_DATA } from '@univerjs/common-plugin-data';+import { SheetPlugin } from '@univerjs/base-sheets';+import { UniverComponentSheet } from '@univerjs/style-univer';const uiDefaultConfigUp = {container: 'universheet-demo-up',diff --git a/packages/sheets-plugin-pivot-table/vite.config.ts b/packages/sheets-plugin-pivot-table/vite.config.tsindex d3bc03d836..4a8b679bbe 100644--- a/packages/sheets-plugin-pivot-table/vite.config.ts+++ b/packages/sheets-plugin-pivot-table/vite.config.ts@@ -38,8 +38,8 @@ export default defineConfig({preact(),createExternal({externals: {- '@univer/core': '@univer/core',- '@univer/style-univer': '@univer/style-univer',+ '@univerjs/core': '@univerjs/core',+ '@univerjs/style-univer': '@univerjs/style-univer',preact: 'preact',react: 'react',},diff --git a/packages/sheets-plugin-print/README-zh.md b/packages/sheets-plugin-print/README-zh.mdindex 90b24d4c83..e87e159e38 100644--- a/packages/sheets-plugin-print/README-zh.md+++ b/packages/sheets-plugin-print/README-zh.md@@ -9,13 +9,13 @@ UniverSheet Print 插件### 安装```bash-npm i @univer/sheets-plugin-print+npm i @univerjs/sheets-plugin-print```### 使用```js-impport {Print} from '@univer/sheets-plugin-print'+impport {Print} from '@univerjs/sheets-plugin-print'const univerSheet = new UniverSheet();univerSheet.installPlugin(new Print());@@ -41,7 +41,7 @@ pnpm installnpm run dev# 或者项目根目录 ./-pnpm run --filter @univer/sheets-plugin-print dev+pnpm run --filter @univerjs/sheets-plugin-print dev```### 打包@@ -51,5 +51,5 @@ pnpm run --filter @univer/sheets-plugin-print devnpm run build# 或者根目录 ./-pnpm run --filter @univer/sheets-plugin-print build+pnpm run --filter @univerjs/sheets-plugin-print build```diff --git a/packages/sheets-plugin-print/README.md b/packages/sheets-plugin-print/README.mdindex a7bfdd206e..4643fd3790 100644--- a/packages/sheets-plugin-print/README.md+++ b/packages/sheets-plugin-print/README.md@@ -9,13 +9,13 @@ UniverSheet Plugin Print### Installation```bash-npm i @univer/sheets-plugin-print+npm i @univerjs/sheets-plugin-print```### Usage```js-impport {Print} from '@univer/sheets-plugin-print'+impport {Print} from '@univerjs/sheets-plugin-print'const univerSheet = new UniverSheet();univerSheet.installPlugin(new Print());@@ -41,7 +41,7 @@ pnpm installnpm run dev# Or project root directory ./-pnpm run --filter @univer/sheets-plugin-print dev+pnpm run --filter @univerjs/sheets-plugin-print dev```### Package@@ -51,5 +51,5 @@ pnpm run --filter @univer/sheets-plugin-print devnpm run build# Or root directory ./-pnpm run --filter @univer/sheets-plugin-print build+pnpm run --filter @univerjs/sheets-plugin-print build```diff --git a/packages/sheets-plugin-print/package.json b/packages/sheets-plugin-print/package.jsonindex baf86d31ce..09a95b364e 100644--- a/packages/sheets-plugin-print/package.json+++ b/packages/sheets-plugin-print/package.json@@ -1,5 +1,5 @@{- "name": "@univer/sheets-plugin-print",+ "name": "@univerjs/sheets-plugin-print","version": "0.0.1","description": "UniverSheet normal plugin-print","keywords": [],@@ -44,12 +44,12 @@"vite-plugin-external": "1.2.3"},"dependencies": {- "@univer/base-component": "workspace:^0.0.1",- "@univer/base-render": "workspace:^0.0.1",- "@univer/base-sheets": "workspace:^0.0.1",- "@univer/common-plugin-data": "workspace:^0.0.1",- "@univer/core": "workspace:^0.0.1",- "@univer/style-univer": "workspace:^0.0.1",+ "@univerjs/base-component": "workspace:^0.0.1",+ "@univerjs/base-render": "workspace:^0.0.1",+ "@univerjs/base-sheets": "workspace:^0.0.1",+ "@univerjs/common-plugin-data": "workspace:^0.0.1",+ "@univerjs/core": "workspace:^0.0.1",+ "@univerjs/style-univer": "workspace:^0.0.1","preact": "^10.5.14"}}diff --git a/packages/sheets-plugin-print/src/IData/IPrint.ts b/packages/sheets-plugin-print/src/IData/IPrint.tsindex cc5ac270b6..964fd78160 100644--- a/packages/sheets-plugin-print/src/IData/IPrint.ts+++ b/packages/sheets-plugin-print/src/IData/IPrint.ts@@ -1,4 +1,4 @@-import { SheetContext } from '@univer/core';+import { SheetContext } from '@univerjs/core';export type IConfig = {context: SheetContext;diff --git a/packages/sheets-plugin-print/src/PrintPlugin.tsx b/packages/sheets-plugin-print/src/PrintPlugin.tsxindex f01b59292f..a583481c1b 100644--- a/packages/sheets-plugin-print/src/PrintPlugin.tsx+++ b/packages/sheets-plugin-print/src/PrintPlugin.tsx@@ -1,6 +1,6 @@-import { IToolBarItemProps, ISlotElement } from '@univer/base-component';-import { SheetContext, IOCContainer, UniverSheet, Plugin, PLUGIN_NAMES } from '@univer/core';-import { SheetPlugin } from '@univer/base-sheets';+import { IToolBarItemProps, ISlotElement } from '@univerjs/base-component';+import { SheetContext, IOCContainer, UniverSheet, Plugin, PLUGIN_NAMES } from '@univerjs/core';+import { SheetPlugin } from '@univerjs/base-sheets';import { en, zh } from './Locale';import { PrintButton } from './UI/PrintButton';diff --git a/packages/sheets-plugin-print/src/Types/index.d.ts b/packages/sheets-plugin-print/src/Types/index.d.tsindex 38dbaa3310..ce0c8036e2 100644--- a/packages/sheets-plugin-print/src/Types/index.d.ts+++ b/packages/sheets-plugin-print/src/Types/index.d.ts@@ -1,7 +1,7 @@export * from '../index';-declare module '@univer/sheets-plugin-print' { }+declare module '@univerjs/sheets-plugin-print' { }// use css moduledeclare module '*.less' {diff --git a/packages/sheets-plugin-print/src/UI/PrintButton.tsx b/packages/sheets-plugin-print/src/UI/PrintButton.tsxindex 185d982ca1..d41796a176 100644--- a/packages/sheets-plugin-print/src/UI/PrintButton.tsx+++ b/packages/sheets-plugin-print/src/UI/PrintButton.tsx@@ -1,5 +1,5 @@-import { BaseComponentSheet, BaseIconProps, BaseSelectProps, Component, IToolBarItemProps } from '@univer/base-component';-import { Nullable, Observer, Workbook } from '@univer/core';+import { BaseComponentSheet, BaseIconProps, BaseSelectProps, Component, IToolBarItemProps } from '@univerjs/base-component';+import { Nullable, Observer, Workbook } from '@univerjs/core';import { FunctionComponent } from 'preact';import { IProps } from '../IData/IPrint';import { PrintMode } from './PrintMode';diff --git a/packages/sheets-plugin-print/src/UI/PrintMode/printInput.tsx b/packages/sheets-plugin-print/src/UI/PrintMode/printInput.tsxindex 0ee7ab0120..48b098c2b1 100644--- a/packages/sheets-plugin-print/src/UI/PrintMode/printInput.tsx+++ b/packages/sheets-plugin-print/src/UI/PrintMode/printInput.tsx@@ -1,4 +1,4 @@-import { Component, createRef } from '@univer/base-component';+import { Component, createRef } from '@univerjs/base-component';import styles from './index.module.less';interface IProps {diff --git a/packages/sheets-plugin-print/src/UI/PrintMode/printMode.tsx b/packages/sheets-plugin-print/src/UI/PrintMode/printMode.tsxindex 0ca23f1bd6..90019da15c 100644--- a/packages/sheets-plugin-print/src/UI/PrintMode/printMode.tsx+++ b/packages/sheets-plugin-print/src/UI/PrintMode/printMode.tsx@@ -8,8 +8,8 @@ import {BaseRadioIProps,Component,FunctionComponent,-} from '@univer/base-component';-import { Nullable, Observer, Workbook } from '@univer/core';+} from '@univerjs/base-component';+import { Nullable, Observer, Workbook } from '@univerjs/core';import { IConfig } from '../../IData';import styles from './index.module.less';import { PrintInput } from './printInput';diff --git a/packages/sheets-plugin-print/src/UI/PrintMode/printSelsct.tsx b/packages/sheets-plugin-print/src/UI/PrintMode/printSelsct.tsxindex f0aec10cc1..c578be0e23 100644--- a/packages/sheets-plugin-print/src/UI/PrintMode/printSelsct.tsx+++ b/packages/sheets-plugin-print/src/UI/PrintMode/printSelsct.tsx@@ -1,4 +1,4 @@-import { BaseComponentSheet, BaseIconProps, BaseUlProps, Component, createRef, FunctionComponent } from '@univer/base-component';+import { BaseComponentSheet, BaseIconProps, BaseUlProps, Component, createRef, FunctionComponent } from '@univerjs/base-component';import { IConfig } from '../../IData';import styles from './index.module.less';diff --git a/packages/sheets-plugin-print/src/main.tsx b/packages/sheets-plugin-print/src/main.tsxindex 48467a3777..b7c058864e 100644--- a/packages/sheets-plugin-print/src/main.tsx+++ b/packages/sheets-plugin-print/src/main.tsx@@ -1,8 +1,8 @@-import { UniverSheet } from '@univer/core';-import { RenderEngine } from '@univer/base-render';-import { DEFAULT_WORKBOOK_DATA } from '@univer/common-plugin-data';-import { SheetPlugin } from '@univer/base-sheets';-import { UniverComponentSheet } from '@univer/style-univer';+import { UniverSheet } from '@univerjs/core';+import { RenderEngine } from '@univerjs/base-render';+import { DEFAULT_WORKBOOK_DATA } from '@univerjs/common-plugin-data';+import { SheetPlugin } from '@univerjs/base-sheets';+import { UniverComponentSheet } from '@univerjs/style-univer';const uiDefaultConfigUp = {container: 'universheet-demo-up',diff --git a/packages/sheets-plugin-print/vite.config.ts b/packages/sheets-plugin-print/vite.config.tsindex 6a2fa723b0..520d37bd08 100644--- a/packages/sheets-plugin-print/vite.config.ts+++ b/packages/sheets-plugin-print/vite.config.ts@@ -38,8 +38,8 @@ export default defineConfig({preact(),createExternal({externals: {- '@univer/core': '@univer/core',- '@univer/style-univer': '@univer/style-univer',+ '@univerjs/core': '@univerjs/core',+ '@univerjs/style-univer': '@univerjs/style-univer',preact: 'preact',react: 'react',},diff --git a/packages/sheets-plugin-protection/README-zh.md b/packages/sheets-plugin-protection/README-zh.mdindex 5ed7442c62..ec6197a246 100644--- a/packages/sheets-plugin-protection/README-zh.md+++ b/packages/sheets-plugin-protection/README-zh.md@@ -9,13 +9,13 @@ UniverSheet Protection 插件### 安装```bash-npm i @univer/sheets-plugin-protection+npm i @univerjs/sheets-plugin-protection```### 使用```js-impport {Protection} from '@univer/sheets-plugin-protection'+impport {Protection} from '@univerjs/sheets-plugin-protection'const univerSheet = new UniverSheet();univerSheet.installPlugin(new Protection());@@ -41,7 +41,7 @@ pnpm installnpm run dev# 或者项目根目录 ./-pnpm run --filter @univer/sheets-plugin-protection dev+pnpm run --filter @univerjs/sheets-plugin-protection dev```### 打包@@ -51,5 +51,5 @@ pnpm run --filter @univer/sheets-plugin-protection devnpm run build# 或者根目录 ./-pnpm run --filter @univer/sheets-plugin-protection build+pnpm run --filter @univerjs/sheets-plugin-protection build```diff --git a/packages/sheets-plugin-protection/README.md b/packages/sheets-plugin-protection/README.mdindex 08e409f0df..97bf59bd0f 100644--- a/packages/sheets-plugin-protection/README.md+++ b/packages/sheets-plugin-protection/README.md@@ -9,13 +9,13 @@ UniverSheet Plugin Protection### Installation```bash-npm i @univer/sheets-plugin-protection+npm i @univerjs/sheets-plugin-protection```### Usage```js-impport {Protection} from '@univer/sheets-plugin-protection'+impport {Protection} from '@univerjs/sheets-plugin-protection'const univerSheet = new UniverSheet();univerSheet.installPlugin(new Protection());@@ -41,7 +41,7 @@ pnpm installnpm run dev# Or project root directory ./-pnpm run --filter @univer/sheets-plugin-protection dev+pnpm run --filter @univerjs/sheets-plugin-protection dev```### Package@@ -51,5 +51,5 @@ pnpm run --filter @univer/sheets-plugin-protection devnpm run build# Or root directory ./-pnpm run --filter @univer/sheets-plugin-protection build+pnpm run --filter @univerjs/sheets-plugin-protection build```diff --git a/packages/sheets-plugin-protection/package.json b/packages/sheets-plugin-protection/package.jsonindex 7ae6b8d40b..9da2749d20 100644--- a/packages/sheets-plugin-protection/package.json+++ b/packages/sheets-plugin-protection/package.json@@ -1,5 +1,5 @@{- "name": "@univer/sheets-plugin-protection",+ "name": "@univerjs/sheets-plugin-protection","version": "0.0.1","description": "UniverSheet normal plugin-protection","keywords": [],@@ -44,12 +44,12 @@"vite-plugin-external": "1.2.3"},"dependencies": {- "@univer/base-component": "workspace:^0.0.1",- "@univer/base-render": "workspace:^0.0.1",- "@univer/base-sheets": "workspace:^0.0.1",- "@univer/common-plugin-data": "workspace:^0.0.1",- "@univer/core": "workspace:^0.0.1",- "@univer/style-univer": "workspace:^0.0.1",+ "@univerjs/base-component": "workspace:^0.0.1",+ "@univerjs/base-render": "workspace:^0.0.1",+ "@univerjs/base-sheets": "workspace:^0.0.1",+ "@univerjs/common-plugin-data": "workspace:^0.0.1",+ "@univerjs/core": "workspace:^0.0.1",+ "@univerjs/style-univer": "workspace:^0.0.1","preact": "^10.5.14"}}diff --git a/packages/sheets-plugin-protection/src/Action/AddAllowedAction.ts b/packages/sheets-plugin-protection/src/Action/AddAllowedAction.tsindex 209ab2757e..4045ff3609 100644--- a/packages/sheets-plugin-protection/src/Action/AddAllowedAction.ts+++ b/packages/sheets-plugin-protection/src/Action/AddAllowedAction.ts@@ -1,4 +1,4 @@-import { SheetActionBase, ActionObservers, ISheetActionData, Workbook } from '@univer/core';+import { SheetActionBase, ActionObservers, ISheetActionData, Workbook } from '@univerjs/core';import { Allowed } from '../Controller';import { AddAllowed, RemoveAllowed } from '../Apply';import { ACTION_NAMES } from '../Basic/Enum/ACTION_NAMES';diff --git a/packages/sheets-plugin-protection/src/Action/AddUnlockAction.ts b/packages/sheets-plugin-protection/src/Action/AddUnlockAction.tsindex 3e8274d737..05f3ef5587 100644--- a/packages/sheets-plugin-protection/src/Action/AddUnlockAction.ts+++ b/packages/sheets-plugin-protection/src/Action/AddUnlockAction.ts@@ -1,4 +1,4 @@-import { SheetActionBase, ActionObservers, ISheetActionData, Range, Workbook } from '@univer/core';+import { SheetActionBase, ActionObservers, ISheetActionData, Range, Workbook } from '@univerjs/core';import { AddUnlock, RemoveUnlock } from '../Apply';import { ACTION_NAMES } from '../Basic/Enum/ACTION_NAMES';diff --git a/packages/sheets-plugin-protection/src/Action/RegisterAction.ts b/packages/sheets-plugin-protection/src/Action/RegisterAction.tsindex 16748a62db..2fbe23a128 100644--- a/packages/sheets-plugin-protection/src/Action/RegisterAction.ts+++ b/packages/sheets-plugin-protection/src/Action/RegisterAction.ts@@ -1,4 +1,4 @@-import { CommandManager } from '@univer/core';+import { CommandManager } from '@univerjs/core';import { ACTION_NAMES } from '../Basic/Enum/ACTION_NAMES';import { AddAllowedAction } from './AddAllowedAction';import { AddUnlockAction } from './AddUnlockAction';diff --git a/packages/sheets-plugin-protection/src/Action/SetProtectionAction.ts b/packages/sheets-plugin-protection/src/Action/SetProtectionAction.tsindex fa213258a9..e93f56e7f9 100644--- a/packages/sheets-plugin-protection/src/Action/SetProtectionAction.ts+++ b/packages/sheets-plugin-protection/src/Action/SetProtectionAction.ts@@ -1,4 +1,4 @@-import { SheetActionBase, ActionObservers, ISheetActionData, Workbook } from '@univer/core';+import { SheetActionBase, ActionObservers, ISheetActionData, Workbook } from '@univerjs/core';import { SetProtection } from '../Apply';import { ACTION_NAMES } from '../Basic/Enum/ACTION_NAMES';diff --git a/packages/sheets-plugin-protection/src/Apply/AddAllowed.ts b/packages/sheets-plugin-protection/src/Apply/AddAllowed.tsindex 2f1c66570f..4e93547dc5 100644--- a/packages/sheets-plugin-protection/src/Apply/AddAllowed.ts+++ b/packages/sheets-plugin-protection/src/Apply/AddAllowed.ts@@ -1,5 +1,5 @@-import { Worksheet } from '@univer/core';-import { Allowed } from '@univer/core/src/Module/Protection';+import { Worksheet } from '@univerjs/core';+import { Allowed } from '@univerjs/core/src/Module/Protection';export function AddAllowed(workSheet: Worksheet, allowed: Allowed) {const protection = workSheet.getProtection();diff --git a/packages/sheets-plugin-protection/src/Apply/AddUnlock.ts b/packages/sheets-plugin-protection/src/Apply/AddUnlock.tsindex 160c364a7e..0f5120ffc3 100644--- a/packages/sheets-plugin-protection/src/Apply/AddUnlock.ts+++ b/packages/sheets-plugin-protection/src/Apply/AddUnlock.ts@@ -1,4 +1,4 @@-import { Range, Worksheet } from '@univer/core';+import { Range, Worksheet } from '@univerjs/core';export function AddUnlock(workSheet: Worksheet, unlock: Range) {const protection = workSheet.getProtection();diff --git a/packages/sheets-plugin-protection/src/Apply/RemoveAllowed.ts b/packages/sheets-plugin-protection/src/Apply/RemoveAllowed.tsindex 0a08529e16..33350862d5 100644--- a/packages/sheets-plugin-protection/src/Apply/RemoveAllowed.ts+++ b/packages/sheets-plugin-protection/src/Apply/RemoveAllowed.ts@@ -1,5 +1,5 @@-import { Worksheet } from '@univer/core';-import { Allowed } from '@univer/core/src/Module/Protection';+import { Worksheet } from '@univerjs/core';+import { Allowed } from '@univerjs/core/src/Module/Protection';export function RemoveAllowed(workSheet: Worksheet, allowed: Allowed) {const protection = workSheet.getProtection();diff --git a/packages/sheets-plugin-protection/src/Apply/RemoveUnlock.ts b/packages/sheets-plugin-protection/src/Apply/RemoveUnlock.tsindex 36e293e4eb..f35779f709 100644--- a/packages/sheets-plugin-protection/src/Apply/RemoveUnlock.ts+++ b/packages/sheets-plugin-protection/src/Apply/RemoveUnlock.ts@@ -1,4 +1,4 @@-import { Range, Worksheet } from '@univer/core';+import { Range, Worksheet } from '@univerjs/core';export function RemoveUnlock(workSheet: Worksheet, unlock: Range) {const protection = workSheet.getProtection();diff --git a/packages/sheets-plugin-protection/src/Apply/SetProtection.ts b/packages/sheets-plugin-protection/src/Apply/SetProtection.tsindex c6900cf29d..b1bdf69f4f 100644--- a/packages/sheets-plugin-protection/src/Apply/SetProtection.ts+++ b/packages/sheets-plugin-protection/src/Apply/SetProtection.ts@@ -1,4 +1,4 @@-import { Worksheet } from '@univer/core';+import { Worksheet } from '@univerjs/core';export function SetProtection(workSheet: Worksheet, enable: boolean, password: string): [boolean, string] {const protection = workSheet.getProtection();diff --git a/packages/sheets-plugin-protection/src/Controller/Allowed.ts b/packages/sheets-plugin-protection/src/Controller/Allowed.tsindex 7aedadd8e2..7c8265713a 100644--- a/packages/sheets-plugin-protection/src/Controller/Allowed.ts+++ b/packages/sheets-plugin-protection/src/Controller/Allowed.ts@@ -1,4 +1,4 @@-import { Range } from '@univer/core';+import { Range } from '@univerjs/core';export class Allowed {protected _password: string;diff --git a/packages/sheets-plugin-protection/src/Controller/AllowedList.ts b/packages/sheets-plugin-protection/src/Controller/AllowedList.tsindex 890c9e5c63..736112528b 100644--- a/packages/sheets-plugin-protection/src/Controller/AllowedList.ts+++ b/packages/sheets-plugin-protection/src/Controller/AllowedList.ts@@ -1,4 +1,4 @@-import { Nullable, Rectangle } from '@univer/core';+import { Nullable, Rectangle } from '@univerjs/core';import { Allowed } from './Allowed';export class AllowedList {diff --git a/packages/sheets-plugin-protection/src/Controller/Protection.ts b/packages/sheets-plugin-protection/src/Controller/Protection.tsindex 07bb4690e2..cdbfc1c0e6 100644--- a/packages/sheets-plugin-protection/src/Controller/Protection.ts+++ b/packages/sheets-plugin-protection/src/Controller/Protection.ts@@ -1,4 +1,4 @@-import { Nullable, Rectangle } from '@univer/core';+import { Nullable, Rectangle } from '@univerjs/core';import { Allowed } from './Allowed';import { AllowedList } from './AllowedList';import { UnlockList } from './UnlockList';@@ -164,7 +164,7 @@ export class Protection {}}-// import { Range } from '@univer/core';+// import { Range } from '@univerjs/core';// interface IConfig {// canSelect: boolean;diff --git a/packages/sheets-plugin-protection/src/Controller/UnlockList.ts b/packages/sheets-plugin-protection/src/Controller/UnlockList.tsindex dbfca06dea..ee706943fb 100644--- a/packages/sheets-plugin-protection/src/Controller/UnlockList.ts+++ b/packages/sheets-plugin-protection/src/Controller/UnlockList.ts@@ -1,4 +1,4 @@-import { Nullable, Range, Rectangle } from '@univer/core';+import { Nullable, Range, Rectangle } from '@univerjs/core';export class UnlockList {protected _rangeList: Range[];diff --git a/packages/sheets-plugin-protection/src/IData/IProtection.ts b/packages/sheets-plugin-protection/src/IData/IProtection.tsindex cc5ac270b6..964fd78160 100644--- a/packages/sheets-plugin-protection/src/IData/IProtection.ts+++ b/packages/sheets-plugin-protection/src/IData/IProtection.ts@@ -1,4 +1,4 @@-import { SheetContext } from '@univer/core';+import { SheetContext } from '@univerjs/core';export type IConfig = {context: SheetContext;diff --git a/packages/sheets-plugin-protection/src/ProtectionPlugin.tsx b/packages/sheets-plugin-protection/src/ProtectionPlugin.tsxindex 1f696f60d1..d6be7a5784 100644--- a/packages/sheets-plugin-protection/src/ProtectionPlugin.tsx+++ b/packages/sheets-plugin-protection/src/ProtectionPlugin.tsx@@ -1,6 +1,6 @@-import { ISlotElement, ISlotProps, IToolBarItemProps } from '@univer/base-component';-import { SheetContext, IOCContainer, UniverSheet, Plugin, PLUGIN_NAMES } from '@univer/core';-import { SheetPlugin } from '@univer/base-sheets';+import { ISlotElement, ISlotProps, IToolBarItemProps } from '@univerjs/base-component';+import { SheetContext, IOCContainer, UniverSheet, Plugin, PLUGIN_NAMES } from '@univerjs/core';+import { SheetPlugin } from '@univerjs/base-sheets';import { PROTECTION_PLUGIN_NAME } from './Basic/Const/PLUGIN_NAME';import { IConfig } from './IData/IProtection';import { en, zh } from './Locale';diff --git a/packages/sheets-plugin-protection/src/Types/index.d.ts b/packages/sheets-plugin-protection/src/Types/index.d.tsindex 5170beae11..305d53c3c8 100644--- a/packages/sheets-plugin-protection/src/Types/index.d.ts+++ b/packages/sheets-plugin-protection/src/Types/index.d.ts@@ -2,7 +2,7 @@export * from '../index';-declare module '@univer/sheets-plugin-protection' { }+declare module '@univerjs/sheets-plugin-protection' { }// use css moduledeclare module '*.less' {diff --git a/packages/sheets-plugin-protection/src/UI/ProtectionButton.tsx b/packages/sheets-plugin-protection/src/UI/ProtectionButton.tsxindex ef197a6f76..8af27d7eff 100644--- a/packages/sheets-plugin-protection/src/UI/ProtectionButton.tsx+++ b/packages/sheets-plugin-protection/src/UI/ProtectionButton.tsx@@ -1,6 +1,6 @@-import { BaseComponentSheet, BaseIconProps, BaseSingleButtonProps, Component, FunctionComponent, IToolBarItemProps } from '@univer/base-component';-import { PLUGIN_NAMES, Nullable, Observer, Workbook } from '@univer/core';-import { SheetPlugin } from '@univer/base-sheets';+import { BaseComponentSheet, BaseIconProps, BaseSingleButtonProps, Component, FunctionComponent, IToolBarItemProps } from '@univerjs/base-component';+import { PLUGIN_NAMES, Nullable, Observer, Workbook } from '@univerjs/core';+import { SheetPlugin } from '@univerjs/base-sheets';import { PROTECTION_PLUGIN_NAME } from '../Basic/Const';import { IProps } from '../IData/IProtection';diff --git a/packages/sheets-plugin-protection/src/UI/ProtectionSide/ProtectionSide.tsx b/packages/sheets-plugin-protection/src/UI/ProtectionSide/ProtectionSide.tsxindex 349d0043b3..44e8ed61f8 100644--- a/packages/sheets-plugin-protection/src/UI/ProtectionSide/ProtectionSide.tsx+++ b/packages/sheets-plugin-protection/src/UI/ProtectionSide/ProtectionSide.tsx@@ -1,5 +1,5 @@-import { BaseComponentSheet, BaseSiderModalProps, Component, createRef, FunctionComponent } from '@univer/base-component';-import { SheetContext, IRangeData, Nullable, Observer, Workbook } from '@univer/core';+import { BaseComponentSheet, BaseSiderModalProps, Component, createRef, FunctionComponent } from '@univerjs/base-component';+import { SheetContext, IRangeData, Nullable, Observer, Workbook } from '@univerjs/core';import { PROTECTION_PLUGIN_NAME } from '../../Basic/Const';import { Protection } from '../../Controller/Protection';diff --git a/packages/sheets-plugin-protection/src/main.tsx b/packages/sheets-plugin-protection/src/main.tsxindex be8c50bf05..f48e927d3e 100644--- a/packages/sheets-plugin-protection/src/main.tsx+++ b/packages/sheets-plugin-protection/src/main.tsx@@ -1,8 +1,8 @@-import { UniverSheet } from '@univer/core';-import { RenderEngine } from '@univer/base-render';-import { DEFAULT_WORKBOOK_DATA } from '@univer/common-plugin-data';-import { SheetPlugin } from '@univer/base-sheets';-import { UniverComponentSheet } from '@univer/style-univer';+import { UniverSheet } from '@univerjs/core';+import { RenderEngine } from '@univerjs/base-render';+import { DEFAULT_WORKBOOK_DATA } from '@univerjs/common-plugin-data';+import { SheetPlugin } from '@univerjs/base-sheets';+import { UniverComponentSheet } from '@univerjs/style-univer';const uiDefaultConfigUp = {container: 'universheet-demo',diff --git a/packages/sheets-plugin-protection/vite.config.ts b/packages/sheets-plugin-protection/vite.config.tsindex 95333edef4..9b1a236a26 100644--- a/packages/sheets-plugin-protection/vite.config.ts+++ b/packages/sheets-plugin-protection/vite.config.ts@@ -38,8 +38,8 @@ export default defineConfig({preact(),createExternal({externals: {- '@univer/core': '@univer/core',- '@univer/style-univer': '@univer/style-univer',+ '@univerjs/core': '@univerjs/core',+ '@univerjs/style-univer': '@univerjs/style-univer',preact: 'preact',react: 'react',},diff --git a/packages/sheets-plugin-screenshot/README-zh.md b/packages/sheets-plugin-screenshot/README-zh.mdindex 0c0f114510..4ec2af549e 100644--- a/packages/sheets-plugin-screenshot/README-zh.md+++ b/packages/sheets-plugin-screenshot/README-zh.md@@ -9,13 +9,13 @@ UniverSheet Screenshot 插件### 安装```bash-npm i @univer/sheets-plugin-screenshot+npm i @univerjs/sheets-plugin-screenshot```### 使用```js-impport {Screenshot} from '@univer/sheets-plugin-screenshot'+impport {Screenshot} from '@univerjs/sheets-plugin-screenshot'const univerSheet = new UniverSheet();univerSheet.installPlugin(new Screenshot());@@ -41,7 +41,7 @@ pnpm installnpm run dev# 或者项目根目录 ./-pnpm run --filter @univer/sheets-plugin-screenshot dev+pnpm run --filter @univerjs/sheets-plugin-screenshot dev```### 打包@@ -51,5 +51,5 @@ pnpm run --filter @univer/sheets-plugin-screenshot devnpm run build# 或者根目录 ./-pnpm run --filter @univer/sheets-plugin-screenshot build+pnpm run --filter @univerjs/sheets-plugin-screenshot build```diff --git a/packages/sheets-plugin-screenshot/README.md b/packages/sheets-plugin-screenshot/README.mdindex 65abb53ba0..2371ffd6f9 100644--- a/packages/sheets-plugin-screenshot/README.md+++ b/packages/sheets-plugin-screenshot/README.md@@ -9,13 +9,13 @@ UniverSheet Plugin Screenshot### Installation```bash-npm i @univer/sheets-plugin-screenshot+npm i @univerjs/sheets-plugin-screenshot```### Usage```js-impport {Screenshot} from '@univer/sheets-plugin-screenshot'+impport {Screenshot} from '@univerjs/sheets-plugin-screenshot'const univerSheet = new UniverSheet();univerSheet.installPlugin(new Screenshot());@@ -41,7 +41,7 @@ pnpm installnpm run dev# Or project root directory ./-pnpm run --filter @univer/sheets-plugin-screenshot dev+pnpm run --filter @univerjs/sheets-plugin-screenshot dev```### Package@@ -51,5 +51,5 @@ pnpm run --filter @univer/sheets-plugin-screenshot devnpm run build# Or root directory ./-pnpm run --filter @univer/sheets-plugin-screenshot build+pnpm run --filter @univerjs/sheets-plugin-screenshot build```diff --git a/packages/sheets-plugin-screenshot/package.json b/packages/sheets-plugin-screenshot/package.jsonindex 839b0c9f2a..f8c98d22dc 100644--- a/packages/sheets-plugin-screenshot/package.json+++ b/packages/sheets-plugin-screenshot/package.json@@ -1,5 +1,5 @@{- "name": "@univer/sheets-plugin-screenshot",+ "name": "@univerjs/sheets-plugin-screenshot","version": "0.0.1","description": "UniverSheet normal plugin screenshot","keywords": [],@@ -45,12 +45,12 @@"vite-plugin-external": "1.2.3"},"dependencies": {- "@univer/base-component": "workspace:^0.0.1",- "@univer/base-render": "workspace:^0.0.1",- "@univer/base-sheets": "workspace:^0.0.1",- "@univer/common-plugin-data": "workspace:^0.0.1",- "@univer/core": "workspace:^0.0.1",- "@univer/style-univer": "workspace:^0.0.1",+ "@univerjs/base-component": "workspace:^0.0.1",+ "@univerjs/base-render": "workspace:^0.0.1",+ "@univerjs/base-sheets": "workspace:^0.0.1",+ "@univerjs/common-plugin-data": "workspace:^0.0.1",+ "@univerjs/core": "workspace:^0.0.1",+ "@univerjs/style-univer": "workspace:^0.0.1","preact": "^10.5.14"}}diff --git a/packages/sheets-plugin-screenshot/src/IData/IScreenshot.ts b/packages/sheets-plugin-screenshot/src/IData/IScreenshot.tsindex cc5ac270b6..964fd78160 100644--- a/packages/sheets-plugin-screenshot/src/IData/IScreenshot.ts+++ b/packages/sheets-plugin-screenshot/src/IData/IScreenshot.ts@@ -1,4 +1,4 @@-import { SheetContext } from '@univer/core';+import { SheetContext } from '@univerjs/core';export type IConfig = {context: SheetContext;diff --git a/packages/sheets-plugin-screenshot/src/ScreenshotPlugin.tsx b/packages/sheets-plugin-screenshot/src/ScreenshotPlugin.tsxindex 9e348354ad..3bcf7eb442 100644--- a/packages/sheets-plugin-screenshot/src/ScreenshotPlugin.tsx+++ b/packages/sheets-plugin-screenshot/src/ScreenshotPlugin.tsx@@ -1,6 +1,6 @@-import { IToolBarItemProps, ISlotElement } from '@univer/base-component';-import { SheetContext, IOCContainer, UniverSheet, Plugin, PLUGIN_NAMES } from '@univer/core';-import { SheetPlugin } from '@univer/base-sheets';+import { IToolBarItemProps, ISlotElement } from '@univerjs/base-component';+import { SheetContext, IOCContainer, UniverSheet, Plugin, PLUGIN_NAMES } from '@univerjs/core';+import { SheetPlugin } from '@univerjs/base-sheets';import { SCREENSHOT_PLUGIN_NAME } from './Const/PLUGIN_NAME';import { IConfig } from './IData/IScreenshot';import { en, zh } from './Locale';diff --git a/packages/sheets-plugin-screenshot/src/Types/index.d.ts b/packages/sheets-plugin-screenshot/src/Types/index.d.tsindex 5276279740..2f7a74c257 100644--- a/packages/sheets-plugin-screenshot/src/Types/index.d.ts+++ b/packages/sheets-plugin-screenshot/src/Types/index.d.ts@@ -2,7 +2,7 @@export * from '../index';-declare module '@univer/sheets-plugin-screenshot' { }+declare module '@univerjs/sheets-plugin-screenshot' { }// use css moduledeclare module '*.less' {diff --git a/packages/sheets-plugin-screenshot/src/UI/ScreenshotButton.tsx b/packages/sheets-plugin-screenshot/src/UI/ScreenshotButton.tsxindex a16007ca76..c6ea86ba3b 100644--- a/packages/sheets-plugin-screenshot/src/UI/ScreenshotButton.tsx+++ b/packages/sheets-plugin-screenshot/src/UI/ScreenshotButton.tsx@@ -1,5 +1,5 @@-import { BaseComponentRender, BaseComponentSheet, Component, createRef, IToolBarItemProps, ModalProps } from '@univer/base-component';-import { Nullable, Observer, Workbook } from '@univer/core';+import { BaseComponentRender, BaseComponentSheet, Component, createRef, IToolBarItemProps, ModalProps } from '@univerjs/base-component';+import { Nullable, Observer, Workbook } from '@univerjs/core';import { IProps } from '../IData/IScreenshot';import styles from './index.module.less';diff --git a/packages/sheets-plugin-screenshot/src/main.tsx b/packages/sheets-plugin-screenshot/src/main.tsxindex 1e53633066..373b955b26 100644--- a/packages/sheets-plugin-screenshot/src/main.tsx+++ b/packages/sheets-plugin-screenshot/src/main.tsx@@ -1,8 +1,8 @@-import { UniverSheet } from '@univer/core';-import { RenderEngine } from '@univer/base-render';-import { DEFAULT_WORKBOOK_DATA } from '@univer/common-plugin-data';-import { SheetPlugin } from '@univer/base-sheets';-import { UniverComponentSheet } from '@univer/style-univer';+import { UniverSheet } from '@univerjs/core';+import { RenderEngine } from '@univerjs/base-render';+import { DEFAULT_WORKBOOK_DATA } from '@univerjs/common-plugin-data';+import { SheetPlugin } from '@univerjs/base-sheets';+import { UniverComponentSheet } from '@univerjs/style-univer';const uiDefaultConfigUp = {container: 'universheet-demo-up',diff --git a/packages/sheets-plugin-screenshot/vite.config.ts b/packages/sheets-plugin-screenshot/vite.config.tsindex de3fe898c2..876acd12d5 100644--- a/packages/sheets-plugin-screenshot/vite.config.ts+++ b/packages/sheets-plugin-screenshot/vite.config.ts@@ -38,8 +38,8 @@ export default defineConfig({preact(),createExternal({externals: {- '@univer/core': '@univer/core',- '@univer/style-univer': '@univer/style-univer',+ '@univerjs/core': '@univerjs/core',+ '@univerjs/style-univer': '@univerjs/style-univer',preact: 'preact',react: 'react',},diff --git a/packages/sheets-plugin-sort/README-zh.md b/packages/sheets-plugin-sort/README-zh.mdindex b06bf6485a..6416892466 100644--- a/packages/sheets-plugin-sort/README-zh.md+++ b/packages/sheets-plugin-sort/README-zh.md@@ -9,13 +9,13 @@ UniverSheet Sort 插件### 安装```bash-npm i @univer/sheets-plugin-sort+npm i @univerjs/sheets-plugin-sort```### 使用```js-impport {Sort} from '@univer/sheets-plugin-sort'+impport {Sort} from '@univerjs/sheets-plugin-sort'const univerSheet = new UniverSheet();univerSheet.installPlugin(new Sort());@@ -41,7 +41,7 @@ pnpm installnpm run dev# 或者项目根目录 ./-pnpm run --filter @univer/sheets-plugin-sort dev+pnpm run --filter @univerjs/sheets-plugin-sort dev```### 打包@@ -51,5 +51,5 @@ pnpm run --filter @univer/sheets-plugin-sort devnpm run build# 或者根目录 ./-pnpm run --filter @univer/sheets-plugin-sort build+pnpm run --filter @univerjs/sheets-plugin-sort build```diff --git a/packages/sheets-plugin-sort/README.md b/packages/sheets-plugin-sort/README.mdindex 4c32e0a5b1..fd55ccd76b 100644--- a/packages/sheets-plugin-sort/README.md+++ b/packages/sheets-plugin-sort/README.md@@ -9,13 +9,13 @@ UniverSheet Plugin Sort### Installation```bash-npm i @univer/sheets-plugin-sort+npm i @univerjs/sheets-plugin-sort```### Usage```js-impport {Sort} from '@univer/sheets-plugin-sort'+impport {Sort} from '@univerjs/sheets-plugin-sort'const univerSheet = new UniverSheet();univerSheet.installPlugin(new Sort());@@ -41,7 +41,7 @@ pnpm installnpm run dev# Or project root directory ./-pnpm run --filter @univer/sheets-plugin-sort dev+pnpm run --filter @univerjs/sheets-plugin-sort dev```### Package@@ -51,5 +51,5 @@ pnpm run --filter @univer/sheets-plugin-sort devnpm run build# Or root directory ./-pnpm run --filter @univer/sheets-plugin-sort build+pnpm run --filter @univerjs/sheets-plugin-sort build```diff --git a/packages/sheets-plugin-sort/package.json b/packages/sheets-plugin-sort/package.jsonindex 9a9e5555f3..4255975a24 100644--- a/packages/sheets-plugin-sort/package.json+++ b/packages/sheets-plugin-sort/package.json@@ -1,5 +1,5 @@{- "name": "@univer/sheets-plugin-sort",+ "name": "@univerjs/sheets-plugin-sort","version": "0.0.1","description": "UniverSheet normal plugin sort","keywords": [],@@ -45,12 +45,12 @@"vite-plugin-external": "1.2.3"},"dependencies": {- "@univer/base-component": "workspace:^0.0.1",- "@univer/base-render": "workspace:^0.0.1",- "@univer/base-sheets": "workspace:^0.0.1",- "@univer/common-plugin-data": "workspace:^0.0.1",- "@univer/core": "workspace:^0.0.1",- "@univer/style-univer": "workspace:^0.0.1",+ "@univerjs/base-component": "workspace:^0.0.1",+ "@univerjs/base-render": "workspace:^0.0.1",+ "@univerjs/base-sheets": "workspace:^0.0.1",+ "@univerjs/common-plugin-data": "workspace:^0.0.1",+ "@univerjs/core": "workspace:^0.0.1",+ "@univerjs/style-univer": "workspace:^0.0.1","preact": "^10.5.14"}}diff --git a/packages/sheets-plugin-sort/src/Action/ActionSort.ts b/packages/sheets-plugin-sort/src/Action/ActionSort.tsindex 1a1ac18c54..9f7bcb9c0a 100644--- a/packages/sheets-plugin-sort/src/Action/ActionSort.ts+++ b/packages/sheets-plugin-sort/src/Action/ActionSort.ts@@ -1,4 +1,4 @@-import { Tools } from '@univer/core';+import { Tools } from '@univerjs/core';export class ActionSort {constructor() {}diff --git a/packages/sheets-plugin-sort/src/Action/AscSortAction.ts b/packages/sheets-plugin-sort/src/Action/AscSortAction.tsindex ca452f4e94..48fcd9f986 100644--- a/packages/sheets-plugin-sort/src/Action/AscSortAction.ts+++ b/packages/sheets-plugin-sort/src/Action/AscSortAction.ts@@ -1,4 +1,4 @@-import { SheetActionBase, ActionObservers, ISheetActionData, IRangeData, Workbook } from '@univer/core';+import { SheetActionBase, ActionObservers, ISheetActionData, IRangeData, Workbook } from '@univerjs/core';import { ACTION_NAMES } from '../Enum';import { IDescSortData } from './DescSortAction';diff --git a/packages/sheets-plugin-sort/src/Action/DescSortAction.ts b/packages/sheets-plugin-sort/src/Action/DescSortAction.tsindex d508c0b674..0c1d6d14a7 100644--- a/packages/sheets-plugin-sort/src/Action/DescSortAction.ts+++ b/packages/sheets-plugin-sort/src/Action/DescSortAction.ts@@ -1,4 +1,4 @@-import { SheetActionBase, ActionObservers, ISheetActionData, IRangeData, Workbook } from '@univer/core';+import { SheetActionBase, ActionObservers, ISheetActionData, IRangeData, Workbook } from '@univerjs/core';import { IAscSortData } from './index';export interface IDescSortData extends ISheetActionData {diff --git a/packages/sheets-plugin-sort/src/Action/RegisterAction.ts b/packages/sheets-plugin-sort/src/Action/RegisterAction.tsindex 6bcc385528..7e3def686c 100644--- a/packages/sheets-plugin-sort/src/Action/RegisterAction.ts+++ b/packages/sheets-plugin-sort/src/Action/RegisterAction.ts@@ -1,4 +1,4 @@-import { CommandManager } from '@univer/core';+import { CommandManager } from '@univerjs/core';import { ACTION_NAMES } from '../Enum/ACTION_NAMES';import { DescSortAction, AscSortAction } from '.';diff --git a/packages/sheets-plugin-sort/src/Domain/Sort.ts b/packages/sheets-plugin-sort/src/Domain/Sort.tsindex 36f60cae46..c4c480cc98 100644--- a/packages/sheets-plugin-sort/src/Domain/Sort.ts+++ b/packages/sheets-plugin-sort/src/Domain/Sort.ts@@ -1,4 +1,4 @@-import { Range, Worksheet, Workbook, SheetContext, Command, CommandManager, Inject } from '@univer/core';+import { Range, Worksheet, Workbook, SheetContext, Command, CommandManager, Inject } from '@univerjs/core';import { IAscSortData } from '../Action';import { ACTION_NAMES, SortOrderType, SortOrder } from '../Enum';diff --git a/packages/sheets-plugin-sort/src/IData/ISort.ts b/packages/sheets-plugin-sort/src/IData/ISort.tsindex cc5ac270b6..964fd78160 100644--- a/packages/sheets-plugin-sort/src/IData/ISort.ts+++ b/packages/sheets-plugin-sort/src/IData/ISort.ts@@ -1,4 +1,4 @@-import { SheetContext } from '@univer/core';+import { SheetContext } from '@univerjs/core';export type IConfig = {context: SheetContext;diff --git a/packages/sheets-plugin-sort/src/SortPlugin.tsx b/packages/sheets-plugin-sort/src/SortPlugin.tsxindex 3670227ab2..fa0e7b3b43 100644--- a/packages/sheets-plugin-sort/src/SortPlugin.tsx+++ b/packages/sheets-plugin-sort/src/SortPlugin.tsx@@ -1,6 +1,6 @@-import { IToolBarItemProps, ISlotElement } from '@univer/base-component';-import { SheetContext, IOCContainer, IRangeType, Plugin, PLUGIN_NAMES, UniverSheet } from '@univer/core';-import { SheetPlugin } from '@univer/base-sheets';+import { IToolBarItemProps, ISlotElement } from '@univerjs/base-component';+import { SheetContext, IOCContainer, IRangeType, Plugin, PLUGIN_NAMES, UniverSheet } from '@univerjs/core';+import { SheetPlugin } from '@univerjs/base-sheets';import { SORT_PLUGIN_NAME } from './Const/PLUGIN_NAME';import { Sort } from './Domain';import { IConfig } from './IData/ISort';diff --git a/packages/sheets-plugin-sort/src/Types/index.d.ts b/packages/sheets-plugin-sort/src/Types/index.d.tsindex 8a0bbb2cb6..4aef17db26 100644--- a/packages/sheets-plugin-sort/src/Types/index.d.ts+++ b/packages/sheets-plugin-sort/src/Types/index.d.ts@@ -1,7 +1,7 @@export * from '../index';-declare module '@univer/sheets-plugin-sort' { }+declare module '@univerjs/sheets-plugin-sort' { }// use css moduledeclare module '*.less' {diff --git a/packages/sheets-plugin-sort/src/UI/SortButton.tsx b/packages/sheets-plugin-sort/src/UI/SortButton.tsxindex 250b232d84..f6ed3c144c 100644--- a/packages/sheets-plugin-sort/src/UI/SortButton.tsx+++ b/packages/sheets-plugin-sort/src/UI/SortButton.tsx@@ -8,9 +8,9 @@ import {ISelectButton,IToolBarItemProps,ISlotElement,-} from '@univer/base-component';+} from '@univerjs/base-component';-import { Nullable, Observer, Workbook } from '@univer/core';+import { Nullable, Observer, Workbook } from '@univerjs/core';import { IProps } from '../IData/ISort';import { SortCustom } from './SortCustom';diff --git a/packages/sheets-plugin-sort/src/UI/SortCustom/SortCustom.tsx b/packages/sheets-plugin-sort/src/UI/SortCustom/SortCustom.tsxindex 7bcabbcab2..82574c3883 100644--- a/packages/sheets-plugin-sort/src/UI/SortCustom/SortCustom.tsx+++ b/packages/sheets-plugin-sort/src/UI/SortCustom/SortCustom.tsx@@ -8,8 +8,8 @@ import {BaseSelectProps,Component,FunctionComponent,-} from '@univer/base-component';-import { SheetContext } from '@univer/core';+} from '@univerjs/base-component';+import { SheetContext } from '@univerjs/core';import styles from './index.module.less';diff --git a/packages/sheets-plugin-sort/src/main.tsx b/packages/sheets-plugin-sort/src/main.tsxindex 2b94d26677..ef4e75a57c 100644--- a/packages/sheets-plugin-sort/src/main.tsx+++ b/packages/sheets-plugin-sort/src/main.tsx@@ -1,8 +1,8 @@-import { UniverSheet } from '@univer/core';-import { RenderEngine } from '@univer/base-render';-import { DEFAULT_WORKBOOK_DATA } from '@univer/common-plugin-data';-import { SheetPlugin } from '@univer/base-sheets';-import { UniverComponentSheet } from '@univer/style-univer';+import { UniverSheet } from '@univerjs/core';+import { RenderEngine } from '@univerjs/base-render';+import { DEFAULT_WORKBOOK_DATA } from '@univerjs/common-plugin-data';+import { SheetPlugin } from '@univerjs/base-sheets';+import { UniverComponentSheet } from '@univerjs/style-univer';const uiDefaultConfigUp = {container: 'universheet-demo-up',diff --git a/packages/sheets-plugin-sort/vite.config.ts b/packages/sheets-plugin-sort/vite.config.tsindex f6b875e4ea..5623cebeed 100644--- a/packages/sheets-plugin-sort/vite.config.ts+++ b/packages/sheets-plugin-sort/vite.config.ts@@ -38,8 +38,8 @@ export default defineConfig({preact(),createExternal({externals: {- '@univer/core': '@univer/core',- '@univer/style-univer': '@univer/style-univer',+ '@univerjs/core': '@univerjs/core',+ '@univerjs/style-univer': '@univerjs/style-univer',preact: 'preact',react: 'react',},diff --git a/packages/sheets-plugin-split-column/README-zh.md b/packages/sheets-plugin-split-column/README-zh.mdindex a0005eedd6..67d4f6e63f 100644--- a/packages/sheets-plugin-split-column/README-zh.md+++ b/packages/sheets-plugin-split-column/README-zh.md@@ -9,13 +9,13 @@ UniverSheet SplitColumn 插件### 安装```bash-npm i @univer/sheets-plugin-split-column+npm i @univerjs/sheets-plugin-split-column```### 使用```js-impport {SplitColumn} from '@univer/sheets-plugin-split-column'+impport {SplitColumn} from '@univerjs/sheets-plugin-split-column'const univerSheet = new UniverSheet();univerSheet.installPlugin(new SplitColumn());@@ -41,7 +41,7 @@ pnpm installnpm run dev# 或者项目根目录 ./-pnpm run --filter @univer/sheets-plugin-split-column dev+pnpm run --filter @univerjs/sheets-plugin-split-column dev```### 打包@@ -51,5 +51,5 @@ pnpm run --filter @univer/sheets-plugin-split-column devnpm run build# 或者根目录 ./-pnpm run --filter @univer/sheets-plugin-split-column build+pnpm run --filter @univerjs/sheets-plugin-split-column build```diff --git a/packages/sheets-plugin-split-column/README.md b/packages/sheets-plugin-split-column/README.mdindex 0652e14d6f..27d7265409 100644--- a/packages/sheets-plugin-split-column/README.md+++ b/packages/sheets-plugin-split-column/README.md@@ -9,13 +9,13 @@ UniverSheet Plugin SplitColumn### Installation```bash-npm i @univer/sheets-plugin-split-column+npm i @univerjs/sheets-plugin-split-column```### Usage```js-impport {SplitColumn} from '@univer/sheets-plugin-split-column'+impport {SplitColumn} from '@univerjs/sheets-plugin-split-column'const univerSheet = new UniverSheet();univerSheet.installPlugin(new SplitColumn());@@ -41,7 +41,7 @@ pnpm installnpm run dev# Or project root directory ./-pnpm run --filter @univer/sheets-plugin-split-column dev+pnpm run --filter @univerjs/sheets-plugin-split-column dev```### Package@@ -51,5 +51,5 @@ pnpm run --filter @univer/sheets-plugin-split-column devnpm run build# Or root directory ./-pnpm run --filter @univer/sheets-plugin-split-column build+pnpm run --filter @univerjs/sheets-plugin-split-column build```diff --git a/packages/sheets-plugin-split-column/package.json b/packages/sheets-plugin-split-column/package.jsonindex b4d2c96e2a..b44b248cc8 100644--- a/packages/sheets-plugin-split-column/package.json+++ b/packages/sheets-plugin-split-column/package.json@@ -1,5 +1,5 @@{- "name": "@univer/sheets-plugin-split-column",+ "name": "@univerjs/sheets-plugin-split-column","version": "0.0.1","description": "UniverSheet normal plugin splitColumn","keywords": [],@@ -45,12 +45,12 @@"vite-plugin-external": "1.2.3"},"dependencies": {- "@univer/base-component": "workspace:^0.0.1",- "@univer/base-render": "workspace:^0.0.1",- "@univer/base-sheets": "workspace:^0.0.1",- "@univer/common-plugin-data": "workspace:^0.0.1",- "@univer/core": "workspace:^0.0.1",- "@univer/style-univer": "workspace:^0.0.1",+ "@univerjs/base-component": "workspace:^0.0.1",+ "@univerjs/base-render": "workspace:^0.0.1",+ "@univerjs/base-sheets": "workspace:^0.0.1",+ "@univerjs/common-plugin-data": "workspace:^0.0.1",+ "@univerjs/core": "workspace:^0.0.1",+ "@univerjs/style-univer": "workspace:^0.0.1","preact": "^10.5.14"}}diff --git a/packages/sheets-plugin-split-column/src/SplitColumnPlugin.tsx b/packages/sheets-plugin-split-column/src/SplitColumnPlugin.tsxindex a576b536f0..12dd96707b 100644--- a/packages/sheets-plugin-split-column/src/SplitColumnPlugin.tsx+++ b/packages/sheets-plugin-split-column/src/SplitColumnPlugin.tsx@@ -1,6 +1,6 @@-import { SheetContext, UniverSheet, Plugin, PLUGIN_NAMES } from '@univer/core';-import { IToolBarItemProps, ISlotElement } from '@univer/base-component';-import { SheetPlugin } from '@univer/base-sheets';+import { SheetContext, UniverSheet, Plugin, PLUGIN_NAMES } from '@univerjs/core';+import { IToolBarItemProps, ISlotElement } from '@univerjs/base-component';+import { SheetPlugin } from '@univerjs/base-sheets';import { SplitColumnButton } from './UI/SplitColumnButton';import { zh, en } from './Locale';diff --git a/packages/sheets-plugin-split-column/src/Types/index.d.ts b/packages/sheets-plugin-split-column/src/Types/index.d.tsindex 030812de49..5e174c2c4e 100644--- a/packages/sheets-plugin-split-column/src/Types/index.d.ts+++ b/packages/sheets-plugin-split-column/src/Types/index.d.ts@@ -2,7 +2,7 @@export * from '../index';-declare module '@univer/sheets-plugin-split-column' { }+declare module '@univerjs/sheets-plugin-split-column' { }// use css moduledeclare module '*.less' {diff --git a/packages/sheets-plugin-split-column/src/UI/SplitColumnButton.tsx b/packages/sheets-plugin-split-column/src/UI/SplitColumnButton.tsxindex 5cf9d7cf13..1a80d7f02e 100644--- a/packages/sheets-plugin-split-column/src/UI/SplitColumnButton.tsx+++ b/packages/sheets-plugin-split-column/src/UI/SplitColumnButton.tsx@@ -1,6 +1,6 @@-import { BaseComponentRender, BaseComponentSheet, Component, IToolBarItemProps, ModalProps } from '@univer/base-component';-import { Nullable, Observer, Workbook } from '@univer/core';-import { SheetPlugin } from '@univer/base-sheets';+import { BaseComponentRender, BaseComponentSheet, Component, IToolBarItemProps, ModalProps } from '@univerjs/base-component';+import { Nullable, Observer, Workbook } from '@univerjs/core';+import { SheetPlugin } from '@univerjs/base-sheets';import { IProps } from '../IData/ISplitColumn';import styles from './index.module.less';import { SplitColumnContent } from './SplitColumnContent';diff --git a/packages/sheets-plugin-split-column/src/UI/SplitColumnContent.tsx b/packages/sheets-plugin-split-column/src/UI/SplitColumnContent.tsxindex 6639e184a2..3d58c51d72 100644--- a/packages/sheets-plugin-split-column/src/UI/SplitColumnContent.tsx+++ b/packages/sheets-plugin-split-column/src/UI/SplitColumnContent.tsx@@ -1,6 +1,6 @@-import { BaseComponentRender, BaseComponentSheet, Component } from '@univer/base-component';-import { Nullable, Observer, Workbook } from '@univer/core';-import { SheetPlugin } from '@univer/base-sheets';+import { BaseComponentRender, BaseComponentSheet, Component } from '@univerjs/base-component';+import { Nullable, Observer, Workbook } from '@univerjs/core';+import { SheetPlugin } from '@univerjs/base-sheets';import styles from './index.module.less';type SplitContextProps = {diff --git a/packages/sheets-plugin-split-column/src/main.tsx b/packages/sheets-plugin-split-column/src/main.tsxindex 3ca6b47cb3..4bb71d643d 100644--- a/packages/sheets-plugin-split-column/src/main.tsx+++ b/packages/sheets-plugin-split-column/src/main.tsx@@ -1,8 +1,8 @@-import { UniverSheet } from '@univer/core';-import { RenderEngine } from '@univer/base-render';-import { DEFAULT_WORKBOOK_DATA } from '@univer/common-plugin-data';-import { SheetPlugin } from '@univer/base-sheets';-import { UniverComponentSheet } from '@univer/style-univer';+import { UniverSheet } from '@univerjs/core';+import { RenderEngine } from '@univerjs/base-render';+import { DEFAULT_WORKBOOK_DATA } from '@univerjs/common-plugin-data';+import { SheetPlugin } from '@univerjs/base-sheets';+import { UniverComponentSheet } from '@univerjs/style-univer';const uiDefaultConfigUp = {container: 'universheet-demo-up',diff --git a/packages/sheets-plugin-split-column/vite.config.ts b/packages/sheets-plugin-split-column/vite.config.tsindex 961493b091..ded8606aa7 100644--- a/packages/sheets-plugin-split-column/vite.config.ts+++ b/packages/sheets-plugin-split-column/vite.config.ts@@ -38,8 +38,8 @@ export default defineConfig({preact(),createExternal({externals: {- '@univer/core': '@univer/core',- '@univer/style-univer': '@univer/style-univer',+ '@univerjs/core': '@univerjs/core',+ '@univerjs/style-univer': '@univerjs/style-univer',preact: 'preact',react: 'react',},diff --git a/packages/style-univer/README-zh.md b/packages/style-univer/README-zh.mdindex b841e3c629..82470dd78a 100644--- a/packages/style-univer/README-zh.md+++ b/packages/style-univer/README-zh.md@@ -16,13 +16,13 @@ Universheet 官方 UI 组件库### 安装```bash-npm i @univer/style-univer+npm i @univerjs/style-univer```### 使用```js-impport baseUI from '@univer/style-univer'+impport baseUI from '@univerjs/style-univer'universheet.install(baseUI)universheet.create({plugins:['style-univer']@@ -49,7 +49,7 @@ npm inpm run dev# 或者项目根目录 ./-npm run dev -w @univer/style-univer+npm run dev -w @univerjs/style-univer```### 打包@@ -59,7 +59,7 @@ npm run dev -w @univer/style-univernpm run build# 或者根目录 ./-npm run build -w @univer/style-univer+npm run build -w @univerjs/style-univer```## 组件库文档@@ -80,7 +80,7 @@ npm inpm run start# 或者根目录-npm run start -w @univer/style-univer+npm run start -w @univerjs/style-univer```此命令启动本地开发服务器并打开浏览器窗口。 大多数更改都会实时刷新,而无需重新启动服务器。@@ -92,7 +92,7 @@ npm run start -w @univer/style-univernpm run build:doc# 或者根目录-npm run build:doc -w @univer/style-univer+npm run build:doc -w @univerjs/style-univer```此命令将静态内容生成到 `build` 目录中,并且可以使用任何静态内容托管服务来提供。diff --git a/packages/style-univer/README.md b/packages/style-univer/README.mdindex 7daaefbc77..c088a0f146 100644--- a/packages/style-univer/README.md+++ b/packages/style-univer/README.md@@ -16,13 +16,13 @@ Universheet official UI component library### Install```bash-npm i @univer/style-univer+npm i @univerjs/style-univer```### Import```js-impport baseUI from'@univer/style-univer'+impport baseUI from'@univerjs/style-univer'universheet.install(baseUI)universheet.create({plugins:['style-univer']@@ -49,7 +49,7 @@ npm inpm run dev# Or project root directory ./-npm run dev -w @univer/style-univer+npm run dev -w @univerjs/style-univer```### Package@@ -59,7 +59,7 @@ npm run dev -w @univer/style-univernpm run build# Or root directory ./-npm run build -w @univer/style-univer+npm run build -w @univerjs/style-univer```## Doc Website@@ -80,7 +80,7 @@ npm inpm run start# or root folder-npm run start -w @univer/style-univer+npm run start -w @univerjs/style-univer```This command starts a local development server and opens up a browser window. Most changes are reflected live without having to restart the server.@@ -92,7 +92,7 @@ This command starts a local development server and opens up a browser window. Monpm run build:doc# or root folder-npm run build:doc -w @univer/style-univer+npm run build:doc -w @univerjs/style-univer```This command generates static content into the `build` directory and can be served using any static contents hosting service.diff --git a/packages/style-univer/package.json b/packages/style-univer/package.jsonindex 5ddc743cb3..5d83d89132 100644--- a/packages/style-univer/package.json+++ b/packages/style-univer/package.json@@ -1,5 +1,5 @@{- "name": "@univer/style-univer",+ "name": "@univerjs/style-univer","version": "0.0.1","description": "Universheet normal plugin UI manager","keywords": [],@@ -48,8 +48,8 @@"vite-plugin-external": "1.2.3"},"dependencies": {- "@univer/base-component": "workspace:^0.0.1",- "@univer/core": "workspace:^0.0.1",+ "@univerjs/base-component": "workspace:^0.0.1",+ "@univerjs/core": "workspace:^0.0.1","css-vars-ponyfill": "^2.4.6","nanoid": "^4.0.0","preact": "^10.5.14",diff --git a/packages/style-univer/src/Basic/bootstrap.ts b/packages/style-univer/src/Basic/bootstrap.tsindex d2c2308ac1..3e3b2cbfbf 100644--- a/packages/style-univer/src/Basic/bootstrap.ts+++ b/packages/style-univer/src/Basic/bootstrap.ts@@ -1,4 +1,4 @@-import { IOCContainer } from '@univer/core';+import { IOCContainer } from '@univerjs/core';import { StyleUniver } from '../StyleUniver';export function Bootstrap(IOC: IOCContainer) {diff --git a/packages/style-univer/src/Components/Avatar/Avatar.tsx b/packages/style-univer/src/Components/Avatar/Avatar.tsxindex 99d8ebbd60..8bb2135cbb 100644--- a/packages/style-univer/src/Components/Avatar/Avatar.tsx+++ b/packages/style-univer/src/Components/Avatar/Avatar.tsx@@ -1,4 +1,4 @@-import { AvatarComponent, BaseAvatarProps, joinClassNames, JSXComponent } from '@univer/base-component';+import { AvatarComponent, BaseAvatarProps, joinClassNames, JSXComponent } from '@univerjs/base-component';import styles from './Style/index.module.less';// type Shape = 'circle' | 'square';diff --git a/packages/style-univer/src/Components/Avatar/avatar-zh.md b/packages/style-univer/src/Components/Avatar/avatar-zh.mdindex e28334c24c..891ba348b3 100644--- a/packages/style-univer/src/Components/Avatar/avatar-zh.md+++ b/packages/style-univer/src/Components/Avatar/avatar-zh.md@@ -30,7 +30,7 @@ cover: ''## 案例```jsx-import { Avatar } from '@univer/style-univer';+import { Avatar } from '@univerjs/style-univer';<Avatar size="small" />;```diff --git a/packages/style-univer/src/Components/Avatar/avatar.md b/packages/style-univer/src/Components/Avatar/avatar.mdindex cb630629e7..4dd415845d 100644--- a/packages/style-univer/src/Components/Avatar/avatar.md+++ b/packages/style-univer/src/Components/Avatar/avatar.md@@ -30,7 +30,7 @@ Property Introduction:## 案例```jsx-import { Avatar } from '@univer/style-univer';+import { Avatar } from '@univerjs/style-univer';<Avatar size="small" />;```diff --git a/packages/style-univer/src/Components/Button/Button.tsx b/packages/style-univer/src/Components/Button/Button.tsxindex 1d08f20832..9ff51e02b3 100644--- a/packages/style-univer/src/Components/Button/Button.tsx+++ b/packages/style-univer/src/Components/Button/Button.tsx@@ -1,4 +1,4 @@-import { BaseButtonProps, ButtonComponent, joinClassNames, JSXComponent } from '@univer/base-component';+import { BaseButtonProps, ButtonComponent, joinClassNames, JSXComponent } from '@univerjs/base-component';import { LoadingIcon } from '../Icon';import styles from './Style/index.module.less';diff --git a/packages/style-univer/src/Components/Button/button-zh.md b/packages/style-univer/src/Components/Button/button-zh.mdindex 65e6c9b2b3..39f18190e0 100644--- a/packages/style-univer/src/Components/Button/button-zh.md+++ b/packages/style-univer/src/Components/Button/button-zh.md@@ -46,7 +46,7 @@ cover: ''## 案例```jsx-import { Button } from '@univer/style-univer';+import { Button } from '@univerjs/style-univer';const ToolBar = () => {const buttonText = '确认';diff --git a/packages/style-univer/src/Components/Button/button.md b/packages/style-univer/src/Components/Button/button.mdindex 7e83a456cf..8bd77478f2 100644--- a/packages/style-univer/src/Components/Button/button.md+++ b/packages/style-univer/src/Components/Button/button.md@@ -43,7 +43,7 @@ It accepts all props which native buttons support.## Case```jsx-import { Button } from '@univer/style-univer';+import { Button } from '@univerjs/style-univer';const ToolBar = () => {const buttonText = 'Confirm';diff --git a/packages/style-univer/src/Components/CanvasIcon/BorderLine/BorderDashDot.tsx b/packages/style-univer/src/Components/CanvasIcon/BorderLine/BorderDashDot.tsxindex 56e6a17e70..623f5630ce 100644--- a/packages/style-univer/src/Components/CanvasIcon/BorderLine/BorderDashDot.tsx+++ b/packages/style-univer/src/Components/CanvasIcon/BorderLine/BorderDashDot.tsx@@ -1,4 +1,4 @@-import { Component, createRef, IconComponent, JSXComponent, RefObject } from '@univer/base-component';+import { Component, createRef, IconComponent, JSXComponent, RefObject } from '@univerjs/base-component';import { CanvasIcon } from '../CanvasIcon';interface IProps {diff --git a/packages/style-univer/src/Components/CanvasIcon/BorderLine/BorderDashDotDot.tsx b/packages/style-univer/src/Components/CanvasIcon/BorderLine/BorderDashDotDot.tsxindex ceab3cc893..60801a1579 100644--- a/packages/style-univer/src/Components/CanvasIcon/BorderLine/BorderDashDotDot.tsx+++ b/packages/style-univer/src/Components/CanvasIcon/BorderLine/BorderDashDotDot.tsx@@ -1,4 +1,4 @@-import { Component, createRef, IconComponent, JSXComponent, RefObject } from '@univer/base-component';+import { Component, createRef, IconComponent, JSXComponent, RefObject } from '@univerjs/base-component';import { CanvasIcon } from '../CanvasIcon';interface IProps {diff --git a/packages/style-univer/src/Components/CanvasIcon/BorderLine/BorderDashed.tsx b/packages/style-univer/src/Components/CanvasIcon/BorderLine/BorderDashed.tsxindex 598fb0c3ce..6ee7cb07ae 100644--- a/packages/style-univer/src/Components/CanvasIcon/BorderLine/BorderDashed.tsx+++ b/packages/style-univer/src/Components/CanvasIcon/BorderLine/BorderDashed.tsx@@ -1,4 +1,4 @@-import { IconComponent, JSXComponent } from '@univer/base-component';+import { IconComponent, JSXComponent } from '@univerjs/base-component';import { Component, createRef, RefObject } from 'preact';import { CanvasIcon } from '../CanvasIcon';diff --git a/packages/style-univer/src/Components/CanvasIcon/BorderLine/BorderDotted.tsx b/packages/style-univer/src/Components/CanvasIcon/BorderLine/BorderDotted.tsxindex 6edfe8cb8c..48b18eef1c 100644--- a/packages/style-univer/src/Components/CanvasIcon/BorderLine/BorderDotted.tsx+++ b/packages/style-univer/src/Components/CanvasIcon/BorderLine/BorderDotted.tsx@@ -1,4 +1,4 @@-import { IconComponent, JSXComponent } from '@univer/base-component';+import { IconComponent, JSXComponent } from '@univerjs/base-component';import { Component, createRef, RefObject } from 'preact';import { CanvasIcon } from '../CanvasIcon';diff --git a/packages/style-univer/src/Components/CanvasIcon/BorderLine/BorderHair.tsx b/packages/style-univer/src/Components/CanvasIcon/BorderLine/BorderHair.tsxindex 32efd7cd32..cbe72d52b7 100644--- a/packages/style-univer/src/Components/CanvasIcon/BorderLine/BorderHair.tsx+++ b/packages/style-univer/src/Components/CanvasIcon/BorderLine/BorderHair.tsx@@ -1,4 +1,4 @@-import { IconComponent, JSXComponent } from '@univer/base-component';+import { IconComponent, JSXComponent } from '@univerjs/base-component';import { Component, createRef, RefObject } from 'preact';import { CanvasIcon } from '../CanvasIcon';diff --git a/packages/style-univer/src/Components/CanvasIcon/BorderLine/BorderMedium.tsx b/packages/style-univer/src/Components/CanvasIcon/BorderLine/BorderMedium.tsxindex 12dde3247a..01753fcc8d 100644--- a/packages/style-univer/src/Components/CanvasIcon/BorderLine/BorderMedium.tsx+++ b/packages/style-univer/src/Components/CanvasIcon/BorderLine/BorderMedium.tsx@@ -1,4 +1,4 @@-import { IconComponent, JSXComponent } from '@univer/base-component';+import { IconComponent, JSXComponent } from '@univerjs/base-component';import { Component, createRef, RefObject } from 'preact';import { CanvasIcon } from '../CanvasIcon';diff --git a/packages/style-univer/src/Components/CanvasIcon/BorderLine/BorderMediumDashDot.tsx b/packages/style-univer/src/Components/CanvasIcon/BorderLine/BorderMediumDashDot.tsxindex 8c909d6711..299cce2695 100644--- a/packages/style-univer/src/Components/CanvasIcon/BorderLine/BorderMediumDashDot.tsx+++ b/packages/style-univer/src/Components/CanvasIcon/BorderLine/BorderMediumDashDot.tsx@@ -1,4 +1,4 @@-import { IconComponent, JSXComponent } from '@univer/base-component';+import { IconComponent, JSXComponent } from '@univerjs/base-component';import { Component, createRef, RefObject } from 'preact';import { CanvasIcon } from '../CanvasIcon';diff --git a/packages/style-univer/src/Components/CanvasIcon/BorderLine/BorderMediumDashDotDot.tsx b/packages/style-univer/src/Components/CanvasIcon/BorderLine/BorderMediumDashDotDot.tsxindex b41303a17d..8c501405f9 100644--- a/packages/style-univer/src/Components/CanvasIcon/BorderLine/BorderMediumDashDotDot.tsx+++ b/packages/style-univer/src/Components/CanvasIcon/BorderLine/BorderMediumDashDotDot.tsx@@ -1,4 +1,4 @@-import { IconComponent, JSXComponent } from '@univer/base-component';+import { IconComponent, JSXComponent } from '@univerjs/base-component';import { Component, createRef, RefObject } from 'preact';import { CanvasIcon } from '../CanvasIcon';diff --git a/packages/style-univer/src/Components/CanvasIcon/BorderLine/BorderMediumDashed.tsx b/packages/style-univer/src/Components/CanvasIcon/BorderLine/BorderMediumDashed.tsxindex e7a94746e3..fb75c534af 100644--- a/packages/style-univer/src/Components/CanvasIcon/BorderLine/BorderMediumDashed.tsx+++ b/packages/style-univer/src/Components/CanvasIcon/BorderLine/BorderMediumDashed.tsx@@ -1,4 +1,4 @@-import { IconComponent, JSXComponent } from '@univer/base-component';+import { IconComponent, JSXComponent } from '@univerjs/base-component';import { Component, createRef, RefObject } from 'preact';import { CanvasIcon } from '../CanvasIcon';diff --git a/packages/style-univer/src/Components/CanvasIcon/BorderLine/BorderThick.tsx b/packages/style-univer/src/Components/CanvasIcon/BorderLine/BorderThick.tsxindex 3454480445..9985acbfac 100644--- a/packages/style-univer/src/Components/CanvasIcon/BorderLine/BorderThick.tsx+++ b/packages/style-univer/src/Components/CanvasIcon/BorderLine/BorderThick.tsx@@ -1,4 +1,4 @@-import { IconComponent, JSXComponent } from '@univer/base-component';+import { IconComponent, JSXComponent } from '@univerjs/base-component';import { Component, createRef, RefObject } from 'preact';import { CanvasIcon } from '../CanvasIcon';diff --git a/packages/style-univer/src/Components/CanvasIcon/BorderLine/BorderThin.tsx b/packages/style-univer/src/Components/CanvasIcon/BorderLine/BorderThin.tsxindex 1a01210c01..b703832462 100644--- a/packages/style-univer/src/Components/CanvasIcon/BorderLine/BorderThin.tsx+++ b/packages/style-univer/src/Components/CanvasIcon/BorderLine/BorderThin.tsx@@ -1,4 +1,4 @@-import { IconComponent, JSXComponent } from '@univer/base-component';+import { IconComponent, JSXComponent } from '@univerjs/base-component';import { Component, createRef, RefObject } from 'preact';import { CanvasIcon } from '../CanvasIcon';diff --git a/packages/style-univer/src/Components/CanvasIcon/CanvasIcon.tsx b/packages/style-univer/src/Components/CanvasIcon/CanvasIcon.tsxindex 0ff006c862..7195418b06 100644--- a/packages/style-univer/src/Components/CanvasIcon/CanvasIcon.tsx+++ b/packages/style-univer/src/Components/CanvasIcon/CanvasIcon.tsx@@ -1,4 +1,4 @@-import { Component, createRef, RefObject } from '@univer/base-component';+import { Component, createRef, RefObject } from '@univerjs/base-component';import Style from './index.module.less';type IProps = {diff --git a/packages/style-univer/src/Components/CellRangeModal/CellRangeModal.tsx b/packages/style-univer/src/Components/CellRangeModal/CellRangeModal.tsxindex d76f925bec..b5bef54355 100644--- a/packages/style-univer/src/Components/CellRangeModal/CellRangeModal.tsx+++ b/packages/style-univer/src/Components/CellRangeModal/CellRangeModal.tsx@@ -1,5 +1,5 @@-import { BaseCellRangeModalProps, CellRangeModalComponent, Component, createRef, JSXComponent } from '@univer/base-component';-import { SheetContext, Nullable, Observer, Workbook, Worksheet } from '@univer/core';+import { BaseCellRangeModalProps, CellRangeModalComponent, Component, createRef, JSXComponent } from '@univerjs/base-component';+import { SheetContext, Nullable, Observer, Workbook, Worksheet } from '@univerjs/core';import { Icon, Input, Modal, ModalProps } from '../index';import styles from './index.module.less';diff --git a/packages/style-univer/src/Components/CellRangeModal/cell-range-modal-zh.md b/packages/style-univer/src/Components/CellRangeModal/cell-range-modal-zh.mdindex 8d93d0b13c..1461c186f5 100644--- a/packages/style-univer/src/Components/CellRangeModal/cell-range-modal-zh.md+++ b/packages/style-univer/src/Components/CellRangeModal/cell-range-modal-zh.md@@ -39,7 +39,7 @@ interface ModalProps extends ModalBaseProps {## 案例```jsx-import { CellRangeModal } from '@univer/style-univer';+import { CellRangeModal } from '@univerjs/style-univer';<CellRangeModal placeholderProps="请使用字符串" valueProps="A10:B10"></CellRangeModal>;```diff --git a/packages/style-univer/src/Components/CellRangeModal/cell-range-modal.md b/packages/style-univer/src/Components/CellRangeModal/cell-range-modal.mdindex 63fabc30b4..84a7c5a049 100644--- a/packages/style-univer/src/Components/CellRangeModal/cell-range-modal.md+++ b/packages/style-univer/src/Components/CellRangeModal/cell-range-modal.md@@ -38,7 +38,7 @@ interface ModalProps extends ModalBaseProps {## Case```jsx-import { CellRangeModal } from '@univer/style-univer';+import { CellRangeModal } from '@univerjs/style-univer';<CellRangeModal placeholderProps="请使用字符串" valueProps="A10:B10"></CellRangeModal>;```diff --git a/packages/style-univer/src/Components/Checkbox/Checkbox.tsx b/packages/style-univer/src/Components/Checkbox/Checkbox.tsxindex c5d08d666f..fc62003247 100644--- a/packages/style-univer/src/Components/Checkbox/Checkbox.tsx+++ b/packages/style-univer/src/Components/Checkbox/Checkbox.tsx@@ -1,4 +1,4 @@-import { BaseCheckboxProps, CheckboxComponent, Component, joinClassNames, JSXComponent } from '@univer/base-component';+import { BaseCheckboxProps, CheckboxComponent, Component, joinClassNames, JSXComponent } from '@univerjs/base-component';import styles from './index.module.less';// export type CheckboxBaseProps = {// value?: string;diff --git a/packages/style-univer/src/Components/Checkbox/Group.tsx b/packages/style-univer/src/Components/Checkbox/Group.tsxindex c9c7cd469d..7e55c9669f 100644--- a/packages/style-univer/src/Components/Checkbox/Group.tsx+++ b/packages/style-univer/src/Components/Checkbox/Group.tsx@@ -1,4 +1,4 @@-import { BaseCheckboxGroupProps, CheckboxGroupComponent, JSXComponent } from '@univer/base-component';+import { BaseCheckboxGroupProps, CheckboxGroupComponent, JSXComponent } from '@univerjs/base-component';import { useRef } from 'preact/hooks';import { Checkbox } from './Checkbox';import styles from './index.module.less';diff --git a/packages/style-univer/src/Components/Checkbox/checkbox-zh.md b/packages/style-univer/src/Components/Checkbox/checkbox-zh.mdindex 13d8db3f1d..2feaebb7f1 100644--- a/packages/style-univer/src/Components/Checkbox/checkbox-zh.md+++ b/packages/style-univer/src/Components/Checkbox/checkbox-zh.md@@ -52,7 +52,7 @@ value?: string;## 案例```jsx-import { Checkbox, CheckboxGroup } from '@univer/style-univer';+import { Checkbox, CheckboxGroup } from '@univerjs/style-univer';let options = {checked?: boolean;diff --git a/packages/style-univer/src/Components/Checkbox/checkbox.md b/packages/style-univer/src/Components/Checkbox/checkbox.mdindex 0ff104399f..e7e7b81384 100644--- a/packages/style-univer/src/Components/Checkbox/checkbox.md+++ b/packages/style-univer/src/Components/Checkbox/checkbox.md@@ -51,7 +51,7 @@ value?: string;## Case```jsx-import { Checkbox, CheckboxGroup } from '@univer/style-univer';+import { Checkbox, CheckboxGroup } from '@univerjs/style-univer';let options = {checked?: boolean;diff --git a/packages/style-univer/src/Components/Collapse/Collapse.tsx b/packages/style-univer/src/Components/Collapse/Collapse.tsxindex b04a284ccc..205a6f7fc3 100644--- a/packages/style-univer/src/Components/Collapse/Collapse.tsx+++ b/packages/style-univer/src/Components/Collapse/Collapse.tsx@@ -1,4 +1,4 @@-import { BaseCollapseProps, BasePanelProps, CollapseComponent, joinClassNames as classnames, JSXComponent, PanelComponent } from '@univer/base-component';+import { BaseCollapseProps, BasePanelProps, CollapseComponent, joinClassNames as classnames, JSXComponent, PanelComponent } from '@univerjs/base-component';import { useState } from 'preact/hooks';import { Icon } from '../index';import Style from './index.module.less';diff --git a/packages/style-univer/src/Components/Collapse/collapse-zh.md b/packages/style-univer/src/Components/Collapse/collapse-zh.mdindex bae4bd5efe..ab7b6c8dcf 100644--- a/packages/style-univer/src/Components/Collapse/collapse-zh.md+++ b/packages/style-univer/src/Components/Collapse/collapse-zh.md@@ -28,7 +28,7 @@ interface PanelProps {## 案例```jsx-import { Collapse, Panel } from '@univer/style-univer';+import { Collapse, Panel } from '@univerjs/style-univer';<Collapse><Panel header="title"></Panel>diff --git a/packages/style-univer/src/Components/ColorButton/ColorButton.tsx b/packages/style-univer/src/Components/ColorButton/ColorButton.tsxindex abb159b02e..5ade6f5f01 100644--- a/packages/style-univer/src/Components/ColorButton/ColorButton.tsx+++ b/packages/style-univer/src/Components/ColorButton/ColorButton.tsx@@ -1,4 +1,4 @@-import { BaseColorButtonProps, ColorButtonComponent, JSXComponent } from '@univer/base-component';+import { BaseColorButtonProps, ColorButtonComponent, JSXComponent } from '@univerjs/base-component';import * as Icon from '../Icon';import { ColorPicker } from '../index';import styles from './index.module.less';diff --git a/packages/style-univer/src/Components/ColorPicker/ColorPicker-zh.md b/packages/style-univer/src/Components/ColorPicker/ColorPicker-zh.mdindex c7b757ff6b..830de25658 100644--- a/packages/style-univer/src/Components/ColorPicker/ColorPicker-zh.md+++ b/packages/style-univer/src/Components/ColorPicker/ColorPicker-zh.md@@ -28,7 +28,7 @@ cover: ''## 案例```jsx-import { ColorPicker } from '@univer/style-univer';+import { ColorPicker } from '@univerjs/style-univer';const Demo = () => {const buttonText = '确认';diff --git a/packages/style-univer/src/Components/ColorPicker/ColorPicker.tsx b/packages/style-univer/src/Components/ColorPicker/ColorPicker.tsxindex e724dc3633..f6e7ec19f7 100644--- a/packages/style-univer/src/Components/ColorPicker/ColorPicker.tsx+++ b/packages/style-univer/src/Components/ColorPicker/ColorPicker.tsx@@ -1,4 +1,4 @@-import { BaseColorPickerProps, ColorPickerComponent, Component, createRef, JSXComponent } from '@univer/base-component';+import { BaseColorPickerProps, ColorPickerComponent, Component, createRef, JSXComponent } from '@univerjs/base-component';import { Button, Tooltip } from '../index';import { ColorPickerPanel } from './ColorPickerPanel';import styles from './index.module.less';diff --git a/packages/style-univer/src/Components/ColorPicker/ColorPickerPanel/ColorPickerPanel.tsx b/packages/style-univer/src/Components/ColorPicker/ColorPickerPanel/ColorPickerPanel.tsxindex df333675da..ca75ef7043 100644--- a/packages/style-univer/src/Components/ColorPicker/ColorPickerPanel/ColorPickerPanel.tsx+++ b/packages/style-univer/src/Components/ColorPicker/ColorPickerPanel/ColorPickerPanel.tsx@@ -1,4 +1,4 @@-import { Component, debounce } from '@univer/base-component';+import { Component, debounce } from '@univerjs/base-component';import { HexColorInput, RgbaStringColorPicker } from 'react-colorful';import { RgbaColorInput } from '../RgbaColorInput';diff --git a/packages/style-univer/src/Components/ColorPicker/RgbaColorInput/RgbaColorInput.tsx b/packages/style-univer/src/Components/ColorPicker/RgbaColorInput/RgbaColorInput.tsxindex d30cd14922..3452f9c365 100644--- a/packages/style-univer/src/Components/ColorPicker/RgbaColorInput/RgbaColorInput.tsx+++ b/packages/style-univer/src/Components/ColorPicker/RgbaColorInput/RgbaColorInput.tsx@@ -1,4 +1,4 @@-import { Color, Nullable } from '@univer/core';+import { Color, Nullable } from '@univerjs/core';import { useRef } from 'preact/hooks';import { Input } from '../../Input';diff --git a/packages/style-univer/src/Components/ColorPickerCircleButton/ColorPickerCircleButton.tsx b/packages/style-univer/src/Components/ColorPickerCircleButton/ColorPickerCircleButton.tsxindex 14be80467b..cf96df9045 100644--- a/packages/style-univer/src/Components/ColorPickerCircleButton/ColorPickerCircleButton.tsx+++ b/packages/style-univer/src/Components/ColorPickerCircleButton/ColorPickerCircleButton.tsx@@ -1,4 +1,4 @@-import { BaseColorPickerCircleButtonProps, ColorPickerCircleButtonComponent, Component, createRef, JSXComponent } from '@univer/base-component';+import { BaseColorPickerCircleButtonProps, ColorPickerCircleButtonComponent, Component, createRef, JSXComponent } from '@univerjs/base-component';import { ColorPicker } from '../index';import Styles from './index.module.less';diff --git a/packages/style-univer/src/Components/ColorPickerCircleButton/color-picker-circle-button-zh.md b/packages/style-univer/src/Components/ColorPickerCircleButton/color-picker-circle-button-zh.mdindex 5501f7372c..04193296ee 100644--- a/packages/style-univer/src/Components/ColorPickerCircleButton/color-picker-circle-button-zh.md+++ b/packages/style-univer/src/Components/ColorPickerCircleButton/color-picker-circle-button-zh.md@@ -24,8 +24,8 @@ cover: ''## 案例```jsx-import { ColorPickerCircleButton } from '@univer/style-univer';-import { Component } from '@univer/base-component';+import { ColorPickerCircleButton } from '@univerjs/style-univer';+import { Component } from '@univerjs/base-component';type IPanelProps = {};diff --git a/packages/style-univer/src/Components/ColorPickerCircleButton/color-picker-circle-button.md b/packages/style-univer/src/Components/ColorPickerCircleButton/color-picker-circle-button.mdindex 4b110f8780..7b9625e4a2 100644--- a/packages/style-univer/src/Components/ColorPickerCircleButton/color-picker-circle-button.md+++ b/packages/style-univer/src/Components/ColorPickerCircleButton/color-picker-circle-button.md@@ -23,8 +23,8 @@ The properties of the Color Picker-Round Button are described as follows:## Case```jsx-import { ColorPickerCircleButton } from '@univer/style-univer';-import { Component } from '@univer/base-component';+import { ColorPickerCircleButton } from '@univerjs/style-univer';+import { Component } from '@univerjs/base-component';type IPanelProps = {};diff --git a/packages/style-univer/src/Components/Container/Container.tsx b/packages/style-univer/src/Components/Container/Container.tsxindex b0000d4930..ee1349ba51 100644--- a/packages/style-univer/src/Components/Container/Container.tsx+++ b/packages/style-univer/src/Components/Container/Container.tsx@@ -1,4 +1,4 @@-import { BaseContainerProps, ComponentChildren, ContainerComponent, forwardRef, JSXComponent, Ref } from '@univer/base-component';+import { BaseContainerProps, ComponentChildren, ContainerComponent, forwardRef, JSXComponent, Ref } from '@univerjs/base-component';type IProps = {children?: ComponentChildren;diff --git a/packages/style-univer/src/Components/Container/container-zh.md b/packages/style-univer/src/Components/Container/container-zh.mdindex f63c44465d..3b569cebbe 100644--- a/packages/style-univer/src/Components/Container/container-zh.md+++ b/packages/style-univer/src/Components/Container/container-zh.md@@ -25,7 +25,7 @@ cover: ''## 案例```jsx-import { Container } from '@univer/style-univer';+import { Container } from '@univerjs/style-univer';const ToolBar = () => {const containerText = 'container';diff --git a/packages/style-univer/src/Components/Container/container.md b/packages/style-univer/src/Components/Container/container.mdindex a7cb0d7a0a..6ce941d02e 100644--- a/packages/style-univer/src/Components/Container/container.md+++ b/packages/style-univer/src/Components/Container/container.md@@ -24,7 +24,7 @@ The properties of the device are described as follows:## Case```jsx-import { Container } from '@univer/style-univer';+import { Container } from '@univerjs/style-univer';const ToolBar = () => {const containerText = 'container';diff --git a/packages/style-univer/src/Components/CountBar/CountBar.tsx b/packages/style-univer/src/Components/CountBar/CountBar.tsxindex 59b7ba7ce4..4d81fef6a9 100644--- a/packages/style-univer/src/Components/CountBar/CountBar.tsx+++ b/packages/style-univer/src/Components/CountBar/CountBar.tsx@@ -1,4 +1,4 @@-import { BaseCountBarProps, Component, CountBarComponent, createRef, JSXComponent } from '@univer/base-component';+import { BaseCountBarProps, Component, CountBarComponent, createRef, JSXComponent } from '@univerjs/base-component';import * as Icon from '../Icon';import { Button, Slider } from '../index';import styles from './index.module.less';diff --git a/packages/style-univer/src/Components/Demo/demo-zh.md b/packages/style-univer/src/Components/Demo/demo-zh.mdindex a008afbc14..183b6620bb 100644--- a/packages/style-univer/src/Components/Demo/demo-zh.md+++ b/packages/style-univer/src/Components/Demo/demo-zh.md@@ -25,7 +25,7 @@ cover: ''## 案例```jsx-import { Demo } from '@univer/style-univer';+import { Demo } from '@univerjs/style-univer';const ToolBar = () => {const containerText = 'demo';diff --git a/packages/style-univer/src/Components/Demo/demo.md b/packages/style-univer/src/Components/Demo/demo.mdindex f3eb409162..a1798fbb42 100644--- a/packages/style-univer/src/Components/Demo/demo.md+++ b/packages/style-univer/src/Components/Demo/demo.md@@ -24,7 +24,7 @@ The properties of the device are described as follows:## Case```jsx-import { Demo } from '@univer/style-univer';+import { Demo } from '@univerjs/style-univer';const ToolBar = () => {const containerText = 'demo';diff --git a/packages/style-univer/src/Components/Demo/demo.tsx b/packages/style-univer/src/Components/Demo/demo.tsxindex 45f4f4c6b4..832de6150c 100644--- a/packages/style-univer/src/Components/Demo/demo.tsx+++ b/packages/style-univer/src/Components/Demo/demo.tsx@@ -1,4 +1,4 @@-// import { BaseDemoProps, Component, DemoComponent, JSXComponent } from '@univer/base-component';+// import { BaseDemoProps, Component, DemoComponent, JSXComponent } from '@univerjs/base-component';// // type BaseDemoProps = {diff --git a/packages/style-univer/src/Components/Drag/Drag.tsx b/packages/style-univer/src/Components/Drag/Drag.tsxindex a75e479e1e..25fff75582 100644--- a/packages/style-univer/src/Components/Drag/Drag.tsx+++ b/packages/style-univer/src/Components/Drag/Drag.tsx@@ -1,4 +1,4 @@-import { BaseDragProps, Component, createRef, DragComponent, JSXComponent } from '@univer/base-component';+import { BaseDragProps, Component, createRef, DragComponent, JSXComponent } from '@univerjs/base-component';import styles from './index.module.less';// interface IProps {diff --git a/packages/style-univer/src/Components/Drag/drag-zh.md b/packages/style-univer/src/Components/Drag/drag-zh.mdindex 6f246f3298..8cb4836b80 100644--- a/packages/style-univer/src/Components/Drag/drag-zh.md+++ b/packages/style-univer/src/Components/Drag/drag-zh.md@@ -27,7 +27,7 @@ interface IProps {## 案例```jsx-import { Drag } from '@univer/style-univer';+import { Drag } from '@univerjs/style-univer';<Drag isDrag={true}><div>container</div>diff --git a/packages/style-univer/src/Components/Dropdown/Dropdown.tsx b/packages/style-univer/src/Components/Dropdown/Dropdown.tsxindex a053cceac2..8c1f85d1cc 100644--- a/packages/style-univer/src/Components/Dropdown/Dropdown.tsx+++ b/packages/style-univer/src/Components/Dropdown/Dropdown.tsx@@ -1,4 +1,4 @@-import { BaseDropdownProps, JSXComponent, createRef, Component, DropdownComponent } from '@univer/base-component';+import { BaseDropdownProps, JSXComponent, createRef, Component, DropdownComponent } from '@univerjs/base-component';import { Icon, Menu, Tooltip } from '../../index';import styles from './index.module.less';diff --git a/packages/style-univer/src/Components/FilterSelect/FilterSelect.tsx b/packages/style-univer/src/Components/FilterSelect/FilterSelect.tsxindex 6592c9e7e9..4e04eb999c 100644--- a/packages/style-univer/src/Components/FilterSelect/FilterSelect.tsx+++ b/packages/style-univer/src/Components/FilterSelect/FilterSelect.tsx@@ -1,4 +1,4 @@-import { BaseFilterSelectProps, Component, createRef, FilterSelectComponent, JSXComponent, List } from '@univer/base-component';+import { BaseFilterSelectProps, Component, createRef, FilterSelectComponent, JSXComponent, List } from '@univerjs/base-component';import { ColorPicker, Icon, Ul } from '../index';import styles from './index.module.less';diff --git a/packages/style-univer/src/Components/FilterSelect/filter-select-zh.md b/packages/style-univer/src/Components/FilterSelect/filter-select-zh.mdindex 058d209850..4c45bf02b2 100644--- a/packages/style-univer/src/Components/FilterSelect/filter-select-zh.md+++ b/packages/style-univer/src/Components/FilterSelect/filter-select-zh.md@@ -21,7 +21,7 @@ cover: ''## 案例```jsx-import { FilterSelect } from '@univer/style-univer';+import { FilterSelect } from '@univerjs/style-univer';<FilterSelect></FilterSelect>;```diff --git a/packages/style-univer/src/Components/FormatModal/FormatModal.tsx b/packages/style-univer/src/Components/FormatModal/FormatModal.tsxindex 5cc9892d7e..ae9fbf0bdb 100644--- a/packages/style-univer/src/Components/FormatModal/FormatModal.tsx+++ b/packages/style-univer/src/Components/FormatModal/FormatModal.tsx@@ -1,5 +1,5 @@-import { BaseFormatModalProps, Component, FormatModalComponent, JSXComponent } from '@univer/base-component';-import { Nullable, Observer, Workbook } from '@univer/core';+import { BaseFormatModalProps, Component, FormatModalComponent, JSXComponent } from '@univerjs/base-component';+import { Nullable, Observer, Workbook } from '@univerjs/core';import { Modal, Ul } from '../index';import styles from './index.module.less';diff --git a/packages/style-univer/src/Components/Grid/Grid.tsx b/packages/style-univer/src/Components/Grid/Grid.tsxindex 79a5bfe084..2b43c506b5 100644--- a/packages/style-univer/src/Components/Grid/Grid.tsx+++ b/packages/style-univer/src/Components/Grid/Grid.tsx@@ -1,4 +1,4 @@-import { ComponentChildren } from '@univer/base-component';+import { ComponentChildren } from '@univerjs/base-component';type BaseGridProps = {children?: ComponentChildren;diff --git a/packages/style-univer/src/Components/Grid/grid-zh.md b/packages/style-univer/src/Components/Grid/grid-zh.mdindex f63c44465d..3b569cebbe 100644--- a/packages/style-univer/src/Components/Grid/grid-zh.md+++ b/packages/style-univer/src/Components/Grid/grid-zh.md@@ -25,7 +25,7 @@ cover: ''## 案例```jsx-import { Container } from '@univer/style-univer';+import { Container } from '@univerjs/style-univer';const ToolBar = () => {const containerText = 'container';diff --git a/packages/style-univer/src/Components/Grid/grid.md b/packages/style-univer/src/Components/Grid/grid.mdindex a7cb0d7a0a..6ce941d02e 100644--- a/packages/style-univer/src/Components/Grid/grid.md+++ b/packages/style-univer/src/Components/Grid/grid.md@@ -24,7 +24,7 @@ The properties of the device are described as follows:## Case```jsx-import { Container } from '@univer/style-univer';+import { Container } from '@univerjs/style-univer';const ToolBar = () => {const containerText = 'container';diff --git a/packages/style-univer/src/Components/Icon/AddIcon.tsx b/packages/style-univer/src/Components/Icon/AddIcon.tsxindex 25f72ba506..0c864c3115 100644--- a/packages/style-univer/src/Components/Icon/AddIcon.tsx+++ b/packages/style-univer/src/Components/Icon/AddIcon.tsx@@ -1,4 +1,4 @@-import { BaseIconProps, joinClassNames } from '@univer/base-component';+import { BaseIconProps, joinClassNames } from '@univerjs/base-component';import styles from './Style/index.module.less';diff --git a/packages/style-univer/src/Components/Icon/Cell/index.tsx b/packages/style-univer/src/Components/Icon/Cell/index.tsxindex 9f81cbd0da..aa33f4086f 100644--- a/packages/style-univer/src/Components/Icon/Cell/index.tsx+++ b/packages/style-univer/src/Components/Icon/Cell/index.tsx@@ -1,4 +1,4 @@-import { BaseIconProps, IconComponent, JSXComponent } from '@univer/base-component';+import { BaseIconProps, IconComponent, JSXComponent } from '@univerjs/base-component';import { Icon } from '../AddIcon';const FillColorIcon = (props: BaseIconProps) => (diff --git a/packages/style-univer/src/Components/Icon/Data/index.tsx b/packages/style-univer/src/Components/Icon/Data/index.tsxindex e302b6ee87..6273573c93 100644--- a/packages/style-univer/src/Components/Icon/Data/index.tsx+++ b/packages/style-univer/src/Components/Icon/Data/index.tsx@@ -1,4 +1,4 @@-import { BaseIconProps, FunctionComponent, IconComponent } from '@univer/base-component';+import { BaseIconProps, FunctionComponent, IconComponent } from '@univerjs/base-component';import { Icon } from '../AddIcon';const PivotableIcon = (props: BaseIconProps) => (diff --git a/packages/style-univer/src/Components/Icon/Delete/index.tsx b/packages/style-univer/src/Components/Icon/Delete/index.tsxindex 127d481016..c220bdef1e 100644--- a/packages/style-univer/src/Components/Icon/Delete/index.tsx+++ b/packages/style-univer/src/Components/Icon/Delete/index.tsx@@ -1,4 +1,4 @@-import { BaseIconProps, IconComponent, JSXComponent } from '@univer/base-component';+import { BaseIconProps, IconComponent, JSXComponent } from '@univerjs/base-component';import { Icon } from '../AddIcon';const DeleteIcon = (props: BaseIconProps) => (diff --git a/packages/style-univer/src/Components/Icon/Font/index.tsx b/packages/style-univer/src/Components/Icon/Font/index.tsxindex 41d41ef1a7..d18ba76187 100644--- a/packages/style-univer/src/Components/Icon/Font/index.tsx+++ b/packages/style-univer/src/Components/Icon/Font/index.tsx@@ -1,4 +1,4 @@-import { BaseIconProps, IconComponent, JSXComponent } from '@univer/base-component';+import { BaseIconProps, IconComponent, JSXComponent } from '@univerjs/base-component';import { Icon } from '../AddIcon';const BoldIcon = (props: BaseIconProps) => (diff --git a/packages/style-univer/src/Components/Icon/Format/index.tsx b/packages/style-univer/src/Components/Icon/Format/index.tsxindex cd779c365d..f981a751a4 100644--- a/packages/style-univer/src/Components/Icon/Format/index.tsx+++ b/packages/style-univer/src/Components/Icon/Format/index.tsx@@ -1,4 +1,4 @@-import { BaseIconProps, FunctionComponent, IconComponent } from '@univer/base-component';+import { BaseIconProps, FunctionComponent, IconComponent } from '@univerjs/base-component';import { Icon } from '../AddIcon';const BackIcon = (props: BaseIconProps) => (diff --git a/packages/style-univer/src/Components/Icon/Insert/index.tsx b/packages/style-univer/src/Components/Icon/Insert/index.tsxindex fe444740c2..f75298714b 100644--- a/packages/style-univer/src/Components/Icon/Insert/index.tsx+++ b/packages/style-univer/src/Components/Icon/Insert/index.tsx@@ -1,4 +1,4 @@-import { BaseIconProps, FunctionComponent, IconComponent } from '@univer/base-component';+import { BaseIconProps, FunctionComponent, IconComponent } from '@univerjs/base-component';import { Icon } from '../AddIcon';const PhotoIcon = (props: BaseIconProps) => (diff --git a/packages/style-univer/src/Components/Icon/Loading/index.tsx b/packages/style-univer/src/Components/Icon/Loading/index.tsxindex e6277bde59..3b72f93497 100644--- a/packages/style-univer/src/Components/Icon/Loading/index.tsx+++ b/packages/style-univer/src/Components/Icon/Loading/index.tsx@@ -1,4 +1,4 @@-import { BaseIconProps, FunctionComponent, IconComponent } from '@univer/base-component';+import { BaseIconProps, FunctionComponent, IconComponent } from '@univerjs/base-component';import { Icon } from '../AddIcon';const LoadingIcon = (props: BaseIconProps) => (diff --git a/packages/style-univer/src/Components/Icon/Logo/index.tsx b/packages/style-univer/src/Components/Icon/Logo/index.tsxindex fd68374e9d..5dea6a36e8 100644--- a/packages/style-univer/src/Components/Icon/Logo/index.tsx+++ b/packages/style-univer/src/Components/Icon/Logo/index.tsx@@ -1,4 +1,4 @@-import { BaseIconProps, FunctionComponent, IconComponent } from '@univer/base-component';+import { BaseIconProps, FunctionComponent, IconComponent } from '@univerjs/base-component';import { Icon } from '../AddIcon';const LogoIcon = (props: BaseIconProps) => (diff --git a/packages/style-univer/src/Components/Icon/Math/index.tsx b/packages/style-univer/src/Components/Icon/Math/index.tsxindex d29147ad95..189a30aafd 100644--- a/packages/style-univer/src/Components/Icon/Math/index.tsx+++ b/packages/style-univer/src/Components/Icon/Math/index.tsx@@ -1,4 +1,4 @@-import { BaseIconProps, FunctionComponent, IconComponent } from '@univer/base-component';+import { BaseIconProps, FunctionComponent, IconComponent } from '@univerjs/base-component';import { Icon } from '../AddIcon';const AddNumIcon = (props: BaseIconProps) => (diff --git a/packages/style-univer/src/Components/Icon/Other/index.tsx b/packages/style-univer/src/Components/Icon/Other/index.tsxindex 98017d5108..4057c2412b 100644--- a/packages/style-univer/src/Components/Icon/Other/index.tsx+++ b/packages/style-univer/src/Components/Icon/Other/index.tsx@@ -1,4 +1,4 @@-import { BaseIconProps, FunctionComponent, IconComponent } from '@univer/base-component';+import { BaseIconProps, FunctionComponent, IconComponent } from '@univerjs/base-component';import { Icon } from '../AddIcon';const Close = (props: BaseIconProps) => (diff --git a/packages/style-univer/src/Components/Icon/Sheet/index.tsx b/packages/style-univer/src/Components/Icon/Sheet/index.tsxindex f834791b86..d5b354a70f 100644--- a/packages/style-univer/src/Components/Icon/Sheet/index.tsx+++ b/packages/style-univer/src/Components/Icon/Sheet/index.tsx@@ -1,4 +1,4 @@-import { BaseIconProps, FunctionComponent, IconComponent } from '@univer/base-component';+import { BaseIconProps, FunctionComponent, IconComponent } from '@univerjs/base-component';import { Icon } from '../AddIcon';const CommentIcon = (props: BaseIconProps) => (diff --git a/packages/style-univer/src/Components/Icon/Text/index.tsx b/packages/style-univer/src/Components/Icon/Text/index.tsxindex 6206410f58..b81f990d85 100644--- a/packages/style-univer/src/Components/Icon/Text/index.tsx+++ b/packages/style-univer/src/Components/Icon/Text/index.tsx@@ -1,4 +1,4 @@-import { BaseIconProps, FunctionComponent, IconComponent } from '@univer/base-component';+import { BaseIconProps, FunctionComponent, IconComponent } from '@univerjs/base-component';import { Icon } from '../AddIcon';const LeftAlignIcon = (props: BaseIconProps) => (diff --git a/packages/style-univer/src/Components/Icon/View/index.tsx b/packages/style-univer/src/Components/Icon/View/index.tsxindex 877d419162..4b652ca612 100644--- a/packages/style-univer/src/Components/Icon/View/index.tsx+++ b/packages/style-univer/src/Components/Icon/View/index.tsx@@ -1,4 +1,4 @@-import { BaseIconProps, IconComponent } from '@univer/base-component';+import { BaseIconProps, IconComponent } from '@univerjs/base-component';import { FunctionComponent } from 'preact';import { Icon } from '../AddIcon';diff --git a/packages/style-univer/src/Components/Icon/icon-zh.md b/packages/style-univer/src/Components/Icon/icon-zh.mdindex 414956175e..57d66d688d 100644--- a/packages/style-univer/src/Components/Icon/icon-zh.md+++ b/packages/style-univer/src/Components/Icon/icon-zh.md@@ -26,7 +26,7 @@ icon 图标以 svg 形式展示,统一导出## 案例```jsx-import { Icon } from '@univer/style-univer';+import { Icon } from '@univerjs/style-univer';<Icon.Text.TopVerticalIcon /><Icon.Format.NextIcon rotate={90} />diff --git a/packages/style-univer/src/Components/Icon/icon.md b/packages/style-univer/src/Components/Icon/icon.mdindex 55e05d77d7..983df79080 100644--- a/packages/style-univer/src/Components/Icon/icon.md+++ b/packages/style-univer/src/Components/Icon/icon.md@@ -25,7 +25,7 @@ Property Introduction:## 案例```jsx-import { Icon } from '@univer/style-univer';+import { Icon } from '@univerjs/style-univer';<Icon.Text.TopVerticalIcon /><Icon.Format.NextIcon rotate={90} />diff --git a/packages/style-univer/src/Components/InfoBar/InfoBar.tsx b/packages/style-univer/src/Components/InfoBar/InfoBar.tsxindex 900f00f097..fd5f351517 100644--- a/packages/style-univer/src/Components/InfoBar/InfoBar.tsx+++ b/packages/style-univer/src/Components/InfoBar/InfoBar.tsx@@ -1,4 +1,4 @@-import { BaseInfoBarProps, InfoBarComponent, JSXComponent } from '@univer/base-component';+import { BaseInfoBarProps, InfoBarComponent, JSXComponent } from '@univerjs/base-component';import { Button, Container, Input, Tooltip } from '../../index';import * as Icon from '../Icon';import './index.less';diff --git a/packages/style-univer/src/Components/Input/input-zh.md b/packages/style-univer/src/Components/Input/input-zh.mdindex d46e80121e..da1c2dbe2a 100644--- a/packages/style-univer/src/Components/Input/input-zh.md+++ b/packages/style-univer/src/Components/Input/input-zh.md@@ -32,7 +32,7 @@ cover: ''## 案例```jsx-import { Input } from '@univer/style-univer';+import { Input } from '@univerjs/style-univer';<Input onChange={() => {}} type="text" placeholder="哈哈" value="1"></Input>;```diff --git a/packages/style-univer/src/Components/Input/input.md b/packages/style-univer/src/Components/Input/input.mdindex 94fb630999..e825e16072 100644--- a/packages/style-univer/src/Components/Input/input.md+++ b/packages/style-univer/src/Components/Input/input.md@@ -31,7 +31,7 @@ Property Introduction:## Case```jsx-import { Input } from '@univer/style-univer';+import { Input } from '@univerjs/style-univer';<Input onChange={() => {}} type="text" placeholder="good" value="1"></Input>;```diff --git a/packages/style-univer/src/Components/Input/input.tsx b/packages/style-univer/src/Components/Input/input.tsxindex b0439bbc9f..c97709a4c8 100644--- a/packages/style-univer/src/Components/Input/input.tsx+++ b/packages/style-univer/src/Components/Input/input.tsx@@ -1,4 +1,4 @@-import { BaseInputProps, Component, createRef, InputComponent, joinClassNames, JSXComponent } from '@univer/base-component';+import { BaseInputProps, Component, createRef, InputComponent, joinClassNames, JSXComponent } from '@univerjs/base-component';import styles from './Style/index.module.less';// interface InputProps {diff --git a/packages/style-univer/src/Components/Layout/Layout.tsx b/packages/style-univer/src/Components/Layout/Layout.tsxindex 543d360093..227ccd12ee 100644--- a/packages/style-univer/src/Components/Layout/Layout.tsx+++ b/packages/style-univer/src/Components/Layout/Layout.tsx@@ -11,7 +11,7 @@ import {LayoutComponent,Ref,SiderComponent,-} from '@univer/base-component';+} from '@univerjs/base-component';import styles from './index.module.less';// Types for propsdiff --git a/packages/style-univer/src/Components/Layout/layout-zh.md b/packages/style-univer/src/Components/Layout/layout-zh.mdindex 8da8e70bfa..422e962ff7 100644--- a/packages/style-univer/src/Components/Layout/layout-zh.md+++ b/packages/style-univer/src/Components/Layout/layout-zh.md@@ -26,7 +26,7 @@ cover: ''UniverSheet 的整体布局,区分了外左边栏、外右边栏、头部、尾部、内左边栏、右左边栏、中间内容区,简单的表示如下```jsx-import { Container, Layout, Header, Footer, Content, Sider } from '@univer/style-univer';+import { Container, Layout, Header, Footer, Content, Sider } from '@univerjs/style-univer';const MainPage = () => {return (diff --git a/packages/style-univer/src/Components/Layout/layout.md b/packages/style-univer/src/Components/Layout/layout.mdindex 5fc10309fb..bce60d9460 100644--- a/packages/style-univer/src/Components/Layout/layout.md+++ b/packages/style-univer/src/Components/Layout/layout.md@@ -25,7 +25,7 @@ Use flex layout internally, please pay attention to compatibility.The overall layout of UniverSheet distinguishes the outer left column, outer right column, head, footer, inner left column, right left column, and middle content area. The simple expression is as follows```jsx-import { Container, Layout, Header, Footer, Content, Sider } from '@univer/style-univer';+import { Container, Layout, Header, Footer, Content, Sider } from '@univerjs/style-univer';const MainPage = () => {return (diff --git a/packages/style-univer/src/Components/Menu/Menu.tsx b/packages/style-univer/src/Components/Menu/Menu.tsxindex 17b0660019..9b0d9261b6 100644--- a/packages/style-univer/src/Components/Menu/Menu.tsx+++ b/packages/style-univer/src/Components/Menu/Menu.tsx@@ -1,4 +1,4 @@-import { BaseMenuProps, JSXComponent, Component, MenuComponent, createRef, BaseMenuItem, joinClassNames, BaseMenuState, BaseMenuStyle } from '@univer/base-component';+import { BaseMenuProps, JSXComponent, Component, MenuComponent, createRef, BaseMenuItem, joinClassNames, BaseMenuState, BaseMenuStyle } from '@univerjs/base-component';import styles from './index.module.less';export class Menu extends Component<BaseMenuProps, BaseMenuState> {diff --git a/packages/style-univer/src/Components/Modal/Modal-zh.md b/packages/style-univer/src/Components/Modal/Modal-zh.mdindex 0407ddf35f..d2f93dcaed 100644--- a/packages/style-univer/src/Components/Modal/Modal-zh.md+++ b/packages/style-univer/src/Components/Modal/Modal-zh.md@@ -28,7 +28,7 @@ cover: ''## 案例```jsx-import { Modal } from '@univer/style-univer';+import { Modal } from '@univerjs/style-univer';const Demo = () => {return (diff --git a/packages/style-univer/src/Components/Modal/Modal.tsx b/packages/style-univer/src/Components/Modal/Modal.tsxindex 14305d864a..eeb8b714f3 100644--- a/packages/style-univer/src/Components/Modal/Modal.tsx+++ b/packages/style-univer/src/Components/Modal/Modal.tsx@@ -1,4 +1,4 @@-import { BaseModalProps, Component, JSXComponent, ModalComponent, ModalProps } from '@univer/base-component';+import { BaseModalProps, Component, JSXComponent, ModalComponent, ModalProps } from '@univerjs/base-component';import { Button } from '../Button';import { Drag } from '../Drag';diff --git a/packages/style-univer/src/Components/Radio/Radio-zh.md b/packages/style-univer/src/Components/Radio/Radio-zh.mdindex 6e9ceef92e..dbcf3c8362 100644--- a/packages/style-univer/src/Components/Radio/Radio-zh.md+++ b/packages/style-univer/src/Components/Radio/Radio-zh.md@@ -24,7 +24,7 @@ cover: ''## 案例```jsx-import { RadioGroup, Radio } from '@univer/style-univer';+import { RadioGroup, Radio } from '@univerjs/style-univer';const Demo = () => {return (@@ -50,7 +50,7 @@ const Demo = () => {## 案例```jsx-import { Radio } from '@univer/style-univer';+import { Radio } from '@univerjs/style-univer';const Demo = () => {return <Radio></Radio>;diff --git a/packages/style-univer/src/Components/Radio/Radio.tsx b/packages/style-univer/src/Components/Radio/Radio.tsxindex c41ae69ad1..a1ab842918 100644--- a/packages/style-univer/src/Components/Radio/Radio.tsx+++ b/packages/style-univer/src/Components/Radio/Radio.tsx@@ -1,4 +1,4 @@-import { BaseRadioGroupProps, BaseRadioIProps, cloneElement, Component, JSXComponent, RadioComponent, VNode } from '@univer/base-component';+import { BaseRadioGroupProps, BaseRadioIProps, cloneElement, Component, JSXComponent, RadioComponent, VNode } from '@univerjs/base-component';import styles from './index.module.less';// interface IProps {// value: string;diff --git a/packages/style-univer/src/Components/ResizeDialog/ResizeDialog.tsx b/packages/style-univer/src/Components/ResizeDialog/ResizeDialog.tsxindex 0c3fa5ba02..ca9c3f4ab8 100644--- a/packages/style-univer/src/Components/ResizeDialog/ResizeDialog.tsx+++ b/packages/style-univer/src/Components/ResizeDialog/ResizeDialog.tsx@@ -1,4 +1,4 @@-import { BaseResizeDialogProps, JSXComponent, ResizeDialogComponent } from '@univer/base-component';+import { BaseResizeDialogProps, JSXComponent, ResizeDialogComponent } from '@univerjs/base-component';import { useEffect, useRef } from 'preact/hooks';import styles from './index.module.less';diff --git a/packages/style-univer/src/Components/SearchTree/SearchTree.tsx b/packages/style-univer/src/Components/SearchTree/SearchTree.tsxindex 36c56bff9f..f96527223c 100644--- a/packages/style-univer/src/Components/SearchTree/SearchTree.tsx+++ b/packages/style-univer/src/Components/SearchTree/SearchTree.tsx@@ -1,4 +1,4 @@-import { BaseSearchTreeProps, Component, createRef, JSXComponent, SearchTreeComponent } from '@univer/base-component';+import { BaseSearchTreeProps, Component, createRef, JSXComponent, SearchTreeComponent } from '@univerjs/base-component';import * as Icon from '../Icon';import styles from './index.module.less';diff --git a/packages/style-univer/src/Components/SelectComponent/Select-zh.md b/packages/style-univer/src/Components/SelectComponent/Select-zh.mdindex ab384f0719..f4cf2476d3 100644--- a/packages/style-univer/src/Components/SelectComponent/Select-zh.md+++ b/packages/style-univer/src/Components/SelectComponent/Select-zh.md@@ -40,7 +40,7 @@ cover: ''## 案例```jsx-import { Select } from '@univer/style-univer';+import { Select } from '@univerjs/style-univer';<Selecttooltip={item.tooltip}diff --git a/packages/style-univer/src/Components/SelectComponent/Select.md b/packages/style-univer/src/Components/SelectComponent/Select.mdindex a8503ef23c..b0cba2dd97 100644--- a/packages/style-univer/src/Components/SelectComponent/Select.md+++ b/packages/style-univer/src/Components/SelectComponent/Select.md@@ -37,7 +37,7 @@ Select Type## Case```jsx-import { Select } from '@univer/style-univer';+import { Select } from '@univerjs/style-univer';<Selecttooltip={item.tooltip}diff --git a/packages/style-univer/src/Components/SelectComponent/Select.tsx b/packages/style-univer/src/Components/SelectComponent/Select.tsxindex 63cdd1f403..6d0a998821 100644--- a/packages/style-univer/src/Components/SelectComponent/Select.tsx+++ b/packages/style-univer/src/Components/SelectComponent/Select.tsx@@ -1,4 +1,4 @@-import { BaseSelectProps, createRef, ISelectButton, JSXComponent, SelectComponent } from '@univer/base-component';+import { BaseSelectProps, createRef, ISelectButton, JSXComponent, SelectComponent } from '@univerjs/base-component';import { PureComponent } from 'preact/compat';import { Button, ColorPicker, Input, Tooltip, Ul } from '../../index';import styles from './index.module.less';diff --git a/packages/style-univer/src/Components/SiderModal/SiderModal.tsx b/packages/style-univer/src/Components/SiderModal/SiderModal.tsxindex 38c2fdab36..c05d896d77 100644--- a/packages/style-univer/src/Components/SiderModal/SiderModal.tsx+++ b/packages/style-univer/src/Components/SiderModal/SiderModal.tsx@@ -1,4 +1,4 @@-import { BaseSiderModalProps, Component, JSXComponent, SiderModalComponent } from '@univer/base-component';+import { BaseSiderModalProps, Component, JSXComponent, SiderModalComponent } from '@univerjs/base-component';import { Icon } from '../index';import Style from './index.module.less';diff --git a/packages/style-univer/src/Components/SiderModal/sider-modal-zh.md b/packages/style-univer/src/Components/SiderModal/sider-modal-zh.mdindex d4d7e609b7..472f767ae0 100644--- a/packages/style-univer/src/Components/SiderModal/sider-modal-zh.md+++ b/packages/style-univer/src/Components/SiderModal/sider-modal-zh.md@@ -24,7 +24,7 @@ cover: ''## 案例```jsx-import { SiderModal } from '@univer/style-univer';+import { SiderModal } from '@univerjs/style-univer';const Demo = () => {return (diff --git a/packages/style-univer/src/Components/Slider/Slider.tsx b/packages/style-univer/src/Components/Slider/Slider.tsxindex 735dcc0507..70af18a3b2 100644--- a/packages/style-univer/src/Components/Slider/Slider.tsx+++ b/packages/style-univer/src/Components/Slider/Slider.tsx@@ -1,4 +1,4 @@-import { BaseSliderRangeProps, BaseSliderSingleProps, Component, createRef, JSXComponent, randomId, SliderComponent } from '@univer/base-component';+import { BaseSliderRangeProps, BaseSliderSingleProps, Component, createRef, JSXComponent, randomId, SliderComponent } from '@univerjs/base-component';import styles from './index.module.less';interface SliderState {diff --git a/packages/style-univer/src/Components/Slider/slider-zh.md b/packages/style-univer/src/Components/Slider/slider-zh.mdindex 127aa587c0..39780bffab 100644--- a/packages/style-univer/src/Components/Slider/slider-zh.md+++ b/packages/style-univer/src/Components/Slider/slider-zh.md@@ -30,7 +30,7 @@ cover: ''## 案例```jsx-import { Slider } from '@univer/style-univer';+import { Slider } from '@univerjs/style-univer';<Slider onChange={this.onChange} value={zoom} min={this.min} max={this.max} onClick={this.handleClick} />;```diff --git a/packages/style-univer/src/Components/Slider/slider.md b/packages/style-univer/src/Components/Slider/slider.mdindex b6a8206aa9..19de8fbe55 100644--- a/packages/style-univer/src/Components/Slider/slider.md+++ b/packages/style-univer/src/Components/Slider/slider.md@@ -30,7 +30,7 @@ Property Introduction:## Case```jsx-import { Slider } from '@univer/style-univer';+import { Slider } from '@univerjs/style-univer';<Slider onChange={this.onChange} value={zoom} min={this.min} max={this.max} onClick={this.handleClick} />;```diff --git a/packages/style-univer/src/Components/Tabs/Tabs.tsx b/packages/style-univer/src/Components/Tabs/Tabs.tsxindex 43c7a9a33f..dd95c4211c 100644--- a/packages/style-univer/src/Components/Tabs/Tabs.tsx+++ b/packages/style-univer/src/Components/Tabs/Tabs.tsx@@ -1,4 +1,4 @@-import { BaseTabPaneProps, BaseTabProps, joinClassNames, JSXComponent, randomId, TabComponent, TabPaneComponent } from '@univer/base-component';+import { BaseTabPaneProps, BaseTabProps, joinClassNames, JSXComponent, randomId, TabComponent, TabPaneComponent } from '@univerjs/base-component';import { JSX, toChildArray } from 'preact';import { PureComponent } from 'preact/compat';import styles from './index.module.less';diff --git a/packages/style-univer/src/Components/Tooltip/Tooltip.tsx b/packages/style-univer/src/Components/Tooltip/Tooltip.tsxindex 38e2f21be5..d24c382912 100644--- a/packages/style-univer/src/Components/Tooltip/Tooltip.tsx+++ b/packages/style-univer/src/Components/Tooltip/Tooltip.tsx@@ -1,4 +1,4 @@-import { BaseTooltipProps, Component, createRef, joinClassNames as classnames, JSXComponent, TooltipComponent } from '@univer/base-component';+import { BaseTooltipProps, Component, createRef, joinClassNames as classnames, JSXComponent, TooltipComponent } from '@univerjs/base-component';import style from './index.module.less';// interface TooltipProps {diff --git a/packages/style-univer/src/Components/Ul/Ul.tsx b/packages/style-univer/src/Components/Ul/Ul.tsxindex 11cdc68921..eba1cc690a 100644--- a/packages/style-univer/src/Components/Ul/Ul.tsx+++ b/packages/style-univer/src/Components/Ul/Ul.tsx@@ -1,4 +1,4 @@-import { BaseUlProps, cloneElement, createRef, JSXComponent, UlComponent, VNode, Component, debounce } from '@univer/base-component';+import { BaseUlProps, cloneElement, createRef, JSXComponent, UlComponent, VNode, Component, debounce } from '@univerjs/base-component';import * as Icon from '../Icon';import styles from './index.module.less';diff --git a/packages/style-univer/src/Components/Ul/ul-zh.md b/packages/style-univer/src/Components/Ul/ul-zh.mdindex 7387a64f7d..c2be69de9e 100644--- a/packages/style-univer/src/Components/Ul/ul-zh.md+++ b/packages/style-univer/src/Components/Ul/ul-zh.md@@ -35,7 +35,7 @@ cover: ''## 案例```jsx-import { Ul } from '@univer/style-univer';+import { Ul } from '@univerjs/style-univer';<Ul children={this.state.children} onClick={this.handleClick} ref={this.ref}></Ul>;```diff --git a/packages/style-univer/src/Components/Ul/ul.md b/packages/style-univer/src/Components/Ul/ul.mdindex c86b2a128b..721ea196c7 100644--- a/packages/style-univer/src/Components/Ul/ul.md+++ b/packages/style-univer/src/Components/Ul/ul.md@@ -32,7 +32,7 @@ Use with select component, also use alone## Case```jsx-import { Ul } from '@univer/style-univer';+import { Ul } from '@univerjs/style-univer';<Ul children={this.state.children} onClick={this.handleClick} ref={this.ref}></Ul>;```diff --git a/packages/style-univer/src/StyleUniver.ts b/packages/style-univer/src/StyleUniver.tsindex 71cd29ead0..ef4d01fb98 100644--- a/packages/style-univer/src/StyleUniver.ts+++ b/packages/style-univer/src/StyleUniver.ts@@ -8,8 +8,8 @@ import {ForwardFnComponent,FunctionComponent,PropsFrom,-} from '@univer/base-component';-import { Plugin } from '@univer/core';+} from '@univerjs/base-component';+import { Plugin } from '@univerjs/core';// import { UniverSingleButton } from './Components';import { UniverButton } from './Components/Button/Button';import { UniverBorderDashDot } from './Components/CanvasIcon/BorderLine/BorderDashDot';diff --git a/packages/style-univer/src/Types/index.d.ts b/packages/style-univer/src/Types/index.d.tsindex e56977476d..51621fdd5c 100644--- a/packages/style-univer/src/Types/index.d.ts+++ b/packages/style-univer/src/Types/index.d.ts@@ -1,6 +1,5 @@export * from '../index';-declare module '@univer/style-univer' { }-+declare module '@univerjs/style-univer' {}// use css moduledeclare module '*.less' {diff --git a/packages/style-univer/vite.config.ts b/packages/style-univer/vite.config.tsindex a22b638f47..9a17bf1b56 100644--- a/packages/style-univer/vite.config.ts+++ b/packages/style-univer/vite.config.ts@@ -40,8 +40,8 @@ export default defineConfig({preact(),createExternal({externals: {- '@univer/core': '@univer/core',- '@univer/base-component': '@univer/base-component',+ '@univerjs/core': '@univerjs/core',+ '@univerjs/base-component': '@univerjs/base-component','css-vars-ponyfill': 'css-vars-ponyfill','nanoid': 'nanoid','react-colorful': 'react-colorful',diff --git a/scripts/api.js b/scripts/api.jsindex c99175fef3..d64256a113 100644--- a/scripts/api.js+++ b/scripts/api.js@@ -1,7 +1,7 @@const execa = require('execa');const childProcess = require('child_process');const exec = childProcess.exec;-const devTarget = '@univer/core';+const devTarget = '@univerjs/core';const { execFile } = require('child_process');run();diff --git a/scripts/build.js b/scripts/build.jsindex 61b3698130..52486376cf 100644--- a/scripts/build.js+++ b/scripts/build.js@@ -2,32 +2,32 @@ const execa = require('execa');// const { targets: allTargets } = require('./util');const buildTargets = [- '@univer/core', // success- '@univer/base-render', // success- '@univer/base-sheets', // success+ '@univerjs/core', // success+ '@univerjs/base-render', // success+ '@univerjs/base-sheets', // success- // '@univer/sheets-plugin-format',- // '@univer/sheets-plugin-formula',+ // '@univerjs/sheets-plugin-format',+ // '@univerjs/sheets-plugin-formula',- '@univer/sheets-plugin-alternating-colors', // success- '@univer/sheets-plugin-conditional-format', // success- '@univer/sheets-plugin-data-validation', // success- '@univer/sheets-plugin-filter', // success- '@univer/sheets-plugin-find', // success- '@univer/sheets-plugin-freeze', // success- '@univer/sheets-plugin-image', // success- '@univer/sheets-plugin-insert-link', // success- '@univer/sheets-plugin-pivot-table', // success- '@univer/sheets-plugin-print', // success- '@univer/sheets-plugin-protection', // success- '@univer/sheets-plugin-screenshot', // success- '@univer/sheets-plugin-sort', // success- '@univer/sheets-plugin-split-column', // success+ '@univerjs/sheets-plugin-alternating-colors', // success+ '@univerjs/sheets-plugin-conditional-format', // success+ '@univerjs/sheets-plugin-data-validation', // success+ '@univerjs/sheets-plugin-filter', // success+ '@univerjs/sheets-plugin-find', // success+ '@univerjs/sheets-plugin-freeze', // success+ '@univerjs/sheets-plugin-image', // success+ '@univerjs/sheets-plugin-insert-link', // success+ '@univerjs/sheets-plugin-pivot-table', // success+ '@univerjs/sheets-plugin-print', // success+ '@univerjs/sheets-plugin-protection', // success+ '@univerjs/sheets-plugin-screenshot', // success+ '@univerjs/sheets-plugin-sort', // success+ '@univerjs/sheets-plugin-split-column', // success- // '@univer/style-google',- '@univer/style-univer', // success- // '@univer/style-office365',- // '@univer/style-mobile',+ // '@univerjs/style-google',+ '@univerjs/style-univer', // success+ // '@univerjs/style-office365',+ // '@univerjs/style-mobile',];// TODO: run => build d.ts => build esm/umddiff --git a/scripts/dev.js b/scripts/dev.jsindex 348c69a5d5..a0f82fc4ce 100644--- a/scripts/dev.js+++ b/scripts/dev.js@@ -1,7 +1,7 @@const execa = require('execa');const childProcess = require('child_process');const exec = childProcess.exec;-const devTarget = '@univer/base-sheets';+const devTarget = '@univerjs/base-sheets';const { execFile } = require('child_process');run();diff --git a/scripts/link.js b/scripts/link.jsindex 535c55362f..6e3e8b0810 100644--- a/scripts/link.js+++ b/scripts/link.js@@ -2,34 +2,34 @@ const execa = require('execa');// const { targets: allTargets } = require('./util');const linkTargets = [- '@univer/core', // success- '@univer/base-render', // success- '@univer/base-component', // success- '@univer/base-sheets', // success+ '@univerjs/core', // success+ '@univerjs/base-render', // success+ '@univerjs/base-component', // success+ '@univerjs/base-sheets', // success- '@univer/common-plugin-data',- // '@univer/sheets-plugin-format',- // '@univer/sheets-plugin-formula',+ '@univerjs/common-plugin-data',+ // '@univerjs/sheets-plugin-format',+ // '@univerjs/sheets-plugin-formula',- // '@univer/sheets-plugin-alternating-colors', // success- // '@univer/sheets-plugin-conditional-format', // success- // '@univer/sheets-plugin-data-validation', // success- // '@univer/sheets-plugin-filter', // success- // '@univer/sheets-plugin-find', // success- // '@univer/sheets-plugin-freeze', // success- // '@univer/sheets-plugin-image', // success- // '@univer/sheets-plugin-insert-link', // success- // '@univer/sheets-plugin-pivot-table', // success- // '@univer/sheets-plugin-print', // success- // '@univer/sheets-plugin-protection', // success- // '@univer/sheets-plugin-screenshot', // success- // '@univer/sheets-plugin-sort', // success- // '@univer/sheets-plugin-split-column', // success+ // '@univerjs/sheets-plugin-alternating-colors', // success+ // '@univerjs/sheets-plugin-conditional-format', // success+ // '@univerjs/sheets-plugin-data-validation', // success+ // '@univerjs/sheets-plugin-filter', // success+ // '@univerjs/sheets-plugin-find', // success+ // '@univerjs/sheets-plugin-freeze', // success+ // '@univerjs/sheets-plugin-image', // success+ // '@univerjs/sheets-plugin-insert-link', // success+ // '@univerjs/sheets-plugin-pivot-table', // success+ // '@univerjs/sheets-plugin-print', // success+ // '@univerjs/sheets-plugin-protection', // success+ // '@univerjs/sheets-plugin-screenshot', // success+ // '@univerjs/sheets-plugin-sort', // success+ // '@univerjs/sheets-plugin-split-column', // success- // '@univer/style-google',- '@univer/style-univer', // success- // '@univer/style-office365',- // '@univer/style-mobile',+ // '@univerjs/style-google',+ '@univerjs/style-univer', // success+ // '@univerjs/style-office365',+ // '@univerjs/style-mobile',];// TODO: run => build d.ts => build esm/umddiff --git a/scripts/test.js b/scripts/test.jsindex 9f5633f9cc..1373b0c863 100644--- a/scripts/test.js+++ b/scripts/test.js@@ -2,8 +2,8 @@ const execa = require('execa');const { osType } = require('./utils');const child_process = require('child_process');-const devTarget = '@univer/core';-// node scripts/server && pnpm run --filter @univer/core test+const devTarget = '@univerjs/core';+// node scripts/server && pnpm run --filter @univerjs/core testrun();async function run() {