@univerjs-pro/exchange-client 0.5.3-nightly.202501060906 → 0.5.3-nightly.202501070959

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 _0x5e5c56=_0x1394;(function(_0x328a27,_0x277192){const _0x1c28e0=_0x1394,_0x279c45=_0x328a27();while(!![]){try{const _0x6a7ab8=-parseInt(_0x1c28e0(0x1c1))/0x1*(-parseInt(_0x1c28e0(0x1d6))/0x2)+parseInt(_0x1c28e0(0x1d2))/0x3*(parseInt(_0x1c28e0(0x1d0))/0x4)+parseInt(_0x1c28e0(0x1dd))/0x5*(parseInt(_0x1c28e0(0x1db))/0x6)+-parseInt(_0x1c28e0(0x1ce))/0x7*(-parseInt(_0x1c28e0(0x1da))/0x8)+parseInt(_0x1c28e0(0x1cc))/0x9+parseInt(_0x1c28e0(0x1d4))/0xa+-parseInt(_0x1c28e0(0x1d5))/0xb*(parseInt(_0x1c28e0(0x1d3))/0xc);if(_0x6a7ab8===_0x277192)break;else _0x279c45['push'](_0x279c45['shift']());}catch(_0x3192be){_0x279c45['push'](_0x279c45['shift']());}}}(_0x489e,0xcf712));function _0x489e(){const _0x45a016=['UNIVER_DOC','4000888EvwjDe','2938818ylibxo','get','10dWPEjc','@univerjs/core','exportXLSXByUnitId','903851sTtXTn','UNIVER_UNKNOWN','importFileToUnitId','_injector','FUniver','The\x20exchange\x20service\x20is\x20not\x20available','importXLSXToUnitId','UNIVER_PROJECT','UNIVER_SHEET','UNRECOGNIZED','UNIVER_SLIDE','5336523PchmcP','exportXLSXBySnapshot','21KZnPpS','importDOCXToUnitId','2332EBiehU','importDOCXToSnapshot','4227kNvvkY','1644EahkAH','14373790felcgq','432443GPDczl','2ppctbV','IExchangeService','importXLSXToSnapshot'];_0x489e=function(){return _0x45a016;};return _0x489e();}const c=require(_0x5e5c56(0x1bf)),n=require('@univerjs-pro/exchange-client');var i=(_0x586830=>(_0x586830[_0x586830[_0x5e5c56(0x1c2)]=0x0]='UNIVER_UNKNOWN',_0x586830[_0x586830[_0x5e5c56(0x1d9)]=0x1]=_0x5e5c56(0x1d9),_0x586830[_0x586830['UNIVER_SHEET']=0x2]=_0x5e5c56(0x1c9),_0x586830[_0x586830['UNIVER_SLIDE']=0x3]=_0x5e5c56(0x1cb),_0x586830[_0x586830[_0x5e5c56(0x1c8)]=0x4]=_0x5e5c56(0x1c8),_0x586830[_0x586830[_0x5e5c56(0x1ca)]=-0x1]=_0x5e5c56(0x1ca),_0x586830))(i||{});function _0x1394(_0x45dda4,_0x4a3406){const _0x489e03=_0x489e();return _0x1394=function(_0x13942a,_0x5e98df){_0x13942a=_0x13942a-0x1bf;let _0x32e558=_0x489e03[_0x13942a];return _0x32e558;},_0x1394(_0x45dda4,_0x4a3406);}class o extends c[_0x5e5c56(0x1c5)]{async[_0x5e5c56(0x1c7)](_0x3eb637){const _0x57e31f=_0x5e5c56,_0x1313bb=this[_0x57e31f(0x1c4)][_0x57e31f(0x1dc)](n['IExchangeService']);if(!_0x1313bb)throw new Error(_0x57e31f(0x1c6));return _0x1313bb[_0x57e31f(0x1c3)](_0x3eb637,i[_0x57e31f(0x1c9)]);}async['importXLSXToSnapshot'](_0x597478){const _0x155a35=_0x5e5c56,_0x5cf334=this[_0x155a35(0x1c4)][_0x155a35(0x1dc)](n[_0x155a35(0x1d7)]);if(!_0x5cf334)throw new Error(_0x155a35(0x1c6));return _0x5cf334[_0x155a35(0x1d8)](_0x597478);}async[_0x5e5c56(0x1c0)](_0x2db3dc){const _0x2ac32f=_0x5e5c56,_0xff27bb=this[_0x2ac32f(0x1c4)]['get'](n[_0x2ac32f(0x1d7)]);if(!_0xff27bb)throw new Error(_0x2ac32f(0x1c6));return _0xff27bb[_0x2ac32f(0x1c0)](_0x2db3dc);}async[_0x5e5c56(0x1cd)](_0x37b9ce){const _0x28e1cb=_0x5e5c56,_0x3eff30=this['_injector'][_0x28e1cb(0x1dc)](n[_0x28e1cb(0x1d7)]);if(!_0x3eff30)throw new Error('The\x20exchange\x20service\x20is\x20not\x20available');return _0x3eff30[_0x28e1cb(0x1cd)](_0x37b9ce);}async[_0x5e5c56(0x1cf)](_0x275481){const _0x13787b=_0x5e5c56,_0x2c4eb6=this[_0x13787b(0x1c4)]['get'](n[_0x13787b(0x1d7)]);if(!_0x2c4eb6)throw new Error('The\x20exchange\x20service\x20is\x20not\x20available');return _0x2c4eb6[_0x13787b(0x1c3)](_0x275481,i[_0x13787b(0x1d9)]);}async[_0x5e5c56(0x1d1)](_0x4433a9){const _0x3f523a=_0x5e5c56,_0x5a1249=this[_0x3f523a(0x1c4)][_0x3f523a(0x1dc)](n[_0x3f523a(0x1d7)]);if(!_0x5a1249)throw new Error('The\x20exchange\x20service\x20is\x20not\x20available');return _0x5a1249['importDOCXToSnapshot'](_0x4433a9);}}c[_0x5e5c56(0x1c5)]['extend'](o);
1
+ 'use strict';const _0x16e65c=_0x4e85;(function(_0x20c00b,_0xa1d88){const _0x35176b=_0x4e85,_0x4bb357=_0x20c00b();while(!![]){try{const _0x598f78=parseInt(_0x35176b(0x1d1))/0x1+-parseInt(_0x35176b(0x1bc))/0x2*(-parseInt(_0x35176b(0x1db))/0x3)+-parseInt(_0x35176b(0x1d8))/0x4*(-parseInt(_0x35176b(0x1c5))/0x5)+parseInt(_0x35176b(0x1dd))/0x6*(-parseInt(_0x35176b(0x1cd))/0x7)+-parseInt(_0x35176b(0x1be))/0x8*(-parseInt(_0x35176b(0x1d6))/0x9)+-parseInt(_0x35176b(0x1bf))/0xa+-parseInt(_0x35176b(0x1c6))/0xb;if(_0x598f78===_0xa1d88)break;else _0x4bb357['push'](_0x4bb357['shift']());}catch(_0x274b8a){_0x4bb357['push'](_0x4bb357['shift']());}}}(_0x20c9,0xa1f1a));function _0x20c9(){const _0x4723bf=['The\x20exchange\x20service\x20is\x20not\x20available','14478bTOXTh','UNIVER_DOC','UNRECOGNIZED','2UCIEbI','UNIVER_UNKNOWN','24QlAgXg','2640700QRELsl','get','importDOCXToSnapshotAsync','@univerjs-pro/exchange-client','exportXLSXBySnapshotAsync','UNIVER_PROJECT','215fUxNbL','2153899pEnAqn','exportXLSXByUnitIdAsync','UNIVER_SLIDE','_injector','importXLSXToSnapshotAsync','UNIVER_SHEET','exportXLSXBySnapshot','1127VjnNda','IExchangeService','importFileToUnitId','importXLSXToUnitIdAsync','126933jadbcY','exportXLSXByUnitId','importXLSXToSnapshot','importXLSXToUnitId','importDOCXToUnitIdAsync','1368261MvTmxQ','FUniver','49108jEbarD','extend','importDOCXToSnapshot','1202289EetkTh'];_0x20c9=function(){return _0x4723bf;};return _0x20c9();}function _0x4e85(_0x1960f1,_0x55e622){const _0x20c9f8=_0x20c9();return _0x4e85=function(_0x4e85df,_0x523c0){_0x4e85df=_0x4e85df-0x1bc;let _0x1ba364=_0x20c9f8[_0x4e85df];return _0x1ba364;},_0x4e85(_0x1960f1,_0x55e622);}const r=require(_0x16e65c(0x1c2)),i=require('@univerjs/core');var o=(_0x2e7d43=>(_0x2e7d43[_0x2e7d43[_0x16e65c(0x1bd)]=0x0]=_0x16e65c(0x1bd),_0x2e7d43[_0x2e7d43[_0x16e65c(0x1de)]=0x1]='UNIVER_DOC',_0x2e7d43[_0x2e7d43[_0x16e65c(0x1cb)]=0x2]=_0x16e65c(0x1cb),_0x2e7d43[_0x2e7d43[_0x16e65c(0x1c8)]=0x3]=_0x16e65c(0x1c8),_0x2e7d43[_0x2e7d43[_0x16e65c(0x1c4)]=0x4]='UNIVER_PROJECT',_0x2e7d43[_0x2e7d43[_0x16e65c(0x1df)]=-0x1]=_0x16e65c(0x1df),_0x2e7d43))(o||{});class c extends i[_0x16e65c(0x1d7)]{async[_0x16e65c(0x1d4)](_0x1708fb){return this['importXLSXToUnitIdAsync'](_0x1708fb);}async[_0x16e65c(0x1d0)](_0x722871){const _0x5c0b30=_0x16e65c,_0xd0c144=this[_0x5c0b30(0x1c9)][_0x5c0b30(0x1c0)](r[_0x5c0b30(0x1ce)]);if(!_0xd0c144)throw new Error(_0x5c0b30(0x1dc));return _0xd0c144['importFileToUnitId'](_0x722871,o[_0x5c0b30(0x1cb)]);}async['importXLSXToSnapshot'](_0x585b36){const _0x4a72c3=_0x16e65c;return this[_0x4a72c3(0x1ca)](_0x585b36);}async[_0x16e65c(0x1ca)](_0x1a053e){const _0x327f21=_0x16e65c,_0x7076ba=this[_0x327f21(0x1c9)][_0x327f21(0x1c0)](r['IExchangeService']);if(!_0x7076ba)throw new Error(_0x327f21(0x1dc));return _0x7076ba[_0x327f21(0x1d3)](_0x1a053e);}async[_0x16e65c(0x1d2)](_0xd04ac0){const _0x4c393a=_0x16e65c;return this[_0x4c393a(0x1c7)](_0xd04ac0);}async['exportXLSXByUnitIdAsync'](_0x295b40){const _0x906029=_0x16e65c,_0x43728e=this[_0x906029(0x1c9)]['get'](r[_0x906029(0x1ce)]);if(!_0x43728e)throw new Error('The\x20exchange\x20service\x20is\x20not\x20available');return _0x43728e['exportXLSXByUnitId'](_0x295b40);}async[_0x16e65c(0x1cc)](_0x22da16){const _0x3c5bc4=_0x16e65c;return this[_0x3c5bc4(0x1c3)](_0x22da16);}async[_0x16e65c(0x1c3)](_0x406a6e){const _0x542bf4=_0x16e65c,_0x1c92e4=this[_0x542bf4(0x1c9)]['get'](r[_0x542bf4(0x1ce)]);if(!_0x1c92e4)throw new Error('The\x20exchange\x20service\x20is\x20not\x20available');return _0x1c92e4[_0x542bf4(0x1cc)](_0x406a6e);}async['importDOCXToUnitId'](_0x1d2561){const _0x36a2c7=_0x16e65c;return this[_0x36a2c7(0x1d5)](_0x1d2561);}async[_0x16e65c(0x1d5)](_0x1f7e41){const _0x1c2fa0=_0x16e65c,_0x4dc920=this[_0x1c2fa0(0x1c9)][_0x1c2fa0(0x1c0)](r['IExchangeService']);if(!_0x4dc920)throw new Error(_0x1c2fa0(0x1dc));return _0x4dc920[_0x1c2fa0(0x1cf)](_0x1f7e41,o['UNIVER_DOC']);}async['importDOCXToSnapshot'](_0x4d139b){const _0x38466d=_0x16e65c;return this[_0x38466d(0x1c1)](_0x4d139b);}async[_0x16e65c(0x1c1)](_0x4b5da7){const _0x3338d5=_0x16e65c,_0x1e6b65=this[_0x3338d5(0x1c9)][_0x3338d5(0x1c0)](r[_0x3338d5(0x1ce)]);if(!_0x1e6b65)throw new Error(_0x3338d5(0x1dc));return _0x1e6b65[_0x3338d5(0x1da)](_0x4b5da7);}}i[_0x16e65c(0x1d7)][_0x16e65c(0x1d9)](c);