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

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 _0x9b98a5=_0x36a8;(function(_0x438755,_0xea5beb){const _0x191f69=_0x36a8,_0x4e6d5e=_0x438755();while(!![]){try{const _0xa0ea4f=parseInt(_0x191f69(0x1ea))/0x1+parseInt(_0x191f69(0x1d7))/0x2+parseInt(_0x191f69(0x1ec))/0x3+parseInt(_0x191f69(0x1df))/0x4*(parseInt(_0x191f69(0x1e3))/0x5)+-parseInt(_0x191f69(0x1d8))/0x6+-parseInt(_0x191f69(0x1db))/0x7+parseInt(_0x191f69(0x1e1))/0x8*(-parseInt(_0x191f69(0x1e2))/0x9);if(_0xa0ea4f===_0xea5beb)break;else _0x4e6d5e['push'](_0x4e6d5e['shift']());}catch(_0x172a87){_0x4e6d5e['push'](_0x4e6d5e['shift']());}}}(_0x4ec4,0xe4bea));const c=require(_0x9b98a5(0x1d1)),n=require(_0x9b98a5(0x1eb));var i=(_0x2b5500=>(_0x2b5500[_0x2b5500[_0x9b98a5(0x1d3)]=0x0]='UNIVER_UNKNOWN',_0x2b5500[_0x2b5500[_0x9b98a5(0x1d9)]=0x1]='UNIVER_DOC',_0x2b5500[_0x2b5500[_0x9b98a5(0x1d6)]=0x2]=_0x9b98a5(0x1d6),_0x2b5500[_0x2b5500['UNIVER_SLIDE']=0x3]=_0x9b98a5(0x1e6),_0x2b5500[_0x2b5500[_0x9b98a5(0x1d4)]=0x4]=_0x9b98a5(0x1d4),_0x2b5500[_0x2b5500[_0x9b98a5(0x1e9)]=-0x1]=_0x9b98a5(0x1e9),_0x2b5500))(i||{});function _0x36a8(_0x4cead8,_0x308e70){const _0x4ec4d5=_0x4ec4();return _0x36a8=function(_0x36a862,_0x498d13){_0x36a862=_0x36a862-0x1d1;let _0x11f572=_0x4ec4d5[_0x36a862];return _0x11f572;},_0x36a8(_0x4cead8,_0x308e70);}function _0x4ec4(){const _0x596106=['UNIVER_SHEET','729854NchILK','701646UWJAwd','UNIVER_DOC','importFileToUnitId','5349337FUttDU','extend','get','exportXLSXByUnitId','12616Fuewvd','importDOCXToUnitId','2224MIdKJJ','29556lAPjAE','375nTdyNg','importDOCXToSnapshot','IExchangeService','UNIVER_SLIDE','importXLSXToSnapshot','FUniver','UNRECOGNIZED','263210ztbHLa','@univerjs-pro/exchange-client','5599005kWcTwK','_injector','The\x20exchange\x20service\x20is\x20not\x20available','@univerjs/core','exportXLSXBySnapshot','UNIVER_UNKNOWN','UNIVER_PROJECT','importXLSXToUnitId'];_0x4ec4=function(){return _0x596106;};return _0x4ec4();}class o extends c[_0x9b98a5(0x1e8)]{async[_0x9b98a5(0x1d5)](_0x155689){const _0x1b02c2=_0x9b98a5,_0x422532=this[_0x1b02c2(0x1ed)][_0x1b02c2(0x1dd)](n[_0x1b02c2(0x1e5)]);if(!_0x422532)throw new Error(_0x1b02c2(0x1ee));return _0x422532[_0x1b02c2(0x1da)](_0x155689,i['UNIVER_SHEET']);}async[_0x9b98a5(0x1e7)](_0x9b70fe){const _0x46cd0b=_0x9b98a5,_0x1f268a=this[_0x46cd0b(0x1ed)][_0x46cd0b(0x1dd)](n[_0x46cd0b(0x1e5)]);if(!_0x1f268a)throw new Error(_0x46cd0b(0x1ee));return _0x1f268a[_0x46cd0b(0x1e7)](_0x9b70fe);}async[_0x9b98a5(0x1de)](_0x91f13){const _0x4134b9=_0x9b98a5,_0x1aae08=this[_0x4134b9(0x1ed)][_0x4134b9(0x1dd)](n[_0x4134b9(0x1e5)]);if(!_0x1aae08)throw new Error(_0x4134b9(0x1ee));return _0x1aae08['exportXLSXByUnitId'](_0x91f13);}async[_0x9b98a5(0x1d2)](_0x2c89d1){const _0x3cfc72=_0x9b98a5,_0x3f6c2f=this[_0x3cfc72(0x1ed)][_0x3cfc72(0x1dd)](n[_0x3cfc72(0x1e5)]);if(!_0x3f6c2f)throw new Error(_0x3cfc72(0x1ee));return _0x3f6c2f[_0x3cfc72(0x1d2)](_0x2c89d1);}async[_0x9b98a5(0x1e0)](_0x132a81){const _0xc0b6ed=_0x9b98a5,_0x28282c=this[_0xc0b6ed(0x1ed)][_0xc0b6ed(0x1dd)](n['IExchangeService']);if(!_0x28282c)throw new Error(_0xc0b6ed(0x1ee));return _0x28282c[_0xc0b6ed(0x1da)](_0x132a81,i[_0xc0b6ed(0x1d9)]);}async[_0x9b98a5(0x1e4)](_0x1f2b75){const _0x65ac26=_0x9b98a5,_0x27523e=this[_0x65ac26(0x1ed)][_0x65ac26(0x1dd)](n['IExchangeService']);if(!_0x27523e)throw new Error(_0x65ac26(0x1ee));return _0x27523e[_0x65ac26(0x1e4)](_0x1f2b75);}}c[_0x9b98a5(0x1e8)][_0x9b98a5(0x1dc)](o);
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();}