@eturnity/eturnity_reusable_components 8.49.2 → 8.49.3

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/dist/main.es24.js CHANGED
@@ -214,6 +214,16 @@ const _sfc_main = {
214
214
  type: Boolean,
215
215
  default: false,
216
216
  required: false
217
+ },
218
+ dataId: {
219
+ required: false,
220
+ default: "",
221
+ type: String
222
+ },
223
+ dataQaId: {
224
+ required: false,
225
+ default: "",
226
+ type: String
217
227
  }
218
228
  },
219
229
  setup(props) {
@@ -457,6 +467,8 @@ function _sfc_render(_ctx, _cache, $props, $setup, $data, $options) {
457
467
  const _component_PageContainer = resolveComponent("PageContainer");
458
468
  return openBlock(), createBlock(_component_PageContainer, {
459
469
  ref: "container",
470
+ "data-id": $props.dataId,
471
+ "data-qa-id": $props.dataQaId,
460
472
  "data-test-id": "infoText_container",
461
473
  type: $props.type,
462
474
  onClick: _cache[0] || (_cache[0] = ($event) => {
@@ -535,7 +547,7 @@ function _sfc_render(_ctx, _cache, $props, $setup, $data, $options) {
535
547
  _: 3
536
548
  }, 8, ["style"])])) : createCommentVNode("", true)]),
537
549
  _: 3
538
- }, 8, ["type"]);
550
+ }, 8, ["data-id", "data-qa-id", "type"]);
539
551
  }
540
552
  const InfoText = /* @__PURE__ */ _export_sfc(_sfc_main, [["render", _sfc_render]]);
541
553
  export {
package/dist/main.es9.js CHANGED
@@ -39,6 +39,11 @@ const _sfc_main = {
39
39
  dataId: {
40
40
  type: String,
41
41
  default: ""
42
+ },
43
+ dataQaId: {
44
+ required: false,
45
+ default: "",
46
+ type: String
42
47
  }
43
48
  },
44
49
  computed: {
@@ -58,7 +63,8 @@ function _sfc_render(_ctx, _cache, $props, $setup, $data, $options) {
58
63
  const _component_TextContainer = resolveComponent("TextContainer");
59
64
  const _component_TagContainer = resolveComponent("TagContainer");
60
65
  return openBlock(), createBlock(_component_TagContainer, {
61
- "data-id": $props.dataId
66
+ "data-id": $props.dataId,
67
+ "data-qa-id": $props.dataQaId
62
68
  }, {
63
69
  default: withCtx(() => [createVNode(_component_RcIcon, {
64
70
  color: $options.getIconColor,
@@ -70,7 +76,7 @@ function _sfc_render(_ctx, _cache, $props, $setup, $data, $options) {
70
76
  _: 1
71
77
  })]),
72
78
  _: 1
73
- }, 8, ["data-id"]);
79
+ }, 8, ["data-id", "data-qa-id"]);
74
80
  }
75
81
  const ConversionTag = /* @__PURE__ */ _export_sfc(_sfc_main, [["render", _sfc_render]]);
76
82
  export {
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@eturnity/eturnity_reusable_components",
3
- "version": "8.49.2",
3
+ "version": "8.49.3",
4
4
  "files": [
5
5
  "dist",
6
6
  "src"
@@ -1,6 +1,6 @@
1
1
  <template>
2
2
  <Wrapper>
3
- <Container>
3
+ <Container :data-id="dataId" :data-qa-id="dataQaId">
4
4
  <LeftLine :color="color" />
5
5
  <RightLine :color="color" />
6
6
  </Container>
@@ -57,6 +57,16 @@
57
57
  required: false,
58
58
  default: '',
59
59
  },
60
+ dataId: {
61
+ required: false,
62
+ default: '',
63
+ type: String,
64
+ },
65
+ dataQaId: {
66
+ required: false,
67
+ default: '',
68
+ type: String,
69
+ },
60
70
  },
61
71
  }
62
72
  </script>
@@ -1,5 +1,5 @@
1
1
  <template>
2
- <Wrapper :is-disabled="isDisabled">
2
+ <Wrapper :data-id="dataId" :data-qa-id="dataQaId" :is-disabled="isDisabled">
3
3
  <DeleteIconRed class="icon-red" :hover-bg="hoverBg" />
4
4
  <DeleteIconGray class="icon-gray" />
5
5
  </Wrapper>
@@ -73,6 +73,16 @@
73
73
  required: false,
74
74
  default: '',
75
75
  },
76
+ dataId: {
77
+ required: false,
78
+ default: '',
79
+ type: String,
80
+ },
81
+ dataQaId: {
82
+ required: false,
83
+ default: '',
84
+ type: String,
85
+ },
76
86
  },
77
87
  }
78
88
  </script>
@@ -1,6 +1,8 @@
1
1
  <template>
2
2
  <PageContainer
3
3
  ref="container"
4
+ :data-id="dataId"
5
+ :data-qa-id="dataQaId"
4
6
  data-test-id="infoText_container"
5
7
  :type="type"
6
8
  @click=";(isMobile || openTrigger === 'onClick') && toggleInfo()"
@@ -329,6 +331,16 @@
329
331
  default: false,
330
332
  required: false,
331
333
  },
334
+ dataId: {
335
+ required: false,
336
+ default: '',
337
+ type: String,
338
+ },
339
+ dataQaId: {
340
+ required: false,
341
+ default: '',
342
+ type: String,
343
+ },
332
344
  },
333
345
  setup(props) {
334
346
  const isVisible = ref(false)
@@ -18,7 +18,7 @@
18
18
  :is-error="isError"
19
19
  >
20
20
  <textarea
21
- :data-id="inputDataId"
21
+ :data-id="inputDataId || dataId"
22
22
  :data-qa-id="dataQaId"
23
23
  :disabled="isDisabled"
24
24
  :placeholder="placeholder"
@@ -192,6 +192,11 @@
192
192
  required: false,
193
193
  default: '',
194
194
  },
195
+ dataId: {
196
+ required: false,
197
+ default: '',
198
+ type: String,
199
+ },
195
200
  dataQaId: {
196
201
  required: false,
197
202
  default: '',
@@ -1,5 +1,5 @@
1
1
  <template>
2
- <TagContainer :data-id="dataId">
2
+ <TagContainer :data-id="dataId" :data-qa-id="dataQaId">
3
3
  <RcIcon
4
4
  :color="getIconColor"
5
5
  :hovered-color="getIconColor"
@@ -51,6 +51,11 @@
51
51
  type: String,
52
52
  default: '',
53
53
  },
54
+ dataQaId: {
55
+ required: false,
56
+ default: '',
57
+ type: String,
58
+ },
54
59
  },
55
60
  computed: {
56
61
  getIconColor() {
@@ -2,6 +2,8 @@
2
2
  <PageContainer
3
3
  ref="pageContainer"
4
4
  :activated="isOpen"
5
+ :data-id="dataId"
6
+ :data-qa-id="dataQaId"
5
7
  :hovered-background-color="hoveredBackgroundColor"
6
8
  @click="toggleButton()"
7
9
  >
@@ -315,6 +317,16 @@
315
317
  type: String,
316
318
  default: theme.colors.grey5,
317
319
  },
320
+ dataId: {
321
+ required: false,
322
+ default: '',
323
+ type: String,
324
+ },
325
+ dataQaId: {
326
+ required: false,
327
+ default: '',
328
+ type: String,
329
+ },
318
330
  },
319
331
  data() {
320
332
  return {