@univerjs-pro/exchange-client 0.5.1-nightly.202412181606 → 0.5.1-nightly.202412190703

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 _0x293f(){const _0xb3e90e=['5143448YNYQyz','exportXLSXBySnapshot','6985GOelsc','5MWCEyF','UNIVER_DOC','UNRECOGNIZED','extend','IExchangeService','The\x20exchange\x20service\x20is\x20not\x20available','@univerjs-pro/exchange-client','UNIVER_PROJECT','UNIVER_SLIDE','importDOCXToUnitId','13039810SJXjCd','importXLSXToUnitId','63FiWEFq','exportXLSXByUnitId','5834736hOlbYl','FUniver','6UPLnZF','159830MtzLfN','5290nTbzzX','importFileToUnitId','_injector','12uZONuM','1425593TFIFTK','importDOCXToSnapshot','UNIVER_UNKNOWN','9ppBPki','986808XGcaEn','importXLSXToSnapshot','UNIVER_SHEET','get'];_0x293f=function(){return _0xb3e90e;};return _0x293f();}function _0x5814(_0x182d90,_0x589703){const _0x293f2b=_0x293f();return _0x5814=function(_0x581436,_0x528f64){_0x581436=_0x581436-0x95;let _0x2923e7=_0x293f2b[_0x581436];return _0x2923e7;},_0x5814(_0x182d90,_0x589703);}const _0xebe36a=_0x5814;(function(_0x57d5d1,_0x465687){const _0x2e31c6=_0x5814,_0x3d6e60=_0x57d5d1();while(!![]){try{const _0x4b527a=-parseInt(_0x2e31c6(0xa2))/0x1+-parseInt(_0x2e31c6(0x99))/0x2*(-parseInt(_0x2e31c6(0xb5))/0x3)+-parseInt(_0x2e31c6(0xa6))/0x4*(parseInt(_0x2e31c6(0xa9))/0x5)+parseInt(_0x2e31c6(0x98))/0x6*(parseInt(_0x2e31c6(0xb3))/0x7)+-parseInt(_0x2e31c6(0x96))/0x8*(parseInt(_0x2e31c6(0xa1))/0x9)+-parseInt(_0x2e31c6(0x9a))/0xa*(-parseInt(_0x2e31c6(0xa8))/0xb)+parseInt(_0x2e31c6(0x9d))/0xc*(parseInt(_0x2e31c6(0x9e))/0xd);if(_0x4b527a===_0x465687)break;else _0x3d6e60['push'](_0x3d6e60['shift']());}catch(_0x4f1776){_0x3d6e60['push'](_0x3d6e60['shift']());}}}(_0x293f,0xf0621));const c=require('@univerjs/core'),n=require(_0xebe36a(0xaf));var i=(_0x4d41e6=>(_0x4d41e6[_0x4d41e6[_0xebe36a(0xa0)]=0x0]=_0xebe36a(0xa0),_0x4d41e6[_0x4d41e6[_0xebe36a(0xaa)]=0x1]=_0xebe36a(0xaa),_0x4d41e6[_0x4d41e6[_0xebe36a(0xa4)]=0x2]=_0xebe36a(0xa4),_0x4d41e6[_0x4d41e6[_0xebe36a(0xb1)]=0x3]='UNIVER_SLIDE',_0x4d41e6[_0x4d41e6[_0xebe36a(0xb0)]=0x4]=_0xebe36a(0xb0),_0x4d41e6[_0x4d41e6[_0xebe36a(0xab)]=-0x1]=_0xebe36a(0xab),_0x4d41e6))(i||{});class o extends c[_0xebe36a(0x97)]{async[_0xebe36a(0xb4)](_0x5dafb2){const _0x3e6ffc=_0xebe36a,_0x2cbcae=this[_0x3e6ffc(0x9c)][_0x3e6ffc(0xa5)](n['IExchangeService']);if(!_0x2cbcae)throw new Error(_0x3e6ffc(0xae));return _0x2cbcae[_0x3e6ffc(0x9b)](_0x5dafb2,i[_0x3e6ffc(0xa4)]);}async[_0xebe36a(0xa3)](_0x1d246d){const _0x401c43=_0xebe36a,_0x1c480a=this['_injector'][_0x401c43(0xa5)](n['IExchangeService']);if(!_0x1c480a)throw new Error(_0x401c43(0xae));return _0x1c480a[_0x401c43(0xa3)](_0x1d246d);}async[_0xebe36a(0x95)](_0x36c8a2){const _0x4f67f8=_0xebe36a,_0x4fcaa1=this[_0x4f67f8(0x9c)][_0x4f67f8(0xa5)](n[_0x4f67f8(0xad)]);if(!_0x4fcaa1)throw new Error('The\x20exchange\x20service\x20is\x20not\x20available');return _0x4fcaa1[_0x4f67f8(0x95)](_0x36c8a2);}async[_0xebe36a(0xa7)](_0x53248e){const _0xc03d65=_0xebe36a,_0x4a8d6=this['_injector']['get'](n[_0xc03d65(0xad)]);if(!_0x4a8d6)throw new Error(_0xc03d65(0xae));return _0x4a8d6[_0xc03d65(0xa7)](_0x53248e);}async[_0xebe36a(0xb2)](_0x1712c0){const _0x55efcf=_0xebe36a,_0x1a49b8=this[_0x55efcf(0x9c)]['get'](n['IExchangeService']);if(!_0x1a49b8)throw new Error(_0x55efcf(0xae));return _0x1a49b8['importFileToUnitId'](_0x1712c0,i[_0x55efcf(0xaa)]);}async[_0xebe36a(0x9f)](_0x498151){const _0x40c69c=_0xebe36a,_0x475c54=this[_0x40c69c(0x9c)]['get'](n['IExchangeService']);if(!_0x475c54)throw new Error(_0x40c69c(0xae));return _0x475c54[_0x40c69c(0x9f)](_0x498151);}}c[_0xebe36a(0x97)][_0xebe36a(0xac)](o);
1
+ 'use strict';const _0x5ca768=_0x3213;function _0x1874(){const _0x181875=['1217049UJBJCO','extend','get','The\x20exchange\x20service\x20is\x20not\x20available','1405788zzskQZ','importXLSXToSnapshot','@univerjs/core','UNIVER_SHEET','3634407AWxEvI','16KtqIHh','UNIVER_UNKNOWN','IExchangeService','importFileToUnitId','436fgKjqL','importDOCXToSnapshot','_injector','exportXLSXBySnapshot','2mBBKrk','5892803DkGRsQ','4460NTsMRB','UNRECOGNIZED','1045923pZBTwQ','exportXLSXByUnitId','UNIVER_PROJECT','32567990ILrGrD','FUniver','UNIVER_DOC'];_0x1874=function(){return _0x181875;};return _0x1874();}(function(_0x14cb0d,_0x539b78){const _0x4f4a30=_0x3213,_0x148759=_0x14cb0d();while(!![]){try{const _0x362836=-parseInt(_0x4f4a30(0x152))/0x1+-parseInt(_0x4f4a30(0x14e))/0x2*(-parseInt(_0x4f4a30(0x158))/0x3)+-parseInt(_0x4f4a30(0x14a))/0x4*(parseInt(_0x4f4a30(0x150))/0x5)+-parseInt(_0x4f4a30(0x15c))/0x6+-parseInt(_0x4f4a30(0x14f))/0x7+-parseInt(_0x4f4a30(0x161))/0x8*(parseInt(_0x4f4a30(0x160))/0x9)+parseInt(_0x4f4a30(0x155))/0xa;if(_0x362836===_0x539b78)break;else _0x148759['push'](_0x148759['shift']());}catch(_0xe5f0c8){_0x148759['push'](_0x148759['shift']());}}}(_0x1874,0x9b2a6));const c=require(_0x5ca768(0x15e)),n=require('@univerjs-pro/exchange-client');var i=(_0x253c2e=>(_0x253c2e[_0x253c2e[_0x5ca768(0x162)]=0x0]='UNIVER_UNKNOWN',_0x253c2e[_0x253c2e[_0x5ca768(0x157)]=0x1]=_0x5ca768(0x157),_0x253c2e[_0x253c2e[_0x5ca768(0x15f)]=0x2]=_0x5ca768(0x15f),_0x253c2e[_0x253c2e['UNIVER_SLIDE']=0x3]='UNIVER_SLIDE',_0x253c2e[_0x253c2e[_0x5ca768(0x154)]=0x4]=_0x5ca768(0x154),_0x253c2e[_0x253c2e[_0x5ca768(0x151)]=-0x1]=_0x5ca768(0x151),_0x253c2e))(i||{});function _0x3213(_0x10d180,_0x244ad8){const _0x187446=_0x1874();return _0x3213=function(_0x321327,_0x17f0f6){_0x321327=_0x321327-0x14a;let _0x603a28=_0x187446[_0x321327];return _0x603a28;},_0x3213(_0x10d180,_0x244ad8);}class o extends c[_0x5ca768(0x156)]{async['importXLSXToUnitId'](_0x1187ef){const _0x43d489=_0x5ca768,_0x5f4b7e=this[_0x43d489(0x14c)]['get'](n[_0x43d489(0x163)]);if(!_0x5f4b7e)throw new Error(_0x43d489(0x15b));return _0x5f4b7e['importFileToUnitId'](_0x1187ef,i[_0x43d489(0x15f)]);}async[_0x5ca768(0x15d)](_0x53500b){const _0x3be28b=_0x5ca768,_0x3c4781=this[_0x3be28b(0x14c)][_0x3be28b(0x15a)](n[_0x3be28b(0x163)]);if(!_0x3c4781)throw new Error(_0x3be28b(0x15b));return _0x3c4781[_0x3be28b(0x15d)](_0x53500b);}async[_0x5ca768(0x153)](_0x592192){const _0x3f608b=_0x5ca768,_0x4646ac=this[_0x3f608b(0x14c)][_0x3f608b(0x15a)](n[_0x3f608b(0x163)]);if(!_0x4646ac)throw new Error('The\x20exchange\x20service\x20is\x20not\x20available');return _0x4646ac[_0x3f608b(0x153)](_0x592192);}async['exportXLSXBySnapshot'](_0x11753f){const _0x7dd8c9=_0x5ca768,_0x4a7c7e=this[_0x7dd8c9(0x14c)][_0x7dd8c9(0x15a)](n[_0x7dd8c9(0x163)]);if(!_0x4a7c7e)throw new Error(_0x7dd8c9(0x15b));return _0x4a7c7e[_0x7dd8c9(0x14d)](_0x11753f);}async['importDOCXToUnitId'](_0xb96f06){const _0x1a0d61=_0x5ca768,_0x45b403=this['_injector'][_0x1a0d61(0x15a)](n[_0x1a0d61(0x163)]);if(!_0x45b403)throw new Error('The\x20exchange\x20service\x20is\x20not\x20available');return _0x45b403[_0x1a0d61(0x164)](_0xb96f06,i['UNIVER_DOC']);}async['importDOCXToSnapshot'](_0x45732a){const _0x1ff140=_0x5ca768,_0x7d28e6=this[_0x1ff140(0x14c)][_0x1ff140(0x15a)](n['IExchangeService']);if(!_0x7d28e6)throw new Error(_0x1ff140(0x15b));return _0x7d28e6[_0x1ff140(0x14b)](_0x45732a);}}c['FUniver'][_0x5ca768(0x159)](o);