@adyen/bento-vue2 1.97.0 → 1.98.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 (229) hide show
  1. package/dist/@types/index.d.ts +66 -1
  2. package/dist/action-bar.js +1 -1
  3. package/dist/ai-tag.js +1 -1
  4. package/dist/anchor-scroller.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/calendar.css +1 -1
  10. package/dist/assets/card.css +1 -1
  11. package/dist/assets/data-grid.css +1 -1
  12. package/dist/assets/date.css +1 -1
  13. package/dist/assets/dialog-page.css +1 -1
  14. package/dist/assets/draggable-handle.css +1 -1
  15. package/dist/assets/draggable.css +1 -0
  16. package/dist/assets/dropdown.css +1 -1
  17. package/dist/assets/file-uploader.css +1 -1
  18. package/dist/assets/filter-bar.css +1 -1
  19. package/dist/assets/header-meta.css +1 -1
  20. package/dist/assets/inspector.css +1 -1
  21. package/dist/assets/list-item.css +1 -1
  22. package/dist/assets/modal-fullscreen.css +1 -1
  23. package/dist/assets/navigation-menu-group.css +1 -1
  24. package/dist/assets/secondary-nav.css +1 -1
  25. package/dist/assets/sidepanel.css +1 -1
  26. package/dist/button.js +1 -1
  27. package/dist/card.js +1 -1
  28. package/dist/checkbox.js +2 -2
  29. package/dist/chunks/{action-bar.B890LCTe.js → action-bar.X-dXuOcv.js} +4 -4
  30. package/dist/chunks/{action-bar.B890LCTe.js.map → action-bar.X-dXuOcv.js.map} +1 -1
  31. package/dist/chunks/{ai-tag.C8RxACNj.js → ai-tag.Cdn4JK1m.js} +2 -2
  32. package/dist/chunks/{ai-tag.C8RxACNj.js.map → ai-tag.Cdn4JK1m.js.map} +1 -1
  33. package/dist/chunks/{anchor-scroller.B8VXotik.js → anchor-scroller.Bu7GtOqH.js} +5 -5
  34. package/dist/chunks/{anchor-scroller.B8VXotik.js.map → anchor-scroller.Bu7GtOqH.js.map} +1 -1
  35. package/dist/chunks/{base-modal.CDMoF3b_.js → base-modal.DgMSsQf3.js} +5 -5
  36. package/dist/chunks/{base-modal.CDMoF3b_.js.map → base-modal.DgMSsQf3.js.map} +1 -1
  37. package/dist/chunks/{button-actions-with-menu.DqDQ_gVX.js → button-actions-with-menu.BV5aDUCD.js} +3 -3
  38. package/dist/chunks/{button-actions-with-menu.DqDQ_gVX.js.map → button-actions-with-menu.BV5aDUCD.js.map} +1 -1
  39. package/dist/chunks/{button-actions.DKc63aCb.js → button-actions.BD4Dyp4U.js} +2 -2
  40. package/dist/chunks/{button-actions.DKc63aCb.js.map → button-actions.BD4Dyp4U.js.map} +1 -1
  41. package/dist/chunks/{calendar.BckAv9N_.js → calendar.B0GnBaAW.js} +154 -153
  42. package/dist/chunks/calendar.B0GnBaAW.js.map +1 -0
  43. package/dist/chunks/{card.ChBURa5R.js → card.Bm7JEsCC.js} +2 -2
  44. package/dist/chunks/{card.ChBURa5R.js.map → card.Bm7JEsCC.js.map} +1 -1
  45. package/dist/chunks/{checkbox-group.BAjvgXlc.js → checkbox-group.mgC7eJkE.js} +3 -3
  46. package/dist/chunks/{checkbox-group.BAjvgXlc.js.map → checkbox-group.mgC7eJkE.js.map} +1 -1
  47. package/dist/chunks/{checkbox.BAQDBNL6.js → checkbox.CBawZCc6.js} +2 -2
  48. package/dist/chunks/{checkbox.BAQDBNL6.js.map → checkbox.CBawZCc6.js.map} +1 -1
  49. package/dist/chunks/{code-snippet.nUo9bjhC.js → code-snippet.CpHbw0xj.js} +4 -4
  50. package/dist/chunks/{code-snippet.nUo9bjhC.js.map → code-snippet.CpHbw0xj.js.map} +1 -1
  51. package/dist/chunks/{controls-group.Bzpsrtcx.js → controls-group.BWzCb_GU.js} +2 -2
  52. package/dist/chunks/{controls-group.Bzpsrtcx.js.map → controls-group.BWzCb_GU.js.map} +1 -1
  53. package/dist/chunks/{copy.DVB6pQC8.js → copy.CWKdfVcd.js} +3 -3
  54. package/dist/chunks/{copy.DVB6pQC8.js.map → copy.CWKdfVcd.js.map} +1 -1
  55. package/dist/chunks/{dashboard-section.BDDVJpxY.js → dashboard-section.CRn7tlX_.js} +4 -4
  56. package/dist/chunks/{dashboard-section.BDDVJpxY.js.map → dashboard-section.CRn7tlX_.js.map} +1 -1
  57. package/dist/chunks/{dashed-underline.CfEmbgOv.js → dashed-underline.BoHt4iGu.js} +4 -4
  58. package/dist/chunks/{dashed-underline.CfEmbgOv.js.map → dashed-underline.BoHt4iGu.js.map} +1 -1
  59. package/dist/chunks/{data-grid-template.BUlLHTYe.js → data-grid-template.BYMLOzkm.js} +4 -4
  60. package/dist/chunks/{data-grid-template.BUlLHTYe.js.map → data-grid-template.BYMLOzkm.js.map} +1 -1
  61. package/dist/chunks/{data-grid.0OiCQjFc.js → data-grid.BRziyZ43.js} +19 -19
  62. package/dist/chunks/{data-grid.0OiCQjFc.js.map → data-grid.BRziyZ43.js.map} +1 -1
  63. package/dist/chunks/{date-picker.CsFSskqf.js → date-picker.CCJtLnE4.js} +7 -7
  64. package/dist/chunks/{date-picker.CsFSskqf.js.map → date-picker.CCJtLnE4.js.map} +1 -1
  65. package/dist/chunks/{date-range-picker.Bczgdu5X.js → date-range-picker.B2u5vm8m.js} +10 -10
  66. package/dist/chunks/{date-range-picker.Bczgdu5X.js.map → date-range-picker.B2u5vm8m.js.map} +1 -1
  67. package/dist/chunks/{date-time-picker.DT54TiG4.js → date-time-picker.CP-IrUwY.js} +5 -5
  68. package/dist/chunks/{date-time-picker.DT54TiG4.js.map → date-time-picker.CP-IrUwY.js.map} +1 -1
  69. package/dist/chunks/{date.B0m0sFP6.js → date.C1HnIyOv.js} +27 -25
  70. package/dist/chunks/date.C1HnIyOv.js.map +1 -0
  71. package/dist/chunks/{dialog-page.DYWnKdnP.js → dialog-page.BendBRv6.js} +10 -10
  72. package/dist/chunks/{dialog-page.DYWnKdnP.js.map → dialog-page.BendBRv6.js.map} +1 -1
  73. package/dist/chunks/draggable-handle.BnRkhlee.js +1611 -0
  74. package/dist/chunks/draggable-handle.BnRkhlee.js.map +1 -0
  75. package/dist/chunks/draggable.D5WFD5eX.js +193 -0
  76. package/dist/chunks/draggable.D5WFD5eX.js.map +1 -0
  77. package/dist/chunks/{drawer.WW7G9cSC.js → drawer.BuCNjIKQ.js} +2 -2
  78. package/dist/chunks/{drawer.WW7G9cSC.js.map → drawer.BuCNjIKQ.js.map} +1 -1
  79. package/dist/chunks/{dropdown-tag.BqSrkuwj.js → dropdown-tag.LIt7SdwS.js} +3 -3
  80. package/dist/chunks/{dropdown-tag.BqSrkuwj.js.map → dropdown-tag.LIt7SdwS.js.map} +1 -1
  81. package/dist/chunks/{dropdown.CIEm6MBB.js → dropdown.NTGSuWAw.js} +847 -822
  82. package/dist/chunks/dropdown.NTGSuWAw.js.map +1 -0
  83. package/dist/chunks/{field-label.CdVbAfK-.js → field-label.CkMM3cXO.js} +2 -2
  84. package/dist/chunks/{field-label.CdVbAfK-.js.map → field-label.CkMM3cXO.js.map} +1 -1
  85. package/dist/chunks/{file-uploader.DOvQMUHC.js → file-uploader.BLoJVqZQ.js} +3 -3
  86. package/dist/chunks/{file-uploader.DOvQMUHC.js.map → file-uploader.BLoJVqZQ.js.map} +1 -1
  87. package/dist/chunks/{filter-bar.DVRPM9tf.js → filter-bar.CftgpM7Z.js} +20 -20
  88. package/dist/chunks/filter-bar.CftgpM7Z.js.map +1 -0
  89. package/dist/chunks/{focus-trap.CBIb3SyN.js → focus-trap.CUZQ1kQD.js} +2 -2
  90. package/dist/chunks/{focus-trap.CBIb3SyN.js.map → focus-trap.CUZQ1kQD.js.map} +1 -1
  91. package/dist/chunks/{footer-actions.C1sXd7ti.js → footer-actions.C89dbDV4.js} +2 -2
  92. package/dist/chunks/{footer-actions.C1sXd7ti.js.map → footer-actions.C89dbDV4.js.map} +1 -1
  93. package/dist/chunks/generate-uid.NJ8tVoha.js.map +1 -1
  94. package/dist/chunks/{header-meta.D1eb37QJ.js → header-meta.Cpk3Z8c2.js} +56 -51
  95. package/dist/chunks/{header-meta.D1eb37QJ.js.map → header-meta.Cpk3Z8c2.js.map} +1 -1
  96. package/dist/chunks/{header-with-views.Bk6ly102.js → header-with-views.UmWf3dQd.js} +10 -10
  97. package/dist/chunks/{header-with-views.Bk6ly102.js.map → header-with-views.UmWf3dQd.js.map} +1 -1
  98. package/dist/chunks/{header.CszOmM16.js → header.BRBY9Ilh.js} +3 -3
  99. package/dist/chunks/{header.CszOmM16.js.map → header.BRBY9Ilh.js.map} +1 -1
  100. package/dist/chunks/{index.CJYgd0QI.js → index.BPUMyryR.js} +14 -14
  101. package/dist/chunks/{index.CJYgd0QI.js.map → index.BPUMyryR.js.map} +1 -1
  102. package/dist/chunks/{info-icon.9Nt7zg3D.js → info-icon.ZVQsMymB.js} +3 -3
  103. package/dist/chunks/{info-icon.9Nt7zg3D.js.map → info-icon.ZVQsMymB.js.map} +1 -1
  104. package/dist/chunks/{input-field-password.C4Wxsl16.js → input-field-password.bhLfqs6p.js} +5 -5
  105. package/dist/chunks/{input-field-password.C4Wxsl16.js.map → input-field-password.bhLfqs6p.js.map} +1 -1
  106. package/dist/chunks/{input-field-phone-number.BhYTU628.js → input-field-phone-number.cAROnxRW.js} +2 -2
  107. package/dist/chunks/{input-field-phone-number.BhYTU628.js.map → input-field-phone-number.cAROnxRW.js.map} +1 -1
  108. package/dist/chunks/{input-field.3tzX7t2y.js → input-field.BgVjWpiF.js} +3 -3
  109. package/dist/chunks/{input-field.3tzX7t2y.js.map → input-field.BgVjWpiF.js.map} +1 -1
  110. package/dist/chunks/{input-time.Bf-ZrCPX.js → input-time.C5qQ6S8d.js} +3 -3
  111. package/dist/chunks/{input-time.Bf-ZrCPX.js.map → input-time.C5qQ6S8d.js.map} +1 -1
  112. package/dist/chunks/{inspector.BY3SoX-l.js → inspector.8QKfd0HF.js} +3 -3
  113. package/dist/chunks/{inspector.BY3SoX-l.js.map → inspector.8QKfd0HF.js.map} +1 -1
  114. package/dist/chunks/{layout-row.BI9ZJa-9.js → layout-row.CTBhpBUq.js} +9 -9
  115. package/dist/chunks/{layout-row.BI9ZJa-9.js.map → layout-row.CTBhpBUq.js.map} +1 -1
  116. package/dist/chunks/list-item.BxQkbnLZ.js +193 -0
  117. package/dist/chunks/list-item.BxQkbnLZ.js.map +1 -0
  118. package/dist/chunks/{listbox-option-tag.Ddyl2vuc.js → listbox-option-tag.BFW39wpD.js} +2 -2
  119. package/dist/chunks/{listbox-option-tag.Ddyl2vuc.js.map → listbox-option-tag.BFW39wpD.js.map} +1 -1
  120. package/dist/chunks/{modal-fullscreen.Dg1Hi3jB.js → modal-fullscreen.CH2wwAtk.js} +4 -4
  121. package/dist/chunks/{modal-fullscreen.Dg1Hi3jB.js.map → modal-fullscreen.CH2wwAtk.js.map} +1 -1
  122. package/dist/chunks/{modal.DZTEFM_E.js → modal.e1Ym209E.js} +4 -4
  123. package/dist/chunks/{modal.DZTEFM_E.js.map → modal.e1Ym209E.js.map} +1 -1
  124. package/dist/chunks/{navigation-menu-group.Dv2_ZRRq.js → navigation-menu-group.E1Oam9-n.js} +3 -3
  125. package/dist/chunks/{navigation-menu-group.Dv2_ZRRq.js.map → navigation-menu-group.E1Oam9-n.js.map} +1 -1
  126. package/dist/chunks/{pagination.C6HIPq58.js → pagination.BzLKzijQ.js} +2 -2
  127. package/dist/chunks/{pagination.C6HIPq58.js.map → pagination.BzLKzijQ.js.map} +1 -1
  128. package/dist/chunks/popover.types.ZXsQ9bA6.js +6 -0
  129. package/dist/chunks/{popover.types.B9TXaqAt.js.map → popover.types.ZXsQ9bA6.js.map} +1 -1
  130. package/dist/chunks/{popper-container.CFYFCz6u.js → popper-container.dxpRn9a5.js} +2 -2
  131. package/dist/chunks/{popper-container.CFYFCz6u.js.map → popper-container.dxpRn9a5.js.map} +1 -1
  132. package/dist/chunks/{promo-banner.tljKS80K.js → promo-banner.BVBt9w4u.js} +2 -2
  133. package/dist/chunks/{promo-banner.tljKS80K.js.map → promo-banner.BVBt9w4u.js.map} +1 -1
  134. package/dist/chunks/{radio-group.cn4lZb8R.js → radio-group.D5fpHqkP.js} +3 -3
  135. package/dist/chunks/{radio-group.cn4lZb8R.js.map → radio-group.D5fpHqkP.js.map} +1 -1
  136. package/dist/chunks/{rich-text-editor.-B96ibAd.js → rich-text-editor.VWCBSRmM.js} +4 -4
  137. package/dist/chunks/{rich-text-editor.-B96ibAd.js.map → rich-text-editor.VWCBSRmM.js.map} +1 -1
  138. package/dist/chunks/{search-bar.DunTxVmZ.js → search-bar.Be3RlmLA.js} +3 -3
  139. package/dist/chunks/{search-bar.DunTxVmZ.js.map → search-bar.Be3RlmLA.js.map} +1 -1
  140. package/dist/chunks/{secondary-nav.CGGPkYpc.js → secondary-nav.Cy4ap53E.js} +4 -4
  141. package/dist/chunks/{secondary-nav.CGGPkYpc.js.map → secondary-nav.Cy4ap53E.js.map} +1 -1
  142. package/dist/chunks/{segmented-control.C0JtDa4q.js → segmented-control.BOyYIUEp.js} +2 -2
  143. package/dist/chunks/{segmented-control.C0JtDa4q.js.map → segmented-control.BOyYIUEp.js.map} +1 -1
  144. package/dist/chunks/{selection-card-group.ZZ_qF1L1.js → selection-card-group.lNZ8z318.js} +3 -3
  145. package/dist/chunks/{selection-card-group.ZZ_qF1L1.js.map → selection-card-group.lNZ8z318.js.map} +1 -1
  146. package/dist/chunks/{sidepanel.ChuW63J7.js → sidepanel.CN_u-b5X.js} +5 -5
  147. package/dist/chunks/{sidepanel.ChuW63J7.js.map → sidepanel.CN_u-b5X.js.map} +1 -1
  148. package/dist/chunks/{structured-list-item.DE0L0kvs.js → structured-list-item.CL1jhdTX.js} +4 -4
  149. package/dist/chunks/{structured-list-item.DE0L0kvs.js.map → structured-list-item.CL1jhdTX.js.map} +1 -1
  150. package/dist/chunks/{summary-grid.types.BnEhhDQz.js → summary-grid.types.Cjrwg4vd.js} +5 -5
  151. package/dist/chunks/{summary-grid.types.BnEhhDQz.js.map → summary-grid.types.Cjrwg4vd.js.map} +1 -1
  152. package/dist/chunks/{tab.QEKU5Udp.js → tab.B2qRfTqx.js} +2 -2
  153. package/dist/chunks/{tab.QEKU5Udp.js.map → tab.B2qRfTqx.js.map} +1 -1
  154. package/dist/chunks/{tag.CbNFG45Y.js → tag.XeZzHnx_.js} +2 -2
  155. package/dist/chunks/{tag.CbNFG45Y.js.map → tag.XeZzHnx_.js.map} +1 -1
  156. package/dist/chunks/{textarea.DJ7095b6.js → textarea.CbCrtcQ2.js} +2 -2
  157. package/dist/chunks/{textarea.DJ7095b6.js.map → textarea.CbCrtcQ2.js.map} +1 -1
  158. package/dist/chunks/{timeline-item.DzMh520x.js → timeline-item.BVOztUi9.js} +7 -7
  159. package/dist/chunks/{timeline-item.DzMh520x.js.map → timeline-item.BVOztUi9.js.map} +1 -1
  160. package/dist/chunks/{tooltip.CnkqMpOA.js → tooltip.CGeGVHyl.js} +3 -3
  161. package/dist/chunks/{tooltip.CnkqMpOA.js.map → tooltip.CGeGVHyl.js.map} +1 -1
  162. package/dist/chunks/{tutorial.CkeL_7Je.js → tutorial.WeP9PjhU.js} +4 -4
  163. package/dist/chunks/{tutorial.CkeL_7Je.js.map → tutorial.WeP9PjhU.js.map} +1 -1
  164. package/dist/chunks/{use-bento-delayed-hover.D4rfUUOr.js → use-bento-delayed-hover.CxJOLxok.js} +2 -2
  165. package/dist/chunks/{use-bento-delayed-hover.D4rfUUOr.js.map → use-bento-delayed-hover.CxJOLxok.js.map} +1 -1
  166. package/dist/chunks/{use-date-input-formatter.Dq9C0nc9.js → use-date-input-formatter.BMciZYTp.js} +2 -2
  167. package/dist/chunks/{use-date-input-formatter.Dq9C0nc9.js.map → use-date-input-formatter.BMciZYTp.js.map} +1 -1
  168. package/dist/code-snippet.js +1 -1
  169. package/dist/dashboard-template.js +1 -1
  170. package/dist/dashed-underline.js +1 -1
  171. package/dist/data-grid-template.js +1 -1
  172. package/dist/data-grid.js +1 -1
  173. package/dist/date-picker.js +2 -2
  174. package/dist/date-range-picker.js +2 -2
  175. package/dist/date-time-picker.js +1 -1
  176. package/dist/date.js +1 -1
  177. package/dist/draggable.js +4 -3
  178. package/dist/draggable.js.map +1 -1
  179. package/dist/drawer.js +1 -1
  180. package/dist/dropdown.js +2 -2
  181. package/dist/file-uploader.js +1 -1
  182. package/dist/filter-bar.js +1 -1
  183. package/dist/focus-trap.js +1 -1
  184. package/dist/header-with-views.js +1 -1
  185. package/dist/header.js +1 -1
  186. package/dist/index.js +264 -263
  187. package/dist/index.js.map +1 -1
  188. package/dist/info-icon.js +1 -1
  189. package/dist/input-field-password.js +1 -1
  190. package/dist/input-field-phone-number.js +1 -1
  191. package/dist/input-field.js +1 -1
  192. package/dist/input-time.js +1 -1
  193. package/dist/inspector.js +1 -1
  194. package/dist/internal.js +11 -11
  195. package/dist/layout.js +1 -1
  196. package/dist/list.js +1 -1
  197. package/dist/menu.js +1 -1
  198. package/dist/modal-fullscreen.js +1 -1
  199. package/dist/modal.js +2 -2
  200. package/dist/navigation-menu.js +1 -1
  201. package/dist/pagination.js +1 -1
  202. package/dist/popover.js +2 -2
  203. package/dist/popper-container.js +1 -1
  204. package/dist/promo-banner.js +1 -1
  205. package/dist/radio-group.js +1 -1
  206. package/dist/rich-text-editor.js +1 -1
  207. package/dist/search-bar.js +2 -2
  208. package/dist/secondary-nav.js +1 -1
  209. package/dist/segmented-control.js +1 -1
  210. package/dist/selection-card.js +1 -1
  211. package/dist/sidepanel.js +1 -1
  212. package/dist/structured-list.js +1 -1
  213. package/dist/summary-grid.js +1 -1
  214. package/dist/tabs.js +1 -1
  215. package/dist/tag.js +1 -1
  216. package/dist/textarea.js +1 -1
  217. package/dist/timeline.js +1 -1
  218. package/dist/tutorial.js +1 -1
  219. package/dist/web-types.json +61 -1
  220. package/package.json +8 -8
  221. package/dist/chunks/calendar.BckAv9N_.js.map +0 -1
  222. package/dist/chunks/date.B0m0sFP6.js.map +0 -1
  223. package/dist/chunks/draggable-handle.DwJBaf5y.js +0 -1747
  224. package/dist/chunks/draggable-handle.DwJBaf5y.js.map +0 -1
  225. package/dist/chunks/dropdown.CIEm6MBB.js.map +0 -1
  226. package/dist/chunks/filter-bar.DVRPM9tf.js.map +0 -1
  227. package/dist/chunks/list-item.D2ZLiS_D.js +0 -76
  228. package/dist/chunks/list-item.D2ZLiS_D.js.map +0 -1
  229. package/dist/chunks/popover.types.B9TXaqAt.js +0 -6
@@ -1,33 +1,33 @@
1
- import { computed as n, ref as E, onMounted as rt, onUnmounted as ct, watch as Z, defineComponent as z, nextTick as Y, toRef as K, useSlots as Se, useAttrs as $e, toRefs as He, inject as Fe } from "vue";
2
- import { B as ae, d as Re } from "./typography.C8lPlsbD.js";
3
- import { g as le } from "./generate-uid.NJ8tVoha.js";
4
- import { u as oe } from "./index.B6WW_F-J.js";
5
- import { u as Je } from "./use-has-slot.C9lQZ6nz.js";
6
- import { C as dt } from "./cross-circle-fill.DTDtgLMf.js";
7
- import { C as ut } from "./cross-circle-fill-small.DfxDedRr.js";
8
- import { n as U } from "./_plugin-vue2_normalizer.CeySl7Fu.js";
9
- import { s as fe } from "./events.BQOQSSb7.js";
10
- import { C as Xe } from "./chevron-down.eYtgv5ly.js";
11
- import { C as Ze } from "./chevron-up.d8cwIlA_.js";
1
+ import { computed as n, ref as E, onMounted as dt, onUnmounted as pt, watch as te, defineComponent as U, nextTick as W, toRef as q, useSlots as Oe, useAttrs as Ve, toRefs as Qe, inject as ze } from "vue";
2
+ import { B as ie, d as $e } from "./typography.C8lPlsbD.js";
3
+ import { g as ne } from "./generate-uid.NJ8tVoha.js";
4
+ import { u as de } from "./index.B6WW_F-J.js";
5
+ import { u as et } from "./use-has-slot.C9lQZ6nz.js";
6
+ import { C as ft } from "./cross-circle-fill.DTDtgLMf.js";
7
+ import { C as bt } from "./cross-circle-fill-small.DfxDedRr.js";
8
+ import { n as G } from "./_plugin-vue2_normalizer.CeySl7Fu.js";
9
+ import { s as ye } from "./events.BQOQSSb7.js";
10
+ import { C as tt } from "./chevron-down.eYtgv5ly.js";
11
+ import { C as lt } from "./chevron-up.d8cwIlA_.js";
12
12
  /* empty css */
13
- import { u as pt } from "./aria-label.CaUURpnB.js";
14
- import { u as ft } from "./form-field.D_2g7vaP.js";
15
- import { u as bt } from "./use-form-layout-loading.CWbjZiwP.js";
16
- import { B as V, a as we } from "./keyboard-navigation.DWmhelVv.js";
17
- import { B as vt } from "./loading-indicator.PxbRzshH.js";
18
- import { B as mt } from "./empty-state.Dttc-ZO_.js";
19
- import { o as _t } from "./resize.Bqks3WUm.js";
13
+ import { u as vt } from "./aria-label.CaUURpnB.js";
14
+ import { u as mt } from "./form-field.D_2g7vaP.js";
15
+ import { u as _t } from "./use-form-layout-loading.CWbjZiwP.js";
16
+ import { B as z, a as ke } from "./keyboard-navigation.DWmhelVv.js";
17
+ import { B as yt } from "./loading-indicator.PxbRzshH.js";
18
+ import { B as gt } from "./empty-state.Dttc-ZO_.js";
19
+ import { o as ht } from "./resize.Bqks3WUm.js";
20
20
  import "./index.Cl4_42j5.js";
21
- import { C as Te, N as yt } from "./minus-small.DJacLGTw.js";
22
- import { C as gt } from "./checkmark-small.DVDtD4HQ.js";
23
- import { B as ht } from "./chip.BFY_-VCz.js";
24
- import { a as St, b as Ue, h as xt, e as Ct } from "./button-actions.DKc63aCb.js";
25
- import { B as Ot } from "./directive.BBWhsNtO.js";
26
- import { F as Et } from "./field-label.CdVbAfK-.js";
27
- import { E as It } from "./error-message.CyERcfdt.js";
28
- import { P as Ge } from "./popper-container.CFYFCz6u.js";
21
+ import { C as De, N as St } from "./minus-small.DJacLGTw.js";
22
+ import { C as xt } from "./checkmark-small.DVDtD4HQ.js";
23
+ import { B as Ct } from "./chip.BFY_-VCz.js";
24
+ import { a as Ot, b as Ye, h as Et, e as It } from "./button-actions.BD4Dyp4U.js";
25
+ import { B as Lt } from "./directive.BBWhsNtO.js";
26
+ import { F as Tt } from "./field-label.CkMM3cXO.js";
27
+ import { E as wt } from "./error-message.CyERcfdt.js";
28
+ import { P as We } from "./popper-container.dxpRn9a5.js";
29
29
  import "../assets/dropdown.css";
30
- const Qe = (a, e, l, t) => {
30
+ const at = (a, e, l, t) => {
31
31
  const s = n(
32
32
  () => {
33
33
  var r, v;
@@ -45,73 +45,73 @@ const Qe = (a, e, l, t) => {
45
45
  }
46
46
  };
47
47
  };
48
- function Lt(a, { disabled: e, itemHeight: l, overscan: t = 5, prefixHeight: s }) {
49
- const o = E(null), i = E([]), r = E(0), v = E(0), u = E(0);
48
+ function At(a, { disabled: e, itemHeight: l, overscan: t = 5, prefixHeight: s }) {
49
+ const o = E(null), i = E([]), r = E(0), v = E(0), d = E(0);
50
50
  let c;
51
- const g = n(() => {
52
- const p = typeof l == "number" ? a.value.length * l : a.value.reduce((T, O, A) => T + l(A), 0), L = typeof l == "number" ? r.value * l : a.value.slice(0, r.value).reduce((T, O, A) => T + l(A), 0);
51
+ const m = n(() => {
52
+ const b = typeof l == "number" ? a.value.length * l : a.value.reduce((T, I, w) => T + l(w), 0), L = typeof l == "number" ? r.value * l : a.value.slice(0, r.value).reduce((T, I, w) => T + l(w), 0);
53
53
  return {
54
54
  style: {
55
55
  marginTop: `${L}px`,
56
- height: `${p - L}px`
56
+ height: `${b - L}px`
57
57
  }
58
58
  };
59
- }), b = () => {
60
- const p = (s == null ? void 0 : s.value) ?? 0, L = Math.max(o.value.scrollTop - p, 0);
59
+ }), p = () => {
60
+ const b = (s == null ? void 0 : s.value) ?? 0, L = Math.max(o.value.scrollTop - b, 0);
61
61
  if (typeof l == "number")
62
62
  return Math.floor(L / l);
63
- let T = 0, O = 0;
64
- for (let A = 0; A < a.value.length; A += 1) {
65
- const M = l(A);
66
- if (T += M, T >= L) {
67
- O = A;
63
+ let T = 0, I = 0;
64
+ for (let w = 0; w < a.value.length; w += 1) {
65
+ const N = l(w);
66
+ if (T += N, T >= L) {
67
+ I = w;
68
68
  break;
69
69
  }
70
70
  }
71
- return O;
71
+ return I;
72
72
  }, f = () => {
73
- if (u.value = o.value.clientHeight, typeof l == "number")
74
- return Math.ceil(u.value / l);
75
- const p = r.value ?? 0;
73
+ if (d.value = o.value.clientHeight, typeof l == "number")
74
+ return Math.ceil(d.value / l);
75
+ const b = r.value ?? 0;
76
76
  let L = 0, T = 0;
77
- for (let O = p; O < a.value.length; O += 1) {
78
- const A = l(O);
79
- if (L += A, T = O, L > u.value)
77
+ for (let I = b; I < a.value.length; I += 1) {
78
+ const w = l(I);
79
+ if (L += w, T = I, L > d.value)
80
80
  break;
81
81
  }
82
- return T - p;
82
+ return T - b;
83
83
  }, h = () => {
84
84
  if (o.value) {
85
- const p = f();
86
- r.value = b(), v.value = Math.min(r.value + p + t, a.value.length), i.value = a.value.slice(r.value, v.value);
85
+ const b = f();
86
+ r.value = p(), v.value = Math.min(r.value + b + t, a.value.length), i.value = a.value.slice(r.value, v.value);
87
87
  }
88
88
  }, y = () => {
89
89
  h();
90
90
  };
91
- e || (rt(() => {
92
- o.value && (u.value = o.value.clientHeight, c = _t(o.value, ({ clientHeight: p }) => {
93
- u.value = p, h();
91
+ e || (dt(() => {
92
+ o.value && (d.value = o.value.clientHeight, c = ht(o.value, ({ clientHeight: b }) => {
93
+ d.value = b, h();
94
94
  }), h());
95
- }), ct(() => {
95
+ }), pt(() => {
96
96
  c == null || c.disconnect();
97
- }), Z(
97
+ }), te(
98
98
  () => a.value,
99
99
  () => {
100
100
  h();
101
101
  }
102
102
  ));
103
- const B = {
103
+ const k = {
104
104
  ref: o,
105
105
  style: { overflowY: "auto" }
106
- }, R = (p) => {
106
+ }, B = (b) => {
107
107
  if (!o.value)
108
108
  return;
109
- const L = typeof l == "number" ? p * l : a.value.slice(0, p).reduce((C, I, N) => C + l(N), 0), T = typeof l == "number" ? l : l(p), O = L + T, { scrollTop: A, clientHeight: M } = o.value, m = A + M;
110
- O > m ? o.value.scrollTop = M > 0 ? O - M : L : L < A && (o.value.scrollTop = L), h();
109
+ const L = typeof l == "number" ? b * l : a.value.slice(0, b).reduce((g, S, R) => g + l(R), 0), T = typeof l == "number" ? l : l(b), I = L + T, { scrollTop: w, clientHeight: N } = o.value, A = w + N;
110
+ I > A ? o.value.scrollTop = N > 0 ? I - N : L : L < w && (o.value.scrollTop = L), h();
111
111
  };
112
112
  return e ? {
113
113
  containerRef: o,
114
- containerProps: B,
114
+ containerProps: k,
115
115
  // eslint-disable-next-line @typescript-eslint/no-empty-function
116
116
  onScroll: () => {
117
117
  },
@@ -122,19 +122,19 @@ function Lt(a, { disabled: e, itemHeight: l, overscan: t = 5, prefixHeight: s })
122
122
  startIndex: E(0)
123
123
  } : {
124
124
  containerRef: o,
125
- containerProps: B,
125
+ containerProps: k,
126
126
  onScroll: y,
127
127
  list: i,
128
- wrapperProps: g,
129
- scrollToIndex: R,
128
+ wrapperProps: m,
129
+ scrollToIndex: B,
130
130
  startIndex: r
131
131
  };
132
132
  }
133
- var d = /* @__PURE__ */ ((a) => (a.SELECT = "select", a.SHOW_MORE = "show-more", a.ESCAPE = "escape-pressed", a.CLICK = "click", a.ENTER = "enter-pressed", a.SPACE = "space-pressed", a.TAB = "tab-pressed", a.CLOSE_DROPDOWN = "close-dropdown", a))(d || {}), te = /* @__PURE__ */ ((a) => (a.AUTOMATIC = "automatic", a.BUTTON = "button", a.NONE = "none", a))(te || {});
134
- const Tt = z({
133
+ var u = /* @__PURE__ */ ((a) => (a.SELECT = "select", a.SHOW_MORE = "show-more", a.ESCAPE = "escape-pressed", a.CLICK = "click", a.ENTER = "enter-pressed", a.SPACE = "space-pressed", a.TAB = "tab-pressed", a.CLOSE_DROPDOWN = "close-dropdown", a))(u || {}), oe = /* @__PURE__ */ ((a) => (a.AUTOMATIC = "automatic", a.BUTTON = "button", a.NONE = "none", a))(oe || {});
134
+ const Dt = U({
135
135
  name: "bento-listbox-static-category",
136
136
  components: {
137
- BentoTypography: ae
137
+ BentoTypography: ie
138
138
  },
139
139
  props: {
140
140
  /**
@@ -146,18 +146,18 @@ const Tt = z({
146
146
  }
147
147
  }
148
148
  });
149
- var wt = function() {
149
+ var kt = function() {
150
150
  var e = this, l = e._self._c;
151
151
  return e._self._setupProxy, l("div", { staticClass: "b-listbox-single-select-category", attrs: { role: "group", "aria-label": e.categoryLabel } }, [l("bento-typography", { staticClass: "b-listbox-single-select-category__label-text", attrs: { variant: "caption", el: "span", "aria-hidden": "true" } }, [e._v(" " + e._s(e.categoryLabel) + " ")]), l("div", [e._t("default")], 2)], 1);
152
- }, At = [], Dt = /* @__PURE__ */ U(
153
- Tt,
154
- wt,
155
- At,
152
+ }, Bt = [], Rt = /* @__PURE__ */ G(
153
+ Dt,
154
+ kt,
155
+ Bt,
156
156
  !1,
157
157
  null,
158
158
  "bfbc1649"
159
159
  );
160
- const kt = Dt.exports, Bt = z({
160
+ const Mt = Rt.exports, Nt = U({
161
161
  name: "bento-listbox-option",
162
162
  props: {
163
163
  /**
@@ -169,7 +169,7 @@ const kt = Dt.exports, Bt = z({
169
169
  */
170
170
  selected: { type: Boolean, default: !1 }
171
171
  },
172
- emits: [d.CLICK, d.ENTER, d.SPACE, d.TAB],
172
+ emits: [u.CLICK, u.ENTER, u.SPACE, u.TAB],
173
173
  setup(a, { emit: e }) {
174
174
  const l = n(() => ({
175
175
  "b-listbox-option--disabled": a.disabled,
@@ -177,13 +177,13 @@ const kt = Dt.exports, Bt = z({
177
177
  }));
178
178
  return {
179
179
  // Enums
180
- BentoKeyboardNavigationKeyDownEvent: V,
181
- BentoListboxEvent: d,
180
+ BentoKeyboardNavigationKeyDownEvent: z,
181
+ BentoListboxEvent: u,
182
182
  // Values
183
183
  conditionalClasses: l,
184
184
  // Events
185
185
  onClick: (o) => {
186
- e(d.CLICK, o);
186
+ e(u.CLICK, o);
187
187
  },
188
188
  onOptionSelected: (o, i) => {
189
189
  e(o, i);
@@ -191,7 +191,7 @@ const kt = Dt.exports, Bt = z({
191
191
  };
192
192
  }
193
193
  });
194
- var Rt = function() {
194
+ var $t = function() {
195
195
  var e = this, l = e._self._c;
196
196
  return e._self._setupProxy, l("div", e._b({ staticClass: "b-listbox-option", class: e.conditionalClasses, attrs: { role: "option" }, on: { click: e.onClick, keydown: [function(t) {
197
197
  return !t.type.indexOf("key") && e._k(t.keyCode, "enter", 13, t.key, "Enter") ? null : e.onOptionSelected(e.BentoListboxEvent.ENTER, t);
@@ -200,38 +200,38 @@ var Rt = function() {
200
200
  }, function(t) {
201
201
  return !t.type.indexOf("key") && e._k(t.keyCode, "tab", 9, t.key, "Tab") ? null : e.onOptionSelected(e.BentoListboxEvent.TAB, t);
202
202
  }] } }, "div", e.$attrs, !1), [e._t("default")], 2);
203
- }, Mt = [], Nt = /* @__PURE__ */ U(
204
- Bt,
205
- Rt,
206
- Mt,
203
+ }, Ft = [], Pt = /* @__PURE__ */ G(
204
+ Nt,
205
+ $t,
206
+ Ft,
207
207
  !1,
208
208
  null,
209
209
  "c345b6c0"
210
210
  );
211
- const Ae = Nt.exports;
212
- let Ke = 0;
213
- const $t = {
211
+ const Be = Pt.exports;
212
+ let je = 0;
213
+ const Vt = {
214
214
  beforeCreate() {
215
- this.uuid = Ke.toString(), Ke += 1;
215
+ this.uuid = je.toString(), je += 1;
216
216
  }
217
217
  };
218
- var Ft = function() {
218
+ var zt = function() {
219
219
  var e = this, l = e._self._c;
220
220
  return l("svg", e._b({ staticClass: "ui-assets-icons-16", attrs: { role: "img", xmlns: "http://www.w3.org/2000/svg", width: "16", height: "16", fill: "none" } }, "svg", e.$attrs, !1), [e.$attrs["svg-title"] ? l("title", [e._v(e._s(e.$attrs["svg-title"]))]) : e._e(), l("path", { attrs: { fill: "#001222", d: "M15.0608 4.00011L14.0001 2.93945L6.00011 10.9395L2.00011 6.93945L0.939453 8.00011L6.00011 13.0608L15.0608 4.00011Z" } })]);
221
- }, Pt = [], Vt = /* @__PURE__ */ U(
222
- $t,
223
- Ft,
224
- Pt,
221
+ }, Ut = [], Gt = /* @__PURE__ */ G(
222
+ Vt,
223
+ zt,
224
+ Ut,
225
225
  !1,
226
226
  null,
227
227
  null
228
228
  );
229
- const zt = Vt.exports, Ut = z({
229
+ const Kt = Gt.exports, qt = U({
230
230
  name: "bento-listbox-single-select-option",
231
231
  components: {
232
- BentoListboxOption: Ae,
233
- BentoTypography: ae,
234
- CheckmarkIcon: zt
232
+ BentoListboxOption: Be,
233
+ BentoTypography: ie,
234
+ CheckmarkIcon: Kt
235
235
  },
236
236
  props: {
237
237
  /**
@@ -251,7 +251,7 @@ const zt = Vt.exports, Ut = z({
251
251
  */
252
252
  selected: { type: Boolean, default: !1 }
253
253
  },
254
- emits: [d.ENTER, d.SELECT, d.SPACE, d.TAB],
254
+ emits: [u.ENTER, u.SELECT, u.SPACE, u.TAB],
255
255
  setup(a, { emit: e }) {
256
256
  const l = (i) => {
257
257
  a.disabled || e(i, a.option);
@@ -262,13 +262,13 @@ const zt = Vt.exports, Ut = z({
262
262
  ariaSelected: s,
263
263
  tabIndex: o,
264
264
  // Enums
265
- BentoListboxEvent: d,
265
+ BentoListboxEvent: u,
266
266
  // Events
267
267
  onOptionSelected: l
268
268
  };
269
269
  }
270
270
  });
271
- var Gt = function() {
271
+ var Yt = function() {
272
272
  var e = this, l = e._self._c;
273
273
  return e._self._setupProxy, l("bento-listbox-option", { staticClass: "b-listbox-single-select-option", attrs: { disabled: e.disabled, selected: e.selected, "aria-selected": e.ariaSelected, "aria-disabled": e.ariaDisabled, tabindex: e.tabIndex }, on: { click: function(t) {
274
274
  return e.onOptionSelected(e.BentoListboxEvent.SELECT);
@@ -281,15 +281,15 @@ var Gt = function() {
281
281
  } } }, [e._t("default", function() {
282
282
  return [l("span", { staticClass: "b-listbox-single-select-option__text" }, [l("bento-typography", { attrs: { el: "span" } }, [e._v(e._s(e.option.label))]), e.option.description ? l("bento-typography", { staticClass: "b-listbox-single-select-option__description", attrs: { el: "span" } }, [e._v(" " + e._s(e.option.description) + " ")]) : e._e()], 1)];
283
283
  }, null, e.option), l("span", { staticClass: "b-listbox-single-select-option__check-icon" }, [l("checkmark-icon", { directives: [{ name: "show", rawName: "v-show", value: e.selected, expression: "selected" }], attrs: { "svg-title": "selected" } })], 1)], 2);
284
- }, Kt = [], qt = /* @__PURE__ */ U(
285
- Ut,
286
- Gt,
287
- Kt,
284
+ }, Wt = [], jt = /* @__PURE__ */ G(
285
+ qt,
286
+ Yt,
287
+ Wt,
288
288
  !1,
289
289
  null,
290
290
  "bb14d75a"
291
291
  );
292
- const Yt = qt.exports, et = ({ items: a, totalItemCount: e }, l) => {
292
+ const Ht = jt.exports, st = ({ items: a, totalItemCount: e }, l) => {
293
293
  const t = n(() => e != null && e.value ? e.value - 1 : a.value.length - 1), s = E(0), o = (f) => {
294
294
  switch (f) {
295
295
  case "increase":
@@ -302,7 +302,7 @@ const Yt = qt.exports, et = ({ items: a, totalItemCount: e }, l) => {
302
302
  }, i = ({ edgeCaseItem: f }, h) => {
303
303
  s.value !== f && (o(h), l(s.value));
304
304
  }, r = (f) => {
305
- b(f), i(
305
+ p(f), i(
306
306
  {
307
307
  edgeCaseItem: t.value
308
308
  },
@@ -310,43 +310,43 @@ const Yt = qt.exports, et = ({ items: a, totalItemCount: e }, l) => {
310
310
  /* INCREASE */
311
311
  );
312
312
  }, v = (f) => {
313
- b(f), i(
313
+ p(f), i(
314
314
  {
315
315
  edgeCaseItem: 0
316
316
  },
317
317
  "decrease"
318
318
  /* DECREASE */
319
319
  );
320
- }, u = () => {
320
+ }, d = () => {
321
321
  s.value = 0, l(s.value);
322
322
  }, c = () => {
323
323
  s.value = t.value, l(s.value);
324
- }, g = (f) => {
324
+ }, m = (f) => {
325
325
  s.value = f;
326
- }, b = (f) => {
326
+ }, p = (f) => {
327
327
  var h;
328
328
  (h = f == null ? void 0 : f.detail) == null || h.preventDefault();
329
329
  };
330
330
  return {
331
- moveToFirstElement: u,
331
+ moveToFirstElement: d,
332
332
  moveToLastElement: c,
333
333
  moveToNextElement: r,
334
334
  moveToPreviousElement: v,
335
- setListboxFocusedIndex: g,
336
- preventDefault: b,
335
+ setListboxFocusedIndex: m,
336
+ preventDefault: p,
337
337
  focusedIndex: s
338
338
  };
339
- }, Pe = (a, e, l = E("option"), t = !0) => {
339
+ }, Ue = (a, e, l = E("option"), t = !0) => {
340
340
  const s = E([]), o = async () => {
341
341
  if (!a.value || a.value.nodeType === Node.COMMENT_NODE)
342
342
  return;
343
343
  const i = Array.from(a.value.querySelectorAll(`[role="${l.value}"]`));
344
344
  s.value = t ? i.filter((r) => r.checkVisibility()) : i;
345
345
  };
346
- return Z(
346
+ return te(
347
347
  e,
348
348
  () => {
349
- Y(() => {
349
+ W(() => {
350
350
  o();
351
351
  });
352
352
  },
@@ -355,13 +355,13 @@ const Yt = qt.exports, et = ({ items: a, totalItemCount: e }, l) => {
355
355
  visibleDomOptions: s,
356
356
  updateVisibleDomOptions: o
357
357
  };
358
- }, Wt = z({
358
+ }, Jt = U({
359
359
  name: "bento-listbox-single-select",
360
360
  components: {
361
- BentoListboxSingleSelectCategory: kt,
362
- BentoListboxSingleSelectOption: Yt
361
+ BentoListboxSingleSelectCategory: Mt,
362
+ BentoListboxSingleSelectOption: Ht
363
363
  },
364
- directives: { BentoKeyboardNavigationDirective: we },
364
+ directives: { BentoKeyboardNavigationDirective: ke },
365
365
  inheritAttrs: !1,
366
366
  props: {
367
367
  /**
@@ -415,71 +415,74 @@ const Yt = qt.exports, et = ({ items: a, totalItemCount: e }, l) => {
415
415
  */
416
416
  virtualScrollStartIndex: { type: Number, default: 0 }
417
417
  },
418
- emits: [d.SELECT, d.ENTER, d.SPACE, d.TAB],
418
+ emits: [u.SELECT, u.ENTER, u.SPACE, u.TAB],
419
419
  setup(a, { emit: e, expose: l, slots: t, attrs: s }) {
420
420
  const o = E(null), i = E([]), r = n(() => {
421
- var m;
422
- return !!((m = a.selectedValue) != null && m.length) && a.selectedValue.at(0);
421
+ var g;
422
+ return !!((g = a.selectedValue) != null && g.length) && a.selectedValue.at(0);
423
423
  }), v = n(
424
424
  () => {
425
- var m, C, I, N;
425
+ var g, S, R, O;
426
426
  return {
427
- "aria-label": (m = s["aria-label"]) == null ? void 0 : m.toString(),
428
- "aria-busy": (C = s["aria-busy"]) == null ? void 0 : C.toString(),
429
- "aria-atomic": (I = s["aria-atomic"]) == null ? void 0 : I.toString(),
430
- "aria-live": (N = s["aria-live"]) == null ? void 0 : N.toString()
427
+ "aria-label": (g = s["aria-label"]) == null ? void 0 : g.toString(),
428
+ "aria-busy": (S = s["aria-busy"]) == null ? void 0 : S.toString(),
429
+ "aria-atomic": (R = s["aria-atomic"]) == null ? void 0 : R.toString(),
430
+ "aria-live": (O = s["aria-live"]) == null ? void 0 : O.toString()
431
431
  };
432
432
  }
433
- ), u = n(() => !!a.items.some(({ items: m }) => !!m)), c = (m) => (C) => {
434
- e(m, [C]);
435
- }, { visibleDomOptions: g, updateVisibleDomOptions: b } = Pe(
433
+ ), d = n(() => !!a.items.some(({ items: g }) => !!g)), c = (g) => (S) => {
434
+ e(g, [S]);
435
+ }, { visibleDomOptions: m, updateVisibleDomOptions: p } = Ue(
436
436
  o,
437
- K(a, "items"),
437
+ q(a, "items"),
438
438
  E("option"),
439
439
  !1
440
- ), f = n(() => a.totalItemCount > 0), h = (m) => {
440
+ ), f = n(() => a.totalItemCount > 0), h = (g) => {
441
441
  if (!f.value)
442
442
  return;
443
- const C = m.target;
444
- if (C === o.value || (C == null ? void 0 : C.getAttribute("role")) !== "option")
443
+ const S = g.target;
444
+ if (S === o.value || (S == null ? void 0 : S.getAttribute("role")) !== "option")
445
445
  return;
446
- const I = g.value.indexOf(C);
447
- if (I !== -1) {
448
- const N = I + a.virtualScrollStartIndex;
449
- O(N);
446
+ const R = m.value.indexOf(S);
447
+ if (R !== -1) {
448
+ const O = R + a.virtualScrollStartIndex;
449
+ w(O);
450
450
  }
451
- }, y = async (m) => {
452
- var C, I;
451
+ }, y = async (g) => {
452
+ var S, R;
453
453
  if (f.value && a.scrollToIndex) {
454
- a.scrollToIndex(m), await Y(), await b();
455
- const N = m - a.virtualScrollStartIndex;
456
- (C = g.value[N]) == null || C.focus();
454
+ a.scrollToIndex(g), await W(), await p();
455
+ const O = g - a.virtualScrollStartIndex;
456
+ (S = m.value[O]) == null || S.focus();
457
457
  } else
458
- (I = g.value[m]) == null || I.focus();
459
- }, B = async (m) => {
460
- O(m), await y(m);
458
+ (R = m.value[g]) == null || R.focus();
459
+ }, k = async (g) => {
460
+ w(g), await y(g);
461
+ }, B = async (g) => {
462
+ var S, R;
463
+ await p(), f.value && a.scrollToIndex ? a.scrollToIndex(g) : (R = (S = m.value[g]) == null ? void 0 : S.scrollIntoView) == null || R.call(S, { block: "nearest" });
461
464
  }, {
462
- moveToNextElement: R,
463
- moveToPreviousElement: p,
464
- moveToFirstElement: L,
465
- moveToLastElement: T,
466
- setListboxFocusedIndex: O
467
- } = et(
465
+ moveToNextElement: b,
466
+ moveToPreviousElement: L,
467
+ moveToFirstElement: T,
468
+ moveToLastElement: I,
469
+ setListboxFocusedIndex: w
470
+ } = st(
468
471
  {
469
- items: g,
470
- totalItemCount: K(a, "totalItemCount")
472
+ items: m,
473
+ totalItemCount: q(a, "totalItemCount")
471
474
  },
472
475
  y
473
- ), A = {
474
- [V.ARROW_UP]: p,
475
- [V.ARROW_DOWN]: R,
476
- [V.HOME]: L,
477
- [V.END]: T
478
- }, M = {
479
- [d.SELECT]: c(d.SELECT),
480
- [d.SPACE]: c(d.SPACE),
481
- [d.TAB]: c(d.TAB),
482
- [d.ENTER]: c(d.ENTER)
476
+ ), N = {
477
+ [z.ARROW_UP]: L,
478
+ [z.ARROW_DOWN]: b,
479
+ [z.HOME]: T,
480
+ [z.END]: I
481
+ }, A = {
482
+ [u.SELECT]: c(u.SELECT),
483
+ [u.SPACE]: c(u.SPACE),
484
+ [u.TAB]: c(u.TAB),
485
+ [u.ENTER]: c(u.ENTER)
483
486
  };
484
487
  return l({
485
488
  /**
@@ -491,15 +494,20 @@ const Yt = qt.exports, et = ({ items: a, totalItemCount: e }, l) => {
491
494
  * Method to set the index of the item to be focused on
492
495
  * Used for focus management to be kept in-sync with parent e.g. dropdowns
493
496
  */
494
- setListboxFocusedIndex: O,
497
+ setListboxFocusedIndex: w,
495
498
  /**
496
499
  * Navigates to an item by global index, handling virtual scroll if enabled.
497
500
  * Scrolls the virtual list and focuses the item.
498
501
  */
499
- navigateToItem: B
502
+ navigateToItem: k,
503
+ /**
504
+ * Scrolls to an item by global index without changing focus.
505
+ * Used when the dropdown opens via click to bring the selected option into view.
506
+ */
507
+ scrollToItem: B
500
508
  }), {
501
509
  // Enums
502
- BentoListboxEvent: d,
510
+ BentoListboxEvent: u,
503
511
  // Values
504
512
  listboxRef: o,
505
513
  listboxItemRef: i,
@@ -507,18 +515,18 @@ const Yt = qt.exports, et = ({ items: a, totalItemCount: e }, l) => {
507
515
  slots: t,
508
516
  ariaAttributes: v,
509
517
  // Computed
510
- hasCategories: u,
518
+ hasCategories: d,
511
519
  // Methods
512
520
  onOptionSelected: c,
513
521
  // Keyboard navigation
514
- listboxListeners: A,
515
- listboxOptionListeners: M,
522
+ listboxListeners: N,
523
+ listboxOptionListeners: A,
516
524
  // Virtual scroll focus management
517
525
  handleVirtualScrollingFocus: h
518
526
  };
519
527
  }
520
528
  });
521
- var jt = function() {
529
+ var Xt = function() {
522
530
  var e = this, l = e._self._c;
523
531
  return e._self._setupProxy, l("div", e._g(e._b({ directives: [{ name: "bento-keyboard-navigation-directive", rawName: "v-bento-keyboard-navigation-directive" }], ref: "listboxRef", attrs: { role: "listbox" }, on: { focusin: e.handleVirtualScrollingFocus } }, "div", e.ariaAttributes, !1), e.listboxListeners), [e.hasCategories && e.staticCategories ? [e._l(e.items, function(t) {
524
532
  return [t.items && t.items.length > 0 ? l("bento-listbox-single-select-category", { key: `category-${t.value}`, attrs: { "category-label": t.label } }, e._l(t.items, function(s) {
@@ -539,34 +547,34 @@ var jt = function() {
539
547
  } };
540
548
  })], null, !0) }, e.listboxOptionListeners));
541
549
  })], 2);
542
- }, Ht = [], Jt = /* @__PURE__ */ U(
543
- Wt,
544
- jt,
545
- Ht,
550
+ }, Zt = [], Qt = /* @__PURE__ */ G(
551
+ Jt,
552
+ Xt,
553
+ Zt,
546
554
  !1,
547
555
  null,
548
556
  null
549
557
  );
550
- const Xt = Jt.exports;
551
- let qe = 0;
552
- const Zt = {
558
+ const el = Qt.exports;
559
+ let He = 0;
560
+ const tl = {
553
561
  beforeCreate() {
554
- this.uuid = qe.toString(), qe += 1;
562
+ this.uuid = He.toString(), He += 1;
555
563
  }
556
564
  };
557
- var Qt = function() {
565
+ var ll = function() {
558
566
  var e = this, l = e._self._c;
559
567
  return l("svg", e._b({ staticClass: "ui-assets-icons-16", attrs: { role: "img", xmlns: "http://www.w3.org/2000/svg", width: "16", height: "16", fill: "none" } }, "svg", e.$attrs, !1), [e.$attrs["svg-title"] ? l("title", [e._v(e._s(e.$attrs["svg-title"]))]) : e._e(), l("path", { attrs: { fill: "#001222", d: "M9.69043 5.75L4.62988 10.8105L1.56934 7.75L2.62988 6.68945L4.62988 8.68945L8.62988 4.68945L9.69043 5.75Z" } }), l("path", { attrs: { fill: "#001222", d: "M13.9307 5.75L8.87012 10.8105L7.80957 9.75L12.8701 4.68945L13.9307 5.75Z" } })]);
560
- }, el = [], tl = /* @__PURE__ */ U(
561
- Zt,
562
- Qt,
563
- el,
568
+ }, al = [], sl = /* @__PURE__ */ G(
569
+ tl,
570
+ ll,
571
+ al,
564
572
  !1,
565
573
  null,
566
574
  null
567
575
  );
568
- const ll = tl.exports, al = {}, sl = /* @__PURE__ */ z({
569
- ...al,
576
+ const ol = sl.exports, nl = {}, il = /* @__PURE__ */ U({
577
+ ...nl,
570
578
  __name: "decorative-checkbox",
571
579
  props: {
572
580
  disabled: { type: Boolean, default: !1 },
@@ -576,29 +584,29 @@ const ll = tl.exports, al = {}, sl = /* @__PURE__ */ z({
576
584
  },
577
585
  setup(a) {
578
586
  const e = a, l = n(() => ({
579
- [`b-checkbox-input--${Te.DISABLED}`]: e.disabled
587
+ [`b-checkbox-input--${De.DISABLED}`]: e.disabled
580
588
  })), t = n(() => ({
581
- [`b-checkbox-input__outline--${Te.UNCHECKED}`]: !e.checked && !e.indeterminate && !e.allSelected,
582
- [`b-checkbox-input__outline--${Te.CHECKED}`]: (e.checked || e.allSelected) && !e.indeterminate,
583
- [`b-checkbox-input__outline--${Te.INDETERMINATE}`]: e.indeterminate
589
+ [`b-checkbox-input__outline--${De.UNCHECKED}`]: !e.checked && !e.indeterminate && !e.allSelected,
590
+ [`b-checkbox-input__outline--${De.CHECKED}`]: (e.checked || e.allSelected) && !e.indeterminate,
591
+ [`b-checkbox-input__outline--${De.INDETERMINATE}`]: e.indeterminate
584
592
  }));
585
- return { __sfc: !0, props: e, conditionalClasses: l, outlineConditionalClasses: t, CheckmarkSmallIcon: gt, MinusSmallIcon: yt, DoubleCheckmarkSmallIcon: ll };
593
+ return { __sfc: !0, props: e, conditionalClasses: l, outlineConditionalClasses: t, CheckmarkSmallIcon: xt, MinusSmallIcon: St, DoubleCheckmarkSmallIcon: ol };
586
594
  }
587
595
  });
588
- var ol = function() {
596
+ var rl = function() {
589
597
  var e = this, l = e._self._c, t = e._self._setupProxy;
590
598
  return l("div", { staticClass: "b-checkbox-input", class: t.conditionalClasses, attrs: { role: "presentation" } }, [e.indeterminate ? l(t.MinusSmallIcon, { staticClass: "b-checkbox-input__icon", attrs: { "svg-title": "", "aria-hidden": "true" } }) : e.allSelected ? l(t.DoubleCheckmarkSmallIcon, { staticClass: "b-checkbox-input__icon", attrs: { "svg-title": "", "aria-hidden": "true", "data-testid": "decorative-checkbox-double-checkmark-icon" } }) : e.checked ? l(t.CheckmarkSmallIcon, { staticClass: "b-checkbox-input__icon", attrs: { "svg-title": "", "aria-hidden": "true" } }) : e._e(), l("div", { staticClass: "b-checkbox-input__outline", class: t.outlineConditionalClasses })], 1);
591
- }, nl = [], il = /* @__PURE__ */ U(
592
- sl,
593
- ol,
594
- nl,
599
+ }, cl = [], ul = /* @__PURE__ */ G(
600
+ il,
601
+ rl,
602
+ cl,
595
603
  !1,
596
604
  null,
597
605
  "b87bbaf9"
598
606
  );
599
- const Ve = il.exports;
600
- var tt = /* @__PURE__ */ ((a) => (a.DISABLED = "disabled", a.STATIC_CATEGORY = "static-category", a))(tt || {}), se = /* @__PURE__ */ ((a) => (a.SELECT_CATEGORY = "select-category", a.UNSELECT_CATEGORY = "unselect-category", a.TOGGLE_CATEGORY_VISIBILITY = "toggle-category-visibility", a))(se || {});
601
- const rl = {
607
+ const Ge = ul.exports;
608
+ var ot = /* @__PURE__ */ ((a) => (a.DISABLED = "disabled", a.STATIC_CATEGORY = "static-category", a))(ot || {}), ue = /* @__PURE__ */ ((a) => (a.SELECT_CATEGORY = "select-category", a.UNSELECT_CATEGORY = "unselect-category", a.TOGGLE_CATEGORY_VISIBILITY = "toggle-category-visibility", a))(ue || {});
609
+ const dl = {
602
610
  "de-DE": {
603
611
  categoryClosed: "{category} geschlossen",
604
612
  categoryOpened: "{category} geöffnet"
@@ -639,15 +647,15 @@ const rl = {
639
647
  categoryClosed: "{category} 已关闭",
640
648
  categoryOpened: "{category} 已打开"
641
649
  }
642
- }, cl = z({
643
- i18n: { messages: rl },
650
+ }, pl = U({
651
+ i18n: { messages: dl },
644
652
  name: "bento-listbox-multi-select-category",
645
653
  components: {
646
- BentoTypography: ae,
647
- BentoListboxOption: Ae,
648
- ChevronDownIcon: Xe,
649
- ChevronUpIcon: Ze,
650
- DecorativeCheckbox: Ve
654
+ BentoTypography: ie,
655
+ BentoListboxOption: Be,
656
+ ChevronDownIcon: tt,
657
+ ChevronUpIcon: lt,
658
+ DecorativeCheckbox: Ge
651
659
  },
652
660
  props: {
653
661
  /**
@@ -693,75 +701,75 @@ const rl = {
693
701
  tabindex: { type: Number, default: -1 }
694
702
  },
695
703
  emits: [
696
- se.SELECT_CATEGORY,
697
- se.UNSELECT_CATEGORY,
698
- se.TOGGLE_CATEGORY_VISIBILITY
704
+ ue.SELECT_CATEGORY,
705
+ ue.UNSELECT_CATEGORY,
706
+ ue.TOGGLE_CATEGORY_VISIBILITY
699
707
  ],
700
708
  setup(a, { emit: e }) {
701
- const l = E(!1), { t } = oe(), s = le("category-group"), o = le("category-name"), i = (m) => a.isOptionDisabled ? a.isOptionDisabled(m) : !1, r = n(
702
- () => a.category.items.every((m) => i(m))
703
- ), v = K(a, "staticCategories"), u = n(() => l.value || a.staticCategories), c = n(() => ({
704
- [`b-listbox-multi-select-category--${tt.DISABLED}`]: r.value
705
- })), g = (m, C) => {
706
- m.preventDefault(), l.value = C !== void 0 ? C : !l.value, e(se.TOGGLE_CATEGORY_VISIBILITY, a.category.value);
707
- }, b = (m) => {
708
- var N;
709
- const C = i(m), I = ((N = a.selectedItemsList) == null ? void 0 : N.includes(m.value)) || !1;
710
- return { isDisabled: C, isPreSelected: I };
709
+ const l = E(!1), { t } = de(), s = ne("category-group"), o = ne("category-name"), i = (A) => a.isOptionDisabled ? a.isOptionDisabled(A) : !1, r = n(
710
+ () => a.category.items.every((A) => i(A))
711
+ ), v = q(a, "staticCategories"), d = n(() => l.value || a.staticCategories), c = n(() => ({
712
+ [`b-listbox-multi-select-category--${ot.DISABLED}`]: r.value
713
+ })), m = (A, g) => {
714
+ A.preventDefault(), l.value = g !== void 0 ? g : !l.value, e(ue.TOGGLE_CATEGORY_VISIBILITY, a.category.value);
715
+ }, p = (A) => {
716
+ var R;
717
+ const g = i(A), S = ((R = a.selectedItemsList) == null ? void 0 : R.includes(A.value)) || !1;
718
+ return { isDisabled: g, isPreSelected: S };
711
719
  }, f = n(
712
- () => a.category.items.filter((m) => {
713
- const { isDisabled: C, isPreSelected: I } = b(m);
714
- return C && I || !C;
720
+ () => a.category.items.filter((A) => {
721
+ const { isDisabled: g, isPreSelected: S } = p(A);
722
+ return g && S || !g;
715
723
  })
716
724
  ), h = n(
717
725
  () => {
718
- var m;
719
- return (m = f.value) == null ? void 0 : m.filter(
720
- ({ value: C }) => {
721
- var I;
722
- return (I = a.selectedItemsList) == null ? void 0 : I.includes(C);
726
+ var A;
727
+ return (A = f.value) == null ? void 0 : A.filter(
728
+ ({ value: g }) => {
729
+ var S;
730
+ return (S = a.selectedItemsList) == null ? void 0 : S.includes(g);
723
731
  }
724
732
  );
725
733
  }
726
734
  ), y = n(() => {
727
- const m = l.value ? "categoryOpened" : "categoryClosed";
728
- return t(m, { category: a.category.label });
729
- }), B = () => {
730
- e(se.SELECT_CATEGORY);
731
- }, R = () => {
732
- e(se.UNSELECT_CATEGORY);
733
- }, { isAllSelected: p, isIndeterminate: L, toggleSelectAll: T } = Qe(
735
+ const A = l.value ? "categoryOpened" : "categoryClosed";
736
+ return t(A, { category: a.category.label });
737
+ }), k = () => {
738
+ e(ue.SELECT_CATEGORY);
739
+ }, B = () => {
740
+ e(ue.UNSELECT_CATEGORY);
741
+ }, { isAllSelected: b, isIndeterminate: L, toggleSelectAll: T } = at(
734
742
  h,
735
743
  f,
736
- B,
737
- R
738
- ), O = n(() => L.value ? "mixed" : `${p.value}`), A = E(p.value), M = () => {
739
- A.value = !A.value, T(A.value);
744
+ k,
745
+ B
746
+ ), I = n(() => L.value ? "mixed" : `${b.value}`), w = E(b.value), N = () => {
747
+ w.value = !w.value, T(w.value);
740
748
  };
741
- return Z(p, () => {
742
- A.value = p.value;
749
+ return te(b, () => {
750
+ w.value = b.value;
743
751
  }), {
744
752
  // Values
745
753
  chevronTitle: y,
746
754
  conditionalClass: c,
747
755
  hasAllPropsDisabled: r,
748
756
  isOpen: l,
749
- isAllSelected: p,
757
+ isAllSelected: b,
750
758
  isIndeterminate: L,
751
759
  isStaticCategory: v,
752
760
  categoryGroupId: s,
753
761
  categoryNameId: o,
754
762
  // Computed
755
- showItemChildren: u,
756
- ariaCheckedComputed: O,
763
+ showItemChildren: d,
764
+ ariaCheckedComputed: I,
757
765
  // Methods
758
- handleSelectAll: M,
759
- toggleOpen: g,
766
+ handleSelectAll: N,
767
+ toggleOpen: m,
760
768
  toggleSelectAll: T
761
769
  };
762
770
  }
763
771
  });
764
- var dl = function() {
772
+ var fl = function() {
765
773
  var e = this, l = e._self._c;
766
774
  return e._self._setupProxy, l("div", [e.isStaticCategory ? l("div", { staticClass: "b-listbox-multi-select-category b-listbox-multi-select-category--static-category", attrs: { "aria-hidden": "true" } }, [l("span", { staticClass: "b-listbox-multi-select-category__label" }, [l("bento-typography", { staticClass: "b-listbox-multi-select-category__label-text", attrs: { el: "span", variant: "caption" } }, [e._v(" " + e._s(e.category.label) + " ")])], 1)]) : l("bento-listbox-option", { staticClass: "b-listbox-multi-select-category__option", class: e.conditionalClass, attrs: { tabindex: e.tabindex, "aria-selected": e.ariaCheckedComputed !== "false", "aria-checked": e.ariaCheckedComputed, "aria-disabled": e.hasAllPropsDisabled, "aria-expanded": `${e.isOpen}`, role: "treeitem", "aria-owns": e.categoryGroupId, "aria-labelledby": e.categoryNameId }, on: { click: e.handleSelectAll, "enter-pressed": e.handleSelectAll, "space-pressed": function(t) {
767
775
  return t.preventDefault(), e.handleSelectAll.apply(null, arguments);
@@ -772,23 +780,23 @@ var dl = function() {
772
780
  }] } }, [l("decorative-checkbox", { attrs: { indeterminate: e.isIndeterminate, disabled: e.hasAllPropsDisabled, checked: e.isAllSelected } }), l("span", { staticClass: "b-listbox-multi-select-category__label" }, [l("bento-typography", { staticClass: "b-listbox-multi-select-category__label-text", attrs: { id: e.categoryNameId, el: "span" } }, [e._v(" " + e._s(e.category.label) + " ")]), l("div", { staticClass: "b-listbox-multi-select-category__label-chevron", attrs: { "aria-hidden": "true", "data-testid": "toggle-listbox" }, on: { "!click": function(t) {
773
781
  return t.stopPropagation(), e.toggleOpen.apply(null, arguments);
774
782
  } } }, [e.isOpen ? l("chevron-up-icon", { attrs: { "svg-title": e.chevronTitle } }) : l("chevron-down-icon", { attrs: { "svg-title": e.chevronTitle } })], 1)], 1)], 1), l("div", { directives: [{ name: "show", rawName: "v-show", value: e.showItemChildren, expression: "showItemChildren" }], attrs: { id: e.categoryGroupId, role: "group", "aria-label": e.category.label } }, [e._t("default")], 2)], 1);
775
- }, ul = [], pl = /* @__PURE__ */ U(
776
- cl,
777
- dl,
778
- ul,
783
+ }, bl = [], vl = /* @__PURE__ */ G(
784
+ pl,
785
+ fl,
786
+ bl,
779
787
  !1,
780
788
  null,
781
789
  "00ccd708"
782
790
  );
783
- const fl = pl.exports;
784
- var X = /* @__PURE__ */ ((a) => (a.SELECT_CATEGORY = "select-category", a.TOGGLE_CHECKBOX_SELECTION = "toggle-checkbox-selection", a.UNSELECT_CATEGORY = "unselect-category", a.TOGGLE_CATEGORY_VISIBILITY = "toggle-category-visibility", a))(X || {});
785
- const bl = z({
791
+ const ml = vl.exports;
792
+ var ee = /* @__PURE__ */ ((a) => (a.SELECT_CATEGORY = "select-category", a.TOGGLE_CHECKBOX_SELECTION = "toggle-checkbox-selection", a.UNSELECT_CATEGORY = "unselect-category", a.TOGGLE_CATEGORY_VISIBILITY = "toggle-category-visibility", a))(ee || {});
793
+ const _l = U({
786
794
  name: "listbox-multi-select-options",
787
795
  components: {
788
- BentoListboxOption: Ae,
789
- BentoTypography: ae,
790
- ListboxMultiSelectCategory: fl,
791
- DecorativeCheckbox: Ve
796
+ BentoListboxOption: Be,
797
+ BentoTypography: ie,
798
+ ListboxMultiSelectCategory: ml,
799
+ DecorativeCheckbox: Ge
792
800
  },
793
801
  inheritAttrs: !1,
794
802
  props: {
@@ -858,23 +866,23 @@ const bl = z({
858
866
  }
859
867
  },
860
868
  emits: [
861
- X.TOGGLE_CHECKBOX_SELECTION,
862
- X.SELECT_CATEGORY,
863
- X.UNSELECT_CATEGORY,
864
- X.TOGGLE_CATEGORY_VISIBILITY
869
+ ee.TOGGLE_CHECKBOX_SELECTION,
870
+ ee.SELECT_CATEGORY,
871
+ ee.UNSELECT_CATEGORY,
872
+ ee.TOGGLE_CATEGORY_VISIBILITY
865
873
  ],
866
874
  setup(a, { emit: e }) {
867
- const l = (u) => {
868
- a.isOptionDisabled(u) || e(X.TOGGLE_CHECKBOX_SELECTION, u);
869
- }, t = (u) => !!u.items, s = (u) => {
875
+ const l = (d) => {
876
+ a.isOptionDisabled(d) || e(ee.TOGGLE_CHECKBOX_SELECTION, d);
877
+ }, t = (d) => !!d.items, s = (d) => {
870
878
  const c = a.isMultiLevel && a.searching;
871
- return u.description && (!a.isMultiLevel || c);
872
- }, o = (u) => u.items ? !!u.items.find((c) => a.selectedItemsList.includes(c.value)) : a.selectedItemsList.includes(u.value), i = (u) => {
873
- if (t(u)) {
874
- const c = o(u) ? X.UNSELECT_CATEGORY : X.SELECT_CATEGORY;
875
- e(c, u);
879
+ return d.description && (!a.isMultiLevel || c);
880
+ }, o = (d) => d.items ? !!d.items.find((c) => a.selectedItemsList.includes(c.value)) : a.selectedItemsList.includes(d.value), i = (d) => {
881
+ if (t(d)) {
882
+ const c = o(d) ? ee.UNSELECT_CATEGORY : ee.SELECT_CATEGORY;
883
+ e(c, d);
876
884
  } else
877
- l(u);
885
+ l(d);
878
886
  };
879
887
  return {
880
888
  // Values
@@ -887,14 +895,14 @@ const bl = z({
887
895
  shouldShowDescription: s,
888
896
  toggleCheckboxSelection: l,
889
897
  toggleSearchOption: i,
890
- computedTabindex: (u) => a.itemsIndex[u] === a.focusedIndex ? 0 : -1,
898
+ computedTabindex: (d) => a.itemsIndex[d] === a.focusedIndex ? 0 : -1,
891
899
  // Enums
892
- BentoListboxEvent: d,
893
- ListboxMultiSelectOptionsEvent: X
900
+ BentoListboxEvent: u,
901
+ ListboxMultiSelectOptionsEvent: ee
894
902
  };
895
903
  }
896
904
  });
897
- var vl = function() {
905
+ var yl = function() {
898
906
  var e = this, l = e._self._c;
899
907
  return e._self._setupProxy, l("div", e._l(e.items, function(t) {
900
908
  return l("div", { key: `selected-${t.value}` }, [e.searching && e.isMultiLevel ? [l("bento-listbox-option", { staticClass: "b-listbox-multi-select-options", class: e.conditionalClasses, attrs: { disabled: e.isOptionDisabled ? e.isOptionDisabled(t) : null, tabindex: e.computedTabindex(t.value), "aria-selected": `${e.isOptionSelected(t)}`, "aria-checked": `${e.isOptionSelected(t)}`, "aria-disabled": e.isOptionDisabled ? e.isOptionDisabled(t) : null, role: e.$attrs.role || "option" }, on: { click: function(s) {
@@ -921,15 +929,15 @@ var vl = function() {
921
929
  return [l("span", { staticClass: "b-listbox-multi-select__option-text" }, [l("bento-typography", { attrs: { el: "span" } }, [e._v(e._s(t.label))]), e.shouldShowDescription(t) ? l("bento-typography", { staticClass: "b-listbox-multi-select__option-description", attrs: { el: "span" } }, [e._v(" " + e._s(t.description) + " ")]) : e._e()], 1)];
922
930
  }, null, t)], 2)]], 2);
923
931
  }), 0);
924
- }, ml = [], _l = /* @__PURE__ */ U(
925
- bl,
926
- vl,
927
- ml,
932
+ }, gl = [], hl = /* @__PURE__ */ G(
933
+ _l,
934
+ yl,
935
+ gl,
928
936
  !1,
929
937
  null,
930
938
  "0985e0a4"
931
939
  );
932
- const yl = _l.exports, lt = (a) => {
940
+ const Sl = hl.exports, nt = (a) => {
933
941
  const e = n(() => {
934
942
  var t;
935
943
  return !!((t = a.value) != null && t.find(({ items: s }) => !!s));
@@ -941,7 +949,7 @@ const yl = _l.exports, lt = (a) => {
941
949
  isMultiLevelSelect: e,
942
950
  flattenedItemsList: l
943
951
  };
944
- }, gl = {
952
+ }, xl = {
945
953
  "de-DE": {
946
954
  allSelected: "Alle ausgewählt ({total})",
947
955
  numberOfTotalSelected: "{number} von {total} ausgewählt",
@@ -1002,8 +1010,8 @@ const yl = _l.exports, lt = (a) => {
1002
1010
  numbersSelected: "已选择 {number} 个",
1003
1011
  selectAll: "选择全部({total})个"
1004
1012
  }
1005
- }, hl = { i18n: { messages: gl } }, Sl = /* @__PURE__ */ z({
1006
- ...hl,
1013
+ }, Cl = { i18n: { messages: xl } }, Ol = /* @__PURE__ */ U({
1014
+ ...Cl,
1007
1015
  __name: "listbox-multi-select",
1008
1016
  props: {
1009
1017
  hasMoreItems: { type: Boolean, default: !1 },
@@ -1016,143 +1024,148 @@ const yl = _l.exports, lt = (a) => {
1016
1024
  },
1017
1025
  emits: ["select"],
1018
1026
  setup(a, { expose: e, emit: l }) {
1019
- const t = a, { t: s, n: o } = oe(), i = Se(), r = $e(), v = n(
1027
+ const t = a, { t: s, n: o } = de(), i = Oe(), r = Ve(), v = n(
1020
1028
  () => {
1021
- var _, S, x, k;
1029
+ var _, x, C, D;
1022
1030
  return {
1023
1031
  "aria-label": (_ = r["aria-label"]) == null ? void 0 : _.toString(),
1024
- "aria-busy": (S = r["aria-busy"]) == null ? void 0 : S.toString(),
1025
- "aria-atomic": (x = r["aria-atomic"]) == null ? void 0 : x.toString(),
1026
- "aria-live": (k = r["aria-live"]) == null ? void 0 : k.toString(),
1032
+ "aria-busy": (x = r["aria-busy"]) == null ? void 0 : x.toString(),
1033
+ "aria-atomic": (C = r["aria-atomic"]) == null ? void 0 : C.toString(),
1034
+ "aria-live": (D = r["aria-live"]) == null ? void 0 : D.toString(),
1027
1035
  "aria-multiselectable": !0
1028
1036
  };
1029
1037
  }
1030
- ), u = E(null), c = E(null), g = E(null), b = E(null), f = n(() => t.selectedValues.map(({ value: _ }) => _)), { isMultiLevelSelect: h, flattenedItemsList: y } = lt(K(t, "items")), B = n(() => h.value && !t.staticCategories), R = n(() => B.value ? "tree" : "listbox"), p = n(() => B.value ? "treeitem" : "option"), L = (_) => {
1031
- var k;
1032
- const S = t.isOptionDisabled(_), x = ((k = f.value) == null ? void 0 : k.includes(_.value)) || !1;
1033
- return { isDisabled: S, isPreSelected: x };
1038
+ ), d = E(null), c = E(null), m = E(null), p = E(null), f = n(() => t.selectedValues.map(({ value: _ }) => _)), { isMultiLevelSelect: h, flattenedItemsList: y } = nt(q(t, "items")), k = n(() => h.value && !t.staticCategories), B = n(() => k.value ? "tree" : "listbox"), b = n(() => k.value ? "treeitem" : "option"), L = (_) => {
1039
+ var D;
1040
+ const x = t.isOptionDisabled(_), C = ((D = f.value) == null ? void 0 : D.includes(_.value)) || !1;
1041
+ return { isDisabled: x, isPreSelected: C };
1034
1042
  }, T = n(() => {
1035
1043
  if (t.searching && h)
1036
1044
  return t.items;
1037
- const _ = y.value.filter((S) => {
1038
- const { isDisabled: x, isPreSelected: k } = L(S);
1039
- return x && k || !x;
1045
+ const _ = y.value.filter((x) => {
1046
+ const { isDisabled: C, isPreSelected: D } = L(x);
1047
+ return C && D || !C;
1040
1048
  });
1041
- return t.selectedValues.forEach((S) => {
1042
- _.find((x) => x.value === S.value) || _.push(S);
1049
+ return t.selectedValues.forEach((x) => {
1050
+ _.find((C) => C.value === x.value) || _.push(x);
1043
1051
  }), _;
1044
- }), O = n(
1052
+ }), I = n(
1045
1053
  () => {
1046
1054
  var _;
1047
- return (_ = T.value) == null ? void 0 : _.filter((S) => {
1048
- var x;
1049
- return S.items && h.value && t.searching ? S.items.filter(
1050
- (w) => (t.selectedValues ?? []).includes(w.value)
1051
- ).length === S.items.length : (x = f.value) == null ? void 0 : x.includes(S.value);
1055
+ return (_ = T.value) == null ? void 0 : _.filter((x) => {
1056
+ var C;
1057
+ return x.items && h.value && t.searching ? x.items.filter(
1058
+ (M) => (t.selectedValues ?? []).includes(M.value)
1059
+ ).length === x.items.length : (C = f.value) == null ? void 0 : C.includes(x.value);
1052
1060
  });
1053
1061
  }
1054
- ), A = () => h.value && !t.searching ? y.value.length : t.items.length, M = n(() => {
1055
- var k;
1056
- const _ = T.value.length, S = A(), x = ((k = O.value) == null ? void 0 : k.length) || 0;
1057
- return x === 0 ? s("selectAll", { total: o(_) }) : x === S ? s("allSelected", { total: o(S) }) : x <= S ? s("numberOfTotalSelected", { number: o(x), total: o(S) }) : s("numbersSelected", { number: o(x) });
1058
- }), m = (_) => {
1059
- const S = (k) => {
1060
- const { isDisabled: w, isPreSelected: W } = L(k);
1061
- return w && W || !w;
1062
- }, x = _.filter(S).filter((k) => !f.value.includes(k.value));
1063
- l("select", [...t.selectedValues, ...x]);
1064
- }, C = (_) => {
1065
- const S = (w) => {
1066
- const { isDisabled: W, isPreSelected: Le } = L(w);
1067
- return !(W && Le);
1068
- }, x = _.filter(S).map(({ value: w }) => w), k = t.selectedValues.filter((w) => !(x != null && x.includes(w.value)));
1069
- l("select", k);
1070
- }, I = () => {
1071
- m(y.value);
1072
- }, N = () => {
1073
- C(y.value);
1074
- }, { isAllSelected: D, isIndeterminate: $, toggleSelectAll: J } = Qe(
1075
- O,
1076
- T,
1062
+ ), w = () => h.value && !t.searching ? y.value.length : t.items.length, N = n(() => {
1063
+ var D;
1064
+ const _ = T.value.length, x = w(), C = ((D = I.value) == null ? void 0 : D.length) || 0;
1065
+ return C === 0 ? s("selectAll", { total: o(_) }) : C === x ? s("allSelected", { total: o(x) }) : C <= x ? s("numberOfTotalSelected", { number: o(C), total: o(x) }) : s("numbersSelected", { number: o(C) });
1066
+ }), A = (_) => {
1067
+ const x = (D) => {
1068
+ const { isDisabled: M, isPreSelected: J } = L(D);
1069
+ return M && J || !M;
1070
+ }, C = _.filter(x).filter((D) => !f.value.includes(D.value));
1071
+ l("select", [...t.selectedValues, ...C]);
1072
+ }, g = (_) => {
1073
+ const x = (M) => {
1074
+ const { isDisabled: J, isPreSelected: F } = L(M);
1075
+ return !(J && F);
1076
+ }, C = _.filter(x).map(({ value: M }) => M), D = t.selectedValues.filter((M) => !(C != null && C.includes(M.value)));
1077
+ l("select", D);
1078
+ }, S = () => {
1079
+ A(y.value);
1080
+ }, R = () => {
1081
+ g(y.value);
1082
+ }, { isAllSelected: O, isIndeterminate: P, toggleSelectAll: Q } = at(
1077
1083
  I,
1078
- N
1079
- ), Q = n(() => $.value ? "mixed" : `${D.value}`), q = E(D.value), F = () => {
1080
- q.value = !q.value, J(q.value);
1084
+ T,
1085
+ S,
1086
+ R
1087
+ ), le = n(() => P.value ? "mixed" : `${O.value}`), Y = E(O.value), V = () => {
1088
+ Y.value = !Y.value, Q(Y.value);
1081
1089
  };
1082
- Z(D, () => {
1083
- q.value = D.value;
1090
+ te(O, () => {
1091
+ Y.value = O.value;
1084
1092
  });
1085
- const ee = (_) => {
1086
- m(_.items);
1087
- }, ne = (_) => {
1088
- C(_.items);
1089
- }, ve = (_, S) => {
1090
- let x = !1;
1091
- const k = t.selectedValues.filter(({ value: w }) => S.value === w ? (x = !0, !1) : !0);
1092
- x || k.push(S), l(_, k);
1093
- }, De = n(() => {
1093
+ const ae = (_) => {
1094
+ A(_.items);
1095
+ }, pe = (_) => {
1096
+ g(_.items);
1097
+ }, he = (_, x) => {
1098
+ let C = !1;
1099
+ const D = t.selectedValues.filter(({ value: M }) => x.value === M ? (C = !0, !1) : !0);
1100
+ C || D.push(x), l(_, D);
1101
+ }, Re = n(() => {
1094
1102
  if (!h.value)
1095
1103
  return t.selectedValues;
1096
- const _ = (w) => f.value.includes(w.value), S = (w) => !t.staticCategories && w.every((W) => _(W));
1097
- return t.items.flatMap(
1098
- (w) => w.items && !S(w.items) ? w.items : w
1099
- ).filter((w) => w.items ? !0 : _(w));
1100
- }), ke = n(() => {
1101
- var x, k, w, W;
1102
- const _ = ["automatic", "button"].includes(t.lazyLoadType), S = ((x = t.selectedValues) == null ? void 0 : x.length) > 0 && ((k = O.value) == null ? void 0 : k.length) !== ((w = y.value) == null ? void 0 : w.length);
1103
- return _ && t.hasMoreItems ? !!((W = t.selectedValues) != null && W.length) : S;
1104
- }), me = n(() => ["automatic", "button"].includes(t.lazyLoadType) ? !t.hasMoreItems : !0), H = E([]), { visibleDomOptions: ie, updateVisibleDomOptions: _e } = Pe(
1105
- u,
1106
- K(t, "items"),
1107
- p
1108
- ), xe = (_) => {
1109
- H.value.includes(_) ? H.value = H.value.filter((S) => S !== _) : H.value.push(_), Y(() => {
1110
- _e();
1104
+ const _ = (F) => f.value.includes(F.value), x = (F) => !t.staticCategories && F.every((ce) => _(ce)), C = t.items.flatMap(
1105
+ (F) => F.items && !x(F.items) ? F.items : F
1106
+ ), D = C.filter((F) => F.items ? !0 : _(F)), M = /* @__PURE__ */ new Set();
1107
+ C.forEach((F) => {
1108
+ var ce;
1109
+ M.add(F.value), (ce = F.items) == null || ce.forEach(($) => M.add($.value));
1110
+ });
1111
+ const J = t.selectedValues.filter((F) => !M.has(F.value));
1112
+ return [...D, ...J];
1113
+ }), Me = n(() => {
1114
+ var C, D, M, J;
1115
+ const _ = ["automatic", "button"].includes(t.lazyLoadType), x = ((C = t.selectedValues) == null ? void 0 : C.length) > 0 && ((D = I.value) == null ? void 0 : D.length) !== ((M = y.value) == null ? void 0 : M.length);
1116
+ return _ && t.hasMoreItems ? !!((J = t.selectedValues) != null && J.length) : x;
1117
+ }), fe = n(() => ["automatic", "button"].includes(t.lazyLoadType) ? !t.hasMoreItems : !0), H = E([]), { visibleDomOptions: re, updateVisibleDomOptions: Se } = Ue(
1118
+ d,
1119
+ q(t, "items"),
1120
+ b
1121
+ ), Ee = (_) => {
1122
+ H.value.includes(_) ? H.value = H.value.filter((x) => x !== _) : H.value.push(_), W(() => {
1123
+ Se();
1111
1124
  });
1112
- }, Ce = (_) => {
1113
- var S;
1114
- (S = ie.value[_]) == null || S.focus();
1125
+ }, Ie = (_) => {
1126
+ var x;
1127
+ (x = re.value[_]) == null || x.focus();
1115
1128
  }, {
1116
- moveToNextElement: Oe,
1117
- moveToPreviousElement: re,
1118
- moveToFirstElement: ye,
1119
- moveToLastElement: ce,
1120
- preventDefault: de,
1121
- focusedIndex: ue,
1122
- setListboxFocusedIndex: ge
1123
- } = et(
1129
+ moveToNextElement: Le,
1130
+ moveToPreviousElement: be,
1131
+ moveToFirstElement: xe,
1132
+ moveToLastElement: ve,
1133
+ preventDefault: me,
1134
+ focusedIndex: _e,
1135
+ setListboxFocusedIndex: Ce
1136
+ } = st(
1124
1137
  {
1125
- items: ie
1138
+ items: re
1126
1139
  },
1127
- Ce
1128
- ), Ee = {
1129
- [V.ARROW_UP]: (_) => re(_),
1130
- [V.ARROW_DOWN]: (_) => Oe(_),
1131
- [V.HOME]: ye,
1132
- [V.END]: ce
1140
+ Ie
1141
+ ), Te = {
1142
+ [z.ARROW_UP]: (_) => be(_),
1143
+ [z.ARROW_DOWN]: (_) => Le(_),
1144
+ [z.HOME]: xe,
1145
+ [z.END]: ve
1133
1146
  };
1134
1147
  e({
1135
1148
  /**
1136
1149
  * Method to set the index of the item to be focused on
1137
1150
  * Used for focus management to be kept in-sync with parent e.g. dropdowns
1138
1151
  */
1139
- setListboxFocusedIndex: ge
1152
+ setListboxFocusedIndex: Ce
1140
1153
  });
1141
- const Be = {
1142
- [V.ARROW_UP]: de,
1143
- [V.ARROW_DOWN]: de
1144
- }, Ie = n(() => {
1145
- let _ = me.value ? 1 : 0;
1146
- const S = {};
1147
- return t.items.forEach((x) => {
1148
- let k = H.value.includes(x.value);
1149
- x.items ? (t.staticCategories ? k = !0 : S[x.value] = _++, k && x.items.forEach((w) => S[w.value] = _++)) : S[x.value] = _++;
1150
- }), S;
1154
+ const Ne = {
1155
+ [z.ARROW_UP]: me,
1156
+ [z.ARROW_DOWN]: me
1157
+ }, we = n(() => {
1158
+ let _ = fe.value ? 1 : 0;
1159
+ const x = {};
1160
+ return t.items.forEach((C) => {
1161
+ let D = H.value.includes(C.value);
1162
+ C.items ? (t.staticCategories ? D = !0 : x[C.value] = _++, D && C.items.forEach((M) => x[M.value] = _++)) : x[C.value] = _++;
1163
+ }), x;
1151
1164
  });
1152
- return { __sfc: !0, props: t, emit: l, t: s, n: o, slots: i, attrs: r, ariaAttributes: v, listboxRef: u, selectAllListboxItemsRef: c, selectedListboxItemsRef: g, listboxItemsRef: b, selectedItemsList: f, isMultiLevelSelect: h, flattenedItemsList: y, isTreePattern: B, computedRole: R, computedOptionRole: p, optionStates: L, enabledItems: T, visibleSelectedList: O, calculateTotalItems: A, selectAllCheckboxText: M, selectAll: m, unselectAll: C, selectAllItems: I, unselectAllItems: N, isAllSelected: D, isIndeterminate: $, toggleSelectAll: J, ariaCheckedComputed: Q, isSelectAllOn: q, handleSelectAll: F, selectAllCategory: ee, unselectAllCategory: ne, toggleCheckboxSelection: ve, selectedOptions: De, showSelectedItems: ke, showSelectAllCheckbox: me, expandedCategories: H, visibleDomOptions: ie, updateVisibleDomOptions: _e, toggleCategoryVisibility: xe, focusItem: Ce, moveToNextElement: Oe, moveToPreviousElement: re, moveToFirstElement: ye, moveToLastElement: ce, preventDefault: de, focusedIndex: ue, setListboxFocusedIndex: ge, listboxListeners: Ee, chipsSectionListeners: Be, computedItemsIndex: Ie, DecorativeCheckbox: Ve, BentoTypography: ae, BentoChip: ht, BentoListboxOption: Ae, ListboxMultiSelectOptions: yl, vBentoKeyboardNavigationDirective: we, BentoListboxEvent: d };
1165
+ return { __sfc: !0, props: t, emit: l, t: s, n: o, slots: i, attrs: r, ariaAttributes: v, listboxRef: d, selectAllListboxItemsRef: c, selectedListboxItemsRef: m, listboxItemsRef: p, selectedItemsList: f, isMultiLevelSelect: h, flattenedItemsList: y, isTreePattern: k, computedRole: B, computedOptionRole: b, optionStates: L, enabledItems: T, visibleSelectedList: I, calculateTotalItems: w, selectAllCheckboxText: N, selectAll: A, unselectAll: g, selectAllItems: S, unselectAllItems: R, isAllSelected: O, isIndeterminate: P, toggleSelectAll: Q, ariaCheckedComputed: le, isSelectAllOn: Y, handleSelectAll: V, selectAllCategory: ae, unselectAllCategory: pe, toggleCheckboxSelection: he, selectedOptions: Re, showSelectedItems: Me, showSelectAllCheckbox: fe, expandedCategories: H, visibleDomOptions: re, updateVisibleDomOptions: Se, toggleCategoryVisibility: Ee, focusItem: Ie, moveToNextElement: Le, moveToPreviousElement: be, moveToFirstElement: xe, moveToLastElement: ve, preventDefault: me, focusedIndex: _e, setListboxFocusedIndex: Ce, listboxListeners: Te, chipsSectionListeners: Ne, computedItemsIndex: we, DecorativeCheckbox: Ge, BentoTypography: ie, BentoChip: Ct, BentoListboxOption: Be, ListboxMultiSelectOptions: Sl, vBentoKeyboardNavigationDirective: ke, BentoListboxEvent: u };
1153
1166
  }
1154
1167
  });
1155
- var xl = function() {
1168
+ var El = function() {
1156
1169
  var e = this, l = e._self._c, t = e._self._setupProxy;
1157
1170
  return l("div", { ref: "listboxRef", staticClass: "b-listbox-multi-select" }, [t.showSelectedItems ? l("div", [l("ul", e._g({ directives: [{ name: "bento-keyboard-navigation-directive", rawName: "v-bento-keyboard-navigation-directive" }], staticClass: "b-listbox-multi-select__chips" }, t.chipsSectionListeners), e._l(t.selectedOptions, function(s) {
1158
1171
  return l("li", { key: s.value }, [l(t.BentoChip, { ref: "selectedListboxItemsRef", refInFor: !0, attrs: { disabled: e.isOptionDisabled(s), label: s.label, condensed: "" }, on: { click: function(o) {
@@ -1173,20 +1186,20 @@ var xl = function() {
1173
1186
  return [e._t(o, null, null, i)];
1174
1187
  } };
1175
1188
  })], null, !0) })], 1)]);
1176
- }, Cl = [], Ol = /* @__PURE__ */ U(
1177
- Sl,
1178
- xl,
1179
- Cl,
1189
+ }, Il = [], Ll = /* @__PURE__ */ G(
1190
+ Ol,
1191
+ El,
1192
+ Il,
1180
1193
  !1,
1181
1194
  null,
1182
- "b81d7402"
1195
+ "81f4ab88"
1183
1196
  );
1184
- const Ye = Ol.exports, at = (a, e = 300) => {
1197
+ const Je = Ll.exports, it = (a, e = 300) => {
1185
1198
  let l;
1186
1199
  return (...s) => {
1187
1200
  l && clearTimeout(l), l = setTimeout(() => a(...s), e);
1188
1201
  };
1189
- }, El = {
1202
+ }, Tl = {
1190
1203
  "de-DE": {
1191
1204
  loading: "Laden",
1192
1205
  showMore: "Mehr anzeigen"
@@ -1227,18 +1240,18 @@ const Ye = Ol.exports, at = (a, e = 300) => {
1227
1240
  loading: "正在加载",
1228
1241
  showMore: "显示更多"
1229
1242
  }
1230
- }, Il = 36, Ll = z({
1243
+ }, wl = 36, Al = U({
1231
1244
  name: "bento-listbox",
1232
1245
  components: {
1233
- BentoEmptyState: mt,
1234
- BentoListboxSingleSelect: Xt,
1235
- BentoListboxMultiSelect: Ye,
1236
- BentoTypography: ae,
1237
- BentoLoadingIndicator: vt,
1238
- BentoLoadingButton: St
1239
- },
1240
- directives: { BentoKeyboardNavigationDirective: we },
1241
- i18n: { messages: El },
1246
+ BentoEmptyState: gt,
1247
+ BentoListboxSingleSelect: el,
1248
+ BentoListboxMultiSelect: Je,
1249
+ BentoTypography: ie,
1250
+ BentoLoadingIndicator: yt,
1251
+ BentoLoadingButton: Ot
1252
+ },
1253
+ directives: { BentoKeyboardNavigationDirective: ke },
1254
+ i18n: { messages: Tl },
1242
1255
  props: {
1243
1256
  /**
1244
1257
  * Defines a string value that labels an interactive element.
@@ -1294,8 +1307,8 @@ const Ye = Ol.exports, at = (a, e = 300) => {
1294
1307
  */
1295
1308
  lazyLoadType: {
1296
1309
  type: String,
1297
- default: te.NONE,
1298
- validator: (a) => Object.values(te).includes(a)
1310
+ default: oe.NONE,
1311
+ validator: (a) => Object.values(oe).includes(a)
1299
1312
  },
1300
1313
  /**
1301
1314
  * Indicates the listbox is loading filtered items.
@@ -1319,7 +1332,7 @@ const Ye = Ol.exports, at = (a, e = 300) => {
1319
1332
  *
1320
1333
  * If enabled, hides the "Select all" checkbox in "multiple" mode.
1321
1334
  */
1322
- searching: Ye.props.searching,
1335
+ searching: Je.props.searching,
1323
1336
  /**
1324
1337
  * The `input` value.
1325
1338
  * Providing an empty string or empty array will select no options.
@@ -1339,108 +1352,108 @@ const Ye = Ol.exports, at = (a, e = 300) => {
1339
1352
  }
1340
1353
  },
1341
1354
  emits: [
1342
- d.SELECT,
1343
- d.SPACE,
1344
- d.SHOW_MORE,
1345
- d.ENTER,
1346
- d.ESCAPE,
1347
- d.TAB
1355
+ u.SELECT,
1356
+ u.SPACE,
1357
+ u.SHOW_MORE,
1358
+ u.ENTER,
1359
+ u.ESCAPE,
1360
+ u.TAB
1348
1361
  ],
1349
1362
  setup(a, { emit: e, slots: l }) {
1350
- const t = E([]), s = K(a, "items"), { t: o } = oe(), i = n(() => a.lazyLoadType !== te.AUTOMATIC), r = n(() => a.lazyLoadType === te.AUTOMATIC), v = () => {
1351
- var F;
1352
- return typeof (a == null ? void 0 : a.virtualScroll) == "object" && ((F = a == null ? void 0 : a.virtualScroll) != null && F.itemHeight) ? a.virtualScroll.itemHeight : Il;
1353
- }, u = !(a != null && a.multiple) && (a == null ? void 0 : a.virtualScroll) !== !1 && (a == null ? void 0 : a.lazyLoadType) === "none", {
1363
+ const t = E([]), s = q(a, "items"), { t: o } = de(), i = n(() => a.lazyLoadType !== oe.AUTOMATIC), r = n(() => a.lazyLoadType === oe.AUTOMATIC), v = () => {
1364
+ var V;
1365
+ return typeof (a == null ? void 0 : a.virtualScroll) == "object" && ((V = a == null ? void 0 : a.virtualScroll) != null && V.itemHeight) ? a.virtualScroll.itemHeight : wl;
1366
+ }, d = !(a != null && a.multiple) && (a == null ? void 0 : a.virtualScroll) !== !1 && (a == null ? void 0 : a.lazyLoadType) === "none", {
1354
1367
  containerRef: c,
1355
- containerProps: g,
1356
- onScroll: b,
1368
+ containerProps: m,
1369
+ onScroll: p,
1357
1370
  list: f,
1358
1371
  wrapperProps: h,
1359
1372
  scrollToIndex: y,
1360
- startIndex: B
1361
- } = Lt(s, {
1373
+ startIndex: k
1374
+ } = At(s, {
1362
1375
  itemHeight: v(),
1363
1376
  // Disable virtual scrolling if not enabled or if lazy loading is enabled or if multi-select
1364
- disabled: !u
1365
- }), R = n(() => u ? s.value.length : 0), p = n(
1377
+ disabled: !d
1378
+ }), B = n(() => d ? s.value.length : 0), b = n(
1366
1379
  () => a.componentLoading !== void 0 || i.value ? "true" : void 0
1367
1380
  ), L = n(
1368
1381
  () => i.value && a.loading || a.componentLoading ? "true" : "false"
1369
1382
  ), T = n(
1370
1383
  () => i.value || a.componentLoading !== void 0 ? "polite" : void 0
1371
- ), O = n(
1384
+ ), I = n(
1372
1385
  () => ({
1373
1386
  "aria-label": a.ariaLabel,
1374
1387
  "aria-busy": L.value,
1375
- "aria-atomic": p.value,
1388
+ "aria-atomic": b.value,
1376
1389
  "aria-live": T.value
1377
1390
  })
1378
- ), A = n(
1391
+ ), w = n(
1379
1392
  () => a.componentLoading ? {
1380
- ...O.value,
1393
+ ...I.value,
1381
1394
  role: "alert"
1382
1395
  } : {}
1383
- ), M = (F) => (ee) => {
1384
- e(F, ee);
1385
- }, m = () => {
1386
- e(d.SHOW_MORE);
1387
- }, C = at(() => {
1388
- const F = c.value;
1389
- if (!F)
1396
+ ), N = (V) => (ae) => {
1397
+ e(V, ae);
1398
+ }, A = () => {
1399
+ e(u.SHOW_MORE);
1400
+ }, g = it(() => {
1401
+ const V = c.value;
1402
+ if (!V)
1390
1403
  return;
1391
- const ee = Math.round(F.scrollTop) + F.clientHeight >= F.scrollHeight;
1392
- a.hasMoreItems && ee && !a.loading && m();
1393
- }), I = () => {
1394
- r.value ? C() : b();
1395
- }, N = n(() => {
1396
- var F;
1397
- return ((F = a.items) == null ? void 0 : F.length) === 0;
1398
- }), D = n(
1399
- () => a.lazyLoadType === te.BUTTON && a.hasMoreItems
1400
- ), $ = n(
1401
- () => a.loading ? Ue.LOADING : Ue.START
1402
- ), J = n(() => a.loading ? o("loading") : o("showMore")), Q = n(() => ({
1404
+ const ae = Math.round(V.scrollTop) + V.clientHeight >= V.scrollHeight;
1405
+ a.hasMoreItems && ae && !a.loading && A();
1406
+ }), S = () => {
1407
+ r.value ? g() : p();
1408
+ }, R = n(() => {
1409
+ var V;
1410
+ return ((V = a.items) == null ? void 0 : V.length) === 0;
1411
+ }), O = n(
1412
+ () => a.lazyLoadType === oe.BUTTON && a.hasMoreItems
1413
+ ), P = n(
1414
+ () => a.loading ? Ye.LOADING : Ye.START
1415
+ ), Q = n(() => a.loading ? o("loading") : o("showMore")), le = n(() => ({
1403
1416
  ...a.emptyState,
1404
1417
  variant: "condensed"
1405
- })), q = {
1406
- [d.SELECT]: M(d.SELECT),
1407
- [d.SPACE]: M(d.SPACE),
1408
- [d.TAB]: M(d.TAB),
1409
- [d.ENTER]: M(d.ENTER)
1418
+ })), Y = {
1419
+ [u.SELECT]: N(u.SELECT),
1420
+ [u.SPACE]: N(u.SPACE),
1421
+ [u.TAB]: N(u.TAB),
1422
+ [u.ENTER]: N(u.ENTER)
1410
1423
  };
1411
1424
  return {
1412
1425
  // Refs
1413
1426
  listboxRef: c,
1414
1427
  listboxItemRef: t,
1415
1428
  // a11y
1416
- ariaAttributes: O,
1417
- listboxContainerAttributes: A,
1429
+ ariaAttributes: I,
1430
+ listboxContainerAttributes: w,
1418
1431
  // Values
1419
- containerProps: g,
1420
- isSearchResultEmpty: N,
1421
- limitedEmptyStateProps: Q,
1422
- loadingButtonState: $,
1432
+ containerProps: m,
1433
+ isSearchResultEmpty: R,
1434
+ limitedEmptyStateProps: le,
1435
+ loadingButtonState: P,
1423
1436
  slots: l,
1424
- shouldDisplayShowMoreButton: D,
1425
- showMoreButtonText: J,
1437
+ shouldDisplayShowMoreButton: O,
1438
+ showMoreButtonText: Q,
1426
1439
  virtualisedItems: f,
1427
1440
  wrapperProps: h,
1428
1441
  // Virtual scroll
1429
- totalItemCount: R,
1442
+ totalItemCount: B,
1430
1443
  scrollToIndex: y,
1431
- virtualScrollStartIndex: B,
1444
+ virtualScrollStartIndex: k,
1432
1445
  // Enums
1433
- BentoKeyboardNavigationKeyDownEvent: V,
1434
- BentoListboxEvent: d,
1446
+ BentoKeyboardNavigationKeyDownEvent: z,
1447
+ BentoListboxEvent: u,
1435
1448
  // Methods
1436
- onListboxContainerScroll: I,
1437
- onOptionSelected: M,
1438
- emitShowMore: m,
1439
- listboxListeners: q
1449
+ onListboxContainerScroll: S,
1450
+ onOptionSelected: N,
1451
+ emitShowMore: A,
1452
+ listboxListeners: Y
1440
1453
  };
1441
1454
  }
1442
1455
  });
1443
- var Tl = function() {
1456
+ var Dl = function() {
1444
1457
  var t;
1445
1458
  var e = this, l = e._self._c;
1446
1459
  return e._self._setupProxy, l("div", e._b({ directives: [{ name: "bento-keyboard-navigation-directive", rawName: "v-bento-keyboard-navigation-directive" }], ref: "listboxRef", staticClass: "b-listbox", style: (t = e.containerProps) == null ? void 0 : t.style, attrs: { id: e.id, tabindex: "-1", "data-testid": "listbox-container" }, on: { scroll: e.onListboxContainerScroll } }, "div", e.listboxContainerAttributes, !1), [l("div", e._b({}, "div", e.wrapperProps, !1), [e.componentLoading ? l("div", { staticClass: "b-listbox__loading-filtered-items" }, [l("bento-loading-indicator")], 1) : e.isSearchResultEmpty ? l("div", { staticClass: "b-listbox__empty-search-message" }, [e.emptyState ? l("bento-empty-state", e._b({}, "bento-empty-state", e.limitedEmptyStateProps, !1)) : l("bento-typography", { attrs: { el: "span" } }, [e._v(e._s(e.noResultsMessage))])], 1) : [e.multiple ? [l("bento-listbox-multi-select", e._g(e._b({ ref: "listboxItemRef", attrs: { "has-more-items": e.hasMoreItems, items: e.items, "lazy-load-type": e.lazyLoadType, "static-categories": e.staticCategories, "selected-values": e.selectedValue, searching: e.searching, "is-option-disabled": e.isOptionDisabled }, scopedSlots: e._u([e._l(e.slots, function(s, o) {
@@ -1454,58 +1467,58 @@ var Tl = function() {
1454
1467
  })], null, !0) }, "bento-listbox-single-select", e.ariaAttributes, !1), e.listboxListeners))], e.shouldDisplayShowMoreButton ? l("div", { staticClass: "b-listbox__lazy-load" }, [l("bento-loading-button", { attrs: { state: e.loadingButtonState, variant: "secondary" }, on: { "!click": function(s) {
1455
1468
  return e.emitShowMore.apply(null, arguments);
1456
1469
  } } }, [e._v(" " + e._s(e.showMoreButtonText) + " ")])], 1) : e.loading ? l("div", { staticClass: "b-listbox__lazy-load" }, [l("bento-loading-indicator")], 1) : e._e()]], 2)]);
1457
- }, wl = [], Al = /* @__PURE__ */ U(
1458
- Ll,
1459
- Tl,
1460
- wl,
1470
+ }, kl = [], Bl = /* @__PURE__ */ G(
1471
+ Al,
1472
+ Dl,
1473
+ kl,
1461
1474
  !1,
1462
1475
  null,
1463
1476
  "7819d7a2"
1464
1477
  );
1465
- const Me = Al.exports, Ne = (a, e) => {
1478
+ const Fe = Bl.exports, Pe = (a, e) => {
1466
1479
  for (const l of a) {
1467
1480
  if (l.value === e)
1468
1481
  return l;
1469
1482
  if (l.items) {
1470
- const t = Ne(l.items, e);
1483
+ const t = Pe(l.items, e);
1471
1484
  if (t)
1472
1485
  return t;
1473
1486
  }
1474
1487
  }
1475
1488
  return null;
1476
- }, Dl = (a) => typeof a == "object" && a !== null && "value" in a && "label" in a, kl = (a, e, l, t) => {
1489
+ }, Rl = (a) => typeof a == "object" && a !== null && "value" in a && "label" in a, Ml = (a, e, l, t) => {
1477
1490
  const s = E([]), o = E(), i = (c) => {
1478
- l.value ? o.value = c.map(({ value: g }) => g) : o.value = c.length > 0 ? c[0].value : null;
1491
+ l.value ? o.value = c.map(({ value: m }) => m) : o.value = c.length > 0 ? c[0].value : null;
1479
1492
  }, r = (c) => {
1480
- l.value ? o.value = c.map(({ value: g, label: b }) => ({ value: g, label: b })) : o.value = c.length > 0 ? { value: c[0].value, label: c[0].label } : null;
1493
+ l.value ? o.value = c.map(({ value: m, label: p }) => ({ value: m, label: p })) : o.value = c.length > 0 ? { value: c[0].value, label: c[0].label } : null;
1481
1494
  }, v = (c) => {
1482
1495
  s.value = c, t != null && t.value ? r(c) : i(c);
1483
- }, u = () => {
1496
+ }, d = () => {
1484
1497
  s.value = [], o.value = null;
1485
1498
  };
1486
- return Z(
1499
+ return te(
1487
1500
  () => e.value,
1488
1501
  () => {
1489
1502
  if (!e.value && e.value !== 0) {
1490
- u();
1503
+ d();
1491
1504
  return;
1492
1505
  }
1493
- const c = !Array.isArray(e.value), g = [...s.value];
1494
- u();
1495
- const b = (f) => {
1496
- if (Dl(f))
1506
+ const c = !Array.isArray(e.value), m = [...s.value];
1507
+ d();
1508
+ const p = (f) => {
1509
+ if (Rl(f))
1497
1510
  s.value.push(f);
1498
1511
  else {
1499
- let h = Ne(a.value, f);
1500
- h || (h = Ne(g, f)), h || (h = { value: f, label: f.toString() }), s.value.push(h);
1512
+ let h = Pe(a.value, f);
1513
+ h || (h = Pe(m, f)), h || (h = { value: f, label: f.toString() }), s.value.push(h);
1501
1514
  }
1502
1515
  };
1503
1516
  if (c) {
1504
1517
  const f = e.value;
1505
- b(f), t != null && t.value ? r(s.value) : i(s.value);
1518
+ p(f), t != null && t.value ? r(s.value) : i(s.value);
1506
1519
  return;
1507
1520
  }
1508
- e.value.forEach(b), t != null && t.value ? r(s.value) : i(s.value);
1521
+ e.value.forEach(p), t != null && t.value ? r(s.value) : i(s.value);
1509
1522
  },
1510
1523
  { immediate: !0 }
1511
1524
  ), {
@@ -1513,12 +1526,12 @@ const Me = Al.exports, Ne = (a, e) => {
1513
1526
  cachedSelectedListboxOptions: s,
1514
1527
  cachedListboxSelectedValues: o,
1515
1528
  // Methods
1516
- resetCache: u,
1529
+ resetCache: d,
1517
1530
  setCachedValues: v
1518
1531
  };
1519
1532
  };
1520
- var be = /* @__PURE__ */ ((a) => (a.DEFAULT = "DropdownInputDefault", a.SMALL = "DropdownInputSmall", a))(be || {});
1521
- const Bl = {
1533
+ var ge = /* @__PURE__ */ ((a) => (a.DEFAULT = "DropdownInputDefault", a.SMALL = "DropdownInputSmall", a))(ge || {});
1534
+ const Nl = {
1522
1535
  "de-DE": {
1523
1536
  apply: "Anwenden",
1524
1537
  cancel: "Abbrechen",
@@ -1569,18 +1582,18 @@ const Bl = {
1569
1582
  cancel: "取消",
1570
1583
  noOptionsMatchThisSearch: "没有符合此搜索条件的选项"
1571
1584
  }
1572
- }, Rl = (a, e, l, t) => {
1573
- const s = E(a.value), { t: o } = oe();
1574
- Z(a, () => {
1585
+ }, $l = (a, e, l, t) => {
1586
+ const s = E(a.value), { t: o } = de();
1587
+ te(a, () => {
1575
1588
  s.value = a.value;
1576
1589
  });
1577
1590
  const i = n(
1578
1591
  () => JSON.stringify(s.value) === JSON.stringify(a.value)
1579
1592
  ), r = () => {
1580
- t(d.SELECT, s.value), t(d.CLOSE_DROPDOWN);
1593
+ t(u.SELECT, s.value), t(u.CLOSE_DROPDOWN);
1581
1594
  }, v = () => {
1582
- s.value = a.value, t(d.CLOSE_DROPDOWN);
1583
- }, u = () => {
1595
+ s.value = a.value, t(u.CLOSE_DROPDOWN);
1596
+ }, d = () => {
1584
1597
  l.value && e.value && (s.value = a.value);
1585
1598
  }, c = n(() => [
1586
1599
  {
@@ -1592,39 +1605,39 @@ const Bl = {
1592
1605
  title: o("cancel"),
1593
1606
  event: v
1594
1607
  }
1595
- ]), g = (p) => {
1596
- s.value = p, e.value || t(d.SELECT, p);
1597
- }, b = (p) => {
1598
- g(p), t(d.TAB);
1599
- }, f = (p) => {
1600
- g(p), t(d.ENTER);
1601
- }, h = (p) => {
1602
- g(p), t(d.SPACE);
1608
+ ]), m = (b) => {
1609
+ s.value = b, e.value || t(u.SELECT, b);
1610
+ }, p = (b) => {
1611
+ m(b), t(u.TAB);
1612
+ }, f = (b) => {
1613
+ m(b), t(u.ENTER);
1614
+ }, h = (b) => {
1615
+ m(b), t(u.SPACE);
1603
1616
  }, y = () => {
1604
- v(), t(d.ESCAPE);
1605
- }, B = () => {
1606
- t(d.SHOW_MORE);
1607
- }, R = {
1608
- [d.SELECT]: g,
1609
- [d.SHOW_MORE]: B,
1610
- [d.TAB]: b,
1611
- [d.SPACE]: h,
1612
- [d.ENTER]: f
1617
+ v(), t(u.ESCAPE);
1618
+ }, k = () => {
1619
+ t(u.SHOW_MORE);
1620
+ }, B = {
1621
+ [u.SELECT]: m,
1622
+ [u.SHOW_MORE]: k,
1623
+ [u.TAB]: p,
1624
+ [u.SPACE]: h,
1625
+ [u.ENTER]: f
1613
1626
  };
1614
1627
  return {
1615
1628
  // Values
1616
1629
  actions: c,
1617
1630
  internalSelectedValue: s,
1618
1631
  // Methods
1619
- listeners: R,
1632
+ listeners: B,
1620
1633
  onEscapeKey: y,
1621
- onOutsideDropdownClick: u
1634
+ onOutsideDropdownClick: d
1622
1635
  };
1623
- }, Ml = z({
1624
- i18n: { messages: Bl },
1636
+ }, Fl = U({
1637
+ i18n: { messages: Nl },
1625
1638
  name: "bento-dropdown-options-container"
1626
- }), Nl = /* @__PURE__ */ z({
1627
- ...Ml,
1639
+ }), Pl = /* @__PURE__ */ U({
1640
+ ...Fl,
1628
1641
  props: {
1629
1642
  /**
1630
1643
  * Defines a string value that labels an interactive element.
@@ -1683,8 +1696,8 @@ const Bl = {
1683
1696
  */
1684
1697
  lazyLoadType: {
1685
1698
  type: String,
1686
- default: te.AUTOMATIC,
1687
- validator: (a) => Object.values(te).includes(a)
1699
+ default: oe.AUTOMATIC,
1700
+ validator: (a) => Object.values(oe).includes(a)
1688
1701
  },
1689
1702
  /**
1690
1703
  * Indicates if new options are lazy loading.
@@ -1714,7 +1727,7 @@ const Bl = {
1714
1727
  *
1715
1728
  * If enabled, hides the "Select all" checkbox in "multiple" mode.
1716
1729
  */
1717
- searching: Me.props.searching,
1730
+ searching: Fe.props.searching,
1718
1731
  /**
1719
1732
  * If enabled, dropdown will display non-selectable, static categories
1720
1733
  */
@@ -1723,7 +1736,7 @@ const Bl = {
1723
1736
  * Reference to the DOM element or Vue component for positioning
1724
1737
  * the Dropdown container.
1725
1738
  */
1726
- targetElement: { type: Ge.props.targetElement.type, required: !0 },
1739
+ targetElement: { type: We.props.targetElement.type, required: !0 },
1727
1740
  /**
1728
1741
  * Enables virtual scrolling if set to true or by providing an object with itemHeight function.
1729
1742
  * The itemHeight function is used to calculate the height of rendered item given it's index.
@@ -1735,14 +1748,14 @@ const Bl = {
1735
1748
  },
1736
1749
  emits: [],
1737
1750
  setup(a, { expose: e, emit: l }) {
1738
- const t = a, s = Se(), { selectedValue: o, multiple: i } = He(t), r = E(null), { t: v } = oe(), u = n(() => t.open && !t.disabled), c = n(() => v("noOptionsMatchThisSearch")), g = n(() => ({
1751
+ const t = a, s = Oe(), { selectedValue: o, multiple: i } = Qe(t), r = E(null), { t: v } = de(), d = n(() => t.open && !t.disabled), c = n(() => v("noOptionsMatchThisSearch")), m = n(() => ({
1739
1752
  "b-dropdown-options-container--single": !(t != null && t.multiple)
1740
- })), b = n(() => ({
1753
+ })), p = n(() => ({
1741
1754
  "b-dropdown-options-container__listbox--single": !(t != null && t.multiple)
1742
- })), { actions: f, internalSelectedValue: h, listeners: y, onEscapeKey: B, onOutsideDropdownClick: R } = Rl(o, i, u, l), p = n(() => t != null && t.multiple ? xt : Ge), L = n(() => {
1743
- var O;
1755
+ })), { actions: f, internalSelectedValue: h, listeners: y, onEscapeKey: k, onOutsideDropdownClick: B } = $l(o, i, d, l), b = n(() => t != null && t.multiple ? Et : We), L = n(() => {
1756
+ var I;
1744
1757
  const T = {
1745
- "min-width": `${(O = t == null ? void 0 : t.targetElement) == null ? void 0 : O.clientWidth}px`,
1758
+ "min-width": `${(I = t == null ? void 0 : t.targetElement) == null ? void 0 : I.clientWidth}px`,
1746
1759
  "max-width": "min(500px, 95%)"
1747
1760
  };
1748
1761
  return t != null && t.multiple ? {
@@ -1751,7 +1764,7 @@ const Bl = {
1751
1764
  actions: f.value,
1752
1765
  divider: !0,
1753
1766
  fallbackPosition: ["top-start"],
1754
- id: le(`dropdown-options-${t.id}`),
1767
+ id: ne(`dropdown-options-${t.id}`),
1755
1768
  open: t.open,
1756
1769
  position: "bottom-start",
1757
1770
  style: {
@@ -1764,18 +1777,18 @@ const Bl = {
1764
1777
  offset: [0, 8],
1765
1778
  position: "bottom-start",
1766
1779
  style: {
1767
- display: u.value ? "block" : "none",
1780
+ display: d.value ? "block" : "none",
1768
1781
  ...T
1769
1782
  },
1770
1783
  targetElement: t.targetElement
1771
1784
  };
1772
1785
  });
1773
1786
  return e({
1774
- onOutsideDropdownClick: R
1775
- }), { __sfc: !0, slots: s, emit: l, props: t, selectedValue: o, multiple: i, dropdownOptionsListboxRef: r, t: v, isDropdownOpen: u, noResultsMessage: c, conditionalClasses: g, conditionalListboxClasses: b, actions: f, internalSelectedValue: h, listeners: y, onEscapeKey: B, onOutsideDropdownClick: R, popperContainerOrPopoverComponent: p, popperContainerOrPopoverProps: L, BentoListbox: Me };
1787
+ onOutsideDropdownClick: B
1788
+ }), { __sfc: !0, slots: s, emit: l, props: t, selectedValue: o, multiple: i, dropdownOptionsListboxRef: r, t: v, isDropdownOpen: d, noResultsMessage: c, conditionalClasses: m, conditionalListboxClasses: p, actions: f, internalSelectedValue: h, listeners: y, onEscapeKey: k, onOutsideDropdownClick: B, popperContainerOrPopoverComponent: b, popperContainerOrPopoverProps: L, BentoListbox: Fe };
1776
1789
  }
1777
1790
  });
1778
- var $l = function() {
1791
+ var Vl = function() {
1779
1792
  var e = this, l = e._self._c, t = e._self._setupProxy;
1780
1793
  return t.isDropdownOpen ? l(t.popperContainerOrPopoverComponent, e._b({ tag: "component", staticClass: "b-dropdown-options-container", class: t.conditionalClasses }, "component", t.popperContainerOrPopoverProps, !1), [l("div", { on: { keydown: function(s) {
1781
1794
  return !s.type.indexOf("key") && e._k(s.keyCode, "esc", 27, s.key, ["Esc", "Escape"]) ? null : t.onEscapeKey.apply(null, arguments);
@@ -1784,17 +1797,17 @@ var $l = function() {
1784
1797
  return [e._t(o, null, null, i)];
1785
1798
  } };
1786
1799
  })], null, !0) }, t.listeners))], 1)]) : e._e();
1787
- }, Fl = [], Pl = /* @__PURE__ */ U(
1788
- Nl,
1789
- $l,
1790
- Fl,
1800
+ }, zl = [], Ul = /* @__PURE__ */ G(
1801
+ Pl,
1802
+ Vl,
1803
+ zl,
1791
1804
  !1,
1792
1805
  null,
1793
1806
  "9e0761e0"
1794
1807
  );
1795
- const Vl = Pl.exports;
1796
- var j = /* @__PURE__ */ ((a) => (a.DISABLED = "disabled", a.READONLY = "readonly", a.HAS_ITEMS = "has-items", a.OPENED = "opened", a.ERROR = "error", a))(j || {}), G = /* @__PURE__ */ ((a) => (a.OPEN = "dropdown-base-open", a.KEYDOWN = "dropdown-base-keydown", a.CLOSE = "dropdown-base-close", a.INPUT = "dropdown-base-input", a.CLEAR = "dropdown-base-clear", a))(G || {});
1797
- const zl = /* @__PURE__ */ Symbol("dropdown small size injection key"), st = /* @__PURE__ */ Symbol("dropdown underline style injection key"), Ul = {
1808
+ const Gl = Ul.exports;
1809
+ var Z = /* @__PURE__ */ ((a) => (a.DISABLED = "disabled", a.READONLY = "readonly", a.HAS_ITEMS = "has-items", a.OPENED = "opened", a.ERROR = "error", a))(Z || {}), K = /* @__PURE__ */ ((a) => (a.OPEN = "dropdown-base-open", a.KEYDOWN = "dropdown-base-keydown", a.CLOSE = "dropdown-base-close", a.INPUT = "dropdown-base-input", a.CLEAR = "dropdown-base-clear", a))(K || {});
1810
+ const Kl = /* @__PURE__ */ Symbol("dropdown small size injection key"), rt = /* @__PURE__ */ Symbol("dropdown underline style injection key"), ql = {
1798
1811
  "de-DE": {
1799
1812
  clearSearch: "Suche löschen"
1800
1813
  },
@@ -1825,12 +1838,12 @@ const zl = /* @__PURE__ */ Symbol("dropdown small size injection key"), st = /*
1825
1838
  "zh-CN": {
1826
1839
  clearSearch: "清除搜索"
1827
1840
  }
1828
- }, Gl = z({
1829
- i18n: { messages: Ul },
1841
+ }, Yl = U({
1842
+ i18n: { messages: ql },
1830
1843
  name: "dropdown-base-textbox",
1831
1844
  inheritAttrs: !1
1832
- }), Kl = /* @__PURE__ */ z({
1833
- ...Gl,
1845
+ }), Wl = /* @__PURE__ */ U({
1846
+ ...Yl,
1834
1847
  props: {
1835
1848
  /**
1836
1849
  * The number of additional items that have been selected in the dropdown.
@@ -1916,22 +1929,22 @@ const zl = /* @__PURE__ */ Symbol("dropdown small size injection key"), st = /*
1916
1929
  },
1917
1930
  emits: [],
1918
1931
  setup(a, { expose: e, emit: l }) {
1919
- const t = a, { t: s } = oe(), o = $e(), i = Se(), r = Je(i), v = E(null), u = le("textbox"), c = Fe(st, !1), g = n(() => ({
1920
- [`b-dropdown-base-textbox--${j.DISABLED}`]: t.disabled,
1921
- [`b-dropdown-base-textbox--${j.READONLY}`]: t.readonly,
1922
- [`b-dropdown-base-textbox--${j.HAS_ITEMS}`]: !!t.additionalItemsSelected,
1932
+ const t = a, { t: s } = de(), o = Ve(), i = Oe(), r = et(i), v = E(null), d = ne("textbox"), c = ze(rt, !1), m = n(() => ({
1933
+ [`b-dropdown-base-textbox--${Z.DISABLED}`]: t.disabled,
1934
+ [`b-dropdown-base-textbox--${Z.READONLY}`]: t.readonly,
1935
+ [`b-dropdown-base-textbox--${Z.HAS_ITEMS}`]: !!t.additionalItemsSelected,
1923
1936
  "b-dropdown-base-textbox--underline": c
1924
- })), b = n(
1925
- () => R.value && o["aria-required"] ? "true" : null
1937
+ })), p = n(
1938
+ () => B.value && o["aria-required"] ? "true" : null
1926
1939
  ), f = n(() => ({
1927
1940
  "b-dropdown-base-textbox__input--dynamic-filtering": t.dynamicFiltering
1928
1941
  })), h = n(() => t.dynamicFiltering && !!t.value && t.open), y = n(
1929
1942
  () => {
1930
- var I;
1943
+ var S;
1931
1944
  return {
1932
1945
  "aria-haspopup": "listbox",
1933
1946
  "aria-controls": t.ariaControls,
1934
- "aria-describedby": (I = o["aria-describedby"]) == null ? void 0 : I.toString(),
1947
+ "aria-describedby": (S = o["aria-describedby"]) == null ? void 0 : S.toString(),
1935
1948
  "aria-expanded": t.ariaExpanded ? "true" : "false",
1936
1949
  "aria-labelledby": t.ariaLabelledby,
1937
1950
  "aria-label": t.ariaLabelledby ? null : t.ariaLabel,
@@ -1940,36 +1953,36 @@ const zl = /* @__PURE__ */ Symbol("dropdown small size injection key"), st = /*
1940
1953
  "aria-required": o["aria-required"]
1941
1954
  };
1942
1955
  }
1943
- ), B = n(
1956
+ ), k = n(
1944
1957
  () => t.multiple ? t.selectedValueItem : []
1945
- ), R = n(() => t.dynamicFiltering && (t.open || t.alwaysComboboxIsInput)), p = n(() => t.selectedValueItem && !t.multiple), L = n(
1946
- () => t.multiple && t.selectedValueItem && B.value.length > 0 && t.showSlotContentInMultiple
1958
+ ), B = n(() => t.dynamicFiltering && (t.open || t.alwaysComboboxIsInput)), b = n(() => t.selectedValueItem && !t.multiple), L = n(
1959
+ () => t.multiple && t.selectedValueItem && k.value.length > 0 && t.showSlotContentInMultiple
1947
1960
  );
1948
- Z(
1949
- () => R.value,
1961
+ te(
1962
+ () => B.value,
1950
1963
  () => {
1951
- R.value && !t.alwaysComboboxIsInput && Y(() => {
1964
+ B.value && !t.alwaysComboboxIsInput && W(() => {
1952
1965
  v.value.focus();
1953
1966
  });
1954
1967
  }
1955
1968
  );
1956
1969
  const T = async () => {
1957
- !t.disabled && !t.readonly && (l(G.OPEN), await Y(), v.value.focus());
1958
- }, O = () => {
1959
- t.open && (v.value.focus(), l(G.CLOSE));
1960
- }, A = (I) => t.open && I.target.tagName === "INPUT" ? null : t.open ? O() : T(), M = () => {
1961
- l(G.CLEAR), l(G.INPUT, ""), v.value.focus();
1962
- }, m = (I) => {
1963
- !t.readonly && !t.disabled ? l(G.INPUT, I.target.value) : (I.preventDefault(), I.stopPropagation());
1964
- }, C = () => {
1970
+ !t.disabled && !t.readonly && (l(K.OPEN), await W(), v.value.focus());
1971
+ }, I = () => {
1972
+ t.open && (v.value.focus(), l(K.CLOSE));
1973
+ }, w = (S) => t.open && S.target.tagName === "INPUT" ? null : t.open ? I() : T(), N = () => {
1974
+ l(K.CLEAR), l(K.INPUT, ""), v.value.focus();
1975
+ }, A = (S) => {
1976
+ !t.readonly && !t.disabled ? l(K.INPUT, S.target.value) : (S.preventDefault(), S.stopPropagation());
1977
+ }, g = () => {
1965
1978
  v.value.focus();
1966
1979
  };
1967
1980
  return e({
1968
- focus: C
1969
- }), { __sfc: !0, t: s, attrs: o, slots: i, hasSlot: r, props: t, emit: l, textbox: v, textboxId: u, isUnderlineStyle: c, conditionalClasses: g, showRequiredAttribute: b, comboboxConditionalClasses: f, isFiltering: h, ariaAttributes: y, selectedValueItems: B, shouldShowInput: R, shouldShowSingleSelectSlot: p, shouldShowMultipleSlot: L, onOpenDropdown: T, onCloseDropdown: O, onToggleDropdown: A, onClearSearch: M, onInputEvent: m, focus: C, BentoTypography: ae, DropdownBaseTextboxEvent: G, CrossCircleFillIcon: dt, CrossCircleFillSmallIcon: ut, BentoDropdownSize: be };
1981
+ focus: g
1982
+ }), { __sfc: !0, t: s, attrs: o, slots: i, hasSlot: r, props: t, emit: l, textbox: v, textboxId: d, isUnderlineStyle: c, conditionalClasses: m, showRequiredAttribute: p, comboboxConditionalClasses: f, isFiltering: h, ariaAttributes: y, selectedValueItems: k, shouldShowInput: B, shouldShowSingleSelectSlot: b, shouldShowMultipleSlot: L, onOpenDropdown: T, onCloseDropdown: I, onToggleDropdown: w, onClearSearch: N, onInputEvent: A, focus: g, BentoTypography: ie, DropdownBaseTextboxEvent: K, CrossCircleFillIcon: ft, CrossCircleFillSmallIcon: bt, BentoDropdownSize: ge };
1970
1983
  }
1971
1984
  });
1972
- var ql = function() {
1985
+ var jl = function() {
1973
1986
  var e = this, l = e._self._c, t = e._self._setupProxy;
1974
1987
  return l("div", { class: e.$attrs.class, attrs: { "data-testid": "textbox-wrapper" }, on: { click: t.onToggleDropdown, keydown: function(s) {
1975
1988
  return !s.type.indexOf("key") && e._k(s.keyCode, "escape", void 0, s.key, void 0) ? null : t.onCloseDropdown.apply(null, arguments);
@@ -1990,19 +2003,19 @@ var ql = function() {
1990
2003
  }, keyup: function(s) {
1991
2004
  return !s.type.indexOf("key") && e._k(s.keyCode, "space", 32, s.key, [" ", "Spacebar"]) ? null : t.onClearSearch.apply(null, arguments);
1992
2005
  } } }, [e.size === t.BentoDropdownSize.SMALL ? l(t.CrossCircleFillSmallIcon, { attrs: { "svg-title": t.t("clearSearch") } }) : l(t.CrossCircleFillIcon, { attrs: { "svg-title": t.t("clearSearch") } })], 1) : e._e()])], 1);
1993
- }, Yl = [], Wl = /* @__PURE__ */ U(
1994
- Kl,
1995
- ql,
1996
- Yl,
2006
+ }, Hl = [], Jl = /* @__PURE__ */ G(
2007
+ Wl,
2008
+ jl,
2009
+ Hl,
1997
2010
  !1,
1998
2011
  null,
1999
2012
  "4d2fd594"
2000
2013
  );
2001
- const ot = Wl.exports, jl = z({
2014
+ const ct = Jl.exports, Xl = U({
2002
2015
  name: "dropdown-default-textbox",
2003
2016
  inheritAttrs: !1
2004
- }), Hl = /* @__PURE__ */ z({
2005
- ...jl,
2017
+ }), Zl = /* @__PURE__ */ U({
2018
+ ...Xl,
2006
2019
  props: {
2007
2020
  /**
2008
2021
  * The number of additional items that have been selected in the dropdown.
@@ -2090,37 +2103,37 @@ const ot = Wl.exports, jl = z({
2090
2103
  },
2091
2104
  emits: ["clear", "close", "input", "keydown", "open"],
2092
2105
  setup(a, { expose: e, emit: l }) {
2093
- const t = a, s = Se(), o = E(null), i = n(() => ({
2094
- [`b-dropdown-default-textbox--${j.ERROR}`]: !t.disabled && !t.readonly && t.isInvalid,
2095
- [`b-dropdown-default-textbox--${j.DISABLED}`]: t.disabled,
2096
- [`b-dropdown-default-textbox--${j.READONLY}`]: t.readonly,
2097
- [`b-dropdown-default-textbox--${j.OPENED}`]: t.open,
2106
+ const t = a, s = Oe(), o = E(null), i = n(() => ({
2107
+ [`b-dropdown-default-textbox--${Z.ERROR}`]: !t.disabled && !t.readonly && t.isInvalid,
2108
+ [`b-dropdown-default-textbox--${Z.DISABLED}`]: t.disabled,
2109
+ [`b-dropdown-default-textbox--${Z.READONLY}`]: t.readonly,
2110
+ [`b-dropdown-default-textbox--${Z.OPENED}`]: t.open,
2098
2111
  "b-dropdown-default-textbox--condensed": t.condensed
2099
2112
  })), r = n(() => t.open && !t.disabled && !t.readonly), v = (y) => {
2100
2113
  l("input", y);
2101
- }, u = (y) => {
2114
+ }, d = (y) => {
2102
2115
  l("keydown", y);
2103
2116
  }, c = (y) => {
2104
- fe(y), l("open");
2105
- }, g = (y) => {
2106
- fe(y), l("close");
2107
- }, b = (y) => {
2108
- fe(y), l("clear");
2117
+ ye(y), l("open");
2118
+ }, m = (y) => {
2119
+ ye(y), l("close");
2120
+ }, p = (y) => {
2121
+ ye(y), l("clear");
2109
2122
  }, f = {
2110
- [G.INPUT]: v,
2111
- [G.OPEN]: c,
2112
- [G.CLOSE]: g,
2113
- [G.CLEAR]: b,
2114
- [G.KEYDOWN]: u
2123
+ [K.INPUT]: v,
2124
+ [K.OPEN]: c,
2125
+ [K.CLOSE]: m,
2126
+ [K.CLEAR]: p,
2127
+ [K.KEYDOWN]: d
2115
2128
  }, h = () => {
2116
2129
  o.value.focus();
2117
2130
  };
2118
2131
  return e({
2119
2132
  focus: h
2120
- }), { __sfc: !0, emit: l, slots: s, props: t, baseTextbox: o, conditionalClasses: i, isDropdownOpen: r, onInput: v, onKeyDown: u, openDropdown: c, closeDropdown: g, clearValue: b, listeners: f, focus: h, DropdownBaseTextbox: ot, ChevronDownIcon: Xe, ChevronUpIcon: Ze };
2133
+ }), { __sfc: !0, emit: l, slots: s, props: t, baseTextbox: o, conditionalClasses: i, isDropdownOpen: r, onInput: v, onKeyDown: d, openDropdown: c, closeDropdown: m, clearValue: p, listeners: f, focus: h, DropdownBaseTextbox: ct, ChevronDownIcon: tt, ChevronUpIcon: lt };
2121
2134
  }
2122
2135
  });
2123
- var Jl = function() {
2136
+ var Ql = function() {
2124
2137
  var e = this, l = e._self._c, t = e._self._setupProxy;
2125
2138
  return l("div", { staticClass: "b-dropdown-default-textbox", class: t.conditionalClasses, attrs: { "data-testid": "default-textbox" } }, [l(t.DropdownBaseTextbox, e._g(e._b({ ref: "baseTextbox", staticClass: "b-dropdown-default-textbox__textbox", attrs: { value: e.value }, scopedSlots: e._u([e._l(t.slots, function(s, o) {
2126
2139
  return { key: o, fn: function(i) {
@@ -2129,55 +2142,55 @@ var Jl = function() {
2129
2142
  }), { key: "icon", fn: function() {
2130
2143
  return [l("div", { staticClass: "b-dropdown-default-textbox__chevron" }, [l(t.ChevronUpIcon, { directives: [{ name: "show", rawName: "v-show", value: t.isDropdownOpen, expression: "isDropdownOpen" }], attrs: { "svg-title": "opened" } }), l(t.ChevronDownIcon, { directives: [{ name: "show", rawName: "v-show", value: !t.isDropdownOpen, expression: "!isDropdownOpen" }], attrs: { "svg-title": "closed" } })], 1)];
2131
2144
  }, proxy: !0 }], null, !0) }, "dropdown-base-textbox", { ...e.$attrs, ...e.$props }, !1), t.listeners))], 1);
2132
- }, Xl = [], Zl = /* @__PURE__ */ U(
2133
- Hl,
2134
- Jl,
2135
- Xl,
2145
+ }, ea = [], ta = /* @__PURE__ */ G(
2146
+ Zl,
2147
+ Ql,
2148
+ ea,
2136
2149
  !1,
2137
2150
  null,
2138
2151
  "bf2d43b0"
2139
2152
  );
2140
- const Ql = Zl.exports;
2141
- let We = 0;
2142
- const ea = {
2153
+ const la = ta.exports;
2154
+ let Xe = 0;
2155
+ const aa = {
2143
2156
  beforeCreate() {
2144
- this.uuid = We.toString(), We += 1;
2157
+ this.uuid = Xe.toString(), Xe += 1;
2145
2158
  }
2146
2159
  };
2147
- var ta = function() {
2160
+ var sa = function() {
2148
2161
  var e = this, l = e._self._c;
2149
2162
  return l("svg", e._b({ staticClass: "ui-assets-icons-16", attrs: { role: "img", xmlns: "http://www.w3.org/2000/svg", width: "16", height: "16", fill: "none" } }, "svg", e.$attrs, !1), [e.$attrs["svg-title"] ? l("title", [e._v(e._s(e.$attrs["svg-title"]))]) : e._e(), l("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" } })]);
2150
- }, la = [], aa = /* @__PURE__ */ U(
2151
- ea,
2152
- ta,
2153
- la,
2163
+ }, oa = [], na = /* @__PURE__ */ G(
2164
+ aa,
2165
+ sa,
2166
+ oa,
2154
2167
  !1,
2155
2168
  null,
2156
2169
  null
2157
2170
  );
2158
- const sa = aa.exports;
2159
- let je = 0;
2160
- const oa = {
2171
+ const ia = na.exports;
2172
+ let Ze = 0;
2173
+ const ra = {
2161
2174
  beforeCreate() {
2162
- this.uuid = je.toString(), je += 1;
2175
+ this.uuid = Ze.toString(), Ze += 1;
2163
2176
  }
2164
2177
  };
2165
- var na = function() {
2178
+ var ca = function() {
2166
2179
  var e = this, l = e._self._c;
2167
2180
  return l("svg", e._b({ staticClass: "ui-assets-icons-16", attrs: { role: "img", xmlns: "http://www.w3.org/2000/svg", width: "16", height: "16", fill: "none" } }, "svg", e.$attrs, !1), [e.$attrs["svg-title"] ? l("title", [e._v(e._s(e.$attrs["svg-title"]))]) : e._e(), l("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" } })]);
2168
- }, ia = [], ra = /* @__PURE__ */ U(
2169
- oa,
2170
- na,
2171
- ia,
2181
+ }, ua = [], da = /* @__PURE__ */ G(
2182
+ ra,
2183
+ ca,
2184
+ ua,
2172
2185
  !1,
2173
2186
  null,
2174
2187
  null
2175
2188
  );
2176
- const ca = ra.exports, da = z({
2189
+ const pa = da.exports, fa = U({
2177
2190
  name: "dropdown-small-textbox",
2178
2191
  inheritAttrs: !1
2179
- }), ua = /* @__PURE__ */ z({
2180
- ...da,
2192
+ }), ba = /* @__PURE__ */ U({
2193
+ ...fa,
2181
2194
  props: {
2182
2195
  /**
2183
2196
  * The number of additional items that have been selected in the dropdown.
@@ -2234,49 +2247,49 @@ const ca = ra.exports, da = z({
2234
2247
  },
2235
2248
  emits: ["clear", "close", "input", "keydown", "open"],
2236
2249
  setup(a, { expose: e, emit: l }) {
2237
- const t = a, s = E(null), o = Fe(st, !1), i = n(() => ({
2238
- [`b-dropdown-small-textbox--${j.DISABLED}`]: t.disabled,
2239
- [`b-dropdown-small-textbox--${j.READONLY}`]: t.readonly,
2240
- [`b-dropdown-small-textbox--${j.OPENED}`]: t.open,
2250
+ const t = a, s = E(null), o = ze(rt, !1), i = n(() => ({
2251
+ [`b-dropdown-small-textbox--${Z.DISABLED}`]: t.disabled,
2252
+ [`b-dropdown-small-textbox--${Z.READONLY}`]: t.readonly,
2253
+ [`b-dropdown-small-textbox--${Z.OPENED}`]: t.open,
2241
2254
  "b-dropdown-small-textbox--underline": o
2242
2255
  })), r = n(() => t.open && !t.disabled && !t.readonly), v = (y) => {
2243
2256
  l("input", y);
2244
- }, u = (y) => {
2257
+ }, d = (y) => {
2245
2258
  l("keydown", y);
2246
2259
  }, c = (y) => {
2247
- fe(y), l("open");
2248
- }, g = (y) => {
2249
- fe(y), l("close");
2250
- }, b = (y) => {
2251
- fe(y), l("clear");
2260
+ ye(y), l("open");
2261
+ }, m = (y) => {
2262
+ ye(y), l("close");
2263
+ }, p = (y) => {
2264
+ ye(y), l("clear");
2252
2265
  }, f = {
2253
- [G.INPUT]: v,
2254
- [G.OPEN]: c,
2255
- [G.CLOSE]: g,
2256
- [G.CLEAR]: b,
2257
- [G.KEYDOWN]: u
2266
+ [K.INPUT]: v,
2267
+ [K.OPEN]: c,
2268
+ [K.CLOSE]: m,
2269
+ [K.CLEAR]: p,
2270
+ [K.KEYDOWN]: d
2258
2271
  }, h = () => {
2259
2272
  s.value.focus();
2260
2273
  };
2261
2274
  return e({
2262
2275
  focus: h
2263
- }), { __sfc: !0, emit: l, props: t, baseTextbox: s, isUnderlineStyle: o, conditionalClasses: i, isDropdownOpen: r, onInput: v, onKeyDown: u, openDropdown: c, closeDropdown: g, clearValue: b, listeners: f, focus: h, BentoDropdownSize: be, DropdownBaseTextbox: ot, ChevronDownSmallIcon: sa, ChevronUpSmallIcon: ca };
2276
+ }), { __sfc: !0, emit: l, props: t, baseTextbox: s, isUnderlineStyle: o, conditionalClasses: i, isDropdownOpen: r, onInput: v, onKeyDown: d, openDropdown: c, closeDropdown: m, clearValue: p, listeners: f, focus: h, BentoDropdownSize: ge, DropdownBaseTextbox: ct, ChevronDownSmallIcon: ia, ChevronUpSmallIcon: pa };
2264
2277
  }
2265
2278
  });
2266
- var pa = function() {
2279
+ var va = function() {
2267
2280
  var e = this, l = e._self._c, t = e._self._setupProxy;
2268
2281
  return l("div", { staticClass: "b-dropdown-small-textbox", class: t.conditionalClasses }, [l(t.DropdownBaseTextbox, e._g(e._b({ ref: "baseTextbox", staticClass: "b-dropdown-small-textbox__textbox", attrs: { size: t.BentoDropdownSize.SMALL }, scopedSlots: e._u([{ key: "icon", fn: function() {
2269
2282
  return [l("div", { staticClass: "b-dropdown-small-textbox__chevron" }, [l(t.ChevronUpSmallIcon, { directives: [{ name: "show", rawName: "v-show", value: t.isDropdownOpen, expression: "isDropdownOpen" }], attrs: { "svg-title": "opened" } }), l(t.ChevronDownSmallIcon, { directives: [{ name: "show", rawName: "v-show", value: !t.isDropdownOpen, expression: "!isDropdownOpen" }], attrs: { "svg-title": "closed" } })], 1)];
2270
2283
  }, proxy: !0 }]) }, "dropdown-base-textbox", { ...e.$attrs, ...e.$props }, !1), t.listeners))], 1);
2271
- }, fa = [], ba = /* @__PURE__ */ U(
2272
- ua,
2273
- pa,
2274
- fa,
2284
+ }, ma = [], _a = /* @__PURE__ */ G(
2285
+ ba,
2286
+ va,
2287
+ ma,
2275
2288
  !1,
2276
2289
  null,
2277
2290
  "fa225e76"
2278
2291
  );
2279
- const va = ba.exports, ma = (a, e) => e.value.reduce((l, t) => {
2292
+ const ya = _a.exports, ga = (a, e) => e.value.reduce((l, t) => {
2280
2293
  if (t.items) {
2281
2294
  const s = t.items.filter(
2282
2295
  (i) => a.value.find((r) => r.value === i.value)
@@ -2284,18 +2297,18 @@ const va = ba.exports, ma = (a, e) => e.value.reduce((l, t) => {
2284
2297
  s.length === t.items.length ? l.push(t.displayValue ?? t.label) : s.forEach(({ label: i, displayValue: r }) => l.push(r ?? i));
2285
2298
  }
2286
2299
  return a.value.find((s) => s.value === t.value) && l.push(t.displayValue ?? t.label), l;
2287
- }, []).join(", "), _a = ({ items: a, placeholder: e, selectedValues: l, isMultiSelect: t }) => {
2300
+ }, []).join(", "), ha = ({ items: a, placeholder: e, selectedValues: l, isMultiSelect: t }) => {
2288
2301
  const s = n(
2289
2302
  () => t.value && a.value.find((i) => {
2290
2303
  var r;
2291
2304
  return (r = i.items) == null ? void 0 : r.length;
2292
2305
  })
2293
2306
  );
2294
- return n(() => l.value.length ? s.value ? ma(l, a) : l.value.map(({ label: i, displayValue: r }) => r ?? i).join(", ") : e.value || null);
2295
- }, nt = (a) => {
2307
+ return n(() => l.value.length ? s.value ? ga(l, a) : l.value.map(({ label: i, displayValue: r }) => r ?? i).join(", ") : e.value || null);
2308
+ }, ut = (a) => {
2296
2309
  var e;
2297
2310
  (e = a.value.$children) == null || e[0].$refs.textbox.focus();
2298
- }, ya = ({
2311
+ }, Sa = ({
2299
2312
  inputContainerRef: a,
2300
2313
  optionsContainerRef: e,
2301
2314
  selectedValueIndex: l,
@@ -2305,78 +2318,78 @@ const va = ba.exports, ma = (a, e) => e.value.reduce((l, t) => {
2305
2318
  isMultiple: i,
2306
2319
  totalItemCount: r,
2307
2320
  isVirtualScroll: v
2308
- }, u, c, g) => {
2309
- const b = async (D) => {
2310
- var $;
2311
- s.value && await Y(), ($ = o.value[D]) == null || $.focus();
2312
- }, f = async (D) => {
2313
- var J, Q;
2314
- s.value && await Y();
2315
- const $ = (J = e.value.$refs.dropdownOptionsListboxRef.$refs.listboxItemRef) == null ? void 0 : J.$el.querySelectorAll(
2321
+ }, d, c, m) => {
2322
+ const p = async (O) => {
2323
+ var P;
2324
+ s.value && await W(), (P = o.value[O]) == null || P.focus();
2325
+ }, f = async (O) => {
2326
+ var Q, le;
2327
+ s.value && await W();
2328
+ const P = (Q = e.value.$refs.dropdownOptionsListboxRef.$refs.listboxItemRef) == null ? void 0 : Q.$el.querySelectorAll(
2316
2329
  "button"
2317
2330
  );
2318
- $ != null && $.length ? (Q = $[D]) == null || Q.focus() : b(D);
2319
- }, h = (D) => {
2320
- var $;
2321
- return ($ = e.value.$refs.dropdownOptionsListboxRef.$refs.listboxItemRef) == null ? void 0 : $.setListboxFocusedIndex(
2322
- D
2331
+ P != null && P.length ? (le = P[O]) == null || le.focus() : p(O);
2332
+ }, h = (O) => {
2333
+ var P;
2334
+ return (P = e.value.$refs.dropdownOptionsListboxRef.$refs.listboxItemRef) == null ? void 0 : P.setListboxFocusedIndex(
2335
+ O
2323
2336
  );
2324
- }, y = async (D) => {
2325
- var $;
2326
- await (($ = e.value.$refs.dropdownOptionsListboxRef.$refs.listboxItemRef) == null ? void 0 : $.navigateToItem(D));
2327
- }, B = (D) => {
2328
- Y(() => {
2329
- v ? y(D) : (h(D), b(D));
2337
+ }, y = async (O) => {
2338
+ var P;
2339
+ await ((P = e.value.$refs.dropdownOptionsListboxRef.$refs.listboxItemRef) == null ? void 0 : P.navigateToItem(O));
2340
+ }, k = (O) => {
2341
+ W(() => {
2342
+ v ? y(O) : (h(O), p(O));
2330
2343
  });
2331
- }, R = () => {
2332
- t.value || c(), B(0);
2333
- }, p = () => {
2334
- t.value || c(), Y(() => {
2335
- B(v ? r.value - 1 : o.value.length - 1);
2344
+ }, B = () => {
2345
+ t.value || c(), k(0);
2346
+ }, b = () => {
2347
+ t.value || c(), W(() => {
2348
+ k(v ? r.value - 1 : o.value.length - 1);
2336
2349
  });
2337
- }, L = ({ detail: D }) => {
2338
- D.preventDefault(), R();
2339
- }, T = ({ detail: D }) => {
2340
- D.preventDefault(), p();
2341
- }, O = () => {
2342
- R();
2343
- }, A = () => {
2344
- p();
2345
- }, M = ({ detail: D }) => {
2346
- D.preventDefault(), u(), t.value && (i ? f(0) : B(l.value));
2347
- }, m = ({ detail: D }) => {
2348
- D.preventDefault(), u(), t.value && (i ? f(0) : B(l.value));
2349
- }, C = () => {
2350
- t.value && g();
2350
+ }, L = ({ detail: O }) => {
2351
+ O.preventDefault(), B();
2352
+ }, T = ({ detail: O }) => {
2353
+ O.preventDefault(), b();
2351
2354
  }, I = () => {
2352
- t.value && (g(), nt(a));
2355
+ B();
2356
+ }, w = () => {
2357
+ b();
2358
+ }, N = ({ detail: O }) => {
2359
+ O.preventDefault(), d(), t.value && (i ? f(0) : k(l.value));
2360
+ }, A = ({ detail: O }) => {
2361
+ O.preventDefault(), d(), t.value && (i ? f(0) : k(l.value));
2362
+ }, g = () => {
2363
+ t.value && m();
2364
+ }, S = () => {
2365
+ t.value && (m(), ut(a));
2353
2366
  };
2354
2367
  return n(() => ({
2355
- [V.ARROW_DOWN]: L,
2356
- [V.ARROW_UP]: T,
2357
- [V.HOME]: O,
2358
- [V.END]: A,
2359
- ...s.value ? {} : { [V.SPACE]: M },
2360
- [V.ENTER]: m,
2361
- ...s.value ? {} : { [V.TAB]: C },
2362
- [V.ESCAPE]: I
2368
+ [z.ARROW_DOWN]: L,
2369
+ [z.ARROW_UP]: T,
2370
+ [z.HOME]: I,
2371
+ [z.END]: w,
2372
+ ...s.value ? {} : { [z.SPACE]: N },
2373
+ [z.ENTER]: A,
2374
+ ...s.value ? {} : { [z.TAB]: g },
2375
+ [z.ESCAPE]: S
2363
2376
  }));
2364
- }, ga = ({ inputContainerRef: a, isDropdownOpen: e }, l) => {
2377
+ }, xa = ({ inputContainerRef: a, isDropdownOpen: e }, l) => {
2365
2378
  const t = () => {
2366
- e.value && l(), Y(() => {
2367
- nt(a);
2379
+ e.value && l(), W(() => {
2380
+ ut(a);
2368
2381
  });
2369
2382
  };
2370
2383
  return {
2371
- [d.ENTER]: t,
2372
- [d.ESCAPE]: t,
2373
- [d.TAB]: t,
2374
- [d.SPACE]: t
2384
+ [u.ENTER]: t,
2385
+ [u.ESCAPE]: t,
2386
+ [u.TAB]: t,
2387
+ [u.SPACE]: t
2375
2388
  };
2376
2389
  };
2377
- function ha(a, e, l, t, s) {
2378
- const o = E(a), i = E(e), r = (c, g = []) => g.flatMap((b) => b.label.toLocaleLowerCase().includes(c) ? t != null && t.value && b.items ? [...r(c, b.items)] : [b, ...r(c, b.items)] : b.items ? [...r(c, b.items)] : []), v = l !== void 0 ? at(() => l(o.value), s ?? 300) : void 0;
2379
- return Z(o, () => {
2390
+ function Ca(a, e, l, t, s) {
2391
+ const o = E(a), i = E(e), r = (c, m = []) => m.flatMap((p) => p.label.toLocaleLowerCase().includes(c) ? t != null && t.value && p.items ? [...r(c, p.items)] : [p, ...r(c, p.items)] : p.items ? [...r(c, p.items)] : []), v = l !== void 0 ? it(() => l(o.value), s ?? 300) : void 0;
2392
+ return te(o, () => {
2380
2393
  v !== void 0 && v();
2381
2394
  }), n(() => {
2382
2395
  if (!o.value || l !== void 0)
@@ -2385,7 +2398,7 @@ function ha(a, e, l, t, s) {
2385
2398
  return r(c, i.value);
2386
2399
  });
2387
2400
  }
2388
- const Sa = {
2401
+ const Oa = {
2389
2402
  "de-DE": {
2390
2403
  all: "Alle",
2391
2404
  ariaLabelFallback: "Dropdown",
@@ -2436,16 +2449,16 @@ const Sa = {
2436
2449
  ariaLabelFallback: "下拉菜单",
2437
2450
  clearSearch: "清除筛选器"
2438
2451
  }
2439
- }, xa = z({
2440
- i18n: { messages: Sa },
2452
+ }, Ea = U({
2453
+ i18n: { messages: Oa },
2441
2454
  name: "b-dropdown",
2442
2455
  components: {
2443
- DropdownInputDefault: Ql,
2444
- DropdownInputSmall: va
2456
+ DropdownInputDefault: la,
2457
+ DropdownInputSmall: ya
2445
2458
  },
2446
2459
  model: { prop: "modelValue" }
2447
- }), Ca = /* @__PURE__ */ z({
2448
- ...xa,
2460
+ }), Ia = /* @__PURE__ */ U({
2461
+ ...Ea,
2449
2462
  props: {
2450
2463
  description: { default: null },
2451
2464
  disabled: { type: Boolean, default: !1 },
@@ -2466,7 +2479,7 @@ const Sa = {
2466
2479
  items: { default: () => [] },
2467
2480
  loading: { type: Boolean, default: !1 },
2468
2481
  componentLoading: { type: Boolean, default: !1 },
2469
- lazyLoadType: { default: Me.props.lazyLoadType.default },
2482
+ lazyLoadType: { default: Fe.props.lazyLoadType.default },
2470
2483
  multiple: { type: Boolean, default: !1 },
2471
2484
  search: { default: void 0 },
2472
2485
  showSlotContentInMultiple: { type: Boolean, default: !1 },
@@ -2480,143 +2493,155 @@ const Sa = {
2480
2493
  },
2481
2494
  emits: ["input", "update:model-value", "show-more", "open"],
2482
2495
  setup(a, { expose: e, emit: l }) {
2483
- var W, Le;
2484
- const t = a, s = $e(), o = Se(), i = Je(o), { t: r } = oe(), { emitValue: v } = ft(l), u = E(null), c = E(null), g = E(null), b = E(!1), f = le("bento-dropdown-options-container"), h = le("dropdown-label"), y = le("dropdown-description"), B = le("dropdown-error"), { isReadOnly: R } = bt(K(t, "readonly")), p = n(() => t.modelValue ?? t.value), { cachedSelectedListboxOptions: L, cachedListboxSelectedValues: T, setCachedValues: O } = kl(
2485
- K(t, "items"),
2486
- p,
2487
- K(t, "multiple"),
2488
- K(t, "enableValueLabelPair")
2489
- ), A = E(s["aria-label"]), M = E(s["aria-describedby"]), { ariaLabel: m, label: C } = He(t), I = n(() => r("ariaLabelFallback")), N = pt({
2496
+ var F, ce;
2497
+ const t = a, s = Ve(), o = Oe(), i = et(o), { t: r } = de(), { emitValue: v } = mt(l), d = E(null), c = E(null), m = E(null), p = E(!1), f = ne("bento-dropdown-options-container"), h = ne("dropdown-label"), y = ne("dropdown-description"), k = ne("dropdown-error"), { isReadOnly: B } = _t(q(t, "readonly")), b = n(() => t.modelValue ?? t.value), { cachedSelectedListboxOptions: L, cachedListboxSelectedValues: T, setCachedValues: I } = Ml(
2498
+ q(t, "items"),
2499
+ b,
2500
+ q(t, "multiple"),
2501
+ q(t, "enableValueLabelPair")
2502
+ ), w = E(s["aria-label"]), N = E(s["aria-describedby"]), { ariaLabel: A, label: g } = Qe(t), S = n(() => r("ariaLabelFallback")), R = vt({
2490
2503
  // TODO: take ariaLabel ref away when aria-label prop is removed
2491
- ariaLabel: m.value || A,
2492
- label: C,
2493
- defaultFallback: I
2494
- }), D = t.size === be.SMALL || Fe(zl, !1), $ = n(() => D ? be.SMALL : be.DEFAULT), J = n(() => ({
2504
+ ariaLabel: A.value || w,
2505
+ label: g,
2506
+ defaultFallback: S
2507
+ }), O = t.size === ge.SMALL || ze(Kl, !1), P = n(() => O ? ge.SMALL : ge.DEFAULT), Q = n(() => ({
2495
2508
  "b-dropdown--condensed": t.condensed
2496
- })), Q = n(() => ({
2509
+ })), le = n(() => ({
2497
2510
  "b-dropdown__description--error": !!t.errorMessage
2498
- })), q = E(""), F = K(t, "items"), ee = K(t, "staticCategories"), ne = ha(
2499
- q,
2500
- F,
2501
- (W = t == null ? void 0 : t.search) == null ? void 0 : W.searchEvent,
2502
- ee,
2503
- (Le = t == null ? void 0 : t.search) == null ? void 0 : Le.debounceTime
2504
- ), ve = n(() => t.dynamicFiltering && !!q.value), De = _a({
2505
- items: F,
2506
- placeholder: K(t, "placeholder"),
2507
- isMultiSelect: K(t, "multiple"),
2511
+ })), Y = E(""), V = q(t, "items"), ae = q(t, "staticCategories"), pe = Ca(
2512
+ Y,
2513
+ V,
2514
+ (F = t == null ? void 0 : t.search) == null ? void 0 : F.searchEvent,
2515
+ ae,
2516
+ (ce = t == null ? void 0 : t.search) == null ? void 0 : ce.debounceTime
2517
+ ), he = n(() => t.dynamicFiltering && !!Y.value), Re = ha({
2518
+ items: V,
2519
+ placeholder: q(t, "placeholder"),
2520
+ isMultiSelect: q(t, "multiple"),
2508
2521
  selectedValues: L
2509
- }), ke = n(() => {
2510
- if (t != null && t.multiple && Array.isArray(p.value))
2522
+ }), Me = n(() => {
2523
+ if (t != null && t.multiple && Array.isArray(b.value))
2511
2524
  return t.items.filter(
2512
- ({ value: P }) => (t == null ? void 0 : t.value) && (t == null ? void 0 : t.value).includes(P)
2525
+ ({ value: $ }) => (t == null ? void 0 : t.value) && (t == null ? void 0 : t.value).includes($)
2513
2526
  );
2514
2527
  if (!t.multiple && t.staticCategories) {
2515
- const P = t.items.find(
2516
- (he) => {
2517
- var ze;
2518
- return (ze = he.items) == null ? void 0 : ze.some((it) => it.value === p.value);
2528
+ const $ = t.items.find(
2529
+ (X) => {
2530
+ var se;
2531
+ return (se = X.items) == null ? void 0 : se.some((Ae) => Ae.value === b.value);
2519
2532
  }
2520
2533
  );
2521
- return (P ? P.items.find((he) => he.value === p.value) : t.items.find(({ value: he }) => he === p.value)) ?? null;
2534
+ return ($ ? $.items.find((X) => X.value === b.value) : t.items.find(({ value: X }) => X === b.value)) ?? null;
2522
2535
  }
2523
- return t.items.find(({ value: P }) => P === p.value);
2524
- }), me = n(() => {
2525
- const P = ne.value.findIndex(({ value: pe }) => t.enableValueLabelPair ? p.value.value === pe : p.value === pe);
2526
- return P > -1 ? P : 0;
2527
- }), { isMultiLevelSelect: H, flattenedItemsList: ie } = lt(F), _e = n(() => H.value && !t.staticCategories), xe = n(() => _e.value ? "treeitem" : "option"), Ce = n(() => {
2536
+ return t.items.find(({ value: $ }) => $ === b.value);
2537
+ }), fe = n(() => {
2538
+ const j = (H.value ? re.value : pe.value).findIndex(({ value: X }) => {
2539
+ var se;
2540
+ return t.enableValueLabelPair ? ((se = b.value) == null ? void 0 : se.value) === X : b.value === X;
2541
+ });
2542
+ return j > -1 ? j : 0;
2543
+ }), { isMultiLevelSelect: H, flattenedItemsList: re } = nt(V), Se = n(() => H.value && !t.staticCategories), Ee = n(() => Se.value ? "treeitem" : "option"), Ie = n(() => {
2528
2544
  if (t.multiple) {
2529
- const P = Array.isArray(p.value) ? p.value.length : 0, pe = H.value ? ie.value.length : F.value.length;
2530
- return P === 0 ? null : !t.hasMoreItems && pe > 0 && pe === P ? r("all") : P;
2545
+ const $ = Array.isArray(b.value) ? b.value.length : 0, j = H.value ? re.value.length : V.value.length;
2546
+ return $ === 0 ? null : !t.hasMoreItems && j > 0 && j === $ ? r("all") : $;
2531
2547
  }
2532
2548
  return null;
2533
- }), Oe = n(
2549
+ }), Le = n(
2534
2550
  () => [
2535
2551
  t.description ? y : null,
2536
- M.value,
2537
- t.errorMessage ? B : null
2552
+ N.value,
2553
+ t.errorMessage ? k : null
2538
2554
  ].filter(Boolean).join(" ") || null
2539
- ), re = n(() => {
2540
- var P;
2541
- return (P = g.value) == null ? void 0 : P.$el;
2542
- }), { visibleDomOptions: ye, updateVisibleDomOptions: ce } = Pe(
2543
- re,
2544
- ne,
2545
- xe
2546
- ), de = () => {
2547
- R.value || (b.value = !0, Y(() => {
2548
- ce();
2555
+ ), be = n(() => {
2556
+ var $;
2557
+ return ($ = m.value) == null ? void 0 : $.$el;
2558
+ }), { visibleDomOptions: xe, updateVisibleDomOptions: ve } = Ue(
2559
+ be,
2560
+ pe,
2561
+ Ee
2562
+ ), me = () => {
2563
+ B.value || (p.value = !0, W(() => {
2564
+ ve();
2549
2565
  }));
2550
- }, ue = () => {
2551
- b.value = !1;
2552
- }, ge = () => {
2553
- R.value || (b.value = !b.value, Y(() => {
2554
- ce();
2555
- }), ve.value && (q.value = ""));
2556
- }, Ee = () => {
2557
- ve.value && (q.value = ""), b.value && (b.value = !1, g.value.onOutsideDropdownClick());
2558
- }, Be = n(() => [
2559
- Ee,
2566
+ }, _e = () => {
2567
+ p.value = !1;
2568
+ }, Ce = () => {
2569
+ B.value || (p.value = !p.value, W(() => {
2570
+ ve();
2571
+ }), he.value && (Y.value = ""));
2572
+ }, Te = () => {
2573
+ he.value && (Y.value = ""), p.value && (p.value = !1, m.value.onOutsideDropdownClick());
2574
+ }, Ne = n(() => [
2575
+ Te,
2560
2576
  {
2561
- ignore: [re]
2577
+ ignore: [be]
2562
2578
  }
2563
- ]), Ie = async (P) => {
2564
- t.multiple || (q.value = "", b.value = !1), O(P), v(T.value), t.multiple || (await Y(), w());
2579
+ ]), we = async ($) => {
2580
+ t.multiple || (Y.value = "", p.value = !1), I($), v(T.value), t.multiple || (await W(), M());
2565
2581
  }, _ = () => {
2566
- l(d.SHOW_MORE);
2567
- }, S = ya(
2582
+ l(u.SHOW_MORE);
2583
+ }, x = Sa(
2568
2584
  {
2569
- inputContainerRef: u,
2570
- optionsContainerRef: g,
2571
- selectedValueIndex: me,
2572
- isDropdownOpen: b,
2573
- isDynamicFltering: K(t, "dynamicFiltering"),
2574
- items: ye,
2585
+ inputContainerRef: d,
2586
+ optionsContainerRef: m,
2587
+ selectedValueIndex: fe,
2588
+ isDropdownOpen: p,
2589
+ isDynamicFltering: q(t, "dynamicFiltering"),
2590
+ items: xe,
2575
2591
  isMultiple: t.multiple,
2576
- totalItemCount: n(() => ne.value.length),
2592
+ totalItemCount: n(() => pe.value.length),
2577
2593
  isVirtualScroll: !(t != null && t.multiple) && (t == null ? void 0 : t.virtualScroll) !== !1 && (t == null ? void 0 : t.lazyLoadType) === "none"
2578
2594
  },
2579
- ge,
2580
- de,
2581
- ue
2582
- ), x = ga(
2595
+ Ce,
2596
+ me,
2597
+ _e
2598
+ ), C = xa(
2583
2599
  {
2584
- inputContainerRef: u,
2585
- isDropdownOpen: b
2600
+ inputContainerRef: d,
2601
+ isDropdownOpen: p
2586
2602
  },
2587
- ue
2588
- ), k = {
2589
- [d.CLOSE_DROPDOWN]: ue,
2590
- [d.SELECT]: Ie,
2591
- [d.SHOW_MORE]: _,
2592
- ...x
2603
+ _e
2604
+ ), D = {
2605
+ [u.CLOSE_DROPDOWN]: _e,
2606
+ [u.SELECT]: we,
2607
+ [u.SHOW_MORE]: _,
2608
+ ...C
2593
2609
  };
2594
- t.error && Re(
2610
+ t.error && $e(
2595
2611
  'BentoDropdown "error" property',
2596
2612
  `Use the BentoDropdown "errorMessage" property instead to indicate that there is a modifier error.
2597
2613
  Having the field as "undefined" will hide/remove the error.
2598
2614
  <bento-dropdown errorMessage="Error message text" />`,
2599
2615
  "2.0.0"
2600
- ), t.size && Re('BentoDropdown "size" property', "Do not use. Only 'default' size should be used.", "2.0.0"), t.value && Re(
2616
+ ), t.size && $e('BentoDropdown "size" property', "Do not use. Only 'default' size should be used.", "2.0.0"), t.value && $e(
2601
2617
  'BentoDropdown "value" property',
2602
2618
  `The use of "value" prop in "BentoDropdown" is no longer supported.
2603
2619
  Use the "v-model" or "model-value" property instead.`,
2604
2620
  "2.0.0"
2605
2621
  );
2606
- const w = () => {
2607
- u.value.focus();
2622
+ const M = () => {
2623
+ d.value.focus();
2624
+ }, J = async () => {
2625
+ var X, se, Ae, Ke, qe;
2626
+ if (await W(), !p.value || t.multiple || !m.value)
2627
+ return;
2628
+ const $ = fe.value;
2629
+ if ($ <= 0)
2630
+ return;
2631
+ const j = (Ke = (Ae = (se = (X = m.value) == null ? void 0 : X.$refs) == null ? void 0 : se.dropdownOptionsListboxRef) == null ? void 0 : Ae.$refs) == null ? void 0 : Ke.listboxItemRef;
2632
+ (qe = j == null ? void 0 : j.scrollToItem) == null || qe.call(j, $);
2608
2633
  };
2609
- return Z(
2610
- () => b.value,
2611
- (P) => {
2612
- P && l("open");
2634
+ return te(
2635
+ () => p.value,
2636
+ ($) => {
2637
+ $ && (l("open"), J());
2613
2638
  }
2614
2639
  ), e({
2615
- focus: w
2616
- }), { __sfc: !0, attrs: s, slots: o, hasSlot: i, props: t, emit: l, t: r, emitValue: v, inputContainerRef: u, inputContainerRefWrapper: c, optionsContainerRef: g, isDropdownOpen: b, dropdownOptionsContainerId: f, labelId: h, descriptionId: y, errorId: B, isReadOnly: R, dropdownValue: p, cachedSelectedListboxOptions: L, cachedListboxSelectedValues: T, setCachedValues: O, ariaLabelAttribute: A, ariaDescribedByAttribute: M, ariaLabel: m, label: C, computedAriaLabelFallbackMessage: I, computedAriaLabel: N, isInputComponent: D, computedSize: $, conditionalClasses: J, descriptionConditionalClasses: Q, searchTerm: q, items: F, staticCategories: ee, filteredItems: ne, isSearching: ve, displayValue: De, selectedValueItem: ke, selectedValueIndex: me, isMultiLevelSelect: H, flattenedItemsList: ie, isTreePattern: _e, computedOptionRole: xe, additionalItemsSelected: Ce, ariaDescribedBy: Oe, listboxRef: re, visibleDomOptions: ye, updateVisibleDomOptions: ce, openDropdown: de, closeDropdown: ue, toggleDropdown: ge, clickOutsideDropdown: Ee, clickOutsideDropdownOptions: Be, onOptionSelected: Ie, emitShowMoreEvent: _, textboxKeyboardNavigationListeners: S, listboxKeyboardNavigationListeners: x, listboxListeners: k, focus: w, BentoDropdownOptionsContainer: Vl, BentoTypography: ae, ErrorMessage: It, FieldLabel: Et, BentoTeleport: Ct, vBentoClickOutsideDirective: Ot, vBentoKeyboardNavigationDirective: we };
2640
+ focus: M
2641
+ }), { __sfc: !0, attrs: s, slots: o, hasSlot: i, props: t, emit: l, t: r, emitValue: v, inputContainerRef: d, inputContainerRefWrapper: c, optionsContainerRef: m, isDropdownOpen: p, dropdownOptionsContainerId: f, labelId: h, descriptionId: y, errorId: k, isReadOnly: B, dropdownValue: b, cachedSelectedListboxOptions: L, cachedListboxSelectedValues: T, setCachedValues: I, ariaLabelAttribute: w, ariaDescribedByAttribute: N, ariaLabel: A, label: g, computedAriaLabelFallbackMessage: S, computedAriaLabel: R, isInputComponent: O, computedSize: P, conditionalClasses: Q, descriptionConditionalClasses: le, searchTerm: Y, items: V, staticCategories: ae, filteredItems: pe, isSearching: he, displayValue: Re, selectedValueItem: Me, selectedValueIndex: fe, isMultiLevelSelect: H, flattenedItemsList: re, isTreePattern: Se, computedOptionRole: Ee, additionalItemsSelected: Ie, ariaDescribedBy: Le, listboxRef: be, visibleDomOptions: xe, updateVisibleDomOptions: ve, openDropdown: me, closeDropdown: _e, toggleDropdown: Ce, clickOutsideDropdown: Te, clickOutsideDropdownOptions: Ne, onOptionSelected: we, emitShowMoreEvent: _, textboxKeyboardNavigationListeners: x, listboxKeyboardNavigationListeners: C, listboxListeners: D, focus: M, scrollToSelectedOption: J, BentoDropdownOptionsContainer: Gl, BentoTypography: ie, ErrorMessage: wt, FieldLabel: Tt, BentoTeleport: It, vBentoClickOutsideDirective: Lt, vBentoKeyboardNavigationDirective: ke };
2617
2642
  }
2618
2643
  });
2619
- var Oa = function() {
2644
+ var La = function() {
2620
2645
  var s, o;
2621
2646
  var e = this, l = e._self._c, t = e._self._setupProxy;
2622
2647
  return l("div", { directives: [{ name: "bento-click-outside-directive", rawName: "v-bento-click-outside-directive", value: t.clickOutsideDropdownOptions, expression: "clickOutsideDropdownOptions" }], staticClass: "b-dropdown", class: t.conditionalClasses }, [t.label ? l(t.FieldLabel, { attrs: { id: t.labelId, condensed: e.condensed, label: t.label, "tooltip-text": e.tooltipText, optional: e.optional, required: e.required } }) : e._e(), l("div", e._g({ directives: [{ name: "bento-keyboard-navigation-directive", rawName: "v-bento-keyboard-navigation-directive" }], ref: "inputContainerRefWrapper" }, t.textboxKeyboardNavigationListeners), [l(t.computedSize, { ref: "inputContainerRef", tag: "component", attrs: { condensed: e.condensed, value: t.searchTerm, "additional-items-selected": t.additionalItemsSelected, "aria-controls": t.dropdownOptionsContainerId, ariaExpanded: t.isDropdownOpen, "aria-labelledby": t.label ? t.labelId : null, "aria-describedby": t.ariaDescribedBy, "aria-label": t.computedAriaLabel, "aria-readonly": t.isReadOnly, "aria-required": e.required, readonly: t.isReadOnly, disabled: e.disabled, "display-value": t.displayValue, "dynamic-filtering": e.dynamicFiltering, "is-invalid": !!e.errorMessage || e.error, multiple: e.multiple, open: t.isDropdownOpen, "selected-value-item": t.isInputComponent ? void 0 : t.selectedValueItem, "show-slot-content-in-multiple": e.showSlotContentInMultiple }, on: { input: function(i) {
@@ -2632,29 +2657,29 @@ var Oa = function() {
2632
2657
  })], null, !0) }, t.listboxListeners))], 1) : e._e(), e.errorMessage ? l(t.ErrorMessage, { staticClass: "b-dropdown__error-message", attrs: { id: t.errorId, "error-message": e.errorMessage } }) : e._e(), e.description || t.hasSlot("description") ? l(t.BentoTypography, { staticClass: "b-dropdown__description", class: t.descriptionConditionalClasses, attrs: { id: t.descriptionId, el: "span" } }, [e._t("description", function() {
2633
2658
  return [e._v(" " + e._s(e.description) + " ")];
2634
2659
  })], 2) : e._e()], 1);
2635
- }, Ea = [], Ia = /* @__PURE__ */ U(
2636
- Ca,
2637
- Oa,
2638
- Ea,
2660
+ }, Ta = [], wa = /* @__PURE__ */ G(
2661
+ Ia,
2662
+ La,
2663
+ Ta,
2639
2664
  !1,
2640
2665
  null,
2641
- "65b604ae"
2666
+ "586fe267"
2642
2667
  );
2643
- const ts = Ia.exports;
2668
+ const ss = wa.exports;
2644
2669
  export {
2645
- ts as B,
2646
- zt as C,
2647
- Ql as D,
2648
- d as a,
2649
- te as b,
2650
- be as c,
2651
- Me as d,
2652
- lt as e,
2653
- ha as f,
2654
- at as g,
2655
- zl as h,
2656
- st as i,
2657
- Ve as j,
2658
- kl as u
2670
+ ss as B,
2671
+ Kt as C,
2672
+ la as D,
2673
+ u as a,
2674
+ oe as b,
2675
+ ge as c,
2676
+ Fe as d,
2677
+ nt as e,
2678
+ Ca as f,
2679
+ it as g,
2680
+ Kl as h,
2681
+ rt as i,
2682
+ Ge as j,
2683
+ Ml as u
2659
2684
  };
2660
- //# sourceMappingURL=dropdown.CIEm6MBB.js.map
2685
+ //# sourceMappingURL=dropdown.NTGSuWAw.js.map