@ironsource/shared-ui 2.1.6-rc.38 → 2.1.6-rc.39

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.
@@ -1,26 +1,26 @@
1
- import "../../../DropdownV4.vue_vue_type_style_index_0_scoped_b484da34_lang.css"; import "../../../DropdownV4.vue_vue_type_style_index_1_lang.css"; import { defineComponent as se, computed as x, openBlock as i, createElementBlock as n, mergeProps as u, unref as e, renderSlot as w, createElementVNode as p, createVNode as a, withCtx as c, Transition as ue, normalizeClass as A, normalizeStyle as ce, isRef as fe, createCommentVNode as r, createTextVNode as g, toDisplayString as ye, withModifiers as $, Fragment as pe, renderList as me, toRaw as h, createBlock as H, resolveDynamicComponent as ge } from "vue";
2
- import L from "../../button/v4/ButtonV4.vue.js";
1
+ import "../../../DropdownV4.vue_vue_type_style_index_0_scoped_7af4f288_lang.css"; import "../../../DropdownV4.vue_vue_type_style_index_1_lang.css"; import { defineComponent as se, computed as x, openBlock as i, createElementBlock as n, mergeProps as u, unref as e, renderSlot as v, createElementVNode as p, createVNode as a, withCtx as c, Transition as ue, normalizeClass as A, normalizeStyle as ce, isRef as fe, createCommentVNode as r, createTextVNode as g, toDisplayString as ye, withModifiers as $, Fragment as pe, renderList as me, toRaw as h, createBlock as H, resolveDynamicComponent as ge } from "vue";
2
+ import O from "../../button/v4/ButtonV4.vue.js";
3
3
  import "../../button/v4/IconButtonV4.vue.js";
4
4
  import "./DropdownV4.vue.js";
5
- import ke from "./DefaultDropdownTrigger.vue.js";
6
- import Te from "./IconButtonDropdownTrigger.vue.js";
5
+ import Te from "./DefaultDropdownTrigger.vue.js";
6
+ import ke from "./IconButtonDropdownTrigger.vue.js";
7
7
  import be from "./ChipDropdownTrigger.vue.js";
8
8
  import he from "./AppDropdownTrigger.vue.js";
9
9
  import "./ButtonDropdownTrigger.vue.js";
10
10
  import "./ButtonFilterDropdownTrigger.vue.js";
11
11
  import "./TreeDropdown.vue.js";
12
12
  import U from "./OptionV4.vue.js";
13
- import Ie from "../../search/v4/SearchV4.vue.js";
13
+ import we from "../../search/v4/SearchV4.vue.js";
14
14
  import W from "../../typography/v4/Typography.vue.js";
15
- import { Dropdown as ve } from "floating-vue";
15
+ import { Dropdown as Ie } from "floating-vue";
16
16
  import { DropdownTestIdModifiers as f } from "../../../testids/index.js";
17
- import { dropdownCommon as we } from "../common/Dropdown.common.js";
17
+ import { dropdownCommon as ve } from "../common/Dropdown.common.js";
18
18
  import Ce from "../../loader/v4/Loader.vue.js";
19
19
  import { useTestIdAttrs as Se } from "../../../utils/testIds.js";
20
20
  import { TRIGGERS as m } from "./Dropdown.types.js";
21
21
  import { useElementSize as Ae } from "@vueuse/core";
22
- import Le from "../../shared/FieldHelpText.vue.js";
23
- const Oe = ["tabindex"], Ee = { style: { width: "100%" } }, Be = { key: 0 }, Ke = { key: 1 }, Ne = { key: 2 }, De = {
22
+ import Oe from "../../shared/FieldHelpText.vue.js";
23
+ const Le = ["tabindex"], Ee = { style: { width: "100%" } }, Be = { key: 0 }, Ke = { key: 1 }, Ne = { key: 2 }, De = {
24
24
  key: 0,
25
25
  class: "inline-search-wrapper"
26
26
  }, Pe = {
@@ -61,6 +61,7 @@ const Oe = ["tabindex"], Ee = { style: { width: "100%" } }, Be = { key: 0 }, Ke
61
61
  triggerFeedbackText: { default: "" },
62
62
  triggerFeedbackVariant: { default: null },
63
63
  triggerFeedbackShowIcon: { type: Boolean, default: !1 },
64
+ triggerShowAllSelectedText: { type: Boolean, default: !0 },
64
65
  size: { default: "medium" },
65
66
  mandatory: { type: Boolean, default: !1 },
66
67
  predefinedTrigger: { default: m.DEFAULT },
@@ -83,10 +84,11 @@ const Oe = ["tabindex"], Ee = { style: { width: "100%" } }, Be = { key: 0 }, Ke
83
84
  fullWidth: { type: Boolean, default: !0 },
84
85
  optionsListWidth: { default: null },
85
86
  statusType: { default: null },
86
- disableVirtualScroll: { type: Boolean, default: !1 }
87
+ disableVirtualScroll: { type: Boolean, default: !1 },
88
+ overrideOptionCountCalculation: { type: Function, default: null }
87
89
  },
88
90
  emits: ["update:selected", "update:isOpen", "closed", "opened", "apply", "selectAll", "clear", "copyToClipboard"],
89
- setup(t, { expose: M, emit: O }) {
91
+ setup(t, { expose: M, emit: L }) {
90
92
  const d = t, E = {
91
93
  MULTILINE_LIST_HEIGHT: 48,
92
94
  LIST_HEIGHT: 32 + 4,
@@ -95,9 +97,9 @@ const Oe = ["tabindex"], Ee = { style: { width: "100%" } }, Be = { key: 0 }, Ke
95
97
  DROPLIST_MIN_WIDTH: 240,
96
98
  VERSION: 4
97
99
  }, {
98
- onKeydown: k,
100
+ onKeydown: T,
99
101
  open: s,
100
- toggleMenu: I,
102
+ toggleMenu: w,
101
103
  onButtonKeydown: G,
102
104
  query: C,
103
105
  containerProps: X,
@@ -109,7 +111,7 @@ const Oe = ["tabindex"], Ee = { style: { width: "100%" } }, Be = { key: 0 }, Ke
109
111
  onSelectAll: Q,
110
112
  virtualOptions: K,
111
113
  isSelected: S,
112
- selectedOption: T,
114
+ selectedOption: k,
113
115
  selectedOptionPrevious: N,
114
116
  selectedValue: Z,
115
117
  onSelect: D,
@@ -124,24 +126,24 @@ const Oe = ["tabindex"], Ee = { style: { width: "100%" } }, Be = { key: 0 }, Ke
124
126
  el: ne,
125
127
  onClearAllSelections: F,
126
128
  clearAll: ae
127
- } = we(d, O, E), y = Se(d.testId, f), V = x(() => !d.predefinedTrigger || d.predefinedTrigger === m.DEFAULT ? ke : d.predefinedTrigger === m.APP ? he : null), { width: z } = Ae(R), de = x(() => d.optionsListWidth ? d.optionsListWidth : !d.predefinedTrigger || d.predefinedTrigger === m.DEFAULT || d.predefinedTrigger === m.APP ? z.value - 2 > 240 ? `${z.value - 2}px` : `${E.DROPLIST_MIN_WIDTH}px` : "auto"), re = () => {
128
- I();
129
+ } = ve(d, L, E), y = Se(d.testId, f), V = x(() => !d.predefinedTrigger || d.predefinedTrigger === m.DEFAULT ? Te : d.predefinedTrigger === m.APP ? he : null), { width: z } = Ae(R), de = x(() => d.optionsListWidth ? d.optionsListWidth : !d.predefinedTrigger || d.predefinedTrigger === m.DEFAULT || d.predefinedTrigger === m.APP ? z.value - 2 > 240 ? `${z.value - 2}px` : `${E.DROPLIST_MIN_WIDTH}px` : "auto"), re = () => {
130
+ w();
129
131
  };
130
132
  return M({
131
133
  selectItem: D,
132
134
  scrollTo: te
133
- }), (v, o) => (i(), n("div", u({
135
+ }), (I, o) => (i(), n("div", u({
134
136
  ref_key: "el",
135
137
  ref: ne,
136
138
  class: ["dropdown dropdown--main-wrapper", [{ "dropdown--disabled": t.disabled, "full-width": t.fullWidth }]],
137
139
  tabindex: t.disabled ? -1 : 0
138
140
  }, e(y)[e(f).WRAPPER], {
139
141
  onKeydown: o[8] || (o[8] = //@ts-ignore
140
- (...l) => e(k) && e(k)(...l))
142
+ (...l) => e(T) && e(T)(...l))
141
143
  }), [
142
- w(v.$slots, "label", {}, void 0, !0),
144
+ v(I.$slots, "label", {}, void 0, !0),
143
145
  p("div", Ee, [
144
- a(e(ve), u({
146
+ a(e(Ie), u({
145
147
  theme: t.theme,
146
148
  "popper-class": [
147
149
  t.popperClass,
@@ -176,10 +178,10 @@ const Oe = ["tabindex"], Ee = { style: { width: "100%" } }, Be = { key: 0 }, Ke
176
178
  key: 0,
177
179
  class: A(["dropdown-list-wrapper", { "dropdown-list-wrapper--multi": t.multi }]),
178
180
  onKeydown: o[7] || (o[7] = //@ts-ignore
179
- (...l) => e(k) && e(k)(...l))
181
+ (...l) => e(T) && e(T)(...l))
180
182
  }, [
181
183
  e(s) && t.inlineSearch ? (i(), n("div", De, [
182
- a(e(Ie), {
184
+ a(e(we), {
183
185
  modelValue: e(C),
184
186
  "onUpdate:modelValue": [
185
187
  o[4] || (o[4] = (l) => fe(C) ? C.value = l : null),
@@ -190,10 +192,10 @@ const Oe = ["tabindex"], Ee = { style: { width: "100%" } }, Be = { key: 0 }, Ke
190
192
  size: "md",
191
193
  "auto-focus": t.searchAutoFocus,
192
194
  "test-id": t.testId,
193
- onKeydown: e(k)
195
+ onKeydown: e(T)
194
196
  }, null, 8, ["modelValue", "placeholder", "auto-focus", "test-id", "onUpdate:modelValue", "onKeydown"])
195
197
  ])) : r("", !0),
196
- w(v.$slots, "input-list", { open: e(s) }, void 0, !0),
198
+ v(I.$slots, "input-list", { open: e(s) }, void 0, !0),
197
199
  p("div", u({
198
200
  class: ["list-container", { "list-container--multi": t.multi }],
199
201
  style: { height: `${e(q)}rem` }
@@ -244,20 +246,20 @@ const Oe = ["tabindex"], Ee = { style: { width: "100%" } }, Be = { key: 0 }, Ke
244
246
  ])) : r("", !0),
245
247
  e(K).length && !t.loading ? (i(!0), n(pe, { key: 3 }, me(e(K), ({ data: l, index: b }) => (i(), n("li", {
246
248
  key: b,
247
- "aria-selected": e(S)(h(e(T)), l),
249
+ "aria-selected": e(S)(h(e(k)), l),
248
250
  "aria-disabled": !!t.disabled,
249
251
  onClick: $(() => e(D)(l, b), ["stop"])
250
252
  }, [
251
- w(v.$slots, "default", {
253
+ v(I.$slots, "default", {
252
254
  option: l,
253
255
  index: b,
254
- selected: e(S)(h(e(T)), l),
256
+ selected: e(S)(h(e(k)), l),
255
257
  active: h(e(P)) === b,
256
258
  disabled: l[d.disabledOptionKey]
257
259
  }, () => [
258
260
  a(e(U), {
259
261
  option: l,
260
- "selected-prop": e(S)(h(e(T)), l),
262
+ "selected-prop": e(S)(h(e(k)), l),
261
263
  active: h(e(P)) === b,
262
264
  disabled: l[d.disabledOptionKey],
263
265
  "name-key": t.optionNameKey,
@@ -273,7 +275,7 @@ const Oe = ["tabindex"], Ee = { style: { width: "100%" } }, Be = { key: 0 }, Ke
273
275
  ], 16),
274
276
  t.multi ? (i(), n("div", ze, [
275
277
  p("div", xe, [
276
- a(e(L), u(
278
+ a(e(O), u(
277
279
  {
278
280
  ref_key: "clearAll",
279
281
  ref: ae,
@@ -293,7 +295,7 @@ const Oe = ["tabindex"], Ee = { style: { width: "100%" } }, Be = { key: 0 }, Ke
293
295
  }, 16)
294
296
  ]),
295
297
  p("div", $e, [
296
- a(e(L), u(
298
+ a(e(O), u(
297
299
  {
298
300
  ref_key: "cancel",
299
301
  ref: ie,
@@ -309,7 +311,7 @@ const Oe = ["tabindex"], Ee = { style: { width: "100%" } }, Be = { key: 0 }, Ke
309
311
  ]),
310
312
  _: 1
311
313
  }, 16, ["onClick"]),
312
- a(e(L), u({
314
+ a(e(O), u({
313
315
  ref_key: "apply",
314
316
  ref: oe,
315
317
  "data-testid": "mutli-apply",
@@ -337,12 +339,12 @@ const Oe = ["tabindex"], Ee = { style: { width: "100%" } }, Be = { key: 0 }, Ke
337
339
  "button__container--disabled": t.disabled
338
340
  }])
339
341
  }, [
340
- w(v.$slots, "dropdown-trigger", {
342
+ v(I.$slots, "dropdown-trigger", {
341
343
  buttonTriggerProps: {
342
344
  open: e(s),
343
345
  disabled: t.disabled,
344
346
  label: e(Z) || t.placeholder,
345
- onClick: () => e(I)()
347
+ onClick: () => e(w)()
346
348
  }
347
349
  }, () => [
348
350
  p("div", {
@@ -359,7 +361,7 @@ const Oe = ["tabindex"], Ee = { style: { width: "100%" } }, Be = { key: 0 }, Ke
359
361
  "test-id": t.testId,
360
362
  multi: t.multi,
361
363
  disabled: t.disabled,
362
- "selected-option": t.multi ? e(N) : e(T),
364
+ "selected-option": t.multi ? e(N) : e(k),
363
365
  "display-value": t.displayValue,
364
366
  options: t.options,
365
367
  "option-name-key": t.optionNameKey,
@@ -372,14 +374,15 @@ const Oe = ["tabindex"], Ee = { style: { width: "100%" } }, Be = { key: 0 }, Ke
372
374
  "value-to-copy": t.valueToCopy,
373
375
  "status-dot-type": t.statusType,
374
376
  size: t.size,
377
+ "show-all-selected-text": t.triggerShowAllSelectedText,
375
378
  onKeydown: e(G),
376
379
  onClick: re,
377
- onCopyToClipboard: o[0] || (o[0] = (l) => O("copyToClipboard"))
378
- }, 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", "onKeydown"]))
380
+ onCopyToClipboard: o[0] || (o[0] = (l) => L("copyToClipboard"))
381
+ }, 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"]))
379
382
  ])) : r("", !0),
380
383
  t.predefinedTrigger === e(m).ICON_BUTTON ? (i(), n("div", Ke, [
381
- a(e(Te), {
382
- onClick: o[1] || (o[1] = (l) => e(I)())
384
+ a(e(ke), {
385
+ onClick: o[1] || (o[1] = (l) => e(w)())
383
386
  })
384
387
  ])) : r("", !0),
385
388
  t.predefinedTrigger === e(m).CHIP ? (i(), n("div", Ne, [
@@ -388,10 +391,10 @@ const Oe = ["tabindex"], Ee = { style: { width: "100%" } }, Be = { key: 0 }, Ke
388
391
  label: t.placeholder,
389
392
  "test-id": t.testId,
390
393
  options: t.options,
391
- "selected-option": t.multi ? e(N) : e(T),
394
+ "selected-option": t.multi ? e(N) : e(k),
392
395
  "display-value": t.displayValue,
393
396
  multi: t.multi,
394
- onClick: o[2] || (o[2] = (l) => e(I)()),
397
+ onClick: o[2] || (o[2] = (l) => e(w)()),
395
398
  onClear: o[3] || (o[3] = (l) => e(F)())
396
399
  }, null, 8, ["open", "label", "test-id", "options", "selected-option", "display-value", "multi"])
397
400
  ])) : r("", !0)
@@ -401,7 +404,7 @@ const Oe = ["tabindex"], Ee = { style: { width: "100%" } }, Be = { key: 0 }, Ke
401
404
  ]),
402
405
  _: 3
403
406
  }, 16, ["theme", "popper-class", "placement", "skidding", "distance", "flip", "shown", "container", "auto-size"]),
404
- t.triggerFeedbackText ? (i(), H(Le, {
407
+ t.triggerFeedbackText ? (i(), H(Oe, {
405
408
  key: 0,
406
409
  text: t.triggerFeedbackText,
407
410
  variant: t.triggerFeedbackVariant,
@@ -410,7 +413,7 @@ const Oe = ["tabindex"], Ee = { style: { width: "100%" } }, Be = { key: 0 }, Ke
410
413
  class: "dropdown-field-help-text"
411
414
  }, null, 8, ["text", "variant", "show-icon", "test-id"])) : r("", !0)
412
415
  ])
413
- ], 16, Oe));
416
+ ], 16, Le));
414
417
  }
415
418
  });
416
419
  export {
@@ -1,7 +1,7 @@
1
- import e from "./TreeDropdown.vue2.js";
2
- /* empty css */import o from "../../../_virtual/_plugin-vue_export-helper.js";
3
- // import "../../../TreeDropdown.vue_vue_type_style_index_0_scoped_54adec1e_lang.css"; //*');
4
- const s = /* @__PURE__ */ o(e, [["__scopeId", "data-v-54adec1e"]]);
1
+ import o from "./TreeDropdown.vue2.js";
2
+ /* empty css */import e from "../../../_virtual/_plugin-vue_export-helper.js";
3
+ // import "../../../TreeDropdown.vue_vue_type_style_index_0_scoped_142eab98_lang.css"; //*');
4
+ const s = /* @__PURE__ */ e(o, [["__scopeId", "data-v-142eab98"]]);
5
5
  export {
6
6
  s as default
7
7
  };
@@ -1,4 +1,4 @@
1
- import "../../../TreeDropdown.vue_vue_type_style_index_0_scoped_54adec1e_lang.css"; import { defineComponent as O, ref as S, watch as T, openBlock as s, createBlock as f, unref as d, withCtx as w, createVNode as E, withModifiers as k, createElementBlock as h, Fragment as N, renderList as B, createCommentVNode as z } from "vue";
1
+ import "../../../TreeDropdown.vue_vue_type_style_index_0_scoped_142eab98_lang.css"; import { defineComponent as w, ref as S, watch as T, openBlock as u, createBlock as f, unref as o, withCtx as E, createVNode as N, withModifiers as k, createElementBlock as h, Fragment as B, renderList as x, createCommentVNode as z } from "vue";
2
2
  import V from "./DropdownV4.vue.js";
3
3
  import "./DefaultDropdownTrigger.vue.js";
4
4
  import "./IconButtonDropdownTrigger.vue.js";
@@ -8,11 +8,11 @@ import "./ButtonDropdownTrigger.vue.js";
8
8
  import "./ButtonFilterDropdownTrigger.vue.js";
9
9
  import "./TreeDropdown.vue.js";
10
10
  import v from "./OptionV4.vue.js";
11
- import { useChildOptions as x } from "../composables/useChildOptions.js";
12
- const D = {
11
+ import { useChildOptions as D } from "../composables/useChildOptions.js";
12
+ const P = {
13
13
  key: 0,
14
14
  class: "child-options"
15
- }, J = /* @__PURE__ */ O({
15
+ }, Q = /* @__PURE__ */ w({
16
16
  __name: "TreeDropdown",
17
17
  props: {
18
18
  options: null,
@@ -35,33 +35,33 @@ const D = {
35
35
  optionChildrenKey: { default: "" }
36
36
  },
37
37
  emits: ["update:selected", "update:isOpen"],
38
- setup(e, { emit: u }) {
39
- const o = e, l = S(o.selected);
38
+ setup(e, { emit: y }) {
39
+ const a = e, l = S(a.selected);
40
40
  T(
41
- () => o.selected,
41
+ () => a.selected,
42
42
  () => {
43
- l.value = [...o.selected];
43
+ l.value = [...a.selected];
44
44
  }
45
45
  );
46
- const { hasChildren: y, getChildren: a, allChildrenSelected: r, someChildrenSelected: K } = x(l, o.optionChildrenKey), p = (t) => {
47
- if (y(t)) {
48
- r(t) ? l.value = l.value.filter(
49
- (i) => !a(t).includes(i)
46
+ const { hasChildren: c, getChildren: d, allChildrenSelected: r, someChildrenSelected: K } = D(l, a.optionChildrenKey), p = (n) => {
47
+ if (c(n)) {
48
+ r(n) ? l.value = l.value.filter(
49
+ (i) => !d(n).includes(i)
50
50
  ) : l.value = [
51
- ...l.value.filter((i) => !a(t).includes(i)),
52
- ...a(t)
51
+ ...l.value.filter((i) => !d(n).includes(i)),
52
+ ...d(n)
53
53
  ];
54
54
  return;
55
55
  }
56
- l.value.includes(t) ? l.value = l.value.filter(
57
- (i) => i !== t
58
- ) : l.value = [...l.value, t];
59
- }, m = (t) => l.value.includes(t), I = () => {
60
- u("update:selected", l.value);
61
- }, C = () => {
56
+ l.value.includes(n) ? l.value = l.value.filter(
57
+ (i) => i !== n
58
+ ) : l.value = [...l.value, n];
59
+ }, m = (n) => l.value.includes(n), C = (n) => 1 + (c(n) ? d(n).length : 0), I = () => {
60
+ y("update:selected", l.value);
61
+ }, g = () => {
62
62
  l.value = [];
63
63
  };
64
- return (t, i) => (s(), f(d(V), {
64
+ return (n, i) => (u(), f(o(V), {
65
65
  multi: "",
66
66
  class: "tree-dropdown",
67
67
  "show-select-all": !1,
@@ -76,38 +76,40 @@ const D = {
76
76
  "test-id": e.testId,
77
77
  disabled: e.disabled,
78
78
  "disable-virtual-scroll": "",
79
- "onUpdate:selected": i[0] || (i[0] = (n) => u("update:selected", n)),
80
- "onUpdate:isOpen": i[1] || (i[1] = (n) => u("update:isOpen", n)),
79
+ "override-option-count-calculation": C,
80
+ "trigger-show-all-selected-text": !1,
81
+ "onUpdate:selected": i[0] || (i[0] = (t) => y("update:selected", t)),
82
+ "onUpdate:isOpen": i[1] || (i[1] = (t) => y("update:isOpen", t)),
81
83
  onApply: I,
82
- onClear: C
84
+ onClear: g
83
85
  }, {
84
- default: w(({ option: n, index: b }) => [
85
- E(d(v), {
86
- option: n,
87
- "selected-prop": d(y)(n) ? d(r)(n) : m(n),
88
- "is-indeterminate": !d(r)(n) && d(K)(n),
89
- disabled: n[e.disabledOptionKey],
86
+ default: E(({ option: t, index: b }) => [
87
+ N(o(v), {
88
+ option: t,
89
+ "selected-prop": o(c)(t) ? o(r)(t) : m(t),
90
+ "is-indeterminate": !o(r)(t) && o(K)(t),
91
+ disabled: t[e.disabledOptionKey],
90
92
  "name-key": e.optionNameKey,
91
93
  "image-key": e.optionImageKey,
92
94
  "icon-key": e.optionIconKey,
93
95
  "icon-type": e.optionIconType,
94
96
  "end-icon-key": e.optionEndIconKey,
95
97
  "end-icon-type": e.optionEndIconType,
96
- onClick: k(() => p(n), ["stop"])
98
+ onClick: k(() => p(t), ["stop"])
97
99
  }, null, 8, ["option", "selected-prop", "is-indeterminate", "disabled", "name-key", "image-key", "icon-key", "icon-type", "end-icon-key", "end-icon-type", "onClick"]),
98
- d(y)(n) ? (s(), h("div", D, [
99
- (s(!0), h(N, null, B(d(a)(n), (c, g) => (s(), f(d(v), {
100
- key: `${b}-${g}`,
101
- option: c,
102
- "selected-prop": m(c),
103
- disabled: c[e.disabledOptionKey],
100
+ o(c)(t) ? (u(), h("div", P, [
101
+ (u(!0), h(B, null, x(o(d)(t), (s, O) => (u(), f(o(v), {
102
+ key: `${b}-${O}`,
103
+ option: s,
104
+ "selected-prop": m(s),
105
+ disabled: s[e.disabledOptionKey],
104
106
  "name-key": e.optionNameKey,
105
107
  "image-key": e.optionImageKey,
106
108
  "icon-key": e.optionIconKey,
107
109
  "icon-type": e.optionIconType,
108
110
  "end-icon-key": e.optionEndIconKey,
109
111
  "end-icon-type": e.optionEndIconType,
110
- onClick: k(() => p(c), ["stop"])
112
+ onClick: k(() => p(s), ["stop"])
111
113
  }, null, 8, ["option", "selected-prop", "disabled", "name-key", "image-key", "icon-key", "icon-type", "end-icon-key", "end-icon-type", "onClick"]))), 128))
112
114
  ])) : z("", !0)
113
115
  ]),
@@ -116,5 +118,5 @@ const D = {
116
118
  }
117
119
  });
118
120
  export {
119
- J as default
121
+ Q as default
120
122
  };
@@ -34,6 +34,7 @@ declare const DropdownTypes: () => (({
34
34
  selectedOption: any;
35
35
  showFeedbackIcon: boolean;
36
36
  brandIconType: "android" | "ios";
37
+ showAllSelectedText: boolean;
37
38
  statusDotType: "default" | "disabled" | "success" | "warning" | "error" | "archive";
38
39
  }> & Omit<Readonly<import("vue").ExtractPropTypes<{
39
40
  label: {
@@ -130,13 +131,17 @@ declare const DropdownTypes: () => (({
130
131
  type: import("vue").PropType<"android" | "ios">;
131
132
  default: any;
132
133
  };
134
+ showAllSelectedText: {
135
+ type: import("vue").PropType<boolean>;
136
+ default: boolean;
137
+ };
133
138
  statusDotType: {
134
139
  type: import("vue").PropType<"default" | "disabled" | "success" | "warning" | "error" | "archive">;
135
140
  default: any;
136
141
  };
137
142
  }>> & {
138
143
  onClick?: () => any;
139
- } & import("vue").VNodeProps & import("vue").AllowedComponentProps & import("vue").ComponentCustomProps, "label" | "disabled" | "size" | "open" | "mandatory" | "loading" | "testId" | "options" | "singleAppSelection" | "hoverHelpText" | "hoverHelpTextPlacement" | "placeholder" | "feedbackText" | "feedbackVariant" | "multi" | "optionNameKey" | "optionIconKey" | "optionImageKey" | "optionIconType" | "selectedOption" | "showFeedbackIcon" | "brandIconType" | "statusDotType">;
144
+ } & import("vue").VNodeProps & import("vue").AllowedComponentProps & import("vue").ComponentCustomProps, "label" | "disabled" | "size" | "open" | "mandatory" | "loading" | "testId" | "options" | "singleAppSelection" | "hoverHelpText" | "hoverHelpTextPlacement" | "placeholder" | "feedbackText" | "feedbackVariant" | "multi" | "optionNameKey" | "optionIconKey" | "optionImageKey" | "optionIconType" | "selectedOption" | "showFeedbackIcon" | "brandIconType" | "showAllSelectedText" | "statusDotType">;
140
145
  $attrs: {
141
146
  [x: string]: unknown;
142
147
  };
@@ -245,6 +250,10 @@ declare const DropdownTypes: () => (({
245
250
  type: import("vue").PropType<"android" | "ios">;
246
251
  default: any;
247
252
  };
253
+ showAllSelectedText: {
254
+ type: import("vue").PropType<boolean>;
255
+ default: boolean;
256
+ };
248
257
  statusDotType: {
249
258
  type: import("vue").PropType<"default" | "disabled" | "success" | "warning" | "error" | "archive">;
250
259
  default: any;
@@ -276,6 +285,7 @@ declare const DropdownTypes: () => (({
276
285
  selectedOption: any;
277
286
  showFeedbackIcon: boolean;
278
287
  brandIconType: "android" | "ios";
288
+ showAllSelectedText: boolean;
279
289
  statusDotType: "default" | "disabled" | "success" | "warning" | "error" | "archive";
280
290
  }, {}, string> & {
281
291
  beforeCreate?: (() => void) | (() => void)[];
@@ -392,6 +402,10 @@ declare const DropdownTypes: () => (({
392
402
  type: import("vue").PropType<"android" | "ios">;
393
403
  default: any;
394
404
  };
405
+ showAllSelectedText: {
406
+ type: import("vue").PropType<boolean>;
407
+ default: boolean;
408
+ };
395
409
  statusDotType: {
396
410
  type: import("vue").PropType<"default" | "disabled" | "success" | "warning" | "error" | "archive">;
397
411
  default: any;
@@ -497,6 +511,10 @@ declare const DropdownTypes: () => (({
497
511
  type: import("vue").PropType<"android" | "ios">;
498
512
  default: any;
499
513
  };
514
+ showAllSelectedText: {
515
+ type: import("vue").PropType<boolean>;
516
+ default: boolean;
517
+ };
500
518
  statusDotType: {
501
519
  type: import("vue").PropType<"default" | "disabled" | "success" | "warning" | "error" | "archive">;
502
520
  default: any;
@@ -528,6 +546,7 @@ declare const DropdownTypes: () => (({
528
546
  selectedOption: any;
529
547
  showFeedbackIcon: boolean;
530
548
  brandIconType: "android" | "ios";
549
+ showAllSelectedText: boolean;
531
550
  statusDotType: "default" | "disabled" | "success" | "warning" | "error" | "archive";
532
551
  }, {}, string> & import("vue").VNodeProps & import("vue").AllowedComponentProps & import("vue").ComponentCustomProps & (new () => {
533
552
  $slots: {
@@ -1469,6 +1488,7 @@ declare const DropdownTypes: () => (({
1469
1488
  triggerFeedbackText: string;
1470
1489
  triggerFeedbackVariant: "success" | "warning" | "error";
1471
1490
  triggerFeedbackShowIcon: boolean;
1491
+ triggerShowAllSelectedText: boolean;
1472
1492
  predefinedTrigger: "default" | "icon-button" | "chip" | "app";
1473
1493
  inlineSearch: boolean;
1474
1494
  inlineSearchPlaceholder: string;
@@ -1487,6 +1507,7 @@ declare const DropdownTypes: () => (({
1487
1507
  optionsListWidth: string;
1488
1508
  statusType: "default" | "disabled" | "success" | "warning" | "error" | "archive";
1489
1509
  disableVirtualScroll: boolean;
1510
+ overrideOptionCountCalculation: (option: unknown) => number;
1490
1511
  }> & Omit<Readonly<import("vue").ExtractPropTypes<{
1491
1512
  theme: {
1492
1513
  type: import("vue").PropType<string>;
@@ -1606,6 +1627,10 @@ declare const DropdownTypes: () => (({
1606
1627
  type: import("vue").PropType<boolean>;
1607
1628
  default: boolean;
1608
1629
  };
1630
+ triggerShowAllSelectedText: {
1631
+ type: import("vue").PropType<boolean>;
1632
+ default: boolean;
1633
+ };
1609
1634
  predefinedTrigger: {
1610
1635
  type: import("vue").PropType<"default" | "icon-button" | "chip" | "app">;
1611
1636
  default: "default" | "icon-button" | "chip" | "app";
@@ -1682,6 +1707,10 @@ declare const DropdownTypes: () => (({
1682
1707
  type: import("vue").PropType<boolean>;
1683
1708
  default: boolean;
1684
1709
  };
1710
+ overrideOptionCountCalculation: {
1711
+ type: import("vue").PropType<(option: unknown) => number>;
1712
+ default: any;
1713
+ };
1685
1714
  }>> & {
1686
1715
  onCopyToClipboard?: () => any;
1687
1716
  onClear?: () => any;
@@ -1691,7 +1720,7 @@ declare const DropdownTypes: () => (({
1691
1720
  "onUpdate:isOpen"?: (value: unknown) => any;
1692
1721
  onOpened?: () => any;
1693
1722
  onClosed?: () => any;
1694
- } & import("vue").VNodeProps & import("vue").AllowedComponentProps & import("vue").ComponentCustomProps, "theme" | "disabled" | "size" | "flip" | "mandatory" | "testId" | "container" | "placement" | "distance" | "popperClass" | "selected" | "onClear" | "modelValue" | "placeholder" | "multi" | "showSelectAll" | "defaultOpen" | "keepOpen" | "autoSize" | "disableKeyboardEvents" | "isOnTop" | "skidding" | "triggerLabel" | "triggerHelperText" | "triggerFeedbackText" | "triggerFeedbackVariant" | "triggerFeedbackShowIcon" | "predefinedTrigger" | "inlineSearch" | "inlineSearchPlaceholder" | "onSearch" | "noResultsText" | "searchAutoFocus" | "optionNameKey" | "optionIconKey" | "optionImageKey" | "optionIconType" | "optionEndIconKey" | "optionEndIconType" | "valueToCopy" | "disabledOptionKey" | "fullWidth" | "optionsListWidth" | "statusType" | "disableVirtualScroll">;
1723
+ } & import("vue").VNodeProps & import("vue").AllowedComponentProps & import("vue").ComponentCustomProps, "theme" | "disabled" | "size" | "flip" | "mandatory" | "testId" | "container" | "placement" | "distance" | "popperClass" | "selected" | "onClear" | "modelValue" | "placeholder" | "multi" | "showSelectAll" | "defaultOpen" | "keepOpen" | "autoSize" | "disableKeyboardEvents" | "isOnTop" | "skidding" | "triggerLabel" | "triggerHelperText" | "triggerFeedbackText" | "triggerFeedbackVariant" | "triggerFeedbackShowIcon" | "triggerShowAllSelectedText" | "predefinedTrigger" | "inlineSearch" | "inlineSearchPlaceholder" | "onSearch" | "noResultsText" | "searchAutoFocus" | "optionNameKey" | "optionIconKey" | "optionImageKey" | "optionIconType" | "optionEndIconKey" | "optionEndIconType" | "valueToCopy" | "disabledOptionKey" | "fullWidth" | "optionsListWidth" | "statusType" | "disableVirtualScroll" | "overrideOptionCountCalculation">;
1695
1724
  $attrs: {
1696
1725
  [x: string]: unknown;
1697
1726
  };
@@ -1824,6 +1853,10 @@ declare const DropdownTypes: () => (({
1824
1853
  type: import("vue").PropType<boolean>;
1825
1854
  default: boolean;
1826
1855
  };
1856
+ triggerShowAllSelectedText: {
1857
+ type: import("vue").PropType<boolean>;
1858
+ default: boolean;
1859
+ };
1827
1860
  predefinedTrigger: {
1828
1861
  type: import("vue").PropType<"default" | "icon-button" | "chip" | "app">;
1829
1862
  default: "default" | "icon-button" | "chip" | "app";
@@ -1900,6 +1933,10 @@ declare const DropdownTypes: () => (({
1900
1933
  type: import("vue").PropType<boolean>;
1901
1934
  default: boolean;
1902
1935
  };
1936
+ overrideOptionCountCalculation: {
1937
+ type: import("vue").PropType<(option: unknown) => number>;
1938
+ default: any;
1939
+ };
1903
1940
  }>> & {
1904
1941
  onCopyToClipboard?: () => any;
1905
1942
  onClear?: () => any;
@@ -1949,6 +1986,7 @@ declare const DropdownTypes: () => (({
1949
1986
  triggerFeedbackText: string;
1950
1987
  triggerFeedbackVariant: "success" | "warning" | "error";
1951
1988
  triggerFeedbackShowIcon: boolean;
1989
+ triggerShowAllSelectedText: boolean;
1952
1990
  predefinedTrigger: "default" | "icon-button" | "chip" | "app";
1953
1991
  inlineSearch: boolean;
1954
1992
  inlineSearchPlaceholder: string;
@@ -1967,6 +2005,7 @@ declare const DropdownTypes: () => (({
1967
2005
  optionsListWidth: string;
1968
2006
  statusType: "default" | "disabled" | "success" | "warning" | "error" | "archive";
1969
2007
  disableVirtualScroll: boolean;
2008
+ overrideOptionCountCalculation: (option: unknown) => number;
1970
2009
  }, {}, string> & {
1971
2010
  beforeCreate?: (() => void) | (() => void)[];
1972
2011
  created?: (() => void) | (() => void)[];
@@ -2106,6 +2145,10 @@ declare const DropdownTypes: () => (({
2106
2145
  type: import("vue").PropType<boolean>;
2107
2146
  default: boolean;
2108
2147
  };
2148
+ triggerShowAllSelectedText: {
2149
+ type: import("vue").PropType<boolean>;
2150
+ default: boolean;
2151
+ };
2109
2152
  predefinedTrigger: {
2110
2153
  type: import("vue").PropType<"default" | "icon-button" | "chip" | "app">;
2111
2154
  default: "default" | "icon-button" | "chip" | "app";
@@ -2182,6 +2225,10 @@ declare const DropdownTypes: () => (({
2182
2225
  type: import("vue").PropType<boolean>;
2183
2226
  default: boolean;
2184
2227
  };
2228
+ overrideOptionCountCalculation: {
2229
+ type: import("vue").PropType<(option: unknown) => number>;
2230
+ default: any;
2231
+ };
2185
2232
  }>> & {
2186
2233
  onCopyToClipboard?: () => any;
2187
2234
  onClear?: () => any;
@@ -2317,6 +2364,10 @@ declare const DropdownTypes: () => (({
2317
2364
  type: import("vue").PropType<boolean>;
2318
2365
  default: boolean;
2319
2366
  };
2367
+ triggerShowAllSelectedText: {
2368
+ type: import("vue").PropType<boolean>;
2369
+ default: boolean;
2370
+ };
2320
2371
  predefinedTrigger: {
2321
2372
  type: import("vue").PropType<"default" | "icon-button" | "chip" | "app">;
2322
2373
  default: "default" | "icon-button" | "chip" | "app";
@@ -2393,6 +2444,10 @@ declare const DropdownTypes: () => (({
2393
2444
  type: import("vue").PropType<boolean>;
2394
2445
  default: boolean;
2395
2446
  };
2447
+ overrideOptionCountCalculation: {
2448
+ type: import("vue").PropType<(option: unknown) => number>;
2449
+ default: any;
2450
+ };
2396
2451
  }>> & {
2397
2452
  onCopyToClipboard?: () => any;
2398
2453
  onClear?: () => any;
@@ -2442,6 +2497,7 @@ declare const DropdownTypes: () => (({
2442
2497
  triggerFeedbackText: string;
2443
2498
  triggerFeedbackVariant: "success" | "warning" | "error";
2444
2499
  triggerFeedbackShowIcon: boolean;
2500
+ triggerShowAllSelectedText: boolean;
2445
2501
  predefinedTrigger: "default" | "icon-button" | "chip" | "app";
2446
2502
  inlineSearch: boolean;
2447
2503
  inlineSearchPlaceholder: string;
@@ -2460,6 +2516,7 @@ declare const DropdownTypes: () => (({
2460
2516
  optionsListWidth: string;
2461
2517
  statusType: "default" | "disabled" | "success" | "warning" | "error" | "archive";
2462
2518
  disableVirtualScroll: boolean;
2519
+ overrideOptionCountCalculation: (option: unknown) => number;
2463
2520
  }, {}, string> & import("vue").VNodeProps & import("vue").AllowedComponentProps & import("vue").ComponentCustomProps & (new () => {
2464
2521
  $slots: {
2465
2522
  label?(_: {}): any;