@adyen/bento-vue2 1.63.2 → 1.64.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 (121) hide show
  1. package/dist/@types/index.d.ts +4 -0
  2. package/dist/assets/accordion-item.css +1 -1
  3. package/dist/assets/action-bar.css +1 -1
  4. package/dist/assets/base-modal.css +1 -1
  5. package/dist/assets/card.css +1 -1
  6. package/dist/assets/data-grid.css +1 -1
  7. package/dist/assets/date-picker.css +1 -1
  8. package/dist/assets/dialog-page.css +1 -1
  9. package/dist/assets/dropdown.css +1 -1
  10. package/dist/assets/file-uploader.css +1 -1
  11. package/dist/assets/input-field-password.css +1 -1
  12. package/dist/assets/inspector.css +1 -1
  13. package/dist/assets/menu.css +1 -1
  14. package/dist/assets/modal-fullscreen.css +1 -1
  15. package/dist/assets/popover.css +1 -1
  16. package/dist/assets/sidepanel.css +1 -1
  17. package/dist/assets/use-cached-selected-values.css +1 -1
  18. package/dist/checkbox.js +2 -2
  19. package/dist/chunks/{checkbox-group.6y92U6AF.js → checkbox-group.DVX0GFm9.js} +4 -4
  20. package/dist/chunks/{checkbox-group.6y92U6AF.js.map → checkbox-group.DVX0GFm9.js.map} +1 -1
  21. package/dist/chunks/{checkbox.C9nJVvMq.js → checkbox.nHrvoKfp.js} +3 -3
  22. package/dist/chunks/{checkbox.C9nJVvMq.js.map → checkbox.nHrvoKfp.js.map} +1 -1
  23. package/dist/chunks/{code-snippet.CBU8Tlbs.js → code-snippet.C7eh-7Vy.js} +3 -3
  24. package/dist/chunks/{code-snippet.CBU8Tlbs.js.map → code-snippet.C7eh-7Vy.js.map} +1 -1
  25. package/dist/chunks/{controls-group.Dpe3TqAz.js → controls-group.BWAmz7Tg.js} +2 -2
  26. package/dist/chunks/{controls-group.Dpe3TqAz.js.map → controls-group.BWAmz7Tg.js.map} +1 -1
  27. package/dist/chunks/{copy.Co1MMqtM.js → copy.CXeLbvUP.js} +2 -2
  28. package/dist/chunks/{copy.Co1MMqtM.js.map → copy.CXeLbvUP.js.map} +1 -1
  29. package/dist/chunks/{dashed-underline.DD24UDCz.js → dashed-underline.CEaAmjDa.js} +2 -2
  30. package/dist/chunks/{dashed-underline.DD24UDCz.js.map → dashed-underline.CEaAmjDa.js.map} +1 -1
  31. package/dist/chunks/{data-grid.Cep-0zsO.js → data-grid.o64ltIur.js} +1105 -1076
  32. package/dist/chunks/data-grid.o64ltIur.js.map +1 -0
  33. package/dist/chunks/{date-picker.D65ieFdN.js → date-picker.Ba-lHyXs.js} +29 -29
  34. package/dist/chunks/{date-picker.D65ieFdN.js.map → date-picker.Ba-lHyXs.js.map} +1 -1
  35. package/dist/chunks/{date-range-picker.CNB28UaM.js → date-range-picker.BER92nnT.js} +21 -21
  36. package/dist/chunks/{date-range-picker.CNB28UaM.js.map → date-range-picker.BER92nnT.js.map} +1 -1
  37. package/dist/chunks/{dropdown-tag.DmVsDrL_.js → dropdown-tag.uNZs7yVF.js} +3 -3
  38. package/dist/chunks/{dropdown-tag.DmVsDrL_.js.map → dropdown-tag.uNZs7yVF.js.map} +1 -1
  39. package/dist/chunks/{dropdown.B_PWXFtT.js → dropdown.DZ1Ndonr.js} +211 -210
  40. package/dist/chunks/dropdown.DZ1Ndonr.js.map +1 -0
  41. package/dist/chunks/{error-message.BeExHHgv.js → error-message.1Em7Lis3.js} +2 -2
  42. package/dist/chunks/{error-message.BeExHHgv.js.map → error-message.1Em7Lis3.js.map} +1 -1
  43. package/dist/chunks/{file-uploader.RYWR99Nq.js → file-uploader.DyjdNLOa.js} +3 -3
  44. package/dist/chunks/{file-uploader.RYWR99Nq.js.map → file-uploader.DyjdNLOa.js.map} +1 -1
  45. package/dist/chunks/{filter-bar.DjUN3PeJ.js → filter-bar.BMDvL9EW.js} +10 -10
  46. package/dist/chunks/{filter-bar.DjUN3PeJ.js.map → filter-bar.BMDvL9EW.js.map} +1 -1
  47. package/dist/chunks/{header-with-views.Csgl4PSQ.js → header-with-views.CEfKLlVv.js} +4 -4
  48. package/dist/chunks/{header-with-views.Csgl4PSQ.js.map → header-with-views.CEfKLlVv.js.map} +1 -1
  49. package/dist/chunks/{info-icon.G8lKgclf.js → info-icon.B9aTl1nU.js} +2 -2
  50. package/dist/chunks/{info-icon.G8lKgclf.js.map → info-icon.B9aTl1nU.js.map} +1 -1
  51. package/dist/chunks/{input-field-password.CY3eRVpe.js → input-field-password.DI7W4ehj.js} +110 -109
  52. package/dist/chunks/input-field-password.DI7W4ehj.js.map +1 -0
  53. package/dist/chunks/{input-field-phone-number.CN5qZ0VL.js → input-field-phone-number.BXbNxQeN.js} +3 -3
  54. package/dist/chunks/{input-field-phone-number.CN5qZ0VL.js.map → input-field-phone-number.BXbNxQeN.js.map} +1 -1
  55. package/dist/chunks/{input-field.DKhsSYF8.js → input-field.-Pgtuotm.js} +3 -3
  56. package/dist/chunks/{input-field.DKhsSYF8.js.map → input-field.-Pgtuotm.js.map} +1 -1
  57. package/dist/chunks/{listbox-option-tag.DFmB_TuD.js → listbox-option-tag.D0Cql_R3.js} +2 -2
  58. package/dist/chunks/{listbox-option-tag.DFmB_TuD.js.map → listbox-option-tag.D0Cql_R3.js.map} +1 -1
  59. package/dist/chunks/{pagination.DvP8FqiW.js → pagination.CoM4szsH.js} +2 -2
  60. package/dist/chunks/{pagination.DvP8FqiW.js.map → pagination.CoM4szsH.js.map} +1 -1
  61. package/dist/chunks/{radio-group.CRDMTTyM.js → radio-group.CtPG_iiI.js} +4 -4
  62. package/dist/chunks/{radio-group.CRDMTTyM.js.map → radio-group.CtPG_iiI.js.map} +1 -1
  63. package/dist/chunks/{rich-text-editor.aSOSl4Rz.js → rich-text-editor.CLxVaskq.js} +4 -4
  64. package/dist/chunks/{rich-text-editor.aSOSl4Rz.js.map → rich-text-editor.CLxVaskq.js.map} +1 -1
  65. package/dist/chunks/{search-bar.Sh4A8UId.js → search-bar.BhQdvBh8.js} +3 -3
  66. package/dist/chunks/{search-bar.Sh4A8UId.js.map → search-bar.BhQdvBh8.js.map} +1 -1
  67. package/dist/chunks/{secondary-nav.BFtGx_IN.js → secondary-nav.CItGT9T3.js} +2 -2
  68. package/dist/chunks/{secondary-nav.BFtGx_IN.js.map → secondary-nav.CItGT9T3.js.map} +1 -1
  69. package/dist/chunks/{segmented-control.B-uxKqMN.js → segmented-control.DHZEfmT-.js} +2 -2
  70. package/dist/chunks/{segmented-control.B-uxKqMN.js.map → segmented-control.DHZEfmT-.js.map} +1 -1
  71. package/dist/chunks/{selection-card-group.CrWy35QU.js → selection-card-group.CoqBRUT8.js} +3 -3
  72. package/dist/chunks/{selection-card-group.CrWy35QU.js.map → selection-card-group.CoqBRUT8.js.map} +1 -1
  73. package/dist/chunks/{structured-list-item.DKEwF8n7.js → structured-list-item.tox2Kcb6.js} +4 -4
  74. package/dist/chunks/{structured-list-item.DKEwF8n7.js.map → structured-list-item.tox2Kcb6.js.map} +1 -1
  75. package/dist/chunks/{summary-grid.types.BgFtV5Qh.js → summary-grid.types.CkUIw703.js} +5 -5
  76. package/dist/chunks/{summary-grid.types.BgFtV5Qh.js.map → summary-grid.types.CkUIw703.js.map} +1 -1
  77. package/dist/chunks/{tag.BaSi2GVV.js → tag.CGkclKVL.js} +2 -2
  78. package/dist/chunks/{tag.BaSi2GVV.js.map → tag.CGkclKVL.js.map} +1 -1
  79. package/dist/chunks/{textarea.D7M7Jerq.js → textarea.BPeDUAPL.js} +2 -2
  80. package/dist/chunks/{textarea.D7M7Jerq.js.map → textarea.BPeDUAPL.js.map} +1 -1
  81. package/dist/chunks/{timeline-item.njO0X8KL.js → timeline-item.CS9ZDOsm.js} +4 -4
  82. package/dist/chunks/{timeline-item.njO0X8KL.js.map → timeline-item.CS9ZDOsm.js.map} +1 -1
  83. package/dist/chunks/{tooltip.DyZIyMZN.js → tooltip.wQsyAwkC.js} +15 -15
  84. package/dist/chunks/tooltip.wQsyAwkC.js.map +1 -0
  85. package/dist/chunks/use-cached-selected-values.C1CeSurp.js +1271 -0
  86. package/dist/chunks/use-cached-selected-values.C1CeSurp.js.map +1 -0
  87. package/dist/code-snippet.js +1 -1
  88. package/dist/dashed-underline.js +1 -1
  89. package/dist/data-grid.js +1 -1
  90. package/dist/date-picker.js +1 -1
  91. package/dist/date-range-picker.js +1 -1
  92. package/dist/dropdown.js +3 -3
  93. package/dist/file-uploader.js +1 -1
  94. package/dist/filter-bar.js +1 -1
  95. package/dist/header-with-views.js +1 -1
  96. package/dist/index.js +30 -30
  97. package/dist/info-icon.js +1 -1
  98. package/dist/input-field-password.js +1 -1
  99. package/dist/input-field-phone-number.js +1 -1
  100. package/dist/input-field.js +1 -1
  101. package/dist/internal.js +6 -6
  102. package/dist/pagination.js +1 -1
  103. package/dist/radio-group.js +1 -1
  104. package/dist/rich-text-editor.js +1 -1
  105. package/dist/search-bar.js +2 -2
  106. package/dist/secondary-nav.js +1 -1
  107. package/dist/segmented-control.js +1 -1
  108. package/dist/selection-card.js +1 -1
  109. package/dist/structured-list.js +1 -1
  110. package/dist/summary-grid.js +1 -1
  111. package/dist/tag.js +1 -1
  112. package/dist/textarea.js +1 -1
  113. package/dist/timeline.js +1 -1
  114. package/dist/web-types.json +9 -1
  115. package/package.json +6 -6
  116. package/dist/chunks/data-grid.Cep-0zsO.js.map +0 -1
  117. package/dist/chunks/dropdown.B_PWXFtT.js.map +0 -1
  118. package/dist/chunks/input-field-password.CY3eRVpe.js.map +0 -1
  119. package/dist/chunks/tooltip.DyZIyMZN.js.map +0 -1
  120. package/dist/chunks/use-cached-selected-values.CDBmVxYM.js +0 -1225
  121. package/dist/chunks/use-cached-selected-values.CDBmVxYM.js.map +0 -1
@@ -1,22 +1,22 @@
1
- import { ref as S, watch as ue, computed as p, defineComponent as A, useSlots as pe, toRefs as fe, nextTick as L, useAttrs as Le, toRef as C, inject as Oe } from "vue";
2
- import { d as ie, B as Ee } from "./typography.J1v_SPG3.js";
3
- import { a as U, b as M, c as De, B as P, D as Be } from "./dropdown-default-textbox.BNuuA4ES.js";
4
- /* empty css */
5
- import { n as F } from "./_plugin-vue2_normalizer.CeySl7Fu.js";
6
- import { s as q } from "./events.CMzGybJJ.js";
1
+ import { ref as S, watch as ue, computed as u, defineComponent as N, useSlots as pe, toRefs as fe, nextTick as x, useAttrs as Oe, toRef as w, inject as Ee } from "vue";
2
+ import { d as ie, B as De } from "./typography.J1v_SPG3.js";
7
3
  import { g as k } from "./generate-uid.NJ8tVoha.js";
8
- import { u as Ie } from "./aria-label.CaUURpnB.js";
4
+ import { u as Be } from "./aria-label.CaUURpnB.js";
9
5
  import { u as V } from "./i18n.BQkEbtPM.js";
10
- import { u as Te } from "./use-form-layout-loading.D3lALhtC.js";
6
+ import { u as Ie } from "./use-form-layout-loading.D3lALhtC.js";
7
+ import { a as U, b as P, c as Te, B as F, D as Ae } from "./dropdown-default-textbox.BNuuA4ES.js";
11
8
  import { u as Ne } from "./use-has-slot.C9lQZ6nz.js";
12
- import { a as u, b as H, B as J, c as Ae, u as Re } from "./use-cached-selected-values.CDBmVxYM.js";
13
- import { B as D, a as $e } from "./keyboard-navigation.pB8weElW.js";
14
- import { B as Me } from "./directive.Cbdox5VL.js";
15
- import { F as Pe, E as ke } from "./error-message.BeExHHgv.js";
9
+ import { a as p, b as H, B as J, c as Re, u as $e } from "./use-cached-selected-values.C1CeSurp.js";
10
+ import { B as E, a as Me } from "./keyboard-navigation.pB8weElW.js";
11
+ import { B as Pe } from "./directive.Cbdox5VL.js";
12
+ import { F as ke, E as Fe } from "./error-message.1Em7Lis3.js";
16
13
  import { P as re } from "./popper-container.DIFqmRsp.js";
17
- import { B as Fe } from "./popover.B05xkQ4e.js";
14
+ import { B as Ke } from "./popover.B05xkQ4e.js";
15
+ import { n as K } from "./_plugin-vue2_normalizer.CeySl7Fu.js";
16
+ /* empty css */
17
+ import { s as q } from "./events.CMzGybJJ.js";
18
18
  import "../assets/dropdown.css";
19
- const Ke = {
19
+ const ze = {
20
20
  "en-US": {
21
21
  apply: "Apply",
22
22
  cancel: "Cancel",
@@ -30,20 +30,20 @@ const Ke = {
30
30
  apply: "Aplicar",
31
31
  cancel: "Cancelar"
32
32
  }
33
- }, ze = (a, t, o, e) => {
34
- const n = S(a.value), { t: s } = V();
35
- ue(a, () => {
36
- n.value = a.value;
33
+ }, je = (n, t, o, e) => {
34
+ const a = S(n.value), { t: s } = V();
35
+ ue(n, () => {
36
+ a.value = n.value;
37
37
  });
38
- const l = p(
39
- () => JSON.stringify(n.value) === JSON.stringify(a.value)
38
+ const l = u(
39
+ () => JSON.stringify(a.value) === JSON.stringify(n.value)
40
40
  ), i = () => {
41
- e(u.SELECT, n.value), e(u.CLOSE_DROPDOWN);
41
+ e(p.SELECT, a.value), e(p.CLOSE_DROPDOWN);
42
42
  }, c = () => {
43
- n.value = a.value, e(u.CLOSE_DROPDOWN);
43
+ a.value = n.value, e(p.CLOSE_DROPDOWN);
44
44
  }, m = () => {
45
- o.value && t.value && (n.value = a.value);
46
- }, r = p(() => [
45
+ o.value && t.value && (a.value = n.value);
46
+ }, r = u(() => [
47
47
  {
48
48
  title: s("apply"),
49
49
  event: i,
@@ -53,39 +53,39 @@ const Ke = {
53
53
  title: s("cancel"),
54
54
  event: c
55
55
  }
56
- ]), d = (y) => {
57
- n.value = y, t.value || e(u.SELECT, y);
58
- }, g = (y) => {
59
- d(y), e(u.TAB);
60
- }, h = (y) => {
61
- d(y), e(u.ENTER);
62
- }, v = (y) => {
63
- d(y), e(u.SPACE);
56
+ ]), d = (b) => {
57
+ a.value = b, t.value || e(p.SELECT, b);
58
+ }, g = (b) => {
59
+ d(b), e(p.TAB);
60
+ }, h = (b) => {
61
+ d(b), e(p.ENTER);
62
+ }, v = (b) => {
63
+ d(b), e(p.SPACE);
64
64
  }, O = () => {
65
- c(), e(u.ESCAPE);
66
- }, w = () => {
67
- e(u.SHOW_MORE);
68
- }, x = {
69
- [u.SELECT]: d,
70
- [u.SHOW_MORE]: w,
71
- [u.TAB]: g,
72
- [u.SPACE]: v,
73
- [u.ENTER]: h
65
+ c(), e(p.ESCAPE);
66
+ }, C = () => {
67
+ e(p.SHOW_MORE);
68
+ }, L = {
69
+ [p.SELECT]: d,
70
+ [p.SHOW_MORE]: C,
71
+ [p.TAB]: g,
72
+ [p.SPACE]: v,
73
+ [p.ENTER]: h
74
74
  };
75
75
  return {
76
76
  // Values
77
77
  actions: r,
78
- internalSelectedValue: n,
78
+ internalSelectedValue: a,
79
79
  // Methods
80
- listeners: x,
80
+ listeners: L,
81
81
  onEscapeKey: O,
82
82
  onOutsideDropdownClick: m
83
83
  };
84
- }, je = A({
85
- i18n: { messages: Ke },
84
+ }, We = N({
85
+ i18n: { messages: ze },
86
86
  name: "bento-dropdown-options-container"
87
- }), We = /* @__PURE__ */ A({
88
- ...je,
87
+ }), Ue = /* @__PURE__ */ N({
88
+ ...We,
89
89
  props: {
90
90
  /**
91
91
  * Defines a string value that labels an interactive element.
@@ -145,7 +145,7 @@ const Ke = {
145
145
  lazyLoadType: {
146
146
  type: String,
147
147
  default: J.AUTOMATIC,
148
- validator: (a) => Object.values(J).includes(a)
148
+ validator: (n) => Object.values(J).includes(n)
149
149
  },
150
150
  /**
151
151
  * Indicates if new options are lazy loading.
@@ -195,19 +195,20 @@ const Ke = {
195
195
  }
196
196
  },
197
197
  emits: [],
198
- setup(a, { expose: t, emit: o }) {
199
- const e = a, n = pe(), { selectedValue: s, multiple: l } = fe(e), i = S(null), { t: c } = V(), m = p(() => e.open && !e.disabled), r = p(() => c("noOptionsMatchThisSearch")), d = p(() => ({
198
+ setup(n, { expose: t, emit: o }) {
199
+ const e = n, a = pe(), { selectedValue: s, multiple: l } = fe(e), i = S(null), { t: c } = V(), m = u(() => e.open && !e.disabled), r = u(() => c("noOptionsMatchThisSearch")), d = u(() => ({
200
200
  "b-dropdown-options-container--single": !(e != null && e.multiple)
201
- })), g = p(() => ({
201
+ })), g = u(() => ({
202
202
  "b-dropdown-options-container__listbox--single": !(e != null && e.multiple)
203
- })), { actions: h, internalSelectedValue: v, listeners: O, onEscapeKey: w, onOutsideDropdownClick: x } = ze(s, l, m, o), y = p(() => e != null && e.multiple ? Fe : re), I = p(() => {
203
+ })), { actions: h, internalSelectedValue: v, listeners: O, onEscapeKey: C, onOutsideDropdownClick: L } = je(s, l, m, o), b = u(() => e != null && e.multiple ? Ke : re), I = u(() => {
204
204
  var T;
205
- const B = {
205
+ const D = {
206
206
  "min-width": `${(T = e == null ? void 0 : e.targetElement) == null ? void 0 : T.clientWidth}px`,
207
207
  "max-width": "min(500px, 95%)"
208
208
  };
209
209
  return e != null && e.multiple ? {
210
210
  actionsLayout: "space-between",
211
+ ariaLabel: e.ariaLabel,
211
212
  actions: h.value,
212
213
  divider: !0,
213
214
  fallbackPosition: ["top-start"],
@@ -216,7 +217,7 @@ const Ke = {
216
217
  position: "bottom-start",
217
218
  style: {
218
219
  width: "auto",
219
- ...B
220
+ ...D
220
221
  },
221
222
  targetElement: e.targetElement
222
223
  } : {
@@ -225,74 +226,74 @@ const Ke = {
225
226
  position: "bottom-start",
226
227
  style: {
227
228
  display: m.value ? "block" : "none",
228
- ...B
229
+ ...D
229
230
  },
230
231
  targetElement: e.targetElement
231
232
  };
232
233
  });
233
234
  return t({
234
- onOutsideDropdownClick: x
235
- }), { __sfc: !0, slots: n, emit: o, props: e, selectedValue: s, multiple: l, dropdownOptionsListboxRef: i, t: c, isDropdownOpen: m, noResultsMessage: r, conditionalClasses: d, conditionalListboxClasses: g, actions: h, internalSelectedValue: v, listeners: O, onEscapeKey: w, onOutsideDropdownClick: x, popperContainerOrPopoverComponent: y, popperContainerOrPopoverProps: I, BentoListbox: H };
235
+ onOutsideDropdownClick: L
236
+ }), { __sfc: !0, slots: a, emit: o, props: e, selectedValue: s, multiple: l, dropdownOptionsListboxRef: i, t: c, isDropdownOpen: m, noResultsMessage: r, conditionalClasses: d, conditionalListboxClasses: g, actions: h, internalSelectedValue: v, listeners: O, onEscapeKey: C, onOutsideDropdownClick: L, popperContainerOrPopoverComponent: b, popperContainerOrPopoverProps: I, BentoListbox: H };
236
237
  }
237
238
  });
238
- var Ue = function() {
239
+ var qe = function() {
239
240
  var t = this, o = t._self._c, e = t._self._setupProxy;
240
- return o(e.popperContainerOrPopoverComponent, t._b({ tag: "component", staticClass: "b-dropdown-options-container", class: e.conditionalClasses, attrs: { "aria-label": t.ariaLabel } }, "component", e.popperContainerOrPopoverProps, !1), [o("div", { on: { keydown: function(n) {
241
- return !n.type.indexOf("key") && t._k(n.keyCode, "esc", 27, n.key, ["Esc", "Escape"]) ? null : e.onEscapeKey.apply(null, arguments);
242
- } } }, [o(e.BentoListbox, t._g({ ref: "dropdownOptionsListboxRef", staticClass: "b-dropdown-options-container__listbox", class: e.conditionalListboxClasses, attrs: { id: t.id, "aria-label": t.ariaLabel, "component-loading": t.componentLoading, "empty-state": t.emptyState, "is-option-disabled": t.isOptionDisabled, items: t.items, "selected-value": e.internalSelectedValue, multiple: e.multiple, "static-categories": t.staticCategories, "no-results-message": e.noResultsMessage, searching: t.searching, loading: t.loading, "lazy-load-type": t.lazyLoadType, "has-more-items": t.hasMoreItems, "virtual-scroll": t.virtualScroll }, scopedSlots: t._u([t._l(e.slots, function(n, s) {
241
+ return o(e.popperContainerOrPopoverComponent, t._b({ tag: "component", staticClass: "b-dropdown-options-container", class: e.conditionalClasses }, "component", e.popperContainerOrPopoverProps, !1), [o("div", { on: { keydown: function(a) {
242
+ return !a.type.indexOf("key") && t._k(a.keyCode, "esc", 27, a.key, ["Esc", "Escape"]) ? null : e.onEscapeKey.apply(null, arguments);
243
+ } } }, [o(e.BentoListbox, t._g({ ref: "dropdownOptionsListboxRef", staticClass: "b-dropdown-options-container__listbox", class: e.conditionalListboxClasses, attrs: { id: t.id, "aria-label": t.ariaLabel, "component-loading": t.componentLoading, "empty-state": t.emptyState, "is-option-disabled": t.isOptionDisabled, items: t.items, "selected-value": e.internalSelectedValue, multiple: e.multiple, "static-categories": t.staticCategories, "no-results-message": e.noResultsMessage, searching: t.searching, loading: t.loading, "lazy-load-type": t.lazyLoadType, "has-more-items": t.hasMoreItems, "virtual-scroll": t.virtualScroll }, scopedSlots: t._u([t._l(e.slots, function(a, s) {
243
244
  return { key: s, fn: function(l) {
244
245
  return [t._t(s, null, null, l)];
245
246
  } };
246
247
  })], null, !0) }, e.listeners))], 1)]);
247
- }, qe = [], He = /* @__PURE__ */ F(
248
- We,
248
+ }, He = [], Je = /* @__PURE__ */ K(
249
249
  Ue,
250
250
  qe,
251
+ He,
251
252
  !1,
252
253
  null,
253
- "35feb278"
254
+ "d774d15c"
254
255
  );
255
- const Je = He.exports;
256
+ const Ve = Je.exports;
256
257
  let de = 0;
257
- const Ve = {
258
+ const Ye = {
258
259
  beforeCreate() {
259
260
  this.uuid = de.toString(), de += 1;
260
261
  }
261
262
  };
262
- var Ye = function() {
263
+ var Ze = function() {
263
264
  var t = this, o = t._self._c;
264
265
  return o("svg", t._b({ staticClass: "ui-assets-icons-16", attrs: { role: "img", xmlns: "http://www.w3.org/2000/svg", width: "16", height: "16", fill: "none" } }, "svg", t.$attrs, !1), [t.$attrs["svg-title"] ? o("title", [t._v(t._s(t.$attrs["svg-title"]))]) : t._e(), o("path", { attrs: { fill: "#001222", d: "M5.00011 5.43922L8.00011 8.43922L11.0001 5.43922L12.0608 6.49988L8.00011 10.5605L3.93945 6.49988L5.00011 5.43922Z" } })]);
265
- }, Ze = [], Qe = /* @__PURE__ */ F(
266
- Ve,
266
+ }, Qe = [], Xe = /* @__PURE__ */ K(
267
267
  Ye,
268
268
  Ze,
269
+ Qe,
269
270
  !1,
270
271
  null,
271
272
  null
272
273
  );
273
- const Xe = Qe.exports;
274
+ const Ge = Xe.exports;
274
275
  let ce = 0;
275
- const Ge = {
276
+ const et = {
276
277
  beforeCreate() {
277
278
  this.uuid = ce.toString(), ce += 1;
278
279
  }
279
280
  };
280
- var et = function() {
281
+ var tt = function() {
281
282
  var t = this, o = t._self._c;
282
283
  return o("svg", t._b({ staticClass: "ui-assets-icons-16", attrs: { role: "img", xmlns: "http://www.w3.org/2000/svg", width: "16", height: "16", fill: "none" } }, "svg", t.$attrs, !1), [t.$attrs["svg-title"] ? o("title", [t._v(t._s(t.$attrs["svg-title"]))]) : t._e(), o("path", { attrs: { fill: "#001222", d: "M10.9999 10.5608L7.9999 7.56077L4.9999 10.5608L3.93924 9.50011L7.9999 5.43945L12.0606 9.50011L10.9999 10.5608Z" } })]);
283
- }, tt = [], ot = /* @__PURE__ */ F(
284
- Ge,
284
+ }, ot = [], at = /* @__PURE__ */ K(
285
285
  et,
286
286
  tt,
287
+ ot,
287
288
  !1,
288
289
  null,
289
290
  null
290
291
  );
291
- const nt = ot.exports, at = A({
292
+ const nt = at.exports, lt = N({
292
293
  name: "dropdown-small-textbox",
293
294
  inheritAttrs: !1
294
- }), lt = /* @__PURE__ */ A({
295
- ...at,
295
+ }), st = /* @__PURE__ */ N({
296
+ ...lt,
296
297
  props: {
297
298
  /**
298
299
  * The number of additional items that have been selected in the dropdown.
@@ -352,12 +353,12 @@ const nt = ot.exports, at = A({
352
353
  value: { type: String, default: "" }
353
354
  },
354
355
  emits: ["clear", "close", "input", "keydown", "open"],
355
- setup(a, { expose: t, emit: o }) {
356
- const e = a, n = S(null), s = p(() => ({
356
+ setup(n, { expose: t, emit: o }) {
357
+ const e = n, a = S(null), s = u(() => ({
357
358
  [`b-dropdown-small-textbox--${U.DISABLED}`]: e.disabled,
358
359
  [`b-dropdown-small-textbox--${U.READONLY}`]: e.readonly,
359
360
  [`b-dropdown-small-textbox--${U.OPENED}`]: e.open
360
- })), l = p(() => e.open && !e.disabled && !e.readonly), i = (v) => {
361
+ })), l = u(() => e.open && !e.disabled && !e.readonly), i = (v) => {
361
362
  o("input", v);
362
363
  }, c = (v) => {
363
364
  o("keydown", v);
@@ -368,144 +369,144 @@ const nt = ot.exports, at = A({
368
369
  }, d = (v) => {
369
370
  q(v), o("clear");
370
371
  }, g = {
371
- [M.INPUT]: i,
372
- [M.OPEN]: m,
373
- [M.CLOSE]: r,
374
- [M.CLEAR]: d,
375
- [M.KEYDOWN]: c
372
+ [P.INPUT]: i,
373
+ [P.OPEN]: m,
374
+ [P.CLOSE]: r,
375
+ [P.CLEAR]: d,
376
+ [P.KEYDOWN]: c
376
377
  }, h = () => {
377
- n.value.focus();
378
+ a.value.focus();
378
379
  };
379
380
  return t({
380
381
  focus: h
381
- }), { __sfc: !0, emit: o, props: e, baseTextbox: n, conditionalClasses: s, isDropdownOpen: l, onInput: i, onKeyDown: c, openDropdown: m, closeDropdown: r, clearValue: d, listeners: g, focus: h, BentoDropdownSize: P, DropdownBaseTextbox: De, ChevronDownSmallIcon: Xe, ChevronUpSmallIcon: nt };
382
+ }), { __sfc: !0, emit: o, props: e, baseTextbox: a, conditionalClasses: s, isDropdownOpen: l, onInput: i, onKeyDown: c, openDropdown: m, closeDropdown: r, clearValue: d, listeners: g, focus: h, BentoDropdownSize: F, DropdownBaseTextbox: Te, ChevronDownSmallIcon: Ge, ChevronUpSmallIcon: nt };
382
383
  }
383
384
  });
384
- var st = function() {
385
+ var it = function() {
385
386
  var t = this, o = t._self._c, e = t._self._setupProxy;
386
387
  return o("div", { staticClass: "b-dropdown-small-textbox", class: e.conditionalClasses }, [o(e.DropdownBaseTextbox, t._g(t._b({ ref: "baseTextbox", staticClass: "b-dropdown-small-textbox__textbox", attrs: { size: e.BentoDropdownSize.SMALL }, scopedSlots: t._u([{ key: "icon", fn: function() {
387
388
  return [o("div", { staticClass: "b-dropdown-small-textbox__chevron" }, [o(e.ChevronUpSmallIcon, { directives: [{ name: "show", rawName: "v-show", value: e.isDropdownOpen, expression: "isDropdownOpen" }], attrs: { "svg-title": "opened" } }), o(e.ChevronDownSmallIcon, { directives: [{ name: "show", rawName: "v-show", value: !e.isDropdownOpen, expression: "!isDropdownOpen" }], attrs: { "svg-title": "closed" } })], 1)];
388
389
  }, proxy: !0 }]) }, "dropdown-base-textbox", { ...t.$attrs, ...t.$props }, !1), e.listeners))], 1);
389
- }, it = [], rt = /* @__PURE__ */ F(
390
- lt,
390
+ }, rt = [], dt = /* @__PURE__ */ K(
391
391
  st,
392
392
  it,
393
+ rt,
393
394
  !1,
394
395
  null,
395
396
  "d0e53db8"
396
397
  );
397
- const dt = rt.exports, ct = (a, t) => t.value.reduce((o, e) => {
398
+ const ct = dt.exports, ut = (n, t) => t.value.reduce((o, e) => {
398
399
  if (e.items) {
399
- const n = e.items.filter(
400
- (l) => a.value.find((i) => i.value === l.value)
400
+ const a = e.items.filter(
401
+ (l) => n.value.find((i) => i.value === l.value)
401
402
  );
402
- n.length === e.items.length ? o.push(e.displayValue ?? e.label) : n.forEach(({ label: l, displayValue: i }) => o.push(i ?? l));
403
+ a.length === e.items.length ? o.push(e.displayValue ?? e.label) : a.forEach(({ label: l, displayValue: i }) => o.push(i ?? l));
403
404
  }
404
- return a.value.find((n) => n.value === e.value) && o.push(e.displayValue ?? e.label), o;
405
- }, []).join(", "), ut = ({ items: a, placeholder: t, selectedValues: o, isMultiSelect: e }) => {
406
- const n = p(
407
- () => e.value && a.value.find((l) => {
405
+ return n.value.find((a) => a.value === e.value) && o.push(e.displayValue ?? e.label), o;
406
+ }, []).join(", "), pt = ({ items: n, placeholder: t, selectedValues: o, isMultiSelect: e }) => {
407
+ const a = u(
408
+ () => e.value && n.value.find((l) => {
408
409
  var i;
409
410
  return (i = l.items) == null ? void 0 : i.length;
410
411
  })
411
412
  );
412
- return p(() => o.value.length ? n.value ? ct(o, a) : o.value.map(({ label: l, displayValue: i }) => i ?? l).join(", ") : t.value || null);
413
- }, ve = (a) => {
413
+ return u(() => o.value.length ? a.value ? ut(o, n) : o.value.map(({ label: l, displayValue: i }) => i ?? l).join(", ") : t.value || null);
414
+ }, ve = (n) => {
414
415
  var t;
415
- (t = a.value.$children) == null || t[0].$refs.textbox.focus();
416
- }, pt = ({
417
- inputContainerRef: a,
416
+ (t = n.value.$children) == null || t[0].$refs.textbox.focus();
417
+ }, ft = ({
418
+ inputContainerRef: n,
418
419
  optionsContainerRef: t,
419
420
  selectedValueIndex: o,
420
421
  isDropdownOpen: e,
421
- isDynamicFltering: n,
422
+ isDynamicFltering: a,
422
423
  items: s,
423
424
  isMultiple: l
424
425
  }, i, c, m) => {
425
426
  const r = async (f) => {
426
- var b, E;
427
- n.value && await L(), (E = (b = t.value.$refs.dropdownOptionsListboxRef.$refs.listboxItemRef) == null ? void 0 : b.$el.querySelectorAll('[role="option"]')[f]) == null || E.focus();
427
+ var y, B;
428
+ a.value && await x(), (B = (y = t.value.$refs.dropdownOptionsListboxRef.$refs.listboxItemRef) == null ? void 0 : y.$el.querySelectorAll('[role="option"]')[f]) == null || B.focus();
428
429
  }, d = async (f) => {
429
- var E, K;
430
- n.value && await L();
431
- const b = (E = t.value.$refs.dropdownOptionsListboxRef.$refs.listboxItemRef) == null ? void 0 : E.$el.querySelectorAll(
430
+ var B, R;
431
+ a.value && await x();
432
+ const y = (B = t.value.$refs.dropdownOptionsListboxRef.$refs.listboxItemRef) == null ? void 0 : B.$el.querySelectorAll(
432
433
  "button"
433
434
  );
434
- b.length ? (K = b[f]) == null || K.focus() : r(f);
435
+ y.length ? (R = y[f]) == null || R.focus() : r(f);
435
436
  }, g = (f) => {
436
- var b;
437
- return (b = t.value.$refs.dropdownOptionsListboxRef.$refs.listboxItemRef) == null ? void 0 : b.setListboxFocusedIndex(
437
+ var y;
438
+ return (y = t.value.$refs.dropdownOptionsListboxRef.$refs.listboxItemRef) == null ? void 0 : y.setListboxFocusedIndex(
438
439
  f
439
440
  );
440
441
  }, h = ({ detail: f }) => {
441
- f.preventDefault(), e.value || c(), L(() => {
442
+ f.preventDefault(), e.value || c(), x(() => {
442
443
  l ? d(0) : (g(o.value), r(o.value));
443
444
  });
444
445
  }, v = ({ detail: f }) => {
445
- f.preventDefault(), e.value || c(), L(() => {
446
+ f.preventDefault(), e.value || c(), x(() => {
446
447
  l ? d(0) : (g(o.value), r(o.value));
447
448
  });
448
449
  }, O = () => {
449
- e.value || (c(), L(() => {
450
+ e.value || (c(), x(() => {
450
451
  var f;
451
452
  if (l) {
452
- const b = t.value.$refs.dropdownOptionsListboxRef.$refs.listboxItemRef.$children;
453
- (f = b == null ? void 0 : b[b.length - 1].$el.querySelectorAll('[role="option"]')[s.length - 1]) == null || f.focus();
453
+ const y = t.value.$refs.dropdownOptionsListboxRef.$refs.listboxItemRef.$children;
454
+ (f = y == null ? void 0 : y[y.length - 1].$el.querySelectorAll('[role="option"]')[s.length - 1]) == null || f.focus();
454
455
  } else
455
456
  g(s.length - 1), r(s.length - 1);
456
457
  }));
457
- }, w = () => {
458
- e.value && (m(), ve(a));
459
- }, x = () => {
458
+ }, C = () => {
459
+ e.value && (m(), ve(n));
460
+ }, L = () => {
460
461
  e.value && m();
461
- }, y = () => {
462
- e.value || c(), L(() => {
462
+ }, b = () => {
463
+ e.value || c(), x(() => {
463
464
  l ? d(0) : r(0);
464
465
  });
465
466
  }, I = ({ detail: f }) => {
466
- f.preventDefault(), i(), e.value && L(() => {
467
+ f.preventDefault(), i(), e.value && x(() => {
467
468
  l ? d(0) : (g(o.value), r(o.value));
468
469
  });
469
- }, B = ({ detail: f }) => {
470
- f.preventDefault(), i(), e.value && L(() => {
470
+ }, D = ({ detail: f }) => {
471
+ f.preventDefault(), i(), e.value && x(() => {
471
472
  l ? d(0) : (g(o.value), r(o.value));
472
473
  });
473
474
  };
474
- return p(() => ({
475
- ...n.value ? {} : { [D.SPACE]: I },
476
- [D.ENTER]: B,
477
- [D.ARROW_DOWN]: h,
478
- [D.ARROW_UP]: v,
479
- [D.END]: O,
480
- [D.ESCAPE]: w,
481
- [D.HOME]: y,
482
- [D.TAB]: x
475
+ return u(() => ({
476
+ ...a.value ? {} : { [E.SPACE]: I },
477
+ [E.ENTER]: D,
478
+ [E.ARROW_DOWN]: h,
479
+ [E.ARROW_UP]: v,
480
+ [E.END]: O,
481
+ [E.ESCAPE]: C,
482
+ [E.HOME]: b,
483
+ [E.TAB]: L
483
484
  }));
484
- }, ft = ({ inputContainerRef: a, isDropdownOpen: t }, o) => {
485
+ }, vt = ({ inputContainerRef: n, isDropdownOpen: t }, o) => {
485
486
  const e = () => {
486
- t.value && o(), L(() => {
487
- ve(a);
487
+ t.value && o(), x(() => {
488
+ ve(n);
488
489
  });
489
490
  };
490
491
  return {
491
- [u.ENTER]: e,
492
- [u.ESCAPE]: e,
493
- [u.TAB]: e,
494
- [u.SPACE]: e
492
+ [p.ENTER]: e,
493
+ [p.ESCAPE]: e,
494
+ [p.TAB]: e,
495
+ [p.SPACE]: e
495
496
  };
496
497
  };
497
- function vt(a, t, o, e) {
498
- const n = S(a), s = S(t), l = (c, m = []) => m.flatMap((r) => r.label.toLocaleLowerCase().includes(c) ? e != null && e.value && r.items ? [...l(c, r.items)] : [r, ...l(c, r.items)] : r.items ? [...l(c, r.items)] : []);
499
- return ue(n, () => {
500
- o !== void 0 && o(n.value);
501
- }), p(() => {
502
- if (!n.value || o !== void 0)
498
+ function mt(n, t, o, e) {
499
+ const a = S(n), s = S(t), l = (c, m = []) => m.flatMap((r) => r.label.toLocaleLowerCase().includes(c) ? e != null && e.value && r.items ? [...l(c, r.items)] : [r, ...l(c, r.items)] : r.items ? [...l(c, r.items)] : []);
500
+ return ue(a, () => {
501
+ o !== void 0 && o(a.value);
502
+ }), u(() => {
503
+ if (!a.value || o !== void 0)
503
504
  return s.value;
504
- const c = n.value.toLocaleLowerCase();
505
+ const c = a.value.toLocaleLowerCase();
505
506
  return l(c, s.value);
506
507
  });
507
508
  }
508
- const mt = {
509
+ const yt = {
509
510
  "en-US": {
510
511
  all: "All",
511
512
  ariaLabelFallback: "Dropdown",
@@ -519,15 +520,15 @@ const mt = {
519
520
  all: "Todos",
520
521
  clearFilter: "Limpar filtro"
521
522
  }
522
- }, yt = Symbol("input field component injection key"), Ft = Symbol("input field hint injection key"), Kt = Symbol("input field parent component injection key"), bt = A({
523
- i18n: { messages: mt },
523
+ }, bt = Symbol("input field component injection key"), Kt = Symbol("input field hint injection key"), zt = Symbol("input field parent component injection key"), _t = N({
524
+ i18n: { messages: yt },
524
525
  name: "b-dropdown",
525
526
  components: {
526
- DropdownInputDefault: Be,
527
- DropdownInputSmall: dt
527
+ DropdownInputDefault: Ae,
528
+ DropdownInputSmall: ct
528
529
  }
529
- }), _t = /* @__PURE__ */ A({
530
- ...bt,
530
+ }), gt = /* @__PURE__ */ N({
531
+ ..._t,
531
532
  props: {
532
533
  /**
533
534
  * @deprecated from version 2.0.0. Use the aria-label attribute instead.
@@ -619,7 +620,7 @@ const mt = {
619
620
  lazyLoadType: {
620
621
  type: String,
621
622
  default: H.props.lazyLoadType.default,
622
- validator: (a) => Object.values(J).includes(a)
623
+ validator: (n) => Object.values(J).includes(n)
623
624
  },
624
625
  /*
625
626
  * If enabled, the user will be able to select multiple items.
@@ -659,7 +660,7 @@ const mt = {
659
660
  size: {
660
661
  type: String,
661
662
  default: null,
662
- validator: (a) => Object.values(P).includes(a)
663
+ validator: (n) => Object.values(F).includes(n)
663
664
  },
664
665
  /**
665
666
  * If enabled, dropdown will display non-selectable, static categories
@@ -702,28 +703,28 @@ const mt = {
702
703
  enableValueLabelPair: { type: Boolean, default: !1 }
703
704
  },
704
705
  emits: ["input", "show-more"],
705
- setup(a, { expose: t, emit: o }) {
706
+ setup(n, { expose: t, emit: o }) {
706
707
  var se;
707
- const e = a, n = Le(), s = pe(), l = Ne(s), { t: i } = V(), c = S(null), m = S(null), r = S(null), d = S(!1), g = k("bento-dropdown-options-container"), h = k("dropdown-label"), v = k("dropdown-description"), O = k("dropdown-error"), { isReadOnly: w } = Te(C(e, "readonly")), { cachedSelectedListboxOptions: x, cachedListboxSelectedValues: y, setCachedValues: I } = Ae(
708
- C(e, "items"),
709
- C(e, "value"),
710
- C(e, "multiple"),
711
- C(e, "enableValueLabelPair")
712
- ), B = S(n["aria-label"]), { ariaLabel: T, label: f } = fe(e), b = Ie({
708
+ const e = n, a = Oe(), s = pe(), l = Ne(s), { t: i } = V(), c = S(null), m = S(null), r = S(null), d = S(!1), g = k("bento-dropdown-options-container"), h = k("dropdown-label"), v = k("dropdown-description"), O = k("dropdown-error"), { isReadOnly: C } = Ie(w(e, "readonly")), { cachedSelectedListboxOptions: L, cachedListboxSelectedValues: b, setCachedValues: I } = Re(
709
+ w(e, "items"),
710
+ w(e, "value"),
711
+ w(e, "multiple"),
712
+ w(e, "enableValueLabelPair")
713
+ ), D = S(a["aria-label"]), { ariaLabel: T, label: f } = fe(e), y = u(() => i("ariaLabelFallback")), B = Be({
713
714
  // TODO: take ariaLabel ref away when aria-label prop is removed
714
- ariaLabel: T.value || B,
715
+ ariaLabel: T.value || D,
715
716
  label: f,
716
- defaultFallback: i("ariaLabelFallback")
717
- }), E = e.size === P.SMALL || Oe(yt, !1), K = p(() => E ? P.SMALL : P.DEFAULT), me = p(() => ({
717
+ defaultFallback: y
718
+ }), R = e.size === F.SMALL || Ee(bt, !1), me = u(() => R ? F.SMALL : F.DEFAULT), ye = u(() => ({
718
719
  "b-dropdown--condensed": e.condensed
719
- })), ye = p(() => ({
720
+ })), be = u(() => ({
720
721
  "b-dropdown__description--error": !!e.errorMessage
721
- })), N = S(""), R = C(e, "items"), Y = C(e, "staticCategories"), Z = vt(N, R, (se = e == null ? void 0 : e.search) == null ? void 0 : se.searchEvent, Y), j = p(() => e.dynamicFiltering && !!N.value), be = ut({
722
- items: R,
723
- placeholder: C(e, "placeholder"),
724
- isMultiSelect: C(e, "multiple"),
725
- selectedValues: x
726
- }), _e = p(() => {
722
+ })), A = S(""), $ = w(e, "items"), Y = w(e, "staticCategories"), Z = mt(A, $, (se = e == null ? void 0 : e.search) == null ? void 0 : se.searchEvent, Y), j = u(() => e.dynamicFiltering && !!A.value), _e = pt({
723
+ items: $,
724
+ placeholder: w(e, "placeholder"),
725
+ isMultiSelect: w(e, "multiple"),
726
+ selectedValues: L
727
+ }), ge = u(() => {
727
728
  if (e != null && e.multiple && Array.isArray(e.value))
728
729
  return e.items.filter(
729
730
  ({ value: _ }) => (e == null ? void 0 : e.value) && (e == null ? void 0 : e.value).includes(_)
@@ -735,53 +736,53 @@ const mt = {
735
736
  return _ ? _.items.find((W) => W.value === e.value) : null;
736
737
  }
737
738
  return e.items.find(({ value: _ }) => _ === (e == null ? void 0 : e.value));
738
- }), Q = p(() => {
739
- const _ = Z.value.findIndex(({ value: $ }) => e.value === $);
739
+ }), Q = u(() => {
740
+ const _ = Z.value.findIndex(({ value: M }) => e.value === M);
740
741
  return _ > -1 ? _ : 0;
741
- }), { isMultiLevelSelect: X, flattenedItemsList: G } = Re(R), ge = p(() => {
742
+ }), { isMultiLevelSelect: X, flattenedItemsList: G } = $e($), he = u(() => {
742
743
  if (e.multiple) {
743
- const _ = Array.isArray(e.value) ? e.value.length : 0, $ = X.value ? G.value.length : R.value.length;
744
- return _ === 0 ? null : !e.hasMoreItems && $ > 0 && $ === _ ? i("all") : _;
744
+ const _ = Array.isArray(e.value) ? e.value.length : 0, M = X.value ? G.value.length : $.value.length;
745
+ return _ === 0 ? null : !e.hasMoreItems && M > 0 && M === _ ? i("all") : _;
745
746
  }
746
747
  return null;
747
- }), he = p(
748
+ }), Se = u(
748
749
  () => `${e.description ? v : ""} ${e.errorMessage ? O : ""}`.trim() || null
749
750
  ), ee = () => {
750
- w.value || (d.value = !0);
751
+ C.value || (d.value = !0);
751
752
  }, z = () => {
752
753
  d.value = !1;
753
754
  }, te = () => {
754
- w.value || (d.value = !d.value, j.value && (N.value = ""));
755
- }, Se = () => {
756
- j.value && (N.value = ""), d.value && (d.value = !1, r.value.onOutsideDropdownClick());
755
+ C.value || (d.value = !d.value, j.value && (A.value = ""));
756
+ }, we = () => {
757
+ j.value && (A.value = ""), d.value && (d.value = !1, r.value.onOutsideDropdownClick());
757
758
  }, oe = (_) => {
758
- e.multiple || (N.value = "", d.value = !1), I(_), o("input", y.value);
759
- }, ne = () => {
760
- o(u.SHOW_MORE);
761
- }, Ce = pt(
759
+ e.multiple || (A.value = "", d.value = !1), I(_), o("input", b.value);
760
+ }, ae = () => {
761
+ o(p.SHOW_MORE);
762
+ }, Ce = ft(
762
763
  {
763
764
  inputContainerRef: c,
764
765
  optionsContainerRef: r,
765
766
  selectedValueIndex: Q,
766
767
  isDropdownOpen: d,
767
- isDynamicFltering: C(e, "dynamicFiltering"),
768
+ isDynamicFltering: w(e, "dynamicFiltering"),
768
769
  items: e.items,
769
770
  isMultiple: e.multiple
770
771
  },
771
772
  te,
772
773
  ee,
773
774
  z
774
- ), ae = ft(
775
+ ), ne = vt(
775
776
  {
776
777
  inputContainerRef: c,
777
778
  isDropdownOpen: d
778
779
  },
779
780
  z
780
- ), we = {
781
- [u.CLOSE_DROPDOWN]: z,
782
- [u.SELECT]: oe,
783
- [u.SHOW_MORE]: ne,
784
- ...ae
781
+ ), Le = {
782
+ [p.CLOSE_DROPDOWN]: z,
783
+ [p.SELECT]: oe,
784
+ [p.SHOW_MORE]: ae,
785
+ ...ne
785
786
  };
786
787
  e.error && ie(
787
788
  'BentoDropdown "error" property',
@@ -795,39 +796,39 @@ const mt = {
795
796
  };
796
797
  return t({
797
798
  focus: le
798
- }), { __sfc: !0, attrs: n, slots: s, hasSlot: l, props: e, emit: o, t: i, inputContainerRef: c, inputContainerRefWrapper: m, optionsContainerRef: r, isDropdownOpen: d, dropdownOptionsContainerId: g, labelId: h, descriptionId: v, errorId: O, isReadOnly: w, cachedSelectedListboxOptions: x, cachedListboxSelectedValues: y, setCachedValues: I, ariaLabelAttribute: B, ariaLabel: T, label: f, computedAriaLabel: b, isInputComponent: E, computedSize: K, conditionalClasses: me, descriptionConditionalClasses: ye, searchTerm: N, items: R, staticCategories: Y, filteredItems: Z, isSearching: j, displayValue: be, selectedValueItem: _e, selectedValueIndex: Q, isMultiLevelSelect: X, flattenedItemsList: G, additionalItemsSelected: ge, ariaDescribedBy: he, openDropdown: ee, closeDropdown: z, toggleDropdown: te, clickOutsideDropdown: Se, onOptionSelected: oe, emitShowMoreEvent: ne, textboxKeyboardNavigationListeners: Ce, listboxKeyboardNavigationListeners: ae, listboxListeners: we, focus: le, BentoDropdownOptionsContainer: Je, BentoTypography: Ee, ErrorMessage: ke, FieldLabel: Pe, vBentoClickOutsideDirective: Me, vBentoKeyboardNavigationDirective: $e };
799
+ }), { __sfc: !0, attrs: a, slots: s, hasSlot: l, props: e, emit: o, t: i, inputContainerRef: c, inputContainerRefWrapper: m, optionsContainerRef: r, isDropdownOpen: d, dropdownOptionsContainerId: g, labelId: h, descriptionId: v, errorId: O, isReadOnly: C, cachedSelectedListboxOptions: L, cachedListboxSelectedValues: b, setCachedValues: I, ariaLabelAttribute: D, ariaLabel: T, label: f, computedAriaLabelFallbackMessage: y, computedAriaLabel: B, isInputComponent: R, computedSize: me, conditionalClasses: ye, descriptionConditionalClasses: be, searchTerm: A, items: $, staticCategories: Y, filteredItems: Z, isSearching: j, displayValue: _e, selectedValueItem: ge, selectedValueIndex: Q, isMultiLevelSelect: X, flattenedItemsList: G, additionalItemsSelected: he, ariaDescribedBy: Se, openDropdown: ee, closeDropdown: z, toggleDropdown: te, clickOutsideDropdown: we, onOptionSelected: oe, emitShowMoreEvent: ae, textboxKeyboardNavigationListeners: Ce, listboxKeyboardNavigationListeners: ne, listboxListeners: Le, focus: le, BentoDropdownOptionsContainer: Ve, BentoTypography: De, ErrorMessage: Fe, FieldLabel: ke, vBentoClickOutsideDirective: Pe, vBentoKeyboardNavigationDirective: Me };
799
800
  }
800
801
  });
801
- var gt = function() {
802
- var n;
802
+ var ht = function() {
803
+ var a;
803
804
  var t = this, o = t._self._c, e = t._self._setupProxy;
804
- return o("div", { directives: [{ name: "bento-click-outside-directive", rawName: "v-bento-click-outside-directive", value: e.clickOutsideDropdown, expression: "clickOutsideDropdown" }], staticClass: "b-dropdown", class: e.conditionalClasses }, [e.label ? o(e.FieldLabel, { attrs: { id: e.labelId, condensed: t.condensed, label: e.label, "tooltip-text": t.tooltipText, optional: t.optional, required: t.required } }) : t._e(), o("div", t._g({ directives: [{ name: "bento-keyboard-navigation-directive", rawName: "v-bento-keyboard-navigation-directive" }], ref: "inputContainerRefWrapper" }, e.textboxKeyboardNavigationListeners), [o(e.computedSize, { ref: "inputContainerRef", tag: "component", attrs: { condensed: t.condensed, value: e.searchTerm, "additional-items-selected": e.additionalItemsSelected, ariaControls: e.dropdownOptionsContainerId, ariaExpanded: e.isDropdownOpen, "aria-labelledby": e.label ? e.labelId : null, "aria-describedby": e.ariaDescribedBy, "aria-label": e.computedAriaLabel, "aria-readonly": e.isReadOnly, readonly: e.isReadOnly, disabled: t.disabled, "display-value": e.displayValue, "dynamic-filtering": t.dynamicFiltering, "is-invalid": !!t.errorMessage || t.error, multiple: t.multiple, open: e.isDropdownOpen, "selected-value-item": e.isInputComponent ? void 0 : e.selectedValueItem, "show-slot-content-in-multiple": t.showSlotContentInMultiple }, on: { input: function(s) {
805
+ return o("div", { directives: [{ name: "bento-click-outside-directive", rawName: "v-bento-click-outside-directive", value: e.clickOutsideDropdown, expression: "clickOutsideDropdown" }], staticClass: "b-dropdown", class: e.conditionalClasses }, [e.label ? o(e.FieldLabel, { attrs: { id: e.labelId, condensed: t.condensed, label: e.label, "tooltip-text": t.tooltipText, optional: t.optional, required: t.required } }) : t._e(), o("div", t._g({ directives: [{ name: "bento-keyboard-navigation-directive", rawName: "v-bento-keyboard-navigation-directive" }], ref: "inputContainerRefWrapper" }, e.textboxKeyboardNavigationListeners), [o(e.computedSize, { ref: "inputContainerRef", tag: "component", attrs: { condensed: t.condensed, value: e.searchTerm, "additional-items-selected": e.additionalItemsSelected, "aria-controls": e.dropdownOptionsContainerId, ariaExpanded: e.isDropdownOpen, "aria-labelledby": e.label ? e.labelId : null, "aria-describedby": e.ariaDescribedBy, "aria-label": e.computedAriaLabel, "aria-readonly": e.isReadOnly, readonly: e.isReadOnly, disabled: t.disabled, "display-value": e.displayValue, "dynamic-filtering": t.dynamicFiltering, "is-invalid": !!t.errorMessage || t.error, multiple: t.multiple, open: e.isDropdownOpen, "selected-value-item": e.isInputComponent ? void 0 : e.selectedValueItem, "show-slot-content-in-multiple": t.showSlotContentInMultiple }, on: { input: function(s) {
805
806
  e.searchTerm = s;
806
807
  }, open: e.toggleDropdown, close: e.toggleDropdown }, scopedSlots: t._u([t._l(e.slots, function(s, l) {
807
808
  return { key: l, fn: function(i) {
808
809
  return [t._t(l, null, null, i)];
809
810
  } };
810
- })], null, !0) })], 1), e.inputContainerRef ? o(e.BentoDropdownOptionsContainer, t._g({ ref: "optionsContainerRef", attrs: { id: e.dropdownOptionsContainerId, "aria-label": e.computedAriaLabel, "component-loading": t.componentLoading, "empty-state": t.emptyState, "debounce-time": (n = t.search) == null ? void 0 : n.debounceTime, disabled: t.disabled, "is-option-disabled": t.isOptionDisabled, items: e.filteredItems, multiple: t.multiple, "static-categories": e.staticCategories, open: e.isDropdownOpen, "selected-value": e.cachedSelectedListboxOptions, searching: e.isSearching, "target-element": e.inputContainerRefWrapper, loading: t.loading, "has-more-items": t.hasMoreItems, "lazy-load-type": t.lazyLoadType, "virtual-scroll": t.virtualScroll }, scopedSlots: t._u([t._l(e.slots, function(s, l) {
811
+ })], null, !0) })], 1), e.inputContainerRef ? o(e.BentoDropdownOptionsContainer, t._g({ ref: "optionsContainerRef", attrs: { id: e.dropdownOptionsContainerId, "aria-label": e.computedAriaLabel, "component-loading": t.componentLoading, "empty-state": t.emptyState, "debounce-time": (a = t.search) == null ? void 0 : a.debounceTime, disabled: t.disabled, "is-option-disabled": t.isOptionDisabled, items: e.filteredItems, multiple: t.multiple, "static-categories": e.staticCategories, open: e.isDropdownOpen, "selected-value": e.cachedSelectedListboxOptions, searching: e.isSearching, "target-element": e.inputContainerRefWrapper, loading: t.loading, "has-more-items": t.hasMoreItems, "lazy-load-type": t.lazyLoadType, "virtual-scroll": t.virtualScroll }, scopedSlots: t._u([t._l(e.slots, function(s, l) {
811
812
  return { key: l, fn: function(i) {
812
813
  return [t._t(l, null, null, i)];
813
814
  } };
814
815
  })], null, !0) }, e.listboxListeners)) : t._e(), t.errorMessage ? o(e.ErrorMessage, { staticClass: "b-dropdown__error-message", attrs: { id: e.errorId, "error-message": t.errorMessage } }) : t._e(), t.description || e.hasSlot("description") ? o(e.BentoTypography, { staticClass: "b-dropdown__description", class: e.descriptionConditionalClasses, attrs: { id: e.descriptionId, el: "span" } }, [t._t("description", function() {
815
816
  return [t._v(" " + t._s(t.description) + " ")];
816
817
  })], 2) : t._e()], 1);
817
- }, ht = [], St = /* @__PURE__ */ F(
818
- _t,
818
+ }, St = [], wt = /* @__PURE__ */ K(
819
819
  gt,
820
820
  ht,
821
+ St,
821
822
  !1,
822
823
  null,
823
- "8b943a17"
824
+ "4355e954"
824
825
  );
825
- const zt = St.exports;
826
+ const jt = wt.exports;
826
827
  export {
827
- zt as B,
828
- Ft as I,
829
- yt as a,
830
- Kt as b,
831
- vt as u
828
+ jt as B,
829
+ Kt as I,
830
+ bt as a,
831
+ zt as b,
832
+ mt as u
832
833
  };
833
- //# sourceMappingURL=dropdown.B_PWXFtT.js.map
834
+ //# sourceMappingURL=dropdown.DZ1Ndonr.js.map