@univerjs/preset-sheets-core 0.12.3 → 0.12.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 +32 -30
- package/lib/index.css +1 -1
- package/lib/index.js +32 -30
- package/lib/types/umd.d.ts +1 -1
- package/lib/umd/index.js +38 -38
- package/lib/umd/locales/ca-ES.js +2 -2
- package/lib/umd/locales/en-US.js +2 -2
- package/lib/umd/locales/es-ES.js +2 -2
- package/lib/umd/locales/fa-IR.js +2 -2
- package/lib/umd/locales/fr-FR.js +2 -2
- package/lib/umd/locales/ja-JP.js +2 -2
- package/lib/umd/locales/ko-KR.js +2 -2
- package/lib/umd/locales/ru-RU.js +2 -2
- package/lib/umd/locales/vi-VN.js +2 -2
- package/lib/umd/locales/zh-CN.js +2 -2
- package/lib/umd/locales/zh-TW.js +15 -15
- package/package.json +17 -17
package/lib/index.js
CHANGED
|
@@ -1,28 +1,28 @@
|
|
|
1
|
-
import { UniverDocsPlugin as
|
|
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 y } from "@univerjs/network";
|
|
10
10
|
export * from "@univerjs/network";
|
|
11
11
|
import { UniverRPCMainThreadPlugin as k } from "@univerjs/rpc";
|
|
12
12
|
export * from "@univerjs/rpc";
|
|
13
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 A } from "@univerjs/sheets-formula-ui";
|
|
18
18
|
export * from "@univerjs/sheets-formula-ui";
|
|
19
|
-
import { UniverSheetsNumfmtPlugin as
|
|
19
|
+
import { UniverSheetsNumfmtPlugin as T } 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",
|
|
@@ -46,31 +46,33 @@ function rr(m = {}) {
|
|
|
46
46
|
menu: f,
|
|
47
47
|
contextMenu: S,
|
|
48
48
|
disableAutoFocus: d,
|
|
49
|
+
customFontFamily: U,
|
|
49
50
|
docs: i,
|
|
50
51
|
sheets: r,
|
|
51
52
|
formula: o,
|
|
52
|
-
disableTextFormatAlert:
|
|
53
|
-
disableTextFormatMark:
|
|
53
|
+
disableTextFormatAlert: x,
|
|
54
|
+
disableTextFormatMark: F
|
|
54
55
|
} = m, e = !!t;
|
|
55
56
|
return {
|
|
56
57
|
plugins: [
|
|
57
|
-
|
|
58
|
-
[
|
|
58
|
+
y,
|
|
59
|
+
[v, {
|
|
59
60
|
hasScroll: i == null ? void 0 : i.hasScroll
|
|
60
61
|
}],
|
|
61
|
-
|
|
62
|
-
[
|
|
62
|
+
R,
|
|
63
|
+
[H, {
|
|
63
64
|
container: l,
|
|
64
65
|
header: p,
|
|
65
66
|
toolbar: a,
|
|
66
67
|
ribbonType: c,
|
|
67
68
|
menu: f,
|
|
68
69
|
contextMenu: S,
|
|
69
|
-
disableAutoFocus: d
|
|
70
|
+
disableAutoFocus: d,
|
|
71
|
+
customFontFamily: U
|
|
70
72
|
}],
|
|
71
|
-
|
|
73
|
+
C,
|
|
72
74
|
e ? [k, { workerURL: t }] : null,
|
|
73
|
-
[
|
|
75
|
+
[b, {
|
|
74
76
|
notExecuteFormula: e,
|
|
75
77
|
function: o == null ? void 0 : o.function
|
|
76
78
|
}],
|
|
@@ -81,7 +83,7 @@ function rr(m = {}) {
|
|
|
81
83
|
autoHeightForMergedCells: r == null ? void 0 : r.autoHeightForMergedCells,
|
|
82
84
|
freezeSync: r == null ? void 0 : r.freezeSync
|
|
83
85
|
}],
|
|
84
|
-
[
|
|
86
|
+
[I, {
|
|
85
87
|
formulaBar: g,
|
|
86
88
|
footer: u,
|
|
87
89
|
maxAutoHeightCount: r == null ? void 0 : r.maxAutoHeightCount,
|
|
@@ -92,22 +94,22 @@ function rr(m = {}) {
|
|
|
92
94
|
disableForceStringAlert: r == null ? void 0 : r.disableForceStringAlert,
|
|
93
95
|
disableForceStringMark: r == null ? void 0 : r.disableForceStringMark
|
|
94
96
|
}],
|
|
95
|
-
[
|
|
96
|
-
disableTextFormatAlert:
|
|
97
|
-
disableTextFormatMark:
|
|
97
|
+
[T, {
|
|
98
|
+
disableTextFormatAlert: x,
|
|
99
|
+
disableTextFormatMark: F
|
|
98
100
|
}],
|
|
99
|
-
|
|
100
|
-
[
|
|
101
|
+
E,
|
|
102
|
+
[M, {
|
|
101
103
|
notExecuteFormula: e,
|
|
102
104
|
description: o == null ? void 0 : o.description,
|
|
103
105
|
initialFormulaComputing: o == null ? void 0 : o.initialFormulaComputing
|
|
104
106
|
}],
|
|
105
|
-
[
|
|
107
|
+
[A, {
|
|
106
108
|
functionScreenTips: o == null ? void 0 : o.functionScreenTips
|
|
107
109
|
}]
|
|
108
|
-
].filter((
|
|
110
|
+
].filter((P) => !!P)
|
|
109
111
|
};
|
|
110
112
|
}
|
|
111
113
|
export {
|
|
112
|
-
|
|
114
|
+
or as UniverSheetsCorePreset
|
|
113
115
|
};
|
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' | 'footer'>, IUniverSheetsNumfmtConfig {
|
|
30
|
+
export interface IUniverSheetsCorePresetConfig extends Pick<IUniverUIConfig, 'container' | 'header' | 'toolbar' | 'ribbonType' | 'menu' | 'contextMenu' | 'disableAutoFocus' | 'customFontFamily'>, Pick<IUniverSheetsUIConfig, 'formulaBar' | 'statusBarStatistic' | 'footer'>, IUniverSheetsNumfmtConfig {
|
|
31
31
|
/**
|
|
32
32
|
* The docs related configuration.
|
|
33
33
|
*/
|