@univerjs-pro/sheets-pivot 0.6.1 → 0.6.2

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 (43) 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/reset-pivot-fields-config.command.d.ts +25 -0
  20. package/lib/types/commands/command/set-pivot-fields-config.command.d.ts +25 -0
  21. package/lib/types/commands/command/set-pivot-value-filter.command.d.ts +25 -0
  22. package/lib/types/commands/mutations/change-apply-util.d.ts +2 -1
  23. package/lib/types/commands/mutations/set-pivot-value-filter.mutation.d.ts +3 -0
  24. package/lib/types/common/const.d.ts +39 -39
  25. package/lib/types/const/const.d.ts +4 -1
  26. package/lib/types/const/type.d.ts +26 -1
  27. package/lib/types/controllers/const.d.ts +1 -1
  28. package/lib/types/facade/f-pivot-table.d.ts +85 -2
  29. package/lib/types/facade/f-workbook.d.ts +1 -1
  30. package/lib/types/facade/f-worksheet.d.ts +31 -0
  31. package/lib/types/facade/index.d.ts +2 -0
  32. package/lib/types/index.d.ts +8 -1
  33. package/lib/types/util.d.ts +3 -1
  34. package/lib/umd/facade.js +1 -1
  35. package/lib/umd/index.js +1 -1
  36. package/lib/umd/locale/en-US.js +1 -1
  37. package/lib/umd/locale/fa-IR.js +1 -1
  38. package/lib/umd/locale/fr-FR.js +1 -1
  39. package/lib/umd/locale/ru-RU.js +1 -1
  40. package/lib/umd/locale/vi-VN.js +1 -1
  41. package/lib/umd/locale/zh-CN.js +1 -1
  42. package/lib/umd/locale/zh-TW.js +1 -1
  43. package/package.json +12 -12
@@ -1 +1 @@
1
- const _0x49daa8=_0x2b06;function _0x3d89(){const _0x3a5fb6=['4817772lbttov','StdDevp\x20of\x20','1979650bCNjhn','StdDev\x20of\x20','5851041UTPVtQ','15PhvMDr','Min\x20of\x20','Var\x20of\x20','Value','16pKtNFr','Grand\x20Total','Filter','1535304bfkoXm','Column','(Blank)','Values','blank','Row','value','6857994EXslZO','1512691vAiZdx','Count\x20of\x20','Product\x20of\x20','Varp\x20of\x20','Column\x20','Total','997320nTVVvV'];_0x3d89=function(){return _0x3a5fb6;};return _0x3d89();}function _0x2b06(_0x4a07d0,_0x2a90a5){const _0x3d8913=_0x3d89();return _0x2b06=function(_0x2b060f,_0x3f17c8){_0x2b060f=_0x2b060f-0x12b;let _0x5a2f75=_0x3d8913[_0x2b060f];return _0x5a2f75;},_0x2b06(_0x4a07d0,_0x2a90a5);}(function(_0x93920,_0x1b204f){const _0x591b01=_0x2b06,_0x1b6b1c=_0x93920();while(!![]){try{const _0x4e960c=parseInt(_0x591b01(0x13f))/0x1+parseInt(_0x591b01(0x12d))/0x2+parseInt(_0x591b01(0x137))/0x3+parseInt(_0x591b01(0x145))/0x4*(-parseInt(_0x591b01(0x130))/0x5)+-parseInt(_0x591b01(0x13e))/0x6+parseInt(_0x591b01(0x12f))/0x7+parseInt(_0x591b01(0x134))/0x8*(-parseInt(_0x591b01(0x12b))/0x9);if(_0x4e960c===_0x1b204f)break;else _0x1b6b1c['push'](_0x1b6b1c['shift']());}catch(_0x426a14){_0x1b6b1c['push'](_0x1b6b1c['shift']());}}}(_0x3d89,0xd8ede));const a={'sheets-pivot':{'blankValue':_0x49daa8(0x139),'columnName':_0x49daa8(0x143),'subTotalText':_0x49daa8(0x144),'grandTotalText':_0x49daa8(0x135),'valueText':_0x49daa8(0x133),'averageName':'Average\x20of\x20','countName':_0x49daa8(0x140),'countNumsName':_0x49daa8(0x140),'maxName':'Max\x20of\x20','minName':_0x49daa8(0x131),'productName':_0x49daa8(0x141),'stdDevName':_0x49daa8(0x12e),'stdDevpName':_0x49daa8(0x12c),'sumName':'Sum\x20of\x20','varName':_0x49daa8(0x132),'varpName':_0x49daa8(0x142),'subTotal':'Subtotal','grandTotal':'Grand\x20Total','value':_0x49daa8(0x13d),'blank':_0x49daa8(0x13b),'emptyPivot':{'filter':_0x49daa8(0x136),'row':_0x49daa8(0x13c),'column':_0x49daa8(0x138),'values':_0x49daa8(0x13a)}}};export{a as default};
1
+ const _0x2ed061=_0x5ad0;function _0x5ad0(_0x526f6,_0x33153a){const _0x3da2ef=_0x3da2();return _0x5ad0=function(_0x5ad09b,_0x37bcc2){_0x5ad09b=_0x5ad09b-0x89;let _0xba9001=_0x3da2ef[_0x5ad09b];return _0xba9001;},_0x5ad0(_0x526f6,_0x33153a);}(function(_0x2489cf,_0x59d606){const _0x598b95=_0x5ad0,_0x114d2f=_0x2489cf();while(!![]){try{const _0x50c016=-parseInt(_0x598b95(0x9e))/0x1*(-parseInt(_0x598b95(0xa1))/0x2)+-parseInt(_0x598b95(0x96))/0x3*(-parseInt(_0x598b95(0x9a))/0x4)+-parseInt(_0x598b95(0x8e))/0x5+-parseInt(_0x598b95(0x91))/0x6*(-parseInt(_0x598b95(0x9c))/0x7)+parseInt(_0x598b95(0x8c))/0x8+parseInt(_0x598b95(0x99))/0x9+-parseInt(_0x598b95(0x9f))/0xa*(parseInt(_0x598b95(0x90))/0xb);if(_0x50c016===_0x59d606)break;else _0x114d2f['push'](_0x114d2f['shift']());}catch(_0x5d3051){_0x114d2f['push'](_0x114d2f['shift']());}}}(_0x3da2,0xad990));function _0x3da2(){const _0x31db98=['value','451994hkLmaL','Average\x20of\x20','Count\x20of\x20','Min\x20of\x20','Sum\x20of\x20','Column','StdDevp\x20of\x20','6383384OCDqpF','(Blank)','6020955vTwerB','Var\x20of\x20','78419GhxLBu','50736zMKWpm','Row','Max\x20of\x20','Grand\x20Total','Product\x20of\x20','852966BVDJRU','Column\x20','blank','10821933xpNvjm','16zVxNzO','Value','945PqUbvB','Total','2ycHdKW','3950FKjVTg'];_0x3da2=function(){return _0x31db98;};return _0x3da2();}const a={'sheets-pivot':{'blankValue':_0x2ed061(0x8d),'columnName':_0x2ed061(0x97),'subTotalText':_0x2ed061(0x9d),'grandTotalText':_0x2ed061(0x94),'valueText':_0x2ed061(0x9b),'averageName':_0x2ed061(0xa2),'countName':_0x2ed061(0xa3),'countNumsName':'Count\x20of\x20','maxName':_0x2ed061(0x93),'minName':_0x2ed061(0xa4),'productName':_0x2ed061(0x95),'stdDevName':'StdDev\x20of\x20','stdDevpName':_0x2ed061(0x8b),'sumName':_0x2ed061(0x89),'varName':_0x2ed061(0x8f),'varpName':'Varp\x20of\x20','subTotal':'Subtotal','grandTotal':'Grand\x20Total','value':_0x2ed061(0xa0),'blank':_0x2ed061(0x98),'emptyPivot':{'filter':'Filter','row':_0x2ed061(0x92),'column':_0x2ed061(0x8a),'values':'Values'}}};export{a as default};
@@ -1 +1 @@
1
- const _0x535ca7=_0x4dea;(function(_0x166352,_0x304222){const _0x2ba928=_0x4dea,_0x1ccf5d=_0x166352();while(!![]){try{const _0x515964=-parseInt(_0x2ba928(0x169))/0x1*(parseInt(_0x2ba928(0x162))/0x2)+-parseInt(_0x2ba928(0x172))/0x3+-parseInt(_0x2ba928(0x176))/0x4*(-parseInt(_0x2ba928(0x16e))/0x5)+-parseInt(_0x2ba928(0x164))/0x6+parseInt(_0x2ba928(0x16f))/0x7+-parseInt(_0x2ba928(0x177))/0x8*(-parseInt(_0x2ba928(0x16a))/0x9)+parseInt(_0x2ba928(0x168))/0xa;if(_0x515964===_0x304222)break;else _0x1ccf5d['push'](_0x1ccf5d['shift']());}catch(_0x14530c){_0x1ccf5d['push'](_0x1ccf5d['shift']());}}}(_0x5660,0x914fc));const a={'sheets-pivot':{'blankValue':_0x535ca7(0x16d),'columnName':_0x535ca7(0x165),'subTotalText':_0x535ca7(0x174),'grandTotalText':'کل','valueText':_0x535ca7(0x173),'averageName':_0x535ca7(0x16b),'countName':_0x535ca7(0x161),'countNumsName':_0x535ca7(0x170),'maxName':_0x535ca7(0x166),'minName':_0x535ca7(0x163),'productName':'ضرب\x20از\x20','stdDevName':_0x535ca7(0x167),'stdDevpName':_0x535ca7(0x16c),'sumName':_0x535ca7(0x17a),'varName':_0x535ca7(0x178),'varpName':'واریانس\x20کلی\x20از\x20','subTotal':_0x535ca7(0x174),'grandTotal':'کل','value':_0x535ca7(0x173),'blank':'خالی','emptyPivot':{'filter':_0x535ca7(0x179),'row':'سطر','column':_0x535ca7(0x175),'values':_0x535ca7(0x171)}}};function _0x5660(){const _0x413ac3=['مقدار','جمع','ستون','40vuDTxZ','232EAtsUX','واریانس\x20از\x20','فیلتر','جمع\x20از\x20','تعداد\x20از\x20','2VipNhf','کمترین\x20از\x20','5571828dQtBMX','ستون\x20','بیشترین\x20از\x20','انحراف\x20معیار\x20از\x20','4397770JjWckP','460637fUeLLa','53208LabNIT','میانگین\x20از\x20','انحراف\x20معیار\x20کلی\x20از\x20','(خالی)','129785vtKcnE','8033445xFgAHX','تعداد\x20اعداد\x20از\x20','مقادیر','101877iXwdby'];_0x5660=function(){return _0x413ac3;};return _0x5660();}function _0x4dea(_0x12a7a2,_0x3ad385){const _0x5660a4=_0x5660();return _0x4dea=function(_0x4dea40,_0x199e70){_0x4dea40=_0x4dea40-0x161;let _0x1fa929=_0x5660a4[_0x4dea40];return _0x1fa929;},_0x4dea(_0x12a7a2,_0x3ad385);}export{a as default};
1
+ const _0x295135=_0x38c5;(function(_0x121443,_0x1c4673){const _0x38f29d=_0x38c5,_0x1ac155=_0x121443();while(!![]){try{const _0x5c666f=-parseInt(_0x38f29d(0x160))/0x1+parseInt(_0x38f29d(0x168))/0x2+parseInt(_0x38f29d(0x169))/0x3*(-parseInt(_0x38f29d(0x171))/0x4)+-parseInt(_0x38f29d(0x16e))/0x5+-parseInt(_0x38f29d(0x167))/0x6*(-parseInt(_0x38f29d(0x175))/0x7)+-parseInt(_0x38f29d(0x15f))/0x8+parseInt(_0x38f29d(0x16f))/0x9;if(_0x5c666f===_0x1c4673)break;else _0x1ac155['push'](_0x1ac155['shift']());}catch(_0x5eb6f0){_0x1ac155['push'](_0x1ac155['shift']());}}}(_0x47dc,0xae4a2));function _0x47dc(){const _0x5afe76=['ستون\x20','تعداد\x20اعداد\x20از\x20','ستون','مقدار','کمترین\x20از\x20','114arozsC','1313246eSXFHB','7017MInfnu','جمع','بیشترین\x20از\x20','واریانس\x20از\x20','انحراف\x20معیار\x20کلی\x20از\x20','6443155dIQNHd','26086500hWbmnf','سطر','972eNHpPp','خالی','تعداد\x20از\x20','جمع\x20از\x20','192325mxEmeT','انحراف\x20معیار\x20از\x20','11356592AglJel','86676EMnbxB','فیلتر'];_0x47dc=function(){return _0x5afe76;};return _0x47dc();}const a={'sheets-pivot':{'blankValue':'(خالی)','columnName':_0x295135(0x162),'subTotalText':_0x295135(0x16a),'grandTotalText':'کل','valueText':'مقدار','averageName':'میانگین\x20از\x20','countName':_0x295135(0x173),'countNumsName':_0x295135(0x163),'maxName':_0x295135(0x16b),'minName':_0x295135(0x166),'productName':'ضرب\x20از\x20','stdDevName':_0x295135(0x15e),'stdDevpName':_0x295135(0x16d),'sumName':_0x295135(0x174),'varName':_0x295135(0x16c),'varpName':'واریانس\x20کلی\x20از\x20','subTotal':_0x295135(0x16a),'grandTotal':'کل','value':_0x295135(0x165),'blank':_0x295135(0x172),'emptyPivot':{'filter':_0x295135(0x161),'row':_0x295135(0x170),'column':_0x295135(0x164),'values':'مقادیر'}}};function _0x38c5(_0x4787f2,_0x408afc){const _0x47dcd4=_0x47dc();return _0x38c5=function(_0x38c545,_0x367801){_0x38c545=_0x38c545-0x15e;let _0x6b388c=_0x47dcd4[_0x38c545];return _0x6b388c;},_0x38c5(_0x4787f2,_0x408afc);}export{a as default};
@@ -1 +1 @@
1
- function _0x38a3(){const _0x203670=['Count\x20of\x20','24gpdeXD','1491156jFVxoZ','Value','Varp\x20of\x20','149615DnsswJ','24TdNCaU','Subtotal','Filter','StdDev\x20of\x20','Average\x20of\x20','24hnxZHz','12048993dCJcVM','2hBpnWC','Sum\x20of\x20','76527TAwmHf','(Blank)','Max\x20of\x20','value','StdDevp\x20of\x20','130039yhktXW','Values','Min\x20of\x20','Product\x20of\x20','4719130GtdzLW','Row','776214FaEkcd','Column','Grand\x20Total'];_0x38a3=function(){return _0x203670;};return _0x38a3();}function _0x7fe2(_0x11050a,_0x399533){const _0x38a3f2=_0x38a3();return _0x7fe2=function(_0x7fe2c3,_0x28313a){_0x7fe2c3=_0x7fe2c3-0x194;let _0x5b639a=_0x38a3f2[_0x7fe2c3];return _0x5b639a;},_0x7fe2(_0x11050a,_0x399533);}const _0x391ab0=_0x7fe2;(function(_0x106da0,_0x3c5c92){const _0x523ce0=_0x7fe2,_0x1609b2=_0x106da0();while(!![]){try{const _0x5387dd=-parseInt(_0x523ce0(0x197))/0x1+-parseInt(_0x523ce0(0x195))/0x2*(-parseInt(_0x523ce0(0x1a2))/0x3)+parseInt(_0x523ce0(0x1ab))/0x4*(parseInt(_0x523ce0(0x1aa))/0x5)+parseInt(_0x523ce0(0x1b0))/0x6*(parseInt(_0x523ce0(0x19c))/0x7)+parseInt(_0x523ce0(0x1a6))/0x8*(parseInt(_0x523ce0(0x1a7))/0x9)+parseInt(_0x523ce0(0x1a0))/0xa+-parseInt(_0x523ce0(0x194))/0xb;if(_0x5387dd===_0x3c5c92)break;else _0x1609b2['push'](_0x1609b2['shift']());}catch(_0x3c7b8b){_0x1609b2['push'](_0x1609b2['shift']());}}}(_0x38a3,0x4b99b));const a={'sheets-pivot':{'blankValue':_0x391ab0(0x198),'columnName':'Column\x20','subTotalText':'Total','grandTotalText':_0x391ab0(0x1a4),'valueText':_0x391ab0(0x1a8),'averageName':_0x391ab0(0x1af),'countName':_0x391ab0(0x1a5),'countNumsName':_0x391ab0(0x1a5),'maxName':_0x391ab0(0x199),'minName':_0x391ab0(0x19e),'productName':_0x391ab0(0x19f),'stdDevName':_0x391ab0(0x1ae),'stdDevpName':_0x391ab0(0x19b),'sumName':_0x391ab0(0x196),'varName':'Var\x20of\x20','varpName':_0x391ab0(0x1a9),'subTotal':_0x391ab0(0x1ac),'grandTotal':_0x391ab0(0x1a4),'value':_0x391ab0(0x19a),'blank':'blank','emptyPivot':{'filter':_0x391ab0(0x1ad),'row':_0x391ab0(0x1a1),'column':_0x391ab0(0x1a3),'values':_0x391ab0(0x19d)}}},e=a;export{e as default};
1
+ const _0x3921b7=_0x1bcc;(function(_0x4a4692,_0x143f51){const _0x186d07=_0x1bcc,_0x40db2f=_0x4a4692();while(!![]){try{const _0x5c9b69=-parseInt(_0x186d07(0x1c4))/0x1+-parseInt(_0x186d07(0x1b6))/0x2+parseInt(_0x186d07(0x1c5))/0x3*(-parseInt(_0x186d07(0x1b9))/0x4)+-parseInt(_0x186d07(0x1bc))/0x5+-parseInt(_0x186d07(0x1ba))/0x6+-parseInt(_0x186d07(0x1ad))/0x7*(-parseInt(_0x186d07(0x1b3))/0x8)+parseInt(_0x186d07(0x1b0))/0x9;if(_0x5c9b69===_0x143f51)break;else _0x40db2f['push'](_0x40db2f['shift']());}catch(_0x46ae7e){_0x40db2f['push'](_0x40db2f['shift']());}}}(_0x12b4,0x5b97e));const a={'sheets-pivot':{'blankValue':_0x3921b7(0x1c1),'columnName':'Column\x20','subTotalText':_0x3921b7(0x1b4),'grandTotalText':_0x3921b7(0x1b5),'valueText':_0x3921b7(0x1c6),'averageName':_0x3921b7(0x1ae),'countName':_0x3921b7(0x1c0),'countNumsName':_0x3921b7(0x1c0),'maxName':_0x3921b7(0x1be),'minName':'Min\x20of\x20','productName':_0x3921b7(0x1bd),'stdDevName':_0x3921b7(0x1af),'stdDevpName':_0x3921b7(0x1c3),'sumName':_0x3921b7(0x1c2),'varName':'Var\x20of\x20','varpName':_0x3921b7(0x1b1),'subTotal':_0x3921b7(0x1b2),'grandTotal':_0x3921b7(0x1b5),'value':_0x3921b7(0x1b8),'blank':_0x3921b7(0x1bb),'emptyPivot':{'filter':_0x3921b7(0x1b7),'row':_0x3921b7(0x1bf),'column':'Column','values':'Values'}}},e=a;function _0x1bcc(_0x311bea,_0x47f928){const _0x12b45b=_0x12b4();return _0x1bcc=function(_0x1bcc0a,_0x4634e5){_0x1bcc0a=_0x1bcc0a-0x1ad;let _0x479acf=_0x12b45b[_0x1bcc0a];return _0x479acf;},_0x1bcc(_0x311bea,_0x47f928);}export{e as default};function _0x12b4(){const _0x453e26=['25827GbhATG','9684xGSpih','Value','77DVMXmJ','Average\x20of\x20','StdDev\x20of\x20','8252118ONYiFg','Varp\x20of\x20','Subtotal','480088MjRwNL','Total','Grand\x20Total','579714AobPKA','Filter','value','492tdKnyU','1466310xYCNPS','blank','1223720uPdoui','Product\x20of\x20','Max\x20of\x20','Row','Count\x20of\x20','(Blank)','Sum\x20of\x20','StdDevp\x20of\x20'];_0x12b4=function(){return _0x453e26;};return _0x12b4();}
@@ -1 +1 @@
1
- function _0x3517(){const _0x4a45c3=['20nBPrss','Сумма\x20по\x20','Стандартное\x20отклонение\x20по\x20','10rzbfnN','(Пусто)','Промежуточный\x20итог','5979908VIKniK','Строка','2528082Alxtzc','Число\x20по\x20','19576XyCQhO','Столбец\x20','Минимум\x20по\x20','Общий\x20итог','52313RWqmTZ','Среднее\x20по\x20','226683bBLzQn','Пусто','Столбец','Дисперсия\x20по\x20','Фильтр','718224RNOPST','Произведение\x20по\x20','310MNQkkl','Значение','1553144nvszSK','14BwcTgY'];_0x3517=function(){return _0x4a45c3;};return _0x3517();}const _0x57c4e1=_0x1bcf;(function(_0x56c18c,_0x3b4efb){const _0x1ec187=_0x1bcf,_0x404dec=_0x56c18c();while(!![]){try{const _0x39e947=parseInt(_0x1ec187(0x17c))/0x1*(parseInt(_0x1ec187(0x171))/0x2)+-parseInt(_0x1ec187(0x183))/0x3+parseInt(_0x1ec187(0x178))/0x4*(-parseInt(_0x1ec187(0x185))/0x5)+parseInt(_0x1ec187(0x176))/0x6+parseInt(_0x1ec187(0x188))/0x7*(-parseInt(_0x1ec187(0x187))/0x8)+-parseInt(_0x1ec187(0x17e))/0x9*(-parseInt(_0x1ec187(0x189))/0xa)+parseInt(_0x1ec187(0x174))/0xb;if(_0x39e947===_0x3b4efb)break;else _0x404dec['push'](_0x404dec['shift']());}catch(_0x22bfbd){_0x404dec['push'](_0x404dec['shift']());}}}(_0x3517,0x546c0));function _0x1bcf(_0xa11ee0,_0xecf130){const _0x35172e=_0x3517();return _0x1bcf=function(_0x1bcf58,_0x584ffa){_0x1bcf58=_0x1bcf58-0x16f;let _0x20bad4=_0x35172e[_0x1bcf58];return _0x20bad4;},_0x1bcf(_0xa11ee0,_0xecf130);}const a={'sheets-pivot':{'blankValue':_0x57c4e1(0x172),'columnName':_0x57c4e1(0x179),'subTotalText':'Промежуточный\x20итог','grandTotalText':_0x57c4e1(0x17b),'valueText':_0x57c4e1(0x186),'averageName':_0x57c4e1(0x17d),'countName':'Количество\x20по\x20','countNumsName':_0x57c4e1(0x177),'maxName':'Максимум\x20по\x20','minName':_0x57c4e1(0x17a),'productName':_0x57c4e1(0x184),'stdDevName':_0x57c4e1(0x170),'stdDevpName':'Общее\x20стандартное\x20отклонение\x20по\x20','sumName':_0x57c4e1(0x16f),'varName':_0x57c4e1(0x181),'varpName':'Общая\x20дисперсия\x20по\x20','subTotal':_0x57c4e1(0x173),'grandTotal':'Общий\x20итог','value':_0x57c4e1(0x186),'blank':_0x57c4e1(0x17f),'emptyPivot':{'filter':_0x57c4e1(0x182),'row':_0x57c4e1(0x175),'column':_0x57c4e1(0x180),'values':'Значение'}}};export{a as default};
1
+ const _0x52aba0=_0x4f15;function _0x4f15(_0x4be69f,_0x4dc2ac){const _0x57d3da=_0x57d3();return _0x4f15=function(_0x4f15d4,_0x248573){_0x4f15d4=_0x4f15d4-0x99;let _0x2ca89e=_0x57d3da[_0x4f15d4];return _0x2ca89e;},_0x4f15(_0x4be69f,_0x4dc2ac);}(function(_0x327620,_0x399971){const _0x1d6978=_0x4f15,_0x418172=_0x327620();while(!![]){try{const _0x5ac5d0=parseInt(_0x1d6978(0xa7))/0x1*(-parseInt(_0x1d6978(0xa8))/0x2)+parseInt(_0x1d6978(0xb0))/0x3+parseInt(_0x1d6978(0xab))/0x4+-parseInt(_0x1d6978(0xa2))/0x5*(-parseInt(_0x1d6978(0x9c))/0x6)+parseInt(_0x1d6978(0xa9))/0x7*(-parseInt(_0x1d6978(0xb3))/0x8)+-parseInt(_0x1d6978(0x9b))/0x9*(parseInt(_0x1d6978(0xb2))/0xa)+-parseInt(_0x1d6978(0xa5))/0xb*(parseInt(_0x1d6978(0xb4))/0xc);if(_0x5ac5d0===_0x399971)break;else _0x418172['push'](_0x418172['shift']());}catch(_0x9cf216){_0x418172['push'](_0x418172['shift']());}}}(_0x57d3,0xb9fb0));const a={'sheets-pivot':{'blankValue':_0x52aba0(0xa6),'columnName':'Столбец\x20','subTotalText':_0x52aba0(0xaf),'grandTotalText':_0x52aba0(0x9d),'valueText':_0x52aba0(0xac),'averageName':'Среднее\x20по\x20','countName':_0x52aba0(0x99),'countNumsName':_0x52aba0(0x9a),'maxName':_0x52aba0(0xaa),'minName':_0x52aba0(0xa1),'productName':'Произведение\x20по\x20','stdDevName':_0x52aba0(0x9e),'stdDevpName':_0x52aba0(0xae),'sumName':_0x52aba0(0x9f),'varName':_0x52aba0(0xa0),'varpName':_0x52aba0(0xb1),'subTotal':_0x52aba0(0xaf),'grandTotal':_0x52aba0(0x9d),'value':_0x52aba0(0xac),'blank':'Пусто','emptyPivot':{'filter':_0x52aba0(0xa4),'row':_0x52aba0(0xa3),'column':_0x52aba0(0xad),'values':'Значение'}}};export{a as default};function _0x57d3(){const _0x11b2c9=['Стандартное\x20отклонение\x20по\x20','Сумма\x20по\x20','Дисперсия\x20по\x20','Минимум\x20по\x20','7265qfbmgx','Строка','Фильтр','33ziscyA','(Пусто)','124743LUhffQ','2wTwjFT','616rzVgba','Максимум\x20по\x20','5017244GETiyc','Значение','Столбец','Общее\x20стандартное\x20отклонение\x20по\x20','Промежуточный\x20итог','3355959baXirD','Общая\x20дисперсия\x20по\x20','6070sLfULT','86776TCHiVf','2212668rbjTsL','Количество\x20по\x20','Число\x20по\x20','20259RrjqiT','5730iozaGa','Общий\x20итог'];_0x57d3=function(){return _0x11b2c9;};return _0x57d3();}
@@ -1 +1 @@
1
- function _0x607d(_0xa84076,_0x3d4034){const _0x5f0abb=_0x5f0a();return _0x607d=function(_0x607d70,_0x15cb13){_0x607d70=_0x607d70-0xac;let _0x4ba938=_0x5f0abb[_0x607d70];return _0x4ba938;},_0x607d(_0xa84076,_0x3d4034);}const _0x521a96=_0x607d;(function(_0x3ee90f,_0x5809c2){const _0x20bef4=_0x607d,_0xc2462=_0x3ee90f();while(!![]){try{const _0x48cfbf=-parseInt(_0x20bef4(0xb4))/0x1+parseInt(_0x20bef4(0xc0))/0x2+parseInt(_0x20bef4(0xad))/0x3+parseInt(_0x20bef4(0xaf))/0x4*(-parseInt(_0x20bef4(0xbe))/0x5)+parseInt(_0x20bef4(0xb5))/0x6+parseInt(_0x20bef4(0xba))/0x7*(parseInt(_0x20bef4(0xb0))/0x8)+parseInt(_0x20bef4(0xb6))/0x9*(-parseInt(_0x20bef4(0xbc))/0xa);if(_0x48cfbf===_0x5809c2)break;else _0xc2462['push'](_0xc2462['shift']());}catch(_0x3a8d0a){_0xc2462['push'](_0xc2462['shift']());}}}(_0x5f0a,0x33c80));const a={'sheets-pivot':{'blankValue':_0x521a96(0xbb),'columnName':'Cột\x20','subTotalText':_0x521a96(0xc1),'grandTotalText':_0x521a96(0xb7),'valueText':'Giá\x20trị','averageName':_0x521a96(0xc2),'countName':_0x521a96(0xb8),'countNumsName':'Số\x20lượng\x20số:','maxName':_0x521a96(0xae),'minName':_0x521a96(0xc4),'productName':_0x521a96(0xbd),'stdDevName':'Độ\x20lệch\x20chuẩn:','stdDevpName':'Độ\x20lệch\x20chuẩn\x20toàn\x20phần:','sumName':_0x521a96(0xc3),'varName':_0x521a96(0xb3),'varpName':_0x521a96(0xb1),'subTotal':'Tổng\x20phụ','grandTotal':'Tổng\x20cộng','value':'Giá\x20trị','blank':_0x521a96(0xac),'emptyPivot':{'filter':_0x521a96(0xb9),'row':'Hàng','column':_0x521a96(0xb2),'values':_0x521a96(0xbf)}}};export{a as default};function _0x5f0a(){const _0x13fbb9=['Trống','1111482swHqGr','Giá\x20trị\x20tối\x20đa:','311964wdVbXT','32dORuZa','Phương\x20sai\x20toàn\x20phần:','Cột','Phương\x20sai:','9271jZkSAm','548520PdXnrm','12753jXlWKN','Tổng\x20cộng','Số\x20lượng:','Lọc','212303IVRGIq','(Trống)','4170hGhYPi','Tích:','5lGUHau','Giá\x20trị','614034XKbLoi','Tổng\x20phụ','Giá\x20trị\x20trung\x20bình:','Tổng:','Giá\x20trị\x20tối\x20thiểu:'];_0x5f0a=function(){return _0x13fbb9;};return _0x5f0a();}
1
+ const _0x41e942=_0xfcf6;function _0x1dd9(){const _0x37c3a3=['Giá\x20trị','436060HLEBiZ','324023prpWsH','Độ\x20lệch\x20chuẩn:','154HlKpsA','Giá\x20trị\x20trung\x20bình:','3448669vtOebV','Tổng\x20phụ','(Trống)','Phương\x20sai\x20toàn\x20phần:','612660hHpakk','Độ\x20lệch\x20chuẩn\x20toàn\x20phần:','Số\x20lượng:','6MdUMKi','1251552XZUHuY','Tổng\x20cộng','Tích:','Lọc','Cột','Tổng:','Số\x20lượng\x20số:','Cột\x20','9DhDSDD','Phương\x20sai:','289713oKfcYN','Giá\x20trị\x20tối\x20thiểu:','509755ssyfIC','Giá\x20trị\x20tối\x20đa:','24CcyAGY','Trống'];_0x1dd9=function(){return _0x37c3a3;};return _0x1dd9();}(function(_0x507771,_0x57052f){const _0x1c540e=_0xfcf6,_0x4558ee=_0x507771();while(!![]){try{const _0x4fdcae=-parseInt(_0x1c540e(0xe1))/0x1+-parseInt(_0x1c540e(0xce))/0x2*(-parseInt(_0x1c540e(0xd9))/0x3)+-parseInt(_0x1c540e(0xcb))/0x4+parseInt(_0x1c540e(0xdb))/0x5*(parseInt(_0x1c540e(0xdd))/0x6)+parseInt(_0x1c540e(0xc7))/0x7+-parseInt(_0x1c540e(0xcf))/0x8*(-parseInt(_0x1c540e(0xd7))/0x9)+-parseInt(_0x1c540e(0xe0))/0xa*(parseInt(_0x1c540e(0xc5))/0xb);if(_0x4fdcae===_0x57052f)break;else _0x4558ee['push'](_0x4558ee['shift']());}catch(_0x2d3a70){_0x4558ee['push'](_0x4558ee['shift']());}}}(_0x1dd9,0x3f38c));function _0xfcf6(_0x3045b2,_0x15b2b5){const _0x1dd99d=_0x1dd9();return _0xfcf6=function(_0xfcf6a6,_0x48265f){_0xfcf6a6=_0xfcf6a6-0xc4;let _0xe99028=_0x1dd99d[_0xfcf6a6];return _0xe99028;},_0xfcf6(_0x3045b2,_0x15b2b5);}const a={'sheets-pivot':{'blankValue':_0x41e942(0xc9),'columnName':_0x41e942(0xd6),'subTotalText':_0x41e942(0xc8),'grandTotalText':'Tổng\x20cộng','valueText':'Giá\x20trị','averageName':_0x41e942(0xc6),'countName':_0x41e942(0xcd),'countNumsName':_0x41e942(0xd5),'maxName':_0x41e942(0xdc),'minName':_0x41e942(0xda),'productName':_0x41e942(0xd1),'stdDevName':_0x41e942(0xc4),'stdDevpName':_0x41e942(0xcc),'sumName':_0x41e942(0xd4),'varName':_0x41e942(0xd8),'varpName':_0x41e942(0xca),'subTotal':'Tổng\x20phụ','grandTotal':_0x41e942(0xd0),'value':_0x41e942(0xdf),'blank':_0x41e942(0xde),'emptyPivot':{'filter':_0x41e942(0xd2),'row':'Hàng','column':_0x41e942(0xd3),'values':'Giá\x20trị'}}};export{a as default};
@@ -1 +1 @@
1
- function _0x2975(){const _0x366985=['24878XnoIQD','582432mFTNvh','平均值项:','最小值项:','132ddPEmb','标准偏差项:','81QlpMnw','2170784OShuNp','(空白)','数值计数项:','4259240OXLuqP','1375730HuTFJa','总体方差项:','乘积项:','计数项:','2158864RNvCss','2010588FhjVhD','求和项:'];_0x2975=function(){return _0x366985;};return _0x2975();}const _0x5d3a52=_0x3b40;function _0x3b40(_0x23dd30,_0x18d029){const _0x29752b=_0x2975();return _0x3b40=function(_0x3b40f7,_0x2e1e62){_0x3b40f7=_0x3b40f7-0x10f;let _0x2d1d60=_0x29752b[_0x3b40f7];return _0x2d1d60;},_0x3b40(_0x23dd30,_0x18d029);}(function(_0x43e615,_0x284392){const _0x25cd51=_0x3b40,_0x2ce2fd=_0x43e615();while(!![]){try{const _0x5609b1=-parseInt(_0x25cd51(0x11a))/0x1+-parseInt(_0x25cd51(0x112))/0x2+parseInt(_0x25cd51(0x117))/0x3+-parseInt(_0x25cd51(0x120))/0x4+-parseInt(_0x25cd51(0x111))/0x5+-parseInt(_0x25cd51(0x11d))/0x6*(-parseInt(_0x25cd51(0x119))/0x7)+-parseInt(_0x25cd51(0x116))/0x8*(-parseInt(_0x25cd51(0x11f))/0x9);if(_0x5609b1===_0x284392)break;else _0x2ce2fd['push'](_0x2ce2fd['shift']());}catch(_0x193334){_0x2ce2fd['push'](_0x2ce2fd['shift']());}}}(_0x2975,0x7d109));const a={'sheets-pivot':{'blankValue':_0x5d3a52(0x10f),'columnName':'列\x20','subTotalText':'汇总','grandTotalText':'总计','valueText':'值','averageName':_0x5d3a52(0x11b),'countName':_0x5d3a52(0x115),'countNumsName':_0x5d3a52(0x110),'maxName':'最大值项:','minName':_0x5d3a52(0x11c),'productName':_0x5d3a52(0x114),'stdDevName':_0x5d3a52(0x11e),'stdDevpName':'总体标准偏差项:','sumName':_0x5d3a52(0x118),'varName':'方差项:','varpName':_0x5d3a52(0x113),'subTotal':'汇总','grandTotal':'总计','value':'值','blank':'空白','emptyPivot':{'filter':'筛选','row':'行','column':'列','values':'值'}}};export{a as default};
1
+ const _0x21ee9d=_0x43fc;function _0x43fc(_0x41d286,_0x4aab18){const _0x1caf41=_0x1caf();return _0x43fc=function(_0x43fc24,_0x33c9f2){_0x43fc24=_0x43fc24-0x86;let _0xe7a5f8=_0x1caf41[_0x43fc24];return _0xe7a5f8;},_0x43fc(_0x41d286,_0x4aab18);}function _0x1caf(){const _0x1a3456=['最大值项:','总体方差项:','计数项:','方差项:','平均值项:','3004GkHLiH','总体标准偏差项:','标准偏差项:','求和项:','3195995ABcjRJ','6113980GfINBU','乘积项:','最小值项:','1057ESfiUf','1597392rvzLzp','458819KgmNaH','552904BsZxNL','数值计数项:','6qDCYzp','2181WAyAAu','3672crppHr'];_0x1caf=function(){return _0x1a3456;};return _0x1caf();}(function(_0x3d5539,_0x211be1){const _0x4cd6cd=_0x43fc,_0x4a376d=_0x3d5539();while(!![]){try{const _0x297817=parseInt(_0x4cd6cd(0x89))/0x1+parseInt(_0x4cd6cd(0x8a))/0x2+parseInt(_0x4cd6cd(0x8d))/0x3*(-parseInt(_0x4cd6cd(0x94))/0x4)+-parseInt(_0x4cd6cd(0x98))/0x5*(-parseInt(_0x4cd6cd(0x8c))/0x6)+-parseInt(_0x4cd6cd(0x87))/0x7*(parseInt(_0x4cd6cd(0x8e))/0x8)+parseInt(_0x4cd6cd(0x88))/0x9+-parseInt(_0x4cd6cd(0x99))/0xa;if(_0x297817===_0x211be1)break;else _0x4a376d['push'](_0x4a376d['shift']());}catch(_0x4b23bb){_0x4a376d['push'](_0x4a376d['shift']());}}}(_0x1caf,0x4f69a));const a={'sheets-pivot':{'blankValue':'(空白)','columnName':'列\x20','subTotalText':'汇总','grandTotalText':'总计','valueText':'值','averageName':_0x21ee9d(0x93),'countName':_0x21ee9d(0x91),'countNumsName':_0x21ee9d(0x8b),'maxName':_0x21ee9d(0x8f),'minName':_0x21ee9d(0x86),'productName':_0x21ee9d(0x9a),'stdDevName':_0x21ee9d(0x96),'stdDevpName':_0x21ee9d(0x95),'sumName':_0x21ee9d(0x97),'varName':_0x21ee9d(0x92),'varpName':_0x21ee9d(0x90),'subTotal':'汇总','grandTotal':'总计','value':'值','blank':'空白','emptyPivot':{'filter':'筛选','row':'行','column':'列','values':'值'}}};export{a as default};
@@ -1 +1 @@
1
- const _0x443071=_0x1246;(function(_0x53d46d,_0x3854b2){const _0xc93b81=_0x1246,_0x58b7af=_0x53d46d();while(!![]){try{const _0x4fba53=-parseInt(_0xc93b81(0x16a))/0x1+-parseInt(_0xc93b81(0x169))/0x2+-parseInt(_0xc93b81(0x15d))/0x3+parseInt(_0xc93b81(0x16b))/0x4*(parseInt(_0xc93b81(0x15f))/0x5)+parseInt(_0xc93b81(0x16c))/0x6*(parseInt(_0xc93b81(0x161))/0x7)+parseInt(_0xc93b81(0x162))/0x8*(-parseInt(_0xc93b81(0x16e))/0x9)+parseInt(_0xc93b81(0x16d))/0xa*(parseInt(_0xc93b81(0x16f))/0xb);if(_0x4fba53===_0x3854b2)break;else _0x58b7af['push'](_0x58b7af['shift']());}catch(_0x5173ae){_0x58b7af['push'](_0x58b7af['shift']());}}}(_0x1f8d,0x81991));function _0x1246(_0x2dd109,_0x2debe9){const _0x1f8da3=_0x1f8d();return _0x1246=function(_0x12463b,_0x2a6022){_0x12463b=_0x12463b-0x15d;let _0x2b5452=_0x1f8da3[_0x12463b];return _0x2b5452;},_0x1246(_0x2dd109,_0x2debe9);}function _0x1f8d(){const _0x77fdb=['總體標準差項:','2450CvFAOt','方差項:','5453zrPnPP','21728ITDpwu','最小值項:','計數項:','求和項:','最大值項:','平均值項:','(空白)','333372tzmARw','27285CNVFco','3896ekeACq','318xhAWUL','1790wprnJK','441UIIImE','59609bIZlFo','總體方差項:','1891980dqyqFR'];_0x1f8d=function(){return _0x77fdb;};return _0x1f8d();}const a={'sheets-pivot':{'blankValue':_0x443071(0x168),'columnName':'欄\x20','subTotalText':'小計','grandTotalText':'總計','valueText':'值','averageName':_0x443071(0x167),'countName':_0x443071(0x164),'countNumsName':'數值計數項:','maxName':_0x443071(0x166),'minName':_0x443071(0x163),'productName':'乘積項:','stdDevName':'標準差項:','stdDevpName':_0x443071(0x15e),'sumName':_0x443071(0x165),'varName':_0x443071(0x160),'varpName':_0x443071(0x170),'subTotal':'小計','grandTotal':'總計','value':'值','blank':'空白','emptyPivot':{'filter':'篩選','row':'行','column':'欄','values':'值'}}};export{a as default};
1
+ const _0x33ec35=_0x4c7c;function _0x4c7c(_0x3ea368,_0x2a5f14){const _0x2ee370=_0x2ee3();return _0x4c7c=function(_0x4c7c01,_0x554054){_0x4c7c01=_0x4c7c01-0x155;let _0x49c6b4=_0x2ee370[_0x4c7c01];return _0x49c6b4;},_0x4c7c(_0x3ea368,_0x2a5f14);}(function(_0x2b628b,_0x50000b){const _0x43e85f=_0x4c7c,_0x5219d5=_0x2b628b();while(!![]){try{const _0x1e9b9c=parseInt(_0x43e85f(0x168))/0x1+parseInt(_0x43e85f(0x15a))/0x2*(-parseInt(_0x43e85f(0x167))/0x3)+parseInt(_0x43e85f(0x169))/0x4+-parseInt(_0x43e85f(0x15c))/0x5*(parseInt(_0x43e85f(0x15f))/0x6)+parseInt(_0x43e85f(0x162))/0x7*(parseInt(_0x43e85f(0x157))/0x8)+parseInt(_0x43e85f(0x158))/0x9+-parseInt(_0x43e85f(0x163))/0xa*(-parseInt(_0x43e85f(0x156))/0xb);if(_0x1e9b9c===_0x50000b)break;else _0x5219d5['push'](_0x5219d5['shift']());}catch(_0x3de403){_0x5219d5['push'](_0x5219d5['shift']());}}}(_0x2ee3,0x417bc));function _0x2ee3(){const _0x4263b6=['數值計數項:','16wbvwFX','總體標準差項:','16870wCWggF','最小值項:','平均值項:','750VcqQvA','總體方差項:','計數項:','7lzHBSG','17180gjVXxC','標準差項:','求和項:','最大值項:','109227oQOhSH','184790jDnrQZ','904008ySCPOY','(空白)','1936lfnHry','1301784twhvxW','948231OPgQXk'];_0x2ee3=function(){return _0x4263b6;};return _0x2ee3();}const a={'sheets-pivot':{'blankValue':_0x33ec35(0x155),'columnName':'欄\x20','subTotalText':'小計','grandTotalText':'總計','valueText':'值','averageName':_0x33ec35(0x15e),'countName':_0x33ec35(0x161),'countNumsName':_0x33ec35(0x159),'maxName':_0x33ec35(0x166),'minName':_0x33ec35(0x15d),'productName':'乘積項:','stdDevName':_0x33ec35(0x164),'stdDevpName':_0x33ec35(0x15b),'sumName':_0x33ec35(0x165),'varName':'方差項:','varpName':_0x33ec35(0x160),'subTotal':'小計','grandTotal':'總計','value':'值','blank':'空白','emptyPivot':{'filter':'篩選','row':'行','column':'欄','values':'值'}}};export{a as default};
@@ -0,0 +1,25 @@
1
+ import { PivotTableFiledAreaEnum } from '@univerjs-pro/engine-pivot';
2
+ import { ICommand } from '@univerjs/core';
3
+ /**
4
+ * Represents the parameters of the `reset-pivot-fields-config` command.
5
+ * @description It is used to reset the pivot table fields with provided config.
6
+ */
7
+ export interface IResetPivotFieldsConfigCommandParams {
8
+ /**
9
+ * @property {string} unitId The unit id of workbook which the pivot table belongs to.
10
+ */
11
+ unitId: string;
12
+ /**
13
+ * @property {string} subUnitId The sub unit id of worksheet which the pivot table belongs to.
14
+ */
15
+ subUnitId: string;
16
+ /**
17
+ * @property {string} pivotTableId The pivot table id.
18
+ */
19
+ pivotTableId: string;
20
+ /**
21
+ * @property {PivotTableFiledAreaEnum} resetArea The reset area to set or undefined to reset all.
22
+ */
23
+ resetArea: PivotTableFiledAreaEnum;
24
+ }
25
+ export declare const ResetPivotFieldsConfigCommand: ICommand<IResetPivotFieldsConfigCommandParams>;
@@ -0,0 +1,25 @@
1
+ import { IPivotTableSnapshot } from '@univerjs-pro/engine-pivot';
2
+ import { ICommand } from '@univerjs/core';
3
+ /**
4
+ * Represents the parameters of the `set-pivot-fields-config` command.
5
+ * @description Set the pivot table fields with provided config.
6
+ */
7
+ export interface ISetPivotFieldsConfigCommandParams {
8
+ /**
9
+ * @property {string} unitId The unit id of workbook which the pivot table belongs to.
10
+ */
11
+ unitId: string;
12
+ /**
13
+ * @property {string} subUnitId The sub unit id of worksheet which the pivot table belongs to.
14
+ */
15
+ subUnitId: string;
16
+ /**
17
+ * @property {string} pivotTableId The pivot table id.
18
+ */
19
+ pivotTableId: string;
20
+ /**
21
+ * @property {IPivotTableSnapshot} pivotTableConfig The pivot table config to set.
22
+ */
23
+ pivotTableConfig: IPivotTableSnapshot;
24
+ }
25
+ export declare const SetPivotFieldsConfigCommand: ICommand<ISetPivotFieldsConfigCommandParams>;
@@ -0,0 +1,25 @@
1
+ import { IPivotTableValueFilter } from '@univerjs-pro/engine-pivot';
2
+ import { ICommand } from '@univerjs/core';
3
+ export interface ISetPivotValueFilterCommandParams {
4
+ /**
5
+ * @property {string} unitId The unit id of workbook which the pivot table belongs to.
6
+ */
7
+ unitId: string;
8
+ /**
9
+ * @property {string} subUnitId The sub unit id of worksheet which the pivot table belongs to.
10
+ */
11
+ subUnitId: string;
12
+ /**
13
+ * @property {string} pivotTableId The pivot table id.
14
+ */
15
+ pivotTableId: string;
16
+ /**
17
+ * @property {string} fieldId The table field id. Which is the field id of pivot table.
18
+ */
19
+ fieldId: string;
20
+ /**
21
+ * @property {IPivotTableValueFilter | undefined} filterInfo The items to set the filter. Those items will be checked in the pivot table.
22
+ */
23
+ valueFilterInfo: IPivotTableValueFilter | undefined;
24
+ }
25
+ export declare const SetPivotValueFilterCommand: ICommand<ISetPivotValueFilterCommandParams>;
@@ -1,5 +1,5 @@
1
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';
2
+ import { IAddPivotFieldMutationParams, IRemovePivotFieldMutationParams, IRenamePivotFieldMutationParams, ISetPivotCollapseMutation, ISetPivotFieldFormatMutationParams, ISetPivotFilterMutationParams, ISetPivotOptionMutationParams, ISetPivotSortMutationParams, ISetPivotSubtotalTypeMutationParams, ISetPivotValueFilterMutationParams, IUpdateFieldPositionMutationParams, IUpdatePivotFieldSourceInfoMutationParams, IUpdateValuePositionMutationParams } from '../../const/type';
3
3
  export declare function getFieldListByArea(config: IPivotTableSnapshot, area: PivotTableFiledAreaEnum): string[];
4
4
  export declare function applyAddFieldChangeSet(config: IPivotTableSnapshot, change: IAddPivotFieldMutationParams): void;
5
5
  export declare function applyRemoveFieldChangeSet(config: IPivotTableSnapshot, change: IRemovePivotFieldMutationParams): void;
@@ -7,6 +7,7 @@ export declare function applyRenameFieldChangeSet(config: IPivotTableSnapshot, c
7
7
  export declare function applyCollapseChangeSet(config: IPivotTableSnapshot, change: ISetPivotCollapseMutation): void;
8
8
  export declare function applySetFormatChangeSet(config: IPivotTableSnapshot, change: ISetPivotFieldFormatMutationParams): void;
9
9
  export declare function applySetFilterChangeSet(config: IPivotTableSnapshot, change: ISetPivotFilterMutationParams): void;
10
+ export declare function applySetValueFilterChangeSet(config: IPivotTableSnapshot, change: ISetPivotValueFilterMutationParams): void;
10
11
  export declare function applySetSubtotalChangeSet(config: IPivotTableSnapshot, change: ISetPivotSubtotalTypeMutationParams): void;
11
12
  export declare function applyFieldPositionChangeSet(config: IPivotTableSnapshot, change: IUpdateFieldPositionMutationParams): void;
12
13
  export declare function applyValuePositionChangeSet(config: IPivotTableSnapshot, change: IUpdateValuePositionMutationParams): void;
@@ -0,0 +1,3 @@
1
+ import { IMutation } from '@univerjs/core';
2
+ import { ISetPivotValueFilterMutationParams } from '../../const/type';
3
+ export declare const SetPivotValueFilterMutation: IMutation<ISetPivotValueFilterMutationParams>;
@@ -9,56 +9,56 @@ export declare const ReverseMap: {
9
9
  "7": string;
10
10
  "8": string;
11
11
  "9": string;
12
+ f: string;
12
13
  y: string;
13
- p: string;
14
- N: string;
14
+ x: string;
15
15
  B: string;
16
- X: string;
17
- E: string;
18
- w: string;
19
- m: string;
20
- J: string;
21
- q: string;
16
+ U: string;
17
+ T: string;
18
+ L: string;
19
+ H: string;
20
+ W: string;
21
+ M: string;
22
22
  c: string;
23
+ P: string;
24
+ j: string;
25
+ u: string;
26
+ Y: string;
23
27
  g: string;
28
+ v: string;
29
+ n: string;
30
+ A: string;
31
+ a: string;
32
+ e: string;
24
33
  K: string;
25
- W: string;
26
- r: string;
27
- o: string;
28
- L: string;
34
+ N: string;
29
35
  F: string;
36
+ C: string;
30
37
  l: string;
31
- j: string;
32
- I: string;
33
- Y: string;
34
- b: string;
35
- u: string;
38
+ q: string;
39
+ o: string;
40
+ E: string;
36
41
  O: string;
37
- V: string;
38
- v: string;
39
- t: string;
42
+ k: string;
40
43
  d: string;
41
- U: string;
42
- H: string;
43
- e: string;
44
- i: string;
45
- R: string;
46
- G: string;
47
- Q: string;
44
+ S: string;
48
45
  Z: string;
49
- T: string;
50
- D: string;
51
- a: string;
46
+ V: string;
47
+ Q: string;
48
+ r: string;
49
+ b: string;
52
50
  s: string;
51
+ p: string;
52
+ X: string;
53
+ I: string;
54
+ D: string;
55
+ w: string;
53
56
  h: string;
54
- f: string;
55
- A: string;
56
- C: string;
57
- P: string;
58
- k: string;
59
- n: string;
57
+ J: string;
60
58
  z: string;
61
- S: string;
62
- x: string;
63
- M: string;
59
+ t: string;
60
+ i: string;
61
+ m: string;
62
+ R: string;
63
+ G: string;
64
64
  };
@@ -80,7 +80,10 @@ export declare enum PivotDisplayDataType {
80
80
  SetPivotSetting = "setPivotSetting",
81
81
  UpdatePivotSource = "updatePivotSource",
82
82
  UpdateValuePosition = "updateValuePosition",
83
- DrillDown = "drillDown"
83
+ DrillDown = "drillDown",
84
+ SetValuePivotFilter = "setValuePivotFilter",
85
+ SetPivotTableConfig = "setPivotTableConfig",
86
+ ResetPivotTable = "resetPivotTable"
84
87
  }
85
88
  export declare const defaultTextInfo: {
86
89
  'sheets-pivot.blankValue': string;
@@ -1,4 +1,4 @@
1
- import { DataField, FieldsCollection, IDataFieldManagerBaseJSON, IFieldsCollectionJSON, ILabelViewHeaderMapItem, IPivotTableChangeSet, IPivotTableFilterInfo, IPivotTableLabelFieldJSON, IPivotTableOptions, IPivotTableSnapshot, IPivotTableSortInfo, IPivotTableValueFieldJSON, IPivotViewInfo, IPivotViewJSON, IPivotViewValueType, PivotCellStyleTypeEnum, PivotDataFieldDataTypeEnum, PivotSubtotalTypeEnum, PivotTableChangeTypeEnum, PivotTableFiledAreaEnum, PivotTableValuePositionEnum, PivotView } from '@univerjs-pro/engine-pivot';
1
+ import { DataField, FieldsCollection, IDataFieldManagerBaseJSON, IFieldsCollectionJSON, ILabelViewHeaderMapItem, IPivotTableChangeSet, IPivotTableFilterInfo, IPivotTableLabelFieldJSON, IPivotTableOptions, IPivotTableSnapshot, IPivotTableSortInfo, IPivotTableValueFieldJSON, IPivotTableValueFilter, IPivotViewInfo, IPivotViewJSON, IPivotViewValueType, PivotCellStyleTypeEnum, PivotDataFieldDataTypeEnum, PivotSubtotalTypeEnum, PivotTableChangeTypeEnum, PivotTableFiledAreaEnum, PivotTableValuePositionEnum, PivotView } from '@univerjs-pro/engine-pivot';
2
2
  import { CellValueType, ICellData, IRange, IStyleData, IUndoRedoCommandInfosByInterceptor, IUnitRangeName, Nullable, ObjectMatrix } from '@univerjs/core';
3
3
  import { PivotDisplayDataType, PositionType } from './const';
4
4
  export interface IPivotPerformCheckParams {
@@ -134,6 +134,13 @@ export interface ISetPivotFilterMutationParams {
134
134
  filterInfo: IPivotTableFilterInfo;
135
135
  isAll?: boolean;
136
136
  }
137
+ export interface ISetPivotValueFilterMutationParams {
138
+ unitId: string;
139
+ subUnitId: string;
140
+ pivotTableId: string;
141
+ fieldId: string;
142
+ filterInfo: IPivotTableValueFilter | undefined;
143
+ }
137
144
  export interface ISetPivotCollapseMutation {
138
145
  unitId: string;
139
146
  subUnitId: string;
@@ -350,6 +357,18 @@ export interface IGetPivotFilterDataParams {
350
357
  items: string[];
351
358
  isAll?: boolean;
352
359
  }
360
+ export interface IGetPivotValueFilterDataParams {
361
+ tableFieldId: string;
362
+ filterInfo: IPivotTableValueFilter | undefined;
363
+ }
364
+ export interface ISetPivotTableConfigDataParams {
365
+ pivotTableId: string;
366
+ pivotTableConfig: IPivotTableSnapshot;
367
+ }
368
+ export interface IResetPivotTableDataParams {
369
+ pivotTableId: string;
370
+ resetArea?: PivotTableFiledAreaEnum;
371
+ }
353
372
  export interface IGetPivotSortDataParams {
354
373
  tableFieldId: string;
355
374
  info: IPivotTableSortInfo;
@@ -389,7 +408,10 @@ export interface IGetPivotDataLocalMutationParams extends IPivotLocalMutationBas
389
408
  updatePivotSource?: IGetUpdatePivotSourceDataParams;
390
409
  updateValuePosition?: IGetUpdateValuePositionDataParams;
391
410
  addPivotTableWithConfig?: IGetAddPivotTableWithConfigDataParams;
411
+ setPivotTableConfig?: ISetPivotTableConfigDataParams;
412
+ resetPivotTable?: IResetPivotTableDataParams;
392
413
  drillDown?: IGetPivotDrillDownDataParams;
414
+ setValuePivotFilter?: IGetPivotValueFilterDataParams;
393
415
  };
394
416
  }
395
417
  export interface IPivotDisplayResult {
@@ -409,6 +431,9 @@ export interface IPivotDisplayResult {
409
431
  changesets: IPivotTableChangeSet[];
410
432
  };
411
433
  drillDown?: IPivotDrillDownInfo;
434
+ setValuePivotFilter?: IPivotDisplayBaseInfo;
435
+ setPivotTableConfig?: IPivotDisplayBaseInfo;
436
+ resetPivotTable?: IPivotDisplayBaseInfo;
412
437
  }
413
438
  export interface IPivotUpdatePivotSourceInfo {
414
439
  view: IPivotViewJSON;
@@ -1 +1 @@
1
- export declare const getLsInfoFuncStr = "W7Yc0L4Y gKcuV50L4Y(jLcKY6K, 57qjLcTKV) { 0uV { c4Y60 jLcKY6KQYW4hJu0tuuJV = jLcKY6K.65jL0('-'); c4Y60 4uLrLYaK66JrK = ZCs3.5Ju6K(J04q(jLcKY6KQYW4hJu0tuuJV[N])); LW (!4uLrLYaK66JrK.7g) { 4uLrLYaK66JrK.7g = 37IqKu(jLcKY6KQYW4hJu0tuuJV[B]); } c4Y60 L6z4ulKu = 0V5K4W z4ulKuRj4qJjCc45K !== '7YgKWLYKg' && 6KjW LY60JYcK4W z4ulKuRj4qJjCc45K; c4Y60 c4Y0K10 = L6z4ulKu ? 6KjW : 8LYg48; c4Y60 IK66JrKz4ug = c4Y0K10.__dJ6KEB__.5Ju6K(jLcKY6KQYW4hJu0tuuJV[N]); c4Y60 IK66JrK = c4Y0K10.__GK1__.60uLYrLWV(IK66JrKz4ug); c4Y60 6LrYJ07uKz4ug = c4Y0K10.__dJ6KEB__.5Ju6K(jLcKY6KQYW4hJu0tuuJV[9]); c4Y60 6LrYJ07uK = c4Y0K10.__GK1__.60uLYrLWV(6LrYJ07uKz4ug); c4Y60 6LrYnJjLg = c4Y0K10.__OKuLWV__(6LrYJ07uK, IK66JrK, 57qjLcTKV); c4Y60 g4IJLY = 4uLrLYaK66JrK.gI; W7Yc0L4Y L6H4IJLYaJ0coLYr(4hJ00KuY, 4G460) { c4Y60 5J00KuY = 4hJ00KuY.uK5jJcK(/^.+/, ''); c4Y60 o460 = 4G460.uK5jJcK(/^.+/, ''); c4Y60 5J00KuYhJu06 = 5J00KuY.65jL0('.'); c4Y60 o460hJu06 = o460.65jL0('.'); LW (!5J00KuY.LYcj7gK6('*')) { uK07uY 5J00KuY === o460; } LW (5J00KuYhJu06.jKYr0o < N || 5J00KuYhJu06[y] !== '*') { uK07uY WJj6K; } c4Y60 5J00KuYC7WWL1 = 5J00KuYhJu06.6jLcK(p).F4LY('.'); c4Y60 o460C7WWL1 = o460hJu06.6jLcK(-5J00KuYhJu06.jKYr0o + p).F4LY('.'); uK07uY 5J00KuYC7WWL1 === o460C7WWL1; } jK0 g4IJLYnJjLg = (g4IJLY && g4IJLY.jKYr0o) ? g4IJLY.64IK((gIQ0KI) => L6H4IJLYaJ0coLYr(gIQ0KI, j4cJ0L4Y.o460YJIK)) : 0u7K; LW (j4cJ0L4Y.o460YJIK === 'j4cJjo460') { g4IJLYnJjLg = 0u7K; } c4Y60 OJjLg = 6LrYnJjLg && g4IJLYnJjLg; uK07uY { OJjLg, IK66JrK: 4uLrLYaK66JrK, }; } cJ0co (Kuu4u) { uK07uY { OJjLg: WJj6K, IK66JrK: {}, }; }}";
1
+ export declare const getLsInfoFuncStr = "uCncF5An PjcKEaF5An(g5cjnNj, aCMg5crjE) { FKE { cAnNF g5cjnNj6nuAIWKFOKKWE = g5cjnNj.Nag5F('-'); cAnNF AK5Y5nsjNNWYj = QhXp.aWKNj(WFAM(g5cjnNj6nuAIWKFOKKWE[x])); 5u (!AK5Y5nsjNNWYj.CP) { AK5Y5nsjNNWYj.CP = pCvMjK(g5cjnNj6nuAIWKFOKKWE[U]); } cAnNF 5NiAK3jK = FEajAu iAK3jKZgAMWghcAaj !== 'CnPju5njP' && Njgu 5nNFWncjAu iAK3jKZgAMWghcAaj; cAnNF cAnFjoF = 5NiAK3jK ? Njgu : q5nPAq; cAnNF vjNNWYjiAKP = cAnFjoF.__7WNj1U__.aWKNj(g5cjnNj6nuAIWKFOKKWE[x]); cAnNF vjNNWYj = cAnFjoF.__Vjo__.NFK5nY5uE(vjNNWYjiAKP); cAnNF N5YnWFCKjiAKP = cAnFjoF.__7WNj1U__.aWKNj(g5cjnNj6nuAIWKFOKKWE[B]); cAnNF N5YnWFCKj = cAnFjoF.__Vjo__.NFK5nY5uE(N5YnWFCKjiAKP); cAnNF N5YntWg5P = cAnFjoF.__ljK5uE__(N5YnWFCKj, vjNNWYj, aCMg5crjE); cAnNF PAvW5n = AK5Y5nsjNNWYj.Pv; uCncF5An 5NdAvW5nsWFc85nY(AIWFFjKn, AVANF) { cAnNF aWFFjKn = AIWFFjKn.KjagWcj(/^.+/, ''); cAnNF 8ANF = AVANF.KjagWcj(/^.+/, ''); cAnNF aWFFjKnIWKFN = aWFFjKn.Nag5F('.'); cAnNF 8ANFIWKFN = 8ANF.Nag5F('.'); 5u (!aWFFjKn.5ncgCPjN('*')) { KjFCKn aWFFjKn === 8ANF; } 5u (aWFFjKnIWKFN.gjnYF8 < x || aWFFjKnIWKFN[f] !== '*') { KjFCKn uWgNj; } cAnNF aWFFjKnhCuu5o = aWFFjKnIWKFN.Ng5cj(y).9A5n('.'); cAnNF 8ANFhCuu5o = 8ANFIWKFN.Ng5cj(-aWFFjKnIWKFN.gjnYF8 + y).9A5n('.'); KjFCKn aWFFjKnhCuu5o === 8ANFhCuu5o; } gjF PAvW5ntWg5P = (PAvW5n && PAvW5n.gjnYF8) ? PAvW5n.NAvj((Pv6Fjv) => 5NdAvW5nsWFc85nY(Pv6Fjv, gAcWF5An.8ANFnWvj)) : FKCj; 5u (gAcWF5An.8ANFnWvj === 'gAcWg8ANF') { PAvW5ntWg5P = FKCj; } cAnNF lWg5P = N5YntWg5P && PAvW5ntWg5P; KjFCKn { lWg5P, vjNNWYj: AK5Y5nsjNNWYj, }; } cWFc8 (jKKAK) { KjFCKn { lWg5P: uWgNj, vjNNWYj: {}, }; }}";
@@ -1,4 +1,4 @@
1
- import { IPivotTableLabelFieldJSON, IPivotTableSortInfo, IPivotTableValueFieldJSON, PivotSubtotalTypeEnum, PivotTableValuePositionEnum, PivotTableFiledAreaEnum } from '@univerjs-pro/engine-pivot';
1
+ import { IPivotTableLabelFieldJSON, IPivotTableSortInfo, IPivotTableValueFieldJSON, IPivotTableValueFilter, IValueFilterInfoItem, PivotSubtotalTypeEnum, PivotTableValuePositionEnum, PivotTableFiledAreaEnum } from '@univerjs-pro/engine-pivot';
2
2
  import { IPivotTableConfig } from '@univerjs-pro/sheets-pivot';
3
3
  import { Injector, IRange, Nullable } from '@univerjs/core';
4
4
  /**
@@ -42,6 +42,18 @@ export declare class FPivotTable {
42
42
  * ```
43
43
  */
44
44
  getConfig(): Nullable<IPivotTableConfig>;
45
+ /**
46
+ * @description Set the pivot table fields config.It will add fields to the pivot table from provided config.Before setting the fields config, you should ensure the pivot table is empty to avoid the conflict.
47
+ * @param {IPivotTableConfig['fieldsConfig']} config The pivot table fields config.
48
+ * @returns {Promise<boolean>} Whether the pivot table fields config is set successfully.
49
+ */
50
+ setFieldsConfig(config: IPivotTableConfig['fieldsConfig']): Promise<boolean>;
51
+ /**
52
+ * @description Clear the fields by provided field area or clear all fields.
53
+ * @param {PivotTableFiledAreaEnum} [resetArea] The area of the field to reset or undefined to reset all fields.
54
+ * @returns {Promise<boolean>} Whether the pivot table fields are reset successfully.
55
+ */
56
+ reset(resetArea?: PivotTableFiledAreaEnum): Promise<boolean>;
45
57
  /**
46
58
  * @description Get the pivot table id.
47
59
  * @returns {string} The pivot table id.
@@ -60,7 +72,7 @@ export declare class FPivotTable {
60
72
  getPivotTableId(): string;
61
73
  /**
62
74
  * Get the pivot table field setting by the field id.
63
- * @param fieldId The table field id.
75
+ * @param {string} fieldId The table field id.
64
76
  * @returns { IPivotTableValueFieldJSON | IPivotTableLabelFieldJSON | undefined} The field setting.
65
77
  *
66
78
  * @example
@@ -74,6 +86,44 @@ export declare class FPivotTable {
74
86
  * ```
75
87
  */
76
88
  getFieldSetting(fieldId: string): IPivotTableValueFieldJSON | IPivotTableLabelFieldJSON | undefined;
89
+ /**
90
+ * Get value filter info by the field id.
91
+ * @param {string} fieldId The field id.
92
+ * @returns {IPivotTableValueFilter | undefined} The value filter info.
93
+ *
94
+ * @example
95
+ * ```ts
96
+ * const fWorkbook = univerAPI.getActiveWorkbook();
97
+ * const unitId = fWorkbook.getId();
98
+ * const fSheet = fWorkbook.getActiveSheet();
99
+ * const subUnitId = fSheet.getSheetId();
100
+ * const pivotTable = fWorkbook.getPivotTableByCell(unitId, subUnitId, 1, 1);
101
+ * if(pivotTable) {
102
+ * const rowIds = fPivotTable.getFieldIdsByArea(univerAPI.Enum.PivotTableFiledAreaEnum.Row);
103
+ * const valueFilter = pivotTable.getValueFilter(rowIds[0]);
104
+ * console.log(valueFilter);
105
+ * }
106
+ * ```
107
+ */
108
+ getValueFilter(fieldId: string): IPivotTableValueFilter | undefined;
109
+ /**
110
+ * Get all value filters of the pivot table. In pivot table, the value filter must be applied in order.So the order of the value filter is important.
111
+ * @returns {IValueFilterInfoItem[]} The value filter info list.
112
+ *
113
+ * @example
114
+ * ```ts
115
+ * const fWorkbook = univerAPI.getActiveWorkbook();
116
+ * const unitId = fWorkbook.getId();
117
+ * const fSheet = fWorkbook.getActiveSheet();
118
+ * const subUnitId = fSheet.getSheetId();
119
+ * const pivotTable = fWorkbook.getPivotTableByCell(unitId, subUnitId, 1, 1);
120
+ * if(pivotTable) {
121
+ * const valueFilters = pivotTable.getValueFilters();
122
+ * console.log(valueFilters);
123
+ * }
124
+ * ```
125
+ */
126
+ getValueFilters(): IValueFilterInfoItem[];
77
127
  /**
78
128
  * @description Get the field ids by the field area.
79
129
  * @param {PivotTableFiledAreaEnum} fieldArea The area of the field.
@@ -281,6 +331,39 @@ export declare class FPivotTable {
281
331
  * ```
282
332
  */
283
333
  setLabelManualFilter(tableFieldId: string, items: string[], isAll?: boolean): Promise<boolean>;
334
+ /**
335
+ * @description Set the pivot table value filter. A value filter is used to filter the data based on the value of a field.
336
+ * @param {string} fieldId - The field id of the filter. Only one value filer can be set for a field.
337
+ * @param {Omit<IPivotTableValueFilter, 'type'>} filterInfo - The filter info. The undefined value will be removed from the old filter.
338
+ * @typedef filterInfo
339
+ * @property {valueGreaterThan} operator - The filter operator is used to compare the value of the field with the expected value.Currently, The following operators are supported: valueBetween, valueEqual, valueGreaterThan, valueGreaterThanOrEqual, valueLessThan, valueLessThanOrEqual,valueNotBetween,valueNotEqual.
340
+ * @property {number} expected - The expected value.
341
+ * @property {string} valueFieldId - The value field id.
342
+ * @returns {boolean} Whether the pivot table value filter is set successfully.
343
+ *
344
+ * @example
345
+ * ```ts
346
+ * const fWorkbook = univerAPI.getActiveWorkbook();
347
+ * const unitId = fWorkbook.getId();
348
+ * const fSheet = fWorkbook.getActiveSheet();
349
+ * const subUnitId = fSheet.getSheetId();
350
+ * const pivotTable = fWorkbook.getPivotTableByCell(unitId, subUnitId, 1, 1);
351
+ * if (pivotTable) {
352
+ * const rowIds = pivotTable.getFieldIdsByArea(univerAPI.Enum.PivotTableFiledAreaEnum.Row);
353
+ * const valueIds = pivotTable.getFieldIdsByArea(univerAPI.Enum.PivotTableFiledAreaEnum.Value);
354
+ * if (valueIds.length > 0 && rowIds.length > 0) {
355
+ * pivotTable.setValueFilter(rowIds[0], {
356
+ * operator: univerAPI.Enum.PivotFilterOperatorEnum.valueGreaterThan,
357
+ * expected: 10,
358
+ * valueFieldId: valueIds[0]
359
+ * });
360
+ * }
361
+ * // remove the value filter
362
+ * // fPivotTable.setValueFilter(rowIds[0], undefined)
363
+ * }
364
+ * ```
365
+ */
366
+ setValueFilter(fieldId: string, filterInfo: Omit<IPivotTableValueFilter, 'type'>): Promise<boolean>;
284
367
  /**
285
368
  * @description Rename the pivot table field.
286
369
  * @param {string} fieldId - The field id.
@@ -70,7 +70,7 @@ export interface IFWorkbookSheetsPivotMixin {
70
70
  * @param {string} subUnitId The sheet id, which pivot table belongs to.
71
71
  * @param {number} row The checked row.
72
72
  * @param {number} col The checked column.
73
- * @returns {string|undefined} The pivot table instance or undefined.
73
+ * @returns {FPivotTable|undefined} The pivot table instance or undefined.
74
74
  *
75
75
  * @example
76
76
  * ```typescript
@@ -0,0 +1,31 @@
1
+ import { FWorksheet } from '@univerjs/sheets/facade';
2
+ import { FPivotTable } from './f-pivot-table';
3
+ /**
4
+ * @ignore
5
+ */
6
+ export interface IFWorkSheetPivotMixin {
7
+ /**
8
+ * @description Get the pivot table id by the cell in current sheet.
9
+ * @param {number} row The checked row.
10
+ * @param {number} col The checked column.
11
+ * @returns {FPivotTable|undefined} The pivot table instance or undefined.
12
+ *
13
+ * @example
14
+ * ```typescript
15
+ * const fWorkbook = univerAPI.getActiveWorkbook();
16
+ * const fSheet = fWorkbook.getActiveSheet();
17
+ * const pivotTable = fSheet.getPivotTableByCell(1, 1);
18
+ * if(pivotTable) {
19
+ * pivotTable.addField(1, univerAPI.Enum.PivotTableFiledAreaEnum.Row, 0);
20
+ * }
21
+ * ```
22
+ */
23
+ getPivotTableByCell(row: number, col: number): FPivotTable | undefined;
24
+ }
25
+ export declare class FWorkSheetsPivotMixin extends FWorksheet implements IFWorkSheetPivotMixin {
26
+ getPivotTableByCell(row: number, col: number): FPivotTable | undefined;
27
+ }
28
+ declare module '@univerjs/sheets/facade' {
29
+ interface FWorksheet extends IFWorkSheetPivotMixin {
30
+ }
31
+ }
@@ -1,4 +1,5 @@
1
1
  import './f-workbook';
2
+ import './f-worksheet';
2
3
  import './f-enum';
3
4
  import './f-event';
4
5
  import './f-univer';
@@ -6,3 +7,4 @@ export type * from './f-enum';
6
7
  export type * from './f-event';
7
8
  export type * from './f-pivot-table';
8
9
  export type * from './f-workbook';
10
+ export type * from './f-worksheet';