@univerjs-pro/exchange-client 0.5.1-nightly.202412121230 → 0.5.1-nightly.202412131606

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 _0x1f17a1=_0x4d71;(function(_0x29238c,_0x37b665){const _0x39dc2a=_0x4d71,_0x3bacfe=_0x29238c();while(!![]){try{const _0x14553f=-parseInt(_0x39dc2a(0x1e4))/0x1*(parseInt(_0x39dc2a(0x1f7))/0x2)+parseInt(_0x39dc2a(0x1ee))/0x3*(parseInt(_0x39dc2a(0x1d9))/0x4)+-parseInt(_0x39dc2a(0x1f1))/0x5*(parseInt(_0x39dc2a(0x1f8))/0x6)+parseInt(_0x39dc2a(0x1e1))/0x7*(-parseInt(_0x39dc2a(0x1da))/0x8)+-parseInt(_0x39dc2a(0x1dd))/0x9*(-parseInt(_0x39dc2a(0x1f2))/0xa)+-parseInt(_0x39dc2a(0x1e0))/0xb*(parseInt(_0x39dc2a(0x1f6))/0xc)+parseInt(_0x39dc2a(0x1e9))/0xd;if(_0x14553f===_0x37b665)break;else _0x3bacfe['push'](_0x3bacfe['shift']());}catch(_0x1c05bd){_0x3bacfe['push'](_0x3bacfe['shift']());}}}(_0x56ec,0x88ebf));function _0x4d71(_0x52a5ec,_0x591c56){const _0x56ec17=_0x56ec();return _0x4d71=function(_0x4d71f7,_0x2e2df4){_0x4d71f7=_0x4d71f7-0x1d9;let _0x1f6415=_0x56ec17[_0x4d71f7];return _0x1f6415;},_0x4d71(_0x52a5ec,_0x591c56);}const c=require(_0x1f17a1(0x1ea)),n=require(_0x1f17a1(0x1fa));var i=(_0xd38e02=>(_0xd38e02[_0xd38e02[_0x1f17a1(0x1ed)]=0x0]=_0x1f17a1(0x1ed),_0xd38e02[_0xd38e02['UNIVER_DOC']=0x1]=_0x1f17a1(0x1dc),_0xd38e02[_0xd38e02[_0x1f17a1(0x1ef)]=0x2]='UNIVER_SHEET',_0xd38e02[_0xd38e02[_0x1f17a1(0x1e6)]=0x3]=_0x1f17a1(0x1e6),_0xd38e02[_0xd38e02[_0x1f17a1(0x1e7)]=0x4]=_0x1f17a1(0x1e7),_0xd38e02[_0xd38e02[_0x1f17a1(0x1f0)]=-0x1]=_0x1f17a1(0x1f0),_0xd38e02))(i||{});class o extends c[_0x1f17a1(0x1f4)]{async[_0x1f17a1(0x1db)](_0x554630){const _0x4dbcf4=_0x1f17a1,_0x1494fd=this[_0x4dbcf4(0x1de)][_0x4dbcf4(0x1df)](n[_0x4dbcf4(0x1e8)]);if(!_0x1494fd)throw new Error(_0x4dbcf4(0x1ec));return _0x1494fd[_0x4dbcf4(0x1f3)](_0x554630,i[_0x4dbcf4(0x1ef)]);}async[_0x1f17a1(0x1f9)](_0x21279e){const _0x32b584=_0x1f17a1,_0x4a1a4d=this[_0x32b584(0x1de)]['get'](n[_0x32b584(0x1e8)]);if(!_0x4a1a4d)throw new Error(_0x32b584(0x1ec));return _0x4a1a4d[_0x32b584(0x1f9)](_0x21279e);}async[_0x1f17a1(0x1f5)](_0x4397e6){const _0x93fc34=_0x1f17a1,_0x29379e=this[_0x93fc34(0x1de)][_0x93fc34(0x1df)](n['IExchangeService']);if(!_0x29379e)throw new Error(_0x93fc34(0x1ec));return _0x29379e[_0x93fc34(0x1f5)](_0x4397e6);}async[_0x1f17a1(0x1e3)](_0x1ad964){const _0x4d2d2b=_0x1f17a1,_0x3294a4=this[_0x4d2d2b(0x1de)][_0x4d2d2b(0x1df)](n['IExchangeService']);if(!_0x3294a4)throw new Error('The\x20exchange\x20service\x20is\x20not\x20available');return _0x3294a4[_0x4d2d2b(0x1e3)](_0x1ad964);}async[_0x1f17a1(0x1e5)](_0x5bf8e9){const _0x521dc2=_0x1f17a1,_0x364645=this[_0x521dc2(0x1de)][_0x521dc2(0x1df)](n[_0x521dc2(0x1e8)]);if(!_0x364645)throw new Error(_0x521dc2(0x1ec));return _0x364645['importFileToUnitId'](_0x5bf8e9,i[_0x521dc2(0x1dc)]);}async[_0x1f17a1(0x1eb)](_0x24eb98){const _0x4bcd0a=_0x1f17a1,_0x25b72f=this[_0x4bcd0a(0x1de)][_0x4bcd0a(0x1df)](n[_0x4bcd0a(0x1e8)]);if(!_0x25b72f)throw new Error('The\x20exchange\x20service\x20is\x20not\x20available');return _0x25b72f[_0x4bcd0a(0x1eb)](_0x24eb98);}}function _0x56ec(){const _0x1697d6=['UNIVER_UNKNOWN','3216vRHnvn','UNIVER_SHEET','UNRECOGNIZED','10ndpyfm','20mstfMK','importFileToUnitId','FUniver','exportXLSXByUnitId','240SXBCaD','1821606gdQmPL','1024242DwIlIf','importXLSXToSnapshot','@univerjs-pro/exchange-client','2456LNxLIZ','120BTYrXE','importXLSXToUnitId','UNIVER_DOC','4601187NpeFzX','_injector','get','338833iUalgF','288589BJDOSj','extend','exportXLSXBySnapshot','1VePOyG','importDOCXToUnitId','UNIVER_SLIDE','UNIVER_PROJECT','IExchangeService','17768647OplGUV','@univerjs/core','importDOCXToSnapshot','The\x20exchange\x20service\x20is\x20not\x20available'];_0x56ec=function(){return _0x1697d6;};return _0x56ec();}c[_0x1f17a1(0x1f4)][_0x1f17a1(0x1e2)](o);
1
+ 'use strict';const _0x40c2b9=_0x59ef;(function(_0x1c5d47,_0x28dd1a){const _0x5d244b=_0x59ef,_0x257fb0=_0x1c5d47();while(!![]){try{const _0x2a04b9=-parseInt(_0x5d244b(0x124))/0x1*(parseInt(_0x5d244b(0x116))/0x2)+-parseInt(_0x5d244b(0x118))/0x3+parseInt(_0x5d244b(0x133))/0x4+-parseInt(_0x5d244b(0x12c))/0x5+-parseInt(_0x5d244b(0x115))/0x6*(parseInt(_0x5d244b(0x12b))/0x7)+parseInt(_0x5d244b(0x11a))/0x8*(parseInt(_0x5d244b(0x11e))/0x9)+parseInt(_0x5d244b(0x128))/0xa;if(_0x2a04b9===_0x28dd1a)break;else _0x257fb0['push'](_0x257fb0['shift']());}catch(_0x120d84){_0x257fb0['push'](_0x257fb0['shift']());}}}(_0x1371,0x398ba));function _0x59ef(_0x2b6405,_0x285c9b){const _0x137181=_0x1371();return _0x59ef=function(_0x59ef21,_0x466573){_0x59ef21=_0x59ef21-0x115;let _0x14e289=_0x137181[_0x59ef21];return _0x14e289;},_0x59ef(_0x2b6405,_0x285c9b);}const c=require(_0x40c2b9(0x131)),n=require(_0x40c2b9(0x11f));var i=(_0x385e72=>(_0x385e72[_0x385e72[_0x40c2b9(0x121)]=0x0]='UNIVER_UNKNOWN',_0x385e72[_0x385e72[_0x40c2b9(0x120)]=0x1]='UNIVER_DOC',_0x385e72[_0x385e72[_0x40c2b9(0x12d)]=0x2]='UNIVER_SHEET',_0x385e72[_0x385e72[_0x40c2b9(0x129)]=0x3]='UNIVER_SLIDE',_0x385e72[_0x385e72[_0x40c2b9(0x12f)]=0x4]=_0x40c2b9(0x12f),_0x385e72[_0x385e72[_0x40c2b9(0x119)]=-0x1]=_0x40c2b9(0x119),_0x385e72))(i||{});class o extends c[_0x40c2b9(0x12a)]{async[_0x40c2b9(0x127)](_0x18bfaa){const _0x4cf46f=_0x40c2b9,_0x43f9be=this[_0x4cf46f(0x12e)][_0x4cf46f(0x132)](n[_0x4cf46f(0x125)]);if(!_0x43f9be)throw new Error('The\x20exchange\x20service\x20is\x20not\x20available');return _0x43f9be[_0x4cf46f(0x11c)](_0x18bfaa,i['UNIVER_SHEET']);}async[_0x40c2b9(0x130)](_0xc30ac5){const _0x31f499=_0x40c2b9,_0x10229c=this[_0x31f499(0x12e)][_0x31f499(0x132)](n[_0x31f499(0x125)]);if(!_0x10229c)throw new Error(_0x31f499(0x11b));return _0x10229c['importXLSXToSnapshot'](_0xc30ac5);}async[_0x40c2b9(0x123)](_0x637b22){const _0x21b817=_0x40c2b9,_0x377fa7=this[_0x21b817(0x12e)][_0x21b817(0x132)](n[_0x21b817(0x125)]);if(!_0x377fa7)throw new Error(_0x21b817(0x11b));return _0x377fa7[_0x21b817(0x123)](_0x637b22);}async['exportXLSXBySnapshot'](_0x2ee6ff){const _0x54ec29=_0x40c2b9,_0x54f84c=this[_0x54ec29(0x12e)]['get'](n[_0x54ec29(0x125)]);if(!_0x54f84c)throw new Error(_0x54ec29(0x11b));return _0x54f84c[_0x54ec29(0x11d)](_0x2ee6ff);}async[_0x40c2b9(0x126)](_0x5bbfcb){const _0x5d37bf=_0x40c2b9,_0x1cde24=this[_0x5d37bf(0x12e)]['get'](n[_0x5d37bf(0x125)]);if(!_0x1cde24)throw new Error(_0x5d37bf(0x11b));return _0x1cde24[_0x5d37bf(0x11c)](_0x5bbfcb,i[_0x5d37bf(0x120)]);}async[_0x40c2b9(0x122)](_0x44d45d){const _0x4d4146=_0x40c2b9,_0x3d0b12=this[_0x4d4146(0x12e)][_0x4d4146(0x132)](n['IExchangeService']);if(!_0x3d0b12)throw new Error(_0x4d4146(0x11b));return _0x3d0b12['importDOCXToSnapshot'](_0x44d45d);}}c[_0x40c2b9(0x12a)][_0x40c2b9(0x117)](o);function _0x1371(){const _0x4922fe=['UNIVER_DOC','UNIVER_UNKNOWN','importDOCXToSnapshot','exportXLSXByUnitId','89724lrJMas','IExchangeService','importDOCXToUnitId','importXLSXToUnitId','1759230YvyFmT','UNIVER_SLIDE','FUniver','7sIgyVV','20185PqQnjL','UNIVER_SHEET','_injector','UNIVER_PROJECT','importXLSXToSnapshot','@univerjs/core','get','1769364wiftuL','1141548emTJuH','2EOnwuI','extend','910146YLiytf','UNRECOGNIZED','8IJErmk','The\x20exchange\x20service\x20is\x20not\x20available','importFileToUnitId','exportXLSXBySnapshot','1843587fuDSXX','@univerjs-pro/exchange-client'];_0x1371=function(){return _0x4922fe;};return _0x1371();}