mirror of
https://github.com/dream-num/univer.git
synced 2026-09-24 15:32:18 +08:00
@@ -44,7 +44,7 @@
|
||||
},
|
||||
"devDependencies": {
|
||||
"@types/fs-extra": "^11.0.4",
|
||||
"@univerjs/icons": "^0.2.15",
|
||||
"@univerjs/icons": "^0.2.20",
|
||||
"@univerjs/icons-svg": "^0.2.15",
|
||||
"@univerjs/protocol": "0.1.43"
|
||||
}
|
||||
|
||||
BIN
Binary file not shown.
|
Before Width: | Height: | Size: 117 KiB After Width: | Height: | Size: 117 KiB |
BIN
Binary file not shown.
|
Before Width: | Height: | Size: 76 KiB After Width: | Height: | Size: 77 KiB |
BIN
Binary file not shown.
|
Before Width: | Height: | Size: 294 KiB After Width: | Height: | Size: 294 KiB |
@@ -15,7 +15,7 @@
|
||||
*/
|
||||
|
||||
import path from 'node:path';
|
||||
import { Univer } from '@univerjs/core';
|
||||
import { LocaleType, Univer } from '@univerjs/core';
|
||||
import { UniverDataValidationPlugin } from '@univerjs/data-validation';
|
||||
import { UniverDocsPlugin } from '@univerjs/docs';
|
||||
import { UniverDocsDrawingPlugin } from '@univerjs/docs-drawing';
|
||||
@@ -32,6 +32,8 @@ import { UniverSheetsHyperLinkPlugin } from '@univerjs/sheets-hyper-link';
|
||||
import { UniverSheetsSortPlugin } from '@univerjs/sheets-sort';
|
||||
import { UniverThreadCommentPlugin } from '@univerjs/thread-comment';
|
||||
|
||||
import { enUS } from '../locales';
|
||||
|
||||
import './facade';
|
||||
|
||||
export interface ICreateUniverOnNodeOptions {
|
||||
@@ -41,7 +43,12 @@ export interface ICreateUniverOnNodeOptions {
|
||||
export function createUniverOnNode(options: ICreateUniverOnNodeOptions = {}): Univer {
|
||||
const { useComputingWorker = false } = options;
|
||||
|
||||
const univer = new Univer();
|
||||
const univer = new Univer({
|
||||
locale: LocaleType.EN_US,
|
||||
locales: {
|
||||
[LocaleType.EN_US]: enUS,
|
||||
},
|
||||
});
|
||||
|
||||
registerBasicPlugins(univer, useComputingWorker);
|
||||
registerSharedPlugins(univer);
|
||||
|
||||
+2
-2
@@ -3,7 +3,7 @@
|
||||
"type": "module",
|
||||
"version": "0.6.0",
|
||||
"private": true,
|
||||
"packageManager": "pnpm@10.3.0",
|
||||
"packageManager": "pnpm@10.4.1",
|
||||
"author": "DreamNum Co., Ltd. <developer@univer.ai>",
|
||||
"license": "Apache-2.0",
|
||||
"funding": {
|
||||
@@ -20,7 +20,7 @@
|
||||
},
|
||||
"engines": {
|
||||
"node": ">=18 || <=22",
|
||||
"pnpm": ">=9"
|
||||
"pnpm": ">=10"
|
||||
},
|
||||
"scripts": {
|
||||
"prepare": "husky",
|
||||
|
||||
@@ -68,7 +68,7 @@
|
||||
"dependencies": {
|
||||
"@univerjs/core": "workspace:*",
|
||||
"@univerjs/design": "workspace:*",
|
||||
"@univerjs/icons": "^0.2.15",
|
||||
"@univerjs/icons": "^0.2.20",
|
||||
"@univerjs/sheets": "workspace:*",
|
||||
"@univerjs/sheets-filter": "workspace:*",
|
||||
"@univerjs/sheets-ui": "workspace:*",
|
||||
|
||||
@@ -61,7 +61,7 @@
|
||||
"@univerjs/design": "workspace:*",
|
||||
"@univerjs/docs-ui": "workspace:*",
|
||||
"@univerjs/engine-render": "workspace:*",
|
||||
"@univerjs/icons": "^0.2.15",
|
||||
"@univerjs/icons": "^0.2.20",
|
||||
"@univerjs/mockdata": "workspace:*",
|
||||
"@univerjs/sheets": "workspace:*",
|
||||
"@univerjs/sheets-drawing-ui": "workspace:*",
|
||||
|
||||
@@ -70,7 +70,7 @@
|
||||
"@univerjs/docs": "workspace:*",
|
||||
"@univerjs/docs-ui": "workspace:*",
|
||||
"@univerjs/engine-render": "workspace:*",
|
||||
"@univerjs/icons": "^0.2.15",
|
||||
"@univerjs/icons": "^0.2.20",
|
||||
"@univerjs/rpc": "workspace:*",
|
||||
"@univerjs/sheets-formula": "workspace:*",
|
||||
"@univerjs/sheets-formula-ui": "workspace:*",
|
||||
|
||||
@@ -64,7 +64,7 @@
|
||||
"@univerjs/design": "workspace:*",
|
||||
"@univerjs/docs": "workspace:*",
|
||||
"@univerjs/docs-ui": "workspace:*",
|
||||
"@univerjs/icons": "^0.2.15",
|
||||
"@univerjs/icons": "^0.2.20",
|
||||
"@univerjs/sheets": "workspace:*",
|
||||
"@univerjs/sheets-drawing-ui": "workspace:*",
|
||||
"@univerjs/sheets-ui": "workspace:*",
|
||||
|
||||
@@ -61,7 +61,7 @@
|
||||
"dependencies": {
|
||||
"@univerjs/core": "workspace:*",
|
||||
"@univerjs/engine-render": "workspace:*",
|
||||
"@univerjs/icons": "^0.2.15",
|
||||
"@univerjs/icons": "^0.2.20",
|
||||
"@univerjs/slides-ui": "workspace:*",
|
||||
"@univerjs/ui": "workspace:*",
|
||||
"@univerjs/uniui": "workspace:*",
|
||||
|
||||
@@ -65,7 +65,7 @@
|
||||
"@univerjs/core": "workspace:*",
|
||||
"@univerjs/design": "workspace:*",
|
||||
"@univerjs/engine-render": "workspace:*",
|
||||
"@univerjs/icons": "^0.2.15",
|
||||
"@univerjs/icons": "^0.2.20",
|
||||
"@univerjs/sheets": "workspace:*",
|
||||
"@univerjs/sheets-ui": "workspace:*",
|
||||
"@univerjs/ui": "workspace:*",
|
||||
|
||||
@@ -70,7 +70,7 @@
|
||||
"dependencies": {
|
||||
"@rc-component/color-picker": "^2.0.1",
|
||||
"@rc-component/trigger": "^2.2.6",
|
||||
"@univerjs/icons": "^0.2.15",
|
||||
"@univerjs/icons": "^0.2.20",
|
||||
"clsx": "^2.1.1",
|
||||
"dayjs": "^1.11.13",
|
||||
"rc-dialog": "^9.6.0",
|
||||
|
||||
@@ -74,7 +74,7 @@
|
||||
"@univerjs/drawing": "workspace:*",
|
||||
"@univerjs/drawing-ui": "workspace:*",
|
||||
"@univerjs/engine-render": "workspace:*",
|
||||
"@univerjs/icons": "^0.2.15",
|
||||
"@univerjs/icons": "^0.2.20",
|
||||
"@univerjs/ui": "workspace:*",
|
||||
"clsx": "^2.1.1"
|
||||
},
|
||||
|
||||
@@ -72,7 +72,7 @@
|
||||
"@univerjs/docs-hyper-link": "workspace:*",
|
||||
"@univerjs/docs-ui": "workspace:*",
|
||||
"@univerjs/engine-render": "workspace:*",
|
||||
"@univerjs/icons": "^0.2.15",
|
||||
"@univerjs/icons": "^0.2.20",
|
||||
"@univerjs/ui": "workspace:*",
|
||||
"clsx": "^2.1.1"
|
||||
},
|
||||
|
||||
@@ -64,7 +64,7 @@
|
||||
"@univerjs/docs": "workspace:*",
|
||||
"@univerjs/docs-ui": "workspace:*",
|
||||
"@univerjs/engine-render": "workspace:*",
|
||||
"@univerjs/icons": "^0.2.15",
|
||||
"@univerjs/icons": "^0.2.20",
|
||||
"@univerjs/thread-comment": "workspace:*",
|
||||
"@univerjs/thread-comment-ui": "workspace:*",
|
||||
"@univerjs/ui": "workspace:*",
|
||||
|
||||
@@ -79,7 +79,7 @@
|
||||
"@univerjs/docs": "workspace:*",
|
||||
"@univerjs/drawing": "workspace:*",
|
||||
"@univerjs/engine-render": "workspace:*",
|
||||
"@univerjs/icons": "^0.2.15",
|
||||
"@univerjs/icons": "^0.2.20",
|
||||
"@univerjs/ui": "workspace:*",
|
||||
"clsx": "^2.1.1"
|
||||
},
|
||||
|
||||
@@ -70,7 +70,7 @@
|
||||
"@univerjs/design": "workspace:*",
|
||||
"@univerjs/drawing": "workspace:*",
|
||||
"@univerjs/engine-render": "workspace:*",
|
||||
"@univerjs/icons": "^0.2.15",
|
||||
"@univerjs/icons": "^0.2.20",
|
||||
"@univerjs/ui": "workspace:*",
|
||||
"clsx": "^2.1.1"
|
||||
},
|
||||
|
||||
@@ -71,7 +71,7 @@
|
||||
"@univerjs/core": "workspace:*",
|
||||
"@univerjs/design": "workspace:*",
|
||||
"@univerjs/engine-render": "workspace:*",
|
||||
"@univerjs/icons": "^0.2.15",
|
||||
"@univerjs/icons": "^0.2.20",
|
||||
"@univerjs/ui": "workspace:*"
|
||||
},
|
||||
"devDependencies": {
|
||||
|
||||
@@ -26,7 +26,7 @@ import {
|
||||
RxDisposable,
|
||||
toDisposable,
|
||||
} from '@univerjs/core';
|
||||
import { SearchSingle16 } from '@univerjs/icons';
|
||||
import { SearchSingle } from '@univerjs/icons';
|
||||
import { ComponentManager,
|
||||
IDialogService,
|
||||
ILayoutService,
|
||||
@@ -111,7 +111,7 @@ export class FindReplaceController extends RxDisposable {
|
||||
|
||||
private _initUI(): void {
|
||||
this.disposeWithMe(this._componentManager.register('FindReplaceDialog', FindReplaceDialog));
|
||||
this.disposeWithMe(this._componentManager.register('SearchIcon', SearchSingle16));
|
||||
this.disposeWithMe(this._componentManager.register('SearchIcon', SearchSingle));
|
||||
|
||||
this._menuManagerService.mergeMenu(menuSchema);
|
||||
|
||||
|
||||
@@ -73,7 +73,7 @@
|
||||
"@univerjs/design": "workspace:*",
|
||||
"@univerjs/engine-formula": "workspace:*",
|
||||
"@univerjs/engine-render": "workspace:*",
|
||||
"@univerjs/icons": "^0.2.15",
|
||||
"@univerjs/icons": "^0.2.20",
|
||||
"@univerjs/sheets": "workspace:*",
|
||||
"@univerjs/sheets-conditional-formatting": "workspace:*",
|
||||
"@univerjs/sheets-formula-ui": "workspace:*",
|
||||
|
||||
@@ -74,7 +74,7 @@
|
||||
"dependencies": {
|
||||
"@univerjs/core": "workspace:*",
|
||||
"@univerjs/engine-render": "workspace:*",
|
||||
"@univerjs/icons": "^0.2.15",
|
||||
"@univerjs/icons": "^0.2.20",
|
||||
"@univerjs/sheets": "workspace:*",
|
||||
"@univerjs/sheets-ui": "workspace:*",
|
||||
"@univerjs/ui": "workspace:*",
|
||||
|
||||
@@ -76,7 +76,7 @@
|
||||
"@univerjs/docs": "workspace:*",
|
||||
"@univerjs/engine-formula": "workspace:*",
|
||||
"@univerjs/engine-render": "workspace:*",
|
||||
"@univerjs/icons": "^0.2.15",
|
||||
"@univerjs/icons": "^0.2.20",
|
||||
"@univerjs/sheets": "workspace:*",
|
||||
"@univerjs/sheets-data-validation": "workspace:*",
|
||||
"@univerjs/sheets-formula-ui": "workspace:*",
|
||||
|
||||
@@ -79,7 +79,7 @@
|
||||
"@univerjs/drawing": "workspace:*",
|
||||
"@univerjs/drawing-ui": "workspace:*",
|
||||
"@univerjs/engine-render": "workspace:*",
|
||||
"@univerjs/icons": "^0.2.15",
|
||||
"@univerjs/icons": "^0.2.20",
|
||||
"@univerjs/sheets": "workspace:*",
|
||||
"@univerjs/sheets-drawing": "workspace:*",
|
||||
"@univerjs/sheets-ui": "workspace:*",
|
||||
|
||||
@@ -69,7 +69,7 @@
|
||||
"@univerjs/core": "workspace:*",
|
||||
"@univerjs/design": "workspace:*",
|
||||
"@univerjs/engine-render": "workspace:*",
|
||||
"@univerjs/icons": "^0.2.15",
|
||||
"@univerjs/icons": "^0.2.20",
|
||||
"@univerjs/rpc": "workspace:*",
|
||||
"@univerjs/sheets": "workspace:*",
|
||||
"@univerjs/sheets-filter": "workspace:*",
|
||||
|
||||
@@ -77,7 +77,7 @@
|
||||
"@univerjs/docs-ui": "workspace:*",
|
||||
"@univerjs/engine-formula": "workspace:*",
|
||||
"@univerjs/engine-render": "workspace:*",
|
||||
"@univerjs/icons": "^0.2.15",
|
||||
"@univerjs/icons": "^0.2.20",
|
||||
"@univerjs/sheets": "workspace:*",
|
||||
"@univerjs/sheets-formula": "workspace:*",
|
||||
"@univerjs/sheets-ui": "workspace:*",
|
||||
|
||||
@@ -80,7 +80,7 @@
|
||||
"@univerjs/docs-ui": "workspace:*",
|
||||
"@univerjs/engine-formula": "workspace:*",
|
||||
"@univerjs/engine-render": "workspace:*",
|
||||
"@univerjs/icons": "^0.2.15",
|
||||
"@univerjs/icons": "^0.2.20",
|
||||
"@univerjs/sheets": "workspace:*",
|
||||
"@univerjs/sheets-data-validation": "workspace:*",
|
||||
"@univerjs/sheets-formula-ui": "workspace:*",
|
||||
|
||||
@@ -73,7 +73,7 @@
|
||||
"@univerjs/engine-formula": "workspace:*",
|
||||
"@univerjs/engine-numfmt": "workspace:*",
|
||||
"@univerjs/engine-render": "workspace:*",
|
||||
"@univerjs/icons": "^0.2.15",
|
||||
"@univerjs/icons": "^0.2.20",
|
||||
"@univerjs/sheets": "workspace:*",
|
||||
"@univerjs/sheets-numfmt": "workspace:*",
|
||||
"@univerjs/sheets-ui": "workspace:*",
|
||||
|
||||
@@ -69,7 +69,7 @@
|
||||
"@univerjs/core": "workspace:*",
|
||||
"@univerjs/design": "workspace:*",
|
||||
"@univerjs/engine-formula": "workspace:*",
|
||||
"@univerjs/icons": "^0.2.15",
|
||||
"@univerjs/icons": "^0.2.20",
|
||||
"@univerjs/sheets": "workspace:*",
|
||||
"@univerjs/sheets-sort": "workspace:*",
|
||||
"@univerjs/sheets-ui": "workspace:*",
|
||||
|
||||
@@ -69,7 +69,7 @@
|
||||
"@univerjs/core": "workspace:*",
|
||||
"@univerjs/engine-formula": "workspace:*",
|
||||
"@univerjs/engine-render": "workspace:*",
|
||||
"@univerjs/icons": "^0.2.15",
|
||||
"@univerjs/icons": "^0.2.20",
|
||||
"@univerjs/sheets": "workspace:*",
|
||||
"@univerjs/sheets-thread-comment": "workspace:*",
|
||||
"@univerjs/sheets-ui": "workspace:*",
|
||||
|
||||
@@ -81,7 +81,7 @@
|
||||
"@univerjs/engine-formula": "workspace:*",
|
||||
"@univerjs/engine-numfmt": "workspace:*",
|
||||
"@univerjs/engine-render": "workspace:*",
|
||||
"@univerjs/icons": "^0.2.15",
|
||||
"@univerjs/icons": "^0.2.20",
|
||||
"@univerjs/protocol": "0.1.43",
|
||||
"@univerjs/sheets": "workspace:*",
|
||||
"@univerjs/telemetry": "workspace:*",
|
||||
|
||||
@@ -78,7 +78,7 @@
|
||||
"@univerjs/docs": "workspace:*",
|
||||
"@univerjs/docs-ui": "workspace:*",
|
||||
"@univerjs/engine-render": "workspace:*",
|
||||
"@univerjs/icons": "^0.2.15",
|
||||
"@univerjs/icons": "^0.2.20",
|
||||
"@univerjs/sheets": "workspace:*",
|
||||
"@univerjs/sheets-ui": "workspace:*",
|
||||
"@univerjs/ui": "workspace:*",
|
||||
|
||||
@@ -74,7 +74,7 @@
|
||||
"@univerjs/docs-ui": "workspace:*",
|
||||
"@univerjs/drawing": "workspace:*",
|
||||
"@univerjs/engine-render": "workspace:*",
|
||||
"@univerjs/icons": "^0.2.15",
|
||||
"@univerjs/icons": "^0.2.20",
|
||||
"@univerjs/slides": "workspace:*",
|
||||
"@univerjs/ui": "workspace:*",
|
||||
"clsx": "^2.1.1"
|
||||
|
||||
@@ -69,7 +69,7 @@
|
||||
"@univerjs/core": "workspace:*",
|
||||
"@univerjs/design": "workspace:*",
|
||||
"@univerjs/docs-ui": "workspace:*",
|
||||
"@univerjs/icons": "^0.2.15",
|
||||
"@univerjs/icons": "^0.2.20",
|
||||
"@univerjs/thread-comment": "workspace:*",
|
||||
"@univerjs/ui": "workspace:*",
|
||||
"clsx": "^2.1.1"
|
||||
|
||||
@@ -78,7 +78,7 @@
|
||||
"@univerjs/core": "workspace:*",
|
||||
"@univerjs/design": "workspace:*",
|
||||
"@univerjs/engine-render": "workspace:*",
|
||||
"@univerjs/icons": "^0.2.15",
|
||||
"@univerjs/icons": "^0.2.20",
|
||||
"@wendellhu/redi": "0.17.1",
|
||||
"clsx": "^2.1.1",
|
||||
"localforage": "^1.10.0",
|
||||
|
||||
Generated
+286
-286
File diff suppressed because it is too large
Load Diff
Reference in New Issue
Block a user