@adyen/bento-vue2 1.102.0 → 1.103.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 (399) hide show
  1. package/dist/@types/index.d.ts +20 -3
  2. package/dist/accordion.js +1 -1
  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/ai-button.css +1 -1
  10. package/dist/assets/anchor-scroller.css +1 -1
  11. package/dist/assets/base-modal.css +1 -1
  12. package/dist/assets/button-actions.css +1 -1
  13. package/dist/assets/button.css +1 -1
  14. package/dist/assets/card.css +1 -1
  15. package/dist/assets/checkbox-input.css +1 -1
  16. package/dist/assets/data-grid.css +1 -1
  17. package/dist/assets/dialog-page.css +1 -1
  18. package/dist/assets/dropdown.css +1 -1
  19. package/dist/assets/empty-state.css +1 -1
  20. package/dist/assets/file-uploader.css +1 -1
  21. package/dist/assets/filter-bar.css +1 -1
  22. package/dist/assets/index.css +1 -1
  23. package/dist/assets/input-field-password.css +1 -1
  24. package/dist/assets/inspector.css +1 -1
  25. package/dist/assets/modal-fullscreen.css +1 -1
  26. package/dist/assets/navigation-menu-group.css +1 -1
  27. package/dist/assets/pagination.css +1 -1
  28. package/dist/assets/radio-input.css +1 -1
  29. package/dist/assets/secondary-nav.css +1 -1
  30. package/dist/assets/selection-card-group.css +1 -1
  31. package/dist/assets/sidepanel.css +1 -1
  32. package/dist/assets/table-of-contents.css +1 -1
  33. package/dist/assets/typography.css +1 -1
  34. package/dist/avatar.js +1 -1
  35. package/dist/button.js +3 -3
  36. package/dist/card.js +1 -1
  37. package/dist/checkbox.js +2 -2
  38. package/dist/chip.js +1 -1
  39. package/dist/chunks/{accordion-item.C0va5Mbv.js → accordion-item.CrVVFIHa.js} +16 -49
  40. package/dist/chunks/{accordion-item.C0va5Mbv.js.map → accordion-item.CrVVFIHa.js.map} +1 -1
  41. package/dist/chunks/{action-bar.-kzjjAuX.js → action-bar.BC1fWyHX.js} +18 -150
  42. package/dist/chunks/{action-bar.-kzjjAuX.js.map → action-bar.BC1fWyHX.js.map} +1 -1
  43. package/dist/chunks/{ai-button.ChLXOu7p.js → ai-button.CP6Bu7PB.js} +3 -3
  44. package/dist/chunks/{ai-button.ChLXOu7p.js.map → ai-button.CP6Bu7PB.js.map} +1 -1
  45. package/dist/chunks/{ai-tag.DhBjifex.js → ai-tag.wYWc7yOx.js} +16 -49
  46. package/dist/chunks/{ai-tag.DhBjifex.js.map → ai-tag.wYWc7yOx.js.map} +1 -1
  47. package/dist/chunks/{alert.CDP-LTh5.js → alert.Dj57zB88.js} +15 -81
  48. package/dist/chunks/{alert.CDP-LTh5.js.map → alert.Dj57zB88.js.map} +1 -1
  49. package/dist/chunks/anchor-scroller.Bhgy748g.js +120 -0
  50. package/dist/chunks/anchor-scroller.Bhgy748g.js.map +1 -0
  51. package/dist/chunks/{avatar.rwWPYJnt.js → avatar.D__jLgjI.js} +2 -2
  52. package/dist/chunks/{avatar.rwWPYJnt.js.map → avatar.D__jLgjI.js.map} +1 -1
  53. package/dist/chunks/{base-button.BPRPrO0p.js → base-button.D5C9VIYP.js} +20 -23
  54. package/dist/chunks/{base-button.BPRPrO0p.js.map → base-button.D5C9VIYP.js.map} +1 -1
  55. package/dist/chunks/{base-modal.BagJ8weI.js → base-modal.DlD_Lj4Y.js} +100 -141
  56. package/dist/chunks/{base-modal.BagJ8weI.js.map → base-modal.DlD_Lj4Y.js.map} +1 -1
  57. package/dist/chunks/button-actions-with-menu.CTgggEw2.js +77 -0
  58. package/dist/chunks/{button-actions-with-menu.DNYoFmV4.js.map → button-actions-with-menu.CTgggEw2.js.map} +1 -1
  59. package/dist/chunks/{button-actions.Dpbx0xf3.js → button-actions.CxX7lK7z.js} +362 -442
  60. package/dist/chunks/{button-actions.Dpbx0xf3.js.map → button-actions.CxX7lK7z.js.map} +1 -1
  61. package/dist/chunks/{button.CKS_V3p5.js → button.C4kKejsg.js} +34 -37
  62. package/dist/chunks/{button.CKS_V3p5.js.map → button.C4kKejsg.js.map} +1 -1
  63. package/dist/chunks/calendar.BoFWdxN7.js +1143 -0
  64. package/dist/chunks/{calendar.CvHJ3Geq.js.map → calendar.BoFWdxN7.js.map} +1 -1
  65. package/dist/chunks/{card.DqMECGcj.js → card.B70qRHOi.js} +34 -70
  66. package/dist/chunks/{card.DqMECGcj.js.map → card.B70qRHOi.js.map} +1 -1
  67. package/dist/chunks/{checkbox-group.YnXz1Hl2.js → checkbox-group.D1zzKsdi.js} +6 -6
  68. package/dist/chunks/{checkbox-group.YnXz1Hl2.js.map → checkbox-group.D1zzKsdi.js.map} +1 -1
  69. package/dist/chunks/{checkbox-input.08E9BNeF.js → checkbox-input.kfxcyjfd.js} +28 -31
  70. package/dist/chunks/{checkbox-input.08E9BNeF.js.map → checkbox-input.kfxcyjfd.js.map} +1 -1
  71. package/dist/chunks/{checkbox.BUc2332d.js → checkbox.Ca0mu2lE.js} +58 -91
  72. package/dist/chunks/{checkbox.BUc2332d.js.map → checkbox.Ca0mu2lE.js.map} +1 -1
  73. package/dist/chunks/{chip.DHmRHsL2.js → chip.wgEnbEPw.js} +16 -38
  74. package/dist/chunks/{chip.DHmRHsL2.js.map → chip.wgEnbEPw.js.map} +1 -1
  75. package/dist/chunks/click-outside.B0whuTUU.js +20 -0
  76. package/dist/chunks/{click-outside.BG01Sm0A.js.map → click-outside.B0whuTUU.js.map} +1 -1
  77. package/dist/chunks/{code-snippet.Cha3wHUL.js → code-snippet.BglbQWRB.js} +19 -74
  78. package/dist/chunks/{code-snippet.Cha3wHUL.js.map → code-snippet.BglbQWRB.js.map} +1 -1
  79. package/dist/chunks/{codemirror.D2BAltnu.js → codemirror.Bzus_EPG.js} +15 -15
  80. package/dist/chunks/{codemirror.D2BAltnu.js.map → codemirror.Bzus_EPG.js.map} +1 -1
  81. package/dist/chunks/constructNow.DyOJDyZZ.js +8 -0
  82. package/dist/chunks/{constructNow.CK0ryPil.js.map → constructNow.DyOJDyZZ.js.map} +1 -1
  83. package/dist/chunks/{controls-group.BomXFNvi.js → controls-group.DPLAJjbv.js} +3 -3
  84. package/dist/chunks/{controls-group.BomXFNvi.js.map → controls-group.DPLAJjbv.js.map} +1 -1
  85. package/dist/chunks/{copy.BlyhTDSU.js → copy.CsKQJlen.js} +16 -60
  86. package/dist/chunks/{copy.BlyhTDSU.js.map → copy.CsKQJlen.js.map} +1 -1
  87. package/dist/chunks/{country.DySY9sbA.js → country.D8ncVjcm.js} +5 -5
  88. package/dist/chunks/{country.DySY9sbA.js.map → country.D8ncVjcm.js.map} +1 -1
  89. package/dist/chunks/country.types.BUW49nQx.js +27 -0
  90. package/dist/chunks/country.types.BUW49nQx.js.map +1 -0
  91. package/dist/chunks/currency.POwX-Trj.js +124 -0
  92. package/dist/chunks/{currency.Dvy9Qjjf.js.map → currency.POwX-Trj.js.map} +1 -1
  93. package/dist/chunks/dashboard-section.Bmu65OHg.js +98 -0
  94. package/dist/chunks/{dashboard-section.D2yqhERq.js.map → dashboard-section.Bmu65OHg.js.map} +1 -1
  95. package/dist/chunks/{dashed-underline.ByPcIHNe.js → dashed-underline.CbzCYKrk.js} +11 -12
  96. package/dist/chunks/{dashed-underline.ByPcIHNe.js.map → dashed-underline.CbzCYKrk.js.map} +1 -1
  97. package/dist/chunks/data-grid-template.BvBHJ0sH.js +102 -0
  98. package/dist/chunks/{data-grid-template.Ifn423Ot.js.map → data-grid-template.BvBHJ0sH.js.map} +1 -1
  99. package/dist/chunks/data-grid.DPh8BSnM.js +3266 -0
  100. package/dist/chunks/{data-grid.BDXQ_kKQ.js.map → data-grid.DPh8BSnM.js.map} +1 -1
  101. package/dist/chunks/date-picker.DutUBQbH.js +183 -0
  102. package/dist/chunks/{date-picker.CXZfCxwP.js.map → date-picker.DutUBQbH.js.map} +1 -1
  103. package/dist/chunks/date-range-picker.5bvgs49h.js +924 -0
  104. package/dist/chunks/{date-range-picker.BzVQsYk4.js.map → date-range-picker.5bvgs49h.js.map} +1 -1
  105. package/dist/chunks/date-time-picker.DUWWGlOX.js +127 -0
  106. package/dist/chunks/{date-time-picker.DaLATfJp.js.map → date-time-picker.DUWWGlOX.js.map} +1 -1
  107. package/dist/chunks/{date.C1HnIyOv.js → date.CPo8t1n9.js} +25 -25
  108. package/dist/chunks/{date.C1HnIyOv.js.map → date.CPo8t1n9.js.map} +1 -1
  109. package/dist/chunks/{de.pvjpUJ1o.js → de.ctR_lBqr.js} +18 -18
  110. package/dist/chunks/{de.pvjpUJ1o.js.map → de.ctR_lBqr.js.map} +1 -1
  111. package/dist/chunks/{dialog-page.B_LwIWgK.js → dialog-page.CPorblJc.js} +16 -38
  112. package/dist/chunks/{dialog-page.B_LwIWgK.js.map → dialog-page.CPorblJc.js.map} +1 -1
  113. package/dist/chunks/differenceInMonths.yz4Dfe-b.js +44 -0
  114. package/dist/chunks/{differenceInMonths.CpwVtHZX.js.map → differenceInMonths.yz4Dfe-b.js.map} +1 -1
  115. package/dist/chunks/{directive.BBWhsNtO.js → directive.D1-d-C2K.js} +2 -2
  116. package/dist/chunks/{directive.BBWhsNtO.js.map → directive.D1-d-C2K.js.map} +1 -1
  117. package/dist/chunks/{draggable-handle.kBP4prVO.js → draggable-handle.g2BFN3G1.js} +18 -114
  118. package/dist/chunks/{draggable-handle.kBP4prVO.js.map → draggable-handle.g2BFN3G1.js.map} +1 -1
  119. package/dist/chunks/draggable.iIsQLiOa.js +168 -0
  120. package/dist/chunks/{draggable.rTa1jcHI.js.map → draggable.iIsQLiOa.js.map} +1 -1
  121. package/dist/chunks/{drawer.DVJxDGw3.js → drawer.CnxX1zZ6.js} +14 -36
  122. package/dist/chunks/{drawer.DVJxDGw3.js.map → drawer.CnxX1zZ6.js.map} +1 -1
  123. package/dist/chunks/{dropdown-tag.CaLA2NLd.js → dropdown-tag.BFnfCah8.js} +77 -81
  124. package/dist/chunks/{dropdown-tag.CaLA2NLd.js.map → dropdown-tag.BFnfCah8.js.map} +1 -1
  125. package/dist/chunks/{dropdown.DIqgVVXB.js → dropdown.Ce2P9MZ-.js} +1131 -1466
  126. package/dist/chunks/{dropdown.DIqgVVXB.js.map → dropdown.Ce2P9MZ-.js.map} +1 -1
  127. package/dist/chunks/empty-state.fziM-yAC.js +102 -0
  128. package/dist/chunks/empty-state.fziM-yAC.js.map +1 -0
  129. package/dist/chunks/{en-GB.-Q7Oq-nY.js → en-GB.BsQNm5GT.js} +2 -2
  130. package/dist/chunks/{en-GB.-Q7Oq-nY.js.map → en-GB.BsQNm5GT.js.map} +1 -1
  131. package/dist/chunks/{en-US.BK5uiAND.js → en-US.BR6y7foR.js} +30 -30
  132. package/dist/chunks/{en-US.BK5uiAND.js.map → en-US.BR6y7foR.js.map} +1 -1
  133. package/dist/chunks/{error-message.Hqp_VvD3.js → error-message.BEHBfjmn.js} +14 -36
  134. package/dist/chunks/{error-message.Hqp_VvD3.js.map → error-message.BEHBfjmn.js.map} +1 -1
  135. package/dist/chunks/{es.2H4LvTyV.js → es.DxqH-QhP.js} +14 -14
  136. package/dist/chunks/{es.2H4LvTyV.js.map → es.DxqH-QhP.js.map} +1 -1
  137. package/dist/chunks/{field-label.DjJ7wdFi.js → field-label.CgdTst2l.js} +15 -37
  138. package/dist/chunks/{field-label.DjJ7wdFi.js.map → field-label.CgdTst2l.js.map} +1 -1
  139. package/dist/chunks/{file-uploader.2rIfQ2jb.js → file-uploader.BG89SLkG.js} +317 -630
  140. package/dist/chunks/{file-uploader.2rIfQ2jb.js.map → file-uploader.BG89SLkG.js.map} +1 -1
  141. package/dist/chunks/filter-bar.BMO8wTzb.js +3087 -0
  142. package/dist/chunks/{filter-bar.qlViDZPY.js.map → filter-bar.BMO8wTzb.js.map} +1 -1
  143. package/dist/chunks/fixed-scroller.oObE3f7m.js +117 -0
  144. package/dist/chunks/{fixed-scroller.04EUUgD_.js.map → fixed-scroller.oObE3f7m.js.map} +1 -1
  145. package/dist/chunks/{focus-trap.oRKjDFzf.js → focus-trap.l-wwtCHi.js} +69 -85
  146. package/dist/chunks/{focus-trap.oRKjDFzf.js.map → focus-trap.l-wwtCHi.js.map} +1 -1
  147. package/dist/chunks/{footer-actions.DXyJtVip.js → footer-actions.Dn9KYoqB.js} +4 -4
  148. package/dist/chunks/{footer-actions.DXyJtVip.js.map → footer-actions.Dn9KYoqB.js.map} +1 -1
  149. package/dist/chunks/{form-layout-group.DnjoLZZM.js → form-layout-group.C_0b8u-g.js} +2 -2
  150. package/dist/chunks/{form-layout-group.DnjoLZZM.js.map → form-layout-group.C_0b8u-g.js.map} +1 -1
  151. package/dist/chunks/{form-layout-title.Bt5bP9r3.js → form-layout-title.YhZCVtoc.js} +15 -37
  152. package/dist/chunks/{form-layout-title.Bt5bP9r3.js.map → form-layout-title.YhZCVtoc.js.map} +1 -1
  153. package/dist/chunks/{fr.Cu0IIfBP.js → fr.DJtn8ron.js} +16 -16
  154. package/dist/chunks/{fr.Cu0IIfBP.js.map → fr.DJtn8ron.js.map} +1 -1
  155. package/dist/chunks/{generate-uid.NJ8tVoha.js → generate-uid.DBWe4g6T.js} +15 -16
  156. package/dist/chunks/{generate-uid.NJ8tVoha.js.map → generate-uid.DBWe4g6T.js.map} +1 -1
  157. package/dist/chunks/get-slot-text.DM_NdrUC.js +6 -0
  158. package/dist/chunks/{get-slot-text.Bjb9dTSV.js.map → get-slot-text.DM_NdrUC.js.map} +1 -1
  159. package/dist/chunks/{grid-layout.1aIiz2N_.js → grid-layout.BeCrjPgT.js} +16 -17
  160. package/dist/chunks/{grid-layout.1aIiz2N_.js.map → grid-layout.BeCrjPgT.js.map} +1 -1
  161. package/dist/chunks/header-meta.mDdMmFUA.js +206 -0
  162. package/dist/chunks/{header-meta.CCQVPDU8.js.map → header-meta.mDdMmFUA.js.map} +1 -1
  163. package/dist/chunks/{header-with-views.CEU6WrV9.js → header-with-views.Dp6SyiPu.js} +791 -1270
  164. package/dist/chunks/{header-with-views.CEU6WrV9.js.map → header-with-views.Dp6SyiPu.js.map} +1 -1
  165. package/dist/chunks/{header.BoNOTATn.js → header.DUAxdw_d.js} +4 -4
  166. package/dist/chunks/{header.BoNOTATn.js.map → header.DUAxdw_d.js.map} +1 -1
  167. package/dist/chunks/{index.C7m7gI5w.js → index.CL3TXc0a.js} +154 -160
  168. package/dist/chunks/{index.C7m7gI5w.js.map → index.CL3TXc0a.js.map} +1 -1
  169. package/dist/chunks/{index.B6WW_F-J.js → index.CPOlyau9.js} +5 -5
  170. package/dist/chunks/index.CPOlyau9.js.map +1 -0
  171. package/dist/chunks/{info-icon.BnLYUTzI.js → info-icon.BRnbXunj.js} +3 -3
  172. package/dist/chunks/{info-icon.BnLYUTzI.js.map → info-icon.BRnbXunj.js.map} +1 -1
  173. package/dist/chunks/input-field-password.C9_o6Kg2.js +230 -0
  174. package/dist/chunks/input-field-password.C9_o6Kg2.js.map +1 -0
  175. package/dist/chunks/{input-field-phone-number.CPjH0EVF.js → input-field-phone-number.zRjd8HPi.js} +724 -756
  176. package/dist/chunks/{input-field-phone-number.CPjH0EVF.js.map → input-field-phone-number.zRjd8HPi.js.map} +1 -1
  177. package/dist/chunks/{input-field.BEV5lhwO.js → input-field.BTt1ORWU.js} +22 -58
  178. package/dist/chunks/{input-field.BEV5lhwO.js.map → input-field.BTt1ORWU.js.map} +1 -1
  179. package/dist/chunks/{input-time.En4O4DRD.js → input-time.BfJIDgaH.js} +15 -48
  180. package/dist/chunks/{input-time.En4O4DRD.js.map → input-time.BfJIDgaH.js.map} +1 -1
  181. package/dist/chunks/{inspector-page.OKPf0I4k.js → inspector-page.i8bVjo9U.js} +4 -4
  182. package/dist/chunks/{inspector-page.OKPf0I4k.js.map → inspector-page.i8bVjo9U.js.map} +1 -1
  183. package/dist/chunks/{inspector.DoQPHzCc.js → inspector.Aet0jTC2.js} +39 -106
  184. package/dist/chunks/{inspector.DoQPHzCc.js.map → inspector.Aet0jTC2.js.map} +1 -1
  185. package/dist/chunks/isSameWeek.CieN9XgL.js +14 -0
  186. package/dist/chunks/{isSameWeek.TrpUOIn5.js.map → isSameWeek.CieN9XgL.js.map} +1 -1
  187. package/dist/chunks/{it.B65snrJA.js → it.keS7oN5l.js} +8 -8
  188. package/dist/chunks/{it.B65snrJA.js.map → it.keS7oN5l.js.map} +1 -1
  189. package/dist/chunks/{ja.xGVfFSzL.js → ja.cLwacUE6.js} +27 -27
  190. package/dist/chunks/{ja.xGVfFSzL.js.map → ja.cLwacUE6.js.map} +1 -1
  191. package/dist/chunks/{layout-row.CPFK9Bg7.js → layout-row.HslYnPgn.js} +34 -35
  192. package/dist/chunks/{layout-row.CPFK9Bg7.js.map → layout-row.HslYnPgn.js.map} +1 -1
  193. package/dist/chunks/{link.Cejg8jB6.js → link.CscSbaXa.js} +15 -37
  194. package/dist/chunks/{link.Cejg8jB6.js.map → link.CscSbaXa.js.map} +1 -1
  195. package/dist/chunks/list-item.Cngxa9qN.js +166 -0
  196. package/dist/chunks/{list-item.BiJMHR7b.js.map → list-item.Cngxa9qN.js.map} +1 -1
  197. package/dist/chunks/{listbox-option-tag.DnvECZQC.js → listbox-option-tag.BaoiH-Ku.js} +3 -3
  198. package/dist/chunks/{listbox-option-tag.DnvECZQC.js.map → listbox-option-tag.BaoiH-Ku.js.map} +1 -1
  199. package/dist/chunks/{modal-fullscreen.Bn8MzG6Z.js → modal-fullscreen.Cg1Q6ERf.js} +64 -93
  200. package/dist/chunks/{modal-fullscreen.Bn8MzG6Z.js.map → modal-fullscreen.Cg1Q6ERf.js.map} +1 -1
  201. package/dist/chunks/{modal.CClQItuJ.js → modal.u-t1CvBr.js} +81 -105
  202. package/dist/chunks/{modal.CClQItuJ.js.map → modal.u-t1CvBr.js.map} +1 -1
  203. package/dist/chunks/{navigation-menu-group.p1-x06nS.js → navigation-menu-group.gNMP4tW4.js} +80 -129
  204. package/dist/chunks/{navigation-menu-group.p1-x06nS.js.map → navigation-menu-group.gNMP4tW4.js.map} +1 -1
  205. package/dist/chunks/{on-click-outside.Cy1eFULD.js → on-click-outside.BgIzQ2G1.js} +32 -33
  206. package/dist/chunks/{on-click-outside.Cy1eFULD.js.map → on-click-outside.BgIzQ2G1.js.map} +1 -1
  207. package/dist/chunks/{pagination.CZVdaeqE.js → pagination.D81XgMQ7.js} +73 -192
  208. package/dist/chunks/pagination.D81XgMQ7.js.map +1 -0
  209. package/dist/chunks/{payment-method.B3CkgsAY.js → payment-method.Clm5dEYh.js} +2 -2
  210. package/dist/chunks/{payment-method.B3CkgsAY.js.map → payment-method.Clm5dEYh.js.map} +1 -1
  211. package/dist/chunks/popover.types.H5Y0rC1r.js +6 -0
  212. package/dist/chunks/{popover.types.BfnJIpII.js.map → popover.types.H5Y0rC1r.js.map} +1 -1
  213. package/dist/chunks/{popper-container.Cb9wuFId.js → popper-container.D08eTt4B.js} +245 -252
  214. package/dist/chunks/{popper-container.Cb9wuFId.js.map → popper-container.D08eTt4B.js.map} +1 -1
  215. package/dist/chunks/{promo-banner.DZ0gerRx.js → promo-banner.BX47zMKh.js} +17 -39
  216. package/dist/chunks/{promo-banner.DZ0gerRx.js.map → promo-banner.BX47zMKh.js.map} +1 -1
  217. package/dist/chunks/{pt-BR.D9FuAQZm.js → pt-BR.ChPOra5s.js} +14 -14
  218. package/dist/chunks/{pt-BR.D9FuAQZm.js.map → pt-BR.ChPOra5s.js.map} +1 -1
  219. package/dist/chunks/{radio-group.DUW2dya4.js → radio-group.Dtx5hOkQ.js} +23 -23
  220. package/dist/chunks/{radio-group.DUW2dya4.js.map → radio-group.Dtx5hOkQ.js.map} +1 -1
  221. package/dist/chunks/{rich-text-editor.CuCPLzUh.js → rich-text-editor.CmVsFJjh.js} +1364 -1416
  222. package/dist/chunks/{rich-text-editor.CuCPLzUh.js.map → rich-text-editor.CmVsFJjh.js.map} +1 -1
  223. package/dist/chunks/scroll-to-section.DhW8SFy0.js +101 -0
  224. package/dist/chunks/scroll-to-section.DhW8SFy0.js.map +1 -0
  225. package/dist/chunks/{search-bar.8iDkgmjw.js → search-bar.CRfYCmkl.js} +15 -48
  226. package/dist/chunks/{search-bar.8iDkgmjw.js.map → search-bar.CRfYCmkl.js.map} +1 -1
  227. package/dist/chunks/secondary-nav.B1Tj7MAA.js +192 -0
  228. package/dist/chunks/{secondary-nav.CmvSHxvS.js.map → secondary-nav.B1Tj7MAA.js.map} +1 -1
  229. package/dist/chunks/{segmented-control.Bkp2Y95s.js → segmented-control.CBc-wx0m.js} +44 -48
  230. package/dist/chunks/{segmented-control.Bkp2Y95s.js.map → segmented-control.CBc-wx0m.js.map} +1 -1
  231. package/dist/chunks/{selection-card-group.EGigQJOW.js → selection-card-group.BaK3Rt4K.js} +91 -96
  232. package/dist/chunks/{selection-card-group.EGigQJOW.js.map → selection-card-group.BaK3Rt4K.js.map} +1 -1
  233. package/dist/chunks/set-time-in-date.BVfkl8K8.js +27 -0
  234. package/dist/chunks/{set-time-in-date.CU7HeZLY.js.map → set-time-in-date.BVfkl8K8.js.map} +1 -1
  235. package/dist/chunks/{sidepanel.yB7YuzVt.js → sidepanel.DeIREn9l.js} +55 -78
  236. package/dist/chunks/{sidepanel.yB7YuzVt.js.map → sidepanel.DeIREn9l.js.map} +1 -1
  237. package/dist/chunks/startOfWeek.muMEhS7U.js +9 -0
  238. package/dist/chunks/{startOfWeek.Br5KM4z_.js.map → startOfWeek.muMEhS7U.js.map} +1 -1
  239. package/dist/chunks/{status.CKb07vxI.js → status.DJ1Dfh5s.js} +2 -2
  240. package/dist/chunks/{status.CKb07vxI.js.map → status.DJ1Dfh5s.js.map} +1 -1
  241. package/dist/chunks/step.DfI11Din.js +221 -0
  242. package/dist/chunks/{step.CIfxl8Wm.js.map → step.DfI11Din.js.map} +1 -1
  243. package/dist/chunks/{structured-list-item.Cnv4Pw5n.js → structured-list-item._7YG2L3a.js} +18 -40
  244. package/dist/chunks/{structured-list-item.Cnv4Pw5n.js.map → structured-list-item._7YG2L3a.js.map} +1 -1
  245. package/dist/chunks/{summary-grid.types.BcIlkfVO.js → summary-grid.types.B_gUEQ0c.js} +45 -50
  246. package/dist/chunks/{summary-grid.types.BcIlkfVO.js.map → summary-grid.types.B_gUEQ0c.js.map} +1 -1
  247. package/dist/chunks/tab.DFk4K9cq.js +229 -0
  248. package/dist/chunks/{tab.N0xGWsfO.js.map → tab.DFk4K9cq.js.map} +1 -1
  249. package/dist/chunks/table-of-contents.CoEnQ9g7.js +104 -0
  250. package/dist/chunks/{table-of-contents.Cf-IrdZl.js.map → table-of-contents.CoEnQ9g7.js.map} +1 -1
  251. package/dist/chunks/{tag.BAyLm485.js → tag.BC7FFENr.js} +4 -4
  252. package/dist/chunks/{tag.BAyLm485.js.map → tag.BC7FFENr.js.map} +1 -1
  253. package/dist/chunks/textarea.Z-VYFZVq.js +176 -0
  254. package/dist/chunks/{textarea.BDRR1zE0.js.map → textarea.Z-VYFZVq.js.map} +1 -1
  255. package/dist/chunks/{timeline-item.QEEIwYMy.js → timeline-item.BGHi_lOY.js} +114 -193
  256. package/dist/chunks/{timeline-item.QEEIwYMy.js.map → timeline-item.BGHi_lOY.js.map} +1 -1
  257. package/dist/chunks/{toast.XPG0vaQB.js → toast.D-jat1Xw.js} +64 -86
  258. package/dist/chunks/{toast.XPG0vaQB.js.map → toast.D-jat1Xw.js.map} +1 -1
  259. package/dist/chunks/{toggle.Ca-MM3dt.js → toggle.BqHWIhqD.js} +4 -4
  260. package/dist/chunks/{toggle.Ca-MM3dt.js.map → toggle.BqHWIhqD.js.map} +1 -1
  261. package/dist/chunks/{tooltip.7ct8WxCl.js → tooltip.D_XsoD_u.js} +68 -70
  262. package/dist/chunks/{tooltip.7ct8WxCl.js.map → tooltip.D_XsoD_u.js.map} +1 -1
  263. package/dist/chunks/truncate.DmCXQmeb.js +8 -0
  264. package/dist/chunks/{truncate.BfIl_-71.js.map → truncate.DmCXQmeb.js.map} +1 -1
  265. package/dist/chunks/{tutorial.bROv3HSx.js → tutorial.BtxKW4ac.js} +80 -173
  266. package/dist/chunks/{tutorial.bROv3HSx.js.map → tutorial.BtxKW4ac.js.map} +1 -1
  267. package/dist/chunks/typography.D1OZJbEa.js +90 -0
  268. package/dist/chunks/typography.D1OZJbEa.js.map +1 -0
  269. package/dist/chunks/{use-bento-delayed-hover.Bz_8EabW.js → use-bento-delayed-hover.D6QjSugc.js} +2 -2
  270. package/dist/chunks/{use-bento-delayed-hover.Bz_8EabW.js.map → use-bento-delayed-hover.D6QjSugc.js.map} +1 -1
  271. package/dist/chunks/{use-bento-toast-controller.CB6Qbf3R.js → use-bento-toast-controller.A5xraVqa.js} +14 -15
  272. package/dist/chunks/{use-bento-toast-controller.CB6Qbf3R.js.map → use-bento-toast-controller.A5xraVqa.js.map} +1 -1
  273. package/dist/chunks/use-country-items.B1KhLbqM.js +30 -0
  274. package/dist/chunks/{use-country-items.CmCRY7QX.js.map → use-country-items.B1KhLbqM.js.map} +1 -1
  275. package/dist/chunks/use-country-phon-code.Cv5YgCOo.js +291 -0
  276. package/dist/chunks/use-country-phon-code.Cv5YgCOo.js.map +1 -0
  277. package/dist/chunks/use-date-input-formatter.DXwvH7B0.js +1629 -0
  278. package/dist/chunks/{use-date-input-formatter.DfQk8_Dw.js.map → use-date-input-formatter.DXwvH7B0.js.map} +1 -1
  279. package/dist/chunks/use-expandable-content-height.Bdd9hQwq.js +34 -0
  280. package/dist/chunks/{use-expandable-content-height.2WJLCL-R.js.map → use-expandable-content-height.Bdd9hQwq.js.map} +1 -1
  281. package/dist/chunks/utils.DWmc2mUI.js +19 -0
  282. package/dist/chunks/{utils.BzUwtTXc.js.map → utils.DWmc2mUI.js.map} +1 -1
  283. package/dist/chunks/{zh-CN.Be4pa3-g.js → zh-CN.ZG6obniO.js} +28 -28
  284. package/dist/chunks/{zh-CN.Be4pa3-g.js.map → zh-CN.ZG6obniO.js.map} +1 -1
  285. package/dist/click-outside.js +1 -1
  286. package/dist/code-snippet.js +1 -1
  287. package/dist/country.js +3 -3
  288. package/dist/currency.js +1 -1
  289. package/dist/dashboard-template.js +1 -1
  290. package/dist/dashed-underline.js +1 -1
  291. package/dist/data-grid-template.js +1 -1
  292. package/dist/data-grid.js +1 -1
  293. package/dist/date-picker.js +2 -2
  294. package/dist/date-range-picker.js +2 -2
  295. package/dist/date-time-picker.js +1 -1
  296. package/dist/date.js +1 -1
  297. package/dist/draggable.js +2 -2
  298. package/dist/drawer.js +1 -1
  299. package/dist/dropdown.js +2 -2
  300. package/dist/empty-state.js +1 -1
  301. package/dist/file-uploader.js +1 -1
  302. package/dist/filter-bar.js +1 -1
  303. package/dist/focus-trap.js +1 -1
  304. package/dist/form-layout.js +2 -2
  305. package/dist/header-with-views.js +1 -1
  306. package/dist/header.js +1 -1
  307. package/dist/index.js +144 -149
  308. package/dist/index.js.map +1 -1
  309. package/dist/info-icon.js +1 -1
  310. package/dist/input-field-password.js +1 -1
  311. package/dist/input-field-phone-number.js +1 -1
  312. package/dist/input-field.js +1 -1
  313. package/dist/input-time.js +1 -1
  314. package/dist/inspector.js +2 -2
  315. package/dist/internal.js +14 -14
  316. package/dist/layout.js +1 -1
  317. package/dist/link.js +1 -1
  318. package/dist/list.js +1 -1
  319. package/dist/menu.js +1 -1
  320. package/dist/modal-fullscreen.js +1 -1
  321. package/dist/modal.js +2 -2
  322. package/dist/navigation-menu.js +1 -1
  323. package/dist/pagination.js +1 -1
  324. package/dist/payment-method.js +1 -1
  325. package/dist/popover.js +2 -2
  326. package/dist/popper-container.js +1 -1
  327. package/dist/promo-banner.js +1 -1
  328. package/dist/radio-group.js +1 -1
  329. package/dist/rich-text-editor.js +1 -1
  330. package/dist/search-bar.js +2 -2
  331. package/dist/secondary-nav.js +1 -1
  332. package/dist/segmented-control.js +1 -1
  333. package/dist/selection-card.js +1 -1
  334. package/dist/sidepanel.js +1 -1
  335. package/dist/status.js +1 -1
  336. package/dist/stepper.js +1 -1
  337. package/dist/structured-list.js +1 -1
  338. package/dist/summary-grid.js +1 -1
  339. package/dist/table-of-contents.js +1 -1
  340. package/dist/tabs.js +1 -1
  341. package/dist/tag.js +1 -1
  342. package/dist/textarea.js +1 -1
  343. package/dist/timeline.js +1 -1
  344. package/dist/toast.js +1 -1
  345. package/dist/toggle.js +1 -1
  346. package/dist/tutorial.js +1 -1
  347. package/dist/typography.js +1 -1
  348. package/dist/use-form-v4.js +331 -341
  349. package/dist/use-form-v4.js.map +1 -1
  350. package/dist/web-types.json +32 -2
  351. package/package.json +11 -11
  352. package/dist/chunks/anchor-scroller.DgC74yeM.js +0 -141
  353. package/dist/chunks/anchor-scroller.DgC74yeM.js.map +0 -1
  354. package/dist/chunks/button-actions-with-menu.DNYoFmV4.js +0 -85
  355. package/dist/chunks/calendar.CvHJ3Geq.js +0 -1247
  356. package/dist/chunks/click-outside.BG01Sm0A.js +0 -23
  357. package/dist/chunks/constructNow.CK0ryPil.js +0 -8
  358. package/dist/chunks/country.types.8GCHsdGN.js +0 -2789
  359. package/dist/chunks/country.types.8GCHsdGN.js.map +0 -1
  360. package/dist/chunks/currency.Dvy9Qjjf.js +0 -126
  361. package/dist/chunks/dashboard-section.D2yqhERq.js +0 -102
  362. package/dist/chunks/data-grid-template.Ifn423Ot.js +0 -111
  363. package/dist/chunks/data-grid.BDXQ_kKQ.js +0 -4121
  364. package/dist/chunks/date-picker.CXZfCxwP.js +0 -252
  365. package/dist/chunks/date-range-picker.BzVQsYk4.js +0 -1295
  366. package/dist/chunks/date-time-picker.DaLATfJp.js +0 -202
  367. package/dist/chunks/differenceInMonths.CpwVtHZX.js +0 -44
  368. package/dist/chunks/draggable.rTa1jcHI.js +0 -196
  369. package/dist/chunks/empty-state.DSVU1vU8.js +0 -106
  370. package/dist/chunks/empty-state.DSVU1vU8.js.map +0 -1
  371. package/dist/chunks/filter-bar.qlViDZPY.js +0 -3754
  372. package/dist/chunks/fixed-scroller.04EUUgD_.js +0 -152
  373. package/dist/chunks/get-slot-text.Bjb9dTSV.js +0 -12
  374. package/dist/chunks/header-meta.CCQVPDU8.js +0 -250
  375. package/dist/chunks/index.B6WW_F-J.js.map +0 -1
  376. package/dist/chunks/input-field-password.Bri9q5EV.js +0 -395
  377. package/dist/chunks/input-field-password.Bri9q5EV.js.map +0 -1
  378. package/dist/chunks/isSameWeek.TrpUOIn5.js +0 -14
  379. package/dist/chunks/list-item.BiJMHR7b.js +0 -226
  380. package/dist/chunks/pagination.CZVdaeqE.js.map +0 -1
  381. package/dist/chunks/popover.types.BfnJIpII.js +0 -6
  382. package/dist/chunks/scroll-to-section.CC5g-HBX.js +0 -111
  383. package/dist/chunks/scroll-to-section.CC5g-HBX.js.map +0 -1
  384. package/dist/chunks/secondary-nav.CmvSHxvS.js +0 -266
  385. package/dist/chunks/set-time-in-date.CU7HeZLY.js +0 -27
  386. package/dist/chunks/startOfWeek.Br5KM4z_.js +0 -10
  387. package/dist/chunks/step.CIfxl8Wm.js +0 -253
  388. package/dist/chunks/tab.N0xGWsfO.js +0 -259
  389. package/dist/chunks/table-of-contents.Cf-IrdZl.js +0 -129
  390. package/dist/chunks/textarea.BDRR1zE0.js +0 -224
  391. package/dist/chunks/truncate.BfIl_-71.js +0 -8
  392. package/dist/chunks/typography.C8lPlsbD.js +0 -87
  393. package/dist/chunks/typography.C8lPlsbD.js.map +0 -1
  394. package/dist/chunks/use-country-items.CmCRY7QX.js +0 -30
  395. package/dist/chunks/use-country-phon-code.BWkb546s.js +0 -6641
  396. package/dist/chunks/use-country-phon-code.BWkb546s.js.map +0 -1
  397. package/dist/chunks/use-date-input-formatter.DfQk8_Dw.js +0 -1732
  398. package/dist/chunks/use-expandable-content-height.2WJLCL-R.js +0 -35
  399. package/dist/chunks/utils.BzUwtTXc.js +0 -21
@@ -1,117 +1,111 @@
1
- import { computed as i, ref as E, onMounted as pt, onUnmounted as ft, watch as ae, defineComponent as z, nextTick as H, toRef as j, useSlots as Ce, useAttrs as Ve, toRefs as Xe, inject as Ue } from "vue";
2
- import { B as ne, d as Pe } from "./typography.C8lPlsbD.js";
3
- import { g as oe } from "./generate-uid.NJ8tVoha.js";
4
- import { u as ie } from "./index.B6WW_F-J.js";
5
- import { s as de } from "./events.BQOQSSb7.js";
6
- import { u as Ze } from "./use-has-slot.C9lQZ6nz.js";
7
- import { C as bt } from "./cross-circle-fill.DTDtgLMf.js";
8
- import { C as mt } from "./cross-circle-fill-small.DfxDedRr.js";
9
- import { n as U } from "./_plugin-vue2_normalizer.CeySl7Fu.js";
10
- import { C as Qe } from "./chevron-down.eYtgv5ly.js";
11
- import { C as et } from "./chevron-up.d8cwIlA_.js";
1
+ import { computed as n, ref as L, onMounted as ct, onUnmounted as dt, watch as Q, defineComponent as F, nextTick as Y, toRef as q, useSlots as Se, useAttrs as Pe, toRefs as je, inject as Fe } from "vue";
2
+ import { B as le, d as Me } from "./typography.D1OZJbEa.js";
3
+ import { g as te } from "./generate-uid.DBWe4g6T.js";
4
+ import { u as ae } from "./index.CPOlyau9.js";
5
+ import { s as ne } from "./events.BQOQSSb7.js";
6
+ import { u as He } from "./use-has-slot.C9lQZ6nz.js";
7
+ import { C as ut } from "./cross-circle-fill.DTDtgLMf.js";
8
+ import { C as pt } from "./cross-circle-fill-small.DfxDedRr.js";
9
+ import { n as V } from "./_plugin-vue2_normalizer.CeySl7Fu.js";
10
+ import { C as Je } from "./chevron-down.eYtgv5ly.js";
11
+ import { C as Xe } from "./chevron-up.d8cwIlA_.js";
12
12
  /* empty css */
13
- import { u as vt } from "./aria-label.CaUURpnB.js";
14
- import { u as yt } from "./form-field.D_2g7vaP.js";
15
- import { u as _t } from "./use-form-layout-loading.CWbjZiwP.js";
16
- import { B as V, a as De } from "./keyboard-navigation.DWmhelVv.js";
17
- import { B as tt } from "./loading-indicator.PxbRzshH.js";
18
- import { B as lt } from "./empty-state.DSVU1vU8.js";
19
- import { o as gt } from "./resize.Bqks3WUm.js";
13
+ import { u as ft } from "./aria-label.CaUURpnB.js";
14
+ import { u as bt } from "./form-field.D_2g7vaP.js";
15
+ import { u as mt } from "./use-form-layout-loading.CWbjZiwP.js";
16
+ import { B as z, a as Te } from "./keyboard-navigation.DWmhelVv.js";
17
+ import { B as Ze } from "./loading-indicator.PxbRzshH.js";
18
+ import { B as Qe } from "./empty-state.fziM-yAC.js";
19
+ import { o as vt } from "./resize.Bqks3WUm.js";
20
20
  import "./index.Cl4_42j5.js";
21
- import { C as Ae, N as ht } from "./minus-small.DJacLGTw.js";
22
- import { C as St } from "./checkmark-small.DVDtD4HQ.js";
23
- import { B as xt } from "./chip.DHmRHsL2.js";
24
- import { b as ke, a as Ct, h as Ot, e as Lt } from "./button-actions.Dpbx0xf3.js";
25
- import { B as Et } from "./directive.BBWhsNtO.js";
26
- import { F as It } from "./field-label.DjJ7wdFi.js";
27
- import { E as wt } from "./error-message.Hqp_VvD3.js";
28
- import { P as Ke } from "./popper-container.Cb9wuFId.js";
21
+ import { C as Ee, N as yt } from "./minus-small.DJacLGTw.js";
22
+ import { C as _t } from "./checkmark-small.DVDtD4HQ.js";
23
+ import { B as gt } from "./chip.wgEnbEPw.js";
24
+ import { b as we, a as ht, h as St, e as xt } from "./button-actions.CxX7lK7z.js";
25
+ import { B as Ct } from "./directive.D1-d-C2K.js";
26
+ import { F as Lt } from "./field-label.CgdTst2l.js";
27
+ import { E as Ot } from "./error-message.BEHBfjmn.js";
28
+ import { P as Ge } from "./popper-container.D08eTt4B.js";
29
29
  import "../assets/dropdown.css";
30
- const at = (a, e, l, t) => {
31
- const s = i(
32
- () => {
33
- var r, v;
34
- return !!((r = a.value) != null && r.length) && ((v = a.value) == null ? void 0 : v.length) === e.value.length;
35
- }
36
- ), o = i(() => {
37
- var r;
38
- return a.value == null || a.value.length === 0 ? !1 : ((r = a.value) == null ? void 0 : r.length) !== e.value.length;
39
- });
30
+ const et = (a, e, l, t) => {
31
+ const s = n(
32
+ () => !!a.value?.length && a.value?.length === e.value.length
33
+ ), o = n(() => a.value == null || a.value.length === 0 ? !1 : a.value?.length !== e.value.length);
40
34
  return {
41
35
  isAllSelected: s,
42
36
  isIndeterminate: o,
43
- toggleSelectAll: (r) => {
44
- r ? l() : t();
37
+ toggleSelectAll: (p) => {
38
+ p ? l() : t();
45
39
  }
46
40
  };
47
41
  };
48
- function Tt(a, { disabled: e, itemHeight: l, overscan: t = 5, prefixHeight: s }) {
49
- const o = E(null), n = E([]), r = E(0), v = E(0), d = E(0);
50
- let c;
51
- const _ = i(() => {
52
- const h = typeof l == "number" ? a.value.length * l : a.value.reduce((R, A, k) => R + l(k), 0), T = typeof l == "number" ? r.value * l : a.value.slice(0, r.value).reduce((R, A, k) => R + l(k), 0);
42
+ function It(a, { disabled: e, itemHeight: l, overscan: t = 5, prefixHeight: s }) {
43
+ const o = L(null), i = L([]), p = L(0), _ = L(0), c = L(0);
44
+ let r;
45
+ const m = n(() => {
46
+ const v = typeof l == "number" ? a.value.length * l : a.value.reduce((D, A, w) => D + l(w), 0), I = typeof l == "number" ? p.value * l : a.value.slice(0, p.value).reduce((D, A, w) => D + l(w), 0);
53
47
  return {
54
48
  style: {
55
- marginTop: `${T}px`,
56
- height: `${h - T}px`
49
+ marginTop: `${I}px`,
50
+ height: `${v - I}px`
57
51
  }
58
52
  };
59
- }), b = () => {
60
- const h = (s == null ? void 0 : s.value) ?? 0, T = Math.max(o.value.scrollTop - h, 0);
53
+ }), u = () => {
54
+ const v = s?.value ?? 0, I = Math.max(o.value.scrollTop - v, 0);
61
55
  if (typeof l == "number")
62
- return Math.floor(T / l);
63
- let R = 0, A = 0;
64
- for (let k = 0; k < a.value.length; k += 1) {
65
- const D = l(k);
66
- if (R += D, R >= T) {
67
- A = k;
56
+ return Math.floor(I / l);
57
+ let D = 0, A = 0;
58
+ for (let w = 0; w < a.value.length; w += 1) {
59
+ const T = l(w);
60
+ if (D += T, D >= I) {
61
+ A = w;
68
62
  break;
69
63
  }
70
64
  }
71
65
  return A;
72
- }, p = () => {
73
- if (d.value = o.value.clientHeight, typeof l == "number")
74
- return Math.ceil(d.value / l);
75
- const h = r.value ?? 0;
76
- let T = 0, R = 0;
77
- for (let A = h; A < a.value.length; A += 1) {
78
- const k = l(A);
79
- if (T += k, R = A, T > d.value)
66
+ }, b = () => {
67
+ if (c.value = o.value.clientHeight, typeof l == "number")
68
+ return Math.ceil(c.value / l);
69
+ const v = p.value ?? 0;
70
+ let I = 0, D = 0;
71
+ for (let A = v; A < a.value.length; A += 1) {
72
+ const w = l(A);
73
+ if (I += w, D = A, I > c.value)
80
74
  break;
81
75
  }
82
- return R - h;
83
- }, C = () => {
76
+ return D - v;
77
+ }, x = () => {
84
78
  if (o.value) {
85
- const h = p();
86
- r.value = b(), v.value = Math.min(r.value + h + t, a.value.length), n.value = a.value.slice(r.value, v.value);
79
+ const v = b();
80
+ p.value = u(), _.value = Math.min(p.value + v + t, a.value.length), i.value = a.value.slice(p.value, _.value);
87
81
  }
88
- }, x = () => {
89
- C();
82
+ }, g = () => {
83
+ x();
90
84
  };
91
- e || (pt(() => {
92
- o.value && (d.value = o.value.clientHeight, c = gt(o.value, ({ clientHeight: h }) => {
93
- d.value = h, C();
94
- }), C());
95
- }), ft(() => {
96
- c == null || c.disconnect();
97
- }), ae(
85
+ e || (ct(() => {
86
+ o.value && (c.value = o.value.clientHeight, r = vt(o.value, ({ clientHeight: v }) => {
87
+ c.value = v, x();
88
+ }), x());
89
+ }), dt(() => {
90
+ r?.disconnect();
91
+ }), Q(
98
92
  () => a.value,
99
93
  () => {
100
- C();
94
+ x();
101
95
  }
102
96
  ));
103
- const N = {
97
+ const M = {
104
98
  ref: o,
105
99
  style: { overflowY: "auto" }
106
- }, M = (h) => {
100
+ }, B = (v) => {
107
101
  if (!o.value)
108
102
  return;
109
- const T = typeof l == "number" ? h * l : a.value.slice(0, h).reduce((K, g, B) => K + l(B), 0), R = typeof l == "number" ? l : l(h), A = T + R, { scrollTop: k, clientHeight: D } = o.value, G = k + D;
110
- A > G ? o.value.scrollTop = D > 0 ? A - D : T : T < k && (o.value.scrollTop = T), C();
103
+ const I = typeof l == "number" ? v * l : a.value.slice(0, v).reduce((U, h, R) => U + l(R), 0), D = typeof l == "number" ? l : l(v), A = I + D, { scrollTop: w, clientHeight: T } = o.value, G = w + T;
104
+ A > G ? o.value.scrollTop = T > 0 ? A - T : I : I < w && (o.value.scrollTop = I), x();
111
105
  };
112
106
  return e ? {
113
107
  containerRef: o,
114
- containerProps: N,
108
+ containerProps: M,
115
109
  // eslint-disable-next-line @typescript-eslint/no-empty-function
116
110
  onScroll: () => {
117
111
  },
@@ -119,22 +113,22 @@ function Tt(a, { disabled: e, itemHeight: l, overscan: t = 5, prefixHeight: s })
119
113
  // eslint-disable-next-line @typescript-eslint/no-empty-function
120
114
  scrollToIndex: () => {
121
115
  },
122
- startIndex: E(0)
116
+ startIndex: L(0)
123
117
  } : {
124
118
  containerRef: o,
125
- containerProps: N,
126
- onScroll: x,
127
- list: n,
128
- wrapperProps: _,
129
- scrollToIndex: M,
130
- startIndex: r
119
+ containerProps: M,
120
+ onScroll: g,
121
+ list: i,
122
+ wrapperProps: m,
123
+ scrollToIndex: B,
124
+ startIndex: p
131
125
  };
132
126
  }
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 || {}), le = /* @__PURE__ */ ((a) => (a.AUTOMATIC = "automatic", a.BUTTON = "button", a.NONE = "none", a))(le || {});
134
- const At = z({
127
+ 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 || {}), Z = /* @__PURE__ */ ((a) => (a.AUTOMATIC = "automatic", a.BUTTON = "button", a.NONE = "none", a))(Z || {});
128
+ const Et = F({
135
129
  name: "bento-listbox-static-category",
136
130
  components: {
137
- BentoTypography: ne
131
+ BentoTypography: le
138
132
  },
139
133
  props: {
140
134
  /**
@@ -146,18 +140,18 @@ const At = z({
146
140
  }
147
141
  }
148
142
  });
149
- var kt = function() {
143
+ var wt = function() {
150
144
  var e = this, l = e._self._c;
151
145
  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
- }, Dt = [], Bt = /* @__PURE__ */ U(
153
- At,
154
- kt,
155
- Dt,
146
+ }, Tt = [], At = /* @__PURE__ */ V(
147
+ Et,
148
+ wt,
149
+ Tt,
156
150
  !1,
157
151
  null,
158
152
  "bfbc1649"
159
153
  );
160
- const Rt = Bt.exports, Mt = z({
154
+ const kt = At.exports, Dt = F({
161
155
  name: "bento-listbox-option",
162
156
  props: {
163
157
  /**
@@ -169,29 +163,29 @@ const Rt = Bt.exports, Mt = z({
169
163
  */
170
164
  selected: { type: Boolean, default: !1 }
171
165
  },
172
- emits: [u.CLICK, u.ENTER, u.SPACE, u.TAB],
166
+ emits: [d.CLICK, d.ENTER, d.SPACE, d.TAB],
173
167
  setup(a, { emit: e }) {
174
- const l = i(() => ({
168
+ const l = n(() => ({
175
169
  "b-listbox-option--disabled": a.disabled,
176
170
  "b-listbox-option--selected": a.selected
177
171
  }));
178
172
  return {
179
173
  // Enums
180
- BentoKeyboardNavigationKeyDownEvent: V,
181
- BentoListboxEvent: u,
174
+ BentoKeyboardNavigationKeyDownEvent: z,
175
+ BentoListboxEvent: d,
182
176
  // Values
183
177
  conditionalClasses: l,
184
178
  // Events
185
179
  onClick: (o) => {
186
- e(u.CLICK, o);
180
+ e(d.CLICK, o);
187
181
  },
188
- onOptionSelected: (o, n) => {
189
- e(o, n);
182
+ onOptionSelected: (o, i) => {
183
+ e(o, i);
190
184
  }
191
185
  };
192
186
  }
193
187
  });
194
- var Nt = function() {
188
+ var Bt = function() {
195
189
  var e = this, l = e._self._c;
196
190
  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
191
  return !t.type.indexOf("key") && e._k(t.keyCode, "enter", 13, t.key, "Enter") ? null : e.onOptionSelected(e.BentoListboxEvent.ENTER, t);
@@ -200,38 +194,38 @@ var Nt = function() {
200
194
  }, function(t) {
201
195
  return !t.type.indexOf("key") && e._k(t.keyCode, "tab", 9, t.key, "Tab") ? null : e.onOptionSelected(e.BentoListboxEvent.TAB, t);
202
196
  }] } }, "div", e.$attrs, !1), [e._t("default")], 2);
203
- }, $t = [], Pt = /* @__PURE__ */ U(
204
- Mt,
205
- Nt,
206
- $t,
197
+ }, Rt = [], Mt = /* @__PURE__ */ V(
198
+ Dt,
199
+ Bt,
200
+ Rt,
207
201
  !1,
208
202
  null,
209
203
  "c345b6c0"
210
204
  );
211
- const Be = Pt.exports;
212
- let qe = 0;
213
- const Ft = {
205
+ const Ae = Mt.exports;
206
+ let Ue = 0;
207
+ const Nt = {
214
208
  beforeCreate() {
215
- this.uuid = qe.toString(), qe += 1;
209
+ this.uuid = Ue.toString(), Ue += 1;
216
210
  }
217
211
  };
218
- var zt = function() {
212
+ var $t = function() {
219
213
  var e = this, l = e._self._c;
220
214
  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
- }, Vt = [], Ut = /* @__PURE__ */ U(
222
- Ft,
223
- zt,
224
- Vt,
215
+ }, Pt = [], Ft = /* @__PURE__ */ V(
216
+ Nt,
217
+ $t,
218
+ Pt,
225
219
  !1,
226
220
  null,
227
221
  null
228
222
  );
229
- const Gt = Ut.exports, Wt = z({
223
+ const zt = Ft.exports, Vt = F({
230
224
  name: "bento-listbox-single-select-option",
231
225
  components: {
232
- BentoListboxOption: Be,
233
- BentoTypography: ne,
234
- CheckmarkIcon: Gt
226
+ BentoListboxOption: Ae,
227
+ BentoTypography: le,
228
+ CheckmarkIcon: zt
235
229
  },
236
230
  props: {
237
231
  /**
@@ -251,24 +245,24 @@ const Gt = Ut.exports, Wt = z({
251
245
  */
252
246
  selected: { type: Boolean, default: !1 }
253
247
  },
254
- emits: [u.ENTER, u.SELECT, u.SPACE, u.TAB],
248
+ emits: [d.ENTER, d.SELECT, d.SPACE, d.TAB],
255
249
  setup(a, { emit: e }) {
256
- const l = (n) => {
257
- a.disabled || e(n, a.option);
258
- }, t = i(() => a.disabled ? !0 : null), s = i(() => a.selected ? !0 : null), o = i(() => a.disabled ? -1 : 0);
250
+ const l = (i) => {
251
+ a.disabled || e(i, a.option);
252
+ }, t = n(() => a.disabled ? !0 : null), s = n(() => a.selected ? !0 : null), o = n(() => a.disabled ? -1 : 0);
259
253
  return {
260
254
  // Values
261
255
  ariaDisabled: t,
262
256
  ariaSelected: s,
263
257
  tabIndex: o,
264
258
  // Enums
265
- BentoListboxEvent: u,
259
+ BentoListboxEvent: d,
266
260
  // Events
267
261
  onOptionSelected: l
268
262
  };
269
263
  }
270
264
  });
271
- var Kt = function() {
265
+ var Gt = function() {
272
266
  var e = this, l = e._self._c;
273
267
  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
268
  return e.onOptionSelected(e.BentoListboxEvent.SELECT);
@@ -281,17 +275,17 @@ var Kt = function() {
281
275
  } } }, [e._t("default", function() {
282
276
  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
277
  }, 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
- }, qt = [], Yt = /* @__PURE__ */ U(
285
- Wt,
286
- Kt,
287
- qt,
278
+ }, Ut = [], Wt = /* @__PURE__ */ V(
279
+ Vt,
280
+ Gt,
281
+ Ut,
288
282
  !1,
289
283
  null,
290
284
  "bb14d75a"
291
285
  );
292
- const jt = Yt.exports, st = ({ items: a, totalItemCount: e }, l) => {
293
- const t = i(() => e != null && e.value ? e.value - 1 : a.value.length - 1), s = E(0), o = (p) => {
294
- switch (p) {
286
+ const Kt = Wt.exports, tt = ({ items: a, totalItemCount: e }, l) => {
287
+ const t = n(() => e?.value ? e.value - 1 : a.value.length - 1), s = L(0), o = (b) => {
288
+ switch (b) {
295
289
  case "increase":
296
290
  s.value += 1;
297
291
  break;
@@ -299,54 +293,53 @@ const jt = Yt.exports, st = ({ items: a, totalItemCount: e }, l) => {
299
293
  s.value -= 1;
300
294
  break;
301
295
  }
302
- }, n = ({ edgeCaseItem: p }, C) => {
303
- s.value !== p && (o(C), l(s.value));
304
- }, r = (p) => {
305
- b(p), n(
296
+ }, i = ({ edgeCaseItem: b }, x) => {
297
+ s.value !== b && (o(x), l(s.value));
298
+ }, p = (b) => {
299
+ u(b), i(
306
300
  {
307
301
  edgeCaseItem: t.value
308
302
  },
309
303
  "increase"
310
304
  /* INCREASE */
311
305
  );
312
- }, v = (p) => {
313
- b(p), n(
306
+ }, _ = (b) => {
307
+ u(b), i(
314
308
  {
315
309
  edgeCaseItem: 0
316
310
  },
317
311
  "decrease"
318
312
  /* DECREASE */
319
313
  );
320
- }, d = (p) => {
321
- b(p), s.value = 0, l(s.value);
322
- }, c = (p) => {
323
- b(p), s.value = t.value, l(s.value);
324
- }, _ = (p) => {
325
- s.value = p;
326
- }, b = (p) => {
327
- var C, x;
328
- (C = p == null ? void 0 : p.detail) == null || C.preventDefault(), (x = p == null ? void 0 : p.detail) == null || x.stopPropagation();
314
+ }, c = (b) => {
315
+ u(b), s.value = 0, l(s.value);
316
+ }, r = (b) => {
317
+ u(b), s.value = t.value, l(s.value);
318
+ }, m = (b) => {
319
+ s.value = b;
320
+ }, u = (b) => {
321
+ b?.detail?.preventDefault(), b?.detail?.stopPropagation();
329
322
  };
330
323
  return {
331
- moveToFirstElement: d,
332
- moveToLastElement: c,
333
- moveToNextElement: r,
334
- moveToPreviousElement: v,
335
- setListboxFocusedIndex: _,
336
- preventDefault: b,
324
+ moveToFirstElement: c,
325
+ moveToLastElement: r,
326
+ moveToNextElement: p,
327
+ moveToPreviousElement: _,
328
+ setListboxFocusedIndex: m,
329
+ preventDefault: u,
337
330
  focusedIndex: s
338
331
  };
339
- }, Ge = (a, e, l = E("option"), t = !0) => {
340
- const s = E([]), o = async () => {
332
+ }, ze = (a, e, l = L("option"), t = !0) => {
333
+ const s = L([]), o = async () => {
341
334
  if (!a.value || a.value.nodeType === Node.COMMENT_NODE)
342
335
  return;
343
- const n = Array.from(a.value.querySelectorAll(`[role="${l.value}"]`));
344
- s.value = t ? n.filter((r) => r.checkVisibility()) : n;
336
+ const i = Array.from(a.value.querySelectorAll(`[role="${l.value}"]`));
337
+ s.value = t ? i.filter((p) => p.checkVisibility()) : i;
345
338
  };
346
- return ae(
339
+ return Q(
347
340
  e,
348
341
  () => {
349
- H(() => {
342
+ Y(() => {
350
343
  o();
351
344
  });
352
345
  },
@@ -355,13 +348,13 @@ const jt = Yt.exports, st = ({ items: a, totalItemCount: e }, l) => {
355
348
  visibleDomOptions: s,
356
349
  updateVisibleDomOptions: o
357
350
  };
358
- }, Ht = z({
351
+ }, qt = F({
359
352
  name: "bento-listbox-single-select",
360
353
  components: {
361
- BentoListboxSingleSelectCategory: Rt,
362
- BentoListboxSingleSelectOption: jt
354
+ BentoListboxSingleSelectCategory: kt,
355
+ BentoListboxSingleSelectOption: Kt
363
356
  },
364
- directives: { BentoKeyboardNavigationDirective: De },
357
+ directives: { BentoKeyboardNavigationDirective: Te },
365
358
  inheritAttrs: !1,
366
359
  props: {
367
360
  /**
@@ -415,170 +408,163 @@ const jt = Yt.exports, st = ({ items: a, totalItemCount: e }, l) => {
415
408
  */
416
409
  virtualScrollStartIndex: { type: Number, default: 0 }
417
410
  },
418
- emits: [u.SELECT, u.ENTER, u.SPACE, u.TAB],
411
+ emits: [d.SELECT, d.ENTER, d.SPACE, d.TAB],
419
412
  setup(a, { emit: e, expose: l, slots: t, attrs: s }) {
420
- const o = E(), n = E([]), r = i(() => {
421
- var g;
422
- return !!((g = a.selectedValue) != null && g.length) && a.selectedValue.at(0);
423
- }), v = i(
424
- () => {
425
- var g, B, L, m;
426
- return {
427
- "aria-label": (g = s["aria-label"]) == null ? void 0 : g.toString(),
428
- "aria-busy": (B = s["aria-busy"]) == null ? void 0 : B.toString(),
429
- "aria-atomic": (L = s["aria-atomic"]) == null ? void 0 : L.toString(),
430
- "aria-live": (m = s["aria-live"]) == null ? void 0 : m.toString()
431
- };
432
- }
433
- ), d = i(() => !!a.items.some(({ items: g }) => !!g)), c = (g) => (B) => {
434
- e(g, [B]);
435
- }, { visibleDomOptions: _, updateVisibleDomOptions: b } = Ge(
413
+ const o = L(), i = L([]), p = n(() => !!a.selectedValue?.length && a.selectedValue.at(0)), _ = n(
414
+ () => ({
415
+ "aria-label": s["aria-label"]?.toString(),
416
+ "aria-busy": s["aria-busy"]?.toString(),
417
+ "aria-atomic": s["aria-atomic"]?.toString(),
418
+ "aria-live": s["aria-live"]?.toString()
419
+ })
420
+ ), c = n(() => !!a.items.some(({ items: h }) => !!h)), r = (h) => (R) => {
421
+ e(h, [R]);
422
+ }, { visibleDomOptions: m, updateVisibleDomOptions: u } = ze(
436
423
  o,
437
- j(a, "items"),
438
- E("option"),
424
+ q(a, "items"),
425
+ L("option"),
439
426
  !1
440
- ), p = i(() => a.totalItemCount > 0), C = (g) => {
441
- if (!p.value)
427
+ ), b = n(() => a.totalItemCount > 0), x = (h) => {
428
+ if (!b.value)
442
429
  return;
443
- const B = g.target;
444
- if (B === o.value || (B == null ? void 0 : B.getAttribute("role")) !== "option")
430
+ const R = h.target;
431
+ if (R === o.value || R?.getAttribute("role") !== "option")
445
432
  return;
446
- const L = _.value.indexOf(B);
447
- if (L !== -1) {
448
- const m = L + a.virtualScrollStartIndex;
449
- D(m);
433
+ const k = m.value.indexOf(R);
434
+ if (k !== -1) {
435
+ const y = k + a.virtualScrollStartIndex;
436
+ T(y);
450
437
  }
451
- }, x = async (g) => {
452
- var B, L;
453
- if (p.value && a.scrollToIndex) {
454
- a.scrollToIndex(g), await H(), await b();
455
- const m = g - a.virtualScrollStartIndex;
456
- (B = _.value[m]) == null || B.focus();
438
+ }, g = async (h) => {
439
+ if (b.value && a.scrollToIndex) {
440
+ a.scrollToIndex(h), await Y(), await u();
441
+ const R = h - a.virtualScrollStartIndex;
442
+ m.value[R]?.focus();
457
443
  } else
458
- (L = _.value[g]) == null || L.focus();
459
- }, N = async (g) => {
460
- D(g), await x(g);
461
- }, M = (g, B) => {
462
- if (!g || !B)
444
+ m.value[h]?.focus();
445
+ }, M = async (h) => {
446
+ T(h), await g(h);
447
+ }, B = (h, R) => {
448
+ if (!h || !R)
463
449
  return;
464
- const L = g.getBoundingClientRect(), m = B, I = m.getBoundingClientRect();
465
- L.top < I.top ? m.scrollTop -= I.top - L.top : L.bottom > I.bottom && (m.scrollTop += L.bottom - I.bottom);
466
- }, h = async (g, B) => {
467
- await b(), p.value && a.scrollToIndex ? a.scrollToIndex(g) : M(_.value[g], B);
450
+ const k = h.getBoundingClientRect(), y = R, P = y.getBoundingClientRect();
451
+ k.top < P.top ? y.scrollTop -= P.top - k.top : k.bottom > P.bottom && (y.scrollTop += k.bottom - P.bottom);
452
+ }, v = async (h, R) => {
453
+ await u(), b.value && a.scrollToIndex ? a.scrollToIndex(h) : B(m.value[h], R);
468
454
  }, {
469
- moveToNextElement: T,
470
- moveToPreviousElement: R,
455
+ moveToNextElement: I,
456
+ moveToPreviousElement: D,
471
457
  moveToFirstElement: A,
472
- moveToLastElement: k,
473
- setListboxFocusedIndex: D
474
- } = st(
458
+ moveToLastElement: w,
459
+ setListboxFocusedIndex: T
460
+ } = tt(
475
461
  {
476
- items: _,
477
- totalItemCount: j(a, "totalItemCount")
462
+ items: m,
463
+ totalItemCount: q(a, "totalItemCount")
478
464
  },
479
- x
465
+ g
480
466
  ), G = {
481
- [V.ARROW_UP]: R,
482
- [V.ARROW_DOWN]: T,
483
- [V.HOME]: A,
484
- [V.END]: k
485
- }, K = {
486
- [u.SELECT]: c(u.SELECT),
487
- [u.SPACE]: c(u.SPACE),
488
- [u.TAB]: c(u.TAB),
489
- [u.ENTER]: c(u.ENTER)
467
+ [z.ARROW_UP]: D,
468
+ [z.ARROW_DOWN]: I,
469
+ [z.HOME]: A,
470
+ [z.END]: w
471
+ }, U = {
472
+ [d.SELECT]: r(d.SELECT),
473
+ [d.SPACE]: r(d.SPACE),
474
+ [d.TAB]: r(d.TAB),
475
+ [d.ENTER]: r(d.ENTER)
490
476
  };
491
477
  return l({
492
478
  /**
493
479
  * Reference for a single listbox item.
494
480
  * Required for keyboard navigation in dropdown as $children is removed in vue@3
495
481
  */
496
- listboxItemRef: n,
482
+ listboxItemRef: i,
497
483
  /**
498
484
  * Method to set the index of the item to be focused on
499
485
  * Used for focus management to be kept in-sync with parent e.g. dropdowns
500
486
  */
501
- setListboxFocusedIndex: D,
487
+ setListboxFocusedIndex: T,
502
488
  /**
503
489
  * Navigates to an item by global index, handling virtual scroll if enabled.
504
490
  * Scrolls the virtual list and focuses the item.
505
491
  */
506
- navigateToItem: N,
492
+ navigateToItem: M,
507
493
  /**
508
494
  * Scrolls to an item by global index without changing focus.
509
495
  * Used when the dropdown opens via click to bring the selected option into view.
510
496
  */
511
- scrollToItem: h
497
+ scrollToItem: v
512
498
  }), {
513
499
  // Enums
514
- BentoListboxEvent: u,
500
+ BentoListboxEvent: d,
515
501
  // Values
516
502
  listboxRef: o,
517
- listboxItemRef: n,
518
- selectedItem: r,
503
+ listboxItemRef: i,
504
+ selectedItem: p,
519
505
  slots: t,
520
- ariaAttributes: v,
506
+ ariaAttributes: _,
521
507
  // Computed
522
- hasCategories: d,
508
+ hasCategories: c,
523
509
  // Methods
524
- onOptionSelected: c,
510
+ onOptionSelected: r,
525
511
  // Keyboard navigation
526
512
  listboxListeners: G,
527
- listboxOptionListeners: K,
513
+ listboxOptionListeners: U,
528
514
  // Virtual scroll focus management
529
- handleVirtualScrollingFocus: C
515
+ handleVirtualScrollingFocus: x
530
516
  };
531
517
  }
532
518
  });
533
- var Jt = function() {
519
+ var Yt = function() {
534
520
  var e = this, l = e._self._c;
535
521
  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) {
536
522
  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) {
537
- return l("bento-listbox-single-select-option", e._g({ key: s.value, ref: "listboxItemRef", refInFor: !0, attrs: { role: "option", option: s, disabled: e.isOptionDisabled ? e.isOptionDisabled(s) : null, selected: s.value === e.selectedItem.value }, scopedSlots: e._u([e._l(e.slots, function(o, n) {
538
- return { key: n, fn: function(r) {
539
- return [e._t(n, null, null, r)];
523
+ return l("bento-listbox-single-select-option", e._g({ key: s.value, ref: "listboxItemRef", refInFor: !0, attrs: { role: "option", option: s, disabled: e.isOptionDisabled ? e.isOptionDisabled(s) : null, selected: s.value === e.selectedItem.value }, scopedSlots: e._u([e._l(e.slots, function(o, i) {
524
+ return { key: i, fn: function(p) {
525
+ return [e._t(i, null, null, p)];
540
526
  } };
541
527
  })], null, !0) }, e.listboxOptionListeners));
542
528
  }), 1) : l("bento-listbox-single-select-option", e._g({ key: `option-${t.value}`, ref: "listboxItemRef", refInFor: !0, attrs: { role: "option", option: t, disabled: e.isOptionDisabled ? e.isOptionDisabled(t) : null, selected: t.value === e.selectedItem.value }, scopedSlots: e._u([e._l(e.slots, function(s, o) {
543
- return { key: o, fn: function(n) {
544
- return [e._t(o, null, null, n)];
529
+ return { key: o, fn: function(i) {
530
+ return [e._t(o, null, null, i)];
545
531
  } };
546
532
  })], null, !0) }, e.listboxOptionListeners))];
547
533
  })] : e._l(e.items, function(t) {
548
534
  return l("bento-listbox-single-select-option", e._g({ key: t.value, ref: "listboxItemRef", refInFor: !0, attrs: { role: "option", option: t, disabled: e.isOptionDisabled ? e.isOptionDisabled(t) : null, selected: t.value === e.selectedItem.value }, scopedSlots: e._u([e._l(e.slots, function(s, o) {
549
- return { key: o, fn: function(n) {
550
- return [e._t(o, null, null, n)];
535
+ return { key: o, fn: function(i) {
536
+ return [e._t(o, null, null, i)];
551
537
  } };
552
538
  })], null, !0) }, e.listboxOptionListeners));
553
539
  })], 2);
554
- }, Xt = [], Zt = /* @__PURE__ */ U(
555
- Ht,
556
- Jt,
557
- Xt,
540
+ }, jt = [], Ht = /* @__PURE__ */ V(
541
+ qt,
542
+ Yt,
543
+ jt,
558
544
  !1,
559
545
  null,
560
546
  null
561
547
  );
562
- const Qt = Zt.exports;
563
- let Ye = 0;
564
- const el = {
548
+ const Jt = Ht.exports;
549
+ let We = 0;
550
+ const Xt = {
565
551
  beforeCreate() {
566
- this.uuid = Ye.toString(), Ye += 1;
552
+ this.uuid = We.toString(), We += 1;
567
553
  }
568
554
  };
569
- var tl = function() {
555
+ var Zt = function() {
570
556
  var e = this, l = e._self._c;
571
557
  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" } })]);
572
- }, ll = [], al = /* @__PURE__ */ U(
573
- el,
574
- tl,
575
- ll,
558
+ }, Qt = [], el = /* @__PURE__ */ V(
559
+ Xt,
560
+ Zt,
561
+ Qt,
576
562
  !1,
577
563
  null,
578
564
  null
579
565
  );
580
- const sl = al.exports, ol = {}, nl = /* @__PURE__ */ z({
581
- ...ol,
566
+ const tl = el.exports, ll = {}, al = /* @__PURE__ */ F({
567
+ ...ll,
582
568
  __name: "decorative-checkbox",
583
569
  props: {
584
570
  disabled: { type: Boolean, default: !1 },
@@ -587,79 +573,46 @@ const sl = al.exports, ol = {}, nl = /* @__PURE__ */ z({
587
573
  allSelected: { type: Boolean, default: !1 }
588
574
  },
589
575
  setup(a) {
590
- const e = a, l = i(() => ({
591
- [`b-checkbox-input--${Ae.DISABLED}`]: e.disabled
592
- })), t = i(() => ({
593
- [`b-checkbox-input__outline--${Ae.UNCHECKED}`]: !e.checked && !e.indeterminate && !e.allSelected,
594
- [`b-checkbox-input__outline--${Ae.CHECKED}`]: (e.checked || e.allSelected) && !e.indeterminate,
595
- [`b-checkbox-input__outline--${Ae.INDETERMINATE}`]: e.indeterminate
576
+ const e = a, l = n(() => ({
577
+ [`b-checkbox-input--${Ee.DISABLED}`]: e.disabled
578
+ })), t = n(() => ({
579
+ [`b-checkbox-input__outline--${Ee.UNCHECKED}`]: !e.checked && !e.indeterminate && !e.allSelected,
580
+ [`b-checkbox-input__outline--${Ee.CHECKED}`]: (e.checked || e.allSelected) && !e.indeterminate,
581
+ [`b-checkbox-input__outline--${Ee.INDETERMINATE}`]: e.indeterminate
596
582
  }));
597
- return { __sfc: !0, props: e, conditionalClasses: l, outlineConditionalClasses: t, CheckmarkSmallIcon: St, MinusSmallIcon: ht, DoubleCheckmarkSmallIcon: sl };
583
+ return { __sfc: !0, props: e, conditionalClasses: l, outlineConditionalClasses: t, CheckmarkSmallIcon: _t, MinusSmallIcon: yt, DoubleCheckmarkSmallIcon: tl };
598
584
  }
599
585
  });
600
- var il = function() {
586
+ var sl = function() {
601
587
  var e = this, l = e._self._c, t = e._self._setupProxy;
602
588
  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);
603
- }, rl = [], cl = /* @__PURE__ */ U(
604
- nl,
605
- il,
606
- rl,
589
+ }, ol = [], nl = /* @__PURE__ */ V(
590
+ al,
591
+ sl,
592
+ ol,
607
593
  !1,
608
594
  null,
609
595
  "b87bbaf9"
610
596
  );
611
- const We = cl.exports;
612
- var ot = /* @__PURE__ */ ((a) => (a.DISABLED = "disabled", a.STATIC_CATEGORY = "static-category", a))(ot || {}), ce = /* @__PURE__ */ ((a) => (a.SELECT_CATEGORY = "select-category", a.UNSELECT_CATEGORY = "unselect-category", a.TOGGLE_CATEGORY_VISIBILITY = "toggle-category-visibility", a))(ce || {});
613
- const dl = {
614
- "de-DE": {
615
- loading: "Laden",
616
- showMore: "Mehr anzeigen"
617
- },
618
- "en-GB": {
619
- loading: "Loading",
620
- showMore: "Show more"
621
- },
622
- "en-US": {
623
- loading: "Loading",
624
- showMore: "Show more"
625
- },
626
- "es-419": {
627
- loading: "Cargando",
628
- showMore: "Mostrar más"
629
- },
630
- "es-ES": {
631
- loading: "Cargando",
632
- showMore: "Mostrar más"
633
- },
634
- "es-MX": {
635
- loading: "Cargando",
636
- showMore: "Mostrar más"
637
- },
638
- "fr-FR": {
639
- loading: "Chargement",
640
- showMore: "Afficher plus"
641
- },
642
- "it-IT": {
643
- loading: "Caricamento",
644
- showMore: "Mostra di più"
645
- },
646
- "ja-JP": {
647
- loading: "読み込み中",
648
- showMore: "さらに表示"
649
- },
650
- "pt-BR": {
651
- loading: "Carregando",
652
- showMore: "Mostrar mais"
653
- },
654
- "zh-CN": {
655
- loading: "正在加载",
656
- showMore: "显示更多"
657
- }
658
- }, ul = {
597
+ const Ve = nl.exports;
598
+ var lt = /* @__PURE__ */ ((a) => (a.DISABLED = "disabled", a.STATIC_CATEGORY = "static-category", a))(lt || {}), oe = /* @__PURE__ */ ((a) => (a.SELECT_CATEGORY = "select-category", a.UNSELECT_CATEGORY = "unselect-category", a.TOGGLE_CATEGORY_VISIBILITY = "toggle-category-visibility", a))(oe || {});
599
+ const il = {
600
+ "de-DE": { loading: "Laden", showMore: "Mehr anzeigen" },
601
+ "en-GB": { loading: "Loading", showMore: "Show more" },
602
+ "en-US": { loading: "Loading", showMore: "Show more" },
603
+ "es-419": { loading: "Cargando", showMore: "Mostrar más" },
604
+ "es-ES": { loading: "Cargando", showMore: "Mostrar más" },
605
+ "es-MX": { loading: "Cargando", showMore: "Mostrar más" },
606
+ "fr-FR": { loading: "Chargement", showMore: "Afficher plus" },
607
+ "it-IT": { loading: "Caricamento", showMore: "Mostra di più" },
608
+ "ja-JP": { loading: "読み込み中", showMore: "さらに表示" },
609
+ "pt-BR": { loading: "Carregando", showMore: "Mostrar mais" },
610
+ "zh-CN": { loading: "正在加载", showMore: "显示更多" }
611
+ }, rl = {
659
612
  name: "listbox-lazy-load",
660
- i18n: { messages: dl }
661
- }, pl = /* @__PURE__ */ z({
662
- ...ul,
613
+ i18n: { messages: il }
614
+ }, cl = /* @__PURE__ */ F({
615
+ ...rl,
663
616
  props: {
664
617
  condensed: { type: Boolean, default: !1 },
665
618
  hasMoreItems: { type: Boolean, default: !1 },
@@ -669,78 +622,57 @@ const dl = {
669
622
  },
670
623
  emits: ["show-more"],
671
624
  setup(a) {
672
- const e = a, { t: l } = ie(), t = i(
673
- () => e.type === le.BUTTON && e.hasMoreItems
674
- ), s = i(
675
- () => e.loading ? ke.LOADING : ke.START
676
- ), o = i(() => e.loading ? l("loading") : l("showMore"));
677
- return { __sfc: !0, t: l, props: e, shouldDisplayShowMoreButton: t, loadingButtonState: s, showMoreButtonText: o, BentoLoadingIndicator: tt, BentoLoadingButton: Ct };
625
+ const e = a, { t: l } = ae(), t = n(
626
+ () => e.type === Z.BUTTON && e.hasMoreItems
627
+ ), s = n(
628
+ () => e.loading ? we.LOADING : we.START
629
+ ), o = n(() => e.loading ? l("loading") : l("showMore"));
630
+ return { __sfc: !0, t: l, props: e, shouldDisplayShowMoreButton: t, loadingButtonState: s, showMoreButtonText: o, BentoLoadingIndicator: Ze, BentoLoadingButton: ht };
678
631
  }
679
632
  });
680
- var fl = function() {
633
+ var dl = function() {
681
634
  var e = this, l = e._self._c, t = e._self._setupProxy;
682
635
  return t.shouldDisplayShowMoreButton || e.loading ? l("div", { staticClass: "b-listbox-lazy-load" }, [t.shouldDisplayShowMoreButton ? l(t.BentoLoadingButton, { attrs: { state: t.loadingButtonState, tabindex: e.tabindex, condensed: e.condensed, variant: "secondary" }, on: { "!click": function(s) {
683
636
  return e.$emit("show-more", s);
684
637
  } } }, [e._v(" " + e._s(t.showMoreButtonText) + " ")]) : e.loading ? l(t.BentoLoadingIndicator) : e._e()], 1) : e._e();
685
- }, bl = [], ml = /* @__PURE__ */ U(
686
- pl,
687
- fl,
688
- bl,
638
+ }, ul = [], pl = /* @__PURE__ */ V(
639
+ cl,
640
+ dl,
641
+ ul,
689
642
  !1,
690
643
  null,
691
644
  "d86387ad"
692
645
  );
693
- const nt = ml.exports, vl = {
694
- "de-DE": {
695
- thereWasAnErrorLoadingNewItems: "Beim Laden neuer Artikel ist ein Fehler aufgetreten."
696
- },
697
- "en-GB": {
698
- thereWasAnErrorLoadingNewItems: "There was an error loading new items."
699
- },
700
- "en-US": {
701
- thereWasAnErrorLoadingNewItems: "There was an error loading new items."
702
- },
703
- "es-419": {
704
- thereWasAnErrorLoadingNewItems: "Se produjo un error al cargar los nuevos elementos."
705
- },
706
- "es-ES": {
707
- thereWasAnErrorLoadingNewItems: "Se produjo un error al cargar los nuevos elementos."
708
- },
709
- "fr-FR": {
710
- thereWasAnErrorLoadingNewItems: "Une erreur s'est produite lors du chargement des nouveaux éléments."
711
- },
712
- "it-IT": {
713
- thereWasAnErrorLoadingNewItems: "Si è verificato un errore durante il caricamento di nuovi elementi."
714
- },
715
- "ja-JP": {
716
- thereWasAnErrorLoadingNewItems: "新しいアイテムの読み込みにエラーが発生しました。"
717
- },
718
- "pt-BR": {
719
- thereWasAnErrorLoadingNewItems: "Ocorreu um erro ao carregar novos itens."
720
- },
721
- "zh-CN": {
722
- thereWasAnErrorLoadingNewItems: "加载新项目时出错。"
723
- }
724
- }, yl = {
646
+ const at = pl.exports, fl = {
647
+ "de-DE": { thereWasAnErrorLoadingNewItems: "Beim Laden neuer Artikel ist ein Fehler aufgetreten." },
648
+ "en-GB": { thereWasAnErrorLoadingNewItems: "There was an error loading new items." },
649
+ "en-US": { thereWasAnErrorLoadingNewItems: "There was an error loading new items." },
650
+ "es-419": { thereWasAnErrorLoadingNewItems: "Se produjo un error al cargar los nuevos elementos." },
651
+ "es-ES": { thereWasAnErrorLoadingNewItems: "Se produjo un error al cargar los nuevos elementos." },
652
+ "fr-FR": { thereWasAnErrorLoadingNewItems: "Une erreur s'est produite lors du chargement des nouveaux éléments." },
653
+ "it-IT": { thereWasAnErrorLoadingNewItems: "Si è verificato un errore durante il caricamento di nuovi elementi." },
654
+ "ja-JP": { thereWasAnErrorLoadingNewItems: "新しいアイテムの読み込みにエラーが発生しました。" },
655
+ "pt-BR": { thereWasAnErrorLoadingNewItems: "Ocorreu um erro ao carregar novos itens." },
656
+ "zh-CN": { thereWasAnErrorLoadingNewItems: "加载新项目时出错。" }
657
+ }, bl = {
725
658
  name: "listbox-multi-select-nested-lazy-load",
726
- i18n: { messages: vl }
727
- }, _l = /* @__PURE__ */ z({
728
- ...yl,
659
+ i18n: { messages: fl }
660
+ }, ml = /* @__PURE__ */ F({
661
+ ...bl,
729
662
  props: {
730
663
  index: null,
731
664
  option: null
732
665
  },
733
666
  setup(a, { expose: e }) {
734
- const l = a, t = E(!1), s = E(!1), { t: o } = ie();
735
- async function n(r) {
736
- var v;
737
- if (r.stopImmediatePropagation(), !t.value) {
667
+ const l = a, t = L(!1), s = L(!1), { t: o } = ae();
668
+ async function i(p) {
669
+ if (p.stopImmediatePropagation(), !t.value) {
738
670
  s.value = !1, t.value = !0;
739
671
  try {
740
- await ((v = l.option.lazyLoad) == null ? void 0 : v.lazyLoadEvent({
672
+ await l.option.lazyLoad?.lazyLoadEvent({
741
673
  value: l.option.value,
742
674
  index: l.index
743
- }));
675
+ });
744
676
  } catch {
745
677
  s.value = !0;
746
678
  }
@@ -751,81 +683,47 @@ const nt = ml.exports, vl = {
751
683
  /**
752
684
  * Trigger the lazy load event programmatically.
753
685
  */
754
- showMore: n
755
- }), { __sfc: !0, loading: t, failedAndRetry: s, t: o, props: l, showMore: n, BentoEmptyState: lt, BentoListboxLazyLoad: nt };
686
+ showMore: i
687
+ }), { __sfc: !0, loading: t, failedAndRetry: s, t: o, props: l, showMore: i, BentoEmptyState: Qe, BentoListboxLazyLoad: at };
756
688
  }
757
689
  });
758
- var gl = function() {
759
- var s;
690
+ var vl = function() {
760
691
  var e = this, l = e._self._c, t = e._self._setupProxy;
761
- return l("div", { attrs: { role: "treeitem", tabindex: 0 }, on: { keydown: [function(o) {
762
- return !o.type.indexOf("key") && e._k(o.keyCode, "enter", 13, o.key, "Enter") ? null : (o.preventDefault(), t.showMore.apply(null, arguments));
763
- }, function(o) {
764
- return !o.type.indexOf("key") && e._k(o.keyCode, "space", 32, o.key, [" ", "Spacebar"]) ? null : (o.preventDefault(), t.showMore.apply(null, arguments));
765
- }] } }, [t.failedAndRetry ? l(t.BentoEmptyState, { staticClass: "b-listbox-multi-select-nested-lazy-load__error-message", attrs: { variant: "basic" } }, [e._v(" " + e._s(t.t("thereWasAnErrorLoadingNewItems")) + " ")]) : e._e(), l(t.BentoListboxLazyLoad, { attrs: { type: "button", tabindex: -1, condensed: "", "has-more-items": (s = e.option.lazyLoad) == null ? void 0 : s.hasMoreItems, loading: t.loading }, on: { "show-more": t.showMore } })], 1);
766
- }, hl = [], Sl = /* @__PURE__ */ U(
767
- _l,
768
- gl,
769
- hl,
692
+ return l("div", { attrs: { role: "treeitem", tabindex: 0 }, on: { keydown: [function(s) {
693
+ return !s.type.indexOf("key") && e._k(s.keyCode, "enter", 13, s.key, "Enter") ? null : (s.preventDefault(), t.showMore.apply(null, arguments));
694
+ }, function(s) {
695
+ return !s.type.indexOf("key") && e._k(s.keyCode, "space", 32, s.key, [" ", "Spacebar"]) ? null : (s.preventDefault(), t.showMore.apply(null, arguments));
696
+ }] } }, [t.failedAndRetry ? l(t.BentoEmptyState, { staticClass: "b-listbox-multi-select-nested-lazy-load__error-message", attrs: { variant: "basic" } }, [e._v(" " + e._s(t.t("thereWasAnErrorLoadingNewItems")) + " ")]) : e._e(), l(t.BentoListboxLazyLoad, { attrs: { type: "button", tabindex: -1, condensed: "", "has-more-items": e.option.lazyLoad?.hasMoreItems, loading: t.loading }, on: { "show-more": t.showMore } })], 1);
697
+ }, yl = [], _l = /* @__PURE__ */ V(
698
+ ml,
699
+ vl,
700
+ yl,
770
701
  !1,
771
702
  null,
772
703
  "b7c84651"
773
704
  );
774
- const xl = Sl.exports, Cl = {
775
- "de-DE": {
776
- categoryClosed: "{category} geschlossen",
777
- categoryOpened: "{category} geöffnet"
778
- },
779
- "en-GB": {
780
- categoryClosed: "{category} closed",
781
- categoryOpened: "{category} opened"
782
- },
783
- "en-US": {
784
- categoryClosed: "{category} closed",
785
- categoryOpened: "{category} opened"
786
- },
787
- "es-419": {
788
- categoryClosed: "{category} cerrado",
789
- categoryOpened: "{category} abierta"
790
- },
791
- "es-ES": {
792
- categoryClosed: "{category} cerrado",
793
- categoryOpened: "{category} abierto"
794
- },
795
- "es-MX": {
796
- categoryClosed: "{category} cerrado",
797
- categoryOpened: "{category} abierto"
798
- },
799
- "fr-FR": {
800
- categoryClosed: "{category} fermée",
801
- categoryOpened: "{category} ouverte"
802
- },
803
- "it-IT": {
804
- categoryClosed: "{category} chiuso",
805
- categoryOpened: "{category} aperto"
806
- },
807
- "ja-JP": {
808
- categoryClosed: "{category}を閉じました",
809
- categoryOpened: "{category}を開きました"
810
- },
811
- "pt-BR": {
812
- categoryClosed: "{category} fechada",
813
- categoryOpened: "{categoria} aberta"
814
- },
815
- "zh-CN": {
816
- categoryClosed: "{category} 已关闭",
817
- categoryOpened: "{category} 已打开"
818
- }
819
- }, Ol = z({
820
- i18n: { messages: Cl },
705
+ const gl = _l.exports, hl = {
706
+ "de-DE": { categoryClosed: "{category} geschlossen", categoryOpened: "{category} geöffnet" },
707
+ "en-GB": { categoryClosed: "{category} closed", categoryOpened: "{category} opened" },
708
+ "en-US": { categoryClosed: "{category} closed", categoryOpened: "{category} opened" },
709
+ "es-419": { categoryClosed: "{category} cerrado", categoryOpened: "{category} abierta" },
710
+ "es-ES": { categoryClosed: "{category} cerrado", categoryOpened: "{category} abierto" },
711
+ "es-MX": { categoryClosed: "{category} cerrado", categoryOpened: "{category} abierto" },
712
+ "fr-FR": { categoryClosed: "{category} fermée", categoryOpened: "{category} ouverte" },
713
+ "it-IT": { categoryClosed: "{category} chiuso", categoryOpened: "{category} aperto" },
714
+ "ja-JP": { categoryClosed: "{category}を閉じました", categoryOpened: "{category}を開きました" },
715
+ "pt-BR": { categoryClosed: "{category} fechada", categoryOpened: "{categoria} aberta" },
716
+ "zh-CN": { categoryClosed: "{category} 已关闭", categoryOpened: "{category} 已打开" }
717
+ }, Sl = F({
718
+ i18n: { messages: hl },
821
719
  name: "bento-listbox-multi-select-category",
822
720
  components: {
823
- BentoTypography: ne,
824
- BentoListboxOption: Be,
825
- BentoListboxMultiSelectNestedLazyLoad: xl,
826
- ChevronDownIcon: Qe,
827
- ChevronUpIcon: et,
828
- DecorativeCheckbox: We
721
+ BentoTypography: le,
722
+ BentoListboxOption: Ae,
723
+ BentoListboxMultiSelectNestedLazyLoad: gl,
724
+ ChevronDownIcon: Je,
725
+ ChevronUpIcon: Xe,
726
+ DecorativeCheckbox: Ve
829
727
  },
830
728
  props: {
831
729
  /**
@@ -878,106 +776,94 @@ const xl = Sl.exports, Cl = {
878
776
  tabindex: { type: Number, default: -1 }
879
777
  },
880
778
  emits: [
881
- ce.SELECT_CATEGORY,
882
- ce.UNSELECT_CATEGORY,
883
- ce.TOGGLE_CATEGORY_VISIBILITY
779
+ oe.SELECT_CATEGORY,
780
+ oe.UNSELECT_CATEGORY,
781
+ oe.TOGGLE_CATEGORY_VISIBILITY
884
782
  ],
885
783
  setup(a, { emit: e }) {
886
- const l = E(!1), { t } = ie(), s = oe("category-group"), o = oe("category-name"), n = E(null), r = (L) => a.isOptionDisabled ? a.isOptionDisabled(L) : !1, v = i(() => {
887
- var L;
888
- return a.category.lazyLoad && ((L = a.category.items) == null ? void 0 : L.length) === 0 ? !1 : a.category.items.every((m) => r(m));
889
- }), d = j(a, "staticCategories"), c = i(() => l.value || a.staticCategories), _ = i(() => ({
890
- [`b-listbox-multi-select-category--${ot.DISABLED}`]: v.value
891
- })), b = (L, m) => {
892
- var I;
893
- L.preventDefault(), a.category.lazyLoad && ((I = a.category.items) == null ? void 0 : I.length) === 0 && n.value.showMore(L), l.value = m !== void 0 ? m : !l.value, e(ce.TOGGLE_CATEGORY_VISIBILITY, a.category.value);
894
- }, p = (L) => {
895
- var J;
896
- const m = r(L), I = ((J = a.selectedItemsList) == null ? void 0 : J.includes(L.value)) || !1;
897
- return { isDisabled: m, isPreSelected: I };
898
- }, C = i(
899
- () => a.category.items.filter((L) => {
900
- const { isDisabled: m, isPreSelected: I } = p(L);
901
- return m && I || !m;
784
+ const l = L(!1), { t } = ae(), s = te("category-group"), o = te("category-name"), i = L(null), p = (k) => a.isOptionDisabled ? a.isOptionDisabled(k) : !1, _ = n(() => a.category.lazyLoad && a.category.items?.length === 0 ? !1 : a.category.items.every((k) => p(k))), c = q(a, "staticCategories"), r = n(() => l.value || a.staticCategories), m = n(() => ({
785
+ [`b-listbox-multi-select-category--${lt.DISABLED}`]: _.value
786
+ })), u = (k, y) => {
787
+ k.preventDefault(), a.category.lazyLoad && a.category.items?.length === 0 && i.value.showMore(k), l.value = y !== void 0 ? y : !l.value, e(oe.TOGGLE_CATEGORY_VISIBILITY, a.category.value);
788
+ }, b = (k) => {
789
+ const y = p(k), P = a.selectedItemsList?.includes(k.value) || !1;
790
+ return { isDisabled: y, isPreSelected: P };
791
+ }, x = n(
792
+ () => a.category.items.filter((k) => {
793
+ const { isDisabled: y, isPreSelected: P } = b(k);
794
+ return y && P || !y;
902
795
  })
903
- ), x = i(
904
- () => {
905
- var L;
906
- return (L = C.value) == null ? void 0 : L.filter(({ value: m }) => {
907
- var I;
908
- return (I = a.selectedItemsList) == null ? void 0 : I.includes(m);
909
- });
910
- }
911
- ), N = i(() => {
912
- const L = l.value ? "categoryOpened" : "categoryClosed";
913
- return t(L, { category: a.category.label });
914
- }), M = () => {
915
- e(ce.SELECT_CATEGORY);
916
- }, h = () => {
917
- e(ce.UNSELECT_CATEGORY);
918
- }, T = i(
796
+ ), g = n(
797
+ () => x.value?.filter(({ value: k }) => a.selectedItemsList?.includes(k))
798
+ ), M = n(() => {
799
+ const k = l.value ? "categoryOpened" : "categoryClosed";
800
+ return t(k, { category: a.category.label });
801
+ }), B = () => {
802
+ e(oe.SELECT_CATEGORY);
803
+ }, v = () => {
804
+ e(oe.UNSELECT_CATEGORY);
805
+ }, I = n(
919
806
  () => !!a.category.lazyLoad && a.selectedItemsList.includes(a.category.value)
920
807
  ), {
921
- isAllSelected: R,
808
+ isAllSelected: D,
922
809
  isIndeterminate: A,
923
- toggleSelectAll: k
924
- } = at(x, C, M, h), D = i(() => T.value || R.value), G = i(() => !T.value && A.value), K = i(() => G.value ? "mixed" : `${D.value}`), g = E(D.value), B = () => {
925
- g.value = !g.value, k(g.value);
810
+ toggleSelectAll: w
811
+ } = et(g, x, B, v), T = n(() => I.value || D.value), G = n(() => !I.value && A.value), U = n(() => G.value ? "mixed" : `${T.value}`), h = L(T.value), R = () => {
812
+ h.value = !h.value, w(h.value);
926
813
  };
927
- return ae(D, () => {
928
- g.value = D.value;
814
+ return Q(T, () => {
815
+ h.value = T.value;
929
816
  }), {
930
817
  // Refs
931
- lazyLoadRef: n,
818
+ lazyLoadRef: i,
932
819
  // Values
933
- chevronTitle: N,
934
- conditionalClass: _,
935
- hasAllPropsDisabled: v,
820
+ chevronTitle: M,
821
+ conditionalClass: m,
822
+ hasAllPropsDisabled: _,
936
823
  isOpen: l,
937
- isAllSelected: D,
824
+ isAllSelected: T,
938
825
  isIndeterminate: G,
939
- isStaticCategory: d,
826
+ isStaticCategory: c,
940
827
  categoryGroupId: s,
941
828
  categoryNameId: o,
942
829
  // Computed
943
- showItemChildren: c,
944
- ariaCheckedComputed: K,
830
+ showItemChildren: r,
831
+ ariaCheckedComputed: U,
945
832
  // Methods
946
- handleSelectAll: B,
947
- toggleOpen: b,
948
- toggleSelectAll: k
833
+ handleSelectAll: R,
834
+ toggleOpen: u,
835
+ toggleSelectAll: w
949
836
  };
950
837
  }
951
838
  });
952
- var Ll = function() {
953
- var t;
839
+ var xl = function() {
954
840
  var e = this, l = e._self._c;
955
- 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(s) {
956
- return s.preventDefault(), e.handleSelectAll.apply(null, arguments);
957
- } }, nativeOn: { keydown: [function(s) {
958
- return !s.type.indexOf("key") && e._k(s.keyCode, "arrow-left", void 0, s.key, void 0) ? null : e.toggleOpen(s, !1);
959
- }, function(s) {
960
- return !s.type.indexOf("key") && e._k(s.keyCode, "arrow-right", void 0, s.key, void 0) ? null : e.toggleOpen(s, !0);
961
- }] } }, [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(s) {
962
- return s.stopPropagation(), e.toggleOpen.apply(null, arguments);
963
- } } }, [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"), (t = e.category.lazyLoad) != null && t.hasMoreItems ? [l("bento-listbox-multi-select-nested-lazy-load", { ref: "lazyLoadRef", attrs: { option: e.category, index: e.optionIndex } })] : e._e()], 2)], 1);
964
- }, El = [], Il = /* @__PURE__ */ U(
965
- Ol,
966
- Ll,
967
- El,
841
+ 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) {
842
+ return t.preventDefault(), e.handleSelectAll.apply(null, arguments);
843
+ } }, nativeOn: { keydown: [function(t) {
844
+ return !t.type.indexOf("key") && e._k(t.keyCode, "arrow-left", void 0, t.key, void 0) ? null : e.toggleOpen(t, !1);
845
+ }, function(t) {
846
+ return !t.type.indexOf("key") && e._k(t.keyCode, "arrow-right", void 0, t.key, void 0) ? null : e.toggleOpen(t, !0);
847
+ }] } }, [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) {
848
+ return t.stopPropagation(), e.toggleOpen.apply(null, arguments);
849
+ } } }, [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"), e.category.lazyLoad?.hasMoreItems ? [l("bento-listbox-multi-select-nested-lazy-load", { ref: "lazyLoadRef", attrs: { option: e.category, index: e.optionIndex } })] : e._e()], 2)], 1);
850
+ }, Cl = [], Ll = /* @__PURE__ */ V(
851
+ Sl,
852
+ xl,
853
+ Cl,
968
854
  !1,
969
855
  null,
970
856
  "b493449e"
971
857
  );
972
- const wl = Il.exports;
973
- var te = /* @__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))(te || {});
974
- const Tl = z({
858
+ const Ol = Ll.exports;
859
+ 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 || {});
860
+ const Il = F({
975
861
  name: "listbox-multi-select-options",
976
862
  components: {
977
- BentoListboxOption: Be,
978
- BentoTypography: ne,
979
- ListboxMultiSelectCategory: wl,
980
- DecorativeCheckbox: We
863
+ BentoListboxOption: Ae,
864
+ BentoTypography: le,
865
+ ListboxMultiSelectCategory: Ol,
866
+ DecorativeCheckbox: Ve
981
867
  },
982
868
  inheritAttrs: !1,
983
869
  props: {
@@ -1054,35 +940,34 @@ const Tl = z({
1054
940
  }
1055
941
  },
1056
942
  emits: [
1057
- te.TOGGLE_CHECKBOX_SELECTION,
1058
- te.SELECT_CATEGORY,
1059
- te.UNSELECT_CATEGORY,
1060
- te.TOGGLE_CATEGORY_VISIBILITY
943
+ X.TOGGLE_CHECKBOX_SELECTION,
944
+ X.SELECT_CATEGORY,
945
+ X.UNSELECT_CATEGORY,
946
+ X.TOGGLE_CATEGORY_VISIBILITY
1061
947
  ],
1062
948
  setup(a, { emit: e }) {
1063
- const l = (d) => {
1064
- a.isOptionDisabled(d) || e(te.TOGGLE_CHECKBOX_SELECTION, d);
1065
- }, t = (d) => !!d.items, s = (d) => {
1066
- const c = a.isMultiLevel && a.searching;
1067
- return d.description && (!a.isMultiLevel || c);
1068
- }, o = (d) => {
1069
- var _;
1070
- const c = !!((_ = a.parentCategory) != null && _.lazyLoad) && a.selectedItemsList.includes(a.parentCategory.value);
1071
- if (d.items) {
1072
- const b = !!d.lazyLoad && a.selectedItemsList.includes(d.value);
1073
- return c || b || !!d.items.find((p) => a.selectedItemsList.includes(p.value));
949
+ const l = (c) => {
950
+ a.isOptionDisabled(c) || e(X.TOGGLE_CHECKBOX_SELECTION, c);
951
+ }, t = (c) => !!c.items, s = (c) => {
952
+ const r = a.isMultiLevel && a.searching;
953
+ return c.description && (!a.isMultiLevel || r);
954
+ }, o = (c) => {
955
+ const r = !!a.parentCategory?.lazyLoad && a.selectedItemsList.includes(a.parentCategory.value);
956
+ if (c.items) {
957
+ const m = !!c.lazyLoad && a.selectedItemsList.includes(c.value);
958
+ return r || m || !!c.items.find((u) => a.selectedItemsList.includes(u.value));
1074
959
  }
1075
- return c || a.selectedItemsList.includes(d.value);
1076
- }, n = (d) => {
1077
- if (t(d)) {
1078
- const c = o(d) ? te.UNSELECT_CATEGORY : te.SELECT_CATEGORY;
1079
- e(c, d);
960
+ return r || a.selectedItemsList.includes(c.value);
961
+ }, i = (c) => {
962
+ if (t(c)) {
963
+ const r = o(c) ? X.UNSELECT_CATEGORY : X.SELECT_CATEGORY;
964
+ e(r, c);
1080
965
  } else
1081
- l(d);
966
+ l(c);
1082
967
  };
1083
968
  return {
1084
969
  // Values
1085
- conditionalClasses: i(() => ({
970
+ conditionalClasses: n(() => ({
1086
971
  "b-listbox-multi-select-options__static-category-option": a.staticCategories,
1087
972
  "b-listbox-multi-select-options__category-option": a.categoryItems
1088
973
  })),
@@ -1090,15 +975,15 @@ const Tl = z({
1090
975
  isOptionSelected: o,
1091
976
  shouldShowDescription: s,
1092
977
  toggleCheckboxSelection: l,
1093
- toggleSearchOption: n,
1094
- computedTabindex: (d) => a.itemsIndex[d] === a.focusedIndex ? 0 : -1,
978
+ toggleSearchOption: i,
979
+ computedTabindex: (c) => a.itemsIndex[c] === a.focusedIndex ? 0 : -1,
1095
980
  // Enums
1096
- BentoListboxEvent: u,
1097
- ListboxMultiSelectOptionsEvent: te
981
+ BentoListboxEvent: d,
982
+ ListboxMultiSelectOptionsEvent: X
1098
983
  };
1099
984
  }
1100
985
  });
1101
- var Al = function() {
986
+ var El = function() {
1102
987
  var e = this, l = e._self._c;
1103
988
  return e._self._setupProxy, l("div", e._l(e.items, function(t) {
1104
989
  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) {
@@ -1125,95 +1010,34 @@ var Al = function() {
1125
1010
  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)];
1126
1011
  }, null, t)], 2)]], 2);
1127
1012
  }), 0);
1128
- }, kl = [], Dl = /* @__PURE__ */ U(
1129
- Tl,
1130
- Al,
1131
- kl,
1013
+ }, wl = [], Tl = /* @__PURE__ */ V(
1014
+ Il,
1015
+ El,
1016
+ wl,
1132
1017
  !1,
1133
1018
  null,
1134
1019
  "1cf47b26"
1135
1020
  );
1136
- const Bl = Dl.exports, it = (a) => {
1137
- const e = i(() => {
1138
- var t;
1139
- return !!((t = a.value) != null && t.find(({ items: s }) => !!s));
1140
- }), l = i(() => {
1141
- var t;
1142
- return e.value ? (t = a.value) == null ? void 0 : t.reduce((s, o) => (o.items ? s.push(...o.items.flat()) : s.push(o), s), []) : a.value;
1143
- });
1021
+ const Al = Tl.exports, st = (a) => {
1022
+ const e = n(() => !!a.value?.find(({ items: t }) => !!t)), l = n(() => e.value ? a.value?.reduce((t, s) => (s.items ? t.push(...s.items.flat()) : t.push(s), t), []) : a.value);
1144
1023
  return {
1145
1024
  isMultiLevelSelect: e,
1146
1025
  flattenedItemsList: l
1147
1026
  };
1148
- }, Rl = {
1149
- "de-DE": {
1150
- allSelected: "Alle ausgewählt ({total})",
1151
- numberOfTotalSelected: "{number} von {total} ausgewählt",
1152
- numbersSelected: "{number} ausgewählt",
1153
- selectAll: "Alle auswählen ({total})"
1154
- },
1155
- "en-GB": {
1156
- allSelected: "All selected ({total})",
1157
- numberOfTotalSelected: "{number} of {total} selected",
1158
- numbersSelected: "{number} selected",
1159
- selectAll: "Select all ({total})"
1160
- },
1161
- "en-US": {
1162
- allSelected: "All selected ({total})",
1163
- numberOfTotalSelected: "{number} of {total} selected",
1164
- numbersSelected: "{number} selected",
1165
- selectAll: "Select all ({total})"
1166
- },
1167
- "es-419": {
1168
- allSelected: "Todos seleccionados ({total})",
1169
- numberOfTotalSelected: "{number} de {total} seleccionados",
1170
- numbersSelected: "{number} seleccionados",
1171
- selectAll: "Seleccionar todo ({total})"
1172
- },
1173
- "es-ES": {
1174
- allSelected: "Todos seleccionados ({total})",
1175
- numberOfTotalSelected: "{number} de {total} seleccionados",
1176
- numbersSelected: "{number} seleccionado",
1177
- selectAll: "Seleccionar todo ({total})"
1178
- },
1179
- "es-MX": {
1180
- allSelected: "Todos seleccionados ({total})",
1181
- numberOfTotalSelected: "{number} de {total} seleccionados",
1182
- numbersSelected: "{número} seleccionado",
1183
- selectAll: "Seleccionar todo ({total})"
1184
- },
1185
- "fr-FR": {
1186
- allSelected: "Tous sélectionnés ({total})",
1187
- numberOfTotalSelected: "{number} sélectionné(s) sur {total}",
1188
- numbersSelected: "{number} sélectionné(s)",
1189
- selectAll: "Tout sélectionner ({total})"
1190
- },
1191
- "it-IT": {
1192
- allSelected: "Tutti i selezionati ({total})",
1193
- numberOfTotalSelected: "{numero} su {totale} selezionati",
1194
- numbersSelected: "{numero} selezionati",
1195
- selectAll: "Seleziona tutto ({total})"
1196
- },
1197
- "ja-JP": {
1198
- allSelected: "すべて選択 ({total})",
1199
- numberOfTotalSelected: "{total}件中{number}件を選択済み",
1200
- numbersSelected: "{number}件選択済み",
1201
- selectAll: "すべて選択 ({total})"
1202
- },
1203
- "pt-BR": {
1204
- allSelected: "Todos os selecionados ({total})",
1205
- numberOfTotalSelected: "{number} de {total} selecionados",
1206
- numbersSelected: "{number} selecionados",
1207
- selectAll: "Selecionar tudo ({total})"
1208
- },
1209
- "zh-CN": {
1210
- allSelected: "全部已选 ({total})",
1211
- numberOfTotalSelected: "已选择 {number} 个,共 {total} 个",
1212
- numbersSelected: "已选择 {number} 个",
1213
- selectAll: "选择全部({total})个"
1214
- }
1215
- }, Ml = { i18n: { messages: Rl } }, Nl = /* @__PURE__ */ z({
1216
- ...Ml,
1027
+ }, kl = {
1028
+ "de-DE": { allSelected: "Alle ausgewählt ({total})", numberOfTotalSelected: "{number} von {total} ausgewählt", numbersSelected: "{number} ausgewählt", selectAll: "Alle auswählen ({total})" },
1029
+ "en-GB": { allSelected: "All selected ({total})", numberOfTotalSelected: "{number} of {total} selected", numbersSelected: "{number} selected", selectAll: "Select all ({total})" },
1030
+ "en-US": { allSelected: "All selected ({total})", numberOfTotalSelected: "{number} of {total} selected", numbersSelected: "{number} selected", selectAll: "Select all ({total})" },
1031
+ "es-419": { allSelected: "Todos seleccionados ({total})", numberOfTotalSelected: "{number} de {total} seleccionados", numbersSelected: "{number} seleccionados", selectAll: "Seleccionar todo ({total})" },
1032
+ "es-ES": { allSelected: "Todos seleccionados ({total})", numberOfTotalSelected: "{number} de {total} seleccionados", numbersSelected: "{number} seleccionado", selectAll: "Seleccionar todo ({total})" },
1033
+ "es-MX": { allSelected: "Todos seleccionados ({total})", numberOfTotalSelected: "{number} de {total} seleccionados", numbersSelected: "{número} seleccionado", selectAll: "Seleccionar todo ({total})" },
1034
+ "fr-FR": { allSelected: "Tous sélectionnés ({total})", numberOfTotalSelected: "{number} sélectionné(s) sur {total}", numbersSelected: "{number} sélectionné(s)", selectAll: "Tout sélectionner ({total})" },
1035
+ "it-IT": { allSelected: "Tutti i selezionati ({total})", numberOfTotalSelected: "{numero} su {totale} selezionati", numbersSelected: "{numero} selezionati", selectAll: "Seleziona tutto ({total})" },
1036
+ "ja-JP": { allSelected: "すべて選択 ({total})", numberOfTotalSelected: "{total}件中{number}件を選択済み", numbersSelected: "{number}件選択済み", selectAll: "すべて選択 ({total})" },
1037
+ "pt-BR": { allSelected: "Todos os selecionados ({total})", numberOfTotalSelected: "{number} de {total} selecionados", numbersSelected: "{number} selecionados", selectAll: "Selecionar tudo ({total})" },
1038
+ "zh-CN": { allSelected: "全部已选 ({total})", numberOfTotalSelected: "已选择 {number} 个,共 {total} 个", numbersSelected: "已选择 {number} 个", selectAll: "选择全部({total})个" }
1039
+ }, Dl = { i18n: { messages: kl } }, Bl = /* @__PURE__ */ F({
1040
+ ...Dl,
1217
1041
  __name: "listbox-multi-select",
1218
1042
  props: {
1219
1043
  hasMoreItems: { type: Boolean, default: !1 },
@@ -1226,174 +1050,157 @@ const Bl = Dl.exports, it = (a) => {
1226
1050
  },
1227
1051
  emits: ["select"],
1228
1052
  setup(a, { expose: e, emit: l }) {
1229
- const t = a, { t: s, n: o } = ie(), n = Ce(), r = Ve(), v = i(
1230
- () => {
1231
- var f, S, O, w;
1232
- return {
1233
- "aria-label": (f = r["aria-label"]) == null ? void 0 : f.toString(),
1234
- "aria-busy": (S = r["aria-busy"]) == null ? void 0 : S.toString(),
1235
- "aria-atomic": (O = r["aria-atomic"]) == null ? void 0 : O.toString(),
1236
- "aria-live": (w = r["aria-live"]) == null ? void 0 : w.toString(),
1237
- "aria-multiselectable": !0
1238
- };
1239
- }
1240
- ), d = E(null), c = E(null), _ = E(null), b = E(null), p = i(() => t.selectedValues.map(({ value: f }) => f)), { isMultiLevelSelect: C, flattenedItemsList: x } = it(j(t, "items")), N = i(() => t.items.some((f) => f.items && f.lazyLoad)), M = i(() => C.value ? t.items.reduce((f, S) => (S.items ? S.lazyLoad ? f.push(S) : f.push(...S.items) : f.push(S), f), []) : t.items), h = i(() => C.value && !t.staticCategories), T = i(() => h.value ? "tree" : "listbox"), R = i(() => h.value ? "treeitem" : "option"), A = (f) => {
1241
- var w;
1242
- const S = t.isOptionDisabled(f), O = ((w = p.value) == null ? void 0 : w.includes(f.value)) || !1;
1243
- return { isDisabled: S, isPreSelected: O };
1244
- }, k = i(() => {
1245
- if (t.searching && C)
1053
+ const t = a, { t: s, n: o } = ae(), i = Se(), p = Pe(), _ = n(
1054
+ () => ({
1055
+ "aria-label": p["aria-label"]?.toString(),
1056
+ "aria-busy": p["aria-busy"]?.toString(),
1057
+ "aria-atomic": p["aria-atomic"]?.toString(),
1058
+ "aria-live": p["aria-live"]?.toString(),
1059
+ "aria-multiselectable": !0
1060
+ })
1061
+ ), c = L(null), r = L(null), m = L(null), u = L(null), b = n(() => t.selectedValues.map(({ value: f }) => f)), { isMultiLevelSelect: x, flattenedItemsList: g } = st(q(t, "items")), M = n(() => t.items.some((f) => f.items && f.lazyLoad)), B = n(() => x.value ? t.items.reduce((f, S) => (S.items ? S.lazyLoad ? f.push(S) : f.push(...S.items) : f.push(S), f), []) : t.items), v = n(() => x.value && !t.staticCategories), I = n(() => v.value ? "tree" : "listbox"), D = n(() => v.value ? "treeitem" : "option"), A = (f) => {
1062
+ const S = t.isOptionDisabled(f), E = b.value?.includes(f.value) || !1;
1063
+ return { isDisabled: S, isPreSelected: E };
1064
+ }, w = n(() => {
1065
+ if (t.searching && x)
1246
1066
  return t.items;
1247
- const f = M.value.filter((S) => {
1067
+ const f = B.value.filter((S) => {
1248
1068
  if (S.lazyLoad)
1249
1069
  return !0;
1250
- const { isDisabled: O, isPreSelected: w } = A(S);
1251
- return O && w || !O;
1070
+ const { isDisabled: E, isPreSelected: N } = A(S);
1071
+ return E && N || !E;
1252
1072
  });
1253
1073
  return t.selectedValues.forEach((S) => {
1254
- f.find((O) => O.value === S.value) || f.push(S);
1074
+ f.find((E) => E.value === S.value) || f.push(S);
1255
1075
  }), f;
1256
- }), D = i(
1257
- () => {
1258
- var f;
1259
- return (f = k.value) == null ? void 0 : f.filter((S) => {
1260
- var O;
1261
- return (O = p.value) == null ? void 0 : O.includes(S.value);
1262
- });
1263
- }
1264
- ), G = () => C.value && !t.searching ? x.value.length : t.items.length, K = i(() => {
1265
- var w;
1266
- const f = k.value.length, S = G(), O = ((w = D.value) == null ? void 0 : w.length) || 0;
1267
- return O === 0 ? s("selectAll", { total: o(f) }) : O === S ? s("allSelected", { total: o(S) }) : O <= S ? s("numberOfTotalSelected", { number: o(O), total: o(S) }) : s("numbersSelected", { number: o(O) });
1268
- }), g = (f) => {
1269
- const S = (w) => {
1270
- const { isDisabled: P, isPreSelected: W } = A(w);
1271
- return P && W || !P;
1272
- }, O = f.filter(S).filter((w) => !p.value.includes(w.value));
1273
- l("select", [...t.selectedValues, ...O]);
1274
- }, B = (f) => {
1275
- const S = (P) => {
1276
- const { isDisabled: W, isPreSelected: y } = A(P);
1277
- return !(W && y);
1278
- }, O = f.filter(S).map(({ value: P }) => P), w = t.selectedValues.filter((P) => !(O != null && O.includes(P.value)));
1279
- l("select", w);
1280
- }, L = () => {
1281
- g(x.value);
1282
- }, m = () => {
1283
- B(x.value);
1284
- }, { isAllSelected: I, isIndeterminate: J, toggleSelectAll: $ } = at(
1285
- D,
1076
+ }), T = n(
1077
+ () => w.value?.filter((f) => b.value?.includes(f.value))
1078
+ ), G = () => x.value && !t.searching ? g.value.length : t.items.length, U = n(() => {
1079
+ const f = w.value.length, S = G(), E = T.value?.length || 0;
1080
+ return E === 0 ? s("selectAll", { total: o(f) }) : E === S ? s("allSelected", { total: o(S) }) : E <= S ? s("numberOfTotalSelected", { number: o(E), total: o(S) }) : s("numbersSelected", { number: o(E) });
1081
+ }), h = (f) => {
1082
+ const S = (N) => {
1083
+ const { isDisabled: C, isPreSelected: $ } = A(N);
1084
+ return C && $ || !C;
1085
+ }, E = f.filter(S).filter((N) => !b.value.includes(N.value));
1086
+ l("select", [...t.selectedValues, ...E]);
1087
+ }, R = (f) => {
1088
+ const S = (C) => {
1089
+ const { isDisabled: $, isPreSelected: O } = A(C);
1090
+ return !($ && O);
1091
+ }, E = f.filter(S).map(({ value: C }) => C), N = t.selectedValues.filter((C) => !E?.includes(C.value));
1092
+ l("select", N);
1093
+ }, k = () => {
1094
+ h(g.value);
1095
+ }, y = () => {
1096
+ R(g.value);
1097
+ }, { isAllSelected: P, isIndeterminate: ie, toggleSelectAll: K } = et(
1098
+ T,
1099
+ w,
1286
1100
  k,
1287
- L,
1288
- m
1289
- ), X = i(() => J.value ? "mixed" : `${I.value}`), se = E(I.value), ue = () => {
1290
- se.value = !se.value, $(se.value);
1101
+ y
1102
+ ), j = n(() => ie.value ? "mixed" : `${P.value}`), ee = L(P.value), re = () => {
1103
+ ee.value = !ee.value, K(ee.value);
1291
1104
  };
1292
- ae(I, () => {
1293
- se.value = I.value;
1105
+ Q(P, () => {
1106
+ ee.value = P.value;
1294
1107
  });
1295
- const he = (f) => {
1108
+ const _e = (f) => {
1296
1109
  if (f.lazyLoad) {
1297
- const S = (f.items ?? []).map(({ value: w }) => w), O = t.selectedValues.filter(({ value: w }) => !S.includes(w));
1298
- l("select", [...O, f]);
1110
+ const S = (f.items ?? []).map(({ value: N }) => N), E = t.selectedValues.filter(({ value: N }) => !S.includes(N));
1111
+ l("select", [...E, f]);
1299
1112
  } else
1300
- g(f.items);
1301
- }, Re = (f) => {
1113
+ h(f.items);
1114
+ }, ke = (f) => {
1302
1115
  f.lazyLoad ? l(
1303
1116
  "select",
1304
1117
  t.selectedValues.filter(({ value: S }) => S !== f.value)
1305
- ) : B(f.items);
1306
- }, Me = (f, S) => {
1307
- let O = !1, w = t.selectedValues.filter(({ value: W }) => S.value === W ? (O = !0, !1) : !0);
1308
- if (O) {
1309
- l(f, w);
1118
+ ) : R(f.items);
1119
+ }, De = (f, S) => {
1120
+ let E = !1, N = t.selectedValues.filter(({ value: $ }) => S.value === $ ? (E = !0, !1) : !0);
1121
+ if (E) {
1122
+ l(f, N);
1310
1123
  return;
1311
1124
  }
1312
- const P = t.items.find(
1313
- (W) => {
1314
- var y;
1315
- return ((y = W.items) == null ? void 0 : y.some((F) => F.value === S.value)) && W.lazyLoad && p.value.includes(W.value);
1316
- }
1125
+ const C = t.items.find(
1126
+ ($) => $.items?.some((O) => O.value === S.value) && $.lazyLoad && b.value.includes($.value)
1317
1127
  );
1318
- if (P) {
1319
- w = w.filter(({ value: y }) => y !== P.value);
1320
- const W = P.items.filter(
1321
- (y) => y.value !== S.value
1128
+ if (C) {
1129
+ N = N.filter(({ value: O }) => O !== C.value);
1130
+ const $ = C.items.filter(
1131
+ (O) => O.value !== S.value
1322
1132
  );
1323
- w.push(...W);
1133
+ N.push(...$);
1324
1134
  } else
1325
- w.push(S);
1326
- l(f, w);
1327
- }, pe = i(() => {
1328
- if (!C.value)
1135
+ N.push(S);
1136
+ l(f, N);
1137
+ }, ce = n(() => {
1138
+ if (!x.value)
1329
1139
  return t.selectedValues;
1330
- const f = (y) => p.value.includes(y.value), S = (y) => y.lazyLoad && f(y) ? !0 : !t.staticCategories && y.items.length > 0 && y.items.every((F) => f(F)), O = t.items.flatMap(
1331
- (y) => y.items && !S(y) ? y.items : y
1332
- ), w = O.filter((y) => y.items ? !0 : f(y)), P = /* @__PURE__ */ new Set();
1333
- O.forEach((y) => {
1334
- var F;
1335
- P.add(y.value), (F = y.items) == null || F.forEach((Y) => P.add(Y.value));
1140
+ const f = (O) => b.value.includes(O.value), S = (O) => O.lazyLoad && f(O) ? !0 : !t.staticCategories && O.items.length > 0 && O.items.every((ve) => f(ve)), E = t.items.flatMap(
1141
+ (O) => O.items && !S(O) ? O.items : O
1142
+ ), N = E.filter((O) => O.items ? !0 : f(O)), C = /* @__PURE__ */ new Set();
1143
+ E.forEach((O) => {
1144
+ C.add(O.value), O.items?.forEach((ve) => C.add(ve.value));
1336
1145
  });
1337
- const W = t.selectedValues.filter((y) => !P.has(y.value));
1338
- return [...w, ...W];
1339
- }), fe = i(() => {
1340
- var O, w, P, W, y;
1341
- if (!((O = pe.value) != null && O.length))
1146
+ const $ = t.selectedValues.filter((O) => !C.has(O.value));
1147
+ return [...N, ...$];
1148
+ }), de = n(() => {
1149
+ if (!ce.value?.length)
1342
1150
  return !1;
1343
- const f = ["automatic", "button"].includes(t.lazyLoadType), S = ((w = t.selectedValues) == null ? void 0 : w.length) > 0 && ((P = D.value) == null ? void 0 : P.length) !== ((W = k.value) == null ? void 0 : W.length);
1344
- return f && t.hasMoreItems ? !!((y = t.selectedValues) != null && y.length) : S;
1345
- }), be = i(() => N.value ? !1 : ["automatic", "button"].includes(t.lazyLoadType) ? !t.hasMoreItems : !0), ee = E([]), { visibleDomOptions: me, updateVisibleDomOptions: Oe } = Ge(
1346
- d,
1347
- j(t, "items"),
1348
- R
1349
- ), Ne = (f) => {
1350
- ee.value.includes(f) ? ee.value = ee.value.filter((S) => S !== f) : ee.value.push(f), H(() => {
1351
- Oe();
1151
+ const f = ["automatic", "button"].includes(t.lazyLoadType), S = t.selectedValues?.length > 0 && T.value?.length !== w.value?.length;
1152
+ return f && t.hasMoreItems ? !!t.selectedValues?.length : S;
1153
+ }), ue = n(() => M.value ? !1 : ["automatic", "button"].includes(t.lazyLoadType) ? !t.hasMoreItems : !0), J = L([]), { visibleDomOptions: pe, updateVisibleDomOptions: xe } = ze(
1154
+ c,
1155
+ q(t, "items"),
1156
+ D
1157
+ ), Be = (f) => {
1158
+ J.value.includes(f) ? J.value = J.value.filter((S) => S !== f) : J.value.push(f), Y(() => {
1159
+ xe();
1352
1160
  });
1353
- }, ve = (f) => {
1354
- var S;
1355
- (S = me.value[f]) == null || S.focus();
1161
+ }, fe = (f) => {
1162
+ pe.value[f]?.focus();
1356
1163
  }, {
1357
- moveToNextElement: Se,
1358
- moveToPreviousElement: ye,
1359
- moveToFirstElement: xe,
1360
- moveToLastElement: re,
1361
- preventDefault: _e,
1362
- focusedIndex: Le,
1363
- setListboxFocusedIndex: Ee
1364
- } = st(
1164
+ moveToNextElement: ge,
1165
+ moveToPreviousElement: be,
1166
+ moveToFirstElement: he,
1167
+ moveToLastElement: se,
1168
+ preventDefault: me,
1169
+ focusedIndex: Ce,
1170
+ setListboxFocusedIndex: Le
1171
+ } = tt(
1365
1172
  {
1366
- items: me
1173
+ items: pe
1367
1174
  },
1368
- ve
1369
- ), Ie = {
1370
- [V.ARROW_UP]: (f) => ye(f),
1371
- [V.ARROW_DOWN]: (f) => Se(f),
1372
- [V.HOME]: xe,
1373
- [V.END]: re
1175
+ fe
1176
+ ), Oe = {
1177
+ [z.ARROW_UP]: (f) => be(f),
1178
+ [z.ARROW_DOWN]: (f) => ge(f),
1179
+ [z.HOME]: he,
1180
+ [z.END]: se
1374
1181
  };
1375
1182
  e({
1376
1183
  /**
1377
1184
  * Method to set the index of the item to be focused on
1378
1185
  * Used for focus management to be kept in-sync with parent e.g. dropdowns
1379
1186
  */
1380
- setListboxFocusedIndex: Ee
1187
+ setListboxFocusedIndex: Le
1381
1188
  });
1382
- const we = {
1383
- [V.ARROW_UP]: _e,
1384
- [V.ARROW_DOWN]: _e
1385
- }, $e = i(() => {
1386
- let f = be.value ? 1 : 0;
1189
+ const Ie = {
1190
+ [z.ARROW_UP]: me,
1191
+ [z.ARROW_DOWN]: me
1192
+ }, Re = n(() => {
1193
+ let f = ue.value ? 1 : 0;
1387
1194
  const S = {};
1388
- return t.items.forEach((O) => {
1389
- let w = ee.value.includes(O.value);
1390
- O.items ? (t.staticCategories ? w = !0 : S[O.value] = f++, w && O.items.forEach((P) => S[P.value] = f++)) : S[O.value] = f++;
1195
+ return t.items.forEach((E) => {
1196
+ let N = J.value.includes(E.value);
1197
+ E.items ? (t.staticCategories ? N = !0 : S[E.value] = f++, N && E.items.forEach((C) => S[C.value] = f++)) : S[E.value] = f++;
1391
1198
  }), S;
1392
1199
  });
1393
- return { __sfc: !0, props: t, emit: l, t: s, n: o, slots: n, attrs: r, ariaAttributes: v, listboxRef: d, selectAllListboxItemsRef: c, selectedListboxItemsRef: _, listboxItemsRef: b, selectedItemsList: p, isMultiLevelSelect: C, flattenedItemsList: x, hasLazyLoadCategory: N, lazyLoadAwareFlattenedItems: M, isTreePattern: h, computedRole: T, computedOptionRole: R, optionStates: A, enabledItems: k, visibleSelectedList: D, calculateTotalItems: G, selectAllCheckboxText: K, selectAll: g, unselectAll: B, selectAllItems: L, unselectAllItems: m, isAllSelected: I, isIndeterminate: J, toggleSelectAll: $, ariaCheckedComputed: X, isSelectAllOn: se, handleSelectAll: ue, selectAllCategory: he, unselectAllCategory: Re, toggleCheckboxSelection: Me, selectedOptions: pe, showSelectedItems: fe, showSelectAllCheckbox: be, expandedCategories: ee, visibleDomOptions: me, updateVisibleDomOptions: Oe, toggleCategoryVisibility: Ne, focusItem: ve, moveToNextElement: Se, moveToPreviousElement: ye, moveToFirstElement: xe, moveToLastElement: re, preventDefault: _e, focusedIndex: Le, setListboxFocusedIndex: Ee, listboxListeners: Ie, chipsSectionListeners: we, computedItemsIndex: $e, DecorativeCheckbox: We, BentoTypography: ne, BentoChip: xt, BentoListboxOption: Be, ListboxMultiSelectOptions: Bl, vBentoKeyboardNavigationDirective: De, BentoListboxEvent: u };
1200
+ return { __sfc: !0, props: t, emit: l, t: s, n: o, slots: i, attrs: p, ariaAttributes: _, listboxRef: c, selectAllListboxItemsRef: r, selectedListboxItemsRef: m, listboxItemsRef: u, selectedItemsList: b, isMultiLevelSelect: x, flattenedItemsList: g, hasLazyLoadCategory: M, lazyLoadAwareFlattenedItems: B, isTreePattern: v, computedRole: I, computedOptionRole: D, optionStates: A, enabledItems: w, visibleSelectedList: T, calculateTotalItems: G, selectAllCheckboxText: U, selectAll: h, unselectAll: R, selectAllItems: k, unselectAllItems: y, isAllSelected: P, isIndeterminate: ie, toggleSelectAll: K, ariaCheckedComputed: j, isSelectAllOn: ee, handleSelectAll: re, selectAllCategory: _e, unselectAllCategory: ke, toggleCheckboxSelection: De, selectedOptions: ce, showSelectedItems: de, showSelectAllCheckbox: ue, expandedCategories: J, visibleDomOptions: pe, updateVisibleDomOptions: xe, toggleCategoryVisibility: Be, focusItem: fe, moveToNextElement: ge, moveToPreviousElement: be, moveToFirstElement: he, moveToLastElement: se, preventDefault: me, focusedIndex: Ce, setListboxFocusedIndex: Le, listboxListeners: Oe, chipsSectionListeners: Ie, computedItemsIndex: Re, DecorativeCheckbox: Ve, BentoTypography: le, BentoChip: gt, BentoListboxOption: Ae, ListboxMultiSelectOptions: Al, vBentoKeyboardNavigationDirective: Te, BentoListboxEvent: d };
1394
1201
  }
1395
1202
  });
1396
- var $l = function() {
1203
+ var Rl = function() {
1397
1204
  var e = this, l = e._self._c, t = e._self._setupProxy;
1398
1205
  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) {
1399
1206
  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) {
@@ -1410,34 +1217,34 @@ var $l = function() {
1410
1217
  }, "enter-pressed": function(s) {
1411
1218
  return t.toggleCheckboxSelection(t.BentoListboxEvent.ENTER, s);
1412
1219
  } }, scopedSlots: e._u([e._l(t.slots, function(s, o) {
1413
- return { key: o, fn: function(n) {
1414
- return [e._t(o, null, null, n)];
1220
+ return { key: o, fn: function(i) {
1221
+ return [e._t(o, null, null, i)];
1415
1222
  } };
1416
1223
  })], null, !0) })], 1)]);
1417
- }, Pl = [], Fl = /* @__PURE__ */ U(
1418
- Nl,
1419
- $l,
1420
- Pl,
1224
+ }, Ml = [], Nl = /* @__PURE__ */ V(
1225
+ Bl,
1226
+ Rl,
1227
+ Ml,
1421
1228
  !1,
1422
1229
  null,
1423
1230
  "78b94290"
1424
1231
  );
1425
- const je = Fl.exports, rt = (a, e = 300) => {
1232
+ const Ke = Nl.exports, ot = (a, e = 300) => {
1426
1233
  let l;
1427
1234
  return (...s) => {
1428
1235
  l && clearTimeout(l), l = setTimeout(() => a(...s), e);
1429
1236
  };
1430
- }, zl = 36, Vl = z({
1237
+ }, $l = 36, Pl = F({
1431
1238
  name: "bento-listbox",
1432
1239
  components: {
1433
- BentoEmptyState: lt,
1434
- BentoListboxSingleSelect: Qt,
1435
- BentoListboxMultiSelect: je,
1436
- BentoTypography: ne,
1437
- BentoLoadingIndicator: tt,
1438
- BentoListboxLazyLoad: nt
1439
- },
1440
- directives: { BentoKeyboardNavigationDirective: De },
1240
+ BentoEmptyState: Qe,
1241
+ BentoListboxSingleSelect: Jt,
1242
+ BentoListboxMultiSelect: Ke,
1243
+ BentoTypography: le,
1244
+ BentoLoadingIndicator: Ze,
1245
+ BentoListboxLazyLoad: at
1246
+ },
1247
+ directives: { BentoKeyboardNavigationDirective: Te },
1441
1248
  props: {
1442
1249
  /**
1443
1250
  * Defines a string value that labels an interactive element.
@@ -1493,8 +1300,8 @@ const je = Fl.exports, rt = (a, e = 300) => {
1493
1300
  */
1494
1301
  lazyLoadType: {
1495
1302
  type: String,
1496
- default: le.NONE,
1497
- validator: (a) => Object.values(le).includes(a)
1303
+ default: Z.NONE,
1304
+ validator: (a) => Object.values(Z).includes(a)
1498
1305
  },
1499
1306
  /**
1500
1307
  * Indicates the listbox is loading filtered items.
@@ -1518,7 +1325,7 @@ const je = Fl.exports, rt = (a, e = 300) => {
1518
1325
  *
1519
1326
  * If enabled, hides the "Select all" checkbox in "multiple" mode.
1520
1327
  */
1521
- searching: je.props.searching,
1328
+ searching: Ke.props.searching,
1522
1329
  /**
1523
1330
  * The `input` value.
1524
1331
  * Providing an empty string or empty array will select no options.
@@ -1538,170 +1345,163 @@ const je = Fl.exports, rt = (a, e = 300) => {
1538
1345
  }
1539
1346
  },
1540
1347
  emits: [
1541
- u.SELECT,
1542
- u.SPACE,
1543
- u.SHOW_MORE,
1544
- u.ENTER,
1545
- u.ESCAPE,
1546
- u.TAB
1348
+ d.SELECT,
1349
+ d.SPACE,
1350
+ d.SHOW_MORE,
1351
+ d.ENTER,
1352
+ d.ESCAPE,
1353
+ d.TAB
1547
1354
  ],
1548
1355
  setup(a, { emit: e, slots: l, expose: t }) {
1549
- const s = E([]), o = j(a, "items"), n = i(() => a.lazyLoadType !== le.AUTOMATIC), r = i(() => a.lazyLoadType === le.AUTOMATIC), v = () => {
1550
- var $;
1551
- return typeof (a == null ? void 0 : a.virtualScroll) == "object" && (($ = a == null ? void 0 : a.virtualScroll) != null && $.itemHeight) ? a.virtualScroll.itemHeight : zl;
1552
- }, d = !(a != null && a.multiple) && (a == null ? void 0 : a.virtualScroll) !== !1 && (a == null ? void 0 : a.lazyLoadType) === "none", {
1553
- containerRef: c,
1554
- containerProps: _,
1555
- onScroll: b,
1556
- list: p,
1557
- wrapperProps: C,
1558
- scrollToIndex: x,
1559
- startIndex: N
1560
- } = Tt(o, {
1561
- itemHeight: v(),
1356
+ const s = L([]), o = q(a, "items"), i = n(() => a.lazyLoadType !== Z.AUTOMATIC), p = n(() => a.lazyLoadType === Z.AUTOMATIC), _ = () => typeof a?.virtualScroll == "object" && a?.virtualScroll?.itemHeight ? a.virtualScroll.itemHeight : $l, c = !a?.multiple && a?.virtualScroll !== !1 && a?.lazyLoadType === "none", {
1357
+ containerRef: r,
1358
+ containerProps: m,
1359
+ onScroll: u,
1360
+ list: b,
1361
+ wrapperProps: x,
1362
+ scrollToIndex: g,
1363
+ startIndex: M
1364
+ } = It(o, {
1365
+ itemHeight: _(),
1562
1366
  // Disable virtual scrolling if not enabled or if lazy loading is enabled or if multi-select
1563
- disabled: !d
1564
- }), M = i(() => d ? o.value.length : 0), h = i(
1565
- () => a.componentLoading !== void 0 || n.value ? "true" : void 0
1566
- ), T = i(
1567
- () => n.value && a.loading || a.componentLoading ? "true" : "false"
1568
- ), R = i(
1569
- () => n.value || a.componentLoading !== void 0 ? "polite" : void 0
1570
- ), A = i(
1367
+ disabled: !c
1368
+ }), B = n(() => c ? o.value.length : 0), v = n(
1369
+ () => a.componentLoading !== void 0 || i.value ? "true" : void 0
1370
+ ), I = n(
1371
+ () => i.value && a.loading || a.componentLoading ? "true" : "false"
1372
+ ), D = n(
1373
+ () => i.value || a.componentLoading !== void 0 ? "polite" : void 0
1374
+ ), A = n(
1571
1375
  () => ({
1572
1376
  "aria-label": a.ariaLabel,
1573
- "aria-busy": T.value,
1574
- "aria-atomic": h.value,
1575
- "aria-live": R.value
1377
+ "aria-busy": I.value,
1378
+ "aria-atomic": v.value,
1379
+ "aria-live": D.value
1576
1380
  })
1577
- ), k = i(
1381
+ ), w = n(
1578
1382
  () => a.componentLoading ? {
1579
1383
  ...A.value,
1580
1384
  role: "alert"
1581
1385
  } : {}
1582
- ), D = ($) => (X) => {
1583
- e($, X);
1386
+ ), T = (K) => (j) => {
1387
+ e(K, j);
1584
1388
  }, G = () => {
1585
- e(u.SHOW_MORE);
1586
- }, K = rt(() => {
1587
- const $ = c.value;
1588
- if (!$)
1389
+ e(d.SHOW_MORE);
1390
+ }, U = ot(() => {
1391
+ const K = r.value;
1392
+ if (!K)
1589
1393
  return;
1590
- const X = Math.round($.scrollTop) + $.clientHeight >= $.scrollHeight;
1591
- a.hasMoreItems && X && !a.loading && G();
1592
- }), g = () => {
1593
- r.value ? K() : b();
1594
- }, B = i(() => {
1595
- var $;
1596
- return (($ = a.items) == null ? void 0 : $.length) === 0;
1597
- }), L = i(
1598
- () => a.lazyLoadType === le.BUTTON && a.hasMoreItems
1599
- ), m = i(
1600
- () => a.loading ? ke.LOADING : ke.START
1601
- ), I = i(() => ({
1394
+ const j = Math.round(K.scrollTop) + K.clientHeight >= K.scrollHeight;
1395
+ a.hasMoreItems && j && !a.loading && G();
1396
+ }), h = () => {
1397
+ p.value ? U() : u();
1398
+ }, R = n(() => a.items?.length === 0), k = n(
1399
+ () => a.lazyLoadType === Z.BUTTON && a.hasMoreItems
1400
+ ), y = n(
1401
+ () => a.loading ? we.LOADING : we.START
1402
+ ), P = n(() => ({
1602
1403
  ...a.emptyState,
1603
1404
  variant: "condensed"
1604
- })), J = {
1605
- [u.SELECT]: D(u.SELECT),
1606
- [u.SPACE]: D(u.SPACE),
1607
- [u.TAB]: D(u.TAB),
1608
- [u.ENTER]: D(u.ENTER)
1405
+ })), ie = {
1406
+ [d.SELECT]: T(d.SELECT),
1407
+ [d.SPACE]: T(d.SPACE),
1408
+ [d.TAB]: T(d.TAB),
1409
+ [d.ENTER]: T(d.ENTER)
1609
1410
  };
1610
- return t({ listboxRef: c, listboxItemRef: s }), {
1411
+ return t({ listboxRef: r, listboxItemRef: s }), {
1611
1412
  // Refs
1612
- listboxRef: c,
1413
+ listboxRef: r,
1613
1414
  listboxItemRef: s,
1614
1415
  // a11y
1615
1416
  ariaAttributes: A,
1616
- listboxContainerAttributes: k,
1417
+ listboxContainerAttributes: w,
1617
1418
  // Values
1618
- containerProps: _,
1619
- isSearchResultEmpty: B,
1620
- limitedEmptyStateProps: I,
1621
- loadingButtonState: m,
1419
+ containerProps: m,
1420
+ isSearchResultEmpty: R,
1421
+ limitedEmptyStateProps: P,
1422
+ loadingButtonState: y,
1622
1423
  slots: l,
1623
- shouldDisplayShowMoreButton: L,
1624
- virtualisedItems: p,
1625
- wrapperProps: C,
1424
+ shouldDisplayShowMoreButton: k,
1425
+ virtualisedItems: b,
1426
+ wrapperProps: x,
1626
1427
  // Virtual scroll
1627
- totalItemCount: M,
1628
- scrollToIndex: x,
1629
- virtualScrollStartIndex: N,
1428
+ totalItemCount: B,
1429
+ scrollToIndex: g,
1430
+ virtualScrollStartIndex: M,
1630
1431
  // Enums
1631
- BentoKeyboardNavigationKeyDownEvent: V,
1632
- BentoListboxEvent: u,
1432
+ BentoKeyboardNavigationKeyDownEvent: z,
1433
+ BentoListboxEvent: d,
1633
1434
  // Methods
1634
- onListboxContainerScroll: g,
1635
- onOptionSelected: D,
1435
+ onListboxContainerScroll: h,
1436
+ onOptionSelected: T,
1636
1437
  emitShowMore: G,
1637
- listboxListeners: J
1438
+ listboxListeners: ie
1638
1439
  };
1639
1440
  }
1640
1441
  });
1641
- var Ul = function() {
1642
- var t;
1442
+ var Fl = function() {
1643
1443
  var e = this, l = e._self._c;
1644
- 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) {
1645
- return { key: o, fn: function(n) {
1646
- return [e._t(o, null, null, n)];
1444
+ 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: e.containerProps?.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(t, s) {
1445
+ return { key: s, fn: function(o) {
1446
+ return [e._t(s, null, null, o)];
1647
1447
  } };
1648
- })], null, !0) }, "bento-listbox-multi-select", e.ariaAttributes, !1), e.listboxListeners))] : [l("bento-listbox-single-select", e._g(e._b({ ref: "listboxItemRef", attrs: { items: e.virtualisedItems, "total-item-count": e.totalItemCount, "scroll-to-index": e.scrollToIndex, "virtual-scroll-start-index": e.virtualScrollStartIndex, "selected-value": e.selectedValue, "static-categories": e.staticCategories, "is-option-disabled": e.isOptionDisabled }, scopedSlots: e._u([e._l(e.slots, function(s, o) {
1649
- return { key: o, fn: function(n) {
1650
- return [e._t(o, null, null, n)];
1448
+ })], null, !0) }, "bento-listbox-multi-select", e.ariaAttributes, !1), e.listboxListeners))] : [l("bento-listbox-single-select", e._g(e._b({ ref: "listboxItemRef", attrs: { items: e.virtualisedItems, "total-item-count": e.totalItemCount, "scroll-to-index": e.scrollToIndex, "virtual-scroll-start-index": e.virtualScrollStartIndex, "selected-value": e.selectedValue, "static-categories": e.staticCategories, "is-option-disabled": e.isOptionDisabled }, scopedSlots: e._u([e._l(e.slots, function(t, s) {
1449
+ return { key: s, fn: function(o) {
1450
+ return [e._t(s, null, null, o)];
1651
1451
  } };
1652
1452
  })], null, !0) }, "bento-listbox-single-select", e.ariaAttributes, !1), e.listboxListeners))], e.lazyLoadType !== "none" ? l("bento-listbox-lazy-load", { attrs: { "has-more-items": e.hasMoreItems, loading: e.loading, type: e.lazyLoadType }, on: { "show-more": e.emitShowMore } }) : e._e()]], 2)]);
1653
- }, Gl = [], Wl = /* @__PURE__ */ U(
1654
- Vl,
1655
- Ul,
1656
- Gl,
1453
+ }, zl = [], Vl = /* @__PURE__ */ V(
1454
+ Pl,
1455
+ Fl,
1456
+ zl,
1657
1457
  !1,
1658
1458
  null,
1659
1459
  "6756a7d9"
1660
1460
  );
1661
- const Fe = Wl.exports, ze = (a, e) => {
1461
+ const Ne = Vl.exports, $e = (a, e) => {
1662
1462
  for (const l of a) {
1663
1463
  if (l.value === e)
1664
1464
  return l;
1665
1465
  if (l.items) {
1666
- const t = ze(l.items, e);
1466
+ const t = $e(l.items, e);
1667
1467
  if (t)
1668
1468
  return t;
1669
1469
  }
1670
1470
  }
1671
1471
  return null;
1672
- }, Kl = (a) => typeof a == "object" && a !== null && "value" in a && "label" in a, ql = (a, e, l, t) => {
1673
- const s = E([]), o = E(), n = (c) => {
1674
- l.value ? o.value = c.map(({ value: _ }) => _) : o.value = c.length > 0 ? c[0].value : null;
1675
- }, r = (c) => {
1676
- l.value ? o.value = c.map(({ value: _, label: b }) => ({ value: _, label: b })) : o.value = c.length > 0 ? { value: c[0].value, label: c[0].label } : null;
1677
- }, v = (c) => {
1678
- s.value = c, t != null && t.value ? r(c) : n(c);
1679
- }, d = () => {
1472
+ }, Gl = (a) => typeof a == "object" && a !== null && "value" in a && "label" in a, Ul = (a, e, l, t) => {
1473
+ const s = L([]), o = L(), i = (r) => {
1474
+ l.value ? o.value = r.map(({ value: m }) => m) : o.value = r.length > 0 ? r[0].value : null;
1475
+ }, p = (r) => {
1476
+ l.value ? o.value = r.map(({ value: m, label: u }) => ({ value: m, label: u })) : o.value = r.length > 0 ? { value: r[0].value, label: r[0].label } : null;
1477
+ }, _ = (r) => {
1478
+ s.value = r, t?.value ? p(r) : i(r);
1479
+ }, c = () => {
1680
1480
  s.value = [], o.value = null;
1681
1481
  };
1682
- return ae(
1482
+ return Q(
1683
1483
  () => e.value,
1684
1484
  () => {
1685
1485
  if (!e.value && e.value !== 0) {
1686
- d();
1486
+ c();
1687
1487
  return;
1688
1488
  }
1689
- const c = !Array.isArray(e.value), _ = [...s.value];
1690
- d();
1691
- const b = (p) => {
1692
- if (Kl(p))
1693
- s.value.push(p);
1489
+ const r = !Array.isArray(e.value), m = [...s.value];
1490
+ c();
1491
+ const u = (b) => {
1492
+ if (Gl(b))
1493
+ s.value.push(b);
1694
1494
  else {
1695
- let C = ze(a.value, p);
1696
- C || (C = ze(_, p)), C || (C = { value: p, label: p.toString() }), s.value.push(C);
1495
+ let x = $e(a.value, b);
1496
+ x || (x = $e(m, b)), x || (x = { value: b, label: b.toString() }), s.value.push(x);
1697
1497
  }
1698
1498
  };
1699
- if (c) {
1700
- const p = e.value;
1701
- b(p), t != null && t.value ? r(s.value) : n(s.value);
1499
+ if (r) {
1500
+ const b = e.value;
1501
+ u(b), t?.value ? p(s.value) : i(s.value);
1702
1502
  return;
1703
1503
  }
1704
- e.value.forEach(b), t != null && t.value ? r(s.value) : n(s.value);
1504
+ e.value.forEach(u), t?.value ? p(s.value) : i(s.value);
1705
1505
  },
1706
1506
  { immediate: !0 }
1707
1507
  ), {
@@ -1709,123 +1509,79 @@ const Fe = Wl.exports, ze = (a, e) => {
1709
1509
  cachedSelectedListboxOptions: s,
1710
1510
  cachedListboxSelectedValues: o,
1711
1511
  // Methods
1712
- resetCache: d,
1713
- setCachedValues: v
1512
+ resetCache: c,
1513
+ setCachedValues: _
1714
1514
  };
1715
1515
  };
1716
- var ge = /* @__PURE__ */ ((a) => (a.DEFAULT = "DropdownInputDefault", a.SMALL = "DropdownInputSmall", a))(ge || {});
1717
- const Yl = {
1718
- "de-DE": {
1719
- apply: "Anwenden",
1720
- cancel: "Abbrechen",
1721
- noOptionsMatchThisSearch: "Für diese Suche wurden keine Ergebnisse gefunden."
1722
- },
1723
- "en-GB": {
1724
- apply: "Apply",
1725
- cancel: "Cancel",
1726
- noOptionsMatchThisSearch: "No options match this search"
1727
- },
1728
- "en-US": {
1729
- apply: "Apply",
1730
- cancel: "Cancel",
1731
- noOptionsMatchThisSearch: "No options match this search"
1732
- },
1733
- "es-419": {
1734
- apply: "Aplicar",
1735
- cancel: "Cancelar",
1736
- noOptionsMatchThisSearch: "No se encontraron opciones que coincidan con esta búsqueda"
1737
- },
1738
- "es-ES": {
1739
- apply: "Aplicar",
1740
- cancel: "Cancelar",
1741
- noOptionsMatchThisSearch: "No hay opciones que coincidan con esta búsqueda"
1742
- },
1743
- "es-MX": {
1744
- apply: "Aplicar",
1745
- cancel: "Cancelar",
1746
- noOptionsMatchThisSearch: "No hay opciones que coincidan con esta búsqueda"
1747
- },
1748
- "fr-FR": {
1749
- apply: "Appliquer",
1750
- cancel: "Annuler",
1751
- noOptionsMatchThisSearch: "Aucune option ne correspond à cette recherche"
1752
- },
1753
- "it-IT": {
1754
- apply: "Applica",
1755
- cancel: "Annulla",
1756
- noOptionsMatchThisSearch: "Nessun risultato corrispondente a questa ricerca"
1757
- },
1758
- "ja-JP": {
1759
- apply: "適用",
1760
- cancel: "キャンセル",
1761
- noOptionsMatchThisSearch: "この検索に一致するオプションはありません"
1762
- },
1763
- "pt-BR": {
1764
- apply: "Aplicar",
1765
- cancel: "Cancelar",
1766
- noOptionsMatchThisSearch: "Nenhuma opção corresponde a esta busca"
1767
- },
1768
- "zh-CN": {
1769
- apply: "应用",
1770
- cancel: "取消",
1771
- noOptionsMatchThisSearch: "没有符合此搜索条件的选项"
1772
- }
1773
- }, jl = (a, e, l, t) => {
1774
- const s = E(a.value), { t: o } = ie();
1775
- ae(a, () => {
1516
+ var ye = /* @__PURE__ */ ((a) => (a.DEFAULT = "DropdownInputDefault", a.SMALL = "DropdownInputSmall", a))(ye || {});
1517
+ const Wl = {
1518
+ "de-DE": { apply: "Anwenden", cancel: "Abbrechen", noOptionsMatchThisSearch: "Für diese Suche wurden keine Ergebnisse gefunden." },
1519
+ "en-GB": { apply: "Apply", cancel: "Cancel", noOptionsMatchThisSearch: "No options match this search" },
1520
+ "en-US": { apply: "Apply", cancel: "Cancel", noOptionsMatchThisSearch: "No options match this search" },
1521
+ "es-419": { apply: "Aplicar", cancel: "Cancelar", noOptionsMatchThisSearch: "No se encontraron opciones que coincidan con esta búsqueda" },
1522
+ "es-ES": { apply: "Aplicar", cancel: "Cancelar", noOptionsMatchThisSearch: "No hay opciones que coincidan con esta búsqueda" },
1523
+ "es-MX": { apply: "Aplicar", cancel: "Cancelar", noOptionsMatchThisSearch: "No hay opciones que coincidan con esta búsqueda" },
1524
+ "fr-FR": { apply: "Appliquer", cancel: "Annuler", noOptionsMatchThisSearch: "Aucune option ne correspond à cette recherche" },
1525
+ "it-IT": { apply: "Applica", cancel: "Annulla", noOptionsMatchThisSearch: "Nessun risultato corrispondente a questa ricerca" },
1526
+ "ja-JP": { apply: "適用", cancel: "キャンセル", noOptionsMatchThisSearch: "この検索に一致するオプションはありません" },
1527
+ "pt-BR": { apply: "Aplicar", cancel: "Cancelar", noOptionsMatchThisSearch: "Nenhuma opção corresponde a esta busca" },
1528
+ "zh-CN": { apply: "应用", cancel: "取消", noOptionsMatchThisSearch: "没有符合此搜索条件的选项" }
1529
+ }, Kl = (a, e, l, t) => {
1530
+ const s = L(a.value), { t: o } = ae();
1531
+ Q(a, () => {
1776
1532
  s.value = a.value;
1777
1533
  });
1778
- const n = i(
1534
+ const i = n(
1779
1535
  () => JSON.stringify(s.value) === JSON.stringify(a.value)
1780
- ), r = () => {
1781
- t(u.SELECT, s.value), t(u.CLOSE_DROPDOWN);
1782
- }, v = () => {
1783
- s.value = a.value, t(u.CLOSE_DROPDOWN);
1784
- }, d = () => {
1536
+ ), p = () => {
1537
+ t(d.SELECT, s.value), t(d.CLOSE_DROPDOWN);
1538
+ }, _ = () => {
1539
+ s.value = a.value, t(d.CLOSE_DROPDOWN);
1540
+ }, c = () => {
1785
1541
  l.value && e.value && (s.value = a.value);
1786
- }, c = i(() => [
1542
+ }, r = n(() => [
1787
1543
  {
1788
1544
  title: o("apply"),
1789
- event: r,
1790
- disabled: n.value
1545
+ event: p,
1546
+ disabled: i.value
1791
1547
  },
1792
1548
  {
1793
1549
  title: o("cancel"),
1794
- event: v
1550
+ event: _
1795
1551
  }
1796
- ]), _ = (h) => {
1797
- s.value = h, e.value || t(u.SELECT, h);
1798
- }, b = (h) => {
1799
- _(h), t(u.TAB);
1800
- }, p = (h) => {
1801
- _(h), t(u.ENTER);
1802
- }, C = (h) => {
1803
- _(h), t(u.SPACE);
1804
- }, x = () => {
1805
- v(), t(u.ESCAPE);
1806
- }, N = () => {
1807
- t(u.SHOW_MORE);
1808
- }, M = {
1809
- [u.SELECT]: _,
1810
- [u.SHOW_MORE]: N,
1811
- [u.TAB]: b,
1812
- [u.SPACE]: C,
1813
- [u.ENTER]: p
1552
+ ]), m = (v) => {
1553
+ s.value = v, e.value || t(d.SELECT, v);
1554
+ }, u = (v) => {
1555
+ m(v), t(d.TAB);
1556
+ }, b = (v) => {
1557
+ m(v), t(d.ENTER);
1558
+ }, x = (v) => {
1559
+ m(v), t(d.SPACE);
1560
+ }, g = () => {
1561
+ _(), t(d.ESCAPE);
1562
+ }, M = () => {
1563
+ t(d.SHOW_MORE);
1564
+ }, B = {
1565
+ [d.SELECT]: m,
1566
+ [d.SHOW_MORE]: M,
1567
+ [d.TAB]: u,
1568
+ [d.SPACE]: x,
1569
+ [d.ENTER]: b
1814
1570
  };
1815
1571
  return {
1816
1572
  // Values
1817
- actions: c,
1573
+ actions: r,
1818
1574
  internalSelectedValue: s,
1819
1575
  // Methods
1820
- listeners: M,
1821
- onEscapeKey: x,
1822
- onOutsideDropdownClick: d
1576
+ listeners: B,
1577
+ onEscapeKey: g,
1578
+ onOutsideDropdownClick: c
1823
1579
  };
1824
- }, Hl = z({
1825
- i18n: { messages: Yl },
1580
+ }, ql = F({
1581
+ i18n: { messages: Wl },
1826
1582
  name: "bento-dropdown-options-container"
1827
- }), Jl = /* @__PURE__ */ z({
1828
- ...Hl,
1583
+ }), Yl = /* @__PURE__ */ F({
1584
+ ...ql,
1829
1585
  props: {
1830
1586
  /**
1831
1587
  * Defines a string value that labels an interactive element.
@@ -1884,8 +1640,8 @@ const Yl = {
1884
1640
  */
1885
1641
  lazyLoadType: {
1886
1642
  type: String,
1887
- default: le.AUTOMATIC,
1888
- validator: (a) => Object.values(le).includes(a)
1643
+ default: Z.AUTOMATIC,
1644
+ validator: (a) => Object.values(Z).includes(a)
1889
1645
  },
1890
1646
  /**
1891
1647
  * Indicates if new options are lazy loading.
@@ -1915,7 +1671,7 @@ const Yl = {
1915
1671
  *
1916
1672
  * If enabled, hides the "Select all" checkbox in "multiple" mode.
1917
1673
  */
1918
- searching: Fe.props.searching,
1674
+ searching: Ne.props.searching,
1919
1675
  /**
1920
1676
  * If enabled, dropdown will display non-selectable, static categories
1921
1677
  */
@@ -1924,7 +1680,7 @@ const Yl = {
1924
1680
  * Reference to the DOM element or Vue component for positioning
1925
1681
  * the Dropdown container.
1926
1682
  */
1927
- targetElement: { type: Ke.props.targetElement.type, required: !0 },
1683
+ targetElement: { type: Ge.props.targetElement.type, required: !0 },
1928
1684
  /**
1929
1685
  * Enables virtual scrolling if set to true or by providing an object with itemHeight function.
1930
1686
  * The itemHeight function is used to calculate the height of rendered item given it's index.
@@ -1936,28 +1692,27 @@ const Yl = {
1936
1692
  },
1937
1693
  emits: [],
1938
1694
  setup(a, { expose: e, emit: l }) {
1939
- const t = a, s = Ce(), { selectedValue: o, multiple: n } = Xe(t), r = E(null), { t: v } = ie(), d = i(() => t.open && !t.disabled), c = i(() => v("noOptionsMatchThisSearch")), _ = i(() => ({
1940
- "b-dropdown-options-container--single": !(t != null && t.multiple)
1941
- })), b = i(() => ({
1942
- "b-dropdown-options-container__listbox--single": !(t != null && t.multiple)
1943
- })), { actions: p, internalSelectedValue: C, listeners: x, onEscapeKey: N, onOutsideDropdownClick: M } = jl(o, n, d, l), h = i(() => t != null && t.multiple ? Ot : Ke), T = i(() => {
1944
- var A;
1945
- const R = {
1946
- "min-width": `${(A = t == null ? void 0 : t.targetElement) == null ? void 0 : A.clientWidth}px`,
1695
+ const t = a, s = Se(), { selectedValue: o, multiple: i } = je(t), p = L(null), { t: _ } = ae(), c = n(() => t.open && !t.disabled), r = n(() => _("noOptionsMatchThisSearch")), m = n(() => ({
1696
+ "b-dropdown-options-container--single": !t?.multiple
1697
+ })), u = n(() => ({
1698
+ "b-dropdown-options-container__listbox--single": !t?.multiple
1699
+ })), { actions: b, internalSelectedValue: x, listeners: g, onEscapeKey: M, onOutsideDropdownClick: B } = Kl(o, i, c, l), v = n(() => t?.multiple ? St : Ge), I = n(() => {
1700
+ const D = {
1701
+ "min-width": `${t?.targetElement?.clientWidth}px`,
1947
1702
  "max-width": "min(500px, 95%)"
1948
1703
  };
1949
- return t != null && t.multiple ? {
1704
+ return t?.multiple ? {
1950
1705
  actionsLayout: "space-between",
1951
1706
  ariaLabel: t.ariaLabel,
1952
- actions: p.value,
1707
+ actions: b.value,
1953
1708
  divider: !0,
1954
1709
  fallbackPosition: ["top-start"],
1955
- id: oe(`dropdown-options-${t.id}`),
1710
+ id: te(`dropdown-options-${t.id}`),
1956
1711
  open: t.open,
1957
1712
  position: "bottom-start",
1958
1713
  style: {
1959
1714
  width: "auto",
1960
- ...R
1715
+ ...D
1961
1716
  },
1962
1717
  targetElement: t.targetElement
1963
1718
  } : {
@@ -1965,79 +1720,57 @@ const Yl = {
1965
1720
  offset: [0, 8],
1966
1721
  position: "bottom-start",
1967
1722
  style: {
1968
- display: d.value ? "block" : "none",
1969
- ...R
1723
+ display: c.value ? "block" : "none",
1724
+ ...D
1970
1725
  },
1971
1726
  targetElement: t.targetElement
1972
1727
  };
1973
1728
  });
1974
1729
  return e({
1975
- onOutsideDropdownClick: M,
1976
- dropdownOptionsListboxRef: r
1977
- }), { __sfc: !0, slots: s, emit: l, props: t, selectedValue: o, multiple: n, dropdownOptionsListboxRef: r, t: v, isDropdownOpen: d, noResultsMessage: c, conditionalClasses: _, conditionalListboxClasses: b, actions: p, internalSelectedValue: C, listeners: x, onEscapeKey: N, onOutsideDropdownClick: M, popperContainerOrPopoverComponent: h, popperContainerOrPopoverProps: T, BentoListbox: Fe };
1730
+ onOutsideDropdownClick: B,
1731
+ dropdownOptionsListboxRef: p
1732
+ }), { __sfc: !0, slots: s, emit: l, props: t, selectedValue: o, multiple: i, dropdownOptionsListboxRef: p, t: _, isDropdownOpen: c, noResultsMessage: r, conditionalClasses: m, conditionalListboxClasses: u, actions: b, internalSelectedValue: x, listeners: g, onEscapeKey: M, onOutsideDropdownClick: B, popperContainerOrPopoverComponent: v, popperContainerOrPopoverProps: I, BentoListbox: Ne };
1978
1733
  }
1979
1734
  });
1980
- var Xl = function() {
1735
+ var jl = function() {
1981
1736
  var e = this, l = e._self._c, t = e._self._setupProxy;
1982
1737
  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) {
1983
1738
  s.stopPropagation();
1984
1739
  }, function(s) {
1985
1740
  return !s.type.indexOf("key") && e._k(s.keyCode, "esc", 27, s.key, ["Esc", "Escape"]) ? null : t.onEscapeKey.apply(null, arguments);
1986
1741
  }] } }, [l(t.BentoListbox, e._g({ ref: "dropdownOptionsListboxRef", staticClass: "b-dropdown-options-container__listbox", class: t.conditionalListboxClasses, attrs: { id: e.id, "aria-label": e.ariaLabel, "component-loading": e.componentLoading, "empty-state": e.emptyState, "is-option-disabled": e.isOptionDisabled, items: e.items, "selected-value": t.internalSelectedValue, multiple: t.multiple, "static-categories": e.staticCategories, "no-results-message": t.noResultsMessage, searching: e.searching, loading: e.loading, "lazy-load-type": e.lazyLoadType, "has-more-items": e.hasMoreItems, "virtual-scroll": e.virtualScroll }, scopedSlots: e._u([e._l(t.slots, function(s, o) {
1987
- return { key: o, fn: function(n) {
1988
- return [e._t(o, null, null, n)];
1742
+ return { key: o, fn: function(i) {
1743
+ return [e._t(o, null, null, i)];
1989
1744
  } };
1990
1745
  })], null, !0) }, t.listeners))], 1)]) : e._e();
1991
- }, Zl = [], Ql = /* @__PURE__ */ U(
1992
- Jl,
1993
- Xl,
1994
- Zl,
1746
+ }, Hl = [], Jl = /* @__PURE__ */ V(
1747
+ Yl,
1748
+ jl,
1749
+ Hl,
1995
1750
  !1,
1996
1751
  null,
1997
1752
  "1254877d"
1998
1753
  );
1999
- const ea = Ql.exports;
2000
- var Q = /* @__PURE__ */ ((a) => (a.DISABLED = "disabled", a.READONLY = "readonly", a.HAS_ITEMS = "has-items", a.OPENED = "opened", a.ERROR = "error", a))(Q || {}), q = /* @__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))(q || {});
2001
- const ta = /* @__PURE__ */ Symbol("dropdown small size injection key"), ct = /* @__PURE__ */ Symbol("dropdown underline style injection key"), la = {
2002
- "de-DE": {
2003
- clearSearch: "Suche löschen"
2004
- },
2005
- "en-GB": {
2006
- clearSearch: "Clear search"
2007
- },
2008
- "en-US": {
2009
- clearSearch: "Clear search"
2010
- },
2011
- "es-419": {
2012
- clearSearch: "Borrar búsqueda"
2013
- },
2014
- "es-ES": {
2015
- clearSearch: "Borrar búsqueda"
2016
- },
2017
- "es-MX": {
2018
- clearSearch: "Borrar búsqueda"
2019
- },
2020
- "fr-FR": {
2021
- clearSearch: "Effacer la recherche"
2022
- },
2023
- "it-IT": {
2024
- clearSearch: "Cancella ricerca"
2025
- },
2026
- "ja-JP": {
2027
- clearSearch: "検索をクリア"
2028
- },
2029
- "pt-BR": {
2030
- clearSearch: "Limpar busca"
2031
- },
2032
- "zh-CN": {
2033
- clearSearch: "清除搜索"
2034
- }
2035
- }, aa = z({
2036
- i18n: { messages: la },
1754
+ const Xl = Jl.exports;
1755
+ var H = /* @__PURE__ */ ((a) => (a.DISABLED = "disabled", a.READONLY = "readonly", a.HAS_ITEMS = "has-items", a.OPENED = "opened", a.ERROR = "error", a))(H || {}), W = /* @__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))(W || {});
1756
+ const Zl = /* @__PURE__ */ Symbol("dropdown small size injection key"), nt = /* @__PURE__ */ Symbol("dropdown underline style injection key"), Ql = {
1757
+ "de-DE": { clearSearch: "Suche löschen" },
1758
+ "en-GB": { clearSearch: "Clear search" },
1759
+ "en-US": { clearSearch: "Clear search" },
1760
+ "es-419": { clearSearch: "Borrar búsqueda" },
1761
+ "es-ES": { clearSearch: "Borrar búsqueda" },
1762
+ "es-MX": { clearSearch: "Borrar búsqueda" },
1763
+ "fr-FR": { clearSearch: "Effacer la recherche" },
1764
+ "it-IT": { clearSearch: "Cancella ricerca" },
1765
+ "ja-JP": { clearSearch: "検索をクリア" },
1766
+ "pt-BR": { clearSearch: "Limpar busca" },
1767
+ "zh-CN": { clearSearch: "清除搜索" }
1768
+ }, ea = F({
1769
+ i18n: { messages: Ql },
2037
1770
  name: "dropdown-base-textbox",
2038
1771
  inheritAttrs: !1
2039
- }), sa = /* @__PURE__ */ z({
2040
- ...aa,
1772
+ }), ta = /* @__PURE__ */ F({
1773
+ ...ea,
2041
1774
  props: {
2042
1775
  /**
2043
1776
  * The number of additional items that have been selected in the dropdown.
@@ -2123,60 +1856,57 @@ const ta = /* @__PURE__ */ Symbol("dropdown small size injection key"), ct = /*
2123
1856
  },
2124
1857
  emits: [],
2125
1858
  setup(a, { expose: e, emit: l }) {
2126
- const t = a, { t: s } = ie(), o = Ve(), n = Ce(), r = Ze(n), v = E(null), d = oe("textbox"), c = Ue(ct, !1), _ = i(() => ({
2127
- [`b-dropdown-base-textbox--${Q.DISABLED}`]: t.disabled,
2128
- [`b-dropdown-base-textbox--${Q.READONLY}`]: t.readonly,
2129
- [`b-dropdown-base-textbox--${Q.HAS_ITEMS}`]: !!t.additionalItemsSelected,
2130
- "b-dropdown-base-textbox--underline": c
2131
- })), b = i(
2132
- () => M.value && o["aria-required"] ? "true" : null
2133
- ), p = i(() => ({
1859
+ const t = a, { t: s } = ae(), o = Pe(), i = Se(), p = He(i), _ = L(null), c = te("textbox"), r = Fe(nt, !1), m = n(() => ({
1860
+ [`b-dropdown-base-textbox--${H.DISABLED}`]: t.disabled,
1861
+ [`b-dropdown-base-textbox--${H.READONLY}`]: t.readonly,
1862
+ [`b-dropdown-base-textbox--${H.HAS_ITEMS}`]: !!t.additionalItemsSelected,
1863
+ "b-dropdown-base-textbox--underline": r
1864
+ })), u = n(
1865
+ () => B.value && o["aria-required"] ? "true" : null
1866
+ ), b = n(() => ({
2134
1867
  "b-dropdown-base-textbox__input--dynamic-filtering": t.dynamicFiltering
2135
- })), C = i(() => t.dynamicFiltering && !!t.value && t.open), x = i(
2136
- () => {
2137
- var g;
2138
- return {
2139
- "aria-haspopup": "listbox",
2140
- "aria-controls": t.ariaControls,
2141
- "aria-describedby": (g = o["aria-describedby"]) == null ? void 0 : g.toString(),
2142
- "aria-expanded": t.ariaExpanded ? "true" : "false",
2143
- "aria-labelledby": t.ariaLabelledby,
2144
- "aria-label": t.ariaLabelledby ? null : t.ariaLabel,
2145
- "aria-invalid": t.isInvalid,
2146
- "aria-disabled": t.disabled ? !0 : null,
2147
- "aria-required": o["aria-required"]
2148
- };
2149
- }
2150
- ), N = i(
1868
+ })), x = n(() => t.dynamicFiltering && !!t.value && t.open), g = n(
1869
+ () => ({
1870
+ "aria-haspopup": "listbox",
1871
+ "aria-controls": t.ariaControls,
1872
+ "aria-describedby": o["aria-describedby"]?.toString(),
1873
+ "aria-expanded": t.ariaExpanded ? "true" : "false",
1874
+ "aria-labelledby": t.ariaLabelledby,
1875
+ "aria-label": t.ariaLabelledby ? null : t.ariaLabel,
1876
+ "aria-invalid": t.isInvalid,
1877
+ "aria-disabled": t.disabled ? !0 : null,
1878
+ "aria-required": o["aria-required"]
1879
+ })
1880
+ ), M = n(
2151
1881
  () => t.multiple ? t.selectedValueItem : []
2152
- ), M = i(() => t.dynamicFiltering && (t.open || t.alwaysComboboxIsInput)), h = i(() => t.selectedValueItem && !t.multiple), T = i(
2153
- () => t.multiple && t.selectedValueItem && N.value.length > 0 && t.showSlotContentInMultiple
1882
+ ), B = n(() => t.dynamicFiltering && (t.open || t.alwaysComboboxIsInput)), v = n(() => t.selectedValueItem && !t.multiple), I = n(
1883
+ () => t.multiple && t.selectedValueItem && M.value.length > 0 && t.showSlotContentInMultiple
2154
1884
  );
2155
- ae(
2156
- () => M.value,
1885
+ Q(
1886
+ () => B.value,
2157
1887
  () => {
2158
- M.value && !t.alwaysComboboxIsInput && H(() => {
2159
- v.value.focus();
1888
+ B.value && !t.alwaysComboboxIsInput && Y(() => {
1889
+ _.value.focus();
2160
1890
  });
2161
1891
  }
2162
1892
  );
2163
- const R = async () => {
2164
- !t.disabled && !t.readonly && (l(q.OPEN), await H(), v.value.focus());
2165
- }, A = (g) => {
2166
- t.open && (g && de(g), v.value.focus(), l(q.CLOSE));
2167
- }, k = (g) => t.open && g.target.tagName === "INPUT" ? null : t.open ? A() : R(), D = () => {
2168
- l(q.CLEAR), l(q.INPUT, ""), v.value.focus();
2169
- }, G = (g) => {
2170
- !t.readonly && !t.disabled ? l(q.INPUT, g.target.value) : (g.preventDefault(), g.stopPropagation());
2171
- }, K = () => {
2172
- v.value.focus();
1893
+ const D = async () => {
1894
+ !t.disabled && !t.readonly && (l(W.OPEN), await Y(), _.value.focus());
1895
+ }, A = (h) => {
1896
+ t.open && (h && ne(h), _.value.focus(), l(W.CLOSE));
1897
+ }, w = (h) => t.open && h.target.tagName === "INPUT" ? null : t.open ? A() : D(), T = () => {
1898
+ l(W.CLEAR), l(W.INPUT, ""), _.value.focus();
1899
+ }, G = (h) => {
1900
+ !t.readonly && !t.disabled ? l(W.INPUT, h.target.value) : (h.preventDefault(), h.stopPropagation());
1901
+ }, U = () => {
1902
+ _.value.focus();
2173
1903
  };
2174
1904
  return e({
2175
- focus: K
2176
- }), { __sfc: !0, t: s, attrs: o, slots: n, hasSlot: r, props: t, emit: l, textbox: v, textboxId: d, isUnderlineStyle: c, conditionalClasses: _, showRequiredAttribute: b, comboboxConditionalClasses: p, isFiltering: C, ariaAttributes: x, selectedValueItems: N, shouldShowInput: M, shouldShowSingleSelectSlot: h, shouldShowMultipleSlot: T, onOpenDropdown: R, onCloseDropdown: A, onToggleDropdown: k, onClearSearch: D, onInputEvent: G, focus: K, BentoTypography: ne, DropdownBaseTextboxEvent: q, CrossCircleFillIcon: bt, CrossCircleFillSmallIcon: mt, BentoDropdownSize: ge };
1905
+ focus: U
1906
+ }), { __sfc: !0, t: s, attrs: o, slots: i, hasSlot: p, props: t, emit: l, textbox: _, textboxId: c, isUnderlineStyle: r, conditionalClasses: m, showRequiredAttribute: u, comboboxConditionalClasses: b, isFiltering: x, ariaAttributes: g, selectedValueItems: M, shouldShowInput: B, shouldShowSingleSelectSlot: v, shouldShowMultipleSlot: I, onOpenDropdown: D, onCloseDropdown: A, onToggleDropdown: w, onClearSearch: T, onInputEvent: G, focus: U, BentoTypography: le, DropdownBaseTextboxEvent: W, CrossCircleFillIcon: ut, CrossCircleFillSmallIcon: pt, BentoDropdownSize: ye };
2177
1907
  }
2178
1908
  });
2179
- var oa = function() {
1909
+ var la = function() {
2180
1910
  var e = this, l = e._self._c, t = e._self._setupProxy;
2181
1911
  return l("div", { class: e.$attrs.class, attrs: { "data-testid": "textbox-wrapper" }, on: { click: t.onToggleDropdown, keydown: function(s) {
2182
1912
  return !s.type.indexOf("key") && e._k(s.keyCode, "escape", void 0, s.key, void 0) ? null : t.onCloseDropdown.apply(null, arguments);
@@ -2197,19 +1927,19 @@ var oa = function() {
2197
1927
  }, keyup: function(s) {
2198
1928
  return !s.type.indexOf("key") && e._k(s.keyCode, "space", 32, s.key, [" ", "Spacebar"]) ? null : t.onClearSearch.apply(null, arguments);
2199
1929
  } } }, [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);
2200
- }, na = [], ia = /* @__PURE__ */ U(
2201
- sa,
2202
- oa,
2203
- na,
1930
+ }, aa = [], sa = /* @__PURE__ */ V(
1931
+ ta,
1932
+ la,
1933
+ aa,
2204
1934
  !1,
2205
1935
  null,
2206
1936
  "20b3acdb"
2207
1937
  );
2208
- const dt = ia.exports, ra = z({
1938
+ const it = sa.exports, oa = F({
2209
1939
  name: "dropdown-default-textbox",
2210
1940
  inheritAttrs: !1
2211
- }), ca = /* @__PURE__ */ z({
2212
- ...ra,
1941
+ }), na = /* @__PURE__ */ F({
1942
+ ...oa,
2213
1943
  props: {
2214
1944
  /**
2215
1945
  * The number of additional items that have been selected in the dropdown.
@@ -2297,94 +2027,94 @@ const dt = ia.exports, ra = z({
2297
2027
  },
2298
2028
  emits: ["clear", "close", "input", "keydown", "open"],
2299
2029
  setup(a, { expose: e, emit: l }) {
2300
- const t = a, s = Ce(), o = E(null), n = i(() => ({
2301
- [`b-dropdown-default-textbox--${Q.ERROR}`]: !t.disabled && !t.readonly && t.isInvalid,
2302
- [`b-dropdown-default-textbox--${Q.DISABLED}`]: t.disabled,
2303
- [`b-dropdown-default-textbox--${Q.READONLY}`]: t.readonly,
2304
- [`b-dropdown-default-textbox--${Q.OPENED}`]: t.open,
2030
+ const t = a, s = Se(), o = L(null), i = n(() => ({
2031
+ [`b-dropdown-default-textbox--${H.ERROR}`]: !t.disabled && !t.readonly && t.isInvalid,
2032
+ [`b-dropdown-default-textbox--${H.DISABLED}`]: t.disabled,
2033
+ [`b-dropdown-default-textbox--${H.READONLY}`]: t.readonly,
2034
+ [`b-dropdown-default-textbox--${H.OPENED}`]: t.open,
2305
2035
  "b-dropdown-default-textbox--condensed": t.condensed
2306
- })), r = i(() => t.open && !t.disabled && !t.readonly), v = (x) => {
2307
- l("input", x);
2308
- }, d = (x) => {
2309
- l("keydown", x);
2310
- }, c = (x) => {
2311
- de(x), l("open");
2312
- }, _ = (x) => {
2313
- de(x), l("close");
2314
- }, b = (x) => {
2315
- de(x), l("clear");
2316
- }, p = {
2317
- [q.INPUT]: v,
2318
- [q.OPEN]: c,
2319
- [q.CLOSE]: _,
2320
- [q.CLEAR]: b,
2321
- [q.KEYDOWN]: d
2322
- }, C = () => {
2036
+ })), p = n(() => t.open && !t.disabled && !t.readonly), _ = (g) => {
2037
+ l("input", g);
2038
+ }, c = (g) => {
2039
+ l("keydown", g);
2040
+ }, r = (g) => {
2041
+ ne(g), l("open");
2042
+ }, m = (g) => {
2043
+ ne(g), l("close");
2044
+ }, u = (g) => {
2045
+ ne(g), l("clear");
2046
+ }, b = {
2047
+ [W.INPUT]: _,
2048
+ [W.OPEN]: r,
2049
+ [W.CLOSE]: m,
2050
+ [W.CLEAR]: u,
2051
+ [W.KEYDOWN]: c
2052
+ }, x = () => {
2323
2053
  o.value.focus();
2324
2054
  };
2325
2055
  return e({
2326
- focus: C
2327
- }), { __sfc: !0, emit: l, slots: s, props: t, baseTextbox: o, conditionalClasses: n, isDropdownOpen: r, onInput: v, onKeyDown: d, openDropdown: c, closeDropdown: _, clearValue: b, listeners: p, focus: C, DropdownBaseTextbox: dt, ChevronDownIcon: Qe, ChevronUpIcon: et };
2056
+ focus: x
2057
+ }), { __sfc: !0, emit: l, slots: s, props: t, baseTextbox: o, conditionalClasses: i, isDropdownOpen: p, onInput: _, onKeyDown: c, openDropdown: r, closeDropdown: m, clearValue: u, listeners: b, focus: x, DropdownBaseTextbox: it, ChevronDownIcon: Je, ChevronUpIcon: Xe };
2328
2058
  }
2329
2059
  });
2330
- var da = function() {
2060
+ var ia = function() {
2331
2061
  var e = this, l = e._self._c, t = e._self._setupProxy;
2332
2062
  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) {
2333
- return { key: o, fn: function(n) {
2334
- return [e._t(o, null, null, n ?? {})];
2063
+ return { key: o, fn: function(i) {
2064
+ return [e._t(o, null, null, i ?? {})];
2335
2065
  } };
2336
2066
  }), { key: "icon", fn: function() {
2337
2067
  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)];
2338
2068
  }, proxy: !0 }], null, !0) }, "dropdown-base-textbox", { ...e.$attrs, ...e.$props }, !1), t.listeners))], 1);
2339
- }, ua = [], pa = /* @__PURE__ */ U(
2340
- ca,
2341
- da,
2342
- ua,
2069
+ }, ra = [], ca = /* @__PURE__ */ V(
2070
+ na,
2071
+ ia,
2072
+ ra,
2343
2073
  !1,
2344
2074
  null,
2345
2075
  "bf2d43b0"
2346
2076
  );
2347
- const fa = pa.exports;
2348
- let He = 0;
2349
- const ba = {
2077
+ const da = ca.exports;
2078
+ let qe = 0;
2079
+ const ua = {
2350
2080
  beforeCreate() {
2351
- this.uuid = He.toString(), He += 1;
2081
+ this.uuid = qe.toString(), qe += 1;
2352
2082
  }
2353
2083
  };
2354
- var ma = function() {
2084
+ var pa = function() {
2355
2085
  var e = this, l = e._self._c;
2356
2086
  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" } })]);
2357
- }, va = [], ya = /* @__PURE__ */ U(
2358
- ba,
2359
- ma,
2360
- va,
2087
+ }, fa = [], ba = /* @__PURE__ */ V(
2088
+ ua,
2089
+ pa,
2090
+ fa,
2361
2091
  !1,
2362
2092
  null,
2363
2093
  null
2364
2094
  );
2365
- const _a = ya.exports;
2366
- let Je = 0;
2367
- const ga = {
2095
+ const ma = ba.exports;
2096
+ let Ye = 0;
2097
+ const va = {
2368
2098
  beforeCreate() {
2369
- this.uuid = Je.toString(), Je += 1;
2099
+ this.uuid = Ye.toString(), Ye += 1;
2370
2100
  }
2371
2101
  };
2372
- var ha = function() {
2102
+ var ya = function() {
2373
2103
  var e = this, l = e._self._c;
2374
2104
  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" } })]);
2375
- }, Sa = [], xa = /* @__PURE__ */ U(
2376
- ga,
2377
- ha,
2378
- Sa,
2105
+ }, _a = [], ga = /* @__PURE__ */ V(
2106
+ va,
2107
+ ya,
2108
+ _a,
2379
2109
  !1,
2380
2110
  null,
2381
2111
  null
2382
2112
  );
2383
- const Ca = xa.exports, Oa = z({
2113
+ const ha = ga.exports, Sa = F({
2384
2114
  name: "dropdown-small-textbox",
2385
2115
  inheritAttrs: !1
2386
- }), La = /* @__PURE__ */ z({
2387
- ...Oa,
2116
+ }), xa = /* @__PURE__ */ F({
2117
+ ...Sa,
2388
2118
  props: {
2389
2119
  /**
2390
2120
  * The number of additional items that have been selected in the dropdown.
@@ -2441,237 +2171,183 @@ const Ca = xa.exports, Oa = z({
2441
2171
  },
2442
2172
  emits: ["clear", "close", "input", "keydown", "open"],
2443
2173
  setup(a, { expose: e, emit: l }) {
2444
- const t = a, s = E(null), o = Ue(ct, !1), n = i(() => ({
2445
- [`b-dropdown-small-textbox--${Q.DISABLED}`]: t.disabled,
2446
- [`b-dropdown-small-textbox--${Q.READONLY}`]: t.readonly,
2447
- [`b-dropdown-small-textbox--${Q.OPENED}`]: t.open,
2174
+ const t = a, s = L(null), o = Fe(nt, !1), i = n(() => ({
2175
+ [`b-dropdown-small-textbox--${H.DISABLED}`]: t.disabled,
2176
+ [`b-dropdown-small-textbox--${H.READONLY}`]: t.readonly,
2177
+ [`b-dropdown-small-textbox--${H.OPENED}`]: t.open,
2448
2178
  "b-dropdown-small-textbox--underline": o
2449
- })), r = i(() => t.open && !t.disabled && !t.readonly), v = (x) => {
2450
- l("input", x);
2451
- }, d = (x) => {
2452
- l("keydown", x);
2453
- }, c = (x) => {
2454
- de(x), l("open");
2455
- }, _ = (x) => {
2456
- de(x), l("close");
2457
- }, b = (x) => {
2458
- de(x), l("clear");
2459
- }, p = {
2460
- [q.INPUT]: v,
2461
- [q.OPEN]: c,
2462
- [q.CLOSE]: _,
2463
- [q.CLEAR]: b,
2464
- [q.KEYDOWN]: d
2465
- }, C = () => {
2179
+ })), p = n(() => t.open && !t.disabled && !t.readonly), _ = (g) => {
2180
+ l("input", g);
2181
+ }, c = (g) => {
2182
+ l("keydown", g);
2183
+ }, r = (g) => {
2184
+ ne(g), l("open");
2185
+ }, m = (g) => {
2186
+ ne(g), l("close");
2187
+ }, u = (g) => {
2188
+ ne(g), l("clear");
2189
+ }, b = {
2190
+ [W.INPUT]: _,
2191
+ [W.OPEN]: r,
2192
+ [W.CLOSE]: m,
2193
+ [W.CLEAR]: u,
2194
+ [W.KEYDOWN]: c
2195
+ }, x = () => {
2466
2196
  s.value.focus();
2467
2197
  };
2468
2198
  return e({
2469
- focus: C
2470
- }), { __sfc: !0, emit: l, props: t, baseTextbox: s, isUnderlineStyle: o, conditionalClasses: n, isDropdownOpen: r, onInput: v, onKeyDown: d, openDropdown: c, closeDropdown: _, clearValue: b, listeners: p, focus: C, BentoDropdownSize: ge, DropdownBaseTextbox: dt, ChevronDownSmallIcon: _a, ChevronUpSmallIcon: Ca };
2199
+ focus: x
2200
+ }), { __sfc: !0, emit: l, props: t, baseTextbox: s, isUnderlineStyle: o, conditionalClasses: i, isDropdownOpen: p, onInput: _, onKeyDown: c, openDropdown: r, closeDropdown: m, clearValue: u, listeners: b, focus: x, BentoDropdownSize: ye, DropdownBaseTextbox: it, ChevronDownSmallIcon: ma, ChevronUpSmallIcon: ha };
2471
2201
  }
2472
2202
  });
2473
- var Ea = function() {
2203
+ var Ca = function() {
2474
2204
  var e = this, l = e._self._c, t = e._self._setupProxy;
2475
2205
  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() {
2476
2206
  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)];
2477
2207
  }, proxy: !0 }]) }, "dropdown-base-textbox", { ...e.$attrs, ...e.$props }, !1), t.listeners))], 1);
2478
- }, Ia = [], wa = /* @__PURE__ */ U(
2208
+ }, La = [], Oa = /* @__PURE__ */ V(
2209
+ xa,
2210
+ Ca,
2479
2211
  La,
2480
- Ea,
2481
- Ia,
2482
2212
  !1,
2483
2213
  null,
2484
2214
  "fa225e76"
2485
2215
  );
2486
- const Ta = wa.exports, Aa = (a, e) => {
2487
- const l = /* @__PURE__ */ new Set(), t = new Set(a.value.map((o) => o.value)), s = e.value.reduce((o, n) => {
2488
- if (n.items)
2489
- if (t.has(n.value))
2490
- o.push(n.displayValue ?? n.label), l.add(n.value), n.items.forEach((v) => l.add(v.value));
2216
+ const Ia = Oa.exports, Ea = (a, e) => {
2217
+ const l = /* @__PURE__ */ new Set(), t = new Set(a.value.map((o) => o.value)), s = e.value.reduce((o, i) => {
2218
+ if (i.items)
2219
+ if (t.has(i.value))
2220
+ o.push(i.displayValue ?? i.label), l.add(i.value), i.items.forEach((_) => l.add(_.value));
2491
2221
  else {
2492
- const v = n.items.filter(
2493
- (c) => t.has(c.value)
2222
+ const _ = i.items.filter(
2223
+ (r) => t.has(r.value)
2494
2224
  );
2495
- v.length > 0 && v.length === n.items.length ? (o.push(n.displayValue ?? n.label), l.add(n.value), n.items.forEach((c) => l.add(c.value))) : v.forEach(({ label: c, displayValue: _, value: b }) => {
2496
- o.push(_ ?? c), l.add(b);
2225
+ _.length > 0 && _.length === i.items.length ? (o.push(i.displayValue ?? i.label), l.add(i.value), i.items.forEach((r) => l.add(r.value))) : _.forEach(({ label: r, displayValue: m, value: u }) => {
2226
+ o.push(m ?? r), l.add(u);
2497
2227
  });
2498
2228
  }
2499
2229
  else
2500
- t.has(n.value) && (o.push(n.displayValue ?? n.label), l.add(n.value));
2230
+ t.has(i.value) && (o.push(i.displayValue ?? i.label), l.add(i.value));
2501
2231
  return o;
2502
2232
  }, []);
2503
2233
  return a.value.forEach((o) => {
2504
2234
  l.has(o.value) || s.push(o.displayValue ?? o.label);
2505
2235
  }), s.join(", ");
2506
- }, ka = ({ items: a, placeholder: e, selectedValues: l, isMultiSelect: t }) => {
2507
- const s = i(
2508
- () => t.value && a.value.find((n) => {
2509
- var r;
2510
- return (r = n.items) == null ? void 0 : r.length;
2511
- })
2236
+ }, wa = ({ items: a, placeholder: e, selectedValues: l, isMultiSelect: t }) => {
2237
+ const s = n(
2238
+ () => t.value && a.value.find((i) => i.items?.length)
2512
2239
  );
2513
- return i(() => l.value.length ? s.value ? Aa(l, a) : l.value.map(({ label: n, displayValue: r }) => r ?? n).join(", ") : e.value || null);
2514
- }, ut = (a) => {
2515
- var e;
2516
- (e = a.value.$children) == null || e[0].$refs.textbox.focus();
2517
- }, Da = ({
2240
+ return n(() => l.value.length ? s.value ? Ea(l, a) : l.value.map(({ label: i, displayValue: p }) => p ?? i).join(", ") : e.value || null);
2241
+ }, rt = (a) => {
2242
+ a.value.$children?.[0].$refs.textbox.focus();
2243
+ }, Ta = ({
2518
2244
  inputContainerRef: a,
2519
2245
  optionsContainerRef: e,
2520
2246
  selectedValueIndex: l,
2521
2247
  isDropdownOpen: t,
2522
2248
  isDynamicFltering: s,
2523
2249
  items: o,
2524
- isMultiple: n,
2525
- totalItemCount: r,
2526
- isVirtualScroll: v
2527
- }, d, c, _) => {
2528
- const b = async (m) => {
2529
- var I;
2530
- s.value && await H(), (I = o.value[m]) == null || I.focus();
2531
- }, p = async (m) => {
2532
- var J, $;
2533
- s.value && await H();
2534
- const I = (J = e.value.$refs.dropdownOptionsListboxRef.$refs.listboxItemRef) == null ? void 0 : J.$el.querySelectorAll(
2250
+ isMultiple: i,
2251
+ totalItemCount: p,
2252
+ isVirtualScroll: _
2253
+ }, c, r, m) => {
2254
+ const u = async (y) => {
2255
+ s.value && await Y(), o.value[y]?.focus();
2256
+ }, b = async (y) => {
2257
+ s.value && await Y();
2258
+ const P = e.value.$refs.dropdownOptionsListboxRef.$refs.listboxItemRef?.$el.querySelectorAll(
2535
2259
  "button"
2536
2260
  );
2537
- I != null && I.length ? ($ = I[m]) == null || $.focus() : b(m);
2538
- }, C = (m) => {
2539
- var I;
2540
- return (I = e.value.$refs.dropdownOptionsListboxRef.$refs.listboxItemRef) == null ? void 0 : I.setListboxFocusedIndex(
2541
- m
2542
- );
2543
- }, x = async (m) => {
2544
- var I;
2545
- await ((I = e.value.$refs.dropdownOptionsListboxRef.$refs.listboxItemRef) == null ? void 0 : I.navigateToItem(m));
2546
- }, N = (m) => {
2547
- H(() => {
2548
- v ? x(m) : (C(m), b(m));
2261
+ P?.length ? P[y]?.focus() : u(y);
2262
+ }, x = (y) => e.value.$refs.dropdownOptionsListboxRef.$refs.listboxItemRef?.setListboxFocusedIndex(
2263
+ y
2264
+ ), g = async (y) => {
2265
+ await e.value.$refs.dropdownOptionsListboxRef.$refs.listboxItemRef?.navigateToItem(y);
2266
+ }, M = (y) => {
2267
+ Y(() => {
2268
+ _ ? g(y) : (x(y), u(y));
2549
2269
  });
2550
- }, M = () => {
2551
- t.value || c(), N(0);
2552
- }, h = () => {
2553
- t.value || c(), H(() => {
2554
- N(v ? r.value - 1 : o.value.length - 1);
2270
+ }, B = () => {
2271
+ t.value || r(), M(0);
2272
+ }, v = () => {
2273
+ t.value || r(), Y(() => {
2274
+ M(_ ? p.value - 1 : o.value.length - 1);
2555
2275
  });
2556
- }, T = (m) => {
2557
- m.preventDefault(), m.stopPropagation();
2558
- }, R = ({ detail: m }) => {
2559
- T(m), M();
2560
- }, A = ({ detail: m }) => {
2561
- T(m), h();
2562
- }, k = ({ detail: m }) => {
2563
- T(m), M();
2564
- }, D = ({ detail: m }) => {
2565
- T(m), h();
2566
- }, G = ({ detail: m }) => {
2567
- T(m), d(), t.value && (n ? p(0) : N(l.value));
2568
- }, K = ({ detail: m }) => {
2569
- T(m), d(), t.value && (n ? p(0) : N(l.value));
2570
- }, g = ({ detail: m }) => {
2571
- m.stopPropagation(), t.value && _();
2572
- }, B = ({ detail: m }) => {
2573
- m.stopPropagation(), t.value && (_(), ut(a));
2276
+ }, I = (y) => {
2277
+ y.preventDefault(), y.stopPropagation();
2278
+ }, D = ({ detail: y }) => {
2279
+ I(y), B();
2280
+ }, A = ({ detail: y }) => {
2281
+ I(y), v();
2282
+ }, w = ({ detail: y }) => {
2283
+ I(y), B();
2284
+ }, T = ({ detail: y }) => {
2285
+ I(y), v();
2286
+ }, G = ({ detail: y }) => {
2287
+ I(y), c(), t.value && (i ? b(0) : M(l.value));
2288
+ }, U = ({ detail: y }) => {
2289
+ I(y), c(), t.value && (i ? b(0) : M(l.value));
2290
+ }, h = ({ detail: y }) => {
2291
+ y.stopPropagation(), t.value && m();
2292
+ }, R = ({ detail: y }) => {
2293
+ y.stopPropagation(), t.value && (m(), rt(a));
2574
2294
  };
2575
- return i(() => ({
2576
- [V.ARROW_DOWN]: R,
2577
- [V.ARROW_UP]: A,
2578
- [V.HOME]: k,
2579
- [V.END]: D,
2580
- ...s.value ? {} : { [V.SPACE]: G },
2581
- [V.ENTER]: K,
2582
- ...s.value ? {} : { [V.TAB]: g },
2583
- [V.ESCAPE]: B
2295
+ return n(() => ({
2296
+ [z.ARROW_DOWN]: D,
2297
+ [z.ARROW_UP]: A,
2298
+ [z.HOME]: w,
2299
+ [z.END]: T,
2300
+ ...s.value ? {} : { [z.SPACE]: G },
2301
+ [z.ENTER]: U,
2302
+ ...s.value ? {} : { [z.TAB]: h },
2303
+ [z.ESCAPE]: R
2584
2304
  }));
2585
- }, Ba = ({ inputContainerRef: a, isDropdownOpen: e }, l) => {
2305
+ }, Aa = ({ inputContainerRef: a, isDropdownOpen: e }, l) => {
2586
2306
  const t = () => {
2587
- e.value && l(), H(() => {
2588
- ut(a);
2307
+ e.value && l(), Y(() => {
2308
+ rt(a);
2589
2309
  });
2590
2310
  };
2591
2311
  return {
2592
- [u.ENTER]: t,
2593
- [u.ESCAPE]: t,
2594
- [u.TAB]: t,
2595
- [u.SPACE]: t
2312
+ [d.ENTER]: t,
2313
+ [d.ESCAPE]: t,
2314
+ [d.TAB]: t,
2315
+ [d.SPACE]: t
2596
2316
  };
2597
2317
  };
2598
- function Ra(a, e, l, t, s) {
2599
- const o = E(a), n = E(e), r = (c, _ = []) => _.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 ? rt(() => l(o.value), s ?? 300) : void 0;
2600
- return ae(o, () => {
2601
- v !== void 0 && v();
2602
- }), i(() => {
2318
+ function ka(a, e, l, t, s) {
2319
+ const o = L(a), i = L(e), p = (r, m = []) => m.flatMap((u) => u.label.toLocaleLowerCase().includes(r) ? t?.value && u.items ? [...p(r, u.items)] : [u, ...p(r, u.items)] : u.items ? [...p(r, u.items)] : []), _ = l !== void 0 ? ot(() => l(o.value), s ?? 300) : void 0;
2320
+ return Q(o, () => {
2321
+ _ !== void 0 && _();
2322
+ }), n(() => {
2603
2323
  if (!o.value || l !== void 0)
2604
- return n.value;
2605
- const c = o.value.toLocaleLowerCase();
2606
- return r(c, n.value);
2324
+ return i.value;
2325
+ const r = o.value.toLocaleLowerCase();
2326
+ return p(r, i.value);
2607
2327
  });
2608
2328
  }
2609
- const Ma = {
2610
- "de-DE": {
2611
- all: "Alle",
2612
- ariaLabelFallback: "Dropdown",
2613
- clearSearch: "Filter löschen"
2614
- },
2615
- "en-GB": {
2616
- all: "All",
2617
- ariaLabelFallback: "Dropdown",
2618
- clearSearch: "Clear filter"
2619
- },
2620
- "en-US": {
2621
- all: "All",
2622
- ariaLabelFallback: "Dropdown",
2623
- clearSearch: "Clear filter"
2624
- },
2625
- "es-419": {
2626
- all: "Todos",
2627
- ariaLabelFallback: "Menú desplegable",
2628
- clearSearch: "Borrar filtro"
2629
- },
2630
- "es-ES": {
2631
- all: "Todos",
2632
- ariaLabelFallback: "Menú desplegable",
2633
- clearSearch: "Limpiar filtro"
2634
- },
2635
- "es-MX": {
2636
- all: "Todos",
2637
- ariaLabelFallback: "Menú desplegable",
2638
- clearSearch: "Limpiar filtro"
2639
- },
2640
- "fr-FR": {
2641
- all: "Tous",
2642
- ariaLabelFallback: "Menu déroulant",
2643
- clearSearch: "Effacer le filtre"
2644
- },
2645
- "it-IT": {
2646
- all: "Tutti",
2647
- ariaLabelFallback: "Menu a discesa",
2648
- clearSearch: "Cancella filtro"
2649
- },
2650
- "ja-JP": {
2651
- all: "すべて",
2652
- ariaLabelFallback: "ドロップダウン",
2653
- clearSearch: "フィルターをクリア"
2654
- },
2655
- "pt-BR": {
2656
- all: "Todos",
2657
- ariaLabelFallback: "Menu suspenso",
2658
- clearSearch: "Limpar filtro"
2659
- },
2660
- "zh-CN": {
2661
- all: "全部",
2662
- ariaLabelFallback: "下拉菜单",
2663
- clearSearch: "清除筛选器"
2664
- }
2665
- }, Na = z({
2666
- i18n: { messages: Ma },
2329
+ const Da = {
2330
+ "de-DE": { all: "Alle", ariaLabelFallback: "Dropdown", clearSearch: "Filter löschen" },
2331
+ "en-GB": { all: "All", ariaLabelFallback: "Dropdown", clearSearch: "Clear filter" },
2332
+ "en-US": { all: "All", ariaLabelFallback: "Dropdown", clearSearch: "Clear filter" },
2333
+ "es-419": { all: "Todos", ariaLabelFallback: "Menú desplegable", clearSearch: "Borrar filtro" },
2334
+ "es-ES": { all: "Todos", ariaLabelFallback: "Menú desplegable", clearSearch: "Limpiar filtro" },
2335
+ "es-MX": { all: "Todos", ariaLabelFallback: "Menú desplegable", clearSearch: "Limpiar filtro" },
2336
+ "fr-FR": { all: "Tous", ariaLabelFallback: "Menu déroulant", clearSearch: "Effacer le filtre" },
2337
+ "it-IT": { all: "Tutti", ariaLabelFallback: "Menu a discesa", clearSearch: "Cancella filtro" },
2338
+ "ja-JP": { all: "すべて", ariaLabelFallback: "ドロップダウン", clearSearch: "フィルターをクリア" },
2339
+ "pt-BR": { all: "Todos", ariaLabelFallback: "Menu suspenso", clearSearch: "Limpar filtro" },
2340
+ "zh-CN": { all: "全部", ariaLabelFallback: "下拉菜单", clearSearch: "清除筛选器" }
2341
+ }, Ba = F({
2342
+ i18n: { messages: Da },
2667
2343
  name: "b-dropdown",
2668
2344
  components: {
2669
- DropdownInputDefault: fa,
2670
- DropdownInputSmall: Ta
2345
+ DropdownInputDefault: da,
2346
+ DropdownInputSmall: Ia
2671
2347
  },
2672
2348
  model: { prop: "modelValue" }
2673
- }), $a = /* @__PURE__ */ z({
2674
- ...Na,
2349
+ }), Ra = /* @__PURE__ */ F({
2350
+ ...Ba,
2675
2351
  props: {
2676
2352
  description: { default: null },
2677
2353
  disabled: { type: Boolean, default: !1 },
@@ -2692,7 +2368,7 @@ const Ma = {
2692
2368
  items: { default: () => [] },
2693
2369
  loading: { type: Boolean, default: !1 },
2694
2370
  componentLoading: { type: Boolean, default: !1 },
2695
- lazyLoadType: { default: Fe.props.lazyLoadType.default },
2371
+ lazyLoadType: { default: Ne.props.lazyLoadType.default },
2696
2372
  multiple: { type: Boolean, default: !1 },
2697
2373
  search: { default: void 0 },
2698
2374
  showSlotContentInMultiple: { type: Boolean, default: !1 },
@@ -2706,195 +2382,184 @@ const Ma = {
2706
2382
  },
2707
2383
  emits: ["input", "update:model-value", "show-more", "open"],
2708
2384
  setup(a, { expose: e, emit: l }) {
2709
- var P, W;
2710
- const t = a, s = Ve(), o = Ce(), n = Ze(o), { t: r } = ie(), { emitValue: v } = yt(l), d = E(null), c = E(null), _ = E(null), b = E(!1), p = oe("bento-dropdown-options-container"), C = oe("dropdown-label"), x = oe("dropdown-description"), N = oe("dropdown-error"), { isReadOnly: M } = _t(j(t, "readonly")), h = i(() => t.modelValue ?? t.value), { cachedSelectedListboxOptions: T, cachedListboxSelectedValues: R, setCachedValues: A } = ql(
2711
- j(t, "items"),
2712
- h,
2713
- j(t, "multiple"),
2714
- j(t, "enableValueLabelPair")
2715
- ), k = E(s["aria-label"]), D = E(s["aria-describedby"]), { ariaLabel: G, label: K } = Xe(t), g = i(() => r("ariaLabelFallback")), B = vt({
2385
+ const t = a, s = Pe(), o = Se(), i = He(o), { t: p } = ae(), { emitValue: _ } = bt(l), c = L(null), r = L(null), m = L(null), u = L(!1), b = te("bento-dropdown-options-container"), x = te("dropdown-label"), g = te("dropdown-description"), M = te("dropdown-error"), { isReadOnly: B } = mt(q(t, "readonly")), v = n(() => t.modelValue ?? t.value), { cachedSelectedListboxOptions: I, cachedListboxSelectedValues: D, setCachedValues: A } = Ul(
2386
+ q(t, "items"),
2387
+ v,
2388
+ q(t, "multiple"),
2389
+ q(t, "enableValueLabelPair")
2390
+ ), w = L(s["aria-label"]), T = L(s["aria-describedby"]), { ariaLabel: G, label: U } = je(t), h = n(() => p("ariaLabelFallback")), R = ft({
2716
2391
  // TODO: take ariaLabel ref away when aria-label prop is removed
2717
- ariaLabel: G.value || k,
2718
- label: K,
2719
- defaultFallback: g
2720
- }), L = t.size === ge.SMALL || Ue(ta, !1), m = i(() => L ? ge.SMALL : ge.DEFAULT), I = i(() => ({
2392
+ ariaLabel: G.value || w,
2393
+ label: U,
2394
+ defaultFallback: h
2395
+ }), k = t.size === ye.SMALL || Fe(Zl, !1), y = n(() => k ? ye.SMALL : ye.DEFAULT), P = n(() => ({
2721
2396
  "b-dropdown--condensed": t.condensed
2722
- })), J = i(() => ({
2397
+ })), ie = n(() => ({
2723
2398
  "b-dropdown__description--error": !!t.errorMessage
2724
- })), $ = E(""), X = j(t, "items"), se = j(t, "staticCategories"), ue = Ra(
2725
- $,
2726
- X,
2727
- (P = t == null ? void 0 : t.search) == null ? void 0 : P.searchEvent,
2728
- se,
2729
- (W = t == null ? void 0 : t.search) == null ? void 0 : W.debounceTime
2730
- ), he = i(() => t.dynamicFiltering && !!$.value), Re = ka({
2731
- items: X,
2732
- placeholder: j(t, "placeholder"),
2733
- isMultiSelect: j(t, "multiple"),
2734
- selectedValues: T
2735
- }), Me = i(() => {
2736
- if (t != null && t.multiple && Array.isArray(h.value))
2399
+ })), K = L(""), j = q(t, "items"), ee = q(t, "staticCategories"), re = ka(
2400
+ K,
2401
+ j,
2402
+ t?.search?.searchEvent,
2403
+ ee,
2404
+ t?.search?.debounceTime
2405
+ ), _e = n(() => t.dynamicFiltering && !!K.value), ke = wa({
2406
+ items: j,
2407
+ placeholder: q(t, "placeholder"),
2408
+ isMultiSelect: q(t, "multiple"),
2409
+ selectedValues: I
2410
+ }), De = n(() => {
2411
+ if (t?.multiple && Array.isArray(v.value))
2737
2412
  return t.items.filter(
2738
- ({ value: y }) => (t == null ? void 0 : t.value) && (t == null ? void 0 : t.value).includes(y)
2413
+ ({ value: C }) => t?.value && (t?.value).includes(C)
2739
2414
  );
2740
2415
  if (!t.multiple && t.staticCategories) {
2741
- const y = t.items.find(
2742
- (Y) => {
2743
- var Z;
2744
- return (Z = Y.items) == null ? void 0 : Z.some((Te) => Te.value === h.value);
2745
- }
2416
+ const C = t.items.find(
2417
+ (O) => O.items?.some((ve) => ve.value === v.value)
2746
2418
  );
2747
- return (y ? y.items.find((Y) => Y.value === h.value) : t.items.find(({ value: Y }) => Y === h.value)) ?? null;
2419
+ return (C ? C.items.find((O) => O.value === v.value) : t.items.find(({ value: O }) => O === v.value)) ?? null;
2748
2420
  }
2749
- return t.items.find(({ value: y }) => y === h.value);
2750
- }), pe = i(() => {
2751
- const F = (fe.value ? be.value : ue.value).findIndex(({ value: Y }) => {
2752
- var Z;
2753
- return t.enableValueLabelPair ? ((Z = h.value) == null ? void 0 : Z.value) === Y : h.value === Y;
2754
- });
2755
- return F > -1 ? F : 0;
2756
- }), { isMultiLevelSelect: fe, flattenedItemsList: be } = it(X), ee = i(() => fe.value && !t.staticCategories), me = i(() => ee.value ? "treeitem" : "option"), Oe = i(() => {
2421
+ return t.items.find(({ value: C }) => C === v.value);
2422
+ }), ce = n(() => {
2423
+ const $ = (de.value ? ue.value : re.value).findIndex(({ value: O }) => t.enableValueLabelPair ? v.value?.value === O : v.value === O);
2424
+ return $ > -1 ? $ : 0;
2425
+ }), { isMultiLevelSelect: de, flattenedItemsList: ue } = st(j), J = n(() => de.value && !t.staticCategories), pe = n(() => J.value ? "treeitem" : "option"), xe = n(() => {
2757
2426
  if (t.multiple) {
2758
- const y = Array.isArray(h.value) ? h.value.length : 0, F = fe.value ? be.value.length : X.value.length;
2759
- return y === 0 ? null : !t.hasMoreItems && F > 0 && F === y ? r("all") : y;
2427
+ const C = Array.isArray(v.value) ? v.value.length : 0, $ = de.value ? ue.value.length : j.value.length;
2428
+ return C === 0 ? null : !t.hasMoreItems && $ > 0 && $ === C ? p("all") : C;
2760
2429
  }
2761
2430
  return null;
2762
- }), Ne = i(
2431
+ }), Be = n(
2763
2432
  () => [
2764
- t.description ? x : null,
2765
- D.value,
2766
- t.errorMessage ? N : null
2433
+ t.description ? g : null,
2434
+ T.value,
2435
+ t.errorMessage ? M : null
2767
2436
  ].filter(Boolean).join(" ") || null
2768
- ), ve = i(() => {
2769
- var F, Y;
2770
- const y = (F = _.value) == null ? void 0 : F.dropdownOptionsListboxRef;
2771
- return ((Y = y == null ? void 0 : y.listboxRef) == null ? void 0 : Y.value) ?? (y == null ? void 0 : y.listboxRef);
2772
- }), { visibleDomOptions: Se, updateVisibleDomOptions: ye } = Ge(
2773
- ve,
2774
- ue,
2775
- me
2776
- ), xe = () => {
2777
- M.value || (b.value = !0, H(() => {
2778
- ye();
2437
+ ), fe = n(() => {
2438
+ const C = m.value?.dropdownOptionsListboxRef;
2439
+ return C?.listboxRef?.value ?? C?.listboxRef;
2440
+ }), { visibleDomOptions: ge, updateVisibleDomOptions: be } = ze(
2441
+ fe,
2442
+ re,
2443
+ pe
2444
+ ), he = () => {
2445
+ B.value || (u.value = !0, Y(() => {
2446
+ be();
2779
2447
  }));
2780
- }, re = () => {
2781
- b.value = !1;
2782
- }, _e = () => {
2783
- M.value || (b.value = !b.value, H(() => {
2784
- ye();
2785
- }), he.value && ($.value = ""));
2786
- }, Le = () => {
2787
- he.value && ($.value = ""), b.value && (b.value = !1, _.value.onOutsideDropdownClick());
2788
- }, Ee = i(() => [
2789
- Le,
2448
+ }, se = () => {
2449
+ u.value = !1;
2450
+ }, me = () => {
2451
+ B.value || (u.value = !u.value, Y(() => {
2452
+ be();
2453
+ }), _e.value && (K.value = ""));
2454
+ }, Ce = () => {
2455
+ _e.value && (K.value = ""), u.value && (u.value = !1, m.value.onOutsideDropdownClick());
2456
+ }, Le = n(() => [
2457
+ Ce,
2790
2458
  {
2791
- ignore: [ve]
2459
+ ignore: [fe]
2792
2460
  }
2793
- ]), Ie = async (y) => {
2794
- t.multiple || ($.value = "", b.value = !1), A(y), v(R.value), t.multiple || (await H(), O());
2795
- }, we = () => {
2796
- l(u.SHOW_MORE);
2797
- }, $e = Da(
2461
+ ]), Oe = async (C) => {
2462
+ t.multiple || (K.value = "", u.value = !1), A(C), _(D.value), t.multiple || (await Y(), E());
2463
+ }, Ie = () => {
2464
+ l(d.SHOW_MORE);
2465
+ }, Re = Ta(
2798
2466
  {
2799
- inputContainerRef: d,
2800
- optionsContainerRef: _,
2801
- selectedValueIndex: pe,
2802
- isDropdownOpen: b,
2803
- isDynamicFltering: j(t, "dynamicFiltering"),
2804
- items: Se,
2467
+ inputContainerRef: c,
2468
+ optionsContainerRef: m,
2469
+ selectedValueIndex: ce,
2470
+ isDropdownOpen: u,
2471
+ isDynamicFltering: q(t, "dynamicFiltering"),
2472
+ items: ge,
2805
2473
  isMultiple: t.multiple,
2806
- totalItemCount: i(() => ue.value.length),
2807
- isVirtualScroll: !(t != null && t.multiple) && (t == null ? void 0 : t.virtualScroll) !== !1 && (t == null ? void 0 : t.lazyLoadType) === "none"
2474
+ totalItemCount: n(() => re.value.length),
2475
+ isVirtualScroll: !t?.multiple && t?.virtualScroll !== !1 && t?.lazyLoadType === "none"
2808
2476
  },
2809
- _e,
2810
- xe,
2811
- re
2812
- ), f = Ba(
2477
+ me,
2478
+ he,
2479
+ se
2480
+ ), f = Aa(
2813
2481
  {
2814
- inputContainerRef: d,
2815
- isDropdownOpen: b
2482
+ inputContainerRef: c,
2483
+ isDropdownOpen: u
2816
2484
  },
2817
- re
2485
+ se
2818
2486
  ), S = {
2819
- [u.CLOSE_DROPDOWN]: re,
2820
- [u.SELECT]: Ie,
2821
- [u.SHOW_MORE]: we,
2487
+ [d.CLOSE_DROPDOWN]: se,
2488
+ [d.SELECT]: Oe,
2489
+ [d.SHOW_MORE]: Ie,
2822
2490
  ...f
2823
2491
  };
2824
- t.error && Pe(
2492
+ t.error && Me(
2825
2493
  'BentoDropdown "error" property',
2826
2494
  `Use the BentoDropdown "errorMessage" property instead to indicate that there is a modifier error.
2827
2495
  Having the field as "undefined" will hide/remove the error.
2828
2496
  <bento-dropdown errorMessage="Error message text" />`,
2829
2497
  "2.0.0"
2830
- ), t.size && Pe('BentoDropdown "size" property', "Do not use. Only 'default' size should be used.", "2.0.0"), t.value && Pe(
2498
+ ), t.size && Me('BentoDropdown "size" property', "Do not use. Only 'default' size should be used.", "2.0.0"), t.value && Me(
2831
2499
  'BentoDropdown "value" property',
2832
2500
  `The use of "value" prop in "BentoDropdown" is no longer supported.
2833
2501
  Use the "v-model" or "model-value" property instead.`,
2834
2502
  "2.0.0"
2835
2503
  );
2836
- const O = () => {
2837
- var y;
2838
- (y = d.value) == null || y.focus();
2839
- }, w = async () => {
2840
- var Te;
2841
- if (await H(), !b.value || t.multiple || !_.value)
2504
+ const E = () => {
2505
+ c.value?.focus();
2506
+ }, N = async () => {
2507
+ if (await Y(), !u.value || t.multiple || !m.value)
2842
2508
  return;
2843
- const y = pe.value;
2844
- if (y <= 0)
2509
+ const C = ce.value;
2510
+ if (C <= 0)
2845
2511
  return;
2846
- const F = _.value.dropdownOptionsListboxRef, Y = F == null ? void 0 : F.listboxRef, Z = F == null ? void 0 : F.listboxItemRef;
2847
- (Te = Z == null ? void 0 : Z.scrollToItem) == null || Te.call(Z, y, Y);
2512
+ const $ = m.value.dropdownOptionsListboxRef, O = $?.listboxRef;
2513
+ $?.listboxItemRef?.scrollToItem?.(C, O);
2848
2514
  };
2849
- return ae(
2850
- () => b.value,
2851
- (y) => {
2852
- y && (l("open"), w());
2515
+ return Q(
2516
+ () => u.value,
2517
+ (C) => {
2518
+ C && (l("open"), N());
2853
2519
  }
2854
2520
  ), e({
2855
- focus: O
2856
- }), { __sfc: !0, attrs: s, slots: o, hasSlot: n, props: t, emit: l, t: r, emitValue: v, inputContainerRef: d, inputContainerRefWrapper: c, optionsContainerRef: _, isDropdownOpen: b, dropdownOptionsContainerId: p, labelId: C, descriptionId: x, errorId: N, isReadOnly: M, dropdownValue: h, cachedSelectedListboxOptions: T, cachedListboxSelectedValues: R, setCachedValues: A, ariaLabelAttribute: k, ariaDescribedByAttribute: D, ariaLabel: G, label: K, computedAriaLabelFallbackMessage: g, computedAriaLabel: B, isInputComponent: L, computedSize: m, conditionalClasses: I, descriptionConditionalClasses: J, searchTerm: $, items: X, staticCategories: se, filteredItems: ue, isSearching: he, displayValue: Re, selectedValueItem: Me, selectedValueIndex: pe, isMultiLevelSelect: fe, flattenedItemsList: be, isTreePattern: ee, computedOptionRole: me, additionalItemsSelected: Oe, ariaDescribedBy: Ne, listboxRef: ve, visibleDomOptions: Se, updateVisibleDomOptions: ye, openDropdown: xe, closeDropdown: re, toggleDropdown: _e, clickOutsideDropdown: Le, clickOutsideDropdownOptions: Ee, onOptionSelected: Ie, emitShowMoreEvent: we, textboxKeyboardNavigationListeners: $e, listboxKeyboardNavigationListeners: f, listboxListeners: S, focus: O, scrollToSelectedOption: w, BentoDropdownOptionsContainer: ea, BentoTypography: ne, ErrorMessage: wt, FieldLabel: It, BentoTeleport: Lt, vBentoClickOutsideDirective: Et, vBentoKeyboardNavigationDirective: De };
2521
+ focus: E
2522
+ }), { __sfc: !0, attrs: s, slots: o, hasSlot: i, props: t, emit: l, t: p, emitValue: _, inputContainerRef: c, inputContainerRefWrapper: r, optionsContainerRef: m, isDropdownOpen: u, dropdownOptionsContainerId: b, labelId: x, descriptionId: g, errorId: M, isReadOnly: B, dropdownValue: v, cachedSelectedListboxOptions: I, cachedListboxSelectedValues: D, setCachedValues: A, ariaLabelAttribute: w, ariaDescribedByAttribute: T, ariaLabel: G, label: U, computedAriaLabelFallbackMessage: h, computedAriaLabel: R, isInputComponent: k, computedSize: y, conditionalClasses: P, descriptionConditionalClasses: ie, searchTerm: K, items: j, staticCategories: ee, filteredItems: re, isSearching: _e, displayValue: ke, selectedValueItem: De, selectedValueIndex: ce, isMultiLevelSelect: de, flattenedItemsList: ue, isTreePattern: J, computedOptionRole: pe, additionalItemsSelected: xe, ariaDescribedBy: Be, listboxRef: fe, visibleDomOptions: ge, updateVisibleDomOptions: be, openDropdown: he, closeDropdown: se, toggleDropdown: me, clickOutsideDropdown: Ce, clickOutsideDropdownOptions: Le, onOptionSelected: Oe, emitShowMoreEvent: Ie, textboxKeyboardNavigationListeners: Re, listboxKeyboardNavigationListeners: f, listboxListeners: S, focus: E, scrollToSelectedOption: N, BentoDropdownOptionsContainer: Xl, BentoTypography: le, ErrorMessage: Ot, FieldLabel: Lt, BentoTeleport: xt, vBentoClickOutsideDirective: Ct, vBentoKeyboardNavigationDirective: Te };
2857
2523
  }
2858
2524
  });
2859
- var Pa = function() {
2860
- var s, o;
2525
+ var Ma = function() {
2861
2526
  var e = this, l = e._self._c, t = e._self._setupProxy;
2862
- 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(n) {
2863
- t.searchTerm = n;
2864
- }, open: t.toggleDropdown, close: t.toggleDropdown }, scopedSlots: e._u([e._l(t.slots, function(n, r) {
2865
- return { key: r, fn: function(v) {
2866
- return [e._t(r, null, null, v)];
2527
+ 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(s) {
2528
+ t.searchTerm = s;
2529
+ }, open: t.toggleDropdown, close: t.toggleDropdown }, scopedSlots: e._u([e._l(t.slots, function(s, o) {
2530
+ return { key: o, fn: function(i) {
2531
+ return [e._t(o, null, null, i)];
2867
2532
  } };
2868
- })], null, !0) })], 1), t.inputContainerRef ? l(t.BentoTeleport, { attrs: { disabled: (s = e.teleport) == null ? void 0 : s.disabled, to: (o = e.teleport) == null ? void 0 : o.to } }, [l(t.BentoDropdownOptionsContainer, e._g({ ref: "optionsContainerRef", attrs: { id: t.dropdownOptionsContainerId, "aria-label": t.computedAriaLabel, "component-loading": e.componentLoading, "empty-state": e.emptyState, disabled: e.disabled, "is-option-disabled": e.isOptionDisabled, items: t.filteredItems, multiple: e.multiple, "static-categories": t.staticCategories, open: t.isDropdownOpen, "selected-value": t.cachedSelectedListboxOptions, searching: t.isSearching, "target-element": t.inputContainerRefWrapper, loading: e.loading, "has-more-items": e.hasMoreItems, "lazy-load-type": e.lazyLoadType, "virtual-scroll": e.virtualScroll }, scopedSlots: e._u([e._l(t.slots, function(n, r) {
2869
- return { key: r, fn: function(v) {
2870
- return [e._t(r, null, null, v)];
2533
+ })], null, !0) })], 1), t.inputContainerRef ? l(t.BentoTeleport, { attrs: { disabled: e.teleport?.disabled, to: e.teleport?.to } }, [l(t.BentoDropdownOptionsContainer, e._g({ ref: "optionsContainerRef", attrs: { id: t.dropdownOptionsContainerId, "aria-label": t.computedAriaLabel, "component-loading": e.componentLoading, "empty-state": e.emptyState, disabled: e.disabled, "is-option-disabled": e.isOptionDisabled, items: t.filteredItems, multiple: e.multiple, "static-categories": t.staticCategories, open: t.isDropdownOpen, "selected-value": t.cachedSelectedListboxOptions, searching: t.isSearching, "target-element": t.inputContainerRefWrapper, loading: e.loading, "has-more-items": e.hasMoreItems, "lazy-load-type": e.lazyLoadType, "virtual-scroll": e.virtualScroll }, scopedSlots: e._u([e._l(t.slots, function(s, o) {
2534
+ return { key: o, fn: function(i) {
2535
+ return [e._t(o, null, null, i)];
2871
2536
  } };
2872
2537
  })], 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() {
2873
2538
  return [e._v(" " + e._s(e.description) + " ")];
2874
2539
  })], 2) : e._e()], 1);
2875
- }, Fa = [], za = /* @__PURE__ */ U(
2876
- $a,
2877
- Pa,
2878
- Fa,
2540
+ }, Na = [], $a = /* @__PURE__ */ V(
2541
+ Ra,
2542
+ Ma,
2543
+ Na,
2879
2544
  !1,
2880
2545
  null,
2881
2546
  "61fced3a"
2882
2547
  );
2883
- const ms = za.exports;
2548
+ const ps = $a.exports;
2884
2549
  export {
2885
- ms as B,
2886
- Gt as C,
2887
- fa as D,
2888
- u as a,
2889
- le as b,
2890
- ge as c,
2891
- Fe as d,
2892
- it as e,
2893
- Ra as f,
2894
- rt as g,
2895
- ta as h,
2896
- ct as i,
2897
- We as j,
2898
- ql as u
2550
+ ps as B,
2551
+ zt as C,
2552
+ da as D,
2553
+ d as a,
2554
+ Z as b,
2555
+ ye as c,
2556
+ Ne as d,
2557
+ st as e,
2558
+ ka as f,
2559
+ ot as g,
2560
+ Zl as h,
2561
+ nt as i,
2562
+ Ve as j,
2563
+ Ul as u
2899
2564
  };
2900
- //# sourceMappingURL=dropdown.DIqgVVXB.js.map
2565
+ //# sourceMappingURL=dropdown.Ce2P9MZ-.js.map