@univerjs-pro/exchange-client 0.5.1-nightly.202411301606 → 0.5.1-nightly.202412021606

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 _0x360015=_0x266a;(function(_0x1220ab,_0x264e27){const _0x2d503e=_0x266a,_0x18fa78=_0x1220ab();while(!![]){try{const _0x477b52=parseInt(_0x2d503e(0x148))/0x1+parseInt(_0x2d503e(0x145))/0x2+parseInt(_0x2d503e(0x149))/0x3+parseInt(_0x2d503e(0x14b))/0x4+-parseInt(_0x2d503e(0x14f))/0x5*(-parseInt(_0x2d503e(0x153))/0x6)+-parseInt(_0x2d503e(0x144))/0x7+-parseInt(_0x2d503e(0x143))/0x8;if(_0x477b52===_0x264e27)break;else _0x18fa78['push'](_0x18fa78['shift']());}catch(_0x294939){_0x18fa78['push'](_0x18fa78['shift']());}}}(_0x35f3,0xa337c));function _0x35f3(){const _0x1525f2=['UNIVER_DOC','importXLSXToSnapshot','@univerjs/core','The\x20exchange\x20service\x20is\x20not\x20available','importFileToUnitId','get','exportXLSXBySnapshot','exportXLSXByUnitId','importXLSXToUnitId','15617192wCEkEJ','30009lWlYvn','1577366IBZHcc','IExchangeService','UNIVER_SHEET','691306JtThUd','1422768uIZWKo','@univerjs-pro/exchange-client','1259168SsPaXj','UNIVER_PROJECT','importDOCXToUnitId','_injector','5mZkBfM','importDOCXToSnapshot','UNIVER_SLIDE','UNRECOGNIZED','2135634vxTOPJ','extend','UNIVER_UNKNOWN','FUniver'];_0x35f3=function(){return _0x1525f2;};return _0x35f3();}function _0x266a(_0x34c58e,_0x49dcd3){const _0x35f320=_0x35f3();return _0x266a=function(_0x266a47,_0x3632e2){_0x266a47=_0x266a47-0x141;let _0x2cc481=_0x35f320[_0x266a47];return _0x2cc481;},_0x266a(_0x34c58e,_0x49dcd3);}const c=require(_0x360015(0x159)),n=require(_0x360015(0x14a));var i=(_0x14b8fa=>(_0x14b8fa[_0x14b8fa[_0x360015(0x155)]=0x0]=_0x360015(0x155),_0x14b8fa[_0x14b8fa['UNIVER_DOC']=0x1]=_0x360015(0x157),_0x14b8fa[_0x14b8fa[_0x360015(0x147)]=0x2]=_0x360015(0x147),_0x14b8fa[_0x14b8fa[_0x360015(0x151)]=0x3]=_0x360015(0x151),_0x14b8fa[_0x14b8fa[_0x360015(0x14c)]=0x4]='UNIVER_PROJECT',_0x14b8fa[_0x14b8fa[_0x360015(0x152)]=-0x1]=_0x360015(0x152),_0x14b8fa))(i||{});class o extends c[_0x360015(0x156)]{async[_0x360015(0x142)](_0x55c01a){const _0xdb01c7=_0x360015,_0x503f1=this[_0xdb01c7(0x14e)][_0xdb01c7(0x15c)](n[_0xdb01c7(0x146)]);if(!_0x503f1)throw new Error(_0xdb01c7(0x15a));return _0x503f1[_0xdb01c7(0x15b)](_0x55c01a,i[_0xdb01c7(0x147)]);}async[_0x360015(0x158)](_0x3b3bed){const _0xdeeb0d=_0x360015,_0x10036c=this[_0xdeeb0d(0x14e)][_0xdeeb0d(0x15c)](n['IExchangeService']);if(!_0x10036c)throw new Error('The\x20exchange\x20service\x20is\x20not\x20available');return _0x10036c['importXLSXToSnapshot'](_0x3b3bed);}async['exportXLSXByUnitId'](_0x30d67f){const _0x4b9409=_0x360015,_0x5cc826=this[_0x4b9409(0x14e)][_0x4b9409(0x15c)](n[_0x4b9409(0x146)]);if(!_0x5cc826)throw new Error(_0x4b9409(0x15a));return _0x5cc826[_0x4b9409(0x141)](_0x30d67f);}async[_0x360015(0x15d)](_0x233c1a){const _0x1ad912=_0x360015,_0x1cd7e4=this[_0x1ad912(0x14e)][_0x1ad912(0x15c)](n[_0x1ad912(0x146)]);if(!_0x1cd7e4)throw new Error(_0x1ad912(0x15a));return _0x1cd7e4[_0x1ad912(0x15d)](_0x233c1a);}async[_0x360015(0x14d)](_0x1db8c2){const _0x4eaa9c=_0x360015,_0x35a4e4=this[_0x4eaa9c(0x14e)][_0x4eaa9c(0x15c)](n[_0x4eaa9c(0x146)]);if(!_0x35a4e4)throw new Error('The\x20exchange\x20service\x20is\x20not\x20available');return _0x35a4e4['importFileToUnitId'](_0x1db8c2,i[_0x4eaa9c(0x157)]);}async[_0x360015(0x150)](_0x3a2079){const _0x375438=_0x360015,_0x4058f0=this[_0x375438(0x14e)][_0x375438(0x15c)](n['IExchangeService']);if(!_0x4058f0)throw new Error(_0x375438(0x15a));return _0x4058f0[_0x375438(0x150)](_0x3a2079);}}c[_0x360015(0x156)][_0x360015(0x154)](o);
1
+ 'use strict';const _0x10a5cb=_0x136a;(function(_0x22dcf0,_0x53f325){const _0x16b882=_0x136a,_0x18c28b=_0x22dcf0();while(!![]){try{const _0x1e095e=-parseInt(_0x16b882(0x1e3))/0x1*(parseInt(_0x16b882(0x1d8))/0x2)+parseInt(_0x16b882(0x1e9))/0x3+-parseInt(_0x16b882(0x1df))/0x4*(parseInt(_0x16b882(0x1dd))/0x5)+parseInt(_0x16b882(0x1e2))/0x6*(parseInt(_0x16b882(0x1ea))/0x7)+-parseInt(_0x16b882(0x1d7))/0x8+-parseInt(_0x16b882(0x1db))/0x9+parseInt(_0x16b882(0x1de))/0xa;if(_0x1e095e===_0x53f325)break;else _0x18c28b['push'](_0x18c28b['shift']());}catch(_0x2e21aa){_0x18c28b['push'](_0x18c28b['shift']());}}}(_0x2dcb,0x19be6));function _0x2dcb(){const _0x14dc71=['get','exportXLSXByUnitId','_injector','@univerjs-pro/exchange-client','UNIVER_SHEET','IExchangeService','importFileToUnitId','1460160yVmgvD','6MISaTU','importDOCXToSnapshot','UNIVER_PROJECT','283041TYoTMX','UNIVER_UNKNOWN','76570kkengL','3553030PvzVFy','24woEhna','UNIVER_DOC','The\x20exchange\x20service\x20is\x20not\x20available','306GQbuGT','18758dgUTaS','importDOCXToUnitId','UNRECOGNIZED','FUniver','UNIVER_SLIDE','exportXLSXBySnapshot','272703HXvvvr','2933FiqmDQ','importXLSXToSnapshot'];_0x2dcb=function(){return _0x14dc71;};return _0x2dcb();}function _0x136a(_0x54891f,_0x2086f1){const _0x2dcb46=_0x2dcb();return _0x136a=function(_0x136a68,_0x37158a){_0x136a68=_0x136a68-0x1d4;let _0x17cdfd=_0x2dcb46[_0x136a68];return _0x17cdfd;},_0x136a(_0x54891f,_0x2086f1);}const c=require('@univerjs/core'),n=require(_0x10a5cb(0x1ef));var i=(_0x49e1b1=>(_0x49e1b1[_0x49e1b1[_0x10a5cb(0x1dc)]=0x0]=_0x10a5cb(0x1dc),_0x49e1b1[_0x49e1b1[_0x10a5cb(0x1e0)]=0x1]=_0x10a5cb(0x1e0),_0x49e1b1[_0x49e1b1[_0x10a5cb(0x1d4)]=0x2]='UNIVER_SHEET',_0x49e1b1[_0x49e1b1[_0x10a5cb(0x1e7)]=0x3]=_0x10a5cb(0x1e7),_0x49e1b1[_0x49e1b1['UNIVER_PROJECT']=0x4]=_0x10a5cb(0x1da),_0x49e1b1[_0x49e1b1[_0x10a5cb(0x1e5)]=-0x1]='UNRECOGNIZED',_0x49e1b1))(i||{});class o extends c[_0x10a5cb(0x1e6)]{async['importXLSXToUnitId'](_0x557ec3){const _0x33df74=_0x10a5cb,_0x401f77=this[_0x33df74(0x1ee)]['get'](n['IExchangeService']);if(!_0x401f77)throw new Error('The\x20exchange\x20service\x20is\x20not\x20available');return _0x401f77[_0x33df74(0x1d6)](_0x557ec3,i[_0x33df74(0x1d4)]);}async['importXLSXToSnapshot'](_0x4bd465){const _0x339151=_0x10a5cb,_0xd234b1=this[_0x339151(0x1ee)][_0x339151(0x1ec)](n[_0x339151(0x1d5)]);if(!_0xd234b1)throw new Error('The\x20exchange\x20service\x20is\x20not\x20available');return _0xd234b1[_0x339151(0x1eb)](_0x4bd465);}async[_0x10a5cb(0x1ed)](_0x1962fc){const _0x52f7f5=_0x10a5cb,_0x1b4acf=this[_0x52f7f5(0x1ee)][_0x52f7f5(0x1ec)](n['IExchangeService']);if(!_0x1b4acf)throw new Error(_0x52f7f5(0x1e1));return _0x1b4acf['exportXLSXByUnitId'](_0x1962fc);}async[_0x10a5cb(0x1e8)](_0x59342b){const _0x3fd6fd=_0x10a5cb,_0x593dd8=this['_injector'][_0x3fd6fd(0x1ec)](n['IExchangeService']);if(!_0x593dd8)throw new Error(_0x3fd6fd(0x1e1));return _0x593dd8['exportXLSXBySnapshot'](_0x59342b);}async[_0x10a5cb(0x1e4)](_0x287872){const _0x2fce85=_0x10a5cb,_0x3f4ce2=this[_0x2fce85(0x1ee)][_0x2fce85(0x1ec)](n['IExchangeService']);if(!_0x3f4ce2)throw new Error(_0x2fce85(0x1e1));return _0x3f4ce2['importFileToUnitId'](_0x287872,i[_0x2fce85(0x1e0)]);}async['importDOCXToSnapshot'](_0x3b524a){const _0x367030=_0x10a5cb,_0xb5192e=this[_0x367030(0x1ee)][_0x367030(0x1ec)](n[_0x367030(0x1d5)]);if(!_0xb5192e)throw new Error(_0x367030(0x1e1));return _0xb5192e[_0x367030(0x1d9)](_0x3b524a);}}c[_0x10a5cb(0x1e6)]['extend'](o);