@adyen/bento-vue2 1.91.0 → 1.92.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 (218) hide show
  1. package/dist/@types/index.d.ts +118 -127
  2. package/dist/action-bar.js +1 -1
  3. package/dist/ai-tag.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/base-modal.css +1 -1
  8. package/dist/assets/button-actions.css +1 -1
  9. package/dist/assets/card.css +1 -1
  10. package/dist/assets/checkbox-group.css +1 -1
  11. package/dist/assets/checkbox.css +1 -1
  12. package/dist/assets/data-grid.css +1 -1
  13. package/dist/assets/date-range-picker.css +1 -1
  14. package/dist/assets/dialog-page.css +1 -1
  15. package/dist/assets/dropdown.css +1 -1
  16. package/dist/assets/file-uploader.css +1 -1
  17. package/dist/assets/filter-bar.css +1 -1
  18. package/dist/assets/input-field.css +1 -1
  19. package/dist/assets/inspector.css +1 -1
  20. package/dist/assets/modal-fullscreen.css +1 -1
  21. package/dist/assets/secondary-nav.css +1 -1
  22. package/dist/assets/sidepanel.css +1 -1
  23. package/dist/assets/toggle.css +1 -1
  24. package/dist/assets/use-cached-selected-values.css +1 -1
  25. package/dist/button.js +1 -1
  26. package/dist/card.js +1 -1
  27. package/dist/checkbox.js +2 -2
  28. package/dist/chunks/{action-bar.Dj830k6L.js → action-bar.ChuPTyQG.js} +3 -3
  29. package/dist/chunks/{action-bar.Dj830k6L.js.map → action-bar.ChuPTyQG.js.map} +1 -1
  30. package/dist/chunks/{ai-tag.AyG2UWCB.js → ai-tag.Dt8nijLW.js} +2 -2
  31. package/dist/chunks/{ai-tag.AyG2UWCB.js.map → ai-tag.Dt8nijLW.js.map} +1 -1
  32. package/dist/chunks/{alert.CXRb-Smf.js → alert.CLqcPN0Q.js} +73 -55
  33. package/dist/chunks/alert.CLqcPN0Q.js.map +1 -0
  34. package/dist/chunks/{base-modal.C52VMtnd.js → base-modal.DMdzcBrq.js} +3 -3
  35. package/dist/chunks/base-modal.DMdzcBrq.js.map +1 -0
  36. package/dist/chunks/{button-actions-with-menu.OsPQ-POD.js → button-actions-with-menu.CXFziNUr.js} +2 -2
  37. package/dist/chunks/{button-actions-with-menu.OsPQ-POD.js.map → button-actions-with-menu.CXFziNUr.js.map} +1 -1
  38. package/dist/chunks/{button-actions.Bdbu0bvt.js → button-actions.CXD6_9qN.js} +4 -4
  39. package/dist/chunks/button-actions.CXD6_9qN.js.map +1 -0
  40. package/dist/chunks/button-actions.types.BptAXjD8.js.map +1 -1
  41. package/dist/chunks/button.C9b2AC9w.js.map +1 -1
  42. package/dist/chunks/{calendar.CqsfThnC.js → calendar.rZsIZPxm.js} +526 -466
  43. package/dist/chunks/calendar.rZsIZPxm.js.map +1 -0
  44. package/dist/chunks/{card.8z7UQeVK.js → card.Brma5kdb.js} +2 -2
  45. package/dist/chunks/card.Brma5kdb.js.map +1 -0
  46. package/dist/chunks/{checkbox-group.Dur2Edtw.js → checkbox-group.DWZvFkjz.js} +4 -4
  47. package/dist/chunks/checkbox-group.DWZvFkjz.js.map +1 -0
  48. package/dist/chunks/{checkbox.vNjt6QDJ.js → checkbox.BZP0wtnE.js} +3 -5
  49. package/dist/chunks/checkbox.BZP0wtnE.js.map +1 -0
  50. package/dist/chunks/{code-snippet.BVpFBhKq.js → code-snippet.DHAymIXp.js} +3 -3
  51. package/dist/chunks/code-snippet.DHAymIXp.js.map +1 -0
  52. package/dist/chunks/constructNow.CK0ryPil.js +8 -0
  53. package/dist/chunks/{constructNow.CIc7d13I.js.map → constructNow.CK0ryPil.js.map} +1 -1
  54. package/dist/chunks/country.types.jjXwaoMl.js.map +1 -1
  55. package/dist/chunks/{dashboard-section.DNxNVV44.js → dashboard-section.D9rS8myE.js} +2 -2
  56. package/dist/chunks/{dashboard-section.DNxNVV44.js.map → dashboard-section.D9rS8myE.js.map} +1 -1
  57. package/dist/chunks/{dashed-underline.DL2_sik5.js → dashed-underline.D_FhFRXM.js} +2 -2
  58. package/dist/chunks/{dashed-underline.DL2_sik5.js.map → dashed-underline.D_FhFRXM.js.map} +1 -1
  59. package/dist/chunks/{data-grid-template.BFv1zr6g.js → data-grid-template.CRijG20n.js} +2 -2
  60. package/dist/chunks/{data-grid-template.BFv1zr6g.js.map → data-grid-template.CRijG20n.js.map} +1 -1
  61. package/dist/chunks/{data-grid.ZHY5EzP3.js → data-grid.hMM9F36T.js} +363 -363
  62. package/dist/chunks/data-grid.hMM9F36T.js.map +1 -0
  63. package/dist/chunks/{date-picker.kl6aFlr1.js → date-picker.BSo6Cvum.js} +7 -7
  64. package/dist/chunks/{date-picker.kl6aFlr1.js.map → date-picker.BSo6Cvum.js.map} +1 -1
  65. package/dist/chunks/date-picker.types.Ckt7zxGy.js.map +1 -1
  66. package/dist/chunks/{date-range-picker.LCWVAa5R.js → date-range-picker.D90k5b8p.js} +419 -411
  67. package/dist/chunks/date-range-picker.D90k5b8p.js.map +1 -0
  68. package/dist/chunks/date-range-picker.types.Ckt7zxGy.js.map +1 -1
  69. package/dist/chunks/{de.BJvo6njq.js → de.pvjpUJ1o.js} +2 -2
  70. package/dist/chunks/{de.BJvo6njq.js.map → de.pvjpUJ1o.js.map} +1 -1
  71. package/dist/chunks/{differenceInMonths.CIYECBxK.js → differenceInMonths.CpwVtHZX.js} +3 -2
  72. package/dist/chunks/{differenceInMonths.CIYECBxK.js.map → differenceInMonths.CpwVtHZX.js.map} +1 -1
  73. package/dist/chunks/{draggable-handle.Ba28eM8o.js → draggable-handle.BR_aQH5N.js} +2 -2
  74. package/dist/chunks/{draggable-handle.Ba28eM8o.js.map → draggable-handle.BR_aQH5N.js.map} +1 -1
  75. package/dist/chunks/{dropdown-tag.B61hPq5n.js → dropdown-tag.z3rsxbpW.js} +4 -4
  76. package/dist/chunks/dropdown-tag.z3rsxbpW.js.map +1 -0
  77. package/dist/chunks/{dropdown.Ca-f8tdX.js → dropdown.BYJwx-JD.js} +313 -305
  78. package/dist/chunks/dropdown.BYJwx-JD.js.map +1 -0
  79. package/dist/chunks/{en-GB.C3-QUpva.js → en-GB.-Q7Oq-nY.js} +2 -2
  80. package/dist/chunks/{en-GB.C3-QUpva.js.map → en-GB.-Q7Oq-nY.js.map} +1 -1
  81. package/dist/chunks/{en-US.YeSsZuOc.js → en-US.BK5uiAND.js} +5 -5
  82. package/dist/chunks/{en-US.YeSsZuOc.js.map → en-US.BK5uiAND.js.map} +1 -1
  83. package/dist/chunks/{es.DyUjjSL8.js → es.2H4LvTyV.js} +2 -2
  84. package/dist/chunks/{es.DyUjjSL8.js.map → es.2H4LvTyV.js.map} +1 -1
  85. package/dist/chunks/{file-uploader.DeWmLpfp.js → file-uploader.Djl0xaDN.js} +4 -5
  86. package/dist/chunks/{file-uploader.DeWmLpfp.js.map → file-uploader.Djl0xaDN.js.map} +1 -1
  87. package/dist/chunks/{filter-bar.Bd4ghW_B.js → filter-bar.C9rWMIWO.js} +50 -50
  88. package/dist/chunks/filter-bar.C9rWMIWO.js.map +1 -0
  89. package/dist/chunks/{footer-actions.CvUaoMzj.js → footer-actions.D9mHwk5l.js} +2 -2
  90. package/dist/chunks/{footer-actions.CvUaoMzj.js.map → footer-actions.D9mHwk5l.js.map} +1 -1
  91. package/dist/chunks/{form-layout-title.DzGajv4U.js → form-layout-title.zZVLCyqe.js} +2 -2
  92. package/dist/chunks/{form-layout-title.DzGajv4U.js.map → form-layout-title.zZVLCyqe.js.map} +1 -1
  93. package/dist/chunks/{fr.JD_4GwS8.js → fr.Cu0IIfBP.js} +2 -2
  94. package/dist/chunks/{fr.JD_4GwS8.js.map → fr.Cu0IIfBP.js.map} +1 -1
  95. package/dist/chunks/{header-meta.AXUGoqDd.js → header-meta.BSPnWWmi.js} +14 -14
  96. package/dist/chunks/{header-meta.AXUGoqDd.js.map → header-meta.BSPnWWmi.js.map} +1 -1
  97. package/dist/chunks/{header-with-views.Ba4dswJF.js → header-with-views.g6J7x6l2.js} +8 -8
  98. package/dist/chunks/{header-with-views.Ba4dswJF.js.map → header-with-views.g6J7x6l2.js.map} +1 -1
  99. package/dist/chunks/{header.C7B7RBib.js → header.DyZG7qWe.js} +3 -3
  100. package/dist/chunks/header.DyZG7qWe.js.map +1 -0
  101. package/dist/chunks/{input-field-password.BNAtIn_D.js → input-field-password.CiDdI6A_.js} +4 -4
  102. package/dist/chunks/input-field-password.CiDdI6A_.js.map +1 -0
  103. package/dist/chunks/{input-field-phone-number.CEYx1s4b.js → input-field-phone-number.DFS58acU.js} +3 -3
  104. package/dist/chunks/{input-field-phone-number.CEYx1s4b.js.map → input-field-phone-number.DFS58acU.js.map} +1 -1
  105. package/dist/chunks/input-field.CGLjYab8.js +222 -0
  106. package/dist/chunks/input-field.CGLjYab8.js.map +1 -0
  107. package/dist/chunks/{input-time.BLuMfakv.js → input-time.BhAUyKZM.js} +4 -4
  108. package/dist/chunks/{input-time.BLuMfakv.js.map → input-time.BhAUyKZM.js.map} +1 -1
  109. package/dist/chunks/isSameWeek.TrpUOIn5.js +14 -0
  110. package/dist/chunks/{isSameWeek.CzBCmu7d.js.map → isSameWeek.TrpUOIn5.js.map} +1 -1
  111. package/dist/chunks/{it.BlUnV-yA.js → it.B65snrJA.js} +3 -3
  112. package/dist/chunks/{it.BlUnV-yA.js.map → it.B65snrJA.js.map} +1 -1
  113. package/dist/chunks/{ja.nUwDmVf2.js → ja.xGVfFSzL.js} +2 -2
  114. package/dist/chunks/{ja.nUwDmVf2.js.map → ja.xGVfFSzL.js.map} +1 -1
  115. package/dist/chunks/link.DB5g6d48.js.map +1 -1
  116. package/dist/chunks/{modal-fullscreen.DTvg2NLk.js → modal-fullscreen.De6mevyD.js} +2 -2
  117. package/dist/chunks/{modal-fullscreen.DTvg2NLk.js.map → modal-fullscreen.De6mevyD.js.map} +1 -1
  118. package/dist/chunks/{modal.D_TcWTkf.js → modal.BXxwn9H4.js} +93 -91
  119. package/dist/chunks/{modal.D_TcWTkf.js.map → modal.BXxwn9H4.js.map} +1 -1
  120. package/dist/chunks/{pagination.D6BxMw5L.js → pagination.BzsKZFnw.js} +2 -2
  121. package/dist/chunks/{pagination.D6BxMw5L.js.map → pagination.BzsKZFnw.js.map} +1 -1
  122. package/dist/chunks/payment-method.types.BqtH7RM2.js.map +1 -1
  123. package/dist/chunks/popover.types.hA13DZPg.js.map +1 -1
  124. package/dist/chunks/popper-container.C_n9Ds1W.js.map +1 -1
  125. package/dist/chunks/promo-banner.Dc_kK1x9.js.map +1 -1
  126. package/dist/chunks/{pt-BR.BCU2Hj36.js → pt-BR.D9FuAQZm.js} +2 -2
  127. package/dist/chunks/{pt-BR.BCU2Hj36.js.map → pt-BR.D9FuAQZm.js.map} +1 -1
  128. package/dist/chunks/radio-group.Bb-L-0io.js.map +1 -1
  129. package/dist/chunks/{rich-text-editor.Dtdfh-0V.js → rich-text-editor.DPpIzYid.js} +3 -3
  130. package/dist/chunks/{rich-text-editor.Dtdfh-0V.js.map → rich-text-editor.DPpIzYid.js.map} +1 -1
  131. package/dist/chunks/{search-bar.MVJS9-Mh.js → search-bar.BEOieKeA.js} +4 -4
  132. package/dist/chunks/{search-bar.MVJS9-Mh.js.map → search-bar.BEOieKeA.js.map} +1 -1
  133. package/dist/chunks/{secondary-nav.C-nPZR-2.js → secondary-nav.BBL5zZPK.js} +2 -2
  134. package/dist/chunks/{secondary-nav.C-nPZR-2.js.map → secondary-nav.BBL5zZPK.js.map} +1 -1
  135. package/dist/chunks/segmented-control.types.BHRLV8KU.js.map +1 -1
  136. package/dist/chunks/{sidepanel.BTRfwGiS.js → sidepanel.nW0Bhk_u.js} +3 -3
  137. package/dist/chunks/{sidepanel.BTRfwGiS.js.map → sidepanel.nW0Bhk_u.js.map} +1 -1
  138. package/dist/chunks/{startOfWeek.CXhhX-R7.js → startOfWeek.Br5KM4z_.js} +2 -2
  139. package/dist/chunks/{startOfWeek.CXhhX-R7.js.map → startOfWeek.Br5KM4z_.js.map} +1 -1
  140. package/dist/chunks/status.types.Dx8MDhEH.js.map +1 -1
  141. package/dist/chunks/{summary-grid.types.DUIqCmwg.js → summary-grid.types.Dp_efYVN.js} +2 -2
  142. package/dist/chunks/{summary-grid.types.DUIqCmwg.js.map → summary-grid.types.Dp_efYVN.js.map} +1 -1
  143. package/dist/chunks/tag.D2xagTJv.js.map +1 -1
  144. package/dist/chunks/textarea.CJS-1I41.js.map +1 -1
  145. package/dist/chunks/{timeline-item.BOUWkLi1.js → timeline-item.CF9jbIRr.js} +4 -4
  146. package/dist/chunks/timeline-item.CF9jbIRr.js.map +1 -0
  147. package/dist/chunks/{toggle.B1z1YPe_.js → toggle.Ca-MM3dt.js} +3 -5
  148. package/dist/chunks/toggle.Ca-MM3dt.js.map +1 -0
  149. package/dist/chunks/tooltip.BxtnF3is.js.map +1 -1
  150. package/dist/chunks/{tutorial.CZt_mcuT.js → tutorial.CoWDVs7_.js} +2 -2
  151. package/dist/chunks/{tutorial.CZt_mcuT.js.map → tutorial.CoWDVs7_.js.map} +1 -1
  152. package/dist/chunks/typography.C8lPlsbD.js.map +1 -1
  153. package/dist/chunks/{use-cached-selected-values.BJbWbkEQ.js → use-cached-selected-values.Du8-wWR2.js} +616 -551
  154. package/dist/chunks/use-cached-selected-values.Du8-wWR2.js.map +1 -0
  155. package/dist/chunks/{use-date-input-formatter.Djf8AoLr.js → use-date-input-formatter.ibZeLD_V.js} +4 -4
  156. package/dist/chunks/{use-date-input-formatter.Djf8AoLr.js.map → use-date-input-formatter.ibZeLD_V.js.map} +1 -1
  157. package/dist/chunks/{zh-CN.ChYkuQAR.js → zh-CN.Be4pa3-g.js} +3 -3
  158. package/dist/chunks/{zh-CN.ChYkuQAR.js.map → zh-CN.Be4pa3-g.js.map} +1 -1
  159. package/dist/code-snippet.js +1 -1
  160. package/dist/dashboard-template.js +1 -1
  161. package/dist/dashed-underline.js +1 -1
  162. package/dist/data-grid-template.js +1 -1
  163. package/dist/data-grid.js +1 -1
  164. package/dist/date-picker.js +2 -2
  165. package/dist/date-range-picker.js +2 -2
  166. package/dist/draggable.js +1 -1
  167. package/dist/dropdown.js +3 -3
  168. package/dist/file-uploader.js +1 -1
  169. package/dist/filter-bar.js +1 -1
  170. package/dist/form-layout.js +1 -1
  171. package/dist/header-with-views.js +1 -1
  172. package/dist/header.js +1 -1
  173. package/dist/index.js +40 -40
  174. package/dist/index.js.map +1 -1
  175. package/dist/input-field-password.js +1 -1
  176. package/dist/input-field-phone-number.js +1 -1
  177. package/dist/input-field.js +1 -1
  178. package/dist/input-time.js +1 -1
  179. package/dist/internal.js +5 -5
  180. package/dist/menu.js +1 -1
  181. package/dist/modal-fullscreen.js +1 -1
  182. package/dist/modal.js +2 -2
  183. package/dist/pagination.js +1 -1
  184. package/dist/popover.js +1 -1
  185. package/dist/rich-text-editor.js +1 -1
  186. package/dist/search-bar.js +2 -2
  187. package/dist/secondary-nav.js +1 -1
  188. package/dist/sidepanel.js +1 -1
  189. package/dist/summary-grid.js +1 -1
  190. package/dist/timeline.js +1 -1
  191. package/dist/toggle.js +1 -1
  192. package/dist/tutorial.js +1 -1
  193. package/dist/web-types.json +45 -4
  194. package/package.json +5 -5
  195. package/dist/chunks/alert.CXRb-Smf.js.map +0 -1
  196. package/dist/chunks/base-modal.C52VMtnd.js.map +0 -1
  197. package/dist/chunks/button-actions.Bdbu0bvt.js.map +0 -1
  198. package/dist/chunks/calendar.CqsfThnC.js.map +0 -1
  199. package/dist/chunks/card.8z7UQeVK.js.map +0 -1
  200. package/dist/chunks/checkbox-group.Dur2Edtw.js.map +0 -1
  201. package/dist/chunks/checkbox.vNjt6QDJ.js.map +0 -1
  202. package/dist/chunks/code-snippet.BVpFBhKq.js.map +0 -1
  203. package/dist/chunks/constructNow.CIc7d13I.js +0 -8
  204. package/dist/chunks/data-grid.ZHY5EzP3.js.map +0 -1
  205. package/dist/chunks/date-range-picker.LCWVAa5R.js.map +0 -1
  206. package/dist/chunks/dropdown-tag.B61hPq5n.js.map +0 -1
  207. package/dist/chunks/dropdown.Ca-f8tdX.js.map +0 -1
  208. package/dist/chunks/filter-bar.Bd4ghW_B.js.map +0 -1
  209. package/dist/chunks/header.C7B7RBib.js.map +0 -1
  210. package/dist/chunks/input-field-password.BNAtIn_D.js.map +0 -1
  211. package/dist/chunks/input-field.Dh5W0Az-.js +0 -211
  212. package/dist/chunks/input-field.Dh5W0Az-.js.map +0 -1
  213. package/dist/chunks/isSameWeek.CzBCmu7d.js +0 -14
  214. package/dist/chunks/timeline-item.BOUWkLi1.js.map +0 -1
  215. package/dist/chunks/toggle.B1z1YPe_.js.map +0 -1
  216. package/dist/chunks/use-cached-selected-values.BJbWbkEQ.js.map +0 -1
  217. package/dist/chunks/warning-filled.CbJ1pcB2.js +0 -24
  218. package/dist/chunks/warning-filled.CbJ1pcB2.js.map +0 -1
@@ -1,28 +1,28 @@
1
- import { ref as w, watch as j, computed as s, defineComponent as D, useSlots as H, toRefs as xe, useAttrs as we, nextTick as O, toRef as T, inject as $e } from "vue";
2
- import { B as Ce, d as te } from "./typography.C8lPlsbD.js";
3
- import { g as $ } from "./generate-uid.NJ8tVoha.js";
4
- import { u as Y } from "./index.B6WW_F-J.js";
5
- import { u as Le } from "./use-has-slot.C9lQZ6nz.js";
6
- import { C as Ve } from "./cross-circle-fill.DTDtgLMf.js";
7
- import { C as Ke } from "./cross-circle-fill-small.DfxDedRr.js";
8
- import { n as N } from "./_plugin-vue2_normalizer.CeySl7Fu.js";
9
- import { s as V } from "./events.BQOQSSb7.js";
10
- import { C as qe } from "./chevron-down.eYtgv5ly.js";
11
- import { C as ze } from "./chevron-up.d8cwIlA_.js";
1
+ import { ref as C, watch as Z, computed as s, defineComponent as B, useSlots as Q, toRefs as Oe, useAttrs as Ee, nextTick as D, toRef as k, inject as Ve } from "vue";
2
+ import { B as Ie, d as le } from "./typography.C8lPlsbD.js";
3
+ import { g as K } from "./generate-uid.NJ8tVoha.js";
4
+ import { u as G } from "./index.B6WW_F-J.js";
5
+ import { u as De } from "./use-has-slot.C9lQZ6nz.js";
6
+ import { C as Ke } from "./cross-circle-fill.DTDtgLMf.js";
7
+ import { C as qe } from "./cross-circle-fill-small.DfxDedRr.js";
8
+ import { n as R } from "./_plugin-vue2_normalizer.CeySl7Fu.js";
9
+ import { s as q } from "./events.BQOQSSb7.js";
10
+ import { C as ze } from "./chevron-down.eYtgv5ly.js";
11
+ import { C as Ue } from "./chevron-up.d8cwIlA_.js";
12
12
  /* empty css */
13
- import { u as Ue } from "./aria-label.CaUURpnB.js";
14
- import { u as We } from "./form-field.D_2g7vaP.js";
15
- import { B as m, b as ae, a as _e, d as je, u as He, c as Ye, e as Je } from "./use-cached-selected-values.BJbWbkEQ.js";
16
- import { u as Xe } from "./use-form-layout-loading.CWbjZiwP.js";
17
- import { B as k, a as Ze } from "./keyboard-navigation.DWmhelVv.js";
18
- import { B as Qe } from "./directive.Bfr4fuOy.js";
19
- import { F as Ge } from "./field-label.DjjjkcO6.js";
20
- import { E as et } from "./error-message.CyERcfdt.js";
21
- import { P as he } from "./popper-container.C_n9Ds1W.js";
22
- import { h as tt } from "./button-actions.Bdbu0bvt.js";
13
+ import { u as We } from "./aria-label.CaUURpnB.js";
14
+ import { u as je } from "./form-field.D_2g7vaP.js";
15
+ import { B as m, b as ne, a as xe, d as He, u as Ye, c as Je, e as Xe } from "./use-cached-selected-values.Du8-wWR2.js";
16
+ import { u as Ze } from "./use-form-layout-loading.CWbjZiwP.js";
17
+ import { B as N, a as Qe } from "./keyboard-navigation.DWmhelVv.js";
18
+ import { B as Ge } from "./directive.Bfr4fuOy.js";
19
+ import { F as et } from "./field-label.DjjjkcO6.js";
20
+ import { E as tt } from "./error-message.CyERcfdt.js";
21
+ import { P as we } from "./popper-container.C_n9Ds1W.js";
22
+ import { h as at } from "./button-actions.CXD6_9qN.js";
23
23
  import "../assets/dropdown.css";
24
- var K = /* @__PURE__ */ ((l) => (l.DEFAULT = "DropdownInputDefault", l.SMALL = "DropdownInputSmall", l))(K || {});
25
- const at = {
24
+ var z = /* @__PURE__ */ ((l) => (l.DEFAULT = "DropdownInputDefault", l.SMALL = "DropdownInputSmall", l))(z || {});
25
+ const ot = {
26
26
  "de-DE": {
27
27
  apply: "Anwenden",
28
28
  cancel: "Abbrechen",
@@ -73,9 +73,9 @@ const at = {
73
73
  cancel: "取消",
74
74
  noOptionsMatchThisSearch: "没有符合此搜索条件的选项"
75
75
  }
76
- }, ot = (l, t, a, e) => {
77
- const o = w(l.value), { t: n } = Y();
78
- j(l, () => {
76
+ }, lt = (l, t, a, e) => {
77
+ const o = C(l.value), { t: n } = G();
78
+ Z(l, () => {
79
79
  o.value = l.value;
80
80
  });
81
81
  const r = s(
@@ -86,7 +86,7 @@ const at = {
86
86
  o.value = l.value, e(m.CLOSE_DROPDOWN);
87
87
  }, y = () => {
88
88
  a.value && t.value && (o.value = l.value);
89
- }, u = s(() => [
89
+ }, f = s(() => [
90
90
  {
91
91
  title: n("apply"),
92
92
  event: d,
@@ -96,39 +96,39 @@ const at = {
96
96
  title: n("cancel"),
97
97
  event: c
98
98
  }
99
- ]), p = (f) => {
100
- o.value = f, t.value || e(m.SELECT, f);
101
- }, i = (f) => {
102
- p(f), e(m.TAB);
103
- }, x = (f) => {
104
- p(f), e(m.ENTER);
105
- }, b = (f) => {
106
- p(f), e(m.SPACE);
99
+ ]), p = (u) => {
100
+ o.value = u, t.value || e(m.SELECT, u);
101
+ }, i = (u) => {
102
+ p(u), e(m.TAB);
103
+ }, S = (u) => {
104
+ p(u), e(m.ENTER);
105
+ }, v = (u) => {
106
+ p(u), e(m.SPACE);
107
107
  }, _ = () => {
108
108
  c(), e(m.ESCAPE);
109
- }, C = () => {
109
+ }, x = () => {
110
110
  e(m.SHOW_MORE);
111
111
  }, L = {
112
112
  [m.SELECT]: p,
113
- [m.SHOW_MORE]: C,
113
+ [m.SHOW_MORE]: x,
114
114
  [m.TAB]: i,
115
- [m.SPACE]: b,
116
- [m.ENTER]: x
115
+ [m.SPACE]: v,
116
+ [m.ENTER]: S
117
117
  };
118
118
  return {
119
119
  // Values
120
- actions: u,
120
+ actions: f,
121
121
  internalSelectedValue: o,
122
122
  // Methods
123
123
  listeners: L,
124
124
  onEscapeKey: _,
125
125
  onOutsideDropdownClick: y
126
126
  };
127
- }, lt = D({
128
- i18n: { messages: at },
127
+ }, nt = B({
128
+ i18n: { messages: ot },
129
129
  name: "bento-dropdown-options-container"
130
- }), nt = /* @__PURE__ */ D({
131
- ...lt,
130
+ }), st = /* @__PURE__ */ B({
131
+ ...nt,
132
132
  props: {
133
133
  /**
134
134
  * Defines a string value that labels an interactive element.
@@ -187,8 +187,8 @@ const at = {
187
187
  */
188
188
  lazyLoadType: {
189
189
  type: String,
190
- default: _e.AUTOMATIC,
191
- validator: (l) => Object.values(_e).includes(l)
190
+ default: xe.AUTOMATIC,
191
+ validator: (l) => Object.values(xe).includes(l)
192
192
  },
193
193
  /**
194
194
  * Indicates if new options are lazy loading.
@@ -218,7 +218,7 @@ const at = {
218
218
  *
219
219
  * If enabled, hides the "Select all" checkbox in "multiple" mode.
220
220
  */
221
- searching: ae.props.searching,
221
+ searching: ne.props.searching,
222
222
  /**
223
223
  * If enabled, dropdown will display non-selectable, static categories
224
224
  */
@@ -227,7 +227,7 @@ const at = {
227
227
  * Reference to the DOM element or Vue component for positioning
228
228
  * the Dropdown container.
229
229
  */
230
- targetElement: { type: he.props.targetElement.type, required: !0 },
230
+ targetElement: { type: we.props.targetElement.type, required: !0 },
231
231
  /**
232
232
  * Enables virtual scrolling if set to true or by providing an object with itemHeight function.
233
233
  * The itemHeight function is used to calculate the height of rendered item given it's index.
@@ -239,11 +239,11 @@ const at = {
239
239
  },
240
240
  emits: [],
241
241
  setup(l, { expose: t, emit: a }) {
242
- const e = l, o = H(), { selectedValue: n, multiple: r } = xe(e), d = w(null), { t: c } = Y(), y = s(() => e.open && !e.disabled), u = s(() => c("noOptionsMatchThisSearch")), p = s(() => ({
242
+ const e = l, o = Q(), { selectedValue: n, multiple: r } = Oe(e), d = C(null), { t: c } = G(), y = s(() => e.open && !e.disabled), f = s(() => c("noOptionsMatchThisSearch")), p = s(() => ({
243
243
  "b-dropdown-options-container--single": !(e != null && e.multiple)
244
244
  })), i = s(() => ({
245
245
  "b-dropdown-options-container__listbox--single": !(e != null && e.multiple)
246
- })), { actions: x, internalSelectedValue: b, listeners: _, onEscapeKey: C, onOutsideDropdownClick: L } = ot(n, r, y, a), f = s(() => e != null && e.multiple ? tt : he), B = s(() => {
246
+ })), { actions: S, internalSelectedValue: v, listeners: _, onEscapeKey: x, onOutsideDropdownClick: L } = lt(n, r, y, a), u = s(() => e != null && e.multiple ? at : we), T = s(() => {
247
247
  var A;
248
248
  const I = {
249
249
  "min-width": `${(A = e == null ? void 0 : e.targetElement) == null ? void 0 : A.clientWidth}px`,
@@ -252,10 +252,10 @@ const at = {
252
252
  return e != null && e.multiple ? {
253
253
  actionsLayout: "space-between",
254
254
  ariaLabel: e.ariaLabel,
255
- actions: x.value,
255
+ actions: S.value,
256
256
  divider: !0,
257
257
  fallbackPosition: ["top-start"],
258
- id: $(`dropdown-options-${e.id}`),
258
+ id: K(`dropdown-options-${e.id}`),
259
259
  open: e.open,
260
260
  position: "bottom-start",
261
261
  style: {
@@ -276,10 +276,10 @@ const at = {
276
276
  });
277
277
  return t({
278
278
  onOutsideDropdownClick: L
279
- }), { __sfc: !0, slots: o, emit: a, props: e, selectedValue: n, multiple: r, dropdownOptionsListboxRef: d, t: c, isDropdownOpen: y, noResultsMessage: u, conditionalClasses: p, conditionalListboxClasses: i, actions: x, internalSelectedValue: b, listeners: _, onEscapeKey: C, onOutsideDropdownClick: L, popperContainerOrPopoverComponent: f, popperContainerOrPopoverProps: B, BentoListbox: ae };
279
+ }), { __sfc: !0, slots: o, emit: a, props: e, selectedValue: n, multiple: r, dropdownOptionsListboxRef: d, t: c, isDropdownOpen: y, noResultsMessage: f, conditionalClasses: p, conditionalListboxClasses: i, actions: S, internalSelectedValue: v, listeners: _, onEscapeKey: x, onOutsideDropdownClick: L, popperContainerOrPopoverComponent: u, popperContainerOrPopoverProps: T, BentoListbox: ne };
280
280
  }
281
281
  });
282
- var st = function() {
282
+ var rt = function() {
283
283
  var t = this, a = t._self._c, e = t._self._setupProxy;
284
284
  return e.isDropdownOpen ? a(e.popperContainerOrPopoverComponent, t._b({ tag: "component", staticClass: "b-dropdown-options-container", class: e.conditionalClasses }, "component", e.popperContainerOrPopoverProps, !1), [a("div", { on: { keydown: function(o) {
285
285
  return !o.type.indexOf("key") && t._k(o.keyCode, "esc", 27, o.key, ["Esc", "Escape"]) ? null : e.onEscapeKey.apply(null, arguments);
@@ -288,17 +288,17 @@ var st = function() {
288
288
  return [t._t(n, null, null, r)];
289
289
  } };
290
290
  })], null, !0) }, e.listeners))], 1)]) : t._e();
291
- }, rt = [], it = /* @__PURE__ */ N(
292
- nt,
291
+ }, it = [], dt = /* @__PURE__ */ R(
293
292
  st,
294
293
  rt,
294
+ it,
295
295
  !1,
296
296
  null,
297
297
  "eb9fd4be"
298
298
  );
299
- const dt = it.exports;
300
- var E = /* @__PURE__ */ ((l) => (l.DISABLED = "disabled", l.READONLY = "readonly", l.HAS_ITEMS = "has-items", l.OPENED = "opened", l.ERROR = "error", l))(E || {}), S = /* @__PURE__ */ ((l) => (l.OPEN = "dropdown-base-open", l.KEYDOWN = "dropdown-base-keydown", l.CLOSE = "dropdown-base-close", l.INPUT = "dropdown-base-input", l.CLEAR = "dropdown-base-clear", l))(S || {});
301
- const ct = {
299
+ const ct = dt.exports;
300
+ var E = /* @__PURE__ */ ((l) => (l.DISABLED = "disabled", l.READONLY = "readonly", l.HAS_ITEMS = "has-items", l.OPENED = "opened", l.ERROR = "error", l))(E || {}), g = /* @__PURE__ */ ((l) => (l.OPEN = "dropdown-base-open", l.KEYDOWN = "dropdown-base-keydown", l.CLOSE = "dropdown-base-close", l.INPUT = "dropdown-base-input", l.CLEAR = "dropdown-base-clear", l))(g || {});
301
+ const ut = {
302
302
  "de-DE": {
303
303
  clearSearch: "Suche löschen"
304
304
  },
@@ -329,12 +329,12 @@ const ct = {
329
329
  "zh-CN": {
330
330
  clearSearch: "清除搜索"
331
331
  }
332
- }, ut = D({
333
- i18n: { messages: ct },
332
+ }, pt = B({
333
+ i18n: { messages: ut },
334
334
  name: "dropdown-base-textbox",
335
335
  inheritAttrs: !1
336
- }), pt = /* @__PURE__ */ D({
337
- ...ut,
336
+ }), ft = /* @__PURE__ */ B({
337
+ ...pt,
338
338
  props: {
339
339
  /**
340
340
  * The number of additional items that have been selected in the dropdown.
@@ -420,21 +420,21 @@ const ct = {
420
420
  },
421
421
  emits: [],
422
422
  setup(l, { expose: t, emit: a }) {
423
- const e = l, { t: o } = Y(), n = we(), r = H(), d = Le(r), c = w(null), y = $("textbox"), u = s(() => ({
423
+ const e = l, { t: o } = G(), n = Ee(), r = Q(), d = De(r), c = C(null), y = K("textbox"), f = s(() => ({
424
424
  [`b-dropdown-base-textbox--${E.DISABLED}`]: e.disabled,
425
425
  [`b-dropdown-base-textbox--${E.READONLY}`]: e.readonly,
426
426
  [`b-dropdown-base-textbox--${E.HAS_ITEMS}`]: !!e.additionalItemsSelected
427
427
  })), p = s(
428
- () => C.value && n["aria-required"] ? "true" : null
428
+ () => x.value && n["aria-required"] ? "true" : null
429
429
  ), i = s(() => ({
430
430
  "b-dropdown-base-textbox__input--dynamic-filtering": e.dynamicFiltering
431
- })), x = s(() => e.dynamicFiltering && !!e.value && e.open), b = s(
431
+ })), S = s(() => e.dynamicFiltering && !!e.value && e.open), v = s(
432
432
  () => {
433
- var v;
433
+ var O;
434
434
  return {
435
435
  "aria-haspopup": "listbox",
436
436
  "aria-controls": e.ariaControls,
437
- "aria-describedby": (v = n["aria-describedby"]) == null ? void 0 : v.toString(),
437
+ "aria-describedby": (O = n["aria-describedby"]) == null ? void 0 : O.toString(),
438
438
  "aria-expanded": e.ariaExpanded ? "true" : "false",
439
439
  "aria-labelledby": e.ariaLabelledby,
440
440
  "aria-label": e.ariaLabelledby ? null : e.ariaLabel,
@@ -445,34 +445,34 @@ const ct = {
445
445
  }
446
446
  ), _ = s(
447
447
  () => e.multiple ? e.selectedValueItem : []
448
- ), C = s(() => e.dynamicFiltering && (e.open || e.alwaysComboboxIsInput)), L = s(() => e.selectedValueItem && !e.multiple), f = s(
448
+ ), x = s(() => e.dynamicFiltering && (e.open || e.alwaysComboboxIsInput)), L = s(() => e.selectedValueItem && !e.multiple), u = s(
449
449
  () => e.multiple && e.selectedValueItem && _.value.length > 0 && e.showSlotContentInMultiple
450
450
  );
451
- j(
452
- () => C.value,
451
+ Z(
452
+ () => x.value,
453
453
  () => {
454
- C.value && !e.alwaysComboboxIsInput && O(() => {
454
+ x.value && !e.alwaysComboboxIsInput && D(() => {
455
455
  c.value.focus();
456
456
  });
457
457
  }
458
458
  );
459
- const B = async () => {
460
- !e.disabled && !e.readonly && (a(S.OPEN), await O(), c.value.focus());
459
+ const T = async () => {
460
+ !e.disabled && !e.readonly && (a(g.OPEN), await D(), c.value.focus());
461
461
  }, I = () => {
462
- e.open && (c.value.focus(), a(S.CLOSE));
463
- }, A = (v) => e.open && v.target.tagName === "INPUT" ? null : e.open ? I() : B(), M = () => {
464
- a(S.CLEAR), a(S.INPUT, ""), c.value.focus();
465
- }, q = (v) => {
466
- !e.readonly && !e.disabled ? a(S.INPUT, v.target.value) : (v.preventDefault(), v.stopPropagation());
467
- }, h = () => {
462
+ e.open && (c.value.focus(), a(g.CLOSE));
463
+ }, A = (O) => e.open && O.target.tagName === "INPUT" ? null : e.open ? I() : T(), F = () => {
464
+ a(g.CLEAR), a(g.INPUT, ""), c.value.focus();
465
+ }, P = (O) => {
466
+ !e.readonly && !e.disabled ? a(g.INPUT, O.target.value) : (O.preventDefault(), O.stopPropagation());
467
+ }, M = () => {
468
468
  c.value.focus();
469
469
  };
470
470
  return t({
471
- focus: h
472
- }), { __sfc: !0, t: o, attrs: n, slots: r, hasSlot: d, props: e, emit: a, textbox: c, textboxId: y, conditionalClasses: u, showRequiredAttribute: p, comboboxConditionalClasses: i, isFiltering: x, ariaAttributes: b, selectedValueItems: _, shouldShowInput: C, shouldShowSingleSelectSlot: L, shouldShowMultipleSlot: f, onOpenDropdown: B, onCloseDropdown: I, onToggleDropdown: A, onClearSearch: M, onInputEvent: q, focus: h, BentoTypography: Ce, DropdownBaseTextboxEvent: S, CrossCircleFillIcon: Ve, CrossCircleFillSmallIcon: Ke, BentoDropdownSize: K };
471
+ focus: M
472
+ }), { __sfc: !0, t: o, attrs: n, slots: r, hasSlot: d, props: e, emit: a, textbox: c, textboxId: y, conditionalClasses: f, showRequiredAttribute: p, comboboxConditionalClasses: i, isFiltering: S, ariaAttributes: v, selectedValueItems: _, shouldShowInput: x, shouldShowSingleSelectSlot: L, shouldShowMultipleSlot: u, onOpenDropdown: T, onCloseDropdown: I, onToggleDropdown: A, onClearSearch: F, onInputEvent: P, focus: M, BentoTypography: Ie, DropdownBaseTextboxEvent: g, CrossCircleFillIcon: Ke, CrossCircleFillSmallIcon: qe, BentoDropdownSize: z };
473
473
  }
474
474
  });
475
- var ft = function() {
475
+ var bt = function() {
476
476
  var t = this, a = t._self._c, e = t._self._setupProxy;
477
477
  return a("div", { class: t.$attrs.class, attrs: { "data-testid": "textbox-wrapper" }, on: { click: e.onToggleDropdown, keydown: function(o) {
478
478
  return !o.type.indexOf("key") && t._k(o.keyCode, "escape", void 0, o.key, void 0) ? null : e.onCloseDropdown.apply(null, arguments);
@@ -493,19 +493,19 @@ var ft = function() {
493
493
  }, keyup: function(o) {
494
494
  return !o.type.indexOf("key") && t._k(o.keyCode, "space", 32, o.key, [" ", "Spacebar"]) ? null : e.onClearSearch.apply(null, arguments);
495
495
  } } }, [t.size === e.BentoDropdownSize.SMALL ? a(e.CrossCircleFillSmallIcon, { attrs: { "svg-title": e.t("clearSearch") } }) : a(e.CrossCircleFillIcon, { attrs: { "svg-title": e.t("clearSearch") } })], 1) : t._e()])], 1);
496
- }, bt = [], yt = /* @__PURE__ */ N(
497
- pt,
496
+ }, yt = [], vt = /* @__PURE__ */ R(
498
497
  ft,
499
498
  bt,
499
+ yt,
500
500
  !1,
501
501
  null,
502
502
  "36875648"
503
503
  );
504
- const Oe = yt.exports, vt = D({
504
+ const Be = vt.exports, mt = B({
505
505
  name: "dropdown-default-textbox",
506
506
  inheritAttrs: !1
507
- }), mt = /* @__PURE__ */ D({
508
- ...vt,
507
+ }), _t = /* @__PURE__ */ B({
508
+ ...mt,
509
509
  props: {
510
510
  /**
511
511
  * The number of additional items that have been selected in the dropdown.
@@ -593,7 +593,7 @@ const Oe = yt.exports, vt = D({
593
593
  },
594
594
  emits: ["clear", "close", "input", "keydown", "open"],
595
595
  setup(l, { expose: t, emit: a }) {
596
- const e = l, o = H(), n = w(null), r = s(() => ({
596
+ const e = l, o = Q(), n = C(null), r = s(() => ({
597
597
  [`b-dropdown-default-textbox--${E.ERROR}`]: !e.disabled && !e.readonly && e.isInvalid,
598
598
  [`b-dropdown-default-textbox--${E.DISABLED}`]: e.disabled,
599
599
  [`b-dropdown-default-textbox--${E.READONLY}`]: e.readonly,
@@ -603,27 +603,27 @@ const Oe = yt.exports, vt = D({
603
603
  a("input", _);
604
604
  }, y = (_) => {
605
605
  a("keydown", _);
606
- }, u = (_) => {
607
- V(_), a("open");
606
+ }, f = (_) => {
607
+ q(_), a("open");
608
608
  }, p = (_) => {
609
- V(_), a("close");
609
+ q(_), a("close");
610
610
  }, i = (_) => {
611
- V(_), a("clear");
612
- }, x = {
613
- [S.INPUT]: c,
614
- [S.OPEN]: u,
615
- [S.CLOSE]: p,
616
- [S.CLEAR]: i,
617
- [S.KEYDOWN]: y
618
- }, b = () => {
611
+ q(_), a("clear");
612
+ }, S = {
613
+ [g.INPUT]: c,
614
+ [g.OPEN]: f,
615
+ [g.CLOSE]: p,
616
+ [g.CLEAR]: i,
617
+ [g.KEYDOWN]: y
618
+ }, v = () => {
619
619
  n.value.focus();
620
620
  };
621
621
  return t({
622
- focus: b
623
- }), { __sfc: !0, emit: a, slots: o, props: e, baseTextbox: n, conditionalClasses: r, isDropdownOpen: d, onInput: c, onKeyDown: y, openDropdown: u, closeDropdown: p, clearValue: i, listeners: x, focus: b, DropdownBaseTextbox: Oe, ChevronDownIcon: qe, ChevronUpIcon: ze };
622
+ focus: v
623
+ }), { __sfc: !0, emit: a, slots: o, props: e, baseTextbox: n, conditionalClasses: r, isDropdownOpen: d, onInput: c, onKeyDown: y, openDropdown: f, closeDropdown: p, clearValue: i, listeners: S, focus: v, DropdownBaseTextbox: Be, ChevronDownIcon: ze, ChevronUpIcon: Ue };
624
624
  }
625
625
  });
626
- var _t = function() {
626
+ var ht = function() {
627
627
  var t = this, a = t._self._c, e = t._self._setupProxy;
628
628
  return a("div", { staticClass: "b-dropdown-default-textbox", class: e.conditionalClasses, attrs: { "data-testid": "default-textbox" } }, [a(e.DropdownBaseTextbox, t._g(t._b({ ref: "baseTextbox", staticClass: "b-dropdown-default-textbox__textbox", attrs: { value: t.value }, scopedSlots: t._u([t._l(e.slots, function(o, n) {
629
629
  return { key: n, fn: function(r) {
@@ -632,55 +632,55 @@ var _t = function() {
632
632
  }), { key: "icon", fn: function() {
633
633
  return [a("div", { staticClass: "b-dropdown-default-textbox__chevron" }, [a(e.ChevronUpIcon, { directives: [{ name: "show", rawName: "v-show", value: e.isDropdownOpen, expression: "isDropdownOpen" }], attrs: { "svg-title": "opened" } }), a(e.ChevronDownIcon, { directives: [{ name: "show", rawName: "v-show", value: !e.isDropdownOpen, expression: "!isDropdownOpen" }], attrs: { "svg-title": "closed" } })], 1)];
634
634
  }, proxy: !0 }], null, !0) }, "dropdown-base-textbox", { ...t.$attrs, ...t.$props }, !1), e.listeners))], 1);
635
- }, ht = [], gt = /* @__PURE__ */ N(
636
- mt,
635
+ }, gt = [], St = /* @__PURE__ */ R(
637
636
  _t,
638
637
  ht,
638
+ gt,
639
639
  !1,
640
640
  null,
641
641
  "bf2d43b0"
642
642
  );
643
- const St = gt.exports;
644
- let ge = 0;
645
- const xt = {
643
+ const xt = St.exports;
644
+ let Ce = 0;
645
+ const wt = {
646
646
  beforeCreate() {
647
- this.uuid = ge.toString(), ge += 1;
647
+ this.uuid = Ce.toString(), Ce += 1;
648
648
  }
649
649
  };
650
- var wt = function() {
650
+ var Ct = function() {
651
651
  var t = this, a = t._self._c;
652
652
  return a("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"] ? a("title", [t._v(t._s(t.$attrs["svg-title"]))]) : t._e(), a("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" } })]);
653
- }, Ct = [], Lt = /* @__PURE__ */ N(
654
- xt,
653
+ }, Lt = [], Ot = /* @__PURE__ */ R(
655
654
  wt,
656
655
  Ct,
656
+ Lt,
657
657
  !1,
658
658
  null,
659
659
  null
660
660
  );
661
- const Ot = Lt.exports;
662
- let Se = 0;
663
- const Et = {
661
+ const Et = Ot.exports;
662
+ let Le = 0;
663
+ const It = {
664
664
  beforeCreate() {
665
- this.uuid = Se.toString(), Se += 1;
665
+ this.uuid = Le.toString(), Le += 1;
666
666
  }
667
667
  };
668
- var It = function() {
668
+ var Dt = function() {
669
669
  var t = this, a = t._self._c;
670
670
  return a("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"] ? a("title", [t._v(t._s(t.$attrs["svg-title"]))]) : t._e(), a("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" } })]);
671
- }, Dt = [], Bt = /* @__PURE__ */ N(
672
- Et,
671
+ }, Bt = [], Tt = /* @__PURE__ */ R(
673
672
  It,
674
673
  Dt,
674
+ Bt,
675
675
  !1,
676
676
  null,
677
677
  null
678
678
  );
679
- const At = Bt.exports, Tt = D({
679
+ const At = Tt.exports, kt = B({
680
680
  name: "dropdown-small-textbox",
681
681
  inheritAttrs: !1
682
- }), kt = /* @__PURE__ */ D({
683
- ...Tt,
682
+ }), Nt = /* @__PURE__ */ B({
683
+ ...kt,
684
684
  props: {
685
685
  /**
686
686
  * The number of additional items that have been selected in the dropdown.
@@ -737,48 +737,48 @@ const At = Bt.exports, Tt = D({
737
737
  },
738
738
  emits: ["clear", "close", "input", "keydown", "open"],
739
739
  setup(l, { expose: t, emit: a }) {
740
- const e = l, o = w(null), n = s(() => ({
740
+ const e = l, o = C(null), n = s(() => ({
741
741
  [`b-dropdown-small-textbox--${E.DISABLED}`]: e.disabled,
742
742
  [`b-dropdown-small-textbox--${E.READONLY}`]: e.readonly,
743
743
  [`b-dropdown-small-textbox--${E.OPENED}`]: e.open
744
- })), r = s(() => e.open && !e.disabled && !e.readonly), d = (b) => {
745
- a("input", b);
746
- }, c = (b) => {
747
- a("keydown", b);
748
- }, y = (b) => {
749
- V(b), a("open");
750
- }, u = (b) => {
751
- V(b), a("close");
752
- }, p = (b) => {
753
- V(b), a("clear");
744
+ })), r = s(() => e.open && !e.disabled && !e.readonly), d = (v) => {
745
+ a("input", v);
746
+ }, c = (v) => {
747
+ a("keydown", v);
748
+ }, y = (v) => {
749
+ q(v), a("open");
750
+ }, f = (v) => {
751
+ q(v), a("close");
752
+ }, p = (v) => {
753
+ q(v), a("clear");
754
754
  }, i = {
755
- [S.INPUT]: d,
756
- [S.OPEN]: y,
757
- [S.CLOSE]: u,
758
- [S.CLEAR]: p,
759
- [S.KEYDOWN]: c
760
- }, x = () => {
755
+ [g.INPUT]: d,
756
+ [g.OPEN]: y,
757
+ [g.CLOSE]: f,
758
+ [g.CLEAR]: p,
759
+ [g.KEYDOWN]: c
760
+ }, S = () => {
761
761
  o.value.focus();
762
762
  };
763
763
  return t({
764
- focus: x
765
- }), { __sfc: !0, emit: a, props: e, baseTextbox: o, conditionalClasses: n, isDropdownOpen: r, onInput: d, onKeyDown: c, openDropdown: y, closeDropdown: u, clearValue: p, listeners: i, focus: x, BentoDropdownSize: K, DropdownBaseTextbox: Oe, ChevronDownSmallIcon: Ot, ChevronUpSmallIcon: At };
764
+ focus: S
765
+ }), { __sfc: !0, emit: a, props: e, baseTextbox: o, conditionalClasses: n, isDropdownOpen: r, onInput: d, onKeyDown: c, openDropdown: y, closeDropdown: f, clearValue: p, listeners: i, focus: S, BentoDropdownSize: z, DropdownBaseTextbox: Be, ChevronDownSmallIcon: Et, ChevronUpSmallIcon: At };
766
766
  }
767
767
  });
768
- var Nt = function() {
768
+ var Mt = function() {
769
769
  var t = this, a = t._self._c, e = t._self._setupProxy;
770
770
  return a("div", { staticClass: "b-dropdown-small-textbox", class: e.conditionalClasses }, [a(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() {
771
771
  return [a("div", { staticClass: "b-dropdown-small-textbox__chevron" }, [a(e.ChevronUpSmallIcon, { directives: [{ name: "show", rawName: "v-show", value: e.isDropdownOpen, expression: "isDropdownOpen" }], attrs: { "svg-title": "opened" } }), a(e.ChevronDownSmallIcon, { directives: [{ name: "show", rawName: "v-show", value: !e.isDropdownOpen, expression: "!isDropdownOpen" }], attrs: { "svg-title": "closed" } })], 1)];
772
772
  }, proxy: !0 }]) }, "dropdown-base-textbox", { ...t.$attrs, ...t.$props }, !1), e.listeners))], 1);
773
- }, Mt = [], Rt = /* @__PURE__ */ N(
774
- kt,
773
+ }, Rt = [], Ft = /* @__PURE__ */ R(
775
774
  Nt,
776
775
  Mt,
776
+ Rt,
777
777
  !1,
778
778
  null,
779
779
  "faba160c"
780
780
  );
781
- const Ft = Rt.exports, Pt = (l, t) => t.value.reduce((a, e) => {
781
+ const Pt = Ft.exports, $t = (l, t) => t.value.reduce((a, e) => {
782
782
  if (e.items) {
783
783
  const o = e.items.filter(
784
784
  (r) => l.value.find((d) => d.value === r.value)
@@ -786,84 +786,87 @@ const Ft = Rt.exports, Pt = (l, t) => t.value.reduce((a, e) => {
786
786
  o.length === e.items.length ? a.push(e.displayValue ?? e.label) : o.forEach(({ label: r, displayValue: d }) => a.push(d ?? r));
787
787
  }
788
788
  return l.value.find((o) => o.value === e.value) && a.push(e.displayValue ?? e.label), a;
789
- }, []).join(", "), $t = ({ items: l, placeholder: t, selectedValues: a, isMultiSelect: e }) => {
789
+ }, []).join(", "), Vt = ({ items: l, placeholder: t, selectedValues: a, isMultiSelect: e }) => {
790
790
  const o = s(
791
791
  () => e.value && l.value.find((r) => {
792
792
  var d;
793
793
  return (d = r.items) == null ? void 0 : d.length;
794
794
  })
795
795
  );
796
- return s(() => a.value.length ? o.value ? Pt(a, l) : a.value.map(({ label: r, displayValue: d }) => d ?? r).join(", ") : t.value || null);
797
- }, Ee = (l) => {
796
+ return s(() => a.value.length ? o.value ? $t(a, l) : a.value.map(({ label: r, displayValue: d }) => d ?? r).join(", ") : t.value || null);
797
+ }, Te = (l) => {
798
798
  var t;
799
799
  (t = l.value.$children) == null || t[0].$refs.textbox.focus();
800
- }, Vt = ({
800
+ }, Kt = ({
801
801
  inputContainerRef: l,
802
802
  optionsContainerRef: t,
803
803
  selectedValueIndex: a,
804
804
  isDropdownOpen: e,
805
805
  isDynamicFltering: o,
806
806
  items: n,
807
- isMultiple: r
808
- }, d, c, y) => {
809
- const u = async (h) => {
810
- var v;
811
- o.value && await O(), (v = n.value[h]) == null || v.focus();
812
- }, p = async (h) => {
813
- var R, U;
814
- o.value && await O();
815
- const v = (R = t.value.$refs.dropdownOptionsListboxRef.$refs.listboxItemRef) == null ? void 0 : R.$el.querySelectorAll(
807
+ isMultiple: r,
808
+ totalItemCount: d,
809
+ isVirtualScroll: c
810
+ }, y, f, p) => {
811
+ const i = async (b) => {
812
+ var w;
813
+ o.value && await D(), (w = n.value[b]) == null || w.focus();
814
+ }, S = async (b) => {
815
+ var H, Y;
816
+ o.value && await D();
817
+ const w = (H = t.value.$refs.dropdownOptionsListboxRef.$refs.listboxItemRef) == null ? void 0 : H.$el.querySelectorAll(
816
818
  "button"
817
819
  );
818
- v != null && v.length ? (U = v[h]) == null || U.focus() : u(h);
819
- }, i = (h) => {
820
- var v;
821
- return (v = t.value.$refs.dropdownOptionsListboxRef.$refs.listboxItemRef) == null ? void 0 : v.setListboxFocusedIndex(
822
- h
820
+ w != null && w.length ? (Y = w[b]) == null || Y.focus() : i(b);
821
+ }, v = (b) => {
822
+ var w;
823
+ return (w = t.value.$refs.dropdownOptionsListboxRef.$refs.listboxItemRef) == null ? void 0 : w.setListboxFocusedIndex(
824
+ b
823
825
  );
824
- }, x = () => {
825
- e.value || c(), O(() => {
826
- i(0), u(0);
827
- });
828
- }, b = () => {
829
- e.value || c(), O(() => {
830
- i(n.value.length - 1), u(n.value.length - 1);
826
+ }, _ = async (b) => {
827
+ var w;
828
+ await ((w = t.value.$refs.dropdownOptionsListboxRef.$refs.listboxItemRef) == null ? void 0 : w.navigateToItem(b));
829
+ }, x = (b) => {
830
+ D(() => {
831
+ c ? _(b) : (v(b), i(b));
831
832
  });
832
- }, _ = ({ detail: h }) => {
833
- h.preventDefault(), x();
834
- }, C = ({ detail: h }) => {
835
- h.preventDefault(), b();
836
833
  }, L = () => {
837
- x();
838
- }, f = () => {
839
- b();
840
- }, B = ({ detail: h }) => {
841
- h.preventDefault(), d(), e.value && O(() => {
842
- r ? p(0) : (i(a.value), u(a.value));
843
- });
844
- }, I = ({ detail: h }) => {
845
- h.preventDefault(), d(), e.value && O(() => {
846
- r ? p(0) : (i(a.value), u(a.value));
834
+ e.value || f(), x(0);
835
+ }, u = () => {
836
+ e.value || f(), D(() => {
837
+ x(c ? d.value - 1 : n.value.length - 1);
847
838
  });
839
+ }, T = ({ detail: b }) => {
840
+ b.preventDefault(), L();
841
+ }, I = ({ detail: b }) => {
842
+ b.preventDefault(), u();
848
843
  }, A = () => {
849
- e.value && y();
850
- }, M = () => {
851
- e.value && (y(), Ee(l));
844
+ L();
845
+ }, F = () => {
846
+ u();
847
+ }, P = ({ detail: b }) => {
848
+ b.preventDefault(), y(), e.value && (r ? S(0) : x(a.value));
849
+ }, M = ({ detail: b }) => {
850
+ b.preventDefault(), y(), e.value && (r ? S(0) : x(a.value));
851
+ }, O = () => {
852
+ e.value && p();
853
+ }, U = () => {
854
+ e.value && (p(), Te(l));
852
855
  };
853
856
  return s(() => ({
854
- [k.ARROW_DOWN]: _,
855
- [k.ARROW_UP]: C,
856
- [k.HOME]: L,
857
- [k.END]: f,
858
- ...o.value ? {} : { [k.SPACE]: B },
859
- [k.ENTER]: I,
860
- ...o.value ? {} : { [k.TAB]: A },
861
- [k.ESCAPE]: M
857
+ [N.ARROW_DOWN]: T,
858
+ [N.ARROW_UP]: I,
859
+ [N.HOME]: A,
860
+ [N.END]: F,
861
+ ...o.value ? {} : { [N.SPACE]: P },
862
+ [N.ENTER]: M,
863
+ ...o.value ? {} : { [N.TAB]: O },
864
+ [N.ESCAPE]: U
862
865
  }));
863
- }, Kt = ({ inputContainerRef: l, isDropdownOpen: t }, a) => {
866
+ }, qt = ({ inputContainerRef: l, isDropdownOpen: t }, a) => {
864
867
  const e = () => {
865
- t.value && a(), O(() => {
866
- Ee(l);
868
+ t.value && a(), D(() => {
869
+ Te(l);
867
870
  });
868
871
  };
869
872
  return {
@@ -873,18 +876,18 @@ const Ft = Rt.exports, Pt = (l, t) => t.value.reduce((a, e) => {
873
876
  [m.SPACE]: e
874
877
  };
875
878
  };
876
- function qt(l, t, a, e, o) {
877
- const n = w(l), r = w(t), d = (u, p = []) => p.flatMap((i) => i.label.toLocaleLowerCase().includes(u) ? e != null && e.value && i.items ? [...d(u, i.items)] : [i, ...d(u, i.items)] : i.items ? [...d(u, i.items)] : []), c = a !== void 0 ? je(() => a(n.value), o ?? 300) : void 0;
878
- return j(n, () => {
879
+ function zt(l, t, a, e, o) {
880
+ const n = C(l), r = C(t), d = (f, p = []) => p.flatMap((i) => i.label.toLocaleLowerCase().includes(f) ? e != null && e.value && i.items ? [...d(f, i.items)] : [i, ...d(f, i.items)] : i.items ? [...d(f, i.items)] : []), c = a !== void 0 ? He(() => a(n.value), o ?? 300) : void 0;
881
+ return Z(n, () => {
879
882
  c !== void 0 && c();
880
883
  }), s(() => {
881
884
  if (!n.value || a !== void 0)
882
885
  return r.value;
883
- const u = n.value.toLocaleLowerCase();
884
- return d(u, r.value);
886
+ const f = n.value.toLocaleLowerCase();
887
+ return d(f, r.value);
885
888
  });
886
889
  }
887
- const zt = {
890
+ const Ut = {
888
891
  "de-DE": {
889
892
  all: "Alle",
890
893
  ariaLabelFallback: "Dropdown",
@@ -935,16 +938,16 @@ const zt = {
935
938
  ariaLabelFallback: "下拉菜单",
936
939
  clearSearch: "清除筛选器"
937
940
  }
938
- }, Ut = /* @__PURE__ */ Symbol("input field component injection key"), _a = /* @__PURE__ */ Symbol("input field hint injection key"), ha = /* @__PURE__ */ Symbol("input field parent component injection key"), Wt = D({
939
- i18n: { messages: zt },
941
+ }, Wt = /* @__PURE__ */ Symbol("input field component injection key"), ha = /* @__PURE__ */ Symbol("input field hint injection key"), ga = /* @__PURE__ */ Symbol("input field parent component injection key"), jt = B({
942
+ i18n: { messages: Ut },
940
943
  name: "b-dropdown",
941
944
  components: {
942
- DropdownInputDefault: St,
943
- DropdownInputSmall: Ft
945
+ DropdownInputDefault: xt,
946
+ DropdownInputSmall: Pt
944
947
  },
945
948
  model: { prop: "modelValue" }
946
- }), jt = /* @__PURE__ */ D({
947
- ...Wt,
949
+ }), Ht = /* @__PURE__ */ B({
950
+ ...jt,
948
951
  props: {
949
952
  description: { default: null },
950
953
  disabled: { type: Boolean, default: !1 },
@@ -965,7 +968,7 @@ const zt = {
965
968
  items: { default: () => [] },
966
969
  loading: { type: Boolean, default: !1 },
967
970
  componentLoading: { type: Boolean, default: !1 },
968
- lazyLoadType: { default: ae.props.lazyLoadType.default },
971
+ lazyLoadType: { default: ne.props.lazyLoadType.default },
969
972
  multiple: { type: Boolean, default: !1 },
970
973
  search: { default: void 0 },
971
974
  showSlotContentInMultiple: { type: Boolean, default: !1 },
@@ -978,133 +981,138 @@ const zt = {
978
981
  },
979
982
  emits: ["input", "update:model-value", "show-more", "open"],
980
983
  setup(l, { expose: t, emit: a }) {
981
- var ve, me;
982
- const e = l, o = we(), n = H(), r = Le(n), { t: d } = Y(), { emitValue: c } = We(a), y = w(null), u = w(null), p = w(null), i = w(!1), x = $("bento-dropdown-options-container"), b = $("dropdown-label"), _ = $("dropdown-description"), C = $("dropdown-error"), { isReadOnly: L } = Xe(T(e, "readonly")), f = s(() => e.modelValue ?? e.value), { cachedSelectedListboxOptions: B, cachedListboxSelectedValues: I, setCachedValues: A } = He(
983
- T(e, "items"),
984
- f,
985
- T(e, "multiple"),
986
- T(e, "enableValueLabelPair")
987
- ), M = w(o["aria-label"]), q = w(o["aria-describedby"]), { ariaLabel: h, label: v } = xe(e), R = s(() => d("ariaLabelFallback")), U = Ue({
984
+ var he, ge;
985
+ const e = l, o = Ee(), n = Q(), r = De(n), { t: d } = G(), { emitValue: c } = je(a), y = C(null), f = C(null), p = C(null), i = C(!1), S = K("bento-dropdown-options-container"), v = K("dropdown-label"), _ = K("dropdown-description"), x = K("dropdown-error"), { isReadOnly: L } = Ze(k(e, "readonly")), u = s(() => e.modelValue ?? e.value), { cachedSelectedListboxOptions: T, cachedListboxSelectedValues: I, setCachedValues: A } = Ye(
986
+ k(e, "items"),
987
+ u,
988
+ k(e, "multiple"),
989
+ k(e, "enableValueLabelPair")
990
+ ), F = C(o["aria-label"]), P = C(o["aria-describedby"]), { ariaLabel: M, label: O } = Oe(e), U = s(() => d("ariaLabelFallback")), se = We({
988
991
  // TODO: take ariaLabel ref away when aria-label prop is removed
989
- ariaLabel: h.value || M,
990
- label: v,
991
- defaultFallback: R
992
- }), oe = e.size === K.SMALL || $e(Ut, !1), Ie = s(() => oe ? K.SMALL : K.DEFAULT), De = s(() => ({
992
+ ariaLabel: M.value || F,
993
+ label: O,
994
+ defaultFallback: U
995
+ }), b = e.size === z.SMALL || Ve(Wt, !1), w = s(() => b ? z.SMALL : z.DEFAULT), H = s(() => ({
993
996
  "b-dropdown--condensed": e.condensed
994
- })), Be = s(() => ({
997
+ })), Y = s(() => ({
995
998
  "b-dropdown__description--error": !!e.errorMessage
996
- })), F = w(""), z = T(e, "items"), le = T(e, "staticCategories"), J = qt(
997
- F,
998
- z,
999
- (ve = e == null ? void 0 : e.search) == null ? void 0 : ve.searchEvent,
1000
- le,
1001
- (me = e == null ? void 0 : e.search) == null ? void 0 : me.debounceTime
1002
- ), X = s(() => e.dynamicFiltering && !!F.value), Ae = $t({
1003
- items: z,
1004
- placeholder: T(e, "placeholder"),
1005
- isMultiSelect: T(e, "multiple"),
1006
- selectedValues: B
1007
- }), Te = s(() => {
1008
- if (e != null && e.multiple && Array.isArray(f.value))
999
+ })), $ = C(""), W = k(e, "items"), re = k(e, "staticCategories"), J = zt(
1000
+ $,
1001
+ W,
1002
+ (he = e == null ? void 0 : e.search) == null ? void 0 : he.searchEvent,
1003
+ re,
1004
+ (ge = e == null ? void 0 : e.search) == null ? void 0 : ge.debounceTime
1005
+ ), ee = s(() => e.dynamicFiltering && !!$.value), Ae = Vt({
1006
+ items: W,
1007
+ placeholder: k(e, "placeholder"),
1008
+ isMultiSelect: k(e, "multiple"),
1009
+ selectedValues: T
1010
+ }), ke = s(() => {
1011
+ if (e != null && e.multiple && Array.isArray(u.value))
1009
1012
  return e.items.filter(
1010
- ({ value: g }) => (e == null ? void 0 : e.value) && (e == null ? void 0 : e.value).includes(g)
1013
+ ({ value: h }) => (e == null ? void 0 : e.value) && (e == null ? void 0 : e.value).includes(h)
1011
1014
  );
1012
1015
  if (!e.multiple && e.staticCategories) {
1013
- const g = e.items.find(
1014
- (ee) => ee.items.some((Pe) => Pe.value === f.value)
1016
+ const h = e.items.find(
1017
+ (j) => {
1018
+ var Se;
1019
+ return (Se = j.items) == null ? void 0 : Se.some(($e) => $e.value === u.value);
1020
+ }
1015
1021
  );
1016
- return g ? g.items.find((ee) => ee.value === f.value) : null;
1022
+ return (h ? h.items.find((j) => j.value === u.value) : e.items.find(({ value: j }) => j === u.value)) ?? null;
1017
1023
  }
1018
- return e.items.find(({ value: g }) => g === f.value);
1019
- }), ne = s(() => {
1020
- const g = J.value.findIndex(({ value: P }) => e.enableValueLabelPair ? f.value.value === P : f.value === P);
1021
- return g > -1 ? g : 0;
1022
- }), { isMultiLevelSelect: Z, flattenedItemsList: se } = Ye(z), re = s(() => Z.value && !e.staticCategories), ie = s(() => re.value ? "treeitem" : "option"), ke = s(() => {
1024
+ return e.items.find(({ value: h }) => h === u.value);
1025
+ }), ie = s(() => {
1026
+ const h = J.value.findIndex(({ value: V }) => e.enableValueLabelPair ? u.value.value === V : u.value === V);
1027
+ return h > -1 ? h : 0;
1028
+ }), { isMultiLevelSelect: te, flattenedItemsList: de } = Je(W), ce = s(() => te.value && !e.staticCategories), ue = s(() => ce.value ? "treeitem" : "option"), Ne = s(() => {
1023
1029
  if (e.multiple) {
1024
- const g = Array.isArray(f.value) ? f.value.length : 0, P = Z.value ? se.value.length : z.value.length;
1025
- return g === 0 ? null : !e.hasMoreItems && P > 0 && P === g ? d("all") : g;
1030
+ const h = Array.isArray(u.value) ? u.value.length : 0, V = te.value ? de.value.length : W.value.length;
1031
+ return h === 0 ? null : !e.hasMoreItems && V > 0 && V === h ? d("all") : h;
1026
1032
  }
1027
1033
  return null;
1028
- }), Ne = s(
1034
+ }), Me = s(
1029
1035
  () => [
1030
1036
  e.description ? _ : null,
1031
- q.value,
1032
- e.errorMessage ? C : null
1037
+ P.value,
1038
+ e.errorMessage ? x : null
1033
1039
  ].filter(Boolean).join(" ") || null
1034
- ), de = s(() => {
1035
- var g;
1036
- return (g = p.value) == null ? void 0 : g.$el;
1037
- }), { visibleDomOptions: ce, updateVisibleDomOptions: Q } = Je(
1038
- de,
1040
+ ), pe = s(() => {
1041
+ var h;
1042
+ return (h = p.value) == null ? void 0 : h.$el;
1043
+ }), { visibleDomOptions: fe, updateVisibleDomOptions: ae } = Xe(
1044
+ pe,
1039
1045
  J,
1040
- ie
1041
- ), ue = () => {
1042
- L.value || (i.value = !0, O(() => {
1043
- Q();
1046
+ ue
1047
+ ), be = () => {
1048
+ L.value || (i.value = !0, D(() => {
1049
+ ae();
1044
1050
  }));
1045
- }, W = () => {
1051
+ }, X = () => {
1046
1052
  i.value = !1;
1047
- }, pe = () => {
1048
- L.value || (i.value = !i.value, O(() => {
1049
- Q();
1050
- }), X.value && (F.value = ""));
1051
- }, Me = () => {
1052
- X.value && (F.value = ""), i.value && (i.value = !1, p.value.onOutsideDropdownClick());
1053
- }, fe = async (g) => {
1054
- e.multiple || (F.value = "", i.value = !1), A(g), c(I.value), e.multiple || (await O(), G());
1055
- }, be = () => {
1053
+ }, ye = () => {
1054
+ L.value || (i.value = !i.value, D(() => {
1055
+ ae();
1056
+ }), ee.value && ($.value = ""));
1057
+ }, Re = () => {
1058
+ ee.value && ($.value = ""), i.value && (i.value = !1, p.value.onOutsideDropdownClick());
1059
+ }, ve = async (h) => {
1060
+ e.multiple || ($.value = "", i.value = !1), A(h), c(I.value), e.multiple || (await D(), oe());
1061
+ }, me = () => {
1056
1062
  a(m.SHOW_MORE);
1057
- }, Re = Vt(
1063
+ }, Fe = Kt(
1058
1064
  {
1059
1065
  inputContainerRef: y,
1060
1066
  optionsContainerRef: p,
1061
- selectedValueIndex: ne,
1067
+ selectedValueIndex: ie,
1062
1068
  isDropdownOpen: i,
1063
- isDynamicFltering: T(e, "dynamicFiltering"),
1064
- items: ce,
1065
- isMultiple: e.multiple
1069
+ isDynamicFltering: k(e, "dynamicFiltering"),
1070
+ items: fe,
1071
+ isMultiple: e.multiple,
1072
+ totalItemCount: s(() => J.value.length),
1073
+ isVirtualScroll: !(e != null && e.multiple) && (e == null ? void 0 : e.virtualScroll) !== !1 && (e == null ? void 0 : e.lazyLoadType) === "none"
1066
1074
  },
1067
- pe,
1068
- ue,
1069
- W
1070
- ), ye = Kt(
1075
+ ye,
1076
+ be,
1077
+ X
1078
+ ), _e = qt(
1071
1079
  {
1072
1080
  inputContainerRef: y,
1073
1081
  isDropdownOpen: i
1074
1082
  },
1075
- W
1076
- ), Fe = {
1077
- [m.CLOSE_DROPDOWN]: W,
1078
- [m.SELECT]: fe,
1079
- [m.SHOW_MORE]: be,
1080
- ...ye
1083
+ X
1084
+ ), Pe = {
1085
+ [m.CLOSE_DROPDOWN]: X,
1086
+ [m.SELECT]: ve,
1087
+ [m.SHOW_MORE]: me,
1088
+ ..._e
1081
1089
  };
1082
- e.error && te(
1090
+ e.error && le(
1083
1091
  'BentoDropdown "error" property',
1084
1092
  `Use the BentoDropdown "errorMessage" property instead to indicate that there is a modifier error.
1085
1093
  Having the field as "undefined" will hide/remove the error.
1086
1094
  <bento-dropdown errorMessage="Error message text" />`,
1087
1095
  "2.0.0"
1088
- ), e.size && te('BentoDropdown "size" property', "Do not use. Only 'default' size should be used.", "2.0.0"), e.value && te(
1096
+ ), e.size && le('BentoDropdown "size" property', "Do not use. Only 'default' size should be used.", "2.0.0"), e.value && le(
1089
1097
  'BentoDropdown "value" property',
1090
1098
  `The use of "value" prop in "BentoDropdown" is no longer supported.
1091
1099
  Use the "v-model" or "model-value" property instead.`,
1092
1100
  "2.0.0"
1093
1101
  );
1094
- const G = () => {
1102
+ const oe = () => {
1095
1103
  y.value.focus();
1096
1104
  };
1097
- return j(
1105
+ return Z(
1098
1106
  () => i.value,
1099
- (g) => {
1100
- g && a("open");
1107
+ (h) => {
1108
+ h && a("open");
1101
1109
  }
1102
1110
  ), t({
1103
- focus: G
1104
- }), { __sfc: !0, attrs: o, slots: n, hasSlot: r, props: e, emit: a, t: d, emitValue: c, inputContainerRef: y, inputContainerRefWrapper: u, optionsContainerRef: p, isDropdownOpen: i, dropdownOptionsContainerId: x, labelId: b, descriptionId: _, errorId: C, isReadOnly: L, dropdownValue: f, cachedSelectedListboxOptions: B, cachedListboxSelectedValues: I, setCachedValues: A, ariaLabelAttribute: M, ariaDescribedByAttribute: q, ariaLabel: h, label: v, computedAriaLabelFallbackMessage: R, computedAriaLabel: U, isInputComponent: oe, computedSize: Ie, conditionalClasses: De, descriptionConditionalClasses: Be, searchTerm: F, items: z, staticCategories: le, filteredItems: J, isSearching: X, displayValue: Ae, selectedValueItem: Te, selectedValueIndex: ne, isMultiLevelSelect: Z, flattenedItemsList: se, isTreePattern: re, computedOptionRole: ie, additionalItemsSelected: ke, ariaDescribedBy: Ne, listboxRef: de, visibleDomOptions: ce, updateVisibleDomOptions: Q, openDropdown: ue, closeDropdown: W, toggleDropdown: pe, clickOutsideDropdown: Me, onOptionSelected: fe, emitShowMoreEvent: be, textboxKeyboardNavigationListeners: Re, listboxKeyboardNavigationListeners: ye, listboxListeners: Fe, focus: G, BentoDropdownOptionsContainer: dt, BentoTypography: Ce, ErrorMessage: et, FieldLabel: Ge, vBentoClickOutsideDirective: Qe, vBentoKeyboardNavigationDirective: Ze };
1111
+ focus: oe
1112
+ }), { __sfc: !0, attrs: o, slots: n, hasSlot: r, props: e, emit: a, t: d, emitValue: c, inputContainerRef: y, inputContainerRefWrapper: f, optionsContainerRef: p, isDropdownOpen: i, dropdownOptionsContainerId: S, labelId: v, descriptionId: _, errorId: x, isReadOnly: L, dropdownValue: u, cachedSelectedListboxOptions: T, cachedListboxSelectedValues: I, setCachedValues: A, ariaLabelAttribute: F, ariaDescribedByAttribute: P, ariaLabel: M, label: O, computedAriaLabelFallbackMessage: U, computedAriaLabel: se, isInputComponent: b, computedSize: w, conditionalClasses: H, descriptionConditionalClasses: Y, searchTerm: $, items: W, staticCategories: re, filteredItems: J, isSearching: ee, displayValue: Ae, selectedValueItem: ke, selectedValueIndex: ie, isMultiLevelSelect: te, flattenedItemsList: de, isTreePattern: ce, computedOptionRole: ue, additionalItemsSelected: Ne, ariaDescribedBy: Me, listboxRef: pe, visibleDomOptions: fe, updateVisibleDomOptions: ae, openDropdown: be, closeDropdown: X, toggleDropdown: ye, clickOutsideDropdown: Re, onOptionSelected: ve, emitShowMoreEvent: me, textboxKeyboardNavigationListeners: Fe, listboxKeyboardNavigationListeners: _e, listboxListeners: Pe, focus: oe, BentoDropdownOptionsContainer: ct, BentoTypography: Ie, ErrorMessage: tt, FieldLabel: et, vBentoClickOutsideDirective: Ge, vBentoKeyboardNavigationDirective: Qe };
1105
1113
  }
1106
1114
  });
1107
- var Ht = function() {
1115
+ var Yt = function() {
1108
1116
  var t = this, a = t._self._c, e = t._self._setupProxy;
1109
1117
  return a("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 ? a(e.FieldLabel, { attrs: { id: e.labelId, condensed: t.condensed, label: e.label, "tooltip-text": t.tooltipText, optional: t.optional, required: t.required } }) : t._e(), a("div", t._g({ directives: [{ name: "bento-keyboard-navigation-directive", rawName: "v-bento-keyboard-navigation-directive" }], ref: "inputContainerRefWrapper" }, e.textboxKeyboardNavigationListeners), [a(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, "aria-required": t.required, 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(o) {
1110
1118
  e.searchTerm = o;
@@ -1119,22 +1127,22 @@ var Ht = function() {
1119
1127
  })], null, !0) }, e.listboxListeners)) : t._e(), t.errorMessage ? a(e.ErrorMessage, { staticClass: "b-dropdown__error-message", attrs: { id: e.errorId, "error-message": t.errorMessage } }) : t._e(), t.description || e.hasSlot("description") ? a(e.BentoTypography, { staticClass: "b-dropdown__description", class: e.descriptionConditionalClasses, attrs: { id: e.descriptionId, el: "span" } }, [t._t("description", function() {
1120
1128
  return [t._v(" " + t._s(t.description) + " ")];
1121
1129
  })], 2) : t._e()], 1);
1122
- }, Yt = [], Jt = /* @__PURE__ */ N(
1123
- jt,
1130
+ }, Jt = [], Xt = /* @__PURE__ */ R(
1124
1131
  Ht,
1125
1132
  Yt,
1133
+ Jt,
1126
1134
  !1,
1127
1135
  null,
1128
- "3edb5f79"
1136
+ "f5eb43fd"
1129
1137
  );
1130
- const ga = Jt.exports;
1138
+ const Sa = Xt.exports;
1131
1139
  export {
1132
- ga as B,
1133
- St as D,
1134
- _a as I,
1135
- K as a,
1136
- Ut as b,
1137
- ha as c,
1138
- qt as u
1140
+ Sa as B,
1141
+ xt as D,
1142
+ ha as I,
1143
+ z as a,
1144
+ Wt as b,
1145
+ ga as c,
1146
+ zt as u
1139
1147
  };
1140
- //# sourceMappingURL=dropdown.Ca-f8tdX.js.map
1148
+ //# sourceMappingURL=dropdown.BYJwx-JD.js.map