@univerjs-pro/exchange-client 0.6.7-experimental.20250328-21e0bec → 0.6.7-experimental.20250329-4e66087

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 _0x3ecc3d=_0x57b5;function _0x57b5(_0x26c430,_0x3895e5){const _0x481e9a=_0x481e();return _0x57b5=function(_0x57b5f6,_0x39b74e){_0x57b5f6=_0x57b5f6-0x148;let _0x3008ec=_0x481e9a[_0x57b5f6];return _0x3008ec;},_0x57b5(_0x26c430,_0x3895e5);}(function(_0x218907,_0x359919){const _0x43f0f1=_0x57b5,_0x3cda4f=_0x218907();while(!![]){try{const _0x34913d=-parseInt(_0x43f0f1(0x149))/0x1*(-parseInt(_0x43f0f1(0x162))/0x2)+parseInt(_0x43f0f1(0x14d))/0x3*(-parseInt(_0x43f0f1(0x153))/0x4)+parseInt(_0x43f0f1(0x14c))/0x5*(parseInt(_0x43f0f1(0x166))/0x6)+-parseInt(_0x43f0f1(0x14e))/0x7+-parseInt(_0x43f0f1(0x150))/0x8+parseInt(_0x43f0f1(0x157))/0x9*(-parseInt(_0x43f0f1(0x163))/0xa)+parseInt(_0x43f0f1(0x156))/0xb;if(_0x34913d===_0x359919)break;else _0x3cda4f['push'](_0x3cda4f['shift']());}catch(_0x511afc){_0x3cda4f['push'](_0x3cda4f['shift']());}}}(_0x481e,0x75b26));const r=require('@univerjs-pro/exchange-client'),i=require(_0x3ecc3d(0x14b));function _0x481e(){const _0x498db7=['UNIVER_SHEET','363002OGOinQ','1429810TRXfIm','extend','importDOCXToSnapshot','98376RpoNzj','UNIVER_UNKNOWN','exportXLSXByUnitId','UNIVER_PROJECT','3MptLPc','FUniver','@univerjs/core/facade','115CCOhNJ','3WNUiWw','1867558AqCrYH','importDOCXToUnitIdAsync','4219872rAyENa','exportXLSXBySnapshot','importFileToUnitId','118676OSxkcD','UNIVER_DOC','importDOCXToSnapshotAsync','12092597WKjHKF','45TlwtYx','importXLSXToSnapshotAsync','The\x20exchange\x20service\x20is\x20not\x20available','importDOCXToUnitId','importXLSXToSnapshot','IExchangeService','UNIVER_SLIDE','get','_injector','exportXLSXByUnitIdAsync'];_0x481e=function(){return _0x498db7;};return _0x481e();}var o=(_0x1fbe27=>(_0x1fbe27[_0x1fbe27['UNIVER_UNKNOWN']=0x0]=_0x3ecc3d(0x167),_0x1fbe27[_0x1fbe27[_0x3ecc3d(0x154)]=0x1]=_0x3ecc3d(0x154),_0x1fbe27[_0x1fbe27[_0x3ecc3d(0x161)]=0x2]=_0x3ecc3d(0x161),_0x1fbe27[_0x1fbe27[_0x3ecc3d(0x15d)]=0x3]=_0x3ecc3d(0x15d),_0x1fbe27[_0x1fbe27['UNIVER_PROJECT']=0x4]=_0x3ecc3d(0x148),_0x1fbe27[_0x1fbe27['UNRECOGNIZED']=-0x1]='UNRECOGNIZED',_0x1fbe27))(o||{});class c extends i[_0x3ecc3d(0x14a)]{async['importXLSXToUnitId'](_0x14ed9a){return this['importXLSXToUnitIdAsync'](_0x14ed9a);}async['importXLSXToUnitIdAsync'](_0x2d882f){const _0x4b3826=_0x3ecc3d,_0x1ba4a5=this[_0x4b3826(0x15f)]['get'](r[_0x4b3826(0x15c)]);if(!_0x1ba4a5)throw new Error(_0x4b3826(0x159));return _0x1ba4a5[_0x4b3826(0x152)](_0x2d882f,o['UNIVER_SHEET']);}async[_0x3ecc3d(0x15b)](_0xd73223){const _0x638394=_0x3ecc3d;return this[_0x638394(0x158)](_0xd73223);}async[_0x3ecc3d(0x158)](_0x3159eb){const _0xf71660=_0x3ecc3d,_0x56d24a=this[_0xf71660(0x15f)][_0xf71660(0x15e)](r[_0xf71660(0x15c)]);if(!_0x56d24a)throw new Error(_0xf71660(0x159));return _0x56d24a[_0xf71660(0x15b)](_0x3159eb);}async['exportXLSXByUnitId'](_0x481b1f){const _0x516146=_0x3ecc3d;return this[_0x516146(0x160)](_0x481b1f);}async[_0x3ecc3d(0x160)](_0x4bd424){const _0x19f874=_0x3ecc3d,_0x10b782=this['_injector'][_0x19f874(0x15e)](r[_0x19f874(0x15c)]);if(!_0x10b782)throw new Error('The\x20exchange\x20service\x20is\x20not\x20available');return _0x10b782[_0x19f874(0x168)](_0x4bd424);}async[_0x3ecc3d(0x151)](_0x4b12fe){return this['exportXLSXBySnapshotAsync'](_0x4b12fe);}async['exportXLSXBySnapshotAsync'](_0x3b317b){const _0x26ccd7=_0x3ecc3d,_0x5e2fb2=this[_0x26ccd7(0x15f)]['get'](r['IExchangeService']);if(!_0x5e2fb2)throw new Error('The\x20exchange\x20service\x20is\x20not\x20available');return _0x5e2fb2[_0x26ccd7(0x151)](_0x3b317b);}async[_0x3ecc3d(0x15a)](_0x2e7dc9){const _0x5ac4b3=_0x3ecc3d;return this[_0x5ac4b3(0x14f)](_0x2e7dc9);}async[_0x3ecc3d(0x14f)](_0x374f25){const _0x314bc7=_0x3ecc3d,_0x4343c9=this[_0x314bc7(0x15f)]['get'](r[_0x314bc7(0x15c)]);if(!_0x4343c9)throw new Error('The\x20exchange\x20service\x20is\x20not\x20available');return _0x4343c9[_0x314bc7(0x152)](_0x374f25,o[_0x314bc7(0x154)]);}async['importDOCXToSnapshot'](_0x26aa7c){const _0xaaaedd=_0x3ecc3d;return this[_0xaaaedd(0x155)](_0x26aa7c);}async[_0x3ecc3d(0x155)](_0x3172a3){const _0xd4f46d=_0x3ecc3d,_0x3922c0=this['_injector']['get'](r[_0xd4f46d(0x15c)]);if(!_0x3922c0)throw new Error(_0xd4f46d(0x159));return _0x3922c0[_0xd4f46d(0x165)](_0x3172a3);}}i['FUniver'][_0x3ecc3d(0x164)](c);
1
+ 'use strict';const _0x209360=_0x2526;function _0xb0eb(){const _0x43282f=['333zoDMgY','importXLSXToUnitIdAsync','extend','595570JDONly','UNIVER_PROJECT','IExchangeService','exportXLSXByUnitId','importXLSXToUnitId','exportXLSXBySnapshotAsync','@univerjs/core/facade','exportXLSXBySnapshot','exportXLSXByUnitIdAsync','importDOCXToSnapshot','78tVfqbp','UNIVER_DOC','importDOCXToSnapshotAsync','4161HsOGXt','importXLSXToSnapshot','2415332hcYQgA','importDOCXToUnitIdAsync','UNIVER_SLIDE','5DFhsIt','6448672dCYMjo','get','UNIVER_UNKNOWN','importXLSXToSnapshotAsync','1370260OsFgPi','_injector','importFileToUnitId','The\x20exchange\x20service\x20is\x20not\x20available','importDOCXToUnitId','UNIVER_SHEET','FUniver','778463tVPqYw','UNRECOGNIZED','1520520hyVfsC'];_0xb0eb=function(){return _0x43282f;};return _0xb0eb();}(function(_0x3fc3b0,_0x16edba){const _0x21f1db=_0x2526,_0x255266=_0x3fc3b0();while(!![]){try{const _0x3337f7=-parseInt(_0x21f1db(0xfe))/0x1+-parseInt(_0x21f1db(0x108))/0x2+parseInt(_0x21f1db(0x111))/0x3+-parseInt(_0x21f1db(0x100))/0x4*(parseInt(_0x21f1db(0x103))/0x5)+parseInt(_0x21f1db(0x11f))/0x6*(-parseInt(_0x21f1db(0x10f))/0x7)+parseInt(_0x21f1db(0x104))/0x8+parseInt(_0x21f1db(0x112))/0x9*(parseInt(_0x21f1db(0x115))/0xa);if(_0x3337f7===_0x16edba)break;else _0x255266['push'](_0x255266['shift']());}catch(_0x300bbc){_0x255266['push'](_0x255266['shift']());}}}(_0xb0eb,0xbdddc));const r=require('@univerjs-pro/exchange-client'),i=require(_0x209360(0x11b));var o=(_0x45c432=>(_0x45c432[_0x45c432[_0x209360(0x106)]=0x0]='UNIVER_UNKNOWN',_0x45c432[_0x45c432[_0x209360(0x120)]=0x1]=_0x209360(0x120),_0x45c432[_0x45c432[_0x209360(0x10d)]=0x2]=_0x209360(0x10d),_0x45c432[_0x45c432[_0x209360(0x102)]=0x3]=_0x209360(0x102),_0x45c432[_0x45c432[_0x209360(0x116)]=0x4]=_0x209360(0x116),_0x45c432[_0x45c432[_0x209360(0x110)]=-0x1]=_0x209360(0x110),_0x45c432))(o||{});function _0x2526(_0x3953af,_0x1d6d37){const _0xb0ebbf=_0xb0eb();return _0x2526=function(_0x25262a,_0x282ebb){_0x25262a=_0x25262a-0xfe;let _0xb2e0df=_0xb0ebbf[_0x25262a];return _0xb2e0df;},_0x2526(_0x3953af,_0x1d6d37);}class c extends i['FUniver']{async[_0x209360(0x119)](_0x49dfa3){const _0x28cddf=_0x209360;return this[_0x28cddf(0x113)](_0x49dfa3);}async[_0x209360(0x113)](_0x2f4ab4){const _0x46ecfd=_0x209360,_0x5ee6d0=this[_0x46ecfd(0x109)][_0x46ecfd(0x105)](r[_0x46ecfd(0x117)]);if(!_0x5ee6d0)throw new Error(_0x46ecfd(0x10b));return _0x5ee6d0[_0x46ecfd(0x10a)](_0x2f4ab4,o['UNIVER_SHEET']);}async[_0x209360(0xff)](_0x49fcb5){const _0x14316f=_0x209360;return this[_0x14316f(0x107)](_0x49fcb5);}async[_0x209360(0x107)](_0x3f8ab8){const _0x4460b0=_0x209360,_0x42cf32=this[_0x4460b0(0x109)][_0x4460b0(0x105)](r[_0x4460b0(0x117)]);if(!_0x42cf32)throw new Error(_0x4460b0(0x10b));return _0x42cf32[_0x4460b0(0xff)](_0x3f8ab8);}async[_0x209360(0x118)](_0x5978cc){const _0x60f2d3=_0x209360;return this[_0x60f2d3(0x11d)](_0x5978cc);}async[_0x209360(0x11d)](_0x5f4552){const _0x2aed62=_0x209360,_0x2705af=this[_0x2aed62(0x109)][_0x2aed62(0x105)](r[_0x2aed62(0x117)]);if(!_0x2705af)throw new Error(_0x2aed62(0x10b));return _0x2705af['exportXLSXByUnitId'](_0x5f4552);}async[_0x209360(0x11c)](_0x215e94){const _0x14c0a5=_0x209360;return this[_0x14c0a5(0x11a)](_0x215e94);}async[_0x209360(0x11a)](_0x1b1418){const _0x25126f=_0x209360,_0x11c3ba=this['_injector'][_0x25126f(0x105)](r[_0x25126f(0x117)]);if(!_0x11c3ba)throw new Error(_0x25126f(0x10b));return _0x11c3ba[_0x25126f(0x11c)](_0x1b1418);}async[_0x209360(0x10c)](_0x3c7740){const _0x1c14f1=_0x209360;return this[_0x1c14f1(0x101)](_0x3c7740);}async[_0x209360(0x101)](_0x3a064c){const _0x4030cb=_0x209360,_0x27fc3c=this['_injector'][_0x4030cb(0x105)](r[_0x4030cb(0x117)]);if(!_0x27fc3c)throw new Error(_0x4030cb(0x10b));return _0x27fc3c['importFileToUnitId'](_0x3a064c,o[_0x4030cb(0x120)]);}async[_0x209360(0x11e)](_0xe4bfaf){const _0x185c75=_0x209360;return this[_0x185c75(0x121)](_0xe4bfaf);}async[_0x209360(0x121)](_0x13a9ef){const _0x216787=_0x209360,_0x202de1=this[_0x216787(0x109)][_0x216787(0x105)](r[_0x216787(0x117)]);if(!_0x202de1)throw new Error(_0x216787(0x10b));return _0x202de1[_0x216787(0x11e)](_0x13a9ef);}}i[_0x209360(0x10e)][_0x209360(0x114)](c);