@univerjs-pro/exchange-client 0.8.0-nightly.202506041607 → 0.8.0

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 _0x38c2fa=_0x350b;(function(_0x5ecd9f,_0x15917b){const _0x27dcb7=_0x350b,_0x68dd7d=_0x5ecd9f();while(!![]){try{const _0x489051=parseInt(_0x27dcb7(0x1ca))/0x1+parseInt(_0x27dcb7(0x1da))/0x2+-parseInt(_0x27dcb7(0x1c7))/0x3+parseInt(_0x27dcb7(0x1d6))/0x4*(-parseInt(_0x27dcb7(0x1d0))/0x5)+parseInt(_0x27dcb7(0x1dd))/0x6+parseInt(_0x27dcb7(0x1d2))/0x7*(parseInt(_0x27dcb7(0x1e7))/0x8)+parseInt(_0x27dcb7(0x1cd))/0x9*(-parseInt(_0x27dcb7(0x1c5))/0xa);if(_0x489051===_0x15917b)break;else _0x68dd7d['push'](_0x68dd7d['shift']());}catch(_0x27d2a1){_0x68dd7d['push'](_0x68dd7d['shift']());}}}(_0x13f9,0x4499d));function _0x13f9(){const _0x28fc57=['UNIVER_DOC','importFileToUnitId','importDOCXToUnitIdAsync','importXLSXToUnitIdAsync','8720GQxTma','extend','UNRECOGNIZED','194030PXDQbU','importDOCXToSnapshotAsync','270009zHJbQu','exportDOCXBySnapshot','exportXLSXBySnapshotAsync','309576YUTBFd','importDOCXToSnapshot','exportDOCXByUnitIdAsync','63gFcawS','The\x20exchange\x20service\x20is\x20not\x20available','exportXLSXByUnitId','50ibIiRL','FUniver','749tGNvuJ','exportDOCXByUnitId','@univerjs/core/facade','exportDOCXBySnapshotAsync','174608rMEdYl','IExchangeService','exportXLSXByUnitIdAsync','UNIVER_UNKNOWN','62810zLPSdW','UNIVER_SHEET','importXLSXToSnapshotAsync','2914332uzeGAp','_injector','importXLSXToSnapshot','UNIVER_PROJECT','UNIVER_SLIDE','get'];_0x13f9=function(){return _0x28fc57;};return _0x13f9();}function _0x350b(_0x4e150a,_0x2b5528){const _0x13f9a5=_0x13f9();return _0x350b=function(_0x350b47,_0x30073e){_0x350b47=_0x350b47-0x1c4;let _0x2266c7=_0x13f9a5[_0x350b47];return _0x2266c7;},_0x350b(_0x4e150a,_0x2b5528);}const r=require('@univerjs-pro/exchange-client'),o=require(_0x38c2fa(0x1d4));var i=(_0x53237b=>(_0x53237b[_0x53237b[_0x38c2fa(0x1d9)]=0x0]=_0x38c2fa(0x1d9),_0x53237b[_0x53237b[_0x38c2fa(0x1e3)]=0x1]=_0x38c2fa(0x1e3),_0x53237b[_0x53237b[_0x38c2fa(0x1db)]=0x2]=_0x38c2fa(0x1db),_0x53237b[_0x53237b[_0x38c2fa(0x1e1)]=0x3]=_0x38c2fa(0x1e1),_0x53237b[_0x53237b['UNIVER_PROJECT']=0x4]=_0x38c2fa(0x1e0),_0x53237b[_0x53237b[_0x38c2fa(0x1c4)]=-0x1]=_0x38c2fa(0x1c4),_0x53237b))(i||{});class c extends o[_0x38c2fa(0x1d1)]{async['importXLSXToUnitId'](_0x1af184){const _0x34626b=_0x38c2fa;return this[_0x34626b(0x1e6)](_0x1af184);}async[_0x38c2fa(0x1e6)](_0x32eeb8){const _0x222b82=_0x38c2fa,_0x4b56da=this[_0x222b82(0x1de)]['get'](r[_0x222b82(0x1d7)]);if(!_0x4b56da)throw new Error(_0x222b82(0x1ce));return _0x4b56da[_0x222b82(0x1e4)](_0x32eeb8,i['UNIVER_SHEET']);}async['importXLSXToSnapshot'](_0x495b17){return this['importXLSXToSnapshotAsync'](_0x495b17);}async[_0x38c2fa(0x1dc)](_0xb022f3){const _0x4ec1ef=_0x38c2fa,_0x2e4f5b=this['_injector']['get'](r[_0x4ec1ef(0x1d7)]);if(!_0x2e4f5b)throw new Error('The\x20exchange\x20service\x20is\x20not\x20available');return _0x2e4f5b[_0x4ec1ef(0x1df)](_0xb022f3);}async['exportXLSXByUnitId'](_0x569271){const _0x55af74=_0x38c2fa;return this[_0x55af74(0x1d8)](_0x569271);}async[_0x38c2fa(0x1d8)](_0x48767b){const _0x49e212=_0x38c2fa,_0x4b1bec=this[_0x49e212(0x1de)][_0x49e212(0x1e2)](r['IExchangeService']);if(!_0x4b1bec)throw new Error(_0x49e212(0x1ce));return _0x4b1bec[_0x49e212(0x1cf)](_0x48767b);}async['exportXLSXBySnapshot'](_0x450778){const _0x5c1640=_0x38c2fa;return this[_0x5c1640(0x1c9)](_0x450778);}async[_0x38c2fa(0x1c9)](_0x25b5a4){const _0x756c3b=_0x38c2fa,_0x4d698a=this[_0x756c3b(0x1de)][_0x756c3b(0x1e2)](r[_0x756c3b(0x1d7)]);if(!_0x4d698a)throw new Error('The\x20exchange\x20service\x20is\x20not\x20available');return _0x4d698a['exportXLSXBySnapshot'](_0x25b5a4);}async['importDOCXToUnitId'](_0x57c4c5){const _0xc1d625=_0x38c2fa;return this[_0xc1d625(0x1e5)](_0x57c4c5);}async['importDOCXToUnitIdAsync'](_0x3cc4d5){const _0xbe5722=_0x38c2fa,_0x1a3b6e=this[_0xbe5722(0x1de)][_0xbe5722(0x1e2)](r[_0xbe5722(0x1d7)]);if(!_0x1a3b6e)throw new Error(_0xbe5722(0x1ce));return _0x1a3b6e['importFileToUnitId'](_0x3cc4d5,i[_0xbe5722(0x1e3)]);}async[_0x38c2fa(0x1cb)](_0x3b571b){const _0x15391e=_0x38c2fa;return this[_0x15391e(0x1c6)](_0x3b571b);}async[_0x38c2fa(0x1c6)](_0x4c6fbe){const _0x59436e=_0x38c2fa,_0x2857d3=this['_injector'][_0x59436e(0x1e2)](r[_0x59436e(0x1d7)]);if(!_0x2857d3)throw new Error('The\x20exchange\x20service\x20is\x20not\x20available');return _0x2857d3[_0x59436e(0x1cb)](_0x4c6fbe);}async[_0x38c2fa(0x1d5)](_0x4814e3){const _0x2a93f9=_0x38c2fa,_0x7cd4fa=this[_0x2a93f9(0x1de)]['get'](r[_0x2a93f9(0x1d7)]);if(!_0x7cd4fa)throw new Error('The\x20exchange\x20service\x20is\x20not\x20available');return _0x7cd4fa[_0x2a93f9(0x1c8)](_0x4814e3);}async[_0x38c2fa(0x1cc)](_0x33d93a){const _0x50764e=_0x38c2fa,_0x242da6=this['_injector'][_0x50764e(0x1e2)](r[_0x50764e(0x1d7)]);if(!_0x242da6)throw new Error(_0x50764e(0x1ce));return _0x242da6[_0x50764e(0x1d3)](_0x33d93a);}}o[_0x38c2fa(0x1d1)][_0x38c2fa(0x1e8)](c);
1
+ 'use strict';const _0x1709a9=_0x1cc2;(function(_0x468b5f,_0x1eee2e){const _0x374d43=_0x1cc2,_0x106426=_0x468b5f();while(!![]){try{const _0x1299b5=-parseInt(_0x374d43(0xd5))/0x1*(-parseInt(_0x374d43(0xf0))/0x2)+-parseInt(_0x374d43(0xe8))/0x3+parseInt(_0x374d43(0xcf))/0x4*(parseInt(_0x374d43(0xe9))/0x5)+parseInt(_0x374d43(0xd2))/0x6*(parseInt(_0x374d43(0xd3))/0x7)+parseInt(_0x374d43(0xe0))/0x8*(-parseInt(_0x374d43(0xe3))/0x9)+-parseInt(_0x374d43(0xd4))/0xa*(-parseInt(_0x374d43(0xd7))/0xb)+-parseInt(_0x374d43(0xed))/0xc;if(_0x1299b5===_0x1eee2e)break;else _0x106426['push'](_0x106426['shift']());}catch(_0x228ba2){_0x106426['push'](_0x106426['shift']());}}}(_0x47e4,0xd313c));function _0x1cc2(_0x586c8f,_0x1ea88b){const _0x47e409=_0x47e4();return _0x1cc2=function(_0x1cc2ba,_0x166a1c){_0x1cc2ba=_0x1cc2ba-0xcd;let _0x4b9b87=_0x47e409[_0x1cc2ba];return _0x4b9b87;},_0x1cc2(_0x586c8f,_0x1ea88b);}function _0x47e4(){const _0x142379=['3027454uqRKby','The\x20exchange\x20service\x20is\x20not\x20available','extend','UNIVER_SLIDE','exportDOCXByUnitId','UNRECOGNIZED','importDOCXToUnitIdAsync','2415932vPQtSH','exportXLSXByUnitIdAsync','importDOCXToSnapshotAsync','6037686DbsojS','7OGVUKz','650bFgKkn','1ybBhXp','exportDOCXByUnitIdAsync','141823cmPJCA','importDOCXToSnapshot','importXLSXToUnitIdAsync','importXLSXToSnapshotAsync','get','FUniver','_injector','importDOCXToUnitId','importXLSXToUnitId','109864eSTLYp','UNIVER_SHEET','exportXLSXByUnitId','909FEyFfv','UNIVER_UNKNOWN','UNIVER_DOC','IExchangeService','UNIVER_PROJECT','2730924PUVrfx','5Dmermo','importFileToUnitId','exportXLSXBySnapshotAsync','importXLSXToSnapshot','9601476AeOBEG','@univerjs/core/facade','exportDOCXBySnapshot'];_0x47e4=function(){return _0x142379;};return _0x47e4();}const r=require('@univerjs-pro/exchange-client'),o=require(_0x1709a9(0xee));var i=(_0x3e92f3=>(_0x3e92f3[_0x3e92f3['UNIVER_UNKNOWN']=0x0]=_0x1709a9(0xe4),_0x3e92f3[_0x3e92f3[_0x1709a9(0xe5)]=0x1]='UNIVER_DOC',_0x3e92f3[_0x3e92f3[_0x1709a9(0xe1)]=0x2]='UNIVER_SHEET',_0x3e92f3[_0x3e92f3[_0x1709a9(0xf3)]=0x3]=_0x1709a9(0xf3),_0x3e92f3[_0x3e92f3['UNIVER_PROJECT']=0x4]=_0x1709a9(0xe7),_0x3e92f3[_0x3e92f3['UNRECOGNIZED']=-0x1]=_0x1709a9(0xcd),_0x3e92f3))(i||{});class c extends o[_0x1709a9(0xdc)]{async[_0x1709a9(0xdf)](_0x48b238){const _0x4319f8=_0x1709a9;return this[_0x4319f8(0xd9)](_0x48b238);}async[_0x1709a9(0xd9)](_0x322cb1){const _0x32737e=_0x1709a9,_0x2a35d7=this[_0x32737e(0xdd)]['get'](r[_0x32737e(0xe6)]);if(!_0x2a35d7)throw new Error(_0x32737e(0xf1));return _0x2a35d7[_0x32737e(0xea)](_0x322cb1,i[_0x32737e(0xe1)]);}async['importXLSXToSnapshot'](_0x258970){const _0x23bfeb=_0x1709a9;return this[_0x23bfeb(0xda)](_0x258970);}async[_0x1709a9(0xda)](_0x3997b3){const _0x5566a0=_0x1709a9,_0x3c80e9=this[_0x5566a0(0xdd)][_0x5566a0(0xdb)](r[_0x5566a0(0xe6)]);if(!_0x3c80e9)throw new Error(_0x5566a0(0xf1));return _0x3c80e9[_0x5566a0(0xec)](_0x3997b3);}async['exportXLSXByUnitId'](_0x19aeb5){const _0x3a9165=_0x1709a9;return this[_0x3a9165(0xd0)](_0x19aeb5);}async['exportXLSXByUnitIdAsync'](_0xedd2fa){const _0x5e6a96=_0x1709a9,_0x1c6f27=this[_0x5e6a96(0xdd)][_0x5e6a96(0xdb)](r[_0x5e6a96(0xe6)]);if(!_0x1c6f27)throw new Error(_0x5e6a96(0xf1));return _0x1c6f27[_0x5e6a96(0xe2)](_0xedd2fa);}async['exportXLSXBySnapshot'](_0xff870a){const _0x1eb911=_0x1709a9;return this[_0x1eb911(0xeb)](_0xff870a);}async['exportXLSXBySnapshotAsync'](_0x229961){const _0x10349f=_0x1709a9,_0xe25419=this[_0x10349f(0xdd)][_0x10349f(0xdb)](r[_0x10349f(0xe6)]);if(!_0xe25419)throw new Error(_0x10349f(0xf1));return _0xe25419['exportXLSXBySnapshot'](_0x229961);}async[_0x1709a9(0xde)](_0x307533){return this['importDOCXToUnitIdAsync'](_0x307533);}async[_0x1709a9(0xce)](_0x5acf39){const _0x2b801f=_0x1709a9,_0x37b676=this[_0x2b801f(0xdd)]['get'](r[_0x2b801f(0xe6)]);if(!_0x37b676)throw new Error(_0x2b801f(0xf1));return _0x37b676[_0x2b801f(0xea)](_0x5acf39,i[_0x2b801f(0xe5)]);}async[_0x1709a9(0xd8)](_0x4aef82){const _0x233361=_0x1709a9;return this[_0x233361(0xd1)](_0x4aef82);}async[_0x1709a9(0xd1)](_0x4a2dcb){const _0xb7a0e=_0x1709a9,_0x569345=this[_0xb7a0e(0xdd)][_0xb7a0e(0xdb)](r[_0xb7a0e(0xe6)]);if(!_0x569345)throw new Error(_0xb7a0e(0xf1));return _0x569345[_0xb7a0e(0xd8)](_0x4a2dcb);}async['exportDOCXBySnapshotAsync'](_0x52f21c){const _0x2bb049=_0x1709a9,_0x1307de=this['_injector'][_0x2bb049(0xdb)](r[_0x2bb049(0xe6)]);if(!_0x1307de)throw new Error(_0x2bb049(0xf1));return _0x1307de[_0x2bb049(0xef)](_0x52f21c);}async[_0x1709a9(0xd6)](_0x220a0d){const _0x4fede3=_0x1709a9,_0x4ac4ca=this[_0x4fede3(0xdd)]['get'](r[_0x4fede3(0xe6)]);if(!_0x4ac4ca)throw new Error(_0x4fede3(0xf1));return _0x4ac4ca[_0x4fede3(0xf4)](_0x220a0d);}}o[_0x1709a9(0xdc)][_0x1709a9(0xf2)](c);