@univerjs-pro/exchange-client 0.5.0-nightly.202411181606 → 0.5.0-nightly.202411201606

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 _0x374a(_0xcbdf8,_0x24c3a5){const _0x5ee6d7=_0x5ee6();return _0x374a=function(_0x374a35,_0x425627){_0x374a35=_0x374a35-0x104;let _0x215720=_0x5ee6d7[_0x374a35];return _0x215720;},_0x374a(_0xcbdf8,_0x24c3a5);}const _0x340e67=_0x374a;(function(_0x4dca6a,_0x4e660f){const _0x1caa14=_0x374a,_0x5d5852=_0x4dca6a();while(!![]){try{const _0x35f122=parseInt(_0x1caa14(0x11e))/0x1+-parseInt(_0x1caa14(0x114))/0x2*(-parseInt(_0x1caa14(0x119))/0x3)+-parseInt(_0x1caa14(0x10f))/0x4*(-parseInt(_0x1caa14(0x118))/0x5)+parseInt(_0x1caa14(0x105))/0x6+parseInt(_0x1caa14(0x11c))/0x7*(-parseInt(_0x1caa14(0x106))/0x8)+parseInt(_0x1caa14(0x122))/0x9+-parseInt(_0x1caa14(0x110))/0xa;if(_0x35f122===_0x4e660f)break;else _0x5d5852['push'](_0x5d5852['shift']());}catch(_0x39f442){_0x5d5852['push'](_0x5d5852['shift']());}}}(_0x5ee6,0xac101));const c=require(_0x340e67(0x107)),n=require(_0x340e67(0x121));function _0x5ee6(){const _0x59782c=['importXLSXToUnitId','exportXLSXByUnitId','49188dyxQvl','17543570mJvGJk','UNIVER_PROJECT','_injector','FUniver','23776WuxrmT','importXLSXToSnapshot','UNIVER_UNKNOWN','importDOCXToUnitId','215VeqcVQ','276dkvVmr','extend','importFileToUnitId','462TsfLtg','exportXLSXBySnapshot','281916DtQAnc','UNIVER_DOC','The\x20exchange\x20service\x20is\x20not\x20available','@univerjs-pro/exchange-client','7497792MnAlwE','importDOCXToSnapshot','1932738FsqgXC','72784QHWSiC','@univerjs/core','IExchangeService','UNIVER_SHEET','get','UNRECOGNIZED','UNIVER_SLIDE'];_0x5ee6=function(){return _0x59782c;};return _0x5ee6();}var i=(_0x4f999b=>(_0x4f999b[_0x4f999b[_0x340e67(0x116)]=0x0]='UNIVER_UNKNOWN',_0x4f999b[_0x4f999b[_0x340e67(0x11f)]=0x1]='UNIVER_DOC',_0x4f999b[_0x4f999b['UNIVER_SHEET']=0x2]=_0x340e67(0x109),_0x4f999b[_0x4f999b[_0x340e67(0x10c)]=0x3]=_0x340e67(0x10c),_0x4f999b[_0x4f999b[_0x340e67(0x111)]=0x4]=_0x340e67(0x111),_0x4f999b[_0x4f999b['UNRECOGNIZED']=-0x1]=_0x340e67(0x10b),_0x4f999b))(i||{});class o extends c['FUniver']{async[_0x340e67(0x10d)](_0x2206e0){const _0x1ebe96=_0x340e67,_0x5f33b1=this[_0x1ebe96(0x112)][_0x1ebe96(0x10a)](n[_0x1ebe96(0x108)]);if(!_0x5f33b1)throw new Error('The\x20exchange\x20service\x20is\x20not\x20available');return _0x5f33b1[_0x1ebe96(0x11b)](_0x2206e0,i[_0x1ebe96(0x109)]);}async[_0x340e67(0x115)](_0xe4b30){const _0x3195a3=_0x340e67,_0x44281d=this[_0x3195a3(0x112)][_0x3195a3(0x10a)](n['IExchangeService']);if(!_0x44281d)throw new Error(_0x3195a3(0x120));return _0x44281d['importXLSXToSnapshot'](_0xe4b30);}async['exportXLSXByUnitId'](_0xe0d0c9){const _0x4705f5=_0x340e67,_0x100f1d=this[_0x4705f5(0x112)][_0x4705f5(0x10a)](n[_0x4705f5(0x108)]);if(!_0x100f1d)throw new Error(_0x4705f5(0x120));return _0x100f1d[_0x4705f5(0x10e)](_0xe0d0c9);}async['exportXLSXBySnapshot'](_0x1717c5){const _0x599da6=_0x340e67,_0x47207d=this[_0x599da6(0x112)][_0x599da6(0x10a)](n[_0x599da6(0x108)]);if(!_0x47207d)throw new Error(_0x599da6(0x120));return _0x47207d[_0x599da6(0x11d)](_0x1717c5);}async[_0x340e67(0x117)](_0x4f3979){const _0x3e6622=_0x340e67,_0x4b3576=this[_0x3e6622(0x112)]['get'](n[_0x3e6622(0x108)]);if(!_0x4b3576)throw new Error(_0x3e6622(0x120));return _0x4b3576[_0x3e6622(0x11b)](_0x4f3979,i[_0x3e6622(0x11f)]);}async[_0x340e67(0x104)](_0x5a058d){const _0x5c4436=_0x340e67,_0x3326b7=this[_0x5c4436(0x112)][_0x5c4436(0x10a)](n[_0x5c4436(0x108)]);if(!_0x3326b7)throw new Error(_0x5c4436(0x120));return _0x3326b7[_0x5c4436(0x104)](_0x5a058d);}}c[_0x340e67(0x113)][_0x340e67(0x11a)](o);
1
+ 'use strict';function _0xf3d5(){const _0x313255=['UNIVER_SHEET','UNIVER_SLIDE','35FFaIAI','165fSzhYV','270050tEmvcd','importXLSXToSnapshot','UNIVER_PROJECT','UNIVER_DOC','1035714tDYHSq','importXLSXToUnitId','exportXLSXBySnapshot','959111RpjvyY','get','exportXLSXByUnitId','importFileToUnitId','IExchangeService','484tgzNeE','The\x20exchange\x20service\x20is\x20not\x20available','UNRECOGNIZED','FUniver','780724uquFRY','7215184ImAdba','4160988VEfjdk','importDOCXToSnapshot','35ShUavC','17973RkNYYx','@univerjs/core','_injector'];_0xf3d5=function(){return _0x313255;};return _0xf3d5();}const _0xa7bda7=_0x29a9;(function(_0x1bf6b4,_0x46814f){const _0x2fbf57=_0x29a9,_0xd1875a=_0x1bf6b4();while(!![]){try{const _0x1a3585=-parseInt(_0x2fbf57(0xd7))/0x1+-parseInt(_0x2fbf57(0xdc))/0x2*(-parseInt(_0x2fbf57(0xc9))/0x3)+-parseInt(_0x2fbf57(0xc4))/0x4*(-parseInt(_0x2fbf57(0xce))/0x5)+-parseInt(_0x2fbf57(0xd4))/0x6*(-parseInt(_0x2fbf57(0xc8))/0x7)+-parseInt(_0x2fbf57(0xc5))/0x8+-parseInt(_0x2fbf57(0xc6))/0x9+-parseInt(_0x2fbf57(0xd0))/0xa*(parseInt(_0x2fbf57(0xcf))/0xb);if(_0x1a3585===_0x46814f)break;else _0xd1875a['push'](_0xd1875a['shift']());}catch(_0xa0f657){_0xd1875a['push'](_0xd1875a['shift']());}}}(_0xf3d5,0xe81f0));function _0x29a9(_0x565e07,_0x1c70ef){const _0xf3d530=_0xf3d5();return _0x29a9=function(_0x29a952,_0xe7b5c6){_0x29a952=_0x29a952-0xc4;let _0x32e29c=_0xf3d530[_0x29a952];return _0x32e29c;},_0x29a9(_0x565e07,_0x1c70ef);}const c=require(_0xa7bda7(0xca)),n=require('@univerjs-pro/exchange-client');var i=(_0x30873a=>(_0x30873a[_0x30873a['UNIVER_UNKNOWN']=0x0]='UNIVER_UNKNOWN',_0x30873a[_0x30873a['UNIVER_DOC']=0x1]='UNIVER_DOC',_0x30873a[_0x30873a[_0xa7bda7(0xcc)]=0x2]=_0xa7bda7(0xcc),_0x30873a[_0x30873a[_0xa7bda7(0xcd)]=0x3]='UNIVER_SLIDE',_0x30873a[_0x30873a[_0xa7bda7(0xd2)]=0x4]='UNIVER_PROJECT',_0x30873a[_0x30873a['UNRECOGNIZED']=-0x1]=_0xa7bda7(0xde),_0x30873a))(i||{});class o extends c['FUniver']{async[_0xa7bda7(0xd5)](_0x3f9ffa){const _0x43acdd=_0xa7bda7,_0x2a95b6=this['_injector']['get'](n[_0x43acdd(0xdb)]);if(!_0x2a95b6)throw new Error(_0x43acdd(0xdd));return _0x2a95b6[_0x43acdd(0xda)](_0x3f9ffa,i[_0x43acdd(0xcc)]);}async[_0xa7bda7(0xd1)](_0x3b2a7a){const _0x1c26a0=_0xa7bda7,_0xf52ad4=this[_0x1c26a0(0xcb)][_0x1c26a0(0xd8)](n[_0x1c26a0(0xdb)]);if(!_0xf52ad4)throw new Error(_0x1c26a0(0xdd));return _0xf52ad4[_0x1c26a0(0xd1)](_0x3b2a7a);}async[_0xa7bda7(0xd9)](_0x3d0efe){const _0x5668cd=_0xa7bda7,_0x44aaf2=this[_0x5668cd(0xcb)][_0x5668cd(0xd8)](n[_0x5668cd(0xdb)]);if(!_0x44aaf2)throw new Error(_0x5668cd(0xdd));return _0x44aaf2[_0x5668cd(0xd9)](_0x3d0efe);}async[_0xa7bda7(0xd6)](_0x17a3f6){const _0x16bfb3=_0xa7bda7,_0x2baa6f=this['_injector'][_0x16bfb3(0xd8)](n[_0x16bfb3(0xdb)]);if(!_0x2baa6f)throw new Error(_0x16bfb3(0xdd));return _0x2baa6f[_0x16bfb3(0xd6)](_0x17a3f6);}async['importDOCXToUnitId'](_0x5cbb22){const _0x57301f=_0xa7bda7,_0x39ad0f=this[_0x57301f(0xcb)]['get'](n['IExchangeService']);if(!_0x39ad0f)throw new Error(_0x57301f(0xdd));return _0x39ad0f[_0x57301f(0xda)](_0x5cbb22,i[_0x57301f(0xd3)]);}async['importDOCXToSnapshot'](_0x16c3b0){const _0x3af185=_0xa7bda7,_0x256248=this[_0x3af185(0xcb)][_0x3af185(0xd8)](n[_0x3af185(0xdb)]);if(!_0x256248)throw new Error(_0x3af185(0xdd));return _0x256248[_0x3af185(0xc7)](_0x16c3b0);}}c[_0xa7bda7(0xdf)]['extend'](o);