@univerjs-pro/exchange-client 0.6.9-experimental.20250406-d422c87 → 0.6.9-experimental.20250408-bc98dfc

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 _0xdda8f1=_0x5a09;(function(_0x2df768,_0x141284){const _0x3f5c44=_0x5a09,_0x3dcf8c=_0x2df768();while(!![]){try{const _0x1da16e=-parseInt(_0x3f5c44(0x145))/0x1+parseInt(_0x3f5c44(0x159))/0x2*(parseInt(_0x3f5c44(0x15d))/0x3)+-parseInt(_0x3f5c44(0x163))/0x4+-parseInt(_0x3f5c44(0x161))/0x5+parseInt(_0x3f5c44(0x158))/0x6+parseInt(_0x3f5c44(0x148))/0x7+parseInt(_0x3f5c44(0x165))/0x8;if(_0x1da16e===_0x141284)break;else _0x3dcf8c['push'](_0x3dcf8c['shift']());}catch(_0xa6d8f2){_0x3dcf8c['push'](_0x3dcf8c['shift']());}}}(_0x1bc6,0xa53c8));function _0x1bc6(){const _0x1e5d40=['IExchangeService','importDOCXToUnitId','importXLSXToUnitId','UNIVER_SHEET','importDOCXToSnapshot','importFileToUnitId','exportXLSXByUnitId','importDOCXToUnitIdAsync','@univerjs/core/facade','_injector','get','7616202SUSBCu','1336MKblme','UNIVER_PROJECT','exportXLSXByUnitIdAsync','exportXLSXBySnapshot','4569wqWlgl','@univerjs-pro/exchange-client','UNIVER_UNKNOWN','UNRECOGNIZED','6114425DyTocc','importDOCXToSnapshotAsync','5238256iMYUBx','importXLSXToUnitIdAsync','5520904bYDsYd','importXLSXToSnapshot','638146iNivaE','exportXLSXBySnapshotAsync','importXLSXToSnapshotAsync','6093913ZyIJYF','UNIVER_SLIDE','FUniver','The\x20exchange\x20service\x20is\x20not\x20available','UNIVER_DOC'];_0x1bc6=function(){return _0x1e5d40;};return _0x1bc6();}const r=require(_0xdda8f1(0x15e)),i=require(_0xdda8f1(0x155));function _0x5a09(_0x41a6c3,_0x59670d){const _0x1bc625=_0x1bc6();return _0x5a09=function(_0x5a09de,_0x229fa1){_0x5a09de=_0x5a09de-0x144;let _0x52cdd3=_0x1bc625[_0x5a09de];return _0x52cdd3;},_0x5a09(_0x41a6c3,_0x59670d);}var o=(_0x352151=>(_0x352151[_0x352151[_0xdda8f1(0x15f)]=0x0]=_0xdda8f1(0x15f),_0x352151[_0x352151[_0xdda8f1(0x14c)]=0x1]=_0xdda8f1(0x14c),_0x352151[_0x352151[_0xdda8f1(0x150)]=0x2]=_0xdda8f1(0x150),_0x352151[_0x352151[_0xdda8f1(0x149)]=0x3]=_0xdda8f1(0x149),_0x352151[_0x352151[_0xdda8f1(0x15a)]=0x4]=_0xdda8f1(0x15a),_0x352151[_0x352151[_0xdda8f1(0x160)]=-0x1]=_0xdda8f1(0x160),_0x352151))(o||{});class c extends i[_0xdda8f1(0x14a)]{async[_0xdda8f1(0x14f)](_0x337502){const _0x8b5741=_0xdda8f1;return this[_0x8b5741(0x164)](_0x337502);}async[_0xdda8f1(0x164)](_0x47c522){const _0x54cd57=_0xdda8f1,_0x828fd7=this[_0x54cd57(0x156)]['get'](r['IExchangeService']);if(!_0x828fd7)throw new Error(_0x54cd57(0x14b));return _0x828fd7[_0x54cd57(0x152)](_0x47c522,o[_0x54cd57(0x150)]);}async[_0xdda8f1(0x144)](_0x454efc){const _0x164c7b=_0xdda8f1;return this[_0x164c7b(0x147)](_0x454efc);}async['importXLSXToSnapshotAsync'](_0x1e6bac){const _0x51c889=_0xdda8f1,_0x3a6000=this[_0x51c889(0x156)][_0x51c889(0x157)](r[_0x51c889(0x14d)]);if(!_0x3a6000)throw new Error('The\x20exchange\x20service\x20is\x20not\x20available');return _0x3a6000[_0x51c889(0x144)](_0x1e6bac);}async[_0xdda8f1(0x153)](_0xb21139){return this['exportXLSXByUnitIdAsync'](_0xb21139);}async[_0xdda8f1(0x15b)](_0x4c2ad0){const _0x5abec2=_0xdda8f1,_0x156aa0=this['_injector'][_0x5abec2(0x157)](r[_0x5abec2(0x14d)]);if(!_0x156aa0)throw new Error(_0x5abec2(0x14b));return _0x156aa0[_0x5abec2(0x153)](_0x4c2ad0);}async[_0xdda8f1(0x15c)](_0x1c0460){const _0x4d0cb3=_0xdda8f1;return this[_0x4d0cb3(0x146)](_0x1c0460);}async[_0xdda8f1(0x146)](_0x58be46){const _0x511990=_0xdda8f1,_0x3b796d=this[_0x511990(0x156)][_0x511990(0x157)](r[_0x511990(0x14d)]);if(!_0x3b796d)throw new Error(_0x511990(0x14b));return _0x3b796d[_0x511990(0x15c)](_0x58be46);}async[_0xdda8f1(0x14e)](_0xb12f7c){const _0x1e4451=_0xdda8f1;return this[_0x1e4451(0x154)](_0xb12f7c);}async[_0xdda8f1(0x154)](_0x519637){const _0x3ef539=_0xdda8f1,_0x5092bb=this[_0x3ef539(0x156)][_0x3ef539(0x157)](r[_0x3ef539(0x14d)]);if(!_0x5092bb)throw new Error(_0x3ef539(0x14b));return _0x5092bb[_0x3ef539(0x152)](_0x519637,o[_0x3ef539(0x14c)]);}async[_0xdda8f1(0x151)](_0x480b32){const _0x267074=_0xdda8f1;return this[_0x267074(0x162)](_0x480b32);}async[_0xdda8f1(0x162)](_0x1da455){const _0x2a3a53=_0xdda8f1,_0x1e753d=this[_0x2a3a53(0x156)][_0x2a3a53(0x157)](r[_0x2a3a53(0x14d)]);if(!_0x1e753d)throw new Error(_0x2a3a53(0x14b));return _0x1e753d[_0x2a3a53(0x151)](_0x1da455);}}i['FUniver']['extend'](c);
1
+ 'use strict';const _0x1741eb=_0xe4bd;(function(_0x4f7e17,_0x198f34){const _0x4663af=_0xe4bd,_0x288ef4=_0x4f7e17();while(!![]){try{const _0xb1ca4f=-parseInt(_0x4663af(0xa9))/0x1+-parseInt(_0x4663af(0xac))/0x2+-parseInt(_0x4663af(0xb3))/0x3+-parseInt(_0x4663af(0xc1))/0x4+parseInt(_0x4663af(0xb0))/0x5*(-parseInt(_0x4663af(0xad))/0x6)+-parseInt(_0x4663af(0xbc))/0x7+parseInt(_0x4663af(0xb5))/0x8;if(_0xb1ca4f===_0x198f34)break;else _0x288ef4['push'](_0x288ef4['shift']());}catch(_0x391db7){_0x288ef4['push'](_0x288ef4['shift']());}}}(_0x3f57,0xd7c86));function _0xe4bd(_0x5ed794,_0x4cd375){const _0x3f5770=_0x3f57();return _0xe4bd=function(_0xe4bdf0,_0xa95919){_0xe4bdf0=_0xe4bdf0-0xa3;let _0x7d1d3d=_0x3f5770[_0xe4bdf0];return _0x7d1d3d;},_0xe4bd(_0x5ed794,_0x4cd375);}function _0x3f57(){const _0x48c8d=['42917448ebOSqL','importDOCXToSnapshot','UNIVER_SLIDE','UNIVER_SHEET','IExchangeService','exportXLSXBySnapshot','importDOCXToUnitId','733817FNevnx','@univerjs/core/facade','get','exportXLSXByUnitIdAsync','importDOCXToUnitIdAsync','1165700Jthnwe','importXLSXToUnitId','importFileToUnitId','UNRECOGNIZED','importXLSXToSnapshotAsync','extend','importXLSXToSnapshot','importXLSXToUnitIdAsync','UNIVER_DOC','1104568wqUcve','_injector','importDOCXToSnapshotAsync','2644348gcNAug','20982YUHFij','exportXLSXByUnitId','exportXLSXBySnapshotAsync','395jXErxk','UNIVER_UNKNOWN','The\x20exchange\x20service\x20is\x20not\x20available','4144722ElzDZg','FUniver'];_0x3f57=function(){return _0x48c8d;};return _0x3f57();}const r=require('@univerjs-pro/exchange-client'),i=require(_0x1741eb(0xbd));var o=(_0x417e1c=>(_0x417e1c[_0x417e1c[_0x1741eb(0xb1)]=0x0]=_0x1741eb(0xb1),_0x417e1c[_0x417e1c[_0x1741eb(0xa8)]=0x1]=_0x1741eb(0xa8),_0x417e1c[_0x417e1c[_0x1741eb(0xb8)]=0x2]=_0x1741eb(0xb8),_0x417e1c[_0x417e1c[_0x1741eb(0xb7)]=0x3]=_0x1741eb(0xb7),_0x417e1c[_0x417e1c['UNIVER_PROJECT']=0x4]='UNIVER_PROJECT',_0x417e1c[_0x417e1c['UNRECOGNIZED']=-0x1]=_0x1741eb(0xa3),_0x417e1c))(o||{});class c extends i[_0x1741eb(0xb4)]{async[_0x1741eb(0xc2)](_0x63797){const _0x4180fd=_0x1741eb;return this[_0x4180fd(0xa7)](_0x63797);}async[_0x1741eb(0xa7)](_0x498435){const _0x4ebbd9=_0x1741eb,_0x4b615d=this[_0x4ebbd9(0xaa)][_0x4ebbd9(0xbe)](r['IExchangeService']);if(!_0x4b615d)throw new Error('The\x20exchange\x20service\x20is\x20not\x20available');return _0x4b615d['importFileToUnitId'](_0x498435,o[_0x4ebbd9(0xb8)]);}async[_0x1741eb(0xa6)](_0x4264e3){const _0x1abf88=_0x1741eb;return this[_0x1abf88(0xa4)](_0x4264e3);}async[_0x1741eb(0xa4)](_0x42dc67){const _0x56a3d5=_0x1741eb,_0x2d163a=this['_injector'][_0x56a3d5(0xbe)](r[_0x56a3d5(0xb9)]);if(!_0x2d163a)throw new Error(_0x56a3d5(0xb2));return _0x2d163a[_0x56a3d5(0xa6)](_0x42dc67);}async[_0x1741eb(0xae)](_0x136517){const _0x171b69=_0x1741eb;return this[_0x171b69(0xbf)](_0x136517);}async[_0x1741eb(0xbf)](_0xc6df43){const _0x1ca829=_0x1741eb,_0x56068e=this[_0x1ca829(0xaa)][_0x1ca829(0xbe)](r[_0x1ca829(0xb9)]);if(!_0x56068e)throw new Error(_0x1ca829(0xb2));return _0x56068e[_0x1ca829(0xae)](_0xc6df43);}async[_0x1741eb(0xba)](_0x357a6e){const _0x5be548=_0x1741eb;return this[_0x5be548(0xaf)](_0x357a6e);}async[_0x1741eb(0xaf)](_0x458652){const _0x5c7fa0=_0x1741eb,_0x51ccca=this[_0x5c7fa0(0xaa)][_0x5c7fa0(0xbe)](r['IExchangeService']);if(!_0x51ccca)throw new Error(_0x5c7fa0(0xb2));return _0x51ccca[_0x5c7fa0(0xba)](_0x458652);}async[_0x1741eb(0xbb)](_0x2dd2f9){const _0x6f7d16=_0x1741eb;return this[_0x6f7d16(0xc0)](_0x2dd2f9);}async[_0x1741eb(0xc0)](_0x324b27){const _0x47b85e=_0x1741eb,_0x1bd1df=this[_0x47b85e(0xaa)][_0x47b85e(0xbe)](r[_0x47b85e(0xb9)]);if(!_0x1bd1df)throw new Error(_0x47b85e(0xb2));return _0x1bd1df[_0x47b85e(0xc3)](_0x324b27,o[_0x47b85e(0xa8)]);}async['importDOCXToSnapshot'](_0x193e3c){const _0x1cf175=_0x1741eb;return this[_0x1cf175(0xab)](_0x193e3c);}async[_0x1741eb(0xab)](_0x4626de){const _0x1f4f9f=_0x1741eb,_0x2558ae=this[_0x1f4f9f(0xaa)][_0x1f4f9f(0xbe)](r[_0x1f4f9f(0xb9)]);if(!_0x2558ae)throw new Error(_0x1f4f9f(0xb2));return _0x2558ae[_0x1f4f9f(0xb6)](_0x4626de);}}i[_0x1741eb(0xb4)][_0x1741eb(0xa5)](c);