@ironsource/shared-ui 2.1.6-rc.2 → 2.1.6-rc.21

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