@eturnity/eturnity_reusable_components 7.30.3-EPDM-11226.0 → 7.30.3-EPDM-10647.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
@@ -75,6 +75,7 @@
|
|
75
75
|
<Select
|
76
76
|
:showBorder="false"
|
77
77
|
:selectWidth="`${selectWidth}px`"
|
78
|
+
:disabled="isSelectDisabled"
|
78
79
|
@input-change="$emit('select-change', $event)"
|
79
80
|
>
|
80
81
|
<template #selector>
|
@@ -517,6 +518,10 @@ export default {
|
|
517
518
|
selectValue: {
|
518
519
|
type: [String, Number],
|
519
520
|
default: null
|
521
|
+
},
|
522
|
+
isSelectDisabled: {
|
523
|
+
type: Boolean,
|
524
|
+
default: false
|
520
525
|
}
|
521
526
|
},
|
522
527
|
computed: {
|
@@ -181,6 +181,7 @@ import InfoText from '../../infoText'
|
|
181
181
|
import icon from '../../icon'
|
182
182
|
import inputText from '../inputText'
|
183
183
|
import draggableInputHandle from '../../draggableInputHandle'
|
184
|
+
import { debounce } from '../../../utils'
|
184
185
|
|
185
186
|
const CARET_WIDTH = '30px'
|
186
187
|
const BORDER_WIDTH = '1px'
|
@@ -652,9 +653,9 @@ export default {
|
|
652
653
|
this.blur()
|
653
654
|
this.$emit('input-change', e)
|
654
655
|
},
|
655
|
-
optionHovered(e) {
|
656
|
+
optionHovered: debounce(function (e) {
|
656
657
|
this.hoveredValue = e
|
657
|
-
},
|
658
|
+
}, 300),
|
658
659
|
mouseEnterHandler() {
|
659
660
|
if (this.hoverDropdown) {
|
660
661
|
this.focus()
|