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

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 _0x8049fe=_0x8429;function _0x1a0f(){const _0xa56cd0=['@univerjs/core/facade','exportXLSXBySnapshot','exportXLSXByUnitIdAsync','get','UNIVER_SLIDE','6436085AnIfqf','importXLSXToSnapshot','@univerjs-pro/exchange-client','2512052xUHlYI','importFileToUnitId','importDOCXToSnapshotAsync','importXLSXToUnitIdAsync','importXLSXToSnapshotAsync','755262EoCmzv','extend','7ZeQYbG','1153189EKkToJ','exportXLSXByUnitId','_injector','exportXLSXBySnapshotAsync','UNIVER_SHEET','IExchangeService','UNIVER_PROJECT','FUniver','UNIVER_DOC','importDOCXToUnitIdAsync','UNRECOGNIZED','UNIVER_UNKNOWN','3705189ZCcScO','The\x20exchange\x20service\x20is\x20not\x20available','564070jsewUp','184YjJexU','5189586mvsYio'];_0x1a0f=function(){return _0xa56cd0;};return _0x1a0f();}(function(_0x36eec2,_0x40ec71){const _0x3d8e26=_0x8429,_0x3ed08e=_0x36eec2();while(!![]){try{const _0x43c8f8=-parseInt(_0x3d8e26(0xc9))/0x1+-parseInt(_0x3d8e26(0xd7))/0x2+parseInt(_0x3d8e26(0xd5))/0x3+parseInt(_0x3d8e26(0xc1))/0x4+parseInt(_0x3d8e26(0xbe))/0x5+parseInt(_0x3d8e26(0xd9))/0x6*(parseInt(_0x3d8e26(0xc8))/0x7)+-parseInt(_0x3d8e26(0xd8))/0x8*(parseInt(_0x3d8e26(0xc6))/0x9);if(_0x43c8f8===_0x40ec71)break;else _0x3ed08e['push'](_0x3ed08e['shift']());}catch(_0x42edce){_0x3ed08e['push'](_0x3ed08e['shift']());}}}(_0x1a0f,0x9ea9e));const r=require(_0x8049fe(0xc0)),i=require(_0x8049fe(0xda));var o=(_0x128c8f=>(_0x128c8f[_0x128c8f[_0x8049fe(0xd4)]=0x0]=_0x8049fe(0xd4),_0x128c8f[_0x128c8f[_0x8049fe(0xd1)]=0x1]=_0x8049fe(0xd1),_0x128c8f[_0x128c8f[_0x8049fe(0xcd)]=0x2]=_0x8049fe(0xcd),_0x128c8f[_0x128c8f[_0x8049fe(0xbd)]=0x3]=_0x8049fe(0xbd),_0x128c8f[_0x128c8f[_0x8049fe(0xcf)]=0x4]=_0x8049fe(0xcf),_0x128c8f[_0x128c8f[_0x8049fe(0xd3)]=-0x1]='UNRECOGNIZED',_0x128c8f))(o||{});class c extends i[_0x8049fe(0xd0)]{async['importXLSXToUnitId'](_0x24c370){return this['importXLSXToUnitIdAsync'](_0x24c370);}async[_0x8049fe(0xc4)](_0x356897){const _0x3c7b7b=_0x8049fe,_0x66a6ce=this['_injector'][_0x3c7b7b(0xdd)](r['IExchangeService']);if(!_0x66a6ce)throw new Error(_0x3c7b7b(0xd6));return _0x66a6ce[_0x3c7b7b(0xc2)](_0x356897,o[_0x3c7b7b(0xcd)]);}async[_0x8049fe(0xbf)](_0x22fa52){const _0x5e143d=_0x8049fe;return this[_0x5e143d(0xc5)](_0x22fa52);}async[_0x8049fe(0xc5)](_0x5ba9e8){const _0x131517=_0x8049fe,_0x10bc11=this['_injector'][_0x131517(0xdd)](r['IExchangeService']);if(!_0x10bc11)throw new Error(_0x131517(0xd6));return _0x10bc11[_0x131517(0xbf)](_0x5ba9e8);}async[_0x8049fe(0xca)](_0xac1996){return this['exportXLSXByUnitIdAsync'](_0xac1996);}async[_0x8049fe(0xdc)](_0x2a8fc6){const _0x54c7e7=_0x8049fe,_0x43e1c1=this[_0x54c7e7(0xcb)]['get'](r[_0x54c7e7(0xce)]);if(!_0x43e1c1)throw new Error('The\x20exchange\x20service\x20is\x20not\x20available');return _0x43e1c1['exportXLSXByUnitId'](_0x2a8fc6);}async[_0x8049fe(0xdb)](_0x51f494){return this['exportXLSXBySnapshotAsync'](_0x51f494);}async[_0x8049fe(0xcc)](_0x4c5dc7){const _0x23be55=_0x8049fe,_0x1cb8ee=this[_0x23be55(0xcb)][_0x23be55(0xdd)](r[_0x23be55(0xce)]);if(!_0x1cb8ee)throw new Error(_0x23be55(0xd6));return _0x1cb8ee[_0x23be55(0xdb)](_0x4c5dc7);}async['importDOCXToUnitId'](_0x40242e){const _0x1b9d37=_0x8049fe;return this[_0x1b9d37(0xd2)](_0x40242e);}async[_0x8049fe(0xd2)](_0x27c9cf){const _0x3e7fa1=_0x8049fe,_0x2e8b82=this[_0x3e7fa1(0xcb)][_0x3e7fa1(0xdd)](r[_0x3e7fa1(0xce)]);if(!_0x2e8b82)throw new Error(_0x3e7fa1(0xd6));return _0x2e8b82[_0x3e7fa1(0xc2)](_0x27c9cf,o[_0x3e7fa1(0xd1)]);}async['importDOCXToSnapshot'](_0x44b6a0){return this['importDOCXToSnapshotAsync'](_0x44b6a0);}async[_0x8049fe(0xc3)](_0x1e8646){const _0x4ce2f5=_0x8049fe,_0x428119=this[_0x4ce2f5(0xcb)][_0x4ce2f5(0xdd)](r['IExchangeService']);if(!_0x428119)throw new Error(_0x4ce2f5(0xd6));return _0x428119['importDOCXToSnapshot'](_0x1e8646);}}function _0x8429(_0x5611e0,_0x93e433){const _0x1a0f5a=_0x1a0f();return _0x8429=function(_0x84292c,_0x2bc5ee){_0x84292c=_0x84292c-0xbd;let _0x23e80c=_0x1a0f5a[_0x84292c];return _0x23e80c;},_0x8429(_0x5611e0,_0x93e433);}i[_0x8049fe(0xd0)][_0x8049fe(0xc7)](c);