@univerjs/preset-sheets-core 0.5.1 → 0.5.3
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/cjs/index.js +1 -1
- package/lib/cjs/locales/en-US.js +1 -1
- package/lib/cjs/locales/fa-IR.js +1 -1
- package/lib/cjs/locales/fr-FR.js +1 -1
- package/lib/cjs/locales/ru-RU.js +1 -1
- package/lib/cjs/locales/vi-VN.js +1 -1
- package/lib/cjs/locales/zh-CN.js +1 -1
- package/lib/cjs/locales/zh-TW.js +1 -1
- package/lib/cjs/worker.js +1 -1
- package/lib/es/index.js +42 -40
- package/lib/es/locales/en-US.js +8 -8
- package/lib/es/locales/fa-IR.js +8 -8
- package/lib/es/locales/fr-FR.js +8 -8
- package/lib/es/locales/ru-RU.js +8 -8
- package/lib/es/locales/vi-VN.js +9 -9
- package/lib/es/locales/zh-CN.js +8 -8
- package/lib/es/locales/zh-TW.js +8 -8
- package/lib/es/worker.js +11 -12
- package/lib/index.css +1 -1
- package/lib/types/index.d.ts +1 -24
- package/lib/types/types.d.ts +6 -0
- package/lib/types/umd.d.ts +31 -0
- package/lib/types/worker.d.ts +8 -6
- package/lib/umd/index.js +143 -90
- package/lib/umd/locales/en-US.js +1 -1
- package/lib/umd/locales/fa-IR.js +1 -1
- package/lib/umd/locales/fr-FR.js +1 -1
- package/lib/umd/locales/ru-RU.js +1 -1
- package/lib/umd/locales/vi-VN.js +1 -1
- package/lib/umd/locales/zh-CN.js +1 -1
- package/lib/umd/locales/zh-TW.js +1 -1
- package/lib/umd/worker.js +1 -1
- package/package.json +20 -18
package/lib/cjs/index.js
CHANGED
|
@@ -1 +1 @@
|
|
|
1
|
-
"use strict";Object.defineProperty(exports,Symbol.toStringTag,{value:"Module"});const
|
|
1
|
+
"use strict";Object.defineProperty(exports,Symbol.toStringTag,{value:"Module"});const o=require("@univerjs/docs"),n=require("@univerjs/docs-ui"),u=require("@univerjs/engine-formula"),i=require("@univerjs/engine-render"),c=require("@univerjs/rpc"),a=require("@univerjs/sheets"),l=require("@univerjs/sheets-formula"),s=require("@univerjs/sheets-formula-ui"),f=require("@univerjs/sheets-numfmt"),p=require("@univerjs/sheets-numfmt-ui"),b=require("@univerjs/sheets-ui"),y=require("@univerjs/ui");require("@univerjs/sheets/facade");require("@univerjs/ui/facade");require("@univerjs/docs-ui/facade");require("@univerjs/sheets-ui/facade");require("@univerjs/engine-formula/facade");require("@univerjs/sheets-formula/facade");require("@univerjs/sheets-numfmt/facade");function v(e={}){const{container:h="app",workerURL:O,header:P,footer:j,toolbar:d,menu:g,contextMenu:m,disableAutoFocus:U,formula:r,customComponents:q}=e,t=!!O;return{plugins:[o.UniverDocsPlugin,i.UniverRenderEnginePlugin,[y.UniverUIPlugin,{container:h,header:P,footer:j,toolbar:d,menu:g,contextMenu:m,disableAutoFocus:U}],n.UniverDocsUIPlugin,t?[c.UniverRPCMainThreadPlugin,{workerURL:O}]:null,[u.UniverFormulaEnginePlugin,{notExecuteFormula:t,function:r==null?void 0:r.function}],[a.UniverSheetsPlugin,{notExecuteFormula:t,onlyRegisterFormulaRelatedMutations:!1}],[b.UniverSheetsUIPlugin,{customComponents:q}],f.UniverSheetsNumfmtPlugin,p.UniverSheetsNumfmtUIPlugin,[l.UniverSheetsFormulaPlugin,{notExecuteFormula:t,description:r==null?void 0:r.description}],s.UniverSheetsFormulaUIPlugin].filter(E=>!!E)}}exports.UniverSheetsCorePreset=v;Object.keys(o).forEach(e=>{e!=="default"&&!Object.prototype.hasOwnProperty.call(exports,e)&&Object.defineProperty(exports,e,{enumerable:!0,get:()=>o[e]})});Object.keys(n).forEach(e=>{e!=="default"&&!Object.prototype.hasOwnProperty.call(exports,e)&&Object.defineProperty(exports,e,{enumerable:!0,get:()=>n[e]})});Object.keys(u).forEach(e=>{e!=="default"&&!Object.prototype.hasOwnProperty.call(exports,e)&&Object.defineProperty(exports,e,{enumerable:!0,get:()=>u[e]})});Object.keys(i).forEach(e=>{e!=="default"&&!Object.prototype.hasOwnProperty.call(exports,e)&&Object.defineProperty(exports,e,{enumerable:!0,get:()=>i[e]})});Object.keys(c).forEach(e=>{e!=="default"&&!Object.prototype.hasOwnProperty.call(exports,e)&&Object.defineProperty(exports,e,{enumerable:!0,get:()=>c[e]})});Object.keys(a).forEach(e=>{e!=="default"&&!Object.prototype.hasOwnProperty.call(exports,e)&&Object.defineProperty(exports,e,{enumerable:!0,get:()=>a[e]})});Object.keys(l).forEach(e=>{e!=="default"&&!Object.prototype.hasOwnProperty.call(exports,e)&&Object.defineProperty(exports,e,{enumerable:!0,get:()=>l[e]})});Object.keys(s).forEach(e=>{e!=="default"&&!Object.prototype.hasOwnProperty.call(exports,e)&&Object.defineProperty(exports,e,{enumerable:!0,get:()=>s[e]})});Object.keys(f).forEach(e=>{e!=="default"&&!Object.prototype.hasOwnProperty.call(exports,e)&&Object.defineProperty(exports,e,{enumerable:!0,get:()=>f[e]})});Object.keys(p).forEach(e=>{e!=="default"&&!Object.prototype.hasOwnProperty.call(exports,e)&&Object.defineProperty(exports,e,{enumerable:!0,get:()=>p[e]})});Object.keys(b).forEach(e=>{e!=="default"&&!Object.prototype.hasOwnProperty.call(exports,e)&&Object.defineProperty(exports,e,{enumerable:!0,get:()=>b[e]})});Object.keys(y).forEach(e=>{e!=="default"&&!Object.prototype.hasOwnProperty.call(exports,e)&&Object.defineProperty(exports,e,{enumerable:!0,get:()=>y[e]})});
|
package/lib/cjs/locales/en-US.js
CHANGED
|
@@ -1 +1 @@
|
|
|
1
|
-
"use strict";const e=require("@univerjs/core"),s=require("@univerjs/design/locale/en-US"),r=require("@univerjs/docs-ui/locale/en-US"),u=require("@univerjs/sheets/locale/en-US"),i=require("@univerjs/sheets-formula/locale/en-US"),n=require("@univerjs/sheets-formula-ui/locale/en-US"),t=require("@univerjs/sheets-numfmt-ui/locale/en-US"),o=require("@univerjs/sheets-ui/locale/en-US"),c=require("@univerjs/ui/locale/en-US"),q=e.
|
|
1
|
+
"use strict";const e=require("@univerjs/core"),s=require("@univerjs/design/locale/en-US"),r=require("@univerjs/docs-ui/locale/en-US"),u=require("@univerjs/sheets/locale/en-US"),i=require("@univerjs/sheets-formula/locale/en-US"),n=require("@univerjs/sheets-formula-ui/locale/en-US"),t=require("@univerjs/sheets-numfmt-ui/locale/en-US"),o=require("@univerjs/sheets-ui/locale/en-US"),c=require("@univerjs/ui/locale/en-US"),q=e.merge({},s,r,u,i,n,t,o,c);module.exports=q;
|
package/lib/cjs/locales/fa-IR.js
CHANGED
|
@@ -1 +1 @@
|
|
|
1
|
-
"use strict";const e=require("@univerjs/core"),s=require("@univerjs/design/locale/fa-IR"),r=require("@univerjs/docs-ui/locale/fa-IR"),u=require("@univerjs/sheets/locale/fa-IR"),i=require("@univerjs/sheets-formula/locale/fa-IR"),n=require("@univerjs/sheets-formula-ui/locale/fa-IR"),t=require("@univerjs/sheets-numfmt-ui/locale/fa-IR"),o=require("@univerjs/sheets-ui/locale/fa-IR"),c=require("@univerjs/ui/locale/fa-IR"),q=e.
|
|
1
|
+
"use strict";const e=require("@univerjs/core"),s=require("@univerjs/design/locale/fa-IR"),r=require("@univerjs/docs-ui/locale/fa-IR"),u=require("@univerjs/sheets/locale/fa-IR"),i=require("@univerjs/sheets-formula/locale/fa-IR"),n=require("@univerjs/sheets-formula-ui/locale/fa-IR"),t=require("@univerjs/sheets-numfmt-ui/locale/fa-IR"),o=require("@univerjs/sheets-ui/locale/fa-IR"),c=require("@univerjs/ui/locale/fa-IR"),q=e.merge({},s,r,u,i,n,t,o,c);module.exports=q;
|
package/lib/cjs/locales/fr-FR.js
CHANGED
|
@@ -1 +1 @@
|
|
|
1
|
-
"use strict";const e=require("@univerjs/core"),
|
|
1
|
+
"use strict";const e=require("@univerjs/core"),r=require("@univerjs/design/locale/fr-FR"),s=require("@univerjs/docs-ui/locale/fr-FR"),u=require("@univerjs/sheets/locale/fr-FR"),i=require("@univerjs/sheets-formula/locale/fr-FR"),n=require("@univerjs/sheets-formula-ui/locale/fr-FR"),t=require("@univerjs/sheets-numfmt-ui/locale/fr-FR"),o=require("@univerjs/sheets-ui/locale/fr-FR"),c=require("@univerjs/ui/locale/fr-FR"),q=e.merge({},r,s,u,i,n,t,o,c);module.exports=q;
|
package/lib/cjs/locales/ru-RU.js
CHANGED
|
@@ -1 +1 @@
|
|
|
1
|
-
"use strict";const e=require("@univerjs/core"),
|
|
1
|
+
"use strict";const e=require("@univerjs/core"),r=require("@univerjs/design/locale/ru-RU"),s=require("@univerjs/docs-ui/locale/ru-RU"),u=require("@univerjs/sheets/locale/ru-RU"),i=require("@univerjs/sheets-formula/locale/ru-RU"),n=require("@univerjs/sheets-formula-ui/locale/ru-RU"),t=require("@univerjs/sheets-numfmt-ui/locale/ru-RU"),o=require("@univerjs/sheets-ui/locale/ru-RU"),c=require("@univerjs/ui/locale/ru-RU"),q=e.merge({},r,s,u,i,n,t,o,c);module.exports=q;
|
package/lib/cjs/locales/vi-VN.js
CHANGED
|
@@ -1 +1 @@
|
|
|
1
|
-
"use strict";const e=require("@univerjs/core"),s=require("@univerjs/design/locale/vi-VN"),r=require("@univerjs/docs-ui/locale/vi-VN"),u=require("@univerjs/sheets/locale/vi-VN"),i=require("@univerjs/sheets-formula/locale/vi-VN"),n=require("@univerjs/sheets-formula-ui/locale/vi-VN"),t=require("@univerjs/sheets-numfmt-ui/locale/vi-VN"),o=require("@univerjs/sheets-ui/locale/vi-VN"),c=require("@univerjs/ui/locale/vi-VN"),q=e.
|
|
1
|
+
"use strict";const e=require("@univerjs/core"),s=require("@univerjs/design/locale/vi-VN"),r=require("@univerjs/docs-ui/locale/vi-VN"),u=require("@univerjs/sheets/locale/vi-VN"),i=require("@univerjs/sheets-formula/locale/vi-VN"),n=require("@univerjs/sheets-formula-ui/locale/vi-VN"),t=require("@univerjs/sheets-numfmt-ui/locale/vi-VN"),o=require("@univerjs/sheets-ui/locale/vi-VN"),c=require("@univerjs/ui/locale/vi-VN"),q=e.merge({},s,r,u,i,n,t,o,c);module.exports=q;
|
package/lib/cjs/locales/zh-CN.js
CHANGED
|
@@ -1 +1 @@
|
|
|
1
|
-
"use strict";const e=require("@univerjs/core"),s=require("@univerjs/design/locale/zh-CN"),r=require("@univerjs/docs-ui/locale/zh-CN"),u=require("@univerjs/sheets/locale/zh-CN"),i=require("@univerjs/sheets-formula/locale/zh-CN"),n=require("@univerjs/sheets-formula-ui/locale/zh-CN"),t=require("@univerjs/sheets-numfmt-ui/locale/zh-CN"),o=require("@univerjs/sheets-ui/locale/zh-CN"),c=require("@univerjs/ui/locale/zh-CN"),q=e.
|
|
1
|
+
"use strict";const e=require("@univerjs/core"),s=require("@univerjs/design/locale/zh-CN"),r=require("@univerjs/docs-ui/locale/zh-CN"),u=require("@univerjs/sheets/locale/zh-CN"),i=require("@univerjs/sheets-formula/locale/zh-CN"),n=require("@univerjs/sheets-formula-ui/locale/zh-CN"),t=require("@univerjs/sheets-numfmt-ui/locale/zh-CN"),o=require("@univerjs/sheets-ui/locale/zh-CN"),c=require("@univerjs/ui/locale/zh-CN"),q=e.merge({},s,r,u,i,n,t,o,c);module.exports=q;
|
package/lib/cjs/locales/zh-TW.js
CHANGED
|
@@ -1 +1 @@
|
|
|
1
|
-
"use strict";const e=require("@univerjs/core"),s=require("@univerjs/design/locale/zh-TW"),r=require("@univerjs/docs-ui/locale/zh-TW"),u=require("@univerjs/sheets/locale/zh-TW"),i=require("@univerjs/sheets-formula/locale/zh-TW"),n=require("@univerjs/sheets-formula-ui/locale/zh-TW"),t=require("@univerjs/sheets-numfmt-ui/locale/zh-TW"),o=require("@univerjs/sheets-ui/locale/zh-TW"),c=require("@univerjs/ui/locale/zh-TW"),q=e.
|
|
1
|
+
"use strict";const e=require("@univerjs/core"),s=require("@univerjs/design/locale/zh-TW"),r=require("@univerjs/docs-ui/locale/zh-TW"),u=require("@univerjs/sheets/locale/zh-TW"),i=require("@univerjs/sheets-formula/locale/zh-TW"),n=require("@univerjs/sheets-formula-ui/locale/zh-TW"),t=require("@univerjs/sheets-numfmt-ui/locale/zh-TW"),o=require("@univerjs/sheets-ui/locale/zh-TW"),c=require("@univerjs/ui/locale/zh-TW"),q=e.merge({},s,r,u,i,n,t,o,c);module.exports=q;
|
package/lib/cjs/worker.js
CHANGED
|
@@ -1 +1 @@
|
|
|
1
|
-
"use strict";Object.defineProperty(exports,Symbol.toStringTag,{value:"Module"});const
|
|
1
|
+
"use strict";Object.defineProperty(exports,Symbol.toStringTag,{value:"Module"});const n=require("@univerjs/engine-formula"),t=require("@univerjs/rpc"),i=require("@univerjs/sheets"),o=require("@univerjs/sheets-formula");function u(r={}){const{formula:e}=r;return{plugins:[[i.UniverSheetsPlugin,{onlyRegisterFormulaRelatedMutations:!0}],[n.UniverFormulaEnginePlugin,{function:e==null?void 0:e.function}],t.UniverRPCWorkerThreadPlugin,o.UniverRemoteSheetsFormulaPlugin]}}exports.UniverSheetsCoreWorkerPreset=u;
|
package/lib/es/index.js
CHANGED
|
@@ -1,26 +1,26 @@
|
|
|
1
|
-
import { UniverDocsPlugin as
|
|
1
|
+
import { UniverDocsPlugin as c } from "@univerjs/docs";
|
|
2
2
|
export * from "@univerjs/docs";
|
|
3
|
-
import { UniverDocsUIPlugin as
|
|
3
|
+
import { UniverDocsUIPlugin as x } from "@univerjs/docs-ui";
|
|
4
4
|
export * from "@univerjs/docs-ui";
|
|
5
|
-
import { UniverFormulaEnginePlugin as
|
|
5
|
+
import { UniverFormulaEnginePlugin as g } from "@univerjs/engine-formula";
|
|
6
6
|
export * from "@univerjs/engine-formula";
|
|
7
|
-
import { UniverRenderEnginePlugin as
|
|
7
|
+
import { UniverRenderEnginePlugin as a } from "@univerjs/engine-render";
|
|
8
8
|
export * from "@univerjs/engine-render";
|
|
9
|
-
import { UniverRPCMainThreadPlugin as
|
|
9
|
+
import { UniverRPCMainThreadPlugin as P } from "@univerjs/rpc";
|
|
10
10
|
export * from "@univerjs/rpc";
|
|
11
|
-
import { UniverSheetsPlugin as
|
|
11
|
+
import { UniverSheetsPlugin as v } from "@univerjs/sheets";
|
|
12
12
|
export * from "@univerjs/sheets";
|
|
13
|
-
import { UniverSheetsFormulaPlugin as
|
|
13
|
+
import { UniverSheetsFormulaPlugin as h } from "@univerjs/sheets-formula";
|
|
14
14
|
export * from "@univerjs/sheets-formula";
|
|
15
|
-
import { UniverSheetsFormulaUIPlugin as
|
|
15
|
+
import { UniverSheetsFormulaUIPlugin as F } from "@univerjs/sheets-formula-ui";
|
|
16
16
|
export * from "@univerjs/sheets-formula-ui";
|
|
17
|
-
import { UniverSheetsNumfmtPlugin as
|
|
17
|
+
import { UniverSheetsNumfmtPlugin as S } from "@univerjs/sheets-numfmt";
|
|
18
18
|
export * from "@univerjs/sheets-numfmt";
|
|
19
|
-
import { UniverSheetsNumfmtUIPlugin as
|
|
19
|
+
import { UniverSheetsNumfmtUIPlugin as d } from "@univerjs/sheets-numfmt-ui";
|
|
20
20
|
export * from "@univerjs/sheets-numfmt-ui";
|
|
21
|
-
import { UniverSheetsUIPlugin as
|
|
21
|
+
import { UniverSheetsUIPlugin as R } from "@univerjs/sheets-ui";
|
|
22
22
|
export * from "@univerjs/sheets-ui";
|
|
23
|
-
import { UniverUIPlugin as
|
|
23
|
+
import { UniverUIPlugin as E } from "@univerjs/ui";
|
|
24
24
|
export * from "@univerjs/ui";
|
|
25
25
|
import "@univerjs/sheets/facade";
|
|
26
26
|
import "@univerjs/ui/facade";
|
|
@@ -29,42 +29,44 @@ import "@univerjs/sheets-ui/facade";
|
|
|
29
29
|
import "@univerjs/engine-formula/facade";
|
|
30
30
|
import "@univerjs/sheets-formula/facade";
|
|
31
31
|
import "@univerjs/sheets-numfmt/facade";
|
|
32
|
-
function
|
|
32
|
+
function J(t = {}) {
|
|
33
33
|
const {
|
|
34
|
-
container:
|
|
35
|
-
workerURL:
|
|
36
|
-
header:
|
|
34
|
+
container: i = "app",
|
|
35
|
+
workerURL: e,
|
|
36
|
+
header: n,
|
|
37
37
|
footer: m,
|
|
38
|
-
toolbar:
|
|
39
|
-
menu:
|
|
40
|
-
contextMenu:
|
|
41
|
-
disableAutoFocus:
|
|
42
|
-
|
|
38
|
+
toolbar: p,
|
|
39
|
+
menu: u,
|
|
40
|
+
contextMenu: f,
|
|
41
|
+
disableAutoFocus: l,
|
|
42
|
+
formula: r,
|
|
43
|
+
customComponents: s
|
|
44
|
+
} = t, o = !!e;
|
|
43
45
|
return {
|
|
44
46
|
plugins: [
|
|
45
|
-
|
|
46
|
-
|
|
47
|
-
[
|
|
48
|
-
container:
|
|
49
|
-
header:
|
|
47
|
+
c,
|
|
48
|
+
a,
|
|
49
|
+
[E, {
|
|
50
|
+
container: i,
|
|
51
|
+
header: n,
|
|
50
52
|
footer: m,
|
|
51
|
-
toolbar:
|
|
52
|
-
menu:
|
|
53
|
-
contextMenu:
|
|
54
|
-
disableAutoFocus:
|
|
53
|
+
toolbar: p,
|
|
54
|
+
menu: u,
|
|
55
|
+
contextMenu: f,
|
|
56
|
+
disableAutoFocus: l
|
|
55
57
|
}],
|
|
56
|
-
|
|
57
|
-
|
|
58
|
-
[
|
|
59
|
-
[
|
|
60
|
-
|
|
61
|
-
h,
|
|
58
|
+
x,
|
|
59
|
+
o ? [P, { workerURL: e }] : null,
|
|
60
|
+
[g, { notExecuteFormula: o, function: r == null ? void 0 : r.function }],
|
|
61
|
+
[v, { notExecuteFormula: o, onlyRegisterFormulaRelatedMutations: !1 }],
|
|
62
|
+
[R, { customComponents: s }],
|
|
62
63
|
S,
|
|
63
|
-
|
|
64
|
-
|
|
65
|
-
|
|
64
|
+
d,
|
|
65
|
+
[h, { notExecuteFormula: o, description: r == null ? void 0 : r.description }],
|
|
66
|
+
F
|
|
67
|
+
].filter((U) => !!U)
|
|
66
68
|
};
|
|
67
69
|
}
|
|
68
70
|
export {
|
|
69
|
-
|
|
71
|
+
J as UniverSheetsCorePreset
|
|
70
72
|
};
|
package/lib/es/locales/en-US.js
CHANGED
|
@@ -1,19 +1,19 @@
|
|
|
1
|
-
import {
|
|
1
|
+
import { merge as r } from "@univerjs/core";
|
|
2
2
|
import e from "@univerjs/design/locale/en-US";
|
|
3
|
-
import
|
|
4
|
-
import
|
|
5
|
-
import
|
|
6
|
-
import
|
|
3
|
+
import i from "@univerjs/docs-ui/locale/en-US";
|
|
4
|
+
import m from "@univerjs/sheets/locale/en-US";
|
|
5
|
+
import o from "@univerjs/sheets-formula/locale/en-US";
|
|
6
|
+
import s from "@univerjs/sheets-formula-ui/locale/en-US";
|
|
7
7
|
import t from "@univerjs/sheets-numfmt-ui/locale/en-US";
|
|
8
8
|
import u from "@univerjs/sheets-ui/locale/en-US";
|
|
9
9
|
import f from "@univerjs/ui/locale/en-US";
|
|
10
|
-
const g = r
|
|
10
|
+
const g = r(
|
|
11
11
|
{},
|
|
12
12
|
e,
|
|
13
|
-
o,
|
|
14
13
|
i,
|
|
15
|
-
s,
|
|
16
14
|
m,
|
|
15
|
+
o,
|
|
16
|
+
s,
|
|
17
17
|
t,
|
|
18
18
|
u,
|
|
19
19
|
f
|
package/lib/es/locales/fa-IR.js
CHANGED
|
@@ -1,19 +1,19 @@
|
|
|
1
|
-
import {
|
|
1
|
+
import { merge as r } from "@univerjs/core";
|
|
2
2
|
import e from "@univerjs/design/locale/fa-IR";
|
|
3
|
-
import
|
|
4
|
-
import
|
|
5
|
-
import
|
|
6
|
-
import
|
|
3
|
+
import i from "@univerjs/docs-ui/locale/fa-IR";
|
|
4
|
+
import m from "@univerjs/sheets/locale/fa-IR";
|
|
5
|
+
import o from "@univerjs/sheets-formula/locale/fa-IR";
|
|
6
|
+
import s from "@univerjs/sheets-formula-ui/locale/fa-IR";
|
|
7
7
|
import t from "@univerjs/sheets-numfmt-ui/locale/fa-IR";
|
|
8
8
|
import u from "@univerjs/sheets-ui/locale/fa-IR";
|
|
9
9
|
import f from "@univerjs/ui/locale/fa-IR";
|
|
10
|
-
const g = r
|
|
10
|
+
const g = r(
|
|
11
11
|
{},
|
|
12
12
|
e,
|
|
13
|
-
o,
|
|
14
13
|
i,
|
|
15
|
-
s,
|
|
16
14
|
m,
|
|
15
|
+
o,
|
|
16
|
+
s,
|
|
17
17
|
t,
|
|
18
18
|
u,
|
|
19
19
|
f
|
package/lib/es/locales/fr-FR.js
CHANGED
|
@@ -1,19 +1,19 @@
|
|
|
1
|
-
import {
|
|
1
|
+
import { merge as r } from "@univerjs/core";
|
|
2
2
|
import e from "@univerjs/design/locale/fr-FR";
|
|
3
|
-
import
|
|
4
|
-
import
|
|
5
|
-
import
|
|
6
|
-
import
|
|
3
|
+
import i from "@univerjs/docs-ui/locale/fr-FR";
|
|
4
|
+
import m from "@univerjs/sheets/locale/fr-FR";
|
|
5
|
+
import o from "@univerjs/sheets-formula/locale/fr-FR";
|
|
6
|
+
import s from "@univerjs/sheets-formula-ui/locale/fr-FR";
|
|
7
7
|
import t from "@univerjs/sheets-numfmt-ui/locale/fr-FR";
|
|
8
8
|
import u from "@univerjs/sheets-ui/locale/fr-FR";
|
|
9
9
|
import f from "@univerjs/ui/locale/fr-FR";
|
|
10
|
-
const g = r
|
|
10
|
+
const g = r(
|
|
11
11
|
{},
|
|
12
12
|
e,
|
|
13
|
-
o,
|
|
14
13
|
i,
|
|
15
|
-
s,
|
|
16
14
|
m,
|
|
15
|
+
o,
|
|
16
|
+
s,
|
|
17
17
|
t,
|
|
18
18
|
u,
|
|
19
19
|
f
|
package/lib/es/locales/ru-RU.js
CHANGED
|
@@ -1,19 +1,19 @@
|
|
|
1
|
-
import {
|
|
1
|
+
import { merge as r } from "@univerjs/core";
|
|
2
2
|
import e from "@univerjs/design/locale/ru-RU";
|
|
3
|
-
import
|
|
4
|
-
import
|
|
5
|
-
import
|
|
6
|
-
import
|
|
3
|
+
import i from "@univerjs/docs-ui/locale/ru-RU";
|
|
4
|
+
import m from "@univerjs/sheets/locale/ru-RU";
|
|
5
|
+
import o from "@univerjs/sheets-formula/locale/ru-RU";
|
|
6
|
+
import s from "@univerjs/sheets-formula-ui/locale/ru-RU";
|
|
7
7
|
import t from "@univerjs/sheets-numfmt-ui/locale/ru-RU";
|
|
8
8
|
import u from "@univerjs/sheets-ui/locale/ru-RU";
|
|
9
9
|
import f from "@univerjs/ui/locale/ru-RU";
|
|
10
|
-
const g = r
|
|
10
|
+
const g = r(
|
|
11
11
|
{},
|
|
12
12
|
e,
|
|
13
|
-
o,
|
|
14
13
|
i,
|
|
15
|
-
s,
|
|
16
14
|
m,
|
|
15
|
+
o,
|
|
16
|
+
s,
|
|
17
17
|
t,
|
|
18
18
|
u,
|
|
19
19
|
f
|
package/lib/es/locales/vi-VN.js
CHANGED
|
@@ -1,19 +1,19 @@
|
|
|
1
|
-
import {
|
|
2
|
-
import
|
|
3
|
-
import
|
|
4
|
-
import
|
|
5
|
-
import
|
|
6
|
-
import
|
|
1
|
+
import { merge as r } from "@univerjs/core";
|
|
2
|
+
import i from "@univerjs/design/locale/vi-VN";
|
|
3
|
+
import e from "@univerjs/docs-ui/locale/vi-VN";
|
|
4
|
+
import m from "@univerjs/sheets/locale/vi-VN";
|
|
5
|
+
import o from "@univerjs/sheets-formula/locale/vi-VN";
|
|
6
|
+
import s from "@univerjs/sheets-formula-ui/locale/vi-VN";
|
|
7
7
|
import t from "@univerjs/sheets-numfmt-ui/locale/vi-VN";
|
|
8
8
|
import u from "@univerjs/sheets-ui/locale/vi-VN";
|
|
9
9
|
import f from "@univerjs/ui/locale/vi-VN";
|
|
10
|
-
const g = r
|
|
10
|
+
const g = r(
|
|
11
11
|
{},
|
|
12
|
+
i,
|
|
12
13
|
e,
|
|
14
|
+
m,
|
|
13
15
|
o,
|
|
14
|
-
i,
|
|
15
16
|
s,
|
|
16
|
-
m,
|
|
17
17
|
t,
|
|
18
18
|
u,
|
|
19
19
|
f
|
package/lib/es/locales/zh-CN.js
CHANGED
|
@@ -1,19 +1,19 @@
|
|
|
1
|
-
import {
|
|
1
|
+
import { merge as r } from "@univerjs/core";
|
|
2
2
|
import e from "@univerjs/design/locale/zh-CN";
|
|
3
|
-
import
|
|
4
|
-
import
|
|
5
|
-
import
|
|
6
|
-
import
|
|
3
|
+
import i from "@univerjs/docs-ui/locale/zh-CN";
|
|
4
|
+
import m from "@univerjs/sheets/locale/zh-CN";
|
|
5
|
+
import o from "@univerjs/sheets-formula/locale/zh-CN";
|
|
6
|
+
import s from "@univerjs/sheets-formula-ui/locale/zh-CN";
|
|
7
7
|
import t from "@univerjs/sheets-numfmt-ui/locale/zh-CN";
|
|
8
8
|
import u from "@univerjs/sheets-ui/locale/zh-CN";
|
|
9
9
|
import f from "@univerjs/ui/locale/zh-CN";
|
|
10
|
-
const g = r
|
|
10
|
+
const g = r(
|
|
11
11
|
{},
|
|
12
12
|
e,
|
|
13
|
-
o,
|
|
14
13
|
i,
|
|
15
|
-
s,
|
|
16
14
|
m,
|
|
15
|
+
o,
|
|
16
|
+
s,
|
|
17
17
|
t,
|
|
18
18
|
u,
|
|
19
19
|
f
|
package/lib/es/locales/zh-TW.js
CHANGED
|
@@ -1,19 +1,19 @@
|
|
|
1
|
-
import {
|
|
1
|
+
import { merge as r } from "@univerjs/core";
|
|
2
2
|
import e from "@univerjs/design/locale/zh-TW";
|
|
3
|
-
import
|
|
4
|
-
import
|
|
5
|
-
import
|
|
6
|
-
import
|
|
3
|
+
import i from "@univerjs/docs-ui/locale/zh-TW";
|
|
4
|
+
import m from "@univerjs/sheets/locale/zh-TW";
|
|
5
|
+
import o from "@univerjs/sheets-formula/locale/zh-TW";
|
|
6
|
+
import s from "@univerjs/sheets-formula-ui/locale/zh-TW";
|
|
7
7
|
import t from "@univerjs/sheets-numfmt-ui/locale/zh-TW";
|
|
8
8
|
import u from "@univerjs/sheets-ui/locale/zh-TW";
|
|
9
9
|
import f from "@univerjs/ui/locale/zh-TW";
|
|
10
|
-
const g = r
|
|
10
|
+
const g = r(
|
|
11
11
|
{},
|
|
12
12
|
e,
|
|
13
|
-
o,
|
|
14
13
|
i,
|
|
15
|
-
s,
|
|
16
14
|
m,
|
|
15
|
+
o,
|
|
16
|
+
s,
|
|
17
17
|
t,
|
|
18
18
|
u,
|
|
19
19
|
f
|
package/lib/es/worker.js
CHANGED
|
@@ -1,21 +1,20 @@
|
|
|
1
|
-
import { UniverFormulaEnginePlugin as
|
|
2
|
-
|
|
3
|
-
import {
|
|
4
|
-
export * from "@univerjs/rpc";
|
|
5
|
-
import { UniverSheetsPlugin as o } from "@univerjs/sheets";
|
|
6
|
-
export * from "@univerjs/sheets";
|
|
1
|
+
import { UniverFormulaEnginePlugin as n } from "@univerjs/engine-formula";
|
|
2
|
+
import { UniverRPCWorkerThreadPlugin as o } from "@univerjs/rpc";
|
|
3
|
+
import { UniverSheetsPlugin as i } from "@univerjs/sheets";
|
|
7
4
|
import { UniverRemoteSheetsFormulaPlugin as t } from "@univerjs/sheets-formula";
|
|
8
|
-
|
|
9
|
-
|
|
5
|
+
function g(r = {}) {
|
|
6
|
+
const {
|
|
7
|
+
formula: e
|
|
8
|
+
} = r;
|
|
10
9
|
return {
|
|
11
10
|
plugins: [
|
|
12
|
-
[
|
|
13
|
-
|
|
14
|
-
|
|
11
|
+
[i, { onlyRegisterFormulaRelatedMutations: !0 }],
|
|
12
|
+
[n, { function: e == null ? void 0 : e.function }],
|
|
13
|
+
o,
|
|
15
14
|
t
|
|
16
15
|
]
|
|
17
16
|
};
|
|
18
17
|
}
|
|
19
18
|
export {
|
|
20
|
-
|
|
19
|
+
g as UniverSheetsCoreWorkerPreset
|
|
21
20
|
};
|