@adyen/bento-vue3 1.94.0 → 1.96.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 (250) hide show
  1. package/dist/@types/components.d.ts +2 -0
  2. package/dist/@types/index.d.ts +83 -9
  3. package/dist/action-bar.js +1 -1
  4. package/dist/ai-tag.js +1 -1
  5. package/dist/anchor-scroller.js +1 -1
  6. package/dist/assets/accordion-item.css +1 -1
  7. package/dist/assets/action-bar.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/dashed-underline.css +1 -1
  12. package/dist/assets/data-grid.css +1 -1
  13. package/dist/assets/date-picker.css +1 -1
  14. package/dist/assets/date-range-picker.css +1 -1
  15. package/dist/assets/date-time-picker.css +1 -0
  16. package/dist/assets/dialog-page.css +1 -1
  17. package/dist/assets/draggable-handle.css +1 -1
  18. package/dist/assets/dropdown.css +1 -1
  19. package/dist/assets/field-label.css +1 -1
  20. package/dist/assets/file-uploader.css +1 -1
  21. package/dist/assets/filter-bar.css +1 -1
  22. package/dist/assets/form-layout-group.css +1 -0
  23. package/dist/assets/form-layout-title.css +1 -1
  24. package/dist/assets/header-meta.css +1 -1
  25. package/dist/assets/input-field-password.css +1 -1
  26. package/dist/assets/input-field.css +1 -1
  27. package/dist/assets/inspector.css +1 -1
  28. package/dist/assets/modal-fullscreen.css +1 -1
  29. package/dist/assets/navigation-menu-group.css +1 -1
  30. package/dist/assets/secondary-nav.css +1 -1
  31. package/dist/assets/sidepanel.css +1 -1
  32. package/dist/button.js +1 -1
  33. package/dist/card.js +1 -1
  34. package/dist/checkbox.js +2 -2
  35. package/dist/chunks/{action-bar.jhGXgcQl.js → action-bar.CIVprT2U.js} +4 -4
  36. package/dist/chunks/{action-bar.jhGXgcQl.js.map → action-bar.CIVprT2U.js.map} +1 -1
  37. package/dist/chunks/{ai-tag.DIdhvkaT.js → ai-tag.DkTlRY__.js} +2 -2
  38. package/dist/chunks/{ai-tag.DIdhvkaT.js.map → ai-tag.DkTlRY__.js.map} +1 -1
  39. package/dist/chunks/{anchor-scroller.BhppCt1n.js → anchor-scroller.J2mkf0uu.js} +5 -5
  40. package/dist/chunks/{anchor-scroller.BhppCt1n.js.map → anchor-scroller.J2mkf0uu.js.map} +1 -1
  41. package/dist/chunks/{base-modal.DxjZyGlG.js → base-modal.BKtpH-qh.js} +6 -6
  42. package/dist/chunks/{base-modal.DxjZyGlG.js.map → base-modal.BKtpH-qh.js.map} +1 -1
  43. package/dist/chunks/{button-actions-with-menu.DJzCF9ja.js → button-actions-with-menu.cMAAF47d.js} +3 -3
  44. package/dist/chunks/{button-actions-with-menu.DJzCF9ja.js.map → button-actions-with-menu.cMAAF47d.js.map} +1 -1
  45. package/dist/chunks/{button-actions.uco5ptf5.js → button-actions.CxTxPprd.js} +2 -2
  46. package/dist/chunks/{button-actions.uco5ptf5.js.map → button-actions.CxTxPprd.js.map} +1 -1
  47. package/dist/chunks/{calendar.D8CM3XkW.js → calendar.iQyNwQBL.js} +81 -75
  48. package/dist/chunks/calendar.iQyNwQBL.js.map +1 -0
  49. package/dist/chunks/{card.CWzJewQv.js → card.CQlyqa5-.js} +2 -2
  50. package/dist/chunks/{card.CWzJewQv.js.map → card.CQlyqa5-.js.map} +1 -1
  51. package/dist/chunks/{checkbox-group.Bq6PsVI_.js → checkbox-group.BcDIXL27.js} +3 -3
  52. package/dist/chunks/{checkbox-group.Bq6PsVI_.js.map → checkbox-group.BcDIXL27.js.map} +1 -1
  53. package/dist/chunks/{checkbox.DreTXMg0.js → checkbox.LTRqb-pE.js} +2 -2
  54. package/dist/chunks/{checkbox.DreTXMg0.js.map → checkbox.LTRqb-pE.js.map} +1 -1
  55. package/dist/chunks/{code-snippet.CGOmdPc-.js → code-snippet.DHzB-8JJ.js} +4 -4
  56. package/dist/chunks/{code-snippet.CGOmdPc-.js.map → code-snippet.DHzB-8JJ.js.map} +1 -1
  57. package/dist/chunks/{controls-group.D4MEP6GO.js → controls-group.B-wIl-I7.js} +2 -2
  58. package/dist/chunks/{controls-group.D4MEP6GO.js.map → controls-group.B-wIl-I7.js.map} +1 -1
  59. package/dist/chunks/{copy.Dxqx884r.js → copy.XM_7RiIR.js} +3 -3
  60. package/dist/chunks/{copy.Dxqx884r.js.map → copy.XM_7RiIR.js.map} +1 -1
  61. package/dist/chunks/{dashboard-section.NWMwtxVX.js → dashboard-section.Da6ZFGtm.js} +4 -4
  62. package/dist/chunks/{dashboard-section.NWMwtxVX.js.map → dashboard-section.Da6ZFGtm.js.map} +1 -1
  63. package/dist/chunks/dashed-underline.DJmMXcdt.js +85 -0
  64. package/dist/chunks/dashed-underline.DJmMXcdt.js.map +1 -0
  65. package/dist/chunks/{data-grid-template.Bf-VZS0u.js → data-grid-template.-MuGcJp1.js} +4 -4
  66. package/dist/chunks/{data-grid-template.Bf-VZS0u.js.map → data-grid-template.-MuGcJp1.js.map} +1 -1
  67. package/dist/chunks/{data-grid.D_TrebJz.js → data-grid.CNIXkdCJ.js} +885 -882
  68. package/dist/chunks/{data-grid.D_TrebJz.js.map → data-grid.CNIXkdCJ.js.map} +1 -1
  69. package/dist/chunks/date-picker.DyImOUH4.js +277 -0
  70. package/dist/chunks/date-picker.DyImOUH4.js.map +1 -0
  71. package/dist/chunks/{date-range-picker.C5CSReZ5.js → date-range-picker.BigC6wm2.js} +418 -437
  72. package/dist/chunks/date-range-picker.BigC6wm2.js.map +1 -0
  73. package/dist/chunks/{dialog-page.CZN5-Ohm.js → dialog-page.BOwnhJze.js} +2 -2
  74. package/dist/chunks/{dialog-page.CZN5-Ohm.js.map → dialog-page.BOwnhJze.js.map} +1 -1
  75. package/dist/chunks/directive.D1-d-C2K.js +28 -0
  76. package/dist/chunks/directive.D1-d-C2K.js.map +1 -0
  77. package/dist/chunks/draggable-handle.C1dudqKz.js +1649 -0
  78. package/dist/chunks/{draggable-handle.B_E-T3BS.js.map → draggable-handle.C1dudqKz.js.map} +1 -1
  79. package/dist/chunks/drawer.BQoyUVOW.js +64 -0
  80. package/dist/chunks/{drawer.GXqb2HPx.js.map → drawer.BQoyUVOW.js.map} +1 -1
  81. package/dist/chunks/{dropdown-tag.DUDW-Be6.js → dropdown-tag.C1ei1SyR.js} +3 -3
  82. package/dist/chunks/{dropdown-tag.DUDW-Be6.js.map → dropdown-tag.C1ei1SyR.js.map} +1 -1
  83. package/dist/chunks/{dropdown.Bsic3Nll.js → dropdown.C5um1anU.js} +523 -508
  84. package/dist/chunks/dropdown.C5um1anU.js.map +1 -0
  85. package/dist/chunks/{field-label.DFtyMriH.js → field-label.CLV3nSzz.js} +2 -2
  86. package/dist/chunks/{field-label.DFtyMriH.js.map → field-label.CLV3nSzz.js.map} +1 -1
  87. package/dist/chunks/{file-uploader.CKo27YzT.js → file-uploader.C9YOBRQg.js} +39 -38
  88. package/dist/chunks/{file-uploader.CKo27YzT.js.map → file-uploader.C9YOBRQg.js.map} +1 -1
  89. package/dist/chunks/{filter-bar.Dhghqmhb.js → filter-bar.CvZnM3hM.js} +282 -279
  90. package/dist/chunks/{filter-bar.Dhghqmhb.js.map → filter-bar.CvZnM3hM.js.map} +1 -1
  91. package/dist/chunks/{focus-trap.DcxrXRKl.js → focus-trap.Dl_rHbwH.js} +2 -2
  92. package/dist/chunks/{focus-trap.DcxrXRKl.js.map → focus-trap.Dl_rHbwH.js.map} +1 -1
  93. package/dist/chunks/{footer-actions.Dyi8PTyI.js → footer-actions.zlKq74F1.js} +2 -2
  94. package/dist/chunks/{footer-actions.Dyi8PTyI.js.map → footer-actions.zlKq74F1.js.map} +1 -1
  95. package/dist/chunks/form-layout-group.08QuvVmC.js +81 -0
  96. package/dist/chunks/form-layout-group.08QuvVmC.js.map +1 -0
  97. package/dist/chunks/form-layout-title.Kwve4xv2.js +179 -0
  98. package/dist/chunks/form-layout-title.Kwve4xv2.js.map +1 -0
  99. package/dist/chunks/header-meta.NFZo1ACP.js +243 -0
  100. package/dist/chunks/{header-meta.I2Tztkls.js.map → header-meta.NFZo1ACP.js.map} +1 -1
  101. package/dist/chunks/{header-with-views.MPJPxTzT.js → header-with-views.ubPTyW9A.js} +10 -10
  102. package/dist/chunks/{header-with-views.MPJPxTzT.js.map → header-with-views.ubPTyW9A.js.map} +1 -1
  103. package/dist/chunks/{header.CBzF5Ap9.js → header.Ds0sFKBB.js} +3 -3
  104. package/dist/chunks/{header.CBzF5Ap9.js.map → header.Ds0sFKBB.js.map} +1 -1
  105. package/dist/chunks/{index.Cqv1XuTj.js → index.oOAkh64h.js} +248 -225
  106. package/dist/chunks/{index.Cqv1XuTj.js.map → index.oOAkh64h.js.map} +1 -1
  107. package/dist/chunks/{info-icon.C_ZkQb1d.js → info-icon.1FtkyuYH.js} +3 -3
  108. package/dist/chunks/{info-icon.C_ZkQb1d.js.map → info-icon.1FtkyuYH.js.map} +1 -1
  109. package/dist/chunks/{input-field-password.CA16O5Gv.js → input-field-password.CZ-NTpZF.js} +26 -25
  110. package/dist/chunks/input-field-password.CZ-NTpZF.js.map +1 -0
  111. package/dist/chunks/{input-field-phone-number.CTeDyk0e.js → input-field-phone-number.DOHk6gSp.js} +13 -14
  112. package/dist/chunks/{input-field-phone-number.CTeDyk0e.js.map → input-field-phone-number.DOHk6gSp.js.map} +1 -1
  113. package/dist/chunks/{input-field.DlEEFday.js → input-field.DBlTGgAD.js} +104 -101
  114. package/dist/chunks/input-field.DBlTGgAD.js.map +1 -0
  115. package/dist/chunks/{input-time.CIdcQBgS.js → input-time.CHIjCO74.js} +7 -8
  116. package/dist/chunks/{input-time.CIdcQBgS.js.map → input-time.CHIjCO74.js.map} +1 -1
  117. package/dist/chunks/{inspector.BdPLtQ1t.js → inspector.BvBC1ABK.js} +3 -3
  118. package/dist/chunks/{inspector.BdPLtQ1t.js.map → inspector.BvBC1ABK.js.map} +1 -1
  119. package/dist/chunks/{layout-row.PGFh3qzc.js → layout-row.BsGdHl3d.js} +8 -8
  120. package/dist/chunks/{layout-row.PGFh3qzc.js.map → layout-row.BsGdHl3d.js.map} +1 -1
  121. package/dist/chunks/{list-item.D34osEIh.js → list-item.E1o7yuEB.js} +2 -2
  122. package/dist/chunks/{list-item.D34osEIh.js.map → list-item.E1o7yuEB.js.map} +1 -1
  123. package/dist/chunks/{listbox-option-tag.12duL_ZH.js → listbox-option-tag.yF6p9iQw.js} +2 -2
  124. package/dist/chunks/{listbox-option-tag.12duL_ZH.js.map → listbox-option-tag.yF6p9iQw.js.map} +1 -1
  125. package/dist/chunks/{modal-fullscreen.BGpyGUGB.js → modal-fullscreen.DmruiE3n.js} +4 -4
  126. package/dist/chunks/{modal-fullscreen.BGpyGUGB.js.map → modal-fullscreen.DmruiE3n.js.map} +1 -1
  127. package/dist/chunks/{modal.vue_vue_type_script_setup_true_lang.B_CD-6Sn.js → modal.vue_vue_type_script_setup_true_lang.CrJQWuzb.js} +4 -4
  128. package/dist/chunks/{modal.vue_vue_type_script_setup_true_lang.B_CD-6Sn.js.map → modal.vue_vue_type_script_setup_true_lang.CrJQWuzb.js.map} +1 -1
  129. package/dist/chunks/navigation-menu-group.CQ6ImGsJ.js +336 -0
  130. package/dist/chunks/navigation-menu-group.CQ6ImGsJ.js.map +1 -0
  131. package/dist/chunks/{pagination.CbGLdXSQ.js → pagination.DbpHH_53.js} +2 -2
  132. package/dist/chunks/{pagination.CbGLdXSQ.js.map → pagination.DbpHH_53.js.map} +1 -1
  133. package/dist/chunks/popover.types.DATOPtuh.js +6 -0
  134. package/dist/chunks/{popover.types.63w2RF7Y.js.map → popover.types.DATOPtuh.js.map} +1 -1
  135. package/dist/chunks/{popper-container.WR8Hb24e.js → popper-container.BH4WxeUj.js} +2 -2
  136. package/dist/chunks/{popper-container.WR8Hb24e.js.map → popper-container.BH4WxeUj.js.map} +1 -1
  137. package/dist/chunks/{promo-banner.DS8jlFES.js → promo-banner.DvV9eXs4.js} +2 -2
  138. package/dist/chunks/{promo-banner.DS8jlFES.js.map → promo-banner.DvV9eXs4.js.map} +1 -1
  139. package/dist/chunks/{radio-group.DpLQ_Wnj.js → radio-group.Cg67ZU0c.js} +3 -3
  140. package/dist/chunks/{radio-group.DpLQ_Wnj.js.map → radio-group.Cg67ZU0c.js.map} +1 -1
  141. package/dist/chunks/{rich-text-editor.CRa59ETT.js → rich-text-editor.u-V4fNWK.js} +4 -4
  142. package/dist/chunks/{rich-text-editor.CRa59ETT.js.map → rich-text-editor.u-V4fNWK.js.map} +1 -1
  143. package/dist/chunks/{search-bar.tmX9JctT.js → search-bar.TKgi1KLs.js} +5 -6
  144. package/dist/chunks/{search-bar.tmX9JctT.js.map → search-bar.TKgi1KLs.js.map} +1 -1
  145. package/dist/chunks/secondary-nav.0OsJiAWI.js +315 -0
  146. package/dist/chunks/{secondary-nav.KIu9A7pb.js.map → secondary-nav.0OsJiAWI.js.map} +1 -1
  147. package/dist/chunks/{segmented-control.Dxfpt98K.js → segmented-control.D6Yvxxpc.js} +2 -2
  148. package/dist/chunks/{segmented-control.Dxfpt98K.js.map → segmented-control.D6Yvxxpc.js.map} +1 -1
  149. package/dist/chunks/{selection-card-group.BVxESHZH.js → selection-card-group.C59ZIrVm.js} +3 -3
  150. package/dist/chunks/{selection-card-group.BVxESHZH.js.map → selection-card-group.C59ZIrVm.js.map} +1 -1
  151. package/dist/chunks/set-time-in-date.9-8WOiMT.js +27 -0
  152. package/dist/chunks/set-time-in-date.9-8WOiMT.js.map +1 -0
  153. package/dist/chunks/{sidepanel.BwesEWP_.js → sidepanel.BVQt6Tac.js} +6 -6
  154. package/dist/chunks/{sidepanel.BwesEWP_.js.map → sidepanel.BVQt6Tac.js.map} +1 -1
  155. package/dist/chunks/{structured-list-item.DUWQ4ggz.js → structured-list-item.BhYtSw2f.js} +4 -4
  156. package/dist/chunks/{structured-list-item.DUWQ4ggz.js.map → structured-list-item.BhYtSw2f.js.map} +1 -1
  157. package/dist/chunks/{summary-grid.types.BvZUfgwA.js → summary-grid.types.9sUs0LS0.js} +5 -5
  158. package/dist/chunks/{summary-grid.types.BvZUfgwA.js.map → summary-grid.types.9sUs0LS0.js.map} +1 -1
  159. package/dist/chunks/{tab.DKVHFvuI.js → tab.ByjWuWQz.js} +108 -99
  160. package/dist/chunks/{tab.DKVHFvuI.js.map → tab.ByjWuWQz.js.map} +1 -1
  161. package/dist/chunks/{tag.DyNHhsGt.js → tag.Uu-6AQys.js} +2 -2
  162. package/dist/chunks/{tag.DyNHhsGt.js.map → tag.Uu-6AQys.js.map} +1 -1
  163. package/dist/chunks/{textarea.DNeZr2IZ.js → textarea.QgSLPL7S.js} +2 -2
  164. package/dist/chunks/{textarea.DNeZr2IZ.js.map → textarea.QgSLPL7S.js.map} +1 -1
  165. package/dist/chunks/{timeline-item.CfA1E0zq.js → timeline-item.DfwOm5do.js} +6 -6
  166. package/dist/chunks/{timeline-item.CfA1E0zq.js.map → timeline-item.DfwOm5do.js.map} +1 -1
  167. package/dist/chunks/{tooltip.CuwiX213.js → tooltip.Djn54E1O.js} +3 -3
  168. package/dist/chunks/{tooltip.CuwiX213.js.map → tooltip.Djn54E1O.js.map} +1 -1
  169. package/dist/chunks/{tutorial.vue_vue_type_script_setup_true_lang.4vdcgS4f.js → tutorial.vue_vue_type_script_setup_true_lang.B5-sWGlz.js} +4 -4
  170. package/dist/chunks/{tutorial.vue_vue_type_script_setup_true_lang.4vdcgS4f.js.map → tutorial.vue_vue_type_script_setup_true_lang.B5-sWGlz.js.map} +1 -1
  171. package/dist/chunks/use-bento-delayed-hover.Csc3nIWt.js +30 -0
  172. package/dist/chunks/use-bento-delayed-hover.Csc3nIWt.js.map +1 -0
  173. package/dist/chunks/{use-cached-selected-values.C2nbQ4g-.js → use-cached-selected-values.DOw5IKdU.js} +3 -3
  174. package/dist/chunks/{use-cached-selected-values.C2nbQ4g-.js.map → use-cached-selected-values.DOw5IKdU.js.map} +1 -1
  175. package/dist/chunks/{use-date-input-formatter.DaBZd09a.js → use-date-input-formatter.x285YiSd.js} +2 -2
  176. package/dist/chunks/{use-date-input-formatter.DaBZd09a.js.map → use-date-input-formatter.x285YiSd.js.map} +1 -1
  177. package/dist/code-snippet.js +1 -1
  178. package/dist/dashboard-template.js +1 -1
  179. package/dist/dashed-underline.js +1 -1
  180. package/dist/data-grid-template.js +1 -1
  181. package/dist/data-grid.js +1 -1
  182. package/dist/date-picker.js +2 -2
  183. package/dist/date-range-picker.js +2 -2
  184. package/dist/date-time-picker.js +123 -0
  185. package/dist/date-time-picker.js.map +1 -0
  186. package/dist/draggable.js +1 -1
  187. package/dist/drawer.js +1 -1
  188. package/dist/dropdown.js +3 -3
  189. package/dist/file-uploader.js +1 -1
  190. package/dist/filter-bar.js +1 -1
  191. package/dist/focus-trap.js +1 -1
  192. package/dist/form-layout.js +5 -4
  193. package/dist/form-layout.js.map +1 -1
  194. package/dist/header-with-views.js +1 -1
  195. package/dist/header.js +1 -1
  196. package/dist/index.js +217 -216
  197. package/dist/index.js.map +1 -1
  198. package/dist/info-icon.js +1 -1
  199. package/dist/input-field-password.js +1 -1
  200. package/dist/input-field-phone-number.js +1 -1
  201. package/dist/input-field.js +1 -1
  202. package/dist/input-time.js +1 -1
  203. package/dist/inspector.js +1 -1
  204. package/dist/internal.js +11 -11
  205. package/dist/layout.js +1 -1
  206. package/dist/list.js +1 -1
  207. package/dist/menu.js +1 -1
  208. package/dist/modal-fullscreen.js +1 -1
  209. package/dist/modal.js +2 -2
  210. package/dist/navigation-menu.js +1 -1
  211. package/dist/pagination.js +1 -1
  212. package/dist/popover.js +2 -2
  213. package/dist/popper-container.js +1 -1
  214. package/dist/promo-banner.js +1 -1
  215. package/dist/radio-group.js +1 -1
  216. package/dist/rich-text-editor.js +1 -1
  217. package/dist/search-bar.js +2 -2
  218. package/dist/secondary-nav.js +1 -1
  219. package/dist/segmented-control.js +1 -1
  220. package/dist/selection-card.js +1 -1
  221. package/dist/sidepanel.js +1 -1
  222. package/dist/structured-list.js +1 -1
  223. package/dist/summary-grid.js +1 -1
  224. package/dist/tabs.js +1 -1
  225. package/dist/tag.js +1 -1
  226. package/dist/textarea.js +1 -1
  227. package/dist/timeline.js +1 -1
  228. package/dist/tutorial.js +1 -1
  229. package/dist/web-types.json +1 -1
  230. package/package.json +6 -6
  231. package/dist/chunks/calendar.D8CM3XkW.js.map +0 -1
  232. package/dist/chunks/dashed-underline.DojqhvAa.js +0 -108
  233. package/dist/chunks/dashed-underline.DojqhvAa.js.map +0 -1
  234. package/dist/chunks/date-picker.DUUGSbot.js +0 -269
  235. package/dist/chunks/date-picker.DUUGSbot.js.map +0 -1
  236. package/dist/chunks/date-range-picker.C5CSReZ5.js.map +0 -1
  237. package/dist/chunks/directive.C8kY-ZW-.js +0 -23
  238. package/dist/chunks/directive.C8kY-ZW-.js.map +0 -1
  239. package/dist/chunks/draggable-handle.B_E-T3BS.js +0 -1639
  240. package/dist/chunks/drawer.GXqb2HPx.js +0 -55
  241. package/dist/chunks/dropdown.Bsic3Nll.js.map +0 -1
  242. package/dist/chunks/form-layout-title.B712PesH.js +0 -253
  243. package/dist/chunks/form-layout-title.B712PesH.js.map +0 -1
  244. package/dist/chunks/header-meta.I2Tztkls.js +0 -259
  245. package/dist/chunks/input-field-password.CA16O5Gv.js.map +0 -1
  246. package/dist/chunks/input-field.DlEEFday.js.map +0 -1
  247. package/dist/chunks/navigation-menu-group.D5HMMAuh.js +0 -320
  248. package/dist/chunks/navigation-menu-group.D5HMMAuh.js.map +0 -1
  249. package/dist/chunks/popover.types.63w2RF7Y.js +0 -6
  250. package/dist/chunks/secondary-nav.KIu9A7pb.js +0 -306
@@ -1,11 +1,11 @@
1
- import { defineComponent as fe, computed as w, resolveComponent as lt, openBlock as I, createElementBlock as _, withKeys as te, normalizeClass as Ae, createElementVNode as $, createVNode as H, withCtx as Q, createTextVNode as Ie, toDisplayString as Oe, ref as z, watch as oe, nextTick as it, toRef as x, withDirectives as He, mergeProps as qe, toHandlers as Qe, createBlock as Z, unref as N, createCommentVNode as ne, Fragment as J, renderList as X, reactive as Ke, resolveDynamicComponent as dt } from "vue";
2
- import { B as we } from "./button.DWF7FSIw.js";
1
+ import { defineComponent as fe, computed as O, resolveComponent as lt, openBlock as I, createElementBlock as _, withKeys as te, normalizeClass as Ae, createElementVNode as $, createVNode as H, withCtx as Q, createTextVNode as Ie, toDisplayString as we, ref as z, watch as oe, nextTick as it, toRef as x, withDirectives as He, mergeProps as qe, toHandlers as Qe, createBlock as Z, unref as N, createCommentVNode as ne, Fragment as J, renderList as X, reactive as Ke, resolveDynamicComponent as dt } from "vue";
2
+ import { B as Oe } from "./button.DWF7FSIw.js";
3
3
  import { B as ke } from "./typography.B3J6_tYk.js";
4
4
  import { u as Be } from "./index.B875RXHM.js";
5
5
  import { g as Ve } from "./generate-uid.DBWe4g6T.js";
6
6
  import { a as ze } from "./keyboard-navigation.DWmhelVv.js";
7
- import { b as ct } from "./index.Cqv1XuTj.js";
8
- import { t as O, c as ue, n as De, k as Pe, w as ft, g as Je } from "./en-US.BR6y7foR.js";
7
+ import { c as ct } from "./index.oOAkh64h.js";
8
+ import { t as w, c as ue, n as De, k as Pe, w as ft, g as Je } from "./en-US.BR6y7foR.js";
9
9
  import { d as Ce, a as Me, b as Dt } from "./differenceInMonths.yz4Dfe-b.js";
10
10
  import { s as Ne } from "./startOfWeek.muMEhS7U.js";
11
11
  import { C as Xe, a as Ze } from "./chevron-left.C_vPW7OR.js";
@@ -14,11 +14,11 @@ import { B as vt, a as mt } from "./date.R2Wz6o7J.js";
14
14
  import "../assets/calendar.css";
15
15
  var re = /* @__PURE__ */ ((e) => (e[e.MONDAY = 1] = "MONDAY", e[e.SATURDAY = 6] = "SATURDAY", e[e.SUNDAY = 0] = "SUNDAY", e))(re || {}), ae = /* @__PURE__ */ ((e) => (e.FIRST = "first", e.LAST = "last", e.MIDDLE = "middle", e.UNIQUE = "unique", e))(ae || {}), K = /* @__PURE__ */ ((e) => (e.INPUT = "input", e.START_DATE_SELECTED = "start-date-selected", e.END_DATE_SELECTED = "end-date-selected", e))(K || {}), Ye = /* @__PURE__ */ ((e) => (e.DAY = "day", e.MONTH = "month", e))(Ye || {});
16
16
  function le(e, t, n) {
17
- const a = O(e, n?.in);
17
+ const a = w(e, n?.in);
18
18
  return isNaN(t) ? ue(n?.in || e, NaN) : (t && a.setDate(a.getDate() + t), a);
19
19
  }
20
20
  function q(e, t, n) {
21
- const a = O(e, n?.in);
21
+ const a = w(e, n?.in);
22
22
  if (isNaN(t)) return ue(n?.in || e, NaN);
23
23
  if (!t)
24
24
  return a;
@@ -32,7 +32,7 @@ function q(e, t, n) {
32
32
  ), a);
33
33
  }
34
34
  function ee(e, t) {
35
- const n = O(e, t?.in);
35
+ const n = w(e, t?.in);
36
36
  return n.setHours(0, 0, 0, 0), n;
37
37
  }
38
38
  function ht(e, t, n) {
@@ -61,7 +61,7 @@ function ge(e, t, n) {
61
61
  return +ee(a) == +ee(o);
62
62
  }
63
63
  function xe(e, t) {
64
- const n = O(e, t?.in);
64
+ const n = w(e, t?.in);
65
65
  return Math.trunc(n.getMonth() / 3) + 1;
66
66
  }
67
67
  function yt(e, t, n) {
@@ -89,37 +89,37 @@ function Ge(e, t) {
89
89
  return n < 0 ? -1 : n > 0 ? 1 : n;
90
90
  }
91
91
  function be(e, t) {
92
- const n = O(e, t?.in), a = n.getMonth(), o = a - a % 3;
92
+ const n = w(e, t?.in), a = n.getMonth(), o = a - a % 3;
93
93
  return n.setMonth(o, 1), n.setHours(0, 0, 0, 0), n;
94
94
  }
95
95
  function ce(e, t) {
96
- const n = O(e, t?.in);
96
+ const n = w(e, t?.in);
97
97
  return n.setDate(1), n.setHours(0, 0, 0, 0), n;
98
98
  }
99
99
  function je(e, t) {
100
- const n = O(e, t?.in);
100
+ const n = w(e, t?.in);
101
101
  return n.setFullYear(n.getFullYear(), 0, 1), n.setHours(0, 0, 0, 0), n;
102
102
  }
103
103
  function Ee(e, t) {
104
- const n = Je(), a = t?.weekStartsOn ?? t?.locale?.options?.weekStartsOn ?? n.weekStartsOn ?? n.locale?.options?.weekStartsOn ?? 0, o = O(e, t?.in), s = o.getDay(), l = (s < a ? -7 : 0) + 6 - (s - a);
104
+ const n = Je(), a = t?.weekStartsOn ?? t?.locale?.options?.weekStartsOn ?? n.weekStartsOn ?? n.locale?.options?.weekStartsOn ?? 0, o = w(e, t?.in), s = o.getDay(), l = (s < a ? -7 : 0) + 6 - (s - a);
105
105
  return o.setDate(o.getDate() + l), o.setHours(23, 59, 59, 999), o;
106
106
  }
107
107
  function Se(e, t) {
108
- const n = O(e, t?.in), a = n.getMonth(), o = a - a % 3 + 3;
108
+ const n = w(e, t?.in), a = n.getMonth(), o = a - a % 3 + 3;
109
109
  return n.setMonth(o, 0), n.setHours(23, 59, 59, 999), n;
110
110
  }
111
111
  function gt(e, t) {
112
- const n = O(e, t?.in), a = n.getFullYear(), o = n.getMonth(), s = ue(n, 0);
112
+ const n = w(e, t?.in), a = n.getFullYear(), o = n.getMonth(), s = ue(n, 0);
113
113
  return s.setFullYear(a, o + 1, 0), s.setHours(0, 0, 0, 0), s.getDate();
114
114
  }
115
115
  function pt(e, t) {
116
- return +O(e) > +O(t);
116
+ return +w(e) > +w(t);
117
117
  }
118
118
  function Mt(e, t) {
119
- return +O(e) < +O(t);
119
+ return +w(e) < +w(t);
120
120
  }
121
121
  function Nt(e, t, n) {
122
- const a = Je(), o = n?.weekStartsOn ?? n?.locale?.options?.weekStartsOn ?? a.weekStartsOn ?? a.locale?.options?.weekStartsOn ?? 0, s = O(e, n?.in), l = s.getDay(), f = (t % 7 + 7) % 7, g = 7 - o, D = t < 0 || t > 6 ? t - (l + g) % 7 : (f + g) % 7 - (l + g) % 7;
122
+ const a = Je(), o = n?.weekStartsOn ?? n?.locale?.options?.weekStartsOn ?? a.weekStartsOn ?? a.locale?.options?.weekStartsOn ?? 0, s = w(e, n?.in), l = s.getDay(), f = (t % 7 + 7) % 7, g = 7 - o, D = t < 0 || t > 6 ? t - (l + g) % 7 : (f + g) % 7 - (l + g) % 7;
123
123
  return le(s, D, n);
124
124
  }
125
125
  function pe(e, t, n) {
@@ -131,9 +131,9 @@ function pe(e, t, n) {
131
131
  return a.getFullYear() === o.getFullYear() && a.getMonth() === o.getMonth();
132
132
  }
133
133
  function Te(e, t, n) {
134
- const a = +O(e, n?.in), [o, s] = [
135
- +O(t.start, n?.in),
136
- +O(t.end, n?.in)
134
+ const a = +w(e, n?.in), [o, s] = [
135
+ +w(t.start, n?.in),
136
+ +w(t.end, n?.in)
137
137
  ].sort((l, u) => l - u);
138
138
  return a >= o && a <= s;
139
139
  }
@@ -141,13 +141,13 @@ function $e(e, t, n) {
141
141
  return le(e, -t, n);
142
142
  }
143
143
  function bt(e, t, n) {
144
- const a = O(e, n?.in), o = a.getFullYear(), s = a.getDate(), l = ue(e, 0);
144
+ const a = w(e, n?.in), o = a.getFullYear(), s = a.getDate(), l = ue(e, 0);
145
145
  l.setFullYear(o, t, 15), l.setHours(0, 0, 0, 0);
146
146
  const u = gt(l);
147
147
  return a.setMonth(t, Math.min(s, u)), a;
148
148
  }
149
149
  function Et(e, t, n) {
150
- let a = O(e, n?.in);
150
+ let a = w(e, n?.in);
151
151
  return isNaN(+a) ? ue(e, NaN) : (t.year != null && a.setFullYear(t.year), t.month != null && (a = bt(a, t.month)), t.date != null && a.setDate(t.date), t.hours != null && a.setHours(t.hours), t.minutes != null && a.setMinutes(t.minutes), t.seconds != null && a.setSeconds(t.seconds), t.milliseconds != null && a.setMilliseconds(t.milliseconds), a);
152
152
  }
153
153
  function se(e, t, n) {
@@ -159,11 +159,11 @@ function St(e, t, n) {
159
159
  function It(e, t, n) {
160
160
  return tt(e, -t, n);
161
161
  }
162
- function Ot(e, t, n) {
162
+ function wt(e, t, n) {
163
163
  return nt(e, -t, n);
164
164
  }
165
165
  var B = /* @__PURE__ */ ((e) => (e.SINGLE = "single", e.MIDDLE = "middle", e.BEGINNING = "beginning", e.END = "end", e))(B || {}), 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 || {}), de = /* @__PURE__ */ ((e) => (e.CLICK = "click", e.MOUSE_OVER = "mouseover", e))(de || {});
166
- const wt = {
166
+ const Ot = {
167
167
  /**
168
168
  * Date to be displayed as the calendar day. From 1st to 31st (or end of the month defined in the date)
169
169
  */
@@ -208,7 +208,12 @@ const pn = (e) => {
208
208
  return "";
209
209
  const t = e.getFullYear(), n = (e.getMonth() + 1).toString().padStart(2, "0");
210
210
  return `${t}-${n}`;
211
- }, bn = (e) => {
211
+ }, bn = (e, t = "date") => {
212
+ if (!e)
213
+ return /* @__PURE__ */ new Date(NaN);
214
+ const [n, a, o] = e.split("-").map(Number);
215
+ return new Date(n, a - 1, t === "month" ? 1 : o);
216
+ }, En = (e) => {
212
217
  if (!e)
213
218
  return /* @__PURE__ */ new Date(NaN);
214
219
  const [t, n] = e.split("-").map(Number);
@@ -217,16 +222,16 @@ const pn = (e) => {
217
222
  name: "calendar-month-day",
218
223
  components: { BentoTypography: ke },
219
224
  inheritAttrs: !0,
220
- props: wt,
225
+ props: Ot,
221
226
  emits: [de.CLICK, de.MOUSE_OVER],
222
227
  setup(e, { emit: t }) {
223
- const { locale: n } = Be(void 0), a = w(() => {
228
+ const { locale: n } = Be(void 0), a = O(() => {
224
229
  const u = /* @__PURE__ */ new Date();
225
230
  return e.day.getDate() === u.getDate() && e.day.getMonth() === u.getMonth() && e.day.getFullYear() === u.getFullYear();
226
- }), o = w(() => Le(n.value, { day: "numeric" }).formatToParts(e.day).find((D) => D.type === "day")?.value ?? "");
231
+ }), o = O(() => Le(n.value, { day: "numeric" }).formatToParts(e.day).find((D) => D.type === "day")?.value ?? "");
227
232
  return {
228
233
  // Values
229
- conditionalClasses: w(() => ({
234
+ conditionalClasses: O(() => ({
230
235
  // Variants
231
236
  [`b-calendar-month-day--${U.BEGINNING}`]: e.variant === B.BEGINNING,
232
237
  [`b-calendar-month-day--${U.MIDDLE}`]: e.variant === B.MIDDLE,
@@ -272,7 +277,7 @@ function Yt(e, t, n, a, o, s) {
272
277
  strong: ""
273
278
  }, {
274
279
  default: Q(() => [
275
- Ie(Oe(e.formattedDate), 1)
280
+ Ie(we(e.formattedDate), 1)
276
281
  ]),
277
282
  _: 1
278
283
  })
@@ -459,7 +464,7 @@ const $t = /* @__PURE__ */ ve(kt, [["render", Yt], ["__scopeId", "data-v-e6d7eb1
459
464
  },
460
465
  emits: ["input", "changeDay", "nextMonth", "previousMonth", "mouseover"],
461
466
  setup(e, { expose: t, emit: n }) {
462
- const a = n, o = e, { locale: s, t: l } = Be({ messages: rt }), u = Ve("bento-date-picker-month-label"), f = w(
467
+ const a = n, o = e, { locale: s, t: l } = Be({ messages: rt }), u = Ve("bento-date-picker-month-label"), f = O(
463
468
  () => (b) => o.min && b < o.min || o.max && b > o.max || o.isDateDisabled?.(b)
464
469
  ), {
465
470
  internalDate: g,
@@ -486,16 +491,16 @@ const $t = /* @__PURE__ */ ve(kt, [["render", Yt], ["__scopeId", "data-v-e6d7eb1
486
491
  firstDayOfWeek: o.firstDayOfWeek
487
492
  },
488
493
  a
489
- ), ie = w(
494
+ ), ie = O(
490
495
  () => Object.values(re).includes(o.firstDayOfWeek) ? o.firstDayOfWeek : re.MONDAY
491
- ), S = w(() => ["first", "unique"].includes(o.position)), j = w(() => ["last", "unique"].includes(o.position)), A = w(
496
+ ), S = O(() => ["first", "unique"].includes(o.position)), j = O(() => ["last", "unique"].includes(o.position)), A = O(
492
497
  () => Le(s.value, { month: "long", year: "numeric" }).format(D.value)
493
- ), V = w(
498
+ ), V = O(
494
499
  () => new Array(7).fill(/* @__PURE__ */ new Date()).map((b, Y) => {
495
500
  const T = Nt(b, ie.value + Y);
496
501
  return Le(s.value, { weekday: "short" }).format(T);
497
502
  })
498
- ), F = w(() => {
503
+ ), F = O(() => {
499
504
  const b = [], Y = ce(o.month);
500
505
  let T = b[b.push([]) - 1];
501
506
  for (; Y.getMonth() === o.month.getMonth(); )
@@ -529,7 +534,7 @@ const $t = /* @__PURE__ */ ve(kt, [["render", Yt], ["__scopeId", "data-v-e6d7eb1
529
534
  }), (b, Y) => He((I(), _("div", qe({ class: "b-calendar-month" }, Qe(P, !0)), [
530
535
  $("div", Lt, [
531
536
  $("div", Ft, [
532
- S.value ? (I(), Z(we, {
537
+ S.value ? (I(), Z(Oe, {
533
538
  key: 0,
534
539
  variant: "tertiary",
535
540
  onClick: Y[0] || (Y[0] = (T) => N(h)(T, !0))
@@ -549,12 +554,12 @@ const $t = /* @__PURE__ */ ve(kt, [["render", Yt], ["__scopeId", "data-v-e6d7eb1
549
554
  "aria-live": "polite"
550
555
  }, {
551
556
  default: Q(() => [
552
- Ie(Oe(A.value), 1)
557
+ Ie(we(A.value), 1)
553
558
  ]),
554
559
  _: 1
555
560
  }, 8, ["id"]),
556
561
  $("div", Rt, [
557
- j.value ? (I(), Z(we, {
562
+ j.value ? (I(), Z(Oe, {
558
563
  key: 0,
559
564
  variant: "tertiary",
560
565
  onClick: Y[1] || (Y[1] = (T) => N(E)(T, !0))
@@ -586,7 +591,7 @@ const $t = /* @__PURE__ */ ve(kt, [["render", Yt], ["__scopeId", "data-v-e6d7eb1
586
591
  variant: "caption"
587
592
  }, {
588
593
  default: Q(() => [
589
- Ie(Oe(T), 1)
594
+ Ie(we(T), 1)
590
595
  ]),
591
596
  _: 2
592
597
  }, 1024)
@@ -645,10 +650,10 @@ const Gt = ["tabindex", "aria-selected"], jt = { class: "b-calendar-year-month__
645
650
  },
646
651
  emits: ["click", "mouseover"],
647
652
  setup(e, { emit: t }) {
648
- const n = e, a = t, o = w(() => {
653
+ const n = e, a = t, o = O(() => {
649
654
  const u = /* @__PURE__ */ new Date();
650
655
  return n.month.getMonth() === u.getMonth() && n.month.getFullYear() === u.getFullYear();
651
- }), s = w(() => ({
656
+ }), s = O(() => ({
652
657
  // Variants
653
658
  [`b-calendar-year-month--${W.BEGINNING}`]: n.variant === G.BEGINNING,
654
659
  [`b-calendar-year-month--${W.MIDDLE}`]: n.variant === G.MIDDLE,
@@ -709,9 +714,9 @@ const Gt = ["tabindex", "aria-selected"], jt = { class: "b-calendar-year-month__
709
714
  },
710
715
  emits: ["input", "changeDay", "nextMonth", "previousMonth", "mouseover"],
711
716
  setup(e, { expose: t, emit: n }) {
712
- const a = Ve("bento-date-picker-year-label"), o = e, s = n, { t: l } = Be({ messages: st }), u = (S) => o.min && S < o.min || o.max && S > o.max || o.isDateDisabled?.(S), f = w(
717
+ const a = Ve("bento-date-picker-year-label"), o = e, s = n, { t: l } = Be({ messages: st }), u = (S) => o.min && S < o.min || o.max && S > o.max || o.isDateDisabled?.(S), f = O(
713
718
  () => ["first", "unique"].includes(o.position)
714
- ), g = w(
719
+ ), g = O(
715
720
  () => ["last", "unique"].includes(o.position)
716
721
  ), {
717
722
  internalDate: D,
@@ -734,7 +739,7 @@ const Gt = ["tabindex", "aria-selected"], jt = { class: "b-calendar-year-month__
734
739
  s
735
740
  );
736
741
  t({ focusOnDate: h });
737
- const v = w(() => {
742
+ const v = O(() => {
738
743
  const S = [];
739
744
  let j = 0;
740
745
  for (let A = 0; A < 3; A++) {
@@ -759,7 +764,7 @@ const Gt = ["tabindex", "aria-selected"], jt = { class: "b-calendar-year-month__
759
764
  return (S, j) => He((I(), _("div", qe({ class: "b-calendar-year" }, Qe(N(ie), !0)), [
760
765
  $("div", qt, [
761
766
  $("div", Qt, [
762
- f.value ? (I(), Z(we, {
767
+ f.value ? (I(), Z(Oe, {
763
768
  key: 0,
764
769
  variant: "tertiary",
765
770
  onClick: j[0] || (j[0] = (A) => N(c)(A, !0))
@@ -779,12 +784,12 @@ const Gt = ["tabindex", "aria-selected"], jt = { class: "b-calendar-year-month__
779
784
  "aria-live": "polite"
780
785
  }, {
781
786
  default: Q(() => [
782
- Ie(Oe(S.year.getFullYear()), 1)
787
+ Ie(we(S.year.getFullYear()), 1)
783
788
  ]),
784
789
  _: 1
785
790
  }, 8, ["id"]),
786
791
  $("div", Kt, [
787
- g.value ? (I(), Z(we, {
792
+ g.value ? (I(), Z(Oe, {
788
793
  key: 0,
789
794
  variant: "tertiary",
790
795
  onClick: j[1] || (j[1] = (A) => N(d)(A, !0))
@@ -1089,9 +1094,9 @@ const Gt = ["tabindex", "aria-selected"], jt = { class: "b-calendar-year-month__
1089
1094
  },
1090
1095
  { immediate: !0, deep: !0 }
1091
1096
  );
1092
- const o = w(
1097
+ const o = O(
1093
1098
  () => e.variant === Ye.MONTH ? We : Ue
1094
- ), s = w(() => ({
1099
+ ), s = O(() => ({
1095
1100
  "b-calendar__range": e.isRange
1096
1101
  })), { internalValue: l, onDateInput: u, onMouseOver: f } = e.isRange ? nn(
1097
1102
  {
@@ -1110,11 +1115,11 @@ const Gt = ["tabindex", "aria-selected"], jt = { class: "b-calendar-year-month__
1110
1115
  firstDayOfWeek: e.firstDayOfWeek
1111
1116
  },
1112
1117
  t
1113
- ), g = (r) => e.numberOfMonths === 1 ? ae.UNIQUE : r === 0 ? ae.FIRST : r === e.numberOfMonths - 1 ? ae.LAST : ae.MIDDLE, D = w(() => (r) => {
1118
+ ), g = (r) => e.numberOfMonths === 1 ? ae.UNIQUE : r === 0 ? ae.FIRST : r === e.numberOfMonths - 1 ? ae.LAST : ae.MIDDLE, D = O(() => (r) => {
1114
1119
  const d = e?.showEndDateOnOpen && e.isRange ? se(a.value, e.numberOfMonths - 1) : a.value;
1115
1120
  return q(d, r);
1116
- }), y = w(() => (r) => {
1117
- const d = e?.showEndDateOnOpen ? Ot(a.value, e.numberOfMonths - 1) : a.value;
1121
+ }), y = O(() => (r) => {
1122
+ const d = e?.showEndDateOnOpen ? wt(a.value, e.numberOfMonths - 1) : a.value;
1118
1123
  return nt(d, r);
1119
1124
  });
1120
1125
  return {
@@ -1168,34 +1173,35 @@ function on(e, t, n, a, o, s) {
1168
1173
  }, null, 40, ["first-day-of-week", "is-date-disabled", "month", "year", "position", "min", "max", "is-range", "start-date", "end-date", "granularity", "onInput", "onMouseover", "onChangeDay", "onNextMonth", "onPreviousMonth"]))), 128))
1169
1174
  ], 2);
1170
1175
  }
1171
- const En = /* @__PURE__ */ ve(an, [["render", on], ["__scopeId", "data-v-4adaff23"]]);
1176
+ const Sn = /* @__PURE__ */ ve(an, [["render", on], ["__scopeId", "data-v-4adaff23"]]);
1172
1177
  export {
1178
+ je as A,
1173
1179
  re as C,
1174
1180
  Ye as a,
1175
- En as b,
1181
+ Sn as b,
1176
1182
  K as c,
1177
1183
  ae as d,
1178
- Nn as e,
1179
- Mn as f,
1184
+ pn as e,
1185
+ ce as f,
1180
1186
  Le as g,
1181
- be as h,
1182
- ge as i,
1183
- ee as j,
1184
- le as k,
1185
- Ee as l,
1186
- $e as m,
1187
- q as n,
1188
- se as o,
1187
+ Nn as h,
1188
+ Mn as i,
1189
+ be as j,
1190
+ ge as k,
1191
+ le as l,
1192
+ Ee as m,
1193
+ $e as n,
1194
+ q as o,
1189
1195
  bn as p,
1190
- et as q,
1191
- Se as r,
1192
- ce as s,
1193
- St as t,
1194
- Zt as u,
1195
- pn as v,
1196
- xe as w,
1197
- Nt as x,
1198
- ht as y,
1199
- je as z
1196
+ se as q,
1197
+ et as r,
1198
+ ee as s,
1199
+ Se as t,
1200
+ St as u,
1201
+ Zt as v,
1202
+ En as w,
1203
+ xe as x,
1204
+ Nt as y,
1205
+ ht as z
1200
1206
  };
1201
- //# sourceMappingURL=calendar.D8CM3XkW.js.map
1207
+ //# sourceMappingURL=calendar.iQyNwQBL.js.map