@adyen/bento-vue2 1.34.0 → 1.35.1

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 (188) hide show
  1. package/dist/@types/index.d.ts +2 -2
  2. package/dist/accordion.js +1 -1
  3. package/dist/action-bar.js +1 -1
  4. package/dist/alert.js +1 -1
  5. package/dist/assets/accordion-item.css +1 -1
  6. package/dist/assets/action-bar.css +1 -1
  7. package/dist/assets/avatar.css +1 -1
  8. package/dist/assets/base-modal.css +1 -1
  9. package/dist/assets/calendar.css +1 -1
  10. package/dist/assets/card.css +1 -1
  11. package/dist/assets/checkbox.css +1 -1
  12. package/dist/assets/code-snippet.css +1 -1
  13. package/dist/assets/currency.css +1 -0
  14. package/dist/assets/data-grid.css +1 -1
  15. package/dist/assets/date-range-picker.css +1 -1
  16. package/dist/assets/dialog-page.css +1 -1
  17. package/dist/assets/dropdown.css +1 -1
  18. package/dist/assets/error-message.css +1 -1
  19. package/dist/assets/filter-bar.css +1 -1
  20. package/dist/assets/header.css +1 -1
  21. package/dist/assets/inspector.css +1 -1
  22. package/dist/assets/loading-button.css +1 -1
  23. package/dist/assets/menu.css +1 -1
  24. package/dist/assets/modal-fullscreen.css +1 -1
  25. package/dist/assets/popover.css +1 -1
  26. package/dist/assets/sidepanel.css +1 -1
  27. package/dist/assets/structured-list-item.css +1 -1
  28. package/dist/assets/tutorial.css +1 -1
  29. package/dist/avatar.js +1 -1
  30. package/dist/button.js +2 -2
  31. package/dist/card.js +1 -1
  32. package/dist/checkbox.js +2 -2
  33. package/dist/chunks/accordion-item.BDNSykyK.js +116 -0
  34. package/dist/chunks/accordion-item.BDNSykyK.js.map +1 -0
  35. package/dist/chunks/{action-bar.CsRmYQ-k.js → action-bar.CCVKS1xo.js} +51 -37
  36. package/dist/chunks/{action-bar.CsRmYQ-k.js.map → action-bar.CCVKS1xo.js.map} +1 -1
  37. package/dist/chunks/{alert.DtT7BRdr.js → alert.CVsckdGC.js} +17 -11
  38. package/dist/chunks/{alert.DtT7BRdr.js.map → alert.CVsckdGC.js.map} +1 -1
  39. package/dist/chunks/{avatar.0ffdL8i0.js → avatar.qcWk9clF.js} +9 -9
  40. package/dist/chunks/avatar.qcWk9clF.js.map +1 -0
  41. package/dist/chunks/{base-modal.zHjXVjwU.js → base-modal.BaHkDH5f.js} +15 -9
  42. package/dist/chunks/{base-modal.zHjXVjwU.js.map → base-modal.BaHkDH5f.js.map} +1 -1
  43. package/dist/chunks/{button-actions-with-menu.B6Nb6Ohu.js → button-actions-with-menu.Bl82u6yP.js} +4 -4
  44. package/dist/chunks/{button-actions-with-menu.B6Nb6Ohu.js.map → button-actions-with-menu.Bl82u6yP.js.map} +1 -1
  45. package/dist/chunks/{button-actions.BQHr68sA.js → button-actions.DN4eIQes.js} +2 -2
  46. package/dist/chunks/{button-actions.BQHr68sA.js.map → button-actions.DN4eIQes.js.map} +1 -1
  47. package/dist/chunks/{calendar.CaTMWZUM.js → calendar.BFrqPClW.js} +230 -230
  48. package/dist/chunks/calendar.BFrqPClW.js.map +1 -0
  49. package/dist/chunks/card.lWLgpCWM.js +123 -0
  50. package/dist/chunks/card.lWLgpCWM.js.map +1 -0
  51. package/dist/chunks/{checkbox-group.D_mCZMPr.js → checkbox-group.C0cqbJWx.js} +4 -4
  52. package/dist/chunks/{checkbox-group.D_mCZMPr.js.map → checkbox-group.C0cqbJWx.js.map} +1 -1
  53. package/dist/chunks/{checkbox.CaX67eM_.js → checkbox.B3u_hzUo.js} +38 -28
  54. package/dist/chunks/{checkbox.CaX67eM_.js.map → checkbox.B3u_hzUo.js.map} +1 -1
  55. package/dist/chunks/{code-snippet.DgKK7fE8.js → code-snippet.BgjvWTHP.js} +43 -34
  56. package/dist/chunks/code-snippet.BgjvWTHP.js.map +1 -0
  57. package/dist/chunks/{controls-group.6aTaRWFI.js → controls-group.DLBxlPfl.js} +2 -2
  58. package/dist/chunks/{controls-group.6aTaRWFI.js.map → controls-group.DLBxlPfl.js.map} +1 -1
  59. package/dist/chunks/{copy.B1DYKX_q.js → copy.CmxcGt77.js} +31 -23
  60. package/dist/chunks/{copy.B1DYKX_q.js.map → copy.CmxcGt77.js.map} +1 -1
  61. package/dist/chunks/{currency.D_2CN1OJ.js → currency.CbZqZrBz.js} +9 -8
  62. package/dist/chunks/{currency.D_2CN1OJ.js.map → currency.CbZqZrBz.js.map} +1 -1
  63. package/dist/chunks/{dashboard-section.DWfQGGwS.js → dashboard-section.BfXtTf6l.js} +2 -2
  64. package/dist/chunks/{dashboard-section.DWfQGGwS.js.map → dashboard-section.BfXtTf6l.js.map} +1 -1
  65. package/dist/chunks/{dashed-underline.C7gLtEqx.js → dashed-underline.xq5j9fGG.js} +2 -2
  66. package/dist/chunks/{dashed-underline.C7gLtEqx.js.map → dashed-underline.xq5j9fGG.js.map} +1 -1
  67. package/dist/chunks/{data-grid-template.2xocKVqX.js → data-grid-template.C8AR5CxA.js} +2 -2
  68. package/dist/chunks/{data-grid-template.2xocKVqX.js.map → data-grid-template.C8AR5CxA.js.map} +1 -1
  69. package/dist/chunks/{data-grid.CUn6MrZz.js → data-grid.BCTcokYm.js} +472 -426
  70. package/dist/chunks/{data-grid.CUn6MrZz.js.map → data-grid.BCTcokYm.js.map} +1 -1
  71. package/dist/chunks/{date-picker.C6_KbCYT.js → date-picker.CPG0zksD.js} +91 -83
  72. package/dist/chunks/date-picker.CPG0zksD.js.map +1 -0
  73. package/dist/chunks/{date-range-picker.DaTgBXP1.js → date-range-picker.Bt439x32.js} +265 -243
  74. package/dist/chunks/date-range-picker.Bt439x32.js.map +1 -0
  75. package/dist/chunks/{date.DaiTzNEZ.js → date.C0uwNQjg.js} +80 -80
  76. package/dist/chunks/{date.DaiTzNEZ.js.map → date.C0uwNQjg.js.map} +1 -1
  77. package/dist/chunks/{dropdown-tag.pJ_sQbJN.js → dropdown-tag.Cd4LGtwl.js} +3 -3
  78. package/dist/chunks/{dropdown-tag.pJ_sQbJN.js.map → dropdown-tag.Cd4LGtwl.js.map} +1 -1
  79. package/dist/chunks/{dropdown.DpsQPLy-.js → dropdown.B4KMM58m.js} +158 -139
  80. package/dist/chunks/dropdown.B4KMM58m.js.map +1 -0
  81. package/dist/chunks/{error-message.BnFyGbR7.js → error-message.GCYDEzGL.js} +28 -14
  82. package/dist/chunks/{error-message.BnFyGbR7.js.map → error-message.GCYDEzGL.js.map} +1 -1
  83. package/dist/chunks/es6.BvpG4Oi6.js.map +1 -1
  84. package/dist/chunks/{filter-bar.DGBvcKsz.js → filter-bar.Co2YeUUg.js} +604 -589
  85. package/dist/chunks/filter-bar.Co2YeUUg.js.map +1 -0
  86. package/dist/chunks/{footer-actions.CwHY2-Ap.js → footer-actions.CxxS87iQ.js} +2 -2
  87. package/dist/chunks/{footer-actions.CwHY2-Ap.js.map → footer-actions.CxxS87iQ.js.map} +1 -1
  88. package/dist/chunks/{form-layout-title.CRsR3o2x.js → form-layout-title.DomnJXLE.js} +2 -2
  89. package/dist/chunks/{form-layout-title.CRsR3o2x.js.map → form-layout-title.DomnJXLE.js.map} +1 -1
  90. package/dist/chunks/{index.B_UZQ6qF.js → get-date-locale.BN8xEjY0.js} +855 -204
  91. package/dist/chunks/get-date-locale.BN8xEjY0.js.map +1 -0
  92. package/dist/chunks/{header.BmNDoXio.js → header.zacQVbjn.js} +79 -73
  93. package/dist/chunks/{header.BmNDoXio.js.map → header.zacQVbjn.js.map} +1 -1
  94. package/dist/chunks/{index.Z84QE0E2.js → index.CrhTVr5J.js} +2 -2
  95. package/dist/chunks/{index.Z84QE0E2.js.map → index.CrhTVr5J.js.map} +1 -1
  96. package/dist/chunks/{index.xqFSZOAb.js → index.DDnf1O9p.js} +2 -2
  97. package/dist/chunks/{index.xqFSZOAb.js.map → index.DDnf1O9p.js.map} +1 -1
  98. package/dist/chunks/{index.B_EJflcs.js → index.DPafeRJa.js} +2 -2
  99. package/dist/chunks/{index.B_EJflcs.js.map → index.DPafeRJa.js.map} +1 -1
  100. package/dist/chunks/{input-field.S5HIZtYA.js → input-field.DBrzeKBj.js} +3 -3
  101. package/dist/chunks/{input-field.S5HIZtYA.js.map → input-field.DBrzeKBj.js.map} +1 -1
  102. package/dist/chunks/{inspector.types.D6kCCKNk.js → inspector.types.lu_MoQn5.js} +17 -9
  103. package/dist/chunks/{inspector.types.D6kCCKNk.js.map → inspector.types.lu_MoQn5.js.map} +1 -1
  104. package/dist/chunks/{loading-button.DDPZYO6r.js → loading-button.DoX2sopf.js} +39 -25
  105. package/dist/chunks/loading-button.DoX2sopf.js.map +1 -0
  106. package/dist/chunks/{menu.DSOJEn4v.js → menu.DHakGFS4.js} +2 -2
  107. package/dist/chunks/{menu.DSOJEn4v.js.map → menu.DHakGFS4.js.map} +1 -1
  108. package/dist/chunks/{modal-fullscreen.BQKE0bm0.js → modal-fullscreen.mIlp0LnL.js} +25 -19
  109. package/dist/chunks/{modal-fullscreen.BQKE0bm0.js.map → modal-fullscreen.mIlp0LnL.js.map} +1 -1
  110. package/dist/chunks/{modal.ClqkmzVZ.js → modal.CtTQWN8H.js} +25 -19
  111. package/dist/chunks/modal.CtTQWN8H.js.map +1 -0
  112. package/dist/chunks/{pagination.he0lQGAV.js → pagination.By-p9MjL.js} +2 -2
  113. package/dist/chunks/{pagination.he0lQGAV.js.map → pagination.By-p9MjL.js.map} +1 -1
  114. package/dist/chunks/{popover.UmNw_M-C.js → popover.BDaf6hmW.js} +2 -2
  115. package/dist/chunks/{popover.UmNw_M-C.js.map → popover.BDaf6hmW.js.map} +1 -1
  116. package/dist/chunks/{radio-group.D7cuMKzV.js → radio-group.OaYz1wJf.js} +3 -3
  117. package/dist/chunks/{radio-group.D7cuMKzV.js.map → radio-group.OaYz1wJf.js.map} +1 -1
  118. package/dist/chunks/{search-bar.BPyYb0WB.js → search-bar.eC-crOww.js} +14 -6
  119. package/dist/chunks/{search-bar.BPyYb0WB.js.map → search-bar.eC-crOww.js.map} +1 -1
  120. package/dist/chunks/{secondary-nav.CMUfpgQf.js → secondary-nav.1xw-o8OR.js} +2 -2
  121. package/dist/chunks/{secondary-nav.CMUfpgQf.js.map → secondary-nav.1xw-o8OR.js.map} +1 -1
  122. package/dist/chunks/{selection-card-group.DbMfzyTG.js → selection-card-group.BLPaJy5U.js} +3 -3
  123. package/dist/chunks/{selection-card-group.DbMfzyTG.js.map → selection-card-group.BLPaJy5U.js.map} +1 -1
  124. package/dist/chunks/{sidepanel.Ck6Ts9RR.js → sidepanel.ZYT_vzbj.js} +24 -18
  125. package/dist/chunks/{sidepanel.Ck6Ts9RR.js.map → sidepanel.ZYT_vzbj.js.map} +1 -1
  126. package/dist/chunks/{structured-list-item.DpLscUX4.js → structured-list-item.D7D8VpQY.js} +22 -16
  127. package/dist/chunks/{structured-list-item.DpLscUX4.js.map → structured-list-item.D7D8VpQY.js.map} +1 -1
  128. package/dist/chunks/{summary-grid-item-custom.B7Re6OCf.js → summary-grid-item-custom.v0QSLZKT.js} +2 -2
  129. package/dist/chunks/{summary-grid-item-custom.B7Re6OCf.js.map → summary-grid-item-custom.v0QSLZKT.js.map} +1 -1
  130. package/dist/chunks/{textarea.BRMpTWKS.js → textarea.C0IMS5XS.js} +2 -2
  131. package/dist/chunks/{textarea.BRMpTWKS.js.map → textarea.C0IMS5XS.js.map} +1 -1
  132. package/dist/chunks/{timeline-item.jh7UnviR.js → timeline-item.Dmd78uwQ.js} +53 -47
  133. package/dist/chunks/{timeline-item.jh7UnviR.js.map → timeline-item.Dmd78uwQ.js.map} +1 -1
  134. package/dist/chunks/{tutorial.DERGsCkg.js → tutorial.D64_0i0-.js} +50 -38
  135. package/dist/chunks/{tutorial.DERGsCkg.js.map → tutorial.D64_0i0-.js.map} +1 -1
  136. package/dist/chunks/{use-cached-selected-values.B39-iEp4.js → use-cached-selected-values.BOAumEi7.js} +54 -40
  137. package/dist/chunks/{use-cached-selected-values.B39-iEp4.js.map → use-cached-selected-values.BOAumEi7.js.map} +1 -1
  138. package/dist/code-snippet.js +1 -1
  139. package/dist/currency.js +1 -1
  140. package/dist/dashboard-template.js +1 -1
  141. package/dist/dashed-underline.js +1 -1
  142. package/dist/data-grid-template.js +1 -1
  143. package/dist/data-grid.js +1 -1
  144. package/dist/date-picker.js +2 -2
  145. package/dist/date-range-picker.js +2 -2
  146. package/dist/date.js +1 -1
  147. package/dist/dropdown.js +3 -3
  148. package/dist/filter-bar.js +1 -1
  149. package/dist/form-layout.js +1 -1
  150. package/dist/header.js +1 -1
  151. package/dist/index.js +43 -43
  152. package/dist/input-field.js +1 -1
  153. package/dist/inspector.js +1 -1
  154. package/dist/internal.js +5 -5
  155. package/dist/menu.js +1 -1
  156. package/dist/modal-fullscreen.js +1 -1
  157. package/dist/modal.js +2 -2
  158. package/dist/pagination.js +1 -1
  159. package/dist/popover.js +1 -1
  160. package/dist/radio-group.js +1 -1
  161. package/dist/search-bar.js +2 -2
  162. package/dist/secondary-nav.js +1 -1
  163. package/dist/selection-card.js +1 -1
  164. package/dist/sidepanel.js +1 -1
  165. package/dist/structured-list.js +1 -1
  166. package/dist/styles/bento.css +3 -0
  167. package/dist/styles/legacy.css +3 -0
  168. package/dist/styles/styleguide.css +3 -0
  169. package/dist/summary-grid.js +1 -1
  170. package/dist/textarea.js +1 -1
  171. package/dist/timeline.js +1 -1
  172. package/dist/tutorial.js +1 -1
  173. package/dist/web-types.json +9 -9
  174. package/package.json +2 -2
  175. package/dist/chunks/accordion-item.IMlV_Vik.js +0 -100
  176. package/dist/chunks/accordion-item.IMlV_Vik.js.map +0 -1
  177. package/dist/chunks/avatar.0ffdL8i0.js.map +0 -1
  178. package/dist/chunks/calendar.CaTMWZUM.js.map +0 -1
  179. package/dist/chunks/card.ignL7-CH.js +0 -115
  180. package/dist/chunks/card.ignL7-CH.js.map +0 -1
  181. package/dist/chunks/code-snippet.DgKK7fE8.js.map +0 -1
  182. package/dist/chunks/date-picker.C6_KbCYT.js.map +0 -1
  183. package/dist/chunks/date-range-picker.DaTgBXP1.js.map +0 -1
  184. package/dist/chunks/dropdown.DpsQPLy-.js.map +0 -1
  185. package/dist/chunks/filter-bar.DGBvcKsz.js.map +0 -1
  186. package/dist/chunks/index.B_UZQ6qF.js.map +0 -1
  187. package/dist/chunks/loading-button.DDPZYO6r.js.map +0 -1
  188. package/dist/chunks/modal.ClqkmzVZ.js.map +0 -1
@@ -1,18 +1,18 @@
1
- import { ref as g, watch as le, computed as c, defineComponent as B, useSlots as ie, toRefs as re, nextTick as E, useAttrs as Le, toRef as O, inject as Se } from "vue";
1
+ import { ref as g, watch as le, computed as u, defineComponent as B, useSlots as ie, toRefs as re, nextTick as E, useAttrs as Le, toRef as L, inject as Se } from "vue";
2
2
  import { d as oe, B as Oe } from "./typography.CqQaHXhq.js";
3
- import { g as N } from "./unique-id.XFfoKuc2.js";
3
+ import { g as M } from "./unique-id.XFfoKuc2.js";
4
4
  import { u as Ce } from "./aria-label.CaUURpnB.js";
5
5
  import { u as U } from "./i18n.BQkEbtPM.js";
6
6
  import { u as $e } from "./use-form-layout-loading.D3lALhtC.js";
7
- import { a as K, b as A, B as M, c as Ee, D as De } from "./dropdown-default-textbox.kQ3pHsZe.js";
7
+ import { a as K, b as A, B as N, c as Ee, D as De } from "./dropdown-default-textbox.kQ3pHsZe.js";
8
8
  import { u as Be } from "./use-has-slot.C9lQZ6nz.js";
9
9
  import { n as k } from "./_plugin-vue2_normalizer.CeySl7Fu.js";
10
10
  import { s as z } from "./events.CMzGybJJ.js";
11
- import { a as d, B as W, b as j, c as Ie, u as Re } from "./use-cached-selected-values.B39-iEp4.js";
11
+ import { a as c, B as W, b as j, c as Ie, u as Re } from "./use-cached-selected-values.BOAumEi7.js";
12
12
  import { B as C, a as Te } from "./keyboard-navigation.Clz1jOaA.js";
13
13
  import { P as se } from "./popper-container.CnWphJTN.js";
14
- import { B as Ae } from "./popover.UmNw_M-C.js";
15
- import { E as Ne, F as Me } from "./error-message.BnFyGbR7.js";
14
+ import { B as Ae } from "./popover.BDaf6hmW.js";
15
+ import { E as Me, F as Ne } from "./error-message.GCYDEzGL.js";
16
16
  import { B as ke } from "./directive.O3yEdalv.js";
17
17
  import "../assets/dropdown.css";
18
18
  const Pe = {
@@ -20,53 +20,61 @@ const Pe = {
20
20
  apply: "Apply",
21
21
  cancel: "Cancel",
22
22
  noOptionsMatchThisSearch: "No options match this search"
23
+ },
24
+ "pt-BR": {
25
+ apply: "Aplicar",
26
+ cancel: "Cancelar"
27
+ },
28
+ "ja-JP": {
29
+ apply: "適用",
30
+ cancel: "キャンセル"
23
31
  }
24
32
  }, Fe = (s, t, o, e) => {
25
- const n = g(s.value), { t: l } = U();
33
+ const a = g(s.value), { t: l } = U();
26
34
  le(s, () => {
27
- n.value = s.value;
35
+ a.value = s.value;
28
36
  });
29
- const a = c(
30
- () => JSON.stringify(n.value) === JSON.stringify(s.value)
31
- ), u = () => {
32
- e(d.SELECT, n.value), e(d.CLOSE_DROPDOWN);
33
- }, r = () => {
34
- n.value = s.value, e(d.CLOSE_DROPDOWN);
37
+ const n = u(
38
+ () => JSON.stringify(a.value) === JSON.stringify(s.value)
39
+ ), r = () => {
40
+ e(c.SELECT, a.value), e(c.CLOSE_DROPDOWN);
41
+ }, d = () => {
42
+ a.value = s.value, e(c.CLOSE_DROPDOWN);
35
43
  }, v = () => {
36
- o.value && t.value && (n.value = s.value);
37
- }, i = c(() => [
44
+ o.value && t.value && (a.value = s.value);
45
+ }, i = u(() => [
38
46
  {
39
47
  title: l("apply"),
40
- event: u,
41
- disabled: a.value
48
+ event: r,
49
+ disabled: n.value
42
50
  },
43
51
  {
44
52
  title: l("cancel"),
45
- event: r
53
+ event: d
46
54
  }
47
55
  ]), p = (b) => {
48
- n.value = b, t.value || e(d.SELECT, b);
56
+ a.value = b, t.value || e(c.SELECT, b);
49
57
  }, $ = (b) => {
50
- p(b), e(d.TAB);
58
+ p(b), e(c.TAB);
51
59
  }, x = (b) => {
52
- p(b), e(d.ENTER);
53
- }, L = (b) => {
54
- p(b), e(d.SPACE);
60
+ p(b), e(c.ENTER);
61
+ }, S = (b) => {
62
+ p(b), e(c.SPACE);
55
63
  }, h = () => {
56
- r(), e(d.ESCAPE);
57
- }, S = () => {
58
- e(d.SHOW_MORE);
64
+ d(), e(c.ESCAPE);
65
+ }, O = () => {
66
+ e(c.SHOW_MORE);
59
67
  }, w = {
60
- [d.SELECT]: p,
61
- [d.SHOW_MORE]: S,
62
- [d.TAB]: $,
63
- [d.SPACE]: L,
64
- [d.ENTER]: x
68
+ [c.SELECT]: p,
69
+ [c.SHOW_MORE]: O,
70
+ [c.TAB]: $,
71
+ [c.SPACE]: S,
72
+ [c.ENTER]: x
65
73
  };
66
74
  return {
67
75
  // Values
68
76
  actions: i,
69
- internalSelectedValue: n,
77
+ internalSelectedValue: a,
70
78
  // Methods
71
79
  listeners: w,
72
80
  onEscapeKey: h,
@@ -183,11 +191,11 @@ const Pe = {
183
191
  },
184
192
  emits: [],
185
193
  setup(s, { expose: t, emit: o }) {
186
- const e = s, n = ie(), { selectedValue: l, multiple: a } = re(e), u = g(null), { t: r } = U(), v = c(() => e.open && !e.disabled), i = c(() => r("noOptionsMatchThisSearch")), p = c(() => ({
194
+ const e = s, a = ie(), { selectedValue: l, multiple: n } = re(e), r = g(null), { t: d } = U(), v = u(() => e.open && !e.disabled), i = u(() => d("noOptionsMatchThisSearch")), p = u(() => ({
187
195
  "b-dropdown-options-container--single": !(e != null && e.multiple)
188
- })), $ = c(() => ({
196
+ })), $ = u(() => ({
189
197
  "b-dropdown-options-container__listbox--single": !(e != null && e.multiple)
190
- })), { actions: x, internalSelectedValue: L, listeners: h, onEscapeKey: S, onOutsideDropdownClick: w } = Fe(l, a, v, o), b = c(() => e != null && e.multiple ? Ae : se), f = c(() => {
198
+ })), { actions: x, internalSelectedValue: S, listeners: h, onEscapeKey: O, onOutsideDropdownClick: w } = Fe(l, n, v, o), b = u(() => e != null && e.multiple ? Ae : se), f = u(() => {
191
199
  var _;
192
200
  const m = {
193
201
  "min-width": `${(_ = e == null ? void 0 : e.targetElement) == null ? void 0 : _.clientWidth}px`,
@@ -198,7 +206,7 @@ const Pe = {
198
206
  actions: x.value,
199
207
  divider: !0,
200
208
  fallbackPosition: ["top-start"],
201
- id: N(`dropdown-options-${e.id}`),
209
+ id: M(`dropdown-options-${e.id}`),
202
210
  open: e.open,
203
211
  position: "bottom-start",
204
212
  style: {
@@ -219,16 +227,16 @@ const Pe = {
219
227
  });
220
228
  return t({
221
229
  onOutsideDropdownClick: w
222
- }), { __sfc: !0, slots: n, emit: o, props: e, selectedValue: l, multiple: a, dropdownOptionsListboxRef: u, t: r, isDropdownOpen: v, noResultsMessage: i, conditionalClasses: p, conditionalListboxClasses: $, actions: x, internalSelectedValue: L, listeners: h, onEscapeKey: S, onOutsideDropdownClick: w, popperContainerOrPopoverComponent: b, popperContainerOrPopoverProps: f, BentoListbox: j };
230
+ }), { __sfc: !0, slots: a, emit: o, props: e, selectedValue: l, multiple: n, dropdownOptionsListboxRef: r, t: d, isDropdownOpen: v, noResultsMessage: i, conditionalClasses: p, conditionalListboxClasses: $, actions: x, internalSelectedValue: S, listeners: h, onEscapeKey: O, onOutsideDropdownClick: w, popperContainerOrPopoverComponent: b, popperContainerOrPopoverProps: f, BentoListbox: j };
223
231
  }
224
232
  });
225
233
  var We = function() {
226
234
  var t = this, o = t._self._c, e = t._self._setupProxy;
227
- 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) {
228
- return !n.type.indexOf("key") && t._k(n.keyCode, "esc", 27, n.key, ["Esc", "Escape"]) ? null : e.onEscapeKey.apply(null, arguments);
229
- } } }, [o(e.BentoListbox, t._g({ ref: "dropdownOptionsListboxRef", staticClass: "b-dropdown-options-container__listbox", class: e.conditionalListboxClasses, attrs: { id: t.id, "aria-label": t.ariaLabel, "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, l) {
230
- return { key: l, fn: function(a) {
231
- return [t._t(l, null, null, a)];
235
+ 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(a) {
236
+ return !a.type.indexOf("key") && t._k(a.keyCode, "esc", 27, a.key, ["Esc", "Escape"]) ? null : e.onEscapeKey.apply(null, arguments);
237
+ } } }, [o(e.BentoListbox, t._g({ ref: "dropdownOptionsListboxRef", staticClass: "b-dropdown-options-container__listbox", class: e.conditionalListboxClasses, attrs: { id: t.id, "aria-label": t.ariaLabel, "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, l) {
238
+ return { key: l, fn: function(n) {
239
+ return [t._t(l, null, null, n)];
232
240
  } };
233
241
  })], null, !0) }, e.listeners))], 1)]);
234
242
  }, je = [], Ue = /* @__PURE__ */ k(
@@ -240,28 +248,28 @@ var We = function() {
240
248
  "1f5636d7"
241
249
  );
242
250
  const qe = Ue.exports;
243
- let ne = 0;
251
+ let ae = 0;
244
252
  const He = {
245
253
  beforeCreate() {
246
- this.uuid = ne.toString(), ne += 1;
254
+ this.uuid = ae.toString(), ae += 1;
247
255
  }
248
256
  };
249
- var Ve = function() {
257
+ var Je = function() {
250
258
  var t = this, o = t._self._c;
251
259
  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: "#00112C", d: "M5.00011 5.43922L8.00011 8.43922L11.0001 5.43922L12.0608 6.49988L8.00011 10.5605L3.93945 6.49988L5.00011 5.43922Z" } })]);
252
- }, Je = [], Ye = /* @__PURE__ */ k(
260
+ }, Ve = [], Ye = /* @__PURE__ */ k(
253
261
  He,
254
- Ve,
255
262
  Je,
263
+ Ve,
256
264
  !1,
257
265
  null,
258
266
  null
259
267
  );
260
268
  const Ze = Ye.exports;
261
- let ae = 0;
269
+ let ne = 0;
262
270
  const Qe = {
263
271
  beforeCreate() {
264
- this.uuid = ae.toString(), ae += 1;
272
+ this.uuid = ne.toString(), ne += 1;
265
273
  }
266
274
  };
267
275
  var Xe = function() {
@@ -340,57 +348,59 @@ const tt = et.exports, ot = B({
340
348
  },
341
349
  emits: ["clear", "close", "input", "keydown", "open"],
342
350
  setup(s, { emit: t }) {
343
- const o = s, e = c(() => ({
351
+ const o = s, e = u(() => ({
344
352
  [`b-dropdown-small-textbox--${K.DISABLED}`]: o.disabled,
345
353
  [`b-dropdown-small-textbox--${K.READONLY}`]: o.readonly,
346
354
  [`b-dropdown-small-textbox--${K.OPENED}`]: o.open
347
- })), n = c(() => o.open && !o.disabled && !o.readonly), l = (p) => {
355
+ })), a = u(() => o.open && !o.disabled && !o.readonly), l = (p) => {
348
356
  t("input", p);
349
- }, a = (p) => {
357
+ }, n = (p) => {
350
358
  t("keydown", p);
351
- }, u = (p) => {
352
- z(p), t("open");
353
359
  }, r = (p) => {
360
+ z(p), t("open");
361
+ }, d = (p) => {
354
362
  z(p), t("close");
355
363
  }, v = (p) => {
356
364
  z(p), t("clear");
357
365
  }, i = {
358
366
  [A.INPUT]: l,
359
- [A.OPEN]: u,
360
- [A.CLOSE]: r,
367
+ [A.OPEN]: r,
368
+ [A.CLOSE]: d,
361
369
  [A.CLEAR]: v,
362
- [A.KEYDOWN]: a
370
+ [A.KEYDOWN]: n
363
371
  };
364
- return { __sfc: !0, emit: t, props: o, conditionalClasses: e, isDropdownOpen: n, onInput: l, onKeyDown: a, openDropdown: u, closeDropdown: r, clearValue: v, listeners: i, BentoDropdownSize: M, DropdownBaseTextbox: Ee, ChevronDownSmallIcon: Ze, ChevronUpSmallIcon: tt };
372
+ return { __sfc: !0, emit: t, props: o, conditionalClasses: e, isDropdownOpen: a, onInput: l, onKeyDown: n, openDropdown: r, closeDropdown: d, clearValue: v, listeners: i, BentoDropdownSize: N, DropdownBaseTextbox: Ee, ChevronDownSmallIcon: Ze, ChevronUpSmallIcon: tt };
365
373
  }
366
374
  });
367
- var nt = function() {
375
+ var at = function() {
368
376
  var t = this, o = t._self._c, e = t._self._setupProxy;
369
377
  return o("div", { staticClass: "b-dropdown-small-textbox", class: e.conditionalClasses }, [o(e.DropdownBaseTextbox, t._g(t._b({ staticClass: "b-dropdown-small-textbox__textbox", attrs: { size: e.BentoDropdownSize.SMALL }, scopedSlots: t._u([{ key: "icon", fn: function() {
370
378
  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)];
371
379
  }, proxy: !0 }]) }, "dropdown-base-textbox", { ...t.$attrs, ...t.$props }, !1), e.listeners))], 1);
372
- }, at = [], lt = /* @__PURE__ */ k(
380
+ }, nt = [], lt = /* @__PURE__ */ k(
373
381
  st,
374
- nt,
375
382
  at,
383
+ nt,
376
384
  !1,
377
385
  null,
378
386
  "ba322765"
379
387
  );
380
388
  const it = lt.exports, rt = (s, t) => t.value.reduce((o, e) => {
381
389
  if (e.items) {
382
- const n = e.items.filter(
383
- (a) => s.value.find((u) => u.value === a.value)
390
+ const a = e.items.filter(
391
+ (n) => s.value.find((r) => r.value === n.value)
384
392
  );
385
- n.length === e.items.length ? o.push(e.label) : n.forEach(({ label: a }) => o.push(a));
393
+ a.length === e.items.length ? o.push(e.label) : a.forEach(({ label: n }) => o.push(n));
386
394
  }
387
- return s.value.find((n) => n.value === e.value) && o.push(e.label), o;
388
- }, []).join(", "), dt = ({ items: s, placeholder: t, selectedValues: o }) => {
389
- const e = c(() => s.value.find((l) => {
390
- var a;
391
- return (a = l.items) == null ? void 0 : a.length;
392
- }));
393
- return c(() => o.value.length ? e.value ? rt(o, s) : o.value.map(({ label: l }) => l).join(", ") : t.value || null);
395
+ return s.value.find((a) => a.value === e.value) && o.push(e.label), o;
396
+ }, []).join(", "), dt = ({ items: s, placeholder: t, selectedValues: o, isMultiSelect: e }) => {
397
+ const a = u(
398
+ () => e.value && s.value.find((n) => {
399
+ var r;
400
+ return (r = n.items) == null ? void 0 : r.length;
401
+ })
402
+ );
403
+ return u(() => o.value.length ? a.value ? rt(o, s) : o.value.map(({ label: n }) => n).join(", ") : t.value || null);
394
404
  }, de = (s) => {
395
405
  var t;
396
406
  (t = s.value.$children) == null || t[0].$refs.textbox.focus();
@@ -399,27 +409,27 @@ const it = lt.exports, rt = (s, t) => t.value.reduce((o, e) => {
399
409
  optionsContainerRef: t,
400
410
  selectedValueIndex: o,
401
411
  isDropdownOpen: e,
402
- isDynamicFltering: n,
412
+ isDynamicFltering: a,
403
413
  items: l,
404
- isMultiple: a
405
- }, u, r, v) => {
414
+ isMultiple: n
415
+ }, r, d, v) => {
406
416
  const i = ({ detail: f }) => {
407
- f.preventDefault(), e.value || r(), E(() => {
417
+ f.preventDefault(), e.value || d(), E(() => {
408
418
  var m;
409
- a ? (m = t.value.$refs.dropdownOptionsListboxRef.$refs.listboxItemRef.$children) == null || m[0].$el.focus() : (t.value.$refs.dropdownOptionsListboxRef.$refs.listboxItemRef.setListboxFocusedIndex(
419
+ n ? (m = t.value.$refs.dropdownOptionsListboxRef.$refs.listboxItemRef.$children) == null || m[0].$el.focus() : (t.value.$refs.dropdownOptionsListboxRef.$refs.listboxItemRef.setListboxFocusedIndex(
410
420
  o.value
411
421
  ), t.value.$refs.dropdownOptionsListboxRef.$refs.listboxItemRef.listboxItemRef[o.value].$el.focus());
412
422
  });
413
423
  }, p = ({ detail: f }) => {
414
- f.preventDefault(), e.value || r(), E(() => {
424
+ f.preventDefault(), e.value || d(), E(() => {
415
425
  t.value.$refs.dropdownOptionsListboxRef.$refs.listboxItemRef.setListboxFocusedIndex(
416
426
  o.value
417
427
  ), t.value.$refs.dropdownOptionsListboxRef.$refs.listboxItemRef.listboxItemRef[o.value].$el.focus();
418
428
  });
419
429
  }, $ = () => {
420
- e.value || (r(), E(() => {
430
+ e.value || (d(), E(() => {
421
431
  var f, m;
422
- if (a) {
432
+ if (n) {
423
433
  const _ = t.value.$refs.dropdownOptionsListboxRef.$refs.listboxItemRef.$children;
424
434
  (f = t.value.$refs.dropdownOptionsListboxRef.$refs.listboxItemRef.$children) == null || f[_.length - 1].$children[l.length - 1].$el.focus();
425
435
  } else
@@ -427,33 +437,33 @@ const it = lt.exports, rt = (s, t) => t.value.reduce((o, e) => {
427
437
  }));
428
438
  }, x = () => {
429
439
  e.value && (v(), de(s));
430
- }, L = () => {
440
+ }, S = () => {
431
441
  e.value && v();
432
442
  }, h = () => {
433
- e.value || r(), E(() => {
443
+ e.value || d(), E(() => {
434
444
  var f;
435
445
  (f = t.value.$refs.dropdownOptionsListboxRef.$refs.listboxItemRef.$children) == null || f[0].$el.focus();
436
446
  });
437
- }, S = ({ detail: f }) => {
438
- f.preventDefault(), u(), e.value && E(() => {
447
+ }, O = ({ detail: f }) => {
448
+ f.preventDefault(), r(), e.value && E(() => {
439
449
  var m, _;
440
- a ? (m = t.value.$refs.dropdownOptionsListboxRef.$refs.listboxItemRef.$children) == null || m[0].$el.focus() : (_ = t.value.$refs.dropdownOptionsListboxRef.$refs.listboxItemRef.$children) == null || _[o.value].$el.focus();
450
+ n ? (m = t.value.$refs.dropdownOptionsListboxRef.$refs.listboxItemRef.$children) == null || m[0].$el.focus() : (_ = t.value.$refs.dropdownOptionsListboxRef.$refs.listboxItemRef.$children) == null || _[o.value].$el.focus();
441
451
  });
442
452
  }, w = () => {
443
- u(), e.value && E(() => {
453
+ r(), e.value && E(() => {
444
454
  var f, m;
445
- a ? (f = t.value.$refs.dropdownOptionsListboxRef.$refs.listboxItemRef.$children) == null || f[0].$el.focus() : (m = t.value.$refs.dropdownOptionsListboxRef.$refs.listboxItemRef.$children) == null || m[o.value].$el.focus();
455
+ n ? (f = t.value.$refs.dropdownOptionsListboxRef.$refs.listboxItemRef.$children) == null || f[0].$el.focus() : (m = t.value.$refs.dropdownOptionsListboxRef.$refs.listboxItemRef.$children) == null || m[o.value].$el.focus();
446
456
  });
447
457
  };
448
- return c(() => ({
449
- ...n.value ? {} : { [C.SPACE]: S },
458
+ return u(() => ({
459
+ ...a.value ? {} : { [C.SPACE]: O },
450
460
  [C.ENTER]: w,
451
461
  [C.ARROW_DOWN]: i,
452
462
  [C.ARROW_UP]: p,
453
463
  [C.END]: $,
454
464
  [C.ESCAPE]: x,
455
465
  [C.HOME]: h,
456
- [C.TAB]: L
466
+ [C.TAB]: S
457
467
  }));
458
468
  }, ut = ({ inputContainerRef: s, isDropdownOpen: t }, o) => {
459
469
  const e = () => {
@@ -462,21 +472,21 @@ const it = lt.exports, rt = (s, t) => t.value.reduce((o, e) => {
462
472
  });
463
473
  };
464
474
  return {
465
- [d.ENTER]: e,
466
- [d.ESCAPE]: e,
467
- [d.TAB]: e,
468
- [d.SPACE]: e
475
+ [c.ENTER]: e,
476
+ [c.ESCAPE]: e,
477
+ [c.TAB]: e,
478
+ [c.SPACE]: e
469
479
  };
470
480
  };
471
481
  function pt(s, t, o, e) {
472
- const n = g(s), l = g(t), a = (r, v = []) => v.flatMap((i) => i.label.toLocaleLowerCase().includes(r) ? e != null && e.value && i.items ? [...a(r, i.items)] : [i, ...a(r, i.items)] : i.items ? [...a(r, i.items)] : []);
473
- return le(n, () => {
474
- o !== void 0 && o(n.value);
475
- }), c(() => {
476
- if (!n.value || o !== void 0)
482
+ const a = g(s), l = g(t), n = (d, v = []) => v.flatMap((i) => i.label.toLocaleLowerCase().includes(d) ? e != null && e.value && i.items ? [...n(d, i.items)] : [i, ...n(d, i.items)] : i.items ? [...n(d, i.items)] : []);
483
+ return le(a, () => {
484
+ o !== void 0 && o(a.value);
485
+ }), u(() => {
486
+ if (!a.value || o !== void 0)
477
487
  return l.value;
478
- const r = n.value.toLocaleLowerCase();
479
- return a(r, l.value);
488
+ const d = a.value.toLocaleLowerCase();
489
+ return n(d, l.value);
480
490
  });
481
491
  }
482
492
  const ft = {
@@ -484,6 +494,14 @@ const ft = {
484
494
  all: "All",
485
495
  clearSearch: "Clear filter",
486
496
  ariaLabelFallback: "Dropdown"
497
+ },
498
+ "pt-BR": {
499
+ all: "Todos",
500
+ clearFilter: "Limpar filtro"
501
+ },
502
+ "ja-JP": {
503
+ all: "すべて",
504
+ clearFilter: "フィルターをクリア"
487
505
  }
488
506
  }, vt = Symbol("input field component injection key"), mt = B({
489
507
  i18n: { messages: ft },
@@ -621,7 +639,7 @@ const ft = {
621
639
  size: {
622
640
  type: String,
623
641
  default: null,
624
- validator: (s) => Object.values(M).includes(s)
642
+ validator: (s) => Object.values(N).includes(s)
625
643
  },
626
644
  /**
627
645
  * If enabled, dropdown will display non-selectable, static categories
@@ -652,24 +670,25 @@ const ft = {
652
670
  emits: ["input", "show-more"],
653
671
  setup(s, { emit: t }) {
654
672
  var te;
655
- const o = s, e = Le(), n = ie(), l = Be(n), { t: a } = U(), u = g(null), r = g(null), v = g(null), i = g(!1), p = N("bento-dropdown-options-container"), $ = N("dropdown-label"), x = N("dropdown-description"), L = N("dropdown-error"), { isReadOnly: h } = $e(O(o, "readonly")), { cachedSelectedListboxOptions: S, cachedListboxSelectedValues: w, setCachedValues: b } = Ie(
656
- O(o, "items"),
657
- O(o, "value"),
658
- O(o, "multiple")
673
+ const o = s, e = Le(), a = ie(), l = Be(a), { t: n } = U(), r = g(null), d = g(null), v = g(null), i = g(!1), p = M("bento-dropdown-options-container"), $ = M("dropdown-label"), x = M("dropdown-description"), S = M("dropdown-error"), { isReadOnly: h } = $e(L(o, "readonly")), { cachedSelectedListboxOptions: O, cachedListboxSelectedValues: w, setCachedValues: b } = Ie(
674
+ L(o, "items"),
675
+ L(o, "value"),
676
+ L(o, "multiple")
659
677
  ), f = g(e["aria-label"]), { ariaLabel: m, label: _ } = re(o), ce = Ce({
660
678
  // TODO: take ariaLabel ref away when aria-label prop is removed
661
679
  ariaLabel: m || f,
662
680
  label: _,
663
- defaultFallback: a("ariaLabelFallback")
664
- }), q = o.size === M.SMALL || Se(vt, !1), ue = c(() => q ? M.SMALL : M.DEFAULT), pe = c(() => ({
681
+ defaultFallback: n("ariaLabelFallback")
682
+ }), q = o.size === N.SMALL || Se(vt, !1), ue = u(() => q ? N.SMALL : N.DEFAULT), pe = u(() => ({
665
683
  "b-dropdown--condensed": o.condensed
666
- })), fe = c(() => ({
684
+ })), fe = u(() => ({
667
685
  "b-dropdown__description--error": !!o.errorMessage
668
- })), D = g(""), I = O(o, "items"), H = O(o, "staticCategories"), ve = pt(D, I, (te = o == null ? void 0 : o.search) == null ? void 0 : te.searchEvent, H), F = c(() => o.dynamicFiltering && !!D.value), me = dt({
686
+ })), D = g(""), I = L(o, "items"), H = L(o, "staticCategories"), ve = pt(D, I, (te = o == null ? void 0 : o.search) == null ? void 0 : te.searchEvent, H), F = u(() => o.dynamicFiltering && !!D.value), me = dt({
669
687
  items: I,
670
- placeholder: O(o, "placeholder"),
671
- selectedValues: S
672
- }), be = c(() => {
688
+ placeholder: L(o, "placeholder"),
689
+ isMultiSelect: L(o, "multiple"),
690
+ selectedValues: O
691
+ }), be = u(() => {
673
692
  if (o != null && o.multiple && Array.isArray(o.value))
674
693
  return o.items.filter(
675
694
  ({ value: y }) => (o == null ? void 0 : o.value) && (o == null ? void 0 : o.value).includes(y)
@@ -681,18 +700,18 @@ const ft = {
681
700
  return y ? y.items.find((T) => T.value === o.value) : null;
682
701
  }
683
702
  return o.items.find(({ value: y }) => y === (o == null ? void 0 : o.value));
684
- }), V = c(() => {
703
+ }), J = u(() => {
685
704
  const y = o.items.findIndex(({ value: R }) => o.value === R);
686
705
  return y > 0 ? y : 0;
687
- }), { isMultiLevelSelect: J, flattenedItemsList: Y } = Re(I), ye = c(() => {
706
+ }), { isMultiLevelSelect: V, flattenedItemsList: Y } = Re(I), ye = u(() => {
688
707
  var y;
689
708
  if (o.multiple) {
690
- const R = (y = o == null ? void 0 : o.value) == null ? void 0 : y.length, T = J.value ? Y.value.length : I.value.length;
691
- return !o.hasMoreItems && T === R ? a("all") : R;
709
+ const R = (y = o == null ? void 0 : o.value) == null ? void 0 : y.length, T = V.value ? Y.value.length : I.value.length;
710
+ return !o.hasMoreItems && T === R ? n("all") : R;
692
711
  }
693
712
  return null;
694
- }), _e = c(
695
- () => `${o.description ? x : ""} ${o.errorMessage ? L : ""}`.trim() || null
713
+ }), _e = u(
714
+ () => `${o.description ? x : ""} ${o.errorMessage ? S : ""}`.trim() || null
696
715
  ), Z = () => {
697
716
  h.value || (i.value = !0);
698
717
  }, P = () => {
@@ -704,14 +723,14 @@ const ft = {
704
723
  }, X = (y) => {
705
724
  o.multiple || (D.value = "", i.value = !1), b(y), t("input", w.value);
706
725
  }, G = () => {
707
- t(d.SHOW_MORE);
726
+ t(c.SHOW_MORE);
708
727
  }, xe = ct(
709
728
  {
710
- inputContainerRef: u,
729
+ inputContainerRef: r,
711
730
  optionsContainerRef: v,
712
- selectedValueIndex: V,
731
+ selectedValueIndex: J,
713
732
  isDropdownOpen: i,
714
- isDynamicFltering: O(o, "dynamicFiltering"),
733
+ isDynamicFltering: L(o, "dynamicFiltering"),
715
734
  items: o.items,
716
735
  isMultiple: o.multiple
717
736
  },
@@ -720,14 +739,14 @@ const ft = {
720
739
  P
721
740
  ), ee = ut(
722
741
  {
723
- inputContainerRef: u,
742
+ inputContainerRef: r,
724
743
  isDropdownOpen: i
725
744
  },
726
745
  P
727
746
  ), he = {
728
- [d.CLOSE_DROPDOWN]: P,
729
- [d.SELECT]: X,
730
- [d.SHOW_MORE]: G,
747
+ [c.CLOSE_DROPDOWN]: P,
748
+ [c.SELECT]: X,
749
+ [c.SHOW_MORE]: G,
731
750
  ...ee
732
751
  };
733
752
  return o.error && oe(
@@ -736,21 +755,21 @@ const ft = {
736
755
  Having the field as "undefined" will hide/remove the error.
737
756
  <bento-dropdown errorMessage="Error message text" />`,
738
757
  "2.0.0"
739
- ), o.size && oe('BentoDropdown "size" property', "Do not use. Only 'default' size should be used.", "2.0.0"), { __sfc: !0, attrs: e, slots: n, hasSlot: l, props: o, emit: t, t: a, inputContainerRef: u, inputContainerRefWrapper: r, optionsContainerRef: v, isDropdownOpen: i, dropdownOptionsContainerId: p, labelId: $, descriptionId: x, errorId: L, isReadOnly: h, cachedSelectedListboxOptions: S, cachedListboxSelectedValues: w, setCachedValues: b, ariaLabelAttribute: f, ariaLabel: m, label: _, computedAriaLabel: ce, isInputComponent: q, size: ue, conditionalClasses: pe, descriptionConditionalClasses: fe, searchTerm: D, items: I, staticCategories: H, filteredItems: ve, isSearching: F, displayValue: me, selectedValueItem: be, selectedValueIndex: V, isMultiLevelSelect: J, flattenedItemsList: Y, additionalItemsSelected: ye, ariaDescribedBy: _e, openDropdown: Z, closeDropdown: P, toggleDropdown: Q, clickOutsideDropdown: ge, onOptionSelected: X, emitShowMoreEvent: G, textboxKeyboardNavigationListeners: xe, listboxKeyboardNavigationListeners: ee, listboxListeners: he, BentoDropdownOptionsContainer: qe, BentoTypography: Oe, ErrorMessage: Ne, FieldLabel: Me, vBentoClickOutsideDirective: ke, vBentoKeyboardNavigationDirective: Te };
758
+ ), o.size && oe('BentoDropdown "size" property', "Do not use. Only 'default' size should be used.", "2.0.0"), { __sfc: !0, attrs: e, slots: a, hasSlot: l, props: o, emit: t, t: n, inputContainerRef: r, inputContainerRefWrapper: d, optionsContainerRef: v, isDropdownOpen: i, dropdownOptionsContainerId: p, labelId: $, descriptionId: x, errorId: S, isReadOnly: h, cachedSelectedListboxOptions: O, cachedListboxSelectedValues: w, setCachedValues: b, ariaLabelAttribute: f, ariaLabel: m, label: _, computedAriaLabel: ce, isInputComponent: q, size: ue, conditionalClasses: pe, descriptionConditionalClasses: fe, searchTerm: D, items: I, staticCategories: H, filteredItems: ve, isSearching: F, displayValue: me, selectedValueItem: be, selectedValueIndex: J, isMultiLevelSelect: V, flattenedItemsList: Y, additionalItemsSelected: ye, ariaDescribedBy: _e, openDropdown: Z, closeDropdown: P, toggleDropdown: Q, clickOutsideDropdown: ge, onOptionSelected: X, emitShowMoreEvent: G, textboxKeyboardNavigationListeners: xe, listboxKeyboardNavigationListeners: ee, listboxListeners: he, BentoDropdownOptionsContainer: qe, BentoTypography: Oe, ErrorMessage: Me, FieldLabel: Ne, vBentoClickOutsideDirective: ke, vBentoKeyboardNavigationDirective: Te };
740
759
  }
741
760
  });
742
761
  var yt = function() {
743
- var n;
762
+ var a;
744
763
  var t = this, o = t._self._c, e = t._self._setupProxy;
745
764
  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.size, { 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(l) {
746
765
  e.searchTerm = l;
747
- }, open: e.toggleDropdown, close: e.toggleDropdown }, scopedSlots: t._u([t._l(e.slots, function(l, a) {
748
- return { key: a, fn: function(u) {
749
- return [t._t(a, null, null, u)];
766
+ }, open: e.toggleDropdown, close: e.toggleDropdown }, scopedSlots: t._u([t._l(e.slots, function(l, n) {
767
+ return { key: n, fn: function(r) {
768
+ return [t._t(n, null, null, r)];
750
769
  } };
751
- })], null, !0) })], 1), e.inputContainerRef ? o(e.BentoDropdownOptionsContainer, t._g({ ref: "optionsContainerRef", attrs: { id: e.dropdownOptionsContainerId, "aria-label": e.computedAriaLabel, "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(l, a) {
752
- return { key: a, fn: function(u) {
753
- return [t._t(a, null, null, u)];
770
+ })], null, !0) })], 1), e.inputContainerRef ? o(e.BentoDropdownOptionsContainer, t._g({ ref: "optionsContainerRef", attrs: { id: e.dropdownOptionsContainerId, "aria-label": e.computedAriaLabel, "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(l, n) {
771
+ return { key: n, fn: function(r) {
772
+ return [t._t(n, null, null, r)];
754
773
  } };
755
774
  })], 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() {
756
775
  return [t._v(" " + t._s(t.description) + " ")];
@@ -761,12 +780,12 @@ var yt = function() {
761
780
  _t,
762
781
  !1,
763
782
  null,
764
- "243401aa"
783
+ "501c3a2e"
765
784
  );
766
- const Mt = gt.exports;
785
+ const Nt = gt.exports;
767
786
  export {
768
- Mt as B,
787
+ Nt as B,
769
788
  vt as I,
770
789
  pt as u
771
790
  };
772
- //# sourceMappingURL=dropdown.DpsQPLy-.js.map
791
+ //# sourceMappingURL=dropdown.B4KMM58m.js.map