@univerjs/preset-sheets-core 0.25.1 → 1.0.0-alpha.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.
Files changed (112) hide show
  1. package/README.md +3 -3
  2. package/lib/cjs/index.js +184 -1
  3. package/lib/cjs/locales/ar-SA.js +23 -1
  4. package/lib/cjs/locales/ca-ES.js +23 -1
  5. package/lib/cjs/locales/de-DE.js +23 -1
  6. package/lib/cjs/locales/en-US.js +23 -1
  7. package/lib/cjs/locales/es-ES.js +23 -1
  8. package/lib/cjs/locales/fa-IR.js +23 -1
  9. package/lib/cjs/locales/fr-FR.js +23 -1
  10. package/lib/cjs/locales/id-ID.js +23 -1
  11. package/lib/cjs/locales/it-IT.js +23 -1
  12. package/lib/cjs/locales/ja-JP.js +23 -1
  13. package/lib/cjs/locales/ko-KR.js +23 -1
  14. package/lib/cjs/locales/pl-PL.js +23 -1
  15. package/lib/cjs/locales/pt-BR.js +23 -1
  16. package/lib/cjs/locales/ru-RU.js +23 -1
  17. package/lib/cjs/locales/sk-SK.js +23 -1
  18. package/lib/cjs/locales/vi-VN.js +23 -1
  19. package/lib/cjs/locales/zh-CN.js +23 -1
  20. package/lib/cjs/locales/zh-HK.js +23 -1
  21. package/lib/cjs/locales/zh-TW.js +23 -1
  22. package/lib/cjs/rolldown-runtime-C_NdSu1c.js +34 -0
  23. package/lib/cjs/worker.js +19 -1
  24. package/lib/es/index.js +112 -115
  25. package/lib/es/locales/ar-SA.js +14 -22
  26. package/lib/es/locales/ca-ES.js +14 -22
  27. package/lib/es/locales/de-DE.js +14 -22
  28. package/lib/es/locales/en-US.js +14 -22
  29. package/lib/es/locales/es-ES.js +14 -22
  30. package/lib/es/locales/fa-IR.js +14 -22
  31. package/lib/es/locales/fr-FR.js +14 -22
  32. package/lib/es/locales/id-ID.js +14 -22
  33. package/lib/es/locales/it-IT.js +14 -22
  34. package/lib/es/locales/ja-JP.js +14 -22
  35. package/lib/es/locales/ko-KR.js +14 -22
  36. package/lib/es/locales/pl-PL.js +14 -22
  37. package/lib/es/locales/pt-BR.js +14 -22
  38. package/lib/es/locales/ru-RU.js +14 -22
  39. package/lib/es/locales/sk-SK.js +14 -22
  40. package/lib/es/locales/vi-VN.js +14 -22
  41. package/lib/es/locales/zh-CN.js +14 -22
  42. package/lib/es/locales/zh-HK.js +14 -22
  43. package/lib/es/locales/zh-TW.js +14 -22
  44. package/lib/es/worker.js +17 -19
  45. package/lib/index.css +7177 -1
  46. package/lib/index.js +112 -115
  47. package/lib/locales/ar-SA.js +14 -22
  48. package/lib/locales/ca-ES.js +14 -22
  49. package/lib/locales/de-DE.js +14 -22
  50. package/lib/locales/en-US.js +14 -22
  51. package/lib/locales/es-ES.js +14 -22
  52. package/lib/locales/fa-IR.js +14 -22
  53. package/lib/locales/fr-FR.js +14 -22
  54. package/lib/locales/id-ID.js +14 -22
  55. package/lib/locales/it-IT.js +14 -22
  56. package/lib/locales/ja-JP.js +14 -22
  57. package/lib/locales/ko-KR.js +14 -22
  58. package/lib/locales/pl-PL.js +14 -22
  59. package/lib/locales/pt-BR.js +14 -22
  60. package/lib/locales/ru-RU.js +14 -22
  61. package/lib/locales/sk-SK.js +14 -22
  62. package/lib/locales/vi-VN.js +14 -22
  63. package/lib/locales/zh-CN.js +14 -22
  64. package/lib/locales/zh-HK.js +14 -22
  65. package/lib/locales/zh-TW.js +14 -22
  66. package/lib/types/index.d.ts +16 -1
  67. package/lib/types/locales/ar-SA.d.ts +1 -3
  68. package/lib/types/locales/ca-ES.d.ts +1 -3
  69. package/lib/types/locales/de-DE.d.ts +1 -3
  70. package/lib/types/locales/en-US.d.ts +1 -3
  71. package/lib/types/locales/es-ES.d.ts +1 -3
  72. package/lib/types/locales/fa-IR.d.ts +1 -3
  73. package/lib/types/locales/fr-FR.d.ts +1 -3
  74. package/lib/types/locales/id-ID.d.ts +1 -3
  75. package/lib/types/locales/it-IT.d.ts +1 -3
  76. package/lib/types/locales/ja-JP.d.ts +1 -3
  77. package/lib/types/locales/ko-KR.d.ts +1 -3
  78. package/lib/types/locales/pl-PL.d.ts +1 -3
  79. package/lib/types/locales/pt-BR.d.ts +1 -3
  80. package/lib/types/locales/ru-RU.d.ts +1 -3
  81. package/lib/types/locales/sk-SK.d.ts +1 -3
  82. package/lib/types/locales/vi-VN.d.ts +1 -3
  83. package/lib/types/locales/zh-CN.d.ts +1 -3
  84. package/lib/types/locales/zh-HK.d.ts +1 -3
  85. package/lib/types/locales/zh-TW.d.ts +1 -3
  86. package/lib/types/preset.d.ts +61 -0
  87. package/lib/types/types.d.ts +19 -15
  88. package/lib/types/worker.d.ts +17 -1
  89. package/lib/worker.js +17 -19
  90. package/package.json +26 -28
  91. package/lib/types/umd.d.ts +0 -51
  92. package/lib/umd/index.js +0 -426
  93. package/lib/umd/locales/ar-SA.js +0 -69
  94. package/lib/umd/locales/ca-ES.js +0 -64
  95. package/lib/umd/locales/de-DE.js +0 -69
  96. package/lib/umd/locales/en-US.js +0 -69
  97. package/lib/umd/locales/es-ES.js +0 -64
  98. package/lib/umd/locales/fa-IR.js +0 -69
  99. package/lib/umd/locales/fr-FR.js +0 -69
  100. package/lib/umd/locales/id-ID.js +0 -69
  101. package/lib/umd/locales/it-IT.js +0 -69
  102. package/lib/umd/locales/ja-JP.js +0 -68
  103. package/lib/umd/locales/ko-KR.js +0 -62
  104. package/lib/umd/locales/pl-PL.js +0 -69
  105. package/lib/umd/locales/pt-BR.js +0 -69
  106. package/lib/umd/locales/ru-RU.js +0 -56
  107. package/lib/umd/locales/sk-SK.js +0 -64
  108. package/lib/umd/locales/vi-VN.js +0 -68
  109. package/lib/umd/locales/zh-CN.js +0 -69
  110. package/lib/umd/locales/zh-HK.js +0 -69
  111. package/lib/umd/locales/zh-TW.js +0 -69
  112. package/lib/umd/worker.js +0 -1
@@ -1,22 +1,14 @@
1
- import { mergeLocales as r } from "@univerjs/core";
2
- import e from "@univerjs/design/locale/fa-IR";
3
- import o from "@univerjs/docs-ui/locale/fa-IR";
4
- import i from "@univerjs/sheets/locale/fa-IR";
5
- import m from "@univerjs/sheets-formula/locale/fa-IR";
6
- import s from "@univerjs/sheets-formula-ui/locale/fa-IR";
7
- import t from "@univerjs/sheets-numfmt-ui/locale/fa-IR";
8
- import u from "@univerjs/sheets-ui/locale/fa-IR";
9
- import f from "@univerjs/ui/locale/fa-IR";
10
- const g = r(
11
- e,
12
- o,
13
- i,
14
- m,
15
- s,
16
- t,
17
- u,
18
- f
19
- );
20
- export {
21
- g as default
22
- };
1
+ import univerjsdesign from "@univerjs/design/locale/fa-IR";
2
+ import univerjsdocsui from "@univerjs/docs-ui/locale/fa-IR";
3
+ import univerjssheets from "@univerjs/sheets/locale/fa-IR";
4
+ import univerjssheetsformula from "@univerjs/sheets-formula/locale/fa-IR";
5
+ import univerjssheetsformulaui from "@univerjs/sheets-formula-ui/locale/fa-IR";
6
+ import univerjssheetsnumfmtui from "@univerjs/sheets-numfmt-ui/locale/fa-IR";
7
+ import univerjssheetsui from "@univerjs/sheets-ui/locale/fa-IR";
8
+ import univerjsui from "@univerjs/ui/locale/fa-IR";
9
+
10
+ //#region src/locales/fa-IR.ts
11
+ var fa_IR_default = Object.assign({}, univerjsdesign, univerjsdocsui, univerjssheets, univerjssheetsformula, univerjssheetsformulaui, univerjssheetsnumfmtui, univerjssheetsui, univerjsui);
12
+
13
+ //#endregion
14
+ export { fa_IR_default as default };
@@ -1,22 +1,14 @@
1
- import { mergeLocales as r } from "@univerjs/core";
2
- import e from "@univerjs/design/locale/fr-FR";
3
- import o from "@univerjs/docs-ui/locale/fr-FR";
4
- import i from "@univerjs/sheets/locale/fr-FR";
5
- import m from "@univerjs/sheets-formula/locale/fr-FR";
6
- import s from "@univerjs/sheets-formula-ui/locale/fr-FR";
7
- import t from "@univerjs/sheets-numfmt-ui/locale/fr-FR";
8
- import u from "@univerjs/sheets-ui/locale/fr-FR";
9
- import f from "@univerjs/ui/locale/fr-FR";
10
- const g = r(
11
- e,
12
- o,
13
- i,
14
- m,
15
- s,
16
- t,
17
- u,
18
- f
19
- );
20
- export {
21
- g as default
22
- };
1
+ import univerjsdesign from "@univerjs/design/locale/fr-FR";
2
+ import univerjsdocsui from "@univerjs/docs-ui/locale/fr-FR";
3
+ import univerjssheets from "@univerjs/sheets/locale/fr-FR";
4
+ import univerjssheetsformula from "@univerjs/sheets-formula/locale/fr-FR";
5
+ import univerjssheetsformulaui from "@univerjs/sheets-formula-ui/locale/fr-FR";
6
+ import univerjssheetsnumfmtui from "@univerjs/sheets-numfmt-ui/locale/fr-FR";
7
+ import univerjssheetsui from "@univerjs/sheets-ui/locale/fr-FR";
8
+ import univerjsui from "@univerjs/ui/locale/fr-FR";
9
+
10
+ //#region src/locales/fr-FR.ts
11
+ var fr_FR_default = Object.assign({}, univerjsdesign, univerjsdocsui, univerjssheets, univerjssheetsformula, univerjssheetsformulaui, univerjssheetsnumfmtui, univerjssheetsui, univerjsui);
12
+
13
+ //#endregion
14
+ export { fr_FR_default as default };
@@ -1,22 +1,14 @@
1
- import { mergeLocales as r } from "@univerjs/core";
2
- import e from "@univerjs/design/locale/id-ID";
3
- import i from "@univerjs/docs-ui/locale/id-ID";
4
- import o from "@univerjs/sheets/locale/id-ID";
5
- import m from "@univerjs/sheets-formula/locale/id-ID";
6
- import s from "@univerjs/sheets-formula-ui/locale/id-ID";
7
- import t from "@univerjs/sheets-numfmt-ui/locale/id-ID";
8
- import u from "@univerjs/sheets-ui/locale/id-ID";
9
- import f from "@univerjs/ui/locale/id-ID";
10
- const g = r(
11
- e,
12
- i,
13
- o,
14
- m,
15
- s,
16
- t,
17
- u,
18
- f
19
- );
20
- export {
21
- g as default
22
- };
1
+ import univerjsdesign from "@univerjs/design/locale/id-ID";
2
+ import univerjsdocsui from "@univerjs/docs-ui/locale/id-ID";
3
+ import univerjssheets from "@univerjs/sheets/locale/id-ID";
4
+ import univerjssheetsformula from "@univerjs/sheets-formula/locale/id-ID";
5
+ import univerjssheetsformulaui from "@univerjs/sheets-formula-ui/locale/id-ID";
6
+ import univerjssheetsnumfmtui from "@univerjs/sheets-numfmt-ui/locale/id-ID";
7
+ import univerjssheetsui from "@univerjs/sheets-ui/locale/id-ID";
8
+ import univerjsui from "@univerjs/ui/locale/id-ID";
9
+
10
+ //#region src/locales/id-ID.ts
11
+ var id_ID_default = Object.assign({}, univerjsdesign, univerjsdocsui, univerjssheets, univerjssheetsformula, univerjssheetsformulaui, univerjssheetsnumfmtui, univerjssheetsui, univerjsui);
12
+
13
+ //#endregion
14
+ export { id_ID_default as default };
@@ -1,22 +1,14 @@
1
- import { mergeLocales as r } from "@univerjs/core";
2
- import e from "@univerjs/design/locale/it-IT";
3
- import i from "@univerjs/docs-ui/locale/it-IT";
4
- import o from "@univerjs/sheets/locale/it-IT";
5
- import m from "@univerjs/sheets-formula/locale/it-IT";
6
- import s from "@univerjs/sheets-formula-ui/locale/it-IT";
7
- import t from "@univerjs/sheets-numfmt-ui/locale/it-IT";
8
- import u from "@univerjs/sheets-ui/locale/it-IT";
9
- import f from "@univerjs/ui/locale/it-IT";
10
- const g = r(
11
- e,
12
- i,
13
- o,
14
- m,
15
- s,
16
- t,
17
- u,
18
- f
19
- );
20
- export {
21
- g as default
22
- };
1
+ import univerjsdesign from "@univerjs/design/locale/it-IT";
2
+ import univerjsdocsui from "@univerjs/docs-ui/locale/it-IT";
3
+ import univerjssheets from "@univerjs/sheets/locale/it-IT";
4
+ import univerjssheetsformula from "@univerjs/sheets-formula/locale/it-IT";
5
+ import univerjssheetsformulaui from "@univerjs/sheets-formula-ui/locale/it-IT";
6
+ import univerjssheetsnumfmtui from "@univerjs/sheets-numfmt-ui/locale/it-IT";
7
+ import univerjssheetsui from "@univerjs/sheets-ui/locale/it-IT";
8
+ import univerjsui from "@univerjs/ui/locale/it-IT";
9
+
10
+ //#region src/locales/it-IT.ts
11
+ var it_IT_default = Object.assign({}, univerjsdesign, univerjsdocsui, univerjssheets, univerjssheetsformula, univerjssheetsformulaui, univerjssheetsnumfmtui, univerjssheetsui, univerjsui);
12
+
13
+ //#endregion
14
+ export { it_IT_default as default };
@@ -1,22 +1,14 @@
1
- import { mergeLocales as r } from "@univerjs/core";
2
- import e from "@univerjs/design/locale/ja-JP";
3
- import o from "@univerjs/docs-ui/locale/ja-JP";
4
- import i from "@univerjs/sheets/locale/ja-JP";
5
- import m from "@univerjs/sheets-formula/locale/ja-JP";
6
- import s from "@univerjs/sheets-formula-ui/locale/ja-JP";
7
- import t from "@univerjs/sheets-numfmt-ui/locale/ja-JP";
8
- import u from "@univerjs/sheets-ui/locale/ja-JP";
9
- import f from "@univerjs/ui/locale/ja-JP";
10
- const g = r(
11
- e,
12
- o,
13
- i,
14
- m,
15
- s,
16
- t,
17
- u,
18
- f
19
- );
20
- export {
21
- g as default
22
- };
1
+ import univerjsdesign from "@univerjs/design/locale/ja-JP";
2
+ import univerjsdocsui from "@univerjs/docs-ui/locale/ja-JP";
3
+ import univerjssheets from "@univerjs/sheets/locale/ja-JP";
4
+ import univerjssheetsformula from "@univerjs/sheets-formula/locale/ja-JP";
5
+ import univerjssheetsformulaui from "@univerjs/sheets-formula-ui/locale/ja-JP";
6
+ import univerjssheetsnumfmtui from "@univerjs/sheets-numfmt-ui/locale/ja-JP";
7
+ import univerjssheetsui from "@univerjs/sheets-ui/locale/ja-JP";
8
+ import univerjsui from "@univerjs/ui/locale/ja-JP";
9
+
10
+ //#region src/locales/ja-JP.ts
11
+ var ja_JP_default = Object.assign({}, univerjsdesign, univerjsdocsui, univerjssheets, univerjssheetsformula, univerjssheetsformulaui, univerjssheetsnumfmtui, univerjssheetsui, univerjsui);
12
+
13
+ //#endregion
14
+ export { ja_JP_default as default };
@@ -1,22 +1,14 @@
1
- import { mergeLocales as r } from "@univerjs/core";
2
- import o from "@univerjs/design/locale/ko-KR";
3
- import e from "@univerjs/docs-ui/locale/ko-KR";
4
- import i from "@univerjs/sheets/locale/ko-KR";
5
- import m from "@univerjs/sheets-formula/locale/ko-KR";
6
- import s from "@univerjs/sheets-formula-ui/locale/ko-KR";
7
- import t from "@univerjs/sheets-numfmt-ui/locale/ko-KR";
8
- import u from "@univerjs/sheets-ui/locale/ko-KR";
9
- import f from "@univerjs/ui/locale/ko-KR";
10
- const g = r(
11
- o,
12
- e,
13
- i,
14
- m,
15
- s,
16
- t,
17
- u,
18
- f
19
- );
20
- export {
21
- g as default
22
- };
1
+ import univerjsdesign from "@univerjs/design/locale/ko-KR";
2
+ import univerjsdocsui from "@univerjs/docs-ui/locale/ko-KR";
3
+ import univerjssheets from "@univerjs/sheets/locale/ko-KR";
4
+ import univerjssheetsformula from "@univerjs/sheets-formula/locale/ko-KR";
5
+ import univerjssheetsformulaui from "@univerjs/sheets-formula-ui/locale/ko-KR";
6
+ import univerjssheetsnumfmtui from "@univerjs/sheets-numfmt-ui/locale/ko-KR";
7
+ import univerjssheetsui from "@univerjs/sheets-ui/locale/ko-KR";
8
+ import univerjsui from "@univerjs/ui/locale/ko-KR";
9
+
10
+ //#region src/locales/ko-KR.ts
11
+ var ko_KR_default = Object.assign({}, univerjsdesign, univerjsdocsui, univerjssheets, univerjssheetsformula, univerjssheetsformulaui, univerjssheetsnumfmtui, univerjssheetsui, univerjsui);
12
+
13
+ //#endregion
14
+ export { ko_KR_default as default };
@@ -1,22 +1,14 @@
1
- import { mergeLocales as r } from "@univerjs/core";
2
- import e from "@univerjs/design/locale/pl-PL";
3
- import o from "@univerjs/docs-ui/locale/pl-PL";
4
- import i from "@univerjs/sheets/locale/pl-PL";
5
- import m from "@univerjs/sheets-formula/locale/pl-PL";
6
- import s from "@univerjs/sheets-formula-ui/locale/pl-PL";
7
- import t from "@univerjs/sheets-numfmt-ui/locale/pl-PL";
8
- import u from "@univerjs/sheets-ui/locale/pl-PL";
9
- import f from "@univerjs/ui/locale/pl-PL";
10
- const g = r(
11
- e,
12
- o,
13
- i,
14
- m,
15
- s,
16
- t,
17
- u,
18
- f
19
- );
20
- export {
21
- g as default
22
- };
1
+ import univerjsdesign from "@univerjs/design/locale/pl-PL";
2
+ import univerjsdocsui from "@univerjs/docs-ui/locale/pl-PL";
3
+ import univerjssheets from "@univerjs/sheets/locale/pl-PL";
4
+ import univerjssheetsformula from "@univerjs/sheets-formula/locale/pl-PL";
5
+ import univerjssheetsformulaui from "@univerjs/sheets-formula-ui/locale/pl-PL";
6
+ import univerjssheetsnumfmtui from "@univerjs/sheets-numfmt-ui/locale/pl-PL";
7
+ import univerjssheetsui from "@univerjs/sheets-ui/locale/pl-PL";
8
+ import univerjsui from "@univerjs/ui/locale/pl-PL";
9
+
10
+ //#region src/locales/pl-PL.ts
11
+ var pl_PL_default = Object.assign({}, univerjsdesign, univerjsdocsui, univerjssheets, univerjssheetsformula, univerjssheetsformulaui, univerjssheetsnumfmtui, univerjssheetsui, univerjsui);
12
+
13
+ //#endregion
14
+ export { pl_PL_default as default };
@@ -1,22 +1,14 @@
1
- import { mergeLocales as r } from "@univerjs/core";
2
- import e from "@univerjs/design/locale/pt-BR";
3
- import o from "@univerjs/docs-ui/locale/pt-BR";
4
- import i from "@univerjs/sheets/locale/pt-BR";
5
- import m from "@univerjs/sheets-formula/locale/pt-BR";
6
- import s from "@univerjs/sheets-formula-ui/locale/pt-BR";
7
- import t from "@univerjs/sheets-numfmt-ui/locale/pt-BR";
8
- import u from "@univerjs/sheets-ui/locale/pt-BR";
9
- import f from "@univerjs/ui/locale/pt-BR";
10
- const g = r(
11
- e,
12
- o,
13
- i,
14
- m,
15
- s,
16
- t,
17
- u,
18
- f
19
- );
20
- export {
21
- g as default
22
- };
1
+ import univerjsdesign from "@univerjs/design/locale/pt-BR";
2
+ import univerjsdocsui from "@univerjs/docs-ui/locale/pt-BR";
3
+ import univerjssheets from "@univerjs/sheets/locale/pt-BR";
4
+ import univerjssheetsformula from "@univerjs/sheets-formula/locale/pt-BR";
5
+ import univerjssheetsformulaui from "@univerjs/sheets-formula-ui/locale/pt-BR";
6
+ import univerjssheetsnumfmtui from "@univerjs/sheets-numfmt-ui/locale/pt-BR";
7
+ import univerjssheetsui from "@univerjs/sheets-ui/locale/pt-BR";
8
+ import univerjsui from "@univerjs/ui/locale/pt-BR";
9
+
10
+ //#region src/locales/pt-BR.ts
11
+ var pt_BR_default = Object.assign({}, univerjsdesign, univerjsdocsui, univerjssheets, univerjssheetsformula, univerjssheetsformulaui, univerjssheetsnumfmtui, univerjssheetsui, univerjsui);
12
+
13
+ //#endregion
14
+ export { pt_BR_default as default };
@@ -1,22 +1,14 @@
1
- import { mergeLocales as r } from "@univerjs/core";
2
- import e from "@univerjs/design/locale/ru-RU";
3
- import o from "@univerjs/docs-ui/locale/ru-RU";
4
- import i from "@univerjs/sheets/locale/ru-RU";
5
- import m from "@univerjs/sheets-formula/locale/ru-RU";
6
- import s from "@univerjs/sheets-formula-ui/locale/ru-RU";
7
- import t from "@univerjs/sheets-numfmt-ui/locale/ru-RU";
8
- import u from "@univerjs/sheets-ui/locale/ru-RU";
9
- import f from "@univerjs/ui/locale/ru-RU";
10
- const g = r(
11
- e,
12
- o,
13
- i,
14
- m,
15
- s,
16
- t,
17
- u,
18
- f
19
- );
20
- export {
21
- g as default
22
- };
1
+ import univerjsdesign from "@univerjs/design/locale/ru-RU";
2
+ import univerjsdocsui from "@univerjs/docs-ui/locale/ru-RU";
3
+ import univerjssheets from "@univerjs/sheets/locale/ru-RU";
4
+ import univerjssheetsformula from "@univerjs/sheets-formula/locale/ru-RU";
5
+ import univerjssheetsformulaui from "@univerjs/sheets-formula-ui/locale/ru-RU";
6
+ import univerjssheetsnumfmtui from "@univerjs/sheets-numfmt-ui/locale/ru-RU";
7
+ import univerjssheetsui from "@univerjs/sheets-ui/locale/ru-RU";
8
+ import univerjsui from "@univerjs/ui/locale/ru-RU";
9
+
10
+ //#region src/locales/ru-RU.ts
11
+ var ru_RU_default = Object.assign({}, univerjsdesign, univerjsdocsui, univerjssheets, univerjssheetsformula, univerjssheetsformulaui, univerjssheetsnumfmtui, univerjssheetsui, univerjsui);
12
+
13
+ //#endregion
14
+ export { ru_RU_default as default };
@@ -1,22 +1,14 @@
1
- import { mergeLocales as r } from "@univerjs/core";
2
- import e from "@univerjs/design/locale/sk-SK";
3
- import o from "@univerjs/docs-ui/locale/sk-SK";
4
- import s from "@univerjs/sheets/locale/sk-SK";
5
- import i from "@univerjs/sheets-formula/locale/sk-SK";
6
- import m from "@univerjs/sheets-formula-ui/locale/sk-SK";
7
- import t from "@univerjs/sheets-numfmt-ui/locale/sk-SK";
8
- import u from "@univerjs/sheets-ui/locale/sk-SK";
9
- import f from "@univerjs/ui/locale/sk-SK";
10
- const g = r(
11
- e,
12
- o,
13
- s,
14
- i,
15
- m,
16
- t,
17
- u,
18
- f
19
- );
20
- export {
21
- g as default
22
- };
1
+ import univerjsdesign from "@univerjs/design/locale/sk-SK";
2
+ import univerjsdocsui from "@univerjs/docs-ui/locale/sk-SK";
3
+ import univerjssheets from "@univerjs/sheets/locale/sk-SK";
4
+ import univerjssheetsformula from "@univerjs/sheets-formula/locale/sk-SK";
5
+ import univerjssheetsformulaui from "@univerjs/sheets-formula-ui/locale/sk-SK";
6
+ import univerjssheetsnumfmtui from "@univerjs/sheets-numfmt-ui/locale/sk-SK";
7
+ import univerjssheetsui from "@univerjs/sheets-ui/locale/sk-SK";
8
+ import univerjsui from "@univerjs/ui/locale/sk-SK";
9
+
10
+ //#region src/locales/sk-SK.ts
11
+ var sk_SK_default = Object.assign({}, univerjsdesign, univerjsdocsui, univerjssheets, univerjssheetsformula, univerjssheetsformulaui, univerjssheetsnumfmtui, univerjssheetsui, univerjsui);
12
+
13
+ //#endregion
14
+ export { sk_SK_default as default };
@@ -1,22 +1,14 @@
1
- import { mergeLocales as r } from "@univerjs/core";
2
- import e from "@univerjs/design/locale/vi-VN";
3
- import i from "@univerjs/docs-ui/locale/vi-VN";
4
- import o from "@univerjs/sheets/locale/vi-VN";
5
- import m from "@univerjs/sheets-formula/locale/vi-VN";
6
- import s from "@univerjs/sheets-formula-ui/locale/vi-VN";
7
- import t from "@univerjs/sheets-numfmt-ui/locale/vi-VN";
8
- import u from "@univerjs/sheets-ui/locale/vi-VN";
9
- import f from "@univerjs/ui/locale/vi-VN";
10
- const g = r(
11
- e,
12
- i,
13
- o,
14
- m,
15
- s,
16
- t,
17
- u,
18
- f
19
- );
20
- export {
21
- g as default
22
- };
1
+ import univerjsdesign from "@univerjs/design/locale/vi-VN";
2
+ import univerjsdocsui from "@univerjs/docs-ui/locale/vi-VN";
3
+ import univerjssheets from "@univerjs/sheets/locale/vi-VN";
4
+ import univerjssheetsformula from "@univerjs/sheets-formula/locale/vi-VN";
5
+ import univerjssheetsformulaui from "@univerjs/sheets-formula-ui/locale/vi-VN";
6
+ import univerjssheetsnumfmtui from "@univerjs/sheets-numfmt-ui/locale/vi-VN";
7
+ import univerjssheetsui from "@univerjs/sheets-ui/locale/vi-VN";
8
+ import univerjsui from "@univerjs/ui/locale/vi-VN";
9
+
10
+ //#region src/locales/vi-VN.ts
11
+ var vi_VN_default = Object.assign({}, univerjsdesign, univerjsdocsui, univerjssheets, univerjssheetsformula, univerjssheetsformulaui, univerjssheetsnumfmtui, univerjssheetsui, univerjsui);
12
+
13
+ //#endregion
14
+ export { vi_VN_default as default };
@@ -1,22 +1,14 @@
1
- import { mergeLocales as r } from "@univerjs/core";
2
- import e from "@univerjs/design/locale/zh-CN";
3
- import o from "@univerjs/docs-ui/locale/zh-CN";
4
- import i from "@univerjs/sheets/locale/zh-CN";
5
- import m from "@univerjs/sheets-formula/locale/zh-CN";
6
- import s from "@univerjs/sheets-formula-ui/locale/zh-CN";
7
- import t from "@univerjs/sheets-numfmt-ui/locale/zh-CN";
8
- import u from "@univerjs/sheets-ui/locale/zh-CN";
9
- import f from "@univerjs/ui/locale/zh-CN";
10
- const g = r(
11
- e,
12
- o,
13
- i,
14
- m,
15
- s,
16
- t,
17
- u,
18
- f
19
- );
20
- export {
21
- g as default
22
- };
1
+ import univerjsdesign from "@univerjs/design/locale/zh-CN";
2
+ import univerjsdocsui from "@univerjs/docs-ui/locale/zh-CN";
3
+ import univerjssheets from "@univerjs/sheets/locale/zh-CN";
4
+ import univerjssheetsformula from "@univerjs/sheets-formula/locale/zh-CN";
5
+ import univerjssheetsformulaui from "@univerjs/sheets-formula-ui/locale/zh-CN";
6
+ import univerjssheetsnumfmtui from "@univerjs/sheets-numfmt-ui/locale/zh-CN";
7
+ import univerjssheetsui from "@univerjs/sheets-ui/locale/zh-CN";
8
+ import univerjsui from "@univerjs/ui/locale/zh-CN";
9
+
10
+ //#region src/locales/zh-CN.ts
11
+ var zh_CN_default = Object.assign({}, univerjsdesign, univerjsdocsui, univerjssheets, univerjssheetsformula, univerjssheetsformulaui, univerjssheetsnumfmtui, univerjssheetsui, univerjsui);
12
+
13
+ //#endregion
14
+ export { zh_CN_default as default };
@@ -1,22 +1,14 @@
1
- import { mergeLocales as r } from "@univerjs/core";
2
- import e from "@univerjs/design/locale/zh-HK";
3
- import o from "@univerjs/docs-ui/locale/zh-HK";
4
- import i from "@univerjs/sheets/locale/zh-HK";
5
- import m from "@univerjs/sheets-formula/locale/zh-HK";
6
- import s from "@univerjs/sheets-formula-ui/locale/zh-HK";
7
- import t from "@univerjs/sheets-numfmt-ui/locale/zh-HK";
8
- import u from "@univerjs/sheets-ui/locale/zh-HK";
9
- import f from "@univerjs/ui/locale/zh-HK";
10
- const g = r(
11
- e,
12
- o,
13
- i,
14
- m,
15
- s,
16
- t,
17
- u,
18
- f
19
- );
20
- export {
21
- g as default
22
- };
1
+ import univerjsdesign from "@univerjs/design/locale/zh-HK";
2
+ import univerjsdocsui from "@univerjs/docs-ui/locale/zh-HK";
3
+ import univerjssheets from "@univerjs/sheets/locale/zh-HK";
4
+ import univerjssheetsformula from "@univerjs/sheets-formula/locale/zh-HK";
5
+ import univerjssheetsformulaui from "@univerjs/sheets-formula-ui/locale/zh-HK";
6
+ import univerjssheetsnumfmtui from "@univerjs/sheets-numfmt-ui/locale/zh-HK";
7
+ import univerjssheetsui from "@univerjs/sheets-ui/locale/zh-HK";
8
+ import univerjsui from "@univerjs/ui/locale/zh-HK";
9
+
10
+ //#region src/locales/zh-HK.ts
11
+ var zh_HK_default = Object.assign({}, univerjsdesign, univerjsdocsui, univerjssheets, univerjssheetsformula, univerjssheetsformulaui, univerjssheetsnumfmtui, univerjssheetsui, univerjsui);
12
+
13
+ //#endregion
14
+ export { zh_HK_default as default };
@@ -1,22 +1,14 @@
1
- import { mergeLocales as r } from "@univerjs/core";
2
- import e from "@univerjs/design/locale/zh-TW";
3
- import o from "@univerjs/docs-ui/locale/zh-TW";
4
- import i from "@univerjs/sheets/locale/zh-TW";
5
- import m from "@univerjs/sheets-formula/locale/zh-TW";
6
- import s from "@univerjs/sheets-formula-ui/locale/zh-TW";
7
- import t from "@univerjs/sheets-numfmt-ui/locale/zh-TW";
8
- import u from "@univerjs/sheets-ui/locale/zh-TW";
9
- import f from "@univerjs/ui/locale/zh-TW";
10
- const g = r(
11
- e,
12
- o,
13
- i,
14
- m,
15
- s,
16
- t,
17
- u,
18
- f
19
- );
20
- export {
21
- g as default
22
- };
1
+ import univerjsdesign from "@univerjs/design/locale/zh-TW";
2
+ import univerjsdocsui from "@univerjs/docs-ui/locale/zh-TW";
3
+ import univerjssheets from "@univerjs/sheets/locale/zh-TW";
4
+ import univerjssheetsformula from "@univerjs/sheets-formula/locale/zh-TW";
5
+ import univerjssheetsformulaui from "@univerjs/sheets-formula-ui/locale/zh-TW";
6
+ import univerjssheetsnumfmtui from "@univerjs/sheets-numfmt-ui/locale/zh-TW";
7
+ import univerjssheetsui from "@univerjs/sheets-ui/locale/zh-TW";
8
+ import univerjsui from "@univerjs/ui/locale/zh-TW";
9
+
10
+ //#region src/locales/zh-TW.ts
11
+ var zh_TW_default = Object.assign({}, univerjsdesign, univerjsdocsui, univerjssheets, univerjssheetsformula, univerjssheetsformulaui, univerjssheetsnumfmtui, univerjssheetsui, univerjsui);
12
+
13
+ //#endregion
14
+ export { zh_TW_default as default };
package/lib/es/worker.js CHANGED
@@ -1,20 +1,18 @@
1
- import { UniverFormulaEnginePlugin as n } from "@univerjs/engine-formula";
2
- import { UniverRPCWorkerThreadPlugin as o } from "@univerjs/rpc";
3
- import { UniverSheetsPlugin as i } from "@univerjs/sheets";
4
- import { UniverRemoteSheetsFormulaPlugin as t } from "@univerjs/sheets-formula";
5
- function g(r = {}) {
6
- const {
7
- formula: e
8
- } = r;
9
- return {
10
- plugins: [
11
- [i, { onlyRegisterFormulaRelatedMutations: !0 }],
12
- [n, { function: e == null ? void 0 : e.function }],
13
- o,
14
- t
15
- ]
16
- };
1
+ import { UniverFormulaEnginePlugin } from "@univerjs/engine-formula";
2
+ import { UniverRPCWorkerThreadPlugin } from "@univerjs/rpc";
3
+ import { UniverSheetsPlugin } from "@univerjs/sheets";
4
+ import { UniverRemoteSheetsFormulaPlugin } from "@univerjs/sheets-formula";
5
+
6
+ //#region src/worker.ts
7
+ function UniverSheetsCoreWorkerPreset(config = {}) {
8
+ const { formula } = config;
9
+ return { plugins: [
10
+ [UniverSheetsPlugin, { onlyRegisterFormulaRelatedMutations: true }],
11
+ [UniverFormulaEnginePlugin, { function: formula === null || formula === void 0 ? void 0 : formula.function }],
12
+ UniverRPCWorkerThreadPlugin,
13
+ UniverRemoteSheetsFormulaPlugin
14
+ ] };
17
15
  }
18
- export {
19
- g as UniverSheetsCoreWorkerPreset
20
- };
16
+
17
+ //#endregion
18
+ export { UniverSheetsCoreWorkerPreset };