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

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';const _0x16d30c=_0x5b71;(function(_0x29ad4b,_0x42ea4c){const _0x48e621=_0x5b71,_0x5d1491=_0x29ad4b();while(!![]){try{const _0x1b2695=parseInt(_0x48e621(0x18e))/0x1+parseInt(_0x48e621(0x196))/0x2+parseInt(_0x48e621(0x199))/0x3*(parseInt(_0x48e621(0x184))/0x4)+parseInt(_0x48e621(0x187))/0x5*(-parseInt(_0x48e621(0x186))/0x6)+parseInt(_0x48e621(0x198))/0x7+-parseInt(_0x48e621(0x195))/0x8*(parseInt(_0x48e621(0x19a))/0x9)+-parseInt(_0x48e621(0x182))/0xa;if(_0x1b2695===_0x42ea4c)break;else _0x5d1491['push'](_0x5d1491['shift']());}catch(_0x4f441c){_0x5d1491['push'](_0x5d1491['shift']());}}}(_0x2b8b,0xd01f0));function _0x5b71(_0x10966b,_0x5cce04){const _0x2b8bb0=_0x2b8b();return _0x5b71=function(_0x5b7177,_0x208645){_0x5b7177=_0x5b7177-0x180;let _0x1111b0=_0x2b8bb0[_0x5b7177];return _0x1111b0;},_0x5b71(_0x10966b,_0x5cce04);}const c=require(_0x16d30c(0x180)),n=require(_0x16d30c(0x18a));function _0x2b8b(){const _0x239e14=['2661866GSpyPy','UNIVER_UNKNOWN','8298871OdkURa','2877885GCvfHG','99KuOrrb','UNIVER_PROJECT','UNIVER_SLIDE','@univerjs/core','IExchangeService','7889760gvqtwC','importDOCXToSnapshot','4uvdYxL','importDOCXToUnitId','6NrwIja','7764565bUDORo','exportXLSXBySnapshot','FUniver','@univerjs-pro/exchange-client','The\x20exchange\x20service\x20is\x20not\x20available','get','_injector','430503kHxHFN','extend','UNRECOGNIZED','importFileToUnitId','exportXLSXByUnitId','UNIVER_DOC','UNIVER_SHEET','517768jYCFzP'];_0x2b8b=function(){return _0x239e14;};return _0x2b8b();}var i=(_0x51102c=>(_0x51102c[_0x51102c['UNIVER_UNKNOWN']=0x0]=_0x16d30c(0x197),_0x51102c[_0x51102c[_0x16d30c(0x193)]=0x1]='UNIVER_DOC',_0x51102c[_0x51102c[_0x16d30c(0x194)]=0x2]=_0x16d30c(0x194),_0x51102c[_0x51102c[_0x16d30c(0x19c)]=0x3]='UNIVER_SLIDE',_0x51102c[_0x51102c['UNIVER_PROJECT']=0x4]=_0x16d30c(0x19b),_0x51102c[_0x51102c[_0x16d30c(0x190)]=-0x1]=_0x16d30c(0x190),_0x51102c))(i||{});class o extends c['FUniver']{async['importXLSXToUnitId'](_0x5c1dac){const _0x57adcb=_0x16d30c,_0x24279a=this[_0x57adcb(0x18d)][_0x57adcb(0x18c)](n[_0x57adcb(0x181)]);if(!_0x24279a)throw new Error(_0x57adcb(0x18b));return _0x24279a['importFileToUnitId'](_0x5c1dac,i[_0x57adcb(0x194)]);}async['importXLSXToSnapshot'](_0xb797ed){const _0x496ed4=_0x16d30c,_0x273256=this[_0x496ed4(0x18d)]['get'](n[_0x496ed4(0x181)]);if(!_0x273256)throw new Error('The\x20exchange\x20service\x20is\x20not\x20available');return _0x273256['importXLSXToSnapshot'](_0xb797ed);}async['exportXLSXByUnitId'](_0x56a307){const _0x4b33e9=_0x16d30c,_0x10a746=this['_injector'][_0x4b33e9(0x18c)](n[_0x4b33e9(0x181)]);if(!_0x10a746)throw new Error('The\x20exchange\x20service\x20is\x20not\x20available');return _0x10a746[_0x4b33e9(0x192)](_0x56a307);}async['exportXLSXBySnapshot'](_0x5eac00){const _0x1bfdd7=_0x16d30c,_0x173bab=this[_0x1bfdd7(0x18d)][_0x1bfdd7(0x18c)](n[_0x1bfdd7(0x181)]);if(!_0x173bab)throw new Error(_0x1bfdd7(0x18b));return _0x173bab[_0x1bfdd7(0x188)](_0x5eac00);}async[_0x16d30c(0x185)](_0x5d8d27){const _0x34d276=_0x16d30c,_0x2bc29a=this[_0x34d276(0x18d)][_0x34d276(0x18c)](n[_0x34d276(0x181)]);if(!_0x2bc29a)throw new Error(_0x34d276(0x18b));return _0x2bc29a[_0x34d276(0x191)](_0x5d8d27,i[_0x34d276(0x193)]);}async[_0x16d30c(0x183)](_0x307916){const _0xcfefd9=_0x16d30c,_0x24ff12=this[_0xcfefd9(0x18d)][_0xcfefd9(0x18c)](n[_0xcfefd9(0x181)]);if(!_0x24ff12)throw new Error(_0xcfefd9(0x18b));return _0x24ff12[_0xcfefd9(0x183)](_0x307916);}}c[_0x16d30c(0x189)][_0x16d30c(0x18f)](o);