@univerjs-pro/exchange-client 0.6.6 → 0.6.7-experimental.20250328-3aaa828

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(_0x33104b,_0x49c39b){const _0x23648b=_0x4813,_0xfd1c5f=_0x33104b();while(!![]){try{const _0x2f6466=-parseInt(_0x23648b(0x1c1))/0x1+parseInt(_0x23648b(0x1c9))/0x2+parseInt(_0x23648b(0x1c8))/0x3*(parseInt(_0x23648b(0x1bb))/0x4)+parseInt(_0x23648b(0x1be))/0x5+parseInt(_0x23648b(0x1c7))/0x6*(-parseInt(_0x23648b(0x1cf))/0x7)+parseInt(_0x23648b(0x1d7))/0x8*(parseInt(_0x23648b(0x1ba))/0x9)+-parseInt(_0x23648b(0x1d4))/0xa;if(_0x2f6466===_0x49c39b)break;else _0xfd1c5f['push'](_0xfd1c5f['shift']());}catch(_0x46eb40){_0xfd1c5f['push'](_0xfd1c5f['shift']());}}}(_0xb5a7,0xe145f),function(_0x264e3e,_0x14443a){const _0x11db66=_0x4813;typeof exports==_0x11db66(0x1d3)&&typeof module<'u'?_0x14443a(require('@univerjs-pro/exchange-client'),require(_0x11db66(0x1ce))):typeof define==_0x11db66(0x1d1)&&define['amd']?define(['@univerjs-pro/exchange-client',_0x11db66(0x1ce)],_0x14443a):(_0x264e3e=typeof globalThis<'u'?globalThis:_0x264e3e||self,_0x14443a(_0x264e3e[_0x11db66(0x1c5)],_0x264e3e[_0x11db66(0x1bc)]));}(this,function(_0x35f8db,_0x275de9){'use strict';const _0x190fc0=_0x4813;var _0x2a7295=(_0x547200=>(_0x547200[_0x547200[_0x190fc0(0x1ca)]=0x0]='UNIVER_UNKNOWN',_0x547200[_0x547200[_0x190fc0(0x1bf)]=0x1]=_0x190fc0(0x1bf),_0x547200[_0x547200[_0x190fc0(0x1b7)]=0x2]=_0x190fc0(0x1b7),_0x547200[_0x547200[_0x190fc0(0x1cb)]=0x3]=_0x190fc0(0x1cb),_0x547200[_0x547200[_0x190fc0(0x1b9)]=0x4]=_0x190fc0(0x1b9),_0x547200[_0x547200[_0x190fc0(0x1dd)]=-0x1]=_0x190fc0(0x1dd),_0x547200))(_0x2a7295||{});class _0x527e3d extends _0x275de9[_0x190fc0(0x1de)]{async[_0x190fc0(0x1c3)](_0x4c44c4){const _0x221043=_0x190fc0;return this[_0x221043(0x1d8)](_0x4c44c4);}async[_0x190fc0(0x1d8)](_0xb2ff36){const _0x12fd76=_0x190fc0,_0x51838e=this['_injector'][_0x12fd76(0x1d2)](_0x35f8db[_0x12fd76(0x1d5)]);if(!_0x51838e)throw new Error(_0x12fd76(0x1da));return _0x51838e[_0x12fd76(0x1cc)](_0xb2ff36,_0x2a7295[_0x12fd76(0x1b7)]);}async['importXLSXToSnapshot'](_0x1e410a){const _0x61218e=_0x190fc0;return this[_0x61218e(0x1c6)](_0x1e410a);}async[_0x190fc0(0x1c6)](_0x3e2122){const _0x3ff858=_0x190fc0,_0x1f8666=this[_0x3ff858(0x1c0)][_0x3ff858(0x1d2)](_0x35f8db['IExchangeService']);if(!_0x1f8666)throw new Error('The\x20exchange\x20service\x20is\x20not\x20available');return _0x1f8666[_0x3ff858(0x1c4)](_0x3e2122);}async[_0x190fc0(0x1d9)](_0x1010d7){const _0x4d12da=_0x190fc0;return this[_0x4d12da(0x1c2)](_0x1010d7);}async[_0x190fc0(0x1c2)](_0x4aabe7){const _0xbf21a=_0x190fc0,_0x5d8dd8=this[_0xbf21a(0x1c0)]['get'](_0x35f8db[_0xbf21a(0x1d5)]);if(!_0x5d8dd8)throw new Error(_0xbf21a(0x1da));return _0x5d8dd8[_0xbf21a(0x1d9)](_0x4aabe7);}async[_0x190fc0(0x1bd)](_0x26e86a){const _0x58254d=_0x190fc0;return this[_0x58254d(0x1db)](_0x26e86a);}async[_0x190fc0(0x1db)](_0x935e1c){const _0x29e9bc=_0x190fc0,_0x1c9645=this[_0x29e9bc(0x1c0)][_0x29e9bc(0x1d2)](_0x35f8db[_0x29e9bc(0x1d5)]);if(!_0x1c9645)throw new Error(_0x29e9bc(0x1da));return _0x1c9645[_0x29e9bc(0x1bd)](_0x935e1c);}async[_0x190fc0(0x1dc)](_0x5efae9){const _0x2ac0b7=_0x190fc0;return this[_0x2ac0b7(0x1d6)](_0x5efae9);}async[_0x190fc0(0x1d6)](_0x4d80fc){const _0x316d51=_0x190fc0,_0x1d9ea2=this[_0x316d51(0x1c0)][_0x316d51(0x1d2)](_0x35f8db[_0x316d51(0x1d5)]);if(!_0x1d9ea2)throw new Error(_0x316d51(0x1da));return _0x1d9ea2[_0x316d51(0x1cc)](_0x4d80fc,_0x2a7295[_0x316d51(0x1bf)]);}async[_0x190fc0(0x1d0)](_0x5398e0){return this['importDOCXToSnapshotAsync'](_0x5398e0);}async[_0x190fc0(0x1b8)](_0x14184a){const _0x7b0cf8=_0x190fc0,_0x4acf13=this[_0x7b0cf8(0x1c0)][_0x7b0cf8(0x1d2)](_0x35f8db[_0x7b0cf8(0x1d5)]);if(!_0x4acf13)throw new Error(_0x7b0cf8(0x1da));return _0x4acf13[_0x7b0cf8(0x1d0)](_0x14184a);}}_0x275de9[_0x190fc0(0x1de)][_0x190fc0(0x1cd)](_0x527e3d);}));function _0x4813(_0x3c88ce,_0x1723d7){const _0xb5a793=_0xb5a7();return _0x4813=function(_0x4813d0,_0x30fec4){_0x4813d0=_0x4813d0-0x1b7;let _0x399915=_0xb5a793[_0x4813d0];return _0x399915;},_0x4813(_0x3c88ce,_0x1723d7);}function _0xb5a7(){const _0x16a8a6=['importDOCXToSnapshotAsync','UNIVER_PROJECT','18VISweG','5678180WfJVbj','UniverCoreFacade','exportXLSXBySnapshot','5453595GOUZMB','UNIVER_DOC','_injector','30352tiDSIS','exportXLSXByUnitIdAsync','importXLSXToUnitId','importXLSXToSnapshot','UniverProExchangeClient','importXLSXToSnapshotAsync','460230OYqYBz','3DcAbce','192746ZVvYna','UNIVER_UNKNOWN','UNIVER_SLIDE','importFileToUnitId','extend','@univerjs/core/facade','112PYUSRW','importDOCXToSnapshot','function','get','object','18728180Oykyip','IExchangeService','importDOCXToUnitIdAsync','5786128cOFuEV','importXLSXToUnitIdAsync','exportXLSXByUnitId','The\x20exchange\x20service\x20is\x20not\x20available','exportXLSXBySnapshotAsync','importDOCXToUnitId','UNRECOGNIZED','FUniver','UNIVER_SHEET'];_0xb5a7=function(){return _0x16a8a6;};return _0xb5a7();}