@univerjs/preset-sheets-core 0.9.4 → 0.10.1
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 +33 -35
- package/lib/index.css +1 -1
- package/lib/index.js +33 -35
- package/lib/types/umd.d.ts +1 -1
- package/lib/umd/index.js +15 -15
- package/lib/umd/locales/ca-ES.js +1 -1
- package/lib/umd/locales/en-US.js +3 -3
- package/lib/umd/locales/es-ES.js +1 -1
- package/lib/umd/locales/fa-IR.js +3 -3
- package/lib/umd/locales/fr-FR.js +3 -3
- package/lib/umd/locales/ko-KR.js +1 -1
- package/lib/umd/locales/ru-RU.js +5 -7
- package/package.json +17 -17
package/lib/index.js
CHANGED
|
@@ -1,28 +1,28 @@
|
|
|
1
1
|
import { UniverDocsPlugin as v } from "@univerjs/docs";
|
|
2
2
|
export * from "@univerjs/docs";
|
|
3
|
-
import { UniverDocsUIPlugin as
|
|
3
|
+
import { UniverDocsUIPlugin as C } from "@univerjs/docs-ui";
|
|
4
4
|
export * from "@univerjs/docs-ui";
|
|
5
|
-
import { UniverFormulaEnginePlugin as
|
|
5
|
+
import { UniverFormulaEnginePlugin as b } from "@univerjs/engine-formula";
|
|
6
6
|
export * from "@univerjs/engine-formula";
|
|
7
|
-
import { UniverRenderEnginePlugin as
|
|
7
|
+
import { UniverRenderEnginePlugin as R } from "@univerjs/engine-render";
|
|
8
8
|
export * from "@univerjs/engine-render";
|
|
9
|
-
import { UniverNetworkPlugin as
|
|
9
|
+
import { UniverNetworkPlugin as k } from "@univerjs/network";
|
|
10
10
|
export * from "@univerjs/network";
|
|
11
|
-
import { UniverRPCMainThreadPlugin as
|
|
11
|
+
import { UniverRPCMainThreadPlugin as w } from "@univerjs/rpc";
|
|
12
12
|
export * from "@univerjs/rpc";
|
|
13
|
-
import { UniverSheetsPlugin as
|
|
13
|
+
import { UniverSheetsPlugin as M } from "@univerjs/sheets";
|
|
14
14
|
export * from "@univerjs/sheets";
|
|
15
15
|
import { UniverSheetsFormulaPlugin as y } from "@univerjs/sheets-formula";
|
|
16
16
|
export * from "@univerjs/sheets-formula";
|
|
17
17
|
import { UniverSheetsFormulaUIPlugin as A } from "@univerjs/sheets-formula-ui";
|
|
18
18
|
export * from "@univerjs/sheets-formula-ui";
|
|
19
|
-
import { UniverSheetsNumfmtPlugin as
|
|
19
|
+
import { UniverSheetsNumfmtPlugin as s } from "@univerjs/sheets-numfmt";
|
|
20
20
|
export * from "@univerjs/sheets-numfmt";
|
|
21
|
-
import { UniverSheetsNumfmtUIPlugin as
|
|
21
|
+
import { UniverSheetsNumfmtUIPlugin as E } from "@univerjs/sheets-numfmt-ui";
|
|
22
22
|
export * from "@univerjs/sheets-numfmt-ui";
|
|
23
|
-
import { UniverSheetsUIPlugin as
|
|
23
|
+
import { UniverSheetsUIPlugin as I } from "@univerjs/sheets-ui";
|
|
24
24
|
export * from "@univerjs/sheets-ui";
|
|
25
|
-
import { UniverUIPlugin as
|
|
25
|
+
import { UniverUIPlugin as H } from "@univerjs/ui";
|
|
26
26
|
export * from "@univerjs/ui";
|
|
27
27
|
import "@univerjs/network/lib/facade";
|
|
28
28
|
import "@univerjs/sheets/lib/facade";
|
|
@@ -33,7 +33,7 @@ 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 or(m = {}) {
|
|
37
37
|
var n;
|
|
38
38
|
const {
|
|
39
39
|
container: l = "app",
|
|
@@ -47,21 +47,20 @@ function tr(m = {}) {
|
|
|
47
47
|
menu: d,
|
|
48
48
|
contextMenu: S,
|
|
49
49
|
disableAutoFocus: U,
|
|
50
|
-
docs:
|
|
50
|
+
docs: t,
|
|
51
51
|
sheets: r,
|
|
52
52
|
formula: o,
|
|
53
|
-
|
|
54
|
-
|
|
55
|
-
|
|
56
|
-
} = m, t = !!i;
|
|
53
|
+
disableTextFormatAlert: x,
|
|
54
|
+
disableTextFormatMark: F
|
|
55
|
+
} = m, e = !!i;
|
|
57
56
|
return {
|
|
58
57
|
plugins: [
|
|
59
|
-
|
|
58
|
+
k,
|
|
60
59
|
[v, {
|
|
61
|
-
hasScroll:
|
|
60
|
+
hasScroll: t == null ? void 0 : t.hasScroll
|
|
62
61
|
}],
|
|
63
|
-
|
|
64
|
-
[
|
|
62
|
+
R,
|
|
63
|
+
[H, {
|
|
65
64
|
container: l,
|
|
66
65
|
header: p,
|
|
67
66
|
toolbar: a,
|
|
@@ -70,20 +69,19 @@ function tr(m = {}) {
|
|
|
70
69
|
contextMenu: S,
|
|
71
70
|
disableAutoFocus: U
|
|
72
71
|
}],
|
|
73
|
-
|
|
74
|
-
|
|
75
|
-
[
|
|
76
|
-
notExecuteFormula:
|
|
72
|
+
C,
|
|
73
|
+
e ? [w, { workerURL: i }] : null,
|
|
74
|
+
[b, {
|
|
75
|
+
notExecuteFormula: e,
|
|
77
76
|
function: o == null ? void 0 : o.function
|
|
78
77
|
}],
|
|
79
|
-
[
|
|
80
|
-
notExecuteFormula:
|
|
78
|
+
[M, {
|
|
79
|
+
notExecuteFormula: e,
|
|
81
80
|
onlyRegisterFormulaRelatedMutations: !1,
|
|
82
81
|
isRowStylePrecedeColumnStyle: r == null ? void 0 : r.isRowStylePrecedeColumnStyle,
|
|
83
82
|
autoHeightForMergedCells: r == null ? void 0 : r.autoHeightForMergedCells
|
|
84
83
|
}],
|
|
85
|
-
[
|
|
86
|
-
customComponents: x,
|
|
84
|
+
[I, {
|
|
87
85
|
formulaBar: c,
|
|
88
86
|
statusBarStatistic: f,
|
|
89
87
|
footer: u,
|
|
@@ -95,20 +93,20 @@ function tr(m = {}) {
|
|
|
95
93
|
disableForceStringAlert: r == null ? void 0 : r.disableForceStringAlert,
|
|
96
94
|
disableForceStringMark: r == null ? void 0 : r.disableForceStringMark
|
|
97
95
|
}],
|
|
98
|
-
[
|
|
99
|
-
disableTextFormatAlert:
|
|
100
|
-
disableTextFormatMark:
|
|
96
|
+
[s, {
|
|
97
|
+
disableTextFormatAlert: x,
|
|
98
|
+
disableTextFormatMark: F
|
|
101
99
|
}],
|
|
102
|
-
|
|
100
|
+
E,
|
|
103
101
|
[y, {
|
|
104
|
-
notExecuteFormula:
|
|
102
|
+
notExecuteFormula: e,
|
|
105
103
|
description: o == null ? void 0 : o.description,
|
|
106
104
|
initialFormulaComputing: o == null ? void 0 : o.initialFormulaComputing
|
|
107
105
|
}],
|
|
108
106
|
A
|
|
109
|
-
].filter((
|
|
107
|
+
].filter((P) => !!P)
|
|
110
108
|
};
|
|
111
109
|
}
|
|
112
110
|
export {
|
|
113
|
-
|
|
111
|
+
or as UniverSheetsCorePreset
|
|
114
112
|
};
|
package/lib/types/umd.d.ts
CHANGED
|
@@ -27,7 +27,7 @@ export type * from '@univerjs/sheets-numfmt/lib/facade';
|
|
|
27
27
|
export type * from '@univerjs/sheets-ui/lib/facade';
|
|
28
28
|
export type * from '@univerjs/sheets/lib/facade';
|
|
29
29
|
export type * from '@univerjs/ui/lib/facade';
|
|
30
|
-
export interface IUniverSheetsCorePresetConfig extends Pick<IUniverUIConfig, 'container' | 'header' | 'toolbar' | 'ribbonType' | 'menu' | 'contextMenu' | 'disableAutoFocus'>, Pick<IUniverSheetsUIConfig, 'formulaBar' | 'statusBarStatistic' | '
|
|
30
|
+
export interface IUniverSheetsCorePresetConfig extends Pick<IUniverUIConfig, 'container' | 'header' | 'toolbar' | 'ribbonType' | 'menu' | 'contextMenu' | 'disableAutoFocus'>, Pick<IUniverSheetsUIConfig, 'formulaBar' | 'statusBarStatistic' | 'footer'>, IUniverSheetsNumfmtConfig {
|
|
31
31
|
/**
|
|
32
32
|
* The docs related configuration.
|
|
33
33
|
*/
|