@ironsource/shared-ui 1.4.2-test.9 → 1.4.2

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.
Files changed (157) hide show
  1. package/AddFilterButton.vue_vue_type_style_index_0_scoped_true_lang.css +1 -1
  2. package/AppTrigger.vue_vue_type_style_index_0_scoped_true_lang.css +1 -1
  3. package/AutocompleteDropdown.vue_vue_type_style_index_0_scoped_true_lang.css +1 -1
  4. package/AutocompleteInput.vue_vue_type_style_index_0_scoped_true_lang.css +1 -1
  5. package/Banner.vue_vue_type_style_index_0_scoped_true_lang.css +1 -1
  6. package/Button.vue_vue_type_style_index_0_scoped_true_lang.css +1 -1
  7. package/CalendarMonth.vue_vue_type_style_index_0_scoped_true_lang.css +1 -1
  8. package/Checkbox.vue_vue_type_style_index_0_scoped_true_lang.css +1 -1
  9. package/Chip.vue_vue_type_style_index_0_scoped_true_lang.css +1 -1
  10. package/DatePicker.vue_vue_type_style_index_0_scoped_true_lang.css +1 -1
  11. package/DatePickerMonth.vue_vue_type_style_index_0_scoped_true_lang.css +1 -1
  12. package/DateRange.vue_vue_type_style_index_0_scoped_true_lang.css +1 -1
  13. package/Dialog.vue_vue_type_style_index_0_scoped_true_lang.css +1 -1
  14. package/DollarInput.vue_vue_type_style_index_0_scoped_true_lang.css +1 -1
  15. package/Dropdown.vue_vue_type_style_index_0_scoped_true_lang.css +1 -1
  16. package/Editable.vue_vue_type_style_index_0_scoped_true_lang.css +1 -1
  17. package/FilterDropdown.vue_vue_type_style_index_0_scoped_true_lang.css +1 -1
  18. package/FiltersPanel.vue_vue_type_style_index_0_scoped_true_lang.css +1 -1
  19. package/Heading.vue_vue_type_style_index_0_scoped_true_lang.css +1 -1
  20. package/IncludeExclude.vue_vue_type_style_index_0_scoped_true_lang.css +1 -1
  21. package/Input.vue_vue_type_style_index_0_scoped_true_lang.css +1 -1
  22. package/Menu.vue_vue_type_style_index_0_scoped_true_lang.css +1 -1
  23. package/PasswordInput.vue_vue_type_style_index_0_scoped_true_lang.css +1 -1
  24. package/PercentageInput.vue_vue_type_style_index_0_scoped_true_lang.css +1 -1
  25. package/README.md +1 -1
  26. package/RadioButton.vue_vue_type_style_index_0_scoped_true_lang.css +1 -1
  27. package/RadioGroup.vue_vue_type_style_index_0_scoped_true_lang.css +1 -1
  28. package/Search.vue_vue_type_style_index_0_scoped_true_lang.css +1 -1
  29. package/Switch.vue_vue_type_style_index_0_scoped_true_lang.css +1 -1
  30. package/Table.vue_vue_type_style_index_0_scoped_true_lang.css +1 -1
  31. package/Tabs.vue_vue_type_style_index_0_scoped_true_lang.css +1 -1
  32. package/Text.vue_vue_type_style_index_0_scoped_true_lang.css +1 -1
  33. package/TextArea.vue_vue_type_style_index_0_scoped_true_lang.css +1 -1
  34. package/TextWithTitleContent.vue_vue_type_style_index_0_scoped_true_lang.css +1 -1
  35. package/Toggle.vue_vue_type_style_index_0_scoped_true_lang.css +1 -1
  36. package/components/appTrigger/AppTrigger.vue.d.ts +5 -0
  37. package/components/appTrigger/AppTrigger.vue.js +29 -16
  38. package/components/appTrigger/index.d.ts +11 -0
  39. package/components/autocompleteDropdown/AutocompleteDropdown.vue.d.ts +5 -0
  40. package/components/autocompleteDropdown/AutocompleteDropdown.vue.js +7 -4
  41. package/components/autocompleteDropdown/AutocompleteInput.vue.d.ts +5 -0
  42. package/components/autocompleteDropdown/AutocompleteInput.vue.js +12 -6
  43. package/components/autocompleteDropdown/index.d.ts +11 -0
  44. package/components/banner/Banner.vue.d.ts +9 -0
  45. package/components/banner/Banner.vue.js +20 -9
  46. package/components/banner/index.d.ts +9 -0
  47. package/components/button/Button.vue.d.ts +5 -0
  48. package/components/button/Button.vue.js +6 -4
  49. package/components/button/index.d.ts +17 -6
  50. package/components/checkbox/Checkbox.vue.d.ts +5 -0
  51. package/components/checkbox/Checkbox.vue.js +20 -14
  52. package/components/checkbox/index.d.ts +11 -0
  53. package/components/chip/Chip.vue.d.ts +5 -0
  54. package/components/chip/Chip.vue.js +12 -7
  55. package/components/chip/index.d.ts +11 -0
  56. package/components/datePicker/DatePicker.vue.d.ts +5 -0
  57. package/components/datePicker/DatePicker.vue.js +11 -6
  58. package/components/datePicker/DatePickerMonth.vue.d.ts +5 -0
  59. package/components/datePicker/DatePickerMonth.vue.js +5 -3
  60. package/components/datePicker/index.d.ts +11 -0
  61. package/components/dateRange/CalendarMonth.vue.d.ts +5 -0
  62. package/components/dateRange/CalendarMonth.vue.js +39 -21
  63. package/components/dateRange/DateRange.vue.d.ts +5 -0
  64. package/components/dateRange/DateRange.vue.js +49 -36
  65. package/components/dateRange/DateRangePicker.vue.d.ts +5 -0
  66. package/components/dateRange/index.d.ts +11 -0
  67. package/components/dialog/Dialog.vue.d.ts +5 -0
  68. package/components/dialog/Dialog.vue.js +38 -23
  69. package/components/dialog/index.d.ts +11 -0
  70. package/components/dropdown/Dropdown.vue.d.ts +5 -0
  71. package/components/dropdown/Dropdown.vue.js +62 -35
  72. package/components/dropdown/index.d.ts +11 -0
  73. package/components/emptyState/index.d.ts +3 -3
  74. package/components/filterDropdown/AddFilterButton.vue.d.ts +2 -0
  75. package/components/filterDropdown/AddFilterButton.vue.js +6 -4
  76. package/components/filterDropdown/FilterDropdown.vue.d.ts +5 -0
  77. package/components/filterDropdown/FilterDropdown.vue.js +8 -5
  78. package/components/filterDropdown/index.d.ts +17 -0
  79. package/components/filtersPanel/FiltersPanel.vue.d.ts +5 -0
  80. package/components/filtersPanel/FiltersPanel.vue.js +7 -4
  81. package/components/icon/Icon.vue.js +0 -1
  82. package/components/icon/icons/index.d.ts +0 -3
  83. package/components/icon/icons/index.vue.js +0 -3
  84. package/components/icon/index.d.ts +0 -3
  85. package/components/includeExclude/IncludeExclude.vue.d.ts +5 -13
  86. package/components/includeExclude/IncludeExclude.vue.js +86 -134
  87. package/components/includeExclude/IncludeExcludeAppHeader.vue.js +3 -4
  88. package/components/includeExclude/IncludeExcludeChipFilter.vue.js +2 -2
  89. package/components/includeExclude/includeExcludeMocks.d.ts +0 -12
  90. package/components/includeExclude/index.d.ts +23 -27
  91. package/components/includeExclude/index.vue.js +0 -3
  92. package/components/input/DollarInput.vue.d.ts +1 -1
  93. package/components/input/DollarInput.vue.js +1 -1
  94. package/components/input/Input.vue.d.ts +10 -0
  95. package/components/input/Input.vue.js +61 -35
  96. package/components/input/PasswordInput.vue.d.ts +1 -1
  97. package/components/input/PasswordInput.vue.js +1 -1
  98. package/components/input/PercentageInput.vue.d.ts +1 -1
  99. package/components/input/PercentageInput.vue.js +1 -1
  100. package/components/input/index.d.ts +34 -0
  101. package/components/menu/Menu.vue.d.ts +5 -0
  102. package/components/menu/Menu.vue.js +6 -4
  103. package/components/menu/index.d.ts +11 -0
  104. package/components/popover/Popover.vue.d.ts +5 -0
  105. package/components/popover/Popover.vue.js +5 -3
  106. package/components/popover/index.d.ts +11 -0
  107. package/components/radioButton/RadioButton.vue.d.ts +5 -0
  108. package/components/radioButton/RadioButton.vue.js +15 -8
  109. package/components/radioButton/RadioGroup.vue.d.ts +5 -0
  110. package/components/radioButton/RadioGroup.vue.js +9 -5
  111. package/components/radioButton/index.d.ts +22 -0
  112. package/components/search/Search.vue.d.ts +5 -0
  113. package/components/search/Search.vue.js +13 -7
  114. package/components/search/index.d.ts +11 -0
  115. package/components/switch/Switch.vue.d.ts +5 -0
  116. package/components/switch/Switch.vue.js +17 -9
  117. package/components/switch/index.d.ts +11 -0
  118. package/components/table/Table.types.d.ts +0 -1
  119. package/components/table/Table.vue.d.ts +5 -10
  120. package/components/table/Table.vue.js +56 -52
  121. package/components/table/index.d.ts +11 -22
  122. package/components/table-cells/Editable.vue.js +1 -1
  123. package/components/tabs/Tabs.vue.d.ts +5 -0
  124. package/components/tabs/Tabs.vue.js +20 -15
  125. package/components/tabs/index.d.ts +11 -0
  126. package/components/textArea/TextArea.vue.d.ts +5 -0
  127. package/components/textArea/TextArea.vue.js +23 -16
  128. package/components/textArea/index.d.ts +11 -0
  129. package/components/toggle/Toggle.vue.d.ts +10 -0
  130. package/components/toggle/Toggle.vue.js +37 -20
  131. package/components/toggle/index.d.ts +22 -0
  132. package/components/tooltip/TextWithTitleContent.vue.d.ts +16 -3
  133. package/components/tooltip/TextWithTitleContent.vue.js +11 -6
  134. package/components/tooltip/Tooltip.vue.d.ts +5 -0
  135. package/components/tooltip/Tooltip.vue.js +8 -4
  136. package/components/tooltip/index.d.ts +11 -0
  137. package/components/typography/Heading.vue.d.ts +5 -0
  138. package/components/typography/Heading.vue.js +7 -4
  139. package/components/typography/Text.vue.d.ts +5 -0
  140. package/components/typography/Text.vue.js +8 -4
  141. package/components/typography/index.d.ts +22 -0
  142. package/consts/regex.d.ts +1 -0
  143. package/consts/regex.vue.js +3 -0
  144. package/consts/style.d.ts +1 -0
  145. package/consts/style.vue.js +3 -0
  146. package/index.vue.js +1 -2
  147. package/package.json +4 -5
  148. package/testids/index.d.ts +146 -0
  149. package/testids/index.vue.js +170 -0
  150. package/utils/style.d.ts +1 -0
  151. package/utils/style.vue.js +5 -0
  152. package/IncludeExcludeOptionDraggable.vue_vue_type_style_index_0_scoped_true_lang.css +0 -1
  153. package/components/icon/icons/TableEdit.vue.d.ts +0 -2
  154. package/components/icon/icons/TableEdit.vue.js +0 -24
  155. package/components/includeExclude/IncludeExcludeOptionDraggable.vue.d.ts +0 -43
  156. package/components/includeExclude/IncludeExcludeOptionDraggable.vue.js +0 -122
  157. package/components/table/Pagination.vue.d.ts +0 -43
@@ -1,6 +1,7 @@
1
- import { defineComponent, ref, computed, watch, useSlots, nextTick, toRaw, provide, onMounted, openBlock, createElementBlock, normalizeClass, renderSlot, createVNode, unref, withCtx, Transition, createElementVNode, createTextVNode, toDisplayString, createCommentVNode, createBlock, mergeProps, withModifiers, Fragment, renderList, pushScopeId, popScopeId } from 'vue';
1
+ import { defineComponent, ref, computed, watch, useSlots, nextTick, toRaw, provide, onMounted, openBlock, createElementBlock, normalizeClass, unref, renderSlot, createVNode, withCtx, Transition, createElementVNode, createTextVNode, toDisplayString, createCommentVNode, createBlock, mergeProps, withModifiers, Fragment, renderList, pushScopeId, popScopeId } from 'vue';
2
2
  import Button from '../button/Button.vue.js';
3
3
  import Icon from '../icon/Icon.vue.js';
4
+ import { DropdownTestIdModifiers } from '../../testids/index.vue.js';
4
5
  /* empty css */import _export_sfc from '../../_virtual/plugin-vue_export-helper.vue.js';
5
6
  import Text from '../typography/Text.vue.js';
6
7
  /* empty css *//* empty css *//* empty css */import { Dropdown as Dropdown$1 } from 'floating-vue';
@@ -11,10 +12,11 @@ import { isObjectInArray } from '../../utils/array.vue.js';
11
12
  import { objectsEqual } from '../../utils/object.vue.js';
12
13
  import { useClamp, useVirtualList, onClickOutside } from '@vueuse/core';
13
14
  import { Mode, Type, DropdownContext } from './DropdownContext.vue.js';
15
+ import { pxToRem } from '../../utils/style.vue.js';
14
16
  /* empty css *//* empty css */
15
17
  import "../../Dropdown.vue_vue_type_style_index_0_scoped_true_lang.css";import "../../Dropdown.vue_vue_type_style_index_1_lang.css";
16
- const _withScopeId = (n) => (pushScopeId("data-v-49790baa"), n = n(), popScopeId(), n);
17
- const _hoisted_1 = ["tabindex"];
18
+ const _withScopeId = (n) => (pushScopeId("data-v-6b0dd6db"), n = n(), popScopeId(), n);
19
+ const _hoisted_1 = ["tabindex", "data-testid"];
18
20
  const _hoisted_2 = ["disabled", "aria-expanded", "aria-labelledby", "aria-disabled"];
19
21
  const _hoisted_3 = {
20
22
  key: 0,
@@ -25,19 +27,17 @@ const _hoisted_5 = {
25
27
  key: 0,
26
28
  class: "dropdown-title"
27
29
  };
28
- const _hoisted_6 = {
29
- key: 0,
30
- class: "dropdown-title__text"
31
- };
32
- const _hoisted_7 = {
30
+ const _hoisted_6 = ["data-testid"];
31
+ const _hoisted_7 = ["data-testid"];
32
+ const _hoisted_8 = {
33
33
  key: 0,
34
34
  class: "no-result-container"
35
35
  };
36
- const _hoisted_8 = {
36
+ const _hoisted_9 = {
37
37
  key: 1,
38
38
  class: "loader"
39
39
  };
40
- const _hoisted_9 = /* @__PURE__ */ _withScopeId(() => /* @__PURE__ */ createElementVNode("svg", {
40
+ const _hoisted_10 = /* @__PURE__ */ _withScopeId(() => /* @__PURE__ */ createElementVNode("svg", {
41
41
  width: "100",
42
42
  height: "100",
43
43
  viewBox: "0 0 100 100"
@@ -61,9 +61,9 @@ const _hoisted_9 = /* @__PURE__ */ _withScopeId(() => /* @__PURE__ */ createElem
61
61
  })
62
62
  ])
63
63
  ], -1));
64
- const _hoisted_10 = { key: 2 };
65
- const _hoisted_11 = ["aria-selected", "aria-disabled", "onClick"];
66
- const _hoisted_12 = {
64
+ const _hoisted_11 = { key: 2 };
65
+ const _hoisted_12 = ["aria-selected", "aria-disabled", "onClick"];
66
+ const _hoisted_13 = {
67
67
  key: 0,
68
68
  class: "actions"
69
69
  };
@@ -105,7 +105,8 @@ const _sfc_main = /* @__PURE__ */ defineComponent({
105
105
  autoSize: { type: Boolean, default: false },
106
106
  disableKeyboardEvents: { type: Boolean, default: false },
107
107
  multiOptionsPlaceholderPrefix: { default: "" },
108
- multiOptionsPlaceholderSuffix: { default: "" }
108
+ multiOptionsPlaceholderSuffix: { default: "" },
109
+ testId: { default: "" }
109
110
  },
110
111
  emits: ["update:selected", "update:isOpen", "closed", "opened", "apply"],
111
112
  setup(__props, { expose, emit }) {
@@ -222,13 +223,16 @@ const _sfc_main = /* @__PURE__ */ defineComponent({
222
223
  );
223
224
  const hasSubtitle = computed(() => optionsIds.value[0]?.hasSubtitle);
224
225
  const isMulti = computed(() => api.mode === Mode.Multi);
226
+ const itemHeight = computed(
227
+ () => hasSubtitle.value ? MULTILINE_LIST_HEIGHT : LIST_HEIGHT
228
+ );
225
229
  const {
226
230
  list: virtualOptions,
227
231
  containerProps,
228
232
  wrapperProps,
229
233
  scrollTo
230
234
  } = useVirtualList(filteredOptions, {
231
- itemHeight: () => hasSubtitle.value ? MULTILINE_LIST_HEIGHT : LIST_HEIGHT
235
+ itemHeight: itemHeight.value
232
236
  });
233
237
  watch(
234
238
  () => props.isOpen,
@@ -506,6 +510,16 @@ const _sfc_main = /* @__PURE__ */ defineComponent({
506
510
  }
507
511
  }
508
512
  };
513
+ const calculateTableHeight = computed(() => {
514
+ const MAX_NUMBER_OF_OPTIONS = 7;
515
+ const PADDING_PX = 8;
516
+ const optionsLength = virtualOptions.value.length;
517
+ const showSelectAllAddition = props.showSelectAll ? 1 : 0;
518
+ const isThereMoreOptionsThenMax = optionsLength > MAX_NUMBER_OF_OPTIONS;
519
+ const numberOfRows = optionsLength + showSelectAllAddition;
520
+ const numToCalculate = isThereMoreOptionsThenMax ? MAX_NUMBER_OF_OPTIONS + 0.5 : numberOfRows;
521
+ return pxToRem(numToCalculate * itemHeight.value + PADDING_PX);
522
+ });
509
523
  expose({
510
524
  selectItem: onSelect,
511
525
  scrollTo
@@ -516,6 +530,7 @@ const _sfc_main = /* @__PURE__ */ defineComponent({
516
530
  ref: el,
517
531
  class: normalizeClass(["dropdown", { "dropdown--disabled": __props.disabled }]),
518
532
  tabindex: __props.disabled ? -1 : 0,
533
+ "data-testid": `${__props.testId}-${unref(DropdownTestIdModifiers).WRAPPER}`,
519
534
  onKeydown
520
535
  }, [
521
536
  renderSlot(_ctx.$slots, "label", {}, void 0, true),
@@ -533,7 +548,8 @@ const _sfc_main = /* @__PURE__ */ defineComponent({
533
548
  shown: !!unref(open),
534
549
  "auto-hide": false,
535
550
  container: __props.container,
536
- "auto-size": __props.autoSize
551
+ "auto-size": __props.autoSize,
552
+ "data-testid": `${__props.testId}-${unref(DropdownTestIdModifiers).TRIGGER}`
537
553
  }, {
538
554
  popper: withCtx(() => [
539
555
  createVNode(Transition, null, {
@@ -543,14 +559,18 @@ const _sfc_main = /* @__PURE__ */ defineComponent({
543
559
  ref: listRef
544
560
  }, [
545
561
  __props.inlineSearch || __props.title ? (openBlock(), createElementBlock("div", _hoisted_5, [
546
- __props.title ? (openBlock(), createElementBlock("div", _hoisted_6, [
562
+ __props.title ? (openBlock(), createElementBlock("div", {
563
+ key: 0,
564
+ class: "dropdown-title__text",
565
+ "data-testid": `${__props.testId}-${unref(DropdownTestIdModifiers).TITLE}`
566
+ }, [
547
567
  createVNode(unref(Text), { strong: "" }, {
548
568
  default: withCtx(() => [
549
569
  createTextVNode(toDisplayString(__props.title), 1)
550
570
  ]),
551
571
  _: 1
552
572
  })
553
- ])) : createCommentVNode("", true),
573
+ ], 8, _hoisted_6)) : createCommentVNode("", true),
554
574
  __props.inlineSearch ? (openBlock(), createBlock(unref(Search), {
555
575
  key: 1,
556
576
  modelValue: query.value,
@@ -559,8 +579,9 @@ const _sfc_main = /* @__PURE__ */ defineComponent({
559
579
  class: "dropdown-title__search",
560
580
  variant: "transparent",
561
581
  size: "md",
582
+ "test-id": `${__props.testId}-${unref(DropdownTestIdModifiers).SEARCH}`,
562
583
  onKeydown
563
- }, null, 8, ["modelValue", "placeholder"])) : createCommentVNode("", true)
584
+ }, null, 8, ["modelValue", "placeholder", "test-id"])) : createCommentVNode("", true)
564
585
  ])) : createCommentVNode("", true),
565
586
  unref(open) ? (openBlock(), createElementBlock("div", {
566
587
  key: 1,
@@ -569,13 +590,15 @@ const _sfc_main = /* @__PURE__ */ defineComponent({
569
590
  }, [
570
591
  renderSlot(_ctx.$slots, "input-list", { open: unref(open) }, void 0, true),
571
592
  createElementVNode("div", mergeProps(unref(containerProps), {
572
- class: ["list-container", { "list-container--multi": __props.multi }]
593
+ class: ["list-container", { "list-container--multi": __props.multi }],
594
+ style: { height: `${unref(calculateTableHeight)}rem` },
595
+ "data-testid": `${__props.testId}-${unref(DropdownTestIdModifiers).LIST_CONTAINER}`
573
596
  }), [
574
597
  createElementVNode("ul", mergeProps(unref(wrapperProps), {
575
598
  role: "listbox",
576
599
  class: ["list", { "list--multi": __props.multi }]
577
600
  }), [
578
- !unref(filteredOptions).length && !__props.loading ? (openBlock(), createElementBlock("li", _hoisted_7, [
601
+ !unref(filteredOptions).length && !__props.loading ? (openBlock(), createElementBlock("li", _hoisted_8, [
579
602
  createVNode(unref(Text), {
580
603
  size: "sm",
581
604
  class: "no-result"
@@ -586,13 +609,13 @@ const _sfc_main = /* @__PURE__ */ defineComponent({
586
609
  _: 1
587
610
  })
588
611
  ])) : createCommentVNode("", true),
589
- __props.loading ? (openBlock(), createElementBlock("li", _hoisted_8, [
612
+ __props.loading ? (openBlock(), createElementBlock("li", _hoisted_9, [
590
613
  createVNode(unref(Icon), {
591
614
  "font-size": "md",
592
615
  class: "loader-icon"
593
616
  }, {
594
617
  default: withCtx(() => [
595
- _hoisted_9
618
+ _hoisted_10
596
619
  ]),
597
620
  _: 1
598
621
  }),
@@ -603,7 +626,7 @@ const _sfc_main = /* @__PURE__ */ defineComponent({
603
626
  _: 1
604
627
  })
605
628
  ])) : createCommentVNode("", true),
606
- __props.showSelectAll ? (openBlock(), createElementBlock("li", _hoisted_10, [
629
+ __props.showSelectAll ? (openBlock(), createElementBlock("li", _hoisted_11, [
607
630
  createVNode(Option, {
608
631
  "aria-selected": unref(allSelected),
609
632
  "aria-disabled": !!__props.disabled,
@@ -630,37 +653,39 @@ const _sfc_main = /* @__PURE__ */ defineComponent({
630
653
  selected: isSelected(toRaw(unref(selectedOption)), data),
631
654
  active: toRaw(unref(activeIndex)) === index
632
655
  }, void 0, true)
633
- ], 8, _hoisted_11);
656
+ ], 8, _hoisted_12);
634
657
  }), 128)) : createCommentVNode("", true)
635
658
  ], 16)
636
- ], 16),
637
- __props.multi ? (openBlock(), createElementBlock("div", _hoisted_12, [
659
+ ], 16, _hoisted_7),
660
+ __props.multi ? (openBlock(), createElementBlock("div", _hoisted_13, [
638
661
  createVNode(unref(Button), {
639
662
  ref_key: "cancel",
640
663
  ref: cancel,
641
664
  size: "sm",
642
665
  variant: "border",
643
666
  theme: "third",
667
+ "test-id": `${__props.testId}-${unref(DropdownTestIdModifiers).ACTION_CANCEL}`,
644
668
  onClick: onCancel
645
669
  }, {
646
670
  default: withCtx(() => [
647
671
  createTextVNode(" Cancel ")
648
672
  ]),
649
673
  _: 1
650
- }, 512),
674
+ }, 8, ["test-id"]),
651
675
  createVNode(unref(Button), {
652
676
  ref_key: "apply",
653
677
  ref: apply,
654
678
  "data-testid": "mutli-apply",
655
679
  size: "sm",
656
680
  class: "apply-button",
681
+ "test-id": `${__props.testId}-${unref(DropdownTestIdModifiers).ACTION_APPLY}`,
657
682
  onClick: onApply
658
683
  }, {
659
684
  default: withCtx(() => [
660
685
  createTextVNode("Apply ")
661
686
  ]),
662
687
  _: 1
663
- }, 512)
688
+ }, 8, ["test-id"])
664
689
  ])) : createCommentVNode("", true)
665
690
  ], 32)) : createCommentVNode("", true)
666
691
  ], 512)
@@ -728,31 +753,33 @@ const _sfc_main = /* @__PURE__ */ defineComponent({
728
753
  ], 2)
729
754
  ]),
730
755
  _: 3
731
- }, 8, ["theme", "popper-class", "placement", "skidding", "distance", "flip", "shown", "container", "auto-size"]),
756
+ }, 8, ["theme", "popper-class", "placement", "skidding", "distance", "flip", "shown", "container", "auto-size", "data-testid"]),
732
757
  !__props.error && __props.helperText ? (openBlock(), createBlock(unref(Text), {
733
758
  key: 0,
734
759
  size: "caption",
735
- class: "helper-text"
760
+ class: "helper-text",
761
+ "test-id": `${__props.testId}-${unref(DropdownTestIdModifiers).HELPER_TEXT}`
736
762
  }, {
737
763
  default: withCtx(() => [
738
764
  createTextVNode(toDisplayString(__props.helperText), 1)
739
765
  ]),
740
766
  _: 1
741
- })) : createCommentVNode("", true),
767
+ }, 8, ["test-id"])) : createCommentVNode("", true),
742
768
  __props.error ? (openBlock(), createBlock(unref(Text), {
743
769
  key: 1,
744
770
  size: "caption",
745
- class: "helper-text helper-text--error"
771
+ class: "helper-text helper-text--error",
772
+ "test-id": `${__props.testId}-${unref(DropdownTestIdModifiers).HELPER_TEXT_ERROR}`
746
773
  }, {
747
774
  default: withCtx(() => [
748
775
  createTextVNode(toDisplayString(__props.error), 1)
749
776
  ]),
750
777
  _: 1
751
- })) : createCommentVNode("", true)
778
+ }, 8, ["test-id"])) : createCommentVNode("", true)
752
779
  ], 42, _hoisted_1);
753
780
  };
754
781
  }
755
782
  });
756
- var Dropdown = /* @__PURE__ */ _export_sfc(_sfc_main, [["__scopeId", "data-v-49790baa"]]);
783
+ var Dropdown = /* @__PURE__ */ _export_sfc(_sfc_main, [["__scopeId", "data-v-6b0dd6db"]]);
757
784
 
758
785
  export { Dropdown as default };
@@ -18,6 +18,11 @@ declare const DropdownTypes: () => (import("vue").DefineComponent<{
18
18
  } & {
19
19
  default: string;
20
20
  };
21
+ testId: {
22
+ type: import("vue").PropType<string>;
23
+ } & {
24
+ default: string;
25
+ };
21
26
  theme: {
22
27
  type: import("vue").PropType<string>;
23
28
  } & {
@@ -204,6 +209,11 @@ declare const DropdownTypes: () => (import("vue").DefineComponent<{
204
209
  } & {
205
210
  default: string;
206
211
  };
212
+ testId: {
213
+ type: import("vue").PropType<string>;
214
+ } & {
215
+ default: string;
216
+ };
207
217
  theme: {
208
218
  type: import("vue").PropType<string>;
209
219
  } & {
@@ -371,6 +381,7 @@ declare const DropdownTypes: () => (import("vue").DefineComponent<{
371
381
  size: "sm" | "lg";
372
382
  title: string;
373
383
  error: string;
384
+ testId: string;
374
385
  theme: string;
375
386
  placement: import("floating-vue").Placement;
376
387
  disabled: boolean;
@@ -15,7 +15,7 @@ declare const EmptyStateTypes: () => import("vue").DefineComponent<{
15
15
  default: string;
16
16
  };
17
17
  iconName: {
18
- type: import("vue").PropType<"search" | "link" | "filter" | "a" | "b" | "style" | "image" | "switch" | "a-2" | "ab-test" | "ab-test-2" | "a-circle" | "account-balance-wallet" | "account-circle" | "account-circle-outline" | "add" | "analytics" | "android" | "angle-down" | "angle-left" | "angle-right" | "angle-up" | "app-store" | "area-chart" | "arrow-back" | "arrow-downward" | "arrow-forward" | "arrow-left" | "arrow-right" | "arrow-sort-down" | "arrow-sort-up" | "arrow-upward" | "auto-awesome" | "auto-mode" | "autorenew" | "b-2" | "b-circle" | "banner" | "bidding" | "bidding-2" | "block" | "border-color" | "bug" | "bullhorn" | "bullseye-arrow" | "cached" | "calendar" | "calendar-today" | "cancel" | "chart-bar" | "chart-line" | "chart-mixed" | "check" | "check-bold" | "close" | "close-bold" | "computer-mouse" | "copy-to-clipboard" | "widgets-flat-squares" | "adjust" | "copy-to-clipboard-filled" | "cube" | "cube-background" | "marketing" | "create" | "creative" | "cross" | "crown-fill" | "cup" | "cup-a" | "cup-b" | "delete" | "diamond" | "dots" | "download" | "download-2" | "download-done" | "drag-indicator" | "ecpi" | "email" | "email-envelope" | "error" | "eye" | "favorite-border" | "filter-list" | "frame" | "fullscreen" | "fullscreen-exit" | "functions" | "gamepad-alt" | "games" | "gavel" | "gift" | "git-hub" | "globe-stand" | "google-play" | "group" | "hand-pointer" | "hands" | "heartbeat" | "help" | "help-outline" | "history" | "ios" | "image-not-supported" | "image-slash" | "import-export" | "import-export-2" | "importent" | "info" | "info-outline" | "insights" | "interstitial" | "ios-14" | "js" | "landscape" | "launch" | "levelplay" | "limit-circle" | "limit-octagon" | "loading-clean" | "lock" | "lock-open" | "login" | "logout" | "military-tech" | "mix" | "mix-2" | "mobile-landscape" | "mobile-portrait" | "money-check" | "more-horiz" | "more-vert" | "mouse" | "mouse-pointer" | "moving-up" | "notifications-none" | "offerwall" | "palyable" | "paper-plane-off" | "paper-plane" | "pause" | "pause-circle-filled" | "pause-circle-outline" | "phone-iphone" | "photo" | "photo-2" | "play-arrow" | "play-circle-filled-white" | "play-circle-outline" | "qrcode" | "quick-ab" | "quick-ab-2" | "react" | "redo" | "refresh" | "remove" | "replay" | "rewarded-video" | "rocket-launch" | "rotate" | "route" | "sack-dollar" | "schedule" | "search-bold" | "share" | "slack" | "sports-esports" | "star" | "star-fill" | "status-banner" | "status-interstitial" | "status-offerwall" | "status-rewarded-video" | "stop-circle-filled" | "stop-circle-outline" | "success" | "success-full" | "table-edit" | "tablet-landscape" | "tablet-mac" | "tablet-portrait" | "texture" | "theme-dark" | "theme-light" | "timelapse" | "timeline" | "trending-down" | "trending-flat" | "trending-up" | "tune" | "two-tone-banner" | "two-tone-interstitial" | "two-tone-offerwall" | "two-tone-rewarded-video" | "undo" | "unfold-less" | "unfold-more" | "vertical-align-top" | "vertical-align-top-2" | "vibration" | "video-round" | "view-carousel" | "visibility" | "visibility-off" | "visibility-off-strok" | "visibility-strok" | "volume-off" | "volume-up" | "warning" | "warning-2" | "web-app" | "widgets" | "widgets-fill" | "widgetsz" | "wifi-protected-setup" | "native-ad" | "status-native-ad" | "two-tone-native-ad">;
18
+ type: import("vue").PropType<"search" | "link" | "filter" | "a" | "b" | "style" | "image" | "switch" | "a-2" | "ab-test" | "ab-test-2" | "a-circle" | "account-balance-wallet" | "account-circle" | "account-circle-outline" | "add" | "analytics" | "android" | "angle-down" | "angle-left" | "angle-right" | "angle-up" | "app-store" | "area-chart" | "arrow-back" | "arrow-downward" | "arrow-forward" | "arrow-left" | "arrow-right" | "arrow-sort-down" | "arrow-sort-up" | "arrow-upward" | "auto-awesome" | "auto-mode" | "autorenew" | "b-2" | "b-circle" | "banner" | "bidding" | "bidding-2" | "block" | "border-color" | "bug" | "bullhorn" | "bullseye-arrow" | "cached" | "calendar" | "calendar-today" | "cancel" | "chart-bar" | "chart-line" | "chart-mixed" | "check" | "check-bold" | "close" | "close-bold" | "computer-mouse" | "copy-to-clipboard" | "widgets-flat-squares" | "adjust" | "copy-to-clipboard-filled" | "cube" | "cube-background" | "marketing" | "create" | "creative" | "cross" | "crown-fill" | "cup" | "cup-a" | "cup-b" | "delete" | "diamond" | "dots" | "download" | "download-2" | "download-done" | "drag-indicator" | "ecpi" | "email" | "email-envelope" | "error" | "eye" | "favorite-border" | "filter-list" | "frame" | "fullscreen" | "fullscreen-exit" | "functions" | "gamepad-alt" | "games" | "gavel" | "gift" | "git-hub" | "globe-stand" | "google-play" | "group" | "hand-pointer" | "hands" | "heartbeat" | "help" | "help-outline" | "history" | "ios" | "image-not-supported" | "image-slash" | "import-export" | "import-export-2" | "importent" | "info" | "info-outline" | "insights" | "interstitial" | "ios-14" | "js" | "landscape" | "launch" | "levelplay" | "limit-circle" | "limit-octagon" | "loading-clean" | "lock" | "lock-open" | "login" | "logout" | "military-tech" | "mix" | "mix-2" | "mobile-landscape" | "mobile-portrait" | "money-check" | "more-horiz" | "more-vert" | "mouse" | "mouse-pointer" | "moving-up" | "notifications-none" | "offerwall" | "palyable" | "paper-plane-off" | "paper-plane" | "pause" | "pause-circle-filled" | "pause-circle-outline" | "phone-iphone" | "photo" | "photo-2" | "play-arrow" | "play-circle-filled-white" | "play-circle-outline" | "qrcode" | "quick-ab" | "quick-ab-2" | "react" | "redo" | "refresh" | "remove" | "replay" | "rewarded-video" | "rocket-launch" | "rotate" | "route" | "sack-dollar" | "schedule" | "search-bold" | "share" | "slack" | "sports-esports" | "star" | "star-fill" | "status-banner" | "status-interstitial" | "status-offerwall" | "status-rewarded-video" | "stop-circle-filled" | "stop-circle-outline" | "success" | "success-full" | "tablet-landscape" | "tablet-mac" | "tablet-portrait" | "texture" | "theme-dark" | "theme-light" | "timelapse" | "timeline" | "trending-down" | "trending-flat" | "trending-up" | "tune" | "two-tone-banner" | "two-tone-interstitial" | "two-tone-offerwall" | "two-tone-rewarded-video" | "undo" | "unfold-less" | "unfold-more" | "vertical-align-top" | "vertical-align-top-2" | "vibration" | "video-round" | "view-carousel" | "visibility" | "visibility-off" | "visibility-off-strok" | "visibility-strok" | "volume-off" | "volume-up" | "warning" | "warning-2" | "web-app" | "widgets" | "widgets-fill" | "widgetsz" | "wifi-protected-setup" | "native-ad" | "status-native-ad" | "two-tone-native-ad">;
19
19
  } & {
20
20
  default: any;
21
21
  };
@@ -75,7 +75,7 @@ declare const EmptyStateTypes: () => import("vue").DefineComponent<{
75
75
  default: string;
76
76
  };
77
77
  iconName: {
78
- type: import("vue").PropType<"search" | "link" | "filter" | "a" | "b" | "style" | "image" | "switch" | "a-2" | "ab-test" | "ab-test-2" | "a-circle" | "account-balance-wallet" | "account-circle" | "account-circle-outline" | "add" | "analytics" | "android" | "angle-down" | "angle-left" | "angle-right" | "angle-up" | "app-store" | "area-chart" | "arrow-back" | "arrow-downward" | "arrow-forward" | "arrow-left" | "arrow-right" | "arrow-sort-down" | "arrow-sort-up" | "arrow-upward" | "auto-awesome" | "auto-mode" | "autorenew" | "b-2" | "b-circle" | "banner" | "bidding" | "bidding-2" | "block" | "border-color" | "bug" | "bullhorn" | "bullseye-arrow" | "cached" | "calendar" | "calendar-today" | "cancel" | "chart-bar" | "chart-line" | "chart-mixed" | "check" | "check-bold" | "close" | "close-bold" | "computer-mouse" | "copy-to-clipboard" | "widgets-flat-squares" | "adjust" | "copy-to-clipboard-filled" | "cube" | "cube-background" | "marketing" | "create" | "creative" | "cross" | "crown-fill" | "cup" | "cup-a" | "cup-b" | "delete" | "diamond" | "dots" | "download" | "download-2" | "download-done" | "drag-indicator" | "ecpi" | "email" | "email-envelope" | "error" | "eye" | "favorite-border" | "filter-list" | "frame" | "fullscreen" | "fullscreen-exit" | "functions" | "gamepad-alt" | "games" | "gavel" | "gift" | "git-hub" | "globe-stand" | "google-play" | "group" | "hand-pointer" | "hands" | "heartbeat" | "help" | "help-outline" | "history" | "ios" | "image-not-supported" | "image-slash" | "import-export" | "import-export-2" | "importent" | "info" | "info-outline" | "insights" | "interstitial" | "ios-14" | "js" | "landscape" | "launch" | "levelplay" | "limit-circle" | "limit-octagon" | "loading-clean" | "lock" | "lock-open" | "login" | "logout" | "military-tech" | "mix" | "mix-2" | "mobile-landscape" | "mobile-portrait" | "money-check" | "more-horiz" | "more-vert" | "mouse" | "mouse-pointer" | "moving-up" | "notifications-none" | "offerwall" | "palyable" | "paper-plane-off" | "paper-plane" | "pause" | "pause-circle-filled" | "pause-circle-outline" | "phone-iphone" | "photo" | "photo-2" | "play-arrow" | "play-circle-filled-white" | "play-circle-outline" | "qrcode" | "quick-ab" | "quick-ab-2" | "react" | "redo" | "refresh" | "remove" | "replay" | "rewarded-video" | "rocket-launch" | "rotate" | "route" | "sack-dollar" | "schedule" | "search-bold" | "share" | "slack" | "sports-esports" | "star" | "star-fill" | "status-banner" | "status-interstitial" | "status-offerwall" | "status-rewarded-video" | "stop-circle-filled" | "stop-circle-outline" | "success" | "success-full" | "table-edit" | "tablet-landscape" | "tablet-mac" | "tablet-portrait" | "texture" | "theme-dark" | "theme-light" | "timelapse" | "timeline" | "trending-down" | "trending-flat" | "trending-up" | "tune" | "two-tone-banner" | "two-tone-interstitial" | "two-tone-offerwall" | "two-tone-rewarded-video" | "undo" | "unfold-less" | "unfold-more" | "vertical-align-top" | "vertical-align-top-2" | "vibration" | "video-round" | "view-carousel" | "visibility" | "visibility-off" | "visibility-off-strok" | "visibility-strok" | "volume-off" | "volume-up" | "warning" | "warning-2" | "web-app" | "widgets" | "widgets-fill" | "widgetsz" | "wifi-protected-setup" | "native-ad" | "status-native-ad" | "two-tone-native-ad">;
78
+ type: import("vue").PropType<"search" | "link" | "filter" | "a" | "b" | "style" | "image" | "switch" | "a-2" | "ab-test" | "ab-test-2" | "a-circle" | "account-balance-wallet" | "account-circle" | "account-circle-outline" | "add" | "analytics" | "android" | "angle-down" | "angle-left" | "angle-right" | "angle-up" | "app-store" | "area-chart" | "arrow-back" | "arrow-downward" | "arrow-forward" | "arrow-left" | "arrow-right" | "arrow-sort-down" | "arrow-sort-up" | "arrow-upward" | "auto-awesome" | "auto-mode" | "autorenew" | "b-2" | "b-circle" | "banner" | "bidding" | "bidding-2" | "block" | "border-color" | "bug" | "bullhorn" | "bullseye-arrow" | "cached" | "calendar" | "calendar-today" | "cancel" | "chart-bar" | "chart-line" | "chart-mixed" | "check" | "check-bold" | "close" | "close-bold" | "computer-mouse" | "copy-to-clipboard" | "widgets-flat-squares" | "adjust" | "copy-to-clipboard-filled" | "cube" | "cube-background" | "marketing" | "create" | "creative" | "cross" | "crown-fill" | "cup" | "cup-a" | "cup-b" | "delete" | "diamond" | "dots" | "download" | "download-2" | "download-done" | "drag-indicator" | "ecpi" | "email" | "email-envelope" | "error" | "eye" | "favorite-border" | "filter-list" | "frame" | "fullscreen" | "fullscreen-exit" | "functions" | "gamepad-alt" | "games" | "gavel" | "gift" | "git-hub" | "globe-stand" | "google-play" | "group" | "hand-pointer" | "hands" | "heartbeat" | "help" | "help-outline" | "history" | "ios" | "image-not-supported" | "image-slash" | "import-export" | "import-export-2" | "importent" | "info" | "info-outline" | "insights" | "interstitial" | "ios-14" | "js" | "landscape" | "launch" | "levelplay" | "limit-circle" | "limit-octagon" | "loading-clean" | "lock" | "lock-open" | "login" | "logout" | "military-tech" | "mix" | "mix-2" | "mobile-landscape" | "mobile-portrait" | "money-check" | "more-horiz" | "more-vert" | "mouse" | "mouse-pointer" | "moving-up" | "notifications-none" | "offerwall" | "palyable" | "paper-plane-off" | "paper-plane" | "pause" | "pause-circle-filled" | "pause-circle-outline" | "phone-iphone" | "photo" | "photo-2" | "play-arrow" | "play-circle-filled-white" | "play-circle-outline" | "qrcode" | "quick-ab" | "quick-ab-2" | "react" | "redo" | "refresh" | "remove" | "replay" | "rewarded-video" | "rocket-launch" | "rotate" | "route" | "sack-dollar" | "schedule" | "search-bold" | "share" | "slack" | "sports-esports" | "star" | "star-fill" | "status-banner" | "status-interstitial" | "status-offerwall" | "status-rewarded-video" | "stop-circle-filled" | "stop-circle-outline" | "success" | "success-full" | "tablet-landscape" | "tablet-mac" | "tablet-portrait" | "texture" | "theme-dark" | "theme-light" | "timelapse" | "timeline" | "trending-down" | "trending-flat" | "trending-up" | "tune" | "two-tone-banner" | "two-tone-interstitial" | "two-tone-offerwall" | "two-tone-rewarded-video" | "undo" | "unfold-less" | "unfold-more" | "vertical-align-top" | "vertical-align-top-2" | "vibration" | "video-round" | "view-carousel" | "visibility" | "visibility-off" | "visibility-off-strok" | "visibility-strok" | "volume-off" | "volume-up" | "warning" | "warning-2" | "web-app" | "widgets" | "widgets-fill" | "widgetsz" | "wifi-protected-setup" | "native-ad" | "status-native-ad" | "two-tone-native-ad">;
79
79
  } & {
80
80
  default: any;
81
81
  };
@@ -122,7 +122,7 @@ declare const EmptyStateTypes: () => import("vue").DefineComponent<{
122
122
  size: "sm" | "lg";
123
123
  title: string;
124
124
  fontSize: string;
125
- iconName: "search" | "link" | "filter" | "a" | "b" | "style" | "image" | "switch" | "a-2" | "ab-test" | "ab-test-2" | "a-circle" | "account-balance-wallet" | "account-circle" | "account-circle-outline" | "add" | "analytics" | "android" | "angle-down" | "angle-left" | "angle-right" | "angle-up" | "app-store" | "area-chart" | "arrow-back" | "arrow-downward" | "arrow-forward" | "arrow-left" | "arrow-right" | "arrow-sort-down" | "arrow-sort-up" | "arrow-upward" | "auto-awesome" | "auto-mode" | "autorenew" | "b-2" | "b-circle" | "banner" | "bidding" | "bidding-2" | "block" | "border-color" | "bug" | "bullhorn" | "bullseye-arrow" | "cached" | "calendar" | "calendar-today" | "cancel" | "chart-bar" | "chart-line" | "chart-mixed" | "check" | "check-bold" | "close" | "close-bold" | "computer-mouse" | "copy-to-clipboard" | "widgets-flat-squares" | "adjust" | "copy-to-clipboard-filled" | "cube" | "cube-background" | "marketing" | "create" | "creative" | "cross" | "crown-fill" | "cup" | "cup-a" | "cup-b" | "delete" | "diamond" | "dots" | "download" | "download-2" | "download-done" | "drag-indicator" | "ecpi" | "email" | "email-envelope" | "error" | "eye" | "favorite-border" | "filter-list" | "frame" | "fullscreen" | "fullscreen-exit" | "functions" | "gamepad-alt" | "games" | "gavel" | "gift" | "git-hub" | "globe-stand" | "google-play" | "group" | "hand-pointer" | "hands" | "heartbeat" | "help" | "help-outline" | "history" | "ios" | "image-not-supported" | "image-slash" | "import-export" | "import-export-2" | "importent" | "info" | "info-outline" | "insights" | "interstitial" | "ios-14" | "js" | "landscape" | "launch" | "levelplay" | "limit-circle" | "limit-octagon" | "loading-clean" | "lock" | "lock-open" | "login" | "logout" | "military-tech" | "mix" | "mix-2" | "mobile-landscape" | "mobile-portrait" | "money-check" | "more-horiz" | "more-vert" | "mouse" | "mouse-pointer" | "moving-up" | "notifications-none" | "offerwall" | "palyable" | "paper-plane-off" | "paper-plane" | "pause" | "pause-circle-filled" | "pause-circle-outline" | "phone-iphone" | "photo" | "photo-2" | "play-arrow" | "play-circle-filled-white" | "play-circle-outline" | "qrcode" | "quick-ab" | "quick-ab-2" | "react" | "redo" | "refresh" | "remove" | "replay" | "rewarded-video" | "rocket-launch" | "rotate" | "route" | "sack-dollar" | "schedule" | "search-bold" | "share" | "slack" | "sports-esports" | "star" | "star-fill" | "status-banner" | "status-interstitial" | "status-offerwall" | "status-rewarded-video" | "stop-circle-filled" | "stop-circle-outline" | "success" | "success-full" | "table-edit" | "tablet-landscape" | "tablet-mac" | "tablet-portrait" | "texture" | "theme-dark" | "theme-light" | "timelapse" | "timeline" | "trending-down" | "trending-flat" | "trending-up" | "tune" | "two-tone-banner" | "two-tone-interstitial" | "two-tone-offerwall" | "two-tone-rewarded-video" | "undo" | "unfold-less" | "unfold-more" | "vertical-align-top" | "vertical-align-top-2" | "vibration" | "video-round" | "view-carousel" | "visibility" | "visibility-off" | "visibility-off-strok" | "visibility-strok" | "volume-off" | "volume-up" | "warning" | "warning-2" | "web-app" | "widgets" | "widgets-fill" | "widgetsz" | "wifi-protected-setup" | "native-ad" | "status-native-ad" | "two-tone-native-ad";
125
+ iconName: "search" | "link" | "filter" | "a" | "b" | "style" | "image" | "switch" | "a-2" | "ab-test" | "ab-test-2" | "a-circle" | "account-balance-wallet" | "account-circle" | "account-circle-outline" | "add" | "analytics" | "android" | "angle-down" | "angle-left" | "angle-right" | "angle-up" | "app-store" | "area-chart" | "arrow-back" | "arrow-downward" | "arrow-forward" | "arrow-left" | "arrow-right" | "arrow-sort-down" | "arrow-sort-up" | "arrow-upward" | "auto-awesome" | "auto-mode" | "autorenew" | "b-2" | "b-circle" | "banner" | "bidding" | "bidding-2" | "block" | "border-color" | "bug" | "bullhorn" | "bullseye-arrow" | "cached" | "calendar" | "calendar-today" | "cancel" | "chart-bar" | "chart-line" | "chart-mixed" | "check" | "check-bold" | "close" | "close-bold" | "computer-mouse" | "copy-to-clipboard" | "widgets-flat-squares" | "adjust" | "copy-to-clipboard-filled" | "cube" | "cube-background" | "marketing" | "create" | "creative" | "cross" | "crown-fill" | "cup" | "cup-a" | "cup-b" | "delete" | "diamond" | "dots" | "download" | "download-2" | "download-done" | "drag-indicator" | "ecpi" | "email" | "email-envelope" | "error" | "eye" | "favorite-border" | "filter-list" | "frame" | "fullscreen" | "fullscreen-exit" | "functions" | "gamepad-alt" | "games" | "gavel" | "gift" | "git-hub" | "globe-stand" | "google-play" | "group" | "hand-pointer" | "hands" | "heartbeat" | "help" | "help-outline" | "history" | "ios" | "image-not-supported" | "image-slash" | "import-export" | "import-export-2" | "importent" | "info" | "info-outline" | "insights" | "interstitial" | "ios-14" | "js" | "landscape" | "launch" | "levelplay" | "limit-circle" | "limit-octagon" | "loading-clean" | "lock" | "lock-open" | "login" | "logout" | "military-tech" | "mix" | "mix-2" | "mobile-landscape" | "mobile-portrait" | "money-check" | "more-horiz" | "more-vert" | "mouse" | "mouse-pointer" | "moving-up" | "notifications-none" | "offerwall" | "palyable" | "paper-plane-off" | "paper-plane" | "pause" | "pause-circle-filled" | "pause-circle-outline" | "phone-iphone" | "photo" | "photo-2" | "play-arrow" | "play-circle-filled-white" | "play-circle-outline" | "qrcode" | "quick-ab" | "quick-ab-2" | "react" | "redo" | "refresh" | "remove" | "replay" | "rewarded-video" | "rocket-launch" | "rotate" | "route" | "sack-dollar" | "schedule" | "search-bold" | "share" | "slack" | "sports-esports" | "star" | "star-fill" | "status-banner" | "status-interstitial" | "status-offerwall" | "status-rewarded-video" | "stop-circle-filled" | "stop-circle-outline" | "success" | "success-full" | "tablet-landscape" | "tablet-mac" | "tablet-portrait" | "texture" | "theme-dark" | "theme-light" | "timelapse" | "timeline" | "trending-down" | "trending-flat" | "trending-up" | "tune" | "two-tone-banner" | "two-tone-interstitial" | "two-tone-offerwall" | "two-tone-rewarded-video" | "undo" | "unfold-less" | "unfold-more" | "vertical-align-top" | "vertical-align-top-2" | "vibration" | "video-round" | "view-carousel" | "visibility" | "visibility-off" | "visibility-off-strok" | "visibility-strok" | "volume-off" | "volume-up" | "warning" | "warning-2" | "web-app" | "widgets" | "widgets-fill" | "widgetsz" | "wifi-protected-setup" | "native-ad" | "status-native-ad" | "two-tone-native-ad";
126
126
  subtitle: string;
127
127
  buttonText: string;
128
128
  isHorizontal: boolean;
@@ -2,10 +2,12 @@ declare const _default: import("vue").DefineComponent<__VLS_TypePropsToRuntimePr
2
2
  selected?: boolean;
3
3
  disabled?: boolean;
4
4
  prefix?: string;
5
+ testId?: string;
5
6
  }>, {}, unknown, {}, {}, import("vue").ComponentOptionsMixin, import("vue").ComponentOptionsMixin, {}, string, import("vue").VNodeProps & import("vue").AllowedComponentProps & import("vue").ComponentCustomProps, Readonly<import("vue").ExtractPropTypes<__VLS_TypePropsToRuntimeProps<{
6
7
  selected?: boolean;
7
8
  disabled?: boolean;
8
9
  prefix?: string;
10
+ testId?: string;
9
11
  }>>>, {}>;
10
12
  export default _default;
11
13
  type __VLS_NonUndefinedable<T> = T extends undefined ? never : T;
@@ -10,7 +10,8 @@ const _sfc_main = /* @__PURE__ */ defineComponent({
10
10
  props: {
11
11
  selected: { type: Boolean },
12
12
  disabled: { type: Boolean },
13
- prefix: null
13
+ prefix: null,
14
+ testId: null
14
15
  },
15
16
  setup(__props) {
16
17
  return (_ctx, _cache) => {
@@ -19,7 +20,8 @@ const _sfc_main = /* @__PURE__ */ defineComponent({
19
20
  class: normalizeClass(["add-filter", { disabled: __props.disabled }]),
20
21
  selected: __props.selected,
21
22
  disabled: __props.disabled,
22
- prefix: __props.prefix
23
+ prefix: __props.prefix,
24
+ "test-id": __props.testId
23
25
  }, createSlots({
24
26
  default: withCtx(() => [
25
27
  createVNode(Text, {
@@ -44,10 +46,10 @@ const _sfc_main = /* @__PURE__ */ defineComponent({
44
46
  ]),
45
47
  key: "0"
46
48
  } : void 0
47
- ]), 1032, ["class", "selected", "disabled", "prefix"]);
49
+ ]), 1032, ["class", "selected", "disabled", "prefix", "test-id"]);
48
50
  };
49
51
  }
50
52
  });
51
- var AddFilterButton = /* @__PURE__ */ _export_sfc(_sfc_main, [["__scopeId", "data-v-aef29636"]]);
53
+ var AddFilterButton = /* @__PURE__ */ _export_sfc(_sfc_main, [["__scopeId", "data-v-44051188"]]);
52
54
 
53
55
  export { AddFilterButton as default };
@@ -6,9 +6,11 @@ declare const _default: import("vue").DefineComponent<__VLS_WithDefaults<__VLS_T
6
6
  onSearch: (item: unknown) => boolean;
7
7
  options: unknown[];
8
8
  addNewFilter: (filter: Filter) => void;
9
+ testId?: string;
9
10
  }>, {
10
11
  text: string;
11
12
  disabled: boolean;
13
+ testId: string;
12
14
  }>, {}, unknown, {}, {}, import("vue").ComponentOptionsMixin, import("vue").ComponentOptionsMixin, {}, string, import("vue").VNodeProps & import("vue").AllowedComponentProps & import("vue").ComponentCustomProps, Readonly<import("vue").ExtractPropTypes<__VLS_WithDefaults<__VLS_TypePropsToRuntimeProps<{
13
15
  displayValue: (item: unknown) => string;
14
16
  text?: string;
@@ -16,11 +18,14 @@ declare const _default: import("vue").DefineComponent<__VLS_WithDefaults<__VLS_T
16
18
  onSearch: (item: unknown) => boolean;
17
19
  options: unknown[];
18
20
  addNewFilter: (filter: Filter) => void;
21
+ testId?: string;
19
22
  }>, {
20
23
  text: string;
21
24
  disabled: boolean;
25
+ testId: string;
22
26
  }>>>, {
23
27
  text: string;
28
+ testId: string;
24
29
  disabled: boolean;
25
30
  }>;
26
31
  export default _default;
@@ -13,7 +13,8 @@ const _sfc_main = /* @__PURE__ */ defineComponent({
13
13
  disabled: { type: Boolean, default: false },
14
14
  onSearch: null,
15
15
  options: null,
16
- addNewFilter: null
16
+ addNewFilter: null,
17
+ testId: { default: "" }
17
18
  },
18
19
  setup(__props) {
19
20
  return (_ctx, _cache) => {
@@ -25,18 +26,20 @@ const _sfc_main = /* @__PURE__ */ defineComponent({
25
26
  skidding: 0,
26
27
  "is-on-top": "",
27
28
  options: __props.options,
29
+ "test-id": __props.testId,
28
30
  "onUpdate:selected": __props.addNewFilter
29
31
  }, {
30
32
  input: withCtx(() => [
31
33
  createVNode(AddFilterButton, {
32
34
  class: "add-filter-button",
33
- disabled: __props.disabled
35
+ disabled: __props.disabled,
36
+ "test-id": __props.testId
34
37
  }, {
35
38
  default: withCtx(() => [
36
39
  createTextVNode(toDisplayString(__props.text), 1)
37
40
  ]),
38
41
  _: 1
39
- }, 8, ["disabled"])
42
+ }, 8, ["disabled", "test-id"])
40
43
  ]),
41
44
  default: withCtx(({ option }) => [
42
45
  createVNode(unref(Option), { option }, {
@@ -47,10 +50,10 @@ const _sfc_main = /* @__PURE__ */ defineComponent({
47
50
  }, 1032, ["option"])
48
51
  ]),
49
52
  _: 1
50
- }, 8, ["display-value", "disabled", "on-search", "options", "onUpdate:selected"]);
53
+ }, 8, ["display-value", "disabled", "on-search", "options", "test-id", "onUpdate:selected"]);
51
54
  };
52
55
  }
53
56
  });
54
- var FilterDropdown = /* @__PURE__ */ _export_sfc(_sfc_main, [["__scopeId", "data-v-439b9823"]]);
57
+ var FilterDropdown = /* @__PURE__ */ _export_sfc(_sfc_main, [["__scopeId", "data-v-59e42a26"]]);
55
58
 
56
59
  export { FilterDropdown as default };
@@ -9,6 +9,9 @@ declare const FilterDropdownTypes: () => (import("vue").DefineComponent<{
9
9
  prefix: {
10
10
  type: import("vue").PropType<string>;
11
11
  };
12
+ testId: {
13
+ type: import("vue").PropType<string>;
14
+ };
12
15
  }, {}, unknown, {}, {}, import("vue").ComponentOptionsMixin, import("vue").ComponentOptionsMixin, {}, string, import("vue").VNodeProps & import("vue").AllowedComponentProps & import("vue").ComponentCustomProps, Readonly<import("vue").ExtractPropTypes<{
13
16
  selected: {
14
17
  type: import("vue").PropType<boolean>;
@@ -19,12 +22,20 @@ declare const FilterDropdownTypes: () => (import("vue").DefineComponent<{
19
22
  prefix: {
20
23
  type: import("vue").PropType<string>;
21
24
  };
25
+ testId: {
26
+ type: import("vue").PropType<string>;
27
+ };
22
28
  }>>, {}> | import("vue").DefineComponent<{
23
29
  text: {
24
30
  type: import("vue").PropType<string>;
25
31
  } & {
26
32
  default: string;
27
33
  };
34
+ testId: {
35
+ type: import("vue").PropType<string>;
36
+ } & {
37
+ default: string;
38
+ };
28
39
  disabled: {
29
40
  type: import("vue").PropType<boolean>;
30
41
  } & {
@@ -52,6 +63,11 @@ declare const FilterDropdownTypes: () => (import("vue").DefineComponent<{
52
63
  } & {
53
64
  default: string;
54
65
  };
66
+ testId: {
67
+ type: import("vue").PropType<string>;
68
+ } & {
69
+ default: string;
70
+ };
55
71
  disabled: {
56
72
  type: import("vue").PropType<boolean>;
57
73
  } & {
@@ -75,6 +91,7 @@ declare const FilterDropdownTypes: () => (import("vue").DefineComponent<{
75
91
  };
76
92
  }>>, {
77
93
  text: string;
94
+ testId: string;
78
95
  disabled: boolean;
79
96
  }>)[];
80
97
  export { default as FilterDropdown } from './FilterDropdown.vue';
@@ -4,16 +4,21 @@ declare const _default: import("vue").DefineComponent<__VLS_WithDefaults<__VLS_T
4
4
  isOpen?: boolean;
5
5
  selected: Record<string, Filter> | Record<string, Filter>[];
6
6
  isMultiSelect?: boolean;
7
+ testId?: string;
7
8
  }>, {
8
9
  isOpen: boolean;
10
+ testId: string;
9
11
  }>, {}, unknown, {}, {}, import("vue").ComponentOptionsMixin, import("vue").ComponentOptionsMixin, {}, string, import("vue").VNodeProps & import("vue").AllowedComponentProps & import("vue").ComponentCustomProps, Readonly<import("vue").ExtractPropTypes<__VLS_WithDefaults<__VLS_TypePropsToRuntimeProps<{
10
12
  filters: Filter[];
11
13
  isOpen?: boolean;
12
14
  selected: Record<string, Filter> | Record<string, Filter>[];
13
15
  isMultiSelect?: boolean;
16
+ testId?: string;
14
17
  }>, {
15
18
  isOpen: boolean;
19
+ testId: string;
16
20
  }>>>, {
21
+ testId: string;
17
22
  isOpen: boolean;
18
23
  }>;
19
24
  export default _default;
@@ -3,13 +3,15 @@ import { defineComponent, computed, openBlock, createElementBlock, Fragment, ren
3
3
 
4
4
  import "../../FiltersPanel.vue_vue_type_style_index_0_scoped_true_lang.css";
5
5
  const _hoisted_1 = { class: "filter-panel" };
6
+ const _hoisted_2 = ["data-testid"];
6
7
  const _sfc_main = /* @__PURE__ */ defineComponent({
7
8
  __name: "FiltersPanel",
8
9
  props: {
9
10
  filters: null,
10
11
  isOpen: { type: Boolean, default: false },
11
12
  selected: null,
12
- isMultiSelect: { type: Boolean }
13
+ isMultiSelect: { type: Boolean },
14
+ testId: { default: "" }
13
15
  },
14
16
  setup(__props) {
15
17
  const props = __props;
@@ -38,10 +40,11 @@ const _sfc_main = /* @__PURE__ */ defineComponent({
38
40
  hidden: filter.hidden,
39
41
  selected: props.isMultiSelect ? __props.selected[filter.id].length > 0 : !!__props.selected[filter.id],
40
42
  exposed: !filter.hidden
41
- }])
43
+ }]),
44
+ "data-testid": `${props.testId}-filter-${filter.id}`
42
45
  }, [
43
46
  renderSlot(_ctx.$slots, filter.id, normalizeProps(guardReactiveProps(filter)), void 0, true)
44
- ], 2);
47
+ ], 10, _hoisted_2);
45
48
  }), 128)),
46
49
  !__props.isOpen ? renderSlot(_ctx.$slots, "add", {
47
50
  key: 0,
@@ -51,6 +54,6 @@ const _sfc_main = /* @__PURE__ */ defineComponent({
51
54
  };
52
55
  }
53
56
  });
54
- var FiltersPanel = /* @__PURE__ */ _export_sfc(_sfc_main, [["__scopeId", "data-v-3ee9d4c0"]]);
57
+ var FiltersPanel = /* @__PURE__ */ _export_sfc(_sfc_main, [["__scopeId", "data-v-7bb724f2"]]);
55
58
 
56
59
  export { FiltersPanel as default };