@eturnity/eturnity_reusable_components 6.43.9-EPDM-3186.1 → 6.43.9-EPDM-6226.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/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@eturnity/eturnity_reusable_components",
3
- "version": "6.43.9-EPDM-3186.1",
3
+ "version": "6.43.9-EPDM-6226.0",
4
4
  "private": false,
5
5
  "scripts": {
6
6
  "dev": "vue-cli-service serve",
@@ -510,8 +510,13 @@ export default {
510
510
  }
511
511
  },
512
512
  methods: {
513
- toggleOpen() {
514
- if (this.disabled) {
513
+ toggleOpen(event) {
514
+ if (
515
+ this.isDisabled ||
516
+ (event &&
517
+ !(event.target === this.$el) &&
518
+ !this.$el.contains(event.target))
519
+ ) {
515
520
  return
516
521
  }
517
522
  this.wasClicked = false
@@ -96,8 +96,6 @@ export const numberToString = ({ value, numberPrecision }) => {
96
96
  let selectedLang = localStorage.getItem('lang')
97
97
  ? localStorage.getItem('lang') === 'fr-lu'
98
98
  ? 'fr-fr'
99
- : localStorage.getItem('lang') === 'fr-ch'
100
- ? 'de-ch'
101
99
  : localStorage.getItem('lang')
102
100
  : 'en-US'
103
101
  if (selectedLang == 'null') {