@eturnity/eturnity_reusable_components 7.51.16 → 7.51.17

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.51.16",
3
+ "version": "7.51.17",
4
4
  "files": [
5
5
  "dist",
6
6
  "src"
@@ -1,6 +1,6 @@
1
1
  <template>
2
2
  <PageContainer :should-position="shouldPosition">
3
- <ButtonContainer :data-id="dataId">
3
+ <ButtonContainer :data-id="dataId" :data-qa-id="dataQaId">
4
4
  <PlusButtonSvg />
5
5
  </ButtonContainer>
6
6
  </PageContainer>
@@ -57,6 +57,10 @@
57
57
  type: String,
58
58
  default: '',
59
59
  },
60
+ dataQaId: {
61
+ type: String,
62
+ default: '',
63
+ },
60
64
  },
61
65
  }
62
66
  </script>
@@ -4,6 +4,7 @@
4
4
  :id="id"
5
5
  :custom-color="customColor"
6
6
  :data-id="dataId"
7
+ :data-qa-id="dataQaId"
7
8
  :font-color="fontColor"
8
9
  :height="height"
9
10
  :is-disabled="isDisabled"
@@ -164,6 +165,10 @@
164
165
  type: String,
165
166
  default: '',
166
167
  },
168
+ dataQaId: {
169
+ type: String,
170
+ default: '',
171
+ },
167
172
  },
168
173
  }
169
174
  </script>
@@ -4,6 +4,7 @@
4
4
  :border-radius="borderRadius"
5
5
  :color="iconColor"
6
6
  :data-id="dataId"
7
+ :data-qa-id="dataQaId"
7
8
  :disabled="disabled"
8
9
  :has-border="hasBorder"
9
10
  :hovered-background-color="hoveredBackgroundColor"
@@ -154,6 +155,10 @@
154
155
  type: String,
155
156
  default: '',
156
157
  },
158
+ dataQaId: {
159
+ type: String,
160
+ default: '',
161
+ },
157
162
  isHovered: {
158
163
  required: false,
159
164
  default: false,
@@ -13,6 +13,7 @@
13
13
  <InputCheckbox
14
14
  :checked="isChecked"
15
15
  :data-id="dataId"
16
+ :data-qa-id="dataQaId"
16
17
  type="checkbox"
17
18
  @change="onChangeHandler(!isChecked)"
18
19
  />
@@ -214,6 +215,10 @@
214
215
  type: String,
215
216
  default: '',
216
217
  },
218
+ dataQaId: {
219
+ type: String,
220
+ default: '',
221
+ },
217
222
  cursorType: {
218
223
  type: String,
219
224
  default: 'pointer',
@@ -15,6 +15,7 @@
15
15
  <LabelWrapper v-if="labelText">
16
16
  <LabelText
17
17
  :data-id="labelDataId"
18
+ :data-test-id="labelDataTestId"
18
19
  :label-font-color="labelFontColor"
19
20
  :label-font-weight="labelFontWeight"
20
21
  >
@@ -40,6 +41,7 @@
40
41
  "
41
42
  :color-mode="colorMode"
42
43
  :data-id="inputDataId"
44
+ :data-qa-id="dataQaId"
43
45
  :disabled="disabled"
44
46
  :font-color="colorMode === 'transparent' ? 'white' : fontColor"
45
47
  :font-size="fontSize"
@@ -647,6 +649,10 @@
647
649
  required: false,
648
650
  default: '',
649
651
  },
652
+ dataQaId: {
653
+ required: false,
654
+ default: '',
655
+ },
650
656
  showSelect: {
651
657
  type: Boolean,
652
658
  default: false,
@@ -34,6 +34,7 @@
34
34
  :background-color="backgroundColor"
35
35
  :border-color="borderColor"
36
36
  :data-id="inputDataId"
37
+ :data-qa-id="dataQaId"
37
38
  data-test-id="input"
38
39
  :default-padding="defaultPadding"
39
40
  :disabled="disabled"
@@ -378,6 +379,11 @@
378
379
  default: '',
379
380
  type: String,
380
381
  },
382
+ dataQaId: {
383
+ required: false,
384
+ default: '',
385
+ type: String,
386
+ },
381
387
  iconName: {
382
388
  required: false,
383
389
  default: null,
@@ -17,6 +17,7 @@
17
17
  <Radio
18
18
  :checked="selectedOption === item.value"
19
19
  :data-id="`radio_button_${dataId}_option_${item.value}`"
20
+ :data-qa-id="dataQaId"
20
21
  :data-test-id="'radioInput_' + item.value"
21
22
  :disabled="item.disabled"
22
23
  :name="'radioButtons_' + radioName"
@@ -296,6 +297,11 @@
296
297
  required: false,
297
298
  type: String,
298
299
  },
300
+ dataQaId: {
301
+ type: String,
302
+ default: '',
303
+ required: false,
304
+ },
299
305
  colorMode: {
300
306
  default: '',
301
307
  required: false,
@@ -5,6 +5,7 @@
5
5
  <InputContainer
6
6
  ref="inputElement"
7
7
  :data-id="dataId"
8
+ :data-qa-id="dataQaId"
8
9
  :disabled="disabled"
9
10
  :has-focus="hasFocus"
10
11
  :input-width="inputWidth"
@@ -128,6 +129,11 @@
128
129
  default: '',
129
130
  type: [String, Number],
130
131
  },
132
+ dataQaId: {
133
+ required: false,
134
+ default: '',
135
+ type: String,
136
+ },
131
137
  iconPosition: {
132
138
  type: String,
133
139
  default: 'right',
@@ -13,6 +13,7 @@
13
13
  <LabelWrapper
14
14
  v-if="label"
15
15
  :data-id="labelDataId"
16
+ :data-qa-id="dataQaId + '_label'"
16
17
  :info-text-message="!!infoTextMessage || !!$slots.infoText"
17
18
  >
18
19
  <InputLabel
@@ -51,6 +52,7 @@
51
52
  class="select-button"
52
53
  :color-mode="colorMode"
53
54
  :data-id="dataId"
55
+ :data-qa-id="dataQaId"
54
56
  :disabled="disabled"
55
57
  :font-color="
56
58
  buttonFontColor || colorMode == 'dark' || colorMode == 'transparent'
@@ -605,6 +607,10 @@
605
607
  type: String,
606
608
  default: '',
607
609
  },
610
+ dataQaId: {
611
+ type: String,
612
+ default: '',
613
+ },
608
614
  hasSelectButtonPadding: {
609
615
  required: false,
610
616
  type: Boolean,
@@ -18,6 +18,7 @@
18
18
  >
19
19
  <textarea
20
20
  :data-id="inputDataId"
21
+ :data-qa-id="dataQaId"
21
22
  :disabled="isDisabled"
22
23
  :placeholder="placeholder"
23
24
  :resize="resize"
@@ -185,6 +186,11 @@
185
186
  required: false,
186
187
  default: '',
187
188
  },
189
+ dataQaId: {
190
+ required: false,
191
+ default: '',
192
+ type: String,
193
+ },
188
194
  },
189
195
  methods: {
190
196
  onChangeHandler($event) {
@@ -2,6 +2,7 @@
2
2
  <Container>
3
3
  <FlexWrapper
4
4
  :data-id="dataId"
5
+ :data-qa-id="dataQaId"
5
6
  data-test-id="page_wrapper"
6
7
  :disabled="disabled"
7
8
  :size="size"
@@ -304,6 +305,10 @@
304
305
  type: String,
305
306
  default: '',
306
307
  },
308
+ dataQaId: {
309
+ type: String,
310
+ default: '',
311
+ },
307
312
  },
308
313
  methods: {
309
314
  onToggleChange() {
@@ -2,6 +2,7 @@
2
2
  <div
3
3
  :class="className"
4
4
  :data-id="dataId"
5
+ :data-qa-id="dataQaId"
5
6
  :style="style"
6
7
  @mousedown="elementMouseDown"
7
8
  @touchstart="elementTouchDown"
@@ -64,6 +65,10 @@
64
65
  type: String,
65
66
  default: '',
66
67
  },
68
+ dataQaId: {
69
+ type: String,
70
+ default: '',
71
+ },
67
72
  className: {
68
73
  type: String,
69
74
  default: 'vdr',