@univerjs-pro/exchange-client 0.6.7-experimental.20250331-45dde91 → 0.6.7-experimental.20250331-958639c

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 _0x27945c=_0xf07d;(function(_0x4f3396,_0x141195){const _0x378f79=_0xf07d,_0x3ecb34=_0x4f3396();while(!![]){try{const _0x343d81=-parseInt(_0x378f79(0xb2))/0x1*(-parseInt(_0x378f79(0xb3))/0x2)+-parseInt(_0x378f79(0xbd))/0x3+-parseInt(_0x378f79(0xc4))/0x4+parseInt(_0x378f79(0xca))/0x5+-parseInt(_0x378f79(0xc3))/0x6+parseInt(_0x378f79(0xb5))/0x7*(-parseInt(_0x378f79(0xb1))/0x8)+parseInt(_0x378f79(0xae))/0x9;if(_0x343d81===_0x141195)break;else _0x3ecb34['push'](_0x3ecb34['shift']());}catch(_0x330e2f){_0x3ecb34['push'](_0x3ecb34['shift']());}}}(_0x35de,0xb27b0));const r=require(_0x27945c(0xbe)),i=require(_0x27945c(0xc8));var o=(_0x2bf27d=>(_0x2bf27d[_0x2bf27d[_0x27945c(0xcb)]=0x0]=_0x27945c(0xcb),_0x2bf27d[_0x2bf27d[_0x27945c(0xc5)]=0x1]=_0x27945c(0xc5),_0x2bf27d[_0x2bf27d[_0x27945c(0xcc)]=0x2]=_0x27945c(0xcc),_0x2bf27d[_0x2bf27d['UNIVER_SLIDE']=0x3]=_0x27945c(0xb4),_0x2bf27d[_0x2bf27d['UNIVER_PROJECT']=0x4]='UNIVER_PROJECT',_0x2bf27d[_0x2bf27d[_0x27945c(0xb8)]=-0x1]=_0x27945c(0xb8),_0x2bf27d))(o||{});function _0xf07d(_0x3a839a,_0x46f92d){const _0x35deb7=_0x35de();return _0xf07d=function(_0xf07dfa,_0x3b9b8b){_0xf07dfa=_0xf07dfa-0xac;let _0x5bf239=_0x35deb7[_0xf07dfa];return _0x5bf239;},_0xf07d(_0x3a839a,_0x46f92d);}function _0x35de(){const _0x1e08b1=['importXLSXToSnapshotAsync','importFileToUnitId','exportXLSXBySnapshotAsync','importDOCXToSnapshotAsync','8754942nloFEw','4127060xOecby','UNIVER_DOC','importDOCXToSnapshot','importDOCXToUnitId','@univerjs/core/facade','exportXLSXBySnapshot','73900IxkOPY','UNIVER_UNKNOWN','UNIVER_SHEET','FUniver','The\x20exchange\x20service\x20is\x20not\x20available','exportXLSXByUnitIdAsync','41594823csNXjd','importDOCXToUnitIdAsync','importXLSXToSnapshot','8bWOWhA','798bjcKkX','2176ThEFWo','UNIVER_SLIDE','5811358pBgKWS','get','IExchangeService','UNRECOGNIZED','_injector','exportXLSXByUnitId','importXLSXToUnitIdAsync','extend','4357437jpmBQq','@univerjs-pro/exchange-client'];_0x35de=function(){return _0x1e08b1;};return _0x35de();}class c extends i[_0x27945c(0xcd)]{async['importXLSXToUnitId'](_0x55be7e){return this['importXLSXToUnitIdAsync'](_0x55be7e);}async[_0x27945c(0xbb)](_0x176a42){const _0x2cd822=_0x27945c,_0x12d566=this[_0x2cd822(0xb9)]['get'](r[_0x2cd822(0xb7)]);if(!_0x12d566)throw new Error('The\x20exchange\x20service\x20is\x20not\x20available');return _0x12d566[_0x2cd822(0xc0)](_0x176a42,o[_0x2cd822(0xcc)]);}async[_0x27945c(0xb0)](_0x175d36){const _0x1510f6=_0x27945c;return this[_0x1510f6(0xbf)](_0x175d36);}async[_0x27945c(0xbf)](_0x368d64){const _0x374a86=_0x27945c,_0x1db679=this[_0x374a86(0xb9)][_0x374a86(0xb6)](r['IExchangeService']);if(!_0x1db679)throw new Error(_0x374a86(0xac));return _0x1db679[_0x374a86(0xb0)](_0x368d64);}async[_0x27945c(0xba)](_0x95846b){return this['exportXLSXByUnitIdAsync'](_0x95846b);}async[_0x27945c(0xad)](_0x5561b9){const _0x2261bd=_0x27945c,_0x15bf8c=this[_0x2261bd(0xb9)][_0x2261bd(0xb6)](r['IExchangeService']);if(!_0x15bf8c)throw new Error(_0x2261bd(0xac));return _0x15bf8c[_0x2261bd(0xba)](_0x5561b9);}async[_0x27945c(0xc9)](_0x2981eb){const _0x3ce094=_0x27945c;return this[_0x3ce094(0xc1)](_0x2981eb);}async[_0x27945c(0xc1)](_0x3fb30e){const _0x28156b=_0x27945c,_0x294abf=this[_0x28156b(0xb9)][_0x28156b(0xb6)](r[_0x28156b(0xb7)]);if(!_0x294abf)throw new Error(_0x28156b(0xac));return _0x294abf[_0x28156b(0xc9)](_0x3fb30e);}async[_0x27945c(0xc7)](_0x2c038e){const _0x3d7b89=_0x27945c;return this[_0x3d7b89(0xaf)](_0x2c038e);}async[_0x27945c(0xaf)](_0x3ed013){const _0x2874e5=_0x27945c,_0x34dea2=this[_0x2874e5(0xb9)][_0x2874e5(0xb6)](r[_0x2874e5(0xb7)]);if(!_0x34dea2)throw new Error(_0x2874e5(0xac));return _0x34dea2[_0x2874e5(0xc0)](_0x3ed013,o[_0x2874e5(0xc5)]);}async[_0x27945c(0xc6)](_0x5b85a3){const _0x31466b=_0x27945c;return this[_0x31466b(0xc2)](_0x5b85a3);}async[_0x27945c(0xc2)](_0x1b1327){const _0xbc181a=_0x27945c,_0x296797=this[_0xbc181a(0xb9)]['get'](r['IExchangeService']);if(!_0x296797)throw new Error('The\x20exchange\x20service\x20is\x20not\x20available');return _0x296797['importDOCXToSnapshot'](_0x1b1327);}}i[_0x27945c(0xcd)][_0x27945c(0xbc)](c);
1
+ 'use strict';function _0x2bd2(_0x44ac48,_0x48a4d9){const _0x37986f=_0x3798();return _0x2bd2=function(_0x2bd264,_0xef7323){_0x2bd264=_0x2bd264-0xa6;let _0x49c212=_0x37986f[_0x2bd264];return _0x49c212;},_0x2bd2(_0x44ac48,_0x48a4d9);}const _0x535da0=_0x2bd2;(function(_0x3df710,_0x4622a8){const _0x38f5a3=_0x2bd2,_0x3c73af=_0x3df710();while(!![]){try{const _0x59bf30=parseInt(_0x38f5a3(0xb3))/0x1*(parseInt(_0x38f5a3(0xa8))/0x2)+-parseInt(_0x38f5a3(0xa7))/0x3*(parseInt(_0x38f5a3(0xb5))/0x4)+-parseInt(_0x38f5a3(0xbf))/0x5*(-parseInt(_0x38f5a3(0xb9))/0x6)+parseInt(_0x38f5a3(0xc1))/0x7+-parseInt(_0x38f5a3(0xad))/0x8*(-parseInt(_0x38f5a3(0xc0))/0x9)+-parseInt(_0x38f5a3(0xc9))/0xa*(-parseInt(_0x38f5a3(0xbc))/0xb)+-parseInt(_0x38f5a3(0xc3))/0xc*(parseInt(_0x38f5a3(0xae))/0xd);if(_0x59bf30===_0x4622a8)break;else _0x3c73af['push'](_0x3c73af['shift']());}catch(_0x44991c){_0x3c73af['push'](_0x3c73af['shift']());}}}(_0x3798,0x74482));const r=require(_0x535da0(0xc8)),i=require(_0x535da0(0xac));var o=(_0x13feac=>(_0x13feac[_0x13feac[_0x535da0(0xb8)]=0x0]='UNIVER_UNKNOWN',_0x13feac[_0x13feac['UNIVER_DOC']=0x1]=_0x535da0(0xba),_0x13feac[_0x13feac[_0x535da0(0xb4)]=0x2]=_0x535da0(0xb4),_0x13feac[_0x13feac[_0x535da0(0xab)]=0x3]=_0x535da0(0xab),_0x13feac[_0x13feac[_0x535da0(0xc6)]=0x4]=_0x535da0(0xc6),_0x13feac[_0x13feac[_0x535da0(0xc5)]=-0x1]=_0x535da0(0xc5),_0x13feac))(o||{});function _0x3798(){const _0x1a5459=['UNIVER_PROJECT','get','@univerjs-pro/exchange-client','8290wrNZbk','The\x20exchange\x20service\x20is\x20not\x20available','154293zDGlNe','182188eEUsma','exportXLSXBySnapshot','FUniver','UNIVER_SLIDE','@univerjs/core/facade','21616viUHnB','1041963vNLiPg','importDOCXToSnapshotAsync','importXLSXToUnitIdAsync','exportXLSXByUnitId','importFileToUnitId','8YFKVvT','UNIVER_SHEET','40VpPiqp','exportXLSXBySnapshotAsync','importDOCXToUnitIdAsync','UNIVER_UNKNOWN','24876vdGYrc','UNIVER_DOC','importXLSXToUnitId','8965EFNcWu','importXLSXToSnapshotAsync','_injector','530dJeIrQ','3141qfhHwi','5379997wKmuRX','importDOCXToSnapshot','384yjKxMi','IExchangeService','UNRECOGNIZED'];_0x3798=function(){return _0x1a5459;};return _0x3798();}class c extends i[_0x535da0(0xaa)]{async[_0x535da0(0xbb)](_0x2a2490){const _0x2b96f0=_0x535da0;return this[_0x2b96f0(0xb0)](_0x2a2490);}async['importXLSXToUnitIdAsync'](_0x538dcd){const _0x571117=_0x535da0,_0x2dcc4e=this['_injector'][_0x571117(0xc7)](r[_0x571117(0xc4)]);if(!_0x2dcc4e)throw new Error(_0x571117(0xa6));return _0x2dcc4e[_0x571117(0xb2)](_0x538dcd,o['UNIVER_SHEET']);}async['importXLSXToSnapshot'](_0x576cb2){const _0x27fb41=_0x535da0;return this[_0x27fb41(0xbd)](_0x576cb2);}async[_0x535da0(0xbd)](_0x27bf66){const _0x196d59=_0x535da0,_0x212820=this[_0x196d59(0xbe)][_0x196d59(0xc7)](r['IExchangeService']);if(!_0x212820)throw new Error('The\x20exchange\x20service\x20is\x20not\x20available');return _0x212820['importXLSXToSnapshot'](_0x27bf66);}async[_0x535da0(0xb1)](_0x26683a){return this['exportXLSXByUnitIdAsync'](_0x26683a);}async['exportXLSXByUnitIdAsync'](_0x16947e){const _0x421bb4=_0x535da0,_0x15cc7b=this['_injector'][_0x421bb4(0xc7)](r[_0x421bb4(0xc4)]);if(!_0x15cc7b)throw new Error(_0x421bb4(0xa6));return _0x15cc7b['exportXLSXByUnitId'](_0x16947e);}async[_0x535da0(0xa9)](_0xdc649d){return this['exportXLSXBySnapshotAsync'](_0xdc649d);}async[_0x535da0(0xb6)](_0x40f514){const _0x28c944=_0x535da0,_0x21fa85=this[_0x28c944(0xbe)][_0x28c944(0xc7)](r[_0x28c944(0xc4)]);if(!_0x21fa85)throw new Error(_0x28c944(0xa6));return _0x21fa85['exportXLSXBySnapshot'](_0x40f514);}async['importDOCXToUnitId'](_0x438d47){const _0x20e1ba=_0x535da0;return this[_0x20e1ba(0xb7)](_0x438d47);}async[_0x535da0(0xb7)](_0x3406d3){const _0xe4ed91=_0x535da0,_0x4a6413=this[_0xe4ed91(0xbe)][_0xe4ed91(0xc7)](r[_0xe4ed91(0xc4)]);if(!_0x4a6413)throw new Error(_0xe4ed91(0xa6));return _0x4a6413[_0xe4ed91(0xb2)](_0x3406d3,o['UNIVER_DOC']);}async[_0x535da0(0xc2)](_0xf1e625){const _0x19da03=_0x535da0;return this[_0x19da03(0xaf)](_0xf1e625);}async[_0x535da0(0xaf)](_0x27b749){const _0x306d48=_0x535da0,_0x786232=this[_0x306d48(0xbe)][_0x306d48(0xc7)](r[_0x306d48(0xc4)]);if(!_0x786232)throw new Error(_0x306d48(0xa6));return _0x786232['importDOCXToSnapshot'](_0x27b749);}}i['FUniver']['extend'](c);