@univerjs-pro/sheets-pivot 0.5.3 → 0.5.4
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/fr-FR.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/fr-FR.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 +18 -0
- package/lib/types/commands/command/move-pivot-field.command.d.ts +19 -1
- package/lib/types/commands/command/remove-pivot-field.command.d.ts +12 -0
- package/lib/types/commands/command/set-pivot-collapse.command.d.ts +15 -0
- package/lib/types/commands/command/set-pivot-filter.command.d.ts +18 -0
- package/lib/types/commands/command/set-pivot-sort.command.d.ts +17 -2
- package/lib/types/commands/command/update-pivot-setting.command.d.ts +28 -1
- package/lib/types/commands/command/update-value-position.command.d.ts +10 -1
- package/lib/types/common/const.d.ts +39 -39
- package/lib/types/const/const.d.ts +10 -1
- package/lib/types/const/type.d.ts +213 -2
- package/lib/types/controllers/const.d.ts +1 -1
- package/lib/types/facade/f-enum.d.ts +50 -0
- package/lib/types/facade/f-event.d.ts +276 -0
- package/lib/types/facade/f-pivot-table.d.ts +205 -4
- package/lib/types/facade/f-univer.d.ts +18 -0
- package/lib/types/facade/f-workbook.d.ts +45 -14
- package/lib/types/facade/index.d.ts +5 -1
- package/lib/types/index.d.ts +3 -1
- package/lib/types/models/sheets-pivot-config-model.d.ts +2 -1
- package/lib/types/models/sheets-pivot-table-adaptor-model.d.ts +2 -9
- 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/fr-FR.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 +11 -11
package/lib/es/locale/en-US.js
CHANGED
|
@@ -1 +1 @@
|
|
|
1
|
-
const
|
|
1
|
+
function _0x4cf2(_0x47ae16,_0x45d24c){const _0x6362a1=_0x6362();return _0x4cf2=function(_0x4cf2b7,_0x9d1b85){_0x4cf2b7=_0x4cf2b7-0x17a;let _0xc50e13=_0x6362a1[_0x4cf2b7];return _0xc50e13;},_0x4cf2(_0x47ae16,_0x45d24c);}function _0x6362(){const _0x36f65c=['Count\x20of\x20','690964bJCJXP','1aTTZuJ','Column\x20','5836434gohHSS','192108LnRhUO','16MGPDdN','Min\x20of\x20','Filter','(Blank)','24eDnpYa','Row','Subtotal','Average\x20of\x20','StdDevp\x20of\x20','Values','39790RyMJUu','456048nHvfTq','326735FEyDxW','Var\x20of\x20','Product\x20of\x20','584024ZNtyKd','value','Grand\x20Total','Varp\x20of\x20','1441BTUghN'];_0x6362=function(){return _0x36f65c;};return _0x6362();}const _0x32b405=_0x4cf2;(function(_0xcdb52d,_0x4f0f6f){const _0x4db610=_0x4cf2,_0xd9fc65=_0xcdb52d();while(!![]){try{const _0xa26039=-parseInt(_0x4db610(0x183))/0x1*(-parseInt(_0x4db610(0x182))/0x2)+-parseInt(_0x4db610(0x186))/0x3+-parseInt(_0x4db610(0x187))/0x4*(-parseInt(_0x4db610(0x193))/0x5)+parseInt(_0x4db610(0x185))/0x6+parseInt(_0x4db610(0x17c))/0x7+parseInt(_0x4db610(0x18b))/0x8*(-parseInt(_0x4db610(0x192))/0x9)+-parseInt(_0x4db610(0x191))/0xa*(parseInt(_0x4db610(0x180))/0xb);if(_0xa26039===_0x4f0f6f)break;else _0xd9fc65['push'](_0xd9fc65['shift']());}catch(_0x20c416){_0xd9fc65['push'](_0xd9fc65['shift']());}}}(_0x6362,0xe202c));const a={'sheets-pivot':{'blankValue':_0x32b405(0x18a),'columnName':_0x32b405(0x184),'subTotalText':'Total','grandTotalText':_0x32b405(0x17e),'valueText':'Value','averageName':_0x32b405(0x18e),'countName':_0x32b405(0x181),'countNumsName':_0x32b405(0x181),'maxName':'Max\x20of\x20','minName':_0x32b405(0x188),'productName':_0x32b405(0x17b),'stdDevName':'StdDev\x20of\x20','stdDevpName':_0x32b405(0x18f),'sumName':'Sum\x20of\x20','varName':_0x32b405(0x17a),'varpName':_0x32b405(0x17f),'subTotal':_0x32b405(0x18d),'grandTotal':_0x32b405(0x17e),'value':_0x32b405(0x17d),'blank':'blank','emptyPivot':{'filter':_0x32b405(0x189),'row':_0x32b405(0x18c),'column':'Column','values':_0x32b405(0x190)}}};export{a as default};
|
package/lib/es/locale/fa-IR.js
CHANGED
|
@@ -1 +1 @@
|
|
|
1
|
-
const
|
|
1
|
+
function _0x18a3(){const _0x17aae3=['میانگین\x20از\x20','5673770wHEVci','کمترین\x20از\x20','14262wlaDcP','ضرب\x20از\x20','ستون','1837814mtMMwZ','608706fNqFub','فیلتر','جمع','1016344qOySAQ','تعداد\x20اعداد\x20از\x20','ستون\x20','مقدار','خالی','24zUcGPA','2885dwgoGZ','واریانس\x20از\x20','702184nwnggA','(خالی)','18YMVKJh','بیشترین\x20از\x20','12RyIGVg','سطر','تعداد\x20از\x20','مقادیر','36275954jyLgRN','انحراف\x20معیار\x20کلی\x20از\x20'];_0x18a3=function(){return _0x17aae3;};return _0x18a3();}const _0xb2b898=_0x8b75;(function(_0x311fda,_0x1e9781){const _0x428ffd=_0x8b75,_0x35c53c=_0x311fda();while(!![]){try{const _0x2ff174=parseInt(_0x428ffd(0x98))/0x1+-parseInt(_0x428ffd(0x8c))/0x2+parseInt(_0x428ffd(0x8d))/0x3*(parseInt(_0x428ffd(0x9c))/0x4)+-parseInt(_0x428ffd(0x96))/0x5*(parseInt(_0x428ffd(0xa5))/0x6)+parseInt(_0x428ffd(0x90))/0x7*(-parseInt(_0x428ffd(0x95))/0x8)+parseInt(_0x428ffd(0x9a))/0x9*(-parseInt(_0x428ffd(0xa3))/0xa)+parseInt(_0x428ffd(0xa0))/0xb;if(_0x2ff174===_0x1e9781)break;else _0x35c53c['push'](_0x35c53c['shift']());}catch(_0x1471c0){_0x35c53c['push'](_0x35c53c['shift']());}}}(_0x18a3,0xb69a2));function _0x8b75(_0x26b4f6,_0xc27647){const _0x18a381=_0x18a3();return _0x8b75=function(_0x8b753c,_0x3d8a6b){_0x8b753c=_0x8b753c-0x8b;let _0x44a91c=_0x18a381[_0x8b753c];return _0x44a91c;},_0x8b75(_0x26b4f6,_0xc27647);}const a={'sheets-pivot':{'blankValue':_0xb2b898(0x99),'columnName':_0xb2b898(0x92),'subTotalText':_0xb2b898(0x8f),'grandTotalText':'کل','valueText':'مقدار','averageName':_0xb2b898(0xa2),'countName':_0xb2b898(0x9e),'countNumsName':_0xb2b898(0x91),'maxName':_0xb2b898(0x9b),'minName':_0xb2b898(0xa4),'productName':_0xb2b898(0xa6),'stdDevName':'انحراف\x20معیار\x20از\x20','stdDevpName':_0xb2b898(0xa1),'sumName':'جمع\x20از\x20','varName':_0xb2b898(0x97),'varpName':'واریانس\x20کلی\x20از\x20','subTotal':'جمع','grandTotal':'کل','value':_0xb2b898(0x93),'blank':_0xb2b898(0x94),'emptyPivot':{'filter':_0xb2b898(0x8e),'row':_0xb2b898(0x9d),'column':_0xb2b898(0x8b),'values':_0xb2b898(0x9f)}}};export{a as default};
|
package/lib/es/locale/fr-FR.js
CHANGED
|
@@ -1 +1 @@
|
|
|
1
|
-
const
|
|
1
|
+
const _0x4148f7=_0x3b62;(function(_0x303132,_0xeeebf8){const _0x188a63=_0x3b62,_0x904c90=_0x303132();while(!![]){try{const _0x2c86e3=-parseInt(_0x188a63(0xb7))/0x1+parseInt(_0x188a63(0xb3))/0x2+-parseInt(_0x188a63(0xa5))/0x3+parseInt(_0x188a63(0xb2))/0x4*(-parseInt(_0x188a63(0xb8))/0x5)+-parseInt(_0x188a63(0xbb))/0x6+parseInt(_0x188a63(0xa8))/0x7*(parseInt(_0x188a63(0xb5))/0x8)+-parseInt(_0x188a63(0xae))/0x9*(-parseInt(_0x188a63(0xba))/0xa);if(_0x2c86e3===_0xeeebf8)break;else _0x904c90['push'](_0x904c90['shift']());}catch(_0x2f9739){_0x904c90['push'](_0x904c90['shift']());}}}(_0x44ea,0xa541c));function _0x3b62(_0x5ce5e9,_0x36dbf9){const _0x44ea71=_0x44ea();return _0x3b62=function(_0x3b6267,_0xc9751f){_0x3b6267=_0x3b6267-0xa2;let _0x1cd733=_0x44ea71[_0x3b6267];return _0x1cd733;},_0x3b62(_0x5ce5e9,_0x36dbf9);}function _0x44ea(){const _0x4b7fca=['72441PaKvrZ','StdDev\x20of\x20','blank','Column\x20','4mQpiEJ','988966tVOsVr','Grand\x20Total','8HCqBtS','Values','937618xVxpbb','4473565oCwOdr','Varp\x20of\x20','4060VvwOjk','6553482UEUTkL','value','Var\x20of\x20','Row','2876286MKjtCV','Total','Count\x20of\x20','5584985FCIDhH','Average\x20of\x20','Min\x20of\x20','StdDevp\x20of\x20','(Blank)','Value'];_0x44ea=function(){return _0x4b7fca;};return _0x44ea();}const a={'sheets-pivot':{'blankValue':_0x4148f7(0xac),'columnName':_0x4148f7(0xb1),'subTotalText':_0x4148f7(0xa6),'grandTotalText':_0x4148f7(0xb4),'valueText':_0x4148f7(0xad),'averageName':_0x4148f7(0xa9),'countName':'Count\x20of\x20','countNumsName':_0x4148f7(0xa7),'maxName':'Max\x20of\x20','minName':_0x4148f7(0xaa),'productName':'Product\x20of\x20','stdDevName':_0x4148f7(0xaf),'stdDevpName':_0x4148f7(0xab),'sumName':'Sum\x20of\x20','varName':_0x4148f7(0xa3),'varpName':_0x4148f7(0xb9),'subTotal':'Subtotal','grandTotal':_0x4148f7(0xb4),'value':_0x4148f7(0xa2),'blank':_0x4148f7(0xb0),'emptyPivot':{'filter':'Filter','row':_0x4148f7(0xa4),'column':'Column','values':_0x4148f7(0xb6)}}},e=a;export{e as default};
|
package/lib/es/locale/ru-RU.js
CHANGED
|
@@ -1 +1 @@
|
|
|
1
|
-
const
|
|
1
|
+
function _0x1446(_0x218856,_0x101107){const _0x11e0bc=_0x11e0();return _0x1446=function(_0x1446b4,_0x2596f2){_0x1446b4=_0x1446b4-0x18e;let _0x10f065=_0x11e0bc[_0x1446b4];return _0x10f065;},_0x1446(_0x218856,_0x101107);}function _0x11e0(){const _0x19d921=['688068jmdLlo','Произведение\x20по\x20','Столбец\x20','(Пусто)','51716qnAlTk','Стандартное\x20отклонение\x20по\x20','Строка','Число\x20по\x20','6TxssIt','Общий\x20итог','5087605VgFWjA','Общая\x20дисперсия\x20по\x20','Дисперсия\x20по\x20','Минимум\x20по\x20','Сумма\x20по\x20','Значение','12993840cYnEqt','2408077tlHklo','44eeEAdw','Пусто','Количество\x20по\x20','40CGLdCa','Максимум\x20по\x20','14982156XRFoRu','4688847gVKUkx','Промежуточный\x20итог','Общее\x20стандартное\x20отклонение\x20по\x20'];_0x11e0=function(){return _0x19d921;};return _0x11e0();}const _0x4172b3=_0x1446;(function(_0x1c011b,_0x427f48){const _0x284201=_0x1446,_0x802034=_0x1c011b();while(!![]){try{const _0x962f48=-parseInt(_0x284201(0x1a6))/0x1*(parseInt(_0x284201(0x198))/0x2)+parseInt(_0x284201(0x191))/0x3+parseInt(_0x284201(0x194))/0x4+parseInt(_0x284201(0x19e))/0x5*(-parseInt(_0x284201(0x19c))/0x6)+-parseInt(_0x284201(0x1a5))/0x7*(-parseInt(_0x284201(0x18e))/0x8)+-parseInt(_0x284201(0x190))/0x9+parseInt(_0x284201(0x1a4))/0xa;if(_0x962f48===_0x427f48)break;else _0x802034['push'](_0x802034['shift']());}catch(_0x11d4ac){_0x802034['push'](_0x802034['shift']());}}}(_0x11e0,0xe4230));const a={'sheets-pivot':{'blankValue':_0x4172b3(0x197),'columnName':_0x4172b3(0x196),'subTotalText':'Промежуточный\x20итог','grandTotalText':_0x4172b3(0x19d),'valueText':'Значение','averageName':'Среднее\x20по\x20','countName':_0x4172b3(0x1a8),'countNumsName':_0x4172b3(0x19b),'maxName':_0x4172b3(0x18f),'minName':_0x4172b3(0x1a1),'productName':_0x4172b3(0x195),'stdDevName':_0x4172b3(0x199),'stdDevpName':_0x4172b3(0x193),'sumName':_0x4172b3(0x1a2),'varName':_0x4172b3(0x1a0),'varpName':_0x4172b3(0x19f),'subTotal':_0x4172b3(0x192),'grandTotal':_0x4172b3(0x19d),'value':_0x4172b3(0x1a3),'blank':_0x4172b3(0x1a7),'emptyPivot':{'filter':'Фильтр','row':_0x4172b3(0x19a),'column':'Столбец','values':_0x4172b3(0x1a3)}}};export{a as default};
|
package/lib/es/locale/vi-VN.js
CHANGED
|
@@ -1 +1 @@
|
|
|
1
|
-
const
|
|
1
|
+
const _0x5b1d36=_0x4853;function _0x4853(_0x158a8f,_0x4d7200){const _0x3ed0cd=_0x3ed0();return _0x4853=function(_0x48537b,_0x1c2adc){_0x48537b=_0x48537b-0x8f;let _0x3da10b=_0x3ed0cd[_0x48537b];return _0x3da10b;},_0x4853(_0x158a8f,_0x4d7200);}(function(_0x225b38,_0x37fecb){const _0x20cfee=_0x4853,_0x1e7cc3=_0x225b38();while(!![]){try{const _0x5f2571=-parseInt(_0x20cfee(0x99))/0x1*(-parseInt(_0x20cfee(0x9c))/0x2)+parseInt(_0x20cfee(0x9f))/0x3*(parseInt(_0x20cfee(0xa8))/0x4)+-parseInt(_0x20cfee(0x97))/0x5*(-parseInt(_0x20cfee(0xa5))/0x6)+-parseInt(_0x20cfee(0x9b))/0x7+parseInt(_0x20cfee(0xa2))/0x8+parseInt(_0x20cfee(0x90))/0x9*(-parseInt(_0x20cfee(0x95))/0xa)+parseInt(_0x20cfee(0x91))/0xb;if(_0x5f2571===_0x37fecb)break;else _0x1e7cc3['push'](_0x1e7cc3['shift']());}catch(_0x458130){_0x1e7cc3['push'](_0x1e7cc3['shift']());}}}(_0x3ed0,0xdd5c8));function _0x3ed0(){const _0x333dd5=['Phương\x20sai\x20toàn\x20phần:','3294151rcjVKi','1146QtOZtp','Trống','Độ\x20lệch\x20chuẩn:','1604313BvGGnh','Giá\x20trị\x20tối\x20đa:','Độ\x20lệch\x20chuẩn\x20toàn\x20phần:','2348736blDCAA','Hàng','Số\x20lượng:','6jmyaLe','Số\x20lượng\x20số:','Giá\x20trị','4aHSzSI','Tổng\x20cộng','45cIsHFp','1958506FuTrzV','Tích:','Giá\x20trị\x20tối\x20thiểu:','Giá\x20trị\x20trung\x20bình:','1407320OpKCql','(Trống)','997845somayV','Phương\x20sai:','1527jRvtVr'];_0x3ed0=function(){return _0x333dd5;};return _0x3ed0();}const a={'sheets-pivot':{'blankValue':_0x5b1d36(0x96),'columnName':'Cột\x20','subTotalText':'Tổng\x20phụ','grandTotalText':'Tổng\x20cộng','valueText':_0x5b1d36(0xa7),'averageName':_0x5b1d36(0x94),'countName':_0x5b1d36(0xa4),'countNumsName':_0x5b1d36(0xa6),'maxName':_0x5b1d36(0xa0),'minName':_0x5b1d36(0x93),'productName':_0x5b1d36(0x92),'stdDevName':_0x5b1d36(0x9e),'stdDevpName':_0x5b1d36(0xa1),'sumName':'Tổng:','varName':_0x5b1d36(0x98),'varpName':_0x5b1d36(0x9a),'subTotal':'Tổng\x20phụ','grandTotal':_0x5b1d36(0x8f),'value':_0x5b1d36(0xa7),'blank':_0x5b1d36(0x9d),'emptyPivot':{'filter':'Lọc','row':_0x5b1d36(0xa3),'column':'Cột','values':_0x5b1d36(0xa7)}}};export{a as default};
|
package/lib/es/locale/zh-CN.js
CHANGED
|
@@ -1 +1 @@
|
|
|
1
|
-
const
|
|
1
|
+
function _0x4157(){const _0x599185=['555844fILLNh','1064151tRsIVN','659034mQFOvX','总体方差项:','方差项:','862785AaVfwT','311209MBBGup','764460bInYbi','1573585kUQoHY','标准偏差项:','最小值项:','最大值项:','(空白)','总体标准偏差项:','乘积项:','24Wzjcjh','4rWxqEw'];_0x4157=function(){return _0x599185;};return _0x4157();}const _0x42791f=_0x1ea9;function _0x1ea9(_0x125aca,_0x64b3dd){const _0x415711=_0x4157();return _0x1ea9=function(_0x1ea969,_0xaffc3b){_0x1ea969=_0x1ea969-0xb3;let _0x609559=_0x415711[_0x1ea969];return _0x609559;},_0x1ea9(_0x125aca,_0x64b3dd);}(function(_0x2c231b,_0x634628){const _0x5ac305=_0x1ea9,_0x11941e=_0x2c231b();while(!![]){try{const _0x40fe68=parseInt(_0x5ac305(0xc1))/0x1+parseInt(_0x5ac305(0xbb))/0x2+-parseInt(_0x5ac305(0xbd))/0x3+-parseInt(_0x5ac305(0xba))/0x4*(parseInt(_0x5ac305(0xc3))/0x5)+-parseInt(_0x5ac305(0xc2))/0x6+-parseInt(_0x5ac305(0xc0))/0x7+-parseInt(_0x5ac305(0xb9))/0x8*(-parseInt(_0x5ac305(0xbc))/0x9);if(_0x40fe68===_0x634628)break;else _0x11941e['push'](_0x11941e['shift']());}catch(_0x57840a){_0x11941e['push'](_0x11941e['shift']());}}}(_0x4157,0x26c44));const a={'sheets-pivot':{'blankValue':_0x42791f(0xb6),'columnName':'列\x20','subTotalText':'汇总','grandTotalText':'总计','valueText':'值','averageName':'平均值项:','countName':'计数项:','countNumsName':'数值计数项:','maxName':_0x42791f(0xb5),'minName':_0x42791f(0xb4),'productName':_0x42791f(0xb8),'stdDevName':_0x42791f(0xb3),'stdDevpName':_0x42791f(0xb7),'sumName':'求和项:','varName':_0x42791f(0xbf),'varpName':_0x42791f(0xbe),'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 _0x1d05fe=_0x3ea0;function _0x3ea0(_0x37032c,_0x3c2fa1){const _0x448ae6=_0x448a();return _0x3ea0=function(_0x3ea07d,_0x6815c9){_0x3ea07d=_0x3ea07d-0xb2;let _0x56536f=_0x448ae6[_0x3ea07d];return _0x56536f;},_0x3ea0(_0x37032c,_0x3c2fa1);}(function(_0x39f801,_0x689180){const _0x4be85c=_0x3ea0,_0x42a2fd=_0x39f801();while(!![]){try{const _0x3184c9=-parseInt(_0x4be85c(0xc4))/0x1*(parseInt(_0x4be85c(0xbc))/0x2)+-parseInt(_0x4be85c(0xbb))/0x3+-parseInt(_0x4be85c(0xb9))/0x4*(parseInt(_0x4be85c(0xc3))/0x5)+parseInt(_0x4be85c(0xbd))/0x6*(-parseInt(_0x4be85c(0xbf))/0x7)+parseInt(_0x4be85c(0xb3))/0x8*(-parseInt(_0x4be85c(0xba))/0x9)+-parseInt(_0x4be85c(0xb7))/0xa+parseInt(_0x4be85c(0xb4))/0xb;if(_0x3184c9===_0x689180)break;else _0x42a2fd['push'](_0x42a2fd['shift']());}catch(_0x3f3b46){_0x42a2fd['push'](_0x42a2fd['shift']());}}}(_0x448a,0x4c521));const a={'sheets-pivot':{'blankValue':_0x1d05fe(0xb5),'columnName':'欄\x20','subTotalText':'小計','grandTotalText':'總計','valueText':'值','averageName':_0x1d05fe(0xbe),'countName':_0x1d05fe(0xc5),'countNumsName':_0x1d05fe(0xb2),'maxName':_0x1d05fe(0xc2),'minName':_0x1d05fe(0xb6),'productName':'乘積項:','stdDevName':_0x1d05fe(0xb8),'stdDevpName':_0x1d05fe(0xc6),'sumName':_0x1d05fe(0xc0),'varName':'方差項:','varpName':_0x1d05fe(0xc1),'subTotal':'小計','grandTotal':'總計','value':'值','blank':'空白','emptyPivot':{'filter':'篩選','row':'行','column':'欄','values':'值'}}};function _0x448a(){const _0x409aba=['2723157CNggMC','763338zIulpV','168178JVoscM','11610DDlWuR','平均值項:','1673fTGntI','求和項:','總體方差項:','最大值項:','1057495UdbZwj','3wpwiXG','計數項:','總體標準差項:','數值計數項:','8RmyKgy','23148356mgElbE','(空白)','最小值項:','3085370qYIYxJ','標準差項:','4EkZrEw'];_0x448a=function(){return _0x409aba;};return _0x448a();}export{a as default};
|
|
@@ -1,11 +1,29 @@
|
|
|
1
1
|
import { PivotTableFiledAreaEnum } from '@univerjs-pro/engine-pivot';
|
|
2
2
|
import { ICommand } from '@univerjs/core';
|
|
3
3
|
export interface IAddPivotFieldCommandParams {
|
|
4
|
+
/**
|
|
5
|
+
* @property {string} unitId The unit id of workbook which the pivot table belongs to.
|
|
6
|
+
*/
|
|
4
7
|
unitId: string;
|
|
8
|
+
/**
|
|
9
|
+
* @property {string} subUnitId The sub unit id of worksheet which the pivot table belongs to.
|
|
10
|
+
*/
|
|
5
11
|
subUnitId: string;
|
|
12
|
+
/**
|
|
13
|
+
* @property {string} pivotTableId The pivot table id.
|
|
14
|
+
*/
|
|
6
15
|
pivotTableId: string;
|
|
16
|
+
/**
|
|
17
|
+
* @property {string} dataFieldId The data field id. Which is the data source field id.
|
|
18
|
+
*/
|
|
7
19
|
dataFieldId: string;
|
|
20
|
+
/**
|
|
21
|
+
* @property {PivotTableFiledAreaEnum} fieldArea The field area to add the data field.
|
|
22
|
+
*/
|
|
8
23
|
fieldArea: PivotTableFiledAreaEnum;
|
|
24
|
+
/**
|
|
25
|
+
* @property {number} index The index to add the data field. Which is base-on 0.
|
|
26
|
+
*/
|
|
9
27
|
index: number;
|
|
10
28
|
}
|
|
11
29
|
export declare const AddPivotFieldCommand: ICommand<IAddPivotFieldCommandParams>;
|
|
@@ -1,11 +1,29 @@
|
|
|
1
|
-
import { ICommand } from '@univerjs/core';
|
|
2
1
|
import { PivotTableFiledAreaEnum } from '@univerjs-pro/engine-pivot';
|
|
2
|
+
import { ICommand } from '@univerjs/core';
|
|
3
3
|
export interface IMovePivotFieldCommandParams {
|
|
4
|
+
/**
|
|
5
|
+
* @property {string} unitId The unit id of workbook which the pivot table belongs to.
|
|
6
|
+
*/
|
|
4
7
|
unitId: string;
|
|
8
|
+
/**
|
|
9
|
+
* @property {string} subUnitId The sub unit id of worksheet which the pivot table belongs to.
|
|
10
|
+
*/
|
|
5
11
|
subUnitId: string;
|
|
12
|
+
/**
|
|
13
|
+
* @property {string} pivotTableId The pivot table id.
|
|
14
|
+
*/
|
|
6
15
|
pivotTableId: string;
|
|
16
|
+
/**
|
|
17
|
+
* @property {string} fieldId The field id. Which is the field id of pivot table.
|
|
18
|
+
*/
|
|
7
19
|
fieldId: string;
|
|
20
|
+
/**
|
|
21
|
+
* @property {PivotTableFiledAreaEnum} area The field area to move the data field.
|
|
22
|
+
*/
|
|
8
23
|
area: PivotTableFiledAreaEnum;
|
|
24
|
+
/**
|
|
25
|
+
* @property {number} index The index to move the data field. Which is base-on 0.
|
|
26
|
+
*/
|
|
9
27
|
index: number;
|
|
10
28
|
}
|
|
11
29
|
export declare const MovePivotFieldCommand: ICommand<IMovePivotFieldCommandParams>;
|
|
@@ -1,8 +1,20 @@
|
|
|
1
1
|
import { ICommand } from '@univerjs/core';
|
|
2
2
|
export interface IRemovePivotFieldCommandParams {
|
|
3
|
+
/**
|
|
4
|
+
* @property {string} unitId The unit id of workbook which the pivot table belongs to.
|
|
5
|
+
*/
|
|
3
6
|
unitId: string;
|
|
7
|
+
/**
|
|
8
|
+
* @property {string} subUnitId The sub unit id of worksheet which the pivot table belongs to.
|
|
9
|
+
*/
|
|
4
10
|
subUnitId: string;
|
|
11
|
+
/**
|
|
12
|
+
* @property {string} pivotTableId The pivot table id.
|
|
13
|
+
*/
|
|
5
14
|
pivotTableId: string;
|
|
15
|
+
/**
|
|
16
|
+
* @property {string[]} fieldIds The field ids to remove.Which is saved pivot table field ids.
|
|
17
|
+
*/
|
|
6
18
|
fieldIds: string[];
|
|
7
19
|
}
|
|
8
20
|
export declare const RemovePivotFieldCommand: ICommand<IRemovePivotFieldCommandParams>;
|
|
@@ -1,9 +1,24 @@
|
|
|
1
1
|
import { ICommand } from '@univerjs/core';
|
|
2
2
|
export interface ISetPivotCollapseCommandParams {
|
|
3
|
+
/**
|
|
4
|
+
* @property {string} unitId The unit id of workbook which the pivot table belongs to.
|
|
5
|
+
*/
|
|
3
6
|
unitId: string;
|
|
7
|
+
/**
|
|
8
|
+
* @property {string} subUnitId The sub unit id of worksheet which the pivot table belongs to.
|
|
9
|
+
*/
|
|
4
10
|
subUnitId: string;
|
|
11
|
+
/**
|
|
12
|
+
* @property {number} row The row index of the cell.
|
|
13
|
+
*/
|
|
5
14
|
row: number;
|
|
15
|
+
/**
|
|
16
|
+
* @property {number} col The column index of the cell.
|
|
17
|
+
*/
|
|
6
18
|
col: number;
|
|
19
|
+
/**
|
|
20
|
+
* @property {boolean} collapse The collapse status of the pivot item.True means collapse, false means expand.
|
|
21
|
+
*/
|
|
7
22
|
collapse: boolean;
|
|
8
23
|
}
|
|
9
24
|
export declare const SetPivotCollapseCommand: ICommand<ISetPivotCollapseCommandParams>;
|
|
@@ -1,10 +1,28 @@
|
|
|
1
1
|
import { ICommand } from '@univerjs/core';
|
|
2
2
|
export interface ISetPivotFilterCommandParams {
|
|
3
|
+
/**
|
|
4
|
+
* @property {string} unitId The unit id of workbook which the pivot table belongs to.
|
|
5
|
+
*/
|
|
3
6
|
unitId: string;
|
|
7
|
+
/**
|
|
8
|
+
* @property {string} subUnitId The sub unit id of worksheet which the pivot table belongs to.
|
|
9
|
+
*/
|
|
4
10
|
subUnitId: string;
|
|
11
|
+
/**
|
|
12
|
+
* @property {string} pivotTableId The pivot table id.
|
|
13
|
+
*/
|
|
5
14
|
pivotTableId: string;
|
|
15
|
+
/**
|
|
16
|
+
* @property {string} tableFieldId The table field id. Which is the field id of pivot table.
|
|
17
|
+
*/
|
|
6
18
|
tableFieldId: string;
|
|
19
|
+
/**
|
|
20
|
+
* @property {string[]} items The items to set the filter. Those items will be checked in the pivot table.
|
|
21
|
+
*/
|
|
7
22
|
items: string[];
|
|
23
|
+
/**
|
|
24
|
+
* @property {boolean} isAll The flag to set all items. True means all items, false means only the items in the items array.
|
|
25
|
+
*/
|
|
8
26
|
isAll?: boolean;
|
|
9
27
|
}
|
|
10
28
|
export declare const SetPivotFilterCommand: ICommand<ISetPivotFilterCommandParams>;
|
|
@@ -1,10 +1,25 @@
|
|
|
1
|
-
import { ICommand } from '@univerjs/core';
|
|
2
1
|
import { IPivotTableSortInfo } from '@univerjs-pro/engine-pivot';
|
|
2
|
+
import { ICommand } from '@univerjs/core';
|
|
3
3
|
export interface ISetPivotSortCommandParams {
|
|
4
|
+
/**
|
|
5
|
+
* @property {string} unitId The unit id of workbook which the pivot table belongs to.
|
|
6
|
+
*/
|
|
4
7
|
unitId: string;
|
|
8
|
+
/**
|
|
9
|
+
* @property {string} subUnitId The sub unit id of worksheet which the pivot table belongs to.
|
|
10
|
+
*/
|
|
5
11
|
subUnitId: string;
|
|
6
|
-
|
|
12
|
+
/**
|
|
13
|
+
* @property {string} pivotTableId The pivot table id.
|
|
14
|
+
*/
|
|
7
15
|
pivotTableId: string;
|
|
16
|
+
/**
|
|
17
|
+
* @property {string} tableFieldId The table field id.
|
|
18
|
+
*/
|
|
19
|
+
tableFieldId: string;
|
|
20
|
+
/**
|
|
21
|
+
* @property {IPivotTableSortInfo} info The sort info to set.
|
|
22
|
+
*/
|
|
8
23
|
info: IPivotTableSortInfo;
|
|
9
24
|
}
|
|
10
25
|
export declare const SetPivotSortCommand: ICommand<ISetPivotSortCommandParams>;
|
|
@@ -1,15 +1,42 @@
|
|
|
1
|
-
import { ICommand } from '@univerjs/core';
|
|
2
1
|
import { PivotSubtotalTypeEnum } from '@univerjs-pro/engine-pivot';
|
|
2
|
+
import { ICommand } from '@univerjs/core';
|
|
3
3
|
import { IPivotPanelSourceList, IPivotPanelTableListItemBase } from '../../const/type';
|
|
4
4
|
export interface IUpdatePivotFieldSettingCommandParams {
|
|
5
|
+
/**
|
|
6
|
+
* @property {string} unitId The unit id of workbook which the pivot table belongs to.
|
|
7
|
+
*/
|
|
5
8
|
unitId: string;
|
|
9
|
+
/**
|
|
10
|
+
* @property {string} subUnitId The sub unit id of worksheet which the pivot table belongs to.
|
|
11
|
+
*/
|
|
6
12
|
subUnitId: string;
|
|
13
|
+
/**
|
|
14
|
+
* @property {string} tableFieldId The table field id. Which is the field id of pivot table.
|
|
15
|
+
*/
|
|
7
16
|
tableFieldId: string;
|
|
17
|
+
/**
|
|
18
|
+
* @property {string} pivotTableId The pivot table id.
|
|
19
|
+
*/
|
|
8
20
|
pivotTableId: string;
|
|
21
|
+
/**
|
|
22
|
+
* @property {string} displayName The display name to of pivot table field.
|
|
23
|
+
*/
|
|
9
24
|
displayName?: string;
|
|
25
|
+
/**
|
|
26
|
+
* @property {string} format The format code of pivot table field.
|
|
27
|
+
*/
|
|
10
28
|
format?: string;
|
|
29
|
+
/**
|
|
30
|
+
* @property {PivotSubtotalTypeEnum} subtotalType The subtotal type of pivot table field.
|
|
31
|
+
*/
|
|
11
32
|
subtotalType?: PivotSubtotalTypeEnum;
|
|
33
|
+
/**
|
|
34
|
+
* @property {IPivotPanelTableListItemBase} tableFieldInfo The table field info.
|
|
35
|
+
*/
|
|
12
36
|
tableFieldInfo: IPivotPanelTableListItemBase;
|
|
37
|
+
/**
|
|
38
|
+
* @property {IPivotPanelSourceList} dataFieldInfo The data field info.
|
|
39
|
+
*/
|
|
13
40
|
dataFieldInfo: IPivotPanelSourceList;
|
|
14
41
|
}
|
|
15
42
|
export declare const UpdatePivotFieldSettingCommand: ICommand<IUpdatePivotFieldSettingCommandParams>;
|
|
@@ -1,8 +1,17 @@
|
|
|
1
|
-
import { ICommand } from '@univerjs/core';
|
|
2
1
|
import { PivotTableValuePositionEnum } from '@univerjs-pro/engine-pivot';
|
|
2
|
+
import { ICommand } from '@univerjs/core';
|
|
3
3
|
export interface IUpdatePivotValuePositionCommandParams {
|
|
4
|
+
/**
|
|
5
|
+
* @property {string} pivotTableId The pivot table id.
|
|
6
|
+
*/
|
|
4
7
|
pivotTableId: string;
|
|
8
|
+
/**
|
|
9
|
+
* @property {PivotTableValuePositionEnum} position The position to update the value.
|
|
10
|
+
*/
|
|
5
11
|
position: PivotTableValuePositionEnum;
|
|
12
|
+
/**
|
|
13
|
+
* @property {number} index The index to update the value. Which is base-on 0.
|
|
14
|
+
*/
|
|
6
15
|
index: number;
|
|
7
16
|
}
|
|
8
17
|
export declare const UpdatePivotValuePositionCommand: ICommand<IUpdatePivotValuePositionCommandParams>;
|
|
@@ -9,56 +9,56 @@ export declare const ReverseMap: {
|
|
|
9
9
|
"7": string;
|
|
10
10
|
"8": string;
|
|
11
11
|
"9": string;
|
|
12
|
-
|
|
13
|
-
|
|
14
|
-
B: string;
|
|
12
|
+
T: string;
|
|
13
|
+
w: string;
|
|
15
14
|
s: string;
|
|
16
|
-
|
|
15
|
+
F: string;
|
|
16
|
+
C: string;
|
|
17
|
+
c: string;
|
|
18
|
+
G: string;
|
|
19
|
+
Y: string;
|
|
20
|
+
y: string;
|
|
21
|
+
S: string;
|
|
22
|
+
r: string;
|
|
17
23
|
x: string;
|
|
18
|
-
|
|
24
|
+
V: string;
|
|
19
25
|
f: string;
|
|
20
|
-
|
|
26
|
+
A: string;
|
|
21
27
|
P: string;
|
|
22
|
-
|
|
23
|
-
X: string;
|
|
24
|
-
n: string;
|
|
25
|
-
L: string;
|
|
28
|
+
B: string;
|
|
26
29
|
a: string;
|
|
27
|
-
|
|
28
|
-
|
|
29
|
-
|
|
30
|
-
H: string;
|
|
31
|
-
k: string;
|
|
32
|
-
p: string;
|
|
33
|
-
I: string;
|
|
34
|
-
Y: string;
|
|
35
|
-
C: string;
|
|
36
|
-
v: string;
|
|
37
|
-
T: string;
|
|
38
|
-
b: string;
|
|
39
|
-
l: string;
|
|
40
|
-
S: string;
|
|
30
|
+
h: string;
|
|
31
|
+
W: string;
|
|
32
|
+
E: string;
|
|
41
33
|
M: string;
|
|
34
|
+
L: string;
|
|
35
|
+
j: string;
|
|
36
|
+
U: string;
|
|
42
37
|
i: string;
|
|
43
|
-
Z: string;
|
|
44
38
|
u: string;
|
|
45
|
-
t: string;
|
|
46
|
-
E: string;
|
|
47
|
-
d: string;
|
|
48
|
-
h: string;
|
|
49
|
-
c: string;
|
|
50
39
|
N: string;
|
|
51
|
-
|
|
40
|
+
J: string;
|
|
41
|
+
g: string;
|
|
42
|
+
H: string;
|
|
43
|
+
n: string;
|
|
44
|
+
z: string;
|
|
52
45
|
Q: string;
|
|
46
|
+
R: string;
|
|
47
|
+
I: string;
|
|
48
|
+
O: string;
|
|
49
|
+
K: string;
|
|
50
|
+
k: string;
|
|
51
|
+
d: string;
|
|
52
|
+
D: string;
|
|
53
|
+
b: string;
|
|
54
|
+
v: string;
|
|
53
55
|
o: string;
|
|
54
|
-
|
|
55
|
-
|
|
56
|
+
t: string;
|
|
57
|
+
Z: string;
|
|
58
|
+
p: string;
|
|
56
59
|
e: string;
|
|
57
|
-
|
|
58
|
-
|
|
60
|
+
l: string;
|
|
61
|
+
X: string;
|
|
62
|
+
m: string;
|
|
59
63
|
q: string;
|
|
60
|
-
J: string;
|
|
61
|
-
w: string;
|
|
62
|
-
y: string;
|
|
63
|
-
G: string;
|
|
64
64
|
};
|
|
@@ -25,8 +25,17 @@ export declare const DEFAULT_PIVOT_ROW_VIEW_BG = "#e6ebfb";
|
|
|
25
25
|
export declare const DEFAULT_PIVOT_DATA_VIEW_BG = "#e6ebfb";
|
|
26
26
|
export declare const DEFAULT_EMPTY_PIVOT_ROW_COUNT = 14;
|
|
27
27
|
export declare const DEFAULT_EMPTY_PIVOT_COL_COUNT = 6;
|
|
28
|
+
/**
|
|
29
|
+
* When creating new Pivot table where should new pivot table position, may be a new sheet or a a cell of existing sheet.
|
|
30
|
+
*/
|
|
28
31
|
export declare enum PositionType {
|
|
29
|
-
|
|
32
|
+
/**
|
|
33
|
+
* @property The new pivot table will be added to the existing sheet.
|
|
34
|
+
*/
|
|
35
|
+
Existing = "existing",
|
|
36
|
+
/**
|
|
37
|
+
* @property The new pivot table will be added to a new sheet.
|
|
38
|
+
*/
|
|
30
39
|
New = "new"
|
|
31
40
|
}
|
|
32
41
|
export declare const localeTemplate: typeof zhCN;
|