@eturnity/eturnity_reusable_components 7.39.4--EPDM-10842.0 → 7.39.4--EPDM-12129.1
Sign up to get free protection for your applications and to get access to all the features.
package/package.json
CHANGED
@@ -21,7 +21,6 @@
|
|
21
21
|
v-if="labelInfoText"
|
22
22
|
:align-arrow="labelInfoAlign"
|
23
23
|
:text="labelInfoText"
|
24
|
-
:width="infoWidth"
|
25
24
|
/>
|
26
25
|
</LabelWrapper>
|
27
26
|
<InputWrapper>
|
@@ -450,11 +449,6 @@
|
|
450
449
|
required: false,
|
451
450
|
default: null,
|
452
451
|
},
|
453
|
-
infoWidth: {
|
454
|
-
required: false,
|
455
|
-
default: '200px',
|
456
|
-
type: String,
|
457
|
-
},
|
458
452
|
labelInfoAlign: {
|
459
453
|
required: false,
|
460
454
|
default: 'left',
|
@@ -28,6 +28,7 @@
|
|
28
28
|
ref="inputElement"
|
29
29
|
:background-color="backgroundColor"
|
30
30
|
:data-id="inputDataId"
|
31
|
+
:data-test-id="dataTestId"
|
31
32
|
:disabled="disabled"
|
32
33
|
:disabled-background-color="disabledBackgroundColor"
|
33
34
|
:font-color="fontColor"
|
@@ -324,6 +325,10 @@
|
|
324
325
|
required: false,
|
325
326
|
default: '',
|
326
327
|
},
|
328
|
+
dataTestId: {
|
329
|
+
required: false,
|
330
|
+
default: '',
|
331
|
+
},
|
327
332
|
},
|
328
333
|
data() {
|
329
334
|
return {
|
@@ -13,6 +13,7 @@
|
|
13
13
|
<LabelWrapper
|
14
14
|
v-if="label"
|
15
15
|
:data-id="labelDataId"
|
16
|
+
:data-test-id="dataTestId"
|
16
17
|
:info-text-message="!!infoTextMessage || !!$slots.infoText"
|
17
18
|
>
|
18
19
|
<InputLabel
|
@@ -44,6 +45,7 @@
|
|
44
45
|
"
|
45
46
|
class="select-button"
|
46
47
|
:data-id="dataId"
|
48
|
+
:data-test-id="dataTestId"
|
47
49
|
:disabled="disabled"
|
48
50
|
:font-color="
|
49
51
|
buttonFontColor || colorMode == 'dark' ? 'white' : 'black'
|
@@ -553,6 +555,10 @@
|
|
553
555
|
type: String,
|
554
556
|
default: '',
|
555
557
|
},
|
558
|
+
dataTestId: {
|
559
|
+
type: String,
|
560
|
+
default: '',
|
561
|
+
},
|
556
562
|
hasSelectButtonPadding: {
|
557
563
|
required: false,
|
558
564
|
type: Boolean,
|
@@ -613,7 +619,7 @@
|
|
613
619
|
if (this.isDropdownOpen) {
|
614
620
|
return this.$refs.dropdown.$el.childElementCount > 1
|
615
621
|
? this.$refs.dropdown.$el.childElementCount
|
616
|
-
:
|
622
|
+
: this.$refs.dropdown.$el.children[0]
|
617
623
|
? this.$refs.dropdown.$el.children[0].childElementCount
|
618
624
|
: 0
|
619
625
|
}
|