@univerjs-pro/exchange-client 0.6.6 → 0.6.7-nightly.202503261607

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/umd/facade.js CHANGED
@@ -1 +1 @@
1
- function _0x9717(_0x178114,_0x3e9cf3){const _0x2593be=_0x2593();return _0x9717=function(_0x97176f,_0x202884){_0x97176f=_0x97176f-0x15a;let _0x576ed4=_0x2593be[_0x97176f];return _0x576ed4;},_0x9717(_0x178114,_0x3e9cf3);}function _0x2593(){const _0x3c8a9e=['10ORstdQ','51PyRqlI','12577635uIleTa','UNIVER_SHEET','@univerjs-pro/exchange-client','UNIVER_PROJECT','UniverProExchangeClient','_injector','importXLSXToUnitId','UNRECOGNIZED','importXLSXToUnitIdAsync','The\x20exchange\x20service\x20is\x20not\x20available','66353EBBGhL','amd','3412584wxSFqp','FUniver','extend','exportXLSXBySnapshot','exportXLSXByUnitIdAsync','get','882729FccWiY','importXLSXToSnapshotAsync','UNIVER_SLIDE','@univerjs/core/facade','function','IExchangeService','importFileToUnitId','importDOCXToUnitIdAsync','importDOCXToSnapshot','148458UQoQQI','exportXLSXBySnapshotAsync','7609776tXCbYG','importXLSXToSnapshot','UNIVER_DOC','5oJIboi','UniverCoreFacade','5374612YDZEkh'];_0x2593=function(){return _0x3c8a9e;};return _0x2593();}(function(_0x1632d4,_0x21fdb7){const _0x194313=_0x9717,_0xdbe3a7=_0x1632d4();while(!![]){try{const _0x5d1929=parseInt(_0x194313(0x16c))/0x1+-parseInt(_0x194313(0x175))/0x2*(parseInt(_0x194313(0x17e))/0x3)+parseInt(_0x194313(0x17c))/0x4*(parseInt(_0x194313(0x17a))/0x5)+-parseInt(_0x194313(0x177))/0x6+parseInt(_0x194313(0x164))/0x7+-parseInt(_0x194313(0x166))/0x8+parseInt(_0x194313(0x15a))/0x9*(parseInt(_0x194313(0x17d))/0xa);if(_0x5d1929===_0x21fdb7)break;else _0xdbe3a7['push'](_0xdbe3a7['shift']());}catch(_0x35eb90){_0xdbe3a7['push'](_0xdbe3a7['shift']());}}}(_0x2593,0xa5306),function(_0x2ee6c7,_0x423584){const _0x130d56=_0x9717;typeof exports=='object'&&typeof module<'u'?_0x423584(require('@univerjs-pro/exchange-client'),require(_0x130d56(0x16f))):typeof define==_0x130d56(0x170)&&define[_0x130d56(0x165)]?define([_0x130d56(0x15c),_0x130d56(0x16f)],_0x423584):(_0x2ee6c7=typeof globalThis<'u'?globalThis:_0x2ee6c7||self,_0x423584(_0x2ee6c7[_0x130d56(0x15e)],_0x2ee6c7[_0x130d56(0x17b)]));}(this,function(_0x552ce6,_0x21ebd7){'use strict';const _0x269e93=_0x9717;var _0x94ec6c=(_0x1f665b=>(_0x1f665b[_0x1f665b['UNIVER_UNKNOWN']=0x0]='UNIVER_UNKNOWN',_0x1f665b[_0x1f665b['UNIVER_DOC']=0x1]='UNIVER_DOC',_0x1f665b[_0x1f665b[_0x269e93(0x15b)]=0x2]=_0x269e93(0x15b),_0x1f665b[_0x1f665b[_0x269e93(0x16e)]=0x3]='UNIVER_SLIDE',_0x1f665b[_0x1f665b['UNIVER_PROJECT']=0x4]=_0x269e93(0x15d),_0x1f665b[_0x1f665b[_0x269e93(0x161)]=-0x1]=_0x269e93(0x161),_0x1f665b))(_0x94ec6c||{});class _0x4a78c9 extends _0x21ebd7[_0x269e93(0x167)]{async[_0x269e93(0x160)](_0x313b20){const _0x4104a3=_0x269e93;return this[_0x4104a3(0x162)](_0x313b20);}async[_0x269e93(0x162)](_0x470a5f){const _0x24fb8e=_0x269e93,_0x251da7=this[_0x24fb8e(0x15f)][_0x24fb8e(0x16b)](_0x552ce6[_0x24fb8e(0x171)]);if(!_0x251da7)throw new Error(_0x24fb8e(0x163));return _0x251da7[_0x24fb8e(0x172)](_0x470a5f,_0x94ec6c[_0x24fb8e(0x15b)]);}async[_0x269e93(0x178)](_0x27a7a8){const _0x96a44a=_0x269e93;return this[_0x96a44a(0x16d)](_0x27a7a8);}async[_0x269e93(0x16d)](_0x775d95){const _0x1febf0=_0x269e93,_0x48aaf6=this[_0x1febf0(0x15f)][_0x1febf0(0x16b)](_0x552ce6[_0x1febf0(0x171)]);if(!_0x48aaf6)throw new Error('The\x20exchange\x20service\x20is\x20not\x20available');return _0x48aaf6[_0x1febf0(0x178)](_0x775d95);}async['exportXLSXByUnitId'](_0xbd983c){const _0x3b0ba4=_0x269e93;return this[_0x3b0ba4(0x16a)](_0xbd983c);}async['exportXLSXByUnitIdAsync'](_0x115b9c){const _0x28220f=_0x269e93,_0x18cbf6=this[_0x28220f(0x15f)][_0x28220f(0x16b)](_0x552ce6[_0x28220f(0x171)]);if(!_0x18cbf6)throw new Error(_0x28220f(0x163));return _0x18cbf6['exportXLSXByUnitId'](_0x115b9c);}async[_0x269e93(0x169)](_0x24c4bf){return this['exportXLSXBySnapshotAsync'](_0x24c4bf);}async[_0x269e93(0x176)](_0x507615){const _0x1b9110=_0x269e93,_0x33a0f1=this['_injector'][_0x1b9110(0x16b)](_0x552ce6['IExchangeService']);if(!_0x33a0f1)throw new Error(_0x1b9110(0x163));return _0x33a0f1[_0x1b9110(0x169)](_0x507615);}async['importDOCXToUnitId'](_0x56c23e){const _0x51cbdb=_0x269e93;return this[_0x51cbdb(0x173)](_0x56c23e);}async[_0x269e93(0x173)](_0x32bd00){const _0x15e854=_0x269e93,_0x150f7f=this['_injector']['get'](_0x552ce6[_0x15e854(0x171)]);if(!_0x150f7f)throw new Error(_0x15e854(0x163));return _0x150f7f['importFileToUnitId'](_0x32bd00,_0x94ec6c[_0x15e854(0x179)]);}async[_0x269e93(0x174)](_0x46ba95){return this['importDOCXToSnapshotAsync'](_0x46ba95);}async['importDOCXToSnapshotAsync'](_0x377f56){const _0x1d2f17=_0x269e93,_0x5aaf87=this[_0x1d2f17(0x15f)][_0x1d2f17(0x16b)](_0x552ce6['IExchangeService']);if(!_0x5aaf87)throw new Error(_0x1d2f17(0x163));return _0x5aaf87['importDOCXToSnapshot'](_0x377f56);}}_0x21ebd7[_0x269e93(0x167)][_0x269e93(0x168)](_0x4a78c9);}));
1
+ function _0x18bd(_0x49d045,_0x330596){const _0x56eef9=_0x56ee();return _0x18bd=function(_0x18bde6,_0x14e7e8){_0x18bde6=_0x18bde6-0x1e8;let _0x272d87=_0x56eef9[_0x18bde6];return _0x272d87;},_0x18bd(_0x49d045,_0x330596);}function _0x56ee(){const _0x3731d6=['importDOCXToSnapshot','importDOCXToUnitIdAsync','extend','1850096rnscBq','exportXLSXByUnitIdAsync','6045090ktzsOI','importFileToUnitId','UniverCoreFacade','importDOCXToSnapshotAsync','exportXLSXBySnapshotAsync','781580veAvTd','function','get','_injector','261aiOGxH','UNIVER_SHEET','@univerjs-pro/exchange-client','UNIVER_SLIDE','18fVcOHE','exportXLSXByUnitId','31084XeYcID','@univerjs/core/facade','importXLSXToUnitId','UNIVER_PROJECT','importXLSXToUnitIdAsync','exportXLSXBySnapshot','FUniver','The\x20exchange\x20service\x20is\x20not\x20available','importXLSXToSnapshotAsync','6195658SiXssQ','4771560qMjhaY','10147936wkOIep','object','UNIVER_UNKNOWN','UniverProExchangeClient','importXLSXToSnapshot','importDOCXToUnitId','IExchangeService','UNIVER_DOC','amd'];_0x56ee=function(){return _0x3731d6;};return _0x56ee();}(function(_0xa689ab,_0x1bb326){const _0x24beb5=_0x18bd,_0x3608f8=_0xa689ab();while(!![]){try{const _0x1b3ebc=-parseInt(_0x24beb5(0x1e8))/0x1+-parseInt(_0x24beb5(0x209))/0x2+parseInt(_0x24beb5(0x1ec))/0x3*(-parseInt(_0x24beb5(0x1f2))/0x4)+-parseInt(_0x24beb5(0x20b))/0x5+parseInt(_0x24beb5(0x1fc))/0x6+parseInt(_0x24beb5(0x1fb))/0x7+parseInt(_0x24beb5(0x1fd))/0x8*(parseInt(_0x24beb5(0x1f0))/0x9);if(_0x1b3ebc===_0x1bb326)break;else _0x3608f8['push'](_0x3608f8['shift']());}catch(_0x4b94cd){_0x3608f8['push'](_0x3608f8['shift']());}}}(_0x56ee,0x98bcf),function(_0x86a568,_0x3e7d87){const _0xbde6d4=_0x18bd;typeof exports==_0xbde6d4(0x1fe)&&typeof module<'u'?_0x3e7d87(require(_0xbde6d4(0x1ee)),require(_0xbde6d4(0x1f3))):typeof define==_0xbde6d4(0x1e9)&&define[_0xbde6d4(0x205)]?define(['@univerjs-pro/exchange-client',_0xbde6d4(0x1f3)],_0x3e7d87):(_0x86a568=typeof globalThis<'u'?globalThis:_0x86a568||self,_0x3e7d87(_0x86a568[_0xbde6d4(0x200)],_0x86a568[_0xbde6d4(0x20d)]));}(this,function(_0x4f053b,_0x4faa79){'use strict';const _0x14db49=_0x18bd;var _0x4ef0a3=(_0x3f77e6=>(_0x3f77e6[_0x3f77e6[_0x14db49(0x1ff)]=0x0]=_0x14db49(0x1ff),_0x3f77e6[_0x3f77e6['UNIVER_DOC']=0x1]=_0x14db49(0x204),_0x3f77e6[_0x3f77e6[_0x14db49(0x1ed)]=0x2]=_0x14db49(0x1ed),_0x3f77e6[_0x3f77e6[_0x14db49(0x1ef)]=0x3]=_0x14db49(0x1ef),_0x3f77e6[_0x3f77e6[_0x14db49(0x1f5)]=0x4]=_0x14db49(0x1f5),_0x3f77e6[_0x3f77e6['UNRECOGNIZED']=-0x1]='UNRECOGNIZED',_0x3f77e6))(_0x4ef0a3||{});class _0x152bd8 extends _0x4faa79['FUniver']{async[_0x14db49(0x1f4)](_0x525fd0){const _0x4b12d7=_0x14db49;return this[_0x4b12d7(0x1f6)](_0x525fd0);}async[_0x14db49(0x1f6)](_0x4b3605){const _0xd8322=_0x14db49,_0x5c27c8=this[_0xd8322(0x1eb)][_0xd8322(0x1ea)](_0x4f053b['IExchangeService']);if(!_0x5c27c8)throw new Error(_0xd8322(0x1f9));return _0x5c27c8[_0xd8322(0x20c)](_0x4b3605,_0x4ef0a3[_0xd8322(0x1ed)]);}async[_0x14db49(0x201)](_0x174d7a){const _0x23af76=_0x14db49;return this[_0x23af76(0x1fa)](_0x174d7a);}async['importXLSXToSnapshotAsync'](_0x2d6c9e){const _0x1c8db9=_0x14db49,_0x494394=this['_injector'][_0x1c8db9(0x1ea)](_0x4f053b[_0x1c8db9(0x203)]);if(!_0x494394)throw new Error('The\x20exchange\x20service\x20is\x20not\x20available');return _0x494394[_0x1c8db9(0x201)](_0x2d6c9e);}async[_0x14db49(0x1f1)](_0xd07503){const _0x873172=_0x14db49;return this[_0x873172(0x20a)](_0xd07503);}async[_0x14db49(0x20a)](_0x4e10ab){const _0x2a8d02=_0x14db49,_0x206376=this[_0x2a8d02(0x1eb)][_0x2a8d02(0x1ea)](_0x4f053b[_0x2a8d02(0x203)]);if(!_0x206376)throw new Error(_0x2a8d02(0x1f9));return _0x206376[_0x2a8d02(0x1f1)](_0x4e10ab);}async[_0x14db49(0x1f7)](_0x234aee){const _0x254251=_0x14db49;return this[_0x254251(0x20f)](_0x234aee);}async[_0x14db49(0x20f)](_0x5acf21){const _0x37b878=_0x14db49,_0x20d3ec=this[_0x37b878(0x1eb)][_0x37b878(0x1ea)](_0x4f053b[_0x37b878(0x203)]);if(!_0x20d3ec)throw new Error(_0x37b878(0x1f9));return _0x20d3ec[_0x37b878(0x1f7)](_0x5acf21);}async[_0x14db49(0x202)](_0x4da9a3){const _0x1c472a=_0x14db49;return this[_0x1c472a(0x207)](_0x4da9a3);}async['importDOCXToUnitIdAsync'](_0x153435){const _0x517291=_0x14db49,_0x30970b=this[_0x517291(0x1eb)][_0x517291(0x1ea)](_0x4f053b[_0x517291(0x203)]);if(!_0x30970b)throw new Error(_0x517291(0x1f9));return _0x30970b[_0x517291(0x20c)](_0x153435,_0x4ef0a3['UNIVER_DOC']);}async[_0x14db49(0x206)](_0x23eaaa){return this['importDOCXToSnapshotAsync'](_0x23eaaa);}async[_0x14db49(0x20e)](_0x10bff7){const _0x1f9467=_0x14db49,_0x31a027=this['_injector']['get'](_0x4f053b[_0x1f9467(0x203)]);if(!_0x31a027)throw new Error(_0x1f9467(0x1f9));return _0x31a027[_0x1f9467(0x206)](_0x10bff7);}}_0x4faa79[_0x14db49(0x1f8)][_0x14db49(0x208)](_0x152bd8);}));