@univerjs-pro/exchange-client 0.5.1-nightly.202412140448 → 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 _0x116038=_0x4934;(function(_0x3847ea,_0x4d4f08){const _0x1e590c=_0x4934,_0x3e9404=_0x3847ea();while(!![]){try{const _0xf6b0ab=-parseInt(_0x1e590c(0x133))/0x1+-parseInt(_0x1e590c(0x131))/0x2*(-parseInt(_0x1e590c(0x142))/0x3)+parseInt(_0x1e590c(0x141))/0x4+parseInt(_0x1e590c(0x13a))/0x5+parseInt(_0x1e590c(0x147))/0x6+-parseInt(_0x1e590c(0x136))/0x7+parseInt(_0x1e590c(0x13f))/0x8*(-parseInt(_0x1e590c(0x143))/0x9);if(_0xf6b0ab===_0x4d4f08)break;else _0x3e9404['push'](_0x3e9404['shift']());}catch(_0x59e9bd){_0x3e9404['push'](_0x3e9404['shift']());}}}(_0x10d8,0xd3cac));function _0x10d8(){const _0x597e83=['UNIVER_UNKNOWN','UNIVER_PROJECT','UNIVER_SHEET','4mFnEFp','FUniver','598627WVdFwq','The\x20exchange\x20service\x20is\x20not\x20available','_injector','4646887mEuIYU','importDOCXToSnapshot','UNRECOGNIZED','UNIVER_DOC','6713845JALWZa','UNIVER_SLIDE','get','importXLSXToUnitId','importFileToUnitId','28257816JFkccJ','exportXLSXByUnitId','5847200VCJneo','2165217NodVrz','9zIYwIi','importDOCXToUnitId','IExchangeService','@univerjs/core','8484888WameJB','exportXLSXBySnapshot'];_0x10d8=function(){return _0x597e83;};return _0x10d8();}const c=require(_0x116038(0x146)),n=require('@univerjs-pro/exchange-client');var i=(_0x5e6c4c=>(_0x5e6c4c[_0x5e6c4c[_0x116038(0x149)]=0x0]=_0x116038(0x149),_0x5e6c4c[_0x5e6c4c[_0x116038(0x139)]=0x1]=_0x116038(0x139),_0x5e6c4c[_0x5e6c4c['UNIVER_SHEET']=0x2]='UNIVER_SHEET',_0x5e6c4c[_0x5e6c4c[_0x116038(0x13b)]=0x3]=_0x116038(0x13b),_0x5e6c4c[_0x5e6c4c[_0x116038(0x12f)]=0x4]=_0x116038(0x12f),_0x5e6c4c[_0x5e6c4c[_0x116038(0x138)]=-0x1]='UNRECOGNIZED',_0x5e6c4c))(i||{});function _0x4934(_0x5be5ad,_0x29bacc){const _0x10d8b6=_0x10d8();return _0x4934=function(_0x49346f,_0xdad4ce){_0x49346f=_0x49346f-0x12f;let _0x570f3d=_0x10d8b6[_0x49346f];return _0x570f3d;},_0x4934(_0x5be5ad,_0x29bacc);}class o extends c[_0x116038(0x132)]{async[_0x116038(0x13d)](_0x2ec63d){const _0x4b5d43=_0x116038,_0x7cd690=this[_0x4b5d43(0x135)][_0x4b5d43(0x13c)](n[_0x4b5d43(0x145)]);if(!_0x7cd690)throw new Error(_0x4b5d43(0x134));return _0x7cd690[_0x4b5d43(0x13e)](_0x2ec63d,i[_0x4b5d43(0x130)]);}async['importXLSXToSnapshot'](_0x30d195){const _0x332c04=_0x116038,_0x5d4e2a=this[_0x332c04(0x135)][_0x332c04(0x13c)](n['IExchangeService']);if(!_0x5d4e2a)throw new Error(_0x332c04(0x134));return _0x5d4e2a['importXLSXToSnapshot'](_0x30d195);}async['exportXLSXByUnitId'](_0x37c4d8){const _0x50c3f1=_0x116038,_0x19bd8a=this['_injector'][_0x50c3f1(0x13c)](n['IExchangeService']);if(!_0x19bd8a)throw new Error(_0x50c3f1(0x134));return _0x19bd8a[_0x50c3f1(0x140)](_0x37c4d8);}async[_0x116038(0x148)](_0x5a3ed8){const _0x1cee67=_0x116038,_0x5abba4=this['_injector'][_0x1cee67(0x13c)](n['IExchangeService']);if(!_0x5abba4)throw new Error('The\x20exchange\x20service\x20is\x20not\x20available');return _0x5abba4[_0x1cee67(0x148)](_0x5a3ed8);}async[_0x116038(0x144)](_0x5389ea){const _0x39bc42=_0x116038,_0x2ac1fa=this['_injector'][_0x39bc42(0x13c)](n[_0x39bc42(0x145)]);if(!_0x2ac1fa)throw new Error(_0x39bc42(0x134));return _0x2ac1fa[_0x39bc42(0x13e)](_0x5389ea,i['UNIVER_DOC']);}async[_0x116038(0x137)](_0x122912){const _0x21c62a=_0x116038,_0x4ece7f=this[_0x21c62a(0x135)]['get'](n[_0x21c62a(0x145)]);if(!_0x4ece7f)throw new Error(_0x21c62a(0x134));return _0x4ece7f[_0x21c62a(0x137)](_0x122912);}}c[_0x116038(0x132)]['extend'](o);
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);