@adyen/bento-vue3 1.92.2 → 1.93.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 (214) hide show
  1. package/dist/@types/components.d.ts +8 -0
  2. package/dist/@types/index.d.ts +1191 -717
  3. package/dist/action-bar.js +1 -1
  4. package/dist/ai-tag.js +1 -1
  5. package/dist/anchor-scroller.js +1 -1
  6. package/dist/assets/accordion-item.css +1 -1
  7. package/dist/assets/action-bar.css +1 -1
  8. package/dist/assets/base-modal.css +1 -1
  9. package/dist/assets/button-actions.css +1 -1
  10. package/dist/assets/card.css +1 -1
  11. package/dist/assets/data-grid.css +1 -1
  12. package/dist/assets/dialog-page.css +1 -1
  13. package/dist/assets/drawer.css +1 -0
  14. package/dist/assets/file-uploader.css +1 -1
  15. package/dist/assets/inspector.css +1 -1
  16. package/dist/assets/modal-fullscreen.css +1 -1
  17. package/dist/assets/navigation-menu-group.css +1 -0
  18. package/dist/assets/secondary-nav.css +1 -1
  19. package/dist/assets/sidepanel.css +1 -1
  20. package/dist/button.js +1 -1
  21. package/dist/card.js +1 -1
  22. package/dist/checkbox.js +2 -2
  23. package/dist/chunks/{action-bar.BxyRAZn1.js → action-bar.B-OoRono.js} +4 -4
  24. package/dist/chunks/{action-bar.BxyRAZn1.js.map → action-bar.B-OoRono.js.map} +1 -1
  25. package/dist/chunks/{ai-tag.CpeZm2Yf.js → ai-tag.BbQ3hh1b.js} +2 -2
  26. package/dist/chunks/{ai-tag.CpeZm2Yf.js.map → ai-tag.BbQ3hh1b.js.map} +1 -1
  27. package/dist/chunks/{anchor-scroller.DSfXK6vK.js → anchor-scroller.WJlZwrLh.js} +2 -2
  28. package/dist/chunks/{anchor-scroller.DSfXK6vK.js.map → anchor-scroller.WJlZwrLh.js.map} +1 -1
  29. package/dist/chunks/{base-modal.C8Rsc2oO.js → base-modal.Dzvnfomn.js} +5 -5
  30. package/dist/chunks/{base-modal.C8Rsc2oO.js.map → base-modal.Dzvnfomn.js.map} +1 -1
  31. package/dist/chunks/{button-actions-with-menu.KaWdHibo.js → button-actions-with-menu.DVMjHT7W.js} +3 -3
  32. package/dist/chunks/{button-actions-with-menu.KaWdHibo.js.map → button-actions-with-menu.DVMjHT7W.js.map} +1 -1
  33. package/dist/chunks/{button-actions.7Oi2Ra4p.js → button-actions.Dp3VkQWU.js} +3 -3
  34. package/dist/chunks/{button-actions.7Oi2Ra4p.js.map → button-actions.Dp3VkQWU.js.map} +1 -1
  35. package/dist/chunks/{calendar.DfMwuOIR.js → calendar.DPSJK8zi.js} +55 -55
  36. package/dist/chunks/{calendar.DfMwuOIR.js.map → calendar.DPSJK8zi.js.map} +1 -1
  37. package/dist/chunks/{card.7q8tTfjG.js → card.oClcA99e.js} +2 -2
  38. package/dist/chunks/{card.7q8tTfjG.js.map → card.oClcA99e.js.map} +1 -1
  39. package/dist/chunks/{checkbox-group.CgrmMYbN.js → checkbox-group.BjLXIH31.js} +3 -3
  40. package/dist/chunks/{checkbox-group.CgrmMYbN.js.map → checkbox-group.BjLXIH31.js.map} +1 -1
  41. package/dist/chunks/{checkbox.CdkqCAAL.js → checkbox.BEQ8QnKY.js} +18 -18
  42. package/dist/chunks/{checkbox.CdkqCAAL.js.map → checkbox.BEQ8QnKY.js.map} +1 -1
  43. package/dist/chunks/{code-snippet.Dtb7CDv9.js → code-snippet.B51W5xRW.js} +5 -5
  44. package/dist/chunks/{code-snippet.Dtb7CDv9.js.map → code-snippet.B51W5xRW.js.map} +1 -1
  45. package/dist/chunks/{controls-group.DqRpF9bh.js → controls-group.i2Lxh7sB.js} +2 -2
  46. package/dist/chunks/{controls-group.DqRpF9bh.js.map → controls-group.i2Lxh7sB.js.map} +1 -1
  47. package/dist/chunks/{copy.CL893i9-.js → copy.C4LTKtNj.js} +3 -3
  48. package/dist/chunks/{copy.CL893i9-.js.map → copy.C4LTKtNj.js.map} +1 -1
  49. package/dist/chunks/{dashboard-section.kwKlujP-.js → dashboard-section.TSdidWWP.js} +3 -3
  50. package/dist/chunks/{dashboard-section.kwKlujP-.js.map → dashboard-section.TSdidWWP.js.map} +1 -1
  51. package/dist/chunks/{dashed-underline.ADDEdamG.js → dashed-underline.C0n0UG5_.js} +3 -3
  52. package/dist/chunks/{dashed-underline.ADDEdamG.js.map → dashed-underline.C0n0UG5_.js.map} +1 -1
  53. package/dist/chunks/{data-grid-template.C69yN3ZR.js → data-grid-template.DNJI6xng.js} +3 -3
  54. package/dist/chunks/{data-grid-template.C69yN3ZR.js.map → data-grid-template.DNJI6xng.js.map} +1 -1
  55. package/dist/chunks/{data-grid.T-FnwChG.js → data-grid.CZjC3vWa.js} +18 -18
  56. package/dist/chunks/{data-grid.T-FnwChG.js.map → data-grid.CZjC3vWa.js.map} +1 -1
  57. package/dist/chunks/{date-picker.hUcnFn4K.js → date-picker.BhseFocw.js} +8 -8
  58. package/dist/chunks/{date-picker.hUcnFn4K.js.map → date-picker.BhseFocw.js.map} +1 -1
  59. package/dist/chunks/{date-range-picker.BM5gxJcL.js → date-range-picker.DK9M8DHP.js} +369 -369
  60. package/dist/chunks/{date-range-picker.BM5gxJcL.js.map → date-range-picker.DK9M8DHP.js.map} +1 -1
  61. package/dist/chunks/{dialog-page.Bh-7RAwX.js → dialog-page.DM3Lie55.js} +2 -2
  62. package/dist/chunks/{dialog-page.Bh-7RAwX.js.map → dialog-page.DM3Lie55.js.map} +1 -1
  63. package/dist/chunks/{draggable-handle.BWHOlabB.js → draggable-handle.B8QnrFve.js} +2 -2
  64. package/dist/chunks/{draggable-handle.BWHOlabB.js.map → draggable-handle.B8QnrFve.js.map} +1 -1
  65. package/dist/chunks/drawer.EtJfGbNI.js +55 -0
  66. package/dist/chunks/drawer.EtJfGbNI.js.map +1 -0
  67. package/dist/chunks/{dropdown-tag.Sk2n9gbl.js → dropdown-tag.vZytpy7r.js} +3 -3
  68. package/dist/chunks/{dropdown-tag.Sk2n9gbl.js.map → dropdown-tag.vZytpy7r.js.map} +1 -1
  69. package/dist/chunks/{dropdown.CuIBYLdy.js → dropdown.B4pTluCz.js} +5 -5
  70. package/dist/chunks/{dropdown.CuIBYLdy.js.map → dropdown.B4pTluCz.js.map} +1 -1
  71. package/dist/chunks/{es6.C1DXQV6f.js → es6.Cu3DYUPA.js} +3 -3
  72. package/dist/chunks/es6.Cu3DYUPA.js.map +1 -0
  73. package/dist/chunks/{field-label.DZYFjFgr.js → field-label.B_E_3J8j.js} +2 -2
  74. package/dist/chunks/{field-label.DZYFjFgr.js.map → field-label.B_E_3J8j.js.map} +1 -1
  75. package/dist/chunks/{file-uploader.B5_l2uQO.js → file-uploader.C8k__hVq.js} +3 -3
  76. package/dist/chunks/{file-uploader.B5_l2uQO.js.map → file-uploader.C8k__hVq.js.map} +1 -1
  77. package/dist/chunks/{filter-bar.BA2Rtf_p.js → filter-bar.r_s53sYN.js} +21 -21
  78. package/dist/chunks/{filter-bar.BA2Rtf_p.js.map → filter-bar.r_s53sYN.js.map} +1 -1
  79. package/dist/chunks/{focus-trap.BAiM_ywb.js → focus-trap.D24gS9oB.js} +26 -26
  80. package/dist/chunks/{focus-trap.BAiM_ywb.js.map → focus-trap.D24gS9oB.js.map} +1 -1
  81. package/dist/chunks/{footer-actions.4Qj_I3cd.js → footer-actions.D6m7ct7i.js} +2 -2
  82. package/dist/chunks/{footer-actions.4Qj_I3cd.js.map → footer-actions.D6m7ct7i.js.map} +1 -1
  83. package/dist/chunks/{header-meta.BJjFOcxY.js → header-meta.BCyK7ndE.js} +3 -3
  84. package/dist/chunks/{header-meta.BJjFOcxY.js.map → header-meta.BCyK7ndE.js.map} +1 -1
  85. package/dist/chunks/{header-with-views.CYBBcnCP.js → header-with-views.Cg3TfbGl.js} +10 -10
  86. package/dist/chunks/{header-with-views.CYBBcnCP.js.map → header-with-views.Cg3TfbGl.js.map} +1 -1
  87. package/dist/chunks/{header.5RQulwlL.js → header.FZwBPZLA.js} +3 -3
  88. package/dist/chunks/{header.5RQulwlL.js.map → header.FZwBPZLA.js.map} +1 -1
  89. package/dist/chunks/{index.DDwcHPb6.js → index.CxrHirmk.js} +15 -15
  90. package/dist/chunks/{index.DDwcHPb6.js.map → index.CxrHirmk.js.map} +1 -1
  91. package/dist/chunks/{info-icon.B3MDsjMu.js → info-icon.PcvZwhgr.js} +3 -3
  92. package/dist/chunks/{info-icon.B3MDsjMu.js.map → info-icon.PcvZwhgr.js.map} +1 -1
  93. package/dist/chunks/{input-field-password.CpRKmq4h.js → input-field-password.CeG5ZP5I.js} +6 -6
  94. package/dist/chunks/{input-field-password.CpRKmq4h.js.map → input-field-password.CeG5ZP5I.js.map} +1 -1
  95. package/dist/chunks/{input-field-phone-number.BZy1o9VW.js → input-field-phone-number.86z6mzPz.js} +3 -3
  96. package/dist/chunks/{input-field-phone-number.BZy1o9VW.js.map → input-field-phone-number.86z6mzPz.js.map} +1 -1
  97. package/dist/chunks/{input-field.BseE_MT0.js → input-field.B7wHgguP.js} +3 -3
  98. package/dist/chunks/input-field.B7wHgguP.js.map +1 -0
  99. package/dist/chunks/{input-time.DAxp5Kku.js → input-time.PpFtmHYm.js} +4 -4
  100. package/dist/chunks/{input-time.DAxp5Kku.js.map → input-time.PpFtmHYm.js.map} +1 -1
  101. package/dist/chunks/{inspector.DMhKNW1K.js → inspector.BNZxnDFh.js} +3 -3
  102. package/dist/chunks/{inspector.DMhKNW1K.js.map → inspector.BNZxnDFh.js.map} +1 -1
  103. package/dist/chunks/{layout-row.B5VJGEQH.js → layout-row.ByVDza7f.js} +8 -8
  104. package/dist/chunks/{layout-row.B5VJGEQH.js.map → layout-row.ByVDza7f.js.map} +1 -1
  105. package/dist/chunks/{list-item.BHvXpqaS.js → list-item.B2tBYsTW.js} +2 -2
  106. package/dist/chunks/{list-item.BHvXpqaS.js.map → list-item.B2tBYsTW.js.map} +1 -1
  107. package/dist/chunks/{listbox-option-tag.CVxaZqbc.js → listbox-option-tag.ByoUG-fO.js} +2 -2
  108. package/dist/chunks/{listbox-option-tag.CVxaZqbc.js.map → listbox-option-tag.ByoUG-fO.js.map} +1 -1
  109. package/dist/chunks/{modal-fullscreen.CepaWyoi.js → modal-fullscreen.DmnnwPRi.js} +4 -4
  110. package/dist/chunks/{modal-fullscreen.CepaWyoi.js.map → modal-fullscreen.DmnnwPRi.js.map} +1 -1
  111. package/dist/chunks/{modal.vue_vue_type_script_setup_true_lang.Bh_GY-Ah.js → modal.vue_vue_type_script_setup_true_lang.2GzUt81U.js} +4 -4
  112. package/dist/chunks/{modal.vue_vue_type_script_setup_true_lang.Bh_GY-Ah.js.map → modal.vue_vue_type_script_setup_true_lang.2GzUt81U.js.map} +1 -1
  113. package/dist/chunks/navigation-menu-group.DeDmNZ4C.js +335 -0
  114. package/dist/chunks/navigation-menu-group.DeDmNZ4C.js.map +1 -0
  115. package/dist/chunks/{pagination.Ch_Occwt.js → pagination.DE2QAUeF.js} +2 -2
  116. package/dist/chunks/{pagination.Ch_Occwt.js.map → pagination.DE2QAUeF.js.map} +1 -1
  117. package/dist/chunks/popover.types.DTieDKDn.js +6 -0
  118. package/dist/chunks/{popover.types.D8tHtFl3.js.map → popover.types.DTieDKDn.js.map} +1 -1
  119. package/dist/chunks/{popper-container.DMN8n5iC.js → popper-container.Agl6sImi.js} +2 -2
  120. package/dist/chunks/{popper-container.DMN8n5iC.js.map → popper-container.Agl6sImi.js.map} +1 -1
  121. package/dist/chunks/{promo-banner.-H4r_cwj.js → promo-banner.DMmSl_ca.js} +8 -8
  122. package/dist/chunks/{promo-banner.-H4r_cwj.js.map → promo-banner.DMmSl_ca.js.map} +1 -1
  123. package/dist/chunks/{radio-group.CfMr1fmW.js → radio-group.BxJS4qfR.js} +3 -3
  124. package/dist/chunks/{radio-group.CfMr1fmW.js.map → radio-group.BxJS4qfR.js.map} +1 -1
  125. package/dist/chunks/{rich-text-editor.CSvPpLth.js → rich-text-editor.By4B8RWI.js} +4 -4
  126. package/dist/chunks/{rich-text-editor.CSvPpLth.js.map → rich-text-editor.By4B8RWI.js.map} +1 -1
  127. package/dist/chunks/{search-bar.BRf_Mf7n.js → search-bar.7jhPiuah.js} +4 -4
  128. package/dist/chunks/{search-bar.BRf_Mf7n.js.map → search-bar.7jhPiuah.js.map} +1 -1
  129. package/dist/chunks/{secondary-nav.CROQNbYk.js → secondary-nav.CuhX-Akn.js} +4 -4
  130. package/dist/chunks/{secondary-nav.CROQNbYk.js.map → secondary-nav.CuhX-Akn.js.map} +1 -1
  131. package/dist/chunks/{segmented-control.CQWOO1-J.js → segmented-control.DQSuLjJX.js} +2 -2
  132. package/dist/chunks/{segmented-control.CQWOO1-J.js.map → segmented-control.DQSuLjJX.js.map} +1 -1
  133. package/dist/chunks/{selection-card-group.58XZj_SJ.js → selection-card-group.DmqSNQPQ.js} +12 -12
  134. package/dist/chunks/{selection-card-group.58XZj_SJ.js.map → selection-card-group.DmqSNQPQ.js.map} +1 -1
  135. package/dist/chunks/{sidepanel.S037xghX.js → sidepanel.EKe43ODO.js} +5 -5
  136. package/dist/chunks/{sidepanel.S037xghX.js.map → sidepanel.EKe43ODO.js.map} +1 -1
  137. package/dist/chunks/{structured-list-item.CgJR_ufh.js → structured-list-item.BkPA7std.js} +4 -4
  138. package/dist/chunks/{structured-list-item.CgJR_ufh.js.map → structured-list-item.BkPA7std.js.map} +1 -1
  139. package/dist/chunks/{summary-grid.types.D1JQ_jtv.js → summary-grid.types.BXqnRVnK.js} +5 -5
  140. package/dist/chunks/{summary-grid.types.D1JQ_jtv.js.map → summary-grid.types.BXqnRVnK.js.map} +1 -1
  141. package/dist/chunks/{tag.YN2r-Pp3.js → tag.DkhJRE0r.js} +2 -2
  142. package/dist/chunks/{tag.YN2r-Pp3.js.map → tag.DkhJRE0r.js.map} +1 -1
  143. package/dist/chunks/{textarea.-6FHesSp.js → textarea.Cn52prhR.js} +3 -3
  144. package/dist/chunks/{textarea.-6FHesSp.js.map → textarea.Cn52prhR.js.map} +1 -1
  145. package/dist/chunks/{timeline-item.BJaFr2_Y.js → timeline-item.C6jPnHUZ.js} +6 -6
  146. package/dist/chunks/{timeline-item.BJaFr2_Y.js.map → timeline-item.C6jPnHUZ.js.map} +1 -1
  147. package/dist/chunks/{tooltip.DHfG2aRt.js → tooltip.CZ_sV-Vj.js} +3 -3
  148. package/dist/chunks/{tooltip.DHfG2aRt.js.map → tooltip.CZ_sV-Vj.js.map} +1 -1
  149. package/dist/chunks/{tutorial.vue_vue_type_script_setup_true_lang.D_Z1zKam.js → tutorial.vue_vue_type_script_setup_true_lang.Z5MhMTSh.js} +4 -4
  150. package/dist/chunks/{tutorial.vue_vue_type_script_setup_true_lang.D_Z1zKam.js.map → tutorial.vue_vue_type_script_setup_true_lang.Z5MhMTSh.js.map} +1 -1
  151. package/dist/chunks/{use-cached-selected-values.DUWGSMvO.js → use-cached-selected-values.D_CQxKZa.js} +2 -2
  152. package/dist/chunks/{use-cached-selected-values.DUWGSMvO.js.map → use-cached-selected-values.D_CQxKZa.js.map} +1 -1
  153. package/dist/chunks/{use-date-input-formatter.BH4hdEJW.js → use-date-input-formatter.NK5sHoV9.js} +2 -2
  154. package/dist/chunks/{use-date-input-formatter.BH4hdEJW.js.map → use-date-input-formatter.NK5sHoV9.js.map} +1 -1
  155. package/dist/code-snippet.js +1 -1
  156. package/dist/dashboard-template.js +1 -1
  157. package/dist/dashed-underline.js +1 -1
  158. package/dist/data-grid-template.js +1 -1
  159. package/dist/data-grid.js +1 -1
  160. package/dist/date-picker.js +2 -2
  161. package/dist/date-range-picker.js +2 -2
  162. package/dist/draggable.js +1 -1
  163. package/dist/drawer.js +5 -0
  164. package/dist/drawer.js.map +1 -0
  165. package/dist/dropdown.js +3 -3
  166. package/dist/file-uploader.js +1 -1
  167. package/dist/filter-bar.js +1 -1
  168. package/dist/focus-trap.js +1 -1
  169. package/dist/header-with-views.js +1 -1
  170. package/dist/header.js +1 -1
  171. package/dist/index.js +283 -277
  172. package/dist/index.js.map +1 -1
  173. package/dist/info-icon.js +1 -1
  174. package/dist/input-field-password.js +1 -1
  175. package/dist/input-field-phone-number.js +1 -1
  176. package/dist/input-field.js +1 -1
  177. package/dist/input-time.js +1 -1
  178. package/dist/inspector.js +1 -1
  179. package/dist/internal.js +11 -11
  180. package/dist/layout.js +1 -1
  181. package/dist/list.js +1 -1
  182. package/dist/menu.js +1 -1
  183. package/dist/modal-fullscreen.js +1 -1
  184. package/dist/modal.js +2 -2
  185. package/dist/navigation-menu.js +7 -0
  186. package/dist/navigation-menu.js.map +1 -0
  187. package/dist/pagination.js +1 -1
  188. package/dist/popover.js +2 -2
  189. package/dist/popper-container.js +1 -1
  190. package/dist/promo-banner.js +1 -1
  191. package/dist/radio-group.js +1 -1
  192. package/dist/rich-text-editor.js +1 -1
  193. package/dist/search-bar.js +2 -2
  194. package/dist/secondary-nav.js +1 -1
  195. package/dist/segmented-control.js +1 -1
  196. package/dist/selection-card.js +1 -1
  197. package/dist/sidepanel.js +1 -1
  198. package/dist/structured-list.js +1 -1
  199. package/dist/styles/bento-dark.css +3 -0
  200. package/dist/styles/bento-light.css +3 -0
  201. package/dist/styles/bento.css +3 -0
  202. package/dist/styles/legacy.css +3 -0
  203. package/dist/styles/styleguide.css +3 -0
  204. package/dist/styles/utility.css +9 -0
  205. package/dist/summary-grid.js +1 -1
  206. package/dist/tag.js +1 -1
  207. package/dist/textarea.js +1 -1
  208. package/dist/timeline.js +1 -1
  209. package/dist/tutorial.js +1 -1
  210. package/dist/web-types.json +1 -1
  211. package/package.json +5 -5
  212. package/dist/chunks/es6.C1DXQV6f.js.map +0 -1
  213. package/dist/chunks/input-field.BseE_MT0.js.map +0 -1
  214. package/dist/chunks/popover.types.D8tHtFl3.js +0 -6
@@ -1,29 +1,29 @@
1
- import { reactive as Te, defineComponent as sa, useSlots as Oa, ref as C, computed as c, onMounted as oa, openBlock as S, createElementBlock as ye, createElementVNode as z, normalizeClass as Me, unref as u, renderSlot as Ge, createCommentVNode as F, createBlock as N, withCtx as $, createTextVNode as ne, toDisplayString as ge, createVNode as V, createSlots as Ee, toRaw as Oe, watch as he, useAttrs as _a, toRef as Se, withDirectives as qa, withKeys as Le } from "vue";
2
- import { j as Ba } from "./index.DDwcHPb6.js";
3
- import { B as Ca } from "./divider.BIY84UH7.js";
4
- import { h as Na, B as xa } from "./button-actions.7Oi2Ra4p.js";
5
- import { B as _e, d as Qe } from "./typography.B3J6_tYk.js";
6
- import { B as Pa, D as Ua } from "./dropdown.CuIBYLdy.js";
1
+ import { reactive as Te, defineComponent as oa, useSlots as xa, ref as P, computed as c, onMounted as la, openBlock as I, createElementBlock as ye, createElementVNode as J, normalizeClass as ge, unref as u, renderSlot as Qe, createCommentVNode as F, createBlock as B, withCtx as $, createTextVNode as ne, toDisplayString as Me, createVNode as z, createSlots as Ee, toRaw as xe, watch as he, useAttrs as Oa, toRef as Ie, withDirectives as qa, withKeys as Ue } from "vue";
2
+ import { a as _a } from "./index.CxrHirmk.js";
3
+ import { B as Pa } from "./divider.BIY84UH7.js";
4
+ import { h as Ba, B as Ca } from "./button-actions.Dp3VkQWU.js";
5
+ import { B as Oe, d as We } from "./typography.B3J6_tYk.js";
6
+ import { B as Na, D as Va } from "./dropdown.B4pTluCz.js";
7
7
  import { g as ue } from "./generate-uid.DBWe4g6T.js";
8
8
  import { u as qe } from "./index.B875RXHM.js";
9
- import { h as de, i as B, j as T, k as Va, l as Je, m as Ga, s as je, n as La, o as Qa, q as Ja, r as We, t as ja, b as U, u as Wa, e as za, f as $a, v as _, p as ze, w as $e, g as Ha } from "./calendar.DfMwuOIR.js";
10
- import { u as Be, a as Ka } from "./use-date-input-formatter.BH4hdEJW.js";
9
+ import { h as de, i as _, j as T, k as za, l as je, m as Qa, s as Ge, n as Ua, o as Wa, q as ja, r as Le, t as Ga, b as V, u as La, e as Ja, f as $a, v as O, p as Je, w as $e, g as Ha } from "./calendar.DPSJK8zi.js";
10
+ import { u as _e, a as Ka } from "./use-date-input-formatter.NK5sHoV9.js";
11
11
  import { t as H, n as Xa, c as Za } from "./en-US.BR6y7foR.js";
12
12
  import { u as et } from "./use-form-layout-loading.CWbjZiwP.js";
13
13
  import { B as at } from "./directive.C8kY-ZW-.js";
14
14
  import { u as tt } from "./form-field.D_2g7vaP.js";
15
15
  import { B as nt } from "./alert.RD0qOLhx.js";
16
- import { B as He } from "./input-field.BseE_MT0.js";
17
- import { B as Ke, i as Xe } from "./input-time.DAxp5Kku.js";
18
- import { B as rt } from "./segmented-control.CQWOO1-J.js";
19
- import { d as Ze } from "./use-cached-selected-values.DUWGSMvO.js";
20
- import { u as lt } from "./use-has-slot.CyMiImRQ.js";
21
- import { u as st } from "./use-touch-device.DTqFAbXh.js";
22
- import { e as x, a as ea } from "./differenceInMonths.yz4Dfe-b.js";
16
+ import { B as He } from "./input-field.B7wHgguP.js";
17
+ import { B as Ke, i as Xe } from "./input-time.PpFtmHYm.js";
18
+ import { B as rt } from "./segmented-control.DQSuLjJX.js";
19
+ import { d as Ze } from "./use-cached-selected-values.D_CQxKZa.js";
20
+ import { u as st } from "./use-has-slot.CyMiImRQ.js";
21
+ import { u as ot } from "./use-touch-device.DTqFAbXh.js";
22
+ import { e as C, a as ea } from "./differenceInMonths.yz4Dfe-b.js";
23
23
  import { s as aa } from "./startOfWeek.muMEhS7U.js";
24
- import { c as ot } from "./constructNow.DyOJDyZZ.js";
24
+ import { c as lt } from "./constructNow.DyOJDyZZ.js";
25
25
  import { _ as ia } from "./_plugin-vue_export-helper.CHgC5LLL.js";
26
- import { F as it } from "./field-label.DZYFjFgr.js";
26
+ import { F as it } from "./field-label.B_E_3J8j.js";
27
27
  import { E as ta } from "./error-message.Dyvrw6ZB.js";
28
28
  import { B as ut } from "./button-actions.types.BptAXjD8.js";
29
29
  import "../assets/date-range-picker.css";
@@ -34,12 +34,12 @@ function we(n, m) {
34
34
  return +H(n) == +H(m);
35
35
  }
36
36
  function dt(n, m, v) {
37
- const [o, p] = Xa(
37
+ const [l, p] = Xa(
38
38
  v?.in,
39
39
  n,
40
40
  m
41
41
  );
42
- return +de(o) == +de(p);
42
+ return +de(l) == +de(p);
43
43
  }
44
44
  function ra(n, m) {
45
45
  const v = H(n, m?.in);
@@ -49,26 +49,26 @@ function Fe(n, m) {
49
49
  return +ra(n) == +ra(m);
50
50
  }
51
51
  function ct(n, m) {
52
- return B(
52
+ return _(
53
53
  Za(n, n),
54
- ot(n)
54
+ lt(n)
55
55
  );
56
56
  }
57
57
  function mt(n, m, v) {
58
- const o = H(n, v?.in);
59
- return o.setHours(m), o;
58
+ const l = H(n, v?.in);
59
+ return l.setHours(m), l;
60
60
  }
61
- function la(n, m, v) {
62
- const o = H(n, v?.in);
63
- return o.setMilliseconds(m), o;
61
+ function sa(n, m, v) {
62
+ const l = H(n, v?.in);
63
+ return l.setMilliseconds(m), l;
64
64
  }
65
65
  function Dt(n, m, v) {
66
- const o = H(n, v?.in);
67
- return o.setMinutes(m), o;
66
+ const l = H(n, v?.in);
67
+ return l.setMinutes(m), l;
68
68
  }
69
69
  function pt(n, m, v) {
70
- const o = H(n, v?.in);
71
- return o.setSeconds(m), o;
70
+ const l = H(n, v?.in);
71
+ return l.setSeconds(m), l;
72
72
  }
73
73
  const vt = ({
74
74
  firstDayOfWeek: n,
@@ -77,33 +77,33 @@ const vt = ({
77
77
  }) => ({ getGranularCalendarLimits: (p) => {
78
78
  if (!m && !v)
79
79
  return { min: null, max: null };
80
- let a = m ? T(m) : null, i = v ? x(v) : null;
80
+ let a = m ? T(m) : null, i = v ? C(v) : null;
81
81
  if (p?.type === "weekly") {
82
82
  if (p.earliest)
83
83
  a = T(p.earliest);
84
84
  else if (a) {
85
85
  const f = aa(a, { weekStartsOn: n });
86
- B(a, f) || (a = T(Va(Je(a, { weekStartsOn: n }), 1)));
86
+ _(a, f) || (a = T(za(je(a, { weekStartsOn: n }), 1)));
87
87
  }
88
88
  if (p.latest)
89
- i = x(p.latest);
89
+ i = C(p.latest);
90
90
  else if (i) {
91
- const f = Je(i, { weekStartsOn: n });
92
- B(i, f) || (i = x(Ga(aa(i, { weekStartsOn: n }), 1)));
91
+ const f = je(i, { weekStartsOn: n });
92
+ _(i, f) || (i = C(Qa(aa(i, { weekStartsOn: n }), 1)));
93
93
  }
94
94
  }
95
95
  if (p?.type === "monthly") {
96
96
  if (p.earliest)
97
97
  a = T(p.earliest);
98
98
  else if (a) {
99
- const f = je(a);
100
- B(a, f) || (a = je(La(a, 1)));
99
+ const f = Ge(a);
100
+ _(a, f) || (a = Ge(Ua(a, 1)));
101
101
  }
102
102
  if (p.latest)
103
- i = x(p.latest);
103
+ i = C(p.latest);
104
104
  else if (i) {
105
105
  const f = ea(i);
106
- B(i, f) || (i = ea(Qa(i, 1)));
106
+ _(i, f) || (i = ea(Wa(i, 1)));
107
107
  }
108
108
  }
109
109
  if (p?.type === "quarterly") {
@@ -111,13 +111,13 @@ const vt = ({
111
111
  a = de(p.earliest);
112
112
  else if (a) {
113
113
  const f = de(a);
114
- B(a, f) || (a = de(Ja(a, 1)));
114
+ _(a, f) || (a = de(ja(a, 1)));
115
115
  }
116
116
  if (p.latest)
117
- i = x(p.latest);
117
+ i = C(p.latest);
118
118
  else if (i) {
119
- const f = We(i);
120
- B(i, f) || (i = We(ja(i, 1)));
119
+ const f = Le(i);
120
+ _(i, f) || (i = Le(Ga(i, 1)));
121
121
  }
122
122
  }
123
123
  return { min: a, max: i };
@@ -130,8 +130,8 @@ const vt = ({
130
130
  });
131
131
  return {
132
132
  savedRanges: n,
133
- saveRange: (o, p) => {
134
- n[o] = p;
133
+ saveRange: (l, p) => {
134
+ n[l] = p;
135
135
  },
136
136
  resetSavedRanges: () => {
137
137
  n.daily = null, n.weekly = null, n.monthly = null, n.quarterly = null;
@@ -140,24 +140,24 @@ const vt = ({
140
140
  };
141
141
  var D = /* @__PURE__ */ ((n) => (n.CUSTOM_RANGE = "custom-range", n.INPUT = "input", n.ERROR = "error", n.FORM_DATE = "form-date", n.START_DATE_SELECTED = "start-date-selected", n))(D || {});
142
142
  const ua = {
143
- "de-DE": { "DD-MM-YYYY": "TT-MM-JJJJ", "MM-DD-YYYY": "JJJJ-MM-TT", "YYYY-MM-DD": "JJJJ-MM-TT", customRange: "Benutzerdefinierter Bereich", daily: "Täglich", dateFrom: "Datum von", dateTo: "Datum bis", lastMonth: "Letzter Monat", lastSevenDays: "Letzte 7 Tage", lastThreeMonths: "Letzte drei Monate", monthly: "Monatlich", quarterly: "Vierteljährlich", timeFrom: "Zeit von", timeTo: "Zeit bis", weekly: "Wöchentlich" },
144
- "en-GB": { "DD-MM-YYYY": "DD-MM-YYYY", "MM-DD-YYYY": "MM-DD-YYYY", "YYYY-MM-DD": "YYYY-MM-DD", customRange: "Custom range", daily: "Daily", dateFrom: "Date from", dateTo: "Date to", lastMonth: "Last month", lastSevenDays: "Last 7 days", lastThreeMonths: "The last three months", monthly: "Monthly", quarterly: "Quarterly", timeFrom: "Time from", timeTo: "Time to", weekly: "Weekly" },
143
+ "de-DE": { "DD-MM-YYYY": "TT-MM-JJJJ", "MM-DD-YYYY": "JJJJ-MM-TT", "YYYY-MM-DD": "JJJJ-MM-TT", customRange: "Benutzerdefinierter Bereich", daily: "Täglich", dateFrom: "Datum von", dateTo: "Datum bis", lastMonth: "Letzter Monat", lastSevenDays: "Letzte 7 Tage", lastThreeMonths: "Letzte drei Monate", maxRangeDays: "Sie können bis zu {count} Tag auswählen | Sie können bis zu {count} Tage auswählen", maxRangeMonths: "Sie können bis zu {count} Monat auswählen | Sie können bis zu {count} Monate auswählen", maxRangeQuarters: "Sie können bis zu {count} Quartal auswählen | Sie können bis zu {count} Quartale auswählen", maxRangeWeeks: "Sie können bis zu {count} Woche auswählen | Sie können bis zu {count} Wochen auswählen", monthly: "Monatlich", quarterly: "Vierteljährlich", timeFrom: "Zeit von", timeTo: "Zeit bis", weekly: "Wöchentlich" },
144
+ "en-GB": { "DD-MM-YYYY": "DD-MM-YYYY", "MM-DD-YYYY": "MM-DD-YYYY", "YYYY-MM-DD": "YYYY-MM-DD", customRange: "Custom range", daily: "Daily", dateFrom: "Date from", dateTo: "Date to", lastMonth: "Last month", lastSevenDays: "Last 7 days", lastThreeMonths: "The last three months", maxRangeDays: "You can select up to {count} day | You can select up to {count} days", maxRangeMonths: "You can select up to {count} month | You can select up to {count} months", maxRangeQuarters: "You can select up to {count} quarter | You can select up to {count} quarters", maxRangeWeeks: "You can select up to {count} week | You can select up to {count} weeks", monthly: "Monthly", quarterly: "Quarterly", timeFrom: "Time from", timeTo: "Time to", weekly: "Weekly" },
145
145
  "en-US": { "DD-MM-YYYY": "DD-MM-YYYY", "MM-DD-YYYY": "MM-DD-YYYY", "YYYY-MM-DD": "YYYY-MM-DD", customRange: "Custom range", daily: "Daily", dateFrom: "Date from", dateTo: "Date to", lastMonth: "Last month", lastSevenDays: "Last 7 days", lastThreeMonths: "Last three months", maxRangeDays: "You can select up to {count} day | You can select up to {count} days", maxRangeMonths: "You can select up to {count} month | You can select up to {count} months", maxRangeQuarters: "You can select up to {count} quarter | You can select up to {count} quarters", maxRangeWeeks: "You can select up to {count} week | You can select up to {count} weeks", monthly: "Monthly", quarterly: "Quarterly", timeFrom: "Time from", timeTo: "Time to", weekly: "Weekly" },
146
- "es-ES": { "DD-MM-YYYY": "DD-MM-AAAA", "MM-DD-YYYY": "MM-DD-AAAA", "YYYY-MM-DD": "AAAA-MM-DD", customRange: "Rango personalizado", daily: "Diario", dateFrom: "Fecha desde", dateTo: "Fecha hasta", lastMonth: "El mes pasado", lastSevenDays: "Últimos 7 días", lastThreeMonths: "Últimos tres meses", monthly: "Mensualmente", quarterly: "Trimestral", timeFrom: "Hora desde", timeTo: "Hora hasta", weekly: "Semanal" },
147
- "es-MX": { "DD-MM-YYYY": "DD-MM-AAAA", "MM-DD-YYYY": "MM-DD-AAAA", "YYYY-MM-DD": "AAAA-MM-DD", customRange: "Rango personalizado", daily: "Diario", dateFrom: "Fecha de", dateTo: "Fecha hasta", lastMonth: "El mes pasado", lastSevenDays: "Últimos 7 días", lastThreeMonths: "Últimos tres meses", monthly: "Mensual", quarterly: "Trimestral", timeFrom: "Tiempo desde", timeTo: "Es hora de", weekly: "Semanal" },
148
- "fr-FR": { "DD-MM-YYYY": "JJ-MM-AAAA", "MM-DD-YYYY": "MM-JJ-AAAA", "YYYY-MM-DD": "AAAA-MM-JJ", customRange: "Plage personnalisée", daily: "Quotidien", dateFrom: "Date de début", dateTo: "Date de fin", lastMonth: "Le mois dernier", lastSevenDays: "7 derniers jours", lastThreeMonths: "Trois derniers mois", monthly: "Mensuel", quarterly: "Trimestriel", timeFrom: "Heure de début", timeTo: "Heure de fin", weekly: "Hebdomadaire" },
149
- "it-IT": { "DD-MM-YYYY": "GG-MM-AAAA", "MM-DD-YYYY": "MM-GG-AAAA", "YYYY-MM-DD": "AAAA-MM-GG", customRange: "Intervallo personalizzato", daily: "Giornaliero", dateFrom: "Data da", dateTo: "Da", lastMonth: "Il mese scorso", lastSevenDays: "Ultimi 7 giorni", lastThreeMonths: "Gli ultimi tre mesi", monthly: "Mensile", quarterly: "Trimestrale", timeFrom: "Tempo dal", timeTo: "Tempo fino al", weekly: "Settimanale" },
150
- "ja-JP": { "DD-MM-YYYY": "DD-MM-YYYY", "MM-DD-YYYY": "MM-DD-YYYY", "YYYY-MM-DD": "YYYY-MM-DD", customRange: "カスタム範囲", daily: "毎日", dateFrom: "開始日", dateTo: "終了日", lastMonth: "先月", lastSevenDays: "過去 7 日間", lastThreeMonths: "過去3か月", monthly: "毎月", quarterly: "四半期ごと", timeFrom: "開始時刻", timeTo: "終了時刻", weekly: "毎週" },
151
- "pt-BR": { "DD-MM-YYYY": "DD-MM-AAAA", "MM-DD-YYYY": "MM-DD-AAAA", "YYYY-MM-DD": "AAAA-MM-DD", customRange: "Intervalo personalizado", daily: "Diário", dateFrom: "Data a partir de", dateTo: "Data até", lastMonth: "Último mês", lastSevenDays: "Últimos 7 dias", lastThreeMonths: "Últimos 3 meses", monthly: "Mensal", quarterly: "Trimestral", timeFrom: "Horário a partir de", timeTo: "Horário até", weekly: "Semanal" },
152
- "zh-CN": { "DD-MM-YYYY": "日-月-年", "MM-DD-YYYY": "YYYY-MM-DD", "YYYY-MM-DD": "年-月-日", customRange: "自定义范围", daily: "每日", dateFrom: "日期自", dateTo: "日期至", lastMonth: "上个月", lastSevenDays: "最近 7 天", lastThreeMonths: "过去三个月", monthly: "每月", quarterly: "每季度", timeFrom: "时间自", timeTo: "是时候", weekly: "每周" }
153
- }, yt = { class: "b-date-range-picker-calendar" }, Mt = { class: "b-date-range-picker-calendar__form" }, gt = { key: 0 }, ht = {
146
+ "es-ES": { "DD-MM-YYYY": "DD-MM-AAAA", "MM-DD-YYYY": "MM-DD-AAAA", "YYYY-MM-DD": "AAAA-MM-DD", customRange: "Rango personalizado", daily: "Diario", dateFrom: "Fecha desde", dateTo: "Fecha hasta", lastMonth: "El mes pasado", lastSevenDays: "Últimos 7 días", lastThreeMonths: "Últimos tres meses", maxRangeDays: "Puedes seleccionar hasta {count} día | Puedes seleccionar hasta {count} días", maxRangeMonths: "Puedes seleccionar hasta {count} mes | Puedes seleccionar hasta {count} meses", maxRangeQuarters: "Puedes seleccionar hasta {count} trimestre | Puedes seleccionar hasta {count} trimestres", maxRangeWeeks: "Puedes seleccionar hasta {count} semana | Puedes seleccionar hasta {count} semanas", monthly: "Mensualmente", quarterly: "Trimestral", timeFrom: "Hora desde", timeTo: "Hora hasta", weekly: "Semanal" },
147
+ "es-MX": { "DD-MM-YYYY": "DD-MM-AAAA", "MM-DD-YYYY": "MM-DD-AAAA", "YYYY-MM-DD": "AAAA-MM-DD", customRange: "Rango personalizado", daily: "Diario", dateFrom: "Fecha de", dateTo: "Fecha hasta", lastMonth: "El mes pasado", lastSevenDays: "Últimos 7 días", lastThreeMonths: "Últimos tres meses", maxRangeDays: "Puedes seleccionar hasta {count} día | Puedes seleccionar hasta {count} días", maxRangeMonths: "Puedes seleccionar hasta {count} mes | Puedes seleccionar hasta {count} meses", maxRangeQuarters: "Puedes seleccionar hasta {count} trimestre | Puedes seleccionar hasta {count} trimestres", maxRangeWeeks: "Puedes seleccionar hasta {count} semana | Puedes seleccionar hasta {count} semanas", monthly: "Mensual", quarterly: "Trimestral", timeFrom: "Tiempo desde", timeTo: "Es hora de", weekly: "Semanal" },
148
+ "fr-FR": { "DD-MM-YYYY": "JJ-MM-AAAA", "MM-DD-YYYY": "MM-JJ-AAAA", "YYYY-MM-DD": "AAAA-MM-JJ", customRange: "Plage personnalisée", daily: "Quotidien", dateFrom: "Date de début", dateTo: "Date de fin", lastMonth: "Le mois dernier", lastSevenDays: "7 derniers jours", lastThreeMonths: "Trois derniers mois", maxRangeDays: "Vous pouvez sélectionner jusqu'à {count} jour | Vous pouvez sélectionner jusqu'à {count} jours", maxRangeMonths: "Vous pouvez sélectionner jusqu'à {count} mois | Vous pouvez sélectionner jusqu'à {count} mois", maxRangeQuarters: "Vous pouvez sélectionner jusqu'à {count} trimestre | Vous pouvez sélectionner jusqu'à {count} trimestres", maxRangeWeeks: "Vous pouvez sélectionner jusqu'à {count} semaine | Vous pouvez sélectionner jusqu'à {count} semaines", monthly: "Mensuel", quarterly: "Trimestriel", timeFrom: "Heure de début", timeTo: "Heure de fin", weekly: "Hebdomadaire" },
149
+ "it-IT": { "DD-MM-YYYY": "GG-MM-AAAA", "MM-DD-YYYY": "MM-GG-AAAA", "YYYY-MM-DD": "AAAA-MM-GG", customRange: "Intervallo personalizzato", daily: "Giornaliero", dateFrom: "Data da", dateTo: "Da", lastMonth: "Il mese scorso", lastSevenDays: "Ultimi 7 giorni", lastThreeMonths: "Gli ultimi tre mesi", maxRangeDays: "Puoi selezionare fino a {count} giorno | Puoi selezionare fino a {count} giorni", maxRangeMonths: "Puoi selezionare fino a {count} mese | Puoi selezionare fino a {count} mesi", maxRangeQuarters: "Puoi selezionare fino a {count} trimestre | Puoi selezionare fino a {count} trimestri", maxRangeWeeks: "Puoi selezionare fino a {count} settimana | Puoi selezionare fino a {count} settimane", monthly: "Mensile", quarterly: "Trimestrale", timeFrom: "Tempo dal", timeTo: "Tempo fino al", weekly: "Settimanale" },
150
+ "ja-JP": { "DD-MM-YYYY": "DD-MM-YYYY", "MM-DD-YYYY": "MM-DD-YYYY", "YYYY-MM-DD": "YYYY-MM-DD", customRange: "カスタム範囲", daily: "毎日", dateFrom: "開始日", dateTo: "終了日", lastMonth: "先月", lastSevenDays: "過去 7 日間", lastThreeMonths: "過去3か月", maxRangeDays: "{count}日間まで選択できます | {count}日間まで選択できます", maxRangeMonths: "{count}か月まで選択できます | {count}か月まで選択できます", maxRangeQuarters: "{count}四半期まで選択できます | {count}四半期まで選択できます", maxRangeWeeks: "{count}週間まで選択できます | {count}週間まで選択できます", monthly: "毎月", quarterly: "四半期ごと", timeFrom: "開始時刻", timeTo: "終了時刻", weekly: "毎週" },
151
+ "pt-BR": { "DD-MM-YYYY": "DD-MM-AAAA", "MM-DD-YYYY": "MM-DD-AAAA", "YYYY-MM-DD": "AAAA-MM-DD", customRange: "Intervalo personalizado", daily: "Diário", dateFrom: "Data a partir de", dateTo: "Data até", lastMonth: "Último mês", lastSevenDays: "Últimos 7 dias", lastThreeMonths: "Últimos 3 meses", maxRangeDays: "Você pode selecionar até {count} dia | Você pode selecionar até {count} dias", maxRangeMonths: "Você pode selecionar até {count} mês | Você pode selecionar até {count} meses", maxRangeQuarters: "Você pode selecionar até {count} trimestre | Você pode selecionar até {count} trimestres", maxRangeWeeks: "Você pode selecionar até {count} semana | Você pode selecionar até {count} semanas", monthly: "Mensal", quarterly: "Trimestral", timeFrom: "Horário a partir de", timeTo: "Horário até", weekly: "Semanal" },
152
+ "zh-CN": { "DD-MM-YYYY": "日-月-年", "MM-DD-YYYY": "YYYY-MM-DD", "YYYY-MM-DD": "年-月-日", customRange: "自定义范围", daily: "每日", dateFrom: "日期自", dateTo: "日期至", lastMonth: "上个月", lastSevenDays: "最近 7 天", lastThreeMonths: "过去三个月", maxRangeDays: "您可以选择最多 {count} 天 | 您可以选择最多 {count} 天", maxRangeMonths: "您可以选择最多 {count} 个月 | 您可以选择最多 {count} 个月", maxRangeQuarters: "您最多可以选择 {count} 个季度 | 您最多可以选择 {count} 个季度", maxRangeWeeks: "您最多可以选择 {count} 周 | 您最多可以选择 {count} 周", monthly: "每月", quarterly: "每季度", timeFrom: "时间自", timeTo: "是时候", weekly: "每周" }
153
+ }, yt = { class: "b-date-range-picker-calendar" }, gt = { class: "b-date-range-picker-calendar__form" }, Mt = { key: 0 }, ht = {
154
154
  key: 0,
155
155
  class: "b-date-range-picker-calendar__calendars-container",
156
156
  "data-testid": "date-range-picker-calendar-calendar-container"
157
157
  }, Tt = {
158
158
  name: "date-range-picker-calendar",
159
159
  i18n: { messages: ua }
160
- }, Yt = /* @__PURE__ */ sa({
160
+ }, Yt = /* @__PURE__ */ oa({
161
161
  ...Tt,
162
162
  props: {
163
163
  /**
@@ -174,7 +174,7 @@ const ua = {
174
174
  /**
175
175
  * Allows you to set the first day of the week. 0 is sunday, 1 is monday, 6 is saturday
176
176
  */
177
- firstDayOfWeek: U.props.firstDayOfWeek,
177
+ firstDayOfWeek: V.props.firstDayOfWeek,
178
178
  /**
179
179
  * A list of available granularities.
180
180
  * If present, the date picker will display a segmented control to change granularity.
@@ -186,25 +186,25 @@ const ua = {
186
186
  /**
187
187
  * Indicate if a date should be disabled or not
188
188
  */
189
- isDateDisabled: U.props.isDateDisabled,
189
+ isDateDisabled: V.props.isDateDisabled,
190
190
  /**
191
191
  * Set a maximum number of dates to be selectable by the range.
192
192
  */
193
- maxRange: U.props.maxRange,
193
+ maxRange: V.props.maxRange,
194
194
  /**
195
195
  * Sets a minimum limit for selectable dates - dates before `min` will not be selectable
196
196
  */
197
- min: U.props.min,
197
+ min: V.props.min,
198
198
  /**
199
199
  * Sets a maximum limit for selectable dates - dates after `max` will not be selectable
200
200
  */
201
- max: U.props.max,
201
+ max: V.props.max,
202
202
  /**
203
203
  * Number of months rendered on pane
204
204
  */
205
205
  numberOfMonths: {
206
- type: U.props.numberOfMonths.type,
207
- default: U.props.numberOfMonths.default,
206
+ type: V.props.numberOfMonths.type,
207
+ default: V.props.numberOfMonths.default,
208
208
  validator: (n) => n >= 0
209
209
  },
210
210
  /**
@@ -229,7 +229,7 @@ const ua = {
229
229
  /**
230
230
  * The type of calendar to display. Defaults to showing days.
231
231
  */
232
- variant: U.props.variant
232
+ variant: V.props.variant
233
233
  },
234
234
  emits: [
235
235
  D.CUSTOM_RANGE,
@@ -239,19 +239,19 @@ const ua = {
239
239
  D.START_DATE_SELECTED
240
240
  ],
241
241
  setup(n, { emit: m }) {
242
- const o = "customRange", p = {
242
+ const l = "customRange", p = {
243
243
  daily: "maxRangeDays",
244
244
  weekly: "maxRangeWeeks",
245
245
  monthly: "maxRangeMonths",
246
246
  quarterly: "maxRangeQuarters"
247
- }, a = n, i = m, f = Oa(), G = lt(f), { t: Y, tc: R } = qe({ messages: ua }), { isTouchDevice: k } = st(), {
247
+ }, a = n, i = m, f = xa(), Q = st(f), { t: Y, tc: A } = qe({ messages: ua }), { isTouchDevice: k } = ot(), {
248
248
  dateFormat: re,
249
- isFormatValid: b,
250
- parseDate: g,
251
- onKeyDown: P,
252
- autoFormat: L,
253
- formatDate: le
254
- } = Be(), A = C({}), ae = c(() => a.variant === "month" ? "monthly" : "daily"), w = c(() => a.numberOfMonths === 0), r = Te({
249
+ isFormatValid: R,
250
+ parseDate: M,
251
+ onKeyDown: N,
252
+ autoFormat: U,
253
+ formatDate: se
254
+ } = _e(), b = P({}), ae = c(() => a.variant === "month" ? "monthly" : "daily"), w = c(() => a.numberOfMonths === 0), r = Te({
255
255
  startDate: a.value?.startDate,
256
256
  endDate: a.value?.endDate,
257
257
  range: a.value?.range,
@@ -263,24 +263,24 @@ const ua = {
263
263
  a?.quickSelectRanges?.find(({ value: e, data: t }) => {
264
264
  if (!t.endDate) {
265
265
  if (t.isRelativeToNow) {
266
- const d = A.value?.[e];
266
+ const d = b.value?.[e];
267
267
  return d ? we(d.startDate, r.startDate) && we(d.endDate, r.endDate) : (
268
268
  // If not stored calculated dates, fall back to comparing the quick select item's value
269
269
  // with the internal range's stored range identifier.
270
270
  e === r.range
271
271
  );
272
272
  }
273
- return we(t.startDate, r.startDate) && ct(r.endDate) && (!a.allowTimeInput || Fe(r.endDate, x(r.endDate))) && (a.granularities ? t.granularity === r.granularity : !0);
273
+ return we(t.startDate, r.startDate) && ct(r.endDate) && (!a.allowTimeInput || Fe(r.endDate, C(r.endDate))) && (a.granularities ? t.granularity === r.granularity : !0);
274
274
  }
275
275
  if (a.allowTimeInput)
276
276
  return Fe(t.startDate, r.startDate) && Fe(t.endDate, r.endDate) && (a.granularities ? t.granularity === r.granularity : !0);
277
277
  if (t.endDate)
278
- return B(t.startDate, r.startDate) && B(t.endDate, r.endDate) && (a.granularities ? t.granularity === r.granularity : !0);
279
- })?.value ?? o
280
- )), se = c(() => ({
278
+ return _(t.startDate, r.startDate) && _(t.endDate, r.endDate) && (a.granularities ? t.granularity === r.granularity : !0);
279
+ })?.value ?? l
280
+ )), oe = c(() => ({
281
281
  "b-date-range-picker-calendar__form-input-wrapper": a.allowTimeInput
282
- })), oe = c(() => [
283
- { label: Y("customRange"), value: o },
282
+ })), le = c(() => [
283
+ { label: Y("customRange"), value: l },
284
284
  ...a.quickSelectRanges ? a.quickSelectRanges : []
285
285
  ]), K = c(
286
286
  () => a.granularities?.find(({ type: e }) => e === r.granularity) || null
@@ -290,103 +290,103 @@ const ua = {
290
290
  value: e,
291
291
  disabled: t
292
292
  })) ?? []
293
- ), { getGranularCalendarLimits: ce } = vt(a), M = c(
294
- () => a.granularities ? ce(K.value) : { min: a.min ? T(a.min) : null, max: a.max ? x(a.max) : null }
293
+ ), { getGranularCalendarLimits: ce } = vt(a), g = c(
294
+ () => a.granularities ? ce(K.value) : { min: a.min ? T(a.min) : null, max: a.max ? C(a.max) : null }
295
295
  ), {
296
296
  adjustDateForQuarterly: h,
297
- adjustDateForMonthly: be,
297
+ adjustDateForMonthly: Re,
298
298
  adjustDateForWeekly: X,
299
- adjustStartDateInputForWeekly: Ae,
299
+ adjustStartDateInputForWeekly: be,
300
300
  adjustEndDateInputForWeekly: me,
301
301
  adjustStartDateInputForMonthly: De,
302
- adjustEndDateInputForMonthly: Q,
302
+ adjustEndDateInputForMonthly: W,
303
303
  adjustStartDateInputForQuarterly: te,
304
- adjustEndDateInputForQuarterly: Re
305
- } = Wa(a.firstDayOfWeek), { savedRanges: J, saveRange: ke, resetSavedRanges: pe } = ft(), I = (e) => e ? le(e) : "", Z = C(!1), ee = C(!1), l = Te({
304
+ adjustEndDateInputForQuarterly: Ae
305
+ } = La(a.firstDayOfWeek), { savedRanges: j, saveRange: ke, resetSavedRanges: pe } = ft(), S = (e) => e ? se(e) : "", Z = P(!1), ee = P(!1), s = Te({
306
306
  startDate: a.dateFormData.startDate,
307
307
  endDate: a.dateFormData.endDate,
308
308
  startTime: a.dateFormData.startTime,
309
309
  endTime: a.dateFormData.endTime
310
310
  }), ve = (e, t) => {
311
311
  let d = new Date(e);
312
- const [y, W, Ea] = t.split(":");
313
- return d = mt(d, parseInt(y, 10)), d = Dt(d, parseInt(W, 10)), d = pt(d, parseInt(Ea, 10)), d;
314
- }, s = (e, t) => {
312
+ const [y, L, Ea] = t.split(":");
313
+ return d = mt(d, parseInt(y, 10)), d = Dt(d, parseInt(L, 10)), d = pt(d, parseInt(Ea, 10)), d;
314
+ }, o = (e, t) => {
315
315
  const d = () => {
316
- if (t && j(t)) {
317
- const y = ve(g(t), e);
318
- if (a.min && y < la(a.min, 0) || a.max && y > la(a.max, 0))
316
+ if (t && G(t)) {
317
+ const y = ve(M(t), e);
318
+ if (a.min && y < sa(a.min, 0) || a.max && y > sa(a.max, 0))
319
319
  return !1;
320
320
  }
321
321
  return !0;
322
322
  };
323
323
  return Xe(e) && d();
324
- }, O = c(() => a.variant === "month"), ie = (e) => e ? O.value ? za(e) : $a(e) : "", da = c(() => ie(r.startDate)), ca = c(() => ie(r.endDate)), Ne = c(() => k.value ? O.value ? "month" : "date" : "text"), ma = c(() => k.value ? da.value : l.startDate), Da = c(() => k.value ? ca.value : l.endDate), q = (e, t) => !t || !Xe(t) || a.variant === "month" ? e : ve(new Date(e), t), pa = (e) => {
325
- l.startTime = _(
326
- a.min && a.allowTimeInput && B(a.min, e.startDate) ? a.min : T(e.startDate)
327
- ), l.endTime = _(
328
- a.max && a.allowTimeInput && B(a.max, e.endDate) ? a.max : x(e.endDate)
329
- ), r.startDate = q(e.startDate, l.startTime), r.endDate = q(e.endDate, l.endTime), r.range = null, a.granularities && pe(), i(D.INPUT, {
324
+ }, x = c(() => a.variant === "month"), ie = (e) => e ? x.value ? Ja(e) : $a(e) : "", da = c(() => ie(r.startDate)), ca = c(() => ie(r.endDate)), Be = c(() => k.value ? x.value ? "month" : "date" : "text"), ma = c(() => k.value ? da.value : s.startDate), Da = c(() => k.value ? ca.value : s.endDate), q = (e, t) => !t || !Xe(t) || a.variant === "month" ? e : ve(new Date(e), t), pa = (e) => {
325
+ s.startTime = O(
326
+ a.min && a.allowTimeInput && _(a.min, e.startDate) ? a.min : T(e.startDate)
327
+ ), s.endTime = O(
328
+ a.max && a.allowTimeInput && _(a.max, e.endDate) ? a.max : C(e.endDate)
329
+ ), r.startDate = q(e.startDate, s.startTime), r.endDate = q(e.endDate, s.endTime), r.range = null, a.granularities && pe(), i(D.INPUT, {
330
330
  ...r,
331
331
  range: E.value
332
332
  });
333
- }, j = (e) => {
333
+ }, G = (e) => {
334
334
  if (!e)
335
335
  return !1;
336
336
  const t = (d) => a.min && T(d) < T(a.min) || a.max && T(d) > T(a.max) ? !1 : a.isDateDisabled ? !a.isDateDisabled(T(d)) : !0;
337
- return b(e) && t(g(e));
337
+ return R(e) && t(M(e));
338
338
  };
339
- oa(() => {
340
- Z.value = !!(a.dateFormData.startDate && !j(a.dateFormData.startDate)), ee.value = !!(a.dateFormData.endDate && !j(a.dateFormData.endDate));
339
+ la(() => {
340
+ Z.value = !!(a.dateFormData.startDate && !G(a.dateFormData.startDate)), ee.value = !!(a.dateFormData.endDate && !G(a.dateFormData.endDate));
341
341
  });
342
342
  const va = (e) => {
343
- l.startDate = I(e), l.startTime || (l.startTime = _(e)), Z.value = !1, i(D.START_DATE_SELECTED, e);
343
+ s.startDate = S(e), s.startTime || (s.startTime = O(e)), Z.value = !1, i(D.START_DATE_SELECTED, e);
344
344
  }, fa = (e) => {
345
- l.endDate = I(e), l.endTime || (l.endTime = _(x(e))), ee.value = !1;
346
- }, Ie = (e) => {
345
+ s.endDate = S(e), s.endTime || (s.endTime = O(C(e))), ee.value = !1;
346
+ }, Se = (e) => {
347
347
  const t = a.value[e];
348
348
  if (t)
349
349
  return t;
350
- if (a.dateFormData[e] && j(a.dateFormData[e]))
351
- return g(a.dateFormData[e]);
352
- }, xe = (e) => {
353
- if (j(e)) {
350
+ if (a.dateFormData[e] && G(a.dateFormData[e]))
351
+ return M(a.dateFormData[e]);
352
+ }, Ce = (e) => {
353
+ if (G(e)) {
354
354
  let t = e;
355
355
  switch (Z.value = !1, K.value?.type) {
356
356
  case "weekly":
357
- t = Ae(
357
+ t = be(
358
358
  e,
359
- I,
360
- M.value.min,
361
- M.value.max
362
- ), l.startDate = t;
359
+ S,
360
+ g.value.min,
361
+ g.value.max
362
+ ), s.startDate = t;
363
363
  break;
364
364
  case "monthly":
365
365
  t = De(
366
366
  e,
367
- I,
368
- M.value.min,
369
- M.value.max
370
- ), l.startDate = t;
367
+ S,
368
+ g.value.min,
369
+ g.value.max
370
+ ), s.startDate = t;
371
371
  break;
372
372
  case "quarterly":
373
373
  t = te(
374
374
  e,
375
- I,
376
- M.value.min,
377
- M.value.max
378
- ), l.startDate = t;
375
+ S,
376
+ g.value.min,
377
+ g.value.max
378
+ ), s.startDate = t;
379
379
  break;
380
380
  }
381
- const d = T(g(t));
382
- r.startDate = q(d, l.startTime), r.endDate = q(
383
- T(g(l.endDate)),
384
- l.endTime
385
- ), j(l.endDate) && (r.endDate = q(
386
- T(g(l.endDate)),
387
- l.endTime
381
+ const d = T(M(t));
382
+ r.startDate = q(d, s.startTime), r.endDate = q(
383
+ T(M(s.endDate)),
384
+ s.endTime
385
+ ), G(s.endDate) && (r.endDate = q(
386
+ T(M(s.endDate)),
387
+ s.endTime
388
388
  ));
389
- const y = Ie("endDate");
389
+ const y = Se("endDate");
390
390
  r.range = null, i(D.FORM_DATE, {
391
391
  startDate: d,
392
392
  endDate: y
@@ -395,54 +395,54 @@ const ua = {
395
395
  range: E.value
396
396
  });
397
397
  } else
398
- Z.value = !0, i(D.ERROR, { ...l });
399
- }, ya = Ze(xe, 300), Ma = (e) => {
400
- if (l.startDate = k.value && O.value ? e : L(e), k.value)
401
- if (O.value && e) {
402
- const t = ze(e);
403
- r.startDate = q(t, l.startTime), r.range = null, i(D.INPUT, {
398
+ Z.value = !0, i(D.ERROR, { ...s });
399
+ }, ya = Ze(Ce, 300), ga = (e) => {
400
+ if (s.startDate = k.value && x.value ? e : U(e), k.value)
401
+ if (x.value && e) {
402
+ const t = Je(e);
403
+ r.startDate = q(t, s.startTime), r.range = null, i(D.INPUT, {
404
404
  ...r,
405
405
  range: E.value
406
406
  });
407
407
  } else
408
- xe(l.startDate);
408
+ Ce(s.startDate);
409
409
  else
410
- ya(l.startDate);
411
- }, Pe = (e) => {
412
- if (j(e)) {
410
+ ya(s.startDate);
411
+ }, Ne = (e) => {
412
+ if (G(e)) {
413
413
  let t = e;
414
414
  switch (ee.value = !1, K.value?.type) {
415
415
  case "weekly":
416
416
  t = me(
417
417
  e,
418
- I,
419
- M.value.min,
420
- M.value.max
421
- ), l.endDate = t;
418
+ S,
419
+ g.value.min,
420
+ g.value.max
421
+ ), s.endDate = t;
422
422
  break;
423
423
  case "monthly":
424
- t = Q(
424
+ t = W(
425
425
  e,
426
- I,
427
- M.value.min,
428
- M.value.max
429
- ), l.endDate = t;
426
+ S,
427
+ g.value.min,
428
+ g.value.max
429
+ ), s.endDate = t;
430
430
  break;
431
431
  case "quarterly":
432
- t = Re(
432
+ t = Ae(
433
433
  e,
434
- I,
435
- M.value.min,
436
- M.value.max
437
- ), l.endDate = t;
434
+ S,
435
+ g.value.min,
436
+ g.value.max
437
+ ), s.endDate = t;
438
438
  break;
439
439
  }
440
- const d = T(g(t));
441
- r.endDate = q(d, l.endTime), j(l.startDate) && (r.startDate = q(
442
- T(g(l.startDate)),
443
- l.startTime
440
+ const d = T(M(t));
441
+ r.endDate = q(d, s.endTime), G(s.startDate) && (r.startDate = q(
442
+ T(M(s.startDate)),
443
+ s.startTime
444
444
  ));
445
- const y = Ie("startDate");
445
+ const y = Se("startDate");
446
446
  r.range = null, i(D.FORM_DATE, {
447
447
  startDate: y,
448
448
  endDate: d
@@ -451,155 +451,155 @@ const ua = {
451
451
  range: E.value
452
452
  });
453
453
  } else
454
- ee.value = !0, i(D.ERROR, { ...l });
455
- }, ga = Ze(Pe, 300), ha = (e) => {
456
- if (l.endDate = k.value && O.value ? e : L(e), k.value)
457
- if (O.value && e) {
458
- const t = ze(e);
459
- r.endDate = q(t, l.endTime), r.range = null, i(D.INPUT, {
454
+ ee.value = !0, i(D.ERROR, { ...s });
455
+ }, Ma = Ze(Ne, 300), ha = (e) => {
456
+ if (s.endDate = k.value && x.value ? e : U(e), k.value)
457
+ if (x.value && e) {
458
+ const t = Je(e);
459
+ r.endDate = q(t, s.endTime), r.range = null, i(D.INPUT, {
460
460
  ...r,
461
461
  range: E.value
462
462
  });
463
463
  } else
464
- Pe(l.endDate);
464
+ Ne(s.endDate);
465
465
  else
466
- ga(l.endDate);
467
- }, Ue = (e) => {
468
- P(e);
466
+ Ma(s.endDate);
467
+ }, Ve = (e) => {
468
+ N(e);
469
469
  }, Ta = () => {
470
- i(D.ERROR, { ...l });
470
+ i(D.ERROR, { ...s });
471
471
  }, Ya = () => {
472
- const e = l.startTime;
473
- if (!s(e, l.startDate)) {
474
- i(D.ERROR, { ...l });
472
+ const e = s.startTime;
473
+ if (!o(e, s.startDate)) {
474
+ i(D.ERROR, { ...s });
475
475
  return;
476
476
  }
477
477
  r.startDate = q(r.startDate, e);
478
- const t = Ie("endDate");
478
+ const t = Se("endDate");
479
479
  i(D.FORM_DATE, {
480
480
  startDate: r.startDate,
481
481
  endDate: t,
482
482
  startTime: e,
483
- endTime: l.endTime ?? a.dateFormData.endTime
483
+ endTime: s.endTime ?? a.dateFormData.endTime
484
484
  }), i(D.INPUT, {
485
485
  ...r,
486
486
  range: E.value
487
487
  });
488
+ }, Ra = () => {
489
+ i(D.ERROR, { ...s });
488
490
  }, ba = () => {
489
- i(D.ERROR, { ...l });
490
- }, Aa = () => {
491
- const e = l.endTime;
492
- if (!s(e, l.endDate)) {
493
- i(D.ERROR, { ...l });
491
+ const e = s.endTime;
492
+ if (!o(e, s.endDate)) {
493
+ i(D.ERROR, { ...s });
494
494
  return;
495
495
  }
496
496
  r.endDate = q(r.endDate, e), i(D.FORM_DATE, {
497
497
  startDate: r.startDate,
498
498
  endDate: r.endDate,
499
- startTime: l.startTime ?? a.dateFormData.startTime,
499
+ startTime: s.startTime ?? a.dateFormData.startTime,
500
500
  endTime: e
501
501
  }), i(D.INPUT, {
502
502
  ...r,
503
503
  range: E.value
504
504
  });
505
- }, Ra = (e) => {
506
- l.startTime = e;
505
+ }, Aa = (e) => {
506
+ s.startTime = e;
507
507
  }, ka = (e) => {
508
- l.endTime = e;
508
+ s.endTime = e;
509
509
  }, fe = (e, t, d, y) => {
510
510
  r.startDate = e, r.endDate = t, d && (r.granularity = d), y && (r.range = y);
511
- }, Ia = (e) => {
511
+ }, Sa = (e) => {
512
512
  const t = a.quickSelectRanges?.find(({ value: d }) => d === e);
513
513
  if (t) {
514
514
  pe();
515
- const d = t.data, y = d.endDate || (d.isRelativeToNow ? new Date(Date.now()) : x(new Date(Date.now()))), W = d.isRelativeToNow && d.timeDifference ? new Date(y.getTime() - d.timeDifference) : d.startDate;
516
- l.endDate = I(y), l.startDate = I(W), fe(W, y, null, e), a.granularities && (r.granularity = d.granularity || ae.value), l.startTime = _(W), l.endTime = _(y), r.startDate = W, r.endDate = y, d.isRelativeToNow && (A.value = {
517
- ...A.value,
515
+ const d = t.data, y = d.endDate || (d.isRelativeToNow ? new Date(Date.now()) : C(new Date(Date.now()))), L = d.isRelativeToNow && d.timeDifference ? new Date(y.getTime() - d.timeDifference) : d.startDate;
516
+ s.endDate = S(y), s.startDate = S(L), fe(L, y, null, e), a.granularities && (r.granularity = d.granularity || ae.value), s.startTime = O(L), s.endTime = O(y), r.startDate = L, r.endDate = y, d.isRelativeToNow && (b.value = {
517
+ ...b.value,
518
518
  [e]: {
519
- startDate: W,
519
+ startDate: L,
520
520
  endDate: y
521
521
  }
522
522
  }), i(D.CUSTOM_RANGE, {
523
523
  ...t.data,
524
- startDate: W,
524
+ startDate: L,
525
525
  endDate: y,
526
526
  range: t.value
527
527
  });
528
528
  }
529
- }, Sa = {
529
+ }, Ia = {
530
530
  weekly: X,
531
- monthly: be,
531
+ monthly: Re,
532
532
  quarterly: h
533
533
  }, wa = (e) => {
534
534
  const t = r.granularity;
535
- if (r.granularity = e, t && ke(t, structuredClone(Oe(r))), r.startDate && r.endDate) {
535
+ if (r.granularity = e, t && ke(t, structuredClone(xe(r))), r.startDate && r.endDate) {
536
536
  switch (e) {
537
537
  case "quarterly":
538
538
  case "monthly":
539
539
  case "weekly": {
540
- if (J[e]) {
541
- fe(J[e].startDate, J[e].endDate, e);
540
+ if (j[e]) {
541
+ fe(j[e].startDate, j[e].endDate, e);
542
542
  break;
543
543
  }
544
- const { startDate: d, endDate: y } = Sa[e](
544
+ const { startDate: d, endDate: y } = Ia[e](
545
545
  r.startDate,
546
546
  r.endDate,
547
- M.value.min,
548
- M.value.max
547
+ g.value.min,
548
+ g.value.max
549
549
  );
550
550
  fe(d, y, e);
551
551
  break;
552
552
  }
553
553
  case "daily":
554
- J.daily && fe(J.daily.startDate, J.daily.endDate, e);
554
+ j.daily && fe(j.daily.startDate, j.daily.endDate, e);
555
555
  break;
556
556
  }
557
- l.startDate = I(r.startDate), l.endDate = I(r.endDate), i(D.INPUT, {
557
+ s.startDate = S(r.startDate), s.endDate = S(r.endDate), i(D.INPUT, {
558
558
  ...r,
559
559
  range: E.value
560
560
  });
561
561
  }
562
562
  }, Fa = c(() => ({
563
563
  "b-date-range-picker-calendar__form-container--no-calendars": w.value
564
- })), Ve = c(() => {
564
+ })), ze = c(() => {
565
565
  const e = K.value, t = e?.maxRange || a.maxRange;
566
566
  if (!t)
567
567
  return null;
568
568
  const d = p[e?.type ?? "daily"];
569
- return R(d, t, { count: t });
569
+ return A(d, t, { count: t });
570
570
  });
571
- return (e, t) => (S(), ye("div", yt, [
572
- z("div", {
573
- class: Me(["b-date-range-picker-calendar__form-container", Fa.value]),
571
+ return (e, t) => (I(), ye("div", yt, [
572
+ J("div", {
573
+ class: ge(["b-date-range-picker-calendar__form-container", Fa.value]),
574
574
  "data-testid": "date-range-picker-calendar-form-container"
575
575
  }, [
576
- z("div", Mt, [
577
- u(G)("title") ? Ge(e.$slots, "title", { key: 0 }, void 0, !0) : F("", !0),
578
- n.quickSelectRanges ? (S(), N(Pa, {
576
+ J("div", gt, [
577
+ u(Q)("title") ? Qe(e.$slots, "title", { key: 0 }, void 0, !0) : F("", !0),
578
+ n.quickSelectRanges ? (I(), B(Na, {
579
579
  key: 1,
580
580
  "aria-label": u(Y)("customRange"),
581
- items: oe.value,
581
+ items: le.value,
582
582
  "model-value": E.value,
583
- "onUpdate:modelValue": Ia
583
+ "onUpdate:modelValue": Sa
584
584
  }, null, 8, ["aria-label", "items", "model-value"])) : F("", !0),
585
- n.granularities ? (S(), N(u(rt), {
585
+ n.granularities ? (I(), B(u(rt), {
586
586
  key: 2,
587
587
  items: Ye.value,
588
588
  "model-value": r.granularity,
589
589
  "full-width": "",
590
590
  "onUpdate:modelValue": wa
591
591
  }, null, 8, ["items", "model-value"])) : F("", !0),
592
- Ve.value ? (S(), N(u(nt), {
592
+ ze.value ? (I(), B(u(nt), {
593
593
  key: 3,
594
594
  variant: "tip"
595
595
  }, {
596
596
  description: $(() => [
597
- ne(ge(Ve.value), 1)
597
+ ne(Me(ze.value), 1)
598
598
  ]),
599
599
  _: 1
600
600
  })) : F("", !0),
601
- z("div", null, [
602
- V(u(_e), {
601
+ J("div", null, [
602
+ z(u(Oe), {
603
603
  stronger: "",
604
604
  el: "span",
605
605
  class: "b-date-range-picker-calendar__label"
@@ -609,39 +609,39 @@ const ua = {
609
609
  ])),
610
610
  _: 1
611
611
  }),
612
- z("div", {
613
- class: Me(se.value)
612
+ J("div", {
613
+ class: ge(oe.value)
614
614
  }, [
615
- V(u(He), {
615
+ z(u(He), {
616
616
  "aria-label": u(Y)("dateFrom"),
617
617
  "model-value": ma.value,
618
618
  error: Z.value,
619
619
  class: "b-date-range-picker-calendar__form-input",
620
- type: Ne.value,
621
- "onUpdate:modelValue": Ma,
622
- onKeydown: Ue
620
+ type: Be.value,
621
+ "onUpdate:modelValue": ga,
622
+ onKeydown: Ve
623
623
  }, Ee({ _: 2 }, [
624
624
  u(k) ? void 0 : {
625
625
  name: "description",
626
626
  fn: $(() => [
627
- ne(ge(u(Y)(u(re))), 1)
627
+ ne(Me(u(Y)(u(re))), 1)
628
628
  ]),
629
629
  key: "0"
630
630
  }
631
631
  ]), 1032, ["aria-label", "model-value", "error", "type"]),
632
- n.allowTimeInput ? (S(), N(u(Ke), {
632
+ n.allowTimeInput ? (I(), B(u(Ke), {
633
633
  key: 0,
634
634
  "aria-label": u(Y)("timeFrom"),
635
- "model-value": l.startTime,
635
+ "model-value": s.startTime,
636
636
  class: "b-date-range-picker-calendar__form-input",
637
- "onUpdate:modelValue": Ra,
637
+ "onUpdate:modelValue": Aa,
638
638
  "onInput:error": Ta,
639
639
  "onInput:valid": Ya
640
640
  }, null, 8, ["aria-label", "model-value"])) : F("", !0)
641
641
  ], 2)
642
642
  ]),
643
- z("div", null, [
644
- V(u(_e), {
643
+ J("div", null, [
644
+ z(u(Oe), {
645
645
  stronger: "",
646
646
  el: "span",
647
647
  class: "b-date-range-picker-calendar__label"
@@ -651,50 +651,50 @@ const ua = {
651
651
  ])),
652
652
  _: 1
653
653
  }),
654
- z("div", {
655
- class: Me(se.value)
654
+ J("div", {
655
+ class: ge(oe.value)
656
656
  }, [
657
- V(u(He), {
657
+ z(u(He), {
658
658
  class: "b-date-range-picker-calendar__form-input",
659
659
  "aria-label": u(Y)("dateTo"),
660
660
  "model-value": Da.value,
661
661
  error: ee.value,
662
- type: Ne.value,
662
+ type: Be.value,
663
663
  "onUpdate:modelValue": ha,
664
- onKeydown: Ue
664
+ onKeydown: Ve
665
665
  }, Ee({ _: 2 }, [
666
666
  u(k) ? void 0 : {
667
667
  name: "description",
668
668
  fn: $(() => [
669
- ne(ge(u(Y)(u(re))), 1)
669
+ ne(Me(u(Y)(u(re))), 1)
670
670
  ]),
671
671
  key: "0"
672
672
  }
673
673
  ]), 1032, ["aria-label", "model-value", "error", "type"]),
674
- n.allowTimeInput ? (S(), N(u(Ke), {
674
+ n.allowTimeInput ? (I(), B(u(Ke), {
675
675
  key: 0,
676
676
  "aria-label": u(Y)("timeTo"),
677
- "model-value": l.endTime,
677
+ "model-value": s.endTime,
678
678
  class: "b-date-range-picker-calendar__form-input",
679
679
  "onUpdate:modelValue": ka,
680
- "onInput:error": ba,
681
- "onInput:valid": Aa
680
+ "onInput:error": Ra,
681
+ "onInput:valid": ba
682
682
  }, null, 8, ["aria-label", "model-value"])) : F("", !0)
683
683
  ], 2)
684
684
  ])
685
685
  ]),
686
- u(G)("actions") ? (S(), ye("div", gt, [
687
- Ge(e.$slots, "actions", {}, void 0, !0)
686
+ u(Q)("actions") ? (I(), ye("div", Mt, [
687
+ Qe(e.$slots, "actions", {}, void 0, !0)
688
688
  ])) : F("", !0)
689
689
  ], 2),
690
- !w.value && !u(k) ? (S(), ye("div", ht, [
691
- V(u(U), {
690
+ !w.value && !u(k) ? (I(), ye("div", ht, [
691
+ z(u(V), {
692
692
  value: r,
693
693
  "first-day-of-week": n.firstDayOfWeek,
694
694
  "is-date-disabled": n.isDateDisabled,
695
695
  "max-range": n.maxRange,
696
- min: M.value.min,
697
- max: M.value.max,
696
+ min: g.value.min,
697
+ max: g.value.max,
698
698
  "number-of-months": n.numberOfMonths,
699
699
  "show-end-date-on-open": n.showEndDateOnOpen,
700
700
  granularity: K.value,
@@ -707,7 +707,7 @@ const ua = {
707
707
  ])) : F("", !0)
708
708
  ]));
709
709
  }
710
- }), bt = /* @__PURE__ */ ia(Yt, [["__scopeId", "data-v-91390acb"]]), Ce = {
710
+ }), Rt = /* @__PURE__ */ ia(Yt, [["__scopeId", "data-v-91390acb"]]), Pe = {
711
711
  "de-DE": { apply: "Anwenden", cancel: "Abbrechen", dateRangePicker: "Datumsbereichauswahl {name}", provideDateInAFormat: "Geben Sie das Datum im Format YYYY-MM-DD an", quarter: "Q{quarter} {year}", selectDate: "Wählen Sie ein Datum", selectDateRange: "Wählen Sie einen Datumsbereich aus", selectedDateIsNotAvailable: "Ausgewähltes Datum ist nicht verfügbar" },
712
712
  "en-GB": { apply: "Apply", cancel: "Cancel", dateRangePicker: "Date range picker {name}", provideDateInAFormat: "Enter date in YYYY-MM-DD format", quarter: "Q{quarter} {year}", selectDate: "Select a date", selectDateRange: "Select a date range", selectedDateIsNotAvailable: "Selected date is not available" },
713
713
  "en-US": { apply: "Apply", cancel: "Cancel", dateRangePicker: "Date range picker {name}", provideDateInAFormat: "Provide date in a YYYY-MM-DD format", quarter: "Q{quarter} {year}", selectDate: "Select a date", selectDateRange: "Select a date range", selectedDateIsNotAvailable: "Selected date is not available" },
@@ -718,15 +718,15 @@ const ua = {
718
718
  "ja-JP": { apply: "適用", cancel: "キャンセル", dateRangePicker: "日付範囲ピッカー {name}", provideDateInAFormat: "YYYY-MM-DD形式で日付を入力してください", quarter: "{year}年第{quarter}四半期", selectDate: "日付を選択", selectDateRange: "日付範囲を選択", selectedDateIsNotAvailable: "選択した日付は利用できません" },
719
719
  "pt-BR": { apply: "Aplicar", cancel: "Cancelar", dateRangePicker: "Seletor de intervalo de datas {name}", provideDateInAFormat: "Inclua a data no formato AAAA-MM-DD", quarter: "{quarter}º trimestre de {year}", selectDate: "Selecione uma data", selectDateRange: "Selecione um intervalo de datas", selectedDateIsNotAvailable: "A data selecionada não está disponível" },
720
720
  "zh-CN": { apply: "应用", cancel: "取消", dateRangePicker: "日期范围选择器 {name}", provideDateInAFormat: "提供 YYYY-MM-DD 格式的日期", quarter: "{year} {quarter} 季度", selectDate: "选择日期", selectDateRange: "选择日期范围", selectedDateIsNotAvailable: "所选日期不可用" }
721
- }, At = ({
721
+ }, bt = ({
722
722
  datePickerValue: n,
723
723
  isDateIncorrect: m,
724
724
  quickSelectRanges: v,
725
- isMonthVariant: o,
725
+ isMonthVariant: l,
726
726
  withTimeInput: p,
727
727
  placeholder: a
728
728
  }) => {
729
- const { locale: i, t: f } = qe({ messages: Ce }), { dateToInputDateString: G } = Be(), Y = (b) => !!b && !isNaN(b.getTime()), R = Te({
729
+ const { locale: i, t: f } = qe({ messages: Pe }), { dateToInputDateString: Q } = _e(), Y = (R) => !!R && !isNaN(R.getTime()), A = Te({
730
730
  startDate: null,
731
731
  endDate: null,
732
732
  startTime: null,
@@ -734,53 +734,53 @@ const ua = {
734
734
  });
735
735
  return he(
736
736
  n,
737
- (b) => {
738
- R.startDate = G(b?.startDate), R.endDate = G(b?.endDate), R.startTime = _(b?.startDate), R.endTime = _(b?.endDate);
737
+ (R) => {
738
+ A.startDate = Q(R?.startDate), A.endDate = Q(R?.endDate), A.startTime = O(R?.startDate), A.endTime = O(R?.endDate);
739
739
  },
740
740
  { immediate: !0 }
741
741
  ), {
742
742
  // Values
743
743
  dateDisplayValue: c(() => {
744
744
  if (m.value)
745
- return `${R.startDate || ""} - ${R.endDate || ""}`;
745
+ return `${A.startDate || ""} - ${A.endDate || ""}`;
746
746
  if (!n.value || !n.value.startDate && !n.value.endDate)
747
747
  return a?.value || f("selectDateRange");
748
748
  if (v.value?.length) {
749
- const g = v.value.find(({ value: P }) => P === n.value?.range);
750
- if (g)
751
- return g.label;
749
+ const M = v.value.find(({ value: N }) => N === n.value?.range);
750
+ if (M)
751
+ return M.label;
752
752
  }
753
753
  if (n.value.granularity === "quarterly") {
754
- const { startDate: g, endDate: P } = n.value, L = f("quarter", { quarter: $e(g), year: na(g) });
755
- if (dt(g, P))
756
- return L;
757
- const le = f("quarter", { quarter: $e(P), year: na(P) });
758
- return `${L} - ${le}`;
754
+ const { startDate: M, endDate: N } = n.value, U = f("quarter", { quarter: $e(M), year: na(M) });
755
+ if (dt(M, N))
756
+ return U;
757
+ const se = f("quarter", { quarter: $e(N), year: na(N) });
758
+ return `${U} - ${se}`;
759
759
  }
760
760
  if (!Y(n.value.startDate) || !Y(n.value.endDate))
761
- return `${R.startDate || ""} - ${R.endDate || ""}`;
762
- let b = o?.value ? { month: "long", year: "numeric" } : { month: "short", day: "2-digit", year: "numeric" };
763
- return p.value && (b = {
764
- ...b,
761
+ return `${A.startDate || ""} - ${A.endDate || ""}`;
762
+ let R = l?.value ? { month: "long", year: "numeric" } : { month: "short", day: "2-digit", year: "numeric" };
763
+ return p.value && (R = {
764
+ ...R,
765
765
  hour: "numeric",
766
766
  minute: "numeric",
767
767
  second: "numeric",
768
768
  hour12: !1
769
- }), Ha(i.value, b).formatRange(
769
+ }), Ha(i.value, R).formatRange(
770
770
  n.value.startDate,
771
771
  n.value.endDate
772
772
  );
773
773
  }),
774
- textInputDisplayValue: R,
774
+ textInputDisplayValue: A,
775
775
  // Methods
776
776
  formatTextInputDisplayValue: () => ""
777
777
  };
778
- }, Rt = { class: "b-date-range-picker" }, kt = { class: "b-date-range-picker__footer" }, It = {
779
- i18n: { messages: Ce },
778
+ }, At = { class: "b-date-range-picker" }, kt = { class: "b-date-range-picker__footer" }, St = {
779
+ i18n: { messages: Pe },
780
780
  name: "bento-date-range-picker",
781
781
  model: { prop: "modelValue" }
782
- }, St = /* @__PURE__ */ sa({
783
- ...It,
782
+ }, It = /* @__PURE__ */ oa({
783
+ ...St,
784
784
  props: {
785
785
  allowTimeInput: { type: Boolean },
786
786
  firstDayOfWeek: { default: void 0 },
@@ -808,7 +808,7 @@ const ua = {
808
808
  },
809
809
  emits: ["update:model-value", "input"],
810
810
  setup(n, { emit: m }) {
811
- const v = m, o = n, p = _a(), { t: a } = qe({ messages: Ce }), { dateToInputDateString: i } = Be(), f = ue("bento-date-range-picker-container"), G = ue("bento-date-range-picker-label"), Y = ue("bento-date-range-picker-description"), R = ue("bento-date-range-picker-error"), k = ue("bento-date-range-picker-date-error"), re = c(() => o.label || a("dateRangePicker", { name: f })), { resolvedFirstDayOfWeek: b } = Ka(Se(o, "firstDayOfWeek")), g = Ba({
811
+ const v = m, l = n, p = Oa(), { t: a } = qe({ messages: Pe }), { dateToInputDateString: i } = _e(), f = ue("bento-date-range-picker-container"), Q = ue("bento-date-range-picker-label"), Y = ue("bento-date-range-picker-description"), A = ue("bento-date-range-picker-error"), k = ue("bento-date-range-picker-date-error"), re = c(() => l.label || a("dateRangePicker", { name: f })), { resolvedFirstDayOfWeek: R } = Ka(Ie(l, "firstDayOfWeek")), M = _a({
812
812
  none: 0,
813
813
  one: 710,
814
814
  // width of date range picker with one panes
@@ -816,77 +816,77 @@ const ua = {
816
816
  // width of date range picker with two panes
817
817
  three: 1290
818
818
  // width of date range picker with three panes
819
- }), P = c(() => {
820
- const s = g.active().value, O = {
819
+ }), N = c(() => {
820
+ const o = M.active().value, x = {
821
821
  none: 0,
822
822
  one: 1,
823
823
  two: 2
824
824
  };
825
- if (s in O) {
826
- const ie = O[s];
827
- return o.numberOfMonths === void 0 ? ie : Math.min(o.numberOfMonths, ie);
825
+ if (o in x) {
826
+ const ie = x[o];
827
+ return l.numberOfMonths === void 0 ? ie : Math.min(l.numberOfMonths, ie);
828
828
  }
829
- return o.numberOfMonths;
830
- }), L = c(() => o?.quickSelectRanges && o.quickSelectRanges.map((s) => {
831
- const O = s.data.endDate ? void 0 : new Date(Date.now()).getTime() - s.data.startDate.getTime();
829
+ return l.numberOfMonths;
830
+ }), U = c(() => l?.quickSelectRanges && l.quickSelectRanges.map((o) => {
831
+ const x = o.data.endDate ? void 0 : new Date(Date.now()).getTime() - o.data.startDate.getTime();
832
832
  return {
833
- ...s,
833
+ ...o,
834
834
  data: {
835
- ...s.data,
835
+ ...o.data,
836
836
  // Adding timeDifference to calculate an up-to-date endDate on range selection
837
- timeDifference: O
837
+ timeDifference: x
838
838
  }
839
839
  };
840
- })), le = c(() => o.label ? G : p?.["aria-labelledby"] ?? null), A = C(!1), ae = C(null), w = C(!1), { isReadOnly: r } = et(Se(o, "readonly")), { emitValue: E } = tt(v);
840
+ })), se = c(() => l.label ? Q : p?.["aria-labelledby"] ?? null), b = P(!1), ae = P(null), w = P(!1), { isReadOnly: r } = et(Ie(l, "readonly")), { emitValue: E } = tt(v);
841
841
  he(
842
- () => o.disabled,
842
+ () => l.disabled,
843
843
  () => {
844
- o.disabled && w.value && (w.value = !1);
844
+ l.disabled && w.value && (w.value = !1);
845
845
  }
846
846
  );
847
- const se = c(() => o.modelValue || o.value), oe = c(() => o.hasActions ? !te.value && A.value : A.value), K = c(() => ({
848
- "b-date-range-picker__description--error": !!o.errorMessage || oe.value
849
- })), Ye = c(() => o.variant === "month"), ce = c(() => o.allowTimeInput && o.variant !== "month"), { dateDisplayValue: M, textInputDisplayValue: h } = At({
850
- datePickerValue: se,
851
- isDateIncorrect: A,
852
- quickSelectRanges: L,
847
+ const oe = c(() => l.modelValue || l.value), le = c(() => l.hasActions ? !te.value && b.value : b.value), K = c(() => ({
848
+ "b-date-range-picker__description--error": !!l.errorMessage || le.value
849
+ })), Ye = c(() => l.variant === "month"), ce = c(() => l.allowTimeInput && l.variant !== "month"), { dateDisplayValue: g, textInputDisplayValue: h } = bt({
850
+ datePickerValue: oe,
851
+ isDateIncorrect: b,
852
+ quickSelectRanges: U,
853
853
  isMonthVariant: Ye,
854
854
  withTimeInput: ce,
855
- placeholder: Se(o, "placeholder")
856
- }), be = c(
857
- () => `${o.description ? Y : ""} ${o.errorMessage ? R : ""} ${A.value ? k : ""}`.trim() || null
855
+ placeholder: Ie(l, "placeholder")
856
+ }), Re = c(
857
+ () => `${l.description ? Y : ""} ${l.errorMessage ? A : ""} ${b.value ? k : ""}`.trim() || null
858
858
  ), X = () => {
859
859
  w.value = !1;
860
- }, Ae = () => {
860
+ }, be = () => {
861
861
  w.value = !0;
862
- }, me = C(M.value), De = C(
862
+ }, me = P(g.value), De = P(
863
863
  // textInputDisplayValue is a reactive object
864
- structuredClone(Oe(h))
865
- ), Q = C(o.modelValue ?? o.value), te = C(!0), Re = c(
866
- () => o.hasActions ? De.value : h
867
- ), J = c(
868
- () => o.hasActions ? me.value : M.value
864
+ structuredClone(xe(h))
865
+ ), W = P(l.modelValue ?? l.value), te = P(!0), Ae = c(
866
+ () => l.hasActions ? De.value : h
867
+ ), j = c(
868
+ () => l.hasActions ? me.value : g.value
869
869
  );
870
- oa(() => {
871
- if (o.hasActions || Qe(
870
+ la(() => {
871
+ if (l.hasActions || We(
872
872
  'BentoDateRangePicker "hasActions" property',
873
873
  `Set the BentoDateRangePicker "hasActions" property true which will display the "Apply" and "Cancel" buttons.
874
874
  This will be the default behavior in the v2 and "hasActions" will be removed.`,
875
875
  "2.0.0"
876
- ), o.value && Qe(
876
+ ), l.value && We(
877
877
  'BentoDateRangePicker "value" property',
878
878
  'The use of "value" prop in "BentoDateRangePicker" is no longer supported. Use the "v-model" or "model-value" property instead.',
879
879
  "2.0.0"
880
- ), o.granularities && o.variant !== "month" && o.granularities.find(({ type: s }) => s === "quarterly"))
880
+ ), l.granularities && l.variant !== "month" && l.granularities.find(({ type: o }) => o === "quarterly"))
881
881
  throw new Error('Quarterly granularity is only supported by BentoDateRangePicker with variant: "month"');
882
- }), he([() => o.value, () => o.modelValue], () => {
883
- me.value = M.value, De.value = structuredClone(Oe(h));
882
+ }), he([() => l.value, () => l.modelValue], () => {
883
+ me.value = g.value, De.value = structuredClone(xe(h));
884
884
  });
885
885
  const ke = c(() => [
886
886
  {
887
887
  title: a("apply"),
888
888
  event: () => {
889
- E(Q.value), X(), te.value = !0;
889
+ E(W.value), X(), te.value = !0;
890
890
  },
891
891
  disabled: te.value
892
892
  },
@@ -895,85 +895,85 @@ const ua = {
895
895
  event: X
896
896
  }
897
897
  ]);
898
- he(Q, (s) => {
899
- if (o.hasActions) {
900
- te.value = A.value;
898
+ he(W, (o) => {
899
+ if (l.hasActions) {
900
+ te.value = b.value;
901
901
  return;
902
902
  }
903
- E(s);
903
+ E(o);
904
904
  });
905
- const pe = (s) => {
906
- A.value = !1, h.startDate = i(s.startDate), h.endDate = i(s.endDate), h.startTime = _(s.startDate), h.endTime = _(s.endDate), Q.value = s;
907
- }, I = async () => {
908
- A.value && (A.value = !1), Q.value = null;
905
+ const pe = (o) => {
906
+ b.value = !1, h.startDate = i(o.startDate), h.endDate = i(o.endDate), h.startTime = O(o.startDate), h.endTime = O(o.endDate), W.value = o;
907
+ }, S = async () => {
908
+ b.value && (b.value = !1), W.value = null;
909
909
  }, Z = () => {
910
910
  if (!w.value) {
911
911
  w.value = !0;
912
912
  return;
913
913
  }
914
- A.value || (w.value = !1);
915
- }, ee = (s) => {
916
- A.value = !1, s.startTime && (h.startTime = s.startTime), s.endTime && (h.endTime = s.endTime);
917
- }, l = (s) => {
918
- A.value = !0, h.startDate = s.startDate, h.endDate = s.endDate, Q.value = { startDate: null, endDate: null };
919
- }, ve = (s) => {
920
- s && (h.startDate = i(s.startDate), h.endDate = i(s.endDate), h.startTime = _(s.startDate), h.endTime = _(s.endDate), Q.value = s);
914
+ b.value || (w.value = !1);
915
+ }, ee = (o) => {
916
+ b.value = !1, o.startTime && (h.startTime = o.startTime), o.endTime && (h.endTime = o.endTime);
917
+ }, s = (o) => {
918
+ b.value = !0, h.startDate = o.startDate, h.endDate = o.endDate, W.value = { startDate: null, endDate: null };
919
+ }, ve = (o) => {
920
+ o && (h.startDate = i(o.startDate), h.endDate = i(o.endDate), h.startTime = O(o.startDate), h.endTime = O(o.endDate), W.value = o);
921
921
  };
922
- return (s, O) => qa((S(), ye("div", Rt, [
923
- s.label ? (S(), N(u(it), {
922
+ return (o, x) => qa((I(), ye("div", At, [
923
+ o.label ? (I(), B(u(it), {
924
924
  key: 0,
925
- id: u(G),
926
- label: s.label,
927
- "tooltip-text": s.tooltipText,
928
- optional: s.optional,
929
- required: s.required
925
+ id: u(Q),
926
+ label: o.label,
927
+ "tooltip-text": o.tooltipText,
928
+ optional: o.optional,
929
+ required: o.required
930
930
  }, null, 8, ["id", "label", "tooltip-text", "optional", "required"])) : F("", !0),
931
- z("div", {
932
- onKeydown: Le(Z, ["enter"])
931
+ J("div", {
932
+ onKeydown: Ue(Z, ["enter"])
933
933
  }, [
934
- V(u(Ua), {
934
+ z(u(Va), {
935
935
  ref_key: "inputContainerRef",
936
936
  ref: ae,
937
937
  "always-combobox-is-input": "",
938
938
  ariaControls: u(f),
939
939
  ariaExpanded: w.value,
940
- "aria-labelledby": le.value,
941
- "aria-describedby": be.value,
942
- "aria-required": s.required,
943
- disabled: s.disabled,
944
- "is-invalid": !!s.errorMessage || oe.value,
940
+ "aria-labelledby": se.value,
941
+ "aria-describedby": Re.value,
942
+ "aria-required": o.required,
943
+ disabled: o.disabled,
944
+ "is-invalid": !!o.errorMessage || le.value,
945
945
  open: w.value,
946
- "display-value": J.value,
946
+ "display-value": j.value,
947
947
  readonly: u(r),
948
- onOpen: Ae,
949
- onClear: I,
948
+ onOpen: be,
949
+ onClear: S,
950
950
  onClose: X
951
951
  }, null, 8, ["ariaControls", "ariaExpanded", "aria-labelledby", "aria-describedby", "aria-required", "disabled", "is-invalid", "open", "display-value", "readonly"])
952
952
  ], 32),
953
- oe.value ? (S(), N(u(ta), {
953
+ le.value ? (I(), B(u(ta), {
954
954
  key: 1,
955
955
  id: u(k),
956
956
  "error-message": u(a)("provideDateInAFormat"),
957
957
  class: "b-date-range-picker__error-message"
958
958
  }, null, 8, ["id", "error-message"])) : F("", !0),
959
- s.errorMessage ? (S(), N(u(ta), {
959
+ o.errorMessage ? (I(), B(u(ta), {
960
960
  key: 2,
961
- id: u(R),
962
- "error-message": s.errorMessage,
961
+ id: u(A),
962
+ "error-message": o.errorMessage,
963
963
  class: "b-date-range-picker__error-message"
964
964
  }, null, 8, ["id", "error-message"])) : F("", !0),
965
- s.description ? (S(), N(u(_e), {
965
+ o.description ? (I(), B(u(Oe), {
966
966
  key: 3,
967
967
  id: u(Y),
968
- class: Me(["b-date-range-picker__description", K.value]),
968
+ class: ge(["b-date-range-picker__description", K.value]),
969
969
  el: "span"
970
970
  }, {
971
971
  default: $(() => [
972
- ne(ge(s.description), 1)
972
+ ne(Me(o.description), 1)
973
973
  ]),
974
974
  _: 1
975
975
  }, 8, ["id", "class"])) : F("", !0),
976
- ae.value ? (S(), N(u(Na), {
976
+ ae.value ? (I(), B(u(Ba), {
977
977
  key: 4,
978
978
  id: u(f),
979
979
  class: "b-date-range-picker__container",
@@ -985,34 +985,34 @@ const ua = {
985
985
  "fit-content": "",
986
986
  "trap-all": "",
987
987
  "overflow-visible": "",
988
- onKeydown: Le(X, ["esc", "native"])
988
+ onKeydown: Ue(X, ["esc", "native"])
989
989
  }, {
990
990
  default: $(() => [
991
- V(u(bt), {
991
+ z(u(Rt), {
992
992
  "allow-time-input": ce.value,
993
- "quick-select-ranges": L.value,
994
- value: se.value,
995
- "first-day-of-week": u(b),
996
- granularities: s.granularities,
997
- "is-date-disabled": s.isDateDisabled,
998
- "max-range": s.maxRange,
999
- min: s.min,
1000
- max: s.max,
1001
- "number-of-months": P.value,
1002
- "show-end-date-on-open": s.showEndDateOnOpen,
1003
- "date-form-data": Re.value,
1004
- variant: s.variant,
993
+ "quick-select-ranges": U.value,
994
+ value: oe.value,
995
+ "first-day-of-week": u(R),
996
+ granularities: o.granularities,
997
+ "is-date-disabled": o.isDateDisabled,
998
+ "max-range": o.maxRange,
999
+ min: o.min,
1000
+ max: o.max,
1001
+ "number-of-months": N.value,
1002
+ "show-end-date-on-open": o.showEndDateOnOpen,
1003
+ "date-form-data": Ae.value,
1004
+ variant: o.variant,
1005
1005
  onCustomRange: ve,
1006
1006
  onInput: pe,
1007
- onError: l,
1007
+ onError: s,
1008
1008
  onFormDate: ee
1009
1009
  }, Ee({ _: 2 }, [
1010
- s.hasActions ? {
1010
+ o.hasActions ? {
1011
1011
  name: "actions",
1012
1012
  fn: $(() => [
1013
- V(u(Ca)),
1014
- z("div", kt, [
1015
- V(u(xa), {
1013
+ z(u(Pa)),
1014
+ J("div", kt, [
1015
+ z(u(Ca), {
1016
1016
  actions: ke.value,
1017
1017
  layout: u(ut).SPACE_BETWEEN
1018
1018
  }, null, 8, ["actions", "layout"])
@@ -1028,11 +1028,11 @@ const ua = {
1028
1028
  [u(at), X]
1029
1029
  ]);
1030
1030
  }
1031
- }), nn = /* @__PURE__ */ ia(St, [["__scopeId", "data-v-e00826fe"]]);
1031
+ }), nn = /* @__PURE__ */ ia(It, [["__scopeId", "data-v-e00826fe"]]);
1032
1032
  export {
1033
1033
  nn as B,
1034
- bt as D,
1034
+ Rt as D,
1035
1035
  ct as a,
1036
1036
  we as i
1037
1037
  };
1038
- //# sourceMappingURL=date-range-picker.BM5gxJcL.js.map
1038
+ //# sourceMappingURL=date-range-picker.DK9M8DHP.js.map