@univerjs-pro/exchange-client 0.6.7-experimental.20250331-fa407d3 → 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';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);
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();}