@adyen/bento-vue3 1.45.0 → 1.47.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 (199) hide show
  1. package/dist/@types/index.d.ts +128 -47
  2. package/dist/accordion.js +1 -1
  3. package/dist/action-bar.js +1 -1
  4. package/dist/alert.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/base-modal.css +1 -1
  8. package/dist/assets/calendar.css +1 -1
  9. package/dist/assets/card.css +1 -1
  10. package/dist/assets/data-grid.css +1 -1
  11. package/dist/assets/date-picker.css +1 -1
  12. package/dist/assets/date-range-picker.css +1 -1
  13. package/dist/assets/dialog-page.css +1 -1
  14. package/dist/assets/divider.css +1 -1
  15. package/dist/assets/dropdown.css +1 -1
  16. package/dist/assets/file-uploader.css +1 -1
  17. package/dist/assets/input-field-password.css +1 -1
  18. package/dist/assets/input-field.css +1 -1
  19. package/dist/assets/inspector.css +1 -1
  20. package/dist/assets/menu.css +1 -1
  21. package/dist/assets/modal-fullscreen.css +1 -1
  22. package/dist/assets/popover.css +1 -1
  23. package/dist/assets/radio-group.css +1 -1
  24. package/dist/assets/radio-input.css +1 -1
  25. package/dist/assets/sidepanel.css +1 -1
  26. package/dist/assets/status.css +1 -1
  27. package/dist/assets/step.css +1 -1
  28. package/dist/button.js +1 -1
  29. package/dist/card.js +1 -1
  30. package/dist/checkbox.js +2 -2
  31. package/dist/chunks/{accordion-item.DfOb4Pyx.js → accordion-item.LeB4jteX.js} +5 -5
  32. package/dist/chunks/{accordion-item.DfOb4Pyx.js.map → accordion-item.LeB4jteX.js.map} +1 -1
  33. package/dist/chunks/{action-bar.CmDQZkM2.js → action-bar.BN-AoRn0.js} +11 -11
  34. package/dist/chunks/{action-bar.CmDQZkM2.js.map → action-bar.BN-AoRn0.js.map} +1 -1
  35. package/dist/chunks/{alert.D1Ax6AnI.js → alert.DTX7XqPC.js} +7 -7
  36. package/dist/chunks/{alert.D1Ax6AnI.js.map → alert.DTX7XqPC.js.map} +1 -1
  37. package/dist/chunks/{base-modal.DbJYaHyG.js → base-modal.BsD3EOCY.js} +5 -5
  38. package/dist/chunks/{base-modal.DbJYaHyG.js.map → base-modal.BsD3EOCY.js.map} +1 -1
  39. package/dist/chunks/{button-actions-with-menu.BUyecZNi.js → button-actions-with-menu.CUL1q1Ca.js} +4 -4
  40. package/dist/chunks/{button-actions-with-menu.BUyecZNi.js.map → button-actions-with-menu.CUL1q1Ca.js.map} +1 -1
  41. package/dist/chunks/{button-actions.CShVMUOC.js → button-actions.DBgK5Qwo.js} +5 -5
  42. package/dist/chunks/{button-actions.CShVMUOC.js.map → button-actions.DBgK5Qwo.js.map} +1 -1
  43. package/dist/chunks/{calendar.1qqtC8ba.js → calendar.CKY08nCx.js} +120 -107
  44. package/dist/chunks/{calendar.1qqtC8ba.js.map → calendar.CKY08nCx.js.map} +1 -1
  45. package/dist/chunks/{card.rkMUtirc.js → card.BUBXMpP5.js} +10 -10
  46. package/dist/chunks/{card.rkMUtirc.js.map → card.BUBXMpP5.js.map} +1 -1
  47. package/dist/chunks/{checkbox-group.PTNxE0kL.js → checkbox-group.DOAFzAX-.js} +4 -4
  48. package/dist/chunks/{checkbox-group.PTNxE0kL.js.map → checkbox-group.DOAFzAX-.js.map} +1 -1
  49. package/dist/chunks/{checkbox.D9FJcICR.js → checkbox.J51-tG4g.js} +22 -22
  50. package/dist/chunks/{checkbox.D9FJcICR.js.map → checkbox.J51-tG4g.js.map} +1 -1
  51. package/dist/chunks/code-snippet.CUzz3c-V.js +422 -0
  52. package/dist/chunks/code-snippet.CUzz3c-V.js.map +1 -0
  53. package/dist/chunks/{codemirror.CXFEqvAi.js → codemirror.0fz2cWJS.js} +4970 -4661
  54. package/dist/chunks/codemirror.0fz2cWJS.js.map +1 -0
  55. package/dist/chunks/{controls-group.BHxcGQ2A.js → controls-group.CjqybvY2.js} +2 -2
  56. package/dist/chunks/{controls-group.BHxcGQ2A.js.map → controls-group.CjqybvY2.js.map} +1 -1
  57. package/dist/chunks/{copy.DAMq-zRP.js → copy.VRsofU-g.js} +5 -5
  58. package/dist/chunks/{copy.DAMq-zRP.js.map → copy.VRsofU-g.js.map} +1 -1
  59. package/dist/chunks/{country.Cv_8NTmw.js → country.D2t_VEYd.js} +2 -2
  60. package/dist/chunks/{country.Cv_8NTmw.js.map → country.D2t_VEYd.js.map} +1 -1
  61. package/dist/chunks/{country.types.pilf5B3F.js → country.types.CLjbulKL.js} +4114 -4114
  62. package/dist/chunks/{country.types.pilf5B3F.js.map → country.types.CLjbulKL.js.map} +1 -1
  63. package/dist/chunks/{dashboard-section.Buh9mb22.js → dashboard-section.BAJgkMXW.js} +3 -3
  64. package/dist/chunks/{dashboard-section.Buh9mb22.js.map → dashboard-section.BAJgkMXW.js.map} +1 -1
  65. package/dist/chunks/{dashed-underline.DYVSwQtH.js → dashed-underline.B_eVv1aB.js} +2 -2
  66. package/dist/chunks/{dashed-underline.DYVSwQtH.js.map → dashed-underline.B_eVv1aB.js.map} +1 -1
  67. package/dist/chunks/{data-grid-template.B6xmEgaM.js → data-grid-template.DrwGj6Yq.js} +2 -2
  68. package/dist/chunks/{data-grid-template.B6xmEgaM.js.map → data-grid-template.DrwGj6Yq.js.map} +1 -1
  69. package/dist/chunks/{data-grid.DVc9qzLU.js → data-grid.V4b5UdXZ.js} +46 -46
  70. package/dist/chunks/{data-grid.DVc9qzLU.js.map → data-grid.V4b5UdXZ.js.map} +1 -1
  71. package/dist/chunks/{date-picker.Bt4fyPQ4.js → date-picker.DjuQyWzZ.js} +45 -36
  72. package/dist/chunks/date-picker.DjuQyWzZ.js.map +1 -0
  73. package/dist/chunks/{date-range-picker.Bna_2pBL.js → date-range-picker.CmxXWnBc.js} +328 -324
  74. package/dist/chunks/date-range-picker.CmxXWnBc.js.map +1 -0
  75. package/dist/chunks/divider.qUOSAbU6.js +33 -0
  76. package/dist/chunks/divider.qUOSAbU6.js.map +1 -0
  77. package/dist/chunks/{dropdown-default-textbox.ipIFhyWZ.js → dropdown-default-textbox.Dl8Jv2bS.js} +4 -4
  78. package/dist/chunks/{dropdown-default-textbox.ipIFhyWZ.js.map → dropdown-default-textbox.Dl8Jv2bS.js.map} +1 -1
  79. package/dist/chunks/{dropdown-tag.DLyxItIS.js → dropdown-tag.D8hXRrMj.js} +4 -4
  80. package/dist/chunks/{dropdown-tag.DLyxItIS.js.map → dropdown-tag.D8hXRrMj.js.map} +1 -1
  81. package/dist/chunks/{dropdown.CZDXXpKe.js → dropdown.BWu3fV-K.js} +263 -256
  82. package/dist/chunks/dropdown.BWu3fV-K.js.map +1 -0
  83. package/dist/chunks/{error-message.BVE3JdTq.js → error-message.qsc0nOWT.js} +8 -8
  84. package/dist/chunks/{error-message.BVE3JdTq.js.map → error-message.qsc0nOWT.js.map} +1 -1
  85. package/dist/chunks/{es6.jIyAPBgt.js → es6.BtaxuP0b.js} +7 -7
  86. package/dist/chunks/es6.BtaxuP0b.js.map +1 -0
  87. package/dist/chunks/file-uploader.BNGBBltW.js +2226 -0
  88. package/dist/chunks/file-uploader.BNGBBltW.js.map +1 -0
  89. package/dist/chunks/{filter-bar.oihCCt5N.js → filter-bar.Db-KfD-S.js} +53 -53
  90. package/dist/chunks/{filter-bar.oihCCt5N.js.map → filter-bar.Db-KfD-S.js.map} +1 -1
  91. package/dist/chunks/{footer-actions.n0JIXO4Q.js → footer-actions.BG8-pOU-.js} +2 -2
  92. package/dist/chunks/{footer-actions.n0JIXO4Q.js.map → footer-actions.BG8-pOU-.js.map} +1 -1
  93. package/dist/chunks/{form-layout-title.srkVLEUW.js → form-layout-title._25l9_Xm.js} +2 -2
  94. package/dist/chunks/{form-layout-title.srkVLEUW.js.map → form-layout-title._25l9_Xm.js.map} +1 -1
  95. package/dist/chunks/{header.CAHXObTT.js → header.vPx_0dwO.js} +4 -4
  96. package/dist/chunks/{header.CAHXObTT.js.map → header.vPx_0dwO.js.map} +1 -1
  97. package/dist/chunks/{info-icon-with-popover.DFv8U4sh.js → info-icon-with-popover.CieLDo3g.js} +5 -5
  98. package/dist/chunks/{info-icon-with-popover.DFv8U4sh.js.map → info-icon-with-popover.CieLDo3g.js.map} +1 -1
  99. package/dist/chunks/{input-field-password.DedPkZxg.js → input-field-password.CS7rxMCK.js} +80 -80
  100. package/dist/chunks/{input-field-password.DedPkZxg.js.map → input-field-password.CS7rxMCK.js.map} +1 -1
  101. package/dist/chunks/{input-field.3PUv6XC3.js → input-field.Cx4fMIb7.js} +126 -117
  102. package/dist/chunks/input-field.Cx4fMIb7.js.map +1 -0
  103. package/dist/chunks/{inspector.types.Dr0D250X.js → inspector.types.DQQN1eqF.js} +5 -5
  104. package/dist/chunks/{inspector.types.Dr0D250X.js.map → inspector.types.DQQN1eqF.js.map} +1 -1
  105. package/dist/chunks/{menu.Dmzh3Uat.js → menu.CihQsfY6.js} +5 -5
  106. package/dist/chunks/{menu.Dmzh3Uat.js.map → menu.CihQsfY6.js.map} +1 -1
  107. package/dist/chunks/{modal-fullscreen.BazQAAU1.js → modal-fullscreen.D39_mhdY.js} +5 -5
  108. package/dist/chunks/{modal-fullscreen.BazQAAU1.js.map → modal-fullscreen.D39_mhdY.js.map} +1 -1
  109. package/dist/chunks/{modal.vue_vue_type_script_setup_true_lang.C8vZDtlE.js → modal.vue_vue_type_script_setup_true_lang.BHd_MGgH.js} +4 -4
  110. package/dist/chunks/{modal.vue_vue_type_script_setup_true_lang.C8vZDtlE.js.map → modal.vue_vue_type_script_setup_true_lang.BHd_MGgH.js.map} +1 -1
  111. package/dist/chunks/{pagination.BCC3GZV5.js → pagination.CbzgV2xT.js} +45 -45
  112. package/dist/chunks/{pagination.BCC3GZV5.js.map → pagination.CbzgV2xT.js.map} +1 -1
  113. package/dist/chunks/{popover.3KG1IoYE.js → popover.Bzb-pzfB.js} +2 -2
  114. package/dist/chunks/{popover.3KG1IoYE.js.map → popover.Bzb-pzfB.js.map} +1 -1
  115. package/dist/chunks/{radio-group.CeiSaH6M.js → radio-group.DkfCMh_u.js} +107 -94
  116. package/dist/chunks/radio-group.DkfCMh_u.js.map +1 -0
  117. package/dist/chunks/{radio-input.0TPahhZT.js → radio-input.DKfQGxtp.js} +27 -23
  118. package/dist/chunks/{radio-input.0TPahhZT.js.map → radio-input.DKfQGxtp.js.map} +1 -1
  119. package/dist/chunks/{search-bar.BZDJJtWB.js → search-bar.BTu1j3Ll.js} +7 -7
  120. package/dist/chunks/{search-bar.BZDJJtWB.js.map → search-bar.BTu1j3Ll.js.map} +1 -1
  121. package/dist/chunks/{secondary-nav.qm-rh-r6.js → secondary-nav.Bqvz5hjH.js} +8 -8
  122. package/dist/chunks/{secondary-nav.qm-rh-r6.js.map → secondary-nav.Bqvz5hjH.js.map} +1 -1
  123. package/dist/chunks/{selection-card-group.DPGh4nwl.js → selection-card-group.BHYvAL-T.js} +12 -12
  124. package/dist/chunks/{selection-card-group.DPGh4nwl.js.map → selection-card-group.BHYvAL-T.js.map} +1 -1
  125. package/dist/chunks/{sidepanel.DxSdFwm1.js → sidepanel.Bk35AAFF.js} +5 -5
  126. package/dist/chunks/{sidepanel.DxSdFwm1.js.map → sidepanel.Bk35AAFF.js.map} +1 -1
  127. package/dist/chunks/status.types.DsYAH3RM.js +45 -0
  128. package/dist/chunks/status.types.DsYAH3RM.js.map +1 -0
  129. package/dist/chunks/{structured-list-item.DpI6jzfM.js → structured-list-item.wpnBS69h.js} +5 -5
  130. package/dist/chunks/{structured-list-item.DpI6jzfM.js.map → structured-list-item.wpnBS69h.js.map} +1 -1
  131. package/dist/chunks/{summary-grid-item-custom.DCNWMasy.js → summary-grid-item-custom.C8AD1NAh.js} +2 -2
  132. package/dist/chunks/{summary-grid-item-custom.DCNWMasy.js.map → summary-grid-item-custom.C8AD1NAh.js.map} +1 -1
  133. package/dist/chunks/{textarea.CCr8inwI.js → textarea.C0k8by9A.js} +2 -2
  134. package/dist/chunks/{textarea.CCr8inwI.js.map → textarea.C0k8by9A.js.map} +1 -1
  135. package/dist/chunks/{timeline-item.DG9YaOiC.js → timeline-item.CYw68jQr.js} +13 -13
  136. package/dist/chunks/{timeline-item.DG9YaOiC.js.map → timeline-item.CYw68jQr.js.map} +1 -1
  137. package/dist/chunks/{tutorial.vue_vue_type_script_setup_true_lang.CQ0vEvB4.js → tutorial.vue_vue_type_script_setup_true_lang.CjlNffBI.js} +10 -10
  138. package/dist/chunks/{tutorial.vue_vue_type_script_setup_true_lang.CQ0vEvB4.js.map → tutorial.vue_vue_type_script_setup_true_lang.CjlNffBI.js.map} +1 -1
  139. package/dist/chunks/{use-cached-selected-values.BBD_AA1m.js → use-cached-selected-values.YAg3m-Af.js} +10 -10
  140. package/dist/chunks/{use-cached-selected-values.BBD_AA1m.js.map → use-cached-selected-values.YAg3m-Af.js.map} +1 -1
  141. package/dist/chunks/{use-country-items.DnPo3yxj.js → use-country-items.DJn6gU4P.js} +2 -2
  142. package/dist/chunks/{use-country-items.DnPo3yxj.js.map → use-country-items.DJn6gU4P.js.map} +1 -1
  143. package/dist/code-snippet.js +1 -1
  144. package/dist/country.js +2 -2
  145. package/dist/dashboard-template.js +1 -1
  146. package/dist/dashed-underline.js +1 -1
  147. package/dist/data-grid-template.js +1 -1
  148. package/dist/data-grid.js +1 -1
  149. package/dist/date-picker.js +2 -2
  150. package/dist/date-range-picker.js +2 -2
  151. package/dist/divider.js +1 -1
  152. package/dist/dropdown.js +4 -4
  153. package/dist/file-uploader.js +1 -1
  154. package/dist/filter-bar.js +1 -1
  155. package/dist/form-layout.js +1 -1
  156. package/dist/header.js +1 -1
  157. package/dist/index.js +47 -47
  158. package/dist/input-field-password.js +1 -1
  159. package/dist/input-field.js +1 -1
  160. package/dist/inspector.js +1 -1
  161. package/dist/internal.js +8 -8
  162. package/dist/menu.js +1 -1
  163. package/dist/modal-fullscreen.js +1 -1
  164. package/dist/modal.js +2 -2
  165. package/dist/pagination.js +1 -1
  166. package/dist/popover.js +1 -1
  167. package/dist/radio-group.js +2 -2
  168. package/dist/search-bar.js +2 -2
  169. package/dist/secondary-nav.js +1 -1
  170. package/dist/selection-card.js +1 -1
  171. package/dist/sidepanel.js +1 -1
  172. package/dist/status.js +1 -1
  173. package/dist/structured-list.js +1 -1
  174. package/dist/styles/bento-dark.css +2 -0
  175. package/dist/styles/bento-light.css +2 -0
  176. package/dist/styles/bento.css +2 -0
  177. package/dist/styles/legacy.css +7 -5
  178. package/dist/styles/styleguide.css +2 -0
  179. package/dist/summary-grid.js +1 -1
  180. package/dist/textarea.js +1 -1
  181. package/dist/timeline.js +1 -1
  182. package/dist/tutorial.js +1 -1
  183. package/dist/web-types.json +1 -1
  184. package/package.json +7 -4
  185. package/dist/chunks/code-snippet.volJxGqR.js +0 -392
  186. package/dist/chunks/code-snippet.volJxGqR.js.map +0 -1
  187. package/dist/chunks/codemirror.CXFEqvAi.js.map +0 -1
  188. package/dist/chunks/date-picker.Bt4fyPQ4.js.map +0 -1
  189. package/dist/chunks/date-range-picker.Bna_2pBL.js.map +0 -1
  190. package/dist/chunks/divider.DwBC4bpr.js +0 -22
  191. package/dist/chunks/divider.DwBC4bpr.js.map +0 -1
  192. package/dist/chunks/dropdown.CZDXXpKe.js.map +0 -1
  193. package/dist/chunks/es6.jIyAPBgt.js.map +0 -1
  194. package/dist/chunks/file-uploader.BXHt0PWz.js +0 -1077
  195. package/dist/chunks/file-uploader.BXHt0PWz.js.map +0 -1
  196. package/dist/chunks/input-field.3PUv6XC3.js.map +0 -1
  197. package/dist/chunks/radio-group.CeiSaH6M.js.map +0 -1
  198. package/dist/chunks/status.types.Dil95sGx.js +0 -44
  199. package/dist/chunks/status.types.Dil95sGx.js.map +0 -1
@@ -1,103 +1,109 @@
1
- import { reactive as ue, defineComponent as Ve, computed as R, ref as _, onMounted as Ye, toRaw as ce, resolveComponent as k, createElementBlock as pe, openBlock as w, createElementVNode as N, createCommentVNode as F, renderSlot as Se, createBlock as L, createVNode as V, withCtx as $, createTextVNode as J, normalizeClass as fe, toRef as De, watch as Ee, resolveDirective as ta, withDirectives as na, withKeys as ra, toDisplayString as oa, createSlots as sa } from "vue";
2
- import { B as la } from "./divider.DwBC4bpr.js";
3
- import { B as ia } from "./popover.3KG1IoYE.js";
4
- import { B as Ke, d as da } from "./typography.DN5eC5ch.js";
5
- import { r as te, t as ae, g as ve } from "./get-date-locale.BN8xEjY0.js";
6
- import { g as re } from "./generate-uid.NJ8tVoha.js";
7
- import { u as ge } from "./i18n.WMYWtwxB.js";
8
- import { t as ye, f as se } from "./date.DeaBl297.js";
9
- import { f as he, v as ua, D as S } from "./date-input.BqBdAO1E.js";
10
- import { u as ma } from "./use-form-layout-loading.D3lALhtC.js";
11
- import { B as Da } from "./directive.O3yEdalv.js";
1
+ import { reactive as me, defineComponent as Ke, computed as I, ref as C, onMounted as qe, toRaw as fe, resolveComponent as k, createElementBlock as ve, openBlock as O, createElementVNode as N, createCommentVNode as _, renderSlot as he, createBlock as L, createVNode as V, withCtx as $, createTextVNode as J, normalizeClass as ge, toRef as pe, watch as Oe, resolveDirective as na, withDirectives as ra, withKeys as oa, toDisplayString as sa, createSlots as la } from "vue";
2
+ import { B as ia } from "./divider.qUOSAbU6.js";
3
+ import { B as da } from "./popover.Bzb-pzfB.js";
4
+ import { B as Ge, d as ua } from "./typography.DN5eC5ch.js";
5
+ import { r as ne, t as te, g as ye } from "./get-date-locale.BN8xEjY0.js";
6
+ import { g as se } from "./generate-uid.NJ8tVoha.js";
7
+ import { u as Te } from "./i18n.WMYWtwxB.js";
8
+ import { t as be, f as le } from "./date.DeaBl297.js";
9
+ import { s as ee, c as we, i as ae, d as ma, e as Me, f as ca, g as Ae, h as Da, j as pa, a as z, u as fa } from "./calendar.CKY08nCx.js";
10
+ import { f as Ce, v as va, D as S } from "./date-input.BqBdAO1E.js";
11
+ import { u as ga } from "./use-form-layout-loading.D3lALhtC.js";
12
+ import { B as ya } from "./directive.O3yEdalv.js";
12
13
  import "./events.FNmSWp_P.js";
13
- import { B as ca } from "./input-field.3PUv6XC3.js";
14
- import { B as pa } from "./dropdown.CZDXXpKe.js";
15
- import { B as fa } from "./segmented-control.BIwBQ8i3.js";
16
- import { d as ie } from "./debounce.DUTu11PS.js";
17
- import { u as va } from "./use-has-slot.B7eQSabc.js";
18
- import { s as oe, c as we, i as ee, d as ga, e as Oe, f as ya, g as Me, h as Ta, j as ba, a as z, u as Ra } from "./calendar.1qqtC8ba.js";
14
+ import { B as Ta } from "./input-field.Cx4fMIb7.js";
15
+ import { B as ba } from "./dropdown.BWu3fV-K.js";
16
+ import { B as Ia } from "./segmented-control.BIwBQ8i3.js";
17
+ import { d as de } from "./debounce.DUTu11PS.js";
18
+ import { u as Ra } from "./use-has-slot.B7eQSabc.js";
19
19
  import { e as H } from "./index.DPafeRJa.js";
20
- import { e as Ae } from "./index.CrhTVr5J.js";
21
- import { _ as qe } from "./_plugin-vue_export-helper.CHgC5LLL.js";
22
- import { D as Ia } from "./dropdown-default-textbox.ipIFhyWZ.js";
23
- import { F as ka, E as Sa } from "./error-message.BVE3JdTq.js";
24
- import { B as Ea, c as ha } from "./button-actions.CShVMUOC.js";
20
+ import { e as _e } from "./index.CrhTVr5J.js";
21
+ import { _ as We } from "./_plugin-vue_export-helper.CHgC5LLL.js";
22
+ import { D as ka } from "./dropdown-default-textbox.Dl8Jv2bS.js";
23
+ import { F as Sa, E as Ea } from "./error-message.qsc0nOWT.js";
24
+ import { B as ha, c as Oa } from "./button-actions.DBgK5Qwo.js";
25
25
  import "../assets/date-range-picker.css";
26
- function Ce(e, t) {
27
- te(2, arguments);
28
- var l = ae(e), u = ae(t);
29
- return l.getTime() === u.getTime();
26
+ function Fe(e, t) {
27
+ ne(2, arguments);
28
+ var l = te(e), d = te(t);
29
+ return l.getTime() === d.getTime();
30
30
  }
31
- function _e(e) {
32
- te(1, arguments);
33
- var t = ae(e);
31
+ function Ue(e) {
32
+ ne(1, arguments);
33
+ var t = te(e);
34
34
  return t.setMilliseconds(0), t;
35
35
  }
36
- function Fe(e, t) {
37
- te(2, arguments);
38
- var l = _e(e), u = _e(t);
39
- return l.getTime() === u.getTime();
36
+ function Be(e, t) {
37
+ ne(2, arguments);
38
+ var l = Ue(e), d = Ue(t);
39
+ return l.getTime() === d.getTime();
40
40
  }
41
41
  function wa(e, t) {
42
- te(2, arguments);
43
- var l = ae(e), u = ye(t);
44
- return l.setHours(u), l;
45
- }
46
- function Oa(e, t) {
47
- te(2, arguments);
48
- var l = ae(e), u = ye(t);
49
- return l.setMinutes(u), l;
42
+ ne(2, arguments);
43
+ var l = te(e), d = be(t);
44
+ return l.setHours(d), l;
50
45
  }
51
46
  function Ma(e, t) {
52
- te(2, arguments);
53
- var l = ae(e), u = ye(t);
54
- return l.setSeconds(u), l;
47
+ ne(2, arguments);
48
+ var l = te(e), d = be(t);
49
+ return l.setMinutes(d), l;
50
+ }
51
+ function Aa(e, t) {
52
+ ne(2, arguments);
53
+ var l = te(e), d = be(t);
54
+ return l.setSeconds(d), l;
55
+ }
56
+ function ce(e) {
57
+ if (e == null)
58
+ return ee(/* @__PURE__ */ new Date());
59
+ const [t, l, d] = e.split("-").map((i) => parseInt(i, 10));
60
+ return new Date(t, l - 1, d);
55
61
  }
56
- const Aa = ({
62
+ const Ca = ({
57
63
  firstDayOfWeek: e,
58
64
  min: t,
59
65
  max: l
60
66
  }) => ({ getGranularCalendarLimits: (i) => {
61
- let c = oe(t), n = H(l);
67
+ let D = ee(t), n = H(l);
62
68
  if ((i == null ? void 0 : i.type) === "weekly") {
63
69
  if (i.earliest)
64
- c = oe(i.earliest);
70
+ D = ee(i.earliest);
65
71
  else {
66
- const d = we(c, { weekStartsOn: e });
67
- ee(c, d) || (c = oe(ga(Oe(c, { weekStartsOn: e }), 1)));
72
+ const u = we(D, { weekStartsOn: e });
73
+ ae(D, u) || (D = ee(ma(Me(D, { weekStartsOn: e }), 1)));
68
74
  }
69
75
  if (i.latest)
70
76
  n = H(i.latest);
71
77
  else {
72
- const d = Oe(n, { weekStartsOn: e });
73
- ee(n, d) || (n = H(ya(we(n, { weekStartsOn: e }), 1)));
78
+ const u = Me(n, { weekStartsOn: e });
79
+ ae(n, u) || (n = H(ca(we(n, { weekStartsOn: e }), 1)));
74
80
  }
75
81
  }
76
82
  if ((i == null ? void 0 : i.type) === "monthly") {
77
83
  if (i.earliest)
78
- c = oe(i.earliest);
84
+ D = ee(i.earliest);
79
85
  else {
80
- const d = Me(c);
81
- ee(c, d) || (c = Me(Ta(c, 1)));
86
+ const u = Ae(D);
87
+ ae(D, u) || (D = Ae(Da(D, 1)));
82
88
  }
83
89
  if (i.latest)
84
90
  n = H(i.latest);
85
91
  else {
86
- const d = Ae(n);
87
- ee(n, d) || (n = Ae(ba(n, 1)));
92
+ const u = _e(n);
93
+ ae(n, u) || (n = _e(pa(n, 1)));
88
94
  }
89
95
  }
90
- return { min: c, max: n };
91
- } }), Ca = () => {
92
- const e = ue({
96
+ return { min: D, max: n };
97
+ } }), _a = () => {
98
+ const e = me({
93
99
  daily: null,
94
100
  weekly: null,
95
101
  monthly: null
96
102
  });
97
103
  return {
98
104
  savedRanges: e,
99
- saveRange: (u, i) => {
100
- e[u] = i;
105
+ saveRange: (d, i) => {
106
+ e[d] = i;
101
107
  },
102
108
  resetSavedRanges: () => {
103
109
  e.daily = null, e.weekly = null, e.monthly = null;
@@ -105,18 +111,18 @@ const Aa = ({
105
111
  };
106
112
  };
107
113
  var f = /* @__PURE__ */ ((e) => (e.CUSTOM_RANGE = "custom-range", e.INPUT = "input", e.ERROR = "error", e.FORM_DATE = "form-date", e.START_DATE_SELECTED = "start-date-selected", e))(f || {});
108
- const _a = /[\d]/, Fa = /^\d{2}$/, Ua = /^\d{2}:\d{2}$/, Ba = (e) => {
109
- const { selectionStart: t } = e.target, l = _a.test(e.key) || e.key === "Backspace", u = [1, 2, 4, 5].includes(t) && e.key === ":";
110
- !l && !u && e.preventDefault();
111
- }, Ue = (e) => {
114
+ const Fa = /[\d]/, Ua = /^\d{2}$/, Ba = /^\d{2}:\d{2}$/, Pa = (e) => {
115
+ const { selectionStart: t } = e.target, l = Fa.test(e.key) || e.key === "Backspace", d = [1, 2, 4, 5].includes(t) && e.key === ":";
116
+ !l && !d && e.preventDefault();
117
+ }, Pe = (e) => {
112
118
  if (!e)
113
119
  return e;
114
120
  let t = e;
115
121
  if (t.length === 1 && parseInt(e, 10) > 2)
116
122
  return `0${t}:`;
117
- const [l, u] = t.slice(-2);
118
- return [2, 5].includes(t.length) && u === ":" && (t = `${t.slice(0, t.length - 2)}0${l}`), (Fa.test(t) || Ua.test(t)) && (t += ":"), t;
119
- }, Be = {
123
+ const [l, d] = t.slice(-2);
124
+ return [2, 5].includes(t.length) && d === ":" && (t = `${t.slice(0, t.length - 2)}0${l}`), (Ua.test(t) || Ba.test(t)) && (t += ":"), t;
125
+ }, Ne = {
120
126
  "en-US": {
121
127
  customRange: "Custom range",
122
128
  daily: "Daily",
@@ -130,14 +136,6 @@ const _a = /[\d]/, Fa = /^\d{2}$/, Ua = /^\d{2}:\d{2}$/, Ba = (e) => {
130
136
  timeTo: "Time to",
131
137
  weekly: "Weekly"
132
138
  },
133
- "pt-BR": {
134
- customRange: "Selecione um intervalo personalizado",
135
- daily: "Diário",
136
- lastMonth: "Último mês",
137
- lastSevenDays: "Últimos 7 dias",
138
- monthly: "Mensal",
139
- weekly: "Semanal"
140
- },
141
139
  "ja-JP": {
142
140
  customRange: "カスタム範囲を選択",
143
141
  daily: "毎日",
@@ -145,15 +143,23 @@ const _a = /[\d]/, Fa = /^\d{2}$/, Ua = /^\d{2}:\d{2}$/, Ba = (e) => {
145
143
  lastSevenDays: "過去7日間",
146
144
  monthly: "毎月",
147
145
  weekly: "毎週"
146
+ },
147
+ "pt-BR": {
148
+ customRange: "Selecione um intervalo personalizado",
149
+ daily: "Diário",
150
+ lastMonth: "Último mês",
151
+ lastSevenDays: "Últimos 7 dias",
152
+ monthly: "Mensal",
153
+ weekly: "Semanal"
148
154
  }
149
- }, Pe = 300, Ne = "customRange", $e = "daily", Pa = Ve({
150
- i18n: { messages: Be },
155
+ }, $e = 300, Le = "customRange", Ve = "daily", Na = Ke({
156
+ i18n: { messages: Ne },
151
157
  name: "date-range-picker-calendar",
152
158
  components: {
153
- BentoDropdown: pa,
154
- BentoInputField: ca,
155
- BentoSegmentedControl: fa,
156
- BentoTypography: Ke,
159
+ BentoDropdown: ba,
160
+ BentoInputField: Ta,
161
+ BentoSegmentedControl: Ia,
162
+ BentoTypography: Ge,
157
163
  Calendar: z
158
164
  },
159
165
  props: {
@@ -228,223 +234,221 @@ const _a = /[\d]/, Fa = /^\d{2}$/, Ua = /^\d{2}:\d{2}$/, Ba = (e) => {
228
234
  f.START_DATE_SELECTED
229
235
  ],
230
236
  setup(e, { emit: t, slots: l }) {
231
- var Re, Ie, ke;
232
- const { locale: u, t: i } = ge({ messages: Be }), c = ve(), n = ue({
233
- startDate: (Re = e.value) == null ? void 0 : Re.startDate,
234
- endDate: (Ie = e.value) == null ? void 0 : Ie.endDate,
237
+ var ke, Se, Ee;
238
+ const { locale: d, t: i } = Te({ messages: Ne }), D = ye(), n = me({
239
+ startDate: (ke = e.value) == null ? void 0 : ke.startDate,
240
+ endDate: (Se = e.value) == null ? void 0 : Se.endDate,
235
241
  ...e.granularities ? {
236
- granularity: ((ke = e.value) == null ? void 0 : ke.granularity) || $e
242
+ granularity: ((Ee = e.value) == null ? void 0 : Ee.granularity) || Ve
237
243
  } : {}
238
- }), d = R(
244
+ }), u = I(
239
245
  () => {
240
246
  var a, r;
241
- return ((r = (a = e == null ? void 0 : e.quickSelectRanges) == null ? void 0 : a.find(({ data: o }) => e.allowTimeInput ? Fe(o.startDate, n.startDate) && Fe(o.endDate, n.endDate) : ee(o.startDate, n.startDate) && ee(o.endDate, n.endDate))) == null ? void 0 : r.value) ?? Ne;
247
+ return ((r = (a = e == null ? void 0 : e.quickSelectRanges) == null ? void 0 : a.find(({ data: s }) => e.allowTimeInput ? Be(s.startDate, n.startDate) && Be(s.endDate, n.endDate) : ae(s.startDate, n.startDate) && ae(s.endDate, n.endDate))) == null ? void 0 : r.value) ?? Le;
242
248
  }
243
- ), T = R(() => ({
249
+ ), T = I(() => ({
244
250
  "b-date-range-picker-calendar__form-input-wrapper": e.allowTimeInput
245
- })), E = R(() => [
246
- { label: i("customRange"), value: Ne },
251
+ })), E = I(() => [
252
+ { label: i("customRange"), value: Le },
247
253
  ...e.quickSelectRanges ? e.quickSelectRanges : []
248
- ]), O = R(
254
+ ]), w = I(
249
255
  () => {
250
256
  var a;
251
257
  return ((a = e.granularities) == null ? void 0 : a.find(({ type: r }) => r === n.granularity)) || null;
252
258
  }
253
- ), v = R(
259
+ ), v = I(
254
260
  () => {
255
261
  var a;
256
- return ((a = e.granularities) == null ? void 0 : a.map(({ type: r, disabled: o }) => ({
262
+ return ((a = e.granularities) == null ? void 0 : a.map(({ type: r, disabled: s }) => ({
257
263
  label: i(r),
258
264
  value: r,
259
- disabled: o
265
+ disabled: s
260
266
  }))) ?? [];
261
267
  }
262
- ), { getGranularCalendarLimits: Y } = Aa(e), m = R(
263
- () => e.granularities ? Y(O.value) : { min: oe(e.min), max: H(e.max) }
268
+ ), { getGranularCalendarLimits: Y } = Ca(e), m = I(
269
+ () => e.granularities ? Y(w.value) : { min: ee(e.min), max: H(e.max) }
264
270
  ), {
265
271
  adjustDateForMonthly: K,
266
272
  adjustDateForWeekly: b,
267
273
  adjustStartDateInputForWeekly: j,
268
- adjustEndDateInputForWeekly: B,
274
+ adjustEndDateInputForWeekly: U,
269
275
  adjustStartDateInputForMonthly: g,
270
- adjustEndDateInputForMonthly: U
271
- } = Ra(e.firstDayOfWeek), { savedRanges: y, saveRange: Q, resetSavedRanges: ne } = Ca(), I = (a) => a ? se(a, S.NUMERIC_DATE_YEAR_FIRST, {
272
- locale: c[u.value.substring(0, 2)] || c.enUS
273
- }) : "", M = (a) => a ? se(a, S.HOUR_MINUTE_SECONDS, {
274
- locale: c[u.value.substring(0, 2)] || c.enUS
275
- }) : "", A = _(!1), q = _(!1), G = _(!1), W = _(!1), s = ue({
276
+ adjustEndDateInputForMonthly: F
277
+ } = fa(e.firstDayOfWeek), { savedRanges: y, saveRange: Q, resetSavedRanges: re } = _a(), R = (a) => a ? le(a, S.NUMERIC_DATE_YEAR_FIRST, {
278
+ locale: D[d.value.substring(0, 2)] || D.enUS
279
+ }) : "", M = (a) => a ? le(a, S.HOUR_MINUTE_SECONDS, {
280
+ locale: D[d.value.substring(0, 2)] || D.enUS
281
+ }) : "", A = C(!1), q = C(!1), G = C(!1), W = C(!1), o = me({
276
282
  startDate: e.dateFormData.startDate,
277
283
  endDate: e.dateFormData.endDate,
278
284
  startTime: e.dateFormData.startTime,
279
285
  endTime: e.dateFormData.endTime
280
- }), le = (a) => /^(?:[01]\d|2[01234]):(?:[012345]\d):(?:[012345]\d)$/.test(a), C = (a, r) => {
281
- if (!r || !le(r))
286
+ }), ie = (a) => /^(?:[01]\d|2[01234]):(?:[012345]\d):(?:[012345]\d)$/.test(a), B = (a, r) => {
287
+ if (!r || !ie(r))
282
288
  return a;
283
- let o = new Date(a);
284
- const [D, ea, aa] = r.split(":");
285
- return o = wa(o, parseInt(D, 10)), o = Oa(o, parseInt(ea, 10)), o = Ma(o, parseInt(aa, 10)), o;
286
- }, Te = (a) => {
287
- n.startDate = C(a.startDate, s.startTime), n.endDate = C(a.endDate, s.endTime), e.granularities && ne(), t(f.INPUT, {
289
+ let s = new Date(a);
290
+ const [c, oe, ta] = r.split(":");
291
+ return s = wa(s, parseInt(c, 10)), s = Ma(s, parseInt(oe, 10)), s = Aa(s, parseInt(ta, 10)), s;
292
+ }, Ie = (a) => {
293
+ n.startDate = B(a.startDate, o.startTime), n.endDate = B(a.endDate, o.endTime), e.granularities && re(), t(f.INPUT, {
288
294
  ...n,
289
- range: d.value
295
+ range: u.value
290
296
  });
291
297
  }, X = (a) => {
292
- const r = (D) => e.min && D <= e.min || e.max && D >= e.max ? !1 : e.isDateDisabled ? !e.isDateDisabled(D) : !0;
298
+ const r = (c) => e.min && c <= e.min || e.max && c >= e.max ? !1 : e.isDateDisabled ? !e.isDateDisabled(c) : !0;
293
299
  return /^\d{4}-(0?[1-9]|1[012])-(0?[1-9]|[12][0-9]|3[01])$/.test(a) && r(new Date(a));
294
300
  };
295
- Ye(() => {
301
+ qe(() => {
296
302
  e.dateFormData.startDate && !X(e.dateFormData.startDate) ? A.value = !0 : (A.value = !1, G.value = !1), e.dateFormData.endDate && !X(e.dateFormData.endDate) ? q.value = !0 : (q.value = !1, W.value = !1);
297
303
  });
298
- const be = (a) => {
304
+ const Re = (a) => {
299
305
  var r;
300
- s.startDate = I(a), s.startTime ? G.value && (s.startTime = (r = e.dateFormData) == null ? void 0 : r.startTime) : s.startTime = M(a), A.value = !1, G.value = !1, t(f.START_DATE_SELECTED, a);
306
+ o.startDate = R(a), o.startTime ? G.value && (o.startTime = (r = e.dateFormData) == null ? void 0 : r.startTime) : o.startTime = M(a), A.value = !1, G.value = !1, t(f.START_DATE_SELECTED, a);
301
307
  }, p = (a) => {
302
308
  var r;
303
- s.endDate = I(a), s.endTime ? W.value && (s.endTime = (r = e.dateFormData) == null ? void 0 : r.endTime) : s.endTime = M(H(a)), q.value = !1, W.value = !1;
309
+ o.endDate = R(a), o.endTime ? W.value && (o.endTime = (r = e.dateFormData) == null ? void 0 : r.endTime) : o.endTime = M(H(a)), q.value = !1, W.value = !1;
304
310
  }, h = (a) => {
305
311
  const r = e.value[a];
306
312
  if (r)
307
313
  return r;
308
314
  if (e.dateFormData[a] && X(e.dateFormData[a]))
309
315
  return new Date(e.dateFormData[a]);
310
- }, Z = ie((a) => {
316
+ }, Z = de((a) => {
311
317
  var r;
312
318
  if (X(a)) {
313
- let o = a;
314
- switch (A.value = !1, (r = O.value) == null ? void 0 : r.type) {
319
+ let s = a;
320
+ switch (A.value = !1, (r = w.value) == null ? void 0 : r.type) {
315
321
  case "weekly":
316
- o = j(
322
+ s = j(
317
323
  a,
318
- I,
324
+ R,
319
325
  m.value.min,
320
326
  m.value.max
321
- ), s.startDate = o;
327
+ ), o.startDate = s;
322
328
  break;
323
329
  case "monthly":
324
- o = g(
330
+ s = g(
325
331
  a,
326
- I,
332
+ R,
327
333
  m.value.min,
328
334
  m.value.max
329
- ), s.startDate = o;
335
+ ), o.startDate = s;
330
336
  break;
331
337
  }
332
- n.startDate = C(new Date(o), s.startTime);
333
- const D = h("endDate");
338
+ const c = ce(s);
339
+ n.startDate = B(c, o.startTime);
340
+ const oe = h("endDate");
334
341
  t(f.FORM_DATE, {
335
- startDate: new Date(o),
336
- endDate: D
342
+ startDate: c,
343
+ endDate: oe
337
344
  }), t(f.INPUT, {
338
- startDate: new Date(o),
339
- endDate: D,
340
- range: d.value
345
+ ...n,
346
+ range: u.value
341
347
  });
342
348
  } else
343
- A.value = !0, t(f.ERROR, { ...s });
344
- }, Pe), me = (a) => {
345
- s.startDate = he(a), Z(s.startDate);
346
- }, Ge = ie((a) => {
349
+ A.value = !0, t(f.ERROR, { ...o });
350
+ }, $e), De = (a) => {
351
+ o.startDate = Ce(a), Z(o.startDate);
352
+ }, He = de((a) => {
347
353
  var r;
348
354
  if (X(a)) {
349
- let o = a;
350
- switch (q.value = !1, (r = O.value) == null ? void 0 : r.type) {
355
+ let s = a;
356
+ switch (q.value = !1, (r = w.value) == null ? void 0 : r.type) {
351
357
  case "weekly":
352
- o = B(
358
+ s = U(
353
359
  a,
354
- I,
360
+ R,
355
361
  m.value.min,
356
362
  m.value.max
357
- ), s.endDate = o;
363
+ ), o.endDate = s;
358
364
  break;
359
365
  case "monthly":
360
- o = U(
366
+ s = F(
361
367
  a,
362
- I,
368
+ R,
363
369
  m.value.min,
364
370
  m.value.max
365
- ), s.endDate = o;
371
+ ), o.endDate = s;
366
372
  break;
367
373
  }
368
- n.endDate = C(new Date(o), s.endTime);
369
- const D = h("startDate");
374
+ const c = ce(s);
375
+ n.endDate = B(c, o.endTime);
376
+ const oe = h("startDate");
370
377
  t(f.FORM_DATE, {
371
- startDate: D,
372
- endDate: new Date(a)
378
+ startDate: oe,
379
+ endDate: c
373
380
  }), t(f.INPUT, {
374
- startDate: D,
375
- endDate: new Date(a),
376
- range: d.value
381
+ ...n,
382
+ range: u.value
377
383
  });
378
384
  } else
379
- q.value = !0, t(f.ERROR, { ...s });
380
- }, Pe), We = (a) => {
381
- s.endDate = he(a), Ge(s.endDate);
382
- }, He = (a) => {
383
- ua(a);
384
- }, je = ie((a) => {
385
- if (le(a)) {
386
- G.value = !1, n.startDate = C(n.startDate, a);
385
+ q.value = !0, t(f.ERROR, { ...o });
386
+ }, $e), je = (a) => {
387
+ o.endDate = Ce(a), He(o.endDate);
388
+ }, ze = (a) => {
389
+ va(a);
390
+ }, Je = de((a) => {
391
+ if (ie(a)) {
392
+ G.value = !1, n.startDate = B(n.startDate, a);
387
393
  const r = h("endDate");
388
394
  t(f.FORM_DATE, {
389
395
  startDate: new Date(n.startDate),
390
- endDate: C(new Date(r), e.dateFormData.endTime),
396
+ endDate: r,
391
397
  startTime: a,
392
398
  endTime: e.dateFormData.endTime
393
399
  }), t(f.INPUT, {
394
- startDate: new Date(n.startDate),
395
- endDate: C(new Date(r), e.dateFormData.endTime),
396
- range: d.value
400
+ ...n,
401
+ range: u.value
397
402
  });
398
403
  } else
399
- G.value = !0, t(f.ERROR, { ...s });
400
- }), ze = ie((a) => {
401
- if (le(a)) {
402
- W.value = !1, n.endDate = C(n.endDate, a);
404
+ G.value = !0, t(f.ERROR, { ...o });
405
+ }), Qe = de((a) => {
406
+ if (ie(a)) {
407
+ W.value = !1, n.endDate = B(n.endDate, a);
403
408
  const r = h("startDate");
404
- t(f.FORM_DATE, {
405
- startDate: C(new Date(r), e.dateFormData.startTime),
409
+ n.startDate = B(new Date(r), e.dateFormData.startTime), t(f.FORM_DATE, {
410
+ startDate: B(new Date(r), e.dateFormData.startTime),
406
411
  endDate: new Date(n.endDate),
407
412
  startTime: e.dateFormData.startTime,
408
413
  endTime: a
409
414
  }), t(f.INPUT, {
410
- startDate: C(new Date(r), e.dateFormData.startTime),
411
- endDate: new Date(n.endDate),
412
- range: d.value
415
+ ...n,
416
+ range: u.value
413
417
  });
414
418
  } else
415
- W.value = !0, t(f.ERROR, { ...s });
416
- }), Je = (a) => {
417
- s.startTime = Ue(a), je(s.startTime);
418
- }, Qe = (a) => {
419
- s.endTime = Ue(a), ze(s.endTime);
420
- }, Xe = (a) => {
421
- Ba(a);
422
- }, x = (a, r, o) => {
423
- n.startDate = a, n.endDate = r, o && (n.granularity = o);
419
+ W.value = !0, t(f.ERROR, { ...o });
420
+ }), Xe = (a) => {
421
+ o.startTime = Pe(a), Je(o.startTime);
424
422
  }, Ze = (a) => {
425
- var o;
426
- const r = (o = e.quickSelectRanges) == null ? void 0 : o.find(({ value: D }) => D === a);
423
+ o.endTime = Pe(a), Qe(o.endTime);
424
+ }, xe = (a) => {
425
+ Pa(a);
426
+ }, x = (a, r, s) => {
427
+ n.startDate = a, n.endDate = r, s && (n.granularity = s);
428
+ }, ea = (a) => {
429
+ var s;
430
+ const r = (s = e.quickSelectRanges) == null ? void 0 : s.find(({ value: c }) => c === a);
427
431
  if (r) {
428
- ne();
429
- const D = r.data;
430
- s.startDate = I(D.startDate), s.endDate = I(D.endDate), x(D.startDate, D.endDate), e.granularities && (n.granularity = D.granularity || $e), s.startTime || (s.startTime = M(H(D.startDate))), s.endTime || (s.endTime = M(H(D.endDate))), t(f.CUSTOM_RANGE, { ...r.data, range: r.value });
432
+ re();
433
+ const c = r.data;
434
+ o.startDate = R(c.startDate), o.endDate = R(c.endDate), x(c.startDate, c.endDate), e.granularities && (n.granularity = c.granularity || Ve), o.startTime || (o.startTime = M(H(c.startDate))), o.endTime || (o.endTime = M(H(c.endDate))), t(f.CUSTOM_RANGE, { ...r.data, range: r.value });
431
435
  }
432
- }, xe = (a) => {
436
+ }, aa = (a) => {
433
437
  const r = n.granularity;
434
- if (n.granularity = a, r && Q(r, structuredClone(ce(n))), n.startDate && n.endDate) {
438
+ if (n.granularity = a, r && Q(r, structuredClone(fe(n))), n.startDate && n.endDate) {
435
439
  switch (a) {
436
440
  case "monthly": {
437
441
  if (y.monthly) {
438
442
  x(y.monthly.startDate, y.monthly.endDate, a);
439
443
  break;
440
444
  }
441
- const { startDate: o, endDate: D } = K(
445
+ const { startDate: s, endDate: c } = K(
442
446
  n.startDate,
443
447
  n.endDate,
444
448
  m.value.min,
445
449
  m.value.max
446
450
  );
447
- x(o, D, a);
451
+ x(s, c, a);
448
452
  break;
449
453
  }
450
454
  case "weekly": {
@@ -452,77 +456,77 @@ const _a = /[\d]/, Fa = /^\d{2}$/, Ua = /^\d{2}:\d{2}$/, Ba = (e) => {
452
456
  x(y.weekly.startDate, y.weekly.endDate, a);
453
457
  break;
454
458
  }
455
- const { startDate: o, endDate: D } = b(
459
+ const { startDate: s, endDate: c } = b(
456
460
  n.startDate,
457
461
  n.endDate,
458
462
  m.value.min,
459
463
  m.value.max
460
464
  );
461
- x(o, D, a);
465
+ x(s, c, a);
462
466
  break;
463
467
  }
464
468
  case "daily":
465
469
  y.daily && x(y.daily.startDate, y.daily.endDate, a);
466
470
  break;
467
471
  }
468
- s.startDate = I(n.startDate), s.endDate = I(n.endDate), t(f.INPUT, {
472
+ o.startDate = R(n.startDate), o.endDate = R(n.endDate), t(f.INPUT, {
469
473
  ...n,
470
- range: d.value
474
+ range: u.value
471
475
  });
472
476
  }
473
477
  };
474
478
  return {
475
479
  // Values
476
480
  internalRangeDate: n,
477
- dateTextInput: s,
481
+ dateTextInput: o,
478
482
  endDateError: q,
479
483
  endTimeError: W,
480
484
  granularityItems: v,
481
- selectedGranularity: O,
485
+ selectedGranularity: w,
482
486
  computedMinMax: m,
483
- selectedRangeSelectorValue: d,
487
+ selectedRangeSelectorValue: u,
484
488
  startDateError: A,
485
489
  startTimeError: G,
486
490
  quickSelectRangeDefaultItems: E,
487
491
  formInputWrapperConditionalClasses: T,
488
492
  // Methods
489
- hasSlot: va(l),
493
+ hasSlot: Ra(l),
490
494
  t: i,
491
495
  // Events
492
- onDateInput: Te,
493
- onDateInputKeyDown: He,
494
- onEndDateInput: We,
496
+ onDateInput: Ie,
497
+ onDateInputKeyDown: ze,
498
+ onEndDateInput: je,
495
499
  onEndDateSelected: p,
496
- onEndTimeInput: Qe,
497
- onGranularityInput: xe,
498
- onRangeSelectorInput: Ze,
499
- onStartDateInput: me,
500
- onStartDateSelected: be,
501
- onStartTimeInput: Je,
502
- onTimeInputKeyDown: Xe
500
+ onEndTimeInput: Ze,
501
+ onGranularityInput: aa,
502
+ onRangeSelectorInput: ea,
503
+ onStartDateInput: De,
504
+ onStartDateSelected: Re,
505
+ onStartTimeInput: Xe,
506
+ onTimeInputKeyDown: xe
503
507
  };
504
508
  }
505
- }), Na = { class: "b-date-range-picker-calendar" }, $a = { class: "b-date-range-picker-calendar__form-container" }, La = { class: "b-date-range-picker-calendar__form" }, Va = { key: 0 }, Ya = { class: "b-date-range-picker-calendar__calendars-container" };
506
- function Ka(e, t, l, u, i, c) {
507
- const n = k("bento-dropdown"), d = k("bento-segmented-control"), T = k("bento-typography"), E = k("bento-input-field"), O = k("calendar");
508
- return w(), pe("div", Na, [
509
- N("div", $a, [
510
- N("div", La, [
511
- e.hasSlot("title") ? Se(e.$slots, "title", { key: 0 }, void 0, !0) : F("", !0),
512
- e.quickSelectRanges ? (w(), L(n, {
509
+ }), $a = { class: "b-date-range-picker-calendar" }, La = { class: "b-date-range-picker-calendar__form-container" }, Va = { class: "b-date-range-picker-calendar__form" }, Ya = { key: 0 }, Ka = { class: "b-date-range-picker-calendar__calendars-container" };
510
+ function qa(e, t, l, d, i, D) {
511
+ const n = k("bento-dropdown"), u = k("bento-segmented-control"), T = k("bento-typography"), E = k("bento-input-field"), w = k("calendar");
512
+ return O(), ve("div", $a, [
513
+ N("div", La, [
514
+ N("div", Va, [
515
+ e.hasSlot("title") ? he(e.$slots, "title", { key: 0 }, void 0, !0) : _("", !0),
516
+ e.quickSelectRanges ? (O(), L(n, {
513
517
  key: 1,
514
518
  "aria-label": e.t("customRange"),
515
519
  items: e.quickSelectRangeDefaultItems,
516
520
  value: e.selectedRangeSelectorValue,
517
521
  onInput: e.onRangeSelectorInput
518
- }, null, 8, ["aria-label", "items", "value", "onInput"])) : F("", !0),
519
- e.granularities ? (w(), L(d, {
522
+ }, null, 8, ["aria-label", "items", "value", "onInput"])) : _("", !0),
523
+ e.granularities ? (O(), L(u, {
520
524
  key: 2,
521
525
  items: e.granularityItems,
522
526
  "model-value": e.internalRangeDate.granularity,
523
527
  "full-width": "",
524
528
  "onUpdate:modelValue": e.onGranularityInput
525
- }, null, 8, ["items", "model-value", "onUpdate:modelValue"])) : F("", !0),
529
+ }, null, 8, ["items", "model-value", "onUpdate:modelValue"])) : _("", !0),
526
530
  N("div", null, [
527
531
  V(T, {
528
532
  stronger: "",
@@ -535,7 +539,7 @@ function Ka(e, t, l, u, i, c) {
535
539
  _: 1
536
540
  }),
537
541
  N("div", {
538
- class: fe(e.formInputWrapperConditionalClasses)
542
+ class: ge(e.formInputWrapperConditionalClasses)
539
543
  }, [
540
544
  V(E, {
541
545
  "aria-label": e.t("dateFrom"),
@@ -550,7 +554,7 @@ function Ka(e, t, l, u, i, c) {
550
554
  ])),
551
555
  _: 1
552
556
  }, 8, ["aria-label", "value", "error", "onInput", "onKeydown"]),
553
- e.allowTimeInput ? (w(), L(E, {
557
+ e.allowTimeInput ? (O(), L(E, {
554
558
  key: 0,
555
559
  "aria-label": e.t("timeFrom"),
556
560
  value: e.dateTextInput.startTime,
@@ -563,7 +567,7 @@ function Ka(e, t, l, u, i, c) {
563
567
  J("HH:MM:SS")
564
568
  ])),
565
569
  _: 1
566
- }, 8, ["aria-label", "value", "error", "onInput", "onKeydown"])) : F("", !0)
570
+ }, 8, ["aria-label", "value", "error", "onInput", "onKeydown"])) : _("", !0)
567
571
  ], 2)
568
572
  ]),
569
573
  N("div", null, [
@@ -578,7 +582,7 @@ function Ka(e, t, l, u, i, c) {
578
582
  _: 1
579
583
  }),
580
584
  N("div", {
581
- class: fe(e.formInputWrapperConditionalClasses)
585
+ class: ge(e.formInputWrapperConditionalClasses)
582
586
  }, [
583
587
  V(E, {
584
588
  class: "b-date-range-picker-calendar__form-input",
@@ -593,7 +597,7 @@ function Ka(e, t, l, u, i, c) {
593
597
  ])),
594
598
  _: 1
595
599
  }, 8, ["aria-label", "value", "error", "onInput", "onKeydown"]),
596
- e.allowTimeInput ? (w(), L(E, {
600
+ e.allowTimeInput ? (O(), L(E, {
597
601
  key: 0,
598
602
  "aria-label": e.t("timeTo"),
599
603
  value: e.dateTextInput.endTime,
@@ -606,16 +610,16 @@ function Ka(e, t, l, u, i, c) {
606
610
  J("HH:MM:SS")
607
611
  ])),
608
612
  _: 1
609
- }, 8, ["aria-label", "value", "error", "onInput", "onKeydown"])) : F("", !0)
613
+ }, 8, ["aria-label", "value", "error", "onInput", "onKeydown"])) : _("", !0)
610
614
  ], 2)
611
615
  ])
612
616
  ]),
613
- e.hasSlot("actions") ? (w(), pe("div", Va, [
614
- Se(e.$slots, "actions", {}, void 0, !0)
615
- ])) : F("", !0)
617
+ e.hasSlot("actions") ? (O(), ve("div", Ya, [
618
+ he(e.$slots, "actions", {}, void 0, !0)
619
+ ])) : _("", !0)
616
620
  ]),
617
- N("div", Ya, [
618
- V(O, {
621
+ N("div", Ka, [
622
+ V(w, {
619
623
  value: e.value,
620
624
  "first-day-of-week": e.firstDayOfWeek,
621
625
  "is-date-disabled": e.isDateDisabled,
@@ -633,41 +637,41 @@ function Ka(e, t, l, u, i, c) {
633
637
  ])
634
638
  ]);
635
639
  }
636
- const P = /* @__PURE__ */ qe(Pa, [["render", Ka], ["__scopeId", "data-v-8b5ccd44"]]), qa = ({
640
+ const P = /* @__PURE__ */ We(Na, [["render", qa], ["__scopeId", "data-v-3986b925"]]), Ga = ({
637
641
  datePickerValue: e,
638
642
  isDateIncorrect: t,
639
643
  quickSelectRanges: l
640
644
  }) => {
641
645
  var v, Y, m, K;
642
- const { locale: u, t: i } = ge(), c = ve(), n = (b) => !!b && !isNaN(b.getTime()), d = (b, j) => n(b) ? se(b, j, {
643
- locale: c[u.value.substring(0, 2)] || c.enUS
644
- }) : void 0, T = ue({
645
- startDate: d((v = e.value) == null ? void 0 : v.startDate, S.NUMERIC_DATE_YEAR_FIRST),
646
- endDate: d((Y = e.value) == null ? void 0 : Y.endDate, S.NUMERIC_DATE_YEAR_FIRST),
647
- startTime: d((m = e.value) == null ? void 0 : m.startDate, S.HOUR_MINUTE_SECONDS),
648
- endTime: d((K = e.value) == null ? void 0 : K.endDate, S.HOUR_MINUTE_SECONDS)
646
+ const { locale: d, t: i } = Te(), D = ye(), n = (b) => !!b && !isNaN(b.getTime()), u = (b, j) => n(b) ? le(b, j, {
647
+ locale: D[d.value.substring(0, 2)] || D.enUS
648
+ }) : void 0, T = me({
649
+ startDate: u((v = e.value) == null ? void 0 : v.startDate, S.NUMERIC_DATE_YEAR_FIRST),
650
+ endDate: u((Y = e.value) == null ? void 0 : Y.endDate, S.NUMERIC_DATE_YEAR_FIRST),
651
+ startTime: u((m = e.value) == null ? void 0 : m.startDate, S.HOUR_MINUTE_SECONDS),
652
+ endTime: u((K = e.value) == null ? void 0 : K.endDate, S.HOUR_MINUTE_SECONDS)
649
653
  });
650
654
  return {
651
655
  // Values
652
- dateDisplayValue: R(() => {
653
- var B;
656
+ dateDisplayValue: I(() => {
657
+ var U;
654
658
  if (t.value)
655
659
  return `${T.startDate || ""} - ${T.endDate || ""}`;
656
660
  if (!e.value || !e.value.startDate && !e.value.endDate)
657
661
  return i("selectDateRange");
658
- if ((B = l.value) != null && B.length) {
662
+ if ((U = l.value) != null && U.length) {
659
663
  const g = l.value.find(
660
- ({ data: U }) => {
664
+ ({ data: F }) => {
661
665
  var y, Q;
662
- return Ce(U == null ? void 0 : U.startDate, (y = e.value) == null ? void 0 : y.startDate) && Ce(U == null ? void 0 : U.endDate, (Q = e.value) == null ? void 0 : Q.endDate);
666
+ return Fe(F == null ? void 0 : F.startDate, (y = e.value) == null ? void 0 : y.startDate) && Fe(F == null ? void 0 : F.endDate, (Q = e.value) == null ? void 0 : Q.endDate);
663
667
  }
664
668
  );
665
669
  if (g)
666
670
  return g.label;
667
671
  }
668
672
  const { startDate: b, endDate: j } = T;
669
- return `${d(new Date(b), S.FULL_DATE_MONTH_FIRST)} - ${d(
670
- new Date(j),
673
+ return `${u(ce(b), S.FULL_DATE_MONTH_FIRST)} - ${u(
674
+ ce(j),
671
675
  S.FULL_DATE_MONTH_FIRST
672
676
  )}`;
673
677
  }),
@@ -676,8 +680,8 @@ const P = /* @__PURE__ */ qe(Pa, [["render", Ka], ["__scopeId", "data-v-8b5ccd44
676
680
  formatTextInputDisplayValue: () => ""
677
681
  };
678
682
  };
679
- var de = /* @__PURE__ */ ((e) => (e.INPUT = "input", e))(de || {});
680
- const Le = {
683
+ var ue = /* @__PURE__ */ ((e) => (e.INPUT = "input", e))(ue || {});
684
+ const Ye = {
681
685
  "en-US": {
682
686
  apply: "Apply",
683
687
  cancel: "Cancel",
@@ -687,30 +691,30 @@ const Le = {
687
691
  selectDateRange: "Select a date range",
688
692
  selectedDateIsNotAvailable: "Selected date is not available"
689
693
  },
690
- "pt-BR": {
691
- apply: "Aplicar",
692
- cancel: "Cancelar",
693
- selectDate: "Selecione uma data"
694
- },
695
694
  "ja-JP": {
696
695
  apply: "適用",
697
696
  cancel: "キャンセル",
698
697
  selectDate: "日付を選択"
698
+ },
699
+ "pt-BR": {
700
+ apply: "Aplicar",
701
+ cancel: "Cancelar",
702
+ selectDate: "Selecione uma data"
699
703
  }
700
- }, Ga = Ve({
701
- i18n: { messages: Le },
704
+ }, Wa = Ke({
705
+ i18n: { messages: Ye },
702
706
  name: "bento-date-range-picker",
703
707
  components: {
704
- BentoButtonActions: Ea,
705
- BentoDivider: la,
706
- BentoTypography: Ke,
707
- BentoPopover: ia,
708
+ BentoButtonActions: ha,
709
+ BentoDivider: ia,
710
+ BentoTypography: Ge,
711
+ BentoPopover: da,
708
712
  DateRangePickerCalendar: P,
709
- DropdownInputDefault: Ia,
710
- ErrorMessage: Sa,
711
- FieldLabel: ka
713
+ DropdownInputDefault: ka,
714
+ ErrorMessage: Ea,
715
+ FieldLabel: Sa
712
716
  },
713
- directives: { BentoClickOutsideDirective: Da },
717
+ directives: { BentoClickOutsideDirective: ya },
714
718
  props: {
715
719
  /**
716
720
  * Allows user to enter time values in the form
@@ -804,70 +808,70 @@ const Le = {
804
808
  */
805
809
  hasActions: { type: Boolean, default: !1 }
806
810
  },
807
- emits: [de.INPUT],
811
+ emits: [ue.INPUT],
808
812
  setup(e, { emit: t }) {
809
- const { locale: l, t: u } = ge({ messages: Le }), i = ve(), c = re("bento-date-range-picker-container"), n = re("bento-date-range-picker-label"), d = re("bento-date-range-picker-description"), T = re("bento-date-range-picker-error"), E = re("bento-date-range-picker-date-error"), O = R(
810
- () => e.label || u("dateRangePicker", { name: c })
811
- ), v = _(!1), Y = _(null), m = _(!1), { isReadOnly: K } = ma(De(e, "readonly"));
812
- Ee(
813
+ const { locale: l, t: d } = Te({ messages: Ye }), i = ye(), D = se("bento-date-range-picker-container"), n = se("bento-date-range-picker-label"), u = se("bento-date-range-picker-description"), T = se("bento-date-range-picker-error"), E = se("bento-date-range-picker-date-error"), w = I(
814
+ () => e.label || d("dateRangePicker", { name: D })
815
+ ), v = C(!1), Y = C(null), m = C(!1), { isReadOnly: K } = ga(pe(e, "readonly"));
816
+ Oe(
813
817
  () => e.disabled,
814
818
  () => {
815
819
  e.disabled && m.value && (m.value = !1);
816
820
  }
817
821
  );
818
- const b = R(() => e.hasActions ? !A.value && v.value : v.value), j = R(() => ({
822
+ const b = I(() => e.hasActions ? !A.value && v.value : v.value), j = I(() => ({
819
823
  "b-date-range-picker__description--error": !!e.errorMessage || b.value
820
- })), { dateDisplayValue: B, textInputDisplayValue: g } = qa({
821
- datePickerValue: De(e, "value"),
824
+ })), { dateDisplayValue: U, textInputDisplayValue: g } = Ga({
825
+ datePickerValue: pe(e, "value"),
822
826
  isDateIncorrect: v,
823
- quickSelectRanges: De(e, "quickSelectRanges")
824
- }), U = R(
825
- () => `${e.description ? d : ""} ${e.errorMessage ? T : ""} ${v.value ? E : ""}`.trim() || null
827
+ quickSelectRanges: pe(e, "quickSelectRanges")
828
+ }), F = I(
829
+ () => `${e.description ? u : ""} ${e.errorMessage ? T : ""} ${v.value ? E : ""}`.trim() || null
826
830
  ), y = () => {
827
831
  m.value = !1;
828
832
  }, Q = () => {
829
833
  m.value = !0;
830
- }, ne = _(B.value), I = _(
834
+ }, re = C(U.value), R = C(
831
835
  // textInputDisplayValue is a reactive object
832
- structuredClone(ce(g))
833
- ), M = _(e.value), A = _(!0), q = R(
834
- () => e.hasActions ? I.value : g
835
- ), G = R(
836
- () => e.hasActions ? ne.value : B.value
836
+ structuredClone(fe(g))
837
+ ), M = C(e.value), A = C(!0), q = I(
838
+ () => e.hasActions ? R.value : g
839
+ ), G = I(
840
+ () => e.hasActions ? re.value : U.value
837
841
  );
838
- Ye(() => {
839
- e.hasActions || da(
842
+ qe(() => {
843
+ e.hasActions || ua(
840
844
  'BentoDateRangePicker "hasActions" property',
841
845
  `Set the BentoDateRangePicker "hasActions" property true which will display the "Apply" and "Cancel" buttons.
842
846
  This will be the default behavior in the v2 and "hasActions" will be removed.`,
843
847
  "2.0.0"
844
848
  );
845
849
  });
846
- const W = R(() => [
850
+ const W = I(() => [
847
851
  {
848
- title: u("apply"),
852
+ title: d("apply"),
849
853
  event: () => {
850
- ne.value = B.value, I.value = structuredClone(ce(g)), t(de.INPUT, M.value), y(), A.value = !0;
854
+ re.value = U.value, R.value = structuredClone(fe(g)), t(ue.INPUT, M.value), y(), A.value = !0;
851
855
  },
852
856
  disabled: A.value
853
857
  },
854
858
  {
855
- title: u("cancel"),
859
+ title: d("cancel"),
856
860
  event: y
857
861
  }
858
862
  ]);
859
- return Ee(M, (p) => {
863
+ return Oe(M, (p) => {
860
864
  if (e.hasActions) {
861
865
  A.value = v.value;
862
866
  return;
863
867
  }
864
- t(de.INPUT, p);
868
+ t(ue.INPUT, p);
865
869
  }), {
866
870
  // Refs
867
871
  inputContainerRef: Y,
868
872
  // Values,
869
- dateDisplayValue: B,
870
- datePickerContainerId: c,
873
+ dateDisplayValue: U,
874
+ datePickerContainerId: D,
871
875
  descriptionConditionalClasses: j,
872
876
  displayedTextInputValue: q,
873
877
  displayedDateValue: G,
@@ -875,15 +879,15 @@ const Le = {
875
879
  isDateRangePickerOpen: m,
876
880
  isReadOnly: K,
877
881
  labelId: n,
878
- descriptionId: d,
882
+ descriptionId: u,
879
883
  dateErrorId: E,
880
884
  errorId: T,
881
- popoverAriaLabel: O,
885
+ popoverAriaLabel: w,
882
886
  shouldDisplayError: b,
883
- ariaDescribedBy: U,
887
+ ariaDescribedBy: F,
884
888
  textInputDisplayValue: g,
885
889
  rangePickerButtonActions: W,
886
- BentoButtonActionsLayout: ha,
890
+ BentoButtonActionsLayout: Oa,
887
891
  // Events
888
892
  closeDateRangePicker: y,
889
893
  clearDateRangePickerValue: async () => {
@@ -892,7 +896,7 @@ const Le = {
892
896
  openDateRangePicker: Q,
893
897
  onRangeSelectorInput: (p) => {
894
898
  if (p) {
895
- const h = (Z) => se(Z, S.NUMERIC_DATE_YEAR_FIRST, {
899
+ const h = (Z) => le(Z, S.NUMERIC_DATE_YEAR_FIRST, {
896
900
  locale: i[l.value.substring(0, 2)] || i.enUS
897
901
  });
898
902
  g.startDate = h(p.startDate), g.endDate = h(p.endDate), M.value = p;
@@ -903,7 +907,7 @@ const Le = {
903
907
  },
904
908
  onDateRangePickerInput: (p) => {
905
909
  v.value = !1;
906
- const h = (Z, me) => Z ? se(Z, me, {
910
+ const h = (Z, De) => Z ? le(Z, De, {
907
911
  locale: i[l.value.substring(0, 2)] || i.enUS
908
912
  }) : void 0;
909
913
  g.startDate = h(
@@ -918,25 +922,25 @@ const Le = {
918
922
  v.value = !1, p.startTime && (g.startTime = p.startTime), p.endTime && (g.endTime = p.endTime);
919
923
  },
920
924
  // Translations
921
- t: u
925
+ t: d
922
926
  };
923
927
  }
924
- }), Wa = { class: "b-date-range-picker" }, Ha = { class: "b-date-range-picker__footer" };
925
- function ja(e, t, l, u, i, c) {
926
- const n = k("field-label"), d = k("dropdown-input-default"), T = k("error-message"), E = k("bento-typography"), O = k("bento-divider"), v = k("bento-button-actions"), Y = k("date-range-picker-calendar"), m = k("bento-popover"), K = ta("bento-click-outside-directive");
927
- return na((w(), pe("div", Wa, [
928
- e.label ? (w(), L(n, {
928
+ }), Ha = { class: "b-date-range-picker" }, ja = { class: "b-date-range-picker__footer" };
929
+ function za(e, t, l, d, i, D) {
930
+ const n = k("field-label"), u = k("dropdown-input-default"), T = k("error-message"), E = k("bento-typography"), w = k("bento-divider"), v = k("bento-button-actions"), Y = k("date-range-picker-calendar"), m = k("bento-popover"), K = na("bento-click-outside-directive");
931
+ return ra((O(), ve("div", Ha, [
932
+ e.label ? (O(), L(n, {
929
933
  key: 0,
930
934
  id: e.labelId,
931
935
  label: e.label,
932
936
  "tooltip-text": e.tooltipText,
933
937
  optional: e.optional,
934
938
  required: e.required
935
- }, null, 8, ["id", "label", "tooltip-text", "optional", "required"])) : F("", !0),
939
+ }, null, 8, ["id", "label", "tooltip-text", "optional", "required"])) : _("", !0),
936
940
  N("div", {
937
- onKeydown: t[0] || (t[0] = ra((...b) => e.onEnterPressedOverInput && e.onEnterPressedOverInput(...b), ["enter"]))
941
+ onKeydown: t[0] || (t[0] = oa((...b) => e.onEnterPressedOverInput && e.onEnterPressedOverInput(...b), ["enter"]))
938
942
  }, [
939
- V(d, {
943
+ V(u, {
940
944
  ref: "inputContainerRef",
941
945
  "always-combobox-is-input": "",
942
946
  ariaControls: e.datePickerContainerId,
@@ -953,30 +957,30 @@ function ja(e, t, l, u, i, c) {
953
957
  onClose: e.closeDateRangePicker
954
958
  }, null, 8, ["ariaControls", "ariaExpanded", "aria-labelledby", "aria-describedby", "disabled", "is-invalid", "open", "display-value", "readonly", "onOpen", "onClear", "onClose"])
955
959
  ], 32),
956
- e.shouldDisplayError ? (w(), L(T, {
960
+ e.shouldDisplayError ? (O(), L(T, {
957
961
  key: 1,
958
962
  id: e.dateErrorId,
959
963
  "error-message": e.t("provideDateInAFormat"),
960
964
  class: "b-date-range-picker__error-message"
961
- }, null, 8, ["id", "error-message"])) : F("", !0),
962
- e.errorMessage ? (w(), L(T, {
965
+ }, null, 8, ["id", "error-message"])) : _("", !0),
966
+ e.errorMessage ? (O(), L(T, {
963
967
  key: 2,
964
968
  id: e.errorId,
965
969
  "error-message": e.errorMessage,
966
970
  class: "b-date-range-picker__error-message"
967
- }, null, 8, ["id", "error-message"])) : F("", !0),
968
- e.description ? (w(), L(E, {
971
+ }, null, 8, ["id", "error-message"])) : _("", !0),
972
+ e.description ? (O(), L(E, {
969
973
  key: 3,
970
974
  id: e.descriptionId,
971
- class: fe(["b-date-range-picker__description", e.descriptionConditionalClasses]),
975
+ class: ge(["b-date-range-picker__description", e.descriptionConditionalClasses]),
972
976
  el: "span"
973
977
  }, {
974
978
  default: $(() => [
975
- J(oa(e.description), 1)
979
+ J(sa(e.description), 1)
976
980
  ]),
977
981
  _: 1
978
- }, 8, ["id", "class"])) : F("", !0),
979
- e.inputContainerRef ? (w(), L(m, {
982
+ }, 8, ["id", "class"])) : _("", !0),
983
+ e.inputContainerRef ? (O(), L(m, {
980
984
  key: 4,
981
985
  id: e.datePickerContainerId,
982
986
  class: "b-date-range-picker__container",
@@ -1006,12 +1010,12 @@ function ja(e, t, l, u, i, c) {
1006
1010
  onInput: e.onDateRangePickerInput,
1007
1011
  onError: e.onDateRangePickerError,
1008
1012
  onFormDate: e.onDateRangePickerFormDateInputUpdate
1009
- }, sa({ _: 2 }, [
1013
+ }, la({ _: 2 }, [
1010
1014
  e.hasActions ? {
1011
1015
  name: "actions",
1012
1016
  fn: $(() => [
1013
- V(O),
1014
- N("div", Ha, [
1017
+ V(w),
1018
+ N("div", ja, [
1015
1019
  V(v, {
1016
1020
  actions: e.rangePickerButtonActions,
1017
1021
  layout: e.BentoButtonActionsLayout.SPACE_BETWEEN
@@ -1023,16 +1027,16 @@ function ja(e, t, l, u, i, c) {
1023
1027
  ]), 1032, ["allow-time-input", "quick-select-ranges", "value", "first-day-of-week", "granularities", "is-date-disabled", "max-range", "min", "max", "number-of-months", "show-end-date-on-open", "date-form-data", "onCustomRange", "onInput", "onError", "onFormDate"])
1024
1028
  ]),
1025
1029
  _: 1
1026
- }, 8, ["id", "open", "target-element", "aria-label"])) : F("", !0)
1030
+ }, 8, ["id", "open", "target-element", "aria-label"])) : _("", !0)
1027
1031
  ])), [
1028
1032
  [K, e.closeDateRangePicker]
1029
1033
  ]);
1030
1034
  }
1031
- const yt = /* @__PURE__ */ qe(Ga, [["render", ja], ["__scopeId", "data-v-7d8fe1da"]]);
1035
+ const Tt = /* @__PURE__ */ We(Wa, [["render", za], ["__scopeId", "data-v-7d8fe1da"]]);
1032
1036
  export {
1033
- yt as B,
1037
+ Tt as B,
1034
1038
  P as D,
1035
- de as a,
1036
- Ce as i
1039
+ ue as a,
1040
+ Fe as i
1037
1041
  };
1038
- //# sourceMappingURL=date-range-picker.Bna_2pBL.js.map
1042
+ //# sourceMappingURL=date-range-picker.CmxXWnBc.js.map