@ironsource/shared-ui 2.1.10-rc.1 → 2.1.10-rc.3

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