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

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';function _0x41dc(){const _0x55449b=['855593JQNYwP','7UhwxDs','9lLaXfQ','IExchangeService','exportXLSXByUnitId','exportXLSXBySnapshot','FUniver','get','UNIVER_DOC','2854515udrzrP','4544336pLhEjE','UNIVER_PROJECT','4058792kLDUxE','31236PxKhJP','importXLSXToSnapshot','12rCGzuR','@univerjs-pro/exchange-client','8262330KIgjcD','UNRECOGNIZED','_injector','importDOCXToUnitId','UNIVER_UNKNOWN','2lOepqq','11165ScxGha','UNIVER_SHEET','UNIVER_SLIDE','1275132rJQQzf','importXLSXToUnitId','The\x20exchange\x20service\x20is\x20not\x20available'];_0x41dc=function(){return _0x55449b;};return _0x41dc();}const _0x306896=_0x565a;(function(_0x10255c,_0x20832e){const _0x6a4395=_0x565a,_0x11572d=_0x10255c();while(!![]){try{const _0x5a5aaf=parseInt(_0x6a4395(0xa0))/0x1+-parseInt(_0x6a4395(0x99))/0x2*(-parseInt(_0x6a4395(0x9d))/0x3)+parseInt(_0x6a4395(0xaa))/0x4+parseInt(_0x6a4395(0xa9))/0x5*(parseInt(_0x6a4395(0xaf))/0x6)+-parseInt(_0x6a4395(0xa1))/0x7*(-parseInt(_0x6a4395(0xac))/0x8)+-parseInt(_0x6a4395(0xa2))/0x9*(parseInt(_0x6a4395(0xb1))/0xa)+parseInt(_0x6a4395(0x9a))/0xb*(-parseInt(_0x6a4395(0xad))/0xc);if(_0x5a5aaf===_0x20832e)break;else _0x11572d['push'](_0x11572d['shift']());}catch(_0x5b76fa){_0x11572d['push'](_0x11572d['shift']());}}}(_0x41dc,0x91e5e));const c=require('@univerjs/core'),n=require(_0x306896(0xb0));var i=(_0x21443e=>(_0x21443e[_0x21443e[_0x306896(0x98)]=0x0]='UNIVER_UNKNOWN',_0x21443e[_0x21443e[_0x306896(0xa8)]=0x1]='UNIVER_DOC',_0x21443e[_0x21443e['UNIVER_SHEET']=0x2]=_0x306896(0x9b),_0x21443e[_0x21443e[_0x306896(0x9c)]=0x3]=_0x306896(0x9c),_0x21443e[_0x21443e[_0x306896(0xab)]=0x4]='UNIVER_PROJECT',_0x21443e[_0x21443e['UNRECOGNIZED']=-0x1]=_0x306896(0xb2),_0x21443e))(i||{});function _0x565a(_0x20042c,_0x47c7ad){const _0x41dc79=_0x41dc();return _0x565a=function(_0x565a13,_0x4dad16){_0x565a13=_0x565a13-0x98;let _0x5dd656=_0x41dc79[_0x565a13];return _0x5dd656;},_0x565a(_0x20042c,_0x47c7ad);}class o extends c[_0x306896(0xa6)]{async[_0x306896(0x9e)](_0x4185bc){const _0xe24c52=_0x306896,_0x2f62d3=this[_0xe24c52(0xb3)][_0xe24c52(0xa7)](n[_0xe24c52(0xa3)]);if(!_0x2f62d3)throw new Error(_0xe24c52(0x9f));return _0x2f62d3['importFileToUnitId'](_0x4185bc,i[_0xe24c52(0x9b)]);}async['importXLSXToSnapshot'](_0x452761){const _0x3d022a=_0x306896,_0x3fbd3f=this[_0x3d022a(0xb3)][_0x3d022a(0xa7)](n['IExchangeService']);if(!_0x3fbd3f)throw new Error(_0x3d022a(0x9f));return _0x3fbd3f[_0x3d022a(0xae)](_0x452761);}async[_0x306896(0xa4)](_0x3513af){const _0x5cab37=_0x306896,_0x208c48=this['_injector']['get'](n[_0x5cab37(0xa3)]);if(!_0x208c48)throw new Error(_0x5cab37(0x9f));return _0x208c48[_0x5cab37(0xa4)](_0x3513af);}async[_0x306896(0xa5)](_0x392338){const _0x588f25=_0x306896,_0x16b6f0=this[_0x588f25(0xb3)][_0x588f25(0xa7)](n['IExchangeService']);if(!_0x16b6f0)throw new Error('The\x20exchange\x20service\x20is\x20not\x20available');return _0x16b6f0['exportXLSXBySnapshot'](_0x392338);}async[_0x306896(0xb4)](_0x5edc82){const _0x461fa8=_0x306896,_0xc5a5ed=this[_0x461fa8(0xb3)][_0x461fa8(0xa7)](n[_0x461fa8(0xa3)]);if(!_0xc5a5ed)throw new Error(_0x461fa8(0x9f));return _0xc5a5ed['importFileToUnitId'](_0x5edc82,i[_0x461fa8(0xa8)]);}async['importDOCXToSnapshot'](_0x25fcaa){const _0x3575a1=_0x306896,_0x390751=this[_0x3575a1(0xb3)][_0x3575a1(0xa7)](n['IExchangeService']);if(!_0x390751)throw new Error(_0x3575a1(0x9f));return _0x390751['importDOCXToSnapshot'](_0x25fcaa);}}c[_0x306896(0xa6)]['extend'](o);