@univerjs-pro/exchange-client 0.6.7-experimental.20250331-958639c → 0.6.7-experimental.20250401-9542b43

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 _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);
1
+ 'use strict';const _0x17f583=_0x148d;(function(_0x33bae5,_0x49b32c){const _0x2d8450=_0x148d,_0x4204c4=_0x33bae5();while(!![]){try{const _0xbbd425=parseInt(_0x2d8450(0x130))/0x1*(-parseInt(_0x2d8450(0x12c))/0x2)+-parseInt(_0x2d8450(0x148))/0x3*(parseInt(_0x2d8450(0x141))/0x4)+-parseInt(_0x2d8450(0x12f))/0x5+parseInt(_0x2d8450(0x149))/0x6+-parseInt(_0x2d8450(0x13c))/0x7*(-parseInt(_0x2d8450(0x147))/0x8)+-parseInt(_0x2d8450(0x12b))/0x9+parseInt(_0x2d8450(0x135))/0xa*(parseInt(_0x2d8450(0x142))/0xb);if(_0xbbd425===_0x49b32c)break;else _0x4204c4['push'](_0x4204c4['shift']());}catch(_0xa61098){_0x4204c4['push'](_0x4204c4['shift']());}}}(_0x2301,0xd614e));const r=require(_0x17f583(0x13f)),i=require('@univerjs/core/facade');var o=(_0x40dbc8=>(_0x40dbc8[_0x40dbc8[_0x17f583(0x134)]=0x0]=_0x17f583(0x134),_0x40dbc8[_0x40dbc8[_0x17f583(0x131)]=0x1]=_0x17f583(0x131),_0x40dbc8[_0x40dbc8[_0x17f583(0x132)]=0x2]='UNIVER_SHEET',_0x40dbc8[_0x40dbc8[_0x17f583(0x128)]=0x3]=_0x17f583(0x128),_0x40dbc8[_0x40dbc8[_0x17f583(0x12d)]=0x4]='UNIVER_PROJECT',_0x40dbc8[_0x40dbc8['UNRECOGNIZED']=-0x1]=_0x17f583(0x133),_0x40dbc8))(o||{});function _0x148d(_0x2c58e5,_0x839a80){const _0x2301a9=_0x2301();return _0x148d=function(_0x148db1,_0x31b163){_0x148db1=_0x148db1-0x128;let _0x31a6a4=_0x2301a9[_0x148db1];return _0x31a6a4;},_0x148d(_0x2c58e5,_0x839a80);}class c extends i['FUniver']{async['importXLSXToUnitId'](_0x273ffc){const _0x540e56=_0x17f583;return this[_0x540e56(0x145)](_0x273ffc);}async[_0x17f583(0x145)](_0x12adc0){const _0x20d69e=_0x17f583,_0x50bdfd=this[_0x20d69e(0x140)]['get'](r[_0x20d69e(0x12a)]);if(!_0x50bdfd)throw new Error(_0x20d69e(0x143));return _0x50bdfd['importFileToUnitId'](_0x12adc0,o[_0x20d69e(0x132)]);}async[_0x17f583(0x137)](_0x58ab36){const _0x43aef0=_0x17f583;return this[_0x43aef0(0x136)](_0x58ab36);}async[_0x17f583(0x136)](_0x14de48){const _0x4d64c8=_0x17f583,_0x52e673=this[_0x4d64c8(0x140)][_0x4d64c8(0x144)](r[_0x4d64c8(0x12a)]);if(!_0x52e673)throw new Error(_0x4d64c8(0x143));return _0x52e673[_0x4d64c8(0x137)](_0x14de48);}async[_0x17f583(0x13b)](_0x6f05ea){return this['exportXLSXByUnitIdAsync'](_0x6f05ea);}async[_0x17f583(0x138)](_0x543072){const _0x45f4c9=_0x17f583,_0x3e2fbd=this[_0x45f4c9(0x140)]['get'](r[_0x45f4c9(0x12a)]);if(!_0x3e2fbd)throw new Error(_0x45f4c9(0x143));return _0x3e2fbd[_0x45f4c9(0x13b)](_0x543072);}async[_0x17f583(0x12e)](_0x2071ac){const _0x41aba8=_0x17f583;return this[_0x41aba8(0x13a)](_0x2071ac);}async[_0x17f583(0x13a)](_0x105553){const _0x5b255f=_0x17f583,_0x1c728d=this['_injector'][_0x5b255f(0x144)](r['IExchangeService']);if(!_0x1c728d)throw new Error(_0x5b255f(0x143));return _0x1c728d[_0x5b255f(0x12e)](_0x105553);}async[_0x17f583(0x129)](_0x1e7e44){return this['importDOCXToUnitIdAsync'](_0x1e7e44);}async['importDOCXToUnitIdAsync'](_0x38ef5f){const _0x3ecf2a=_0x17f583,_0x1b6adf=this[_0x3ecf2a(0x140)]['get'](r[_0x3ecf2a(0x12a)]);if(!_0x1b6adf)throw new Error(_0x3ecf2a(0x143));return _0x1b6adf[_0x3ecf2a(0x13e)](_0x38ef5f,o[_0x3ecf2a(0x131)]);}async[_0x17f583(0x139)](_0x3c402d){const _0x2cde22=_0x17f583;return this[_0x2cde22(0x146)](_0x3c402d);}async[_0x17f583(0x146)](_0x5c0699){const _0x50e895=_0x17f583,_0x2c70ca=this['_injector'][_0x50e895(0x144)](r[_0x50e895(0x12a)]);if(!_0x2c70ca)throw new Error('The\x20exchange\x20service\x20is\x20not\x20available');return _0x2c70ca[_0x50e895(0x139)](_0x5c0699);}}i[_0x17f583(0x13d)]['extend'](c);function _0x2301(){const _0x532c4c=['8419zPlhNz','UNIVER_DOC','UNIVER_SHEET','UNRECOGNIZED','UNIVER_UNKNOWN','80CcTQOm','importXLSXToSnapshotAsync','importXLSXToSnapshot','exportXLSXByUnitIdAsync','importDOCXToSnapshot','exportXLSXBySnapshotAsync','exportXLSXByUnitId','3593639QGSBby','FUniver','importFileToUnitId','@univerjs-pro/exchange-client','_injector','1321324cVTgcB','449031NSpyJH','The\x20exchange\x20service\x20is\x20not\x20available','get','importXLSXToUnitIdAsync','importDOCXToSnapshotAsync','16meDkKr','3ZBVvtz','3106692ZXunBv','UNIVER_SLIDE','importDOCXToUnitId','IExchangeService','27513KnBeUS','46DOWUsM','UNIVER_PROJECT','exportXLSXBySnapshot','2336005KYXXKs'];_0x2301=function(){return _0x532c4c;};return _0x2301();}