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

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 _0x23a7(_0x581317,_0xd94581){const _0x3a2308=_0x3a23();return _0x23a7=function(_0x23a73f,_0x26f927){_0x23a73f=_0x23a73f-0x146;let _0x12031f=_0x3a2308[_0x23a73f];return _0x12031f;},_0x23a7(_0x581317,_0xd94581);}const _0x4c85c9=_0x23a7;(function(_0x1c84f5,_0x80e6d5){const _0x1a8399=_0x23a7,_0x4699bb=_0x1c84f5();while(!![]){try{const _0x2a84a6=parseInt(_0x1a8399(0x159))/0x1+-parseInt(_0x1a8399(0x14e))/0x2+-parseInt(_0x1a8399(0x15a))/0x3+parseInt(_0x1a8399(0x14c))/0x4+parseInt(_0x1a8399(0x155))/0x5+parseInt(_0x1a8399(0x15c))/0x6*(parseInt(_0x1a8399(0x14f))/0x7)+-parseInt(_0x1a8399(0x151))/0x8;if(_0x2a84a6===_0x80e6d5)break;else _0x4699bb['push'](_0x4699bb['shift']());}catch(_0x47c425){_0x4699bb['push'](_0x4699bb['shift']());}}}(_0x3a23,0x2f02a));function _0x3a23(){const _0x16f272=['UNIVER_DOC','importXLSXToSnapshot','importFileToUnitId','26542uFqcpR','331305jIttSL','FUniver','12MiKYkO','exportXLSXByUnitId','get','_injector','UNIVER_SLIDE','The\x20exchange\x20service\x20is\x20not\x20available','UNIVER_PROJECT','exportXLSXBySnapshot','188024gMTVCv','IExchangeService','738630yIDEVo','1176329OEKUXc','importXLSXToUnitId','399880eSEPGi','UNRECOGNIZED','UNIVER_SHEET','importDOCXToSnapshot','1563235ZBuwLN'];_0x3a23=function(){return _0x16f272;};return _0x3a23();}const c=require('@univerjs/core'),n=require('@univerjs-pro/exchange-client');var i=(_0x95589a=>(_0x95589a[_0x95589a['UNIVER_UNKNOWN']=0x0]='UNIVER_UNKNOWN',_0x95589a[_0x95589a['UNIVER_DOC']=0x1]=_0x4c85c9(0x156),_0x95589a[_0x95589a['UNIVER_SHEET']=0x2]='UNIVER_SHEET',_0x95589a[_0x95589a[_0x4c85c9(0x148)]=0x3]='UNIVER_SLIDE',_0x95589a[_0x95589a[_0x4c85c9(0x14a)]=0x4]=_0x4c85c9(0x14a),_0x95589a[_0x95589a[_0x4c85c9(0x152)]=-0x1]=_0x4c85c9(0x152),_0x95589a))(i||{});class o extends c[_0x4c85c9(0x15b)]{async[_0x4c85c9(0x150)](_0x55c775){const _0x7c11=_0x4c85c9,_0x2dc70b=this['_injector'][_0x7c11(0x146)](n[_0x7c11(0x14d)]);if(!_0x2dc70b)throw new Error(_0x7c11(0x149));return _0x2dc70b[_0x7c11(0x158)](_0x55c775,i[_0x7c11(0x153)]);}async[_0x4c85c9(0x157)](_0x37ec57){const _0x6a6b1c=_0x4c85c9,_0xf917ba=this[_0x6a6b1c(0x147)][_0x6a6b1c(0x146)](n[_0x6a6b1c(0x14d)]);if(!_0xf917ba)throw new Error('The\x20exchange\x20service\x20is\x20not\x20available');return _0xf917ba[_0x6a6b1c(0x157)](_0x37ec57);}async[_0x4c85c9(0x15d)](_0x380003){const _0x49f411=_0x4c85c9,_0x4f2070=this[_0x49f411(0x147)][_0x49f411(0x146)](n[_0x49f411(0x14d)]);if(!_0x4f2070)throw new Error(_0x49f411(0x149));return _0x4f2070['exportXLSXByUnitId'](_0x380003);}async[_0x4c85c9(0x14b)](_0x5ed460){const _0x776e29=_0x4c85c9,_0x534566=this['_injector'][_0x776e29(0x146)](n[_0x776e29(0x14d)]);if(!_0x534566)throw new Error(_0x776e29(0x149));return _0x534566['exportXLSXBySnapshot'](_0x5ed460);}async['importDOCXToUnitId'](_0x2dae71){const _0x61a86=_0x4c85c9,_0x7aacab=this[_0x61a86(0x147)]['get'](n['IExchangeService']);if(!_0x7aacab)throw new Error(_0x61a86(0x149));return _0x7aacab['importFileToUnitId'](_0x2dae71,i[_0x61a86(0x156)]);}async[_0x4c85c9(0x154)](_0x1609c1){const _0x8e717d=_0x4c85c9,_0x1ccd04=this[_0x8e717d(0x147)][_0x8e717d(0x146)](n[_0x8e717d(0x14d)]);if(!_0x1ccd04)throw new Error(_0x8e717d(0x149));return _0x1ccd04[_0x8e717d(0x154)](_0x1609c1);}}c[_0x4c85c9(0x15b)]['extend'](o);
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);