@adyen/bento-vue2 1.94.0 → 1.95.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 (262) hide show
  1. package/dist/@types/components.d.ts +2 -0
  2. package/dist/@types/index.d.ts +296 -126
  3. package/dist/action-bar.js +1 -1
  4. package/dist/ai-tag.js +1 -1
  5. package/dist/alert.js +1 -1
  6. package/dist/anchor-scroller.js +1 -1
  7. package/dist/assets/accordion-item.css +1 -1
  8. package/dist/assets/action-bar.css +1 -1
  9. package/dist/assets/base-modal.css +1 -1
  10. package/dist/assets/button-actions.css +1 -1
  11. package/dist/assets/card.css +1 -1
  12. package/dist/assets/dashed-underline.css +1 -1
  13. package/dist/assets/data-grid.css +1 -1
  14. package/dist/assets/date-picker.css +1 -1
  15. package/dist/assets/date-range-picker.css +1 -1
  16. package/dist/assets/date-time-picker.css +1 -0
  17. package/dist/assets/dialog-page.css +1 -1
  18. package/dist/assets/dropdown.css +1 -1
  19. package/dist/assets/file-uploader.css +1 -1
  20. package/dist/assets/form-layout-group.css +1 -0
  21. package/dist/assets/form-layout-title.css +1 -1
  22. package/dist/assets/header-meta.css +1 -1
  23. package/dist/assets/input-field.css +1 -1
  24. package/dist/assets/inspector.css +1 -1
  25. package/dist/assets/link.css +1 -1
  26. package/dist/assets/modal-fullscreen.css +1 -1
  27. package/dist/assets/navigation-menu-group.css +1 -1
  28. package/dist/assets/secondary-nav.css +1 -1
  29. package/dist/assets/sidepanel.css +1 -1
  30. package/dist/button.js +3 -3
  31. package/dist/card.js +1 -1
  32. package/dist/checkbox.js +2 -2
  33. package/dist/chunks/{action-bar.ZR2oO4Qc.js → action-bar.Chu-0oVy.js} +5 -5
  34. package/dist/chunks/{action-bar.ZR2oO4Qc.js.map → action-bar.Chu-0oVy.js.map} +1 -1
  35. package/dist/chunks/{ai-button.7L9bANlk.js → ai-button.DvOq4s2_.js} +2 -2
  36. package/dist/chunks/{ai-button.7L9bANlk.js.map → ai-button.DvOq4s2_.js.map} +1 -1
  37. package/dist/chunks/{ai-tag.CzloguAR.js → ai-tag.DVmvni7U.js} +2 -2
  38. package/dist/chunks/{ai-tag.CzloguAR.js.map → ai-tag.DVmvni7U.js.map} +1 -1
  39. package/dist/chunks/{alert.CLqcPN0Q.js → alert.B4bHCE8V.js} +2 -2
  40. package/dist/chunks/{alert.CLqcPN0Q.js.map → alert.B4bHCE8V.js.map} +1 -1
  41. package/dist/chunks/{anchor-scroller.8LdkI0J0.js → anchor-scroller.B8VXotik.js} +4 -4
  42. package/dist/chunks/{anchor-scroller.8LdkI0J0.js.map → anchor-scroller.B8VXotik.js.map} +1 -1
  43. package/dist/chunks/{base-modal.YbZ5vHH4.js → base-modal.CC7gm9fc.js} +7 -7
  44. package/dist/chunks/{base-modal.YbZ5vHH4.js.map → base-modal.CC7gm9fc.js.map} +1 -1
  45. package/dist/chunks/{button-actions-with-menu.CljH-yOh.js → button-actions-with-menu.BlOBDvdL.js} +3 -3
  46. package/dist/chunks/{button-actions-with-menu.CljH-yOh.js.map → button-actions-with-menu.BlOBDvdL.js.map} +1 -1
  47. package/dist/chunks/{button-actions.CyMKvVwN.js → button-actions.D1jRC1fs.js} +3 -3
  48. package/dist/chunks/{button-actions.CyMKvVwN.js.map → button-actions.D1jRC1fs.js.map} +1 -1
  49. package/dist/chunks/{button.C9b2AC9w.js → button.DITA6YtS.js} +2 -2
  50. package/dist/chunks/{button.C9b2AC9w.js.map → button.DITA6YtS.js.map} +1 -1
  51. package/dist/chunks/{calendar.CCUVI1IF.js → calendar.ofn3G6eW.js} +19 -19
  52. package/dist/chunks/{calendar.CCUVI1IF.js.map → calendar.ofn3G6eW.js.map} +1 -1
  53. package/dist/chunks/{card.DqKD40s7.js → card.ErZLKN0q.js} +2 -2
  54. package/dist/chunks/{card.DqKD40s7.js.map → card.ErZLKN0q.js.map} +1 -1
  55. package/dist/chunks/{checkbox-group.0tRtGhHh.js → checkbox-group.BAjvgXlc.js} +3 -3
  56. package/dist/chunks/{checkbox-group.0tRtGhHh.js.map → checkbox-group.BAjvgXlc.js.map} +1 -1
  57. package/dist/chunks/{checkbox.D-5Uyu7y.js → checkbox.BAQDBNL6.js} +2 -2
  58. package/dist/chunks/{checkbox.D-5Uyu7y.js.map → checkbox.BAQDBNL6.js.map} +1 -1
  59. package/dist/chunks/{code-snippet.CmUPzpQp.js → code-snippet.B3iCsNmb.js} +5 -5
  60. package/dist/chunks/{code-snippet.CmUPzpQp.js.map → code-snippet.B3iCsNmb.js.map} +1 -1
  61. package/dist/chunks/{controls-group.CcI4EbW_.js → controls-group.Bzpsrtcx.js} +2 -2
  62. package/dist/chunks/{controls-group.CcI4EbW_.js.map → controls-group.Bzpsrtcx.js.map} +1 -1
  63. package/dist/chunks/{copy.BA1G-Pi2.js → copy.DVB6pQC8.js} +4 -4
  64. package/dist/chunks/{copy.BA1G-Pi2.js.map → copy.DVB6pQC8.js.map} +1 -1
  65. package/dist/chunks/{dashboard-section.BOySJG3P.js → dashboard-section.HFJcf8-_.js} +4 -4
  66. package/dist/chunks/{dashboard-section.BOySJG3P.js.map → dashboard-section.HFJcf8-_.js.map} +1 -1
  67. package/dist/chunks/dashed-underline.Cl07OQID.js +55 -0
  68. package/dist/chunks/dashed-underline.Cl07OQID.js.map +1 -0
  69. package/dist/chunks/{data-grid-template.C6Sym5we.js → data-grid-template.BjfPUEoH.js} +4 -4
  70. package/dist/chunks/{data-grid-template.C6Sym5we.js.map → data-grid-template.BjfPUEoH.js.map} +1 -1
  71. package/dist/chunks/{data-grid.By3YYFjp.js → data-grid.Cua2Jxvq.js} +212 -212
  72. package/dist/chunks/{data-grid.By3YYFjp.js.map → data-grid.Cua2Jxvq.js.map} +1 -1
  73. package/dist/chunks/{date-picker.B5dusL9n.js → date-picker.CYDTf6De.js} +90 -82
  74. package/dist/chunks/date-picker.CYDTf6De.js.map +1 -0
  75. package/dist/chunks/{date-range-picker.C_9uZ3up.js → date-range-picker.DGGvwRfn.js} +252 -271
  76. package/dist/chunks/date-range-picker.DGGvwRfn.js.map +1 -0
  77. package/dist/chunks/date-time-picker.CyNb-xDm.js +129 -0
  78. package/dist/chunks/date-time-picker.CyNb-xDm.js.map +1 -0
  79. package/dist/chunks/{dialog-page.B65F56Ha.js → dialog-page.DYWnKdnP.js} +3 -3
  80. package/dist/chunks/{dialog-page.B65F56Ha.js.map → dialog-page.DYWnKdnP.js.map} +1 -1
  81. package/dist/chunks/directive.BBWhsNtO.js +28 -0
  82. package/dist/chunks/directive.BBWhsNtO.js.map +1 -0
  83. package/dist/chunks/{draggable-handle.BFGaZNTT.js → draggable-handle.CU1L7J87.js} +3 -3
  84. package/dist/chunks/{draggable-handle.BFGaZNTT.js.map → draggable-handle.CU1L7J87.js.map} +1 -1
  85. package/dist/chunks/{drawer.DqUvBlma.js → drawer.WW7G9cSC.js} +46 -19
  86. package/dist/chunks/{drawer.DqUvBlma.js.map → drawer.WW7G9cSC.js.map} +1 -1
  87. package/dist/chunks/{dropdown-tag.CY0-p_gn.js → dropdown-tag.C1qg52L9.js} +3 -3
  88. package/dist/chunks/{dropdown-tag.CY0-p_gn.js.map → dropdown-tag.C1qg52L9.js.map} +1 -1
  89. package/dist/chunks/{dropdown.Dx0HybJ8.js → dropdown.BEurqT8m.js} +323 -323
  90. package/dist/chunks/dropdown.BEurqT8m.js.map +1 -0
  91. package/dist/chunks/{empty-state.DMV23IZy.js → empty-state.Dttc-ZO_.js} +2 -2
  92. package/dist/chunks/{empty-state.DMV23IZy.js.map → empty-state.Dttc-ZO_.js.map} +1 -1
  93. package/dist/chunks/{field-label.Cq01oVR-.js → field-label.CdVbAfK-.js} +2 -2
  94. package/dist/chunks/{field-label.Cq01oVR-.js.map → field-label.CdVbAfK-.js.map} +1 -1
  95. package/dist/chunks/{file-uploader.BdvtbVvC.js → file-uploader.CO2MeHwl.js} +8 -8
  96. package/dist/chunks/{file-uploader.BdvtbVvC.js.map → file-uploader.CO2MeHwl.js.map} +1 -1
  97. package/dist/chunks/{filter-bar.mPy_N4BF.js → filter-bar.gjMPoK6d.js} +19 -19
  98. package/dist/chunks/{filter-bar.mPy_N4BF.js.map → filter-bar.gjMPoK6d.js.map} +1 -1
  99. package/dist/chunks/{fixed-scroller.DR2E_No4.js → fixed-scroller.4xAzt_OI.js} +2 -2
  100. package/dist/chunks/{fixed-scroller.DR2E_No4.js.map → fixed-scroller.4xAzt_OI.js.map} +1 -1
  101. package/dist/chunks/{focus-trap.CKs45fnj.js → focus-trap.CBIb3SyN.js} +22 -22
  102. package/dist/chunks/{focus-trap.CKs45fnj.js.map → focus-trap.CBIb3SyN.js.map} +1 -1
  103. package/dist/chunks/{footer-actions.BE_hrleY.js → footer-actions.CZE9dcmA.js} +3 -3
  104. package/dist/chunks/{footer-actions.BE_hrleY.js.map → footer-actions.CZE9dcmA.js.map} +1 -1
  105. package/dist/chunks/form-layout-group.zE6TNlzD.js +84 -0
  106. package/dist/chunks/form-layout-group.zE6TNlzD.js.map +1 -0
  107. package/dist/chunks/form-layout-title.CXXdsiK5.js +171 -0
  108. package/dist/chunks/form-layout-title.CXXdsiK5.js.map +1 -0
  109. package/dist/chunks/header-meta.6rZdOgXD.js +239 -0
  110. package/dist/chunks/{header-meta._l0IV3jf.js.map → header-meta.6rZdOgXD.js.map} +1 -1
  111. package/dist/chunks/{header-with-views.LrySsX1p.js → header-with-views.B2Ok5KI1.js} +11 -11
  112. package/dist/chunks/{header-with-views.LrySsX1p.js.map → header-with-views.B2Ok5KI1.js.map} +1 -1
  113. package/dist/chunks/{header.BJZ-o7Mz.js → header.BsroOD5b.js} +3 -3
  114. package/dist/chunks/{header.BJZ-o7Mz.js.map → header.BsroOD5b.js.map} +1 -1
  115. package/dist/chunks/{index.DZx81HG1.js → index.CJYgd0QI.js} +220 -197
  116. package/dist/chunks/{index.DZx81HG1.js.map → index.CJYgd0QI.js.map} +1 -1
  117. package/dist/chunks/{info-icon.CRpEtx-P.js → info-icon.9Nt7zg3D.js} +3 -3
  118. package/dist/chunks/{info-icon.CRpEtx-P.js.map → info-icon.9Nt7zg3D.js.map} +1 -1
  119. package/dist/chunks/{input-field-password.C2ogXvbh.js → input-field-password.viF49CQh.js} +20 -21
  120. package/dist/chunks/{input-field-password.C2ogXvbh.js.map → input-field-password.viF49CQh.js.map} +1 -1
  121. package/dist/chunks/{input-field-phone-number.D8Enmcny.js → input-field-phone-number.DnpTj7q5.js} +13 -14
  122. package/dist/chunks/{input-field-phone-number.D8Enmcny.js.map → input-field-phone-number.DnpTj7q5.js.map} +1 -1
  123. package/dist/chunks/{input-field.CRsU2NBh.js → input-field.D86PSAiu.js} +77 -74
  124. package/dist/chunks/input-field.D86PSAiu.js.map +1 -0
  125. package/dist/chunks/{input-time.BSrSAN3r.js → input-time.LyKZXnVO.js} +7 -8
  126. package/dist/chunks/{input-time.BSrSAN3r.js.map → input-time.LyKZXnVO.js.map} +1 -1
  127. package/dist/chunks/{inspector.Dagz-JL1.js → inspector.BY3SoX-l.js} +4 -4
  128. package/dist/chunks/{inspector.Dagz-JL1.js.map → inspector.BY3SoX-l.js.map} +1 -1
  129. package/dist/chunks/{layout-row.CdpQeT7f.js → layout-row.BI9ZJa-9.js} +13 -13
  130. package/dist/chunks/{layout-row.CdpQeT7f.js.map → layout-row.BI9ZJa-9.js.map} +1 -1
  131. package/dist/chunks/{link.DB5g6d48.js → link.BpuCRgok.js} +11 -11
  132. package/dist/chunks/link.BpuCRgok.js.map +1 -0
  133. package/dist/chunks/{list-item.CQEmr9Yw.js → list-item.D2ZLiS_D.js} +2 -2
  134. package/dist/chunks/{list-item.CQEmr9Yw.js.map → list-item.D2ZLiS_D.js.map} +1 -1
  135. package/dist/chunks/{listbox-option-tag.CnxNmmva.js → listbox-option-tag.Ddyl2vuc.js} +2 -2
  136. package/dist/chunks/{listbox-option-tag.CnxNmmva.js.map → listbox-option-tag.Ddyl2vuc.js.map} +1 -1
  137. package/dist/chunks/{modal-fullscreen.D5A5qJQ6.js → modal-fullscreen.OS6KhVdg.js} +6 -6
  138. package/dist/chunks/{modal-fullscreen.D5A5qJQ6.js.map → modal-fullscreen.OS6KhVdg.js.map} +1 -1
  139. package/dist/chunks/{modal.Bm-nN8pa.js → modal.DHL3TGHv.js} +5 -5
  140. package/dist/chunks/{modal.Bm-nN8pa.js.map → modal.DHL3TGHv.js.map} +1 -1
  141. package/dist/chunks/navigation-menu-group.Dv2_ZRRq.js +261 -0
  142. package/dist/chunks/navigation-menu-group.Dv2_ZRRq.js.map +1 -0
  143. package/dist/chunks/{pagination.Jv60K59y.js → pagination.CJ3d1O_s.js} +3 -3
  144. package/dist/chunks/{pagination.Jv60K59y.js.map → pagination.CJ3d1O_s.js.map} +1 -1
  145. package/dist/chunks/popover.types.B9TXaqAt.js +6 -0
  146. package/dist/chunks/{popover.types.CQ5g4kw2.js.map → popover.types.B9TXaqAt.js.map} +1 -1
  147. package/dist/chunks/{popper-container.D10i5aF5.js → popper-container.CFYFCz6u.js} +2 -2
  148. package/dist/chunks/{popper-container.D10i5aF5.js.map → popper-container.CFYFCz6u.js.map} +1 -1
  149. package/dist/chunks/{promo-banner.DjRIdEh7.js → promo-banner.tljKS80K.js} +3 -3
  150. package/dist/chunks/{promo-banner.DjRIdEh7.js.map → promo-banner.tljKS80K.js.map} +1 -1
  151. package/dist/chunks/{radio-group.BrRXAuJ6.js → radio-group.cn4lZb8R.js} +3 -3
  152. package/dist/chunks/{radio-group.BrRXAuJ6.js.map → radio-group.cn4lZb8R.js.map} +1 -1
  153. package/dist/chunks/{rich-text-editor.DazA-Rlh.js → rich-text-editor.Dwq3Z_lK.js} +6 -6
  154. package/dist/chunks/{rich-text-editor.DazA-Rlh.js.map → rich-text-editor.Dwq3Z_lK.js.map} +1 -1
  155. package/dist/chunks/{search-bar.DeKlBnxE.js → search-bar.BvHhXdNu.js} +10 -11
  156. package/dist/chunks/{search-bar.DeKlBnxE.js.map → search-bar.BvHhXdNu.js.map} +1 -1
  157. package/dist/chunks/{secondary-nav.BLF9iQOV.js → secondary-nav.BvbT8LXa.js} +5 -5
  158. package/dist/chunks/{secondary-nav.BLF9iQOV.js.map → secondary-nav.BvbT8LXa.js.map} +1 -1
  159. package/dist/chunks/{segmented-control.BBG-0da6.js → segmented-control.C0JtDa4q.js} +2 -2
  160. package/dist/chunks/{segmented-control.BBG-0da6.js.map → segmented-control.C0JtDa4q.js.map} +1 -1
  161. package/dist/chunks/{selection-card-group.CXBbA_P1.js → selection-card-group.ZZ_qF1L1.js} +3 -3
  162. package/dist/chunks/{selection-card-group.CXBbA_P1.js.map → selection-card-group.ZZ_qF1L1.js.map} +1 -1
  163. package/dist/chunks/set-time-in-date.CU7HeZLY.js +27 -0
  164. package/dist/chunks/set-time-in-date.CU7HeZLY.js.map +1 -0
  165. package/dist/chunks/{sidepanel.ChPk9qYd.js → sidepanel.B8zQp_MJ.js} +7 -7
  166. package/dist/chunks/{sidepanel.ChPk9qYd.js.map → sidepanel.B8zQp_MJ.js.map} +1 -1
  167. package/dist/chunks/{structured-list-item.Dwftc8Ns.js → structured-list-item.DE0L0kvs.js} +5 -5
  168. package/dist/chunks/{structured-list-item.Dwftc8Ns.js.map → structured-list-item.DE0L0kvs.js.map} +1 -1
  169. package/dist/chunks/{summary-grid.types.Cv27iNrx.js → summary-grid.types.CkqRXOKv.js} +5 -5
  170. package/dist/chunks/{summary-grid.types.Cv27iNrx.js.map → summary-grid.types.CkqRXOKv.js.map} +1 -1
  171. package/dist/chunks/{tab.t1v1GxSA.js → tab.YQXssvyU.js} +3 -3
  172. package/dist/chunks/{tab.t1v1GxSA.js.map → tab.YQXssvyU.js.map} +1 -1
  173. package/dist/chunks/{tag.lfN7xFuw.js → tag.CbNFG45Y.js} +2 -2
  174. package/dist/chunks/{tag.lfN7xFuw.js.map → tag.CbNFG45Y.js.map} +1 -1
  175. package/dist/chunks/{textarea.DSRAB-Ox.js → textarea.DJ7095b6.js} +3 -3
  176. package/dist/chunks/{textarea.DSRAB-Ox.js.map → textarea.DJ7095b6.js.map} +1 -1
  177. package/dist/chunks/{timeline-item.gWNnZjsZ.js → timeline-item.sdxvTjmS.js} +8 -8
  178. package/dist/chunks/{timeline-item.gWNnZjsZ.js.map → timeline-item.sdxvTjmS.js.map} +1 -1
  179. package/dist/chunks/{toast.d8vg71CB.js → toast.BMGR5QrI.js} +2 -2
  180. package/dist/chunks/{toast.d8vg71CB.js.map → toast.BMGR5QrI.js.map} +1 -1
  181. package/dist/chunks/{tooltip.DmFTmAGi.js → tooltip.CnkqMpOA.js} +3 -3
  182. package/dist/chunks/{tooltip.DmFTmAGi.js.map → tooltip.CnkqMpOA.js.map} +1 -1
  183. package/dist/chunks/{tutorial.CO7DzdET.js → tutorial.Ba9dqb2j.js} +4 -4
  184. package/dist/chunks/{tutorial.CO7DzdET.js.map → tutorial.Ba9dqb2j.js.map} +1 -1
  185. package/dist/chunks/use-bento-delayed-hover.D4rfUUOr.js +30 -0
  186. package/dist/chunks/use-bento-delayed-hover.D4rfUUOr.js.map +1 -0
  187. package/dist/chunks/{use-cached-selected-values.Bnmcr7Ji.js → use-cached-selected-values.txnml8sE.js} +3 -3
  188. package/dist/chunks/{use-cached-selected-values.Bnmcr7Ji.js.map → use-cached-selected-values.txnml8sE.js.map} +1 -1
  189. package/dist/chunks/{use-date-input-formatter.BsZ_LLQu.js → use-date-input-formatter.D7Ud6Ana.js} +2 -2
  190. package/dist/chunks/{use-date-input-formatter.BsZ_LLQu.js.map → use-date-input-formatter.D7Ud6Ana.js.map} +1 -1
  191. package/dist/code-snippet.js +1 -1
  192. package/dist/dashboard-template.js +1 -1
  193. package/dist/dashed-underline.js +1 -1
  194. package/dist/data-grid-template.js +1 -1
  195. package/dist/data-grid.js +1 -1
  196. package/dist/date-picker.js +2 -2
  197. package/dist/date-range-picker.js +2 -2
  198. package/dist/date-time-picker.js +5 -0
  199. package/dist/date-time-picker.js.map +1 -0
  200. package/dist/draggable.js +1 -1
  201. package/dist/drawer.js +1 -1
  202. package/dist/dropdown.js +3 -3
  203. package/dist/empty-state.js +1 -1
  204. package/dist/file-uploader.js +1 -1
  205. package/dist/filter-bar.js +1 -1
  206. package/dist/focus-trap.js +1 -1
  207. package/dist/form-layout.js +5 -4
  208. package/dist/form-layout.js.map +1 -1
  209. package/dist/header-with-views.js +1 -1
  210. package/dist/header.js +1 -1
  211. package/dist/index.js +273 -268
  212. package/dist/index.js.map +1 -1
  213. package/dist/info-icon.js +1 -1
  214. package/dist/input-field-password.js +1 -1
  215. package/dist/input-field-phone-number.js +1 -1
  216. package/dist/input-field.js +1 -1
  217. package/dist/input-time.js +1 -1
  218. package/dist/inspector.js +1 -1
  219. package/dist/internal.js +12 -12
  220. package/dist/layout.js +1 -1
  221. package/dist/link.js +1 -1
  222. package/dist/list.js +1 -1
  223. package/dist/menu.js +1 -1
  224. package/dist/modal-fullscreen.js +1 -1
  225. package/dist/modal.js +2 -2
  226. package/dist/navigation-menu.js +1 -1
  227. package/dist/pagination.js +1 -1
  228. package/dist/popover.js +2 -2
  229. package/dist/popper-container.js +1 -1
  230. package/dist/promo-banner.js +1 -1
  231. package/dist/radio-group.js +1 -1
  232. package/dist/rich-text-editor.js +1 -1
  233. package/dist/search-bar.js +2 -2
  234. package/dist/secondary-nav.js +1 -1
  235. package/dist/segmented-control.js +1 -1
  236. package/dist/selection-card.js +1 -1
  237. package/dist/sidepanel.js +1 -1
  238. package/dist/structured-list.js +1 -1
  239. package/dist/summary-grid.js +1 -1
  240. package/dist/tabs.js +1 -1
  241. package/dist/tag.js +1 -1
  242. package/dist/textarea.js +1 -1
  243. package/dist/timeline.js +1 -1
  244. package/dist/toast.js +1 -1
  245. package/dist/tutorial.js +1 -1
  246. package/dist/web-types.json +160 -3
  247. package/package.json +7 -7
  248. package/dist/chunks/dashed-underline.B9Q0T4ss.js +0 -77
  249. package/dist/chunks/dashed-underline.B9Q0T4ss.js.map +0 -1
  250. package/dist/chunks/date-picker.B5dusL9n.js.map +0 -1
  251. package/dist/chunks/date-range-picker.C_9uZ3up.js.map +0 -1
  252. package/dist/chunks/directive.Bfr4fuOy.js +0 -23
  253. package/dist/chunks/directive.Bfr4fuOy.js.map +0 -1
  254. package/dist/chunks/dropdown.Dx0HybJ8.js.map +0 -1
  255. package/dist/chunks/form-layout-title.zZVLCyqe.js +0 -248
  256. package/dist/chunks/form-layout-title.zZVLCyqe.js.map +0 -1
  257. package/dist/chunks/header-meta._l0IV3jf.js +0 -248
  258. package/dist/chunks/input-field.CRsU2NBh.js.map +0 -1
  259. package/dist/chunks/link.DB5g6d48.js.map +0 -1
  260. package/dist/chunks/navigation-menu-group.DHWp-pJO.js +0 -216
  261. package/dist/chunks/navigation-menu-group.DHWp-pJO.js.map +0 -1
  262. package/dist/chunks/popover.types.CQ5g4kw2.js +0 -6
@@ -1,28 +1,28 @@
1
- import { ref as C, watch as Z, computed as s, defineComponent as B, useSlots as Q, toRefs as Oe, useAttrs as Ee, nextTick as D, toRef as k, inject as Ve } from "vue";
2
- import { B as Ie, d as le } from "./typography.C8lPlsbD.js";
3
- import { g as K } from "./generate-uid.NJ8tVoha.js";
1
+ import { ref as L, watch as Z, computed as s, defineComponent as A, useSlots as Q, toRefs as Ee, useAttrs as Ie, inject as re, nextTick as B, toRef as k } from "vue";
2
+ import { B as De, d as ne } from "./typography.C8lPlsbD.js";
3
+ import { g as q } from "./generate-uid.NJ8tVoha.js";
4
4
  import { u as G } from "./index.B6WW_F-J.js";
5
- import { u as De } from "./use-has-slot.C9lQZ6nz.js";
6
- import { C as Ke } from "./cross-circle-fill.DTDtgLMf.js";
7
- import { C as qe } from "./cross-circle-fill-small.DfxDedRr.js";
8
- import { n as R } from "./_plugin-vue2_normalizer.CeySl7Fu.js";
9
- import { s as q } from "./events.BQOQSSb7.js";
10
- import { C as ze } from "./chevron-down.eYtgv5ly.js";
11
- import { C as Ue } from "./chevron-up.d8cwIlA_.js";
5
+ import { u as Be } from "./use-has-slot.C9lQZ6nz.js";
6
+ import { C as qe } from "./cross-circle-fill.DTDtgLMf.js";
7
+ import { C as ze } from "./cross-circle-fill-small.DfxDedRr.js";
8
+ import { n as M } from "./_plugin-vue2_normalizer.CeySl7Fu.js";
9
+ import { s as z } from "./events.BQOQSSb7.js";
10
+ import { C as Ue } from "./chevron-down.eYtgv5ly.js";
11
+ import { C as We } from "./chevron-up.d8cwIlA_.js";
12
12
  /* empty css */
13
- import { u as We } from "./aria-label.CaUURpnB.js";
14
- import { u as je } from "./form-field.D_2g7vaP.js";
15
- import { B as m, b as ne, a as xe, d as He, u as Ye, c as Je, e as Xe } from "./use-cached-selected-values.Bnmcr7Ji.js";
16
- import { u as Ze } from "./use-form-layout-loading.CWbjZiwP.js";
17
- import { B as N, a as Qe } from "./keyboard-navigation.DWmhelVv.js";
18
- import { B as Ge } from "./directive.Bfr4fuOy.js";
19
- import { F as et } from "./field-label.Cq01oVR-.js";
20
- import { E as tt } from "./error-message.CyERcfdt.js";
21
- import { P as we } from "./popper-container.D10i5aF5.js";
22
- import { h as at } from "./button-actions.CyMKvVwN.js";
13
+ import { u as je } from "./aria-label.CaUURpnB.js";
14
+ import { u as He } from "./form-field.D_2g7vaP.js";
15
+ import { B as m, b as se, a as we, d as Ye, u as Je, c as Xe, e as Ze } from "./use-cached-selected-values.txnml8sE.js";
16
+ import { u as Qe } from "./use-form-layout-loading.CWbjZiwP.js";
17
+ import { B as R, a as Ge } from "./keyboard-navigation.DWmhelVv.js";
18
+ import { B as et } from "./directive.BBWhsNtO.js";
19
+ import { F as tt } from "./field-label.CdVbAfK-.js";
20
+ import { E as at } from "./error-message.CyERcfdt.js";
21
+ import { P as Ce } from "./popper-container.CFYFCz6u.js";
22
+ import { h as ot } from "./button-actions.D1jRC1fs.js";
23
23
  import "../assets/dropdown.css";
24
- var z = /* @__PURE__ */ ((l) => (l.DEFAULT = "DropdownInputDefault", l.SMALL = "DropdownInputSmall", l))(z || {});
25
- const ot = {
24
+ var U = /* @__PURE__ */ ((l) => (l.DEFAULT = "DropdownInputDefault", l.SMALL = "DropdownInputSmall", l))(U || {});
25
+ const lt = {
26
26
  "de-DE": {
27
27
  apply: "Anwenden",
28
28
  cancel: "Abbrechen",
@@ -73,62 +73,62 @@ const ot = {
73
73
  cancel: "取消",
74
74
  noOptionsMatchThisSearch: "没有符合此搜索条件的选项"
75
75
  }
76
- }, lt = (l, t, a, e) => {
77
- const o = C(l.value), { t: n } = G();
76
+ }, nt = (l, t, a, e) => {
77
+ const o = L(l.value), { t: n } = G();
78
78
  Z(l, () => {
79
79
  o.value = l.value;
80
80
  });
81
81
  const r = s(
82
82
  () => JSON.stringify(o.value) === JSON.stringify(l.value)
83
- ), d = () => {
83
+ ), c = () => {
84
84
  e(m.SELECT, o.value), e(m.CLOSE_DROPDOWN);
85
- }, c = () => {
85
+ }, u = () => {
86
86
  o.value = l.value, e(m.CLOSE_DROPDOWN);
87
- }, y = () => {
87
+ }, v = () => {
88
88
  a.value && t.value && (o.value = l.value);
89
- }, f = s(() => [
89
+ }, b = s(() => [
90
90
  {
91
91
  title: n("apply"),
92
- event: d,
92
+ event: c,
93
93
  disabled: r.value
94
94
  },
95
95
  {
96
96
  title: n("cancel"),
97
- event: c
97
+ event: u
98
98
  }
99
- ]), p = (u) => {
100
- o.value = u, t.value || e(m.SELECT, u);
101
- }, i = (u) => {
102
- p(u), e(m.TAB);
103
- }, S = (u) => {
104
- p(u), e(m.ENTER);
105
- }, v = (u) => {
106
- p(u), e(m.SPACE);
107
- }, _ = () => {
108
- c(), e(m.ESCAPE);
109
- }, x = () => {
99
+ ]), f = (p) => {
100
+ o.value = p, t.value || e(m.SELECT, p);
101
+ }, i = (p) => {
102
+ f(p), e(m.TAB);
103
+ }, S = (p) => {
104
+ f(p), e(m.ENTER);
105
+ }, x = (p) => {
106
+ f(p), e(m.SPACE);
107
+ }, d = () => {
108
+ u(), e(m.ESCAPE);
109
+ }, C = () => {
110
110
  e(m.SHOW_MORE);
111
- }, L = {
112
- [m.SELECT]: p,
113
- [m.SHOW_MORE]: x,
111
+ }, g = {
112
+ [m.SELECT]: f,
113
+ [m.SHOW_MORE]: C,
114
114
  [m.TAB]: i,
115
- [m.SPACE]: v,
115
+ [m.SPACE]: x,
116
116
  [m.ENTER]: S
117
117
  };
118
118
  return {
119
119
  // Values
120
- actions: f,
120
+ actions: b,
121
121
  internalSelectedValue: o,
122
122
  // Methods
123
- listeners: L,
124
- onEscapeKey: _,
125
- onOutsideDropdownClick: y
123
+ listeners: g,
124
+ onEscapeKey: d,
125
+ onOutsideDropdownClick: v
126
126
  };
127
- }, nt = B({
128
- i18n: { messages: ot },
127
+ }, st = A({
128
+ i18n: { messages: lt },
129
129
  name: "bento-dropdown-options-container"
130
- }), st = /* @__PURE__ */ B({
131
- ...nt,
130
+ }), rt = /* @__PURE__ */ A({
131
+ ...st,
132
132
  props: {
133
133
  /**
134
134
  * Defines a string value that labels an interactive element.
@@ -187,8 +187,8 @@ const ot = {
187
187
  */
188
188
  lazyLoadType: {
189
189
  type: String,
190
- default: xe.AUTOMATIC,
191
- validator: (l) => Object.values(xe).includes(l)
190
+ default: we.AUTOMATIC,
191
+ validator: (l) => Object.values(we).includes(l)
192
192
  },
193
193
  /**
194
194
  * Indicates if new options are lazy loading.
@@ -218,7 +218,7 @@ const ot = {
218
218
  *
219
219
  * If enabled, hides the "Select all" checkbox in "multiple" mode.
220
220
  */
221
- searching: ne.props.searching,
221
+ searching: se.props.searching,
222
222
  /**
223
223
  * If enabled, dropdown will display non-selectable, static categories
224
224
  */
@@ -227,7 +227,7 @@ const ot = {
227
227
  * Reference to the DOM element or Vue component for positioning
228
228
  * the Dropdown container.
229
229
  */
230
- targetElement: { type: we.props.targetElement.type, required: !0 },
230
+ targetElement: { type: Ce.props.targetElement.type, required: !0 },
231
231
  /**
232
232
  * Enables virtual scrolling if set to true or by providing an object with itemHeight function.
233
233
  * The itemHeight function is used to calculate the height of rendered item given it's index.
@@ -239,14 +239,14 @@ const ot = {
239
239
  },
240
240
  emits: [],
241
241
  setup(l, { expose: t, emit: a }) {
242
- const e = l, o = Q(), { selectedValue: n, multiple: r } = Oe(e), d = C(null), { t: c } = G(), y = s(() => e.open && !e.disabled), f = s(() => c("noOptionsMatchThisSearch")), p = s(() => ({
242
+ const e = l, o = Q(), { selectedValue: n, multiple: r } = Ee(e), c = L(null), { t: u } = G(), v = s(() => e.open && !e.disabled), b = s(() => u("noOptionsMatchThisSearch")), f = s(() => ({
243
243
  "b-dropdown-options-container--single": !(e != null && e.multiple)
244
244
  })), i = s(() => ({
245
245
  "b-dropdown-options-container__listbox--single": !(e != null && e.multiple)
246
- })), { actions: S, internalSelectedValue: v, listeners: _, onEscapeKey: x, onOutsideDropdownClick: L } = lt(n, r, y, a), u = s(() => e != null && e.multiple ? at : we), T = s(() => {
247
- var A;
246
+ })), { actions: S, internalSelectedValue: x, listeners: d, onEscapeKey: C, onOutsideDropdownClick: g } = nt(n, r, v, a), p = s(() => e != null && e.multiple ? ot : Ce), T = s(() => {
247
+ var D;
248
248
  const I = {
249
- "min-width": `${(A = e == null ? void 0 : e.targetElement) == null ? void 0 : A.clientWidth}px`,
249
+ "min-width": `${(D = e == null ? void 0 : e.targetElement) == null ? void 0 : D.clientWidth}px`,
250
250
  "max-width": "min(500px, 95%)"
251
251
  };
252
252
  return e != null && e.multiple ? {
@@ -255,7 +255,7 @@ const ot = {
255
255
  actions: S.value,
256
256
  divider: !0,
257
257
  fallbackPosition: ["top-start"],
258
- id: K(`dropdown-options-${e.id}`),
258
+ id: q(`dropdown-options-${e.id}`),
259
259
  open: e.open,
260
260
  position: "bottom-start",
261
261
  style: {
@@ -268,18 +268,18 @@ const ot = {
268
268
  offset: [0, 8],
269
269
  position: "bottom-start",
270
270
  style: {
271
- display: y.value ? "block" : "none",
271
+ display: v.value ? "block" : "none",
272
272
  ...I
273
273
  },
274
274
  targetElement: e.targetElement
275
275
  };
276
276
  });
277
277
  return t({
278
- onOutsideDropdownClick: L
279
- }), { __sfc: !0, slots: o, emit: a, props: e, selectedValue: n, multiple: r, dropdownOptionsListboxRef: d, t: c, isDropdownOpen: y, noResultsMessage: f, conditionalClasses: p, conditionalListboxClasses: i, actions: S, internalSelectedValue: v, listeners: _, onEscapeKey: x, onOutsideDropdownClick: L, popperContainerOrPopoverComponent: u, popperContainerOrPopoverProps: T, BentoListbox: ne };
278
+ onOutsideDropdownClick: g
279
+ }), { __sfc: !0, slots: o, emit: a, props: e, selectedValue: n, multiple: r, dropdownOptionsListboxRef: c, t: u, isDropdownOpen: v, noResultsMessage: b, conditionalClasses: f, conditionalListboxClasses: i, actions: S, internalSelectedValue: x, listeners: d, onEscapeKey: C, onOutsideDropdownClick: g, popperContainerOrPopoverComponent: p, popperContainerOrPopoverProps: T, BentoListbox: se };
280
280
  }
281
281
  });
282
- var rt = function() {
282
+ var it = function() {
283
283
  var t = this, a = t._self._c, e = t._self._setupProxy;
284
284
  return e.isDropdownOpen ? a(e.popperContainerOrPopoverComponent, t._b({ tag: "component", staticClass: "b-dropdown-options-container", class: e.conditionalClasses }, "component", e.popperContainerOrPopoverProps, !1), [a("div", { on: { keydown: function(o) {
285
285
  return !o.type.indexOf("key") && t._k(o.keyCode, "esc", 27, o.key, ["Esc", "Escape"]) ? null : e.onEscapeKey.apply(null, arguments);
@@ -288,17 +288,17 @@ var rt = function() {
288
288
  return [t._t(n, null, null, r)];
289
289
  } };
290
290
  })], null, !0) }, e.listeners))], 1)]) : t._e();
291
- }, it = [], dt = /* @__PURE__ */ R(
292
- st,
291
+ }, dt = [], ct = /* @__PURE__ */ M(
293
292
  rt,
294
293
  it,
294
+ dt,
295
295
  !1,
296
296
  null,
297
297
  "eb9fd4be"
298
298
  );
299
- const ct = dt.exports;
300
- var E = /* @__PURE__ */ ((l) => (l.DISABLED = "disabled", l.READONLY = "readonly", l.HAS_ITEMS = "has-items", l.OPENED = "opened", l.ERROR = "error", l))(E || {}), g = /* @__PURE__ */ ((l) => (l.OPEN = "dropdown-base-open", l.KEYDOWN = "dropdown-base-keydown", l.CLOSE = "dropdown-base-close", l.INPUT = "dropdown-base-input", l.CLEAR = "dropdown-base-clear", l))(g || {});
301
- const ut = {
299
+ const ut = ct.exports;
300
+ var E = /* @__PURE__ */ ((l) => (l.DISABLED = "disabled", l.READONLY = "readonly", l.HAS_ITEMS = "has-items", l.OPENED = "opened", l.ERROR = "error", l))(E || {}), h = /* @__PURE__ */ ((l) => (l.OPEN = "dropdown-base-open", l.KEYDOWN = "dropdown-base-keydown", l.CLOSE = "dropdown-base-close", l.INPUT = "dropdown-base-input", l.CLEAR = "dropdown-base-clear", l))(h || {});
301
+ const pt = /* @__PURE__ */ Symbol("dropdown small size injection key"), Ae = /* @__PURE__ */ Symbol("dropdown underline style injection key"), ft = {
302
302
  "de-DE": {
303
303
  clearSearch: "Suche löschen"
304
304
  },
@@ -329,12 +329,12 @@ const ut = {
329
329
  "zh-CN": {
330
330
  clearSearch: "清除搜索"
331
331
  }
332
- }, pt = B({
333
- i18n: { messages: ut },
332
+ }, bt = A({
333
+ i18n: { messages: ft },
334
334
  name: "dropdown-base-textbox",
335
335
  inheritAttrs: !1
336
- }), ft = /* @__PURE__ */ B({
337
- ...pt,
336
+ }), yt = /* @__PURE__ */ A({
337
+ ...bt,
338
338
  props: {
339
339
  /**
340
340
  * The number of additional items that have been selected in the dropdown.
@@ -420,15 +420,16 @@ const ut = {
420
420
  },
421
421
  emits: [],
422
422
  setup(l, { expose: t, emit: a }) {
423
- const e = l, { t: o } = G(), n = Ee(), r = Q(), d = De(r), c = C(null), y = K("textbox"), f = s(() => ({
423
+ const e = l, { t: o } = G(), n = Ie(), r = Q(), c = Be(r), u = L(null), v = q("textbox"), b = re(Ae, !1), f = s(() => ({
424
424
  [`b-dropdown-base-textbox--${E.DISABLED}`]: e.disabled,
425
425
  [`b-dropdown-base-textbox--${E.READONLY}`]: e.readonly,
426
- [`b-dropdown-base-textbox--${E.HAS_ITEMS}`]: !!e.additionalItemsSelected
427
- })), p = s(
428
- () => x.value && n["aria-required"] ? "true" : null
429
- ), i = s(() => ({
426
+ [`b-dropdown-base-textbox--${E.HAS_ITEMS}`]: !!e.additionalItemsSelected,
427
+ "b-dropdown-base-textbox--underline": b
428
+ })), i = s(
429
+ () => g.value && n["aria-required"] ? "true" : null
430
+ ), S = s(() => ({
430
431
  "b-dropdown-base-textbox__input--dynamic-filtering": e.dynamicFiltering
431
- })), S = s(() => e.dynamicFiltering && !!e.value && e.open), v = s(
432
+ })), x = s(() => e.dynamicFiltering && !!e.value && e.open), d = s(
432
433
  () => {
433
434
  var O;
434
435
  return {
@@ -443,40 +444,40 @@ const ut = {
443
444
  "aria-required": n["aria-required"]
444
445
  };
445
446
  }
446
- ), _ = s(
447
+ ), C = s(
447
448
  () => e.multiple ? e.selectedValueItem : []
448
- ), x = s(() => e.dynamicFiltering && (e.open || e.alwaysComboboxIsInput)), L = s(() => e.selectedValueItem && !e.multiple), u = s(
449
- () => e.multiple && e.selectedValueItem && _.value.length > 0 && e.showSlotContentInMultiple
449
+ ), g = s(() => e.dynamicFiltering && (e.open || e.alwaysComboboxIsInput)), p = s(() => e.selectedValueItem && !e.multiple), T = s(
450
+ () => e.multiple && e.selectedValueItem && C.value.length > 0 && e.showSlotContentInMultiple
450
451
  );
451
452
  Z(
452
- () => x.value,
453
+ () => g.value,
453
454
  () => {
454
- x.value && !e.alwaysComboboxIsInput && D(() => {
455
- c.value.focus();
455
+ g.value && !e.alwaysComboboxIsInput && B(() => {
456
+ u.value.focus();
456
457
  });
457
458
  }
458
459
  );
459
- const T = async () => {
460
- !e.disabled && !e.readonly && (a(g.OPEN), await D(), c.value.focus());
461
- }, I = () => {
462
- e.open && (c.value.focus(), a(g.CLOSE));
463
- }, A = (O) => e.open && O.target.tagName === "INPUT" ? null : e.open ? I() : T(), F = () => {
464
- a(g.CLEAR), a(g.INPUT, ""), c.value.focus();
465
- }, P = (O) => {
466
- !e.readonly && !e.disabled ? a(g.INPUT, O.target.value) : (O.preventDefault(), O.stopPropagation());
467
- }, M = () => {
468
- c.value.focus();
460
+ const I = async () => {
461
+ !e.disabled && !e.readonly && (a(h.OPEN), await B(), u.value.focus());
462
+ }, D = () => {
463
+ e.open && (u.value.focus(), a(h.CLOSE));
464
+ }, F = (O) => e.open && O.target.tagName === "INPUT" ? null : e.open ? D() : I(), P = () => {
465
+ a(h.CLEAR), a(h.INPUT, ""), u.value.focus();
466
+ }, $ = (O) => {
467
+ !e.readonly && !e.disabled ? a(h.INPUT, O.target.value) : (O.preventDefault(), O.stopPropagation());
468
+ }, N = () => {
469
+ u.value.focus();
469
470
  };
470
471
  return t({
471
- focus: M
472
- }), { __sfc: !0, t: o, attrs: n, slots: r, hasSlot: d, props: e, emit: a, textbox: c, textboxId: y, conditionalClasses: f, showRequiredAttribute: p, comboboxConditionalClasses: i, isFiltering: S, ariaAttributes: v, selectedValueItems: _, shouldShowInput: x, shouldShowSingleSelectSlot: L, shouldShowMultipleSlot: u, onOpenDropdown: T, onCloseDropdown: I, onToggleDropdown: A, onClearSearch: F, onInputEvent: P, focus: M, BentoTypography: Ie, DropdownBaseTextboxEvent: g, CrossCircleFillIcon: Ke, CrossCircleFillSmallIcon: qe, BentoDropdownSize: z };
472
+ focus: N
473
+ }), { __sfc: !0, t: o, attrs: n, slots: r, hasSlot: c, props: e, emit: a, textbox: u, textboxId: v, isUnderlineStyle: b, conditionalClasses: f, showRequiredAttribute: i, comboboxConditionalClasses: S, isFiltering: x, ariaAttributes: d, selectedValueItems: C, shouldShowInput: g, shouldShowSingleSelectSlot: p, shouldShowMultipleSlot: T, onOpenDropdown: I, onCloseDropdown: D, onToggleDropdown: F, onClearSearch: P, onInputEvent: $, focus: N, BentoTypography: De, DropdownBaseTextboxEvent: h, CrossCircleFillIcon: qe, CrossCircleFillSmallIcon: ze, BentoDropdownSize: U };
473
474
  }
474
475
  });
475
- var bt = function() {
476
+ var vt = function() {
476
477
  var t = this, a = t._self._c, e = t._self._setupProxy;
477
478
  return a("div", { class: t.$attrs.class, attrs: { "data-testid": "textbox-wrapper" }, on: { click: e.onToggleDropdown, keydown: function(o) {
478
479
  return !o.type.indexOf("key") && t._k(o.keyCode, "escape", void 0, o.key, void 0) ? null : e.onCloseDropdown.apply(null, arguments);
479
- } } }, [a(e.BentoTypography, { staticClass: "b-dropdown-base-textbox", class: e.conditionalClasses, attrs: { el: "div", "data-testid": "base-textbox" } }, [e.shouldShowInput ? a("input", t._b({ ref: "textbox", staticClass: "b-dropdown-base-textbox__input", attrs: { id: e.textboxId, role: "combobox", type: "text", "aria-autocomplete": "list", size: "1", disabled: t.disabled ? !0 : null, readonly: t.readonly, required: e.showRequiredAttribute }, domProps: { value: t.open ? t.value : t.displayValue }, on: { keydown: [function(o) {
480
+ } } }, [a(e.BentoTypography, { staticClass: "b-dropdown-base-textbox", class: e.conditionalClasses, attrs: { variant: e.isUnderlineStyle ? "title" : "body", el: "div", "data-testid": "base-textbox" } }, [e.shouldShowInput ? a("input", t._b({ ref: "textbox", staticClass: "b-dropdown-base-textbox__input", attrs: { id: e.textboxId, role: "combobox", type: "text", "aria-autocomplete": "list", size: "1", disabled: t.disabled ? !0 : null, readonly: t.readonly, required: e.showRequiredAttribute }, domProps: { value: t.open ? t.value : t.displayValue }, on: { keydown: [function(o) {
480
481
  return t.$emit(e.DropdownBaseTextboxEvent.KEYDOWN, o);
481
482
  }, function(o) {
482
483
  return !o.type.indexOf("key") && t._k(o.keyCode, "enter", 13, o.key, "Enter") ? null : e.onToggleDropdown.apply(null, arguments);
@@ -493,19 +494,19 @@ var bt = function() {
493
494
  }, keyup: function(o) {
494
495
  return !o.type.indexOf("key") && t._k(o.keyCode, "space", 32, o.key, [" ", "Spacebar"]) ? null : e.onClearSearch.apply(null, arguments);
495
496
  } } }, [t.size === e.BentoDropdownSize.SMALL ? a(e.CrossCircleFillSmallIcon, { attrs: { "svg-title": e.t("clearSearch") } }) : a(e.CrossCircleFillIcon, { attrs: { "svg-title": e.t("clearSearch") } })], 1) : t._e()])], 1);
496
- }, yt = [], vt = /* @__PURE__ */ R(
497
- ft,
498
- bt,
497
+ }, mt = [], _t = /* @__PURE__ */ M(
499
498
  yt,
499
+ vt,
500
+ mt,
500
501
  !1,
501
502
  null,
502
- "36875648"
503
+ "4d2fd594"
503
504
  );
504
- const Be = vt.exports, mt = B({
505
+ const ke = _t.exports, ht = A({
505
506
  name: "dropdown-default-textbox",
506
507
  inheritAttrs: !1
507
- }), _t = /* @__PURE__ */ B({
508
- ...mt,
508
+ }), gt = /* @__PURE__ */ A({
509
+ ...ht,
509
510
  props: {
510
511
  /**
511
512
  * The number of additional items that have been selected in the dropdown.
@@ -593,37 +594,37 @@ const Be = vt.exports, mt = B({
593
594
  },
594
595
  emits: ["clear", "close", "input", "keydown", "open"],
595
596
  setup(l, { expose: t, emit: a }) {
596
- const e = l, o = Q(), n = C(null), r = s(() => ({
597
+ const e = l, o = Q(), n = L(null), r = s(() => ({
597
598
  [`b-dropdown-default-textbox--${E.ERROR}`]: !e.disabled && !e.readonly && e.isInvalid,
598
599
  [`b-dropdown-default-textbox--${E.DISABLED}`]: e.disabled,
599
600
  [`b-dropdown-default-textbox--${E.READONLY}`]: e.readonly,
600
601
  [`b-dropdown-default-textbox--${E.OPENED}`]: e.open,
601
602
  "b-dropdown-default-textbox--condensed": e.condensed
602
- })), d = s(() => e.open && !e.disabled && !e.readonly), c = (_) => {
603
- a("input", _);
604
- }, y = (_) => {
605
- a("keydown", _);
606
- }, f = (_) => {
607
- q(_), a("open");
608
- }, p = (_) => {
609
- q(_), a("close");
610
- }, i = (_) => {
611
- q(_), a("clear");
603
+ })), c = s(() => e.open && !e.disabled && !e.readonly), u = (d) => {
604
+ a("input", d);
605
+ }, v = (d) => {
606
+ a("keydown", d);
607
+ }, b = (d) => {
608
+ z(d), a("open");
609
+ }, f = (d) => {
610
+ z(d), a("close");
611
+ }, i = (d) => {
612
+ z(d), a("clear");
612
613
  }, S = {
613
- [g.INPUT]: c,
614
- [g.OPEN]: f,
615
- [g.CLOSE]: p,
616
- [g.CLEAR]: i,
617
- [g.KEYDOWN]: y
618
- }, v = () => {
614
+ [h.INPUT]: u,
615
+ [h.OPEN]: b,
616
+ [h.CLOSE]: f,
617
+ [h.CLEAR]: i,
618
+ [h.KEYDOWN]: v
619
+ }, x = () => {
619
620
  n.value.focus();
620
621
  };
621
622
  return t({
622
- focus: v
623
- }), { __sfc: !0, emit: a, slots: o, props: e, baseTextbox: n, conditionalClasses: r, isDropdownOpen: d, onInput: c, onKeyDown: y, openDropdown: f, closeDropdown: p, clearValue: i, listeners: S, focus: v, DropdownBaseTextbox: Be, ChevronDownIcon: ze, ChevronUpIcon: Ue };
623
+ focus: x
624
+ }), { __sfc: !0, emit: a, slots: o, props: e, baseTextbox: n, conditionalClasses: r, isDropdownOpen: c, onInput: u, onKeyDown: v, openDropdown: b, closeDropdown: f, clearValue: i, listeners: S, focus: x, DropdownBaseTextbox: ke, ChevronDownIcon: Ue, ChevronUpIcon: We };
624
625
  }
625
626
  });
626
- var ht = function() {
627
+ var St = function() {
627
628
  var t = this, a = t._self._c, e = t._self._setupProxy;
628
629
  return a("div", { staticClass: "b-dropdown-default-textbox", class: e.conditionalClasses, attrs: { "data-testid": "default-textbox" } }, [a(e.DropdownBaseTextbox, t._g(t._b({ ref: "baseTextbox", staticClass: "b-dropdown-default-textbox__textbox", attrs: { value: t.value }, scopedSlots: t._u([t._l(e.slots, function(o, n) {
629
630
  return { key: n, fn: function(r) {
@@ -632,55 +633,55 @@ var ht = function() {
632
633
  }), { key: "icon", fn: function() {
633
634
  return [a("div", { staticClass: "b-dropdown-default-textbox__chevron" }, [a(e.ChevronUpIcon, { directives: [{ name: "show", rawName: "v-show", value: e.isDropdownOpen, expression: "isDropdownOpen" }], attrs: { "svg-title": "opened" } }), a(e.ChevronDownIcon, { directives: [{ name: "show", rawName: "v-show", value: !e.isDropdownOpen, expression: "!isDropdownOpen" }], attrs: { "svg-title": "closed" } })], 1)];
634
635
  }, proxy: !0 }], null, !0) }, "dropdown-base-textbox", { ...t.$attrs, ...t.$props }, !1), e.listeners))], 1);
635
- }, gt = [], St = /* @__PURE__ */ R(
636
- _t,
637
- ht,
636
+ }, xt = [], wt = /* @__PURE__ */ M(
638
637
  gt,
638
+ St,
639
+ xt,
639
640
  !1,
640
641
  null,
641
642
  "bf2d43b0"
642
643
  );
643
- const xt = St.exports;
644
- let Ce = 0;
645
- const wt = {
644
+ const Ct = wt.exports;
645
+ let Le = 0;
646
+ const Lt = {
646
647
  beforeCreate() {
647
- this.uuid = Ce.toString(), Ce += 1;
648
+ this.uuid = Le.toString(), Le += 1;
648
649
  }
649
650
  };
650
- var Ct = function() {
651
+ var Ot = function() {
651
652
  var t = this, a = t._self._c;
652
653
  return a("svg", t._b({ staticClass: "ui-assets-icons-16", attrs: { role: "img", xmlns: "http://www.w3.org/2000/svg", width: "16", height: "16", fill: "none" } }, "svg", t.$attrs, !1), [t.$attrs["svg-title"] ? a("title", [t._v(t._s(t.$attrs["svg-title"]))]) : t._e(), a("path", { attrs: { fill: "#001222", d: "M5.00011 5.43922L8.00011 8.43922L11.0001 5.43922L12.0608 6.49988L8.00011 10.5605L3.93945 6.49988L5.00011 5.43922Z" } })]);
653
- }, Lt = [], Ot = /* @__PURE__ */ R(
654
- wt,
655
- Ct,
654
+ }, Et = [], It = /* @__PURE__ */ M(
656
655
  Lt,
656
+ Ot,
657
+ Et,
657
658
  !1,
658
659
  null,
659
660
  null
660
661
  );
661
- const Et = Ot.exports;
662
- let Le = 0;
663
- const It = {
662
+ const Dt = It.exports;
663
+ let Oe = 0;
664
+ const Bt = {
664
665
  beforeCreate() {
665
- this.uuid = Le.toString(), Le += 1;
666
+ this.uuid = Oe.toString(), Oe += 1;
666
667
  }
667
668
  };
668
- var Dt = function() {
669
+ var At = function() {
669
670
  var t = this, a = t._self._c;
670
671
  return a("svg", t._b({ staticClass: "ui-assets-icons-16", attrs: { role: "img", xmlns: "http://www.w3.org/2000/svg", width: "16", height: "16", fill: "none" } }, "svg", t.$attrs, !1), [t.$attrs["svg-title"] ? a("title", [t._v(t._s(t.$attrs["svg-title"]))]) : t._e(), a("path", { attrs: { fill: "#001222", d: "M10.9999 10.5608L7.9999 7.56077L4.9999 10.5608L3.93924 9.50011L7.9999 5.43945L12.0606 9.50011L10.9999 10.5608Z" } })]);
671
- }, Bt = [], Tt = /* @__PURE__ */ R(
672
- It,
673
- Dt,
672
+ }, kt = [], Tt = /* @__PURE__ */ M(
674
673
  Bt,
674
+ At,
675
+ kt,
675
676
  !1,
676
677
  null,
677
678
  null
678
679
  );
679
- const At = Tt.exports, kt = B({
680
+ const Rt = Tt.exports, Nt = A({
680
681
  name: "dropdown-small-textbox",
681
682
  inheritAttrs: !1
682
- }), Nt = /* @__PURE__ */ B({
683
- ...kt,
683
+ }), Mt = /* @__PURE__ */ A({
684
+ ...Nt,
684
685
  props: {
685
686
  /**
686
687
  * The number of additional items that have been selected in the dropdown.
@@ -737,67 +738,68 @@ const At = Tt.exports, kt = B({
737
738
  },
738
739
  emits: ["clear", "close", "input", "keydown", "open"],
739
740
  setup(l, { expose: t, emit: a }) {
740
- const e = l, o = C(null), n = s(() => ({
741
+ const e = l, o = L(null), n = re(Ae, !1), r = s(() => ({
741
742
  [`b-dropdown-small-textbox--${E.DISABLED}`]: e.disabled,
742
743
  [`b-dropdown-small-textbox--${E.READONLY}`]: e.readonly,
743
- [`b-dropdown-small-textbox--${E.OPENED}`]: e.open
744
- })), r = s(() => e.open && !e.disabled && !e.readonly), d = (v) => {
745
- a("input", v);
746
- }, c = (v) => {
747
- a("keydown", v);
748
- }, y = (v) => {
749
- q(v), a("open");
750
- }, f = (v) => {
751
- q(v), a("close");
752
- }, p = (v) => {
753
- q(v), a("clear");
754
- }, i = {
755
- [g.INPUT]: d,
756
- [g.OPEN]: y,
757
- [g.CLOSE]: f,
758
- [g.CLEAR]: p,
759
- [g.KEYDOWN]: c
760
- }, S = () => {
744
+ [`b-dropdown-small-textbox--${E.OPENED}`]: e.open,
745
+ "b-dropdown-small-textbox--underline": n
746
+ })), c = s(() => e.open && !e.disabled && !e.readonly), u = (d) => {
747
+ a("input", d);
748
+ }, v = (d) => {
749
+ a("keydown", d);
750
+ }, b = (d) => {
751
+ z(d), a("open");
752
+ }, f = (d) => {
753
+ z(d), a("close");
754
+ }, i = (d) => {
755
+ z(d), a("clear");
756
+ }, S = {
757
+ [h.INPUT]: u,
758
+ [h.OPEN]: b,
759
+ [h.CLOSE]: f,
760
+ [h.CLEAR]: i,
761
+ [h.KEYDOWN]: v
762
+ }, x = () => {
761
763
  o.value.focus();
762
764
  };
763
765
  return t({
764
- focus: S
765
- }), { __sfc: !0, emit: a, props: e, baseTextbox: o, conditionalClasses: n, isDropdownOpen: r, onInput: d, onKeyDown: c, openDropdown: y, closeDropdown: f, clearValue: p, listeners: i, focus: S, BentoDropdownSize: z, DropdownBaseTextbox: Be, ChevronDownSmallIcon: Et, ChevronUpSmallIcon: At };
766
+ focus: x
767
+ }), { __sfc: !0, emit: a, props: e, baseTextbox: o, isUnderlineStyle: n, conditionalClasses: r, isDropdownOpen: c, onInput: u, onKeyDown: v, openDropdown: b, closeDropdown: f, clearValue: i, listeners: S, focus: x, BentoDropdownSize: U, DropdownBaseTextbox: ke, ChevronDownSmallIcon: Dt, ChevronUpSmallIcon: Rt };
766
768
  }
767
769
  });
768
- var Mt = function() {
770
+ var Ft = function() {
769
771
  var t = this, a = t._self._c, e = t._self._setupProxy;
770
772
  return a("div", { staticClass: "b-dropdown-small-textbox", class: e.conditionalClasses }, [a(e.DropdownBaseTextbox, t._g(t._b({ ref: "baseTextbox", staticClass: "b-dropdown-small-textbox__textbox", attrs: { size: e.BentoDropdownSize.SMALL }, scopedSlots: t._u([{ key: "icon", fn: function() {
771
773
  return [a("div", { staticClass: "b-dropdown-small-textbox__chevron" }, [a(e.ChevronUpSmallIcon, { directives: [{ name: "show", rawName: "v-show", value: e.isDropdownOpen, expression: "isDropdownOpen" }], attrs: { "svg-title": "opened" } }), a(e.ChevronDownSmallIcon, { directives: [{ name: "show", rawName: "v-show", value: !e.isDropdownOpen, expression: "!isDropdownOpen" }], attrs: { "svg-title": "closed" } })], 1)];
772
774
  }, proxy: !0 }]) }, "dropdown-base-textbox", { ...t.$attrs, ...t.$props }, !1), e.listeners))], 1);
773
- }, Rt = [], Ft = /* @__PURE__ */ R(
774
- Nt,
775
+ }, Pt = [], $t = /* @__PURE__ */ M(
775
776
  Mt,
776
- Rt,
777
+ Ft,
778
+ Pt,
777
779
  !1,
778
780
  null,
779
- "faba160c"
781
+ "fa225e76"
780
782
  );
781
- const Pt = Ft.exports, $t = (l, t) => t.value.reduce((a, e) => {
783
+ const Vt = $t.exports, Kt = (l, t) => t.value.reduce((a, e) => {
782
784
  if (e.items) {
783
785
  const o = e.items.filter(
784
- (r) => l.value.find((d) => d.value === r.value)
786
+ (r) => l.value.find((c) => c.value === r.value)
785
787
  );
786
- o.length === e.items.length ? a.push(e.displayValue ?? e.label) : o.forEach(({ label: r, displayValue: d }) => a.push(d ?? r));
788
+ o.length === e.items.length ? a.push(e.displayValue ?? e.label) : o.forEach(({ label: r, displayValue: c }) => a.push(c ?? r));
787
789
  }
788
790
  return l.value.find((o) => o.value === e.value) && a.push(e.displayValue ?? e.label), a;
789
- }, []).join(", "), Vt = ({ items: l, placeholder: t, selectedValues: a, isMultiSelect: e }) => {
791
+ }, []).join(", "), qt = ({ items: l, placeholder: t, selectedValues: a, isMultiSelect: e }) => {
790
792
  const o = s(
791
793
  () => e.value && l.value.find((r) => {
792
- var d;
793
- return (d = r.items) == null ? void 0 : d.length;
794
+ var c;
795
+ return (c = r.items) == null ? void 0 : c.length;
794
796
  })
795
797
  );
796
- return s(() => a.value.length ? o.value ? $t(a, l) : a.value.map(({ label: r, displayValue: d }) => d ?? r).join(", ") : t.value || null);
798
+ return s(() => a.value.length ? o.value ? Kt(a, l) : a.value.map(({ label: r, displayValue: c }) => c ?? r).join(", ") : t.value || null);
797
799
  }, Te = (l) => {
798
800
  var t;
799
801
  (t = l.value.$children) == null || t[0].$refs.textbox.focus();
800
- }, Kt = ({
802
+ }, zt = ({
801
803
  inputContainerRef: l,
802
804
  optionsContainerRef: t,
803
805
  selectedValueIndex: a,
@@ -805,67 +807,67 @@ const Pt = Ft.exports, $t = (l, t) => t.value.reduce((a, e) => {
805
807
  isDynamicFltering: o,
806
808
  items: n,
807
809
  isMultiple: r,
808
- totalItemCount: d,
809
- isVirtualScroll: c
810
- }, y, f, p) => {
811
- const i = async (b) => {
810
+ totalItemCount: c,
811
+ isVirtualScroll: u
812
+ }, v, b, f) => {
813
+ const i = async (y) => {
812
814
  var w;
813
- o.value && await D(), (w = n.value[b]) == null || w.focus();
814
- }, S = async (b) => {
815
+ o.value && await B(), (w = n.value[y]) == null || w.focus();
816
+ }, S = async (y) => {
815
817
  var H, Y;
816
- o.value && await D();
818
+ o.value && await B();
817
819
  const w = (H = t.value.$refs.dropdownOptionsListboxRef.$refs.listboxItemRef) == null ? void 0 : H.$el.querySelectorAll(
818
820
  "button"
819
821
  );
820
- w != null && w.length ? (Y = w[b]) == null || Y.focus() : i(b);
821
- }, v = (b) => {
822
+ w != null && w.length ? (Y = w[y]) == null || Y.focus() : i(y);
823
+ }, x = (y) => {
822
824
  var w;
823
825
  return (w = t.value.$refs.dropdownOptionsListboxRef.$refs.listboxItemRef) == null ? void 0 : w.setListboxFocusedIndex(
824
- b
826
+ y
825
827
  );
826
- }, _ = async (b) => {
828
+ }, d = async (y) => {
827
829
  var w;
828
- await ((w = t.value.$refs.dropdownOptionsListboxRef.$refs.listboxItemRef) == null ? void 0 : w.navigateToItem(b));
829
- }, x = (b) => {
830
- D(() => {
831
- c ? _(b) : (v(b), i(b));
830
+ await ((w = t.value.$refs.dropdownOptionsListboxRef.$refs.listboxItemRef) == null ? void 0 : w.navigateToItem(y));
831
+ }, C = (y) => {
832
+ B(() => {
833
+ u ? d(y) : (x(y), i(y));
832
834
  });
833
- }, L = () => {
834
- e.value || f(), x(0);
835
- }, u = () => {
836
- e.value || f(), D(() => {
837
- x(c ? d.value - 1 : n.value.length - 1);
835
+ }, g = () => {
836
+ e.value || b(), C(0);
837
+ }, p = () => {
838
+ e.value || b(), B(() => {
839
+ C(u ? c.value - 1 : n.value.length - 1);
838
840
  });
839
- }, T = ({ detail: b }) => {
840
- b.preventDefault(), L();
841
- }, I = ({ detail: b }) => {
842
- b.preventDefault(), u();
843
- }, A = () => {
844
- L();
841
+ }, T = ({ detail: y }) => {
842
+ y.preventDefault(), g();
843
+ }, I = ({ detail: y }) => {
844
+ y.preventDefault(), p();
845
+ }, D = () => {
846
+ g();
845
847
  }, F = () => {
846
- u();
847
- }, P = ({ detail: b }) => {
848
- b.preventDefault(), y(), e.value && (r ? S(0) : x(a.value));
849
- }, M = ({ detail: b }) => {
850
- b.preventDefault(), y(), e.value && (r ? S(0) : x(a.value));
848
+ p();
849
+ }, P = ({ detail: y }) => {
850
+ y.preventDefault(), v(), e.value && (r ? S(0) : C(a.value));
851
+ }, $ = ({ detail: y }) => {
852
+ y.preventDefault(), v(), e.value && (r ? S(0) : C(a.value));
853
+ }, N = () => {
854
+ e.value && f();
851
855
  }, O = () => {
852
- e.value && p();
853
- }, U = () => {
854
- e.value && (p(), Te(l));
856
+ e.value && (f(), Te(l));
855
857
  };
856
858
  return s(() => ({
857
- [N.ARROW_DOWN]: T,
858
- [N.ARROW_UP]: I,
859
- [N.HOME]: A,
860
- [N.END]: F,
861
- ...o.value ? {} : { [N.SPACE]: P },
862
- [N.ENTER]: M,
863
- ...o.value ? {} : { [N.TAB]: O },
864
- [N.ESCAPE]: U
859
+ [R.ARROW_DOWN]: T,
860
+ [R.ARROW_UP]: I,
861
+ [R.HOME]: D,
862
+ [R.END]: F,
863
+ ...o.value ? {} : { [R.SPACE]: P },
864
+ [R.ENTER]: $,
865
+ ...o.value ? {} : { [R.TAB]: N },
866
+ [R.ESCAPE]: O
865
867
  }));
866
- }, qt = ({ inputContainerRef: l, isDropdownOpen: t }, a) => {
868
+ }, Ut = ({ inputContainerRef: l, isDropdownOpen: t }, a) => {
867
869
  const e = () => {
868
- t.value && a(), D(() => {
870
+ t.value && a(), B(() => {
869
871
  Te(l);
870
872
  });
871
873
  };
@@ -876,18 +878,18 @@ const Pt = Ft.exports, $t = (l, t) => t.value.reduce((a, e) => {
876
878
  [m.SPACE]: e
877
879
  };
878
880
  };
879
- function zt(l, t, a, e, o) {
880
- const n = C(l), r = C(t), d = (f, p = []) => p.flatMap((i) => i.label.toLocaleLowerCase().includes(f) ? e != null && e.value && i.items ? [...d(f, i.items)] : [i, ...d(f, i.items)] : i.items ? [...d(f, i.items)] : []), c = a !== void 0 ? He(() => a(n.value), o ?? 300) : void 0;
881
+ function Wt(l, t, a, e, o) {
882
+ const n = L(l), r = L(t), c = (b, f = []) => f.flatMap((i) => i.label.toLocaleLowerCase().includes(b) ? e != null && e.value && i.items ? [...c(b, i.items)] : [i, ...c(b, i.items)] : i.items ? [...c(b, i.items)] : []), u = a !== void 0 ? Ye(() => a(n.value), o ?? 300) : void 0;
881
883
  return Z(n, () => {
882
- c !== void 0 && c();
884
+ u !== void 0 && u();
883
885
  }), s(() => {
884
886
  if (!n.value || a !== void 0)
885
887
  return r.value;
886
- const f = n.value.toLocaleLowerCase();
887
- return d(f, r.value);
888
+ const b = n.value.toLocaleLowerCase();
889
+ return c(b, r.value);
888
890
  });
889
891
  }
890
- const Ut = {
892
+ const jt = {
891
893
  "de-DE": {
892
894
  all: "Alle",
893
895
  ariaLabelFallback: "Dropdown",
@@ -938,16 +940,16 @@ const Ut = {
938
940
  ariaLabelFallback: "下拉菜单",
939
941
  clearSearch: "清除筛选器"
940
942
  }
941
- }, Wt = /* @__PURE__ */ Symbol("input field component injection key"), ha = /* @__PURE__ */ Symbol("input field hint injection key"), ga = /* @__PURE__ */ Symbol("input field parent component injection key"), jt = B({
942
- i18n: { messages: Ut },
943
+ }, Ht = A({
944
+ i18n: { messages: jt },
943
945
  name: "b-dropdown",
944
946
  components: {
945
- DropdownInputDefault: xt,
946
- DropdownInputSmall: Pt
947
+ DropdownInputDefault: Ct,
948
+ DropdownInputSmall: Vt
947
949
  },
948
950
  model: { prop: "modelValue" }
949
- }), Ht = /* @__PURE__ */ B({
950
- ...jt,
951
+ }), Yt = /* @__PURE__ */ A({
952
+ ...Ht,
951
953
  props: {
952
954
  description: { default: null },
953
955
  disabled: { type: Boolean, default: !1 },
@@ -968,7 +970,7 @@ const Ut = {
968
970
  items: { default: () => [] },
969
971
  loading: { type: Boolean, default: !1 },
970
972
  componentLoading: { type: Boolean, default: !1 },
971
- lazyLoadType: { default: ne.props.lazyLoadType.default },
973
+ lazyLoadType: { default: se.props.lazyLoadType.default },
972
974
  multiple: { type: Boolean, default: !1 },
973
975
  search: { default: void 0 },
974
976
  showSlotContentInMultiple: { type: Boolean, default: !1 },
@@ -981,138 +983,138 @@ const Ut = {
981
983
  },
982
984
  emits: ["input", "update:model-value", "show-more", "open"],
983
985
  setup(l, { expose: t, emit: a }) {
984
- var he, ge;
985
- const e = l, o = Ee(), n = Q(), r = De(n), { t: d } = G(), { emitValue: c } = je(a), y = C(null), f = C(null), p = C(null), i = C(!1), S = K("bento-dropdown-options-container"), v = K("dropdown-label"), _ = K("dropdown-description"), x = K("dropdown-error"), { isReadOnly: L } = Ze(k(e, "readonly")), u = s(() => e.modelValue ?? e.value), { cachedSelectedListboxOptions: T, cachedListboxSelectedValues: I, setCachedValues: A } = Ye(
986
+ var ge, Se;
987
+ const e = l, o = Ie(), n = Q(), r = Be(n), { t: c } = G(), { emitValue: u } = He(a), v = L(null), b = L(null), f = L(null), i = L(!1), S = q("bento-dropdown-options-container"), x = q("dropdown-label"), d = q("dropdown-description"), C = q("dropdown-error"), { isReadOnly: g } = Qe(k(e, "readonly")), p = s(() => e.modelValue ?? e.value), { cachedSelectedListboxOptions: T, cachedListboxSelectedValues: I, setCachedValues: D } = Je(
986
988
  k(e, "items"),
987
- u,
989
+ p,
988
990
  k(e, "multiple"),
989
991
  k(e, "enableValueLabelPair")
990
- ), F = C(o["aria-label"]), P = C(o["aria-describedby"]), { ariaLabel: M, label: O } = Oe(e), U = s(() => d("ariaLabelFallback")), se = We({
992
+ ), F = L(o["aria-label"]), P = L(o["aria-describedby"]), { ariaLabel: $, label: N } = Ee(e), O = s(() => c("ariaLabelFallback")), ee = je({
991
993
  // TODO: take ariaLabel ref away when aria-label prop is removed
992
- ariaLabel: M.value || F,
993
- label: O,
994
- defaultFallback: U
995
- }), b = e.size === z.SMALL || Ve(Wt, !1), w = s(() => b ? z.SMALL : z.DEFAULT), H = s(() => ({
994
+ ariaLabel: $.value || F,
995
+ label: N,
996
+ defaultFallback: O
997
+ }), y = e.size === U.SMALL || re(pt, !1), w = s(() => y ? U.SMALL : U.DEFAULT), H = s(() => ({
996
998
  "b-dropdown--condensed": e.condensed
997
999
  })), Y = s(() => ({
998
1000
  "b-dropdown__description--error": !!e.errorMessage
999
- })), $ = C(""), W = k(e, "items"), re = k(e, "staticCategories"), J = zt(
1000
- $,
1001
+ })), V = L(""), W = k(e, "items"), ie = k(e, "staticCategories"), J = Wt(
1002
+ V,
1001
1003
  W,
1002
- (he = e == null ? void 0 : e.search) == null ? void 0 : he.searchEvent,
1003
- re,
1004
- (ge = e == null ? void 0 : e.search) == null ? void 0 : ge.debounceTime
1005
- ), ee = s(() => e.dynamicFiltering && !!$.value), Ae = Vt({
1004
+ (ge = e == null ? void 0 : e.search) == null ? void 0 : ge.searchEvent,
1005
+ ie,
1006
+ (Se = e == null ? void 0 : e.search) == null ? void 0 : Se.debounceTime
1007
+ ), te = s(() => e.dynamicFiltering && !!V.value), Re = qt({
1006
1008
  items: W,
1007
1009
  placeholder: k(e, "placeholder"),
1008
1010
  isMultiSelect: k(e, "multiple"),
1009
1011
  selectedValues: T
1010
- }), ke = s(() => {
1011
- if (e != null && e.multiple && Array.isArray(u.value))
1012
+ }), Ne = s(() => {
1013
+ if (e != null && e.multiple && Array.isArray(p.value))
1012
1014
  return e.items.filter(
1013
- ({ value: h }) => (e == null ? void 0 : e.value) && (e == null ? void 0 : e.value).includes(h)
1015
+ ({ value: _ }) => (e == null ? void 0 : e.value) && (e == null ? void 0 : e.value).includes(_)
1014
1016
  );
1015
1017
  if (!e.multiple && e.staticCategories) {
1016
- const h = e.items.find(
1018
+ const _ = e.items.find(
1017
1019
  (j) => {
1018
- var Se;
1019
- return (Se = j.items) == null ? void 0 : Se.some(($e) => $e.value === u.value);
1020
+ var xe;
1021
+ return (xe = j.items) == null ? void 0 : xe.some((Ke) => Ke.value === p.value);
1020
1022
  }
1021
1023
  );
1022
- return (h ? h.items.find((j) => j.value === u.value) : e.items.find(({ value: j }) => j === u.value)) ?? null;
1024
+ return (_ ? _.items.find((j) => j.value === p.value) : e.items.find(({ value: j }) => j === p.value)) ?? null;
1023
1025
  }
1024
- return e.items.find(({ value: h }) => h === u.value);
1025
- }), ie = s(() => {
1026
- const h = J.value.findIndex(({ value: V }) => e.enableValueLabelPair ? u.value.value === V : u.value === V);
1027
- return h > -1 ? h : 0;
1028
- }), { isMultiLevelSelect: te, flattenedItemsList: de } = Je(W), ce = s(() => te.value && !e.staticCategories), ue = s(() => ce.value ? "treeitem" : "option"), Ne = s(() => {
1026
+ return e.items.find(({ value: _ }) => _ === p.value);
1027
+ }), de = s(() => {
1028
+ const _ = J.value.findIndex(({ value: K }) => e.enableValueLabelPair ? p.value.value === K : p.value === K);
1029
+ return _ > -1 ? _ : 0;
1030
+ }), { isMultiLevelSelect: ae, flattenedItemsList: ce } = Xe(W), ue = s(() => ae.value && !e.staticCategories), pe = s(() => ue.value ? "treeitem" : "option"), Me = s(() => {
1029
1031
  if (e.multiple) {
1030
- const h = Array.isArray(u.value) ? u.value.length : 0, V = te.value ? de.value.length : W.value.length;
1031
- return h === 0 ? null : !e.hasMoreItems && V > 0 && V === h ? d("all") : h;
1032
+ const _ = Array.isArray(p.value) ? p.value.length : 0, K = ae.value ? ce.value.length : W.value.length;
1033
+ return _ === 0 ? null : !e.hasMoreItems && K > 0 && K === _ ? c("all") : _;
1032
1034
  }
1033
1035
  return null;
1034
- }), Me = s(
1036
+ }), Fe = s(
1035
1037
  () => [
1036
- e.description ? _ : null,
1038
+ e.description ? d : null,
1037
1039
  P.value,
1038
- e.errorMessage ? x : null
1040
+ e.errorMessage ? C : null
1039
1041
  ].filter(Boolean).join(" ") || null
1040
- ), pe = s(() => {
1041
- var h;
1042
- return (h = p.value) == null ? void 0 : h.$el;
1043
- }), { visibleDomOptions: fe, updateVisibleDomOptions: ae } = Xe(
1044
- pe,
1042
+ ), fe = s(() => {
1043
+ var _;
1044
+ return (_ = f.value) == null ? void 0 : _.$el;
1045
+ }), { visibleDomOptions: be, updateVisibleDomOptions: oe } = Ze(
1046
+ fe,
1045
1047
  J,
1046
- ue
1047
- ), be = () => {
1048
- L.value || (i.value = !0, D(() => {
1049
- ae();
1048
+ pe
1049
+ ), ye = () => {
1050
+ g.value || (i.value = !0, B(() => {
1051
+ oe();
1050
1052
  }));
1051
1053
  }, X = () => {
1052
1054
  i.value = !1;
1053
- }, ye = () => {
1054
- L.value || (i.value = !i.value, D(() => {
1055
- ae();
1056
- }), ee.value && ($.value = ""));
1057
- }, Re = () => {
1058
- ee.value && ($.value = ""), i.value && (i.value = !1, p.value.onOutsideDropdownClick());
1059
- }, ve = async (h) => {
1060
- e.multiple || ($.value = "", i.value = !1), A(h), c(I.value), e.multiple || (await D(), oe());
1061
- }, me = () => {
1055
+ }, ve = () => {
1056
+ g.value || (i.value = !i.value, B(() => {
1057
+ oe();
1058
+ }), te.value && (V.value = ""));
1059
+ }, Pe = () => {
1060
+ te.value && (V.value = ""), i.value && (i.value = !1, f.value.onOutsideDropdownClick());
1061
+ }, me = async (_) => {
1062
+ e.multiple || (V.value = "", i.value = !1), D(_), u(I.value), e.multiple || (await B(), le());
1063
+ }, _e = () => {
1062
1064
  a(m.SHOW_MORE);
1063
- }, Fe = Kt(
1065
+ }, $e = zt(
1064
1066
  {
1065
- inputContainerRef: y,
1066
- optionsContainerRef: p,
1067
- selectedValueIndex: ie,
1067
+ inputContainerRef: v,
1068
+ optionsContainerRef: f,
1069
+ selectedValueIndex: de,
1068
1070
  isDropdownOpen: i,
1069
1071
  isDynamicFltering: k(e, "dynamicFiltering"),
1070
- items: fe,
1072
+ items: be,
1071
1073
  isMultiple: e.multiple,
1072
1074
  totalItemCount: s(() => J.value.length),
1073
1075
  isVirtualScroll: !(e != null && e.multiple) && (e == null ? void 0 : e.virtualScroll) !== !1 && (e == null ? void 0 : e.lazyLoadType) === "none"
1074
1076
  },
1077
+ ve,
1075
1078
  ye,
1076
- be,
1077
1079
  X
1078
- ), _e = qt(
1080
+ ), he = Ut(
1079
1081
  {
1080
- inputContainerRef: y,
1082
+ inputContainerRef: v,
1081
1083
  isDropdownOpen: i
1082
1084
  },
1083
1085
  X
1084
- ), Pe = {
1086
+ ), Ve = {
1085
1087
  [m.CLOSE_DROPDOWN]: X,
1086
- [m.SELECT]: ve,
1087
- [m.SHOW_MORE]: me,
1088
- ..._e
1088
+ [m.SELECT]: me,
1089
+ [m.SHOW_MORE]: _e,
1090
+ ...he
1089
1091
  };
1090
- e.error && le(
1092
+ e.error && ne(
1091
1093
  'BentoDropdown "error" property',
1092
1094
  `Use the BentoDropdown "errorMessage" property instead to indicate that there is a modifier error.
1093
1095
  Having the field as "undefined" will hide/remove the error.
1094
1096
  <bento-dropdown errorMessage="Error message text" />`,
1095
1097
  "2.0.0"
1096
- ), e.size && le('BentoDropdown "size" property', "Do not use. Only 'default' size should be used.", "2.0.0"), e.value && le(
1098
+ ), e.size && ne('BentoDropdown "size" property', "Do not use. Only 'default' size should be used.", "2.0.0"), e.value && ne(
1097
1099
  'BentoDropdown "value" property',
1098
1100
  `The use of "value" prop in "BentoDropdown" is no longer supported.
1099
1101
  Use the "v-model" or "model-value" property instead.`,
1100
1102
  "2.0.0"
1101
1103
  );
1102
- const oe = () => {
1103
- y.value.focus();
1104
+ const le = () => {
1105
+ v.value.focus();
1104
1106
  };
1105
1107
  return Z(
1106
1108
  () => i.value,
1107
- (h) => {
1108
- h && a("open");
1109
+ (_) => {
1110
+ _ && a("open");
1109
1111
  }
1110
1112
  ), t({
1111
- focus: oe
1112
- }), { __sfc: !0, attrs: o, slots: n, hasSlot: r, props: e, emit: a, t: d, emitValue: c, inputContainerRef: y, inputContainerRefWrapper: f, optionsContainerRef: p, isDropdownOpen: i, dropdownOptionsContainerId: S, labelId: v, descriptionId: _, errorId: x, isReadOnly: L, dropdownValue: u, cachedSelectedListboxOptions: T, cachedListboxSelectedValues: I, setCachedValues: A, ariaLabelAttribute: F, ariaDescribedByAttribute: P, ariaLabel: M, label: O, computedAriaLabelFallbackMessage: U, computedAriaLabel: se, isInputComponent: b, computedSize: w, conditionalClasses: H, descriptionConditionalClasses: Y, searchTerm: $, items: W, staticCategories: re, filteredItems: J, isSearching: ee, displayValue: Ae, selectedValueItem: ke, selectedValueIndex: ie, isMultiLevelSelect: te, flattenedItemsList: de, isTreePattern: ce, computedOptionRole: ue, additionalItemsSelected: Ne, ariaDescribedBy: Me, listboxRef: pe, visibleDomOptions: fe, updateVisibleDomOptions: ae, openDropdown: be, closeDropdown: X, toggleDropdown: ye, clickOutsideDropdown: Re, onOptionSelected: ve, emitShowMoreEvent: me, textboxKeyboardNavigationListeners: Fe, listboxKeyboardNavigationListeners: _e, listboxListeners: Pe, focus: oe, BentoDropdownOptionsContainer: ct, BentoTypography: Ie, ErrorMessage: tt, FieldLabel: et, vBentoClickOutsideDirective: Ge, vBentoKeyboardNavigationDirective: Qe };
1113
+ focus: le
1114
+ }), { __sfc: !0, attrs: o, slots: n, hasSlot: r, props: e, emit: a, t: c, emitValue: u, inputContainerRef: v, inputContainerRefWrapper: b, optionsContainerRef: f, isDropdownOpen: i, dropdownOptionsContainerId: S, labelId: x, descriptionId: d, errorId: C, isReadOnly: g, dropdownValue: p, cachedSelectedListboxOptions: T, cachedListboxSelectedValues: I, setCachedValues: D, ariaLabelAttribute: F, ariaDescribedByAttribute: P, ariaLabel: $, label: N, computedAriaLabelFallbackMessage: O, computedAriaLabel: ee, isInputComponent: y, computedSize: w, conditionalClasses: H, descriptionConditionalClasses: Y, searchTerm: V, items: W, staticCategories: ie, filteredItems: J, isSearching: te, displayValue: Re, selectedValueItem: Ne, selectedValueIndex: de, isMultiLevelSelect: ae, flattenedItemsList: ce, isTreePattern: ue, computedOptionRole: pe, additionalItemsSelected: Me, ariaDescribedBy: Fe, listboxRef: fe, visibleDomOptions: be, updateVisibleDomOptions: oe, openDropdown: ye, closeDropdown: X, toggleDropdown: ve, clickOutsideDropdown: Pe, onOptionSelected: me, emitShowMoreEvent: _e, textboxKeyboardNavigationListeners: $e, listboxKeyboardNavigationListeners: he, listboxListeners: Ve, focus: le, BentoDropdownOptionsContainer: ut, BentoTypography: De, ErrorMessage: at, FieldLabel: tt, vBentoClickOutsideDirective: et, vBentoKeyboardNavigationDirective: Ge };
1113
1115
  }
1114
1116
  });
1115
- var Yt = function() {
1117
+ var Jt = function() {
1116
1118
  var t = this, a = t._self._c, e = t._self._setupProxy;
1117
1119
  return a("div", { directives: [{ name: "bento-click-outside-directive", rawName: "v-bento-click-outside-directive", value: e.clickOutsideDropdown, expression: "clickOutsideDropdown" }], staticClass: "b-dropdown", class: e.conditionalClasses }, [e.label ? a(e.FieldLabel, { attrs: { id: e.labelId, condensed: t.condensed, label: e.label, "tooltip-text": t.tooltipText, optional: t.optional, required: t.required } }) : t._e(), a("div", t._g({ directives: [{ name: "bento-keyboard-navigation-directive", rawName: "v-bento-keyboard-navigation-directive" }], ref: "inputContainerRefWrapper" }, e.textboxKeyboardNavigationListeners), [a(e.computedSize, { ref: "inputContainerRef", tag: "component", attrs: { condensed: t.condensed, value: e.searchTerm, "additional-items-selected": e.additionalItemsSelected, "aria-controls": e.dropdownOptionsContainerId, ariaExpanded: e.isDropdownOpen, "aria-labelledby": e.label ? e.labelId : null, "aria-describedby": e.ariaDescribedBy, "aria-label": e.computedAriaLabel, "aria-readonly": e.isReadOnly, "aria-required": t.required, readonly: e.isReadOnly, disabled: t.disabled, "display-value": e.displayValue, "dynamic-filtering": t.dynamicFiltering, "is-invalid": !!t.errorMessage || t.error, multiple: t.multiple, open: e.isDropdownOpen, "selected-value-item": e.isInputComponent ? void 0 : e.selectedValueItem, "show-slot-content-in-multiple": t.showSlotContentInMultiple }, on: { input: function(o) {
1118
1120
  e.searchTerm = o;
@@ -1127,22 +1129,20 @@ var Yt = function() {
1127
1129
  })], null, !0) }, e.listboxListeners)) : t._e(), t.errorMessage ? a(e.ErrorMessage, { staticClass: "b-dropdown__error-message", attrs: { id: e.errorId, "error-message": t.errorMessage } }) : t._e(), t.description || e.hasSlot("description") ? a(e.BentoTypography, { staticClass: "b-dropdown__description", class: e.descriptionConditionalClasses, attrs: { id: e.descriptionId, el: "span" } }, [t._t("description", function() {
1128
1130
  return [t._v(" " + t._s(t.description) + " ")];
1129
1131
  })], 2) : t._e()], 1);
1130
- }, Jt = [], Xt = /* @__PURE__ */ R(
1131
- Ht,
1132
+ }, Xt = [], Zt = /* @__PURE__ */ M(
1132
1133
  Yt,
1133
1134
  Jt,
1135
+ Xt,
1134
1136
  !1,
1135
1137
  null,
1136
- "f5eb43fd"
1138
+ "4c9eaaf0"
1137
1139
  );
1138
- const Sa = Xt.exports;
1140
+ const ga = Zt.exports;
1139
1141
  export {
1140
- Sa as B,
1141
- xt as D,
1142
- ha as I,
1143
- z as a,
1144
- Wt as b,
1145
- ga as c,
1146
- zt as u
1142
+ ga as B,
1143
+ Ct as D,
1144
+ U as a,
1145
+ pt as b,
1146
+ Wt as u
1147
1147
  };
1148
- //# sourceMappingURL=dropdown.Dx0HybJ8.js.map
1148
+ //# sourceMappingURL=dropdown.BEurqT8m.js.map