@adyen/bento-vue2 1.46.0 → 1.47.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 (269) hide show
  1. package/dist/@types/index.d.ts +122 -43
  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/calendar.css +1 -1
  9. package/dist/assets/card.css +1 -1
  10. package/dist/assets/data-grid.css +1 -1
  11. package/dist/assets/date-picker.css +1 -1
  12. package/dist/assets/date-range-picker.css +1 -1
  13. package/dist/assets/dialog-page.css +1 -1
  14. package/dist/assets/divider.css +1 -1
  15. package/dist/assets/file-uploader.css +1 -1
  16. package/dist/assets/input-field-password.css +1 -1
  17. package/dist/assets/input-field.css +1 -1
  18. package/dist/assets/inspector.css +1 -1
  19. package/dist/assets/menu.css +1 -1
  20. package/dist/assets/modal-fullscreen.css +1 -1
  21. package/dist/assets/popover.css +1 -1
  22. package/dist/assets/radio-group.css +1 -1
  23. package/dist/assets/radio-input.css +1 -1
  24. package/dist/assets/sidepanel.css +1 -1
  25. package/dist/assets/status.css +1 -1
  26. package/dist/avatar.js +1 -1
  27. package/dist/button.js +3 -3
  28. package/dist/card.js +1 -1
  29. package/dist/checkbox.js +2 -2
  30. package/dist/chunks/{accordion-item.BjXzREaK.js → accordion-item.CTxrEQEW.js} +9 -9
  31. package/dist/chunks/{accordion-item.BjXzREaK.js.map → accordion-item.CTxrEQEW.js.map} +1 -1
  32. package/dist/chunks/{action-bar.e_2fmyN_.js → action-bar.EcN2I7Az.js} +14 -14
  33. package/dist/chunks/{action-bar.e_2fmyN_.js.map → action-bar.EcN2I7Az.js.map} +1 -1
  34. package/dist/chunks/{alert.BcfhueIA.js → alert.BRN8cpXl.js} +9 -9
  35. package/dist/chunks/{alert.BcfhueIA.js.map → alert.BRN8cpXl.js.map} +1 -1
  36. package/dist/chunks/{avatar.DXzyWKsI.js → avatar.BgwjpLQO.js} +2 -2
  37. package/dist/chunks/{avatar.DXzyWKsI.js.map → avatar.BgwjpLQO.js.map} +1 -1
  38. package/dist/chunks/{base-button.BeMKxkgK.js → base-button.-gx_u8Bd.js} +2 -2
  39. package/dist/chunks/{base-button.BeMKxkgK.js.map → base-button.-gx_u8Bd.js.map} +1 -1
  40. package/dist/chunks/{base-modal.UPLi477L.js → base-modal.BgTZ8iQ6.js} +21 -21
  41. package/dist/chunks/{base-modal.UPLi477L.js.map → base-modal.BgTZ8iQ6.js.map} +1 -1
  42. package/dist/chunks/{button-actions-with-menu.CyNvhDxN.js → button-actions-with-menu.C8EjGVCT.js} +4 -4
  43. package/dist/chunks/{button-actions-with-menu.CyNvhDxN.js.map → button-actions-with-menu.C8EjGVCT.js.map} +1 -1
  44. package/dist/chunks/{button-actions.BaypoF5i.js → button-actions.BU173IFE.js} +6 -6
  45. package/dist/chunks/{button-actions.BaypoF5i.js.map → button-actions.BU173IFE.js.map} +1 -1
  46. package/dist/chunks/{button.Bx8WC-dy.js → button.BX6ZJxF7.js} +3 -3
  47. package/dist/chunks/{button.Bx8WC-dy.js.map → button.BX6ZJxF7.js.map} +1 -1
  48. package/dist/chunks/{calendar.LXRuFfcw.js → calendar.DlOcbH6E.js} +167 -154
  49. package/dist/chunks/{calendar.LXRuFfcw.js.map → calendar.DlOcbH6E.js.map} +1 -1
  50. package/dist/chunks/{card.INSvvGNH.js → card.DoyCGJay.js} +14 -14
  51. package/dist/chunks/{card.INSvvGNH.js.map → card.DoyCGJay.js.map} +1 -1
  52. package/dist/chunks/{checkbox-group.BNVnOYKH.js → checkbox-group.BQN9gjgH.js} +7 -7
  53. package/dist/chunks/{checkbox-group.BNVnOYKH.js.map → checkbox-group.BQN9gjgH.js.map} +1 -1
  54. package/dist/chunks/{checkbox.CcwY2CMn.js → checkbox.O1CbmNdS.js} +23 -23
  55. package/dist/chunks/{checkbox.CcwY2CMn.js.map → checkbox.O1CbmNdS.js.map} +1 -1
  56. package/dist/chunks/{chevron-left.CtnrsqUy.js → chevron-left.PIu6yPqe.js} +3 -3
  57. package/dist/chunks/{chevron-left.CtnrsqUy.js.map → chevron-left.PIu6yPqe.js.map} +1 -1
  58. package/dist/chunks/{chevron-up.B2uWhZf7.js → chevron-up.DVfo78kV.js} +3 -3
  59. package/dist/chunks/{chevron-up.B2uWhZf7.js.map → chevron-up.DVfo78kV.js.map} +1 -1
  60. package/dist/chunks/{code-snippet.Bs7wIGi8.js → code-snippet.BDBD85qD.js} +27 -27
  61. package/dist/chunks/{code-snippet.Bs7wIGi8.js.map → code-snippet.BDBD85qD.js.map} +1 -1
  62. package/dist/chunks/{codemirror.OjJ-3ixa.js → codemirror.0fz2cWJS.js} +1355 -1364
  63. package/dist/chunks/{codemirror.OjJ-3ixa.js.map → codemirror.0fz2cWJS.js.map} +1 -1
  64. package/dist/chunks/{controls-group.CIdhlTk3.js → controls-group.C3RDqB9H.js} +3 -3
  65. package/dist/chunks/{controls-group.CIdhlTk3.js.map → controls-group.C3RDqB9H.js.map} +1 -1
  66. package/dist/chunks/{copy.BakPR7GI.js → copy.BuMSGw23.js} +8 -8
  67. package/dist/chunks/{copy.BakPR7GI.js.map → copy.BuMSGw23.js.map} +1 -1
  68. package/dist/chunks/{country.BegULkAC.js → country.2-ZtYkh7.js} +3 -3
  69. package/dist/chunks/{country.BegULkAC.js.map → country.2-ZtYkh7.js.map} +1 -1
  70. package/dist/chunks/{country.types.pilf5B3F.js → country.types.CLjbulKL.js} +4114 -4114
  71. package/dist/chunks/{country.types.pilf5B3F.js.map → country.types.CLjbulKL.js.map} +1 -1
  72. package/dist/chunks/{currency.P7Psn_SK.js → currency.BmI4Sqy5.js} +2 -2
  73. package/dist/chunks/{currency.P7Psn_SK.js.map → currency.BmI4Sqy5.js.map} +1 -1
  74. package/dist/chunks/{dashboard-section.DUN8FB74.js → dashboard-section.COWO5SVw.js} +6 -6
  75. package/dist/chunks/{dashboard-section.DUN8FB74.js.map → dashboard-section.COWO5SVw.js.map} +1 -1
  76. package/dist/chunks/{dashed-underline.BDK3yEtw.js → dashed-underline.BEAEmTCb.js} +4 -4
  77. package/dist/chunks/{dashed-underline.BDK3yEtw.js.map → dashed-underline.BEAEmTCb.js.map} +1 -1
  78. package/dist/chunks/{data-grid-template.BO2v-T1n.js → data-grid-template.vBl7u2cB.js} +4 -4
  79. package/dist/chunks/{data-grid-template.BO2v-T1n.js.map → data-grid-template.vBl7u2cB.js.map} +1 -1
  80. package/dist/chunks/{data-grid.NkQC0etq.js → data-grid.DQ0578m9.js} +79 -79
  81. package/dist/chunks/{data-grid.NkQC0etq.js.map → data-grid.DQ0578m9.js.map} +1 -1
  82. package/dist/chunks/{date-picker.DFgjvQgX.js → date-picker.Bym2OEd9.js} +53 -45
  83. package/dist/chunks/date-picker.Bym2OEd9.js.map +1 -0
  84. package/dist/chunks/{date-range-picker.BBC3TGYw.js → date-range-picker.P2Q5FNB-.js} +331 -327
  85. package/dist/chunks/date-range-picker.P2Q5FNB-.js.map +1 -0
  86. package/dist/chunks/{date.BQ29-2L1.js → date.1zs9CRhw.js} +2 -4
  87. package/dist/chunks/{date.BQ29-2L1.js.map → date.1zs9CRhw.js.map} +1 -1
  88. package/dist/chunks/{dialog-page.Da2cxzZm.js → dialog-page.DcJ7LaOE.js} +32 -31
  89. package/dist/chunks/{dialog-page.Da2cxzZm.js.map → dialog-page.DcJ7LaOE.js.map} +1 -1
  90. package/dist/chunks/divider.Cc4JFWG_.js +35 -0
  91. package/dist/chunks/divider.Cc4JFWG_.js.map +1 -0
  92. package/dist/chunks/{dropdown-default-textbox.CrylDCEX.js → dropdown-default-textbox.CC9Z_RFG.js} +8 -8
  93. package/dist/chunks/{dropdown-default-textbox.CrylDCEX.js.map → dropdown-default-textbox.CC9Z_RFG.js.map} +1 -1
  94. package/dist/chunks/{dropdown-tag.xVgcIWXL.js → dropdown-tag.CiCDvGyN.js} +8 -8
  95. package/dist/chunks/{dropdown-tag.xVgcIWXL.js.map → dropdown-tag.CiCDvGyN.js.map} +1 -1
  96. package/dist/chunks/{dropdown.BkLc07G8.js → dropdown.hc9ZuuTt.js} +31 -31
  97. package/dist/chunks/{dropdown.BkLc07G8.js.map → dropdown.hc9ZuuTt.js.map} +1 -1
  98. package/dist/chunks/{empty-state.B6wjtgR0.js → empty-state.1TyzB5ju.js} +5 -5
  99. package/dist/chunks/{empty-state.B6wjtgR0.js.map → empty-state.1TyzB5ju.js.map} +1 -1
  100. package/dist/chunks/{error-message.Brg-AZjT.js → error-message.Da-p1QIA.js} +10 -10
  101. package/dist/chunks/{error-message.Brg-AZjT.js.map → error-message.Da-p1QIA.js.map} +1 -1
  102. package/dist/chunks/{es6.D11bE5vq.js → es6.BtaxuP0b.js} +4 -4
  103. package/dist/chunks/es6.BtaxuP0b.js.map +1 -0
  104. package/dist/chunks/{file-uploader.BePx7fcJ.js → file-uploader.DVyryYaq.js} +18 -18
  105. package/dist/chunks/{file-uploader.BePx7fcJ.js.map → file-uploader.DVyryYaq.js.map} +1 -1
  106. package/dist/chunks/{filter-bar.BbVGpEJx.js → filter-bar.DzcNo5nF.js} +87 -87
  107. package/dist/chunks/{filter-bar.BbVGpEJx.js.map → filter-bar.DzcNo5nF.js.map} +1 -1
  108. package/dist/chunks/{fixed-scroller.BE1hWLr6.js → fixed-scroller.IPM3AzHS.js} +4 -4
  109. package/dist/chunks/{fixed-scroller.BE1hWLr6.js.map → fixed-scroller.IPM3AzHS.js.map} +1 -1
  110. package/dist/chunks/{focus-trap.DA_1lCcM.js → focus-trap.CGypVwG6.js} +2 -2
  111. package/dist/chunks/{focus-trap.DA_1lCcM.js.map → focus-trap.CGypVwG6.js.map} +1 -1
  112. package/dist/chunks/{footer-actions.O24MYRgM.js → footer-actions.Cbe_YLjP.js} +4 -4
  113. package/dist/chunks/{footer-actions.O24MYRgM.js.map → footer-actions.Cbe_YLjP.js.map} +1 -1
  114. package/dist/chunks/{form-layout-title.DRuBsptB.js → form-layout-title.Xdsi84v2.js} +3 -3
  115. package/dist/chunks/{form-layout-title.DRuBsptB.js.map → form-layout-title.Xdsi84v2.js.map} +1 -1
  116. package/dist/chunks/{generate-uid.D-HFI38h.js → generate-uid.NJ8tVoha.js} +2 -2
  117. package/dist/chunks/{generate-uid.D-HFI38h.js.map → generate-uid.NJ8tVoha.js.map} +1 -1
  118. package/dist/chunks/{header.Bbwnv6Ei.js → header.BIZTUAJE.js} +66 -66
  119. package/dist/chunks/{header.Bbwnv6Ei.js.map → header.BIZTUAJE.js.map} +1 -1
  120. package/dist/chunks/{index.B5Tq465X.js → index.D8ivUe7P.js} +5 -5
  121. package/dist/chunks/{index.B5Tq465X.js.map → index.D8ivUe7P.js.map} +1 -1
  122. package/dist/chunks/{info-icon-with-popover.Cd3RQWUu.js → info-icon-with-popover.Bly2e0uy.js} +7 -7
  123. package/dist/chunks/{info-icon-with-popover.Cd3RQWUu.js.map → info-icon-with-popover.Bly2e0uy.js.map} +1 -1
  124. package/dist/chunks/{info-icon.BnSZeQm8.js → info-icon.0d0GzDe2.js} +3 -3
  125. package/dist/chunks/{info-icon.BnSZeQm8.js.map → info-icon.0d0GzDe2.js.map} +1 -1
  126. package/dist/chunks/{input-field-password.CvKC9xjJ.js → input-field-password.CosL-n__.js} +32 -32
  127. package/dist/chunks/{input-field-password.CvKC9xjJ.js.map → input-field-password.CosL-n__.js.map} +1 -1
  128. package/dist/chunks/{input-field.Dgop3JWW.js → input-field.DgDFJbg7.js} +8 -8
  129. package/dist/chunks/{input-field.Dgop3JWW.js.map → input-field.DgDFJbg7.js.map} +1 -1
  130. package/dist/chunks/{inspector.types.j1usQ6FN.js → inspector.types.8071wkf0.js} +9 -9
  131. package/dist/chunks/{inspector.types.j1usQ6FN.js.map → inspector.types.8071wkf0.js.map} +1 -1
  132. package/dist/chunks/{layout-row.DAeZh7Rv.js → layout-row.BfS-cPky.js} +3 -3
  133. package/dist/chunks/{layout-row.DAeZh7Rv.js.map → layout-row.BfS-cPky.js.map} +1 -1
  134. package/dist/chunks/{link.B2DE2ryp.js → link.UOEUR35A.js} +2 -2
  135. package/dist/chunks/{link.B2DE2ryp.js.map → link.UOEUR35A.js.map} +1 -1
  136. package/dist/chunks/{listbox-option-tag.drC_50fU.js → listbox-option-tag.Co0ycEdQ.js} +3 -3
  137. package/dist/chunks/{listbox-option-tag.drC_50fU.js.map → listbox-option-tag.Co0ycEdQ.js.map} +1 -1
  138. package/dist/chunks/{menu.DCRfI10M.js → menu.Dq7RlryT.js} +12 -12
  139. package/dist/chunks/{menu.DCRfI10M.js.map → menu.Dq7RlryT.js.map} +1 -1
  140. package/dist/chunks/{modal-fullscreen.DgDk6uxS.js → modal-fullscreen.CfrgVR_K.js} +10 -10
  141. package/dist/chunks/{modal-fullscreen.DgDk6uxS.js.map → modal-fullscreen.CfrgVR_K.js.map} +1 -1
  142. package/dist/chunks/{modal.B7giFLek.js → modal.CuUUMIU_.js} +6 -6
  143. package/dist/chunks/{modal.B7giFLek.js.map → modal.CuUUMIU_.js.map} +1 -1
  144. package/dist/chunks/{pagination.Dc0VbxFL.js → pagination.QF1EEUfX.js} +48 -48
  145. package/dist/chunks/{pagination.Dc0VbxFL.js.map → pagination.QF1EEUfX.js.map} +1 -1
  146. package/dist/chunks/{payment-method.CoXB0ZAW.js → payment-method.UaERFtej.js} +2 -2
  147. package/dist/chunks/{payment-method.CoXB0ZAW.js.map → payment-method.UaERFtej.js.map} +1 -1
  148. package/dist/chunks/{popover.D8pR_dbl.js → popover.nev0GndY.js} +5 -5
  149. package/dist/chunks/{popover.D8pR_dbl.js.map → popover.nev0GndY.js.map} +1 -1
  150. package/dist/chunks/{popper-container.B9qZTf2V.js → popper-container.B1iB2ovW.js} +3 -3
  151. package/dist/chunks/{popper-container.B9qZTf2V.js.map → popper-container.B1iB2ovW.js.map} +1 -1
  152. package/dist/chunks/{promo-banner.Dd-JQMUD.js → promo-banner.BXtIM4C9.js} +7 -7
  153. package/dist/chunks/{promo-banner.Dd-JQMUD.js.map → promo-banner.BXtIM4C9.js.map} +1 -1
  154. package/dist/chunks/radio-group.D1q0VKvv.js +229 -0
  155. package/dist/chunks/radio-group.D1q0VKvv.js.map +1 -0
  156. package/dist/chunks/{radio-input.C1DZbkcT.js → radio-input.uJAhxKRs.js} +29 -25
  157. package/dist/chunks/{radio-input.C1DZbkcT.js.map → radio-input.uJAhxKRs.js.map} +1 -1
  158. package/dist/chunks/{search-bar.BN4grqVO.js → search-bar.fmMx-zRN.js} +7 -7
  159. package/dist/chunks/{search-bar.BN4grqVO.js.map → search-bar.fmMx-zRN.js.map} +1 -1
  160. package/dist/chunks/{secondary-nav.C8UE8xly.js → secondary-nav.ldVrzGbB.js} +5 -5
  161. package/dist/chunks/{secondary-nav.C8UE8xly.js.map → secondary-nav.ldVrzGbB.js.map} +1 -1
  162. package/dist/chunks/{segmented-control.C6HPgkVm.js → segmented-control.DL0W7lJ_.js} +4 -4
  163. package/dist/chunks/{segmented-control.C6HPgkVm.js.map → segmented-control.DL0W7lJ_.js.map} +1 -1
  164. package/dist/chunks/{selection-card-group.BT7FOlbF.js → selection-card-group.CdkrhyZV.js} +16 -16
  165. package/dist/chunks/{selection-card-group.BT7FOlbF.js.map → selection-card-group.CdkrhyZV.js.map} +1 -1
  166. package/dist/chunks/{sidepanel.PEMSN4Hj.js → sidepanel.D-KuHnwI.js} +14 -14
  167. package/dist/chunks/{sidepanel.PEMSN4Hj.js.map → sidepanel.D-KuHnwI.js.map} +1 -1
  168. package/dist/chunks/{status.types.B0jtv0c7.js → status.types.Ce018tQy.js} +18 -17
  169. package/dist/chunks/status.types.Ce018tQy.js.map +1 -0
  170. package/dist/chunks/{step.Dq4w23dP.js → step.BsIdWhaZ.js} +3 -3
  171. package/dist/chunks/{step.Dq4w23dP.js.map → step.BsIdWhaZ.js.map} +1 -1
  172. package/dist/chunks/{structured-list-item.-ch3UkPz.js → structured-list-item.Dk8Z-FPn.js} +9 -9
  173. package/dist/chunks/{structured-list-item.-ch3UkPz.js.map → structured-list-item.Dk8Z-FPn.js.map} +1 -1
  174. package/dist/chunks/{summary-grid-item-custom.CLVYmhnp.js → summary-grid-item-custom.atXX3GY9.js} +5 -5
  175. package/dist/chunks/{summary-grid-item-custom.CLVYmhnp.js.map → summary-grid-item-custom.atXX3GY9.js.map} +1 -1
  176. package/dist/chunks/{tabs.B0f1qiMR.js → tabs.9kObZry9.js} +4 -4
  177. package/dist/chunks/{tabs.B0f1qiMR.js.map → tabs.9kObZry9.js.map} +1 -1
  178. package/dist/chunks/{tag.d36UYSWd.js → tag.-YNhsBv7.js} +3 -3
  179. package/dist/chunks/{tag.d36UYSWd.js.map → tag.-YNhsBv7.js.map} +1 -1
  180. package/dist/chunks/{textarea.DORWuAZn.js → textarea.BVzGn3zO.js} +6 -6
  181. package/dist/chunks/{textarea.DORWuAZn.js.map → textarea.BVzGn3zO.js.map} +1 -1
  182. package/dist/chunks/{timeline-item.CUm_n51y.js → timeline-item.D_YNHlRi.js} +21 -21
  183. package/dist/chunks/{timeline-item.CUm_n51y.js.map → timeline-item.D_YNHlRi.js.map} +1 -1
  184. package/dist/chunks/{toast.DCaWC_wv.js → toast.DgJbW9CL.js} +4 -4
  185. package/dist/chunks/{toast.DCaWC_wv.js.map → toast.DgJbW9CL.js.map} +1 -1
  186. package/dist/chunks/{toggle-button.DJqs599a.js → toggle-button.Cf8C7p6e.js} +2 -2
  187. package/dist/chunks/{toggle-button.DJqs599a.js.map → toggle-button.Cf8C7p6e.js.map} +1 -1
  188. package/dist/chunks/{toggle.INRYdQzz.js → toggle.CnS7qszG.js} +3 -3
  189. package/dist/chunks/{toggle.INRYdQzz.js.map → toggle.CnS7qszG.js.map} +1 -1
  190. package/dist/chunks/{tooltip.CQGwmwt9.js → tooltip.R2sqydIE.js} +4 -4
  191. package/dist/chunks/{tooltip.CQGwmwt9.js.map → tooltip.R2sqydIE.js.map} +1 -1
  192. package/dist/chunks/{tutorial.B_8XNKvM.js → tutorial.cQXPvqV4.js} +15 -15
  193. package/dist/chunks/{tutorial.B_8XNKvM.js.map → tutorial.cQXPvqV4.js.map} +1 -1
  194. package/dist/chunks/{typography.Bu_WAKdf.js → typography.J1v_SPG3.js} +2 -1
  195. package/dist/chunks/{typography.Bu_WAKdf.js.map → typography.J1v_SPG3.js.map} +1 -1
  196. package/dist/chunks/{use-bento-toast-controller.BVVMh0wc.js → use-bento-toast-controller.Cn_2Eogn.js} +3 -3
  197. package/dist/chunks/{use-bento-toast-controller.BVVMh0wc.js.map → use-bento-toast-controller.Cn_2Eogn.js.map} +1 -1
  198. package/dist/chunks/{use-cached-selected-values.DJl7FKT5.js → use-cached-selected-values.BGlHmPhX.js} +26 -26
  199. package/dist/chunks/{use-cached-selected-values.DJl7FKT5.js.map → use-cached-selected-values.BGlHmPhX.js.map} +1 -1
  200. package/dist/chunks/{use-country-items.DPBbl1KK.js → use-country-items.eWARMT6I.js} +2 -2
  201. package/dist/chunks/{use-country-items.DPBbl1KK.js.map → use-country-items.eWARMT6I.js.map} +1 -1
  202. package/dist/code-snippet.js +1 -1
  203. package/dist/country.js +2 -2
  204. package/dist/currency.js +1 -1
  205. package/dist/dashboard-template.js +1 -1
  206. package/dist/dashed-underline.js +1 -1
  207. package/dist/data-grid-template.js +1 -1
  208. package/dist/data-grid.js +1 -1
  209. package/dist/date-picker.js +2 -2
  210. package/dist/date-range-picker.js +2 -2
  211. package/dist/date.js +1 -1
  212. package/dist/divider.js +1 -1
  213. package/dist/dropdown.js +4 -4
  214. package/dist/empty-state.js +1 -1
  215. package/dist/file-uploader.js +1 -1
  216. package/dist/filter-bar.js +1 -1
  217. package/dist/focus-trap.js +1 -1
  218. package/dist/form-layout.js +1 -1
  219. package/dist/header.js +1 -1
  220. package/dist/index.js +70 -70
  221. package/dist/index.js.map +1 -1
  222. package/dist/info-icon.js +1 -1
  223. package/dist/input-field-password.js +1 -1
  224. package/dist/input-field.js +1 -1
  225. package/dist/inspector.js +1 -1
  226. package/dist/internal.js +12 -12
  227. package/dist/layout.js +1 -1
  228. package/dist/link.js +1 -1
  229. package/dist/menu.js +1 -1
  230. package/dist/modal-fullscreen.js +1 -1
  231. package/dist/modal.js +2 -2
  232. package/dist/pagination.js +1 -1
  233. package/dist/payment-method.js +1 -1
  234. package/dist/popover.js +1 -1
  235. package/dist/popper-container.js +1 -1
  236. package/dist/promo-banner.js +1 -1
  237. package/dist/radio-group.js +2 -2
  238. package/dist/search-bar.js +2 -2
  239. package/dist/secondary-nav.js +1 -1
  240. package/dist/segmented-control.js +1 -1
  241. package/dist/selection-card.js +1 -1
  242. package/dist/sidepanel.js +1 -1
  243. package/dist/status.js +1 -1
  244. package/dist/stepper.js +1 -1
  245. package/dist/structured-list.js +1 -1
  246. package/dist/styles/bento-dark.css +1 -0
  247. package/dist/styles/bento-light.css +1 -0
  248. package/dist/styles/bento.css +1 -0
  249. package/dist/styles/legacy.css +1 -0
  250. package/dist/styles/styleguide.css +1 -0
  251. package/dist/summary-grid.js +1 -1
  252. package/dist/tabs.js +1 -1
  253. package/dist/tag.js +1 -1
  254. package/dist/textarea.js +1 -1
  255. package/dist/timeline.js +1 -1
  256. package/dist/toast.js +1 -1
  257. package/dist/toggle.js +1 -1
  258. package/dist/tutorial.js +1 -1
  259. package/dist/typography.js +1 -1
  260. package/dist/web-types.json +40 -1
  261. package/package.json +4 -3
  262. package/dist/chunks/date-picker.DFgjvQgX.js.map +0 -1
  263. package/dist/chunks/date-range-picker.BBC3TGYw.js.map +0 -1
  264. package/dist/chunks/divider.BZfeYmB9.js +0 -30
  265. package/dist/chunks/divider.BZfeYmB9.js.map +0 -1
  266. package/dist/chunks/es6.D11bE5vq.js.map +0 -1
  267. package/dist/chunks/radio-group.D5GEIgYv.js +0 -219
  268. package/dist/chunks/radio-group.D5GEIgYv.js.map +0 -1
  269. package/dist/chunks/status.types.B0jtv0c7.js.map +0 -1
@@ -1,103 +1,109 @@
1
- import { reactive as ae, defineComponent as Oe, computed as T, ref as E, onMounted as Me, toRaw as se, toRef as re, watch as pe } from "vue";
2
- import { B as Ge } from "./divider.BZfeYmB9.js";
3
- import { B as We } from "./popover.D8pR_dbl.js";
4
- import { B as we, d as qe } from "./typography.Bu_WAKdf.js";
5
- import { D as He } from "./dropdown-default-textbox.CrylDCEX.js";
6
- import { r as j, t as H, g as oe } from "./get-date-locale.BN8xEjY0.js";
7
- import { g as z } from "./generate-uid.D-HFI38h.js";
8
- import { u as le } from "./i18n.BQkEbtPM.js";
9
- import { t as ie, f as Q } from "./date.BQ29-2L1.js";
10
- import { f as ve, v as je, D as b } from "./date-input.BqBdAO1E.js";
11
- import { u as Ke } from "./use-form-layout-loading.D3lALhtC.js";
1
+ import { reactive as ne, defineComponent as Me, computed as T, ref as E, onMounted as Ce, toRaw as le, toRef as oe, watch as ve } from "vue";
2
+ import { B as We } from "./divider.Cc4JFWG_.js";
3
+ import { B as qe } from "./popover.nev0GndY.js";
4
+ import { B as we, d as He } from "./typography.J1v_SPG3.js";
5
+ import { D as je } from "./dropdown-default-textbox.CC9Z_RFG.js";
6
+ import { r as K, t as j, g as ie } from "./get-date-locale.BN8xEjY0.js";
7
+ import { g as X } from "./generate-uid.NJ8tVoha.js";
8
+ import { u as ue } from "./i18n.BQkEbtPM.js";
9
+ import { t as de, f as Z } from "./date.1zs9CRhw.js";
10
+ import { s as q, c as ge, i as H, d as Ke, e as ye, f as ze, g as Te, h as Je, j as Qe, a as N, u as Xe } from "./calendar.DlOcbH6E.js";
11
+ import { f as _e, v as Ze, D as R } from "./date-input.BqBdAO1E.js";
12
+ import { u as et } from "./use-form-layout-loading.D3lALhtC.js";
12
13
  import "./index.Cl4_42j5.js";
13
- import { B as ze } from "./input-field.Dgop3JWW.js";
14
- import { B as Je } from "./dropdown.BkLc07G8.js";
15
- import { B as Qe } from "./segmented-control.C6HPgkVm.js";
16
- import { d as ee } from "./debounce.DUTu11PS.js";
17
- import { u as Xe } from "./use-has-slot.C9lQZ6nz.js";
18
- import { s as J, c as ge, i as q, d as Ze, e as ye, f as et, g as Te, h as tt, j as at, a as L, u as nt } from "./calendar.LXRuFfcw.js";
14
+ import { B as tt } from "./input-field.DgDFJbg7.js";
15
+ import { B as at } from "./dropdown.hc9ZuuTt.js";
16
+ import { B as nt } from "./segmented-control.DL0W7lJ_.js";
17
+ import { d as te } from "./debounce.DUTu11PS.js";
18
+ import { u as rt } from "./use-has-slot.C9lQZ6nz.js";
19
19
  import { e as U } from "./index.DPafeRJa.js";
20
- import { e as _e } from "./index.CrhTVr5J.js";
21
- import { n as Ce } from "./_plugin-vue2_normalizer.CeySl7Fu.js";
22
- import { B as rt, c as st } from "./button-actions.BaypoF5i.js";
23
- import { E as ot, F as lt } from "./error-message.Brg-AZjT.js";
24
- import { B as it } from "./directive.O3yEdalv.js";
20
+ import { e as Re } from "./index.CrhTVr5J.js";
21
+ import { n as Ae } from "./_plugin-vue2_normalizer.CeySl7Fu.js";
22
+ import { B as st } from "./directive.O3yEdalv.js";
23
+ import { F as ot, E as lt } from "./error-message.Da-p1QIA.js";
24
+ import { B as it, c as ut } from "./button-actions.BU173IFE.js";
25
25
  import "../assets/date-range-picker.css";
26
- function Re(t, e) {
27
- j(2, arguments);
28
- var n = H(t), i = H(e);
26
+ function Ie(t, e) {
27
+ K(2, arguments);
28
+ var n = j(t), i = j(e);
29
29
  return n.getTime() === i.getTime();
30
30
  }
31
31
  function be(t) {
32
- j(1, arguments);
33
- var e = H(t);
32
+ K(1, arguments);
33
+ var e = j(t);
34
34
  return e.setMilliseconds(0), e;
35
35
  }
36
- function Ie(t, e) {
37
- j(2, arguments);
36
+ function ke(t, e) {
37
+ K(2, arguments);
38
38
  var n = be(t), i = be(e);
39
39
  return n.getTime() === i.getTime();
40
40
  }
41
41
  function dt(t, e) {
42
- j(2, arguments);
43
- var n = H(t), i = ie(e);
42
+ K(2, arguments);
43
+ var n = j(t), i = de(e);
44
44
  return n.setHours(i), n;
45
45
  }
46
- function ut(t, e) {
47
- j(2, arguments);
48
- var n = H(t), i = ie(e);
46
+ function ct(t, e) {
47
+ K(2, arguments);
48
+ var n = j(t), i = de(e);
49
49
  return n.setMinutes(i), n;
50
50
  }
51
- function ct(t, e) {
52
- j(2, arguments);
53
- var n = H(t), i = ie(e);
51
+ function Dt(t, e) {
52
+ K(2, arguments);
53
+ var n = j(t), i = de(e);
54
54
  return n.setSeconds(i), n;
55
55
  }
56
- const Dt = ({
56
+ function re(t) {
57
+ if (t == null)
58
+ return q(/* @__PURE__ */ new Date());
59
+ const [e, n, i] = t.split("-").map((u) => parseInt(u, 10));
60
+ return new Date(e, n - 1, i);
61
+ }
62
+ const mt = ({
57
63
  firstDayOfWeek: t,
58
64
  min: e,
59
65
  max: n
60
- }) => ({ getGranularCalendarLimits: (d) => {
61
- let f = J(e), r = U(n);
62
- if ((d == null ? void 0 : d.type) === "weekly") {
63
- if (d.earliest)
64
- f = J(d.earliest);
66
+ }) => ({ getGranularCalendarLimits: (u) => {
67
+ let m = q(e), r = U(n);
68
+ if ((u == null ? void 0 : u.type) === "weekly") {
69
+ if (u.earliest)
70
+ m = q(u.earliest);
65
71
  else {
66
- const u = ge(f, { weekStartsOn: t });
67
- q(f, u) || (f = J(Ze(ye(f, { weekStartsOn: t }), 1)));
72
+ const d = ge(m, { weekStartsOn: t });
73
+ H(m, d) || (m = q(Ke(ye(m, { weekStartsOn: t }), 1)));
68
74
  }
69
- if (d.latest)
70
- r = U(d.latest);
75
+ if (u.latest)
76
+ r = U(u.latest);
71
77
  else {
72
- const u = ye(r, { weekStartsOn: t });
73
- q(r, u) || (r = U(et(ge(r, { weekStartsOn: t }), 1)));
78
+ const d = ye(r, { weekStartsOn: t });
79
+ H(r, d) || (r = U(ze(ge(r, { weekStartsOn: t }), 1)));
74
80
  }
75
81
  }
76
- if ((d == null ? void 0 : d.type) === "monthly") {
77
- if (d.earliest)
78
- f = J(d.earliest);
82
+ if ((u == null ? void 0 : u.type) === "monthly") {
83
+ if (u.earliest)
84
+ m = q(u.earliest);
79
85
  else {
80
- const u = Te(f);
81
- q(f, u) || (f = Te(tt(f, 1)));
86
+ const d = Te(m);
87
+ H(m, d) || (m = Te(Je(m, 1)));
82
88
  }
83
- if (d.latest)
84
- r = U(d.latest);
89
+ if (u.latest)
90
+ r = U(u.latest);
85
91
  else {
86
- const u = _e(r);
87
- q(r, u) || (r = _e(at(r, 1)));
92
+ const d = Re(r);
93
+ H(r, d) || (r = Re(Qe(r, 1)));
88
94
  }
89
95
  }
90
- return { min: f, max: r };
91
- } }), mt = () => {
92
- const t = ae({
96
+ return { min: m, max: r };
97
+ } }), ft = () => {
98
+ const t = ne({
93
99
  daily: null,
94
100
  weekly: null,
95
101
  monthly: null
96
102
  });
97
103
  return {
98
104
  savedRanges: t,
99
- saveRange: (i, d) => {
100
- t[i] = d;
105
+ saveRange: (i, u) => {
106
+ t[i] = u;
101
107
  },
102
108
  resetSavedRanges: () => {
103
109
  t.daily = null, t.weekly = null, t.monthly = null;
@@ -105,18 +111,18 @@ const Dt = ({
105
111
  };
106
112
  };
107
113
  var p = /* @__PURE__ */ ((t) => (t.CUSTOM_RANGE = "custom-range", t.INPUT = "input", t.ERROR = "error", t.FORM_DATE = "form-date", t.START_DATE_SELECTED = "start-date-selected", t))(p || {});
108
- const ft = /[\d]/, pt = /^\d{2}$/, vt = /^\d{2}:\d{2}$/, gt = (t) => {
109
- const { selectionStart: e } = t.target, n = ft.test(t.key) || t.key === "Backspace", i = [1, 2, 4, 5].includes(e) && t.key === ":";
114
+ const pt = /[\d]/, vt = /^\d{2}$/, gt = /^\d{2}:\d{2}$/, yt = (t) => {
115
+ const { selectionStart: e } = t.target, n = pt.test(t.key) || t.key === "Backspace", i = [1, 2, 4, 5].includes(e) && t.key === ":";
110
116
  !n && !i && t.preventDefault();
111
- }, ke = (t) => {
117
+ }, Se = (t) => {
112
118
  if (!t)
113
119
  return t;
114
120
  let e = t;
115
121
  if (e.length === 1 && parseInt(t, 10) > 2)
116
122
  return `0${e}:`;
117
123
  const [n, i] = e.slice(-2);
118
- return [2, 5].includes(e.length) && i === ":" && (e = `${e.slice(0, e.length - 2)}0${n}`), (pt.test(e) || vt.test(e)) && (e += ":"), e;
119
- }, yt = {
124
+ return [2, 5].includes(e.length) && i === ":" && (e = `${e.slice(0, e.length - 2)}0${n}`), (vt.test(e) || gt.test(e)) && (e += ":"), e;
125
+ }, Tt = {
120
126
  "en-US": {
121
127
  customRange: "Custom range",
122
128
  daily: "Daily",
@@ -130,14 +136,6 @@ const ft = /[\d]/, pt = /^\d{2}$/, vt = /^\d{2}:\d{2}$/, gt = (t) => {
130
136
  timeTo: "Time to",
131
137
  weekly: "Weekly"
132
138
  },
133
- "pt-BR": {
134
- customRange: "Selecione um intervalo personalizado",
135
- daily: "Diário",
136
- lastMonth: "Último mês",
137
- lastSevenDays: "Últimos 7 dias",
138
- monthly: "Mensal",
139
- weekly: "Semanal"
140
- },
141
139
  "ja-JP": {
142
140
  customRange: "カスタム範囲を選択",
143
141
  daily: "毎日",
@@ -145,16 +143,24 @@ const ft = /[\d]/, pt = /^\d{2}$/, vt = /^\d{2}:\d{2}$/, gt = (t) => {
145
143
  lastSevenDays: "過去7日間",
146
144
  monthly: "毎月",
147
145
  weekly: "毎週"
146
+ },
147
+ "pt-BR": {
148
+ customRange: "Selecione um intervalo personalizado",
149
+ daily: "Diário",
150
+ lastMonth: "Último mês",
151
+ lastSevenDays: "Últimos 7 dias",
152
+ monthly: "Mensal",
153
+ weekly: "Semanal"
148
154
  }
149
- }, Se = 300, Ee = "customRange", he = "daily", Tt = Oe({
150
- i18n: { messages: yt },
155
+ }, Ee = 300, he = "customRange", Oe = "daily", _t = Me({
156
+ i18n: { messages: Tt },
151
157
  name: "date-range-picker-calendar",
152
158
  components: {
153
- BentoDropdown: Je,
154
- BentoInputField: ze,
155
- BentoSegmentedControl: Qe,
159
+ BentoDropdown: at,
160
+ BentoInputField: tt,
161
+ BentoSegmentedControl: nt,
156
162
  BentoTypography: we,
157
- Calendar: L
163
+ Calendar: N
158
164
  },
159
165
  props: {
160
166
  /**
@@ -171,7 +177,7 @@ const ft = /[\d]/, pt = /^\d{2}$/, vt = /^\d{2}:\d{2}$/, gt = (t) => {
171
177
  /**
172
178
  * Allows you to set the first day of the week. 0 is sunday, 1 is monday, 6 is saturday
173
179
  */
174
- firstDayOfWeek: L.props.firstDayOfWeek,
180
+ firstDayOfWeek: N.props.firstDayOfWeek,
175
181
  /**
176
182
  * A list of available granularities.
177
183
  * If present, the date picker will display a segmented control to change granularity.
@@ -183,23 +189,23 @@ const ft = /[\d]/, pt = /^\d{2}$/, vt = /^\d{2}:\d{2}$/, gt = (t) => {
183
189
  /**
184
190
  * Indicate if a date should be disabled or not
185
191
  */
186
- isDateDisabled: L.props.isDateDisabled,
192
+ isDateDisabled: N.props.isDateDisabled,
187
193
  /**
188
194
  * Set a maximum number of dates to be selectable by the range.
189
195
  */
190
- maxRange: L.props.maxRange,
196
+ maxRange: N.props.maxRange,
191
197
  /**
192
198
  * Sets a minimum limit for selectable dates - dates before `min` will not be selectable
193
199
  */
194
- min: L.props.min,
200
+ min: N.props.min,
195
201
  /**
196
202
  * Sets a maximum limit for selectable dates - dates after `max` will not be selectable
197
203
  */
198
- max: L.props.max,
204
+ max: N.props.max,
199
205
  /**
200
206
  * Number of months rendered on pane
201
207
  */
202
- numberOfMonths: L.props.numberOfMonths,
208
+ numberOfMonths: N.props.numberOfMonths,
203
209
  /**
204
210
  * Displays the end date's month when the calendar is opened. Defaults to false i.e. the start date's month is displayed.
205
211
  */
@@ -228,22 +234,22 @@ const ft = /[\d]/, pt = /^\d{2}$/, vt = /^\d{2}:\d{2}$/, gt = (t) => {
228
234
  p.START_DATE_SELECTED
229
235
  ],
230
236
  setup(t, { emit: e, slots: n }) {
231
- var De, me, fe;
232
- const { locale: i, t: d } = le(), f = oe(), r = ae({
233
- startDate: (De = t.value) == null ? void 0 : De.startDate,
234
- endDate: (me = t.value) == null ? void 0 : me.endDate,
237
+ var me, fe, pe;
238
+ const { locale: i, t: u } = ue(), m = ie(), r = ne({
239
+ startDate: (me = t.value) == null ? void 0 : me.startDate,
240
+ endDate: (fe = t.value) == null ? void 0 : fe.endDate,
235
241
  ...t.granularities ? {
236
- granularity: ((fe = t.value) == null ? void 0 : fe.granularity) || he
242
+ granularity: ((pe = t.value) == null ? void 0 : pe.granularity) || Oe
237
243
  } : {}
238
- }), u = T(
244
+ }), d = T(
239
245
  () => {
240
246
  var a, s;
241
- return ((s = (a = t == null ? void 0 : t.quickSelectRanges) == null ? void 0 : a.find(({ data: l }) => t.allowTimeInput ? Ie(l.startDate, r.startDate) && Ie(l.endDate, r.endDate) : q(l.startDate, r.startDate) && q(l.endDate, r.endDate))) == null ? void 0 : s.value) ?? Ee;
247
+ return ((s = (a = t == null ? void 0 : t.quickSelectRanges) == null ? void 0 : a.find(({ data: l }) => t.allowTimeInput ? ke(l.startDate, r.startDate) && ke(l.endDate, r.endDate) : H(l.startDate, r.startDate) && H(l.endDate, r.endDate))) == null ? void 0 : s.value) ?? he;
242
248
  }
243
249
  ), O = T(() => ({
244
250
  "b-date-range-picker-calendar__form-input-wrapper": t.allowTimeInput
245
- })), K = T(() => [
246
- { label: d("customRange"), value: Ee },
251
+ })), z = T(() => [
252
+ { label: u("customRange"), value: he },
247
253
  ...t.quickSelectRanges ? t.quickSelectRanges : []
248
254
  ]), P = T(
249
255
  () => {
@@ -254,197 +260,195 @@ const ft = /[\d]/, pt = /^\d{2}$/, vt = /^\d{2}:\d{2}$/, gt = (t) => {
254
260
  () => {
255
261
  var a;
256
262
  return ((a = t.granularities) == null ? void 0 : a.map(({ type: s, disabled: l }) => ({
257
- label: d(s),
263
+ label: u(s),
258
264
  value: s,
259
265
  disabled: l
260
266
  }))) ?? [];
261
267
  }
262
- ), { getGranularCalendarLimits: V } = Dt(t), m = T(
263
- () => t.granularities ? V(P.value) : { min: J(t.min), max: U(t.max) }
268
+ ), { getGranularCalendarLimits: L } = mt(t), D = T(
269
+ () => t.granularities ? L(P.value) : { min: q(t.min), max: U(t.max) }
264
270
  ), {
265
- adjustDateForMonthly: Y,
271
+ adjustDateForMonthly: V,
266
272
  adjustDateForWeekly: I,
267
273
  adjustStartDateInputForWeekly: B,
268
274
  adjustEndDateInputForWeekly: M,
269
275
  adjustStartDateInputForMonthly: v,
270
276
  adjustEndDateInputForMonthly: h
271
- } = nt(t.firstDayOfWeek), { savedRanges: y, saveRange: A, resetSavedRanges: X } = mt(), _ = (a) => a ? Q(a, b.NUMERIC_DATE_YEAR_FIRST, {
272
- locale: f[i.value.substring(0, 2)] || f.enUS
273
- }) : "", N = (a) => a ? Q(a, b.HOUR_MINUTE_SECONDS, {
274
- locale: f[i.value.substring(0, 2)] || f.enUS
275
- }) : "", R = E(!1), k = E(!1), x = E(!1), F = E(!1), o = ae({
277
+ } = Xe(t.firstDayOfWeek), { savedRanges: y, saveRange: Y, resetSavedRanges: J } = ft(), _ = (a) => a ? Z(a, R.NUMERIC_DATE_YEAR_FIRST, {
278
+ locale: m[i.value.substring(0, 2)] || m.enUS
279
+ }) : "", k = (a) => a ? Z(a, R.HOUR_MINUTE_SECONDS, {
280
+ locale: m[i.value.substring(0, 2)] || m.enUS
281
+ }) : "", S = E(!1), A = E(!1), x = E(!1), F = E(!1), o = ne({
276
282
  startDate: t.dateFormData.startDate,
277
283
  endDate: t.dateFormData.endDate,
278
284
  startTime: t.dateFormData.startTime,
279
285
  endTime: t.dateFormData.endTime
280
- }), Z = (a) => /^(?:[01]\d|2[01234]):(?:[012345]\d):(?:[012345]\d)$/.test(a), S = (a, s) => {
281
- if (!s || !Z(s))
286
+ }), ee = (a) => /^(?:[01]\d|2[01234]):(?:[012345]\d):(?:[012345]\d)$/.test(a), C = (a, s) => {
287
+ if (!s || !ee(s))
282
288
  return a;
283
289
  let l = new Date(a);
284
- const [D, Ye, $e] = s.split(":");
285
- return l = dt(l, parseInt(D, 10)), l = ut(l, parseInt(Ye, 10)), l = ct(l, parseInt($e, 10)), l;
286
- }, de = (a) => {
287
- r.startDate = S(a.startDate, o.startTime), r.endDate = S(a.endDate, o.endTime), t.granularities && X(), e(p.INPUT, {
290
+ const [c, Q, Ge] = s.split(":");
291
+ return l = dt(l, parseInt(c, 10)), l = ct(l, parseInt(Q, 10)), l = Dt(l, parseInt(Ge, 10)), l;
292
+ }, ce = (a) => {
293
+ r.startDate = C(a.startDate, o.startTime), r.endDate = C(a.endDate, o.endTime), t.granularities && J(), e(p.INPUT, {
288
294
  ...r,
289
- range: u.value
295
+ range: d.value
290
296
  });
291
297
  }, $ = (a) => {
292
- const s = (D) => t.min && D <= t.min || t.max && D >= t.max ? !1 : t.isDateDisabled ? !t.isDateDisabled(D) : !0;
298
+ const s = (c) => t.min && c <= t.min || t.max && c >= t.max ? !1 : t.isDateDisabled ? !t.isDateDisabled(c) : !0;
293
299
  return /^\d{4}-(0?[1-9]|1[012])-(0?[1-9]|[12][0-9]|3[01])$/.test(a) && s(new Date(a));
294
300
  };
295
- Me(() => {
296
- t.dateFormData.startDate && !$(t.dateFormData.startDate) ? R.value = !0 : (R.value = !1, x.value = !1), t.dateFormData.endDate && !$(t.dateFormData.endDate) ? k.value = !0 : (k.value = !1, F.value = !1);
301
+ Ce(() => {
302
+ t.dateFormData.startDate && !$(t.dateFormData.startDate) ? S.value = !0 : (S.value = !1, x.value = !1), t.dateFormData.endDate && !$(t.dateFormData.endDate) ? A.value = !0 : (A.value = !1, F.value = !1);
297
303
  });
298
- const ue = (a) => {
304
+ const De = (a) => {
299
305
  var s;
300
- o.startDate = _(a), o.startTime ? x.value && (o.startTime = (s = t.dateFormData) == null ? void 0 : s.startTime) : o.startTime = N(a), R.value = !1, x.value = !1, e(p.START_DATE_SELECTED, a);
301
- }, ce = (a) => {
306
+ o.startDate = _(a), o.startTime ? x.value && (o.startTime = (s = t.dateFormData) == null ? void 0 : s.startTime) : o.startTime = k(a), S.value = !1, x.value = !1, e(p.START_DATE_SELECTED, a);
307
+ }, f = (a) => {
302
308
  var s;
303
- o.endDate = _(a), o.endTime ? F.value && (o.endTime = (s = t.dateFormData) == null ? void 0 : s.endTime) : o.endTime = N(U(a)), k.value = !1, F.value = !1;
304
- }, c = (a) => {
309
+ o.endDate = _(a), o.endTime ? F.value && (o.endTime = (s = t.dateFormData) == null ? void 0 : s.endTime) : o.endTime = k(U(a)), A.value = !1, F.value = !1;
310
+ }, b = (a) => {
305
311
  const s = t.value[a];
306
312
  if (s)
307
313
  return s;
308
314
  if (t.dateFormData[a] && $(t.dateFormData[a]))
309
315
  return new Date(t.dateFormData[a]);
310
- }, w = ee((a) => {
316
+ }, G = te((a) => {
311
317
  var s;
312
318
  if ($(a)) {
313
319
  let l = a;
314
- switch (R.value = !1, (s = P.value) == null ? void 0 : s.type) {
320
+ switch (S.value = !1, (s = P.value) == null ? void 0 : s.type) {
315
321
  case "weekly":
316
322
  l = B(
317
323
  a,
318
324
  _,
319
- m.value.min,
320
- m.value.max
325
+ D.value.min,
326
+ D.value.max
321
327
  ), o.startDate = l;
322
328
  break;
323
329
  case "monthly":
324
330
  l = v(
325
331
  a,
326
332
  _,
327
- m.value.min,
328
- m.value.max
333
+ D.value.min,
334
+ D.value.max
329
335
  ), o.startDate = l;
330
336
  break;
331
337
  }
332
- r.startDate = S(new Date(l), o.startTime);
333
- const D = c("endDate");
338
+ const c = re(l);
339
+ r.startDate = C(c, o.startTime);
340
+ const Q = b("endDate");
334
341
  e(p.FORM_DATE, {
335
- startDate: new Date(l),
336
- endDate: D
342
+ startDate: c,
343
+ endDate: Q
337
344
  }), e(p.INPUT, {
338
- startDate: new Date(l),
339
- endDate: D,
340
- range: u.value
345
+ ...r,
346
+ range: d.value
341
347
  });
342
348
  } else
343
- R.value = !0, e(p.ERROR, { ...o });
344
- }, Se), G = (a) => {
345
- o.startDate = ve(a), w(o.startDate);
346
- }, ne = ee((a) => {
349
+ S.value = !0, e(p.ERROR, { ...o });
350
+ }, Ee), se = (a) => {
351
+ o.startDate = _e(a), G(o.startDate);
352
+ }, xe = te((a) => {
347
353
  var s;
348
354
  if ($(a)) {
349
355
  let l = a;
350
- switch (k.value = !1, (s = P.value) == null ? void 0 : s.type) {
356
+ switch (A.value = !1, (s = P.value) == null ? void 0 : s.type) {
351
357
  case "weekly":
352
358
  l = M(
353
359
  a,
354
360
  _,
355
- m.value.min,
356
- m.value.max
361
+ D.value.min,
362
+ D.value.max
357
363
  ), o.endDate = l;
358
364
  break;
359
365
  case "monthly":
360
366
  l = h(
361
367
  a,
362
368
  _,
363
- m.value.min,
364
- m.value.max
369
+ D.value.min,
370
+ D.value.max
365
371
  ), o.endDate = l;
366
372
  break;
367
373
  }
368
- r.endDate = S(new Date(l), o.endTime);
369
- const D = c("startDate");
374
+ const c = re(l);
375
+ r.endDate = C(c, o.endTime);
376
+ const Q = b("startDate");
370
377
  e(p.FORM_DATE, {
371
- startDate: D,
372
- endDate: new Date(a)
378
+ startDate: Q,
379
+ endDate: c
373
380
  }), e(p.INPUT, {
374
- startDate: D,
375
- endDate: new Date(a),
376
- range: u.value
381
+ ...r,
382
+ range: d.value
377
383
  });
378
384
  } else
379
- k.value = !0, e(p.ERROR, { ...o });
380
- }, Se), Ae = (a) => {
381
- o.endDate = ve(a), ne(o.endDate);
382
- }, xe = (a) => {
383
- je(a);
384
- }, Fe = ee((a) => {
385
- if (Z(a)) {
386
- x.value = !1, r.startDate = S(r.startDate, a);
387
- const s = c("endDate");
385
+ A.value = !0, e(p.ERROR, { ...o });
386
+ }, Ee), Fe = (a) => {
387
+ o.endDate = _e(a), xe(o.endDate);
388
+ }, Ue = (a) => {
389
+ Ze(a);
390
+ }, Pe = te((a) => {
391
+ if (ee(a)) {
392
+ x.value = !1, r.startDate = C(r.startDate, a);
393
+ const s = b("endDate");
388
394
  e(p.FORM_DATE, {
389
395
  startDate: new Date(r.startDate),
390
- endDate: S(new Date(s), t.dateFormData.endTime),
396
+ endDate: s,
391
397
  startTime: a,
392
398
  endTime: t.dateFormData.endTime
393
399
  }), e(p.INPUT, {
394
- startDate: new Date(r.startDate),
395
- endDate: S(new Date(s), t.dateFormData.endTime),
396
- range: u.value
400
+ ...r,
401
+ range: d.value
397
402
  });
398
403
  } else
399
404
  x.value = !0, e(p.ERROR, { ...o });
400
- }), Ue = ee((a) => {
401
- if (Z(a)) {
402
- F.value = !1, r.endDate = S(r.endDate, a);
403
- const s = c("startDate");
404
- e(p.FORM_DATE, {
405
- startDate: S(new Date(s), t.dateFormData.startTime),
405
+ }), Be = te((a) => {
406
+ if (ee(a)) {
407
+ F.value = !1, r.endDate = C(r.endDate, a);
408
+ const s = b("startDate");
409
+ r.startDate = C(new Date(s), t.dateFormData.startTime), e(p.FORM_DATE, {
410
+ startDate: C(new Date(s), t.dateFormData.startTime),
406
411
  endDate: new Date(r.endDate),
407
412
  startTime: t.dateFormData.startTime,
408
413
  endTime: a
409
414
  }), e(p.INPUT, {
410
- startDate: S(new Date(s), t.dateFormData.startTime),
411
- endDate: new Date(r.endDate),
412
- range: u.value
415
+ ...r,
416
+ range: d.value
413
417
  });
414
418
  } else
415
419
  F.value = !0, e(p.ERROR, { ...o });
416
- }), Pe = (a) => {
417
- o.startTime = ke(a), Fe(o.startTime);
418
- }, Be = (a) => {
419
- o.endTime = ke(a), Ue(o.endTime);
420
- }, Ne = (a) => {
421
- gt(a);
420
+ }), Ne = (a) => {
421
+ o.startTime = Se(a), Pe(o.startTime);
422
+ }, Le = (a) => {
423
+ o.endTime = Se(a), Be(o.endTime);
424
+ }, Ve = (a) => {
425
+ yt(a);
422
426
  }, W = (a, s, l) => {
423
427
  r.startDate = a, r.endDate = s, l && (r.granularity = l);
424
- }, Le = (a) => {
428
+ }, Ye = (a) => {
425
429
  var l;
426
- const s = (l = t.quickSelectRanges) == null ? void 0 : l.find(({ value: D }) => D === a);
430
+ const s = (l = t.quickSelectRanges) == null ? void 0 : l.find(({ value: c }) => c === a);
427
431
  if (s) {
428
- X();
429
- const D = s.data;
430
- o.startDate = _(D.startDate), o.endDate = _(D.endDate), W(D.startDate, D.endDate), t.granularities && (r.granularity = D.granularity || he), o.startTime || (o.startTime = N(U(D.startDate))), o.endTime || (o.endTime = N(U(D.endDate))), e(p.CUSTOM_RANGE, { ...s.data, range: s.value });
432
+ J();
433
+ const c = s.data;
434
+ o.startDate = _(c.startDate), o.endDate = _(c.endDate), W(c.startDate, c.endDate), t.granularities && (r.granularity = c.granularity || Oe), o.startTime || (o.startTime = k(U(c.startDate))), o.endTime || (o.endTime = k(U(c.endDate))), e(p.CUSTOM_RANGE, { ...s.data, range: s.value });
431
435
  }
432
- }, Ve = (a) => {
436
+ }, $e = (a) => {
433
437
  const s = r.granularity;
434
- if (r.granularity = a, s && A(s, structuredClone(se(r))), r.startDate && r.endDate) {
438
+ if (r.granularity = a, s && Y(s, structuredClone(le(r))), r.startDate && r.endDate) {
435
439
  switch (a) {
436
440
  case "monthly": {
437
441
  if (y.monthly) {
438
442
  W(y.monthly.startDate, y.monthly.endDate, a);
439
443
  break;
440
444
  }
441
- const { startDate: l, endDate: D } = Y(
445
+ const { startDate: l, endDate: c } = V(
442
446
  r.startDate,
443
447
  r.endDate,
444
- m.value.min,
445
- m.value.max
448
+ D.value.min,
449
+ D.value.max
446
450
  );
447
- W(l, D, a);
451
+ W(l, c, a);
448
452
  break;
449
453
  }
450
454
  case "weekly": {
@@ -452,13 +456,13 @@ const ft = /[\d]/, pt = /^\d{2}$/, vt = /^\d{2}:\d{2}$/, gt = (t) => {
452
456
  W(y.weekly.startDate, y.weekly.endDate, a);
453
457
  break;
454
458
  }
455
- const { startDate: l, endDate: D } = I(
459
+ const { startDate: l, endDate: c } = I(
456
460
  r.startDate,
457
461
  r.endDate,
458
- m.value.min,
459
- m.value.max
462
+ D.value.min,
463
+ D.value.max
460
464
  );
461
- W(l, D, a);
465
+ W(l, c, a);
462
466
  break;
463
467
  }
464
468
  case "daily":
@@ -467,7 +471,7 @@ const ft = /[\d]/, pt = /^\d{2}$/, vt = /^\d{2}:\d{2}$/, gt = (t) => {
467
471
  }
468
472
  o.startDate = _(r.startDate), o.endDate = _(r.endDate), e(p.INPUT, {
469
473
  ...r,
470
- range: u.value
474
+ range: d.value
471
475
  });
472
476
  }
473
477
  };
@@ -475,35 +479,35 @@ const ft = /[\d]/, pt = /^\d{2}$/, vt = /^\d{2}:\d{2}$/, gt = (t) => {
475
479
  // Values
476
480
  internalRangeDate: r,
477
481
  dateTextInput: o,
478
- endDateError: k,
482
+ endDateError: A,
479
483
  endTimeError: F,
480
484
  granularityItems: g,
481
485
  selectedGranularity: P,
482
- computedMinMax: m,
483
- selectedRangeSelectorValue: u,
484
- startDateError: R,
486
+ computedMinMax: D,
487
+ selectedRangeSelectorValue: d,
488
+ startDateError: S,
485
489
  startTimeError: x,
486
- quickSelectRangeDefaultItems: K,
490
+ quickSelectRangeDefaultItems: z,
487
491
  formInputWrapperConditionalClasses: O,
488
492
  // Methods
489
- hasSlot: Xe(n),
490
- t: d,
493
+ hasSlot: rt(n),
494
+ t: u,
491
495
  // Events
492
- onDateInput: de,
493
- onDateInputKeyDown: xe,
494
- onEndDateInput: Ae,
495
- onEndDateSelected: ce,
496
- onEndTimeInput: Be,
497
- onGranularityInput: Ve,
498
- onRangeSelectorInput: Le,
499
- onStartDateInput: G,
500
- onStartDateSelected: ue,
501
- onStartTimeInput: Pe,
502
- onTimeInputKeyDown: Ne
496
+ onDateInput: ce,
497
+ onDateInputKeyDown: Ue,
498
+ onEndDateInput: Fe,
499
+ onEndDateSelected: f,
500
+ onEndTimeInput: Le,
501
+ onGranularityInput: $e,
502
+ onRangeSelectorInput: Ye,
503
+ onStartDateInput: se,
504
+ onStartDateSelected: De,
505
+ onStartTimeInput: Ne,
506
+ onTimeInputKeyDown: Ve
503
507
  };
504
508
  }
505
509
  });
506
- var _t = function() {
510
+ var Rt = function() {
507
511
  var e = this, n = e._self._c;
508
512
  return e._self._setupProxy, n("div", { staticClass: "b-date-range-picker-calendar" }, [n("div", { staticClass: "b-date-range-picker-calendar__form-container" }, [n("div", { staticClass: "b-date-range-picker-calendar__form" }, [e.hasSlot("title") ? [e._t("title")] : e._e(), e.quickSelectRanges ? n("bento-dropdown", { attrs: { "aria-label": e.t("customRange"), items: e.quickSelectRangeDefaultItems, value: e.selectedRangeSelectorValue }, on: { input: e.onRangeSelectorInput } }) : e._e(), e.granularities ? n("bento-segmented-control", { attrs: { items: e.granularityItems, "model-value": e.internalRangeDate.granularity, "full-width": "" }, on: { "update:model-value": e.onGranularityInput } }) : e._e(), n("div", [n("bento-typography", { staticClass: "b-date-range-picker-calendar__label", attrs: { stronger: "", el: "span" } }, [e._v(" From ")]), n("div", { class: e.formInputWrapperConditionalClasses }, [n("bento-input-field", { staticClass: "b-date-range-picker-calendar__form-input", attrs: { "aria-label": e.t("dateFrom"), value: e.dateTextInput.startDate, error: e.startDateError }, on: { input: e.onStartDateInput, keydown: e.onDateInputKeyDown }, scopedSlots: e._u([{ key: "description", fn: function() {
509
513
  return [e._v("YYYY-MM-DD")];
@@ -514,27 +518,27 @@ var _t = function() {
514
518
  }, proxy: !0 }]) }), e.allowTimeInput ? n("bento-input-field", { staticClass: "b-date-range-picker-calendar__form-input", attrs: { "aria-label": e.t("timeTo"), value: e.dateTextInput.endTime, error: e.endTimeError }, on: { input: e.onEndTimeInput, keydown: e.onTimeInputKeyDown }, scopedSlots: e._u([{ key: "description", fn: function() {
515
519
  return [e._v("HH:MM:SS")];
516
520
  }, proxy: !0 }], null, !1, 3442289499) }) : e._e()], 1)], 1)], 2), e.hasSlot("actions") ? n("div", [e._t("actions")], 2) : e._e()]), n("div", { staticClass: "b-date-range-picker-calendar__calendars-container" }, [n("calendar", { attrs: { value: e.value, "first-day-of-week": e.firstDayOfWeek, "is-date-disabled": e.isDateDisabled, "max-range": e.maxRange, min: e.computedMinMax.min, max: e.computedMinMax.max, "number-of-months": e.numberOfMonths, "show-end-date-on-open": e.showEndDateOnOpen, granularity: e.selectedGranularity, "is-range": "" }, on: { input: e.onDateInput, "start-date-selected": e.onStartDateSelected, "end-date-selected": e.onEndDateSelected } })], 1)]);
517
- }, Rt = [], bt = /* @__PURE__ */ Ce(
518
- Tt,
521
+ }, It = [], bt = /* @__PURE__ */ Ae(
519
522
  _t,
520
523
  Rt,
524
+ It,
521
525
  !1,
522
526
  null,
523
- "da20fbc5"
527
+ "8869da62"
524
528
  );
525
- const C = bt.exports, It = ({
529
+ const w = bt.exports, kt = ({
526
530
  datePickerValue: t,
527
531
  isDateIncorrect: e,
528
532
  quickSelectRanges: n
529
533
  }) => {
530
- var g, V, m, Y;
531
- const { locale: i, t: d } = le(), f = oe(), r = (I) => !!I && !isNaN(I.getTime()), u = (I, B) => r(I) ? Q(I, B, {
532
- locale: f[i.value.substring(0, 2)] || f.enUS
533
- }) : void 0, O = ae({
534
- startDate: u((g = t.value) == null ? void 0 : g.startDate, b.NUMERIC_DATE_YEAR_FIRST),
535
- endDate: u((V = t.value) == null ? void 0 : V.endDate, b.NUMERIC_DATE_YEAR_FIRST),
536
- startTime: u((m = t.value) == null ? void 0 : m.startDate, b.HOUR_MINUTE_SECONDS),
537
- endTime: u((Y = t.value) == null ? void 0 : Y.endDate, b.HOUR_MINUTE_SECONDS)
534
+ var g, L, D, V;
535
+ const { locale: i, t: u } = ue(), m = ie(), r = (I) => !!I && !isNaN(I.getTime()), d = (I, B) => r(I) ? Z(I, B, {
536
+ locale: m[i.value.substring(0, 2)] || m.enUS
537
+ }) : void 0, O = ne({
538
+ startDate: d((g = t.value) == null ? void 0 : g.startDate, R.NUMERIC_DATE_YEAR_FIRST),
539
+ endDate: d((L = t.value) == null ? void 0 : L.endDate, R.NUMERIC_DATE_YEAR_FIRST),
540
+ startTime: d((D = t.value) == null ? void 0 : D.startDate, R.HOUR_MINUTE_SECONDS),
541
+ endTime: d((V = t.value) == null ? void 0 : V.endDate, R.HOUR_MINUTE_SECONDS)
538
542
  });
539
543
  return {
540
544
  // Values
@@ -543,21 +547,21 @@ const C = bt.exports, It = ({
543
547
  if (e.value)
544
548
  return `${O.startDate || ""} - ${O.endDate || ""}`;
545
549
  if (!t.value || !t.value.startDate && !t.value.endDate)
546
- return d("selectDateRange");
550
+ return u("selectDateRange");
547
551
  if ((M = n.value) != null && M.length) {
548
552
  const v = n.value.find(
549
553
  ({ data: h }) => {
550
- var y, A;
551
- return Re(h == null ? void 0 : h.startDate, (y = t.value) == null ? void 0 : y.startDate) && Re(h == null ? void 0 : h.endDate, (A = t.value) == null ? void 0 : A.endDate);
554
+ var y, Y;
555
+ return Ie(h == null ? void 0 : h.startDate, (y = t.value) == null ? void 0 : y.startDate) && Ie(h == null ? void 0 : h.endDate, (Y = t.value) == null ? void 0 : Y.endDate);
552
556
  }
553
557
  );
554
558
  if (v)
555
559
  return v.label;
556
560
  }
557
561
  const { startDate: I, endDate: B } = O;
558
- return `${u(new Date(I), b.FULL_DATE_MONTH_FIRST)} - ${u(
559
- new Date(B),
560
- b.FULL_DATE_MONTH_FIRST
562
+ return `${d(re(I), R.FULL_DATE_MONTH_FIRST)} - ${d(
563
+ re(B),
564
+ R.FULL_DATE_MONTH_FIRST
561
565
  )}`;
562
566
  }),
563
567
  textInputDisplayValue: O,
@@ -565,8 +569,8 @@ const C = bt.exports, It = ({
565
569
  formatTextInputDisplayValue: () => ""
566
570
  };
567
571
  };
568
- var te = /* @__PURE__ */ ((t) => (t.INPUT = "input", t))(te || {});
569
- const kt = {
572
+ var ae = /* @__PURE__ */ ((t) => (t.INPUT = "input", t))(ae || {});
573
+ const St = {
570
574
  "en-US": {
571
575
  apply: "Apply",
572
576
  cancel: "Cancel",
@@ -576,30 +580,30 @@ const kt = {
576
580
  selectDateRange: "Select a date range",
577
581
  selectedDateIsNotAvailable: "Selected date is not available"
578
582
  },
579
- "pt-BR": {
580
- apply: "Aplicar",
581
- cancel: "Cancelar",
582
- selectDate: "Selecione uma data"
583
- },
584
583
  "ja-JP": {
585
584
  apply: "適用",
586
585
  cancel: "キャンセル",
587
586
  selectDate: "日付を選択"
587
+ },
588
+ "pt-BR": {
589
+ apply: "Aplicar",
590
+ cancel: "Cancelar",
591
+ selectDate: "Selecione uma data"
588
592
  }
589
- }, St = Oe({
590
- i18n: { messages: kt },
593
+ }, Et = Me({
594
+ i18n: { messages: St },
591
595
  name: "bento-date-range-picker",
592
596
  components: {
593
- BentoButtonActions: rt,
594
- BentoDivider: Ge,
597
+ BentoButtonActions: it,
598
+ BentoDivider: We,
595
599
  BentoTypography: we,
596
- BentoPopover: We,
597
- DateRangePickerCalendar: C,
598
- DropdownInputDefault: He,
599
- ErrorMessage: ot,
600
- FieldLabel: lt
600
+ BentoPopover: qe,
601
+ DateRangePickerCalendar: w,
602
+ DropdownInputDefault: je,
603
+ ErrorMessage: lt,
604
+ FieldLabel: ot
601
605
  },
602
- directives: { BentoClickOutsideDirective: it },
606
+ directives: { BentoClickOutsideDirective: st },
603
607
  props: {
604
608
  /**
605
609
  * Allows user to enter time values in the form
@@ -620,16 +624,16 @@ const kt = {
620
624
  /**
621
625
  * Allows user to set the first day of the week. 0 is sunday, 1 is monday, 6 is saturday
622
626
  */
623
- firstDayOfWeek: C.props.firstDayOfWeek,
627
+ firstDayOfWeek: w.props.firstDayOfWeek,
624
628
  /**
625
629
  * A list of available granularities.
626
630
  * If present, the date picker will display a segmented control to change granularity.
627
631
  */
628
- granularities: C.props.granularities,
632
+ granularities: w.props.granularities,
629
633
  /**
630
634
  * Indicate if a date should be disabled or not
631
635
  */
632
- isDateDisabled: C.props.isDateDisabled,
636
+ isDateDisabled: w.props.isDateDisabled,
633
637
  /**
634
638
  * Text that is displayed as a label above the element.
635
639
  */
@@ -668,23 +672,23 @@ const kt = {
668
672
  /**
669
673
  * Set a maximum number of dates to be selectable by the range.
670
674
  */
671
- maxRange: C.props.maxRange,
675
+ maxRange: w.props.maxRange,
672
676
  /**
673
677
  * Sets a minimum limit for selectable dates - dates before `min` will not be selectable
674
678
  */
675
- min: C.props.min,
679
+ min: w.props.min,
676
680
  /**
677
681
  * Sets a maximum limit for selectable dates - dates after `max` will not be selectable
678
682
  */
679
- max: C.props.max,
683
+ max: w.props.max,
680
684
  /**
681
685
  * Number of months rendered on pane
682
686
  */
683
- numberOfMonths: C.props.numberOfMonths,
687
+ numberOfMonths: w.props.numberOfMonths,
684
688
  /**
685
689
  * Selected date
686
690
  */
687
- value: C.props.value,
691
+ value: w.props.value,
688
692
  /**
689
693
  * Enables the date picker selection to persist until it is explicitly applied.
690
694
  * Displays a set of buttons: Apply and Cancel.
@@ -693,144 +697,144 @@ const kt = {
693
697
  */
694
698
  hasActions: { type: Boolean, default: !1 }
695
699
  },
696
- emits: [te.INPUT],
700
+ emits: [ae.INPUT],
697
701
  setup(t, { emit: e }) {
698
- const { locale: n, t: i } = le(), d = oe(), f = z("bento-date-range-picker-container"), r = z("bento-date-range-picker-label"), u = z("bento-date-range-picker-description"), O = z("bento-date-range-picker-error"), K = z("bento-date-range-picker-date-error"), P = T(
699
- () => t.label || i("dateRangePicker", { name: f })
700
- ), g = E(!1), V = E(null), m = E(!1), { isReadOnly: Y } = Ke(re(t, "readonly"));
701
- pe(
702
+ const { locale: n, t: i } = ue(), u = ie(), m = X("bento-date-range-picker-container"), r = X("bento-date-range-picker-label"), d = X("bento-date-range-picker-description"), O = X("bento-date-range-picker-error"), z = X("bento-date-range-picker-date-error"), P = T(
703
+ () => t.label || i("dateRangePicker", { name: m })
704
+ ), g = E(!1), L = E(null), D = E(!1), { isReadOnly: V } = et(oe(t, "readonly"));
705
+ ve(
702
706
  () => t.disabled,
703
707
  () => {
704
- t.disabled && m.value && (m.value = !1);
708
+ t.disabled && D.value && (D.value = !1);
705
709
  }
706
710
  );
707
- const I = T(() => t.hasActions ? !k.value && g.value : g.value), B = T(() => ({
711
+ const I = T(() => t.hasActions ? !S.value && g.value : g.value), B = T(() => ({
708
712
  "b-date-range-picker__description--error": !!t.errorMessage || I.value
709
- })), { dateDisplayValue: M, textInputDisplayValue: v, formatTextInputDisplayValue: h } = It({
710
- datePickerValue: re(t, "value"),
713
+ })), { dateDisplayValue: M, textInputDisplayValue: v } = kt({
714
+ datePickerValue: oe(t, "value"),
711
715
  isDateIncorrect: g,
712
- quickSelectRanges: re(t, "quickSelectRanges")
713
- }), y = T(
714
- () => `${t.description ? u : ""} ${t.errorMessage ? O : ""} ${g.value ? K : ""}`.trim() || null
715
- ), A = () => {
716
- m.value = !1;
717
- }, X = () => {
718
- m.value = !0, h();
719
- }, _ = E(M.value), N = E(
716
+ quickSelectRanges: oe(t, "quickSelectRanges")
717
+ }), h = T(
718
+ () => `${t.description ? d : ""} ${t.errorMessage ? O : ""} ${g.value ? z : ""}`.trim() || null
719
+ ), y = () => {
720
+ D.value = !1;
721
+ }, Y = () => {
722
+ D.value = !0;
723
+ }, J = E(M.value), _ = E(
720
724
  // textInputDisplayValue is a reactive object
721
- structuredClone(se(v))
722
- ), R = E(t.value), k = E(!0), x = T(
723
- () => t.hasActions ? N.value : v
724
- ), F = T(
725
- () => t.hasActions ? _.value : M.value
725
+ structuredClone(le(v))
726
+ ), k = E(t.value), S = E(!0), A = T(
727
+ () => t.hasActions ? _.value : v
728
+ ), x = T(
729
+ () => t.hasActions ? J.value : M.value
726
730
  );
727
- Me(() => {
728
- t.hasActions || qe(
731
+ Ce(() => {
732
+ t.hasActions || He(
729
733
  'BentoDateRangePicker "hasActions" property',
730
734
  `Set the BentoDateRangePicker "hasActions" property true which will display the "Apply" and "Cancel" buttons.
731
735
  This will be the default behavior in the v2 and "hasActions" will be removed.`,
732
736
  "2.0.0"
733
737
  );
734
738
  });
735
- const o = T(() => [
739
+ const F = T(() => [
736
740
  {
737
741
  title: i("apply"),
738
742
  event: () => {
739
- _.value = M.value, N.value = structuredClone(se(v)), e(te.INPUT, R.value), A(), k.value = !0;
743
+ J.value = M.value, _.value = structuredClone(le(v)), e(ae.INPUT, k.value), y(), S.value = !0;
740
744
  },
741
- disabled: k.value
745
+ disabled: S.value
742
746
  },
743
747
  {
744
748
  title: i("cancel"),
745
- event: A
749
+ event: y
746
750
  }
747
751
  ]);
748
- return pe(R, (c) => {
752
+ return ve(k, (f) => {
749
753
  if (t.hasActions) {
750
- k.value = g.value;
754
+ S.value = g.value;
751
755
  return;
752
756
  }
753
- e(te.INPUT, c);
757
+ e(ae.INPUT, f);
754
758
  }), {
755
759
  // Refs
756
- inputContainerRef: V,
760
+ inputContainerRef: L,
757
761
  // Values,
758
762
  dateDisplayValue: M,
759
- datePickerContainerId: f,
763
+ datePickerContainerId: m,
760
764
  descriptionConditionalClasses: B,
761
- displayedTextInputValue: x,
762
- displayedDateValue: F,
765
+ displayedTextInputValue: A,
766
+ displayedDateValue: x,
763
767
  isDateIncorrect: g,
764
- isDateRangePickerOpen: m,
765
- isReadOnly: Y,
768
+ isDateRangePickerOpen: D,
769
+ isReadOnly: V,
766
770
  labelId: r,
767
- descriptionId: u,
768
- dateErrorId: K,
771
+ descriptionId: d,
772
+ dateErrorId: z,
769
773
  errorId: O,
770
774
  popoverAriaLabel: P,
771
775
  shouldDisplayError: I,
772
- ariaDescribedBy: y,
776
+ ariaDescribedBy: h,
773
777
  textInputDisplayValue: v,
774
- rangePickerButtonActions: o,
775
- BentoButtonActionsLayout: st,
778
+ rangePickerButtonActions: F,
779
+ BentoButtonActionsLayout: ut,
776
780
  // Events
777
- closeDateRangePicker: A,
781
+ closeDateRangePicker: y,
778
782
  clearDateRangePickerValue: async () => {
779
- g.value && (g.value = !1), R.value = null;
783
+ g.value && (g.value = !1), k.value = null;
780
784
  },
781
- openDateRangePicker: X,
782
- onRangeSelectorInput: (c) => {
783
- if (c) {
784
- const w = (G) => Q(G, b.NUMERIC_DATE_YEAR_FIRST, {
785
- locale: d[n.value.substring(0, 2)] || d.enUS
785
+ openDateRangePicker: Y,
786
+ onRangeSelectorInput: (f) => {
787
+ if (f) {
788
+ const b = (G) => Z(G, R.NUMERIC_DATE_YEAR_FIRST, {
789
+ locale: u[n.value.substring(0, 2)] || u.enUS
786
790
  });
787
- v.startDate = w(c.startDate), v.endDate = w(c.endDate), R.value = c;
791
+ v.startDate = b(f.startDate), v.endDate = b(f.endDate), k.value = f;
788
792
  }
789
793
  },
790
794
  onEnterPressedOverInput: () => {
791
- g.value || (m.value = !1);
795
+ g.value || (D.value = !1);
792
796
  },
793
- onDateRangePickerInput: (c) => {
797
+ onDateRangePickerInput: (f) => {
794
798
  g.value = !1;
795
- const w = (G, ne) => G ? Q(G, ne, {
796
- locale: d[n.value.substring(0, 2)] || d.enUS
799
+ const b = (G, se) => G ? Z(G, se, {
800
+ locale: u[n.value.substring(0, 2)] || u.enUS
797
801
  }) : void 0;
798
- v.startDate = w(
799
- c.startDate,
800
- b.NUMERIC_DATE_YEAR_FIRST
801
- ), v.endDate = w(c.endDate, b.NUMERIC_DATE_YEAR_FIRST), v.startTime = w(c.startDate, b.HOUR_MINUTE_SECONDS), v.endTime = w(c.endDate, b.HOUR_MINUTE_SECONDS), R.value = c;
802
+ v.startDate = b(
803
+ f.startDate,
804
+ R.NUMERIC_DATE_YEAR_FIRST
805
+ ), v.endDate = b(f.endDate, R.NUMERIC_DATE_YEAR_FIRST), v.startTime = b(f.startDate, R.HOUR_MINUTE_SECONDS), v.endTime = b(f.endDate, R.HOUR_MINUTE_SECONDS), k.value = f;
802
806
  },
803
- onDateRangePickerError: (c) => {
804
- g.value = !0, v.startDate = c.startDate, v.endDate = c.endDate, R.value = { startDate: null, endDate: null };
807
+ onDateRangePickerError: (f) => {
808
+ g.value = !0, v.startDate = f.startDate, v.endDate = f.endDate, k.value = { startDate: null, endDate: null };
805
809
  },
806
- onDateRangePickerFormDateInputUpdate: (c) => {
807
- g.value = !1, c.startTime && (v.startTime = c.startTime), c.endTime && (v.endTime = c.endTime);
810
+ onDateRangePickerFormDateInputUpdate: (f) => {
811
+ g.value = !1, f.startTime && (v.startTime = f.startTime), f.endTime && (v.endTime = f.endTime);
808
812
  },
809
813
  // Translations
810
814
  t: i
811
815
  };
812
816
  }
813
817
  });
814
- var Et = function() {
818
+ var ht = function() {
815
819
  var e = this, n = e._self._c;
816
820
  return e._self._setupProxy, n("div", { directives: [{ name: "bento-click-outside-directive", rawName: "v-bento-click-outside-directive", value: e.closeDateRangePicker, expression: "closeDateRangePicker" }], staticClass: "b-date-range-picker" }, [e.label ? n("field-label", { attrs: { id: e.labelId, label: e.label, "tooltip-text": e.tooltipText, optional: e.optional, required: e.required } }) : e._e(), n("div", { on: { keydown: function(i) {
817
821
  return !i.type.indexOf("key") && e._k(i.keyCode, "enter", 13, i.key, "Enter") ? null : e.onEnterPressedOverInput.apply(null, arguments);
818
822
  } } }, [n("dropdown-input-default", { ref: "inputContainerRef", attrs: { "always-combobox-is-input": "", ariaControls: e.datePickerContainerId, ariaExpanded: e.isDateRangePickerOpen, "aria-labelledby": e.label ? e.labelId : null, "aria-describedby": e.ariaDescribedBy, disabled: e.disabled, "is-invalid": !!e.errorMessage || e.shouldDisplayError, open: e.isDateRangePickerOpen, "display-value": e.displayedDateValue, readonly: e.isReadOnly }, on: { open: e.openDateRangePicker, clear: e.clearDateRangePickerValue, close: e.closeDateRangePicker } })], 1), e.shouldDisplayError ? n("error-message", { staticClass: "b-date-range-picker__error-message", attrs: { id: e.dateErrorId, "error-message": e.t("provideDateInAFormat") } }) : e._e(), e.errorMessage ? n("error-message", { staticClass: "b-date-range-picker__error-message", attrs: { id: e.errorId, "error-message": e.errorMessage } }) : e._e(), e.description ? n("bento-typography", { staticClass: "b-date-range-picker__description", class: e.descriptionConditionalClasses, attrs: { id: e.descriptionId, el: "span" } }, [e._v(" " + e._s(e.description) + " ")]) : e._e(), e.inputContainerRef ? n("bento-popover", { staticClass: "b-date-range-picker__container", attrs: { id: e.datePickerContainerId, open: e.isDateRangePickerOpen, "target-element": e.inputContainerRef, "disable-focus-trap": !0, "aria-label": e.popoverAriaLabel, position: "bottom-start", "without-space": "", "fit-content": "" } }, [n("date-range-picker-calendar", { attrs: { "allow-time-input": e.allowTimeInput, "quick-select-ranges": e.quickSelectRanges, value: e.value, "first-day-of-week": e.firstDayOfWeek, granularities: e.granularities, "is-date-disabled": e.isDateDisabled, "max-range": e.maxRange, min: e.min, max: e.max, "number-of-months": e.numberOfMonths, "show-end-date-on-open": e.showEndDateOnOpen, "date-form-data": e.displayedTextInputValue }, on: { "custom-range": e.onRangeSelectorInput, input: e.onDateRangePickerInput, error: e.onDateRangePickerError, "form-date": e.onDateRangePickerFormDateInputUpdate }, scopedSlots: e._u([e.hasActions ? { key: "actions", fn: function() {
819
823
  return [n("bento-divider"), n("div", { staticClass: "b-date-range-picker__footer" }, [n("bento-button-actions", { attrs: { actions: e.rangePickerButtonActions, layout: e.BentoButtonActionsLayout.SPACE_BETWEEN } })], 1)];
820
824
  }, proxy: !0 } : null], null, !0) })], 1) : e._e()], 1);
821
- }, ht = [], Ot = /* @__PURE__ */ Ce(
822
- St,
825
+ }, Ot = [], Mt = /* @__PURE__ */ Ae(
823
826
  Et,
824
827
  ht,
828
+ Ot,
825
829
  !1,
826
830
  null,
827
831
  "83a361fe"
828
832
  );
829
- const Zt = Ot.exports;
833
+ const ea = Mt.exports;
830
834
  export {
831
- Zt as B,
832
- C as D,
833
- te as a,
834
- Re as i
835
+ ea as B,
836
+ w as D,
837
+ ae as a,
838
+ Ie as i
835
839
  };
836
- //# sourceMappingURL=date-range-picker.BBC3TGYw.js.map
840
+ //# sourceMappingURL=date-range-picker.P2Q5FNB-.js.map