@adyen/bento-vue2 2.0.1 → 2.1.1

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 (320) hide show
  1. package/README.md +2 -2
  2. package/dist/@types/index.d.ts +114 -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.B7lteJBu.js → accordion-item.C158YxId.js} +5 -5
  49. package/dist/chunks/{accordion-item.B7lteJBu.js.map → accordion-item.C158YxId.js.map} +1 -1
  50. package/dist/chunks/{action-bar.BsXW7BI2.js → action-bar.D29UQHoA.js} +15 -15
  51. package/dist/chunks/{action-bar.BsXW7BI2.js.map → action-bar.D29UQHoA.js.map} +1 -1
  52. package/dist/chunks/{ai-button.BnFk5CzK.js → ai-button.qEaHYybv.js} +3 -3
  53. package/dist/chunks/{ai-button.BnFk5CzK.js.map → ai-button.qEaHYybv.js.map} +1 -1
  54. package/dist/chunks/{ai-tag.D2Q0xhFK.js → ai-tag.BLi-Xoh_.js} +3 -3
  55. package/dist/chunks/{ai-tag.D2Q0xhFK.js.map → ai-tag.BLi-Xoh_.js.map} +1 -1
  56. package/dist/chunks/{alert.DJDHwVeR.js → alert.BddJPWMN.js} +3 -3
  57. package/dist/chunks/{alert.DJDHwVeR.js.map → alert.BddJPWMN.js.map} +1 -1
  58. package/dist/chunks/{anchor-scroller.BbvghQxZ.js → anchor-scroller.Clb_9RNz.js} +5 -5
  59. package/dist/chunks/{anchor-scroller.BbvghQxZ.js.map → anchor-scroller.Clb_9RNz.js.map} +1 -1
  60. package/dist/chunks/{avatar.CxPKc8Gy.js → avatar.BN4MI-42.js} +2 -2
  61. package/dist/chunks/{avatar.CxPKc8Gy.js.map → avatar.BN4MI-42.js.map} +1 -1
  62. package/dist/chunks/{base-button.DOhHyU7x.js → base-button.DYroENBg.js} +3 -3
  63. package/dist/chunks/{base-button.DOhHyU7x.js.map → base-button.DYroENBg.js.map} +1 -1
  64. package/dist/chunks/{base-modal.CcmoTJdc.js → base-modal._-Cc6jfi.js} +6 -6
  65. package/dist/chunks/{base-modal.CcmoTJdc.js.map → base-modal._-Cc6jfi.js.map} +1 -1
  66. package/dist/chunks/{button-actions-with-menu.BY394ars.js → button-actions-with-menu.1vZJWN1K.js} +2 -2
  67. package/dist/chunks/{button-actions-with-menu.BY394ars.js.map → button-actions-with-menu.1vZJWN1K.js.map} +1 -1
  68. package/dist/chunks/{button-actions.bkcLUE1G.js → button-actions.CdetBz3J.js} +8 -8
  69. package/dist/chunks/button-actions.CdetBz3J.js.map +1 -0
  70. package/dist/chunks/button-actions.types.BptAXjD8.js.map +1 -1
  71. package/dist/chunks/{button.DII5Ifwa.js → button.tsTeQRcP.js} +3 -3
  72. package/dist/chunks/{button.DII5Ifwa.js.map → button.tsTeQRcP.js.map} +1 -1
  73. package/dist/chunks/{calendar.CXdLEeN4.js → calendar.BalfhApP.js} +293 -290
  74. package/dist/chunks/calendar.BalfhApP.js.map +1 -0
  75. package/dist/chunks/{card.BmpB0VbL.js → card.BhhC01dV.js} +7 -7
  76. package/dist/chunks/{card.BmpB0VbL.js.map → card.BhhC01dV.js.map} +1 -1
  77. package/dist/chunks/{checkbox-group.D1uyc3z3.js → checkbox-group.C-1v4X3c.js} +4 -4
  78. package/dist/chunks/{checkbox-group.D1uyc3z3.js.map → checkbox-group.C-1v4X3c.js.map} +1 -1
  79. package/dist/chunks/{checkbox.D5xZ5Nnh.js → checkbox.CnuIUi4-.js} +6 -6
  80. package/dist/chunks/{checkbox.D5xZ5Nnh.js.map → checkbox.CnuIUi4-.js.map} +1 -1
  81. package/dist/chunks/{chip.DRsJylWl.js → chip.Cc4f2vws.js} +14 -12
  82. package/dist/chunks/{chip.DRsJylWl.js.map → chip.Cc4f2vws.js.map} +1 -1
  83. package/dist/chunks/{code-snippet.CnThWqVb.js → code-snippet.Bkd8R0vf.js} +6 -6
  84. package/dist/chunks/{code-snippet.CnThWqVb.js.map → code-snippet.Bkd8R0vf.js.map} +1 -1
  85. package/dist/chunks/{controls-group.fdGc6epa.js → controls-group.Bku83Fm_.js} +3 -3
  86. package/dist/chunks/{controls-group.fdGc6epa.js.map → controls-group.Bku83Fm_.js.map} +1 -1
  87. package/dist/chunks/{copy.CSk1rCRo.js → copy.B12-P_8A.js} +3 -3
  88. package/dist/chunks/{copy.CSk1rCRo.js.map → copy.B12-P_8A.js.map} +1 -1
  89. package/dist/chunks/{country.UZbwr635.js → country._NpkT-91.js} +2 -2
  90. package/dist/chunks/{country.UZbwr635.js.map → country._NpkT-91.js.map} +1 -1
  91. package/dist/chunks/country.types.BCOrkmVK.js.map +1 -1
  92. package/dist/chunks/{currency.POwX-Trj.js → currency.BXsSGoWa.js} +4 -4
  93. package/dist/chunks/{currency.POwX-Trj.js.map → currency.BXsSGoWa.js.map} +1 -1
  94. package/dist/chunks/{dashboard-section.CYEoNH9Q.js → dashboard-section.yS2FNoIV.js} +3 -3
  95. package/dist/chunks/{dashboard-section.CYEoNH9Q.js.map → dashboard-section.yS2FNoIV.js.map} +1 -1
  96. package/dist/chunks/{dashed-underline.CzKc-fJW.js → dashed-underline.RcRbre03.js} +4 -4
  97. package/dist/chunks/{dashed-underline.CzKc-fJW.js.map → dashed-underline.RcRbre03.js.map} +1 -1
  98. package/dist/chunks/{data-grid-template.DCwzh2G7.js → data-grid-template.B5A9whlD.js} +4 -4
  99. package/dist/chunks/{data-grid-template.DCwzh2G7.js.map → data-grid-template.B5A9whlD.js.map} +1 -1
  100. package/dist/chunks/{data-grid.CMxQpfrY.js → data-grid.Pg5iM8CJ.js} +25 -25
  101. package/dist/chunks/{data-grid.CMxQpfrY.js.map → data-grid.Pg5iM8CJ.js.map} +1 -1
  102. package/dist/chunks/{date-picker.gDsw8bn1.js → date-picker.RFus1MVJ.js} +9 -9
  103. package/dist/chunks/{date-picker.gDsw8bn1.js.map → date-picker.RFus1MVJ.js.map} +1 -1
  104. package/dist/chunks/date-picker.types.Ckt7zxGy.js.map +1 -1
  105. package/dist/chunks/{date-range-picker.CqixIJxG.js → date-range-picker.B2B4hO6R.js} +411 -370
  106. package/dist/chunks/date-range-picker.B2B4hO6R.js.map +1 -0
  107. package/dist/chunks/date-range-picker.types.Ckt7zxGy.js.map +1 -1
  108. package/dist/chunks/{date-time-picker.Bktntun4.js → date-time-picker.DJxDa81N.js} +6 -6
  109. package/dist/chunks/{date-time-picker.Bktntun4.js.map → date-time-picker.DJxDa81N.js.map} +1 -1
  110. package/dist/chunks/{date.CPo8t1n9.js → date.P3Xx7JdV.js} +2 -2
  111. package/dist/chunks/{date.CPo8t1n9.js.map → date.P3Xx7JdV.js.map} +1 -1
  112. package/dist/chunks/{dialog-page.Bct3zOQO.js → dialog-page.DORdXmEm.js} +3 -3
  113. package/dist/chunks/{dialog-page.Bct3zOQO.js.map → dialog-page.DORdXmEm.js.map} +1 -1
  114. package/dist/chunks/{draggable-handle.DgVdGC1V.js → draggable-handle.BM07OVdH.js} +2 -2
  115. package/dist/chunks/{draggable-handle.DgVdGC1V.js.map → draggable-handle.BM07OVdH.js.map} +1 -1
  116. package/dist/chunks/{draggable.DYKdXdbj.js → draggable.BczXedk7.js} +59 -56
  117. package/dist/chunks/draggable.BczXedk7.js.map +1 -0
  118. package/dist/chunks/{dropdown-tag.Dk7SooVv.js → dropdown-tag.BmUNKoNw.js} +7 -7
  119. package/dist/chunks/{dropdown-tag.Dk7SooVv.js.map → dropdown-tag.BmUNKoNw.js.map} +1 -1
  120. package/dist/chunks/{dropdown.Bnq4kP7k.js → dropdown.CpZQYisR.js} +9 -9
  121. package/dist/chunks/{dropdown.Bnq4kP7k.js.map → dropdown.CpZQYisR.js.map} +1 -1
  122. package/dist/chunks/{empty-state.C2wjdE3y.js → empty-state.L3DTfiY7.js} +4 -4
  123. package/dist/chunks/{empty-state.C2wjdE3y.js.map → empty-state.L3DTfiY7.js.map} +1 -1
  124. package/dist/chunks/{error-message.DKnoUezI.js → error-message.B-n8wzFo.js} +2 -2
  125. package/dist/chunks/{error-message.DKnoUezI.js.map → error-message.B-n8wzFo.js.map} +1 -1
  126. package/dist/chunks/es6.yPcTMnSH.js.map +1 -1
  127. package/dist/chunks/{field-label.C7BCsofY.js → field-label.BQaDr37D.js} +3 -3
  128. package/dist/chunks/{field-label.C7BCsofY.js.map → field-label.BQaDr37D.js.map} +1 -1
  129. package/dist/chunks/{file-uploader.DllKBmP8.js → file-uploader.Bo17jWtf.js} +11 -11
  130. package/dist/chunks/{file-uploader.DllKBmP8.js.map → file-uploader.Bo17jWtf.js.map} +1 -1
  131. package/dist/chunks/{filter-bar.D7Lk7wlq.js → filter-bar.Bio9nf9V.js} +28 -27
  132. package/dist/chunks/filter-bar.Bio9nf9V.js.map +1 -0
  133. package/dist/chunks/{fixed-scroller.YC4bZifw.js → fixed-scroller.CHmrgoTQ.js} +2 -2
  134. package/dist/chunks/{fixed-scroller.YC4bZifw.js.map → fixed-scroller.CHmrgoTQ.js.map} +1 -1
  135. package/dist/chunks/{footer-actions.C9STwwcv.js → footer-actions.B8f-gEQV.js} +4 -4
  136. package/dist/chunks/{footer-actions.C9STwwcv.js.map → footer-actions.B8f-gEQV.js.map} +1 -1
  137. package/dist/chunks/{form-layout-group.D4T0Z5xk.js → form-layout-group.BSC2esG8.js} +2 -2
  138. package/dist/chunks/{form-layout-group.D4T0Z5xk.js.map → form-layout-group.BSC2esG8.js.map} +1 -1
  139. package/dist/chunks/{form-layout-title.C0lwzPZz.js → form-layout-title.b2BMYjnl.js} +3 -3
  140. package/dist/chunks/{form-layout-title.C0lwzPZz.js.map → form-layout-title.b2BMYjnl.js.map} +1 -1
  141. package/dist/chunks/{header-with-views.BqobE7IF.js → header-with-views.BJCjvhem.js} +16 -16
  142. package/dist/chunks/{header-with-views.BqobE7IF.js.map → header-with-views.BJCjvhem.js.map} +1 -1
  143. package/dist/chunks/{header.CmyqVXuG.js → header.CDiold9n.js} +5 -5
  144. package/dist/chunks/{header.CmyqVXuG.js.map → header.CDiold9n.js.map} +1 -1
  145. package/dist/chunks/{info-icon-with-popover.BvYyGm4D.js → info-icon-with-popover.BzGVcMqy.js} +3 -3
  146. package/dist/chunks/{info-icon-with-popover.BvYyGm4D.js.map → info-icon-with-popover.BzGVcMqy.js.map} +1 -1
  147. package/dist/chunks/{info-icon.B-FAeceD.js → info-icon.D11usblr.js} +2 -2
  148. package/dist/chunks/{info-icon.B-FAeceD.js.map → info-icon.D11usblr.js.map} +1 -1
  149. package/dist/chunks/{input-field-password.9bWhLud0.js → input-field-password.D4Jn2yCi.js} +6 -6
  150. package/dist/chunks/{input-field-password.9bWhLud0.js.map → input-field-password.D4Jn2yCi.js.map} +1 -1
  151. package/dist/chunks/{input-field-phone-number.CCn1N9St.js → input-field-phone-number.lV7yePoJ.js} +3 -3
  152. package/dist/chunks/{input-field-phone-number.CCn1N9St.js.map → input-field-phone-number.lV7yePoJ.js.map} +1 -1
  153. package/dist/chunks/{input-field.D912rZS_.js → input-field.90DWNO1a.js} +7 -7
  154. package/dist/chunks/{input-field.D912rZS_.js.map → input-field.90DWNO1a.js.map} +1 -1
  155. package/dist/chunks/input-time.D7IsprlH.js +157 -0
  156. package/dist/chunks/input-time.D7IsprlH.js.map +1 -0
  157. package/dist/chunks/{inspector-page.BRC_7uro.js → inspector-page.IoC9naSV.js} +4 -4
  158. package/dist/chunks/{inspector-page.BRC_7uro.js.map → inspector-page.IoC9naSV.js.map} +1 -1
  159. package/dist/chunks/{inspector.IOtNex1r.js → inspector.BwtV4rE9.js} +5 -5
  160. package/dist/chunks/{inspector.IOtNex1r.js.map → inspector.BwtV4rE9.js.map} +1 -1
  161. package/dist/chunks/{layout-row.LBn6aJv4.js → layout-row.DYx7F4cb.js} +2 -2
  162. package/dist/chunks/{layout-row.LBn6aJv4.js.map → layout-row.DYx7F4cb.js.map} +1 -1
  163. package/dist/chunks/{link.Cls8XShm.js → link.iNnolG9W.js} +2 -2
  164. package/dist/chunks/{link.Cls8XShm.js.map → link.iNnolG9W.js.map} +1 -1
  165. package/dist/chunks/{list-item.HjabBEb8.js → list-item.ByyA5h1d.js} +5 -5
  166. package/dist/chunks/{list-item.HjabBEb8.js.map → list-item.ByyA5h1d.js.map} +1 -1
  167. package/dist/chunks/{listbox-option-tag.DhNxvqRO.js → listbox-option-tag.Cp_W_p4z.js} +3 -3
  168. package/dist/chunks/{listbox-option-tag.DhNxvqRO.js.map → listbox-option-tag.Cp_W_p4z.js.map} +1 -1
  169. package/dist/chunks/{modal-fullscreen.Bi1bQs4Z.js → modal-fullscreen.DG8Q-jHL.js} +9 -9
  170. package/dist/chunks/modal-fullscreen.DG8Q-jHL.js.map +1 -0
  171. package/dist/chunks/{modal.B3-pmL5s.js → modal.UkzON4bz.js} +7 -7
  172. package/dist/chunks/{modal.B3-pmL5s.js.map → modal.UkzON4bz.js.map} +1 -1
  173. package/dist/chunks/{navigation-menu-group.BnHdXODQ.js → navigation-menu-group.BzKRuhrd.js} +8 -8
  174. package/dist/chunks/navigation-menu-group.BzKRuhrd.js.map +1 -0
  175. package/dist/chunks/{pagination.cI_pc6oE.js → pagination.DZEVT-CA.js} +8 -7
  176. package/dist/chunks/{pagination.cI_pc6oE.js.map → pagination.DZEVT-CA.js.map} +1 -1
  177. package/dist/chunks/{payment-method.DcAITDcK.js → payment-method.meF6XN_X.js} +2 -2
  178. package/dist/chunks/{payment-method.DcAITDcK.js.map → payment-method.meF6XN_X.js.map} +1 -1
  179. package/dist/chunks/payment-method.types.BqtH7RM2.js.map +1 -1
  180. package/dist/chunks/popover.types.DvIwSAAp.js.map +1 -1
  181. package/dist/chunks/popper-container.Cj3AWXSd.js.map +1 -1
  182. package/dist/chunks/{progress-bar.RlF3a0Gb.js → progress-bar.CaurNYsc.js} +4 -4
  183. package/dist/chunks/{progress-bar.RlF3a0Gb.js.map → progress-bar.CaurNYsc.js.map} +1 -1
  184. package/dist/chunks/{promo-banner.B5szTysj.js → promo-banner.CcYpFY9b.js} +3 -3
  185. package/dist/chunks/{promo-banner.B5szTysj.js.map → promo-banner.CcYpFY9b.js.map} +1 -1
  186. package/dist/chunks/{radio-group.CvsQDlHi.js → radio-group.CLbYlzD7.js} +5 -5
  187. package/dist/chunks/{radio-group.CvsQDlHi.js.map → radio-group.CLbYlzD7.js.map} +1 -1
  188. package/dist/chunks/{rich-text-editor.rXoS7KGY.js → rich-text-editor.5SMm2BbC.js} +11 -11
  189. package/dist/chunks/{rich-text-editor.rXoS7KGY.js.map → rich-text-editor.5SMm2BbC.js.map} +1 -1
  190. package/dist/chunks/{scroll-to-section.DhW8SFy0.js → scroll-to-section.CzeBpNj4.js} +2 -2
  191. package/dist/chunks/{scroll-to-section.DhW8SFy0.js.map → scroll-to-section.CzeBpNj4.js.map} +1 -1
  192. package/dist/chunks/{search-bar.--4KVNkf.js → search-bar.DrIwlAQj.js} +8 -8
  193. package/dist/chunks/{search-bar.--4KVNkf.js.map → search-bar.DrIwlAQj.js.map} +1 -1
  194. package/dist/chunks/{secondary-nav.CgdV0QwZ.js → secondary-nav.DRs5yAve.js} +16 -16
  195. package/dist/chunks/{secondary-nav.CgdV0QwZ.js.map → secondary-nav.DRs5yAve.js.map} +1 -1
  196. package/dist/chunks/{segmented-control.nYpRQTGc.js → segmented-control.CcQoBTfT.js} +3 -3
  197. package/dist/chunks/{segmented-control.nYpRQTGc.js.map → segmented-control.CcQoBTfT.js.map} +1 -1
  198. package/dist/chunks/segmented-control.types.BHRLV8KU.js.map +1 -1
  199. package/dist/chunks/{selection-card-group.CmDuj1c7.js → selection-card-group.BYBAG8ig.js} +49 -48
  200. package/dist/chunks/{selection-card-group.CmDuj1c7.js.map → selection-card-group.BYBAG8ig.js.map} +1 -1
  201. package/dist/chunks/{sidepanel.CntIcmx-.js → sidepanel.CLbVkH7v.js} +14 -14
  202. package/dist/chunks/{sidepanel.CntIcmx-.js.map → sidepanel.CLbVkH7v.js.map} +1 -1
  203. package/dist/chunks/{status.DJ1Dfh5s.js → status.BdWYs5MK.js} +2 -2
  204. package/dist/chunks/{status.DJ1Dfh5s.js.map → status.BdWYs5MK.js.map} +1 -1
  205. package/dist/chunks/status.types.Dx8MDhEH.js.map +1 -1
  206. package/dist/chunks/{step.BCa9IOWB.js → step.SkRHgSxN.js} +5 -5
  207. package/dist/chunks/step.SkRHgSxN.js.map +1 -0
  208. package/dist/chunks/{structured-list-item.Bhe0CH1M.js → structured-list-item.BgcR0XlO.js} +10 -9
  209. package/dist/chunks/structured-list-item.BgcR0XlO.js.map +1 -0
  210. package/dist/chunks/{summary-grid.types.C70ED6WD.js → summary-grid.types.Do2PZQGm.js} +6 -6
  211. package/dist/chunks/{summary-grid.types.C70ED6WD.js.map → summary-grid.types.Do2PZQGm.js.map} +1 -1
  212. package/dist/chunks/{tab.BK1sIJAJ.js → tab.zeRxc-3T.js} +49 -48
  213. package/dist/chunks/tab.zeRxc-3T.js.map +1 -0
  214. package/dist/chunks/{table-of-contents.BTy95Rrs.js → table-of-contents.D4sF13f8.js} +3 -3
  215. package/dist/chunks/{table-of-contents.BTy95Rrs.js.map → table-of-contents.D4sF13f8.js.map} +1 -1
  216. package/dist/chunks/{tag.Dz1FQSZb.js → tag.CgsX8v2m.js} +3 -3
  217. package/dist/chunks/{tag.Dz1FQSZb.js.map → tag.CgsX8v2m.js.map} +1 -1
  218. package/dist/chunks/{textarea.CcV9U3I7.js → textarea.DMBnJaB1.js} +7 -7
  219. package/dist/chunks/textarea.DMBnJaB1.js.map +1 -0
  220. package/dist/chunks/{timeline-item.BG2by0xf.js → timeline-item.CS7TCdoU.js} +10 -10
  221. package/dist/chunks/{timeline-item.BG2by0xf.js.map → timeline-item.CS7TCdoU.js.map} +1 -1
  222. package/dist/chunks/{title-details.ChwPP7C5.js → title-details.BhR2nis-.js} +4 -4
  223. package/dist/chunks/{title-details.ChwPP7C5.js.map → title-details.BhR2nis-.js.map} +1 -1
  224. package/dist/chunks/{toast.CO6ByH3n.js → toast.CjDkuh2x.js} +4 -4
  225. package/dist/chunks/{toast.CO6ByH3n.js.map → toast.CjDkuh2x.js.map} +1 -1
  226. package/dist/chunks/{toggle.Dgh7aw1D.js → toggle.BL_w2xUm.js} +4 -4
  227. package/dist/chunks/{toggle.Dgh7aw1D.js.map → toggle.BL_w2xUm.js.map} +1 -1
  228. package/dist/chunks/{tooltip.DFYc5NKM.js → tooltip.BOe7LOfD.js} +2 -2
  229. package/dist/chunks/{tooltip.DFYc5NKM.js.map → tooltip.BOe7LOfD.js.map} +1 -1
  230. package/dist/chunks/{tutorial.K0aOQWIg.js → tutorial.DSbBx_2h.js} +3 -3
  231. package/dist/chunks/{tutorial.K0aOQWIg.js.map → tutorial.DSbBx_2h.js.map} +1 -1
  232. package/dist/chunks/{typography.D1OZJbEa.js → typography.Cd386LC_.js} +5 -5
  233. package/dist/chunks/{typography.D1OZJbEa.js.map → typography.Cd386LC_.js.map} +1 -1
  234. package/dist/chunks/{use-bento-toast-controller.A5xraVqa.js → use-bento-toast-controller.DMA9d_oD.js} +2 -2
  235. package/dist/chunks/{use-bento-toast-controller.A5xraVqa.js.map → use-bento-toast-controller.DMA9d_oD.js.map} +1 -1
  236. package/dist/chunks/{use-date-input-formatter.MgbFwUqJ.js → use-date-input-formatter.CouOE5tF.js} +2 -2
  237. package/dist/chunks/{use-date-input-formatter.MgbFwUqJ.js.map → use-date-input-formatter.CouOE5tF.js.map} +1 -1
  238. package/dist/chunks/{use-dynamic-date-fns-locale.Bpb2DeYR.js → use-dynamic-date-fns-locale.DGqfz_nF.js} +2 -2
  239. package/dist/chunks/{use-dynamic-date-fns-locale.Bpb2DeYR.js.map → use-dynamic-date-fns-locale.DGqfz_nF.js.map} +1 -1
  240. package/dist/code-snippet.js +1 -1
  241. package/dist/country.js +1 -1
  242. package/dist/currency.js +1 -1
  243. package/dist/dashboard-template.js +1 -1
  244. package/dist/dashed-underline.js +1 -1
  245. package/dist/data-grid-template.js +1 -1
  246. package/dist/data-grid.js +1 -1
  247. package/dist/date-picker.js +2 -2
  248. package/dist/date-range-picker.js +2 -2
  249. package/dist/date-time-picker.js +1 -1
  250. package/dist/date.js +1 -1
  251. package/dist/draggable.js +2 -2
  252. package/dist/dropdown.js +2 -2
  253. package/dist/empty-state.js +1 -1
  254. package/dist/file-uploader.js +1 -1
  255. package/dist/filter-bar.js +1 -1
  256. package/dist/form-layout.js +2 -2
  257. package/dist/header-with-views.js +1 -1
  258. package/dist/header.js +1 -1
  259. package/dist/index.js +177 -152
  260. package/dist/index.js.map +1 -1
  261. package/dist/info-icon.js +1 -1
  262. package/dist/input-field-password.js +1 -1
  263. package/dist/input-field-phone-number.js +1 -1
  264. package/dist/input-field.js +1 -1
  265. package/dist/input-time.js +1 -1
  266. package/dist/inspector.js +2 -2
  267. package/dist/internal.js +14 -14
  268. package/dist/layout.js +1 -1
  269. package/dist/link.js +1 -1
  270. package/dist/list.js +1 -1
  271. package/dist/menu.js +1 -1
  272. package/dist/modal-fullscreen.js +1 -1
  273. package/dist/modal.js +2 -2
  274. package/dist/navigation-menu.js +1 -1
  275. package/dist/pagination.js +1 -1
  276. package/dist/payment-method.js +1 -1
  277. package/dist/popover.js +1 -1
  278. package/dist/progress-bar.js +1 -1
  279. package/dist/promo-banner.js +1 -1
  280. package/dist/radio-group.js +1 -1
  281. package/dist/rich-text-editor.js +1 -1
  282. package/dist/search-bar.js +2 -2
  283. package/dist/secondary-nav.js +1 -1
  284. package/dist/segmented-control.js +1 -1
  285. package/dist/selection-card.js +1 -1
  286. package/dist/sidepanel.js +1 -1
  287. package/dist/status.js +1 -1
  288. package/dist/stepper.js +1 -1
  289. package/dist/structured-list.js +1 -1
  290. package/dist/styles/bento-dark.css +3 -0
  291. package/dist/styles/bento-light.css +3 -0
  292. package/dist/styles/bento.css +3 -0
  293. package/dist/styles/legacy.css +3 -0
  294. package/dist/styles/styleguide.css +3 -0
  295. package/dist/styles/utility.css +9 -0
  296. package/dist/summary-grid.js +1 -1
  297. package/dist/table-of-contents.js +1 -1
  298. package/dist/tabs.js +1 -1
  299. package/dist/tag.js +1 -1
  300. package/dist/textarea.js +1 -1
  301. package/dist/timeline.js +1 -1
  302. package/dist/toast.js +1 -1
  303. package/dist/toggle.js +1 -1
  304. package/dist/tutorial.js +1 -1
  305. package/dist/typography.js +1 -1
  306. package/dist/web-types.json +1278 -46
  307. package/package.json +9 -9
  308. package/dist/chunks/button-actions.bkcLUE1G.js.map +0 -1
  309. package/dist/chunks/calendar.CXdLEeN4.js.map +0 -1
  310. package/dist/chunks/date-range-picker.CqixIJxG.js.map +0 -1
  311. package/dist/chunks/draggable.DYKdXdbj.js.map +0 -1
  312. package/dist/chunks/filter-bar.D7Lk7wlq.js.map +0 -1
  313. package/dist/chunks/input-time.CXMuvF9N.js +0 -105
  314. package/dist/chunks/input-time.CXMuvF9N.js.map +0 -1
  315. package/dist/chunks/modal-fullscreen.Bi1bQs4Z.js.map +0 -1
  316. package/dist/chunks/navigation-menu-group.BnHdXODQ.js.map +0 -1
  317. package/dist/chunks/step.BCa9IOWB.js.map +0 -1
  318. package/dist/chunks/structured-list-item.Bhe0CH1M.js.map +0 -1
  319. package/dist/chunks/tab.BK1sIJAJ.js.map +0 -1
  320. package/dist/chunks/textarea.CcV9U3I7.js.map +0 -1
@@ -1,29 +1,29 @@
1
- import { defineComponent as q, provide as Se, computed as N, ref as F, watch as U, nextTick as je, toRef as w, reactive as Te } from "vue";
2
- import { B as Ie } from "./button.DII5Ifwa.js";
3
- import { B as xe } from "./typography.D1OZJbEa.js";
1
+ import { defineComponent as q, provide as Se, computed as S, ref as A, watch as W, nextTick as je, toRef as w, reactive as Te } from "vue";
2
+ import { B as Ie } from "./button.tsTeQRcP.js";
3
+ import { B as xe } from "./typography.Cd386LC_.js";
4
4
  import { u as ue } from "./index.CPOlyau9.js";
5
5
  import { g as Re } from "./generate-uid.DBWe4g6T.js";
6
- import { g as He } from "./index.CL3TXc0a.js";
7
- import { t as S, c as j, n as ce, j as be, w as qe, g as Ce } from "./en-US.C412g-7U.js";
8
- import { d as ke, a as fe, b as ze } from "./differenceInMonths.CPDkGea3.js";
6
+ import { g as ze } from "./index.CL3TXc0a.js";
7
+ import { t as b, c as z, n as ce, j as be, w as He, g as Ce } from "./en-US.C412g-7U.js";
8
+ import { d as ke, a as fe, b as qe } from "./differenceInMonths.CPDkGea3.js";
9
9
  import { s as oe } from "./startOfWeek.CzdYFzXX.js";
10
10
  import { C as Le, a as Be } from "./chevron-left.BdXFLX5u.js";
11
- import { n as z } from "./_plugin-vue2_normalizer.CeySl7Fu.js";
12
- import { h as Ke, i as Qe, B as Ve } from "./dropdown.Bnq4kP7k.js";
11
+ import { n as K } from "./_plugin-vue2_normalizer.CeySl7Fu.js";
12
+ import { h as Ke, i as Qe, B as Ve } from "./dropdown.CpZQYisR.js";
13
13
  import { a as Fe } from "./keyboard-navigation.DWmhelVv.js";
14
- import { a as Je, B as Xe } from "./date.CPo8t1n9.js";
14
+ import { a as Je, B as Xe } from "./date.P3Xx7JdV.js";
15
15
  import "../assets/calendar.css";
16
- var W = /* @__PURE__ */ ((e) => (e[e.MONDAY = 1] = "MONDAY", e[e.SATURDAY = 6] = "SATURDAY", e[e.SUNDAY = 0] = "SUNDAY", e))(W || {}), G = /* @__PURE__ */ ((e) => (e.FIRST = "first", e.LAST = "last", e.MIDDLE = "middle", e.UNIQUE = "unique", e))(G || {}), C = /* @__PURE__ */ ((e) => (e.INPUT = "input", e.START_DATE_SELECTED = "start-date-selected", e.END_DATE_SELECTED = "end-date-selected", e))(C || {}), ye = /* @__PURE__ */ ((e) => (e.DAY = "day", e.MONTH = "month", e))(ye || {});
16
+ var j = /* @__PURE__ */ ((e) => (e[e.MONDAY = 1] = "MONDAY", e[e.SATURDAY = 6] = "SATURDAY", e[e.SUNDAY = 0] = "SUNDAY", e))(j || {}), U = /* @__PURE__ */ ((e) => (e.FIRST = "first", e.LAST = "last", e.MIDDLE = "middle", e.UNIQUE = "unique", e))(U || {}), L = /* @__PURE__ */ ((e) => (e.INPUT = "input", e.START_DATE_SELECTED = "start-date-selected", e.END_DATE_SELECTED = "end-date-selected", e))(L || {}), ye = /* @__PURE__ */ ((e) => (e.DAY = "day", e.MONTH = "month", e))(ye || {});
17
17
  function H(e, t, a) {
18
- const n = S(e, a?.in);
19
- return isNaN(t) ? j(a?.in || e, NaN) : (t && n.setDate(n.getDate() + t), n);
18
+ const n = b(e, a?.in);
19
+ return isNaN(t) ? z(a?.in || e, NaN) : (t && n.setDate(n.getDate() + t), n);
20
20
  }
21
- function L(e, t, a) {
22
- const n = S(e, a?.in);
23
- if (isNaN(t)) return j(a?.in || e, NaN);
21
+ function B(e, t, a) {
22
+ const n = b(e, a?.in);
23
+ if (isNaN(t)) return z(a?.in || e, NaN);
24
24
  if (!t)
25
25
  return n;
26
- const r = n.getDate(), i = j(a?.in || e, n.getTime());
26
+ const r = n.getDate(), i = z(a?.in || e, n.getTime());
27
27
  i.setMonth(n.getMonth() + t + 1, 0);
28
28
  const o = i.getDate();
29
29
  return r >= o ? i : (n.setFullYear(
@@ -32,8 +32,8 @@ function L(e, t, a) {
32
32
  r
33
33
  ), n);
34
34
  }
35
- function A(e, t) {
36
- const a = S(e, t?.in);
35
+ function P(e, t) {
36
+ const a = b(e, t?.in);
37
37
  return a.setHours(0, 0, 0, 0), a;
38
38
  }
39
39
  function he(e, t, a) {
@@ -41,17 +41,17 @@ function he(e, t, a) {
41
41
  a?.in,
42
42
  e,
43
43
  t
44
- ), i = A(n), o = A(r), f = +i - be(i), s = +o - be(o);
45
- return Math.round((f - s) / qe);
44
+ ), i = P(n), o = P(r), d = +i - be(i), s = +o - be(o);
45
+ return Math.round((d - s) / He);
46
46
  }
47
47
  function Ae(e, t, a) {
48
- return L(e, t * 3, a);
48
+ return B(e, t * 3, a);
49
49
  }
50
50
  function Pe(e, t, a) {
51
51
  return H(e, t * 7, a);
52
52
  }
53
53
  function Me(e, t, a) {
54
- return L(e, t * 12, a);
54
+ return B(e, t * 12, a);
55
55
  }
56
56
  function ae(e, t, a) {
57
57
  const [n, r] = ce(
@@ -59,10 +59,10 @@ function ae(e, t, a) {
59
59
  e,
60
60
  t
61
61
  );
62
- return +A(n) == +A(r);
62
+ return +P(n) == +P(r);
63
63
  }
64
64
  function Ee(e, t) {
65
- const a = S(e, t?.in);
65
+ const a = b(e, t?.in);
66
66
  return Math.trunc(a.getMonth() / 3) + 1;
67
67
  }
68
68
  function Ze(e, t, a) {
@@ -74,38 +74,38 @@ function Ze(e, t, a) {
74
74
  return i * 4 + o;
75
75
  }
76
76
  function me(e, t) {
77
- const a = S(e, t?.in), n = a.getMonth(), r = n - n % 3;
77
+ const a = b(e, t?.in), n = a.getMonth(), r = n - n % 3;
78
78
  return a.setMonth(r, 1), a.setHours(0, 0, 0, 0), a;
79
79
  }
80
80
  function se(e, t) {
81
- const a = S(e, t?.in);
81
+ const a = b(e, t?.in);
82
82
  return a.setDate(1), a.setHours(0, 0, 0, 0), a;
83
83
  }
84
84
  function Oe(e, t) {
85
- const a = S(e, t?.in);
85
+ const a = b(e, t?.in);
86
86
  return a.setFullYear(a.getFullYear(), 0, 1), a.setHours(0, 0, 0, 0), a;
87
87
  }
88
88
  function ie(e, t) {
89
- const a = Ce(), n = t?.weekStartsOn ?? t?.locale?.options?.weekStartsOn ?? a.weekStartsOn ?? a.locale?.options?.weekStartsOn ?? 0, r = S(e, t?.in), i = r.getDay(), o = (i < n ? -7 : 0) + 6 - (i - n);
89
+ const a = Ce(), n = t?.weekStartsOn ?? t?.locale?.options?.weekStartsOn ?? a.weekStartsOn ?? a.locale?.options?.weekStartsOn ?? 0, r = b(e, t?.in), i = r.getDay(), o = (i < n ? -7 : 0) + 6 - (i - n);
90
90
  return r.setDate(r.getDate() + o), r.setHours(23, 59, 59, 999), r;
91
91
  }
92
92
  function De(e, t) {
93
- const a = S(e, t?.in), n = a.getMonth(), r = n - n % 3 + 3;
93
+ const a = b(e, t?.in), n = a.getMonth(), r = n - n % 3 + 3;
94
94
  return a.setMonth(r, 0), a.setHours(23, 59, 59, 999), a;
95
95
  }
96
96
  function et(e, t) {
97
- const a = S(e, t?.in), n = a.getFullYear(), r = a.getMonth(), i = j(a, 0);
97
+ const a = b(e, t?.in), n = a.getFullYear(), r = a.getMonth(), i = z(a, 0);
98
98
  return i.setFullYear(n, r + 1, 0), i.setHours(0, 0, 0, 0), i.getDate();
99
99
  }
100
100
  function tt(e, t) {
101
- return +S(e) > +S(t);
101
+ return +b(e) > +b(t);
102
102
  }
103
103
  function nt(e, t) {
104
- return +S(e) < +S(t);
104
+ return +b(e) < +b(t);
105
105
  }
106
106
  function at(e, t, a) {
107
- const n = Ce(), r = a?.weekStartsOn ?? a?.locale?.options?.weekStartsOn ?? n.weekStartsOn ?? n.locale?.options?.weekStartsOn ?? 0, i = S(e, a?.in), o = i.getDay(), s = (t % 7 + 7) % 7, u = 7 - r, m = t < 0 || t > 6 ? t - (o + u) % 7 : (s + u) % 7 - (o + u) % 7;
108
- return H(i, m, a);
107
+ const n = Ce(), r = a?.weekStartsOn ?? a?.locale?.options?.weekStartsOn ?? n.weekStartsOn ?? n.locale?.options?.weekStartsOn ?? 0, i = b(e, a?.in), o = i.getDay(), s = (t % 7 + 7) % 7, u = 7 - r, f = t < 0 || t > 6 ? t - (o + u) % 7 : (s + u) % 7 - (o + u) % 7;
108
+ return H(i, f, a);
109
109
  }
110
110
  function re(e, t, a) {
111
111
  const [n, r] = ce(
@@ -116,27 +116,27 @@ function re(e, t, a) {
116
116
  return n.getFullYear() === r.getFullYear() && n.getMonth() === r.getMonth();
117
117
  }
118
118
  function le(e, t, a) {
119
- const n = +S(e, a?.in), [r, i] = [
120
- +S(t.start, a?.in),
121
- +S(t.end, a?.in)
122
- ].sort((o, f) => o - f);
119
+ const n = +b(e, a?.in), [r, i] = [
120
+ +b(t.start, a?.in),
121
+ +b(t.end, a?.in)
122
+ ].sort((o, d) => o - d);
123
123
  return n >= r && n <= i;
124
124
  }
125
125
  function _e(e, t, a) {
126
126
  return H(e, -t, a);
127
127
  }
128
128
  function rt(e, t, a) {
129
- const n = S(e, a?.in), r = n.getFullYear(), i = n.getDate(), o = j(e, 0);
129
+ const n = b(e, a?.in), r = n.getFullYear(), i = n.getDate(), o = z(e, 0);
130
130
  o.setFullYear(r, t, 15), o.setHours(0, 0, 0, 0);
131
- const f = et(o);
132
- return n.setMonth(t, Math.min(i, f)), n;
131
+ const d = et(o);
132
+ return n.setMonth(t, Math.min(i, d)), n;
133
133
  }
134
134
  function ot(e, t, a) {
135
- let n = S(e, a?.in);
136
- return isNaN(+n) ? j(e, NaN) : (t.year != null && n.setFullYear(t.year), t.month != null && (n = rt(n, t.month)), t.date != null && n.setDate(t.date), t.hours != null && n.setHours(t.hours), t.minutes != null && n.setMinutes(t.minutes), t.seconds != null && n.setSeconds(t.seconds), t.milliseconds != null && n.setMilliseconds(t.milliseconds), n);
135
+ let n = b(e, a?.in);
136
+ return isNaN(+n) ? z(e, NaN) : (t.year != null && n.setFullYear(t.year), t.month != null && (n = rt(n, t.month)), t.date != null && n.setDate(t.date), t.hours != null && n.setHours(t.hours), t.minutes != null && n.setMinutes(t.minutes), t.seconds != null && n.setSeconds(t.seconds), t.milliseconds != null && n.setMilliseconds(t.milliseconds), n);
137
137
  }
138
138
  function te(e, t, a) {
139
- return L(e, -t, a);
139
+ return B(e, -t, a);
140
140
  }
141
141
  function st(e, t, a) {
142
142
  return Ae(e, -t, a);
@@ -174,25 +174,25 @@ const lt = {
174
174
  setup(e, { emit: t }) {
175
175
  const a = e, n = 100, { t: r } = ue();
176
176
  Se(Ke, !0), Se(Qe, !0);
177
- const i = N(() => {
178
- const f = (/* @__PURE__ */ new Date()).getFullYear();
179
- let s = a.yearRange?.minYear ?? f - n, u = a.yearRange?.maxYear ?? f + n;
177
+ const i = S(() => {
178
+ const d = (/* @__PURE__ */ new Date()).getFullYear();
179
+ let s = a.yearRange?.minYear ?? d - n, u = a.yearRange?.maxYear ?? d + n;
180
180
  a.min && a.min.getFullYear() > s && (s = a.min.getFullYear()), a.max && a.max.getFullYear() < u && (u = a.max.getFullYear());
181
- const m = Math.max(0, u - s + 1);
182
- return new Array(m).fill(0).map((c, v) => {
183
- const _ = s + v;
184
- return { label: String(_), value: _ };
181
+ const f = Math.max(0, u - s + 1);
182
+ return new Array(f).fill(0).map((c, D) => {
183
+ const y = s + D;
184
+ return { label: String(y), value: y };
185
185
  });
186
186
  });
187
- return { __sfc: !0, DEFAULT_YEAR_RANGE_OFFSET: n, props: a, emit: t, t: r, yearOptions: i, onYearSelected: (f) => {
188
- t("update:year", f);
187
+ return { __sfc: !0, DEFAULT_YEAR_RANGE_OFFSET: n, props: a, emit: t, t: r, yearOptions: i, onYearSelected: (d) => {
188
+ t("update:year", d);
189
189
  }, BentoDropdown: Ve };
190
190
  }
191
191
  });
192
192
  var dt = function() {
193
193
  var t = this, a = t._self._c, n = t._self._setupProxy;
194
194
  return a(n.BentoDropdown, { attrs: { items: n.yearOptions, "aria-label": n.t("selectYear"), "model-value": t.currentYear }, on: { "update:model-value": n.onYearSelected } });
195
- }, ft = [], mt = /* @__PURE__ */ z(
195
+ }, ft = [], mt = /* @__PURE__ */ K(
196
196
  ct,
197
197
  dt,
198
198
  ft,
@@ -264,13 +264,13 @@ const sn = (e) => {
264
264
  props: Dt,
265
265
  emits: [ee.CLICK, ee.MOUSE_OVER],
266
266
  setup(e, { emit: t }) {
267
- const { locale: a } = ue(void 0, !0), n = N(() => {
267
+ const { locale: a } = ue(void 0, !0), n = S(() => {
268
268
  const s = /* @__PURE__ */ new Date();
269
269
  return e.day.getDate() === s.getDate() && e.day.getMonth() === s.getMonth() && e.day.getFullYear() === s.getFullYear();
270
- }), r = N(() => ge(a.value, { day: "numeric" }).formatToParts(e.day).find((c) => c.type === "day")?.value ?? ""), i = N(() => Number.isNaN(e.day.getTime()) ? void 0 : e.day.toISOString());
270
+ }), r = S(() => ge(a.value, { day: "numeric" }).formatToParts(e.day).find((c) => c.type === "day")?.value ?? ""), i = S(() => Number.isNaN(e.day.getTime()) ? void 0 : e.day.toISOString());
271
271
  return {
272
272
  // Values
273
- conditionalClasses: N(() => ({
273
+ conditionalClasses: S(() => ({
274
274
  // Variants
275
275
  [`b-calendar-month-day--${x.BEGINNING}`]: e.variant === O.BEGINNING,
276
276
  [`b-calendar-month-day--${x.MIDDLE}`]: e.variant === O.MIDDLE,
@@ -303,7 +303,7 @@ var yt = function() {
303
303
  }, keydown: function(n) {
304
304
  return !n.type.indexOf("key") && t._k(n.keyCode, "space", 32, n.key, [" ", "Spacebar"]) && t._k(n.keyCode, "enter", 13, n.key, "Enter") ? null : ((r) => t.onClick(r, t.day)).apply(null, arguments);
305
305
  } } }, [a("div", { staticClass: "b-calendar-month-day__wrapper" }, [a("bento-typography", { staticClass: "b-calendar-month-day__label", attrs: { el: "span", variant: "body", strong: "" } }, [a("time", { attrs: { datetime: t.dateTime } }, [t._v(t._s(t.formattedDate))])])], 1)]);
306
- }, ht = [], _t = /* @__PURE__ */ z(
306
+ }, ht = [], _t = /* @__PURE__ */ K(
307
307
  vt,
308
308
  yt,
309
309
  ht,
@@ -312,87 +312,87 @@ var yt = function() {
312
312
  "65fe3979"
313
313
  );
314
314
  const gt = _t.exports, Ue = ({ currentSelectedDate: e, month: t, isDateDisabled: a, firstDayOfWeek: n }, r) => {
315
- const i = F(new Date(t.value));
316
- U(
315
+ const i = A(new Date(t.value));
316
+ W(
317
317
  t,
318
318
  () => {
319
319
  i.value = t.value;
320
320
  },
321
321
  { immediate: !0 }
322
322
  );
323
- const o = F(new Date(e.value));
324
- U(e, () => {
323
+ const o = A(new Date(e.value));
324
+ W(e, () => {
325
325
  o.value = new Date(e.value);
326
326
  });
327
- const f = He(), s = F(o.value);
328
- U(f, (l) => {
327
+ const d = ze(), s = A(o.value);
328
+ W(d, (l) => {
329
329
  const h = l.getAttribute("data-date");
330
330
  s.value = h ? new Date(h) : o.value;
331
331
  });
332
- const u = F({}), m = (l) => (h) => {
332
+ const u = A({}), f = (l) => (h) => {
333
333
  u.value[l.toDateString()] = h;
334
334
  }, c = () => {
335
335
  u.value = {};
336
- }, v = (l = 1) => {
337
- i.value = L(i.value, l), r("nextMonth", l), c();
338
- }, _ = (l = 1) => {
336
+ }, D = (l = 1) => {
337
+ i.value = B(i.value, l), r("nextMonth", l), c();
338
+ }, y = (l = 1) => {
339
339
  i.value = te(i.value, l), r("previousMonth", l), c();
340
- }, D = (l, h) => {
341
- const b = !!u.value[l?.toDateString()];
342
- return !l || !b ? null : h ? u.value[l.toDateString()].$el : (u.value[l.toDateString()].$el.focus(), null);
343
- }, y = (l) => {
340
+ }, M = (l, h) => {
341
+ const k = !!u.value[l?.toDateString()];
342
+ return !l || !k ? null : h ? u.value[l.toDateString()].$el : (u.value[l.toDateString()].$el.focus(), null);
343
+ }, _ = (l) => {
344
344
  l && (l.preventDefault(), l.stopImmediatePropagation(), l.stopPropagation());
345
- }, d = ({ nextDate: l, isIncreasingDays: h, amountOfMonths: b, isCalendarButtonsNav: B }) => {
346
- if (!B && a && a(l))
345
+ }, m = ({ nextDate: l, isIncreasingDays: h, amountOfMonths: k, isCalendarButtonsNav: F }) => {
346
+ if (!F && a && a(l))
347
347
  return;
348
- l.getMonth() === o.value.getMonth() && l.getFullYear() === o.value.getFullYear() ? (o.value = l, D(l)) : (h ? v(b) : _(b), je(() => {
348
+ l.getMonth() === o.value.getMonth() && l.getFullYear() === o.value.getFullYear() ? (o.value = l, M(l)) : (h ? D(k) : y(k), je(() => {
349
349
  const de = l.getMonth() === i.value.getMonth() && l.getFullYear() === i.value.getFullYear();
350
- a && a(l) || !de || B || (o.value = l, D(l));
350
+ a && a(l) || !de || F || (o.value = l, M(l));
351
351
  }));
352
352
  };
353
353
  return {
354
354
  // Calendar days ref
355
355
  calendarRef: u,
356
- addDayRef: m,
356
+ addDayRef: f,
357
357
  /**
358
358
  * Month navigation
359
359
  */
360
- showNextMonth: v,
361
- showPreviousMonth: _,
360
+ showNextMonth: D,
361
+ showPreviousMonth: y,
362
362
  /**
363
363
  * Focus method
364
364
  */
365
- focusOnDate: D,
365
+ focusOnDate: M,
366
366
  /**
367
367
  * Day navigation
368
368
  */
369
369
  // ArrowRight
370
370
  moveToNextDay: (l) => {
371
- y(l), d({ nextDate: H(s.value, 1), isIncreasingDays: !0 });
371
+ _(l), m({ nextDate: H(s.value, 1), isIncreasingDays: !0 });
372
372
  },
373
373
  // ArrowLeft
374
374
  moveToPreviousDay: (l) => {
375
- y(l), d({ nextDate: _e(s.value, 1), isIncreasingDays: !1 });
375
+ _(l), m({ nextDate: _e(s.value, 1), isIncreasingDays: !1 });
376
376
  },
377
377
  // ArrowUp
378
378
  moveToPreviousWeek: (l) => {
379
- y(l), d({ nextDate: _e(s.value, 7), isIncreasingDays: !1 });
379
+ _(l), m({ nextDate: _e(s.value, 7), isIncreasingDays: !1 });
380
380
  },
381
381
  // ArrowDown
382
382
  moveToNextWeek: (l) => {
383
- y(l), d({ nextDate: H(s.value, 7), isIncreasingDays: !0 });
383
+ _(l), m({ nextDate: H(s.value, 7), isIncreasingDays: !0 });
384
384
  },
385
385
  // Home
386
386
  moveToFirstDayOfWeek: (l) => {
387
- y(l), d({
387
+ _(l), m({
388
388
  nextDate: oe(s.value, { weekStartsOn: n }),
389
389
  isIncreasingDays: !1
390
390
  });
391
391
  },
392
392
  moveToFirstMonthOfYear: (l) => {
393
- y(l);
393
+ _(l);
394
394
  const h = ke(o.value, Oe(o.value));
395
- d({
395
+ m({
396
396
  nextDate: Oe(o.value),
397
397
  isIncreasingDays: !1,
398
398
  amountOfMonths: h
@@ -400,55 +400,55 @@ const gt = _t.exports, Ue = ({ currentSelectedDate: e, month: t, isDateDisabled:
400
400
  },
401
401
  // End
402
402
  moveToLastDayOfWeek: (l) => {
403
- y(l), d({
403
+ _(l), m({
404
404
  nextDate: ie(s.value, { weekStartsOn: n }),
405
405
  isIncreasingDays: !0
406
406
  });
407
407
  },
408
408
  moveToLastMonthOfYear: (l) => {
409
- y(l);
410
- const h = ot(o.value, { month: 11, date: 1 }), b = ke(h, o.value);
411
- d({
409
+ _(l);
410
+ const h = ot(o.value, { month: 11, date: 1 }), k = ke(h, o.value);
411
+ m({
412
412
  nextDate: h,
413
413
  isIncreasingDays: !0,
414
- amountOfMonths: b
414
+ amountOfMonths: k
415
415
  });
416
416
  },
417
417
  // PageUp
418
- moveToPreviousMonth: (l, h = !1, b = 1) => {
419
- y(l), d({
420
- nextDate: te(s.value, b),
418
+ moveToPreviousMonth: (l, h = !1, k = 1) => {
419
+ _(l), m({
420
+ nextDate: te(s.value, k),
421
421
  isIncreasingDays: !1,
422
- amountOfMonths: b,
422
+ amountOfMonths: k,
423
423
  isCalendarButtonsNav: h
424
424
  });
425
425
  },
426
426
  // Shift+PageUp
427
- moveToPreviousYear: (l, h = !1, b = 1) => {
428
- y(l), d({
429
- nextDate: $e(s.value, b),
427
+ moveToPreviousYear: (l, h = !1, k = 1) => {
428
+ _(l), m({
429
+ nextDate: $e(s.value, k),
430
430
  isIncreasingDays: !1,
431
- amountOfMonths: b * 12,
431
+ amountOfMonths: k * 12,
432
432
  isCalendarButtonsNav: h
433
433
  });
434
434
  },
435
435
  // PageDown
436
- moveToNextMonth: (l, h = !1, b = 1) => {
437
- y(l);
438
- const B = b;
439
- d({
440
- nextDate: L(s.value, B),
436
+ moveToNextMonth: (l, h = !1, k = 1) => {
437
+ _(l);
438
+ const F = k;
439
+ m({
440
+ nextDate: B(s.value, F),
441
441
  isIncreasingDays: !0,
442
- amountOfMonths: B,
442
+ amountOfMonths: F,
443
443
  isCalendarButtonsNav: h
444
444
  });
445
445
  },
446
446
  // Shift-PageDown
447
- moveToNextYear: (l, h = !1, b = 1) => {
448
- y(l), d({
449
- nextDate: Me(s.value, b),
447
+ moveToNextYear: (l, h = !1, k = 1) => {
448
+ _(l), m({
449
+ nextDate: Me(s.value, k),
450
450
  isIncreasingDays: !0,
451
- amountOfMonths: b * 12,
451
+ amountOfMonths: k * 12,
452
452
  isCalendarButtonsNav: h
453
453
  });
454
454
  },
@@ -475,7 +475,7 @@ const gt = _t.exports, Ue = ({ currentSelectedDate: e, month: t, isDateDisabled:
475
475
  ...Mt,
476
476
  props: {
477
477
  endDate: { default: null },
478
- firstDayOfWeek: { default: W.MONDAY },
478
+ firstDayOfWeek: { default: j.MONDAY },
479
479
  isDateDisabled: { type: Function, default: void 0 },
480
480
  isRange: { type: Boolean, default: !1 },
481
481
  max: { default: null },
@@ -487,24 +487,24 @@ const gt = _t.exports, Ue = ({ currentSelectedDate: e, month: t, isDateDisabled:
487
487
  },
488
488
  emits: ["input", "changeDay", "nextMonth", "previousMonth", "mouseover"],
489
489
  setup(e, { expose: t, emit: a }) {
490
- const n = e, { locale: r, t: i } = ue(), o = Re("bento-date-picker-month-label"), f = N(
491
- () => (M) => n.min && M < n.min || n.max && M > n.max || n.isDateDisabled?.(M)
490
+ const n = e, { locale: r, t: i } = ue(), o = Re("bento-date-picker-month-label"), d = S(
491
+ () => (N) => n.min && N < n.min || n.max && N > n.max || n.isDateDisabled?.(N)
492
492
  ), {
493
493
  internalDate: s,
494
494
  baseDate: u,
495
495
  // Calendar refs
496
- addDayRef: m,
496
+ addDayRef: f,
497
497
  // Day navigation
498
498
  moveToNextDay: c,
499
- moveToPreviousDay: v,
500
- moveToPreviousWeek: _,
501
- moveToNextWeek: D,
502
- moveToFirstDayOfWeek: y,
503
- moveToLastDayOfWeek: d,
504
- moveToPreviousMonth: p,
505
- moveToPreviousYear: E,
506
- moveToNextMonth: k,
507
- moveToNextYear: K,
499
+ moveToPreviousDay: D,
500
+ moveToPreviousWeek: y,
501
+ moveToNextWeek: M,
502
+ moveToFirstDayOfWeek: _,
503
+ moveToLastDayOfWeek: m,
504
+ moveToPreviousMonth: v,
505
+ moveToPreviousYear: g,
506
+ moveToNextMonth: E,
507
+ moveToNextYear: C,
508
508
  focusOnDate: Q,
509
509
  showNextMonth: V,
510
510
  showPreviousMonth: J
@@ -512,54 +512,54 @@ const gt = _t.exports, Ue = ({ currentSelectedDate: e, month: t, isDateDisabled:
512
512
  {
513
513
  currentSelectedDate: w(n, "startDate"),
514
514
  month: w(n, "month"),
515
- isDateDisabled: f.value,
515
+ isDateDisabled: d.value,
516
516
  firstDayOfWeek: n.firstDayOfWeek
517
517
  },
518
518
  a
519
- ), g = N(
520
- () => Object.values(W).includes(n.firstDayOfWeek) ? n.firstDayOfWeek : W.MONDAY
521
- ), P = N(() => ["first", "unique"].includes(n.position)), Y = N(() => ["last", "unique"].includes(n.position)), X = N(
519
+ ), p = S(
520
+ () => Object.values(j).includes(n.firstDayOfWeek) ? n.firstDayOfWeek : j.MONDAY
521
+ ), $ = S(() => ["first", "unique"].includes(n.position)), Y = S(() => ["last", "unique"].includes(n.position)), X = S(
522
522
  () => ge(r.value, { month: "long" }).format(u.value)
523
- ), Z = (M) => {
524
- const I = u.value.getFullYear(), ne = (M - I) * 12;
523
+ ), Z = (N) => {
524
+ const I = u.value.getFullYear(), ne = (N - I) * 12;
525
525
  ne > 0 ? V(ne) : ne < 0 && J(Math.abs(ne));
526
- }, l = N(
527
- () => new Array(7).fill(/* @__PURE__ */ new Date()).map((M, I) => {
528
- const $ = at(M, g.value + I);
529
- return ge(r.value, { weekday: "short" }).format($);
526
+ }, l = S(
527
+ () => new Array(7).fill(/* @__PURE__ */ new Date()).map((N, I) => {
528
+ const G = at(N, p.value + I);
529
+ return ge(r.value, { weekday: "short" }).format(G);
530
530
  })
531
- ), h = N(() => {
532
- const M = [], I = se(n.month);
533
- let $ = M[M.push([]) - 1];
531
+ ), h = S(() => {
532
+ const N = [], I = se(n.month);
533
+ let G = N[N.push([]) - 1];
534
534
  for (; I.getMonth() === n.month.getMonth(); )
535
- I.getDay() - g.value === 0 && $.length > 0 && ($ = M[M.push([]) - 1]), $.push(A(I)), I.setDate(I.getDate() + 1);
536
- return M;
537
- }), b = (M) => {
538
- a("input", M);
539
- }, B = (M) => {
535
+ I.getDay() - p.value === 0 && G.length > 0 && (G = N[N.push([]) - 1]), G.push(P(I)), I.setDate(I.getDate() + 1);
536
+ return N;
537
+ }), k = (N) => {
538
+ a("input", N);
539
+ }, F = (N) => {
540
540
  if (!n.isRange || ae(n.startDate, n.endDate))
541
541
  return O.SINGLE;
542
- if (n.startDate && ae(n.startDate, M))
542
+ if (n.startDate && ae(n.startDate, N))
543
543
  return O.BEGINNING;
544
- if (n.endDate && ae(n.endDate, M))
544
+ if (n.endDate && ae(n.endDate, N))
545
545
  return O.END;
546
- if (n.startDate && n.endDate && le(M, { start: n.startDate, end: n.endDate }))
546
+ if (n.startDate && n.endDate && le(N, { start: n.startDate, end: n.endDate }))
547
547
  return O.MIDDLE;
548
- }, Ne = (M) => s.value && ae(s.value, M) && !n.endDate ? !0 : n.startDate && n.endDate && le(M, { start: n.startDate, end: n.endDate }), de = {
548
+ }, Ne = (N) => s.value && ae(s.value, N) && !n.endDate ? !0 : n.startDate && n.endDate && le(N, { start: n.startDate, end: n.endDate }), de = {
549
549
  "keydown:arrow-right": c,
550
- "keydown:arrow-left": v,
551
- "keydown:arrow-up": _,
552
- "keydown:arrow-down": D,
553
- "keydown:home": y,
554
- "keydown:end": d,
555
- "keydown:page-up": p,
556
- "keydown:shift-page-up": E,
557
- "keydown:page-down": k,
558
- "keydown:shift-page-down": K
550
+ "keydown:arrow-left": D,
551
+ "keydown:arrow-up": y,
552
+ "keydown:arrow-down": M,
553
+ "keydown:home": _,
554
+ "keydown:end": m,
555
+ "keydown:page-up": v,
556
+ "keydown:shift-page-up": g,
557
+ "keydown:page-down": E,
558
+ "keydown:shift-page-down": C
559
559
  };
560
560
  return t({
561
561
  focusOnDate: Q
562
- }), { __sfc: !0, emit: a, props: n, locale: r, t: i, monthLabelId: o, computedIsDateDisabled: f, internalDate: s, baseDate: u, addDayRef: m, moveToNextDay: c, moveToPreviousDay: v, moveToPreviousWeek: _, moveToNextWeek: D, moveToFirstDayOfWeek: y, moveToLastDayOfWeek: d, moveToPreviousMonth: p, moveToPreviousYear: E, moveToNextMonth: k, moveToNextYear: K, focusOnDate: Q, showNextMonth: V, showPreviousMonth: J, fallbackFirstDayOfWeek: g, shouldShowPreviousMonthButton: P, shouldShowNextMonthButton: Y, formattedMonthName: X, onYearSelected: Z, daysOfWeek: l, weeksOfMonth: h, onDayClicked: b, dayVariant: B, isSelectedDate: Ne, listeners: de, BentoButton: Ie, CalendarYearSelector: Ge, CalendarMonthDay: gt, BentoTypography: xe, vBentoKeyboardNavigationDirective: Fe, ChevronLeftIcon: Be, ChevronRightIcon: Le };
562
+ }), { __sfc: !0, emit: a, props: n, locale: r, t: i, monthLabelId: o, computedIsDateDisabled: d, internalDate: s, baseDate: u, addDayRef: f, moveToNextDay: c, moveToPreviousDay: D, moveToPreviousWeek: y, moveToNextWeek: M, moveToFirstDayOfWeek: _, moveToLastDayOfWeek: m, moveToPreviousMonth: v, moveToPreviousYear: g, moveToNextMonth: E, moveToNextYear: C, focusOnDate: Q, showNextMonth: V, showPreviousMonth: J, fallbackFirstDayOfWeek: p, shouldShowPreviousMonthButton: $, shouldShowNextMonthButton: Y, formattedMonthName: X, onYearSelected: Z, daysOfWeek: l, weeksOfMonth: h, onDayClicked: k, dayVariant: F, isSelectedDate: Ne, listeners: de, BentoButton: Ie, CalendarYearSelector: Ge, CalendarMonthDay: gt, BentoTypography: xe, vBentoKeyboardNavigationDirective: Fe, ChevronLeftIcon: Be, ChevronRightIcon: Le };
563
563
  }
564
564
  });
565
565
  var St = function() {
@@ -575,8 +575,8 @@ var St = function() {
575
575
  }, proxy: !0 }], null, !1, 896406361) }) : t._e()], 1)]), a("table", { staticClass: "b-calendar-month__month-container", attrs: { role: "grid", "aria-labelledby": n.monthLabelId } }, [a("thead", [a("tr", { staticClass: "b-calendar-month__week-header" }, t._l(n.daysOfWeek, function(r, i) {
576
576
  return a("th", { key: i, staticClass: "b-calendar-month__day-of-week", attrs: { scope: "col" } }, [a(n.BentoTypography, { staticClass: "b-calendar-month__day-of-week-font", attrs: { el: "span", variant: "caption" } }, [t._v(" " + t._s(r) + " ")])], 1);
577
577
  }), 0)]), a("tbody", [t._l(n.weeksOfMonth, function(r, i) {
578
- return a("tr", { key: i }, [i === 0 && r.length < 7 ? a("td", { attrs: { colspan: 7 - r.length } }) : t._e(), t._l(r, function(o, f) {
579
- return a(n.CalendarMonthDay, { key: `calendar-day-${f}`, ref: n.addDayRef(o), refInFor: !0, attrs: { day: o, disabled: n.computedIsDateDisabled(o), selected: n.isSelectedDate(o), variant: n.dayVariant(o) }, on: { click: n.onDayClicked, mouseover: function(s) {
578
+ return a("tr", { key: i }, [i === 0 && r.length < 7 ? a("td", { attrs: { colspan: 7 - r.length } }) : t._e(), t._l(r, function(o, d) {
579
+ return a(n.CalendarMonthDay, { key: `calendar-day-${d}`, ref: n.addDayRef(o), refInFor: !0, attrs: { day: o, disabled: n.computedIsDateDisabled(o), selected: n.isSelectedDate(o), variant: n.dayVariant(o) }, on: { click: n.onDayClicked, mouseover: function(s) {
580
580
  return t.$emit("mouseover", o);
581
581
  } }, nativeOn: { keyup: [function(s) {
582
582
  return !s.type.indexOf("key") && t._k(s.keyCode, "up", 38, s.key, ["Up", "ArrowUp"]) ? null : t.$emit("changeDay", o);
@@ -591,7 +591,7 @@ var St = function() {
591
591
  }), n.weeksOfMonth?.length < 6 ? t._l(6 - n.weeksOfMonth?.length, function(r) {
592
592
  return a("tr", { key: `calendar month filler row ${r}` }, [a("td", { staticClass: "b-calendar-month__empty-cell-filler", attrs: { "aria-hidden": "true", colspan: 7 } })]);
593
593
  }) : t._e()], 2)])]);
594
- }, bt = [], kt = /* @__PURE__ */ z(
594
+ }, bt = [], kt = /* @__PURE__ */ K(
595
595
  Nt,
596
596
  St,
597
597
  bt,
@@ -612,10 +612,10 @@ const Et = {}, Ot = /* @__PURE__ */ q({
612
612
  },
613
613
  emits: ["click", "mouseover"],
614
614
  setup(e, { emit: t }) {
615
- const a = e, n = N(() => {
615
+ const a = e, n = S(() => {
616
616
  const o = /* @__PURE__ */ new Date();
617
617
  return a.month.getMonth() === o.getMonth() && a.month.getFullYear() === o.getFullYear();
618
- }), r = N(() => ({
618
+ }), r = S(() => ({
619
619
  // Variants
620
620
  [`b-calendar-year-month--${R.BEGINNING}`]: a.variant === T.BEGINNING,
621
621
  [`b-calendar-year-month--${R.MIDDLE}`]: a.variant === T.MIDDLE,
@@ -629,8 +629,8 @@ const Et = {}, Ot = /* @__PURE__ */ q({
629
629
  // Disabled
630
630
  [`b-calendar-year-month--${R.DISABLED}`]: a.disabled
631
631
  }));
632
- return { __sfc: !0, props: a, emit: t, isCurrentMonth: n, conditionalClasses: r, onClick: (o, f) => {
633
- a.disabled ? (o.preventDefault(), o.stopPropagation()) : t(pe.CLICK, f, a.month);
632
+ return { __sfc: !0, props: a, emit: t, isCurrentMonth: n, conditionalClasses: r, onClick: (o, d) => {
633
+ a.disabled ? (o.preventDefault(), o.stopPropagation()) : t(pe.CLICK, d, a.month);
634
634
  }, BentoDate: Xe, BentoDateFormat: Je, CalendarYearMonthEvent: pe };
635
635
  }
636
636
  });
@@ -641,7 +641,7 @@ var Yt = function() {
641
641
  }, keydown: function(r) {
642
642
  return !r.type.indexOf("key") && t._k(r.keyCode, "space", 32, r.key, [" ", "Spacebar"]) && t._k(r.keyCode, "enter", 13, r.key, "Enter") ? null : ((i) => n.onClick(i, t.month)).apply(null, arguments);
643
643
  } } }, [a("div", { staticClass: "b-calendar-year-month__wrapper" }, [a(n.BentoDate, { staticClass: "b-calendar-year-month__label", attrs: { date: t.month, format: n.BentoDateFormat.SHORT_MONTH } })], 1)]);
644
- }, wt = [], Tt = /* @__PURE__ */ z(
644
+ }, wt = [], Tt = /* @__PURE__ */ K(
645
645
  Ot,
646
646
  Yt,
647
647
  wt,
@@ -673,28 +673,28 @@ const It = Tt.exports, xt = {
673
673
  min: { default: null },
674
674
  max: { default: null },
675
675
  yearRange: { default: void 0 },
676
- position: { default: G.UNIQUE },
676
+ position: { default: U.UNIQUE },
677
677
  startDate: { default: null },
678
678
  year: null
679
679
  },
680
680
  emits: ["input", "changeDay", "nextMonth", "previousMonth", "mouseover"],
681
681
  setup(e, { expose: t, emit: a }) {
682
- const n = e, r = Re("bento-date-picker-year-label"), { t: i } = ue(), o = (g) => n.min && g < n.min || n.max && g > n.max || n.isDateDisabled?.(g), f = N(
682
+ const n = e, r = Re("bento-date-picker-year-label"), { t: i } = ue(), o = (p) => n.min && p < n.min || n.max && p > n.max || n.isDateDisabled?.(p), d = S(
683
683
  () => ["first", "unique"].includes(n.position)
684
- ), s = N(
684
+ ), s = S(
685
685
  () => ["last", "unique"].includes(n.position)
686
686
  ), {
687
687
  internalDate: u,
688
688
  // Calendar refs
689
- addDayRef: m,
689
+ addDayRef: f,
690
690
  // Day navigation
691
691
  moveToPreviousMonth: c,
692
- moveToPreviousYear: v,
693
- moveToNextMonth: _,
694
- moveToNextYear: D,
695
- moveToFirstMonthOfYear: y,
696
- moveToLastMonthOfYear: d,
697
- focusOnDate: p
692
+ moveToPreviousYear: D,
693
+ moveToNextMonth: y,
694
+ moveToNextYear: M,
695
+ moveToFirstMonthOfYear: _,
696
+ moveToLastMonthOfYear: m,
697
+ focusOnDate: v
698
698
  } = Ue(
699
699
  {
700
700
  currentSelectedDate: w(n, "startDate"),
@@ -702,32 +702,32 @@ const It = Tt.exports, xt = {
702
702
  isDateDisabled: o
703
703
  },
704
704
  a
705
- ), E = (g) => {
706
- const P = n.year.getFullYear(), Y = g - P;
707
- Y > 0 ? D(null, !0, Y) : Y < 0 && v(null, !0, Math.abs(Y));
708
- }, k = N(() => {
709
- const g = [];
710
- let P = 0;
705
+ ), g = (p) => {
706
+ const $ = n.year.getFullYear(), Y = p - $;
707
+ Y > 0 ? M(null, !0, Y) : Y < 0 && D(null, !0, Math.abs(Y));
708
+ }, E = S(() => {
709
+ const p = [];
710
+ let $ = 0;
711
711
  for (let Y = 0; Y < 3; Y++) {
712
712
  const X = [];
713
713
  for (let Z = 0; Z < 4; Z++)
714
- X.push(new Date(n.year.getFullYear(), P++, 1));
715
- g.push(X);
714
+ X.push(new Date(n.year.getFullYear(), $++, 1));
715
+ p.push(X);
716
716
  }
717
- return g;
718
- }), K = (g) => !n.isRange || re(n.startDate, n.endDate) ? T.SINGLE : n.startDate && re(n.startDate, g) ? T.BEGINNING : n.endDate && re(n.endDate, g) ? T.END : n.startDate && n.endDate && le(g, { start: n.startDate, end: n.endDate }) ? T.MIDDLE : null, Q = (g) => u.value && re(u.value, g) ? !0 : n.startDate && n.endDate && le(g, { start: n.startDate, end: n.endDate }), V = (g) => {
719
- a("input", g);
717
+ return p;
718
+ }), C = (p) => !n.isRange || re(n.startDate, n.endDate) ? T.SINGLE : n.startDate && re(n.startDate, p) ? T.BEGINNING : n.endDate && re(n.endDate, p) ? T.END : n.startDate && n.endDate && le(p, { start: n.startDate, end: n.endDate }) ? T.MIDDLE : null, Q = (p) => u.value && re(u.value, p) ? !0 : n.startDate && n.endDate && le(p, { start: n.startDate, end: n.endDate }), V = (p) => {
719
+ a("input", p);
720
720
  }, J = n.isRange ? {} : {
721
- "keydown:arrow-right": _,
721
+ "keydown:arrow-right": y,
722
722
  "keydown:arrow-left": c,
723
- "keydown:arrow-up": (g) => c(g, !1, 4),
724
- "keydown:arrow-down": (g) => _(g, !1, 4),
725
- "keydown:home": y,
726
- "keydown:end": d,
727
- "keydown:page-up": v,
728
- "keydown:page-down": D
723
+ "keydown:arrow-up": (p) => c(p, !1, 4),
724
+ "keydown:arrow-down": (p) => y(p, !1, 4),
725
+ "keydown:home": _,
726
+ "keydown:end": m,
727
+ "keydown:page-up": D,
728
+ "keydown:page-down": M
729
729
  };
730
- return t({ focusOnDate: p }), { __sfc: !0, yearLabelId: r, props: n, emit: a, t: i, isDateDisabled: o, shouldShowPreviousYearButton: f, shouldShowNextYearButton: s, internalDate: u, addDayRef: m, moveToPreviousMonth: c, moveToPreviousYear: v, moveToNextMonth: _, moveToNextYear: D, moveToFirstMonthOfYear: y, moveToLastMonthOfYear: d, focusOnDate: p, onYearSelected: E, monthRows: k, monthVariant: K, isSelectedDate: Q, onMonthClicked: V, listeners: J, BentoButton: Ie, CalendarYearMonth: It, CalendarYearSelector: Ge, ChevronLeftIcon: Be, ChevronRightIcon: Le, vBentoKeyboardNavigationDirective: Fe };
730
+ return t({ focusOnDate: v }), { __sfc: !0, yearLabelId: r, props: n, emit: a, t: i, isDateDisabled: o, shouldShowPreviousYearButton: d, shouldShowNextYearButton: s, internalDate: u, addDayRef: f, moveToPreviousMonth: c, moveToPreviousYear: D, moveToNextMonth: y, moveToNextYear: M, moveToFirstMonthOfYear: _, moveToLastMonthOfYear: m, focusOnDate: v, onYearSelected: g, monthRows: E, monthVariant: C, isSelectedDate: Q, onMonthClicked: V, listeners: J, BentoButton: Ie, CalendarYearMonth: It, CalendarYearSelector: Ge, ChevronLeftIcon: Be, ChevronRightIcon: Le, vBentoKeyboardNavigationDirective: Fe };
731
731
  }
732
732
  });
733
733
  var Lt = function() {
@@ -741,13 +741,13 @@ var Lt = function() {
741
741
  } }, scopedSlots: t._u([{ key: "iconLeft", fn: function() {
742
742
  return [a(n.ChevronRightIcon, { attrs: { "svg-title": n.t("nextYear") } })];
743
743
  }, proxy: !0 }], null, !1, 3324005926) }) : t._e()], 1)]), a("table", { staticClass: "b-calendar-year__year-container", attrs: { role: "grid", "aria-labelledby": n.yearLabelId } }, [a("tbody", t._l(n.monthRows, function(r, i) {
744
- return a("tr", { key: i }, t._l(r, function(o, f) {
745
- return a(n.CalendarYearMonth, { key: `calendar-month-${f}`, ref: n.addDayRef(o), refInFor: !0, attrs: { month: o, disabled: n.isDateDisabled(o), selected: n.isSelectedDate(o), variant: n.monthVariant(o) }, on: { click: n.onMonthClicked, mouseover: function(s) {
744
+ return a("tr", { key: i }, t._l(r, function(o, d) {
745
+ return a(n.CalendarYearMonth, { key: `calendar-month-${d}`, ref: n.addDayRef(o), refInFor: !0, attrs: { month: o, disabled: n.isDateDisabled(o), selected: n.isSelectedDate(o), variant: n.monthVariant(o) }, on: { click: n.onMonthClicked, mouseover: function(s) {
746
746
  return n.emit("mouseover", o);
747
747
  } } });
748
748
  }), 1);
749
749
  }), 0)])]);
750
- }, Bt = [], Ft = /* @__PURE__ */ z(
750
+ }, Bt = [], Ft = /* @__PURE__ */ K(
751
751
  Ct,
752
752
  Lt,
753
753
  Bt,
@@ -760,7 +760,7 @@ const we = Ft.exports, At = ({ selectedDate: e }, t) => {
760
760
  startDate: null,
761
761
  endDate: null
762
762
  });
763
- return U(
763
+ return W(
764
764
  () => e.value,
765
765
  () => {
766
766
  a.startDate = e.value, a.endDate = void 0;
@@ -769,7 +769,7 @@ const we = Ft.exports, At = ({ selectedDate: e }, t) => {
769
769
  ), {
770
770
  internalValue: a,
771
771
  onDateInput: (r) => {
772
- t(C.INPUT, r);
772
+ t(L.INPUT, r);
773
773
  },
774
774
  // Empty function to prevent the listeners from throwing a warning
775
775
  // eslint-disable-next-line @typescript-eslint/no-empty-function
@@ -791,9 +791,9 @@ const we = Ft.exports, At = ({ selectedDate: e }, t) => {
791
791
  add: Pe
792
792
  },
793
793
  monthly: {
794
- getCount: (e, t) => ze(e, t) + 1,
794
+ getCount: (e, t) => qe(e, t) + 1,
795
795
  sub: te,
796
- add: L
796
+ add: B
797
797
  },
798
798
  quarterly: {
799
799
  getCount: (e, t) => Ze(e, t) + 1,
@@ -802,94 +802,96 @@ const we = Ft.exports, At = ({ selectedDate: e }, t) => {
802
802
  }
803
803
  }, $t = (e) => {
804
804
  const r = {
805
- weekly: (o, f, s, u) => {
806
- let m = oe(o, { weekStartsOn: e }), c = ie(f || o, { weekStartsOn: e });
807
- const v = s && m < s, _ = u && c > u;
808
- return v && (m = oe(s, { weekStartsOn: e })), _ && (c = ie(u, { weekStartsOn: e })), m > c && (v ? c = ie(m, { weekStartsOn: e }) : m = oe(c, { weekStartsOn: e })), { startDate: m, endDate: c };
805
+ weekly: (o, d, s, u) => {
806
+ let f = oe(o, { weekStartsOn: e }), c = ie(d || o, { weekStartsOn: e });
807
+ const D = s && f < s, y = u && c > u;
808
+ return D && (f = oe(s, { weekStartsOn: e })), y && (c = ie(u, { weekStartsOn: e })), f > c && (D ? c = ie(f, { weekStartsOn: e }) : f = oe(c, { weekStartsOn: e })), { startDate: f, endDate: c };
809
809
  },
810
- monthly: (o, f, s, u) => {
811
- let m = se(o), c = fe(f || o);
812
- const v = s && m < s, _ = u && c > u;
813
- return v && (m = se(s)), _ && (c = fe(u)), m > c && (v ? c = fe(m) : m = se(c)), { startDate: m, endDate: c };
810
+ monthly: (o, d, s, u) => {
811
+ let f = se(o), c = fe(d || o);
812
+ const D = s && f < s, y = u && c > u;
813
+ return D && (f = se(s)), y && (c = fe(u)), f > c && (D ? c = fe(f) : f = se(c)), { startDate: f, endDate: c };
814
814
  },
815
- quarterly: (o, f, s, u) => {
816
- let m = me(o), c = De(f || o);
817
- const v = s instanceof Date && m < s, _ = u instanceof Date && c > u;
818
- return v && (m = me(s)), _ && (c = De(u)), m > c && (v ? c = De(m) : m = me(c)), { startDate: m, endDate: c };
815
+ quarterly: (o, d, s, u) => {
816
+ let f = me(o), c = De(d || o);
817
+ const D = s instanceof Date && f < s, y = u instanceof Date && c > u;
818
+ return D && (f = me(s)), y && (c = De(u)), f > c && (D ? c = De(f) : f = me(c)), { startDate: f, endDate: c };
819
819
  }
820
820
  };
821
821
  return {
822
822
  normalizeRange: ({
823
823
  startDate: o,
824
- endDate: f,
824
+ endDate: d,
825
825
  fixedEndpoint: s,
826
826
  granularity: u,
827
- alignToGranularity: m = !0,
827
+ alignToGranularity: f = !0,
828
828
  fallbackMaxRange: c,
829
- min: v,
830
- max: _
829
+ min: D,
830
+ max: y
831
831
  }) => {
832
- let D = { startDate: o, endDate: f };
833
- m && u?.type && u.type !== "daily" && (D = r[u.type](o, f, v, _));
834
- const y = u?.maxRange || c;
835
- if (!y)
836
- return D;
837
- const d = u?.type ? Pt[u.type] : We, p = d.getCount(D.endDate, D.startDate);
838
- if (p <= y)
839
- return D;
840
- const E = p - y, k = s === "start" ? {
841
- startDate: D.startDate,
842
- endDate: d.sub(D.endDate, E)
832
+ let M = { startDate: o, endDate: d };
833
+ f && u?.type && u.type !== "daily" && (M = r[u.type](o, d, D, y));
834
+ const _ = u?.maxRange || c;
835
+ if (!_)
836
+ return M;
837
+ const m = u?.type ? Pt[u.type] : We, v = m.getCount(M.endDate, M.startDate);
838
+ if (v <= _)
839
+ return M;
840
+ const g = v - _, E = s === "start" ? {
841
+ startDate: M.startDate,
842
+ endDate: m.sub(M.endDate, g)
843
843
  } : {
844
- startDate: d.add(D.startDate, E),
845
- endDate: D.endDate
844
+ startDate: m.add(M.startDate, g),
845
+ endDate: M.endDate
846
846
  };
847
- return m && u?.type && u.type !== "daily" ? r[u.type](
848
- k.startDate,
849
- k.endDate,
850
- v,
851
- _
852
- ) : k;
847
+ return f && u?.type && u.type !== "daily" ? r[u.type](
848
+ E.startDate,
849
+ E.endDate,
850
+ D,
851
+ y
852
+ ) : E;
853
853
  }
854
854
  };
855
- }, Gt = ({ selectedDate: e, isDateDisabled: t, maxRange: a, granularity: n, firstDayOfWeek: r, min: i, max: o }, f) => {
856
- const { normalizeRange: m } = $t(r), c = Te({
855
+ }, Gt = ({ selectedDate: e, isDateDisabled: t, maxRange: a, granularity: n, firstDayOfWeek: r, min: i, max: o }, d) => {
856
+ const { normalizeRange: f } = $t(r), c = Te({
857
857
  startDate: null,
858
858
  endDate: null
859
- }), v = F(null);
860
- U(
859
+ }), D = A(null);
860
+ W(
861
861
  () => e.value,
862
862
  () => {
863
- let { startDate: d = null, endDate: p = null } = e.value || {};
864
- d && (d = A(d)), p && (p = A(p)), !(d && t && t(d) || p && t && t(p) || d && p && tt(d, p)) && (c.startDate = d, c.endDate = p);
863
+ let { startDate: v = null, endDate: g = null } = e.value || {};
864
+ v && (v = P(v)), g && (g = P(g)), !(v && t && t(v) || g && t && t(g) || v && g && tt(v, g)) && (c.startDate = v, c.endDate = g);
865
865
  },
866
866
  { immediate: !0, deep: !0 }
867
867
  );
868
- const _ = (d, p, E) => {
869
- const k = m({
870
- startDate: d,
871
- endDate: p,
868
+ const y = (v, g, E) => {
869
+ const C = f({
870
+ startDate: v,
871
+ endDate: g,
872
872
  fixedEndpoint: E !== void 0 && E < 1 ? "start" : "end",
873
873
  granularity: n.value,
874
874
  fallbackMaxRange: a.value,
875
875
  min: i.value,
876
876
  max: o.value
877
877
  });
878
- c.startDate = k.startDate, c.endDate = k.endDate, f(C.START_DATE_SELECTED, c.startDate), f(C.END_DATE_SELECTED, c.endDate);
879
- }, D = (d) => {
880
- !v.value || t && t(d) || (nt(d, v.value) ? _(d, v.value, -1) : _(v.value, d, 1));
881
- };
878
+ c.startDate = C.startDate, c.endDate = C.endDate, d(L.START_DATE_SELECTED, c.startDate), d(L.END_DATE_SELECTED, c.endDate);
879
+ }, M = (v) => {
880
+ !D.value || t && t(v) || (nt(v, D.value) ? y(v, D.value, -1) : y(D.value, v, 1));
881
+ }, _ = () => D.value ? (D.value = null, { ...c }) : null;
882
882
  return {
883
883
  internalValue: c,
884
- onDateInput: (d) => {
885
- if (v.value)
886
- v.value = null, f(C.INPUT, c);
887
- else {
888
- let p = d;
889
- n?.value?.type && n.value.type !== "daily" && (_(d, d), p = c.startDate), v.value = p, D(p);
884
+ finalizeRangeSelection: _,
885
+ onDateInput: (v) => {
886
+ if (D.value) {
887
+ const g = _();
888
+ g && d(L.INPUT, g);
889
+ } else {
890
+ let g = v;
891
+ n?.value?.type && n.value.type !== "daily" && (y(v, v), g = c.startDate), D.value = g, M(g);
890
892
  }
891
893
  },
892
- onMouseOver: D
894
+ onMouseOver: M
893
895
  };
894
896
  }, Ut = q({
895
897
  name: "calendar",
@@ -900,8 +902,8 @@ const we = Ft.exports, At = ({ selectedDate: e }, t) => {
900
902
  */
901
903
  firstDayOfWeek: {
902
904
  type: Number,
903
- default: W.MONDAY,
904
- validator: (e) => Object.values(W).includes(e)
905
+ default: j.MONDAY,
906
+ validator: (e) => Object.values(j).includes(e)
905
907
  },
906
908
  /**
907
909
  * The selected granularity configuration
@@ -971,26 +973,26 @@ const we = Ft.exports, At = ({ selectedDate: e }, t) => {
971
973
  validator: (e) => Object.values(ye).includes(e)
972
974
  }
973
975
  },
974
- emit: [C.INPUT, C.START_DATE_SELECTED, C.END_DATE_SELECTED],
976
+ emit: [L.INPUT, L.START_DATE_SELECTED, L.END_DATE_SELECTED],
975
977
  setup(e, { emit: t }) {
976
- const a = F(null), n = F();
977
- U(
978
+ const a = A(null), n = A();
979
+ W(
978
980
  () => e.value,
979
981
  () => {
980
982
  if (e.isRange)
981
983
  n.value = e?.showEndDateOnOpen && e.value?.endDate ? e.value?.endDate : e.value?.startDate || /* @__PURE__ */ new Date();
982
984
  else {
983
- const D = e.defaultDisplayMonth && new Date(e.defaultDisplayMonth).getTime() ? new Date(e.defaultDisplayMonth) : /* @__PURE__ */ new Date();
984
- n.value = e.value || D;
985
+ const m = e.defaultDisplayMonth && new Date(e.defaultDisplayMonth).getTime() ? new Date(e.defaultDisplayMonth) : /* @__PURE__ */ new Date();
986
+ n.value = e.value || m;
985
987
  }
986
988
  },
987
989
  { immediate: !0, deep: !0 }
988
990
  );
989
- const r = N(
991
+ const r = S(
990
992
  () => e.variant === ye.MONTH ? we : Ye
991
- ), i = N(() => ({
993
+ ), i = S(() => ({
992
994
  "b-calendar__range": e.isRange
993
- })), { internalValue: o, onDateInput: f, onMouseOver: s } = e.isRange ? Gt(
995
+ })), o = e.isRange ? Gt(
994
996
  {
995
997
  selectedDate: w(e, "value"),
996
998
  isDateDisabled: e.isDateDisabled,
@@ -1007,12 +1009,12 @@ const we = Ft.exports, At = ({ selectedDate: e }, t) => {
1007
1009
  firstDayOfWeek: e.firstDayOfWeek
1008
1010
  },
1009
1011
  t
1010
- ), u = (D) => e.numberOfMonths === 1 ? G.UNIQUE : D === 0 ? G.FIRST : D === e.numberOfMonths - 1 ? G.LAST : G.MIDDLE, m = N(() => (D) => {
1011
- const y = e?.showEndDateOnOpen && e.isRange ? te(n.value, e.numberOfMonths - 1) : n.value;
1012
- return L(y, D);
1013
- }), c = N(() => (D) => {
1014
- const y = e?.showEndDateOnOpen ? $e(n.value, e.numberOfMonths - 1) : n.value;
1015
- return Me(y, D);
1012
+ ), { internalValue: d, onDateInput: s, onMouseOver: u } = o, f = () => o.finalizeRangeSelection?.() ?? null, c = (m) => e.numberOfMonths === 1 ? U.UNIQUE : m === 0 ? U.FIRST : m === e.numberOfMonths - 1 ? U.LAST : U.MIDDLE, D = S(() => (m) => {
1013
+ const v = e?.showEndDateOnOpen && e.isRange ? te(n.value, e.numberOfMonths - 1) : n.value;
1014
+ return B(v, m);
1015
+ }), y = S(() => (m) => {
1016
+ const v = e?.showEndDateOnOpen ? $e(n.value, e.numberOfMonths - 1) : n.value;
1017
+ return Me(v, m);
1016
1018
  });
1017
1019
  return {
1018
1020
  // Refs
@@ -1021,19 +1023,20 @@ const we = Ft.exports, At = ({ selectedDate: e }, t) => {
1021
1023
  baseDate: n,
1022
1024
  calendarComponent: r,
1023
1025
  conditionalClasses: i,
1024
- internalValue: o,
1026
+ internalValue: d,
1025
1027
  // Methods
1026
- calculateOffsetMonth: m,
1027
- calculateOffsetYear: c,
1028
- calendarPosition: u,
1028
+ calculateOffsetMonth: D,
1029
+ calculateOffsetYear: y,
1030
+ calendarPosition: c,
1031
+ finalizeRangeSelection: f,
1029
1032
  // Events
1030
- onDateInput: f,
1031
- onMouseOver: s,
1032
- calculateNextMonths: (D = 1) => {
1033
- n.value = L(n.value, D);
1033
+ onDateInput: s,
1034
+ onMouseOver: u,
1035
+ calculateNextMonths: (m = 1) => {
1036
+ n.value = B(n.value, m);
1034
1037
  },
1035
- calculatePreviousMonths: (D = 1) => {
1036
- n.value = te(n.value, D);
1038
+ calculatePreviousMonths: (m = 1) => {
1039
+ n.value = te(n.value, m);
1037
1040
  }
1038
1041
  };
1039
1042
  }
@@ -1043,22 +1046,22 @@ var Wt = function() {
1043
1046
  return t._self._setupProxy, a("div", { staticClass: "b-calendar", class: t.conditionalClasses }, t._l(t.numberOfMonths, function(n, r) {
1044
1047
  return a(t.calendarComponent, { key: `calendar-${r}`, ref: t.numberOfMonths === 1 ? "calendarRef" : null, refInFor: !0, tag: "component", attrs: { "first-day-of-week": t.firstDayOfWeek, "is-date-disabled": t.isDateDisabled, month: t.calculateOffsetMonth(r), year: t.calculateOffsetYear(r), position: t.calendarPosition(r), min: t.min, max: t.max, "is-range": t.isRange, "start-date": t.internalValue.startDate, "end-date": t.internalValue.endDate, granularity: t.granularity, "year-range": t.yearRange }, on: { input: t.onDateInput, mouseover: t.onMouseOver, changeDay: t.onMouseOver, nextMonth: t.calculateNextMonths, previousMonth: t.calculatePreviousMonths } });
1045
1048
  }), 1);
1046
- }, jt = [], Ht = /* @__PURE__ */ z(
1049
+ }, jt = [], zt = /* @__PURE__ */ K(
1047
1050
  Ut,
1048
1051
  Wt,
1049
1052
  jt,
1050
1053
  !1,
1051
1054
  null,
1052
- "15d21079"
1055
+ "85369011"
1053
1056
  );
1054
- const fn = Ht.exports;
1057
+ const fn = zt.exports;
1055
1058
  export {
1056
1059
  Oe as A,
1057
- W as C,
1060
+ j as C,
1058
1061
  ye as a,
1059
1062
  fn as b,
1060
- C as c,
1061
- G as d,
1063
+ L as c,
1064
+ U as d,
1062
1065
  sn as e,
1063
1066
  se as f,
1064
1067
  ge as g,
@@ -1069,11 +1072,11 @@ export {
1069
1072
  H as l,
1070
1073
  ie as m,
1071
1074
  _e as n,
1072
- L as o,
1075
+ B as o,
1073
1076
  cn as p,
1074
1077
  te as q,
1075
1078
  Ae as r,
1076
- A as s,
1079
+ P as s,
1077
1080
  De as t,
1078
1081
  st as u,
1079
1082
  $t as v,
@@ -1082,4 +1085,4 @@ export {
1082
1085
  at as y,
1083
1086
  he as z
1084
1087
  };
1085
- //# sourceMappingURL=calendar.CXdLEeN4.js.map
1088
+ //# sourceMappingURL=calendar.BalfhApP.js.map