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

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 _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);
1
+ 'use strict';function _0x3688(_0x5761d4,_0x2100ff){const _0x1c68cc=_0x1c68();return _0x3688=function(_0x36888a,_0x194655){_0x36888a=_0x36888a-0x13a;let _0x18c65d=_0x1c68cc[_0x36888a];return _0x18c65d;},_0x3688(_0x5761d4,_0x2100ff);}const _0x4fca7f=_0x3688;(function(_0x1ea1d9,_0x4a9f33){const _0x1a2b6b=_0x3688,_0x6daa05=_0x1ea1d9();while(!![]){try{const _0x17a9b6=parseInt(_0x1a2b6b(0x14d))/0x1*(parseInt(_0x1a2b6b(0x141))/0x2)+parseInt(_0x1a2b6b(0x146))/0x3*(-parseInt(_0x1a2b6b(0x147))/0x4)+parseInt(_0x1a2b6b(0x152))/0x5+parseInt(_0x1a2b6b(0x13f))/0x6+-parseInt(_0x1a2b6b(0x150))/0x7+-parseInt(_0x1a2b6b(0x155))/0x8+parseInt(_0x1a2b6b(0x142))/0x9*(-parseInt(_0x1a2b6b(0x156))/0xa);if(_0x17a9b6===_0x4a9f33)break;else _0x6daa05['push'](_0x6daa05['shift']());}catch(_0x4568e2){_0x6daa05['push'](_0x6daa05['shift']());}}}(_0x1c68,0x44d02));function _0x1c68(){const _0xf5dd80=['exportXLSXBySnapshot','extend','81849CEnNyv','4RFMuOz','@univerjs-pro/exchange-client','@univerjs/core','UNRECOGNIZED','importXLSXToUnitId','IExchangeService','3347bvAJKD','importDOCXToUnitId','exportXLSXByUnitId','586747MqGtRw','get','2139160iufDis','importFileToUnitId','FUniver','2742672Aqrcuw','70oEVGPa','UNIVER_UNKNOWN','The\x20exchange\x20service\x20is\x20not\x20available','UNIVER_DOC','UNIVER_SLIDE','importDOCXToSnapshot','importXLSXToSnapshot','UNIVER_PROJECT','2278752qyunlL','_injector','250WeQnte','630261RzgMya','UNIVER_SHEET'];_0x1c68=function(){return _0xf5dd80;};return _0x1c68();}const c=require(_0x4fca7f(0x149)),n=require(_0x4fca7f(0x148));var i=(_0x472789=>(_0x472789[_0x472789[_0x4fca7f(0x157)]=0x0]='UNIVER_UNKNOWN',_0x472789[_0x472789[_0x4fca7f(0x13a)]=0x1]='UNIVER_DOC',_0x472789[_0x472789['UNIVER_SHEET']=0x2]=_0x4fca7f(0x143),_0x472789[_0x472789['UNIVER_SLIDE']=0x3]=_0x4fca7f(0x13b),_0x472789[_0x472789[_0x4fca7f(0x13e)]=0x4]=_0x4fca7f(0x13e),_0x472789[_0x472789[_0x4fca7f(0x14a)]=-0x1]=_0x4fca7f(0x14a),_0x472789))(i||{});class o extends c[_0x4fca7f(0x154)]{async[_0x4fca7f(0x14b)](_0x55383a){const _0x332159=_0x4fca7f,_0x313b64=this[_0x332159(0x140)]['get'](n[_0x332159(0x14c)]);if(!_0x313b64)throw new Error('The\x20exchange\x20service\x20is\x20not\x20available');return _0x313b64[_0x332159(0x153)](_0x55383a,i[_0x332159(0x143)]);}async['importXLSXToSnapshot'](_0x380558){const _0x50955a=_0x4fca7f,_0x26ca26=this[_0x50955a(0x140)][_0x50955a(0x151)](n[_0x50955a(0x14c)]);if(!_0x26ca26)throw new Error('The\x20exchange\x20service\x20is\x20not\x20available');return _0x26ca26[_0x50955a(0x13d)](_0x380558);}async[_0x4fca7f(0x14f)](_0x41c2f2){const _0x418a73=_0x4fca7f,_0x467890=this[_0x418a73(0x140)][_0x418a73(0x151)](n[_0x418a73(0x14c)]);if(!_0x467890)throw new Error(_0x418a73(0x158));return _0x467890['exportXLSXByUnitId'](_0x41c2f2);}async[_0x4fca7f(0x144)](_0x459604){const _0x52cb4d=_0x4fca7f,_0x39a4dd=this['_injector'][_0x52cb4d(0x151)](n[_0x52cb4d(0x14c)]);if(!_0x39a4dd)throw new Error('The\x20exchange\x20service\x20is\x20not\x20available');return _0x39a4dd[_0x52cb4d(0x144)](_0x459604);}async[_0x4fca7f(0x14e)](_0x4fe74e){const _0x2e0379=_0x4fca7f,_0x158dcd=this[_0x2e0379(0x140)][_0x2e0379(0x151)](n[_0x2e0379(0x14c)]);if(!_0x158dcd)throw new Error('The\x20exchange\x20service\x20is\x20not\x20available');return _0x158dcd[_0x2e0379(0x153)](_0x4fe74e,i[_0x2e0379(0x13a)]);}async[_0x4fca7f(0x13c)](_0x34c384){const _0x1a21f6=_0x4fca7f,_0x37f98b=this['_injector'][_0x1a21f6(0x151)](n[_0x1a21f6(0x14c)]);if(!_0x37f98b)throw new Error(_0x1a21f6(0x158));return _0x37f98b[_0x1a21f6(0x13c)](_0x34c384);}}c[_0x4fca7f(0x154)][_0x4fca7f(0x145)](o);