@univerjs-pro/exchange-client 0.5.3-nightly.202501100253 → 0.5.3-nightly.202501101606

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 _0x2e8cf3=_0x1bca;(function(_0x3ddf1e,_0x12cfa6){const _0x48d5ed=_0x1bca,_0x3fa604=_0x3ddf1e();while(!![]){try{const _0x4b6bfa=parseInt(_0x48d5ed(0x195))/0x1*(parseInt(_0x48d5ed(0x18b))/0x2)+parseInt(_0x48d5ed(0x183))/0x3+parseInt(_0x48d5ed(0x17d))/0x4+parseInt(_0x48d5ed(0x18d))/0x5*(-parseInt(_0x48d5ed(0x182))/0x6)+-parseInt(_0x48d5ed(0x18c))/0x7+parseInt(_0x48d5ed(0x187))/0x8*(parseInt(_0x48d5ed(0x18e))/0x9)+-parseInt(_0x48d5ed(0x197))/0xa;if(_0x4b6bfa===_0x12cfa6)break;else _0x3fa604['push'](_0x3fa604['shift']());}catch(_0x3dcec0){_0x3fa604['push'](_0x3fa604['shift']());}}}(_0x11cb,0x93dba));function _0x1bca(_0x4e00ba,_0x5e589a){const _0x11cbf6=_0x11cb();return _0x1bca=function(_0x1bca05,_0x346f62){_0x1bca05=_0x1bca05-0x179;let _0x2c34d9=_0x11cbf6[_0x1bca05];return _0x2c34d9;},_0x1bca(_0x4e00ba,_0x5e589a);}function _0x11cb(){const _0x440377=['importXLSXToUnitId','157wQEteM','_injector','7576940xWhRPX','importDOCXToSnapshot','importFileToUnitId','IExchangeService','FUniver','importXLSXToSnapshotAsync','importXLSXToSnapshot','importDOCXToUnitIdAsync','exportXLSXBySnapshot','3087420zbwKMj','UNIVER_SLIDE','UNIVER_PROJECT','importDOCXToUnitId','importDOCXToSnapshotAsync','12804blNVgS','2290518cgZLhj','UNIVER_SHEET','UNIVER_UNKNOWN','exportXLSXByUnitId','8WEINvo','The\x20exchange\x20service\x20is\x20not\x20available','importXLSXToUnitIdAsync','@univerjs/core','12426dQafju','8437450eSaCVt','1985ZzXFOy','8145594yBocaS','exportXLSXByUnitIdAsync','UNIVER_DOC','extend','exportXLSXBySnapshotAsync','get'];_0x11cb=function(){return _0x440377;};return _0x11cb();}const r=require('@univerjs-pro/exchange-client'),i=require(_0x2e8cf3(0x18a));var o=(_0x1a5e56=>(_0x1a5e56[_0x1a5e56[_0x2e8cf3(0x185)]=0x0]=_0x2e8cf3(0x185),_0x1a5e56[_0x1a5e56[_0x2e8cf3(0x190)]=0x1]=_0x2e8cf3(0x190),_0x1a5e56[_0x1a5e56['UNIVER_SHEET']=0x2]=_0x2e8cf3(0x184),_0x1a5e56[_0x1a5e56[_0x2e8cf3(0x17e)]=0x3]=_0x2e8cf3(0x17e),_0x1a5e56[_0x1a5e56[_0x2e8cf3(0x17f)]=0x4]='UNIVER_PROJECT',_0x1a5e56[_0x1a5e56['UNRECOGNIZED']=-0x1]='UNRECOGNIZED',_0x1a5e56))(o||{});class c extends i[_0x2e8cf3(0x19b)]{async[_0x2e8cf3(0x194)](_0x12065c){const _0x135c9e=_0x2e8cf3;return this[_0x135c9e(0x189)](_0x12065c);}async[_0x2e8cf3(0x189)](_0x449948){const _0x4757d4=_0x2e8cf3,_0x1094d4=this[_0x4757d4(0x196)]['get'](r[_0x4757d4(0x19a)]);if(!_0x1094d4)throw new Error(_0x4757d4(0x188));return _0x1094d4[_0x4757d4(0x199)](_0x449948,o['UNIVER_SHEET']);}async[_0x2e8cf3(0x17a)](_0x3bfc40){const _0x2248c0=_0x2e8cf3;return this[_0x2248c0(0x179)](_0x3bfc40);}async[_0x2e8cf3(0x179)](_0x510a1e){const _0x50c1c5=_0x2e8cf3,_0xae1350=this[_0x50c1c5(0x196)][_0x50c1c5(0x193)](r[_0x50c1c5(0x19a)]);if(!_0xae1350)throw new Error('The\x20exchange\x20service\x20is\x20not\x20available');return _0xae1350[_0x50c1c5(0x17a)](_0x510a1e);}async[_0x2e8cf3(0x186)](_0x224a01){return this['exportXLSXByUnitIdAsync'](_0x224a01);}async[_0x2e8cf3(0x18f)](_0x720bfc){const _0x31d4f5=_0x2e8cf3,_0x20e640=this[_0x31d4f5(0x196)][_0x31d4f5(0x193)](r[_0x31d4f5(0x19a)]);if(!_0x20e640)throw new Error('The\x20exchange\x20service\x20is\x20not\x20available');return _0x20e640[_0x31d4f5(0x186)](_0x720bfc);}async[_0x2e8cf3(0x17c)](_0xc0332e){return this['exportXLSXBySnapshotAsync'](_0xc0332e);}async[_0x2e8cf3(0x192)](_0x11e238){const _0x4c33a9=_0x2e8cf3,_0x5aa0fb=this[_0x4c33a9(0x196)][_0x4c33a9(0x193)](r[_0x4c33a9(0x19a)]);if(!_0x5aa0fb)throw new Error('The\x20exchange\x20service\x20is\x20not\x20available');return _0x5aa0fb[_0x4c33a9(0x17c)](_0x11e238);}async[_0x2e8cf3(0x180)](_0x39aee9){return this['importDOCXToUnitIdAsync'](_0x39aee9);}async[_0x2e8cf3(0x17b)](_0x571cea){const _0x436d78=_0x2e8cf3,_0x1833a0=this[_0x436d78(0x196)][_0x436d78(0x193)](r[_0x436d78(0x19a)]);if(!_0x1833a0)throw new Error('The\x20exchange\x20service\x20is\x20not\x20available');return _0x1833a0[_0x436d78(0x199)](_0x571cea,o['UNIVER_DOC']);}async[_0x2e8cf3(0x198)](_0x569f01){const _0x26909b=_0x2e8cf3;return this[_0x26909b(0x181)](_0x569f01);}async[_0x2e8cf3(0x181)](_0x1cc75d){const _0x5679f8=_0x2e8cf3,_0x1aaa8e=this[_0x5679f8(0x196)][_0x5679f8(0x193)](r[_0x5679f8(0x19a)]);if(!_0x1aaa8e)throw new Error(_0x5679f8(0x188));return _0x1aaa8e[_0x5679f8(0x198)](_0x1cc75d);}}i[_0x2e8cf3(0x19b)][_0x2e8cf3(0x191)](c);
1
+ 'use strict';function _0x4c76(_0x52e0cf,_0x1bb778){const _0x2c8dac=_0x2c8d();return _0x4c76=function(_0x4c7675,_0x2e50f8){_0x4c7675=_0x4c7675-0x162;let _0xe399a6=_0x2c8dac[_0x4c7675];return _0xe399a6;},_0x4c76(_0x52e0cf,_0x1bb778);}const _0x5b57ec=_0x4c76;function _0x2c8d(){const _0x303530=['importDOCXToUnitIdAsync','45024CofiHX','4715JUQxRN','exportXLSXBySnapshot','importXLSXToSnapshot','exportXLSXBySnapshotAsync','exportXLSXByUnitIdAsync','importXLSXToSnapshotAsync','UNIVER_SLIDE','importFileToUnitId','837484ubRfpM','8wCZaPa','UNRECOGNIZED','IExchangeService','The\x20exchange\x20service\x20is\x20not\x20available','_injector','@univerjs-pro/exchange-client','56REcqQn','UNIVER_UNKNOWN','10842sGKpDq','UNIVER_DOC','importDOCXToSnapshot','3119380LtliMV','importXLSXToUnitIdAsync','get','60UomkMz','3937801KMWBlT','FUniver','importXLSXToUnitId','UNIVER_SHEET','@univerjs/core','45cEeDdy','7324440vjDalQ','importDOCXToSnapshotAsync','extend','3162423ehyrRV'];_0x2c8d=function(){return _0x303530;};return _0x2c8d();}(function(_0x5ec9e8,_0x29dd7d){const _0x205000=_0x4c76,_0x19345f=_0x5ec9e8();while(!![]){try{const _0x29964e=parseInt(_0x205000(0x16e))/0x1+-parseInt(_0x205000(0x175))/0x2*(-parseInt(_0x205000(0x165))/0x3)+parseInt(_0x205000(0x184))/0x4+parseInt(_0x205000(0x166))/0x5*(-parseInt(_0x205000(0x177))/0x6)+parseInt(_0x205000(0x17e))/0x7*(-parseInt(_0x205000(0x16f))/0x8)+-parseInt(_0x205000(0x183))/0x9*(-parseInt(_0x205000(0x17a))/0xa)+-parseInt(_0x205000(0x163))/0xb*(parseInt(_0x205000(0x17d))/0xc);if(_0x29964e===_0x29dd7d)break;else _0x19345f['push'](_0x19345f['shift']());}catch(_0x50b7e8){_0x19345f['push'](_0x19345f['shift']());}}}(_0x2c8d,0xe6973));const r=require(_0x5b57ec(0x174)),i=require(_0x5b57ec(0x182));var o=(_0x46859f=>(_0x46859f[_0x46859f[_0x5b57ec(0x176)]=0x0]='UNIVER_UNKNOWN',_0x46859f[_0x46859f[_0x5b57ec(0x178)]=0x1]=_0x5b57ec(0x178),_0x46859f[_0x46859f[_0x5b57ec(0x181)]=0x2]=_0x5b57ec(0x181),_0x46859f[_0x46859f['UNIVER_SLIDE']=0x3]=_0x5b57ec(0x16c),_0x46859f[_0x46859f['UNIVER_PROJECT']=0x4]='UNIVER_PROJECT',_0x46859f[_0x46859f[_0x5b57ec(0x170)]=-0x1]=_0x5b57ec(0x170),_0x46859f))(o||{});class c extends i[_0x5b57ec(0x17f)]{async[_0x5b57ec(0x180)](_0x4cc87b){const _0xbf0d73=_0x5b57ec;return this[_0xbf0d73(0x17b)](_0x4cc87b);}async[_0x5b57ec(0x17b)](_0x2ee6ba){const _0x1d6c0d=_0x5b57ec,_0x5636d9=this[_0x1d6c0d(0x173)]['get'](r[_0x1d6c0d(0x171)]);if(!_0x5636d9)throw new Error(_0x1d6c0d(0x172));return _0x5636d9[_0x1d6c0d(0x16d)](_0x2ee6ba,o[_0x1d6c0d(0x181)]);}async[_0x5b57ec(0x168)](_0x1a966e){const _0x1990d9=_0x5b57ec;return this[_0x1990d9(0x16b)](_0x1a966e);}async[_0x5b57ec(0x16b)](_0x440742){const _0x473572=_0x5b57ec,_0x22bc43=this['_injector'][_0x473572(0x17c)](r[_0x473572(0x171)]);if(!_0x22bc43)throw new Error(_0x473572(0x172));return _0x22bc43[_0x473572(0x168)](_0x440742);}async['exportXLSXByUnitId'](_0x4b281c){const _0x36838b=_0x5b57ec;return this[_0x36838b(0x16a)](_0x4b281c);}async[_0x5b57ec(0x16a)](_0x2db883){const _0x1075a2=_0x5b57ec,_0x67f9d5=this[_0x1075a2(0x173)][_0x1075a2(0x17c)](r[_0x1075a2(0x171)]);if(!_0x67f9d5)throw new Error('The\x20exchange\x20service\x20is\x20not\x20available');return _0x67f9d5['exportXLSXByUnitId'](_0x2db883);}async[_0x5b57ec(0x167)](_0x3cfdc2){const _0x4b8a13=_0x5b57ec;return this[_0x4b8a13(0x169)](_0x3cfdc2);}async[_0x5b57ec(0x169)](_0x2f67e2){const _0x53217d=_0x5b57ec,_0x15ad63=this['_injector'][_0x53217d(0x17c)](r[_0x53217d(0x171)]);if(!_0x15ad63)throw new Error(_0x53217d(0x172));return _0x15ad63['exportXLSXBySnapshot'](_0x2f67e2);}async['importDOCXToUnitId'](_0x333b18){const _0x95e35=_0x5b57ec;return this[_0x95e35(0x164)](_0x333b18);}async[_0x5b57ec(0x164)](_0x410780){const _0x423a1c=_0x5b57ec,_0x5a0849=this[_0x423a1c(0x173)]['get'](r[_0x423a1c(0x171)]);if(!_0x5a0849)throw new Error('The\x20exchange\x20service\x20is\x20not\x20available');return _0x5a0849[_0x423a1c(0x16d)](_0x410780,o[_0x423a1c(0x178)]);}async['importDOCXToSnapshot'](_0x4b64da){const _0x2a72e0=_0x5b57ec;return this[_0x2a72e0(0x185)](_0x4b64da);}async['importDOCXToSnapshotAsync'](_0x3daa88){const _0x21ddb2=_0x5b57ec,_0x406bfc=this['_injector']['get'](r['IExchangeService']);if(!_0x406bfc)throw new Error(_0x21ddb2(0x172));return _0x406bfc[_0x21ddb2(0x179)](_0x3daa88);}}i[_0x5b57ec(0x17f)][_0x5b57ec(0x162)](c);