@univerjs/preset-sheets-core 0.9.3 → 0.10.0

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/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 b } from "@univerjs/docs-ui";
3
+ import { UniverDocsUIPlugin as C } from "@univerjs/docs-ui";
4
4
  export * from "@univerjs/docs-ui";
5
- import { UniverFormulaEnginePlugin as R } from "@univerjs/engine-formula";
5
+ import { UniverFormulaEnginePlugin as b } from "@univerjs/engine-formula";
6
6
  export * from "@univerjs/engine-formula";
7
- import { UniverRenderEnginePlugin as k } from "@univerjs/engine-render";
7
+ import { UniverRenderEnginePlugin as R } from "@univerjs/engine-render";
8
8
  export * from "@univerjs/engine-render";
9
- import { UniverNetworkPlugin as w } from "@univerjs/network";
9
+ import { UniverNetworkPlugin as k } from "@univerjs/network";
10
10
  export * from "@univerjs/network";
11
- import { UniverRPCMainThreadPlugin as M } from "@univerjs/rpc";
11
+ import { UniverRPCMainThreadPlugin as w } from "@univerjs/rpc";
12
12
  export * from "@univerjs/rpc";
13
- import { UniverSheetsPlugin as s } from "@univerjs/sheets";
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 E } from "@univerjs/sheets-numfmt";
19
+ import { UniverSheetsNumfmtPlugin as s } from "@univerjs/sheets-numfmt";
20
20
  export * from "@univerjs/sheets-numfmt";
21
- import { UniverSheetsNumfmtUIPlugin as I } from "@univerjs/sheets-numfmt-ui";
21
+ import { UniverSheetsNumfmtUIPlugin as E } from "@univerjs/sheets-numfmt-ui";
22
22
  export * from "@univerjs/sheets-numfmt-ui";
23
- import { UniverSheetsUIPlugin as H } from "@univerjs/sheets-ui";
23
+ import { UniverSheetsUIPlugin as I } from "@univerjs/sheets-ui";
24
24
  export * from "@univerjs/sheets-ui";
25
- import { UniverUIPlugin as T } from "@univerjs/ui";
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 tr(m = {}) {
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: e,
50
+ docs: t,
51
51
  sheets: r,
52
52
  formula: o,
53
- customComponents: x,
54
- disableTextFormatAlert: F,
55
- disableTextFormatMark: P
56
- } = m, t = !!i;
53
+ disableTextFormatAlert: x,
54
+ disableTextFormatMark: F
55
+ } = m, e = !!i;
57
56
  return {
58
57
  plugins: [
59
- w,
58
+ k,
60
59
  [v, {
61
- hasScroll: e == null ? void 0 : e.hasScroll
60
+ hasScroll: t == null ? void 0 : t.hasScroll
62
61
  }],
63
- k,
64
- [T, {
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
- b,
74
- t ? [M, { workerURL: i }] : null,
75
- [R, {
76
- notExecuteFormula: t,
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
- [s, {
80
- notExecuteFormula: t,
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
- [H, {
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
- [E, {
99
- disableTextFormatAlert: F,
100
- disableTextFormatMark: P
96
+ [s, {
97
+ disableTextFormatAlert: x,
98
+ disableTextFormatMark: F
101
99
  }],
102
- I,
100
+ E,
103
101
  [y, {
104
- notExecuteFormula: t,
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((C) => !!C)
107
+ ].filter((P) => !!P)
110
108
  };
111
109
  }
112
110
  export {
113
- tr as UniverSheetsCorePreset
111
+ or as UniverSheetsCorePreset
114
112
  };
@@ -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' | 'customComponents' | 'footer'>, IUniverSheetsNumfmtConfig {
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
  */