@univerjs-pro/exchange-client 0.5.1-nightly.202412171606 → 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 _0x348f68=_0x2abe;(function(_0x5b144b,_0x2572d8){const _0x26eac8=_0x2abe,_0x5e9459=_0x5b144b();while(!![]){try{const _0x5009fc=-parseInt(_0x26eac8(0x8c))/0x1+parseInt(_0x26eac8(0xa1))/0x2+parseInt(_0x26eac8(0x99))/0x3+parseInt(_0x26eac8(0x93))/0x4+-parseInt(_0x26eac8(0xa6))/0x5+parseInt(_0x26eac8(0x9f))/0x6*(-parseInt(_0x26eac8(0xa3))/0x7)+parseInt(_0x26eac8(0x97))/0x8*(parseInt(_0x26eac8(0x94))/0x9);if(_0x5009fc===_0x2572d8)break;else _0x5e9459['push'](_0x5e9459['shift']());}catch(_0x1daba9){_0x5e9459['push'](_0x5e9459['shift']());}}}(_0x4d87,0x83f6d));function _0x4d87(){const _0x3345fe=['importXLSXToSnapshot','UNIVER_PROJECT','UNIVER_DOC','importFileToUnitId','12RBRYpg','UNIVER_UNKNOWN','1997004sTkJqi','UNRECOGNIZED','2133131OFuTCN','importDOCXToSnapshot','exportXLSXBySnapshot','2140870BzbjkX','exportXLSXByUnitId','extend','1064646kxzsjG','importDOCXToUnitId','get','@univerjs-pro/exchange-client','The\x20exchange\x20service\x20is\x20not\x20available','IExchangeService','FUniver','794296ERvLLV','450XeJVND','UNIVER_SHEET','importXLSXToUnitId','127384IMIZrp','_injector','1948755EYcYSz','UNIVER_SLIDE'];_0x4d87=function(){return _0x3345fe;};return _0x4d87();}const c=require('@univerjs/core'),n=require(_0x348f68(0x8f));var i=(_0x55bdb4=>(_0x55bdb4[_0x55bdb4[_0x348f68(0xa0)]=0x0]=_0x348f68(0xa0),_0x55bdb4[_0x55bdb4[_0x348f68(0x9d)]=0x1]=_0x348f68(0x9d),_0x55bdb4[_0x55bdb4['UNIVER_SHEET']=0x2]='UNIVER_SHEET',_0x55bdb4[_0x55bdb4[_0x348f68(0x9a)]=0x3]=_0x348f68(0x9a),_0x55bdb4[_0x55bdb4[_0x348f68(0x9c)]=0x4]=_0x348f68(0x9c),_0x55bdb4[_0x55bdb4[_0x348f68(0xa2)]=-0x1]=_0x348f68(0xa2),_0x55bdb4))(i||{});function _0x2abe(_0x25ca1b,_0x476a66){const _0x4d8708=_0x4d87();return _0x2abe=function(_0x2abec4,_0x57e03d){_0x2abec4=_0x2abec4-0x8a;let _0x4cebd9=_0x4d8708[_0x2abec4];return _0x4cebd9;},_0x2abe(_0x25ca1b,_0x476a66);}class o extends c['FUniver']{async[_0x348f68(0x96)](_0x1f063b){const _0x1eedc8=_0x348f68,_0x453f99=this['_injector'][_0x1eedc8(0x8e)](n[_0x1eedc8(0x91)]);if(!_0x453f99)throw new Error(_0x1eedc8(0x90));return _0x453f99['importFileToUnitId'](_0x1f063b,i[_0x1eedc8(0x95)]);}async[_0x348f68(0x9b)](_0x5ef158){const _0x3365d8=_0x348f68,_0x22e16f=this[_0x3365d8(0x98)][_0x3365d8(0x8e)](n[_0x3365d8(0x91)]);if(!_0x22e16f)throw new Error(_0x3365d8(0x90));return _0x22e16f[_0x3365d8(0x9b)](_0x5ef158);}async['exportXLSXByUnitId'](_0x1b6894){const _0x562735=_0x348f68,_0x391be3=this[_0x562735(0x98)][_0x562735(0x8e)](n[_0x562735(0x91)]);if(!_0x391be3)throw new Error(_0x562735(0x90));return _0x391be3[_0x562735(0x8a)](_0x1b6894);}async['exportXLSXBySnapshot'](_0x52314f){const _0x36a7b7=_0x348f68,_0x39b8fc=this['_injector'][_0x36a7b7(0x8e)](n[_0x36a7b7(0x91)]);if(!_0x39b8fc)throw new Error(_0x36a7b7(0x90));return _0x39b8fc[_0x36a7b7(0xa5)](_0x52314f);}async[_0x348f68(0x8d)](_0x37dff1){const _0x15f71a=_0x348f68,_0x3d5953=this[_0x15f71a(0x98)]['get'](n[_0x15f71a(0x91)]);if(!_0x3d5953)throw new Error(_0x15f71a(0x90));return _0x3d5953[_0x15f71a(0x9e)](_0x37dff1,i[_0x15f71a(0x9d)]);}async[_0x348f68(0xa4)](_0x52b4c5){const _0x4b532a=_0x348f68,_0x4c4746=this['_injector']['get'](n['IExchangeService']);if(!_0x4c4746)throw new Error(_0x4b532a(0x90));return _0x4c4746[_0x4b532a(0xa4)](_0x52b4c5);}}c[_0x348f68(0x92)][_0x348f68(0x8b)](o);
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);