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

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 _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);
1
+ 'use strict';const _0x3481c9=_0x5706;(function(_0x4672d0,_0x31935d){const _0x10f7e6=_0x5706,_0x5971da=_0x4672d0();while(!![]){try{const _0x2d4c29=parseInt(_0x10f7e6(0x202))/0x1+-parseInt(_0x10f7e6(0x209))/0x2+parseInt(_0x10f7e6(0x200))/0x3+parseInt(_0x10f7e6(0x203))/0x4*(-parseInt(_0x10f7e6(0x20d))/0x5)+parseInt(_0x10f7e6(0x20f))/0x6+-parseInt(_0x10f7e6(0x1f0))/0x7+-parseInt(_0x10f7e6(0x1f8))/0x8*(-parseInt(_0x10f7e6(0x1fb))/0x9);if(_0x2d4c29===_0x31935d)break;else _0x5971da['push'](_0x5971da['shift']());}catch(_0x18be73){_0x5971da['push'](_0x5971da['shift']());}}}(_0x1575,0x4d106));function _0x1575(){const _0x555b6e=['IExchangeService','importFileToUnitId','18ZGMSUw','importXLSXToSnapshotAsync','importXLSXToSnapshot','importDOCXToUnitIdAsync','importDOCXToUnitId','3165TwOwwc','importDOCXToSnapshot','171080aibJMt','4xneMoO','UNIVER_DOC','importXLSXToUnitId','UNIVER_SHEET','importDOCXToSnapshotAsync','FUniver','560140sGEyCc','exportXLSXByUnitIdAsync','UNRECOGNIZED','UNIVER_PROJECT','1658125EhOqNI','UNIVER_UNKNOWN','3002238oZdQoB','UNIVER_SLIDE','1785595uBxZer','importXLSXToUnitIdAsync','The\x20exchange\x20service\x20is\x20not\x20available','exportXLSXBySnapshotAsync','_injector','get','@univerjs-pro/exchange-client','@univerjs/core/facade','2039704LIypKm'];_0x1575=function(){return _0x555b6e;};return _0x1575();}const r=require(_0x3481c9(0x1f6)),i=require(_0x3481c9(0x1f7));var o=(_0x1067a9=>(_0x1067a9[_0x1067a9[_0x3481c9(0x20e)]=0x0]=_0x3481c9(0x20e),_0x1067a9[_0x1067a9[_0x3481c9(0x204)]=0x1]=_0x3481c9(0x204),_0x1067a9[_0x1067a9[_0x3481c9(0x206)]=0x2]=_0x3481c9(0x206),_0x1067a9[_0x1067a9[_0x3481c9(0x1ef)]=0x3]=_0x3481c9(0x1ef),_0x1067a9[_0x1067a9[_0x3481c9(0x20c)]=0x4]=_0x3481c9(0x20c),_0x1067a9[_0x1067a9[_0x3481c9(0x20b)]=-0x1]=_0x3481c9(0x20b),_0x1067a9))(o||{});function _0x5706(_0x5f0cfa,_0x30444f){const _0x157545=_0x1575();return _0x5706=function(_0x570697,_0x1478b6){_0x570697=_0x570697-0x1ef;let _0x3b54d3=_0x157545[_0x570697];return _0x3b54d3;},_0x5706(_0x5f0cfa,_0x30444f);}class c extends i[_0x3481c9(0x208)]{async[_0x3481c9(0x205)](_0x491a41){const _0x5bb465=_0x3481c9;return this[_0x5bb465(0x1f1)](_0x491a41);}async[_0x3481c9(0x1f1)](_0x1c9f97){const _0x980204=_0x3481c9,_0x1739e8=this[_0x980204(0x1f4)][_0x980204(0x1f5)](r[_0x980204(0x1f9)]);if(!_0x1739e8)throw new Error(_0x980204(0x1f2));return _0x1739e8[_0x980204(0x1fa)](_0x1c9f97,o[_0x980204(0x206)]);}async[_0x3481c9(0x1fd)](_0x1dc22e){const _0x2c93f5=_0x3481c9;return this[_0x2c93f5(0x1fc)](_0x1dc22e);}async[_0x3481c9(0x1fc)](_0x479589){const _0xdfc46f=_0x3481c9,_0x2e87c0=this[_0xdfc46f(0x1f4)][_0xdfc46f(0x1f5)](r[_0xdfc46f(0x1f9)]);if(!_0x2e87c0)throw new Error(_0xdfc46f(0x1f2));return _0x2e87c0[_0xdfc46f(0x1fd)](_0x479589);}async['exportXLSXByUnitId'](_0x2c3961){const _0x2d7a7f=_0x3481c9;return this[_0x2d7a7f(0x20a)](_0x2c3961);}async[_0x3481c9(0x20a)](_0x1316b0){const _0x2673bb=_0x3481c9,_0xf9af76=this['_injector'][_0x2673bb(0x1f5)](r[_0x2673bb(0x1f9)]);if(!_0xf9af76)throw new Error('The\x20exchange\x20service\x20is\x20not\x20available');return _0xf9af76['exportXLSXByUnitId'](_0x1316b0);}async['exportXLSXBySnapshot'](_0x101b82){const _0xb10842=_0x3481c9;return this[_0xb10842(0x1f3)](_0x101b82);}async['exportXLSXBySnapshotAsync'](_0x756f2){const _0x5db06b=_0x3481c9,_0x57cb64=this[_0x5db06b(0x1f4)][_0x5db06b(0x1f5)](r[_0x5db06b(0x1f9)]);if(!_0x57cb64)throw new Error('The\x20exchange\x20service\x20is\x20not\x20available');return _0x57cb64['exportXLSXBySnapshot'](_0x756f2);}async[_0x3481c9(0x1ff)](_0x191371){return this['importDOCXToUnitIdAsync'](_0x191371);}async[_0x3481c9(0x1fe)](_0x5c56bf){const _0x3f8807=_0x3481c9,_0x32f40d=this['_injector'][_0x3f8807(0x1f5)](r[_0x3f8807(0x1f9)]);if(!_0x32f40d)throw new Error(_0x3f8807(0x1f2));return _0x32f40d[_0x3f8807(0x1fa)](_0x5c56bf,o[_0x3f8807(0x204)]);}async[_0x3481c9(0x201)](_0x1f4faf){return this['importDOCXToSnapshotAsync'](_0x1f4faf);}async[_0x3481c9(0x207)](_0x1047ba){const _0x10613c=_0x3481c9,_0x14db68=this[_0x10613c(0x1f4)][_0x10613c(0x1f5)](r['IExchangeService']);if(!_0x14db68)throw new Error(_0x10613c(0x1f2));return _0x14db68[_0x10613c(0x201)](_0x1047ba);}}i[_0x3481c9(0x208)]['extend'](c);