@univerjs/preset-sheets-advanced 0.25.0 → 1.0.0-alpha.0
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/README.md +3 -3
- package/lib/cjs/index.js +198 -1
- package/lib/cjs/locales/ar-SA.js +27 -1
- package/lib/cjs/locales/ca-ES.js +27 -1
- package/lib/cjs/locales/de-DE.js +27 -1
- package/lib/cjs/locales/en-US.js +27 -1
- package/lib/cjs/locales/es-ES.js +27 -1
- package/lib/cjs/locales/fa-IR.js +27 -1
- package/lib/cjs/locales/fr-FR.js +27 -1
- package/lib/cjs/locales/id-ID.js +27 -1
- package/lib/cjs/locales/it-IT.js +27 -1
- package/lib/cjs/locales/ja-JP.js +27 -1
- package/lib/cjs/locales/ko-KR.js +27 -1
- package/lib/cjs/locales/pl-PL.js +27 -1
- package/lib/cjs/locales/pt-BR.js +27 -1
- package/lib/cjs/locales/ru-RU.js +27 -1
- package/lib/cjs/locales/sk-SK.js +27 -1
- package/lib/cjs/locales/vi-VN.js +27 -1
- package/lib/cjs/locales/zh-CN.js +27 -1
- package/lib/cjs/locales/zh-HK.js +27 -1
- package/lib/cjs/locales/zh-TW.js +27 -1
- package/lib/cjs/rolldown-runtime-C_NdSu1c.js +34 -0
- package/lib/cjs/worker.js +17 -1
- package/lib/es/index.js +103 -91
- package/lib/es/locales/ar-SA.js +16 -26
- package/lib/es/locales/ca-ES.js +16 -26
- package/lib/es/locales/de-DE.js +16 -26
- package/lib/es/locales/en-US.js +16 -26
- package/lib/es/locales/es-ES.js +16 -26
- package/lib/es/locales/fa-IR.js +16 -26
- package/lib/es/locales/fr-FR.js +16 -26
- package/lib/es/locales/id-ID.js +16 -26
- package/lib/es/locales/it-IT.js +16 -26
- package/lib/es/locales/ja-JP.js +16 -26
- package/lib/es/locales/ko-KR.js +16 -26
- package/lib/es/locales/pl-PL.js +16 -26
- package/lib/es/locales/pt-BR.js +16 -26
- package/lib/es/locales/ru-RU.js +16 -26
- package/lib/es/locales/sk-SK.js +16 -26
- package/lib/es/locales/vi-VN.js +16 -26
- package/lib/es/locales/zh-CN.js +16 -26
- package/lib/es/locales/zh-HK.js +16 -26
- package/lib/es/locales/zh-TW.js +16 -26
- package/lib/es/worker.js +15 -19
- package/lib/index.css +2762 -1
- package/lib/index.js +103 -91
- package/lib/locales/ar-SA.js +16 -26
- package/lib/locales/ca-ES.js +16 -26
- package/lib/locales/de-DE.js +16 -26
- package/lib/locales/en-US.js +16 -26
- package/lib/locales/es-ES.js +16 -26
- package/lib/locales/fa-IR.js +16 -26
- package/lib/locales/fr-FR.js +16 -26
- package/lib/locales/id-ID.js +16 -26
- package/lib/locales/it-IT.js +16 -26
- package/lib/locales/ja-JP.js +16 -26
- package/lib/locales/ko-KR.js +16 -26
- package/lib/locales/pl-PL.js +16 -26
- package/lib/locales/pt-BR.js +16 -26
- package/lib/locales/ru-RU.js +16 -26
- package/lib/locales/sk-SK.js +16 -26
- package/lib/locales/vi-VN.js +16 -26
- package/lib/locales/zh-CN.js +16 -26
- package/lib/locales/zh-HK.js +16 -26
- package/lib/locales/zh-TW.js +16 -26
- package/lib/types/index.d.ts +2 -2
- 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 +34 -0
- package/lib/types/worker.d.ts +1 -1
- package/lib/worker.js +15 -19
- package/package.json +36 -39
- package/LICENSE +0 -176
- package/lib/types/types.d.ts +0 -11
- package/lib/types/umd.d.ts +0 -41
- package/lib/umd/index.js +0 -89
- package/lib/umd/locales/ar-SA.js +0 -32
- package/lib/umd/locales/ca-ES.js +0 -32
- package/lib/umd/locales/de-DE.js +0 -32
- package/lib/umd/locales/en-US.js +0 -32
- package/lib/umd/locales/es-ES.js +0 -32
- package/lib/umd/locales/fa-IR.js +0 -32
- package/lib/umd/locales/fr-FR.js +0 -32
- package/lib/umd/locales/id-ID.js +0 -32
- package/lib/umd/locales/it-IT.js +0 -32
- package/lib/umd/locales/ja-JP.js +0 -32
- package/lib/umd/locales/ko-KR.js +0 -32
- package/lib/umd/locales/pl-PL.js +0 -32
- package/lib/umd/locales/pt-BR.js +0 -32
- package/lib/umd/locales/ru-RU.js +0 -32
- package/lib/umd/locales/sk-SK.js +0 -32
- package/lib/umd/locales/vi-VN.js +0 -32
- package/lib/umd/locales/zh-CN.js +0 -32
- package/lib/umd/locales/zh-HK.js +0 -32
- package/lib/umd/locales/zh-TW.js +0 -32
- package/lib/umd/worker.js +0 -1
package/lib/es/locales/zh-CN.js
CHANGED
|
@@ -1,26 +1,16 @@
|
|
|
1
|
-
import
|
|
2
|
-
import
|
|
3
|
-
import
|
|
4
|
-
import
|
|
5
|
-
import
|
|
6
|
-
import
|
|
7
|
-
import
|
|
8
|
-
import
|
|
9
|
-
import
|
|
10
|
-
import
|
|
11
|
-
|
|
12
|
-
|
|
13
|
-
|
|
14
|
-
|
|
15
|
-
|
|
16
|
-
|
|
17
|
-
o,
|
|
18
|
-
m,
|
|
19
|
-
n,
|
|
20
|
-
p,
|
|
21
|
-
u,
|
|
22
|
-
h
|
|
23
|
-
);
|
|
24
|
-
export {
|
|
25
|
-
C as default
|
|
26
|
-
};
|
|
1
|
+
import univerjsexchangeclient from "@univerjs-pro/exchange-client/locale/zh-CN";
|
|
2
|
+
import univerjssheetschart from "@univerjs-pro/sheets-chart/locale/zh-CN";
|
|
3
|
+
import univerjssheetschartui from "@univerjs-pro/sheets-chart-ui/locale/zh-CN";
|
|
4
|
+
import univerjssheetsexchangeclient from "@univerjs-pro/sheets-exchange-client/locale/zh-CN";
|
|
5
|
+
import univerjssheetsoutlineui from "@univerjs-pro/sheets-outline-ui/locale/zh-CN";
|
|
6
|
+
import univerjssheetspivot from "@univerjs-pro/sheets-pivot/locale/zh-CN";
|
|
7
|
+
import univerjssheetspivotui from "@univerjs-pro/sheets-pivot-ui/locale/zh-CN";
|
|
8
|
+
import univerjssheetsprint from "@univerjs-pro/sheets-print/locale/zh-CN";
|
|
9
|
+
import univerjssheetsshapeui from "@univerjs-pro/sheets-shape-ui/locale/zh-CN";
|
|
10
|
+
import univerjssheetssparklineui from "@univerjs-pro/sheets-sparkline-ui/locale/zh-CN";
|
|
11
|
+
|
|
12
|
+
//#region src/locales/zh-CN.ts
|
|
13
|
+
var zh_CN_default = Object.assign({}, univerjsexchangeclient, univerjssheetschart, univerjssheetschartui, univerjssheetsexchangeclient, univerjssheetsoutlineui, univerjssheetspivot, univerjssheetspivotui, univerjssheetsprint, univerjssheetsshapeui, univerjssheetssparklineui);
|
|
14
|
+
|
|
15
|
+
//#endregion
|
|
16
|
+
export { zh_CN_default as default };
|
package/lib/es/locales/zh-HK.js
CHANGED
|
@@ -1,26 +1,16 @@
|
|
|
1
|
-
import
|
|
2
|
-
import
|
|
3
|
-
import
|
|
4
|
-
import
|
|
5
|
-
import
|
|
6
|
-
import
|
|
7
|
-
import
|
|
8
|
-
import
|
|
9
|
-
import
|
|
10
|
-
import
|
|
11
|
-
|
|
12
|
-
|
|
13
|
-
|
|
14
|
-
|
|
15
|
-
|
|
16
|
-
|
|
17
|
-
o,
|
|
18
|
-
m,
|
|
19
|
-
n,
|
|
20
|
-
p,
|
|
21
|
-
u,
|
|
22
|
-
h
|
|
23
|
-
);
|
|
24
|
-
export {
|
|
25
|
-
H as default
|
|
26
|
-
};
|
|
1
|
+
import univerjsexchangeclient from "@univerjs-pro/exchange-client/locale/zh-HK";
|
|
2
|
+
import univerjssheetschart from "@univerjs-pro/sheets-chart/locale/zh-HK";
|
|
3
|
+
import univerjssheetschartui from "@univerjs-pro/sheets-chart-ui/locale/zh-HK";
|
|
4
|
+
import univerjssheetsexchangeclient from "@univerjs-pro/sheets-exchange-client/locale/zh-HK";
|
|
5
|
+
import univerjssheetsoutlineui from "@univerjs-pro/sheets-outline-ui/locale/zh-HK";
|
|
6
|
+
import univerjssheetspivot from "@univerjs-pro/sheets-pivot/locale/zh-HK";
|
|
7
|
+
import univerjssheetspivotui from "@univerjs-pro/sheets-pivot-ui/locale/zh-HK";
|
|
8
|
+
import univerjssheetsprint from "@univerjs-pro/sheets-print/locale/zh-HK";
|
|
9
|
+
import univerjssheetsshapeui from "@univerjs-pro/sheets-shape-ui/locale/zh-HK";
|
|
10
|
+
import univerjssheetssparklineui from "@univerjs-pro/sheets-sparkline-ui/locale/zh-HK";
|
|
11
|
+
|
|
12
|
+
//#region src/locales/zh-HK.ts
|
|
13
|
+
var zh_HK_default = Object.assign({}, univerjsexchangeclient, univerjssheetschart, univerjssheetschartui, univerjssheetsexchangeclient, univerjssheetsoutlineui, univerjssheetspivot, univerjssheetspivotui, univerjssheetsprint, univerjssheetsshapeui, univerjssheetssparklineui);
|
|
14
|
+
|
|
15
|
+
//#endregion
|
|
16
|
+
export { zh_HK_default as default };
|
package/lib/es/locales/zh-TW.js
CHANGED
|
@@ -1,26 +1,16 @@
|
|
|
1
|
-
import
|
|
2
|
-
import
|
|
3
|
-
import
|
|
4
|
-
import
|
|
5
|
-
import
|
|
6
|
-
import
|
|
7
|
-
import
|
|
8
|
-
import
|
|
9
|
-
import
|
|
10
|
-
import
|
|
11
|
-
|
|
12
|
-
|
|
13
|
-
|
|
14
|
-
|
|
15
|
-
|
|
16
|
-
|
|
17
|
-
o,
|
|
18
|
-
m,
|
|
19
|
-
n,
|
|
20
|
-
p,
|
|
21
|
-
u,
|
|
22
|
-
h
|
|
23
|
-
);
|
|
24
|
-
export {
|
|
25
|
-
L as default
|
|
26
|
-
};
|
|
1
|
+
import univerjsexchangeclient from "@univerjs-pro/exchange-client/locale/zh-TW";
|
|
2
|
+
import univerjssheetschart from "@univerjs-pro/sheets-chart/locale/zh-TW";
|
|
3
|
+
import univerjssheetschartui from "@univerjs-pro/sheets-chart-ui/locale/zh-TW";
|
|
4
|
+
import univerjssheetsexchangeclient from "@univerjs-pro/sheets-exchange-client/locale/zh-TW";
|
|
5
|
+
import univerjssheetsoutlineui from "@univerjs-pro/sheets-outline-ui/locale/zh-TW";
|
|
6
|
+
import univerjssheetspivot from "@univerjs-pro/sheets-pivot/locale/zh-TW";
|
|
7
|
+
import univerjssheetspivotui from "@univerjs-pro/sheets-pivot-ui/locale/zh-TW";
|
|
8
|
+
import univerjssheetsprint from "@univerjs-pro/sheets-print/locale/zh-TW";
|
|
9
|
+
import univerjssheetsshapeui from "@univerjs-pro/sheets-shape-ui/locale/zh-TW";
|
|
10
|
+
import univerjssheetssparklineui from "@univerjs-pro/sheets-sparkline-ui/locale/zh-TW";
|
|
11
|
+
|
|
12
|
+
//#region src/locales/zh-TW.ts
|
|
13
|
+
var zh_TW_default = Object.assign({}, univerjsexchangeclient, univerjssheetschart, univerjssheetschartui, univerjssheetsexchangeclient, univerjssheetsoutlineui, univerjssheetspivot, univerjssheetspivotui, univerjssheetsprint, univerjssheetsshapeui, univerjssheetssparklineui);
|
|
14
|
+
|
|
15
|
+
//#endregion
|
|
16
|
+
export { zh_TW_default as default };
|
package/lib/es/worker.js
CHANGED
|
@@ -1,20 +1,16 @@
|
|
|
1
|
-
import { UniverProFormulaEnginePlugin
|
|
2
|
-
import { UniverLicensePlugin
|
|
3
|
-
import { UniverSheetsPivotTablePlugin
|
|
4
|
-
|
|
5
|
-
|
|
6
|
-
}) {
|
|
7
|
-
|
|
8
|
-
|
|
9
|
-
|
|
10
|
-
|
|
11
|
-
|
|
12
|
-
|
|
13
|
-
r,
|
|
14
|
-
[o, { notExecuteFormula: !1 }]
|
|
15
|
-
]
|
|
16
|
-
};
|
|
1
|
+
import { UniverProFormulaEnginePlugin } from "@univerjs-pro/engine-formula";
|
|
2
|
+
import { UniverLicensePlugin } from "@univerjs-pro/license";
|
|
3
|
+
import { UniverSheetsPivotTablePlugin } from "@univerjs-pro/sheets-pivot";
|
|
4
|
+
|
|
5
|
+
//#region src/worker.ts
|
|
6
|
+
function UniverSheetsAdvancedWorkerPreset(config = { license: "" }) {
|
|
7
|
+
const { license } = config;
|
|
8
|
+
return { plugins: [
|
|
9
|
+
[UniverLicensePlugin, { license }],
|
|
10
|
+
UniverProFormulaEnginePlugin,
|
|
11
|
+
[UniverSheetsPivotTablePlugin, { notExecuteFormula: false }]
|
|
12
|
+
] };
|
|
17
13
|
}
|
|
18
|
-
|
|
19
|
-
|
|
20
|
-
};
|
|
14
|
+
|
|
15
|
+
//#endregion
|
|
16
|
+
export { UniverSheetsAdvancedWorkerPreset };
|