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

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 _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);
1
+ 'use strict';function _0x4c76(_0x52e0cf,_0x1bb778){const _0x2c8dac=_0x2c8d();return _0x4c76=function(_0x4c7675,_0x2e50f8){_0x4c7675=_0x4c7675-0x162;let _0xe399a6=_0x2c8dac[_0x4c7675];return _0xe399a6;},_0x4c76(_0x52e0cf,_0x1bb778);}const _0x5b57ec=_0x4c76;function _0x2c8d(){const _0x303530=['importDOCXToUnitIdAsync','45024CofiHX','4715JUQxRN','exportXLSXBySnapshot','importXLSXToSnapshot','exportXLSXBySnapshotAsync','exportXLSXByUnitIdAsync','importXLSXToSnapshotAsync','UNIVER_SLIDE','importFileToUnitId','837484ubRfpM','8wCZaPa','UNRECOGNIZED','IExchangeService','The\x20exchange\x20service\x20is\x20not\x20available','_injector','@univerjs-pro/exchange-client','56REcqQn','UNIVER_UNKNOWN','10842sGKpDq','UNIVER_DOC','importDOCXToSnapshot','3119380LtliMV','importXLSXToUnitIdAsync','get','60UomkMz','3937801KMWBlT','FUniver','importXLSXToUnitId','UNIVER_SHEET','@univerjs/core','45cEeDdy','7324440vjDalQ','importDOCXToSnapshotAsync','extend','3162423ehyrRV'];_0x2c8d=function(){return _0x303530;};return _0x2c8d();}(function(_0x5ec9e8,_0x29dd7d){const _0x205000=_0x4c76,_0x19345f=_0x5ec9e8();while(!![]){try{const _0x29964e=parseInt(_0x205000(0x16e))/0x1+-parseInt(_0x205000(0x175))/0x2*(-parseInt(_0x205000(0x165))/0x3)+parseInt(_0x205000(0x184))/0x4+parseInt(_0x205000(0x166))/0x5*(-parseInt(_0x205000(0x177))/0x6)+parseInt(_0x205000(0x17e))/0x7*(-parseInt(_0x205000(0x16f))/0x8)+-parseInt(_0x205000(0x183))/0x9*(-parseInt(_0x205000(0x17a))/0xa)+-parseInt(_0x205000(0x163))/0xb*(parseInt(_0x205000(0x17d))/0xc);if(_0x29964e===_0x29dd7d)break;else _0x19345f['push'](_0x19345f['shift']());}catch(_0x50b7e8){_0x19345f['push'](_0x19345f['shift']());}}}(_0x2c8d,0xe6973));const r=require(_0x5b57ec(0x174)),i=require(_0x5b57ec(0x182));var o=(_0x46859f=>(_0x46859f[_0x46859f[_0x5b57ec(0x176)]=0x0]='UNIVER_UNKNOWN',_0x46859f[_0x46859f[_0x5b57ec(0x178)]=0x1]=_0x5b57ec(0x178),_0x46859f[_0x46859f[_0x5b57ec(0x181)]=0x2]=_0x5b57ec(0x181),_0x46859f[_0x46859f['UNIVER_SLIDE']=0x3]=_0x5b57ec(0x16c),_0x46859f[_0x46859f['UNIVER_PROJECT']=0x4]='UNIVER_PROJECT',_0x46859f[_0x46859f[_0x5b57ec(0x170)]=-0x1]=_0x5b57ec(0x170),_0x46859f))(o||{});class c extends i[_0x5b57ec(0x17f)]{async[_0x5b57ec(0x180)](_0x4cc87b){const _0xbf0d73=_0x5b57ec;return this[_0xbf0d73(0x17b)](_0x4cc87b);}async[_0x5b57ec(0x17b)](_0x2ee6ba){const _0x1d6c0d=_0x5b57ec,_0x5636d9=this[_0x1d6c0d(0x173)]['get'](r[_0x1d6c0d(0x171)]);if(!_0x5636d9)throw new Error(_0x1d6c0d(0x172));return _0x5636d9[_0x1d6c0d(0x16d)](_0x2ee6ba,o[_0x1d6c0d(0x181)]);}async[_0x5b57ec(0x168)](_0x1a966e){const _0x1990d9=_0x5b57ec;return this[_0x1990d9(0x16b)](_0x1a966e);}async[_0x5b57ec(0x16b)](_0x440742){const _0x473572=_0x5b57ec,_0x22bc43=this['_injector'][_0x473572(0x17c)](r[_0x473572(0x171)]);if(!_0x22bc43)throw new Error(_0x473572(0x172));return _0x22bc43[_0x473572(0x168)](_0x440742);}async['exportXLSXByUnitId'](_0x4b281c){const _0x36838b=_0x5b57ec;return this[_0x36838b(0x16a)](_0x4b281c);}async[_0x5b57ec(0x16a)](_0x2db883){const _0x1075a2=_0x5b57ec,_0x67f9d5=this[_0x1075a2(0x173)][_0x1075a2(0x17c)](r[_0x1075a2(0x171)]);if(!_0x67f9d5)throw new Error('The\x20exchange\x20service\x20is\x20not\x20available');return _0x67f9d5['exportXLSXByUnitId'](_0x2db883);}async[_0x5b57ec(0x167)](_0x3cfdc2){const _0x4b8a13=_0x5b57ec;return this[_0x4b8a13(0x169)](_0x3cfdc2);}async[_0x5b57ec(0x169)](_0x2f67e2){const _0x53217d=_0x5b57ec,_0x15ad63=this['_injector'][_0x53217d(0x17c)](r[_0x53217d(0x171)]);if(!_0x15ad63)throw new Error(_0x53217d(0x172));return _0x15ad63['exportXLSXBySnapshot'](_0x2f67e2);}async['importDOCXToUnitId'](_0x333b18){const _0x95e35=_0x5b57ec;return this[_0x95e35(0x164)](_0x333b18);}async[_0x5b57ec(0x164)](_0x410780){const _0x423a1c=_0x5b57ec,_0x5a0849=this[_0x423a1c(0x173)]['get'](r[_0x423a1c(0x171)]);if(!_0x5a0849)throw new Error('The\x20exchange\x20service\x20is\x20not\x20available');return _0x5a0849[_0x423a1c(0x16d)](_0x410780,o[_0x423a1c(0x178)]);}async['importDOCXToSnapshot'](_0x4b64da){const _0x2a72e0=_0x5b57ec;return this[_0x2a72e0(0x185)](_0x4b64da);}async['importDOCXToSnapshotAsync'](_0x3daa88){const _0x21ddb2=_0x5b57ec,_0x406bfc=this['_injector']['get'](r['IExchangeService']);if(!_0x406bfc)throw new Error(_0x21ddb2(0x172));return _0x406bfc[_0x21ddb2(0x179)](_0x3daa88);}}i[_0x5b57ec(0x17f)][_0x5b57ec(0x162)](c);