@univerjs-pro/exchange-client 0.5.1-nightly.202412100649 → 0.5.1-nightly.202412110405

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 _0x5cce7e=_0x1567;(function(_0x5d337b,_0x57c553){const _0x223159=_0x1567,_0x25d636=_0x5d337b();while(!![]){try{const _0xcd7e07=parseInt(_0x223159(0x9c))/0x1*(-parseInt(_0x223159(0xa7))/0x2)+parseInt(_0x223159(0x9d))/0x3*(parseInt(_0x223159(0x98))/0x4)+-parseInt(_0x223159(0xab))/0x5+parseInt(_0x223159(0x9f))/0x6*(parseInt(_0x223159(0x9b))/0x7)+-parseInt(_0x223159(0x93))/0x8+-parseInt(_0x223159(0x99))/0x9*(parseInt(_0x223159(0x9e))/0xa)+parseInt(_0x223159(0x8f))/0xb*(parseInt(_0x223159(0xa1))/0xc);if(_0xcd7e07===_0x57c553)break;else _0x25d636['push'](_0x25d636['shift']());}catch(_0x15340){_0x25d636['push'](_0x25d636['shift']());}}}(_0x67cf,0x41e98));function _0x1567(_0x329732,_0x4a09b9){const _0x67cf5b=_0x67cf();return _0x1567=function(_0x156715,_0x36d4fb){_0x156715=_0x156715-0x8e;let _0x46bc3e=_0x67cf5b[_0x156715];return _0x46bc3e;},_0x1567(_0x329732,_0x4a09b9);}const c=require('@univerjs/core'),n=require(_0x5cce7e(0xa9));function _0x67cf(){const _0x339530=['importXLSXToSnapshot','UNIVER_UNKNOWN','UNIVER_PROJECT','732026ljIgeV','UNIVER_SLIDE','@univerjs-pro/exchange-client','get','670740xmYuOp','importDOCXToSnapshot','627UakPZQ','IExchangeService','exportXLSXBySnapshot','UNIVER_DOC','3845056CiGYQD','FUniver','extend','UNIVER_SHEET','The\x20exchange\x20service\x20is\x20not\x20available','36gJBAzt','81BKXIGJ','UNRECOGNIZED','7aGSFqs','1onkOox','95286HOgAEh','193870QZLniE','74682cPwGHn','exportXLSXByUnitId','237252pkktrx','importXLSXToUnitId','_injector'];_0x67cf=function(){return _0x339530;};return _0x67cf();}var i=(_0x33a23a=>(_0x33a23a[_0x33a23a['UNIVER_UNKNOWN']=0x0]=_0x5cce7e(0xa5),_0x33a23a[_0x33a23a[_0x5cce7e(0x92)]=0x1]=_0x5cce7e(0x92),_0x33a23a[_0x33a23a['UNIVER_SHEET']=0x2]=_0x5cce7e(0x96),_0x33a23a[_0x33a23a[_0x5cce7e(0xa8)]=0x3]='UNIVER_SLIDE',_0x33a23a[_0x33a23a[_0x5cce7e(0xa6)]=0x4]=_0x5cce7e(0xa6),_0x33a23a[_0x33a23a[_0x5cce7e(0x9a)]=-0x1]=_0x5cce7e(0x9a),_0x33a23a))(i||{});class o extends c['FUniver']{async[_0x5cce7e(0xa2)](_0x3c1e52){const _0x351ff5=_0x5cce7e,_0x1d3fee=this[_0x351ff5(0xa3)][_0x351ff5(0xaa)](n[_0x351ff5(0x90)]);if(!_0x1d3fee)throw new Error(_0x351ff5(0x97));return _0x1d3fee['importFileToUnitId'](_0x3c1e52,i['UNIVER_SHEET']);}async[_0x5cce7e(0xa4)](_0x27b56b){const _0x6abc02=_0x5cce7e,_0x256d24=this[_0x6abc02(0xa3)]['get'](n[_0x6abc02(0x90)]);if(!_0x256d24)throw new Error('The\x20exchange\x20service\x20is\x20not\x20available');return _0x256d24[_0x6abc02(0xa4)](_0x27b56b);}async[_0x5cce7e(0xa0)](_0xcfbac4){const _0x4c7a9a=_0x5cce7e,_0x56c9b3=this[_0x4c7a9a(0xa3)]['get'](n['IExchangeService']);if(!_0x56c9b3)throw new Error(_0x4c7a9a(0x97));return _0x56c9b3[_0x4c7a9a(0xa0)](_0xcfbac4);}async['exportXLSXBySnapshot'](_0x308a8a){const _0x1a0d7e=_0x5cce7e,_0x4480d1=this['_injector']['get'](n[_0x1a0d7e(0x90)]);if(!_0x4480d1)throw new Error(_0x1a0d7e(0x97));return _0x4480d1[_0x1a0d7e(0x91)](_0x308a8a);}async['importDOCXToUnitId'](_0x123efb){const _0x1b8d6f=_0x5cce7e,_0x1d3b5a=this[_0x1b8d6f(0xa3)][_0x1b8d6f(0xaa)](n[_0x1b8d6f(0x90)]);if(!_0x1d3b5a)throw new Error(_0x1b8d6f(0x97));return _0x1d3b5a['importFileToUnitId'](_0x123efb,i['UNIVER_DOC']);}async[_0x5cce7e(0x8e)](_0x57d163){const _0x20fd75=_0x5cce7e,_0x129ace=this['_injector'][_0x20fd75(0xaa)](n[_0x20fd75(0x90)]);if(!_0x129ace)throw new Error(_0x20fd75(0x97));return _0x129ace[_0x20fd75(0x8e)](_0x57d163);}}c[_0x5cce7e(0x94)][_0x5cce7e(0x95)](o);
1
+ 'use strict';const _0x4bda7a=_0x3895;(function(_0x1d6fe0,_0xb83b1d){const _0x4f52f8=_0x3895,_0x512f5a=_0x1d6fe0();while(!![]){try{const _0x39c51b=parseInt(_0x4f52f8(0x168))/0x1+parseInt(_0x4f52f8(0x181))/0x2+parseInt(_0x4f52f8(0x171))/0x3*(-parseInt(_0x4f52f8(0x173))/0x4)+-parseInt(_0x4f52f8(0x177))/0x5*(-parseInt(_0x4f52f8(0x16b))/0x6)+-parseInt(_0x4f52f8(0x16e))/0x7+-parseInt(_0x4f52f8(0x17b))/0x8+parseInt(_0x4f52f8(0x17c))/0x9;if(_0x39c51b===_0xb83b1d)break;else _0x512f5a['push'](_0x512f5a['shift']());}catch(_0x52fc8){_0x512f5a['push'](_0x512f5a['shift']());}}}(_0x9e0c,0x2117b));function _0x9e0c(){const _0x42e79c=['UNIVER_PROJECT','@univerjs-pro/exchange-client','The\x20exchange\x20service\x20is\x20not\x20available','FUniver','62016hKgzce','get','146441xqeoOz','extend','exportXLSXBySnapshot','128046ovXgOm','_injector','importXLSXToSnapshot','552881osJIcj','UNIVER_DOC','UNIVER_SHEET','252NaYDQk','@univerjs/core','10820YOdpdt','importFileToUnitId','importXLSXToUnitId','importDOCXToSnapshot','10BfVRHK','IExchangeService','UNRECOGNIZED','exportXLSXByUnitId','1812896DKIRWJ','4034079bhCYqi'];_0x9e0c=function(){return _0x42e79c;};return _0x9e0c();}const c=require(_0x4bda7a(0x172)),n=require(_0x4bda7a(0x17e));var i=(_0x5b7301=>(_0x5b7301[_0x5b7301['UNIVER_UNKNOWN']=0x0]='UNIVER_UNKNOWN',_0x5b7301[_0x5b7301[_0x4bda7a(0x16f)]=0x1]=_0x4bda7a(0x16f),_0x5b7301[_0x5b7301[_0x4bda7a(0x170)]=0x2]=_0x4bda7a(0x170),_0x5b7301[_0x5b7301['UNIVER_SLIDE']=0x3]='UNIVER_SLIDE',_0x5b7301[_0x5b7301[_0x4bda7a(0x17d)]=0x4]='UNIVER_PROJECT',_0x5b7301[_0x5b7301['UNRECOGNIZED']=-0x1]=_0x4bda7a(0x179),_0x5b7301))(i||{});class o extends c[_0x4bda7a(0x180)]{async[_0x4bda7a(0x175)](_0x1f0027){const _0x2a99bb=_0x4bda7a,_0x4b0af5=this[_0x2a99bb(0x16c)][_0x2a99bb(0x182)](n[_0x2a99bb(0x178)]);if(!_0x4b0af5)throw new Error(_0x2a99bb(0x17f));return _0x4b0af5[_0x2a99bb(0x174)](_0x1f0027,i[_0x2a99bb(0x170)]);}async['importXLSXToSnapshot'](_0x3d6234){const _0x4df1ff=_0x4bda7a,_0x41e8b4=this[_0x4df1ff(0x16c)][_0x4df1ff(0x182)](n[_0x4df1ff(0x178)]);if(!_0x41e8b4)throw new Error(_0x4df1ff(0x17f));return _0x41e8b4[_0x4df1ff(0x16d)](_0x3d6234);}async[_0x4bda7a(0x17a)](_0x306963){const _0x5e2be2=_0x4bda7a,_0x43e3bf=this[_0x5e2be2(0x16c)]['get'](n[_0x5e2be2(0x178)]);if(!_0x43e3bf)throw new Error(_0x5e2be2(0x17f));return _0x43e3bf['exportXLSXByUnitId'](_0x306963);}async[_0x4bda7a(0x16a)](_0x5148fb){const _0x1eb2a8=_0x4bda7a,_0xa647ef=this[_0x1eb2a8(0x16c)][_0x1eb2a8(0x182)](n[_0x1eb2a8(0x178)]);if(!_0xa647ef)throw new Error(_0x1eb2a8(0x17f));return _0xa647ef[_0x1eb2a8(0x16a)](_0x5148fb);}async['importDOCXToUnitId'](_0x376de6){const _0x2e9f19=_0x4bda7a,_0x3ab529=this[_0x2e9f19(0x16c)][_0x2e9f19(0x182)](n['IExchangeService']);if(!_0x3ab529)throw new Error(_0x2e9f19(0x17f));return _0x3ab529[_0x2e9f19(0x174)](_0x376de6,i[_0x2e9f19(0x16f)]);}async[_0x4bda7a(0x176)](_0x5a9554){const _0x16bdc0=_0x4bda7a,_0xa90737=this['_injector']['get'](n[_0x16bdc0(0x178)]);if(!_0xa90737)throw new Error(_0x16bdc0(0x17f));return _0xa90737[_0x16bdc0(0x176)](_0x5a9554);}}function _0x3895(_0x3813f9,_0x2e1bef){const _0x9e0c31=_0x9e0c();return _0x3895=function(_0x38952f,_0x3dbd13){_0x38952f=_0x38952f-0x168;let _0x3b1ace=_0x9e0c31[_0x38952f];return _0x3b1ace;},_0x3895(_0x3813f9,_0x2e1bef);}c['FUniver'][_0x4bda7a(0x169)](o);