@univerjs-pro/exchange-client 0.5.0-nightly.202411201606 → 0.5.0-nightly.202411221606

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 _0xf3d5(){const _0x313255=['UNIVER_SHEET','UNIVER_SLIDE','35FFaIAI','165fSzhYV','270050tEmvcd','importXLSXToSnapshot','UNIVER_PROJECT','UNIVER_DOC','1035714tDYHSq','importXLSXToUnitId','exportXLSXBySnapshot','959111RpjvyY','get','exportXLSXByUnitId','importFileToUnitId','IExchangeService','484tgzNeE','The\x20exchange\x20service\x20is\x20not\x20available','UNRECOGNIZED','FUniver','780724uquFRY','7215184ImAdba','4160988VEfjdk','importDOCXToSnapshot','35ShUavC','17973RkNYYx','@univerjs/core','_injector'];_0xf3d5=function(){return _0x313255;};return _0xf3d5();}const _0xa7bda7=_0x29a9;(function(_0x1bf6b4,_0x46814f){const _0x2fbf57=_0x29a9,_0xd1875a=_0x1bf6b4();while(!![]){try{const _0x1a3585=-parseInt(_0x2fbf57(0xd7))/0x1+-parseInt(_0x2fbf57(0xdc))/0x2*(-parseInt(_0x2fbf57(0xc9))/0x3)+-parseInt(_0x2fbf57(0xc4))/0x4*(-parseInt(_0x2fbf57(0xce))/0x5)+-parseInt(_0x2fbf57(0xd4))/0x6*(-parseInt(_0x2fbf57(0xc8))/0x7)+-parseInt(_0x2fbf57(0xc5))/0x8+-parseInt(_0x2fbf57(0xc6))/0x9+-parseInt(_0x2fbf57(0xd0))/0xa*(parseInt(_0x2fbf57(0xcf))/0xb);if(_0x1a3585===_0x46814f)break;else _0xd1875a['push'](_0xd1875a['shift']());}catch(_0xa0f657){_0xd1875a['push'](_0xd1875a['shift']());}}}(_0xf3d5,0xe81f0));function _0x29a9(_0x565e07,_0x1c70ef){const _0xf3d530=_0xf3d5();return _0x29a9=function(_0x29a952,_0xe7b5c6){_0x29a952=_0x29a952-0xc4;let _0x32e29c=_0xf3d530[_0x29a952];return _0x32e29c;},_0x29a9(_0x565e07,_0x1c70ef);}const c=require(_0xa7bda7(0xca)),n=require('@univerjs-pro/exchange-client');var i=(_0x30873a=>(_0x30873a[_0x30873a['UNIVER_UNKNOWN']=0x0]='UNIVER_UNKNOWN',_0x30873a[_0x30873a['UNIVER_DOC']=0x1]='UNIVER_DOC',_0x30873a[_0x30873a[_0xa7bda7(0xcc)]=0x2]=_0xa7bda7(0xcc),_0x30873a[_0x30873a[_0xa7bda7(0xcd)]=0x3]='UNIVER_SLIDE',_0x30873a[_0x30873a[_0xa7bda7(0xd2)]=0x4]='UNIVER_PROJECT',_0x30873a[_0x30873a['UNRECOGNIZED']=-0x1]=_0xa7bda7(0xde),_0x30873a))(i||{});class o extends c['FUniver']{async[_0xa7bda7(0xd5)](_0x3f9ffa){const _0x43acdd=_0xa7bda7,_0x2a95b6=this['_injector']['get'](n[_0x43acdd(0xdb)]);if(!_0x2a95b6)throw new Error(_0x43acdd(0xdd));return _0x2a95b6[_0x43acdd(0xda)](_0x3f9ffa,i[_0x43acdd(0xcc)]);}async[_0xa7bda7(0xd1)](_0x3b2a7a){const _0x1c26a0=_0xa7bda7,_0xf52ad4=this[_0x1c26a0(0xcb)][_0x1c26a0(0xd8)](n[_0x1c26a0(0xdb)]);if(!_0xf52ad4)throw new Error(_0x1c26a0(0xdd));return _0xf52ad4[_0x1c26a0(0xd1)](_0x3b2a7a);}async[_0xa7bda7(0xd9)](_0x3d0efe){const _0x5668cd=_0xa7bda7,_0x44aaf2=this[_0x5668cd(0xcb)][_0x5668cd(0xd8)](n[_0x5668cd(0xdb)]);if(!_0x44aaf2)throw new Error(_0x5668cd(0xdd));return _0x44aaf2[_0x5668cd(0xd9)](_0x3d0efe);}async[_0xa7bda7(0xd6)](_0x17a3f6){const _0x16bfb3=_0xa7bda7,_0x2baa6f=this['_injector'][_0x16bfb3(0xd8)](n[_0x16bfb3(0xdb)]);if(!_0x2baa6f)throw new Error(_0x16bfb3(0xdd));return _0x2baa6f[_0x16bfb3(0xd6)](_0x17a3f6);}async['importDOCXToUnitId'](_0x5cbb22){const _0x57301f=_0xa7bda7,_0x39ad0f=this[_0x57301f(0xcb)]['get'](n['IExchangeService']);if(!_0x39ad0f)throw new Error(_0x57301f(0xdd));return _0x39ad0f[_0x57301f(0xda)](_0x5cbb22,i[_0x57301f(0xd3)]);}async['importDOCXToSnapshot'](_0x16c3b0){const _0x3af185=_0xa7bda7,_0x256248=this[_0x3af185(0xcb)][_0x3af185(0xd8)](n[_0x3af185(0xdb)]);if(!_0x256248)throw new Error(_0x3af185(0xdd));return _0x256248[_0x3af185(0xc7)](_0x16c3b0);}}c[_0xa7bda7(0xdf)]['extend'](o);
1
+ 'use strict';const _0x4fed86=_0x52fb;(function(_0x3c2421,_0xc1677e){const _0x555b5a=_0x52fb,_0x5d1c1f=_0x3c2421();while(!![]){try{const _0x8795c3=-parseInt(_0x555b5a(0x134))/0x1*(parseInt(_0x555b5a(0x135))/0x2)+parseInt(_0x555b5a(0x149))/0x3*(-parseInt(_0x555b5a(0x145))/0x4)+-parseInt(_0x555b5a(0x147))/0x5*(parseInt(_0x555b5a(0x13f))/0x6)+-parseInt(_0x555b5a(0x148))/0x7*(parseInt(_0x555b5a(0x138))/0x8)+-parseInt(_0x555b5a(0x132))/0x9+parseInt(_0x555b5a(0x137))/0xa*(parseInt(_0x555b5a(0x146))/0xb)+parseInt(_0x555b5a(0x13a))/0xc*(parseInt(_0x555b5a(0x14a))/0xd);if(_0x8795c3===_0xc1677e)break;else _0x5d1c1f['push'](_0x5d1c1f['shift']());}catch(_0x30e628){_0x5d1c1f['push'](_0x5d1c1f['shift']());}}}(_0x577b,0x38de7));function _0x52fb(_0x1a7316,_0x1668d0){const _0x577b6e=_0x577b();return _0x52fb=function(_0x52fbf7,_0x33972c){_0x52fbf7=_0x52fbf7-0x132;let _0x1b6e35=_0x577b6e[_0x52fbf7];return _0x1b6e35;},_0x52fb(_0x1a7316,_0x1668d0);}const c=require('@univerjs/core'),n=require(_0x4fed86(0x144));function _0x577b(){const _0x3c8a41=['exportXLSXByUnitId','IExchangeService','_injector','@univerjs-pro/exchange-client','4YsZGcM','28270UWHnab','2258095ZMFGmJ','84WOcKXV','407586auheKe','2483741cdDVms','The\x20exchange\x20service\x20is\x20not\x20available','FUniver','importXLSXToSnapshot','importFileToUnitId','exportXLSXBySnapshot','1226610MgOdYg','importDOCXToUnitId','1hqdYxI','330348ZxuuoZ','importDOCXToSnapshot','750ViCvBk','144808xNoPYf','UNIVER_DOC','72NvPnKl','UNIVER_SHEET','extend','get','UNIVER_PROJECT','6AOyHpO','UNIVER_SLIDE'];_0x577b=function(){return _0x3c8a41;};return _0x577b();}var i=(_0x23e006=>(_0x23e006[_0x23e006['UNIVER_UNKNOWN']=0x0]='UNIVER_UNKNOWN',_0x23e006[_0x23e006['UNIVER_DOC']=0x1]=_0x4fed86(0x139),_0x23e006[_0x23e006[_0x4fed86(0x13b)]=0x2]=_0x4fed86(0x13b),_0x23e006[_0x23e006[_0x4fed86(0x140)]=0x3]='UNIVER_SLIDE',_0x23e006[_0x23e006[_0x4fed86(0x13e)]=0x4]=_0x4fed86(0x13e),_0x23e006[_0x23e006['UNRECOGNIZED']=-0x1]='UNRECOGNIZED',_0x23e006))(i||{});class o extends c[_0x4fed86(0x14c)]{async['importXLSXToUnitId'](_0x156fb6){const _0x217c03=_0x4fed86,_0x1afab4=this[_0x217c03(0x143)][_0x217c03(0x13d)](n[_0x217c03(0x142)]);if(!_0x1afab4)throw new Error(_0x217c03(0x14b));return _0x1afab4[_0x217c03(0x14e)](_0x156fb6,i[_0x217c03(0x13b)]);}async['importXLSXToSnapshot'](_0x4d1cc4){const _0x3af1d1=_0x4fed86,_0x2dc754=this[_0x3af1d1(0x143)][_0x3af1d1(0x13d)](n[_0x3af1d1(0x142)]);if(!_0x2dc754)throw new Error(_0x3af1d1(0x14b));return _0x2dc754[_0x3af1d1(0x14d)](_0x4d1cc4);}async[_0x4fed86(0x141)](_0x1fe1ee){const _0x1c3067=_0x4fed86,_0x51061d=this[_0x1c3067(0x143)][_0x1c3067(0x13d)](n[_0x1c3067(0x142)]);if(!_0x51061d)throw new Error('The\x20exchange\x20service\x20is\x20not\x20available');return _0x51061d[_0x1c3067(0x141)](_0x1fe1ee);}async[_0x4fed86(0x14f)](_0x320aa9){const _0x411fad=_0x4fed86,_0x57f271=this[_0x411fad(0x143)][_0x411fad(0x13d)](n[_0x411fad(0x142)]);if(!_0x57f271)throw new Error(_0x411fad(0x14b));return _0x57f271['exportXLSXBySnapshot'](_0x320aa9);}async[_0x4fed86(0x133)](_0x3ad5fd){const _0x3aeba4=_0x4fed86,_0x56c276=this[_0x3aeba4(0x143)]['get'](n[_0x3aeba4(0x142)]);if(!_0x56c276)throw new Error(_0x3aeba4(0x14b));return _0x56c276['importFileToUnitId'](_0x3ad5fd,i[_0x3aeba4(0x139)]);}async[_0x4fed86(0x136)](_0x5b713b){const _0x3beb8a=_0x4fed86,_0x3a7714=this[_0x3beb8a(0x143)][_0x3beb8a(0x13d)](n[_0x3beb8a(0x142)]);if(!_0x3a7714)throw new Error(_0x3beb8a(0x14b));return _0x3a7714['importDOCXToSnapshot'](_0x5b713b);}}c[_0x4fed86(0x14c)][_0x4fed86(0x13c)](o);