@ironsource/shared-ui 2.1.6-rc.4 → 2.1.6-rc.41

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 (149) hide show
  1. package/Alert.vue_vue_type_style_index_0_scoped_5cdc75dd_lang.css +1 -0
  2. package/AppDropdownTrigger.vue_vue_type_style_index_0_scoped_858cefbf_lang.css +1 -0
  3. package/AppHeader.vue_vue_type_style_index_0_scoped_538ccdc6_lang.css +1 -0
  4. package/Autocomplete.vue_vue_type_style_index_0_scoped_a7bfd237_lang.css +1 -0
  5. package/ChipDropdownTrigger.vue_vue_type_style_index_0_scoped_a8fdae89_lang.css +1 -0
  6. package/ChipV4.vue_vue_type_style_index_0_scoped_12c0f396_lang.css +1 -0
  7. package/DataGrid.vue_vue_type_style_index_0_scoped_057abdf5_lang.css +1 -0
  8. package/DefaultDropdownTrigger.vue_vue_type_style_index_0_scoped_0345d6b1_lang.css +1 -0
  9. package/DialogV4.vue_vue_type_style_index_0_scoped_09c488cf_lang.css +1 -0
  10. package/Dropdown.vue_vue_type_style_index_0_scoped_aaa8c4bb_lang.css +1 -0
  11. package/DropdownV4.vue_vue_type_style_index_0_scoped_7af4f288_lang.css +1 -0
  12. package/FieldLabel.vue_vue_type_style_index_0_scoped_96ee1c98_lang.css +1 -0
  13. package/FoldableSection.vue_vue_type_style_index_0_scoped_1a5f0e2e_lang.css +1 -0
  14. package/{FormCard.vue_vue_type_style_index_0_scoped_ef8b4e81_lang.css → FormCard.vue_vue_type_style_index_0_scoped_52ade67c_lang.css} +1 -1
  15. package/HelpIcon.vue_vue_type_style_index_0_scoped_06fce2e3_lang.css +1 -0
  16. package/IconV4.vue_vue_type_style_index_0_scoped_9d3c9cda_lang.css +1 -0
  17. package/InlineCopy.vue_vue_type_style_index_0_scoped_893a203c_lang.css +1 -0
  18. package/OptionV4.vue_vue_type_style_index_0_scoped_9db0f796_lang.css +1 -0
  19. package/TextAreaV4.vue_vue_type_style_index_0_scoped_f3b2c01d_lang.css +1 -0
  20. package/TextField.vue_vue_type_style_index_0_scoped_a6457440_lang.css +1 -0
  21. package/ToggleV4.vue_vue_type_style_index_0_scoped_a4aa32fb_lang.css +1 -0
  22. package/TooltipV4.vue_vue_type_style_index_0_scoped_fcdb9d02_lang.css +1 -0
  23. package/TreeDropdown.vue_vue_type_style_index_0_scoped_142eab98_lang.css +1 -0
  24. package/components/alert/Alert.vue.d.ts +23 -0
  25. package/components/alert/Alert.vue.js +3 -3
  26. package/components/alert/Alert.vue2.js +68 -48
  27. package/components/alert/index.d.ts +85 -2
  28. package/components/appHeader/AppHeader.vue.d.ts +6 -2
  29. package/components/appHeader/AppHeader.vue.js +2 -2
  30. package/components/appHeader/AppHeader.vue2.js +30 -28
  31. package/components/appHeader/index.d.ts +6 -2
  32. package/components/autocomplete/Autocomplete.vue.d.ts +6 -0
  33. package/components/autocomplete/Autocomplete.vue.js +2 -2
  34. package/components/autocomplete/Autocomplete.vue2.js +45 -37
  35. package/components/autocomplete/index.d.ts +21 -1
  36. package/components/button/v4/ButtonV4.vue.d.ts +7 -7
  37. package/components/button/v4/IconButtonV4.vue.d.ts +4 -4
  38. package/components/button/v4/index.d.ts +61 -61
  39. package/components/chip/v4/Chip.types.d.ts +6 -0
  40. package/components/chip/v4/ChipV4.vue.d.ts +28 -35
  41. package/components/chip/v4/ChipV4.vue.js +3 -3
  42. package/components/chip/v4/ChipV4.vue2.js +28 -59
  43. package/components/chip/v4/index.d.ts +45 -148
  44. package/components/dialog/v3/Dialog.vue.d.ts +1 -1
  45. package/components/dialog/v3/index.d.ts +20 -20
  46. package/components/dialog/v4/DialogV4.vue.js +3 -3
  47. package/components/dialog/v4/DialogV4.vue2.js +67 -62
  48. package/components/dropdown/common/Dropdown.common.js +74 -69
  49. package/components/dropdown/common/Option.common.d.ts +1 -1
  50. package/components/dropdown/common/Option.common.js +9 -9
  51. package/components/dropdown/composables/useChildOptions.d.ts +7 -0
  52. package/components/dropdown/composables/useChildOptions.js +14 -0
  53. package/components/dropdown/v3/Dropdown.vue.d.ts +4 -0
  54. package/components/dropdown/v3/Dropdown.vue.js +4 -4
  55. package/components/dropdown/v3/Dropdown.vue2.js +32 -32
  56. package/components/dropdown/v3/index.d.ts +13 -1
  57. package/components/dropdown/v4/AppDropdownTrigger.vue.d.ts +16 -3
  58. package/components/dropdown/v4/AppDropdownTrigger.vue.js +3 -3
  59. package/components/dropdown/v4/AppDropdownTrigger.vue2.js +102 -61
  60. package/components/dropdown/v4/ChipDropdownTrigger.vue.js +2 -2
  61. package/components/dropdown/v4/ChipDropdownTrigger.vue2.js +1 -1
  62. package/components/dropdown/v4/DefaultDropdownTrigger.vue.d.ts +8 -3
  63. package/components/dropdown/v4/DefaultDropdownTrigger.vue.js +2 -2
  64. package/components/dropdown/v4/DefaultDropdownTrigger.vue2.js +22 -21
  65. package/components/dropdown/v4/DropdownV4.vue.d.ts +35 -3
  66. package/components/dropdown/v4/DropdownV4.vue.js +2 -2
  67. package/components/dropdown/v4/DropdownV4.vue2.js +127 -114
  68. package/components/dropdown/v4/OptionV4.vue.d.ts +14 -3
  69. package/components/dropdown/v4/OptionV4.vue.js +2 -2
  70. package/components/dropdown/v4/OptionV4.vue2.js +79 -56
  71. package/components/dropdown/v4/TreeDropdown.vue.d.ts +112 -0
  72. package/components/dropdown/v4/TreeDropdown.vue.js +7 -0
  73. package/components/dropdown/v4/TreeDropdown.vue2.js +122 -0
  74. package/components/dropdown/v4/dropdownStoryArgs.d.ts +1 -1
  75. package/components/dropdown/v4/index.d.ts +422 -38
  76. package/components/dropdown/v4/index.js +7 -4
  77. package/components/emptyState/v3/EmptyState.vue.d.ts +2 -2
  78. package/components/emptyState/v3/index.d.ts +47 -47
  79. package/components/emptyState/v4/EmptyStateV4.vue.d.ts +3 -3
  80. package/components/emptyState/v4/index.d.ts +7 -7
  81. package/components/forms/FormCard.vue.js +2 -2
  82. package/components/forms/FormCard.vue2.js +9 -9
  83. package/components/icon/v4/Icon.types.d.ts +1 -1
  84. package/components/icon/v4/IconV4.vue.d.ts +16 -6
  85. package/components/icon/v4/IconV4.vue.js +4 -4
  86. package/components/icon/v4/IconV4.vue2.js +36 -33
  87. package/components/icon/v4/index.d.ts +53 -15
  88. package/components/inlineCopy/InlineCopy.vue.d.ts +6 -2
  89. package/components/inlineCopy/InlineCopy.vue.js +3 -3
  90. package/components/inlineCopy/InlineCopy.vue2.js +23 -22
  91. package/components/inlineCopy/index.d.ts +6 -2
  92. package/components/input/v4/TextField.vue.d.ts +5 -0
  93. package/components/input/v4/TextField.vue.js +3 -3
  94. package/components/input/v4/TextField.vue2.js +24 -21
  95. package/components/input/v4/index.d.ts +20 -1
  96. package/components/layout/FoldableSection.vue.js +5 -5
  97. package/components/layout/FoldableSection.vue2.js +1 -1
  98. package/components/multibar/MultiBarMenu.vue2.js +12 -11
  99. package/components/shared/FieldLabel.vue.js +3 -3
  100. package/components/shared/FieldLabel.vue2.js +9 -9
  101. package/components/snackbar/v4/SnackbarV4.vue.d.ts +20 -20
  102. package/components/table/common/Table.common.d.ts +1 -0
  103. package/components/table/common/Table.common.js +65 -61
  104. package/components/table/v4/DataGrid.vue.d.ts +9 -1
  105. package/components/table/v4/DataGrid.vue.js +3 -3
  106. package/components/table/v4/DataGrid.vue2.js +180 -176
  107. package/components/table/v4/DataGridMenu.vue2.js +3 -2
  108. package/components/table/v4/HelpIcon.vue.js +5 -5
  109. package/components/table/v4/HelpIcon.vue2.js +5 -5
  110. package/components/table/v4/index.d.ts +29 -5
  111. package/components/textArea/v4/TextAreaV4.vue.js +3 -3
  112. package/components/textArea/v4/TextAreaV4.vue2.js +1 -1
  113. package/components/toggle/v4/ToggleV4.vue.d.ts +1 -1
  114. package/components/toggle/v4/ToggleV4.vue.js +3 -3
  115. package/components/toggle/v4/ToggleV4.vue2.js +12 -12
  116. package/components/toggle/v4/index.d.ts +20 -20
  117. package/components/tooltip/v4/TooltipV4.vue.d.ts +6 -2
  118. package/components/tooltip/v4/TooltipV4.vue.js +2 -2
  119. package/components/tooltip/v4/TooltipV4.vue2.js +21 -19
  120. package/components/tooltip/v4/index.d.ts +17 -5
  121. package/composables/useFormValidation.js +19 -13
  122. package/design-foundation.stories/icons/iconsData.d.ts +5 -1
  123. package/index.d.ts +1451 -688
  124. package/mocks/apps.d.ts +1 -0
  125. package/mocks/options.d.ts +12 -0
  126. package/package.json +1 -1
  127. package/utils/text.d.ts +1 -0
  128. package/utils/text.js +9 -0
  129. package/Alert.vue_vue_type_style_index_0_scoped_d6680a72_lang.css +0 -1
  130. package/AppDropdownTrigger.vue_vue_type_style_index_0_scoped_0267d003_lang.css +0 -1
  131. package/AppHeader.vue_vue_type_style_index_0_scoped_c148fc7a_lang.css +0 -1
  132. package/Autocomplete.vue_vue_type_style_index_0_scoped_62faa8e0_lang.css +0 -1
  133. package/ChipDropdownTrigger.vue_vue_type_style_index_0_scoped_889042cf_lang.css +0 -1
  134. package/ChipV4.vue_vue_type_style_index_0_scoped_78d7c9c0_lang.css +0 -1
  135. package/DataGrid.vue_vue_type_style_index_0_scoped_c96fba2c_lang.css +0 -1
  136. package/DefaultDropdownTrigger.vue_vue_type_style_index_0_scoped_c9783327_lang.css +0 -1
  137. package/DialogV4.vue_vue_type_style_index_0_scoped_c3004ba3_lang.css +0 -1
  138. package/Dropdown.vue_vue_type_style_index_0_scoped_d4f8e790_lang.css +0 -1
  139. package/DropdownV4.vue_vue_type_style_index_0_scoped_0968078f_lang.css +0 -1
  140. package/FieldLabel.vue_vue_type_style_index_0_scoped_72ab1f25_lang.css +0 -1
  141. package/FoldableSection.vue_vue_type_style_index_0_scoped_8d0fd203_lang.css +0 -1
  142. package/HelpIcon.vue_vue_type_style_index_0_scoped_7a611779_lang.css +0 -1
  143. package/IconV4.vue_vue_type_style_index_0_scoped_a78f8a3e_lang.css +0 -1
  144. package/InlineCopy.vue_vue_type_style_index_0_scoped_ff9f4a0f_lang.css +0 -1
  145. package/OptionV4.vue_vue_type_style_index_0_scoped_b8375219_lang.css +0 -1
  146. package/TextAreaV4.vue_vue_type_style_index_0_scoped_8199b662_lang.css +0 -1
  147. package/TextField.vue_vue_type_style_index_0_scoped_07687bcc_lang.css +0 -1
  148. package/ToggleV4.vue_vue_type_style_index_0_scoped_ad231e8c_lang.css +0 -1
  149. package/TooltipV4.vue_vue_type_style_index_0_scoped_25809092_lang.css +0 -1
@@ -1,25 +1,26 @@
1
- import "../../../DropdownV4.vue_vue_type_style_index_0_scoped_0968078f_lang.css"; import "../../../DropdownV4.vue_vue_type_style_index_1_lang.css"; import { defineComponent as se, computed as z, openBlock as o, createElementBlock as n, mergeProps as u, unref as e, renderSlot as I, createElementVNode as y, createVNode as a, withCtx as c, Transition as ue, normalizeClass as V, normalizeStyle as ce, isRef as fe, createCommentVNode as r, createTextVNode as g, toDisplayString as me, withModifiers as x, Fragment as ye, renderList as pe, toRaw as T, createBlock as $, resolveDynamicComponent as ge } from "vue";
2
- import A from "../../button/v4/ButtonV4.vue.js";
1
+ import "../../../DropdownV4.vue_vue_type_style_index_0_scoped_7af4f288_lang.css"; import "../../../DropdownV4.vue_vue_type_style_index_1_lang.css"; import { defineComponent as se, computed as x, openBlock as i, createElementBlock as n, mergeProps as u, unref as e, renderSlot as v, createElementVNode as p, createVNode as a, withCtx as c, Transition as ue, normalizeClass as A, normalizeStyle as ce, isRef as fe, createCommentVNode as r, createTextVNode as g, toDisplayString as ye, withModifiers as $, Fragment as pe, renderList as me, toRaw as h, createBlock as H, resolveDynamicComponent as ge } from "vue";
2
+ import O from "../../button/v4/ButtonV4.vue.js";
3
3
  import "../../button/v4/IconButtonV4.vue.js";
4
4
  import "./DropdownV4.vue.js";
5
- import ke from "./DefaultDropdownTrigger.vue.js";
6
- import be from "./IconButtonDropdownTrigger.vue.js";
7
- import Te from "./ChipDropdownTrigger.vue.js";
5
+ import Te from "./DefaultDropdownTrigger.vue.js";
6
+ import ke from "./IconButtonDropdownTrigger.vue.js";
7
+ import be from "./ChipDropdownTrigger.vue.js";
8
8
  import he from "./AppDropdownTrigger.vue.js";
9
9
  import "./ButtonDropdownTrigger.vue.js";
10
10
  import "./ButtonFilterDropdownTrigger.vue.js";
11
- import H from "./OptionV4.vue.js";
12
- import ve from "../../search/v4/SearchV4.vue.js";
13
- import U from "../../typography/v4/Typography.vue.js";
14
- import { Dropdown as we } from "floating-vue";
11
+ import "./TreeDropdown.vue.js";
12
+ import U from "./OptionV4.vue.js";
13
+ import we from "../../search/v4/SearchV4.vue.js";
14
+ import W from "../../typography/v4/Typography.vue.js";
15
+ import { Dropdown as Ie } from "floating-vue";
15
16
  import { DropdownTestIdModifiers as f } from "../../../testids/index.js";
16
- import { dropdownCommon as Ie } from "../common/Dropdown.common.js";
17
+ import { dropdownCommon as ve } from "../common/Dropdown.common.js";
17
18
  import Ce from "../../loader/v4/Loader.vue.js";
18
19
  import { useTestIdAttrs as Se } from "../../../utils/testIds.js";
19
- import { TRIGGERS as p } from "./Dropdown.types.js";
20
+ import { TRIGGERS as m } from "./Dropdown.types.js";
20
21
  import { useElementSize as Ae } from "@vueuse/core";
21
- import Le from "../../shared/FieldHelpText.vue.js";
22
- const Oe = ["tabindex"], Be = { style: { width: "100%" } }, Ne = { key: 0 }, De = { key: 1 }, Ee = { key: 2 }, Ke = {
22
+ import Oe from "../../shared/FieldHelpText.vue.js";
23
+ const Le = ["tabindex"], Ee = { style: { width: "100%" } }, Be = { key: 0 }, Ke = { key: 1 }, Ne = { key: 2 }, De = {
23
24
  key: 0,
24
25
  class: "inline-search-wrapper"
25
26
  }, Pe = {
@@ -28,10 +29,10 @@ const Oe = ["tabindex"], Be = { style: { width: "100%" } }, Ne = { key: 0 }, De
28
29
  }, Re = {
29
30
  key: 1,
30
31
  class: "loader"
31
- }, Fe = { key: 2 }, ze = ["aria-selected", "aria-disabled", "onClick"], Ve = {
32
+ }, Fe = { key: 2 }, Ve = ["aria-selected", "aria-disabled", "onClick"], ze = {
32
33
  key: 1,
33
34
  class: "actions-wrapper"
34
- }, xe = { class: "actions-clear-all" }, $e = { class: "actions-apply-cancel" }, st = /* @__PURE__ */ se({
35
+ }, xe = { class: "actions-clear-all" }, $e = { class: "actions-apply-cancel" }, ut = /* @__PURE__ */ se({
35
36
  __name: "DropdownV4",
36
37
  props: {
37
38
  modelValue: { default: null },
@@ -60,9 +61,10 @@ const Oe = ["tabindex"], Be = { style: { width: "100%" } }, Ne = { key: 0 }, De
60
61
  triggerFeedbackText: { default: "" },
61
62
  triggerFeedbackVariant: { default: null },
62
63
  triggerFeedbackShowIcon: { type: Boolean, default: !1 },
64
+ triggerShowAllSelectedText: { type: Boolean, default: !0 },
63
65
  size: { default: "medium" },
64
66
  mandatory: { type: Boolean, default: !1 },
65
- predefinedTrigger: { default: p.DEFAULT },
67
+ predefinedTrigger: { default: m.DEFAULT },
66
68
  inlineSearch: { type: Boolean, default: !1 },
67
69
  inlineSearchPlaceholder: { default: "Search" },
68
70
  onSearch: { type: Function, default: null },
@@ -74,16 +76,20 @@ const Oe = ["tabindex"], Be = { style: { width: "100%" } }, Ne = { key: 0 }, De
74
76
  optionIconKey: { default: "" },
75
77
  optionImageKey: { default: "" },
76
78
  optionIconType: { default: null },
79
+ optionEndIconKey: { default: "" },
80
+ optionEndIconType: { default: null },
77
81
  valueToCopy: { default: null },
78
82
  disabledOptionKey: { default: "disabled" },
79
83
  theme: { default: "light-theme-v4" },
80
84
  fullWidth: { type: Boolean, default: !0 },
81
85
  optionsListWidth: { default: null },
82
- statusType: { default: null }
86
+ statusType: { default: null },
87
+ disableVirtualScroll: { type: Boolean, default: !1 },
88
+ overrideOptionCountCalculation: { type: Function, default: null }
83
89
  },
84
- emits: ["update:selected", "update:isOpen", "closed", "opened", "apply"],
85
- setup(t, { expose: W, emit: M }) {
86
- const d = t, L = {
90
+ emits: ["update:selected", "update:isOpen", "closed", "opened", "apply", "selectAll", "clear", "copyToClipboard"],
91
+ setup(t, { expose: M, emit: L }) {
92
+ const d = t, E = {
87
93
  MULTILINE_LIST_HEIGHT: 48,
88
94
  LIST_HEIGHT: 32 + 4,
89
95
  MAX_NUMBER_OF_OPTIONS: 7.5,
@@ -91,53 +97,53 @@ const Oe = ["tabindex"], Be = { style: { width: "100%" } }, Ne = { key: 0 }, De
91
97
  DROPLIST_MIN_WIDTH: 240,
92
98
  VERSION: 4
93
99
  }, {
94
- onKeydown: k,
100
+ onKeydown: T,
95
101
  open: s,
96
- toggleMenu: h,
102
+ toggleMenu: w,
97
103
  onButtonKeydown: G,
98
104
  query: C,
99
105
  containerProps: X,
100
106
  calculateTableHeight: q,
101
107
  wrapperProps: Y,
102
108
  filteredOptions: j,
103
- allSelected: O,
109
+ allSelected: B,
104
110
  isIndeterminate: J,
105
111
  onSelectAll: Q,
106
- virtualOptions: B,
112
+ virtualOptions: K,
107
113
  isSelected: S,
108
- selectedOption: b,
114
+ selectedOption: k,
109
115
  selectedOptionPrevious: N,
110
116
  selectedValue: Z,
111
117
  onSelect: D,
112
- activeIndex: E,
118
+ activeIndex: P,
113
119
  onCancel: _,
114
120
  onApply: ee,
115
121
  scrollTo: te,
116
122
  listRef: le,
117
- buttonRef: K,
118
- apply: ie,
119
- cancel: oe,
123
+ buttonRef: R,
124
+ apply: oe,
125
+ cancel: ie,
120
126
  el: ne,
121
- onClearAllSelections: P,
127
+ onClearAllSelections: F,
122
128
  clearAll: ae
123
- } = Ie(d, M, L), m = Se(d.testId, f), R = z(() => !d.predefinedTrigger || d.predefinedTrigger === p.DEFAULT ? ke : d.predefinedTrigger === p.APP ? he : null), { width: F } = Ae(K), de = z(() => d.optionsListWidth ? d.optionsListWidth : !d.predefinedTrigger || d.predefinedTrigger === p.DEFAULT || d.predefinedTrigger === p.APP ? F.value - 2 > 240 ? `${F.value - 2}px` : `${L.DROPLIST_MIN_WIDTH}px` : "auto"), re = () => {
124
- h();
129
+ } = ve(d, L, E), y = Se(d.testId, f), V = x(() => !d.predefinedTrigger || d.predefinedTrigger === m.DEFAULT ? Te : d.predefinedTrigger === m.APP ? he : null), { width: z } = Ae(R), de = x(() => d.optionsListWidth ? d.optionsListWidth : !d.predefinedTrigger || d.predefinedTrigger === m.DEFAULT || d.predefinedTrigger === m.APP ? z.value - 2 > 240 ? `${z.value - 2}px` : `${E.DROPLIST_MIN_WIDTH}px` : "auto"), re = () => {
130
+ w();
125
131
  };
126
- return W({
132
+ return M({
127
133
  selectItem: D,
128
134
  scrollTo: te
129
- }), (v, i) => (o(), n("div", u({
135
+ }), (I, o) => (i(), n("div", u({
130
136
  ref_key: "el",
131
137
  ref: ne,
132
138
  class: ["dropdown dropdown--main-wrapper", [{ "dropdown--disabled": t.disabled, "full-width": t.fullWidth }]],
133
139
  tabindex: t.disabled ? -1 : 0
134
- }, e(m)[e(f).WRAPPER], {
135
- onKeydown: i[7] || (i[7] = //@ts-ignore
136
- (...l) => e(k) && e(k)(...l))
140
+ }, e(y)[e(f).WRAPPER], {
141
+ onKeydown: o[8] || (o[8] = //@ts-ignore
142
+ (...l) => e(T) && e(T)(...l))
137
143
  }), [
138
- I(v.$slots, "label", {}, void 0, !0),
139
- y("div", Be, [
140
- a(e(we), u({
144
+ v(I.$slots, "label", {}, void 0, !0),
145
+ p("div", Ee, [
146
+ a(e(Ie), u({
141
147
  theme: t.theme,
142
148
  "popper-class": [
143
149
  t.popperClass,
@@ -154,31 +160,31 @@ const Oe = ["tabindex"], Be = { style: { width: "100%" } }, Ne = { key: 0 }, De
154
160
  "auto-hide": !1,
155
161
  container: t.container,
156
162
  "auto-size": t.autoSize
157
- }, e(m)[e(f).TRIGGER]), {
163
+ }, e(y)[e(f).TRIGGER]), {
158
164
  popper: c(() => [
159
165
  a(ue, null, {
160
166
  default: c(() => [
161
- e(s) ? (o(), n("div", {
167
+ e(s) ? (i(), n("div", {
162
168
  key: 0,
163
169
  ref_key: "listRef",
164
170
  ref: le,
165
- class: V(["light-theme-v4", {
171
+ class: A(["light-theme-v4", {
166
172
  "dropdown--disabled": t.disabled,
167
173
  "inline-search": t.inlineSearch
168
174
  }]),
169
175
  style: ce({ width: e(de) })
170
176
  }, [
171
- e(s) ? (o(), n("div", {
177
+ e(s) ? (i(), n("div", {
172
178
  key: 0,
173
- class: "dropdown-list-wrapper",
174
- onKeydown: i[6] || (i[6] = //@ts-ignore
175
- (...l) => e(k) && e(k)(...l))
179
+ class: A(["dropdown-list-wrapper", { "dropdown-list-wrapper--multi": t.multi }]),
180
+ onKeydown: o[7] || (o[7] = //@ts-ignore
181
+ (...l) => e(T) && e(T)(...l))
176
182
  }, [
177
- e(s) && t.inlineSearch ? (o(), n("div", Ke, [
178
- a(e(ve), {
183
+ e(s) && t.inlineSearch ? (i(), n("div", De, [
184
+ a(e(we), {
179
185
  modelValue: e(C),
180
186
  "onUpdate:modelValue": [
181
- i[3] || (i[3] = (l) => fe(C) ? C.value = l : null),
187
+ o[4] || (o[4] = (l) => fe(C) ? C.value = l : null),
182
188
  t.onClear
183
189
  ],
184
190
  placeholder: t.inlineSearchPlaceholder,
@@ -186,50 +192,50 @@ const Oe = ["tabindex"], Be = { style: { width: "100%" } }, Ne = { key: 0 }, De
186
192
  size: "md",
187
193
  "auto-focus": t.searchAutoFocus,
188
194
  "test-id": t.testId,
189
- onKeydown: e(k)
195
+ onKeydown: e(T)
190
196
  }, null, 8, ["modelValue", "placeholder", "auto-focus", "test-id", "onUpdate:modelValue", "onKeydown"])
191
197
  ])) : r("", !0),
192
- I(v.$slots, "input-list", { open: e(s) }, void 0, !0),
193
- y("div", u({
198
+ v(I.$slots, "input-list", { open: e(s) }, void 0, !0),
199
+ p("div", u({
194
200
  class: ["list-container", { "list-container--multi": t.multi }],
195
201
  style: { height: `${e(q)}rem` }
196
202
  }, {
197
203
  ...e(X),
198
- ...e(m)[e(f).LIST_CONTAINER]
204
+ ...e(y)[e(f).LIST_CONTAINER]
199
205
  }), [
200
- y("ul", u(e(Y), {
206
+ p("ul", u(e(Y), {
201
207
  role: "listbox",
202
208
  class: ["list", { "list--multi": t.multi }]
203
209
  }), [
204
- !e(j).length && !t.loading ? (o(), n("li", Pe, [
205
- a(e(U), u({ variant: "body2" }, e(m)[e(f).NO_RESULT]), {
210
+ !e(j).length && !t.loading ? (i(), n("li", Pe, [
211
+ a(e(W), u({ variant: "body2" }, e(y)[e(f).NO_RESULT]), {
206
212
  default: c(() => [
207
- g(me(t.noResultsText), 1)
213
+ g(ye(t.noResultsText), 1)
208
214
  ]),
209
215
  _: 1
210
216
  }, 16)
211
217
  ])) : r("", !0),
212
- t.loading ? (o(), n("li", Re, [
218
+ t.loading ? (i(), n("li", Re, [
213
219
  a(e(Ce)),
214
- a(e(U), null, {
220
+ a(e(W), null, {
215
221
  default: c(() => [
216
222
  g("Loading...")
217
223
  ]),
218
224
  _: 1
219
225
  })
220
226
  ])) : r("", !0),
221
- t.showSelectAll !== !1 && t.multi ? (o(), n("li", Fe, [
222
- a(e(H), u(
227
+ t.showSelectAll !== !1 && t.multi ? (i(), n("li", Fe, [
228
+ a(e(U), u(
223
229
  {
224
- "aria-selected": e(O),
230
+ "aria-selected": e(B),
225
231
  "aria-disabled": !!t.disabled,
226
- "selected-prop": e(O),
232
+ "selected-prop": e(B),
227
233
  "is-indeterminate": e(J),
228
234
  "select-all-option": ""
229
235
  },
230
- e(m)[e(f).SELECT_ALL],
236
+ e(y)[e(f).SELECT_ALL],
231
237
  {
232
- onClick: i[4] || (i[4] = x((l) => e(Q)(), ["stop"]))
238
+ onClick: o[5] || (o[5] = $((l) => e(Q)(), ["stop"]))
233
239
  }
234
240
  ), {
235
241
  default: c(() => [
@@ -238,35 +244,38 @@ const Oe = ["tabindex"], Be = { style: { width: "100%" } }, Ne = { key: 0 }, De
238
244
  _: 1
239
245
  }, 16, ["aria-selected", "aria-disabled", "selected-prop", "is-indeterminate"])
240
246
  ])) : r("", !0),
241
- e(B).length && !t.loading ? (o(!0), n(ye, { key: 3 }, pe(e(B), ({ data: l, index: w }) => (o(), n("li", {
242
- key: w,
243
- "aria-selected": e(S)(T(e(b)), l),
247
+ e(K).length && !t.loading ? (i(!0), n(pe, { key: 3 }, me(e(K), ({ data: l, index: b }) => (i(), n("li", {
248
+ key: b,
249
+ "aria-selected": e(S)(h(e(k)), l),
244
250
  "aria-disabled": !!t.disabled,
245
- onClick: x(() => e(D)(l, w), ["stop"])
251
+ onClick: $(() => e(D)(l, b), ["stop"])
246
252
  }, [
247
- I(v.$slots, "default", {
253
+ v(I.$slots, "default", {
248
254
  option: l,
249
- selected: e(S)(T(e(b)), l),
250
- active: T(e(E)) === w,
255
+ index: b,
256
+ selected: e(S)(h(e(k)), l),
257
+ active: h(e(P)) === b,
251
258
  disabled: l[d.disabledOptionKey]
252
259
  }, () => [
253
- a(e(H), {
260
+ a(e(U), {
254
261
  option: l,
255
- selected: e(S)(T(e(b)), l),
256
- active: T(e(E)) === w,
262
+ "selected-prop": e(S)(h(e(k)), l),
263
+ active: h(e(P)) === b,
257
264
  disabled: l[d.disabledOptionKey],
258
265
  "name-key": t.optionNameKey,
259
266
  "image-key": t.optionImageKey,
260
267
  "icon-key": t.optionIconKey,
261
- "icon-type": t.optionIconType
262
- }, null, 8, ["option", "selected", "active", "disabled", "name-key", "image-key", "icon-key", "icon-type"])
268
+ "icon-type": t.optionIconType,
269
+ "end-icon-key": t.optionEndIconKey,
270
+ "end-icon-type": t.optionEndIconType
271
+ }, null, 8, ["option", "selected-prop", "active", "disabled", "name-key", "image-key", "icon-key", "icon-type", "end-icon-key", "end-icon-type"])
263
272
  ], !0)
264
- ], 8, ze))), 128)) : r("", !0)
273
+ ], 8, Ve))), 128)) : r("", !0)
265
274
  ], 16)
266
275
  ], 16),
267
- t.multi ? (o(), n("div", Ve, [
268
- y("div", xe, [
269
- a(e(A), u(
276
+ t.multi ? (i(), n("div", ze, [
277
+ p("div", xe, [
278
+ a(e(O), u(
270
279
  {
271
280
  ref_key: "clearAll",
272
281
  ref: ae,
@@ -274,9 +283,9 @@ const Oe = ["tabindex"], Be = { style: { width: "100%" } }, Ne = { key: 0 }, De
274
283
  variant: "text",
275
284
  color: "primary"
276
285
  },
277
- e(m)[e(f).ACTION_CLEAR_ALL],
286
+ e(y)[e(f).ACTION_CLEAR_ALL],
278
287
  {
279
- onClick: i[5] || (i[5] = () => e(P)(!1))
288
+ onClick: o[6] || (o[6] = () => e(F)(!1))
280
289
  }
281
290
  ), {
282
291
  default: c(() => [
@@ -285,16 +294,16 @@ const Oe = ["tabindex"], Be = { style: { width: "100%" } }, Ne = { key: 0 }, De
285
294
  _: 1
286
295
  }, 16)
287
296
  ]),
288
- y("div", $e, [
289
- a(e(A), u(
297
+ p("div", $e, [
298
+ a(e(O), u(
290
299
  {
291
300
  ref_key: "cancel",
292
- ref: oe,
301
+ ref: ie,
293
302
  size: "small",
294
303
  variant: "outlined",
295
304
  color: "primary"
296
305
  },
297
- e(m)[e(f).ACTION_CANCEL],
306
+ e(y)[e(f).ACTION_CANCEL],
298
307
  { onClick: e(_) }
299
308
  ), {
300
309
  default: c(() => [
@@ -302,13 +311,13 @@ const Oe = ["tabindex"], Be = { style: { width: "100%" } }, Ne = { key: 0 }, De
302
311
  ]),
303
312
  _: 1
304
313
  }, 16, ["onClick"]),
305
- a(e(A), u({
314
+ a(e(O), u({
306
315
  ref_key: "apply",
307
- ref: ie,
316
+ ref: oe,
308
317
  "data-testid": "mutli-apply",
309
318
  size: "small",
310
319
  class: "apply-button"
311
- }, e(m)[e(f).ACTION_APPLY], { onClick: e(ee) }), {
320
+ }, e(y)[e(f).ACTION_APPLY], { onClick: e(ee) }), {
312
321
  default: c(() => [
313
322
  g("Apply ")
314
323
  ]),
@@ -316,34 +325,34 @@ const Oe = ["tabindex"], Be = { style: { width: "100%" } }, Ne = { key: 0 }, De
316
325
  }, 16, ["onClick"])
317
326
  ])
318
327
  ])) : r("", !0)
319
- ], 32)) : r("", !0)
328
+ ], 34)) : r("", !0)
320
329
  ], 6)) : r("", !0)
321
330
  ]),
322
331
  _: 3
323
332
  })
324
333
  ]),
325
334
  default: c(() => [
326
- y("div", {
327
- class: V(["button__container", {
335
+ p("div", {
336
+ class: A(["button__container", {
328
337
  "button__container--open": !!e(s),
329
338
  [`button__container--${t.size}`]: !0,
330
339
  "button__container--disabled": t.disabled
331
340
  }])
332
341
  }, [
333
- I(v.$slots, "dropdown-trigger", {
342
+ v(I.$slots, "dropdown-trigger", {
334
343
  buttonTriggerProps: {
335
344
  open: e(s),
336
345
  disabled: t.disabled,
337
346
  label: e(Z) || t.placeholder,
338
- onClick: () => e(h)()
347
+ onClick: () => e(w)()
339
348
  }
340
349
  }, () => [
341
- y("div", {
350
+ p("div", {
342
351
  ref_key: "buttonRef",
343
- ref: K
352
+ ref: R
344
353
  }, [
345
- e(R) ? (o(), n("div", Ne, [
346
- (o(), $(ge(e(R)), {
354
+ e(V) ? (i(), n("div", Be, [
355
+ (i(), H(ge(e(V)), {
347
356
  placeholder: t.placeholder,
348
357
  open: e(s),
349
358
  label: t.triggerLabel,
@@ -352,37 +361,41 @@ const Oe = ["tabindex"], Be = { style: { width: "100%" } }, Ne = { key: 0 }, De
352
361
  "test-id": t.testId,
353
362
  multi: t.multi,
354
363
  disabled: t.disabled,
355
- "selected-option": t.multi ? e(N) : e(b),
364
+ "selected-option": t.multi ? e(N) : e(k),
356
365
  "display-value": t.displayValue,
357
366
  options: t.options,
358
367
  "option-name-key": t.optionNameKey,
359
368
  "option-image-key": t.optionImageKey,
360
369
  "option-icon-key": t.optionIconKey,
361
370
  "option-icon-type": t.optionIconType,
371
+ "option-end-icon-key": t.optionEndIconKey,
372
+ "option-end-icon-type": t.optionEndIconType,
362
373
  "feedback-variant": t.triggerFeedbackVariant,
363
374
  "value-to-copy": t.valueToCopy,
364
375
  "status-dot-type": t.statusType,
365
376
  size: t.size,
377
+ "show-all-selected-text": t.triggerShowAllSelectedText,
366
378
  onKeydown: e(G),
367
- onClick: re
368
- }, null, 40, ["placeholder", "open", "label", "show-feedback-icon", "mandatory", "test-id", "multi", "disabled", "selected-option", "display-value", "options", "option-name-key", "option-image-key", "option-icon-key", "option-icon-type", "feedback-variant", "value-to-copy", "status-dot-type", "size", "onKeydown"]))
379
+ onClick: re,
380
+ onCopyToClipboard: o[0] || (o[0] = (l) => L("copyToClipboard"))
381
+ }, null, 40, ["placeholder", "open", "label", "show-feedback-icon", "mandatory", "test-id", "multi", "disabled", "selected-option", "display-value", "options", "option-name-key", "option-image-key", "option-icon-key", "option-icon-type", "option-end-icon-key", "option-end-icon-type", "feedback-variant", "value-to-copy", "status-dot-type", "size", "show-all-selected-text", "onKeydown"]))
369
382
  ])) : r("", !0),
370
- t.predefinedTrigger === e(p).ICON_BUTTON ? (o(), n("div", De, [
371
- a(e(be), {
372
- onClick: i[0] || (i[0] = (l) => e(h)())
383
+ t.predefinedTrigger === e(m).ICON_BUTTON ? (i(), n("div", Ke, [
384
+ a(e(ke), {
385
+ onClick: o[1] || (o[1] = (l) => e(w)())
373
386
  })
374
387
  ])) : r("", !0),
375
- t.predefinedTrigger === e(p).CHIP ? (o(), n("div", Ee, [
376
- a(e(Te), {
388
+ t.predefinedTrigger === e(m).CHIP ? (i(), n("div", Ne, [
389
+ a(e(be), {
377
390
  open: e(s),
378
391
  label: t.placeholder,
379
392
  "test-id": t.testId,
380
393
  options: t.options,
381
- "selected-option": t.multi ? e(N) : e(b),
394
+ "selected-option": t.multi ? e(N) : e(k),
382
395
  "display-value": t.displayValue,
383
396
  multi: t.multi,
384
- onClick: i[1] || (i[1] = (l) => e(h)()),
385
- onClear: i[2] || (i[2] = (l) => e(P)())
397
+ onClick: o[2] || (o[2] = (l) => e(w)()),
398
+ onClear: o[3] || (o[3] = (l) => e(F)())
386
399
  }, null, 8, ["open", "label", "test-id", "options", "selected-option", "display-value", "multi"])
387
400
  ])) : r("", !0)
388
401
  ], 512)
@@ -391,7 +404,7 @@ const Oe = ["tabindex"], Be = { style: { width: "100%" } }, Ne = { key: 0 }, De
391
404
  ]),
392
405
  _: 3
393
406
  }, 16, ["theme", "popper-class", "placement", "skidding", "distance", "flip", "shown", "container", "auto-size"]),
394
- t.triggerFeedbackText ? (o(), $(Le, {
407
+ t.triggerFeedbackText ? (i(), H(Oe, {
395
408
  key: 0,
396
409
  text: t.triggerFeedbackText,
397
410
  variant: t.triggerFeedbackVariant,
@@ -400,9 +413,9 @@ const Oe = ["tabindex"], Be = { style: { width: "100%" } }, Ne = { key: 0 }, De
400
413
  class: "dropdown-field-help-text"
401
414
  }, null, 8, ["text", "variant", "show-icon", "test-id"])) : r("", !0)
402
415
  ])
403
- ], 16, Oe));
416
+ ], 16, Le));
404
417
  }
405
418
  });
406
419
  export {
407
- st as default
420
+ ut as default
408
421
  };
@@ -9,7 +9,9 @@ declare const _default: __VLS_WithTemplateSlots<import("vue").DefineComponent<__
9
9
  nameKey?: string;
10
10
  imageKey?: string;
11
11
  iconKey?: string;
12
- iconType?: "fill" | "bold" | "regular" | "branded" | "ad-unit" | "ab-test";
12
+ iconType?: "fill" | "bold" | "regular" | "branded" | "ad-unit" | "ab-test" | "ad-networks" | "ad-networks/flat";
13
+ endIconKey?: string;
14
+ endIconType?: "fill" | "bold" | "regular" | "branded" | "ad-unit" | "ab-test" | "ad-networks" | "ad-networks/flat";
13
15
  toolTipPlacement?: "auto" | "left" | "right" | "bottom" | "top" | "auto-start" | "auto-end" | "top-start" | "top-end" | "right-start" | "right-end" | "bottom-start" | "bottom-end" | "left-start" | "left-end";
14
16
  }>, {
15
17
  subtitle: string;
@@ -22,6 +24,8 @@ declare const _default: __VLS_WithTemplateSlots<import("vue").DefineComponent<__
22
24
  imageKey: any;
23
25
  iconKey: any;
24
26
  iconType: string;
27
+ endIconKey: any;
28
+ endIconType: string;
25
29
  toolTipPlacement: string;
26
30
  }>, {}, 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<{
27
31
  option?: unknown;
@@ -34,7 +38,9 @@ declare const _default: __VLS_WithTemplateSlots<import("vue").DefineComponent<__
34
38
  nameKey?: string;
35
39
  imageKey?: string;
36
40
  iconKey?: string;
37
- iconType?: "fill" | "bold" | "regular" | "branded" | "ad-unit" | "ab-test";
41
+ iconType?: "fill" | "bold" | "regular" | "branded" | "ad-unit" | "ab-test" | "ad-networks" | "ad-networks/flat";
42
+ endIconKey?: string;
43
+ endIconType?: "fill" | "bold" | "regular" | "branded" | "ad-unit" | "ab-test" | "ad-networks" | "ad-networks/flat";
38
44
  toolTipPlacement?: "auto" | "left" | "right" | "bottom" | "top" | "auto-start" | "auto-end" | "top-start" | "top-end" | "right-start" | "right-end" | "bottom-start" | "bottom-end" | "left-start" | "left-end";
39
45
  }>, {
40
46
  subtitle: string;
@@ -47,23 +53,28 @@ declare const _default: __VLS_WithTemplateSlots<import("vue").DefineComponent<__
47
53
  imageKey: any;
48
54
  iconKey: any;
49
55
  iconType: string;
56
+ endIconKey: any;
57
+ endIconType: string;
50
58
  toolTipPlacement: string;
51
59
  }>>>, {
52
60
  option: any;
53
61
  disabled: boolean;
54
62
  active: boolean;
63
+ endIconType: "fill" | "bold" | "regular" | "branded" | "ad-unit" | "ab-test" | "ad-networks" | "ad-networks/flat";
55
64
  isIndeterminate: boolean;
56
65
  subtitle: string;
57
66
  selectAllOption: boolean;
58
67
  nameKey: string;
59
68
  imageKey: string;
60
69
  iconKey: string;
61
- iconType: "fill" | "bold" | "regular" | "branded" | "ad-unit" | "ab-test";
70
+ iconType: "fill" | "bold" | "regular" | "branded" | "ad-unit" | "ab-test" | "ad-networks" | "ad-networks/flat";
71
+ endIconKey: string;
62
72
  toolTipPlacement: "auto" | "left" | "right" | "bottom" | "top" | "auto-start" | "auto-end" | "top-start" | "top-end" | "right-start" | "right-end" | "bottom-start" | "bottom-end" | "left-start" | "left-end";
63
73
  }>, {
64
74
  image?(_: {}): any;
65
75
  "icon-start"?(_: {}): any;
66
76
  default?(_: {}): any;
77
+ "icon-end"?(_: {}): any;
67
78
  }>;
68
79
  export default _default;
69
80
  type __VLS_NonUndefinedable<T> = T extends undefined ? never : T;
@@ -1,7 +1,7 @@
1
1
  import o from "./OptionV4.vue2.js";
2
2
  /* empty css */import _ from "../../../_virtual/_plugin-vue_export-helper.js";
3
- // import "../../../OptionV4.vue_vue_type_style_index_0_scoped_b8375219_lang.css"; //*');
4
- const s = /* @__PURE__ */ _(o, [["__scopeId", "data-v-b8375219"]]);
3
+ // import "../../../OptionV4.vue_vue_type_style_index_0_scoped_9db0f796_lang.css"; //*');
4
+ const s = /* @__PURE__ */ _(o, [["__scopeId", "data-v-9db0f796"]]);
5
5
  export {
6
6
  s as default
7
7
  };