@adyen/bento-vue3 2.0.1 → 2.1.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 (325) hide show
  1. package/dist/@types/bento-translation-keys.generated.d.ts +908 -0
  2. package/dist/@types/index.d.ts +136 -82
  3. package/dist/accordion.js +1 -1
  4. package/dist/action-bar.js +1 -1
  5. package/dist/ai-tag.js +1 -1
  6. package/dist/alert.js +1 -1
  7. package/dist/anchor-scroller.js +1 -1
  8. package/dist/assets/accordion-item.css +1 -1
  9. package/dist/assets/action-bar.css +1 -1
  10. package/dist/assets/base-modal.css +1 -1
  11. package/dist/assets/button-actions.css +1 -1
  12. package/dist/assets/button.css +1 -1
  13. package/dist/assets/calendar.css +1 -1
  14. package/dist/assets/card.css +1 -1
  15. package/dist/assets/checkbox.css +1 -1
  16. package/dist/assets/chip.css +1 -1
  17. package/dist/assets/currency.css +1 -1
  18. package/dist/assets/data-grid.css +1 -1
  19. package/dist/assets/date-range-picker.css +1 -1
  20. package/dist/assets/dialog-page.css +1 -1
  21. package/dist/assets/draggable.css +1 -1
  22. package/dist/assets/dropdown.css +1 -1
  23. package/dist/assets/file-uploader.css +1 -1
  24. package/dist/assets/filter-bar.css +1 -1
  25. package/dist/assets/header-with-views.css +1 -1
  26. package/dist/assets/input-field.css +1 -1
  27. package/dist/assets/input-time.css +1 -1
  28. package/dist/assets/inspector.css +1 -1
  29. package/dist/assets/modal-fullscreen.css +1 -1
  30. package/dist/assets/navigation-menu-group.css +1 -1
  31. package/dist/assets/pagination.css +1 -1
  32. package/dist/assets/rich-text-editor.css +1 -1
  33. package/dist/assets/search-bar.css +1 -1
  34. package/dist/assets/secondary-nav.css +1 -1
  35. package/dist/assets/selection-card-group.css +1 -1
  36. package/dist/assets/sidepanel.css +1 -1
  37. package/dist/assets/step.css +1 -1
  38. package/dist/assets/structured-list-item.css +1 -1
  39. package/dist/assets/tab.css +1 -1
  40. package/dist/assets/textarea.css +1 -1
  41. package/dist/assets/toggle.css +1 -1
  42. package/dist/assets/typography.css +1 -1
  43. package/dist/avatar.js +1 -1
  44. package/dist/button.js +3 -3
  45. package/dist/card.js +1 -1
  46. package/dist/checkbox.js +2 -2
  47. package/dist/chip.js +1 -1
  48. package/dist/chunks/{accordion-item.BMxeTYDy.js → accordion-item.BbMoC7Rn.js} +6 -6
  49. package/dist/chunks/{accordion-item.BMxeTYDy.js.map → accordion-item.BbMoC7Rn.js.map} +1 -1
  50. package/dist/chunks/{action-bar.CWjLoeOU.js → action-bar.C6XFuiE0.js} +20 -20
  51. package/dist/chunks/{action-bar.CWjLoeOU.js.map → action-bar.C6XFuiE0.js.map} +1 -1
  52. package/dist/chunks/{ai-button.CYaCMWFk.js → ai-button.M2xaszNl.js} +3 -3
  53. package/dist/chunks/{ai-button.CYaCMWFk.js.map → ai-button.M2xaszNl.js.map} +1 -1
  54. package/dist/chunks/{ai-tag.CjrOE5yl.js → ai-tag.BLDTP7fs.js} +4 -4
  55. package/dist/chunks/{ai-tag.CjrOE5yl.js.map → ai-tag.BLDTP7fs.js.map} +1 -1
  56. package/dist/chunks/{alert.C8Pe1-OO.js → alert.BYmn1ewo.js} +4 -4
  57. package/dist/chunks/{alert.C8Pe1-OO.js.map → alert.BYmn1ewo.js.map} +1 -1
  58. package/dist/chunks/{anchor-scroller.C3zkcfPH.js → anchor-scroller.B35-JMuH.js} +6 -6
  59. package/dist/chunks/{anchor-scroller.C3zkcfPH.js.map → anchor-scroller.B35-JMuH.js.map} +1 -1
  60. package/dist/chunks/{avatar.DcXyOCS4.js → avatar.Bes5Qw12.js} +2 -2
  61. package/dist/chunks/{avatar.DcXyOCS4.js.map → avatar.Bes5Qw12.js.map} +1 -1
  62. package/dist/chunks/{base-button.Bi5JR_6k.js → base-button.Dg_u0f2_.js} +3 -3
  63. package/dist/chunks/{base-button.Bi5JR_6k.js.map → base-button.Dg_u0f2_.js.map} +1 -1
  64. package/dist/chunks/{base-modal.Bn4ZXwv6.js → base-modal.CulokESn.js} +7 -7
  65. package/dist/chunks/{base-modal.Bn4ZXwv6.js.map → base-modal.CulokESn.js.map} +1 -1
  66. package/dist/chunks/{button-actions-with-menu.CrbF2BSQ.js → button-actions-with-menu.BsCmJeKU.js} +2 -2
  67. package/dist/chunks/{button-actions-with-menu.CrbF2BSQ.js.map → button-actions-with-menu.BsCmJeKU.js.map} +1 -1
  68. package/dist/chunks/{button-actions.uIjzze43.js → button-actions.DvuGEQxM.js} +9 -9
  69. package/dist/chunks/button-actions.DvuGEQxM.js.map +1 -0
  70. package/dist/chunks/button-actions.types.BptAXjD8.js.map +1 -1
  71. package/dist/chunks/{button.Ciflfide.js → button.DAcwNdtP.js} +3 -3
  72. package/dist/chunks/{button.Ciflfide.js.map → button.DAcwNdtP.js.map} +1 -1
  73. package/dist/chunks/{calendar.Dtba7fcs.js → calendar.EuBZ9HoM.js} +325 -322
  74. package/dist/chunks/calendar.EuBZ9HoM.js.map +1 -0
  75. package/dist/chunks/{card.a8QL14dy.js → card.OErI_R47.js} +8 -8
  76. package/dist/chunks/{card.a8QL14dy.js.map → card.OErI_R47.js.map} +1 -1
  77. package/dist/chunks/{checkbox-group.BCzNXT1-.js → checkbox-group.Deb5pHjj.js} +4 -4
  78. package/dist/chunks/{checkbox-group.BCzNXT1-.js.map → checkbox-group.Deb5pHjj.js.map} +1 -1
  79. package/dist/chunks/{checkbox.0RmIkniU.js → checkbox.YBhv3GCJ.js} +17 -17
  80. package/dist/chunks/{checkbox.0RmIkniU.js.map → checkbox.YBhv3GCJ.js.map} +1 -1
  81. package/dist/chunks/{chip.Bv6IGch0.js → chip.D4OozULC.js} +13 -11
  82. package/dist/chunks/{chip.Bv6IGch0.js.map → chip.D4OozULC.js.map} +1 -1
  83. package/dist/chunks/{code-snippet.BbswO6TU.js → code-snippet.DNDXr7t6.js} +7 -7
  84. package/dist/chunks/{code-snippet.BbswO6TU.js.map → code-snippet.DNDXr7t6.js.map} +1 -1
  85. package/dist/chunks/{controls-group.KarFHKUT.js → controls-group.CC3yZiTT.js} +3 -3
  86. package/dist/chunks/{controls-group.KarFHKUT.js.map → controls-group.CC3yZiTT.js.map} +1 -1
  87. package/dist/chunks/{copy.C92qFRaR.js → copy.YBeE8V9S.js} +4 -4
  88. package/dist/chunks/{copy.C92qFRaR.js.map → copy.YBeE8V9S.js.map} +1 -1
  89. package/dist/chunks/{country.BN34hLpN.js → country.PHJgPzKU.js} +7 -7
  90. package/dist/chunks/{country.BN34hLpN.js.map → country.PHJgPzKU.js.map} +1 -1
  91. package/dist/chunks/country.types.BCOrkmVK.js.map +1 -1
  92. package/dist/chunks/{currency.DS4-apvT.js → currency.Y6BqUzYE.js} +5 -5
  93. package/dist/chunks/{currency.DS4-apvT.js.map → currency.Y6BqUzYE.js.map} +1 -1
  94. package/dist/chunks/{dashboard-section.Bv-SveGN.js → dashboard-section.CjC3fVU6.js} +3 -3
  95. package/dist/chunks/{dashboard-section.Bv-SveGN.js.map → dashboard-section.CjC3fVU6.js.map} +1 -1
  96. package/dist/chunks/{dashed-underline.C3lSC1_R.js → dashed-underline.DAtZOaad.js} +4 -4
  97. package/dist/chunks/{dashed-underline.C3lSC1_R.js.map → dashed-underline.DAtZOaad.js.map} +1 -1
  98. package/dist/chunks/{data-grid-template.DqZmPeze.js → data-grid-template.bPjGSga2.js} +4 -4
  99. package/dist/chunks/{data-grid-template.DqZmPeze.js.map → data-grid-template.bPjGSga2.js.map} +1 -1
  100. package/dist/chunks/{data-grid.vBDlLHOW.js → data-grid.o5MQdWnJ.js} +26 -26
  101. package/dist/chunks/{data-grid.vBDlLHOW.js.map → data-grid.o5MQdWnJ.js.map} +1 -1
  102. package/dist/chunks/{date-picker.Dnr2HuxA.js → date-picker.DyB8XkiY.js} +10 -10
  103. package/dist/chunks/{date-picker.Dnr2HuxA.js.map → date-picker.DyB8XkiY.js.map} +1 -1
  104. package/dist/chunks/date-picker.types.Ckt7zxGy.js.map +1 -1
  105. package/dist/chunks/{date-range-picker.CuBygd3O.js → date-range-picker.BcQUUVcW.js} +567 -525
  106. package/dist/chunks/date-range-picker.BcQUUVcW.js.map +1 -0
  107. package/dist/chunks/date-range-picker.types.Ckt7zxGy.js.map +1 -1
  108. package/dist/chunks/{date.ojGAujAt.js → date.SUOSxkTe.js} +4 -4
  109. package/dist/chunks/{date.ojGAujAt.js.map → date.SUOSxkTe.js.map} +1 -1
  110. package/dist/chunks/{dialog-page.D60pjDsQ.js → dialog-page.CHpFuDd9.js} +4 -4
  111. package/dist/chunks/{dialog-page.D60pjDsQ.js.map → dialog-page.CHpFuDd9.js.map} +1 -1
  112. package/dist/chunks/{draggable-handle.Cvc8gHzx.js → draggable-handle.CKkSJP0K.js} +3 -3
  113. package/dist/chunks/{draggable-handle.Cvc8gHzx.js.map → draggable-handle.CKkSJP0K.js.map} +1 -1
  114. package/dist/chunks/{draggable.BZsgR26I.js → draggable.jzTSFcM7.js} +38 -35
  115. package/dist/chunks/draggable.jzTSFcM7.js.map +1 -0
  116. package/dist/chunks/{drawer.D3j-d3q5.js → drawer.De-jDVb2.js} +2 -2
  117. package/dist/chunks/{drawer.D3j-d3q5.js.map → drawer.De-jDVb2.js.map} +1 -1
  118. package/dist/chunks/{dropdown-tag.Bn5FPeEL.js → dropdown-tag.BvXqllkv.js} +8 -8
  119. package/dist/chunks/{dropdown-tag.Bn5FPeEL.js.map → dropdown-tag.BvXqllkv.js.map} +1 -1
  120. package/dist/chunks/{dropdown.D_jkFrMd.js → dropdown.BoSI-Rre.js} +20 -20
  121. package/dist/chunks/{dropdown.D_jkFrMd.js.map → dropdown.BoSI-Rre.js.map} +1 -1
  122. package/dist/chunks/{empty-state.DpUC-3wv.js → empty-state.BuK12EGe.js} +4 -4
  123. package/dist/chunks/{empty-state.DpUC-3wv.js.map → empty-state.BuK12EGe.js.map} +1 -1
  124. package/dist/chunks/{error-message.Bt0CznQM.js → error-message.DJ5l0EUH.js} +3 -3
  125. package/dist/chunks/{error-message.Bt0CznQM.js.map → error-message.DJ5l0EUH.js.map} +1 -1
  126. package/dist/chunks/es6.yPcTMnSH.js.map +1 -1
  127. package/dist/chunks/{field-label.Cz11fn_F.js → field-label.vrUwhoOg.js} +4 -4
  128. package/dist/chunks/{field-label.Cz11fn_F.js.map → field-label.vrUwhoOg.js.map} +1 -1
  129. package/dist/chunks/{file-uploader.BglImnqw.js → file-uploader.Cv8sm0Jd.js} +12 -12
  130. package/dist/chunks/{file-uploader.BglImnqw.js.map → file-uploader.Cv8sm0Jd.js.map} +1 -1
  131. package/dist/chunks/{filter-bar.DG4GTi8L.js → filter-bar.6ElVHgFA.js} +34 -31
  132. package/dist/chunks/filter-bar.6ElVHgFA.js.map +1 -0
  133. package/dist/chunks/{fixed-scroller.DoOR83iH.js → fixed-scroller.C0nVzRBU.js} +3 -3
  134. package/dist/chunks/{fixed-scroller.DoOR83iH.js.map → fixed-scroller.C0nVzRBU.js.map} +1 -1
  135. package/dist/chunks/{footer-actions.Dl20Q1WX.js → footer-actions.BJif4sIk.js} +4 -4
  136. package/dist/chunks/{footer-actions.Dl20Q1WX.js.map → footer-actions.BJif4sIk.js.map} +1 -1
  137. package/dist/chunks/{form-layout-group.iAwbiI_S.js → form-layout-group.B9Kzae5F.js} +2 -2
  138. package/dist/chunks/{form-layout-group.iAwbiI_S.js.map → form-layout-group.B9Kzae5F.js.map} +1 -1
  139. package/dist/chunks/{form-layout-title.BZFh_nGD.js → form-layout-title.C7f1ByNh.js} +4 -4
  140. package/dist/chunks/{form-layout-title.BZFh_nGD.js.map → form-layout-title.C7f1ByNh.js.map} +1 -1
  141. package/dist/chunks/{header-with-views.WJlXgGI5.js → header-with-views.Dl6bfk_7.js} +17 -17
  142. package/dist/chunks/{header-with-views.WJlXgGI5.js.map → header-with-views.Dl6bfk_7.js.map} +1 -1
  143. package/dist/chunks/{header.Bi3MPZKE.js → header.E-KFjIG7.js} +5 -5
  144. package/dist/chunks/{header.Bi3MPZKE.js.map → header.E-KFjIG7.js.map} +1 -1
  145. package/dist/chunks/index.CGBfMQdv.js +38 -0
  146. package/dist/chunks/index.CGBfMQdv.js.map +1 -0
  147. package/dist/chunks/{info-icon-with-popover.uSr6-jzR.js → info-icon-with-popover.DqnQnwMI.js} +4 -4
  148. package/dist/chunks/{info-icon-with-popover.uSr6-jzR.js.map → info-icon-with-popover.DqnQnwMI.js.map} +1 -1
  149. package/dist/chunks/{info-icon.Zlg6Sgz0.js → info-icon.D_zu5SYT.js} +2 -2
  150. package/dist/chunks/{info-icon.Zlg6Sgz0.js.map → info-icon.D_zu5SYT.js.map} +1 -1
  151. package/dist/chunks/{input-field-password.CJZxudne.js → input-field-password.BXptrVTT.js} +7 -7
  152. package/dist/chunks/{input-field-password.CJZxudne.js.map → input-field-password.BXptrVTT.js.map} +1 -1
  153. package/dist/chunks/{input-field-phone-number.OJ4MG9Gf.js → input-field-phone-number.Crxi8Wm7.js} +4 -4
  154. package/dist/chunks/{input-field-phone-number.OJ4MG9Gf.js.map → input-field-phone-number.Crxi8Wm7.js.map} +1 -1
  155. package/dist/chunks/{input-field.IyNujUZt.js → input-field._keU91LW.js} +24 -24
  156. package/dist/chunks/{input-field.IyNujUZt.js.map → input-field._keU91LW.js.map} +1 -1
  157. package/dist/chunks/input-time.D7UW_ww_.js +193 -0
  158. package/dist/chunks/input-time.D7UW_ww_.js.map +1 -0
  159. package/dist/chunks/{inspector-page.D42_PXHM.js → inspector-page.DNsc0lK1.js} +4 -4
  160. package/dist/chunks/{inspector-page.D42_PXHM.js.map → inspector-page.DNsc0lK1.js.map} +1 -1
  161. package/dist/chunks/{inspector.BBgrupfO.js → inspector.BLAqbhmV.js} +6 -6
  162. package/dist/chunks/{inspector.BBgrupfO.js.map → inspector.BLAqbhmV.js.map} +1 -1
  163. package/dist/chunks/{layout-row.DijjweVX.js → layout-row.X6mPrUu8.js} +2 -2
  164. package/dist/chunks/{layout-row.DijjweVX.js.map → layout-row.X6mPrUu8.js.map} +1 -1
  165. package/dist/chunks/{link.types.BGj7apK3.js → link.types.BZ1u_6CS.js} +2 -2
  166. package/dist/chunks/{link.types.BGj7apK3.js.map → link.types.BZ1u_6CS.js.map} +1 -1
  167. package/dist/chunks/{list-item.CT7dyMQH.js → list-item.RuGQ8Y4T.js} +6 -6
  168. package/dist/chunks/{list-item.CT7dyMQH.js.map → list-item.RuGQ8Y4T.js.map} +1 -1
  169. package/dist/chunks/{listbox-option-tag.CwrFdsY1.js → listbox-option-tag.71rmQvG8.js} +3 -3
  170. package/dist/chunks/{listbox-option-tag.CwrFdsY1.js.map → listbox-option-tag.71rmQvG8.js.map} +1 -1
  171. package/dist/chunks/{modal-fullscreen.I5bjqzfd.js → modal-fullscreen.jXJnaueu.js} +10 -10
  172. package/dist/chunks/modal-fullscreen.jXJnaueu.js.map +1 -0
  173. package/dist/chunks/{modal.vue_vue_type_script_setup_true_lang.CrsIyU7A.js → modal.vue_vue_type_script_setup_true_lang.BwmYlzFm.js} +8 -8
  174. package/dist/chunks/{modal.vue_vue_type_script_setup_true_lang.CrsIyU7A.js.map → modal.vue_vue_type_script_setup_true_lang.BwmYlzFm.js.map} +1 -1
  175. package/dist/chunks/{navigation-menu-group.BJ9ZsXEn.js → navigation-menu-group.BnS0isK8.js} +32 -32
  176. package/dist/chunks/navigation-menu-group.BnS0isK8.js.map +1 -0
  177. package/dist/chunks/{pagination.C5gZxtZY.js → pagination.C-kvJ-XK.js} +9 -8
  178. package/dist/chunks/{pagination.C5gZxtZY.js.map → pagination.C-kvJ-XK.js.map} +1 -1
  179. package/dist/chunks/{payment-method.q2yow5VR.js → payment-method.B69Mu88z.js} +2 -2
  180. package/dist/chunks/{payment-method.q2yow5VR.js.map → payment-method.B69Mu88z.js.map} +1 -1
  181. package/dist/chunks/payment-method.types.BqtH7RM2.js.map +1 -1
  182. package/dist/chunks/popover.types.dhllh3NP.js.map +1 -1
  183. package/dist/chunks/popper-container.Rfj8UdMD.js.map +1 -1
  184. package/dist/chunks/{promo-banner.kE1-WkzI.js → promo-banner.3d1DHWas.js} +4 -4
  185. package/dist/chunks/{promo-banner.kE1-WkzI.js.map → promo-banner.3d1DHWas.js.map} +1 -1
  186. package/dist/chunks/{radio-group.XmRPh03c.js → radio-group.BTI_2U11.js} +5 -5
  187. package/dist/chunks/{radio-group.XmRPh03c.js.map → radio-group.BTI_2U11.js.map} +1 -1
  188. package/dist/chunks/{rich-text-editor.Cv_Vwt-6.js → rich-text-editor.ClUU1zPM.js} +12 -12
  189. package/dist/chunks/{rich-text-editor.Cv_Vwt-6.js.map → rich-text-editor.ClUU1zPM.js.map} +1 -1
  190. package/dist/chunks/{scroll-to-section.CJorrxQT.js → scroll-to-section.BRr4Vwi7.js} +2 -2
  191. package/dist/chunks/{scroll-to-section.CJorrxQT.js.map → scroll-to-section.BRr4Vwi7.js.map} +1 -1
  192. package/dist/chunks/{search-bar.5tObtLfW.js → search-bar.D1Jz7hdd.js} +13 -13
  193. package/dist/chunks/{search-bar.5tObtLfW.js.map → search-bar.D1Jz7hdd.js.map} +1 -1
  194. package/dist/chunks/{secondary-nav.DApIImQ0.js → secondary-nav.D32VFDTi.js} +26 -26
  195. package/dist/chunks/{secondary-nav.DApIImQ0.js.map → secondary-nav.D32VFDTi.js.map} +1 -1
  196. package/dist/chunks/{segmented-control.CEt2dz4n.js → segmented-control.CarI0i3p.js} +3 -3
  197. package/dist/chunks/{segmented-control.CEt2dz4n.js.map → segmented-control.CarI0i3p.js.map} +1 -1
  198. package/dist/chunks/segmented-control.types.BHRLV8KU.js.map +1 -1
  199. package/dist/chunks/{selection-card-group.DHXtJpoB.js → selection-card-group.CQsS8-H9.js} +109 -108
  200. package/dist/chunks/{selection-card-group.DHXtJpoB.js.map → selection-card-group.CQsS8-H9.js.map} +1 -1
  201. package/dist/chunks/{sidepanel._30g8POM.js → sidepanel.CYWPV9dE.js} +13 -13
  202. package/dist/chunks/{sidepanel._30g8POM.js.map → sidepanel.CYWPV9dE.js.map} +1 -1
  203. package/dist/chunks/{status.Nss4P5OU.js → status.BJ48Isyh.js} +2 -2
  204. package/dist/chunks/{status.Nss4P5OU.js.map → status.BJ48Isyh.js.map} +1 -1
  205. package/dist/chunks/status.types.Dx8MDhEH.js.map +1 -1
  206. package/dist/chunks/{step.5_ZukVqJ.js → step.CRVu8HPR.js} +6 -6
  207. package/dist/chunks/step.CRVu8HPR.js.map +1 -0
  208. package/dist/chunks/{structured-list-item.CBzznwcF.js → structured-list-item.C6SAUS9a.js} +11 -10
  209. package/dist/chunks/structured-list-item.C6SAUS9a.js.map +1 -0
  210. package/dist/chunks/{summary-grid.types.BR_EGvRg.js → summary-grid.types.FTWeUNFh.js} +7 -7
  211. package/dist/chunks/{summary-grid.types.BR_EGvRg.js.map → summary-grid.types.FTWeUNFh.js.map} +1 -1
  212. package/dist/chunks/{tab.D_k5AVHk.js → tab.CwXAsp9E.js} +44 -43
  213. package/dist/chunks/tab.CwXAsp9E.js.map +1 -0
  214. package/dist/chunks/{table-of-contents.CJ2yMbAG.js → table-of-contents.Bnyua5hb.js} +4 -4
  215. package/dist/chunks/{table-of-contents.CJ2yMbAG.js.map → table-of-contents.Bnyua5hb.js.map} +1 -1
  216. package/dist/chunks/{tag.BE1j0Oid.js → tag.BYxa556o.js} +3 -3
  217. package/dist/chunks/{tag.BE1j0Oid.js.map → tag.BYxa556o.js.map} +1 -1
  218. package/dist/chunks/{textarea.BYshPd98.js → textarea.D4aMdmDx.js} +8 -8
  219. package/dist/chunks/textarea.D4aMdmDx.js.map +1 -0
  220. package/dist/chunks/{timeline-item.Sy_DSw6p.js → timeline-item.De8HCoYw.js} +11 -11
  221. package/dist/chunks/{timeline-item.Sy_DSw6p.js.map → timeline-item.De8HCoYw.js.map} +1 -1
  222. package/dist/chunks/{title-details.C4ZvxPMu.js → title-details.8cyCeaLf.js} +5 -5
  223. package/dist/chunks/{title-details.C4ZvxPMu.js.map → title-details.8cyCeaLf.js.map} +1 -1
  224. package/dist/chunks/{toast.u5Y_CGe_.js → toast.BI2PD8Oj.js} +5 -5
  225. package/dist/chunks/{toast.u5Y_CGe_.js.map → toast.BI2PD8Oj.js.map} +1 -1
  226. package/dist/chunks/{toggle.BW8ww0Ih.js → toggle.BbCqV953.js} +4 -4
  227. package/dist/chunks/{toggle.BW8ww0Ih.js.map → toggle.BbCqV953.js.map} +1 -1
  228. package/dist/chunks/{tooltip.TFOGHOO0.js → tooltip.0QqJo2sa.js} +2 -2
  229. package/dist/chunks/{tooltip.TFOGHOO0.js.map → tooltip.0QqJo2sa.js.map} +1 -1
  230. package/dist/chunks/{tutorial.vue_vue_type_script_setup_true_lang.BIP-heAH.js → tutorial.vue_vue_type_script_setup_true_lang.Dn4toWHY.js} +4 -4
  231. package/dist/chunks/{tutorial.vue_vue_type_script_setup_true_lang.BIP-heAH.js.map → tutorial.vue_vue_type_script_setup_true_lang.Dn4toWHY.js.map} +1 -1
  232. package/dist/chunks/{typography.wIM07Hbl.js → typography.B6elnWpr.js} +35 -35
  233. package/dist/chunks/{typography.wIM07Hbl.js.map → typography.B6elnWpr.js.map} +1 -1
  234. package/dist/chunks/{use-bento-toast-controller.BAoPbtq7.js → use-bento-toast-controller.CkpBtweL.js} +2 -2
  235. package/dist/chunks/{use-bento-toast-controller.BAoPbtq7.js.map → use-bento-toast-controller.CkpBtweL.js.map} +1 -1
  236. package/dist/chunks/{use-country-items.CYnYzs7x.js → use-country-items.CAYJt6XS.js} +3 -3
  237. package/dist/chunks/{use-country-items.CYnYzs7x.js.map → use-country-items.CAYJt6XS.js.map} +1 -1
  238. package/dist/chunks/{use-date-input-formatter._ik1DYYV.js → use-date-input-formatter.BIVkaB1k.js} +2 -2
  239. package/dist/chunks/{use-date-input-formatter._ik1DYYV.js.map → use-date-input-formatter.BIVkaB1k.js.map} +1 -1
  240. package/dist/chunks/{use-dynamic-date-fns-locale.BMO9rsEh.js → use-dynamic-date-fns-locale._EtEeU3i.js} +2 -2
  241. package/dist/chunks/{use-dynamic-date-fns-locale.BMO9rsEh.js.map → use-dynamic-date-fns-locale._EtEeU3i.js.map} +1 -1
  242. package/dist/code-snippet.js +1 -1
  243. package/dist/country.js +1 -1
  244. package/dist/currency.js +1 -1
  245. package/dist/dashboard-template.js +1 -1
  246. package/dist/dashed-underline.js +1 -1
  247. package/dist/data-grid-template.js +1 -1
  248. package/dist/data-grid.js +1 -1
  249. package/dist/date-picker.js +2 -2
  250. package/dist/date-range-picker.js +2 -2
  251. package/dist/date-time-picker.js +6 -6
  252. package/dist/date.js +1 -1
  253. package/dist/draggable.js +2 -2
  254. package/dist/drawer.js +1 -1
  255. package/dist/dropdown.js +2 -2
  256. package/dist/empty-state.js +1 -1
  257. package/dist/file-uploader.js +1 -1
  258. package/dist/filter-bar.js +1 -1
  259. package/dist/form-layout.js +2 -2
  260. package/dist/header-with-views.js +1 -1
  261. package/dist/header.js +1 -1
  262. package/dist/index.js +382 -353
  263. package/dist/index.js.map +1 -1
  264. package/dist/info-icon.js +1 -1
  265. package/dist/input-field-password.js +1 -1
  266. package/dist/input-field-phone-number.js +1 -1
  267. package/dist/input-field.js +1 -1
  268. package/dist/input-time.js +1 -1
  269. package/dist/inspector.js +2 -2
  270. package/dist/internal.js +14 -14
  271. package/dist/layout.js +1 -1
  272. package/dist/link.js +1 -1
  273. package/dist/list.js +1 -1
  274. package/dist/menu.js +1 -1
  275. package/dist/modal-fullscreen.js +1 -1
  276. package/dist/modal.js +2 -2
  277. package/dist/navigation-menu.js +1 -1
  278. package/dist/pagination.js +1 -1
  279. package/dist/payment-method.js +1 -1
  280. package/dist/popover.js +1 -1
  281. package/dist/progress-bar.js +4 -4
  282. package/dist/promo-banner.js +1 -1
  283. package/dist/radio-group.js +1 -1
  284. package/dist/rich-text-editor.js +1 -1
  285. package/dist/search-bar.js +2 -2
  286. package/dist/secondary-nav.js +1 -1
  287. package/dist/segmented-control.js +1 -1
  288. package/dist/selection-card.js +1 -1
  289. package/dist/sidepanel.js +1 -1
  290. package/dist/status.js +1 -1
  291. package/dist/stepper.js +1 -1
  292. package/dist/structured-list.js +1 -1
  293. package/dist/styles/bento-dark.css +3 -0
  294. package/dist/styles/bento-light.css +3 -0
  295. package/dist/styles/bento.css +3 -0
  296. package/dist/styles/legacy.css +3 -0
  297. package/dist/styles/styleguide.css +3 -0
  298. package/dist/styles/utility.css +9 -0
  299. package/dist/summary-grid.js +1 -1
  300. package/dist/table-of-contents.js +1 -1
  301. package/dist/tabs.js +1 -1
  302. package/dist/tag.js +1 -1
  303. package/dist/textarea.js +1 -1
  304. package/dist/timeline.js +1 -1
  305. package/dist/toast.js +1 -1
  306. package/dist/toggle.js +1 -1
  307. package/dist/tutorial.js +1 -1
  308. package/dist/typography.js +1 -1
  309. package/dist/web-types.json +1 -1
  310. package/package.json +9 -5
  311. package/dist/chunks/button-actions.uIjzze43.js.map +0 -1
  312. package/dist/chunks/calendar.Dtba7fcs.js.map +0 -1
  313. package/dist/chunks/date-range-picker.CuBygd3O.js.map +0 -1
  314. package/dist/chunks/draggable.BZsgR26I.js.map +0 -1
  315. package/dist/chunks/filter-bar.DG4GTi8L.js.map +0 -1
  316. package/dist/chunks/index.B875RXHM.js +0 -15
  317. package/dist/chunks/index.B875RXHM.js.map +0 -1
  318. package/dist/chunks/input-time.BJ6YqkFi.js +0 -122
  319. package/dist/chunks/input-time.BJ6YqkFi.js.map +0 -1
  320. package/dist/chunks/modal-fullscreen.I5bjqzfd.js.map +0 -1
  321. package/dist/chunks/navigation-menu-group.BJ9ZsXEn.js.map +0 -1
  322. package/dist/chunks/step.5_ZukVqJ.js.map +0 -1
  323. package/dist/chunks/structured-list-item.CBzznwcF.js.map +0 -1
  324. package/dist/chunks/tab.D_k5AVHk.js.map +0 -1
  325. package/dist/chunks/textarea.BYshPd98.js.map +0 -1
@@ -1,29 +1,29 @@
1
- import { defineComponent as se, provide as Ce, computed as _, openBlock as N, createBlock as W, unref as y, resolveComponent as Dt, createElementBlock as Y, withKeys as Z, normalizeClass as xe, createElementVNode as T, createVNode as B, withCtx as z, toDisplayString as ge, ref as V, watch as ne, nextTick as vt, toRef as x, withDirectives as ze, mergeProps as Ve, toHandlers as Qe, createCommentVNode as ee, createTextVNode as Ge, Fragment as Q, renderList as J, reactive as Je, resolveDynamicComponent as yt } from "vue";
2
- import { B as Ee } from "./button.Ciflfide.js";
3
- import { B as ke } from "./typography.wIM07Hbl.js";
4
- import { u as Se } from "./index.B875RXHM.js";
1
+ import { defineComponent as le, provide as Ce, computed as O, openBlock as S, createBlock as j, unref as h, resolveComponent as Dt, createElementBlock as w, withKeys as ee, normalizeClass as xe, createElementVNode as I, createVNode as B, withCtx as V, toDisplayString as ge, ref as Q, watch as ae, nextTick as vt, toRef as x, withDirectives as qe, mergeProps as Ve, toHandlers as Qe, createCommentVNode as te, createTextVNode as Ge, Fragment as J, renderList as X, reactive as Je, resolveDynamicComponent as yt } from "vue";
2
+ import { B as Ee } from "./button.DAcwNdtP.js";
3
+ import { B as ke } from "./typography.B6elnWpr.js";
4
+ import { u as Se } from "./index.CGBfMQdv.js";
5
5
  import { g as Xe } from "./generate-uid.DBWe4g6T.js";
6
6
  import { a as Ze } from "./keyboard-navigation.DWmhelVv.js";
7
7
  import { g as ht } from "./index.DCpihRYV.js";
8
- import { t as O, c as oe, n as _e, j as Ue, w as gt, g as et } from "./en-US.C412g-7U.js";
8
+ import { t as T, c as re, n as _e, j as Ue, w as gt, g as et } from "./en-US.C412g-7U.js";
9
9
  import { d as We, a as Te, b as Mt } from "./differenceInMonths.CPDkGea3.js";
10
10
  import { s as Me } from "./startOfWeek.CzdYFzXX.js";
11
11
  import { _ as tt, a as nt } from "./chevron-left.COoYL-X9.js";
12
- import { h as pt, i as Nt, B as Et } from "./dropdown.D_jkFrMd.js";
12
+ import { h as pt, i as Nt, B as Et } from "./dropdown.BoSI-Rre.js";
13
13
  import { _ as de } from "./_plugin-vue_export-helper.CHgC5LLL.js";
14
- import { B as bt, a as St } from "./date.ojGAujAt.js";
14
+ import { B as bt, a as St } from "./date.SUOSxkTe.js";
15
15
  import "../assets/calendar.css";
16
- var ae = /* @__PURE__ */ ((e) => (e[e.MONDAY = 1] = "MONDAY", e[e.SATURDAY = 6] = "SATURDAY", e[e.SUNDAY = 0] = "SUNDAY", e))(ae || {}), te = /* @__PURE__ */ ((e) => (e.FIRST = "first", e.LAST = "last", e.MIDDLE = "middle", e.UNIQUE = "unique", e))(te || {}), j = /* @__PURE__ */ ((e) => (e.INPUT = "input", e.START_DATE_SELECTED = "start-date-selected", e.END_DATE_SELECTED = "end-date-selected", e))(j || {}), Re = /* @__PURE__ */ ((e) => (e.DAY = "day", e.MONTH = "month", e))(Re || {});
17
- function re(e, t, n) {
18
- const o = O(e, n?.in);
19
- return isNaN(t) ? oe(n?.in || e, NaN) : (t && o.setDate(o.getDate() + t), o);
16
+ var oe = /* @__PURE__ */ ((e) => (e[e.MONDAY = 1] = "MONDAY", e[e.SATURDAY = 6] = "SATURDAY", e[e.SUNDAY = 0] = "SUNDAY", e))(oe || {}), ne = /* @__PURE__ */ ((e) => (e.FIRST = "first", e.LAST = "last", e.MIDDLE = "middle", e.UNIQUE = "unique", e))(ne || {}), z = /* @__PURE__ */ ((e) => (e.INPUT = "input", e.START_DATE_SELECTED = "start-date-selected", e.END_DATE_SELECTED = "end-date-selected", e))(z || {}), Re = /* @__PURE__ */ ((e) => (e.DAY = "day", e.MONTH = "month", e))(Re || {});
17
+ function se(e, t, n) {
18
+ const o = T(e, n?.in);
19
+ return isNaN(t) ? re(n?.in || e, NaN) : (t && o.setDate(o.getDate() + t), o);
20
20
  }
21
21
  function H(e, t, n) {
22
- const o = O(e, n?.in);
23
- if (isNaN(t)) return oe(n?.in || e, NaN);
22
+ const o = T(e, n?.in);
23
+ if (isNaN(t)) return re(n?.in || e, NaN);
24
24
  if (!t)
25
25
  return o;
26
- const a = o.getDate(), i = oe(n?.in || e, o.getTime());
26
+ const a = o.getDate(), i = re(n?.in || e, o.getTime());
27
27
  i.setMonth(o.getMonth() + t + 1, 0);
28
28
  const s = i.getDate();
29
29
  return a >= s ? i : (o.setFullYear(
@@ -32,8 +32,8 @@ function H(e, t, n) {
32
32
  a
33
33
  ), o);
34
34
  }
35
- function X(e, t) {
36
- const n = O(e, t?.in);
35
+ function Z(e, t) {
36
+ const n = T(e, t?.in);
37
37
  return n.setHours(0, 0, 0, 0), n;
38
38
  }
39
39
  function $e(e, t, n) {
@@ -41,14 +41,14 @@ function $e(e, t, n) {
41
41
  n?.in,
42
42
  e,
43
43
  t
44
- ), i = X(o), s = X(a), u = +i - Ue(i), l = +s - Ue(s);
44
+ ), i = Z(o), s = Z(a), u = +i - Ue(i), l = +s - Ue(s);
45
45
  return Math.round((u - l) / gt);
46
46
  }
47
47
  function at(e, t, n) {
48
48
  return H(e, t * 3, n);
49
49
  }
50
50
  function ot(e, t, n) {
51
- return re(e, t * 7, n);
51
+ return se(e, t * 7, n);
52
52
  }
53
53
  function Be(e, t, n) {
54
54
  return H(e, t * 12, n);
@@ -59,10 +59,10 @@ function ye(e, t, n) {
59
59
  e,
60
60
  t
61
61
  );
62
- return +X(o) == +X(a);
62
+ return +Z(o) == +Z(a);
63
63
  }
64
64
  function je(e, t) {
65
- const n = O(e, t?.in);
65
+ const n = T(e, t?.in);
66
66
  return Math.trunc(n.getMonth() / 3) + 1;
67
67
  }
68
68
  function _t(e, t, n) {
@@ -74,38 +74,38 @@ function _t(e, t, n) {
74
74
  return i * 4 + s;
75
75
  }
76
76
  function Ie(e, t) {
77
- const n = O(e, t?.in), o = n.getMonth(), a = o - o % 3;
77
+ const n = T(e, t?.in), o = n.getMonth(), a = o - o % 3;
78
78
  return n.setMonth(a, 1), n.setHours(0, 0, 0, 0), n;
79
79
  }
80
80
  function pe(e, t) {
81
- const n = O(e, t?.in);
81
+ const n = T(e, t?.in);
82
82
  return n.setDate(1), n.setHours(0, 0, 0, 0), n;
83
83
  }
84
- function He(e, t) {
85
- const n = O(e, t?.in);
84
+ function ze(e, t) {
85
+ const n = T(e, t?.in);
86
86
  return n.setFullYear(n.getFullYear(), 0, 1), n.setHours(0, 0, 0, 0), n;
87
87
  }
88
88
  function Ne(e, t) {
89
- const n = et(), o = t?.weekStartsOn ?? t?.locale?.options?.weekStartsOn ?? n.weekStartsOn ?? n.locale?.options?.weekStartsOn ?? 0, a = O(e, t?.in), i = a.getDay(), s = (i < o ? -7 : 0) + 6 - (i - o);
89
+ const n = et(), o = t?.weekStartsOn ?? t?.locale?.options?.weekStartsOn ?? n.weekStartsOn ?? n.locale?.options?.weekStartsOn ?? 0, a = T(e, t?.in), i = a.getDay(), s = (i < o ? -7 : 0) + 6 - (i - o);
90
90
  return a.setDate(a.getDate() + s), a.setHours(23, 59, 59, 999), a;
91
91
  }
92
92
  function Ye(e, t) {
93
- const n = O(e, t?.in), o = n.getMonth(), a = o - o % 3 + 3;
93
+ const n = T(e, t?.in), o = n.getMonth(), a = o - o % 3 + 3;
94
94
  return n.setMonth(a, 0), n.setHours(23, 59, 59, 999), n;
95
95
  }
96
96
  function Ot(e, t) {
97
- const n = O(e, t?.in), o = n.getFullYear(), a = n.getMonth(), i = oe(n, 0);
97
+ const n = T(e, t?.in), o = n.getFullYear(), a = n.getMonth(), i = re(n, 0);
98
98
  return i.setFullYear(o, a + 1, 0), i.setHours(0, 0, 0, 0), i.getDate();
99
99
  }
100
100
  function Tt(e, t) {
101
- return +O(e) > +O(t);
101
+ return +T(e) > +T(t);
102
102
  }
103
103
  function It(e, t) {
104
- return +O(e) < +O(t);
104
+ return +T(e) < +T(t);
105
105
  }
106
106
  function Yt(e, t, n) {
107
- const o = et(), a = n?.weekStartsOn ?? n?.locale?.options?.weekStartsOn ?? o.weekStartsOn ?? o.locale?.options?.weekStartsOn ?? 0, i = O(e, n?.in), s = i.getDay(), l = (t % 7 + 7) % 7, d = 7 - a, f = t < 0 || t > 6 ? t - (s + d) % 7 : (l + d) % 7 - (s + d) % 7;
108
- return re(i, f, n);
107
+ const o = et(), a = n?.weekStartsOn ?? n?.locale?.options?.weekStartsOn ?? o.weekStartsOn ?? o.locale?.options?.weekStartsOn ?? 0, i = T(e, n?.in), s = i.getDay(), l = (t % 7 + 7) % 7, d = 7 - a, f = t < 0 || t > 6 ? t - (s + d) % 7 : (l + d) % 7 - (s + d) % 7;
108
+ return se(i, f, n);
109
109
  }
110
110
  function he(e, t, n) {
111
111
  const [o, a] = _e(
@@ -116,24 +116,24 @@ function he(e, t, n) {
116
116
  return o.getFullYear() === a.getFullYear() && o.getMonth() === a.getMonth();
117
117
  }
118
118
  function be(e, t, n) {
119
- const o = +O(e, n?.in), [a, i] = [
120
- +O(t.start, n?.in),
121
- +O(t.end, n?.in)
119
+ const o = +T(e, n?.in), [a, i] = [
120
+ +T(t.start, n?.in),
121
+ +T(t.end, n?.in)
122
122
  ].sort((s, u) => s - u);
123
123
  return o >= a && o <= i;
124
124
  }
125
125
  function Le(e, t, n) {
126
- return re(e, -t, n);
126
+ return se(e, -t, n);
127
127
  }
128
128
  function wt(e, t, n) {
129
- const o = O(e, n?.in), a = o.getFullYear(), i = o.getDate(), s = oe(e, 0);
129
+ const o = T(e, n?.in), a = o.getFullYear(), i = o.getDate(), s = re(e, 0);
130
130
  s.setFullYear(a, t, 15), s.setHours(0, 0, 0, 0);
131
131
  const u = Ot(s);
132
132
  return o.setMonth(t, Math.min(i, u)), o;
133
133
  }
134
134
  function kt(e, t, n) {
135
- let o = O(e, n?.in);
136
- return isNaN(+o) ? oe(e, NaN) : (t.year != null && o.setFullYear(t.year), t.month != null && (o = wt(o, t.month)), t.date != null && o.setDate(t.date), t.hours != null && o.setHours(t.hours), t.minutes != null && o.setMinutes(t.minutes), t.seconds != null && o.setSeconds(t.seconds), t.milliseconds != null && o.setMilliseconds(t.milliseconds), o);
135
+ let o = T(e, n?.in);
136
+ return isNaN(+o) ? re(e, NaN) : (t.year != null && o.setFullYear(t.year), t.month != null && (o = wt(o, t.month)), t.date != null && o.setDate(t.date), t.hours != null && o.setHours(t.hours), t.minutes != null && o.setMinutes(t.minutes), t.seconds != null && o.setSeconds(t.seconds), t.milliseconds != null && o.setMilliseconds(t.milliseconds), o);
137
137
  }
138
138
  function ue(e, t, n) {
139
139
  return H(e, -t, n);
@@ -162,7 +162,7 @@ const st = {
162
162
  }, Lt = {
163
163
  i18n: { messages: st },
164
164
  name: "calendar-year-selector"
165
- }, lt = /* @__PURE__ */ se({
165
+ }, lt = /* @__PURE__ */ le({
166
166
  ...Lt,
167
167
  props: {
168
168
  currentYear: {},
@@ -174,21 +174,21 @@ const st = {
174
174
  setup(e, { emit: t }) {
175
175
  const o = e, a = t, { t: i } = Se({ messages: st });
176
176
  Ce(pt, !0), Ce(Nt, !0);
177
- const s = _(() => {
177
+ const s = O(() => {
178
178
  const l = (/* @__PURE__ */ new Date()).getFullYear();
179
179
  let d = o.yearRange?.minYear ?? l - 100, f = o.yearRange?.maxYear ?? l + 100;
180
180
  o.min && o.min.getFullYear() > d && (d = o.min.getFullYear()), o.max && o.max.getFullYear() < f && (f = o.max.getFullYear());
181
181
  const c = Math.max(0, f - d + 1);
182
- return new Array(c).fill(0).map((g, E) => {
183
- const D = d + E;
184
- return { label: String(D), value: D };
182
+ return new Array(c).fill(0).map((D, E) => {
183
+ const b = d + E;
184
+ return { label: String(b), value: b };
185
185
  });
186
186
  }), u = (l) => {
187
187
  a("update:year", l);
188
188
  };
189
- return (l, d) => (N(), W(Et, {
189
+ return (l, d) => (S(), j(Et, {
190
190
  items: s.value,
191
- "aria-label": y(i)("selectYear"),
191
+ "aria-label": h(i)("selectYear"),
192
192
  "model-value": l.currentYear,
193
193
  "onUpdate:modelValue": u
194
194
  }, null, 8, ["items", "aria-label", "model-value"]));
@@ -250,20 +250,20 @@ const kn = (e) => {
250
250
  return /* @__PURE__ */ new Date(NaN);
251
251
  const [t, n] = e.split("-").map(Number);
252
252
  return new Date(t, n - 1, 1);
253
- }, Ft = se({
253
+ }, Ft = le({
254
254
  name: "calendar-month-day",
255
255
  components: { BentoTypography: ke },
256
256
  inheritAttrs: !0,
257
257
  props: At,
258
258
  emits: [ie.CLICK, ie.MOUSE_OVER],
259
259
  setup(e, { emit: t }) {
260
- const { locale: n } = Se(void 0), o = _(() => {
260
+ const { locale: n } = Se(void 0, !0), o = O(() => {
261
261
  const l = /* @__PURE__ */ new Date();
262
262
  return e.day.getDate() === l.getDate() && e.day.getMonth() === l.getMonth() && e.day.getFullYear() === l.getFullYear();
263
- }), a = _(() => Ae(n.value, { day: "numeric" }).formatToParts(e.day).find((c) => c.type === "day")?.value ?? ""), i = _(() => Number.isNaN(e.day.getTime()) ? void 0 : e.day.toISOString());
263
+ }), a = O(() => Ae(n.value, { day: "numeric" }).formatToParts(e.day).find((c) => c.type === "day")?.value ?? ""), i = O(() => Number.isNaN(e.day.getTime()) ? void 0 : e.day.toISOString());
264
264
  return {
265
265
  // Values
266
- conditionalClasses: _(() => ({
266
+ conditionalClasses: O(() => ({
267
267
  // Variants
268
268
  [`b-calendar-month-day--${G.BEGINNING}`]: e.variant === A.BEGINNING,
269
269
  [`b-calendar-month-day--${G.MIDDLE}`]: e.variant === A.MIDDLE,
@@ -291,7 +291,7 @@ const kn = (e) => {
291
291
  }), xt = ["tabindex", "aria-selected", "aria-disabled", "aria-current", "data-date"], Bt = { class: "b-calendar-month-day__wrapper" }, Pt = ["datetime"];
292
292
  function Ct(e, t, n, o, a, i) {
293
293
  const s = Dt("bento-typography");
294
- return N(), Y("td", {
294
+ return S(), w("td", {
295
295
  class: xe(["b-calendar-month-day", e.conditionalClasses]),
296
296
  tabindex: e.selected ? "0" : "-1",
297
297
  "aria-selected": e.selected ? e.selected : void 0,
@@ -300,17 +300,17 @@ function Ct(e, t, n, o, a, i) {
300
300
  "data-date": e.day.toDateString(),
301
301
  onClick: t[0] || (t[0] = (u) => e.onClick(u, e.day)),
302
302
  onMouseover: t[1] || (t[1] = (u) => e.$emit(e.CalendarMonthDayEvent.MOUSE_OVER)),
303
- onKeydown: t[2] || (t[2] = Z((u) => e.onClick(u, e.day), ["space", "enter"]))
303
+ onKeydown: t[2] || (t[2] = ee((u) => e.onClick(u, e.day), ["space", "enter"]))
304
304
  }, [
305
- T("div", Bt, [
305
+ I("div", Bt, [
306
306
  B(s, {
307
307
  class: "b-calendar-month-day__label",
308
308
  el: "span",
309
309
  variant: "body",
310
310
  strong: ""
311
311
  }, {
312
- default: z(() => [
313
- T("time", { datetime: e.dateTime }, ge(e.formattedDate), 9, Pt)
312
+ default: V(() => [
313
+ I("time", { datetime: e.dateTime }, ge(e.formattedDate), 9, Pt)
314
314
  ]),
315
315
  _: 1
316
316
  })
@@ -318,42 +318,42 @@ function Ct(e, t, n, o, a, i) {
318
318
  ], 42, xt);
319
319
  }
320
320
  const Gt = /* @__PURE__ */ de(Ft, [["render", Ct], ["__scopeId", "data-v-e6fe861a"]]), it = ({ currentSelectedDate: e, month: t, isDateDisabled: n, firstDayOfWeek: o }, a) => {
321
- const i = V(new Date(t.value));
322
- ne(
321
+ const i = Q(new Date(t.value));
322
+ ae(
323
323
  t,
324
324
  () => {
325
325
  i.value = t.value;
326
326
  },
327
327
  { immediate: !0 }
328
328
  );
329
- const s = V(new Date(e.value));
330
- ne(e, () => {
329
+ const s = Q(new Date(e.value));
330
+ ae(e, () => {
331
331
  s.value = new Date(e.value);
332
332
  });
333
- const u = ht(), l = V(s.value);
334
- ne(u, (r) => {
333
+ const u = ht(), l = Q(s.value);
334
+ ae(u, (r) => {
335
335
  const M = r.getAttribute("data-date");
336
336
  l.value = M ? new Date(M) : s.value;
337
337
  });
338
- const d = V({}), f = (r) => (M) => {
338
+ const d = Q({}), f = (r) => (M) => {
339
339
  d.value[r.toDateString()] = M;
340
340
  }, c = () => {
341
341
  d.value = {};
342
- }, g = (r = 1) => {
342
+ }, D = (r = 1) => {
343
343
  i.value = H(i.value, r), a("nextMonth", r), c();
344
344
  }, E = (r = 1) => {
345
345
  i.value = ue(i.value, r), a("previousMonth", r), c();
346
- }, D = (r, M) => {
347
- const S = !!d.value[r?.toDateString()];
348
- return !r || !S ? null : M ? d.value[r.toDateString()].$el : (d.value[r.toDateString()].$el.focus(), null);
346
+ }, b = (r, M) => {
347
+ const _ = !!d.value[r?.toDateString()];
348
+ return !r || !_ ? null : M ? d.value[r.toDateString()].$el : (d.value[r.toDateString()].$el.focus(), null);
349
349
  }, p = (r) => {
350
350
  r && (r.preventDefault(), r.stopImmediatePropagation(), r.stopPropagation());
351
- }, m = ({ nextDate: r, isIncreasingDays: M, amountOfMonths: S, isCalendarButtonsNav: q }) => {
351
+ }, m = ({ nextDate: r, isIncreasingDays: M, amountOfMonths: _, isCalendarButtonsNav: q }) => {
352
352
  if (!q && n && n(r))
353
353
  return;
354
- r.getMonth() === s.value.getMonth() && r.getFullYear() === s.value.getFullYear() ? (s.value = r, D(r)) : (M ? g(S) : E(S), vt(() => {
354
+ r.getMonth() === s.value.getMonth() && r.getFullYear() === s.value.getFullYear() ? (s.value = r, b(r)) : (M ? D(_) : E(_), vt(() => {
355
355
  const Oe = r.getMonth() === i.value.getMonth() && r.getFullYear() === i.value.getFullYear();
356
- n && n(r) || !Oe || q || (s.value = r, D(r));
356
+ n && n(r) || !Oe || q || (s.value = r, b(r));
357
357
  }));
358
358
  };
359
359
  return {
@@ -363,18 +363,18 @@ const Gt = /* @__PURE__ */ de(Ft, [["render", Ct], ["__scopeId", "data-v-e6fe861
363
363
  /**
364
364
  * Month navigation
365
365
  */
366
- showNextMonth: g,
366
+ showNextMonth: D,
367
367
  showPreviousMonth: E,
368
368
  /**
369
369
  * Focus method
370
370
  */
371
- focusOnDate: D,
371
+ focusOnDate: b,
372
372
  /**
373
373
  * Day navigation
374
374
  */
375
375
  // ArrowRight
376
376
  moveToNextDay: (r) => {
377
- p(r), m({ nextDate: re(l.value, 1), isIncreasingDays: !0 });
377
+ p(r), m({ nextDate: se(l.value, 1), isIncreasingDays: !0 });
378
378
  },
379
379
  // ArrowLeft
380
380
  moveToPreviousDay: (r) => {
@@ -386,7 +386,7 @@ const Gt = /* @__PURE__ */ de(Ft, [["render", Ct], ["__scopeId", "data-v-e6fe861
386
386
  },
387
387
  // ArrowDown
388
388
  moveToNextWeek: (r) => {
389
- p(r), m({ nextDate: re(l.value, 7), isIncreasingDays: !0 });
389
+ p(r), m({ nextDate: se(l.value, 7), isIncreasingDays: !0 });
390
390
  },
391
391
  // Home
392
392
  moveToFirstDayOfWeek: (r) => {
@@ -397,9 +397,9 @@ const Gt = /* @__PURE__ */ de(Ft, [["render", Ct], ["__scopeId", "data-v-e6fe861
397
397
  },
398
398
  moveToFirstMonthOfYear: (r) => {
399
399
  p(r);
400
- const M = We(s.value, He(s.value));
400
+ const M = We(s.value, ze(s.value));
401
401
  m({
402
- nextDate: He(s.value),
402
+ nextDate: ze(s.value),
403
403
  isIncreasingDays: !1,
404
404
  amountOfMonths: M
405
405
  });
@@ -413,35 +413,35 @@ const Gt = /* @__PURE__ */ de(Ft, [["render", Ct], ["__scopeId", "data-v-e6fe861
413
413
  },
414
414
  moveToLastMonthOfYear: (r) => {
415
415
  p(r);
416
- const M = kt(s.value, { month: 11, date: 1 }), S = We(M, s.value);
416
+ const M = kt(s.value, { month: 11, date: 1 }), _ = We(M, s.value);
417
417
  m({
418
418
  nextDate: M,
419
419
  isIncreasingDays: !0,
420
- amountOfMonths: S
420
+ amountOfMonths: _
421
421
  });
422
422
  },
423
423
  // PageUp
424
- moveToPreviousMonth: (r, M = !1, S = 1) => {
424
+ moveToPreviousMonth: (r, M = !1, _ = 1) => {
425
425
  p(r), m({
426
- nextDate: ue(l.value, S),
426
+ nextDate: ue(l.value, _),
427
427
  isIncreasingDays: !1,
428
- amountOfMonths: S,
428
+ amountOfMonths: _,
429
429
  isCalendarButtonsNav: M
430
430
  });
431
431
  },
432
432
  // Shift+PageUp
433
- moveToPreviousYear: (r, M = !1, S = 1) => {
433
+ moveToPreviousYear: (r, M = !1, _ = 1) => {
434
434
  p(r), m({
435
- nextDate: rt(l.value, S),
435
+ nextDate: rt(l.value, _),
436
436
  isIncreasingDays: !1,
437
- amountOfMonths: S * 12,
437
+ amountOfMonths: _ * 12,
438
438
  isCalendarButtonsNav: M
439
439
  });
440
440
  },
441
441
  // PageDown
442
- moveToNextMonth: (r, M = !1, S = 1) => {
442
+ moveToNextMonth: (r, M = !1, _ = 1) => {
443
443
  p(r);
444
- const q = S;
444
+ const q = _;
445
445
  m({
446
446
  nextDate: H(l.value, q),
447
447
  isIncreasingDays: !0,
@@ -450,11 +450,11 @@ const Gt = /* @__PURE__ */ de(Ft, [["render", Ct], ["__scopeId", "data-v-e6fe861
450
450
  });
451
451
  },
452
452
  // Shift-PageDown
453
- moveToNextYear: (r, M = !1, S = 1) => {
453
+ moveToNextYear: (r, M = !1, _ = 1) => {
454
454
  p(r), m({
455
- nextDate: Be(l.value, S),
455
+ nextDate: Be(l.value, _),
456
456
  isIncreasingDays: !0,
457
- amountOfMonths: S * 12,
457
+ amountOfMonths: _ * 12,
458
458
  isCalendarButtonsNav: M
459
459
  });
460
460
  },
@@ -474,14 +474,14 @@ const Gt = /* @__PURE__ */ de(Ft, [["render", Ct], ["__scopeId", "data-v-e6fe861
474
474
  "ja-JP": { nextMonth: "翌月", previousMonth: "前月" },
475
475
  "pt-BR": { nextMonth: "Próximo mês", previousMonth: "Mês anterior" },
476
476
  "zh-CN": { nextMonth: "下个月", previousMonth: "上个月" }
477
- }, Ut = { class: "b-calendar-month__month-selector" }, Wt = { class: "b-calendar-month__previous" }, jt = { class: "b-calendar-month__month-year-container" }, Ht = { class: "b-calendar-month__visually-hidden" }, Kt = { class: "b-calendar-month__next" }, qt = ["aria-labelledby"], zt = { class: "b-calendar-month__week-header" }, Vt = ["colspan"], Qt = {
477
+ }, Ut = { class: "b-calendar-month__month-selector" }, Wt = { class: "b-calendar-month__previous" }, jt = { class: "b-calendar-month__month-year-container" }, zt = { class: "b-calendar-month__visually-hidden" }, Ht = { class: "b-calendar-month__next" }, Kt = ["aria-labelledby"], qt = { class: "b-calendar-month__week-header" }, Vt = ["colspan"], Qt = {
478
478
  i18n: { messages: ut },
479
479
  name: "calendar-month"
480
- }, Jt = /* @__PURE__ */ se({
480
+ }, Jt = /* @__PURE__ */ le({
481
481
  ...Qt,
482
482
  props: {
483
483
  endDate: { default: null },
484
- firstDayOfWeek: { default: ae.MONDAY },
484
+ firstDayOfWeek: { default: oe.MONDAY },
485
485
  isDateDisabled: { type: Function, default: void 0 },
486
486
  isRange: { type: Boolean, default: !1 },
487
487
  max: { default: null },
@@ -493,23 +493,23 @@ const Gt = /* @__PURE__ */ de(Ft, [["render", Ct], ["__scopeId", "data-v-e6fe861
493
493
  },
494
494
  emits: ["input", "changeDay", "nextMonth", "previousMonth", "mouseover"],
495
495
  setup(e, { expose: t, emit: n }) {
496
- const o = n, a = e, { locale: i, t: s } = Se({ messages: ut }), u = Xe("bento-date-picker-month-label"), l = _(
497
- () => (v) => a.min && v < a.min || a.max && v > a.max || a.isDateDisabled?.(v)
496
+ const o = n, a = e, { locale: i, t: s } = Se({ messages: ut }), u = Xe("bento-date-picker-month-label"), l = O(
497
+ () => (y) => a.min && y < a.min || a.max && y > a.max || a.isDateDisabled?.(y)
498
498
  ), {
499
499
  internalDate: d,
500
500
  baseDate: f,
501
501
  // Calendar refs
502
502
  addDayRef: c,
503
503
  // Day navigation
504
- moveToNextDay: g,
504
+ moveToNextDay: D,
505
505
  moveToPreviousDay: E,
506
- moveToPreviousWeek: D,
506
+ moveToPreviousWeek: b,
507
507
  moveToNextWeek: p,
508
508
  moveToFirstDayOfWeek: m,
509
- moveToLastDayOfWeek: b,
510
- moveToPreviousMonth: R,
509
+ moveToLastDayOfWeek: v,
510
+ moveToPreviousMonth: N,
511
511
  moveToPreviousYear: $,
512
- moveToNextMonth: le,
512
+ moveToNextMonth: W,
513
513
  moveToNextYear: ce,
514
514
  focusOnDate: fe,
515
515
  showNextMonth: me,
@@ -522,168 +522,168 @@ const Gt = /* @__PURE__ */ de(Ft, [["render", Ct], ["__scopeId", "data-v-e6fe861
522
522
  firstDayOfWeek: a.firstDayOfWeek
523
523
  },
524
524
  o
525
- ), h = _(
526
- () => Object.values(ae).includes(a.firstDayOfWeek) ? a.firstDayOfWeek : ae.MONDAY
527
- ), L = _(() => ["first", "unique"].includes(a.position)), w = _(() => ["last", "unique"].includes(a.position)), K = _(
525
+ ), g = O(
526
+ () => Object.values(oe).includes(a.firstDayOfWeek) ? a.firstDayOfWeek : oe.MONDAY
527
+ ), L = O(() => ["first", "unique"].includes(a.position)), k = O(() => ["last", "unique"].includes(a.position)), K = O(
528
528
  () => Ae(i.value, { month: "long" }).format(f.value)
529
- ), r = (v) => {
530
- const k = f.value.getFullYear(), C = (v - k) * 12;
529
+ ), r = (y) => {
530
+ const R = f.value.getFullYear(), C = (y - R) * 12;
531
531
  C > 0 ? me(C) : C < 0 && De(Math.abs(C));
532
- }, M = _(
533
- () => new Array(7).fill(/* @__PURE__ */ new Date()).map((v, k) => {
534
- const I = Yt(v, h.value + k);
535
- return Ae(i.value, { weekday: "short" }).format(I);
532
+ }, M = O(
533
+ () => new Array(7).fill(/* @__PURE__ */ new Date()).map((y, R) => {
534
+ const Y = Yt(y, g.value + R);
535
+ return Ae(i.value, { weekday: "short" }).format(Y);
536
536
  })
537
- ), S = _(() => {
538
- const v = [], k = pe(a.month);
539
- let I = v[v.push([]) - 1];
540
- for (; k.getMonth() === a.month.getMonth(); )
541
- k.getDay() - h.value === 0 && I.length > 0 && (I = v[v.push([]) - 1]), I.push(X(k)), k.setDate(k.getDate() + 1);
542
- return v;
543
- }), q = (v) => {
544
- o("input", v);
545
- }, Pe = (v) => {
537
+ ), _ = O(() => {
538
+ const y = [], R = pe(a.month);
539
+ let Y = y[y.push([]) - 1];
540
+ for (; R.getMonth() === a.month.getMonth(); )
541
+ R.getDay() - g.value === 0 && Y.length > 0 && (Y = y[y.push([]) - 1]), Y.push(Z(R)), R.setDate(R.getDate() + 1);
542
+ return y;
543
+ }), q = (y) => {
544
+ o("input", y);
545
+ }, Pe = (y) => {
546
546
  if (!a.isRange || ye(a.startDate, a.endDate))
547
547
  return A.SINGLE;
548
- if (a.startDate && ye(a.startDate, v))
548
+ if (a.startDate && ye(a.startDate, y))
549
549
  return A.BEGINNING;
550
- if (a.endDate && ye(a.endDate, v))
550
+ if (a.endDate && ye(a.endDate, y))
551
551
  return A.END;
552
- if (a.startDate && a.endDate && be(v, { start: a.startDate, end: a.endDate }))
552
+ if (a.startDate && a.endDate && be(y, { start: a.startDate, end: a.endDate }))
553
553
  return A.MIDDLE;
554
- }, Oe = (v) => d.value && ye(d.value, v) && !a.endDate ? !0 : a.startDate && a.endDate && be(v, { start: a.startDate, end: a.endDate }), ft = {
555
- "keydown:arrow-right": g,
554
+ }, Oe = (y) => d.value && ye(d.value, y) && !a.endDate ? !0 : a.startDate && a.endDate && be(y, { start: a.startDate, end: a.endDate }), ft = {
555
+ "keydown:arrow-right": D,
556
556
  "keydown:arrow-left": E,
557
- "keydown:arrow-up": D,
557
+ "keydown:arrow-up": b,
558
558
  "keydown:arrow-down": p,
559
559
  "keydown:home": m,
560
- "keydown:end": b,
561
- "keydown:page-up": R,
560
+ "keydown:end": v,
561
+ "keydown:page-up": N,
562
562
  "keydown:shift-page-up": $,
563
- "keydown:page-down": le,
563
+ "keydown:page-down": W,
564
564
  "keydown:shift-page-down": ce
565
565
  };
566
566
  return t({
567
567
  focusOnDate: fe
568
- }), (v, k) => ze((N(), Y("div", Ve({ class: "b-calendar-month" }, Qe(ft, !0)), [
569
- T("div", Ut, [
570
- T("div", Wt, [
571
- L.value ? (N(), W(Ee, {
568
+ }), (y, R) => qe((S(), w("div", Ve({ class: "b-calendar-month" }, Qe(ft, !0)), [
569
+ I("div", Ut, [
570
+ I("div", Wt, [
571
+ L.value ? (S(), j(Ee, {
572
572
  key: 0,
573
573
  variant: "tertiary",
574
- onClick: k[0] || (k[0] = (I) => y(R)(I, !0))
574
+ onClick: R[0] || (R[0] = (Y) => h(N)(Y, !0))
575
575
  }, {
576
- iconLeft: z(() => [
577
- B(y(tt), {
578
- "svg-title": y(s)("previousMonth")
576
+ iconLeft: V(() => [
577
+ B(h(tt), {
578
+ "svg-title": h(s)("previousMonth")
579
579
  }, null, 8, ["svg-title"])
580
580
  ]),
581
581
  _: 1
582
- })) : ee("", !0)
582
+ })) : te("", !0)
583
583
  ]),
584
- T("div", jt, [
585
- B(y(ke), {
586
- id: y(u),
584
+ I("div", jt, [
585
+ B(h(ke), {
586
+ id: h(u),
587
587
  el: "h2",
588
588
  variant: "title",
589
589
  "aria-live": "polite"
590
590
  }, {
591
- default: z(() => [
591
+ default: V(() => [
592
592
  Ge(ge(K.value) + " ", 1),
593
- T("span", Ht, ge(y(f).getFullYear()), 1)
593
+ I("span", zt, ge(h(f).getFullYear()), 1)
594
594
  ]),
595
595
  _: 1
596
596
  }, 8, ["id"]),
597
- B(y(lt), {
598
- "current-year": y(f).getFullYear(),
599
- "year-range": v.yearRange,
600
- min: v.min,
601
- max: v.max,
597
+ B(h(lt), {
598
+ "current-year": h(f).getFullYear(),
599
+ "year-range": y.yearRange,
600
+ min: y.min,
601
+ max: y.max,
602
602
  "onUpdate:year": r
603
603
  }, null, 8, ["current-year", "year-range", "min", "max"])
604
604
  ]),
605
- T("div", Kt, [
606
- w.value ? (N(), W(Ee, {
605
+ I("div", Ht, [
606
+ k.value ? (S(), j(Ee, {
607
607
  key: 0,
608
608
  variant: "tertiary",
609
- onClick: k[1] || (k[1] = (I) => y(le)(I, !0))
609
+ onClick: R[1] || (R[1] = (Y) => h(W)(Y, !0))
610
610
  }, {
611
- iconLeft: z(() => [
612
- B(y(nt), {
613
- "svg-title": y(s)("nextMonth")
611
+ iconLeft: V(() => [
612
+ B(h(nt), {
613
+ "svg-title": h(s)("nextMonth")
614
614
  }, null, 8, ["svg-title"])
615
615
  ]),
616
616
  _: 1
617
- })) : ee("", !0)
617
+ })) : te("", !0)
618
618
  ])
619
619
  ]),
620
- T("table", {
620
+ I("table", {
621
621
  class: "b-calendar-month__month-container",
622
622
  role: "grid",
623
- "aria-labelledby": y(u)
623
+ "aria-labelledby": h(u)
624
624
  }, [
625
- T("thead", null, [
626
- T("tr", zt, [
627
- (N(!0), Y(Q, null, J(M.value, (I, C) => (N(), Y("th", {
625
+ I("thead", null, [
626
+ I("tr", qt, [
627
+ (S(!0), w(J, null, X(M.value, (Y, C) => (S(), w("th", {
628
628
  key: C,
629
629
  class: "b-calendar-month__day-of-week",
630
630
  scope: "col"
631
631
  }, [
632
- B(y(ke), {
632
+ B(h(ke), {
633
633
  class: "b-calendar-month__day-of-week-font",
634
634
  el: "span",
635
635
  variant: "caption"
636
636
  }, {
637
- default: z(() => [
638
- Ge(ge(I), 1)
637
+ default: V(() => [
638
+ Ge(ge(Y), 1)
639
639
  ]),
640
640
  _: 2
641
641
  }, 1024)
642
642
  ]))), 128))
643
643
  ])
644
644
  ]),
645
- T("tbody", null, [
646
- (N(!0), Y(Q, null, J(S.value, (I, C) => (N(), Y("tr", { key: C }, [
647
- C === 0 && I.length < 7 ? (N(), Y("td", {
645
+ I("tbody", null, [
646
+ (S(!0), w(J, null, X(_.value, (Y, C) => (S(), w("tr", { key: C }, [
647
+ C === 0 && Y.length < 7 ? (S(), w("td", {
648
648
  key: 0,
649
- colspan: 7 - I.length
650
- }, null, 8, Vt)) : ee("", !0),
651
- (N(!0), Y(Q, null, J(I, (F, mt) => (N(), W(y(Gt), {
649
+ colspan: 7 - Y.length
650
+ }, null, 8, Vt)) : te("", !0),
651
+ (S(!0), w(J, null, X(Y, (F, mt) => (S(), j(h(Gt), {
652
652
  ref_for: !0,
653
- ref: y(c)(F),
653
+ ref: h(c)(F),
654
654
  key: `calendar-day-${mt}`,
655
655
  day: F,
656
656
  disabled: l.value(F),
657
657
  selected: Oe(F),
658
658
  variant: Pe(F),
659
659
  onClick: q,
660
- onMouseover: (ve) => v.$emit("mouseover", F),
660
+ onMouseover: (ve) => y.$emit("mouseover", F),
661
661
  onKeyup: [
662
- Z((ve) => v.$emit("changeDay", F), ["up", "native"]),
663
- Z((ve) => v.$emit("changeDay", F), ["down", "native"]),
664
- Z((ve) => v.$emit("changeDay", F), ["left", "native"]),
665
- Z((ve) => v.$emit("changeDay", F), ["right", "native"])
662
+ ee((ve) => y.$emit("changeDay", F), ["up", "native"]),
663
+ ee((ve) => y.$emit("changeDay", F), ["down", "native"]),
664
+ ee((ve) => y.$emit("changeDay", F), ["left", "native"]),
665
+ ee((ve) => y.$emit("changeDay", F), ["right", "native"])
666
666
  ]
667
667
  }, null, 8, ["day", "disabled", "selected", "variant", "onMouseover", "onKeyup"]))), 128))
668
668
  ]))), 128)),
669
- S.value?.length < 6 ? (N(!0), Y(Q, { key: 0 }, J(6 - S.value?.length, (I) => (N(), Y("tr", {
670
- key: `calendar month filler row ${I}`
671
- }, k[2] || (k[2] = [
672
- T("td", {
669
+ _.value?.length < 6 ? (S(!0), w(J, { key: 0 }, X(6 - _.value?.length, (Y) => (S(), w("tr", {
670
+ key: `calendar month filler row ${Y}`
671
+ }, R[2] || (R[2] = [
672
+ I("td", {
673
673
  "aria-hidden": "true",
674
674
  class: "b-calendar-month__empty-cell-filler",
675
675
  colspan: 7
676
676
  }, null, -1)
677
- ])))), 128)) : ee("", !0)
677
+ ])))), 128)) : te("", !0)
678
678
  ])
679
- ], 8, qt)
679
+ ], 8, Kt)
680
680
  ], 16)), [
681
- [y(Ze)]
681
+ [h(Ze)]
682
682
  ]);
683
683
  }
684
- }), Ke = /* @__PURE__ */ de(Jt, [["__scopeId", "data-v-f051ff6a"]]);
684
+ }), He = /* @__PURE__ */ de(Jt, [["__scopeId", "data-v-f051ff6a"]]);
685
685
  var P = /* @__PURE__ */ ((e) => (e.SINGLE = "single", e.MIDDLE = "middle", e.BEGINNING = "beginning", e.END = "end", e))(P || {}), U = /* @__PURE__ */ ((e) => (e.SINGLE = "single", e.MIDDLE = "middle", e.BEGINNING = "beginning", e.END = "end", e.SELECTED = "selected", e.UNSELECTED = "unselected", e.CURRENT_MONTH = "current-month", e.DISABLED = "disabled", e))(U || {}), Fe = /* @__PURE__ */ ((e) => (e.CLICK = "click", e.MOUSE_OVER = "mouseover", e))(Fe || {});
686
- const Xt = ["tabindex", "aria-selected"], Zt = { class: "b-calendar-year-month__wrapper" }, en = {}, tn = /* @__PURE__ */ se({
686
+ const Xt = ["tabindex", "aria-selected"], Zt = { class: "b-calendar-year-month__wrapper" }, en = {}, tn = /* @__PURE__ */ le({
687
687
  ...en,
688
688
  __name: "calendar-year-month",
689
689
  props: {
@@ -694,10 +694,10 @@ const Xt = ["tabindex", "aria-selected"], Zt = { class: "b-calendar-year-month__
694
694
  },
695
695
  emits: ["click", "mouseover"],
696
696
  setup(e, { emit: t }) {
697
- const n = e, o = t, a = _(() => {
697
+ const n = e, o = t, a = O(() => {
698
698
  const u = /* @__PURE__ */ new Date();
699
699
  return n.month.getMonth() === u.getMonth() && n.month.getFullYear() === u.getFullYear();
700
- }), i = _(() => ({
700
+ }), i = O(() => ({
701
701
  // Variants
702
702
  [`b-calendar-year-month--${U.BEGINNING}`]: n.variant === P.BEGINNING,
703
703
  [`b-calendar-year-month--${U.MIDDLE}`]: n.variant === P.MIDDLE,
@@ -713,19 +713,19 @@ const Xt = ["tabindex", "aria-selected"], Zt = { class: "b-calendar-year-month__
713
713
  })), s = (u, l) => {
714
714
  n.disabled ? (u.preventDefault(), u.stopPropagation()) : o(Fe.CLICK, l, n.month);
715
715
  };
716
- return (u, l) => (N(), Y("td", {
716
+ return (u, l) => (S(), w("td", {
717
717
  class: xe(["b-calendar-year-month", i.value]),
718
718
  tabindex: u.selected ? "0" : "-1",
719
719
  "aria-selected": u.selected ? u.selected : void 0,
720
720
  onClick: l[0] || (l[0] = (d) => s(d, u.month)),
721
- onMouseover: l[1] || (l[1] = (d) => o(y(Fe).MOUSE_OVER)),
722
- onKeydown: l[2] || (l[2] = Z((d) => s(d, u.month), ["space", "enter"]))
721
+ onMouseover: l[1] || (l[1] = (d) => o(h(Fe).MOUSE_OVER)),
722
+ onKeydown: l[2] || (l[2] = ee((d) => s(d, u.month), ["space", "enter"]))
723
723
  }, [
724
- T("div", Zt, [
725
- B(y(bt), {
724
+ I("div", Zt, [
725
+ B(h(bt), {
726
726
  class: "b-calendar-year-month__label",
727
727
  date: u.month,
728
- format: y(St).SHORT_MONTH
728
+ format: h(St).SHORT_MONTH
729
729
  }, null, 8, ["date", "format"])
730
730
  ])
731
731
  ], 42, Xt));
@@ -744,7 +744,7 @@ const Xt = ["tabindex", "aria-selected"], Zt = { class: "b-calendar-year-month__
744
744
  "zh-CN": { nextYear: "明年", previousYear: "上年度" }
745
745
  }, an = { class: "b-calendar-year__year-selector" }, on = { class: "b-calendar-year__previous" }, rn = { class: "b-calendar-year__year-label-container" }, sn = { class: "b-calendar-year__next" }, ln = ["aria-labelledby"], un = {
746
746
  i18n: { messages: dt }
747
- }, dn = /* @__PURE__ */ se({
747
+ }, dn = /* @__PURE__ */ le({
748
748
  ...un,
749
749
  __name: "calendar-year",
750
750
  props: {
@@ -754,28 +754,28 @@ const Xt = ["tabindex", "aria-selected"], Zt = { class: "b-calendar-year-month__
754
754
  min: { default: null },
755
755
  max: { default: null },
756
756
  yearRange: { default: void 0 },
757
- position: { default: te.UNIQUE },
757
+ position: { default: ne.UNIQUE },
758
758
  startDate: { default: null },
759
759
  year: {}
760
760
  },
761
761
  emits: ["input", "changeDay", "nextMonth", "previousMonth", "mouseover"],
762
762
  setup(e, { expose: t, emit: n }) {
763
- const o = Xe("bento-date-picker-year-label"), a = e, i = n, { t: s } = Se({ messages: dt }), u = (h) => a.min && h < a.min || a.max && h > a.max || a.isDateDisabled?.(h), l = _(
763
+ const o = Xe("bento-date-picker-year-label"), a = e, i = n, { t: s } = Se({ messages: dt }), u = (g) => a.min && g < a.min || a.max && g > a.max || a.isDateDisabled?.(g), l = O(
764
764
  () => ["first", "unique"].includes(a.position)
765
- ), d = _(
765
+ ), d = O(
766
766
  () => ["last", "unique"].includes(a.position)
767
767
  ), {
768
768
  internalDate: f,
769
769
  // Calendar refs
770
770
  addDayRef: c,
771
771
  // Day navigation
772
- moveToPreviousMonth: g,
772
+ moveToPreviousMonth: D,
773
773
  moveToPreviousYear: E,
774
- moveToNextMonth: D,
774
+ moveToNextMonth: b,
775
775
  moveToNextYear: p,
776
776
  moveToFirstMonthOfYear: m,
777
- moveToLastMonthOfYear: b,
778
- focusOnDate: R
777
+ moveToLastMonthOfYear: v,
778
+ focusOnDate: N
779
779
  } = it(
780
780
  {
781
781
  currentSelectedDate: x(a, "startDate"),
@@ -783,102 +783,102 @@ const Xt = ["tabindex", "aria-selected"], Zt = { class: "b-calendar-year-month__
783
783
  isDateDisabled: u
784
784
  },
785
785
  i
786
- ), $ = (h) => {
787
- const L = a.year.getFullYear(), w = h - L;
788
- w > 0 ? p(null, !0, w) : w < 0 && E(null, !0, Math.abs(w));
789
- }, le = _(() => {
790
- const h = [];
786
+ ), $ = (g) => {
787
+ const L = a.year.getFullYear(), k = g - L;
788
+ k > 0 ? p(null, !0, k) : k < 0 && E(null, !0, Math.abs(k));
789
+ }, W = O(() => {
790
+ const g = [];
791
791
  let L = 0;
792
- for (let w = 0; w < 3; w++) {
792
+ for (let k = 0; k < 3; k++) {
793
793
  const K = [];
794
794
  for (let r = 0; r < 4; r++)
795
795
  K.push(new Date(a.year.getFullYear(), L++, 1));
796
- h.push(K);
796
+ g.push(K);
797
797
  }
798
- return h;
799
- }), ce = (h) => !a.isRange || he(a.startDate, a.endDate) ? P.SINGLE : a.startDate && he(a.startDate, h) ? P.BEGINNING : a.endDate && he(a.endDate, h) ? P.END : a.startDate && a.endDate && be(h, { start: a.startDate, end: a.endDate }) ? P.MIDDLE : null, fe = (h) => f.value && he(f.value, h) ? !0 : a.startDate && a.endDate && be(h, { start: a.startDate, end: a.endDate }), me = (h) => {
800
- i("input", h);
798
+ return g;
799
+ }), ce = (g) => !a.isRange || he(a.startDate, a.endDate) ? P.SINGLE : a.startDate && he(a.startDate, g) ? P.BEGINNING : a.endDate && he(a.endDate, g) ? P.END : a.startDate && a.endDate && be(g, { start: a.startDate, end: a.endDate }) ? P.MIDDLE : null, fe = (g) => f.value && he(f.value, g) ? !0 : a.startDate && a.endDate && be(g, { start: a.startDate, end: a.endDate }), me = (g) => {
800
+ i("input", g);
801
801
  }, De = a.isRange ? {} : {
802
- "keydown:arrow-right": D,
803
- "keydown:arrow-left": g,
804
- "keydown:arrow-up": (h) => g(h, !1, 4),
805
- "keydown:arrow-down": (h) => D(h, !1, 4),
802
+ "keydown:arrow-right": b,
803
+ "keydown:arrow-left": D,
804
+ "keydown:arrow-up": (g) => D(g, !1, 4),
805
+ "keydown:arrow-down": (g) => b(g, !1, 4),
806
806
  "keydown:home": m,
807
- "keydown:end": b,
807
+ "keydown:end": v,
808
808
  "keydown:page-up": E,
809
809
  "keydown:page-down": p
810
810
  };
811
- return t({ focusOnDate: R }), (h, L) => ze((N(), Y("div", Ve({ class: "b-calendar-year" }, Qe(y(De), !0)), [
812
- T("div", an, [
813
- T("div", on, [
814
- l.value ? (N(), W(Ee, {
811
+ return t({ focusOnDate: N }), (g, L) => qe((S(), w("div", Ve({ class: "b-calendar-year" }, Qe(h(De), !0)), [
812
+ I("div", an, [
813
+ I("div", on, [
814
+ l.value ? (S(), j(Ee, {
815
815
  key: 0,
816
816
  variant: "tertiary",
817
- onClick: L[0] || (L[0] = (w) => y(E)(w, !0, 1))
817
+ onClick: L[0] || (L[0] = (k) => h(E)(k, !0, 1))
818
818
  }, {
819
- iconLeft: z(() => [
820
- B(y(tt), {
821
- "svg-title": y(s)("previousYear")
819
+ iconLeft: V(() => [
820
+ B(h(tt), {
821
+ "svg-title": h(s)("previousYear")
822
822
  }, null, 8, ["svg-title"])
823
823
  ]),
824
824
  _: 1
825
- })) : ee("", !0)
825
+ })) : te("", !0)
826
826
  ]),
827
- T("div", rn, [
828
- B(y(lt), {
829
- "current-year": h.year.getFullYear(),
830
- "year-range": h.yearRange,
831
- min: h.min,
832
- max: h.max,
827
+ I("div", rn, [
828
+ B(h(lt), {
829
+ "current-year": g.year.getFullYear(),
830
+ "year-range": g.yearRange,
831
+ min: g.min,
832
+ max: g.max,
833
833
  "onUpdate:year": $
834
834
  }, null, 8, ["current-year", "year-range", "min", "max"])
835
835
  ]),
836
- T("div", sn, [
837
- d.value ? (N(), W(Ee, {
836
+ I("div", sn, [
837
+ d.value ? (S(), j(Ee, {
838
838
  key: 0,
839
839
  variant: "tertiary",
840
- onClick: L[1] || (L[1] = (w) => y(p)(w, !0))
840
+ onClick: L[1] || (L[1] = (k) => h(p)(k, !0))
841
841
  }, {
842
- iconLeft: z(() => [
843
- B(y(nt), {
844
- "svg-title": y(s)("nextYear")
842
+ iconLeft: V(() => [
843
+ B(h(nt), {
844
+ "svg-title": h(s)("nextYear")
845
845
  }, null, 8, ["svg-title"])
846
846
  ]),
847
847
  _: 1
848
- })) : ee("", !0)
848
+ })) : te("", !0)
849
849
  ])
850
850
  ]),
851
- T("table", {
851
+ I("table", {
852
852
  class: "b-calendar-year__year-container",
853
853
  role: "grid",
854
- "aria-labelledby": y(o)
854
+ "aria-labelledby": h(o)
855
855
  }, [
856
- T("tbody", null, [
857
- (N(!0), Y(Q, null, J(le.value, (w, K) => (N(), Y("tr", { key: K }, [
858
- (N(!0), Y(Q, null, J(w, (r, M) => (N(), W(nn, {
856
+ I("tbody", null, [
857
+ (S(!0), w(J, null, X(W.value, (k, K) => (S(), w("tr", { key: K }, [
858
+ (S(!0), w(J, null, X(k, (r, M) => (S(), j(nn, {
859
859
  ref_for: !0,
860
- ref: y(c)(r),
860
+ ref: h(c)(r),
861
861
  key: `calendar-month-${M}`,
862
862
  month: r,
863
863
  disabled: u(r),
864
864
  selected: fe(r),
865
865
  variant: ce(r),
866
866
  onClick: me,
867
- onMouseover: (S) => i("mouseover", r)
867
+ onMouseover: (_) => i("mouseover", r)
868
868
  }, null, 8, ["month", "disabled", "selected", "variant", "onMouseover"]))), 128))
869
869
  ]))), 128))
870
870
  ])
871
871
  ], 8, ln)
872
872
  ], 16)), [
873
- [y(Ze)]
873
+ [h(Ze)]
874
874
  ]);
875
875
  }
876
- }), qe = /* @__PURE__ */ de(dn, [["__scopeId", "data-v-bd0150ea"]]), cn = ({ selectedDate: e }, t) => {
876
+ }), Ke = /* @__PURE__ */ de(dn, [["__scopeId", "data-v-bd0150ea"]]), cn = ({ selectedDate: e }, t) => {
877
877
  const n = Je({
878
878
  startDate: null,
879
879
  endDate: null
880
880
  });
881
- return ne(
881
+ return ae(
882
882
  () => e.value,
883
883
  () => {
884
884
  n.startDate = e.value, n.endDate = void 0;
@@ -887,7 +887,7 @@ const Xt = ["tabindex", "aria-selected"], Zt = { class: "b-calendar-year-month__
887
887
  ), {
888
888
  internalValue: n,
889
889
  onDateInput: (a) => {
890
- t(j.INPUT, a);
890
+ t(z.INPUT, a);
891
891
  },
892
892
  // Empty function to prevent the listeners from throwing a warning
893
893
  // eslint-disable-next-line @typescript-eslint/no-empty-function
@@ -897,7 +897,7 @@ const Xt = ["tabindex", "aria-selected"], Zt = { class: "b-calendar-year-month__
897
897
  }, ct = {
898
898
  getCount: (e, t) => $e(e, t),
899
899
  sub: Le,
900
- add: re
900
+ add: se
901
901
  }, fn = {
902
902
  daily: {
903
903
  ...ct,
@@ -922,18 +922,18 @@ const Xt = ["tabindex", "aria-selected"], Zt = { class: "b-calendar-year-month__
922
922
  const a = {
923
923
  weekly: (s, u, l, d) => {
924
924
  let f = Me(s, { weekStartsOn: e }), c = Ne(u || s, { weekStartsOn: e });
925
- const g = l && f < l, E = d && c > d;
926
- return g && (f = Me(l, { weekStartsOn: e })), E && (c = Ne(d, { weekStartsOn: e })), f > c && (g ? c = Ne(f, { weekStartsOn: e }) : f = Me(c, { weekStartsOn: e })), { startDate: f, endDate: c };
925
+ const D = l && f < l, E = d && c > d;
926
+ return D && (f = Me(l, { weekStartsOn: e })), E && (c = Ne(d, { weekStartsOn: e })), f > c && (D ? c = Ne(f, { weekStartsOn: e }) : f = Me(c, { weekStartsOn: e })), { startDate: f, endDate: c };
927
927
  },
928
928
  monthly: (s, u, l, d) => {
929
929
  let f = pe(s), c = Te(u || s);
930
- const g = l && f < l, E = d && c > d;
931
- return g && (f = pe(l)), E && (c = Te(d)), f > c && (g ? c = Te(f) : f = pe(c)), { startDate: f, endDate: c };
930
+ const D = l && f < l, E = d && c > d;
931
+ return D && (f = pe(l)), E && (c = Te(d)), f > c && (D ? c = Te(f) : f = pe(c)), { startDate: f, endDate: c };
932
932
  },
933
933
  quarterly: (s, u, l, d) => {
934
934
  let f = Ie(s), c = Ye(u || s);
935
- const g = l instanceof Date && f < l, E = d instanceof Date && c > d;
936
- return g && (f = Ie(l)), E && (c = Ye(d)), f > c && (g ? c = Ye(f) : f = Ie(c)), { startDate: f, endDate: c };
935
+ const D = l instanceof Date && f < l, E = d instanceof Date && c > d;
936
+ return D && (f = Ie(l)), E && (c = Ye(d)), f > c && (D ? c = Ye(f) : f = Ie(c)), { startDate: f, endDate: c };
937
937
  }
938
938
  };
939
939
  return {
@@ -944,28 +944,28 @@ const Xt = ["tabindex", "aria-selected"], Zt = { class: "b-calendar-year-month__
944
944
  granularity: d,
945
945
  alignToGranularity: f = !0,
946
946
  fallbackMaxRange: c,
947
- min: g,
947
+ min: D,
948
948
  max: E
949
949
  }) => {
950
- let D = { startDate: s, endDate: u };
951
- f && d?.type && d.type !== "daily" && (D = a[d.type](s, u, g, E));
950
+ let b = { startDate: s, endDate: u };
951
+ f && d?.type && d.type !== "daily" && (b = a[d.type](s, u, D, E));
952
952
  const p = d?.maxRange || c;
953
953
  if (!p)
954
- return D;
955
- const m = d?.type ? fn[d.type] : ct, b = m.getCount(D.endDate, D.startDate);
956
- if (b <= p)
957
- return D;
958
- const R = b - p, $ = l === "start" ? {
959
- startDate: D.startDate,
960
- endDate: m.sub(D.endDate, R)
954
+ return b;
955
+ const m = d?.type ? fn[d.type] : ct, v = m.getCount(b.endDate, b.startDate);
956
+ if (v <= p)
957
+ return b;
958
+ const N = v - p, $ = l === "start" ? {
959
+ startDate: b.startDate,
960
+ endDate: m.sub(b.endDate, N)
961
961
  } : {
962
- startDate: m.add(D.startDate, R),
963
- endDate: D.endDate
962
+ startDate: m.add(b.startDate, N),
963
+ endDate: b.endDate
964
964
  };
965
965
  return f && d?.type && d.type !== "daily" ? a[d.type](
966
966
  $.startDate,
967
967
  $.endDate,
968
- g,
968
+ D,
969
969
  E
970
970
  ) : $;
971
971
  }
@@ -974,52 +974,54 @@ const Xt = ["tabindex", "aria-selected"], Zt = { class: "b-calendar-year-month__
974
974
  const { normalizeRange: f } = mn(a), c = Je({
975
975
  startDate: null,
976
976
  endDate: null
977
- }), g = V(null);
978
- ne(
977
+ }), D = Q(null);
978
+ ae(
979
979
  () => e.value,
980
980
  () => {
981
- let { startDate: m = null, endDate: b = null } = e.value || {};
982
- m && (m = X(m)), b && (b = X(b)), !(m && t && t(m) || b && t && t(b) || m && b && Tt(m, b)) && (c.startDate = m, c.endDate = b);
981
+ let { startDate: v = null, endDate: N = null } = e.value || {};
982
+ v && (v = Z(v)), N && (N = Z(N)), !(v && t && t(v) || N && t && t(N) || v && N && Tt(v, N)) && (c.startDate = v, c.endDate = N);
983
983
  },
984
984
  { immediate: !0, deep: !0 }
985
985
  );
986
- const E = (m, b, R) => {
987
- const $ = f({
988
- startDate: m,
989
- endDate: b,
990
- fixedEndpoint: R !== void 0 && R < 1 ? "start" : "end",
986
+ const E = (v, N, $) => {
987
+ const W = f({
988
+ startDate: v,
989
+ endDate: N,
990
+ fixedEndpoint: $ !== void 0 && $ < 1 ? "start" : "end",
991
991
  granularity: o.value,
992
992
  fallbackMaxRange: n.value,
993
993
  min: i.value,
994
994
  max: s.value
995
995
  });
996
- c.startDate = $.startDate, c.endDate = $.endDate, u(j.START_DATE_SELECTED, c.startDate), u(j.END_DATE_SELECTED, c.endDate);
997
- }, D = (m) => {
998
- !g.value || t && t(m) || (It(m, g.value) ? E(m, g.value, -1) : E(g.value, m, 1));
999
- };
996
+ c.startDate = W.startDate, c.endDate = W.endDate, u(z.START_DATE_SELECTED, c.startDate), u(z.END_DATE_SELECTED, c.endDate);
997
+ }, b = (v) => {
998
+ !D.value || t && t(v) || (It(v, D.value) ? E(v, D.value, -1) : E(D.value, v, 1));
999
+ }, p = () => D.value ? (D.value = null, { ...c }) : null;
1000
1000
  return {
1001
1001
  internalValue: c,
1002
- onDateInput: (m) => {
1003
- if (g.value)
1004
- g.value = null, u(j.INPUT, c);
1005
- else {
1006
- let b = m;
1007
- o?.value?.type && o.value.type !== "daily" && (E(m, m), b = c.startDate), g.value = b, D(b);
1002
+ finalizeRangeSelection: p,
1003
+ onDateInput: (v) => {
1004
+ if (D.value) {
1005
+ const N = p();
1006
+ N && u(z.INPUT, N);
1007
+ } else {
1008
+ let N = v;
1009
+ o?.value?.type && o.value.type !== "daily" && (E(v, v), N = c.startDate), D.value = N, b(N);
1008
1010
  }
1009
1011
  },
1010
- onMouseOver: D
1012
+ onMouseOver: b
1011
1013
  };
1012
- }, vn = se({
1014
+ }, vn = le({
1013
1015
  name: "calendar",
1014
- components: { CalendarMonth: Ke, CalendarYear: qe },
1016
+ components: { CalendarMonth: He, CalendarYear: Ke },
1015
1017
  props: {
1016
1018
  /**
1017
1019
  * Allows you to set the first day of the week. 0 is sunday, 1 is monday, 6 is saturday
1018
1020
  */
1019
1021
  firstDayOfWeek: {
1020
1022
  type: Number,
1021
- default: ae.MONDAY,
1022
- validator: (e) => Object.values(ae).includes(e)
1023
+ default: oe.MONDAY,
1024
+ validator: (e) => Object.values(oe).includes(e)
1023
1025
  },
1024
1026
  /**
1025
1027
  * The selected granularity configuration
@@ -1089,26 +1091,26 @@ const Xt = ["tabindex", "aria-selected"], Zt = { class: "b-calendar-year-month__
1089
1091
  validator: (e) => Object.values(Re).includes(e)
1090
1092
  }
1091
1093
  },
1092
- emit: [j.INPUT, j.START_DATE_SELECTED, j.END_DATE_SELECTED],
1094
+ emit: [z.INPUT, z.START_DATE_SELECTED, z.END_DATE_SELECTED],
1093
1095
  setup(e, { emit: t }) {
1094
- const n = V(null), o = V();
1095
- ne(
1096
+ const n = Q(null), o = Q();
1097
+ ae(
1096
1098
  () => e.value,
1097
1099
  () => {
1098
1100
  if (e.isRange)
1099
1101
  o.value = e?.showEndDateOnOpen && e.value?.endDate ? e.value?.endDate : e.value?.startDate || /* @__PURE__ */ new Date();
1100
1102
  else {
1101
- const D = e.defaultDisplayMonth && new Date(e.defaultDisplayMonth).getTime() ? new Date(e.defaultDisplayMonth) : /* @__PURE__ */ new Date();
1102
- o.value = e.value || D;
1103
+ const m = e.defaultDisplayMonth && new Date(e.defaultDisplayMonth).getTime() ? new Date(e.defaultDisplayMonth) : /* @__PURE__ */ new Date();
1104
+ o.value = e.value || m;
1103
1105
  }
1104
1106
  },
1105
1107
  { immediate: !0, deep: !0 }
1106
1108
  );
1107
- const a = _(
1108
- () => e.variant === Re.MONTH ? qe : Ke
1109
- ), i = _(() => ({
1109
+ const a = O(
1110
+ () => e.variant === Re.MONTH ? Ke : He
1111
+ ), i = O(() => ({
1110
1112
  "b-calendar__range": e.isRange
1111
- })), { internalValue: s, onDateInput: u, onMouseOver: l } = e.isRange ? Dn(
1113
+ })), s = e.isRange ? Dn(
1112
1114
  {
1113
1115
  selectedDate: x(e, "value"),
1114
1116
  isDateDisabled: e.isDateDisabled,
@@ -1125,12 +1127,12 @@ const Xt = ["tabindex", "aria-selected"], Zt = { class: "b-calendar-year-month__
1125
1127
  firstDayOfWeek: e.firstDayOfWeek
1126
1128
  },
1127
1129
  t
1128
- ), d = (D) => e.numberOfMonths === 1 ? te.UNIQUE : D === 0 ? te.FIRST : D === e.numberOfMonths - 1 ? te.LAST : te.MIDDLE, f = _(() => (D) => {
1129
- const p = e?.showEndDateOnOpen && e.isRange ? ue(o.value, e.numberOfMonths - 1) : o.value;
1130
- return H(p, D);
1131
- }), c = _(() => (D) => {
1132
- const p = e?.showEndDateOnOpen ? rt(o.value, e.numberOfMonths - 1) : o.value;
1133
- return Be(p, D);
1130
+ ), { internalValue: u, onDateInput: l, onMouseOver: d } = s, f = () => s.finalizeRangeSelection?.() ?? null, c = (m) => e.numberOfMonths === 1 ? ne.UNIQUE : m === 0 ? ne.FIRST : m === e.numberOfMonths - 1 ? ne.LAST : ne.MIDDLE, D = O(() => (m) => {
1131
+ const v = e?.showEndDateOnOpen && e.isRange ? ue(o.value, e.numberOfMonths - 1) : o.value;
1132
+ return H(v, m);
1133
+ }), E = O(() => (m) => {
1134
+ const v = e?.showEndDateOnOpen ? rt(o.value, e.numberOfMonths - 1) : o.value;
1135
+ return Be(v, m);
1134
1136
  });
1135
1137
  return {
1136
1138
  // Refs
@@ -1139,28 +1141,29 @@ const Xt = ["tabindex", "aria-selected"], Zt = { class: "b-calendar-year-month__
1139
1141
  baseDate: o,
1140
1142
  calendarComponent: a,
1141
1143
  conditionalClasses: i,
1142
- internalValue: s,
1144
+ internalValue: u,
1143
1145
  // Methods
1144
- calculateOffsetMonth: f,
1145
- calculateOffsetYear: c,
1146
- calendarPosition: d,
1146
+ calculateOffsetMonth: D,
1147
+ calculateOffsetYear: E,
1148
+ calendarPosition: c,
1149
+ finalizeRangeSelection: f,
1147
1150
  // Events
1148
- onDateInput: u,
1149
- onMouseOver: l,
1150
- calculateNextMonths: (D = 1) => {
1151
- o.value = H(o.value, D);
1151
+ onDateInput: l,
1152
+ onMouseOver: d,
1153
+ calculateNextMonths: (m = 1) => {
1154
+ o.value = H(o.value, m);
1152
1155
  },
1153
- calculatePreviousMonths: (D = 1) => {
1154
- o.value = ue(o.value, D);
1156
+ calculatePreviousMonths: (m = 1) => {
1157
+ o.value = ue(o.value, m);
1155
1158
  }
1156
1159
  };
1157
1160
  }
1158
1161
  });
1159
1162
  function yn(e, t, n, o, a, i) {
1160
- return N(), Y("div", {
1163
+ return S(), w("div", {
1161
1164
  class: xe(["b-calendar", e.conditionalClasses])
1162
1165
  }, [
1163
- (N(!0), Y(Q, null, J(e.numberOfMonths, (s, u) => (N(), W(yt(e.calendarComponent), {
1166
+ (S(!0), w(J, null, X(e.numberOfMonths, (s, u) => (S(), j(yt(e.calendarComponent), {
1164
1167
  ref_for: !0,
1165
1168
  ref: e.numberOfMonths === 1 ? "calendarRef" : null,
1166
1169
  key: `calendar-${u}`,
@@ -1184,14 +1187,14 @@ function yn(e, t, n, o, a, i) {
1184
1187
  }, null, 40, ["first-day-of-week", "is-date-disabled", "month", "year", "position", "min", "max", "is-range", "start-date", "end-date", "granularity", "year-range", "onInput", "onMouseover", "onChangeDay", "onNextMonth", "onPreviousMonth"]))), 128))
1185
1188
  ], 2);
1186
1189
  }
1187
- const Fn = /* @__PURE__ */ de(vn, [["render", yn], ["__scopeId", "data-v-9b867347"]]);
1190
+ const Fn = /* @__PURE__ */ de(vn, [["render", yn], ["__scopeId", "data-v-ef7fcac4"]]);
1188
1191
  export {
1189
- He as A,
1190
- ae as C,
1192
+ ze as A,
1193
+ oe as C,
1191
1194
  Re as a,
1192
1195
  Fn as b,
1193
- j as c,
1194
- te as d,
1196
+ z as c,
1197
+ ne as d,
1195
1198
  kn as e,
1196
1199
  pe as f,
1197
1200
  Ae as g,
@@ -1199,14 +1202,14 @@ export {
1199
1202
  Rn as i,
1200
1203
  Ie as j,
1201
1204
  ye as k,
1202
- re as l,
1205
+ se as l,
1203
1206
  Ne as m,
1204
1207
  Le as n,
1205
1208
  H as o,
1206
1209
  Ln as p,
1207
1210
  ue as q,
1208
1211
  at as r,
1209
- X as s,
1212
+ Z as s,
1210
1213
  Ye as t,
1211
1214
  Rt as u,
1212
1215
  mn as v,
@@ -1215,4 +1218,4 @@ export {
1215
1218
  Yt as y,
1216
1219
  $e as z
1217
1220
  };
1218
- //# sourceMappingURL=calendar.Dtba7fcs.js.map
1221
+ //# sourceMappingURL=calendar.EuBZ9HoM.js.map