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

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 _0x5b5814=_0x2852;(function(_0x2fcd20,_0x5bc307){const _0x149062=_0x2852,_0x49f635=_0x2fcd20();while(!![]){try{const _0x2e3260=-parseInt(_0x149062(0x19c))/0x1+parseInt(_0x149062(0x1a4))/0x2*(-parseInt(_0x149062(0x1b5))/0x3)+parseInt(_0x149062(0x1ad))/0x4+parseInt(_0x149062(0x1a5))/0x5+-parseInt(_0x149062(0x1b6))/0x6+parseInt(_0x149062(0x1a2))/0x7*(parseInt(_0x149062(0x1ab))/0x8)+parseInt(_0x149062(0x1b2))/0x9;if(_0x2e3260===_0x5bc307)break;else _0x49f635['push'](_0x49f635['shift']());}catch(_0x4626bb){_0x49f635['push'](_0x49f635['shift']());}}}(_0x7322,0x70799));const c=require('@univerjs/core'),n=require(_0x5b5814(0x1b0));var i=(_0xd2d7c9=>(_0xd2d7c9[_0xd2d7c9[_0x5b5814(0x1a3)]=0x0]=_0x5b5814(0x1a3),_0xd2d7c9[_0xd2d7c9[_0x5b5814(0x1a0)]=0x1]='UNIVER_DOC',_0xd2d7c9[_0xd2d7c9[_0x5b5814(0x1a9)]=0x2]=_0x5b5814(0x1a9),_0xd2d7c9[_0xd2d7c9[_0x5b5814(0x1a8)]=0x3]='UNIVER_SLIDE',_0xd2d7c9[_0xd2d7c9[_0x5b5814(0x1b3)]=0x4]=_0x5b5814(0x1b3),_0xd2d7c9[_0xd2d7c9[_0x5b5814(0x1b1)]=-0x1]=_0x5b5814(0x1b1),_0xd2d7c9))(i||{});function _0x7322(){const _0x2d6e9e=['39669JWtlya','554916iBLkWO','693608puVWQc','FUniver','exportXLSXBySnapshot','_injector','UNIVER_DOC','importDOCXToSnapshot','7mJgqHe','UNIVER_UNKNOWN','82SgewoP','1311060pEJVSo','IExchangeService','exportXLSXByUnitId','UNIVER_SLIDE','UNIVER_SHEET','importXLSXToUnitId','2251824jQNxXe','get','251304ohIXFd','importFileToUnitId','The\x20exchange\x20service\x20is\x20not\x20available','@univerjs-pro/exchange-client','UNRECOGNIZED','10641762DlOJVa','UNIVER_PROJECT','importXLSXToSnapshot'];_0x7322=function(){return _0x2d6e9e;};return _0x7322();}class o extends c[_0x5b5814(0x19d)]{async[_0x5b5814(0x1aa)](_0x426e9f){const _0x416d5=_0x5b5814,_0x4a63ab=this['_injector'][_0x416d5(0x1ac)](n[_0x416d5(0x1a6)]);if(!_0x4a63ab)throw new Error(_0x416d5(0x1af));return _0x4a63ab[_0x416d5(0x1ae)](_0x426e9f,i[_0x416d5(0x1a9)]);}async[_0x5b5814(0x1b4)](_0x23c2b4){const _0x5e0535=_0x5b5814,_0x14d503=this[_0x5e0535(0x19f)][_0x5e0535(0x1ac)](n[_0x5e0535(0x1a6)]);if(!_0x14d503)throw new Error(_0x5e0535(0x1af));return _0x14d503[_0x5e0535(0x1b4)](_0x23c2b4);}async['exportXLSXByUnitId'](_0x56a900){const _0x570e31=_0x5b5814,_0x4c15de=this[_0x570e31(0x19f)][_0x570e31(0x1ac)](n['IExchangeService']);if(!_0x4c15de)throw new Error(_0x570e31(0x1af));return _0x4c15de[_0x570e31(0x1a7)](_0x56a900);}async[_0x5b5814(0x19e)](_0x45db35){const _0x2b7371=_0x5b5814,_0x423dab=this['_injector'][_0x2b7371(0x1ac)](n['IExchangeService']);if(!_0x423dab)throw new Error(_0x2b7371(0x1af));return _0x423dab['exportXLSXBySnapshot'](_0x45db35);}async['importDOCXToUnitId'](_0x5f05bd){const _0x1e44ef=_0x5b5814,_0x3ad538=this[_0x1e44ef(0x19f)][_0x1e44ef(0x1ac)](n[_0x1e44ef(0x1a6)]);if(!_0x3ad538)throw new Error(_0x1e44ef(0x1af));return _0x3ad538[_0x1e44ef(0x1ae)](_0x5f05bd,i[_0x1e44ef(0x1a0)]);}async['importDOCXToSnapshot'](_0x4ad2c8){const _0x36b476=_0x5b5814,_0x2c6567=this['_injector'][_0x36b476(0x1ac)](n[_0x36b476(0x1a6)]);if(!_0x2c6567)throw new Error('The\x20exchange\x20service\x20is\x20not\x20available');return _0x2c6567[_0x36b476(0x1a1)](_0x4ad2c8);}}function _0x2852(_0x1e4c2a,_0x349d01){const _0x7322d8=_0x7322();return _0x2852=function(_0x28521b,_0x454c14){_0x28521b=_0x28521b-0x19c;let _0x6c8664=_0x7322d8[_0x28521b];return _0x6c8664;},_0x2852(_0x1e4c2a,_0x349d01);}c[_0x5b5814(0x19d)]['extend'](o);
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);