@ironsource/shared-ui 2.1.12-test.83 → 2.1.12-test.84

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