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

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 _0x4075(){const _0x7a3e9c=['exportXLSXBySnapshot','extend','importDOCXToUnitId','99HmYbwQ','importXLSXToSnapshotAsync','UNIVER_DOC','UNIVER_UNKNOWN','13351vaJxwZ','importDOCXToSnapshotAsync','400520eSAiMU','150910mSLsMM','2612VavclN','exportXLSXByUnitIdAsync','1051818dQspVI','268752TfDolg','importDOCXToSnapshot','importDOCXToUnitIdAsync','4960dtEBbN','696HXntWr','7QOZljA','UNIVER_SHEET','importXLSXToUnitId','importFileToUnitId','The\x20exchange\x20service\x20is\x20not\x20available','IExchangeService','385jSBEjO','@univerjs-pro/exchange-client','get','UNIVER_SLIDE','_injector','exportXLSXByUnitId','FUniver','UNIVER_PROJECT','importXLSXToUnitIdAsync','27jXoWCL','26GNVkzD','exportXLSXBySnapshotAsync','UNRECOGNIZED','importXLSXToSnapshot'];_0x4075=function(){return _0x7a3e9c;};return _0x4075();}function _0x4b86(_0x30f73f,_0xfc7745){const _0x40759b=_0x4075();return _0x4b86=function(_0x4b86df,_0x3cbf83){_0x4b86df=_0x4b86df-0xc6;let _0x80a02e=_0x40759b[_0x4b86df];return _0x80a02e;},_0x4b86(_0x30f73f,_0xfc7745);}const _0x50dfd5=_0x4b86;(function(_0x547313,_0x53e676){const _0x402bb4=_0x4b86,_0x36de88=_0x547313();while(!![]){try{const _0x37f3b4=-parseInt(_0x402bb4(0xd3))/0x1*(parseInt(_0x402bb4(0xe8))/0x2)+parseInt(_0x402bb4(0xe5))/0x3+parseInt(_0x402bb4(0xe2))/0x4*(-parseInt(_0x402bb4(0xc9))/0x5)+parseInt(_0x402bb4(0xe4))/0x6*(parseInt(_0x402bb4(0xea))/0x7)+-parseInt(_0x402bb4(0xe0))/0x8*(-parseInt(_0x402bb4(0xd2))/0x9)+-parseInt(_0x402bb4(0xe1))/0xa*(parseInt(_0x402bb4(0xda))/0xb)+-parseInt(_0x402bb4(0xe9))/0xc*(parseInt(_0x402bb4(0xde))/0xd);if(_0x37f3b4===_0x53e676)break;else _0x36de88['push'](_0x36de88['shift']());}catch(_0x274b15){_0x36de88['push'](_0x36de88['shift']());}}}(_0x4075,0x199e8));const r=require(_0x50dfd5(0xca)),i=require('@univerjs/core/facade');var o=(_0x352e9f=>(_0x352e9f[_0x352e9f[_0x50dfd5(0xdd)]=0x0]=_0x50dfd5(0xdd),_0x352e9f[_0x352e9f[_0x50dfd5(0xdc)]=0x1]='UNIVER_DOC',_0x352e9f[_0x352e9f[_0x50dfd5(0xeb)]=0x2]='UNIVER_SHEET',_0x352e9f[_0x352e9f['UNIVER_SLIDE']=0x3]=_0x50dfd5(0xcc),_0x352e9f[_0x352e9f['UNIVER_PROJECT']=0x4]=_0x50dfd5(0xd0),_0x352e9f[_0x352e9f[_0x50dfd5(0xd5)]=-0x1]=_0x50dfd5(0xd5),_0x352e9f))(o||{});class c extends i[_0x50dfd5(0xcf)]{async[_0x50dfd5(0xec)](_0x2792e5){const _0x18be3d=_0x50dfd5;return this[_0x18be3d(0xd1)](_0x2792e5);}async['importXLSXToUnitIdAsync'](_0x557877){const _0x137a2c=_0x50dfd5,_0x33c7d8=this[_0x137a2c(0xcd)][_0x137a2c(0xcb)](r[_0x137a2c(0xc8)]);if(!_0x33c7d8)throw new Error(_0x137a2c(0xc7));return _0x33c7d8[_0x137a2c(0xc6)](_0x557877,o['UNIVER_SHEET']);}async[_0x50dfd5(0xd6)](_0x3fb9e9){const _0x42ec95=_0x50dfd5;return this[_0x42ec95(0xdb)](_0x3fb9e9);}async[_0x50dfd5(0xdb)](_0x53dc58){const _0xdd0c0c=_0x50dfd5,_0x2f948c=this[_0xdd0c0c(0xcd)][_0xdd0c0c(0xcb)](r[_0xdd0c0c(0xc8)]);if(!_0x2f948c)throw new Error('The\x20exchange\x20service\x20is\x20not\x20available');return _0x2f948c[_0xdd0c0c(0xd6)](_0x53dc58);}async['exportXLSXByUnitId'](_0x1f55fb){const _0x3baa53=_0x50dfd5;return this[_0x3baa53(0xe3)](_0x1f55fb);}async[_0x50dfd5(0xe3)](_0x20adca){const _0x264d95=_0x50dfd5,_0x34190a=this[_0x264d95(0xcd)][_0x264d95(0xcb)](r[_0x264d95(0xc8)]);if(!_0x34190a)throw new Error(_0x264d95(0xc7));return _0x34190a[_0x264d95(0xce)](_0x20adca);}async[_0x50dfd5(0xd7)](_0x58ae6c){const _0x52d037=_0x50dfd5;return this[_0x52d037(0xd4)](_0x58ae6c);}async[_0x50dfd5(0xd4)](_0x460a17){const _0x5dd4b0=_0x50dfd5,_0x4eefb6=this[_0x5dd4b0(0xcd)]['get'](r['IExchangeService']);if(!_0x4eefb6)throw new Error('The\x20exchange\x20service\x20is\x20not\x20available');return _0x4eefb6[_0x5dd4b0(0xd7)](_0x460a17);}async[_0x50dfd5(0xd9)](_0x6a3e65){const _0x51c9ad=_0x50dfd5;return this[_0x51c9ad(0xe7)](_0x6a3e65);}async[_0x50dfd5(0xe7)](_0x546d1c){const _0x449a68=_0x50dfd5,_0x556d1f=this[_0x449a68(0xcd)]['get'](r[_0x449a68(0xc8)]);if(!_0x556d1f)throw new Error(_0x449a68(0xc7));return _0x556d1f[_0x449a68(0xc6)](_0x546d1c,o[_0x449a68(0xdc)]);}async[_0x50dfd5(0xe6)](_0x4c58f6){const _0x29fd9=_0x50dfd5;return this[_0x29fd9(0xdf)](_0x4c58f6);}async[_0x50dfd5(0xdf)](_0x37c5d9){const _0x3fb9da=_0x50dfd5,_0x3d537c=this[_0x3fb9da(0xcd)][_0x3fb9da(0xcb)](r[_0x3fb9da(0xc8)]);if(!_0x3d537c)throw new Error('The\x20exchange\x20service\x20is\x20not\x20available');return _0x3d537c[_0x3fb9da(0xe6)](_0x37c5d9);}}i[_0x50dfd5(0xcf)][_0x50dfd5(0xd8)](c);
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);