@adyen/bento-vue2 1.86.0 → 1.87.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 (276) hide show
  1. package/dist/@types/index.d.ts +1271 -1216
  2. package/dist/action-bar.js +1 -1
  3. package/dist/ai-tag.js +1 -1
  4. package/dist/anchor-scroller.js +1 -1
  5. package/dist/assets/accordion-item.css +1 -1
  6. package/dist/assets/action-bar.css +1 -1
  7. package/dist/assets/anchor-scroller.css +1 -1
  8. package/dist/assets/base-modal.css +1 -1
  9. package/dist/assets/button-actions.css +1 -1
  10. package/dist/assets/card.css +1 -1
  11. package/dist/assets/checkbox-group.css +1 -1
  12. package/dist/assets/checkbox.css +1 -1
  13. package/dist/assets/controls-group.css +1 -1
  14. package/dist/assets/data-grid.css +1 -1
  15. package/dist/assets/date-picker.css +1 -1
  16. package/dist/assets/date-range-picker.css +1 -1
  17. package/dist/assets/dialog-page.css +1 -1
  18. package/dist/assets/dropdown-default-textbox.css +1 -1
  19. package/dist/assets/dropdown.css +1 -1
  20. package/dist/assets/error-message.css +1 -1
  21. package/dist/assets/file-uploader.css +1 -1
  22. package/dist/assets/filter-bar.css +1 -1
  23. package/dist/assets/form-layout-title.css +1 -1
  24. package/dist/assets/input-field-phone-number.css +1 -1
  25. package/dist/assets/input-field.css +1 -1
  26. package/dist/assets/inspector.css +1 -1
  27. package/dist/assets/modal-fullscreen.css +1 -1
  28. package/dist/assets/pagination.css +1 -1
  29. package/dist/assets/radio-group.css +1 -1
  30. package/dist/assets/rich-text-editor.css +1 -1
  31. package/dist/assets/selection-card-group.css +1 -1
  32. package/dist/assets/sidepanel.css +1 -1
  33. package/dist/assets/textarea.css +1 -1
  34. package/dist/button.js +1 -1
  35. package/dist/card.js +1 -1
  36. package/dist/checkbox.js +2 -2
  37. package/dist/chunks/{action-bar.Dnkt4yn7.js → action-bar.ChMlt59Z.js} +4 -4
  38. package/dist/chunks/{action-bar.Dnkt4yn7.js.map → action-bar.ChMlt59Z.js.map} +1 -1
  39. package/dist/chunks/{ai-tag.s8TECgn_.js → ai-tag.D5fCswAm.js} +2 -2
  40. package/dist/chunks/{ai-tag.s8TECgn_.js.map → ai-tag.D5fCswAm.js.map} +1 -1
  41. package/dist/chunks/anchor-scroller.Cb22EJiL.js +177 -0
  42. package/dist/chunks/{anchor-scroller.3_idPubO.js.map → anchor-scroller.Cb22EJiL.js.map} +1 -1
  43. package/dist/chunks/{base-modal.09nAcnF_.js → base-modal.CUSvvYnk.js} +14 -14
  44. package/dist/chunks/{base-modal.09nAcnF_.js.map → base-modal.CUSvvYnk.js.map} +1 -1
  45. package/dist/chunks/{button-actions-with-menu.C8tSTxrm.js → button-actions-with-menu.D14S1pym.js} +3 -3
  46. package/dist/chunks/{button-actions-with-menu.C8tSTxrm.js.map → button-actions-with-menu.D14S1pym.js.map} +1 -1
  47. package/dist/chunks/{button-actions.VSc47LLH.js → button-actions.DyPS54Yi.js} +134 -132
  48. package/dist/chunks/button-actions.DyPS54Yi.js.map +1 -0
  49. package/dist/chunks/{calendar.DiXkjQDP.js → calendar.BNg7mSj5.js} +398 -407
  50. package/dist/chunks/calendar.BNg7mSj5.js.map +1 -0
  51. package/dist/chunks/{card.BdjdBN36.js → card.9oGLUzev.js} +2 -2
  52. package/dist/chunks/{card.BdjdBN36.js.map → card.9oGLUzev.js.map} +1 -1
  53. package/dist/chunks/{checkbox-group.d6VQvZL7.js → checkbox-group.BtsDJN9I.js} +22 -22
  54. package/dist/chunks/checkbox-group.BtsDJN9I.js.map +1 -0
  55. package/dist/chunks/{checkbox.ClFNfhNh.js → checkbox.Dxvh9si9.js} +19 -22
  56. package/dist/chunks/checkbox.Dxvh9si9.js.map +1 -0
  57. package/dist/chunks/{code-snippet.DBNJgt1j.js → code-snippet.CaAEHdBl.js} +4 -4
  58. package/dist/chunks/{code-snippet.DBNJgt1j.js.map → code-snippet.CaAEHdBl.js.map} +1 -1
  59. package/dist/chunks/constructNow.CIc7d13I.js +8 -0
  60. package/dist/chunks/{constructNow.B8T1ljs6.js.map → constructNow.CIc7d13I.js.map} +1 -1
  61. package/dist/chunks/{controls-group.HUWlAOhG.js → controls-group.BCKGkHVl.js} +23 -28
  62. package/dist/chunks/controls-group.BCKGkHVl.js.map +1 -0
  63. package/dist/chunks/{copy.BXykYfg0.js → copy.DSNuoLZf.js} +3 -3
  64. package/dist/chunks/{copy.BXykYfg0.js.map → copy.DSNuoLZf.js.map} +1 -1
  65. package/dist/chunks/{dashboard-section.Cw2Ima3U.js → dashboard-section.DIesvnBa.js} +3 -3
  66. package/dist/chunks/{dashboard-section.Cw2Ima3U.js.map → dashboard-section.DIesvnBa.js.map} +1 -1
  67. package/dist/chunks/{dashed-underline.Dfw7cJ-9.js → dashed-underline.DauOBhSD.js} +3 -3
  68. package/dist/chunks/{dashed-underline.Dfw7cJ-9.js.map → dashed-underline.DauOBhSD.js.map} +1 -1
  69. package/dist/chunks/{data-grid-template.6LR2Jqka.js → data-grid-template.T-6_zLby.js} +3 -3
  70. package/dist/chunks/{data-grid-template.6LR2Jqka.js.map → data-grid-template.T-6_zLby.js.map} +1 -1
  71. package/dist/chunks/{data-grid.B_uZEPDW.js → data-grid.ZjYQaN9_.js} +695 -695
  72. package/dist/chunks/{data-grid.B_uZEPDW.js.map → data-grid.ZjYQaN9_.js.map} +1 -1
  73. package/dist/chunks/date-picker.BLOqU7Z9.js +173 -0
  74. package/dist/chunks/date-picker.BLOqU7Z9.js.map +1 -0
  75. package/dist/chunks/date-range-picker.CJexeNJg.js +900 -0
  76. package/dist/chunks/date-range-picker.CJexeNJg.js.map +1 -0
  77. package/dist/chunks/{de.DvtL0g75.js → de.BJvo6njq.js} +2 -2
  78. package/dist/chunks/{de.DvtL0g75.js.map → de.BJvo6njq.js.map} +1 -1
  79. package/dist/chunks/{dialog-page.DA6E6qma.js → dialog-page.4deowaF2.js} +2 -2
  80. package/dist/chunks/{dialog-page.DA6E6qma.js.map → dialog-page.4deowaF2.js.map} +1 -1
  81. package/dist/chunks/{differenceInMonths.BR4Z2HIa.js → differenceInMonths.CIYECBxK.js} +7 -7
  82. package/dist/chunks/{differenceInMonths.BR4Z2HIa.js.map → differenceInMonths.CIYECBxK.js.map} +1 -1
  83. package/dist/chunks/{dropdown-default-textbox.5WjhJWdh.js → dropdown-default-textbox.CKnrDQ2z.js} +18 -16
  84. package/dist/chunks/dropdown-default-textbox.CKnrDQ2z.js.map +1 -0
  85. package/dist/chunks/{dropdown-tag.BnMuMIDk.js → dropdown-tag.DSCZALNp.js} +3 -3
  86. package/dist/chunks/{dropdown-tag.BnMuMIDk.js.map → dropdown-tag.DSCZALNp.js.map} +1 -1
  87. package/dist/chunks/{dropdown.DDPfKc74.js → dropdown.ET_mq1_P.js} +8 -8
  88. package/dist/chunks/{dropdown.DDPfKc74.js.map → dropdown.ET_mq1_P.js.map} +1 -1
  89. package/dist/chunks/{en-GB.DCGuCmAv.js → en-GB.C3-QUpva.js} +2 -2
  90. package/dist/chunks/{en-GB.DCGuCmAv.js.map → en-GB.C3-QUpva.js.map} +1 -1
  91. package/dist/chunks/{en-US.BZii9jNW.js → en-US.YeSsZuOc.js} +150 -100
  92. package/dist/chunks/en-US.YeSsZuOc.js.map +1 -0
  93. package/dist/chunks/{error-message.VenUl2OK.js → error-message.CYfT0Qsi.js} +19 -22
  94. package/dist/chunks/error-message.CYfT0Qsi.js.map +1 -0
  95. package/dist/chunks/{es.bz0mzkMq.js → es.DyUjjSL8.js} +2 -2
  96. package/dist/chunks/{es.bz0mzkMq.js.map → es.DyUjjSL8.js.map} +1 -1
  97. package/dist/chunks/{file-uploader.BU1V40qK.js → file-uploader.BSX-zpyP.js} +377 -353
  98. package/dist/chunks/file-uploader.BSX-zpyP.js.map +1 -0
  99. package/dist/chunks/filter-bar.DkKvGUEm.js +3229 -0
  100. package/dist/chunks/filter-bar.DkKvGUEm.js.map +1 -0
  101. package/dist/chunks/{focus-trap.DMc1wL3A.js → focus-trap.DRqjHzt6.js} +2 -2
  102. package/dist/chunks/{focus-trap.DMc1wL3A.js.map → focus-trap.DRqjHzt6.js.map} +1 -1
  103. package/dist/chunks/{footer-actions.z-api8J_.js → footer-actions.Dq82H1Oc.js} +2 -2
  104. package/dist/chunks/{footer-actions.z-api8J_.js.map → footer-actions.Dq82H1Oc.js.map} +1 -1
  105. package/dist/chunks/form-layout-title.vF9Bmbre.js +212 -0
  106. package/dist/chunks/{form-layout-title.Bbq05nMT.js.map → form-layout-title.vF9Bmbre.js.map} +1 -1
  107. package/dist/chunks/{match.CMBZxEs9.js → fr.JD_4GwS8.js} +98 -61
  108. package/dist/chunks/fr.JD_4GwS8.js.map +1 -0
  109. package/dist/chunks/{header-meta.CuMQSsOm.js → header-meta.ByA0tkZw.js} +88 -94
  110. package/dist/chunks/header-meta.ByA0tkZw.js.map +1 -0
  111. package/dist/chunks/{header-with-views.DX8EXLMJ.js → header-with-views.DLoIc0yO.js} +9 -9
  112. package/dist/chunks/{header-with-views.DX8EXLMJ.js.map → header-with-views.DLoIc0yO.js.map} +1 -1
  113. package/dist/chunks/{header.YECm2GAh.js → header.BG6XUNEs.js} +3 -3
  114. package/dist/chunks/{header.YECm2GAh.js.map → header.BG6XUNEs.js.map} +1 -1
  115. package/dist/chunks/{index.BkJqgYF1.js → index.CwzYJHw2.js} +204 -197
  116. package/dist/chunks/{index.BkJqgYF1.js.map → index.CwzYJHw2.js.map} +1 -1
  117. package/dist/chunks/{info-icon.DS9ax8ZD.js → info-icon.BF8KxU-k.js} +3 -3
  118. package/dist/chunks/{info-icon.DS9ax8ZD.js.map → info-icon.BF8KxU-k.js.map} +1 -1
  119. package/dist/chunks/{input-field-password.DrI6eF5u.js → input-field-password.TIzrVzR6.js} +6 -6
  120. package/dist/chunks/{input-field-password.DrI6eF5u.js.map → input-field-password.TIzrVzR6.js.map} +1 -1
  121. package/dist/chunks/{input-field-phone-number.Buh4x3pJ.js → input-field-phone-number.s2fP7BVR.js} +42 -42
  122. package/dist/chunks/{input-field-phone-number.Buh4x3pJ.js.map → input-field-phone-number.s2fP7BVR.js.map} +1 -1
  123. package/dist/chunks/{input-field.NEKXqT4R.js → input-field.CSCJTxk1.js} +10 -10
  124. package/dist/chunks/input-field.CSCJTxk1.js.map +1 -0
  125. package/dist/chunks/{inspector.BomNgVb-.js → inspector.DgI3voTk.js} +3 -3
  126. package/dist/chunks/{inspector.BomNgVb-.js.map → inspector.DgI3voTk.js.map} +1 -1
  127. package/dist/chunks/isSameWeek.CzBCmu7d.js +14 -0
  128. package/dist/chunks/{isSameWeek.DjeUtLwI.js.map → isSameWeek.CzBCmu7d.js.map} +1 -1
  129. package/dist/chunks/{it.DIafuXtH.js → it.BlUnV-yA.js} +3 -3
  130. package/dist/chunks/{it.DIafuXtH.js.map → it.BlUnV-yA.js.map} +1 -1
  131. package/dist/chunks/{ja.Cm9tJMi2.js → ja.nUwDmVf2.js} +8 -8
  132. package/dist/chunks/{ja.Cm9tJMi2.js.map → ja.nUwDmVf2.js.map} +1 -1
  133. package/dist/chunks/{layout-row.BxuMJU4E.js → layout-row.B_IQC9Nq.js} +2 -2
  134. package/dist/chunks/{layout-row.BxuMJU4E.js.map → layout-row.B_IQC9Nq.js.map} +1 -1
  135. package/dist/chunks/{listbox-option-tag.Cv3y0TvQ.js → listbox-option-tag.BhPVuAjJ.js} +2 -2
  136. package/dist/chunks/{listbox-option-tag.Cv3y0TvQ.js.map → listbox-option-tag.BhPVuAjJ.js.map} +1 -1
  137. package/dist/chunks/modal-fullscreen.DJtDO8TR.js +235 -0
  138. package/dist/chunks/modal-fullscreen.DJtDO8TR.js.map +1 -0
  139. package/dist/chunks/{modal.DOR8c0gy.js → modal.BbsIM3qp.js} +4 -4
  140. package/dist/chunks/{modal.DOR8c0gy.js.map → modal.BbsIM3qp.js.map} +1 -1
  141. package/dist/chunks/{pagination.wuEIlDcq.js → pagination.iN0eYByB.js} +157 -138
  142. package/dist/chunks/pagination.iN0eYByB.js.map +1 -0
  143. package/dist/chunks/popover.types.hA13DZPg.js +6 -0
  144. package/dist/chunks/{popover.types.DkiRUQ4Z.js.map → popover.types.hA13DZPg.js.map} +1 -1
  145. package/dist/chunks/{popper-container.D4dworD4.js → popper-container.C_n9Ds1W.js} +2 -2
  146. package/dist/chunks/{popper-container.D4dworD4.js.map → popper-container.C_n9Ds1W.js.map} +1 -1
  147. package/dist/chunks/{promo-banner.bjMDm76T.js → promo-banner.BQreywWK.js} +2 -2
  148. package/dist/chunks/{promo-banner.bjMDm76T.js.map → promo-banner.BQreywWK.js.map} +1 -1
  149. package/dist/chunks/{pt-BR.CiGdfP45.js → pt-BR.BCU2Hj36.js} +2 -2
  150. package/dist/chunks/{pt-BR.CiGdfP45.js.map → pt-BR.BCU2Hj36.js.map} +1 -1
  151. package/dist/chunks/{radio-group.DKRxfGtE.js → radio-group.5ZxqWguJ.js} +6 -6
  152. package/dist/chunks/radio-group.5ZxqWguJ.js.map +1 -0
  153. package/dist/chunks/{rich-text-editor.DiuS9alD.js → rich-text-editor.BJ-FvvNc.js} +132 -132
  154. package/dist/chunks/{rich-text-editor.DiuS9alD.js.map → rich-text-editor.BJ-FvvNc.js.map} +1 -1
  155. package/dist/chunks/{search-bar.UVSaoX0h.js → search-bar.GPl6NU_w.js} +3 -3
  156. package/dist/chunks/{search-bar.UVSaoX0h.js.map → search-bar.GPl6NU_w.js.map} +1 -1
  157. package/dist/chunks/{secondary-nav.C6ldQMZ2.js → secondary-nav.DMHDxGDq.js} +3 -3
  158. package/dist/chunks/{secondary-nav.C6ldQMZ2.js.map → secondary-nav.DMHDxGDq.js.map} +1 -1
  159. package/dist/chunks/{segmented-control.BLnuxgnJ.js → segmented-control.BqIiX9hv.js} +2 -2
  160. package/dist/chunks/{segmented-control.BLnuxgnJ.js.map → segmented-control.BqIiX9hv.js.map} +1 -1
  161. package/dist/chunks/{selection-card-group.CqGYskmS.js → selection-card-group.Hol_gJKN.js} +23 -23
  162. package/dist/chunks/selection-card-group.Hol_gJKN.js.map +1 -0
  163. package/dist/chunks/{sidepanel.BKE87Uef.js → sidepanel.CSA5e8AF.js} +5 -5
  164. package/dist/chunks/{sidepanel.BKE87Uef.js.map → sidepanel.CSA5e8AF.js.map} +1 -1
  165. package/dist/chunks/{startOfWeek.D8Yh4c0G.js → startOfWeek.CXhhX-R7.js} +2 -2
  166. package/dist/chunks/{startOfWeek.D8Yh4c0G.js.map → startOfWeek.CXhhX-R7.js.map} +1 -1
  167. package/dist/chunks/{structured-list-item.DRFRap_S.js → structured-list-item.C7W3zYcT.js} +4 -4
  168. package/dist/chunks/{structured-list-item.DRFRap_S.js.map → structured-list-item.C7W3zYcT.js.map} +1 -1
  169. package/dist/chunks/{summary-grid.types.OldkhD7S.js → summary-grid.types.nrVagy9s.js} +5 -5
  170. package/dist/chunks/{summary-grid.types.OldkhD7S.js.map → summary-grid.types.nrVagy9s.js.map} +1 -1
  171. package/dist/chunks/{tag.Cy3XkSDQ.js → tag.CocLKztJ.js} +2 -2
  172. package/dist/chunks/{tag.Cy3XkSDQ.js.map → tag.CocLKztJ.js.map} +1 -1
  173. package/dist/chunks/{textarea.Bm9MZb_W.js → textarea.CpVhEv6I.js} +33 -33
  174. package/dist/chunks/textarea.CpVhEv6I.js.map +1 -0
  175. package/dist/chunks/{timeline-item.Cpbm8IUw.js → timeline-item.CSDdHboz.js} +52 -54
  176. package/dist/chunks/timeline-item.CSDdHboz.js.map +1 -0
  177. package/dist/chunks/{tooltip.DF11J3k3.js → tooltip.CbsNGnhw.js} +2 -2
  178. package/dist/chunks/{tooltip.DF11J3k3.js.map → tooltip.CbsNGnhw.js.map} +1 -1
  179. package/dist/chunks/{tutorial.D5xtZ1Pt.js → tutorial.3dTfBKtZ.js} +4 -4
  180. package/dist/chunks/{tutorial.D5xtZ1Pt.js.map → tutorial.3dTfBKtZ.js.map} +1 -1
  181. package/dist/chunks/{use-cached-selected-values.wn2xnwYG.js → use-cached-selected-values.DiIjmiF_.js} +2 -2
  182. package/dist/chunks/{use-cached-selected-values.wn2xnwYG.js.map → use-cached-selected-values.DiIjmiF_.js.map} +1 -1
  183. package/dist/chunks/use-date-input-formatter.Dcjry8op.js +1732 -0
  184. package/dist/chunks/use-date-input-formatter.Dcjry8op.js.map +1 -0
  185. package/dist/chunks/{zh-CN.Bw_6j9Cd.js → zh-CN.ChYkuQAR.js} +3 -3
  186. package/dist/chunks/{zh-CN.Bw_6j9Cd.js.map → zh-CN.ChYkuQAR.js.map} +1 -1
  187. package/dist/code-snippet.js +1 -1
  188. package/dist/dashboard-template.js +1 -1
  189. package/dist/dashed-underline.js +1 -1
  190. package/dist/data-grid-template.js +1 -1
  191. package/dist/data-grid.js +1 -1
  192. package/dist/date-picker.js +2 -2
  193. package/dist/date-range-picker.js +2 -2
  194. package/dist/draggable-handle.js +1 -1
  195. package/dist/dropdown.js +4 -4
  196. package/dist/file-uploader.js +1 -1
  197. package/dist/filter-bar.js +1 -1
  198. package/dist/focus-trap.js +1 -1
  199. package/dist/form-layout.js +1 -1
  200. package/dist/header-with-views.js +1 -1
  201. package/dist/header.js +1 -1
  202. package/dist/index.js +50 -50
  203. package/dist/index.js.map +1 -1
  204. package/dist/info-icon.js +1 -1
  205. package/dist/input-field-password.js +1 -1
  206. package/dist/input-field-phone-number.js +1 -1
  207. package/dist/input-field.js +1 -1
  208. package/dist/inspector.js +1 -1
  209. package/dist/internal.js +11 -11
  210. package/dist/layout.js +1 -1
  211. package/dist/menu.js +1 -1
  212. package/dist/modal-fullscreen.js +1 -1
  213. package/dist/modal.js +2 -2
  214. package/dist/pagination.js +1 -1
  215. package/dist/popover.js +2 -2
  216. package/dist/popper-container.js +1 -1
  217. package/dist/promo-banner.js +1 -1
  218. package/dist/radio-group.js +1 -1
  219. package/dist/rich-text-editor.js +1 -1
  220. package/dist/search-bar.js +2 -2
  221. package/dist/secondary-nav.js +1 -1
  222. package/dist/segmented-control.js +1 -1
  223. package/dist/selection-card.js +1 -1
  224. package/dist/sidepanel.js +1 -1
  225. package/dist/structured-list.js +1 -1
  226. package/dist/summary-grid.js +1 -1
  227. package/dist/tag.js +1 -1
  228. package/dist/textarea.js +1 -1
  229. package/dist/timeline.js +1 -1
  230. package/dist/tutorial.js +1 -1
  231. package/dist/web-types.json +104 -5
  232. package/package.json +6 -11
  233. package/dist/chunks/anchor-scroller.3_idPubO.js +0 -178
  234. package/dist/chunks/button-actions.VSc47LLH.js.map +0 -1
  235. package/dist/chunks/calendar.DiXkjQDP.js.map +0 -1
  236. package/dist/chunks/checkbox-group.d6VQvZL7.js.map +0 -1
  237. package/dist/chunks/checkbox.ClFNfhNh.js.map +0 -1
  238. package/dist/chunks/constructNow.B8T1ljs6.js +0 -8
  239. package/dist/chunks/controls-group.HUWlAOhG.js.map +0 -1
  240. package/dist/chunks/date-input.etw_pFpA.js +0 -20
  241. package/dist/chunks/date-input.etw_pFpA.js.map +0 -1
  242. package/dist/chunks/date-picker.CITeN8WH.js +0 -173
  243. package/dist/chunks/date-picker.CITeN8WH.js.map +0 -1
  244. package/dist/chunks/date-range-picker.DxVjXxap.js +0 -897
  245. package/dist/chunks/date-range-picker.DxVjXxap.js.map +0 -1
  246. package/dist/chunks/dropdown-default-textbox.5WjhJWdh.js.map +0 -1
  247. package/dist/chunks/en-US.BZii9jNW.js.map +0 -1
  248. package/dist/chunks/error-message.VenUl2OK.js.map +0 -1
  249. package/dist/chunks/file-uploader.BU1V40qK.js.map +0 -1
  250. package/dist/chunks/filter-bar.UdXQf_RN.js +0 -3321
  251. package/dist/chunks/filter-bar.UdXQf_RN.js.map +0 -1
  252. package/dist/chunks/form-layout-title.Bbq05nMT.js +0 -197
  253. package/dist/chunks/fr-CA.B1aPU8fp.js +0 -48
  254. package/dist/chunks/fr-CA.B1aPU8fp.js.map +0 -1
  255. package/dist/chunks/fr.Dj7wEToe.js +0 -47
  256. package/dist/chunks/fr.Dj7wEToe.js.map +0 -1
  257. package/dist/chunks/getTimezoneOffsetInMilliseconds.Tu2wlbTR.js +0 -51
  258. package/dist/chunks/getTimezoneOffsetInMilliseconds.Tu2wlbTR.js.map +0 -1
  259. package/dist/chunks/header-meta.CuMQSsOm.js.map +0 -1
  260. package/dist/chunks/input-field.NEKXqT4R.js.map +0 -1
  261. package/dist/chunks/isSameWeek.DjeUtLwI.js +0 -14
  262. package/dist/chunks/ko.Ceaof6EP.js +0 -348
  263. package/dist/chunks/ko.Ceaof6EP.js.map +0 -1
  264. package/dist/chunks/match.CMBZxEs9.js.map +0 -1
  265. package/dist/chunks/modal-fullscreen.6bAjPENL.js +0 -225
  266. package/dist/chunks/modal-fullscreen.6bAjPENL.js.map +0 -1
  267. package/dist/chunks/nl.B6vCf2B9.js +0 -327
  268. package/dist/chunks/nl.B6vCf2B9.js.map +0 -1
  269. package/dist/chunks/pagination.wuEIlDcq.js.map +0 -1
  270. package/dist/chunks/popover.types.DkiRUQ4Z.js +0 -6
  271. package/dist/chunks/radio-group.DKRxfGtE.js.map +0 -1
  272. package/dist/chunks/selection-card-group.CqGYskmS.js.map +0 -1
  273. package/dist/chunks/sv.f8EfZjMZ.js +0 -377
  274. package/dist/chunks/sv.f8EfZjMZ.js.map +0 -1
  275. package/dist/chunks/textarea.Bm9MZb_W.js.map +0 -1
  276. package/dist/chunks/timeline-item.Cpbm8IUw.js.map +0 -1
@@ -1,19 +1,147 @@
1
- import { defineComponent as ee, computed as k, ref as j, watch as K, nextTick as Ce, toRef as F, reactive as Oe } from "vue";
1
+ import { defineComponent as ee, computed as g, ref as $, watch as K, nextTick as Ce, toRef as F, reactive as Oe } from "vue";
2
2
  import { B as Se } from "./button.Ctj3rkxw.js";
3
3
  import { B as ye } from "./typography.C8lPlsbD.js";
4
4
  import { u as _e } from "./index.B6WW_F-J.js";
5
5
  import { g as Ie } from "./generate-uid.NJ8tVoha.js";
6
- import { a as Fe } from "./index.BkJqgYF1.js";
7
- import { t as E, c as Q, g as we, n as le, b as ge, h as Pe } from "./getTimezoneOffsetInMilliseconds.Tu2wlbTR.js";
8
- import { d as Me, a as ce } from "./differenceInMonths.BR4Z2HIa.js";
9
- import { s as re } from "./startOfWeek.D8Yh4c0G.js";
6
+ import { a as Fe } from "./index.CwzYJHw2.js";
7
+ import { t as E, c as Q, n as le, k as ke, s as Pe, g as we } from "./en-US.YeSsZuOc.js";
8
+ import { d as Me, a as ce } from "./differenceInMonths.CIYECBxK.js";
9
+ import { s as re } from "./startOfWeek.CXhhX-R7.js";
10
10
  import { C as Te, a as xe } from "./chevron-left.BS24hEFa.js";
11
11
  import { a as Le } from "./keyboard-navigation.DWmhelVv.js";
12
12
  import { n as te } from "./_plugin-vue2_normalizer.CeySl7Fu.js";
13
13
  import { a as Be, B as Ue } from "./date.B0m0sFP6.js";
14
14
  import "../assets/calendar.css";
15
- var A = /* @__PURE__ */ ((e) => (e.INPUT = "input", e.MOUSE_OVER = "mouseover", e.CHANGE_DAY = "changeDay", e.NEXT_MONTH = "nextMonth", e.PREVIOUS_MONTH = "previousMonth", e))(A || {}), H = /* @__PURE__ */ ((e) => (e[e.MONDAY = 1] = "MONDAY", e[e.SATURDAY = 6] = "SATURDAY", e[e.SUNDAY = 0] = "SUNDAY", e))(H || {}), C = /* @__PURE__ */ ((e) => (e.SINGLE = "single", e.MIDDLE = "middle", e.BEGINNING = "beginning", e.END = "end", e))(C || {}), U = /* @__PURE__ */ ((e) => (e.SINGLE = "single", e.MIDDLE = "middle", e.BEGINNING = "beginning", e.END = "end", e.SELECTED = "selected", e.UNSELECTED = "unselected", e.CURRENT_DAY = "current-day", e.DISABLED = "disabled", e))(U || {}), X = /* @__PURE__ */ ((e) => (e.CLICK = "click", e.MOUSE_OVER = "mouseover", e))(X || {});
16
- const Ge = {
15
+ var A = /* @__PURE__ */ ((e) => (e.INPUT = "input", e.MOUSE_OVER = "mouseover", e.CHANGE_DAY = "changeDay", e.NEXT_MONTH = "nextMonth", e.PREVIOUS_MONTH = "previousMonth", e))(A || {}), H = /* @__PURE__ */ ((e) => (e[e.MONDAY = 1] = "MONDAY", e[e.SATURDAY = 6] = "SATURDAY", e[e.SUNDAY = 0] = "SUNDAY", e))(H || {});
16
+ function p(e, t, a) {
17
+ const n = E(e, a == null ? void 0 : a.in);
18
+ return isNaN(t) ? Q((a == null ? void 0 : a.in) || e, NaN) : (t && n.setDate(n.getDate() + t), n);
19
+ }
20
+ function W(e, t, a) {
21
+ const n = E(e, a == null ? void 0 : a.in);
22
+ if (isNaN(t)) return Q(e, NaN);
23
+ if (!t)
24
+ return n;
25
+ const r = n.getDate(), o = Q(e, n.getTime());
26
+ o.setMonth(n.getMonth() + t + 1, 0);
27
+ const u = o.getDate();
28
+ return r >= u ? o : (n.setFullYear(
29
+ o.getFullYear(),
30
+ o.getMonth(),
31
+ r
32
+ ), n);
33
+ }
34
+ function V(e, t) {
35
+ const a = E(e, t == null ? void 0 : t.in);
36
+ return a.setHours(0, 0, 0, 0), a;
37
+ }
38
+ function Ge(e, t, a) {
39
+ const [n, r] = le(
40
+ a == null ? void 0 : a.in,
41
+ e,
42
+ t
43
+ ), o = V(n), u = V(r), f = +o - ke(o), h = +u - ke(u);
44
+ return Math.round((f - h) / Pe);
45
+ }
46
+ function Re(e, t, a) {
47
+ return W(e, t * 12, a);
48
+ }
49
+ function ne(e, t, a) {
50
+ const [n, r] = le(
51
+ a == null ? void 0 : a.in,
52
+ e,
53
+ t
54
+ );
55
+ return +V(n) == +V(r);
56
+ }
57
+ function je(e, t, a) {
58
+ const [n, r] = le(
59
+ a == null ? void 0 : a.in,
60
+ e,
61
+ t
62
+ ), o = Ne(n, r), u = Math.abs(
63
+ Ge(n, r)
64
+ );
65
+ n.setDate(n.getDate() - o * u);
66
+ const f = +(Ne(n, r) === -o), h = o * (u - f);
67
+ return h === 0 ? 0 : h;
68
+ }
69
+ function Ne(e, t) {
70
+ const a = e.getFullYear() - t.getFullYear() || e.getMonth() - t.getMonth() || e.getDate() - t.getDate() || e.getHours() - t.getHours() || e.getMinutes() - t.getMinutes() || e.getSeconds() - t.getSeconds() || e.getMilliseconds() - t.getMilliseconds();
71
+ return a < 0 ? -1 : a > 0 ? 1 : a;
72
+ }
73
+ function ie(e, t) {
74
+ const a = E(e, t == null ? void 0 : t.in), n = a.getMonth(), r = n - n % 3;
75
+ return a.setMonth(r, 1), a.setHours(0, 0, 0, 0), a;
76
+ }
77
+ function se(e, t) {
78
+ const a = E(e, t == null ? void 0 : t.in);
79
+ return a.setDate(1), a.setHours(0, 0, 0, 0), a;
80
+ }
81
+ function be(e, t) {
82
+ const a = E(e, t == null ? void 0 : t.in);
83
+ return a.setFullYear(a.getFullYear(), 0, 1), a.setHours(0, 0, 0, 0), a;
84
+ }
85
+ function oe(e, t) {
86
+ var f, h, d, v;
87
+ const a = we(), n = (t == null ? void 0 : t.weekStartsOn) ?? ((h = (f = t == null ? void 0 : t.locale) == null ? void 0 : f.options) == null ? void 0 : h.weekStartsOn) ?? a.weekStartsOn ?? ((v = (d = a.locale) == null ? void 0 : d.options) == null ? void 0 : v.weekStartsOn) ?? 0, r = E(e, t == null ? void 0 : t.in), o = r.getDay(), u = (o < n ? -7 : 0) + 6 - (o - n);
88
+ return r.setDate(r.getDate() + u), r.setHours(23, 59, 59, 999), r;
89
+ }
90
+ function de(e, t) {
91
+ const a = E(e, t == null ? void 0 : t.in), n = a.getMonth(), r = n - n % 3 + 3;
92
+ return a.setMonth(r, 0), a.setHours(23, 59, 59, 999), a;
93
+ }
94
+ function $e(e, t) {
95
+ const a = E(e, t == null ? void 0 : t.in), n = a.getFullYear(), r = a.getMonth(), o = Q(a, 0);
96
+ return o.setFullYear(n, r + 1, 0), o.setHours(0, 0, 0, 0), o.getDate();
97
+ }
98
+ function He(e, t) {
99
+ return +E(e) > +E(t);
100
+ }
101
+ function We(e, t) {
102
+ return +E(e) < +E(t);
103
+ }
104
+ function Ve(e, t, a) {
105
+ var m, D, i, s;
106
+ const n = we(), r = (a == null ? void 0 : a.weekStartsOn) ?? ((D = (m = a == null ? void 0 : a.locale) == null ? void 0 : m.options) == null ? void 0 : D.weekStartsOn) ?? n.weekStartsOn ?? ((s = (i = n.locale) == null ? void 0 : i.options) == null ? void 0 : s.weekStartsOn) ?? 0, o = E(e, a == null ? void 0 : a.in), u = o.getDay(), h = (t % 7 + 7) % 7, d = 7 - r, v = t < 0 || t > 6 ? t - (u + d) % 7 : (h + d) % 7 - (u + d) % 7;
107
+ return p(o, v, a);
108
+ }
109
+ function ae(e, t, a) {
110
+ const [n, r] = le(
111
+ a == null ? void 0 : a.in,
112
+ e,
113
+ t
114
+ );
115
+ return n.getFullYear() === r.getFullYear() && n.getMonth() === r.getMonth();
116
+ }
117
+ function ue(e, t, a) {
118
+ const n = +E(e, a == null ? void 0 : a.in), [r, o] = [
119
+ +E(t.start, a == null ? void 0 : a.in),
120
+ +E(t.end, a == null ? void 0 : a.in)
121
+ ].sort((u, f) => u - f);
122
+ return n >= r && n <= o;
123
+ }
124
+ function De(e, t, a) {
125
+ return p(e, -t, a);
126
+ }
127
+ function qe(e, t, a) {
128
+ const n = E(e, a == null ? void 0 : a.in), r = n.getFullYear(), o = n.getDate(), u = Q(e, 0);
129
+ u.setFullYear(r, t, 15), u.setHours(0, 0, 0, 0);
130
+ const f = $e(u);
131
+ return n.setMonth(t, Math.min(o, f)), n;
132
+ }
133
+ function Ke(e, t, a) {
134
+ let n = E(e, a == null ? void 0 : a.in);
135
+ return isNaN(+n) ? Q(e, NaN) : (t.year != null && n.setFullYear(t.year), t.month != null && (n = qe(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);
136
+ }
137
+ function Z(e, t, a) {
138
+ return W(e, -t, a);
139
+ }
140
+ function Qe(e, t, a) {
141
+ return Re(e, -t, a);
142
+ }
143
+ var C = /* @__PURE__ */ ((e) => (e.SINGLE = "single", e.MIDDLE = "middle", e.BEGINNING = "beginning", e.END = "end", e))(C || {}), U = /* @__PURE__ */ ((e) => (e.SINGLE = "single", e.MIDDLE = "middle", e.BEGINNING = "beginning", e.END = "end", e.SELECTED = "selected", e.UNSELECTED = "unselected", e.CURRENT_DAY = "current-day", e.DISABLED = "disabled", e))(U || {}), X = /* @__PURE__ */ ((e) => (e.CLICK = "click", e.MOUSE_OVER = "mouseover", e))(X || {});
144
+ const ze = {
17
145
  /**
18
146
  * Date to be displayed as the calendar day. From 1st to 31st (or end of the month defined in the date)
19
147
  */
@@ -35,43 +163,36 @@ const Ge = {
35
163
  default: C.SINGLE,
36
164
  validator: (e) => Object.values(C).includes(e)
37
165
  }
38
- }, ie = /* @__PURE__ */ new Map();
39
- function De(e, t) {
166
+ }, fe = /* @__PURE__ */ new Map();
167
+ function ve(e, t) {
40
168
  const a = t ? JSON.stringify(Object.entries(t).sort()) : "no-options", n = (e == null ? void 0 : e.trim()) || "en-US", r = `${n}::${a}`;
41
- if (ie.has(r))
42
- return ie.get(r);
43
- const s = new Intl.DateTimeFormat(n, t);
44
- return ie.set(r, s), s;
169
+ if (fe.has(r))
170
+ return fe.get(r);
171
+ const o = new Intl.DateTimeFormat(n, t);
172
+ return fe.set(r, o), o;
45
173
  }
46
174
  const Bt = (e) => {
47
- if (!e)
48
- return "";
49
- const t = e.getFullYear(), a = (e.getMonth() + 1).toString().padStart(2, "0");
50
- let n = `${t}-${a}`;
51
- const r = e.getDate().toString().padStart(2, "0");
52
- return n += `-${r}`, n;
53
- }, Ut = (e) => {
54
175
  if (!e)
55
176
  return "";
56
177
  const t = (a) => a.toString().padStart(2, "0");
57
178
  return [t(e.getHours()), t(e.getMinutes()), t(e.getSeconds())].join(":");
58
- }, $e = ee({
179
+ }, Je = ee({
59
180
  name: "calendar-month-day",
60
181
  components: { BentoTypography: ye },
61
182
  inheritAttrs: !0,
62
- props: Ge,
183
+ props: ze,
63
184
  emits: [X.CLICK, X.MOUSE_OVER],
64
185
  setup(e, { emit: t }) {
65
- const { locale: a } = _e(void 0, !0), n = k(() => {
66
- const d = /* @__PURE__ */ new Date();
67
- return e.day.getDate() === d.getDate() && e.day.getMonth() === d.getMonth() && e.day.getFullYear() === d.getFullYear();
68
- }), r = k(() => {
69
- const i = De(a.value, { day: "numeric" }).formatToParts(e.day).find((v) => v.type === "day");
70
- return (i == null ? void 0 : i.value) ?? "";
186
+ const { locale: a } = _e(void 0, !0), n = g(() => {
187
+ const f = /* @__PURE__ */ new Date();
188
+ return e.day.getDate() === f.getDate() && e.day.getMonth() === f.getMonth() && e.day.getFullYear() === f.getFullYear();
189
+ }), r = g(() => {
190
+ const d = ve(a.value, { day: "numeric" }).formatToParts(e.day).find((v) => v.type === "day");
191
+ return (d == null ? void 0 : d.value) ?? "";
71
192
  });
72
193
  return {
73
194
  // Values
74
- conditionalClasses: k(() => ({
195
+ conditionalClasses: g(() => ({
75
196
  // Variants
76
197
  [`b-calendar-month-day--${U.BEGINNING}`]: e.variant === C.BEGINNING,
77
198
  [`b-calendar-month-day--${U.MIDDLE}`]: e.variant === C.MIDDLE,
@@ -90,128 +211,81 @@ const Bt = (e) => {
90
211
  // Enums
91
212
  CalendarMonthDayEvent: X,
92
213
  // Events
93
- onClick: (d, h) => {
94
- e.disabled ? (d.preventDefault(), d.stopPropagation()) : t(X.CLICK, h, e.day);
214
+ onClick: (f, h) => {
215
+ e.disabled ? (f.preventDefault(), f.stopPropagation()) : t(X.CLICK, h, e.day);
95
216
  }
96
217
  };
97
218
  }
98
219
  });
99
- var je = function() {
220
+ var Xe = function() {
100
221
  var t = this, a = t._self._c;
101
222
  return t._self._setupProxy, a("td", { staticClass: "b-calendar-month-day", class: t.conditionalClasses, attrs: { tabindex: t.selected ? "0" : "-1", "aria-selected": t.selected ? t.selected : void 0, "aria-disabled": t.disabled, "aria-current": t.isCurrentDay ? "date" : void 0, "data-date": t.day.toDateString() }, on: { click: (n) => t.onClick(n, t.day), mouseover: function(n) {
102
223
  return t.$emit(t.CalendarMonthDayEvent.MOUSE_OVER);
103
224
  }, keydown: function(n) {
104
225
  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);
105
226
  } } }, [a("div", { staticClass: "b-calendar-month-day__wrapper" }, [a("bento-typography", { staticClass: "b-calendar-month-day__label", attrs: { el: "span", variant: "body", strong: "" } }, [t._v(" " + t._s(t.formattedDate) + " ")])], 1)]);
106
- }, He = [], We = /* @__PURE__ */ te(
107
- $e,
108
- je,
109
- He,
227
+ }, Ze = [], pe = /* @__PURE__ */ te(
228
+ Je,
229
+ Xe,
230
+ Ze,
110
231
  !1,
111
232
  null,
112
233
  "6cd88832"
113
234
  );
114
- const Ve = We.exports;
115
- var q = /* @__PURE__ */ ((e) => (e.FIRST = "first", e.LAST = "last", e.MIDDLE = "middle", e.UNIQUE = "unique", e))(q || {}), $ = /* @__PURE__ */ ((e) => (e.INPUT = "input", e.START_DATE_SELECTED = "start-date-selected", e.END_DATE_SELECTED = "end-date-selected", e))($ || {}), ve = /* @__PURE__ */ ((e) => (e.DAY = "day", e.MONTH = "month", e))(ve || {});
116
- function p(e, t, a) {
117
- const n = E(e, a == null ? void 0 : a.in);
118
- return isNaN(t) ? Q(e, NaN) : (t && n.setDate(n.getDate() + t), n);
119
- }
120
- function W(e, t, a) {
121
- const n = E(e, a == null ? void 0 : a.in);
122
- if (isNaN(t)) return Q(e, NaN);
123
- if (!t)
124
- return n;
125
- const r = n.getDate(), s = Q(e, n.getTime());
126
- s.setMonth(n.getMonth() + t + 1, 0);
127
- const u = s.getDate();
128
- return r >= u ? s : (n.setFullYear(
129
- s.getFullYear(),
130
- s.getMonth(),
131
- r
132
- ), n);
133
- }
134
- function se(e, t) {
135
- var d, h, i, v;
136
- const a = we(), n = (t == null ? void 0 : t.weekStartsOn) ?? ((h = (d = t == null ? void 0 : t.locale) == null ? void 0 : d.options) == null ? void 0 : h.weekStartsOn) ?? a.weekStartsOn ?? ((v = (i = a.locale) == null ? void 0 : i.options) == null ? void 0 : v.weekStartsOn) ?? 0, r = E(e, t == null ? void 0 : t.in), s = r.getDay(), u = (s < n ? -7 : 0) + 6 - (s - n);
137
- return r.setDate(r.getDate() + u), r.setHours(23, 59, 59, 999), r;
138
- }
139
- function qe(e, t) {
140
- const a = E(e, t == null ? void 0 : t.in), n = a.getFullYear(), r = a.getMonth(), s = Q(a, 0);
141
- return s.setFullYear(n, r + 1, 0), s.setHours(0, 0, 0, 0), s.getDate();
142
- }
143
- function Ke(e, t, a) {
144
- const n = E(e, a == null ? void 0 : a.in), r = n.getFullYear(), s = n.getDate(), u = Q(e, 0);
145
- u.setFullYear(r, t, 15), u.setHours(0, 0, 0, 0);
146
- const d = qe(u);
147
- return n.setMonth(t, Math.min(s, d)), n;
148
- }
149
- function Qe(e, t, a) {
150
- let n = E(e, a == null ? void 0 : a.in);
151
- return isNaN(+n) ? Q(e, NaN) : (t.year != null && n.setFullYear(t.year), t.month != null && (n = Ke(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);
152
- }
153
- function Ne(e, t) {
154
- const a = E(e, t == null ? void 0 : t.in);
155
- return a.setFullYear(a.getFullYear(), 0, 1), a.setHours(0, 0, 0, 0), a;
156
- }
157
- function me(e, t, a) {
158
- return p(e, -t, a);
159
- }
160
- function Z(e, t, a) {
161
- return W(e, -t, a);
162
- }
235
+ const et = pe.exports;
236
+ var q = /* @__PURE__ */ ((e) => (e.FIRST = "first", e.LAST = "last", e.MIDDLE = "middle", e.UNIQUE = "unique", e))(q || {}), j = /* @__PURE__ */ ((e) => (e.INPUT = "input", e.START_DATE_SELECTED = "start-date-selected", e.END_DATE_SELECTED = "end-date-selected", e))(j || {}), me = /* @__PURE__ */ ((e) => (e.DAY = "day", e.MONTH = "month", e))(me || {});
163
237
  const Ye = ({ currentSelectedDate: e, month: t, isDateDisabled: a, firstDayOfWeek: n }, r) => {
164
- const s = j(new Date(t.value));
238
+ const o = $(new Date(t.value));
165
239
  K(
166
240
  t,
167
241
  () => {
168
- s.value = t.value;
242
+ o.value = t.value;
169
243
  },
170
244
  { immediate: !0 }
171
245
  );
172
- const u = j(new Date(e.value));
246
+ const u = $(new Date(e.value));
173
247
  K(e, () => {
174
248
  u.value = new Date(e.value);
175
249
  });
176
- const d = Fe(), h = j(u.value);
177
- K(d, (c) => {
250
+ const f = Fe(), h = $(u.value);
251
+ K(f, (c) => {
178
252
  const M = c.getAttribute("data-date");
179
253
  h.value = M ? new Date(M) : u.value;
180
254
  });
181
- const i = j({}), v = (c) => (M) => {
182
- i.value[c.toDateString()] = M;
255
+ const d = $({}), v = (c) => (M) => {
256
+ d.value[c.toDateString()] = M;
183
257
  }, m = () => {
184
- i.value = {};
258
+ d.value = {};
185
259
  }, D = (c = 1) => {
186
- s.value = W(s.value, c), r(A.NEXT_MONTH, c), m();
187
- }, f = (c = 1) => {
188
- s.value = Z(s.value, c), r(A.PREVIOUS_MONTH, c), m();
189
- }, o = (c, M) => {
190
- const w = !!i.value[c == null ? void 0 : c.toDateString()];
191
- return !c || !w ? null : M ? i.value[c.toDateString()].$el : (i.value[c.toDateString()].$el.focus(), null);
260
+ o.value = W(o.value, c), r(A.NEXT_MONTH, c), m();
261
+ }, i = (c = 1) => {
262
+ o.value = Z(o.value, c), r(A.PREVIOUS_MONTH, c), m();
263
+ }, s = (c, M) => {
264
+ const w = !!d.value[c == null ? void 0 : c.toDateString()];
265
+ return !c || !w ? null : M ? d.value[c.toDateString()].$el : (d.value[c.toDateString()].$el.focus(), null);
192
266
  }, l = (c) => {
193
267
  c.preventDefault(), c.stopImmediatePropagation(), c.stopPropagation();
194
268
  }, _ = ({ nextDate: c, isIncreasingDays: M, amountOfMonths: w, isCalendarButtonsNav: B }) => {
195
269
  if (!B && a && a(c))
196
270
  return;
197
- c.getMonth() === u.value.getMonth() && c.getFullYear() === u.value.getFullYear() ? (u.value = c, o(c)) : (M ? D(w) : f(w), Ce(() => {
198
- const R = c.getMonth() === s.value.getMonth() && c.getFullYear() === s.value.getFullYear();
199
- a && a(c) || !R || B || (u.value = c, o(c));
271
+ c.getMonth() === u.value.getMonth() && c.getFullYear() === u.value.getFullYear() ? (u.value = c, s(c)) : (M ? D(w) : i(w), Ce(() => {
272
+ const Y = c.getMonth() === o.value.getMonth() && c.getFullYear() === o.value.getFullYear();
273
+ a && a(c) || !Y || B || (u.value = c, s(c));
200
274
  }));
201
275
  };
202
276
  return {
203
277
  // Calendar days ref
204
- calendarRef: i,
278
+ calendarRef: d,
205
279
  addDayRef: v,
206
280
  /**
207
281
  * Month navigation
208
282
  */
209
283
  showNextMonth: D,
210
- showPreviousMonth: f,
284
+ showPreviousMonth: i,
211
285
  /**
212
286
  * Focus method
213
287
  */
214
- focusOnDate: o,
288
+ focusOnDate: s,
215
289
  /**
216
290
  * Day navigation
217
291
  */
@@ -221,11 +295,11 @@ const Ye = ({ currentSelectedDate: e, month: t, isDateDisabled: a, firstDayOfWee
221
295
  },
222
296
  // ArrowLeft
223
297
  moveToPreviousDay: (c) => {
224
- l(c), _({ nextDate: me(h.value, 1), isIncreasingDays: !1 });
298
+ l(c), _({ nextDate: De(h.value, 1), isIncreasingDays: !1 });
225
299
  },
226
300
  // ArrowUp
227
301
  moveToPreviousWeek: (c) => {
228
- l(c), _({ nextDate: me(h.value, 7), isIncreasingDays: !1 });
302
+ l(c), _({ nextDate: De(h.value, 7), isIncreasingDays: !1 });
229
303
  },
230
304
  // ArrowDown
231
305
  moveToNextWeek: (c) => {
@@ -240,9 +314,9 @@ const Ye = ({ currentSelectedDate: e, month: t, isDateDisabled: a, firstDayOfWee
240
314
  },
241
315
  moveToFirstMonthOfYear: (c) => {
242
316
  l(c);
243
- const M = Me(u.value, Ne(u.value));
317
+ const M = Me(u.value, be(u.value));
244
318
  _({
245
- nextDate: Ne(u.value),
319
+ nextDate: be(u.value),
246
320
  isIncreasingDays: !1,
247
321
  amountOfMonths: M
248
322
  });
@@ -250,13 +324,13 @@ const Ye = ({ currentSelectedDate: e, month: t, isDateDisabled: a, firstDayOfWee
250
324
  // End
251
325
  moveToLastDayOfWeek: (c) => {
252
326
  l(c), _({
253
- nextDate: se(h.value, { weekStartsOn: n }),
327
+ nextDate: oe(h.value, { weekStartsOn: n }),
254
328
  isIncreasingDays: !0
255
329
  });
256
330
  },
257
331
  moveToLastMonthOfYear: (c) => {
258
332
  l(c);
259
- const M = Qe(u.value, { month: 11, date: 1 }), w = Me(M, u.value);
333
+ const M = Ke(u.value, { month: 11, date: 1 }), w = Me(M, u.value);
260
334
  _({
261
335
  nextDate: M,
262
336
  isIncreasingDays: !0,
@@ -309,38 +383,9 @@ const Ye = ({ currentSelectedDate: e, month: t, isDateDisabled: a, firstDayOfWee
309
383
  },
310
384
  // Values
311
385
  internalDate: u,
312
- baseDate: s
386
+ baseDate: o
313
387
  };
314
- };
315
- function ze(e, t, a) {
316
- var m, D;
317
- const n = we(), r = n.weekStartsOn ?? ((D = (m = n.locale) == null ? void 0 : m.options) == null ? void 0 : D.weekStartsOn) ?? 0, s = E(e, a == null ? void 0 : a.in), u = s.getDay(), h = (t % 7 + 7) % 7, i = 7 - r, v = t < 0 || t > 6 ? t - (u + i) % 7 : (h + i) % 7 - (u + i) % 7;
318
- return p(s, v, a);
319
- }
320
- function oe(e, t) {
321
- const a = E(e, t == null ? void 0 : t.in);
322
- return a.setDate(1), a.setHours(0, 0, 0, 0), a;
323
- }
324
- function V(e, t) {
325
- const a = E(e, t == null ? void 0 : t.in);
326
- return a.setHours(0, 0, 0, 0), a;
327
- }
328
- function ne(e, t, a) {
329
- const [n, r] = le(
330
- a == null ? void 0 : a.in,
331
- e,
332
- t
333
- );
334
- return +V(n) == +V(r);
335
- }
336
- function ue(e, t, a) {
337
- const n = +E(e, a == null ? void 0 : a.in), [r, s] = [
338
- +E(t.start, a == null ? void 0 : a.in),
339
- +E(t.end, a == null ? void 0 : a.in)
340
- ].sort((u, d) => u - d);
341
- return n >= r && n <= s;
342
- }
343
- const Je = {
388
+ }, tt = {
344
389
  "en-US": {
345
390
  nextMonth: "Next month",
346
391
  previousMonth: "Previous month"
@@ -353,13 +398,13 @@ const Je = {
353
398
  nextMonth: "Próximo mês",
354
399
  previousMonth: "Mês anterior"
355
400
  }
356
- }, Xe = ee({
357
- i18n: { messages: Je },
401
+ }, nt = ee({
402
+ i18n: { messages: tt },
358
403
  name: "calendar-month",
359
404
  components: {
360
405
  BentoButton: Se,
361
406
  BentoTypography: ye,
362
- CalendarMonthDay: Ve,
407
+ CalendarMonthDay: et,
363
408
  ChevronLeftIcon: xe,
364
409
  ChevronRightIcon: Te
365
410
  },
@@ -421,71 +466,71 @@ const Je = {
421
466
  A.MOUSE_OVER
422
467
  ],
423
468
  setup(e, { emit: t }) {
424
- const { locale: a, t: n } = _e(), r = Ie("bento-date-picker-month-label"), s = k(
469
+ const { locale: a, t: n } = _e(), r = Ie("bento-date-picker-month-label"), o = g(
425
470
  () => (b) => {
426
- var R;
427
- return e.min && b < e.min || e.max && b > e.max || ((R = e.isDateDisabled) == null ? void 0 : R.call(e, b));
471
+ var Y;
472
+ return e.min && b < e.min || e.max && b > e.max || ((Y = e.isDateDisabled) == null ? void 0 : Y.call(e, b));
428
473
  }
429
474
  ), {
430
475
  internalDate: u,
431
- baseDate: d,
476
+ baseDate: f,
432
477
  // Calendar refs
433
478
  addDayRef: h,
434
479
  // Month navigation
435
- showNextMonth: i,
480
+ showNextMonth: d,
436
481
  showPreviousMonth: v,
437
482
  // Day navigation
438
483
  moveToNextDay: m,
439
484
  moveToPreviousDay: D,
440
- moveToPreviousWeek: f,
441
- moveToNextWeek: o,
485
+ moveToPreviousWeek: i,
486
+ moveToNextWeek: s,
442
487
  moveToFirstDayOfWeek: l,
443
488
  moveToLastDayOfWeek: _,
444
489
  moveToPreviousMonth: x,
445
490
  moveToPreviousYear: y,
446
491
  moveToNextMonth: N,
447
- moveToNextYear: Y,
492
+ moveToNextYear: R,
448
493
  focusOnDate: L
449
494
  } = Ye(
450
495
  {
451
496
  currentSelectedDate: F(e, "startDate"),
452
497
  month: F(e, "month"),
453
- isDateDisabled: s.value,
498
+ isDateDisabled: o.value,
454
499
  firstDayOfWeek: e.firstDayOfWeek
455
500
  },
456
501
  t
457
- ), O = k(
502
+ ), O = g(
458
503
  () => Object.values(H).includes(e.firstDayOfWeek) ? e.firstDayOfWeek : H.MONDAY
459
- ), g = k(() => ["first", "unique"].includes(e.position)), T = k(() => ["last", "unique"].includes(e.position)), S = k(
460
- () => De(a.value, { month: "long", year: "numeric" }).format(d.value)
461
- ), I = k(
462
- () => new Array(7).fill(/* @__PURE__ */ new Date()).map((b, R) => {
463
- const J = ze(b, O.value + R);
464
- return De(a.value, { weekday: "short" }).format(J);
504
+ ), k = g(() => ["first", "unique"].includes(e.position)), T = g(() => ["last", "unique"].includes(e.position)), S = g(
505
+ () => ve(a.value, { month: "long", year: "numeric" }).format(f.value)
506
+ ), I = g(
507
+ () => new Array(7).fill(/* @__PURE__ */ new Date()).map((b, Y) => {
508
+ const J = Ve(b, O.value + Y);
509
+ return ve(a.value, { weekday: "short" }).format(J);
465
510
  })
466
- ), z = k(() => {
467
- const b = [], R = oe(e.month);
511
+ ), z = g(() => {
512
+ const b = [], Y = se(e.month);
468
513
  let J = b[b.push([]) - 1];
469
- for (; R.getMonth() === e.month.getMonth(); )
470
- R.getDay() - O.value === 0 && J.length > 0 && (J = b[b.push([]) - 1]), J.push(V(R)), R.setDate(R.getDate() + 1);
514
+ for (; Y.getMonth() === e.month.getMonth(); )
515
+ Y.getDay() - O.value === 0 && J.length > 0 && (J = b[b.push([]) - 1]), J.push(V(Y)), Y.setDate(Y.getDate() + 1);
471
516
  return b;
472
517
  });
473
518
  return {
474
519
  // Refs
475
520
  addDayRef: h,
476
521
  // Values
477
- computedIsDateDisabled: s,
522
+ computedIsDateDisabled: o,
478
523
  daysOfWeek: I,
479
524
  weeksOfMonth: z,
480
525
  formattedMonthDate: S,
481
526
  shouldShowNextMonthButton: T,
482
- shouldShowPreviousMonthButton: g,
527
+ shouldShowPreviousMonthButton: k,
483
528
  monthLabelId: r,
484
529
  // Enums
485
530
  CalendarMonthEvent: A,
486
531
  // Functions
487
532
  isSelectedDate: (b) => u.value && ne(u.value, b) && !e.endDate ? !0 : e.startDate && e.endDate && ue(b, { start: e.startDate, end: e.endDate }),
488
- showNextMonth: i,
533
+ showNextMonth: d,
489
534
  showPreviousMonth: v,
490
535
  dayVariant: (b) => {
491
536
  if (!e.isRange || ne(e.startDate, e.endDate))
@@ -507,82 +552,74 @@ const Je = {
507
552
  listeners: {
508
553
  "keydown:arrow-right": m,
509
554
  "keydown:arrow-left": D,
510
- "keydown:arrow-up": f,
511
- "keydown:arrow-down": o,
555
+ "keydown:arrow-up": i,
556
+ "keydown:arrow-down": s,
512
557
  "keydown:home": l,
513
558
  "keydown:end": _,
514
559
  "keydown:page-up": x,
515
560
  "keydown:shift-page-up": y,
516
561
  "keydown:page-down": N,
517
- "keydown:shift-page-down": Y
562
+ "keydown:shift-page-down": R
518
563
  },
519
564
  // Exposed methods
520
565
  focusOnDate: L,
521
566
  moveToNextDay: m,
522
567
  moveToPreviousDay: D,
523
- moveToPreviousWeek: f,
524
- moveToNextWeek: o,
568
+ moveToPreviousWeek: i,
569
+ moveToNextWeek: s,
525
570
  moveToFirstDayOfWeek: l,
526
571
  moveToLastDayOfWeek: _,
527
572
  moveToPreviousMonth: x,
528
573
  moveToPreviousYear: y,
529
574
  moveToNextMonth: N,
530
- moveToNextYear: Y,
575
+ moveToNextYear: R,
531
576
  // Translations
532
577
  t: n
533
578
  };
534
579
  }
535
580
  });
536
- var Ze = function() {
581
+ var at = function() {
537
582
  var n, r;
538
583
  var t = this, a = t._self._c;
539
- return t._self._setupProxy, a("div", t._g({ directives: [{ name: "bento-keyboard-navigation-directive", rawName: "v-bento-keyboard-navigation-directive" }], staticClass: "b-calendar-month" }, t.listeners), [a("div", { staticClass: "b-calendar-month__month-selector" }, [a("div", { staticClass: "b-calendar-month__previous" }, [t.shouldShowPreviousMonthButton ? a("bento-button", { attrs: { variant: "tertiary" }, on: { click: function(s) {
540
- return t.moveToPreviousMonth(s, !0);
584
+ return t._self._setupProxy, a("div", t._g({ directives: [{ name: "bento-keyboard-navigation-directive", rawName: "v-bento-keyboard-navigation-directive" }], staticClass: "b-calendar-month" }, t.listeners), [a("div", { staticClass: "b-calendar-month__month-selector" }, [a("div", { staticClass: "b-calendar-month__previous" }, [t.shouldShowPreviousMonthButton ? a("bento-button", { attrs: { variant: "tertiary" }, on: { click: function(o) {
585
+ return t.moveToPreviousMonth(o, !0);
541
586
  } }, scopedSlots: t._u([{ key: "iconLeft", fn: function() {
542
587
  return [a("chevron-left-icon", { attrs: { "svg-title": t.t("previousMonth") } })];
543
- }, proxy: !0 }], null, !1, 1806090420) }) : t._e()], 1), a("bento-typography", { attrs: { id: t.monthLabelId, el: "h2", variant: "title", "aria-live": "polite" } }, [t._v(" " + t._s(t.formattedMonthDate) + " ")]), a("div", { staticClass: "b-calendar-month__next" }, [t.shouldShowNextMonthButton ? a("bento-button", { attrs: { variant: "tertiary" }, on: { click: function(s) {
544
- return t.moveToNextMonth(s, !0);
588
+ }, proxy: !0 }], null, !1, 1806090420) }) : t._e()], 1), a("bento-typography", { attrs: { id: t.monthLabelId, el: "h2", variant: "title", "aria-live": "polite" } }, [t._v(" " + t._s(t.formattedMonthDate) + " ")]), a("div", { staticClass: "b-calendar-month__next" }, [t.shouldShowNextMonthButton ? a("bento-button", { attrs: { variant: "tertiary" }, on: { click: function(o) {
589
+ return t.moveToNextMonth(o, !0);
545
590
  } }, scopedSlots: t._u([{ key: "iconLeft", fn: function() {
546
591
  return [a("chevron-right-icon", { attrs: { "svg-title": t.t("nextMonth") } })];
547
- }, proxy: !0 }], null, !1, 1041540377) }) : t._e()], 1)], 1), a("table", { staticClass: "b-calendar-month__month-container", attrs: { role: "grid", "aria-labelledby": t.monthLabelId } }, [a("thead", [a("tr", { staticClass: "b-calendar-month__week-header" }, t._l(t.daysOfWeek, function(s, u) {
548
- return a("th", { key: u, staticClass: "b-calendar-month__day-of-week", attrs: { scope: "col" } }, [a("bento-typography", { staticClass: "b-calendar-month__day-of-week-font", attrs: { el: "span", variant: "caption" } }, [t._v(" " + t._s(s) + " ")])], 1);
549
- }), 0)]), a("tbody", [t._l(t.weeksOfMonth, function(s, u) {
550
- return a("tr", { key: u }, [u === 0 && s.length < 7 ? a("td", { attrs: { colspan: 7 - s.length } }) : t._e(), t._l(s, function(d, h) {
551
- return a("calendar-month-day", { key: `calendar-day-${h}`, ref: t.addDayRef(d), refInFor: !0, attrs: { day: d, disabled: t.computedIsDateDisabled(d), selected: t.isSelectedDate(d), variant: t.dayVariant(d) }, on: { click: t.onDayClicked, mouseover: function(i) {
552
- return t.$emit(t.CalendarMonthEvent.MOUSE_OVER, d);
553
- } }, nativeOn: { keyup: [function(i) {
554
- return !i.type.indexOf("key") && t._k(i.keyCode, "up", 38, i.key, ["Up", "ArrowUp"]) ? null : t.$emit(t.CalendarMonthEvent.CHANGE_DAY, d);
555
- }, function(i) {
556
- return !i.type.indexOf("key") && t._k(i.keyCode, "down", 40, i.key, ["Down", "ArrowDown"]) ? null : t.$emit(t.CalendarMonthEvent.CHANGE_DAY, d);
557
- }, function(i) {
558
- return !i.type.indexOf("key") && t._k(i.keyCode, "left", 37, i.key, ["Left", "ArrowLeft"]) || "button" in i && i.button !== 0 ? null : t.$emit(t.CalendarMonthEvent.CHANGE_DAY, d);
559
- }, function(i) {
560
- return !i.type.indexOf("key") && t._k(i.keyCode, "right", 39, i.key, ["Right", "ArrowRight"]) || "button" in i && i.button !== 2 ? null : t.$emit(t.CalendarMonthEvent.CHANGE_DAY, d);
592
+ }, proxy: !0 }], null, !1, 1041540377) }) : t._e()], 1)], 1), a("table", { staticClass: "b-calendar-month__month-container", attrs: { role: "grid", "aria-labelledby": t.monthLabelId } }, [a("thead", [a("tr", { staticClass: "b-calendar-month__week-header" }, t._l(t.daysOfWeek, function(o, u) {
593
+ return a("th", { key: u, staticClass: "b-calendar-month__day-of-week", attrs: { scope: "col" } }, [a("bento-typography", { staticClass: "b-calendar-month__day-of-week-font", attrs: { el: "span", variant: "caption" } }, [t._v(" " + t._s(o) + " ")])], 1);
594
+ }), 0)]), a("tbody", [t._l(t.weeksOfMonth, function(o, u) {
595
+ return a("tr", { key: u }, [u === 0 && o.length < 7 ? a("td", { attrs: { colspan: 7 - o.length } }) : t._e(), t._l(o, function(f, h) {
596
+ return a("calendar-month-day", { key: `calendar-day-${h}`, ref: t.addDayRef(f), refInFor: !0, attrs: { day: f, disabled: t.computedIsDateDisabled(f), selected: t.isSelectedDate(f), variant: t.dayVariant(f) }, on: { click: t.onDayClicked, mouseover: function(d) {
597
+ return t.$emit(t.CalendarMonthEvent.MOUSE_OVER, f);
598
+ } }, nativeOn: { keyup: [function(d) {
599
+ return !d.type.indexOf("key") && t._k(d.keyCode, "up", 38, d.key, ["Up", "ArrowUp"]) ? null : t.$emit(t.CalendarMonthEvent.CHANGE_DAY, f);
600
+ }, function(d) {
601
+ return !d.type.indexOf("key") && t._k(d.keyCode, "down", 40, d.key, ["Down", "ArrowDown"]) ? null : t.$emit(t.CalendarMonthEvent.CHANGE_DAY, f);
602
+ }, function(d) {
603
+ return !d.type.indexOf("key") && t._k(d.keyCode, "left", 37, d.key, ["Left", "ArrowLeft"]) || "button" in d && d.button !== 0 ? null : t.$emit(t.CalendarMonthEvent.CHANGE_DAY, f);
604
+ }, function(d) {
605
+ return !d.type.indexOf("key") && t._k(d.keyCode, "right", 39, d.key, ["Right", "ArrowRight"]) || "button" in d && d.button !== 2 ? null : t.$emit(t.CalendarMonthEvent.CHANGE_DAY, f);
561
606
  }] } });
562
607
  })], 2);
563
- }), ((n = t.weeksOfMonth) == null ? void 0 : n.length) < 6 ? t._l(6 - ((r = t.weeksOfMonth) == null ? void 0 : r.length), function(s) {
564
- return a("tr", { key: `calendar month filler row ${s}` }, [a("td", { staticClass: "b-calendar-month__empty-cell-filler", attrs: { "aria-hidden": "true", colspan: 7 } })]);
608
+ }), ((n = t.weeksOfMonth) == null ? void 0 : n.length) < 6 ? t._l(6 - ((r = t.weeksOfMonth) == null ? void 0 : r.length), function(o) {
609
+ return a("tr", { key: `calendar month filler row ${o}` }, [a("td", { staticClass: "b-calendar-month__empty-cell-filler", attrs: { "aria-hidden": "true", colspan: 7 } })]);
565
610
  }) : t._e()], 2)])]);
566
- }, pe = [], et = /* @__PURE__ */ te(
567
- Xe,
568
- Ze,
569
- pe,
611
+ }, rt = [], st = /* @__PURE__ */ te(
612
+ nt,
613
+ at,
614
+ rt,
570
615
  !1,
571
616
  null,
572
617
  "b0c83eb5"
573
618
  );
574
- const be = et.exports;
575
- function ae(e, t, a) {
576
- const [n, r] = le(
577
- a == null ? void 0 : a.in,
578
- e,
579
- t
580
- );
581
- return n.getFullYear() === r.getFullYear() && n.getMonth() === r.getMonth();
582
- }
619
+ const ge = st.exports;
583
620
  var P = /* @__PURE__ */ ((e) => (e.SINGLE = "single", e.MIDDLE = "middle", e.BEGINNING = "beginning", e.END = "end", e))(P || {}), G = /* @__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))(G || {}), he = /* @__PURE__ */ ((e) => (e.CLICK = "click", e.MOUSE_OVER = "mouseover", e))(he || {});
584
- const tt = {}, nt = /* @__PURE__ */ ee({
585
- ...tt,
621
+ const ot = {}, ut = /* @__PURE__ */ ee({
622
+ ...ot,
586
623
  __name: "calendar-year-month",
587
624
  props: {
588
625
  month: null,
@@ -592,10 +629,10 @@ const tt = {}, nt = /* @__PURE__ */ ee({
592
629
  },
593
630
  emits: ["click", "mouseover"],
594
631
  setup(e, { emit: t }) {
595
- const a = e, n = k(() => {
632
+ const a = e, n = g(() => {
596
633
  const u = /* @__PURE__ */ new Date();
597
634
  return a.month.getMonth() === u.getMonth() && a.month.getFullYear() === u.getFullYear();
598
- }), r = k(() => ({
635
+ }), r = g(() => ({
599
636
  // Variants
600
637
  [`b-calendar-year-month--${G.BEGINNING}`]: a.variant === P.BEGINNING,
601
638
  [`b-calendar-year-month--${G.MIDDLE}`]: a.variant === P.MIDDLE,
@@ -609,27 +646,27 @@ const tt = {}, nt = /* @__PURE__ */ ee({
609
646
  // Disabled
610
647
  [`b-calendar-year-month--${G.DISABLED}`]: a.disabled
611
648
  }));
612
- return { __sfc: !0, props: a, emit: t, isCurrentMonth: n, conditionalClasses: r, onClick: (u, d) => {
613
- a.disabled ? (u.preventDefault(), u.stopPropagation()) : t(he.CLICK, d, a.month);
649
+ return { __sfc: !0, props: a, emit: t, isCurrentMonth: n, conditionalClasses: r, onClick: (u, f) => {
650
+ a.disabled ? (u.preventDefault(), u.stopPropagation()) : t(he.CLICK, f, a.month);
614
651
  }, BentoDate: Ue, BentoDateFormat: Be, CalendarYearMonthEvent: he };
615
652
  }
616
653
  });
617
- var at = function() {
654
+ var lt = function() {
618
655
  var t = this, a = t._self._c, n = t._self._setupProxy;
619
656
  return a("td", { staticClass: "b-calendar-year-month", class: n.conditionalClasses, attrs: { tabindex: t.selected ? "0" : "-1", "aria-selected": t.selected ? t.selected : void 0 }, on: { click: (r) => n.onClick(r, t.month), mouseover: function(r) {
620
657
  return n.emit(n.CalendarYearMonthEvent.MOUSE_OVER);
621
658
  }, keydown: function(r) {
622
- return !r.type.indexOf("key") && t._k(r.keyCode, "space", 32, r.key, [" ", "Spacebar"]) && t._k(r.keyCode, "enter", 13, r.key, "Enter") ? null : ((s) => n.onClick(s, t.month)).apply(null, arguments);
659
+ return !r.type.indexOf("key") && t._k(r.keyCode, "space", 32, r.key, [" ", "Spacebar"]) && t._k(r.keyCode, "enter", 13, r.key, "Enter") ? null : ((o) => n.onClick(o, t.month)).apply(null, arguments);
623
660
  } } }, [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)]);
624
- }, rt = [], st = /* @__PURE__ */ te(
625
- nt,
626
- at,
627
- rt,
661
+ }, ct = [], it = /* @__PURE__ */ te(
662
+ ut,
663
+ lt,
664
+ ct,
628
665
  !1,
629
666
  null,
630
667
  "14764460"
631
668
  );
632
- const ot = st.exports, ut = {
669
+ const dt = it.exports, ft = {
633
670
  "en-US": {
634
671
  nextYear: "Next year",
635
672
  previousYear: "Previous year"
@@ -642,10 +679,10 @@ const ot = st.exports, ut = {
642
679
  nextYear: "Ano seguinte",
643
680
  previousYear: "Ano anterior"
644
681
  }
645
- }, lt = {
646
- i18n: { messages: ut }
647
- }, ct = /* @__PURE__ */ ee({
648
- ...lt,
682
+ }, Dt = {
683
+ i18n: { messages: ft }
684
+ }, vt = /* @__PURE__ */ ee({
685
+ ...Dt,
649
686
  __name: "calendar-year",
650
687
  props: {
651
688
  endDate: { default: null },
@@ -659,18 +696,18 @@ const ot = st.exports, ut = {
659
696
  },
660
697
  emits: ["input", "mouseover", "nextMonth", "previousMonth"],
661
698
  setup(e, { expose: t, emit: a }) {
662
- const n = e, r = Ie("bento-date-picker-year-label"), { t: s } = _e(), u = (g) => {
699
+ const n = e, r = Ie("bento-date-picker-year-label"), { t: o } = _e(), u = (k) => {
663
700
  var T;
664
- return n.min && g < n.min || n.max && g > n.max || ((T = n.isDateDisabled) == null ? void 0 : T.call(n, g));
665
- }, d = k(() => ["first", "unique"].includes(n.position)), h = k(() => ["last", "unique"].includes(n.position)), {
666
- internalDate: i,
701
+ return n.min && k < n.min || n.max && k > n.max || ((T = n.isDateDisabled) == null ? void 0 : T.call(n, k));
702
+ }, f = g(() => ["first", "unique"].includes(n.position)), h = g(() => ["last", "unique"].includes(n.position)), {
703
+ internalDate: d,
667
704
  // Calendar refs
668
705
  addDayRef: v,
669
706
  // Day navigation
670
707
  moveToPreviousMonth: m,
671
708
  moveToPreviousYear: D,
672
- moveToNextMonth: f,
673
- moveToNextYear: o,
709
+ moveToNextMonth: i,
710
+ moveToNextYear: s,
674
711
  moveToFirstMonthOfYear: l,
675
712
  moveToLastMonthOfYear: _,
676
713
  focusOnDate: x
@@ -683,32 +720,32 @@ const ot = st.exports, ut = {
683
720
  a
684
721
  );
685
722
  t({ focusOnDate: x });
686
- const y = k(() => {
687
- const g = [];
723
+ const y = g(() => {
724
+ const k = [];
688
725
  let T = 0;
689
726
  for (let S = 0; S < 3; S++) {
690
727
  const I = [];
691
728
  for (let z = 0; z < 4; z++)
692
729
  I.push(new Date(n.year.getFullYear(), T++, 1));
693
- g.push(I);
730
+ k.push(I);
694
731
  }
695
- return g;
696
- }), N = (g) => !n.isRange || ae(n.startDate, n.endDate) ? P.SINGLE : n.startDate && ae(n.startDate, g) ? P.BEGINNING : n.endDate && ae(n.endDate, g) ? P.END : n.startDate && n.endDate && ue(g, { start: n.startDate, end: n.endDate }) ? P.MIDDLE : null, Y = (g) => i.value && ae(i.value, g) ? !0 : n.startDate && n.endDate && ue(g, { start: n.startDate, end: n.endDate }), L = (g) => {
697
- a("input", g);
732
+ return k;
733
+ }), N = (k) => !n.isRange || ae(n.startDate, n.endDate) ? P.SINGLE : n.startDate && ae(n.startDate, k) ? P.BEGINNING : n.endDate && ae(n.endDate, k) ? P.END : n.startDate && n.endDate && ue(k, { start: n.startDate, end: n.endDate }) ? P.MIDDLE : null, R = (k) => d.value && ae(d.value, k) ? !0 : n.startDate && n.endDate && ue(k, { start: n.startDate, end: n.endDate }), L = (k) => {
734
+ a("input", k);
698
735
  }, O = n.isRange ? {} : {
699
- "keydown:arrow-right": f,
736
+ "keydown:arrow-right": i,
700
737
  "keydown:arrow-left": m,
701
- "keydown:arrow-up": (g) => m(g, !1, 4),
702
- "keydown:arrow-down": (g) => f(g, !1, 4),
738
+ "keydown:arrow-up": (k) => m(k, !1, 4),
739
+ "keydown:arrow-down": (k) => i(k, !1, 4),
703
740
  "keydown:home": l,
704
741
  "keydown:end": _,
705
742
  "keydown:page-up": D,
706
- "keydown:page-down": o
743
+ "keydown:page-down": s
707
744
  };
708
- return { __sfc: !0, yearLabelId: r, props: n, emit: a, t: s, isDateDisabled: u, shouldShowPreviousYearButton: d, shouldShowNextYearButton: h, internalDate: i, addDayRef: v, moveToPreviousMonth: m, moveToPreviousYear: D, moveToNextMonth: f, moveToNextYear: o, moveToFirstMonthOfYear: l, moveToLastMonthOfYear: _, focusOnDate: x, monthRows: y, monthVariant: N, isSelectedDate: Y, onMonthClicked: L, listeners: O, BentoButton: Se, BentoTypography: ye, CalendarYearMonth: ot, ChevronLeftIcon: xe, ChevronRightIcon: Te, vBentoKeyboardNavigationDirective: Le };
745
+ return { __sfc: !0, yearLabelId: r, props: n, emit: a, t: o, isDateDisabled: u, shouldShowPreviousYearButton: f, shouldShowNextYearButton: h, internalDate: d, addDayRef: v, moveToPreviousMonth: m, moveToPreviousYear: D, moveToNextMonth: i, moveToNextYear: s, moveToFirstMonthOfYear: l, moveToLastMonthOfYear: _, focusOnDate: x, monthRows: y, monthVariant: N, isSelectedDate: R, onMonthClicked: L, listeners: O, BentoButton: Se, BentoTypography: ye, CalendarYearMonth: dt, ChevronLeftIcon: xe, ChevronRightIcon: Te, vBentoKeyboardNavigationDirective: Le };
709
746
  }
710
747
  });
711
- var it = function() {
748
+ var mt = function() {
712
749
  var t = this, a = t._self._c, n = t._self._setupProxy;
713
750
  return a("div", t._g({ directives: [{ name: "bento-keyboard-navigation-directive", rawName: "v-bento-keyboard-navigation-directive" }], staticClass: "b-calendar-year" }, n.listeners), [a("div", { staticClass: "b-calendar-year__year-selector" }, [a("div", { staticClass: "b-calendar-year__previous" }, [n.shouldShowPreviousYearButton ? a(n.BentoButton, { attrs: { variant: "tertiary" }, on: { click: function(r) {
714
751
  return n.moveToPreviousYear(r, !0);
@@ -718,22 +755,22 @@ var it = function() {
718
755
  return n.moveToNextYear(r, !0);
719
756
  } }, scopedSlots: t._u([{ key: "iconLeft", fn: function() {
720
757
  return [a(n.ChevronRightIcon, { attrs: { "svg-title": n.t("nextYear") } })];
721
- }, proxy: !0 }], null, !1, 3324005926) }) : t._e()], 1)], 1), a("table", { staticClass: "b-calendar-year__year-container", attrs: { role: "grid", "aria-labelledby": n.yearLabelId } }, [a("tbody", t._l(n.monthRows, function(r, s) {
722
- return a("tr", { key: s }, t._l(r, function(u, d) {
723
- return a(n.CalendarYearMonth, { key: `calendar-month-${d}`, ref: n.addDayRef(u), refInFor: !0, attrs: { month: u, disabled: n.isDateDisabled(u), selected: n.isSelectedDate(u), variant: n.monthVariant(u) }, on: { click: n.onMonthClicked, mouseover: function(h) {
758
+ }, proxy: !0 }], null, !1, 3324005926) }) : t._e()], 1)], 1), a("table", { staticClass: "b-calendar-year__year-container", attrs: { role: "grid", "aria-labelledby": n.yearLabelId } }, [a("tbody", t._l(n.monthRows, function(r, o) {
759
+ return a("tr", { key: o }, t._l(r, function(u, f) {
760
+ return a(n.CalendarYearMonth, { key: `calendar-month-${f}`, ref: n.addDayRef(u), refInFor: !0, attrs: { month: u, disabled: n.isDateDisabled(u), selected: n.isSelectedDate(u), variant: n.monthVariant(u) }, on: { click: n.onMonthClicked, mouseover: function(h) {
724
761
  return n.emit("mouseover", u);
725
762
  } } });
726
763
  }), 1);
727
764
  }), 0)])]);
728
- }, dt = [], ft = /* @__PURE__ */ te(
729
- ct,
730
- it,
731
- dt,
765
+ }, ht = [], yt = /* @__PURE__ */ te(
766
+ vt,
767
+ mt,
768
+ ht,
732
769
  !1,
733
770
  null,
734
771
  "4ac72508"
735
772
  );
736
- const ke = ft.exports, Dt = ({ selectedDate: e }, t) => {
773
+ const Ee = yt.exports, _t = ({ selectedDate: e }, t) => {
737
774
  const a = Oe({
738
775
  startDate: null,
739
776
  endDate: null
@@ -747,188 +784,142 @@ const ke = ft.exports, Dt = ({ selectedDate: e }, t) => {
747
784
  ), {
748
785
  internalValue: a,
749
786
  onDateInput: (r) => {
750
- t($.INPUT, r);
787
+ t(j.INPUT, r);
751
788
  },
752
789
  // Empty function to prevent the listeners from throwing a warning
753
790
  // eslint-disable-next-line @typescript-eslint/no-empty-function
754
791
  onMouseOver: () => {
755
792
  }
756
793
  };
757
- };
758
- function vt(e, t) {
759
- return +E(e) < +E(t);
760
- }
761
- function mt(e, t) {
762
- return +E(e) > +E(t);
763
- }
764
- function ht(e, t, a) {
765
- const [n, r] = le(
766
- a == null ? void 0 : a.in,
767
- e,
768
- t
769
- ), s = V(n), u = V(r), d = +s - ge(s), h = +u - ge(u);
770
- return Math.round((d - h) / Pe);
771
- }
772
- function yt(e, t, a) {
773
- const [n, r] = le(
774
- a == null ? void 0 : a.in,
775
- e,
776
- t
777
- ), s = Ee(n, r), u = Math.abs(
778
- ht(n, r)
779
- );
780
- n.setDate(n.getDate() - s * u);
781
- const d = +(Ee(n, r) === -s), h = s * (u - d);
782
- return h === 0 ? 0 : h;
783
- }
784
- function Ee(e, t) {
785
- const a = e.getFullYear() - t.getFullYear() || e.getMonth() - t.getMonth() || e.getDate() - t.getDate() || e.getHours() - t.getHours() || e.getMinutes() - t.getMinutes() || e.getSeconds() - t.getSeconds() || e.getMilliseconds() - t.getMilliseconds();
786
- return a < 0 ? -1 : a > 0 ? 1 : a;
787
- }
788
- function de(e, t) {
789
- const a = E(e, t == null ? void 0 : t.in), n = a.getMonth(), r = n - n % 3 + 3;
790
- return a.setMonth(r, 0), a.setHours(23, 59, 59, 999), a;
791
- }
792
- function fe(e, t) {
793
- const a = E(e, t == null ? void 0 : t.in), n = a.getMonth(), r = n - n % 3;
794
- return a.setMonth(r, 1), a.setHours(0, 0, 0, 0), a;
795
- }
796
- const _t = (e) => {
797
- const t = (v, m, D, f) => {
798
- let o = re(v, { weekStartsOn: e }), l = se(m || v, { weekStartsOn: e });
799
- const _ = D && o < D, x = f && l > f;
800
- return _ && (o = re(D, { weekStartsOn: e })), x && (l = se(f, { weekStartsOn: e })), o > l && (_ ? l = se(o, { weekStartsOn: e }) : o = re(l, { weekStartsOn: e })), { startDate: o, endDate: l };
801
- }, a = (v, m, D, f) => {
802
- let o = oe(v), l = ce(m || v);
803
- const _ = D && o < D, x = f && l > f;
804
- return _ && (o = oe(D)), x && (l = ce(f)), o > l && (_ ? l = ce(o) : o = oe(l)), { startDate: o, endDate: l };
805
- }, n = (v, m, D, f) => {
806
- let o = fe(v), l = de(m || v);
807
- const _ = D instanceof Date && o < D, x = f instanceof Date && l > f;
808
- return _ && (o = fe(D)), x && (l = de(f)), o > l && (_ ? l = de(o) : o = fe(l)), { startDate: o, endDate: l };
794
+ }, kt = (e) => {
795
+ const t = (v, m, D, i) => {
796
+ let s = re(v, { weekStartsOn: e }), l = oe(m || v, { weekStartsOn: e });
797
+ const _ = D && s < D, x = i && l > i;
798
+ return _ && (s = re(D, { weekStartsOn: e })), x && (l = oe(i, { weekStartsOn: e })), s > l && (_ ? l = oe(s, { weekStartsOn: e }) : s = re(l, { weekStartsOn: e })), { startDate: s, endDate: l };
799
+ }, a = (v, m, D, i) => {
800
+ let s = se(v), l = ce(m || v);
801
+ const _ = D && s < D, x = i && l > i;
802
+ return _ && (s = se(D)), x && (l = ce(i)), s > l && (_ ? l = ce(s) : s = se(l)), { startDate: s, endDate: l };
803
+ }, n = (v, m, D, i) => {
804
+ let s = ie(v), l = de(m || v);
805
+ const _ = D instanceof Date && s < D, x = i instanceof Date && l > i;
806
+ return _ && (s = ie(D)), x && (l = de(i)), s > l && (_ ? l = de(s) : s = ie(l)), { startDate: s, endDate: l };
809
807
  };
810
808
  return {
811
809
  adjustDateForWeekly: t,
812
810
  adjustDateForMonthly: a,
813
811
  adjustDateForQuarterly: n,
814
- adjustStartDateInputForWeekly: (v, m, D, f) => {
815
- const { startDate: o } = t(new Date(v), null, D, f);
816
- return m(o);
812
+ adjustStartDateInputForWeekly: (v, m, D, i) => {
813
+ const { startDate: s } = t(new Date(v), null, D, i);
814
+ return m(s);
817
815
  },
818
- adjustEndDateInputForWeekly: (v, m, D, f) => {
819
- const { endDate: o } = t(new Date(v), null, D, f);
820
- return m(o);
816
+ adjustEndDateInputForWeekly: (v, m, D, i) => {
817
+ const { endDate: s } = t(new Date(v), null, D, i);
818
+ return m(s);
821
819
  },
822
- adjustStartDateInputForMonthly: (v, m, D, f) => {
823
- const { startDate: o } = a(new Date(v), null, D, f);
824
- return m(o);
820
+ adjustStartDateInputForMonthly: (v, m, D, i) => {
821
+ const { startDate: s } = a(new Date(v), null, D, i);
822
+ return m(s);
825
823
  },
826
- adjustEndDateInputForMonthly: (v, m, D, f) => {
827
- const { endDate: o } = a(new Date(v), null, D, f);
828
- return m(o);
824
+ adjustEndDateInputForMonthly: (v, m, D, i) => {
825
+ const { endDate: s } = a(new Date(v), null, D, i);
826
+ return m(s);
829
827
  },
830
- adjustStartDateInputForQuarterly: (v, m, D, f) => {
831
- const { startDate: o } = n(new Date(v), null, D, f);
832
- return m(o);
828
+ adjustStartDateInputForQuarterly: (v, m, D, i) => {
829
+ const { startDate: s } = n(new Date(v), null, D, i);
830
+ return m(s);
833
831
  },
834
- adjustEndDateInputForQuarterly: (v, m, D, f) => {
835
- const { endDate: o } = n(new Date(v), null, D, f);
836
- return m(o);
832
+ adjustEndDateInputForQuarterly: (v, m, D, i) => {
833
+ const { endDate: s } = n(new Date(v), null, D, i);
834
+ return m(s);
837
835
  }
838
836
  };
839
- }, gt = ({ selectedDate: e, isDateDisabled: t, maxRange: a, granularity: n, firstDayOfWeek: r, min: s, max: u }, d) => {
840
- const { adjustDateForWeekly: v, adjustDateForMonthly: m, adjustDateForQuarterly: D } = _t(r), f = Oe({
837
+ }, Mt = ({ selectedDate: e, isDateDisabled: t, maxRange: a, granularity: n, firstDayOfWeek: r, min: o, max: u }, f) => {
838
+ const { adjustDateForWeekly: v, adjustDateForMonthly: m, adjustDateForQuarterly: D } = kt(r), i = Oe({
841
839
  startDate: null,
842
840
  endDate: null
843
- }), o = j(null);
841
+ }), s = $(null);
844
842
  K(
845
843
  () => e.value,
846
844
  () => {
847
845
  let { startDate: y = null, endDate: N = null } = e.value || {};
848
- y && (y = V(y)), N && (N = V(N)), !(y && t && t(y) || N && t && t(N) || y && N && mt(y, N)) && (f.startDate = y, f.endDate = N);
846
+ y && (y = V(y)), N && (N = V(N)), !(y && t && t(y) || N && t && t(N) || y && N && He(y, N)) && (i.startDate = y, i.endDate = N);
849
847
  },
850
848
  { immediate: !0, deep: !0 }
851
849
  );
852
- const l = (y, N, Y) => {
853
- if (f.startDate = y, f.endDate = N, a.value) {
854
- const L = yt(N, y) - a.value;
855
- L > 0 && (Y < 1 ? (f.startDate = y, f.endDate = me(N, L)) : (f.startDate = p(y, L), f.endDate = N));
850
+ const l = (y, N, R) => {
851
+ if (i.startDate = y, i.endDate = N, a.value) {
852
+ const L = je(N, y) - a.value;
853
+ L > 0 && (R < 1 ? (i.startDate = y, i.endDate = De(N, L)) : (i.startDate = p(y, L), i.endDate = N));
856
854
  }
857
- d($.START_DATE_SELECTED, f.startDate), d($.END_DATE_SELECTED, f.endDate);
855
+ f(j.START_DATE_SELECTED, i.startDate), f(j.END_DATE_SELECTED, i.endDate);
858
856
  }, _ = (y) => {
859
- var N, Y, L, O, g, T;
860
- if (!(!o.value || t && t(y)))
861
- if (vt(y, o.value)) {
857
+ var N, R, L, O, k, T;
858
+ if (!(!s.value || t && t(y)))
859
+ if (We(y, s.value)) {
862
860
  if (((N = n == null ? void 0 : n.value) == null ? void 0 : N.type) === "weekly") {
863
- const { startDate: S, endDate: I } = v(y, o.value, s.value, u.value);
861
+ const { startDate: S, endDate: I } = v(y, s.value, o.value, u.value);
864
862
  l(S, I, -1);
865
863
  return;
866
864
  }
867
- if (((Y = n == null ? void 0 : n.value) == null ? void 0 : Y.type) === "monthly") {
868
- const { startDate: S, endDate: I } = m(y, o.value, s.value, u.value);
865
+ if (((R = n == null ? void 0 : n.value) == null ? void 0 : R.type) === "monthly") {
866
+ const { startDate: S, endDate: I } = m(y, s.value, o.value, u.value);
869
867
  l(S, I, -1);
870
868
  return;
871
869
  }
872
870
  if (((L = n == null ? void 0 : n.value) == null ? void 0 : L.type) === "quarterly") {
873
- const { startDate: S, endDate: I } = D(y, o.value, s.value, u.value);
871
+ const { startDate: S, endDate: I } = D(y, s.value, o.value, u.value);
874
872
  l(S, I, -1);
875
873
  return;
876
874
  }
877
- l(y, o.value, -1);
875
+ l(y, s.value, -1);
878
876
  } else {
879
877
  if (((O = n == null ? void 0 : n.value) == null ? void 0 : O.type) === "weekly") {
880
- const { startDate: S, endDate: I } = v(o.value, y, s.value, u.value);
878
+ const { startDate: S, endDate: I } = v(s.value, y, o.value, u.value);
881
879
  l(S, I, 1);
882
880
  return;
883
881
  }
884
- if (((g = n == null ? void 0 : n.value) == null ? void 0 : g.type) === "monthly") {
885
- const { startDate: S, endDate: I } = m(o.value, y, s.value, u.value);
882
+ if (((k = n == null ? void 0 : n.value) == null ? void 0 : k.type) === "monthly") {
883
+ const { startDate: S, endDate: I } = m(s.value, y, o.value, u.value);
886
884
  l(S, I, 1);
887
885
  return;
888
886
  }
889
887
  if (((T = n == null ? void 0 : n.value) == null ? void 0 : T.type) === "quarterly") {
890
- const { startDate: S, endDate: I } = D(o.value, y, s.value, u.value);
888
+ const { startDate: S, endDate: I } = D(s.value, y, o.value, u.value);
891
889
  l(S, I, 1);
892
890
  return;
893
891
  }
894
- l(o.value, y, 1);
892
+ l(s.value, y, 1);
895
893
  }
896
894
  };
897
895
  return {
898
- internalValue: f,
896
+ internalValue: i,
899
897
  onDateInput: (y) => {
900
- var N, Y, L;
901
- if (o.value)
902
- o.value = null, d($.INPUT, f);
898
+ var N, R, L;
899
+ if (s.value)
900
+ s.value = null, f(j.INPUT, i);
903
901
  else {
904
902
  let O = y;
905
903
  if (((N = n == null ? void 0 : n.value) == null ? void 0 : N.type) === "weekly") {
906
- const { startDate: g, endDate: T } = v(y);
907
- O = g, l(O, T);
904
+ const { startDate: k, endDate: T } = v(y);
905
+ O = k, l(O, T);
908
906
  }
909
- if (((Y = n == null ? void 0 : n.value) == null ? void 0 : Y.type) === "monthly") {
910
- const { startDate: g, endDate: T } = m(y);
911
- O = g, l(O, T);
907
+ if (((R = n == null ? void 0 : n.value) == null ? void 0 : R.type) === "monthly") {
908
+ const { startDate: k, endDate: T } = m(y);
909
+ O = k, l(O, T);
912
910
  }
913
911
  if (((L = n == null ? void 0 : n.value) == null ? void 0 : L.type) === "quarterly") {
914
- const { startDate: g, endDate: T } = D(y);
915
- O = g, l(O, T);
912
+ const { startDate: k, endDate: T } = D(y);
913
+ O = k, l(O, T);
916
914
  }
917
- o.value = O, _(O);
915
+ s.value = O, _(O);
918
916
  }
919
917
  },
920
918
  onMouseOver: _
921
919
  };
922
- };
923
- function Re(e, t, a) {
924
- return W(e, t * 12, a);
925
- }
926
- function Mt(e, t, a) {
927
- return Re(e, -t, a);
928
- }
929
- const Nt = ee({
920
+ }, Nt = ee({
930
921
  name: "calendar",
931
- components: { CalendarMonth: be, CalendarYear: ke },
922
+ components: { CalendarMonth: ge, CalendarYear: Ee },
932
923
  props: {
933
924
  /**
934
925
  * Allows you to set the first day of the week. 0 is sunday, 1 is monday, 6 is saturday
@@ -996,18 +987,18 @@ const Nt = ee({
996
987
  variant: {
997
988
  type: String,
998
989
  default: "day",
999
- validator: (e) => Object.values(ve).includes(e)
990
+ validator: (e) => Object.values(me).includes(e)
1000
991
  }
1001
992
  },
1002
- emit: [$.INPUT, $.START_DATE_SELECTED, $.END_DATE_SELECTED],
993
+ emit: [j.INPUT, j.START_DATE_SELECTED, j.END_DATE_SELECTED],
1003
994
  setup(e, { emit: t }) {
1004
- const a = j(null), n = j();
995
+ const a = $(null), n = $();
1005
996
  K(
1006
997
  () => e.value,
1007
998
  () => {
1008
- var o, l, _;
999
+ var s, l, _;
1009
1000
  if (e.isRange)
1010
- n.value = e != null && e.showEndDateOnOpen && ((o = e.value) != null && o.endDate) ? (l = e.value) == null ? void 0 : l.endDate : ((_ = e.value) == null ? void 0 : _.startDate) || /* @__PURE__ */ new Date();
1001
+ n.value = e != null && e.showEndDateOnOpen && ((s = e.value) != null && s.endDate) ? (l = e.value) == null ? void 0 : l.endDate : ((_ = e.value) == null ? void 0 : _.startDate) || /* @__PURE__ */ new Date();
1011
1002
  else {
1012
1003
  const x = e.defaultDisplayMonth && new Date(e.defaultDisplayMonth).getTime() ? new Date(e.defaultDisplayMonth) : /* @__PURE__ */ new Date();
1013
1004
  n.value = e.value || x;
@@ -1015,11 +1006,11 @@ const Nt = ee({
1015
1006
  },
1016
1007
  { immediate: !0, deep: !0 }
1017
1008
  );
1018
- const r = k(
1019
- () => e.variant === ve.MONTH ? ke : be
1020
- ), s = k(() => ({
1009
+ const r = g(
1010
+ () => e.variant === me.MONTH ? Ee : ge
1011
+ ), o = g(() => ({
1021
1012
  "b-calendar__range": e.isRange
1022
- })), { internalValue: u, onDateInput: d, onMouseOver: h } = e.isRange ? gt(
1013
+ })), { internalValue: u, onDateInput: f, onMouseOver: h } = e.isRange ? Mt(
1023
1014
  {
1024
1015
  selectedDate: F(e, "value"),
1025
1016
  isDateDisabled: e.isDateDisabled,
@@ -1030,18 +1021,18 @@ const Nt = ee({
1030
1021
  max: F(e, "max")
1031
1022
  },
1032
1023
  t
1033
- ) : Dt(
1024
+ ) : _t(
1034
1025
  {
1035
1026
  selectedDate: F(e, "value"),
1036
1027
  firstDayOfWeek: e.firstDayOfWeek
1037
1028
  },
1038
1029
  t
1039
- ), i = (o) => e.numberOfMonths === 1 ? q.UNIQUE : o === 0 ? q.FIRST : o === e.numberOfMonths - 1 ? q.LAST : q.MIDDLE, v = k(() => (o) => {
1030
+ ), d = (s) => e.numberOfMonths === 1 ? q.UNIQUE : s === 0 ? q.FIRST : s === e.numberOfMonths - 1 ? q.LAST : q.MIDDLE, v = g(() => (s) => {
1040
1031
  const l = e != null && e.showEndDateOnOpen && e.isRange ? Z(n.value, e.numberOfMonths - 1) : n.value;
1041
- return W(l, o);
1042
- }), m = k(() => (o) => {
1043
- const l = e != null && e.showEndDateOnOpen ? Mt(n.value, e.numberOfMonths - 1) : n.value;
1044
- return Re(l, o);
1032
+ return W(l, s);
1033
+ }), m = g(() => (s) => {
1034
+ const l = e != null && e.showEndDateOnOpen ? Qe(n.value, e.numberOfMonths - 1) : n.value;
1035
+ return Re(l, s);
1045
1036
  });
1046
1037
  return {
1047
1038
  // Refs
@@ -1049,20 +1040,20 @@ const Nt = ee({
1049
1040
  // Values
1050
1041
  baseDate: n,
1051
1042
  calendarComponent: r,
1052
- conditionalClasses: s,
1043
+ conditionalClasses: o,
1053
1044
  internalValue: u,
1054
1045
  // Methods
1055
1046
  calculateOffsetMonth: v,
1056
1047
  calculateOffsetYear: m,
1057
- calendarPosition: i,
1048
+ calendarPosition: d,
1058
1049
  // Events
1059
- onDateInput: d,
1050
+ onDateInput: f,
1060
1051
  onMouseOver: h,
1061
- calculateNextMonths: (o = 1) => {
1062
- n.value = W(n.value, o);
1052
+ calculateNextMonths: (s = 1) => {
1053
+ n.value = W(n.value, s);
1063
1054
  },
1064
- calculatePreviousMonths: (o = 1) => {
1065
- n.value = Z(n.value, o);
1055
+ calculatePreviousMonths: (s = 1) => {
1056
+ n.value = Z(n.value, s);
1066
1057
  }
1067
1058
  };
1068
1059
  }
@@ -1072,36 +1063,36 @@ var bt = function() {
1072
1063
  return t._self._setupProxy, a("div", { staticClass: "b-calendar", class: t.conditionalClasses }, t._l(t.numberOfMonths, function(n, r) {
1073
1064
  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 }, on: { input: t.onDateInput, mouseover: t.onMouseOver, changeDay: t.onMouseOver, nextMonth: t.calculateNextMonths, previousMonth: t.calculatePreviousMonths } });
1074
1065
  }), 1);
1075
- }, kt = [], Et = /* @__PURE__ */ te(
1066
+ }, gt = [], Et = /* @__PURE__ */ te(
1076
1067
  Nt,
1077
1068
  bt,
1078
- kt,
1069
+ gt,
1079
1070
  !1,
1080
1071
  null,
1081
1072
  "7b26a1ab"
1082
1073
  );
1083
- const Gt = Et.exports;
1074
+ const Ut = Et.exports;
1084
1075
  export {
1085
1076
  H as C,
1086
- ve as a,
1087
- Gt as b,
1088
- $ as c,
1077
+ me as a,
1078
+ Ut as b,
1079
+ j as c,
1089
1080
  q as d,
1090
- Bt as e,
1091
- V as f,
1092
- De as g,
1093
- W as h,
1081
+ W as e,
1082
+ ie as f,
1083
+ ve as g,
1084
+ V as h,
1094
1085
  ne as i,
1095
1086
  p as j,
1096
- se as k,
1097
- me as l,
1087
+ oe as k,
1088
+ De as l,
1098
1089
  Z as m,
1099
- fe as n,
1100
- de as o,
1101
- Ut as p,
1102
- ht as q,
1103
- Ne as r,
1104
- oe as s,
1105
- _t as u
1090
+ de as n,
1091
+ Bt as o,
1092
+ Ve as p,
1093
+ Ge as q,
1094
+ be as r,
1095
+ se as s,
1096
+ kt as u
1106
1097
  };
1107
- //# sourceMappingURL=calendar.DiXkjQDP.js.map
1098
+ //# sourceMappingURL=calendar.BNg7mSj5.js.map