@univerjs-pro/sheets-pivot 1.0.0-rc.0 → 1.0.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/lib/cjs/facade.js +1 -1
- package/lib/cjs/index.js +1 -1
- package/lib/cjs/locale/ar-SA.js +1 -1
- package/lib/cjs/locale/ca-ES.js +1 -1
- package/lib/cjs/locale/de-DE.js +1 -1
- package/lib/cjs/locale/en-US.js +1 -1
- package/lib/cjs/locale/es-ES.js +1 -1
- package/lib/cjs/locale/fa-IR.js +1 -1
- package/lib/cjs/locale/fr-FR.js +1 -1
- package/lib/cjs/locale/id-ID.js +1 -1
- package/lib/cjs/locale/it-IT.js +1 -1
- package/lib/cjs/locale/ja-JP.js +1 -1
- package/lib/cjs/locale/ko-KR.js +1 -1
- package/lib/cjs/locale/pl-PL.js +1 -1
- package/lib/cjs/locale/pt-BR.js +1 -1
- package/lib/cjs/locale/ru-RU.js +1 -1
- package/lib/cjs/locale/sk-SK.js +1 -1
- package/lib/cjs/locale/vi-VN.js +1 -1
- package/lib/cjs/locale/zh-CN.js +1 -1
- package/lib/cjs/locale/zh-HK.js +1 -1
- package/lib/cjs/locale/zh-TW.js +1 -1
- package/lib/es/facade.js +1 -1
- package/lib/es/index.js +1 -1
- package/lib/es/locale/ar-SA.js +1 -1
- package/lib/es/locale/ca-ES.js +1 -1
- package/lib/es/locale/de-DE.js +1 -1
- package/lib/es/locale/en-US.js +1 -1
- package/lib/es/locale/es-ES.js +1 -1
- package/lib/es/locale/fa-IR.js +1 -1
- package/lib/es/locale/fr-FR.js +1 -1
- package/lib/es/locale/id-ID.js +1 -1
- package/lib/es/locale/it-IT.js +1 -1
- package/lib/es/locale/ja-JP.js +1 -1
- package/lib/es/locale/ko-KR.js +1 -1
- package/lib/es/locale/pl-PL.js +1 -1
- package/lib/es/locale/pt-BR.js +1 -1
- package/lib/es/locale/ru-RU.js +1 -1
- package/lib/es/locale/sk-SK.js +1 -1
- package/lib/es/locale/vi-VN.js +1 -1
- package/lib/es/locale/zh-CN.js +1 -1
- package/lib/es/locale/zh-HK.js +1 -1
- package/lib/es/locale/zh-TW.js +1 -1
- package/lib/facade.js +1 -1
- package/lib/index.js +1 -1
- package/lib/locale/ar-SA.js +1 -1
- package/lib/locale/ca-ES.js +1 -1
- package/lib/locale/de-DE.js +1 -1
- package/lib/locale/en-US.js +1 -1
- package/lib/locale/es-ES.js +1 -1
- package/lib/locale/fa-IR.js +1 -1
- package/lib/locale/fr-FR.js +1 -1
- package/lib/locale/id-ID.js +1 -1
- package/lib/locale/it-IT.js +1 -1
- package/lib/locale/ja-JP.js +1 -1
- package/lib/locale/ko-KR.js +1 -1
- package/lib/locale/pl-PL.js +1 -1
- package/lib/locale/pt-BR.js +1 -1
- package/lib/locale/ru-RU.js +1 -1
- package/lib/locale/sk-SK.js +1 -1
- package/lib/locale/vi-VN.js +1 -1
- package/lib/locale/zh-CN.js +1 -1
- package/lib/locale/zh-HK.js +1 -1
- package/lib/locale/zh-TW.js +1 -1
- package/lib/types/commands/command/set-pivot-collapse-by-field.command.d.ts +8 -0
- package/lib/types/commands/command/set-pivot-collapse.command.d.ts +8 -1
- package/lib/types/commands/command/update-value-position.command.d.ts +8 -0
- package/lib/types/const/type.d.ts +23 -4
- package/lib/types/controllers/config.schema.d.ts +11 -0
- package/lib/types/controllers/sheets-pivot-cache-provider.controller.d.ts +6 -0
- package/lib/types/controllers/sheets-pivot-caculate.controller.d.ts +4 -1
- package/lib/types/facade/f-pivot-table.d.ts +3 -2
- package/lib/types/facade/index.d.ts +1 -0
- package/lib/types/index.d.ts +8 -2
- package/lib/types/models/sheets-pivot-data-field-manager.d.ts +4 -3
- package/lib/types/models/sheets-pivot-data-source-model.d.ts +10 -3
- package/lib/types/plugin.d.ts +1 -1
- package/lib/types/services/sheets-pivot-cache.service.d.ts +35 -0
- package/lib/types/services/sheets-pivot-unit-cache.provider.d.ts +10 -0
- package/lib/umd/facade.js +1 -1
- package/lib/umd/index.js +1 -1
- package/lib/umd/locale/ar-SA.js +1 -1
- package/lib/umd/locale/ca-ES.js +1 -1
- package/lib/umd/locale/de-DE.js +1 -1
- package/lib/umd/locale/en-US.js +1 -1
- package/lib/umd/locale/es-ES.js +1 -1
- package/lib/umd/locale/fa-IR.js +1 -1
- package/lib/umd/locale/fr-FR.js +1 -1
- package/lib/umd/locale/id-ID.js +1 -1
- package/lib/umd/locale/it-IT.js +1 -1
- package/lib/umd/locale/ja-JP.js +1 -1
- package/lib/umd/locale/ko-KR.js +1 -1
- package/lib/umd/locale/pl-PL.js +1 -1
- package/lib/umd/locale/pt-BR.js +1 -1
- package/lib/umd/locale/ru-RU.js +1 -1
- package/lib/umd/locale/sk-SK.js +1 -1
- package/lib/umd/locale/vi-VN.js +1 -1
- package/lib/umd/locale/zh-CN.js +1 -1
- package/lib/umd/locale/zh-HK.js +1 -1
- package/lib/umd/locale/zh-TW.js +1 -1
- package/package.json +12 -11
package/lib/umd/locale/zh-CN.js
CHANGED
|
@@ -1 +1 @@
|
|
|
1
|
-
function
|
|
1
|
+
function _0x3bc8(_0xc8a96,_0x3d0fab){_0xc8a96=_0xc8a96-0x12f;var _0x363bb2=_0x363b();var _0x3bc8e7=_0x363bb2[_0xc8a96];return _0x3bc8e7;}function _0x363b(){var _0x2614c3=['313656YffDGf','1693mfMosQ','月-日','平均值项:','方差项:','(其他)','{0}:{1}','乘积项:','行标签','658rlOuJq','求和项:','{0}\x20{1}','78EXZiYf','function','1682954evZHVU','年-季度','{0}-{1}','Q{0}','(空白)','amd','28424vtkzau','数值计数项:','{0}','603pLdgij','{0}{1}','4433YKmzti','最大值项:','{0}-{1}-{2}','UniverProSheetsPivotZhCN','列标签','计数项:','最小值项:','159075EMTKXn','22130TyCqIn','140PyarYw','标准偏差项:'];_0x363b=function(){return _0x2614c3;};return _0x363b();}(function(_0x32b8e9,_0x6c5212){var _0x59ade9=_0x3bc8,_0x4c7056=_0x32b8e9();while(!![]){try{var _0x244bfb=-parseInt(_0x59ade9(0x138))/0x1*(parseInt(_0x59ade9(0x140))/0x2)+-parseInt(_0x59ade9(0x133))/0x3+parseInt(_0x59ade9(0x137))/0x4+parseInt(_0x59ade9(0x135))/0x5*(-parseInt(_0x59ade9(0x143))/0x6)+parseInt(_0x59ade9(0x145))/0x7+-parseInt(_0x59ade9(0x14b))/0x8*(parseInt(_0x59ade9(0x14e))/0x9)+-parseInt(_0x59ade9(0x134))/0xa*(-parseInt(_0x59ade9(0x150))/0xb);if(_0x244bfb===_0x6c5212)break;else _0x4c7056['push'](_0x4c7056['shift']());}catch(_0x4bbbd5){_0x4c7056['push'](_0x4c7056['shift']());}}}(_0x363b,0x586fe),function(_0x4af9a5,_0x10fa54){var _0x5049fb=_0x3bc8;typeof exports=='object'&&typeof module<'u'?module['exports']=_0x10fa54():typeof define==_0x5049fb(0x144)&&define[_0x5049fb(0x14a)]?define([],_0x10fa54):(_0x4af9a5=typeof globalThis<'u'?globalThis:_0x4af9a5||self,_0x4af9a5[_0x5049fb(0x12f)]=_0x10fa54());}(this,function(){var _0x291246=_0x3bc8;return{'sheets-pivot':{'sheet':'工作表','blankValue':_0x291246(0x149),'otherValue':_0x291246(0x13c),'columnName':'列\x20','subTotalText':'汇总','grandTotalText':'总计','valueText':'值','rowLabels':_0x291246(0x13f),'columnLabels':_0x291246(0x130),'averageName':_0x291246(0x13a),'countName':_0x291246(0x131),'countNumsName':_0x291246(0x14c),'maxName':_0x291246(0x151),'minName':_0x291246(0x132),'productName':_0x291246(0x13e),'stdDevName':_0x291246(0x136),'stdDevpName':'总体标准偏差项:','sumName':_0x291246(0x141),'varName':_0x291246(0x13b),'varpName':'总体方差项:','subTotal':'汇总','grandTotal':'总计','value':'值','blank':'空白','other':'其他','renderText':{'valueField':_0x291246(0x14f),'subtotal':_0x291246(0x142),'grandTotal':'{0}\x20{1}','multipleGrandTotal':'{0}','subtotalWithValue':_0x291246(0x142)},'emptyPivot':{'filter':'筛选','row':'行','column':'列','values':'值'},'dateGroup':{'year':'年','month':'月','day':'日','date':'日','hour':'小时','minute':'分钟','hourMinute':'小时-分钟','quarter':'季度','monthDate':_0x291246(0x139),'yearQuarter':_0x291246(0x146),'yearMonth':'年-月','yearMonthDate':'年-月-日'},'cellDateGroupDisplay':{'minute':'{0}','hour':_0x291246(0x14d),'hourMinute':_0x291246(0x13d),'date':'{0}','month':_0x291246(0x14d),'monthDate':_0x291246(0x147),'quarter':_0x291246(0x148),'year':_0x291246(0x14d),'yearMonth':_0x291246(0x147),'yearMonthDate':_0x291246(0x152),'yearQuarter':'{0}-Q{1}'}}};}));
|
package/lib/umd/locale/zh-HK.js
CHANGED
|
@@ -1 +1 @@
|
|
|
1
|
-
|
|
1
|
+
(function(_0x4ae650,_0xae15cc){var _0x59e3a4=_0x2585,_0x50553a=_0x4ae650();while(!![]){try{var _0x59f9ad=-parseInt(_0x59e3a4(0x1f4))/0x1+-parseInt(_0x59e3a4(0x1ea))/0x2+-parseInt(_0x59e3a4(0x1ff))/0x3*(parseInt(_0x59e3a4(0x205))/0x4)+parseInt(_0x59e3a4(0x200))/0x5+parseInt(_0x59e3a4(0x204))/0x6*(parseInt(_0x59e3a4(0x1ed))/0x7)+-parseInt(_0x59e3a4(0x1ee))/0x8+-parseInt(_0x59e3a4(0x201))/0x9*(-parseInt(_0x59e3a4(0x203))/0xa);if(_0x59f9ad===_0xae15cc)break;else _0x50553a['push'](_0x50553a['shift']());}catch(_0x59f71c){_0x50553a['push'](_0x50553a['shift']());}}}(_0xf447,0xad43a),function(_0x3738b8,_0x83592){var _0x409a53=_0x2585;typeof exports=='object'&&typeof module<'u'?module[_0x409a53(0x1fe)]=_0x83592():typeof define==_0x409a53(0x207)&&define[_0x409a53(0x1f5)]?define([],_0x83592):(_0x3738b8=typeof globalThis<'u'?globalThis:_0x3738b8||self,_0x3738b8[_0x409a53(0x206)]=_0x83592());}(this,function(){var _0x385374=_0x2585;return{'sheets-pivot':{'sheet':_0x385374(0x1f6),'blankValue':_0x385374(0x1fb),'otherValue':'(其他)','columnName':'欄\x20','subTotalText':'小計','grandTotalText':'總計','valueText':'值','rowLabels':'列標籤','columnLabels':_0x385374(0x1e9),'averageName':_0x385374(0x1f2),'countName':_0x385374(0x1e8),'countNumsName':'數值計數項:','maxName':'最大值項:','minName':_0x385374(0x1fc),'productName':_0x385374(0x1f8),'stdDevName':_0x385374(0x1fd),'stdDevpName':_0x385374(0x202),'sumName':_0x385374(0x1ef),'varName':_0x385374(0x1f1),'varpName':_0x385374(0x1eb),'subTotal':'小計','grandTotal':'總計','value':'值','blank':'空白','other':'其他','renderText':{'valueField':'{0}{1}','subtotal':'{0}\x20{1}','grandTotal':_0x385374(0x208),'multipleGrandTotal':_0x385374(0x1f3),'subtotalWithValue':_0x385374(0x208)},'emptyPivot':{'filter':'篩選','row':'列','column':'欄','values':'值'},'dateGroup':{'year':'年','month':'月','day':'日','date':'日','hour':'小時','minute':'分鐘','hourMinute':'小時-分鐘','quarter':'季','monthDate':_0x385374(0x1f0),'yearQuarter':'年-季','yearMonth':'年-月','yearMonthDate':_0x385374(0x1f7)},'cellDateGroupDisplay':{'minute':_0x385374(0x1f3),'hour':_0x385374(0x1f3),'hourMinute':_0x385374(0x1fa),'date':_0x385374(0x1f3),'month':_0x385374(0x1f3),'monthDate':_0x385374(0x209),'quarter':'Q{0}','year':'{0}','yearMonth':_0x385374(0x209),'yearMonthDate':_0x385374(0x1f9),'yearQuarter':_0x385374(0x1ec)}}};}));function _0x2585(_0x3b2a0d,_0x123d7f){_0x3b2a0d=_0x3b2a0d-0x1e8;var _0xf44700=_0xf447();var _0x25853a=_0xf44700[_0x3b2a0d];return _0x25853a;}function _0xf447(){var _0xffb962=['總和項:','月-日','變異數項:','平均值項:','{0}','1268275oPpron','amd','工作表','年-月-日','乘積項:','{0}-{1}-{2}','{0}:{1}','(空白)','最小值項:','標準差項:','exports','867yoKYLY','2175255bGPLxj','9idAthf','母體標準差項:','40762090JuHHaV','251958raBYfQ','14744Hdawhq','UniverProSheetsPivotZhHK','function','{0}\x20{1}','{0}-{1}','計數項:','欄標籤','2466078NOYlBE','母體變異數項:','{0}-Q{1}','84EbXqDX','5911344OUQJPv'];_0xf447=function(){return _0xffb962;};return _0xf447();}
|
package/lib/umd/locale/zh-TW.js
CHANGED
|
@@ -1 +1 @@
|
|
|
1
|
-
function
|
|
1
|
+
function _0x1924(_0x5b1cd8,_0x10f775){_0x5b1cd8=_0x5b1cd8-0x1a9;var _0x3d82a6=_0x3d82();var _0x192426=_0x3d82a6[_0x5b1cd8];return _0x192426;}(function(_0x517ed3,_0x4a5585){var _0x3c09d6=_0x1924,_0x485434=_0x517ed3();while(!![]){try{var _0x8199b7=-parseInt(_0x3c09d6(0x1ca))/0x1*(parseInt(_0x3c09d6(0x1c9))/0x2)+-parseInt(_0x3c09d6(0x1b0))/0x3*(parseInt(_0x3c09d6(0x1c6))/0x4)+parseInt(_0x3c09d6(0x1ac))/0x5+parseInt(_0x3c09d6(0x1a9))/0x6*(parseInt(_0x3c09d6(0x1be))/0x7)+-parseInt(_0x3c09d6(0x1c1))/0x8+parseInt(_0x3c09d6(0x1c5))/0x9+-parseInt(_0x3c09d6(0x1c4))/0xa*(parseInt(_0x3c09d6(0x1ae))/0xb);if(_0x8199b7===_0x4a5585)break;else _0x485434['push'](_0x485434['shift']());}catch(_0x212e1d){_0x485434['push'](_0x485434['shift']());}}}(_0x3d82,0x9fffc),function(_0x1c0f73,_0x2e3590){var _0x204046=_0x1924;typeof exports=='object'&&typeof module<'u'?module[_0x204046(0x1b1)]=_0x2e3590():typeof define=='function'&&define[_0x204046(0x1c8)]?define([],_0x2e3590):(_0x1c0f73=typeof globalThis<'u'?globalThis:_0x1c0f73||self,_0x1c0f73['UniverProSheetsPivotZhTW']=_0x2e3590());}(this,function(){var _0x2002e7=_0x1924;return{'sheets-pivot':{'sheet':_0x2002e7(0x1cd),'blankValue':_0x2002e7(0x1cc),'otherValue':'(其他)','columnName':'欄\x20','subTotalText':'小計','grandTotalText':'總計','valueText':'值','rowLabels':_0x2002e7(0x1c3),'columnLabels':_0x2002e7(0x1b7),'averageName':_0x2002e7(0x1ba),'countName':_0x2002e7(0x1c2),'countNumsName':_0x2002e7(0x1bc),'maxName':_0x2002e7(0x1aa),'minName':'最小值項:','productName':_0x2002e7(0x1c0),'stdDevName':_0x2002e7(0x1ad),'stdDevpName':_0x2002e7(0x1af),'sumName':_0x2002e7(0x1b8),'varName':_0x2002e7(0x1c7),'varpName':'母體變異數項:','subTotal':'小計','grandTotal':'總計','value':'值','blank':'空白','other':'其他','renderText':{'valueField':_0x2002e7(0x1b9),'subtotal':'{0}\x20{1}','grandTotal':_0x2002e7(0x1b3),'multipleGrandTotal':_0x2002e7(0x1ab),'subtotalWithValue':'{0}\x20{1}'},'emptyPivot':{'filter':'篩選','row':'列','column':'欄','values':'值'},'dateGroup':{'year':'年','month':'月','day':'日','date':'日','hour':'小時','minute':'分鐘','hourMinute':'小時-分鐘','quarter':'季','monthDate':_0x2002e7(0x1bd),'yearQuarter':_0x2002e7(0x1b6),'yearMonth':_0x2002e7(0x1bb),'yearMonthDate':_0x2002e7(0x1bf)},'cellDateGroupDisplay':{'minute':_0x2002e7(0x1ab),'hour':_0x2002e7(0x1ab),'hourMinute':_0x2002e7(0x1b4),'date':_0x2002e7(0x1ab),'month':_0x2002e7(0x1ab),'monthDate':_0x2002e7(0x1cb),'quarter':_0x2002e7(0x1b2),'year':_0x2002e7(0x1ab),'yearMonth':_0x2002e7(0x1cb),'yearMonthDate':'{0}-{1}-{2}','yearQuarter':_0x2002e7(0x1b5)}}};}));function _0x3d82(){var _0x37e195=['8746234OlRGAk','年-月-日','乘積項:','4538816AxsNLS','計數項:','列標籤','460WdDemY','5789241dkOeNb','1796FFEMmj','變異數項:','amd','20NOMLvy','31079HoCWlp','{0}-{1}','(空白)','工作表','6GofIbg','最大值項:','{0}','1214440nwlYqb','標準差項:','140008xkJyMX','母體標準差項:','111IYWfNM','exports','Q{0}','{0}\x20{1}','{0}:{1}','{0}-Q{1}','年-季','欄標籤','總和項:','{0}{1}','平均值項:','年-月','數值計數項:','月-日'];_0x3d82=function(){return _0x37e195;};return _0x3d82();}
|
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@univerjs-pro/sheets-pivot",
|
|
3
|
-
"version": "1.0.0
|
|
3
|
+
"version": "1.0.0",
|
|
4
4
|
"private": false,
|
|
5
5
|
"description": "Pivot table integration for Univer Sheets.",
|
|
6
6
|
"author": "DreamNum Co., Ltd. <developer@univer.ai>",
|
|
@@ -66,20 +66,21 @@
|
|
|
66
66
|
"rxjs": ">=7.0.0"
|
|
67
67
|
},
|
|
68
68
|
"dependencies": {
|
|
69
|
-
"@univerjs-pro/engine-pivot": "1.0.0
|
|
70
|
-
"@univerjs-pro/license": "1.0.0
|
|
71
|
-
"@univerjs/
|
|
72
|
-
"@univerjs/
|
|
73
|
-
"@univerjs/engine-
|
|
74
|
-
"@univerjs/
|
|
75
|
-
"@univerjs/
|
|
76
|
-
"@univerjs/sheets
|
|
69
|
+
"@univerjs-pro/engine-pivot": "1.0.0",
|
|
70
|
+
"@univerjs-pro/license": "1.0.0",
|
|
71
|
+
"@univerjs-pro/pivot-cache": "1.0.0",
|
|
72
|
+
"@univerjs/core": "1.0.0",
|
|
73
|
+
"@univerjs/engine-formula": "1.0.0",
|
|
74
|
+
"@univerjs/engine-render": "1.0.0",
|
|
75
|
+
"@univerjs/rpc": "1.0.0",
|
|
76
|
+
"@univerjs/sheets": "1.0.0",
|
|
77
|
+
"@univerjs/sheets-filter": "1.0.0"
|
|
77
78
|
},
|
|
78
79
|
"devDependencies": {
|
|
79
|
-
"@univerjs-infra/shared": "1.0.0
|
|
80
|
+
"@univerjs-infra/shared": "1.0.0",
|
|
80
81
|
"rxjs": "7.8.2",
|
|
81
82
|
"typescript": "^6.0.3",
|
|
82
|
-
"vitest": "^
|
|
83
|
+
"vitest": "^5.0.0"
|
|
83
84
|
},
|
|
84
85
|
"scripts": {
|
|
85
86
|
"test": "vitest run",
|