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

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 _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);
1
+ 'use strict';function _0x4e53(_0xada163,_0x3ff7c3){const _0x4e6d72=_0x4e6d();return _0x4e53=function(_0x4e537e,_0x5eee9e){_0x4e537e=_0x4e537e-0x150;let _0x9e27d3=_0x4e6d72[_0x4e537e];return _0x9e27d3;},_0x4e53(_0xada163,_0x3ff7c3);}const _0x1bf716=_0x4e53;(function(_0x69c815,_0x27fc79){const _0x12fa9d=_0x4e53,_0x5cefa5=_0x69c815();while(!![]){try{const _0xa60422=parseInt(_0x12fa9d(0x150))/0x1+parseInt(_0x12fa9d(0x151))/0x2+parseInt(_0x12fa9d(0x15d))/0x3+parseInt(_0x12fa9d(0x16b))/0x4+parseInt(_0x12fa9d(0x159))/0x5+-parseInt(_0x12fa9d(0x169))/0x6*(-parseInt(_0x12fa9d(0x15b))/0x7)+parseInt(_0x12fa9d(0x16f))/0x8*(-parseInt(_0x12fa9d(0x170))/0x9);if(_0xa60422===_0x27fc79)break;else _0x5cefa5['push'](_0x5cefa5['shift']());}catch(_0x273c02){_0x5cefa5['push'](_0x5cefa5['shift']());}}}(_0x4e6d,0x50bad));const r=require(_0x1bf716(0x16e)),i=require(_0x1bf716(0x167));var o=(_0x2bb1df=>(_0x2bb1df[_0x2bb1df[_0x1bf716(0x161)]=0x0]='UNIVER_UNKNOWN',_0x2bb1df[_0x2bb1df[_0x1bf716(0x164)]=0x1]='UNIVER_DOC',_0x2bb1df[_0x2bb1df[_0x1bf716(0x157)]=0x2]=_0x1bf716(0x157),_0x2bb1df[_0x2bb1df[_0x1bf716(0x162)]=0x3]=_0x1bf716(0x162),_0x2bb1df[_0x2bb1df[_0x1bf716(0x156)]=0x4]=_0x1bf716(0x156),_0x2bb1df[_0x2bb1df[_0x1bf716(0x153)]=-0x1]=_0x1bf716(0x153),_0x2bb1df))(o||{});function _0x4e6d(){const _0x2857b4=['18Wgacyq','importXLSXToSnapshot','707652UhGAet','FUniver','exportXLSXBySnapshotAsync','@univerjs-pro/exchange-client','1157128EXtsPv','117ccWSMM','The\x20exchange\x20service\x20is\x20not\x20available','521627TiZhmN','143312qBwpVj','_injector','UNRECOGNIZED','importXLSXToUnitIdAsync','exportXLSXBySnapshot','UNIVER_PROJECT','UNIVER_SHEET','importDOCXToSnapshot','2510240jvSlbg','exportXLSXByUnitId','844011CbZydh','importFileToUnitId','1731117XfQKaQ','exportXLSXByUnitIdAsync','importDOCXToUnitIdAsync','IExchangeService','UNIVER_UNKNOWN','UNIVER_SLIDE','importDOCXToSnapshotAsync','UNIVER_DOC','importXLSXToSnapshotAsync','extend','@univerjs/core/facade','get'];_0x4e6d=function(){return _0x2857b4;};return _0x4e6d();}class c extends i[_0x1bf716(0x16c)]{async['importXLSXToUnitId'](_0x2f46ea){const _0x1c803a=_0x1bf716;return this[_0x1c803a(0x154)](_0x2f46ea);}async[_0x1bf716(0x154)](_0x16e8b5){const _0x32d6a4=_0x1bf716,_0x2348de=this[_0x32d6a4(0x152)][_0x32d6a4(0x168)](r[_0x32d6a4(0x160)]);if(!_0x2348de)throw new Error(_0x32d6a4(0x171));return _0x2348de['importFileToUnitId'](_0x16e8b5,o[_0x32d6a4(0x157)]);}async[_0x1bf716(0x16a)](_0x496f31){const _0x23fb38=_0x1bf716;return this[_0x23fb38(0x165)](_0x496f31);}async['importXLSXToSnapshotAsync'](_0xcc3f05){const _0x5e5670=_0x1bf716,_0x10ddab=this[_0x5e5670(0x152)][_0x5e5670(0x168)](r[_0x5e5670(0x160)]);if(!_0x10ddab)throw new Error(_0x5e5670(0x171));return _0x10ddab[_0x5e5670(0x16a)](_0xcc3f05);}async[_0x1bf716(0x15a)](_0x16e524){const _0x3aea6e=_0x1bf716;return this[_0x3aea6e(0x15e)](_0x16e524);}async[_0x1bf716(0x15e)](_0x44b3d1){const _0x37dbbf=_0x1bf716,_0x265c59=this[_0x37dbbf(0x152)][_0x37dbbf(0x168)](r['IExchangeService']);if(!_0x265c59)throw new Error(_0x37dbbf(0x171));return _0x265c59['exportXLSXByUnitId'](_0x44b3d1);}async[_0x1bf716(0x155)](_0x211706){const _0x41aa8c=_0x1bf716;return this[_0x41aa8c(0x16d)](_0x211706);}async['exportXLSXBySnapshotAsync'](_0x28c125){const _0x50b839=_0x1bf716,_0xa10282=this['_injector'][_0x50b839(0x168)](r[_0x50b839(0x160)]);if(!_0xa10282)throw new Error(_0x50b839(0x171));return _0xa10282['exportXLSXBySnapshot'](_0x28c125);}async['importDOCXToUnitId'](_0x165c45){return this['importDOCXToUnitIdAsync'](_0x165c45);}async[_0x1bf716(0x15f)](_0x466953){const _0x291ff8=_0x1bf716,_0x1f54f9=this[_0x291ff8(0x152)][_0x291ff8(0x168)](r[_0x291ff8(0x160)]);if(!_0x1f54f9)throw new Error('The\x20exchange\x20service\x20is\x20not\x20available');return _0x1f54f9[_0x291ff8(0x15c)](_0x466953,o[_0x291ff8(0x164)]);}async[_0x1bf716(0x158)](_0x1eb01b){const _0x555674=_0x1bf716;return this[_0x555674(0x163)](_0x1eb01b);}async[_0x1bf716(0x163)](_0xf60088){const _0x328636=_0x1bf716,_0xdde8c4=this[_0x328636(0x152)][_0x328636(0x168)](r[_0x328636(0x160)]);if(!_0xdde8c4)throw new Error('The\x20exchange\x20service\x20is\x20not\x20available');return _0xdde8c4[_0x328636(0x158)](_0xf60088);}}i[_0x1bf716(0x16c)][_0x1bf716(0x166)](c);