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

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';function _0xc794(){const _0x466f5d=['extend','1395053lddhOm','get','1486304Zgezya','1825610ZaKsdd','FUniver','16BgcqHE','1496pLbxGx','7758PfGOcg','43719fqtCpQ','The\x20exchange\x20service\x20is\x20not\x20available','77249FkePeO','IExchangeService','UNIVER_DOC','14SYsBzs','importDOCXToSnapshot','importDOCXToUnitIdAsync','UNIVER_SHEET','UNIVER_PROJECT','exportXLSXByUnitId','_injector','UNIVER_SLIDE','@univerjs-pro/exchange-client','importXLSXToSnapshot','exportXLSXByUnitIdAsync','4308aGSTfQ','importXLSXToSnapshotAsync','exportXLSXBySnapshotAsync','7190kspSQz','UNIVER_UNKNOWN','exportXLSXBySnapshot','importXLSXToUnitId','6TcRCme','importDOCXToUnitId','importXLSXToUnitIdAsync','UNRECOGNIZED','1818sANbga'];_0xc794=function(){return _0x466f5d;};return _0xc794();}const _0x27f5a7=_0x4926;(function(_0xacfb21,_0x7f54be){const _0x594d4e=_0x4926,_0x393542=_0xacfb21();while(!![]){try{const _0x24092b=parseInt(_0x594d4e(0x126))/0x1*(-parseInt(_0x594d4e(0x121))/0x2)+parseInt(_0x594d4e(0x11a))/0x3*(parseInt(_0x594d4e(0x122))/0x4)+-parseInt(_0x594d4e(0x11f))/0x5*(parseInt(_0x594d4e(0x116))/0x6)+parseInt(_0x594d4e(0x129))/0x7*(parseInt(_0x594d4e(0x11e))/0x8)+-parseInt(_0x594d4e(0x123))/0x9*(parseInt(_0x594d4e(0x112))/0xa)+parseInt(_0x594d4e(0x11c))/0xb+-parseInt(_0x594d4e(0x134))/0xc*(-parseInt(_0x594d4e(0x124))/0xd);if(_0x24092b===_0x7f54be)break;else _0x393542['push'](_0x393542['shift']());}catch(_0x9a7aad){_0x393542['push'](_0x393542['shift']());}}}(_0xc794,0x506fc));function _0x4926(_0x3a2900,_0x410de3){const _0xc7944c=_0xc794();return _0x4926=function(_0x4926fc,_0x1d823b){_0x4926fc=_0x4926fc-0x111;let _0x3ac1fc=_0xc7944c[_0x4926fc];return _0x3ac1fc;},_0x4926(_0x3a2900,_0x410de3);}const r=require(_0x27f5a7(0x131)),i=require('@univerjs/core');var o=(_0x1ef8dc=>(_0x1ef8dc[_0x1ef8dc[_0x27f5a7(0x113)]=0x0]=_0x27f5a7(0x113),_0x1ef8dc[_0x1ef8dc[_0x27f5a7(0x128)]=0x1]='UNIVER_DOC',_0x1ef8dc[_0x1ef8dc['UNIVER_SHEET']=0x2]=_0x27f5a7(0x12c),_0x1ef8dc[_0x1ef8dc[_0x27f5a7(0x130)]=0x3]=_0x27f5a7(0x130),_0x1ef8dc[_0x1ef8dc[_0x27f5a7(0x12d)]=0x4]='UNIVER_PROJECT',_0x1ef8dc[_0x1ef8dc[_0x27f5a7(0x119)]=-0x1]=_0x27f5a7(0x119),_0x1ef8dc))(o||{});class c extends i[_0x27f5a7(0x120)]{async[_0x27f5a7(0x115)](_0x7ccbda){const _0x549cc5=_0x27f5a7;return this[_0x549cc5(0x118)](_0x7ccbda);}async[_0x27f5a7(0x118)](_0x33bac8){const _0x15959f=_0x27f5a7,_0x2213fe=this['_injector'][_0x15959f(0x11d)](r[_0x15959f(0x127)]);if(!_0x2213fe)throw new Error(_0x15959f(0x125));return _0x2213fe['importFileToUnitId'](_0x33bac8,o['UNIVER_SHEET']);}async[_0x27f5a7(0x132)](_0x4160da){return this['importXLSXToSnapshotAsync'](_0x4160da);}async[_0x27f5a7(0x135)](_0x342e84){const _0x5b34af=_0x27f5a7,_0x395ffe=this[_0x5b34af(0x12f)][_0x5b34af(0x11d)](r[_0x5b34af(0x127)]);if(!_0x395ffe)throw new Error(_0x5b34af(0x125));return _0x395ffe[_0x5b34af(0x132)](_0x342e84);}async[_0x27f5a7(0x12e)](_0x255f6e){const _0x5c5e87=_0x27f5a7;return this[_0x5c5e87(0x133)](_0x255f6e);}async[_0x27f5a7(0x133)](_0x4022f4){const _0x4a56c3=_0x27f5a7,_0x2f51aa=this[_0x4a56c3(0x12f)]['get'](r[_0x4a56c3(0x127)]);if(!_0x2f51aa)throw new Error('The\x20exchange\x20service\x20is\x20not\x20available');return _0x2f51aa['exportXLSXByUnitId'](_0x4022f4);}async[_0x27f5a7(0x114)](_0x4f08d2){const _0x154730=_0x27f5a7;return this[_0x154730(0x111)](_0x4f08d2);}async[_0x27f5a7(0x111)](_0x2813d0){const _0x224181=_0x27f5a7,_0x13df0f=this[_0x224181(0x12f)]['get'](r[_0x224181(0x127)]);if(!_0x13df0f)throw new Error(_0x224181(0x125));return _0x13df0f['exportXLSXBySnapshot'](_0x2813d0);}async[_0x27f5a7(0x117)](_0x203555){const _0x121d40=_0x27f5a7;return this[_0x121d40(0x12b)](_0x203555);}async[_0x27f5a7(0x12b)](_0x33be05){const _0x29043f=_0x27f5a7,_0x1c1a6b=this[_0x29043f(0x12f)][_0x29043f(0x11d)](r[_0x29043f(0x127)]);if(!_0x1c1a6b)throw new Error(_0x29043f(0x125));return _0x1c1a6b['importFileToUnitId'](_0x33be05,o[_0x29043f(0x128)]);}async[_0x27f5a7(0x12a)](_0x471041){return this['importDOCXToSnapshotAsync'](_0x471041);}async['importDOCXToSnapshotAsync'](_0x518130){const _0x208051=_0x27f5a7,_0x340987=this[_0x208051(0x12f)][_0x208051(0x11d)](r[_0x208051(0x127)]);if(!_0x340987)throw new Error(_0x208051(0x125));return _0x340987[_0x208051(0x12a)](_0x518130);}}i['FUniver'][_0x27f5a7(0x11b)](c);
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);