@univerjs/preset-sheets-core 1.3.1 → 1.5.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/README.md +16 -5
- package/lib/cjs/index.js +4 -2
- package/lib/cjs/locales/ar-SA.js +2 -3
- package/lib/cjs/locales/ca-ES.js +2 -3
- package/lib/cjs/locales/de-DE.js +2 -3
- package/lib/cjs/locales/en-US.js +2 -3
- package/lib/cjs/locales/es-ES.js +2 -3
- package/lib/cjs/locales/fa-IR.js +2 -3
- package/lib/cjs/locales/fr-FR.js +2 -3
- package/lib/cjs/locales/id-ID.js +2 -3
- package/lib/cjs/locales/it-IT.js +2 -3
- package/lib/cjs/locales/ja-JP.js +2 -3
- package/lib/cjs/locales/ko-KR.js +2 -3
- package/lib/cjs/locales/pl-PL.js +2 -3
- package/lib/cjs/locales/pt-BR.js +2 -3
- package/lib/cjs/locales/ru-RU.js +2 -3
- package/lib/cjs/locales/sk-SK.js +2 -3
- package/lib/cjs/locales/vi-VN.js +2 -3
- package/lib/cjs/locales/zh-CN.js +2 -3
- package/lib/cjs/locales/zh-HK.js +2 -3
- package/lib/cjs/locales/zh-TW.js +2 -3
- package/lib/cjs/{rolldown-runtime-AN5ru5iW.js → rolldown-runtime-xuxB8TGW.js} +1 -2
- package/lib/cjs/worker.js +9 -10
- package/lib/es/index.js +4 -2
- package/lib/es/locales/ar-SA.js +1 -2
- package/lib/es/locales/ca-ES.js +1 -2
- package/lib/es/locales/de-DE.js +1 -2
- package/lib/es/locales/en-US.js +1 -2
- package/lib/es/locales/es-ES.js +1 -2
- package/lib/es/locales/fa-IR.js +1 -2
- package/lib/es/locales/fr-FR.js +1 -2
- package/lib/es/locales/id-ID.js +1 -2
- package/lib/es/locales/it-IT.js +1 -2
- package/lib/es/locales/ja-JP.js +1 -2
- package/lib/es/locales/ko-KR.js +1 -2
- package/lib/es/locales/pl-PL.js +1 -2
- package/lib/es/locales/pt-BR.js +1 -2
- package/lib/es/locales/ru-RU.js +1 -2
- package/lib/es/locales/sk-SK.js +1 -2
- package/lib/es/locales/vi-VN.js +1 -2
- package/lib/es/locales/zh-CN.js +1 -2
- package/lib/es/locales/zh-HK.js +1 -2
- package/lib/es/locales/zh-TW.js +1 -2
- package/lib/es/worker.js +5 -6
- package/lib/index.css +333 -365
- package/lib/index.js +4 -2
- package/lib/locales/ar-SA.js +1 -2
- package/lib/locales/ca-ES.js +1 -2
- package/lib/locales/de-DE.js +1 -2
- package/lib/locales/en-US.js +1 -2
- package/lib/locales/es-ES.js +1 -2
- package/lib/locales/fa-IR.js +1 -2
- package/lib/locales/fr-FR.js +1 -2
- package/lib/locales/id-ID.js +1 -2
- package/lib/locales/it-IT.js +1 -2
- package/lib/locales/ja-JP.js +1 -2
- package/lib/locales/ko-KR.js +1 -2
- package/lib/locales/pl-PL.js +1 -2
- package/lib/locales/pt-BR.js +1 -2
- package/lib/locales/ru-RU.js +1 -2
- package/lib/locales/sk-SK.js +1 -2
- package/lib/locales/vi-VN.js +1 -2
- package/lib/locales/zh-CN.js +1 -2
- package/lib/locales/zh-HK.js +1 -2
- package/lib/locales/zh-TW.js +1 -2
- package/lib/types/types.d.ts +1 -1
- package/lib/worker.js +5 -6
- package/package.json +21 -21
package/lib/index.js
CHANGED
|
@@ -49,7 +49,7 @@ export * from "@univerjs/ui"
|
|
|
49
49
|
|
|
50
50
|
export * from "@univerjs/design"
|
|
51
51
|
|
|
52
|
-
|
|
52
|
+
// src/preset.ts
|
|
53
53
|
/**
|
|
54
54
|
* This presets helps you to create a Univer sheet with open sourced features.
|
|
55
55
|
*/
|
|
@@ -88,8 +88,11 @@ function UniverSheetsCorePreset(config = {}) {
|
|
|
88
88
|
formulaBar,
|
|
89
89
|
footer,
|
|
90
90
|
allowArrowKeyWrapOnSheetBoundary: sheets === null || sheets === void 0 ? void 0 : sheets.allowArrowKeyWrapOnSheetBoundary,
|
|
91
|
+
selectionAnimation: sheets === null || sheets === void 0 ? void 0 : sheets.selectionAnimation,
|
|
91
92
|
maxAutoHeightCount: sheets === null || sheets === void 0 ? void 0 : sheets.maxAutoHeightCount,
|
|
93
|
+
enableFillHandle: sheets === null || sheets === void 0 ? void 0 : sheets.enableFillHandle,
|
|
92
94
|
clipboardConfig: sheets === null || sheets === void 0 ? void 0 : sheets.clipboardConfig,
|
|
95
|
+
warnBeforeDragOverwrite: sheets === null || sheets === void 0 ? void 0 : sheets.warnBeforeDragOverwrite,
|
|
93
96
|
scrollConfig: sheets === null || sheets === void 0 ? void 0 : sheets.scrollConfig,
|
|
94
97
|
protectedRangeShadow: (sheets === null || sheets === void 0 ? void 0 : sheets.protectedRangeShadow) ?? true,
|
|
95
98
|
protectedRangeUserSelector: sheets === null || sheets === void 0 ? void 0 : sheets.protectedRangeUserSelector,
|
|
@@ -110,5 +113,4 @@ function UniverSheetsCorePreset(config = {}) {
|
|
|
110
113
|
].filter((v) => !!v) };
|
|
111
114
|
}
|
|
112
115
|
|
|
113
|
-
//#endregion
|
|
114
116
|
export { UniverSheetsCorePreset };
|
package/lib/locales/ar-SA.js
CHANGED
|
@@ -8,8 +8,7 @@ import univerjssheetsnumfmtui from "@univerjs/sheets-numfmt-ui/locale/ar-SA";
|
|
|
8
8
|
import univerjssheetsui from "@univerjs/sheets-ui/locale/ar-SA";
|
|
9
9
|
import univerjsui from "@univerjs/ui/locale/ar-SA";
|
|
10
10
|
|
|
11
|
-
|
|
11
|
+
// src/locales/ar-SA.ts
|
|
12
12
|
var ar_SA_default = Object.assign({}, univerjsdesign, univerjsdocsui, univerjsengineformula, univerjssheets, univerjssheetsformula, univerjssheetsformulaui, univerjssheetsnumfmtui, univerjssheetsui, univerjsui);
|
|
13
13
|
|
|
14
|
-
//#endregion
|
|
15
14
|
export { ar_SA_default as default };
|
package/lib/locales/ca-ES.js
CHANGED
|
@@ -8,8 +8,7 @@ import univerjssheetsnumfmtui from "@univerjs/sheets-numfmt-ui/locale/ca-ES";
|
|
|
8
8
|
import univerjssheetsui from "@univerjs/sheets-ui/locale/ca-ES";
|
|
9
9
|
import univerjsui from "@univerjs/ui/locale/ca-ES";
|
|
10
10
|
|
|
11
|
-
|
|
11
|
+
// src/locales/ca-ES.ts
|
|
12
12
|
var ca_ES_default = Object.assign({}, univerjsdesign, univerjsdocsui, univerjsengineformula, univerjssheets, univerjssheetsformula, univerjssheetsformulaui, univerjssheetsnumfmtui, univerjssheetsui, univerjsui);
|
|
13
13
|
|
|
14
|
-
//#endregion
|
|
15
14
|
export { ca_ES_default as default };
|
package/lib/locales/de-DE.js
CHANGED
|
@@ -8,8 +8,7 @@ import univerjssheetsnumfmtui from "@univerjs/sheets-numfmt-ui/locale/de-DE";
|
|
|
8
8
|
import univerjssheetsui from "@univerjs/sheets-ui/locale/de-DE";
|
|
9
9
|
import univerjsui from "@univerjs/ui/locale/de-DE";
|
|
10
10
|
|
|
11
|
-
|
|
11
|
+
// src/locales/de-DE.ts
|
|
12
12
|
var de_DE_default = Object.assign({}, univerjsdesign, univerjsdocsui, univerjsengineformula, univerjssheets, univerjssheetsformula, univerjssheetsformulaui, univerjssheetsnumfmtui, univerjssheetsui, univerjsui);
|
|
13
13
|
|
|
14
|
-
//#endregion
|
|
15
14
|
export { de_DE_default as default };
|
package/lib/locales/en-US.js
CHANGED
|
@@ -8,8 +8,7 @@ import univerjssheetsnumfmtui from "@univerjs/sheets-numfmt-ui/locale/en-US";
|
|
|
8
8
|
import univerjssheetsui from "@univerjs/sheets-ui/locale/en-US";
|
|
9
9
|
import univerjsui from "@univerjs/ui/locale/en-US";
|
|
10
10
|
|
|
11
|
-
|
|
11
|
+
// src/locales/en-US.ts
|
|
12
12
|
var en_US_default = Object.assign({}, univerjsdesign, univerjsdocsui, univerjsengineformula, univerjssheets, univerjssheetsformula, univerjssheetsformulaui, univerjssheetsnumfmtui, univerjssheetsui, univerjsui);
|
|
13
13
|
|
|
14
|
-
//#endregion
|
|
15
14
|
export { en_US_default as default };
|
package/lib/locales/es-ES.js
CHANGED
|
@@ -8,8 +8,7 @@ import univerjssheetsnumfmtui from "@univerjs/sheets-numfmt-ui/locale/es-ES";
|
|
|
8
8
|
import univerjssheetsui from "@univerjs/sheets-ui/locale/es-ES";
|
|
9
9
|
import univerjsui from "@univerjs/ui/locale/es-ES";
|
|
10
10
|
|
|
11
|
-
|
|
11
|
+
// src/locales/es-ES.ts
|
|
12
12
|
var es_ES_default = Object.assign({}, univerjsdesign, univerjsdocsui, univerjsengineformula, univerjssheets, univerjssheetsformula, univerjssheetsformulaui, univerjssheetsnumfmtui, univerjssheetsui, univerjsui);
|
|
13
13
|
|
|
14
|
-
//#endregion
|
|
15
14
|
export { es_ES_default as default };
|
package/lib/locales/fa-IR.js
CHANGED
|
@@ -8,8 +8,7 @@ import univerjssheetsnumfmtui from "@univerjs/sheets-numfmt-ui/locale/fa-IR";
|
|
|
8
8
|
import univerjssheetsui from "@univerjs/sheets-ui/locale/fa-IR";
|
|
9
9
|
import univerjsui from "@univerjs/ui/locale/fa-IR";
|
|
10
10
|
|
|
11
|
-
|
|
11
|
+
// src/locales/fa-IR.ts
|
|
12
12
|
var fa_IR_default = Object.assign({}, univerjsdesign, univerjsdocsui, univerjsengineformula, univerjssheets, univerjssheetsformula, univerjssheetsformulaui, univerjssheetsnumfmtui, univerjssheetsui, univerjsui);
|
|
13
13
|
|
|
14
|
-
//#endregion
|
|
15
14
|
export { fa_IR_default as default };
|
package/lib/locales/fr-FR.js
CHANGED
|
@@ -8,8 +8,7 @@ import univerjssheetsnumfmtui from "@univerjs/sheets-numfmt-ui/locale/fr-FR";
|
|
|
8
8
|
import univerjssheetsui from "@univerjs/sheets-ui/locale/fr-FR";
|
|
9
9
|
import univerjsui from "@univerjs/ui/locale/fr-FR";
|
|
10
10
|
|
|
11
|
-
|
|
11
|
+
// src/locales/fr-FR.ts
|
|
12
12
|
var fr_FR_default = Object.assign({}, univerjsdesign, univerjsdocsui, univerjsengineformula, univerjssheets, univerjssheetsformula, univerjssheetsformulaui, univerjssheetsnumfmtui, univerjssheetsui, univerjsui);
|
|
13
13
|
|
|
14
|
-
//#endregion
|
|
15
14
|
export { fr_FR_default as default };
|
package/lib/locales/id-ID.js
CHANGED
|
@@ -8,8 +8,7 @@ import univerjssheetsnumfmtui from "@univerjs/sheets-numfmt-ui/locale/id-ID";
|
|
|
8
8
|
import univerjssheetsui from "@univerjs/sheets-ui/locale/id-ID";
|
|
9
9
|
import univerjsui from "@univerjs/ui/locale/id-ID";
|
|
10
10
|
|
|
11
|
-
|
|
11
|
+
// src/locales/id-ID.ts
|
|
12
12
|
var id_ID_default = Object.assign({}, univerjsdesign, univerjsdocsui, univerjsengineformula, univerjssheets, univerjssheetsformula, univerjssheetsformulaui, univerjssheetsnumfmtui, univerjssheetsui, univerjsui);
|
|
13
13
|
|
|
14
|
-
//#endregion
|
|
15
14
|
export { id_ID_default as default };
|
package/lib/locales/it-IT.js
CHANGED
|
@@ -8,8 +8,7 @@ import univerjssheetsnumfmtui from "@univerjs/sheets-numfmt-ui/locale/it-IT";
|
|
|
8
8
|
import univerjssheetsui from "@univerjs/sheets-ui/locale/it-IT";
|
|
9
9
|
import univerjsui from "@univerjs/ui/locale/it-IT";
|
|
10
10
|
|
|
11
|
-
|
|
11
|
+
// src/locales/it-IT.ts
|
|
12
12
|
var it_IT_default = Object.assign({}, univerjsdesign, univerjsdocsui, univerjsengineformula, univerjssheets, univerjssheetsformula, univerjssheetsformulaui, univerjssheetsnumfmtui, univerjssheetsui, univerjsui);
|
|
13
13
|
|
|
14
|
-
//#endregion
|
|
15
14
|
export { it_IT_default as default };
|
package/lib/locales/ja-JP.js
CHANGED
|
@@ -8,8 +8,7 @@ import univerjssheetsnumfmtui from "@univerjs/sheets-numfmt-ui/locale/ja-JP";
|
|
|
8
8
|
import univerjssheetsui from "@univerjs/sheets-ui/locale/ja-JP";
|
|
9
9
|
import univerjsui from "@univerjs/ui/locale/ja-JP";
|
|
10
10
|
|
|
11
|
-
|
|
11
|
+
// src/locales/ja-JP.ts
|
|
12
12
|
var ja_JP_default = Object.assign({}, univerjsdesign, univerjsdocsui, univerjsengineformula, univerjssheets, univerjssheetsformula, univerjssheetsformulaui, univerjssheetsnumfmtui, univerjssheetsui, univerjsui);
|
|
13
13
|
|
|
14
|
-
//#endregion
|
|
15
14
|
export { ja_JP_default as default };
|
package/lib/locales/ko-KR.js
CHANGED
|
@@ -8,8 +8,7 @@ import univerjssheetsnumfmtui from "@univerjs/sheets-numfmt-ui/locale/ko-KR";
|
|
|
8
8
|
import univerjssheetsui from "@univerjs/sheets-ui/locale/ko-KR";
|
|
9
9
|
import univerjsui from "@univerjs/ui/locale/ko-KR";
|
|
10
10
|
|
|
11
|
-
|
|
11
|
+
// src/locales/ko-KR.ts
|
|
12
12
|
var ko_KR_default = Object.assign({}, univerjsdesign, univerjsdocsui, univerjsengineformula, univerjssheets, univerjssheetsformula, univerjssheetsformulaui, univerjssheetsnumfmtui, univerjssheetsui, univerjsui);
|
|
13
13
|
|
|
14
|
-
//#endregion
|
|
15
14
|
export { ko_KR_default as default };
|
package/lib/locales/pl-PL.js
CHANGED
|
@@ -8,8 +8,7 @@ import univerjssheetsnumfmtui from "@univerjs/sheets-numfmt-ui/locale/pl-PL";
|
|
|
8
8
|
import univerjssheetsui from "@univerjs/sheets-ui/locale/pl-PL";
|
|
9
9
|
import univerjsui from "@univerjs/ui/locale/pl-PL";
|
|
10
10
|
|
|
11
|
-
|
|
11
|
+
// src/locales/pl-PL.ts
|
|
12
12
|
var pl_PL_default = Object.assign({}, univerjsdesign, univerjsdocsui, univerjsengineformula, univerjssheets, univerjssheetsformula, univerjssheetsformulaui, univerjssheetsnumfmtui, univerjssheetsui, univerjsui);
|
|
13
13
|
|
|
14
|
-
//#endregion
|
|
15
14
|
export { pl_PL_default as default };
|
package/lib/locales/pt-BR.js
CHANGED
|
@@ -8,8 +8,7 @@ import univerjssheetsnumfmtui from "@univerjs/sheets-numfmt-ui/locale/pt-BR";
|
|
|
8
8
|
import univerjssheetsui from "@univerjs/sheets-ui/locale/pt-BR";
|
|
9
9
|
import univerjsui from "@univerjs/ui/locale/pt-BR";
|
|
10
10
|
|
|
11
|
-
|
|
11
|
+
// src/locales/pt-BR.ts
|
|
12
12
|
var pt_BR_default = Object.assign({}, univerjsdesign, univerjsdocsui, univerjsengineformula, univerjssheets, univerjssheetsformula, univerjssheetsformulaui, univerjssheetsnumfmtui, univerjssheetsui, univerjsui);
|
|
13
13
|
|
|
14
|
-
//#endregion
|
|
15
14
|
export { pt_BR_default as default };
|
package/lib/locales/ru-RU.js
CHANGED
|
@@ -8,8 +8,7 @@ import univerjssheetsnumfmtui from "@univerjs/sheets-numfmt-ui/locale/ru-RU";
|
|
|
8
8
|
import univerjssheetsui from "@univerjs/sheets-ui/locale/ru-RU";
|
|
9
9
|
import univerjsui from "@univerjs/ui/locale/ru-RU";
|
|
10
10
|
|
|
11
|
-
|
|
11
|
+
// src/locales/ru-RU.ts
|
|
12
12
|
var ru_RU_default = Object.assign({}, univerjsdesign, univerjsdocsui, univerjsengineformula, univerjssheets, univerjssheetsformula, univerjssheetsformulaui, univerjssheetsnumfmtui, univerjssheetsui, univerjsui);
|
|
13
13
|
|
|
14
|
-
//#endregion
|
|
15
14
|
export { ru_RU_default as default };
|
package/lib/locales/sk-SK.js
CHANGED
|
@@ -8,8 +8,7 @@ import univerjssheetsnumfmtui from "@univerjs/sheets-numfmt-ui/locale/sk-SK";
|
|
|
8
8
|
import univerjssheetsui from "@univerjs/sheets-ui/locale/sk-SK";
|
|
9
9
|
import univerjsui from "@univerjs/ui/locale/sk-SK";
|
|
10
10
|
|
|
11
|
-
|
|
11
|
+
// src/locales/sk-SK.ts
|
|
12
12
|
var sk_SK_default = Object.assign({}, univerjsdesign, univerjsdocsui, univerjsengineformula, univerjssheets, univerjssheetsformula, univerjssheetsformulaui, univerjssheetsnumfmtui, univerjssheetsui, univerjsui);
|
|
13
13
|
|
|
14
|
-
//#endregion
|
|
15
14
|
export { sk_SK_default as default };
|
package/lib/locales/vi-VN.js
CHANGED
|
@@ -8,8 +8,7 @@ import univerjssheetsnumfmtui from "@univerjs/sheets-numfmt-ui/locale/vi-VN";
|
|
|
8
8
|
import univerjssheetsui from "@univerjs/sheets-ui/locale/vi-VN";
|
|
9
9
|
import univerjsui from "@univerjs/ui/locale/vi-VN";
|
|
10
10
|
|
|
11
|
-
|
|
11
|
+
// src/locales/vi-VN.ts
|
|
12
12
|
var vi_VN_default = Object.assign({}, univerjsdesign, univerjsdocsui, univerjsengineformula, univerjssheets, univerjssheetsformula, univerjssheetsformulaui, univerjssheetsnumfmtui, univerjssheetsui, univerjsui);
|
|
13
13
|
|
|
14
|
-
//#endregion
|
|
15
14
|
export { vi_VN_default as default };
|
package/lib/locales/zh-CN.js
CHANGED
|
@@ -8,8 +8,7 @@ import univerjssheetsnumfmtui from "@univerjs/sheets-numfmt-ui/locale/zh-CN";
|
|
|
8
8
|
import univerjssheetsui from "@univerjs/sheets-ui/locale/zh-CN";
|
|
9
9
|
import univerjsui from "@univerjs/ui/locale/zh-CN";
|
|
10
10
|
|
|
11
|
-
|
|
11
|
+
// src/locales/zh-CN.ts
|
|
12
12
|
var zh_CN_default = Object.assign({}, univerjsdesign, univerjsdocsui, univerjsengineformula, univerjssheets, univerjssheetsformula, univerjssheetsformulaui, univerjssheetsnumfmtui, univerjssheetsui, univerjsui);
|
|
13
13
|
|
|
14
|
-
//#endregion
|
|
15
14
|
export { zh_CN_default as default };
|
package/lib/locales/zh-HK.js
CHANGED
|
@@ -8,8 +8,7 @@ import univerjssheetsnumfmtui from "@univerjs/sheets-numfmt-ui/locale/zh-HK";
|
|
|
8
8
|
import univerjssheetsui from "@univerjs/sheets-ui/locale/zh-HK";
|
|
9
9
|
import univerjsui from "@univerjs/ui/locale/zh-HK";
|
|
10
10
|
|
|
11
|
-
|
|
11
|
+
// src/locales/zh-HK.ts
|
|
12
12
|
var zh_HK_default = Object.assign({}, univerjsdesign, univerjsdocsui, univerjsengineformula, univerjssheets, univerjssheetsformula, univerjssheetsformulaui, univerjssheetsnumfmtui, univerjssheetsui, univerjsui);
|
|
13
13
|
|
|
14
|
-
//#endregion
|
|
15
14
|
export { zh_HK_default as default };
|
package/lib/locales/zh-TW.js
CHANGED
|
@@ -8,8 +8,7 @@ import univerjssheetsnumfmtui from "@univerjs/sheets-numfmt-ui/locale/zh-TW";
|
|
|
8
8
|
import univerjssheetsui from "@univerjs/sheets-ui/locale/zh-TW";
|
|
9
9
|
import univerjsui from "@univerjs/ui/locale/zh-TW";
|
|
10
10
|
|
|
11
|
-
|
|
11
|
+
// src/locales/zh-TW.ts
|
|
12
12
|
var zh_TW_default = Object.assign({}, univerjsdesign, univerjsdocsui, univerjsengineformula, univerjssheets, univerjssheetsformula, univerjssheetsformulaui, univerjssheetsnumfmtui, univerjssheetsui, univerjsui);
|
|
13
13
|
|
|
14
|
-
//#endregion
|
|
15
14
|
export { zh_TW_default as default };
|
package/lib/types/types.d.ts
CHANGED
|
@@ -25,5 +25,5 @@ export interface IUniverFormulaWorkerConfig extends Pick<IUniverEngineFormulaCon
|
|
|
25
25
|
}
|
|
26
26
|
export interface IUniverDocsPresetConfig extends IUniverDocsConfig {
|
|
27
27
|
}
|
|
28
|
-
export interface IUniverSheetsPresetConfig extends Pick<IUniverSheetsConfig, 'isRowStylePrecedeColumnStyle' | 'autoHeightForMergedCells' | 'freezeSync' | 'textLineGap'>, Pick<IUniverSheetsUIConfig, 'maxAutoHeightCount' | 'clipboardConfig' | 'scrollConfig' | 'protectedRangeShadow' | 'protectedRangeUserSelector' | 'disableForceStringAlert' | 'disableForceStringMark' | 'allowArrowKeyWrapOnSheetBoundary'> {
|
|
28
|
+
export interface IUniverSheetsPresetConfig extends Pick<IUniverSheetsConfig, 'isRowStylePrecedeColumnStyle' | 'autoHeightForMergedCells' | 'freezeSync' | 'textLineGap'>, Pick<IUniverSheetsUIConfig, 'maxAutoHeightCount' | 'enableFillHandle' | 'clipboardConfig' | 'warnBeforeDragOverwrite' | 'scrollConfig' | 'protectedRangeShadow' | 'protectedRangeUserSelector' | 'disableForceStringAlert' | 'disableForceStringMark' | 'allowArrowKeyWrapOnSheetBoundary' | 'selectionAnimation'> {
|
|
29
29
|
}
|
package/lib/worker.js
CHANGED
|
@@ -1,9 +1,9 @@
|
|
|
1
|
-
import { UniverFormulaEnginePlugin } from "@univerjs/engine-formula";
|
|
2
|
-
import { UniverRPCWorkerThreadPlugin } from "@univerjs/rpc";
|
|
3
|
-
import {
|
|
4
|
-
import {
|
|
1
|
+
import { UniverFormulaEnginePlugin } from "@univerjs/engine-formula/worker";
|
|
2
|
+
import { UniverRPCWorkerThreadPlugin } from "@univerjs/rpc/worker";
|
|
3
|
+
import { UniverRemoteSheetsFormulaPlugin } from "@univerjs/sheets-formula/worker";
|
|
4
|
+
import { UniverSheetsPlugin } from "@univerjs/sheets/worker";
|
|
5
5
|
|
|
6
|
-
|
|
6
|
+
// src/worker.ts
|
|
7
7
|
function UniverSheetsCoreWorkerPreset(config = {}) {
|
|
8
8
|
const { formula } = config;
|
|
9
9
|
return { plugins: [
|
|
@@ -14,5 +14,4 @@ function UniverSheetsCoreWorkerPreset(config = {}) {
|
|
|
14
14
|
] };
|
|
15
15
|
}
|
|
16
16
|
|
|
17
|
-
//#endregion
|
|
18
17
|
export { UniverSheetsCoreWorkerPreset };
|
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@univerjs/preset-sheets-core",
|
|
3
|
-
"version": "1.
|
|
3
|
+
"version": "1.5.0",
|
|
4
4
|
"private": false,
|
|
5
5
|
"description": "Preset for core Univer Sheets spreadsheet features.",
|
|
6
6
|
"author": "DreamNum Co., Ltd. <developer@univer.ai>",
|
|
@@ -61,35 +61,35 @@
|
|
|
61
61
|
"rxjs": ">=7.0.0"
|
|
62
62
|
},
|
|
63
63
|
"dependencies": {
|
|
64
|
-
"@univerjs/design": "1.
|
|
65
|
-
"@univerjs/docs": "1.
|
|
66
|
-
"@univerjs/docs-ui": "1.
|
|
67
|
-
"@univerjs/engine-formula": "1.
|
|
68
|
-
"@univerjs/engine-render": "1.
|
|
69
|
-
"@univerjs/network": "1.
|
|
70
|
-
"@univerjs/rpc": "1.
|
|
71
|
-
"@univerjs/sheets": "1.
|
|
72
|
-
"@univerjs/sheets-formula": "1.
|
|
73
|
-
"@univerjs/sheets-formula-ui": "1.
|
|
74
|
-
"@univerjs/sheets-numfmt": "1.
|
|
75
|
-
"@univerjs/sheets-numfmt-ui": "1.
|
|
76
|
-
"@univerjs/sheets-ui": "1.
|
|
77
|
-
"@univerjs/ui": "1.
|
|
64
|
+
"@univerjs/design": "1.5.0",
|
|
65
|
+
"@univerjs/docs": "1.5.0",
|
|
66
|
+
"@univerjs/docs-ui": "1.5.0",
|
|
67
|
+
"@univerjs/engine-formula": "1.5.0",
|
|
68
|
+
"@univerjs/engine-render": "1.5.0",
|
|
69
|
+
"@univerjs/network": "1.5.0",
|
|
70
|
+
"@univerjs/rpc": "1.5.0",
|
|
71
|
+
"@univerjs/sheets": "1.5.0",
|
|
72
|
+
"@univerjs/sheets-formula": "1.5.0",
|
|
73
|
+
"@univerjs/sheets-formula-ui": "1.5.0",
|
|
74
|
+
"@univerjs/sheets-numfmt": "1.5.0",
|
|
75
|
+
"@univerjs/sheets-numfmt-ui": "1.5.0",
|
|
76
|
+
"@univerjs/sheets-ui": "1.5.0",
|
|
77
|
+
"@univerjs/ui": "1.5.0"
|
|
78
78
|
},
|
|
79
79
|
"devDependencies": {
|
|
80
|
-
"@univerjs-infra/shared": "1.
|
|
81
|
-
"@univerjs/core": "1.
|
|
82
|
-
"@univerjs/presets": "1.
|
|
80
|
+
"@univerjs-infra/shared": "1.5.0",
|
|
81
|
+
"@univerjs/core": "1.5.0",
|
|
82
|
+
"@univerjs/presets": "1.5.0",
|
|
83
83
|
"react": "18.3.1",
|
|
84
84
|
"react-dom": "18.3.1",
|
|
85
85
|
"rxjs": "7.8.2",
|
|
86
|
-
"
|
|
86
|
+
"tsrs": "0.23.0-ts7.1.0-beta"
|
|
87
87
|
},
|
|
88
88
|
"scripts": {
|
|
89
89
|
"build:bundle": "univer-cli preset build --cleanup",
|
|
90
|
-
"build:types": "
|
|
90
|
+
"build:types": "tsrs -p tsconfig.node.json",
|
|
91
91
|
"build": "pnpm run build:bundle && pnpm run build:types",
|
|
92
|
-
"typecheck": "
|
|
92
|
+
"typecheck": "tsrs --noEmit"
|
|
93
93
|
},
|
|
94
94
|
"module": "./lib/es/index.js"
|
|
95
95
|
}
|