@univerjs-pro/sheets-pivot 0.5.0-alpha.0 → 0.5.0-beta.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/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/es/locale/en-US.js
CHANGED
|
@@ -1 +1 @@
|
|
|
1
|
-
const
|
|
1
|
+
const _0xd2bd87=_0x181b;(function(_0x220795,_0x28a9c7){const _0x784880=_0x181b,_0x3e6796=_0x220795();while(!![]){try{const _0x2a595b=-parseInt(_0x784880(0x1bd))/0x1+-parseInt(_0x784880(0x1b8))/0x2*(parseInt(_0x784880(0x1ac))/0x3)+parseInt(_0x784880(0x1ab))/0x4*(parseInt(_0x784880(0x1a9))/0x5)+parseInt(_0x784880(0x1aa))/0x6+-parseInt(_0x784880(0x1b2))/0x7+-parseInt(_0x784880(0x1b3))/0x8+-parseInt(_0x784880(0x1bb))/0x9*(-parseInt(_0x784880(0x1ba))/0xa);if(_0x2a595b===_0x28a9c7)break;else _0x3e6796['push'](_0x3e6796['shift']());}catch(_0x174668){_0x3e6796['push'](_0x3e6796['shift']());}}}(_0x401e,0x50cc5));const a={'sheets-pivot':{'blankValue':_0xd2bd87(0x1b4),'columnName':_0xd2bd87(0x1ae),'subTotalText':_0xd2bd87(0x1b9),'grandTotalText':_0xd2bd87(0x1be),'valueText':'Value','averageName':_0xd2bd87(0x1b0),'countName':_0xd2bd87(0x1a6),'countNumsName':'Count\x20of\x20','maxName':_0xd2bd87(0x1bc),'minName':_0xd2bd87(0x1b5),'productName':_0xd2bd87(0x1b6),'stdDevName':'StdDev\x20of\x20','stdDevpName':_0xd2bd87(0x1ad),'sumName':_0xd2bd87(0x1a7),'varName':'Var\x20of\x20','varpName':_0xd2bd87(0x1a5),'subTotal':_0xd2bd87(0x1a8),'grandTotal':'Grand\x20Total','value':_0xd2bd87(0x1a4),'blank':_0xd2bd87(0x1b7),'emptyPivot':{'filter':_0xd2bd87(0x1b1),'row':'Row','column':_0xd2bd87(0x1af),'values':'Values'}}};function _0x181b(_0x382f55,_0x392405){const _0x401e6e=_0x401e();return _0x181b=function(_0x181b8a,_0x326ab3){_0x181b8a=_0x181b8a-0x1a4;let _0x409324=_0x401e6e[_0x181b8a];return _0x409324;},_0x181b(_0x382f55,_0x392405);}export{a as default};function _0x401e(){const _0x2efd2d=['Column\x20','Column','Average\x20of\x20','Filter','2658327hPgvRn','1563384tUdrcd','(Blank)','Min\x20of\x20','Product\x20of\x20','blank','2GydUsW','Total','10nfEDhG','7160877RdqyHu','Max\x20of\x20','18704XTqrYi','Grand\x20Total','value','Varp\x20of\x20','Count\x20of\x20','Sum\x20of\x20','Subtotal','5brvUDX','67806qhtIcY','2307088hQDiSB','1376667IlSfkx','StdDevp\x20of\x20'];_0x401e=function(){return _0x2efd2d;};return _0x401e();}
|
package/lib/es/locale/fa-IR.js
CHANGED
|
@@ -1 +1 @@
|
|
|
1
|
-
const
|
|
1
|
+
const _0x4546df=_0x21f4;function _0x3beb(){const _0x133287=['10pOBbcI','3628520qtIlvM','تعداد\x20اعداد\x20از\x20','واریانس\x20از\x20','1448097kTiycL','خالی','مقدار','19028ZivZBE','147jfTMdV','واریانس\x20کلی\x20از\x20','7xxTJsP','جمع\x20از\x20','کمترین\x20از\x20','3716256DnTjQU','3372115elmHTh','فیلتر','ضرب\x20از\x20','6164388nXHUjb','مقادیر','(خالی)','344356tvlGhK'];_0x3beb=function(){return _0x133287;};return _0x3beb();}(function(_0x2857b2,_0x49efff){const _0x298dd5=_0x21f4,_0x53c6c3=_0x2857b2();while(!![]){try{const _0x324cee=-parseInt(_0x298dd5(0x1ee))/0x1*(-parseInt(_0x298dd5(0x1e3))/0x2)+parseInt(_0x298dd5(0x1ec))/0x3*(-parseInt(_0x298dd5(0x1eb))/0x4)+-parseInt(_0x298dd5(0x1dd))/0x5+-parseInt(_0x298dd5(0x1dc))/0x6+-parseInt(_0x298dd5(0x1e8))/0x7+parseInt(_0x298dd5(0x1e5))/0x8+-parseInt(_0x298dd5(0x1e0))/0x9*(-parseInt(_0x298dd5(0x1e4))/0xa);if(_0x324cee===_0x49efff)break;else _0x53c6c3['push'](_0x53c6c3['shift']());}catch(_0x3486bd){_0x53c6c3['push'](_0x53c6c3['shift']());}}}(_0x3beb,0x94ebc));function _0x21f4(_0x5e1906,_0x353f65){const _0x3beb56=_0x3beb();return _0x21f4=function(_0x21f41c,_0x2ee7e4){_0x21f41c=_0x21f41c-0x1db;let _0x2c6c79=_0x3beb56[_0x21f41c];return _0x2c6c79;},_0x21f4(_0x5e1906,_0x353f65);}const a={'sheets-pivot':{'blankValue':_0x4546df(0x1e2),'columnName':'ستون\x20','subTotalText':'جمع','grandTotalText':'کل','valueText':_0x4546df(0x1ea),'averageName':'میانگین\x20از\x20','countName':'تعداد\x20از\x20','countNumsName':_0x4546df(0x1e6),'maxName':'بیشترین\x20از\x20','minName':_0x4546df(0x1db),'productName':_0x4546df(0x1df),'stdDevName':'انحراف\x20معیار\x20از\x20','stdDevpName':'انحراف\x20معیار\x20کلی\x20از\x20','sumName':_0x4546df(0x1ef),'varName':_0x4546df(0x1e7),'varpName':_0x4546df(0x1ed),'subTotal':'جمع','grandTotal':'کل','value':'مقدار','blank':_0x4546df(0x1e9),'emptyPivot':{'filter':_0x4546df(0x1de),'row':'سطر','column':'ستون','values':_0x4546df(0x1e1)}}};export{a as default};
|
package/lib/es/locale/ru-RU.js
CHANGED
|
@@ -1 +1 @@
|
|
|
1
|
-
const
|
|
1
|
+
const _0x51dea6=_0xc700;function _0xc700(_0x5330ad,_0x21cb6a){const _0x1590a5=_0x1590();return _0xc700=function(_0xc70050,_0x2c80be){_0xc70050=_0xc70050-0x66;let _0xf2a92=_0x1590a5[_0xc70050];return _0xf2a92;},_0xc700(_0x5330ad,_0x21cb6a);}(function(_0x2b348a,_0x45e5c7){const _0x464af6=_0xc700,_0x338583=_0x2b348a();while(!![]){try{const _0x6c72a4=-parseInt(_0x464af6(0x69))/0x1*(-parseInt(_0x464af6(0x70))/0x2)+parseInt(_0x464af6(0x75))/0x3+-parseInt(_0x464af6(0x79))/0x4+parseInt(_0x464af6(0x6f))/0x5*(-parseInt(_0x464af6(0x68))/0x6)+-parseInt(_0x464af6(0x7b))/0x7+-parseInt(_0x464af6(0x6c))/0x8+parseInt(_0x464af6(0x7a))/0x9*(parseInt(_0x464af6(0x73))/0xa);if(_0x6c72a4===_0x45e5c7)break;else _0x338583['push'](_0x338583['shift']());}catch(_0x17c6a0){_0x338583['push'](_0x338583['shift']());}}}(_0x1590,0x336f8));const a={'sheets-pivot':{'blankValue':_0x51dea6(0x67),'columnName':_0x51dea6(0x78),'subTotalText':_0x51dea6(0x72),'grandTotalText':_0x51dea6(0x7d),'valueText':'Значение','averageName':_0x51dea6(0x71),'countName':'Количество\x20по\x20','countNumsName':_0x51dea6(0x76),'maxName':_0x51dea6(0x6e),'minName':_0x51dea6(0x7c),'productName':'Произведение\x20по\x20','stdDevName':_0x51dea6(0x6d),'stdDevpName':'Общее\x20стандартное\x20отклонение\x20по\x20','sumName':_0x51dea6(0x77),'varName':'Дисперсия\x20по\x20','varpName':_0x51dea6(0x6a),'subTotal':_0x51dea6(0x72),'grandTotal':'Общий\x20итог','value':_0x51dea6(0x74),'blank':_0x51dea6(0x66),'emptyPivot':{'filter':'Фильтр','row':_0x51dea6(0x6b),'column':'Столбец','values':_0x51dea6(0x74)}}};function _0x1590(){const _0x27e894=['8KgKbcj','Среднее\x20по\x20','Промежуточный\x20итог','3282620cAfofz','Значение','346266jEywqW','Число\x20по\x20','Сумма\x20по\x20','Столбец\x20','1442880YqqYXg','18PctFfv','1060668eDHBhD','Минимум\x20по\x20','Общий\x20итог','Пусто','(Пусто)','42138PNllZq','2932gSIMut','Общая\x20дисперсия\x20по\x20','Строка','429816xCSURY','Стандартное\x20отклонение\x20по\x20','Максимум\x20по\x20','5YKqziG'];_0x1590=function(){return _0x27e894;};return _0x1590();}export{a as default};
|
package/lib/es/locale/vi-VN.js
CHANGED
|
@@ -1 +1 @@
|
|
|
1
|
-
function
|
|
1
|
+
function _0x5a69(_0x1d8b01,_0x343bf9){const _0x226d9e=_0x226d();return _0x5a69=function(_0x5a69cd,_0x4574e5){_0x5a69cd=_0x5a69cd-0x138;let _0x57c2ed=_0x226d9e[_0x5a69cd];return _0x57c2ed;},_0x5a69(_0x1d8b01,_0x343bf9);}function _0x226d(){const _0x581724=['1486029KlHxRq','Độ\x20lệch\x20chuẩn\x20toàn\x20phần:','5650950lLkzLZ','4883064JYsGnY','Phương\x20sai:','Tích:','27034909YRkHsi','Tổng\x20phụ','Số\x20lượng:','68xLZwWb','549iOMpTL','Phương\x20sai\x20toàn\x20phần:','50235EGCKgJ','212pEbAMw','21YiAZfu','Tổng:','Cột\x20','Giá\x20trị','Tổng\x20cộng','Hàng','Trống','Giá\x20trị\x20tối\x20thiểu:','51590bcrxbY','Lọc','372755eDZGex','Giá\x20trị\x20trung\x20bình:'];_0x226d=function(){return _0x581724;};return _0x226d();}const _0x2e929a=_0x5a69;(function(_0x263541,_0x45192a){const _0x31844e=_0x5a69,_0x1e0315=_0x263541();while(!![]){try{const _0x5b933d=-parseInt(_0x31844e(0x14c))/0x1+-parseInt(_0x31844e(0x13f))/0x2*(-parseInt(_0x31844e(0x13e))/0x3)+-parseInt(_0x31844e(0x13b))/0x4*(-parseInt(_0x31844e(0x14a))/0x5)+-parseInt(_0x31844e(0x14e))/0x6+parseInt(_0x31844e(0x140))/0x7*(-parseInt(_0x31844e(0x14f))/0x8)+parseInt(_0x31844e(0x13c))/0x9*(-parseInt(_0x31844e(0x148))/0xa)+parseInt(_0x31844e(0x138))/0xb;if(_0x5b933d===_0x45192a)break;else _0x1e0315['push'](_0x1e0315['shift']());}catch(_0x54c80b){_0x1e0315['push'](_0x1e0315['shift']());}}}(_0x226d,0xe2292));const a={'sheets-pivot':{'blankValue':'(Trống)','columnName':_0x2e929a(0x142),'subTotalText':_0x2e929a(0x139),'grandTotalText':_0x2e929a(0x144),'valueText':_0x2e929a(0x143),'averageName':_0x2e929a(0x14b),'countName':_0x2e929a(0x13a),'countNumsName':'Số\x20lượng\x20số:','maxName':'Giá\x20trị\x20tối\x20đa:','minName':_0x2e929a(0x147),'productName':_0x2e929a(0x151),'stdDevName':'Độ\x20lệch\x20chuẩn:','stdDevpName':_0x2e929a(0x14d),'sumName':_0x2e929a(0x141),'varName':_0x2e929a(0x150),'varpName':_0x2e929a(0x13d),'subTotal':_0x2e929a(0x139),'grandTotal':_0x2e929a(0x144),'value':_0x2e929a(0x143),'blank':_0x2e929a(0x146),'emptyPivot':{'filter':_0x2e929a(0x149),'row':_0x2e929a(0x145),'column':'Cột','values':_0x2e929a(0x143)}}};export{a as default};
|
package/lib/es/locale/zh-CN.js
CHANGED
|
@@ -1 +1 @@
|
|
|
1
|
-
const
|
|
1
|
+
const _0x1652c3=_0x4e7b;function _0x4e7b(_0x588b6d,_0x4075ee){const _0x171ea0=_0x171e();return _0x4e7b=function(_0x4e7b01,_0xbe1976){_0x4e7b01=_0x4e7b01-0x1df;let _0x438d27=_0x171ea0[_0x4e7b01];return _0x438d27;},_0x4e7b(_0x588b6d,_0x4075ee);}(function(_0x5bb87c,_0x237d47){const _0xbc06cf=_0x4e7b,_0x3cc11f=_0x5bb87c();while(!![]){try{const _0x2c8f32=parseInt(_0xbc06cf(0x1f3))/0x1+-parseInt(_0xbc06cf(0x1e8))/0x2+-parseInt(_0xbc06cf(0x1e2))/0x3+-parseInt(_0xbc06cf(0x1ee))/0x4*(parseInt(_0xbc06cf(0x1e3))/0x5)+parseInt(_0xbc06cf(0x1e1))/0x6*(parseInt(_0xbc06cf(0x1ef))/0x7)+-parseInt(_0xbc06cf(0x1eb))/0x8*(parseInt(_0xbc06cf(0x1e7))/0x9)+-parseInt(_0xbc06cf(0x1e9))/0xa*(-parseInt(_0xbc06cf(0x1df))/0xb);if(_0x2c8f32===_0x237d47)break;else _0x3cc11f['push'](_0x3cc11f['shift']());}catch(_0x1c7715){_0x3cc11f['push'](_0x3cc11f['shift']());}}}(_0x171e,0xbe224));function _0x171e(){const _0x308565=['252642WEZcbc','297525xBSJJD','计数项:','乘积项:','(空白)','19269cAylfd','2943396ZGkyXM','10KuBUpm','数值计数项:','104TXbngC','总体方差项:','最大值项:','100rlMllh','5240963iIyuFb','方差项:','求和项:','总体标准偏差项:','1380843IqLPUL','18926666crwDfU','标准偏差项:','6eIEoWl'];_0x171e=function(){return _0x308565;};return _0x171e();}const a={'sheets-pivot':{'blankValue':_0x1652c3(0x1e6),'columnName':'列\x20','subTotalText':'汇总','grandTotalText':'总计','valueText':'值','averageName':'平均值项:','countName':_0x1652c3(0x1e4),'countNumsName':_0x1652c3(0x1ea),'maxName':_0x1652c3(0x1ed),'minName':'最小值项:','productName':_0x1652c3(0x1e5),'stdDevName':_0x1652c3(0x1e0),'stdDevpName':_0x1652c3(0x1f2),'sumName':_0x1652c3(0x1f1),'varName':_0x1652c3(0x1f0),'varpName':_0x1652c3(0x1ec),'subTotal':'汇总','grandTotal':'总计','value':'值','blank':'空白','emptyPivot':{'filter':'筛选','row':'行','column':'列','values':'值'}}};export{a as default};
|
package/lib/es/locale/zh-TW.js
CHANGED
|
@@ -1 +1 @@
|
|
|
1
|
-
const
|
|
1
|
+
const _0x4627d2=_0x59dd;(function(_0x4c9eef,_0x1cac23){const _0x2ee13f=_0x59dd,_0x5338ae=_0x4c9eef();while(!![]){try{const _0x199282=-parseInt(_0x2ee13f(0xbd))/0x1*(-parseInt(_0x2ee13f(0xc6))/0x2)+parseInt(_0x2ee13f(0xb3))/0x3+parseInt(_0x2ee13f(0xb8))/0x4*(-parseInt(_0x2ee13f(0xb6))/0x5)+parseInt(_0x2ee13f(0xba))/0x6+parseInt(_0x2ee13f(0xc4))/0x7+-parseInt(_0x2ee13f(0xb1))/0x8*(parseInt(_0x2ee13f(0xc2))/0x9)+-parseInt(_0x2ee13f(0xbf))/0xa*(parseInt(_0x2ee13f(0xb2))/0xb);if(_0x199282===_0x1cac23)break;else _0x5338ae['push'](_0x5338ae['shift']());}catch(_0x4600c3){_0x5338ae['push'](_0x5338ae['shift']());}}}(_0x5155,0x92097));const a={'sheets-pivot':{'blankValue':_0x4627d2(0xc3),'columnName':'欄\x20','subTotalText':'小計','grandTotalText':'總計','valueText':'值','averageName':_0x4627d2(0xc5),'countName':_0x4627d2(0xc1),'countNumsName':_0x4627d2(0xc0),'maxName':_0x4627d2(0xb5),'minName':_0x4627d2(0xb4),'productName':_0x4627d2(0xbe),'stdDevName':_0x4627d2(0xb9),'stdDevpName':'總體標準差項:','sumName':_0x4627d2(0xbc),'varName':_0x4627d2(0xbb),'varpName':_0x4627d2(0xb7),'subTotal':'小計','grandTotal':'總計','value':'值','blank':'空白','emptyPivot':{'filter':'篩選','row':'行','column':'欄','values':'值'}}};export{a as default};function _0x59dd(_0x3a211e,_0x2b11c8){const _0x515528=_0x5155();return _0x59dd=function(_0x59dd4f,_0x2ece40){_0x59dd4f=_0x59dd4f-0xb1;let _0x3d5edf=_0x515528[_0x59dd4f];return _0x3d5edf;},_0x59dd(_0x3a211e,_0x2b11c8);}function _0x5155(){const _0x123149=['170MqaeMQ','數值計數項:','計數項:','9UyTCYJ','(空白)','2160067nXSyXN','平均值項:','1038142GtrFqY','4527728pDRgmn','496199ROWslU','2095413UxVKQu','最小值項:','最大值項:','5Wegjkc','總體方差項:','4429592hoLkGP','標準差項:','5959140xZkZgy','方差項:','求和項:','2hqcGdc','乘積項:'];_0x5155=function(){return _0x123149;};return _0x5155();}
|
|
@@ -0,0 +1,11 @@
|
|
|
1
|
+
import { ICommand } from '@univerjs/core';
|
|
2
|
+
import { PivotTableFiledAreaEnum } from '@univerjs-pro/engine-pivot';
|
|
3
|
+
export interface IAddPivotFieldCommandParams {
|
|
4
|
+
unitId: string;
|
|
5
|
+
subUnitId: string;
|
|
6
|
+
pivotTableId: string;
|
|
7
|
+
dataFieldId: string;
|
|
8
|
+
fieldArea: PivotTableFiledAreaEnum;
|
|
9
|
+
index: number;
|
|
10
|
+
}
|
|
11
|
+
export declare const AddPivotFieldCommand: ICommand<IAddPivotFieldCommandParams>;
|
|
@@ -0,0 +1,9 @@
|
|
|
1
|
+
import { ICommand } from '@univerjs/core';
|
|
2
|
+
import { PositionType } from '../../const/const';
|
|
3
|
+
import { IPivotTableConfig } from '../../const/type';
|
|
4
|
+
export interface IAddPivotTableCommandParams {
|
|
5
|
+
positionType: PositionType;
|
|
6
|
+
pivotTableId?: string;
|
|
7
|
+
pivotTableConfig: Omit<IPivotTableConfig, 'fieldsConfig'>;
|
|
8
|
+
}
|
|
9
|
+
export declare const AddPivotTableCommand: ICommand<IAddPivotTableCommandParams>;
|
|
@@ -0,0 +1,11 @@
|
|
|
1
|
+
import { ICommand } from '@univerjs/core';
|
|
2
|
+
import { PivotTableFiledAreaEnum } from '@univerjs-pro/engine-pivot';
|
|
3
|
+
export interface IMovePivotFieldCommandParams {
|
|
4
|
+
unitId: string;
|
|
5
|
+
subUnitId: string;
|
|
6
|
+
pivotTableId: string;
|
|
7
|
+
fieldId: string;
|
|
8
|
+
area: PivotTableFiledAreaEnum;
|
|
9
|
+
index: number;
|
|
10
|
+
}
|
|
11
|
+
export declare const MovePivotFieldCommand: ICommand<IMovePivotFieldCommandParams>;
|
|
@@ -0,0 +1,8 @@
|
|
|
1
|
+
import { ICommand } from '@univerjs/core';
|
|
2
|
+
export interface IRemovePivotFieldCommandParams {
|
|
3
|
+
unitId: string;
|
|
4
|
+
subUnitId: string;
|
|
5
|
+
pivotTableId: string;
|
|
6
|
+
fieldIds: string[];
|
|
7
|
+
}
|
|
8
|
+
export declare const RemovePivotFieldCommand: ICommand<IRemovePivotFieldCommandParams>;
|
|
@@ -0,0 +1,9 @@
|
|
|
1
|
+
import { ICommand } from '@univerjs/core';
|
|
2
|
+
export interface ISetPivotCollapseCommandParams {
|
|
3
|
+
unitId: string;
|
|
4
|
+
subUnitId: string;
|
|
5
|
+
row: number;
|
|
6
|
+
col: number;
|
|
7
|
+
collapse: boolean;
|
|
8
|
+
}
|
|
9
|
+
export declare const SetPivotCollapseCommand: ICommand<ISetPivotCollapseCommandParams>;
|
|
@@ -0,0 +1,10 @@
|
|
|
1
|
+
import { ICommand } from '@univerjs/core';
|
|
2
|
+
export interface ISetPivotFilterCommandParams {
|
|
3
|
+
unitId: string;
|
|
4
|
+
subUnitId: string;
|
|
5
|
+
pivotTableId: string;
|
|
6
|
+
tableFieldId: string;
|
|
7
|
+
items: string[];
|
|
8
|
+
isAll?: boolean;
|
|
9
|
+
}
|
|
10
|
+
export declare const SetPivotFilterCommand: ICommand<ISetPivotFilterCommandParams>;
|
|
@@ -0,0 +1,10 @@
|
|
|
1
|
+
import { ICommand } from '@univerjs/core';
|
|
2
|
+
import { IPivotTableSortInfo } from '@univerjs-pro/engine-pivot';
|
|
3
|
+
export interface ISetPivotSortCommandParams {
|
|
4
|
+
unitId: string;
|
|
5
|
+
subUnitId: string;
|
|
6
|
+
tableFieldId: string;
|
|
7
|
+
pivotTableId: string;
|
|
8
|
+
info: IPivotTableSortInfo;
|
|
9
|
+
}
|
|
10
|
+
export declare const SetPivotSortCommand: ICommand<ISetPivotSortCommandParams>;
|
|
@@ -0,0 +1,15 @@
|
|
|
1
|
+
import { ICommand } from '@univerjs/core';
|
|
2
|
+
import { PivotSubtotalTypeEnum } from '@univerjs-pro/engine-pivot';
|
|
3
|
+
import { IPivotPanelSourceList, IPivotPanelTableListItemBase } from '../../const/type';
|
|
4
|
+
export interface IUpdatePivotFieldSettingCommandParams {
|
|
5
|
+
unitId: string;
|
|
6
|
+
subUnitId: string;
|
|
7
|
+
tableFieldId: string;
|
|
8
|
+
pivotTableId: string;
|
|
9
|
+
displayName?: string;
|
|
10
|
+
format?: string;
|
|
11
|
+
subtotalType?: PivotSubtotalTypeEnum;
|
|
12
|
+
tableFieldInfo: IPivotPanelTableListItemBase;
|
|
13
|
+
dataFieldInfo: IPivotPanelSourceList;
|
|
14
|
+
}
|
|
15
|
+
export declare const UpdatePivotFieldSettingCommand: ICommand<IUpdatePivotFieldSettingCommandParams>;
|
|
@@ -0,0 +1,9 @@
|
|
|
1
|
+
import { ICommand } from '@univerjs/core';
|
|
2
|
+
import { IUnitRangeNameWithSubUnitId } from '../../const/type';
|
|
3
|
+
export interface IUpdatePivotTableSourceRangeCommandParams {
|
|
4
|
+
unitId: string;
|
|
5
|
+
subUnitId: string;
|
|
6
|
+
token: string;
|
|
7
|
+
dataRangeInfo: IUnitRangeNameWithSubUnitId;
|
|
8
|
+
}
|
|
9
|
+
export declare const UpdatePivotTableSourceRangeCommand: ICommand<IUpdatePivotTableSourceRangeCommandParams>;
|
|
@@ -0,0 +1,8 @@
|
|
|
1
|
+
import { ICommand } from '@univerjs/core';
|
|
2
|
+
import { PivotTableValuePositionEnum } from '@univerjs-pro/engine-pivot';
|
|
3
|
+
export interface IUpdatePivotValuePositionCommandParams {
|
|
4
|
+
pivotTableId: string;
|
|
5
|
+
position: PivotTableValuePositionEnum;
|
|
6
|
+
index: number;
|
|
7
|
+
}
|
|
8
|
+
export declare const UpdatePivotValuePositionCommand: ICommand<IUpdatePivotValuePositionCommandParams>;
|
|
@@ -0,0 +1,14 @@
|
|
|
1
|
+
import { IAccessor, ICommandService, IMutationInfo } from '@univerjs/core';
|
|
2
|
+
import { IPivotTableChangeSet } from '@univerjs-pro/engine-pivot';
|
|
3
|
+
import { IPivotGeneratedMutationsParams } from '../../const/type';
|
|
4
|
+
interface IPivotHostInfo {
|
|
5
|
+
pivotTableId: string;
|
|
6
|
+
unitId: string;
|
|
7
|
+
subUnitId: string;
|
|
8
|
+
}
|
|
9
|
+
export declare function applyChangeSet(_commandService: ICommandService, pivotInfo: IPivotHostInfo, changesets: IPivotTableChangeSet[]): {
|
|
10
|
+
redos: IMutationInfo<object>[];
|
|
11
|
+
undos: IMutationInfo<object>[];
|
|
12
|
+
};
|
|
13
|
+
export declare function generateMutationsFromPivotCommand(accessor: IAccessor, params: IPivotGeneratedMutationsParams): import('@univerjs/core').IUndoRedoCommandInfosByInterceptor;
|
|
14
|
+
export {};
|
|
@@ -0,0 +1,15 @@
|
|
|
1
|
+
import { IPivotTableSnapshot, PivotTableFiledAreaEnum } from '@univerjs-pro/engine-pivot';
|
|
2
|
+
import { IAddPivotFieldMutationParams, IRemovePivotFieldMutationParams, IRenamePivotFieldMutationParams, ISetPivotCollapseMutation, ISetPivotFieldFormatMutationParams, ISetPivotFilterMutationParams, ISetPivotOptionMutationParams, ISetPivotSortMutationParams, ISetPivotSubtotalTypeMutationParams, IUpdateFieldPositionMutationParams, IUpdatePivotFieldSourceInfoMutationParams, IUpdateValuePositionMutationParams } from '../../const/type';
|
|
3
|
+
export declare function getFieldListByArea(config: IPivotTableSnapshot, area: PivotTableFiledAreaEnum): string[];
|
|
4
|
+
export declare function applyAddFieldChangeSet(config: IPivotTableSnapshot, change: IAddPivotFieldMutationParams): void;
|
|
5
|
+
export declare function applyRemoveFieldChangeSet(config: IPivotTableSnapshot, change: IRemovePivotFieldMutationParams): void;
|
|
6
|
+
export declare function applyRenameFieldChangeSet(config: IPivotTableSnapshot, change: IRenamePivotFieldMutationParams): void;
|
|
7
|
+
export declare function applyCollapseChangeSet(config: IPivotTableSnapshot, change: ISetPivotCollapseMutation): void;
|
|
8
|
+
export declare function applySetFormatChangeSet(config: IPivotTableSnapshot, change: ISetPivotFieldFormatMutationParams): void;
|
|
9
|
+
export declare function applySetFilterChangeSet(config: IPivotTableSnapshot, change: ISetPivotFilterMutationParams): void;
|
|
10
|
+
export declare function applySetSubtotalChangeSet(config: IPivotTableSnapshot, change: ISetPivotSubtotalTypeMutationParams): void;
|
|
11
|
+
export declare function applyFieldPositionChangeSet(config: IPivotTableSnapshot, change: IUpdateFieldPositionMutationParams): void;
|
|
12
|
+
export declare function applyValuePositionChangeSet(config: IPivotTableSnapshot, change: IUpdateValuePositionMutationParams): void;
|
|
13
|
+
export declare function applySourceInfoChangeSet(config: IPivotTableSnapshot, change: IUpdatePivotFieldSourceInfoMutationParams): void;
|
|
14
|
+
export declare function applySetSortChangeSet(config: IPivotTableSnapshot, change: ISetPivotSortMutationParams): void;
|
|
15
|
+
export declare function applySetOptionsChangeSet(config: IPivotTableSnapshot, change: ISetPivotOptionMutationParams): void;
|
|
@@ -0,0 +1,7 @@
|
|
|
1
|
+
import { IMutation } from '@univerjs/core';
|
|
2
|
+
import { IGetPivotDataLocalMutationParams, ISendInitPivotTextLocalMutationParams, ISendPivotConfigLocalMutationParams, ISendPivotDataLocalMutationParams, ISendPivotViewLocalMutationParams } from '../../const/type';
|
|
3
|
+
export declare const GetPivotDataLocalMutation: IMutation<IGetPivotDataLocalMutationParams>;
|
|
4
|
+
export declare const SendPivotDataLocalMutation: IMutation<ISendPivotDataLocalMutationParams>;
|
|
5
|
+
export declare const SendPivotViewLocalMutation: IMutation<ISendPivotViewLocalMutationParams>;
|
|
6
|
+
export declare const SendPivotConfigLocalMutation: IMutation<ISendPivotConfigLocalMutationParams>;
|
|
7
|
+
export declare const SendInitPivotTextLocalMutation: IMutation<ISendInitPivotTextLocalMutationParams>;
|
|
@@ -0,0 +1,64 @@
|
|
|
1
|
+
export declare const ReverseMap: {
|
|
2
|
+
"0": string;
|
|
3
|
+
"1": string;
|
|
4
|
+
"2": string;
|
|
5
|
+
"3": string;
|
|
6
|
+
"4": string;
|
|
7
|
+
"5": string;
|
|
8
|
+
"6": string;
|
|
9
|
+
"7": string;
|
|
10
|
+
"8": string;
|
|
11
|
+
"9": string;
|
|
12
|
+
k: string;
|
|
13
|
+
Y: string;
|
|
14
|
+
e: string;
|
|
15
|
+
q: string;
|
|
16
|
+
G: string;
|
|
17
|
+
f: string;
|
|
18
|
+
J: string;
|
|
19
|
+
C: string;
|
|
20
|
+
h: string;
|
|
21
|
+
w: string;
|
|
22
|
+
P: string;
|
|
23
|
+
H: string;
|
|
24
|
+
g: string;
|
|
25
|
+
I: string;
|
|
26
|
+
d: string;
|
|
27
|
+
X: string;
|
|
28
|
+
s: string;
|
|
29
|
+
t: string;
|
|
30
|
+
S: string;
|
|
31
|
+
L: string;
|
|
32
|
+
A: string;
|
|
33
|
+
c: string;
|
|
34
|
+
u: string;
|
|
35
|
+
U: string;
|
|
36
|
+
n: string;
|
|
37
|
+
B: string;
|
|
38
|
+
z: string;
|
|
39
|
+
O: string;
|
|
40
|
+
V: string;
|
|
41
|
+
F: string;
|
|
42
|
+
D: string;
|
|
43
|
+
y: string;
|
|
44
|
+
x: string;
|
|
45
|
+
R: string;
|
|
46
|
+
K: string;
|
|
47
|
+
i: string;
|
|
48
|
+
W: string;
|
|
49
|
+
m: string;
|
|
50
|
+
E: string;
|
|
51
|
+
v: string;
|
|
52
|
+
b: string;
|
|
53
|
+
Z: string;
|
|
54
|
+
Q: string;
|
|
55
|
+
l: string;
|
|
56
|
+
p: string;
|
|
57
|
+
r: string;
|
|
58
|
+
N: string;
|
|
59
|
+
a: string;
|
|
60
|
+
M: string;
|
|
61
|
+
o: string;
|
|
62
|
+
T: string;
|
|
63
|
+
j: string;
|
|
64
|
+
};
|
|
@@ -0,0 +1,107 @@
|
|
|
1
|
+
import { Injector, IRange } from '@univerjs/core';
|
|
2
|
+
import { IPivotViewCellData, IPivotViewValueType, PivotView, PivotViewItem } from '@univerjs-pro/engine-pivot';
|
|
3
|
+
import { default as zhCN } from '../locale/zh-CN';
|
|
4
|
+
import { IAdjustPivotTableRes, IPivotTableConfig, IThemeStyle } from './type';
|
|
5
|
+
export declare const BUILD_TIMESTAMP: number;
|
|
6
|
+
export declare const PIVOT_ICON_OFFSET = 16;
|
|
7
|
+
export declare const DEFAULT_PIVOT_NUMBER = 1;
|
|
8
|
+
export declare const SHEET_PIVOT_TABLE_PLUGIN = "SHEET_PIVOT_TABLE_PLUGIN";
|
|
9
|
+
export declare const BLANK_ROW_COUNT = 1;
|
|
10
|
+
export declare const BLANK_COL_COUNT = 1;
|
|
11
|
+
export declare const PIVOT_COL_HEADER_FROM = 1;
|
|
12
|
+
export declare const DEFAULT_FONT_LEFT_PADDING = 15;
|
|
13
|
+
export declare const DEFAULT_FIELD_BG_COLOR = "rgb(240,241,243)";
|
|
14
|
+
export declare const DEFAULT_DATA_BG_COLOR = "rgb(255,255,255)";
|
|
15
|
+
export declare const DEFAULT_PIVOT_BORDER_COLOR = "#b2b2b2";
|
|
16
|
+
export declare const DEFAULT_PIVOT_PAGE_VIEW_BG = "#f4f4f5";
|
|
17
|
+
export declare const DEFAULT_PIVOT_LEAF_VIEW_BG = "#f4f4f5";
|
|
18
|
+
export declare const DEFAULT_PIVOT_CORNER_VIEW_VG = "#eceeff";
|
|
19
|
+
export declare const DEFAULT_PIVOT_GRAND_TOTAL_BG = "#1d32e9";
|
|
20
|
+
export declare const DEFAULT_PIVOT_GRAND_TOTAL_CL = "#FFFFFF";
|
|
21
|
+
export declare const DEFAULT_PIVOT_SUB_TOTAL_BG = "#e6ebfa";
|
|
22
|
+
export declare const DEFAULT_PIVOT_COL_VIEW_BG = "#1d32e9";
|
|
23
|
+
export declare const DEFAULT_PIVOT_COL_VIEW_CL = "#FFFFFF";
|
|
24
|
+
export declare const DEFAULT_PIVOT_ROW_VIEW_BG = "#e6ebfb";
|
|
25
|
+
export declare const DEFAULT_PIVOT_DATA_VIEW_BG = "#e6ebfb";
|
|
26
|
+
export declare const DEFAULT_EMPTY_PIVOT_ROW_COUNT = 14;
|
|
27
|
+
export declare const DEFAULT_EMPTY_PIVOT_COL_COUNT = 6;
|
|
28
|
+
export declare enum PositionType {
|
|
29
|
+
Exiting = "exiting",
|
|
30
|
+
New = "new"
|
|
31
|
+
}
|
|
32
|
+
export declare const localeTemplate: typeof zhCN;
|
|
33
|
+
export declare const PIVOT_TABLE_QUERY_DELAY = 30;
|
|
34
|
+
export declare const defaultEmptyPivotFieldCellStyle: {
|
|
35
|
+
bg: {
|
|
36
|
+
rgb: string;
|
|
37
|
+
};
|
|
38
|
+
ht: number;
|
|
39
|
+
vt: number;
|
|
40
|
+
tb: number;
|
|
41
|
+
};
|
|
42
|
+
export declare const defaultEmptyPivotDataCellStyle: {
|
|
43
|
+
bg: {
|
|
44
|
+
rgb: string;
|
|
45
|
+
};
|
|
46
|
+
ht: number;
|
|
47
|
+
vt: number;
|
|
48
|
+
tb: number;
|
|
49
|
+
};
|
|
50
|
+
export declare const defaultThemeStyle: IThemeStyle;
|
|
51
|
+
export declare const generatorAdjustPositionData: (injector: Injector, data: PivotView, pivotTableConfig: IPivotTableConfig, textInfo: Record<string, string>) => IAdjustPivotTableRes;
|
|
52
|
+
export declare function transFromCellValue(cellData: IPivotViewCellData, isValue: boolean, format: string | undefined, textInfo: Record<string, string>): IPivotViewValueType;
|
|
53
|
+
export declare function transformErrorValue(value: IPivotViewValueType): string | number | import('@univerjs-pro/engine-pivot').IPivotViewPrefixValue | undefined;
|
|
54
|
+
export declare function getAdjustRangesPosition(startCell: {
|
|
55
|
+
row: number;
|
|
56
|
+
col: number;
|
|
57
|
+
}, view: PivotViewItem, singleCellIsRange?: boolean, useLastRowOrCol?: boolean): IRange[];
|
|
58
|
+
export declare const SHEET_PIVOT_IN_MAIN_THREAD = "SHEET_PIVOT_IN_MAIN_THREAD";
|
|
59
|
+
export declare const SHEET_PIVOT_EXCLUSIVE_ID = "SHEET_PIVOT_EXCLUSIVE_ID";
|
|
60
|
+
export declare enum PivotDisplayDataType {
|
|
61
|
+
Filter = "filter",
|
|
62
|
+
Panel = "panel",
|
|
63
|
+
AddPivotField = "addPivotField",
|
|
64
|
+
AddPivotTableWithConfig = "AddPivotTableWithConfig",
|
|
65
|
+
AddPivotTable = "addPivotTable",
|
|
66
|
+
MovePivotField = "movePivotField",
|
|
67
|
+
RemovePivotField = "removePivotField",
|
|
68
|
+
SetPivotCollapse = "setPivotCollapse",
|
|
69
|
+
SetPivotFilter = "setPivotFilter",
|
|
70
|
+
SetPivotSort = "setPivotSort",
|
|
71
|
+
SetPivotSetting = "setPivotSetting",
|
|
72
|
+
UpdatePivotSource = "updatePivotSource",
|
|
73
|
+
UpdateValuePosition = "updateValuePosition",
|
|
74
|
+
DrillDown = "drillDown"
|
|
75
|
+
}
|
|
76
|
+
export declare const defaultTextInfo: {
|
|
77
|
+
'sheets-pivot.blankValue': string;
|
|
78
|
+
'sheets-pivot.columnName': string;
|
|
79
|
+
'sheets-pivot.subTotalText': string;
|
|
80
|
+
'sheets-pivot.grandTotalText': string;
|
|
81
|
+
'sheets-pivot.valueText': string;
|
|
82
|
+
'sheets-pivot.averageName': string;
|
|
83
|
+
'sheets-pivot.countName': string;
|
|
84
|
+
'sheets-pivot.countNumsName': string;
|
|
85
|
+
'sheets-pivot.maxName': string;
|
|
86
|
+
'sheets-pivot.minName': string;
|
|
87
|
+
'sheets-pivot.productName': string;
|
|
88
|
+
'sheets-pivot.stdDevName': string;
|
|
89
|
+
'sheets-pivot.stdDevpName': string;
|
|
90
|
+
'sheets-pivot.sumName': string;
|
|
91
|
+
'sheets-pivot.varName': string;
|
|
92
|
+
'sheets-pivot.varpName': string;
|
|
93
|
+
'sheets-pivot.subTotal': string;
|
|
94
|
+
'sheets-pivot.grandTotal': string;
|
|
95
|
+
'sheets-pivot.value': string;
|
|
96
|
+
'sheets-pivot.blank': string;
|
|
97
|
+
'sheets-pivot.emptyPivot.filter': string;
|
|
98
|
+
'sheets-pivot.emptyPivot.row': string;
|
|
99
|
+
'sheets-pivot.emptyPivot.column': string;
|
|
100
|
+
'sheets-pivot.emptyPivot.values': string;
|
|
101
|
+
};
|
|
102
|
+
export declare const defaultEmptyPivotGeneratedMutations: {
|
|
103
|
+
undos: never[];
|
|
104
|
+
redos: never[];
|
|
105
|
+
preUndos: never[];
|
|
106
|
+
preRedos: never[];
|
|
107
|
+
};
|