@adyen/bento-vue3 1.64.1 → 1.65.0

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
Files changed (73) hide show
  1. package/dist/assets/accordion-item.css +1 -1
  2. package/dist/assets/action-bar.css +1 -1
  3. package/dist/assets/base-modal.css +1 -1
  4. package/dist/assets/card.css +1 -1
  5. package/dist/assets/data-grid.css +1 -1
  6. package/dist/assets/dialog-page.css +1 -1
  7. package/dist/assets/dropdown.css +1 -1
  8. package/dist/assets/file-uploader.css +1 -1
  9. package/dist/assets/inspector.css +1 -1
  10. package/dist/assets/menu.css +1 -1
  11. package/dist/assets/modal-fullscreen.css +1 -1
  12. package/dist/assets/popover.css +1 -1
  13. package/dist/assets/sidepanel.css +1 -1
  14. package/dist/assets/use-cached-selected-values.css +1 -1
  15. package/dist/checkbox.js +2 -2
  16. package/dist/chunks/{checkbox-group.BZIl5tRV.js → checkbox-group.BKsddn67.js} +2 -2
  17. package/dist/chunks/{checkbox-group.BZIl5tRV.js.map → checkbox-group.BKsddn67.js.map} +1 -1
  18. package/dist/chunks/{checkbox.8caojfCf.js → checkbox.C1y3Ad4Z.js} +18 -18
  19. package/dist/chunks/{checkbox.8caojfCf.js.map → checkbox.C1y3Ad4Z.js.map} +1 -1
  20. package/dist/chunks/{code-snippet.iVFAaX-7.js → code-snippet.Bj5SAyT-.js} +2 -2
  21. package/dist/chunks/{code-snippet.iVFAaX-7.js.map → code-snippet.Bj5SAyT-.js.map} +1 -1
  22. package/dist/chunks/{data-grid.BpuoBniw.js → data-grid.DroQMKSc.js} +660 -654
  23. package/dist/chunks/{data-grid.BpuoBniw.js.map → data-grid.DroQMKSc.js.map} +1 -1
  24. package/dist/chunks/{date-picker.CRZaa2pG.js → date-picker.BuX2J2OW.js} +14 -14
  25. package/dist/chunks/{date-picker.CRZaa2pG.js.map → date-picker.BuX2J2OW.js.map} +1 -1
  26. package/dist/chunks/{date-range-picker.Wd3Wj2xh.js → date-range-picker.C2x1_xoz.js} +22 -22
  27. package/dist/chunks/{date-range-picker.Wd3Wj2xh.js.map → date-range-picker.C2x1_xoz.js.map} +1 -1
  28. package/dist/chunks/{dropdown-tag.C8iqeoRx.js → dropdown-tag.Dm-1VD3B.js} +2 -2
  29. package/dist/chunks/{dropdown-tag.C8iqeoRx.js.map → dropdown-tag.Dm-1VD3B.js.map} +1 -1
  30. package/dist/chunks/{dropdown.UapzImAi.js → dropdown.Bj6DK-2v.js} +321 -310
  31. package/dist/chunks/dropdown.Bj6DK-2v.js.map +1 -0
  32. package/dist/chunks/{filter-bar.n8rNb16m.js → filter-bar.BvInaVGL.js} +7 -7
  33. package/dist/chunks/{filter-bar.n8rNb16m.js.map → filter-bar.BvInaVGL.js.map} +1 -1
  34. package/dist/chunks/{header-with-views.CAPWxTOO.js → header-with-views.De0oVJXS.js} +3 -3
  35. package/dist/chunks/{header-with-views.CAPWxTOO.js.map → header-with-views.De0oVJXS.js.map} +1 -1
  36. package/dist/chunks/{input-field-password.COKWNkFD.js → input-field-password.CJOf1GlS.js} +3 -3
  37. package/dist/chunks/{input-field-password.COKWNkFD.js.map → input-field-password.CJOf1GlS.js.map} +1 -1
  38. package/dist/chunks/{input-field-phone-number.BcuBaX7v.js → input-field-phone-number.DVliTkE3.js} +3 -3
  39. package/dist/chunks/{input-field-phone-number.BcuBaX7v.js.map → input-field-phone-number.DVliTkE3.js.map} +1 -1
  40. package/dist/chunks/{input-field.DyLJYbGL.js → input-field.xUQT0LXI.js} +2 -2
  41. package/dist/chunks/{input-field.DyLJYbGL.js.map → input-field.xUQT0LXI.js.map} +1 -1
  42. package/dist/chunks/{pagination.i2eNp6n4.js → pagination.D6A7TX6J.js} +2 -2
  43. package/dist/chunks/{pagination.i2eNp6n4.js.map → pagination.D6A7TX6J.js.map} +1 -1
  44. package/dist/chunks/{rich-text-editor.CE7kjKfA.js → rich-text-editor.BDLncrV5.js} +2 -2
  45. package/dist/chunks/{rich-text-editor.CE7kjKfA.js.map → rich-text-editor.BDLncrV5.js.map} +1 -1
  46. package/dist/chunks/{search-bar.g_dBJXfU.js → search-bar.Cngs3uYZ.js} +3 -3
  47. package/dist/chunks/{search-bar.g_dBJXfU.js.map → search-bar.Cngs3uYZ.js.map} +1 -1
  48. package/dist/chunks/{secondary-nav.Dy9Abrau.js → secondary-nav.ByCa4wiA.js} +2 -2
  49. package/dist/chunks/{secondary-nav.Dy9Abrau.js.map → secondary-nav.ByCa4wiA.js.map} +1 -1
  50. package/dist/chunks/{selection-card-group.TPoxTPl3.js → selection-card-group.9wJy7FC2.js} +9 -9
  51. package/dist/chunks/{selection-card-group.TPoxTPl3.js.map → selection-card-group.9wJy7FC2.js.map} +1 -1
  52. package/dist/chunks/{use-cached-selected-values.CatIU1_1.js → use-cached-selected-values.CEwKqYIe.js} +616 -607
  53. package/dist/chunks/{use-cached-selected-values.CatIU1_1.js.map → use-cached-selected-values.CEwKqYIe.js.map} +1 -1
  54. package/dist/code-snippet.js +1 -1
  55. package/dist/data-grid.js +1 -1
  56. package/dist/date-picker.js +1 -1
  57. package/dist/date-range-picker.js +1 -1
  58. package/dist/dropdown.js +3 -3
  59. package/dist/filter-bar.js +1 -1
  60. package/dist/header-with-views.js +1 -1
  61. package/dist/index.js +19 -19
  62. package/dist/input-field-password.js +1 -1
  63. package/dist/input-field-phone-number.js +1 -1
  64. package/dist/input-field.js +1 -1
  65. package/dist/internal.js +1 -1
  66. package/dist/pagination.js +1 -1
  67. package/dist/rich-text-editor.js +1 -1
  68. package/dist/search-bar.js +2 -2
  69. package/dist/secondary-nav.js +1 -1
  70. package/dist/selection-card.js +1 -1
  71. package/dist/web-types.json +1 -1
  72. package/package.json +6 -6
  73. package/dist/chunks/dropdown.UapzImAi.js.map +0 -1
@@ -1,23 +1,23 @@
1
- import { ref as w, watch as Be, computed as p, defineComponent as j, useSlots as De, toRefs as Ie, createBlock as K, openBlock as L, resolveDynamicComponent as Te, mergeProps as M, withCtx as z, createElementVNode as te, withKeys as Ze, unref as n, createVNode as Q, toHandlers as G, createSlots as re, renderList as de, renderSlot as X, normalizeProps as ue, guardReactiveProps as ce, createElementBlock as P, createCommentVNode as F, toDisplayString as ve, normalizeClass as pe, withDirectives as ee, vShow as Ee, nextTick as I, useAttrs as Qe, toRef as O, inject as Xe, createTextVNode as Ge } from "vue";
2
- import { d as we, B as et } from "./typography.DN5eC5ch.js";
1
+ import { ref as w, watch as be, computed as p, defineComponent as j, useSlots as Ne, toRefs as Ie, createBlock as K, openBlock as L, resolveDynamicComponent as Ae, mergeProps as P, withCtx as z, createElementVNode as te, withKeys as Xe, unref as n, createVNode as Q, toHandlers as G, createSlots as ue, renderList as ce, renderSlot as X, normalizeProps as pe, guardReactiveProps as fe, createElementBlock as k, createCommentVNode as F, toDisplayString as ge, normalizeClass as me, withDirectives as ee, vShow as Oe, nextTick as E, useAttrs as Ge, toRef as B, inject as et, createTextVNode as tt } from "vue";
2
+ import { d as xe, B as at } from "./typography.DN5eC5ch.js";
3
+ import { a as re, b as V, c as lt, B as _, D as ot } from "./dropdown-default-textbox.B05elQig.js";
4
+ /* empty css */
5
+ import { _ as Y } from "./_plugin-vue_export-helper.CHgC5LLL.js";
6
+ import { s as de } from "./events.FNmSWp_P.js";
3
7
  import { g as J } from "./generate-uid.NJ8tVoha.js";
4
- import { u as tt } from "./aria-label.CaUURpnB.js";
5
- import { u as ye } from "./i18n.B6g5VX0q.js";
6
- import { u as at } from "./use-form-layout-loading.D3lALhtC.js";
7
- import { B as lt } from "./directive.Cbdox5VL.js";
8
- import { s as se } from "./events.FNmSWp_P.js";
9
- import { B as $, a as ot } from "./keyboard-navigation.CqgGzfZQ.js";
10
- import { a as ie, b as V, c as nt, B as _, D as st } from "./dropdown-default-textbox.B05elQig.js";
11
- import { a as f, b as fe, B as me, c as it, u as rt } from "./use-cached-selected-values.CatIU1_1.js";
12
- import { u as dt } from "./use-has-slot.B7eQSabc.js";
13
- import { F as ut, E as ct } from "./error-message.DZWphzoT.js";
14
- import { P as xe } from "./popper-container.b5h4zYgT.js";
8
+ import { u as nt } from "./aria-label.CaUURpnB.js";
9
+ import { u as he } from "./i18n.B6g5VX0q.js";
10
+ import { u as st } from "./use-form-layout-loading.D3lALhtC.js";
11
+ import { B as it } from "./directive.Cbdox5VL.js";
12
+ import { B as I, a as rt } from "./keyboard-navigation.CqgGzfZQ.js";
13
+ import { a as m, b as ve, B as ye, c as dt, u as ut } from "./use-cached-selected-values.CEwKqYIe.js";
14
+ import { u as ct } from "./use-has-slot.B7eQSabc.js";
15
+ import { F as pt, E as ft } from "./error-message.DZWphzoT.js";
16
+ import { P as Be } from "./popper-container.b5h4zYgT.js";
15
17
  import "./popper-container.types.BCZMbVFD.js";
16
- import { B as pt } from "./popover.maCMPyz8.js";
17
- import { _ as Y } from "./_plugin-vue_export-helper.CHgC5LLL.js";
18
- /* empty css */
18
+ import { B as mt } from "./popover.maCMPyz8.js";
19
19
  import "../assets/dropdown.css";
20
- const be = {
20
+ const Se = {
21
21
  "en-US": {
22
22
  apply: "Apply",
23
23
  cancel: "Cancel",
@@ -31,62 +31,62 @@ const be = {
31
31
  apply: "Aplicar",
32
32
  cancel: "Cancelar"
33
33
  }
34
- }, ft = (e, i, s, a) => {
35
- const o = w(e.value), { t: l } = ye({ messages: be });
36
- Be(e, () => {
34
+ }, vt = (e, i, s, a) => {
35
+ const o = w(e.value), { t: l } = he({ messages: Se });
36
+ be(e, () => {
37
37
  o.value = e.value;
38
38
  });
39
39
  const t = p(
40
40
  () => JSON.stringify(o.value) === JSON.stringify(e.value)
41
- ), c = () => {
42
- a(f.SELECT, o.value), a(f.CLOSE_DROPDOWN);
43
- }, m = () => {
44
- o.value = e.value, a(f.CLOSE_DROPDOWN);
45
- }, h = () => {
41
+ ), u = () => {
42
+ a(m.SELECT, o.value), a(m.CLOSE_DROPDOWN);
43
+ }, v = () => {
44
+ o.value = e.value, a(m.CLOSE_DROPDOWN);
45
+ }, g = () => {
46
46
  s.value && i.value && (o.value = e.value);
47
47
  }, r = p(() => [
48
48
  {
49
49
  title: l("apply"),
50
- event: c,
50
+ event: u,
51
51
  disabled: t.value
52
52
  },
53
53
  {
54
54
  title: l("cancel"),
55
- event: m
55
+ event: v
56
56
  }
57
- ]), g = (S) => {
58
- o.value = S, i.value || a(f.SELECT, S);
59
- }, u = (S) => {
60
- g(S), a(f.TAB);
57
+ ]), b = (S) => {
58
+ o.value = S, i.value || a(m.SELECT, S);
59
+ }, d = (S) => {
60
+ b(S), a(m.TAB);
61
61
  }, x = (S) => {
62
- g(S), a(f.ENTER);
63
- }, B = (S) => {
64
- g(S), a(f.SPACE);
65
- }, v = () => {
66
- m(), a(f.ESCAPE);
67
- }, D = () => {
68
- a(f.SHOW_MORE);
69
- }, E = {
70
- [f.SELECT]: g,
71
- [f.SHOW_MORE]: D,
72
- [f.TAB]: u,
73
- [f.SPACE]: B,
74
- [f.ENTER]: x
62
+ b(S), a(m.ENTER);
63
+ }, D = (S) => {
64
+ b(S), a(m.SPACE);
65
+ }, y = () => {
66
+ v(), a(m.ESCAPE);
67
+ }, T = () => {
68
+ a(m.SHOW_MORE);
69
+ }, C = {
70
+ [m.SELECT]: b,
71
+ [m.SHOW_MORE]: T,
72
+ [m.TAB]: d,
73
+ [m.SPACE]: D,
74
+ [m.ENTER]: x
75
75
  };
76
76
  return {
77
77
  // Values
78
78
  actions: r,
79
79
  internalSelectedValue: o,
80
80
  // Methods
81
- listeners: E,
82
- onEscapeKey: v,
83
- onOutsideDropdownClick: h
81
+ listeners: C,
82
+ onEscapeKey: y,
83
+ onOutsideDropdownClick: g
84
84
  };
85
- }, mt = j({
86
- i18n: { messages: be },
85
+ }, yt = j({
86
+ i18n: { messages: Se },
87
87
  name: "bento-dropdown-options-container"
88
- }), vt = /* @__PURE__ */ j({
89
- ...mt,
88
+ }), bt = /* @__PURE__ */ j({
89
+ ...yt,
90
90
  props: {
91
91
  /**
92
92
  * Defines a string value that labels an interactive element.
@@ -145,8 +145,8 @@ const be = {
145
145
  */
146
146
  lazyLoadType: {
147
147
  type: String,
148
- default: me.AUTOMATIC,
149
- validator: (e) => Object.values(me).includes(e)
148
+ default: ye.AUTOMATIC,
149
+ validator: (e) => Object.values(ye).includes(e)
150
150
  },
151
151
  /**
152
152
  * Indicates if new options are lazy loading.
@@ -176,7 +176,7 @@ const be = {
176
176
  *
177
177
  * If enabled, hides the "Select all" checkbox in "multiple" mode.
178
178
  */
179
- searching: fe.props.searching,
179
+ searching: ve.props.searching,
180
180
  /**
181
181
  * If enabled, dropdown will display non-selectable, static categories
182
182
  */
@@ -185,7 +185,7 @@ const be = {
185
185
  * Reference to the DOM element or Vue component for positioning
186
186
  * the Dropdown container.
187
187
  */
188
- targetElement: { type: xe.props.targetElement.type, required: !0 },
188
+ targetElement: { type: Be.props.targetElement.type, required: !0 },
189
189
  /**
190
190
  * Enables virtual scrolling if set to true or by providing an object with itemHeight function.
191
191
  * The itemHeight function is used to calculate the height of rendered item given it's index.
@@ -196,20 +196,20 @@ const be = {
196
196
  }
197
197
  },
198
198
  setup(e, { expose: i, emit: s }) {
199
- const a = De(), o = s, l = e, { selectedValue: t, multiple: c } = Ie(l), m = w(null), { t: h } = ye({ messages: be }), r = p(() => l.open && !l.disabled), g = p(() => h("noOptionsMatchThisSearch")), u = p(() => ({
199
+ const a = Ne(), o = s, l = e, { selectedValue: t, multiple: u } = Ie(l), v = w(null), { t: g } = he({ messages: Se }), r = p(() => l.open && !l.disabled), b = p(() => g("noOptionsMatchThisSearch")), d = p(() => ({
200
200
  "b-dropdown-options-container--single": !(l != null && l.multiple)
201
201
  })), x = p(() => ({
202
202
  "b-dropdown-options-container__listbox--single": !(l != null && l.multiple)
203
- })), { actions: B, internalSelectedValue: v, listeners: D, onEscapeKey: E, onOutsideDropdownClick: S } = ft(t, c, r, o), W = p(() => l != null && l.multiple ? pt : xe), q = p(() => {
204
- var d;
203
+ })), { actions: D, internalSelectedValue: y, listeners: T, onEscapeKey: C, onOutsideDropdownClick: S } = vt(t, u, r, o), W = p(() => l != null && l.multiple ? mt : Be), U = p(() => {
204
+ var f;
205
205
  const A = {
206
- "min-width": `${(d = l == null ? void 0 : l.targetElement) == null ? void 0 : d.clientWidth}px`,
206
+ "min-width": `${(f = l == null ? void 0 : l.targetElement) == null ? void 0 : f.clientWidth}px`,
207
207
  "max-width": "min(500px, 95%)"
208
208
  };
209
209
  return l != null && l.multiple ? {
210
210
  actionsLayout: "space-between",
211
211
  ariaLabel: l.ariaLabel,
212
- actions: B.value,
212
+ actions: D.value,
213
213
  divider: !0,
214
214
  fallbackPosition: ["top-start"],
215
215
  id: J(`dropdown-options-${l.id}`),
@@ -233,41 +233,41 @@ const be = {
233
233
  });
234
234
  return i({
235
235
  onOutsideDropdownClick: S
236
- }), (A, d) => (L(), K(Te(W.value), M({
237
- class: ["b-dropdown-options-container", u.value]
238
- }, q.value), {
236
+ }), (A, f) => (L(), K(Ae(W.value), P({
237
+ class: ["b-dropdown-options-container", d.value]
238
+ }, U.value), {
239
239
  default: z(() => [
240
240
  te("div", {
241
- onKeydown: d[0] || (d[0] = Ze(
241
+ onKeydown: f[0] || (f[0] = Xe(
242
242
  //@ts-ignore
243
- (...y) => n(E) && n(E)(...y),
243
+ (...h) => n(C) && n(C)(...h),
244
244
  ["esc"]
245
245
  ))
246
246
  }, [
247
- Q(n(fe), M({
247
+ Q(n(ve), P({
248
248
  id: e.id,
249
249
  ref_key: "dropdownOptionsListboxRef",
250
- ref: m,
250
+ ref: v,
251
251
  "aria-label": e.ariaLabel,
252
252
  class: ["b-dropdown-options-container__listbox", x.value],
253
253
  "component-loading": e.componentLoading,
254
254
  "empty-state": e.emptyState,
255
255
  "is-option-disabled": e.isOptionDisabled,
256
256
  items: e.items,
257
- "selected-value": n(v),
258
- multiple: n(c),
257
+ "selected-value": n(y),
258
+ multiple: n(u),
259
259
  "static-categories": e.staticCategories,
260
- "no-results-message": g.value,
260
+ "no-results-message": b.value,
261
261
  searching: e.searching,
262
262
  loading: e.loading,
263
263
  "lazy-load-type": e.lazyLoadType,
264
264
  "has-more-items": e.hasMoreItems,
265
265
  "virtual-scroll": e.virtualScroll
266
- }, G(n(D))), re({ _: 2 }, [
267
- de(n(a), (y, C) => ({
268
- name: C,
269
- fn: z((N) => [
270
- X(A.$slots, C, ue(ce(N)), void 0, !0)
266
+ }, G(n(T))), ue({ _: 2 }, [
267
+ ce(n(a), (h, $) => ({
268
+ name: $,
269
+ fn: z((M) => [
270
+ X(A.$slots, $, pe(fe(M)), void 0, !0)
271
271
  ])
272
272
  }))
273
273
  ]), 1040, ["id", "aria-label", "class", "component-loading", "empty-state", "is-option-disabled", "items", "selected-value", "multiple", "static-categories", "no-results-message", "searching", "loading", "lazy-load-type", "has-more-items", "virtual-scroll"])
@@ -276,55 +276,55 @@ const be = {
276
276
  _: 3
277
277
  }, 16, ["class"]));
278
278
  }
279
- }), yt = /* @__PURE__ */ Y(vt, [["__scopeId", "data-v-aa806d62"]]);
280
- let Ce = 0;
281
- const bt = {
279
+ }), gt = /* @__PURE__ */ Y(bt, [["__scopeId", "data-v-aa806d62"]]);
280
+ let De = 0;
281
+ const ht = {
282
282
  beforeCreate() {
283
- this.uuid = Ce.toString(), Ce += 1;
283
+ this.uuid = De.toString(), De += 1;
284
284
  }
285
- }, gt = { key: 0 };
286
- function ht(e, i, s, a, o, l) {
287
- return L(), P("svg", M({ role: "img" }, e.$attrs, {
285
+ }, St = { key: 0 };
286
+ function Lt(e, i, s, a, o, l) {
287
+ return L(), k("svg", P({ role: "img" }, e.$attrs, {
288
288
  class: "ui-assets-icons-16",
289
289
  xmlns: "http://www.w3.org/2000/svg",
290
290
  width: "16",
291
291
  height: "16",
292
292
  fill: "none"
293
293
  }), [
294
- e.$attrs["svg-title"] ? (L(), P("title", gt, ve(e.$attrs["svg-title"]), 1)) : F("", !0),
294
+ e.$attrs["svg-title"] ? (L(), k("title", St, ge(e.$attrs["svg-title"]), 1)) : F("", !0),
295
295
  i[0] || (i[0] = te("path", {
296
296
  fill: "#001222",
297
297
  d: "M5.00011 5.43922L8.00011 8.43922L11.0001 5.43922L12.0608 6.49988L8.00011 10.5605L3.93945 6.49988L5.00011 5.43922Z"
298
298
  }, null, -1))
299
299
  ], 16);
300
300
  }
301
- const St = /* @__PURE__ */ Y(bt, [["render", ht]]);
302
- let Oe = 0;
303
- const Lt = {
301
+ const Et = /* @__PURE__ */ Y(ht, [["render", Lt]]);
302
+ let Te = 0;
303
+ const wt = {
304
304
  beforeCreate() {
305
- this.uuid = Oe.toString(), Oe += 1;
305
+ this.uuid = Te.toString(), Te += 1;
306
306
  }
307
- }, Et = { key: 0 };
308
- function wt(e, i, s, a, o, l) {
309
- return L(), P("svg", M({ role: "img" }, e.$attrs, {
307
+ }, Ct = { key: 0 };
308
+ function Ot(e, i, s, a, o, l) {
309
+ return L(), k("svg", P({ role: "img" }, e.$attrs, {
310
310
  class: "ui-assets-icons-16",
311
311
  xmlns: "http://www.w3.org/2000/svg",
312
312
  width: "16",
313
313
  height: "16",
314
314
  fill: "none"
315
315
  }), [
316
- e.$attrs["svg-title"] ? (L(), P("title", Et, ve(e.$attrs["svg-title"]), 1)) : F("", !0),
316
+ e.$attrs["svg-title"] ? (L(), k("title", Ct, ge(e.$attrs["svg-title"]), 1)) : F("", !0),
317
317
  i[0] || (i[0] = te("path", {
318
318
  fill: "#001222",
319
319
  d: "M10.9999 10.5608L7.9999 7.56077L4.9999 10.5608L3.93924 9.50011L7.9999 5.43945L12.0606 9.50011L10.9999 10.5608Z"
320
320
  }, null, -1))
321
321
  ], 16);
322
322
  }
323
- const xt = /* @__PURE__ */ Y(Lt, [["render", wt]]), Ct = { class: "b-dropdown-small-textbox__chevron" }, Ot = j({
323
+ const xt = /* @__PURE__ */ Y(wt, [["render", Ot]]), Bt = { class: "b-dropdown-small-textbox__chevron" }, Dt = j({
324
324
  name: "dropdown-small-textbox",
325
325
  inheritAttrs: !1
326
- }), Bt = /* @__PURE__ */ j({
327
- ...Ot,
326
+ }), Tt = /* @__PURE__ */ j({
327
+ ...Dt,
328
328
  props: {
329
329
  /**
330
330
  * The number of additional items that have been selected in the dropdown.
@@ -386,47 +386,47 @@ const xt = /* @__PURE__ */ Y(Lt, [["render", wt]]), Ct = { class: "b-dropdown-sm
386
386
  emits: ["clear", "close", "input", "keydown", "open"],
387
387
  setup(e, { expose: i, emit: s }) {
388
388
  const a = s, o = e, l = w(null), t = p(() => ({
389
- [`b-dropdown-small-textbox--${ie.DISABLED}`]: o.disabled,
390
- [`b-dropdown-small-textbox--${ie.READONLY}`]: o.readonly,
391
- [`b-dropdown-small-textbox--${ie.OPENED}`]: o.open
392
- })), c = p(() => o.open && !o.disabled && !o.readonly), m = (v) => {
393
- a("input", v);
394
- }, h = (v) => {
395
- a("keydown", v);
396
- }, r = (v) => {
397
- se(v), a("open");
398
- }, g = (v) => {
399
- se(v), a("close");
400
- }, u = (v) => {
401
- se(v), a("clear");
389
+ [`b-dropdown-small-textbox--${re.DISABLED}`]: o.disabled,
390
+ [`b-dropdown-small-textbox--${re.READONLY}`]: o.readonly,
391
+ [`b-dropdown-small-textbox--${re.OPENED}`]: o.open
392
+ })), u = p(() => o.open && !o.disabled && !o.readonly), v = (y) => {
393
+ a("input", y);
394
+ }, g = (y) => {
395
+ a("keydown", y);
396
+ }, r = (y) => {
397
+ de(y), a("open");
398
+ }, b = (y) => {
399
+ de(y), a("close");
400
+ }, d = (y) => {
401
+ de(y), a("clear");
402
402
  }, x = {
403
- [V.INPUT]: m,
403
+ [V.INPUT]: v,
404
404
  [V.OPEN]: r,
405
- [V.CLOSE]: g,
406
- [V.CLEAR]: u,
407
- [V.KEYDOWN]: h
405
+ [V.CLOSE]: b,
406
+ [V.CLEAR]: d,
407
+ [V.KEYDOWN]: g
408
408
  };
409
409
  return i({
410
410
  focus: () => {
411
411
  l.value.focus();
412
412
  }
413
- }), (v, D) => (L(), P("div", {
414
- class: pe(["b-dropdown-small-textbox", t.value])
413
+ }), (y, T) => (L(), k("div", {
414
+ class: me(["b-dropdown-small-textbox", t.value])
415
415
  }, [
416
- Q(nt, M({
416
+ Q(lt, P({
417
417
  ref_key: "baseTextbox",
418
418
  ref: l
419
- }, { ...v.$attrs, ...v.$props }, {
419
+ }, { ...y.$attrs, ...y.$props }, {
420
420
  class: "b-dropdown-small-textbox__textbox",
421
421
  size: n(_).SMALL
422
422
  }, G(x)), {
423
423
  icon: z(() => [
424
- te("div", Ct, [
424
+ te("div", Bt, [
425
425
  ee(Q(n(xt), { "svg-title": "opened" }, null, 512), [
426
- [Ee, c.value]
426
+ [Oe, u.value]
427
427
  ]),
428
- ee(Q(n(St), { "svg-title": "closed" }, null, 512), [
429
- [Ee, !c.value]
428
+ ee(Q(n(Et), { "svg-title": "closed" }, null, 512), [
429
+ [Oe, !u.value]
430
430
  ])
431
431
  ])
432
432
  ]),
@@ -434,22 +434,22 @@ const xt = /* @__PURE__ */ Y(Lt, [["render", wt]]), Ct = { class: "b-dropdown-sm
434
434
  }, 16, ["size"])
435
435
  ], 2));
436
436
  }
437
- }), Dt = /* @__PURE__ */ Y(Bt, [["__scopeId", "data-v-66b5eaa5"]]), It = (e, i) => i.value.reduce((s, a) => {
437
+ }), Nt = /* @__PURE__ */ Y(Tt, [["__scopeId", "data-v-66b5eaa5"]]), It = (e, i) => i.value.reduce((s, a) => {
438
438
  if (a.items) {
439
439
  const o = a.items.filter(
440
- (t) => e.value.find((c) => c.value === t.value)
440
+ (t) => e.value.find((u) => u.value === t.value)
441
441
  );
442
- o.length === a.items.length ? s.push(a.displayValue ?? a.label) : o.forEach(({ label: t, displayValue: c }) => s.push(c ?? t));
442
+ o.length === a.items.length ? s.push(a.displayValue ?? a.label) : o.forEach(({ label: t, displayValue: u }) => s.push(u ?? t));
443
443
  }
444
444
  return e.value.find((o) => o.value === a.value) && s.push(a.displayValue ?? a.label), s;
445
- }, []).join(", "), Tt = ({ items: e, placeholder: i, selectedValues: s, isMultiSelect: a }) => {
445
+ }, []).join(", "), At = ({ items: e, placeholder: i, selectedValues: s, isMultiSelect: a }) => {
446
446
  const o = p(
447
447
  () => a.value && e.value.find((t) => {
448
- var c;
449
- return (c = t.items) == null ? void 0 : c.length;
448
+ var u;
449
+ return (u = t.items) == null ? void 0 : u.length;
450
450
  })
451
451
  );
452
- return p(() => s.value.length ? o.value ? It(s, e) : s.value.map(({ label: t, displayValue: c }) => c ?? t).join(", ") : i.value || null);
452
+ return p(() => s.value.length ? o.value ? It(s, e) : s.value.map(({ label: t, displayValue: u }) => u ?? t).join(", ") : i.value || null);
453
453
  }, $e = (e) => {
454
454
  var i;
455
455
  (i = e.value.$children) == null || i[0].$refs.textbox.focus();
@@ -461,91 +461,86 @@ const xt = /* @__PURE__ */ Y(Lt, [["render", wt]]), Ct = { class: "b-dropdown-sm
461
461
  isDynamicFltering: o,
462
462
  items: l,
463
463
  isMultiple: t
464
- }, c, m, h) => {
465
- const r = async (d) => {
466
- var y, C;
467
- o.value && await I(), (C = (y = i.value.$refs.dropdownOptionsListboxRef.$refs.listboxItemRef) == null ? void 0 : y.$el.querySelectorAll('[role="option"]')[d]) == null || C.focus();
468
- }, g = async (d) => {
469
- var C, N;
470
- o.value && await I();
471
- const y = (C = i.value.$refs.dropdownOptionsListboxRef.$refs.listboxItemRef) == null ? void 0 : C.$el.querySelectorAll(
464
+ }, u, v, g) => {
465
+ const r = async (f) => {
466
+ var h;
467
+ o.value && await E(), (h = l.value[f]) == null || h.focus();
468
+ }, b = async (f) => {
469
+ var $, M;
470
+ o.value && await E();
471
+ const h = ($ = i.value.$refs.dropdownOptionsListboxRef.$refs.listboxItemRef) == null ? void 0 : $.$el.querySelectorAll(
472
472
  "button"
473
473
  );
474
- y.length ? (N = y[d]) == null || N.focus() : r(d);
475
- }, u = (d) => {
476
- var y;
477
- return (y = i.value.$refs.dropdownOptionsListboxRef.$refs.listboxItemRef) == null ? void 0 : y.setListboxFocusedIndex(
478
- d
474
+ h.length ? (M = h[f]) == null || M.focus() : r(f);
475
+ }, d = (f) => {
476
+ var h;
477
+ return (h = i.value.$refs.dropdownOptionsListboxRef.$refs.listboxItemRef) == null ? void 0 : h.setListboxFocusedIndex(
478
+ f
479
479
  );
480
- }, x = ({ detail: d }) => {
481
- d.preventDefault(), a.value || m(), I(() => {
482
- t ? g(0) : (u(s.value), r(s.value));
480
+ }, x = ({ detail: f }) => {
481
+ f.preventDefault(), a.value || v(), E(() => {
482
+ t ? b(0) : (d(s.value), r(s.value));
483
483
  });
484
- }, B = ({ detail: d }) => {
485
- d.preventDefault(), a.value || m(), I(() => {
486
- t ? g(0) : (u(s.value), r(s.value));
484
+ }, D = ({ detail: f }) => {
485
+ f.preventDefault(), a.value || v(), E(() => {
486
+ t ? b(0) : (d(s.value), r(s.value));
487
487
  });
488
- }, v = () => {
489
- a.value || (m(), I(() => {
490
- var d;
491
- if (t) {
492
- const y = i.value.$refs.dropdownOptionsListboxRef.$refs.listboxItemRef.$children;
493
- (d = y == null ? void 0 : y[y.length - 1].$el.querySelectorAll('[role="option"]')[l.length - 1]) == null || d.focus();
494
- } else
495
- u(l.length - 1), r(l.length - 1);
488
+ }, y = () => {
489
+ a.value || (v(), E(() => {
490
+ d(l.value.length - 1), r(l.value.length - 1);
496
491
  }));
497
- }, D = () => {
498
- a.value && (h(), $e(e));
499
- }, E = () => {
500
- a.value && h();
492
+ }, T = () => {
493
+ a.value && (g(), $e(e));
494
+ }, C = () => {
495
+ a.value && g();
501
496
  }, S = () => {
502
- a.value || m(), I(() => {
503
- t ? g(0) : r(0);
497
+ a.value || v(), E(() => {
498
+ r(0);
504
499
  });
505
- }, W = ({ detail: d }) => {
506
- d.preventDefault(), c(), a.value && I(() => {
507
- t ? g(0) : (u(s.value), r(s.value));
500
+ }, W = ({ detail: f }) => {
501
+ f.preventDefault(), u(), a.value && E(() => {
502
+ t ? b(0) : (d(s.value), r(s.value));
508
503
  });
509
- }, q = ({ detail: d }) => {
510
- d.preventDefault(), c(), a.value && I(() => {
511
- t ? g(0) : (u(s.value), r(s.value));
504
+ }, U = ({ detail: f }) => {
505
+ f.preventDefault(), u(), a.value && E(() => {
506
+ t ? b(0) : (d(s.value), r(s.value));
512
507
  });
513
508
  };
514
509
  return p(() => ({
515
- ...o.value ? {} : { [$.SPACE]: W },
516
- [$.ENTER]: q,
517
- [$.ARROW_DOWN]: x,
518
- [$.ARROW_UP]: B,
519
- [$.END]: v,
520
- [$.ESCAPE]: D,
521
- [$.HOME]: S,
522
- [$.TAB]: E
510
+ ...o.value ? {} : { [I.SPACE]: W },
511
+ [I.ENTER]: U,
512
+ [I.ARROW_DOWN]: x,
513
+ [I.ARROW_UP]: D,
514
+ [I.END]: y,
515
+ [I.ESCAPE]: T,
516
+ [I.HOME]: S,
517
+ [I.TAB]: C
523
518
  }));
524
- }, At = ({ inputContainerRef: e, isDropdownOpen: i }, s) => {
519
+ }, Mt = ({ inputContainerRef: e, isDropdownOpen: i }, s) => {
525
520
  const a = () => {
526
- i.value && s(), I(() => {
521
+ i.value && s(), E(() => {
527
522
  $e(e);
528
523
  });
529
524
  };
530
525
  return {
531
- [f.ENTER]: a,
532
- [f.ESCAPE]: a,
533
- [f.TAB]: a,
534
- [f.SPACE]: a
526
+ [m.ENTER]: a,
527
+ [m.ESCAPE]: a,
528
+ [m.TAB]: a,
529
+ [m.SPACE]: a
535
530
  };
536
531
  };
537
- function Nt(e, i, s, a) {
538
- const o = w(e), l = w(i), t = (m, h = []) => h.flatMap((r) => r.label.toLocaleLowerCase().includes(m) ? a != null && a.value && r.items ? [...t(m, r.items)] : [r, ...t(m, r.items)] : r.items ? [...t(m, r.items)] : []);
539
- return Be(o, () => {
532
+ function Rt(e, i, s, a) {
533
+ const o = w(e), l = w(i), t = (v, g = []) => g.flatMap((r) => r.label.toLocaleLowerCase().includes(v) ? a != null && a.value && r.items ? [...t(v, r.items)] : [r, ...t(v, r.items)] : r.items ? [...t(v, r.items)] : []);
534
+ return be(o, () => {
540
535
  s !== void 0 && s(o.value);
541
536
  }), p(() => {
542
537
  if (!o.value || s !== void 0)
543
538
  return l.value;
544
- const m = o.value.toLocaleLowerCase();
545
- return t(m, l.value);
539
+ const v = o.value.toLocaleLowerCase();
540
+ return t(v, l.value);
546
541
  });
547
542
  }
548
- const Ae = {
543
+ const Me = {
549
544
  "en-US": {
550
545
  all: "All",
551
546
  ariaLabelFallback: "Dropdown",
@@ -559,15 +554,15 @@ const Ae = {
559
554
  all: "Todos",
560
555
  clearFilter: "Limpar filtro"
561
556
  }
562
- }, Rt = Symbol("input field component injection key"), aa = Symbol("input field hint injection key"), la = Symbol("input field parent component injection key"), Mt = j({
563
- i18n: { messages: Ae },
557
+ }, Pt = Symbol("input field component injection key"), oa = Symbol("input field hint injection key"), na = Symbol("input field parent component injection key"), kt = j({
558
+ i18n: { messages: Me },
564
559
  name: "b-dropdown",
565
560
  components: {
566
- DropdownInputDefault: st,
567
- DropdownInputSmall: Dt
561
+ DropdownInputDefault: ot,
562
+ DropdownInputSmall: Nt
568
563
  }
569
- }), Pt = /* @__PURE__ */ j({
570
- ...Mt,
564
+ }), Kt = /* @__PURE__ */ j({
565
+ ...kt,
571
566
  props: {
572
567
  /**
573
568
  * @deprecated from version 2.0.0. Use the aria-label attribute instead.
@@ -658,8 +653,8 @@ const Ae = {
658
653
  */
659
654
  lazyLoadType: {
660
655
  type: String,
661
- default: fe.props.lazyLoadType.default,
662
- validator: (e) => Object.values(me).includes(e)
656
+ default: ve.props.lazyLoadType.default,
657
+ validator: (e) => Object.values(ye).includes(e)
663
658
  },
664
659
  /*
665
660
  * If enabled, the user will be able to select multiple items.
@@ -743,209 +738,225 @@ const Ae = {
743
738
  },
744
739
  emits: ["input", "show-more"],
745
740
  setup(e, { expose: i, emit: s }) {
746
- var Le;
747
- const a = Qe(), o = De(), l = dt(o), t = e, c = s, { t: m } = ye({ messages: Ae }), h = w(null), r = w(null), g = w(null), u = w(!1), x = J("bento-dropdown-options-container"), B = J("dropdown-label"), v = J("dropdown-description"), D = J("dropdown-error"), { isReadOnly: E } = at(O(t, "readonly")), { cachedSelectedListboxOptions: S, cachedListboxSelectedValues: W, setCachedValues: q } = it(
748
- O(t, "items"),
749
- O(t, "value"),
750
- O(t, "multiple"),
751
- O(t, "enableValueLabelPair")
752
- ), A = w(a["aria-label"]), { ariaLabel: d, label: y } = Ie(t), C = p(() => m("ariaLabelFallback")), N = tt({
741
+ var Ce;
742
+ const a = Ge(), o = Ne(), l = ct(o), t = e, u = s, { t: v } = he({ messages: Me }), g = w(null), r = w(null), b = w(null), d = w(!1), x = J("bento-dropdown-options-container"), D = J("dropdown-label"), y = J("dropdown-description"), T = J("dropdown-error"), { isReadOnly: C } = st(B(t, "readonly")), { cachedSelectedListboxOptions: S, cachedListboxSelectedValues: W, setCachedValues: U } = dt(
743
+ B(t, "items"),
744
+ B(t, "value"),
745
+ B(t, "multiple"),
746
+ B(t, "enableValueLabelPair")
747
+ ), A = w(a["aria-label"]), { ariaLabel: f, label: h } = Ie(t), $ = p(() => v("ariaLabelFallback")), M = nt({
753
748
  // TODO: take ariaLabel ref away when aria-label prop is removed
754
- ariaLabel: d.value || A,
755
- label: y,
756
- defaultFallback: C
757
- }), ge = t.size === _.SMALL || Xe(Rt, !1), Ne = p(() => ge ? _.SMALL : _.DEFAULT), Re = p(() => ({
749
+ ariaLabel: f.value || A,
750
+ label: h,
751
+ defaultFallback: $
752
+ }), Le = t.size === _.SMALL || et(Pt, !1), Re = p(() => Le ? _.SMALL : _.DEFAULT), Pe = p(() => ({
758
753
  "b-dropdown--condensed": t.condensed
759
- })), Me = p(() => ({
754
+ })), ke = p(() => ({
760
755
  "b-dropdown__description--error": !!t.errorMessage
761
- })), R = w(""), Z = O(t, "items"), he = O(t, "staticCategories"), Se = Nt(R, Z, (Le = t == null ? void 0 : t.search) == null ? void 0 : Le.searchEvent, he), ae = p(() => t.dynamicFiltering && !!R.value), Pe = Tt({
756
+ })), R = w(""), Z = B(t, "items"), Ee = B(t, "staticCategories"), ae = Rt(R, Z, (Ce = t == null ? void 0 : t.search) == null ? void 0 : Ce.searchEvent, Ee), le = p(() => t.dynamicFiltering && !!R.value), Ke = At({
762
757
  items: Z,
763
- placeholder: O(t, "placeholder"),
764
- isMultiSelect: O(t, "multiple"),
758
+ placeholder: B(t, "placeholder"),
759
+ isMultiSelect: B(t, "multiple"),
765
760
  selectedValues: S
766
- }), ke = p(() => {
761
+ }), Fe = p(() => {
767
762
  if (t != null && t.multiple && Array.isArray(t.value))
768
763
  return t.items.filter(
769
- ({ value: b }) => (t == null ? void 0 : t.value) && (t == null ? void 0 : t.value).includes(b)
764
+ ({ value: c }) => (t == null ? void 0 : t.value) && (t == null ? void 0 : t.value).includes(c)
770
765
  );
771
766
  if (!t.multiple && t.staticCategories) {
772
- const b = t.items.find(
773
- (k) => k.items.some((U) => U.value === t.value)
767
+ const c = t.items.find(
768
+ (N) => N.items.some((q) => q.value === t.value)
774
769
  );
775
- return b ? b.items.find((k) => k.value === t.value) : null;
770
+ return c ? c.items.find((N) => N.value === t.value) : null;
776
771
  }
777
- return t.items.find(({ value: b }) => b === (t == null ? void 0 : t.value));
778
- }), Ke = p(() => {
779
- const b = Se.value.findIndex(({ value: T }) => t.value === T);
780
- return b > -1 ? b : 0;
781
- }), { isMultiLevelSelect: Fe, flattenedItemsList: ze } = rt(Z), je = p(() => {
772
+ return t.items.find(({ value: c }) => c === (t == null ? void 0 : t.value));
773
+ }), ze = p(() => {
774
+ const c = ae.value.findIndex(({ value: O }) => t.value === O);
775
+ return c > -1 ? c : 0;
776
+ }), { isMultiLevelSelect: je, flattenedItemsList: We } = ut(Z), Ue = p(() => {
782
777
  if (t.multiple) {
783
- const b = Array.isArray(t.value) ? t.value.length : 0, T = Fe.value ? ze.value.length : Z.value.length;
784
- return b === 0 ? null : !t.hasMoreItems && T > 0 && T === b ? m("all") : b;
778
+ const c = Array.isArray(t.value) ? t.value.length : 0, O = je.value ? We.value.length : Z.value.length;
779
+ return c === 0 ? null : !t.hasMoreItems && O > 0 && O === c ? v("all") : c;
785
780
  }
786
781
  return null;
787
- }), We = p(
788
- () => `${t.description ? v : ""} ${t.errorMessage ? D : ""}`.trim() || null
789
- ), qe = () => {
790
- E.value || (u.value = !0);
791
- }, le = () => {
792
- u.value = !1;
782
+ }), qe = p(
783
+ () => `${t.description ? y : ""} ${t.errorMessage ? T : ""}`.trim() || null
784
+ ), He = () => {
785
+ C.value || (d.value = !0, E(() => {
786
+ se();
787
+ }));
793
788
  }, oe = () => {
794
- E.value || (u.value = !u.value, ae.value && (R.value = ""));
795
- }, Ue = () => {
796
- ae.value && (R.value = ""), u.value && (u.value = !1, g.value.onOutsideDropdownClick());
797
- }, He = (b) => {
798
- t.multiple || (R.value = "", u.value = !1), q(b), c("input", W.value);
789
+ d.value = !1;
790
+ }, ne = () => {
791
+ C.value || (d.value = !d.value, E(() => {
792
+ se();
793
+ }), le.value && (R.value = ""));
799
794
  }, Ve = () => {
800
- c(f.SHOW_MORE);
801
- }, Je = $t(
795
+ le.value && (R.value = ""), d.value && (d.value = !1, b.value.onOutsideDropdownClick());
796
+ }, _e = (c) => {
797
+ t.multiple || (R.value = "", d.value = !1), U(c), u("input", W.value);
798
+ }, Je = () => {
799
+ u(m.SHOW_MORE);
800
+ }, we = w([]), se = () => {
801
+ var O;
802
+ const c = (O = b.value) == null ? void 0 : O.$el;
803
+ !c || c.nodeType === Node.COMMENT_NODE || (we.value = Array.from(
804
+ c.querySelectorAll('[role="option"]')
805
+ ).filter((N) => N.checkVisibility()));
806
+ };
807
+ be(ae, () => {
808
+ E(() => {
809
+ se();
810
+ });
811
+ });
812
+ const Ye = $t(
802
813
  {
803
- inputContainerRef: h,
804
- optionsContainerRef: g,
805
- selectedValueIndex: Ke,
806
- isDropdownOpen: u,
807
- isDynamicFltering: O(t, "dynamicFiltering"),
808
- items: t.items,
814
+ inputContainerRef: g,
815
+ optionsContainerRef: b,
816
+ selectedValueIndex: ze,
817
+ isDropdownOpen: d,
818
+ isDynamicFltering: B(t, "dynamicFiltering"),
819
+ items: we,
809
820
  isMultiple: t.multiple
810
821
  },
811
- oe,
812
- qe,
813
- le
814
- ), _e = At(
822
+ ne,
823
+ He,
824
+ oe
825
+ ), Ze = Mt(
815
826
  {
816
- inputContainerRef: h,
817
- isDropdownOpen: u
827
+ inputContainerRef: g,
828
+ isDropdownOpen: d
818
829
  },
819
- le
820
- ), Ye = {
821
- [f.CLOSE_DROPDOWN]: le,
822
- [f.SELECT]: He,
823
- [f.SHOW_MORE]: Ve,
824
- ..._e
830
+ oe
831
+ ), Qe = {
832
+ [m.CLOSE_DROPDOWN]: oe,
833
+ [m.SELECT]: _e,
834
+ [m.SHOW_MORE]: Je,
835
+ ...Ze
825
836
  };
826
- return t.error && we(
837
+ return t.error && xe(
827
838
  'BentoDropdown "error" property',
828
839
  `Use the BentoDropdown "errorMessage" property instead to indicate that there is a modifier error.
829
840
  Having the field as "undefined" will hide/remove the error.
830
841
  <bento-dropdown errorMessage="Error message text" />`,
831
842
  "2.0.0"
832
- ), t.size && we('BentoDropdown "size" property', "Do not use. Only 'default' size should be used.", "2.0.0"), i({
843
+ ), t.size && xe('BentoDropdown "size" property', "Do not use. Only 'default' size should be used.", "2.0.0"), i({
833
844
  focus: () => {
834
- h.value.focus();
845
+ g.value.focus();
835
846
  }
836
- }), (b, T) => {
837
- var k;
838
- return ee((L(), P("div", {
839
- class: pe(["b-dropdown", Re.value])
847
+ }), (c, O) => {
848
+ var N;
849
+ return ee((L(), k("div", {
850
+ class: me(["b-dropdown", Pe.value])
840
851
  }, [
841
- n(y) ? (L(), K(n(ut), {
852
+ n(h) ? (L(), K(n(pt), {
842
853
  key: 0,
843
- id: n(B),
854
+ id: n(D),
844
855
  condensed: e.condensed,
845
- label: n(y),
856
+ label: n(h),
846
857
  "tooltip-text": e.tooltipText,
847
858
  optional: e.optional,
848
859
  required: e.required
849
860
  }, null, 8, ["id", "condensed", "label", "tooltip-text", "optional", "required"])) : F("", !0),
850
- ee((L(), P("div", M({
861
+ ee((L(), k("div", P({
851
862
  ref_key: "inputContainerRefWrapper",
852
863
  ref: r
853
- }, G(n(Je), !0)), [
854
- (L(), K(Te(Ne.value), {
864
+ }, G(n(Ye), !0)), [
865
+ (L(), K(Ae(Re.value), {
855
866
  ref_key: "inputContainerRef",
856
- ref: h,
867
+ ref: g,
857
868
  condensed: e.condensed,
858
869
  value: R.value,
859
- "additional-items-selected": je.value,
870
+ "additional-items-selected": Ue.value,
860
871
  "aria-controls": n(x),
861
- ariaExpanded: u.value,
862
- "aria-labelledby": n(y) ? n(B) : null,
863
- "aria-describedby": We.value,
864
- "aria-label": n(N),
865
- "aria-readonly": n(E),
866
- readonly: n(E),
872
+ ariaExpanded: d.value,
873
+ "aria-labelledby": n(h) ? n(D) : null,
874
+ "aria-describedby": qe.value,
875
+ "aria-label": n(M),
876
+ "aria-readonly": n(C),
877
+ readonly: n(C),
867
878
  disabled: e.disabled,
868
- "display-value": n(Pe),
879
+ "display-value": n(Ke),
869
880
  "dynamic-filtering": e.dynamicFiltering,
870
881
  "is-invalid": !!e.errorMessage || e.error,
871
882
  multiple: e.multiple,
872
- open: u.value,
873
- "selected-value-item": n(ge) ? void 0 : ke.value,
883
+ open: d.value,
884
+ "selected-value-item": n(Le) ? void 0 : Fe.value,
874
885
  "show-slot-content-in-multiple": e.showSlotContentInMultiple,
875
- onInput: T[0] || (T[0] = (U) => R.value = U),
876
- onOpen: oe,
877
- onClose: oe
878
- }, re({ _: 2 }, [
879
- de(n(o), (U, H) => ({
886
+ onInput: O[0] || (O[0] = (q) => R.value = q),
887
+ onOpen: ne,
888
+ onClose: ne
889
+ }, ue({ _: 2 }, [
890
+ ce(n(o), (q, H) => ({
880
891
  name: H,
881
- fn: z((ne) => [
882
- X(b.$slots, H, ue(ce(ne)), void 0, !0)
892
+ fn: z((ie) => [
893
+ X(c.$slots, H, pe(fe(ie)), void 0, !0)
883
894
  ])
884
895
  }))
885
896
  ]), 1064, ["condensed", "value", "additional-items-selected", "aria-controls", "ariaExpanded", "aria-labelledby", "aria-describedby", "aria-label", "aria-readonly", "readonly", "disabled", "display-value", "dynamic-filtering", "is-invalid", "multiple", "open", "selected-value-item", "show-slot-content-in-multiple"]))
886
897
  ], 16)), [
887
- [n(ot)]
898
+ [n(rt)]
888
899
  ]),
889
- h.value ? (L(), K(n(yt), M({
900
+ g.value ? (L(), K(n(gt), P({
890
901
  key: 1,
891
902
  id: n(x),
892
903
  ref_key: "optionsContainerRef",
893
- ref: g,
894
- "aria-label": n(N),
904
+ ref: b,
905
+ "aria-label": n(M),
895
906
  "component-loading": e.componentLoading,
896
907
  "empty-state": e.emptyState,
897
- "debounce-time": (k = e.search) == null ? void 0 : k.debounceTime,
908
+ "debounce-time": (N = e.search) == null ? void 0 : N.debounceTime,
898
909
  disabled: e.disabled,
899
910
  "is-option-disabled": e.isOptionDisabled,
900
- items: n(Se),
911
+ items: n(ae),
901
912
  multiple: e.multiple,
902
- "static-categories": he.value,
903
- open: u.value,
913
+ "static-categories": Ee.value,
914
+ open: d.value,
904
915
  "selected-value": n(S),
905
- searching: ae.value,
916
+ searching: le.value,
906
917
  "target-element": r.value,
907
918
  loading: e.loading,
908
919
  "has-more-items": e.hasMoreItems,
909
920
  "lazy-load-type": e.lazyLoadType,
910
921
  "virtual-scroll": e.virtualScroll
911
- }, G(Ye)), re({ _: 2 }, [
912
- de(n(o), (U, H) => ({
922
+ }, G(Qe)), ue({ _: 2 }, [
923
+ ce(n(o), (q, H) => ({
913
924
  name: H,
914
- fn: z((ne) => [
915
- X(b.$slots, H, ue(ce(ne)), void 0, !0)
925
+ fn: z((ie) => [
926
+ X(c.$slots, H, pe(fe(ie)), void 0, !0)
916
927
  ])
917
928
  }))
918
929
  ]), 1040, ["id", "aria-label", "component-loading", "empty-state", "debounce-time", "disabled", "is-option-disabled", "items", "multiple", "static-categories", "open", "selected-value", "searching", "target-element", "loading", "has-more-items", "lazy-load-type", "virtual-scroll"])) : F("", !0),
919
- e.errorMessage ? (L(), K(n(ct), {
930
+ e.errorMessage ? (L(), K(n(ft), {
920
931
  key: 2,
921
- id: n(D),
932
+ id: n(T),
922
933
  "error-message": e.errorMessage,
923
934
  class: "b-dropdown__error-message"
924
935
  }, null, 8, ["id", "error-message"])) : F("", !0),
925
- e.description || n(l)("description") ? (L(), K(n(et), {
936
+ e.description || n(l)("description") ? (L(), K(n(at), {
926
937
  key: 3,
927
- id: n(v),
928
- class: pe(["b-dropdown__description", Me.value]),
938
+ id: n(y),
939
+ class: me(["b-dropdown__description", ke.value]),
929
940
  el: "span"
930
941
  }, {
931
942
  default: z(() => [
932
- X(b.$slots, "description", {}, () => [
933
- Ge(ve(e.description), 1)
943
+ X(c.$slots, "description", {}, () => [
944
+ tt(ge(e.description), 1)
934
945
  ], !0)
935
946
  ]),
936
947
  _: 3
937
948
  }, 8, ["id", "class"])) : F("", !0)
938
949
  ], 2)), [
939
- [n(lt), Ue]
950
+ [n(it), Ve]
940
951
  ]);
941
952
  };
942
953
  }
943
- }), oa = /* @__PURE__ */ Y(Pt, [["__scopeId", "data-v-04b90b6f"]]);
954
+ }), sa = /* @__PURE__ */ Y(Kt, [["__scopeId", "data-v-a3c2e9cb"]]);
944
955
  export {
945
- oa as B,
946
- aa as I,
947
- Rt as a,
948
- la as b,
949
- Nt as u
956
+ sa as B,
957
+ oa as I,
958
+ Pt as a,
959
+ na as b,
960
+ Rt as u
950
961
  };
951
- //# sourceMappingURL=dropdown.UapzImAi.js.map
962
+ //# sourceMappingURL=dropdown.Bj6DK-2v.js.map