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

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 _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);
1
+ 'use strict';const _0x207181=_0x55f8;function _0x55f8(_0x2581d0,_0x5cfc3d){const _0x408aa9=_0x408a();return _0x55f8=function(_0x55f88e,_0x25dd89){_0x55f88e=_0x55f88e-0x16f;let _0x352a91=_0x408aa9[_0x55f88e];return _0x352a91;},_0x55f8(_0x2581d0,_0x5cfc3d);}(function(_0x4246ed,_0x2e2d15){const _0x472b96=_0x55f8,_0x27239e=_0x4246ed();while(!![]){try{const _0x3d2530=parseInt(_0x472b96(0x171))/0x1+-parseInt(_0x472b96(0x182))/0x2*(parseInt(_0x472b96(0x18c))/0x3)+-parseInt(_0x472b96(0x179))/0x4+-parseInt(_0x472b96(0x183))/0x5*(parseInt(_0x472b96(0x18f))/0x6)+-parseInt(_0x472b96(0x180))/0x7*(parseInt(_0x472b96(0x17a))/0x8)+parseInt(_0x472b96(0x172))/0x9*(-parseInt(_0x472b96(0x18e))/0xa)+parseInt(_0x472b96(0x176))/0xb;if(_0x3d2530===_0x2e2d15)break;else _0x27239e['push'](_0x27239e['shift']());}catch(_0x28382e){_0x27239e['push'](_0x27239e['shift']());}}}(_0x408a,0x9c579));const r=require('@univerjs-pro/exchange-client'),i=require(_0x207181(0x184));var o=(_0x3a8800=>(_0x3a8800[_0x3a8800['UNIVER_UNKNOWN']=0x0]=_0x207181(0x178),_0x3a8800[_0x3a8800[_0x207181(0x189)]=0x1]=_0x207181(0x189),_0x3a8800[_0x3a8800[_0x207181(0x17e)]=0x2]=_0x207181(0x17e),_0x3a8800[_0x3a8800[_0x207181(0x17d)]=0x3]=_0x207181(0x17d),_0x3a8800[_0x3a8800[_0x207181(0x170)]=0x4]=_0x207181(0x170),_0x3a8800[_0x3a8800[_0x207181(0x173)]=-0x1]='UNRECOGNIZED',_0x3a8800))(o||{});class c extends i[_0x207181(0x18d)]{async[_0x207181(0x185)](_0x36cade){const _0x306d35=_0x207181;return this[_0x306d35(0x175)](_0x36cade);}async['importXLSXToUnitIdAsync'](_0x34768d){const _0x186549=_0x207181,_0x4ca04e=this['_injector']['get'](r[_0x186549(0x187)]);if(!_0x4ca04e)throw new Error('The\x20exchange\x20service\x20is\x20not\x20available');return _0x4ca04e[_0x186549(0x17b)](_0x34768d,o[_0x186549(0x17e)]);}async[_0x207181(0x16f)](_0xa20143){return this['importXLSXToSnapshotAsync'](_0xa20143);}async[_0x207181(0x18a)](_0x2de8e0){const _0x5672c8=_0x207181,_0x379bbd=this['_injector'][_0x5672c8(0x177)](r['IExchangeService']);if(!_0x379bbd)throw new Error(_0x5672c8(0x181));return _0x379bbd['importXLSXToSnapshot'](_0x2de8e0);}async[_0x207181(0x17f)](_0x35ae10){return this['exportXLSXByUnitIdAsync'](_0x35ae10);}async['exportXLSXByUnitIdAsync'](_0x38075a){const _0x4b0e74=_0x207181,_0x162b0d=this[_0x4b0e74(0x191)][_0x4b0e74(0x177)](r['IExchangeService']);if(!_0x162b0d)throw new Error(_0x4b0e74(0x181));return _0x162b0d[_0x4b0e74(0x17f)](_0x38075a);}async[_0x207181(0x174)](_0x57d83d){const _0x3b2809=_0x207181;return this[_0x3b2809(0x17c)](_0x57d83d);}async['exportXLSXBySnapshotAsync'](_0x20d136){const _0x1470af=_0x207181,_0x5904d6=this[_0x1470af(0x191)][_0x1470af(0x177)](r[_0x1470af(0x187)]);if(!_0x5904d6)throw new Error(_0x1470af(0x181));return _0x5904d6['exportXLSXBySnapshot'](_0x20d136);}async['importDOCXToUnitId'](_0x9a2ac0){return this['importDOCXToUnitIdAsync'](_0x9a2ac0);}async[_0x207181(0x190)](_0x2f21da){const _0x2eef6f=_0x207181,_0xb7fa0d=this[_0x2eef6f(0x191)][_0x2eef6f(0x177)](r[_0x2eef6f(0x187)]);if(!_0xb7fa0d)throw new Error(_0x2eef6f(0x181));return _0xb7fa0d[_0x2eef6f(0x17b)](_0x2f21da,o[_0x2eef6f(0x189)]);}async[_0x207181(0x188)](_0x3255b3){const _0x2bd6b6=_0x207181;return this[_0x2bd6b6(0x186)](_0x3255b3);}async['importDOCXToSnapshotAsync'](_0x4cdef6){const _0x185b03=_0x207181,_0x471af3=this[_0x185b03(0x191)][_0x185b03(0x177)](r[_0x185b03(0x187)]);if(!_0x471af3)throw new Error(_0x185b03(0x181));return _0x471af3[_0x185b03(0x188)](_0x4cdef6);}}i[_0x207181(0x18d)][_0x207181(0x18b)](c);function _0x408a(){const _0x857008=['UNIVER_SHEET','exportXLSXByUnitId','3098753fzyUqy','The\x20exchange\x20service\x20is\x20not\x20available','5702zSHOaU','1106630vCOrHd','@univerjs/core','importXLSXToUnitId','importDOCXToSnapshotAsync','IExchangeService','importDOCXToSnapshot','UNIVER_DOC','importXLSXToSnapshotAsync','extend','1251wIrkAF','FUniver','50bGRLGZ','6mxpCLU','importDOCXToUnitIdAsync','_injector','importXLSXToSnapshot','UNIVER_PROJECT','403777WHLtJz','539037PfiKCZ','UNRECOGNIZED','exportXLSXBySnapshot','importXLSXToUnitIdAsync','27058328fGEiiY','get','UNIVER_UNKNOWN','283644vvYFqk','8tPsjOm','importFileToUnitId','exportXLSXBySnapshotAsync','UNIVER_SLIDE'];_0x408a=function(){return _0x857008;};return _0x408a();}