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

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';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);
1
+ 'use strict';const _0x3cf502=_0x1af8;(function(_0x2aa232,_0x152f75){const _0xa8d031=_0x1af8,_0xbf9903=_0x2aa232();while(!![]){try{const _0x344db1=-parseInt(_0xa8d031(0x79))/0x1+parseInt(_0xa8d031(0x75))/0x2+parseInt(_0xa8d031(0x87))/0x3+-parseInt(_0xa8d031(0x7d))/0x4+parseInt(_0xa8d031(0x7f))/0x5*(-parseInt(_0xa8d031(0x7b))/0x6)+parseInt(_0xa8d031(0x80))/0x7*(-parseInt(_0xa8d031(0x76))/0x8)+parseInt(_0xa8d031(0x7e))/0x9*(parseInt(_0xa8d031(0x74))/0xa);if(_0x344db1===_0x152f75)break;else _0xbf9903['push'](_0xbf9903['shift']());}catch(_0x5b8151){_0xbf9903['push'](_0xbf9903['shift']());}}}(_0x4d27,0x8a4ba));const r=require(_0x3cf502(0x72)),i=require(_0x3cf502(0x88));var o=(_0x48db85=>(_0x48db85[_0x48db85['UNIVER_UNKNOWN']=0x0]=_0x3cf502(0x8a),_0x48db85[_0x48db85['UNIVER_DOC']=0x1]='UNIVER_DOC',_0x48db85[_0x48db85['UNIVER_SHEET']=0x2]=_0x3cf502(0x8e),_0x48db85[_0x48db85[_0x3cf502(0x92)]=0x3]='UNIVER_SLIDE',_0x48db85[_0x48db85[_0x3cf502(0x83)]=0x4]=_0x3cf502(0x83),_0x48db85[_0x48db85[_0x3cf502(0x71)]=-0x1]=_0x3cf502(0x71),_0x48db85))(o||{});function _0x1af8(_0x369b01,_0x404595){const _0x4d278a=_0x4d27();return _0x1af8=function(_0x1af8f2,_0x34b645){_0x1af8f2=_0x1af8f2-0x70;let _0x4f5121=_0x4d278a[_0x1af8f2];return _0x4f5121;},_0x1af8(_0x369b01,_0x404595);}function _0x4d27(){const _0xa07470=['importFileToUnitId','8197810zcMFEP','954244MWGfTs','80FIvdyj','importDOCXToSnapshotAsync','exportXLSXBySnapshot','1048695apswDN','UNIVER_DOC','42aDmWSo','exportXLSXByUnitIdAsync','724152ntujjo','18JsXIRr','521660UkCOco','457240aqJitJ','importXLSXToUnitIdAsync','importXLSXToSnapshotAsync','UNIVER_PROJECT','importDOCXToSnapshot','IExchangeService','importXLSXToSnapshot','3189093aDJBmK','@univerjs/core/facade','importDOCXToUnitId','UNIVER_UNKNOWN','exportXLSXBySnapshotAsync','extend','get','UNIVER_SHEET','importDOCXToUnitIdAsync','_injector','exportXLSXByUnitId','UNIVER_SLIDE','FUniver','The\x20exchange\x20service\x20is\x20not\x20available','UNRECOGNIZED','@univerjs-pro/exchange-client'];_0x4d27=function(){return _0xa07470;};return _0x4d27();}class c extends i[_0x3cf502(0x93)]{async['importXLSXToUnitId'](_0x269e5a){const _0x1fa630=_0x3cf502;return this[_0x1fa630(0x81)](_0x269e5a);}async[_0x3cf502(0x81)](_0x21a9c1){const _0x50cdb1=_0x3cf502,_0x12f6bd=this[_0x50cdb1(0x90)]['get'](r['IExchangeService']);if(!_0x12f6bd)throw new Error(_0x50cdb1(0x70));return _0x12f6bd[_0x50cdb1(0x73)](_0x21a9c1,o[_0x50cdb1(0x8e)]);}async[_0x3cf502(0x86)](_0x14a077){const _0x552b6a=_0x3cf502;return this[_0x552b6a(0x82)](_0x14a077);}async['importXLSXToSnapshotAsync'](_0x90580c){const _0x3bba8a=_0x3cf502,_0x31da32=this[_0x3bba8a(0x90)][_0x3bba8a(0x8d)](r['IExchangeService']);if(!_0x31da32)throw new Error('The\x20exchange\x20service\x20is\x20not\x20available');return _0x31da32[_0x3bba8a(0x86)](_0x90580c);}async[_0x3cf502(0x91)](_0x28f912){const _0x39e090=_0x3cf502;return this[_0x39e090(0x7c)](_0x28f912);}async['exportXLSXByUnitIdAsync'](_0x235232){const _0x4ddc6e=_0x3cf502,_0x5c07d1=this[_0x4ddc6e(0x90)][_0x4ddc6e(0x8d)](r[_0x4ddc6e(0x85)]);if(!_0x5c07d1)throw new Error(_0x4ddc6e(0x70));return _0x5c07d1['exportXLSXByUnitId'](_0x235232);}async[_0x3cf502(0x78)](_0x44cd66){const _0x1e0230=_0x3cf502;return this[_0x1e0230(0x8b)](_0x44cd66);}async[_0x3cf502(0x8b)](_0x1bb7cf){const _0x2c3088=_0x3cf502,_0x392789=this[_0x2c3088(0x90)]['get'](r['IExchangeService']);if(!_0x392789)throw new Error('The\x20exchange\x20service\x20is\x20not\x20available');return _0x392789['exportXLSXBySnapshot'](_0x1bb7cf);}async[_0x3cf502(0x89)](_0x34ce84){return this['importDOCXToUnitIdAsync'](_0x34ce84);}async[_0x3cf502(0x8f)](_0x22b3c9){const _0x2fcadc=_0x3cf502,_0x78eaa9=this[_0x2fcadc(0x90)][_0x2fcadc(0x8d)](r['IExchangeService']);if(!_0x78eaa9)throw new Error(_0x2fcadc(0x70));return _0x78eaa9[_0x2fcadc(0x73)](_0x22b3c9,o[_0x2fcadc(0x7a)]);}async[_0x3cf502(0x84)](_0xd1e8fc){return this['importDOCXToSnapshotAsync'](_0xd1e8fc);}async[_0x3cf502(0x77)](_0x36a879){const _0x10a8aa=_0x3cf502,_0xf92080=this[_0x10a8aa(0x90)][_0x10a8aa(0x8d)](r['IExchangeService']);if(!_0xf92080)throw new Error('The\x20exchange\x20service\x20is\x20not\x20available');return _0xf92080[_0x10a8aa(0x84)](_0x36a879);}}i[_0x3cf502(0x93)][_0x3cf502(0x8c)](c);