@univerjs-pro/exchange-client 0.5.2-nightly.202501031606 → 0.5.3-nightly.202501041605

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 _0x44c272=_0x277b;function _0x50be(){const _0x12d7ab=['importFileToUnitId','FUniver','402799qCMzkr','_injector','660pBLuwJ','get','7078CiJUBa','44919cErHFq','UNIVER_SLIDE','UNRECOGNIZED','1077ebCmVR','importXLSXToUnitId','UNIVER_UNKNOWN','UNIVER_PROJECT','1258725ujOlbD','importXLSXToSnapshot','56BbcaUJ','204479DSNwEX','The\x20exchange\x20service\x20is\x20not\x20available','importDOCXToUnitId','IExchangeService','217788woEijR','exportXLSXBySnapshot','UNIVER_SHEET','extend','1180956KdwrbE','98VeUHYd','exportXLSXByUnitId'];_0x50be=function(){return _0x12d7ab;};return _0x50be();}(function(_0x36e051,_0x33a4fe){const _0x5e2428=_0x277b,_0xc0afd1=_0x36e051();while(!![]){try{const _0x1de2ef=-parseInt(_0x5e2428(0x14b))/0x1+-parseInt(_0x5e2428(0x133))/0x2*(parseInt(_0x5e2428(0x137))/0x3)+parseInt(_0x5e2428(0x146))/0x4+parseInt(_0x5e2428(0x13b))/0x5+-parseInt(_0x5e2428(0x142))/0x6*(-parseInt(_0x5e2428(0x147))/0x7)+-parseInt(_0x5e2428(0x13d))/0x8*(-parseInt(_0x5e2428(0x134))/0x9)+-parseInt(_0x5e2428(0x131))/0xa*(-parseInt(_0x5e2428(0x13e))/0xb);if(_0x1de2ef===_0x33a4fe)break;else _0xc0afd1['push'](_0xc0afd1['shift']());}catch(_0x337db0){_0xc0afd1['push'](_0xc0afd1['shift']());}}}(_0x50be,0x9d253));const c=require('@univerjs/core'),n=require('@univerjs-pro/exchange-client');function _0x277b(_0x1e5533,_0x57e8dd){const _0x50be9d=_0x50be();return _0x277b=function(_0x277b57,_0x465bfe){_0x277b57=_0x277b57-0x131;let _0x31d337=_0x50be9d[_0x277b57];return _0x31d337;},_0x277b(_0x1e5533,_0x57e8dd);}var i=(_0x131b1d=>(_0x131b1d[_0x131b1d[_0x44c272(0x139)]=0x0]=_0x44c272(0x139),_0x131b1d[_0x131b1d['UNIVER_DOC']=0x1]='UNIVER_DOC',_0x131b1d[_0x131b1d[_0x44c272(0x144)]=0x2]=_0x44c272(0x144),_0x131b1d[_0x131b1d[_0x44c272(0x135)]=0x3]='UNIVER_SLIDE',_0x131b1d[_0x131b1d[_0x44c272(0x13a)]=0x4]=_0x44c272(0x13a),_0x131b1d[_0x131b1d[_0x44c272(0x136)]=-0x1]=_0x44c272(0x136),_0x131b1d))(i||{});class o extends c[_0x44c272(0x14a)]{async[_0x44c272(0x138)](_0x3b4120){const _0x445daf=_0x44c272,_0x42d798=this[_0x445daf(0x14c)][_0x445daf(0x132)](n['IExchangeService']);if(!_0x42d798)throw new Error('The\x20exchange\x20service\x20is\x20not\x20available');return _0x42d798[_0x445daf(0x149)](_0x3b4120,i[_0x445daf(0x144)]);}async[_0x44c272(0x13c)](_0x2e12fd){const _0x1c6189=_0x44c272,_0x5445bb=this['_injector'][_0x1c6189(0x132)](n[_0x1c6189(0x141)]);if(!_0x5445bb)throw new Error(_0x1c6189(0x13f));return _0x5445bb[_0x1c6189(0x13c)](_0x2e12fd);}async[_0x44c272(0x148)](_0x588bf1){const _0x1f2782=_0x44c272,_0x10ffae=this[_0x1f2782(0x14c)][_0x1f2782(0x132)](n[_0x1f2782(0x141)]);if(!_0x10ffae)throw new Error(_0x1f2782(0x13f));return _0x10ffae['exportXLSXByUnitId'](_0x588bf1);}async['exportXLSXBySnapshot'](_0x304015){const _0x4ccbcb=_0x44c272,_0x5083af=this['_injector'][_0x4ccbcb(0x132)](n[_0x4ccbcb(0x141)]);if(!_0x5083af)throw new Error(_0x4ccbcb(0x13f));return _0x5083af[_0x4ccbcb(0x143)](_0x304015);}async[_0x44c272(0x140)](_0x2dfd99){const _0x1377ed=_0x44c272,_0x7bf1eb=this[_0x1377ed(0x14c)][_0x1377ed(0x132)](n[_0x1377ed(0x141)]);if(!_0x7bf1eb)throw new Error(_0x1377ed(0x13f));return _0x7bf1eb[_0x1377ed(0x149)](_0x2dfd99,i['UNIVER_DOC']);}async['importDOCXToSnapshot'](_0x5ed36e){const _0x51fe91=_0x44c272,_0xb47ab0=this[_0x51fe91(0x14c)][_0x51fe91(0x132)](n[_0x51fe91(0x141)]);if(!_0xb47ab0)throw new Error(_0x51fe91(0x13f));return _0xb47ab0['importDOCXToSnapshot'](_0x5ed36e);}}c[_0x44c272(0x14a)][_0x44c272(0x145)](o);
1
+ 'use strict';const _0x3ec0a3=_0x1a22;function _0x6094(){const _0x199617=['380919auEMbu','@univerjs/core','UNIVER_UNKNOWN','importDOCXToUnitId','UNIVER_SHEET','importDOCXToSnapshot','1707132JPoJXQ','UNIVER_SLIDE','get','exportXLSXBySnapshot','importFileToUnitId','87024EkyAUx','UNRECOGNIZED','92515QHKryd','UNIVER_PROJECT','8YqIHut','300082ZBtErl','exportXLSXByUnitId','FUniver','@univerjs-pro/exchange-client','78PuswDe','1201230MhAeGY','importXLSXToSnapshot','18VFjTIr','The\x20exchange\x20service\x20is\x20not\x20available','619712JIhYix','_injector','IExchangeService','extend','UNIVER_DOC'];_0x6094=function(){return _0x199617;};return _0x6094();}(function(_0x44494b,_0x11c23a){const _0x5752ce=_0x1a22,_0x57c01d=_0x44494b();while(!![]){try{const _0x1a3bb3=parseInt(_0x5752ce(0x1c3))/0x1+-parseInt(_0x5752ce(0x1be))/0x2+parseInt(_0x5752ce(0x1d1))/0x3*(parseInt(_0x5752ce(0x1c2))/0x4)+parseInt(_0x5752ce(0x1c0))/0x5*(-parseInt(_0x5752ce(0x1c7))/0x6)+parseInt(_0x5752ce(0x1b9))/0x7+-parseInt(_0x5752ce(0x1cc))/0x8+-parseInt(_0x5752ce(0x1ca))/0x9*(parseInt(_0x5752ce(0x1c8))/0xa);if(_0x1a3bb3===_0x11c23a)break;else _0x57c01d['push'](_0x57c01d['shift']());}catch(_0x297be6){_0x57c01d['push'](_0x57c01d['shift']());}}}(_0x6094,0x2fe2f));function _0x1a22(_0x1fec48,_0x5b436c){const _0x6094ed=_0x6094();return _0x1a22=function(_0x1a2271,_0x40e139){_0x1a2271=_0x1a2271-0x1b6;let _0x4f9412=_0x6094ed[_0x1a2271];return _0x4f9412;},_0x1a22(_0x1fec48,_0x5b436c);}const c=require(_0x3ec0a3(0x1d2)),n=require(_0x3ec0a3(0x1c6));var i=(_0x38da79=>(_0x38da79[_0x38da79[_0x3ec0a3(0x1d3)]=0x0]='UNIVER_UNKNOWN',_0x38da79[_0x38da79[_0x3ec0a3(0x1d0)]=0x1]=_0x3ec0a3(0x1d0),_0x38da79[_0x38da79[_0x3ec0a3(0x1b7)]=0x2]='UNIVER_SHEET',_0x38da79[_0x38da79[_0x3ec0a3(0x1ba)]=0x3]=_0x3ec0a3(0x1ba),_0x38da79[_0x38da79[_0x3ec0a3(0x1c1)]=0x4]=_0x3ec0a3(0x1c1),_0x38da79[_0x38da79[_0x3ec0a3(0x1bf)]=-0x1]=_0x3ec0a3(0x1bf),_0x38da79))(i||{});class o extends c[_0x3ec0a3(0x1c5)]{async['importXLSXToUnitId'](_0x31633d){const _0x3c6ae3=_0x3ec0a3,_0x4b979a=this['_injector'][_0x3c6ae3(0x1bb)](n['IExchangeService']);if(!_0x4b979a)throw new Error('The\x20exchange\x20service\x20is\x20not\x20available');return _0x4b979a[_0x3c6ae3(0x1bd)](_0x31633d,i[_0x3c6ae3(0x1b7)]);}async[_0x3ec0a3(0x1c9)](_0x3957d4){const _0x3a44d6=_0x3ec0a3,_0x193883=this[_0x3a44d6(0x1cd)][_0x3a44d6(0x1bb)](n[_0x3a44d6(0x1ce)]);if(!_0x193883)throw new Error(_0x3a44d6(0x1cb));return _0x193883['importXLSXToSnapshot'](_0x3957d4);}async[_0x3ec0a3(0x1c4)](_0x10e27d){const _0x54408b=_0x3ec0a3,_0x224b53=this[_0x54408b(0x1cd)][_0x54408b(0x1bb)](n[_0x54408b(0x1ce)]);if(!_0x224b53)throw new Error(_0x54408b(0x1cb));return _0x224b53['exportXLSXByUnitId'](_0x10e27d);}async[_0x3ec0a3(0x1bc)](_0xcdc40b){const _0x579a82=_0x3ec0a3,_0x5d96c7=this[_0x579a82(0x1cd)][_0x579a82(0x1bb)](n[_0x579a82(0x1ce)]);if(!_0x5d96c7)throw new Error(_0x579a82(0x1cb));return _0x5d96c7[_0x579a82(0x1bc)](_0xcdc40b);}async[_0x3ec0a3(0x1b6)](_0xc938c3){const _0x2c19f0=_0x3ec0a3,_0x17d02a=this['_injector'][_0x2c19f0(0x1bb)](n[_0x2c19f0(0x1ce)]);if(!_0x17d02a)throw new Error(_0x2c19f0(0x1cb));return _0x17d02a[_0x2c19f0(0x1bd)](_0xc938c3,i[_0x2c19f0(0x1d0)]);}async[_0x3ec0a3(0x1b8)](_0x2e3223){const _0x26058d=_0x3ec0a3,_0x7aee19=this[_0x26058d(0x1cd)][_0x26058d(0x1bb)](n[_0x26058d(0x1ce)]);if(!_0x7aee19)throw new Error(_0x26058d(0x1cb));return _0x7aee19['importDOCXToSnapshot'](_0x2e3223);}}c[_0x3ec0a3(0x1c5)][_0x3ec0a3(0x1cf)](o);