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

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 _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();}
1
+ 'use strict';function _0x4f92(_0x48ca2c,_0x239e63){const _0x1745c2=_0x1745();return _0x4f92=function(_0x4f92cd,_0x44bd26){_0x4f92cd=_0x4f92cd-0xfd;let _0x37d142=_0x1745c2[_0x4f92cd];return _0x37d142;},_0x4f92(_0x48ca2c,_0x239e63);}const _0x16ae6e=_0x4f92;(function(_0x1e289b,_0x49cfca){const _0x5b0ae3=_0x4f92,_0x4f69b0=_0x1e289b();while(!![]){try{const _0x153d4d=-parseInt(_0x5b0ae3(0x100))/0x1*(parseInt(_0x5b0ae3(0x118))/0x2)+-parseInt(_0x5b0ae3(0x113))/0x3+-parseInt(_0x5b0ae3(0x10a))/0x4+parseInt(_0x5b0ae3(0x117))/0x5*(parseInt(_0x5b0ae3(0x10b))/0x6)+-parseInt(_0x5b0ae3(0xfe))/0x7+parseInt(_0x5b0ae3(0x10c))/0x8+parseInt(_0x5b0ae3(0x103))/0x9*(parseInt(_0x5b0ae3(0x10f))/0xa);if(_0x153d4d===_0x49cfca)break;else _0x4f69b0['push'](_0x4f69b0['shift']());}catch(_0x152464){_0x4f69b0['push'](_0x4f69b0['shift']());}}}(_0x1745,0xd8a81));function _0x1745(){const _0x5acb31=['337081oPxURd','get','UNIVER_SLIDE','9BQLCnX','importDOCXToSnapshot','extend','UNIVER_SHEET','UNIVER_PROJECT','UNIVER_DOC','importFileToUnitId','1155352mrTpdw','58614oSgZYL','1023880MuAbOu','_injector','FUniver','12344410KQzhfo','exportXLSXByUnitId','UNRECOGNIZED','IExchangeService','454005rHGjPH','@univerjs-pro/exchange-client','importDOCXToUnitId','The\x20exchange\x20service\x20is\x20not\x20available','745aTJAFS','8wAZMSQ','importXLSXToUnitId','994595PMvHYl','UNIVER_UNKNOWN'];_0x1745=function(){return _0x5acb31;};return _0x1745();}const c=require('@univerjs/core'),n=require(_0x16ae6e(0x114));var i=(_0x5bccef=>(_0x5bccef[_0x5bccef['UNIVER_UNKNOWN']=0x0]=_0x16ae6e(0xff),_0x5bccef[_0x5bccef[_0x16ae6e(0x108)]=0x1]=_0x16ae6e(0x108),_0x5bccef[_0x5bccef[_0x16ae6e(0x106)]=0x2]=_0x16ae6e(0x106),_0x5bccef[_0x5bccef[_0x16ae6e(0x102)]=0x3]=_0x16ae6e(0x102),_0x5bccef[_0x5bccef[_0x16ae6e(0x107)]=0x4]=_0x16ae6e(0x107),_0x5bccef[_0x5bccef[_0x16ae6e(0x111)]=-0x1]=_0x16ae6e(0x111),_0x5bccef))(i||{});class o extends c[_0x16ae6e(0x10e)]{async[_0x16ae6e(0xfd)](_0x265aef){const _0x1eaa95=_0x16ae6e,_0x25274f=this['_injector'][_0x1eaa95(0x101)](n['IExchangeService']);if(!_0x25274f)throw new Error(_0x1eaa95(0x116));return _0x25274f[_0x1eaa95(0x109)](_0x265aef,i[_0x1eaa95(0x106)]);}async['importXLSXToSnapshot'](_0x4011ce){const _0x2e51be=_0x16ae6e,_0xbb2997=this[_0x2e51be(0x10d)][_0x2e51be(0x101)](n['IExchangeService']);if(!_0xbb2997)throw new Error(_0x2e51be(0x116));return _0xbb2997['importXLSXToSnapshot'](_0x4011ce);}async['exportXLSXByUnitId'](_0x5f2ba8){const _0x19f067=_0x16ae6e,_0x5a3345=this[_0x19f067(0x10d)]['get'](n[_0x19f067(0x112)]);if(!_0x5a3345)throw new Error(_0x19f067(0x116));return _0x5a3345[_0x19f067(0x110)](_0x5f2ba8);}async['exportXLSXBySnapshot'](_0x102700){const _0x4c8203=_0x16ae6e,_0xea83fd=this[_0x4c8203(0x10d)][_0x4c8203(0x101)](n[_0x4c8203(0x112)]);if(!_0xea83fd)throw new Error(_0x4c8203(0x116));return _0xea83fd['exportXLSXBySnapshot'](_0x102700);}async[_0x16ae6e(0x115)](_0x47c73b){const _0x5a0935=_0x16ae6e,_0x273435=this[_0x5a0935(0x10d)]['get'](n['IExchangeService']);if(!_0x273435)throw new Error(_0x5a0935(0x116));return _0x273435['importFileToUnitId'](_0x47c73b,i[_0x5a0935(0x108)]);}async[_0x16ae6e(0x104)](_0x547ddf){const _0x3178f5=_0x16ae6e,_0x357a72=this[_0x3178f5(0x10d)][_0x3178f5(0x101)](n['IExchangeService']);if(!_0x357a72)throw new Error(_0x3178f5(0x116));return _0x357a72['importDOCXToSnapshot'](_0x547ddf);}}c[_0x16ae6e(0x10e)][_0x16ae6e(0x105)](o);