@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.
Files changed (49) hide show
  1. package/lib/cjs/facade.js +1 -1
  2. package/lib/cjs/index.js +1 -1
  3. package/lib/cjs/locale/en-US.js +1 -1
  4. package/lib/cjs/locale/fa-IR.js +1 -1
  5. package/lib/cjs/locale/fr-FR.js +1 -1
  6. package/lib/cjs/locale/ru-RU.js +1 -1
  7. package/lib/cjs/locale/vi-VN.js +1 -1
  8. package/lib/cjs/locale/zh-CN.js +1 -1
  9. package/lib/cjs/locale/zh-TW.js +1 -1
  10. package/lib/es/facade.js +1 -1
  11. package/lib/es/index.js +1 -1
  12. package/lib/es/locale/en-US.js +1 -1
  13. package/lib/es/locale/fa-IR.js +1 -1
  14. package/lib/es/locale/fr-FR.js +1 -1
  15. package/lib/es/locale/ru-RU.js +1 -1
  16. package/lib/es/locale/vi-VN.js +1 -1
  17. package/lib/es/locale/zh-CN.js +1 -1
  18. package/lib/es/locale/zh-TW.js +1 -1
  19. package/lib/types/commands/command/add-pivot-field.command.d.ts +18 -0
  20. package/lib/types/commands/command/move-pivot-field.command.d.ts +19 -1
  21. package/lib/types/commands/command/remove-pivot-field.command.d.ts +12 -0
  22. package/lib/types/commands/command/set-pivot-collapse.command.d.ts +15 -0
  23. package/lib/types/commands/command/set-pivot-filter.command.d.ts +18 -0
  24. package/lib/types/commands/command/set-pivot-sort.command.d.ts +17 -2
  25. package/lib/types/commands/command/update-pivot-setting.command.d.ts +28 -1
  26. package/lib/types/commands/command/update-value-position.command.d.ts +10 -1
  27. package/lib/types/common/const.d.ts +39 -39
  28. package/lib/types/const/const.d.ts +10 -1
  29. package/lib/types/const/type.d.ts +213 -2
  30. package/lib/types/controllers/const.d.ts +1 -1
  31. package/lib/types/facade/f-enum.d.ts +50 -0
  32. package/lib/types/facade/f-event.d.ts +276 -0
  33. package/lib/types/facade/f-pivot-table.d.ts +205 -4
  34. package/lib/types/facade/f-univer.d.ts +18 -0
  35. package/lib/types/facade/f-workbook.d.ts +45 -14
  36. package/lib/types/facade/index.d.ts +5 -1
  37. package/lib/types/index.d.ts +3 -1
  38. package/lib/types/models/sheets-pivot-config-model.d.ts +2 -1
  39. package/lib/types/models/sheets-pivot-table-adaptor-model.d.ts +2 -9
  40. package/lib/umd/facade.js +1 -1
  41. package/lib/umd/index.js +1 -1
  42. package/lib/umd/locale/en-US.js +1 -1
  43. package/lib/umd/locale/fa-IR.js +1 -1
  44. package/lib/umd/locale/fr-FR.js +1 -1
  45. package/lib/umd/locale/ru-RU.js +1 -1
  46. package/lib/umd/locale/vi-VN.js +1 -1
  47. package/lib/umd/locale/zh-CN.js +1 -1
  48. package/lib/umd/locale/zh-TW.js +1 -1
  49. package/package.json +11 -11
@@ -1 +1 @@
1
- const _0x3a848f=_0x4b7d;(function(_0xea6c52,_0x268ff5){const _0x498946=_0x4b7d,_0xddcc19=_0xea6c52();while(!![]){try{const _0x5b5cc8=-parseInt(_0x498946(0xe8))/0x1+-parseInt(_0x498946(0xf8))/0x2+parseInt(_0x498946(0xf6))/0x3*(-parseInt(_0x498946(0xef))/0x4)+parseInt(_0x498946(0xfa))/0x5*(-parseInt(_0x498946(0xeb))/0x6)+-parseInt(_0x498946(0xee))/0x7*(-parseInt(_0x498946(0xf2))/0x8)+-parseInt(_0x498946(0xf7))/0x9*(-parseInt(_0x498946(0xea))/0xa)+parseInt(_0x498946(0xed))/0xb;if(_0x5b5cc8===_0x268ff5)break;else _0xddcc19['push'](_0xddcc19['shift']());}catch(_0x31d86c){_0xddcc19['push'](_0xddcc19['shift']());}}}(_0x1c9c,0x27a36));const a={'sheets-pivot':{'blankValue':_0x3a848f(0xe4),'columnName':_0x3a848f(0xec),'subTotalText':'Total','grandTotalText':_0x3a848f(0xe3),'valueText':_0x3a848f(0xfd),'averageName':_0x3a848f(0xfe),'countName':_0x3a848f(0xf3),'countNumsName':_0x3a848f(0xf3),'maxName':_0x3a848f(0xe7),'minName':_0x3a848f(0xf4),'productName':'Product\x20of\x20','stdDevName':_0x3a848f(0xe6),'stdDevpName':_0x3a848f(0xf0),'sumName':_0x3a848f(0xf9),'varName':_0x3a848f(0xe2),'varpName':_0x3a848f(0xe9),'subTotal':'Subtotal','grandTotal':_0x3a848f(0xe3),'value':_0x3a848f(0xe5),'blank':_0x3a848f(0xfb),'emptyPivot':{'filter':_0x3a848f(0xf1),'row':_0x3a848f(0xff),'column':_0x3a848f(0xf5),'values':_0x3a848f(0xfc)}}};function _0x1c9c(){const _0x5eba40=['298930iRcDed','72sEiYYG','Column\x20','4108852cBUMDr','287binzBK','8StEzLg','StdDevp\x20of\x20','Filter','34080aczufo','Count\x20of\x20','Min\x20of\x20','Column','204882PQEaSb','36DRnChU','187248cwQYmn','Sum\x20of\x20','63925OXmMIn','blank','Values','Value','Average\x20of\x20','Row','Var\x20of\x20','Grand\x20Total','(Blank)','value','StdDev\x20of\x20','Max\x20of\x20','121774ZqDaTp','Varp\x20of\x20'];_0x1c9c=function(){return _0x5eba40;};return _0x1c9c();}function _0x4b7d(_0x45f746,_0x383947){const _0x1c9c5b=_0x1c9c();return _0x4b7d=function(_0x4b7da4,_0x4b9be1){_0x4b7da4=_0x4b7da4-0xe2;let _0x190838=_0x1c9c5b[_0x4b7da4];return _0x190838;},_0x4b7d(_0x45f746,_0x383947);}export{a as default};
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};
@@ -1 +1 @@
1
- const _0x1db29b=_0x4e42;(function(_0x5746bd,_0x3a6a09){const _0x4e4549=_0x4e42,_0x31ffe5=_0x5746bd();while(!![]){try{const _0x215786=parseInt(_0x4e4549(0x18e))/0x1+parseInt(_0x4e4549(0x194))/0x2*(parseInt(_0x4e4549(0x19f))/0x3)+-parseInt(_0x4e4549(0x191))/0x4+parseInt(_0x4e4549(0x19e))/0x5+parseInt(_0x4e4549(0x1a0))/0x6+-parseInt(_0x4e4549(0x195))/0x7+-parseInt(_0x4e4549(0x1a1))/0x8;if(_0x215786===_0x3a6a09)break;else _0x31ffe5['push'](_0x31ffe5['shift']());}catch(_0x437b1a){_0x31ffe5['push'](_0x31ffe5['shift']());}}}(_0x5d31,0xc9a35));function _0x5d31(){const _0x176d9c=['سطر','تعداد\x20اعداد\x20از\x20','408340QudFOg','بیشترین\x20از\x20','جمع','1547296xSobgK','2931985UBCAOb','واریانس\x20از\x20','مقدار','مقادیر','فیلتر','میانگین\x20از\x20','ستون','واریانس\x20کلی\x20از\x20','ضرب\x20از\x20','617605dzRvoR','6nAsCqq','3120798snvbeI','7221888ondDtY','تعداد\x20از\x20','خالی','انحراف\x20معیار\x20کلی\x20از\x20','(خالی)','58635adVjUG'];_0x5d31=function(){return _0x176d9c;};return _0x5d31();}const a={'sheets-pivot':{'blankValue':_0x1db29b(0x18d),'columnName':'ستون\x20','subTotalText':_0x1db29b(0x193),'grandTotalText':'کل','valueText':_0x1db29b(0x197),'averageName':_0x1db29b(0x19a),'countName':_0x1db29b(0x18a),'countNumsName':_0x1db29b(0x190),'maxName':_0x1db29b(0x192),'minName':'کمترین\x20از\x20','productName':_0x1db29b(0x19d),'stdDevName':'انحراف\x20معیار\x20از\x20','stdDevpName':_0x1db29b(0x18c),'sumName':'جمع\x20از\x20','varName':_0x1db29b(0x196),'varpName':_0x1db29b(0x19c),'subTotal':_0x1db29b(0x193),'grandTotal':'کل','value':_0x1db29b(0x197),'blank':_0x1db29b(0x18b),'emptyPivot':{'filter':_0x1db29b(0x199),'row':_0x1db29b(0x18f),'column':_0x1db29b(0x19b),'values':_0x1db29b(0x198)}}};function _0x4e42(_0x15de7a,_0x541063){const _0x5d3195=_0x5d31();return _0x4e42=function(_0x4e4271,_0x14bd60){_0x4e4271=_0x4e4271-0x18a;let _0xfb5845=_0x5d3195[_0x4e4271];return _0xfb5845;},_0x4e42(_0x15de7a,_0x541063);}export{a as default};
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};
@@ -1 +1 @@
1
- const _0x3e89b0=_0x3838;function _0x3838(_0x1ca62c,_0x5315da){const _0x835510=_0x8355();return _0x3838=function(_0x38383d,_0x164daa){_0x38383d=_0x38383d-0x198;let _0x283c9b=_0x835510[_0x38383d];return _0x283c9b;},_0x3838(_0x1ca62c,_0x5315da);}(function(_0x3a64f1,_0x568c92){const _0x372da3=_0x3838,_0x2b34a5=_0x3a64f1();while(!![]){try{const _0x10f239=parseInt(_0x372da3(0x19d))/0x1+-parseInt(_0x372da3(0x1b3))/0x2*(parseInt(_0x372da3(0x1aa))/0x3)+parseInt(_0x372da3(0x19f))/0x4+parseInt(_0x372da3(0x1a2))/0x5+parseInt(_0x372da3(0x1b6))/0x6+parseInt(_0x372da3(0x1b2))/0x7*(-parseInt(_0x372da3(0x1a8))/0x8)+parseInt(_0x372da3(0x1a7))/0x9*(parseInt(_0x372da3(0x1ab))/0xa);if(_0x10f239===_0x568c92)break;else _0x2b34a5['push'](_0x2b34a5['shift']());}catch(_0x121906){_0x2b34a5['push'](_0x2b34a5['shift']());}}}(_0x8355,0xd9663));const a={'sheets-pivot':{'blankValue':_0x3e89b0(0x1a4),'columnName':_0x3e89b0(0x1a6),'subTotalText':_0x3e89b0(0x1b1),'grandTotalText':_0x3e89b0(0x19a),'valueText':_0x3e89b0(0x1b0),'averageName':_0x3e89b0(0x1a3),'countName':_0x3e89b0(0x199),'countNumsName':_0x3e89b0(0x199),'maxName':_0x3e89b0(0x1a9),'minName':'Min\x20of\x20','productName':_0x3e89b0(0x198),'stdDevName':_0x3e89b0(0x1af),'stdDevpName':_0x3e89b0(0x1b4),'sumName':_0x3e89b0(0x1ad),'varName':_0x3e89b0(0x1b5),'varpName':_0x3e89b0(0x19c),'subTotal':_0x3e89b0(0x1a0),'grandTotal':'Grand\x20Total','value':_0x3e89b0(0x1ac),'blank':_0x3e89b0(0x19b),'emptyPivot':{'filter':_0x3e89b0(0x1a1),'row':_0x3e89b0(0x1a5),'column':_0x3e89b0(0x19e),'values':_0x3e89b0(0x1ae)}}},e=a;function _0x8355(){const _0x21df99=['Max\x20of\x20','9gvHBIl','20kVSUVe','value','Sum\x20of\x20','Values','StdDev\x20of\x20','Value','Total','26215jNimky','1157006dmLLrE','StdDevp\x20of\x20','Var\x20of\x20','6778254BlJZSt','Product\x20of\x20','Count\x20of\x20','Grand\x20Total','blank','Varp\x20of\x20','895909mpuHOv','Column','1419572VXHOwm','Subtotal','Filter','7692155xgHzrd','Average\x20of\x20','(Blank)','Row','Column\x20','1225998yktbRF','3344xTqBgy'];_0x8355=function(){return _0x21df99;};return _0x8355();}export{e as default};
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};
@@ -1 +1 @@
1
- const _0xcdaee4=_0x5217;(function(_0x234d5b,_0x580075){const _0x143097=_0x5217,_0x2eded2=_0x234d5b();while(!![]){try{const _0x4abbea=-parseInt(_0x143097(0xcb))/0x1+-parseInt(_0x143097(0xc9))/0x2*(-parseInt(_0x143097(0xca))/0x3)+-parseInt(_0x143097(0xd0))/0x4+parseInt(_0x143097(0xc1))/0x5+-parseInt(_0x143097(0xcf))/0x6+parseInt(_0x143097(0xbe))/0x7+parseInt(_0x143097(0xc8))/0x8;if(_0x4abbea===_0x580075)break;else _0x2eded2['push'](_0x2eded2['shift']());}catch(_0x3ca4b1){_0x2eded2['push'](_0x2eded2['shift']());}}}(_0x3fe4,0x45653));const a={'sheets-pivot':{'blankValue':'(Пусто)','columnName':_0xcdaee4(0xcd),'subTotalText':_0xcdaee4(0xbf),'grandTotalText':'Общий\x20итог','valueText':_0xcdaee4(0xbd),'averageName':_0xcdaee4(0xc5),'countName':_0xcdaee4(0xc0),'countNumsName':_0xcdaee4(0xb9),'maxName':_0xcdaee4(0xce),'minName':'Минимум\x20по\x20','productName':_0xcdaee4(0xc2),'stdDevName':_0xcdaee4(0xc6),'stdDevpName':_0xcdaee4(0xc3),'sumName':'Сумма\x20по\x20','varName':_0xcdaee4(0xbb),'varpName':'Общая\x20дисперсия\x20по\x20','subTotal':_0xcdaee4(0xbf),'grandTotal':_0xcdaee4(0xcc),'value':_0xcdaee4(0xbd),'blank':_0xcdaee4(0xc4),'emptyPivot':{'filter':_0xcdaee4(0xbc),'row':_0xcdaee4(0xc7),'column':_0xcdaee4(0xba),'values':_0xcdaee4(0xbd)}}};function _0x5217(_0x136179,_0x28add9){const _0x3fe4e9=_0x3fe4();return _0x5217=function(_0x521715,_0x2f9759){_0x521715=_0x521715-0xb9;let _0x41c6f3=_0x3fe4e9[_0x521715];return _0x41c6f3;},_0x5217(_0x136179,_0x28add9);}function _0x3fe4(){const _0x3b7640=['Стандартное\x20отклонение\x20по\x20','Строка','9164768SLFgqY','156472hlTJuS','3PQzcYD','157708nGgQdc','Общий\x20итог','Столбец\x20','Максимум\x20по\x20','3219684jdGfkM','2133988NotnIW','Число\x20по\x20','Столбец','Дисперсия\x20по\x20','Фильтр','Значение','210553lKMydb','Промежуточный\x20итог','Количество\x20по\x20','1290755dEnUre','Произведение\x20по\x20','Общее\x20стандартное\x20отклонение\x20по\x20','Пусто','Среднее\x20по\x20'];_0x3fe4=function(){return _0x3b7640;};return _0x3fe4();}export{a as default};
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};
@@ -1 +1 @@
1
- const _0x38f282=_0x23e4;(function(_0x4631e6,_0xfa432c){const _0x56536c=_0x23e4,_0x2e7494=_0x4631e6();while(!![]){try{const _0x4a727d=parseInt(_0x56536c(0x15f))/0x1+parseInt(_0x56536c(0x154))/0x2+-parseInt(_0x56536c(0x168))/0x3*(parseInt(_0x56536c(0x15e))/0x4)+-parseInt(_0x56536c(0x16a))/0x5+parseInt(_0x56536c(0x16c))/0x6+-parseInt(_0x56536c(0x166))/0x7+-parseInt(_0x56536c(0x15d))/0x8;if(_0x4a727d===_0xfa432c)break;else _0x2e7494['push'](_0x2e7494['shift']());}catch(_0x1c37ca){_0x2e7494['push'](_0x2e7494['shift']());}}}(_0x3a85,0x9e1fb));const a={'sheets-pivot':{'blankValue':_0x38f282(0x164),'columnName':_0x38f282(0x155),'subTotalText':'Tổng\x20phụ','grandTotalText':'Tổng\x20cộng','valueText':_0x38f282(0x156),'averageName':'Giá\x20trị\x20trung\x20bình:','countName':'Số\x20lượng:','countNumsName':_0x38f282(0x157),'maxName':'Giá\x20trị\x20tối\x20đa:','minName':_0x38f282(0x15c),'productName':_0x38f282(0x163),'stdDevName':_0x38f282(0x15a),'stdDevpName':_0x38f282(0x162),'sumName':_0x38f282(0x159),'varName':_0x38f282(0x169),'varpName':_0x38f282(0x161),'subTotal':_0x38f282(0x167),'grandTotal':_0x38f282(0x158),'value':'Giá\x20trị','blank':_0x38f282(0x165),'emptyPivot':{'filter':_0x38f282(0x16b),'row':_0x38f282(0x15b),'column':_0x38f282(0x160),'values':_0x38f282(0x156)}}};function _0x23e4(_0x2db60e,_0xc838cb){const _0x3a85dc=_0x3a85();return _0x23e4=function(_0x23e47c,_0x4622c1){_0x23e47c=_0x23e47c-0x154;let _0x168256=_0x3a85dc[_0x23e47c];return _0x168256;},_0x23e4(_0x2db60e,_0xc838cb);}function _0x3a85(){const _0x11e343=['4dtwyZM','1188095dANjUk','Cột','Phương\x20sai\x20toàn\x20phần:','Độ\x20lệch\x20chuẩn\x20toàn\x20phần:','Tích:','(Trống)','Trống','6296430rQKmhy','Tổng\x20phụ','2891067MrIcyi','Phương\x20sai:','2790515xbdBwW','Lọc','7681518QIeZTR','2459632ESdgLW','Cột\x20','Giá\x20trị','Số\x20lượng\x20số:','Tổng\x20cộng','Tổng:','Độ\x20lệch\x20chuẩn:','Hàng','Giá\x20trị\x20tối\x20thiểu:','5033656uaussv'];_0x3a85=function(){return _0x11e343;};return _0x3a85();}export{a as default};
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};
@@ -1 +1 @@
1
- const _0x2f97d2=_0xf6c7;(function(_0x331f65,_0x32060c){const _0x2a9d48=_0xf6c7,_0x13623a=_0x331f65();while(!![]){try{const _0x2a233b=parseInt(_0x2a9d48(0x1b7))/0x1+-parseInt(_0x2a9d48(0x1b8))/0x2+-parseInt(_0x2a9d48(0x1ba))/0x3+-parseInt(_0x2a9d48(0x1c3))/0x4*(parseInt(_0x2a9d48(0x1b3))/0x5)+parseInt(_0x2a9d48(0x1b1))/0x6*(-parseInt(_0x2a9d48(0x1be))/0x7)+parseInt(_0x2a9d48(0x1c4))/0x8*(parseInt(_0x2a9d48(0x1b6))/0x9)+parseInt(_0x2a9d48(0x1bd))/0xa*(parseInt(_0x2a9d48(0x1b4))/0xb);if(_0x2a233b===_0x32060c)break;else _0x13623a['push'](_0x13623a['shift']());}catch(_0x37902d){_0x13623a['push'](_0x13623a['shift']());}}}(_0x3f1c,0x1feba));function _0xf6c7(_0x5b0ff8,_0x29d4ef){const _0x3f1c2b=_0x3f1c();return _0xf6c7=function(_0xf6c799,_0x279adb){_0xf6c799=_0xf6c799-0x1b0;let _0x3aa478=_0x3f1c2b[_0xf6c799];return _0x3aa478;},_0xf6c7(_0x5b0ff8,_0x29d4ef);}const a={'sheets-pivot':{'blankValue':_0x2f97d2(0x1b9),'columnName':'列\x20','subTotalText':'汇总','grandTotalText':'总计','valueText':'值','averageName':_0x2f97d2(0x1bf),'countName':_0x2f97d2(0x1c2),'countNumsName':_0x2f97d2(0x1c1),'maxName':_0x2f97d2(0x1bb),'minName':_0x2f97d2(0x1c0),'productName':_0x2f97d2(0x1b2),'stdDevName':_0x2f97d2(0x1c5),'stdDevpName':_0x2f97d2(0x1bc),'sumName':_0x2f97d2(0x1b5),'varName':_0x2f97d2(0x1b0),'varpName':'总体方差项:','subTotal':'汇总','grandTotal':'总计','value':'值','blank':'空白','emptyPivot':{'filter':'筛选','row':'行','column':'列','values':'值'}}};export{a as default};function _0x3f1c(){const _0x1cca48=['535548ndyjgL','最大值项:','总体标准偏差项:','103660BNwfNC','35xRJrFH','平均值项:','最小值项:','数值计数项:','计数项:','22552PQGkyd','675784ZxKGFC','标准偏差项:','方差项:','124074RyFjkg','乘积项:','125RTbyqu','638SRuMyb','求和项:','9xeoFYu','5023OMMaZt','274234kmJxYK','(空白)'];_0x3f1c=function(){return _0x1cca48;};return _0x3f1c();}
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};
@@ -1 +1 @@
1
- const _0x553da0=_0x4711;(function(_0x43a3a9,_0x2eb1d0){const _0x3cdd3b=_0x4711,_0x12eaed=_0x43a3a9();while(!![]){try{const _0x786bb0=parseInt(_0x3cdd3b(0x147))/0x1*(parseInt(_0x3cdd3b(0x145))/0x2)+parseInt(_0x3cdd3b(0x14e))/0x3+-parseInt(_0x3cdd3b(0x144))/0x4+parseInt(_0x3cdd3b(0x14c))/0x5+parseInt(_0x3cdd3b(0x14d))/0x6*(parseInt(_0x3cdd3b(0x148))/0x7)+-parseInt(_0x3cdd3b(0x14a))/0x8+parseInt(_0x3cdd3b(0x151))/0x9;if(_0x786bb0===_0x2eb1d0)break;else _0x12eaed['push'](_0x12eaed['shift']());}catch(_0x18da69){_0x12eaed['push'](_0x12eaed['shift']());}}}(_0x4656,0x7e7d2));const a={'sheets-pivot':{'blankValue':_0x553da0(0x14b),'columnName':'欄\x20','subTotalText':'小計','grandTotalText':'總計','valueText':'值','averageName':'平均值項:','countName':_0x553da0(0x153),'countNumsName':_0x553da0(0x149),'maxName':_0x553da0(0x150),'minName':'最小值項:','productName':'乘積項:','stdDevName':_0x553da0(0x14f),'stdDevpName':_0x553da0(0x152),'sumName':_0x553da0(0x146),'varName':'方差項:','varpName':_0x553da0(0x143),'subTotal':'小計','grandTotal':'總計','value':'值','blank':'空白','emptyPivot':{'filter':'篩選','row':'行','column':'欄','values':'值'}}};function _0x4711(_0x127231,_0xe68386){const _0x46568f=_0x4656();return _0x4711=function(_0x4711e6,_0x2e3040){_0x4711e6=_0x4711e6-0x143;let _0x1ab92e=_0x46568f[_0x4711e6];return _0x1ab92e;},_0x4711(_0x127231,_0xe68386);}function _0x4656(){const _0x310f9f=['(空白)','1679335uZiWyg','154458MzTSZJ','1840824bLgoKu','標準差項:','最大值項:','2474784gHqZwR','總體標準差項:','計數項:','總體方差項:','1263568eGUxUS','2ghTAyG','求和項:','38441iVRTzZ','35GqCWYr','數值計數項:','4460936ECxGeC'];_0x4656=function(){return _0x310f9f;};return _0x4656();}export{a as default};
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
- tableFieldId: string;
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
- z: string;
13
- A: string;
14
- B: string;
12
+ T: string;
13
+ w: string;
15
14
  s: string;
16
- R: string;
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
- O: string;
24
+ V: string;
19
25
  f: string;
20
- U: string;
26
+ A: string;
21
27
  P: string;
22
- m: string;
23
- X: string;
24
- n: string;
25
- L: string;
28
+ B: string;
26
29
  a: string;
27
- K: string;
28
- V: string;
29
- g: string;
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
- j: string;
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
- F: string;
55
- r: string;
56
+ t: string;
57
+ Z: string;
58
+ p: string;
56
59
  e: string;
57
- D: string;
58
- W: string;
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
- Exiting = "exiting",
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;