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

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';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);
1
+ 'use strict';const _0x474c14=_0x375e;function _0x1ca9(){const _0x33e982=['importDOCXToUnitId','UNIVER_SHEET','16206324RqhWWs','UNIVER_PROJECT','get','UNRECOGNIZED','40150tuPbJB','8358QBhcMA','411874jDYBDk','22OEVAui','UNIVER_UNKNOWN','UNIVER_DOC','UNIVER_SLIDE','exportXLSXByUnitIdAsync','importXLSXToUnitId','7320rxECGG','FUniver','1078210UfXPWo','importDOCXToSnapshot','exportXLSXBySnapshotAsync','exportXLSXBySnapshot','1846287xiLYdI','2CcBSIF','4586430YvbqMi','IExchangeService','importDOCXToUnitIdAsync','The\x20exchange\x20service\x20is\x20not\x20available','importXLSXToUnitIdAsync','importDOCXToSnapshotAsync','56SbuYBF','exportXLSXByUnitId','@univerjs/core/facade','importFileToUnitId','_injector','45xcviym'];_0x1ca9=function(){return _0x33e982;};return _0x1ca9();}(function(_0x1a3989,_0x4228cd){const _0x338935=_0x375e,_0x3c942a=_0x1a3989();while(!![]){try{const _0x396637=parseInt(_0x338935(0x1a4))/0x1*(-parseInt(_0x338935(0x1b9))/0x2)+parseInt(_0x338935(0x1a3))/0x3+-parseInt(_0x338935(0x1ab))/0x4*(-parseInt(_0x338935(0x1b7))/0x5)+-parseInt(_0x338935(0x1a5))/0x6+-parseInt(_0x338935(0x1b8))/0x7*(parseInt(_0x338935(0x19d))/0x8)+-parseInt(_0x338935(0x1b0))/0x9*(parseInt(_0x338935(0x19f))/0xa)+parseInt(_0x338935(0x1ba))/0xb*(parseInt(_0x338935(0x1b3))/0xc);if(_0x396637===_0x4228cd)break;else _0x3c942a['push'](_0x3c942a['shift']());}catch(_0x2ab713){_0x3c942a['push'](_0x3c942a['shift']());}}}(_0x1ca9,0x979d1));function _0x375e(_0x52a6a4,_0x408524){const _0x1ca9ae=_0x1ca9();return _0x375e=function(_0x375e13,_0x576873){_0x375e13=_0x375e13-0x19b;let _0x571fd3=_0x1ca9ae[_0x375e13];return _0x571fd3;},_0x375e(_0x52a6a4,_0x408524);}const r=require('@univerjs-pro/exchange-client'),i=require(_0x474c14(0x1ad));var o=(_0x362433=>(_0x362433[_0x362433[_0x474c14(0x1bb)]=0x0]='UNIVER_UNKNOWN',_0x362433[_0x362433[_0x474c14(0x1bc)]=0x1]='UNIVER_DOC',_0x362433[_0x362433[_0x474c14(0x1b2)]=0x2]=_0x474c14(0x1b2),_0x362433[_0x362433[_0x474c14(0x1bd)]=0x3]=_0x474c14(0x1bd),_0x362433[_0x362433[_0x474c14(0x1b4)]=0x4]='UNIVER_PROJECT',_0x362433[_0x362433['UNRECOGNIZED']=-0x1]=_0x474c14(0x1b6),_0x362433))(o||{});class c extends i[_0x474c14(0x19e)]{async[_0x474c14(0x19c)](_0x4c12dc){return this['importXLSXToUnitIdAsync'](_0x4c12dc);}async[_0x474c14(0x1a9)](_0x11b9c1){const _0x1f2f16=_0x474c14,_0x52ebc5=this[_0x1f2f16(0x1af)][_0x1f2f16(0x1b5)](r[_0x1f2f16(0x1a6)]);if(!_0x52ebc5)throw new Error('The\x20exchange\x20service\x20is\x20not\x20available');return _0x52ebc5[_0x1f2f16(0x1ae)](_0x11b9c1,o[_0x1f2f16(0x1b2)]);}async['importXLSXToSnapshot'](_0x56de0b){return this['importXLSXToSnapshotAsync'](_0x56de0b);}async['importXLSXToSnapshotAsync'](_0x19f2af){const _0x565831=_0x474c14,_0x4026f1=this['_injector'][_0x565831(0x1b5)](r[_0x565831(0x1a6)]);if(!_0x4026f1)throw new Error(_0x565831(0x1a8));return _0x4026f1['importXLSXToSnapshot'](_0x19f2af);}async[_0x474c14(0x1ac)](_0x11a38f){const _0x1a701f=_0x474c14;return this[_0x1a701f(0x19b)](_0x11a38f);}async[_0x474c14(0x19b)](_0x5e10c7){const _0x55869e=_0x474c14,_0x2a1765=this[_0x55869e(0x1af)][_0x55869e(0x1b5)](r['IExchangeService']);if(!_0x2a1765)throw new Error(_0x55869e(0x1a8));return _0x2a1765[_0x55869e(0x1ac)](_0x5e10c7);}async[_0x474c14(0x1a2)](_0x56c2d5){const _0x15e9c1=_0x474c14;return this[_0x15e9c1(0x1a1)](_0x56c2d5);}async[_0x474c14(0x1a1)](_0x221c00){const _0x481670=_0x474c14,_0x54e267=this[_0x481670(0x1af)][_0x481670(0x1b5)](r[_0x481670(0x1a6)]);if(!_0x54e267)throw new Error(_0x481670(0x1a8));return _0x54e267[_0x481670(0x1a2)](_0x221c00);}async[_0x474c14(0x1b1)](_0x43dfc0){const _0x37bfff=_0x474c14;return this[_0x37bfff(0x1a7)](_0x43dfc0);}async['importDOCXToUnitIdAsync'](_0x4bc733){const _0x30fea3=_0x474c14,_0x2af81a=this['_injector'][_0x30fea3(0x1b5)](r['IExchangeService']);if(!_0x2af81a)throw new Error(_0x30fea3(0x1a8));return _0x2af81a[_0x30fea3(0x1ae)](_0x4bc733,o['UNIVER_DOC']);}async[_0x474c14(0x1a0)](_0x8c5b96){return this['importDOCXToSnapshotAsync'](_0x8c5b96);}async[_0x474c14(0x1aa)](_0x345837){const _0x449f06=_0x474c14,_0x41bf5c=this[_0x449f06(0x1af)][_0x449f06(0x1b5)](r[_0x449f06(0x1a6)]);if(!_0x41bf5c)throw new Error('The\x20exchange\x20service\x20is\x20not\x20available');return _0x41bf5c['importDOCXToSnapshot'](_0x345837);}}i[_0x474c14(0x19e)]['extend'](c);