@adyen/bento-vue3 1.86.1 → 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 (277) hide show
  1. package/dist/@types/index.d.ts +12337 -12402
  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.g7rM3wUc.js → action-bar.Ho_fXeXK.js} +4 -4
  38. package/dist/chunks/{action-bar.g7rM3wUc.js.map → action-bar.Ho_fXeXK.js.map} +1 -1
  39. package/dist/chunks/{ai-tag.UlRkq54l.js → ai-tag.DVCW-_vD.js} +2 -2
  40. package/dist/chunks/{ai-tag.UlRkq54l.js.map → ai-tag.DVCW-_vD.js.map} +1 -1
  41. package/dist/chunks/anchor-scroller.BctgW0se.js +214 -0
  42. package/dist/chunks/anchor-scroller.BctgW0se.js.map +1 -0
  43. package/dist/chunks/{base-modal.D5HrjwL1.js → base-modal.gZAtk-xP.js} +17 -17
  44. package/dist/chunks/{base-modal.D5HrjwL1.js.map → base-modal.gZAtk-xP.js.map} +1 -1
  45. package/dist/chunks/{button-actions-with-menu.DBqA3Ws5.js → button-actions-with-menu.Tba1ME79.js} +3 -3
  46. package/dist/chunks/{button-actions-with-menu.DBqA3Ws5.js.map → button-actions-with-menu.Tba1ME79.js.map} +1 -1
  47. package/dist/chunks/{button-actions.BH-J7dux.js → button-actions.BYBpjNqy.js} +182 -180
  48. package/dist/chunks/button-actions.BYBpjNqy.js.map +1 -0
  49. package/dist/chunks/{calendar.DzeJoNc2.js → calendar.vM3abC8y.js} +401 -410
  50. package/dist/chunks/calendar.vM3abC8y.js.map +1 -0
  51. package/dist/chunks/{card.DcXXdxWL.js → card.Cw63i7Ul.js} +2 -2
  52. package/dist/chunks/{card.DcXXdxWL.js.map → card.Cw63i7Ul.js.map} +1 -1
  53. package/dist/chunks/{checkbox-group.Bh_aqKoA.js → checkbox-group.ODQy-ICn.js} +42 -41
  54. package/dist/chunks/checkbox-group.ODQy-ICn.js.map +1 -0
  55. package/dist/chunks/{checkbox.7kpOXm-b.js → checkbox.C3Ewfygy.js} +79 -81
  56. package/dist/chunks/checkbox.C3Ewfygy.js.map +1 -0
  57. package/dist/chunks/{code-snippet.UIqVTv4U.js → code-snippet.Dl1MEedz.js} +4 -4
  58. package/dist/chunks/{code-snippet.UIqVTv4U.js.map → code-snippet.Dl1MEedz.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.Dip3WAKV.js → controls-group.Bu5lNTyH.js} +22 -28
  62. package/dist/chunks/controls-group.Bu5lNTyH.js.map +1 -0
  63. package/dist/chunks/{copy.ByyQlckP.js → copy.C_BCNHYQ.js} +3 -3
  64. package/dist/chunks/{copy.ByyQlckP.js.map → copy.C_BCNHYQ.js.map} +1 -1
  65. package/dist/chunks/{dashboard-section.CIHtXoeW.js → dashboard-section.CgoLquLP.js} +3 -3
  66. package/dist/chunks/{dashboard-section.CIHtXoeW.js.map → dashboard-section.CgoLquLP.js.map} +1 -1
  67. package/dist/chunks/{dashed-underline.CLwPU-C2.js → dashed-underline.wbRHATeE.js} +3 -3
  68. package/dist/chunks/{dashed-underline.CLwPU-C2.js.map → dashed-underline.wbRHATeE.js.map} +1 -1
  69. package/dist/chunks/{data-grid-template.BTpSfkQt.js → data-grid-template.D40V1cmi.js} +3 -3
  70. package/dist/chunks/{data-grid-template.BTpSfkQt.js.map → data-grid-template.D40V1cmi.js.map} +1 -1
  71. package/dist/chunks/{data-grid.kEhur6r-.js → data-grid.KudN-TcY.js} +870 -867
  72. package/dist/chunks/{data-grid.kEhur6r-.js.map → data-grid.KudN-TcY.js.map} +1 -1
  73. package/dist/chunks/date-picker.D5B_SECc.js +251 -0
  74. package/dist/chunks/date-picker.D5B_SECc.js.map +1 -0
  75. package/dist/chunks/date-range-picker.CDDw_xl_.js +1104 -0
  76. package/dist/chunks/date-range-picker.CDDw_xl_.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.B3ptLXXP.js → dialog-page.C1KUI51V.js} +2 -2
  80. package/dist/chunks/{dialog-page.B3ptLXXP.js.map → dialog-page.C1KUI51V.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.B-_dTUVX.js → dropdown-default-textbox.CskseEho.js} +62 -60
  84. package/dist/chunks/dropdown-default-textbox.CskseEho.js.map +1 -0
  85. package/dist/chunks/{dropdown-tag.DDNOZhEG.js → dropdown-tag.CwSzUwa7.js} +3 -3
  86. package/dist/chunks/{dropdown-tag.DDNOZhEG.js.map → dropdown-tag.CwSzUwa7.js.map} +1 -1
  87. package/dist/chunks/{dropdown.CU6nfq3V.js → dropdown.Bdw2B-Cw.js} +9 -9
  88. package/dist/chunks/{dropdown.CU6nfq3V.js.map → dropdown.Bdw2B-Cw.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.oGiefI2-.js +155 -0
  94. package/dist/chunks/error-message.oGiefI2-.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.Q2ufNRTY.js → file-uploader.BnmNI1O7.js} +573 -548
  98. package/dist/chunks/file-uploader.BnmNI1O7.js.map +1 -0
  99. package/dist/chunks/{filter-bar.CkYOjRAa.js → filter-bar.xwfVuZw4.js} +1973 -2062
  100. package/dist/chunks/filter-bar.xwfVuZw4.js.map +1 -0
  101. package/dist/chunks/{focus-trap.CBvh2H_m.js → focus-trap.BxCwzLqN.js} +2 -2
  102. package/dist/chunks/{focus-trap.CBvh2H_m.js.map → focus-trap.BxCwzLqN.js.map} +1 -1
  103. package/dist/chunks/{footer-actions.DLzMOB7j.js → footer-actions.Ck6UztD8.js} +2 -2
  104. package/dist/chunks/{footer-actions.DLzMOB7j.js.map → footer-actions.Ck6UztD8.js.map} +1 -1
  105. package/dist/chunks/form-layout-title.CQfeGyVw.js +232 -0
  106. package/dist/chunks/{form-layout-title.DYmTc6M7.js.map → form-layout-title.CQfeGyVw.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.Bw8ZGwJW.js → header-meta.lGt3HsyH.js} +108 -114
  110. package/dist/chunks/header-meta.lGt3HsyH.js.map +1 -0
  111. package/dist/chunks/{header-with-views.CJDoE4hw.js → header-with-views.BT6lbAby.js} +9 -9
  112. package/dist/chunks/{header-with-views.CJDoE4hw.js.map → header-with-views.BT6lbAby.js.map} +1 -1
  113. package/dist/chunks/{header.BeH8KH_l.js → header.oXqwf2xN.js} +3 -3
  114. package/dist/chunks/{header.BeH8KH_l.js.map → header.oXqwf2xN.js.map} +1 -1
  115. package/dist/chunks/{index.CbxHJr39.js → index.Dppy4qHk.js} +204 -197
  116. package/dist/chunks/{index.CbxHJr39.js.map → index.Dppy4qHk.js.map} +1 -1
  117. package/dist/chunks/{info-icon.BLtyJvY4.js → info-icon.DyPOv7Pi.js} +3 -3
  118. package/dist/chunks/{info-icon.BLtyJvY4.js.map → info-icon.DyPOv7Pi.js.map} +1 -1
  119. package/dist/chunks/{input-field-password.KeKQPIZv.js → input-field-password.CKhqGBVB.js} +6 -6
  120. package/dist/chunks/{input-field-password.KeKQPIZv.js.map → input-field-password.CKhqGBVB.js.map} +1 -1
  121. package/dist/chunks/{input-field-phone-number.eaU9p15A.js → input-field-phone-number.Cailj_71.js} +49 -49
  122. package/dist/chunks/{input-field-phone-number.eaU9p15A.js.map → input-field-phone-number.Cailj_71.js.map} +1 -1
  123. package/dist/chunks/{input-field.CNdqlGw6.js → input-field.DqXVoKpy.js} +15 -14
  124. package/dist/chunks/input-field.DqXVoKpy.js.map +1 -0
  125. package/dist/chunks/{inspector.Bnf0g7QE.js → inspector.BjLhY3bE.js} +3 -3
  126. package/dist/chunks/{inspector.Bnf0g7QE.js.map → inspector.BjLhY3bE.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.Bz-mRqAq.js → layout-row.Da8nkm9z.js} +2 -2
  134. package/dist/chunks/{layout-row.Bz-mRqAq.js.map → layout-row.Da8nkm9z.js.map} +1 -1
  135. package/dist/chunks/{listbox-option-tag.C3ihNg6_.js → listbox-option-tag.CoBUYwFG.js} +2 -2
  136. package/dist/chunks/{listbox-option-tag.C3ihNg6_.js.map → listbox-option-tag.CoBUYwFG.js.map} +1 -1
  137. package/dist/chunks/modal-fullscreen.9ZDR_S29.js +301 -0
  138. package/dist/chunks/modal-fullscreen.9ZDR_S29.js.map +1 -0
  139. package/dist/chunks/{modal.vue_vue_type_script_setup_true_lang.BAwez0nB.js → modal.vue_vue_type_script_setup_true_lang.B0IdwV0R.js} +4 -4
  140. package/dist/chunks/{modal.vue_vue_type_script_setup_true_lang.BAwez0nB.js.map → modal.vue_vue_type_script_setup_true_lang.B0IdwV0R.js.map} +1 -1
  141. package/dist/chunks/pagination.CqCd5JCe.js +488 -0
  142. package/dist/chunks/pagination.CqCd5JCe.js.map +1 -0
  143. package/dist/chunks/popover.types.DhALnOLQ.js +6 -0
  144. package/dist/chunks/{popover.types.C_Z2JeVK.js.map → popover.types.DhALnOLQ.js.map} +1 -1
  145. package/dist/chunks/{popper-container.BefZxTzP.js → popper-container.DAK7c9uS.js} +2 -2
  146. package/dist/chunks/{popper-container.BefZxTzP.js.map → popper-container.DAK7c9uS.js.map} +1 -1
  147. package/dist/chunks/{promo-banner.BLie64oS.js → promo-banner.aNwH6uQx.js} +2 -2
  148. package/dist/chunks/{promo-banner.BLie64oS.js.map → promo-banner.aNwH6uQx.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.C6nQRQDB.js → radio-group.v8mDVZ-o.js} +24 -23
  152. package/dist/chunks/{radio-group.C6nQRQDB.js.map → radio-group.v8mDVZ-o.js.map} +1 -1
  153. package/dist/chunks/{rich-text-editor.C39NKgl0.js → rich-text-editor.DH1d5Zcp.js} +7 -6
  154. package/dist/chunks/{rich-text-editor.C39NKgl0.js.map → rich-text-editor.DH1d5Zcp.js.map} +1 -1
  155. package/dist/chunks/{search-bar.CbTrg2Sk.js → search-bar.DGpLNVng.js} +3 -3
  156. package/dist/chunks/{search-bar.CbTrg2Sk.js.map → search-bar.DGpLNVng.js.map} +1 -1
  157. package/dist/chunks/{secondary-nav.DTOZQewf.js → secondary-nav.l_60nnXA.js} +3 -3
  158. package/dist/chunks/{secondary-nav.DTOZQewf.js.map → secondary-nav.l_60nnXA.js.map} +1 -1
  159. package/dist/chunks/{segmented-control.D9rHBysM.js → segmented-control.Aqquod8g.js} +2 -2
  160. package/dist/chunks/{segmented-control.D9rHBysM.js.map → segmented-control.Aqquod8g.js.map} +1 -1
  161. package/dist/chunks/{selection-card-group.KEsG0D5V.js → selection-card-group.KBl4fVSH.js} +107 -106
  162. package/dist/chunks/selection-card-group.KBl4fVSH.js.map +1 -0
  163. package/dist/chunks/{sidepanel.DJCagqzl.js → sidepanel.DaXPcTHm.js} +5 -5
  164. package/dist/chunks/{sidepanel.DJCagqzl.js.map → sidepanel.DaXPcTHm.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.f1tmHSEN.js → structured-list-item.DAIaUMCY.js} +4 -4
  168. package/dist/chunks/{structured-list-item.f1tmHSEN.js.map → structured-list-item.DAIaUMCY.js.map} +1 -1
  169. package/dist/chunks/{summary-grid.types.COcV-sOB.js → summary-grid.types.BZcZS_dW.js} +5 -5
  170. package/dist/chunks/{summary-grid.types.COcV-sOB.js.map → summary-grid.types.BZcZS_dW.js.map} +1 -1
  171. package/dist/chunks/{tag.Dr7MKe9q.js → tag.CqWg6C3H.js} +2 -2
  172. package/dist/chunks/{tag.Dr7MKe9q.js.map → tag.CqWg6C3H.js.map} +1 -1
  173. package/dist/chunks/{textarea.CtgbUCjH.js → textarea.CvI2InIB.js} +18 -17
  174. package/dist/chunks/textarea.CvI2InIB.js.map +1 -0
  175. package/dist/chunks/{timeline-item.D9nmCe6u.js → timeline-item.BooD99hL.js} +93 -95
  176. package/dist/chunks/timeline-item.BooD99hL.js.map +1 -0
  177. package/dist/chunks/{tooltip.DYpJZ-99.js → tooltip.Lwtlhv3u.js} +2 -2
  178. package/dist/chunks/{tooltip.DYpJZ-99.js.map → tooltip.Lwtlhv3u.js.map} +1 -1
  179. package/dist/chunks/{tutorial.vue_vue_type_script_setup_true_lang.B5hWgNSd.js → tutorial.vue_vue_type_script_setup_true_lang.BL2QTKmV.js} +4 -4
  180. package/dist/chunks/{tutorial.vue_vue_type_script_setup_true_lang.B5hWgNSd.js.map → tutorial.vue_vue_type_script_setup_true_lang.BL2QTKmV.js.map} +1 -1
  181. package/dist/chunks/{use-cached-selected-values.BiSuG1eX.js → use-cached-selected-values.C4_X3vVj.js} +2 -2
  182. package/dist/chunks/{use-cached-selected-values.BiSuG1eX.js.map → use-cached-selected-values.C4_X3vVj.js.map} +1 -1
  183. package/dist/chunks/use-date-input-formatter.dtbK-CEy.js +1732 -0
  184. package/dist/chunks/use-date-input-formatter.dtbK-CEy.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 +1 -1
  232. package/package.json +10 -15
  233. package/dist/chunks/anchor-scroller.CKIQu3NK.js +0 -215
  234. package/dist/chunks/anchor-scroller.CKIQu3NK.js.map +0 -1
  235. package/dist/chunks/button-actions.BH-J7dux.js.map +0 -1
  236. package/dist/chunks/calendar.DzeJoNc2.js.map +0 -1
  237. package/dist/chunks/checkbox-group.Bh_aqKoA.js.map +0 -1
  238. package/dist/chunks/checkbox.7kpOXm-b.js.map +0 -1
  239. package/dist/chunks/constructNow.B8T1ljs6.js +0 -8
  240. package/dist/chunks/controls-group.Dip3WAKV.js.map +0 -1
  241. package/dist/chunks/date-input.XSJuuCHe.js +0 -20
  242. package/dist/chunks/date-input.XSJuuCHe.js.map +0 -1
  243. package/dist/chunks/date-picker.CvTSZhMI.js +0 -250
  244. package/dist/chunks/date-picker.CvTSZhMI.js.map +0 -1
  245. package/dist/chunks/date-range-picker.D0YqnZ86.js +0 -1080
  246. package/dist/chunks/date-range-picker.D0YqnZ86.js.map +0 -1
  247. package/dist/chunks/dropdown-default-textbox.B-_dTUVX.js.map +0 -1
  248. package/dist/chunks/en-US.BZii9jNW.js.map +0 -1
  249. package/dist/chunks/error-message.BYA2_fPV.js +0 -158
  250. package/dist/chunks/error-message.BYA2_fPV.js.map +0 -1
  251. package/dist/chunks/file-uploader.Q2ufNRTY.js.map +0 -1
  252. package/dist/chunks/filter-bar.CkYOjRAa.js.map +0 -1
  253. package/dist/chunks/form-layout-title.DYmTc6M7.js +0 -214
  254. package/dist/chunks/fr-CA.B1aPU8fp.js +0 -48
  255. package/dist/chunks/fr-CA.B1aPU8fp.js.map +0 -1
  256. package/dist/chunks/fr.Dj7wEToe.js +0 -47
  257. package/dist/chunks/fr.Dj7wEToe.js.map +0 -1
  258. package/dist/chunks/getTimezoneOffsetInMilliseconds.Tu2wlbTR.js +0 -51
  259. package/dist/chunks/getTimezoneOffsetInMilliseconds.Tu2wlbTR.js.map +0 -1
  260. package/dist/chunks/header-meta.Bw8ZGwJW.js.map +0 -1
  261. package/dist/chunks/input-field.CNdqlGw6.js.map +0 -1
  262. package/dist/chunks/isSameWeek.DjeUtLwI.js +0 -14
  263. package/dist/chunks/ko.Ceaof6EP.js +0 -348
  264. package/dist/chunks/ko.Ceaof6EP.js.map +0 -1
  265. package/dist/chunks/match.CMBZxEs9.js.map +0 -1
  266. package/dist/chunks/modal-fullscreen.B3AGUJgl.js +0 -289
  267. package/dist/chunks/modal-fullscreen.B3AGUJgl.js.map +0 -1
  268. package/dist/chunks/nl.B6vCf2B9.js +0 -327
  269. package/dist/chunks/nl.B6vCf2B9.js.map +0 -1
  270. package/dist/chunks/pagination.lu9nx8j8.js +0 -461
  271. package/dist/chunks/pagination.lu9nx8j8.js.map +0 -1
  272. package/dist/chunks/popover.types.C_Z2JeVK.js +0 -6
  273. package/dist/chunks/selection-card-group.KEsG0D5V.js.map +0 -1
  274. package/dist/chunks/sv.f8EfZjMZ.js +0 -377
  275. package/dist/chunks/sv.f8EfZjMZ.js.map +0 -1
  276. package/dist/chunks/textarea.CtgbUCjH.js.map +0 -1
  277. package/dist/chunks/timeline-item.D9nmCe6u.js.map +0 -1
@@ -0,0 +1,1104 @@
1
+ import { reactive as Me, defineComponent as ra, useSlots as Ia, ref as B, computed as p, onMounted as sa, openBlock as F, createElementBlock as he, createElementVNode as X, normalizeClass as Re, unref as c, renderSlot as Qe, createCommentVNode as C, createBlock as K, createVNode as H, withCtx as G, createTextVNode as ne, toDisplayString as _e, toRaw as Ae, watch as ke, useAttrs as Sa, toRef as Ee, withDirectives as Oa, withKeys as We, createSlots as wa } from "vue";
2
+ import { j as Fa } from "./index.Dppy4qHk.js";
3
+ import { B as Ea } from "./divider.BIY84UH7.js";
4
+ import { h as _a, B as Aa } from "./button-actions.BYBpjNqy.js";
5
+ import { B as Be, d as Ge } from "./typography.B3J6_tYk.js";
6
+ import { D as Ba } from "./dropdown-default-textbox.CskseEho.js";
7
+ import { g as oe } from "./generate-uid.NJ8tVoha.js";
8
+ import { u as Ce } from "./index.B875RXHM.js";
9
+ import { e as la, f as ie, i as N, h as M, j as Ca, k as Ke, l as qa, s as He, m as Ua, n as Pe, b as W, u as Ya, o as q, g as Na } from "./calendar.vM3abC8y.js";
10
+ import { u as qe, a as xa } from "./use-date-input-formatter.dtbK-CEy.js";
11
+ import { t as P, n as $a, c as ja } from "./en-US.YeSsZuOc.js";
12
+ import { u as La } from "./use-form-layout-loading.CWbjZiwP.js";
13
+ import { B as Qa } from "./directive.rXUeDb8p.js";
14
+ import { u as Wa } from "./form-field.D_2g7vaP.js";
15
+ import { B as ge } from "./input-field.DqXVoKpy.js";
16
+ import { B as Ga } from "./dropdown.Bdw2B-Cw.js";
17
+ import { B as Ka } from "./segmented-control.Aqquod8g.js";
18
+ import { d as Te } from "./debounce.DUTu11PS.js";
19
+ import { u as Ha } from "./use-has-slot.B7eQSabc.js";
20
+ import { e as j, a as Ve } from "./differenceInMonths.CIYECBxK.js";
21
+ import { s as ze } from "./startOfWeek.CXhhX-R7.js";
22
+ import { c as Pa } from "./constructNow.CIc7d13I.js";
23
+ import { _ as oa } from "./_plugin-vue_export-helper.CHgC5LLL.js";
24
+ import { F as Va, E as Je } from "./error-message.oGiefI2-.js";
25
+ import { B as za } from "./button-actions.types.BptAXjD8.js";
26
+ import "../assets/date-range-picker.css";
27
+ function ia(t, o, d) {
28
+ return la(t, o * 3, d);
29
+ }
30
+ function Xe(t, o) {
31
+ const d = P(t, o == null ? void 0 : o.in);
32
+ return Math.trunc(d.getMonth() / 3) + 1;
33
+ }
34
+ function Ze(t, o) {
35
+ return P(t, o == null ? void 0 : o.in).getFullYear();
36
+ }
37
+ function be(t, o) {
38
+ return +P(t) == +P(o);
39
+ }
40
+ function Ja(t, o, d) {
41
+ const [r, e] = $a(
42
+ d == null ? void 0 : d.in,
43
+ t,
44
+ o
45
+ );
46
+ return +ie(r) == +ie(e);
47
+ }
48
+ function ea(t, o) {
49
+ const d = P(t, o == null ? void 0 : o.in);
50
+ return d.setMilliseconds(0), d;
51
+ }
52
+ function aa(t, o) {
53
+ return +ea(t) == +ea(o);
54
+ }
55
+ function Xa(t, o) {
56
+ return N(
57
+ ja(t, t),
58
+ Pa(t)
59
+ );
60
+ }
61
+ function Za(t, o, d) {
62
+ const r = P(t, d == null ? void 0 : d.in);
63
+ return r.setHours(o), r;
64
+ }
65
+ function ta(t, o, d) {
66
+ const r = P(t, d == null ? void 0 : d.in);
67
+ return r.setMilliseconds(o), r;
68
+ }
69
+ function et(t, o, d) {
70
+ const r = P(t, d == null ? void 0 : d.in);
71
+ return r.setMinutes(o), r;
72
+ }
73
+ function at(t, o, d) {
74
+ const r = P(t, d == null ? void 0 : d.in);
75
+ return r.setSeconds(o), r;
76
+ }
77
+ function tt(t, o, d) {
78
+ return ia(t, -1, d);
79
+ }
80
+ const nt = ({
81
+ firstDayOfWeek: t,
82
+ min: o,
83
+ max: d
84
+ }) => ({ getGranularCalendarLimits: (e) => {
85
+ if (!o && !d)
86
+ return { min: null, max: null };
87
+ let u = o ? M(o) : null, f = d ? j(d) : null;
88
+ if ((e == null ? void 0 : e.type) === "weekly") {
89
+ if (e.earliest)
90
+ u = M(e.earliest);
91
+ else if (u) {
92
+ const y = ze(u, { weekStartsOn: t });
93
+ N(u, y) || (u = M(Ca(Ke(u, { weekStartsOn: t }), 1)));
94
+ }
95
+ if (e.latest)
96
+ f = j(e.latest);
97
+ else if (f) {
98
+ const y = Ke(f, { weekStartsOn: t });
99
+ N(f, y) || (f = j(qa(ze(f, { weekStartsOn: t }), 1)));
100
+ }
101
+ }
102
+ if ((e == null ? void 0 : e.type) === "monthly") {
103
+ if (e.earliest)
104
+ u = M(e.earliest);
105
+ else if (u) {
106
+ const y = He(u);
107
+ N(u, y) || (u = He(la(u, 1)));
108
+ }
109
+ if (e.latest)
110
+ f = j(e.latest);
111
+ else if (f) {
112
+ const y = Ve(f);
113
+ N(f, y) || (f = Ve(Ua(f, 1)));
114
+ }
115
+ }
116
+ if ((e == null ? void 0 : e.type) === "quarterly") {
117
+ if (e.earliest)
118
+ u = ie(e.earliest);
119
+ else if (u) {
120
+ const y = ie(u);
121
+ N(u, y) || (u = ie(ia(u, 1)));
122
+ }
123
+ if (e.latest)
124
+ f = j(e.latest);
125
+ else if (f) {
126
+ const y = Pe(f);
127
+ N(f, y) || (f = Pe(tt(f)));
128
+ }
129
+ }
130
+ return { min: u, max: f };
131
+ } }), rt = () => {
132
+ const t = Me({
133
+ daily: null,
134
+ weekly: null,
135
+ monthly: null,
136
+ quarterly: null
137
+ });
138
+ return {
139
+ savedRanges: t,
140
+ saveRange: (r, e) => {
141
+ t[r] = e;
142
+ },
143
+ resetSavedRanges: () => {
144
+ t.daily = null, t.weekly = null, t.monthly = null, t.quarterly = null;
145
+ }
146
+ };
147
+ };
148
+ var g = /* @__PURE__ */ ((t) => (t.CUSTOM_RANGE = "custom-range", t.INPUT = "input", t.ERROR = "error", t.FORM_DATE = "form-date", t.START_DATE_SELECTED = "start-date-selected", t))(g || {});
149
+ const st = /[\d]/, lt = /^\d{2}$/, ot = /^\d{2}:\d{2}$/, it = (t) => {
150
+ const { selectionStart: o } = t.target, d = ["Backspace", "Tab", "ArrowLeft", "ArrowRight"], r = st.test(t.key) || d.includes(t.key), e = [1, 2, 4, 5].includes(o) && t.key === ":";
151
+ !r && !e && t.preventDefault();
152
+ }, na = (t) => {
153
+ if (!t)
154
+ return t;
155
+ let o = t;
156
+ if (o.length === 1 && parseInt(t, 10) > 2)
157
+ return `0${o}:`;
158
+ const [d, r] = o.slice(-2);
159
+ return [2, 5].includes(o.length) && r === ":" && (o = `${o.slice(0, o.length - 2)}0${d}`), (lt.test(o) || ot.test(o)) && (o += ":"), o;
160
+ }, ua = {
161
+ "en-US": {
162
+ "DD-MM-YYYY": "DD-MM-YYYY",
163
+ "MM-DD-YYYY": "MM-DD-YYYY",
164
+ "YYYY-MM-DD": "YYYY-MM-DD",
165
+ customRange: "Custom range",
166
+ daily: "Daily",
167
+ dateFrom: "Date from",
168
+ dateTo: "Date to",
169
+ lastMonth: "Last month",
170
+ lastSevenDays: "Last 7 days",
171
+ lastThreeMonths: "Last three months",
172
+ monthly: "Monthly",
173
+ quarterly: "Quarterly",
174
+ timeFrom: "Time from",
175
+ timeTo: "Time to",
176
+ weekly: "Weekly"
177
+ },
178
+ "ja-JP": {
179
+ customRange: "カスタム範囲",
180
+ daily: "毎日",
181
+ dateFrom: "開始日",
182
+ dateTo: "日付まで",
183
+ lastMonth: "先月",
184
+ lastSevenDays: "過去7日間",
185
+ lastThreeMonths: "過去3か月",
186
+ monthly: "毎月",
187
+ quarterly: "毎四半期",
188
+ timeFrom: "開始時刻",
189
+ timeTo: "終了時刻",
190
+ weekly: "毎週"
191
+ },
192
+ "pt-BR": {
193
+ customRange: "Intervalo personalizado",
194
+ daily: "Diária",
195
+ dateFrom: "Data a partir de",
196
+ dateTo: "Data até",
197
+ lastMonth: "Último mês",
198
+ lastSevenDays: "Últimos 7 dias",
199
+ lastThreeMonths: "Últimos 3 meses",
200
+ monthly: "Mensal",
201
+ quarterly: "Trimestral",
202
+ timeFrom: "Horário a partir de",
203
+ timeTo: "Hora de",
204
+ weekly: "Semanal"
205
+ }
206
+ }, ut = { class: "b-date-range-picker-calendar" }, dt = { class: "b-date-range-picker-calendar__form" }, mt = { key: 0 }, ct = {
207
+ key: 0,
208
+ class: "b-date-range-picker-calendar__calendars-container",
209
+ "data-testid": "date-range-picker-calendar-calendar-container"
210
+ }, Dt = {
211
+ name: "date-range-picker-calendar",
212
+ i18n: { messages: ua }
213
+ }, ft = /* @__PURE__ */ ra({
214
+ ...Dt,
215
+ props: {
216
+ /**
217
+ * Allows user to enter time values in the form
218
+ */
219
+ allowTimeInput: { type: Boolean, default: !1 },
220
+ /**
221
+ * Ranges form persistance data
222
+ */
223
+ dateFormData: {
224
+ type: Object,
225
+ default: () => ({ startDate: void 0, endDate: void 0, startTime: void 0, endTime: void 0 })
226
+ },
227
+ /**
228
+ * Allows you to set the first day of the week. 0 is sunday, 1 is monday, 6 is saturday
229
+ */
230
+ firstDayOfWeek: W.props.firstDayOfWeek,
231
+ /**
232
+ * A list of available granularities.
233
+ * If present, the date picker will display a segmented control to change granularity.
234
+ */
235
+ granularities: {
236
+ type: Array,
237
+ default: null
238
+ },
239
+ /**
240
+ * Indicate if a date should be disabled or not
241
+ */
242
+ isDateDisabled: W.props.isDateDisabled,
243
+ /**
244
+ * Set a maximum number of dates to be selectable by the range.
245
+ */
246
+ maxRange: W.props.maxRange,
247
+ /**
248
+ * Sets a minimum limit for selectable dates - dates before `min` will not be selectable
249
+ */
250
+ min: W.props.min,
251
+ /**
252
+ * Sets a maximum limit for selectable dates - dates after `max` will not be selectable
253
+ */
254
+ max: W.props.max,
255
+ /**
256
+ * Number of months rendered on pane
257
+ */
258
+ numberOfMonths: {
259
+ type: W.props.numberOfMonths.type,
260
+ default: W.props.numberOfMonths.default,
261
+ validator: (t) => t >= 0
262
+ },
263
+ /**
264
+ * Displays the end date's month when the calendar is opened. Defaults to false i.e. the start date's month is displayed.
265
+ */
266
+ showEndDateOnOpen: { type: Boolean, default: !1 },
267
+ /**
268
+ * Enables the custom range selector.
269
+ * If provided, must be an array that sets the custom range dropdown items. Items are of the structure:
270
+ * `label` - label of custom range item.
271
+ * `value` - a unique key of the custom range item.
272
+ * `data` - an object `{ startDate: Date; endDate: Date }` to set the date picker range to upon selecting.
273
+ */
274
+ quickSelectRanges: {
275
+ type: Array,
276
+ default: void 0
277
+ },
278
+ /**
279
+ * Selected date
280
+ */
281
+ value: { type: Object, default: void 0 },
282
+ /**
283
+ * The type of calendar to display. Defaults to showing days.
284
+ */
285
+ variant: W.props.variant
286
+ },
287
+ emits: [
288
+ g.CUSTOM_RANGE,
289
+ g.INPUT,
290
+ g.ERROR,
291
+ g.FORM_DATE,
292
+ g.START_DATE_SELECTED
293
+ ],
294
+ setup(t, { emit: o }) {
295
+ var xe, $e, je, Le;
296
+ const r = "customRange", e = t, u = o, f = Ia(), y = Ha(f), { t: I } = Ce({ messages: ua }), {
297
+ dateFormat: V,
298
+ isFormatValid: S,
299
+ parseDate: E,
300
+ onKeyDown: ue,
301
+ autoFormat: v,
302
+ formatDate: re
303
+ } = qe(), _ = B({}), U = p(() => e.variant === "month" ? "monthly" : "daily"), x = p(() => e.numberOfMonths === 0), n = Me({
304
+ startDate: (xe = e.value) == null ? void 0 : xe.startDate,
305
+ endDate: ($e = e.value) == null ? void 0 : $e.endDate,
306
+ range: (je = e.value) == null ? void 0 : je.range,
307
+ ...e.granularities ? {
308
+ granularity: ((Le = e.value) == null ? void 0 : Le.granularity) || U.value
309
+ } : {}
310
+ });
311
+ function h(a) {
312
+ return a ? new Date(
313
+ a.getUTCFullYear(),
314
+ a.getUTCMonth(),
315
+ a.getUTCDate(),
316
+ a.getUTCHours(),
317
+ a.getUTCMinutes(),
318
+ a.getUTCSeconds()
319
+ ) : null;
320
+ }
321
+ const T = p(() => {
322
+ var a, l;
323
+ return (
324
+ // eslint-disable-next-line consistent-return
325
+ ((l = (a = e == null ? void 0 : e.quickSelectRanges) == null ? void 0 : a.find(({ value: m, data: D }) => {
326
+ var k;
327
+ if (!D.endDate) {
328
+ if (D.isRelativeToNow) {
329
+ const w = (k = _.value) == null ? void 0 : k[m];
330
+ return w ? be(
331
+ h(w.startDate),
332
+ h(n.startDate)
333
+ ) && be(
334
+ h(w.endDate),
335
+ h(n.endDate)
336
+ ) : (
337
+ // If not stored calculated dates, fall back to comparing the quick select item's value
338
+ // with the internal range's stored range identifier.
339
+ m === n.range
340
+ );
341
+ }
342
+ return be(h(D.startDate), h(n.startDate)) && be(
343
+ h(n.endDate),
344
+ h(j(n.endDate))
345
+ ) && Xa(h(n.endDate)) && (e.granularities ? D.granularity === n.granularity : !0);
346
+ }
347
+ if (e.allowTimeInput)
348
+ return aa(h(D.startDate), h(n.startDate)) && aa(h(D.endDate), h(n.endDate)) && (e.granularities ? D.granularity === n.granularity : !0);
349
+ if (D.endDate)
350
+ return N(D.startDate, n.startDate) && N(D.endDate, n.endDate) && (e.granularities ? D.granularity === n.granularity : !0);
351
+ })) == null ? void 0 : l.value) ?? r
352
+ );
353
+ }), de = p(() => ({
354
+ "b-date-range-picker-calendar__form-input-wrapper": e.allowTimeInput
355
+ })), me = p(() => [
356
+ { label: I("customRange"), value: r },
357
+ ...e.quickSelectRanges ? e.quickSelectRanges : []
358
+ ]), Z = p(
359
+ () => {
360
+ var a;
361
+ return ((a = e.granularities) == null ? void 0 : a.find(({ type: l }) => l === n.granularity)) || null;
362
+ }
363
+ ), se = p(
364
+ () => {
365
+ var a;
366
+ return ((a = e.granularities) == null ? void 0 : a.map(({ type: l, disabled: m }) => ({
367
+ label: I(l),
368
+ value: l,
369
+ disabled: m
370
+ }))) ?? [];
371
+ }
372
+ ), { getGranularCalendarLimits: Ie } = nt(e), b = p(
373
+ () => e.granularities ? Ie(Z.value) : { min: e.min ? M(e.min) : null, max: e.max ? j(e.max) : null }
374
+ ), {
375
+ adjustDateForQuarterly: ce,
376
+ adjustDateForMonthly: le,
377
+ adjustDateForWeekly: R,
378
+ adjustStartDateInputForWeekly: Se,
379
+ adjustEndDateInputForWeekly: ee,
380
+ adjustStartDateInputForMonthly: Oe,
381
+ adjustEndDateInputForMonthly: De,
382
+ adjustStartDateInputForQuarterly: fe,
383
+ adjustEndDateInputForQuarterly: z
384
+ } = Ya(e.firstDayOfWeek), { savedRanges: Y, saveRange: we, resetSavedRanges: ve } = rt(), O = (a) => a ? re(a) : "", ae = B(!1), te = B(!1), L = B(!1), Q = B(!1), i = Me({
385
+ startDate: e.dateFormData.startDate,
386
+ endDate: e.dateFormData.endDate,
387
+ startTime: e.dateFormData.startTime,
388
+ endTime: e.dateFormData.endTime
389
+ }), pe = (a, l) => {
390
+ let m = new Date(a);
391
+ const [D, k, w] = l.split(":");
392
+ return m = Za(m, parseInt(D, 10)), m = et(m, parseInt(k, 10)), m = at(m, parseInt(w, 10)), m;
393
+ }, s = (a) => /^(?:[01]\d|2[01234]):(?:[012345]\d):(?:[012345]\d)$/.test(a), $ = (a, l) => {
394
+ const m = () => {
395
+ if (l && J(l)) {
396
+ const D = pe(E(l), a);
397
+ if (e.min && D < ta(e.min, 0) || e.max && D > ta(e.max, 0))
398
+ return !1;
399
+ }
400
+ return !0;
401
+ };
402
+ return s(a) && m();
403
+ }, A = (a, l) => !l || !s(l) || e.variant === "month" ? a : pe(new Date(a), l), da = (a) => {
404
+ i.startTime = q(
405
+ e.min && e.allowTimeInput && N(e.min, a.startDate) ? e.min : M(a.startDate)
406
+ ), i.endTime = q(
407
+ e.max && e.allowTimeInput && N(e.max, a.endDate) ? e.max : j(a.endDate)
408
+ ), n.startDate = A(a.startDate, i.startTime), n.endDate = A(a.endDate, i.endTime), n.range = null, e.granularities && ve(), u(g.INPUT, {
409
+ ...n,
410
+ range: T.value
411
+ });
412
+ }, J = (a) => {
413
+ if (!a)
414
+ return !1;
415
+ const l = (m) => e.min && M(m) < M(e.min) || e.max && M(m) > M(e.max) ? !1 : e.isDateDisabled ? !e.isDateDisabled(M(m)) : !0;
416
+ return S(a) && l(E(a));
417
+ };
418
+ sa(() => {
419
+ ae.value = !!(e.dateFormData.startDate && !J(e.dateFormData.startDate)), e.allowTimeInput ? L.value = !!(e.dateFormData.startTime && !$(e.dateFormData.startTime, e.dateFormData.startDate)) : L.value = !1, te.value = !!(e.dateFormData.endDate && !J(e.dateFormData.endDate)), e.allowTimeInput ? Q.value = !!(e.dateFormData.endTime && !$(e.dateFormData.endTime, e.dateFormData.endDate)) : Q.value = !1;
420
+ });
421
+ const ma = (a) => {
422
+ var l;
423
+ i.startDate = O(a), i.startTime ? L.value && (i.startTime = (l = e.dateFormData) == null ? void 0 : l.startTime) : i.startTime = q(a), ae.value = !1, L.value = !1, u(g.START_DATE_SELECTED, a);
424
+ }, ca = (a) => {
425
+ var l;
426
+ i.endDate = O(a), i.endTime ? Q.value && (i.endTime = (l = e.dateFormData) == null ? void 0 : l.endTime) : i.endTime = q(j(a)), te.value = !1, Q.value = !1;
427
+ }, Fe = (a) => {
428
+ const l = e.value[a];
429
+ if (l)
430
+ return l;
431
+ if (e.dateFormData[a] && J(e.dateFormData[a]))
432
+ return E(e.dateFormData[a]);
433
+ }, Da = Te((a) => {
434
+ var l;
435
+ if (J(a)) {
436
+ let m = a;
437
+ switch (ae.value = !1, (l = Z.value) == null ? void 0 : l.type) {
438
+ case "weekly":
439
+ m = Se(
440
+ a,
441
+ O,
442
+ b.value.min,
443
+ b.value.max
444
+ ), i.startDate = m;
445
+ break;
446
+ case "monthly":
447
+ m = Oe(
448
+ a,
449
+ O,
450
+ b.value.min,
451
+ b.value.max
452
+ ), i.startDate = m;
453
+ break;
454
+ case "quarterly":
455
+ m = fe(
456
+ a,
457
+ O,
458
+ b.value.min,
459
+ b.value.max
460
+ ), i.startDate = m;
461
+ break;
462
+ }
463
+ const D = M(E(m));
464
+ n.startDate = A(D, i.startTime), n.endDate = A(
465
+ M(E(i.endDate)),
466
+ i.endTime
467
+ ), J(i.endDate) && (n.endDate = A(
468
+ M(E(i.endDate)),
469
+ i.endTime
470
+ ));
471
+ const k = Fe("endDate");
472
+ n.range = null, u(g.FORM_DATE, {
473
+ startDate: D,
474
+ endDate: k
475
+ }), u(g.INPUT, {
476
+ ...n,
477
+ range: T.value
478
+ });
479
+ } else
480
+ ae.value = !0, u(g.ERROR, { ...i });
481
+ }, 300), fa = (a) => {
482
+ i.startDate = v(a), Da(i.startDate);
483
+ }, va = Te((a) => {
484
+ var l;
485
+ if (J(a)) {
486
+ let m = a;
487
+ switch (te.value = !1, (l = Z.value) == null ? void 0 : l.type) {
488
+ case "weekly":
489
+ m = ee(
490
+ a,
491
+ O,
492
+ b.value.min,
493
+ b.value.max
494
+ ), i.endDate = m;
495
+ break;
496
+ case "monthly":
497
+ m = De(
498
+ a,
499
+ O,
500
+ b.value.min,
501
+ b.value.max
502
+ ), i.endDate = m;
503
+ break;
504
+ case "quarterly":
505
+ m = z(
506
+ a,
507
+ O,
508
+ b.value.min,
509
+ b.value.max
510
+ ), i.endDate = m;
511
+ break;
512
+ }
513
+ const D = M(E(m));
514
+ n.endDate = A(D, i.endTime), J(i.startDate) && (n.startDate = A(
515
+ M(E(i.startDate)),
516
+ i.startTime
517
+ ));
518
+ const k = Fe("startDate");
519
+ n.range = null, u(g.FORM_DATE, {
520
+ startDate: k,
521
+ endDate: D
522
+ }), u(g.INPUT, {
523
+ ...n,
524
+ range: T.value
525
+ });
526
+ } else
527
+ te.value = !0, u(g.ERROR, { ...i });
528
+ }, 300), pa = (a) => {
529
+ i.endDate = v(a), va(i.endDate);
530
+ }, Ye = (a) => {
531
+ ue(a);
532
+ }, ya = Te((a) => {
533
+ if ($(a, e.dateFormData.startDate)) {
534
+ L.value = !1, n.startDate = A(n.startDate, a);
535
+ const l = Fe("endDate");
536
+ u(g.FORM_DATE, {
537
+ startDate: n.startDate,
538
+ endDate: l,
539
+ startTime: a,
540
+ endTime: i.endTime ?? e.dateFormData.endTime
541
+ }), u(g.INPUT, {
542
+ ...n,
543
+ range: T.value
544
+ });
545
+ } else
546
+ L.value = !0, u(g.ERROR, { ...i });
547
+ }), ga = Te((a) => {
548
+ $(a, e.dateFormData.endDate) ? (Q.value = !1, n.endDate = A(n.endDate, a), u(g.FORM_DATE, {
549
+ startDate: n.startDate,
550
+ endDate: n.endDate,
551
+ startTime: i.startTime ?? e.dateFormData.startTime,
552
+ endTime: a
553
+ }), u(g.INPUT, {
554
+ ...n,
555
+ range: T.value
556
+ })) : (Q.value = !0, u(g.ERROR, { ...i }));
557
+ }), Ta = (a) => {
558
+ i.startTime = na(a), ya(i.startTime);
559
+ }, ba = (a) => {
560
+ i.endTime = na(a), ga(i.endTime);
561
+ }, Ne = (a) => {
562
+ it(a);
563
+ }, ye = (a, l, m, D) => {
564
+ n.startDate = a, n.endDate = l, m && (n.granularity = m), D && (n.range = D);
565
+ }, ha = (a) => {
566
+ var m;
567
+ const l = (m = e.quickSelectRanges) == null ? void 0 : m.find(({ value: D }) => D === a);
568
+ if (l) {
569
+ ve();
570
+ const D = l.data, k = D.endDate || (D.isRelativeToNow ? new Date(Date.now()) : j(new Date(Date.now()))), w = D.isRelativeToNow && D.timeDifference ? new Date(k.getTime() - D.timeDifference) : D.startDate;
571
+ i.endDate = O(k), i.startDate = O(w), ye(w, k, null, a), e.granularities && (n.granularity = D.granularity || U.value), i.startTime = q(w), i.endTime = q(k), n.startDate = w, n.endDate = k, D.isRelativeToNow && (_.value = {
572
+ ..._.value,
573
+ [a]: {
574
+ startDate: w,
575
+ endDate: k
576
+ }
577
+ }), u(g.CUSTOM_RANGE, {
578
+ ...l.data,
579
+ startDate: w,
580
+ endDate: k,
581
+ range: l.value
582
+ });
583
+ }
584
+ }, Ra = {
585
+ weekly: R,
586
+ monthly: le,
587
+ quarterly: ce
588
+ }, ka = (a) => {
589
+ const l = n.granularity;
590
+ if (n.granularity = a, l && we(l, structuredClone(Ae(n))), n.startDate && n.endDate) {
591
+ switch (a) {
592
+ case "quarterly":
593
+ case "monthly":
594
+ case "weekly": {
595
+ if (Y[a]) {
596
+ ye(Y[a].startDate, Y[a].endDate, a);
597
+ break;
598
+ }
599
+ const { startDate: m, endDate: D } = Ra[a](
600
+ n.startDate,
601
+ n.endDate,
602
+ b.value.min,
603
+ b.value.max
604
+ );
605
+ ye(m, D, a);
606
+ break;
607
+ }
608
+ case "daily":
609
+ Y.daily && ye(Y.daily.startDate, Y.daily.endDate, a);
610
+ break;
611
+ }
612
+ i.startDate = O(n.startDate), i.endDate = O(n.endDate), u(g.INPUT, {
613
+ ...n,
614
+ range: T.value
615
+ });
616
+ }
617
+ }, Ma = p(() => ({
618
+ "b-date-range-picker-calendar__form-container--no-calendars": x.value
619
+ }));
620
+ return (a, l) => (F(), he("div", ut, [
621
+ X("div", {
622
+ class: Re(["b-date-range-picker-calendar__form-container", Ma.value]),
623
+ "data-testid": "date-range-picker-calendar-form-container"
624
+ }, [
625
+ X("div", dt, [
626
+ c(y)("title") ? Qe(a.$slots, "title", { key: 0 }, void 0, !0) : C("", !0),
627
+ t.quickSelectRanges ? (F(), K(Ga, {
628
+ key: 1,
629
+ "aria-label": c(I)("customRange"),
630
+ items: me.value,
631
+ "model-value": T.value,
632
+ "onUpdate:modelValue": ha
633
+ }, null, 8, ["aria-label", "items", "model-value"])) : C("", !0),
634
+ t.granularities ? (F(), K(c(Ka), {
635
+ key: 2,
636
+ items: se.value,
637
+ "model-value": n.granularity,
638
+ "full-width": "",
639
+ "onUpdate:modelValue": ka
640
+ }, null, 8, ["items", "model-value"])) : C("", !0),
641
+ X("div", null, [
642
+ H(c(Be), {
643
+ stronger: "",
644
+ el: "span",
645
+ class: "b-date-range-picker-calendar__label"
646
+ }, {
647
+ default: G(() => l[0] || (l[0] = [
648
+ ne(" From ")
649
+ ])),
650
+ _: 1
651
+ }),
652
+ X("div", {
653
+ class: Re(de.value)
654
+ }, [
655
+ H(c(ge), {
656
+ "aria-label": c(I)("dateFrom"),
657
+ "model-value": i.startDate,
658
+ error: ae.value,
659
+ class: "b-date-range-picker-calendar__form-input",
660
+ "onUpdate:modelValue": fa,
661
+ onKeydown: Ye
662
+ }, {
663
+ description: G(() => [
664
+ ne(_e(c(I)(c(V))), 1)
665
+ ]),
666
+ _: 1
667
+ }, 8, ["aria-label", "model-value", "error"]),
668
+ t.allowTimeInput ? (F(), K(c(ge), {
669
+ key: 0,
670
+ "aria-label": c(I)("timeFrom"),
671
+ "model-value": i.startTime,
672
+ error: L.value,
673
+ class: "b-date-range-picker-calendar__form-input",
674
+ "onUpdate:modelValue": Ta,
675
+ onKeydown: Ne
676
+ }, {
677
+ description: G(() => l[1] || (l[1] = [
678
+ ne("HH:MM:SS")
679
+ ])),
680
+ _: 1
681
+ }, 8, ["aria-label", "model-value", "error"])) : C("", !0)
682
+ ], 2)
683
+ ]),
684
+ X("div", null, [
685
+ H(c(Be), {
686
+ stronger: "",
687
+ el: "span",
688
+ class: "b-date-range-picker-calendar__label"
689
+ }, {
690
+ default: G(() => l[2] || (l[2] = [
691
+ ne(" To ")
692
+ ])),
693
+ _: 1
694
+ }),
695
+ X("div", {
696
+ class: Re(de.value)
697
+ }, [
698
+ H(c(ge), {
699
+ class: "b-date-range-picker-calendar__form-input",
700
+ "aria-label": c(I)("dateTo"),
701
+ "model-value": i.endDate,
702
+ error: te.value,
703
+ "onUpdate:modelValue": pa,
704
+ onKeydown: Ye
705
+ }, {
706
+ description: G(() => [
707
+ ne(_e(c(I)(c(V))), 1)
708
+ ]),
709
+ _: 1
710
+ }, 8, ["aria-label", "model-value", "error"]),
711
+ t.allowTimeInput ? (F(), K(c(ge), {
712
+ key: 0,
713
+ "aria-label": c(I)("timeTo"),
714
+ "model-value": i.endTime,
715
+ error: Q.value,
716
+ class: "b-date-range-picker-calendar__form-input",
717
+ "onUpdate:modelValue": ba,
718
+ onKeydown: Ne
719
+ }, {
720
+ description: G(() => l[3] || (l[3] = [
721
+ ne("HH:MM:SS")
722
+ ])),
723
+ _: 1
724
+ }, 8, ["aria-label", "model-value", "error"])) : C("", !0)
725
+ ], 2)
726
+ ])
727
+ ]),
728
+ c(y)("actions") ? (F(), he("div", mt, [
729
+ Qe(a.$slots, "actions", {}, void 0, !0)
730
+ ])) : C("", !0)
731
+ ], 2),
732
+ x.value ? C("", !0) : (F(), he("div", ct, [
733
+ H(c(W), {
734
+ value: n,
735
+ "first-day-of-week": t.firstDayOfWeek,
736
+ "is-date-disabled": t.isDateDisabled,
737
+ "max-range": t.maxRange,
738
+ min: b.value.min,
739
+ max: b.value.max,
740
+ "number-of-months": t.numberOfMonths,
741
+ "show-end-date-on-open": t.showEndDateOnOpen,
742
+ granularity: Z.value,
743
+ variant: t.variant,
744
+ "is-range": "",
745
+ onInput: da,
746
+ onStartDateSelected: ma,
747
+ onEndDateSelected: ca
748
+ }, null, 8, ["value", "first-day-of-week", "is-date-disabled", "max-range", "min", "max", "number-of-months", "show-end-date-on-open", "granularity", "variant"])
749
+ ]))
750
+ ]));
751
+ }
752
+ }), vt = /* @__PURE__ */ oa(ft, [["__scopeId", "data-v-3ab5bc1d"]]), Ue = {
753
+ "en-US": {
754
+ apply: "Apply",
755
+ cancel: "Cancel",
756
+ dateRangePicker: "Date range picker {name}",
757
+ provideDateInAFormat: "Provide date in a YYYY-MM-DD format",
758
+ quarter: "Q{quarter} {year}",
759
+ selectDate: "Select a date",
760
+ selectDateRange: "Select a date range",
761
+ selectedDateIsNotAvailable: "Selected date is not available"
762
+ },
763
+ "ja-JP": {
764
+ apply: "適用",
765
+ cancel: "キャンセル",
766
+ dateRangePicker: "日付範囲ピッカー {name}",
767
+ provideDateInAFormat: "YYYY-MM-DD形式で日付を入力してください",
768
+ quarter: "{year}年第{quarter}四半期",
769
+ selectDate: "日付を選択",
770
+ selectDateRange: "日付範囲を選択",
771
+ selectedDateIsNotAvailable: "選択した日付は利用できません"
772
+ },
773
+ "pt-BR": {
774
+ apply: "Aplicar",
775
+ cancel: "Cancelar",
776
+ dateRangePicker: "Seletor de intervalo de datas {name}",
777
+ provideDateInAFormat: "Forneça a data no formato AAAA-MM-DD",
778
+ quarter: "{quarter}º trimestre de {year}",
779
+ selectDate: "Selecione uma data",
780
+ selectDateRange: "Selecione um intervalo de datas",
781
+ selectedDateIsNotAvailable: "A data selecionada não está disponível"
782
+ }
783
+ }, pt = ({
784
+ datePickerValue: t,
785
+ isDateIncorrect: o,
786
+ quickSelectRanges: d,
787
+ isMonthVariant: r,
788
+ withTimeInput: e,
789
+ placeholder: u
790
+ }) => {
791
+ const { locale: f, t: y } = Ce({ messages: Ue }), { dateToInputDateString: I } = qe(), V = (v) => !!v && !isNaN(v.getTime()), S = Me({
792
+ startDate: null,
793
+ endDate: null,
794
+ startTime: null,
795
+ endTime: null
796
+ });
797
+ return ke(
798
+ t,
799
+ (v) => {
800
+ S.startDate = I(v == null ? void 0 : v.startDate), S.endDate = I(v == null ? void 0 : v.endDate), S.startTime = q(v == null ? void 0 : v.startDate), S.endTime = q(v == null ? void 0 : v.endDate);
801
+ },
802
+ { immediate: !0 }
803
+ ), {
804
+ // Values
805
+ dateDisplayValue: p(() => {
806
+ var re;
807
+ if (o.value)
808
+ return `${S.startDate || ""} - ${S.endDate || ""}`;
809
+ if (!t.value || !t.value.startDate && !t.value.endDate)
810
+ return (u == null ? void 0 : u.value) || y("selectDateRange");
811
+ if ((re = d.value) != null && re.length) {
812
+ const _ = d.value.find(({ value: U }) => {
813
+ var x;
814
+ return U === ((x = t.value) == null ? void 0 : x.range);
815
+ });
816
+ if (_)
817
+ return _.label;
818
+ }
819
+ if (t.value.granularity === "quarterly") {
820
+ const { startDate: _, endDate: U } = t.value, x = y("quarter", { quarter: Xe(_), year: Ze(_) });
821
+ if (Ja(_, U))
822
+ return x;
823
+ const n = y("quarter", { quarter: Xe(U), year: Ze(U) });
824
+ return `${x} - ${n}`;
825
+ }
826
+ if (!V(t.value.startDate) || !V(t.value.endDate))
827
+ return `${S.startDate || ""} - ${S.endDate || ""}`;
828
+ let v = r != null && r.value ? { month: "long", year: "numeric" } : { month: "short", day: "2-digit", year: "numeric" };
829
+ return e.value && (v = {
830
+ ...v,
831
+ hour: "numeric",
832
+ minute: "numeric",
833
+ second: "numeric",
834
+ hour12: !1
835
+ }), Na(f.value, v).formatRange(
836
+ t.value.startDate,
837
+ t.value.endDate
838
+ );
839
+ }),
840
+ textInputDisplayValue: S,
841
+ // Methods
842
+ formatTextInputDisplayValue: () => ""
843
+ };
844
+ }, yt = { class: "b-date-range-picker" }, gt = { class: "b-date-range-picker__footer" }, Tt = {
845
+ i18n: { messages: Ue },
846
+ name: "bento-date-range-picker",
847
+ model: { prop: "modelValue" }
848
+ }, bt = /* @__PURE__ */ ra({
849
+ ...Tt,
850
+ props: {
851
+ allowTimeInput: { type: Boolean },
852
+ firstDayOfWeek: { default: void 0 },
853
+ granularities: {},
854
+ isDateDisabled: { type: Function, default: void 0 },
855
+ showEndDateOnOpen: { type: Boolean, default: !1 },
856
+ quickSelectRanges: { default: void 0 },
857
+ maxRange: { default: null },
858
+ min: { default: null },
859
+ max: { default: null },
860
+ numberOfMonths: { default: void 0 },
861
+ modelValue: { default: null },
862
+ value: { default: null },
863
+ variant: { default: void 0 },
864
+ hasActions: { type: Boolean, default: !1 },
865
+ description: { default: void 0 },
866
+ disabled: { type: Boolean, default: !1 },
867
+ errorMessage: { default: null },
868
+ label: { default: void 0 },
869
+ optional: { type: Boolean, default: !1 },
870
+ placeholder: { default: null },
871
+ readonly: { type: Boolean, default: !1 },
872
+ required: { type: Boolean, default: !1 },
873
+ tooltipText: { default: null }
874
+ },
875
+ emits: ["update:model-value", "input"],
876
+ setup(t, { emit: o }) {
877
+ const d = o, r = t, e = Sa(), { t: u } = Ce({ messages: Ue }), { dateToInputDateString: f } = qe(), y = oe("bento-date-range-picker-container"), I = oe("bento-date-range-picker-label"), V = oe("bento-date-range-picker-description"), S = oe("bento-date-range-picker-error"), E = oe("bento-date-range-picker-date-error"), ue = p(() => r.label || u("dateRangePicker", { name: y })), { resolvedFirstDayOfWeek: v } = xa(Ee(r, "firstDayOfWeek")), re = Fa({
878
+ none: 0,
879
+ one: 710,
880
+ // width of date range picker with one panes
881
+ two: 1030,
882
+ // width of date range picker with two panes
883
+ three: 1290
884
+ // width of date range picker with three panes
885
+ }), _ = p(() => {
886
+ const s = re.active().value, $ = {
887
+ none: 0,
888
+ one: 1,
889
+ two: 2
890
+ };
891
+ if (s in $) {
892
+ const A = $[s];
893
+ return r.numberOfMonths === void 0 ? A : Math.min(r.numberOfMonths, A);
894
+ }
895
+ return r.numberOfMonths;
896
+ }), U = p(() => (r == null ? void 0 : r.quickSelectRanges) && r.quickSelectRanges.map((s) => {
897
+ const $ = s.data.endDate ? void 0 : new Date(Date.now()).getTime() - s.data.startDate.getTime();
898
+ return {
899
+ ...s,
900
+ data: {
901
+ ...s.data,
902
+ // Adding timeDifference to calculate an up-to-date endDate on range selection
903
+ timeDifference: $
904
+ }
905
+ };
906
+ })), x = p(() => r.label ? I : (e == null ? void 0 : e["aria-labelledby"]) ?? null), n = B(!1), h = B(null), T = B(!1), { isReadOnly: de } = La(Ee(r, "readonly")), { emitValue: me } = Wa(d);
907
+ ke(
908
+ () => r.disabled,
909
+ () => {
910
+ r.disabled && T.value && (T.value = !1);
911
+ }
912
+ );
913
+ const Z = p(() => r.modelValue || r.value), se = p(() => r.hasActions ? !Y.value && n.value : n.value), Ie = p(() => ({
914
+ "b-date-range-picker__description--error": !!r.errorMessage || se.value
915
+ })), b = p(() => r.variant === "month"), ce = p(() => r.allowTimeInput && r.variant !== "month"), { dateDisplayValue: le, textInputDisplayValue: R } = pt({
916
+ datePickerValue: Z,
917
+ isDateIncorrect: n,
918
+ quickSelectRanges: U,
919
+ isMonthVariant: b,
920
+ withTimeInput: ce,
921
+ placeholder: Ee(r, "placeholder")
922
+ }), Se = p(
923
+ () => `${r.description ? V : ""} ${r.errorMessage ? S : ""} ${n.value ? E : ""}`.trim() || null
924
+ ), ee = () => {
925
+ T.value = !1;
926
+ }, Oe = () => {
927
+ T.value = !0;
928
+ }, De = B(le.value), fe = B(
929
+ // textInputDisplayValue is a reactive object
930
+ structuredClone(Ae(R))
931
+ ), z = B(r.modelValue ?? r.value), Y = B(!0), we = p(
932
+ () => r.hasActions ? fe.value : R
933
+ ), ve = p(
934
+ () => r.hasActions ? De.value : le.value
935
+ );
936
+ sa(() => {
937
+ if (r.hasActions || Ge(
938
+ 'BentoDateRangePicker "hasActions" property',
939
+ `Set the BentoDateRangePicker "hasActions" property true which will display the "Apply" and "Cancel" buttons.
940
+ This will be the default behavior in the v2 and "hasActions" will be removed.`,
941
+ "2.0.0"
942
+ ), r.value && Ge(
943
+ 'BentoDateRangePicker "value" property',
944
+ 'The use of "value" prop in "BentoDateRangePicker" is no longer supported. Use the "v-model" or "model-value" property instead.',
945
+ "2.0.0"
946
+ ), r.granularities && r.variant !== "month" && r.granularities.find(({ type: s }) => s === "quarterly"))
947
+ throw new Error('Quarterly granularity is only supported by BentoDateRangePicker with variant: "month"');
948
+ }), ke([() => r.value, () => r.modelValue], () => {
949
+ De.value = le.value, fe.value = structuredClone(Ae(R));
950
+ });
951
+ const O = p(() => [
952
+ {
953
+ title: u("apply"),
954
+ event: () => {
955
+ me(z.value), ee(), Y.value = !0;
956
+ },
957
+ disabled: Y.value
958
+ },
959
+ {
960
+ title: u("cancel"),
961
+ event: ee
962
+ }
963
+ ]);
964
+ ke(z, (s) => {
965
+ if (r.hasActions) {
966
+ Y.value = n.value;
967
+ return;
968
+ }
969
+ me(s);
970
+ });
971
+ const ae = (s) => {
972
+ n.value = !1, R.startDate = f(s.startDate), R.endDate = f(s.endDate), R.startTime = q(s.startDate), R.endTime = q(s.endDate), z.value = s;
973
+ }, te = async () => {
974
+ n.value && (n.value = !1), z.value = null;
975
+ }, L = () => {
976
+ if (!T.value) {
977
+ T.value = !0;
978
+ return;
979
+ }
980
+ n.value || (T.value = !1);
981
+ }, Q = (s) => {
982
+ n.value = !1, s.startTime && (R.startTime = s.startTime), s.endTime && (R.endTime = s.endTime);
983
+ }, i = (s) => {
984
+ n.value = !0, R.startDate = s.startDate, R.endDate = s.endDate, z.value = { startDate: null, endDate: null };
985
+ }, pe = (s) => {
986
+ s && (R.startDate = f(s.startDate), R.endDate = f(s.endDate), R.startTime = q(s.startDate), R.endTime = q(s.endDate), z.value = s);
987
+ };
988
+ return (s, $) => Oa((F(), he("div", yt, [
989
+ s.label ? (F(), K(c(Va), {
990
+ key: 0,
991
+ id: c(I),
992
+ label: s.label,
993
+ "tooltip-text": s.tooltipText,
994
+ optional: s.optional,
995
+ required: s.required
996
+ }, null, 8, ["id", "label", "tooltip-text", "optional", "required"])) : C("", !0),
997
+ X("div", {
998
+ onKeydown: We(L, ["enter"])
999
+ }, [
1000
+ H(c(Ba), {
1001
+ ref_key: "inputContainerRef",
1002
+ ref: h,
1003
+ "always-combobox-is-input": "",
1004
+ ariaControls: c(y),
1005
+ ariaExpanded: T.value,
1006
+ "aria-labelledby": x.value,
1007
+ "aria-describedby": Se.value,
1008
+ "aria-required": s.required,
1009
+ disabled: s.disabled,
1010
+ "is-invalid": !!s.errorMessage || se.value,
1011
+ open: T.value,
1012
+ "display-value": ve.value,
1013
+ readonly: c(de),
1014
+ onOpen: Oe,
1015
+ onClear: te,
1016
+ onClose: ee
1017
+ }, null, 8, ["ariaControls", "ariaExpanded", "aria-labelledby", "aria-describedby", "aria-required", "disabled", "is-invalid", "open", "display-value", "readonly"])
1018
+ ], 32),
1019
+ se.value ? (F(), K(c(Je), {
1020
+ key: 1,
1021
+ id: c(E),
1022
+ "error-message": c(u)("provideDateInAFormat"),
1023
+ class: "b-date-range-picker__error-message"
1024
+ }, null, 8, ["id", "error-message"])) : C("", !0),
1025
+ s.errorMessage ? (F(), K(c(Je), {
1026
+ key: 2,
1027
+ id: c(S),
1028
+ "error-message": s.errorMessage,
1029
+ class: "b-date-range-picker__error-message"
1030
+ }, null, 8, ["id", "error-message"])) : C("", !0),
1031
+ s.description ? (F(), K(c(Be), {
1032
+ key: 3,
1033
+ id: c(V),
1034
+ class: Re(["b-date-range-picker__description", Ie.value]),
1035
+ el: "span"
1036
+ }, {
1037
+ default: G(() => [
1038
+ ne(_e(s.description), 1)
1039
+ ]),
1040
+ _: 1
1041
+ }, 8, ["id", "class"])) : C("", !0),
1042
+ h.value ? (F(), K(c(_a), {
1043
+ key: 4,
1044
+ id: c(y),
1045
+ class: "b-date-range-picker__container",
1046
+ open: T.value,
1047
+ "target-element": h.value,
1048
+ "aria-label": ue.value,
1049
+ position: "bottom-start",
1050
+ "without-space": "",
1051
+ "fit-content": "",
1052
+ "trap-all": "",
1053
+ "overflow-visible": "",
1054
+ onKeydown: We(ee, ["esc", "native"])
1055
+ }, {
1056
+ default: G(() => [
1057
+ H(c(vt), {
1058
+ "allow-time-input": ce.value,
1059
+ "quick-select-ranges": U.value,
1060
+ value: Z.value,
1061
+ "first-day-of-week": c(v),
1062
+ granularities: s.granularities,
1063
+ "is-date-disabled": s.isDateDisabled,
1064
+ "max-range": s.maxRange,
1065
+ min: s.min,
1066
+ max: s.max,
1067
+ "number-of-months": _.value,
1068
+ "show-end-date-on-open": s.showEndDateOnOpen,
1069
+ "date-form-data": we.value,
1070
+ variant: s.variant,
1071
+ onCustomRange: pe,
1072
+ onInput: ae,
1073
+ onError: i,
1074
+ onFormDate: Q
1075
+ }, wa({ _: 2 }, [
1076
+ s.hasActions ? {
1077
+ name: "actions",
1078
+ fn: G(() => [
1079
+ H(c(Ea)),
1080
+ X("div", gt, [
1081
+ H(c(Aa), {
1082
+ actions: O.value,
1083
+ layout: c(za).SPACE_BETWEEN
1084
+ }, null, 8, ["actions", "layout"])
1085
+ ])
1086
+ ]),
1087
+ key: "0"
1088
+ } : void 0
1089
+ ]), 1032, ["allow-time-input", "quick-select-ranges", "value", "first-day-of-week", "granularities", "is-date-disabled", "max-range", "min", "max", "number-of-months", "show-end-date-on-open", "date-form-data", "variant"])
1090
+ ]),
1091
+ _: 1
1092
+ }, 8, ["id", "open", "target-element", "aria-label"])) : C("", !0)
1093
+ ])), [
1094
+ [c(Qa), ee]
1095
+ ]);
1096
+ }
1097
+ }), Kt = /* @__PURE__ */ oa(bt, [["__scopeId", "data-v-e00826fe"]]);
1098
+ export {
1099
+ Kt as B,
1100
+ vt as D,
1101
+ Xa as a,
1102
+ be as i
1103
+ };
1104
+ //# sourceMappingURL=date-range-picker.CDDw_xl_.js.map