@univerjs-pro/exchange-client 0.6.0-nightly.202502181606 → 0.6.0-nightly.202502191606

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';function _0x5842(_0x37e699,_0x1e1b3e){const _0x5f74e7=_0x5f74();return _0x5842=function(_0x58425f,_0x59e73d){_0x58425f=_0x58425f-0xdb;let _0x493869=_0x5f74e7[_0x58425f];return _0x493869;},_0x5842(_0x37e699,_0x1e1b3e);}const _0x4c4a34=_0x5842;(function(_0x384b07,_0x4c21d6){const _0x352342=_0x5842,_0x4f288a=_0x384b07();while(!![]){try{const _0x33d264=-parseInt(_0x352342(0xf8))/0x1+-parseInt(_0x352342(0xed))/0x2*(-parseInt(_0x352342(0xf9))/0x3)+-parseInt(_0x352342(0xf6))/0x4+parseInt(_0x352342(0xf7))/0x5*(parseInt(_0x352342(0xfa))/0x6)+parseInt(_0x352342(0xef))/0x7+-parseInt(_0x352342(0xe2))/0x8*(parseInt(_0x352342(0xdb))/0x9)+parseInt(_0x352342(0xfc))/0xa;if(_0x33d264===_0x4c21d6)break;else _0x4f288a['push'](_0x4f288a['shift']());}catch(_0x410465){_0x4f288a['push'](_0x4f288a['shift']());}}}(_0x5f74,0xd7e48));const r=require('@univerjs-pro/exchange-client'),i=require(_0x4c4a34(0xf0));var o=(_0x2d8ef8=>(_0x2d8ef8[_0x2d8ef8[_0x4c4a34(0xde)]=0x0]=_0x4c4a34(0xde),_0x2d8ef8[_0x2d8ef8[_0x4c4a34(0xdd)]=0x1]=_0x4c4a34(0xdd),_0x2d8ef8[_0x2d8ef8['UNIVER_SHEET']=0x2]='UNIVER_SHEET',_0x2d8ef8[_0x2d8ef8[_0x4c4a34(0xdf)]=0x3]=_0x4c4a34(0xdf),_0x2d8ef8[_0x2d8ef8[_0x4c4a34(0xf5)]=0x4]=_0x4c4a34(0xf5),_0x2d8ef8[_0x2d8ef8[_0x4c4a34(0xe7)]=-0x1]='UNRECOGNIZED',_0x2d8ef8))(o||{});function _0x5f74(){const _0x14e7d0=['6lncUSV','importDOCXToSnapshot','8681380jNwWaq','importXLSXToSnapshot','1382688EtFojD','FUniver','UNIVER_DOC','UNIVER_UNKNOWN','UNIVER_SLIDE','get','exportXLSXBySnapshotAsync','48xynDUR','importDOCXToUnitId','importXLSXToUnitIdAsync','importDOCXToSnapshotAsync','importFileToUnitId','UNRECOGNIZED','The\x20exchange\x20service\x20is\x20not\x20available','exportXLSXByUnitId','importXLSXToSnapshotAsync','UNIVER_SHEET','IExchangeService','2cpnEgc','_injector','10195696eVQAPG','@univerjs/core/facade','extend','exportXLSXByUnitIdAsync','exportXLSXBySnapshot','importXLSXToUnitId','UNIVER_PROJECT','4339304GCtjzv','5826055pMvuDj','1433812ZgAJWN','2504547GBQYel'];_0x5f74=function(){return _0x14e7d0;};return _0x5f74();}class c extends i[_0x4c4a34(0xdc)]{async[_0x4c4a34(0xf4)](_0x385a64){const _0x438f2d=_0x4c4a34;return this[_0x438f2d(0xe4)](_0x385a64);}async['importXLSXToUnitIdAsync'](_0x5c6f6b){const _0x51c75e=_0x4c4a34,_0x133c82=this[_0x51c75e(0xee)][_0x51c75e(0xe0)](r[_0x51c75e(0xec)]);if(!_0x133c82)throw new Error(_0x51c75e(0xe8));return _0x133c82[_0x51c75e(0xe6)](_0x5c6f6b,o[_0x51c75e(0xeb)]);}async[_0x4c4a34(0xfd)](_0xf25380){const _0x57f8d5=_0x4c4a34;return this[_0x57f8d5(0xea)](_0xf25380);}async[_0x4c4a34(0xea)](_0x35a07c){const _0x2faba2=_0x4c4a34,_0x3d2b3=this[_0x2faba2(0xee)][_0x2faba2(0xe0)](r[_0x2faba2(0xec)]);if(!_0x3d2b3)throw new Error(_0x2faba2(0xe8));return _0x3d2b3[_0x2faba2(0xfd)](_0x35a07c);}async[_0x4c4a34(0xe9)](_0x153ff3){return this['exportXLSXByUnitIdAsync'](_0x153ff3);}async[_0x4c4a34(0xf2)](_0x1befcf){const _0x1ed856=_0x4c4a34,_0xa18e3a=this[_0x1ed856(0xee)][_0x1ed856(0xe0)](r['IExchangeService']);if(!_0xa18e3a)throw new Error(_0x1ed856(0xe8));return _0xa18e3a[_0x1ed856(0xe9)](_0x1befcf);}async[_0x4c4a34(0xf3)](_0x3491b7){const _0x8c8681=_0x4c4a34;return this[_0x8c8681(0xe1)](_0x3491b7);}async['exportXLSXBySnapshotAsync'](_0x1ab2c3){const _0x4d6a5b=_0x4c4a34,_0x4ff804=this[_0x4d6a5b(0xee)][_0x4d6a5b(0xe0)](r['IExchangeService']);if(!_0x4ff804)throw new Error('The\x20exchange\x20service\x20is\x20not\x20available');return _0x4ff804['exportXLSXBySnapshot'](_0x1ab2c3);}async[_0x4c4a34(0xe3)](_0x1ed824){return this['importDOCXToUnitIdAsync'](_0x1ed824);}async['importDOCXToUnitIdAsync'](_0x2e9f91){const _0x2746f5=_0x4c4a34,_0x2c6470=this['_injector'][_0x2746f5(0xe0)](r[_0x2746f5(0xec)]);if(!_0x2c6470)throw new Error(_0x2746f5(0xe8));return _0x2c6470[_0x2746f5(0xe6)](_0x2e9f91,o['UNIVER_DOC']);}async[_0x4c4a34(0xfb)](_0x3f1060){const _0x4ceac1=_0x4c4a34;return this[_0x4ceac1(0xe5)](_0x3f1060);}async[_0x4c4a34(0xe5)](_0xfe6ef0){const _0x5e01fe=_0x4c4a34,_0x1b8d03=this['_injector'][_0x5e01fe(0xe0)](r['IExchangeService']);if(!_0x1b8d03)throw new Error('The\x20exchange\x20service\x20is\x20not\x20available');return _0x1b8d03['importDOCXToSnapshot'](_0xfe6ef0);}}i['FUniver'][_0x4c4a34(0xf1)](c);
1
+ 'use strict';const _0x2b14be=_0x3333;function _0x3551(){const _0x293627=['importXLSXToUnitIdAsync','get','exportXLSXBySnapshot','2FbyCkm','UNIVER_PROJECT','extend','UNRECOGNIZED','4058943qCIhnj','54535NQHbPz','730036TRICNI','IExchangeService','582961aFNSxW','importDOCXToUnitId','FUniver','importDOCXToUnitIdAsync','importFileToUnitId','exportXLSXByUnitIdAsync','2660192UHPLpq','@univerjs/core/facade','UNIVER_UNKNOWN','54SoORRw','The\x20exchange\x20service\x20is\x20not\x20available','15427683DnzZyl','importDOCXToSnapshotAsync','importXLSXToSnapshot','UNIVER_DOC','importDOCXToSnapshot','importXLSXToSnapshotAsync','UNIVER_SHEET','@univerjs-pro/exchange-client','_injector','1756314WXGtsg'];_0x3551=function(){return _0x293627;};return _0x3551();}function _0x3333(_0x271c40,_0x14492b){const _0x355192=_0x3551();return _0x3333=function(_0x3333ec,_0x3a1289){_0x3333ec=_0x3333ec-0x15c;let _0x4adf86=_0x355192[_0x3333ec];return _0x4adf86;},_0x3333(_0x271c40,_0x14492b);}(function(_0x26d47a,_0xca6f1d){const _0x4af2e3=_0x3333,_0x19d3ed=_0x26d47a();while(!![]){try{const _0x40be58=-parseInt(_0x4af2e3(0x169))/0x1*(parseInt(_0x4af2e3(0x161))/0x2)+-parseInt(_0x4af2e3(0x15d))/0x3+parseInt(_0x4af2e3(0x167))/0x4+parseInt(_0x4af2e3(0x166))/0x5*(-parseInt(_0x4af2e3(0x172))/0x6)+-parseInt(_0x4af2e3(0x165))/0x7+parseInt(_0x4af2e3(0x16f))/0x8+parseInt(_0x4af2e3(0x174))/0x9;if(_0x40be58===_0xca6f1d)break;else _0x19d3ed['push'](_0x19d3ed['shift']());}catch(_0x4c8f00){_0x19d3ed['push'](_0x19d3ed['shift']());}}}(_0x3551,0x5d759));const r=require(_0x2b14be(0x17b)),i=require(_0x2b14be(0x170));var o=(_0x4290dd=>(_0x4290dd[_0x4290dd[_0x2b14be(0x171)]=0x0]=_0x2b14be(0x171),_0x4290dd[_0x4290dd[_0x2b14be(0x177)]=0x1]=_0x2b14be(0x177),_0x4290dd[_0x4290dd[_0x2b14be(0x17a)]=0x2]='UNIVER_SHEET',_0x4290dd[_0x4290dd['UNIVER_SLIDE']=0x3]='UNIVER_SLIDE',_0x4290dd[_0x4290dd['UNIVER_PROJECT']=0x4]=_0x2b14be(0x162),_0x4290dd[_0x4290dd[_0x2b14be(0x164)]=-0x1]=_0x2b14be(0x164),_0x4290dd))(o||{});class c extends i[_0x2b14be(0x16b)]{async['importXLSXToUnitId'](_0x1d0a3e){const _0x41ecd7=_0x2b14be;return this[_0x41ecd7(0x15e)](_0x1d0a3e);}async[_0x2b14be(0x15e)](_0x436c95){const _0x13cf7d=_0x2b14be,_0x38951b=this[_0x13cf7d(0x15c)][_0x13cf7d(0x15f)](r['IExchangeService']);if(!_0x38951b)throw new Error('The\x20exchange\x20service\x20is\x20not\x20available');return _0x38951b[_0x13cf7d(0x16d)](_0x436c95,o[_0x13cf7d(0x17a)]);}async[_0x2b14be(0x176)](_0x5a4d00){const _0x543ec6=_0x2b14be;return this[_0x543ec6(0x179)](_0x5a4d00);}async['importXLSXToSnapshotAsync'](_0x45cd2d){const _0x460a06=_0x2b14be,_0x5c9c21=this[_0x460a06(0x15c)][_0x460a06(0x15f)](r[_0x460a06(0x168)]);if(!_0x5c9c21)throw new Error(_0x460a06(0x173));return _0x5c9c21[_0x460a06(0x176)](_0x45cd2d);}async['exportXLSXByUnitId'](_0x5ba0c7){const _0x1c1a3f=_0x2b14be;return this[_0x1c1a3f(0x16e)](_0x5ba0c7);}async[_0x2b14be(0x16e)](_0x23f45d){const _0x2016de=_0x2b14be,_0x5108cb=this[_0x2016de(0x15c)][_0x2016de(0x15f)](r['IExchangeService']);if(!_0x5108cb)throw new Error(_0x2016de(0x173));return _0x5108cb['exportXLSXByUnitId'](_0x23f45d);}async[_0x2b14be(0x160)](_0x2e8d57){return this['exportXLSXBySnapshotAsync'](_0x2e8d57);}async['exportXLSXBySnapshotAsync'](_0x3f3967){const _0x2cdb5a=_0x2b14be,_0x14a7dc=this[_0x2cdb5a(0x15c)][_0x2cdb5a(0x15f)](r[_0x2cdb5a(0x168)]);if(!_0x14a7dc)throw new Error('The\x20exchange\x20service\x20is\x20not\x20available');return _0x14a7dc[_0x2cdb5a(0x160)](_0x3f3967);}async[_0x2b14be(0x16a)](_0x3ed22e){return this['importDOCXToUnitIdAsync'](_0x3ed22e);}async[_0x2b14be(0x16c)](_0x4d9003){const _0x6900f7=_0x2b14be,_0x37e356=this[_0x6900f7(0x15c)][_0x6900f7(0x15f)](r[_0x6900f7(0x168)]);if(!_0x37e356)throw new Error('The\x20exchange\x20service\x20is\x20not\x20available');return _0x37e356[_0x6900f7(0x16d)](_0x4d9003,o[_0x6900f7(0x177)]);}async[_0x2b14be(0x178)](_0x54ef7b){const _0x389851=_0x2b14be;return this[_0x389851(0x175)](_0x54ef7b);}async[_0x2b14be(0x175)](_0x310fbe){const _0x1abad9=_0x2b14be,_0x14981b=this[_0x1abad9(0x15c)][_0x1abad9(0x15f)](r[_0x1abad9(0x168)]);if(!_0x14981b)throw new Error(_0x1abad9(0x173));return _0x14981b[_0x1abad9(0x178)](_0x310fbe);}}i[_0x2b14be(0x16b)][_0x2b14be(0x163)](c);