@univerjs-pro/exchange-client 0.6.9 → 0.6.10-alpha.0

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 _0x95f523=_0x5541;(function(_0x5e402d,_0x3c60b3){const _0x4e1d10=_0x5541,_0x1c0e8a=_0x5e402d();while(!![]){try{const _0x4748fb=parseInt(_0x4e1d10(0x182))/0x1*(parseInt(_0x4e1d10(0x163))/0x2)+-parseInt(_0x4e1d10(0x174))/0x3+-parseInt(_0x4e1d10(0x179))/0x4*(-parseInt(_0x4e1d10(0x165))/0x5)+parseInt(_0x4e1d10(0x16d))/0x6+-parseInt(_0x4e1d10(0x180))/0x7+-parseInt(_0x4e1d10(0x168))/0x8*(-parseInt(_0x4e1d10(0x171))/0x9)+parseInt(_0x4e1d10(0x172))/0xa;if(_0x4748fb===_0x3c60b3)break;else _0x1c0e8a['push'](_0x1c0e8a['shift']());}catch(_0x3428e3){_0x1c0e8a['push'](_0x1c0e8a['shift']());}}}(_0x18ae,0xc270d));function _0x5541(_0x157036,_0x28a094){const _0x18ae89=_0x18ae();return _0x5541=function(_0x554163,_0x57b75f){_0x554163=_0x554163-0x163;let _0x23bdb6=_0x18ae89[_0x554163];return _0x23bdb6;},_0x5541(_0x157036,_0x28a094);}const r=require(_0x95f523(0x177)),i=require(_0x95f523(0x176));var o=(_0x18fefd=>(_0x18fefd[_0x18fefd[_0x95f523(0x16a)]=0x0]=_0x95f523(0x16a),_0x18fefd[_0x18fefd[_0x95f523(0x16f)]=0x1]=_0x95f523(0x16f),_0x18fefd[_0x18fefd[_0x95f523(0x17d)]=0x2]='UNIVER_SHEET',_0x18fefd[_0x18fefd['UNIVER_SLIDE']=0x3]=_0x95f523(0x17f),_0x18fefd[_0x18fefd['UNIVER_PROJECT']=0x4]=_0x95f523(0x16b),_0x18fefd[_0x18fefd['UNRECOGNIZED']=-0x1]=_0x95f523(0x17a),_0x18fefd))(o||{});function _0x18ae(){const _0x1720fb=['@univerjs-pro/exchange-client','The\x20exchange\x20service\x20is\x20not\x20available','28vVUjSX','UNRECOGNIZED','importDOCXToUnitIdAsync','importDOCXToSnapshotAsync','UNIVER_SHEET','importXLSXToSnapshot','UNIVER_SLIDE','9715174GYPSiM','exportXLSXByUnitId','29VpKUMo','exportXLSXByUnitIdAsync','importXLSXToSnapshotAsync','FUniver','get','86606ReTKRJ','extend','123035CSCAyr','importXLSXToUnitIdAsync','_injector','4025464wXSFZA','importDOCXToSnapshot','UNIVER_UNKNOWN','UNIVER_PROJECT','importFileToUnitId','4539504ZiUWDp','exportXLSXBySnapshotAsync','UNIVER_DOC','exportXLSXBySnapshot','9oBzGgj','7660090QZpFCt','importDOCXToUnitId','3808503FOdPhm','IExchangeService','@univerjs/core/facade'];_0x18ae=function(){return _0x1720fb;};return _0x18ae();}class c extends i[_0x95f523(0x185)]{async['importXLSXToUnitId'](_0x496ec0){const _0x9a8009=_0x95f523;return this[_0x9a8009(0x166)](_0x496ec0);}async[_0x95f523(0x166)](_0x1379b0){const _0x30c858=_0x95f523,_0x4f1521=this[_0x30c858(0x167)][_0x30c858(0x186)](r[_0x30c858(0x175)]);if(!_0x4f1521)throw new Error('The\x20exchange\x20service\x20is\x20not\x20available');return _0x4f1521['importFileToUnitId'](_0x1379b0,o[_0x30c858(0x17d)]);}async[_0x95f523(0x17e)](_0x188762){const _0x2956b8=_0x95f523;return this[_0x2956b8(0x184)](_0x188762);}async[_0x95f523(0x184)](_0x39565a){const _0x2cf3e4=_0x95f523,_0x3772d1=this[_0x2cf3e4(0x167)]['get'](r[_0x2cf3e4(0x175)]);if(!_0x3772d1)throw new Error('The\x20exchange\x20service\x20is\x20not\x20available');return _0x3772d1[_0x2cf3e4(0x17e)](_0x39565a);}async[_0x95f523(0x181)](_0x3c10cb){const _0x54d9cf=_0x95f523;return this[_0x54d9cf(0x183)](_0x3c10cb);}async[_0x95f523(0x183)](_0x30a868){const _0x4b7a28=_0x95f523,_0x6c6914=this[_0x4b7a28(0x167)][_0x4b7a28(0x186)](r[_0x4b7a28(0x175)]);if(!_0x6c6914)throw new Error(_0x4b7a28(0x178));return _0x6c6914[_0x4b7a28(0x181)](_0x30a868);}async['exportXLSXBySnapshot'](_0x6784fd){const _0xb9c2b=_0x95f523;return this[_0xb9c2b(0x16e)](_0x6784fd);}async[_0x95f523(0x16e)](_0x1fd1b8){const _0x2d09fb=_0x95f523,_0x3c9bb7=this[_0x2d09fb(0x167)][_0x2d09fb(0x186)](r[_0x2d09fb(0x175)]);if(!_0x3c9bb7)throw new Error('The\x20exchange\x20service\x20is\x20not\x20available');return _0x3c9bb7[_0x2d09fb(0x170)](_0x1fd1b8);}async[_0x95f523(0x173)](_0x1d18fa){const _0x4a90a6=_0x95f523;return this[_0x4a90a6(0x17b)](_0x1d18fa);}async[_0x95f523(0x17b)](_0x22d801){const _0x1869a0=_0x95f523,_0x36ab29=this[_0x1869a0(0x167)][_0x1869a0(0x186)](r[_0x1869a0(0x175)]);if(!_0x36ab29)throw new Error('The\x20exchange\x20service\x20is\x20not\x20available');return _0x36ab29[_0x1869a0(0x16c)](_0x22d801,o[_0x1869a0(0x16f)]);}async[_0x95f523(0x169)](_0xcbf3ca){const _0x4759c0=_0x95f523;return this[_0x4759c0(0x17c)](_0xcbf3ca);}async[_0x95f523(0x17c)](_0x5ab74d){const _0x552390=_0x95f523,_0x214960=this[_0x552390(0x167)][_0x552390(0x186)](r['IExchangeService']);if(!_0x214960)throw new Error(_0x552390(0x178));return _0x214960['importDOCXToSnapshot'](_0x5ab74d);}}i[_0x95f523(0x185)][_0x95f523(0x164)](c);
1
+ 'use strict';const _0x1917b4=_0x578f;(function(_0xa9e399,_0x345568){const _0x45d485=_0x578f,_0x146dc0=_0xa9e399();while(!![]){try{const _0x22923a=-parseInt(_0x45d485(0x119))/0x1*(-parseInt(_0x45d485(0x108))/0x2)+-parseInt(_0x45d485(0x10e))/0x3+-parseInt(_0x45d485(0x10b))/0x4+parseInt(_0x45d485(0x114))/0x5+-parseInt(_0x45d485(0x100))/0x6*(-parseInt(_0x45d485(0xfe))/0x7)+parseInt(_0x45d485(0xfd))/0x8+-parseInt(_0x45d485(0x11a))/0x9;if(_0x22923a===_0x345568)break;else _0x146dc0['push'](_0x146dc0['shift']());}catch(_0x4bc66e){_0x146dc0['push'](_0x146dc0['shift']());}}}(_0x4fd9,0x578ef));function _0x4fd9(){const _0xbf463b=['UNIVER_SLIDE','FUniver','importFileToUnitId','importXLSXToUnitId','importXLSXToSnapshotAsync','_injector','importDOCXToSnapshot','54aNtilq','importXLSXToUnitIdAsync','exportXLSXByUnitId','977360ZlAtjB','UNIVER_UNKNOWN','get','828912vudsYj','importDOCXToSnapshotAsync','importXLSXToSnapshot','The\x20exchange\x20service\x20is\x20not\x20available','@univerjs/core/facade','UNIVER_PROJECT','3243115cVeDGH','importDOCXToUnitId','exportXLSXBySnapshotAsync','@univerjs-pro/exchange-client','importDOCXToUnitIdAsync','22141dEXwPY','7001658PCZkso','UNIVER_DOC','exportXLSXBySnapshot','UNIVER_SHEET','exportXLSXByUnitIdAsync','2876840GpHvrR','23898LDPgYI','IExchangeService','90tPirnp'];_0x4fd9=function(){return _0xbf463b;};return _0x4fd9();}const r=require(_0x1917b4(0x117)),i=require(_0x1917b4(0x112));function _0x578f(_0x64c386,_0x5de1bd){const _0x4fd9f4=_0x4fd9();return _0x578f=function(_0x578ffa,_0x194cef){_0x578ffa=_0x578ffa-0xfb;let _0x3ccdff=_0x4fd9f4[_0x578ffa];return _0x3ccdff;},_0x578f(_0x64c386,_0x5de1bd);}var o=(_0x4514ab=>(_0x4514ab[_0x4514ab['UNIVER_UNKNOWN']=0x0]=_0x1917b4(0x10c),_0x4514ab[_0x4514ab[_0x1917b4(0x11b)]=0x1]=_0x1917b4(0x11b),_0x4514ab[_0x4514ab[_0x1917b4(0xfb)]=0x2]=_0x1917b4(0xfb),_0x4514ab[_0x4514ab['UNIVER_SLIDE']=0x3]=_0x1917b4(0x101),_0x4514ab[_0x4514ab['UNIVER_PROJECT']=0x4]=_0x1917b4(0x113),_0x4514ab[_0x4514ab['UNRECOGNIZED']=-0x1]='UNRECOGNIZED',_0x4514ab))(o||{});class c extends i[_0x1917b4(0x102)]{async[_0x1917b4(0x104)](_0x7033fc){const _0x15e39d=_0x1917b4;return this[_0x15e39d(0x109)](_0x7033fc);}async[_0x1917b4(0x109)](_0x297654){const _0x439d68=_0x1917b4,_0x5baafc=this[_0x439d68(0x106)][_0x439d68(0x10d)](r['IExchangeService']);if(!_0x5baafc)throw new Error(_0x439d68(0x111));return _0x5baafc[_0x439d68(0x103)](_0x297654,o[_0x439d68(0xfb)]);}async[_0x1917b4(0x110)](_0x27e058){const _0x253ff4=_0x1917b4;return this[_0x253ff4(0x105)](_0x27e058);}async[_0x1917b4(0x105)](_0x4ac7a0){const _0x3d5e14=_0x1917b4,_0x58427c=this[_0x3d5e14(0x106)][_0x3d5e14(0x10d)](r['IExchangeService']);if(!_0x58427c)throw new Error('The\x20exchange\x20service\x20is\x20not\x20available');return _0x58427c['importXLSXToSnapshot'](_0x4ac7a0);}async[_0x1917b4(0x10a)](_0xbaddf5){const _0x59d57a=_0x1917b4;return this[_0x59d57a(0xfc)](_0xbaddf5);}async[_0x1917b4(0xfc)](_0x8ec771){const _0x34edb0=_0x1917b4,_0x1e0ca2=this['_injector'][_0x34edb0(0x10d)](r[_0x34edb0(0xff)]);if(!_0x1e0ca2)throw new Error('The\x20exchange\x20service\x20is\x20not\x20available');return _0x1e0ca2['exportXLSXByUnitId'](_0x8ec771);}async[_0x1917b4(0x11c)](_0x222494){const _0x8fa121=_0x1917b4;return this[_0x8fa121(0x116)](_0x222494);}async['exportXLSXBySnapshotAsync'](_0x3b47c6){const _0x1819be=_0x1917b4,_0x33c200=this[_0x1819be(0x106)]['get'](r[_0x1819be(0xff)]);if(!_0x33c200)throw new Error(_0x1819be(0x111));return _0x33c200[_0x1819be(0x11c)](_0x3b47c6);}async[_0x1917b4(0x115)](_0x3942be){return this['importDOCXToUnitIdAsync'](_0x3942be);}async[_0x1917b4(0x118)](_0x1bb0b6){const _0x5ae75e=_0x1917b4,_0x3d6eae=this[_0x5ae75e(0x106)][_0x5ae75e(0x10d)](r[_0x5ae75e(0xff)]);if(!_0x3d6eae)throw new Error(_0x5ae75e(0x111));return _0x3d6eae[_0x5ae75e(0x103)](_0x1bb0b6,o[_0x5ae75e(0x11b)]);}async[_0x1917b4(0x107)](_0x19c4e0){const _0x4ae186=_0x1917b4;return this[_0x4ae186(0x10f)](_0x19c4e0);}async[_0x1917b4(0x10f)](_0x2b1df8){const _0x22d54b=_0x1917b4,_0x31c4c2=this['_injector']['get'](r[_0x22d54b(0xff)]);if(!_0x31c4c2)throw new Error(_0x22d54b(0x111));return _0x31c4c2[_0x22d54b(0x107)](_0x2b1df8);}}i[_0x1917b4(0x102)]['extend'](c);