@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/cjs/locales/sk-SK.js
CHANGED
|
@@ -1 +1,23 @@
|
|
|
1
|
-
|
|
1
|
+
const require_rolldown_runtime = require('../rolldown-runtime-C_NdSu1c.js');
|
|
2
|
+
let _univerjs_design_locale_sk_SK = require("@univerjs/design/locale/sk-SK");
|
|
3
|
+
_univerjs_design_locale_sk_SK = require_rolldown_runtime.__toESM(_univerjs_design_locale_sk_SK);
|
|
4
|
+
let _univerjs_docs_ui_locale_sk_SK = require("@univerjs/docs-ui/locale/sk-SK");
|
|
5
|
+
_univerjs_docs_ui_locale_sk_SK = require_rolldown_runtime.__toESM(_univerjs_docs_ui_locale_sk_SK);
|
|
6
|
+
let _univerjs_sheets_locale_sk_SK = require("@univerjs/sheets/locale/sk-SK");
|
|
7
|
+
_univerjs_sheets_locale_sk_SK = require_rolldown_runtime.__toESM(_univerjs_sheets_locale_sk_SK);
|
|
8
|
+
let _univerjs_sheets_formula_locale_sk_SK = require("@univerjs/sheets-formula/locale/sk-SK");
|
|
9
|
+
_univerjs_sheets_formula_locale_sk_SK = require_rolldown_runtime.__toESM(_univerjs_sheets_formula_locale_sk_SK);
|
|
10
|
+
let _univerjs_sheets_formula_ui_locale_sk_SK = require("@univerjs/sheets-formula-ui/locale/sk-SK");
|
|
11
|
+
_univerjs_sheets_formula_ui_locale_sk_SK = require_rolldown_runtime.__toESM(_univerjs_sheets_formula_ui_locale_sk_SK);
|
|
12
|
+
let _univerjs_sheets_numfmt_ui_locale_sk_SK = require("@univerjs/sheets-numfmt-ui/locale/sk-SK");
|
|
13
|
+
_univerjs_sheets_numfmt_ui_locale_sk_SK = require_rolldown_runtime.__toESM(_univerjs_sheets_numfmt_ui_locale_sk_SK);
|
|
14
|
+
let _univerjs_sheets_ui_locale_sk_SK = require("@univerjs/sheets-ui/locale/sk-SK");
|
|
15
|
+
_univerjs_sheets_ui_locale_sk_SK = require_rolldown_runtime.__toESM(_univerjs_sheets_ui_locale_sk_SK);
|
|
16
|
+
let _univerjs_ui_locale_sk_SK = require("@univerjs/ui/locale/sk-SK");
|
|
17
|
+
_univerjs_ui_locale_sk_SK = require_rolldown_runtime.__toESM(_univerjs_ui_locale_sk_SK);
|
|
18
|
+
|
|
19
|
+
//#region src/locales/sk-SK.ts
|
|
20
|
+
var sk_SK_default = Object.assign({}, _univerjs_design_locale_sk_SK.default, _univerjs_docs_ui_locale_sk_SK.default, _univerjs_sheets_locale_sk_SK.default, _univerjs_sheets_formula_locale_sk_SK.default, _univerjs_sheets_formula_ui_locale_sk_SK.default, _univerjs_sheets_numfmt_ui_locale_sk_SK.default, _univerjs_sheets_ui_locale_sk_SK.default, _univerjs_ui_locale_sk_SK.default);
|
|
21
|
+
|
|
22
|
+
//#endregion
|
|
23
|
+
module.exports = sk_SK_default;
|
package/lib/cjs/locales/vi-VN.js
CHANGED
|
@@ -1 +1,23 @@
|
|
|
1
|
-
|
|
1
|
+
const require_rolldown_runtime = require('../rolldown-runtime-C_NdSu1c.js');
|
|
2
|
+
let _univerjs_design_locale_vi_VN = require("@univerjs/design/locale/vi-VN");
|
|
3
|
+
_univerjs_design_locale_vi_VN = require_rolldown_runtime.__toESM(_univerjs_design_locale_vi_VN);
|
|
4
|
+
let _univerjs_docs_ui_locale_vi_VN = require("@univerjs/docs-ui/locale/vi-VN");
|
|
5
|
+
_univerjs_docs_ui_locale_vi_VN = require_rolldown_runtime.__toESM(_univerjs_docs_ui_locale_vi_VN);
|
|
6
|
+
let _univerjs_sheets_locale_vi_VN = require("@univerjs/sheets/locale/vi-VN");
|
|
7
|
+
_univerjs_sheets_locale_vi_VN = require_rolldown_runtime.__toESM(_univerjs_sheets_locale_vi_VN);
|
|
8
|
+
let _univerjs_sheets_formula_locale_vi_VN = require("@univerjs/sheets-formula/locale/vi-VN");
|
|
9
|
+
_univerjs_sheets_formula_locale_vi_VN = require_rolldown_runtime.__toESM(_univerjs_sheets_formula_locale_vi_VN);
|
|
10
|
+
let _univerjs_sheets_formula_ui_locale_vi_VN = require("@univerjs/sheets-formula-ui/locale/vi-VN");
|
|
11
|
+
_univerjs_sheets_formula_ui_locale_vi_VN = require_rolldown_runtime.__toESM(_univerjs_sheets_formula_ui_locale_vi_VN);
|
|
12
|
+
let _univerjs_sheets_numfmt_ui_locale_vi_VN = require("@univerjs/sheets-numfmt-ui/locale/vi-VN");
|
|
13
|
+
_univerjs_sheets_numfmt_ui_locale_vi_VN = require_rolldown_runtime.__toESM(_univerjs_sheets_numfmt_ui_locale_vi_VN);
|
|
14
|
+
let _univerjs_sheets_ui_locale_vi_VN = require("@univerjs/sheets-ui/locale/vi-VN");
|
|
15
|
+
_univerjs_sheets_ui_locale_vi_VN = require_rolldown_runtime.__toESM(_univerjs_sheets_ui_locale_vi_VN);
|
|
16
|
+
let _univerjs_ui_locale_vi_VN = require("@univerjs/ui/locale/vi-VN");
|
|
17
|
+
_univerjs_ui_locale_vi_VN = require_rolldown_runtime.__toESM(_univerjs_ui_locale_vi_VN);
|
|
18
|
+
|
|
19
|
+
//#region src/locales/vi-VN.ts
|
|
20
|
+
var vi_VN_default = Object.assign({}, _univerjs_design_locale_vi_VN.default, _univerjs_docs_ui_locale_vi_VN.default, _univerjs_sheets_locale_vi_VN.default, _univerjs_sheets_formula_locale_vi_VN.default, _univerjs_sheets_formula_ui_locale_vi_VN.default, _univerjs_sheets_numfmt_ui_locale_vi_VN.default, _univerjs_sheets_ui_locale_vi_VN.default, _univerjs_ui_locale_vi_VN.default);
|
|
21
|
+
|
|
22
|
+
//#endregion
|
|
23
|
+
module.exports = vi_VN_default;
|
package/lib/cjs/locales/zh-CN.js
CHANGED
|
@@ -1 +1,23 @@
|
|
|
1
|
-
|
|
1
|
+
const require_rolldown_runtime = require('../rolldown-runtime-C_NdSu1c.js');
|
|
2
|
+
let _univerjs_design_locale_zh_CN = require("@univerjs/design/locale/zh-CN");
|
|
3
|
+
_univerjs_design_locale_zh_CN = require_rolldown_runtime.__toESM(_univerjs_design_locale_zh_CN);
|
|
4
|
+
let _univerjs_docs_ui_locale_zh_CN = require("@univerjs/docs-ui/locale/zh-CN");
|
|
5
|
+
_univerjs_docs_ui_locale_zh_CN = require_rolldown_runtime.__toESM(_univerjs_docs_ui_locale_zh_CN);
|
|
6
|
+
let _univerjs_sheets_locale_zh_CN = require("@univerjs/sheets/locale/zh-CN");
|
|
7
|
+
_univerjs_sheets_locale_zh_CN = require_rolldown_runtime.__toESM(_univerjs_sheets_locale_zh_CN);
|
|
8
|
+
let _univerjs_sheets_formula_locale_zh_CN = require("@univerjs/sheets-formula/locale/zh-CN");
|
|
9
|
+
_univerjs_sheets_formula_locale_zh_CN = require_rolldown_runtime.__toESM(_univerjs_sheets_formula_locale_zh_CN);
|
|
10
|
+
let _univerjs_sheets_formula_ui_locale_zh_CN = require("@univerjs/sheets-formula-ui/locale/zh-CN");
|
|
11
|
+
_univerjs_sheets_formula_ui_locale_zh_CN = require_rolldown_runtime.__toESM(_univerjs_sheets_formula_ui_locale_zh_CN);
|
|
12
|
+
let _univerjs_sheets_numfmt_ui_locale_zh_CN = require("@univerjs/sheets-numfmt-ui/locale/zh-CN");
|
|
13
|
+
_univerjs_sheets_numfmt_ui_locale_zh_CN = require_rolldown_runtime.__toESM(_univerjs_sheets_numfmt_ui_locale_zh_CN);
|
|
14
|
+
let _univerjs_sheets_ui_locale_zh_CN = require("@univerjs/sheets-ui/locale/zh-CN");
|
|
15
|
+
_univerjs_sheets_ui_locale_zh_CN = require_rolldown_runtime.__toESM(_univerjs_sheets_ui_locale_zh_CN);
|
|
16
|
+
let _univerjs_ui_locale_zh_CN = require("@univerjs/ui/locale/zh-CN");
|
|
17
|
+
_univerjs_ui_locale_zh_CN = require_rolldown_runtime.__toESM(_univerjs_ui_locale_zh_CN);
|
|
18
|
+
|
|
19
|
+
//#region src/locales/zh-CN.ts
|
|
20
|
+
var zh_CN_default = Object.assign({}, _univerjs_design_locale_zh_CN.default, _univerjs_docs_ui_locale_zh_CN.default, _univerjs_sheets_locale_zh_CN.default, _univerjs_sheets_formula_locale_zh_CN.default, _univerjs_sheets_formula_ui_locale_zh_CN.default, _univerjs_sheets_numfmt_ui_locale_zh_CN.default, _univerjs_sheets_ui_locale_zh_CN.default, _univerjs_ui_locale_zh_CN.default);
|
|
21
|
+
|
|
22
|
+
//#endregion
|
|
23
|
+
module.exports = zh_CN_default;
|
package/lib/cjs/locales/zh-HK.js
CHANGED
|
@@ -1 +1,23 @@
|
|
|
1
|
-
|
|
1
|
+
const require_rolldown_runtime = require('../rolldown-runtime-C_NdSu1c.js');
|
|
2
|
+
let _univerjs_design_locale_zh_HK = require("@univerjs/design/locale/zh-HK");
|
|
3
|
+
_univerjs_design_locale_zh_HK = require_rolldown_runtime.__toESM(_univerjs_design_locale_zh_HK);
|
|
4
|
+
let _univerjs_docs_ui_locale_zh_HK = require("@univerjs/docs-ui/locale/zh-HK");
|
|
5
|
+
_univerjs_docs_ui_locale_zh_HK = require_rolldown_runtime.__toESM(_univerjs_docs_ui_locale_zh_HK);
|
|
6
|
+
let _univerjs_sheets_locale_zh_HK = require("@univerjs/sheets/locale/zh-HK");
|
|
7
|
+
_univerjs_sheets_locale_zh_HK = require_rolldown_runtime.__toESM(_univerjs_sheets_locale_zh_HK);
|
|
8
|
+
let _univerjs_sheets_formula_locale_zh_HK = require("@univerjs/sheets-formula/locale/zh-HK");
|
|
9
|
+
_univerjs_sheets_formula_locale_zh_HK = require_rolldown_runtime.__toESM(_univerjs_sheets_formula_locale_zh_HK);
|
|
10
|
+
let _univerjs_sheets_formula_ui_locale_zh_HK = require("@univerjs/sheets-formula-ui/locale/zh-HK");
|
|
11
|
+
_univerjs_sheets_formula_ui_locale_zh_HK = require_rolldown_runtime.__toESM(_univerjs_sheets_formula_ui_locale_zh_HK);
|
|
12
|
+
let _univerjs_sheets_numfmt_ui_locale_zh_HK = require("@univerjs/sheets-numfmt-ui/locale/zh-HK");
|
|
13
|
+
_univerjs_sheets_numfmt_ui_locale_zh_HK = require_rolldown_runtime.__toESM(_univerjs_sheets_numfmt_ui_locale_zh_HK);
|
|
14
|
+
let _univerjs_sheets_ui_locale_zh_HK = require("@univerjs/sheets-ui/locale/zh-HK");
|
|
15
|
+
_univerjs_sheets_ui_locale_zh_HK = require_rolldown_runtime.__toESM(_univerjs_sheets_ui_locale_zh_HK);
|
|
16
|
+
let _univerjs_ui_locale_zh_HK = require("@univerjs/ui/locale/zh-HK");
|
|
17
|
+
_univerjs_ui_locale_zh_HK = require_rolldown_runtime.__toESM(_univerjs_ui_locale_zh_HK);
|
|
18
|
+
|
|
19
|
+
//#region src/locales/zh-HK.ts
|
|
20
|
+
var zh_HK_default = Object.assign({}, _univerjs_design_locale_zh_HK.default, _univerjs_docs_ui_locale_zh_HK.default, _univerjs_sheets_locale_zh_HK.default, _univerjs_sheets_formula_locale_zh_HK.default, _univerjs_sheets_formula_ui_locale_zh_HK.default, _univerjs_sheets_numfmt_ui_locale_zh_HK.default, _univerjs_sheets_ui_locale_zh_HK.default, _univerjs_ui_locale_zh_HK.default);
|
|
21
|
+
|
|
22
|
+
//#endregion
|
|
23
|
+
module.exports = zh_HK_default;
|
package/lib/cjs/locales/zh-TW.js
CHANGED
|
@@ -1 +1,23 @@
|
|
|
1
|
-
|
|
1
|
+
const require_rolldown_runtime = require('../rolldown-runtime-C_NdSu1c.js');
|
|
2
|
+
let _univerjs_design_locale_zh_TW = require("@univerjs/design/locale/zh-TW");
|
|
3
|
+
_univerjs_design_locale_zh_TW = require_rolldown_runtime.__toESM(_univerjs_design_locale_zh_TW);
|
|
4
|
+
let _univerjs_docs_ui_locale_zh_TW = require("@univerjs/docs-ui/locale/zh-TW");
|
|
5
|
+
_univerjs_docs_ui_locale_zh_TW = require_rolldown_runtime.__toESM(_univerjs_docs_ui_locale_zh_TW);
|
|
6
|
+
let _univerjs_sheets_locale_zh_TW = require("@univerjs/sheets/locale/zh-TW");
|
|
7
|
+
_univerjs_sheets_locale_zh_TW = require_rolldown_runtime.__toESM(_univerjs_sheets_locale_zh_TW);
|
|
8
|
+
let _univerjs_sheets_formula_locale_zh_TW = require("@univerjs/sheets-formula/locale/zh-TW");
|
|
9
|
+
_univerjs_sheets_formula_locale_zh_TW = require_rolldown_runtime.__toESM(_univerjs_sheets_formula_locale_zh_TW);
|
|
10
|
+
let _univerjs_sheets_formula_ui_locale_zh_TW = require("@univerjs/sheets-formula-ui/locale/zh-TW");
|
|
11
|
+
_univerjs_sheets_formula_ui_locale_zh_TW = require_rolldown_runtime.__toESM(_univerjs_sheets_formula_ui_locale_zh_TW);
|
|
12
|
+
let _univerjs_sheets_numfmt_ui_locale_zh_TW = require("@univerjs/sheets-numfmt-ui/locale/zh-TW");
|
|
13
|
+
_univerjs_sheets_numfmt_ui_locale_zh_TW = require_rolldown_runtime.__toESM(_univerjs_sheets_numfmt_ui_locale_zh_TW);
|
|
14
|
+
let _univerjs_sheets_ui_locale_zh_TW = require("@univerjs/sheets-ui/locale/zh-TW");
|
|
15
|
+
_univerjs_sheets_ui_locale_zh_TW = require_rolldown_runtime.__toESM(_univerjs_sheets_ui_locale_zh_TW);
|
|
16
|
+
let _univerjs_ui_locale_zh_TW = require("@univerjs/ui/locale/zh-TW");
|
|
17
|
+
_univerjs_ui_locale_zh_TW = require_rolldown_runtime.__toESM(_univerjs_ui_locale_zh_TW);
|
|
18
|
+
|
|
19
|
+
//#region src/locales/zh-TW.ts
|
|
20
|
+
var zh_TW_default = Object.assign({}, _univerjs_design_locale_zh_TW.default, _univerjs_docs_ui_locale_zh_TW.default, _univerjs_sheets_locale_zh_TW.default, _univerjs_sheets_formula_locale_zh_TW.default, _univerjs_sheets_formula_ui_locale_zh_TW.default, _univerjs_sheets_numfmt_ui_locale_zh_TW.default, _univerjs_sheets_ui_locale_zh_TW.default, _univerjs_ui_locale_zh_TW.default);
|
|
21
|
+
|
|
22
|
+
//#endregion
|
|
23
|
+
module.exports = zh_TW_default;
|
|
@@ -0,0 +1,34 @@
|
|
|
1
|
+
//#region \0rolldown/runtime.js
|
|
2
|
+
var __create = Object.create;
|
|
3
|
+
var __defProp = Object.defineProperty;
|
|
4
|
+
var __getOwnPropDesc = Object.getOwnPropertyDescriptor;
|
|
5
|
+
var __getOwnPropNames = Object.getOwnPropertyNames;
|
|
6
|
+
var __getProtoOf = Object.getPrototypeOf;
|
|
7
|
+
var __hasOwnProp = Object.prototype.hasOwnProperty;
|
|
8
|
+
var __copyProps = (to, from, except, desc) => {
|
|
9
|
+
if (from && typeof from === "object" || typeof from === "function") {
|
|
10
|
+
for (var keys = __getOwnPropNames(from), i = 0, n = keys.length, key; i < n; i++) {
|
|
11
|
+
key = keys[i];
|
|
12
|
+
if (!__hasOwnProp.call(to, key) && key !== except) {
|
|
13
|
+
__defProp(to, key, {
|
|
14
|
+
get: ((k) => from[k]).bind(null, key),
|
|
15
|
+
enumerable: !(desc = __getOwnPropDesc(from, key)) || desc.enumerable
|
|
16
|
+
});
|
|
17
|
+
}
|
|
18
|
+
}
|
|
19
|
+
}
|
|
20
|
+
return to;
|
|
21
|
+
};
|
|
22
|
+
var __toESM = (mod, isNodeMode, target) => (target = mod != null ? __create(__getProtoOf(mod)) : {}, __copyProps(isNodeMode || !mod || !mod.__esModule ? __defProp(target, "default", {
|
|
23
|
+
value: mod,
|
|
24
|
+
enumerable: true
|
|
25
|
+
}) : target, mod));
|
|
26
|
+
|
|
27
|
+
//#endregion
|
|
28
|
+
|
|
29
|
+
Object.defineProperty(exports, '__toESM', {
|
|
30
|
+
enumerable: true,
|
|
31
|
+
get: function () {
|
|
32
|
+
return __toESM;
|
|
33
|
+
}
|
|
34
|
+
});
|
package/lib/cjs/worker.js
CHANGED
|
@@ -1 +1,19 @@
|
|
|
1
|
-
|
|
1
|
+
Object.defineProperty(exports, Symbol.toStringTag, { value: 'Module' });
|
|
2
|
+
let _univerjs_engine_formula = require("@univerjs/engine-formula");
|
|
3
|
+
let _univerjs_rpc = require("@univerjs/rpc");
|
|
4
|
+
let _univerjs_sheets = require("@univerjs/sheets");
|
|
5
|
+
let _univerjs_sheets_formula = require("@univerjs/sheets-formula");
|
|
6
|
+
|
|
7
|
+
//#region src/worker.ts
|
|
8
|
+
function UniverSheetsCoreWorkerPreset(config = {}) {
|
|
9
|
+
const { formula } = config;
|
|
10
|
+
return { plugins: [
|
|
11
|
+
[_univerjs_sheets.UniverSheetsPlugin, { onlyRegisterFormulaRelatedMutations: true }],
|
|
12
|
+
[_univerjs_engine_formula.UniverFormulaEnginePlugin, { function: formula === null || formula === void 0 ? void 0 : formula.function }],
|
|
13
|
+
_univerjs_rpc.UniverRPCWorkerThreadPlugin,
|
|
14
|
+
_univerjs_sheets_formula.UniverRemoteSheetsFormulaPlugin
|
|
15
|
+
] };
|
|
16
|
+
}
|
|
17
|
+
|
|
18
|
+
//#endregion
|
|
19
|
+
exports.UniverSheetsCoreWorkerPreset = UniverSheetsCoreWorkerPreset;
|
package/lib/es/index.js
CHANGED
|
@@ -1,116 +1,113 @@
|
|
|
1
|
-
import { UniverDocsPlugin
|
|
2
|
-
|
|
3
|
-
import {
|
|
4
|
-
|
|
5
|
-
import {
|
|
6
|
-
|
|
7
|
-
import {
|
|
8
|
-
|
|
9
|
-
import {
|
|
10
|
-
|
|
11
|
-
import {
|
|
12
|
-
|
|
13
|
-
import {
|
|
14
|
-
|
|
15
|
-
import
|
|
16
|
-
|
|
17
|
-
import
|
|
18
|
-
|
|
19
|
-
import
|
|
20
|
-
|
|
21
|
-
import
|
|
22
|
-
|
|
23
|
-
|
|
24
|
-
export * from "@univerjs/
|
|
25
|
-
|
|
26
|
-
export * from "@univerjs/ui"
|
|
27
|
-
|
|
28
|
-
|
|
29
|
-
|
|
30
|
-
|
|
31
|
-
|
|
32
|
-
|
|
33
|
-
|
|
34
|
-
|
|
35
|
-
|
|
36
|
-
export * from "@univerjs/
|
|
37
|
-
|
|
38
|
-
|
|
39
|
-
|
|
40
|
-
|
|
41
|
-
|
|
42
|
-
|
|
43
|
-
|
|
44
|
-
|
|
45
|
-
|
|
46
|
-
|
|
47
|
-
|
|
48
|
-
|
|
49
|
-
|
|
50
|
-
|
|
51
|
-
|
|
52
|
-
|
|
53
|
-
|
|
54
|
-
|
|
55
|
-
|
|
56
|
-
|
|
57
|
-
|
|
58
|
-
|
|
59
|
-
|
|
60
|
-
|
|
61
|
-
|
|
62
|
-
|
|
63
|
-
|
|
64
|
-
|
|
65
|
-
|
|
66
|
-
|
|
67
|
-
|
|
68
|
-
|
|
69
|
-
|
|
70
|
-
|
|
71
|
-
|
|
72
|
-
|
|
73
|
-
|
|
74
|
-
|
|
75
|
-
|
|
76
|
-
|
|
77
|
-
|
|
78
|
-
|
|
79
|
-
|
|
80
|
-
|
|
81
|
-
|
|
82
|
-
|
|
83
|
-
|
|
84
|
-
|
|
85
|
-
|
|
86
|
-
|
|
87
|
-
|
|
88
|
-
|
|
89
|
-
|
|
90
|
-
|
|
91
|
-
|
|
92
|
-
|
|
93
|
-
|
|
94
|
-
|
|
95
|
-
|
|
96
|
-
|
|
97
|
-
|
|
98
|
-
|
|
99
|
-
|
|
100
|
-
|
|
101
|
-
|
|
102
|
-
|
|
103
|
-
|
|
104
|
-
|
|
105
|
-
|
|
106
|
-
|
|
107
|
-
|
|
108
|
-
|
|
109
|
-
|
|
110
|
-
}]
|
|
111
|
-
].filter((P) => !!P)
|
|
112
|
-
};
|
|
1
|
+
import { UniverDocsPlugin } from "@univerjs/docs";
|
|
2
|
+
import { UniverDocsUIPlugin } from "@univerjs/docs-ui";
|
|
3
|
+
import { UniverFormulaEnginePlugin } from "@univerjs/engine-formula";
|
|
4
|
+
import { UniverRenderEnginePlugin } from "@univerjs/engine-render";
|
|
5
|
+
import { UniverNetworkPlugin } from "@univerjs/network";
|
|
6
|
+
import { UniverRPCMainThreadPlugin } from "@univerjs/rpc";
|
|
7
|
+
import { UniverSheetsPlugin } from "@univerjs/sheets";
|
|
8
|
+
import { UniverSheetsFormulaPlugin } from "@univerjs/sheets-formula";
|
|
9
|
+
import { UniverSheetsFormulaUIPlugin } from "@univerjs/sheets-formula-ui";
|
|
10
|
+
import { UniverSheetsNumfmtPlugin } from "@univerjs/sheets-numfmt";
|
|
11
|
+
import { UniverSheetsNumfmtUIPlugin } from "@univerjs/sheets-numfmt-ui";
|
|
12
|
+
import { UniverSheetsUIPlugin } from "@univerjs/sheets-ui";
|
|
13
|
+
import { UniverUIPlugin } from "@univerjs/ui";
|
|
14
|
+
import "@univerjs/network/facade";
|
|
15
|
+
import "@univerjs/sheets/facade";
|
|
16
|
+
import "@univerjs/ui/facade";
|
|
17
|
+
import "@univerjs/docs-ui/facade";
|
|
18
|
+
import "@univerjs/sheets-ui/facade";
|
|
19
|
+
import "@univerjs/engine-formula/facade";
|
|
20
|
+
import "@univerjs/sheets-formula/facade";
|
|
21
|
+
import "@univerjs/sheets-numfmt/facade";
|
|
22
|
+
import "@univerjs/sheets-formula-ui/facade";
|
|
23
|
+
|
|
24
|
+
export * from "@univerjs/docs"
|
|
25
|
+
|
|
26
|
+
export * from "@univerjs/docs-ui"
|
|
27
|
+
|
|
28
|
+
export * from "@univerjs/engine-formula"
|
|
29
|
+
|
|
30
|
+
export * from "@univerjs/engine-render"
|
|
31
|
+
|
|
32
|
+
export * from "@univerjs/network"
|
|
33
|
+
|
|
34
|
+
export * from "@univerjs/rpc"
|
|
35
|
+
|
|
36
|
+
export * from "@univerjs/sheets"
|
|
37
|
+
|
|
38
|
+
export * from "@univerjs/sheets-formula"
|
|
39
|
+
|
|
40
|
+
export * from "@univerjs/sheets-formula-ui"
|
|
41
|
+
|
|
42
|
+
export * from "@univerjs/sheets-numfmt"
|
|
43
|
+
|
|
44
|
+
export * from "@univerjs/sheets-numfmt-ui"
|
|
45
|
+
|
|
46
|
+
export * from "@univerjs/sheets-ui"
|
|
47
|
+
|
|
48
|
+
export * from "@univerjs/ui"
|
|
49
|
+
|
|
50
|
+
export * from "@univerjs/design"
|
|
51
|
+
|
|
52
|
+
//#region src/preset.ts
|
|
53
|
+
/**
|
|
54
|
+
* This presets helps you to create a Univer sheet with open sourced features.
|
|
55
|
+
*/
|
|
56
|
+
function UniverSheetsCorePreset(config = {}) {
|
|
57
|
+
var _sheets$protectedRang;
|
|
58
|
+
const { container = "app", workerURL: workerSrc, header, footer, toolbar, ribbonType, formulaBar, menu, contextMenu, disableAutoFocus, customFontFamily, docs, sheets, formula, disableTextFormatAlert, disableTextFormatMark } = config;
|
|
59
|
+
const useWorker = !!workerSrc;
|
|
60
|
+
return { plugins: [
|
|
61
|
+
UniverNetworkPlugin,
|
|
62
|
+
[UniverDocsPlugin, { hasScroll: docs === null || docs === void 0 ? void 0 : docs.hasScroll }],
|
|
63
|
+
UniverRenderEnginePlugin,
|
|
64
|
+
[UniverUIPlugin, {
|
|
65
|
+
container,
|
|
66
|
+
header,
|
|
67
|
+
toolbar,
|
|
68
|
+
ribbonType,
|
|
69
|
+
menu,
|
|
70
|
+
contextMenu,
|
|
71
|
+
disableAutoFocus,
|
|
72
|
+
customFontFamily
|
|
73
|
+
}],
|
|
74
|
+
UniverDocsUIPlugin,
|
|
75
|
+
useWorker ? [UniverRPCMainThreadPlugin, { workerURL: workerSrc }] : null,
|
|
76
|
+
[UniverFormulaEnginePlugin, {
|
|
77
|
+
notExecuteFormula: useWorker,
|
|
78
|
+
function: formula === null || formula === void 0 ? void 0 : formula.function
|
|
79
|
+
}],
|
|
80
|
+
[UniverSheetsPlugin, {
|
|
81
|
+
notExecuteFormula: useWorker,
|
|
82
|
+
onlyRegisterFormulaRelatedMutations: false,
|
|
83
|
+
isRowStylePrecedeColumnStyle: sheets === null || sheets === void 0 ? void 0 : sheets.isRowStylePrecedeColumnStyle,
|
|
84
|
+
autoHeightForMergedCells: sheets === null || sheets === void 0 ? void 0 : sheets.autoHeightForMergedCells,
|
|
85
|
+
freezeSync: sheets === null || sheets === void 0 ? void 0 : sheets.freezeSync
|
|
86
|
+
}],
|
|
87
|
+
[UniverSheetsUIPlugin, {
|
|
88
|
+
formulaBar,
|
|
89
|
+
footer,
|
|
90
|
+
maxAutoHeightCount: sheets === null || sheets === void 0 ? void 0 : sheets.maxAutoHeightCount,
|
|
91
|
+
clipboardConfig: sheets === null || sheets === void 0 ? void 0 : sheets.clipboardConfig,
|
|
92
|
+
scrollConfig: sheets === null || sheets === void 0 ? void 0 : sheets.scrollConfig,
|
|
93
|
+
protectedRangeShadow: (_sheets$protectedRang = sheets === null || sheets === void 0 ? void 0 : sheets.protectedRangeShadow) !== null && _sheets$protectedRang !== void 0 ? _sheets$protectedRang : true,
|
|
94
|
+
protectedRangeUserSelector: sheets === null || sheets === void 0 ? void 0 : sheets.protectedRangeUserSelector,
|
|
95
|
+
disableForceStringAlert: sheets === null || sheets === void 0 ? void 0 : sheets.disableForceStringAlert,
|
|
96
|
+
disableForceStringMark: sheets === null || sheets === void 0 ? void 0 : sheets.disableForceStringMark
|
|
97
|
+
}],
|
|
98
|
+
[UniverSheetsNumfmtPlugin, {
|
|
99
|
+
disableTextFormatAlert,
|
|
100
|
+
disableTextFormatMark
|
|
101
|
+
}],
|
|
102
|
+
UniverSheetsNumfmtUIPlugin,
|
|
103
|
+
[UniverSheetsFormulaPlugin, {
|
|
104
|
+
notExecuteFormula: useWorker,
|
|
105
|
+
description: formula === null || formula === void 0 ? void 0 : formula.description,
|
|
106
|
+
initialFormulaComputing: formula === null || formula === void 0 ? void 0 : formula.initialFormulaComputing
|
|
107
|
+
}],
|
|
108
|
+
[UniverSheetsFormulaUIPlugin, { functionScreenTips: formula === null || formula === void 0 ? void 0 : formula.functionScreenTips }]
|
|
109
|
+
].filter((v) => !!v) };
|
|
113
110
|
}
|
|
114
|
-
|
|
115
|
-
|
|
116
|
-
};
|
|
111
|
+
|
|
112
|
+
//#endregion
|
|
113
|
+
export { UniverSheetsCorePreset };
|
package/lib/es/locales/ar-SA.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/ar-SA";
|
|
2
|
+
import univerjsdocsui from "@univerjs/docs-ui/locale/ar-SA";
|
|
3
|
+
import univerjssheets from "@univerjs/sheets/locale/ar-SA";
|
|
4
|
+
import univerjssheetsformula from "@univerjs/sheets-formula/locale/ar-SA";
|
|
5
|
+
import univerjssheetsformulaui from "@univerjs/sheets-formula-ui/locale/ar-SA";
|
|
6
|
+
import univerjssheetsnumfmtui from "@univerjs/sheets-numfmt-ui/locale/ar-SA";
|
|
7
|
+
import univerjssheetsui from "@univerjs/sheets-ui/locale/ar-SA";
|
|
8
|
+
import univerjsui from "@univerjs/ui/locale/ar-SA";
|
|
9
|
+
|
|
10
|
+
//#region src/locales/ar-SA.ts
|
|
11
|
+
var ar_SA_default = Object.assign({}, univerjsdesign, univerjsdocsui, univerjssheets, univerjssheetsformula, univerjssheetsformulaui, univerjssheetsnumfmtui, univerjssheetsui, univerjsui);
|
|
12
|
+
|
|
13
|
+
//#endregion
|
|
14
|
+
export { ar_SA_default as default };
|
package/lib/es/locales/ca-ES.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/ca-ES";
|
|
2
|
+
import univerjsdocsui from "@univerjs/docs-ui/locale/ca-ES";
|
|
3
|
+
import univerjssheets from "@univerjs/sheets/locale/ca-ES";
|
|
4
|
+
import univerjssheetsformula from "@univerjs/sheets-formula/locale/ca-ES";
|
|
5
|
+
import univerjssheetsformulaui from "@univerjs/sheets-formula-ui/locale/ca-ES";
|
|
6
|
+
import univerjssheetsnumfmtui from "@univerjs/sheets-numfmt-ui/locale/ca-ES";
|
|
7
|
+
import univerjssheetsui from "@univerjs/sheets-ui/locale/ca-ES";
|
|
8
|
+
import univerjsui from "@univerjs/ui/locale/ca-ES";
|
|
9
|
+
|
|
10
|
+
//#region src/locales/ca-ES.ts
|
|
11
|
+
var ca_ES_default = Object.assign({}, univerjsdesign, univerjsdocsui, univerjssheets, univerjssheetsformula, univerjssheetsformulaui, univerjssheetsnumfmtui, univerjssheetsui, univerjsui);
|
|
12
|
+
|
|
13
|
+
//#endregion
|
|
14
|
+
export { ca_ES_default as default };
|
package/lib/es/locales/de-DE.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/de-DE";
|
|
2
|
+
import univerjsdocsui from "@univerjs/docs-ui/locale/de-DE";
|
|
3
|
+
import univerjssheets from "@univerjs/sheets/locale/de-DE";
|
|
4
|
+
import univerjssheetsformula from "@univerjs/sheets-formula/locale/de-DE";
|
|
5
|
+
import univerjssheetsformulaui from "@univerjs/sheets-formula-ui/locale/de-DE";
|
|
6
|
+
import univerjssheetsnumfmtui from "@univerjs/sheets-numfmt-ui/locale/de-DE";
|
|
7
|
+
import univerjssheetsui from "@univerjs/sheets-ui/locale/de-DE";
|
|
8
|
+
import univerjsui from "@univerjs/ui/locale/de-DE";
|
|
9
|
+
|
|
10
|
+
//#region src/locales/de-DE.ts
|
|
11
|
+
var de_DE_default = Object.assign({}, univerjsdesign, univerjsdocsui, univerjssheets, univerjssheetsformula, univerjssheetsformulaui, univerjssheetsnumfmtui, univerjssheetsui, univerjsui);
|
|
12
|
+
|
|
13
|
+
//#endregion
|
|
14
|
+
export { de_DE_default as default };
|
package/lib/es/locales/en-US.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/en-US";
|
|
2
|
+
import univerjsdocsui from "@univerjs/docs-ui/locale/en-US";
|
|
3
|
+
import univerjssheets from "@univerjs/sheets/locale/en-US";
|
|
4
|
+
import univerjssheetsformula from "@univerjs/sheets-formula/locale/en-US";
|
|
5
|
+
import univerjssheetsformulaui from "@univerjs/sheets-formula-ui/locale/en-US";
|
|
6
|
+
import univerjssheetsnumfmtui from "@univerjs/sheets-numfmt-ui/locale/en-US";
|
|
7
|
+
import univerjssheetsui from "@univerjs/sheets-ui/locale/en-US";
|
|
8
|
+
import univerjsui from "@univerjs/ui/locale/en-US";
|
|
9
|
+
|
|
10
|
+
//#region src/locales/en-US.ts
|
|
11
|
+
var en_US_default = Object.assign({}, univerjsdesign, univerjsdocsui, univerjssheets, univerjssheetsformula, univerjssheetsformulaui, univerjssheetsnumfmtui, univerjssheetsui, univerjsui);
|
|
12
|
+
|
|
13
|
+
//#endregion
|
|
14
|
+
export { en_US_default as default };
|
package/lib/es/locales/es-ES.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/es-ES";
|
|
2
|
+
import univerjsdocsui from "@univerjs/docs-ui/locale/es-ES";
|
|
3
|
+
import univerjssheets from "@univerjs/sheets/locale/es-ES";
|
|
4
|
+
import univerjssheetsformula from "@univerjs/sheets-formula/locale/es-ES";
|
|
5
|
+
import univerjssheetsformulaui from "@univerjs/sheets-formula-ui/locale/es-ES";
|
|
6
|
+
import univerjssheetsnumfmtui from "@univerjs/sheets-numfmt-ui/locale/es-ES";
|
|
7
|
+
import univerjssheetsui from "@univerjs/sheets-ui/locale/es-ES";
|
|
8
|
+
import univerjsui from "@univerjs/ui/locale/es-ES";
|
|
9
|
+
|
|
10
|
+
//#region src/locales/es-ES.ts
|
|
11
|
+
var es_ES_default = Object.assign({}, univerjsdesign, univerjsdocsui, univerjssheets, univerjssheetsformula, univerjssheetsformulaui, univerjssheetsnumfmtui, univerjssheetsui, univerjsui);
|
|
12
|
+
|
|
13
|
+
//#endregion
|
|
14
|
+
export { es_ES_default as default };
|