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

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