@univerjs-pro/exchange-client 0.6.7-nightly.202503281607 → 0.6.7-nightly.202503301606

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 _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);
1
+ 'use strict';const _0x56bba0=_0x30d3;(function(_0x1d9a73,_0x27953f){const _0x511df6=_0x30d3,_0xfe271f=_0x1d9a73();while(!![]){try{const _0x4467be=parseInt(_0x511df6(0xee))/0x1*(parseInt(_0x511df6(0xd6))/0x2)+parseInt(_0x511df6(0xe6))/0x3*(-parseInt(_0x511df6(0xe0))/0x4)+parseInt(_0x511df6(0xf1))/0x5+-parseInt(_0x511df6(0xe1))/0x6+parseInt(_0x511df6(0xd8))/0x7*(-parseInt(_0x511df6(0xf0))/0x8)+parseInt(_0x511df6(0xe3))/0x9+parseInt(_0x511df6(0xf8))/0xa;if(_0x4467be===_0x27953f)break;else _0xfe271f['push'](_0xfe271f['shift']());}catch(_0x517052){_0xfe271f['push'](_0xfe271f['shift']());}}}(_0x5023,0xbb885));const r=require(_0x56bba0(0xd5)),i=require(_0x56bba0(0xf9));function _0x5023(){const _0x12a767=['FUniver','exportXLSXBySnapshot','28qGbite','5323608CGybuZ','importDOCXToSnapshotAsync','4470651KehJOh','importXLSXToSnapshotAsync','UNIVER_PROJECT','451353RFsfle','exportXLSXByUnitId','UNIVER_UNKNOWN','importXLSXToUnitId','importDOCXToSnapshot','importDOCXToUnitId','UNIVER_DOC','importFileToUnitId','192WbjYbv','UNIVER_SLIDE','1058712ubTdSf','3142865NGGNkS','exportXLSXByUnitIdAsync','extend','UNRECOGNIZED','importDOCXToUnitIdAsync','_injector','The\x20exchange\x20service\x20is\x20not\x20available','7554950MByYPS','@univerjs/core/facade','@univerjs-pro/exchange-client','12758kfYHPG','importXLSXToUnitIdAsync','21QnaVGT','importXLSXToSnapshot','get','UNIVER_SHEET','IExchangeService','exportXLSXBySnapshotAsync'];_0x5023=function(){return _0x12a767;};return _0x5023();}var o=(_0x16065d=>(_0x16065d[_0x16065d[_0x56bba0(0xe8)]=0x0]=_0x56bba0(0xe8),_0x16065d[_0x16065d['UNIVER_DOC']=0x1]=_0x56bba0(0xec),_0x16065d[_0x16065d[_0x56bba0(0xdb)]=0x2]='UNIVER_SHEET',_0x16065d[_0x16065d[_0x56bba0(0xef)]=0x3]=_0x56bba0(0xef),_0x16065d[_0x16065d[_0x56bba0(0xe5)]=0x4]=_0x56bba0(0xe5),_0x16065d[_0x16065d[_0x56bba0(0xf4)]=-0x1]=_0x56bba0(0xf4),_0x16065d))(o||{});function _0x30d3(_0x55ee42,_0x32166f){const _0x502359=_0x5023();return _0x30d3=function(_0x30d369,_0x4ae797){_0x30d369=_0x30d369-0xd5;let _0x2aa1cd=_0x502359[_0x30d369];return _0x2aa1cd;},_0x30d3(_0x55ee42,_0x32166f);}class c extends i[_0x56bba0(0xde)]{async[_0x56bba0(0xe9)](_0x3b8dd5){const _0x5e5161=_0x56bba0;return this[_0x5e5161(0xd7)](_0x3b8dd5);}async['importXLSXToUnitIdAsync'](_0xeaca34){const _0x1f35a6=_0x56bba0,_0x2574cb=this[_0x1f35a6(0xf6)][_0x1f35a6(0xda)](r[_0x1f35a6(0xdc)]);if(!_0x2574cb)throw new Error('The\x20exchange\x20service\x20is\x20not\x20available');return _0x2574cb[_0x1f35a6(0xed)](_0xeaca34,o[_0x1f35a6(0xdb)]);}async[_0x56bba0(0xd9)](_0x231bf6){const _0x1bbab4=_0x56bba0;return this[_0x1bbab4(0xe4)](_0x231bf6);}async[_0x56bba0(0xe4)](_0x470d5a){const _0x28bf8b=_0x56bba0,_0x163725=this[_0x28bf8b(0xf6)][_0x28bf8b(0xda)](r['IExchangeService']);if(!_0x163725)throw new Error('The\x20exchange\x20service\x20is\x20not\x20available');return _0x163725['importXLSXToSnapshot'](_0x470d5a);}async[_0x56bba0(0xe7)](_0x511528){const _0xcd5e8b=_0x56bba0;return this[_0xcd5e8b(0xf2)](_0x511528);}async['exportXLSXByUnitIdAsync'](_0x346af0){const _0x3b58c1=_0x56bba0,_0x22c582=this['_injector']['get'](r['IExchangeService']);if(!_0x22c582)throw new Error(_0x3b58c1(0xf7));return _0x22c582[_0x3b58c1(0xe7)](_0x346af0);}async[_0x56bba0(0xdf)](_0x440529){const _0x400849=_0x56bba0;return this[_0x400849(0xdd)](_0x440529);}async[_0x56bba0(0xdd)](_0x2e38a5){const _0x3bcbbf=_0x56bba0,_0x1754a9=this[_0x3bcbbf(0xf6)][_0x3bcbbf(0xda)](r['IExchangeService']);if(!_0x1754a9)throw new Error(_0x3bcbbf(0xf7));return _0x1754a9[_0x3bcbbf(0xdf)](_0x2e38a5);}async[_0x56bba0(0xeb)](_0x11e439){return this['importDOCXToUnitIdAsync'](_0x11e439);}async[_0x56bba0(0xf5)](_0x31e0a1){const _0x23ebc3=_0x56bba0,_0x403b02=this[_0x23ebc3(0xf6)][_0x23ebc3(0xda)](r[_0x23ebc3(0xdc)]);if(!_0x403b02)throw new Error(_0x23ebc3(0xf7));return _0x403b02['importFileToUnitId'](_0x31e0a1,o[_0x23ebc3(0xec)]);}async['importDOCXToSnapshot'](_0x19b6db){const _0x489abf=_0x56bba0;return this[_0x489abf(0xe2)](_0x19b6db);}async[_0x56bba0(0xe2)](_0xc07c91){const _0x33336e=_0x56bba0,_0x1d4716=this[_0x33336e(0xf6)]['get'](r['IExchangeService']);if(!_0x1d4716)throw new Error(_0x33336e(0xf7));return _0x1d4716[_0x33336e(0xea)](_0xc07c91);}}i[_0x56bba0(0xde)][_0x56bba0(0xf3)](c);