@univerjs/preset-sheets-core 0.9.2 → 0.9.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 -0
- package/lib/cjs/locales/es-ES.js +1 -0
- package/lib/es/index.js +6 -7
- package/lib/es/locales/ca-ES.js +23 -0
- package/lib/es/locales/es-ES.js +23 -0
- package/lib/index.js +6 -7
- package/lib/locales/ca-ES.js +23 -0
- package/lib/locales/es-ES.js +23 -0
- package/lib/types/index.d.ts +0 -1
- package/lib/types/locales/ca-ES.d.ts +2 -0
- package/lib/types/locales/es-ES.d.ts +2 -0
- package/lib/umd/index.js +38 -41
- package/lib/umd/locales/ca-ES.js +68 -0
- package/lib/umd/locales/en-US.js +1 -3
- package/lib/umd/locales/es-ES.js +68 -0
- package/lib/umd/locales/fa-IR.js +1 -3
- package/lib/umd/locales/fr-FR.js +1 -3
- package/lib/umd/locales/ko-KR.js +9 -2
- package/lib/umd/locales/ru-RU.js +2 -4
- package/lib/umd/locales/vi-VN.js +6 -6
- package/lib/umd/locales/zh-TW.js +2 -2
- package/package.json +17 -18
package/lib/cjs/index.js
CHANGED
|
@@ -1 +1 @@
|
|
|
1
|
-
"use strict";Object.defineProperty(exports,Symbol.toStringTag,{value:"Module"});const i=require("@univerjs/docs"),c=require("@univerjs/docs-ui"),
|
|
1
|
+
"use strict";Object.defineProperty(exports,Symbol.toStringTag,{value:"Module"});const i=require("@univerjs/docs"),c=require("@univerjs/docs-ui"),l=require("@univerjs/engine-formula"),u=require("@univerjs/engine-render"),a=require("@univerjs/network"),p=require("@univerjs/rpc"),s=require("@univerjs/sheets"),b=require("@univerjs/sheets-formula"),f=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 I(e={}){var m;const{container:j="app",workerURL:P,header:h,footer:U,toolbar:S,ribbonType:q,formulaBar:w,statusBarStatistic:F,menu:E,contextMenu:v,disableAutoFocus:C,docs:n,sheets:r,formula:t,customComponents:R,disableTextFormatAlert:M,disableTextFormatMark:x}=e,o=!!P;return{plugins:[a.UniverNetworkPlugin,[i.UniverDocsPlugin,{hasScroll:n==null?void 0:n.hasScroll}],u.UniverRenderEnginePlugin,[O.UniverUIPlugin,{container:j,header:h,toolbar:S,ribbonType:q,menu:E,contextMenu:v,disableAutoFocus:C}],c.UniverDocsUIPlugin,o?[p.UniverRPCMainThreadPlugin,{workerURL:P}]:null,[l.UniverFormulaEnginePlugin,{notExecuteFormula:o,function:t==null?void 0:t.function}],[s.UniverSheetsPlugin,{notExecuteFormula:o,onlyRegisterFormulaRelatedMutations:!1,isRowStylePrecedeColumnStyle:r==null?void 0:r.isRowStylePrecedeColumnStyle,autoHeightForMergedCells:r==null?void 0:r.autoHeightForMergedCells}],[g.UniverSheetsUIPlugin,{customComponents:R,formulaBar:w,statusBarStatistic:F,footer:U,maxAutoHeightCount:r==null?void 0:r.maxAutoHeightCount,clipboardConfig:r==null?void 0:r.clipboardConfig,scrollConfig:r==null?void 0:r.scrollConfig,protectedRangeShadow:(m=r==null?void 0:r.protectedRangeShadow)!=null?m:!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:M,disableTextFormatMark:x}],d.UniverSheetsNumfmtUIPlugin,[b.UniverSheetsFormulaPlugin,{notExecuteFormula:o,description:t==null?void 0:t.description,initialFormulaComputing:t==null?void 0:t.initialFormulaComputing}],f.UniverSheetsFormulaUIPlugin].filter(A=>!!A)}}exports.UniverSheetsCorePreset=I;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(l).forEach(e=>{e!=="default"&&!Object.prototype.hasOwnProperty.call(exports,e)&&Object.defineProperty(exports,e,{enumerable:!0,get:()=>l[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(s).forEach(e=>{e!=="default"&&!Object.prototype.hasOwnProperty.call(exports,e)&&Object.defineProperty(exports,e,{enumerable:!0,get:()=>s[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(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]})});
|
|
@@ -0,0 +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.merge({},s,r,u,i,n,t,o,c);module.exports=q;
|
|
@@ -0,0 +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.merge({},s,r,u,i,n,t,o,c);module.exports=q;
|
package/lib/es/index.js
CHANGED
|
@@ -33,7 +33,6 @@ 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
|
-
export * from "@univerjs/engine-numfmt";
|
|
37
36
|
function tr(m = {}) {
|
|
38
37
|
var n;
|
|
39
38
|
const {
|
|
@@ -46,12 +45,12 @@ function tr(m = {}) {
|
|
|
46
45
|
formulaBar: c,
|
|
47
46
|
statusBarStatistic: f,
|
|
48
47
|
menu: d,
|
|
49
|
-
contextMenu:
|
|
50
|
-
disableAutoFocus:
|
|
48
|
+
contextMenu: S,
|
|
49
|
+
disableAutoFocus: U,
|
|
51
50
|
docs: e,
|
|
52
51
|
sheets: r,
|
|
53
52
|
formula: o,
|
|
54
|
-
customComponents:
|
|
53
|
+
customComponents: x,
|
|
55
54
|
disableTextFormatAlert: F,
|
|
56
55
|
disableTextFormatMark: P
|
|
57
56
|
} = m, t = !!i;
|
|
@@ -68,8 +67,8 @@ function tr(m = {}) {
|
|
|
68
67
|
toolbar: a,
|
|
69
68
|
ribbonType: g,
|
|
70
69
|
menu: d,
|
|
71
|
-
contextMenu:
|
|
72
|
-
disableAutoFocus:
|
|
70
|
+
contextMenu: S,
|
|
71
|
+
disableAutoFocus: U
|
|
73
72
|
}],
|
|
74
73
|
b,
|
|
75
74
|
t ? [M, { workerURL: i }] : null,
|
|
@@ -84,7 +83,7 @@ function tr(m = {}) {
|
|
|
84
83
|
autoHeightForMergedCells: r == null ? void 0 : r.autoHeightForMergedCells
|
|
85
84
|
}],
|
|
86
85
|
[H, {
|
|
87
|
-
customComponents:
|
|
86
|
+
customComponents: x,
|
|
88
87
|
formulaBar: c,
|
|
89
88
|
statusBarStatistic: f,
|
|
90
89
|
footer: u,
|
|
@@ -0,0 +1,23 @@
|
|
|
1
|
+
import { merge as r } from "@univerjs/core";
|
|
2
|
+
import e from "@univerjs/design/locale/ca-ES";
|
|
3
|
+
import i from "@univerjs/docs-ui/locale/ca-ES";
|
|
4
|
+
import m from "@univerjs/sheets/locale/ca-ES";
|
|
5
|
+
import o from "@univerjs/sheets-formula/locale/ca-ES";
|
|
6
|
+
import s from "@univerjs/sheets-formula-ui/locale/ca-ES";
|
|
7
|
+
import t from "@univerjs/sheets-numfmt-ui/locale/ca-ES";
|
|
8
|
+
import u from "@univerjs/sheets-ui/locale/ca-ES";
|
|
9
|
+
import f from "@univerjs/ui/locale/ca-ES";
|
|
10
|
+
const g = r(
|
|
11
|
+
{},
|
|
12
|
+
e,
|
|
13
|
+
i,
|
|
14
|
+
m,
|
|
15
|
+
o,
|
|
16
|
+
s,
|
|
17
|
+
t,
|
|
18
|
+
u,
|
|
19
|
+
f
|
|
20
|
+
);
|
|
21
|
+
export {
|
|
22
|
+
g as default
|
|
23
|
+
};
|
|
@@ -0,0 +1,23 @@
|
|
|
1
|
+
import { merge as r } from "@univerjs/core";
|
|
2
|
+
import e from "@univerjs/design/locale/es-ES";
|
|
3
|
+
import i from "@univerjs/docs-ui/locale/es-ES";
|
|
4
|
+
import m from "@univerjs/sheets/locale/es-ES";
|
|
5
|
+
import o from "@univerjs/sheets-formula/locale/es-ES";
|
|
6
|
+
import s from "@univerjs/sheets-formula-ui/locale/es-ES";
|
|
7
|
+
import t from "@univerjs/sheets-numfmt-ui/locale/es-ES";
|
|
8
|
+
import u from "@univerjs/sheets-ui/locale/es-ES";
|
|
9
|
+
import f from "@univerjs/ui/locale/es-ES";
|
|
10
|
+
const g = r(
|
|
11
|
+
{},
|
|
12
|
+
e,
|
|
13
|
+
i,
|
|
14
|
+
m,
|
|
15
|
+
o,
|
|
16
|
+
s,
|
|
17
|
+
t,
|
|
18
|
+
u,
|
|
19
|
+
f
|
|
20
|
+
);
|
|
21
|
+
export {
|
|
22
|
+
g as default
|
|
23
|
+
};
|
package/lib/index.js
CHANGED
|
@@ -33,7 +33,6 @@ 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
|
-
export * from "@univerjs/engine-numfmt";
|
|
37
36
|
function tr(m = {}) {
|
|
38
37
|
var n;
|
|
39
38
|
const {
|
|
@@ -46,12 +45,12 @@ function tr(m = {}) {
|
|
|
46
45
|
formulaBar: c,
|
|
47
46
|
statusBarStatistic: f,
|
|
48
47
|
menu: d,
|
|
49
|
-
contextMenu:
|
|
50
|
-
disableAutoFocus:
|
|
48
|
+
contextMenu: S,
|
|
49
|
+
disableAutoFocus: U,
|
|
51
50
|
docs: e,
|
|
52
51
|
sheets: r,
|
|
53
52
|
formula: o,
|
|
54
|
-
customComponents:
|
|
53
|
+
customComponents: x,
|
|
55
54
|
disableTextFormatAlert: F,
|
|
56
55
|
disableTextFormatMark: P
|
|
57
56
|
} = m, t = !!i;
|
|
@@ -68,8 +67,8 @@ function tr(m = {}) {
|
|
|
68
67
|
toolbar: a,
|
|
69
68
|
ribbonType: g,
|
|
70
69
|
menu: d,
|
|
71
|
-
contextMenu:
|
|
72
|
-
disableAutoFocus:
|
|
70
|
+
contextMenu: S,
|
|
71
|
+
disableAutoFocus: U
|
|
73
72
|
}],
|
|
74
73
|
b,
|
|
75
74
|
t ? [M, { workerURL: i }] : null,
|
|
@@ -84,7 +83,7 @@ function tr(m = {}) {
|
|
|
84
83
|
autoHeightForMergedCells: r == null ? void 0 : r.autoHeightForMergedCells
|
|
85
84
|
}],
|
|
86
85
|
[H, {
|
|
87
|
-
customComponents:
|
|
86
|
+
customComponents: x,
|
|
88
87
|
formulaBar: c,
|
|
89
88
|
statusBarStatistic: f,
|
|
90
89
|
footer: u,
|
|
@@ -0,0 +1,23 @@
|
|
|
1
|
+
import { merge as r } from "@univerjs/core";
|
|
2
|
+
import e from "@univerjs/design/locale/ca-ES";
|
|
3
|
+
import i from "@univerjs/docs-ui/locale/ca-ES";
|
|
4
|
+
import m from "@univerjs/sheets/locale/ca-ES";
|
|
5
|
+
import o from "@univerjs/sheets-formula/locale/ca-ES";
|
|
6
|
+
import s from "@univerjs/sheets-formula-ui/locale/ca-ES";
|
|
7
|
+
import t from "@univerjs/sheets-numfmt-ui/locale/ca-ES";
|
|
8
|
+
import u from "@univerjs/sheets-ui/locale/ca-ES";
|
|
9
|
+
import f from "@univerjs/ui/locale/ca-ES";
|
|
10
|
+
const g = r(
|
|
11
|
+
{},
|
|
12
|
+
e,
|
|
13
|
+
i,
|
|
14
|
+
m,
|
|
15
|
+
o,
|
|
16
|
+
s,
|
|
17
|
+
t,
|
|
18
|
+
u,
|
|
19
|
+
f
|
|
20
|
+
);
|
|
21
|
+
export {
|
|
22
|
+
g as default
|
|
23
|
+
};
|
|
@@ -0,0 +1,23 @@
|
|
|
1
|
+
import { merge as r } from "@univerjs/core";
|
|
2
|
+
import e from "@univerjs/design/locale/es-ES";
|
|
3
|
+
import i from "@univerjs/docs-ui/locale/es-ES";
|
|
4
|
+
import m from "@univerjs/sheets/locale/es-ES";
|
|
5
|
+
import o from "@univerjs/sheets-formula/locale/es-ES";
|
|
6
|
+
import s from "@univerjs/sheets-formula-ui/locale/es-ES";
|
|
7
|
+
import t from "@univerjs/sheets-numfmt-ui/locale/es-ES";
|
|
8
|
+
import u from "@univerjs/sheets-ui/locale/es-ES";
|
|
9
|
+
import f from "@univerjs/ui/locale/es-ES";
|
|
10
|
+
const g = r(
|
|
11
|
+
{},
|
|
12
|
+
e,
|
|
13
|
+
i,
|
|
14
|
+
m,
|
|
15
|
+
o,
|
|
16
|
+
s,
|
|
17
|
+
t,
|
|
18
|
+
u,
|
|
19
|
+
f
|
|
20
|
+
);
|
|
21
|
+
export {
|
|
22
|
+
g as default
|
|
23
|
+
};
|
package/lib/types/index.d.ts
CHANGED
|
@@ -2,7 +2,6 @@ export * from './umd';
|
|
|
2
2
|
export * from '@univerjs/docs';
|
|
3
3
|
export * from '@univerjs/docs-ui';
|
|
4
4
|
export * from '@univerjs/engine-formula';
|
|
5
|
-
export * from '@univerjs/engine-numfmt';
|
|
6
5
|
export * from '@univerjs/engine-render';
|
|
7
6
|
export * from '@univerjs/network';
|
|
8
7
|
export * from '@univerjs/rpc';
|