@univerjs-pro/exchange-client 0.6.0-experimental.20250125-1d060b9 → 0.6.0-nightly.202501261605

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 _0xa943e6=_0x4ecc;(function(_0x5197c1,_0x579423){const _0x3f84c0=_0x4ecc,_0x2ded06=_0x5197c1();while(!![]){try{const _0x32f361=parseInt(_0x3f84c0(0x15f))/0x1+-parseInt(_0x3f84c0(0x14b))/0x2*(parseInt(_0x3f84c0(0x154))/0x3)+parseInt(_0x3f84c0(0x160))/0x4+parseInt(_0x3f84c0(0x163))/0x5*(parseInt(_0x3f84c0(0x15b))/0x6)+-parseInt(_0x3f84c0(0x162))/0x7+parseInt(_0x3f84c0(0x14f))/0x8*(-parseInt(_0x3f84c0(0x147))/0x9)+-parseInt(_0x3f84c0(0x157))/0xa*(parseInt(_0x3f84c0(0x158))/0xb);if(_0x32f361===_0x579423)break;else _0x2ded06['push'](_0x2ded06['shift']());}catch(_0x1e721c){_0x2ded06['push'](_0x2ded06['shift']());}}}(_0x463a,0xe8247));const r=require(_0xa943e6(0x159)),i=require(_0xa943e6(0x144));var o=(_0x94fb2e=>(_0x94fb2e[_0x94fb2e[_0xa943e6(0x15c)]=0x0]='UNIVER_UNKNOWN',_0x94fb2e[_0x94fb2e[_0xa943e6(0x151)]=0x1]=_0xa943e6(0x151),_0x94fb2e[_0x94fb2e['UNIVER_SHEET']=0x2]=_0xa943e6(0x142),_0x94fb2e[_0x94fb2e[_0xa943e6(0x143)]=0x3]='UNIVER_SLIDE',_0x94fb2e[_0x94fb2e[_0xa943e6(0x152)]=0x4]=_0xa943e6(0x152),_0x94fb2e[_0x94fb2e['UNRECOGNIZED']=-0x1]=_0xa943e6(0x14d),_0x94fb2e))(o||{});function _0x4ecc(_0x552fee,_0x2b050a){const _0x463a94=_0x463a();return _0x4ecc=function(_0x4ecc17,_0x1f769f){_0x4ecc17=_0x4ecc17-0x141;let _0x5e5234=_0x463a94[_0x4ecc17];return _0x5e5234;},_0x4ecc(_0x552fee,_0x2b050a);}class c extends i[_0xa943e6(0x141)]{async[_0xa943e6(0x150)](_0x4334b1){return this['importXLSXToUnitIdAsync'](_0x4334b1);}async['importXLSXToUnitIdAsync'](_0x39c6ef){const _0x3b1a99=_0xa943e6,_0x2f62a1=this[_0x3b1a99(0x145)][_0x3b1a99(0x155)](r[_0x3b1a99(0x14e)]);if(!_0x2f62a1)throw new Error('The\x20exchange\x20service\x20is\x20not\x20available');return _0x2f62a1[_0x3b1a99(0x148)](_0x39c6ef,o[_0x3b1a99(0x142)]);}async[_0xa943e6(0x15a)](_0x43a3d6){const _0x575296=_0xa943e6;return this[_0x575296(0x146)](_0x43a3d6);}async[_0xa943e6(0x146)](_0x4ae5f6){const _0x5eef02=_0xa943e6,_0xe30090=this['_injector']['get'](r['IExchangeService']);if(!_0xe30090)throw new Error(_0x5eef02(0x14a));return _0xe30090[_0x5eef02(0x15a)](_0x4ae5f6);}async[_0xa943e6(0x15d)](_0x5adc08){const _0x5f14eb=_0xa943e6;return this[_0x5f14eb(0x156)](_0x5adc08);}async[_0xa943e6(0x156)](_0x5bd439){const _0x1c3fca=_0xa943e6,_0x20c6c1=this[_0x1c3fca(0x145)][_0x1c3fca(0x155)](r['IExchangeService']);if(!_0x20c6c1)throw new Error(_0x1c3fca(0x14a));return _0x20c6c1['exportXLSXByUnitId'](_0x5bd439);}async[_0xa943e6(0x14c)](_0x282d10){const _0x10749a=_0xa943e6;return this[_0x10749a(0x15e)](_0x282d10);}async[_0xa943e6(0x15e)](_0x55ee61){const _0x46e24d=_0xa943e6,_0x5ab835=this[_0x46e24d(0x145)][_0x46e24d(0x155)](r[_0x46e24d(0x14e)]);if(!_0x5ab835)throw new Error(_0x46e24d(0x14a));return _0x5ab835[_0x46e24d(0x14c)](_0x55ee61);}async['importDOCXToUnitId'](_0x2a36b8){const _0x2b0449=_0xa943e6;return this[_0x2b0449(0x149)](_0x2a36b8);}async[_0xa943e6(0x149)](_0x2cfefe){const _0x520802=_0xa943e6,_0x3d4e3a=this['_injector'][_0x520802(0x155)](r[_0x520802(0x14e)]);if(!_0x3d4e3a)throw new Error(_0x520802(0x14a));return _0x3d4e3a[_0x520802(0x148)](_0x2cfefe,o[_0x520802(0x151)]);}async[_0xa943e6(0x161)](_0x26a5c8){const _0x280e45=_0xa943e6;return this[_0x280e45(0x153)](_0x26a5c8);}async[_0xa943e6(0x153)](_0x5071ec){const _0x327825=_0xa943e6,_0x5e18d0=this['_injector'][_0x327825(0x155)](r[_0x327825(0x14e)]);if(!_0x5e18d0)throw new Error(_0x327825(0x14a));return _0x5e18d0['importDOCXToSnapshot'](_0x5071ec);}}i[_0xa943e6(0x141)]['extend'](c);function _0x463a(){const _0x137405=['importDOCXToSnapshotAsync','1170783HVFkVC','get','exportXLSXByUnitIdAsync','10sGPAGm','6521009hPhRTv','@univerjs-pro/exchange-client','importXLSXToSnapshot','400446tOQhpo','UNIVER_UNKNOWN','exportXLSXByUnitId','exportXLSXBySnapshotAsync','1878035KZDVal','1945144fDefBa','importDOCXToSnapshot','1320550DWFKlY','15Wpfrza','FUniver','UNIVER_SHEET','UNIVER_SLIDE','@univerjs/core','_injector','importXLSXToSnapshotAsync','1197kwhhLR','importFileToUnitId','importDOCXToUnitIdAsync','The\x20exchange\x20service\x20is\x20not\x20available','2SeRUew','exportXLSXBySnapshot','UNRECOGNIZED','IExchangeService','26584djhmwA','importXLSXToUnitId','UNIVER_DOC','UNIVER_PROJECT'];_0x463a=function(){return _0x137405;};return _0x463a();}
1
+ 'use strict';function _0x5f51(_0x40ea3b,_0x3e73c3){const _0x2a8759=_0x2a87();return _0x5f51=function(_0x5f511b,_0x48934a){_0x5f511b=_0x5f511b-0xa8;let _0x3162e2=_0x2a8759[_0x5f511b];return _0x3162e2;},_0x5f51(_0x40ea3b,_0x3e73c3);}const _0x15931e=_0x5f51;(function(_0x195f0f,_0x4029fb){const _0x124cad=_0x5f51,_0x23f618=_0x195f0f();while(!![]){try{const _0x2ee5ae=parseInt(_0x124cad(0xba))/0x1+-parseInt(_0x124cad(0xab))/0x2*(-parseInt(_0x124cad(0xbb))/0x3)+-parseInt(_0x124cad(0xc9))/0x4*(-parseInt(_0x124cad(0xb5))/0x5)+-parseInt(_0x124cad(0xcd))/0x6*(parseInt(_0x124cad(0xc7))/0x7)+parseInt(_0x124cad(0xbe))/0x8+-parseInt(_0x124cad(0xb9))/0x9*(-parseInt(_0x124cad(0xcc))/0xa)+-parseInt(_0x124cad(0xbc))/0xb;if(_0x2ee5ae===_0x4029fb)break;else _0x23f618['push'](_0x23f618['shift']());}catch(_0x5b28a3){_0x23f618['push'](_0x23f618['shift']());}}}(_0x2a87,0xa0a16));function _0x2a87(){const _0x483890=['exportXLSXByUnitIdAsync','importDOCXToUnitIdAsync','exportXLSXBySnapshotAsync','562810rEWfPY','importXLSXToSnapshot','importXLSXToUnitIdAsync','importXLSXToUnitId','405kishHf','740021eDsPKX','3SXxliL','17092922HyEVTK','FUniver','531536mJdSDE','exportXLSXBySnapshot','importDOCXToSnapshotAsync','importFileToUnitId','UNRECOGNIZED','UNIVER_SLIDE','get','UNIVER_UNKNOWN','importDOCXToUnitId','126161uajLtm','importDOCXToSnapshot','44OuDNzJ','The\x20exchange\x20service\x20is\x20not\x20available','UNIVER_PROJECT','155410PQHOKs','402Pzfudh','@univerjs/core','IExchangeService','exportXLSXByUnitId','1350790EqrAJm','extend','UNIVER_DOC','UNIVER_SHEET','importXLSXToSnapshotAsync','_injector','@univerjs-pro/exchange-client'];_0x2a87=function(){return _0x483890;};return _0x2a87();}const r=require(_0x15931e(0xb1)),i=require(_0x15931e(0xa8));var o=(_0x2eb335=>(_0x2eb335[_0x2eb335['UNIVER_UNKNOWN']=0x0]=_0x15931e(0xc5),_0x2eb335[_0x2eb335[_0x15931e(0xad)]=0x1]=_0x15931e(0xad),_0x2eb335[_0x2eb335[_0x15931e(0xae)]=0x2]=_0x15931e(0xae),_0x2eb335[_0x2eb335['UNIVER_SLIDE']=0x3]=_0x15931e(0xc3),_0x2eb335[_0x2eb335['UNIVER_PROJECT']=0x4]=_0x15931e(0xcb),_0x2eb335[_0x2eb335[_0x15931e(0xc2)]=-0x1]='UNRECOGNIZED',_0x2eb335))(o||{});class c extends i[_0x15931e(0xbd)]{async[_0x15931e(0xb8)](_0x253f2b){const _0x411ab3=_0x15931e;return this[_0x411ab3(0xb7)](_0x253f2b);}async[_0x15931e(0xb7)](_0x299fbd){const _0x56a48f=_0x15931e,_0x37ca87=this[_0x56a48f(0xb0)][_0x56a48f(0xc4)](r[_0x56a48f(0xa9)]);if(!_0x37ca87)throw new Error(_0x56a48f(0xca));return _0x37ca87[_0x56a48f(0xc1)](_0x299fbd,o[_0x56a48f(0xae)]);}async[_0x15931e(0xb6)](_0x5154e4){const _0x46c75f=_0x15931e;return this[_0x46c75f(0xaf)](_0x5154e4);}async[_0x15931e(0xaf)](_0x29dd0a){const _0x516cf8=_0x15931e,_0x495372=this[_0x516cf8(0xb0)][_0x516cf8(0xc4)](r['IExchangeService']);if(!_0x495372)throw new Error(_0x516cf8(0xca));return _0x495372[_0x516cf8(0xb6)](_0x29dd0a);}async['exportXLSXByUnitId'](_0x313320){const _0x324bd3=_0x15931e;return this[_0x324bd3(0xb2)](_0x313320);}async[_0x15931e(0xb2)](_0x857f1d){const _0x3e5182=_0x15931e,_0x3f1800=this['_injector'][_0x3e5182(0xc4)](r[_0x3e5182(0xa9)]);if(!_0x3f1800)throw new Error(_0x3e5182(0xca));return _0x3f1800[_0x3e5182(0xaa)](_0x857f1d);}async[_0x15931e(0xbf)](_0x149f74){const _0xfe0f2e=_0x15931e;return this[_0xfe0f2e(0xb4)](_0x149f74);}async[_0x15931e(0xb4)](_0x14d2df){const _0x24135e=_0x15931e,_0x459766=this['_injector']['get'](r[_0x24135e(0xa9)]);if(!_0x459766)throw new Error(_0x24135e(0xca));return _0x459766[_0x24135e(0xbf)](_0x14d2df);}async[_0x15931e(0xc6)](_0x374423){const _0x5d7d04=_0x15931e;return this[_0x5d7d04(0xb3)](_0x374423);}async[_0x15931e(0xb3)](_0x41dc54){const _0x5597ab=_0x15931e,_0x208e64=this[_0x5597ab(0xb0)]['get'](r[_0x5597ab(0xa9)]);if(!_0x208e64)throw new Error('The\x20exchange\x20service\x20is\x20not\x20available');return _0x208e64[_0x5597ab(0xc1)](_0x41dc54,o['UNIVER_DOC']);}async[_0x15931e(0xc8)](_0x58e1b2){const _0x55fbe0=_0x15931e;return this[_0x55fbe0(0xc0)](_0x58e1b2);}async[_0x15931e(0xc0)](_0x2a0cad){const _0x2aaeef=_0x15931e,_0x2431c6=this['_injector'][_0x2aaeef(0xc4)](r[_0x2aaeef(0xa9)]);if(!_0x2431c6)throw new Error(_0x2aaeef(0xca));return _0x2431c6[_0x2aaeef(0xc8)](_0x2a0cad);}}i['FUniver'][_0x15931e(0xac)](c);