@univerjs-pro/exchange-client 0.5.1-nightly.202412121606 → 0.5.1-nightly.202412140448

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 _0x2fb5f4=_0xc922;(function(_0x48a839,_0x268648){const _0x2740a2=_0xc922,_0x423c7c=_0x48a839();while(!![]){try{const _0x358515=parseInt(_0x2740a2(0xf9))/0x1*(parseInt(_0x2740a2(0xfc))/0x2)+parseInt(_0x2740a2(0xef))/0x3*(-parseInt(_0x2740a2(0xe9))/0x4)+parseInt(_0x2740a2(0x105))/0x5*(parseInt(_0x2740a2(0xf8))/0x6)+parseInt(_0x2740a2(0xf1))/0x7+parseInt(_0x2740a2(0xf3))/0x8*(parseInt(_0x2740a2(0xfd))/0x9)+parseInt(_0x2740a2(0xec))/0xa+-parseInt(_0x2740a2(0xea))/0xb;if(_0x358515===_0x268648)break;else _0x423c7c['push'](_0x423c7c['shift']());}catch(_0x2c17ca){_0x423c7c['push'](_0x423c7c['shift']());}}}(_0x2a5b,0x4861d));function _0xc922(_0x3f659b,_0x44d863){const _0x2a5b1b=_0x2a5b();return _0xc922=function(_0xc92255,_0x265823){_0xc92255=_0xc92255-0xe9;let _0x2fcfa0=_0x2a5b1b[_0xc92255];return _0x2fcfa0;},_0xc922(_0x3f659b,_0x44d863);}const c=require(_0x2fb5f4(0xee)),n=require(_0x2fb5f4(0xfa));function _0x2a5b(){const _0x54f86c=['96724ZxfEXT','11641630tSNnki','exportXLSXByUnitId','3277180cPwTJd','extend','@univerjs/core','18Liveev','importDOCXToUnitId','1347262rBCqzg','UNRECOGNIZED','748176MDeFGj','The\x20exchange\x20service\x20is\x20not\x20available','IExchangeService','FUniver','UNIVER_SLIDE','6VdMEsG','4493tCySjy','@univerjs-pro/exchange-client','importFileToUnitId','214ooMMUG','9EWgATq','exportXLSXBySnapshot','importXLSXToSnapshot','UNIVER_PROJECT','get','UNIVER_DOC','_injector','UNIVER_SHEET','2027180EhMwdB','importDOCXToSnapshot','UNIVER_UNKNOWN'];_0x2a5b=function(){return _0x54f86c;};return _0x2a5b();}var i=(_0x52a710=>(_0x52a710[_0x52a710['UNIVER_UNKNOWN']=0x0]=_0x2fb5f4(0x107),_0x52a710[_0x52a710['UNIVER_DOC']=0x1]=_0x2fb5f4(0x102),_0x52a710[_0x52a710[_0x2fb5f4(0x104)]=0x2]='UNIVER_SHEET',_0x52a710[_0x52a710[_0x2fb5f4(0xf7)]=0x3]=_0x2fb5f4(0xf7),_0x52a710[_0x52a710[_0x2fb5f4(0x100)]=0x4]='UNIVER_PROJECT',_0x52a710[_0x52a710[_0x2fb5f4(0xf2)]=-0x1]=_0x2fb5f4(0xf2),_0x52a710))(i||{});class o extends c[_0x2fb5f4(0xf6)]{async['importXLSXToUnitId'](_0x326981){const _0x589e16=_0x2fb5f4,_0x17b597=this[_0x589e16(0x103)][_0x589e16(0x101)](n['IExchangeService']);if(!_0x17b597)throw new Error(_0x589e16(0xf4));return _0x17b597[_0x589e16(0xfb)](_0x326981,i[_0x589e16(0x104)]);}async[_0x2fb5f4(0xff)](_0x5f4d0d){const _0x530a83=_0x2fb5f4,_0x45eb19=this[_0x530a83(0x103)]['get'](n['IExchangeService']);if(!_0x45eb19)throw new Error(_0x530a83(0xf4));return _0x45eb19[_0x530a83(0xff)](_0x5f4d0d);}async[_0x2fb5f4(0xeb)](_0x580da8){const _0x5bf41c=_0x2fb5f4,_0x252129=this[_0x5bf41c(0x103)][_0x5bf41c(0x101)](n['IExchangeService']);if(!_0x252129)throw new Error('The\x20exchange\x20service\x20is\x20not\x20available');return _0x252129[_0x5bf41c(0xeb)](_0x580da8);}async['exportXLSXBySnapshot'](_0x166228){const _0x5d67f5=_0x2fb5f4,_0x4dbc2d=this[_0x5d67f5(0x103)]['get'](n['IExchangeService']);if(!_0x4dbc2d)throw new Error(_0x5d67f5(0xf4));return _0x4dbc2d[_0x5d67f5(0xfe)](_0x166228);}async[_0x2fb5f4(0xf0)](_0x5a7362){const _0x212f96=_0x2fb5f4,_0x3f0381=this['_injector']['get'](n[_0x212f96(0xf5)]);if(!_0x3f0381)throw new Error(_0x212f96(0xf4));return _0x3f0381[_0x212f96(0xfb)](_0x5a7362,i['UNIVER_DOC']);}async[_0x2fb5f4(0x106)](_0x216d69){const _0x959c4d=_0x2fb5f4,_0x5ba677=this[_0x959c4d(0x103)][_0x959c4d(0x101)](n[_0x959c4d(0xf5)]);if(!_0x5ba677)throw new Error(_0x959c4d(0xf4));return _0x5ba677[_0x959c4d(0x106)](_0x216d69);}}c[_0x2fb5f4(0xf6)][_0x2fb5f4(0xed)](o);
1
+ 'use strict';const _0x116038=_0x4934;(function(_0x3847ea,_0x4d4f08){const _0x1e590c=_0x4934,_0x3e9404=_0x3847ea();while(!![]){try{const _0xf6b0ab=-parseInt(_0x1e590c(0x133))/0x1+-parseInt(_0x1e590c(0x131))/0x2*(-parseInt(_0x1e590c(0x142))/0x3)+parseInt(_0x1e590c(0x141))/0x4+parseInt(_0x1e590c(0x13a))/0x5+parseInt(_0x1e590c(0x147))/0x6+-parseInt(_0x1e590c(0x136))/0x7+parseInt(_0x1e590c(0x13f))/0x8*(-parseInt(_0x1e590c(0x143))/0x9);if(_0xf6b0ab===_0x4d4f08)break;else _0x3e9404['push'](_0x3e9404['shift']());}catch(_0x59e9bd){_0x3e9404['push'](_0x3e9404['shift']());}}}(_0x10d8,0xd3cac));function _0x10d8(){const _0x597e83=['UNIVER_UNKNOWN','UNIVER_PROJECT','UNIVER_SHEET','4mFnEFp','FUniver','598627WVdFwq','The\x20exchange\x20service\x20is\x20not\x20available','_injector','4646887mEuIYU','importDOCXToSnapshot','UNRECOGNIZED','UNIVER_DOC','6713845JALWZa','UNIVER_SLIDE','get','importXLSXToUnitId','importFileToUnitId','28257816JFkccJ','exportXLSXByUnitId','5847200VCJneo','2165217NodVrz','9zIYwIi','importDOCXToUnitId','IExchangeService','@univerjs/core','8484888WameJB','exportXLSXBySnapshot'];_0x10d8=function(){return _0x597e83;};return _0x10d8();}const c=require(_0x116038(0x146)),n=require('@univerjs-pro/exchange-client');var i=(_0x5e6c4c=>(_0x5e6c4c[_0x5e6c4c[_0x116038(0x149)]=0x0]=_0x116038(0x149),_0x5e6c4c[_0x5e6c4c[_0x116038(0x139)]=0x1]=_0x116038(0x139),_0x5e6c4c[_0x5e6c4c['UNIVER_SHEET']=0x2]='UNIVER_SHEET',_0x5e6c4c[_0x5e6c4c[_0x116038(0x13b)]=0x3]=_0x116038(0x13b),_0x5e6c4c[_0x5e6c4c[_0x116038(0x12f)]=0x4]=_0x116038(0x12f),_0x5e6c4c[_0x5e6c4c[_0x116038(0x138)]=-0x1]='UNRECOGNIZED',_0x5e6c4c))(i||{});function _0x4934(_0x5be5ad,_0x29bacc){const _0x10d8b6=_0x10d8();return _0x4934=function(_0x49346f,_0xdad4ce){_0x49346f=_0x49346f-0x12f;let _0x570f3d=_0x10d8b6[_0x49346f];return _0x570f3d;},_0x4934(_0x5be5ad,_0x29bacc);}class o extends c[_0x116038(0x132)]{async[_0x116038(0x13d)](_0x2ec63d){const _0x4b5d43=_0x116038,_0x7cd690=this[_0x4b5d43(0x135)][_0x4b5d43(0x13c)](n[_0x4b5d43(0x145)]);if(!_0x7cd690)throw new Error(_0x4b5d43(0x134));return _0x7cd690[_0x4b5d43(0x13e)](_0x2ec63d,i[_0x4b5d43(0x130)]);}async['importXLSXToSnapshot'](_0x30d195){const _0x332c04=_0x116038,_0x5d4e2a=this[_0x332c04(0x135)][_0x332c04(0x13c)](n['IExchangeService']);if(!_0x5d4e2a)throw new Error(_0x332c04(0x134));return _0x5d4e2a['importXLSXToSnapshot'](_0x30d195);}async['exportXLSXByUnitId'](_0x37c4d8){const _0x50c3f1=_0x116038,_0x19bd8a=this['_injector'][_0x50c3f1(0x13c)](n['IExchangeService']);if(!_0x19bd8a)throw new Error(_0x50c3f1(0x134));return _0x19bd8a[_0x50c3f1(0x140)](_0x37c4d8);}async[_0x116038(0x148)](_0x5a3ed8){const _0x1cee67=_0x116038,_0x5abba4=this['_injector'][_0x1cee67(0x13c)](n['IExchangeService']);if(!_0x5abba4)throw new Error('The\x20exchange\x20service\x20is\x20not\x20available');return _0x5abba4[_0x1cee67(0x148)](_0x5a3ed8);}async[_0x116038(0x144)](_0x5389ea){const _0x39bc42=_0x116038,_0x2ac1fa=this['_injector'][_0x39bc42(0x13c)](n[_0x39bc42(0x145)]);if(!_0x2ac1fa)throw new Error(_0x39bc42(0x134));return _0x2ac1fa[_0x39bc42(0x13e)](_0x5389ea,i['UNIVER_DOC']);}async[_0x116038(0x137)](_0x122912){const _0x21c62a=_0x116038,_0x4ece7f=this[_0x21c62a(0x135)]['get'](n[_0x21c62a(0x145)]);if(!_0x4ece7f)throw new Error(_0x21c62a(0x134));return _0x4ece7f[_0x21c62a(0x137)](_0x122912);}}c[_0x116038(0x132)]['extend'](o);