@adyen/bento-vue2 1.51.0 → 1.52.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 (255) hide show
  1. package/dist/@types/index.d.ts +109 -4
  2. package/dist/action-bar.js +1 -1
  3. package/dist/alert.js +1 -1
  4. package/dist/assets/accordion-item.css +1 -1
  5. package/dist/assets/action-bar.css +1 -1
  6. package/dist/assets/base-modal.css +1 -1
  7. package/dist/assets/button-actions-with-menu.css +1 -1
  8. package/dist/assets/calendar.css +1 -1
  9. package/dist/assets/card.css +1 -1
  10. package/dist/assets/checkbox-input.css +1 -1
  11. package/dist/assets/checkbox.css +1 -1
  12. package/dist/assets/data-grid.css +1 -1
  13. package/dist/assets/date-picker.css +1 -1
  14. package/dist/assets/date-range-picker.css +1 -1
  15. package/dist/assets/dialog-page.css +1 -1
  16. package/dist/assets/file-uploader.css +1 -1
  17. package/dist/assets/filter-bar.css +1 -1
  18. package/dist/assets/form-layout-title.css +1 -1
  19. package/dist/assets/input-field-password.css +1 -1
  20. package/dist/assets/input-field-phone-number.css +1 -1
  21. package/dist/assets/input-field.css +1 -1
  22. package/dist/assets/inspector.css +1 -1
  23. package/dist/assets/menu.css +1 -1
  24. package/dist/assets/modal-fullscreen.css +1 -1
  25. package/dist/assets/popover.css +1 -1
  26. package/dist/assets/sidepanel.css +1 -1
  27. package/dist/button.js +1 -1
  28. package/dist/card.js +1 -1
  29. package/dist/checkbox.js +3 -3
  30. package/dist/chunks/{action-bar.DGhojWpe.js → action-bar.DuJkjAt1.js} +5 -5
  31. package/dist/chunks/{action-bar.DGhojWpe.js.map → action-bar.DuJkjAt1.js.map} +1 -1
  32. package/dist/chunks/{alert.BSBLkXkM.js → alert.BkMKX9wD.js} +9 -9
  33. package/dist/chunks/alert.BkMKX9wD.js.map +1 -0
  34. package/dist/chunks/{base-modal.Dan5WQin.js → base-modal.CiTysydg.js} +3 -3
  35. package/dist/chunks/{base-modal.Dan5WQin.js.map → base-modal.CiTysydg.js.map} +1 -1
  36. package/dist/chunks/button-actions-with-menu.B9oXYIgo.js +166 -0
  37. package/dist/chunks/button-actions-with-menu.B9oXYIgo.js.map +1 -0
  38. package/dist/chunks/{button-actions.GhdYBSwt.js → button-actions.DAvSJtOB.js} +3 -3
  39. package/dist/chunks/{button-actions.GhdYBSwt.js.map → button-actions.DAvSJtOB.js.map} +1 -1
  40. package/dist/chunks/calendar.Bq67h02Z.js +1130 -0
  41. package/dist/chunks/calendar.Bq67h02Z.js.map +1 -0
  42. package/dist/chunks/{card.Csazj5Qz.js → card.AQO_BjGb.js} +2 -2
  43. package/dist/chunks/{card.Csazj5Qz.js.map → card.AQO_BjGb.js.map} +1 -1
  44. package/dist/chunks/{checkbox-group.DcJ31aLq.js → checkbox-group.CqSIn-lG.js} +4 -4
  45. package/dist/chunks/{checkbox-group.DcJ31aLq.js.map → checkbox-group.CqSIn-lG.js.map} +1 -1
  46. package/dist/chunks/checkbox-input.CMhyJDdo.js +129 -0
  47. package/dist/chunks/checkbox-input.CMhyJDdo.js.map +1 -0
  48. package/dist/chunks/checkbox.BeYtbfPv.js +170 -0
  49. package/dist/chunks/checkbox.BeYtbfPv.js.map +1 -0
  50. package/dist/chunks/checkmark-circle-fill.DZBl7CeY.js +24 -0
  51. package/dist/chunks/checkmark-circle-fill.DZBl7CeY.js.map +1 -0
  52. package/dist/chunks/{code-snippet.z_G2UXVT.js → code-snippet.CW42FdpP.js} +5 -5
  53. package/dist/chunks/{code-snippet.z_G2UXVT.js.map → code-snippet.CW42FdpP.js.map} +1 -1
  54. package/dist/chunks/{controls-group.ghJ7a8PY.js → controls-group.D0_cJaFF.js} +2 -2
  55. package/dist/chunks/{controls-group.ghJ7a8PY.js.map → controls-group.D0_cJaFF.js.map} +1 -1
  56. package/dist/chunks/{copy.BNOiinIt.js → copy.2iD8aI5a.js} +3 -3
  57. package/dist/chunks/{copy.BNOiinIt.js.map → copy.2iD8aI5a.js.map} +1 -1
  58. package/dist/chunks/cross-circle-fill.Ra0-PIUo.js +24 -0
  59. package/dist/chunks/cross-circle-fill.Ra0-PIUo.js.map +1 -0
  60. package/dist/chunks/{dashboard-section.Db_E382r.js → dashboard-section.Cmulh6WM.js} +3 -3
  61. package/dist/chunks/{dashboard-section.Db_E382r.js.map → dashboard-section.Cmulh6WM.js.map} +1 -1
  62. package/dist/chunks/{dashed-underline.CAhDrAG_.js → dashed-underline.eMF75SuT.js} +3 -3
  63. package/dist/chunks/{dashed-underline.CAhDrAG_.js.map → dashed-underline.eMF75SuT.js.map} +1 -1
  64. package/dist/chunks/{data-grid-template.DG5IWdLG.js → data-grid-template.CdHnPE1-.js} +2 -2
  65. package/dist/chunks/{data-grid-template.DG5IWdLG.js.map → data-grid-template.CdHnPE1-.js.map} +1 -1
  66. package/dist/chunks/{data-grid.CHV-FvBB.js → data-grid.DedjAz4_.js} +23 -23
  67. package/dist/chunks/data-grid.DedjAz4_.js.map +1 -0
  68. package/dist/chunks/date-picker.BdMr3Sn2.js +235 -0
  69. package/dist/chunks/date-picker.BdMr3Sn2.js.map +1 -0
  70. package/dist/chunks/date-range-picker.BHfvD0GK.js +903 -0
  71. package/dist/chunks/date-range-picker.BHfvD0GK.js.map +1 -0
  72. package/dist/chunks/{date.YLIcAerL.js → date.dYFFEunA.js} +12 -12
  73. package/dist/chunks/{date.YLIcAerL.js.map → date.dYFFEunA.js.map} +1 -1
  74. package/dist/chunks/{dropdown-default-textbox.DzPBw4CV.js → dropdown-default-textbox.CDTdHfTv.js} +2 -2
  75. package/dist/chunks/{dropdown-default-textbox.DzPBw4CV.js.map → dropdown-default-textbox.CDTdHfTv.js.map} +1 -1
  76. package/dist/chunks/{dropdown-tag.K4idCLeu.js → dropdown-tag.CvZ1jckk.js} +4 -4
  77. package/dist/chunks/{dropdown-tag.K4idCLeu.js.map → dropdown-tag.CvZ1jckk.js.map} +1 -1
  78. package/dist/chunks/{dropdown.DFEGHxjw.js → dropdown.CcHoKbLz.js} +108 -107
  79. package/dist/chunks/dropdown.CcHoKbLz.js.map +1 -0
  80. package/dist/chunks/{error-message.B3oWB_HM.js → error-message.B1-ekAMa.js} +3 -3
  81. package/dist/chunks/{error-message.B3oWB_HM.js.map → error-message.B1-ekAMa.js.map} +1 -1
  82. package/dist/chunks/es6.BtaxuP0b.js.map +1 -1
  83. package/dist/chunks/{file-uploader.DaBMZSsB.js → file-uploader.Dlfzh5QQ.js} +7 -7
  84. package/dist/chunks/file-uploader.Dlfzh5QQ.js.map +1 -0
  85. package/dist/chunks/{filter-bar.DClIG9aP.js → filter-bar.CwqoJGiK.js} +568 -618
  86. package/dist/chunks/{filter-bar.DClIG9aP.js.map → filter-bar.CwqoJGiK.js.map} +1 -1
  87. package/dist/chunks/{focus-trap._RrLaKlq.js → focus-trap.CWlKh48z.js} +2 -2
  88. package/dist/chunks/{focus-trap._RrLaKlq.js.map → focus-trap.CWlKh48z.js.map} +1 -1
  89. package/dist/chunks/{footer-actions.D0SuJroc.js → footer-actions.BkHpWa7A.js} +2 -2
  90. package/dist/chunks/{footer-actions.D0SuJroc.js.map → footer-actions.BkHpWa7A.js.map} +1 -1
  91. package/dist/chunks/{form-layout-title.C1n2S73_.js → form-layout-title.DK1-01RH.js} +50 -47
  92. package/dist/chunks/form-layout-title.DK1-01RH.js.map +1 -0
  93. package/dist/chunks/header.BAKjEGmH.js +183 -0
  94. package/dist/chunks/header.BAKjEGmH.js.map +1 -0
  95. package/dist/chunks/{index.CU8GKq4C.js → index.-wO_BQCb.js} +2 -1
  96. package/dist/chunks/{index.CU8GKq4C.js.map → index.-wO_BQCb.js.map} +1 -1
  97. package/dist/chunks/index.BDuTpjD8.js +40 -0
  98. package/dist/chunks/index.BDuTpjD8.js.map +1 -0
  99. package/dist/chunks/index.BxBB1rsx.js +15 -0
  100. package/dist/chunks/index.BxBB1rsx.js.map +1 -0
  101. package/dist/chunks/index.DD7TppDb.js +10 -0
  102. package/dist/chunks/index.DD7TppDb.js.map +1 -0
  103. package/dist/chunks/{info-icon-with-popover.C29aZ1Vh.js → info-icon-with-popover.CxXWP4TR.js} +3 -3
  104. package/dist/chunks/{info-icon-with-popover.C29aZ1Vh.js.map → info-icon-with-popover.CxXWP4TR.js.map} +1 -1
  105. package/dist/chunks/{info-icon.bXR5eo6I.js → info-icon.D3neDWqH.js} +4 -4
  106. package/dist/chunks/{info-icon.bXR5eo6I.js.map → info-icon.D3neDWqH.js.map} +1 -1
  107. package/dist/chunks/info.4d_mJHvT.js +24 -0
  108. package/dist/chunks/info.4d_mJHvT.js.map +1 -0
  109. package/dist/chunks/{input-field-password.DsIpkc_9.js → input-field-password.CO0lAgMh.js} +75 -72
  110. package/dist/chunks/input-field-password.CO0lAgMh.js.map +1 -0
  111. package/dist/chunks/{input-field-phone-number.Bmugk7fI.js → input-field-phone-number.TXnK0dch.js} +324 -321
  112. package/dist/chunks/{input-field-phone-number.Bmugk7fI.js.map → input-field-phone-number.TXnK0dch.js.map} +1 -1
  113. package/dist/chunks/input-field.De4sp76g.js +152 -0
  114. package/dist/chunks/input-field.De4sp76g.js.map +1 -0
  115. package/dist/chunks/{inspector.types.C9Oc8FgA.js → inspector.types.ClnPOYmb.js} +3 -3
  116. package/dist/chunks/{inspector.types.C9Oc8FgA.js.map → inspector.types.ClnPOYmb.js.map} +1 -1
  117. package/dist/chunks/{layout-row.CHwDU8yK.js → layout-row.dh2VyGoD.js} +2 -2
  118. package/dist/chunks/{layout-row.CHwDU8yK.js.map → layout-row.dh2VyGoD.js.map} +1 -1
  119. package/dist/chunks/{listbox-option-tag.bPRcATJK.js → listbox-option-tag.xGQr3Su1.js} +2 -2
  120. package/dist/chunks/{listbox-option-tag.bPRcATJK.js.map → listbox-option-tag.xGQr3Su1.js.map} +1 -1
  121. package/dist/chunks/{menu.CzbkunwY.js → menu.li3Kg9Uq.js} +29 -29
  122. package/dist/chunks/menu.li3Kg9Uq.js.map +1 -0
  123. package/dist/chunks/{modal-fullscreen.C4D3Rkdg.js → modal-fullscreen.C4eL63TC.js} +3 -3
  124. package/dist/chunks/{modal-fullscreen.C4D3Rkdg.js.map → modal-fullscreen.C4eL63TC.js.map} +1 -1
  125. package/dist/chunks/{modal.DgCmKjQC.js → modal.BpDz0Dhc.js} +4 -4
  126. package/dist/chunks/{modal.DgCmKjQC.js.map → modal.BpDz0Dhc.js.map} +1 -1
  127. package/dist/chunks/{pagination.CdOxfZW2.js → pagination.FuELftBG.js} +2 -2
  128. package/dist/chunks/{pagination.CdOxfZW2.js.map → pagination.FuELftBG.js.map} +1 -1
  129. package/dist/chunks/payment-method.NZKiNOmM.js +76 -0
  130. package/dist/chunks/payment-method.NZKiNOmM.js.map +1 -0
  131. package/dist/chunks/{popover.3sHql3nd.js → popover.Cb6utVhS.js} +3 -3
  132. package/dist/chunks/{popover.3sHql3nd.js.map → popover.Cb6utVhS.js.map} +1 -1
  133. package/dist/chunks/{popper-container.Bqy3oVj6.js → popper-container.CiEkF7eb.js} +2 -2
  134. package/dist/chunks/{popper-container.Bqy3oVj6.js.map → popper-container.CiEkF7eb.js.map} +1 -1
  135. package/dist/chunks/{promo-banner.BIICM7FC.js → promo-banner.PnHud5Wi.js} +2 -2
  136. package/dist/chunks/{promo-banner.BIICM7FC.js.map → promo-banner.PnHud5Wi.js.map} +1 -1
  137. package/dist/chunks/{radio-group.L-XokgwC.js → radio-group._8PsjPCZ.js} +4 -4
  138. package/dist/chunks/{radio-group.L-XokgwC.js.map → radio-group._8PsjPCZ.js.map} +1 -1
  139. package/dist/chunks/{search-bar.CDTWPjG1.js → search-bar.CVY2e8_B.js} +5 -5
  140. package/dist/chunks/{search-bar.CDTWPjG1.js.map → search-bar.CVY2e8_B.js.map} +1 -1
  141. package/dist/chunks/search.DLtglc02.js +24 -0
  142. package/dist/chunks/search.DLtglc02.js.map +1 -0
  143. package/dist/chunks/{secondary-nav.BwmBTvl5.js → secondary-nav.LxcuTR16.js} +3 -3
  144. package/dist/chunks/{secondary-nav.BwmBTvl5.js.map → secondary-nav.LxcuTR16.js.map} +1 -1
  145. package/dist/chunks/{segmented-control.CW6v1rDg.js → segmented-control.D69WXQGh.js} +2 -2
  146. package/dist/chunks/{segmented-control.CW6v1rDg.js.map → segmented-control.D69WXQGh.js.map} +1 -1
  147. package/dist/chunks/{selection-card-group.CURxGbd9.js → selection-card-group.MTKkCBeK.js} +11 -11
  148. package/dist/chunks/{selection-card-group.CURxGbd9.js.map → selection-card-group.MTKkCBeK.js.map} +1 -1
  149. package/dist/chunks/{sidepanel.MBArfd4a.js → sidepanel.BStCbRqN.js} +3 -3
  150. package/dist/chunks/{sidepanel.MBArfd4a.js.map → sidepanel.BStCbRqN.js.map} +1 -1
  151. package/dist/chunks/{structured-list-item.CYYZ1Fil.js → structured-list-item.CeosjL40.js} +5 -5
  152. package/dist/chunks/{structured-list-item.CYYZ1Fil.js.map → structured-list-item.CeosjL40.js.map} +1 -1
  153. package/dist/chunks/{summary-grid-item-custom.CVEhwKNM.js → summary-grid-item-custom.CF_TS7oA.js} +4 -4
  154. package/dist/chunks/{summary-grid-item-custom.CVEhwKNM.js.map → summary-grid-item-custom.CF_TS7oA.js.map} +1 -1
  155. package/dist/chunks/{tag.BxmageRW.js → tag.OgtZ3-ql.js} +2 -2
  156. package/dist/chunks/{tag.BxmageRW.js.map → tag.OgtZ3-ql.js.map} +1 -1
  157. package/dist/chunks/{textarea.DmjhRupr.js → textarea.BEISPJua.js} +2 -2
  158. package/dist/chunks/{textarea.DmjhRupr.js.map → textarea.BEISPJua.js.map} +1 -1
  159. package/dist/chunks/{timeline-item.CLbS-cEf.js → timeline-item.BeWMuM8A.js} +12 -11
  160. package/dist/chunks/{timeline-item.CLbS-cEf.js.map → timeline-item.BeWMuM8A.js.map} +1 -1
  161. package/dist/chunks/{tooltip.Vgoc41cI.js → tooltip.RPURZd36.js} +2 -2
  162. package/dist/chunks/{tooltip.Vgoc41cI.js.map → tooltip.RPURZd36.js.map} +1 -1
  163. package/dist/chunks/{tutorial.CmLMgXDK.js → tutorial.Ba8PTa0x.js} +42 -42
  164. package/dist/chunks/tutorial.Ba8PTa0x.js.map +1 -0
  165. package/dist/chunks/{use-cached-selected-values.DVcpkFV3.js → use-cached-selected-values.CxlYYUbd.js} +3 -3
  166. package/dist/chunks/{use-cached-selected-values.DVcpkFV3.js.map → use-cached-selected-values.CxlYYUbd.js.map} +1 -1
  167. package/dist/code-snippet.js +1 -1
  168. package/dist/dashboard-template.js +1 -1
  169. package/dist/dashed-underline.js +1 -1
  170. package/dist/data-grid-template.js +1 -1
  171. package/dist/data-grid.js +1 -1
  172. package/dist/date-picker.js +2 -2
  173. package/dist/date-range-picker.js +2 -2
  174. package/dist/date.js +1 -1
  175. package/dist/dropdown.js +4 -4
  176. package/dist/file-uploader.js +1 -1
  177. package/dist/filter-bar.js +1 -1
  178. package/dist/focus-trap.js +1 -1
  179. package/dist/form-layout.js +1 -1
  180. package/dist/header.js +1 -1
  181. package/dist/index.js +51 -51
  182. package/dist/info-icon.js +1 -1
  183. package/dist/input-field-password.js +1 -1
  184. package/dist/input-field-phone-number.js +1 -1
  185. package/dist/input-field.js +1 -1
  186. package/dist/inspector.js +1 -1
  187. package/dist/internal.js +35 -33
  188. package/dist/layout.js +1 -1
  189. package/dist/menu.js +1 -1
  190. package/dist/modal-fullscreen.js +1 -1
  191. package/dist/modal.js +2 -2
  192. package/dist/pagination.js +1 -1
  193. package/dist/payment-method.js +1 -1
  194. package/dist/popover.js +1 -1
  195. package/dist/popper-container.js +1 -1
  196. package/dist/promo-banner.js +1 -1
  197. package/dist/radio-group.js +1 -1
  198. package/dist/search-bar.js +2 -2
  199. package/dist/secondary-nav.js +1 -1
  200. package/dist/segmented-control.js +1 -1
  201. package/dist/selection-card.js +1 -1
  202. package/dist/sidepanel.js +1 -1
  203. package/dist/structured-list.js +1 -1
  204. package/dist/styles/bento-dark.css +26 -0
  205. package/dist/styles/bento-light.css +26 -0
  206. package/dist/styles/bento.css +26 -0
  207. package/dist/styles/legacy.css +28 -2
  208. package/dist/styles/styleguide.css +26 -0
  209. package/dist/summary-grid.js +1 -1
  210. package/dist/tag.js +1 -1
  211. package/dist/textarea.js +1 -1
  212. package/dist/timeline.js +1 -1
  213. package/dist/tutorial.js +1 -1
  214. package/dist/web-types.json +370 -86
  215. package/package.json +6 -6
  216. package/dist/chunks/alert.BSBLkXkM.js.map +0 -1
  217. package/dist/chunks/button-actions-with-menu.B5gcSgRQ.js +0 -112
  218. package/dist/chunks/button-actions-with-menu.B5gcSgRQ.js.map +0 -1
  219. package/dist/chunks/calendar.YJTNpmzh.js +0 -888
  220. package/dist/chunks/calendar.YJTNpmzh.js.map +0 -1
  221. package/dist/chunks/checkbox-input.B4A_gL2b.js +0 -128
  222. package/dist/chunks/checkbox-input.B4A_gL2b.js.map +0 -1
  223. package/dist/chunks/checkbox.BpF0HY7C.js +0 -162
  224. package/dist/chunks/checkbox.BpF0HY7C.js.map +0 -1
  225. package/dist/chunks/checkmark-circle-fill.C46dV1Rf.js +0 -24
  226. package/dist/chunks/checkmark-circle-fill.C46dV1Rf.js.map +0 -1
  227. package/dist/chunks/cross-circle-fill.BawVYNw7.js +0 -24
  228. package/dist/chunks/cross-circle-fill.BawVYNw7.js.map +0 -1
  229. package/dist/chunks/data-grid.CHV-FvBB.js.map +0 -1
  230. package/dist/chunks/date-picker.CMj5-RQl.js +0 -213
  231. package/dist/chunks/date-picker.CMj5-RQl.js.map +0 -1
  232. package/dist/chunks/date-range-picker.Jysfo6h3.js +0 -885
  233. package/dist/chunks/date-range-picker.Jysfo6h3.js.map +0 -1
  234. package/dist/chunks/dropdown.DFEGHxjw.js.map +0 -1
  235. package/dist/chunks/file-uploader.DaBMZSsB.js.map +0 -1
  236. package/dist/chunks/form-layout-title.C1n2S73_.js.map +0 -1
  237. package/dist/chunks/header.CRlxEGHb.js +0 -205
  238. package/dist/chunks/header.CRlxEGHb.js.map +0 -1
  239. package/dist/chunks/index.CrhTVr5J.js +0 -10
  240. package/dist/chunks/index.CrhTVr5J.js.map +0 -1
  241. package/dist/chunks/index.DDnf1O9p.js +0 -22
  242. package/dist/chunks/index.DDnf1O9p.js.map +0 -1
  243. package/dist/chunks/index.DPafeRJa.js +0 -10
  244. package/dist/chunks/index.DPafeRJa.js.map +0 -1
  245. package/dist/chunks/info.D4SG-AIm.js +0 -24
  246. package/dist/chunks/info.D4SG-AIm.js.map +0 -1
  247. package/dist/chunks/input-field-password.DsIpkc_9.js.map +0 -1
  248. package/dist/chunks/input-field.Dl2lXZda.js +0 -146
  249. package/dist/chunks/input-field.Dl2lXZda.js.map +0 -1
  250. package/dist/chunks/menu.CzbkunwY.js.map +0 -1
  251. package/dist/chunks/payment-method.BudFG3aC.js +0 -76
  252. package/dist/chunks/payment-method.BudFG3aC.js.map +0 -1
  253. package/dist/chunks/search.pVu-JVAN.js +0 -24
  254. package/dist/chunks/search.pVu-JVAN.js.map +0 -1
  255. package/dist/chunks/tutorial.CmLMgXDK.js.map +0 -1
@@ -1,17 +1,17 @@
1
- import { ref as w, watch as ue, computed as p, defineComponent as A, useSlots as pe, toRefs as fe, nextTick as L, useAttrs as Le, toRef as x, inject as Oe } from "vue";
1
+ import { ref as C, watch as ue, computed as p, defineComponent as R, useSlots as pe, toRefs as fe, nextTick as L, useAttrs as Le, toRef as x, inject as Oe } from "vue";
2
2
  import { d as ie, B as Ee } from "./typography.J1v_SPG3.js";
3
- import { g as P } from "./generate-uid.NJ8tVoha.js";
3
+ import { g as k } from "./generate-uid.NJ8tVoha.js";
4
4
  import { u as De } from "./aria-label.CaUURpnB.js";
5
5
  import { u as V } from "./i18n.BQkEbtPM.js";
6
6
  import { u as Be } from "./use-form-layout-loading.D3lALhtC.js";
7
- import { a as U, b as k, c as Ie, B as F, D as Te } from "./dropdown-default-textbox.DzPBw4CV.js";
8
- import { u as Re } from "./use-has-slot.C9lQZ6nz.js";
9
- import { a as u, b as H, B as J, c as Ae, u as $e } from "./use-cached-selected-values.DVcpkFV3.js";
10
- import { B as D, a as Ne } from "./keyboard-navigation.pB8weElW.js";
7
+ import { a as U, b as P, c as Ie, B as F, D as Te } from "./dropdown-default-textbox.CDTdHfTv.js";
8
+ import { u as Ne } from "./use-has-slot.C9lQZ6nz.js";
9
+ import { a as u, b as H, B as J, c as Re, u as Ae } from "./use-cached-selected-values.CxlYYUbd.js";
10
+ import { B as D, a as $e } from "./keyboard-navigation.pB8weElW.js";
11
11
  import { B as Me } from "./directive.O3yEdalv.js";
12
- import { F as ke, E as Pe } from "./error-message.B3oWB_HM.js";
13
- import { P as re } from "./popper-container.Bqy3oVj6.js";
14
- import { B as Fe } from "./popover.3sHql3nd.js";
12
+ import { F as Pe, E as ke } from "./error-message.B1-ekAMa.js";
13
+ import { P as re } from "./popper-container.CiEkF7eb.js";
14
+ import { B as Fe } from "./popover.Cb6utVhS.js";
15
15
  import { n as K } from "./_plugin-vue2_normalizer.CeySl7Fu.js";
16
16
  /* empty css */
17
17
  import { s as q } from "./events.CMzGybJJ.js";
@@ -30,19 +30,19 @@ const Ke = {
30
30
  apply: "Aplicar",
31
31
  cancel: "Cancelar"
32
32
  }
33
- }, ze = (n, t, o, e) => {
34
- const a = w(n.value), { t: l } = V();
35
- ue(n, () => {
36
- a.value = n.value;
33
+ }, ze = (a, t, o, e) => {
34
+ const n = C(a.value), { t: l } = V();
35
+ ue(a, () => {
36
+ n.value = a.value;
37
37
  });
38
38
  const s = p(
39
- () => JSON.stringify(a.value) === JSON.stringify(n.value)
39
+ () => JSON.stringify(n.value) === JSON.stringify(a.value)
40
40
  ), i = () => {
41
- e(u.SELECT, a.value), e(u.CLOSE_DROPDOWN);
41
+ e(u.SELECT, n.value), e(u.CLOSE_DROPDOWN);
42
42
  }, c = () => {
43
- a.value = n.value, e(u.CLOSE_DROPDOWN);
43
+ n.value = a.value, e(u.CLOSE_DROPDOWN);
44
44
  }, m = () => {
45
- o.value && t.value && (a.value = n.value);
45
+ o.value && t.value && (n.value = a.value);
46
46
  }, r = p(() => [
47
47
  {
48
48
  title: l("apply"),
@@ -54,7 +54,7 @@ const Ke = {
54
54
  event: c
55
55
  }
56
56
  ]), d = (b) => {
57
- a.value = b, t.value || e(u.SELECT, b);
57
+ n.value = b, t.value || e(u.SELECT, b);
58
58
  }, g = (b) => {
59
59
  d(b), e(u.TAB);
60
60
  }, h = (b) => {
@@ -63,11 +63,11 @@ const Ke = {
63
63
  d(b), e(u.SPACE);
64
64
  }, O = () => {
65
65
  c(), e(u.ESCAPE);
66
- }, C = () => {
66
+ }, w = () => {
67
67
  e(u.SHOW_MORE);
68
68
  }, S = {
69
69
  [u.SELECT]: d,
70
- [u.SHOW_MORE]: C,
70
+ [u.SHOW_MORE]: w,
71
71
  [u.TAB]: g,
72
72
  [u.SPACE]: v,
73
73
  [u.ENTER]: h
@@ -75,17 +75,17 @@ const Ke = {
75
75
  return {
76
76
  // Values
77
77
  actions: r,
78
- internalSelectedValue: a,
78
+ internalSelectedValue: n,
79
79
  // Methods
80
80
  listeners: S,
81
81
  onEscapeKey: O,
82
82
  onOutsideDropdownClick: m
83
83
  };
84
- }, We = A({
84
+ }, je = R({
85
85
  i18n: { messages: Ke },
86
86
  name: "bento-dropdown-options-container"
87
- }), je = /* @__PURE__ */ A({
88
- ...We,
87
+ }), We = /* @__PURE__ */ R({
88
+ ...je,
89
89
  props: {
90
90
  /**
91
91
  * Defines a string value that labels an interactive element.
@@ -141,7 +141,7 @@ const Ke = {
141
141
  lazyLoadType: {
142
142
  type: String,
143
143
  default: J.AUTOMATIC,
144
- validator: (n) => Object.values(J).includes(n)
144
+ validator: (a) => Object.values(J).includes(a)
145
145
  },
146
146
  /**
147
147
  * Indicates if new options are loading.
@@ -191,12 +191,12 @@ const Ke = {
191
191
  }
192
192
  },
193
193
  emits: [],
194
- setup(n, { expose: t, emit: o }) {
195
- const e = n, a = pe(), { selectedValue: l, multiple: s } = fe(e), i = w(null), { t: c } = V(), m = p(() => e.open && !e.disabled), r = p(() => c("noOptionsMatchThisSearch")), d = p(() => ({
194
+ setup(a, { expose: t, emit: o }) {
195
+ const e = a, n = pe(), { selectedValue: l, multiple: s } = fe(e), i = C(null), { t: c } = V(), m = p(() => e.open && !e.disabled), r = p(() => c("noOptionsMatchThisSearch")), d = p(() => ({
196
196
  "b-dropdown-options-container--single": !(e != null && e.multiple)
197
197
  })), g = p(() => ({
198
198
  "b-dropdown-options-container__listbox--single": !(e != null && e.multiple)
199
- })), { actions: h, internalSelectedValue: v, listeners: O, onEscapeKey: C, onOutsideDropdownClick: S } = ze(l, s, m, o), b = p(() => e != null && e.multiple ? Fe : re), I = p(() => {
199
+ })), { actions: h, internalSelectedValue: v, listeners: O, onEscapeKey: w, onOutsideDropdownClick: S } = ze(l, s, m, o), b = p(() => e != null && e.multiple ? Fe : re), I = p(() => {
200
200
  var T;
201
201
  const B = {
202
202
  "min-width": `${(T = e == null ? void 0 : e.targetElement) == null ? void 0 : T.clientWidth}px`,
@@ -207,7 +207,7 @@ const Ke = {
207
207
  actions: h.value,
208
208
  divider: !0,
209
209
  fallbackPosition: ["top-start"],
210
- id: P(`dropdown-options-${e.id}`),
210
+ id: k(`dropdown-options-${e.id}`),
211
211
  open: e.open,
212
212
  position: "bottom-start",
213
213
  style: {
@@ -228,20 +228,20 @@ const Ke = {
228
228
  });
229
229
  return t({
230
230
  onOutsideDropdownClick: S
231
- }), { __sfc: !0, slots: a, emit: o, props: e, selectedValue: l, multiple: s, dropdownOptionsListboxRef: i, t: c, isDropdownOpen: m, noResultsMessage: r, conditionalClasses: d, conditionalListboxClasses: g, actions: h, internalSelectedValue: v, listeners: O, onEscapeKey: C, onOutsideDropdownClick: S, popperContainerOrPopoverComponent: b, popperContainerOrPopoverProps: I, BentoListbox: H };
231
+ }), { __sfc: !0, slots: n, emit: o, props: e, selectedValue: l, multiple: s, dropdownOptionsListboxRef: i, t: c, isDropdownOpen: m, noResultsMessage: r, conditionalClasses: d, conditionalListboxClasses: g, actions: h, internalSelectedValue: v, listeners: O, onEscapeKey: w, onOutsideDropdownClick: S, popperContainerOrPopoverComponent: b, popperContainerOrPopoverProps: I, BentoListbox: H };
232
232
  }
233
233
  });
234
234
  var Ue = function() {
235
235
  var t = this, o = t._self._c, e = t._self._setupProxy;
236
- return o(e.popperContainerOrPopoverComponent, t._b({ tag: "component", staticClass: "b-dropdown-options-container", class: e.conditionalClasses, attrs: { "aria-label": t.ariaLabel } }, "component", e.popperContainerOrPopoverProps, !1), [o("div", { on: { keydown: function(a) {
237
- return !a.type.indexOf("key") && t._k(a.keyCode, "esc", 27, a.key, ["Esc", "Escape"]) ? null : e.onEscapeKey.apply(null, arguments);
238
- } } }, [o(e.BentoListbox, t._g({ ref: "dropdownOptionsListboxRef", staticClass: "b-dropdown-options-container__listbox", class: e.conditionalListboxClasses, attrs: { id: t.id, "aria-label": t.ariaLabel, "empty-state": t.emptyState, "is-option-disabled": t.isOptionDisabled, items: t.items, "selected-value": e.internalSelectedValue, multiple: e.multiple, "static-categories": t.staticCategories, "no-results-message": e.noResultsMessage, searching: t.searching, loading: t.loading, "lazy-load-type": t.lazyLoadType, "has-more-items": t.hasMoreItems, "virtual-scroll": t.virtualScroll }, scopedSlots: t._u([t._l(e.slots, function(a, l) {
236
+ return o(e.popperContainerOrPopoverComponent, t._b({ tag: "component", staticClass: "b-dropdown-options-container", class: e.conditionalClasses, attrs: { "aria-label": t.ariaLabel } }, "component", e.popperContainerOrPopoverProps, !1), [o("div", { on: { keydown: function(n) {
237
+ return !n.type.indexOf("key") && t._k(n.keyCode, "esc", 27, n.key, ["Esc", "Escape"]) ? null : e.onEscapeKey.apply(null, arguments);
238
+ } } }, [o(e.BentoListbox, t._g({ ref: "dropdownOptionsListboxRef", staticClass: "b-dropdown-options-container__listbox", class: e.conditionalListboxClasses, attrs: { id: t.id, "aria-label": t.ariaLabel, "empty-state": t.emptyState, "is-option-disabled": t.isOptionDisabled, items: t.items, "selected-value": e.internalSelectedValue, multiple: e.multiple, "static-categories": t.staticCategories, "no-results-message": e.noResultsMessage, searching: t.searching, loading: t.loading, "lazy-load-type": t.lazyLoadType, "has-more-items": t.hasMoreItems, "virtual-scroll": t.virtualScroll }, scopedSlots: t._u([t._l(e.slots, function(n, l) {
239
239
  return { key: l, fn: function(s) {
240
240
  return [t._t(l, null, null, s)];
241
241
  } };
242
242
  })], null, !0) }, e.listeners))], 1)]);
243
243
  }, qe = [], He = /* @__PURE__ */ K(
244
- je,
244
+ We,
245
245
  Ue,
246
246
  qe,
247
247
  !1,
@@ -284,11 +284,11 @@ var et = function() {
284
284
  null,
285
285
  null
286
286
  );
287
- const at = ot.exports, nt = A({
287
+ const nt = ot.exports, at = R({
288
288
  name: "dropdown-small-textbox",
289
289
  inheritAttrs: !1
290
- }), st = /* @__PURE__ */ A({
291
- ...nt,
290
+ }), st = /* @__PURE__ */ R({
291
+ ...at,
292
292
  props: {
293
293
  /**
294
294
  * The number of additional items that have been selected in the dropdown.
@@ -348,8 +348,8 @@ const at = ot.exports, nt = A({
348
348
  value: { type: String, default: "" }
349
349
  },
350
350
  emits: ["clear", "close", "input", "keydown", "open"],
351
- setup(n, { expose: t, emit: o }) {
352
- const e = n, a = w(null), l = p(() => ({
351
+ setup(a, { expose: t, emit: o }) {
352
+ const e = a, n = C(null), l = p(() => ({
353
353
  [`b-dropdown-small-textbox--${U.DISABLED}`]: e.disabled,
354
354
  [`b-dropdown-small-textbox--${U.READONLY}`]: e.readonly,
355
355
  [`b-dropdown-small-textbox--${U.OPENED}`]: e.open
@@ -364,17 +364,17 @@ const at = ot.exports, nt = A({
364
364
  }, d = (v) => {
365
365
  q(v), o("clear");
366
366
  }, g = {
367
- [k.INPUT]: i,
368
- [k.OPEN]: m,
369
- [k.CLOSE]: r,
370
- [k.CLEAR]: d,
371
- [k.KEYDOWN]: c
367
+ [P.INPUT]: i,
368
+ [P.OPEN]: m,
369
+ [P.CLOSE]: r,
370
+ [P.CLEAR]: d,
371
+ [P.KEYDOWN]: c
372
372
  }, h = () => {
373
- a.value.focus();
373
+ n.value.focus();
374
374
  };
375
375
  return t({
376
376
  focus: h
377
- }), { __sfc: !0, emit: o, props: e, baseTextbox: a, conditionalClasses: l, isDropdownOpen: s, onInput: i, onKeyDown: c, openDropdown: m, closeDropdown: r, clearValue: d, listeners: g, focus: h, BentoDropdownSize: F, DropdownBaseTextbox: Ie, ChevronDownSmallIcon: Xe, ChevronUpSmallIcon: at };
377
+ }), { __sfc: !0, emit: o, props: e, baseTextbox: n, conditionalClasses: l, isDropdownOpen: s, onInput: i, onKeyDown: c, openDropdown: m, closeDropdown: r, clearValue: d, listeners: g, focus: h, BentoDropdownSize: F, DropdownBaseTextbox: Ie, ChevronDownSmallIcon: Xe, ChevronUpSmallIcon: nt };
378
378
  }
379
379
  });
380
380
  var lt = function() {
@@ -390,40 +390,40 @@ var lt = function() {
390
390
  null,
391
391
  "d0e53db8"
392
392
  );
393
- const dt = rt.exports, ct = (n, t) => t.value.reduce((o, e) => {
393
+ const dt = rt.exports, ct = (a, t) => t.value.reduce((o, e) => {
394
394
  if (e.items) {
395
- const a = e.items.filter(
396
- (s) => n.value.find((i) => i.value === s.value)
395
+ const n = e.items.filter(
396
+ (s) => a.value.find((i) => i.value === s.value)
397
397
  );
398
- a.length === e.items.length ? o.push(e.displayValue ?? e.label) : a.forEach(({ label: s, displayValue: i }) => o.push(i ?? s));
398
+ n.length === e.items.length ? o.push(e.displayValue ?? e.label) : n.forEach(({ label: s, displayValue: i }) => o.push(i ?? s));
399
399
  }
400
- return n.value.find((a) => a.value === e.value) && o.push(e.displayValue ?? e.label), o;
401
- }, []).join(", "), ut = ({ items: n, placeholder: t, selectedValues: o, isMultiSelect: e }) => {
402
- const a = p(
403
- () => e.value && n.value.find((s) => {
400
+ return a.value.find((n) => n.value === e.value) && o.push(e.displayValue ?? e.label), o;
401
+ }, []).join(", "), ut = ({ items: a, placeholder: t, selectedValues: o, isMultiSelect: e }) => {
402
+ const n = p(
403
+ () => e.value && a.value.find((s) => {
404
404
  var i;
405
405
  return (i = s.items) == null ? void 0 : i.length;
406
406
  })
407
407
  );
408
- return p(() => o.value.length ? a.value ? ct(o, n) : o.value.map(({ label: s, displayValue: i }) => i ?? s).join(", ") : t.value || null);
409
- }, ve = (n) => {
408
+ return p(() => o.value.length ? n.value ? ct(o, a) : o.value.map(({ label: s, displayValue: i }) => i ?? s).join(", ") : t.value || null);
409
+ }, ve = (a) => {
410
410
  var t;
411
- (t = n.value.$children) == null || t[0].$refs.textbox.focus();
411
+ (t = a.value.$children) == null || t[0].$refs.textbox.focus();
412
412
  }, pt = ({
413
- inputContainerRef: n,
413
+ inputContainerRef: a,
414
414
  optionsContainerRef: t,
415
415
  selectedValueIndex: o,
416
416
  isDropdownOpen: e,
417
- isDynamicFltering: a,
417
+ isDynamicFltering: n,
418
418
  items: l,
419
419
  isMultiple: s
420
420
  }, i, c, m) => {
421
421
  const r = async (f) => {
422
422
  var y, E;
423
- a.value && await L(), (E = (y = t.value.$refs.dropdownOptionsListboxRef.$refs.listboxItemRef) == null ? void 0 : y.$el.querySelectorAll('[role="option"]')[f]) == null || E.focus();
423
+ n.value && await L(), (E = (y = t.value.$refs.dropdownOptionsListboxRef.$refs.listboxItemRef) == null ? void 0 : y.$el.querySelectorAll('[role="option"]')[f]) == null || E.focus();
424
424
  }, d = async (f) => {
425
425
  var E, z;
426
- a.value && await L();
426
+ n.value && await L();
427
427
  const y = (E = t.value.$refs.dropdownOptionsListboxRef.$refs.listboxItemRef) == null ? void 0 : E.$el.querySelectorAll(
428
428
  "button"
429
429
  );
@@ -450,8 +450,8 @@ const dt = rt.exports, ct = (n, t) => t.value.reduce((o, e) => {
450
450
  } else
451
451
  g(l.length - 1), r(l.length - 1);
452
452
  }));
453
- }, C = () => {
454
- e.value && (m(), ve(n));
453
+ }, w = () => {
454
+ e.value && (m(), ve(a));
455
455
  }, S = () => {
456
456
  e.value && m();
457
457
  }, b = () => {
@@ -468,19 +468,19 @@ const dt = rt.exports, ct = (n, t) => t.value.reduce((o, e) => {
468
468
  });
469
469
  };
470
470
  return p(() => ({
471
- ...a.value ? {} : { [D.SPACE]: I },
471
+ ...n.value ? {} : { [D.SPACE]: I },
472
472
  [D.ENTER]: B,
473
473
  [D.ARROW_DOWN]: h,
474
474
  [D.ARROW_UP]: v,
475
475
  [D.END]: O,
476
- [D.ESCAPE]: C,
476
+ [D.ESCAPE]: w,
477
477
  [D.HOME]: b,
478
478
  [D.TAB]: S
479
479
  }));
480
- }, ft = ({ inputContainerRef: n, isDropdownOpen: t }, o) => {
480
+ }, ft = ({ inputContainerRef: a, isDropdownOpen: t }, o) => {
481
481
  const e = () => {
482
482
  t.value && o(), L(() => {
483
- ve(n);
483
+ ve(a);
484
484
  });
485
485
  };
486
486
  return {
@@ -490,14 +490,14 @@ const dt = rt.exports, ct = (n, t) => t.value.reduce((o, e) => {
490
490
  [u.SPACE]: e
491
491
  };
492
492
  };
493
- function vt(n, t, o, e) {
494
- const a = w(n), l = w(t), s = (c, m = []) => m.flatMap((r) => r.label.toLocaleLowerCase().includes(c) ? e != null && e.value && r.items ? [...s(c, r.items)] : [r, ...s(c, r.items)] : r.items ? [...s(c, r.items)] : []);
495
- return ue(a, () => {
496
- o !== void 0 && o(a.value);
493
+ function vt(a, t, o, e) {
494
+ const n = C(a), l = C(t), s = (c, m = []) => m.flatMap((r) => r.label.toLocaleLowerCase().includes(c) ? e != null && e.value && r.items ? [...s(c, r.items)] : [r, ...s(c, r.items)] : r.items ? [...s(c, r.items)] : []);
495
+ return ue(n, () => {
496
+ o !== void 0 && o(n.value);
497
497
  }), p(() => {
498
- if (!a.value || o !== void 0)
498
+ if (!n.value || o !== void 0)
499
499
  return l.value;
500
- const c = a.value.toLocaleLowerCase();
500
+ const c = n.value.toLocaleLowerCase();
501
501
  return s(c, l.value);
502
502
  });
503
503
  }
@@ -515,14 +515,14 @@ const mt = {
515
515
  all: "Todos",
516
516
  clearFilter: "Limpar filtro"
517
517
  }
518
- }, bt = Symbol("input field component injection key"), Ft = Symbol("input field hint injection key"), yt = A({
518
+ }, bt = Symbol("input field component injection key"), Ft = Symbol("input field hint injection key"), Kt = Symbol("input field parent component injection key"), yt = R({
519
519
  i18n: { messages: mt },
520
520
  name: "b-dropdown",
521
521
  components: {
522
522
  DropdownInputDefault: Te,
523
523
  DropdownInputSmall: dt
524
524
  }
525
- }), _t = /* @__PURE__ */ A({
525
+ }), _t = /* @__PURE__ */ R({
526
526
  ...yt,
527
527
  props: {
528
528
  /**
@@ -611,7 +611,7 @@ const mt = {
611
611
  lazyLoadType: {
612
612
  type: String,
613
613
  default: H.props.lazyLoadType.default,
614
- validator: (n) => Object.values(J).includes(n)
614
+ validator: (a) => Object.values(J).includes(a)
615
615
  },
616
616
  /*
617
617
  * If enabled, the user will be able to select multiple items.
@@ -651,7 +651,7 @@ const mt = {
651
651
  size: {
652
652
  type: String,
653
653
  default: null,
654
- validator: (n) => Object.values(F).includes(n)
654
+ validator: (a) => Object.values(F).includes(a)
655
655
  },
656
656
  /**
657
657
  * If enabled, dropdown will display non-selectable, static categories
@@ -680,13 +680,13 @@ const mt = {
680
680
  }
681
681
  },
682
682
  emits: ["input", "show-more"],
683
- setup(n, { expose: t, emit: o }) {
683
+ setup(a, { expose: t, emit: o }) {
684
684
  var le;
685
- const e = n, a = Le(), l = pe(), s = Re(l), { t: i } = V(), c = w(null), m = w(null), r = w(null), d = w(!1), g = P("bento-dropdown-options-container"), h = P("dropdown-label"), v = P("dropdown-description"), O = P("dropdown-error"), { isReadOnly: C } = Be(x(e, "readonly")), { cachedSelectedListboxOptions: S, cachedListboxSelectedValues: b, setCachedValues: I } = Ae(
685
+ const e = a, n = Le(), l = pe(), s = Ne(l), { t: i } = V(), c = C(null), m = C(null), r = C(null), d = C(!1), g = k("bento-dropdown-options-container"), h = k("dropdown-label"), v = k("dropdown-description"), O = k("dropdown-error"), { isReadOnly: w } = Be(x(e, "readonly")), { cachedSelectedListboxOptions: S, cachedListboxSelectedValues: b, setCachedValues: I } = Re(
686
686
  x(e, "items"),
687
687
  x(e, "value"),
688
688
  x(e, "multiple")
689
- ), B = w(a["aria-label"]), { ariaLabel: T, label: f } = fe(e), y = De({
689
+ ), B = C(n["aria-label"]), { ariaLabel: T, label: f } = fe(e), y = De({
690
690
  // TODO: take ariaLabel ref away when aria-label prop is removed
691
691
  ariaLabel: T || B,
692
692
  label: f,
@@ -695,8 +695,8 @@ const mt = {
695
695
  "b-dropdown--condensed": e.condensed
696
696
  })), be = p(() => ({
697
697
  "b-dropdown__description--error": !!e.errorMessage
698
- })), R = w(""), $ = x(e, "items"), Y = x(e, "staticCategories"), Z = vt(R, $, (le = e == null ? void 0 : e.search) == null ? void 0 : le.searchEvent, Y), j = p(() => e.dynamicFiltering && !!R.value), ye = ut({
699
- items: $,
698
+ })), N = C(""), A = x(e, "items"), Y = x(e, "staticCategories"), Z = vt(N, A, (le = e == null ? void 0 : e.search) == null ? void 0 : le.searchEvent, Y), W = p(() => e.dynamicFiltering && !!N.value), ye = ut({
699
+ items: A,
700
700
  placeholder: x(e, "placeholder"),
701
701
  isMultiSelect: x(e, "multiple"),
702
702
  selectedValues: S
@@ -713,30 +713,30 @@ const mt = {
713
713
  }
714
714
  return e.items.find(({ value: _ }) => _ === (e == null ? void 0 : e.value));
715
715
  }), Q = p(() => {
716
- const _ = Z.value.findIndex(({ value: N }) => e.value === N);
716
+ const _ = Z.value.findIndex(({ value: $ }) => e.value === $);
717
717
  return _ > 0 ? _ : 0;
718
- }), { isMultiLevelSelect: X, flattenedItemsList: G } = $e($), ge = p(() => {
718
+ }), { isMultiLevelSelect: X, flattenedItemsList: G } = Ae(A), ge = p(() => {
719
719
  var _;
720
720
  if (e.multiple) {
721
- const N = (_ = e == null ? void 0 : e.value) == null ? void 0 : _.length, M = X.value ? G.value.length : $.value.length;
722
- return !e.hasMoreItems && M === N ? i("all") : N;
721
+ const $ = (_ = e == null ? void 0 : e.value) == null ? void 0 : _.length, M = X.value ? G.value.length : A.value.length;
722
+ return !e.hasMoreItems && M === $ ? i("all") : $;
723
723
  }
724
724
  return null;
725
725
  }), he = p(
726
726
  () => `${e.description ? v : ""} ${e.errorMessage ? O : ""}`.trim() || null
727
727
  ), ee = () => {
728
- C.value || (d.value = !0);
729
- }, W = () => {
728
+ w.value || (d.value = !0);
729
+ }, j = () => {
730
730
  d.value = !1;
731
731
  }, te = () => {
732
- C.value || (d.value = !d.value, j.value && (R.value = ""));
733
- }, we = () => {
734
- j.value && (R.value = ""), d.value && (d.value = !1, r.value.onOutsideDropdownClick());
732
+ w.value || (d.value = !d.value, W.value && (N.value = ""));
733
+ }, Ce = () => {
734
+ W.value && (N.value = ""), d.value && (d.value = !1, r.value.onOutsideDropdownClick());
735
735
  }, oe = (_) => {
736
- e.multiple || (R.value = "", d.value = !1), I(_), o("input", b.value);
737
- }, ae = () => {
736
+ e.multiple || (N.value = "", d.value = !1), I(_), o("input", b.value);
737
+ }, ne = () => {
738
738
  o(u.SHOW_MORE);
739
- }, Ce = pt(
739
+ }, we = pt(
740
740
  {
741
741
  inputContainerRef: c,
742
742
  optionsContainerRef: r,
@@ -748,18 +748,18 @@ const mt = {
748
748
  },
749
749
  te,
750
750
  ee,
751
- W
752
- ), ne = ft(
751
+ j
752
+ ), ae = ft(
753
753
  {
754
754
  inputContainerRef: c,
755
755
  isDropdownOpen: d
756
756
  },
757
- W
757
+ j
758
758
  ), Se = {
759
- [u.CLOSE_DROPDOWN]: W,
759
+ [u.CLOSE_DROPDOWN]: j,
760
760
  [u.SELECT]: oe,
761
- [u.SHOW_MORE]: ae,
762
- ...ne
761
+ [u.SHOW_MORE]: ne,
762
+ ...ae
763
763
  };
764
764
  e.error && ie(
765
765
  'BentoDropdown "error" property',
@@ -773,11 +773,11 @@ const mt = {
773
773
  };
774
774
  return t({
775
775
  focus: se
776
- }), { __sfc: !0, attrs: a, slots: l, hasSlot: s, props: e, emit: o, t: i, inputContainerRef: c, inputContainerRefWrapper: m, optionsContainerRef: r, isDropdownOpen: d, dropdownOptionsContainerId: g, labelId: h, descriptionId: v, errorId: O, isReadOnly: C, cachedSelectedListboxOptions: S, cachedListboxSelectedValues: b, setCachedValues: I, ariaLabelAttribute: B, ariaLabel: T, label: f, computedAriaLabel: y, isInputComponent: E, size: z, conditionalClasses: me, descriptionConditionalClasses: be, searchTerm: R, items: $, staticCategories: Y, filteredItems: Z, isSearching: j, displayValue: ye, selectedValueItem: _e, selectedValueIndex: Q, isMultiLevelSelect: X, flattenedItemsList: G, additionalItemsSelected: ge, ariaDescribedBy: he, openDropdown: ee, closeDropdown: W, toggleDropdown: te, clickOutsideDropdown: we, onOptionSelected: oe, emitShowMoreEvent: ae, textboxKeyboardNavigationListeners: Ce, listboxKeyboardNavigationListeners: ne, listboxListeners: Se, focus: se, BentoDropdownOptionsContainer: Je, BentoTypography: Ee, ErrorMessage: Pe, FieldLabel: ke, vBentoClickOutsideDirective: Me, vBentoKeyboardNavigationDirective: Ne };
776
+ }), { __sfc: !0, attrs: n, slots: l, hasSlot: s, props: e, emit: o, t: i, inputContainerRef: c, inputContainerRefWrapper: m, optionsContainerRef: r, isDropdownOpen: d, dropdownOptionsContainerId: g, labelId: h, descriptionId: v, errorId: O, isReadOnly: w, cachedSelectedListboxOptions: S, cachedListboxSelectedValues: b, setCachedValues: I, ariaLabelAttribute: B, ariaLabel: T, label: f, computedAriaLabel: y, isInputComponent: E, size: z, conditionalClasses: me, descriptionConditionalClasses: be, searchTerm: N, items: A, staticCategories: Y, filteredItems: Z, isSearching: W, displayValue: ye, selectedValueItem: _e, selectedValueIndex: Q, isMultiLevelSelect: X, flattenedItemsList: G, additionalItemsSelected: ge, ariaDescribedBy: he, openDropdown: ee, closeDropdown: j, toggleDropdown: te, clickOutsideDropdown: Ce, onOptionSelected: oe, emitShowMoreEvent: ne, textboxKeyboardNavigationListeners: we, listboxKeyboardNavigationListeners: ae, listboxListeners: Se, focus: se, BentoDropdownOptionsContainer: Je, BentoTypography: Ee, ErrorMessage: ke, FieldLabel: Pe, vBentoClickOutsideDirective: Me, vBentoKeyboardNavigationDirective: $e };
777
777
  }
778
778
  });
779
779
  var gt = function() {
780
- var a;
780
+ var n;
781
781
  var t = this, o = t._self._c, e = t._self._setupProxy;
782
782
  return o("div", { directives: [{ name: "bento-click-outside-directive", rawName: "v-bento-click-outside-directive", value: e.clickOutsideDropdown, expression: "clickOutsideDropdown" }], staticClass: "b-dropdown", class: e.conditionalClasses }, [e.label ? o(e.FieldLabel, { attrs: { id: e.labelId, condensed: t.condensed, label: e.label, "tooltip-text": t.tooltipText, optional: t.optional, required: t.required } }) : t._e(), o("div", t._g({ directives: [{ name: "bento-keyboard-navigation-directive", rawName: "v-bento-keyboard-navigation-directive" }], ref: "inputContainerRefWrapper" }, e.textboxKeyboardNavigationListeners), [o(e.size, { ref: "inputContainerRef", tag: "component", attrs: { condensed: t.condensed, value: e.searchTerm, "additional-items-selected": e.additionalItemsSelected, ariaControls: e.dropdownOptionsContainerId, ariaExpanded: e.isDropdownOpen, "aria-labelledby": e.label ? e.labelId : null, "aria-describedby": e.ariaDescribedBy, "aria-label": e.computedAriaLabel, "aria-readonly": e.isReadOnly, readonly: e.isReadOnly, disabled: t.disabled, "display-value": e.displayValue, "dynamic-filtering": t.dynamicFiltering, "is-invalid": !!t.errorMessage || t.error, multiple: t.multiple, open: e.isDropdownOpen, "selected-value-item": e.isInputComponent ? void 0 : e.selectedValueItem, "show-slot-content-in-multiple": t.showSlotContentInMultiple }, on: { input: function(l) {
783
783
  e.searchTerm = l;
@@ -785,14 +785,14 @@ var gt = function() {
785
785
  return { key: s, fn: function(i) {
786
786
  return [t._t(s, null, null, i)];
787
787
  } };
788
- })], null, !0) })], 1), e.inputContainerRef ? o(e.BentoDropdownOptionsContainer, t._g({ ref: "optionsContainerRef", attrs: { id: e.dropdownOptionsContainerId, "aria-label": e.computedAriaLabel, "empty-state": t.emptyState, "debounce-time": (a = t.search) == null ? void 0 : a.debounceTime, disabled: t.disabled, "is-option-disabled": t.isOptionDisabled, items: e.filteredItems, multiple: t.multiple, "static-categories": e.staticCategories, open: e.isDropdownOpen, "selected-value": e.cachedSelectedListboxOptions, searching: e.isSearching, "target-element": e.inputContainerRefWrapper, loading: t.loading, "has-more-items": t.hasMoreItems, "lazy-load-type": t.lazyLoadType, "virtual-scroll": t.virtualScroll }, scopedSlots: t._u([t._l(e.slots, function(l, s) {
788
+ })], null, !0) })], 1), e.inputContainerRef ? o(e.BentoDropdownOptionsContainer, t._g({ ref: "optionsContainerRef", attrs: { id: e.dropdownOptionsContainerId, "aria-label": e.computedAriaLabel, "empty-state": t.emptyState, "debounce-time": (n = t.search) == null ? void 0 : n.debounceTime, disabled: t.disabled, "is-option-disabled": t.isOptionDisabled, items: e.filteredItems, multiple: t.multiple, "static-categories": e.staticCategories, open: e.isDropdownOpen, "selected-value": e.cachedSelectedListboxOptions, searching: e.isSearching, "target-element": e.inputContainerRefWrapper, loading: t.loading, "has-more-items": t.hasMoreItems, "lazy-load-type": t.lazyLoadType, "virtual-scroll": t.virtualScroll }, scopedSlots: t._u([t._l(e.slots, function(l, s) {
789
789
  return { key: s, fn: function(i) {
790
790
  return [t._t(s, null, null, i)];
791
791
  } };
792
792
  })], null, !0) }, e.listboxListeners)) : t._e(), t.errorMessage ? o(e.ErrorMessage, { staticClass: "b-dropdown__error-message", attrs: { id: e.errorId, "error-message": t.errorMessage } }) : t._e(), t.description || e.hasSlot("description") ? o(e.BentoTypography, { staticClass: "b-dropdown__description", class: e.descriptionConditionalClasses, attrs: { id: e.descriptionId, el: "span" } }, [t._t("description", function() {
793
793
  return [t._v(" " + t._s(t.description) + " ")];
794
794
  })], 2) : t._e()], 1);
795
- }, ht = [], wt = /* @__PURE__ */ K(
795
+ }, ht = [], Ct = /* @__PURE__ */ K(
796
796
  _t,
797
797
  gt,
798
798
  ht,
@@ -800,11 +800,12 @@ var gt = function() {
800
800
  null,
801
801
  "de09bc83"
802
802
  );
803
- const Kt = wt.exports;
803
+ const zt = Ct.exports;
804
804
  export {
805
- Kt as B,
805
+ zt as B,
806
806
  Ft as I,
807
807
  bt as a,
808
+ Kt as b,
808
809
  vt as u
809
810
  };
810
- //# sourceMappingURL=dropdown.DFEGHxjw.js.map
811
+ //# sourceMappingURL=dropdown.CcHoKbLz.js.map