@univerjs-pro/sheets-pivot 0.5.3 → 0.5.4-experimental.20250114-7c09c35
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/lib/cjs/facade.js +1 -1
- package/lib/cjs/index.js +1 -1
- package/lib/cjs/locale/en-US.js +1 -1
- package/lib/cjs/locale/fa-IR.js +1 -1
- package/lib/cjs/locale/fr-FR.js +1 -1
- package/lib/cjs/locale/ru-RU.js +1 -1
- package/lib/cjs/locale/vi-VN.js +1 -1
- package/lib/cjs/locale/zh-CN.js +1 -1
- package/lib/cjs/locale/zh-TW.js +1 -1
- package/lib/es/facade.js +1 -1
- package/lib/es/index.js +1 -1
- package/lib/es/locale/en-US.js +1 -1
- package/lib/es/locale/fa-IR.js +1 -1
- package/lib/es/locale/fr-FR.js +1 -1
- package/lib/es/locale/ru-RU.js +1 -1
- package/lib/es/locale/vi-VN.js +1 -1
- package/lib/es/locale/zh-CN.js +1 -1
- package/lib/es/locale/zh-TW.js +1 -1
- package/lib/types/commands/command/add-pivot-field.command.d.ts +18 -0
- package/lib/types/commands/command/move-pivot-field.command.d.ts +19 -1
- package/lib/types/commands/command/remove-pivot-field.command.d.ts +12 -0
- package/lib/types/commands/command/set-pivot-collapse.command.d.ts +15 -0
- package/lib/types/commands/command/set-pivot-filter.command.d.ts +18 -0
- package/lib/types/commands/command/set-pivot-sort.command.d.ts +17 -2
- package/lib/types/commands/command/update-pivot-setting.command.d.ts +28 -1
- package/lib/types/commands/command/update-value-position.command.d.ts +10 -1
- package/lib/types/common/const.d.ts +42 -42
- package/lib/types/const/const.d.ts +10 -1
- package/lib/types/const/type.d.ts +213 -2
- package/lib/types/controllers/const.d.ts +1 -1
- package/lib/types/facade/f-enum.d.ts +50 -0
- package/lib/types/facade/f-event.d.ts +276 -0
- package/lib/types/facade/f-pivot-table.d.ts +205 -4
- package/lib/types/facade/f-univer.d.ts +18 -0
- package/lib/types/facade/f-workbook.d.ts +45 -14
- package/lib/types/facade/index.d.ts +5 -1
- package/lib/types/index.d.ts +3 -1
- package/lib/types/models/sheets-pivot-config-model.d.ts +2 -1
- package/lib/types/models/sheets-pivot-table-adaptor-model.d.ts +2 -9
- package/lib/umd/facade.js +1 -1
- package/lib/umd/index.js +1 -1
- package/lib/umd/locale/en-US.js +1 -1
- package/lib/umd/locale/fa-IR.js +1 -1
- package/lib/umd/locale/fr-FR.js +1 -1
- package/lib/umd/locale/ru-RU.js +1 -1
- package/lib/umd/locale/vi-VN.js +1 -1
- package/lib/umd/locale/zh-CN.js +1 -1
- package/lib/umd/locale/zh-TW.js +1 -1
- package/package.json +11 -11
package/lib/cjs/facade.js
CHANGED
|
@@ -1 +1 @@
|
|
|
1
|
-
'use strict';function _0x3139(){const _0x44163c=['pivotTableId','updateFieldPosition','symbol','RemovePivotFieldCommand','@univerjs-pro/sheets-pivot','getPivotTableRangeInfo','get','remove','move','extend','ICommandService','number','SetPivotSubtotalTypeMutation','10nfkKrQ','MovePivotTableCommand','subUnitId','setSubtotalType','15219999QernWC','29887416QDoQei','144dJWFfM','2939122lqCzMB','@univerjs/core','syncExecuteCommand','setLabelSort','getPivotTableIdByCell','defineProperty','[Pivot\x20Table]:\x20Target\x20sheet\x20is\x20not\x20valid','updateValuePosition','generateHexNumber','119788bygSFO','RenamePivotFieldMutation','rangeInfo','SetPivotSortCommand','getConfig','12234929AEshtt','getPivotTableConfig','unitId','fieldIds','5WCXZfo','Module','5591502FcHFBz','15853035MJUcAG','addPivotTable','setLabelManualFilter','8PzvAdQ','FWorkbook','MovePivotFieldCommand','SheetsPivotTableConfigModel','executeCommand','AddPivotTableCommand','_injector','@univerjs-pro/engine-pivot','getUnit','1rgSISi','toStringTag'];_0x3139=function(){return _0x44163c;};return _0x3139();}const _0x522aec=_0x8163;function _0x8163(_0x1cd7a2,_0x16533d){const _0x3139dd=_0x3139();return _0x8163=function(_0x81632,_0x5e6d80){_0x81632=_0x81632-0x1b4;let _0x51c459=_0x3139dd[_0x81632];return _0x51c459;},_0x8163(_0x1cd7a2,_0x16533d);}(function(_0x4399ee,_0x52ee5e){const _0x430b02=_0x8163,_0x33f3fa=_0x4399ee();while(!![]){try{const _0x2b5e59=-parseInt(_0x430b02(0x1dd))/0x1*(-parseInt(_0x430b02(0x1bc))/0x2)+-parseInt(_0x430b02(0x1bb))/0x3*(-parseInt(_0x430b02(0x1c5))/0x4)+-parseInt(_0x430b02(0x1ce))/0x5*(parseInt(_0x430b02(0x1d0))/0x6)+parseInt(_0x430b02(0x1ca))/0x7*(parseInt(_0x430b02(0x1d4))/0x8)+-parseInt(_0x430b02(0x1b9))/0x9*(parseInt(_0x430b02(0x1b5))/0xa)+parseInt(_0x430b02(0x1d1))/0xb+-parseInt(_0x430b02(0x1ba))/0xc;if(_0x2b5e59===_0x52ee5e)break;else _0x33f3fa['push'](_0x33f3fa['shift']());}catch(_0x23e973){_0x33f3fa['push'](_0x33f3fa['shift']());}}}(_0x3139,0xefd83));var C=Object[_0x522aec(0x1c1)],p=(_0x503987,_0x683d44,_0x52747d)=>_0x683d44 in _0x503987?C(_0x503987,_0x683d44,{'enumerable':!0x0,'configurable':!0x0,'writable':!0x0,'value':_0x52747d}):_0x503987[_0x683d44]=_0x52747d,l=(_0x290e30,_0x455d77,_0x129984)=>p(_0x290e30,typeof _0x455d77!=_0x522aec(0x1e1)?_0x455d77+'':_0x455d77,_0x129984);Object[_0x522aec(0x1c1)](exports,Symbol[_0x522aec(0x1de)],{'value':_0x522aec(0x1cf)});const r=require(_0x522aec(0x1bd)),b=require('@univerjs/sheets/facade'),S=require(_0x522aec(0x1db)),d=require(_0x522aec(0x1e3));class I{constructor(_0x55c4b5,_0x10e8ab,_0x20db25,_0x5ef477){const _0x493c72=_0x522aec;l(this,'unitId'),l(this,_0x493c72(0x1b7)),l(this,_0x493c72(0x1df)),l(this,_0x493c72(0x1da)),(this[_0x493c72(0x1cc)]=_0x55c4b5,this[_0x493c72(0x1b7)]=_0x10e8ab,this[_0x493c72(0x1df)]=_0x20db25,this['_injector']=_0x5ef477);}[_0x522aec(0x1c9)](){const _0x2e8a97=_0x522aec;return this[_0x2e8a97(0x1da)][_0x2e8a97(0x1e5)](d[_0x2e8a97(0x1d7)])[_0x2e8a97(0x1cb)](this[_0x2e8a97(0x1cc)],this[_0x2e8a97(0x1b7)],this['pivotTableId']);}[_0x522aec(0x1e4)](){const _0x555452=_0x522aec;var _0x361894;const _0x58c79b=(_0x361894=this[_0x555452(0x1da)][_0x555452(0x1e5)](d[_0x555452(0x1d7)])['getPivotTableRangeInfo'](this[_0x555452(0x1cc)],this[_0x555452(0x1b7)],this[_0x555452(0x1df)]))==null?void 0x0:_0x361894[_0x555452(0x1c7)];if(_0x58c79b)return d['unionPivotViewRange'](_0x58c79b);}async[_0x522aec(0x1e6)](){const _0x4dd342=_0x522aec;return await this['_injector'][_0x4dd342(0x1e5)](r[_0x4dd342(0x1e9)])[_0x4dd342(0x1be)](d['RemovePivotTableMutation']['id'],{'unitId':this[_0x4dd342(0x1cc)],'subUnitId':this[_0x4dd342(0x1b7)],'pivotTableId':this[_0x4dd342(0x1df)]});}async['addField'](_0x2119b9,_0x5b7da9,_0x152388){const _0x4afa32=_0x522aec,_0x293375=this['_injector'],_0x13c29b=this['unitId'],_0xcd41e4=this[_0x4afa32(0x1b7)],_0x198811=this[_0x4afa32(0x1df)],_0x322d40=_0x293375['get'](r[_0x4afa32(0x1e9)]),_0x3ffd70=_0x293375['get'](d[_0x4afa32(0x1d7)]),_0x2e6713=_0x3ffd70[_0x4afa32(0x1cb)](_0x13c29b,_0xcd41e4,_0x198811),_0x487152=_0x3ffd70['getCollection'](_0x13c29b,_0x198811);if(!_0x2e6713||!_0x487152)return!0x1;let _0x4672ae=_0x2119b9;typeof _0x4672ae==_0x4afa32(0x1ea)&&(_0x4672ae=_0x3ffd70['getCollection'](_0x13c29b,_0x198811)[_0x4afa32(0x1cd)][_0x2119b9]);const _0x589b87={'unitId':_0x13c29b,'subUnitId':_0xcd41e4,'pivotTableId':_0x198811,'dataFieldId':_0x4672ae,'fieldArea':_0x5b7da9,'index':_0x152388};return _0x322d40[_0x4afa32(0x1d8)](d['AddPivotFieldCommand']['id'],_0x589b87);}async['removeField'](_0x39ac10){const _0x2ed494=_0x522aec,_0x11a5cd=this[_0x2ed494(0x1da)],_0x363556=this[_0x2ed494(0x1cc)],_0x42884b=this['subUnitId'],_0x4c0b67=this[_0x2ed494(0x1df)],_0x518797=_0x11a5cd[_0x2ed494(0x1e5)](r[_0x2ed494(0x1e9)]),_0x538eac={'unitId':_0x363556,'subUnitId':_0x42884b,'pivotTableId':_0x4c0b67,'fieldIds':_0x39ac10};return _0x518797['executeCommand'](d[_0x2ed494(0x1e2)]['id'],_0x538eac);}async[_0x522aec(0x1e0)](_0x3e4bf4,_0x3ad863,_0x367a33){const _0x26368e=_0x522aec,_0x10c3fd=this[_0x26368e(0x1da)],_0x3b22fa=this['unitId'],_0x41665c=this[_0x26368e(0x1b7)],_0xa99b6d=this[_0x26368e(0x1df)],_0x19eecf=_0x10c3fd[_0x26368e(0x1e5)](r['ICommandService']),_0x180f54={'unitId':_0x3b22fa,'subUnitId':_0x41665c,'pivotTableId':_0xa99b6d,'fieldId':_0x3e4bf4,'area':_0x3ad863,'index':_0x367a33};return _0x19eecf[_0x26368e(0x1d8)](d[_0x26368e(0x1d6)]['id'],_0x180f54);}async[_0x522aec(0x1c3)](_0x216363,_0xad4cd3){const _0x59d1cf=_0x522aec,_0x522f84=this['_injector'],_0x18e22f=this['unitId'],_0x54da88=this['subUnitId'],_0x288e2e=this[_0x59d1cf(0x1df)],_0x36c460=_0x522f84[_0x59d1cf(0x1e5)](r[_0x59d1cf(0x1e9)]),_0x5c15a4={'unitId':_0x18e22f,'subUnitId':_0x54da88,'pivotTableId':_0x288e2e,'position':_0x216363,'index':_0xad4cd3};return _0x36c460[_0x59d1cf(0x1d8)](d['UpdatePivotValuePositionCommand']['id'],_0x5c15a4);}async[_0x522aec(0x1b8)](_0x1aa35d,_0x8d0282){const _0x301d96=_0x522aec,_0x2c17d7=this[_0x301d96(0x1da)],_0x5a0753=this[_0x301d96(0x1cc)],_0x4cfe84=this[_0x301d96(0x1b7)],_0x4fe861=this[_0x301d96(0x1df)],_0x5ea6da=_0x2c17d7['get'](r[_0x301d96(0x1e9)]),_0x1b8e96={'unitId':_0x5a0753,'subUnitId':_0x4cfe84,'pivotTableId':_0x4fe861,'fieldId':_0x1aa35d,'subtotalType':_0x8d0282};return _0x5ea6da[_0x301d96(0x1d8)](d[_0x301d96(0x1b4)]['id'],_0x1b8e96);}async[_0x522aec(0x1bf)](_0x4ecdf4,_0x596e7e){const _0x4ca536=_0x522aec,_0x4e1bea=this[_0x4ca536(0x1da)],_0x2ac2a1=this[_0x4ca536(0x1cc)],_0x38dd8c=this[_0x4ca536(0x1b7)],_0x48a197=this['pivotTableId'],_0x4e09ba=_0x4e1bea[_0x4ca536(0x1e5)](r[_0x4ca536(0x1e9)]),_0x445916={'unitId':_0x2ac2a1,'subUnitId':_0x38dd8c,'tableFieldId':_0x4ecdf4,'pivotTableId':_0x48a197,'info':_0x596e7e};return _0x4e09ba['executeCommand'](d[_0x4ca536(0x1c8)]['id'],_0x445916);}async[_0x522aec(0x1d3)](_0x217a1f,_0x1ab52c,_0x123bc3){const _0x552c76=_0x522aec,_0x4e19b6=this[_0x552c76(0x1da)],_0x458c74=this['unitId'],_0x1e0326=this['subUnitId'],_0x15ea6f=this['pivotTableId'],_0x485fb5=_0x4e19b6[_0x552c76(0x1e5)](r[_0x552c76(0x1e9)]),_0x1e46e7={'unitId':_0x458c74,'subUnitId':_0x1e0326,'pivotTableId':_0x15ea6f,'tableFieldId':_0x217a1f,'items':_0x1ab52c,'isAll':_0x123bc3};return _0x485fb5[_0x552c76(0x1d8)](d['SetPivotFilterCommand']['id'],_0x1e46e7);}async['renameField'](_0x50b93a,_0x10e879){const _0x54a022=_0x522aec,_0x5ad6c1=this['_injector'],_0x4fc74f=this[_0x54a022(0x1cc)],_0x4d1b2a=this[_0x54a022(0x1b7)],_0x152081=this[_0x54a022(0x1df)],_0x2ff30f=_0x5ad6c1[_0x54a022(0x1e5)](r['ICommandService']),_0x25f3bc={'unitId':_0x4fc74f,'subUnitId':_0x4d1b2a,'pivotTableId':_0x152081,'fieldId':_0x50b93a,'name':_0x10e879};return _0x2ff30f[_0x54a022(0x1d8)](d[_0x54a022(0x1c6)]['id'],_0x25f3bc);}async[_0x522aec(0x1e7)](_0x1f6b47,_0x325980,_0x2781fc){const _0x5dd550=_0x522aec,_0xbe5188=this[_0x5dd550(0x1da)][_0x5dd550(0x1e5)](r[_0x5dd550(0x1e9)]),_0x2383a4=this[_0x5dd550(0x1da)][_0x5dd550(0x1e5)](r['IUniverInstanceService'])[_0x5dd550(0x1dc)](this[_0x5dd550(0x1cc)]),_0x495edc=_0x2383a4==null?void 0x0:_0x2383a4['getSheetBySheetName'](_0x1f6b47);if(!_0x2383a4||!_0x495edc)throw new Error(_0x5dd550(0x1c2));return _0xbe5188[_0x5dd550(0x1d8)](d[_0x5dd550(0x1b6)]['id'],{'pivotTableId':this[_0x5dd550(0x1df)],'targetCellInfo':{'subUnitId':_0x495edc['getSheetId'](),'unitId':this[_0x5dd550(0x1cc)],'row':_0x325980,'col':_0x2781fc},'originTargetInfo':{'subUnitId':this[_0x5dd550(0x1b7)],'unitId':this[_0x5dd550(0x1cc)]}});}}class P extends b[_0x522aec(0x1d5)]{async[_0x522aec(0x1d2)](_0x79f922,_0x48920d,_0x4b39ed){const _0x4c24dc=_0x522aec,_0x17906d=this['_injector'],_0x228cdc=_0x17906d[_0x4c24dc(0x1e5)](r[_0x4c24dc(0x1e9)]),_0x20656b=S[_0x4c24dc(0x1c4)](0x8),_0x4f8314={'positionType':_0x48920d,'pivotTableId':_0x20656b,'pivotTableConfig':{'targetCellInfo':_0x4b39ed,'sourceRangeInfo':_0x79f922,'isEmpty':!0x0}};if(await _0x228cdc[_0x4c24dc(0x1d8)](d[_0x4c24dc(0x1d9)]['id'],_0x4f8314))return new I(_0x4b39ed[_0x4c24dc(0x1cc)],_0x4b39ed[_0x4c24dc(0x1b7)],_0x20656b,_0x17906d);}['getPivotTableByCell'](_0x4cd25d,_0x21c024,_0x14cd60,_0x472225){const _0x1ae4eb=_0x522aec,_0x37f0a8=this[_0x1ae4eb(0x1da)],_0x38df9a=_0x37f0a8[_0x1ae4eb(0x1e5)](d['SheetsPivotTableAdaptorModel'])[_0x1ae4eb(0x1c0)](_0x4cd25d,_0x21c024,_0x14cd60,_0x472225);if(_0x38df9a)return new I(_0x4cd25d,_0x21c024,_0x38df9a,_0x37f0a8);}}b['FWorkbook'][_0x522aec(0x1e8)](P),exports['FPivotTable']=I;
|
|
1
|
+
'use strict';function _0x1c48(_0x361db5,_0x5dfce8){const _0x4c487d=_0x4c48();return _0x1c48=function(_0x1c48ac,_0x14f907){_0x1c48ac=_0x1c48ac-0x157;let _0x26296c=_0x4c487d[_0x1c48ac];return _0x26296c;},_0x1c48(_0x361db5,_0x5dfce8);}function _0x4c48(){const _0x580ede=['cancel','remove','renameField','_firePivotTableFieldSortChangedEvent','PivotFilterTypeEnum','SetPivotCollapseCommand','pivotTableId','FUniver','hasEventCallback','PivotTableAdded','concat','_firePivotTableFieldFilterChangedEvent','546821kNjwfa','getPivotTableId','105591nHyPTj','getConfig','AddPivotTableWithConfigCommand','startRow','PivotFilterOperatorEnum','PivotTableChangeTypeEnum','rowFields','getSheetId','PivotTableFieldAdded','LifecycleService','4KxTyiZ','_fireAddPivotTableEvent','getTargetByPivotTableId','Column','162763MGYdWl','RemovePivotTableMutation','PivotTableFieldSortChanged','_injector','BeforePivotTableAdd','_fireBeforeAddPivotTableEvent','Row','32GxvkPO','Before\x20move\x20pivot\x20table\x20event\x20canceled','_fireMovedPivotTableEvent','rangeInfo','addPivotTable','AddPivotTableCommand','PivotTableFieldRemoved','MovePivotFieldCommand','1650SQClrz','setLabelManualFilter','syncExecuteCommand','measure','1624405WbSZSM','FEventName','fireEvent','endRow','getUnit','getPivotTableRangeInfo','RemovePivotFieldCommand','Filter','updateValuePosition','LifecycleStages','_firePivotTableFieldSettingChangedEvent','60kQqnLT','setLabelSort','PivotTableFiledAreaEnum','_initialize','getFieldIdsByArea','UpdatePivotValuePositionCommand','IUniverInstanceService','SheetsPivotTableAdaptorModel','990PosKSI','disposeWithMe','executeCommand','_firePivotTableFieldRemovedEvent','generateHexNumber','defineProperty','PositionTypeEnum','fieldsConfig','number','params','setSubtotalType','_fireRenderPivotTableEvent','FWorkbook','_firePivotTableFieldCollapsedEvent','Ready','getPivotTableConfig','PivotDataFieldDataTypeEnum','extend','SheetsPivotTableConfigModel','PivotTableRemoved','unitId','PivotTableMoved','row','endColumn','symbol','PivotTableFieldSettingChanged','subUnitId','_firePivotTableRemovedEvent','ST_PivotFilterOperatorEnum','14oIRUcK','get','@univerjs-pro/sheets-pivot','col','PivotSubtotalTypeEnum','PivotDataFieldSortTypeEnum','valueFields','MovePivotTableCommand','removeField','PivotDataFieldSortOperatorEnum','startColumn','PivotTableFieldCollapseChanged','beforeCommandExecuted','Event','getCollection','getSheetBySheetName','PivotTableValuePositionChanged','PivotTableFieldMoved','PivotTableFieldFilterChanged','getFieldSetting','viewUpdate$','_firePivotTableFieldAddedEvent','hiddenFields','subscribe','range','onCommandExecuted','Before\x20add\x20pivot\x20table\x20event\x20canceled','5363944IWSMlL','PivotTableRendered','SetPivotFilterCommand','SetPivotSubtotalTypeMutation','BeforePivotTableMove','2225832vnaaRD','move','targetCellInfo','_firePivotTableFieldMovedEvent','getId','@univerjs/core','getPivotTableByCell','addField','Value','ICommandService','sheetName','getPivotTableIdByCell','AddPivotFieldCommand','_fireBeforeMovePivotTableEvent','Hidden','unionPivotViewRange','FEnum'];_0x4c48=function(){return _0x580ede;};return _0x4c48();}const _0x55ee1f=_0x1c48;(function(_0x43c8cb,_0xded518){const _0xf494fd=_0x1c48,_0x3373a5=_0x43c8cb();while(!![]){try{const _0x43ad43=-parseInt(_0xf494fd(0x195))/0x1+parseInt(_0xf494fd(0x19c))/0x2*(parseInt(_0xf494fd(0x187))/0x3)+parseInt(_0xf494fd(0x191))/0x4*(parseInt(_0xf494fd(0x1a8))/0x5)+-parseInt(_0xf494fd(0x168))/0x6*(parseInt(_0xf494fd(0x1d8))/0x7)+parseInt(_0xf494fd(0x163))/0x8+parseInt(_0xf494fd(0x1bb))/0x9*(-parseInt(_0xf494fd(0x1a4))/0xa)+parseInt(_0xf494fd(0x185))/0xb*(-parseInt(_0xf494fd(0x1b3))/0xc);if(_0x43ad43===_0xded518)break;else _0x3373a5['push'](_0x3373a5['shift']());}catch(_0x275a04){_0x3373a5['push'](_0x3373a5['shift']());}}}(_0x4c48,0x5e82a));var C=Object[_0x55ee1f(0x1c0)],f=(_0x57e3cf,_0x397250,_0x4fe59b)=>_0x397250 in _0x57e3cf?C(_0x57e3cf,_0x397250,{'enumerable':!0x0,'configurable':!0x0,'writable':!0x0,'value':_0x4fe59b}):_0x57e3cf[_0x397250]=_0x4fe59b,u=(_0x126906,_0x48f040,_0x3bf9c1)=>f(_0x126906,typeof _0x48f040!=_0x55ee1f(0x1d3)?_0x48f040+'':_0x48f040,_0x3bf9c1);const v=require('@univerjs-pro/engine-pivot'),d=require(_0x55ee1f(0x1da)),r=require(_0x55ee1f(0x16d)),I=require('@univerjs/sheets/facade');class m{constructor(_0x173174,_0x19f234,_0x4d4b9e,_0x37a6ff){const _0x27e047=_0x55ee1f;u(this,_0x27e047(0x1cf)),u(this,_0x27e047(0x1d5)),u(this,_0x27e047(0x17f)),u(this,_0x27e047(0x198)),(this[_0x27e047(0x1cf)]=_0x173174,this[_0x27e047(0x1d5)]=_0x19f234,this['pivotTableId']=_0x4d4b9e,this[_0x27e047(0x198)]=_0x37a6ff);}[_0x55ee1f(0x188)](){const _0x2b7578=_0x55ee1f;return this[_0x2b7578(0x198)]['get'](d[_0x2b7578(0x1cd)])[_0x2b7578(0x1ca)](this['unitId'],this[_0x2b7578(0x1d5)],this[_0x2b7578(0x17f)]);}[_0x55ee1f(0x186)](){return this['pivotTableId'];}[_0x55ee1f(0x15b)](_0x2bb9d5){const _0x5beb70=_0x55ee1f,_0x5c578c=this[_0x5beb70(0x198)][_0x5beb70(0x1d9)](d[_0x5beb70(0x1cd)])[_0x5beb70(0x1ca)](this[_0x5beb70(0x1cf)],this[_0x5beb70(0x1d5)],this[_0x5beb70(0x17f)]),_0x31601b=_0x5c578c==null?void 0x0:_0x5c578c[_0x5beb70(0x1c2)];if(_0x31601b)return _0x31601b['dimension'][_0x2bb9d5]||_0x31601b[_0x5beb70(0x1a7)][_0x2bb9d5];}[_0x55ee1f(0x1b7)](_0x1180d4){const _0x7e5366=_0x55ee1f,_0x4d9741=this[_0x7e5366(0x198)][_0x7e5366(0x1d9)](d['SheetsPivotTableConfigModel'])[_0x7e5366(0x1ca)](this[_0x7e5366(0x1cf)],this[_0x7e5366(0x1d5)],this[_0x7e5366(0x17f)]),_0x1d266f=_0x4d9741==null?void 0x0:_0x4d9741[_0x7e5366(0x1c2)];if(_0x1d266f)switch(_0x1180d4){case v[_0x7e5366(0x1b5)][_0x7e5366(0x194)]:return _0x1d266f['columnFields'][_0x7e5366(0x183)]();case v[_0x7e5366(0x1b5)][_0x7e5366(0x19b)]:return _0x1d266f[_0x7e5366(0x18d)][_0x7e5366(0x183)]();case v['PivotTableFiledAreaEnum'][_0x7e5366(0x170)]:return _0x1d266f[_0x7e5366(0x1de)]['concat']();case v[_0x7e5366(0x1b5)][_0x7e5366(0x1af)]:return _0x1d266f['filterFields'][_0x7e5366(0x183)]();case v[_0x7e5366(0x1b5)][_0x7e5366(0x176)]:return _0x1d266f[_0x7e5366(0x15e)][_0x7e5366(0x183)]();}return[];}[_0x55ee1f(0x1ad)](){const _0xabfc5d=_0x55ee1f;var _0x20ed08;const _0x9572f3=(_0x20ed08=this[_0xabfc5d(0x198)]['get'](d[_0xabfc5d(0x1cd)])['getPivotTableRangeInfo'](this[_0xabfc5d(0x1cf)],this[_0xabfc5d(0x1d5)],this[_0xabfc5d(0x17f)]))==null?void 0x0:_0x20ed08[_0xabfc5d(0x19f)];if(_0x9572f3)return d[_0xabfc5d(0x177)](_0x9572f3);}async[_0x55ee1f(0x17a)](){const _0x5592ef=_0x55ee1f;return await this[_0x5592ef(0x198)]['get'](r[_0x5592ef(0x171)])[_0x5592ef(0x1a6)](d[_0x5592ef(0x196)]['id'],{'unitId':this['unitId'],'subUnitId':this[_0x5592ef(0x1d5)],'pivotTableId':this[_0x5592ef(0x17f)]});}async[_0x55ee1f(0x16f)](_0x42ac8f,_0x2c5f6c,_0x39b64a){const _0x1db993=_0x55ee1f,_0x155788=this['_injector'],_0x527fcc=this[_0x1db993(0x1cf)],_0x38cdcc=this['subUnitId'],_0x386f79=this[_0x1db993(0x17f)],_0xe04c1c=_0x155788['get'](r['ICommandService']),_0x3f4511=_0x155788['get'](d[_0x1db993(0x1cd)]),_0x17bf08=_0x3f4511[_0x1db993(0x1ca)](_0x527fcc,_0x38cdcc,_0x386f79),_0x50daa1=_0x3f4511['getCollection'](_0x527fcc,_0x386f79);if(!_0x17bf08||!_0x50daa1)return!0x1;let _0x374828=_0x42ac8f;typeof _0x374828==_0x1db993(0x1c3)&&(_0x374828=_0x3f4511[_0x1db993(0x1e6)](_0x527fcc,_0x386f79)['fieldIds'][_0x42ac8f]);const _0x348277={'unitId':_0x527fcc,'subUnitId':_0x38cdcc,'pivotTableId':_0x386f79,'dataFieldId':_0x374828,'fieldArea':_0x2c5f6c,'index':_0x39b64a};return _0xe04c1c[_0x1db993(0x1bd)](d[_0x1db993(0x174)]['id'],_0x348277);}async[_0x55ee1f(0x1e0)](_0x21ce59){const _0x44eabb=_0x55ee1f,_0x1c8b00=this[_0x44eabb(0x198)],_0x420c20=this['unitId'],_0x382f6d=this[_0x44eabb(0x1d5)],_0x50fb2b=this[_0x44eabb(0x17f)],_0x25948d=_0x1c8b00[_0x44eabb(0x1d9)](r['ICommandService']),_0x3cc64d={'unitId':_0x420c20,'subUnitId':_0x382f6d,'pivotTableId':_0x50fb2b,'fieldIds':_0x21ce59};return _0x25948d[_0x44eabb(0x1bd)](d[_0x44eabb(0x1ae)]['id'],_0x3cc64d);}async['updateFieldPosition'](_0x516c73,_0x5bf772,_0x5e5adb){const _0x312513=_0x55ee1f,_0x2d8f46=this[_0x312513(0x198)],_0x457979=this[_0x312513(0x1cf)],_0x18ea11=this[_0x312513(0x1d5)],_0x3154ff=this[_0x312513(0x17f)],_0x46f398=_0x2d8f46['get'](r[_0x312513(0x171)]),_0x2f288b={'unitId':_0x457979,'subUnitId':_0x18ea11,'pivotTableId':_0x3154ff,'fieldId':_0x516c73,'area':_0x5bf772,'index':_0x5e5adb};return _0x46f398[_0x312513(0x1bd)](d[_0x312513(0x1a3)]['id'],_0x2f288b);}async[_0x55ee1f(0x1b0)](_0x48b02d,_0xb8ebae){const _0xd0ce1b=_0x55ee1f,_0x16852c=this[_0xd0ce1b(0x198)],_0x3b82b0=this[_0xd0ce1b(0x1cf)],_0x56788b=this['subUnitId'],_0x2162c9=this[_0xd0ce1b(0x17f)],_0x461851=_0x16852c[_0xd0ce1b(0x1d9)](r[_0xd0ce1b(0x171)]),_0x4b81bc={'unitId':_0x3b82b0,'subUnitId':_0x56788b,'pivotTableId':_0x2162c9,'position':_0x48b02d,'index':_0xb8ebae};return _0x461851['executeCommand'](d[_0xd0ce1b(0x1b8)]['id'],_0x4b81bc);}async[_0x55ee1f(0x1c5)](_0x5592ba,_0x1ecb93){const _0x1819f9=_0x55ee1f,_0x57d8dd=this[_0x1819f9(0x198)],_0x2e2e8f=this[_0x1819f9(0x1cf)],_0x526a2f=this['subUnitId'],_0x3933f8=this[_0x1819f9(0x17f)],_0x2580ba=_0x57d8dd['get'](r[_0x1819f9(0x171)]),_0x1f1ef6={'unitId':_0x2e2e8f,'subUnitId':_0x526a2f,'pivotTableId':_0x3933f8,'fieldId':_0x5592ba,'subtotalType':_0x1ecb93};return _0x2580ba[_0x1819f9(0x1bd)](d[_0x1819f9(0x166)]['id'],_0x1f1ef6);}async[_0x55ee1f(0x1b4)](_0x58d540,_0x1765e1){const _0x353800=_0x55ee1f,_0x3eb384=this[_0x353800(0x198)],_0x1968fd=this[_0x353800(0x1cf)],_0x6153f9=this[_0x353800(0x1d5)],_0x1b0503=this[_0x353800(0x17f)],_0x2f7fd9=_0x3eb384[_0x353800(0x1d9)](r[_0x353800(0x171)]),_0x1db2ad={'unitId':_0x1968fd,'subUnitId':_0x6153f9,'tableFieldId':_0x58d540,'pivotTableId':_0x1b0503,'info':_0x1765e1};return _0x2f7fd9[_0x353800(0x1bd)](d['SetPivotSortCommand']['id'],_0x1db2ad);}async[_0x55ee1f(0x1a5)](_0x361be7,_0x49012c,_0x6bd224){const _0x45af6c=_0x55ee1f,_0x596bb2=this[_0x45af6c(0x198)],_0x497e5f=this[_0x45af6c(0x1cf)],_0x55ee01=this['subUnitId'],_0x195322=this[_0x45af6c(0x17f)],_0xe6f14d=_0x596bb2[_0x45af6c(0x1d9)](r['ICommandService']),_0x2e0a63={'unitId':_0x497e5f,'subUnitId':_0x55ee01,'pivotTableId':_0x195322,'tableFieldId':_0x361be7,'items':_0x49012c,'isAll':_0x6bd224};return _0xe6f14d['executeCommand'](d['SetPivotFilterCommand']['id'],_0x2e0a63);}async[_0x55ee1f(0x17b)](_0x1796bb,_0x2443c2){const _0xb9556a=_0x55ee1f,_0x8a9b17=this[_0xb9556a(0x198)],_0x108928=this[_0xb9556a(0x1cf)],_0x2a3d26=this['subUnitId'],_0x56b439=this[_0xb9556a(0x17f)],_0xfc61a4=_0x8a9b17['get'](r[_0xb9556a(0x171)]),_0x56e164={'unitId':_0x108928,'subUnitId':_0x2a3d26,'pivotTableId':_0x56b439,'fieldId':_0x1796bb,'name':_0x2443c2};return _0xfc61a4[_0xb9556a(0x1bd)](d['RenamePivotFieldMutation']['id'],_0x56e164);}async[_0x55ee1f(0x169)](_0x49c379,_0x7c9441,_0x5c6ab3){const _0x1625df=_0x55ee1f,_0x5ee27f=this[_0x1625df(0x198)]['get'](r[_0x1625df(0x171)]),_0x4a0a94=this[_0x1625df(0x198)]['get'](r[_0x1625df(0x1b9)])[_0x1625df(0x1ac)](this[_0x1625df(0x1cf)]),_0x1bdd7c=_0x4a0a94==null?void 0x0:_0x4a0a94[_0x1625df(0x157)](_0x49c379);if(!_0x4a0a94||!_0x1bdd7c)throw new Error('[Pivot\x20Table]:\x20Target\x20sheet\x20is\x20not\x20valid');return _0x5ee27f[_0x1625df(0x1bd)](d[_0x1625df(0x1df)]['id'],{'pivotTableId':this['pivotTableId'],'targetCellInfo':{'subUnitId':_0x1bdd7c[_0x1625df(0x18e)](),'unitId':this[_0x1625df(0x1cf)],'row':_0x7c9441,'col':_0x5c6ab3},'originTargetInfo':{'subUnitId':this[_0x1625df(0x1d5)],'unitId':this['unitId']}});}}class p extends I[_0x55ee1f(0x1c7)]{async[_0x55ee1f(0x1a0)](_0x2feb03,_0x2099a2,_0xfe267c){const _0x32c969=_0x55ee1f,_0x32ad64=this[_0x32c969(0x198)],_0x46cf6a=_0x32ad64[_0x32c969(0x1d9)](r[_0x32c969(0x171)]),_0x38e7cd=v[_0x32c969(0x1bf)](0x8),_0x4cb4d5={'positionType':_0x2099a2,'pivotTableId':_0x38e7cd,'pivotTableConfig':{'targetCellInfo':_0xfe267c,'sourceRangeInfo':_0x2feb03,'isEmpty':!0x0}};if(await _0x46cf6a[_0x32c969(0x1bd)](d[_0x32c969(0x1a1)]['id'],_0x4cb4d5))return new m(_0xfe267c[_0x32c969(0x1cf)],_0xfe267c[_0x32c969(0x1d5)],_0x38e7cd,_0x32ad64);}[_0x55ee1f(0x16e)](_0x248fa6,_0x326052,_0x512ff0,_0x9ba5a3){const _0x2bff09=_0x55ee1f,_0x129fb4=this['_injector'],_0x36dec7=_0x129fb4[_0x2bff09(0x1d9)](d[_0x2bff09(0x1ba)])[_0x2bff09(0x173)](_0x248fa6,_0x326052,_0x512ff0,_0x9ba5a3);if(_0x36dec7)return new m(_0x248fa6,_0x326052,_0x36dec7,_0x129fb4);}['getPivotTableById'](_0x43c25f){const _0xb9cbfe=_0x55ee1f,_0x4565f3=this[_0xb9cbfe(0x198)],_0x20ad3b=_0x4565f3[_0xb9cbfe(0x1d9)](d[_0xb9cbfe(0x1cd)])[_0xb9cbfe(0x193)](this[_0xb9cbfe(0x16c)](),_0x43c25f);if(_0x20ad3b)return new m(_0x20ad3b['unitId'],_0x20ad3b[_0xb9cbfe(0x1d5)],_0x43c25f,_0x4565f3);}}I[_0x55ee1f(0x1c7)][_0x55ee1f(0x1cc)](p);class E extends r['FEnum']{get[_0x55ee1f(0x1dc)](){const _0x198d5b=_0x55ee1f;return v[_0x198d5b(0x1dc)];}get[_0x55ee1f(0x17d)](){const _0x536723=_0x55ee1f;return v[_0x536723(0x17d)];}get[_0x55ee1f(0x1b5)](){return v['PivotTableFiledAreaEnum'];}get['PivotTableValuePositionEnum'](){return v['PivotTableValuePositionEnum'];}get[_0x55ee1f(0x1cb)](){const _0x3ec654=_0x55ee1f;return v[_0x3ec654(0x1cb)];}get['PivotDataFieldSortTypeEnum'](){const _0xc31b11=_0x55ee1f;return v[_0xc31b11(0x1dd)];}get[_0x55ee1f(0x1e1)](){const _0x5477d1=_0x55ee1f;return v[_0x5477d1(0x1e1)];}get[_0x55ee1f(0x18b)](){const _0x36d08c=_0x55ee1f;return v[_0x36d08c(0x1d7)];}get[_0x55ee1f(0x1c1)](){return d['PositionType'];}get[_0x55ee1f(0x18c)](){return v['PivotTableChangeTypeEnum'];}}r[_0x55ee1f(0x178)][_0x55ee1f(0x1cc)](E);class F extends r['FEventName']{get['PivotTableAdded'](){const _0x5aae4b=_0x55ee1f;return _0x5aae4b(0x182);}get[_0x55ee1f(0x199)](){const _0x5642d4=_0x55ee1f;return _0x5642d4(0x199);}get[_0x55ee1f(0x1ce)](){const _0x38c47f=_0x55ee1f;return _0x38c47f(0x1ce);}get[_0x55ee1f(0x1d0)](){return'PivotTableMoved';}get[_0x55ee1f(0x164)](){const _0x39cdf9=_0x55ee1f;return _0x39cdf9(0x164);}get[_0x55ee1f(0x18f)](){return'PivotTableFieldAdded';}get['PivotTableFieldRemoved'](){const _0x4bf511=_0x55ee1f;return _0x4bf511(0x1a2);}get[_0x55ee1f(0x159)](){const _0x48994f=_0x55ee1f;return _0x48994f(0x159);}get[_0x55ee1f(0x1e3)](){const _0x55107e=_0x55ee1f;return _0x55107e(0x1e3);}get[_0x55ee1f(0x15a)](){const _0x3018be=_0x55ee1f;return _0x3018be(0x15a);}get['PivotTableFieldSortChanged'](){const _0x1857cb=_0x55ee1f;return _0x1857cb(0x197);}get[_0x55ee1f(0x1d4)](){const _0x5d3285=_0x55ee1f;return _0x5d3285(0x1d4);}get[_0x55ee1f(0x158)](){const _0x1f5f69=_0x55ee1f;return _0x1f5f69(0x158);}}r[_0x55ee1f(0x1a9)][_0x55ee1f(0x1cc)](F);class S extends r[_0x55ee1f(0x180)]{[_0x55ee1f(0x1b6)](_0x4ea6fa){const _0x3e1077=_0x55ee1f,_0x3a515=_0x4ea6fa[_0x3e1077(0x1d9)](r[_0x3e1077(0x171)]);this[_0x3e1077(0x1bc)](_0x3a515[_0x3e1077(0x1e4)](_0x455a92=>{const _0x37c219=_0x3e1077;switch(_0x455a92['id']){case d[_0x37c219(0x189)]['id']:case d[_0x37c219(0x1a1)]['id']:{const _0x2f8c0e=_0x455a92[_0x37c219(0x1c4)];this['_fireBeforeAddPivotTableEvent'](_0x2f8c0e);break;}case d['MovePivotTableCommand']['id']:{const _0x5da56a=_0x455a92[_0x37c219(0x1c4)];this[_0x37c219(0x175)](_0x5da56a);break;}}})),this[_0x3e1077(0x1bc)](_0x3a515[_0x3e1077(0x161)](_0x118f16=>{const _0x2a9078=_0x3e1077;switch(_0x118f16['id']){case d[_0x2a9078(0x189)]['id']:case d['AddPivotTableCommand']['id']:{const _0x347e49=_0x118f16[_0x2a9078(0x1c4)];this['_fireAddPivotTableEvent'](_0x347e49);break;}case d[_0x2a9078(0x1df)]['id']:{const _0x487f10=_0x118f16[_0x2a9078(0x1c4)];this['_fireMovedPivotTableEvent'](_0x487f10);break;}case d[_0x2a9078(0x196)]['id']:{const _0x118370=_0x118f16[_0x2a9078(0x1c4)];this[_0x2a9078(0x1d6)](_0x118370);break;}case d['AddPivotFieldCommand']['id']:{const _0x1b9382=_0x118f16[_0x2a9078(0x1c4)];this['_firePivotTableFieldAddedEvent'](_0x1b9382);break;}case d[_0x2a9078(0x1ae)]['id']:{const _0x5bb147=_0x118f16[_0x2a9078(0x1c4)];this[_0x2a9078(0x1be)](_0x5bb147);break;}case d[_0x2a9078(0x1a3)]['id']:{const _0x1830d4=_0x118f16[_0x2a9078(0x1c4)];this['_firePivotTableFieldMovedEvent'](_0x1830d4);break;}case d[_0x2a9078(0x17e)]['id']:{const _0x2acfd4=_0x118f16['params'];this[_0x2a9078(0x1c8)](_0x2acfd4);break;}case d[_0x2a9078(0x165)]['id']:{const _0xeeca95=_0x118f16['params'];this[_0x2a9078(0x184)](_0xeeca95);break;}case d['SetPivotSortCommand']['id']:{const _0x59eed3=_0x118f16[_0x2a9078(0x1c4)];this[_0x2a9078(0x17c)](_0x59eed3);break;}case d['UpdatePivotFieldSettingCommand']['id']:{const _0x1131c7=_0x118f16[_0x2a9078(0x1c4)];this[_0x2a9078(0x1b2)](_0x1131c7);break;}case d['UpdatePivotValuePositionCommand']['id']:{const _0x790b90=_0x118f16[_0x2a9078(0x1c4)];this['_firePivotTableValuePositionChangedEvent'](_0x790b90);break;}}}));const _0x33d4b4=_0x4ea6fa['get'](r[_0x3e1077(0x190)]);this[_0x3e1077(0x1bc)](_0x33d4b4['lifecycle$'][_0x3e1077(0x15f)](_0x3937a6=>{const _0x4f3339=_0x3e1077;if(_0x3937a6===r[_0x4f3339(0x1b1)][_0x4f3339(0x1c9)]){const _0x3a0020=_0x4ea6fa['get'](d['SheetsPivotTableAdaptorModel']);this[_0x4f3339(0x1bc)](_0x3a0020[_0x4f3339(0x15c)][_0x4f3339(0x15f)](_0x433960=>{const _0xabba13=_0x4f3339;this[_0xabba13(0x1c6)](_0x433960);}));}}));}[_0x55ee1f(0x15d)](_0x32e69a){const _0x25567a=_0x55ee1f;if(this[_0x25567a(0x181)](this[_0x25567a(0x1e5)][_0x25567a(0x18f)])&&_0x32e69a){const {unitId:_0x1da09a,subUnitId:_0x1a4b5d,pivotTableId:_0x503de9,dataFieldId:_0x1177ab,fieldArea:_0x21a09d,index:_0x493886}=_0x32e69a;this[_0x25567a(0x1aa)](this[_0x25567a(0x1e5)][_0x25567a(0x18f)],{'unitId':_0x1da09a,'subUnitId':_0x1a4b5d,'pivotTableId':_0x503de9,'dataFieldId':_0x1177ab,'fieldArea':_0x21a09d,'index':_0x493886});}}[_0x55ee1f(0x1be)](_0x47f9da){const _0x38d329=_0x55ee1f;if(this[_0x38d329(0x181)](this[_0x38d329(0x1e5)][_0x38d329(0x1a2)])&&_0x47f9da){const {unitId:_0x143c30,subUnitId:_0x5e2815,pivotTableId:_0x198610,fieldIds:_0x30a793}=_0x47f9da;this['fireEvent'](this['Event']['PivotTableFieldRemoved'],{'unitId':_0x143c30,'subUnitId':_0x5e2815,'pivotTableId':_0x198610,'fieldIds':_0x30a793[_0x38d329(0x183)]()});}}[_0x55ee1f(0x16b)](_0x43ef2f){const _0x359aeb=_0x55ee1f;if(this[_0x359aeb(0x181)](this[_0x359aeb(0x1e5)][_0x359aeb(0x159)])&&_0x43ef2f){const {unitId:_0x5338c4,subUnitId:_0x372106,pivotTableId:_0x568882,fieldId:_0x572a64,area:_0xbb6429,index:_0x42b766}=_0x43ef2f;this[_0x359aeb(0x1aa)](this[_0x359aeb(0x1e5)][_0x359aeb(0x159)],{'unitId':_0x5338c4,'subUnitId':_0x372106,'pivotTableId':_0x568882,'fieldId':_0x572a64,'area':_0xbb6429,'index':_0x42b766});}}[_0x55ee1f(0x1c8)](_0x3811c9){const _0x28ed13=_0x55ee1f;if(this[_0x28ed13(0x181)](this[_0x28ed13(0x1e5)][_0x28ed13(0x1e3)])&&_0x3811c9){const {unitId:_0x1ab3bf,subUnitId:_0x649433,row:_0x150c85,col:_0x1e125c,collapse:_0x443681}=_0x3811c9;this['fireEvent'](this[_0x28ed13(0x1e5)][_0x28ed13(0x1e3)],{'unitId':_0x1ab3bf,'subUnitId':_0x649433,'row':_0x150c85,'col':_0x1e125c,'collapse':_0x443681});}}[_0x55ee1f(0x184)](_0x3d8700){const _0x48ab84=_0x55ee1f;if(this['hasEventCallback'](this[_0x48ab84(0x1e5)]['PivotTableFieldFilterChanged'])&&_0x3d8700){const {unitId:_0x3347e3,subUnitId:_0x110f11,pivotTableId:_0x271f41,tableFieldId:_0x339949,items:_0x22d635,isAll:_0x48b099}=_0x3d8700;this[_0x48ab84(0x1aa)](this['Event']['PivotTableFieldFilterChanged'],{'unitId':_0x3347e3,'subUnitId':_0x110f11,'pivotTableId':_0x271f41,'tableFieldId':_0x339949,'items':_0x22d635['concat'](),'isAll':_0x48b099});}}[_0x55ee1f(0x17c)](_0x4051e0){const _0x42f490=_0x55ee1f;if(this[_0x42f490(0x181)](this[_0x42f490(0x1e5)][_0x42f490(0x197)])&&_0x4051e0){const {unitId:_0x36f890,subUnitId:_0x26d4b8,pivotTableId:_0x4d0fce,tableFieldId:_0x594600,info:_0x4f20cc}=_0x4051e0;this[_0x42f490(0x1aa)](this[_0x42f490(0x1e5)][_0x42f490(0x197)],{'unitId':_0x36f890,'subUnitId':_0x26d4b8,'pivotTableId':_0x4d0fce,'tableFieldId':_0x594600,'info':{..._0x4f20cc}});}}[_0x55ee1f(0x1b2)](_0x1fcc6a){const _0x38cd85=_0x55ee1f;if(this[_0x38cd85(0x181)](this[_0x38cd85(0x1e5)][_0x38cd85(0x1d4)])&&_0x1fcc6a){const {unitId:_0x723bc8,subUnitId:_0x145144,tableFieldId:_0x1b9960,pivotTableId:_0x1d2568,displayName:_0x52b87d,format:_0x53883c,subtotalType:_0x1afe03,tableFieldInfo:_0x47fed2,dataFieldInfo:_0x1f75ec}=_0x1fcc6a;this['fireEvent'](this[_0x38cd85(0x1e5)][_0x38cd85(0x1d4)],{'unitId':_0x723bc8,'subUnitId':_0x145144,'tableFieldId':_0x1b9960,'pivotTableId':_0x1d2568,'displayName':_0x52b87d,'format':_0x53883c,'subtotalType':_0x1afe03,'tableFieldInfo':_0x47fed2,'dataFieldInfo':_0x1f75ec});}}['_firePivotTableValuePositionChangedEvent'](_0x44c3ba){const _0x58efcc=_0x55ee1f;if(this[_0x58efcc(0x181)](this['Event'][_0x58efcc(0x158)])&&_0x44c3ba){const {pivotTableId:_0x1684ea,position:_0x595b7f,index:_0x5673b3}=_0x44c3ba;this[_0x58efcc(0x1aa)](this[_0x58efcc(0x1e5)][_0x58efcc(0x158)],{'pivotTableId':_0x1684ea,'position':_0x595b7f,'index':_0x5673b3});}}[_0x55ee1f(0x192)](_0x5745fb){const _0xab8043=_0x55ee1f;if(this[_0xab8043(0x181)](this[_0xab8043(0x1e5)][_0xab8043(0x182)])&&_0x5745fb){const {positionType:_0x3f2ea6,pivotTableId:_0x5c28b8,pivotTableConfig:_0x3ab3d5}=_0x5745fb,{targetCellInfo:_0x2374c9,sourceRangeInfo:_0x5bf63a}=_0x3ab3d5,{unitId:_0x4b808f}=_0x2374c9;this[_0xab8043(0x1aa)](this[_0xab8043(0x1e5)][_0xab8043(0x182)],{'unitId':_0x4b808f,'positionType':_0x3f2ea6,'pivotTableId':_0x5c28b8,'sourceRangeInfo':{'startRow':_0x5bf63a[_0xab8043(0x160)][_0xab8043(0x18a)],'endRow':_0x5bf63a[_0xab8043(0x160)][_0xab8043(0x1ab)],'startColumn':_0x5bf63a['range'][_0xab8043(0x1e2)],'endColumn':_0x5bf63a[_0xab8043(0x160)][_0xab8043(0x1d2)],'unitId':_0x5bf63a['unitId'],'subUnitId':_0x5bf63a[_0xab8043(0x1d5)],'sheetName':_0x5bf63a[_0xab8043(0x172)]},'targetCellInfo':{'row':_0x2374c9[_0xab8043(0x1d1)],'column':_0x2374c9[_0xab8043(0x1db)],'sheetName':_0x2374c9['sheetName'],'unitId':_0x2374c9[_0xab8043(0x1cf)],'subUnitId':_0x2374c9['subUnitId']}});}}[_0x55ee1f(0x19a)](_0x377ac6){const _0x2a8c2f=_0x55ee1f;if(this[_0x2a8c2f(0x181)](this[_0x2a8c2f(0x1e5)][_0x2a8c2f(0x199)])&&_0x377ac6){const {positionType:_0x740e11,pivotTableId:_0x34866d,pivotTableConfig:_0x643e75}=_0x377ac6,{targetCellInfo:_0x1f6993,sourceRangeInfo:_0x2e5e10}=_0x643e75,{unitId:_0x47e475}=_0x1f6993,_0x31289f={'unitId':_0x47e475,'positionType':_0x740e11,'pivotTableId':_0x34866d,'sourceRangeInfo':{'startRow':_0x2e5e10[_0x2a8c2f(0x160)][_0x2a8c2f(0x18a)],'endRow':_0x2e5e10[_0x2a8c2f(0x160)][_0x2a8c2f(0x1ab)],'startColumn':_0x2e5e10[_0x2a8c2f(0x160)][_0x2a8c2f(0x1e2)],'endColumn':_0x2e5e10['range'][_0x2a8c2f(0x1d2)],'unitId':_0x2e5e10[_0x2a8c2f(0x1cf)],'subUnitId':_0x2e5e10[_0x2a8c2f(0x1d5)],'sheetName':_0x2e5e10['sheetName']},'targetCellInfo':{'row':_0x1f6993[_0x2a8c2f(0x1d1)],'column':_0x1f6993[_0x2a8c2f(0x1db)],'sheetName':_0x1f6993[_0x2a8c2f(0x172)],'unitId':_0x1f6993[_0x2a8c2f(0x1cf)],'subUnitId':_0x1f6993[_0x2a8c2f(0x1d5)]},'cancel':!0x1};if(this['fireEvent'](this['Event']['BeforePivotTableAdd'],_0x31289f),_0x31289f[_0x2a8c2f(0x179)])throw new Error(_0x2a8c2f(0x162));}}[_0x55ee1f(0x1d6)](_0x458528){const _0x366d49=_0x55ee1f;if(this[_0x366d49(0x181)](this[_0x366d49(0x1e5)][_0x366d49(0x1ce)])&&_0x458528){const {unitId:_0x201046,pivotTableId:_0x26973a}=_0x458528;this['fireEvent'](this[_0x366d49(0x1e5)][_0x366d49(0x1ce)],{'unitId':_0x201046,'pivotTableId':_0x26973a});}}[_0x55ee1f(0x175)](_0xa8a4b7){const _0x1fa987=_0x55ee1f;if(this[_0x1fa987(0x181)](this[_0x1fa987(0x1e5)]['BeforePivotTableMove'])&&_0xa8a4b7){const {originTargetInfo:_0x52f291,pivotTableId:_0x535950,targetCellInfo:_0x53e8bc}=_0xa8a4b7,{unitId:_0x2b8fa1}=_0x52f291,_0x41db29=this[_0x1fa987(0x198)][_0x1fa987(0x1d9)](d[_0x1fa987(0x1cd)])[_0x1fa987(0x1ca)](_0x52f291[_0x1fa987(0x1cf)],_0x52f291[_0x1fa987(0x1d5)],_0x535950);if(!_0x41db29)return;const _0x20d24f={'unitId':_0x2b8fa1,'pivotTableId':_0x535950,'originTargetInfo':{'row':_0x41db29[_0x1fa987(0x16a)][_0x1fa987(0x1d1)],'column':_0x41db29[_0x1fa987(0x16a)][_0x1fa987(0x1db)],'unitId':_0x41db29['targetCellInfo'][_0x1fa987(0x1cf)],'subUnitId':_0x41db29[_0x1fa987(0x16a)]['subUnitId']},'targetCellInfo':{'row':_0x53e8bc[_0x1fa987(0x1d1)],'column':_0x53e8bc[_0x1fa987(0x1db)],'unitId':_0x53e8bc['unitId'],'subUnitId':_0x53e8bc[_0x1fa987(0x1d5)]},'cancel':!0x1};if(this[_0x1fa987(0x1aa)](this[_0x1fa987(0x1e5)][_0x1fa987(0x167)],_0x20d24f),_0x20d24f[_0x1fa987(0x179)])throw new Error(_0x1fa987(0x19d));}}[_0x55ee1f(0x19e)](_0x467817){const _0x560d35=_0x55ee1f;if(this['hasEventCallback'](this[_0x560d35(0x1e5)][_0x560d35(0x1d0)])&&_0x467817){const {originTargetInfo:_0x463aaa,pivotTableId:_0x45db5f,targetCellInfo:_0x469a8e}=_0x467817,{unitId:_0x4a8e97}=_0x463aaa,_0x575966=this['_injector'][_0x560d35(0x1d9)](d['SheetsPivotTableConfigModel'])['getPivotTableConfig'](_0x463aaa[_0x560d35(0x1cf)],_0x463aaa[_0x560d35(0x1d5)],_0x45db5f);if(!_0x575966)return;this[_0x560d35(0x1aa)](this[_0x560d35(0x1e5)][_0x560d35(0x1d0)],{'unitId':_0x4a8e97,'pivotTableId':_0x45db5f,'originTargetInfo':{'row':_0x575966[_0x560d35(0x16a)][_0x560d35(0x1d1)],'column':_0x575966['targetCellInfo'][_0x560d35(0x1db)],'unitId':_0x575966[_0x560d35(0x16a)][_0x560d35(0x1cf)],'subUnitId':_0x575966[_0x560d35(0x16a)][_0x560d35(0x1d5)]},'targetCellInfo':{'row':_0x469a8e['row'],'column':_0x469a8e['col'],'unitId':_0x469a8e[_0x560d35(0x1cf)],'subUnitId':_0x469a8e[_0x560d35(0x1d5)]}});}}[_0x55ee1f(0x1c6)](_0x37f6d9){const _0x4226ef=_0x55ee1f;if(this['hasEventCallback'](this[_0x4226ef(0x1e5)]['PivotTableRendered'])&&_0x37f6d9){const {unitId:_0x334219,subUnitId:_0xcd637f,pivotTableId:_0x3a7184,type:_0x1df588,rangesCache:_0x109046,isEmpty:_0x228da5}=_0x37f6d9;this['fireEvent'](this[_0x4226ef(0x1e5)][_0x4226ef(0x164)],{'unitId':_0x334219,'subUnitId':_0xcd637f,'pivotTableId':_0x3a7184,'changeType':_0x1df588,'isEmpty':!!_0x228da5,'rangeInfo':_0x109046});}}}r[_0x55ee1f(0x180)]['extend'](S);
|