@ironsource/shared-ui 2.1.11-test.6 → 2.1.11-test.7

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 (49) hide show
  1. package/ButtonFilterDropdownTrigger.vue_vue_type_style_index_0_scoped_1aa6df01_lang.css +1 -0
  2. package/DateRangeV4.vue_vue_type_style_index_0_scoped_309e5351_lang.css +1 -0
  3. package/DropdownV4.vue_vue_type_style_index_0_scoped_562f0b72_lang.css +1 -0
  4. package/InlineCopy.vue_vue_type_style_index_0_scoped_ad48b61e_lang.css +1 -0
  5. package/OptionV4.vue_vue_type_style_index_0_scoped_da829544_lang.css +1 -0
  6. package/PopoverV4.vue_vue_type_style_index_0_scoped_43b5cba4_lang.css +1 -0
  7. package/ToggleButtonGroupAB.vue_vue_type_style_index_0_scoped_c81a7d3e_lang.css +1 -0
  8. package/TreeDropdown.vue_vue_type_style_index_0_scoped_985779f7_lang.css +1 -0
  9. package/components/button/v4/ToggleButtonGroupAB.vue.d.ts +3 -1
  10. package/components/button/v4/ToggleButtonGroupAB.vue.js +2 -2
  11. package/components/button/v4/ToggleButtonGroupAB.vue2.js +44 -39
  12. package/components/button/v4/index.d.ts +9 -3
  13. package/components/dateRange/v4/DateRangeV4.vue.js +2 -2
  14. package/components/dateRange/v4/DateRangeV4.vue2.js +21 -22
  15. package/components/dropdown/v3/Dropdown.vue.d.ts +1 -1
  16. package/components/dropdown/v3/index.d.ts +20 -20
  17. package/components/dropdown/v4/AppDropdownTrigger.vue.d.ts +1 -1
  18. package/components/dropdown/v4/ButtonFilterDropdownTrigger.vue.js +2 -2
  19. package/components/dropdown/v4/ButtonFilterDropdownTrigger.vue2.js +7 -7
  20. package/components/dropdown/v4/DropdownV4.vue.d.ts +8 -1
  21. package/components/dropdown/v4/DropdownV4.vue.js +3 -3
  22. package/components/dropdown/v4/DropdownV4.vue2.js +128 -122
  23. package/components/dropdown/v4/OptionV4.vue.d.ts +5 -0
  24. package/components/dropdown/v4/OptionV4.vue.js +2 -2
  25. package/components/dropdown/v4/OptionV4.vue2.js +78 -67
  26. package/components/dropdown/v4/TreeDropdown.vue.d.ts +6 -1
  27. package/components/dropdown/v4/TreeDropdown.vue.js +2 -2
  28. package/components/dropdown/v4/TreeDropdown.vue2.js +151 -116
  29. package/components/dropdown/v4/index.d.ts +112 -53
  30. package/components/inlineCopy/InlineCopy.vue.d.ts +5 -0
  31. package/components/inlineCopy/InlineCopy.vue.js +2 -2
  32. package/components/inlineCopy/InlineCopy.vue2.js +24 -22
  33. package/components/inlineCopy/index.d.ts +9 -0
  34. package/components/popover/v4/PopoverV4.vue.d.ts +3 -1
  35. package/components/popover/v4/PopoverV4.vue.js +2 -2
  36. package/components/popover/v4/PopoverV4.vue2.js +22 -20
  37. package/components/popover/v4/index.d.ts +9 -3
  38. package/index.d.ts +278 -118
  39. package/index.js +1 -1
  40. package/mocks/options.d.ts +29 -2
  41. package/package.json +1 -1
  42. package/ButtonFilterDropdownTrigger.vue_vue_type_style_index_0_scoped_7f750550_lang.css +0 -1
  43. package/DateRangeV4.vue_vue_type_style_index_0_scoped_f81413ec_lang.css +0 -1
  44. package/DropdownV4.vue_vue_type_style_index_0_scoped_e899ec7a_lang.css +0 -1
  45. package/InlineCopy.vue_vue_type_style_index_0_scoped_893a203c_lang.css +0 -1
  46. package/OptionV4.vue_vue_type_style_index_0_scoped_4070942a_lang.css +0 -1
  47. package/PopoverV4.vue_vue_type_style_index_0_scoped_74bbce13_lang.css +0 -1
  48. package/ToggleButtonGroupAB.vue_vue_type_style_index_0_scoped_9d9e51c0_lang.css +0 -1
  49. package/TreeDropdown.vue_vue_type_style_index_0_scoped_6ac5f602_lang.css +0 -1
@@ -43,6 +43,7 @@ declare const _default: __VLS_WithTemplateSlots<import("vue").DefineComponent<__
43
43
  optionIconType?: "fill" | "bold" | "regular" | "branded" | "ad-unit" | "ab-test" | "ad-networks" | "ad-networks/flat" | "content-rate";
44
44
  optionEndIconKey?: string;
45
45
  optionEndIconType?: "fill" | "bold" | "regular" | "branded" | "ad-unit" | "ab-test" | "ad-networks" | "ad-networks/flat" | "content-rate";
46
+ optionsEndTextIconKey?: string;
46
47
  optionFlagKey?: string;
47
48
  valueToCopy?: string;
48
49
  disabledOptionKey?: string;
@@ -100,6 +101,7 @@ declare const _default: __VLS_WithTemplateSlots<import("vue").DefineComponent<__
100
101
  optionIconType: any;
101
102
  optionEndIconKey: string;
102
103
  optionEndIconType: any;
104
+ optionsEndTextIconKey: any;
103
105
  optionFlagKey: any;
104
106
  valueToCopy: any;
105
107
  disabledOptionKey: string;
@@ -171,6 +173,7 @@ declare const _default: __VLS_WithTemplateSlots<import("vue").DefineComponent<__
171
173
  optionIconType?: "fill" | "bold" | "regular" | "branded" | "ad-unit" | "ab-test" | "ad-networks" | "ad-networks/flat" | "content-rate";
172
174
  optionEndIconKey?: string;
173
175
  optionEndIconType?: "fill" | "bold" | "regular" | "branded" | "ad-unit" | "ab-test" | "ad-networks" | "ad-networks/flat" | "content-rate";
176
+ optionsEndTextIconKey?: string;
174
177
  optionFlagKey?: string;
175
178
  valueToCopy?: string;
176
179
  disabledOptionKey?: string;
@@ -228,6 +231,7 @@ declare const _default: __VLS_WithTemplateSlots<import("vue").DefineComponent<__
228
231
  optionIconType: any;
229
232
  optionEndIconKey: string;
230
233
  optionEndIconType: any;
234
+ optionsEndTextIconKey: any;
231
235
  optionFlagKey: any;
232
236
  valueToCopy: any;
233
237
  disabledOptionKey: string;
@@ -266,6 +270,7 @@ declare const _default: __VLS_WithTemplateSlots<import("vue").DefineComponent<__
266
270
  skidding: number;
267
271
  modelValue: any;
268
272
  selected: any;
273
+ valueToCopy: string;
269
274
  onClear: () => void;
270
275
  placeholder: string;
271
276
  multi: boolean;
@@ -293,8 +298,8 @@ declare const _default: __VLS_WithTemplateSlots<import("vue").DefineComponent<__
293
298
  optionIconType: "fill" | "bold" | "regular" | "branded" | "ad-unit" | "ab-test" | "ad-networks" | "ad-networks/flat" | "content-rate";
294
299
  optionEndIconKey: string;
295
300
  optionEndIconType: "fill" | "bold" | "regular" | "branded" | "ad-unit" | "ab-test" | "ad-networks" | "ad-networks/flat" | "content-rate";
301
+ optionsEndTextIconKey: string;
296
302
  optionFlagKey: string;
297
- valueToCopy: string;
298
303
  disabledOptionKey: string;
299
304
  optionTwoLinesVariant: "horizontal" | "vertical";
300
305
  optionTwoLinesKey: string;
@@ -334,6 +339,7 @@ declare const _default: __VLS_WithTemplateSlots<import("vue").DefineComponent<__
334
339
  optionIconType: "fill" | "bold" | "regular" | "branded" | "ad-unit" | "ab-test" | "ad-networks" | "ad-networks/flat" | "content-rate";
335
340
  optionAndIconKey: string;
336
341
  optionEndIconType: "fill" | "bold" | "regular" | "branded" | "ad-unit" | "ab-test" | "ad-networks" | "ad-networks/flat" | "content-rate";
342
+ optionsEndTextIconKey: string;
337
343
  optionFlagKey: string;
338
344
  feedbackVariant: "success" | "warning" | "error";
339
345
  valueToCopy: string;
@@ -350,6 +356,7 @@ declare const _default: __VLS_WithTemplateSlots<import("vue").DefineComponent<__
350
356
  "input-list"?(_: {
351
357
  open: true;
352
358
  }): any;
359
+ "select-all"?(_: {}): any;
353
360
  "group-option"?(_: {}): any;
354
361
  default?(_: {
355
362
  option: unknown;
@@ -1,8 +1,8 @@
1
1
  import o from "./DropdownV4.vue2.js";
2
- /* empty css *//* empty css */import e from "../../../_virtual/_plugin-vue_export-helper.js";
3
- // import "../../../DropdownV4.vue_vue_type_style_index_0_scoped_e899ec7a_lang.css"; //*');
2
+ /* empty css *//* empty css */import _ from "../../../_virtual/_plugin-vue_export-helper.js";
3
+ // import "../../../DropdownV4.vue_vue_type_style_index_0_scoped_562f0b72_lang.css"; //*');
4
4
  // import "../../../DropdownV4.vue_vue_type_style_index_1_lang.css"; //');
5
- const r = /* @__PURE__ */ e(o, [["__scopeId", "data-v-e899ec7a"]]);
5
+ const r = /* @__PURE__ */ _(o, [["__scopeId", "data-v-562f0b72"]]);
6
6
  export {
7
7
  r as default
8
8
  };
@@ -1,12 +1,12 @@
1
- import "../../../DropdownV4.vue_vue_type_style_index_0_scoped_e899ec7a_lang.css"; import "../../../DropdownV4.vue_vue_type_style_index_1_lang.css"; import { defineComponent as fe, computed as U, openBlock as n, createElementBlock as a, mergeProps as c, unref as t, renderSlot as g, createElementVNode as m, createVNode as i, withCtx as u, Transition as me, normalizeClass as L, normalizeStyle as pe, createTextVNode as T, createCommentVNode as d, isRef as ge, toDisplayString as W, withModifiers as M, Fragment as Te, renderList as ke, toRaw as I, createBlock as X, resolveDynamicComponent as be } from "vue";
2
- import E from "../../button/v4/ButtonV4.vue.js";
1
+ import "../../../DropdownV4.vue_vue_type_style_index_0_scoped_562f0b72_lang.css"; import "../../../DropdownV4.vue_vue_type_style_index_1_lang.css"; import { defineComponent as fe, computed as U, openBlock as i, createElementBlock as r, mergeProps as c, unref as t, renderSlot as g, createElementVNode as y, createVNode as n, withCtx as u, Transition as me, normalizeClass as O, normalizeStyle as pe, createTextVNode as T, createCommentVNode as a, isRef as ge, toDisplayString as W, withModifiers as M, Fragment as Te, renderList as ke, toRaw as w, createBlock as X, resolveDynamicComponent as be } from "vue";
2
+ import L from "../../button/v4/ButtonV4.vue.js";
3
3
  import "../../button/v4/IconButtonV4.vue.js";
4
4
  import "../../button/v4/ButtonGroup.vue.js";
5
5
  import "../../button/v4/ToggleButtonGroupAB.vue.js";
6
6
  import "./DropdownV4.vue.js";
7
7
  import he from "./DefaultDropdownTrigger.vue.js";
8
- import we from "./IconButtonDropdownTrigger.vue.js";
9
- import Ie from "./ChipDropdownTrigger.vue.js";
8
+ import Ie from "./IconButtonDropdownTrigger.vue.js";
9
+ import we from "./ChipDropdownTrigger.vue.js";
10
10
  import ve from "./AppDropdownTrigger.vue.js";
11
11
  import "./ButtonDropdownTrigger.vue.js";
12
12
  import "./ButtonFilterDropdownTrigger.vue.js";
@@ -15,27 +15,27 @@ import q from "./OptionV4.vue.js";
15
15
  import Ce from "../../search/v4/SearchV4.vue.js";
16
16
  import Y from "../../typography/v4/Typography.vue.js";
17
17
  import { Dropdown as Se } from "floating-vue";
18
- import { DropdownTestIdModifiers as y } from "../../../testids/index.js";
18
+ import { DropdownTestIdModifiers as f } from "../../../testids/index.js";
19
19
  import { dropdownCommon as Ke } from "../common/Dropdown.common.js";
20
20
  import S from "../../skeleton/v4/SkeletonV4.vue.js";
21
21
  import { useTestIdAttrs as Ae } from "../../../utils/testIds.js";
22
22
  import { TRIGGERS as k } from "./Dropdown.types.js";
23
- import { useElementSize as Oe } from "@vueuse/core";
24
- import Le from "../../shared/FieldHelpText.vue.js";
25
- import Ee from "./GroupOption.vue.js";
26
- const Be = ["tabindex"], Fe = { style: { width: "100%" } }, Ne = { key: 0 }, Ve = { key: 1 }, De = { key: 2 }, Pe = {
23
+ import { useElementSize as Ee } from "@vueuse/core";
24
+ import Oe from "../../shared/FieldHelpText.vue.js";
25
+ import Le from "./GroupOption.vue.js";
26
+ const Be = ["tabindex"], Fe = { style: { width: "100%" } }, Ne = { key: 0 }, Ve = { key: 1 }, xe = { key: 2 }, De = {
27
27
  key: 0,
28
28
  class: "inline-search-wrapper"
29
- }, Re = { class: "dropdown-conditions" }, ze = {
29
+ }, Pe = { class: "dropdown-conditions" }, Re = {
30
30
  key: 0,
31
31
  class: "no-result-container"
32
- }, xe = {
32
+ }, ze = {
33
33
  key: 1,
34
34
  class: "loader"
35
- }, $e = { key: 2 }, He = ["aria-selected", "aria-disabled", "onClick"], Ge = {
35
+ }, $e = ["aria-selected", "aria-disabled", "onClick"], He = {
36
36
  key: 1,
37
37
  class: "actions-wrapper"
38
- }, Ue = { class: "actions-clear-all" }, We = { class: "actions-apply-cancel" }, Tt = /* @__PURE__ */ fe({
38
+ }, Ge = { class: "actions-clear-all" }, Ue = { class: "actions-apply-cancel" }, gt = /* @__PURE__ */ fe({
39
39
  __name: "DropdownV4",
40
40
  props: {
41
41
  modelValue: { default: null },
@@ -81,6 +81,7 @@ const Be = ["tabindex"], Fe = { style: { width: "100%" } }, Ne = { key: 0 }, Ve
81
81
  optionIconType: { default: null },
82
82
  optionEndIconKey: { default: "" },
83
83
  optionEndIconType: { default: null },
84
+ optionsEndTextIconKey: { default: null },
84
85
  optionFlagKey: { default: null },
85
86
  valueToCopy: { default: null },
86
87
  disabledOptionKey: { default: "disabled" },
@@ -99,7 +100,7 @@ const Be = ["tabindex"], Fe = { style: { width: "100%" } }, Ne = { key: 0 }, Ve
99
100
  },
100
101
  emits: ["update:selected", "update:isOpen", "closed", "opened", "apply", "selectAll", "clear", "copyToClipboard", "onsearch"],
101
102
  setup(e, { expose: j, emit: B }) {
102
- const r = e, F = {
103
+ const d = e, F = {
103
104
  MULTILINE_LIST_HEIGHT: 48,
104
105
  LIST_HEIGHT: 32 + 4,
105
106
  MAX_NUMBER_OF_OPTIONS: 7.5,
@@ -120,42 +121,42 @@ const Be = ["tabindex"], Fe = { style: { width: "100%" } }, Ne = { key: 0 }, Ve
120
121
  allSelectedApplied: K,
121
122
  isIndeterminate: ee,
122
123
  onSelectAll: te,
123
- virtualOptions: D,
124
+ virtualOptions: x,
124
125
  isSelected: A,
125
126
  selectedOption: b,
126
- selectedOptionPrevious: O,
127
+ selectedOptionPrevious: E,
127
128
  selectedValue: oe,
128
- onSelect: P,
129
- activeIndex: R,
129
+ onSelect: D,
130
+ activeIndex: P,
130
131
  onCancel: le,
131
- onApply: ie,
132
- scrollTo: ne,
132
+ onApply: ne,
133
+ scrollTo: ie,
133
134
  listRef: ae,
134
- buttonRef: z,
135
+ buttonRef: R,
135
136
  apply: de,
136
137
  cancel: re,
137
138
  el: se,
138
- onClearAllSelections: x,
139
+ onClearAllSelections: z,
139
140
  clearAll: ue,
140
141
  isGroup: ce
141
- } = Ke(r, B, F), f = Ae(r.testId, y), $ = U(() => !r.predefinedTrigger || r.predefinedTrigger === k.DEFAULT ? he : r.predefinedTrigger === k.APP ? ve : null), { width: H } = Oe(z), ye = U(() => r.optionsListWidth ? r.optionsListWidth : !r.predefinedTrigger || r.predefinedTrigger === k.DEFAULT || r.predefinedTrigger === k.APP ? H.value - 2 > 240 ? `${H.value - 2}px` : `${F.DROPLIST_MIN_WIDTH}px` : "auto"), G = () => {
142
+ } = Ke(d, B, F), m = Ae(d.testId, f), $ = U(() => !d.predefinedTrigger || d.predefinedTrigger === k.DEFAULT ? he : d.predefinedTrigger === k.APP ? ve : null), { width: H } = Ee(R), ye = U(() => d.optionsListWidth ? d.optionsListWidth : !d.predefinedTrigger || d.predefinedTrigger === k.DEFAULT || d.predefinedTrigger === k.APP ? H.value - 2 > 240 ? `${H.value - 2}px` : `${F.DROPLIST_MIN_WIDTH}px` : "auto"), G = () => {
142
143
  v();
143
144
  };
144
145
  return j({
145
- selectItem: P,
146
- scrollTo: ne
147
- }), (p, l) => (n(), a("div", c({
146
+ selectItem: D,
147
+ scrollTo: ie
148
+ }), (p, l) => (i(), r("div", c({
148
149
  ref_key: "el",
149
150
  ref: se,
150
151
  class: ["dropdown dropdown--main-wrapper", [{ "dropdown--disabled": e.disabled, "full-width": e.fullWidth }]],
151
152
  tabindex: e.disabled ? -1 : 0
152
- }, t(f)[t(y).WRAPPER], {
153
+ }, t(m)[t(f).WRAPPER], {
153
154
  onKeydown: l[8] || (l[8] = //@ts-ignore
154
155
  (...o) => t(h) && t(h)(...o))
155
156
  }), [
156
157
  g(p.$slots, "label", {}, void 0, !0),
157
- m("div", Fe, [
158
- i(t(Se), c({
158
+ y("div", Fe, [
159
+ n(t(Se), c({
159
160
  theme: e.theme,
160
161
  "popper-class": [
161
162
  e.popperClass,
@@ -172,39 +173,39 @@ const Be = ["tabindex"], Fe = { style: { width: "100%" } }, Ne = { key: 0 }, Ve
172
173
  "auto-hide": !1,
173
174
  container: e.container,
174
175
  "auto-size": e.autoSize
175
- }, t(f)[t(y).TRIGGER]), {
176
+ }, t(m)[t(f).TRIGGER]), {
176
177
  popper: u(() => [
177
- i(me, null, {
178
+ n(me, null, {
178
179
  default: u(() => [
179
- t(s) ? (n(), a("div", {
180
+ t(s) ? (i(), r("div", {
180
181
  key: 0,
181
182
  ref_key: "listRef",
182
183
  ref: ae,
183
- class: L(["light-theme-v4", {
184
+ class: O(["light-theme-v4", {
184
185
  "dropdown--disabled": e.disabled,
185
186
  "inline-search": e.inlineSearch
186
187
  }]),
187
188
  style: pe({ width: t(ye) })
188
189
  }, [
189
- t(s) ? (n(), a("div", {
190
+ t(s) ? (i(), r("div", {
190
191
  key: 0,
191
- class: L(["dropdown-list-wrapper", { "dropdown-list-wrapper--multi": e.multi }]),
192
+ class: O(["dropdown-list-wrapper", { "dropdown-list-wrapper--multi": e.multi }]),
192
193
  onKeydown: l[7] || (l[7] = //@ts-ignore
193
194
  (...o) => t(h) && t(h)(...o))
194
195
  }, [
195
- t(s) && (e.inlineSearch || e.withConditions) ? (n(), a("div", Pe, [
196
+ t(s) && (e.inlineSearch || e.withConditions) ? (i(), r("div", De, [
196
197
  e.withConditions ? g(p.$slots, "dropdown-conditions", { key: 0 }, () => [
197
- m("div", Re, [
198
- i(t(Y), { variant: "body2" }, {
198
+ y("div", Pe, [
199
+ n(t(Y), { variant: "body2" }, {
199
200
  default: u(() => [
200
201
  T("Conditions")
201
202
  ]),
202
203
  _: 1
203
204
  })
204
205
  ])
205
- ], !0) : d("", !0),
206
+ ], !0) : a("", !0),
206
207
  g(p.$slots, "inline-search", {}, () => [
207
- i(t(Ce), {
208
+ n(t(Ce), {
208
209
  modelValue: t(C),
209
210
  "onUpdate:modelValue": [
210
211
  l[4] || (l[4] = (o) => ge(C) ? C.value = o : null),
@@ -218,61 +219,63 @@ const Be = ["tabindex"], Fe = { style: { width: "100%" } }, Ne = { key: 0 }, Ve
218
219
  onKeydown: t(h)
219
220
  }, null, 8, ["modelValue", "placeholder", "auto-focus", "test-id", "onUpdate:modelValue", "onKeydown"])
220
221
  ], !0)
221
- ])) : d("", !0),
222
+ ])) : a("", !0),
222
223
  g(p.$slots, "input-list", { open: t(s) }, void 0, !0),
223
- m("div", c({
224
+ y("div", c({
224
225
  class: ["list-container", { "list-container--multi": e.multi }],
225
226
  style: { height: `${t(Q)}rem` }
226
227
  }, {
227
228
  ...t(J),
228
- ...t(f)[t(y).LIST_CONTAINER]
229
+ ...t(m)[t(f).LIST_CONTAINER]
229
230
  }), [
230
- m("ul", c(t(Z), {
231
+ y("ul", c(t(Z), {
231
232
  role: "listbox",
232
233
  class: ["list", { "list--multi": e.multi }]
233
234
  }), [
234
- !t(_).length && !e.loading ? (n(), a("li", ze, [
235
- i(t(Y), c({ variant: "body2" }, t(f)[t(y).NO_RESULT]), {
235
+ !t(_).length && !e.loading ? (i(), r("li", Re, [
236
+ n(t(Y), c({ variant: "body2" }, t(m)[t(f).NO_RESULT]), {
236
237
  default: u(() => [
237
238
  T(W(e.noResultsText), 1)
238
239
  ]),
239
240
  _: 1
240
241
  }, 16)
241
- ])) : d("", !0),
242
- e.loading ? (n(), a("li", xe, [
243
- i(t(S), { round: "" }),
244
- i(t(S), { round: "" }),
245
- i(t(S), { round: "" }),
246
- i(t(S), { round: "" })
247
- ])) : d("", !0),
248
- e.showSelectAll !== !1 && e.multi && !t(C) && !e.loading ? (n(), a("li", $e, [
249
- i(t(q), c(
250
- {
251
- "aria-selected": t(V),
252
- "aria-disabled": !!e.disabled,
253
- "selected-prop": t(V),
254
- "is-indeterminate": t(ee),
255
- "select-all-option": ""
256
- },
257
- t(f)[t(y).SELECT_ALL],
258
- {
259
- onClick: l[5] || (l[5] = M((o) => t(te)(), ["stop"]))
260
- }
261
- ), {
262
- default: u(() => [
263
- T(" Select all ")
264
- ]),
265
- _: 1
266
- }, 16, ["aria-selected", "aria-disabled", "selected-prop", "is-indeterminate"])
267
- ])) : d("", !0),
268
- t(D).length && !e.loading ? (n(!0), a(Te, { key: 3 }, ke(t(D), ({ data: o, index: w }) => (n(), a("li", {
269
- key: w,
270
- "aria-selected": t(A)(I(t(b)), o),
242
+ ])) : a("", !0),
243
+ e.loading ? (i(), r("li", ze, [
244
+ n(t(S), { round: "" }),
245
+ n(t(S), { round: "" }),
246
+ n(t(S), { round: "" }),
247
+ n(t(S), { round: "" })
248
+ ])) : a("", !0),
249
+ e.showSelectAll !== !1 && e.multi && !t(C) && !e.loading ? g(p.$slots, "select-all", { key: 2 }, () => [
250
+ y("li", null, [
251
+ n(t(q), c(
252
+ {
253
+ "aria-selected": t(V),
254
+ "aria-disabled": !!e.disabled,
255
+ "selected-prop": t(V),
256
+ "is-indeterminate": t(ee),
257
+ "select-all-option": ""
258
+ },
259
+ t(m)[t(f).SELECT_ALL],
260
+ {
261
+ onClick: l[5] || (l[5] = M((o) => t(te)(), ["stop"]))
262
+ }
263
+ ), {
264
+ default: u(() => [
265
+ T(" Select all ")
266
+ ]),
267
+ _: 1
268
+ }, 16, ["aria-selected", "aria-disabled", "selected-prop", "is-indeterminate"])
269
+ ])
270
+ ], !0) : a("", !0),
271
+ t(x).length && !e.loading ? (i(!0), r(Te, { key: 3 }, ke(t(x), ({ data: o, index: I }) => (i(), r("li", {
272
+ key: I,
273
+ "aria-selected": t(A)(w(t(b)), o),
271
274
  "aria-disabled": !!e.disabled,
272
- onClick: M(() => t(P)(o, w), ["stop"])
275
+ onClick: M(() => t(D)(o, I), ["stop"])
273
276
  }, [
274
277
  e.groupedOptions && t(ce)(o) ? g(p.$slots, "group-option", { key: 0 }, () => [
275
- i(Ee, null, {
278
+ n(Le, null, {
276
279
  default: u(() => [
277
280
  T(W(e.displayValue(o) || o[e.optionNameKey]), 1)
278
281
  ]),
@@ -281,33 +284,34 @@ const Be = ["tabindex"], Fe = { style: { width: "100%" } }, Ne = { key: 0 }, Ve
281
284
  ], !0) : g(p.$slots, "default", {
282
285
  key: 1,
283
286
  option: o,
284
- index: w,
285
- selected: t(A)(I(t(b)), o),
286
- active: I(t(R)) === w,
287
- disabled: o[r.disabledOptionKey]
287
+ index: I,
288
+ selected: t(A)(w(t(b)), o),
289
+ active: w(t(P)) === I,
290
+ disabled: o[d.disabledOptionKey]
288
291
  }, () => [
289
- i(t(q), {
292
+ n(t(q), {
290
293
  option: o,
291
- "selected-prop": t(A)(I(t(b)), o),
292
- active: I(t(R)) === w,
293
- disabled: o[r.disabledOptionKey],
294
+ "selected-prop": t(A)(w(t(b)), o),
295
+ active: w(t(P)) === I,
296
+ disabled: o[d.disabledOptionKey],
294
297
  "name-key": e.optionNameKey,
295
298
  "image-key": e.optionImageKey,
296
299
  "icon-key": e.optionIconKey,
297
300
  "icon-type": e.optionIconType,
298
301
  "end-icon-key": e.optionEndIconKey,
299
302
  "end-icon-type": e.optionEndIconType,
303
+ "end-text-icon-key": e.optionsEndTextIconKey,
300
304
  "option-flag-key": e.optionFlagKey,
301
305
  "option-two-lines-variant": e.optionTwoLinesVariant,
302
306
  "option-two-lines-key": e.optionTwoLinesKey
303
- }, null, 8, ["option", "selected-prop", "active", "disabled", "name-key", "image-key", "icon-key", "icon-type", "end-icon-key", "end-icon-type", "option-flag-key", "option-two-lines-variant", "option-two-lines-key"])
307
+ }, null, 8, ["option", "selected-prop", "active", "disabled", "name-key", "image-key", "icon-key", "icon-type", "end-icon-key", "end-icon-type", "end-text-icon-key", "option-flag-key", "option-two-lines-variant", "option-two-lines-key"])
304
308
  ], !0)
305
- ], 8, He))), 128)) : d("", !0)
309
+ ], 8, $e))), 128)) : a("", !0)
306
310
  ], 16)
307
311
  ], 16),
308
- e.multi ? (n(), a("div", Ge, [
309
- m("div", Ue, [
310
- i(t(E), c(
312
+ e.multi ? (i(), r("div", He, [
313
+ y("div", Ge, [
314
+ n(t(L), c(
311
315
  {
312
316
  ref_key: "clearAll",
313
317
  ref: ue,
@@ -315,9 +319,9 @@ const Be = ["tabindex"], Fe = { style: { width: "100%" } }, Ne = { key: 0 }, Ve
315
319
  variant: "text",
316
320
  color: "primary"
317
321
  },
318
- t(f)[t(y).ACTION_CLEAR_ALL],
322
+ t(m)[t(f).ACTION_CLEAR_ALL],
319
323
  {
320
- onClick: l[6] || (l[6] = () => t(x)(!1))
324
+ onClick: l[6] || (l[6] = () => t(z)(!1))
321
325
  }
322
326
  ), {
323
327
  default: u(() => [
@@ -326,8 +330,8 @@ const Be = ["tabindex"], Fe = { style: { width: "100%" } }, Ne = { key: 0 }, Ve
326
330
  _: 1
327
331
  }, 16)
328
332
  ]),
329
- m("div", We, [
330
- i(t(E), c(
333
+ y("div", Ue, [
334
+ n(t(L), c(
331
335
  {
332
336
  ref_key: "cancel",
333
337
  ref: re,
@@ -335,7 +339,7 @@ const Be = ["tabindex"], Fe = { style: { width: "100%" } }, Ne = { key: 0 }, Ve
335
339
  variant: "outlined",
336
340
  color: "primary"
337
341
  },
338
- t(f)[t(y).ACTION_CANCEL],
342
+ t(m)[t(f).ACTION_CANCEL],
339
343
  { onClick: t(le) }
340
344
  ), {
341
345
  default: u(() => [
@@ -343,37 +347,37 @@ const Be = ["tabindex"], Fe = { style: { width: "100%" } }, Ne = { key: 0 }, Ve
343
347
  ]),
344
348
  _: 1
345
349
  }, 16, ["onClick"]),
346
- i(t(E), c({
350
+ n(t(L), c({
347
351
  ref_key: "apply",
348
352
  ref: de,
349
353
  "data-testid": "mutli-apply",
350
354
  size: "small",
351
355
  class: "apply-button"
352
- }, t(f)[t(y).ACTION_APPLY], { onClick: t(ie) }), {
356
+ }, t(m)[t(f).ACTION_APPLY], { onClick: t(ne) }), {
353
357
  default: u(() => [
354
358
  T(" Apply ")
355
359
  ]),
356
360
  _: 1
357
361
  }, 16, ["onClick"])
358
362
  ])
359
- ])) : d("", !0)
360
- ], 34)) : d("", !0)
361
- ], 6)) : d("", !0)
363
+ ])) : a("", !0)
364
+ ], 34)) : a("", !0)
365
+ ], 6)) : a("", !0)
362
366
  ]),
363
367
  _: 3
364
368
  })
365
369
  ]),
366
370
  default: u(() => [
367
- m("div", {
368
- class: L(["button__container", {
371
+ y("div", {
372
+ class: O(["button__container", {
369
373
  "button__container--open": !!t(s),
370
374
  [`button__container--${e.size}`]: !0,
371
375
  "button__container--disabled": e.disabled
372
376
  }])
373
377
  }, [
374
- m("div", {
378
+ y("div", {
375
379
  ref_key: "buttonRef",
376
- ref: z
380
+ ref: R
377
381
  }, [
378
382
  g(p.$slots, "dropdown-trigger", {
379
383
  buttonTriggerProps: {
@@ -391,7 +395,7 @@ const Be = ["tabindex"], Fe = { style: { width: "100%" } }, Ne = { key: 0 }, Ve
391
395
  testId: e.testId,
392
396
  multi: e.multi,
393
397
  disabled: e.disabled,
394
- selectedOption: e.multi ? t(O) : t(b),
398
+ selectedOption: e.multi ? t(E) : t(b),
395
399
  displayValue: e.displayValue,
396
400
  options: e.options,
397
401
  optionNameKey: e.optionNameKey,
@@ -400,6 +404,7 @@ const Be = ["tabindex"], Fe = { style: { width: "100%" } }, Ne = { key: 0 }, Ve
400
404
  optionIconType: e.optionIconType,
401
405
  optionAndIconKey: e.optionEndIconKey,
402
406
  optionEndIconType: e.optionEndIconType,
407
+ optionsEndTextIconKey: e.optionsEndTextIconKey,
403
408
  optionFlagKey: e.optionFlagKey,
404
409
  feedbackVariant: e.triggerFeedbackVariant,
405
410
  valueToCopy: e.valueToCopy,
@@ -411,8 +416,8 @@ const Be = ["tabindex"], Fe = { style: { width: "100%" } }, Ne = { key: 0 }, Ve
411
416
  onClick: G
412
417
  }
413
418
  }, () => [
414
- t($) ? (n(), a("div", Ne, [
415
- (n(), X(be(t($)), {
419
+ t($) ? (i(), r("div", Ne, [
420
+ (i(), X(be(t($)), {
416
421
  placeholder: e.placeholder,
417
422
  open: t(s),
418
423
  label: e.triggerLabel,
@@ -421,7 +426,7 @@ const Be = ["tabindex"], Fe = { style: { width: "100%" } }, Ne = { key: 0 }, Ve
421
426
  "test-id": e.testId,
422
427
  multi: e.multi,
423
428
  disabled: e.disabled,
424
- "selected-option": e.multi ? t(O) : t(b),
429
+ "selected-option": e.multi ? t(E) : t(b),
425
430
  "display-value": e.displayValue,
426
431
  options: e.options,
427
432
  "option-name-key": e.optionNameKey,
@@ -430,6 +435,7 @@ const Be = ["tabindex"], Fe = { style: { width: "100%" } }, Ne = { key: 0 }, Ve
430
435
  "option-icon-type": e.optionIconType,
431
436
  "option-end-icon-key": e.optionEndIconKey,
432
437
  "option-end-icon-type": e.optionEndIconType,
438
+ "options-end-text-icon-key": e.optionsEndTextIconKey,
433
439
  "option-flag-key": e.optionFlagKey,
434
440
  "feedback-variant": e.triggerFeedbackVariant,
435
441
  "value-to-copy": e.valueToCopy,
@@ -440,45 +446,45 @@ const Be = ["tabindex"], Fe = { style: { width: "100%" } }, Ne = { key: 0 }, Ve
440
446
  onKeydown: t(N),
441
447
  onClick: G,
442
448
  onCopyToClipboard: l[0] || (l[0] = (o) => B("copyToClipboard"))
443
- }, 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", "option-flag-key", "feedback-variant", "value-to-copy", "status-dot-type", "size", "show-all-selected-text", "all-selected", "onKeydown"]))
444
- ])) : d("", !0),
445
- e.predefinedTrigger === t(k).ICON_BUTTON ? (n(), a("div", Ve, [
446
- i(t(we), {
449
+ }, 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", "options-end-text-icon-key", "option-flag-key", "feedback-variant", "value-to-copy", "status-dot-type", "size", "show-all-selected-text", "all-selected", "onKeydown"]))
450
+ ])) : a("", !0),
451
+ e.predefinedTrigger === t(k).ICON_BUTTON ? (i(), r("div", Ve, [
452
+ n(t(Ie), {
447
453
  onClick: l[1] || (l[1] = (o) => t(v)())
448
454
  })
449
- ])) : d("", !0),
450
- e.predefinedTrigger === t(k).CHIP ? (n(), a("div", De, [
451
- i(t(Ie), {
455
+ ])) : a("", !0),
456
+ e.predefinedTrigger === t(k).CHIP ? (i(), r("div", xe, [
457
+ n(t(we), {
452
458
  open: t(s),
453
459
  label: e.placeholder,
454
460
  "test-id": e.testId,
455
461
  options: e.options,
456
- "selected-option": e.multi ? t(O) : t(b),
462
+ "selected-option": e.multi ? t(E) : t(b),
457
463
  "display-value": e.displayValue,
458
464
  multi: e.multi,
459
465
  "all-selected": t(K),
460
466
  onClick: l[2] || (l[2] = (o) => t(v)()),
461
- onClear: l[3] || (l[3] = (o) => t(x)())
467
+ onClear: l[3] || (l[3] = (o) => t(z)())
462
468
  }, null, 8, ["open", "label", "test-id", "options", "selected-option", "display-value", "multi", "all-selected"])
463
- ])) : d("", !0)
469
+ ])) : a("", !0)
464
470
  ], !0)
465
471
  ], 512)
466
472
  ], 2)
467
473
  ]),
468
474
  _: 3
469
475
  }, 16, ["theme", "popper-class", "placement", "skidding", "distance", "flip", "shown", "container", "auto-size"]),
470
- e.triggerFeedbackText ? (n(), X(Le, {
476
+ e.triggerFeedbackText ? (i(), X(Oe, {
471
477
  key: 0,
472
478
  text: e.triggerFeedbackText,
473
479
  variant: e.triggerFeedbackVariant,
474
480
  "show-icon": e.triggerFeedbackShowIcon,
475
481
  "test-id": e.testId,
476
482
  class: "dropdown-field-help-text"
477
- }, null, 8, ["text", "variant", "show-icon", "test-id"])) : d("", !0)
483
+ }, null, 8, ["text", "variant", "show-icon", "test-id"])) : a("", !0)
478
484
  ])
479
485
  ], 16, Be));
480
486
  }
481
487
  });
482
488
  export {
483
- Tt as default
489
+ gt as default
484
490
  };
@@ -12,6 +12,7 @@ declare const _default: __VLS_WithTemplateSlots<import("vue").DefineComponent<__
12
12
  iconType?: "fill" | "bold" | "regular" | "branded" | "ad-unit" | "ab-test" | "ad-networks" | "ad-networks/flat" | "content-rate";
13
13
  endIconKey?: string;
14
14
  endIconType?: "fill" | "bold" | "regular" | "branded" | "ad-unit" | "ab-test" | "ad-networks" | "ad-networks/flat" | "content-rate";
15
+ endTextIconKey?: string;
15
16
  toolTipPlacement?: "top" | "auto" | "auto-start" | "auto-end" | "top-start" | "top-end" | "right" | "right-start" | "right-end" | "bottom" | "bottom-start" | "bottom-end" | "left" | "left-start" | "left-end";
16
17
  treeMainOption?: boolean;
17
18
  treeMainOptionExpanded?: boolean;
@@ -33,6 +34,7 @@ declare const _default: __VLS_WithTemplateSlots<import("vue").DefineComponent<__
33
34
  iconType: string;
34
35
  endIconKey: any;
35
36
  endIconType: string;
37
+ endTextIconKey: any;
36
38
  toolTipPlacement: string;
37
39
  treeMainOption: boolean;
38
40
  treeMainOptionExpanded: boolean;
@@ -57,6 +59,7 @@ declare const _default: __VLS_WithTemplateSlots<import("vue").DefineComponent<__
57
59
  iconType?: "fill" | "bold" | "regular" | "branded" | "ad-unit" | "ab-test" | "ad-networks" | "ad-networks/flat" | "content-rate";
58
60
  endIconKey?: string;
59
61
  endIconType?: "fill" | "bold" | "regular" | "branded" | "ad-unit" | "ab-test" | "ad-networks" | "ad-networks/flat" | "content-rate";
62
+ endTextIconKey?: string;
60
63
  toolTipPlacement?: "top" | "auto" | "auto-start" | "auto-end" | "top-start" | "top-end" | "right" | "right-start" | "right-end" | "bottom" | "bottom-start" | "bottom-end" | "left" | "left-start" | "left-end";
61
64
  treeMainOption?: boolean;
62
65
  treeMainOptionExpanded?: boolean;
@@ -78,6 +81,7 @@ declare const _default: __VLS_WithTemplateSlots<import("vue").DefineComponent<__
78
81
  iconType: string;
79
82
  endIconKey: any;
80
83
  endIconType: string;
84
+ endTextIconKey: any;
81
85
  toolTipPlacement: string;
82
86
  treeMainOption: boolean;
83
87
  treeMainOptionExpanded: boolean;
@@ -104,6 +108,7 @@ declare const _default: __VLS_WithTemplateSlots<import("vue").DefineComponent<__
104
108
  iconKey: string;
105
109
  iconType: "fill" | "bold" | "regular" | "branded" | "ad-unit" | "ab-test" | "ad-networks" | "ad-networks/flat" | "content-rate";
106
110
  endIconKey: string;
111
+ endTextIconKey: string;
107
112
  toolTipPlacement: "top" | "auto" | "auto-start" | "auto-end" | "top-start" | "top-end" | "right" | "right-start" | "right-end" | "bottom" | "bottom-start" | "bottom-end" | "left" | "left-start" | "left-end";
108
113
  treeMainOption: boolean;
109
114
  treeMainOptionExpanded: boolean;