@adyen/bento-vue2 1.45.0 → 1.46.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 (253) hide show
  1. package/dist/@types/index.d.ts +16661 -18774
  2. package/dist/accordion.js +1 -1
  3. package/dist/action-bar.js +1 -1
  4. package/dist/alert.js +1 -1
  5. package/dist/assets/accordion-item.css +1 -1
  6. package/dist/assets/action-bar.css +1 -1
  7. package/dist/assets/base-modal.css +1 -1
  8. package/dist/assets/card.css +1 -1
  9. package/dist/assets/data-grid.css +1 -1
  10. package/dist/assets/dialog-page.css +1 -1
  11. package/dist/assets/dropdown.css +1 -1
  12. package/dist/assets/file-uploader.css +1 -1
  13. package/dist/assets/input-field.css +1 -1
  14. package/dist/assets/inspector.css +1 -1
  15. package/dist/assets/menu.css +1 -1
  16. package/dist/assets/modal-fullscreen.css +1 -1
  17. package/dist/assets/popover.css +1 -1
  18. package/dist/assets/sidepanel.css +1 -1
  19. package/dist/assets/step.css +1 -1
  20. package/dist/avatar.js +1 -1
  21. package/dist/button.js +3 -3
  22. package/dist/card.js +1 -1
  23. package/dist/checkbox.js +2 -2
  24. package/dist/chunks/{accordion-item.CzKttO4w.js → accordion-item.BjXzREaK.js} +5 -5
  25. package/dist/chunks/{accordion-item.CzKttO4w.js.map → accordion-item.BjXzREaK.js.map} +1 -1
  26. package/dist/chunks/{action-bar.BXemSuq4.js → action-bar.e_2fmyN_.js} +7 -7
  27. package/dist/chunks/{action-bar.BXemSuq4.js.map → action-bar.e_2fmyN_.js.map} +1 -1
  28. package/dist/chunks/{alert.CAIp-87f.js → alert.BcfhueIA.js} +3 -3
  29. package/dist/chunks/{alert.CAIp-87f.js.map → alert.BcfhueIA.js.map} +1 -1
  30. package/dist/chunks/{avatar.BgwjpLQO.js → avatar.DXzyWKsI.js} +2 -2
  31. package/dist/chunks/{avatar.BgwjpLQO.js.map → avatar.DXzyWKsI.js.map} +1 -1
  32. package/dist/chunks/{base-button.-gx_u8Bd.js → base-button.BeMKxkgK.js} +2 -2
  33. package/dist/chunks/{base-button.-gx_u8Bd.js.map → base-button.BeMKxkgK.js.map} +1 -1
  34. package/dist/chunks/{base-modal.4JSNBM4T.js → base-modal.UPLi477L.js} +18 -18
  35. package/dist/chunks/{base-modal.4JSNBM4T.js.map → base-modal.UPLi477L.js.map} +1 -1
  36. package/dist/chunks/{button-actions-with-menu.ieopdfI7.js → button-actions-with-menu.CyNvhDxN.js} +4 -4
  37. package/dist/chunks/{button-actions-with-menu.ieopdfI7.js.map → button-actions-with-menu.CyNvhDxN.js.map} +1 -1
  38. package/dist/chunks/{button-actions.CtFB6iRj.js → button-actions.BaypoF5i.js} +3 -3
  39. package/dist/chunks/{button-actions.CtFB6iRj.js.map → button-actions.BaypoF5i.js.map} +1 -1
  40. package/dist/chunks/{button.BX6ZJxF7.js → button.Bx8WC-dy.js} +3 -3
  41. package/dist/chunks/{button.BX6ZJxF7.js.map → button.Bx8WC-dy.js.map} +1 -1
  42. package/dist/chunks/{calendar.BouORZfb.js → calendar.LXRuFfcw.js} +9 -9
  43. package/dist/chunks/{calendar.BouORZfb.js.map → calendar.LXRuFfcw.js.map} +1 -1
  44. package/dist/chunks/{card.BabmUkTG.js → card.INSvvGNH.js} +6 -6
  45. package/dist/chunks/{card.BabmUkTG.js.map → card.INSvvGNH.js.map} +1 -1
  46. package/dist/chunks/{checkbox-group.DbLznnsa.js → checkbox-group.BNVnOYKH.js} +7 -7
  47. package/dist/chunks/{checkbox-group.DbLznnsa.js.map → checkbox-group.BNVnOYKH.js.map} +1 -1
  48. package/dist/chunks/{checkbox.fhQLs-NN.js → checkbox.CcwY2CMn.js} +5 -5
  49. package/dist/chunks/{checkbox.fhQLs-NN.js.map → checkbox.CcwY2CMn.js.map} +1 -1
  50. package/dist/chunks/{chevron-left.PIu6yPqe.js → chevron-left.CtnrsqUy.js} +3 -3
  51. package/dist/chunks/{chevron-left.PIu6yPqe.js.map → chevron-left.CtnrsqUy.js.map} +1 -1
  52. package/dist/chunks/{chevron-up.DVfo78kV.js → chevron-up.B2uWhZf7.js} +3 -3
  53. package/dist/chunks/{chevron-up.DVfo78kV.js.map → chevron-up.B2uWhZf7.js.map} +1 -1
  54. package/dist/chunks/{code-snippet.5iJcUZSo.js → code-snippet.Bs7wIGi8.js} +113 -83
  55. package/dist/chunks/code-snippet.Bs7wIGi8.js.map +1 -0
  56. package/dist/chunks/{codemirror.CXFEqvAi.js → codemirror.OjJ-3ixa.js} +5180 -4862
  57. package/dist/chunks/codemirror.OjJ-3ixa.js.map +1 -0
  58. package/dist/chunks/{controls-group.CnXzOQkX.js → controls-group.CIdhlTk3.js} +3 -3
  59. package/dist/chunks/{controls-group.CnXzOQkX.js.map → controls-group.CIdhlTk3.js.map} +1 -1
  60. package/dist/chunks/{copy.DN0tClPm.js → copy.BakPR7GI.js} +4 -4
  61. package/dist/chunks/{copy.DN0tClPm.js.map → copy.BakPR7GI.js.map} +1 -1
  62. package/dist/chunks/{country.Bft91V1L.js → country.BegULkAC.js} +3 -3
  63. package/dist/chunks/{country.Bft91V1L.js.map → country.BegULkAC.js.map} +1 -1
  64. package/dist/chunks/{currency.BmI4Sqy5.js → currency.P7Psn_SK.js} +2 -2
  65. package/dist/chunks/{currency.BmI4Sqy5.js.map → currency.P7Psn_SK.js.map} +1 -1
  66. package/dist/chunks/{dashboard-section.DYXZhtop.js → dashboard-section.DUN8FB74.js} +5 -5
  67. package/dist/chunks/{dashboard-section.DYXZhtop.js.map → dashboard-section.DUN8FB74.js.map} +1 -1
  68. package/dist/chunks/{dashed-underline.BvSZS1-m.js → dashed-underline.BDK3yEtw.js} +4 -4
  69. package/dist/chunks/{dashed-underline.BvSZS1-m.js.map → dashed-underline.BDK3yEtw.js.map} +1 -1
  70. package/dist/chunks/{data-grid-template.Du92TEFY.js → data-grid-template.BO2v-T1n.js} +4 -4
  71. package/dist/chunks/{data-grid-template.Du92TEFY.js.map → data-grid-template.BO2v-T1n.js.map} +1 -1
  72. package/dist/chunks/{data-grid.Kwtf1DMq.js → data-grid.NkQC0etq.js} +44 -44
  73. package/dist/chunks/{data-grid.Kwtf1DMq.js.map → data-grid.NkQC0etq.js.map} +1 -1
  74. package/dist/chunks/{date-picker.B7mTNghB.js → date-picker.DFgjvQgX.js} +11 -11
  75. package/dist/chunks/{date-picker.B7mTNghB.js.map → date-picker.DFgjvQgX.js.map} +1 -1
  76. package/dist/chunks/{date-range-picker.DPLri9D-.js → date-range-picker.BBC3TGYw.js} +241 -241
  77. package/dist/chunks/{date-range-picker.DPLri9D-.js.map → date-range-picker.BBC3TGYw.js.map} +1 -1
  78. package/dist/chunks/{date.1zs9CRhw.js → date.BQ29-2L1.js} +4 -2
  79. package/dist/chunks/{date.1zs9CRhw.js.map → date.BQ29-2L1.js.map} +1 -1
  80. package/dist/chunks/{dialog-page.DcJ7LaOE.js → dialog-page.Da2cxzZm.js} +31 -32
  81. package/dist/chunks/{dialog-page.DcJ7LaOE.js.map → dialog-page.Da2cxzZm.js.map} +1 -1
  82. package/dist/chunks/{dropdown-default-textbox.DBoSso4J.js → dropdown-default-textbox.CrylDCEX.js} +5 -5
  83. package/dist/chunks/{dropdown-default-textbox.DBoSso4J.js.map → dropdown-default-textbox.CrylDCEX.js.map} +1 -1
  84. package/dist/chunks/{dropdown-tag.XIlES6IT.js → dropdown-tag.xVgcIWXL.js} +6 -6
  85. package/dist/chunks/{dropdown-tag.XIlES6IT.js.map → dropdown-tag.xVgcIWXL.js.map} +1 -1
  86. package/dist/chunks/{dropdown.BqsoncJr.js → dropdown.BkLc07G8.js} +196 -192
  87. package/dist/chunks/dropdown.BkLc07G8.js.map +1 -0
  88. package/dist/chunks/{empty-state.1TyzB5ju.js → empty-state.B6wjtgR0.js} +5 -5
  89. package/dist/chunks/{empty-state.1TyzB5ju.js.map → empty-state.B6wjtgR0.js.map} +1 -1
  90. package/dist/chunks/{error-message.Ccc1sTTp.js → error-message.Brg-AZjT.js} +3 -3
  91. package/dist/chunks/{error-message.Ccc1sTTp.js.map → error-message.Brg-AZjT.js.map} +1 -1
  92. package/dist/chunks/{es6.jIyAPBgt.js → es6.D11bE5vq.js} +6 -6
  93. package/dist/chunks/{es6.jIyAPBgt.js.map → es6.D11bE5vq.js.map} +1 -1
  94. package/dist/chunks/file-uploader.BePx7fcJ.js +1879 -0
  95. package/dist/chunks/file-uploader.BePx7fcJ.js.map +1 -0
  96. package/dist/chunks/{filter-bar.DT_-lVmf.js → filter-bar.BbVGpEJx.js} +48 -48
  97. package/dist/chunks/{filter-bar.DT_-lVmf.js.map → filter-bar.BbVGpEJx.js.map} +1 -1
  98. package/dist/chunks/{fixed-scroller.IPM3AzHS.js → fixed-scroller.BE1hWLr6.js} +4 -4
  99. package/dist/chunks/{fixed-scroller.IPM3AzHS.js.map → fixed-scroller.BE1hWLr6.js.map} +1 -1
  100. package/dist/chunks/{focus-trap.CGypVwG6.js → focus-trap.DA_1lCcM.js} +2 -2
  101. package/dist/chunks/{focus-trap.CGypVwG6.js.map → focus-trap.DA_1lCcM.js.map} +1 -1
  102. package/dist/chunks/{footer-actions.D0uH9JWq.js → footer-actions.O24MYRgM.js} +4 -4
  103. package/dist/chunks/{footer-actions.D0uH9JWq.js.map → footer-actions.O24MYRgM.js.map} +1 -1
  104. package/dist/chunks/{form-layout-title.DN0jonFa.js → form-layout-title.DRuBsptB.js} +3 -3
  105. package/dist/chunks/{form-layout-title.DN0jonFa.js.map → form-layout-title.DRuBsptB.js.map} +1 -1
  106. package/dist/chunks/{generate-uid.NJ8tVoha.js → generate-uid.D-HFI38h.js} +2 -2
  107. package/dist/chunks/{generate-uid.NJ8tVoha.js.map → generate-uid.D-HFI38h.js.map} +1 -1
  108. package/dist/chunks/{header.BvZxtIOD.js → header.Bbwnv6Ei.js} +66 -66
  109. package/dist/chunks/{header.BvZxtIOD.js.map → header.Bbwnv6Ei.js.map} +1 -1
  110. package/dist/chunks/{index.D8ivUe7P.js → index.B5Tq465X.js} +5 -5
  111. package/dist/chunks/{index.D8ivUe7P.js.map → index.B5Tq465X.js.map} +1 -1
  112. package/dist/chunks/{info-icon-with-popover.DEjsASNU.js → info-icon-with-popover.Cd3RQWUu.js} +4 -4
  113. package/dist/chunks/{info-icon-with-popover.DEjsASNU.js.map → info-icon-with-popover.Cd3RQWUu.js.map} +1 -1
  114. package/dist/chunks/{info-icon.0d0GzDe2.js → info-icon.BnSZeQm8.js} +3 -3
  115. package/dist/chunks/{info-icon.0d0GzDe2.js.map → info-icon.BnSZeQm8.js.map} +1 -1
  116. package/dist/chunks/{input-field-password.HRDEb0jL.js → input-field-password.CvKC9xjJ.js} +10 -10
  117. package/dist/chunks/{input-field-password.HRDEb0jL.js.map → input-field-password.CvKC9xjJ.js.map} +1 -1
  118. package/dist/chunks/input-field.Dgop3JWW.js +231 -0
  119. package/dist/chunks/input-field.Dgop3JWW.js.map +1 -0
  120. package/dist/chunks/{inspector.types.2YEArjPi.js → inspector.types.j1usQ6FN.js} +5 -5
  121. package/dist/chunks/{inspector.types.2YEArjPi.js.map → inspector.types.j1usQ6FN.js.map} +1 -1
  122. package/dist/chunks/{layout-row.BfS-cPky.js → layout-row.DAeZh7Rv.js} +3 -3
  123. package/dist/chunks/{layout-row.BfS-cPky.js.map → layout-row.DAeZh7Rv.js.map} +1 -1
  124. package/dist/chunks/{link.UOEUR35A.js → link.B2DE2ryp.js} +2 -2
  125. package/dist/chunks/{link.UOEUR35A.js.map → link.B2DE2ryp.js.map} +1 -1
  126. package/dist/chunks/{listbox-option-tag.Co0ycEdQ.js → listbox-option-tag.drC_50fU.js} +3 -3
  127. package/dist/chunks/{listbox-option-tag.Co0ycEdQ.js.map → listbox-option-tag.drC_50fU.js.map} +1 -1
  128. package/dist/chunks/{menu.CLaN9Eys.js → menu.DCRfI10M.js} +9 -9
  129. package/dist/chunks/{menu.CLaN9Eys.js.map → menu.DCRfI10M.js.map} +1 -1
  130. package/dist/chunks/{modal-fullscreen.B-qr1Szh.js → modal-fullscreen.DgDk6uxS.js} +7 -7
  131. package/dist/chunks/{modal-fullscreen.B-qr1Szh.js.map → modal-fullscreen.DgDk6uxS.js.map} +1 -1
  132. package/dist/chunks/{modal.wU3uUJKq.js → modal.B7giFLek.js} +6 -6
  133. package/dist/chunks/{modal.wU3uUJKq.js.map → modal.B7giFLek.js.map} +1 -1
  134. package/dist/chunks/{pagination.BM3FhtxJ.js → pagination.Dc0VbxFL.js} +5 -5
  135. package/dist/chunks/{pagination.BM3FhtxJ.js.map → pagination.Dc0VbxFL.js.map} +1 -1
  136. package/dist/chunks/{payment-method.UaERFtej.js → payment-method.CoXB0ZAW.js} +2 -2
  137. package/dist/chunks/{payment-method.UaERFtej.js.map → payment-method.CoXB0ZAW.js.map} +1 -1
  138. package/dist/chunks/{popover.DsUymZWJ.js → popover.D8pR_dbl.js} +5 -5
  139. package/dist/chunks/{popover.DsUymZWJ.js.map → popover.D8pR_dbl.js.map} +1 -1
  140. package/dist/chunks/{popper-container.B1iB2ovW.js → popper-container.B9qZTf2V.js} +3 -3
  141. package/dist/chunks/{popper-container.B1iB2ovW.js.map → popper-container.B9qZTf2V.js.map} +1 -1
  142. package/dist/chunks/{promo-banner.BXtIM4C9.js → promo-banner.Dd-JQMUD.js} +7 -7
  143. package/dist/chunks/{promo-banner.BXtIM4C9.js.map → promo-banner.Dd-JQMUD.js.map} +1 -1
  144. package/dist/chunks/{radio-group.DMob8x2J.js → radio-group.D5GEIgYv.js} +15 -15
  145. package/dist/chunks/{radio-group.DMob8x2J.js.map → radio-group.D5GEIgYv.js.map} +1 -1
  146. package/dist/chunks/{search-bar.rubkdbcD.js → search-bar.BN4grqVO.js} +3 -3
  147. package/dist/chunks/{search-bar.rubkdbcD.js.map → search-bar.BN4grqVO.js.map} +1 -1
  148. package/dist/chunks/{secondary-nav.DKSjc5bn.js → secondary-nav.C8UE8xly.js} +8 -8
  149. package/dist/chunks/{secondary-nav.DKSjc5bn.js.map → secondary-nav.C8UE8xly.js.map} +1 -1
  150. package/dist/chunks/{segmented-control.DL0W7lJ_.js → segmented-control.C6HPgkVm.js} +4 -4
  151. package/dist/chunks/{segmented-control.DL0W7lJ_.js.map → segmented-control.C6HPgkVm.js.map} +1 -1
  152. package/dist/chunks/{selection-card-group.iYyZ9yX4.js → selection-card-group.BT7FOlbF.js} +9 -9
  153. package/dist/chunks/{selection-card-group.iYyZ9yX4.js.map → selection-card-group.BT7FOlbF.js.map} +1 -1
  154. package/dist/chunks/{sidepanel.CQnLpV8A.js → sidepanel.PEMSN4Hj.js} +11 -11
  155. package/dist/chunks/{sidepanel.CQnLpV8A.js.map → sidepanel.PEMSN4Hj.js.map} +1 -1
  156. package/dist/chunks/{status.types.Cv6hHRMu.js → status.types.B0jtv0c7.js} +2 -2
  157. package/dist/chunks/{status.types.Cv6hHRMu.js.map → status.types.B0jtv0c7.js.map} +1 -1
  158. package/dist/chunks/{step.BsIdWhaZ.js → step.Dq4w23dP.js} +3 -3
  159. package/dist/chunks/{step.BsIdWhaZ.js.map → step.Dq4w23dP.js.map} +1 -1
  160. package/dist/chunks/{structured-list-item.BhBbmkbw.js → structured-list-item.-ch3UkPz.js} +6 -6
  161. package/dist/chunks/{structured-list-item.BhBbmkbw.js.map → structured-list-item.-ch3UkPz.js.map} +1 -1
  162. package/dist/chunks/{summary-grid-item-custom.CicAOBVQ.js → summary-grid-item-custom.CLVYmhnp.js} +5 -5
  163. package/dist/chunks/{summary-grid-item-custom.CicAOBVQ.js.map → summary-grid-item-custom.CLVYmhnp.js.map} +1 -1
  164. package/dist/chunks/{tabs.9kObZry9.js → tabs.B0f1qiMR.js} +4 -4
  165. package/dist/chunks/{tabs.9kObZry9.js.map → tabs.B0f1qiMR.js.map} +1 -1
  166. package/dist/chunks/{tag.-YNhsBv7.js → tag.d36UYSWd.js} +3 -3
  167. package/dist/chunks/{tag.-YNhsBv7.js.map → tag.d36UYSWd.js.map} +1 -1
  168. package/dist/chunks/{textarea.Cf21WMwL.js → textarea.DORWuAZn.js} +6 -6
  169. package/dist/chunks/{textarea.Cf21WMwL.js.map → textarea.DORWuAZn.js.map} +1 -1
  170. package/dist/chunks/{timeline-item.Cu5b-Mqj.js → timeline-item.CUm_n51y.js} +12 -12
  171. package/dist/chunks/{timeline-item.Cu5b-Mqj.js.map → timeline-item.CUm_n51y.js.map} +1 -1
  172. package/dist/chunks/{toast.DgJbW9CL.js → toast.DCaWC_wv.js} +4 -4
  173. package/dist/chunks/{toast.DgJbW9CL.js.map → toast.DCaWC_wv.js.map} +1 -1
  174. package/dist/chunks/{toggle-button.Cf8C7p6e.js → toggle-button.DJqs599a.js} +2 -2
  175. package/dist/chunks/{toggle-button.Cf8C7p6e.js.map → toggle-button.DJqs599a.js.map} +1 -1
  176. package/dist/chunks/{toggle.CnS7qszG.js → toggle.INRYdQzz.js} +3 -3
  177. package/dist/chunks/{toggle.CnS7qszG.js.map → toggle.INRYdQzz.js.map} +1 -1
  178. package/dist/chunks/{tooltip.R2sqydIE.js → tooltip.CQGwmwt9.js} +4 -4
  179. package/dist/chunks/{tooltip.R2sqydIE.js.map → tooltip.CQGwmwt9.js.map} +1 -1
  180. package/dist/chunks/{tutorial.w2ZqeOh1.js → tutorial.B_8XNKvM.js} +9 -9
  181. package/dist/chunks/{tutorial.w2ZqeOh1.js.map → tutorial.B_8XNKvM.js.map} +1 -1
  182. package/dist/chunks/{typography.J1v_SPG3.js → typography.Bu_WAKdf.js} +1 -2
  183. package/dist/chunks/{typography.J1v_SPG3.js.map → typography.Bu_WAKdf.js.map} +1 -1
  184. package/dist/chunks/{use-bento-toast-controller.Cn_2Eogn.js → use-bento-toast-controller.BVVMh0wc.js} +3 -3
  185. package/dist/chunks/{use-bento-toast-controller.Cn_2Eogn.js.map → use-bento-toast-controller.BVVMh0wc.js.map} +1 -1
  186. package/dist/chunks/{use-cached-selected-values.impKjAIS.js → use-cached-selected-values.DJl7FKT5.js} +19 -19
  187. package/dist/chunks/{use-cached-selected-values.impKjAIS.js.map → use-cached-selected-values.DJl7FKT5.js.map} +1 -1
  188. package/dist/code-snippet.js +1 -1
  189. package/dist/country.js +1 -1
  190. package/dist/currency.js +1 -1
  191. package/dist/dashboard-template.js +1 -1
  192. package/dist/dashed-underline.js +1 -1
  193. package/dist/data-grid-template.js +1 -1
  194. package/dist/data-grid.js +1 -1
  195. package/dist/date-picker.js +2 -2
  196. package/dist/date-range-picker.js +2 -2
  197. package/dist/date.js +1 -1
  198. package/dist/dropdown.js +4 -4
  199. package/dist/empty-state.js +1 -1
  200. package/dist/file-uploader.js +1 -1
  201. package/dist/filter-bar.js +1 -1
  202. package/dist/focus-trap.js +1 -1
  203. package/dist/form-layout.js +1 -1
  204. package/dist/header.js +1 -1
  205. package/dist/index.js +67 -67
  206. package/dist/index.js.map +1 -1
  207. package/dist/info-icon.js +1 -1
  208. package/dist/input-field-password.js +1 -1
  209. package/dist/input-field.js +1 -1
  210. package/dist/inspector.js +1 -1
  211. package/dist/internal.js +12 -12
  212. package/dist/layout.js +1 -1
  213. package/dist/link.js +1 -1
  214. package/dist/menu.js +1 -1
  215. package/dist/modal-fullscreen.js +1 -1
  216. package/dist/modal.js +2 -2
  217. package/dist/pagination.js +1 -1
  218. package/dist/payment-method.js +1 -1
  219. package/dist/popover.js +1 -1
  220. package/dist/popper-container.js +1 -1
  221. package/dist/promo-banner.js +1 -1
  222. package/dist/radio-group.js +1 -1
  223. package/dist/search-bar.js +2 -2
  224. package/dist/secondary-nav.js +1 -1
  225. package/dist/segmented-control.js +1 -1
  226. package/dist/selection-card.js +1 -1
  227. package/dist/sidepanel.js +1 -1
  228. package/dist/status.js +1 -1
  229. package/dist/stepper.js +1 -1
  230. package/dist/structured-list.js +1 -1
  231. package/dist/styles/bento-dark.css +1 -0
  232. package/dist/styles/bento-light.css +1 -0
  233. package/dist/styles/bento.css +1 -0
  234. package/dist/styles/legacy.css +6 -5
  235. package/dist/styles/styleguide.css +1 -0
  236. package/dist/summary-grid.js +1 -1
  237. package/dist/tabs.js +1 -1
  238. package/dist/tag.js +1 -1
  239. package/dist/textarea.js +1 -1
  240. package/dist/timeline.js +1 -1
  241. package/dist/toast.js +1 -1
  242. package/dist/toggle.js +1 -1
  243. package/dist/tutorial.js +1 -1
  244. package/dist/typography.js +1 -1
  245. package/dist/web-types.json +3 -3
  246. package/package.json +11 -7
  247. package/dist/chunks/code-snippet.5iJcUZSo.js.map +0 -1
  248. package/dist/chunks/codemirror.CXFEqvAi.js.map +0 -1
  249. package/dist/chunks/dropdown.BqsoncJr.js.map +0 -1
  250. package/dist/chunks/file-uploader.C6kcnhqp.js +0 -729
  251. package/dist/chunks/file-uploader.C6kcnhqp.js.map +0 -1
  252. package/dist/chunks/input-field.D6N2kt7s.js +0 -228
  253. package/dist/chunks/input-field.D6N2kt7s.js.map +0 -1
@@ -1,19 +1,19 @@
1
- import { ref as g, watch as re, computed as u, defineComponent as I, useSlots as de, toRefs as ce, nextTick as E, useAttrs as Oe, toRef as w, inject as Ce } from "vue";
2
- import { d as ae, B as $e } from "./typography.J1v_SPG3.js";
3
- import { a as K, b as N, c as Ee, B as A, D as De } from "./dropdown-default-textbox.DBoSso4J.js";
1
+ import { ref as x, watch as re, computed as u, defineComponent as I, useSlots as de, toRefs as ce, nextTick as E, useAttrs as Oe, toRef as O, inject as Ce } from "vue";
2
+ import { d as ae, B as $e } from "./typography.Bu_WAKdf.js";
3
+ import { a as K, b as N, B as A, c as Ee, D as De } from "./dropdown-default-textbox.CrylDCEX.js";
4
4
  import { n as k } from "./_plugin-vue2_normalizer.CeySl7Fu.js";
5
5
  import { s as z } from "./events.CMzGybJJ.js";
6
- import { g as M } from "./generate-uid.NJ8tVoha.js";
6
+ import { g as M } from "./generate-uid.D-HFI38h.js";
7
7
  import { u as Ie } from "./aria-label.CaUURpnB.js";
8
8
  import { u as U } from "./i18n.BQkEbtPM.js";
9
9
  import { u as Be } from "./use-form-layout-loading.D3lALhtC.js";
10
- import { u as Re } from "./use-has-slot.C9lQZ6nz.js";
11
- import { a as c, b as W, B as j, c as Te, u as Ne } from "./use-cached-selected-values.impKjAIS.js";
12
- import { B as C, a as Ae } from "./keyboard-navigation.Clz1jOaA.js";
13
- import { B as Me } from "./directive.O3yEdalv.js";
14
- import { F as ke, E as Pe } from "./error-message.Ccc1sTTp.js";
15
- import { P as ne } from "./popper-container.B1iB2ovW.js";
16
- import { B as Fe } from "./popover.DsUymZWJ.js";
10
+ import { B as Re } from "./directive.O3yEdalv.js";
11
+ import { u as Te } from "./use-has-slot.C9lQZ6nz.js";
12
+ import { a as c, B as W, b as j, c as Ne, u as Ae } from "./use-cached-selected-values.DJl7FKT5.js";
13
+ import { B as $, a as Me } from "./keyboard-navigation.Clz1jOaA.js";
14
+ import { P as ne } from "./popper-container.B9qZTf2V.js";
15
+ import { B as ke } from "./popover.D8pR_dbl.js";
16
+ import { E as Pe, F as Fe } from "./error-message.Brg-AZjT.js";
17
17
  import "../assets/dropdown.css";
18
18
  const Ke = {
19
19
  "en-US": {
@@ -29,56 +29,56 @@ const Ke = {
29
29
  apply: "適用",
30
30
  cancel: "キャンセル"
31
31
  }
32
- }, ze = (s, t, o, e) => {
33
- const a = g(s.value), { t: i } = U();
34
- re(s, () => {
35
- a.value = s.value;
32
+ }, ze = (a, t, o, e) => {
33
+ const s = x(a.value), { t: i } = U();
34
+ re(a, () => {
35
+ s.value = a.value;
36
36
  });
37
37
  const n = u(
38
- () => JSON.stringify(a.value) === JSON.stringify(s.value)
39
- ), r = () => {
40
- e(c.SELECT, a.value), e(c.CLOSE_DROPDOWN);
41
- }, d = () => {
42
- a.value = s.value, e(c.CLOSE_DROPDOWN);
43
- }, m = () => {
44
- o.value && t.value && (a.value = s.value);
38
+ () => JSON.stringify(s.value) === JSON.stringify(a.value)
39
+ ), l = () => {
40
+ e(c.SELECT, s.value), e(c.CLOSE_DROPDOWN);
41
+ }, r = () => {
42
+ s.value = a.value, e(c.CLOSE_DROPDOWN);
43
+ }, b = () => {
44
+ o.value && t.value && (s.value = a.value);
45
45
  }, p = u(() => [
46
46
  {
47
47
  title: i("apply"),
48
- event: r,
48
+ event: l,
49
49
  disabled: n.value
50
50
  },
51
51
  {
52
52
  title: i("cancel"),
53
- event: d
53
+ event: r
54
54
  }
55
- ]), l = (b) => {
56
- a.value = b, t.value || e(c.SELECT, b);
57
- }, $ = (b) => {
58
- l(b), e(c.TAB);
59
- }, L = (b) => {
60
- l(b), e(c.ENTER);
61
- }, S = (b) => {
62
- l(b), e(c.SPACE);
63
- }, O = () => {
64
- d(), e(c.ESCAPE);
65
- }, x = () => {
55
+ ]), d = (y) => {
56
+ s.value = y, t.value || e(c.SELECT, y);
57
+ }, w = (y) => {
58
+ d(y), e(c.TAB);
59
+ }, g = (y) => {
60
+ d(y), e(c.ENTER);
61
+ }, v = (y) => {
62
+ d(y), e(c.SPACE);
63
+ }, C = () => {
64
+ r(), e(c.ESCAPE);
65
+ }, L = () => {
66
66
  e(c.SHOW_MORE);
67
- }, h = {
68
- [c.SELECT]: l,
69
- [c.SHOW_MORE]: x,
70
- [c.TAB]: $,
71
- [c.SPACE]: S,
72
- [c.ENTER]: L
67
+ }, S = {
68
+ [c.SELECT]: d,
69
+ [c.SHOW_MORE]: L,
70
+ [c.TAB]: w,
71
+ [c.SPACE]: v,
72
+ [c.ENTER]: g
73
73
  };
74
74
  return {
75
75
  // Values
76
76
  actions: p,
77
- internalSelectedValue: a,
77
+ internalSelectedValue: s,
78
78
  // Methods
79
- listeners: h,
80
- onEscapeKey: O,
81
- onOutsideDropdownClick: m
79
+ listeners: S,
80
+ onEscapeKey: C,
81
+ onOutsideDropdownClick: b
82
82
  };
83
83
  }, We = I({
84
84
  i18n: { messages: Ke },
@@ -139,8 +139,8 @@ const Ke = {
139
139
  */
140
140
  lazyLoadType: {
141
141
  type: String,
142
- default: j.AUTOMATIC,
143
- validator: (s) => Object.values(j).includes(s)
142
+ default: W.AUTOMATIC,
143
+ validator: (a) => Object.values(W).includes(a)
144
144
  },
145
145
  /**
146
146
  * Indicates if new options are loading.
@@ -170,7 +170,7 @@ const Ke = {
170
170
  *
171
171
  * If enabled, hides the "Select all" checkbox in "multiple" mode.
172
172
  */
173
- searching: W.props.searching,
173
+ searching: j.props.searching,
174
174
  /**
175
175
  * If enabled, dropdown will display non-selectable, static categories
176
176
  */
@@ -190,20 +190,20 @@ const Ke = {
190
190
  }
191
191
  },
192
192
  emits: [],
193
- setup(s, { expose: t, emit: o }) {
194
- const e = s, a = de(), { selectedValue: i, multiple: n } = ce(e), r = g(null), { t: d } = U(), m = u(() => e.open && !e.disabled), p = u(() => d("noOptionsMatchThisSearch")), l = u(() => ({
193
+ setup(a, { expose: t, emit: o }) {
194
+ const e = a, s = de(), { selectedValue: i, multiple: n } = ce(e), l = x(null), { t: r } = U(), b = u(() => e.open && !e.disabled), p = u(() => r("noOptionsMatchThisSearch")), d = u(() => ({
195
195
  "b-dropdown-options-container--single": !(e != null && e.multiple)
196
- })), $ = u(() => ({
196
+ })), w = u(() => ({
197
197
  "b-dropdown-options-container__listbox--single": !(e != null && e.multiple)
198
- })), { actions: L, internalSelectedValue: S, listeners: O, onEscapeKey: x, onOutsideDropdownClick: h } = ze(i, n, m, o), b = u(() => e != null && e.multiple ? Fe : ne), f = u(() => {
199
- var _;
200
- const v = {
201
- "min-width": `${(_ = e == null ? void 0 : e.targetElement) == null ? void 0 : _.clientWidth}px`,
198
+ })), { actions: g, internalSelectedValue: v, listeners: C, onEscapeKey: L, onOutsideDropdownClick: S } = ze(i, n, b, o), y = u(() => e != null && e.multiple ? ke : ne), f = u(() => {
199
+ var h;
200
+ const m = {
201
+ "min-width": `${(h = e == null ? void 0 : e.targetElement) == null ? void 0 : h.clientWidth}px`,
202
202
  "max-width": "min(500px, 95%)"
203
203
  };
204
204
  return e != null && e.multiple ? {
205
205
  actionsLayout: "space-between",
206
- actions: L.value,
206
+ actions: g.value,
207
207
  divider: !0,
208
208
  fallbackPosition: ["top-start"],
209
209
  id: M(`dropdown-options-${e.id}`),
@@ -211,7 +211,7 @@ const Ke = {
211
211
  position: "bottom-start",
212
212
  style: {
213
213
  width: "auto",
214
- ...v
214
+ ...m
215
215
  },
216
216
  targetElement: e.targetElement
217
217
  } : {
@@ -219,22 +219,22 @@ const Ke = {
219
219
  offset: [0, 8],
220
220
  position: "bottom-start",
221
221
  style: {
222
- display: m.value ? "block" : "none",
223
- ...v
222
+ display: b.value ? "block" : "none",
223
+ ...m
224
224
  },
225
225
  targetElement: e.targetElement
226
226
  };
227
227
  });
228
228
  return t({
229
- onOutsideDropdownClick: h
230
- }), { __sfc: !0, slots: a, emit: o, props: e, selectedValue: i, multiple: n, dropdownOptionsListboxRef: r, t: d, isDropdownOpen: m, noResultsMessage: p, conditionalClasses: l, conditionalListboxClasses: $, actions: L, internalSelectedValue: S, listeners: O, onEscapeKey: x, onOutsideDropdownClick: h, popperContainerOrPopoverComponent: b, popperContainerOrPopoverProps: f, BentoListbox: W };
229
+ onOutsideDropdownClick: S
230
+ }), { __sfc: !0, slots: s, emit: o, props: e, selectedValue: i, multiple: n, dropdownOptionsListboxRef: l, t: r, isDropdownOpen: b, noResultsMessage: p, conditionalClasses: d, conditionalListboxClasses: w, actions: g, internalSelectedValue: v, listeners: C, onEscapeKey: L, onOutsideDropdownClick: S, popperContainerOrPopoverComponent: y, popperContainerOrPopoverProps: f, BentoListbox: j };
231
231
  }
232
232
  });
233
233
  var Ue = function() {
234
234
  var t = this, o = t._self._c, e = t._self._setupProxy;
235
- 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) {
236
- return !a.type.indexOf("key") && t._k(a.keyCode, "esc", 27, a.key, ["Esc", "Escape"]) ? null : e.onEscapeKey.apply(null, arguments);
237
- } } }, [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, i) {
235
+ 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(s) {
236
+ return !s.type.indexOf("key") && t._k(s.keyCode, "esc", 27, s.key, ["Esc", "Escape"]) ? null : e.onEscapeKey.apply(null, arguments);
237
+ } } }, [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(s, i) {
238
238
  return { key: i, fn: function(n) {
239
239
  return [t._t(i, null, null, n)];
240
240
  } };
@@ -347,34 +347,38 @@ const st = ot.exports, at = I({
347
347
  value: { type: String, default: "" }
348
348
  },
349
349
  emits: ["clear", "close", "input", "keydown", "open"],
350
- setup(s, { emit: t }) {
351
- const o = s, e = u(() => ({
352
- [`b-dropdown-small-textbox--${K.DISABLED}`]: o.disabled,
353
- [`b-dropdown-small-textbox--${K.READONLY}`]: o.readonly,
354
- [`b-dropdown-small-textbox--${K.OPENED}`]: o.open
355
- })), a = u(() => o.open && !o.disabled && !o.readonly), i = (l) => {
356
- t("input", l);
357
- }, n = (l) => {
358
- t("keydown", l);
359
- }, r = (l) => {
360
- z(l), t("open");
361
- }, d = (l) => {
362
- z(l), t("close");
363
- }, m = (l) => {
364
- z(l), t("clear");
365
- }, p = {
366
- [N.INPUT]: i,
367
- [N.OPEN]: r,
368
- [N.CLOSE]: d,
369
- [N.CLEAR]: m,
370
- [N.KEYDOWN]: n
350
+ setup(a, { expose: t, emit: o }) {
351
+ const e = a, s = x(null), i = u(() => ({
352
+ [`b-dropdown-small-textbox--${K.DISABLED}`]: e.disabled,
353
+ [`b-dropdown-small-textbox--${K.READONLY}`]: e.readonly,
354
+ [`b-dropdown-small-textbox--${K.OPENED}`]: e.open
355
+ })), n = u(() => e.open && !e.disabled && !e.readonly), l = (v) => {
356
+ o("input", v);
357
+ }, r = (v) => {
358
+ o("keydown", v);
359
+ }, b = (v) => {
360
+ z(v), o("open");
361
+ }, p = (v) => {
362
+ z(v), o("close");
363
+ }, d = (v) => {
364
+ z(v), o("clear");
365
+ }, w = {
366
+ [N.INPUT]: l,
367
+ [N.OPEN]: b,
368
+ [N.CLOSE]: p,
369
+ [N.CLEAR]: d,
370
+ [N.KEYDOWN]: r
371
+ }, g = () => {
372
+ s.value.focus();
371
373
  };
372
- return { __sfc: !0, emit: t, props: o, conditionalClasses: e, isDropdownOpen: a, onInput: i, onKeyDown: n, openDropdown: r, closeDropdown: d, clearValue: m, listeners: p, BentoDropdownSize: A, DropdownBaseTextbox: Ee, ChevronDownSmallIcon: Xe, ChevronUpSmallIcon: st };
374
+ return t({
375
+ focus: g
376
+ }), { __sfc: !0, emit: o, props: e, baseTextbox: s, conditionalClasses: i, isDropdownOpen: n, onInput: l, onKeyDown: r, openDropdown: b, closeDropdown: p, clearValue: d, listeners: w, focus: g, BentoDropdownSize: A, DropdownBaseTextbox: Ee, ChevronDownSmallIcon: Xe, ChevronUpSmallIcon: st };
373
377
  }
374
378
  });
375
379
  var lt = function() {
376
380
  var t = this, o = t._self._c, e = t._self._setupProxy;
377
- return o("div", { staticClass: "b-dropdown-small-textbox", class: e.conditionalClasses }, [o(e.DropdownBaseTextbox, t._g(t._b({ staticClass: "b-dropdown-small-textbox__textbox", attrs: { size: e.BentoDropdownSize.SMALL }, scopedSlots: t._u([{ key: "icon", fn: function() {
381
+ return o("div", { staticClass: "b-dropdown-small-textbox", class: e.conditionalClasses }, [o(e.DropdownBaseTextbox, t._g(t._b({ ref: "baseTextbox", staticClass: "b-dropdown-small-textbox__textbox", attrs: { size: e.BentoDropdownSize.SMALL }, scopedSlots: t._u([{ key: "icon", fn: function() {
378
382
  return [o("div", { staticClass: "b-dropdown-small-textbox__chevron" }, [o(e.ChevronUpSmallIcon, { directives: [{ name: "show", rawName: "v-show", value: e.isDropdownOpen, expression: "isDropdownOpen" }], attrs: { "svg-title": "opened" } }), o(e.ChevronDownSmallIcon, { directives: [{ name: "show", rawName: "v-show", value: !e.isDropdownOpen, expression: "!isDropdownOpen" }], attrs: { "svg-title": "closed" } })], 1)];
379
383
  }, proxy: !0 }]) }, "dropdown-base-textbox", { ...t.$attrs, ...t.$props }, !1), e.listeners))], 1);
380
384
  }, it = [], rt = /* @__PURE__ */ k(
@@ -383,92 +387,92 @@ var lt = function() {
383
387
  it,
384
388
  !1,
385
389
  null,
386
- "ba322765"
390
+ "d0e53db8"
387
391
  );
388
- const dt = rt.exports, ct = (s, t) => t.value.reduce((o, e) => {
392
+ const dt = rt.exports, ct = (a, t) => t.value.reduce((o, e) => {
389
393
  if (e.items) {
390
- const a = e.items.filter(
391
- (n) => s.value.find((r) => r.value === n.value)
394
+ const s = e.items.filter(
395
+ (n) => a.value.find((l) => l.value === n.value)
392
396
  );
393
- a.length === e.items.length ? o.push(e.displayValue ?? e.label) : a.forEach(({ label: n, displayValue: r }) => o.push(r ?? n));
397
+ s.length === e.items.length ? o.push(e.displayValue ?? e.label) : s.forEach(({ label: n, displayValue: l }) => o.push(l ?? n));
394
398
  }
395
- return s.value.find((a) => a.value === e.value) && o.push(e.displayValue ?? e.label), o;
396
- }, []).join(", "), ut = ({ items: s, placeholder: t, selectedValues: o, isMultiSelect: e }) => {
397
- const a = u(
398
- () => e.value && s.value.find((n) => {
399
- var r;
400
- return (r = n.items) == null ? void 0 : r.length;
399
+ return a.value.find((s) => s.value === e.value) && o.push(e.displayValue ?? e.label), o;
400
+ }, []).join(", "), ut = ({ items: a, placeholder: t, selectedValues: o, isMultiSelect: e }) => {
401
+ const s = u(
402
+ () => e.value && a.value.find((n) => {
403
+ var l;
404
+ return (l = n.items) == null ? void 0 : l.length;
401
405
  })
402
406
  );
403
- return u(() => o.value.length ? a.value ? ct(o, s) : o.value.map(({ label: n, displayValue: r }) => r ?? n).join(", ") : t.value || null);
404
- }, ue = (s) => {
407
+ return u(() => o.value.length ? s.value ? ct(o, a) : o.value.map(({ label: n, displayValue: l }) => l ?? n).join(", ") : t.value || null);
408
+ }, ue = (a) => {
405
409
  var t;
406
- (t = s.value.$children) == null || t[0].$refs.textbox.focus();
410
+ (t = a.value.$children) == null || t[0].$refs.textbox.focus();
407
411
  }, pt = ({
408
- inputContainerRef: s,
412
+ inputContainerRef: a,
409
413
  optionsContainerRef: t,
410
414
  selectedValueIndex: o,
411
415
  isDropdownOpen: e,
412
- isDynamicFltering: a,
416
+ isDynamicFltering: s,
413
417
  items: i,
414
418
  isMultiple: n
415
- }, r, d, m) => {
419
+ }, l, r, b) => {
416
420
  const p = ({ detail: f }) => {
417
- f.preventDefault(), e.value || d(), E(() => {
418
- var v;
419
- n ? (v = t.value.$refs.dropdownOptionsListboxRef.$refs.listboxItemRef.$children) == null || v[0].$el.focus() : (t.value.$refs.dropdownOptionsListboxRef.$refs.listboxItemRef.setListboxFocusedIndex(
421
+ f.preventDefault(), e.value || r(), E(() => {
422
+ var m;
423
+ n ? (m = t.value.$refs.dropdownOptionsListboxRef.$refs.listboxItemRef.$children) == null || m[0].$el.focus() : (t.value.$refs.dropdownOptionsListboxRef.$refs.listboxItemRef.setListboxFocusedIndex(
420
424
  o.value
421
425
  ), t.value.$refs.dropdownOptionsListboxRef.$refs.listboxItemRef.listboxItemRef[o.value].$el.focus());
422
426
  });
423
- }, l = ({ detail: f }) => {
424
- f.preventDefault(), e.value || d(), E(() => {
427
+ }, d = ({ detail: f }) => {
428
+ f.preventDefault(), e.value || r(), E(() => {
425
429
  t.value.$refs.dropdownOptionsListboxRef.$refs.listboxItemRef.setListboxFocusedIndex(
426
430
  o.value
427
431
  ), t.value.$refs.dropdownOptionsListboxRef.$refs.listboxItemRef.listboxItemRef[o.value].$el.focus();
428
432
  });
429
- }, $ = () => {
430
- e.value || (d(), E(() => {
431
- var f, v;
433
+ }, w = () => {
434
+ e.value || (r(), E(() => {
435
+ var f, m;
432
436
  if (n) {
433
- const _ = t.value.$refs.dropdownOptionsListboxRef.$refs.listboxItemRef.$children;
434
- (f = t.value.$refs.dropdownOptionsListboxRef.$refs.listboxItemRef.$children) == null || f[_.length - 1].$children[i.length - 1].$el.focus();
437
+ const h = t.value.$refs.dropdownOptionsListboxRef.$refs.listboxItemRef.$children;
438
+ (f = t.value.$refs.dropdownOptionsListboxRef.$refs.listboxItemRef.$children) == null || f[h.length - 1].$children[i.length - 1].$el.focus();
435
439
  } else
436
- (v = t.value.$refs.dropdownOptionsListboxRef.$refs.listboxItemRef.$children) == null || v[i.length - 1].$el.focus();
440
+ (m = t.value.$refs.dropdownOptionsListboxRef.$refs.listboxItemRef.$children) == null || m[i.length - 1].$el.focus();
437
441
  }));
438
- }, L = () => {
439
- e.value && (m(), ue(s));
440
- }, S = () => {
441
- e.value && m();
442
- }, O = () => {
443
- e.value || d(), E(() => {
442
+ }, g = () => {
443
+ e.value && (b(), ue(a));
444
+ }, v = () => {
445
+ e.value && b();
446
+ }, C = () => {
447
+ e.value || r(), E(() => {
444
448
  var f;
445
449
  (f = t.value.$refs.dropdownOptionsListboxRef.$refs.listboxItemRef.$children) == null || f[0].$el.focus();
446
450
  });
447
- }, x = ({ detail: f }) => {
448
- f.preventDefault(), r(), e.value && E(() => {
449
- var v, _;
450
- n ? (v = t.value.$refs.dropdownOptionsListboxRef.$refs.listboxItemRef.$children) == null || v[0].$el.focus() : (_ = t.value.$refs.dropdownOptionsListboxRef.$refs.listboxItemRef.$children) == null || _[o.value].$el.focus();
451
+ }, L = ({ detail: f }) => {
452
+ f.preventDefault(), l(), e.value && E(() => {
453
+ var m, h;
454
+ n ? (m = t.value.$refs.dropdownOptionsListboxRef.$refs.listboxItemRef.$children) == null || m[0].$el.focus() : (h = t.value.$refs.dropdownOptionsListboxRef.$refs.listboxItemRef.$children) == null || h[o.value].$el.focus();
451
455
  });
452
- }, h = () => {
453
- r(), e.value && E(() => {
454
- var f, v;
455
- n ? (f = t.value.$refs.dropdownOptionsListboxRef.$refs.listboxItemRef.$children) == null || f[0].$el.focus() : (v = t.value.$refs.dropdownOptionsListboxRef.$refs.listboxItemRef.$children) == null || v[o.value].$el.focus();
456
+ }, S = () => {
457
+ l(), e.value && E(() => {
458
+ var f, m;
459
+ n ? (f = t.value.$refs.dropdownOptionsListboxRef.$refs.listboxItemRef.$children) == null || f[0].$el.focus() : (m = t.value.$refs.dropdownOptionsListboxRef.$refs.listboxItemRef.$children) == null || m[o.value].$el.focus();
456
460
  });
457
461
  };
458
462
  return u(() => ({
459
- ...a.value ? {} : { [C.SPACE]: x },
460
- [C.ENTER]: h,
461
- [C.ARROW_DOWN]: p,
462
- [C.ARROW_UP]: l,
463
- [C.END]: $,
464
- [C.ESCAPE]: L,
465
- [C.HOME]: O,
466
- [C.TAB]: S
463
+ ...s.value ? {} : { [$.SPACE]: L },
464
+ [$.ENTER]: S,
465
+ [$.ARROW_DOWN]: p,
466
+ [$.ARROW_UP]: d,
467
+ [$.END]: w,
468
+ [$.ESCAPE]: g,
469
+ [$.HOME]: C,
470
+ [$.TAB]: v
467
471
  }));
468
- }, ft = ({ inputContainerRef: s, isDropdownOpen: t }, o) => {
472
+ }, ft = ({ inputContainerRef: a, isDropdownOpen: t }, o) => {
469
473
  const e = () => {
470
474
  t.value && o(), E(() => {
471
- ue(s);
475
+ ue(a);
472
476
  });
473
477
  };
474
478
  return {
@@ -478,15 +482,15 @@ const dt = rt.exports, ct = (s, t) => t.value.reduce((o, e) => {
478
482
  [c.SPACE]: e
479
483
  };
480
484
  };
481
- function vt(s, t, o, e) {
482
- const a = g(s), i = g(t), n = (d, m = []) => m.flatMap((p) => p.label.toLocaleLowerCase().includes(d) ? e != null && e.value && p.items ? [...n(d, p.items)] : [p, ...n(d, p.items)] : p.items ? [...n(d, p.items)] : []);
483
- return re(a, () => {
484
- o !== void 0 && o(a.value);
485
+ function vt(a, t, o, e) {
486
+ const s = x(a), i = x(t), n = (r, b = []) => b.flatMap((p) => p.label.toLocaleLowerCase().includes(r) ? e != null && e.value && p.items ? [...n(r, p.items)] : [p, ...n(r, p.items)] : p.items ? [...n(r, p.items)] : []);
487
+ return re(s, () => {
488
+ o !== void 0 && o(s.value);
485
489
  }), u(() => {
486
- if (!a.value || o !== void 0)
490
+ if (!s.value || o !== void 0)
487
491
  return i.value;
488
- const d = a.value.toLocaleLowerCase();
489
- return n(d, i.value);
492
+ const r = s.value.toLocaleLowerCase();
493
+ return n(r, i.value);
490
494
  });
491
495
  }
492
496
  const mt = {
@@ -598,8 +602,8 @@ const mt = {
598
602
  */
599
603
  lazyLoadType: {
600
604
  type: String,
601
- default: W.props.lazyLoadType.default,
602
- validator: (s) => Object.values(j).includes(s)
605
+ default: j.props.lazyLoadType.default,
606
+ validator: (a) => Object.values(W).includes(a)
603
607
  },
604
608
  /*
605
609
  * If enabled, the user will be able to select multiple items.
@@ -639,7 +643,7 @@ const mt = {
639
643
  size: {
640
644
  type: String,
641
645
  default: null,
642
- validator: (s) => Object.values(A).includes(s)
646
+ validator: (a) => Object.values(A).includes(a)
643
647
  },
644
648
  /**
645
649
  * If enabled, dropdown will display non-selectable, static categories
@@ -668,69 +672,69 @@ const mt = {
668
672
  }
669
673
  },
670
674
  emits: ["input", "show-more"],
671
- setup(s, { expose: t, emit: o }) {
675
+ setup(a, { expose: t, emit: o }) {
672
676
  var se;
673
- const e = s, a = Oe(), i = de(), n = Re(i), { t: r } = U(), d = g(null), m = g(null), p = g(null), l = g(!1), $ = M("bento-dropdown-options-container"), L = M("dropdown-label"), S = M("dropdown-description"), O = M("dropdown-error"), { isReadOnly: x } = Be(w(e, "readonly")), { cachedSelectedListboxOptions: h, cachedListboxSelectedValues: b, setCachedValues: f } = Te(
674
- w(e, "items"),
675
- w(e, "value"),
676
- w(e, "multiple")
677
- ), v = g(a["aria-label"]), { ariaLabel: _, label: H } = ce(e), pe = Ie({
677
+ const e = a, s = Oe(), i = de(), n = Te(i), { t: l } = U(), r = x(null), b = x(null), p = x(null), d = x(!1), w = M("bento-dropdown-options-container"), g = M("dropdown-label"), v = M("dropdown-description"), C = M("dropdown-error"), { isReadOnly: L } = Be(O(e, "readonly")), { cachedSelectedListboxOptions: S, cachedListboxSelectedValues: y, setCachedValues: f } = Ne(
678
+ O(e, "items"),
679
+ O(e, "value"),
680
+ O(e, "multiple")
681
+ ), m = x(s["aria-label"]), { ariaLabel: h, label: H } = ce(e), pe = Ie({
678
682
  // TODO: take ariaLabel ref away when aria-label prop is removed
679
- ariaLabel: _ || v,
683
+ ariaLabel: h || m,
680
684
  label: H,
681
- defaultFallback: r("ariaLabelFallback")
685
+ defaultFallback: l("ariaLabelFallback")
682
686
  }), q = e.size === A.SMALL || Ce(bt, !1), fe = u(() => q ? A.SMALL : A.DEFAULT), ve = u(() => ({
683
687
  "b-dropdown--condensed": e.condensed
684
688
  })), me = u(() => ({
685
689
  "b-dropdown__description--error": !!e.errorMessage
686
- })), D = g(""), B = w(e, "items"), V = w(e, "staticCategories"), be = vt(D, B, (se = e == null ? void 0 : e.search) == null ? void 0 : se.searchEvent, V), F = u(() => e.dynamicFiltering && !!D.value), ye = ut({
690
+ })), D = x(""), B = O(e, "items"), V = O(e, "staticCategories"), be = vt(D, B, (se = e == null ? void 0 : e.search) == null ? void 0 : se.searchEvent, V), F = u(() => e.dynamicFiltering && !!D.value), ye = ut({
687
691
  items: B,
688
- placeholder: w(e, "placeholder"),
689
- isMultiSelect: w(e, "multiple"),
690
- selectedValues: h
692
+ placeholder: O(e, "placeholder"),
693
+ isMultiSelect: O(e, "multiple"),
694
+ selectedValues: S
691
695
  }), _e = u(() => {
692
696
  if (e != null && e.multiple && Array.isArray(e.value))
693
697
  return e.items.filter(
694
- ({ value: y }) => (e == null ? void 0 : e.value) && (e == null ? void 0 : e.value).includes(y)
698
+ ({ value: _ }) => (e == null ? void 0 : e.value) && (e == null ? void 0 : e.value).includes(_)
695
699
  );
696
700
  if (!e.multiple && e.staticCategories) {
697
- const y = e.items.find(
701
+ const _ = e.items.find(
698
702
  (T) => T.items.some((Se) => Se.value === e.value)
699
703
  );
700
- return y ? y.items.find((T) => T.value === e.value) : null;
704
+ return _ ? _.items.find((T) => T.value === e.value) : null;
701
705
  }
702
- return e.items.find(({ value: y }) => y === (e == null ? void 0 : e.value));
706
+ return e.items.find(({ value: _ }) => _ === (e == null ? void 0 : e.value));
703
707
  }), J = u(() => {
704
- const y = e.items.findIndex(({ value: R }) => e.value === R);
705
- return y > 0 ? y : 0;
706
- }), { isMultiLevelSelect: Y, flattenedItemsList: Z } = Ne(B), ge = u(() => {
707
- var y;
708
+ const _ = e.items.findIndex(({ value: R }) => e.value === R);
709
+ return _ > 0 ? _ : 0;
710
+ }), { isMultiLevelSelect: Y, flattenedItemsList: Z } = Ae(B), ge = u(() => {
711
+ var _;
708
712
  if (e.multiple) {
709
- const R = (y = e == null ? void 0 : e.value) == null ? void 0 : y.length, T = Y.value ? Z.value.length : B.value.length;
710
- return !e.hasMoreItems && T === R ? r("all") : R;
713
+ const R = (_ = e == null ? void 0 : e.value) == null ? void 0 : _.length, T = Y.value ? Z.value.length : B.value.length;
714
+ return !e.hasMoreItems && T === R ? l("all") : R;
711
715
  }
712
716
  return null;
713
717
  }), xe = u(
714
- () => `${e.description ? S : ""} ${e.errorMessage ? O : ""}`.trim() || null
718
+ () => `${e.description ? v : ""} ${e.errorMessage ? C : ""}`.trim() || null
715
719
  ), Q = () => {
716
- x.value || (l.value = !0);
720
+ L.value || (d.value = !0);
717
721
  }, P = () => {
718
- l.value = !1;
722
+ d.value = !1;
719
723
  }, X = () => {
720
- x.value || (l.value = !l.value, F.value && (D.value = ""));
724
+ L.value || (d.value = !d.value, F.value && (D.value = ""));
721
725
  }, he = () => {
722
- F.value && (D.value = ""), l.value && (l.value = !1, p.value.onOutsideDropdownClick());
723
- }, G = (y) => {
724
- e.multiple || (D.value = "", l.value = !1), f(y), o("input", b.value);
726
+ F.value && (D.value = ""), d.value && (d.value = !1, p.value.onOutsideDropdownClick());
727
+ }, G = (_) => {
728
+ e.multiple || (D.value = "", d.value = !1), f(_), o("input", y.value);
725
729
  }, ee = () => {
726
730
  o(c.SHOW_MORE);
727
731
  }, we = pt(
728
732
  {
729
- inputContainerRef: d,
733
+ inputContainerRef: r,
730
734
  optionsContainerRef: p,
731
735
  selectedValueIndex: J,
732
- isDropdownOpen: l,
733
- isDynamicFltering: w(e, "dynamicFiltering"),
736
+ isDropdownOpen: d,
737
+ isDynamicFltering: O(e, "dynamicFiltering"),
734
738
  items: e.items,
735
739
  isMultiple: e.multiple
736
740
  },
@@ -739,8 +743,8 @@ const mt = {
739
743
  P
740
744
  ), te = ft(
741
745
  {
742
- inputContainerRef: d,
743
- isDropdownOpen: l
746
+ inputContainerRef: r,
747
+ isDropdownOpen: d
744
748
  },
745
749
  P
746
750
  ), Le = {
@@ -757,25 +761,25 @@ const mt = {
757
761
  "2.0.0"
758
762
  ), e.size && ae('BentoDropdown "size" property', "Do not use. Only 'default' size should be used.", "2.0.0");
759
763
  const oe = () => {
760
- d.value.focus();
764
+ r.value.focus();
761
765
  };
762
766
  return t({
763
767
  focus: oe
764
- }), { __sfc: !0, attrs: a, slots: i, hasSlot: n, props: e, emit: o, t: r, inputContainerRef: d, inputContainerRefWrapper: m, optionsContainerRef: p, isDropdownOpen: l, dropdownOptionsContainerId: $, labelId: L, descriptionId: S, errorId: O, isReadOnly: x, cachedSelectedListboxOptions: h, cachedListboxSelectedValues: b, setCachedValues: f, ariaLabelAttribute: v, ariaLabel: _, label: H, computedAriaLabel: pe, isInputComponent: q, size: fe, conditionalClasses: ve, descriptionConditionalClasses: me, searchTerm: D, items: B, staticCategories: V, filteredItems: be, isSearching: F, displayValue: ye, selectedValueItem: _e, selectedValueIndex: J, isMultiLevelSelect: Y, flattenedItemsList: Z, additionalItemsSelected: ge, ariaDescribedBy: xe, openDropdown: Q, closeDropdown: P, toggleDropdown: X, clickOutsideDropdown: he, onOptionSelected: G, emitShowMoreEvent: ee, textboxKeyboardNavigationListeners: we, listboxKeyboardNavigationListeners: te, listboxListeners: Le, focus: oe, BentoDropdownOptionsContainer: Ve, BentoTypography: $e, ErrorMessage: Pe, FieldLabel: ke, vBentoClickOutsideDirective: Me, vBentoKeyboardNavigationDirective: Ae };
768
+ }), { __sfc: !0, attrs: s, slots: i, hasSlot: n, props: e, emit: o, t: l, inputContainerRef: r, inputContainerRefWrapper: b, optionsContainerRef: p, isDropdownOpen: d, dropdownOptionsContainerId: w, labelId: g, descriptionId: v, errorId: C, isReadOnly: L, cachedSelectedListboxOptions: S, cachedListboxSelectedValues: y, setCachedValues: f, ariaLabelAttribute: m, ariaLabel: h, label: H, computedAriaLabel: pe, isInputComponent: q, size: fe, conditionalClasses: ve, descriptionConditionalClasses: me, searchTerm: D, items: B, staticCategories: V, filteredItems: be, isSearching: F, displayValue: ye, selectedValueItem: _e, selectedValueIndex: J, isMultiLevelSelect: Y, flattenedItemsList: Z, additionalItemsSelected: ge, ariaDescribedBy: xe, openDropdown: Q, closeDropdown: P, toggleDropdown: X, clickOutsideDropdown: he, onOptionSelected: G, emitShowMoreEvent: ee, textboxKeyboardNavigationListeners: we, listboxKeyboardNavigationListeners: te, listboxListeners: Le, focus: oe, BentoDropdownOptionsContainer: Ve, BentoTypography: $e, ErrorMessage: Pe, FieldLabel: Fe, vBentoClickOutsideDirective: Re, vBentoKeyboardNavigationDirective: Me };
765
769
  }
766
770
  });
767
771
  var gt = function() {
768
- var a;
772
+ var s;
769
773
  var t = this, o = t._self._c, e = t._self._setupProxy;
770
774
  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(i) {
771
775
  e.searchTerm = i;
772
776
  }, open: e.toggleDropdown, close: e.toggleDropdown }, scopedSlots: t._u([t._l(e.slots, function(i, n) {
773
- return { key: n, fn: function(r) {
774
- return [t._t(n, null, null, r)];
777
+ return { key: n, fn: function(l) {
778
+ return [t._t(n, null, null, l)];
775
779
  } };
776
- })], 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(i, n) {
777
- return { key: n, fn: function(r) {
778
- return [t._t(n, null, null, r)];
780
+ })], 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": (s = t.search) == null ? void 0 : s.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(i, n) {
781
+ return { key: n, fn: function(l) {
782
+ return [t._t(n, null, null, l)];
779
783
  } };
780
784
  })], 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() {
781
785
  return [t._v(" " + t._s(t.description) + " ")];
@@ -795,4 +799,4 @@ export {
795
799
  bt as a,
796
800
  vt as u
797
801
  };
798
- //# sourceMappingURL=dropdown.BqsoncJr.js.map
802
+ //# sourceMappingURL=dropdown.BkLc07G8.js.map