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

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 _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);
1
+ 'use strict';const _0x412fa6=_0x3fbe;function _0x1dd2(){const _0x2a9888=['UNIVER_PROJECT','753WulLTw','35908ofesjL','8212MsjJNi','5328312YMWQYL','The\x20exchange\x20service\x20is\x20not\x20available','UNRECOGNIZED','235BcBdBv','get','exportXLSXByUnitId','UNIVER_DOC','71806JRvrZo','extend','@univerjs/core/facade','@univerjs-pro/exchange-client','UNIVER_SHEET','importDOCXToUnitIdAsync','234XVjcDe','importDOCXToSnapshotAsync','1618uwwpcr','exportXLSXBySnapshot','18KtTMEx','UNIVER_UNKNOWN','importFileToUnitId','UNIVER_SLIDE','exportXLSXByUnitIdAsync','importXLSXToUnitIdAsync','2572630eeobHd','IExchangeService','importXLSXToSnapshotAsync','_injector','importXLSXToSnapshot','importXLSXToUnitId','40168zDOdnw','FUniver'];_0x1dd2=function(){return _0x2a9888;};return _0x1dd2();}(function(_0x455a09,_0x1c8521){const _0x7e6da4=_0x3fbe,_0x2ed7ae=_0x455a09();while(!![]){try{const _0x13adc8=parseInt(_0x7e6da4(0x13f))/0x1+parseInt(_0x7e6da4(0x150))/0x2*(-parseInt(_0x7e6da4(0x161))/0x3)+parseInt(_0x7e6da4(0x140))/0x4*(parseInt(_0x7e6da4(0x144))/0x5)+-parseInt(_0x7e6da4(0x14e))/0x6*(parseInt(_0x7e6da4(0x148))/0x7)+parseInt(_0x7e6da4(0x15e))/0x8*(-parseInt(_0x7e6da4(0x152))/0x9)+parseInt(_0x7e6da4(0x158))/0xa+parseInt(_0x7e6da4(0x141))/0xb;if(_0x13adc8===_0x1c8521)break;else _0x2ed7ae['push'](_0x2ed7ae['shift']());}catch(_0x29aaad){_0x2ed7ae['push'](_0x2ed7ae['shift']());}}}(_0x1dd2,0x3fb1b));const r=require(_0x412fa6(0x14b)),i=require(_0x412fa6(0x14a));function _0x3fbe(_0x289c1e,_0x5679fb){const _0x1dd289=_0x1dd2();return _0x3fbe=function(_0x3fbe8a,_0x29683a){_0x3fbe8a=_0x3fbe8a-0x13f;let _0x849d8e=_0x1dd289[_0x3fbe8a];return _0x849d8e;},_0x3fbe(_0x289c1e,_0x5679fb);}var o=(_0x1577bc=>(_0x1577bc[_0x1577bc[_0x412fa6(0x153)]=0x0]='UNIVER_UNKNOWN',_0x1577bc[_0x1577bc[_0x412fa6(0x147)]=0x1]=_0x412fa6(0x147),_0x1577bc[_0x1577bc[_0x412fa6(0x14c)]=0x2]='UNIVER_SHEET',_0x1577bc[_0x1577bc['UNIVER_SLIDE']=0x3]=_0x412fa6(0x155),_0x1577bc[_0x1577bc[_0x412fa6(0x160)]=0x4]=_0x412fa6(0x160),_0x1577bc[_0x1577bc[_0x412fa6(0x143)]=-0x1]=_0x412fa6(0x143),_0x1577bc))(o||{});class c extends i[_0x412fa6(0x15f)]{async[_0x412fa6(0x15d)](_0x12be71){const _0x338328=_0x412fa6;return this[_0x338328(0x157)](_0x12be71);}async['importXLSXToUnitIdAsync'](_0x1ab9b8){const _0x25ce1a=_0x412fa6,_0x45f1cd=this[_0x25ce1a(0x15b)][_0x25ce1a(0x145)](r[_0x25ce1a(0x159)]);if(!_0x45f1cd)throw new Error(_0x25ce1a(0x142));return _0x45f1cd[_0x25ce1a(0x154)](_0x1ab9b8,o[_0x25ce1a(0x14c)]);}async['importXLSXToSnapshot'](_0x291e28){const _0x5239da=_0x412fa6;return this[_0x5239da(0x15a)](_0x291e28);}async[_0x412fa6(0x15a)](_0x33f0b4){const _0x9796ef=_0x412fa6,_0x2f0ea0=this[_0x9796ef(0x15b)][_0x9796ef(0x145)](r['IExchangeService']);if(!_0x2f0ea0)throw new Error(_0x9796ef(0x142));return _0x2f0ea0[_0x9796ef(0x15c)](_0x33f0b4);}async['exportXLSXByUnitId'](_0x56551a){const _0x21e6ee=_0x412fa6;return this[_0x21e6ee(0x156)](_0x56551a);}async[_0x412fa6(0x156)](_0x37edd7){const _0x5d5efe=_0x412fa6,_0x249836=this[_0x5d5efe(0x15b)][_0x5d5efe(0x145)](r[_0x5d5efe(0x159)]);if(!_0x249836)throw new Error(_0x5d5efe(0x142));return _0x249836[_0x5d5efe(0x146)](_0x37edd7);}async[_0x412fa6(0x151)](_0x81ac9c){return this['exportXLSXBySnapshotAsync'](_0x81ac9c);}async['exportXLSXBySnapshotAsync'](_0x11dfb7){const _0x34ffda=_0x412fa6,_0x13b2d6=this['_injector'][_0x34ffda(0x145)](r['IExchangeService']);if(!_0x13b2d6)throw new Error('The\x20exchange\x20service\x20is\x20not\x20available');return _0x13b2d6[_0x34ffda(0x151)](_0x11dfb7);}async['importDOCXToUnitId'](_0x457635){const _0x1fc4b2=_0x412fa6;return this[_0x1fc4b2(0x14d)](_0x457635);}async[_0x412fa6(0x14d)](_0x2ffc16){const _0xbe7264=_0x412fa6,_0x387f0f=this[_0xbe7264(0x15b)][_0xbe7264(0x145)](r[_0xbe7264(0x159)]);if(!_0x387f0f)throw new Error(_0xbe7264(0x142));return _0x387f0f['importFileToUnitId'](_0x2ffc16,o[_0xbe7264(0x147)]);}async['importDOCXToSnapshot'](_0x188c38){const _0x36f050=_0x412fa6;return this[_0x36f050(0x14f)](_0x188c38);}async[_0x412fa6(0x14f)](_0xbdf804){const _0x296602=_0x412fa6,_0x1a3321=this[_0x296602(0x15b)][_0x296602(0x145)](r['IExchangeService']);if(!_0x1a3321)throw new Error(_0x296602(0x142));return _0x1a3321['importDOCXToSnapshot'](_0xbdf804);}}i[_0x412fa6(0x15f)][_0x412fa6(0x149)](c);