@univerjs-pro/exchange-client 0.5.1-nightly.202412180944 → 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';const _0xbc0ef8=_0x3119;(function(_0x1e5e5b,_0x21104c){const _0x3d1c8f=_0x3119,_0xfeea15=_0x1e5e5b();while(!![]){try{const _0x3fa239=-parseInt(_0x3d1c8f(0x96))/0x1+parseInt(_0x3d1c8f(0xa7))/0x2*(parseInt(_0x3d1c8f(0xa2))/0x3)+-parseInt(_0x3d1c8f(0xa4))/0x4*(parseInt(_0x3d1c8f(0xa6))/0x5)+parseInt(_0x3d1c8f(0xa9))/0x6+parseInt(_0x3d1c8f(0xa8))/0x7*(-parseInt(_0x3d1c8f(0x9f))/0x8)+-parseInt(_0x3d1c8f(0x9a))/0x9*(parseInt(_0x3d1c8f(0x90))/0xa)+parseInt(_0x3d1c8f(0xa5))/0xb*(parseInt(_0x3d1c8f(0x98))/0xc);if(_0x3fa239===_0x21104c)break;else _0xfeea15['push'](_0xfeea15['shift']());}catch(_0xd57c17){_0xfeea15['push'](_0xfeea15['shift']());}}}(_0x33df,0xe8310));const c=require(_0xbc0ef8(0xa1)),n=require(_0xbc0ef8(0xa0));var i=(_0x2c928c=>(_0x2c928c[_0x2c928c['UNIVER_UNKNOWN']=0x0]=_0xbc0ef8(0x9d),_0x2c928c[_0x2c928c[_0xbc0ef8(0x8b)]=0x1]='UNIVER_DOC',_0x2c928c[_0x2c928c['UNIVER_SHEET']=0x2]=_0xbc0ef8(0x9e),_0x2c928c[_0x2c928c['UNIVER_SLIDE']=0x3]='UNIVER_SLIDE',_0x2c928c[_0x2c928c[_0xbc0ef8(0x94)]=0x4]=_0xbc0ef8(0x94),_0x2c928c[_0x2c928c[_0xbc0ef8(0x92)]=-0x1]=_0xbc0ef8(0x92),_0x2c928c))(i||{});class o extends c[_0xbc0ef8(0xa3)]{async[_0xbc0ef8(0x99)](_0x4aca90){const _0x3dff49=_0xbc0ef8,_0x2f1441=this[_0x3dff49(0x93)][_0x3dff49(0x8e)](n[_0x3dff49(0x95)]);if(!_0x2f1441)throw new Error(_0x3dff49(0x91));return _0x2f1441[_0x3dff49(0x8d)](_0x4aca90,i[_0x3dff49(0x9e)]);}async[_0xbc0ef8(0x97)](_0x1a3447){const _0xfa19ae=_0xbc0ef8,_0xfc8637=this[_0xfa19ae(0x93)][_0xfa19ae(0x8e)](n[_0xfa19ae(0x95)]);if(!_0xfc8637)throw new Error(_0xfa19ae(0x91));return _0xfc8637[_0xfa19ae(0x97)](_0x1a3447);}async[_0xbc0ef8(0x8c)](_0x75dccb){const _0x1e990b=_0xbc0ef8,_0x5e06a4=this['_injector']['get'](n[_0x1e990b(0x95)]);if(!_0x5e06a4)throw new Error(_0x1e990b(0x91));return _0x5e06a4[_0x1e990b(0x8c)](_0x75dccb);}async[_0xbc0ef8(0x9c)](_0x15dca0){const _0x42343e=_0xbc0ef8,_0x296b80=this[_0x42343e(0x93)][_0x42343e(0x8e)](n[_0x42343e(0x95)]);if(!_0x296b80)throw new Error(_0x42343e(0x91));return _0x296b80['exportXLSXBySnapshot'](_0x15dca0);}async[_0xbc0ef8(0x8f)](_0x560a2e){const _0x1ccb5d=_0xbc0ef8,_0x371457=this['_injector'][_0x1ccb5d(0x8e)](n[_0x1ccb5d(0x95)]);if(!_0x371457)throw new Error(_0x1ccb5d(0x91));return _0x371457[_0x1ccb5d(0x8d)](_0x560a2e,i[_0x1ccb5d(0x8b)]);}async[_0xbc0ef8(0x9b)](_0x2ef179){const _0x5a6f3b=_0xbc0ef8,_0x2bd010=this[_0x5a6f3b(0x93)][_0x5a6f3b(0x8e)](n[_0x5a6f3b(0x95)]);if(!_0x2bd010)throw new Error(_0x5a6f3b(0x91));return _0x2bd010[_0x5a6f3b(0x9b)](_0x2ef179);}}function _0x33df(){const _0x26e934=['_injector','UNIVER_PROJECT','IExchangeService','1797625wVdpWW','importXLSXToSnapshot','4470072fKgulI','importXLSXToUnitId','101889WOaZLI','importDOCXToSnapshot','exportXLSXBySnapshot','UNIVER_UNKNOWN','UNIVER_SHEET','24lMwBSe','@univerjs-pro/exchange-client','@univerjs/core','123PoomsZ','FUniver','4520388oIFIJG','143kEuDal','5uXgTmN','5914NYRCCk','2965970ZJWjoI','6958194hGdcKR','UNIVER_DOC','exportXLSXByUnitId','importFileToUnitId','get','importDOCXToUnitId','860TEWHyH','The\x20exchange\x20service\x20is\x20not\x20available','UNRECOGNIZED'];_0x33df=function(){return _0x26e934;};return _0x33df();}function _0x3119(_0x4adcaa,_0x3d8567){const _0x33dff2=_0x33df();return _0x3119=function(_0x3119d6,_0x5ab1b8){_0x3119d6=_0x3119d6-0x8b;let _0x5743ea=_0x33dff2[_0x3119d6];return _0x5743ea;},_0x3119(_0x4adcaa,_0x3d8567);}c[_0xbc0ef8(0xa3)]['extend'](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);