@univerjs-pro/exchange-client 0.5.0-nightly.202411241606 → 0.5.0-nightly.202411251606

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';function _0x3f54(_0xcd9991,_0x4ad17e){const _0x240f98=_0x240f();return _0x3f54=function(_0x3f54b1,_0x3e9267){_0x3f54b1=_0x3f54b1-0xec;let _0x23da6b=_0x240f98[_0x3f54b1];return _0x23da6b;},_0x3f54(_0xcd9991,_0x4ad17e);}const _0x3803f7=_0x3f54;(function(_0x567152,_0x5213ab){const _0x28a450=_0x3f54,_0x51856b=_0x567152();while(!![]){try{const _0x31787c=-parseInt(_0x28a450(0x109))/0x1+parseInt(_0x28a450(0x106))/0x2+-parseInt(_0x28a450(0xf7))/0x3*(parseInt(_0x28a450(0x101))/0x4)+parseInt(_0x28a450(0xf4))/0x5+parseInt(_0x28a450(0xfa))/0x6*(-parseInt(_0x28a450(0xef))/0x7)+-parseInt(_0x28a450(0xec))/0x8*(-parseInt(_0x28a450(0xfe))/0x9)+parseInt(_0x28a450(0xfd))/0xa;if(_0x31787c===_0x5213ab)break;else _0x51856b['push'](_0x51856b['shift']());}catch(_0x3ee7a2){_0x51856b['push'](_0x51856b['shift']());}}}(_0x240f,0x8b488));const c=require(_0x3803f7(0xff)),n=require(_0x3803f7(0x102));var i=(_0x560788=>(_0x560788[_0x560788[_0x3803f7(0xf2)]=0x0]=_0x3803f7(0xf2),_0x560788[_0x560788[_0x3803f7(0x104)]=0x1]=_0x3803f7(0x104),_0x560788[_0x560788[_0x3803f7(0x108)]=0x2]=_0x3803f7(0x108),_0x560788[_0x560788[_0x3803f7(0xed)]=0x3]=_0x3803f7(0xed),_0x560788[_0x560788[_0x3803f7(0xf1)]=0x4]=_0x3803f7(0xf1),_0x560788[_0x560788[_0x3803f7(0xfc)]=-0x1]=_0x3803f7(0xfc),_0x560788))(i||{});class o extends c['FUniver']{async[_0x3803f7(0xfb)](_0x223528){const _0x5be3dc=_0x3803f7,_0x215715=this[_0x5be3dc(0x100)]['get'](n[_0x5be3dc(0xf5)]);if(!_0x215715)throw new Error('The\x20exchange\x20service\x20is\x20not\x20available');return _0x215715['importFileToUnitId'](_0x223528,i[_0x5be3dc(0x108)]);}async['importXLSXToSnapshot'](_0xe24d05){const _0x3d0018=_0x3803f7,_0x4fc64c=this['_injector']['get'](n[_0x3d0018(0xf5)]);if(!_0x4fc64c)throw new Error('The\x20exchange\x20service\x20is\x20not\x20available');return _0x4fc64c[_0x3d0018(0x107)](_0xe24d05);}async['exportXLSXByUnitId'](_0x3bf506){const _0x805ac4=_0x3803f7,_0x2172a7=this[_0x805ac4(0x100)][_0x805ac4(0x105)](n[_0x805ac4(0xf5)]);if(!_0x2172a7)throw new Error(_0x805ac4(0xf3));return _0x2172a7[_0x805ac4(0xee)](_0x3bf506);}async['exportXLSXBySnapshot'](_0x31aa5c){const _0xb885dd=_0x3803f7,_0x3d5e53=this[_0xb885dd(0x100)][_0xb885dd(0x105)](n[_0xb885dd(0xf5)]);if(!_0x3d5e53)throw new Error('The\x20exchange\x20service\x20is\x20not\x20available');return _0x3d5e53[_0xb885dd(0xf0)](_0x31aa5c);}async[_0x3803f7(0xf6)](_0x2f7c59){const _0x3a4947=_0x3803f7,_0x558248=this[_0x3a4947(0x100)]['get'](n['IExchangeService']);if(!_0x558248)throw new Error(_0x3a4947(0xf3));return _0x558248['importFileToUnitId'](_0x2f7c59,i['UNIVER_DOC']);}async['importDOCXToSnapshot'](_0x3c1fc1){const _0x1ae3c3=_0x3803f7,_0x3daf67=this[_0x1ae3c3(0x100)]['get'](n[_0x1ae3c3(0xf5)]);if(!_0x3daf67)throw new Error(_0x1ae3c3(0xf3));return _0x3daf67[_0x1ae3c3(0xf9)](_0x3c1fc1);}}function _0x240f(){const _0x5e1e33=['importXLSXToSnapshot','UNIVER_SHEET','921173KcfOun','1568608vKkiYp','UNIVER_SLIDE','exportXLSXByUnitId','3161956Naanmr','exportXLSXBySnapshot','UNIVER_PROJECT','UNIVER_UNKNOWN','The\x20exchange\x20service\x20is\x20not\x20available','2054535ZASwjm','IExchangeService','importDOCXToUnitId','18PQqqtE','FUniver','importDOCXToSnapshot','12nOhUlG','importXLSXToUnitId','UNRECOGNIZED','21694400KROiUx','27BErOdD','@univerjs/core','_injector','517308ASccCx','@univerjs-pro/exchange-client','extend','UNIVER_DOC','get','4960DauOqJ'];_0x240f=function(){return _0x5e1e33;};return _0x240f();}c[_0x3803f7(0xf8)][_0x3803f7(0x103)](o);
1
+ 'use strict';const _0x466e1a=_0x4c06;(function(_0x43bbd3,_0x2acddd){const _0xefcd94=_0x4c06,_0x566690=_0x43bbd3();while(!![]){try{const _0xe6b508=-parseInt(_0xefcd94(0x1b5))/0x1*(-parseInt(_0xefcd94(0x1b3))/0x2)+-parseInt(_0xefcd94(0x1b7))/0x3*(-parseInt(_0xefcd94(0x1b1))/0x4)+-parseInt(_0xefcd94(0x1ac))/0x5+-parseInt(_0xefcd94(0x1ab))/0x6+-parseInt(_0xefcd94(0x1ae))/0x7*(-parseInt(_0xefcd94(0x1b8))/0x8)+-parseInt(_0xefcd94(0x1a2))/0x9+parseInt(_0xefcd94(0x1b6))/0xa;if(_0xe6b508===_0x2acddd)break;else _0x566690['push'](_0x566690['shift']());}catch(_0x4b9fd5){_0x566690['push'](_0x566690['shift']());}}}(_0x5c8e,0x3d5e1));const c=require(_0x466e1a(0x1b2)),n=require(_0x466e1a(0x1a9));function _0x5c8e(){const _0x3208bb=['exportXLSXBySnapshot','UNRECOGNIZED','FUniver','4321251JNCZHk','UNIVER_UNKNOWN','_injector','importDOCXToUnitId','importXLSXToSnapshot','UNIVER_DOC','exportXLSXByUnitId','@univerjs-pro/exchange-client','The\x20exchange\x20service\x20is\x20not\x20available','1936686bxmnVv','560820CtioYa','UNIVER_PROJECT','7ZMtyYL','importDOCXToSnapshot','importXLSXToUnitId','4jJGjay','@univerjs/core','8lYRxbV','UNIVER_SHEET','53698xorNPJ','4007040QiHhrI','902262OGMhCA','2001560ZfuJXd','get','UNIVER_SLIDE','importFileToUnitId','IExchangeService'];_0x5c8e=function(){return _0x3208bb;};return _0x5c8e();}var i=(_0x83fef6=>(_0x83fef6[_0x83fef6[_0x466e1a(0x1a3)]=0x0]=_0x466e1a(0x1a3),_0x83fef6[_0x83fef6[_0x466e1a(0x1a7)]=0x1]='UNIVER_DOC',_0x83fef6[_0x83fef6[_0x466e1a(0x1b4)]=0x2]=_0x466e1a(0x1b4),_0x83fef6[_0x83fef6[_0x466e1a(0x19c)]=0x3]=_0x466e1a(0x19c),_0x83fef6[_0x83fef6[_0x466e1a(0x1ad)]=0x4]=_0x466e1a(0x1ad),_0x83fef6[_0x83fef6['UNRECOGNIZED']=-0x1]=_0x466e1a(0x1a0),_0x83fef6))(i||{});class o extends c[_0x466e1a(0x1a1)]{async[_0x466e1a(0x1b0)](_0x2f0401){const _0x1f0be0=_0x466e1a,_0x3a70f5=this['_injector'][_0x1f0be0(0x1b9)](n['IExchangeService']);if(!_0x3a70f5)throw new Error(_0x1f0be0(0x1aa));return _0x3a70f5[_0x1f0be0(0x19d)](_0x2f0401,i['UNIVER_SHEET']);}async[_0x466e1a(0x1a6)](_0x653062){const _0x407e41=_0x466e1a,_0xf5ad7=this['_injector']['get'](n['IExchangeService']);if(!_0xf5ad7)throw new Error(_0x407e41(0x1aa));return _0xf5ad7['importXLSXToSnapshot'](_0x653062);}async['exportXLSXByUnitId'](_0x219a1a){const _0x197595=_0x466e1a,_0x154124=this[_0x197595(0x1a4)][_0x197595(0x1b9)](n['IExchangeService']);if(!_0x154124)throw new Error('The\x20exchange\x20service\x20is\x20not\x20available');return _0x154124[_0x197595(0x1a8)](_0x219a1a);}async[_0x466e1a(0x19f)](_0x3405f2){const _0x2ec09f=_0x466e1a,_0x335a20=this[_0x2ec09f(0x1a4)][_0x2ec09f(0x1b9)](n['IExchangeService']);if(!_0x335a20)throw new Error('The\x20exchange\x20service\x20is\x20not\x20available');return _0x335a20[_0x2ec09f(0x19f)](_0x3405f2);}async[_0x466e1a(0x1a5)](_0x1a17a0){const _0x314414=_0x466e1a,_0x28ca7f=this[_0x314414(0x1a4)][_0x314414(0x1b9)](n[_0x314414(0x19e)]);if(!_0x28ca7f)throw new Error('The\x20exchange\x20service\x20is\x20not\x20available');return _0x28ca7f[_0x314414(0x19d)](_0x1a17a0,i[_0x314414(0x1a7)]);}async['importDOCXToSnapshot'](_0x2eeb7a){const _0xdc02bb=_0x466e1a,_0x1f24c6=this[_0xdc02bb(0x1a4)][_0xdc02bb(0x1b9)](n[_0xdc02bb(0x19e)]);if(!_0x1f24c6)throw new Error(_0xdc02bb(0x1aa));return _0x1f24c6[_0xdc02bb(0x1af)](_0x2eeb7a);}}function _0x4c06(_0x4ce833,_0x3c28f6){const _0x5c8e8a=_0x5c8e();return _0x4c06=function(_0x4c060c,_0x508e2a){_0x4c060c=_0x4c060c-0x19c;let _0x245e66=_0x5c8e8a[_0x4c060c];return _0x245e66;},_0x4c06(_0x4ce833,_0x3c28f6);}c[_0x466e1a(0x1a1)]['extend'](o);