@univerjs-pro/exchange-client 0.6.9-experimental.20250403-d914ddc → 0.6.9-experimental.20250407-5251826

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 _0x2e0b46=_0x2bf6;function _0x2bf6(_0x3979f2,_0x924d1){const _0x16f0d7=_0x16f0();return _0x2bf6=function(_0x2bf63a,_0x2b32ca){_0x2bf63a=_0x2bf63a-0x158;let _0xfaede3=_0x16f0d7[_0x2bf63a];return _0xfaede3;},_0x2bf6(_0x3979f2,_0x924d1);}(function(_0x38f2fa,_0x51b293){const _0x53a2fa=_0x2bf6,_0xfe9e78=_0x38f2fa();while(!![]){try{const _0x3049a0=parseInt(_0x53a2fa(0x164))/0x1+parseInt(_0x53a2fa(0x179))/0x2*(parseInt(_0x53a2fa(0x171))/0x3)+parseInt(_0x53a2fa(0x160))/0x4*(parseInt(_0x53a2fa(0x169))/0x5)+parseInt(_0x53a2fa(0x165))/0x6+parseInt(_0x53a2fa(0x15c))/0x7+parseInt(_0x53a2fa(0x159))/0x8*(parseInt(_0x53a2fa(0x158))/0x9)+-parseInt(_0x53a2fa(0x15e))/0xa*(parseInt(_0x53a2fa(0x163))/0xb);if(_0x3049a0===_0x51b293)break;else _0xfe9e78['push'](_0xfe9e78['shift']());}catch(_0x5948f0){_0xfe9e78['push'](_0xfe9e78['shift']());}}}(_0x16f0,0xc1c35));function _0x16f0(){const _0x527eb4=['UNIVER_SHEET','importXLSXToUnitId','UNIVER_SLIDE','get','exportXLSXByUnitId','IExchangeService','FUniver','21RZDmrm','_injector','importDOCXToSnapshotAsync','@univerjs/core/facade','importDOCXToUnitIdAsync','importDOCXToUnitId','UNIVER_PROJECT','UNRECOGNIZED','170278eHtlMQ','importXLSXToUnitIdAsync','importDOCXToSnapshot','18153lkuLrq','3064NfNlfM','importFileToUnitId','@univerjs-pro/exchange-client','5621497OaSgpZ','The\x20exchange\x20service\x20is\x20not\x20available','10BUYeQi','exportXLSXByUnitIdAsync','5850124aJKAVT','exportXLSXBySnapshot','importXLSXToSnapshotAsync','46914571FRoJzX','654668zGonSc','4619160TXSniY','importXLSXToSnapshot','UNIVER_DOC','exportXLSXBySnapshotAsync','5kuiJyW'];_0x16f0=function(){return _0x527eb4;};return _0x16f0();}const r=require(_0x2e0b46(0x15b)),i=require(_0x2e0b46(0x174));var o=(_0x444b9f=>(_0x444b9f[_0x444b9f['UNIVER_UNKNOWN']=0x0]='UNIVER_UNKNOWN',_0x444b9f[_0x444b9f[_0x2e0b46(0x167)]=0x1]='UNIVER_DOC',_0x444b9f[_0x444b9f[_0x2e0b46(0x16a)]=0x2]=_0x2e0b46(0x16a),_0x444b9f[_0x444b9f[_0x2e0b46(0x16c)]=0x3]=_0x2e0b46(0x16c),_0x444b9f[_0x444b9f[_0x2e0b46(0x177)]=0x4]=_0x2e0b46(0x177),_0x444b9f[_0x444b9f[_0x2e0b46(0x178)]=-0x1]=_0x2e0b46(0x178),_0x444b9f))(o||{});class c extends i[_0x2e0b46(0x170)]{async[_0x2e0b46(0x16b)](_0x576227){const _0x117b09=_0x2e0b46;return this[_0x117b09(0x17a)](_0x576227);}async[_0x2e0b46(0x17a)](_0x12f91b){const _0x7f478d=_0x2e0b46,_0x3af799=this[_0x7f478d(0x172)]['get'](r['IExchangeService']);if(!_0x3af799)throw new Error(_0x7f478d(0x15d));return _0x3af799[_0x7f478d(0x15a)](_0x12f91b,o[_0x7f478d(0x16a)]);}async[_0x2e0b46(0x166)](_0x4babc2){const _0x72fec4=_0x2e0b46;return this[_0x72fec4(0x162)](_0x4babc2);}async['importXLSXToSnapshotAsync'](_0x3490d9){const _0x392eee=_0x2e0b46,_0x3bdefb=this[_0x392eee(0x172)][_0x392eee(0x16d)](r[_0x392eee(0x16f)]);if(!_0x3bdefb)throw new Error(_0x392eee(0x15d));return _0x3bdefb['importXLSXToSnapshot'](_0x3490d9);}async[_0x2e0b46(0x16e)](_0x1c0a6c){const _0x42b296=_0x2e0b46;return this[_0x42b296(0x15f)](_0x1c0a6c);}async[_0x2e0b46(0x15f)](_0x1bc0c6){const _0x13b34a=_0x2e0b46,_0x44c153=this[_0x13b34a(0x172)]['get'](r[_0x13b34a(0x16f)]);if(!_0x44c153)throw new Error(_0x13b34a(0x15d));return _0x44c153['exportXLSXByUnitId'](_0x1bc0c6);}async[_0x2e0b46(0x161)](_0x3a1b37){const _0x4d19c0=_0x2e0b46;return this[_0x4d19c0(0x168)](_0x3a1b37);}async[_0x2e0b46(0x168)](_0xcc4bd1){const _0x447b41=_0x2e0b46,_0x54e19b=this[_0x447b41(0x172)][_0x447b41(0x16d)](r[_0x447b41(0x16f)]);if(!_0x54e19b)throw new Error(_0x447b41(0x15d));return _0x54e19b['exportXLSXBySnapshot'](_0xcc4bd1);}async[_0x2e0b46(0x176)](_0x217885){const _0x193003=_0x2e0b46;return this[_0x193003(0x175)](_0x217885);}async[_0x2e0b46(0x175)](_0x145ca6){const _0x2c222a=_0x2e0b46,_0x539e8a=this[_0x2c222a(0x172)][_0x2c222a(0x16d)](r[_0x2c222a(0x16f)]);if(!_0x539e8a)throw new Error(_0x2c222a(0x15d));return _0x539e8a[_0x2c222a(0x15a)](_0x145ca6,o[_0x2c222a(0x167)]);}async['importDOCXToSnapshot'](_0xd1af7b){const _0x13af8d=_0x2e0b46;return this[_0x13af8d(0x173)](_0xd1af7b);}async[_0x2e0b46(0x173)](_0x178fa8){const _0x324fba=_0x2e0b46,_0x103dde=this['_injector'][_0x324fba(0x16d)](r[_0x324fba(0x16f)]);if(!_0x103dde)throw new Error(_0x324fba(0x15d));return _0x103dde[_0x324fba(0x17b)](_0x178fa8);}}i[_0x2e0b46(0x170)]['extend'](c);
1
+ 'use strict';function _0x22e8(){const _0x46a4d2=['12089lxuLgm','3134nemSTO','importXLSXToUnitIdAsync','237750rdadPP','89010FkyBkp','importDOCXToSnapshotAsync','UNIVER_SLIDE','173ZTiDzb','_injector','exportXLSXByUnitId','UNIVER_PROJECT','488WDCkEU','exportXLSXBySnapshot','UNIVER_UNKNOWN','UNRECOGNIZED','81683vSeDKK','importDOCXToUnitId','5568pqHtOC','importXLSXToSnapshot','importDOCXToSnapshot','The\x20exchange\x20service\x20is\x20not\x20available','13518530gPWRQF','extend','get','60XDKwBD','UNIVER_SHEET','9dfVUIy','@univerjs/core/facade','UNIVER_DOC','2574591eoqlSX','importXLSXToSnapshotAsync','IExchangeService','exportXLSXByUnitIdAsync','importXLSXToUnitId','importDOCXToUnitIdAsync','exportXLSXBySnapshotAsync'];_0x22e8=function(){return _0x46a4d2;};return _0x22e8();}function _0x4a10(_0x24c908,_0x42ccd7){const _0x22e8b7=_0x22e8();return _0x4a10=function(_0x4a109a,_0x93912e){_0x4a109a=_0x4a109a-0xad;let _0x17d80b=_0x22e8b7[_0x4a109a];return _0x17d80b;},_0x4a10(_0x24c908,_0x42ccd7);}const _0x77bde6=_0x4a10;(function(_0x59305d,_0x439a52){const _0x157b9e=_0x4a10,_0x2dfe10=_0x59305d();while(!![]){try{const _0x43d540=-parseInt(_0x157b9e(0xc3))/0x1*(parseInt(_0x157b9e(0xbd))/0x2)+-parseInt(_0x157b9e(0xb5))/0x3+parseInt(_0x157b9e(0xb0))/0x4*(parseInt(_0x157b9e(0xbf))/0x5)+parseInt(_0x157b9e(0xc0))/0x6+-parseInt(_0x157b9e(0xcb))/0x7*(parseInt(_0x157b9e(0xc7))/0x8)+-parseInt(_0x157b9e(0xb2))/0x9*(-parseInt(_0x157b9e(0xad))/0xa)+parseInt(_0x157b9e(0xbc))/0xb*(parseInt(_0x157b9e(0xcd))/0xc);if(_0x43d540===_0x439a52)break;else _0x2dfe10['push'](_0x2dfe10['shift']());}catch(_0xb5b71b){_0x2dfe10['push'](_0x2dfe10['shift']());}}}(_0x22e8,0xb6ce9));const r=require('@univerjs-pro/exchange-client'),i=require(_0x77bde6(0xb3));var o=(_0xd12385=>(_0xd12385[_0xd12385[_0x77bde6(0xc9)]=0x0]='UNIVER_UNKNOWN',_0xd12385[_0xd12385[_0x77bde6(0xb4)]=0x1]=_0x77bde6(0xb4),_0xd12385[_0xd12385[_0x77bde6(0xb1)]=0x2]='UNIVER_SHEET',_0xd12385[_0xd12385[_0x77bde6(0xc2)]=0x3]=_0x77bde6(0xc2),_0xd12385[_0xd12385['UNIVER_PROJECT']=0x4]=_0x77bde6(0xc6),_0xd12385[_0xd12385[_0x77bde6(0xca)]=-0x1]=_0x77bde6(0xca),_0xd12385))(o||{});class c extends i['FUniver']{async[_0x77bde6(0xb9)](_0xe85eaf){const _0x45d969=_0x77bde6;return this[_0x45d969(0xbe)](_0xe85eaf);}async[_0x77bde6(0xbe)](_0x43b5e5){const _0x490ffd=_0x77bde6,_0x2dd885=this[_0x490ffd(0xc4)][_0x490ffd(0xaf)](r[_0x490ffd(0xb7)]);if(!_0x2dd885)throw new Error(_0x490ffd(0xd0));return _0x2dd885['importFileToUnitId'](_0x43b5e5,o[_0x490ffd(0xb1)]);}async[_0x77bde6(0xce)](_0x43b5f6){const _0x46b5e5=_0x77bde6;return this[_0x46b5e5(0xb6)](_0x43b5f6);}async[_0x77bde6(0xb6)](_0x31b505){const _0x2dcc3b=_0x77bde6,_0x3c2f96=this['_injector'][_0x2dcc3b(0xaf)](r[_0x2dcc3b(0xb7)]);if(!_0x3c2f96)throw new Error('The\x20exchange\x20service\x20is\x20not\x20available');return _0x3c2f96['importXLSXToSnapshot'](_0x31b505);}async['exportXLSXByUnitId'](_0x189369){const _0x433d72=_0x77bde6;return this[_0x433d72(0xb8)](_0x189369);}async[_0x77bde6(0xb8)](_0x4de893){const _0x396946=_0x77bde6,_0x5b7612=this[_0x396946(0xc4)][_0x396946(0xaf)](r[_0x396946(0xb7)]);if(!_0x5b7612)throw new Error('The\x20exchange\x20service\x20is\x20not\x20available');return _0x5b7612[_0x396946(0xc5)](_0x4de893);}async['exportXLSXBySnapshot'](_0x3d5121){const _0x1a6f61=_0x77bde6;return this[_0x1a6f61(0xbb)](_0x3d5121);}async[_0x77bde6(0xbb)](_0x2cf2f3){const _0x74d799=_0x77bde6,_0x862eb8=this[_0x74d799(0xc4)]['get'](r[_0x74d799(0xb7)]);if(!_0x862eb8)throw new Error(_0x74d799(0xd0));return _0x862eb8[_0x74d799(0xc8)](_0x2cf2f3);}async[_0x77bde6(0xcc)](_0x4aa48d){const _0x2b875a=_0x77bde6;return this[_0x2b875a(0xba)](_0x4aa48d);}async[_0x77bde6(0xba)](_0x5cd839){const _0x1e63cb=_0x77bde6,_0x5e7004=this[_0x1e63cb(0xc4)]['get'](r[_0x1e63cb(0xb7)]);if(!_0x5e7004)throw new Error(_0x1e63cb(0xd0));return _0x5e7004['importFileToUnitId'](_0x5cd839,o[_0x1e63cb(0xb4)]);}async[_0x77bde6(0xcf)](_0x211756){const _0x2ecf48=_0x77bde6;return this[_0x2ecf48(0xc1)](_0x211756);}async[_0x77bde6(0xc1)](_0x4d538e){const _0x3b7365=_0x77bde6,_0x3b00ce=this[_0x3b7365(0xc4)][_0x3b7365(0xaf)](r[_0x3b7365(0xb7)]);if(!_0x3b00ce)throw new Error(_0x3b7365(0xd0));return _0x3b00ce[_0x3b7365(0xcf)](_0x4d538e);}}i['FUniver'][_0x77bde6(0xae)](c);