@univerjs/preset-sheets-core 0.10.1 → 0.10.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/ca-ES.js +1 -1
- package/lib/cjs/locales/en-US.js +1 -1
- package/lib/cjs/locales/es-ES.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/ko-KR.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/es/index.js +35 -37
- package/lib/es/locales/ca-ES.js +5 -6
- package/lib/es/locales/en-US.js +5 -6
- package/lib/es/locales/es-ES.js +7 -8
- package/lib/es/locales/fa-IR.js +5 -6
- package/lib/es/locales/fr-FR.js +5 -6
- package/lib/es/locales/ko-KR.js +1 -2
- package/lib/es/locales/ru-RU.js +5 -6
- package/lib/es/locales/vi-VN.js +7 -8
- package/lib/es/locales/zh-CN.js +5 -6
- package/lib/es/locales/zh-TW.js +5 -6
- package/lib/index.css +1 -1
- package/lib/index.js +35 -37
- package/lib/locales/ca-ES.js +5 -6
- package/lib/locales/en-US.js +5 -6
- package/lib/locales/es-ES.js +7 -8
- package/lib/locales/fa-IR.js +5 -6
- package/lib/locales/fr-FR.js +5 -6
- package/lib/locales/ko-KR.js +1 -2
- package/lib/locales/ru-RU.js +5 -6
- package/lib/locales/vi-VN.js +7 -8
- package/lib/locales/zh-CN.js +5 -6
- package/lib/locales/zh-TW.js +5 -6
- package/lib/types/locales/ca-ES.d.ts +3 -1
- package/lib/types/locales/en-US.d.ts +3 -1
- package/lib/types/locales/es-ES.d.ts +3 -1
- package/lib/types/locales/fa-IR.d.ts +3 -1
- package/lib/types/locales/fr-FR.d.ts +3 -1
- package/lib/types/locales/ko-KR.d.ts +3 -1
- package/lib/types/locales/ru-RU.d.ts +3 -1
- package/lib/types/locales/vi-VN.d.ts +3 -1
- package/lib/types/locales/zh-CN.d.ts +3 -1
- package/lib/types/locales/zh-TW.d.ts +3 -1
- package/lib/umd/index.js +44 -44
- package/lib/umd/locales/ca-ES.js +6 -2
- package/lib/umd/locales/en-US.js +6 -2
- package/lib/umd/locales/es-ES.js +6 -2
- package/lib/umd/locales/fa-IR.js +6 -2
- package/lib/umd/locales/fr-FR.js +6 -2
- package/lib/umd/locales/ko-KR.js +6 -2
- package/lib/umd/locales/ru-RU.js +6 -2
- package/lib/umd/locales/vi-VN.js +5 -1
- package/lib/umd/locales/zh-CN.js +5 -1
- package/lib/umd/locales/zh-TW.js +5 -1
- package/package.json +17 -17
package/lib/cjs/index.js
CHANGED
|
@@ -1 +1 @@
|
|
|
1
|
-
"use strict";Object.defineProperty(exports,Symbol.toStringTag,{value:"Module"});const i=require("@univerjs/docs"),
|
|
1
|
+
"use strict";Object.defineProperty(exports,Symbol.toStringTag,{value:"Module"});const i=require("@univerjs/docs"),l=require("@univerjs/docs-ui"),c=require("@univerjs/engine-formula"),u=require("@univerjs/engine-render"),a=require("@univerjs/network"),p=require("@univerjs/rpc"),b=require("@univerjs/sheets"),f=require("@univerjs/sheets-formula"),s=require("@univerjs/sheets-formula-ui"),y=require("@univerjs/sheets-numfmt"),d=require("@univerjs/sheets-numfmt-ui"),g=require("@univerjs/sheets-ui"),O=require("@univerjs/ui");require("@univerjs/network/lib/facade");require("@univerjs/sheets/lib/facade");require("@univerjs/ui/lib/facade");require("@univerjs/docs-ui/lib/facade");require("@univerjs/sheets-ui/lib/facade");require("@univerjs/engine-formula/lib/facade");require("@univerjs/sheets-formula/lib/facade");require("@univerjs/sheets-numfmt/lib/facade");require("@univerjs/sheets-formula-ui/lib/facade");function x(e={}){var j;const{container:m="app",workerURL:P,header:h,footer:U,toolbar:S,ribbonType:q,formulaBar:w,menu:F,contextMenu:E,disableAutoFocus:v,docs:n,sheets:r,formula:t,disableTextFormatAlert:C,disableTextFormatMark:R}=e,o=!!P;return{plugins:[a.UniverNetworkPlugin,[i.UniverDocsPlugin,{hasScroll:n==null?void 0:n.hasScroll}],u.UniverRenderEnginePlugin,[O.UniverUIPlugin,{container:m,header:h,toolbar:S,ribbonType:q,menu:F,contextMenu:E,disableAutoFocus:v}],l.UniverDocsUIPlugin,o?[p.UniverRPCMainThreadPlugin,{workerURL:P}]:null,[c.UniverFormulaEnginePlugin,{notExecuteFormula:o,function:t==null?void 0:t.function}],[b.UniverSheetsPlugin,{notExecuteFormula:o,onlyRegisterFormulaRelatedMutations:!1,isRowStylePrecedeColumnStyle:r==null?void 0:r.isRowStylePrecedeColumnStyle,autoHeightForMergedCells:r==null?void 0:r.autoHeightForMergedCells}],[g.UniverSheetsUIPlugin,{formulaBar:w,footer:U,maxAutoHeightCount:r==null?void 0:r.maxAutoHeightCount,clipboardConfig:r==null?void 0:r.clipboardConfig,scrollConfig:r==null?void 0:r.scrollConfig,protectedRangeShadow:(j=r==null?void 0:r.protectedRangeShadow)!=null?j:!0,protectedRangeUserSelector:r==null?void 0:r.protectedRangeUserSelector,disableForceStringAlert:r==null?void 0:r.disableForceStringAlert,disableForceStringMark:r==null?void 0:r.disableForceStringMark}],[y.UniverSheetsNumfmtPlugin,{disableTextFormatAlert:C,disableTextFormatMark:R}],d.UniverSheetsNumfmtUIPlugin,[f.UniverSheetsFormulaPlugin,{notExecuteFormula:o,description:t==null?void 0:t.description,initialFormulaComputing:t==null?void 0:t.initialFormulaComputing}],s.UniverSheetsFormulaUIPlugin].filter(M=>!!M)}}exports.UniverSheetsCorePreset=x;Object.keys(i).forEach(e=>{e!=="default"&&!Object.prototype.hasOwnProperty.call(exports,e)&&Object.defineProperty(exports,e,{enumerable:!0,get:()=>i[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(c).forEach(e=>{e!=="default"&&!Object.prototype.hasOwnProperty.call(exports,e)&&Object.defineProperty(exports,e,{enumerable:!0,get:()=>c[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(a).forEach(e=>{e!=="default"&&!Object.prototype.hasOwnProperty.call(exports,e)&&Object.defineProperty(exports,e,{enumerable:!0,get:()=>a[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(f).forEach(e=>{e!=="default"&&!Object.prototype.hasOwnProperty.call(exports,e)&&Object.defineProperty(exports,e,{enumerable:!0,get:()=>f[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(y).forEach(e=>{e!=="default"&&!Object.prototype.hasOwnProperty.call(exports,e)&&Object.defineProperty(exports,e,{enumerable:!0,get:()=>y[e]})});Object.keys(d).forEach(e=>{e!=="default"&&!Object.prototype.hasOwnProperty.call(exports,e)&&Object.defineProperty(exports,e,{enumerable:!0,get:()=>d[e]})});Object.keys(g).forEach(e=>{e!=="default"&&!Object.prototype.hasOwnProperty.call(exports,e)&&Object.defineProperty(exports,e,{enumerable:!0,get:()=>g[e]})});Object.keys(O).forEach(e=>{e!=="default"&&!Object.prototype.hasOwnProperty.call(exports,e)&&Object.defineProperty(exports,e,{enumerable:!0,get:()=>O[e]})});
|
package/lib/cjs/locales/ca-ES.js
CHANGED
|
@@ -1 +1 @@
|
|
|
1
|
-
"use strict";const e=require("@univerjs/core"),s=require("@univerjs/design/locale/ca-ES"),r=require("@univerjs/docs-ui/locale/ca-ES"),u=require("@univerjs/sheets/locale/ca-ES"),i=require("@univerjs/sheets-formula/locale/ca-ES"),n=require("@univerjs/sheets-formula-ui/locale/ca-ES"),t=require("@univerjs/sheets-numfmt-ui/locale/ca-ES"),o=require("@univerjs/sheets-ui/locale/ca-ES"),c=require("@univerjs/ui/locale/ca-ES"),q=e.
|
|
1
|
+
"use strict";const e=require("@univerjs/core"),s=require("@univerjs/design/locale/ca-ES"),r=require("@univerjs/docs-ui/locale/ca-ES"),u=require("@univerjs/sheets/locale/ca-ES"),i=require("@univerjs/sheets-formula/locale/ca-ES"),n=require("@univerjs/sheets-formula-ui/locale/ca-ES"),t=require("@univerjs/sheets-numfmt-ui/locale/ca-ES"),o=require("@univerjs/sheets-ui/locale/ca-ES"),c=require("@univerjs/ui/locale/ca-ES"),q=e.mergeLocales(s,r,u,i,n,t,o,c);module.exports=q;
|
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.mergeLocales(s,r,u,i,n,t,o,c);module.exports=q;
|
package/lib/cjs/locales/es-ES.js
CHANGED
|
@@ -1 +1 @@
|
|
|
1
|
-
"use strict";const e=require("@univerjs/core"),s=require("@univerjs/design/locale/es-ES"),r=require("@univerjs/docs-ui/locale/es-ES"),u=require("@univerjs/sheets/locale/es-ES"),i=require("@univerjs/sheets-formula/locale/es-ES"),n=require("@univerjs/sheets-formula-ui/locale/es-ES"),t=require("@univerjs/sheets-numfmt-ui/locale/es-ES"),o=require("@univerjs/sheets-ui/locale/es-ES"),c=require("@univerjs/ui/locale/es-ES"),q=e.
|
|
1
|
+
"use strict";const e=require("@univerjs/core"),s=require("@univerjs/design/locale/es-ES"),r=require("@univerjs/docs-ui/locale/es-ES"),u=require("@univerjs/sheets/locale/es-ES"),i=require("@univerjs/sheets-formula/locale/es-ES"),n=require("@univerjs/sheets-formula-ui/locale/es-ES"),t=require("@univerjs/sheets-numfmt-ui/locale/es-ES"),o=require("@univerjs/sheets-ui/locale/es-ES"),c=require("@univerjs/ui/locale/es-ES"),q=e.mergeLocales(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.mergeLocales(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"),s=require("@univerjs/design/locale/fr-FR"),r=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.mergeLocales(s,r,u,i,n,t,o,c);module.exports=q;
|
package/lib/cjs/locales/ko-KR.js
CHANGED
|
@@ -1 +1 @@
|
|
|
1
|
-
"use strict";const e=require("@univerjs/core"),s=require("@univerjs/design/locale/ko-KR"),r=require("@univerjs/docs-ui/locale/ko-KR"),u=require("@univerjs/sheets/locale/ko-KR"),i=require("@univerjs/sheets-formula/locale/ko-KR"),n=require("@univerjs/sheets-formula-ui/locale/ko-KR"),t=require("@univerjs/sheets-numfmt-ui/locale/ko-KR"),o=require("@univerjs/sheets-ui/locale/ko-KR"),c=require("@univerjs/ui/locale/ko-KR"),q=e.
|
|
1
|
+
"use strict";const e=require("@univerjs/core"),s=require("@univerjs/design/locale/ko-KR"),r=require("@univerjs/docs-ui/locale/ko-KR"),u=require("@univerjs/sheets/locale/ko-KR"),i=require("@univerjs/sheets-formula/locale/ko-KR"),n=require("@univerjs/sheets-formula-ui/locale/ko-KR"),t=require("@univerjs/sheets-numfmt-ui/locale/ko-KR"),o=require("@univerjs/sheets-ui/locale/ko-KR"),c=require("@univerjs/ui/locale/ko-KR"),q=e.mergeLocales(s,r,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"),s=require("@univerjs/design/locale/ru-RU"),r=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.mergeLocales(s,r,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.mergeLocales(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.mergeLocales(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.mergeLocales(s,r,u,i,n,t,o,c);module.exports=q;
|
package/lib/es/index.js
CHANGED
|
@@ -1,22 +1,22 @@
|
|
|
1
|
-
import { UniverDocsPlugin as
|
|
1
|
+
import { UniverDocsPlugin as P } from "@univerjs/docs";
|
|
2
2
|
export * from "@univerjs/docs";
|
|
3
|
-
import { UniverDocsUIPlugin as
|
|
3
|
+
import { UniverDocsUIPlugin as v } from "@univerjs/docs-ui";
|
|
4
4
|
export * from "@univerjs/docs-ui";
|
|
5
|
-
import { UniverFormulaEnginePlugin as
|
|
5
|
+
import { UniverFormulaEnginePlugin as C } from "@univerjs/engine-formula";
|
|
6
6
|
export * from "@univerjs/engine-formula";
|
|
7
|
-
import { UniverRenderEnginePlugin as
|
|
7
|
+
import { UniverRenderEnginePlugin as b } from "@univerjs/engine-render";
|
|
8
8
|
export * from "@univerjs/engine-render";
|
|
9
|
-
import { UniverNetworkPlugin as
|
|
9
|
+
import { UniverNetworkPlugin as R } from "@univerjs/network";
|
|
10
10
|
export * from "@univerjs/network";
|
|
11
|
-
import { UniverRPCMainThreadPlugin as
|
|
11
|
+
import { UniverRPCMainThreadPlugin as k } from "@univerjs/rpc";
|
|
12
12
|
export * from "@univerjs/rpc";
|
|
13
|
-
import { UniverSheetsPlugin as
|
|
13
|
+
import { UniverSheetsPlugin as w } from "@univerjs/sheets";
|
|
14
14
|
export * from "@univerjs/sheets";
|
|
15
|
-
import { UniverSheetsFormulaPlugin as
|
|
15
|
+
import { UniverSheetsFormulaPlugin as M } from "@univerjs/sheets-formula";
|
|
16
16
|
export * from "@univerjs/sheets-formula";
|
|
17
|
-
import { UniverSheetsFormulaUIPlugin as
|
|
17
|
+
import { UniverSheetsFormulaUIPlugin as y } from "@univerjs/sheets-formula-ui";
|
|
18
18
|
export * from "@univerjs/sheets-formula-ui";
|
|
19
|
-
import { UniverSheetsNumfmtPlugin as
|
|
19
|
+
import { UniverSheetsNumfmtPlugin as A } from "@univerjs/sheets-numfmt";
|
|
20
20
|
export * from "@univerjs/sheets-numfmt";
|
|
21
21
|
import { UniverSheetsNumfmtUIPlugin as E } from "@univerjs/sheets-numfmt-ui";
|
|
22
22
|
export * from "@univerjs/sheets-numfmt-ui";
|
|
@@ -33,57 +33,55 @@ import "@univerjs/engine-formula/lib/facade";
|
|
|
33
33
|
import "@univerjs/sheets-formula/lib/facade";
|
|
34
34
|
import "@univerjs/sheets-numfmt/lib/facade";
|
|
35
35
|
import "@univerjs/sheets-formula-ui/lib/facade";
|
|
36
|
-
function
|
|
36
|
+
function rr(m = {}) {
|
|
37
37
|
var n;
|
|
38
38
|
const {
|
|
39
39
|
container: l = "app",
|
|
40
|
-
workerURL:
|
|
40
|
+
workerURL: t,
|
|
41
41
|
header: p,
|
|
42
42
|
footer: u,
|
|
43
43
|
toolbar: a,
|
|
44
44
|
ribbonType: g,
|
|
45
|
-
formulaBar:
|
|
46
|
-
|
|
47
|
-
|
|
48
|
-
contextMenu: S,
|
|
45
|
+
formulaBar: f,
|
|
46
|
+
menu: c,
|
|
47
|
+
contextMenu: d,
|
|
49
48
|
disableAutoFocus: U,
|
|
50
|
-
docs:
|
|
49
|
+
docs: i,
|
|
51
50
|
sheets: r,
|
|
52
51
|
formula: o,
|
|
53
52
|
disableTextFormatAlert: x,
|
|
54
|
-
disableTextFormatMark:
|
|
55
|
-
} = m, e = !!
|
|
53
|
+
disableTextFormatMark: S
|
|
54
|
+
} = m, e = !!t;
|
|
56
55
|
return {
|
|
57
56
|
plugins: [
|
|
58
|
-
k,
|
|
59
|
-
[v, {
|
|
60
|
-
hasScroll: t == null ? void 0 : t.hasScroll
|
|
61
|
-
}],
|
|
62
57
|
R,
|
|
58
|
+
[P, {
|
|
59
|
+
hasScroll: i == null ? void 0 : i.hasScroll
|
|
60
|
+
}],
|
|
61
|
+
b,
|
|
63
62
|
[H, {
|
|
64
63
|
container: l,
|
|
65
64
|
header: p,
|
|
66
65
|
toolbar: a,
|
|
67
66
|
ribbonType: g,
|
|
68
|
-
menu:
|
|
69
|
-
contextMenu:
|
|
67
|
+
menu: c,
|
|
68
|
+
contextMenu: d,
|
|
70
69
|
disableAutoFocus: U
|
|
71
70
|
}],
|
|
72
|
-
|
|
73
|
-
e ? [
|
|
74
|
-
[
|
|
71
|
+
v,
|
|
72
|
+
e ? [k, { workerURL: t }] : null,
|
|
73
|
+
[C, {
|
|
75
74
|
notExecuteFormula: e,
|
|
76
75
|
function: o == null ? void 0 : o.function
|
|
77
76
|
}],
|
|
78
|
-
[
|
|
77
|
+
[w, {
|
|
79
78
|
notExecuteFormula: e,
|
|
80
79
|
onlyRegisterFormulaRelatedMutations: !1,
|
|
81
80
|
isRowStylePrecedeColumnStyle: r == null ? void 0 : r.isRowStylePrecedeColumnStyle,
|
|
82
81
|
autoHeightForMergedCells: r == null ? void 0 : r.autoHeightForMergedCells
|
|
83
82
|
}],
|
|
84
83
|
[I, {
|
|
85
|
-
formulaBar:
|
|
86
|
-
statusBarStatistic: f,
|
|
84
|
+
formulaBar: f,
|
|
87
85
|
footer: u,
|
|
88
86
|
maxAutoHeightCount: r == null ? void 0 : r.maxAutoHeightCount,
|
|
89
87
|
clipboardConfig: r == null ? void 0 : r.clipboardConfig,
|
|
@@ -93,20 +91,20 @@ function or(m = {}) {
|
|
|
93
91
|
disableForceStringAlert: r == null ? void 0 : r.disableForceStringAlert,
|
|
94
92
|
disableForceStringMark: r == null ? void 0 : r.disableForceStringMark
|
|
95
93
|
}],
|
|
96
|
-
[
|
|
94
|
+
[A, {
|
|
97
95
|
disableTextFormatAlert: x,
|
|
98
|
-
disableTextFormatMark:
|
|
96
|
+
disableTextFormatMark: S
|
|
99
97
|
}],
|
|
100
98
|
E,
|
|
101
|
-
[
|
|
99
|
+
[M, {
|
|
102
100
|
notExecuteFormula: e,
|
|
103
101
|
description: o == null ? void 0 : o.description,
|
|
104
102
|
initialFormulaComputing: o == null ? void 0 : o.initialFormulaComputing
|
|
105
103
|
}],
|
|
106
|
-
|
|
107
|
-
].filter((
|
|
104
|
+
y
|
|
105
|
+
].filter((F) => !!F)
|
|
108
106
|
};
|
|
109
107
|
}
|
|
110
108
|
export {
|
|
111
|
-
|
|
109
|
+
rr as UniverSheetsCorePreset
|
|
112
110
|
};
|
package/lib/es/locales/ca-ES.js
CHANGED
|
@@ -1,18 +1,17 @@
|
|
|
1
|
-
import {
|
|
1
|
+
import { mergeLocales as r } from "@univerjs/core";
|
|
2
2
|
import e from "@univerjs/design/locale/ca-ES";
|
|
3
|
-
import
|
|
4
|
-
import
|
|
5
|
-
import
|
|
3
|
+
import o from "@univerjs/docs-ui/locale/ca-ES";
|
|
4
|
+
import i from "@univerjs/sheets/locale/ca-ES";
|
|
5
|
+
import m from "@univerjs/sheets-formula/locale/ca-ES";
|
|
6
6
|
import s from "@univerjs/sheets-formula-ui/locale/ca-ES";
|
|
7
7
|
import t from "@univerjs/sheets-numfmt-ui/locale/ca-ES";
|
|
8
8
|
import u from "@univerjs/sheets-ui/locale/ca-ES";
|
|
9
9
|
import f from "@univerjs/ui/locale/ca-ES";
|
|
10
10
|
const g = r(
|
|
11
|
-
{},
|
|
12
11
|
e,
|
|
12
|
+
o,
|
|
13
13
|
i,
|
|
14
14
|
m,
|
|
15
|
-
o,
|
|
16
15
|
s,
|
|
17
16
|
t,
|
|
18
17
|
u,
|
package/lib/es/locales/en-US.js
CHANGED
|
@@ -1,18 +1,17 @@
|
|
|
1
|
-
import {
|
|
1
|
+
import { mergeLocales as r } from "@univerjs/core";
|
|
2
2
|
import e from "@univerjs/design/locale/en-US";
|
|
3
|
-
import
|
|
4
|
-
import
|
|
5
|
-
import
|
|
3
|
+
import o from "@univerjs/docs-ui/locale/en-US";
|
|
4
|
+
import i from "@univerjs/sheets/locale/en-US";
|
|
5
|
+
import m from "@univerjs/sheets-formula/locale/en-US";
|
|
6
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
10
|
const g = r(
|
|
11
|
-
{},
|
|
12
11
|
e,
|
|
12
|
+
o,
|
|
13
13
|
i,
|
|
14
14
|
m,
|
|
15
|
-
o,
|
|
16
15
|
s,
|
|
17
16
|
t,
|
|
18
17
|
u,
|
package/lib/es/locales/es-ES.js
CHANGED
|
@@ -1,19 +1,18 @@
|
|
|
1
|
-
import {
|
|
1
|
+
import { mergeLocales as r } from "@univerjs/core";
|
|
2
2
|
import e from "@univerjs/design/locale/es-ES";
|
|
3
|
-
import
|
|
4
|
-
import
|
|
5
|
-
import
|
|
6
|
-
import
|
|
3
|
+
import o from "@univerjs/docs-ui/locale/es-ES";
|
|
4
|
+
import s from "@univerjs/sheets/locale/es-ES";
|
|
5
|
+
import i from "@univerjs/sheets-formula/locale/es-ES";
|
|
6
|
+
import m from "@univerjs/sheets-formula-ui/locale/es-ES";
|
|
7
7
|
import t from "@univerjs/sheets-numfmt-ui/locale/es-ES";
|
|
8
8
|
import u from "@univerjs/sheets-ui/locale/es-ES";
|
|
9
9
|
import f from "@univerjs/ui/locale/es-ES";
|
|
10
10
|
const g = r(
|
|
11
|
-
{},
|
|
12
11
|
e,
|
|
13
|
-
i,
|
|
14
|
-
m,
|
|
15
12
|
o,
|
|
16
13
|
s,
|
|
14
|
+
i,
|
|
15
|
+
m,
|
|
17
16
|
t,
|
|
18
17
|
u,
|
|
19
18
|
f
|
package/lib/es/locales/fa-IR.js
CHANGED
|
@@ -1,18 +1,17 @@
|
|
|
1
|
-
import {
|
|
1
|
+
import { mergeLocales as r } from "@univerjs/core";
|
|
2
2
|
import e from "@univerjs/design/locale/fa-IR";
|
|
3
|
-
import
|
|
4
|
-
import
|
|
5
|
-
import
|
|
3
|
+
import o from "@univerjs/docs-ui/locale/fa-IR";
|
|
4
|
+
import i from "@univerjs/sheets/locale/fa-IR";
|
|
5
|
+
import m from "@univerjs/sheets-formula/locale/fa-IR";
|
|
6
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
10
|
const g = r(
|
|
11
|
-
{},
|
|
12
11
|
e,
|
|
12
|
+
o,
|
|
13
13
|
i,
|
|
14
14
|
m,
|
|
15
|
-
o,
|
|
16
15
|
s,
|
|
17
16
|
t,
|
|
18
17
|
u,
|
package/lib/es/locales/fr-FR.js
CHANGED
|
@@ -1,18 +1,17 @@
|
|
|
1
|
-
import {
|
|
1
|
+
import { mergeLocales as r } from "@univerjs/core";
|
|
2
2
|
import e from "@univerjs/design/locale/fr-FR";
|
|
3
|
-
import
|
|
4
|
-
import
|
|
5
|
-
import
|
|
3
|
+
import o from "@univerjs/docs-ui/locale/fr-FR";
|
|
4
|
+
import i from "@univerjs/sheets/locale/fr-FR";
|
|
5
|
+
import m from "@univerjs/sheets-formula/locale/fr-FR";
|
|
6
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
10
|
const g = r(
|
|
11
|
-
{},
|
|
12
11
|
e,
|
|
12
|
+
o,
|
|
13
13
|
i,
|
|
14
14
|
m,
|
|
15
|
-
o,
|
|
16
15
|
s,
|
|
17
16
|
t,
|
|
18
17
|
u,
|
package/lib/es/locales/ko-KR.js
CHANGED
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
import {
|
|
1
|
+
import { mergeLocales as r } from "@univerjs/core";
|
|
2
2
|
import o from "@univerjs/design/locale/ko-KR";
|
|
3
3
|
import e from "@univerjs/docs-ui/locale/ko-KR";
|
|
4
4
|
import i from "@univerjs/sheets/locale/ko-KR";
|
|
@@ -8,7 +8,6 @@ import t from "@univerjs/sheets-numfmt-ui/locale/ko-KR";
|
|
|
8
8
|
import u from "@univerjs/sheets-ui/locale/ko-KR";
|
|
9
9
|
import f from "@univerjs/ui/locale/ko-KR";
|
|
10
10
|
const g = r(
|
|
11
|
-
{},
|
|
12
11
|
o,
|
|
13
12
|
e,
|
|
14
13
|
i,
|
package/lib/es/locales/ru-RU.js
CHANGED
|
@@ -1,18 +1,17 @@
|
|
|
1
|
-
import {
|
|
1
|
+
import { mergeLocales as r } from "@univerjs/core";
|
|
2
2
|
import e from "@univerjs/design/locale/ru-RU";
|
|
3
|
-
import
|
|
4
|
-
import
|
|
5
|
-
import
|
|
3
|
+
import o from "@univerjs/docs-ui/locale/ru-RU";
|
|
4
|
+
import i from "@univerjs/sheets/locale/ru-RU";
|
|
5
|
+
import m from "@univerjs/sheets-formula/locale/ru-RU";
|
|
6
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
10
|
const g = r(
|
|
11
|
-
{},
|
|
12
11
|
e,
|
|
12
|
+
o,
|
|
13
13
|
i,
|
|
14
14
|
m,
|
|
15
|
-
o,
|
|
16
15
|
s,
|
|
17
16
|
t,
|
|
18
17
|
u,
|
package/lib/es/locales/vi-VN.js
CHANGED
|
@@ -1,18 +1,17 @@
|
|
|
1
|
-
import {
|
|
2
|
-
import
|
|
3
|
-
import
|
|
4
|
-
import
|
|
5
|
-
import
|
|
1
|
+
import { mergeLocales as r } from "@univerjs/core";
|
|
2
|
+
import e from "@univerjs/design/locale/vi-VN";
|
|
3
|
+
import i from "@univerjs/docs-ui/locale/vi-VN";
|
|
4
|
+
import o from "@univerjs/sheets/locale/vi-VN";
|
|
5
|
+
import m from "@univerjs/sheets-formula/locale/vi-VN";
|
|
6
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
10
|
const g = r(
|
|
11
|
-
{},
|
|
12
|
-
i,
|
|
13
11
|
e,
|
|
14
|
-
|
|
12
|
+
i,
|
|
15
13
|
o,
|
|
14
|
+
m,
|
|
16
15
|
s,
|
|
17
16
|
t,
|
|
18
17
|
u,
|
package/lib/es/locales/zh-CN.js
CHANGED
|
@@ -1,18 +1,17 @@
|
|
|
1
|
-
import {
|
|
1
|
+
import { mergeLocales as r } from "@univerjs/core";
|
|
2
2
|
import e from "@univerjs/design/locale/zh-CN";
|
|
3
|
-
import
|
|
4
|
-
import
|
|
5
|
-
import
|
|
3
|
+
import o from "@univerjs/docs-ui/locale/zh-CN";
|
|
4
|
+
import i from "@univerjs/sheets/locale/zh-CN";
|
|
5
|
+
import m from "@univerjs/sheets-formula/locale/zh-CN";
|
|
6
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
10
|
const g = r(
|
|
11
|
-
{},
|
|
12
11
|
e,
|
|
12
|
+
o,
|
|
13
13
|
i,
|
|
14
14
|
m,
|
|
15
|
-
o,
|
|
16
15
|
s,
|
|
17
16
|
t,
|
|
18
17
|
u,
|
package/lib/es/locales/zh-TW.js
CHANGED
|
@@ -1,18 +1,17 @@
|
|
|
1
|
-
import {
|
|
1
|
+
import { mergeLocales as r } from "@univerjs/core";
|
|
2
2
|
import e from "@univerjs/design/locale/zh-TW";
|
|
3
|
-
import
|
|
4
|
-
import
|
|
5
|
-
import
|
|
3
|
+
import o from "@univerjs/docs-ui/locale/zh-TW";
|
|
4
|
+
import i from "@univerjs/sheets/locale/zh-TW";
|
|
5
|
+
import m from "@univerjs/sheets-formula/locale/zh-TW";
|
|
6
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
10
|
const g = r(
|
|
11
|
-
{},
|
|
12
11
|
e,
|
|
12
|
+
o,
|
|
13
13
|
i,
|
|
14
14
|
m,
|
|
15
|
-
o,
|
|
16
15
|
s,
|
|
17
16
|
t,
|
|
18
17
|
u,
|