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

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 _0x3475a1=_0x1293;function _0x19c2(){const _0x5648d7=['exportXLSXByUnitId','The\x20exchange\x20service\x20is\x20not\x20available','_injector','importDOCXToSnapshot','importXLSXToUnitId','UNIVER_UNKNOWN','importFileToUnitId','56180BFSSBW','UNIVER_DOC','906400lUVEkK','134405HILfqo','get','exportXLSXBySnapshot','UNIVER_PROJECT','UNIVER_SHEET','6bYwscY','16YRUVaM','492149QwyPMk','importXLSXToSnapshot','189846NCnmMG','extend','319dqMBqD','FUniver','UNRECOGNIZED','136kkfAAb','13011EAKrVq','@univerjs/core','IExchangeService','453897xhEupu','importDOCXToUnitId','@univerjs-pro/exchange-client','UNIVER_SLIDE'];_0x19c2=function(){return _0x5648d7;};return _0x19c2();}(function(_0x264d6e,_0x113a72){const _0x58e5db=_0x1293,_0x478e21=_0x264d6e();while(!![]){try{const _0x44abc1=-parseInt(_0x58e5db(0x1f4))/0x1+-parseInt(_0x58e5db(0x1f9))/0x2*(-parseInt(_0x58e5db(0x1fa))/0x3)+parseInt(_0x58e5db(0x1f1))/0x4*(-parseInt(_0x58e5db(0x20b))/0x5)+-parseInt(_0x58e5db(0x1f0))/0x6*(-parseInt(_0x58e5db(0x1f2))/0x7)+parseInt(_0x58e5db(0x20a))/0x8+-parseInt(_0x58e5db(0x1fd))/0x9+parseInt(_0x58e5db(0x208))/0xa*(parseInt(_0x58e5db(0x1f6))/0xb);if(_0x44abc1===_0x113a72)break;else _0x478e21['push'](_0x478e21['shift']());}catch(_0x155fa4){_0x478e21['push'](_0x478e21['shift']());}}}(_0x19c2,0x47b0a));function _0x1293(_0x2a04d1,_0x482a30){const _0x19c25b=_0x19c2();return _0x1293=function(_0x12936b,_0x3ec264){_0x12936b=_0x12936b-0x1ee;let _0x59c7da=_0x19c25b[_0x12936b];return _0x59c7da;},_0x1293(_0x2a04d1,_0x482a30);}const c=require(_0x3475a1(0x1fb)),n=require(_0x3475a1(0x1ff));var i=(_0x41bd41=>(_0x41bd41[_0x41bd41['UNIVER_UNKNOWN']=0x0]=_0x3475a1(0x206),_0x41bd41[_0x41bd41['UNIVER_DOC']=0x1]=_0x3475a1(0x209),_0x41bd41[_0x41bd41['UNIVER_SHEET']=0x2]='UNIVER_SHEET',_0x41bd41[_0x41bd41['UNIVER_SLIDE']=0x3]=_0x3475a1(0x200),_0x41bd41[_0x41bd41['UNIVER_PROJECT']=0x4]=_0x3475a1(0x1ee),_0x41bd41[_0x41bd41[_0x3475a1(0x1f8)]=-0x1]=_0x3475a1(0x1f8),_0x41bd41))(i||{});class o extends c[_0x3475a1(0x1f7)]{async[_0x3475a1(0x205)](_0xf55caf){const _0x5432ed=_0x3475a1,_0x16fa6b=this[_0x5432ed(0x203)][_0x5432ed(0x20c)](n[_0x5432ed(0x1fc)]);if(!_0x16fa6b)throw new Error('The\x20exchange\x20service\x20is\x20not\x20available');return _0x16fa6b[_0x5432ed(0x207)](_0xf55caf,i[_0x5432ed(0x1ef)]);}async[_0x3475a1(0x1f3)](_0x33f84f){const _0x378f5e=_0x3475a1,_0x2a8df6=this[_0x378f5e(0x203)][_0x378f5e(0x20c)](n[_0x378f5e(0x1fc)]);if(!_0x2a8df6)throw new Error(_0x378f5e(0x202));return _0x2a8df6[_0x378f5e(0x1f3)](_0x33f84f);}async[_0x3475a1(0x201)](_0x326691){const _0x18995b=_0x3475a1,_0x4da114=this[_0x18995b(0x203)][_0x18995b(0x20c)](n['IExchangeService']);if(!_0x4da114)throw new Error(_0x18995b(0x202));return _0x4da114[_0x18995b(0x201)](_0x326691);}async[_0x3475a1(0x20d)](_0x48ca1e){const _0x3bc787=_0x3475a1,_0xac32b3=this[_0x3bc787(0x203)][_0x3bc787(0x20c)](n[_0x3bc787(0x1fc)]);if(!_0xac32b3)throw new Error(_0x3bc787(0x202));return _0xac32b3[_0x3bc787(0x20d)](_0x48ca1e);}async[_0x3475a1(0x1fe)](_0x47a317){const _0x22be67=_0x3475a1,_0x158a39=this[_0x22be67(0x203)]['get'](n[_0x22be67(0x1fc)]);if(!_0x158a39)throw new Error(_0x22be67(0x202));return _0x158a39[_0x22be67(0x207)](_0x47a317,i[_0x22be67(0x209)]);}async[_0x3475a1(0x204)](_0x50d1e6){const _0x506753=_0x3475a1,_0x7ddbc0=this[_0x506753(0x203)][_0x506753(0x20c)](n[_0x506753(0x1fc)]);if(!_0x7ddbc0)throw new Error(_0x506753(0x202));return _0x7ddbc0[_0x506753(0x204)](_0x50d1e6);}}c[_0x3475a1(0x1f7)][_0x3475a1(0x1f5)](o);
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);