@univerjs/preset-docs-core 1.3.1 → 1.5.0
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/README.md +3 -5
- package/lib/cjs/index.js +1 -2
- package/lib/cjs/locales/ar-SA.js +2 -3
- package/lib/cjs/locales/ca-ES.js +2 -3
- package/lib/cjs/locales/de-DE.js +2 -3
- package/lib/cjs/locales/en-US.js +2 -3
- package/lib/cjs/locales/es-ES.js +2 -3
- package/lib/cjs/locales/fa-IR.js +2 -3
- package/lib/cjs/locales/fr-FR.js +2 -3
- package/lib/cjs/locales/id-ID.js +2 -3
- package/lib/cjs/locales/it-IT.js +2 -3
- package/lib/cjs/locales/ja-JP.js +2 -3
- package/lib/cjs/locales/ko-KR.js +2 -3
- package/lib/cjs/locales/pl-PL.js +2 -3
- package/lib/cjs/locales/pt-BR.js +2 -3
- package/lib/cjs/locales/ru-RU.js +2 -3
- package/lib/cjs/locales/sk-SK.js +2 -3
- package/lib/cjs/locales/vi-VN.js +2 -3
- package/lib/cjs/locales/zh-CN.js +2 -3
- package/lib/cjs/locales/zh-HK.js +2 -3
- package/lib/cjs/locales/zh-TW.js +2 -3
- package/lib/cjs/{rolldown-runtime-AN5ru5iW.js → rolldown-runtime-xuxB8TGW.js} +1 -2
- package/lib/es/index.js +1 -2
- package/lib/es/locales/ar-SA.js +1 -2
- package/lib/es/locales/ca-ES.js +1 -2
- package/lib/es/locales/de-DE.js +1 -2
- package/lib/es/locales/en-US.js +1 -2
- package/lib/es/locales/es-ES.js +1 -2
- package/lib/es/locales/fa-IR.js +1 -2
- package/lib/es/locales/fr-FR.js +1 -2
- package/lib/es/locales/id-ID.js +1 -2
- package/lib/es/locales/it-IT.js +1 -2
- package/lib/es/locales/ja-JP.js +1 -2
- package/lib/es/locales/ko-KR.js +1 -2
- package/lib/es/locales/pl-PL.js +1 -2
- package/lib/es/locales/pt-BR.js +1 -2
- package/lib/es/locales/ru-RU.js +1 -2
- package/lib/es/locales/sk-SK.js +1 -2
- package/lib/es/locales/vi-VN.js +1 -2
- package/lib/es/locales/zh-CN.js +1 -2
- package/lib/es/locales/zh-HK.js +1 -2
- package/lib/es/locales/zh-TW.js +1 -2
- package/lib/index.css +279 -333
- package/lib/index.js +1 -2
- package/lib/locales/ar-SA.js +1 -2
- package/lib/locales/ca-ES.js +1 -2
- package/lib/locales/de-DE.js +1 -2
- package/lib/locales/en-US.js +1 -2
- package/lib/locales/es-ES.js +1 -2
- package/lib/locales/fa-IR.js +1 -2
- package/lib/locales/fr-FR.js +1 -2
- package/lib/locales/id-ID.js +1 -2
- package/lib/locales/it-IT.js +1 -2
- package/lib/locales/ja-JP.js +1 -2
- package/lib/locales/ko-KR.js +1 -2
- package/lib/locales/pl-PL.js +1 -2
- package/lib/locales/pt-BR.js +1 -2
- package/lib/locales/ru-RU.js +1 -2
- package/lib/locales/sk-SK.js +1 -2
- package/lib/locales/vi-VN.js +1 -2
- package/lib/locales/zh-CN.js +1 -2
- package/lib/locales/zh-HK.js +1 -2
- package/lib/locales/zh-TW.js +1 -2
- package/package.json +14 -14
package/lib/index.js
CHANGED
|
@@ -21,7 +21,7 @@ export * from "@univerjs/ui"
|
|
|
21
21
|
|
|
22
22
|
export * from "@univerjs/design"
|
|
23
23
|
|
|
24
|
-
|
|
24
|
+
// src/preset.ts
|
|
25
25
|
function UniverDocsCorePreset(config = {}) {
|
|
26
26
|
const { container = "app", header, footer, toolbar, ribbonType, menu, contextMenu, disableAutoFocus, toc } = config;
|
|
27
27
|
return { plugins: [
|
|
@@ -43,5 +43,4 @@ function UniverDocsCorePreset(config = {}) {
|
|
|
43
43
|
] };
|
|
44
44
|
}
|
|
45
45
|
|
|
46
|
-
//#endregion
|
|
47
46
|
export { UniverDocsCorePreset };
|
package/lib/locales/ar-SA.js
CHANGED
|
@@ -3,8 +3,7 @@ import univerjsdocsui from "@univerjs/docs-ui/locale/ar-SA";
|
|
|
3
3
|
import univerjsengineformula from "@univerjs/engine-formula/locale/ar-SA";
|
|
4
4
|
import univerjsui from "@univerjs/ui/locale/ar-SA";
|
|
5
5
|
|
|
6
|
-
|
|
6
|
+
// src/locales/ar-SA.ts
|
|
7
7
|
var ar_SA_default = Object.assign({}, univerjsdesign, univerjsdocsui, univerjsengineformula, univerjsui);
|
|
8
8
|
|
|
9
|
-
//#endregion
|
|
10
9
|
export { ar_SA_default as default };
|
package/lib/locales/ca-ES.js
CHANGED
|
@@ -3,8 +3,7 @@ import univerjsdocsui from "@univerjs/docs-ui/locale/ca-ES";
|
|
|
3
3
|
import univerjsengineformula from "@univerjs/engine-formula/locale/ca-ES";
|
|
4
4
|
import univerjsui from "@univerjs/ui/locale/ca-ES";
|
|
5
5
|
|
|
6
|
-
|
|
6
|
+
// src/locales/ca-ES.ts
|
|
7
7
|
var ca_ES_default = Object.assign({}, univerjsdesign, univerjsdocsui, univerjsengineformula, univerjsui);
|
|
8
8
|
|
|
9
|
-
//#endregion
|
|
10
9
|
export { ca_ES_default as default };
|
package/lib/locales/de-DE.js
CHANGED
|
@@ -3,8 +3,7 @@ import univerjsdocsui from "@univerjs/docs-ui/locale/de-DE";
|
|
|
3
3
|
import univerjsengineformula from "@univerjs/engine-formula/locale/de-DE";
|
|
4
4
|
import univerjsui from "@univerjs/ui/locale/de-DE";
|
|
5
5
|
|
|
6
|
-
|
|
6
|
+
// src/locales/de-DE.ts
|
|
7
7
|
var de_DE_default = Object.assign({}, univerjsdesign, univerjsdocsui, univerjsengineformula, univerjsui);
|
|
8
8
|
|
|
9
|
-
//#endregion
|
|
10
9
|
export { de_DE_default as default };
|
package/lib/locales/en-US.js
CHANGED
|
@@ -3,8 +3,7 @@ import univerjsdocsui from "@univerjs/docs-ui/locale/en-US";
|
|
|
3
3
|
import univerjsengineformula from "@univerjs/engine-formula/locale/en-US";
|
|
4
4
|
import univerjsui from "@univerjs/ui/locale/en-US";
|
|
5
5
|
|
|
6
|
-
|
|
6
|
+
// src/locales/en-US.ts
|
|
7
7
|
var en_US_default = Object.assign({}, univerjsdesign, univerjsdocsui, univerjsengineformula, univerjsui);
|
|
8
8
|
|
|
9
|
-
//#endregion
|
|
10
9
|
export { en_US_default as default };
|
package/lib/locales/es-ES.js
CHANGED
|
@@ -3,8 +3,7 @@ import univerjsdocsui from "@univerjs/docs-ui/locale/es-ES";
|
|
|
3
3
|
import univerjsengineformula from "@univerjs/engine-formula/locale/es-ES";
|
|
4
4
|
import univerjsui from "@univerjs/ui/locale/es-ES";
|
|
5
5
|
|
|
6
|
-
|
|
6
|
+
// src/locales/es-ES.ts
|
|
7
7
|
var es_ES_default = Object.assign({}, univerjsdesign, univerjsdocsui, univerjsengineformula, univerjsui);
|
|
8
8
|
|
|
9
|
-
//#endregion
|
|
10
9
|
export { es_ES_default as default };
|
package/lib/locales/fa-IR.js
CHANGED
|
@@ -3,8 +3,7 @@ import univerjsdocsui from "@univerjs/docs-ui/locale/fa-IR";
|
|
|
3
3
|
import univerjsengineformula from "@univerjs/engine-formula/locale/fa-IR";
|
|
4
4
|
import univerjsui from "@univerjs/ui/locale/fa-IR";
|
|
5
5
|
|
|
6
|
-
|
|
6
|
+
// src/locales/fa-IR.ts
|
|
7
7
|
var fa_IR_default = Object.assign({}, univerjsdesign, univerjsdocsui, univerjsengineformula, univerjsui);
|
|
8
8
|
|
|
9
|
-
//#endregion
|
|
10
9
|
export { fa_IR_default as default };
|
package/lib/locales/fr-FR.js
CHANGED
|
@@ -3,8 +3,7 @@ import univerjsdocsui from "@univerjs/docs-ui/locale/fr-FR";
|
|
|
3
3
|
import univerjsengineformula from "@univerjs/engine-formula/locale/fr-FR";
|
|
4
4
|
import univerjsui from "@univerjs/ui/locale/fr-FR";
|
|
5
5
|
|
|
6
|
-
|
|
6
|
+
// src/locales/fr-FR.ts
|
|
7
7
|
var fr_FR_default = Object.assign({}, univerjsdesign, univerjsdocsui, univerjsengineformula, univerjsui);
|
|
8
8
|
|
|
9
|
-
//#endregion
|
|
10
9
|
export { fr_FR_default as default };
|
package/lib/locales/id-ID.js
CHANGED
|
@@ -3,8 +3,7 @@ import univerjsdocsui from "@univerjs/docs-ui/locale/id-ID";
|
|
|
3
3
|
import univerjsengineformula from "@univerjs/engine-formula/locale/id-ID";
|
|
4
4
|
import univerjsui from "@univerjs/ui/locale/id-ID";
|
|
5
5
|
|
|
6
|
-
|
|
6
|
+
// src/locales/id-ID.ts
|
|
7
7
|
var id_ID_default = Object.assign({}, univerjsdesign, univerjsdocsui, univerjsengineformula, univerjsui);
|
|
8
8
|
|
|
9
|
-
//#endregion
|
|
10
9
|
export { id_ID_default as default };
|
package/lib/locales/it-IT.js
CHANGED
|
@@ -3,8 +3,7 @@ import univerjsdocsui from "@univerjs/docs-ui/locale/it-IT";
|
|
|
3
3
|
import univerjsengineformula from "@univerjs/engine-formula/locale/it-IT";
|
|
4
4
|
import univerjsui from "@univerjs/ui/locale/it-IT";
|
|
5
5
|
|
|
6
|
-
|
|
6
|
+
// src/locales/it-IT.ts
|
|
7
7
|
var it_IT_default = Object.assign({}, univerjsdesign, univerjsdocsui, univerjsengineformula, univerjsui);
|
|
8
8
|
|
|
9
|
-
//#endregion
|
|
10
9
|
export { it_IT_default as default };
|
package/lib/locales/ja-JP.js
CHANGED
|
@@ -3,8 +3,7 @@ import univerjsdocsui from "@univerjs/docs-ui/locale/ja-JP";
|
|
|
3
3
|
import univerjsengineformula from "@univerjs/engine-formula/locale/ja-JP";
|
|
4
4
|
import univerjsui from "@univerjs/ui/locale/ja-JP";
|
|
5
5
|
|
|
6
|
-
|
|
6
|
+
// src/locales/ja-JP.ts
|
|
7
7
|
var ja_JP_default = Object.assign({}, univerjsdesign, univerjsdocsui, univerjsengineformula, univerjsui);
|
|
8
8
|
|
|
9
|
-
//#endregion
|
|
10
9
|
export { ja_JP_default as default };
|
package/lib/locales/ko-KR.js
CHANGED
|
@@ -3,8 +3,7 @@ import univerjsdocsui from "@univerjs/docs-ui/locale/ko-KR";
|
|
|
3
3
|
import univerjsengineformula from "@univerjs/engine-formula/locale/ko-KR";
|
|
4
4
|
import univerjsui from "@univerjs/ui/locale/ko-KR";
|
|
5
5
|
|
|
6
|
-
|
|
6
|
+
// src/locales/ko-KR.ts
|
|
7
7
|
var ko_KR_default = Object.assign({}, univerjsdesign, univerjsdocsui, univerjsengineformula, univerjsui);
|
|
8
8
|
|
|
9
|
-
//#endregion
|
|
10
9
|
export { ko_KR_default as default };
|
package/lib/locales/pl-PL.js
CHANGED
|
@@ -3,8 +3,7 @@ import univerjsdocsui from "@univerjs/docs-ui/locale/pl-PL";
|
|
|
3
3
|
import univerjsengineformula from "@univerjs/engine-formula/locale/pl-PL";
|
|
4
4
|
import univerjsui from "@univerjs/ui/locale/pl-PL";
|
|
5
5
|
|
|
6
|
-
|
|
6
|
+
// src/locales/pl-PL.ts
|
|
7
7
|
var pl_PL_default = Object.assign({}, univerjsdesign, univerjsdocsui, univerjsengineformula, univerjsui);
|
|
8
8
|
|
|
9
|
-
//#endregion
|
|
10
9
|
export { pl_PL_default as default };
|
package/lib/locales/pt-BR.js
CHANGED
|
@@ -3,8 +3,7 @@ import univerjsdocsui from "@univerjs/docs-ui/locale/pt-BR";
|
|
|
3
3
|
import univerjsengineformula from "@univerjs/engine-formula/locale/pt-BR";
|
|
4
4
|
import univerjsui from "@univerjs/ui/locale/pt-BR";
|
|
5
5
|
|
|
6
|
-
|
|
6
|
+
// src/locales/pt-BR.ts
|
|
7
7
|
var pt_BR_default = Object.assign({}, univerjsdesign, univerjsdocsui, univerjsengineformula, univerjsui);
|
|
8
8
|
|
|
9
|
-
//#endregion
|
|
10
9
|
export { pt_BR_default as default };
|
package/lib/locales/ru-RU.js
CHANGED
|
@@ -3,8 +3,7 @@ import univerjsdocsui from "@univerjs/docs-ui/locale/ru-RU";
|
|
|
3
3
|
import univerjsengineformula from "@univerjs/engine-formula/locale/ru-RU";
|
|
4
4
|
import univerjsui from "@univerjs/ui/locale/ru-RU";
|
|
5
5
|
|
|
6
|
-
|
|
6
|
+
// src/locales/ru-RU.ts
|
|
7
7
|
var ru_RU_default = Object.assign({}, univerjsdesign, univerjsdocsui, univerjsengineformula, univerjsui);
|
|
8
8
|
|
|
9
|
-
//#endregion
|
|
10
9
|
export { ru_RU_default as default };
|
package/lib/locales/sk-SK.js
CHANGED
|
@@ -3,8 +3,7 @@ import univerjsdocsui from "@univerjs/docs-ui/locale/sk-SK";
|
|
|
3
3
|
import univerjsengineformula from "@univerjs/engine-formula/locale/sk-SK";
|
|
4
4
|
import univerjsui from "@univerjs/ui/locale/sk-SK";
|
|
5
5
|
|
|
6
|
-
|
|
6
|
+
// src/locales/sk-SK.ts
|
|
7
7
|
var sk_SK_default = Object.assign({}, univerjsdesign, univerjsdocsui, univerjsengineformula, univerjsui);
|
|
8
8
|
|
|
9
|
-
//#endregion
|
|
10
9
|
export { sk_SK_default as default };
|
package/lib/locales/vi-VN.js
CHANGED
|
@@ -3,8 +3,7 @@ import univerjsdocsui from "@univerjs/docs-ui/locale/vi-VN";
|
|
|
3
3
|
import univerjsengineformula from "@univerjs/engine-formula/locale/vi-VN";
|
|
4
4
|
import univerjsui from "@univerjs/ui/locale/vi-VN";
|
|
5
5
|
|
|
6
|
-
|
|
6
|
+
// src/locales/vi-VN.ts
|
|
7
7
|
var vi_VN_default = Object.assign({}, univerjsdesign, univerjsdocsui, univerjsengineformula, univerjsui);
|
|
8
8
|
|
|
9
|
-
//#endregion
|
|
10
9
|
export { vi_VN_default as default };
|
package/lib/locales/zh-CN.js
CHANGED
|
@@ -3,8 +3,7 @@ import univerjsdocsui from "@univerjs/docs-ui/locale/zh-CN";
|
|
|
3
3
|
import univerjsengineformula from "@univerjs/engine-formula/locale/zh-CN";
|
|
4
4
|
import univerjsui from "@univerjs/ui/locale/zh-CN";
|
|
5
5
|
|
|
6
|
-
|
|
6
|
+
// src/locales/zh-CN.ts
|
|
7
7
|
var zh_CN_default = Object.assign({}, univerjsdesign, univerjsdocsui, univerjsengineformula, univerjsui);
|
|
8
8
|
|
|
9
|
-
//#endregion
|
|
10
9
|
export { zh_CN_default as default };
|
package/lib/locales/zh-HK.js
CHANGED
|
@@ -3,8 +3,7 @@ import univerjsdocsui from "@univerjs/docs-ui/locale/zh-HK";
|
|
|
3
3
|
import univerjsengineformula from "@univerjs/engine-formula/locale/zh-HK";
|
|
4
4
|
import univerjsui from "@univerjs/ui/locale/zh-HK";
|
|
5
5
|
|
|
6
|
-
|
|
6
|
+
// src/locales/zh-HK.ts
|
|
7
7
|
var zh_HK_default = Object.assign({}, univerjsdesign, univerjsdocsui, univerjsengineformula, univerjsui);
|
|
8
8
|
|
|
9
|
-
//#endregion
|
|
10
9
|
export { zh_HK_default as default };
|
package/lib/locales/zh-TW.js
CHANGED
|
@@ -3,8 +3,7 @@ import univerjsdocsui from "@univerjs/docs-ui/locale/zh-TW";
|
|
|
3
3
|
import univerjsengineformula from "@univerjs/engine-formula/locale/zh-TW";
|
|
4
4
|
import univerjsui from "@univerjs/ui/locale/zh-TW";
|
|
5
5
|
|
|
6
|
-
|
|
6
|
+
// src/locales/zh-TW.ts
|
|
7
7
|
var zh_TW_default = Object.assign({}, univerjsdesign, univerjsdocsui, univerjsengineformula, univerjsui);
|
|
8
8
|
|
|
9
|
-
//#endregion
|
|
10
9
|
export { zh_TW_default as default };
|
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@univerjs/preset-docs-core",
|
|
3
|
-
"version": "1.
|
|
3
|
+
"version": "1.5.0",
|
|
4
4
|
"private": false,
|
|
5
5
|
"description": "Preset for core Univer Docs editing and UI features.",
|
|
6
6
|
"author": "DreamNum Co., Ltd. <developer@univer.ai>",
|
|
@@ -56,28 +56,28 @@
|
|
|
56
56
|
"rxjs": ">=7.0.0"
|
|
57
57
|
},
|
|
58
58
|
"dependencies": {
|
|
59
|
-
"@univerjs/design": "1.
|
|
60
|
-
"@univerjs/docs": "1.
|
|
61
|
-
"@univerjs/docs-ui": "1.
|
|
62
|
-
"@univerjs/engine-formula": "1.
|
|
63
|
-
"@univerjs/engine-render": "1.
|
|
64
|
-
"@univerjs/network": "1.
|
|
65
|
-
"@univerjs/ui": "1.
|
|
59
|
+
"@univerjs/design": "1.5.0",
|
|
60
|
+
"@univerjs/docs": "1.5.0",
|
|
61
|
+
"@univerjs/docs-ui": "1.5.0",
|
|
62
|
+
"@univerjs/engine-formula": "1.5.0",
|
|
63
|
+
"@univerjs/engine-render": "1.5.0",
|
|
64
|
+
"@univerjs/network": "1.5.0",
|
|
65
|
+
"@univerjs/ui": "1.5.0"
|
|
66
66
|
},
|
|
67
67
|
"devDependencies": {
|
|
68
|
-
"@univerjs-infra/shared": "1.
|
|
69
|
-
"@univerjs/core": "1.
|
|
70
|
-
"@univerjs/presets": "1.
|
|
68
|
+
"@univerjs-infra/shared": "1.5.0",
|
|
69
|
+
"@univerjs/core": "1.5.0",
|
|
70
|
+
"@univerjs/presets": "1.5.0",
|
|
71
71
|
"react": "18.3.1",
|
|
72
72
|
"react-dom": "18.3.1",
|
|
73
73
|
"rxjs": "7.8.2",
|
|
74
|
-
"
|
|
74
|
+
"tsrs": "0.23.0-ts7.1.0-beta"
|
|
75
75
|
},
|
|
76
76
|
"scripts": {
|
|
77
77
|
"build:bundle": "univer-cli preset build --cleanup",
|
|
78
|
-
"build:types": "
|
|
78
|
+
"build:types": "tsrs -p tsconfig.node.json",
|
|
79
79
|
"build": "pnpm run build:bundle && pnpm run build:types",
|
|
80
|
-
"typecheck": "
|
|
80
|
+
"typecheck": "tsrs --noEmit"
|
|
81
81
|
},
|
|
82
82
|
"module": "./lib/es/index.js"
|
|
83
83
|
}
|