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

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';function _0x4d3f(){const _0xd30b22=['importDOCXToSnapshotAsync','17913AbAdmV','_injector','UNIVER_UNKNOWN','1610997gxcLtd','FUniver','3352CutPnG','extend','UNIVER_PROJECT','2451360iwCmeO','7690986AfcVSS','exportXLSXByUnitIdAsync','IExchangeService','91470JUABeN','@univerjs-pro/exchange-client','UNIVER_SHEET','get','4pXKLoi','@univerjs/core/facade','importXLSXToSnapshot','exportXLSXByUnitId','importXLSXToSnapshotAsync','1670710WACnvl','exportXLSXBySnapshot','importDOCXToUnitId','importFileToUnitId','UNIVER_DOC','The\x20exchange\x20service\x20is\x20not\x20available','UNRECOGNIZED','UNIVER_SLIDE','861798AfuGuK','importXLSXToUnitId','importDOCXToSnapshot','exportXLSXBySnapshotAsync'];_0x4d3f=function(){return _0xd30b22;};return _0x4d3f();}const _0x36e534=_0x564a;function _0x564a(_0xa87582,_0x4668f5){const _0x4d3fa6=_0x4d3f();return _0x564a=function(_0x564a18,_0xc41cff){_0x564a18=_0x564a18-0xb9;let _0x3dac6b=_0x4d3fa6[_0x564a18];return _0x3dac6b;},_0x564a(_0xa87582,_0x4668f5);}(function(_0x46864c,_0x37da94){const _0xc6eecf=_0x564a,_0x27c973=_0x46864c();while(!![]){try{const _0x88f28f=parseInt(_0xc6eecf(0xc3))/0x1+-parseInt(_0xc6eecf(0xbb))/0x2+-parseInt(_0xc6eecf(0xcc))/0x3+-parseInt(_0xc6eecf(0xd0))/0x4*(-parseInt(_0xc6eecf(0xd5))/0x5)+-parseInt(_0xc6eecf(0xc8))/0x6+parseInt(_0xc6eecf(0xc0))/0x7*(-parseInt(_0xc6eecf(0xc5))/0x8)+parseInt(_0xc6eecf(0xc9))/0x9;if(_0x88f28f===_0x37da94)break;else _0x27c973['push'](_0x27c973['shift']());}catch(_0x43923e){_0x27c973['push'](_0x27c973['shift']());}}}(_0x4d3f,0xd15b3));const r=require(_0x36e534(0xcd)),i=require(_0x36e534(0xd1));var o=(_0x1b2be6=>(_0x1b2be6[_0x1b2be6[_0x36e534(0xc2)]=0x0]='UNIVER_UNKNOWN',_0x1b2be6[_0x1b2be6[_0x36e534(0xd9)]=0x1]=_0x36e534(0xd9),_0x1b2be6[_0x1b2be6[_0x36e534(0xce)]=0x2]=_0x36e534(0xce),_0x1b2be6[_0x1b2be6[_0x36e534(0xba)]=0x3]='UNIVER_SLIDE',_0x1b2be6[_0x1b2be6[_0x36e534(0xc7)]=0x4]=_0x36e534(0xc7),_0x1b2be6[_0x1b2be6['UNRECOGNIZED']=-0x1]=_0x36e534(0xb9),_0x1b2be6))(o||{});class c extends i[_0x36e534(0xc4)]{async[_0x36e534(0xbc)](_0x506d0e){return this['importXLSXToUnitIdAsync'](_0x506d0e);}async['importXLSXToUnitIdAsync'](_0x5b8dd4){const _0x4f868e=_0x36e534,_0x32ad9f=this[_0x4f868e(0xc1)]['get'](r[_0x4f868e(0xcb)]);if(!_0x32ad9f)throw new Error('The\x20exchange\x20service\x20is\x20not\x20available');return _0x32ad9f['importFileToUnitId'](_0x5b8dd4,o[_0x4f868e(0xce)]);}async[_0x36e534(0xd2)](_0x4ae58f){const _0x10e789=_0x36e534;return this[_0x10e789(0xd4)](_0x4ae58f);}async[_0x36e534(0xd4)](_0xd7ba06){const _0x3fb39a=_0x36e534,_0x41ca08=this[_0x3fb39a(0xc1)]['get'](r[_0x3fb39a(0xcb)]);if(!_0x41ca08)throw new Error(_0x3fb39a(0xda));return _0x41ca08[_0x3fb39a(0xd2)](_0xd7ba06);}async[_0x36e534(0xd3)](_0x34f1d6){const _0x53f219=_0x36e534;return this[_0x53f219(0xca)](_0x34f1d6);}async[_0x36e534(0xca)](_0x508487){const _0x54c5e7=_0x36e534,_0x1142bd=this[_0x54c5e7(0xc1)][_0x54c5e7(0xcf)](r[_0x54c5e7(0xcb)]);if(!_0x1142bd)throw new Error(_0x54c5e7(0xda));return _0x1142bd[_0x54c5e7(0xd3)](_0x508487);}async[_0x36e534(0xd6)](_0x5e3251){const _0x3e819e=_0x36e534;return this[_0x3e819e(0xbe)](_0x5e3251);}async['exportXLSXBySnapshotAsync'](_0x44b3cd){const _0x3ed24a=_0x36e534,_0x57425e=this['_injector'][_0x3ed24a(0xcf)](r[_0x3ed24a(0xcb)]);if(!_0x57425e)throw new Error('The\x20exchange\x20service\x20is\x20not\x20available');return _0x57425e['exportXLSXBySnapshot'](_0x44b3cd);}async[_0x36e534(0xd7)](_0x255297){return this['importDOCXToUnitIdAsync'](_0x255297);}async['importDOCXToUnitIdAsync'](_0x21db19){const _0xa8a4a8=_0x36e534,_0x554725=this[_0xa8a4a8(0xc1)][_0xa8a4a8(0xcf)](r['IExchangeService']);if(!_0x554725)throw new Error(_0xa8a4a8(0xda));return _0x554725[_0xa8a4a8(0xd8)](_0x21db19,o['UNIVER_DOC']);}async[_0x36e534(0xbd)](_0x4ab3b1){const _0x2a242a=_0x36e534;return this[_0x2a242a(0xbf)](_0x4ab3b1);}async['importDOCXToSnapshotAsync'](_0x1abc55){const _0x58eda3=_0x36e534,_0xc1c8df=this[_0x58eda3(0xc1)][_0x58eda3(0xcf)](r['IExchangeService']);if(!_0xc1c8df)throw new Error(_0x58eda3(0xda));return _0xc1c8df[_0x58eda3(0xbd)](_0x1abc55);}}i['FUniver'][_0x36e534(0xc6)](c);