@univerjs-pro/exchange-client 0.6.10-alpha.0 → 0.6.10-experimental.20250410-f79ffef

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 _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);
1
+ 'use strict';const _0x172ae6=_0x4f41;function _0x4f41(_0x4dd608,_0x2a1e3f){const _0x2235e6=_0x2235();return _0x4f41=function(_0x4f4113,_0x546c1b){_0x4f4113=_0x4f4113-0x1de;let _0x2671da=_0x2235e6[_0x4f4113];return _0x2671da;},_0x4f41(_0x4dd608,_0x2a1e3f);}(function(_0x334f4,_0x4a7d4f){const _0x331b14=_0x4f41,_0x3b7327=_0x334f4();while(!![]){try{const _0x12b177=parseInt(_0x331b14(0x1f5))/0x1*(-parseInt(_0x331b14(0x1e6))/0x2)+-parseInt(_0x331b14(0x1fe))/0x3+-parseInt(_0x331b14(0x1fb))/0x4+-parseInt(_0x331b14(0x1f3))/0x5+parseInt(_0x331b14(0x1f8))/0x6*(-parseInt(_0x331b14(0x1f0))/0x7)+-parseInt(_0x331b14(0x1e8))/0x8+-parseInt(_0x331b14(0x1f4))/0x9*(-parseInt(_0x331b14(0x200))/0xa);if(_0x12b177===_0x4a7d4f)break;else _0x3b7327['push'](_0x3b7327['shift']());}catch(_0x5f226a){_0x3b7327['push'](_0x3b7327['shift']());}}}(_0x2235,0x381a4));const r=require(_0x172ae6(0x1fc)),i=require(_0x172ae6(0x1f6));var o=(_0x288696=>(_0x288696[_0x288696[_0x172ae6(0x1eb)]=0x0]=_0x172ae6(0x1eb),_0x288696[_0x288696['UNIVER_DOC']=0x1]=_0x172ae6(0x1fa),_0x288696[_0x288696[_0x172ae6(0x1ef)]=0x2]=_0x172ae6(0x1ef),_0x288696[_0x288696[_0x172ae6(0x1ee)]=0x3]=_0x172ae6(0x1ee),_0x288696[_0x288696['UNIVER_PROJECT']=0x4]=_0x172ae6(0x1ea),_0x288696[_0x288696[_0x172ae6(0x1f1)]=-0x1]='UNRECOGNIZED',_0x288696))(o||{});function _0x2235(){const _0x2896c5=['exportXLSXBySnapshotAsync','exportXLSXByUnitId','FUniver','importFileToUnitId','674zMSqEE','get','292280sezkJP','importDOCXToUnitId','UNIVER_PROJECT','UNIVER_UNKNOWN','_injector','exportXLSXByUnitIdAsync','UNIVER_SLIDE','UNIVER_SHEET','7SlwBnP','UNRECOGNIZED','extend','797475IxgyUH','300393wJjBbT','1173CRsVSN','@univerjs/core/facade','importXLSXToSnapshot','2456310jzwjgj','exportXLSXBySnapshot','UNIVER_DOC','971904yzurEo','@univerjs-pro/exchange-client','importDOCXToSnapshot','686217dfeXNA','importXLSXToSnapshotAsync','510GSJMno','importXLSXToUnitIdAsync','The\x20exchange\x20service\x20is\x20not\x20available','importDOCXToSnapshotAsync','IExchangeService'];_0x2235=function(){return _0x2896c5;};return _0x2235();}class c extends i[_0x172ae6(0x1e4)]{async['importXLSXToUnitId'](_0x3c64cd){const _0x32290d=_0x172ae6;return this[_0x32290d(0x1de)](_0x3c64cd);}async['importXLSXToUnitIdAsync'](_0x514d0f){const _0x3663df=_0x172ae6,_0x1a2dc3=this[_0x3663df(0x1ec)][_0x3663df(0x1e7)](r[_0x3663df(0x1e1)]);if(!_0x1a2dc3)throw new Error(_0x3663df(0x1df));return _0x1a2dc3[_0x3663df(0x1e5)](_0x514d0f,o[_0x3663df(0x1ef)]);}async[_0x172ae6(0x1f7)](_0x2add60){const _0x1fe5e8=_0x172ae6;return this[_0x1fe5e8(0x1ff)](_0x2add60);}async[_0x172ae6(0x1ff)](_0x2ef973){const _0x2e7388=_0x172ae6,_0x41826c=this[_0x2e7388(0x1ec)][_0x2e7388(0x1e7)](r['IExchangeService']);if(!_0x41826c)throw new Error(_0x2e7388(0x1df));return _0x41826c[_0x2e7388(0x1f7)](_0x2ef973);}async['exportXLSXByUnitId'](_0x1feae5){const _0x4ea3b7=_0x172ae6;return this[_0x4ea3b7(0x1ed)](_0x1feae5);}async[_0x172ae6(0x1ed)](_0x436893){const _0x263c85=_0x172ae6,_0x100537=this[_0x263c85(0x1ec)][_0x263c85(0x1e7)](r[_0x263c85(0x1e1)]);if(!_0x100537)throw new Error(_0x263c85(0x1df));return _0x100537[_0x263c85(0x1e3)](_0x436893);}async['exportXLSXBySnapshot'](_0x8c605b){const _0xe9cb15=_0x172ae6;return this[_0xe9cb15(0x1e2)](_0x8c605b);}async[_0x172ae6(0x1e2)](_0x3c1690){const _0x56744d=_0x172ae6,_0x22c8f2=this[_0x56744d(0x1ec)][_0x56744d(0x1e7)](r[_0x56744d(0x1e1)]);if(!_0x22c8f2)throw new Error(_0x56744d(0x1df));return _0x22c8f2[_0x56744d(0x1f9)](_0x3c1690);}async[_0x172ae6(0x1e9)](_0x2d6b3b){return this['importDOCXToUnitIdAsync'](_0x2d6b3b);}async['importDOCXToUnitIdAsync'](_0x1cf754){const _0x37129a=_0x172ae6,_0x36ff0e=this[_0x37129a(0x1ec)][_0x37129a(0x1e7)](r[_0x37129a(0x1e1)]);if(!_0x36ff0e)throw new Error('The\x20exchange\x20service\x20is\x20not\x20available');return _0x36ff0e[_0x37129a(0x1e5)](_0x1cf754,o[_0x37129a(0x1fa)]);}async[_0x172ae6(0x1fd)](_0x171693){const _0x46291f=_0x172ae6;return this[_0x46291f(0x1e0)](_0x171693);}async[_0x172ae6(0x1e0)](_0x487dda){const _0x2dd213=_0x172ae6,_0x3628d5=this[_0x2dd213(0x1ec)][_0x2dd213(0x1e7)](r[_0x2dd213(0x1e1)]);if(!_0x3628d5)throw new Error('The\x20exchange\x20service\x20is\x20not\x20available');return _0x3628d5[_0x2dd213(0x1fd)](_0x487dda);}}i['FUniver'][_0x172ae6(0x1f2)](c);