@univerjs-pro/exchange-client 0.6.7-experimental.20250329-cad06f3 → 0.6.7-experimental.20250330-62d4d34

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 _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);
1
+ 'use strict';const _0x5b0b38=_0x5afc;(function(_0x638df,_0x12f098){const _0x10b949=_0x5afc,_0xe2989e=_0x638df();while(!![]){try{const _0x510baa=parseInt(_0x10b949(0x20d))/0x1+parseInt(_0x10b949(0x1fe))/0x2*(parseInt(_0x10b949(0x1f4))/0x3)+parseInt(_0x10b949(0x1fb))/0x4*(parseInt(_0x10b949(0x1f3))/0x5)+-parseInt(_0x10b949(0x203))/0x6+parseInt(_0x10b949(0x200))/0x7*(-parseInt(_0x10b949(0x210))/0x8)+-parseInt(_0x10b949(0x20f))/0x9*(parseInt(_0x10b949(0x1ed))/0xa)+-parseInt(_0x10b949(0x207))/0xb*(-parseInt(_0x10b949(0x20c))/0xc);if(_0x510baa===_0x12f098)break;else _0xe2989e['push'](_0xe2989e['shift']());}catch(_0x5a6da6){_0xe2989e['push'](_0xe2989e['shift']());}}}(_0x347a,0x2835f));function _0x5afc(_0x48742b,_0x2680ed){const _0x347a12=_0x347a();return _0x5afc=function(_0x5afc57,_0x85b62a){_0x5afc57=_0x5afc57-0x1ec;let _0x1a1ba4=_0x347a12[_0x5afc57];return _0x1a1ba4;},_0x5afc(_0x48742b,_0x2680ed);}const r=require(_0x5b0b38(0x1ee)),i=require('@univerjs/core/facade');var o=(_0x2b9437=>(_0x2b9437[_0x2b9437['UNIVER_UNKNOWN']=0x0]=_0x5b0b38(0x1ff),_0x2b9437[_0x2b9437[_0x5b0b38(0x20e)]=0x1]=_0x5b0b38(0x20e),_0x2b9437[_0x2b9437['UNIVER_SHEET']=0x2]='UNIVER_SHEET',_0x2b9437[_0x2b9437[_0x5b0b38(0x1ec)]=0x3]=_0x5b0b38(0x1ec),_0x2b9437[_0x2b9437[_0x5b0b38(0x1f5)]=0x4]=_0x5b0b38(0x1f5),_0x2b9437[_0x2b9437[_0x5b0b38(0x1f1)]=-0x1]=_0x5b0b38(0x1f1),_0x2b9437))(o||{});function _0x347a(){const _0x52fa45=['importXLSXToUnitId','IExchangeService','37358PxGarr','UNIVER_UNKNOWN','7jbBPIX','extend','_injector','431700jbwUIc','FUniver','get','importDOCXToUnitId','1316733gQReIX','importXLSXToUnitIdAsync','exportXLSXBySnapshot','exportXLSXByUnitIdAsync','UNIVER_SHEET','12SildSR','169952dknlNJ','UNIVER_DOC','10710ZUUqMz','689824bLAXZM','UNIVER_SLIDE','1630iPtLIR','@univerjs-pro/exchange-client','The\x20exchange\x20service\x20is\x20not\x20available','importDOCXToUnitIdAsync','UNRECOGNIZED','exportXLSXBySnapshotAsync','14505MvdfVK','9LaFMfY','UNIVER_PROJECT','importXLSXToSnapshot','exportXLSXByUnitId','importXLSXToSnapshotAsync','importDOCXToSnapshotAsync','importDOCXToSnapshot','236FRlbae'];_0x347a=function(){return _0x52fa45;};return _0x347a();}class c extends i[_0x5b0b38(0x204)]{async[_0x5b0b38(0x1fc)](_0xd059c3){const _0x4c9b94=_0x5b0b38;return this[_0x4c9b94(0x208)](_0xd059c3);}async['importXLSXToUnitIdAsync'](_0x1c6400){const _0x1f4431=_0x5b0b38,_0x1a69c0=this['_injector'][_0x1f4431(0x205)](r[_0x1f4431(0x1fd)]);if(!_0x1a69c0)throw new Error(_0x1f4431(0x1ef));return _0x1a69c0['importFileToUnitId'](_0x1c6400,o[_0x1f4431(0x20b)]);}async['importXLSXToSnapshot'](_0x4a3e71){const _0x3c5ae3=_0x5b0b38;return this[_0x3c5ae3(0x1f8)](_0x4a3e71);}async[_0x5b0b38(0x1f8)](_0x9a1ff1){const _0x3344ea=_0x5b0b38,_0x215b5a=this[_0x3344ea(0x202)][_0x3344ea(0x205)](r[_0x3344ea(0x1fd)]);if(!_0x215b5a)throw new Error(_0x3344ea(0x1ef));return _0x215b5a[_0x3344ea(0x1f6)](_0x9a1ff1);}async[_0x5b0b38(0x1f7)](_0x3868b5){return this['exportXLSXByUnitIdAsync'](_0x3868b5);}async[_0x5b0b38(0x20a)](_0x329532){const _0x2a2dc5=_0x5b0b38,_0xcb1e44=this['_injector'][_0x2a2dc5(0x205)](r[_0x2a2dc5(0x1fd)]);if(!_0xcb1e44)throw new Error(_0x2a2dc5(0x1ef));return _0xcb1e44['exportXLSXByUnitId'](_0x329532);}async[_0x5b0b38(0x209)](_0x40bc1e){const _0x328a07=_0x5b0b38;return this[_0x328a07(0x1f2)](_0x40bc1e);}async['exportXLSXBySnapshotAsync'](_0x79c7f5){const _0x2f5ed8=_0x5b0b38,_0x241e95=this[_0x2f5ed8(0x202)][_0x2f5ed8(0x205)](r[_0x2f5ed8(0x1fd)]);if(!_0x241e95)throw new Error(_0x2f5ed8(0x1ef));return _0x241e95[_0x2f5ed8(0x209)](_0x79c7f5);}async[_0x5b0b38(0x206)](_0x4c345f){const _0x378280=_0x5b0b38;return this[_0x378280(0x1f0)](_0x4c345f);}async[_0x5b0b38(0x1f0)](_0x5a93d8){const _0x4d3fe5=_0x5b0b38,_0x3f7958=this['_injector'][_0x4d3fe5(0x205)](r[_0x4d3fe5(0x1fd)]);if(!_0x3f7958)throw new Error('The\x20exchange\x20service\x20is\x20not\x20available');return _0x3f7958['importFileToUnitId'](_0x5a93d8,o[_0x4d3fe5(0x20e)]);}async[_0x5b0b38(0x1fa)](_0x7da332){const _0x5ab536=_0x5b0b38;return this[_0x5ab536(0x1f9)](_0x7da332);}async[_0x5b0b38(0x1f9)](_0x3450df){const _0x2e13cf=_0x5b0b38,_0x1805b7=this[_0x2e13cf(0x202)][_0x2e13cf(0x205)](r[_0x2e13cf(0x1fd)]);if(!_0x1805b7)throw new Error(_0x2e13cf(0x1ef));return _0x1805b7['importDOCXToSnapshot'](_0x3450df);}}i['FUniver'][_0x5b0b38(0x201)](c);