@eturnity/eturnity_reusable_components 7.30.3-EPDM-10926.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()
|
@@ -1,6 +0,0 @@
|
|
1
|
-
<svg width="16" height="16" viewBox="12 12 16 16" fill="none" xmlns="http://www.w3.org/2000/svg">
|
2
|
-
<path fill-rule="evenodd" clip-rule="evenodd" d="M20 13L27 16.8175L26.0477 18.4379L20 15.1397L13.9523 18.4379L13 16.8175L20 13Z" fill="#263238"/>
|
3
|
-
<path d="M17.1006 19.1906L20.0001 17.6078L22.8996 19.1906" stroke="#263238" stroke-width="2"/>
|
4
|
-
<path fill-rule="evenodd" clip-rule="evenodd" d="M20 21.5621L22.6508 23.0078L21.6985 24.6282L20 23.7019L18.3015 24.6282L17.3492 23.0078L20 21.5621ZM16.1269 25.8141L13.9523 27L13 25.3797L15.1746 24.1937L16.1269 25.8141ZM26.0477 27L23.8731 25.8141L24.8254 24.1937L27 25.3797L26.0477 27Z" fill="#263238"/>
|
5
|
-
<path d="M20.9662 22.9146H19.0332L19.0332 18.2928H20.9662L20.9662 22.9146Z" fill="#263238"/>
|
6
|
-
</svg>
|