@eturnity/eturnity_reusable_components 7.45.5-qa-16-11.13 → 7.45.5-qa-16-11.13.1

Sign up to get free protection for your applications and to get access to all the features.
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@eturnity/eturnity_reusable_components",
3
- "version": "7.45.5-qa-16-11.13",
3
+ "version": "7.45.5-qa-16-11.13.1",
4
4
  "files": [
5
5
  "dist",
6
6
  "src"
@@ -76,7 +76,7 @@
76
76
  :disabled="isSelectDisabled"
77
77
  :select-width="`${selectWidth}px`"
78
78
  :show-border="false"
79
- @input-change="$emit('select-change', $event)"
79
+ @input-change="handleSelectChange"
80
80
  >
81
81
  <template #selector>
82
82
  <SelectText>{{ getSelectValue }}</SelectText>
@@ -345,6 +345,7 @@
345
345
  INPUT_BLUR: 'input-blur',
346
346
  PRESS_ENTER: 'on-enter-click',
347
347
  INPUT_DRAG: 'on-input-drag',
348
+ SELECT_CHANGE: 'select-change',
348
349
  }
349
350
 
350
351
  export default {
@@ -703,7 +704,7 @@
703
704
  this.$nextTick(() => {
704
705
  this.$refs.inputField1.$el.select()
705
706
  })
706
- this.$emit(EVENT_TYPES.INPUT_FOCUS)
707
+ this.$emit(EVENT_TYPES.INPUT_FOCUS, this.inputValue)
707
708
  },
708
709
  blurInput() {
709
710
  if (this.disabled) {
@@ -766,6 +767,9 @@
766
767
  window.removeEventListener('mouseup', this.stopInteract, false)
767
768
  this.blurInput()
768
769
  },
770
+ handleSelectChange(value) {
771
+ this.$emit(EVENT_TYPES.SELECT_CHANGE, value)
772
+ },
769
773
  },
770
774
  }
771
775
  </script>