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

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 _0x4ba4f2=_0x41eb;(function(_0x261ef6,_0x449ac9){const _0x432036=_0x41eb,_0xecca7f=_0x261ef6();while(!![]){try{const _0x1ecc0b=parseInt(_0x432036(0x1b2))/0x1*(parseInt(_0x432036(0x1b1))/0x2)+-parseInt(_0x432036(0x1c5))/0x3+-parseInt(_0x432036(0x1a8))/0x4*(parseInt(_0x432036(0x1bc))/0x5)+-parseInt(_0x432036(0x1bb))/0x6+-parseInt(_0x432036(0x1aa))/0x7*(-parseInt(_0x432036(0x1c4))/0x8)+parseInt(_0x432036(0x1ad))/0x9*(-parseInt(_0x432036(0x1b4))/0xa)+parseInt(_0x432036(0x1b9))/0xb;if(_0x1ecc0b===_0x449ac9)break;else _0xecca7f['push'](_0xecca7f['shift']());}catch(_0x1e9c21){_0xecca7f['push'](_0xecca7f['shift']());}}}(_0x3e22,0xc92a3));const r=require('@univerjs-pro/exchange-client'),i=require('@univerjs/core/facade');function _0x41eb(_0x4d1766,_0x1c4d41){const _0x3e2213=_0x3e22();return _0x41eb=function(_0x41eb71,_0x2fefa3){_0x41eb71=_0x41eb71-0x1a6;let _0x7a0ee6=_0x3e2213[_0x41eb71];return _0x7a0ee6;},_0x41eb(_0x4d1766,_0x1c4d41);}var o=(_0x1c5833=>(_0x1c5833[_0x1c5833[_0x4ba4f2(0x1bd)]=0x0]=_0x4ba4f2(0x1bd),_0x1c5833[_0x1c5833[_0x4ba4f2(0x1b5)]=0x1]='UNIVER_DOC',_0x1c5833[_0x1c5833[_0x4ba4f2(0x1ac)]=0x2]=_0x4ba4f2(0x1ac),_0x1c5833[_0x1c5833[_0x4ba4f2(0x1a7)]=0x3]='UNIVER_SLIDE',_0x1c5833[_0x1c5833[_0x4ba4f2(0x1c2)]=0x4]=_0x4ba4f2(0x1c2),_0x1c5833[_0x1c5833[_0x4ba4f2(0x1b7)]=-0x1]=_0x4ba4f2(0x1b7),_0x1c5833))(o||{});class c extends i[_0x4ba4f2(0x1ba)]{async[_0x4ba4f2(0x1a6)](_0x224c37){return this['importXLSXToUnitIdAsync'](_0x224c37);}async[_0x4ba4f2(0x1c7)](_0x38c2ad){const _0x38dcf2=_0x4ba4f2,_0x51a78f=this['_injector'][_0x38dcf2(0x1c1)](r['IExchangeService']);if(!_0x51a78f)throw new Error(_0x38dcf2(0x1c8));return _0x51a78f[_0x38dcf2(0x1c0)](_0x38c2ad,o[_0x38dcf2(0x1ac)]);}async[_0x4ba4f2(0x1b3)](_0x1256f5){const _0x799d9c=_0x4ba4f2;return this[_0x799d9c(0x1c3)](_0x1256f5);}async[_0x4ba4f2(0x1c3)](_0x50df2f){const _0x1645ff=_0x4ba4f2,_0x234e8e=this['_injector'][_0x1645ff(0x1c1)](r[_0x1645ff(0x1af)]);if(!_0x234e8e)throw new Error(_0x1645ff(0x1c8));return _0x234e8e[_0x1645ff(0x1b3)](_0x50df2f);}async[_0x4ba4f2(0x1ab)](_0x53cc21){const _0x2fee78=_0x4ba4f2;return this[_0x2fee78(0x1c6)](_0x53cc21);}async[_0x4ba4f2(0x1c6)](_0xe2a857){const _0x1190d4=_0x4ba4f2,_0x4b7fb8=this[_0x1190d4(0x1b8)][_0x1190d4(0x1c1)](r[_0x1190d4(0x1af)]);if(!_0x4b7fb8)throw new Error(_0x1190d4(0x1c8));return _0x4b7fb8[_0x1190d4(0x1ab)](_0xe2a857);}async[_0x4ba4f2(0x1bf)](_0x262598){const _0x59fdc4=_0x4ba4f2;return this[_0x59fdc4(0x1ae)](_0x262598);}async[_0x4ba4f2(0x1ae)](_0x4cd4d0){const _0x4ba608=_0x4ba4f2,_0x4fd57a=this[_0x4ba608(0x1b8)][_0x4ba608(0x1c1)](r[_0x4ba608(0x1af)]);if(!_0x4fd57a)throw new Error('The\x20exchange\x20service\x20is\x20not\x20available');return _0x4fd57a[_0x4ba608(0x1bf)](_0x4cd4d0);}async[_0x4ba4f2(0x1be)](_0x19036c){const _0x197f9e=_0x4ba4f2;return this[_0x197f9e(0x1a9)](_0x19036c);}async[_0x4ba4f2(0x1a9)](_0x4b61e6){const _0x59ecb0=_0x4ba4f2,_0x398706=this['_injector'][_0x59ecb0(0x1c1)](r[_0x59ecb0(0x1af)]);if(!_0x398706)throw new Error(_0x59ecb0(0x1c8));return _0x398706[_0x59ecb0(0x1c0)](_0x4b61e6,o[_0x59ecb0(0x1b5)]);}async[_0x4ba4f2(0x1b0)](_0x1f23f0){const _0x25fd38=_0x4ba4f2;return this[_0x25fd38(0x1b6)](_0x1f23f0);}async[_0x4ba4f2(0x1b6)](_0x576a8b){const _0x149118=_0x4ba4f2,_0x181c7f=this[_0x149118(0x1b8)][_0x149118(0x1c1)](r[_0x149118(0x1af)]);if(!_0x181c7f)throw new Error('The\x20exchange\x20service\x20is\x20not\x20available');return _0x181c7f[_0x149118(0x1b0)](_0x576a8b);}}function _0x3e22(){const _0x28dde3=['get','UNIVER_PROJECT','importXLSXToSnapshotAsync','266792zJNfze','1320609oAIssX','exportXLSXByUnitIdAsync','importXLSXToUnitIdAsync','The\x20exchange\x20service\x20is\x20not\x20available','importXLSXToUnitId','UNIVER_SLIDE','16dCrMWW','importDOCXToUnitIdAsync','161tOWlgD','exportXLSXByUnitId','UNIVER_SHEET','155016YOoqHT','exportXLSXBySnapshotAsync','IExchangeService','importDOCXToSnapshot','442oOTcve','4993ecFnww','importXLSXToSnapshot','260HjBHga','UNIVER_DOC','importDOCXToSnapshotAsync','UNRECOGNIZED','_injector','17044940NVuHZB','FUniver','8606196dQBJfW','342070BMQvkc','UNIVER_UNKNOWN','importDOCXToUnitId','exportXLSXBySnapshot','importFileToUnitId'];_0x3e22=function(){return _0x28dde3;};return _0x3e22();}i[_0x4ba4f2(0x1ba)]['extend'](c);