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