@univerjs-pro/exchange-client 0.5.1-nightly.202412190703 → 0.5.1-nightly.202412190838

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 _0x5ca768=_0x3213;function _0x1874(){const _0x181875=['1217049UJBJCO','extend','get','The\x20exchange\x20service\x20is\x20not\x20available','1405788zzskQZ','importXLSXToSnapshot','@univerjs/core','UNIVER_SHEET','3634407AWxEvI','16KtqIHh','UNIVER_UNKNOWN','IExchangeService','importFileToUnitId','436fgKjqL','importDOCXToSnapshot','_injector','exportXLSXBySnapshot','2mBBKrk','5892803DkGRsQ','4460NTsMRB','UNRECOGNIZED','1045923pZBTwQ','exportXLSXByUnitId','UNIVER_PROJECT','32567990ILrGrD','FUniver','UNIVER_DOC'];_0x1874=function(){return _0x181875;};return _0x1874();}(function(_0x14cb0d,_0x539b78){const _0x4f4a30=_0x3213,_0x148759=_0x14cb0d();while(!![]){try{const _0x362836=-parseInt(_0x4f4a30(0x152))/0x1+-parseInt(_0x4f4a30(0x14e))/0x2*(-parseInt(_0x4f4a30(0x158))/0x3)+-parseInt(_0x4f4a30(0x14a))/0x4*(parseInt(_0x4f4a30(0x150))/0x5)+-parseInt(_0x4f4a30(0x15c))/0x6+-parseInt(_0x4f4a30(0x14f))/0x7+-parseInt(_0x4f4a30(0x161))/0x8*(parseInt(_0x4f4a30(0x160))/0x9)+parseInt(_0x4f4a30(0x155))/0xa;if(_0x362836===_0x539b78)break;else _0x148759['push'](_0x148759['shift']());}catch(_0xe5f0c8){_0x148759['push'](_0x148759['shift']());}}}(_0x1874,0x9b2a6));const c=require(_0x5ca768(0x15e)),n=require('@univerjs-pro/exchange-client');var i=(_0x253c2e=>(_0x253c2e[_0x253c2e[_0x5ca768(0x162)]=0x0]='UNIVER_UNKNOWN',_0x253c2e[_0x253c2e[_0x5ca768(0x157)]=0x1]=_0x5ca768(0x157),_0x253c2e[_0x253c2e[_0x5ca768(0x15f)]=0x2]=_0x5ca768(0x15f),_0x253c2e[_0x253c2e['UNIVER_SLIDE']=0x3]='UNIVER_SLIDE',_0x253c2e[_0x253c2e[_0x5ca768(0x154)]=0x4]=_0x5ca768(0x154),_0x253c2e[_0x253c2e[_0x5ca768(0x151)]=-0x1]=_0x5ca768(0x151),_0x253c2e))(i||{});function _0x3213(_0x10d180,_0x244ad8){const _0x187446=_0x1874();return _0x3213=function(_0x321327,_0x17f0f6){_0x321327=_0x321327-0x14a;let _0x603a28=_0x187446[_0x321327];return _0x603a28;},_0x3213(_0x10d180,_0x244ad8);}class o extends c[_0x5ca768(0x156)]{async['importXLSXToUnitId'](_0x1187ef){const _0x43d489=_0x5ca768,_0x5f4b7e=this[_0x43d489(0x14c)]['get'](n[_0x43d489(0x163)]);if(!_0x5f4b7e)throw new Error(_0x43d489(0x15b));return _0x5f4b7e['importFileToUnitId'](_0x1187ef,i[_0x43d489(0x15f)]);}async[_0x5ca768(0x15d)](_0x53500b){const _0x3be28b=_0x5ca768,_0x3c4781=this[_0x3be28b(0x14c)][_0x3be28b(0x15a)](n[_0x3be28b(0x163)]);if(!_0x3c4781)throw new Error(_0x3be28b(0x15b));return _0x3c4781[_0x3be28b(0x15d)](_0x53500b);}async[_0x5ca768(0x153)](_0x592192){const _0x3f608b=_0x5ca768,_0x4646ac=this[_0x3f608b(0x14c)][_0x3f608b(0x15a)](n[_0x3f608b(0x163)]);if(!_0x4646ac)throw new Error('The\x20exchange\x20service\x20is\x20not\x20available');return _0x4646ac[_0x3f608b(0x153)](_0x592192);}async['exportXLSXBySnapshot'](_0x11753f){const _0x7dd8c9=_0x5ca768,_0x4a7c7e=this[_0x7dd8c9(0x14c)][_0x7dd8c9(0x15a)](n[_0x7dd8c9(0x163)]);if(!_0x4a7c7e)throw new Error(_0x7dd8c9(0x15b));return _0x4a7c7e[_0x7dd8c9(0x14d)](_0x11753f);}async['importDOCXToUnitId'](_0xb96f06){const _0x1a0d61=_0x5ca768,_0x45b403=this['_injector'][_0x1a0d61(0x15a)](n[_0x1a0d61(0x163)]);if(!_0x45b403)throw new Error('The\x20exchange\x20service\x20is\x20not\x20available');return _0x45b403[_0x1a0d61(0x164)](_0xb96f06,i['UNIVER_DOC']);}async['importDOCXToSnapshot'](_0x45732a){const _0x1ff140=_0x5ca768,_0x7d28e6=this[_0x1ff140(0x14c)][_0x1ff140(0x15a)](n['IExchangeService']);if(!_0x7d28e6)throw new Error(_0x1ff140(0x15b));return _0x7d28e6[_0x1ff140(0x14b)](_0x45732a);}}c['FUniver'][_0x5ca768(0x159)](o);
1
+ 'use strict';const _0x210273=_0x3a9e;(function(_0x384203,_0xc80277){const _0x306075=_0x3a9e,_0x2f43c6=_0x384203();while(!![]){try{const _0x1ff1ac=-parseInt(_0x306075(0x11b))/0x1*(parseInt(_0x306075(0x10e))/0x2)+parseInt(_0x306075(0x102))/0x3+-parseInt(_0x306075(0x109))/0x4+parseInt(_0x306075(0x103))/0x5*(parseInt(_0x306075(0x110))/0x6)+-parseInt(_0x306075(0x112))/0x7+parseInt(_0x306075(0x11d))/0x8*(-parseInt(_0x306075(0x11c))/0x9)+parseInt(_0x306075(0x115))/0xa*(parseInt(_0x306075(0x105))/0xb);if(_0x1ff1ac===_0xc80277)break;else _0x2f43c6['push'](_0x2f43c6['shift']());}catch(_0x156ca4){_0x2f43c6['push'](_0x2f43c6['shift']());}}}(_0x1007,0x31e08));const c=require('@univerjs/core'),n=require('@univerjs-pro/exchange-client');function _0x3a9e(_0x4b56c4,_0x14e322){const _0x100748=_0x1007();return _0x3a9e=function(_0x3a9e7e,_0x5ba1d7){_0x3a9e7e=_0x3a9e7e-0x102;let _0x287ec9=_0x100748[_0x3a9e7e];return _0x287ec9;},_0x3a9e(_0x4b56c4,_0x14e322);}var i=(_0x46b735=>(_0x46b735[_0x46b735[_0x210273(0x10a)]=0x0]=_0x210273(0x10a),_0x46b735[_0x46b735['UNIVER_DOC']=0x1]=_0x210273(0x118),_0x46b735[_0x46b735[_0x210273(0x108)]=0x2]=_0x210273(0x108),_0x46b735[_0x46b735[_0x210273(0x10b)]=0x3]=_0x210273(0x10b),_0x46b735[_0x46b735[_0x210273(0x117)]=0x4]=_0x210273(0x117),_0x46b735[_0x46b735[_0x210273(0x119)]=-0x1]=_0x210273(0x119),_0x46b735))(i||{});function _0x1007(){const _0x4440e7=['UNIVER_DOC','UNRECOGNIZED','importDOCXToUnitId','5662TuNqhz','2819115XddYJG','8EKfnPj','688137eQcgAr','29740pXWuyW','importDOCXToSnapshot','99kPQRZf','importXLSXToSnapshot','_injector','UNIVER_SHEET','1475820qWMpQB','UNIVER_UNKNOWN','UNIVER_SLIDE','The\x20exchange\x20service\x20is\x20not\x20available','exportXLSXByUnitId','92JYFxnb','importFileToUnitId','264NgvPcj','IExchangeService','150010ruqtvf','exportXLSXBySnapshot','get','752530OdgNEt','FUniver','UNIVER_PROJECT'];_0x1007=function(){return _0x4440e7;};return _0x1007();}class o extends c[_0x210273(0x116)]{async['importXLSXToUnitId'](_0x481eaa){const _0x4c072f=_0x210273,_0x2259f6=this[_0x4c072f(0x107)][_0x4c072f(0x114)](n[_0x4c072f(0x111)]);if(!_0x2259f6)throw new Error('The\x20exchange\x20service\x20is\x20not\x20available');return _0x2259f6[_0x4c072f(0x10f)](_0x481eaa,i['UNIVER_SHEET']);}async[_0x210273(0x106)](_0x46fdd1){const _0x25f67e=_0x210273,_0x16dbc3=this[_0x25f67e(0x107)][_0x25f67e(0x114)](n['IExchangeService']);if(!_0x16dbc3)throw new Error(_0x25f67e(0x10c));return _0x16dbc3['importXLSXToSnapshot'](_0x46fdd1);}async[_0x210273(0x10d)](_0x33bfc1){const _0x6ae3c0=_0x210273,_0x4c86f1=this[_0x6ae3c0(0x107)][_0x6ae3c0(0x114)](n[_0x6ae3c0(0x111)]);if(!_0x4c86f1)throw new Error('The\x20exchange\x20service\x20is\x20not\x20available');return _0x4c86f1[_0x6ae3c0(0x10d)](_0x33bfc1);}async[_0x210273(0x113)](_0x63a8fa){const _0x1701c7=_0x210273,_0x5186c9=this[_0x1701c7(0x107)]['get'](n[_0x1701c7(0x111)]);if(!_0x5186c9)throw new Error(_0x1701c7(0x10c));return _0x5186c9[_0x1701c7(0x113)](_0x63a8fa);}async[_0x210273(0x11a)](_0x405030){const _0x173005=_0x210273,_0x22a4bb=this['_injector'][_0x173005(0x114)](n[_0x173005(0x111)]);if(!_0x22a4bb)throw new Error(_0x173005(0x10c));return _0x22a4bb['importFileToUnitId'](_0x405030,i[_0x173005(0x118)]);}async[_0x210273(0x104)](_0x38ec92){const _0x2eea3b=_0x210273,_0x312e42=this[_0x2eea3b(0x107)][_0x2eea3b(0x114)](n['IExchangeService']);if(!_0x312e42)throw new Error(_0x2eea3b(0x10c));return _0x312e42['importDOCXToSnapshot'](_0x38ec92);}}c[_0x210273(0x116)]['extend'](o);