@univerjs/preset-docs-core 0.6.9-nightly.202504061606 → 0.6.9-nightly.202504071607
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/lib/index.js +46 -0
- package/lib/locales/en-US.js +13 -0
- package/lib/locales/fa-IR.js +13 -0
- package/lib/locales/fr-FR.js +13 -0
- package/lib/locales/ru-RU.js +13 -0
- package/lib/locales/vi-VN.js +13 -0
- package/lib/locales/zh-CN.js +13 -0
- package/lib/locales/zh-TW.js +13 -0
- package/package.json +9 -9
package/lib/index.js
ADDED
|
@@ -0,0 +1,46 @@
|
|
|
1
|
+
import { UniverDocsPlugin as f } from "@univerjs/docs";
|
|
2
|
+
export * from "@univerjs/docs";
|
|
3
|
+
import { UniverDocsUIPlugin as u } from "@univerjs/docs-ui";
|
|
4
|
+
export * from "@univerjs/docs-ui";
|
|
5
|
+
import { UniverFormulaEnginePlugin as l } from "@univerjs/engine-formula";
|
|
6
|
+
export * from "@univerjs/engine-formula";
|
|
7
|
+
import { UniverRenderEnginePlugin as g } from "@univerjs/engine-render";
|
|
8
|
+
export * from "@univerjs/engine-render";
|
|
9
|
+
import { UniverNetworkPlugin as U } from "@univerjs/network";
|
|
10
|
+
export * from "@univerjs/network";
|
|
11
|
+
import { UniverUIPlugin as c } from "@univerjs/ui";
|
|
12
|
+
export * from "@univerjs/ui";
|
|
13
|
+
import "@univerjs/network/facade";
|
|
14
|
+
import "@univerjs/docs-ui/facade";
|
|
15
|
+
function E(r = {}) {
|
|
16
|
+
const {
|
|
17
|
+
container: o = "app",
|
|
18
|
+
header: e,
|
|
19
|
+
footer: n,
|
|
20
|
+
toolbar: i,
|
|
21
|
+
menu: t,
|
|
22
|
+
contextMenu: m,
|
|
23
|
+
disableAutoFocus: p
|
|
24
|
+
} = r;
|
|
25
|
+
return {
|
|
26
|
+
plugins: [
|
|
27
|
+
U,
|
|
28
|
+
f,
|
|
29
|
+
g,
|
|
30
|
+
l,
|
|
31
|
+
[c, {
|
|
32
|
+
container: o,
|
|
33
|
+
header: e,
|
|
34
|
+
footer: n,
|
|
35
|
+
toolbar: i,
|
|
36
|
+
menu: t,
|
|
37
|
+
contextMenu: m,
|
|
38
|
+
disableAutoFocus: p
|
|
39
|
+
}],
|
|
40
|
+
u
|
|
41
|
+
]
|
|
42
|
+
};
|
|
43
|
+
}
|
|
44
|
+
export {
|
|
45
|
+
E as UniverDocsCorePreset
|
|
46
|
+
};
|
|
@@ -0,0 +1,13 @@
|
|
|
1
|
+
import { merge as r } from "@univerjs/core";
|
|
2
|
+
import o from "@univerjs/design/locale/en-US";
|
|
3
|
+
import i from "@univerjs/docs-ui/locale/en-US";
|
|
4
|
+
import e from "@univerjs/ui/locale/en-US";
|
|
5
|
+
const u = r(
|
|
6
|
+
{},
|
|
7
|
+
o,
|
|
8
|
+
i,
|
|
9
|
+
e
|
|
10
|
+
);
|
|
11
|
+
export {
|
|
12
|
+
u as default
|
|
13
|
+
};
|
|
@@ -0,0 +1,13 @@
|
|
|
1
|
+
import { merge as r } from "@univerjs/core";
|
|
2
|
+
import o from "@univerjs/design/locale/fa-IR";
|
|
3
|
+
import i from "@univerjs/docs-ui/locale/fa-IR";
|
|
4
|
+
import m from "@univerjs/ui/locale/fa-IR";
|
|
5
|
+
const u = r(
|
|
6
|
+
{},
|
|
7
|
+
o,
|
|
8
|
+
i,
|
|
9
|
+
m
|
|
10
|
+
);
|
|
11
|
+
export {
|
|
12
|
+
u as default
|
|
13
|
+
};
|
|
@@ -0,0 +1,13 @@
|
|
|
1
|
+
import { merge as r } from "@univerjs/core";
|
|
2
|
+
import o from "@univerjs/design/locale/fr-FR";
|
|
3
|
+
import i from "@univerjs/docs-ui/locale/fr-FR";
|
|
4
|
+
import m from "@univerjs/ui/locale/fr-FR";
|
|
5
|
+
const u = r(
|
|
6
|
+
{},
|
|
7
|
+
o,
|
|
8
|
+
i,
|
|
9
|
+
m
|
|
10
|
+
);
|
|
11
|
+
export {
|
|
12
|
+
u as default
|
|
13
|
+
};
|
|
@@ -0,0 +1,13 @@
|
|
|
1
|
+
import { merge as r } from "@univerjs/core";
|
|
2
|
+
import o from "@univerjs/design/locale/ru-RU";
|
|
3
|
+
import i from "@univerjs/docs-ui/locale/ru-RU";
|
|
4
|
+
import m from "@univerjs/ui/locale/ru-RU";
|
|
5
|
+
const f = r(
|
|
6
|
+
{},
|
|
7
|
+
o,
|
|
8
|
+
i,
|
|
9
|
+
m
|
|
10
|
+
);
|
|
11
|
+
export {
|
|
12
|
+
f as default
|
|
13
|
+
};
|
|
@@ -0,0 +1,13 @@
|
|
|
1
|
+
import { merge as r } from "@univerjs/core";
|
|
2
|
+
import i from "@univerjs/design/locale/vi-VN";
|
|
3
|
+
import o from "@univerjs/docs-ui/locale/vi-VN";
|
|
4
|
+
import m from "@univerjs/ui/locale/vi-VN";
|
|
5
|
+
const f = r(
|
|
6
|
+
{},
|
|
7
|
+
i,
|
|
8
|
+
o,
|
|
9
|
+
m
|
|
10
|
+
);
|
|
11
|
+
export {
|
|
12
|
+
f as default
|
|
13
|
+
};
|
|
@@ -0,0 +1,13 @@
|
|
|
1
|
+
import { merge as r } from "@univerjs/core";
|
|
2
|
+
import o from "@univerjs/design/locale/zh-CN";
|
|
3
|
+
import i from "@univerjs/docs-ui/locale/zh-CN";
|
|
4
|
+
import m from "@univerjs/ui/locale/zh-CN";
|
|
5
|
+
const f = r(
|
|
6
|
+
{},
|
|
7
|
+
o,
|
|
8
|
+
i,
|
|
9
|
+
m
|
|
10
|
+
);
|
|
11
|
+
export {
|
|
12
|
+
f as default
|
|
13
|
+
};
|
|
@@ -0,0 +1,13 @@
|
|
|
1
|
+
import { merge as r } from "@univerjs/core";
|
|
2
|
+
import o from "@univerjs/design/locale/zh-TW";
|
|
3
|
+
import i from "@univerjs/docs-ui/locale/zh-TW";
|
|
4
|
+
import m from "@univerjs/ui/locale/zh-TW";
|
|
5
|
+
const f = r(
|
|
6
|
+
{},
|
|
7
|
+
o,
|
|
8
|
+
i,
|
|
9
|
+
m
|
|
10
|
+
);
|
|
11
|
+
export {
|
|
12
|
+
f as default
|
|
13
|
+
};
|
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@univerjs/preset-docs-core",
|
|
3
|
-
"version": "0.6.9-nightly.
|
|
3
|
+
"version": "0.6.9-nightly.202504071607",
|
|
4
4
|
"private": false,
|
|
5
5
|
"description": "",
|
|
6
6
|
"author": "DreamNum <developer@univer.ai>",
|
|
@@ -57,16 +57,16 @@
|
|
|
57
57
|
"rxjs": ">=7.0.0"
|
|
58
58
|
},
|
|
59
59
|
"dependencies": {
|
|
60
|
-
"@univerjs/design": "0.6.9-nightly.
|
|
61
|
-
"@univerjs/docs": "0.6.9-nightly.
|
|
62
|
-
"@univerjs/docs-ui": "0.6.9-nightly.
|
|
63
|
-
"@univerjs/engine-formula": "0.6.9-nightly.
|
|
64
|
-
"@univerjs/engine-render": "0.6.9-nightly.
|
|
65
|
-
"@univerjs/network": "0.6.9-nightly.
|
|
66
|
-
"@univerjs/ui": "0.6.9-nightly.
|
|
60
|
+
"@univerjs/design": "0.6.9-nightly.202504071607",
|
|
61
|
+
"@univerjs/docs": "0.6.9-nightly.202504071607",
|
|
62
|
+
"@univerjs/docs-ui": "0.6.9-nightly.202504071607",
|
|
63
|
+
"@univerjs/engine-formula": "0.6.9-nightly.202504071607",
|
|
64
|
+
"@univerjs/engine-render": "0.6.9-nightly.202504071607",
|
|
65
|
+
"@univerjs/network": "0.6.9-nightly.202504071607",
|
|
66
|
+
"@univerjs/ui": "0.6.9-nightly.202504071607"
|
|
67
67
|
},
|
|
68
68
|
"devDependencies": {
|
|
69
|
-
"@univerjs/core": "0.6.9-nightly.
|
|
69
|
+
"@univerjs/core": "0.6.9-nightly.202504071607",
|
|
70
70
|
"react": "18.3.1",
|
|
71
71
|
"react-dom": "18.3.1",
|
|
72
72
|
"typescript": "^5.8.2",
|