@univerjs-pro/exchange-client 0.5.0-nightly.202411221606 → 0.5.0-nightly.202411230627

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 _0x4fed86=_0x52fb;(function(_0x3c2421,_0xc1677e){const _0x555b5a=_0x52fb,_0x5d1c1f=_0x3c2421();while(!![]){try{const _0x8795c3=-parseInt(_0x555b5a(0x134))/0x1*(parseInt(_0x555b5a(0x135))/0x2)+parseInt(_0x555b5a(0x149))/0x3*(-parseInt(_0x555b5a(0x145))/0x4)+-parseInt(_0x555b5a(0x147))/0x5*(parseInt(_0x555b5a(0x13f))/0x6)+-parseInt(_0x555b5a(0x148))/0x7*(parseInt(_0x555b5a(0x138))/0x8)+-parseInt(_0x555b5a(0x132))/0x9+parseInt(_0x555b5a(0x137))/0xa*(parseInt(_0x555b5a(0x146))/0xb)+parseInt(_0x555b5a(0x13a))/0xc*(parseInt(_0x555b5a(0x14a))/0xd);if(_0x8795c3===_0xc1677e)break;else _0x5d1c1f['push'](_0x5d1c1f['shift']());}catch(_0x30e628){_0x5d1c1f['push'](_0x5d1c1f['shift']());}}}(_0x577b,0x38de7));function _0x52fb(_0x1a7316,_0x1668d0){const _0x577b6e=_0x577b();return _0x52fb=function(_0x52fbf7,_0x33972c){_0x52fbf7=_0x52fbf7-0x132;let _0x1b6e35=_0x577b6e[_0x52fbf7];return _0x1b6e35;},_0x52fb(_0x1a7316,_0x1668d0);}const c=require('@univerjs/core'),n=require(_0x4fed86(0x144));function _0x577b(){const _0x3c8a41=['exportXLSXByUnitId','IExchangeService','_injector','@univerjs-pro/exchange-client','4YsZGcM','28270UWHnab','2258095ZMFGmJ','84WOcKXV','407586auheKe','2483741cdDVms','The\x20exchange\x20service\x20is\x20not\x20available','FUniver','importXLSXToSnapshot','importFileToUnitId','exportXLSXBySnapshot','1226610MgOdYg','importDOCXToUnitId','1hqdYxI','330348ZxuuoZ','importDOCXToSnapshot','750ViCvBk','144808xNoPYf','UNIVER_DOC','72NvPnKl','UNIVER_SHEET','extend','get','UNIVER_PROJECT','6AOyHpO','UNIVER_SLIDE'];_0x577b=function(){return _0x3c8a41;};return _0x577b();}var i=(_0x23e006=>(_0x23e006[_0x23e006['UNIVER_UNKNOWN']=0x0]='UNIVER_UNKNOWN',_0x23e006[_0x23e006['UNIVER_DOC']=0x1]=_0x4fed86(0x139),_0x23e006[_0x23e006[_0x4fed86(0x13b)]=0x2]=_0x4fed86(0x13b),_0x23e006[_0x23e006[_0x4fed86(0x140)]=0x3]='UNIVER_SLIDE',_0x23e006[_0x23e006[_0x4fed86(0x13e)]=0x4]=_0x4fed86(0x13e),_0x23e006[_0x23e006['UNRECOGNIZED']=-0x1]='UNRECOGNIZED',_0x23e006))(i||{});class o extends c[_0x4fed86(0x14c)]{async['importXLSXToUnitId'](_0x156fb6){const _0x217c03=_0x4fed86,_0x1afab4=this[_0x217c03(0x143)][_0x217c03(0x13d)](n[_0x217c03(0x142)]);if(!_0x1afab4)throw new Error(_0x217c03(0x14b));return _0x1afab4[_0x217c03(0x14e)](_0x156fb6,i[_0x217c03(0x13b)]);}async['importXLSXToSnapshot'](_0x4d1cc4){const _0x3af1d1=_0x4fed86,_0x2dc754=this[_0x3af1d1(0x143)][_0x3af1d1(0x13d)](n[_0x3af1d1(0x142)]);if(!_0x2dc754)throw new Error(_0x3af1d1(0x14b));return _0x2dc754[_0x3af1d1(0x14d)](_0x4d1cc4);}async[_0x4fed86(0x141)](_0x1fe1ee){const _0x1c3067=_0x4fed86,_0x51061d=this[_0x1c3067(0x143)][_0x1c3067(0x13d)](n[_0x1c3067(0x142)]);if(!_0x51061d)throw new Error('The\x20exchange\x20service\x20is\x20not\x20available');return _0x51061d[_0x1c3067(0x141)](_0x1fe1ee);}async[_0x4fed86(0x14f)](_0x320aa9){const _0x411fad=_0x4fed86,_0x57f271=this[_0x411fad(0x143)][_0x411fad(0x13d)](n[_0x411fad(0x142)]);if(!_0x57f271)throw new Error(_0x411fad(0x14b));return _0x57f271['exportXLSXBySnapshot'](_0x320aa9);}async[_0x4fed86(0x133)](_0x3ad5fd){const _0x3aeba4=_0x4fed86,_0x56c276=this[_0x3aeba4(0x143)]['get'](n[_0x3aeba4(0x142)]);if(!_0x56c276)throw new Error(_0x3aeba4(0x14b));return _0x56c276['importFileToUnitId'](_0x3ad5fd,i[_0x3aeba4(0x139)]);}async[_0x4fed86(0x136)](_0x5b713b){const _0x3beb8a=_0x4fed86,_0x3a7714=this[_0x3beb8a(0x143)][_0x3beb8a(0x13d)](n[_0x3beb8a(0x142)]);if(!_0x3a7714)throw new Error(_0x3beb8a(0x14b));return _0x3a7714['importDOCXToSnapshot'](_0x5b713b);}}c[_0x4fed86(0x14c)][_0x4fed86(0x13c)](o);
1
+ 'use strict';const _0x51042b=_0x4984;(function(_0x5b0a1e,_0x199140){const _0x4217b9=_0x4984,_0x2f5f0e=_0x5b0a1e();while(!![]){try{const _0x2ab0dd=parseInt(_0x4217b9(0x1d6))/0x1*(-parseInt(_0x4217b9(0x1dd))/0x2)+parseInt(_0x4217b9(0x1e7))/0x3*(-parseInt(_0x4217b9(0x1ea))/0x4)+-parseInt(_0x4217b9(0x1ec))/0x5+parseInt(_0x4217b9(0x1e2))/0x6*(-parseInt(_0x4217b9(0x1e4))/0x7)+-parseInt(_0x4217b9(0x1da))/0x8+parseInt(_0x4217b9(0x1e1))/0x9+parseInt(_0x4217b9(0x1d7))/0xa;if(_0x2ab0dd===_0x199140)break;else _0x2f5f0e['push'](_0x2f5f0e['shift']());}catch(_0x1ddbd8){_0x2f5f0e['push'](_0x2f5f0e['shift']());}}}(_0x19c9,0x857b3));function _0x19c9(){const _0x44b73f=['importFileToUnitId','UNIVER_UNKNOWN','1ikgOZm','27079090SInRHn','IExchangeService','get','5120224gPVTAY','The\x20exchange\x20service\x20is\x20not\x20available','exportXLSXBySnapshot','617018fxGCix','exportXLSXByUnitId','UNIVER_SHEET','UNRECOGNIZED','2853810jZirzq','3018IuIyhb','@univerjs-pro/exchange-client','14875uCisgr','@univerjs/core','UNIVER_SLIDE','6lShVpk','FUniver','_injector','34984jXhjXT','importXLSXToUnitId','2216780GzBpCt','UNIVER_PROJECT','UNIVER_DOC','importXLSXToSnapshot'];_0x19c9=function(){return _0x44b73f;};return _0x19c9();}function _0x4984(_0x519c9d,_0x1f0c0c){const _0x19c95d=_0x19c9();return _0x4984=function(_0x4984d2,_0xffaba0){_0x4984d2=_0x4984d2-0x1d4;let _0x28020f=_0x19c95d[_0x4984d2];return _0x28020f;},_0x4984(_0x519c9d,_0x1f0c0c);}const c=require(_0x51042b(0x1e5)),n=require(_0x51042b(0x1e3));var i=(_0x2a0355=>(_0x2a0355[_0x2a0355[_0x51042b(0x1d5)]=0x0]=_0x51042b(0x1d5),_0x2a0355[_0x2a0355['UNIVER_DOC']=0x1]=_0x51042b(0x1ee),_0x2a0355[_0x2a0355[_0x51042b(0x1df)]=0x2]='UNIVER_SHEET',_0x2a0355[_0x2a0355[_0x51042b(0x1e6)]=0x3]='UNIVER_SLIDE',_0x2a0355[_0x2a0355[_0x51042b(0x1ed)]=0x4]=_0x51042b(0x1ed),_0x2a0355[_0x2a0355[_0x51042b(0x1e0)]=-0x1]=_0x51042b(0x1e0),_0x2a0355))(i||{});class o extends c[_0x51042b(0x1e8)]{async[_0x51042b(0x1eb)](_0x4ba146){const _0x15efda=_0x51042b,_0x2c6402=this[_0x15efda(0x1e9)]['get'](n[_0x15efda(0x1d8)]);if(!_0x2c6402)throw new Error(_0x15efda(0x1db));return _0x2c6402[_0x15efda(0x1d4)](_0x4ba146,i[_0x15efda(0x1df)]);}async[_0x51042b(0x1ef)](_0x4536c8){const _0x33373b=_0x51042b,_0x2c0aa8=this[_0x33373b(0x1e9)][_0x33373b(0x1d9)](n['IExchangeService']);if(!_0x2c0aa8)throw new Error(_0x33373b(0x1db));return _0x2c0aa8[_0x33373b(0x1ef)](_0x4536c8);}async['exportXLSXByUnitId'](_0x36bfa9){const _0xe6224c=_0x51042b,_0x3fc29e=this[_0xe6224c(0x1e9)][_0xe6224c(0x1d9)](n['IExchangeService']);if(!_0x3fc29e)throw new Error(_0xe6224c(0x1db));return _0x3fc29e[_0xe6224c(0x1de)](_0x36bfa9);}async[_0x51042b(0x1dc)](_0x2acbf0){const _0x51ec03=_0x51042b,_0x384e7d=this[_0x51ec03(0x1e9)]['get'](n['IExchangeService']);if(!_0x384e7d)throw new Error('The\x20exchange\x20service\x20is\x20not\x20available');return _0x384e7d[_0x51ec03(0x1dc)](_0x2acbf0);}async['importDOCXToUnitId'](_0x3f55aa){const _0x4354e0=_0x51042b,_0x316ceb=this[_0x4354e0(0x1e9)]['get'](n['IExchangeService']);if(!_0x316ceb)throw new Error(_0x4354e0(0x1db));return _0x316ceb['importFileToUnitId'](_0x3f55aa,i['UNIVER_DOC']);}async['importDOCXToSnapshot'](_0x1556a0){const _0x23e154=_0x51042b,_0xfc0e89=this['_injector'][_0x23e154(0x1d9)](n[_0x23e154(0x1d8)]);if(!_0xfc0e89)throw new Error(_0x23e154(0x1db));return _0xfc0e89['importDOCXToSnapshot'](_0x1556a0);}}c[_0x51042b(0x1e8)]['extend'](o);