@univerjs-pro/sheets-pivot 0.5.2 → 0.5.3-nightly.202501051605

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
package/lib/cjs/facade.js CHANGED
@@ -1 +1 @@
1
- 'use strict';const _0x394903=_0x8e6d;(function(_0x2fe311,_0x20e0fe){const _0xac143d=_0x8e6d,_0x3473dc=_0x2fe311();while(!![]){try{const _0x48968b=-parseInt(_0xac143d(0xd1))/0x1+-parseInt(_0xac143d(0x9f))/0x2*(-parseInt(_0xac143d(0xb4))/0x3)+-parseInt(_0xac143d(0xa4))/0x4+-parseInt(_0xac143d(0xa0))/0x5*(-parseInt(_0xac143d(0xa6))/0x6)+parseInt(_0xac143d(0xc2))/0x7+-parseInt(_0xac143d(0xce))/0x8+-parseInt(_0xac143d(0xb0))/0x9*(-parseInt(_0xac143d(0x9e))/0xa);if(_0x48968b===_0x20e0fe)break;else _0x3473dc['push'](_0x3473dc['shift']());}catch(_0x1c4a4b){_0x3473dc['push'](_0x3473dc['shift']());}}}(_0x40df,0x483b1));function _0x40df(){const _0x574edb=['@univerjs/sheets/facade','remove','2996Iljpad','IUniverInstanceService','@univerjs/core','pivotTableId','fieldIds','RemovePivotFieldCommand','rangeInfo','generateHexNumber','818690tcKqPo','2dMalPA','5DsCfZc','addPivotTable','MovePivotFieldCommand','@univerjs-pro/engine-pivot','2127800SORQbE','removeField','917268ifoTVI','RemovePivotTableMutation','toStringTag','getConfig','executeCommand','AddPivotTableCommand','setLabelManualFilter','SheetsPivotTableConfigModel','addField','SetPivotSubtotalTypeMutation','99YnwIQS','getSheetId','AddPivotFieldCommand','unionPivotViewRange','62739ApjuDD','_injector','ICommandService','RenamePivotFieldMutation','renameField','subUnitId','MovePivotTableCommand','syncExecuteCommand','getPivotTableConfig','@univerjs-pro/sheets-pivot','unitId','getCollection','[Pivot\x20Table]:\x20Target\x20sheet\x20is\x20not\x20valid','extend','754222YlJjvi','get','setLabelSort','defineProperty','FPivotTable','SetPivotSortCommand','symbol','updateFieldPosition','getPivotTableRangeInfo','getPivotTableIdByCell','getPivotTableByCell','move','2810344IYtmaa'];_0x40df=function(){return _0x574edb;};return _0x40df();}var C=Object[_0x394903(0xc5)],p=(_0xda940f,_0x59a25b,_0x16e899)=>_0x59a25b in _0xda940f?C(_0xda940f,_0x59a25b,{'enumerable':!0x0,'configurable':!0x0,'writable':!0x0,'value':_0x16e899}):_0xda940f[_0x59a25b]=_0x16e899,l=(_0x159258,_0x4cdfbf,_0x4f7881)=>p(_0x159258,typeof _0x4cdfbf!=_0x394903(0xc8)?_0x4cdfbf+'':_0x4cdfbf,_0x4f7881);Object[_0x394903(0xc5)](exports,Symbol[_0x394903(0xa8)],{'value':'Module'});const r=require(_0x394903(0xd3)),b=require(_0x394903(0xcf)),S=require(_0x394903(0xa3)),d=require(_0x394903(0xbd));function _0x8e6d(_0x1bd45f,_0x2c51e5){const _0x40dfc1=_0x40df();return _0x8e6d=function(_0x8e6d5a,_0x4995d0){_0x8e6d5a=_0x8e6d5a-0x9a;let _0x13e81b=_0x40dfc1[_0x8e6d5a];return _0x13e81b;},_0x8e6d(_0x1bd45f,_0x2c51e5);}class I{constructor(_0x3291db,_0x18b650,_0x20b1f0,_0x5d21f8){const _0x163a23=_0x394903;l(this,_0x163a23(0xbe)),l(this,'subUnitId'),l(this,_0x163a23(0xd4)),l(this,'_injector'),(this[_0x163a23(0xbe)]=_0x3291db,this[_0x163a23(0xb9)]=_0x18b650,this[_0x163a23(0xd4)]=_0x20b1f0,this['_injector']=_0x5d21f8);}[_0x394903(0xa9)](){const _0xe3d651=_0x394903;return this[_0xe3d651(0xb5)]['get'](d[_0xe3d651(0xad)])[_0xe3d651(0xbc)](this['unitId'],this['subUnitId'],this[_0xe3d651(0xd4)]);}['getPivotTableRangeInfo'](){const _0xde9b28=_0x394903;var _0x16765f;const _0x11b419=(_0x16765f=this[_0xde9b28(0xb5)][_0xde9b28(0xc3)](d[_0xde9b28(0xad)])[_0xde9b28(0xca)](this[_0xde9b28(0xbe)],this['subUnitId'],this[_0xde9b28(0xd4)]))==null?void 0x0:_0x16765f[_0xde9b28(0x9c)];if(_0x11b419)return d[_0xde9b28(0xb3)](_0x11b419);}async[_0x394903(0xd0)](){const _0x445e1c=_0x394903;return await this[_0x445e1c(0xb5)]['get'](r[_0x445e1c(0xb6)])[_0x445e1c(0xbb)](d[_0x445e1c(0xa7)]['id'],{'unitId':this['unitId'],'subUnitId':this[_0x445e1c(0xb9)],'pivotTableId':this[_0x445e1c(0xd4)]});}async[_0x394903(0xae)](_0x353077,_0x54011d,_0x4a5e6c){const _0x5a6db8=_0x394903,_0x5b7568=this[_0x5a6db8(0xb5)],_0x585836=this['unitId'],_0x200e8c=this[_0x5a6db8(0xb9)],_0x28feb8=this['pivotTableId'],_0x3103f2=_0x5b7568[_0x5a6db8(0xc3)](r[_0x5a6db8(0xb6)]),_0x5dc1ab=_0x5b7568[_0x5a6db8(0xc3)](d[_0x5a6db8(0xad)]),_0x38f463=_0x5dc1ab['getPivotTableConfig'](_0x585836,_0x200e8c,_0x28feb8),_0x52ad7b=_0x5dc1ab[_0x5a6db8(0xbf)](_0x585836,_0x28feb8);if(!_0x38f463||!_0x52ad7b)return!0x1;let _0x4e402b=_0x353077;typeof _0x4e402b=='number'&&(_0x4e402b=_0x5dc1ab[_0x5a6db8(0xbf)](_0x585836,_0x28feb8)[_0x5a6db8(0x9a)][_0x353077]);const _0x809486={'unitId':_0x585836,'subUnitId':_0x200e8c,'pivotTableId':_0x28feb8,'dataFieldId':_0x4e402b,'fieldArea':_0x54011d,'index':_0x4a5e6c};return _0x3103f2[_0x5a6db8(0xaa)](d[_0x5a6db8(0xb2)]['id'],_0x809486);}async[_0x394903(0xa5)](_0x31e9b9){const _0x4abe57=_0x394903,_0xa659a8=this['_injector'],_0x61c276=this[_0x4abe57(0xbe)],_0x55a8e9=this['subUnitId'],_0x1e0818=this[_0x4abe57(0xd4)],_0x3c6438=_0xa659a8[_0x4abe57(0xc3)](r[_0x4abe57(0xb6)]),_0x557618={'unitId':_0x61c276,'subUnitId':_0x55a8e9,'pivotTableId':_0x1e0818,'fieldIds':_0x31e9b9};return _0x3c6438['executeCommand'](d[_0x4abe57(0x9b)]['id'],_0x557618);}async[_0x394903(0xc9)](_0x57f1d9,_0x1a2478,_0xdcce66){const _0x5dccb1=_0x394903,_0x29e43a=this[_0x5dccb1(0xb5)],_0x43669b=this[_0x5dccb1(0xbe)],_0x525cd8=this['subUnitId'],_0x1b598f=this[_0x5dccb1(0xd4)],_0x5d7517=_0x29e43a[_0x5dccb1(0xc3)](r['ICommandService']),_0x4ca828={'unitId':_0x43669b,'subUnitId':_0x525cd8,'pivotTableId':_0x1b598f,'fieldId':_0x57f1d9,'area':_0x1a2478,'index':_0xdcce66};return _0x5d7517[_0x5dccb1(0xaa)](d[_0x5dccb1(0xa2)]['id'],_0x4ca828);}async['updateValuePosition'](_0x2f9732,_0xfed7f1){const _0x2bfd0c=_0x394903,_0x3a35eb=this[_0x2bfd0c(0xb5)],_0x56a57d=this['unitId'],_0x1695f1=this[_0x2bfd0c(0xb9)],_0x63252f=this['pivotTableId'],_0x5c0611=_0x3a35eb[_0x2bfd0c(0xc3)](r[_0x2bfd0c(0xb6)]),_0xfaf9cb={'unitId':_0x56a57d,'subUnitId':_0x1695f1,'pivotTableId':_0x63252f,'position':_0x2f9732,'index':_0xfed7f1};return _0x5c0611[_0x2bfd0c(0xaa)](d['UpdatePivotValuePositionCommand']['id'],_0xfaf9cb);}async['setSubtotalType'](_0x3ddfa9,_0x277bff){const _0xf8a3d1=_0x394903,_0x4c7e4f=this['_injector'],_0x542c74=this[_0xf8a3d1(0xbe)],_0x1df073=this[_0xf8a3d1(0xb9)],_0x9d85b6=this[_0xf8a3d1(0xd4)],_0x4f00c9=_0x4c7e4f[_0xf8a3d1(0xc3)](r[_0xf8a3d1(0xb6)]),_0x2441e1={'unitId':_0x542c74,'subUnitId':_0x1df073,'pivotTableId':_0x9d85b6,'fieldId':_0x3ddfa9,'subtotalType':_0x277bff};return _0x4f00c9[_0xf8a3d1(0xaa)](d[_0xf8a3d1(0xaf)]['id'],_0x2441e1);}async[_0x394903(0xc4)](_0x3f6a32,_0x41f4cf){const _0x276d07=_0x394903,_0x56c078=this[_0x276d07(0xb5)],_0x18bb86=this[_0x276d07(0xbe)],_0x16ae3f=this[_0x276d07(0xb9)],_0x26d3d8=this[_0x276d07(0xd4)],_0x33bf6b=_0x56c078[_0x276d07(0xc3)](r[_0x276d07(0xb6)]),_0x27794d={'unitId':_0x18bb86,'subUnitId':_0x16ae3f,'tableFieldId':_0x3f6a32,'pivotTableId':_0x26d3d8,'info':_0x41f4cf};return _0x33bf6b[_0x276d07(0xaa)](d[_0x276d07(0xc7)]['id'],_0x27794d);}async[_0x394903(0xac)](_0x96b584,_0x20d198,_0x44bf4f){const _0x147ee4=_0x394903,_0x1c9b3d=this[_0x147ee4(0xb5)],_0x3d8199=this[_0x147ee4(0xbe)],_0x5a70a1=this[_0x147ee4(0xb9)],_0x1556b7=this[_0x147ee4(0xd4)],_0x30b6e8=_0x1c9b3d['get'](r['ICommandService']),_0x45dcb8={'unitId':_0x3d8199,'subUnitId':_0x5a70a1,'pivotTableId':_0x1556b7,'tableFieldId':_0x96b584,'items':_0x20d198,'isAll':_0x44bf4f};return _0x30b6e8[_0x147ee4(0xaa)](d['SetPivotFilterCommand']['id'],_0x45dcb8);}async[_0x394903(0xb8)](_0x1ad812,_0x4ef137){const _0x14dfc9=_0x394903,_0x330233=this['_injector'],_0x1e29e0=this['unitId'],_0xdae66f=this[_0x14dfc9(0xb9)],_0x195ef6=this['pivotTableId'],_0x1d8afa=_0x330233[_0x14dfc9(0xc3)](r[_0x14dfc9(0xb6)]),_0x41cbc4={'unitId':_0x1e29e0,'subUnitId':_0xdae66f,'pivotTableId':_0x195ef6,'fieldId':_0x1ad812,'name':_0x4ef137};return _0x1d8afa['executeCommand'](d[_0x14dfc9(0xb7)]['id'],_0x41cbc4);}async[_0x394903(0xcd)](_0x428ce8,_0x978bbb,_0x4dd76c){const _0x3e13b2=_0x394903,_0x4f16cb=this[_0x3e13b2(0xb5)][_0x3e13b2(0xc3)](r['ICommandService']),_0x3cd254=this[_0x3e13b2(0xb5)]['get'](r[_0x3e13b2(0xd2)])['getUnit'](this[_0x3e13b2(0xbe)]),_0x24dd62=_0x3cd254==null?void 0x0:_0x3cd254['getSheetBySheetName'](_0x428ce8);if(!_0x3cd254||!_0x24dd62)throw new Error(_0x3e13b2(0xc0));return _0x4f16cb[_0x3e13b2(0xaa)](d[_0x3e13b2(0xba)]['id'],{'pivotTableId':this[_0x3e13b2(0xd4)],'targetCellInfo':{'subUnitId':_0x24dd62[_0x3e13b2(0xb1)](),'unitId':this[_0x3e13b2(0xbe)],'row':_0x978bbb,'col':_0x4dd76c},'originTargetInfo':{'subUnitId':this[_0x3e13b2(0xb9)],'unitId':this[_0x3e13b2(0xbe)]}});}}class P extends b['FWorkbook']{async[_0x394903(0xa1)](_0x39b112,_0x980806,_0x5b28f2){const _0x1f8261=_0x394903,_0x55b250=this[_0x1f8261(0xb5)],_0x5b67a9=_0x55b250['get'](r[_0x1f8261(0xb6)]),_0x4a90c6=S[_0x1f8261(0x9d)](0x8),_0x36e6bd={'positionType':_0x980806,'pivotTableId':_0x4a90c6,'pivotTableConfig':{'targetCellInfo':_0x5b28f2,'sourceRangeInfo':_0x39b112,'isEmpty':!0x0}};if(await _0x5b67a9['executeCommand'](d[_0x1f8261(0xab)]['id'],_0x36e6bd))return new I(_0x5b28f2[_0x1f8261(0xbe)],_0x5b28f2[_0x1f8261(0xb9)],_0x4a90c6,_0x55b250);}[_0x394903(0xcc)](_0x353d26,_0x140cdf,_0x41ae5c,_0x1cfb32){const _0x451666=_0x394903,_0x2bb60c=this[_0x451666(0xb5)],_0x1bf9c3=_0x2bb60c[_0x451666(0xc3)](d['SheetsPivotTableAdaptorModel'])[_0x451666(0xcb)](_0x353d26,_0x140cdf,_0x41ae5c,_0x1cfb32);if(_0x1bf9c3)return new I(_0x353d26,_0x140cdf,_0x1bf9c3,_0x2bb60c);}}b['FWorkbook'][_0x394903(0xc1)](P),exports[_0x394903(0xc6)]=I;
1
+ 'use strict';function _0x5cd6(){const _0x49086a=['9ggJeZE','SheetsPivotTableConfigModel','subUnitId','rangeInfo','toStringTag','number','3645JgSDOB','_injector','symbol','updateFieldPosition','SetPivotSortCommand','820164qCfWdg','3042UTksuy','getCollection','move','getSheetBySheetName','defineProperty','pivotTableId','IUniverInstanceService','@univerjs-pro/engine-pivot','1549024LLRoQy','SheetsPivotTableAdaptorModel','ICommandService','getSheetId','getPivotTableRangeInfo','remove','[Pivot\x20Table]:\x20Target\x20sheet\x20is\x20not\x20valid','RemovePivotFieldCommand','113319UEaQOM','199740FSDlwg','AddPivotTableCommand','getConfig','MovePivotFieldCommand','411834NEBIzx','getPivotTableConfig','addPivotTable','setLabelSort','FPivotTable','RemovePivotTableMutation','@univerjs-pro/sheets-pivot','165THOfEw','get','unionPivotViewRange','getUnit','AddPivotFieldCommand','extend','executeCommand','FWorkbook','3ecapFv','MovePivotTableCommand','@univerjs/sheets/facade','addField','414400ZTSYZT','unitId','SetPivotSubtotalTypeMutation','generateHexNumber'];_0x5cd6=function(){return _0x49086a;};return _0x5cd6();}const _0x5e8b45=_0x1f41;(function(_0x36eecd,_0x40ba5){const _0x70c121=_0x1f41,_0x30102f=_0x36eecd();while(!![]){try{const _0x3ecae2=parseInt(_0x70c121(0x1a1))/0x1+-parseInt(_0x70c121(0x1a6))/0x2*(parseInt(_0x70c121(0x1b5))/0x3)+-parseInt(_0x70c121(0x1c8))/0x4+parseInt(_0x70c121(0x1c3))/0x5*(parseInt(_0x70c121(0x1c9))/0x6)+parseInt(_0x70c121(0x1b9))/0x7+parseInt(_0x70c121(0x1d1))/0x8*(-parseInt(_0x70c121(0x1bd))/0x9)+parseInt(_0x70c121(0x1a2))/0xa*(parseInt(_0x70c121(0x1ad))/0xb);if(_0x3ecae2===_0x40ba5)break;else _0x30102f['push'](_0x30102f['shift']());}catch(_0x1614f5){_0x30102f['push'](_0x30102f['shift']());}}}(_0x5cd6,0x39e5a));function _0x1f41(_0x48729b,_0x14472c){const _0x5cd66c=_0x5cd6();return _0x1f41=function(_0x1f4183,_0xe7f3c){_0x1f4183=_0x1f4183-0x19d;let _0x528b3a=_0x5cd66c[_0x1f4183];return _0x528b3a;},_0x1f41(_0x48729b,_0x14472c);}var C=Object[_0x5e8b45(0x1cd)],p=(_0x18e003,_0x423a15,_0x22a7ff)=>_0x423a15 in _0x18e003?C(_0x18e003,_0x423a15,{'enumerable':!0x0,'configurable':!0x0,'writable':!0x0,'value':_0x22a7ff}):_0x18e003[_0x423a15]=_0x22a7ff,l=(_0x754a1,_0xa503a9,_0x301a5f)=>p(_0x754a1,typeof _0xa503a9!=_0x5e8b45(0x1c5)?_0xa503a9+'':_0xa503a9,_0x301a5f);Object['defineProperty'](exports,Symbol[_0x5e8b45(0x1c1)],{'value':'Module'});const r=require('@univerjs/core'),b=require(_0x5e8b45(0x1b7)),S=require(_0x5e8b45(0x1d0)),d=require(_0x5e8b45(0x1ac));class I{constructor(_0x1a3fe2,_0x28678e,_0x5949e7,_0x354d90){const _0x3eb364=_0x5e8b45;l(this,'unitId'),l(this,_0x3eb364(0x1bf)),l(this,_0x3eb364(0x1ce)),l(this,_0x3eb364(0x1c4)),(this['unitId']=_0x1a3fe2,this[_0x3eb364(0x1bf)]=_0x28678e,this['pivotTableId']=_0x5949e7,this['_injector']=_0x354d90);}[_0x5e8b45(0x1a4)](){const _0x4caa0b=_0x5e8b45;return this['_injector'][_0x4caa0b(0x1ae)](d[_0x4caa0b(0x1be)])[_0x4caa0b(0x1a7)](this[_0x4caa0b(0x1ba)],this[_0x4caa0b(0x1bf)],this[_0x4caa0b(0x1ce)]);}[_0x5e8b45(0x19d)](){const _0x2d1f9d=_0x5e8b45;var _0x1eeeee;const _0x367f87=(_0x1eeeee=this[_0x2d1f9d(0x1c4)][_0x2d1f9d(0x1ae)](d['SheetsPivotTableConfigModel'])[_0x2d1f9d(0x19d)](this['unitId'],this[_0x2d1f9d(0x1bf)],this['pivotTableId']))==null?void 0x0:_0x1eeeee[_0x2d1f9d(0x1c0)];if(_0x367f87)return d[_0x2d1f9d(0x1af)](_0x367f87);}async[_0x5e8b45(0x19e)](){const _0x480a30=_0x5e8b45;return await this['_injector'][_0x480a30(0x1ae)](r[_0x480a30(0x1d3)])['syncExecuteCommand'](d[_0x480a30(0x1ab)]['id'],{'unitId':this[_0x480a30(0x1ba)],'subUnitId':this[_0x480a30(0x1bf)],'pivotTableId':this[_0x480a30(0x1ce)]});}async[_0x5e8b45(0x1b8)](_0x5c25a8,_0x213efd,_0xc5c56e){const _0x5711ab=_0x5e8b45,_0x37a01c=this[_0x5711ab(0x1c4)],_0x261363=this['unitId'],_0x366103=this[_0x5711ab(0x1bf)],_0x412b16=this['pivotTableId'],_0x2cd281=_0x37a01c[_0x5711ab(0x1ae)](r[_0x5711ab(0x1d3)]),_0x5bc8e9=_0x37a01c[_0x5711ab(0x1ae)](d[_0x5711ab(0x1be)]),_0x4d2fb0=_0x5bc8e9['getPivotTableConfig'](_0x261363,_0x366103,_0x412b16),_0x2c0174=_0x5bc8e9[_0x5711ab(0x1ca)](_0x261363,_0x412b16);if(!_0x4d2fb0||!_0x2c0174)return!0x1;let _0x4bde3a=_0x5c25a8;typeof _0x4bde3a==_0x5711ab(0x1c2)&&(_0x4bde3a=_0x5bc8e9['getCollection'](_0x261363,_0x412b16)['fieldIds'][_0x5c25a8]);const _0x562f21={'unitId':_0x261363,'subUnitId':_0x366103,'pivotTableId':_0x412b16,'dataFieldId':_0x4bde3a,'fieldArea':_0x213efd,'index':_0xc5c56e};return _0x2cd281['executeCommand'](d[_0x5711ab(0x1b1)]['id'],_0x562f21);}async['removeField'](_0x8c1dab){const _0x5c05ce=_0x5e8b45,_0x1003b7=this[_0x5c05ce(0x1c4)],_0xa60901=this[_0x5c05ce(0x1ba)],_0x2d58b2=this['subUnitId'],_0x10ad19=this[_0x5c05ce(0x1ce)],_0x570ba6=_0x1003b7[_0x5c05ce(0x1ae)](r[_0x5c05ce(0x1d3)]),_0x2d40c4={'unitId':_0xa60901,'subUnitId':_0x2d58b2,'pivotTableId':_0x10ad19,'fieldIds':_0x8c1dab};return _0x570ba6[_0x5c05ce(0x1b3)](d[_0x5c05ce(0x1a0)]['id'],_0x2d40c4);}async[_0x5e8b45(0x1c6)](_0x514ddb,_0x3148c4,_0x5bd472){const _0x396e19=_0x5e8b45,_0x137b3e=this[_0x396e19(0x1c4)],_0x56a421=this[_0x396e19(0x1ba)],_0x5b904b=this['subUnitId'],_0x5c6865=this[_0x396e19(0x1ce)],_0x408736=_0x137b3e[_0x396e19(0x1ae)](r['ICommandService']),_0x2ae33e={'unitId':_0x56a421,'subUnitId':_0x5b904b,'pivotTableId':_0x5c6865,'fieldId':_0x514ddb,'area':_0x3148c4,'index':_0x5bd472};return _0x408736[_0x396e19(0x1b3)](d[_0x396e19(0x1a5)]['id'],_0x2ae33e);}async['updateValuePosition'](_0x5501d8,_0x4fc7d9){const _0x224d84=_0x5e8b45,_0x4a14d2=this[_0x224d84(0x1c4)],_0x1a6815=this[_0x224d84(0x1ba)],_0x9c6fcf=this['subUnitId'],_0x59b886=this[_0x224d84(0x1ce)],_0x46a93f=_0x4a14d2['get'](r['ICommandService']),_0x51332b={'unitId':_0x1a6815,'subUnitId':_0x9c6fcf,'pivotTableId':_0x59b886,'position':_0x5501d8,'index':_0x4fc7d9};return _0x46a93f['executeCommand'](d['UpdatePivotValuePositionCommand']['id'],_0x51332b);}async['setSubtotalType'](_0x3698dd,_0x343104){const _0x1def41=_0x5e8b45,_0x1202c7=this[_0x1def41(0x1c4)],_0x2547d1=this[_0x1def41(0x1ba)],_0x2b6f49=this[_0x1def41(0x1bf)],_0x43dbac=this[_0x1def41(0x1ce)],_0x1a2cfa=_0x1202c7['get'](r['ICommandService']),_0x5a31df={'unitId':_0x2547d1,'subUnitId':_0x2b6f49,'pivotTableId':_0x43dbac,'fieldId':_0x3698dd,'subtotalType':_0x343104};return _0x1a2cfa[_0x1def41(0x1b3)](d[_0x1def41(0x1bb)]['id'],_0x5a31df);}async[_0x5e8b45(0x1a9)](_0x55368c,_0x25f2fa){const _0x50bffb=_0x5e8b45,_0x50ea05=this[_0x50bffb(0x1c4)],_0x515da2=this[_0x50bffb(0x1ba)],_0x3ed658=this[_0x50bffb(0x1bf)],_0x1ddfa3=this[_0x50bffb(0x1ce)],_0xc8b656=_0x50ea05[_0x50bffb(0x1ae)](r['ICommandService']),_0x669dd2={'unitId':_0x515da2,'subUnitId':_0x3ed658,'tableFieldId':_0x55368c,'pivotTableId':_0x1ddfa3,'info':_0x25f2fa};return _0xc8b656[_0x50bffb(0x1b3)](d[_0x50bffb(0x1c7)]['id'],_0x669dd2);}async['setLabelManualFilter'](_0x4fe649,_0x38650c,_0x49fecc){const _0x40b454=_0x5e8b45,_0x930050=this[_0x40b454(0x1c4)],_0x40d7fb=this[_0x40b454(0x1ba)],_0x185f4c=this[_0x40b454(0x1bf)],_0x3f6e99=this[_0x40b454(0x1ce)],_0x19c24d=_0x930050['get'](r['ICommandService']),_0x53a7f1={'unitId':_0x40d7fb,'subUnitId':_0x185f4c,'pivotTableId':_0x3f6e99,'tableFieldId':_0x4fe649,'items':_0x38650c,'isAll':_0x49fecc};return _0x19c24d[_0x40b454(0x1b3)](d['SetPivotFilterCommand']['id'],_0x53a7f1);}async['renameField'](_0x304352,_0x5bbd25){const _0x5aeeb2=_0x5e8b45,_0x5ca8e0=this[_0x5aeeb2(0x1c4)],_0x2acd53=this[_0x5aeeb2(0x1ba)],_0x19a0e8=this[_0x5aeeb2(0x1bf)],_0x4ac909=this[_0x5aeeb2(0x1ce)],_0x44d16a=_0x5ca8e0['get'](r[_0x5aeeb2(0x1d3)]),_0x26a394={'unitId':_0x2acd53,'subUnitId':_0x19a0e8,'pivotTableId':_0x4ac909,'fieldId':_0x304352,'name':_0x5bbd25};return _0x44d16a['executeCommand'](d['RenamePivotFieldMutation']['id'],_0x26a394);}async[_0x5e8b45(0x1cb)](_0x467635,_0x1c0f6c,_0x135cc4){const _0x3c4b5a=_0x5e8b45,_0x4e73ab=this['_injector'][_0x3c4b5a(0x1ae)](r[_0x3c4b5a(0x1d3)]),_0x1a21af=this['_injector'][_0x3c4b5a(0x1ae)](r[_0x3c4b5a(0x1cf)])[_0x3c4b5a(0x1b0)](this['unitId']),_0x4154bc=_0x1a21af==null?void 0x0:_0x1a21af[_0x3c4b5a(0x1cc)](_0x467635);if(!_0x1a21af||!_0x4154bc)throw new Error(_0x3c4b5a(0x19f));return _0x4e73ab[_0x3c4b5a(0x1b3)](d[_0x3c4b5a(0x1b6)]['id'],{'pivotTableId':this[_0x3c4b5a(0x1ce)],'targetCellInfo':{'subUnitId':_0x4154bc[_0x3c4b5a(0x1d4)](),'unitId':this['unitId'],'row':_0x1c0f6c,'col':_0x135cc4},'originTargetInfo':{'subUnitId':this[_0x3c4b5a(0x1bf)],'unitId':this[_0x3c4b5a(0x1ba)]}});}}class P extends b[_0x5e8b45(0x1b4)]{async[_0x5e8b45(0x1a8)](_0x1d97d4,_0x12ffde,_0x1ac80c){const _0x48f2b5=_0x5e8b45,_0x246640=this[_0x48f2b5(0x1c4)],_0x353587=_0x246640[_0x48f2b5(0x1ae)](r[_0x48f2b5(0x1d3)]),_0x1cefe8=S[_0x48f2b5(0x1bc)](0x8),_0x26a4ac={'positionType':_0x12ffde,'pivotTableId':_0x1cefe8,'pivotTableConfig':{'targetCellInfo':_0x1ac80c,'sourceRangeInfo':_0x1d97d4,'isEmpty':!0x0}};if(await _0x353587[_0x48f2b5(0x1b3)](d[_0x48f2b5(0x1a3)]['id'],_0x26a4ac))return new I(_0x1ac80c[_0x48f2b5(0x1ba)],_0x1ac80c[_0x48f2b5(0x1bf)],_0x1cefe8,_0x246640);}['getPivotTableByCell'](_0x38d178,_0x577535,_0x5f11c5,_0x16b8b4){const _0x2bf518=_0x5e8b45,_0x450edd=this[_0x2bf518(0x1c4)],_0x29f6e7=_0x450edd['get'](d[_0x2bf518(0x1d2)])['getPivotTableIdByCell'](_0x38d178,_0x577535,_0x5f11c5,_0x16b8b4);if(_0x29f6e7)return new I(_0x38d178,_0x577535,_0x29f6e7,_0x450edd);}}b[_0x5e8b45(0x1b4)][_0x5e8b45(0x1b2)](P),exports[_0x5e8b45(0x1aa)]=I;