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

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 _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);
1
+ 'use strict';function _0x16c6(_0x56a648,_0x5003a9){const _0x10404b=_0x1040();return _0x16c6=function(_0x16c649,_0x21b61b){_0x16c649=_0x16c649-0xc6;let _0x5642ca=_0x10404b[_0x16c649];return _0x5642ca;},_0x16c6(_0x56a648,_0x5003a9);}const _0x569d5b=_0x16c6;function _0x1040(){const _0x4df0fc=['UNIVER_SLIDE','exportXLSXByUnitIdAsync','exportXLSXByUnitId','UNIVER_SHEET','extend','FUniver','importFileToUnitId','60538iGFmxQ','146790ZDNThz','41IDeBDU','@univerjs-pro/exchange-client','importXLSXToSnapshotAsync','importDOCXToSnapshot','@univerjs/core/facade','24iLlCfO','The\x20exchange\x20service\x20is\x20not\x20available','2539565bDFoDT','importDOCXToSnapshotAsync','exportXLSXBySnapshot','4476535yKIuwb','6BNjoEH','importDOCXToUnitId','exportXLSXBySnapshotAsync','630JiWfWX','152140EMNfrK','2321976UkYiNE','get','_injector','UNRECOGNIZED','importXLSXToUnitIdAsync','importDOCXToUnitIdAsync','29778441rJNJMV','UNIVER_DOC','IExchangeService'];_0x1040=function(){return _0x4df0fc;};return _0x1040();}(function(_0x46b1f5,_0x703494){const _0x4328d6=_0x16c6,_0x40520b=_0x46b1f5();while(!![]){try{const _0x177e86=parseInt(_0x4328d6(0xc8))/0x1*(parseInt(_0x4328d6(0xc6))/0x2)+parseInt(_0x4328d6(0xcd))/0x3*(parseInt(_0x4328d6(0xd7))/0x4)+parseInt(_0x4328d6(0xcf))/0x5*(parseInt(_0x4328d6(0xd3))/0x6)+parseInt(_0x4328d6(0xd2))/0x7+-parseInt(_0x4328d6(0xd8))/0x8+parseInt(_0x4328d6(0xc7))/0x9*(parseInt(_0x4328d6(0xd6))/0xa)+-parseInt(_0x4328d6(0xde))/0xb;if(_0x177e86===_0x703494)break;else _0x40520b['push'](_0x40520b['shift']());}catch(_0x23eee2){_0x40520b['push'](_0x40520b['shift']());}}}(_0x1040,0xb07bf));const r=require(_0x569d5b(0xc9)),i=require(_0x569d5b(0xcc));var o=(_0x317e6e=>(_0x317e6e[_0x317e6e['UNIVER_UNKNOWN']=0x0]='UNIVER_UNKNOWN',_0x317e6e[_0x317e6e[_0x569d5b(0xdf)]=0x1]=_0x569d5b(0xdf),_0x317e6e[_0x317e6e[_0x569d5b(0xe4)]=0x2]=_0x569d5b(0xe4),_0x317e6e[_0x317e6e[_0x569d5b(0xe1)]=0x3]=_0x569d5b(0xe1),_0x317e6e[_0x317e6e['UNIVER_PROJECT']=0x4]='UNIVER_PROJECT',_0x317e6e[_0x317e6e[_0x569d5b(0xdb)]=-0x1]=_0x569d5b(0xdb),_0x317e6e))(o||{});class c extends i[_0x569d5b(0xe6)]{async['importXLSXToUnitId'](_0x71d8a6){const _0x2d1057=_0x569d5b;return this[_0x2d1057(0xdc)](_0x71d8a6);}async['importXLSXToUnitIdAsync'](_0x915c64){const _0x50d410=_0x569d5b,_0x468408=this[_0x50d410(0xda)][_0x50d410(0xd9)](r[_0x50d410(0xe0)]);if(!_0x468408)throw new Error(_0x50d410(0xce));return _0x468408[_0x50d410(0xe7)](_0x915c64,o[_0x50d410(0xe4)]);}async['importXLSXToSnapshot'](_0x5455ef){const _0x1abca9=_0x569d5b;return this[_0x1abca9(0xca)](_0x5455ef);}async[_0x569d5b(0xca)](_0x31fded){const _0x2a76bf=_0x569d5b,_0x52372e=this['_injector']['get'](r[_0x2a76bf(0xe0)]);if(!_0x52372e)throw new Error(_0x2a76bf(0xce));return _0x52372e['importXLSXToSnapshot'](_0x31fded);}async[_0x569d5b(0xe3)](_0x156eab){const _0x20d5b1=_0x569d5b;return this[_0x20d5b1(0xe2)](_0x156eab);}async[_0x569d5b(0xe2)](_0x1f1458){const _0x5dd066=_0x569d5b,_0x5fc42e=this[_0x5dd066(0xda)][_0x5dd066(0xd9)](r[_0x5dd066(0xe0)]);if(!_0x5fc42e)throw new Error(_0x5dd066(0xce));return _0x5fc42e[_0x5dd066(0xe3)](_0x1f1458);}async[_0x569d5b(0xd1)](_0x454ec6){const _0x4497eb=_0x569d5b;return this[_0x4497eb(0xd5)](_0x454ec6);}async[_0x569d5b(0xd5)](_0x11f56b){const _0x21ea48=_0x569d5b,_0x2e23f6=this['_injector'][_0x21ea48(0xd9)](r[_0x21ea48(0xe0)]);if(!_0x2e23f6)throw new Error(_0x21ea48(0xce));return _0x2e23f6[_0x21ea48(0xd1)](_0x11f56b);}async[_0x569d5b(0xd4)](_0x4a6790){const _0x18227b=_0x569d5b;return this[_0x18227b(0xdd)](_0x4a6790);}async['importDOCXToUnitIdAsync'](_0x55984c){const _0x51b86f=_0x569d5b,_0x370893=this[_0x51b86f(0xda)][_0x51b86f(0xd9)](r['IExchangeService']);if(!_0x370893)throw new Error(_0x51b86f(0xce));return _0x370893[_0x51b86f(0xe7)](_0x55984c,o[_0x51b86f(0xdf)]);}async[_0x569d5b(0xcb)](_0x526e2f){const _0x107adb=_0x569d5b;return this[_0x107adb(0xd0)](_0x526e2f);}async[_0x569d5b(0xd0)](_0x2bfb1c){const _0x208878=_0x569d5b,_0x393ba9=this[_0x208878(0xda)][_0x208878(0xd9)](r[_0x208878(0xe0)]);if(!_0x393ba9)throw new Error(_0x208878(0xce));return _0x393ba9[_0x208878(0xcb)](_0x2bfb1c);}}i[_0x569d5b(0xe6)][_0x569d5b(0xe5)](c);