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

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 _0x2b79(){const _0x5e3990=['exportXLSXByUnitId','200bsFnpn','6lqROju','UNIVER_SHEET','exportXLSXBySnapshot','extend','UNIVER_PROJECT','27218323GpZDnX','UNIVER_UNKNOWN','The\x20exchange\x20service\x20is\x20not\x20available','importDOCXToUnitId','FUniver','IExchangeService','UNRECOGNIZED','importFileToUnitId','importXLSXToSnapshot','20yLWDQS','17465IBSKhr','10xYNlgk','UNIVER_DOC','@univerjs-pro/exchange-client','2091729TnjdCV','5387200YVLXNL','importXLSXToUnitId','UNIVER_SLIDE','14472630sduOPq','382363FcsUrM','_injector','8444015EoSPkg','get'];_0x2b79=function(){return _0x5e3990;};return _0x2b79();}function _0x1e0f(_0x43c2b1,_0x22f879){const _0x2b79cf=_0x2b79();return _0x1e0f=function(_0x1e0f48,_0x724c33){_0x1e0f48=_0x1e0f48-0x126;let _0xe26d63=_0x2b79cf[_0x1e0f48];return _0xe26d63;},_0x1e0f(_0x43c2b1,_0x22f879);}const _0x6b47c0=_0x1e0f;(function(_0x338c32,_0x3f78f2){const _0x1a9d79=_0x1e0f,_0x543b08=_0x338c32();while(!![]){try{const _0x3ba8bd=-parseInt(_0x1a9d79(0x12c))/0x1*(-parseInt(_0x1a9d79(0x142))/0x2)+-parseInt(_0x1a9d79(0x127))/0x3+parseInt(_0x1a9d79(0x128))/0x4+-parseInt(_0x1a9d79(0x12e))/0x5*(-parseInt(_0x1a9d79(0x132))/0x6)+parseInt(_0x1a9d79(0x141))/0x7*(parseInt(_0x1a9d79(0x131))/0x8)+parseInt(_0x1a9d79(0x12b))/0x9+parseInt(_0x1a9d79(0x140))/0xa*(-parseInt(_0x1a9d79(0x137))/0xb);if(_0x3ba8bd===_0x3f78f2)break;else _0x543b08['push'](_0x543b08['shift']());}catch(_0x568393){_0x543b08['push'](_0x543b08['shift']());}}}(_0x2b79,0xed43a));const c=require('@univerjs/core'),n=require(_0x6b47c0(0x126));var i=(_0x5f4a97=>(_0x5f4a97[_0x5f4a97[_0x6b47c0(0x138)]=0x0]=_0x6b47c0(0x138),_0x5f4a97[_0x5f4a97['UNIVER_DOC']=0x1]=_0x6b47c0(0x143),_0x5f4a97[_0x5f4a97['UNIVER_SHEET']=0x2]=_0x6b47c0(0x133),_0x5f4a97[_0x5f4a97[_0x6b47c0(0x12a)]=0x3]=_0x6b47c0(0x12a),_0x5f4a97[_0x5f4a97[_0x6b47c0(0x136)]=0x4]=_0x6b47c0(0x136),_0x5f4a97[_0x5f4a97[_0x6b47c0(0x13d)]=-0x1]=_0x6b47c0(0x13d),_0x5f4a97))(i||{});class o extends c['FUniver']{async[_0x6b47c0(0x129)](_0x6b710b){const _0x327fad=_0x6b47c0,_0x687ac9=this[_0x327fad(0x12d)][_0x327fad(0x12f)](n['IExchangeService']);if(!_0x687ac9)throw new Error(_0x327fad(0x139));return _0x687ac9[_0x327fad(0x13e)](_0x6b710b,i['UNIVER_SHEET']);}async[_0x6b47c0(0x13f)](_0x16523f){const _0x2d1514=_0x6b47c0,_0x5097fc=this['_injector'][_0x2d1514(0x12f)](n[_0x2d1514(0x13c)]);if(!_0x5097fc)throw new Error(_0x2d1514(0x139));return _0x5097fc['importXLSXToSnapshot'](_0x16523f);}async[_0x6b47c0(0x130)](_0x2a6d57){const _0x4c8e8f=_0x6b47c0,_0x2ee751=this[_0x4c8e8f(0x12d)][_0x4c8e8f(0x12f)](n[_0x4c8e8f(0x13c)]);if(!_0x2ee751)throw new Error(_0x4c8e8f(0x139));return _0x2ee751[_0x4c8e8f(0x130)](_0x2a6d57);}async[_0x6b47c0(0x134)](_0x22a0e6){const _0x2590c5=_0x6b47c0,_0x3efef0=this['_injector'][_0x2590c5(0x12f)](n['IExchangeService']);if(!_0x3efef0)throw new Error(_0x2590c5(0x139));return _0x3efef0[_0x2590c5(0x134)](_0x22a0e6);}async[_0x6b47c0(0x13a)](_0x7fc3ec){const _0x144370=_0x6b47c0,_0x496970=this[_0x144370(0x12d)][_0x144370(0x12f)](n[_0x144370(0x13c)]);if(!_0x496970)throw new Error('The\x20exchange\x20service\x20is\x20not\x20available');return _0x496970[_0x144370(0x13e)](_0x7fc3ec,i[_0x144370(0x143)]);}async['importDOCXToSnapshot'](_0xf267f5){const _0x3a5017=_0x6b47c0,_0xffe944=this[_0x3a5017(0x12d)][_0x3a5017(0x12f)](n['IExchangeService']);if(!_0xffe944)throw new Error(_0x3a5017(0x139));return _0xffe944['importDOCXToSnapshot'](_0xf267f5);}}c[_0x6b47c0(0x13b)][_0x6b47c0(0x135)](o);
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);