@univerjs-pro/sheets-pivot 0.5.0-alpha.0 → 0.5.0-nightly.202411101605
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/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/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/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/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 +9 -9
package/lib/cjs/facade.js
CHANGED
|
@@ -1 +1 @@
|
|
|
1
|
-
'use strict';const
|
|
1
|
+
'use strict';const _0x5cccbd=_0x2af9;(function(_0x5eb7ad,_0x5e8838){const _0x2cb319=_0x2af9,_0x48903b=_0x5eb7ad();while(!![]){try{const _0x154269=parseInt(_0x2cb319(0x101))/0x1*(-parseInt(_0x2cb319(0xfb))/0x2)+-parseInt(_0x2cb319(0xdd))/0x3+-parseInt(_0x2cb319(0xf5))/0x4+parseInt(_0x2cb319(0xec))/0x5+parseInt(_0x2cb319(0xf2))/0x6+parseInt(_0x2cb319(0xf3))/0x7+parseInt(_0x2cb319(0xee))/0x8;if(_0x154269===_0x5e8838)break;else _0x48903b['push'](_0x48903b['shift']());}catch(_0xff4645){_0x48903b['push'](_0x48903b['shift']());}}}(_0x29da,0x25f2d));function _0x2af9(_0x468822,_0x1b91f9){const _0x29da8f=_0x29da();return _0x2af9=function(_0x2af97f,_0xd1d0b5){_0x2af97f=_0x2af97f-0xd4;let _0x394db1=_0x29da8f[_0x2af97f];return _0x394db1;},_0x2af9(_0x468822,_0x1b91f9);}var C=Object[_0x5cccbd(0xfa)],g=(_0x8611ef,_0x3bcc7b,_0x25cf9b)=>_0x3bcc7b in _0x8611ef?C(_0x8611ef,_0x3bcc7b,{'enumerable':!0x0,'configurable':!0x0,'writable':!0x0,'value':_0x25cf9b}):_0x8611ef[_0x3bcc7b]=_0x25cf9b,l=(_0x3304bc,_0x28401a,_0x26796e)=>g(_0x3304bc,typeof _0x28401a!=_0x5cccbd(0xfd)?_0x28401a+'':_0x28401a,_0x26796e);Object['defineProperty'](exports,Symbol[_0x5cccbd(0xf8)],{'value':_0x5cccbd(0xe0)});const r=require(_0x5cccbd(0xe6)),b=require(_0x5cccbd(0xde)),P=require(_0x5cccbd(0xe7)),a=require(_0x5cccbd(0xe8));class I{constructor(_0x38fc41,_0x1919d8,_0x5cb9bc,_0x3a224f){const _0x531f1c=_0x5cccbd;l(this,_0x531f1c(0xeb)),l(this,_0x531f1c(0xd5)),l(this,_0x531f1c(0x100)),l(this,_0x531f1c(0xe5)),(this[_0x531f1c(0xeb)]=_0x38fc41,this['subUnitId']=_0x1919d8,this['pivotTableId']=_0x5cb9bc,this[_0x531f1c(0xe5)]=_0x3a224f);}['getConfig'](){const _0x19e341=_0x5cccbd;return this[_0x19e341(0xe5)][_0x19e341(0xda)](a[_0x19e341(0xe9)])[_0x19e341(0xdb)](this['unitId'],this[_0x19e341(0xd5)],this[_0x19e341(0x100)]);}async[_0x5cccbd(0xd9)](){const _0x5575ff=_0x5cccbd;return await this['_injector']['get'](r[_0x5575ff(0xf4)])['syncExecuteCommand'](a[_0x5575ff(0xed)]['id'],{'unitId':this['unitId'],'subUnitId':this[_0x5575ff(0xd5)],'pivotTableId':this[_0x5575ff(0x100)]});}async[_0x5cccbd(0xf1)](_0x81679c,_0x4bf1b0,_0x5e1218){const _0x3ea3a6=_0x5cccbd,_0x22d39b=this[_0x3ea3a6(0xe5)],_0x26bddc=this[_0x3ea3a6(0xeb)],_0x3795d7=this['subUnitId'],_0x336d9e=this[_0x3ea3a6(0x100)],_0x264bca=_0x22d39b[_0x3ea3a6(0xda)](r['ICommandService']),_0x3683f9=_0x22d39b[_0x3ea3a6(0xda)](a[_0x3ea3a6(0xe9)]),_0x22fb24=_0x3683f9[_0x3ea3a6(0xdb)](_0x26bddc,_0x3795d7,_0x336d9e),_0x2ff4da=_0x3683f9[_0x3ea3a6(0xf9)](_0x26bddc,_0x336d9e);if(!_0x22fb24||!_0x2ff4da)return!0x1;let _0x3a1536=_0x81679c;typeof _0x3a1536=='number'&&(_0x3a1536=_0x3683f9[_0x3ea3a6(0xf9)](_0x26bddc,_0x336d9e)[_0x3ea3a6(0xd6)][_0x81679c]);const _0xc8efd3={'unitId':_0x26bddc,'subUnitId':_0x3795d7,'pivotTableId':_0x336d9e,'dataFieldId':_0x3a1536,'fieldArea':_0x4bf1b0,'index':_0x5e1218};return _0x264bca[_0x3ea3a6(0xd8)](a[_0x3ea3a6(0xea)]['id'],_0xc8efd3);}async[_0x5cccbd(0xff)](_0x15ce85){const _0x1d5742=_0x5cccbd,_0x2a4cee=this[_0x1d5742(0xe5)],_0x5b7670=this[_0x1d5742(0xeb)],_0x568526=this['subUnitId'],_0x3967cb=this[_0x1d5742(0x100)],_0x50fd5a=_0x2a4cee[_0x1d5742(0xda)](r[_0x1d5742(0xf4)]),_0x3c12bd={'unitId':_0x5b7670,'subUnitId':_0x568526,'pivotTableId':_0x3967cb,'fieldIds':_0x15ce85};return _0x50fd5a[_0x1d5742(0xd8)](a['RemovePivotFieldCommand']['id'],_0x3c12bd);}async[_0x5cccbd(0xe4)](_0x341003,_0x412d0b,_0x4801f1){const _0x2d25b8=_0x5cccbd,_0x48bc00=this['_injector'],_0x492a86=this[_0x2d25b8(0xeb)],_0x2bbe52=this[_0x2d25b8(0xd5)],_0x155558=this['pivotTableId'],_0x243f06=_0x48bc00[_0x2d25b8(0xda)](r['ICommandService']),_0x18ed43={'unitId':_0x492a86,'subUnitId':_0x2bbe52,'pivotTableId':_0x155558,'fieldId':_0x341003,'area':_0x412d0b,'index':_0x4801f1};return _0x243f06[_0x2d25b8(0xd8)](a['MovePivotFieldCommand']['id'],_0x18ed43);}async[_0x5cccbd(0xdf)](_0x2fd4cb,_0x29bff4){const _0x2bdb14=_0x5cccbd,_0x173d69=this['_injector'],_0x534cd6=this[_0x2bdb14(0xeb)],_0x5d074b=this[_0x2bdb14(0xd5)],_0x414f32=this[_0x2bdb14(0x100)],_0x59a90b=_0x173d69[_0x2bdb14(0xda)](r[_0x2bdb14(0xf4)]),_0x2d5eb8={'unitId':_0x534cd6,'subUnitId':_0x5d074b,'pivotTableId':_0x414f32,'position':_0x2fd4cb,'index':_0x29bff4};return _0x59a90b[_0x2bdb14(0xd8)](a[_0x2bdb14(0xe2)]['id'],_0x2d5eb8);}async[_0x5cccbd(0xe3)](_0x40b65c,_0xfc2dfb){const _0x34b18f=_0x5cccbd,_0x2c08dc=this['_injector'],_0x41a885=this[_0x34b18f(0xeb)],_0x941282=this[_0x34b18f(0xd5)],_0x5a2d87=this[_0x34b18f(0x100)],_0x10d92f=_0x2c08dc[_0x34b18f(0xda)](r[_0x34b18f(0xf4)]),_0x48bea1={'unitId':_0x41a885,'subUnitId':_0x941282,'pivotTableId':_0x5a2d87,'fieldId':_0x40b65c,'subtotalType':_0xfc2dfb};return _0x10d92f[_0x34b18f(0xd8)](a['SetPivotSubtotalTypeMutation']['id'],_0x48bea1);}async[_0x5cccbd(0xdc)](_0x4e067a,_0x14b370){const _0x5266a1=_0x5cccbd,_0x2c1853=this[_0x5266a1(0xe5)],_0x2644d8=this[_0x5266a1(0xeb)],_0x8ac66c=this['subUnitId'],_0x8fe981=this[_0x5266a1(0x100)],_0x3cc91a=_0x2c1853['get'](r['ICommandService']),_0x18192c={'unitId':_0x2644d8,'subUnitId':_0x8ac66c,'tableFieldId':_0x4e067a,'pivotTableId':_0x8fe981,'info':_0x14b370};return _0x3cc91a['executeCommand'](a['SetPivotSortCommand']['id'],_0x18192c);}async[_0x5cccbd(0x102)](_0xb3876,_0x41bc1d,_0xce18cb){const _0x172d77=_0x5cccbd,_0x133ef6=this['_injector'],_0x3b3056=this[_0x172d77(0xeb)],_0x5e5afc=this[_0x172d77(0xd5)],_0x2cb7d8=this[_0x172d77(0x100)],_0x4ea2ce=_0x133ef6[_0x172d77(0xda)](r[_0x172d77(0xf4)]),_0x557448={'unitId':_0x3b3056,'subUnitId':_0x5e5afc,'pivotTableId':_0x2cb7d8,'tableFieldId':_0xb3876,'items':_0x41bc1d,'isAll':_0xce18cb};return _0x4ea2ce[_0x172d77(0xd8)](a[_0x172d77(0xfe)]['id'],_0x557448);}async['renameField'](_0x94828d,_0x2ede71){const _0x429cae=_0x5cccbd,_0x75e295=this[_0x429cae(0xe5)],_0x4229ea=this[_0x429cae(0xeb)],_0x4fd621=this[_0x429cae(0xd5)],_0x509ec2=this['pivotTableId'],_0x4d9e41=_0x75e295[_0x429cae(0xda)](r[_0x429cae(0xf4)]),_0x17570a={'unitId':_0x4229ea,'subUnitId':_0x4fd621,'pivotTableId':_0x509ec2,'fieldId':_0x94828d,'name':_0x2ede71};return _0x4d9e41[_0x429cae(0xd8)](a[_0x429cae(0xef)]['id'],_0x17570a);}}function _0x29da(){const _0x5a85b0=['Module','extend','UpdatePivotValuePositionCommand','setSubtotalType','updateFieldPosition','_injector','@univerjs/core','@univerjs-pro/engine-pivot','@univerjs-pro/sheets-pivot','SheetsPivotTableConfigModel','AddPivotFieldCommand','unitId','1506060SDaknS','RemovePivotTableMutation','2299784GpOzxW','RenamePivotFieldMutation','FWorkbook','addField','175242nNtlVJ','310646vNgAfR','ICommandService','1214896LcVWhc','addPivotTable','generateHexNumber','toStringTag','getCollection','defineProperty','2VspvON','FPivotTable','symbol','SetPivotFilterCommand','removeField','pivotTableId','162417HSlBtH','setLabelManualFilter','SheetsPivotTableAdaptorModel','subUnitId','fieldIds','getPivotTableIdByCell','executeCommand','remove','get','getPivotTableConfig','setLabelSort','122076EaPPhv','@univerjs/sheets/facade','updateValuePosition'];_0x29da=function(){return _0x5a85b0;};return _0x29da();}class S extends b[_0x5cccbd(0xf0)]{async[_0x5cccbd(0xf6)](_0x3c2102,_0x2240a2,_0xc01ee4){const _0x550f15=_0x5cccbd,_0x3473ef=this[_0x550f15(0xe5)],_0x3e5dd1=_0x3473ef['get'](r[_0x550f15(0xf4)]),_0x4329ab=P[_0x550f15(0xf7)](0x8),_0x1e7169={'positionType':_0x2240a2,'pivotTableId':_0x4329ab,'pivotTableConfig':{'targetCellInfo':_0xc01ee4,'sourceRangeInfo':_0x3c2102,'isEmpty':!0x0}};if(await _0x3e5dd1['executeCommand'](a['AddPivotTableCommand']['id'],_0x1e7169))return new I(_0xc01ee4[_0x550f15(0xeb)],_0xc01ee4[_0x550f15(0xd5)],_0x4329ab,_0x3473ef);}['getPivotTableByCell'](_0x1009dd,_0x2b73a6,_0x2cb875,_0x4c6169){const _0x3cfc1a=_0x5cccbd,_0x4f0519=this[_0x3cfc1a(0xe5)],_0x245e22=_0x4f0519[_0x3cfc1a(0xda)](a[_0x3cfc1a(0xd4)])[_0x3cfc1a(0xd7)](_0x1009dd,_0x2b73a6,_0x2cb875,_0x4c6169);if(_0x245e22)return new I(_0x1009dd,_0x2b73a6,_0x245e22,_0x4f0519);}}b[_0x5cccbd(0xf0)][_0x5cccbd(0xe1)](S),exports[_0x5cccbd(0xfc)]=I;
|