@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.
- package/README.md +3 -3
- package/lib/cjs/index.js +184 -1
- package/lib/cjs/locales/ar-SA.js +23 -1
- package/lib/cjs/locales/ca-ES.js +23 -1
- package/lib/cjs/locales/de-DE.js +23 -1
- package/lib/cjs/locales/en-US.js +23 -1
- package/lib/cjs/locales/es-ES.js +23 -1
- package/lib/cjs/locales/fa-IR.js +23 -1
- package/lib/cjs/locales/fr-FR.js +23 -1
- package/lib/cjs/locales/id-ID.js +23 -1
- package/lib/cjs/locales/it-IT.js +23 -1
- package/lib/cjs/locales/ja-JP.js +23 -1
- package/lib/cjs/locales/ko-KR.js +23 -1
- package/lib/cjs/locales/pl-PL.js +23 -1
- package/lib/cjs/locales/pt-BR.js +23 -1
- package/lib/cjs/locales/ru-RU.js +23 -1
- package/lib/cjs/locales/sk-SK.js +23 -1
- package/lib/cjs/locales/vi-VN.js +23 -1
- package/lib/cjs/locales/zh-CN.js +23 -1
- package/lib/cjs/locales/zh-HK.js +23 -1
- package/lib/cjs/locales/zh-TW.js +23 -1
- package/lib/cjs/rolldown-runtime-C_NdSu1c.js +34 -0
- package/lib/cjs/worker.js +19 -1
- package/lib/es/index.js +112 -115
- package/lib/es/locales/ar-SA.js +14 -22
- package/lib/es/locales/ca-ES.js +14 -22
- package/lib/es/locales/de-DE.js +14 -22
- package/lib/es/locales/en-US.js +14 -22
- package/lib/es/locales/es-ES.js +14 -22
- package/lib/es/locales/fa-IR.js +14 -22
- package/lib/es/locales/fr-FR.js +14 -22
- package/lib/es/locales/id-ID.js +14 -22
- package/lib/es/locales/it-IT.js +14 -22
- package/lib/es/locales/ja-JP.js +14 -22
- package/lib/es/locales/ko-KR.js +14 -22
- package/lib/es/locales/pl-PL.js +14 -22
- package/lib/es/locales/pt-BR.js +14 -22
- package/lib/es/locales/ru-RU.js +14 -22
- package/lib/es/locales/sk-SK.js +14 -22
- package/lib/es/locales/vi-VN.js +14 -22
- package/lib/es/locales/zh-CN.js +14 -22
- package/lib/es/locales/zh-HK.js +14 -22
- package/lib/es/locales/zh-TW.js +14 -22
- package/lib/es/worker.js +17 -19
- package/lib/index.css +7177 -1
- package/lib/index.js +112 -115
- package/lib/locales/ar-SA.js +14 -22
- package/lib/locales/ca-ES.js +14 -22
- package/lib/locales/de-DE.js +14 -22
- package/lib/locales/en-US.js +14 -22
- package/lib/locales/es-ES.js +14 -22
- package/lib/locales/fa-IR.js +14 -22
- package/lib/locales/fr-FR.js +14 -22
- package/lib/locales/id-ID.js +14 -22
- package/lib/locales/it-IT.js +14 -22
- package/lib/locales/ja-JP.js +14 -22
- package/lib/locales/ko-KR.js +14 -22
- package/lib/locales/pl-PL.js +14 -22
- package/lib/locales/pt-BR.js +14 -22
- package/lib/locales/ru-RU.js +14 -22
- package/lib/locales/sk-SK.js +14 -22
- package/lib/locales/vi-VN.js +14 -22
- package/lib/locales/zh-CN.js +14 -22
- package/lib/locales/zh-HK.js +14 -22
- package/lib/locales/zh-TW.js +14 -22
- package/lib/types/index.d.ts +16 -1
- package/lib/types/locales/ar-SA.d.ts +1 -3
- package/lib/types/locales/ca-ES.d.ts +1 -3
- package/lib/types/locales/de-DE.d.ts +1 -3
- package/lib/types/locales/en-US.d.ts +1 -3
- package/lib/types/locales/es-ES.d.ts +1 -3
- package/lib/types/locales/fa-IR.d.ts +1 -3
- package/lib/types/locales/fr-FR.d.ts +1 -3
- package/lib/types/locales/id-ID.d.ts +1 -3
- package/lib/types/locales/it-IT.d.ts +1 -3
- package/lib/types/locales/ja-JP.d.ts +1 -3
- package/lib/types/locales/ko-KR.d.ts +1 -3
- package/lib/types/locales/pl-PL.d.ts +1 -3
- package/lib/types/locales/pt-BR.d.ts +1 -3
- package/lib/types/locales/ru-RU.d.ts +1 -3
- package/lib/types/locales/sk-SK.d.ts +1 -3
- package/lib/types/locales/vi-VN.d.ts +1 -3
- package/lib/types/locales/zh-CN.d.ts +1 -3
- package/lib/types/locales/zh-HK.d.ts +1 -3
- package/lib/types/locales/zh-TW.d.ts +1 -3
- package/lib/types/preset.d.ts +61 -0
- package/lib/types/types.d.ts +19 -15
- package/lib/types/worker.d.ts +17 -1
- package/lib/worker.js +17 -19
- package/package.json +26 -28
- package/lib/types/umd.d.ts +0 -51
- package/lib/umd/index.js +0 -426
- package/lib/umd/locales/ar-SA.js +0 -69
- package/lib/umd/locales/ca-ES.js +0 -64
- package/lib/umd/locales/de-DE.js +0 -69
- package/lib/umd/locales/en-US.js +0 -69
- package/lib/umd/locales/es-ES.js +0 -64
- package/lib/umd/locales/fa-IR.js +0 -69
- package/lib/umd/locales/fr-FR.js +0 -69
- package/lib/umd/locales/id-ID.js +0 -69
- package/lib/umd/locales/it-IT.js +0 -69
- package/lib/umd/locales/ja-JP.js +0 -68
- package/lib/umd/locales/ko-KR.js +0 -62
- package/lib/umd/locales/pl-PL.js +0 -69
- package/lib/umd/locales/pt-BR.js +0 -69
- package/lib/umd/locales/ru-RU.js +0 -56
- package/lib/umd/locales/sk-SK.js +0 -64
- package/lib/umd/locales/vi-VN.js +0 -68
- package/lib/umd/locales/zh-CN.js +0 -69
- package/lib/umd/locales/zh-HK.js +0 -69
- package/lib/umd/locales/zh-TW.js +0 -69
- package/lib/umd/worker.js +0 -1
package/lib/locales/ko-KR.js
CHANGED
|
@@ -1,22 +1,14 @@
|
|
|
1
|
-
import
|
|
2
|
-
import
|
|
3
|
-
import
|
|
4
|
-
import
|
|
5
|
-
import
|
|
6
|
-
import
|
|
7
|
-
import
|
|
8
|
-
import
|
|
9
|
-
|
|
10
|
-
|
|
11
|
-
|
|
12
|
-
|
|
13
|
-
|
|
14
|
-
|
|
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 };
|
package/lib/locales/pl-PL.js
CHANGED
|
@@ -1,22 +1,14 @@
|
|
|
1
|
-
import
|
|
2
|
-
import
|
|
3
|
-
import
|
|
4
|
-
import
|
|
5
|
-
import
|
|
6
|
-
import
|
|
7
|
-
import
|
|
8
|
-
import
|
|
9
|
-
|
|
10
|
-
|
|
11
|
-
|
|
12
|
-
|
|
13
|
-
|
|
14
|
-
|
|
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 };
|
package/lib/locales/pt-BR.js
CHANGED
|
@@ -1,22 +1,14 @@
|
|
|
1
|
-
import
|
|
2
|
-
import
|
|
3
|
-
import
|
|
4
|
-
import
|
|
5
|
-
import
|
|
6
|
-
import
|
|
7
|
-
import
|
|
8
|
-
import
|
|
9
|
-
|
|
10
|
-
|
|
11
|
-
|
|
12
|
-
|
|
13
|
-
|
|
14
|
-
|
|
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 };
|
package/lib/locales/ru-RU.js
CHANGED
|
@@ -1,22 +1,14 @@
|
|
|
1
|
-
import
|
|
2
|
-
import
|
|
3
|
-
import
|
|
4
|
-
import
|
|
5
|
-
import
|
|
6
|
-
import
|
|
7
|
-
import
|
|
8
|
-
import
|
|
9
|
-
|
|
10
|
-
|
|
11
|
-
|
|
12
|
-
|
|
13
|
-
|
|
14
|
-
|
|
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 };
|
package/lib/locales/sk-SK.js
CHANGED
|
@@ -1,22 +1,14 @@
|
|
|
1
|
-
import
|
|
2
|
-
import
|
|
3
|
-
import
|
|
4
|
-
import
|
|
5
|
-
import
|
|
6
|
-
import
|
|
7
|
-
import
|
|
8
|
-
import
|
|
9
|
-
|
|
10
|
-
|
|
11
|
-
|
|
12
|
-
|
|
13
|
-
|
|
14
|
-
|
|
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 };
|
package/lib/locales/vi-VN.js
CHANGED
|
@@ -1,22 +1,14 @@
|
|
|
1
|
-
import
|
|
2
|
-
import
|
|
3
|
-
import
|
|
4
|
-
import
|
|
5
|
-
import
|
|
6
|
-
import
|
|
7
|
-
import
|
|
8
|
-
import
|
|
9
|
-
|
|
10
|
-
|
|
11
|
-
|
|
12
|
-
|
|
13
|
-
|
|
14
|
-
|
|
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 };
|
package/lib/locales/zh-CN.js
CHANGED
|
@@ -1,22 +1,14 @@
|
|
|
1
|
-
import
|
|
2
|
-
import
|
|
3
|
-
import
|
|
4
|
-
import
|
|
5
|
-
import
|
|
6
|
-
import
|
|
7
|
-
import
|
|
8
|
-
import
|
|
9
|
-
|
|
10
|
-
|
|
11
|
-
|
|
12
|
-
|
|
13
|
-
|
|
14
|
-
|
|
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 };
|
package/lib/locales/zh-HK.js
CHANGED
|
@@ -1,22 +1,14 @@
|
|
|
1
|
-
import
|
|
2
|
-
import
|
|
3
|
-
import
|
|
4
|
-
import
|
|
5
|
-
import
|
|
6
|
-
import
|
|
7
|
-
import
|
|
8
|
-
import
|
|
9
|
-
|
|
10
|
-
|
|
11
|
-
|
|
12
|
-
|
|
13
|
-
|
|
14
|
-
|
|
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 };
|
package/lib/locales/zh-TW.js
CHANGED
|
@@ -1,22 +1,14 @@
|
|
|
1
|
-
import
|
|
2
|
-
import
|
|
3
|
-
import
|
|
4
|
-
import
|
|
5
|
-
import
|
|
6
|
-
import
|
|
7
|
-
import
|
|
8
|
-
import
|
|
9
|
-
|
|
10
|
-
|
|
11
|
-
|
|
12
|
-
|
|
13
|
-
|
|
14
|
-
|
|
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/types/index.d.ts
CHANGED
|
@@ -1,4 +1,19 @@
|
|
|
1
|
-
|
|
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';
|
|
@@ -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;
|
package/lib/types/types.d.ts
CHANGED
|
@@ -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
|
-
*
|
|
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
|
-
|
|
12
|
-
|
|
13
|
-
|
|
14
|
-
}
|
|
15
|
-
|
|
16
|
-
|
|
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'> {
|
package/lib/types/worker.d.ts
CHANGED
|
@@ -1,4 +1,20 @@
|
|
|
1
|
-
|
|
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.
|