@ironsource/shared-ui 2.1.12-test.72 → 2.1.12-test.73

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 (36) hide show
  1. package/ChipDropdownTrigger.vue_vue_type_style_index_0_scoped_38354f10_lang.css +1 -0
  2. package/DropdownV4.vue_vue_type_style_index_0_scoped_92ead583_lang.css +1 -0
  3. package/OptionV4.vue_vue_type_style_index_0_scoped_3dc741c1_lang.css +1 -0
  4. package/SwitchV4.vue_vue_type_style_index_0_scoped_fa120cf6_lang.css +1 -0
  5. package/components/dateRange/common/DateServices.common.d.ts +6 -0
  6. package/components/dateRange/common/DateServices.common.js +87 -92
  7. package/components/dateRange/common/consts.common.d.ts +5 -0
  8. package/components/dateRange/common/consts.common.js +9 -3
  9. package/components/dateRange/v3/DateRange.vue.d.ts +3 -3
  10. package/components/dateRange/v3/DateRangePicker.vue.d.ts +3 -3
  11. package/components/dateRange/v3/index.d.ts +7 -7
  12. package/components/dateRange/v4/DateRangePickerV4.vue.d.ts +3 -3
  13. package/components/dateRange/v4/DateRangeV4.vue.d.ts +3 -3
  14. package/components/dateRange/v4/index.d.ts +7 -7
  15. package/components/dropdown/common/Dropdown.common.d.ts +1 -0
  16. package/components/dropdown/common/Dropdown.common.js +44 -43
  17. package/components/dropdown/v4/ChipDropdownTrigger.vue.d.ts +5 -0
  18. package/components/dropdown/v4/ChipDropdownTrigger.vue.js +3 -3
  19. package/components/dropdown/v4/ChipDropdownTrigger.vue2.js +64 -54
  20. package/components/dropdown/v4/DropdownV4.vue.d.ts +15 -0
  21. package/components/dropdown/v4/DropdownV4.vue.js +2 -2
  22. package/components/dropdown/v4/DropdownV4.vue2.js +226 -195
  23. package/components/dropdown/v4/OptionV4.vue.js +3 -3
  24. package/components/dropdown/v4/OptionV4.vue2.js +71 -68
  25. package/components/dropdown/v4/index.d.ts +67 -1
  26. package/components/switch/v4/SwitchV4.vue.d.ts +5 -0
  27. package/components/switch/v4/SwitchV4.vue.js +3 -3
  28. package/components/switch/v4/SwitchV4.vue2.js +25 -23
  29. package/components/switch/v4/index.d.ts +11 -0
  30. package/index.d.ts +170 -16
  31. package/index.js +1 -1
  32. package/package.json +1 -1
  33. package/ChipDropdownTrigger.vue_vue_type_style_index_0_scoped_e43ac1c9_lang.css +0 -1
  34. package/DropdownV4.vue_vue_type_style_index_0_scoped_08cb822e_lang.css +0 -1
  35. package/OptionV4.vue_vue_type_style_index_0_scoped_9cdf3a94_lang.css +0 -1
  36. package/SwitchV4.vue_vue_type_style_index_0_scoped_c2e356f5_lang.css +0 -1
@@ -1,42 +1,42 @@
1
- import "../../../DropdownV4.vue_vue_type_style_index_0_scoped_08cb822e_lang.css"; import "../../../DropdownV4.vue_vue_type_style_index_1_lang.css"; import { defineComponent as me, computed as H, watch as pe, openBlock as a, createElementBlock as s, mergeProps as f, unref as t, renderSlot as y, createElementVNode as m, createVNode as i, withCtx as u, Transition as ge, normalizeClass as E, normalizeStyle as ke, createTextVNode as k, createCommentVNode as d, isRef as Te, toDisplayString as U, withModifiers as G, Fragment as he, renderList as we, toRaw as C, createSlots as be, createBlock as X, resolveDynamicComponent as Ie } from "vue";
2
- import O from "../../button/v4/ButtonV4.vue.js";
1
+ import "../../../DropdownV4.vue_vue_type_style_index_0_scoped_92ead583_lang.css"; import "../../../DropdownV4.vue_vue_type_style_index_1_lang.css"; import { defineComponent as ke, computed as E, watch as Te, toRaw as I, openBlock as d, createElementBlock as r, mergeProps as f, unref as t, renderSlot as m, createElementVNode as p, createVNode as a, withCtx as u, Transition as we, normalizeClass as B, normalizeStyle as be, createTextVNode as T, createCommentVNode as s, isRef as Ie, toDisplayString as U, withModifiers as X, Fragment as ve, renderList as Se, createSlots as Ce, createBlock as q, resolveDynamicComponent as Ke } from "vue";
2
+ import x 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
- import ve from "./DefaultDropdownTrigger.vue.js";
8
- import Ce from "./IconButtonDropdownTrigger.vue.js";
9
- import Se from "./ChipDropdownTrigger.vue.js";
10
- import Ke from "./AppDropdownTrigger.vue.js";
7
+ import Ae from "./DefaultDropdownTrigger.vue.js";
8
+ import Oe from "./IconButtonDropdownTrigger.vue.js";
9
+ import Le from "./ChipDropdownTrigger.vue.js";
10
+ import Ee from "./AppDropdownTrigger.vue.js";
11
11
  import "./ButtonDropdownTrigger.vue.js";
12
12
  import "./ButtonFilterDropdownTrigger.vue.js";
13
13
  import "./TreeDropdown.vue.js";
14
- import q from "./OptionV4.vue.js";
14
+ import Y from "./OptionV4.vue.js";
15
15
  import "./ConditionalDropdown.vue.js";
16
- import Ae from "../../search/v4/SearchV4.vue.js";
17
- import Y from "../../typography/v4/Typography.vue.js";
18
- import { Dropdown as Le } from "floating-vue";
19
- import { DropdownTestIdModifiers as p } from "../../../testids/index.js";
20
- import { dropdownCommon as Ee } from "../common/Dropdown.common.js";
21
- import S from "../../skeleton/v4/SkeletonV4.vue.js";
22
- import { useTestIdAttrs as Oe } from "../../../utils/testIds.js";
23
- import { TRIGGERS as T } from "./Dropdown.types.js";
24
- import { useElementSize as Be } from "@vueuse/core";
25
- import Fe from "../../shared/FieldHelpText.vue.js";
26
- import Ne from "./GroupOption.vue.js";
27
- const Ve = ["tabindex"], De = { style: { width: "100%" } }, Pe = { key: 0 }, xe = { key: 1 }, Re = { key: 2 }, ze = {
16
+ import Be from "../../search/v4/SearchV4.vue.js";
17
+ import j from "../../typography/v4/Typography.vue.js";
18
+ import { Dropdown as xe } from "floating-vue";
19
+ import { DropdownTestIdModifiers as g } from "../../../testids/index.js";
20
+ import { dropdownCommon as Fe } from "../common/Dropdown.common.js";
21
+ import C from "../../skeleton/v4/SkeletonV4.vue.js";
22
+ import { useTestIdAttrs as Ne } from "../../../utils/testIds.js";
23
+ import { TRIGGERS as w } from "./Dropdown.types.js";
24
+ import { useElementSize as Ve } from "@vueuse/core";
25
+ import De from "../../shared/FieldHelpText.vue.js";
26
+ import Pe from "./GroupOption.vue.js";
27
+ const Re = ["tabindex"], ze = { style: { width: "100%" } }, $e = { key: 0 }, Me = { key: 1 }, We = { key: 2 }, Ge = {
28
28
  key: 0,
29
29
  class: "inline-search-wrapper"
30
- }, $e = { class: "dropdown-conditions" }, We = {
30
+ }, He = { class: "dropdown-conditions" }, Ue = {
31
31
  key: 0,
32
32
  class: "no-result-container"
33
- }, Me = ["aria-selected", "aria-disabled", "onClick"], He = {
33
+ }, Xe = ["aria-selected", "aria-disabled", "onClick"], qe = {
34
34
  key: 3,
35
35
  class: "loader"
36
- }, Ue = {
36
+ }, Ye = {
37
37
  key: 1,
38
38
  class: "actions-wrapper"
39
- }, Ge = { class: "actions-clear-all" }, Xe = { class: "actions-apply-cancel" }, wt = /* @__PURE__ */ me({
39
+ }, je = { class: "actions-clear-all" }, Je = { class: "actions-apply-cancel" }, St = /* @__PURE__ */ ke({
40
40
  __name: "DropdownV4",
41
41
  props: {
42
42
  modelValue: { default: null },
@@ -57,6 +57,8 @@ const Ve = ["tabindex"], De = { style: { width: "100%" } }, Pe = { key: 0 }, xe
57
57
  autoSize: { type: Boolean, default: !1 },
58
58
  disableKeyboardEvents: { type: Boolean, default: !1 },
59
59
  dynamicFilterMode: { type: Boolean, default: !1 },
60
+ minSelections: { default: 0 },
61
+ maxSelections: { default: null },
60
62
  isOnTop: { type: Boolean, default: !1 },
61
63
  distance: { default: 0 },
62
64
  container: { default: "body" },
@@ -69,9 +71,10 @@ const Ve = ["tabindex"], De = { style: { width: "100%" } }, Pe = { key: 0 }, xe
69
71
  triggerFeedbackVariant: { default: null },
70
72
  triggerFeedbackShowIcon: { type: Boolean, default: !1 },
71
73
  triggerShowAllSelectedText: { type: Boolean, default: !0 },
74
+ triggerShownValuesCount: { default: 1 },
72
75
  size: { default: "medium" },
73
76
  mandatory: { type: Boolean, default: !1 },
74
- predefinedTrigger: { default: T.DEFAULT },
77
+ predefinedTrigger: { default: w.DEFAULT },
75
78
  inlineSearch: { type: Boolean, default: !1 },
76
79
  inlineSearchPlaceholder: { default: "Search" },
77
80
  onSearch: { type: Function, default: null },
@@ -104,8 +107,8 @@ const Ve = ["tabindex"], De = { style: { width: "100%" } }, Pe = { key: 0 }, xe
104
107
  withConditions: { type: Boolean, default: !1 }
105
108
  },
106
109
  emits: ["update:selected", "update:isOpen", "closed", "opened", "apply", "selectAll", "clear", "copyToClipboard", "onsearch", "loadMore", "allSelectedChanged", "unsavedSelectionUpdate"],
107
- setup(e, { expose: j, emit: B }) {
108
- const n = e, F = {
110
+ setup(e, { expose: J, emit: F }) {
111
+ const o = e, N = {
109
112
  MULTILINE_LIST_HEIGHT: 48,
110
113
  LIST_HEIGHT: 32 + 4,
111
114
  MAX_NUMBER_OF_OPTIONS: 7.5,
@@ -113,65 +116,89 @@ const Ve = ["tabindex"], De = { style: { width: "100%" } }, Pe = { key: 0 }, xe
113
116
  DROPLIST_MIN_WIDTH: 240,
114
117
  VERSION: 4
115
118
  }, {
116
- onKeydown: w,
119
+ onKeydown: b,
117
120
  open: c,
118
- toggleMenu: I,
119
- onButtonKeydown: N,
120
- query: v,
121
- containerProps: J,
122
- calculateTableHeight: Q,
123
- wrapperProps: Z,
124
- filteredOptions: _,
125
- allSelected: V,
121
+ toggleMenu: v,
122
+ onButtonKeydown: V,
123
+ query: S,
124
+ containerProps: Q,
125
+ calculateTableHeight: Z,
126
+ wrapperProps: _,
127
+ filteredOptions: ee,
128
+ allSelected: D,
126
129
  allSelectedApplied: K,
127
- isIndeterminate: ee,
128
- onSelectAll: te,
129
- virtualOptions: D,
130
+ isIndeterminate: te,
131
+ onSelectAll: oe,
132
+ virtualOptions: P,
130
133
  isSelected: A,
131
- selectedOption: h,
132
- selectedOptionPrevious: L,
133
- selectedValue: oe,
134
- onSelect: P,
135
- activeIndex: x,
136
- onCancel: le,
137
- onApply: ie,
138
- scrollTo: ne,
139
- listRef: ae,
140
- buttonRef: R,
141
- apply: de,
142
- cancel: se,
143
- el: re,
144
- onClearAllSelections: z,
145
- clearAll: ue,
146
- isGroup: ce
147
- } = Ee(n, B, F), g = Oe(n.testId, p), $ = H(() => !n.predefinedTrigger || n.predefinedTrigger === T.DEFAULT ? ve : n.predefinedTrigger === T.APP ? Ke : null), { width: W } = Be(R), ye = H(() => n.optionsListWidth ? n.optionsListWidth : !n.predefinedTrigger || n.predefinedTrigger === T.DEFAULT || n.predefinedTrigger === T.APP ? W.value - 2 > 240 ? `${W.value - 2}px` : `${F.DROPLIST_MIN_WIDTH}px` : "auto");
148
- pe(
149
- () => n.optionsListWidth,
134
+ selectedOption: k,
135
+ selectedOptionPrevious: O,
136
+ selectedValue: ne,
137
+ onSelect: R,
138
+ activeIndex: z,
139
+ onCancel: ie,
140
+ onApply: le,
141
+ scrollTo: ae,
142
+ listRef: de,
143
+ buttonRef: $,
144
+ apply: se,
145
+ cancel: re,
146
+ el: ue,
147
+ onClearAllSelections: M,
148
+ clearAll: ce,
149
+ isGroup: ye,
150
+ flattenAndMarkGroupOptions: me
151
+ } = Fe(o, F, N), h = Ne(o.testId, g), W = E(() => !o.predefinedTrigger || o.predefinedTrigger === w.DEFAULT ? Ae : o.predefinedTrigger === w.APP ? Ee : null), { width: G } = Ve($), fe = E(() => o.optionsListWidth ? o.optionsListWidth : !o.predefinedTrigger || o.predefinedTrigger === w.DEFAULT || o.predefinedTrigger === w.APP ? G.value - 2 > 240 ? `${G.value - 2}px` : `${N.DROPLIST_MIN_WIDTH}px` : "auto");
152
+ Te(
153
+ () => o.optionsListWidth,
150
154
  () => {
151
- n.optionsListWidth && document.documentElement.style.setProperty(
155
+ o.optionsListWidth && document.documentElement.style.setProperty(
152
156
  "--options-list-width",
153
- n.optionsListWidth
157
+ o.optionsListWidth
154
158
  );
155
159
  }
156
160
  );
157
- const M = () => {
158
- I();
159
- };
160
- return j({
161
- selectItem: P,
162
- scrollTo: ne
163
- }), (r, l) => (a(), s("div", f({
161
+ const H = () => {
162
+ v();
163
+ }, pe = E(() => {
164
+ if (o.multi && o.comparingKey) {
165
+ const i = I(k.value);
166
+ if (o.minSelections || o.maxSelections) {
167
+ if (Array.isArray(i) && i.length <= o.minSelections)
168
+ return i.map((l) => l[o.comparingKey]);
169
+ if (o.maxSelections && Array.isArray(i) && i.length >= o.maxSelections) {
170
+ const l = i.map(
171
+ (y) => y[o.comparingKey]
172
+ );
173
+ return (o.groupedOptions ? me(o.options) : o.options).map((y) => {
174
+ if (!l.includes(y[o.comparingKey]))
175
+ return y[o.comparingKey];
176
+ });
177
+ }
178
+ }
179
+ }
180
+ return [];
181
+ }), ge = (i) => {
182
+ if ((o.minSelections || o.maxSelections) && o.comparingKey)
183
+ return pe.value.includes(
184
+ i[o.comparingKey]
185
+ );
186
+ }, L = (i) => i[o.disabledOptionKey] || ge(i);
187
+ return J({
188
+ selectItem: R,
189
+ scrollTo: ae
190
+ }), (i, l) => (d(), r("div", f({
164
191
  ref_key: "el",
165
- ref: re,
192
+ ref: ue,
166
193
  class: ["dropdown dropdown--main-wrapper", [{ "dropdown--disabled": e.disabled, "full-width": e.fullWidth }]],
167
194
  tabindex: e.disabled ? -1 : 0
168
- }, t(g)[t(p).WRAPPER], {
195
+ }, t(h)[t(g).WRAPPER], {
169
196
  onKeydown: l[8] || (l[8] = //@ts-ignore
170
- (...o) => t(w) && t(w)(...o))
197
+ (...n) => t(b) && t(b)(...n))
171
198
  }), [
172
- y(r.$slots, "label", {}, void 0, !0),
173
- m("div", De, [
174
- i(t(Le), f({
199
+ m(i.$slots, "label", {}, void 0, !0),
200
+ p("div", ze, [
201
+ a(t(xe), f({
175
202
  theme: e.theme,
176
203
  "popper-class": [
177
204
  e.popperClass,
@@ -188,42 +215,42 @@ const Ve = ["tabindex"], De = { style: { width: "100%" } }, Pe = { key: 0 }, xe
188
215
  "auto-hide": !1,
189
216
  container: e.container,
190
217
  "auto-size": e.autoSize
191
- }, t(g)[t(p).TRIGGER]), {
218
+ }, t(h)[t(g).TRIGGER]), {
192
219
  popper: u(() => [
193
- i(ge, null, {
220
+ a(we, null, {
194
221
  default: u(() => [
195
- t(c) ? (a(), s("div", {
222
+ t(c) ? (d(), r("div", {
196
223
  key: 0,
197
224
  ref_key: "listRef",
198
- ref: ae,
199
- class: E(["light-theme-v4", {
225
+ ref: de,
226
+ class: B(["light-theme-v4", {
200
227
  "dropdown--disabled": e.disabled,
201
228
  "inline-search": e.inlineSearch
202
229
  }]),
203
- style: ke({ width: t(ye) })
230
+ style: be({ width: t(fe) })
204
231
  }, [
205
- t(c) ? (a(), s("div", {
232
+ t(c) ? (d(), r("div", {
206
233
  key: 0,
207
- class: E(["dropdown-list-wrapper", { "dropdown-list-wrapper--multi": e.multi }]),
234
+ class: B(["dropdown-list-wrapper", { "dropdown-list-wrapper--multi": e.multi }]),
208
235
  onKeydown: l[7] || (l[7] = //@ts-ignore
209
- (...o) => t(w) && t(w)(...o))
236
+ (...n) => t(b) && t(b)(...n))
210
237
  }, [
211
- t(c) && e.inlineSearch ? (a(), s("div", ze, [
212
- e.withConditions ? y(r.$slots, "dropdown-conditions", { key: 0 }, () => [
213
- m("div", $e, [
214
- i(t(Y), { variant: "body2" }, {
238
+ t(c) && e.inlineSearch ? (d(), r("div", Ge, [
239
+ e.withConditions ? m(i.$slots, "dropdown-conditions", { key: 0 }, () => [
240
+ p("div", He, [
241
+ a(t(j), { variant: "body2" }, {
215
242
  default: u(() => [
216
- k("Conditions")
243
+ T("Conditions")
217
244
  ]),
218
245
  _: 1
219
246
  })
220
247
  ])
221
- ], !0) : d("", !0),
222
- y(r.$slots, "inline-search", {}, () => [
223
- i(t(Ae), {
224
- modelValue: t(v),
248
+ ], !0) : s("", !0),
249
+ m(i.$slots, "inline-search", {}, () => [
250
+ a(t(Be), {
251
+ modelValue: t(S),
225
252
  "onUpdate:modelValue": [
226
- l[4] || (l[4] = (o) => Te(v) ? v.value = o : null),
253
+ l[4] || (l[4] = (n) => Ie(S) ? S.value = n : null),
227
254
  e.onClearSearch
228
255
  ],
229
256
  placeholder: e.inlineSearchPlaceholder,
@@ -231,83 +258,86 @@ const Ve = ["tabindex"], De = { style: { width: "100%" } }, Pe = { key: 0 }, xe
231
258
  size: "md",
232
259
  "auto-focus": e.searchAutoFocus,
233
260
  "test-id": e.testId,
234
- onKeydown: t(w)
261
+ onKeydown: t(b)
235
262
  }, null, 8, ["modelValue", "placeholder", "auto-focus", "test-id", "onUpdate:modelValue", "onKeydown"])
236
263
  ], !0)
237
- ])) : d("", !0),
238
- y(r.$slots, "input-list", { open: t(c) }, void 0, !0),
239
- m("div", f({
264
+ ])) : s("", !0),
265
+ m(i.$slots, "input-list", { open: t(c) }, void 0, !0),
266
+ p("div", f({
240
267
  class: ["list-container", { "list-container--multi": e.multi }],
241
- style: { height: `${t(Q)}rem` }
268
+ style: { height: `${t(Z)}rem` }
242
269
  }, {
243
- ...t(J),
244
- ...t(g)[t(p).LIST_CONTAINER]
270
+ ...t(Q),
271
+ ...t(h)[t(g).LIST_CONTAINER]
245
272
  }), [
246
- y(r.$slots, "custom-list-area", {}, void 0, !0),
247
- m("ul", f(t(Z), {
273
+ m(i.$slots, "custom-list-area", {}, void 0, !0),
274
+ p("ul", f(t(_), {
248
275
  role: "listbox",
249
276
  class: ["list", {
250
277
  "list--multi": e.multi,
251
278
  "list--with-conditions": e.withConditions
252
279
  }]
253
280
  }), [
254
- !t(_).length && !e.loading && !e.withConditions ? (a(), s("li", We, [
255
- i(t(Y), f({ variant: "body2" }, t(g)[t(p).NO_RESULT]), {
281
+ !t(ee).length && !e.loading && !e.withConditions ? (d(), r("li", Ue, [
282
+ a(t(j), f({ variant: "body2" }, t(h)[t(g).NO_RESULT]), {
256
283
  default: u(() => [
257
- k(U(e.noResultsText), 1)
284
+ T(U(e.noResultsText), 1)
258
285
  ]),
259
286
  _: 1
260
287
  }, 16)
261
- ])) : d("", !0),
262
- e.showSelectAll !== !1 && e.multi && !t(v) && !e.loading && e.options.length ? y(r.$slots, "select-all", { key: 1 }, () => [
263
- m("li", null, [
264
- i(t(q), f(
288
+ ])) : s("", !0),
289
+ e.showSelectAll !== !1 && e.multi && !t(S) && !e.loading && e.options.length && !(e.minSelections || e.maxSelections) ? m(i.$slots, "select-all", { key: 1 }, () => [
290
+ p("li", null, [
291
+ a(t(Y), f(
265
292
  {
266
- "aria-selected": t(V),
293
+ "aria-selected": t(D),
267
294
  "aria-disabled": !!e.disabled,
268
- "selected-prop": t(V),
269
- "is-indeterminate": t(ee),
295
+ "selected-prop": t(D),
296
+ "is-indeterminate": t(te),
270
297
  "is-multi": e.multi,
271
298
  "select-all-option": ""
272
299
  },
273
- t(g)[t(p).SELECT_ALL],
300
+ t(h)[t(g).SELECT_ALL],
274
301
  {
275
- onClick: l[5] || (l[5] = G((o) => t(te)(), ["stop"]))
302
+ onClick: l[5] || (l[5] = X((n) => t(oe)(), ["stop"]))
276
303
  }
277
304
  ), {
278
305
  default: u(() => [
279
- k(" Select all ")
306
+ T(" Select all ")
280
307
  ]),
281
308
  _: 1
282
309
  }, 16, ["aria-selected", "aria-disabled", "selected-prop", "is-indeterminate", "is-multi"])
283
310
  ])
284
- ], !0) : d("", !0),
285
- t(D).length && !e.loading ? (a(!0), s(he, { key: 2 }, we(t(D), ({ data: o, index: b }) => (a(), s("li", {
286
- key: b,
287
- "aria-selected": t(A)(C(t(h)), o),
311
+ ], !0) : s("", !0),
312
+ t(P).length && !e.loading ? (d(!0), r(ve, { key: 2 }, Se(t(P), ({ data: n, index: y }) => (d(), r("li", {
313
+ key: y,
314
+ "aria-selected": t(A)(I(t(k)), n),
288
315
  "aria-disabled": !!e.disabled,
289
- onClick: G(() => t(P)(o, b), ["stop"])
316
+ onClick: X(
317
+ () => !L(n) && t(R)(n, y),
318
+ ["stop"]
319
+ )
290
320
  }, [
291
- e.groupedOptions && t(ce)(o) ? y(r.$slots, "group-option", { key: 0 }, () => [
292
- i(Ne, null, {
321
+ e.groupedOptions && t(ye)(n) ? m(i.$slots, "group-option", { key: 0 }, () => [
322
+ a(Pe, null, {
293
323
  default: u(() => [
294
- k(U(e.displayValue(o) || o[e.optionNameKey]), 1)
324
+ T(U(e.displayValue(n) || n[e.optionNameKey]), 1)
295
325
  ]),
296
326
  _: 2
297
327
  }, 1024)
298
- ], !0) : y(r.$slots, "default", {
328
+ ], !0) : m(i.$slots, "default", {
299
329
  key: 1,
300
- option: o,
301
- index: b,
302
- selected: t(A)(C(t(h)), o),
303
- active: C(t(x)) === b,
304
- disabled: o[n.disabledOptionKey]
330
+ option: n,
331
+ index: y,
332
+ selected: t(A)(I(t(k)), n),
333
+ active: I(t(z)) === y,
334
+ disabled: L(n)
305
335
  }, () => [
306
- i(t(q), {
307
- option: o,
308
- "selected-prop": t(A)(t(h), o),
309
- active: C(t(x)) === b,
310
- disabled: o[n.disabledOptionKey],
336
+ a(t(Y), {
337
+ option: n,
338
+ "selected-prop": t(A)(t(k), n),
339
+ active: I(t(z)) === y,
340
+ disabled: L(n),
311
341
  "name-key": e.optionNameKey,
312
342
  "image-key": e.optionImageKey,
313
343
  "icon-key": e.optionIconKey,
@@ -320,101 +350,101 @@ const Ve = ["tabindex"], De = { style: { width: "100%" } }, Pe = { key: 0 }, xe
320
350
  "option-two-lines-variant": e.optionTwoLinesVariant,
321
351
  "option-two-lines-key": e.optionTwoLinesKey,
322
352
  "is-multi": e.multi
323
- }, be({ _: 2 }, [
324
- r.$slots["option-end"] ? {
353
+ }, Ce({ _: 2 }, [
354
+ i.$slots["option-end"] ? {
325
355
  name: "option-end",
326
- fn: u(({ option: fe }) => [
327
- y(r.$slots, "option-end", { option: fe }, void 0, !0)
356
+ fn: u(({ option: he }) => [
357
+ m(i.$slots, "option-end", { option: he }, void 0, !0)
328
358
  ]),
329
359
  key: "0"
330
360
  } : void 0
331
361
  ]), 1032, ["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", "warning-key", "option-two-lines-variant", "option-two-lines-key", "is-multi"])
332
362
  ], !0)
333
- ], 8, Me))), 128)) : d("", !0),
334
- e.loading || e.loadMoreLoading ? (a(), s("li", He, [
335
- i(t(S), { round: "" }),
336
- i(t(S), { round: "" }),
337
- i(t(S), { round: "" }),
338
- i(t(S), { round: "" })
339
- ])) : d("", !0)
363
+ ], 8, Xe))), 128)) : s("", !0),
364
+ e.loading || e.loadMoreLoading ? (d(), r("li", qe, [
365
+ a(t(C), { round: "" }),
366
+ a(t(C), { round: "" }),
367
+ a(t(C), { round: "" }),
368
+ a(t(C), { round: "" })
369
+ ])) : s("", !0)
340
370
  ], 16)
341
371
  ], 16),
342
- e.multi ? (a(), s("div", Ue, [
343
- m("div", Ge, [
344
- i(t(O), f(
372
+ e.multi ? (d(), r("div", Ye, [
373
+ p("div", je, [
374
+ a(t(x), f(
345
375
  {
346
376
  ref_key: "clearAll",
347
- ref: ue,
377
+ ref: ce,
348
378
  size: "small",
349
379
  variant: "text",
350
380
  color: "primary"
351
381
  },
352
- t(g)[t(p).ACTION_CLEAR_ALL],
382
+ t(h)[t(g).ACTION_CLEAR_ALL],
353
383
  {
354
- onClick: l[6] || (l[6] = () => t(z)(!1))
384
+ onClick: l[6] || (l[6] = () => t(M)(!1))
355
385
  }
356
386
  ), {
357
387
  default: u(() => [
358
- k(" Clear all ")
388
+ T(" Clear all ")
359
389
  ]),
360
390
  _: 1
361
391
  }, 16)
362
392
  ]),
363
- m("div", Xe, [
364
- i(t(O), f(
393
+ p("div", Je, [
394
+ a(t(x), f(
365
395
  {
366
396
  ref_key: "cancel",
367
- ref: se,
397
+ ref: re,
368
398
  size: "small",
369
399
  variant: "outlined",
370
400
  color: "primary"
371
401
  },
372
- t(g)[t(p).ACTION_CANCEL],
373
- { onClick: t(le) }
402
+ t(h)[t(g).ACTION_CANCEL],
403
+ { onClick: t(ie) }
374
404
  ), {
375
405
  default: u(() => [
376
- k(" Cancel ")
406
+ T(" Cancel ")
377
407
  ]),
378
408
  _: 1
379
409
  }, 16, ["onClick"]),
380
- i(t(O), f({
410
+ a(t(x), f({
381
411
  ref_key: "apply",
382
- ref: de,
412
+ ref: se,
383
413
  "data-testid": "mutli-apply",
384
414
  size: "small",
385
415
  class: "apply-button"
386
- }, t(g)[t(p).ACTION_APPLY], { onClick: t(ie) }), {
416
+ }, t(h)[t(g).ACTION_APPLY], { onClick: t(le) }), {
387
417
  default: u(() => [
388
- k(" Apply ")
418
+ T(" Apply ")
389
419
  ]),
390
420
  _: 1
391
421
  }, 16, ["onClick"])
392
422
  ])
393
- ])) : d("", !0)
394
- ], 34)) : d("", !0)
395
- ], 6)) : d("", !0)
423
+ ])) : s("", !0)
424
+ ], 34)) : s("", !0)
425
+ ], 6)) : s("", !0)
396
426
  ]),
397
427
  _: 3
398
428
  })
399
429
  ]),
400
430
  default: u(() => [
401
- m("div", {
402
- class: E(["button__container", {
431
+ p("div", {
432
+ class: B(["button__container", {
403
433
  "button__container--open": !!t(c),
404
434
  [`button__container--${e.size}`]: !0,
405
435
  "button__container--disabled": e.disabled
406
436
  }])
407
437
  }, [
408
- m("div", {
438
+ p("div", {
409
439
  ref_key: "buttonRef",
410
- ref: R
440
+ ref: $
411
441
  }, [
412
- y(r.$slots, "dropdown-trigger", {
442
+ m(i.$slots, "dropdown-trigger", {
413
443
  buttonTriggerProps: {
414
444
  open: t(c),
415
445
  disabled: e.disabled,
416
- label: t(oe) || e.placeholder,
417
- onClick: () => t(I)()
446
+ label: t(ne) || e.placeholder,
447
+ onClick: () => t(v)()
418
448
  },
419
449
  defaultTriggerProps: {
420
450
  placeholder: e.placeholder,
@@ -425,7 +455,7 @@ const Ve = ["tabindex"], De = { style: { width: "100%" } }, Pe = { key: 0 }, xe
425
455
  testId: e.testId,
426
456
  multi: e.multi,
427
457
  disabled: e.disabled,
428
- selectedOption: e.multi ? t(L) : t(h),
458
+ selectedOption: e.multi ? t(O) : t(k),
429
459
  displayValue: e.displayValue,
430
460
  options: e.options,
431
461
  optionNameKey: e.optionNameKey,
@@ -442,12 +472,12 @@ const Ve = ["tabindex"], De = { style: { width: "100%" } }, Pe = { key: 0 }, xe
442
472
  size: e.size,
443
473
  showAllSelectedText: e.triggerShowAllSelectedText,
444
474
  allSelected: t(K),
445
- onKeydown: t(N),
446
- onClick: M
475
+ onKeydown: t(V),
476
+ onClick: H
447
477
  }
448
478
  }, () => [
449
- t($) ? (a(), s("div", Pe, [
450
- (a(), X(Ie(t($)), {
479
+ t(W) ? (d(), r("div", $e, [
480
+ (d(), q(Ke(t(W)), {
451
481
  placeholder: e.placeholder,
452
482
  open: t(c),
453
483
  label: e.triggerLabel,
@@ -456,7 +486,7 @@ const Ve = ["tabindex"], De = { style: { width: "100%" } }, Pe = { key: 0 }, xe
456
486
  "test-id": e.testId,
457
487
  multi: e.multi,
458
488
  disabled: e.disabled,
459
- "selected-option": e.multi ? t(L) : t(h),
489
+ "selected-option": e.multi ? t(O) : t(k),
460
490
  "display-value": e.displayValue,
461
491
  options: e.options,
462
492
  "option-name-key": e.optionNameKey,
@@ -473,48 +503,49 @@ const Ve = ["tabindex"], De = { style: { width: "100%" } }, Pe = { key: 0 }, xe
473
503
  size: e.size,
474
504
  "show-all-selected-text": e.triggerShowAllSelectedText,
475
505
  "all-selected": t(K),
476
- onKeydown: t(N),
477
- onClick: M,
478
- onCopyToClipboard: l[0] || (l[0] = (o) => B("copyToClipboard"))
506
+ onKeydown: t(V),
507
+ onClick: H,
508
+ onCopyToClipboard: l[0] || (l[0] = (n) => F("copyToClipboard"))
479
509
  }, 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"]))
480
- ])) : d("", !0),
481
- e.predefinedTrigger === t(T).ICON_BUTTON ? (a(), s("div", xe, [
482
- i(t(Ce), {
483
- onClick: l[1] || (l[1] = (o) => t(I)())
510
+ ])) : s("", !0),
511
+ e.predefinedTrigger === t(w).ICON_BUTTON ? (d(), r("div", Me, [
512
+ a(t(Oe), {
513
+ onClick: l[1] || (l[1] = (n) => t(v)())
484
514
  })
485
- ])) : d("", !0),
486
- e.predefinedTrigger === t(T).CHIP ? (a(), s("div", Re, [
487
- i(t(Se), {
515
+ ])) : s("", !0),
516
+ e.predefinedTrigger === t(w).CHIP ? (d(), r("div", We, [
517
+ a(t(Le), {
488
518
  open: t(c),
489
519
  label: e.placeholder,
490
520
  "test-id": e.testId,
491
521
  options: e.options,
492
- "selected-option": e.multi ? t(L) : t(h),
522
+ "selected-option": e.multi ? t(O) : t(k),
493
523
  "display-value": e.displayValue,
494
524
  multi: e.multi,
495
525
  "all-selected": t(K),
496
- onClick: l[2] || (l[2] = (o) => t(I)()),
497
- onClear: l[3] || (l[3] = (o) => t(z)())
498
- }, null, 8, ["open", "label", "test-id", "options", "selected-option", "display-value", "multi", "all-selected"])
499
- ])) : d("", !0)
526
+ "shown-values-count": e.triggerShownValuesCount,
527
+ onClick: l[2] || (l[2] = (n) => t(v)()),
528
+ onClear: l[3] || (l[3] = (n) => t(M)())
529
+ }, null, 8, ["open", "label", "test-id", "options", "selected-option", "display-value", "multi", "all-selected", "shown-values-count"])
530
+ ])) : s("", !0)
500
531
  ], !0)
501
532
  ], 512)
502
533
  ], 2)
503
534
  ]),
504
535
  _: 3
505
536
  }, 16, ["theme", "popper-class", "placement", "skidding", "distance", "flip", "shown", "container", "auto-size"]),
506
- e.triggerFeedbackText ? (a(), X(Fe, {
537
+ e.triggerFeedbackText ? (d(), q(De, {
507
538
  key: 0,
508
539
  text: e.triggerFeedbackText,
509
540
  variant: e.triggerFeedbackVariant,
510
541
  "show-icon": e.triggerFeedbackShowIcon,
511
542
  "test-id": e.testId,
512
543
  class: "dropdown-field-help-text"
513
- }, null, 8, ["text", "variant", "show-icon", "test-id"])) : d("", !0)
544
+ }, null, 8, ["text", "variant", "show-icon", "test-id"])) : s("", !0)
514
545
  ])
515
- ], 16, Ve));
546
+ ], 16, Re));
516
547
  }
517
548
  });
518
549
  export {
519
- wt as default
550
+ St as default
520
551
  };