@univerjs-pro/exchange-client 0.6.10-nightly.202504111607 → 0.6.10-nightly.202504121606

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 _0x577e86=_0x105b;(function(_0xdea353,_0x3be2ac){const _0x2826c8=_0x105b,_0x37f8b0=_0xdea353();while(!![]){try{const _0x2f6b88=-parseInt(_0x2826c8(0x133))/0x1+-parseInt(_0x2826c8(0x12e))/0x2*(parseInt(_0x2826c8(0x12a))/0x3)+parseInt(_0x2826c8(0x11f))/0x4*(-parseInt(_0x2826c8(0x123))/0x5)+-parseInt(_0x2826c8(0x118))/0x6*(parseInt(_0x2826c8(0x11c))/0x7)+-parseInt(_0x2826c8(0x12b))/0x8+parseInt(_0x2826c8(0x125))/0x9*(-parseInt(_0x2826c8(0x11a))/0xa)+parseInt(_0x2826c8(0x130))/0xb;if(_0x2f6b88===_0x3be2ac)break;else _0x37f8b0['push'](_0x37f8b0['shift']());}catch(_0x501583){_0x37f8b0['push'](_0x37f8b0['shift']());}}}(_0x58f7,0x23137));const r=require('@univerjs-pro/exchange-client'),i=require(_0x577e86(0x128));function _0x58f7(){const _0x372a95=['UNIVER_DOC','UNIVER_SLIDE','6ChMZTe','UNIVER_PROJECT','10665501NcUdJm','FUniver','exportXLSXBySnapshotAsync','90453PUWxYV','UNRECOGNIZED','exportXLSXBySnapshot','IExchangeService','importFileToUnitId','extend','importXLSXToSnapshotAsync','importXLSXToUnitId','importXLSXToSnapshot','_injector','762bpMsOe','The\x20exchange\x20service\x20is\x20not\x20available','4490XIbLEg','importDOCXToUnitIdAsync','3787tYrRlt','importDOCXToUnitId','importDOCXToSnapshot','1137280joHxXk','exportXLSXByUnitId','importXLSXToUnitIdAsync','get','5DvTPTJ','exportXLSXByUnitIdAsync','2151ptyuas','UNIVER_UNKNOWN','UNIVER_SHEET','@univerjs/core/facade','importDOCXToSnapshotAsync','206277pWyQuE','550816VpzMJm'];_0x58f7=function(){return _0x372a95;};return _0x58f7();}var o=(_0x4f3b5d=>(_0x4f3b5d[_0x4f3b5d['UNIVER_UNKNOWN']=0x0]=_0x577e86(0x126),_0x4f3b5d[_0x4f3b5d['UNIVER_DOC']=0x1]=_0x577e86(0x12c),_0x4f3b5d[_0x4f3b5d[_0x577e86(0x127)]=0x2]=_0x577e86(0x127),_0x4f3b5d[_0x4f3b5d[_0x577e86(0x12d)]=0x3]=_0x577e86(0x12d),_0x4f3b5d[_0x4f3b5d[_0x577e86(0x12f)]=0x4]='UNIVER_PROJECT',_0x4f3b5d[_0x4f3b5d[_0x577e86(0x134)]=-0x1]=_0x577e86(0x134),_0x4f3b5d))(o||{});function _0x105b(_0x2b5d65,_0x8eb4b9){const _0x58f747=_0x58f7();return _0x105b=function(_0x105bf9,_0x29e5b7){_0x105bf9=_0x105bf9-0x110;let _0x213047=_0x58f747[_0x105bf9];return _0x213047;},_0x105b(_0x2b5d65,_0x8eb4b9);}class c extends i[_0x577e86(0x131)]{async[_0x577e86(0x115)](_0x3b5c7b){const _0x11c811=_0x577e86;return this[_0x11c811(0x121)](_0x3b5c7b);}async[_0x577e86(0x121)](_0x1f5da3){const _0x339046=_0x577e86,_0x123cfa=this[_0x339046(0x117)][_0x339046(0x122)](r['IExchangeService']);if(!_0x123cfa)throw new Error('The\x20exchange\x20service\x20is\x20not\x20available');return _0x123cfa[_0x339046(0x112)](_0x1f5da3,o[_0x339046(0x127)]);}async[_0x577e86(0x116)](_0x562907){return this['importXLSXToSnapshotAsync'](_0x562907);}async[_0x577e86(0x114)](_0x432996){const _0x8a597b=_0x577e86,_0x3e3418=this['_injector'][_0x8a597b(0x122)](r[_0x8a597b(0x111)]);if(!_0x3e3418)throw new Error('The\x20exchange\x20service\x20is\x20not\x20available');return _0x3e3418[_0x8a597b(0x116)](_0x432996);}async[_0x577e86(0x120)](_0x4a499f){const _0xba6e2f=_0x577e86;return this[_0xba6e2f(0x124)](_0x4a499f);}async[_0x577e86(0x124)](_0x7bdeb2){const _0x6aabbe=_0x577e86,_0x504de8=this[_0x6aabbe(0x117)][_0x6aabbe(0x122)](r[_0x6aabbe(0x111)]);if(!_0x504de8)throw new Error(_0x6aabbe(0x119));return _0x504de8[_0x6aabbe(0x120)](_0x7bdeb2);}async[_0x577e86(0x110)](_0x8dc8ab){const _0x2b041d=_0x577e86;return this[_0x2b041d(0x132)](_0x8dc8ab);}async[_0x577e86(0x132)](_0x121a29){const _0x46ea65=_0x577e86,_0x4fa4d0=this[_0x46ea65(0x117)][_0x46ea65(0x122)](r[_0x46ea65(0x111)]);if(!_0x4fa4d0)throw new Error(_0x46ea65(0x119));return _0x4fa4d0['exportXLSXBySnapshot'](_0x121a29);}async[_0x577e86(0x11d)](_0x24b948){const _0xae338b=_0x577e86;return this[_0xae338b(0x11b)](_0x24b948);}async['importDOCXToUnitIdAsync'](_0x350a5d){const _0x1c451c=_0x577e86,_0x4ccb25=this[_0x1c451c(0x117)]['get'](r[_0x1c451c(0x111)]);if(!_0x4ccb25)throw new Error(_0x1c451c(0x119));return _0x4ccb25[_0x1c451c(0x112)](_0x350a5d,o['UNIVER_DOC']);}async['importDOCXToSnapshot'](_0x11f6c8){return this['importDOCXToSnapshotAsync'](_0x11f6c8);}async[_0x577e86(0x129)](_0x3eba8f){const _0x330794=_0x577e86,_0x2fc628=this[_0x330794(0x117)][_0x330794(0x122)](r[_0x330794(0x111)]);if(!_0x2fc628)throw new Error(_0x330794(0x119));return _0x2fc628[_0x330794(0x11e)](_0x3eba8f);}}i['FUniver'][_0x577e86(0x113)](c);
1
+ 'use strict';function _0x2560(_0x448c11,_0x59fae5){const _0xb2de61=_0xb2de();return _0x2560=function(_0x256065,_0x5cf811){_0x256065=_0x256065-0x1ea;let _0x23df85=_0xb2de61[_0x256065];return _0x23df85;},_0x2560(_0x448c11,_0x59fae5);}const _0x47db7=_0x2560;(function(_0x1fa4ad,_0x864570){const _0x178f2f=_0x2560,_0xe1dc19=_0x1fa4ad();while(!![]){try{const _0x26041f=parseInt(_0x178f2f(0x208))/0x1*(parseInt(_0x178f2f(0x201))/0x2)+parseInt(_0x178f2f(0x1f3))/0x3+-parseInt(_0x178f2f(0x1ec))/0x4+parseInt(_0x178f2f(0x209))/0x5+parseInt(_0x178f2f(0x1fa))/0x6+parseInt(_0x178f2f(0x205))/0x7+-parseInt(_0x178f2f(0x203))/0x8;if(_0x26041f===_0x864570)break;else _0xe1dc19['push'](_0xe1dc19['shift']());}catch(_0x12089d){_0xe1dc19['push'](_0xe1dc19['shift']());}}}(_0xb2de,0x4d37b));const r=require('@univerjs-pro/exchange-client'),i=require(_0x47db7(0x1ed));function _0xb2de(){const _0x12d779=['importXLSXToUnitId','importFileToUnitId','226OfnHEh','UNIVER_SHEET','9859016eLTgvq','importDOCXToSnapshotAsync','1288210IouViR','importDOCXToSnapshot','UNIVER_SLIDE','2283rTETzh','2874835wCPYlN','UNIVER_PROJECT','get','importDOCXToUnitId','1235608ifCVSl','@univerjs/core/facade','importXLSXToSnapshotAsync','extend','UNIVER_UNKNOWN','importXLSXToSnapshot','exportXLSXByUnitIdAsync','1590615wlTGqR','IExchangeService','exportXLSXByUnitId','The\x20exchange\x20service\x20is\x20not\x20available','exportXLSXBySnapshot','importDOCXToUnitIdAsync','exportXLSXBySnapshotAsync','1862286mQznJn','UNIVER_DOC','FUniver','_injector','UNRECOGNIZED'];_0xb2de=function(){return _0x12d779;};return _0xb2de();}var o=(_0x146487=>(_0x146487[_0x146487[_0x47db7(0x1f0)]=0x0]=_0x47db7(0x1f0),_0x146487[_0x146487[_0x47db7(0x1fb)]=0x1]='UNIVER_DOC',_0x146487[_0x146487[_0x47db7(0x202)]=0x2]='UNIVER_SHEET',_0x146487[_0x146487[_0x47db7(0x207)]=0x3]=_0x47db7(0x207),_0x146487[_0x146487[_0x47db7(0x20a)]=0x4]=_0x47db7(0x20a),_0x146487[_0x146487['UNRECOGNIZED']=-0x1]=_0x47db7(0x1fe),_0x146487))(o||{});class c extends i['FUniver']{async[_0x47db7(0x1ff)](_0x84f282){return this['importXLSXToUnitIdAsync'](_0x84f282);}async['importXLSXToUnitIdAsync'](_0x4e3ee0){const _0x3a1d3f=_0x47db7,_0x2d16e9=this[_0x3a1d3f(0x1fd)][_0x3a1d3f(0x1ea)](r[_0x3a1d3f(0x1f4)]);if(!_0x2d16e9)throw new Error(_0x3a1d3f(0x1f6));return _0x2d16e9[_0x3a1d3f(0x200)](_0x4e3ee0,o[_0x3a1d3f(0x202)]);}async[_0x47db7(0x1f1)](_0x3ab317){const _0x10d70d=_0x47db7;return this[_0x10d70d(0x1ee)](_0x3ab317);}async[_0x47db7(0x1ee)](_0x5a4eb0){const _0x1cdd49=_0x47db7,_0x2bd511=this[_0x1cdd49(0x1fd)]['get'](r[_0x1cdd49(0x1f4)]);if(!_0x2bd511)throw new Error(_0x1cdd49(0x1f6));return _0x2bd511[_0x1cdd49(0x1f1)](_0x5a4eb0);}async[_0x47db7(0x1f5)](_0x542691){return this['exportXLSXByUnitIdAsync'](_0x542691);}async[_0x47db7(0x1f2)](_0x2c5734){const _0x1671dd=_0x47db7,_0xf9f19=this['_injector'][_0x1671dd(0x1ea)](r[_0x1671dd(0x1f4)]);if(!_0xf9f19)throw new Error('The\x20exchange\x20service\x20is\x20not\x20available');return _0xf9f19[_0x1671dd(0x1f5)](_0x2c5734);}async[_0x47db7(0x1f7)](_0x1b7178){const _0x5e58fc=_0x47db7;return this[_0x5e58fc(0x1f9)](_0x1b7178);}async['exportXLSXBySnapshotAsync'](_0x35bbc2){const _0x631a57=_0x47db7,_0x1cc819=this[_0x631a57(0x1fd)]['get'](r[_0x631a57(0x1f4)]);if(!_0x1cc819)throw new Error(_0x631a57(0x1f6));return _0x1cc819[_0x631a57(0x1f7)](_0x35bbc2);}async[_0x47db7(0x1eb)](_0x3a0f23){return this['importDOCXToUnitIdAsync'](_0x3a0f23);}async[_0x47db7(0x1f8)](_0x54d130){const _0x10cb7c=_0x47db7,_0x3a706b=this[_0x10cb7c(0x1fd)][_0x10cb7c(0x1ea)](r[_0x10cb7c(0x1f4)]);if(!_0x3a706b)throw new Error(_0x10cb7c(0x1f6));return _0x3a706b[_0x10cb7c(0x200)](_0x54d130,o[_0x10cb7c(0x1fb)]);}async[_0x47db7(0x206)](_0x398d47){const _0x5551e2=_0x47db7;return this[_0x5551e2(0x204)](_0x398d47);}async[_0x47db7(0x204)](_0x37dc11){const _0x24dec0=_0x47db7,_0x363a53=this[_0x24dec0(0x1fd)][_0x24dec0(0x1ea)](r[_0x24dec0(0x1f4)]);if(!_0x363a53)throw new Error(_0x24dec0(0x1f6));return _0x363a53['importDOCXToSnapshot'](_0x37dc11);}}i[_0x47db7(0x1fc)][_0x47db7(0x1ef)](c);