@univerjs-pro/exchange-client 0.5.0-nightly.202411141606 → 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';const _0x59a49a=_0x3f35;(function(_0x15de65,_0x2c819c){const _0x3812db=_0x3f35,_0x3a7367=_0x15de65();while(!![]){try{const _0x395d0=parseInt(_0x3812db(0x16a))/0x1+parseInt(_0x3812db(0x15f))/0x2*(parseInt(_0x3812db(0x15b))/0x3)+parseInt(_0x3812db(0x162))/0x4+parseInt(_0x3812db(0x156))/0x5+parseInt(_0x3812db(0x169))/0x6+-parseInt(_0x3812db(0x152))/0x7*(parseInt(_0x3812db(0x165))/0x8)+-parseInt(_0x3812db(0x155))/0x9;if(_0x395d0===_0x2c819c)break;else _0x3a7367['push'](_0x3a7367['shift']());}catch(_0x155764){_0x3a7367['push'](_0x3a7367['shift']());}}}(_0x4c6a,0xdbcb7));function _0x4c6a(){const _0x44933b=['FUniver','9CoYwMW','UNIVER_PROJECT','UNIVER_DOC','The\x20exchange\x20service\x20is\x20not\x20available','265634GcoraW','importXLSXToSnapshot','get','6486116ZakuKi','exportXLSXByUnitId','_injector','14298728oZMkyp','importDOCXToSnapshot','UNIVER_SLIDE','extend','5001624mYoFSC','1201644pNBZYp','importFileToUnitId','exportXLSXBySnapshot','UNRECOGNIZED','7OWVHaV','@univerjs-pro/exchange-client','UNIVER_UNKNOWN','24120252bvyYqD','6562100Ghikny','importDOCXToUnitId','UNIVER_SHEET','IExchangeService'];_0x4c6a=function(){return _0x44933b;};return _0x4c6a();}const c=require('@univerjs/core'),n=require(_0x59a49a(0x153));var i=(_0x126547=>(_0x126547[_0x126547[_0x59a49a(0x154)]=0x0]=_0x59a49a(0x154),_0x126547[_0x126547[_0x59a49a(0x15d)]=0x1]=_0x59a49a(0x15d),_0x126547[_0x126547[_0x59a49a(0x158)]=0x2]=_0x59a49a(0x158),_0x126547[_0x126547[_0x59a49a(0x167)]=0x3]=_0x59a49a(0x167),_0x126547[_0x126547[_0x59a49a(0x15c)]=0x4]=_0x59a49a(0x15c),_0x126547[_0x126547[_0x59a49a(0x16d)]=-0x1]=_0x59a49a(0x16d),_0x126547))(i||{});function _0x3f35(_0x503541,_0x4fe2c4){const _0x4c6a7e=_0x4c6a();return _0x3f35=function(_0x3f35c7,_0x1c204c){_0x3f35c7=_0x3f35c7-0x152;let _0x2c7420=_0x4c6a7e[_0x3f35c7];return _0x2c7420;},_0x3f35(_0x503541,_0x4fe2c4);}class o extends c['FUniver']{async['importXLSXToUnitId'](_0x5da0ee){const _0xab2bb1=_0x59a49a,_0x536fed=this[_0xab2bb1(0x164)][_0xab2bb1(0x161)](n[_0xab2bb1(0x159)]);if(!_0x536fed)throw new Error(_0xab2bb1(0x15e));return _0x536fed[_0xab2bb1(0x16b)](_0x5da0ee,i[_0xab2bb1(0x158)]);}async['importXLSXToSnapshot'](_0x521645){const _0x143148=_0x59a49a,_0x292f6f=this[_0x143148(0x164)]['get'](n[_0x143148(0x159)]);if(!_0x292f6f)throw new Error(_0x143148(0x15e));return _0x292f6f[_0x143148(0x160)](_0x521645);}async[_0x59a49a(0x163)](_0x14c452){const _0x553539=_0x59a49a,_0x2e344c=this[_0x553539(0x164)][_0x553539(0x161)](n['IExchangeService']);if(!_0x2e344c)throw new Error(_0x553539(0x15e));return _0x2e344c[_0x553539(0x163)](_0x14c452);}async[_0x59a49a(0x16c)](_0x3d2745){const _0x5e4fad=_0x59a49a,_0x321dc0=this[_0x5e4fad(0x164)]['get'](n[_0x5e4fad(0x159)]);if(!_0x321dc0)throw new Error(_0x5e4fad(0x15e));return _0x321dc0[_0x5e4fad(0x16c)](_0x3d2745);}async[_0x59a49a(0x157)](_0x1a22a2){const _0x24a08d=_0x59a49a,_0x7d8943=this[_0x24a08d(0x164)]['get'](n[_0x24a08d(0x159)]);if(!_0x7d8943)throw new Error(_0x24a08d(0x15e));return _0x7d8943[_0x24a08d(0x16b)](_0x1a22a2,i['UNIVER_DOC']);}async[_0x59a49a(0x166)](_0x4f1ddb){const _0x57b9e2=_0x59a49a,_0x505299=this[_0x57b9e2(0x164)]['get'](n[_0x57b9e2(0x159)]);if(!_0x505299)throw new Error(_0x57b9e2(0x15e));return _0x505299[_0x57b9e2(0x166)](_0x4f1ddb);}}c[_0x59a49a(0x15a)][_0x59a49a(0x168)](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);