Skip to content

Build your own AI office with Univer Office SDK. Bring editing, calculation, collaboration, and file processing into your product for people and AI agents. Built on an extensible open-source core.

chore: optimize bundle dependencies (#3726)

白熱19d732bd8bc5
diff --git a/common/shared/vite/auto-externalize-dependency-plugin.js b/common/shared/vite/auto-externalize-dependency-plugin.js
index aa820e2842..ac0015fd95 100644
--- a/common/shared/vite/auto-externalize-dependency-plugin.js
+++ b/common/shared/vite/auto-externalize-dependency-plugin.js
@@ -20,25 +20,11 @@ const { convertLibNameFromPackageName } = require('./utils');
exports.autoExternalizeDependency = function autoExternalizeDependency() {
const externals = new Set();
+ const peers = new Set();
const globals = {};
let hasCss = false;
- const externalMap = {
- clsx: {
- global: 'clsx',
- name: 'clsx',
- version: '>=2.0.0',
- },
- dayjs: {
- global: 'dayjs',
- name: 'dayjs',
- version: '>=1.11.0',
- },
- 'monaco-editor': {
- global: 'monaco',
- name: 'monaco-editor',
- version: '>=0.44.0',
- },
+ const peerDepsMap = {
react: {
global: 'React',
name: 'react',
@@ -77,9 +63,9 @@ exports.autoExternalizeDependency = function autoExternalizeDependency() {
hasCss = true;
}
- if (source in externalMap) {
- externals.add(source);
- globals[source] = externalMap[source].global;
+ if (source in peerDepsMap) {
+ peers.add(source);
+ globals[source] = peerDepsMap[source].global;
return { id: source, external: true };
} else if (source.startsWith('@univerjs')) {
@@ -116,33 +102,53 @@ exports.autoExternalizeDependency = function autoExternalizeDependency() {
const peerDependencies = {};
let optionalDependencies;
- Array.from(externals)
- .sort()
- .filter((ext) => {
- return !ext.endsWith('.less');
- })
- .forEach((ext) => {
- const { version, name, optional } = externalMap[ext] ?? {};
-
- if (version) {
- if (version !== name) {
- if (optional) {
- if (!optionalDependencies) {
- optionalDependencies = {};
- }
- optionalDependencies[ext] = version;
- } else {
- peerDependencies[ext] = version;
+ Array.from(peers).sort().forEach((key) => {
+ const { version, name, optional } = peerDepsMap[key] ?? {};
+
+ if (version) {
+ if (version !== name) {
+ if (optional) {
+ if (!optionalDependencies) {
+ optionalDependencies = {};
}
+ optionalDependencies[key] = version;
} else {
- if (!peerDependencies[version]) {
- peerDependencies[name] = externalMap[version].version;
- }
+ peerDependencies[key] = version;
}
} else {
- peerDependencies[ext] = 'workspace:*';
+ if (!peerDependencies[version]) {
+ peerDependencies[name] = peerDepsMap[version].version;
+ }
}
- });
+ } else {
+ peerDependencies[key] = 'workspace:*';
+ }
+ });
+ // Array.from(peers)
+ // .sort()
+ // .forEach((ext) => {
+ // console.log(peers.);
+ // const { version, name, optional } = peers[ext] ?? {};
+
+ // if (version) {
+ // if (version !== name) {
+ // if (optional) {
+ // if (!optionalDependencies) {
+ // optionalDependencies = {};
+ // }
+ // optionalDependencies[ext] = version;
+ // } else {
+ // peerDependencies[ext] = version;
+ // }
+ // } else {
+ // if (!peerDependencies[version]) {
+ // peerDependencies[name] = peers[version].version;
+ // }
+ // }
+ // } else {
+ // peerDependencies[ext] = 'workspace:*';
+ // }
+ // });
if (Object.keys(peerDependencies).length) {
pkg.peerDependencies = peerDependencies;
diff --git a/examples/package.json b/examples/package.json
index fa5406c830..963ac39d25 100644
--- a/examples/package.json
+++ b/examples/package.json
@@ -30,7 +30,7 @@
"@univerjs/engine-render": "workspace:*",
"@univerjs/facade": "workspace:*",
"@univerjs/find-replace": "workspace:*",
- "@univerjs/icons": "^0.1.78",
+ "@univerjs/icons": "^0.1.79",
"@univerjs/mockdata": "workspace:*",
"@univerjs/rpc": "workspace:*",
"@univerjs/sheets": "workspace:*",
@@ -76,7 +76,7 @@
},
"devDependencies": {
"@types/react": "^18.3.11",
- "@types/react-dom": "^18.3.0",
+ "@types/react-dom": "^18.3.1",
"@univerjs-infra/shared": "workspace:*",
"detect-port": "^1.6.1",
"esbuild": "^0.24.0",
diff --git a/packages-experimental/action-recorder/package.json b/packages-experimental/action-recorder/package.json
index 70c457d498..ec38ac96dd 100644
--- a/packages-experimental/action-recorder/package.json
+++ b/packages-experimental/action-recorder/package.json
@@ -59,20 +59,13 @@
"build": "tsc && vite build"
},
"peerDependencies": {
- "@univerjs/core": "workspace:*",
- "@univerjs/design": "workspace:*",
- "@univerjs/sheets": "workspace:*",
- "@univerjs/sheets-filter-ui": "workspace:*",
- "@univerjs/sheets-ui": "workspace:*",
- "@univerjs/ui": "workspace:*",
- "clsx": ">=2.0.0",
"react": "^16.9.0 || ^17.0.0 || ^18.0.0",
"rxjs": ">=7.0.0"
},
"dependencies": {
"@univerjs/core": "workspace:*",
"@univerjs/design": "workspace:*",
- "@univerjs/icons": "^0.1.78",
+ "@univerjs/icons": "^0.1.79",
"@univerjs/sheets": "workspace:*",
"@univerjs/sheets-filter-ui": "workspace:*",
"@univerjs/sheets-ui": "workspace:*",
diff --git a/packages-experimental/debugger/package.json b/packages-experimental/debugger/package.json
index 05a737cc2b..706fcfa5d6 100644
--- a/packages-experimental/debugger/package.json
+++ b/packages-experimental/debugger/package.json
@@ -54,14 +54,6 @@
"build": "tsc && vite build"
},
"peerDependencies": {
- "@univerjs/core": "workspace:*",
- "@univerjs/design": "workspace:*",
- "@univerjs/docs-ui": "workspace:*",
- "@univerjs/engine-render": "workspace:*",
- "@univerjs/mockdata": "workspace:*",
- "@univerjs/sheets": "workspace:*",
- "@univerjs/sheets-drawing-ui": "workspace:*",
- "@univerjs/ui": "workspace:*",
"react": "^16.9.0 || ^17.0.0 || ^18.0.0",
"rxjs": ">=7.0.0"
},
diff --git a/packages-experimental/rpc-node/package.json b/packages-experimental/rpc-node/package.json
index a31a0bc789..d719ebb1b7 100644
--- a/packages-experimental/rpc-node/package.json
+++ b/packages-experimental/rpc-node/package.json
@@ -57,8 +57,6 @@
"build": "tsc && vite build"
},
"peerDependencies": {
- "@univerjs/core": "workspace:*",
- "@univerjs/rpc": "workspace:*",
"rxjs": ">=7.0.0"
},
"dependencies": {
diff --git a/packages-experimental/uni-docs-ui/package.json b/packages-experimental/uni-docs-ui/package.json
index 7a891ee18e..ce41929e50 100644
--- a/packages-experimental/uni-docs-ui/package.json
+++ b/packages-experimental/uni-docs-ui/package.json
@@ -57,21 +57,16 @@
"build": "tsc && vite build"
},
"peerDependencies": {
- "@univerjs/core": "workspace:*",
- "@univerjs/docs": "workspace:*",
- "@univerjs/docs-drawing-ui": "workspace:*",
- "@univerjs/docs-ui": "workspace:*",
- "@univerjs/engine-render": "workspace:*",
- "@univerjs/ui": "workspace:*",
- "@univerjs/uniui": "workspace:*",
"rxjs": ">=7.0.0"
},
"dependencies": {
"@univerjs/core": "workspace:*",
"@univerjs/design": "workspace:*",
"@univerjs/docs": "workspace:*",
+ "@univerjs/docs-drawing-ui": "workspace:*",
"@univerjs/docs-ui": "workspace:*",
- "@univerjs/icons": "^0.1.78",
+ "@univerjs/engine-render": "workspace:*",
+ "@univerjs/icons": "^0.1.79",
"@univerjs/ui": "workspace:*",
"@univerjs/uniui": "workspace:*",
"clsx": "^2.1.1"
diff --git a/packages-experimental/uni-formula-ui/package.json b/packages-experimental/uni-formula-ui/package.json
index aa15e37b0a..1918c8199a 100644
--- a/packages-experimental/uni-formula-ui/package.json
+++ b/packages-experimental/uni-formula-ui/package.json
@@ -59,17 +59,6 @@
"build": "tsc && vite build"
},
"peerDependencies": {
- "@univerjs/core": "workspace:*",
- "@univerjs/docs": "workspace:*",
- "@univerjs/docs-ui": "workspace:*",
- "@univerjs/engine-render": "workspace:*",
- "@univerjs/rpc": "workspace:*",
- "@univerjs/sheets-formula": "workspace:*",
- "@univerjs/sheets-formula-ui": "workspace:*",
- "@univerjs/slides-ui": "workspace:*",
- "@univerjs/ui": "workspace:*",
- "@univerjs/uni-formula": "workspace:*",
- "clsx": ">=2.0.0",
"react": "^16.9.0 || ^17.0.0 || ^18.0.0",
"rxjs": ">=7.0.0"
},
@@ -79,7 +68,7 @@
"@univerjs/docs": "workspace:*",
"@univerjs/docs-ui": "workspace:*",
"@univerjs/engine-render": "workspace:*",
- "@univerjs/icons": "^0.1.78",
+ "@univerjs/icons": "^0.1.79",
"@univerjs/rpc": "workspace:*",
"@univerjs/sheets-formula": "workspace:*",
"@univerjs/sheets-formula-ui": "workspace:*",
diff --git a/packages-experimental/uni-formula/package.json b/packages-experimental/uni-formula/package.json
index 5719e05c5d..4ee27558e5 100644
--- a/packages-experimental/uni-formula/package.json
+++ b/packages-experimental/uni-formula/package.json
@@ -62,7 +62,7 @@
"dependencies": {
"@univerjs/core": "workspace:*",
"@univerjs/docs": "workspace:*",
- "@univerjs/icons": "^0.1.78",
+ "@univerjs/icons": "^0.1.79",
"clsx": "^2.1.1"
},
"devDependencies": {
diff --git a/packages-experimental/uni-sheets-ui/package.json b/packages-experimental/uni-sheets-ui/package.json
index a8cce8c16e..6a500fadb4 100644
--- a/packages-experimental/uni-sheets-ui/package.json
+++ b/packages-experimental/uni-sheets-ui/package.json
@@ -57,15 +57,6 @@
"build": "tsc && vite build"
},
"peerDependencies": {
- "@univerjs/core": "workspace:*",
- "@univerjs/design": "workspace:*",
- "@univerjs/docs": "workspace:*",
- "@univerjs/docs-ui": "workspace:*",
- "@univerjs/sheets": "workspace:*",
- "@univerjs/sheets-drawing-ui": "workspace:*",
- "@univerjs/sheets-ui": "workspace:*",
- "@univerjs/ui": "workspace:*",
- "@univerjs/uniui": "workspace:*",
"react": "^16.9.0 || ^17.0.0 || ^18.0.0",
"rxjs": ">=7.0.0"
},
@@ -74,8 +65,9 @@
"@univerjs/design": "workspace:*",
"@univerjs/docs": "workspace:*",
"@univerjs/docs-ui": "workspace:*",
- "@univerjs/icons": "^0.1.78",
+ "@univerjs/icons": "^0.1.79",
"@univerjs/sheets": "workspace:*",
+ "@univerjs/sheets-drawing-ui": "workspace:*",
"@univerjs/sheets-ui": "workspace:*",
"@univerjs/ui": "workspace:*",
"@univerjs/uniui": "workspace:*",
diff --git a/packages-experimental/uni-slides-ui/package.json b/packages-experimental/uni-slides-ui/package.json
index 34ea862b54..77cf7a49bb 100644
--- a/packages-experimental/uni-slides-ui/package.json
+++ b/packages-experimental/uni-slides-ui/package.json
@@ -57,19 +57,13 @@
"build": "tsc && vite build"
},
"peerDependencies": {
- "@univerjs/core": "workspace:*",
- "@univerjs/engine-render": "workspace:*",
- "@univerjs/slides-ui": "workspace:*",
- "@univerjs/ui": "workspace:*",
- "@univerjs/uniui": "workspace:*",
- "clsx": ">=2.0.0",
"react": "^16.9.0 || ^17.0.0 || ^18.0.0"
},
"dependencies": {
"@univerjs/core": "workspace:*",
"@univerjs/design": "workspace:*",
"@univerjs/engine-render": "workspace:*",
- "@univerjs/icons": "^0.1.78",
+ "@univerjs/icons": "^0.1.79",
"@univerjs/slides": "workspace:*",
"@univerjs/slides-ui": "workspace:*",
"@univerjs/ui": "workspace:*",
diff --git a/packages-experimental/uniui/package.json b/packages-experimental/uniui/package.json
index fe68f4e63f..861f9f69b2 100644
--- a/packages-experimental/uniui/package.json
+++ b/packages-experimental/uniui/package.json
@@ -57,31 +57,23 @@
"build": "tsc && vite build"
},
"peerDependencies": {
- "@univerjs/core": "workspace:*",
- "@univerjs/design": "workspace:*",
- "@univerjs/docs-ui": "workspace:*",
- "@univerjs/engine-render": "workspace:*",
- "@univerjs/sheets": "workspace:*",
- "@univerjs/sheets-ui": "workspace:*",
- "@univerjs/ui": "workspace:*",
- "@univerjs/uniui": "workspace:*",
- "clsx": ">=2.0.0",
"react": "^16.9.0 || ^17.0.0 || ^18.0.0",
"react-dom": "^16.9.0 || ^17.0.0 || ^18.0.0",
"rxjs": ">=7.0.0"
},
"dependencies": {
- "@floating-ui/react-dom": "^2.1.1",
+ "@floating-ui/react-dom": "^2.1.2",
"@types/react": "^18.3.11",
- "@types/react-dom": "^18.3.0",
+ "@types/react-dom": "^18.3.1",
"@univerjs/core": "workspace:*",
"@univerjs/design": "workspace:*",
"@univerjs/docs-ui": "workspace:*",
"@univerjs/engine-render": "workspace:*",
- "@univerjs/icons": "^0.1.78",
+ "@univerjs/icons": "^0.1.79",
+ "@univerjs/sheets": "workspace:*",
"@univerjs/sheets-ui": "workspace:*",
"@univerjs/ui": "workspace:*",
- "@xyflow/react": "^12.2.1",
+ "@xyflow/react": "^12.3.2",
"clsx": "^2.1.1",
"rc-util": "^5.43.0"
},
diff --git a/packages-experimental/uniui/src/views/uni-toolbar/UniFormulaBar.tsx b/packages-experimental/uniui/src/views/uni-toolbar/UniFormulaBar.tsx
index 92828d8405..5eefe3230f 100644
--- a/packages-experimental/uniui/src/views/uni-toolbar/UniFormulaBar.tsx
+++ b/packages-experimental/uniui/src/views/uni-toolbar/UniFormulaBar.tsx
@@ -14,6 +14,7 @@
* limitations under the License.
*/
+import type { Nullable, Workbook } from '@univerjs/core';
import { BooleanNumber, DEFAULT_EMPTY_DOCUMENT_VALUE, DOCS_FORMULA_BAR_EDITOR_UNIT_ID_KEY, DocumentFlavor, HorizontalAlign, IPermissionService, IUniverInstanceService, Rectangle, ThemeService, UniverInstanceType, useDependency, useObservable, VerticalAlign, WrapStrategy } from '@univerjs/core';
import { TextEditor } from '@univerjs/docs-ui';
import { DeviceInputEventType } from '@univerjs/engine-render';
@@ -24,7 +25,6 @@ import { KeyCode, ProgressBar } from '@univerjs/ui';
import clsx from 'clsx';
import React, { useCallback, useLayoutEffect, useState } from 'react';
import { EMPTY, merge, switchMap } from 'rxjs';
-import type { Nullable, Workbook } from '@univerjs/core';
import styles from './index.module.less';
export const UniFormulaBar = () => {
diff --git a/packages/core/package.json b/packages/core/package.json
index 5bc2c61cf4..ad3cd59908 100644
--- a/packages/core/package.json
+++ b/packages/core/package.json
@@ -59,7 +59,6 @@
"build": "tsc && vite build"
},
"peerDependencies": {
- "@univerjs/core": "workspace:*",
"react": "^16.9.0 || ^17.0.0 || ^18.0.0",
"rxjs": ">=7.0.0"
},
diff --git a/packages/core/src/docs/data-model/text-x/__tests__/transform-position.spec.ts b/packages/core/src/docs/data-model/text-x/__tests__/transform-position.spec.ts
index f763e38abe..da2f765138 100644
--- a/packages/core/src/docs/data-model/text-x/__tests__/transform-position.spec.ts
+++ b/packages/core/src/docs/data-model/text-x/__tests__/transform-position.spec.ts
@@ -14,10 +14,10 @@
* limitations under the License.
*/
-import type { TextXAction } from '@univerjs/core';
-import { TextXActionType } from '@univerjs/core';
-import { describe, expect, it } from 'vitest';
+import type { TextXAction } from '../action-types';
+import { describe, expect, it } from 'vitest';
+import { TextXActionType } from '../action-types';
import { TextX } from '../text-x';
describe('transformPosition()', () => {
diff --git a/packages/core/src/docs/data-model/text-x/__tests__/transform.spec.ts b/packages/core/src/docs/data-model/text-x/__tests__/transform.spec.ts
index 717d64d9cd..318557505b 100644
--- a/packages/core/src/docs/data-model/text-x/__tests__/transform.spec.ts
+++ b/packages/core/src/docs/data-model/text-x/__tests__/transform.spec.ts
@@ -14,10 +14,10 @@
* limitations under the License.
*/
-import type { TextXAction } from '@univerjs/core';
-import { BooleanNumber, TextXActionType } from '@univerjs/core';
+import type { TextXAction } from '../action-types';
import { describe, expect, it } from 'vitest';
-
+import { BooleanNumber } from '../../../../types/enum';
+import { TextXActionType } from '../action-types';
import { TextX } from '../text-x';
describe('transform()', () => {
diff --git a/packages/core/src/docs/data-model/text-x/build-utils/custom-range.ts b/packages/core/src/docs/data-model/text-x/build-utils/custom-range.ts
index acff24281b..0d74caf06a 100644
--- a/packages/core/src/docs/data-model/text-x/build-utils/custom-range.ts
+++ b/packages/core/src/docs/data-model/text-x/build-utils/custom-range.ts
@@ -14,8 +14,10 @@
* limitations under the License.
*/
-import { DataStreamTreeTokenType, generateRandomId, Tools } from '@univerjs/core';
-import type { ICustomRange, ITextRange } from '@univerjs/core';
+import type { ITextRange } from '../../../../sheets/typedef';
+import type { ICustomRange } from '../../../../types/interfaces';
+import { generateRandomId, Tools } from '../../../../shared';
+import { DataStreamTreeTokenType } from '../../types';
export function isCustomRangeSplitSymbol(text: string) {
return text === DataStreamTreeTokenType.CUSTOM_RANGE_END || text === DataStreamTreeTokenType.CUSTOM_RANGE_START;
diff --git a/packages/core/src/docs/data-model/text-x/transform-utils.ts b/packages/core/src/docs/data-model/text-x/transform-utils.ts
index a127a43207..35d3c5faaf 100644
--- a/packages/core/src/docs/data-model/text-x/transform-utils.ts
+++ b/packages/core/src/docs/data-model/text-x/transform-utils.ts
@@ -14,16 +14,11 @@
* limitations under the License.
*/
-import type {
- IDocumentBody,
- IParagraph,
- IParagraphStyle,
- IRetainAction,
- ITextRun,
- ITextStyle,
- Nullable,
-} from '@univerjs/core';
-import { normalizeTextRuns, Tools } from '@univerjs/core';
+import type { Nullable } from '../../../shared';
+import type { IDocumentBody, IParagraph, IParagraphStyle, ITextRun, ITextStyle } from '../../../types/interfaces';
+import type { IRetainAction } from './action-types';
+import { Tools } from '../../../shared';
+import { normalizeTextRuns } from './apply-utils/common';
enum TextXTransformType {
// The properties on the target are always retained, and the properties on the origin are ignored.
diff --git a/packages/core/src/services/__tests__/index.ts b/packages/core/src/services/__tests__/index.ts
index 4cc2ee702d..b37184c23f 100644
--- a/packages/core/src/services/__tests__/index.ts
+++ b/packages/core/src/services/__tests__/index.ts
@@ -14,11 +14,15 @@
* limitations under the License.
*/
-import type { IWorkbookData } from '@univerjs/core';
-import { ICommandService, IUniverInstanceService, LocaleType, Plugin, Univer, UniverInstanceType } from '@univerjs/core';
-
import type { Dependency } from '../../common/di';
+import type { IWorkbookData } from '../../sheets/typedef';
import { Inject, Injector } from '../../common/di';
+import { UniverInstanceType } from '../../common/unit';
+import { LocaleType } from '../../types/enum';
+import { Univer } from '../../univer';
+import { ICommandService } from '../command/command.service';
+import { IUniverInstanceService } from '../instance/instance.service';
+import { Plugin } from '../plugin/plugin';
const TEST_WORKBOOK_DATA_DEMO: () => IWorkbookData = () => ({
id: 'test',
@@ -66,7 +70,7 @@ export const createTestBed = (dependencies?: Dependency[]) => {
univer.registerPlugin(TestPlugin);
const workbookJson = TEST_WORKBOOK_DATA_DEMO();
- const workbook = univer.createUniverSheet(workbookJson);
+ const workbook = univer.createUnit(UniverInstanceType.UNIVER_SHEET, workbookJson);
const univerInstanceService = injector.get(IUniverInstanceService);
const commandService = injector.get(ICommandService);
diff --git a/packages/core/src/services/resource-manager/type.ts b/packages/core/src/services/resource-manager/type.ts
index c3d72c4c74..df4544cecc 100644
--- a/packages/core/src/services/resource-manager/type.ts
+++ b/packages/core/src/services/resource-manager/type.ts
@@ -14,9 +14,9 @@
* limitations under the License.
*/
-import type { UniverInstanceType } from '@univerjs/core';
import type { Observable } from 'rxjs';
import type { IDisposable } from '../../common/di';
+import type { UniverInstanceType } from '../../common/unit';
import { createIdentifier } from '../../common/di';
export type IResources = Array<{ id?: string; name: string; data: string }>;
diff --git a/packages/data-validation/package.json b/packages/data-validation/package.json
index 0bec3bbc6d..b102b7f8eb 100644
--- a/packages/data-validation/package.json
+++ b/packages/data-validation/package.json
@@ -59,7 +59,6 @@
"build": "tsc && vite build"
},
"peerDependencies": {
- "@univerjs/core": "workspace:*",
"rxjs": ">=7.0.0"
},
"dependencies": {
diff --git a/packages/design/package.json b/packages/design/package.json
index a95c257114..52c9183191 100644
--- a/packages/design/package.json
+++ b/packages/design/package.json
@@ -61,8 +61,6 @@
"build": "tsc && vite build"
},
"peerDependencies": {
- "clsx": ">=2.0.0",
- "dayjs": ">=1.11.0",
"react": "^16.9.0 || ^17.0.0 || ^18.0.0",
"react-dom": "^16.9.0 || ^17.0.0 || ^18.0.0"
},
@@ -70,7 +68,7 @@
"@rc-component/color-picker": "^2.0.1",
"@rc-component/trigger": "^2.2.3",
"@types/react-mentions": "^4.4.0",
- "@univerjs/icons": "^0.1.78",
+ "@univerjs/icons": "^0.1.79",
"clsx": "^2.1.1",
"dayjs": "^1.11.13",
"rc-dialog": "^9.6.0",
@@ -92,7 +90,7 @@
"devDependencies": {
"@testing-library/react": "^16.0.1",
"@types/react": "^18.3.11",
- "@types/react-dom": "^18.3.0",
+ "@types/react-dom": "^18.3.1",
"@types/react-grid-layout": "^1.3.5",
"@types/react-transition-group": "^4.4.11",
"@univerjs-infra/shared": "workspace:*",
diff --git a/packages/docs-drawing-ui/package.json b/packages/docs-drawing-ui/package.json
index 9d41f4c6dc..5a2bc86b97 100644
--- a/packages/docs-drawing-ui/package.json
+++ b/packages/docs-drawing-ui/package.json
@@ -59,16 +59,6 @@
"build": "tsc && vite build"
},
"peerDependencies": {
- "@univerjs/core": "workspace:*",
- "@univerjs/design": "workspace:*",
- "@univerjs/docs": "workspace:*",
- "@univerjs/docs-drawing": "workspace:*",
- "@univerjs/docs-ui": "workspace:*",
- "@univerjs/drawing": "workspace:*",
- "@univerjs/drawing-ui": "workspace:*",
- "@univerjs/engine-render": "workspace:*",
- "@univerjs/ui": "workspace:*",
- "clsx": ">=2.0.0",
"react": "^16.9.0 || ^17.0.0 || ^18.0.0",
"rxjs": ">=7.0.0"
},
@@ -81,7 +71,7 @@
"@univerjs/drawing": "workspace:*",
"@univerjs/drawing-ui": "workspace:*",
"@univerjs/engine-render": "workspace:*",
- "@univerjs/icons": "^0.1.78",
+ "@univerjs/icons": "^0.1.79",
"@univerjs/ui": "workspace:*",
"clsx": "^2.1.1"
},
diff --git a/packages/docs-hyper-link-ui/package.json b/packages/docs-hyper-link-ui/package.json
index eb0a91acff..221bbc152d 100644
--- a/packages/docs-hyper-link-ui/package.json
+++ b/packages/docs-hyper-link-ui/package.json
@@ -59,14 +59,6 @@
"build": "tsc && vite build"
},
"peerDependencies": {
- "@univerjs/core": "workspace:*",
- "@univerjs/design": "workspace:*",
- "@univerjs/docs": "workspace:*",
- "@univerjs/docs-hyper-link": "workspace:*",
- "@univerjs/docs-ui": "workspace:*",
- "@univerjs/engine-render": "workspace:*",
- "@univerjs/ui": "workspace:*",
- "clsx": ">=2.0.0",
"react": "^16.9.0 || ^17.0.0 || ^18.0.0",
"rxjs": ">=7.0.0"
},
@@ -75,8 +67,9 @@
"@univerjs/design": "workspace:*",
"@univerjs/docs": "workspace:*",
"@univerjs/docs-hyper-link": "workspace:*",
+ "@univerjs/docs-ui": "workspace:*",
"@univerjs/engine-render": "workspace:*",
- "@univerjs/icons": "^0.1.78",
+ "@univerjs/icons": "^0.1.79",
"@univerjs/ui": "workspace:*",
"clsx": "^2.1.1"
},
diff --git a/packages/docs-hyper-link-ui/src/controllers/render-controllers/render.controller.ts b/packages/docs-hyper-link-ui/src/controllers/render-controllers/render.controller.ts
index e623aa59df..e1a0d9f351 100644
--- a/packages/docs-hyper-link-ui/src/controllers/render-controllers/render.controller.ts
+++ b/packages/docs-hyper-link-ui/src/controllers/render-controllers/render.controller.ts
@@ -15,8 +15,8 @@
*/
import type { DocumentDataModel } from '@univerjs/core';
-import { Disposable, Inject } from '@univerjs/core';
import type { IRenderContext, IRenderModule } from '@univerjs/engine-render';
+import { Disposable, Inject } from '@univerjs/core';
import { DOC_INTERCEPTOR_POINT, DocInterceptorService } from '@univerjs/docs';
import { DocRenderController } from '@univerjs/docs-ui';
import { distinctUntilChanged, pairwise } from 'rxjs';
diff --git a/packages/docs-hyper-link/package.json b/packages/docs-hyper-link/package.json
index a8d4c22677..68a2b9fc12 100644
--- a/packages/docs-hyper-link/package.json
+++ b/packages/docs-hyper-link/package.json
@@ -61,7 +61,7 @@
},
"dependencies": {
"@univerjs/core": "workspace:*",
- "@univerjs/icons": "^0.1.78"
+ "@univerjs/icons": "^0.1.79"
},
"devDependencies": {
"@univerjs-infra/shared": "workspace:*",
diff --git a/packages/docs-mention-ui/package.json b/packages/docs-mention-ui/package.json
index 8de82c12af..c1e4183079 100644
--- a/packages/docs-mention-ui/package.json
+++ b/packages/docs-mention-ui/package.json
@@ -59,12 +59,6 @@
"build": "tsc && vite build"
},
"peerDependencies": {
- "@univerjs/core": "workspace:*",
- "@univerjs/docs": "workspace:*",
- "@univerjs/docs-ui": "workspace:*",
- "@univerjs/engine-render": "workspace:*",
- "@univerjs/ui": "workspace:*",
- "clsx": ">=2.0.0",
"react": "^16.9.0 || ^17.0.0 || ^18.0.0",
"rxjs": ">=7.0.0"
},
diff --git a/packages/docs-thread-comment-ui/package.json b/packages/docs-thread-comment-ui/package.json
index f8db660bf0..8838521787 100644
--- a/packages/docs-thread-comment-ui/package.json
+++ b/packages/docs-thread-comment-ui/package.json
@@ -57,21 +57,17 @@
"build": "tsc && vite build"
},
"peerDependencies": {
- "@univerjs/core": "workspace:*",
- "@univerjs/docs": "workspace:*",
- "@univerjs/docs-ui": "workspace:*",
- "@univerjs/engine-render": "workspace:*",
- "@univerjs/thread-comment": "workspace:*",
- "@univerjs/thread-comment-ui": "workspace:*",
- "@univerjs/ui": "workspace:*",
"react": "^16.9.0 || ^17.0.0 || ^18.0.0",
"rxjs": ">=7.0.0"
},
"dependencies": {
"@univerjs/core": "workspace:*",
"@univerjs/design": "workspace:*",
+ "@univerjs/docs": "workspace:*",
+ "@univerjs/docs-ui": "workspace:*",
"@univerjs/engine-formula": "workspace:*",
- "@univerjs/icons": "^0.1.78",
+ "@univerjs/engine-render": "workspace:*",
+ "@univerjs/icons": "^0.1.79",
"@univerjs/thread-comment": "workspace:*",
"@univerjs/thread-comment-ui": "workspace:*",
"@univerjs/ui": "workspace:*",
diff --git a/packages/docs-thread-comment-ui/src/views/doc-thread-comment-panel/index.tsx b/packages/docs-thread-comment-ui/src/views/doc-thread-comment-panel/index.tsx
index 35bc4daaba..3f02112b82 100644
--- a/packages/docs-thread-comment-ui/src/views/doc-thread-comment-panel/index.tsx
+++ b/packages/docs-thread-comment-ui/src/views/doc-thread-comment-panel/index.tsx
@@ -14,19 +14,19 @@
* limitations under the License.
*/
+import type { DocumentDataModel } from '@univerjs/core';
+import type { IAddDocCommentComment } from '../../commands/commands/add-doc-comment.command';
import { ICommandService, Injector, IUniverInstanceService, UniverInstanceType, useDependency, useObservable } from '@univerjs/core';
import { DocSelectionManagerService, RichTextEditingMutation } from '@univerjs/docs';
import { ThreadCommentPanel } from '@univerjs/thread-comment-ui';
import React, { useEffect, useMemo, useState } from 'react';
import { debounceTime, Observable } from 'rxjs';
-import type { DocumentDataModel } from '@univerjs/core';
import { AddDocCommentComment } from '../../commands/commands/add-doc-comment.command';
import { DeleteDocCommentComment, type IDeleteDocCommentComment } from '../../commands/commands/delete-doc-comment.command';
import { StartAddCommentOperation } from '../../commands/operations/show-comment-panel.operation';
import { DEFAULT_DOC_SUBUNIT_ID } from '../../common/const';
import { shouldDisableAddComment } from '../../controllers/menu';
import { DocThreadCommentService } from '../../services/doc-thread-comment.service';
-import type { IAddDocCommentComment } from '../../commands/commands/add-doc-comment.command';
export const DocThreadCommentPanel = () => {
const univerInstanceService = useDependency(IUniverInstanceService);
diff --git a/packages/docs-ui/package.json b/packages/docs-ui/package.json
index 60e0f85eab..a969142e74 100644
--- a/packages/docs-ui/package.json
+++ b/packages/docs-ui/package.json
@@ -61,13 +61,6 @@
"build": "tsc && vite build"
},
"peerDependencies": {
- "@univerjs/core": "workspace:*",
- "@univerjs/design": "workspace:*",
- "@univerjs/docs": "workspace:*",
- "@univerjs/engine-formula": "workspace:*",
- "@univerjs/engine-render": "workspace:*",
- "@univerjs/ui": "workspace:*",
- "clsx": ">=2.0.0",
"react": "^16.9.0 || ^17.0.0 || ^18.0.0",
"rxjs": ">=7.0.0"
},
@@ -77,7 +70,7 @@
"@univerjs/docs": "workspace:*",
"@univerjs/engine-formula": "workspace:*",
"@univerjs/engine-render": "workspace:*",
- "@univerjs/icons": "^0.1.78",
+ "@univerjs/icons": "^0.1.79",
"@univerjs/ui": "workspace:*",
"clsx": "^2.1.1"
},
diff --git a/packages/docs/package.json b/packages/docs/package.json
index 5edeef3e6d..6bda1cf768 100644
--- a/packages/docs/package.json
+++ b/packages/docs/package.json
@@ -59,8 +59,6 @@
"build": "tsc && vite build"
},
"peerDependencies": {
- "@univerjs/core": "workspace:*",
- "@univerjs/engine-render": "workspace:*",
"rxjs": ">=7.0.0"
},
"dependencies": {
diff --git a/packages/drawing-ui/package.json b/packages/drawing-ui/package.json
index 7196a95992..b897d3095d 100644
--- a/packages/drawing-ui/package.json
+++ b/packages/drawing-ui/package.json
@@ -59,12 +59,6 @@
"build": "tsc && vite build"
},
"peerDependencies": {
- "@univerjs/core": "workspace:*",
- "@univerjs/design": "workspace:*",
- "@univerjs/drawing": "workspace:*",
- "@univerjs/engine-render": "workspace:*",
- "@univerjs/ui": "workspace:*",
- "clsx": ">=2.0.0",
"react": "^16.9.0 || ^17.0.0 || ^18.0.0",
"rxjs": ">=7.0.0"
},
@@ -73,7 +67,7 @@
"@univerjs/design": "workspace:*",
"@univerjs/drawing": "workspace:*",
"@univerjs/engine-render": "workspace:*",
- "@univerjs/icons": "^0.1.78",
+ "@univerjs/icons": "^0.1.79",
"@univerjs/ui": "workspace:*",
"clsx": "^2.1.1"
},
diff --git a/packages/drawing/package.json b/packages/drawing/package.json
index 13d4e36c63..a423638293 100644
--- a/packages/drawing/package.json
+++ b/packages/drawing/package.json
@@ -57,12 +57,11 @@
"build": "tsc && vite build"
},
"peerDependencies": {
- "@univerjs/core": "workspace:*",
"rxjs": ">=7.0.0"
},
"dependencies": {
"@univerjs/core": "workspace:*",
- "@univerjs/icons": "^0.1.78",
+ "@univerjs/icons": "^0.1.79",
"ot-json1": "^1.0.2"
},
"devDependencies": {
diff --git a/packages/engine-formula/package.json b/packages/engine-formula/package.json
index f47b78f519..9ff5e85c7d 100644
--- a/packages/engine-formula/package.json
+++ b/packages/engine-formula/package.json
@@ -59,8 +59,6 @@
"build": "tsc && vite build"
},
"peerDependencies": {
- "@univerjs/core": "workspace:*",
- "@univerjs/rpc": "workspace:*",
"rxjs": ">=7.0.0"
},
"dependencies": {
diff --git a/packages/engine-render/package.json b/packages/engine-render/package.json
index f01df4251a..d16c5568a7 100644
--- a/packages/engine-render/package.json
+++ b/packages/engine-render/package.json
@@ -59,7 +59,6 @@
"build": "tsc && vite build"
},
"peerDependencies": {
- "@univerjs/core": "workspace:*",
"rxjs": ">=7.0.0"
},
"dependencies": {
diff --git a/packages/facade/package.json b/packages/facade/package.json
index dca437f92e..fc99a8cbcd 100644
--- a/packages/facade/package.json
+++ b/packages/facade/package.json
@@ -59,26 +59,6 @@
"build": "tsc && vite build"
},
"peerDependencies": {
- "@univerjs/core": "workspace:*",
- "@univerjs/data-validation": "workspace:*",
- "@univerjs/docs-ui": "workspace:*",
- "@univerjs/engine-formula": "workspace:*",
- "@univerjs/engine-render": "workspace:*",
- "@univerjs/network": "workspace:*",
- "@univerjs/sheets": "workspace:*",
- "@univerjs/sheets-crosshair-highlight": "workspace:*",
- "@univerjs/sheets-data-validation": "workspace:*",
- "@univerjs/sheets-drawing-ui": "workspace:*",
- "@univerjs/sheets-filter": "workspace:*",
- "@univerjs/sheets-filter-ui": "workspace:*",
- "@univerjs/sheets-formula": "workspace:*",
- "@univerjs/sheets-hyper-link-ui": "workspace:*",
- "@univerjs/sheets-numfmt": "workspace:*",
- "@univerjs/sheets-thread-comment": "workspace:*",
- "@univerjs/sheets-ui": "workspace:*",
- "@univerjs/thread-comment": "workspace:*",
- "@univerjs/thread-comment-ui": "workspace:*",
- "@univerjs/ui": "workspace:*",
"rxjs": ">=7.0.0"
},
"dependencies": {
diff --git a/packages/find-replace/package.json b/packages/find-replace/package.json
index c583ad9cd5..b64f811511 100644
--- a/packages/find-replace/package.json
+++ b/packages/find-replace/package.json
@@ -61,10 +61,6 @@
"build": "tsc && vite build"
},
"peerDependencies": {
- "@univerjs/core": "workspace:*",
- "@univerjs/design": "workspace:*",
- "@univerjs/engine-render": "workspace:*",
- "@univerjs/ui": "workspace:*",
"react": "^16.9.0 || ^17.0.0 || ^18.0.0",
"rxjs": ">=7.0.0"
},
@@ -73,7 +69,7 @@
"@univerjs/design": "workspace:*",
"@univerjs/engine-formula": "workspace:*",
"@univerjs/engine-render": "workspace:*",
- "@univerjs/icons": "^0.1.78",
+ "@univerjs/icons": "^0.1.79",
"@univerjs/ui": "workspace:*"
},
"devDependencies": {
diff --git a/packages/network/package.json b/packages/network/package.json
index 0fa6f30519..38ab0544e8 100644
--- a/packages/network/package.json
+++ b/packages/network/package.json
@@ -58,7 +58,6 @@
"build": "tsc && vite build"
},
"peerDependencies": {
- "@univerjs/core": "workspace:*",
"rxjs": ">=7.0.0"
},
"dependencies": {
diff --git a/packages/rpc/package.json b/packages/rpc/package.json
index e4978805d5..55e1c8c2af 100644
--- a/packages/rpc/package.json
+++ b/packages/rpc/package.json
@@ -55,7 +55,6 @@
"build": "tsc && vite build"
},
"peerDependencies": {
- "@univerjs/core": "workspace:*",
"rxjs": ">=7.0.0"
},
"dependencies": {
diff --git a/packages/sheets-conditional-formatting-ui/package.json b/packages/sheets-conditional-formatting-ui/package.json
index d0de407b6f..89dae206bf 100644
--- a/packages/sheets-conditional-formatting-ui/package.json
+++ b/packages/sheets-conditional-formatting-ui/package.json
@@ -61,16 +61,6 @@
"build": "tsc && vite build"
},
"peerDependencies": {
- "@univerjs/core": "workspace:*",
- "@univerjs/design": "workspace:*",
- "@univerjs/docs-ui": "workspace:*",
- "@univerjs/engine-formula": "workspace:*",
- "@univerjs/engine-render": "workspace:*",
- "@univerjs/sheets": "workspace:*",
- "@univerjs/sheets-conditional-formatting": "workspace:*",
- "@univerjs/sheets-ui": "workspace:*",
- "@univerjs/ui": "workspace:*",
- "clsx": ">=2.0.0",
"react": "^16.9.0 || ^17.0.0 || ^18.0.0",
"react-dom": "^16.9.0 || ^17.0.0 || ^18.0.0",
"rxjs": ">=7.0.0"
@@ -81,7 +71,7 @@
"@univerjs/docs-ui": "workspace:*",
"@univerjs/engine-formula": "workspace:*",
"@univerjs/engine-render": "workspace:*",
- "@univerjs/icons": "^0.1.78",
+ "@univerjs/icons": "^0.1.79",
"@univerjs/protocol": "0.1.39-alpha.15",
"@univerjs/sheets": "workspace:*",
"@univerjs/sheets-conditional-formatting": "workspace:*",
diff --git a/packages/sheets-conditional-formatting/package.json b/packages/sheets-conditional-formatting/package.json
index f4da7ec772..579d030768 100644
--- a/packages/sheets-conditional-formatting/package.json
+++ b/packages/sheets-conditional-formatting/package.json
@@ -60,11 +60,6 @@
"build": "tsc && vite build"
},
"peerDependencies": {
- "@univerjs/core": "workspace:*",
- "@univerjs/engine-formula": "workspace:*",
- "@univerjs/engine-render": "workspace:*",
- "@univerjs/sheets": "workspace:*",
- "dayjs": ">=1.11.0",
"rxjs": ">=7.0.0"
},
"dependencies": {
diff --git a/packages/sheets-crosshair-highlight/package.json b/packages/sheets-crosshair-highlight/package.json
index b22e924303..41df0e4b8c 100644
--- a/packages/sheets-crosshair-highlight/package.json
+++ b/packages/sheets-crosshair-highlight/package.json
@@ -59,19 +59,13 @@
"build": "tsc && vite build"
},
"peerDependencies": {
- "@univerjs/core": "workspace:*",
- "@univerjs/engine-render": "workspace:*",
- "@univerjs/sheets": "workspace:*",
- "@univerjs/sheets-ui": "workspace:*",
- "@univerjs/ui": "workspace:*",
- "clsx": ">=2.0.0",
"react": "^16.9.0 || ^17.0.0 || ^18.0.0",
"rxjs": ">=7.0.0"
},
"dependencies": {
"@univerjs/core": "workspace:*",
"@univerjs/engine-render": "workspace:*",
- "@univerjs/icons": "^0.1.78",
+ "@univerjs/icons": "^0.1.79",
"@univerjs/sheets": "workspace:*",
"@univerjs/sheets-ui": "workspace:*",
"@univerjs/ui": "workspace:*",
diff --git a/packages/sheets-data-validation-ui/package.json b/packages/sheets-data-validation-ui/package.json
index 9cb0bb3609..22b6d7790e 100644
--- a/packages/sheets-data-validation-ui/package.json
+++ b/packages/sheets-data-validation-ui/package.json
@@ -62,20 +62,6 @@
"lint:types": "tsc --noEmit"
},
"peerDependencies": {
- "@univerjs/core": "workspace:*",
- "@univerjs/data-validation": "workspace:*",
- "@univerjs/design": "workspace:*",
- "@univerjs/docs": "workspace:*",
- "@univerjs/docs-ui": "workspace:*",
- "@univerjs/engine-formula": "workspace:*",
- "@univerjs/engine-render": "workspace:*",
- "@univerjs/sheets": "workspace:*",
- "@univerjs/sheets-data-validation": "workspace:*",
- "@univerjs/sheets-numfmt": "workspace:*",
- "@univerjs/sheets-ui": "workspace:*",
- "@univerjs/ui": "workspace:*",
- "clsx": ">=2.0.0",
- "dayjs": ">=1.11.0",
"react": "^16.9.0 || ^17.0.0 || ^18.0.0",
"rxjs": ">=7.0.0"
},
@@ -88,7 +74,7 @@
"@univerjs/docs-ui": "workspace:*",
"@univerjs/engine-formula": "workspace:*",
"@univerjs/engine-render": "workspace:*",
- "@univerjs/icons": "^0.1.78",
+ "@univerjs/icons": "^0.1.79",
"@univerjs/protocol": "0.1.39-alpha.15",
"@univerjs/sheets": "workspace:*",
"@univerjs/sheets-data-validation": "workspace:*",
diff --git a/packages/sheets-data-validation/package.json b/packages/sheets-data-validation/package.json
index 5724888b52..cb57bde357 100644
--- a/packages/sheets-data-validation/package.json
+++ b/packages/sheets-data-validation/package.json
@@ -60,12 +60,6 @@
"lint:types": "tsc --noEmit"
},
"peerDependencies": {
- "@univerjs/core": "workspace:*",
- "@univerjs/data-validation": "workspace:*",
- "@univerjs/engine-formula": "workspace:*",
- "@univerjs/sheets": "workspace:*",
- "@univerjs/sheets-formula": "workspace:*",
- "dayjs": ">=1.11.0",
"rxjs": ">=7.0.0"
},
"dependencies": {
@@ -73,7 +67,7 @@
"@univerjs/core": "workspace:*",
"@univerjs/data-validation": "workspace:*",
"@univerjs/engine-formula": "workspace:*",
- "@univerjs/icons": "^0.1.78",
+ "@univerjs/icons": "^0.1.79",
"@univerjs/protocol": "0.1.39-alpha.15",
"@univerjs/sheets": "workspace:*",
"@univerjs/sheets-formula": "workspace:*",
diff --git a/packages/sheets-drawing-ui/package.json b/packages/sheets-drawing-ui/package.json
index efba4ff52c..79497e7af4 100644
--- a/packages/sheets-drawing-ui/package.json
+++ b/packages/sheets-drawing-ui/package.json
@@ -59,16 +59,6 @@
"build": "tsc && vite build"
},
"peerDependencies": {
- "@univerjs/core": "workspace:*",
- "@univerjs/design": "workspace:*",
- "@univerjs/drawing": "workspace:*",
- "@univerjs/drawing-ui": "workspace:*",
- "@univerjs/engine-render": "workspace:*",
- "@univerjs/sheets": "workspace:*",
- "@univerjs/sheets-drawing": "workspace:*",
- "@univerjs/sheets-ui": "workspace:*",
- "@univerjs/ui": "workspace:*",
- "clsx": ">=2.0.0",
"react": "^16.9.0 || ^17.0.0 || ^18.0.0",
"rxjs": ">=7.0.0"
},
@@ -78,7 +68,7 @@
"@univerjs/drawing": "workspace:*",
"@univerjs/drawing-ui": "workspace:*",
"@univerjs/engine-render": "workspace:*",
- "@univerjs/icons": "^0.1.78",
+ "@univerjs/icons": "^0.1.79",
"@univerjs/sheets": "workspace:*",
"@univerjs/sheets-drawing": "workspace:*",
"@univerjs/sheets-ui": "workspace:*",
diff --git a/packages/sheets-drawing/package.json b/packages/sheets-drawing/package.json
index 3475843bef..de4e3b30d0 100644
--- a/packages/sheets-drawing/package.json
+++ b/packages/sheets-drawing/package.json
@@ -62,8 +62,7 @@
},
"dependencies": {
"@univerjs/core": "workspace:*",
- "@univerjs/drawing": "workspace:*",
- "@univerjs/sheets": "workspace:*"
+ "@univerjs/drawing": "workspace:*"
},
"devDependencies": {
"@univerjs-infra/shared": "workspace:*",
diff --git a/packages/sheets-filter-ui/package.json b/packages/sheets-filter-ui/package.json
index 72211f3f06..d3c7d8f6ca 100644
--- a/packages/sheets-filter-ui/package.json
+++ b/packages/sheets-filter-ui/package.json
@@ -59,14 +59,6 @@
"build": "tsc && vite build"
},
"peerDependencies": {
- "@univerjs/core": "workspace:*",
- "@univerjs/design": "workspace:*",
- "@univerjs/engine-render": "workspace:*",
- "@univerjs/rpc": "workspace:*",
- "@univerjs/sheets": "workspace:*",
- "@univerjs/sheets-filter": "workspace:*",
- "@univerjs/sheets-ui": "workspace:*",
- "@univerjs/ui": "workspace:*",
"react": "^16.9.0 || ^17.0.0 || ^18.0.0",
"react-dom": "^16.9.0 || ^17.0.0 || ^18.0.0",
"rxjs": ">=7.0.0"
@@ -75,7 +67,7 @@
"@univerjs/core": "workspace:*",
"@univerjs/design": "workspace:*",
"@univerjs/engine-render": "workspace:*",
- "@univerjs/icons": "^0.1.78",
+ "@univerjs/icons": "^0.1.79",
"@univerjs/rpc": "workspace:*",
"@univerjs/sheets": "workspace:*",
"@univerjs/sheets-filter": "workspace:*",
diff --git a/packages/sheets-filter/package.json b/packages/sheets-filter/package.json
index f4d1d6e6e8..7d8856ca29 100644
--- a/packages/sheets-filter/package.json
+++ b/packages/sheets-filter/package.json
@@ -57,8 +57,6 @@
"build": "tsc && vite build"
},
"peerDependencies": {
- "@univerjs/core": "workspace:*",
- "@univerjs/sheets": "workspace:*",
"rxjs": ">=7.0.0"
},
"dependencies": {
diff --git a/packages/sheets-find-replace/package.json b/packages/sheets-find-replace/package.json
index 16ae9ed7bd..ebbd19e30d 100644
--- a/packages/sheets-find-replace/package.json
+++ b/packages/sheets-find-replace/package.json
@@ -61,11 +61,6 @@
"build": "tsc && vite build"
},
"peerDependencies": {
- "@univerjs/core": "workspace:*",
- "@univerjs/engine-render": "workspace:*",
- "@univerjs/find-replace": "workspace:*",
- "@univerjs/sheets": "workspace:*",
- "@univerjs/sheets-ui": "workspace:*",
"rxjs": ">=7.0.0"
},
"dependencies": {
diff --git a/packages/sheets-formula-ui/package.json b/packages/sheets-formula-ui/package.json
index 565ad027c9..720c3c902f 100644
--- a/packages/sheets-formula-ui/package.json
+++ b/packages/sheets-formula-ui/package.json
@@ -64,16 +64,6 @@
"sync:cnpm": "cnpm sync"
},
"peerDependencies": {
- "@univerjs/core": "workspace:*",
- "@univerjs/design": "workspace:*",
- "@univerjs/docs": "workspace:*",
- "@univerjs/docs-ui": "workspace:*",
- "@univerjs/engine-formula": "workspace:*",
- "@univerjs/engine-render": "workspace:*",
- "@univerjs/sheets": "workspace:*",
- "@univerjs/sheets-formula": "workspace:*",
- "@univerjs/sheets-ui": "workspace:*",
- "@univerjs/ui": "workspace:*",
"react": "^16.9.0 || ^17.0.0 || ^18.0.0",
"rxjs": ">=7.0.0"
},
@@ -84,7 +74,7 @@
"@univerjs/docs-ui": "workspace:*",
"@univerjs/engine-formula": "workspace:*",
"@univerjs/engine-render": "workspace:*",
- "@univerjs/icons": "^0.1.78",
+ "@univerjs/icons": "^0.1.79",
"@univerjs/sheets": "workspace:*",
"@univerjs/sheets-formula": "workspace:*",
"@univerjs/sheets-numfmt": "workspace:*",
diff --git a/packages/sheets-formula/package.json b/packages/sheets-formula/package.json
index 1b8611c7db..2f8008c70c 100644
--- a/packages/sheets-formula/package.json
+++ b/packages/sheets-formula/package.json
@@ -58,10 +58,6 @@
"build": "tsc && vite build"
},
"peerDependencies": {
- "@univerjs/core": "workspace:*",
- "@univerjs/engine-formula": "workspace:*",
- "@univerjs/rpc": "workspace:*",
- "@univerjs/sheets": "workspace:*",
"rxjs": ">=7.0.0"
},
"dependencies": {
@@ -69,7 +65,7 @@
"@univerjs/design": "workspace:*",
"@univerjs/docs": "workspace:*",
"@univerjs/engine-formula": "workspace:*",
- "@univerjs/icons": "^0.1.78",
+ "@univerjs/icons": "^0.1.79",
"@univerjs/rpc": "workspace:*",
"@univerjs/sheets": "workspace:*",
"@univerjs/sheets-numfmt": "workspace:*",
diff --git a/packages/sheets-hyper-link-ui/package.json b/packages/sheets-hyper-link-ui/package.json
index 708d289f6a..656e12b8ce 100644
--- a/packages/sheets-hyper-link-ui/package.json
+++ b/packages/sheets-hyper-link-ui/package.json
@@ -61,17 +61,6 @@
"build": "tsc && vite build"
},
"peerDependencies": {
- "@univerjs/core": "workspace:*",
- "@univerjs/design": "workspace:*",
- "@univerjs/docs": "workspace:*",
- "@univerjs/docs-ui": "workspace:*",
- "@univerjs/engine-formula": "workspace:*",
- "@univerjs/engine-render": "workspace:*",
- "@univerjs/sheets": "workspace:*",
- "@univerjs/sheets-hyper-link": "workspace:*",
- "@univerjs/sheets-ui": "workspace:*",
- "@univerjs/ui": "workspace:*",
- "clsx": ">=2.0.0",
"react": "^16.9.0 || ^17.0.0 || ^18.0.0",
"rxjs": ">=7.0.0"
},
@@ -82,7 +71,7 @@
"@univerjs/docs-ui": "workspace:*",
"@univerjs/engine-formula": "workspace:*",
"@univerjs/engine-render": "workspace:*",
- "@univerjs/icons": "^0.1.78",
+ "@univerjs/icons": "^0.1.79",
"@univerjs/sheets": "workspace:*",
"@univerjs/sheets-hyper-link": "workspace:*",
"@univerjs/sheets-ui": "workspace:*",
diff --git a/packages/sheets-hyper-link/package.json b/packages/sheets-hyper-link/package.json
index e9ad71a881..c3f4e2d0f9 100644
--- a/packages/sheets-hyper-link/package.json
+++ b/packages/sheets-hyper-link/package.json
@@ -57,9 +57,6 @@
"build": "tsc && vite build"
},
"peerDependencies": {
- "@univerjs/core": "workspace:*",
- "@univerjs/engine-formula": "workspace:*",
- "@univerjs/sheets": "workspace:*",
"rxjs": ">=7.0.0"
},
"dependencies": {
diff --git a/packages/sheets-numfmt/package.json b/packages/sheets-numfmt/package.json
index 2622c22baf..367d60b484 100644
--- a/packages/sheets-numfmt/package.json
+++ b/packages/sheets-numfmt/package.json
@@ -61,13 +61,6 @@
"build": "tsc && vite build"
},
"peerDependencies": {
- "@univerjs/core": "workspace:*",
- "@univerjs/design": "workspace:*",
- "@univerjs/engine-numfmt": "workspace:*",
- "@univerjs/engine-render": "workspace:*",
- "@univerjs/sheets": "workspace:*",
- "@univerjs/sheets-ui": "workspace:*",
- "@univerjs/ui": "workspace:*",
"react": "^16.9.0 || ^17.0.0 || ^18.0.0",
"rxjs": ">=7.0.0"
},
@@ -77,7 +70,7 @@
"@univerjs/engine-formula": "workspace:*",
"@univerjs/engine-numfmt": "workspace:*",
"@univerjs/engine-render": "workspace:*",
- "@univerjs/icons": "^0.1.78",
+ "@univerjs/icons": "^0.1.79",
"@univerjs/sheets": "workspace:*",
"@univerjs/sheets-ui": "workspace:*",
"@univerjs/ui": "workspace:*"
diff --git a/packages/sheets-sort-ui/package.json b/packages/sheets-sort-ui/package.json
index 6837fb1aa0..1444410a35 100644
--- a/packages/sheets-sort-ui/package.json
+++ b/packages/sheets-sort-ui/package.json
@@ -59,27 +59,21 @@
"build": "tsc && vite build"
},
"peerDependencies": {
- "@univerjs/core": "workspace:*",
- "@univerjs/design": "workspace:*",
- "@univerjs/engine-formula": "workspace:*",
- "@univerjs/sheets": "workspace:*",
- "@univerjs/sheets-sort": "workspace:*",
- "@univerjs/sheets-ui": "workspace:*",
- "@univerjs/ui": "workspace:*",
"react": "^16.9.0 || ^17.0.0 || ^18.0.0",
"rxjs": ">=7.0.0"
},
"dependencies": {
"@univerjs/core": "workspace:*",
"@univerjs/design": "workspace:*",
+ "@univerjs/engine-formula": "workspace:*",
"@univerjs/engine-render": "workspace:*",
- "@univerjs/icons": "^0.1.78",
+ "@univerjs/icons": "^0.1.79",
"@univerjs/sheets": "workspace:*",
"@univerjs/sheets-sort": "workspace:*",
"@univerjs/sheets-ui": "workspace:*",
"@univerjs/ui": "workspace:*",
"clsx": "^2.1.1",
- "rc-virtual-list": "^3.14.5"
+ "rc-virtual-list": "^3.14.8"
},
"devDependencies": {
"@univerjs-infra/shared": "workspace:*",
diff --git a/packages/sheets-thread-comment-base/package.json b/packages/sheets-thread-comment-base/package.json
index d0646a6f87..29d6b5da38 100644
--- a/packages/sheets-thread-comment-base/package.json
+++ b/packages/sheets-thread-comment-base/package.json
@@ -57,16 +57,13 @@
"build": "tsc && vite build"
},
"peerDependencies": {
- "@univerjs/core": "workspace:*",
- "@univerjs/engine-formula": "workspace:*",
- "@univerjs/sheets": "workspace:*",
- "@univerjs/thread-comment": "workspace:*",
"rxjs": ">=7.0.0"
},
"dependencies": {
"@univerjs/core": "workspace:*",
"@univerjs/design": "workspace:*",
"@univerjs/engine-formula": "workspace:*",
+ "@univerjs/sheets": "workspace:*",
"@univerjs/thread-comment": "workspace:*",
"@univerjs/ui": "workspace:*"
},
diff --git a/packages/sheets-thread-comment/package.json b/packages/sheets-thread-comment/package.json
index b90705a186..0fe17fad23 100644
--- a/packages/sheets-thread-comment/package.json
+++ b/packages/sheets-thread-comment/package.json
@@ -59,15 +59,6 @@
"build": "tsc && vite build"
},
"peerDependencies": {
- "@univerjs/core": "workspace:*",
- "@univerjs/engine-formula": "workspace:*",
- "@univerjs/engine-render": "workspace:*",
- "@univerjs/sheets": "workspace:*",
- "@univerjs/sheets-thread-comment-base": "workspace:*",
- "@univerjs/sheets-ui": "workspace:*",
- "@univerjs/thread-comment": "workspace:*",
- "@univerjs/thread-comment-ui": "workspace:*",
- "@univerjs/ui": "workspace:*",
"react": "^16.9.0 || ^17.0.0 || ^18.0.0",
"rxjs": ">=7.0.0"
},
@@ -75,8 +66,11 @@
"@univerjs/core": "workspace:*",
"@univerjs/design": "workspace:*",
"@univerjs/engine-formula": "workspace:*",
- "@univerjs/icons": "^0.1.78",
+ "@univerjs/engine-render": "workspace:*",
+ "@univerjs/icons": "^0.1.79",
+ "@univerjs/sheets": "workspace:*",
"@univerjs/sheets-thread-comment-base": "workspace:*",
+ "@univerjs/sheets-ui": "workspace:*",
"@univerjs/thread-comment": "workspace:*",
"@univerjs/thread-comment-ui": "workspace:*",
"@univerjs/ui": "workspace:*",
diff --git a/packages/sheets-ui/package.json b/packages/sheets-ui/package.json
index cf8db1c65a..d1c10e3801 100644
--- a/packages/sheets-ui/package.json
+++ b/packages/sheets-ui/package.json
@@ -61,16 +61,6 @@
"build": "tsc && vite build"
},
"peerDependencies": {
- "@univerjs/core": "workspace:*",
- "@univerjs/design": "workspace:*",
- "@univerjs/docs": "workspace:*",
- "@univerjs/docs-ui": "workspace:*",
- "@univerjs/engine-formula": "workspace:*",
- "@univerjs/engine-render": "workspace:*",
- "@univerjs/sheets": "workspace:*",
- "@univerjs/telemetry": "workspace:*",
- "@univerjs/ui": "workspace:*",
- "clsx": ">=2.0.0",
"react": "^16.9.0 || ^17.0.0 || ^18.0.0",
"rxjs": ">=7.0.0"
},
@@ -81,7 +71,7 @@
"@univerjs/docs-ui": "workspace:*",
"@univerjs/engine-formula": "workspace:*",
"@univerjs/engine-render": "workspace:*",
- "@univerjs/icons": "^0.1.78",
+ "@univerjs/icons": "^0.1.79",
"@univerjs/protocol": "0.1.39-alpha.15",
"@univerjs/sheets": "workspace:*",
"@univerjs/telemetry": "workspace:*",
diff --git a/packages/sheets-zen-editor/package.json b/packages/sheets-zen-editor/package.json
index acaf1e6b63..e1283c9e00 100644
--- a/packages/sheets-zen-editor/package.json
+++ b/packages/sheets-zen-editor/package.json
@@ -61,13 +61,6 @@
"build": "tsc && vite build"
},
"peerDependencies": {
- "@univerjs/core": "workspace:*",
- "@univerjs/docs-ui": "workspace:*",
- "@univerjs/engine-render": "workspace:*",
- "@univerjs/sheets": "workspace:*",
- "@univerjs/sheets-ui": "workspace:*",
- "@univerjs/ui": "workspace:*",
- "clsx": ">=2.0.0",
"react": "^16.9.0 || ^17.0.0 || ^18.0.0",
"rxjs": ">=7.0.0"
},
@@ -77,7 +70,7 @@
"@univerjs/docs": "workspace:*",
"@univerjs/docs-ui": "workspace:*",
"@univerjs/engine-render": "workspace:*",
- "@univerjs/icons": "^0.1.78",
+ "@univerjs/icons": "^0.1.79",
"@univerjs/sheets": "workspace:*",
"@univerjs/sheets-ui": "workspace:*",
"@univerjs/ui": "workspace:*",
diff --git a/packages/sheets/package.json b/packages/sheets/package.json
index 45e68f78e2..6211e4fa20 100644
--- a/packages/sheets/package.json
+++ b/packages/sheets/package.json
@@ -61,11 +61,6 @@
"build": "tsc && vite build"
},
"peerDependencies": {
- "@univerjs/core": "workspace:*",
- "@univerjs/engine-formula": "workspace:*",
- "@univerjs/engine-numfmt": "workspace:*",
- "@univerjs/rpc": "workspace:*",
- "@univerjs/sheets": "workspace:*",
"rxjs": ">=7.0.0"
},
"dependencies": {
diff --git a/packages/slides-ui/package.json b/packages/slides-ui/package.json
index ed8eb98c60..78b3c4be53 100644
--- a/packages/slides-ui/package.json
+++ b/packages/slides-ui/package.json
@@ -61,15 +61,6 @@
"build": "tsc && vite build"
},
"peerDependencies": {
- "@univerjs/core": "workspace:*",
- "@univerjs/design": "workspace:*",
- "@univerjs/docs": "workspace:*",
- "@univerjs/docs-ui": "workspace:*",
- "@univerjs/drawing": "workspace:*",
- "@univerjs/engine-render": "workspace:*",
- "@univerjs/slides": "workspace:*",
- "@univerjs/ui": "workspace:*",
- "clsx": ">=2.0.0",
"react": "^16.9.0 || ^17.0.0 || ^18.0.0",
"rxjs": ">=7.0.0"
},
@@ -80,7 +71,7 @@
"@univerjs/docs-ui": "workspace:*",
"@univerjs/drawing": "workspace:*",
"@univerjs/engine-render": "workspace:*",
- "@univerjs/icons": "^0.1.78",
+ "@univerjs/icons": "^0.1.79",
"@univerjs/slides": "workspace:*",
"@univerjs/ui": "workspace:*",
"clsx": "^2.1.1"
diff --git a/packages/thread-comment-ui/package.json b/packages/thread-comment-ui/package.json
index 6ef506ff49..965f88fa86 100644
--- a/packages/thread-comment-ui/package.json
+++ b/packages/thread-comment-ui/package.json
@@ -59,15 +59,6 @@
"build": "tsc && vite build"
},
"peerDependencies": {
- "@univerjs/core": "workspace:*",
- "@univerjs/design": "workspace:*",
- "@univerjs/docs": "workspace:*",
- "@univerjs/docs-ui": "workspace:*",
- "@univerjs/engine-render": "workspace:*",
- "@univerjs/thread-comment": "workspace:*",
- "@univerjs/ui": "workspace:*",
- "clsx": ">=2.0.0",
- "dayjs": ">=1.11.0",
"react": "^16.9.0 || ^17.0.0 || ^18.0.0",
"rxjs": ">=7.0.0"
},
@@ -77,7 +68,7 @@
"@univerjs/docs": "workspace:*",
"@univerjs/docs-ui": "workspace:*",
"@univerjs/engine-render": "workspace:*",
- "@univerjs/icons": "^0.1.78",
+ "@univerjs/icons": "^0.1.79",
"@univerjs/protocol": "0.1.39-alpha.15",
"@univerjs/thread-comment": "workspace:*",
"@univerjs/ui": "workspace:*",
diff --git a/packages/thread-comment/package.json b/packages/thread-comment/package.json
index 992c900b0e..9260ec0252 100644
--- a/packages/thread-comment/package.json
+++ b/packages/thread-comment/package.json
@@ -57,7 +57,6 @@
"build": "tsc && vite build"
},
"peerDependencies": {
- "@univerjs/core": "workspace:*",
"rxjs": ">=7.0.0"
},
"dependencies": {
diff --git a/packages/ui/package.json b/packages/ui/package.json
index 5ee4f26de0..d57c87c5d7 100644
--- a/packages/ui/package.json
+++ b/packages/ui/package.json
@@ -61,11 +61,6 @@
"build": "tsc && vite build"
},
"peerDependencies": {
- "@univerjs/core": "workspace:*",
- "@univerjs/design": "workspace:*",
- "@univerjs/engine-render": "workspace:*",
- "@univerjs/ui": "workspace:*",
- "clsx": ">=2.0.0",
"react": "^16.9.0 || ^17.0.0 || ^18.0.0",
"react-dom": "^16.9.0 || ^17.0.0 || ^18.0.0",
"rxjs": ">=7.0.0"
@@ -75,7 +70,7 @@
"@univerjs/design": "workspace:*",
"@univerjs/engine-formula": "workspace:*",
"@univerjs/engine-render": "workspace:*",
- "@univerjs/icons": "^0.1.78",
+ "@univerjs/icons": "^0.1.79",
"clsx": "^2.1.1",
"localforage": "^1.10.0",
"rc-notification": "^5.6.2",
@@ -88,7 +83,7 @@
"@testing-library/react": "^16.0.1",
"@testing-library/react-hooks": "^8.0.1",
"@types/react": "^18.3.11",
- "@types/react-dom": "^18.3.0",
+ "@types/react-dom": "^18.3.1",
"@types/react-transition-group": "^4.4.11",
"@univerjs-infra/shared": "workspace:*",
"less": "^4.2.0",
diff --git a/packages/ui/src/components/font-family/interface.ts b/packages/ui/src/components/font-family/interface.ts
index 09ed4fdf09..45efff53f0 100644
--- a/packages/ui/src/components/font-family/interface.ts
+++ b/packages/ui/src/components/font-family/interface.ts
@@ -14,7 +14,7 @@
* limitations under the License.
*/
-import type { ICustomComponentProps } from '@univerjs/ui';
+import type { ICustomComponentProps } from '../../services/menu/menu';
export interface IFontFamilyProps extends ICustomComponentProps<string> {
value: string;
diff --git a/packages/ui/src/components/font-size/interface.ts b/packages/ui/src/components/font-size/interface.ts
index 71ea6e2cab..8a74388259 100644
--- a/packages/ui/src/components/font-size/interface.ts
+++ b/packages/ui/src/components/font-size/interface.ts
@@ -14,8 +14,8 @@
* limitations under the License.
*/
-import type { ICustomComponentProps } from '@univerjs/ui';
import type { Observable } from 'rxjs';
+import type { ICustomComponentProps } from '../../services/menu/menu';
export interface IFontSizeProps extends ICustomComponentProps<string> {
value: string;
diff --git a/packages/ui/src/views/components/shortcut-panel/ShortcutPanel.tsx b/packages/ui/src/views/components/shortcut-panel/ShortcutPanel.tsx
index edc0b75c16..84f85780c7 100644
--- a/packages/ui/src/views/components/shortcut-panel/ShortcutPanel.tsx
+++ b/packages/ui/src/views/components/shortcut-panel/ShortcutPanel.tsx
@@ -15,9 +15,9 @@
*/
import { LocaleService, useDependency } from '@univerjs/core';
-import { useObservable } from '@univerjs/ui';
import React, { useCallback, useEffect } from 'react';
+import { useObservable } from '../../../components/hooks/observable';
import { IShortcutService } from '../../../services/shortcut/shortcut.service';
import styles from './index.module.less';
diff --git a/packages/uniscript/package.json b/packages/uniscript/package.json
index 3949c30615..f0b32320a6 100644
--- a/packages/uniscript/package.json
+++ b/packages/uniscript/package.json
@@ -61,13 +61,6 @@
"build": "tsc && vite build"
},
"peerDependencies": {
- "@univerjs/core": "workspace:*",
- "@univerjs/design": "workspace:*",
- "@univerjs/facade": "workspace:*",
- "@univerjs/sheets": "workspace:*",
- "@univerjs/sheets-ui": "workspace:*",
- "@univerjs/ui": "workspace:*",
- "monaco-editor": ">=0.44.0",
"react": "^16.9.0 || ^17.0.0 || ^18.0.0",
"rxjs": ">=7.0.0"
},
diff --git a/pnpm-lock.yaml b/pnpm-lock.yaml
index 89077962fa..fb1b305713 100644
--- a/pnpm-lock.yaml
+++ b/pnpm-lock.yaml
@@ -10,7 +10,7 @@ importers:
devDependencies:
'@antfu/eslint-config':
specifier: 3.7.3
'@commitlint/cli':
specifier: ^19.5.0
version: 19.5.0(@types/[email protected])([email protected])
@@ -250,8 +250,8 @@ importers:
specifier: workspace:*
version: link:../packages/find-replace
'@univerjs/icons':
- specifier: ^0.1.78
+ specifier: ^0.1.79
'@univerjs/mockdata':
specifier: workspace:*
version: link:../mockdata
@@ -383,8 +383,8 @@ importers:
specifier: ^18.3.11
version: 18.3.11
'@types/react-dom':
- specifier: ^18.3.0
- version: 18.3.0
+ specifier: ^18.3.1
+ version: 18.3.1
'@univerjs-infra/shared':
specifier: workspace:*
version: link:../common/shared
@@ -571,8 +571,8 @@ importers:
specifier: workspace:*
version: link:../../packages/design
'@univerjs/icons':
- specifier: ^0.1.78
+ specifier: ^0.1.79
'@univerjs/sheets':
specifier: workspace:*
version: link:../../packages/sheets
@@ -616,9 +616,6 @@ importers:
'@univerjs/core':
specifier: workspace:*
version: link:../../packages/core
- '@univerjs/design':
- specifier: workspace:*
- version: link:../../packages/design
'@univerjs/docs-ui':
specifier: workspace:*
version: link:../../packages/docs-ui
@@ -713,8 +710,8 @@ importers:
specifier: workspace:*
version: link:../../packages/engine-render
'@univerjs/icons':
- specifier: ^0.1.78
+ specifier: ^0.1.79
'@univerjs/ui':
specifier: workspace:*
version: link:../../packages/ui
@@ -750,8 +747,8 @@ importers:
specifier: workspace:*
version: link:../../packages/docs
'@univerjs/icons':
- specifier: ^0.1.78
+ specifier: ^0.1.79
clsx:
specifier: ^2.1.1
version: 2.1.1
@@ -790,8 +787,8 @@ importers:
specifier: workspace:*
version: link:../../packages/engine-render
'@univerjs/icons':
- specifier: ^0.1.78
+ specifier: ^0.1.79
'@univerjs/rpc':
specifier: workspace:*
version: link:../../packages/rpc
@@ -851,8 +848,8 @@ importers:
specifier: workspace:*
version: link:../../packages/docs-ui
'@univerjs/icons':
- specifier: ^0.1.78
+ specifier: ^0.1.79
'@univerjs/sheets':
specifier: workspace:*
version: link:../../packages/sheets
@@ -903,8 +900,8 @@ importers:
specifier: workspace:*
version: link:../../packages/engine-render
'@univerjs/icons':
- specifier: ^0.1.78
+ specifier: ^0.1.79
'@univerjs/slides':
specifier: workspace:*
version: link:../../packages/slides
@@ -949,14 +946,14 @@ importers:
packages-experimental/uniui:
dependencies:
'@floating-ui/react-dom':
- specifier: ^2.1.1
+ specifier: ^2.1.2
'@types/react':
specifier: ^18.3.11
version: 18.3.11
'@types/react-dom':
- specifier: ^18.3.0
- version: 18.3.0
+ specifier: ^18.3.1
+ version: 18.3.1
'@univerjs/core':
specifier: workspace:*
version: link:../../packages/core
@@ -970,8 +967,8 @@ importers:
specifier: workspace:*
version: link:../../packages/engine-render
'@univerjs/icons':
- specifier: ^0.1.78
+ specifier: ^0.1.79
'@univerjs/sheets':
specifier: workspace:*
version: link:../../packages/sheets
@@ -981,12 +978,9 @@ importers:
'@univerjs/ui':
specifier: workspace:*
version: link:../../packages/ui
- '@univerjs/uniui':
- specifier: workspace:*
- version: 'link:'
'@xyflow/react':
- specifier: ^12.2.1
+ specifier: ^12.3.2
clsx:
specifier: ^2.1.1
version: 2.1.1
@@ -1021,9 +1015,6 @@ importers:
packages/core:
dependencies:
- '@univerjs/core':
- specifier: workspace:*
- version: 'link:'
'@univerjs/protocol':
specifier: 0.1.39-alpha.15
version: 0.1.39-alpha.15(@grpc/[email protected])([email protected])
@@ -1117,8 +1108,8 @@ importers:
specifier: ^4.4.0
version: 4.4.0
'@univerjs/icons':
- specifier: ^0.1.78
+ specifier: ^0.1.79
clsx:
specifier: ^2.1.1
version: 2.1.1
@@ -1173,13 +1164,13 @@ importers:
devDependencies:
'@testing-library/react':
specifier: ^16.0.1
'@types/react':
specifier: ^18.3.11
version: 18.3.11
'@types/react-dom':
- specifier: ^18.3.0
- version: 18.3.0
+ specifier: ^18.3.1
+ version: 18.3.1
'@types/react-grid-layout':
specifier: ^1.3.5
version: 1.3.5
@@ -1282,8 +1273,8 @@ importers:
specifier: workspace:*
version: link:../engine-render
'@univerjs/icons':
- specifier: ^0.1.78
+ specifier: ^0.1.79
'@univerjs/ui':
specifier: workspace:*
version: link:../ui
@@ -1319,8 +1310,8 @@ importers:
specifier: workspace:*
version: link:../core
'@univerjs/icons':
- specifier: ^0.1.78
+ specifier: ^0.1.79
devDependencies:
'@univerjs-infra/shared':
specifier: workspace:*
@@ -1359,8 +1350,8 @@ importers:
specifier: workspace:*
version: link:../engine-render
'@univerjs/icons':
- specifier: ^0.1.78
+ specifier: ^0.1.79
'@univerjs/ui':
specifier: workspace:*
version: link:../ui
@@ -1457,8 +1448,8 @@ importers:
specifier: workspace:*
version: link:../engine-render
'@univerjs/icons':
- specifier: ^0.1.78
+ specifier: ^0.1.79
'@univerjs/thread-comment':
specifier: workspace:*
version: link:../thread-comment
@@ -1509,8 +1500,8 @@ importers:
specifier: workspace:*
version: link:../engine-render
'@univerjs/icons':
- specifier: ^0.1.78
+ specifier: ^0.1.79
'@univerjs/ui':
specifier: workspace:*
version: link:../ui
@@ -1549,8 +1540,8 @@ importers:
specifier: workspace:*
version: link:../core
'@univerjs/icons':
- specifier: ^0.1.78
+ specifier: ^0.1.79
ot-json1:
specifier: ^1.0.2
version: 1.0.2
@@ -1589,8 +1580,8 @@ importers:
specifier: workspace:*
version: link:../engine-render
'@univerjs/icons':
- specifier: ^0.1.78
+ specifier: ^0.1.79
'@univerjs/ui':
specifier: workspace:*
version: link:../ui
@@ -1818,8 +1809,8 @@ importers:
specifier: workspace:*
version: link:../engine-render
'@univerjs/icons':
- specifier: ^0.1.78
+ specifier: ^0.1.79
'@univerjs/ui':
specifier: workspace:*
version: link:../ui
@@ -1907,9 +1898,6 @@ importers:
'@univerjs/rpc':
specifier: workspace:*
version: link:../rpc
- '@univerjs/sheets':
- specifier: workspace:*
- version: 'link:'
devDependencies:
'@univerjs-infra/shared':
specifier: workspace:*
@@ -1988,8 +1976,8 @@ importers:
specifier: workspace:*
version: link:../engine-render
'@univerjs/icons':
- specifier: ^0.1.78
+ specifier: ^0.1.79
'@univerjs/protocol':
specifier: 0.1.39-alpha.15
version: 0.1.39-alpha.15(@grpc/[email protected])([email protected])
@@ -2052,8 +2040,8 @@ importers:
specifier: workspace:*
version: link:../engine-render
'@univerjs/icons':
- specifier: ^0.1.78
+ specifier: ^0.1.79
'@univerjs/sheets':
specifier: workspace:*
version: link:../sheets
@@ -2104,8 +2092,8 @@ importers:
specifier: workspace:*
version: link:../engine-formula
'@univerjs/icons':
- specifier: ^0.1.78
+ specifier: ^0.1.79
'@univerjs/protocol':
specifier: 0.1.39-alpha.15
version: 0.1.39-alpha.15(@grpc/[email protected])([email protected])
@@ -2165,8 +2153,8 @@ importers:
specifier: workspace:*
version: link:../engine-render
'@univerjs/icons':
- specifier: ^0.1.78
+ specifier: ^0.1.79
'@univerjs/protocol':
specifier: 0.1.39-alpha.15
version: 0.1.39-alpha.15(@grpc/[email protected])([email protected])
@@ -2222,9 +2210,6 @@ importers:
'@univerjs/drawing':
specifier: workspace:*
version: link:../drawing
- '@univerjs/sheets':
- specifier: workspace:*
- version: link:../sheets
devDependencies:
'@univerjs-infra/shared':
specifier: workspace:*
@@ -2257,8 +2242,8 @@ importers:
specifier: workspace:*
version: link:../engine-render
'@univerjs/icons':
- specifier: ^0.1.78
+ specifier: ^0.1.79
'@univerjs/sheets':
specifier: workspace:*
version: link:../sheets
@@ -2334,8 +2319,8 @@ importers:
specifier: workspace:*
version: link:../engine-render
'@univerjs/icons':
- specifier: ^0.1.78
+ specifier: ^0.1.79
'@univerjs/rpc':
specifier: workspace:*
version: link:../rpc
@@ -2438,8 +2423,8 @@ importers:
specifier: workspace:*
version: link:../engine-formula
'@univerjs/icons':
- specifier: ^0.1.78
+ specifier: ^0.1.79
'@univerjs/rpc':
specifier: workspace:*
version: link:../rpc
@@ -2496,8 +2481,8 @@ importers:
specifier: workspace:*
version: link:../engine-render
'@univerjs/icons':
- specifier: ^0.1.78
+ specifier: ^0.1.79
'@univerjs/sheets':
specifier: workspace:*
version: link:../sheets
@@ -2578,9 +2563,6 @@ importers:
'@univerjs/core':
specifier: workspace:*
version: link:../core
- '@univerjs/design':
- specifier: workspace:*
- version: link:../design
'@univerjs/docs':
specifier: workspace:*
version: link:../docs
@@ -2597,8 +2579,8 @@ importers:
specifier: workspace:*
version: link:../engine-render
'@univerjs/icons':
- specifier: ^0.1.78
+ specifier: ^0.1.79
'@univerjs/sheets':
specifier: workspace:*
version: link:../sheets
@@ -2652,8 +2634,8 @@ importers:
specifier: workspace:*
version: link:../engine-render
'@univerjs/icons':
- specifier: ^0.1.78
+ specifier: ^0.1.79
'@univerjs/sheets':
specifier: workspace:*
version: link:../sheets
@@ -2732,8 +2714,8 @@ importers:
specifier: workspace:*
version: link:../engine-render
'@univerjs/icons':
- specifier: ^0.1.78
+ specifier: ^0.1.79
'@univerjs/sheets':
specifier: workspace:*
version: link:../sheets
@@ -2750,8 +2732,8 @@ importers:
specifier: ^2.1.1
version: 2.1.1
rc-virtual-list:
- specifier: ^3.14.5
+ specifier: ^3.14.8
devDependencies:
'@univerjs-infra/shared':
specifier: workspace:*
@@ -2790,8 +2772,8 @@ importers:
specifier: workspace:*
version: link:../engine-render
'@univerjs/icons':
- specifier: ^0.1.78
+ specifier: ^0.1.79
'@univerjs/sheets':
specifier: workspace:*
version: link:../sheets
@@ -2894,8 +2876,8 @@ importers:
specifier: workspace:*
version: link:../engine-render
'@univerjs/icons':
- specifier: ^0.1.78
+ specifier: ^0.1.79
'@univerjs/protocol':
specifier: 0.1.39-alpha.15
version: 0.1.39-alpha.15(@grpc/[email protected])([email protected])
@@ -2955,8 +2937,8 @@ importers:
specifier: workspace:*
version: link:../engine-render
'@univerjs/icons':
- specifier: ^0.1.78
+ specifier: ^0.1.79
'@univerjs/sheets':
specifier: workspace:*
version: link:../sheets
@@ -3038,8 +3020,8 @@ importers:
specifier: workspace:*
version: link:../engine-render
'@univerjs/icons':
- specifier: ^0.1.78
+ specifier: ^0.1.79
'@univerjs/slides':
specifier: workspace:*
version: link:../slides
@@ -3152,8 +3134,8 @@ importers:
specifier: workspace:*
version: link:../engine-render
'@univerjs/icons':
- specifier: ^0.1.78
+ specifier: ^0.1.79
'@univerjs/protocol':
specifier: 0.1.39-alpha.15
version: 0.1.39-alpha.15(@grpc/[email protected])([email protected])
@@ -3207,11 +3189,8 @@ importers:
specifier: workspace:*
version: link:../engine-render
'@univerjs/icons':
- specifier: ^0.1.78
- '@univerjs/ui':
- specifier: workspace:*
- version: 'link:'
+ specifier: ^0.1.79
clsx:
specifier: ^2.1.1
version: 2.1.1
@@ -3231,7 +3210,7 @@ importers:
devDependencies:
'@testing-library/react':
specifier: ^16.0.1
'@testing-library/react-hooks':
specifier: ^8.0.1
@@ -3239,8 +3218,8 @@ importers:
specifier: ^18.3.11
version: 18.3.11
'@types/react-dom':
- specifier: ^18.3.0
- version: 18.3.0
+ specifier: ^18.3.1
+ version: 18.3.1
'@types/react-transition-group':
specifier: ^4.4.11
version: 4.4.11
@@ -3670,6 +3649,10 @@ packages:
resolution: {integrity: sha512-VBj9MYyDb9tuLq7yzqjgzt6Q+IBQLrGZfdjOekyEirZPHxXWoTSGUTMrpsfi58Up73d13NfYLv8HT9vmznjzhQ==}
engines: {node: '>=6.9.0'}
+ '@babel/[email protected]':
+ resolution: {integrity: sha512-FjoyLe754PMiYsFaN5C94ttGiOmBNYTf6pLr4xXHAT5uctHb092PBszndLDR5XA/jghQvn4n7JMHl7dmTgbm9w==}
+ engines: {node: '>=6.9.0'}
+
resolution: {integrity: sha512-TuI4qpWZP6lGOGIuGWtp9sPluqYICmbk8T/1vpSysqJxRPkudh/ofFWyqdcMsDf2s7KvDL4/YHgKyvcS3g9CJQ==}
@@ -4323,11 +4306,8 @@ packages:
'@floating-ui/[email protected]':
resolution: {integrity: sha512-qkMCxSR24v2vGkhYDo/UzxfJN3D4syqSjyuTFz6C7XcpU1pASPRieNI0Kj5VP3/503mOfYiGY891ugBX1GlABQ==}
- '@floating-ui/[email protected]':
- resolution: {integrity: sha512-wmVfPG5o2xnKDU4jx/m4w5qva9FWHcnZ8BvzEe90D/RpwsJaTAVYPEPdQ8sbr/N8zZTAHlZUTQdqg8ZUbzHmng==}
-
- '@floating-ui/[email protected]':
- resolution: {integrity: sha512-4h84MJt3CHrtG18mGsXuLCHMrug49d7DFkU0RMIyshRveBeyV2hmV/pDaF2Uxtu8kgq5r46llp5E5FQiR0K2Yg==}
+ '@floating-ui/[email protected]':
+ resolution: {integrity: sha512-06okr5cgPzMNBy+Ycse2A6udMi4bqwW/zgBF/rwjcNqWkyr82Mcg8b0vjX8OJpZFy/FKjJmw6wV7t44kK6kW7A==}
peerDependencies:
react: '>=16.8.0'
react-dom: '>=16.8.0'
@@ -5288,8 +5268,8 @@ packages:
resolution: {integrity: sha512-+N+2H39P8X+Hy1I5mC6awlTX54k3FhiUmvt7HWzGJZvF+syUAAxP/stwppS8JE84YHqFgRMv6fCy31202CMFxQ==}
- '@types/[email protected]':
- resolution: {integrity: sha512-EhwApuTmMBmXuFOikhQLIBUn6uFg81SwLMOAUgodJF14SOBOCMdU04gDoYi0WOJJHD144TL32z4yDqCW3dnkQg==}
+ '@types/[email protected]':
+ resolution: {integrity: sha512-qW1Mfv8taImTthu4KoXgDfLuk4bydU6Q/TkADnDWWHwi4NX4BR+LWfTp2sVmTqRrsHvyDDTelgelxJ+SsejKKQ==}
resolution: {integrity: sha512-WH/po1gcEcoR6y857yAnPGug+ZhkF4PaTUxgAbwfeSH/QOgVSakKHBXoPGad/sEznmkiaK3pqHk+etdWisoeBQ==}
@@ -5430,8 +5410,8 @@ packages:
'@univerjs/[email protected]':
resolution: {integrity: sha512-9T9V6wtDkLJIJVCCKiOTgCyU8d9oQVjlK8saDxzyKEK8bWFVgSWIr7swIww0gHjVp0tJXiBRQNhcXMqJvCt2ZQ==}
- '@univerjs/[email protected]':
- resolution: {integrity: sha512-Zsd2W76402fZGqSyQFDMiJhYYD2OWiPwy+hotYqMVS5Gn+HCuQcXDe2WkGDg9O7hb5gRtUuy2I1bSHRq346z4A==}
+ '@univerjs/[email protected]':
+ resolution: {integrity: sha512-4dyyC75EWw7pBnIO9PwXUeshSEKjAdNUF5dXkyHZ2fmkW5+jNxuSLos4lVhsZ2PHMYhf0PWwffT2Ff6qD8M1kw==}
peerDependencies:
react: '*'
react-dom: '*'
@@ -5630,14 +5610,14 @@ packages:
resolution: {integrity: sha512-NuHqBY1PB/D8xU6s/thBgOAiAP7HOYDQ32+BFZILJ8ivkUkAHQnWfn6WhL79Owj1qmUnoN/YPhktdIoucipkAQ==}
- '@xyflow/[email protected]':
- resolution: {integrity: sha512-7eVWMCzN0Mg5JXP8fA0YHiX4NfmCR5O0FHtxVQ0oqzkyEMik0EIlOiXw/grnk4MuA3/+RBaYM8nZD6kZotCXNw==}
+ '@xyflow/[email protected]':
+ resolution: {integrity: sha512-+bK3L61BDIvUX++jMiEqIjy5hIIyVmfeiUavpeOZIYKwg6NW0pR5EnHJM2JFfkVqZisFauzS9EgmI+tvTqx9Qw==}
peerDependencies:
react: '>=17'
react-dom: '>=17'
- '@xyflow/[email protected]':
- resolution: {integrity: sha512-XAjs8AUA0YMfYD91cT6pLGALwbsPS64s2WBHyULqL1m0gTqXqaUSLK1P7qA/Q8HecN0RFbqlM2tPO8bmZXP0YQ==}
+ '@xyflow/[email protected]':
+ resolution: {integrity: sha512-1zHgad1cWr1mKm2xbFaarK0Jg8WRgaQ8ubSBIo/pRdq3fEgCuqgNkL9NSAP6Rvm8zi3+Lu4JPUMN+EEx5QgX9A==}
resolution: {integrity: sha512-7kjMwcChYEzMKjeex9ZFXkt1AyNov9R5HZtjBKVsmVpw7pa7ZtlCGvCBC2vnnXctaYN+aRI61HjIqeetZW5ROg==}
@@ -9357,6 +9337,13 @@ packages:
react: '>=16.9.0'
react-dom: '>=16.9.0'
+ resolution: {integrity: sha512-8D0KfzpRYi6YZvlOWIxiOm9BGt4Wf2hQyEaM6RXlDDiY2NhLheuYI+RA+7ZaZj1lq+XQqy3KHlaeeXQfzI5fGg==}
+ engines: {node: '>=8.x'}
+ peerDependencies:
+ react: '>=16.9.0'
+ react-dom: '>=16.9.0'
+
resolution: {integrity: sha512-y3bGgqKj3QBdxLbLkomlohkvsA8gdAiUQlSBJnBhfn+BPxg4bc62d8TcBW15wavDfgexCgccckhcZvywyQYPOw==}
hasBin: true
@@ -10798,7 +10785,7 @@ snapshots:
dependencies:
'@babel/runtime': 7.25.0
dependencies:
'@antfu/install-pkg': 0.4.1
'@clack/prompts': 0.7.0
@@ -10807,7 +10794,7 @@ snapshots:
'@stylistic/eslint-plugin': 2.8.0([email protected]([email protected]))([email protected])
'@typescript-eslint/parser': 8.8.1([email protected]([email protected]))([email protected])
eslint: 9.12.0([email protected])
eslint-config-flat-gitignore: 0.3.0([email protected]([email protected]))
eslint-flat-config-utils: 0.4.0
@@ -10992,6 +10979,10 @@ snapshots:
dependencies:
regenerator-runtime: 0.14.1
+ '@babel/[email protected]':
+ dependencies:
+ regenerator-runtime: 0.14.1
+
dependencies:
regenerator-runtime: 0.13.11
@@ -11573,14 +11564,9 @@ snapshots:
'@floating-ui/core': 1.6.4
'@floating-ui/utils': 0.2.8
- '@floating-ui/[email protected]':
- dependencies:
- '@floating-ui/core': 1.6.4
- '@floating-ui/utils': 0.2.8
-
dependencies:
- '@floating-ui/dom': 1.6.7
+ '@floating-ui/dom': 1.6.11
react: 18.3.1
react-dom: 18.3.1([email protected])
@@ -12498,7 +12484,7 @@ snapshots:
'@types/react': 18.3.11
react-dom: 18.3.1([email protected])
dependencies:
'@babel/runtime': 7.25.4
'@testing-library/dom': 10.4.0
@@ -12506,7 +12492,7 @@ snapshots:
react-dom: 18.3.1([email protected])
optionalDependencies:
'@types/react': 18.3.11
- '@types/react-dom': 18.3.0
+ '@types/react-dom': 18.3.1
'@testing-library/[email protected](@testing-library/[email protected])':
dependencies:
@@ -12651,7 +12637,7 @@ snapshots:
'@types/[email protected]': {}
- '@types/[email protected]':
+ '@types/[email protected]':
dependencies:
'@types/react': 18.3.11
@@ -12836,7 +12822,7 @@ snapshots:
'@univerjs/[email protected]': {}
dependencies:
react: 18.3.1
react-dom: 18.3.1([email protected])
@@ -12878,7 +12864,7 @@ snapshots:
transitivePeerDependencies:
- supports-color
dependencies:
eslint: 9.12.0([email protected])
optionalDependencies:
@@ -13129,9 +13115,9 @@ snapshots:
'@xtuc/[email protected]': {}
dependencies:
- '@xyflow/system': 0.0.41
+ '@xyflow/system': 0.0.43
classcat: 5.0.5
react: 18.3.1
react-dom: 18.3.1([email protected])
@@ -13140,7 +13126,7 @@ snapshots:
- '@types/react'
- immer
- '@xyflow/[email protected]':
+ '@xyflow/[email protected]':
dependencies:
'@types/d3-drag': 3.0.7
'@types/d3-selection': 3.0.10
@@ -17457,6 +17443,15 @@ snapshots:
react: 18.3.1
react-dom: 18.3.1([email protected])
+ dependencies:
+ '@babel/runtime': 7.25.7
+ classnames: 2.5.1
+ react: 18.3.1
+ react-dom: 18.3.1([email protected])
+
dependencies:
deep-extend: 0.6.0