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

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';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);
1
+ 'use strict';const _0x5466df=_0xac1e;(function(_0x41a2a3,_0xc0ca52){const _0x5271dc=_0xac1e,_0x2e685e=_0x41a2a3();while(!![]){try{const _0x407843=parseInt(_0x5271dc(0xd6))/0x1*(parseInt(_0x5271dc(0xcf))/0x2)+parseInt(_0x5271dc(0xd9))/0x3+-parseInt(_0x5271dc(0xee))/0x4*(-parseInt(_0x5271dc(0xdb))/0x5)+parseInt(_0x5271dc(0xf2))/0x6*(parseInt(_0x5271dc(0xe2))/0x7)+parseInt(_0x5271dc(0xea))/0x8+parseInt(_0x5271dc(0xdd))/0x9*(parseInt(_0x5271dc(0xe6))/0xa)+parseInt(_0x5271dc(0xd4))/0xb*(-parseInt(_0x5271dc(0xf1))/0xc);if(_0x407843===_0xc0ca52)break;else _0x2e685e['push'](_0x2e685e['shift']());}catch(_0x2703e8){_0x2e685e['push'](_0x2e685e['shift']());}}}(_0x50c9,0xd141e));function _0xac1e(_0x2bc1ce,_0x5c76b7){const _0x50c9a6=_0x50c9();return _0xac1e=function(_0xac1e11,_0x17d8c8){_0xac1e11=_0xac1e11-0xce;let _0x8eb0a7=_0x50c9a6[_0xac1e11];return _0x8eb0a7;},_0xac1e(_0x2bc1ce,_0x5c76b7);}const r=require(_0x5466df(0xd5)),i=require(_0x5466df(0xeb));var o=(_0x24efca=>(_0x24efca[_0x24efca['UNIVER_UNKNOWN']=0x0]=_0x5466df(0xed),_0x24efca[_0x24efca[_0x5466df(0xd3)]=0x1]='UNIVER_DOC',_0x24efca[_0x24efca['UNIVER_SHEET']=0x2]=_0x5466df(0xd1),_0x24efca[_0x24efca[_0x5466df(0xd2)]=0x3]='UNIVER_SLIDE',_0x24efca[_0x24efca[_0x5466df(0xdc)]=0x4]=_0x5466df(0xdc),_0x24efca[_0x24efca[_0x5466df(0xe4)]=-0x1]=_0x5466df(0xe4),_0x24efca))(o||{});class c extends i['FUniver']{async[_0x5466df(0xef)](_0xb0455b){return this['importXLSXToUnitIdAsync'](_0xb0455b);}async['importXLSXToUnitIdAsync'](_0x3d0487){const _0x3e5b99=_0x5466df,_0x3ad75f=this[_0x3e5b99(0xdf)][_0x3e5b99(0xd8)](r['IExchangeService']);if(!_0x3ad75f)throw new Error(_0x3e5b99(0xe1));return _0x3ad75f[_0x3e5b99(0xe8)](_0x3d0487,o[_0x3e5b99(0xd1)]);}async[_0x5466df(0xec)](_0x1418a9){const _0x2d9e41=_0x5466df;return this[_0x2d9e41(0xd0)](_0x1418a9);}async[_0x5466df(0xd0)](_0x3ab6e5){const _0x47f4c2=_0x5466df,_0x59ce03=this['_injector'][_0x47f4c2(0xd8)](r[_0x47f4c2(0xce)]);if(!_0x59ce03)throw new Error(_0x47f4c2(0xe1));return _0x59ce03['importXLSXToSnapshot'](_0x3ab6e5);}async['exportXLSXByUnitId'](_0x607227){const _0x3162ba=_0x5466df;return this[_0x3162ba(0xe7)](_0x607227);}async[_0x5466df(0xe7)](_0x2e0947){const _0x3355e0=_0x5466df,_0x1b0305=this[_0x3355e0(0xdf)][_0x3355e0(0xd8)](r[_0x3355e0(0xce)]);if(!_0x1b0305)throw new Error(_0x3355e0(0xe1));return _0x1b0305[_0x3355e0(0xe3)](_0x2e0947);}async[_0x5466df(0xf0)](_0x23c520){const _0x3e7a87=_0x5466df;return this[_0x3e7a87(0xe0)](_0x23c520);}async[_0x5466df(0xe0)](_0x4b18db){const _0x458b24=_0x5466df,_0x846514=this[_0x458b24(0xdf)][_0x458b24(0xd8)](r['IExchangeService']);if(!_0x846514)throw new Error(_0x458b24(0xe1));return _0x846514[_0x458b24(0xf0)](_0x4b18db);}async[_0x5466df(0xda)](_0x44e551){const _0x5db66b=_0x5466df;return this[_0x5db66b(0xe9)](_0x44e551);}async['importDOCXToUnitIdAsync'](_0x44b8da){const _0x16a293=_0x5466df,_0x504850=this[_0x16a293(0xdf)][_0x16a293(0xd8)](r[_0x16a293(0xce)]);if(!_0x504850)throw new Error(_0x16a293(0xe1));return _0x504850[_0x16a293(0xe8)](_0x44b8da,o[_0x16a293(0xd3)]);}async[_0x5466df(0xd7)](_0x30c1ec){return this['importDOCXToSnapshotAsync'](_0x30c1ec);}async[_0x5466df(0xde)](_0x48b137){const _0xad583b=_0x5466df,_0x26e852=this[_0xad583b(0xdf)]['get'](r[_0xad583b(0xce)]);if(!_0x26e852)throw new Error(_0xad583b(0xe1));return _0x26e852[_0xad583b(0xd7)](_0x48b137);}}function _0x50c9(){const _0x44221=['7998005bMhyfs','UNIVER_PROJECT','3933pLKEvF','importDOCXToSnapshotAsync','_injector','exportXLSXBySnapshotAsync','The\x20exchange\x20service\x20is\x20not\x20available','7cWQEup','exportXLSXByUnitId','UNRECOGNIZED','FUniver','38620bxpXFC','exportXLSXByUnitIdAsync','importFileToUnitId','importDOCXToUnitIdAsync','4613712ehURHW','@univerjs/core/facade','importXLSXToSnapshot','UNIVER_UNKNOWN','4BhzWWf','importXLSXToUnitId','exportXLSXBySnapshot','46356JjTrBW','3547212mdMMAu','IExchangeService','2TVMOwP','importXLSXToSnapshotAsync','UNIVER_SHEET','UNIVER_SLIDE','UNIVER_DOC','14289tDSJFM','@univerjs-pro/exchange-client','856701FbKPNX','importDOCXToSnapshot','get','1689729pYZgpc','importDOCXToUnitId'];_0x50c9=function(){return _0x44221;};return _0x50c9();}i[_0x5466df(0xe5)]['extend'](c);