@univerjs-pro/exchange-client 0.5.1-nightly.202412261606 → 0.5.1-nightly.202412271606

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 _0x5a27c4=_0x49d3;function _0x49d3(_0x3c1642,_0x333059){const _0xfd12ed=_0xfd12();return _0x49d3=function(_0x49d300,_0x189b11){_0x49d300=_0x49d300-0x1be;let _0x16044=_0xfd12ed[_0x49d300];return _0x16044;},_0x49d3(_0x3c1642,_0x333059);}(function(_0x4588da,_0xfd435){const _0x1b77b9=_0x49d3,_0x45729d=_0x4588da();while(!![]){try{const _0x2efb3f=parseInt(_0x1b77b9(0x1c1))/0x1*(parseInt(_0x1b77b9(0x1ce))/0x2)+parseInt(_0x1b77b9(0x1d7))/0x3+-parseInt(_0x1b77b9(0x1d5))/0x4*(parseInt(_0x1b77b9(0x1bf))/0x5)+-parseInt(_0x1b77b9(0x1d8))/0x6+parseInt(_0x1b77b9(0x1c3))/0x7*(parseInt(_0x1b77b9(0x1d6))/0x8)+parseInt(_0x1b77b9(0x1cc))/0x9+-parseInt(_0x1b77b9(0x1d2))/0xa;if(_0x2efb3f===_0xfd435)break;else _0x45729d['push'](_0x45729d['shift']());}catch(_0x6f7c3c){_0x45729d['push'](_0x45729d['shift']());}}}(_0xfd12,0x3d8c1));function _0xfd12(){const _0x162ff9=['24HTlPXc','507945LDSpYl','1146768GBiWhi','importXLSXToSnapshot','FUniver','get','UNRECOGNIZED','3670pPqFYH','importDOCXToUnitId','426107jcunUb','extend','1146677KFCEVA','importDOCXToSnapshot','exportXLSXByUnitId','UNIVER_SHEET','IExchangeService','exportXLSXBySnapshot','importXLSXToUnitId','UNIVER_UNKNOWN','@univerjs/core','1129104ZhZfOl','UNIVER_DOC','2tSUMFd','importFileToUnitId','_injector','UNIVER_PROJECT','4938360ETKuPC','The\x20exchange\x20service\x20is\x20not\x20available','UNIVER_SLIDE','1500htovYw'];_0xfd12=function(){return _0x162ff9;};return _0xfd12();}const c=require(_0x5a27c4(0x1cb)),n=require('@univerjs-pro/exchange-client');var i=(_0x1e2d59=>(_0x1e2d59[_0x1e2d59['UNIVER_UNKNOWN']=0x0]=_0x5a27c4(0x1ca),_0x1e2d59[_0x1e2d59['UNIVER_DOC']=0x1]=_0x5a27c4(0x1cd),_0x1e2d59[_0x1e2d59[_0x5a27c4(0x1c6)]=0x2]='UNIVER_SHEET',_0x1e2d59[_0x1e2d59[_0x5a27c4(0x1d4)]=0x3]=_0x5a27c4(0x1d4),_0x1e2d59[_0x1e2d59['UNIVER_PROJECT']=0x4]=_0x5a27c4(0x1d1),_0x1e2d59[_0x1e2d59[_0x5a27c4(0x1be)]=-0x1]=_0x5a27c4(0x1be),_0x1e2d59))(i||{});class o extends c[_0x5a27c4(0x1da)]{async[_0x5a27c4(0x1c9)](_0x5d1e44){const _0x144919=_0x5a27c4,_0x4fef80=this[_0x144919(0x1d0)][_0x144919(0x1db)](n[_0x144919(0x1c7)]);if(!_0x4fef80)throw new Error('The\x20exchange\x20service\x20is\x20not\x20available');return _0x4fef80[_0x144919(0x1cf)](_0x5d1e44,i[_0x144919(0x1c6)]);}async[_0x5a27c4(0x1d9)](_0x399de6){const _0x18120f=_0x5a27c4,_0x70d6f7=this['_injector']['get'](n[_0x18120f(0x1c7)]);if(!_0x70d6f7)throw new Error(_0x18120f(0x1d3));return _0x70d6f7['importXLSXToSnapshot'](_0x399de6);}async[_0x5a27c4(0x1c5)](_0x26285d){const _0x3c381c=_0x5a27c4,_0x5dcaba=this[_0x3c381c(0x1d0)]['get'](n[_0x3c381c(0x1c7)]);if(!_0x5dcaba)throw new Error(_0x3c381c(0x1d3));return _0x5dcaba[_0x3c381c(0x1c5)](_0x26285d);}async['exportXLSXBySnapshot'](_0x21c500){const _0x4caf4e=_0x5a27c4,_0x2c7ad2=this['_injector'][_0x4caf4e(0x1db)](n['IExchangeService']);if(!_0x2c7ad2)throw new Error(_0x4caf4e(0x1d3));return _0x2c7ad2[_0x4caf4e(0x1c8)](_0x21c500);}async[_0x5a27c4(0x1c0)](_0x228def){const _0x4613c5=_0x5a27c4,_0x435ec9=this[_0x4613c5(0x1d0)][_0x4613c5(0x1db)](n[_0x4613c5(0x1c7)]);if(!_0x435ec9)throw new Error(_0x4613c5(0x1d3));return _0x435ec9['importFileToUnitId'](_0x228def,i['UNIVER_DOC']);}async[_0x5a27c4(0x1c4)](_0x85de42){const _0xcc93d2=_0x5a27c4,_0x30219b=this['_injector'][_0xcc93d2(0x1db)](n[_0xcc93d2(0x1c7)]);if(!_0x30219b)throw new Error(_0xcc93d2(0x1d3));return _0x30219b['importDOCXToSnapshot'](_0x85de42);}}c[_0x5a27c4(0x1da)][_0x5a27c4(0x1c2)](o);
1
+ 'use strict';const _0x3ce881=_0x4833;(function(_0x3a3f5f,_0x50b461){const _0x13a230=_0x4833,_0x5a930f=_0x3a3f5f();while(!![]){try{const _0x49ffd6=-parseInt(_0x13a230(0x157))/0x1*(-parseInt(_0x13a230(0x159))/0x2)+-parseInt(_0x13a230(0x156))/0x3+parseInt(_0x13a230(0x15c))/0x4+parseInt(_0x13a230(0x15d))/0x5+-parseInt(_0x13a230(0x165))/0x6+parseInt(_0x13a230(0x167))/0x7+-parseInt(_0x13a230(0x15a))/0x8;if(_0x49ffd6===_0x50b461)break;else _0x5a930f['push'](_0x5a930f['shift']());}catch(_0xec5b1){_0x5a930f['push'](_0x5a930f['shift']());}}}(_0x40b3,0x826a1));function _0x4833(_0x4c699b,_0x4455b9){const _0x40b31b=_0x40b3();return _0x4833=function(_0x483316,_0x56019e){_0x483316=_0x483316-0x154;let _0x566883=_0x40b31b[_0x483316];return _0x566883;},_0x4833(_0x4c699b,_0x4455b9);}const c=require('@univerjs/core'),n=require(_0x3ce881(0x155));function _0x40b3(){const _0x397bda=['1799536USWuyh','4618215eCKgeE','_injector','IExchangeService','exportXLSXBySnapshot','importXLSXToSnapshot','importFileToUnitId','get','importDOCXToSnapshot','6277728FPIHby','The\x20exchange\x20service\x20is\x20not\x20available','3658900aDwIhR','UNIVER_SHEET','FUniver','extend','importDOCXToUnitId','UNIVER_UNKNOWN','exportXLSXByUnitId','UNRECOGNIZED','UNIVER_SLIDE','@univerjs-pro/exchange-client','1751190dMNyEd','1HKkGSY','UNIVER_DOC','628322uczJfZ','369544oqrWhe','UNIVER_PROJECT'];_0x40b3=function(){return _0x397bda;};return _0x40b3();}var i=(_0x439679=>(_0x439679[_0x439679[_0x3ce881(0x16c)]=0x0]=_0x3ce881(0x16c),_0x439679[_0x439679['UNIVER_DOC']=0x1]=_0x3ce881(0x158),_0x439679[_0x439679[_0x3ce881(0x168)]=0x2]=_0x3ce881(0x168),_0x439679[_0x439679['UNIVER_SLIDE']=0x3]=_0x3ce881(0x154),_0x439679[_0x439679[_0x3ce881(0x15b)]=0x4]=_0x3ce881(0x15b),_0x439679[_0x439679['UNRECOGNIZED']=-0x1]=_0x3ce881(0x16e),_0x439679))(i||{});class o extends c[_0x3ce881(0x169)]{async['importXLSXToUnitId'](_0x471e78){const _0x2c6349=_0x3ce881,_0x1f5ca6=this['_injector'][_0x2c6349(0x163)](n[_0x2c6349(0x15f)]);if(!_0x1f5ca6)throw new Error(_0x2c6349(0x166));return _0x1f5ca6[_0x2c6349(0x162)](_0x471e78,i[_0x2c6349(0x168)]);}async[_0x3ce881(0x161)](_0x3609c1){const _0x347ddd=_0x3ce881,_0x5e3425=this[_0x347ddd(0x15e)][_0x347ddd(0x163)](n[_0x347ddd(0x15f)]);if(!_0x5e3425)throw new Error(_0x347ddd(0x166));return _0x5e3425['importXLSXToSnapshot'](_0x3609c1);}async[_0x3ce881(0x16d)](_0x58cff9){const _0x48d88d=_0x3ce881,_0x4bc645=this[_0x48d88d(0x15e)][_0x48d88d(0x163)](n[_0x48d88d(0x15f)]);if(!_0x4bc645)throw new Error(_0x48d88d(0x166));return _0x4bc645[_0x48d88d(0x16d)](_0x58cff9);}async[_0x3ce881(0x160)](_0x382803){const _0x53094d=_0x3ce881,_0x45df27=this[_0x53094d(0x15e)][_0x53094d(0x163)](n['IExchangeService']);if(!_0x45df27)throw new Error(_0x53094d(0x166));return _0x45df27[_0x53094d(0x160)](_0x382803);}async[_0x3ce881(0x16b)](_0x4c87bb){const _0xc3df35=_0x3ce881,_0x10c757=this[_0xc3df35(0x15e)]['get'](n['IExchangeService']);if(!_0x10c757)throw new Error(_0xc3df35(0x166));return _0x10c757['importFileToUnitId'](_0x4c87bb,i[_0xc3df35(0x158)]);}async[_0x3ce881(0x164)](_0x3473e4){const _0x5c3630=_0x3ce881,_0x557b4d=this[_0x5c3630(0x15e)]['get'](n[_0x5c3630(0x15f)]);if(!_0x557b4d)throw new Error(_0x5c3630(0x166));return _0x557b4d[_0x5c3630(0x164)](_0x3473e4);}}c[_0x3ce881(0x169)][_0x3ce881(0x16a)](o);