@univerjs-pro/exchange-client 0.6.1-nightly.202502231605 → 0.6.1-nightly.202502241606

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 _0x10efba=_0x335d;(function(_0x448c8b,_0x39982f){const _0x2aa975=_0x335d,_0xdc4a7a=_0x448c8b();while(!![]){try{const _0x1ac6c3=-parseInt(_0x2aa975(0x1c2))/0x1*(parseInt(_0x2aa975(0x1aa))/0x2)+parseInt(_0x2aa975(0x1bf))/0x3*(parseInt(_0x2aa975(0x1a4))/0x4)+parseInt(_0x2aa975(0x1b7))/0x5*(-parseInt(_0x2aa975(0x1a9))/0x6)+parseInt(_0x2aa975(0x1b1))/0x7*(parseInt(_0x2aa975(0x1b9))/0x8)+-parseInt(_0x2aa975(0x1b2))/0x9+parseInt(_0x2aa975(0x1c4))/0xa*(-parseInt(_0x2aa975(0x1c5))/0xb)+parseInt(_0x2aa975(0x1a8))/0xc;if(_0x1ac6c3===_0x39982f)break;else _0xdc4a7a['push'](_0xdc4a7a['shift']());}catch(_0x1f44ec){_0xdc4a7a['push'](_0xdc4a7a['shift']());}}}(_0x5536,0x887fb));function _0x335d(_0x531975,_0xd8899e){const _0x5536df=_0x5536();return _0x335d=function(_0x335dd2,_0x5092af){_0x335dd2=_0x335dd2-0x1a3;let _0x1b9409=_0x5536df[_0x335dd2];return _0x1b9409;},_0x335d(_0x531975,_0xd8899e);}const r=require(_0x10efba(0x1a3)),i=require(_0x10efba(0x1c0));var o=(_0x33c856=>(_0x33c856[_0x33c856[_0x10efba(0x1c6)]=0x0]='UNIVER_UNKNOWN',_0x33c856[_0x33c856[_0x10efba(0x1b5)]=0x1]='UNIVER_DOC',_0x33c856[_0x33c856[_0x10efba(0x1ac)]=0x2]=_0x10efba(0x1ac),_0x33c856[_0x33c856[_0x10efba(0x1bc)]=0x3]='UNIVER_SLIDE',_0x33c856[_0x33c856[_0x10efba(0x1a6)]=0x4]=_0x10efba(0x1a6),_0x33c856[_0x33c856[_0x10efba(0x1bb)]=-0x1]=_0x10efba(0x1bb),_0x33c856))(o||{});class c extends i[_0x10efba(0x1ba)]{async[_0x10efba(0x1c3)](_0x2b3306){return this['importXLSXToUnitIdAsync'](_0x2b3306);}async['importXLSXToUnitIdAsync'](_0xc58a9a){const _0x2152eb=_0x10efba,_0x2544f7=this[_0x2152eb(0x1ad)][_0x2152eb(0x1ae)](r['IExchangeService']);if(!_0x2544f7)throw new Error(_0x2152eb(0x1c7));return _0x2544f7[_0x2152eb(0x1c8)](_0xc58a9a,o[_0x2152eb(0x1ac)]);}async[_0x10efba(0x1ab)](_0x47d368){const _0xd0d023=_0x10efba;return this[_0xd0d023(0x1b8)](_0x47d368);}async[_0x10efba(0x1b8)](_0x4e7b10){const _0x1e6860=_0x10efba,_0x1b5fca=this[_0x1e6860(0x1ad)]['get'](r[_0x1e6860(0x1a7)]);if(!_0x1b5fca)throw new Error(_0x1e6860(0x1c7));return _0x1b5fca[_0x1e6860(0x1ab)](_0x4e7b10);}async[_0x10efba(0x1b0)](_0x42b8a3){const _0x1d2936=_0x10efba;return this[_0x1d2936(0x1c1)](_0x42b8a3);}async['exportXLSXByUnitIdAsync'](_0x3d89f3){const _0x2e48d8=_0x10efba,_0x5ed714=this[_0x2e48d8(0x1ad)][_0x2e48d8(0x1ae)](r[_0x2e48d8(0x1a7)]);if(!_0x5ed714)throw new Error('The\x20exchange\x20service\x20is\x20not\x20available');return _0x5ed714[_0x2e48d8(0x1b0)](_0x3d89f3);}async[_0x10efba(0x1bd)](_0xf6fa92){const _0x2bfb69=_0x10efba;return this[_0x2bfb69(0x1b6)](_0xf6fa92);}async[_0x10efba(0x1b6)](_0x38aded){const _0x5820b9=_0x10efba,_0x8a5107=this[_0x5820b9(0x1ad)]['get'](r['IExchangeService']);if(!_0x8a5107)throw new Error(_0x5820b9(0x1c7));return _0x8a5107['exportXLSXBySnapshot'](_0x38aded);}async[_0x10efba(0x1be)](_0x5bf8b2){const _0x447ecd=_0x10efba;return this[_0x447ecd(0x1b4)](_0x5bf8b2);}async['importDOCXToUnitIdAsync'](_0x3b1f52){const _0x590a64=_0x10efba,_0x77f5bd=this['_injector'][_0x590a64(0x1ae)](r[_0x590a64(0x1a7)]);if(!_0x77f5bd)throw new Error(_0x590a64(0x1c7));return _0x77f5bd[_0x590a64(0x1c8)](_0x3b1f52,o[_0x590a64(0x1b5)]);}async[_0x10efba(0x1af)](_0x38f321){const _0x5a313a=_0x10efba;return this[_0x5a313a(0x1b3)](_0x38f321);}async[_0x10efba(0x1b3)](_0x459f9e){const _0x2a8299=_0x10efba,_0x257e75=this[_0x2a8299(0x1ad)][_0x2a8299(0x1ae)](r[_0x2a8299(0x1a7)]);if(!_0x257e75)throw new Error(_0x2a8299(0x1c7));return _0x257e75[_0x2a8299(0x1af)](_0x459f9e);}}i['FUniver'][_0x10efba(0x1a5)](c);function _0x5536(){const _0x276df9=['importDOCXToSnapshot','exportXLSXByUnitId','448ggQpgm','2600784Ibkmgy','importDOCXToSnapshotAsync','importDOCXToUnitIdAsync','UNIVER_DOC','exportXLSXBySnapshotAsync','9585LyHbGp','importXLSXToSnapshotAsync','108864dyYndG','FUniver','UNRECOGNIZED','UNIVER_SLIDE','exportXLSXBySnapshot','importDOCXToUnitId','3831zxsoiG','@univerjs/core/facade','exportXLSXByUnitIdAsync','161131GdGKRq','importXLSXToUnitId','1988790WGsqea','11QwJEir','UNIVER_UNKNOWN','The\x20exchange\x20service\x20is\x20not\x20available','importFileToUnitId','@univerjs-pro/exchange-client','2576NKMnqZ','extend','UNIVER_PROJECT','IExchangeService','2622360mXvSVJ','1194WHQmhP','6OKqnDK','importXLSXToSnapshot','UNIVER_SHEET','_injector','get'];_0x5536=function(){return _0x276df9;};return _0x5536();}
1
+ 'use strict';const _0x52e28c=_0x5471;(function(_0x452027,_0x93d758){const _0x3fb86e=_0x5471,_0x384683=_0x452027();while(!![]){try{const _0x200e2a=parseInt(_0x3fb86e(0x200))/0x1+-parseInt(_0x3fb86e(0x1fb))/0x2+parseInt(_0x3fb86e(0x207))/0x3*(parseInt(_0x3fb86e(0x1fc))/0x4)+-parseInt(_0x3fb86e(0x20a))/0x5*(-parseInt(_0x3fb86e(0x1f8))/0x6)+-parseInt(_0x3fb86e(0x214))/0x7*(-parseInt(_0x3fb86e(0x213))/0x8)+-parseInt(_0x3fb86e(0x210))/0x9*(parseInt(_0x3fb86e(0x1f1))/0xa)+parseInt(_0x3fb86e(0x1f5))/0xb*(-parseInt(_0x3fb86e(0x1f2))/0xc);if(_0x200e2a===_0x93d758)break;else _0x384683['push'](_0x384683['shift']());}catch(_0x4f765f){_0x384683['push'](_0x384683['shift']());}}}(_0x12a4,0x70815));function _0x12a4(){const _0x3f2075=['213NoSlgB','exportXLSXBySnapshot','exportXLSXByUnitIdAsync','3757525LOdxdj','importDOCXToSnapshotAsync','exportXLSXBySnapshotAsync','importXLSXToSnapshot','extend','UNIVER_SLIDE','4896XWYjix','UNRECOGNIZED','UNIVER_SHEET','66648ephfEd','399BvAFCh','importDOCXToSnapshot','The\x20exchange\x20service\x20is\x20not\x20available','6350qYeoEH','2202504XlJXle','importDOCXToUnitIdAsync','FUniver','55ShizHz','importXLSXToUnitIdAsync','@univerjs/core/facade','6EYSXBM','@univerjs-pro/exchange-client','UNIVER_PROJECT','685146yXHVAb','2452aGTHzN','importXLSXToUnitId','importFileToUnitId','UNIVER_UNKNOWN','796649KevXvn','_injector','get','importXLSXToSnapshotAsync','IExchangeService','UNIVER_DOC','exportXLSXByUnitId'];_0x12a4=function(){return _0x3f2075;};return _0x12a4();}const r=require(_0x52e28c(0x1f9)),i=require(_0x52e28c(0x1f7));function _0x5471(_0x4e903e,_0x1629c5){const _0x12a40d=_0x12a4();return _0x5471=function(_0x5471bd,_0x3797f1){_0x5471bd=_0x5471bd-0x1ef;let _0x41a6df=_0x12a40d[_0x5471bd];return _0x41a6df;},_0x5471(_0x4e903e,_0x1629c5);}var o=(_0xb6c15c=>(_0xb6c15c[_0xb6c15c[_0x52e28c(0x1ff)]=0x0]='UNIVER_UNKNOWN',_0xb6c15c[_0xb6c15c['UNIVER_DOC']=0x1]='UNIVER_DOC',_0xb6c15c[_0xb6c15c[_0x52e28c(0x212)]=0x2]=_0x52e28c(0x212),_0xb6c15c[_0xb6c15c[_0x52e28c(0x20f)]=0x3]='UNIVER_SLIDE',_0xb6c15c[_0xb6c15c[_0x52e28c(0x1fa)]=0x4]=_0x52e28c(0x1fa),_0xb6c15c[_0xb6c15c[_0x52e28c(0x211)]=-0x1]='UNRECOGNIZED',_0xb6c15c))(o||{});class c extends i[_0x52e28c(0x1f4)]{async[_0x52e28c(0x1fd)](_0x332615){const _0x3dc514=_0x52e28c;return this[_0x3dc514(0x1f6)](_0x332615);}async[_0x52e28c(0x1f6)](_0x484e0b){const _0x412f0f=_0x52e28c,_0x562438=this[_0x412f0f(0x201)]['get'](r[_0x412f0f(0x204)]);if(!_0x562438)throw new Error(_0x412f0f(0x1f0));return _0x562438[_0x412f0f(0x1fe)](_0x484e0b,o['UNIVER_SHEET']);}async['importXLSXToSnapshot'](_0x229f49){const _0x5cabaf=_0x52e28c;return this[_0x5cabaf(0x203)](_0x229f49);}async[_0x52e28c(0x203)](_0x55a88e){const _0x7b8600=_0x52e28c,_0x46285b=this[_0x7b8600(0x201)]['get'](r[_0x7b8600(0x204)]);if(!_0x46285b)throw new Error('The\x20exchange\x20service\x20is\x20not\x20available');return _0x46285b[_0x7b8600(0x20d)](_0x55a88e);}async['exportXLSXByUnitId'](_0xc1fcbe){return this['exportXLSXByUnitIdAsync'](_0xc1fcbe);}async[_0x52e28c(0x209)](_0x46b62f){const _0x526631=_0x52e28c,_0x273b18=this[_0x526631(0x201)][_0x526631(0x202)](r['IExchangeService']);if(!_0x273b18)throw new Error(_0x526631(0x1f0));return _0x273b18[_0x526631(0x206)](_0x46b62f);}async[_0x52e28c(0x208)](_0x186456){const _0x33f8e7=_0x52e28c;return this[_0x33f8e7(0x20c)](_0x186456);}async[_0x52e28c(0x20c)](_0x4b1ce5){const _0x4fcabd=_0x52e28c,_0x2cf641=this[_0x4fcabd(0x201)][_0x4fcabd(0x202)](r[_0x4fcabd(0x204)]);if(!_0x2cf641)throw new Error('The\x20exchange\x20service\x20is\x20not\x20available');return _0x2cf641[_0x4fcabd(0x208)](_0x4b1ce5);}async['importDOCXToUnitId'](_0x1c1317){const _0xf1c0f6=_0x52e28c;return this[_0xf1c0f6(0x1f3)](_0x1c1317);}async['importDOCXToUnitIdAsync'](_0xfd3164){const _0x6c4eff=_0x52e28c,_0x47506c=this[_0x6c4eff(0x201)][_0x6c4eff(0x202)](r[_0x6c4eff(0x204)]);if(!_0x47506c)throw new Error(_0x6c4eff(0x1f0));return _0x47506c[_0x6c4eff(0x1fe)](_0xfd3164,o[_0x6c4eff(0x205)]);}async['importDOCXToSnapshot'](_0x1d7a5c){const _0x248faf=_0x52e28c;return this[_0x248faf(0x20b)](_0x1d7a5c);}async[_0x52e28c(0x20b)](_0x3c87f6){const _0x4d0514=_0x52e28c,_0x5c4202=this[_0x4d0514(0x201)][_0x4d0514(0x202)](r[_0x4d0514(0x204)]);if(!_0x5c4202)throw new Error(_0x4d0514(0x1f0));return _0x5c4202[_0x4d0514(0x1ef)](_0x3c87f6);}}i[_0x52e28c(0x1f4)][_0x52e28c(0x20e)](c);