@univerjs-pro/exchange-client 0.8.0-nightly.202505301607 → 0.8.0-nightly.202506011606

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 _0x18d5ea=_0x5a16;(function(_0x4915e8,_0xb3e8ff){const _0x2e823b=_0x5a16,_0x1f3156=_0x4915e8();while(!![]){try{const _0x1d3018=-parseInt(_0x2e823b(0x14d))/0x1+parseInt(_0x2e823b(0x15c))/0x2+parseInt(_0x2e823b(0x169))/0x3*(parseInt(_0x2e823b(0x167))/0x4)+-parseInt(_0x2e823b(0x15e))/0x5*(parseInt(_0x2e823b(0x160))/0x6)+parseInt(_0x2e823b(0x159))/0x7*(-parseInt(_0x2e823b(0x148))/0x8)+parseInt(_0x2e823b(0x14c))/0x9+parseInt(_0x2e823b(0x150))/0xa;if(_0x1d3018===_0xb3e8ff)break;else _0x1f3156['push'](_0x1f3156['shift']());}catch(_0x752b63){_0x1f3156['push'](_0x1f3156['shift']());}}}(_0x57b1,0x3bf7a));const r=require(_0x18d5ea(0x14f)),o=require(_0x18d5ea(0x164));var i=(_0x4ddd7d=>(_0x4ddd7d[_0x4ddd7d[_0x18d5ea(0x15d)]=0x0]='UNIVER_UNKNOWN',_0x4ddd7d[_0x4ddd7d[_0x18d5ea(0x151)]=0x1]='UNIVER_DOC',_0x4ddd7d[_0x4ddd7d[_0x18d5ea(0x146)]=0x2]='UNIVER_SHEET',_0x4ddd7d[_0x4ddd7d[_0x18d5ea(0x158)]=0x3]='UNIVER_SLIDE',_0x4ddd7d[_0x4ddd7d['UNIVER_PROJECT']=0x4]=_0x18d5ea(0x163),_0x4ddd7d[_0x4ddd7d[_0x18d5ea(0x16a)]=-0x1]=_0x18d5ea(0x16a),_0x4ddd7d))(i||{});function _0x57b1(){const _0x4faa14=['get','UNIVER_SHEET','The\x20exchange\x20service\x20is\x20not\x20available','1031880jgIYDt','IExchangeService','exportXLSXBySnapshot','exportDOCXBySnapshot','600516iTXdBX','193193QCgCfM','_injector','@univerjs-pro/exchange-client','4500250VUkHBD','UNIVER_DOC','importDOCXToSnapshotAsync','exportDOCXByUnitIdAsync','exportDOCXByUnitId','importXLSXToSnapshotAsync','exportXLSXBySnapshotAsync','importDOCXToUnitId','UNIVER_SLIDE','7zCSnZM','exportDOCXBySnapshotAsync','importXLSXToSnapshot','599768PRPcZI','UNIVER_UNKNOWN','1065CnUVAB','exportXLSXByUnitId','11214iCGPun','FUniver','exportXLSXByUnitIdAsync','UNIVER_PROJECT','@univerjs/core/facade','importXLSXToUnitIdAsync','importFileToUnitId','48RrimyG','importDOCXToUnitIdAsync','37317TOkStp','UNRECOGNIZED'];_0x57b1=function(){return _0x4faa14;};return _0x57b1();}function _0x5a16(_0x4ab54f,_0xfe3417){const _0x57b1d5=_0x57b1();return _0x5a16=function(_0x5a166a,_0x8492c4){_0x5a166a=_0x5a166a-0x145;let _0x4e944e=_0x57b1d5[_0x5a166a];return _0x4e944e;},_0x5a16(_0x4ab54f,_0xfe3417);}class c extends o['FUniver']{async['importXLSXToUnitId'](_0x701759){const _0xe6c507=_0x18d5ea;return this[_0xe6c507(0x165)](_0x701759);}async['importXLSXToUnitIdAsync'](_0x2dd75f){const _0x3eb1a7=_0x18d5ea,_0x4b73f7=this[_0x3eb1a7(0x14e)]['get'](r['IExchangeService']);if(!_0x4b73f7)throw new Error(_0x3eb1a7(0x147));return _0x4b73f7['importFileToUnitId'](_0x2dd75f,i[_0x3eb1a7(0x146)]);}async[_0x18d5ea(0x15b)](_0x141ce6){const _0x1927f1=_0x18d5ea;return this[_0x1927f1(0x155)](_0x141ce6);}async[_0x18d5ea(0x155)](_0x3ee711){const _0x4259a8=_0x18d5ea,_0x50d065=this[_0x4259a8(0x14e)]['get'](r[_0x4259a8(0x149)]);if(!_0x50d065)throw new Error(_0x4259a8(0x147));return _0x50d065['importXLSXToSnapshot'](_0x3ee711);}async[_0x18d5ea(0x15f)](_0x4b096e){const _0x37df46=_0x18d5ea;return this[_0x37df46(0x162)](_0x4b096e);}async[_0x18d5ea(0x162)](_0x5be3e0){const _0x3f6427=_0x18d5ea,_0x37dcb0=this['_injector'][_0x3f6427(0x145)](r['IExchangeService']);if(!_0x37dcb0)throw new Error(_0x3f6427(0x147));return _0x37dcb0[_0x3f6427(0x15f)](_0x5be3e0);}async[_0x18d5ea(0x14a)](_0x54478a){const _0x38cded=_0x18d5ea;return this[_0x38cded(0x156)](_0x54478a);}async[_0x18d5ea(0x156)](_0x3446ae){const _0x4752ec=_0x18d5ea,_0x48d22c=this['_injector'][_0x4752ec(0x145)](r[_0x4752ec(0x149)]);if(!_0x48d22c)throw new Error(_0x4752ec(0x147));return _0x48d22c[_0x4752ec(0x14a)](_0x3446ae);}async[_0x18d5ea(0x157)](_0x27ffdf){const _0x1d2d69=_0x18d5ea;return this[_0x1d2d69(0x168)](_0x27ffdf);}async[_0x18d5ea(0x168)](_0xe77642){const _0x5c1d1c=_0x18d5ea,_0x3b5f25=this[_0x5c1d1c(0x14e)][_0x5c1d1c(0x145)](r[_0x5c1d1c(0x149)]);if(!_0x3b5f25)throw new Error(_0x5c1d1c(0x147));return _0x3b5f25[_0x5c1d1c(0x166)](_0xe77642,i[_0x5c1d1c(0x151)]);}async['importDOCXToSnapshot'](_0x1ab060){const _0x3fe6eb=_0x18d5ea;return this[_0x3fe6eb(0x152)](_0x1ab060);}async[_0x18d5ea(0x152)](_0x5f9408){const _0x1768c3=_0x18d5ea,_0x2c3d4a=this[_0x1768c3(0x14e)][_0x1768c3(0x145)](r[_0x1768c3(0x149)]);if(!_0x2c3d4a)throw new Error(_0x1768c3(0x147));return _0x2c3d4a['importDOCXToSnapshot'](_0x5f9408);}async[_0x18d5ea(0x15a)](_0x26c7fc){const _0x94e35e=_0x18d5ea,_0x2cd519=this[_0x94e35e(0x14e)][_0x94e35e(0x145)](r['IExchangeService']);if(!_0x2cd519)throw new Error(_0x94e35e(0x147));return _0x2cd519[_0x94e35e(0x14b)](_0x26c7fc);}async[_0x18d5ea(0x153)](_0x51564b){const _0x2f5d21=_0x18d5ea,_0xeb89d8=this[_0x2f5d21(0x14e)][_0x2f5d21(0x145)](r[_0x2f5d21(0x149)]);if(!_0xeb89d8)throw new Error(_0x2f5d21(0x147));return _0xeb89d8[_0x2f5d21(0x154)](_0x51564b);}}o[_0x18d5ea(0x161)]['extend'](c);
1
+ 'use strict';const _0x527cd6=_0x41c9;(function(_0x2ee07c,_0x3e81e9){const _0x30de8c=_0x41c9,_0x2959c7=_0x2ee07c();while(!![]){try{const _0x9e861=-parseInt(_0x30de8c(0x20e))/0x1*(parseInt(_0x30de8c(0x1f3))/0x2)+-parseInt(_0x30de8c(0x1f8))/0x3*(-parseInt(_0x30de8c(0x1fb))/0x4)+-parseInt(_0x30de8c(0x210))/0x5*(-parseInt(_0x30de8c(0x1f2))/0x6)+parseInt(_0x30de8c(0x211))/0x7*(parseInt(_0x30de8c(0x1f9))/0x8)+-parseInt(_0x30de8c(0x208))/0x9+parseInt(_0x30de8c(0x205))/0xa*(-parseInt(_0x30de8c(0x201))/0xb)+-parseInt(_0x30de8c(0x1f5))/0xc*(parseInt(_0x30de8c(0x1ef))/0xd);if(_0x9e861===_0x3e81e9)break;else _0x2959c7['push'](_0x2959c7['shift']());}catch(_0x307d0f){_0x2959c7['push'](_0x2959c7['shift']());}}}(_0x3f16,0x9c609));const r=require(_0x527cd6(0x1ff)),o=require('@univerjs/core/facade');var i=(_0x4481b4=>(_0x4481b4[_0x4481b4['UNIVER_UNKNOWN']=0x0]=_0x527cd6(0x20c),_0x4481b4[_0x4481b4[_0x527cd6(0x207)]=0x1]=_0x527cd6(0x207),_0x4481b4[_0x4481b4['UNIVER_SHEET']=0x2]=_0x527cd6(0x1ee),_0x4481b4[_0x4481b4['UNIVER_SLIDE']=0x3]='UNIVER_SLIDE',_0x4481b4[_0x4481b4[_0x527cd6(0x1f6)]=0x4]='UNIVER_PROJECT',_0x4481b4[_0x4481b4[_0x527cd6(0x209)]=-0x1]='UNRECOGNIZED',_0x4481b4))(i||{});function _0x3f16(){const _0x3e4cf2=['exportDOCXBySnapshotAsync','UNIVER_SHEET','26heGUDx','get','exportXLSXBySnapshotAsync','147954qWPCEv','752758pzAvEQ','importXLSXToUnitId','291192oYqBnT','UNIVER_PROJECT','importDOCXToUnitIdAsync','3264594uOUzPb','2919152irbyqx','importXLSXToUnitIdAsync','4JHCQud','The\x20exchange\x20service\x20is\x20not\x20available','importXLSXToSnapshot','_injector','@univerjs-pro/exchange-client','exportXLSXBySnapshot','3278pgjIqQ','importDOCXToSnapshot','exportXLSXByUnitIdAsync','importXLSXToSnapshotAsync','3180JywcAS','exportDOCXByUnitIdAsync','UNIVER_DOC','10522215OSzNpD','UNRECOGNIZED','FUniver','exportXLSXByUnitId','UNIVER_UNKNOWN','exportDOCXBySnapshot','2ELURPx','importDOCXToSnapshotAsync','180DgWGMI','14ghmbpd','IExchangeService'];_0x3f16=function(){return _0x3e4cf2;};return _0x3f16();}function _0x41c9(_0x96f53b,_0x3eb1b2){const _0x3f1638=_0x3f16();return _0x41c9=function(_0x41c912,_0x2bcae1){_0x41c912=_0x41c912-0x1ed;let _0x4eb7f0=_0x3f1638[_0x41c912];return _0x4eb7f0;},_0x41c9(_0x96f53b,_0x3eb1b2);}class c extends o[_0x527cd6(0x20a)]{async[_0x527cd6(0x1f4)](_0x2bbcd6){const _0x74834f=_0x527cd6;return this[_0x74834f(0x1fa)](_0x2bbcd6);}async[_0x527cd6(0x1fa)](_0x3b5d23){const _0x375537=_0x527cd6,_0x433bb1=this[_0x375537(0x1fe)]['get'](r[_0x375537(0x212)]);if(!_0x433bb1)throw new Error(_0x375537(0x1fc));return _0x433bb1['importFileToUnitId'](_0x3b5d23,i[_0x375537(0x1ee)]);}async[_0x527cd6(0x1fd)](_0x5a4d2d){return this['importXLSXToSnapshotAsync'](_0x5a4d2d);}async[_0x527cd6(0x204)](_0x6e1c37){const _0x4424f8=_0x527cd6,_0x54a24e=this['_injector']['get'](r[_0x4424f8(0x212)]);if(!_0x54a24e)throw new Error(_0x4424f8(0x1fc));return _0x54a24e[_0x4424f8(0x1fd)](_0x6e1c37);}async[_0x527cd6(0x20b)](_0x5de9d5){const _0x3c3aec=_0x527cd6;return this[_0x3c3aec(0x203)](_0x5de9d5);}async['exportXLSXByUnitIdAsync'](_0x16b6a2){const _0x526909=_0x527cd6,_0x3ebf6e=this[_0x526909(0x1fe)][_0x526909(0x1f0)](r[_0x526909(0x212)]);if(!_0x3ebf6e)throw new Error(_0x526909(0x1fc));return _0x3ebf6e[_0x526909(0x20b)](_0x16b6a2);}async[_0x527cd6(0x200)](_0x465d7d){const _0x10ff33=_0x527cd6;return this[_0x10ff33(0x1f1)](_0x465d7d);}async['exportXLSXBySnapshotAsync'](_0x2128c7){const _0x4e9874=_0x527cd6,_0x336e76=this[_0x4e9874(0x1fe)]['get'](r[_0x4e9874(0x212)]);if(!_0x336e76)throw new Error(_0x4e9874(0x1fc));return _0x336e76[_0x4e9874(0x200)](_0x2128c7);}async['importDOCXToUnitId'](_0xa63eb7){const _0x3f769a=_0x527cd6;return this[_0x3f769a(0x1f7)](_0xa63eb7);}async['importDOCXToUnitIdAsync'](_0xb47d26){const _0x462645=_0x527cd6,_0x1597ce=this[_0x462645(0x1fe)][_0x462645(0x1f0)](r[_0x462645(0x212)]);if(!_0x1597ce)throw new Error(_0x462645(0x1fc));return _0x1597ce['importFileToUnitId'](_0xb47d26,i[_0x462645(0x207)]);}async[_0x527cd6(0x202)](_0x363c4b){const _0xfbca15=_0x527cd6;return this[_0xfbca15(0x20f)](_0x363c4b);}async['importDOCXToSnapshotAsync'](_0x35c6b8){const _0x1733e0=_0x527cd6,_0x37ccf1=this[_0x1733e0(0x1fe)][_0x1733e0(0x1f0)](r[_0x1733e0(0x212)]);if(!_0x37ccf1)throw new Error(_0x1733e0(0x1fc));return _0x37ccf1[_0x1733e0(0x202)](_0x35c6b8);}async[_0x527cd6(0x1ed)](_0x49c701){const _0x1b6f56=_0x527cd6,_0x8bb297=this[_0x1b6f56(0x1fe)][_0x1b6f56(0x1f0)](r[_0x1b6f56(0x212)]);if(!_0x8bb297)throw new Error(_0x1b6f56(0x1fc));return _0x8bb297[_0x1b6f56(0x20d)](_0x49c701);}async[_0x527cd6(0x206)](_0x200a9b){const _0x1c8e25=_0x527cd6,_0x2ff7c6=this[_0x1c8e25(0x1fe)][_0x1c8e25(0x1f0)](r[_0x1c8e25(0x212)]);if(!_0x2ff7c6)throw new Error(_0x1c8e25(0x1fc));return _0x2ff7c6['exportDOCXByUnitId'](_0x200a9b);}}o[_0x527cd6(0x20a)]['extend'](c);