@ironsource/shared-ui 2.1.9-test.1 → 2.1.9-test.2

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