@univerjs/preset-sheets-core 0.10.2 → 0.10.4
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/es/index.js +35 -37
- package/lib/index.css +1 -1
- package/lib/index.js +35 -37
- package/lib/umd/index.js +17 -17
- package/lib/umd/locales/ca-ES.js +2 -2
- package/lib/umd/locales/en-US.js +4 -4
- package/lib/umd/locales/es-ES.js +2 -2
- package/lib/umd/locales/fa-IR.js +4 -4
- package/lib/umd/locales/fr-FR.js +4 -4
- package/lib/umd/locales/ko-KR.js +1 -1
- package/lib/umd/locales/ru-RU.js +22 -25
- package/package.json +17 -17
package/lib/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
|
};
|