@adyen/bento-vue2 1.86.0 → 1.87.0

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
Files changed (276) hide show
  1. package/dist/@types/index.d.ts +1271 -1216
  2. package/dist/action-bar.js +1 -1
  3. package/dist/ai-tag.js +1 -1
  4. package/dist/anchor-scroller.js +1 -1
  5. package/dist/assets/accordion-item.css +1 -1
  6. package/dist/assets/action-bar.css +1 -1
  7. package/dist/assets/anchor-scroller.css +1 -1
  8. package/dist/assets/base-modal.css +1 -1
  9. package/dist/assets/button-actions.css +1 -1
  10. package/dist/assets/card.css +1 -1
  11. package/dist/assets/checkbox-group.css +1 -1
  12. package/dist/assets/checkbox.css +1 -1
  13. package/dist/assets/controls-group.css +1 -1
  14. package/dist/assets/data-grid.css +1 -1
  15. package/dist/assets/date-picker.css +1 -1
  16. package/dist/assets/date-range-picker.css +1 -1
  17. package/dist/assets/dialog-page.css +1 -1
  18. package/dist/assets/dropdown-default-textbox.css +1 -1
  19. package/dist/assets/dropdown.css +1 -1
  20. package/dist/assets/error-message.css +1 -1
  21. package/dist/assets/file-uploader.css +1 -1
  22. package/dist/assets/filter-bar.css +1 -1
  23. package/dist/assets/form-layout-title.css +1 -1
  24. package/dist/assets/input-field-phone-number.css +1 -1
  25. package/dist/assets/input-field.css +1 -1
  26. package/dist/assets/inspector.css +1 -1
  27. package/dist/assets/modal-fullscreen.css +1 -1
  28. package/dist/assets/pagination.css +1 -1
  29. package/dist/assets/radio-group.css +1 -1
  30. package/dist/assets/rich-text-editor.css +1 -1
  31. package/dist/assets/selection-card-group.css +1 -1
  32. package/dist/assets/sidepanel.css +1 -1
  33. package/dist/assets/textarea.css +1 -1
  34. package/dist/button.js +1 -1
  35. package/dist/card.js +1 -1
  36. package/dist/checkbox.js +2 -2
  37. package/dist/chunks/{action-bar.Dnkt4yn7.js → action-bar.ChMlt59Z.js} +4 -4
  38. package/dist/chunks/{action-bar.Dnkt4yn7.js.map → action-bar.ChMlt59Z.js.map} +1 -1
  39. package/dist/chunks/{ai-tag.s8TECgn_.js → ai-tag.D5fCswAm.js} +2 -2
  40. package/dist/chunks/{ai-tag.s8TECgn_.js.map → ai-tag.D5fCswAm.js.map} +1 -1
  41. package/dist/chunks/anchor-scroller.Cb22EJiL.js +177 -0
  42. package/dist/chunks/{anchor-scroller.3_idPubO.js.map → anchor-scroller.Cb22EJiL.js.map} +1 -1
  43. package/dist/chunks/{base-modal.09nAcnF_.js → base-modal.CUSvvYnk.js} +14 -14
  44. package/dist/chunks/{base-modal.09nAcnF_.js.map → base-modal.CUSvvYnk.js.map} +1 -1
  45. package/dist/chunks/{button-actions-with-menu.C8tSTxrm.js → button-actions-with-menu.D14S1pym.js} +3 -3
  46. package/dist/chunks/{button-actions-with-menu.C8tSTxrm.js.map → button-actions-with-menu.D14S1pym.js.map} +1 -1
  47. package/dist/chunks/{button-actions.VSc47LLH.js → button-actions.DyPS54Yi.js} +134 -132
  48. package/dist/chunks/button-actions.DyPS54Yi.js.map +1 -0
  49. package/dist/chunks/{calendar.DiXkjQDP.js → calendar.BNg7mSj5.js} +398 -407
  50. package/dist/chunks/calendar.BNg7mSj5.js.map +1 -0
  51. package/dist/chunks/{card.BdjdBN36.js → card.9oGLUzev.js} +2 -2
  52. package/dist/chunks/{card.BdjdBN36.js.map → card.9oGLUzev.js.map} +1 -1
  53. package/dist/chunks/{checkbox-group.d6VQvZL7.js → checkbox-group.BtsDJN9I.js} +22 -22
  54. package/dist/chunks/checkbox-group.BtsDJN9I.js.map +1 -0
  55. package/dist/chunks/{checkbox.ClFNfhNh.js → checkbox.Dxvh9si9.js} +19 -22
  56. package/dist/chunks/checkbox.Dxvh9si9.js.map +1 -0
  57. package/dist/chunks/{code-snippet.DBNJgt1j.js → code-snippet.CaAEHdBl.js} +4 -4
  58. package/dist/chunks/{code-snippet.DBNJgt1j.js.map → code-snippet.CaAEHdBl.js.map} +1 -1
  59. package/dist/chunks/constructNow.CIc7d13I.js +8 -0
  60. package/dist/chunks/{constructNow.B8T1ljs6.js.map → constructNow.CIc7d13I.js.map} +1 -1
  61. package/dist/chunks/{controls-group.HUWlAOhG.js → controls-group.BCKGkHVl.js} +23 -28
  62. package/dist/chunks/controls-group.BCKGkHVl.js.map +1 -0
  63. package/dist/chunks/{copy.BXykYfg0.js → copy.DSNuoLZf.js} +3 -3
  64. package/dist/chunks/{copy.BXykYfg0.js.map → copy.DSNuoLZf.js.map} +1 -1
  65. package/dist/chunks/{dashboard-section.Cw2Ima3U.js → dashboard-section.DIesvnBa.js} +3 -3
  66. package/dist/chunks/{dashboard-section.Cw2Ima3U.js.map → dashboard-section.DIesvnBa.js.map} +1 -1
  67. package/dist/chunks/{dashed-underline.Dfw7cJ-9.js → dashed-underline.DauOBhSD.js} +3 -3
  68. package/dist/chunks/{dashed-underline.Dfw7cJ-9.js.map → dashed-underline.DauOBhSD.js.map} +1 -1
  69. package/dist/chunks/{data-grid-template.6LR2Jqka.js → data-grid-template.T-6_zLby.js} +3 -3
  70. package/dist/chunks/{data-grid-template.6LR2Jqka.js.map → data-grid-template.T-6_zLby.js.map} +1 -1
  71. package/dist/chunks/{data-grid.B_uZEPDW.js → data-grid.ZjYQaN9_.js} +695 -695
  72. package/dist/chunks/{data-grid.B_uZEPDW.js.map → data-grid.ZjYQaN9_.js.map} +1 -1
  73. package/dist/chunks/date-picker.BLOqU7Z9.js +173 -0
  74. package/dist/chunks/date-picker.BLOqU7Z9.js.map +1 -0
  75. package/dist/chunks/date-range-picker.CJexeNJg.js +900 -0
  76. package/dist/chunks/date-range-picker.CJexeNJg.js.map +1 -0
  77. package/dist/chunks/{de.DvtL0g75.js → de.BJvo6njq.js} +2 -2
  78. package/dist/chunks/{de.DvtL0g75.js.map → de.BJvo6njq.js.map} +1 -1
  79. package/dist/chunks/{dialog-page.DA6E6qma.js → dialog-page.4deowaF2.js} +2 -2
  80. package/dist/chunks/{dialog-page.DA6E6qma.js.map → dialog-page.4deowaF2.js.map} +1 -1
  81. package/dist/chunks/{differenceInMonths.BR4Z2HIa.js → differenceInMonths.CIYECBxK.js} +7 -7
  82. package/dist/chunks/{differenceInMonths.BR4Z2HIa.js.map → differenceInMonths.CIYECBxK.js.map} +1 -1
  83. package/dist/chunks/{dropdown-default-textbox.5WjhJWdh.js → dropdown-default-textbox.CKnrDQ2z.js} +18 -16
  84. package/dist/chunks/dropdown-default-textbox.CKnrDQ2z.js.map +1 -0
  85. package/dist/chunks/{dropdown-tag.BnMuMIDk.js → dropdown-tag.DSCZALNp.js} +3 -3
  86. package/dist/chunks/{dropdown-tag.BnMuMIDk.js.map → dropdown-tag.DSCZALNp.js.map} +1 -1
  87. package/dist/chunks/{dropdown.DDPfKc74.js → dropdown.ET_mq1_P.js} +8 -8
  88. package/dist/chunks/{dropdown.DDPfKc74.js.map → dropdown.ET_mq1_P.js.map} +1 -1
  89. package/dist/chunks/{en-GB.DCGuCmAv.js → en-GB.C3-QUpva.js} +2 -2
  90. package/dist/chunks/{en-GB.DCGuCmAv.js.map → en-GB.C3-QUpva.js.map} +1 -1
  91. package/dist/chunks/{en-US.BZii9jNW.js → en-US.YeSsZuOc.js} +150 -100
  92. package/dist/chunks/en-US.YeSsZuOc.js.map +1 -0
  93. package/dist/chunks/{error-message.VenUl2OK.js → error-message.CYfT0Qsi.js} +19 -22
  94. package/dist/chunks/error-message.CYfT0Qsi.js.map +1 -0
  95. package/dist/chunks/{es.bz0mzkMq.js → es.DyUjjSL8.js} +2 -2
  96. package/dist/chunks/{es.bz0mzkMq.js.map → es.DyUjjSL8.js.map} +1 -1
  97. package/dist/chunks/{file-uploader.BU1V40qK.js → file-uploader.BSX-zpyP.js} +377 -353
  98. package/dist/chunks/file-uploader.BSX-zpyP.js.map +1 -0
  99. package/dist/chunks/filter-bar.DkKvGUEm.js +3229 -0
  100. package/dist/chunks/filter-bar.DkKvGUEm.js.map +1 -0
  101. package/dist/chunks/{focus-trap.DMc1wL3A.js → focus-trap.DRqjHzt6.js} +2 -2
  102. package/dist/chunks/{focus-trap.DMc1wL3A.js.map → focus-trap.DRqjHzt6.js.map} +1 -1
  103. package/dist/chunks/{footer-actions.z-api8J_.js → footer-actions.Dq82H1Oc.js} +2 -2
  104. package/dist/chunks/{footer-actions.z-api8J_.js.map → footer-actions.Dq82H1Oc.js.map} +1 -1
  105. package/dist/chunks/form-layout-title.vF9Bmbre.js +212 -0
  106. package/dist/chunks/{form-layout-title.Bbq05nMT.js.map → form-layout-title.vF9Bmbre.js.map} +1 -1
  107. package/dist/chunks/{match.CMBZxEs9.js → fr.JD_4GwS8.js} +98 -61
  108. package/dist/chunks/fr.JD_4GwS8.js.map +1 -0
  109. package/dist/chunks/{header-meta.CuMQSsOm.js → header-meta.ByA0tkZw.js} +88 -94
  110. package/dist/chunks/header-meta.ByA0tkZw.js.map +1 -0
  111. package/dist/chunks/{header-with-views.DX8EXLMJ.js → header-with-views.DLoIc0yO.js} +9 -9
  112. package/dist/chunks/{header-with-views.DX8EXLMJ.js.map → header-with-views.DLoIc0yO.js.map} +1 -1
  113. package/dist/chunks/{header.YECm2GAh.js → header.BG6XUNEs.js} +3 -3
  114. package/dist/chunks/{header.YECm2GAh.js.map → header.BG6XUNEs.js.map} +1 -1
  115. package/dist/chunks/{index.BkJqgYF1.js → index.CwzYJHw2.js} +204 -197
  116. package/dist/chunks/{index.BkJqgYF1.js.map → index.CwzYJHw2.js.map} +1 -1
  117. package/dist/chunks/{info-icon.DS9ax8ZD.js → info-icon.BF8KxU-k.js} +3 -3
  118. package/dist/chunks/{info-icon.DS9ax8ZD.js.map → info-icon.BF8KxU-k.js.map} +1 -1
  119. package/dist/chunks/{input-field-password.DrI6eF5u.js → input-field-password.TIzrVzR6.js} +6 -6
  120. package/dist/chunks/{input-field-password.DrI6eF5u.js.map → input-field-password.TIzrVzR6.js.map} +1 -1
  121. package/dist/chunks/{input-field-phone-number.Buh4x3pJ.js → input-field-phone-number.s2fP7BVR.js} +42 -42
  122. package/dist/chunks/{input-field-phone-number.Buh4x3pJ.js.map → input-field-phone-number.s2fP7BVR.js.map} +1 -1
  123. package/dist/chunks/{input-field.NEKXqT4R.js → input-field.CSCJTxk1.js} +10 -10
  124. package/dist/chunks/input-field.CSCJTxk1.js.map +1 -0
  125. package/dist/chunks/{inspector.BomNgVb-.js → inspector.DgI3voTk.js} +3 -3
  126. package/dist/chunks/{inspector.BomNgVb-.js.map → inspector.DgI3voTk.js.map} +1 -1
  127. package/dist/chunks/isSameWeek.CzBCmu7d.js +14 -0
  128. package/dist/chunks/{isSameWeek.DjeUtLwI.js.map → isSameWeek.CzBCmu7d.js.map} +1 -1
  129. package/dist/chunks/{it.DIafuXtH.js → it.BlUnV-yA.js} +3 -3
  130. package/dist/chunks/{it.DIafuXtH.js.map → it.BlUnV-yA.js.map} +1 -1
  131. package/dist/chunks/{ja.Cm9tJMi2.js → ja.nUwDmVf2.js} +8 -8
  132. package/dist/chunks/{ja.Cm9tJMi2.js.map → ja.nUwDmVf2.js.map} +1 -1
  133. package/dist/chunks/{layout-row.BxuMJU4E.js → layout-row.B_IQC9Nq.js} +2 -2
  134. package/dist/chunks/{layout-row.BxuMJU4E.js.map → layout-row.B_IQC9Nq.js.map} +1 -1
  135. package/dist/chunks/{listbox-option-tag.Cv3y0TvQ.js → listbox-option-tag.BhPVuAjJ.js} +2 -2
  136. package/dist/chunks/{listbox-option-tag.Cv3y0TvQ.js.map → listbox-option-tag.BhPVuAjJ.js.map} +1 -1
  137. package/dist/chunks/modal-fullscreen.DJtDO8TR.js +235 -0
  138. package/dist/chunks/modal-fullscreen.DJtDO8TR.js.map +1 -0
  139. package/dist/chunks/{modal.DOR8c0gy.js → modal.BbsIM3qp.js} +4 -4
  140. package/dist/chunks/{modal.DOR8c0gy.js.map → modal.BbsIM3qp.js.map} +1 -1
  141. package/dist/chunks/{pagination.wuEIlDcq.js → pagination.iN0eYByB.js} +157 -138
  142. package/dist/chunks/pagination.iN0eYByB.js.map +1 -0
  143. package/dist/chunks/popover.types.hA13DZPg.js +6 -0
  144. package/dist/chunks/{popover.types.DkiRUQ4Z.js.map → popover.types.hA13DZPg.js.map} +1 -1
  145. package/dist/chunks/{popper-container.D4dworD4.js → popper-container.C_n9Ds1W.js} +2 -2
  146. package/dist/chunks/{popper-container.D4dworD4.js.map → popper-container.C_n9Ds1W.js.map} +1 -1
  147. package/dist/chunks/{promo-banner.bjMDm76T.js → promo-banner.BQreywWK.js} +2 -2
  148. package/dist/chunks/{promo-banner.bjMDm76T.js.map → promo-banner.BQreywWK.js.map} +1 -1
  149. package/dist/chunks/{pt-BR.CiGdfP45.js → pt-BR.BCU2Hj36.js} +2 -2
  150. package/dist/chunks/{pt-BR.CiGdfP45.js.map → pt-BR.BCU2Hj36.js.map} +1 -1
  151. package/dist/chunks/{radio-group.DKRxfGtE.js → radio-group.5ZxqWguJ.js} +6 -6
  152. package/dist/chunks/radio-group.5ZxqWguJ.js.map +1 -0
  153. package/dist/chunks/{rich-text-editor.DiuS9alD.js → rich-text-editor.BJ-FvvNc.js} +132 -132
  154. package/dist/chunks/{rich-text-editor.DiuS9alD.js.map → rich-text-editor.BJ-FvvNc.js.map} +1 -1
  155. package/dist/chunks/{search-bar.UVSaoX0h.js → search-bar.GPl6NU_w.js} +3 -3
  156. package/dist/chunks/{search-bar.UVSaoX0h.js.map → search-bar.GPl6NU_w.js.map} +1 -1
  157. package/dist/chunks/{secondary-nav.C6ldQMZ2.js → secondary-nav.DMHDxGDq.js} +3 -3
  158. package/dist/chunks/{secondary-nav.C6ldQMZ2.js.map → secondary-nav.DMHDxGDq.js.map} +1 -1
  159. package/dist/chunks/{segmented-control.BLnuxgnJ.js → segmented-control.BqIiX9hv.js} +2 -2
  160. package/dist/chunks/{segmented-control.BLnuxgnJ.js.map → segmented-control.BqIiX9hv.js.map} +1 -1
  161. package/dist/chunks/{selection-card-group.CqGYskmS.js → selection-card-group.Hol_gJKN.js} +23 -23
  162. package/dist/chunks/selection-card-group.Hol_gJKN.js.map +1 -0
  163. package/dist/chunks/{sidepanel.BKE87Uef.js → sidepanel.CSA5e8AF.js} +5 -5
  164. package/dist/chunks/{sidepanel.BKE87Uef.js.map → sidepanel.CSA5e8AF.js.map} +1 -1
  165. package/dist/chunks/{startOfWeek.D8Yh4c0G.js → startOfWeek.CXhhX-R7.js} +2 -2
  166. package/dist/chunks/{startOfWeek.D8Yh4c0G.js.map → startOfWeek.CXhhX-R7.js.map} +1 -1
  167. package/dist/chunks/{structured-list-item.DRFRap_S.js → structured-list-item.C7W3zYcT.js} +4 -4
  168. package/dist/chunks/{structured-list-item.DRFRap_S.js.map → structured-list-item.C7W3zYcT.js.map} +1 -1
  169. package/dist/chunks/{summary-grid.types.OldkhD7S.js → summary-grid.types.nrVagy9s.js} +5 -5
  170. package/dist/chunks/{summary-grid.types.OldkhD7S.js.map → summary-grid.types.nrVagy9s.js.map} +1 -1
  171. package/dist/chunks/{tag.Cy3XkSDQ.js → tag.CocLKztJ.js} +2 -2
  172. package/dist/chunks/{tag.Cy3XkSDQ.js.map → tag.CocLKztJ.js.map} +1 -1
  173. package/dist/chunks/{textarea.Bm9MZb_W.js → textarea.CpVhEv6I.js} +33 -33
  174. package/dist/chunks/textarea.CpVhEv6I.js.map +1 -0
  175. package/dist/chunks/{timeline-item.Cpbm8IUw.js → timeline-item.CSDdHboz.js} +52 -54
  176. package/dist/chunks/timeline-item.CSDdHboz.js.map +1 -0
  177. package/dist/chunks/{tooltip.DF11J3k3.js → tooltip.CbsNGnhw.js} +2 -2
  178. package/dist/chunks/{tooltip.DF11J3k3.js.map → tooltip.CbsNGnhw.js.map} +1 -1
  179. package/dist/chunks/{tutorial.D5xtZ1Pt.js → tutorial.3dTfBKtZ.js} +4 -4
  180. package/dist/chunks/{tutorial.D5xtZ1Pt.js.map → tutorial.3dTfBKtZ.js.map} +1 -1
  181. package/dist/chunks/{use-cached-selected-values.wn2xnwYG.js → use-cached-selected-values.DiIjmiF_.js} +2 -2
  182. package/dist/chunks/{use-cached-selected-values.wn2xnwYG.js.map → use-cached-selected-values.DiIjmiF_.js.map} +1 -1
  183. package/dist/chunks/use-date-input-formatter.Dcjry8op.js +1732 -0
  184. package/dist/chunks/use-date-input-formatter.Dcjry8op.js.map +1 -0
  185. package/dist/chunks/{zh-CN.Bw_6j9Cd.js → zh-CN.ChYkuQAR.js} +3 -3
  186. package/dist/chunks/{zh-CN.Bw_6j9Cd.js.map → zh-CN.ChYkuQAR.js.map} +1 -1
  187. package/dist/code-snippet.js +1 -1
  188. package/dist/dashboard-template.js +1 -1
  189. package/dist/dashed-underline.js +1 -1
  190. package/dist/data-grid-template.js +1 -1
  191. package/dist/data-grid.js +1 -1
  192. package/dist/date-picker.js +2 -2
  193. package/dist/date-range-picker.js +2 -2
  194. package/dist/draggable-handle.js +1 -1
  195. package/dist/dropdown.js +4 -4
  196. package/dist/file-uploader.js +1 -1
  197. package/dist/filter-bar.js +1 -1
  198. package/dist/focus-trap.js +1 -1
  199. package/dist/form-layout.js +1 -1
  200. package/dist/header-with-views.js +1 -1
  201. package/dist/header.js +1 -1
  202. package/dist/index.js +50 -50
  203. package/dist/index.js.map +1 -1
  204. package/dist/info-icon.js +1 -1
  205. package/dist/input-field-password.js +1 -1
  206. package/dist/input-field-phone-number.js +1 -1
  207. package/dist/input-field.js +1 -1
  208. package/dist/inspector.js +1 -1
  209. package/dist/internal.js +11 -11
  210. package/dist/layout.js +1 -1
  211. package/dist/menu.js +1 -1
  212. package/dist/modal-fullscreen.js +1 -1
  213. package/dist/modal.js +2 -2
  214. package/dist/pagination.js +1 -1
  215. package/dist/popover.js +2 -2
  216. package/dist/popper-container.js +1 -1
  217. package/dist/promo-banner.js +1 -1
  218. package/dist/radio-group.js +1 -1
  219. package/dist/rich-text-editor.js +1 -1
  220. package/dist/search-bar.js +2 -2
  221. package/dist/secondary-nav.js +1 -1
  222. package/dist/segmented-control.js +1 -1
  223. package/dist/selection-card.js +1 -1
  224. package/dist/sidepanel.js +1 -1
  225. package/dist/structured-list.js +1 -1
  226. package/dist/summary-grid.js +1 -1
  227. package/dist/tag.js +1 -1
  228. package/dist/textarea.js +1 -1
  229. package/dist/timeline.js +1 -1
  230. package/dist/tutorial.js +1 -1
  231. package/dist/web-types.json +104 -5
  232. package/package.json +6 -11
  233. package/dist/chunks/anchor-scroller.3_idPubO.js +0 -178
  234. package/dist/chunks/button-actions.VSc47LLH.js.map +0 -1
  235. package/dist/chunks/calendar.DiXkjQDP.js.map +0 -1
  236. package/dist/chunks/checkbox-group.d6VQvZL7.js.map +0 -1
  237. package/dist/chunks/checkbox.ClFNfhNh.js.map +0 -1
  238. package/dist/chunks/constructNow.B8T1ljs6.js +0 -8
  239. package/dist/chunks/controls-group.HUWlAOhG.js.map +0 -1
  240. package/dist/chunks/date-input.etw_pFpA.js +0 -20
  241. package/dist/chunks/date-input.etw_pFpA.js.map +0 -1
  242. package/dist/chunks/date-picker.CITeN8WH.js +0 -173
  243. package/dist/chunks/date-picker.CITeN8WH.js.map +0 -1
  244. package/dist/chunks/date-range-picker.DxVjXxap.js +0 -897
  245. package/dist/chunks/date-range-picker.DxVjXxap.js.map +0 -1
  246. package/dist/chunks/dropdown-default-textbox.5WjhJWdh.js.map +0 -1
  247. package/dist/chunks/en-US.BZii9jNW.js.map +0 -1
  248. package/dist/chunks/error-message.VenUl2OK.js.map +0 -1
  249. package/dist/chunks/file-uploader.BU1V40qK.js.map +0 -1
  250. package/dist/chunks/filter-bar.UdXQf_RN.js +0 -3321
  251. package/dist/chunks/filter-bar.UdXQf_RN.js.map +0 -1
  252. package/dist/chunks/form-layout-title.Bbq05nMT.js +0 -197
  253. package/dist/chunks/fr-CA.B1aPU8fp.js +0 -48
  254. package/dist/chunks/fr-CA.B1aPU8fp.js.map +0 -1
  255. package/dist/chunks/fr.Dj7wEToe.js +0 -47
  256. package/dist/chunks/fr.Dj7wEToe.js.map +0 -1
  257. package/dist/chunks/getTimezoneOffsetInMilliseconds.Tu2wlbTR.js +0 -51
  258. package/dist/chunks/getTimezoneOffsetInMilliseconds.Tu2wlbTR.js.map +0 -1
  259. package/dist/chunks/header-meta.CuMQSsOm.js.map +0 -1
  260. package/dist/chunks/input-field.NEKXqT4R.js.map +0 -1
  261. package/dist/chunks/isSameWeek.DjeUtLwI.js +0 -14
  262. package/dist/chunks/ko.Ceaof6EP.js +0 -348
  263. package/dist/chunks/ko.Ceaof6EP.js.map +0 -1
  264. package/dist/chunks/match.CMBZxEs9.js.map +0 -1
  265. package/dist/chunks/modal-fullscreen.6bAjPENL.js +0 -225
  266. package/dist/chunks/modal-fullscreen.6bAjPENL.js.map +0 -1
  267. package/dist/chunks/nl.B6vCf2B9.js +0 -327
  268. package/dist/chunks/nl.B6vCf2B9.js.map +0 -1
  269. package/dist/chunks/pagination.wuEIlDcq.js.map +0 -1
  270. package/dist/chunks/popover.types.DkiRUQ4Z.js +0 -6
  271. package/dist/chunks/radio-group.DKRxfGtE.js.map +0 -1
  272. package/dist/chunks/selection-card-group.CqGYskmS.js.map +0 -1
  273. package/dist/chunks/sv.f8EfZjMZ.js +0 -377
  274. package/dist/chunks/sv.f8EfZjMZ.js.map +0 -1
  275. package/dist/chunks/textarea.Bm9MZb_W.js.map +0 -1
  276. package/dist/chunks/timeline-item.Cpbm8IUw.js.map +0 -1
@@ -0,0 +1,900 @@
1
+ import { reactive as ye, defineComponent as We, useSlots as lt, ref as O, computed as f, onMounted as $e, toRaw as _e, watch as ve, useAttrs as it, toRef as Te } from "vue";
2
+ import { j as ut } from "./index.CwzYJHw2.js";
3
+ import { B as dt } from "./divider.DX5gwN7p.js";
4
+ import { h as ct, B as mt } from "./button-actions.DyPS54Yi.js";
5
+ import { B as Ge, d as we } from "./typography.C8lPlsbD.js";
6
+ import { B as Dt } from "./input-field.CSCJTxk1.js";
7
+ import { B as pt } from "./dropdown.ET_mq1_P.js";
8
+ import { B as ft } from "./segmented-control.BqIiX9hv.js";
9
+ import { u as be } from "./index.B6WW_F-J.js";
10
+ import { d as pe } from "./debounce.DUTu11PS.js";
11
+ import { u as vt } from "./use-has-slot.C9lQZ6nz.js";
12
+ import { u as Re, a as yt } from "./use-date-input-formatter.Dcjry8op.js";
13
+ import { e as He, f as re, i as w, h, j as gt, k as Be, l as Tt, s as xe, m as _t, n as Ae, b as Y, u as bt, o as C, g as Rt } from "./calendar.BNg7mSj5.js";
14
+ import { e as x, a as qe } from "./differenceInMonths.CIYECBxK.js";
15
+ import { s as Ye } from "./startOfWeek.CXhhX-R7.js";
16
+ import { t as P, n as It, c as ht } from "./en-US.YeSsZuOc.js";
17
+ import { c as kt } from "./constructNow.CIc7d13I.js";
18
+ import { n as Ke } from "./_plugin-vue2_normalizer.CeySl7Fu.js";
19
+ import { D as Mt } from "./dropdown-default-textbox.CKnrDQ2z.js";
20
+ import { g as ne } from "./generate-uid.NJ8tVoha.js";
21
+ import { u as St } from "./use-form-layout-loading.CWbjZiwP.js";
22
+ import "./index.Cl4_42j5.js";
23
+ import { u as Ft } from "./form-field.D_2g7vaP.js";
24
+ import { B as Et } from "./directive.rXUeDb8p.js";
25
+ import { F as Ot, E as Ct } from "./error-message.CYfT0Qsi.js";
26
+ import { B as wt } from "./button-actions.types.BptAXjD8.js";
27
+ import "../assets/date-range-picker.css";
28
+ function ze(r, t, e) {
29
+ return He(r, t * 3, e);
30
+ }
31
+ function Pe(r, t) {
32
+ const e = P(r, t == null ? void 0 : t.in);
33
+ return Math.trunc(e.getMonth() / 3) + 1;
34
+ }
35
+ function Ne(r, t) {
36
+ return P(r, t == null ? void 0 : t.in).getFullYear();
37
+ }
38
+ function fe(r, t) {
39
+ return +P(r) == +P(t);
40
+ }
41
+ function Bt(r, t, e) {
42
+ const [a, l] = It(
43
+ e == null ? void 0 : e.in,
44
+ r,
45
+ t
46
+ );
47
+ return +re(a) == +re(l);
48
+ }
49
+ function Ue(r, t) {
50
+ const e = P(r, t == null ? void 0 : t.in);
51
+ return e.setMilliseconds(0), e;
52
+ }
53
+ function Le(r, t) {
54
+ return +Ue(r) == +Ue(t);
55
+ }
56
+ function xt(r, t) {
57
+ return w(
58
+ ht(r, r),
59
+ kt(r)
60
+ );
61
+ }
62
+ function At(r, t, e) {
63
+ const a = P(r, e == null ? void 0 : e.in);
64
+ return a.setHours(t), a;
65
+ }
66
+ function je(r, t, e) {
67
+ const a = P(r, e == null ? void 0 : e.in);
68
+ return a.setMilliseconds(t), a;
69
+ }
70
+ function qt(r, t, e) {
71
+ const a = P(r, e == null ? void 0 : e.in);
72
+ return a.setMinutes(t), a;
73
+ }
74
+ function Yt(r, t, e) {
75
+ const a = P(r, e == null ? void 0 : e.in);
76
+ return a.setSeconds(t), a;
77
+ }
78
+ function Pt(r, t, e) {
79
+ return ze(r, -1, e);
80
+ }
81
+ const Nt = ({
82
+ firstDayOfWeek: r,
83
+ min: t,
84
+ max: e
85
+ }) => ({ getGranularCalendarLimits: (l) => {
86
+ if (!t && !e)
87
+ return { min: null, max: null };
88
+ let m = t ? h(t) : null, D = e ? x(e) : null;
89
+ if ((l == null ? void 0 : l.type) === "weekly") {
90
+ if (l.earliest)
91
+ m = h(l.earliest);
92
+ else if (m) {
93
+ const v = Ye(m, { weekStartsOn: r });
94
+ w(m, v) || (m = h(gt(Be(m, { weekStartsOn: r }), 1)));
95
+ }
96
+ if (l.latest)
97
+ D = x(l.latest);
98
+ else if (D) {
99
+ const v = Be(D, { weekStartsOn: r });
100
+ w(D, v) || (D = x(Tt(Ye(D, { weekStartsOn: r }), 1)));
101
+ }
102
+ }
103
+ if ((l == null ? void 0 : l.type) === "monthly") {
104
+ if (l.earliest)
105
+ m = h(l.earliest);
106
+ else if (m) {
107
+ const v = xe(m);
108
+ w(m, v) || (m = xe(He(m, 1)));
109
+ }
110
+ if (l.latest)
111
+ D = x(l.latest);
112
+ else if (D) {
113
+ const v = qe(D);
114
+ w(D, v) || (D = qe(_t(D, 1)));
115
+ }
116
+ }
117
+ if ((l == null ? void 0 : l.type) === "quarterly") {
118
+ if (l.earliest)
119
+ m = re(l.earliest);
120
+ else if (m) {
121
+ const v = re(m);
122
+ w(m, v) || (m = re(ze(m, 1)));
123
+ }
124
+ if (l.latest)
125
+ D = x(l.latest);
126
+ else if (D) {
127
+ const v = Ae(D);
128
+ w(D, v) || (D = Ae(Pt(D)));
129
+ }
130
+ }
131
+ return { min: m, max: D };
132
+ } }), Ut = () => {
133
+ const r = ye({
134
+ daily: null,
135
+ weekly: null,
136
+ monthly: null,
137
+ quarterly: null
138
+ });
139
+ return {
140
+ savedRanges: r,
141
+ saveRange: (a, l) => {
142
+ r[a] = l;
143
+ },
144
+ resetSavedRanges: () => {
145
+ r.daily = null, r.weekly = null, r.monthly = null, r.quarterly = null;
146
+ }
147
+ };
148
+ };
149
+ var g = /* @__PURE__ */ ((r) => (r.CUSTOM_RANGE = "custom-range", r.INPUT = "input", r.ERROR = "error", r.FORM_DATE = "form-date", r.START_DATE_SELECTED = "start-date-selected", r))(g || {});
150
+ const Lt = /[\d]/, jt = /^\d{2}$/, Qt = /^\d{2}:\d{2}$/, Wt = (r) => {
151
+ const { selectionStart: t } = r.target, e = ["Backspace", "Tab", "ArrowLeft", "ArrowRight"], a = Lt.test(r.key) || e.includes(r.key), l = [1, 2, 4, 5].includes(t) && r.key === ":";
152
+ !a && !l && r.preventDefault();
153
+ }, Qe = (r) => {
154
+ if (!r)
155
+ return r;
156
+ let t = r;
157
+ if (t.length === 1 && parseInt(r, 10) > 2)
158
+ return `0${t}:`;
159
+ const [e, a] = t.slice(-2);
160
+ return [2, 5].includes(t.length) && a === ":" && (t = `${t.slice(0, t.length - 2)}0${e}`), (jt.test(t) || Qt.test(t)) && (t += ":"), t;
161
+ }, $t = {
162
+ "en-US": {
163
+ "DD-MM-YYYY": "DD-MM-YYYY",
164
+ "MM-DD-YYYY": "MM-DD-YYYY",
165
+ "YYYY-MM-DD": "YYYY-MM-DD",
166
+ customRange: "Custom range",
167
+ daily: "Daily",
168
+ dateFrom: "Date from",
169
+ dateTo: "Date to",
170
+ lastMonth: "Last month",
171
+ lastSevenDays: "Last 7 days",
172
+ lastThreeMonths: "Last three months",
173
+ monthly: "Monthly",
174
+ quarterly: "Quarterly",
175
+ timeFrom: "Time from",
176
+ timeTo: "Time to",
177
+ weekly: "Weekly"
178
+ },
179
+ "ja-JP": {
180
+ customRange: "カスタム範囲",
181
+ daily: "毎日",
182
+ dateFrom: "開始日",
183
+ dateTo: "日付まで",
184
+ lastMonth: "先月",
185
+ lastSevenDays: "過去7日間",
186
+ lastThreeMonths: "過去3か月",
187
+ monthly: "毎月",
188
+ quarterly: "毎四半期",
189
+ timeFrom: "開始時刻",
190
+ timeTo: "終了時刻",
191
+ weekly: "毎週"
192
+ },
193
+ "pt-BR": {
194
+ customRange: "Intervalo personalizado",
195
+ daily: "Diária",
196
+ dateFrom: "Data a partir de",
197
+ dateTo: "Data até",
198
+ lastMonth: "Último mês",
199
+ lastSevenDays: "Últimos 7 dias",
200
+ lastThreeMonths: "Últimos 3 meses",
201
+ monthly: "Mensal",
202
+ quarterly: "Trimestral",
203
+ timeFrom: "Horário a partir de",
204
+ timeTo: "Hora de",
205
+ weekly: "Semanal"
206
+ }
207
+ }, Gt = {
208
+ name: "date-range-picker-calendar",
209
+ i18n: { messages: $t }
210
+ }, Ht = /* @__PURE__ */ We({
211
+ ...Gt,
212
+ props: {
213
+ /**
214
+ * Allows user to enter time values in the form
215
+ */
216
+ allowTimeInput: { type: Boolean, default: !1 },
217
+ /**
218
+ * Ranges form persistance data
219
+ */
220
+ dateFormData: {
221
+ type: Object,
222
+ default: () => ({ startDate: void 0, endDate: void 0, startTime: void 0, endTime: void 0 })
223
+ },
224
+ /**
225
+ * Allows you to set the first day of the week. 0 is sunday, 1 is monday, 6 is saturday
226
+ */
227
+ firstDayOfWeek: Y.props.firstDayOfWeek,
228
+ /**
229
+ * A list of available granularities.
230
+ * If present, the date picker will display a segmented control to change granularity.
231
+ */
232
+ granularities: {
233
+ type: Array,
234
+ default: null
235
+ },
236
+ /**
237
+ * Indicate if a date should be disabled or not
238
+ */
239
+ isDateDisabled: Y.props.isDateDisabled,
240
+ /**
241
+ * Set a maximum number of dates to be selectable by the range.
242
+ */
243
+ maxRange: Y.props.maxRange,
244
+ /**
245
+ * Sets a minimum limit for selectable dates - dates before `min` will not be selectable
246
+ */
247
+ min: Y.props.min,
248
+ /**
249
+ * Sets a maximum limit for selectable dates - dates after `max` will not be selectable
250
+ */
251
+ max: Y.props.max,
252
+ /**
253
+ * Number of months rendered on pane
254
+ */
255
+ numberOfMonths: {
256
+ type: Y.props.numberOfMonths.type,
257
+ default: Y.props.numberOfMonths.default,
258
+ validator: (r) => r >= 0
259
+ },
260
+ /**
261
+ * Displays the end date's month when the calendar is opened. Defaults to false i.e. the start date's month is displayed.
262
+ */
263
+ showEndDateOnOpen: { type: Boolean, default: !1 },
264
+ /**
265
+ * Enables the custom range selector.
266
+ * If provided, must be an array that sets the custom range dropdown items. Items are of the structure:
267
+ * `label` - label of custom range item.
268
+ * `value` - a unique key of the custom range item.
269
+ * `data` - an object `{ startDate: Date; endDate: Date }` to set the date picker range to upon selecting.
270
+ */
271
+ quickSelectRanges: {
272
+ type: Array,
273
+ default: void 0
274
+ },
275
+ /**
276
+ * Selected date
277
+ */
278
+ value: { type: Object, default: void 0 },
279
+ /**
280
+ * The type of calendar to display. Defaults to showing days.
281
+ */
282
+ variant: Y.props.variant
283
+ },
284
+ emits: [
285
+ g.CUSTOM_RANGE,
286
+ g.INPUT,
287
+ g.ERROR,
288
+ g.FORM_DATE,
289
+ g.START_DATE_SELECTED
290
+ ],
291
+ setup(r, { emit: t }) {
292
+ var Fe, Ee, Oe, Ce;
293
+ const e = r, a = 300, l = "customRange", m = lt(), D = vt(m), { t: v } = be(), {
294
+ dateFormat: Q,
295
+ isFormatValid: N,
296
+ parseDate: y,
297
+ onKeyDown: X,
298
+ autoFormat: H,
299
+ formatDate: p
300
+ } = Re(), A = O({}), F = f(() => e.variant === "month" ? "monthly" : "daily"), B = f(() => e.numberOfMonths === 0), s = ye({
301
+ startDate: (Fe = e.value) == null ? void 0 : Fe.startDate,
302
+ endDate: (Ee = e.value) == null ? void 0 : Ee.endDate,
303
+ range: (Oe = e.value) == null ? void 0 : Oe.range,
304
+ ...e.granularities ? {
305
+ granularity: ((Ce = e.value) == null ? void 0 : Ce.granularity) || F.value
306
+ } : {}
307
+ });
308
+ function _(n) {
309
+ return n ? new Date(
310
+ n.getUTCFullYear(),
311
+ n.getUTCMonth(),
312
+ n.getUTCDate(),
313
+ n.getUTCHours(),
314
+ n.getUTCMinutes(),
315
+ n.getUTCSeconds()
316
+ ) : null;
317
+ }
318
+ const R = f(() => {
319
+ var n, i;
320
+ return (
321
+ // eslint-disable-next-line consistent-return
322
+ ((i = (n = e == null ? void 0 : e.quickSelectRanges) == null ? void 0 : n.find(({ value: u, data: c }) => {
323
+ var I;
324
+ if (!c.endDate) {
325
+ if (c.isRelativeToNow) {
326
+ const E = (I = A.value) == null ? void 0 : I[u];
327
+ return E ? fe(
328
+ _(E.startDate),
329
+ _(s.startDate)
330
+ ) && fe(
331
+ _(E.endDate),
332
+ _(s.endDate)
333
+ ) : (
334
+ // If not stored calculated dates, fall back to comparing the quick select item's value
335
+ // with the internal range's stored range identifier.
336
+ u === s.range
337
+ );
338
+ }
339
+ return fe(_(c.startDate), _(s.startDate)) && fe(
340
+ _(s.endDate),
341
+ _(x(s.endDate))
342
+ ) && xt(_(s.endDate)) && (e.granularities ? c.granularity === s.granularity : !0);
343
+ }
344
+ if (e.allowTimeInput)
345
+ return Le(_(c.startDate), _(s.startDate)) && Le(_(c.endDate), _(s.endDate)) && (e.granularities ? c.granularity === s.granularity : !0);
346
+ if (c.endDate)
347
+ return w(c.startDate, s.startDate) && w(c.endDate, s.endDate) && (e.granularities ? c.granularity === s.granularity : !0);
348
+ })) == null ? void 0 : i.value) ?? l
349
+ );
350
+ }), ge = f(() => ({
351
+ "b-date-range-picker-calendar__form-input-wrapper": e.allowTimeInput
352
+ })), Z = f(() => [
353
+ { label: v("customRange"), value: l },
354
+ ...e.quickSelectRanges ? e.quickSelectRanges : []
355
+ ]), W = f(
356
+ () => {
357
+ var n;
358
+ return ((n = e.granularities) == null ? void 0 : n.find(({ type: i }) => i === s.granularity)) || null;
359
+ }
360
+ ), se = f(
361
+ () => {
362
+ var n;
363
+ return ((n = e.granularities) == null ? void 0 : n.map(({ type: i, disabled: u }) => ({
364
+ label: v(i),
365
+ value: i,
366
+ disabled: u
367
+ }))) ?? [];
368
+ }
369
+ ), { getGranularCalendarLimits: oe } = Nt(e), b = f(
370
+ () => e.granularities ? oe(W.value) : { min: e.min ? h(e.min) : null, max: e.max ? x(e.max) : null }
371
+ ), {
372
+ adjustDateForQuarterly: ee,
373
+ adjustDateForMonthly: $,
374
+ adjustDateForWeekly: T,
375
+ adjustStartDateInputForWeekly: le,
376
+ adjustEndDateInputForWeekly: ie,
377
+ adjustStartDateInputForMonthly: K,
378
+ adjustEndDateInputForMonthly: ue,
379
+ adjustStartDateInputForQuarterly: z,
380
+ adjustEndDateInputForQuarterly: V
381
+ } = bt(e.firstDayOfWeek), { savedRanges: k, saveRange: U, resetSavedRanges: te } = Ut(), M = (n) => n ? p(n) : "", G = O(!1), J = O(!1), L = O(!1), j = O(!1), o = ye({
382
+ startDate: e.dateFormData.startDate,
383
+ endDate: e.dateFormData.endDate,
384
+ startTime: e.dateFormData.startTime,
385
+ endTime: e.dateFormData.endTime
386
+ }), de = (n, i) => {
387
+ let u = new Date(n);
388
+ const [c, I, E] = i.split(":");
389
+ return u = At(u, parseInt(c, 10)), u = qt(u, parseInt(I, 10)), u = Yt(u, parseInt(E, 10)), u;
390
+ }, ce = (n) => /^(?:[01]\d|2[01234]):(?:[012345]\d):(?:[012345]\d)$/.test(n), d = (n, i) => {
391
+ const u = () => {
392
+ if (i && q(i)) {
393
+ const c = de(y(i), n);
394
+ if (e.min && c < je(e.min, 0) || e.max && c > je(e.max, 0))
395
+ return !1;
396
+ }
397
+ return !0;
398
+ };
399
+ return ce(n) && u();
400
+ }, S = (n, i) => !i || !ce(i) || e.variant === "month" ? n : de(new Date(n), i), me = (n) => {
401
+ o.startTime = C(
402
+ e.min && e.allowTimeInput && w(e.min, n.startDate) ? e.min : h(n.startDate)
403
+ ), o.endTime = C(
404
+ e.max && e.allowTimeInput && w(e.max, n.endDate) ? e.max : x(n.endDate)
405
+ ), s.startDate = S(n.startDate, o.startTime), s.endDate = S(n.endDate, o.endTime), s.range = null, e.granularities && te(), t(g.INPUT, {
406
+ ...s,
407
+ range: R.value
408
+ });
409
+ }, q = (n) => {
410
+ if (!n)
411
+ return !1;
412
+ const i = (u) => e.min && h(u) < h(e.min) || e.max && h(u) > h(e.max) ? !1 : e.isDateDisabled ? !e.isDateDisabled(h(u)) : !0;
413
+ return N(n) && i(y(n));
414
+ };
415
+ $e(() => {
416
+ G.value = !!(e.dateFormData.startDate && !q(e.dateFormData.startDate)), e.allowTimeInput ? L.value = !!(e.dateFormData.startTime && !d(e.dateFormData.startTime, e.dateFormData.startDate)) : L.value = !1, J.value = !!(e.dateFormData.endDate && !q(e.dateFormData.endDate)), e.allowTimeInput ? j.value = !!(e.dateFormData.endTime && !d(e.dateFormData.endTime, e.dateFormData.endDate)) : j.value = !1;
417
+ });
418
+ const Ve = (n) => {
419
+ var i;
420
+ o.startDate = M(n), o.startTime ? L.value && (o.startTime = (i = e.dateFormData) == null ? void 0 : i.startTime) : o.startTime = C(n), G.value = !1, L.value = !1, t(g.START_DATE_SELECTED, n);
421
+ }, Je = (n) => {
422
+ var i;
423
+ o.endDate = M(n), o.endTime ? j.value && (o.endTime = (i = e.dateFormData) == null ? void 0 : i.endTime) : o.endTime = C(x(n)), J.value = !1, j.value = !1;
424
+ }, De = (n) => {
425
+ const i = e.value[n];
426
+ if (i)
427
+ return i;
428
+ if (e.dateFormData[n] && q(e.dateFormData[n]))
429
+ return y(e.dateFormData[n]);
430
+ }, Ie = pe((n) => {
431
+ var i;
432
+ if (q(n)) {
433
+ let u = n;
434
+ switch (G.value = !1, (i = W.value) == null ? void 0 : i.type) {
435
+ case "weekly":
436
+ u = le(
437
+ n,
438
+ M,
439
+ b.value.min,
440
+ b.value.max
441
+ ), o.startDate = u;
442
+ break;
443
+ case "monthly":
444
+ u = K(
445
+ n,
446
+ M,
447
+ b.value.min,
448
+ b.value.max
449
+ ), o.startDate = u;
450
+ break;
451
+ case "quarterly":
452
+ u = z(
453
+ n,
454
+ M,
455
+ b.value.min,
456
+ b.value.max
457
+ ), o.startDate = u;
458
+ break;
459
+ }
460
+ const c = h(y(u));
461
+ s.startDate = S(c, o.startTime), s.endDate = S(
462
+ h(y(o.endDate)),
463
+ o.endTime
464
+ ), q(o.endDate) && (s.endDate = S(
465
+ h(y(o.endDate)),
466
+ o.endTime
467
+ ));
468
+ const I = De("endDate");
469
+ s.range = null, t(g.FORM_DATE, {
470
+ startDate: c,
471
+ endDate: I
472
+ }), t(g.INPUT, {
473
+ ...s,
474
+ range: R.value
475
+ });
476
+ } else
477
+ G.value = !0, t(g.ERROR, { ...o });
478
+ }, a), Xe = (n) => {
479
+ o.startDate = H(n), Ie(o.startDate);
480
+ }, he = pe((n) => {
481
+ var i;
482
+ if (q(n)) {
483
+ let u = n;
484
+ switch (J.value = !1, (i = W.value) == null ? void 0 : i.type) {
485
+ case "weekly":
486
+ u = ie(
487
+ n,
488
+ M,
489
+ b.value.min,
490
+ b.value.max
491
+ ), o.endDate = u;
492
+ break;
493
+ case "monthly":
494
+ u = ue(
495
+ n,
496
+ M,
497
+ b.value.min,
498
+ b.value.max
499
+ ), o.endDate = u;
500
+ break;
501
+ case "quarterly":
502
+ u = V(
503
+ n,
504
+ M,
505
+ b.value.min,
506
+ b.value.max
507
+ ), o.endDate = u;
508
+ break;
509
+ }
510
+ const c = h(y(u));
511
+ s.endDate = S(c, o.endTime), q(o.startDate) && (s.startDate = S(
512
+ h(y(o.startDate)),
513
+ o.startTime
514
+ ));
515
+ const I = De("startDate");
516
+ s.range = null, t(g.FORM_DATE, {
517
+ startDate: I,
518
+ endDate: c
519
+ }), t(g.INPUT, {
520
+ ...s,
521
+ range: R.value
522
+ });
523
+ } else
524
+ J.value = !0, t(g.ERROR, { ...o });
525
+ }, a), Ze = (n) => {
526
+ o.endDate = H(n), he(o.endDate);
527
+ }, et = (n) => {
528
+ X(n);
529
+ }, ke = pe((n) => {
530
+ if (d(n, e.dateFormData.startDate)) {
531
+ L.value = !1, s.startDate = S(s.startDate, n);
532
+ const i = De("endDate");
533
+ t(g.FORM_DATE, {
534
+ startDate: s.startDate,
535
+ endDate: i,
536
+ startTime: n,
537
+ endTime: o.endTime ?? e.dateFormData.endTime
538
+ }), t(g.INPUT, {
539
+ ...s,
540
+ range: R.value
541
+ });
542
+ } else
543
+ L.value = !0, t(g.ERROR, { ...o });
544
+ }), Me = pe((n) => {
545
+ d(n, e.dateFormData.endDate) ? (j.value = !1, s.endDate = S(s.endDate, n), t(g.FORM_DATE, {
546
+ startDate: s.startDate,
547
+ endDate: s.endDate,
548
+ startTime: o.startTime ?? e.dateFormData.startTime,
549
+ endTime: n
550
+ }), t(g.INPUT, {
551
+ ...s,
552
+ range: R.value
553
+ })) : (j.value = !0, t(g.ERROR, { ...o }));
554
+ }), tt = (n) => {
555
+ o.startTime = Qe(n), ke(o.startTime);
556
+ }, at = (n) => {
557
+ o.endTime = Qe(n), Me(o.endTime);
558
+ }, nt = (n) => {
559
+ Wt(n);
560
+ }, ae = (n, i, u, c) => {
561
+ s.startDate = n, s.endDate = i, u && (s.granularity = u), c && (s.range = c);
562
+ }, rt = (n) => {
563
+ var u;
564
+ const i = (u = e.quickSelectRanges) == null ? void 0 : u.find(({ value: c }) => c === n);
565
+ if (i) {
566
+ te();
567
+ const c = i.data, I = c.endDate || (c.isRelativeToNow ? new Date(Date.now()) : x(new Date(Date.now()))), E = c.isRelativeToNow && c.timeDifference ? new Date(I.getTime() - c.timeDifference) : c.startDate;
568
+ o.endDate = M(I), o.startDate = M(E), ae(E, I, null, n), e.granularities && (s.granularity = c.granularity || F.value), o.startTime = C(E), o.endTime = C(I), s.startDate = E, s.endDate = I, c.isRelativeToNow && (A.value = {
569
+ ...A.value,
570
+ [n]: {
571
+ startDate: E,
572
+ endDate: I
573
+ }
574
+ }), t(g.CUSTOM_RANGE, {
575
+ ...i.data,
576
+ startDate: E,
577
+ endDate: I,
578
+ range: i.value
579
+ });
580
+ }
581
+ }, Se = {
582
+ weekly: T,
583
+ monthly: $,
584
+ quarterly: ee
585
+ }, st = (n) => {
586
+ const i = s.granularity;
587
+ if (s.granularity = n, i && U(i, structuredClone(_e(s))), s.startDate && s.endDate) {
588
+ switch (n) {
589
+ case "quarterly":
590
+ case "monthly":
591
+ case "weekly": {
592
+ if (k[n]) {
593
+ ae(k[n].startDate, k[n].endDate, n);
594
+ break;
595
+ }
596
+ const { startDate: u, endDate: c } = Se[n](
597
+ s.startDate,
598
+ s.endDate,
599
+ b.value.min,
600
+ b.value.max
601
+ );
602
+ ae(u, c, n);
603
+ break;
604
+ }
605
+ case "daily":
606
+ k.daily && ae(k.daily.startDate, k.daily.endDate, n);
607
+ break;
608
+ }
609
+ o.startDate = M(s.startDate), o.endDate = M(s.endDate), t(g.INPUT, {
610
+ ...s,
611
+ range: R.value
612
+ });
613
+ }
614
+ }, ot = f(() => ({
615
+ "b-date-range-picker-calendar__form-container--no-calendars": B.value
616
+ }));
617
+ return { __sfc: !0, FORM_INPUT_DEBOUNCE_TIME: a, RANGE_SELECTOR_CUSTOM_RANGE_KEY: l, props: e, emit: t, slots: m, hasSlot: D, t: v, dateFormat: Q, isFormatValid: N, parseDate: y, onKeyDown: X, autoFormat: H, formatDateUtil: p, calculatedIsRelativeToNowQuickSelectRanges: A, defaultGranularity: F, hasNoCalendars: B, internalRangeDate: s, deserializeDate: _, selectedRangeSelectorValue: R, formInputWrapperConditionalClasses: ge, quickSelectRangeDefaultItems: Z, selectedGranularity: W, granularityItems: se, getGranularCalendarLimits: oe, computedMinMax: b, adjustDateForQuarterly: ee, adjustDateForMonthly: $, adjustDateForWeekly: T, adjustStartDateInputForWeekly: le, adjustEndDateInputForWeekly: ie, adjustStartDateInputForMonthly: K, adjustEndDateInputForMonthly: ue, adjustStartDateInputForQuarterly: z, adjustEndDateInputForQuarterly: V, savedRanges: k, saveRange: U, resetSavedRanges: te, formatDate: M, startDateError: G, endDateError: J, startTimeError: L, endTimeError: j, dateTextInput: o, setTimeInDateObject: de, isValidTimeString: ce, isValidTime: d, setTimeInDateRef: S, onDateInput: me, isValidDate: q, onStartDateSelected: Ve, onEndDateSelected: Je, getDate: De, validateStartDate: Ie, onStartDateInput: Xe, validateEndDate: he, onEndDateInput: Ze, onDateInputKeyDown: et, validateStartTime: ke, validateEndTime: Me, onStartTimeInput: tt, onEndTimeInput: at, onTimeInputKeyDown: nt, setInternalRange: ae, onRangeSelectorInput: rt, adjustDate: Se, onGranularityInput: st, computedFormContainerClasses: ot, Calendar: Y, BentoTypography: Ge, BentoInputField: Dt, BentoDropdown: pt, BentoSegmentedControl: ft };
618
+ }
619
+ });
620
+ var Kt = function() {
621
+ var t = this, e = t._self._c, a = t._self._setupProxy;
622
+ return e("div", { staticClass: "b-date-range-picker-calendar" }, [e("div", { staticClass: "b-date-range-picker-calendar__form-container", class: a.computedFormContainerClasses, attrs: { "data-testid": "date-range-picker-calendar-form-container" } }, [e("div", { staticClass: "b-date-range-picker-calendar__form" }, [a.hasSlot("title") ? [t._t("title")] : t._e(), t.quickSelectRanges ? e(a.BentoDropdown, { attrs: { "aria-label": a.t("customRange"), items: a.quickSelectRangeDefaultItems, "model-value": a.selectedRangeSelectorValue }, on: { "update:model-value": a.onRangeSelectorInput } }) : t._e(), t.granularities ? e(a.BentoSegmentedControl, { attrs: { items: a.granularityItems, "model-value": a.internalRangeDate.granularity, "full-width": "" }, on: { "update:model-value": a.onGranularityInput } }) : t._e(), e("div", [e(a.BentoTypography, { staticClass: "b-date-range-picker-calendar__label", attrs: { stronger: "", el: "span" } }, [t._v(" From ")]), e("div", { class: a.formInputWrapperConditionalClasses }, [e(a.BentoInputField, { staticClass: "b-date-range-picker-calendar__form-input", attrs: { "aria-label": a.t("dateFrom"), "model-value": a.dateTextInput.startDate, error: a.startDateError }, on: { "update:model-value": a.onStartDateInput, keydown: a.onDateInputKeyDown }, scopedSlots: t._u([{ key: "description", fn: function() {
623
+ return [t._v(t._s(a.t(a.dateFormat)))];
624
+ }, proxy: !0 }]) }), t.allowTimeInput ? e(a.BentoInputField, { staticClass: "b-date-range-picker-calendar__form-input", attrs: { "aria-label": a.t("timeFrom"), "model-value": a.dateTextInput.startTime, error: a.startTimeError }, on: { "update:model-value": a.onStartTimeInput, keydown: a.onTimeInputKeyDown }, scopedSlots: t._u([{ key: "description", fn: function() {
625
+ return [t._v("HH:MM:SS")];
626
+ }, proxy: !0 }], null, !1, 3442289499) }) : t._e()], 1)], 1), e("div", [e(a.BentoTypography, { staticClass: "b-date-range-picker-calendar__label", attrs: { stronger: "", el: "span" } }, [t._v(" To ")]), e("div", { class: a.formInputWrapperConditionalClasses }, [e(a.BentoInputField, { staticClass: "b-date-range-picker-calendar__form-input", attrs: { "aria-label": a.t("dateTo"), "model-value": a.dateTextInput.endDate, error: a.endDateError }, on: { "update:model-value": a.onEndDateInput, keydown: a.onDateInputKeyDown }, scopedSlots: t._u([{ key: "description", fn: function() {
627
+ return [t._v(t._s(a.t(a.dateFormat)))];
628
+ }, proxy: !0 }]) }), t.allowTimeInput ? e(a.BentoInputField, { staticClass: "b-date-range-picker-calendar__form-input", attrs: { "aria-label": a.t("timeTo"), "model-value": a.dateTextInput.endTime, error: a.endTimeError }, on: { "update:model-value": a.onEndTimeInput, keydown: a.onTimeInputKeyDown }, scopedSlots: t._u([{ key: "description", fn: function() {
629
+ return [t._v("HH:MM:SS")];
630
+ }, proxy: !0 }], null, !1, 3442289499) }) : t._e()], 1)], 1)], 2), a.hasSlot("actions") ? e("div", [t._t("actions")], 2) : t._e()]), a.hasNoCalendars ? t._e() : e("div", { staticClass: "b-date-range-picker-calendar__calendars-container", attrs: { "data-testid": "date-range-picker-calendar-calendar-container" } }, [e(a.Calendar, { attrs: { value: a.internalRangeDate, "first-day-of-week": t.firstDayOfWeek, "is-date-disabled": t.isDateDisabled, "max-range": t.maxRange, min: a.computedMinMax.min, max: a.computedMinMax.max, "number-of-months": t.numberOfMonths, "show-end-date-on-open": t.showEndDateOnOpen, granularity: a.selectedGranularity, variant: t.variant, "is-range": "" }, on: { input: a.onDateInput, "start-date-selected": a.onStartDateSelected, "end-date-selected": a.onEndDateSelected } })], 1)]);
631
+ }, zt = [], Vt = /* @__PURE__ */ Ke(
632
+ Ht,
633
+ Kt,
634
+ zt,
635
+ !1,
636
+ null,
637
+ "07ae1470"
638
+ );
639
+ const Jt = Vt.exports, Xt = {
640
+ "en-US": {
641
+ apply: "Apply",
642
+ cancel: "Cancel",
643
+ dateRangePicker: "Date range picker {name}",
644
+ provideDateInAFormat: "Provide date in a YYYY-MM-DD format",
645
+ quarter: "Q{quarter} {year}",
646
+ selectDate: "Select a date",
647
+ selectDateRange: "Select a date range",
648
+ selectedDateIsNotAvailable: "Selected date is not available"
649
+ },
650
+ "ja-JP": {
651
+ apply: "適用",
652
+ cancel: "キャンセル",
653
+ dateRangePicker: "日付範囲ピッカー {name}",
654
+ provideDateInAFormat: "YYYY-MM-DD形式で日付を入力してください",
655
+ quarter: "{year}年第{quarter}四半期",
656
+ selectDate: "日付を選択",
657
+ selectDateRange: "日付範囲を選択",
658
+ selectedDateIsNotAvailable: "選択した日付は利用できません"
659
+ },
660
+ "pt-BR": {
661
+ apply: "Aplicar",
662
+ cancel: "Cancelar",
663
+ dateRangePicker: "Seletor de intervalo de datas {name}",
664
+ provideDateInAFormat: "Forneça a data no formato AAAA-MM-DD",
665
+ quarter: "{quarter}º trimestre de {year}",
666
+ selectDate: "Selecione uma data",
667
+ selectDateRange: "Selecione um intervalo de datas",
668
+ selectedDateIsNotAvailable: "A data selecionada não está disponível"
669
+ }
670
+ }, Zt = ({
671
+ datePickerValue: r,
672
+ isDateIncorrect: t,
673
+ quickSelectRanges: e,
674
+ isMonthVariant: a,
675
+ withTimeInput: l,
676
+ placeholder: m
677
+ }) => {
678
+ const { locale: D, t: v } = be(), { dateToInputDateString: Q } = Re(), N = (p) => !!p && !isNaN(p.getTime()), y = ye({
679
+ startDate: null,
680
+ endDate: null,
681
+ startTime: null,
682
+ endTime: null
683
+ });
684
+ return ve(
685
+ r,
686
+ (p) => {
687
+ y.startDate = Q(p == null ? void 0 : p.startDate), y.endDate = Q(p == null ? void 0 : p.endDate), y.startTime = C(p == null ? void 0 : p.startDate), y.endTime = C(p == null ? void 0 : p.endDate);
688
+ },
689
+ { immediate: !0 }
690
+ ), {
691
+ // Values
692
+ dateDisplayValue: f(() => {
693
+ var A;
694
+ if (t.value)
695
+ return `${y.startDate || ""} - ${y.endDate || ""}`;
696
+ if (!r.value || !r.value.startDate && !r.value.endDate)
697
+ return (m == null ? void 0 : m.value) || v("selectDateRange");
698
+ if ((A = e.value) != null && A.length) {
699
+ const F = e.value.find(({ value: B }) => {
700
+ var s;
701
+ return B === ((s = r.value) == null ? void 0 : s.range);
702
+ });
703
+ if (F)
704
+ return F.label;
705
+ }
706
+ if (r.value.granularity === "quarterly") {
707
+ const { startDate: F, endDate: B } = r.value, s = v("quarter", { quarter: Pe(F), year: Ne(F) });
708
+ if (Bt(F, B))
709
+ return s;
710
+ const _ = v("quarter", { quarter: Pe(B), year: Ne(B) });
711
+ return `${s} - ${_}`;
712
+ }
713
+ if (!N(r.value.startDate) || !N(r.value.endDate))
714
+ return `${y.startDate || ""} - ${y.endDate || ""}`;
715
+ let p = a != null && a.value ? { month: "long", year: "numeric" } : { month: "short", day: "2-digit", year: "numeric" };
716
+ return l.value && (p = {
717
+ ...p,
718
+ hour: "numeric",
719
+ minute: "numeric",
720
+ second: "numeric",
721
+ hour12: !1
722
+ }), Rt(D.value, p).formatRange(
723
+ r.value.startDate,
724
+ r.value.endDate
725
+ );
726
+ }),
727
+ textInputDisplayValue: y,
728
+ // Methods
729
+ formatTextInputDisplayValue: () => ""
730
+ };
731
+ }, ea = {
732
+ i18n: { messages: Xt },
733
+ name: "bento-date-range-picker",
734
+ model: { prop: "modelValue" }
735
+ }, ta = /* @__PURE__ */ We({
736
+ ...ea,
737
+ props: {
738
+ description: { default: void 0 },
739
+ disabled: { type: Boolean, default: !1 },
740
+ errorMessage: { default: null },
741
+ label: { default: void 0 },
742
+ optional: { type: Boolean, default: !1 },
743
+ placeholder: { default: null },
744
+ readonly: { type: Boolean, default: !1 },
745
+ required: { type: Boolean, default: !1 },
746
+ tooltipText: { default: null },
747
+ allowTimeInput: { type: Boolean },
748
+ firstDayOfWeek: { default: void 0 },
749
+ granularities: null,
750
+ isDateDisabled: { default: void 0 },
751
+ showEndDateOnOpen: { type: Boolean, default: !1 },
752
+ quickSelectRanges: { default: void 0 },
753
+ maxRange: { default: null },
754
+ min: { default: null },
755
+ max: { default: null },
756
+ numberOfMonths: { default: void 0 },
757
+ modelValue: { default: null },
758
+ value: { default: null },
759
+ variant: { default: void 0 },
760
+ hasActions: { type: Boolean, default: !1 }
761
+ },
762
+ emits: ["update:model-value", "input"],
763
+ setup(r, { emit: t }) {
764
+ const e = r, a = it(), { t: l } = be(), { dateToInputDateString: m } = Re(), D = ne("bento-date-range-picker-container"), v = ne("bento-date-range-picker-label"), Q = ne("bento-date-range-picker-description"), N = ne("bento-date-range-picker-error"), y = ne("bento-date-range-picker-date-error"), X = f(() => e.label || l("dateRangePicker", { name: D })), { resolvedFirstDayOfWeek: H } = yt(Te(e, "firstDayOfWeek")), p = ut({
765
+ none: 0,
766
+ one: 710,
767
+ // width of date range picker with one panes
768
+ two: 1030,
769
+ // width of date range picker with two panes
770
+ three: 1290
771
+ // width of date range picker with three panes
772
+ }), A = f(() => {
773
+ const d = p.active().value, S = {
774
+ none: 0,
775
+ one: 1,
776
+ two: 2
777
+ };
778
+ if (d in S) {
779
+ const me = S[d];
780
+ return e.numberOfMonths === void 0 ? me : Math.min(e.numberOfMonths, me);
781
+ }
782
+ return e.numberOfMonths;
783
+ }), F = f(() => (e == null ? void 0 : e.quickSelectRanges) && e.quickSelectRanges.map((d) => {
784
+ const S = d.data.endDate ? void 0 : new Date(Date.now()).getTime() - d.data.startDate.getTime();
785
+ return {
786
+ ...d,
787
+ data: {
788
+ ...d.data,
789
+ // Adding timeDifference to calculate an up-to-date endDate on range selection
790
+ timeDifference: S
791
+ }
792
+ };
793
+ })), B = f(() => e.label ? v : (a == null ? void 0 : a["aria-labelledby"]) ?? null), s = O(!1), _ = O(null), R = O(!1), { isReadOnly: ge } = St(Te(e, "readonly")), { emitValue: Z } = Ft(t);
794
+ ve(
795
+ () => e.disabled,
796
+ () => {
797
+ e.disabled && R.value && (R.value = !1);
798
+ }
799
+ );
800
+ const W = f(() => e.modelValue || e.value), se = f(() => e.hasActions ? !U.value && s.value : s.value), oe = f(() => ({
801
+ "b-date-range-picker__description--error": !!e.errorMessage || se.value
802
+ })), b = f(() => e.variant === "month"), ee = f(() => e.allowTimeInput && e.variant !== "month"), { dateDisplayValue: $, textInputDisplayValue: T, formatTextInputDisplayValue: le } = Zt({
803
+ datePickerValue: W,
804
+ isDateIncorrect: s,
805
+ quickSelectRanges: F,
806
+ isMonthVariant: b,
807
+ withTimeInput: ee,
808
+ placeholder: Te(e, "placeholder")
809
+ }), ie = f(
810
+ () => `${e.description ? Q : ""} ${e.errorMessage ? N : ""} ${s.value ? y : ""}`.trim() || null
811
+ ), K = () => {
812
+ R.value = !1;
813
+ }, ue = () => {
814
+ R.value = !0;
815
+ }, z = O($.value), V = O(
816
+ // textInputDisplayValue is a reactive object
817
+ structuredClone(_e(T))
818
+ ), k = O(e.modelValue ?? e.value), U = O(!0), te = f(
819
+ () => e.hasActions ? V.value : T
820
+ ), M = f(
821
+ () => e.hasActions ? z.value : $.value
822
+ );
823
+ $e(() => {
824
+ if (e.hasActions || we(
825
+ 'BentoDateRangePicker "hasActions" property',
826
+ `Set the BentoDateRangePicker "hasActions" property true which will display the "Apply" and "Cancel" buttons.
827
+ This will be the default behavior in the v2 and "hasActions" will be removed.`,
828
+ "2.0.0"
829
+ ), e.value && we(
830
+ 'BentoDateRangePicker "value" property',
831
+ 'The use of "value" prop in "BentoDateRangePicker" is no longer supported. Use the "v-model" or "model-value" property instead.',
832
+ "2.0.0"
833
+ ), e.granularities && e.variant !== "month" && e.granularities.find(({ type: d }) => d === "quarterly"))
834
+ throw new Error('Quarterly granularity is only supported by BentoDateRangePicker with variant: "month"');
835
+ }), ve([() => e.value, () => e.modelValue], () => {
836
+ z.value = $.value, V.value = structuredClone(_e(T));
837
+ });
838
+ const G = f(() => [
839
+ {
840
+ title: l("apply"),
841
+ event: () => {
842
+ Z(k.value), K(), U.value = !0;
843
+ },
844
+ disabled: U.value
845
+ },
846
+ {
847
+ title: l("cancel"),
848
+ event: K
849
+ }
850
+ ]);
851
+ return ve(k, (d) => {
852
+ if (e.hasActions) {
853
+ U.value = s.value;
854
+ return;
855
+ }
856
+ Z(d);
857
+ }), { __sfc: !0, emit: t, props: e, attrs: a, t: l, dateToInputDateString: m, datePickerContainerId: D, labelId: v, descriptionId: Q, errorId: N, dateErrorId: y, popoverAriaLabel: X, resolvedFirstDayOfWeek: H, breakpoints: p, computedNumberOfMonths: A, adjustedQuickSelectRanges: F, dropdownInputAriaLabelledBy: B, isDateIncorrect: s, inputContainerRef: _, isDateRangePickerOpen: R, isReadOnly: ge, emitValue: Z, internalModelValue: W, shouldDisplayError: se, descriptionConditionalClasses: oe, isMonthVariant: b, withTimeInput: ee, dateDisplayValue: $, textInputDisplayValue: T, formatTextInputDisplayValue: le, ariaDescribedBy: ie, closeDateRangePicker: K, openDateRangePicker: ue, localDateDisplayValue: z, localTextInputDisplayValue: V, selectedDate: k, isApplyDisabled: U, displayedTextInputValue: te, displayedDateValue: M, rangePickerButtonActions: G, onDateRangePickerInput: (d) => {
858
+ s.value = !1, T.startDate = m(d.startDate), T.endDate = m(d.endDate), T.startTime = C(d.startDate), T.endTime = C(d.endDate), k.value = d;
859
+ }, clearDateRangePickerValue: async () => {
860
+ s.value && (s.value = !1), k.value = null;
861
+ }, onEnterPressedOverInput: () => {
862
+ if (!R.value) {
863
+ R.value = !0;
864
+ return;
865
+ }
866
+ s.value || (R.value = !1);
867
+ }, onDateRangePickerFormDateInputUpdate: (d) => {
868
+ s.value = !1, d.startTime && (T.startTime = d.startTime), d.endTime && (T.endTime = d.endTime);
869
+ }, onDateRangePickerError: (d) => {
870
+ s.value = !0, T.startDate = d.startDate, T.endDate = d.endDate, k.value = { startDate: null, endDate: null };
871
+ }, onRangeSelectorInput: (d) => {
872
+ d && (T.startDate = m(d.startDate), T.endDate = m(d.endDate), T.startTime = C(d.startDate), T.endTime = C(d.endDate), k.value = d);
873
+ }, BentoButtonActions: mt, BentoButtonActionsLayout: wt, BentoDivider: dt, BentoPopover: ct, BentoTypography: Ge, DateRangePickerCalendar: Jt, DropdownInputDefault: Mt, ErrorMessage: Ct, FieldLabel: Ot, vBentoClickOutsideDirective: Et };
874
+ }
875
+ });
876
+ var aa = function() {
877
+ var t = this, e = t._self._c, a = t._self._setupProxy;
878
+ return e("div", { directives: [{ name: "bento-click-outside-directive", rawName: "v-bento-click-outside-directive", value: a.closeDateRangePicker, expression: "closeDateRangePicker" }], staticClass: "b-date-range-picker" }, [t.label ? e(a.FieldLabel, { attrs: { id: a.labelId, label: t.label, "tooltip-text": t.tooltipText, optional: t.optional, required: t.required } }) : t._e(), e("div", { on: { keydown: function(l) {
879
+ return !l.type.indexOf("key") && t._k(l.keyCode, "enter", 13, l.key, "Enter") ? null : a.onEnterPressedOverInput.apply(null, arguments);
880
+ } } }, [e(a.DropdownInputDefault, { ref: "inputContainerRef", attrs: { "always-combobox-is-input": "", ariaControls: a.datePickerContainerId, ariaExpanded: a.isDateRangePickerOpen, "aria-labelledby": a.dropdownInputAriaLabelledBy, "aria-describedby": a.ariaDescribedBy, "aria-required": t.required, disabled: t.disabled, "is-invalid": !!t.errorMessage || a.shouldDisplayError, open: a.isDateRangePickerOpen, "display-value": a.displayedDateValue, readonly: a.isReadOnly }, on: { open: a.openDateRangePicker, clear: a.clearDateRangePickerValue, close: a.closeDateRangePicker } })], 1), a.shouldDisplayError ? e(a.ErrorMessage, { staticClass: "b-date-range-picker__error-message", attrs: { id: a.dateErrorId, "error-message": a.t("provideDateInAFormat") } }) : t._e(), t.errorMessage ? e(a.ErrorMessage, { staticClass: "b-date-range-picker__error-message", attrs: { id: a.errorId, "error-message": t.errorMessage } }) : t._e(), t.description ? e(a.BentoTypography, { staticClass: "b-date-range-picker__description", class: a.descriptionConditionalClasses, attrs: { id: a.descriptionId, el: "span" } }, [t._v(" " + t._s(t.description) + " ")]) : t._e(), a.inputContainerRef ? e(a.BentoPopover, { staticClass: "b-date-range-picker__container", attrs: { id: a.datePickerContainerId, open: a.isDateRangePickerOpen, "target-element": a.inputContainerRef, "aria-label": a.popoverAriaLabel, position: "bottom-start", "without-space": "", "fit-content": "", "trap-all": "", "overflow-visible": "" }, nativeOn: { keydown: function(l) {
881
+ return !l.type.indexOf("key") && t._k(l.keyCode, "esc", 27, l.key, ["Esc", "Escape"]) ? null : a.closeDateRangePicker.apply(null, arguments);
882
+ } } }, [e(a.DateRangePickerCalendar, { attrs: { "allow-time-input": a.withTimeInput, "quick-select-ranges": a.adjustedQuickSelectRanges, value: a.internalModelValue, "first-day-of-week": a.resolvedFirstDayOfWeek, granularities: t.granularities, "is-date-disabled": t.isDateDisabled, "max-range": t.maxRange, min: t.min, max: t.max, "number-of-months": a.computedNumberOfMonths, "show-end-date-on-open": t.showEndDateOnOpen, "date-form-data": a.displayedTextInputValue, variant: t.variant }, on: { "custom-range": a.onRangeSelectorInput, input: a.onDateRangePickerInput, error: a.onDateRangePickerError, "form-date": a.onDateRangePickerFormDateInputUpdate }, scopedSlots: t._u([t.hasActions ? { key: "actions", fn: function() {
883
+ return [e(a.BentoDivider), e("div", { staticClass: "b-date-range-picker__footer" }, [e(a.BentoButtonActions, { attrs: { actions: a.rangePickerButtonActions, layout: a.BentoButtonActionsLayout.SPACE_BETWEEN } })], 1)];
884
+ }, proxy: !0 } : null], null, !0) })], 1) : t._e()], 1);
885
+ }, na = [], ra = /* @__PURE__ */ Ke(
886
+ ta,
887
+ aa,
888
+ na,
889
+ !1,
890
+ null,
891
+ "fbf1b83e"
892
+ );
893
+ const Ca = ra.exports;
894
+ export {
895
+ Ca as B,
896
+ Jt as D,
897
+ xt as a,
898
+ fe as i
899
+ };
900
+ //# sourceMappingURL=date-range-picker.CJexeNJg.js.map