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

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 _0xbe71da=_0x43fd;(function(_0x3be939,_0x107fff){const _0x42e3a6=_0x43fd,_0xb401c=_0x3be939();while(!![]){try{const _0x18a292=-parseInt(_0x42e3a6(0xcd))/0x1+-parseInt(_0x42e3a6(0xba))/0x2*(-parseInt(_0x42e3a6(0xcc))/0x3)+-parseInt(_0x42e3a6(0xc4))/0x4*(-parseInt(_0x42e3a6(0xce))/0x5)+parseInt(_0x42e3a6(0xc0))/0x6+-parseInt(_0x42e3a6(0xc5))/0x7*(parseInt(_0x42e3a6(0xcf))/0x8)+-parseInt(_0x42e3a6(0xbd))/0x9+-parseInt(_0x42e3a6(0xbe))/0xa;if(_0x18a292===_0x107fff)break;else _0xb401c['push'](_0xb401c['shift']());}catch(_0x376a29){_0xb401c['push'](_0xb401c['shift']());}}}(_0x2e4f,0xd68a9));function _0x2e4f(){const _0x4cb891=['importDOCXToUnitId','importXLSXToUnitId','FUniver','458iKGoMR','exportXLSXBySnapshotAsync','UNIVER_SLIDE','6518115sCMZkL','6129050MGhIeF','importXLSXToSnapshotAsync','10338834LspUph','extend','UNIVER_UNKNOWN','importDOCXToUnitIdAsync','1588hJXajJ','32431acPTAC','exportXLSXBySnapshot','importFileToUnitId','_injector','get','UNIVER_PROJECT','UNRECOGNIZED','10146lctsUT','470898QJKWEi','4775fsQjQi','328tTMCYU','importXLSXToSnapshot','importDOCXToSnapshot','exportXLSXByUnitIdAsync','UNIVER_SHEET','The\x20exchange\x20service\x20is\x20not\x20available','importDOCXToSnapshotAsync','IExchangeService','UNIVER_DOC'];_0x2e4f=function(){return _0x4cb891;};return _0x2e4f();}const r=require('@univerjs-pro/exchange-client'),i=require('@univerjs/core/facade');function _0x43fd(_0x2b716e,_0x2273f2){const _0x2e4f4b=_0x2e4f();return _0x43fd=function(_0x43fd4d,_0x2b53c3){_0x43fd4d=_0x43fd4d-0xb8;let _0x397834=_0x2e4f4b[_0x43fd4d];return _0x397834;},_0x43fd(_0x2b716e,_0x2273f2);}var o=(_0xbd197a=>(_0xbd197a[_0xbd197a[_0xbe71da(0xc2)]=0x0]=_0xbe71da(0xc2),_0xbd197a[_0xbd197a[_0xbe71da(0xd7)]=0x1]='UNIVER_DOC',_0xbd197a[_0xbd197a[_0xbe71da(0xd3)]=0x2]=_0xbe71da(0xd3),_0xbd197a[_0xbd197a[_0xbe71da(0xbc)]=0x3]=_0xbe71da(0xbc),_0xbd197a[_0xbd197a['UNIVER_PROJECT']=0x4]=_0xbe71da(0xca),_0xbd197a[_0xbd197a[_0xbe71da(0xcb)]=-0x1]=_0xbe71da(0xcb),_0xbd197a))(o||{});class c extends i[_0xbe71da(0xb9)]{async[_0xbe71da(0xb8)](_0x4fd693){return this['importXLSXToUnitIdAsync'](_0x4fd693);}async['importXLSXToUnitIdAsync'](_0x40fe9d){const _0x3dfa16=_0xbe71da,_0x2b92eb=this[_0x3dfa16(0xc8)]['get'](r['IExchangeService']);if(!_0x2b92eb)throw new Error(_0x3dfa16(0xd4));return _0x2b92eb[_0x3dfa16(0xc7)](_0x40fe9d,o[_0x3dfa16(0xd3)]);}async[_0xbe71da(0xd0)](_0x1a705d){const _0x5f16d5=_0xbe71da;return this[_0x5f16d5(0xbf)](_0x1a705d);}async[_0xbe71da(0xbf)](_0x215861){const _0x11474c=_0xbe71da,_0x179ff8=this['_injector'][_0x11474c(0xc9)](r[_0x11474c(0xd6)]);if(!_0x179ff8)throw new Error('The\x20exchange\x20service\x20is\x20not\x20available');return _0x179ff8[_0x11474c(0xd0)](_0x215861);}async['exportXLSXByUnitId'](_0x9d0897){return this['exportXLSXByUnitIdAsync'](_0x9d0897);}async[_0xbe71da(0xd2)](_0x54e007){const _0x412256=_0xbe71da,_0x1f7f95=this['_injector'][_0x412256(0xc9)](r[_0x412256(0xd6)]);if(!_0x1f7f95)throw new Error('The\x20exchange\x20service\x20is\x20not\x20available');return _0x1f7f95['exportXLSXByUnitId'](_0x54e007);}async['exportXLSXBySnapshot'](_0x42ef7){const _0x591c8f=_0xbe71da;return this[_0x591c8f(0xbb)](_0x42ef7);}async[_0xbe71da(0xbb)](_0x4f96eb){const _0x16f64c=_0xbe71da,_0x7fb31b=this[_0x16f64c(0xc8)][_0x16f64c(0xc9)](r[_0x16f64c(0xd6)]);if(!_0x7fb31b)throw new Error(_0x16f64c(0xd4));return _0x7fb31b[_0x16f64c(0xc6)](_0x4f96eb);}async[_0xbe71da(0xd8)](_0x35607f){const _0x2fc038=_0xbe71da;return this[_0x2fc038(0xc3)](_0x35607f);}async[_0xbe71da(0xc3)](_0x52b4bf){const _0x860e97=_0xbe71da,_0x3758d4=this[_0x860e97(0xc8)]['get'](r[_0x860e97(0xd6)]);if(!_0x3758d4)throw new Error(_0x860e97(0xd4));return _0x3758d4[_0x860e97(0xc7)](_0x52b4bf,o['UNIVER_DOC']);}async[_0xbe71da(0xd1)](_0x29479f){return this['importDOCXToSnapshotAsync'](_0x29479f);}async[_0xbe71da(0xd5)](_0x25cd6d){const _0x2b04d9=_0xbe71da,_0x3ee75b=this[_0x2b04d9(0xc8)][_0x2b04d9(0xc9)](r[_0x2b04d9(0xd6)]);if(!_0x3ee75b)throw new Error(_0x2b04d9(0xd4));return _0x3ee75b[_0x2b04d9(0xd1)](_0x25cd6d);}}i[_0xbe71da(0xb9)][_0xbe71da(0xc1)](c);