@univerjs-pro/exchange-client 0.8.2-nightly.202506241607 → 0.8.2-nightly.202506261607

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 _0x81eb3d=_0xb92c;(function(_0x5ef12c,_0x4b37ac){const _0x1db68d=_0xb92c,_0x2e2c7f=_0x5ef12c();while(!![]){try{const _0x44fd59=-parseInt(_0x1db68d(0xa2))/0x1*(parseInt(_0x1db68d(0xaf))/0x2)+parseInt(_0x1db68d(0xa9))/0x3*(parseInt(_0x1db68d(0x94))/0x4)+-parseInt(_0x1db68d(0x8f))/0x5+-parseInt(_0x1db68d(0xaa))/0x6+-parseInt(_0x1db68d(0x99))/0x7*(-parseInt(_0x1db68d(0x9c))/0x8)+-parseInt(_0x1db68d(0x93))/0x9*(parseInt(_0x1db68d(0xab))/0xa)+parseInt(_0x1db68d(0x9e))/0xb;if(_0x44fd59===_0x4b37ac)break;else _0x2e2c7f['push'](_0x2e2c7f['shift']());}catch(_0x3bb311){_0x2e2c7f['push'](_0x2e2c7f['shift']());}}}(_0x9374,0xdb844));const r=require(_0x81eb3d(0xa8)),o=require(_0x81eb3d(0x9d));var i=(_0x1034aa=>(_0x1034aa[_0x1034aa[_0x81eb3d(0xa5)]=0x0]='UNIVER_UNKNOWN',_0x1034aa[_0x1034aa['UNIVER_DOC']=0x1]=_0x81eb3d(0x8c),_0x1034aa[_0x1034aa[_0x81eb3d(0x8e)]=0x2]='UNIVER_SHEET',_0x1034aa[_0x1034aa['UNIVER_SLIDE']=0x3]=_0x81eb3d(0xa0),_0x1034aa[_0x1034aa[_0x81eb3d(0xa3)]=0x4]=_0x81eb3d(0xa3),_0x1034aa[_0x1034aa['UNRECOGNIZED']=-0x1]=_0x81eb3d(0xac),_0x1034aa))(i||{});function _0xb92c(_0xeae3b2,_0x41e288){const _0x9374d3=_0x9374();return _0xb92c=function(_0xb92ccf,_0x3eb625){_0xb92ccf=_0xb92ccf-0x8c;let _0x2a7f06=_0x9374d3[_0xb92ccf];return _0x2a7f06;},_0xb92c(_0xeae3b2,_0x41e288);}class c extends o['FUniver']{async[_0x81eb3d(0x91)](_0x4f581b){return this['importXLSXToUnitIdAsync'](_0x4f581b);}async['importXLSXToUnitIdAsync'](_0x25f3f1){const _0x597933=_0x81eb3d,_0x2ae9e2=this[_0x597933(0x9b)][_0x597933(0xad)](r[_0x597933(0x9f)]);if(!_0x2ae9e2)throw new Error(_0x597933(0xb0));return _0x2ae9e2[_0x597933(0xa1)](_0x25f3f1,i['UNIVER_SHEET']);}async[_0x81eb3d(0xa7)](_0x2a1837){const _0x296226=_0x81eb3d;return this[_0x296226(0x92)](_0x2a1837);}async['importXLSXToSnapshotAsync'](_0x5a5be6){const _0x3cf12e=_0x81eb3d,_0x1a1777=this[_0x3cf12e(0x9b)][_0x3cf12e(0xad)](r[_0x3cf12e(0x9f)]);if(!_0x1a1777)throw new Error(_0x3cf12e(0xb0));return _0x1a1777[_0x3cf12e(0xa7)](_0x5a5be6);}async['exportXLSXByUnitId'](_0x267a55){const _0x13d34e=_0x81eb3d;return this[_0x13d34e(0x9a)](_0x267a55);}async[_0x81eb3d(0x9a)](_0x396cef){const _0x3660bf=_0x81eb3d,_0x223e4e=this[_0x3660bf(0x9b)][_0x3660bf(0xad)](r['IExchangeService']);if(!_0x223e4e)throw new Error(_0x3660bf(0xb0));return _0x223e4e[_0x3660bf(0x8d)](_0x396cef);}async['exportXLSXBySnapshot'](_0x577b9d){const _0x172638=_0x81eb3d;return this[_0x172638(0xa6)](_0x577b9d);}async['exportXLSXBySnapshotAsync'](_0x29f9de){const _0xb230e8=_0x81eb3d,_0x2024bb=this[_0xb230e8(0x9b)][_0xb230e8(0xad)](r[_0xb230e8(0x9f)]);if(!_0x2024bb)throw new Error(_0xb230e8(0xb0));return _0x2024bb[_0xb230e8(0x97)](_0x29f9de);}async[_0x81eb3d(0x96)](_0x1ce970){return this['importDOCXToUnitIdAsync'](_0x1ce970);}async['importDOCXToUnitIdAsync'](_0x2ddde3){const _0x104c66=_0x81eb3d,_0x82c39=this[_0x104c66(0x9b)]['get'](r[_0x104c66(0x9f)]);if(!_0x82c39)throw new Error(_0x104c66(0xb0));return _0x82c39[_0x104c66(0xa1)](_0x2ddde3,i['UNIVER_DOC']);}async[_0x81eb3d(0x98)](_0x4aea38){return this['importDOCXToSnapshotAsync'](_0x4aea38);}async[_0x81eb3d(0xa4)](_0x50930a){const _0x30d5d0=_0x81eb3d,_0x5db159=this[_0x30d5d0(0x9b)][_0x30d5d0(0xad)](r[_0x30d5d0(0x9f)]);if(!_0x5db159)throw new Error(_0x30d5d0(0xb0));return _0x5db159[_0x30d5d0(0x98)](_0x50930a);}async['exportDOCXBySnapshotAsync'](_0x3f1f66){const _0x22d520=_0x81eb3d,_0x3c60b0=this[_0x22d520(0x9b)][_0x22d520(0xad)](r[_0x22d520(0x9f)]);if(!_0x3c60b0)throw new Error('The\x20exchange\x20service\x20is\x20not\x20available');return _0x3c60b0['exportDOCXBySnapshot'](_0x3f1f66);}async[_0x81eb3d(0x90)](_0x1400d4){const _0x482e18=_0x81eb3d,_0x43eabf=this[_0x482e18(0x9b)][_0x482e18(0xad)](r['IExchangeService']);if(!_0x43eabf)throw new Error(_0x482e18(0xb0));return _0x43eabf['exportDOCXByUnitId'](_0x1400d4);}}function _0x9374(){const _0x2043bc=['importXLSXToUnitId','importXLSXToSnapshotAsync','101907BjLaVV','12gtGMab','FUniver','importDOCXToUnitId','exportXLSXBySnapshot','importDOCXToSnapshot','525hIEHOy','exportXLSXByUnitIdAsync','_injector','146992yVCBNw','@univerjs/core/facade','15852716qyfZxy','IExchangeService','UNIVER_SLIDE','importFileToUnitId','1ZHLYaK','UNIVER_PROJECT','importDOCXToSnapshotAsync','UNIVER_UNKNOWN','exportXLSXBySnapshotAsync','importXLSXToSnapshot','@univerjs-pro/exchange-client','1617537QlIZEx','10306692HgppML','220uPXOoV','UNRECOGNIZED','get','extend','2755736BCSgZd','The\x20exchange\x20service\x20is\x20not\x20available','UNIVER_DOC','exportXLSXByUnitId','UNIVER_SHEET','964235RGlkti','exportDOCXByUnitIdAsync'];_0x9374=function(){return _0x2043bc;};return _0x9374();}o[_0x81eb3d(0x95)][_0x81eb3d(0xae)](c);
1
+ 'use strict';const _0x1ddacc=_0x4d84;function _0x3b67(){const _0x5934c0=['IExchangeService','UNRECOGNIZED','importFileToUnitId','FUniver','UNIVER_SLIDE','_injector','importXLSXToUnitId','importXLSXToSnapshot','UNIVER_UNKNOWN','335085Ynfhtq','importDOCXToUnitId','exportDOCXByUnitId','1611496pmQXKB','exportXLSXByUnitId','importXLSXToSnapshotAsync','exportXLSXBySnapshot','14lstMxG','The\x20exchange\x20service\x20is\x20not\x20available','UNIVER_DOC','importDOCXToUnitIdAsync','375Yfljhq','UNIVER_SHEET','29730kSBacY','2083689OIkxNM','3594644dVfekz','@univerjs-pro/exchange-client','importXLSXToUnitIdAsync','33178730aKXOXb','exportDOCXByUnitIdAsync','importDOCXToSnapshotAsync','4CNzyuO','importDOCXToSnapshot','UNIVER_PROJECT','7252848zBrqWa','get','@univerjs/core/facade','exportXLSXBySnapshotAsync'];_0x3b67=function(){return _0x5934c0;};return _0x3b67();}(function(_0x1ceb47,_0x50ccc3){const _0xe4e87a=_0x4d84,_0x51a366=_0x1ceb47();while(!![]){try{const _0x484a37=parseInt(_0xe4e87a(0x143))/0x1*(parseInt(_0xe4e87a(0x133))/0x2)+parseInt(_0xe4e87a(0x151))/0x3+parseInt(_0xe4e87a(0x152))/0x4+parseInt(_0xe4e87a(0x14e))/0x5*(parseInt(_0xe4e87a(0x150))/0x6)+parseInt(_0xe4e87a(0x14a))/0x7*(parseInt(_0xe4e87a(0x146))/0x8)+parseInt(_0xe4e87a(0x136))/0x9+-parseInt(_0xe4e87a(0x155))/0xa;if(_0x484a37===_0x50ccc3)break;else _0x51a366['push'](_0x51a366['shift']());}catch(_0x2f1212){_0x51a366['push'](_0x51a366['shift']());}}}(_0x3b67,0x80644));const r=require(_0x1ddacc(0x153)),o=require(_0x1ddacc(0x138));var i=(_0x26a18d=>(_0x26a18d[_0x26a18d[_0x1ddacc(0x142)]=0x0]=_0x1ddacc(0x142),_0x26a18d[_0x26a18d[_0x1ddacc(0x14c)]=0x1]=_0x1ddacc(0x14c),_0x26a18d[_0x26a18d['UNIVER_SHEET']=0x2]=_0x1ddacc(0x14f),_0x26a18d[_0x26a18d[_0x1ddacc(0x13e)]=0x3]=_0x1ddacc(0x13e),_0x26a18d[_0x26a18d[_0x1ddacc(0x135)]=0x4]=_0x1ddacc(0x135),_0x26a18d[_0x26a18d[_0x1ddacc(0x13b)]=-0x1]='UNRECOGNIZED',_0x26a18d))(i||{});class c extends o[_0x1ddacc(0x13d)]{async[_0x1ddacc(0x140)](_0x5c1641){const _0x5a4461=_0x1ddacc;return this[_0x5a4461(0x154)](_0x5c1641);}async['importXLSXToUnitIdAsync'](_0x4bd639){const _0xbf84ad=_0x1ddacc,_0x40bf82=this[_0xbf84ad(0x13f)][_0xbf84ad(0x137)](r['IExchangeService']);if(!_0x40bf82)throw new Error('The\x20exchange\x20service\x20is\x20not\x20available');return _0x40bf82[_0xbf84ad(0x13c)](_0x4bd639,i[_0xbf84ad(0x14f)]);}async[_0x1ddacc(0x141)](_0x2861b3){return this['importXLSXToSnapshotAsync'](_0x2861b3);}async[_0x1ddacc(0x148)](_0x4928ae){const _0x4c15ff=_0x1ddacc,_0x1631c5=this[_0x4c15ff(0x13f)][_0x4c15ff(0x137)](r[_0x4c15ff(0x13a)]);if(!_0x1631c5)throw new Error(_0x4c15ff(0x14b));return _0x1631c5[_0x4c15ff(0x141)](_0x4928ae);}async['exportXLSXByUnitId'](_0x2521e5){return this['exportXLSXByUnitIdAsync'](_0x2521e5);}async['exportXLSXByUnitIdAsync'](_0x3a4466){const _0x244e1b=_0x1ddacc,_0x5eb41b=this[_0x244e1b(0x13f)][_0x244e1b(0x137)](r[_0x244e1b(0x13a)]);if(!_0x5eb41b)throw new Error(_0x244e1b(0x14b));return _0x5eb41b[_0x244e1b(0x147)](_0x3a4466);}async[_0x1ddacc(0x149)](_0x5e4a64){const _0x34c944=_0x1ddacc;return this[_0x34c944(0x139)](_0x5e4a64);}async[_0x1ddacc(0x139)](_0x37bbfb){const _0x421b60=_0x1ddacc,_0x742b8e=this['_injector']['get'](r[_0x421b60(0x13a)]);if(!_0x742b8e)throw new Error(_0x421b60(0x14b));return _0x742b8e[_0x421b60(0x149)](_0x37bbfb);}async[_0x1ddacc(0x144)](_0x101367){const _0x544657=_0x1ddacc;return this[_0x544657(0x14d)](_0x101367);}async[_0x1ddacc(0x14d)](_0x1b1988){const _0x48b003=_0x1ddacc,_0x538d4e=this[_0x48b003(0x13f)][_0x48b003(0x137)](r[_0x48b003(0x13a)]);if(!_0x538d4e)throw new Error(_0x48b003(0x14b));return _0x538d4e['importFileToUnitId'](_0x1b1988,i['UNIVER_DOC']);}async[_0x1ddacc(0x134)](_0x5d468d){const _0x591463=_0x1ddacc;return this[_0x591463(0x157)](_0x5d468d);}async['importDOCXToSnapshotAsync'](_0x5de602){const _0xc99b71=_0x1ddacc,_0xe860af=this[_0xc99b71(0x13f)][_0xc99b71(0x137)](r[_0xc99b71(0x13a)]);if(!_0xe860af)throw new Error('The\x20exchange\x20service\x20is\x20not\x20available');return _0xe860af['importDOCXToSnapshot'](_0x5de602);}async['exportDOCXBySnapshotAsync'](_0x3e4493){const _0x129c5d=_0x1ddacc,_0x10dc1d=this['_injector'][_0x129c5d(0x137)](r['IExchangeService']);if(!_0x10dc1d)throw new Error(_0x129c5d(0x14b));return _0x10dc1d['exportDOCXBySnapshot'](_0x3e4493);}async[_0x1ddacc(0x156)](_0x5eadd6){const _0x245b78=_0x1ddacc,_0x53512c=this[_0x245b78(0x13f)][_0x245b78(0x137)](r['IExchangeService']);if(!_0x53512c)throw new Error(_0x245b78(0x14b));return _0x53512c[_0x245b78(0x145)](_0x5eadd6);}}function _0x4d84(_0x3bd463,_0x5eb6b1){const _0x3b67b1=_0x3b67();return _0x4d84=function(_0x4d842a,_0x4dc87a){_0x4d842a=_0x4d842a-0x133;let _0x5a4709=_0x3b67b1[_0x4d842a];return _0x5a4709;},_0x4d84(_0x3bd463,_0x5eb6b1);}o[_0x1ddacc(0x13d)]['extend'](c);