@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/index.js CHANGED
@@ -1,28 +1,28 @@
1
- import { UniverDocsPlugin as P } from "@univerjs/docs";
1
+ import { UniverDocsPlugin as v } from "@univerjs/docs";
2
2
  export * from "@univerjs/docs";
3
- import { UniverDocsUIPlugin as v } from "@univerjs/docs-ui";
3
+ import { UniverDocsUIPlugin as C } from "@univerjs/docs-ui";
4
4
  export * from "@univerjs/docs-ui";
5
- import { UniverFormulaEnginePlugin as C } from "@univerjs/engine-formula";
5
+ import { UniverFormulaEnginePlugin as b } from "@univerjs/engine-formula";
6
6
  export * from "@univerjs/engine-formula";
7
- import { UniverRenderEnginePlugin as b } from "@univerjs/engine-render";
7
+ import { UniverRenderEnginePlugin as R } from "@univerjs/engine-render";
8
8
  export * from "@univerjs/engine-render";
9
- import { UniverNetworkPlugin as R } from "@univerjs/network";
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 y } from "@univerjs/sheets-formula";
15
+ import { UniverSheetsFormulaPlugin as M } from "@univerjs/sheets-formula";
16
16
  export * from "@univerjs/sheets-formula";
17
- import { UniverSheetsFormulaUIPlugin as M } from "@univerjs/sheets-formula-ui";
17
+ import { UniverSheetsFormulaUIPlugin as A } from "@univerjs/sheets-formula-ui";
18
18
  export * from "@univerjs/sheets-formula-ui";
19
- import { UniverSheetsNumfmtPlugin as A } from "@univerjs/sheets-numfmt";
19
+ import { UniverSheetsNumfmtPlugin as T } from "@univerjs/sheets-numfmt";
20
20
  export * from "@univerjs/sheets-numfmt";
21
- import { UniverSheetsNumfmtUIPlugin as T } 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 E } from "@univerjs/sheets-ui";
23
+ import { UniverSheetsUIPlugin as I } from "@univerjs/sheets-ui";
24
24
  export * from "@univerjs/sheets-ui";
25
- import { UniverUIPlugin as I } 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 rr(m = {}) {
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: U,
53
- disableTextFormatMark: x
53
+ disableTextFormatAlert: x,
54
+ disableTextFormatMark: F
54
55
  } = m, e = !!t;
55
56
  return {
56
57
  plugins: [
57
- R,
58
- [P, {
58
+ y,
59
+ [v, {
59
60
  hasScroll: i == null ? void 0 : i.hasScroll
60
61
  }],
61
- b,
62
- [I, {
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
- v,
73
+ C,
72
74
  e ? [k, { workerURL: t }] : null,
73
- [C, {
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
- [E, {
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
- [A, {
96
- disableTextFormatAlert: U,
97
- disableTextFormatMark: x
97
+ [T, {
98
+ disableTextFormatAlert: x,
99
+ disableTextFormatMark: F
98
100
  }],
99
- T,
100
- [y, {
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
- [M, {
107
+ [A, {
106
108
  functionScreenTips: o == null ? void 0 : o.functionScreenTips
107
109
  }]
108
- ].filter((F) => !!F)
110
+ ].filter((P) => !!P)
109
111
  };
110
112
  }
111
113
  export {
112
- rr as UniverSheetsCorePreset
114
+ or as UniverSheetsCorePreset
113
115
  };
@@ -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
  */