@univerjs-pro/exchange-client 0.5.1-nightly.202412180637 → 0.5.1-nightly.202412180740

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 _0xf948c2=_0xb03c;(function(_0x2a0600,_0x5b17ff){const _0x2890de=_0xb03c,_0x2bd7d7=_0x2a0600();while(!![]){try{const _0x63b50d=parseInt(_0x2890de(0x1bb))/0x1*(parseInt(_0x2890de(0x1c5))/0x2)+parseInt(_0x2890de(0x1be))/0x3*(parseInt(_0x2890de(0x1ca))/0x4)+parseInt(_0x2890de(0x1c9))/0x5*(-parseInt(_0x2890de(0x1b9))/0x6)+parseInt(_0x2890de(0x1c1))/0x7+-parseInt(_0x2890de(0x1c3))/0x8*(parseInt(_0x2890de(0x1c4))/0x9)+parseInt(_0x2890de(0x1c6))/0xa*(parseInt(_0x2890de(0x1b0))/0xb)+-parseInt(_0x2890de(0x1bc))/0xc;if(_0x63b50d===_0x5b17ff)break;else _0x2bd7d7['push'](_0x2bd7d7['shift']());}catch(_0x3ecd22){_0x2bd7d7['push'](_0x2bd7d7['shift']());}}}(_0x5cb6,0x550eb));const c=require(_0xf948c2(0x1c0)),n=require('@univerjs-pro/exchange-client');var i=(_0x3b5db0=>(_0x3b5db0[_0x3b5db0['UNIVER_UNKNOWN']=0x0]=_0xf948c2(0x1b7),_0x3b5db0[_0x3b5db0[_0xf948c2(0x1c8)]=0x1]='UNIVER_DOC',_0x3b5db0[_0x3b5db0[_0xf948c2(0x1cb)]=0x2]=_0xf948c2(0x1cb),_0x3b5db0[_0x3b5db0['UNIVER_SLIDE']=0x3]=_0xf948c2(0x1b5),_0x3b5db0[_0x3b5db0['UNIVER_PROJECT']=0x4]=_0xf948c2(0x1b3),_0x3b5db0[_0x3b5db0['UNRECOGNIZED']=-0x1]=_0xf948c2(0x1bd),_0x3b5db0))(i||{});class o extends c[_0xf948c2(0x1b2)]{async[_0xf948c2(0x1b4)](_0x3c0293){const _0x29eab4=_0xf948c2,_0x48cc5d=this['_injector']['get'](n['IExchangeService']);if(!_0x48cc5d)throw new Error(_0x29eab4(0x1ba));return _0x48cc5d[_0x29eab4(0x1b1)](_0x3c0293,i[_0x29eab4(0x1cb)]);}async[_0xf948c2(0x1b6)](_0x417eea){const _0x1b0752=_0xf948c2,_0x543613=this[_0x1b0752(0x1cd)]['get'](n[_0x1b0752(0x1bf)]);if(!_0x543613)throw new Error(_0x1b0752(0x1ba));return _0x543613[_0x1b0752(0x1b6)](_0x417eea);}async[_0xf948c2(0x1cc)](_0x55aac5){const _0x238198=_0xf948c2,_0x1d8b21=this['_injector'][_0x238198(0x1b8)](n[_0x238198(0x1bf)]);if(!_0x1d8b21)throw new Error('The\x20exchange\x20service\x20is\x20not\x20available');return _0x1d8b21[_0x238198(0x1cc)](_0x55aac5);}async[_0xf948c2(0x1c2)](_0x485ad7){const _0x3b5463=_0xf948c2,_0x16dc51=this[_0x3b5463(0x1cd)]['get'](n['IExchangeService']);if(!_0x16dc51)throw new Error('The\x20exchange\x20service\x20is\x20not\x20available');return _0x16dc51[_0x3b5463(0x1c2)](_0x485ad7);}async[_0xf948c2(0x1c7)](_0x1cc950){const _0x3aca31=_0xf948c2,_0xc7511d=this[_0x3aca31(0x1cd)][_0x3aca31(0x1b8)](n[_0x3aca31(0x1bf)]);if(!_0xc7511d)throw new Error(_0x3aca31(0x1ba));return _0xc7511d[_0x3aca31(0x1b1)](_0x1cc950,i[_0x3aca31(0x1c8)]);}async['importDOCXToSnapshot'](_0x1d6ff7){const _0x139d52=_0xf948c2,_0x54b187=this[_0x139d52(0x1cd)][_0x139d52(0x1b8)](n['IExchangeService']);if(!_0x54b187)throw new Error(_0x139d52(0x1ba));return _0x54b187['importDOCXToSnapshot'](_0x1d6ff7);}}c['FUniver']['extend'](o);function _0xb03c(_0x4ccdb1,_0x167037){const _0x5cb676=_0x5cb6();return _0xb03c=function(_0xb03c97,_0x463640){_0xb03c97=_0xb03c97-0x1b0;let _0x20b505=_0x5cb676[_0xb03c97];return _0x20b505;},_0xb03c(_0x4ccdb1,_0x167037);}function _0x5cb6(){const _0x5aabf5=['importFileToUnitId','FUniver','UNIVER_PROJECT','importXLSXToUnitId','UNIVER_SLIDE','importXLSXToSnapshot','UNIVER_UNKNOWN','get','6aNVsRJ','The\x20exchange\x20service\x20is\x20not\x20available','889JdEukR','4263972ZEPdyc','UNRECOGNIZED','3pjZPrV','IExchangeService','@univerjs/core','1213205lbqdav','exportXLSXBySnapshot','24IILPIw','152991Kvxzbm','1520ELoyCH','670cTMofj','importDOCXToUnitId','UNIVER_DOC','3361105PClCfN','1550032OGPoSx','UNIVER_SHEET','exportXLSXByUnitId','_injector','31273QrSPgj'];_0x5cb6=function(){return _0x5aabf5;};return _0x5cb6();}
1
+ 'use strict';const _0xc7b53c=_0x1aa2;(function(_0x31311a,_0x14e5d2){const _0x42b717=_0x1aa2,_0x2fc67a=_0x31311a();while(!![]){try{const _0x50e395=parseInt(_0x42b717(0x158))/0x1+parseInt(_0x42b717(0x15a))/0x2*(-parseInt(_0x42b717(0x14e))/0x3)+-parseInt(_0x42b717(0x154))/0x4*(parseInt(_0x42b717(0x153))/0x5)+-parseInt(_0x42b717(0x161))/0x6*(-parseInt(_0x42b717(0x15c))/0x7)+parseInt(_0x42b717(0x162))/0x8+parseInt(_0x42b717(0x159))/0x9*(-parseInt(_0x42b717(0x15f))/0xa)+parseInt(_0x42b717(0x14f))/0xb;if(_0x50e395===_0x14e5d2)break;else _0x2fc67a['push'](_0x2fc67a['shift']());}catch(_0x59aa4b){_0x2fc67a['push'](_0x2fc67a['shift']());}}}(_0x1ead,0x48545));function _0x1ead(){const _0x3b5758=['2107404ZiHUUw','4493608vzgCxD','importDOCXToSnapshot','get','UNIVER_SHEET','exportXLSXByUnitId','UNRECOGNIZED','The\x20exchange\x20service\x20is\x20not\x20available','UNIVER_UNKNOWN','FUniver','UNIVER_SLIDE','6GVZAPQ','810865QSeCmH','_injector','importDOCXToUnitId','IExchangeService','535hpqWAA','11824iIjImw','importFileToUnitId','importXLSXToUnitId','importXLSXToSnapshot','250404vdKwMN','315tddeNb','580436DFJcBV','UNIVER_DOC','7ldJZiq','UNIVER_PROJECT','extend','12590wUrXLu','exportXLSXBySnapshot'];_0x1ead=function(){return _0x3b5758;};return _0x1ead();}const c=require('@univerjs/core'),n=require('@univerjs-pro/exchange-client');var i=(_0x531d5e=>(_0x531d5e[_0x531d5e[_0xc7b53c(0x14b)]=0x0]=_0xc7b53c(0x14b),_0x531d5e[_0x531d5e[_0xc7b53c(0x15b)]=0x1]=_0xc7b53c(0x15b),_0x531d5e[_0x531d5e[_0xc7b53c(0x147)]=0x2]=_0xc7b53c(0x147),_0x531d5e[_0x531d5e[_0xc7b53c(0x14d)]=0x3]='UNIVER_SLIDE',_0x531d5e[_0x531d5e[_0xc7b53c(0x15d)]=0x4]='UNIVER_PROJECT',_0x531d5e[_0x531d5e[_0xc7b53c(0x149)]=-0x1]=_0xc7b53c(0x149),_0x531d5e))(i||{});class o extends c[_0xc7b53c(0x14c)]{async[_0xc7b53c(0x156)](_0x295b7c){const _0x34324c=_0xc7b53c,_0x32b57f=this['_injector']['get'](n[_0x34324c(0x152)]);if(!_0x32b57f)throw new Error(_0x34324c(0x14a));return _0x32b57f[_0x34324c(0x155)](_0x295b7c,i[_0x34324c(0x147)]);}async[_0xc7b53c(0x157)](_0x3b2a99){const _0x5d1b5f=_0xc7b53c,_0x4f7f0a=this['_injector'][_0x5d1b5f(0x146)](n[_0x5d1b5f(0x152)]);if(!_0x4f7f0a)throw new Error(_0x5d1b5f(0x14a));return _0x4f7f0a[_0x5d1b5f(0x157)](_0x3b2a99);}async['exportXLSXByUnitId'](_0x197c98){const _0x4d64e8=_0xc7b53c,_0x5690c4=this[_0x4d64e8(0x150)][_0x4d64e8(0x146)](n[_0x4d64e8(0x152)]);if(!_0x5690c4)throw new Error(_0x4d64e8(0x14a));return _0x5690c4[_0x4d64e8(0x148)](_0x197c98);}async['exportXLSXBySnapshot'](_0x2abf91){const _0x48ff97=_0xc7b53c,_0xe4e3d=this[_0x48ff97(0x150)][_0x48ff97(0x146)](n['IExchangeService']);if(!_0xe4e3d)throw new Error(_0x48ff97(0x14a));return _0xe4e3d[_0x48ff97(0x160)](_0x2abf91);}async[_0xc7b53c(0x151)](_0x56cf5c){const _0x10e9c5=_0xc7b53c,_0x281a26=this[_0x10e9c5(0x150)][_0x10e9c5(0x146)](n[_0x10e9c5(0x152)]);if(!_0x281a26)throw new Error(_0x10e9c5(0x14a));return _0x281a26['importFileToUnitId'](_0x56cf5c,i[_0x10e9c5(0x15b)]);}async[_0xc7b53c(0x163)](_0x1ebbc0){const _0x4f7d03=_0xc7b53c,_0x574e86=this[_0x4f7d03(0x150)]['get'](n[_0x4f7d03(0x152)]);if(!_0x574e86)throw new Error(_0x4f7d03(0x14a));return _0x574e86[_0x4f7d03(0x163)](_0x1ebbc0);}}function _0x1aa2(_0xc8bdd9,_0x42fd8b){const _0x1ead77=_0x1ead();return _0x1aa2=function(_0x1aa267,_0x18540f){_0x1aa267=_0x1aa267-0x146;let _0x383ec8=_0x1ead77[_0x1aa267];return _0x383ec8;},_0x1aa2(_0xc8bdd9,_0x42fd8b);}c['FUniver'][_0xc7b53c(0x15e)](o);