@univerjs-pro/exchange-client 0.6.7-experimental.20250329-4e66087 → 0.6.7-experimental.20250329-cad06f3

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 _0x209360=_0x2526;function _0xb0eb(){const _0x43282f=['333zoDMgY','importXLSXToUnitIdAsync','extend','595570JDONly','UNIVER_PROJECT','IExchangeService','exportXLSXByUnitId','importXLSXToUnitId','exportXLSXBySnapshotAsync','@univerjs/core/facade','exportXLSXBySnapshot','exportXLSXByUnitIdAsync','importDOCXToSnapshot','78tVfqbp','UNIVER_DOC','importDOCXToSnapshotAsync','4161HsOGXt','importXLSXToSnapshot','2415332hcYQgA','importDOCXToUnitIdAsync','UNIVER_SLIDE','5DFhsIt','6448672dCYMjo','get','UNIVER_UNKNOWN','importXLSXToSnapshotAsync','1370260OsFgPi','_injector','importFileToUnitId','The\x20exchange\x20service\x20is\x20not\x20available','importDOCXToUnitId','UNIVER_SHEET','FUniver','778463tVPqYw','UNRECOGNIZED','1520520hyVfsC'];_0xb0eb=function(){return _0x43282f;};return _0xb0eb();}(function(_0x3fc3b0,_0x16edba){const _0x21f1db=_0x2526,_0x255266=_0x3fc3b0();while(!![]){try{const _0x3337f7=-parseInt(_0x21f1db(0xfe))/0x1+-parseInt(_0x21f1db(0x108))/0x2+parseInt(_0x21f1db(0x111))/0x3+-parseInt(_0x21f1db(0x100))/0x4*(parseInt(_0x21f1db(0x103))/0x5)+parseInt(_0x21f1db(0x11f))/0x6*(-parseInt(_0x21f1db(0x10f))/0x7)+parseInt(_0x21f1db(0x104))/0x8+parseInt(_0x21f1db(0x112))/0x9*(parseInt(_0x21f1db(0x115))/0xa);if(_0x3337f7===_0x16edba)break;else _0x255266['push'](_0x255266['shift']());}catch(_0x300bbc){_0x255266['push'](_0x255266['shift']());}}}(_0xb0eb,0xbdddc));const r=require('@univerjs-pro/exchange-client'),i=require(_0x209360(0x11b));var o=(_0x45c432=>(_0x45c432[_0x45c432[_0x209360(0x106)]=0x0]='UNIVER_UNKNOWN',_0x45c432[_0x45c432[_0x209360(0x120)]=0x1]=_0x209360(0x120),_0x45c432[_0x45c432[_0x209360(0x10d)]=0x2]=_0x209360(0x10d),_0x45c432[_0x45c432[_0x209360(0x102)]=0x3]=_0x209360(0x102),_0x45c432[_0x45c432[_0x209360(0x116)]=0x4]=_0x209360(0x116),_0x45c432[_0x45c432[_0x209360(0x110)]=-0x1]=_0x209360(0x110),_0x45c432))(o||{});function _0x2526(_0x3953af,_0x1d6d37){const _0xb0ebbf=_0xb0eb();return _0x2526=function(_0x25262a,_0x282ebb){_0x25262a=_0x25262a-0xfe;let _0xb2e0df=_0xb0ebbf[_0x25262a];return _0xb2e0df;},_0x2526(_0x3953af,_0x1d6d37);}class c extends i['FUniver']{async[_0x209360(0x119)](_0x49dfa3){const _0x28cddf=_0x209360;return this[_0x28cddf(0x113)](_0x49dfa3);}async[_0x209360(0x113)](_0x2f4ab4){const _0x46ecfd=_0x209360,_0x5ee6d0=this[_0x46ecfd(0x109)][_0x46ecfd(0x105)](r[_0x46ecfd(0x117)]);if(!_0x5ee6d0)throw new Error(_0x46ecfd(0x10b));return _0x5ee6d0[_0x46ecfd(0x10a)](_0x2f4ab4,o['UNIVER_SHEET']);}async[_0x209360(0xff)](_0x49fcb5){const _0x14316f=_0x209360;return this[_0x14316f(0x107)](_0x49fcb5);}async[_0x209360(0x107)](_0x3f8ab8){const _0x4460b0=_0x209360,_0x42cf32=this[_0x4460b0(0x109)][_0x4460b0(0x105)](r[_0x4460b0(0x117)]);if(!_0x42cf32)throw new Error(_0x4460b0(0x10b));return _0x42cf32[_0x4460b0(0xff)](_0x3f8ab8);}async[_0x209360(0x118)](_0x5978cc){const _0x60f2d3=_0x209360;return this[_0x60f2d3(0x11d)](_0x5978cc);}async[_0x209360(0x11d)](_0x5f4552){const _0x2aed62=_0x209360,_0x2705af=this[_0x2aed62(0x109)][_0x2aed62(0x105)](r[_0x2aed62(0x117)]);if(!_0x2705af)throw new Error(_0x2aed62(0x10b));return _0x2705af['exportXLSXByUnitId'](_0x5f4552);}async[_0x209360(0x11c)](_0x215e94){const _0x14c0a5=_0x209360;return this[_0x14c0a5(0x11a)](_0x215e94);}async[_0x209360(0x11a)](_0x1b1418){const _0x25126f=_0x209360,_0x11c3ba=this['_injector'][_0x25126f(0x105)](r[_0x25126f(0x117)]);if(!_0x11c3ba)throw new Error(_0x25126f(0x10b));return _0x11c3ba[_0x25126f(0x11c)](_0x1b1418);}async[_0x209360(0x10c)](_0x3c7740){const _0x1c14f1=_0x209360;return this[_0x1c14f1(0x101)](_0x3c7740);}async[_0x209360(0x101)](_0x3a064c){const _0x4030cb=_0x209360,_0x27fc3c=this['_injector'][_0x4030cb(0x105)](r[_0x4030cb(0x117)]);if(!_0x27fc3c)throw new Error(_0x4030cb(0x10b));return _0x27fc3c['importFileToUnitId'](_0x3a064c,o[_0x4030cb(0x120)]);}async[_0x209360(0x11e)](_0xe4bfaf){const _0x185c75=_0x209360;return this[_0x185c75(0x121)](_0xe4bfaf);}async[_0x209360(0x121)](_0x13a9ef){const _0x216787=_0x209360,_0x202de1=this[_0x216787(0x109)][_0x216787(0x105)](r[_0x216787(0x117)]);if(!_0x202de1)throw new Error(_0x216787(0x10b));return _0x202de1[_0x216787(0x11e)](_0x13a9ef);}}i[_0x209360(0x10e)][_0x209360(0x114)](c);
1
+ 'use strict';const _0x26c896=_0x5a71;(function(_0x4f0d6a,_0x4adead){const _0x4d3390=_0x5a71,_0x564c46=_0x4f0d6a();while(!![]){try{const _0x24f490=-parseInt(_0x4d3390(0x10f))/0x1*(parseInt(_0x4d3390(0x10d))/0x2)+-parseInt(_0x4d3390(0x128))/0x3*(-parseInt(_0x4d3390(0x10e))/0x4)+parseInt(_0x4d3390(0x114))/0x5+-parseInt(_0x4d3390(0x116))/0x6*(-parseInt(_0x4d3390(0x129))/0x7)+parseInt(_0x4d3390(0x111))/0x8+-parseInt(_0x4d3390(0x11b))/0x9*(parseInt(_0x4d3390(0x10c))/0xa)+parseInt(_0x4d3390(0x130))/0xb*(-parseInt(_0x4d3390(0x121))/0xc);if(_0x24f490===_0x4adead)break;else _0x564c46['push'](_0x564c46['shift']());}catch(_0x44236a){_0x564c46['push'](_0x564c46['shift']());}}}(_0x76a5,0xd26e6));function _0x5a71(_0x1d18f9,_0x23e51b){const _0x76a5e4=_0x76a5();return _0x5a71=function(_0x5a718d,_0x5156ab){_0x5a718d=_0x5a718d-0x10c;let _0x5d890a=_0x76a5e4[_0x5a718d];return _0x5d890a;},_0x5a71(_0x1d18f9,_0x23e51b);}function _0x76a5(){const _0x2daa83=['extend','122991UeuRwY','7JZxpnQ','importFileToUnitId','UNIVER_UNKNOWN','importDOCXToSnapshotAsync','importXLSXToUnitIdAsync','UNIVER_SLIDE','UNRECOGNIZED','3077822PMnMED','20FIDxLp','768ssKoCX','124hWPBpN','4377niLoQC','UNIVER_SHEET','7900264Ttqelj','UNIVER_DOC','importXLSXToUnitId','5625060NnCzGx','UNIVER_PROJECT','1213080xZDEXq','IExchangeService','exportXLSXBySnapshot','The\x20exchange\x20service\x20is\x20not\x20available','@univerjs/core/facade','915894aslPcs','exportXLSXByUnitIdAsync','importDOCXToSnapshot','get','exportXLSXBySnapshotAsync','_injector','36BFwyRa','importXLSXToSnapshotAsync','FUniver','exportXLSXByUnitId','importDOCXToUnitId','importDOCXToUnitIdAsync'];_0x76a5=function(){return _0x2daa83;};return _0x76a5();}const r=require('@univerjs-pro/exchange-client'),i=require(_0x26c896(0x11a));var o=(_0xb0f4a8=>(_0xb0f4a8[_0xb0f4a8[_0x26c896(0x12b)]=0x0]=_0x26c896(0x12b),_0xb0f4a8[_0xb0f4a8[_0x26c896(0x112)]=0x1]=_0x26c896(0x112),_0xb0f4a8[_0xb0f4a8['UNIVER_SHEET']=0x2]=_0x26c896(0x110),_0xb0f4a8[_0xb0f4a8[_0x26c896(0x12e)]=0x3]=_0x26c896(0x12e),_0xb0f4a8[_0xb0f4a8[_0x26c896(0x115)]=0x4]=_0x26c896(0x115),_0xb0f4a8[_0xb0f4a8[_0x26c896(0x12f)]=-0x1]=_0x26c896(0x12f),_0xb0f4a8))(o||{});class c extends i[_0x26c896(0x123)]{async[_0x26c896(0x113)](_0x4e3fd5){const _0x32bdf2=_0x26c896;return this[_0x32bdf2(0x12d)](_0x4e3fd5);}async[_0x26c896(0x12d)](_0x5aef95){const _0x31f6e5=_0x26c896,_0x120637=this[_0x31f6e5(0x120)][_0x31f6e5(0x11e)](r[_0x31f6e5(0x117)]);if(!_0x120637)throw new Error(_0x31f6e5(0x119));return _0x120637['importFileToUnitId'](_0x5aef95,o[_0x31f6e5(0x110)]);}async['importXLSXToSnapshot'](_0xc7ab72){const _0x2f6040=_0x26c896;return this[_0x2f6040(0x122)](_0xc7ab72);}async[_0x26c896(0x122)](_0x3da667){const _0x321470=_0x26c896,_0x1d0b72=this[_0x321470(0x120)][_0x321470(0x11e)](r['IExchangeService']);if(!_0x1d0b72)throw new Error(_0x321470(0x119));return _0x1d0b72['importXLSXToSnapshot'](_0x3da667);}async[_0x26c896(0x124)](_0x51ef3a){const _0x413f4f=_0x26c896;return this[_0x413f4f(0x11c)](_0x51ef3a);}async[_0x26c896(0x11c)](_0x4f044f){const _0x361026=_0x26c896,_0x208eac=this[_0x361026(0x120)][_0x361026(0x11e)](r[_0x361026(0x117)]);if(!_0x208eac)throw new Error(_0x361026(0x119));return _0x208eac[_0x361026(0x124)](_0x4f044f);}async['exportXLSXBySnapshot'](_0x5907f1){const _0x91ed7a=_0x26c896;return this[_0x91ed7a(0x11f)](_0x5907f1);}async[_0x26c896(0x11f)](_0x15c470){const _0x2c55ab=_0x26c896,_0x3befff=this['_injector'][_0x2c55ab(0x11e)](r[_0x2c55ab(0x117)]);if(!_0x3befff)throw new Error(_0x2c55ab(0x119));return _0x3befff[_0x2c55ab(0x118)](_0x15c470);}async[_0x26c896(0x125)](_0x4fe0b3){const _0x418363=_0x26c896;return this[_0x418363(0x126)](_0x4fe0b3);}async[_0x26c896(0x126)](_0x2cd745){const _0x192eb7=_0x26c896,_0x5d2cbc=this[_0x192eb7(0x120)][_0x192eb7(0x11e)](r['IExchangeService']);if(!_0x5d2cbc)throw new Error('The\x20exchange\x20service\x20is\x20not\x20available');return _0x5d2cbc[_0x192eb7(0x12a)](_0x2cd745,o[_0x192eb7(0x112)]);}async[_0x26c896(0x11d)](_0xee04cd){const _0x146946=_0x26c896;return this[_0x146946(0x12c)](_0xee04cd);}async[_0x26c896(0x12c)](_0x29ab1e){const _0x3867c3=_0x26c896,_0x5aad92=this[_0x3867c3(0x120)]['get'](r[_0x3867c3(0x117)]);if(!_0x5aad92)throw new Error('The\x20exchange\x20service\x20is\x20not\x20available');return _0x5aad92[_0x3867c3(0x11d)](_0x29ab1e);}}i[_0x26c896(0x123)][_0x26c896(0x127)](c);