@univerjs-pro/exchange-client 0.6.10-nightly.202504201606 → 0.6.10-nightly.202504231607

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 _0x44de(_0x4e92ad,_0x11fe58){const _0x491b53=_0x491b();return _0x44de=function(_0x44dede,_0x32683e){_0x44dede=_0x44dede-0xc1;let _0x59d30e=_0x491b53[_0x44dede];return _0x59d30e;},_0x44de(_0x4e92ad,_0x11fe58);}const _0xf876d2=_0x44de;function _0x491b(){const _0x10140c=['UNIVER_SLIDE','exportXLSXByUnitIdAsync','UNIVER_DOC','@univerjs-pro/exchange-client','136gkdzwy','importFileToUnitId','importXLSXToUnitId','get','_injector','UNIVER_PROJECT','extend','UNRECOGNIZED','importXLSXToUnitIdAsync','6780ilYUYs','24962kOeQeb','importDOCXToUnitIdAsync','6224592MwupeS','UNIVER_UNKNOWN','importDOCXToSnapshot','UNIVER_SHEET','The\x20exchange\x20service\x20is\x20not\x20available','importXLSXToSnapshotAsync','importXLSXToSnapshot','93981ODTdtW','55plnuYm','164847QiZiBO','exportXLSXBySnapshot','3124LmLjqv','4OeSbVF','377496ccMnQu','importDOCXToUnitId','importDOCXToSnapshotAsync','FUniver','1962yrynhA','IExchangeService','@univerjs/core/facade','612657FBzXAS'];_0x491b=function(){return _0x10140c;};return _0x491b();}(function(_0x51fdf9,_0x2c2f91){const _0x4f881e=_0x44de,_0x19add1=_0x51fdf9();while(!![]){try{const _0x38a730=-parseInt(_0x4f881e(0xcc))/0x1+-parseInt(_0x4f881e(0xd1))/0x2*(-parseInt(_0x4f881e(0xce))/0x3)+-parseInt(_0x4f881e(0xd2))/0x4*(parseInt(_0x4f881e(0xcd))/0x5)+parseInt(_0x4f881e(0xd6))/0x6*(parseInt(_0x4f881e(0xc3))/0x7)+parseInt(_0x4f881e(0xde))/0x8*(parseInt(_0x4f881e(0xd9))/0x9)+-parseInt(_0x4f881e(0xc2))/0xa*(parseInt(_0x4f881e(0xd0))/0xb)+-parseInt(_0x4f881e(0xc5))/0xc;if(_0x38a730===_0x2c2f91)break;else _0x19add1['push'](_0x19add1['shift']());}catch(_0x5cbb6c){_0x19add1['push'](_0x19add1['shift']());}}}(_0x491b,0x90022));const r=require(_0xf876d2(0xdd)),i=require(_0xf876d2(0xd8));var o=(_0x4c08a7=>(_0x4c08a7[_0x4c08a7[_0xf876d2(0xc6)]=0x0]=_0xf876d2(0xc6),_0x4c08a7[_0x4c08a7['UNIVER_DOC']=0x1]=_0xf876d2(0xdc),_0x4c08a7[_0x4c08a7[_0xf876d2(0xc8)]=0x2]='UNIVER_SHEET',_0x4c08a7[_0x4c08a7[_0xf876d2(0xda)]=0x3]=_0xf876d2(0xda),_0x4c08a7[_0x4c08a7[_0xf876d2(0xe3)]=0x4]='UNIVER_PROJECT',_0x4c08a7[_0x4c08a7[_0xf876d2(0xe5)]=-0x1]=_0xf876d2(0xe5),_0x4c08a7))(o||{});class c extends i[_0xf876d2(0xd5)]{async[_0xf876d2(0xe0)](_0x411eee){const _0x1cddd2=_0xf876d2;return this[_0x1cddd2(0xc1)](_0x411eee);}async[_0xf876d2(0xc1)](_0x459a80){const _0x324aba=_0xf876d2,_0x19f1e1=this[_0x324aba(0xe2)][_0x324aba(0xe1)](r[_0x324aba(0xd7)]);if(!_0x19f1e1)throw new Error(_0x324aba(0xc9));return _0x19f1e1[_0x324aba(0xdf)](_0x459a80,o[_0x324aba(0xc8)]);}async['importXLSXToSnapshot'](_0x3b26a6){const _0x363194=_0xf876d2;return this[_0x363194(0xca)](_0x3b26a6);}async[_0xf876d2(0xca)](_0x4bc332){const _0x337149=_0xf876d2,_0x2c7c4e=this[_0x337149(0xe2)]['get'](r[_0x337149(0xd7)]);if(!_0x2c7c4e)throw new Error(_0x337149(0xc9));return _0x2c7c4e[_0x337149(0xcb)](_0x4bc332);}async['exportXLSXByUnitId'](_0x253b5b){const _0x1bcb2a=_0xf876d2;return this[_0x1bcb2a(0xdb)](_0x253b5b);}async[_0xf876d2(0xdb)](_0x596837){const _0x44d7a6=_0xf876d2,_0xc30fa8=this[_0x44d7a6(0xe2)][_0x44d7a6(0xe1)](r[_0x44d7a6(0xd7)]);if(!_0xc30fa8)throw new Error(_0x44d7a6(0xc9));return _0xc30fa8['exportXLSXByUnitId'](_0x596837);}async['exportXLSXBySnapshot'](_0x16a952){return this['exportXLSXBySnapshotAsync'](_0x16a952);}async['exportXLSXBySnapshotAsync'](_0x51364c){const _0x4d3fe4=_0xf876d2,_0x4bb965=this['_injector'][_0x4d3fe4(0xe1)](r[_0x4d3fe4(0xd7)]);if(!_0x4bb965)throw new Error(_0x4d3fe4(0xc9));return _0x4bb965[_0x4d3fe4(0xcf)](_0x51364c);}async[_0xf876d2(0xd3)](_0x4dce3c){const _0x460160=_0xf876d2;return this[_0x460160(0xc4)](_0x4dce3c);}async[_0xf876d2(0xc4)](_0x45f174){const _0x488453=_0xf876d2,_0xb12648=this[_0x488453(0xe2)][_0x488453(0xe1)](r[_0x488453(0xd7)]);if(!_0xb12648)throw new Error(_0x488453(0xc9));return _0xb12648[_0x488453(0xdf)](_0x45f174,o['UNIVER_DOC']);}async[_0xf876d2(0xc7)](_0x2df57f){const _0x117204=_0xf876d2;return this[_0x117204(0xd4)](_0x2df57f);}async[_0xf876d2(0xd4)](_0x245684){const _0x578162=_0xf876d2,_0x405665=this[_0x578162(0xe2)][_0x578162(0xe1)](r[_0x578162(0xd7)]);if(!_0x405665)throw new Error(_0x578162(0xc9));return _0x405665[_0x578162(0xc7)](_0x245684);}}i['FUniver'][_0xf876d2(0xe4)](c);
1
+ 'use strict';function _0x4690(_0x1ee326,_0x38d286){const _0x4003cb=_0x4003();return _0x4690=function(_0x46901b,_0xe1f541){_0x46901b=_0x46901b-0x1df;let _0x19b5a5=_0x4003cb[_0x46901b];return _0x19b5a5;},_0x4690(_0x1ee326,_0x38d286);}const _0x7c9cb2=_0x4690;(function(_0x28c9d0,_0x281183){const _0x39d2f5=_0x4690,_0x1e67ae=_0x28c9d0();while(!![]){try{const _0x23d707=parseInt(_0x39d2f5(0x200))/0x1+parseInt(_0x39d2f5(0x1f5))/0x2*(-parseInt(_0x39d2f5(0x1fd))/0x3)+parseInt(_0x39d2f5(0x1f0))/0x4*(parseInt(_0x39d2f5(0x1e8))/0x5)+-parseInt(_0x39d2f5(0x1f7))/0x6*(parseInt(_0x39d2f5(0x1e0))/0x7)+parseInt(_0x39d2f5(0x1ff))/0x8+-parseInt(_0x39d2f5(0x1fe))/0x9*(parseInt(_0x39d2f5(0x1ec))/0xa)+-parseInt(_0x39d2f5(0x1e4))/0xb*(parseInt(_0x39d2f5(0x1f2))/0xc);if(_0x23d707===_0x281183)break;else _0x1e67ae['push'](_0x1e67ae['shift']());}catch(_0x148eb8){_0x1e67ae['push'](_0x1e67ae['shift']());}}}(_0x4003,0xde0fc));const r=require('@univerjs-pro/exchange-client'),i=require(_0x7c9cb2(0x1ed));var o=(_0x1b1eef=>(_0x1b1eef[_0x1b1eef['UNIVER_UNKNOWN']=0x0]=_0x7c9cb2(0x1e2),_0x1b1eef[_0x1b1eef[_0x7c9cb2(0x1e9)]=0x1]='UNIVER_DOC',_0x1b1eef[_0x1b1eef[_0x7c9cb2(0x1e1)]=0x2]=_0x7c9cb2(0x1e1),_0x1b1eef[_0x1b1eef['UNIVER_SLIDE']=0x3]=_0x7c9cb2(0x1e3),_0x1b1eef[_0x1b1eef[_0x7c9cb2(0x1f9)]=0x4]=_0x7c9cb2(0x1f9),_0x1b1eef[_0x1b1eef[_0x7c9cb2(0x1fa)]=-0x1]='UNRECOGNIZED',_0x1b1eef))(o||{});function _0x4003(){const _0x57e884=['exportXLSXBySnapshot','importXLSXToSnapshot','938olUjdR','UNIVER_SHEET','UNIVER_UNKNOWN','UNIVER_SLIDE','38401qysTjm','exportXLSXByUnitId','The\x20exchange\x20service\x20is\x20not\x20available','importXLSXToUnitId','728285rMerfI','UNIVER_DOC','exportXLSXByUnitIdAsync','FUniver','462110pDDxHd','@univerjs/core/facade','IExchangeService','importFileToUnitId','24fjWavx','get','492XgAuRl','extend','importDOCXToSnapshotAsync','8gsiMTc','_injector','21708bOoIRn','importDOCXToUnitIdAsync','UNIVER_PROJECT','UNRECOGNIZED','importXLSXToUnitIdAsync','importDOCXToSnapshot','516162uLstQl','261VQqrPb','11162296UPLOkB','1296613tcjoax'];_0x4003=function(){return _0x57e884;};return _0x4003();}class c extends i[_0x7c9cb2(0x1eb)]{async[_0x7c9cb2(0x1e7)](_0x242bc4){const _0xa69567=_0x7c9cb2;return this[_0xa69567(0x1fb)](_0x242bc4);}async[_0x7c9cb2(0x1fb)](_0x316daa){const _0x322e09=_0x7c9cb2,_0x3e3e9c=this[_0x322e09(0x1f6)][_0x322e09(0x1f1)](r[_0x322e09(0x1ee)]);if(!_0x3e3e9c)throw new Error(_0x322e09(0x1e6));return _0x3e3e9c[_0x322e09(0x1ef)](_0x316daa,o[_0x322e09(0x1e1)]);}async[_0x7c9cb2(0x1df)](_0x45c023){return this['importXLSXToSnapshotAsync'](_0x45c023);}async['importXLSXToSnapshotAsync'](_0x38f76c){const _0x1b9bc8=_0x7c9cb2,_0x147e5d=this[_0x1b9bc8(0x1f6)][_0x1b9bc8(0x1f1)](r['IExchangeService']);if(!_0x147e5d)throw new Error(_0x1b9bc8(0x1e6));return _0x147e5d[_0x1b9bc8(0x1df)](_0x38f76c);}async[_0x7c9cb2(0x1e5)](_0x11f97e){return this['exportXLSXByUnitIdAsync'](_0x11f97e);}async[_0x7c9cb2(0x1ea)](_0x37e0e9){const _0x399fe6=_0x7c9cb2,_0x15e304=this['_injector'][_0x399fe6(0x1f1)](r[_0x399fe6(0x1ee)]);if(!_0x15e304)throw new Error(_0x399fe6(0x1e6));return _0x15e304[_0x399fe6(0x1e5)](_0x37e0e9);}async[_0x7c9cb2(0x201)](_0x50a35f){return this['exportXLSXBySnapshotAsync'](_0x50a35f);}async['exportXLSXBySnapshotAsync'](_0xfd8137){const _0x5002c5=_0x7c9cb2,_0x392678=this[_0x5002c5(0x1f6)]['get'](r['IExchangeService']);if(!_0x392678)throw new Error(_0x5002c5(0x1e6));return _0x392678[_0x5002c5(0x201)](_0xfd8137);}async['importDOCXToUnitId'](_0x1eefda){const _0x1fd123=_0x7c9cb2;return this[_0x1fd123(0x1f8)](_0x1eefda);}async[_0x7c9cb2(0x1f8)](_0x3882ea){const _0x4a9fe4=_0x7c9cb2,_0x178ba2=this[_0x4a9fe4(0x1f6)]['get'](r[_0x4a9fe4(0x1ee)]);if(!_0x178ba2)throw new Error(_0x4a9fe4(0x1e6));return _0x178ba2[_0x4a9fe4(0x1ef)](_0x3882ea,o[_0x4a9fe4(0x1e9)]);}async[_0x7c9cb2(0x1fc)](_0x1998f6){const _0x17cbbf=_0x7c9cb2;return this[_0x17cbbf(0x1f4)](_0x1998f6);}async[_0x7c9cb2(0x1f4)](_0x3a8e6a){const _0x4a6661=_0x7c9cb2,_0x4d0241=this[_0x4a6661(0x1f6)][_0x4a6661(0x1f1)](r[_0x4a6661(0x1ee)]);if(!_0x4d0241)throw new Error(_0x4a6661(0x1e6));return _0x4d0241['importDOCXToSnapshot'](_0x3a8e6a);}}i[_0x7c9cb2(0x1eb)][_0x7c9cb2(0x1f3)](c);