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

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';const _0x3b8944=_0x4c7f;function _0xf0c2(){const _0x4a1f9e=['get','exportXLSXByUnitId','UNIVER_DOC','FUniver','UNIVER_SLIDE','36879aLAyOk','607242xlvSVc','importDOCXToUnitId','3eLEGmw','1074546SICLSX','The\x20exchange\x20service\x20is\x20not\x20available','importFileToUnitId','@univerjs/core/facade','IExchangeService','importXLSXToUnitIdAsync','415624AuGKYe','exportXLSXByUnitIdAsync','importDOCXToUnitIdAsync','4TqWZiZ','_injector','exportXLSXBySnapshotAsync','importXLSXToSnapshotAsync','UNIVER_SHEET','@univerjs-pro/exchange-client','1150247MkcBkg','exportXLSXBySnapshot','importDOCXToSnapshotAsync','importXLSXToSnapshot','965785DblhfJ','1626288WFpJMD','importDOCXToSnapshot','UNIVER_UNKNOWN','importXLSXToUnitId','UNIVER_PROJECT','extend'];_0xf0c2=function(){return _0x4a1f9e;};return _0xf0c2();}(function(_0x31a6e2,_0x388487){const _0x451890=_0x4c7f,_0x4fc98a=_0x31a6e2();while(!![]){try{const _0x360d1e=parseInt(_0x451890(0x149))/0x1*(parseInt(_0x451890(0x156))/0x2)+-parseInt(_0x451890(0x14c))/0x3*(parseInt(_0x451890(0x153))/0x4)+-parseInt(_0x451890(0x13d))/0x5+-parseInt(_0x451890(0x14a))/0x6+parseInt(_0x451890(0x139))/0x7+parseInt(_0x451890(0x13e))/0x8+parseInt(_0x451890(0x14d))/0x9;if(_0x360d1e===_0x388487)break;else _0x4fc98a['push'](_0x4fc98a['shift']());}catch(_0x52f7cc){_0x4fc98a['push'](_0x4fc98a['shift']());}}}(_0xf0c2,0x27ab9));const r=require(_0x3b8944(0x138)),i=require(_0x3b8944(0x150));var o=(_0x25c617=>(_0x25c617[_0x25c617[_0x3b8944(0x140)]=0x0]='UNIVER_UNKNOWN',_0x25c617[_0x25c617[_0x3b8944(0x146)]=0x1]='UNIVER_DOC',_0x25c617[_0x25c617[_0x3b8944(0x137)]=0x2]=_0x3b8944(0x137),_0x25c617[_0x25c617[_0x3b8944(0x148)]=0x3]=_0x3b8944(0x148),_0x25c617[_0x25c617[_0x3b8944(0x142)]=0x4]=_0x3b8944(0x142),_0x25c617[_0x25c617['UNRECOGNIZED']=-0x1]='UNRECOGNIZED',_0x25c617))(o||{});class c extends i[_0x3b8944(0x147)]{async[_0x3b8944(0x141)](_0x44ace2){const _0x4282db=_0x3b8944;return this[_0x4282db(0x152)](_0x44ace2);}async['importXLSXToUnitIdAsync'](_0x1e4d1c){const _0x166928=_0x3b8944,_0x4b44c9=this[_0x166928(0x157)][_0x166928(0x144)](r[_0x166928(0x151)]);if(!_0x4b44c9)throw new Error(_0x166928(0x14e));return _0x4b44c9[_0x166928(0x14f)](_0x1e4d1c,o[_0x166928(0x137)]);}async['importXLSXToSnapshot'](_0x4c19a0){const _0x16b3ef=_0x3b8944;return this[_0x16b3ef(0x136)](_0x4c19a0);}async['importXLSXToSnapshotAsync'](_0x5c8474){const _0x413ba1=_0x3b8944,_0x5367ed=this['_injector']['get'](r[_0x413ba1(0x151)]);if(!_0x5367ed)throw new Error(_0x413ba1(0x14e));return _0x5367ed[_0x413ba1(0x13c)](_0x5c8474);}async[_0x3b8944(0x145)](_0x5b3023){const _0x4b2695=_0x3b8944;return this[_0x4b2695(0x154)](_0x5b3023);}async[_0x3b8944(0x154)](_0x146bab){const _0x155ceb=_0x3b8944,_0x1d3536=this[_0x155ceb(0x157)][_0x155ceb(0x144)](r['IExchangeService']);if(!_0x1d3536)throw new Error('The\x20exchange\x20service\x20is\x20not\x20available');return _0x1d3536['exportXLSXByUnitId'](_0x146bab);}async[_0x3b8944(0x13a)](_0x4a2403){const _0x558755=_0x3b8944;return this[_0x558755(0x158)](_0x4a2403);}async['exportXLSXBySnapshotAsync'](_0x22daa8){const _0x3700a9=_0x3b8944,_0x4df14c=this['_injector'][_0x3700a9(0x144)](r[_0x3700a9(0x151)]);if(!_0x4df14c)throw new Error(_0x3700a9(0x14e));return _0x4df14c[_0x3700a9(0x13a)](_0x22daa8);}async[_0x3b8944(0x14b)](_0x20c51a){return this['importDOCXToUnitIdAsync'](_0x20c51a);}async[_0x3b8944(0x155)](_0xb66103){const _0x524fff=_0x3b8944,_0x2bc887=this[_0x524fff(0x157)][_0x524fff(0x144)](r[_0x524fff(0x151)]);if(!_0x2bc887)throw new Error(_0x524fff(0x14e));return _0x2bc887[_0x524fff(0x14f)](_0xb66103,o[_0x524fff(0x146)]);}async[_0x3b8944(0x13f)](_0x3bccc1){const _0x37c4be=_0x3b8944;return this[_0x37c4be(0x13b)](_0x3bccc1);}async['importDOCXToSnapshotAsync'](_0x467659){const _0x1a2a96=_0x3b8944,_0x2f2593=this[_0x1a2a96(0x157)]['get'](r[_0x1a2a96(0x151)]);if(!_0x2f2593)throw new Error(_0x1a2a96(0x14e));return _0x2f2593[_0x1a2a96(0x13f)](_0x467659);}}function _0x4c7f(_0x29a5db,_0x345e79){const _0xf0c2bb=_0xf0c2();return _0x4c7f=function(_0x4c7fd7,_0x2a260b){_0x4c7fd7=_0x4c7fd7-0x136;let _0x40d5d3=_0xf0c2bb[_0x4c7fd7];return _0x40d5d3;},_0x4c7f(_0x29a5db,_0x345e79);}i['FUniver'][_0x3b8944(0x143)](c);