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

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 _0x310916=_0x1947;(function(_0x4cb139,_0x4b987b){const _0xaa25d=_0x1947,_0x31015c=_0x4cb139();while(!![]){try{const _0x38b3b0=-parseInt(_0xaa25d(0xa0))/0x1*(-parseInt(_0xaa25d(0xa9))/0x2)+-parseInt(_0xaa25d(0xbb))/0x3*(parseInt(_0xaa25d(0xb3))/0x4)+-parseInt(_0xaa25d(0xbc))/0x5+-parseInt(_0xaa25d(0xaa))/0x6*(-parseInt(_0xaa25d(0xb7))/0x7)+parseInt(_0xaa25d(0xb5))/0x8+parseInt(_0xaa25d(0xb0))/0x9+-parseInt(_0xaa25d(0xb8))/0xa;if(_0x38b3b0===_0x4b987b)break;else _0x31015c['push'](_0x31015c['shift']());}catch(_0xed86f3){_0x31015c['push'](_0x31015c['shift']());}}}(_0x59b8,0x7c26e));function _0x59b8(){const _0x37a425=['3352REmMpf','IExchangeService','7475856BzKogv','importXLSXToUnitId','1071hjsEsl','4923760aXnkOk','FUniver','@univerjs-pro/exchange-client','3495doEndz','1981215HXEDUz','31zoEGXi','UNIVER_SLIDE','exportXLSXByUnitId','extend','@univerjs/core','UNIVER_SHEET','importXLSXToSnapshot','UNIVER_DOC','importDOCXToSnapshot','12738KdHPgy','9972ZFXaPC','UNIVER_UNKNOWN','_injector','The\x20exchange\x20service\x20is\x20not\x20available','get','importFileToUnitId','8884872kEEtKD','UNIVER_PROJECT','exportXLSXBySnapshot'];_0x59b8=function(){return _0x37a425;};return _0x59b8();}function _0x1947(_0x4ec295,_0x3847db){const _0x59b83d=_0x59b8();return _0x1947=function(_0x1947ee,_0x2433ae){_0x1947ee=_0x1947ee-0xa0;let _0x441177=_0x59b83d[_0x1947ee];return _0x441177;},_0x1947(_0x4ec295,_0x3847db);}const c=require(_0x310916(0xa4)),n=require(_0x310916(0xba));var i=(_0xd50f9f=>(_0xd50f9f[_0xd50f9f[_0x310916(0xab)]=0x0]=_0x310916(0xab),_0xd50f9f[_0xd50f9f[_0x310916(0xa7)]=0x1]='UNIVER_DOC',_0xd50f9f[_0xd50f9f[_0x310916(0xa5)]=0x2]=_0x310916(0xa5),_0xd50f9f[_0xd50f9f[_0x310916(0xa1)]=0x3]='UNIVER_SLIDE',_0xd50f9f[_0xd50f9f[_0x310916(0xb1)]=0x4]=_0x310916(0xb1),_0xd50f9f[_0xd50f9f['UNRECOGNIZED']=-0x1]='UNRECOGNIZED',_0xd50f9f))(i||{});class o extends c['FUniver']{async[_0x310916(0xb6)](_0x1b65b9){const _0x3a5fe7=_0x310916,_0x145dc0=this[_0x3a5fe7(0xac)][_0x3a5fe7(0xae)](n['IExchangeService']);if(!_0x145dc0)throw new Error('The\x20exchange\x20service\x20is\x20not\x20available');return _0x145dc0[_0x3a5fe7(0xaf)](_0x1b65b9,i['UNIVER_SHEET']);}async[_0x310916(0xa6)](_0x47c829){const _0x54414c=_0x310916,_0x4d7a94=this['_injector']['get'](n[_0x54414c(0xb4)]);if(!_0x4d7a94)throw new Error('The\x20exchange\x20service\x20is\x20not\x20available');return _0x4d7a94[_0x54414c(0xa6)](_0x47c829);}async['exportXLSXByUnitId'](_0x2767f1){const _0x45172b=_0x310916,_0x1ee7c8=this[_0x45172b(0xac)][_0x45172b(0xae)](n[_0x45172b(0xb4)]);if(!_0x1ee7c8)throw new Error('The\x20exchange\x20service\x20is\x20not\x20available');return _0x1ee7c8[_0x45172b(0xa2)](_0x2767f1);}async[_0x310916(0xb2)](_0x4f5625){const _0x20e2ef=_0x310916,_0x2dcd72=this[_0x20e2ef(0xac)][_0x20e2ef(0xae)](n[_0x20e2ef(0xb4)]);if(!_0x2dcd72)throw new Error('The\x20exchange\x20service\x20is\x20not\x20available');return _0x2dcd72[_0x20e2ef(0xb2)](_0x4f5625);}async['importDOCXToUnitId'](_0x59e78e){const _0x36c4e7=_0x310916,_0x4cf00f=this[_0x36c4e7(0xac)][_0x36c4e7(0xae)](n[_0x36c4e7(0xb4)]);if(!_0x4cf00f)throw new Error('The\x20exchange\x20service\x20is\x20not\x20available');return _0x4cf00f[_0x36c4e7(0xaf)](_0x59e78e,i[_0x36c4e7(0xa7)]);}async[_0x310916(0xa8)](_0x7a2890){const _0x60a5a3=_0x310916,_0x1d2f52=this[_0x60a5a3(0xac)][_0x60a5a3(0xae)](n[_0x60a5a3(0xb4)]);if(!_0x1d2f52)throw new Error(_0x60a5a3(0xad));return _0x1d2f52[_0x60a5a3(0xa8)](_0x7a2890);}}c[_0x310916(0xb9)][_0x310916(0xa3)](o);
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);