@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 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 };
@@ -1,4 +1,19 @@
1
- export * from './umd';
1
+ /**
2
+ * Copyright 2023-present DreamNum Co., Ltd.
3
+ *
4
+ * Licensed under the Apache License, Version 2.0 (the "License");
5
+ * you may not use this file except in compliance with the License.
6
+ * You may obtain a copy of the License at
7
+ *
8
+ * http://www.apache.org/licenses/LICENSE-2.0
9
+ *
10
+ * Unless required by applicable law or agreed to in writing, software
11
+ * distributed under the License is distributed on an "AS IS" BASIS,
12
+ * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
13
+ * See the License for the specific language governing permissions and
14
+ * limitations under the License.
15
+ */
16
+ export * from './preset';
2
17
  export * from '@univerjs/design';
3
18
  export * from '@univerjs/docs';
4
19
  export * from '@univerjs/docs-ui';
@@ -1,4 +1,2 @@
1
- declare const _default: {
2
- [x: string]: any;
3
- };
1
+ declare const _default: any;
4
2
  export default _default;
@@ -1,4 +1,2 @@
1
- declare const _default: {
2
- [x: string]: any;
3
- };
1
+ declare const _default: any;
4
2
  export default _default;
@@ -1,4 +1,2 @@
1
- declare const _default: {
2
- [x: string]: any;
3
- };
1
+ declare const _default: any;
4
2
  export default _default;
@@ -1,4 +1,2 @@
1
- declare const _default: {
2
- [x: string]: any;
3
- };
1
+ declare const _default: any;
4
2
  export default _default;
@@ -1,4 +1,2 @@
1
- declare const _default: {
2
- [x: string]: any;
3
- };
1
+ declare const _default: any;
4
2
  export default _default;
@@ -1,4 +1,2 @@
1
- declare const _default: {
2
- [x: string]: any;
3
- };
1
+ declare const _default: any;
4
2
  export default _default;
@@ -1,4 +1,2 @@
1
- declare const _default: {
2
- [x: string]: any;
3
- };
1
+ declare const _default: any;
4
2
  export default _default;
@@ -1,4 +1,2 @@
1
- declare const _default: {
2
- [x: string]: any;
3
- };
1
+ declare const _default: any;
4
2
  export default _default;
@@ -1,4 +1,2 @@
1
- declare const _default: {
2
- [x: string]: any;
3
- };
1
+ declare const _default: any;
4
2
  export default _default;
@@ -1,4 +1,2 @@
1
- declare const _default: {
2
- [x: string]: any;
3
- };
1
+ declare const _default: any;
4
2
  export default _default;
@@ -1,4 +1,2 @@
1
- declare const _default: {
2
- [x: string]: any;
3
- };
1
+ declare const _default: any;
4
2
  export default _default;
@@ -1,4 +1,2 @@
1
- declare const _default: {
2
- [x: string]: any;
3
- };
1
+ declare const _default: any;
4
2
  export default _default;
@@ -1,4 +1,2 @@
1
- declare const _default: {
2
- [x: string]: any;
3
- };
1
+ declare const _default: any;
4
2
  export default _default;
@@ -1,4 +1,2 @@
1
- declare const _default: {
2
- [x: string]: any;
3
- };
1
+ declare const _default: any;
4
2
  export default _default;
@@ -1,4 +1,2 @@
1
- declare const _default: {
2
- [x: string]: any;
3
- };
1
+ declare const _default: any;
4
2
  export default _default;
@@ -1,4 +1,2 @@
1
- declare const _default: {
2
- [x: string]: any;
3
- };
1
+ declare const _default: any;
4
2
  export default _default;
@@ -1,4 +1,2 @@
1
- declare const _default: {
2
- [x: string]: any;
3
- };
1
+ declare const _default: any;
4
2
  export default _default;
@@ -1,4 +1,2 @@
1
- declare const _default: {
2
- [x: string]: any;
3
- };
1
+ declare const _default: any;
4
2
  export default _default;
@@ -1,4 +1,2 @@
1
- declare const _default: {
2
- [x: string]: any;
3
- };
1
+ declare const _default: any;
4
2
  export default _default;
@@ -0,0 +1,61 @@
1
+ /**
2
+ * Copyright 2023-present DreamNum Co., Ltd.
3
+ *
4
+ * Licensed under the Apache License, Version 2.0 (the "License");
5
+ * you may not use this file except in compliance with the License.
6
+ * You may obtain a copy of the License at
7
+ *
8
+ * http://www.apache.org/licenses/LICENSE-2.0
9
+ *
10
+ * Unless required by applicable law or agreed to in writing, software
11
+ * distributed under the License is distributed on an "AS IS" BASIS,
12
+ * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
13
+ * See the License for the specific language governing permissions and
14
+ * limitations under the License.
15
+ */
16
+ import type { IPreset } from '@univerjs/presets';
17
+ import type { IUniverRPCMainThreadConfig } from '@univerjs/rpc';
18
+ import type { IUniverSheetsNumfmtConfig } from '@univerjs/sheets-numfmt';
19
+ import type { IUniverSheetsUIConfig } from '@univerjs/sheets-ui';
20
+ import type { IUniverUIConfig } from '@univerjs/ui';
21
+ import type { IUniverDocsPresetConfig, IUniverFormulaConfig, IUniverSheetsPresetConfig } from './types';
22
+ import '@univerjs/network/facade';
23
+ import '@univerjs/sheets/facade';
24
+ import '@univerjs/ui/facade';
25
+ import '@univerjs/docs-ui/facade';
26
+ import '@univerjs/sheets-ui/facade';
27
+ import '@univerjs/engine-formula/facade';
28
+ import '@univerjs/sheets-formula/facade';
29
+ import '@univerjs/sheets-numfmt/facade';
30
+ import '@univerjs/sheets-formula-ui/facade';
31
+ export type * from '@univerjs/docs-ui/facade';
32
+ export type * from '@univerjs/engine-formula/facade';
33
+ export type * from '@univerjs/network/facade';
34
+ export type * from '@univerjs/sheets-formula-ui/facade';
35
+ export type * from '@univerjs/sheets-formula/facade';
36
+ export type * from '@univerjs/sheets-numfmt/facade';
37
+ export type * from '@univerjs/sheets-ui/facade';
38
+ export type * from '@univerjs/sheets/facade';
39
+ export type * from '@univerjs/ui/facade';
40
+ export interface IUniverSheetsCorePresetConfig extends Pick<IUniverUIConfig, 'container' | 'header' | 'toolbar' | 'ribbonType' | 'menu' | 'contextMenu' | 'disableAutoFocus' | 'customFontFamily'>, Pick<IUniverSheetsUIConfig, 'formulaBar' | 'statusBarStatistic' | 'footer'>, IUniverSheetsNumfmtConfig {
41
+ /**
42
+ * The docs related configuration.
43
+ */
44
+ docs?: IUniverDocsPresetConfig;
45
+ /**
46
+ * The sheets related configuration.
47
+ */
48
+ sheets?: IUniverSheetsPresetConfig;
49
+ /**
50
+ * The formula related configuration.
51
+ */
52
+ formula?: IUniverFormulaConfig;
53
+ /**
54
+ * The URL of the worker script.
55
+ */
56
+ workerURL: IUniverRPCMainThreadConfig['workerURL'];
57
+ }
58
+ /**
59
+ * This presets helps you to create a Univer sheet with open sourced features.
60
+ */
61
+ export declare function UniverSheetsCorePreset(config?: Partial<IUniverSheetsCorePresetConfig>): IPreset;
@@ -1,20 +1,24 @@
1
- import { IUniverConfig, Plugin, PluginCtor } from '@univerjs/core';
2
- import { IUniverDocsConfig } from '@univerjs/docs';
3
- import { IUniverEngineFormulaConfig } from '@univerjs/engine-formula';
4
- import { IUniverSheetsConfig } from '@univerjs/sheets';
5
- import { IUniverSheetsFormulaBaseConfig } from '@univerjs/sheets-formula';
6
- import { IUniverSheetsFormulaUIConfig } from '@univerjs/sheets-formula-ui';
7
- import { IUniverSheetsUIConfig } from '@univerjs/sheets-ui';
8
1
  /**
9
- * A collection of plugins and their default configs.
2
+ * Copyright 2023-present DreamNum Co., Ltd.
3
+ *
4
+ * Licensed under the Apache License, Version 2.0 (the "License");
5
+ * you may not use this file except in compliance with the License.
6
+ * You may obtain a copy of the License at
7
+ *
8
+ * http://www.apache.org/licenses/LICENSE-2.0
9
+ *
10
+ * Unless required by applicable law or agreed to in writing, software
11
+ * distributed under the License is distributed on an "AS IS" BASIS,
12
+ * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
13
+ * See the License for the specific language governing permissions and
14
+ * limitations under the License.
10
15
  */
11
- export interface IPreset {
12
- plugins: Array<PluginCtor<Plugin> | [PluginCtor<Plugin>, ConstructorParameters<PluginCtor<Plugin>>[0]]>;
13
- locales?: IUniverConfig['locales'];
14
- }
15
- export interface IPresetOptions {
16
- lazy?: boolean;
17
- }
16
+ import type { IUniverDocsConfig } from '@univerjs/docs';
17
+ import type { IUniverEngineFormulaConfig } from '@univerjs/engine-formula';
18
+ import type { IUniverSheetsConfig } from '@univerjs/sheets';
19
+ import type { IUniverSheetsFormulaBaseConfig } from '@univerjs/sheets-formula';
20
+ import type { IUniverSheetsFormulaUIConfig } from '@univerjs/sheets-formula-ui';
21
+ import type { IUniverSheetsUIConfig } from '@univerjs/sheets-ui';
18
22
  export interface IUniverFormulaConfig extends Pick<IUniverEngineFormulaConfig, 'function'>, Pick<IUniverSheetsFormulaBaseConfig, 'description' | 'initialFormulaComputing'>, Pick<IUniverSheetsFormulaUIConfig, 'functionScreenTips'> {
19
23
  }
20
24
  export interface IUniverFormulaWorkerConfig extends Pick<IUniverEngineFormulaConfig, 'function'> {
@@ -1,4 +1,20 @@
1
- import { IPreset, IUniverFormulaWorkerConfig } from './types';
1
+ /**
2
+ * Copyright 2023-present DreamNum Co., Ltd.
3
+ *
4
+ * Licensed under the Apache License, Version 2.0 (the "License");
5
+ * you may not use this file except in compliance with the License.
6
+ * You may obtain a copy of the License at
7
+ *
8
+ * http://www.apache.org/licenses/LICENSE-2.0
9
+ *
10
+ * Unless required by applicable law or agreed to in writing, software
11
+ * distributed under the License is distributed on an "AS IS" BASIS,
12
+ * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
13
+ * See the License for the specific language governing permissions and
14
+ * limitations under the License.
15
+ */
16
+ import type { IPreset } from '@univerjs/presets';
17
+ import type { IUniverFormulaWorkerConfig } from './types';
2
18
  export interface IUniverSheetsCoreWorkerPresetConfig {
3
19
  /**
4
20
  * The formula worker config.