@eturnity/eturnity_reusable_components 6.39.0 → 6.39.1-qa-3d-6.41.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.39.0",
3
+ "version": "6.39.1-qa-3d-6.41.0",
4
4
  "private": false,
5
5
  "scripts": {
6
6
  "dev": "vue-cli-service serve",
@@ -60,4 +60,4 @@
60
60
  "author": "Aaron Enser",
61
61
  "license": "ISC",
62
62
  "homepage": "https://bitbucket.org/eturnitydevs/eturnity_reusable_components#readme"
63
- }
63
+ }
@@ -433,6 +433,10 @@ export default {
433
433
  labelFontColor: {
434
434
  required: false,
435
435
  default: 'eturnityGrey'
436
+ },
437
+ focus:{
438
+ required: false,
439
+ default: false
436
440
  }
437
441
  },
438
442
  computed: {
@@ -574,7 +578,7 @@ export default {
574
578
  }
575
579
  this.isFocused = true
576
580
  this.$nextTick(() => {
577
- this.$refs.inputField1.$el.select()
581
+ this.$refs.inputField1.$el.focus()
578
582
  })
579
583
  this.$emit('input-focus')
580
584
  },
@@ -660,7 +664,17 @@ export default {
660
664
  })
661
665
  }
662
666
  },
667
+ mounted(){
668
+ if(this.focus){
669
+ this.focusInput()
670
+ }
671
+ },
663
672
  watch: {
673
+ focus(value){
674
+ if(value){
675
+ this.focusInput()
676
+ }
677
+ },
664
678
  clearInput: function (value) {
665
679
  if (value) {
666
680
  // If the value is typed, then we should clear the textInput on Continue
@@ -20,6 +20,7 @@ export const stringToNumber = ({
20
20
  selectedLang === 'de-be' ||
21
21
  selectedLang === 'es-es' ||
22
22
  selectedLang === 'de' ||
23
+ selectedLang === 'de-at' ||
23
24
  selectedLang === 'it' ||
24
25
  selectedLang === 'it-it' ||
25
26
  selectedLang === 'nl-nl' ||
@@ -8,6 +8,8 @@ export const translateLang = (lang) => {
8
8
  return 'english_uk'
9
9
  } else if (lang === 'de' || lang === 'de-de') {
10
10
  return 'german'
11
+ } else if (lang === 'de-at') {
12
+ return 'german_at'
11
13
  } else if (lang === 'de-ch') {
12
14
  return 'german_ch'
13
15
  } else if (lang === 'de-lu') {
@@ -34,8 +36,10 @@ export const translateLang = (lang) => {
34
36
  return 'swedish'
35
37
  } else if (lang === 'no-no' || lang === 'nb-no') {
36
38
  return 'norwegian'
37
- } else if (lang === 'nl-nl' || lang === 'nl') {
38
- return 'nl-nl'
39
+ } else if (lang === 'nl-nl') {
40
+ return 'dutch_nl'
41
+ } else if (lang === 'nl-be') {
42
+ return 'dutch_be'
39
43
  } else if (lang === 'cs') {
40
44
  return 'czech'
41
45
  } else if (lang === 'fi-fi') {