@univerjs-pro/exchange-client 0.6.9-experimental.20250403-d914ddc → 0.6.9-experimental.20250406-d422c87

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 _0x2e0b46=_0x2bf6;function _0x2bf6(_0x3979f2,_0x924d1){const _0x16f0d7=_0x16f0();return _0x2bf6=function(_0x2bf63a,_0x2b32ca){_0x2bf63a=_0x2bf63a-0x158;let _0xfaede3=_0x16f0d7[_0x2bf63a];return _0xfaede3;},_0x2bf6(_0x3979f2,_0x924d1);}(function(_0x38f2fa,_0x51b293){const _0x53a2fa=_0x2bf6,_0xfe9e78=_0x38f2fa();while(!![]){try{const _0x3049a0=parseInt(_0x53a2fa(0x164))/0x1+parseInt(_0x53a2fa(0x179))/0x2*(parseInt(_0x53a2fa(0x171))/0x3)+parseInt(_0x53a2fa(0x160))/0x4*(parseInt(_0x53a2fa(0x169))/0x5)+parseInt(_0x53a2fa(0x165))/0x6+parseInt(_0x53a2fa(0x15c))/0x7+parseInt(_0x53a2fa(0x159))/0x8*(parseInt(_0x53a2fa(0x158))/0x9)+-parseInt(_0x53a2fa(0x15e))/0xa*(parseInt(_0x53a2fa(0x163))/0xb);if(_0x3049a0===_0x51b293)break;else _0xfe9e78['push'](_0xfe9e78['shift']());}catch(_0x5948f0){_0xfe9e78['push'](_0xfe9e78['shift']());}}}(_0x16f0,0xc1c35));function _0x16f0(){const _0x527eb4=['UNIVER_SHEET','importXLSXToUnitId','UNIVER_SLIDE','get','exportXLSXByUnitId','IExchangeService','FUniver','21RZDmrm','_injector','importDOCXToSnapshotAsync','@univerjs/core/facade','importDOCXToUnitIdAsync','importDOCXToUnitId','UNIVER_PROJECT','UNRECOGNIZED','170278eHtlMQ','importXLSXToUnitIdAsync','importDOCXToSnapshot','18153lkuLrq','3064NfNlfM','importFileToUnitId','@univerjs-pro/exchange-client','5621497OaSgpZ','The\x20exchange\x20service\x20is\x20not\x20available','10BUYeQi','exportXLSXByUnitIdAsync','5850124aJKAVT','exportXLSXBySnapshot','importXLSXToSnapshotAsync','46914571FRoJzX','654668zGonSc','4619160TXSniY','importXLSXToSnapshot','UNIVER_DOC','exportXLSXBySnapshotAsync','5kuiJyW'];_0x16f0=function(){return _0x527eb4;};return _0x16f0();}const r=require(_0x2e0b46(0x15b)),i=require(_0x2e0b46(0x174));var o=(_0x444b9f=>(_0x444b9f[_0x444b9f['UNIVER_UNKNOWN']=0x0]='UNIVER_UNKNOWN',_0x444b9f[_0x444b9f[_0x2e0b46(0x167)]=0x1]='UNIVER_DOC',_0x444b9f[_0x444b9f[_0x2e0b46(0x16a)]=0x2]=_0x2e0b46(0x16a),_0x444b9f[_0x444b9f[_0x2e0b46(0x16c)]=0x3]=_0x2e0b46(0x16c),_0x444b9f[_0x444b9f[_0x2e0b46(0x177)]=0x4]=_0x2e0b46(0x177),_0x444b9f[_0x444b9f[_0x2e0b46(0x178)]=-0x1]=_0x2e0b46(0x178),_0x444b9f))(o||{});class c extends i[_0x2e0b46(0x170)]{async[_0x2e0b46(0x16b)](_0x576227){const _0x117b09=_0x2e0b46;return this[_0x117b09(0x17a)](_0x576227);}async[_0x2e0b46(0x17a)](_0x12f91b){const _0x7f478d=_0x2e0b46,_0x3af799=this[_0x7f478d(0x172)]['get'](r['IExchangeService']);if(!_0x3af799)throw new Error(_0x7f478d(0x15d));return _0x3af799[_0x7f478d(0x15a)](_0x12f91b,o[_0x7f478d(0x16a)]);}async[_0x2e0b46(0x166)](_0x4babc2){const _0x72fec4=_0x2e0b46;return this[_0x72fec4(0x162)](_0x4babc2);}async['importXLSXToSnapshotAsync'](_0x3490d9){const _0x392eee=_0x2e0b46,_0x3bdefb=this[_0x392eee(0x172)][_0x392eee(0x16d)](r[_0x392eee(0x16f)]);if(!_0x3bdefb)throw new Error(_0x392eee(0x15d));return _0x3bdefb['importXLSXToSnapshot'](_0x3490d9);}async[_0x2e0b46(0x16e)](_0x1c0a6c){const _0x42b296=_0x2e0b46;return this[_0x42b296(0x15f)](_0x1c0a6c);}async[_0x2e0b46(0x15f)](_0x1bc0c6){const _0x13b34a=_0x2e0b46,_0x44c153=this[_0x13b34a(0x172)]['get'](r[_0x13b34a(0x16f)]);if(!_0x44c153)throw new Error(_0x13b34a(0x15d));return _0x44c153['exportXLSXByUnitId'](_0x1bc0c6);}async[_0x2e0b46(0x161)](_0x3a1b37){const _0x4d19c0=_0x2e0b46;return this[_0x4d19c0(0x168)](_0x3a1b37);}async[_0x2e0b46(0x168)](_0xcc4bd1){const _0x447b41=_0x2e0b46,_0x54e19b=this[_0x447b41(0x172)][_0x447b41(0x16d)](r[_0x447b41(0x16f)]);if(!_0x54e19b)throw new Error(_0x447b41(0x15d));return _0x54e19b['exportXLSXBySnapshot'](_0xcc4bd1);}async[_0x2e0b46(0x176)](_0x217885){const _0x193003=_0x2e0b46;return this[_0x193003(0x175)](_0x217885);}async[_0x2e0b46(0x175)](_0x145ca6){const _0x2c222a=_0x2e0b46,_0x539e8a=this[_0x2c222a(0x172)][_0x2c222a(0x16d)](r[_0x2c222a(0x16f)]);if(!_0x539e8a)throw new Error(_0x2c222a(0x15d));return _0x539e8a[_0x2c222a(0x15a)](_0x145ca6,o[_0x2c222a(0x167)]);}async['importDOCXToSnapshot'](_0xd1af7b){const _0x13af8d=_0x2e0b46;return this[_0x13af8d(0x173)](_0xd1af7b);}async[_0x2e0b46(0x173)](_0x178fa8){const _0x324fba=_0x2e0b46,_0x103dde=this['_injector'][_0x324fba(0x16d)](r[_0x324fba(0x16f)]);if(!_0x103dde)throw new Error(_0x324fba(0x15d));return _0x103dde[_0x324fba(0x17b)](_0x178fa8);}}i[_0x2e0b46(0x170)]['extend'](c);
1
+ 'use strict';const _0xdda8f1=_0x5a09;(function(_0x2df768,_0x141284){const _0x3f5c44=_0x5a09,_0x3dcf8c=_0x2df768();while(!![]){try{const _0x1da16e=-parseInt(_0x3f5c44(0x145))/0x1+parseInt(_0x3f5c44(0x159))/0x2*(parseInt(_0x3f5c44(0x15d))/0x3)+-parseInt(_0x3f5c44(0x163))/0x4+-parseInt(_0x3f5c44(0x161))/0x5+parseInt(_0x3f5c44(0x158))/0x6+parseInt(_0x3f5c44(0x148))/0x7+parseInt(_0x3f5c44(0x165))/0x8;if(_0x1da16e===_0x141284)break;else _0x3dcf8c['push'](_0x3dcf8c['shift']());}catch(_0xa6d8f2){_0x3dcf8c['push'](_0x3dcf8c['shift']());}}}(_0x1bc6,0xa53c8));function _0x1bc6(){const _0x1e5d40=['IExchangeService','importDOCXToUnitId','importXLSXToUnitId','UNIVER_SHEET','importDOCXToSnapshot','importFileToUnitId','exportXLSXByUnitId','importDOCXToUnitIdAsync','@univerjs/core/facade','_injector','get','7616202SUSBCu','1336MKblme','UNIVER_PROJECT','exportXLSXByUnitIdAsync','exportXLSXBySnapshot','4569wqWlgl','@univerjs-pro/exchange-client','UNIVER_UNKNOWN','UNRECOGNIZED','6114425DyTocc','importDOCXToSnapshotAsync','5238256iMYUBx','importXLSXToUnitIdAsync','5520904bYDsYd','importXLSXToSnapshot','638146iNivaE','exportXLSXBySnapshotAsync','importXLSXToSnapshotAsync','6093913ZyIJYF','UNIVER_SLIDE','FUniver','The\x20exchange\x20service\x20is\x20not\x20available','UNIVER_DOC'];_0x1bc6=function(){return _0x1e5d40;};return _0x1bc6();}const r=require(_0xdda8f1(0x15e)),i=require(_0xdda8f1(0x155));function _0x5a09(_0x41a6c3,_0x59670d){const _0x1bc625=_0x1bc6();return _0x5a09=function(_0x5a09de,_0x229fa1){_0x5a09de=_0x5a09de-0x144;let _0x52cdd3=_0x1bc625[_0x5a09de];return _0x52cdd3;},_0x5a09(_0x41a6c3,_0x59670d);}var o=(_0x352151=>(_0x352151[_0x352151[_0xdda8f1(0x15f)]=0x0]=_0xdda8f1(0x15f),_0x352151[_0x352151[_0xdda8f1(0x14c)]=0x1]=_0xdda8f1(0x14c),_0x352151[_0x352151[_0xdda8f1(0x150)]=0x2]=_0xdda8f1(0x150),_0x352151[_0x352151[_0xdda8f1(0x149)]=0x3]=_0xdda8f1(0x149),_0x352151[_0x352151[_0xdda8f1(0x15a)]=0x4]=_0xdda8f1(0x15a),_0x352151[_0x352151[_0xdda8f1(0x160)]=-0x1]=_0xdda8f1(0x160),_0x352151))(o||{});class c extends i[_0xdda8f1(0x14a)]{async[_0xdda8f1(0x14f)](_0x337502){const _0x8b5741=_0xdda8f1;return this[_0x8b5741(0x164)](_0x337502);}async[_0xdda8f1(0x164)](_0x47c522){const _0x54cd57=_0xdda8f1,_0x828fd7=this[_0x54cd57(0x156)]['get'](r['IExchangeService']);if(!_0x828fd7)throw new Error(_0x54cd57(0x14b));return _0x828fd7[_0x54cd57(0x152)](_0x47c522,o[_0x54cd57(0x150)]);}async[_0xdda8f1(0x144)](_0x454efc){const _0x164c7b=_0xdda8f1;return this[_0x164c7b(0x147)](_0x454efc);}async['importXLSXToSnapshotAsync'](_0x1e6bac){const _0x51c889=_0xdda8f1,_0x3a6000=this[_0x51c889(0x156)][_0x51c889(0x157)](r[_0x51c889(0x14d)]);if(!_0x3a6000)throw new Error('The\x20exchange\x20service\x20is\x20not\x20available');return _0x3a6000[_0x51c889(0x144)](_0x1e6bac);}async[_0xdda8f1(0x153)](_0xb21139){return this['exportXLSXByUnitIdAsync'](_0xb21139);}async[_0xdda8f1(0x15b)](_0x4c2ad0){const _0x5abec2=_0xdda8f1,_0x156aa0=this['_injector'][_0x5abec2(0x157)](r[_0x5abec2(0x14d)]);if(!_0x156aa0)throw new Error(_0x5abec2(0x14b));return _0x156aa0[_0x5abec2(0x153)](_0x4c2ad0);}async[_0xdda8f1(0x15c)](_0x1c0460){const _0x4d0cb3=_0xdda8f1;return this[_0x4d0cb3(0x146)](_0x1c0460);}async[_0xdda8f1(0x146)](_0x58be46){const _0x511990=_0xdda8f1,_0x3b796d=this[_0x511990(0x156)][_0x511990(0x157)](r[_0x511990(0x14d)]);if(!_0x3b796d)throw new Error(_0x511990(0x14b));return _0x3b796d[_0x511990(0x15c)](_0x58be46);}async[_0xdda8f1(0x14e)](_0xb12f7c){const _0x1e4451=_0xdda8f1;return this[_0x1e4451(0x154)](_0xb12f7c);}async[_0xdda8f1(0x154)](_0x519637){const _0x3ef539=_0xdda8f1,_0x5092bb=this[_0x3ef539(0x156)][_0x3ef539(0x157)](r[_0x3ef539(0x14d)]);if(!_0x5092bb)throw new Error(_0x3ef539(0x14b));return _0x5092bb[_0x3ef539(0x152)](_0x519637,o[_0x3ef539(0x14c)]);}async[_0xdda8f1(0x151)](_0x480b32){const _0x267074=_0xdda8f1;return this[_0x267074(0x162)](_0x480b32);}async[_0xdda8f1(0x162)](_0x1da455){const _0x2a3a53=_0xdda8f1,_0x1e753d=this[_0x2a3a53(0x156)][_0x2a3a53(0x157)](r[_0x2a3a53(0x14d)]);if(!_0x1e753d)throw new Error(_0x2a3a53(0x14b));return _0x1e753d[_0x2a3a53(0x151)](_0x1da455);}}i['FUniver']['extend'](c);