@univerjs-pro/exchange-client 0.5.3-nightly.202501081606 → 0.5.3-nightly.202501091606

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 _0x207a4d=_0xb3c3;(function(_0x1b47a8,_0x481992){const _0x49f03a=_0xb3c3,_0x38a01c=_0x1b47a8();while(!![]){try{const _0x262f91=-parseInt(_0x49f03a(0x9e))/0x1+parseInt(_0x49f03a(0xab))/0x2*(parseInt(_0x49f03a(0xad))/0x3)+parseInt(_0x49f03a(0xb3))/0x4*(parseInt(_0x49f03a(0xa0))/0x5)+parseInt(_0x49f03a(0xb6))/0x6+-parseInt(_0x49f03a(0xa7))/0x7*(parseInt(_0x49f03a(0x9b))/0x8)+parseInt(_0x49f03a(0xa2))/0x9*(parseInt(_0x49f03a(0xa4))/0xa)+-parseInt(_0x49f03a(0xa5))/0xb;if(_0x262f91===_0x481992)break;else _0x38a01c['push'](_0x38a01c['shift']());}catch(_0x55357d){_0x38a01c['push'](_0x38a01c['shift']());}}}(_0x2e38,0x90430));function _0x2e38(){const _0x35db31=['UNRECOGNIZED','FUniver','UNIVER_SHEET','376zVxpCH','importXLSXToSnapshot','UNIVER_PROJECT','5729400IqicUr','importFileToUnitId','exportXLSXBySnapshot','IExchangeService','importXLSXToUnitId','importXLSXToSnapshotAsync','importDOCXToUnitIdAsync','112eXshbc','exportXLSXByUnitId','UNIVER_DOC','452504ouXUQu','exportXLSXByUnitIdAsync','44045NItJtt','importDOCXToSnapshotAsync','117YTQtCo','The\x20exchange\x20service\x20is\x20not\x20available','164750jCFDXI','17902819mRdsKv','UNIVER_UNKNOWN','74123GCtBGL','UNIVER_SLIDE','importXLSXToUnitIdAsync','extend','38awJWIv','exportXLSXBySnapshotAsync','129798AFZdFW','get','_injector'];_0x2e38=function(){return _0x35db31;};return _0x2e38();}function _0xb3c3(_0x324294,_0x4a4db5){const _0x2e382c=_0x2e38();return _0xb3c3=function(_0xb3c35b,_0x37168d){_0xb3c35b=_0xb3c35b-0x98;let _0x548bff=_0x2e382c[_0xb3c35b];return _0x548bff;},_0xb3c3(_0x324294,_0x4a4db5);}const r=require('@univerjs-pro/exchange-client'),i=require('@univerjs/core');var o=(_0x500bcf=>(_0x500bcf[_0x500bcf[_0x207a4d(0xa6)]=0x0]=_0x207a4d(0xa6),_0x500bcf[_0x500bcf[_0x207a4d(0x9d)]=0x1]='UNIVER_DOC',_0x500bcf[_0x500bcf[_0x207a4d(0xb2)]=0x2]=_0x207a4d(0xb2),_0x500bcf[_0x500bcf[_0x207a4d(0xa8)]=0x3]=_0x207a4d(0xa8),_0x500bcf[_0x500bcf[_0x207a4d(0xb5)]=0x4]=_0x207a4d(0xb5),_0x500bcf[_0x500bcf[_0x207a4d(0xb0)]=-0x1]='UNRECOGNIZED',_0x500bcf))(o||{});class c extends i['FUniver']{async[_0x207a4d(0x98)](_0x18aac8){return this['importXLSXToUnitIdAsync'](_0x18aac8);}async[_0x207a4d(0xa9)](_0x50886f){const _0x944a9f=_0x207a4d,_0x185cb1=this[_0x944a9f(0xaf)][_0x944a9f(0xae)](r[_0x944a9f(0xb9)]);if(!_0x185cb1)throw new Error(_0x944a9f(0xa3));return _0x185cb1['importFileToUnitId'](_0x50886f,o[_0x944a9f(0xb2)]);}async[_0x207a4d(0xb4)](_0x4d63bb){const _0x3e5a82=_0x207a4d;return this[_0x3e5a82(0x99)](_0x4d63bb);}async[_0x207a4d(0x99)](_0x599d24){const _0x5e6f14=_0x207a4d,_0x11aeab=this['_injector'][_0x5e6f14(0xae)](r[_0x5e6f14(0xb9)]);if(!_0x11aeab)throw new Error(_0x5e6f14(0xa3));return _0x11aeab[_0x5e6f14(0xb4)](_0x599d24);}async[_0x207a4d(0x9c)](_0xfe87e4){const _0x2d9da6=_0x207a4d;return this[_0x2d9da6(0x9f)](_0xfe87e4);}async['exportXLSXByUnitIdAsync'](_0x1fa7a5){const _0x1f2ae8=_0x207a4d,_0xe4168f=this[_0x1f2ae8(0xaf)]['get'](r['IExchangeService']);if(!_0xe4168f)throw new Error(_0x1f2ae8(0xa3));return _0xe4168f[_0x1f2ae8(0x9c)](_0x1fa7a5);}async[_0x207a4d(0xb8)](_0x5b7a8b){return this['exportXLSXBySnapshotAsync'](_0x5b7a8b);}async[_0x207a4d(0xac)](_0x1882fa){const _0x40d01b=_0x207a4d,_0x707e9b=this[_0x40d01b(0xaf)][_0x40d01b(0xae)](r[_0x40d01b(0xb9)]);if(!_0x707e9b)throw new Error(_0x40d01b(0xa3));return _0x707e9b['exportXLSXBySnapshot'](_0x1882fa);}async['importDOCXToUnitId'](_0x392232){const _0x38b494=_0x207a4d;return this[_0x38b494(0x9a)](_0x392232);}async[_0x207a4d(0x9a)](_0x223a2f){const _0x17f0e2=_0x207a4d,_0x469202=this[_0x17f0e2(0xaf)][_0x17f0e2(0xae)](r[_0x17f0e2(0xb9)]);if(!_0x469202)throw new Error(_0x17f0e2(0xa3));return _0x469202[_0x17f0e2(0xb7)](_0x223a2f,o['UNIVER_DOC']);}async['importDOCXToSnapshot'](_0xc471d3){return this['importDOCXToSnapshotAsync'](_0xc471d3);}async[_0x207a4d(0xa1)](_0x40c88a){const _0x10d3ac=_0x207a4d,_0x3b4e8a=this[_0x10d3ac(0xaf)]['get'](r[_0x10d3ac(0xb9)]);if(!_0x3b4e8a)throw new Error(_0x10d3ac(0xa3));return _0x3b4e8a['importDOCXToSnapshot'](_0x40c88a);}}i[_0x207a4d(0xb1)][_0x207a4d(0xaa)](c);
1
+ 'use strict';const _0x60d7b4=_0x30ed;(function(_0x1ddc87,_0x3dc46d){const _0x4c7101=_0x30ed,_0x411906=_0x1ddc87();while(!![]){try{const _0x575cc9=parseInt(_0x4c7101(0x1cd))/0x1+parseInt(_0x4c7101(0x1c7))/0x2*(-parseInt(_0x4c7101(0x1ca))/0x3)+-parseInt(_0x4c7101(0x1df))/0x4*(-parseInt(_0x4c7101(0x1d2))/0x5)+-parseInt(_0x4c7101(0x1ce))/0x6+-parseInt(_0x4c7101(0x1d5))/0x7+parseInt(_0x4c7101(0x1e2))/0x8*(-parseInt(_0x4c7101(0x1cf))/0x9)+parseInt(_0x4c7101(0x1c8))/0xa;if(_0x575cc9===_0x3dc46d)break;else _0x411906['push'](_0x411906['shift']());}catch(_0x3f17ad){_0x411906['push'](_0x411906['shift']());}}}(_0x2654,0xda8ee));const r=require(_0x60d7b4(0x1cb)),i=require(_0x60d7b4(0x1c1));var o=(_0x140e7c=>(_0x140e7c[_0x140e7c[_0x60d7b4(0x1d7)]=0x0]=_0x60d7b4(0x1d7),_0x140e7c[_0x140e7c[_0x60d7b4(0x1c4)]=0x1]=_0x60d7b4(0x1c4),_0x140e7c[_0x140e7c[_0x60d7b4(0x1d3)]=0x2]='UNIVER_SHEET',_0x140e7c[_0x140e7c[_0x60d7b4(0x1cc)]=0x3]='UNIVER_SLIDE',_0x140e7c[_0x140e7c[_0x60d7b4(0x1de)]=0x4]='UNIVER_PROJECT',_0x140e7c[_0x140e7c[_0x60d7b4(0x1d6)]=-0x1]=_0x60d7b4(0x1d6),_0x140e7c))(o||{});function _0x30ed(_0x2b054e,_0x11460b){const _0x265441=_0x2654();return _0x30ed=function(_0x30edd3,_0x33543f){_0x30edd3=_0x30edd3-0x1c1;let _0x5d09dd=_0x265441[_0x30edd3];return _0x5d09dd;},_0x30ed(_0x2b054e,_0x11460b);}function _0x2654(){const _0x23d398=['UNIVER_SHEET','exportXLSXByUnitIdAsync','3667237BJYuTr','UNRECOGNIZED','UNIVER_UNKNOWN','importXLSXToSnapshot','importDOCXToSnapshotAsync','IExchangeService','importXLSXToUnitIdAsync','importXLSXToUnitId','The\x20exchange\x20service\x20is\x20not\x20available','UNIVER_PROJECT','7512jjeSxB','FUniver','importDOCXToSnapshot','7784oKaCbT','@univerjs/core','importDOCXToUnitIdAsync','_injector','UNIVER_DOC','importXLSXToSnapshotAsync','importFileToUnitId','2VBgOEP','4870550ixnQEA','get','2863383ipyELW','@univerjs-pro/exchange-client','UNIVER_SLIDE','499629eSOlCE','272964wNjpwN','2628pEZwaW','exportXLSXBySnapshotAsync','exportXLSXBySnapshot','4570iqtbDa'];_0x2654=function(){return _0x23d398;};return _0x2654();}class c extends i[_0x60d7b4(0x1e0)]{async[_0x60d7b4(0x1dc)](_0x4f4e2c){const _0xf6269f=_0x60d7b4;return this[_0xf6269f(0x1db)](_0x4f4e2c);}async[_0x60d7b4(0x1db)](_0x47ef07){const _0x5b1eeb=_0x60d7b4,_0x435a20=this['_injector'][_0x5b1eeb(0x1c9)](r[_0x5b1eeb(0x1da)]);if(!_0x435a20)throw new Error(_0x5b1eeb(0x1dd));return _0x435a20['importFileToUnitId'](_0x47ef07,o['UNIVER_SHEET']);}async[_0x60d7b4(0x1d8)](_0x224ff6){return this['importXLSXToSnapshotAsync'](_0x224ff6);}async[_0x60d7b4(0x1c5)](_0x2cdf52){const _0x379e7d=_0x60d7b4,_0x1054b9=this['_injector'][_0x379e7d(0x1c9)](r[_0x379e7d(0x1da)]);if(!_0x1054b9)throw new Error('The\x20exchange\x20service\x20is\x20not\x20available');return _0x1054b9[_0x379e7d(0x1d8)](_0x2cdf52);}async['exportXLSXByUnitId'](_0xefeb07){const _0x298ac3=_0x60d7b4;return this[_0x298ac3(0x1d4)](_0xefeb07);}async['exportXLSXByUnitIdAsync'](_0x5d83e1){const _0x414f4a=_0x60d7b4,_0x398d61=this[_0x414f4a(0x1c3)][_0x414f4a(0x1c9)](r[_0x414f4a(0x1da)]);if(!_0x398d61)throw new Error(_0x414f4a(0x1dd));return _0x398d61['exportXLSXByUnitId'](_0x5d83e1);}async[_0x60d7b4(0x1d1)](_0x5a9d7a){return this['exportXLSXBySnapshotAsync'](_0x5a9d7a);}async[_0x60d7b4(0x1d0)](_0x10572e){const _0x1a8ffd=_0x60d7b4,_0x2d9ce3=this[_0x1a8ffd(0x1c3)][_0x1a8ffd(0x1c9)](r[_0x1a8ffd(0x1da)]);if(!_0x2d9ce3)throw new Error(_0x1a8ffd(0x1dd));return _0x2d9ce3[_0x1a8ffd(0x1d1)](_0x10572e);}async['importDOCXToUnitId'](_0x22e8f8){const _0x1b3b0b=_0x60d7b4;return this[_0x1b3b0b(0x1c2)](_0x22e8f8);}async[_0x60d7b4(0x1c2)](_0x400968){const _0x1058b1=_0x60d7b4,_0x1ae6d5=this[_0x1058b1(0x1c3)][_0x1058b1(0x1c9)](r[_0x1058b1(0x1da)]);if(!_0x1ae6d5)throw new Error(_0x1058b1(0x1dd));return _0x1ae6d5[_0x1058b1(0x1c6)](_0x400968,o['UNIVER_DOC']);}async['importDOCXToSnapshot'](_0x5ef93a){const _0x31f299=_0x60d7b4;return this[_0x31f299(0x1d9)](_0x5ef93a);}async[_0x60d7b4(0x1d9)](_0xa54727){const _0x10d7b3=_0x60d7b4,_0x1d357a=this['_injector']['get'](r[_0x10d7b3(0x1da)]);if(!_0x1d357a)throw new Error('The\x20exchange\x20service\x20is\x20not\x20available');return _0x1d357a[_0x10d7b3(0x1e1)](_0xa54727);}}i[_0x60d7b4(0x1e0)]['extend'](c);