@univerjs-pro/exchange-client 0.6.7-experimental.20250328-21e0bec → 0.6.7-nightly.202503281607

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 _0x26b058=_0x1bcb;(function(_0x4e773c,_0x2be730){const _0x57dfce=_0x1bcb,_0x5162fc=_0x4e773c();while(!![]){try{const _0x2a32fd=-parseInt(_0x57dfce(0x156))/0x1+parseInt(_0x57dfce(0x141))/0x2*(-parseInt(_0x57dfce(0x161))/0x3)+-parseInt(_0x57dfce(0x159))/0x4+parseInt(_0x57dfce(0x15c))/0x5*(parseInt(_0x57dfce(0x14f))/0x6)+-parseInt(_0x57dfce(0x14d))/0x7+-parseInt(_0x57dfce(0x14a))/0x8+parseInt(_0x57dfce(0x143))/0x9*(parseInt(_0x57dfce(0x146))/0xa);if(_0x2a32fd===_0x2be730)break;else _0x5162fc['push'](_0x5162fc['shift']());}catch(_0x252b2c){_0x5162fc['push'](_0x5162fc['shift']());}}}(_0x5963,0xc52d5));function _0x1bcb(_0x20aeb1,_0x60c40b){const _0x59631c=_0x5963();return _0x1bcb=function(_0x1bcb7a,_0x4293de){_0x1bcb7a=_0x1bcb7a-0x141;let _0x526147=_0x59631c[_0x1bcb7a];return _0x526147;},_0x1bcb(_0x20aeb1,_0x60c40b);}const r=require(_0x26b058(0x157)),i=require(_0x26b058(0x145));function _0x5963(){const _0x546839=['FUniver','2ozEEtd','importDOCXToUnitId','9PRXCIT','importDOCXToUnitIdAsync','@univerjs/core/facade','25381210eSPlQU','UNIVER_UNKNOWN','importXLSXToUnitIdAsync','exportXLSXByUnitIdAsync','675808zBiHVi','UNIVER_DOC','importDOCXToSnapshot','4040925EgTySw','get','116562LNGkuk','UNIVER_PROJECT','extend','exportXLSXBySnapshotAsync','The\x20exchange\x20service\x20is\x20not\x20available','UNIVER_SLIDE','importXLSXToSnapshotAsync','91852XDnMYc','@univerjs-pro/exchange-client','_injector','4202320kEvIOE','importDOCXToSnapshotAsync','UNIVER_SHEET','245oYIZiz','IExchangeService','exportXLSXBySnapshot','importFileToUnitId','UNRECOGNIZED','2634672UIofiq','importXLSXToUnitId','importXLSXToSnapshot'];_0x5963=function(){return _0x546839;};return _0x5963();}var o=(_0x1ba123=>(_0x1ba123[_0x1ba123[_0x26b058(0x147)]=0x0]=_0x26b058(0x147),_0x1ba123[_0x1ba123[_0x26b058(0x14b)]=0x1]=_0x26b058(0x14b),_0x1ba123[_0x1ba123[_0x26b058(0x15b)]=0x2]=_0x26b058(0x15b),_0x1ba123[_0x1ba123[_0x26b058(0x154)]=0x3]=_0x26b058(0x154),_0x1ba123[_0x1ba123[_0x26b058(0x150)]=0x4]=_0x26b058(0x150),_0x1ba123[_0x1ba123[_0x26b058(0x160)]=-0x1]=_0x26b058(0x160),_0x1ba123))(o||{});class c extends i['FUniver']{async[_0x26b058(0x162)](_0x5ef346){const _0x4c05ad=_0x26b058;return this[_0x4c05ad(0x148)](_0x5ef346);}async[_0x26b058(0x148)](_0x300519){const _0x3a65c2=_0x26b058,_0x4a2058=this[_0x3a65c2(0x158)]['get'](r[_0x3a65c2(0x15d)]);if(!_0x4a2058)throw new Error('The\x20exchange\x20service\x20is\x20not\x20available');return _0x4a2058[_0x3a65c2(0x15f)](_0x300519,o[_0x3a65c2(0x15b)]);}async[_0x26b058(0x163)](_0x2eb8c0){return this['importXLSXToSnapshotAsync'](_0x2eb8c0);}async[_0x26b058(0x155)](_0x5173e4){const _0x10047c=_0x26b058,_0x15aa7e=this[_0x10047c(0x158)][_0x10047c(0x14e)](r[_0x10047c(0x15d)]);if(!_0x15aa7e)throw new Error(_0x10047c(0x153));return _0x15aa7e['importXLSXToSnapshot'](_0x5173e4);}async['exportXLSXByUnitId'](_0x4e16ea){return this['exportXLSXByUnitIdAsync'](_0x4e16ea);}async[_0x26b058(0x149)](_0x49da9d){const _0x208023=_0x26b058,_0x2f52d8=this[_0x208023(0x158)][_0x208023(0x14e)](r['IExchangeService']);if(!_0x2f52d8)throw new Error(_0x208023(0x153));return _0x2f52d8['exportXLSXByUnitId'](_0x49da9d);}async[_0x26b058(0x15e)](_0x550b9b){const _0x176246=_0x26b058;return this[_0x176246(0x152)](_0x550b9b);}async[_0x26b058(0x152)](_0x164633){const _0x3dda5a=_0x26b058,_0x312000=this['_injector']['get'](r[_0x3dda5a(0x15d)]);if(!_0x312000)throw new Error('The\x20exchange\x20service\x20is\x20not\x20available');return _0x312000[_0x3dda5a(0x15e)](_0x164633);}async[_0x26b058(0x142)](_0x21ce37){const _0x602646=_0x26b058;return this[_0x602646(0x144)](_0x21ce37);}async[_0x26b058(0x144)](_0x212d15){const _0x4c1701=_0x26b058,_0x4469b7=this[_0x4c1701(0x158)][_0x4c1701(0x14e)](r[_0x4c1701(0x15d)]);if(!_0x4469b7)throw new Error('The\x20exchange\x20service\x20is\x20not\x20available');return _0x4469b7[_0x4c1701(0x15f)](_0x212d15,o[_0x4c1701(0x14b)]);}async[_0x26b058(0x14c)](_0x54211f){const _0x41c3a5=_0x26b058;return this[_0x41c3a5(0x15a)](_0x54211f);}async[_0x26b058(0x15a)](_0x1b7cc0){const _0x3dfbd4=_0x26b058,_0x3353f1=this[_0x3dfbd4(0x158)][_0x3dfbd4(0x14e)](r[_0x3dfbd4(0x15d)]);if(!_0x3353f1)throw new Error(_0x3dfbd4(0x153));return _0x3353f1['importDOCXToSnapshot'](_0x1b7cc0);}}i[_0x26b058(0x164)][_0x26b058(0x151)](c);