@univerjs-pro/sheets-pivot 0.5.0-alpha.0 → 0.5.0-beta.1

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 (89) 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/ru-RU.js +1 -1
  6. package/lib/cjs/locale/vi-VN.js +1 -1
  7. package/lib/cjs/locale/zh-CN.js +1 -1
  8. package/lib/cjs/locale/zh-TW.js +1 -1
  9. package/lib/es/facade.js +1 -1
  10. package/lib/es/index.js +1 -1
  11. package/lib/es/locale/en-US.js +1 -1
  12. package/lib/es/locale/fa-IR.js +1 -1
  13. package/lib/es/locale/ru-RU.js +1 -1
  14. package/lib/es/locale/vi-VN.js +1 -1
  15. package/lib/es/locale/zh-CN.js +1 -1
  16. package/lib/es/locale/zh-TW.js +1 -1
  17. package/lib/types/commands/command/add-pivot-field.command.d.ts +11 -0
  18. package/lib/types/commands/command/add-pivot-table-with-config.command.d.ts +3 -0
  19. package/lib/types/commands/command/add-pivot-table.command.d.ts +9 -0
  20. package/lib/types/commands/command/move-pivot-field.command.d.ts +11 -0
  21. package/lib/types/commands/command/pivot-drill-down.command.d.ts +6 -0
  22. package/lib/types/commands/command/remove-pivot-field.command.d.ts +8 -0
  23. package/lib/types/commands/command/set-pivot-collapse.command.d.ts +9 -0
  24. package/lib/types/commands/command/set-pivot-filter.command.d.ts +10 -0
  25. package/lib/types/commands/command/set-pivot-sort.command.d.ts +10 -0
  26. package/lib/types/commands/command/update-pivot-setting.command.d.ts +15 -0
  27. package/lib/types/commands/command/update-pivot-source.command.d.ts +9 -0
  28. package/lib/types/commands/command/update-value-position.command.d.ts +8 -0
  29. package/lib/types/commands/command/util.d.ts +14 -0
  30. package/lib/types/commands/mutations/add-pivot-field.mutation.d.ts +3 -0
  31. package/lib/types/commands/mutations/add-pivot-table.mutation.d.ts +3 -0
  32. package/lib/types/commands/mutations/change-apply-util.d.ts +15 -0
  33. package/lib/types/commands/mutations/pivot-data-communication.mutation.d.ts +7 -0
  34. package/lib/types/commands/mutations/remove-pivot-field.mutation.d.ts +3 -0
  35. package/lib/types/commands/mutations/remove-pivot-table.mutation.d.ts +3 -0
  36. package/lib/types/commands/mutations/rename-pivot-field.mutation.d.ts +3 -0
  37. package/lib/types/commands/mutations/set-pivot-collapse.mutation.d.ts +3 -0
  38. package/lib/types/commands/mutations/set-pivot-field-format.mutation.d.ts +3 -0
  39. package/lib/types/commands/mutations/set-pivot-filter.mutation.d.ts +3 -0
  40. package/lib/types/commands/mutations/set-pivot-option.mutation.d.ts +3 -0
  41. package/lib/types/commands/mutations/set-pivot-position.mutation.d.ts +3 -0
  42. package/lib/types/commands/mutations/set-pivot-sort.mutation.d.ts +3 -0
  43. package/lib/types/commands/mutations/set-pivot-subtotal-type.mutation.d.ts +3 -0
  44. package/lib/types/commands/mutations/update-field-position.mutation.d.ts +3 -0
  45. package/lib/types/commands/mutations/update-pivot-field-source-info.mutation.d.ts +3 -0
  46. package/lib/types/commands/mutations/update-pivot-table-source.mutation.d.ts +3 -0
  47. package/lib/types/commands/mutations/update-value-position.mutation.d.ts +3 -0
  48. package/lib/types/commands/operations/pivot-table-dirty-view.operation.d.ts +3 -0
  49. package/lib/types/common/const.d.ts +64 -0
  50. package/lib/types/const/const.d.ts +107 -0
  51. package/lib/types/const/template.d.ts +885 -0
  52. package/lib/types/const/type.d.ts +525 -0
  53. package/lib/types/controllers/config.schema.d.ts +6 -0
  54. package/lib/types/controllers/const.d.ts +1 -0
  55. package/lib/types/controllers/sheets-pivot-caculate.controller.d.ts +44 -0
  56. package/lib/types/controllers/sheets-pivot-clear.controller.d.ts +12 -0
  57. package/lib/types/controllers/sheets-pivot-interceptor.controller.d.ts +21 -0
  58. package/lib/types/controllers/sheets-pivot-permission.controller.d.ts +7 -0
  59. package/lib/types/controllers/sheets-pivot-ref-range.controller.d.ts +21 -0
  60. package/lib/types/controllers/sheets-pivot-remove-sheet.controller.d.ts +9 -0
  61. package/lib/types/controllers/sheets-pivot-rpc.controller.d.ts +20 -0
  62. package/lib/types/facade/f-pivot-table.d.ts +83 -0
  63. package/lib/types/facade/f-workbook.d.ts +72 -0
  64. package/lib/types/facade/index.d.ts +2 -0
  65. package/lib/types/index.d.ts +52 -1158
  66. package/lib/types/locale/en-US.d.ts +3 -0
  67. package/lib/types/locale/fa-IR.d.ts +3 -0
  68. package/lib/types/locale/ru-RU.d.ts +3 -0
  69. package/lib/types/locale/vi-VN.d.ts +3 -0
  70. package/lib/types/locale/zh-CN.d.ts +31 -0
  71. package/lib/types/locale/zh-TW.d.ts +3 -0
  72. package/lib/types/models/sheets-pivot-config-model.d.ts +58 -0
  73. package/lib/types/models/sheets-pivot-data-field-manager.d.ts +77 -0
  74. package/lib/types/models/sheets-pivot-data-source-model.d.ts +101 -0
  75. package/lib/types/models/sheets-pivot-table-adaptor-model.d.ts +54 -0
  76. package/lib/types/models/view-util.d.ts +16 -0
  77. package/lib/types/plugin.d.ts +17 -0
  78. package/lib/types/services/sheets-pivot-rpc.service.d.ts +11 -0
  79. package/lib/types/services/sheets-pivot-table.service.d.ts +18 -0
  80. package/lib/types/util.d.ts +84 -0
  81. package/lib/umd/facade.js +1 -1
  82. package/lib/umd/index.js +1 -1
  83. package/lib/umd/locale/en-US.js +1 -1
  84. package/lib/umd/locale/fa-IR.js +1 -1
  85. package/lib/umd/locale/ru-RU.js +1 -1
  86. package/lib/umd/locale/vi-VN.js +1 -1
  87. package/lib/umd/locale/zh-CN.js +1 -1
  88. package/lib/umd/locale/zh-TW.js +1 -1
  89. package/package.json +14 -14
package/lib/cjs/facade.js CHANGED
@@ -1 +1 @@
1
- 'use strict';const _0xa1e0be=_0x12f2;function _0x2dd6(){const _0x587e9b=['@univerjs/core','2JCLXfN','SetPivotSubtotalTypeMutation','7713503YAFlth','renameField','RenamePivotFieldMutation','FWorkbook','UpdatePivotValuePositionCommand','toStringTag','6GkaDHZ','symbol','Module','ICommandService','removeField','unitId','SetPivotFilterCommand','1477536JxoFvV','@univerjs-pro/engine-pivot','6515058dAtRKp','getConfig','executeCommand','SheetsPivotTableAdaptorModel','generateHexNumber','MovePivotFieldCommand','8MMrXBc','RemovePivotTableMutation','get','SheetsPivotTableConfigModel','_injector','number','setSubtotalType','getPivotTableConfig','@univerjs-pro/sheets-pivot','166513cEjMEn','setLabelSort','2742970VnCTAk','subUnitId','syncExecuteCommand','AddPivotFieldCommand','6264756HrUqIH','getPivotTableByCell','extend','remove','AddPivotTableCommand','updateFieldPosition','getCollection','1013271JjsCVm','pivotTableId','40dgwEin','addField','fieldIds','defineProperty'];_0x2dd6=function(){return _0x587e9b;};return _0x2dd6();}function _0x12f2(_0x191c49,_0x342fd8){const _0x2dd6d7=_0x2dd6();return _0x12f2=function(_0x12f2d0,_0x1554aa){_0x12f2d0=_0x12f2d0-0xb8;let _0x11dabe=_0x2dd6d7[_0x12f2d0];return _0x11dabe;},_0x12f2(_0x191c49,_0x342fd8);}(function(_0x35dd71,_0x23f67d){const _0x254eb8=_0x12f2,_0x3f2629=_0x35dd71();while(!![]){try{const _0x3b6006=-parseInt(_0x254eb8(0xdb))/0x1*(parseInt(_0x254eb8(0xbb))/0x2)+-parseInt(_0x254eb8(0xe8))/0x3*(-parseInt(_0x254eb8(0xd2))/0x4)+-parseInt(_0x254eb8(0xdd))/0x5+-parseInt(_0x254eb8(0xc3))/0x6*(parseInt(_0x254eb8(0xbd))/0x7)+parseInt(_0x254eb8(0xca))/0x8+-parseInt(_0x254eb8(0xe1))/0x9+parseInt(_0x254eb8(0xea))/0xa*(parseInt(_0x254eb8(0xcc))/0xb);if(_0x3b6006===_0x23f67d)break;else _0x3f2629['push'](_0x3f2629['shift']());}catch(_0x2c28c9){_0x3f2629['push'](_0x3f2629['shift']());}}}(_0x2dd6,0xaeda6));var C=Object[_0xa1e0be(0xb9)],g=(_0x1d9c02,_0x59090d,_0x4983d1)=>_0x59090d in _0x1d9c02?C(_0x1d9c02,_0x59090d,{'enumerable':!0x0,'configurable':!0x0,'writable':!0x0,'value':_0x4983d1}):_0x1d9c02[_0x59090d]=_0x4983d1,l=(_0x154ffa,_0x2bd761,_0x3a19f6)=>g(_0x154ffa,typeof _0x2bd761!=_0xa1e0be(0xc4)?_0x2bd761+'':_0x2bd761,_0x3a19f6);Object[_0xa1e0be(0xb9)](exports,Symbol[_0xa1e0be(0xc2)],{'value':_0xa1e0be(0xc5)});const r=require(_0xa1e0be(0xba)),b=require('@univerjs/sheets/facade'),P=require(_0xa1e0be(0xcb)),a=require(_0xa1e0be(0xda));class I{constructor(_0x185758,_0x4fe7f5,_0x59ccd4,_0x2c49d9){const _0x47976a=_0xa1e0be;l(this,_0x47976a(0xc8)),l(this,_0x47976a(0xde)),l(this,'pivotTableId'),l(this,_0x47976a(0xd6)),(this[_0x47976a(0xc8)]=_0x185758,this[_0x47976a(0xde)]=_0x4fe7f5,this[_0x47976a(0xe9)]=_0x59ccd4,this[_0x47976a(0xd6)]=_0x2c49d9);}[_0xa1e0be(0xcd)](){const _0x325c19=_0xa1e0be;return this[_0x325c19(0xd6)][_0x325c19(0xd4)](a['SheetsPivotTableConfigModel'])[_0x325c19(0xd9)](this[_0x325c19(0xc8)],this[_0x325c19(0xde)],this['pivotTableId']);}async[_0xa1e0be(0xe4)](){const _0x4e4619=_0xa1e0be;return await this[_0x4e4619(0xd6)][_0x4e4619(0xd4)](r[_0x4e4619(0xc6)])[_0x4e4619(0xdf)](a[_0x4e4619(0xd3)]['id'],{'unitId':this[_0x4e4619(0xc8)],'subUnitId':this[_0x4e4619(0xde)],'pivotTableId':this[_0x4e4619(0xe9)]});}async[_0xa1e0be(0xeb)](_0x3921ce,_0x369ac,_0x1b96e2){const _0x41c551=_0xa1e0be,_0x1b2014=this[_0x41c551(0xd6)],_0x54cebe=this[_0x41c551(0xc8)],_0x357a9b=this[_0x41c551(0xde)],_0x159ecd=this[_0x41c551(0xe9)],_0x1a977c=_0x1b2014['get'](r[_0x41c551(0xc6)]),_0x372025=_0x1b2014['get'](a[_0x41c551(0xd5)]),_0x583cbd=_0x372025[_0x41c551(0xd9)](_0x54cebe,_0x357a9b,_0x159ecd),_0x2bae02=_0x372025[_0x41c551(0xe7)](_0x54cebe,_0x159ecd);if(!_0x583cbd||!_0x2bae02)return!0x1;let _0x3398c6=_0x3921ce;typeof _0x3398c6==_0x41c551(0xd7)&&(_0x3398c6=_0x372025[_0x41c551(0xe7)](_0x54cebe,_0x159ecd)[_0x41c551(0xb8)][_0x3921ce]);const _0x191b96={'unitId':_0x54cebe,'subUnitId':_0x357a9b,'pivotTableId':_0x159ecd,'dataFieldId':_0x3398c6,'fieldArea':_0x369ac,'index':_0x1b96e2};return _0x1a977c['executeCommand'](a[_0x41c551(0xe0)]['id'],_0x191b96);}async[_0xa1e0be(0xc7)](_0x5ab8a1){const _0x48aa20=_0xa1e0be,_0x46e1ca=this[_0x48aa20(0xd6)],_0x233459=this[_0x48aa20(0xc8)],_0x24832b=this[_0x48aa20(0xde)],_0x20ca49=this[_0x48aa20(0xe9)],_0x19f497=_0x46e1ca['get'](r['ICommandService']),_0xb4a156={'unitId':_0x233459,'subUnitId':_0x24832b,'pivotTableId':_0x20ca49,'fieldIds':_0x5ab8a1};return _0x19f497[_0x48aa20(0xce)](a['RemovePivotFieldCommand']['id'],_0xb4a156);}async[_0xa1e0be(0xe6)](_0x1fdb09,_0x23bb1b,_0x4e8a34){const _0x592164=_0xa1e0be,_0x30c697=this[_0x592164(0xd6)],_0x3032a2=this['unitId'],_0x4525a2=this[_0x592164(0xde)],_0x3deac1=this['pivotTableId'],_0x27ed50=_0x30c697['get'](r[_0x592164(0xc6)]),_0x4b22b5={'unitId':_0x3032a2,'subUnitId':_0x4525a2,'pivotTableId':_0x3deac1,'fieldId':_0x1fdb09,'area':_0x23bb1b,'index':_0x4e8a34};return _0x27ed50['executeCommand'](a[_0x592164(0xd1)]['id'],_0x4b22b5);}async['updateValuePosition'](_0x266562,_0xb0ea8a){const _0x2d2b04=_0xa1e0be,_0x50aab3=this['_injector'],_0xab53a1=this[_0x2d2b04(0xc8)],_0x469ff8=this[_0x2d2b04(0xde)],_0x2b2dbb=this['pivotTableId'],_0x306c7c=_0x50aab3[_0x2d2b04(0xd4)](r[_0x2d2b04(0xc6)]),_0x562395={'unitId':_0xab53a1,'subUnitId':_0x469ff8,'pivotTableId':_0x2b2dbb,'position':_0x266562,'index':_0xb0ea8a};return _0x306c7c[_0x2d2b04(0xce)](a[_0x2d2b04(0xc1)]['id'],_0x562395);}async[_0xa1e0be(0xd8)](_0x3f0485,_0x5d4d9f){const _0x5afe64=_0xa1e0be,_0x49a542=this[_0x5afe64(0xd6)],_0x555645=this[_0x5afe64(0xc8)],_0x306628=this['subUnitId'],_0x96e8eb=this[_0x5afe64(0xe9)],_0x269746=_0x49a542[_0x5afe64(0xd4)](r[_0x5afe64(0xc6)]),_0x37d2f1={'unitId':_0x555645,'subUnitId':_0x306628,'pivotTableId':_0x96e8eb,'fieldId':_0x3f0485,'subtotalType':_0x5d4d9f};return _0x269746['executeCommand'](a[_0x5afe64(0xbc)]['id'],_0x37d2f1);}async[_0xa1e0be(0xdc)](_0x4f2ead,_0x55ef66){const _0x3b2dc4=_0xa1e0be,_0x5b473f=this[_0x3b2dc4(0xd6)],_0x5ebc97=this['unitId'],_0x217623=this['subUnitId'],_0x4a821a=this[_0x3b2dc4(0xe9)],_0x53bc56=_0x5b473f[_0x3b2dc4(0xd4)](r['ICommandService']),_0x133634={'unitId':_0x5ebc97,'subUnitId':_0x217623,'tableFieldId':_0x4f2ead,'pivotTableId':_0x4a821a,'info':_0x55ef66};return _0x53bc56[_0x3b2dc4(0xce)](a['SetPivotSortCommand']['id'],_0x133634);}async['setLabelManualFilter'](_0x3a15e8,_0x555677,_0x256b38){const _0x28442f=_0xa1e0be,_0x3abac8=this[_0x28442f(0xd6)],_0x24e922=this['unitId'],_0x5af615=this[_0x28442f(0xde)],_0x528ac8=this[_0x28442f(0xe9)],_0x124cc4=_0x3abac8[_0x28442f(0xd4)](r[_0x28442f(0xc6)]),_0x1e59de={'unitId':_0x24e922,'subUnitId':_0x5af615,'pivotTableId':_0x528ac8,'tableFieldId':_0x3a15e8,'items':_0x555677,'isAll':_0x256b38};return _0x124cc4[_0x28442f(0xce)](a[_0x28442f(0xc9)]['id'],_0x1e59de);}async[_0xa1e0be(0xbe)](_0x469865,_0xa7d097){const _0xdbe481=_0xa1e0be,_0x339701=this[_0xdbe481(0xd6)],_0x56cce0=this[_0xdbe481(0xc8)],_0x301d7d=this[_0xdbe481(0xde)],_0x4699dd=this[_0xdbe481(0xe9)],_0x203b16=_0x339701[_0xdbe481(0xd4)](r[_0xdbe481(0xc6)]),_0xf1f010={'unitId':_0x56cce0,'subUnitId':_0x301d7d,'pivotTableId':_0x4699dd,'fieldId':_0x469865,'name':_0xa7d097};return _0x203b16[_0xdbe481(0xce)](a[_0xdbe481(0xbf)]['id'],_0xf1f010);}}class S extends b[_0xa1e0be(0xc0)]{async['addPivotTable'](_0x7719d1,_0x1834ed,_0x5566d1){const _0x4d1fe7=_0xa1e0be,_0x5c81fe=this[_0x4d1fe7(0xd6)],_0x330034=_0x5c81fe['get'](r[_0x4d1fe7(0xc6)]),_0x288807=P[_0x4d1fe7(0xd0)](0x8),_0x3fcfc5={'positionType':_0x1834ed,'pivotTableId':_0x288807,'pivotTableConfig':{'targetCellInfo':_0x5566d1,'sourceRangeInfo':_0x7719d1,'isEmpty':!0x0}};if(await _0x330034[_0x4d1fe7(0xce)](a[_0x4d1fe7(0xe5)]['id'],_0x3fcfc5))return new I(_0x5566d1['unitId'],_0x5566d1[_0x4d1fe7(0xde)],_0x288807,_0x5c81fe);}[_0xa1e0be(0xe2)](_0x3c3124,_0x28ce0e,_0x44f039,_0x9a3a63){const _0x1fa8cf=_0xa1e0be,_0x1169e4=this['_injector'],_0x2240bd=_0x1169e4[_0x1fa8cf(0xd4)](a[_0x1fa8cf(0xcf)])['getPivotTableIdByCell'](_0x3c3124,_0x28ce0e,_0x44f039,_0x9a3a63);if(_0x2240bd)return new I(_0x3c3124,_0x28ce0e,_0x2240bd,_0x1169e4);}}b[_0xa1e0be(0xc0)][_0xa1e0be(0xe3)](S),exports['FPivotTable']=I;
1
+ 'use strict';const _0x5ae8d5=_0x1364;(function(_0x3dacad,_0x470a58){const _0x17e889=_0x1364,_0x1d9cc8=_0x3dacad();while(!![]){try{const _0x3f29f8=parseInt(_0x17e889(0x145))/0x1+-parseInt(_0x17e889(0x130))/0x2*(-parseInt(_0x17e889(0x11b))/0x3)+-parseInt(_0x17e889(0x11f))/0x4+parseInt(_0x17e889(0x124))/0x5+-parseInt(_0x17e889(0x12a))/0x6+-parseInt(_0x17e889(0x125))/0x7*(parseInt(_0x17e889(0x126))/0x8)+-parseInt(_0x17e889(0x12f))/0x9*(-parseInt(_0x17e889(0x11d))/0xa);if(_0x3f29f8===_0x470a58)break;else _0x1d9cc8['push'](_0x1d9cc8['shift']());}catch(_0x489c51){_0x1d9cc8['push'](_0x1d9cc8['shift']());}}}(_0x4d22,0xa748d));function _0x4d22(){const _0xf00657=['updateFieldPosition','5445366wwkQfx','syncExecuteCommand','AddPivotTableCommand','RenamePivotFieldMutation','@univerjs/sheets/facade','4338aoYzzK','1766isdWfv','symbol','getPivotTableConfig','number','pivotTableId','subUnitId','addField','removeField','getCollection','ICommandService','get','remove','fieldIds','renameField','getPivotTableIdByCell','RemovePivotFieldCommand','SetPivotFilterCommand','extend','unitId','SetPivotSubtotalTypeMutation','updateValuePosition','528925gwxpax','AddPivotFieldCommand','executeCommand','78fsJWBF','getConfig','18670zYOtVr','UpdatePivotValuePositionCommand','126120ySGXLt','RemovePivotTableMutation','SheetsPivotTableConfigModel','FWorkbook','_injector','2435400zDQFUQ','2201983WsWnxv','8Sirxbf','@univerjs/core','SheetsPivotTableAdaptorModel'];_0x4d22=function(){return _0xf00657;};return _0x4d22();}var C=Object['defineProperty'],g=(_0x2d31c2,_0x1885a0,_0x1fd19b)=>_0x1885a0 in _0x2d31c2?C(_0x2d31c2,_0x1885a0,{'enumerable':!0x0,'configurable':!0x0,'writable':!0x0,'value':_0x1fd19b}):_0x2d31c2[_0x1885a0]=_0x1fd19b,l=(_0x31a6ef,_0x42aab5,_0x1c19d7)=>g(_0x31a6ef,typeof _0x42aab5!=_0x5ae8d5(0x131)?_0x42aab5+'':_0x42aab5,_0x1c19d7);function _0x1364(_0x3e35a5,_0x945067){const _0x4d22f9=_0x4d22();return _0x1364=function(_0x136496,_0x43fde7){_0x136496=_0x136496-0x11a;let _0x423421=_0x4d22f9[_0x136496];return _0x423421;},_0x1364(_0x3e35a5,_0x945067);}Object['defineProperty'](exports,Symbol['toStringTag'],{'value':'Module'});const r=require(_0x5ae8d5(0x127)),b=require(_0x5ae8d5(0x12e)),P=require('@univerjs-pro/engine-pivot'),a=require('@univerjs-pro/sheets-pivot');class I{constructor(_0x161e05,_0x4eb5b4,_0x571327,_0x4d3f63){const _0x51cff2=_0x5ae8d5;l(this,_0x51cff2(0x142)),l(this,_0x51cff2(0x135)),l(this,_0x51cff2(0x134)),l(this,'_injector'),(this[_0x51cff2(0x142)]=_0x161e05,this[_0x51cff2(0x135)]=_0x4eb5b4,this['pivotTableId']=_0x571327,this[_0x51cff2(0x123)]=_0x4d3f63);}[_0x5ae8d5(0x11c)](){const _0x155f40=_0x5ae8d5;return this[_0x155f40(0x123)][_0x155f40(0x13a)](a[_0x155f40(0x121)])['getPivotTableConfig'](this[_0x155f40(0x142)],this[_0x155f40(0x135)],this[_0x155f40(0x134)]);}async[_0x5ae8d5(0x13b)](){const _0x2c7578=_0x5ae8d5;return await this[_0x2c7578(0x123)]['get'](r[_0x2c7578(0x139)])[_0x2c7578(0x12b)](a[_0x2c7578(0x120)]['id'],{'unitId':this[_0x2c7578(0x142)],'subUnitId':this[_0x2c7578(0x135)],'pivotTableId':this[_0x2c7578(0x134)]});}async[_0x5ae8d5(0x136)](_0x43ecd1,_0x24a27c,_0x2e1e57){const _0x5358e7=_0x5ae8d5,_0x54f82d=this['_injector'],_0x53d672=this[_0x5358e7(0x142)],_0x64b8a9=this[_0x5358e7(0x135)],_0xed9f41=this[_0x5358e7(0x134)],_0x4b21c5=_0x54f82d['get'](r[_0x5358e7(0x139)]),_0x41f0f0=_0x54f82d[_0x5358e7(0x13a)](a[_0x5358e7(0x121)]),_0x25e30e=_0x41f0f0[_0x5358e7(0x132)](_0x53d672,_0x64b8a9,_0xed9f41),_0x488ce1=_0x41f0f0[_0x5358e7(0x138)](_0x53d672,_0xed9f41);if(!_0x25e30e||!_0x488ce1)return!0x1;let _0x460f99=_0x43ecd1;typeof _0x460f99==_0x5358e7(0x133)&&(_0x460f99=_0x41f0f0[_0x5358e7(0x138)](_0x53d672,_0xed9f41)[_0x5358e7(0x13c)][_0x43ecd1]);const _0x5e7cad={'unitId':_0x53d672,'subUnitId':_0x64b8a9,'pivotTableId':_0xed9f41,'dataFieldId':_0x460f99,'fieldArea':_0x24a27c,'index':_0x2e1e57};return _0x4b21c5[_0x5358e7(0x11a)](a[_0x5358e7(0x146)]['id'],_0x5e7cad);}async[_0x5ae8d5(0x137)](_0x16e3d2){const _0x2847d7=_0x5ae8d5,_0x249628=this[_0x2847d7(0x123)],_0x5d5d1a=this[_0x2847d7(0x142)],_0x2b658f=this[_0x2847d7(0x135)],_0x48ea53=this[_0x2847d7(0x134)],_0x367bf5=_0x249628['get'](r['ICommandService']),_0x45163c={'unitId':_0x5d5d1a,'subUnitId':_0x2b658f,'pivotTableId':_0x48ea53,'fieldIds':_0x16e3d2};return _0x367bf5['executeCommand'](a[_0x2847d7(0x13f)]['id'],_0x45163c);}async[_0x5ae8d5(0x129)](_0x208d70,_0x4fc5d2,_0x5ed4be){const _0x420d97=_0x5ae8d5,_0x2d69bf=this[_0x420d97(0x123)],_0x8e9da5=this[_0x420d97(0x142)],_0x5b6d40=this['subUnitId'],_0x4f047d=this[_0x420d97(0x134)],_0x34b354=_0x2d69bf[_0x420d97(0x13a)](r[_0x420d97(0x139)]),_0x2a07df={'unitId':_0x8e9da5,'subUnitId':_0x5b6d40,'pivotTableId':_0x4f047d,'fieldId':_0x208d70,'area':_0x4fc5d2,'index':_0x5ed4be};return _0x34b354['executeCommand'](a['MovePivotFieldCommand']['id'],_0x2a07df);}async[_0x5ae8d5(0x144)](_0x1ddaa3,_0x5bf598){const _0x3d85cb=_0x5ae8d5,_0xe7731=this[_0x3d85cb(0x123)],_0x3ab2ba=this[_0x3d85cb(0x142)],_0x1f6ac9=this[_0x3d85cb(0x135)],_0x5e6702=this[_0x3d85cb(0x134)],_0x1dc39d=_0xe7731[_0x3d85cb(0x13a)](r[_0x3d85cb(0x139)]),_0x4a7168={'unitId':_0x3ab2ba,'subUnitId':_0x1f6ac9,'pivotTableId':_0x5e6702,'position':_0x1ddaa3,'index':_0x5bf598};return _0x1dc39d[_0x3d85cb(0x11a)](a[_0x3d85cb(0x11e)]['id'],_0x4a7168);}async['setSubtotalType'](_0x5464c4,_0x576935){const _0x51b539=_0x5ae8d5,_0x2d167d=this[_0x51b539(0x123)],_0x48104c=this[_0x51b539(0x142)],_0x29b2a0=this['subUnitId'],_0xa4e231=this[_0x51b539(0x134)],_0x40de96=_0x2d167d['get'](r[_0x51b539(0x139)]),_0x512e48={'unitId':_0x48104c,'subUnitId':_0x29b2a0,'pivotTableId':_0xa4e231,'fieldId':_0x5464c4,'subtotalType':_0x576935};return _0x40de96[_0x51b539(0x11a)](a[_0x51b539(0x143)]['id'],_0x512e48);}async['setLabelSort'](_0x3d3aba,_0x143129){const _0x49834f=_0x5ae8d5,_0x3041d4=this['_injector'],_0x4a0e36=this[_0x49834f(0x142)],_0x111cdf=this[_0x49834f(0x135)],_0x420fa3=this[_0x49834f(0x134)],_0x510958=_0x3041d4[_0x49834f(0x13a)](r[_0x49834f(0x139)]),_0x486bfc={'unitId':_0x4a0e36,'subUnitId':_0x111cdf,'tableFieldId':_0x3d3aba,'pivotTableId':_0x420fa3,'info':_0x143129};return _0x510958[_0x49834f(0x11a)](a['SetPivotSortCommand']['id'],_0x486bfc);}async['setLabelManualFilter'](_0xa4528d,_0x38266a,_0x164d9a){const _0xba181d=_0x5ae8d5,_0x480452=this[_0xba181d(0x123)],_0x36ae4c=this[_0xba181d(0x142)],_0x5c5da3=this[_0xba181d(0x135)],_0x35a766=this[_0xba181d(0x134)],_0x242153=_0x480452[_0xba181d(0x13a)](r[_0xba181d(0x139)]),_0x33adf8={'unitId':_0x36ae4c,'subUnitId':_0x5c5da3,'pivotTableId':_0x35a766,'tableFieldId':_0xa4528d,'items':_0x38266a,'isAll':_0x164d9a};return _0x242153[_0xba181d(0x11a)](a[_0xba181d(0x140)]['id'],_0x33adf8);}async[_0x5ae8d5(0x13d)](_0x3171ff,_0x4d471f){const _0x42bd91=_0x5ae8d5,_0x418907=this[_0x42bd91(0x123)],_0xaa24d6=this[_0x42bd91(0x142)],_0x2cc1d2=this[_0x42bd91(0x135)],_0x343977=this[_0x42bd91(0x134)],_0x5631f9=_0x418907[_0x42bd91(0x13a)](r['ICommandService']),_0x33b62a={'unitId':_0xaa24d6,'subUnitId':_0x2cc1d2,'pivotTableId':_0x343977,'fieldId':_0x3171ff,'name':_0x4d471f};return _0x5631f9['executeCommand'](a[_0x42bd91(0x12d)]['id'],_0x33b62a);}}class S extends b[_0x5ae8d5(0x122)]{async['addPivotTable'](_0x41073f,_0x3f813f,_0x41b938){const _0x1a5ba5=_0x5ae8d5,_0x30cdbd=this[_0x1a5ba5(0x123)],_0x138d25=_0x30cdbd['get'](r['ICommandService']),_0x2f71af=P['generateHexNumber'](0x8),_0x1800a2={'positionType':_0x3f813f,'pivotTableId':_0x2f71af,'pivotTableConfig':{'targetCellInfo':_0x41b938,'sourceRangeInfo':_0x41073f,'isEmpty':!0x0}};if(await _0x138d25[_0x1a5ba5(0x11a)](a[_0x1a5ba5(0x12c)]['id'],_0x1800a2))return new I(_0x41b938[_0x1a5ba5(0x142)],_0x41b938['subUnitId'],_0x2f71af,_0x30cdbd);}['getPivotTableByCell'](_0xd19943,_0xe29ccf,_0x2e58ea,_0x5d703c){const _0x300048=_0x5ae8d5,_0x47b337=this[_0x300048(0x123)],_0x4a676b=_0x47b337['get'](a[_0x300048(0x128)])[_0x300048(0x13e)](_0xd19943,_0xe29ccf,_0x2e58ea,_0x5d703c);if(_0x4a676b)return new I(_0xd19943,_0xe29ccf,_0x4a676b,_0x47b337);}}b[_0x5ae8d5(0x122)][_0x5ae8d5(0x141)](S),exports['FPivotTable']=I;