@univerjs/preset-sheets-core 0.5.0 → 0.5.1-nightly.202412041606
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/fr-FR.js +1 -0
- package/lib/es/index.js +42 -28
- package/lib/es/locales/fr-FR.js +23 -0
- package/lib/index.css +1 -1
- package/lib/types/index.d.ts +13 -24
- package/lib/types/locales/fr-FR.d.ts +2 -0
- package/lib/types/umd.d.ts +24 -0
- package/lib/umd/index.js +98 -58
- package/lib/umd/locales/fr-FR.js +72 -0
- package/package.json +22 -19
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 a=require("@univerjs/docs"),g=require("@univerjs/docs-ui"),m=require("@univerjs/engine-formula"),q=require("@univerjs/engine-render"),h=require("@univerjs/rpc"),P=require("@univerjs/sheets"),v=require("@univerjs/sheets-formula"),S=require("@univerjs/sheets-formula-ui"),d=require("@univerjs/sheets-numfmt"),F=require("@univerjs/sheets-numfmt-ui"),f=require("@univerjs/sheets-ui"),R=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 p(n={}){const{container:i="app",workerURL:r,header:u,footer:t,toolbar:o,menu:s,contextMenu:l,disableAutoFocus:c}=n,e=!!r;return{plugins:[a.UniverDocsPlugin,q.UniverRenderEnginePlugin,[R.UniverUIPlugin,{container:i,header:u,footer:t,toolbar:o,menu:s,contextMenu:l,disableAutoFocus:c}],g.UniverDocsUIPlugin,e?[h.UniverRPCMainThreadPlugin,{workerURL:r}]:null,[m.UniverFormulaEnginePlugin,{notExecuteFormula:e}],[P.UniverSheetsPlugin,{notExecuteFormula:e,onlyRegisterFormulaRelatedMutations:!1}],f.UniverSheetsUIPlugin,d.UniverSheetsNumfmtPlugin,F.UniverSheetsNumfmtUIPlugin,v.UniverSheetsFormulaPlugin,S.UniverSheetsFormulaUIPlugin].filter(U=>!!U)}}exports.UniverSheetsCorePreset=p;
|
|
@@ -0,0 +1 @@
|
|
|
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.Tools.deepMerge({},s,r,u,i,n,t,o,c);module.exports=q;
|
package/lib/es/index.js
CHANGED
|
@@ -1,15 +1,15 @@
|
|
|
1
|
-
import { UniverDocsPlugin as
|
|
2
|
-
import { UniverDocsUIPlugin as
|
|
3
|
-
import { UniverFormulaEnginePlugin as
|
|
4
|
-
import { UniverRenderEnginePlugin as
|
|
5
|
-
import { UniverRPCMainThreadPlugin as
|
|
6
|
-
import { UniverSheetsPlugin as
|
|
7
|
-
import { UniverSheetsFormulaPlugin as
|
|
8
|
-
import { UniverSheetsFormulaUIPlugin as
|
|
9
|
-
import { UniverSheetsNumfmtPlugin as
|
|
10
|
-
import { UniverSheetsNumfmtUIPlugin as
|
|
11
|
-
import { UniverSheetsUIPlugin as
|
|
12
|
-
import { UniverUIPlugin as
|
|
1
|
+
import { UniverDocsPlugin as s } from "@univerjs/docs";
|
|
2
|
+
import { UniverDocsUIPlugin as f } from "@univerjs/docs-ui";
|
|
3
|
+
import { UniverFormulaEnginePlugin as a } from "@univerjs/engine-formula";
|
|
4
|
+
import { UniverRenderEnginePlugin as g } from "@univerjs/engine-render";
|
|
5
|
+
import { UniverRPCMainThreadPlugin as P } from "@univerjs/rpc";
|
|
6
|
+
import { UniverSheetsPlugin as v } from "@univerjs/sheets";
|
|
7
|
+
import { UniverSheetsFormulaPlugin as c } from "@univerjs/sheets-formula";
|
|
8
|
+
import { UniverSheetsFormulaUIPlugin as h } from "@univerjs/sheets-formula-ui";
|
|
9
|
+
import { UniverSheetsNumfmtPlugin as S } from "@univerjs/sheets-numfmt";
|
|
10
|
+
import { UniverSheetsNumfmtUIPlugin as F } from "@univerjs/sheets-numfmt-ui";
|
|
11
|
+
import { UniverSheetsUIPlugin as R } from "@univerjs/sheets-ui";
|
|
12
|
+
import { UniverUIPlugin as d } from "@univerjs/ui";
|
|
13
13
|
import "@univerjs/sheets/facade";
|
|
14
14
|
import "@univerjs/ui/facade";
|
|
15
15
|
import "@univerjs/docs-ui/facade";
|
|
@@ -17,28 +17,42 @@ import "@univerjs/sheets-ui/facade";
|
|
|
17
17
|
import "@univerjs/engine-formula/facade";
|
|
18
18
|
import "@univerjs/sheets-formula/facade";
|
|
19
19
|
import "@univerjs/sheets-numfmt/facade";
|
|
20
|
-
function
|
|
20
|
+
function G(o = {}) {
|
|
21
21
|
const {
|
|
22
|
-
container:
|
|
23
|
-
workerURL: e
|
|
24
|
-
|
|
22
|
+
container: i = "app",
|
|
23
|
+
workerURL: e,
|
|
24
|
+
header: t,
|
|
25
|
+
footer: n,
|
|
26
|
+
toolbar: m,
|
|
27
|
+
menu: u,
|
|
28
|
+
contextMenu: l,
|
|
29
|
+
disableAutoFocus: p
|
|
30
|
+
} = o, r = !!e;
|
|
25
31
|
return {
|
|
26
32
|
plugins: [
|
|
27
|
-
|
|
28
|
-
l,
|
|
29
|
-
[v, { container: o }],
|
|
30
|
-
m,
|
|
31
|
-
r ? [p, { workerURL: e }] : null,
|
|
32
|
-
[u, { notExecuteFormula: r }],
|
|
33
|
-
[U, { notExecuteFormula: r, onlyRegisterFormulaRelatedMutations: !1 }],
|
|
34
|
-
a,
|
|
33
|
+
s,
|
|
35
34
|
g,
|
|
36
|
-
|
|
35
|
+
[d, {
|
|
36
|
+
container: i,
|
|
37
|
+
header: t,
|
|
38
|
+
footer: n,
|
|
39
|
+
toolbar: m,
|
|
40
|
+
menu: u,
|
|
41
|
+
contextMenu: l,
|
|
42
|
+
disableAutoFocus: p
|
|
43
|
+
}],
|
|
37
44
|
f,
|
|
38
|
-
|
|
39
|
-
|
|
45
|
+
r ? [P, { workerURL: e }] : null,
|
|
46
|
+
[a, { notExecuteFormula: r }],
|
|
47
|
+
[v, { notExecuteFormula: r, onlyRegisterFormulaRelatedMutations: !1 }],
|
|
48
|
+
R,
|
|
49
|
+
S,
|
|
50
|
+
F,
|
|
51
|
+
c,
|
|
52
|
+
h
|
|
53
|
+
].filter((U) => !!U)
|
|
40
54
|
};
|
|
41
55
|
}
|
|
42
56
|
export {
|
|
43
|
-
|
|
57
|
+
G as UniverSheetsCorePreset
|
|
44
58
|
};
|
|
@@ -0,0 +1,23 @@
|
|
|
1
|
+
import { Tools as r } from "@univerjs/core";
|
|
2
|
+
import e from "@univerjs/design/locale/fr-FR";
|
|
3
|
+
import o from "@univerjs/docs-ui/locale/fr-FR";
|
|
4
|
+
import i from "@univerjs/sheets/locale/fr-FR";
|
|
5
|
+
import s from "@univerjs/sheets-formula/locale/fr-FR";
|
|
6
|
+
import m from "@univerjs/sheets-formula-ui/locale/fr-FR";
|
|
7
|
+
import t from "@univerjs/sheets-numfmt-ui/locale/fr-FR";
|
|
8
|
+
import u from "@univerjs/sheets-ui/locale/fr-FR";
|
|
9
|
+
import f from "@univerjs/ui/locale/fr-FR";
|
|
10
|
+
const g = r.deepMerge(
|
|
11
|
+
{},
|
|
12
|
+
e,
|
|
13
|
+
o,
|
|
14
|
+
i,
|
|
15
|
+
s,
|
|
16
|
+
m,
|
|
17
|
+
t,
|
|
18
|
+
u,
|
|
19
|
+
f
|
|
20
|
+
);
|
|
21
|
+
export {
|
|
22
|
+
g as default
|
|
23
|
+
};
|