@univerjs-pro/sheets-pivot 0.5.0-alpha.0 → 0.5.0-beta.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/lib/cjs/facade.js +1 -1
- package/lib/cjs/index.js +1 -1
- package/lib/cjs/locale/en-US.js +1 -1
- package/lib/cjs/locale/fa-IR.js +1 -1
- package/lib/cjs/locale/ru-RU.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-TW.js +1 -1
- package/lib/es/facade.js +1 -1
- package/lib/es/index.js +1 -1
- package/lib/es/locale/en-US.js +1 -1
- package/lib/es/locale/fa-IR.js +1 -1
- package/lib/es/locale/ru-RU.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-TW.js +1 -1
- package/lib/types/commands/command/add-pivot-field.command.d.ts +11 -0
- package/lib/types/commands/command/add-pivot-table-with-config.command.d.ts +3 -0
- package/lib/types/commands/command/add-pivot-table.command.d.ts +9 -0
- package/lib/types/commands/command/move-pivot-field.command.d.ts +11 -0
- package/lib/types/commands/command/pivot-drill-down.command.d.ts +6 -0
- package/lib/types/commands/command/remove-pivot-field.command.d.ts +8 -0
- package/lib/types/commands/command/set-pivot-collapse.command.d.ts +9 -0
- package/lib/types/commands/command/set-pivot-filter.command.d.ts +10 -0
- package/lib/types/commands/command/set-pivot-sort.command.d.ts +10 -0
- package/lib/types/commands/command/update-pivot-setting.command.d.ts +15 -0
- package/lib/types/commands/command/update-pivot-source.command.d.ts +9 -0
- package/lib/types/commands/command/update-value-position.command.d.ts +8 -0
- package/lib/types/commands/command/util.d.ts +14 -0
- package/lib/types/commands/mutations/add-pivot-field.mutation.d.ts +3 -0
- package/lib/types/commands/mutations/add-pivot-table.mutation.d.ts +3 -0
- package/lib/types/commands/mutations/change-apply-util.d.ts +15 -0
- package/lib/types/commands/mutations/pivot-data-communication.mutation.d.ts +7 -0
- package/lib/types/commands/mutations/remove-pivot-field.mutation.d.ts +3 -0
- package/lib/types/commands/mutations/remove-pivot-table.mutation.d.ts +3 -0
- package/lib/types/commands/mutations/rename-pivot-field.mutation.d.ts +3 -0
- package/lib/types/commands/mutations/set-pivot-collapse.mutation.d.ts +3 -0
- package/lib/types/commands/mutations/set-pivot-field-format.mutation.d.ts +3 -0
- package/lib/types/commands/mutations/set-pivot-filter.mutation.d.ts +3 -0
- package/lib/types/commands/mutations/set-pivot-option.mutation.d.ts +3 -0
- package/lib/types/commands/mutations/set-pivot-position.mutation.d.ts +3 -0
- package/lib/types/commands/mutations/set-pivot-sort.mutation.d.ts +3 -0
- package/lib/types/commands/mutations/set-pivot-subtotal-type.mutation.d.ts +3 -0
- package/lib/types/commands/mutations/update-field-position.mutation.d.ts +3 -0
- package/lib/types/commands/mutations/update-pivot-field-source-info.mutation.d.ts +3 -0
- package/lib/types/commands/mutations/update-pivot-table-source.mutation.d.ts +3 -0
- package/lib/types/commands/mutations/update-value-position.mutation.d.ts +3 -0
- package/lib/types/commands/operations/pivot-table-dirty-view.operation.d.ts +3 -0
- package/lib/types/common/const.d.ts +64 -0
- package/lib/types/const/const.d.ts +107 -0
- package/lib/types/const/template.d.ts +885 -0
- package/lib/types/const/type.d.ts +525 -0
- package/lib/types/controllers/config.schema.d.ts +6 -0
- package/lib/types/controllers/const.d.ts +1 -0
- package/lib/types/controllers/sheets-pivot-caculate.controller.d.ts +44 -0
- package/lib/types/controllers/sheets-pivot-clear.controller.d.ts +12 -0
- package/lib/types/controllers/sheets-pivot-interceptor.controller.d.ts +21 -0
- package/lib/types/controllers/sheets-pivot-permission.controller.d.ts +7 -0
- package/lib/types/controllers/sheets-pivot-ref-range.controller.d.ts +21 -0
- package/lib/types/controllers/sheets-pivot-remove-sheet.controller.d.ts +9 -0
- package/lib/types/controllers/sheets-pivot-rpc.controller.d.ts +20 -0
- package/lib/types/facade/f-pivot-table.d.ts +83 -0
- package/lib/types/facade/f-workbook.d.ts +72 -0
- package/lib/types/facade/index.d.ts +2 -0
- package/lib/types/index.d.ts +52 -1158
- package/lib/types/locale/en-US.d.ts +3 -0
- package/lib/types/locale/fa-IR.d.ts +3 -0
- package/lib/types/locale/ru-RU.d.ts +3 -0
- package/lib/types/locale/vi-VN.d.ts +3 -0
- package/lib/types/locale/zh-CN.d.ts +31 -0
- package/lib/types/locale/zh-TW.d.ts +3 -0
- package/lib/types/models/sheets-pivot-config-model.d.ts +58 -0
- package/lib/types/models/sheets-pivot-data-field-manager.d.ts +77 -0
- package/lib/types/models/sheets-pivot-data-source-model.d.ts +101 -0
- package/lib/types/models/sheets-pivot-table-adaptor-model.d.ts +54 -0
- package/lib/types/models/view-util.d.ts +16 -0
- package/lib/types/plugin.d.ts +17 -0
- package/lib/types/services/sheets-pivot-rpc.service.d.ts +11 -0
- package/lib/types/services/sheets-pivot-table.service.d.ts +18 -0
- package/lib/types/util.d.ts +84 -0
- package/lib/umd/facade.js +1 -1
- package/lib/umd/index.js +1 -1
- package/lib/umd/locale/en-US.js +1 -1
- package/lib/umd/locale/fa-IR.js +1 -1
- package/lib/umd/locale/ru-RU.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-TW.js +1 -1
- package/package.json +14 -14
package/lib/cjs/locale/en-US.js
CHANGED
|
@@ -1 +1 @@
|
|
|
1
|
-
'use strict';function
|
|
1
|
+
'use strict';const _0x1908b9=_0x230e;(function(_0x20f3cc,_0x1dc8e5){const _0x451876=_0x230e,_0x23a81a=_0x20f3cc();while(!![]){try{const _0x889d97=parseInt(_0x451876(0x1a1))/0x1*(parseInt(_0x451876(0x1b0))/0x2)+parseInt(_0x451876(0x1bb))/0x3+parseInt(_0x451876(0x1ab))/0x4*(-parseInt(_0x451876(0x1b3))/0x5)+-parseInt(_0x451876(0x1b7))/0x6*(-parseInt(_0x451876(0x1c0))/0x7)+parseInt(_0x451876(0x1a3))/0x8*(-parseInt(_0x451876(0x1bd))/0x9)+-parseInt(_0x451876(0x1aa))/0xa+-parseInt(_0x451876(0x1b2))/0xb;if(_0x889d97===_0x1dc8e5)break;else _0x23a81a['push'](_0x23a81a['shift']());}catch(_0x4d5655){_0x23a81a['push'](_0x23a81a['shift']());}}}(_0x2412,0x2ef1d));function _0x230e(_0x3c3ba3,_0x50106a){const _0x2412d2=_0x2412();return _0x230e=function(_0x230e08,_0x3a5e40){_0x230e08=_0x230e08-0x1a1;let _0x3a3bb7=_0x2412d2[_0x230e08];return _0x3a3bb7;},_0x230e(_0x3c3ba3,_0x50106a);}function _0x2412(){const _0xba1101=['StdDev\x20of\x20','691779fziBch','1115405tlmpcU','Average\x20of\x20','Filter','blank','12XEiSKJ','StdDevp\x20of\x20','Max\x20of\x20','Column\x20','925311HCEUso','value','64278jmITya','Varp\x20of\x20','Values','578207MGuksH','6vKZGst','Value','232vzWhhR','Grand\x20Total','Count\x20of\x20','Column','(Blank)','Sum\x20of\x20','Min\x20of\x20','843000Yyqzgz','4xeRvkN','Row','Total','Product\x20of\x20','Var\x20of\x20','98678DMiAlR'];_0x2412=function(){return _0xba1101;};return _0x2412();}const a={'sheets-pivot':{'blankValue':_0x1908b9(0x1a7),'columnName':_0x1908b9(0x1ba),'subTotalText':_0x1908b9(0x1ad),'grandTotalText':_0x1908b9(0x1a4),'valueText':_0x1908b9(0x1a2),'averageName':_0x1908b9(0x1b4),'countName':_0x1908b9(0x1a5),'countNumsName':'Count\x20of\x20','maxName':_0x1908b9(0x1b9),'minName':_0x1908b9(0x1a9),'productName':_0x1908b9(0x1ae),'stdDevName':_0x1908b9(0x1b1),'stdDevpName':_0x1908b9(0x1b8),'sumName':_0x1908b9(0x1a8),'varName':_0x1908b9(0x1af),'varpName':_0x1908b9(0x1be),'subTotal':'Subtotal','grandTotal':'Grand\x20Total','value':_0x1908b9(0x1bc),'blank':_0x1908b9(0x1b6),'emptyPivot':{'filter':_0x1908b9(0x1b5),'row':_0x1908b9(0x1ac),'column':_0x1908b9(0x1a6),'values':_0x1908b9(0x1bf)}}};module['exports']=a;
|
package/lib/cjs/locale/fa-IR.js
CHANGED
|
@@ -1 +1 @@
|
|
|
1
|
-
'use strict';const
|
|
1
|
+
'use strict';const _0x2ec2c7=_0x1f96;(function(_0xaa159b,_0x50beda){const _0x2479e8=_0x1f96,_0x2e81c0=_0xaa159b();while(!![]){try{const _0x48ff0d=parseInt(_0x2479e8(0x6f))/0x1+-parseInt(_0x2479e8(0x7d))/0x2+parseInt(_0x2479e8(0x81))/0x3+-parseInt(_0x2479e8(0x7c))/0x4+parseInt(_0x2479e8(0x70))/0x5+parseInt(_0x2479e8(0x79))/0x6+parseInt(_0x2479e8(0x7e))/0x7;if(_0x48ff0d===_0x50beda)break;else _0x2e81c0['push'](_0x2e81c0['shift']());}catch(_0x3b2074){_0x2e81c0['push'](_0x2e81c0['shift']());}}}(_0x3c84,0x4c8e4));function _0x1f96(_0x612060,_0x5ed853){const _0x3c84eb=_0x3c84();return _0x1f96=function(_0x1f96c8,_0x27d072){_0x1f96c8=_0x1f96c8-0x6f;let _0x5104e1=_0x3c84eb[_0x1f96c8];return _0x5104e1;},_0x1f96(_0x612060,_0x5ed853);}const a={'sheets-pivot':{'blankValue':'(خالی)','columnName':_0x2ec2c7(0x7f),'subTotalText':_0x2ec2c7(0x83),'grandTotalText':'کل','valueText':_0x2ec2c7(0x84),'averageName':'میانگین\x20از\x20','countName':_0x2ec2c7(0x78),'countNumsName':_0x2ec2c7(0x76),'maxName':'بیشترین\x20از\x20','minName':_0x2ec2c7(0x85),'productName':_0x2ec2c7(0x73),'stdDevName':_0x2ec2c7(0x74),'stdDevpName':_0x2ec2c7(0x7a),'sumName':'جمع\x20از\x20','varName':_0x2ec2c7(0x75),'varpName':_0x2ec2c7(0x71),'subTotal':_0x2ec2c7(0x83),'grandTotal':'کل','value':_0x2ec2c7(0x84),'blank':_0x2ec2c7(0x80),'emptyPivot':{'filter':_0x2ec2c7(0x7b),'row':_0x2ec2c7(0x82),'column':_0x2ec2c7(0x77),'values':'مقادیر'}}};module[_0x2ec2c7(0x72)]=a;function _0x3c84(){const _0x1188df=['کمترین\x20از\x20','115209tIOwFA','2225875EpxcuG','واریانس\x20کلی\x20از\x20','exports','ضرب\x20از\x20','انحراف\x20معیار\x20از\x20','واریانس\x20از\x20','تعداد\x20اعداد\x20از\x20','ستون','تعداد\x20از\x20','3201114kycWzG','انحراف\x20معیار\x20کلی\x20از\x20','فیلتر','1804164gbiiGw','921656mDYcGp','68992YJGtJZ','ستون\x20','خالی','365046jYKJal','سطر','جمع','مقدار'];_0x3c84=function(){return _0x1188df;};return _0x3c84();}
|
package/lib/cjs/locale/ru-RU.js
CHANGED
|
@@ -1 +1 @@
|
|
|
1
|
-
'use strict';
|
|
1
|
+
'use strict';const _0x44cfb4=_0x45f9;(function(_0x87eda2,_0x4f4194){const _0x3c9134=_0x45f9,_0x3bf719=_0x87eda2();while(!![]){try{const _0x551c4c=parseInt(_0x3c9134(0x115))/0x1+-parseInt(_0x3c9134(0x129))/0x2+parseInt(_0x3c9134(0x11b))/0x3*(parseInt(_0x3c9134(0x123))/0x4)+-parseInt(_0x3c9134(0x11e))/0x5+-parseInt(_0x3c9134(0x12c))/0x6+-parseInt(_0x3c9134(0x11d))/0x7+parseInt(_0x3c9134(0x116))/0x8;if(_0x551c4c===_0x4f4194)break;else _0x3bf719['push'](_0x3bf719['shift']());}catch(_0x58c1c0){_0x3bf719['push'](_0x3bf719['shift']());}}}(_0x5dc5,0xa0fd6));const a={'sheets-pivot':{'blankValue':_0x44cfb4(0x118),'columnName':_0x44cfb4(0x114),'subTotalText':_0x44cfb4(0x12d),'grandTotalText':_0x44cfb4(0x122),'valueText':_0x44cfb4(0x128),'averageName':'Среднее\x20по\x20','countName':_0x44cfb4(0x12a),'countNumsName':'Число\x20по\x20','maxName':_0x44cfb4(0x11c),'minName':_0x44cfb4(0x127),'productName':_0x44cfb4(0x12b),'stdDevName':_0x44cfb4(0x11a),'stdDevpName':_0x44cfb4(0x126),'sumName':_0x44cfb4(0x11f),'varName':_0x44cfb4(0x117),'varpName':_0x44cfb4(0x124),'subTotal':_0x44cfb4(0x12d),'grandTotal':'Общий\x20итог','value':_0x44cfb4(0x128),'blank':_0x44cfb4(0x120),'emptyPivot':{'filter':_0x44cfb4(0x125),'row':'Строка','column':_0x44cfb4(0x119),'values':_0x44cfb4(0x128)}}};function _0x45f9(_0x29df03,_0x230ee0){const _0x5dc57d=_0x5dc5();return _0x45f9=function(_0x45f9ad,_0x4c6598){_0x45f9ad=_0x45f9ad-0x114;let _0x392fb1=_0x5dc57d[_0x45f9ad];return _0x392fb1;},_0x45f9(_0x29df03,_0x230ee0);}function _0x5dc5(){const _0xbeaffe=['Сумма\x20по\x20','Пусто','exports','Общий\x20итог','17248mxRZpe','Общая\x20дисперсия\x20по\x20','Фильтр','Общее\x20стандартное\x20отклонение\x20по\x20','Минимум\x20по\x20','Значение','1983560gccyrl','Количество\x20по\x20','Произведение\x20по\x20','1702026wEeVws','Промежуточный\x20итог','Столбец\x20','153590dLAUxd','24860992LVMRJO','Дисперсия\x20по\x20','(Пусто)','Столбец','Стандартное\x20отклонение\x20по\x20','12qPMbPN','Максимум\x20по\x20','3606232kkYIxG','4142105rsabyy'];_0x5dc5=function(){return _0xbeaffe;};return _0x5dc5();}module[_0x44cfb4(0x121)]=a;
|
package/lib/cjs/locale/vi-VN.js
CHANGED
|
@@ -1 +1 @@
|
|
|
1
|
-
'use strict';const
|
|
1
|
+
'use strict';const _0x483057=_0x4d33;function _0x4d33(_0x40f48c,_0x39c950){const _0x438efe=_0x438e();return _0x4d33=function(_0x4d33e8,_0x2c873f){_0x4d33e8=_0x4d33e8-0x126;let _0x198294=_0x438efe[_0x4d33e8];return _0x198294;},_0x4d33(_0x40f48c,_0x39c950);}(function(_0x342483,_0x69532e){const _0x1f8242=_0x4d33,_0x43c7f9=_0x342483();while(!![]){try{const _0x485fd6=-parseInt(_0x1f8242(0x12f))/0x1+-parseInt(_0x1f8242(0x126))/0x2*(-parseInt(_0x1f8242(0x136))/0x3)+parseInt(_0x1f8242(0x135))/0x4+-parseInt(_0x1f8242(0x130))/0x5*(parseInt(_0x1f8242(0x134))/0x6)+parseInt(_0x1f8242(0x133))/0x7+-parseInt(_0x1f8242(0x13b))/0x8*(-parseInt(_0x1f8242(0x131))/0x9)+-parseInt(_0x1f8242(0x132))/0xa;if(_0x485fd6===_0x69532e)break;else _0x43c7f9['push'](_0x43c7f9['shift']());}catch(_0x28fd43){_0x43c7f9['push'](_0x43c7f9['shift']());}}}(_0x438e,0x5ed11));function _0x438e(){const _0x2d25c9=['Tổng\x20cộng','Lọc','Giá\x20trị\x20trung\x20bình:','Cột','334QdCCfX','exports','Tích:','(Trống)','Giá\x20trị\x20tối\x20thiểu:','Giá\x20trị\x20tối\x20đa:','Tổng\x20phụ','Hàng','Trống','421213scMtHY','388555wbOKTx','36ysWQDg','3375560ORCKzD','5189590pUmqLP','42VEsqlN','2303008iiUliK','5829rFkYzs','Phương\x20sai:','Giá\x20trị','Số\x20lượng:','Số\x20lượng\x20số:','99024SPRxdZ','Phương\x20sai\x20toàn\x20phần:','Độ\x20lệch\x20chuẩn\x20toàn\x20phần:','Tổng:'];_0x438e=function(){return _0x2d25c9;};return _0x438e();}const t={'sheets-pivot':{'blankValue':_0x483057(0x129),'columnName':'Cột\x20','subTotalText':_0x483057(0x12c),'grandTotalText':_0x483057(0x13f),'valueText':_0x483057(0x138),'averageName':_0x483057(0x141),'countName':_0x483057(0x139),'countNumsName':_0x483057(0x13a),'maxName':_0x483057(0x12b),'minName':_0x483057(0x12a),'productName':_0x483057(0x128),'stdDevName':'Độ\x20lệch\x20chuẩn:','stdDevpName':_0x483057(0x13d),'sumName':_0x483057(0x13e),'varName':_0x483057(0x137),'varpName':_0x483057(0x13c),'subTotal':'Tổng\x20phụ','grandTotal':_0x483057(0x13f),'value':_0x483057(0x138),'blank':_0x483057(0x12e),'emptyPivot':{'filter':_0x483057(0x140),'row':_0x483057(0x12d),'column':_0x483057(0x142),'values':_0x483057(0x138)}}};module[_0x483057(0x127)]=t;
|
package/lib/cjs/locale/zh-CN.js
CHANGED
|
@@ -1 +1 @@
|
|
|
1
|
-
'use strict';const
|
|
1
|
+
'use strict';function _0x2080(){const _0x93c5dd=['标准偏差项:','2684152WRThar','995768tKJBLf','计数项:','求和项:','乘积项:','平均值项:','3323375fPaJwQ','最大值项:','2456973jgzUQf','5248392DAPetB','1593376DYFDSl','7iMZmXw','总体方差项:','1340304iwLkmw','4uwXybC','数值计数项:','(空白)'];_0x2080=function(){return _0x93c5dd;};return _0x2080();}function _0x4a3c(_0x578bac,_0x5cb1ab){const _0x2080f9=_0x2080();return _0x4a3c=function(_0x4a3cb2,_0x386fa8){_0x4a3cb2=_0x4a3cb2-0x1ca;let _0x475e13=_0x2080f9[_0x4a3cb2];return _0x475e13;},_0x4a3c(_0x578bac,_0x5cb1ab);}const _0xfc1eb0=_0x4a3c;(function(_0xf11c86,_0x115d86){const _0x58155e=_0x4a3c,_0x58c430=_0xf11c86();while(!![]){try{const _0x87a4e3=-parseInt(_0x58155e(0x1d6))/0x1+parseInt(_0x58155e(0x1cd))/0x2+parseInt(_0x58155e(0x1d0))/0x3+-parseInt(_0x58155e(0x1d1))/0x4*(parseInt(_0x58155e(0x1db))/0x5)+parseInt(_0x58155e(0x1cc))/0x6+parseInt(_0x58155e(0x1ce))/0x7*(parseInt(_0x58155e(0x1d5))/0x8)+-parseInt(_0x58155e(0x1cb))/0x9;if(_0x87a4e3===_0x115d86)break;else _0x58c430['push'](_0x58c430['shift']());}catch(_0x42b375){_0x58c430['push'](_0x58c430['shift']());}}}(_0x2080,0x7f04b));const a={'sheets-pivot':{'blankValue':_0xfc1eb0(0x1d3),'columnName':'列\x20','subTotalText':'汇总','grandTotalText':'总计','valueText':'值','averageName':_0xfc1eb0(0x1da),'countName':_0xfc1eb0(0x1d7),'countNumsName':_0xfc1eb0(0x1d2),'maxName':_0xfc1eb0(0x1ca),'minName':'最小值项:','productName':_0xfc1eb0(0x1d9),'stdDevName':_0xfc1eb0(0x1d4),'stdDevpName':'总体标准偏差项:','sumName':_0xfc1eb0(0x1d8),'varName':'方差项:','varpName':_0xfc1eb0(0x1cf),'subTotal':'汇总','grandTotal':'总计','value':'值','blank':'空白','emptyPivot':{'filter':'筛选','row':'行','column':'列','values':'值'}}};module['exports']=a;
|
package/lib/cjs/locale/zh-TW.js
CHANGED
|
@@ -1 +1 @@
|
|
|
1
|
-
'use strict';const
|
|
1
|
+
'use strict';const _0x219dc2=_0x5d4f;(function(_0x11df78,_0x4eed03){const _0x888d4=_0x5d4f,_0x1674d5=_0x11df78();while(!![]){try{const _0x599a3f=parseInt(_0x888d4(0x80))/0x1*(-parseInt(_0x888d4(0x8e))/0x2)+parseInt(_0x888d4(0x85))/0x3*(-parseInt(_0x888d4(0x91))/0x4)+-parseInt(_0x888d4(0x92))/0x5*(-parseInt(_0x888d4(0x8d))/0x6)+-parseInt(_0x888d4(0x86))/0x7*(parseInt(_0x888d4(0x89))/0x8)+parseInt(_0x888d4(0x8a))/0x9*(-parseInt(_0x888d4(0x83))/0xa)+-parseInt(_0x888d4(0x8c))/0xb+parseInt(_0x888d4(0x93))/0xc;if(_0x599a3f===_0x4eed03)break;else _0x1674d5['push'](_0x1674d5['shift']());}catch(_0x291346){_0x1674d5['push'](_0x1674d5['shift']());}}}(_0x5f02,0x27d3b));function _0x5f02(){const _0x3d720a=['38119iOUMcD','(空白)','最小值項:','30hkQsCB','總體標準差項:','9urDIgq','1981SEDLzl','exports','最大值項:','184ycNkwY','625212xNyjoH','方差項:','1906454YWZNOi','12OiKvLK','2ALBilN','總體方差項:','平均值項:','205776pyeGzB','654640zkfYCJ','5783436YYpnoC'];_0x5f02=function(){return _0x3d720a;};return _0x5f02();}const a={'sheets-pivot':{'blankValue':_0x219dc2(0x81),'columnName':'欄\x20','subTotalText':'小計','grandTotalText':'總計','valueText':'值','averageName':_0x219dc2(0x90),'countName':'計數項:','countNumsName':'數值計數項:','maxName':_0x219dc2(0x88),'minName':_0x219dc2(0x82),'productName':'乘積項:','stdDevName':'標準差項:','stdDevpName':_0x219dc2(0x84),'sumName':'求和項:','varName':_0x219dc2(0x8b),'varpName':_0x219dc2(0x8f),'subTotal':'小計','grandTotal':'總計','value':'值','blank':'空白','emptyPivot':{'filter':'篩選','row':'行','column':'欄','values':'值'}}};function _0x5d4f(_0x2b472b,_0x3d08b1){const _0x5f0272=_0x5f02();return _0x5d4f=function(_0x5d4f04,_0x55a7e0){_0x5d4f04=_0x5d4f04-0x80;let _0x5c2f1f=_0x5f0272[_0x5d4f04];return _0x5c2f1f;},_0x5d4f(_0x2b472b,_0x3d08b1);}module[_0x219dc2(0x87)]=a;
|
package/lib/es/facade.js
CHANGED
|
@@ -1 +1 @@
|
|
|
1
|
-
const
|
|
1
|
+
const _0x405563=_0x1147;(function(_0x1b9c49,_0x351b81){const _0x5b5711=_0x1147,_0x2f2ef1=_0x1b9c49();while(!![]){try{const _0x31b714=-parseInt(_0x5b5711(0x1fa))/0x1*(parseInt(_0x5b5711(0x1f8))/0x2)+parseInt(_0x5b5711(0x1ea))/0x3*(-parseInt(_0x5b5711(0x1ef))/0x4)+parseInt(_0x5b5711(0x1f6))/0x5*(parseInt(_0x5b5711(0x1f1))/0x6)+parseInt(_0x5b5711(0x1e3))/0x7+-parseInt(_0x5b5711(0x1e5))/0x8+parseInt(_0x5b5711(0x1e6))/0x9+parseInt(_0x5b5711(0x1f7))/0xa*(parseInt(_0x5b5711(0x1f2))/0xb);if(_0x31b714===_0x351b81)break;else _0x2f2ef1['push'](_0x2f2ef1['shift']());}catch(_0x48736d){_0x2f2ef1['push'](_0x2f2ef1['shift']());}}}(_0x27bc,0xe6598));var g=Object[_0x405563(0x1e1)],C=(_0x5c57e6,_0x4b6316,_0x14b92c)=>_0x4b6316 in _0x5c57e6?g(_0x5c57e6,_0x4b6316,{'enumerable':!0x0,'configurable':!0x0,'writable':!0x0,'value':_0x14b92c}):_0x5c57e6[_0x4b6316]=_0x14b92c,l=(_0x2493a3,_0x3608d0,_0x53e072)=>C(_0x2493a3,typeof _0x3608d0!=_0x405563(0x1eb)?_0x3608d0+'':_0x3608d0,_0x53e072);import{ICommandService as _0x1a296d}from'@univerjs/core';import{FWorkbook as _0xf90307}from'@univerjs/sheets/facade';function _0x27bc(){const _0xa4e69e=['getPivotTableIdByCell','updateFieldPosition','defineProperty','getCollection','2309139uHaBZX','addPivotTable','8567152lBwCZK','1843137HRFCYk','addField','updateValuePosition','unitId','63ZexfqJ','symbol','setSubtotalType','removeField','get','259988KQSEJY','getConfig','6TIDqVj','1842137tWkdFb','_injector','renameField','getPivotTableConfig','7352460CHtQkV','170EMhbsA','7132AIKlsz','syncExecuteCommand','413sOmdLf','extend','pivotTableId','subUnitId','remove','executeCommand'];_0x27bc=function(){return _0xa4e69e;};return _0x27bc();}import{generateHexNumber as _0xda7912}from'@univerjs-pro/engine-pivot';import{SheetsPivotTableConfigModel as _0x382ce2,RemovePivotTableMutation as _0x32a229,AddPivotFieldCommand as _0x4542a8,RemovePivotFieldCommand as _0x2e5302,MovePivotFieldCommand as _0x5d5869,UpdatePivotValuePositionCommand as _0x5713e8,SetPivotSubtotalTypeMutation as _0x24d71b,SetPivotSortCommand as _0x2ab959,SetPivotFilterCommand as _0xd8280d,RenamePivotFieldMutation as _0x20aa5e,AddPivotTableCommand as _0x55cd64,SheetsPivotTableAdaptorModel as _0xff2814}from'@univerjs-pro/sheets-pivot';class v{constructor(_0xf3db79,_0x3199e2,_0xafd20,_0x5bae08){const _0x4658ae=_0x405563;l(this,'unitId'),l(this,_0x4658ae(0x1fd)),l(this,_0x4658ae(0x1fc)),l(this,_0x4658ae(0x1f3)),(this[_0x4658ae(0x1e9)]=_0xf3db79,this[_0x4658ae(0x1fd)]=_0x3199e2,this[_0x4658ae(0x1fc)]=_0xafd20,this[_0x4658ae(0x1f3)]=_0x5bae08);}[_0x405563(0x1f0)](){const _0x4b9710=_0x405563;return this[_0x4b9710(0x1f3)][_0x4b9710(0x1ee)](_0x382ce2)['getPivotTableConfig'](this[_0x4b9710(0x1e9)],this[_0x4b9710(0x1fd)],this[_0x4b9710(0x1fc)]);}async[_0x405563(0x1fe)](){const _0x38e8e6=_0x405563;return await this[_0x38e8e6(0x1f3)]['get'](_0x1a296d)[_0x38e8e6(0x1f9)](_0x32a229['id'],{'unitId':this[_0x38e8e6(0x1e9)],'subUnitId':this[_0x38e8e6(0x1fd)],'pivotTableId':this[_0x38e8e6(0x1fc)]});}async[_0x405563(0x1e7)](_0x3b0923,_0x4ebc65,_0x3c9970){const _0x42d35c=_0x405563,_0x407eba=this['_injector'],_0x1e4277=this[_0x42d35c(0x1e9)],_0x165484=this[_0x42d35c(0x1fd)],_0x363a64=this[_0x42d35c(0x1fc)],_0x56d2bf=_0x407eba['get'](_0x1a296d),_0x1f020a=_0x407eba['get'](_0x382ce2),_0x1daa75=_0x1f020a[_0x42d35c(0x1f5)](_0x1e4277,_0x165484,_0x363a64),_0x1379e8=_0x1f020a[_0x42d35c(0x1e2)](_0x1e4277,_0x363a64);if(!_0x1daa75||!_0x1379e8)return!0x1;let _0x5b3017=_0x3b0923;typeof _0x5b3017=='number'&&(_0x5b3017=_0x1f020a[_0x42d35c(0x1e2)](_0x1e4277,_0x363a64)['fieldIds'][_0x3b0923]);const _0x1ca5c8={'unitId':_0x1e4277,'subUnitId':_0x165484,'pivotTableId':_0x363a64,'dataFieldId':_0x5b3017,'fieldArea':_0x4ebc65,'index':_0x3c9970};return _0x56d2bf[_0x42d35c(0x1ff)](_0x4542a8['id'],_0x1ca5c8);}async[_0x405563(0x1ed)](_0x2c4e19){const _0x3bb673=_0x405563,_0x5ad782=this[_0x3bb673(0x1f3)],_0x336d0a=this['unitId'],_0x37820b=this[_0x3bb673(0x1fd)],_0x1ff0f8=this[_0x3bb673(0x1fc)],_0x121204=_0x5ad782['get'](_0x1a296d),_0xc1f742={'unitId':_0x336d0a,'subUnitId':_0x37820b,'pivotTableId':_0x1ff0f8,'fieldIds':_0x2c4e19};return _0x121204[_0x3bb673(0x1ff)](_0x2e5302['id'],_0xc1f742);}async[_0x405563(0x201)](_0x15cd6a,_0x3da867,_0x3f332a){const _0x5c3884=_0x405563,_0x54d1f9=this[_0x5c3884(0x1f3)],_0xe04650=this[_0x5c3884(0x1e9)],_0x51f9e8=this[_0x5c3884(0x1fd)],_0x3994ae=this[_0x5c3884(0x1fc)],_0x5e4140=_0x54d1f9[_0x5c3884(0x1ee)](_0x1a296d),_0x4526f2={'unitId':_0xe04650,'subUnitId':_0x51f9e8,'pivotTableId':_0x3994ae,'fieldId':_0x15cd6a,'area':_0x3da867,'index':_0x3f332a};return _0x5e4140[_0x5c3884(0x1ff)](_0x5d5869['id'],_0x4526f2);}async[_0x405563(0x1e8)](_0x129bd7,_0xb627f7){const _0x17437c=_0x405563,_0x13ec10=this[_0x17437c(0x1f3)],_0x200926=this[_0x17437c(0x1e9)],_0xe3531b=this[_0x17437c(0x1fd)],_0x4462f2=this[_0x17437c(0x1fc)],_0x304004=_0x13ec10[_0x17437c(0x1ee)](_0x1a296d),_0x521c94={'unitId':_0x200926,'subUnitId':_0xe3531b,'pivotTableId':_0x4462f2,'position':_0x129bd7,'index':_0xb627f7};return _0x304004['executeCommand'](_0x5713e8['id'],_0x521c94);}async[_0x405563(0x1ec)](_0x5bac9d,_0x537fbc){const _0x3e2da2=_0x405563,_0x3d730f=this[_0x3e2da2(0x1f3)],_0xa46c6=this[_0x3e2da2(0x1e9)],_0x5a5ac5=this['subUnitId'],_0xa3543a=this[_0x3e2da2(0x1fc)],_0x50f330=_0x3d730f['get'](_0x1a296d),_0x4a9c14={'unitId':_0xa46c6,'subUnitId':_0x5a5ac5,'pivotTableId':_0xa3543a,'fieldId':_0x5bac9d,'subtotalType':_0x537fbc};return _0x50f330[_0x3e2da2(0x1ff)](_0x24d71b['id'],_0x4a9c14);}async['setLabelSort'](_0x50bef4,_0x296dac){const _0x5601da=_0x405563,_0x3d5201=this[_0x5601da(0x1f3)],_0x4a819e=this[_0x5601da(0x1e9)],_0x4ac666=this['subUnitId'],_0xb8bd2d=this[_0x5601da(0x1fc)],_0x25f45b=_0x3d5201[_0x5601da(0x1ee)](_0x1a296d),_0x18965c={'unitId':_0x4a819e,'subUnitId':_0x4ac666,'tableFieldId':_0x50bef4,'pivotTableId':_0xb8bd2d,'info':_0x296dac};return _0x25f45b['executeCommand'](_0x2ab959['id'],_0x18965c);}async['setLabelManualFilter'](_0x4bc51a,_0xbbe667,_0x51d492){const _0x143528=_0x405563,_0x4aa555=this['_injector'],_0x5ef42d=this[_0x143528(0x1e9)],_0xfbc05c=this[_0x143528(0x1fd)],_0x5cc38d=this['pivotTableId'],_0x7494cd=_0x4aa555[_0x143528(0x1ee)](_0x1a296d),_0x27d0ad={'unitId':_0x5ef42d,'subUnitId':_0xfbc05c,'pivotTableId':_0x5cc38d,'tableFieldId':_0x4bc51a,'items':_0xbbe667,'isAll':_0x51d492};return _0x7494cd[_0x143528(0x1ff)](_0xd8280d['id'],_0x27d0ad);}async[_0x405563(0x1f4)](_0x23621e,_0x5bf3c8){const _0x58a061=_0x405563,_0x21e87f=this[_0x58a061(0x1f3)],_0x389e9e=this[_0x58a061(0x1e9)],_0x295bcd=this['subUnitId'],_0x5e4552=this[_0x58a061(0x1fc)],_0x27adf7=_0x21e87f[_0x58a061(0x1ee)](_0x1a296d),_0x1654ca={'unitId':_0x389e9e,'subUnitId':_0x295bcd,'pivotTableId':_0x5e4552,'fieldId':_0x23621e,'name':_0x5bf3c8};return _0x27adf7[_0x58a061(0x1ff)](_0x20aa5e['id'],_0x1654ca);}}class w extends _0xf90307{async[_0x405563(0x1e4)](_0x3a51d2,_0x30b51e,_0x57ee65){const _0x37dcb5=_0x405563,_0x1f723c=this['_injector'],_0x2b753d=_0x1f723c['get'](_0x1a296d),_0x3afdaa=_0xda7912(0x8),_0x3bc41b={'positionType':_0x30b51e,'pivotTableId':_0x3afdaa,'pivotTableConfig':{'targetCellInfo':_0x57ee65,'sourceRangeInfo':_0x3a51d2,'isEmpty':!0x0}};if(await _0x2b753d[_0x37dcb5(0x1ff)](_0x55cd64['id'],_0x3bc41b))return new v(_0x57ee65[_0x37dcb5(0x1e9)],_0x57ee65[_0x37dcb5(0x1fd)],_0x3afdaa,_0x1f723c);}['getPivotTableByCell'](_0x173847,_0x349a4a,_0x4253a4,_0x3ebe9b){const _0x4c423f=_0x405563,_0x5ad066=this['_injector'],_0x17f165=_0x5ad066['get'](_0xff2814)[_0x4c423f(0x200)](_0x173847,_0x349a4a,_0x4253a4,_0x3ebe9b);if(_0x17f165)return new v(_0x173847,_0x349a4a,_0x17f165,_0x5ad066);}}_0xf90307[_0x405563(0x1fb)](w);function _0x1147(_0x1d2306,_0x25fcce){const _0x27bc6c=_0x27bc();return _0x1147=function(_0x1147f5,_0x52fa03){_0x1147f5=_0x1147f5-0x1e1;let _0x45807a=_0x27bc6c[_0x1147f5];return _0x45807a;},_0x1147(_0x1d2306,_0x25fcce);}export{v as FPivotTable};
|