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

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 _0x483197=_0x3f0a;function _0x3f0a(_0x207482,_0x1547e8){const _0x3ccdb4=_0x3ccd();return _0x3f0a=function(_0x3f0ae9,_0x582fa4){_0x3f0ae9=_0x3f0ae9-0x12b;let _0x522540=_0x3ccdb4[_0x3f0ae9];return _0x522540;},_0x3f0a(_0x207482,_0x1547e8);}(function(_0x5668cc,_0x5493c4){const _0xa8914c=_0x3f0a,_0x18385f=_0x5668cc();while(!![]){try{const _0x147e75=-parseInt(_0xa8914c(0x12d))/0x1*(-parseInt(_0xa8914c(0x139))/0x2)+-parseInt(_0xa8914c(0x137))/0x3*(parseInt(_0xa8914c(0x140))/0x4)+parseInt(_0xa8914c(0x130))/0x5+-parseInt(_0xa8914c(0x133))/0x6*(-parseInt(_0xa8914c(0x12b))/0x7)+parseInt(_0xa8914c(0x134))/0x8+parseInt(_0xa8914c(0x14f))/0x9*(-parseInt(_0xa8914c(0x131))/0xa)+parseInt(_0xa8914c(0x14c))/0xb;if(_0x147e75===_0x5493c4)break;else _0x18385f['push'](_0x18385f['shift']());}catch(_0x5ebf84){_0x18385f['push'](_0x18385f['shift']());}}}(_0x3ccd,0xe4ca9));const r=require(_0x483197(0x138)),o=require(_0x483197(0x146));var i=(_0x8d16a6=>(_0x8d16a6[_0x8d16a6[_0x483197(0x12e)]=0x0]=_0x483197(0x12e),_0x8d16a6[_0x8d16a6[_0x483197(0x132)]=0x1]=_0x483197(0x132),_0x8d16a6[_0x8d16a6[_0x483197(0x13e)]=0x2]=_0x483197(0x13e),_0x8d16a6[_0x8d16a6['UNIVER_SLIDE']=0x3]=_0x483197(0x13a),_0x8d16a6[_0x8d16a6['UNIVER_PROJECT']=0x4]=_0x483197(0x12c),_0x8d16a6[_0x8d16a6[_0x483197(0x150)]=-0x1]=_0x483197(0x150),_0x8d16a6))(i||{});class c extends o[_0x483197(0x14b)]{async['importXLSXToUnitId'](_0x25e07){const _0x5836bc=_0x483197;return this[_0x5836bc(0x142)](_0x25e07);}async[_0x483197(0x142)](_0x565bc6){const _0x186d09=_0x483197,_0x57d0b2=this[_0x186d09(0x141)][_0x186d09(0x14e)](r[_0x186d09(0x14a)]);if(!_0x57d0b2)throw new Error(_0x186d09(0x13d));return _0x57d0b2['importFileToUnitId'](_0x565bc6,i[_0x186d09(0x13e)]);}async[_0x483197(0x149)](_0x5809b7){const _0x37ccb7=_0x483197;return this[_0x37ccb7(0x12f)](_0x5809b7);}async[_0x483197(0x12f)](_0x4d4d0f){const _0x355329=_0x483197,_0xd811a1=this['_injector']['get'](r[_0x355329(0x14a)]);if(!_0xd811a1)throw new Error('The\x20exchange\x20service\x20is\x20not\x20available');return _0xd811a1[_0x355329(0x149)](_0x4d4d0f);}async['exportXLSXByUnitId'](_0x3393ea){const _0x557d31=_0x483197;return this[_0x557d31(0x13c)](_0x3393ea);}async[_0x483197(0x13c)](_0x19c92b){const _0x408f98=_0x483197,_0x47861f=this[_0x408f98(0x141)][_0x408f98(0x14e)](r['IExchangeService']);if(!_0x47861f)throw new Error(_0x408f98(0x13d));return _0x47861f[_0x408f98(0x151)](_0x19c92b);}async[_0x483197(0x136)](_0x254302){const _0x441d32=_0x483197;return this[_0x441d32(0x13b)](_0x254302);}async[_0x483197(0x13b)](_0x219f67){const _0x4f6902=_0x483197,_0x5f3f41=this[_0x4f6902(0x141)]['get'](r['IExchangeService']);if(!_0x5f3f41)throw new Error('The\x20exchange\x20service\x20is\x20not\x20available');return _0x5f3f41[_0x4f6902(0x136)](_0x219f67);}async[_0x483197(0x144)](_0x1b1a63){const _0x34a045=_0x483197;return this[_0x34a045(0x145)](_0x1b1a63);}async[_0x483197(0x145)](_0x1b9f4f){const _0x1bc8c3=_0x483197,_0x274ad7=this['_injector']['get'](r[_0x1bc8c3(0x14a)]);if(!_0x274ad7)throw new Error('The\x20exchange\x20service\x20is\x20not\x20available');return _0x274ad7[_0x1bc8c3(0x135)](_0x1b9f4f,i[_0x1bc8c3(0x132)]);}async[_0x483197(0x14d)](_0x1f9c67){const _0x2a4573=_0x483197;return this[_0x2a4573(0x148)](_0x1f9c67);}async[_0x483197(0x148)](_0x8f9e49){const _0x3666e5=_0x483197,_0x3167ef=this[_0x3666e5(0x141)][_0x3666e5(0x14e)](r[_0x3666e5(0x14a)]);if(!_0x3167ef)throw new Error(_0x3666e5(0x13d));return _0x3167ef[_0x3666e5(0x14d)](_0x8f9e49);}async['exportDOCXBySnapshotAsync'](_0x488414){const _0x58743d=_0x483197,_0x1a9a92=this[_0x58743d(0x141)]['get'](r[_0x58743d(0x14a)]);if(!_0x1a9a92)throw new Error(_0x58743d(0x13d));return _0x1a9a92['exportDOCXBySnapshot'](_0x488414);}async[_0x483197(0x143)](_0x2ba7d){const _0x367ccb=_0x483197,_0x5bf442=this[_0x367ccb(0x141)][_0x367ccb(0x14e)](r['IExchangeService']);if(!_0x5bf442)throw new Error(_0x367ccb(0x13d));return _0x5bf442[_0x367ccb(0x13f)](_0x2ba7d);}}function _0x3ccd(){const _0x53e899=['importXLSXToSnapshotAsync','917575lVdwZo','10LHOFkc','UNIVER_DOC','1092426WNiWAu','953944QFhJLQ','importFileToUnitId','exportXLSXBySnapshot','756594gidUKk','@univerjs-pro/exchange-client','665258LMBtMq','UNIVER_SLIDE','exportXLSXBySnapshotAsync','exportXLSXByUnitIdAsync','The\x20exchange\x20service\x20is\x20not\x20available','UNIVER_SHEET','exportDOCXByUnitId','12siIisW','_injector','importXLSXToUnitIdAsync','exportDOCXByUnitIdAsync','importDOCXToUnitId','importDOCXToUnitIdAsync','@univerjs/core/facade','extend','importDOCXToSnapshotAsync','importXLSXToSnapshot','IExchangeService','FUniver','18336021FNizmJ','importDOCXToSnapshot','get','16664031HOISkv','UNRECOGNIZED','exportXLSXByUnitId','35TEbBqD','UNIVER_PROJECT','2calRBI','UNIVER_UNKNOWN'];_0x3ccd=function(){return _0x53e899;};return _0x3ccd();}o[_0x483197(0x14b)][_0x483197(0x147)](c);
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);