@univerjs-pro/exchange-client 0.6.1-nightly.202502241606 → 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 _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);
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);