@univerjs-pro/exchange-client 0.5.1-nightly.202412140448 → 0.5.1-nightly.202412151605

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';const _0xd7a6ea=_0x22c2;(function(_0x482ae6,_0x5809a3){const _0x59a2d8=_0x22c2,_0x315a10=_0x482ae6();while(!![]){try{const _0x11b95c=-parseInt(_0x59a2d8(0xdb))/0x1+parseInt(_0x59a2d8(0xd8))/0x2*(parseInt(_0x59a2d8(0xcc))/0x3)+parseInt(_0x59a2d8(0xd7))/0x4*(-parseInt(_0x59a2d8(0xd4))/0x5)+parseInt(_0x59a2d8(0xce))/0x6*(parseInt(_0x59a2d8(0xcf))/0x7)+parseInt(_0x59a2d8(0xc1))/0x8*(parseInt(_0x59a2d8(0xc3))/0x9)+-parseInt(_0x59a2d8(0xcd))/0xa*(-parseInt(_0x59a2d8(0xd2))/0xb)+-parseInt(_0x59a2d8(0xc5))/0xc;if(_0x11b95c===_0x5809a3)break;else _0x315a10['push'](_0x315a10['shift']());}catch(_0x40e451){_0x315a10['push'](_0x315a10['shift']());}}}(_0xcc72,0x5961f));function _0x22c2(_0x4911a6,_0x9bfa38){const _0xcc72fb=_0xcc72();return _0x22c2=function(_0x22c209,_0x9b7e7b){_0x22c209=_0x22c209-0xc1;let _0x1423ed=_0xcc72fb[_0x22c209];return _0x1423ed;},_0x22c2(_0x4911a6,_0x9bfa38);}function _0xcc72(){const _0x6d1684=['10JReACO','59286pcJUtU','77ZxvSXI','UNIVER_PROJECT','UNIVER_UNKNOWN','7939371aiKDyI','FUniver','9720MErtri','UNIVER_SLIDE','importXLSXToUnitId','476SwxVXa','3658HLAbUi','importDOCXToSnapshot','UNIVER_DOC','613748oojlfG','IExchangeService','extend','exportXLSXBySnapshot','UNIVER_SHEET','_injector','488WSADQM','exportXLSXByUnitId','76797tEVbej','@univerjs/core','8568912JJiGHH','get','importFileToUnitId','The\x20exchange\x20service\x20is\x20not\x20available','UNRECOGNIZED','importXLSXToSnapshot','importDOCXToUnitId','942giUyyD'];_0xcc72=function(){return _0x6d1684;};return _0xcc72();}const c=require(_0xd7a6ea(0xc4)),n=require('@univerjs-pro/exchange-client');var i=(_0x454048=>(_0x454048[_0x454048[_0xd7a6ea(0xd1)]=0x0]='UNIVER_UNKNOWN',_0x454048[_0x454048['UNIVER_DOC']=0x1]=_0xd7a6ea(0xda),_0x454048[_0x454048[_0xd7a6ea(0xdf)]=0x2]='UNIVER_SHEET',_0x454048[_0x454048[_0xd7a6ea(0xd5)]=0x3]=_0xd7a6ea(0xd5),_0x454048[_0x454048[_0xd7a6ea(0xd0)]=0x4]='UNIVER_PROJECT',_0x454048[_0x454048[_0xd7a6ea(0xc9)]=-0x1]='UNRECOGNIZED',_0x454048))(i||{});class o extends c[_0xd7a6ea(0xd3)]{async[_0xd7a6ea(0xd6)](_0x2d5b97){const _0x1a2bf3=_0xd7a6ea,_0x3cafd9=this['_injector'][_0x1a2bf3(0xc6)](n[_0x1a2bf3(0xdc)]);if(!_0x3cafd9)throw new Error(_0x1a2bf3(0xc8));return _0x3cafd9['importFileToUnitId'](_0x2d5b97,i['UNIVER_SHEET']);}async[_0xd7a6ea(0xca)](_0x5c145a){const _0x4bda9a=_0xd7a6ea,_0x32fc95=this['_injector'][_0x4bda9a(0xc6)](n[_0x4bda9a(0xdc)]);if(!_0x32fc95)throw new Error(_0x4bda9a(0xc8));return _0x32fc95[_0x4bda9a(0xca)](_0x5c145a);}async[_0xd7a6ea(0xc2)](_0x4cbb84){const _0x470394=_0xd7a6ea,_0x1cd598=this[_0x470394(0xe0)]['get'](n['IExchangeService']);if(!_0x1cd598)throw new Error(_0x470394(0xc8));return _0x1cd598['exportXLSXByUnitId'](_0x4cbb84);}async[_0xd7a6ea(0xde)](_0x109828){const _0xa96de6=_0xd7a6ea,_0x3e82be=this['_injector']['get'](n[_0xa96de6(0xdc)]);if(!_0x3e82be)throw new Error(_0xa96de6(0xc8));return _0x3e82be['exportXLSXBySnapshot'](_0x109828);}async[_0xd7a6ea(0xcb)](_0x59266f){const _0xc3eef8=_0xd7a6ea,_0x3de5ad=this[_0xc3eef8(0xe0)][_0xc3eef8(0xc6)](n[_0xc3eef8(0xdc)]);if(!_0x3de5ad)throw new Error(_0xc3eef8(0xc8));return _0x3de5ad[_0xc3eef8(0xc7)](_0x59266f,i[_0xc3eef8(0xda)]);}async[_0xd7a6ea(0xd9)](_0x3b52a0){const _0x1f7657=_0xd7a6ea,_0x380af5=this[_0x1f7657(0xe0)][_0x1f7657(0xc6)](n[_0x1f7657(0xdc)]);if(!_0x380af5)throw new Error(_0x1f7657(0xc8));return _0x380af5[_0x1f7657(0xd9)](_0x3b52a0);}}c[_0xd7a6ea(0xd3)][_0xd7a6ea(0xdd)](o);