@adyen/bento-vue2 2.0.0-rc.5 → 2.0.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 (364) hide show
  1. package/README.md +0 -38
  2. package/dist/@types/index.d.ts +148 -56
  3. package/dist/accordion.js +1 -1
  4. package/dist/action-bar.js +1 -1
  5. package/dist/ai-tag.js +1 -1
  6. package/dist/alert.js +1 -1
  7. package/dist/anchor-scroller.js +1 -1
  8. package/dist/assets/accordion-item.css +1 -1
  9. package/dist/assets/action-bar.css +1 -1
  10. package/dist/assets/ai-tag.css +1 -1
  11. package/dist/assets/anchor-scroller.css +1 -1
  12. package/dist/assets/base-modal.css +1 -1
  13. package/dist/assets/button-actions.css +1 -1
  14. package/dist/assets/calendar.css +1 -1
  15. package/dist/assets/card.css +1 -1
  16. package/dist/assets/checkbox-group.css +1 -1
  17. package/dist/assets/checkbox.css +1 -1
  18. package/dist/assets/code-snippet.css +1 -1
  19. package/dist/assets/data-grid-template.css +1 -1
  20. package/dist/assets/data-grid.css +1 -1
  21. package/dist/assets/date-picker.css +1 -1
  22. package/dist/assets/date-range-picker.css +1 -1
  23. package/dist/assets/dialog-page.css +1 -1
  24. package/dist/assets/drawer.css +1 -1
  25. package/dist/assets/dropdown.css +1 -1
  26. package/dist/assets/file-uploader.css +1 -1
  27. package/dist/assets/filter-bar.css +1 -1
  28. package/dist/assets/header-with-views.css +1 -1
  29. package/dist/assets/header.css +1 -1
  30. package/dist/assets/info-icon-with-popover.css +1 -0
  31. package/dist/assets/input-field-password.css +1 -1
  32. package/dist/assets/input-field.css +1 -1
  33. package/dist/assets/inspector.css +1 -1
  34. package/dist/assets/link.css +1 -1
  35. package/dist/assets/modal-fullscreen.css +1 -1
  36. package/dist/assets/navigation-menu-group.css +1 -1
  37. package/dist/assets/pagination.css +1 -1
  38. package/dist/assets/popper-container.css +1 -1
  39. package/dist/assets/progress-bar.css +1 -1
  40. package/dist/assets/promo-banner.css +1 -1
  41. package/dist/assets/radio-group.css +1 -1
  42. package/dist/assets/rich-text-editor.css +1 -1
  43. package/dist/assets/secondary-nav.css +1 -1
  44. package/dist/assets/segmented-control.css +1 -1
  45. package/dist/assets/selection-card-group.css +1 -1
  46. package/dist/assets/sidepanel.css +1 -1
  47. package/dist/assets/tab.css +1 -1
  48. package/dist/assets/table-of-contents.css +1 -1
  49. package/dist/assets/tag.css +1 -1
  50. package/dist/assets/textarea.css +1 -1
  51. package/dist/assets/timeline-item.css +1 -1
  52. package/dist/assets/title-details.css +1 -0
  53. package/dist/assets/toggle.css +1 -1
  54. package/dist/button.js +3 -3
  55. package/dist/card.js +1 -1
  56. package/dist/checkbox.js +2 -2
  57. package/dist/chip.js +1 -1
  58. package/dist/chunks/{accordion-item.V3zpgTzM.js → accordion-item.DOj7vqeL.js} +2 -2
  59. package/dist/chunks/accordion-item.DOj7vqeL.js.map +1 -0
  60. package/dist/chunks/{action-bar.Br6mamx3.js → action-bar.BsXW7BI2.js} +77 -67
  61. package/dist/chunks/action-bar.BsXW7BI2.js.map +1 -0
  62. package/dist/chunks/{ai-button.CeT3y12R.js → ai-button.BnFk5CzK.js} +2 -2
  63. package/dist/chunks/{ai-button.CeT3y12R.js.map → ai-button.BnFk5CzK.js.map} +1 -1
  64. package/dist/chunks/{ai-tag.DtngkeLj.js → ai-tag.D2Q0xhFK.js} +3 -3
  65. package/dist/chunks/ai-tag.D2Q0xhFK.js.map +1 -0
  66. package/dist/chunks/{alert.DrGpzkQI.js → alert.DJDHwVeR.js} +2 -2
  67. package/dist/chunks/{alert.DrGpzkQI.js.map → alert.DJDHwVeR.js.map} +1 -1
  68. package/dist/chunks/{anchor-scroller.DT7QZd5b.js → anchor-scroller.BbvghQxZ.js} +8 -8
  69. package/dist/chunks/anchor-scroller.BbvghQxZ.js.map +1 -0
  70. package/dist/chunks/{base-button.edpjvY15.js → base-button.DOhHyU7x.js} +2 -2
  71. package/dist/chunks/{base-button.edpjvY15.js.map → base-button.DOhHyU7x.js.map} +1 -1
  72. package/dist/chunks/{base-modal.DsqIEM0p.js → base-modal.CcmoTJdc.js} +90 -82
  73. package/dist/chunks/base-modal.CcmoTJdc.js.map +1 -0
  74. package/dist/chunks/{button-actions-with-menu.BBuKZYuH.js → button-actions-with-menu.BY394ars.js} +2 -2
  75. package/dist/chunks/{button-actions-with-menu.BBuKZYuH.js.map → button-actions-with-menu.BY394ars.js.map} +1 -1
  76. package/dist/chunks/{button-actions.CFOxzahr.js → button-actions.bkcLUE1G.js} +51 -50
  77. package/dist/chunks/button-actions.bkcLUE1G.js.map +1 -0
  78. package/dist/chunks/{button.CBqJGWy5.js → button.DII5Ifwa.js} +2 -2
  79. package/dist/chunks/{button.CBqJGWy5.js.map → button.DII5Ifwa.js.map} +1 -1
  80. package/dist/chunks/{calendar.Bi7oa397.js → calendar.CXdLEeN4.js} +8 -8
  81. package/dist/chunks/calendar.CXdLEeN4.js.map +1 -0
  82. package/dist/chunks/card.b9PEJ7hm.js +139 -0
  83. package/dist/chunks/card.b9PEJ7hm.js.map +1 -0
  84. package/dist/chunks/{checkbox-group.FlQJn1Zm.js → checkbox-group.UYN1ljai.js} +7 -7
  85. package/dist/chunks/checkbox-group.UYN1ljai.js.map +1 -0
  86. package/dist/chunks/{checkbox.D7kTrRAJ.js → checkbox.Co4HoHKF.js} +15 -15
  87. package/dist/chunks/checkbox.Co4HoHKF.js.map +1 -0
  88. package/dist/chunks/{chip.CCBRXSGa.js → chip.DRsJylWl.js} +2 -2
  89. package/dist/chunks/{chip.CCBRXSGa.js.map → chip.DRsJylWl.js.map} +1 -1
  90. package/dist/chunks/{code-snippet.DOtmgwGx.js → code-snippet.CnThWqVb.js} +73 -74
  91. package/dist/chunks/code-snippet.CnThWqVb.js.map +1 -0
  92. package/dist/chunks/constructNow.Dl44Mvpp.js +8 -0
  93. package/dist/chunks/{constructNow.DyOJDyZZ.js.map → constructNow.Dl44Mvpp.js.map} +1 -1
  94. package/dist/chunks/{controls-group.C1YlswQH.js → controls-group.fdGc6epa.js} +2 -2
  95. package/dist/chunks/{controls-group.C1YlswQH.js.map → controls-group.fdGc6epa.js.map} +1 -1
  96. package/dist/chunks/{copy.DIRgGox4.js → copy.CSk1rCRo.js} +4 -4
  97. package/dist/chunks/{copy.DIRgGox4.js.map → copy.CSk1rCRo.js.map} +1 -1
  98. package/dist/chunks/{cross-circle-fill-small.Doaiq7Wx.js → cross-circle-fill-small.CZN966bc.js} +2 -2
  99. package/dist/chunks/cross-circle-fill-small.CZN966bc.js.map +1 -0
  100. package/dist/chunks/{dashboard-section.DvYJk8aj.js → dashboard-section.CYEoNH9Q.js} +3 -3
  101. package/dist/chunks/{dashboard-section.DvYJk8aj.js.map → dashboard-section.CYEoNH9Q.js.map} +1 -1
  102. package/dist/chunks/{dashed-underline.D3YXHh-k.js → dashed-underline.CzKc-fJW.js} +3 -3
  103. package/dist/chunks/{dashed-underline.D3YXHh-k.js.map → dashed-underline.CzKc-fJW.js.map} +1 -1
  104. package/dist/chunks/{data-grid-template.ZZNd2LWk.js → data-grid-template.DCwzh2G7.js} +4 -4
  105. package/dist/chunks/{data-grid-template.ZZNd2LWk.js.map → data-grid-template.DCwzh2G7.js.map} +1 -1
  106. package/dist/chunks/{data-grid.4_JJV1_Z.js → data-grid.B1lI07ze.js} +24 -24
  107. package/dist/chunks/data-grid.B1lI07ze.js.map +1 -0
  108. package/dist/chunks/{date-picker.EuvvrhtF.js → date-picker.gDsw8bn1.js} +8 -8
  109. package/dist/chunks/date-picker.gDsw8bn1.js.map +1 -0
  110. package/dist/chunks/{date-range-picker.Bi5j0eED.js → date-range-picker.CqixIJxG.js} +278 -275
  111. package/dist/chunks/{date-range-picker.Bi5j0eED.js.map → date-range-picker.CqixIJxG.js.map} +1 -1
  112. package/dist/chunks/{date-time-picker.DinENKL0.js → date-time-picker.Bktntun4.js} +6 -6
  113. package/dist/chunks/{date-time-picker.DinENKL0.js.map → date-time-picker.Bktntun4.js.map} +1 -1
  114. package/dist/chunks/{de.ctR_lBqr.js → de.D953eFBg.js} +2 -2
  115. package/dist/chunks/{de.ctR_lBqr.js.map → de.D953eFBg.js.map} +1 -1
  116. package/dist/chunks/{dialog-page.DM6imlbn.js → dialog-page.Bct3zOQO.js} +44 -44
  117. package/dist/chunks/dialog-page.Bct3zOQO.js.map +1 -0
  118. package/dist/chunks/{differenceInMonths.yz4Dfe-b.js → differenceInMonths.CPDkGea3.js} +2 -2
  119. package/dist/chunks/{differenceInMonths.yz4Dfe-b.js.map → differenceInMonths.CPDkGea3.js.map} +1 -1
  120. package/dist/chunks/{draggable-handle.UmaDf-G4.js → draggable-handle.DgVdGC1V.js} +2 -2
  121. package/dist/chunks/{draggable-handle.UmaDf-G4.js.map → draggable-handle.DgVdGC1V.js.map} +1 -1
  122. package/dist/chunks/{draggable.3Uuc40QN.js → draggable.DYKdXdbj.js} +2 -2
  123. package/dist/chunks/{draggable.3Uuc40QN.js.map → draggable.DYKdXdbj.js.map} +1 -1
  124. package/dist/chunks/{dropdown-tag.3mltTUPq.js → dropdown-tag.Dk7SooVv.js} +3 -3
  125. package/dist/chunks/{dropdown-tag.3mltTUPq.js.map → dropdown-tag.Dk7SooVv.js.map} +1 -1
  126. package/dist/chunks/{dropdown.BdfmQmO_.js → dropdown.Bnq4kP7k.js} +12 -12
  127. package/dist/chunks/dropdown.Bnq4kP7k.js.map +1 -0
  128. package/dist/chunks/{empty-state.DWnWb0jM.js → empty-state.C2wjdE3y.js} +3 -3
  129. package/dist/chunks/{empty-state.DWnWb0jM.js.map → empty-state.C2wjdE3y.js.map} +1 -1
  130. package/dist/chunks/{en-GB.BsQNm5GT.js → en-GB.DRXS-7tU.js} +2 -2
  131. package/dist/chunks/{en-GB.BsQNm5GT.js.map → en-GB.DRXS-7tU.js.map} +1 -1
  132. package/dist/chunks/{en-US.BR6y7foR.js → en-US.C412g-7U.js} +3 -3
  133. package/dist/chunks/{en-US.BR6y7foR.js.map → en-US.C412g-7U.js.map} +1 -1
  134. package/dist/chunks/{es.DxqH-QhP.js → es.DieAs0jD.js} +2 -2
  135. package/dist/chunks/{es.DxqH-QhP.js.map → es.DieAs0jD.js.map} +1 -1
  136. package/dist/chunks/es6.yPcTMnSH.js.map +1 -1
  137. package/dist/chunks/{field-label.DsNcfZ6m.js → field-label.C7BCsofY.js} +2 -2
  138. package/dist/chunks/{field-label.DsNcfZ6m.js.map → field-label.C7BCsofY.js.map} +1 -1
  139. package/dist/chunks/{file-uploader.D1xDlbsu.js → file-uploader.DllKBmP8.js} +8 -8
  140. package/dist/chunks/file-uploader.DllKBmP8.js.map +1 -0
  141. package/dist/chunks/{filter-bar.DlSyWQQ0.js → filter-bar.DXpLhnxG.js} +1050 -974
  142. package/dist/chunks/filter-bar.DXpLhnxG.js.map +1 -0
  143. package/dist/chunks/{fixed-scroller.QHqymN36.js → fixed-scroller.YC4bZifw.js} +2 -2
  144. package/dist/chunks/{fixed-scroller.QHqymN36.js.map → fixed-scroller.YC4bZifw.js.map} +1 -1
  145. package/dist/chunks/{focus-trap.DK6-TX-N.js → focus-trap.fd6_d2EW.js} +3 -3
  146. package/dist/chunks/{focus-trap.DK6-TX-N.js.map → focus-trap.fd6_d2EW.js.map} +1 -1
  147. package/dist/chunks/{footer-actions.cJxmP0fK.js → footer-actions.C9STwwcv.js} +3 -3
  148. package/dist/chunks/{footer-actions.cJxmP0fK.js.map → footer-actions.C9STwwcv.js.map} +1 -1
  149. package/dist/chunks/{form-layout-title.CCsmZ9E8.js → form-layout-title.C0lwzPZz.js} +2 -2
  150. package/dist/chunks/{form-layout-title.CCsmZ9E8.js.map → form-layout-title.C0lwzPZz.js.map} +1 -1
  151. package/dist/chunks/{fr.DJtn8ron.js → fr.ChY2aIns.js} +2 -2
  152. package/dist/chunks/{fr.DJtn8ron.js.map → fr.ChY2aIns.js.map} +1 -1
  153. package/dist/chunks/generate-uid.DBWe4g6T.js.map +1 -1
  154. package/dist/chunks/{header-with-views.D8XDYW5N.js → header-with-views.HwbE278X.js} +671 -666
  155. package/dist/chunks/{header-with-views.D8XDYW5N.js.map → header-with-views.HwbE278X.js.map} +1 -1
  156. package/dist/chunks/{header.BLhATjz3.js → header.CmyqVXuG.js} +14 -13
  157. package/dist/chunks/header.CmyqVXuG.js.map +1 -0
  158. package/dist/chunks/info-icon-with-popover.BvYyGm4D.js +65 -0
  159. package/dist/chunks/info-icon-with-popover.BvYyGm4D.js.map +1 -0
  160. package/dist/chunks/{info-icon.-3-LB8Zq.js → info-icon.B-FAeceD.js} +3 -3
  161. package/dist/chunks/{info-icon.-3-LB8Zq.js.map → info-icon.B-FAeceD.js.map} +1 -1
  162. package/dist/chunks/{input-field-password.KgSx3KDe.js → input-field-password.9bWhLud0.js} +6 -6
  163. package/dist/chunks/input-field-password.9bWhLud0.js.map +1 -0
  164. package/dist/chunks/{input-field-phone-number.DE9XpiFH.js → input-field-phone-number.CCn1N9St.js} +2 -2
  165. package/dist/chunks/{input-field-phone-number.DE9XpiFH.js.map → input-field-phone-number.CCn1N9St.js.map} +1 -1
  166. package/dist/chunks/{input-field.Dz8yVBEl.js → input-field.D912rZS_.js} +4 -4
  167. package/dist/chunks/input-field.D912rZS_.js.map +1 -0
  168. package/dist/chunks/{input-time.Bc50jTCQ.js → input-time.CXMuvF9N.js} +3 -3
  169. package/dist/chunks/{input-time.Bc50jTCQ.js.map → input-time.CXMuvF9N.js.map} +1 -1
  170. package/dist/chunks/{inspector-page.BwPtRsaZ.js → inspector-page.BRC_7uro.js} +3 -3
  171. package/dist/chunks/{inspector-page.BwPtRsaZ.js.map → inspector-page.BRC_7uro.js.map} +1 -1
  172. package/dist/chunks/inspector.IOtNex1r.js +142 -0
  173. package/dist/chunks/inspector.IOtNex1r.js.map +1 -0
  174. package/dist/chunks/isSameWeek.CcrBd5ov.js +14 -0
  175. package/dist/chunks/{isSameWeek.CieN9XgL.js.map → isSameWeek.CcrBd5ov.js.map} +1 -1
  176. package/dist/chunks/{it.keS7oN5l.js → it.9ITe-tO1.js} +3 -3
  177. package/dist/chunks/{it.keS7oN5l.js.map → it.9ITe-tO1.js.map} +1 -1
  178. package/dist/chunks/{ja.cLwacUE6.js → ja.D1PTbbq5.js} +2 -2
  179. package/dist/chunks/{ja.cLwacUE6.js.map → ja.D1PTbbq5.js.map} +1 -1
  180. package/dist/chunks/{link.BzIDMKgE.js → link.Cls8XShm.js} +4 -4
  181. package/dist/chunks/link.Cls8XShm.js.map +1 -0
  182. package/dist/chunks/{list-item.CKKEar92.js → list-item.HjabBEb8.js} +3 -3
  183. package/dist/chunks/{list-item.CKKEar92.js.map → list-item.HjabBEb8.js.map} +1 -1
  184. package/dist/chunks/{listbox-option-tag.CQ7jWrle.js → listbox-option-tag.DhNxvqRO.js} +2 -2
  185. package/dist/chunks/{listbox-option-tag.CQ7jWrle.js.map → listbox-option-tag.DhNxvqRO.js.map} +1 -1
  186. package/dist/chunks/{modal-fullscreen.BMGoNT7r.js → modal-fullscreen.Bi1bQs4Z.js} +9 -9
  187. package/dist/chunks/modal-fullscreen.Bi1bQs4Z.js.map +1 -0
  188. package/dist/chunks/{modal.BNqEbVvC.js → modal.B3-pmL5s.js} +5 -5
  189. package/dist/chunks/{modal.BNqEbVvC.js.map → modal.B3-pmL5s.js.map} +1 -1
  190. package/dist/chunks/{navigation-menu-group.uRQvdRyU.js → navigation-menu-group.B-AV49Bn.js} +7 -7
  191. package/dist/chunks/navigation-menu-group.B-AV49Bn.js.map +1 -0
  192. package/dist/chunks/{pagination.QuT_65w4.js → pagination.cI_pc6oE.js} +5 -5
  193. package/dist/chunks/pagination.cI_pc6oE.js.map +1 -0
  194. package/dist/chunks/popover.types.DvIwSAAp.js +6 -0
  195. package/dist/chunks/{popover.types.hyPD5Kv1.js.map → popover.types.DvIwSAAp.js.map} +1 -1
  196. package/dist/chunks/{popper-container.scV0X0nk.js → popper-container.Cj3AWXSd.js} +355 -338
  197. package/dist/chunks/{popper-container.scV0X0nk.js.map → popper-container.Cj3AWXSd.js.map} +1 -1
  198. package/dist/chunks/{progress-bar.C2EFmk8E.js → progress-bar.RlF3a0Gb.js} +3 -3
  199. package/dist/chunks/progress-bar.RlF3a0Gb.js.map +1 -0
  200. package/dist/chunks/{promo-banner.BzTq9SMT.js → promo-banner.B5szTysj.js} +7 -7
  201. package/dist/chunks/{promo-banner.BzTq9SMT.js.map → promo-banner.B5szTysj.js.map} +1 -1
  202. package/dist/chunks/{pt-BR.ChPOra5s.js → pt-BR.DmEVD7V-.js} +2 -2
  203. package/dist/chunks/{pt-BR.ChPOra5s.js.map → pt-BR.DmEVD7V-.js.map} +1 -1
  204. package/dist/chunks/{radio-group.77fvFrmz.js → radio-group.CvsQDlHi.js} +5 -5
  205. package/dist/chunks/radio-group.CvsQDlHi.js.map +1 -0
  206. package/dist/chunks/{rich-text-editor.DL6h2H5r.js → rich-text-editor.DNmVJilP.js} +7 -7
  207. package/dist/chunks/{rich-text-editor.DL6h2H5r.js.map → rich-text-editor.DNmVJilP.js.map} +1 -1
  208. package/dist/chunks/{search-bar.CiEKUPNX.js → search-bar.--4KVNkf.js} +3 -3
  209. package/dist/chunks/{search-bar.CiEKUPNX.js.map → search-bar.--4KVNkf.js.map} +1 -1
  210. package/dist/chunks/{secondary-nav.ekia7NO0.js → secondary-nav.CXtDQAay.js} +50 -50
  211. package/dist/chunks/secondary-nav.CXtDQAay.js.map +1 -0
  212. package/dist/chunks/{segmented-control.qykQS10o.js → segmented-control.nYpRQTGc.js} +3 -3
  213. package/dist/chunks/segmented-control.nYpRQTGc.js.map +1 -0
  214. package/dist/chunks/{selection-card-group.BEjddn7D.js → selection-card-group.DjFWMqVZ.js} +22 -22
  215. package/dist/chunks/selection-card-group.DjFWMqVZ.js.map +1 -0
  216. package/dist/chunks/{set-time-in-date.BVfkl8K8.js → set-time-in-date.B3K4C7CB.js} +2 -2
  217. package/dist/chunks/{set-time-in-date.BVfkl8K8.js.map → set-time-in-date.B3K4C7CB.js.map} +1 -1
  218. package/dist/chunks/{sidepanel.DeX_rFk7.js → sidepanel.CntIcmx-.js} +7 -7
  219. package/dist/chunks/sidepanel.CntIcmx-.js.map +1 -0
  220. package/dist/chunks/{startOfWeek.muMEhS7U.js → startOfWeek.CzdYFzXX.js} +2 -2
  221. package/dist/chunks/{startOfWeek.muMEhS7U.js.map → startOfWeek.CzdYFzXX.js.map} +1 -1
  222. package/dist/chunks/{step.DWC-MMij.js → step.BCa9IOWB.js} +2 -2
  223. package/dist/chunks/{step.DWC-MMij.js.map → step.BCa9IOWB.js.map} +1 -1
  224. package/dist/chunks/{structured-list-item.Bfn0A2G8.js → structured-list-item.Bhe0CH1M.js} +5 -5
  225. package/dist/chunks/{structured-list-item.Bfn0A2G8.js.map → structured-list-item.Bhe0CH1M.js.map} +1 -1
  226. package/dist/chunks/{summary-grid.types.B4WEQPEz.js → summary-grid.types.C70ED6WD.js} +5 -5
  227. package/dist/chunks/{summary-grid.types.B4WEQPEz.js.map → summary-grid.types.C70ED6WD.js.map} +1 -1
  228. package/dist/chunks/{tab.DCLrEYwn.js → tab.BK1sIJAJ.js} +45 -45
  229. package/dist/chunks/tab.BK1sIJAJ.js.map +1 -0
  230. package/dist/chunks/{table-of-contents.f_6G1qFS.js → table-of-contents.BTy95Rrs.js} +2 -2
  231. package/dist/chunks/table-of-contents.BTy95Rrs.js.map +1 -0
  232. package/dist/chunks/tag.Dz1FQSZb.js +56 -0
  233. package/dist/chunks/tag.Dz1FQSZb.js.map +1 -0
  234. package/dist/chunks/{textarea.OTgZOHYu.js → textarea.CcV9U3I7.js} +5 -5
  235. package/dist/chunks/textarea.CcV9U3I7.js.map +1 -0
  236. package/dist/chunks/{timeline-item.Be0xWRey.js → timeline-item.BG2by0xf.js} +10 -10
  237. package/dist/chunks/{timeline-item.Be0xWRey.js.map → timeline-item.BG2by0xf.js.map} +1 -1
  238. package/dist/chunks/title-details.ChwPP7C5.js +119 -0
  239. package/dist/chunks/title-details.ChwPP7C5.js.map +1 -0
  240. package/dist/chunks/{toast.DL_9zlHB.js → toast.CO6ByH3n.js} +2 -2
  241. package/dist/chunks/{toast.DL_9zlHB.js.map → toast.CO6ByH3n.js.map} +1 -1
  242. package/dist/chunks/{toggle.BkTeqKsx.js → toggle.Dgh7aw1D.js} +2 -2
  243. package/dist/chunks/toggle.Dgh7aw1D.js.map +1 -0
  244. package/dist/chunks/{tooltip.BwD3JuFl.js → tooltip.DFYc5NKM.js} +11 -11
  245. package/dist/chunks/tooltip.DFYc5NKM.js.map +1 -0
  246. package/dist/chunks/{tutorial.BrKSt9Sb.js → tutorial.K0aOQWIg.js} +4 -4
  247. package/dist/chunks/{tutorial.BrKSt9Sb.js.map → tutorial.K0aOQWIg.js.map} +1 -1
  248. package/dist/chunks/use-bento-toast-controller.A5xraVqa.js.map +1 -1
  249. package/dist/chunks/{use-date-input-formatter.Du8KZnNZ.js → use-date-input-formatter.MgbFwUqJ.js} +4 -4
  250. package/dist/chunks/{use-date-input-formatter.Du8KZnNZ.js.map → use-date-input-formatter.MgbFwUqJ.js.map} +1 -1
  251. package/dist/chunks/use-dynamic-date-fns-locale.Bpb2DeYR.js +39 -0
  252. package/dist/chunks/use-dynamic-date-fns-locale.Bpb2DeYR.js.map +1 -0
  253. package/dist/chunks/{zh-CN.ZG6obniO.js → zh-CN.C-da5IoS.js} +3 -3
  254. package/dist/chunks/{zh-CN.ZG6obniO.js.map → zh-CN.C-da5IoS.js.map} +1 -1
  255. package/dist/code-snippet.js +1 -1
  256. package/dist/dashboard-template.js +1 -1
  257. package/dist/dashed-underline.js +1 -1
  258. package/dist/data-grid-template.js +1 -1
  259. package/dist/data-grid.js +1 -1
  260. package/dist/date-picker.js +2 -2
  261. package/dist/date-range-picker.js +2 -2
  262. package/dist/date-time-picker.js +1 -1
  263. package/dist/draggable.js +2 -2
  264. package/dist/dropdown.js +2 -2
  265. package/dist/empty-state.js +1 -1
  266. package/dist/file-uploader.js +1 -1
  267. package/dist/filter-bar.js +1 -1
  268. package/dist/focus-trap.js +1 -1
  269. package/dist/form-layout.js +1 -1
  270. package/dist/header-with-views.js +1 -1
  271. package/dist/header.js +1 -1
  272. package/dist/index.js +67 -67
  273. package/dist/info-icon.js +1 -1
  274. package/dist/input-field-password.js +1 -1
  275. package/dist/input-field-phone-number.js +1 -1
  276. package/dist/input-field.js +1 -1
  277. package/dist/input-time.js +1 -1
  278. package/dist/inspector.js +2 -2
  279. package/dist/internal.js +25 -24
  280. package/dist/internal.js.map +1 -1
  281. package/dist/link.js +1 -1
  282. package/dist/list.js +1 -1
  283. package/dist/menu.js +1 -1
  284. package/dist/modal-fullscreen.js +3 -3
  285. package/dist/modal.js +2 -2
  286. package/dist/navigation-menu.js +1 -1
  287. package/dist/pagination.js +1 -1
  288. package/dist/popover.js +2 -2
  289. package/dist/popper-container.js +1 -1
  290. package/dist/progress-bar.js +1 -1
  291. package/dist/promo-banner.js +1 -1
  292. package/dist/radio-group.js +1 -1
  293. package/dist/rich-text-editor.js +1 -1
  294. package/dist/search-bar.js +2 -2
  295. package/dist/secondary-nav.js +1 -1
  296. package/dist/segmented-control.js +1 -1
  297. package/dist/selection-card.js +1 -1
  298. package/dist/sidepanel.js +1 -1
  299. package/dist/stepper.js +1 -1
  300. package/dist/structured-list.js +1 -1
  301. package/dist/styles/bento-dark.css +3 -3
  302. package/dist/styles/bento-light.css +4 -4
  303. package/dist/styles/bento.css +4 -4
  304. package/dist/styles/legacy.css +4 -4
  305. package/dist/styles/styleguide.css +4 -4
  306. package/dist/styles/utility.css +4 -4
  307. package/dist/summary-grid.js +1 -1
  308. package/dist/table-of-contents.js +1 -1
  309. package/dist/tabs.js +1 -1
  310. package/dist/tag.js +1 -1
  311. package/dist/textarea.js +1 -1
  312. package/dist/timeline.js +1 -1
  313. package/dist/toast.js +1 -1
  314. package/dist/toggle.js +1 -1
  315. package/dist/tutorial.js +1 -1
  316. package/dist/web-types.json +381 -48
  317. package/package.json +6 -6
  318. package/dist/assets/header-meta.css +0 -1
  319. package/dist/chunks/accordion-item.V3zpgTzM.js.map +0 -1
  320. package/dist/chunks/action-bar.Br6mamx3.js.map +0 -1
  321. package/dist/chunks/ai-tag.DtngkeLj.js.map +0 -1
  322. package/dist/chunks/anchor-scroller.DT7QZd5b.js.map +0 -1
  323. package/dist/chunks/base-modal.DsqIEM0p.js.map +0 -1
  324. package/dist/chunks/button-actions.CFOxzahr.js.map +0 -1
  325. package/dist/chunks/calendar.Bi7oa397.js.map +0 -1
  326. package/dist/chunks/card.B2rIoYTV.js +0 -124
  327. package/dist/chunks/card.B2rIoYTV.js.map +0 -1
  328. package/dist/chunks/checkbox-group.FlQJn1Zm.js.map +0 -1
  329. package/dist/chunks/checkbox.D7kTrRAJ.js.map +0 -1
  330. package/dist/chunks/code-snippet.DOtmgwGx.js.map +0 -1
  331. package/dist/chunks/constructNow.DyOJDyZZ.js +0 -8
  332. package/dist/chunks/cross-circle-fill-small.Doaiq7Wx.js.map +0 -1
  333. package/dist/chunks/data-grid.4_JJV1_Z.js.map +0 -1
  334. package/dist/chunks/date-picker.EuvvrhtF.js.map +0 -1
  335. package/dist/chunks/dialog-page.DM6imlbn.js.map +0 -1
  336. package/dist/chunks/dropdown.BdfmQmO_.js.map +0 -1
  337. package/dist/chunks/file-uploader.D1xDlbsu.js.map +0 -1
  338. package/dist/chunks/filter-bar.DlSyWQQ0.js.map +0 -1
  339. package/dist/chunks/header-meta.C5Ojlg8H.js +0 -206
  340. package/dist/chunks/header-meta.C5Ojlg8H.js.map +0 -1
  341. package/dist/chunks/header.BLhATjz3.js.map +0 -1
  342. package/dist/chunks/input-field-password.KgSx3KDe.js.map +0 -1
  343. package/dist/chunks/input-field.Dz8yVBEl.js.map +0 -1
  344. package/dist/chunks/inspector.CUJSQfsX.js +0 -128
  345. package/dist/chunks/inspector.CUJSQfsX.js.map +0 -1
  346. package/dist/chunks/isSameWeek.CieN9XgL.js +0 -14
  347. package/dist/chunks/link.BzIDMKgE.js.map +0 -1
  348. package/dist/chunks/modal-fullscreen.BMGoNT7r.js.map +0 -1
  349. package/dist/chunks/navigation-menu-group.uRQvdRyU.js.map +0 -1
  350. package/dist/chunks/pagination.QuT_65w4.js.map +0 -1
  351. package/dist/chunks/popover.types.hyPD5Kv1.js +0 -6
  352. package/dist/chunks/progress-bar.C2EFmk8E.js.map +0 -1
  353. package/dist/chunks/radio-group.77fvFrmz.js.map +0 -1
  354. package/dist/chunks/secondary-nav.ekia7NO0.js.map +0 -1
  355. package/dist/chunks/segmented-control.qykQS10o.js.map +0 -1
  356. package/dist/chunks/selection-card-group.BEjddn7D.js.map +0 -1
  357. package/dist/chunks/sidepanel.DeX_rFk7.js.map +0 -1
  358. package/dist/chunks/tab.DCLrEYwn.js.map +0 -1
  359. package/dist/chunks/table-of-contents.f_6G1qFS.js.map +0 -1
  360. package/dist/chunks/tag.Bm-widp9.js +0 -50
  361. package/dist/chunks/tag.Bm-widp9.js.map +0 -1
  362. package/dist/chunks/textarea.OTgZOHYu.js.map +0 -1
  363. package/dist/chunks/toggle.BkTeqKsx.js.map +0 -1
  364. package/dist/chunks/tooltip.BwD3JuFl.js.map +0 -1
@@ -1,65 +1,65 @@
1
- import { defineComponent as be, computed as c, reactive as pe, useSlots as ua, ref as w, onMounted as Ue, toRaw as Ye, watch as De, useAttrs as da, toRef as Te } from "vue";
2
- import { d as ca } from "./index.CL3TXc0a.js";
3
- import { B as ma } from "./divider.KxXy6nzJ.js";
4
- import { h as Da, B as pa } from "./button-actions.CFOxzahr.js";
5
- import { B as $e } from "./typography.D1OZJbEa.js";
6
- import { B as va } from "./alert.DrGpzkQI.js";
7
- import { B as fa, g as we, D as ga } from "./dropdown.BdfmQmO_.js";
8
- import { B as Ma } from "./segmented-control.qykQS10o.js";
1
+ import { defineComponent as be, computed as c, reactive as ve, useSlots as ua, ref as I, onMounted as je, toRaw as Ye, watch as pe, useAttrs as da, toRef as Re } from "vue";
2
+ import { d as ca, h as ma } from "./index.CL3TXc0a.js";
3
+ import { B as Da } from "./divider.KxXy6nzJ.js";
4
+ import { h as pa, B as va } from "./button-actions.bkcLUE1G.js";
5
+ import { B as Je } from "./typography.D1OZJbEa.js";
6
+ import { B as fa } from "./alert.DJDHwVeR.js";
7
+ import { B as ga, g as qe, D as Ma } from "./dropdown.Bnq4kP7k.js";
8
+ import { B as ya } from "./segmented-control.nYpRQTGc.js";
9
9
  import { u as Ae } from "./index.CPOlyau9.js";
10
- import { u as ya } from "./use-has-slot.C9lQZ6nz.js";
11
- import { u as ke, a as ha } from "./use-date-input-formatter.Du8KZnNZ.js";
10
+ import { u as ha } from "./use-has-slot.C9lQZ6nz.js";
11
+ import { u as ke, a as Ra } from "./use-date-input-formatter.MgbFwUqJ.js";
12
12
  import { u as Ta } from "./use-touch-device.DTqFAbXh.js";
13
- import { j as re, k as O, s as k, l as Ra, m as Oe, n as Ya, f as qe, o as ba, q as Aa, r as ka, t as Ce, u as _a, b as B, v as Ia, h as Sa, i as Ea, e as S, w as Be, x as Ne, g as Fa } from "./calendar.Bi7oa397.js";
14
- import { e as N, a as ze } from "./differenceInMonths.yz4Dfe-b.js";
15
- import { s as Ve } from "./startOfWeek.muMEhS7U.js";
16
- import { t as ve, n as xa, c as Pa } from "./en-US.BR6y7foR.js";
17
- import { c as wa } from "./constructNow.DyOJDyZZ.js";
18
- import { s as me, a as Le } from "./set-time-in-date.BVfkl8K8.js";
19
- import { B as Oa, i as Qe } from "./input-time.Bc50jTCQ.js";
20
- import { B as qa } from "./input-field.Dz8yVBEl.js";
21
- import { B as Ca } from "./form-layout-group.D4T0Z5xk.js";
13
+ import { j as re, k as P, s as b, l as Ya, m as Ce, n as ba, f as Be, o as Aa, q as ka, r as _a, t as Ne, u as Ia, b as C, v as Sa, h as Ea, i as Fa, e as S, w as ze, x as Ve, g as xa } from "./calendar.CXdLEeN4.js";
14
+ import { e as B, a as Le } from "./differenceInMonths.CPDkGea3.js";
15
+ import { s as We } from "./startOfWeek.CzdYFzXX.js";
16
+ import { t as fe, n as Pa, c as wa } from "./en-US.C412g-7U.js";
17
+ import { c as Oa } from "./constructNow.Dl44Mvpp.js";
18
+ import { s as De, a as Qe } from "./set-time-in-date.B3K4C7CB.js";
19
+ import { B as qa, i as Ge } from "./input-time.CXMuvF9N.js";
20
+ import { B as Ca } from "./input-field.D912rZS_.js";
21
+ import { B as Ba } from "./form-layout-group.D4T0Z5xk.js";
22
22
  import { n as _e } from "./_plugin-vue2_normalizer.CeySl7Fu.js";
23
23
  import { g as te } from "./generate-uid.DBWe4g6T.js";
24
- import { u as Ba } from "./use-form-layout-loading.CWbjZiwP.js";
24
+ import { u as Na } from "./use-form-layout-loading.CWbjZiwP.js";
25
25
  import "./index.Cl4_42j5.js";
26
- import { u as Na } from "./form-field.B60VsF8d.js";
27
- import { B as za } from "./directive.D1-d-C2K.js";
28
- import { F as Va } from "./field-label.DsNcfZ6m.js";
29
- import { E as La } from "./error-message.DKnoUezI.js";
26
+ import { u as za } from "./form-field.B60VsF8d.js";
27
+ import { B as Va } from "./directive.D1-d-C2K.js";
28
+ import { F as La } from "./field-label.C7BCsofY.js";
29
+ import { E as Wa } from "./error-message.DKnoUezI.js";
30
30
  import { B as Qa } from "./button-actions.types.BptAXjD8.js";
31
31
  import "../assets/date-range-picker.css";
32
- function We(o, t) {
33
- return ve(o, t?.in).getFullYear();
32
+ function Ue(o, t) {
33
+ return fe(o, t?.in).getFullYear();
34
34
  }
35
35
  function ne(o, t) {
36
- return +ve(o) == +ve(t);
36
+ return +fe(o) == +fe(t);
37
37
  }
38
- function Wa(o, t, e) {
39
- const [a, i] = xa(
38
+ function Ga(o, t, e) {
39
+ const [a, i] = Pa(
40
40
  e?.in,
41
41
  o,
42
42
  t
43
43
  );
44
44
  return +re(a) == +re(i);
45
45
  }
46
- function Ge(o, t) {
47
- const e = ve(o, t?.in);
46
+ function $e(o, t) {
47
+ const e = fe(o, t?.in);
48
48
  return e.setMilliseconds(0), e;
49
49
  }
50
- function Re(o, t) {
51
- return +Ge(o) == +Ge(t);
50
+ function Te(o, t) {
51
+ return +$e(o) == +$e(t);
52
52
  }
53
- function Ga(o, t) {
54
- return O(
55
- Pa(o, o),
56
- wa(o)
53
+ function Ua(o, t) {
54
+ return P(
55
+ wa(o, o),
56
+ Oa(o)
57
57
  );
58
58
  }
59
- const Ua = {
59
+ const $a = {
60
60
  name: "date-time-input"
61
- }, $a = /* @__PURE__ */ be({
62
- ...Ua,
61
+ }, ja = /* @__PURE__ */ be({
62
+ ...$a,
63
63
  props: {
64
64
  dateModelValue: { default: "" },
65
65
  dateProps: { default: () => ({}) },
@@ -77,10 +77,10 @@ const Ua = {
77
77
  errorMessage: t.errorMessage,
78
78
  ...t.timeProps
79
79
  }));
80
- return { __sfc: !0, props: t, resolvedDateProps: e, resolvedTimeProps: a, BentoFormLayoutGroup: Ca, BentoInputField: qa, BentoInputTime: Oa };
80
+ return { __sfc: !0, props: t, resolvedDateProps: e, resolvedTimeProps: a, BentoFormLayoutGroup: Ba, BentoInputField: Ca, BentoInputTime: qa };
81
81
  }
82
82
  });
83
- var ja = function() {
83
+ var Ja = function() {
84
84
  var t = this, e = t._self._c, a = t._self._setupProxy;
85
85
  return e(a.BentoFormLayoutGroup, { attrs: { layout: t.showTimeInput ? "50-50" : "100", "error-message": t.errorMessage } }, [e(a.BentoInputField, t._b({ attrs: { "model-value": t.dateModelValue }, on: { "update:model-value": function(i) {
86
86
  return t.$emit("update:date-model-value", i);
@@ -93,67 +93,67 @@ var ja = function() {
93
93
  }, "input:valid": function(i) {
94
94
  return t.$emit("time:valid");
95
95
  } } }, "bento-input-time", a.resolvedTimeProps, !1)) : t._e()], 1);
96
- }, Ja = [], Ha = /* @__PURE__ */ _e(
97
- $a,
96
+ }, Ha = [], Ka = /* @__PURE__ */ _e(
98
97
  ja,
99
98
  Ja,
99
+ Ha,
100
100
  !1,
101
101
  null,
102
102
  null
103
103
  );
104
- const Ka = Ha.exports, Xa = ({
104
+ const Xa = Ka.exports, Za = ({
105
105
  firstDayOfWeek: o,
106
106
  min: t,
107
107
  max: e
108
108
  }) => ({ getGranularCalendarLimits: (i) => {
109
109
  if (!t && !e)
110
110
  return { min: null, max: null };
111
- let m = t ? k(t) : null, p = e ? N(e) : null;
111
+ let m = t ? b(t) : null, p = e ? B(e) : null;
112
112
  if (i?.type === "weekly") {
113
113
  if (i.earliest)
114
- m = k(i.earliest);
114
+ m = b(i.earliest);
115
115
  else if (m) {
116
- const h = Ve(m, { weekStartsOn: o });
117
- O(m, h) || (m = k(Ra(Oe(m, { weekStartsOn: o }), 1)));
116
+ const y = We(m, { weekStartsOn: o });
117
+ P(m, y) || (m = b(Ya(Ce(m, { weekStartsOn: o }), 1)));
118
118
  }
119
119
  if (i.latest)
120
- p = N(i.latest);
120
+ p = B(i.latest);
121
121
  else if (p) {
122
- const h = Oe(p, { weekStartsOn: o });
123
- O(p, h) || (p = N(Ya(Ve(p, { weekStartsOn: o }), 1)));
122
+ const y = Ce(p, { weekStartsOn: o });
123
+ P(p, y) || (p = B(ba(We(p, { weekStartsOn: o }), 1)));
124
124
  }
125
125
  }
126
126
  if (i?.type === "monthly") {
127
127
  if (i.earliest)
128
- m = k(i.earliest);
128
+ m = b(i.earliest);
129
129
  else if (m) {
130
- const h = qe(m);
131
- O(m, h) || (m = qe(ba(m, 1)));
130
+ const y = Be(m);
131
+ P(m, y) || (m = Be(Aa(m, 1)));
132
132
  }
133
133
  if (i.latest)
134
- p = N(i.latest);
134
+ p = B(i.latest);
135
135
  else if (p) {
136
- const h = ze(p);
137
- O(p, h) || (p = ze(Aa(p, 1)));
136
+ const y = Le(p);
137
+ P(p, y) || (p = Le(ka(p, 1)));
138
138
  }
139
139
  }
140
140
  if (i?.type === "quarterly") {
141
141
  if (i.earliest)
142
142
  m = re(i.earliest);
143
143
  else if (m) {
144
- const h = re(m);
145
- O(m, h) || (m = re(ka(m, 1)));
144
+ const y = re(m);
145
+ P(m, y) || (m = re(_a(m, 1)));
146
146
  }
147
147
  if (i.latest)
148
- p = N(i.latest);
148
+ p = B(i.latest);
149
149
  else if (p) {
150
- const h = Ce(p);
151
- O(p, h) || (p = Ce(_a(p, 1)));
150
+ const y = Ne(p);
151
+ P(p, y) || (p = Ne(Ia(p, 1)));
152
152
  }
153
153
  }
154
154
  return { min: m, max: p };
155
- } }), Za = () => {
156
- const o = pe({
155
+ } }), et = () => {
156
+ const o = ve({
157
157
  daily: null,
158
158
  weekly: null,
159
159
  monthly: null,
@@ -170,7 +170,7 @@ const Ka = Ha.exports, Xa = ({
170
170
  };
171
171
  };
172
172
  var D = /* @__PURE__ */ ((o) => (o.CUSTOM_RANGE = "custom-range", o.INPUT = "input", o.ERROR = "error", o.FORM_DATE = "form-date", o.START_DATE_SELECTED = "start-date-selected", o))(D || {});
173
- const et = {
173
+ const at = {
174
174
  "de-DE": { "DD-MM-YYYY": "TT-MM-JJJJ", "MM-DD-YYYY": "MM-TT-JJJJ", "YYYY-MM-DD": "JJJJ-MM-TT", customRange: "Benutzerdefinierter Bereich", daily: "Täglich", dateFrom: "Datum von", dateTo: "Datum bis", invalidDateFormat: "Ungültiges Datumsformat", 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", selectedDateIsNotAvailable: "Ausgewähltes Datum ist nicht verfügbar", startDateMustPrecedeEndDate: "Das Anfangsdatum muss vor dem Enddatum liegen", timeFrom: "Zeit von", timeTo: "Zeit bis", weekly: "Wöchentlich" },
175
175
  "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", invalidDateFormat: "Invalid date format", 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", selectedDateIsNotAvailable: "Selected date is not available", startDateMustPrecedeEndDate: "Start date must precede end date", timeFrom: "Time from", timeTo: "Time to", weekly: "Weekly" },
176
176
  "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", from: "From", invalidDateFormat: "Invalid date format", 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", selectedDateIsNotAvailable: "Selected date is not available", startDateMustPrecedeEndDate: "Start date must precede end date", timeFrom: "Time from", timeTo: "Time to", to: "To", weekly: "Weekly" },
@@ -182,11 +182,11 @@ const et = {
182
182
  "ja-JP": { "DD-MM-YYYY": "DD-MM-YYYY", "MM-DD-YYYY": "MM-DD-YYYY", "YYYY-MM-DD": "YYYY-MM-DD", customRange: "カスタム範囲", daily: "毎日", dateFrom: "開始日", dateTo: "終了日", invalidDateFormat: "無効な日付形式", lastMonth: "先月", lastSevenDays: "過去 7 日間", lastThreeMonths: "過去3か月", maxRangeDays: "{count}日間まで選択できます | {count}日間まで選択できます", maxRangeMonths: "{count}か月まで選択できます | {count}か月まで選択できます", maxRangeQuarters: "{count}四半期まで選択できます | {count}四半期まで選択できます", maxRangeWeeks: "{count}週間まで選択できます | {count}週間まで選択できます", monthly: "毎月", quarterly: "四半期ごと", selectedDateIsNotAvailable: "選択した日付は利用できません", startDateMustPrecedeEndDate: "開始日は終了日より前にする必要があります", timeFrom: "開始時刻", timeTo: "終了時刻", weekly: "毎週" },
183
183
  "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é", invalidDateFormat: "Formato de data inválido", 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", selectedDateIsNotAvailable: "A data selecionada não está disponível", startDateMustPrecedeEndDate: "A data de início deve preceder a data de término", timeFrom: "Horário a partir de", timeTo: "Horário até", weekly: "Semanal" },
184
184
  "zh-CN": { "DD-MM-YYYY": "日-月-年", "MM-DD-YYYY": "月-日-年", "YYYY-MM-DD": "年-月-日", customRange: "自定义范围", daily: "每日", dateFrom: "日期自", dateTo: "日期至", invalidDateFormat: "日期格式无效", lastMonth: "上个月", lastSevenDays: "最近 7 天", lastThreeMonths: "过去三个月", maxRangeDays: "您可以选择最多 {count} 天 | 您可以选择最多 {count} 天", maxRangeMonths: "您可以选择最多 {count} 个月 | 您可以选择最多 {count} 个月", maxRangeQuarters: "您最多可以选择 {count} 个季度 | 您最多可以选择 {count} 个季度", maxRangeWeeks: "您最多可以选择 {count} 周 | 您最多可以选择 {count} 周", monthly: "每月", quarterly: "每季度", selectedDateIsNotAvailable: "所选日期不可用", startDateMustPrecedeEndDate: "开始日期必须早于结束日期", timeFrom: "时间自", timeTo: "是时候", weekly: "每周" }
185
- }, at = {
185
+ }, tt = {
186
186
  name: "date-range-picker-calendar",
187
- i18n: { messages: et }
188
- }, tt = /* @__PURE__ */ be({
189
- ...at,
187
+ i18n: { messages: at }
188
+ }, nt = /* @__PURE__ */ be({
189
+ ...tt,
190
190
  props: {
191
191
  /**
192
192
  * Allows user to enter time values in the form
@@ -202,7 +202,7 @@ const et = {
202
202
  /**
203
203
  * Allows you to set the first day of the week. 0 is sunday, 1 is monday, 6 is saturday
204
204
  */
205
- firstDayOfWeek: B.props.firstDayOfWeek,
205
+ firstDayOfWeek: C.props.firstDayOfWeek,
206
206
  /**
207
207
  * A list of available granularities.
208
208
  * If present, the date picker will display a segmented control to change granularity.
@@ -214,25 +214,25 @@ const et = {
214
214
  /**
215
215
  * Indicate if a date should be disabled or not
216
216
  */
217
- isDateDisabled: B.props.isDateDisabled,
217
+ isDateDisabled: C.props.isDateDisabled,
218
218
  /**
219
219
  * Set a maximum number of dates to be selectable by the range.
220
220
  */
221
- maxRange: B.props.maxRange,
221
+ maxRange: C.props.maxRange,
222
222
  /**
223
223
  * Sets a minimum limit for selectable dates - dates before `min` will not be selectable
224
224
  */
225
- min: B.props.min,
225
+ min: C.props.min,
226
226
  /**
227
227
  * Sets a maximum limit for selectable dates - dates after `max` will not be selectable
228
228
  */
229
- max: B.props.max,
229
+ max: C.props.max,
230
230
  /**
231
231
  * Number of months rendered on pane
232
232
  */
233
233
  numberOfMonths: {
234
- type: B.props.numberOfMonths.type,
235
- default: B.props.numberOfMonths.default,
234
+ type: C.props.numberOfMonths.type,
235
+ default: C.props.numberOfMonths.default,
236
236
  validator: (o) => o >= 0
237
237
  },
238
238
  /**
@@ -257,11 +257,11 @@ const et = {
257
257
  /**
258
258
  * The type of calendar to display. Defaults to showing days.
259
259
  */
260
- variant: B.props.variant,
260
+ variant: C.props.variant,
261
261
  /**
262
262
  * Range of years to be selectable from the year dropdown
263
263
  */
264
- yearRange: B.props.yearRange
264
+ yearRange: C.props.yearRange
265
265
  },
266
266
  emits: [
267
267
  D.CUSTOM_RANGE,
@@ -276,180 +276,180 @@ const et = {
276
276
  weekly: "maxRangeWeeks",
277
277
  monthly: "maxRangeMonths",
278
278
  quarterly: "maxRangeQuarters"
279
- }, p = ua(), h = ya(p), { t: E, tc: V } = Ae(), { isTouchDevice: g } = Ta(), {
279
+ }, p = ua(), y = ha(p), { t: E, tc: N } = Ae(), { isTouchDevice: f } = Ta(), {
280
280
  dateFormat: se,
281
- isFormatValid: K,
281
+ isFormatValid: H,
282
282
  parseDate: v,
283
- onKeyDown: F,
284
- autoFormat: _,
285
- formatDate: W
286
- } = ke(), T = w({}), X = c(() => e.variant === "month" ? "monthly" : "daily"), x = c(() => e.numberOfMonths === 0), r = pe({
283
+ onKeyDown: A,
284
+ autoFormat: k,
285
+ formatDate: z
286
+ } = ke(), R = I({}), K = c(() => e.variant === "month" ? "monthly" : "daily"), X = c(() => e.numberOfMonths === 0), r = ve({
287
287
  startDate: e.value?.startDate,
288
288
  endDate: e.value?.endDate,
289
289
  range: e.value?.range,
290
290
  ...e.granularities ? {
291
- granularity: e.value?.granularity || X.value
291
+ granularity: e.value?.granularity || K.value
292
292
  } : {}
293
- }), q = c(() => (
293
+ }), F = c(() => (
294
294
  // eslint-disable-next-line consistent-return
295
295
  e?.quickSelectRanges?.find(({ value: n, data: l }) => {
296
296
  if (!l.endDate) {
297
297
  if (l.isRelativeToNow) {
298
- const u = T.value?.[n];
298
+ const u = R.value?.[n];
299
299
  return u ? ne(u.startDate, r.startDate) && ne(u.endDate, r.endDate) : (
300
300
  // If not stored calculated dates, fall back to comparing the quick select item's value
301
301
  // with the internal range's stored range identifier.
302
302
  n === r.range
303
303
  );
304
304
  }
305
- return ne(l.startDate, r.startDate) && Ga(r.endDate) && (!e.allowTimeInput || Re(r.endDate, N(r.endDate))) && (e.granularities ? l.granularity === r.granularity : !0);
305
+ return ne(l.startDate, r.startDate) && Ua(r.endDate) && (!e.allowTimeInput || Te(r.endDate, B(r.endDate))) && (e.granularities ? l.granularity === r.granularity : !0);
306
306
  }
307
307
  if (e.allowTimeInput)
308
- return Re(l.startDate, r.startDate) && Re(l.endDate, r.endDate) && (e.granularities ? l.granularity === r.granularity : !0);
308
+ return Te(l.startDate, r.startDate) && Te(l.endDate, r.endDate) && (e.granularities ? l.granularity === r.granularity : !0);
309
309
  if (l.endDate)
310
- return O(l.startDate, r.startDate) && O(l.endDate, r.endDate) && (e.granularities ? l.granularity === r.granularity : !0);
310
+ return P(l.startDate, r.startDate) && P(l.endDate, r.endDate) && (e.granularities ? l.granularity === r.granularity : !0);
311
311
  })?.value ?? i
312
- )), $ = c(() => [
312
+ )), ge = c(() => [
313
313
  { label: E("customRange"), value: i },
314
314
  ...e.quickSelectRanges ? e.quickSelectRanges : []
315
- ]), G = c(
315
+ ]), V = c(
316
316
  () => e.granularities?.find(({ type: n }) => n === r.granularity) || null
317
- ), fe = c(
317
+ ), Me = c(
318
318
  () => e.granularities?.map(({ type: n, disabled: l }) => ({
319
319
  label: E(n),
320
320
  value: n,
321
321
  disabled: l
322
322
  })) ?? []
323
- ), { getGranularCalendarLimits: Z } = Xa(e), j = c(
324
- () => e.granularities ? Z(G.value) : { min: e.min ? k(e.min) : null, max: e.max ? N(e.max) : null }
325
- ), { normalizeRange: J } = Ia(e.firstDayOfWeek), { savedRanges: L, saveRange: oe, resetSavedRanges: ee } = Za(), Y = (n) => n ? W(n) : "", H = (n, l = !0) => {
323
+ ), { getGranularCalendarLimits: L } = Za(e), G = c(
324
+ () => e.granularities ? L(V.value) : { min: e.min ? b(e.min) : null, max: e.max ? B(e.max) : null }
325
+ ), { normalizeRange: oe } = Sa(e.firstDayOfWeek), { savedRanges: W, saveRange: Z, resetSavedRanges: Q } = et(), Y = (n) => n ? z(n) : "", U = (n, l = !0) => {
326
326
  if (!r.startDate || !r.endDate)
327
327
  return;
328
- const u = J({
328
+ const u = oe({
329
329
  startDate: r.startDate,
330
330
  endDate: r.endDate,
331
331
  fixedEndpoint: n,
332
- granularity: G.value,
332
+ granularity: V.value,
333
333
  alignToGranularity: l,
334
334
  fallbackMaxRange: e.maxRange,
335
- min: j.value.min,
336
- max: j.value.max
335
+ min: G.value.min,
336
+ max: G.value.max
337
337
  });
338
338
  ne(u.startDate, r.startDate) && ne(u.endDate, r.endDate) || (r.startDate = u.startDate, r.endDate = u.endDate, s.startDate = Y(u.startDate), s.endDate = Y(u.endDate));
339
- }, M = w(null), f = w(null), P = c(() => M.value ? E(M.value) : null), z = c(() => f.value ? E(f.value) : null), R = c(
340
- () => M.value === "invalidDateFormat" ? null : P.value
341
- ), ge = c(() => f.value === "invalidDateFormat" ? null : z.value), b = (n, l, u, y) => {
342
- if (!n || !K(n))
339
+ }, h = I(null), g = I(null), le = c(() => h.value ? E(h.value) : null), ee = c(() => g.value ? E(g.value) : null), $ = c(
340
+ () => h.value === "invalidDateFormat" ? null : le.value
341
+ ), w = c(() => g.value === "invalidDateFormat" ? null : ee.value), T = (n, l, u, M) => {
342
+ if (!n || !H(n))
343
343
  return "invalidDateFormat";
344
- const I = v(n), C = k(I);
345
- if (e.min && C < k(e.min) || e.max && C > k(e.max) || e.isDateDisabled && e.isDateDisabled(C))
344
+ const _ = v(n), q = b(_);
345
+ if (e.min && q < b(e.min) || e.max && q > b(e.max) || e.isDateDisabled && e.isDateDisabled(q))
346
346
  return "selectedDateIsNotAvailable";
347
347
  if (l) {
348
- const xe = y ? me(y, 0).getTime() : C.getTime(), Pe = y ? me(l, 0).getTime() : k(l).getTime();
349
- if (u === "start" ? xe >= Pe : xe <= Pe)
348
+ const we = M ? De(M, 0).getTime() : q.getTime(), Oe = M ? De(l, 0).getTime() : b(l).getTime();
349
+ if (u === "start" ? we >= Oe : we <= Oe)
350
350
  return "startDateMustPrecedeEndDate";
351
351
  }
352
352
  return null;
353
- }, s = pe({
353
+ }, s = ve({
354
354
  startDate: e.dateFormData.startDate,
355
355
  endDate: e.dateFormData.endDate,
356
356
  startTime: e.dateFormData.startTime,
357
357
  endTime: e.dateFormData.endTime
358
358
  }), ae = (n, l) => {
359
359
  const u = () => {
360
- if (l && U(l)) {
361
- const y = Le(v(l), n);
362
- if (e.min && y < me(e.min, 0) || e.max && y > me(e.max, 0))
360
+ if (l && d(l)) {
361
+ const M = Qe(v(l), n);
362
+ if (e.min && M < De(e.min, 0) || e.max && M > De(e.max, 0))
363
363
  return !1;
364
364
  }
365
365
  return !0;
366
366
  };
367
- return Qe(n) && u();
368
- }, Q = c(() => e.variant === "month"), le = (n) => n ? Q.value ? Sa(n) : Ea(n) : "", Me = c(() => le(r.startDate)), ye = c(() => le(r.endDate)), Ie = c(() => g.value ? Q.value ? "month" : "date" : "text"), Se = c(() => g.value ? Me.value : s.startDate), d = c(() => g.value ? ye.value : s.endDate), A = (n, l) => !l || !Qe(l) || e.variant === "month" ? n : Le(new Date(n), l), ie = (n) => {
367
+ return Ge(n) && u();
368
+ }, x = c(() => e.variant === "month"), j = (n) => n ? x.value ? Ea(n) : Fa(n) : "", ie = c(() => j(r.startDate)), ye = c(() => j(r.endDate)), Ie = c(() => f.value ? x.value ? "month" : "date" : "text"), Se = c(() => f.value ? ie.value : s.startDate), Ee = c(() => f.value ? ye.value : s.endDate), O = (n, l) => !l || !Ge(l) || e.variant === "month" ? n : Qe(new Date(n), l), Fe = (n) => {
369
369
  s.startTime = S(
370
- e.min && e.allowTimeInput && O(e.min, n.startDate) ? e.min : k(n.startDate)
370
+ e.min && e.allowTimeInput && P(e.min, n.startDate) ? e.min : b(n.startDate)
371
371
  ), s.endTime = S(
372
- e.max && e.allowTimeInput && O(e.max, n.endDate) ? e.max : N(n.endDate)
373
- ), r.startDate = A(n.startDate, s.startTime), r.endDate = A(n.endDate, s.endTime), r.range = null, e.granularities && ee(), t(D.INPUT, {
372
+ e.max && e.allowTimeInput && P(e.max, n.endDate) ? e.max : B(n.endDate)
373
+ ), r.startDate = O(n.startDate, s.startTime), r.endDate = O(n.endDate, s.endTime), r.range = null, e.granularities && Q(), t(D.INPUT, {
374
374
  ...r,
375
- range: q.value
375
+ range: F.value
376
376
  });
377
- }, U = (n) => !!n && !b(n);
378
- Ue(() => {
379
- M.value = e.dateFormData.startDate ? b(e.dateFormData.startDate) : null, f.value = e.dateFormData.endDate ? b(e.dateFormData.endDate) : null;
377
+ }, d = (n) => !!n && !T(n);
378
+ je(() => {
379
+ h.value = e.dateFormData.startDate ? T(e.dateFormData.startDate) : null, g.value = e.dateFormData.endDate ? T(e.dateFormData.endDate) : null;
380
380
  });
381
- const je = (n) => {
382
- s.startDate = Y(n), s.startTime || (s.startTime = S(n)), M.value = null, f.value === "startDateMustPrecedeEndDate" && (f.value = null), t(D.START_DATE_SELECTED, n);
383
- }, Je = (n) => {
384
- s.endDate = Y(n), s.endTime || (s.endTime = S(N(n))), f.value = null, M.value === "startDateMustPrecedeEndDate" && (M.value = null);
381
+ const J = (n) => {
382
+ s.startDate = Y(n), s.startTime || (s.startTime = S(n)), h.value = null, g.value === "startDateMustPrecedeEndDate" && (g.value = null), t(D.START_DATE_SELECTED, n);
385
383
  }, ue = (n) => {
384
+ s.endDate = Y(n), s.endTime || (s.endTime = S(B(n))), g.value = null, h.value === "startDateMustPrecedeEndDate" && (h.value = null);
385
+ }, de = (n) => {
386
386
  const l = e.value?.[n];
387
387
  if (l)
388
388
  return l;
389
- if (e.dateFormData[n] && U(e.dateFormData[n]))
389
+ if (e.dateFormData[n] && d(e.dateFormData[n]))
390
390
  return v(e.dateFormData[n]);
391
- }, de = (n, l = !1) => {
392
- if (U(n)) {
391
+ }, ce = (n, l = !1) => {
392
+ if (d(n)) {
393
393
  const u = n;
394
- M.value = null, s.startDate = u;
395
- const y = k(v(u));
396
- r.startDate = A(y, s.startTime), U(s.endDate) && (r.endDate = A(
397
- k(v(s.endDate)),
394
+ h.value = null, s.startDate = u;
395
+ const M = b(v(u));
396
+ r.startDate = O(M, s.startTime), d(s.endDate) && (r.endDate = O(
397
+ b(v(s.endDate)),
398
398
  s.endTime
399
399
  ));
400
- const I = ue("endDate"), C = b(
400
+ const _ = de("endDate"), q = T(
401
401
  u,
402
- e.allowTimeInput ? r.endDate : I,
402
+ e.allowTimeInput ? r.endDate : _,
403
403
  "start",
404
404
  e.allowTimeInput ? r.startDate : void 0
405
405
  );
406
- if (C) {
407
- M.value = C, t(D.ERROR, { ...s });
406
+ if (q) {
407
+ h.value = q, t(D.ERROR, { ...s });
408
408
  return;
409
409
  }
410
- f.value === "startDateMustPrecedeEndDate" && (f.value = null), H("end", l), r.range = null, t(D.FORM_DATE, {
410
+ g.value === "startDateMustPrecedeEndDate" && (g.value = null), U("end", l), r.range = null, t(D.FORM_DATE, {
411
411
  startDate: r.startDate,
412
412
  endDate: r.endDate
413
413
  }), t(D.INPUT, {
414
414
  ...r,
415
- range: q.value
415
+ range: F.value
416
416
  });
417
417
  } else
418
- M.value = b(n), t(D.ERROR, { ...s });
419
- }, Ee = we(de, a), He = (n) => {
420
- s.startDate = g.value && Q.value ? n : _(n), g.value ? Q.value && n ? de(Y(Be(n)), !0) : s.startDate ? de(s.startDate) : M.value = null : Ee(s.startDate);
421
- }, ce = (n, l = !1) => {
422
- if (U(n)) {
418
+ h.value = T(n), t(D.ERROR, { ...s });
419
+ }, xe = qe(ce, a), He = (n) => {
420
+ s.startDate = f.value && x.value ? n : k(n), f.value ? x.value && n ? ce(Y(ze(n)), !0) : s.startDate ? ce(s.startDate) : h.value = null : xe(s.startDate);
421
+ }, me = (n, l = !1) => {
422
+ if (d(n)) {
423
423
  const u = n;
424
- f.value = null, s.endDate = u;
425
- const y = k(v(u));
426
- r.endDate = A(y, s.endTime), U(s.startDate) && (r.startDate = A(
427
- k(v(s.startDate)),
424
+ g.value = null, s.endDate = u;
425
+ const M = b(v(u));
426
+ r.endDate = O(M, s.endTime), d(s.startDate) && (r.startDate = O(
427
+ b(v(s.startDate)),
428
428
  s.startTime
429
429
  ));
430
- const I = ue("startDate"), C = b(
430
+ const _ = de("startDate"), q = T(
431
431
  u,
432
- e.allowTimeInput ? r.startDate : I,
432
+ e.allowTimeInput ? r.startDate : _,
433
433
  "end",
434
434
  e.allowTimeInput ? r.endDate : void 0
435
435
  );
436
- if (C) {
437
- f.value = C, t(D.ERROR, { ...s });
436
+ if (q) {
437
+ g.value = q, t(D.ERROR, { ...s });
438
438
  return;
439
439
  }
440
- M.value === "startDateMustPrecedeEndDate" && (M.value = null), H("start", l), r.range = null, t(D.FORM_DATE, {
440
+ h.value === "startDateMustPrecedeEndDate" && (h.value = null), U("start", l), r.range = null, t(D.FORM_DATE, {
441
441
  startDate: r.startDate,
442
442
  endDate: r.endDate
443
443
  }), t(D.INPUT, {
444
444
  ...r,
445
- range: q.value
445
+ range: F.value
446
446
  });
447
447
  } else
448
- f.value = b(n), t(D.ERROR, { ...s });
449
- }, Fe = we(ce, a), Ke = (n) => {
450
- s.endDate = g.value && Q.value ? n : _(n), g.value ? Q.value && n ? ce(Y(Be(n)), !0) : s.endDate ? ce(s.endDate) : f.value = null : Fe(s.endDate);
448
+ g.value = T(n), t(D.ERROR, { ...s });
449
+ }, Pe = qe(me, a), Ke = (n) => {
450
+ s.endDate = f.value && x.value ? n : k(n), f.value ? x.value && n ? me(Y(ze(n)), !0) : s.endDate ? me(s.endDate) : g.value = null : Pe(s.endDate);
451
451
  }, Xe = (n) => {
452
- F(n);
452
+ A(n);
453
453
  }, Ze = () => {
454
454
  t(D.ERROR, { ...s });
455
455
  }, ea = () => {
@@ -458,20 +458,20 @@ const et = {
458
458
  t(D.ERROR, { ...s });
459
459
  return;
460
460
  }
461
- if (r.startDate = A(r.startDate, n), s.startDate && r.endDate) {
462
- const u = b(
461
+ if (r.startDate = O(r.startDate, n), s.startDate && r.endDate) {
462
+ const u = T(
463
463
  s.startDate,
464
464
  r.endDate,
465
465
  "start",
466
466
  r.startDate
467
467
  );
468
468
  if (u) {
469
- M.value = u, t(D.ERROR, { ...s });
469
+ h.value = u, t(D.ERROR, { ...s });
470
470
  return;
471
471
  }
472
472
  }
473
- M.value = null, f.value === "startDateMustPrecedeEndDate" && (f.value = null);
474
- const l = ue("endDate");
473
+ h.value = null, g.value === "startDateMustPrecedeEndDate" && (g.value = null);
474
+ const l = de("endDate");
475
475
  t(D.FORM_DATE, {
476
476
  startDate: r.startDate,
477
477
  endDate: l,
@@ -479,7 +479,7 @@ const et = {
479
479
  endTime: s.endTime ?? e.dateFormData.endTime
480
480
  }), t(D.INPUT, {
481
481
  ...r,
482
- range: q.value
482
+ range: F.value
483
483
  });
484
484
  }, aa = () => {
485
485
  t(D.ERROR, { ...s });
@@ -489,70 +489,70 @@ const et = {
489
489
  t(D.ERROR, { ...s });
490
490
  return;
491
491
  }
492
- if (r.endDate = A(r.endDate, n), s.endDate && r.startDate) {
493
- const l = b(
492
+ if (r.endDate = O(r.endDate, n), s.endDate && r.startDate) {
493
+ const l = T(
494
494
  s.endDate,
495
495
  r.startDate,
496
496
  "end",
497
497
  r.endDate
498
498
  );
499
499
  if (l) {
500
- f.value = l, t(D.ERROR, { ...s });
500
+ g.value = l, t(D.ERROR, { ...s });
501
501
  return;
502
502
  }
503
503
  }
504
- f.value = null, M.value === "startDateMustPrecedeEndDate" && (M.value = null), t(D.FORM_DATE, {
504
+ g.value = null, h.value === "startDateMustPrecedeEndDate" && (h.value = null), t(D.FORM_DATE, {
505
505
  startDate: r.startDate,
506
506
  endDate: r.endDate,
507
507
  startTime: s.startTime ?? e.dateFormData.startTime,
508
508
  endTime: n
509
509
  }), t(D.INPUT, {
510
510
  ...r,
511
- range: q.value
511
+ range: F.value
512
512
  });
513
513
  }, na = (n) => {
514
514
  s.startTime = n;
515
515
  }, ra = (n) => {
516
516
  s.endTime = n;
517
- }, he = (n, l, u, y) => {
518
- r.startDate = n, r.endDate = l, u && (r.granularity = u), y && (r.range = y);
517
+ }, he = (n, l, u, M) => {
518
+ r.startDate = n, r.endDate = l, u && (r.granularity = u), M && (r.range = M);
519
519
  }, sa = (n) => {
520
520
  const l = e.quickSelectRanges?.find(({ value: u }) => u === n);
521
521
  if (l) {
522
- ee();
523
- const u = l.data, y = u.endDate || (u.isRelativeToNow ? new Date(Date.now()) : N(new Date(Date.now()))), I = u.isRelativeToNow && u.timeDifference ? new Date(y.getTime() - u.timeDifference) : u.startDate;
524
- s.endDate = Y(y), s.startDate = Y(I), he(I, y, null, n), e.granularities && (r.granularity = u.granularity || X.value), s.startTime = S(I), s.endTime = S(y), r.startDate = I, r.endDate = y, u.isRelativeToNow && (T.value = {
525
- ...T.value,
522
+ Q();
523
+ const u = l.data, M = u.endDate || (u.isRelativeToNow ? new Date(Date.now()) : B(new Date(Date.now()))), _ = u.isRelativeToNow && u.timeDifference ? new Date(M.getTime() - u.timeDifference) : u.startDate;
524
+ s.endDate = Y(M), s.startDate = Y(_), he(_, M, null, n), e.granularities && (r.granularity = u.granularity || K.value), s.startTime = S(_), s.endTime = S(M), r.startDate = _, r.endDate = M, u.isRelativeToNow && (R.value = {
525
+ ...R.value,
526
526
  [n]: {
527
- startDate: I,
528
- endDate: y
527
+ startDate: _,
528
+ endDate: M
529
529
  }
530
530
  }), t(D.CUSTOM_RANGE, {
531
531
  ...l.data,
532
- startDate: I,
533
- endDate: y,
532
+ startDate: _,
533
+ endDate: M,
534
534
  range: l.value
535
535
  });
536
536
  }
537
537
  }, oa = (n) => {
538
538
  const l = r.granularity;
539
- r.granularity = n, l && oe(l, structuredClone(Ye(r))), r.startDate && r.endDate && (L[n] && he(L[n].startDate, L[n].endDate, n), H("end"), s.startDate = Y(r.startDate), s.endDate = Y(r.endDate), t(D.INPUT, {
539
+ r.granularity = n, l && Z(l, structuredClone(Ye(r))), r.startDate && r.endDate && (W[n] && he(W[n].startDate, W[n].endDate, n), U("end"), s.startDate = Y(r.startDate), s.endDate = Y(r.endDate), t(D.INPUT, {
540
540
  ...r,
541
- range: q.value
541
+ range: F.value
542
542
  }));
543
543
  }, la = c(() => ({
544
- "b-date-range-picker-calendar__form-container--no-calendars": x.value
544
+ "b-date-range-picker-calendar__form-container--no-calendars": X.value || f.value
545
545
  })), ia = c(() => {
546
- const n = G.value, l = n?.maxRange || e.maxRange;
546
+ const n = V.value, l = n?.maxRange || e.maxRange;
547
547
  if (!l)
548
548
  return null;
549
549
  const u = m[n?.type ?? "daily"];
550
- return V(u, l, { count: l });
550
+ return N(u, l, { count: l });
551
551
  });
552
- return { __sfc: !0, FORM_INPUT_DEBOUNCE_TIME: a, RANGE_SELECTOR_CUSTOM_RANGE_KEY: i, maxRangeMessageKeyMap: m, props: e, emit: t, slots: p, hasSlot: h, t: E, tc: V, isTouchDevice: g, dateFormat: se, isFormatValid: K, parseDate: v, onKeyDown: F, autoFormat: _, formatDateUtil: W, calculatedIsRelativeToNowQuickSelectRanges: T, defaultGranularity: X, hasNoCalendars: x, internalRangeDate: r, selectedRangeSelectorValue: q, quickSelectRangeDefaultItems: $, selectedGranularity: G, granularityItems: fe, getGranularCalendarLimits: Z, computedMinMax: j, normalizeRange: J, savedRanges: L, saveRange: oe, resetSavedRanges: ee, formatDate: Y, normalizeInternalRange: H, startDateError: M, endDateError: f, startDateErrorText: P, endDateErrorText: z, startSharedError: R, endSharedError: ge, getDateErrorMessage: b, dateTextInput: s, isValidTime: ae, isMonthVariant: Q, formatNativeDate: le, nativeStartDate: Me, nativeEndDate: ye, dateInputType: Ie, startDateValue: Se, endDateValue: d, setTimeInDateRef: A, onDateInput: ie, isValidDate: U, onStartDateSelected: je, onEndDateSelected: Je, getDate: ue, validateStartDate: de, validateStartDateDebounced: Ee, onStartDateInput: He, validateEndDate: ce, validateEndDateDebounced: Fe, onEndDateInput: Ke, onDateInputKeyDown: Xe, onStartTimeError: Ze, onStartTimeValid: ea, onEndTimeError: aa, onEndTimeValid: ta, onStartTimeInput: na, onEndTimeInput: ra, setInternalRange: he, onRangeSelectorInput: sa, onGranularityInput: oa, computedFormContainerClasses: la, maxRangeMessage: ia, Calendar: B, DateTimeInput: Ka, BentoAlert: va, BentoTypography: $e, BentoDropdown: fa, BentoSegmentedControl: Ma };
552
+ return { __sfc: !0, FORM_INPUT_DEBOUNCE_TIME: a, RANGE_SELECTOR_CUSTOM_RANGE_KEY: i, maxRangeMessageKeyMap: m, props: e, emit: t, slots: p, hasSlot: y, t: E, tc: N, isTouchDevice: f, dateFormat: se, isFormatValid: H, parseDate: v, onKeyDown: A, autoFormat: k, formatDateUtil: z, calculatedIsRelativeToNowQuickSelectRanges: R, defaultGranularity: K, hasNoCalendars: X, internalRangeDate: r, selectedRangeSelectorValue: F, quickSelectRangeDefaultItems: ge, selectedGranularity: V, granularityItems: Me, getGranularCalendarLimits: L, computedMinMax: G, normalizeRange: oe, savedRanges: W, saveRange: Z, resetSavedRanges: Q, formatDate: Y, normalizeInternalRange: U, startDateError: h, endDateError: g, startDateErrorText: le, endDateErrorText: ee, startSharedError: $, endSharedError: w, getDateErrorMessage: T, dateTextInput: s, isValidTime: ae, isMonthVariant: x, formatNativeDate: j, nativeStartDate: ie, nativeEndDate: ye, dateInputType: Ie, startDateValue: Se, endDateValue: Ee, setTimeInDateRef: O, onDateInput: Fe, isValidDate: d, onStartDateSelected: J, onEndDateSelected: ue, getDate: de, validateStartDate: ce, validateStartDateDebounced: xe, onStartDateInput: He, validateEndDate: me, validateEndDateDebounced: Pe, onEndDateInput: Ke, onDateInputKeyDown: Xe, onStartTimeError: Ze, onStartTimeValid: ea, onEndTimeError: aa, onEndTimeValid: ta, onStartTimeInput: na, onEndTimeInput: ra, setInternalRange: he, onRangeSelectorInput: sa, onGranularityInput: oa, computedFormContainerClasses: la, maxRangeMessage: ia, Calendar: C, DateTimeInput: Xa, BentoAlert: fa, BentoTypography: Je, BentoDropdown: ga, BentoSegmentedControl: ya };
553
553
  }
554
554
  });
555
- var nt = function() {
555
+ var rt = function() {
556
556
  var t = this, e = t._self._c, a = t._self._setupProxy;
557
557
  return e("div", { staticClass: "b-date-range-picker-calendar" }, [e("div", { staticClass: "b-date-range-picker-calendar__form-container", class: a.computedFormContainerClasses, attrs: { "data-testid": "date-range-picker-calendar-form-container" } }, [e("div", { staticClass: "b-date-range-picker-calendar__form" }, [a.hasSlot("title") ? [t._t("title")] : t._e(), t.quickSelectRanges ? e(a.BentoDropdown, { attrs: { "aria-label": a.t("customRange"), items: a.quickSelectRangeDefaultItems, "model-value": a.selectedRangeSelectorValue }, on: { "update:model-value": a.onRangeSelectorInput } }) : t._e(), t.granularities ? e(a.BentoSegmentedControl, { attrs: { items: a.granularityItems, "model-value": a.internalRangeDate.granularity, "full-width": "" }, on: { "update:model-value": a.onGranularityInput } }) : t._e(), a.maxRangeMessage ? e(a.BentoAlert, { attrs: { variant: "tip" }, scopedSlots: t._u([{ key: "description", fn: function() {
558
558
  return [t._v(" " + t._s(a.maxRangeMessage) + " ")];
@@ -573,15 +573,15 @@ var nt = function() {
573
573
  "aria-label": a.t("timeTo"),
574
574
  errorMessage: a.endSharedError
575
575
  } }, on: { "update:date-model-value": a.onEndDateInput, "date:keydown": a.onDateInputKeyDown, "update:time-model-value": a.onEndTimeInput, "time:error": a.onEndTimeError, "time:valid": a.onEndTimeValid } })], 1)], 2), a.hasSlot("actions") ? e("div", [t._t("actions")], 2) : t._e()]), !a.hasNoCalendars && !a.isTouchDevice ? e("div", { staticClass: "b-date-range-picker-calendar__calendars-container", attrs: { "data-testid": "date-range-picker-calendar-calendar-container" } }, [e(a.Calendar, { attrs: { value: a.internalRangeDate, "first-day-of-week": t.firstDayOfWeek, "is-date-disabled": t.isDateDisabled, "max-range": t.maxRange, min: a.computedMinMax.min, max: a.computedMinMax.max, "number-of-months": t.numberOfMonths, "show-end-date-on-open": t.showEndDateOnOpen, granularity: a.selectedGranularity, variant: t.variant, "year-range": t.yearRange, "is-range": "" }, on: { input: a.onDateInput, "start-date-selected": a.onStartDateSelected, "end-date-selected": a.onEndDateSelected } })], 1) : t._e()]);
576
- }, rt = [], st = /* @__PURE__ */ _e(
577
- tt,
576
+ }, st = [], ot = /* @__PURE__ */ _e(
578
577
  nt,
579
578
  rt,
579
+ st,
580
580
  !1,
581
581
  null,
582
- "7e29803c"
582
+ "41d7722c"
583
583
  );
584
- const ot = st.exports, lt = {
584
+ const lt = ot.exports, it = {
585
585
  "de-DE": { apply: "Anwenden", cancel: "Abbrechen", dateRangePicker: "Datumsbereichauswahl {name}", invalidDateFormat: "Ungültiges Datumsformat", 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" },
586
586
  "en-GB": { apply: "Apply", cancel: "Cancel", dateRangePicker: "Date range picker {name}", invalidDateFormat: "Invalid date format", quarter: "Q{quarter} {year}", selectDate: "Select a date", selectDateRange: "Select a date range", selectedDateIsNotAvailable: "Selected date is not available" },
587
587
  "en-US": { apply: "Apply", cancel: "Cancel", dateRangePicker: "Date range picker {name}", invalidDateFormat: "Invalid date format", quarter: "Q{quarter} {year}", selectDate: "Select a date", selectDateRange: "Select a date range", selectedDateIsNotAvailable: "Selected date is not available" },
@@ -593,7 +593,7 @@ const ot = st.exports, lt = {
593
593
  "ja-JP": { apply: "適用", cancel: "キャンセル", dateRangePicker: "日付範囲ピッカー {name}", invalidDateFormat: "無効な日付形式", quarter: "{year}年第{quarter}四半期", selectDate: "日付を選択", selectDateRange: "日付範囲を選択", selectedDateIsNotAvailable: "選択した日付は利用できません" },
594
594
  "pt-BR": { apply: "Aplicar", cancel: "Cancelar", dateRangePicker: "Seletor de intervalo de datas {name}", invalidDateFormat: "Formato de data inválido", quarter: "{quarter}º trimestre de {year}", selectDate: "Selecione uma data", selectDateRange: "Selecione um intervalo de datas", selectedDateIsNotAvailable: "A data selecionada não está disponível" },
595
595
  "zh-CN": { apply: "应用", cancel: "取消", dateRangePicker: "日期范围选择器 {name}", invalidDateFormat: "日期格式无效", quarter: "{year} {quarter} 季度", selectDate: "选择日期", selectDateRange: "选择日期范围", selectedDateIsNotAvailable: "所选日期不可用" }
596
- }, it = ({
596
+ }, ut = ({
597
597
  datePickerValue: o,
598
598
  isDateIncorrect: t,
599
599
  quickSelectRanges: e,
@@ -601,39 +601,39 @@ const ot = st.exports, lt = {
601
601
  withTimeInput: i,
602
602
  placeholder: m
603
603
  }) => {
604
- const { locale: p, t: h } = Ae(), { dateToInputDateString: E } = ke(), V = (v) => !!v && !isNaN(v.getTime()), g = pe({
604
+ const { locale: p, t: y } = Ae(), { dateToInputDateString: E } = ke(), N = (v) => !!v && !isNaN(v.getTime()), f = ve({
605
605
  startDate: null,
606
606
  endDate: null,
607
607
  startTime: null,
608
608
  endTime: null
609
609
  });
610
- return De(
610
+ return pe(
611
611
  o,
612
612
  (v) => {
613
- g.startDate = E(v?.startDate), g.endDate = E(v?.endDate), g.startTime = S(v?.startDate), g.endTime = S(v?.endDate);
613
+ f.startDate = E(v?.startDate), f.endDate = E(v?.endDate), f.startTime = S(v?.startDate), f.endTime = S(v?.endDate);
614
614
  },
615
615
  { immediate: !0 }
616
616
  ), {
617
617
  // Values
618
618
  dateDisplayValue: c(() => {
619
619
  if (t.value)
620
- return `${g.startDate || ""} - ${g.endDate || ""}`;
620
+ return `${f.startDate || ""} - ${f.endDate || ""}`;
621
621
  if (!o.value || !o.value.startDate && !o.value.endDate)
622
- return m?.value || h("selectDateRange");
622
+ return m?.value || y("selectDateRange");
623
623
  if (e.value?.length) {
624
- const F = e.value.find(({ value: _ }) => _ === o.value?.range);
625
- if (F)
626
- return F.label;
624
+ const A = e.value.find(({ value: k }) => k === o.value?.range);
625
+ if (A)
626
+ return A.label;
627
627
  }
628
628
  if (o.value.granularity === "quarterly") {
629
- const { startDate: F, endDate: _ } = o.value, W = h("quarter", { quarter: Ne(F), year: We(F) });
630
- if (Wa(F, _))
631
- return W;
632
- const T = h("quarter", { quarter: Ne(_), year: We(_) });
633
- return `${W} - ${T}`;
629
+ const { startDate: A, endDate: k } = o.value, z = y("quarter", { quarter: Ve(A), year: Ue(A) });
630
+ if (Ga(A, k))
631
+ return z;
632
+ const R = y("quarter", { quarter: Ve(k), year: Ue(k) });
633
+ return `${z} - ${R}`;
634
634
  }
635
- if (!V(o.value.startDate) || !V(o.value.endDate))
636
- return `${g.startDate || ""} - ${g.endDate || ""}`;
635
+ if (!N(o.value.startDate) || !N(o.value.endDate))
636
+ return `${f.startDate || ""} - ${f.endDate || ""}`;
637
637
  let v = a?.value ? { month: "long", year: "numeric" } : { month: "short", day: "2-digit", year: "numeric" };
638
638
  return i.value && (v = {
639
639
  ...v,
@@ -641,21 +641,21 @@ const ot = st.exports, lt = {
641
641
  minute: "numeric",
642
642
  second: "numeric",
643
643
  hour12: !1
644
- }), Fa(p.value, v).formatRange(
644
+ }), xa(p.value, v).formatRange(
645
645
  o.value.startDate,
646
646
  o.value.endDate
647
647
  );
648
648
  }),
649
- textInputDisplayValue: g,
649
+ textInputDisplayValue: f,
650
650
  // Methods
651
651
  formatTextInputDisplayValue: () => ""
652
652
  };
653
- }, ut = {
654
- i18n: { messages: lt },
653
+ }, dt = {
654
+ i18n: { messages: it },
655
655
  name: "bento-date-range-picker",
656
656
  model: { prop: "modelValue", event: "update:model-value" }
657
- }, dt = /* @__PURE__ */ be({
658
- ...ut,
657
+ }, ct = /* @__PURE__ */ be({
658
+ ...dt,
659
659
  props: {
660
660
  description: { default: void 0 },
661
661
  disabled: { type: Boolean, default: !1 },
@@ -682,7 +682,7 @@ const ot = st.exports, lt = {
682
682
  },
683
683
  emits: ["update:model-value"],
684
684
  setup(o, { emit: t }) {
685
- const e = o, a = da(), { t: i } = Ae(), { dateToInputDateString: m } = ke(), p = te("bento-date-range-picker-container"), h = te("bento-date-range-picker-label"), E = te("bento-date-range-picker-description"), V = te("bento-date-range-picker-error"), g = te("bento-date-range-picker-date-error"), se = c(() => e.label || i("dateRangePicker", { name: p })), { resolvedFirstDayOfWeek: K } = ha(Te(e, "firstDayOfWeek")), v = ca({
685
+ const e = o, a = da(), { t: i } = Ae(), { dateToInputDateString: m } = ke(), p = te("bento-date-range-picker-container"), y = te("bento-date-range-picker-label"), E = te("bento-date-range-picker-description"), N = te("bento-date-range-picker-error"), f = te("bento-date-range-picker-date-error"), se = c(() => e.label || i("dateRangePicker", { name: p })), { resolvedFirstDayOfWeek: H } = Ra(Re(e, "firstDayOfWeek")), v = ca({
686
686
  none: 0,
687
687
  one: 710,
688
688
  // width of date range picker with one panes
@@ -690,126 +690,129 @@ const ot = st.exports, lt = {
690
690
  // width of date range picker with two panes
691
691
  three: 1290
692
692
  // width of date range picker with three panes
693
- }), F = c(() => {
694
- const d = v.active().value, A = {
693
+ }), A = c(() => {
694
+ const d = v.active().value, J = {
695
695
  none: 0,
696
696
  one: 1,
697
697
  two: 2
698
698
  };
699
- if (d in A) {
700
- const ie = A[d];
701
- return e.numberOfMonths === void 0 ? ie : Math.min(e.numberOfMonths, ie);
699
+ if (d in J) {
700
+ const ue = J[d];
701
+ return e.numberOfMonths === void 0 ? ue : Math.min(e.numberOfMonths, ue);
702
702
  }
703
703
  return e.numberOfMonths;
704
- }), _ = c(() => e?.quickSelectRanges && e.quickSelectRanges.map((d) => {
705
- const A = d.data.endDate ? void 0 : new Date(Date.now()).getTime() - d.data.startDate.getTime();
704
+ }), k = c(() => e?.quickSelectRanges && e.quickSelectRanges.map((d) => {
705
+ const J = d.data.endDate ? void 0 : new Date(Date.now()).getTime() - d.data.startDate.getTime();
706
706
  return {
707
707
  ...d,
708
708
  data: {
709
709
  ...d.data,
710
710
  // Adding timeDifference to calculate an up-to-date endDate on range selection
711
- timeDifference: A
711
+ timeDifference: J
712
712
  }
713
713
  };
714
- })), W = c(() => e.label ? h : a?.["aria-labelledby"] ?? null), T = w(!1), X = w(null), x = w(!1), { isReadOnly: r } = Ba(Te(e, "readonly")), { emitValue: q } = Na(t);
715
- De(
714
+ })), z = c(() => e.label ? y : a?.["aria-labelledby"] ?? null), R = I(!1), K = I(null), X = I(null), r = I(!1), { width: F } = ma(X), { isReadOnly: ge } = Na(Re(e, "readonly")), { emitValue: V } = za(t);
715
+ pe(
716
716
  () => e.disabled,
717
717
  () => {
718
- e.disabled && x.value && (x.value = !1);
718
+ e.disabled && r.value && (r.value = !1);
719
719
  }
720
720
  );
721
- const $ = c(() => e.modelValue), G = c(() => !z.value && T.value), fe = c(() => ({
721
+ const Me = c(
722
+ () => A.value === 0 && F.value > 0 && F.value < 332
723
+ // size of date range picker form
724
+ ), L = c(() => e.modelValue), G = c(() => !T.value && R.value), oe = c(() => ({
722
725
  "b-date-range-picker__description--error": !!e.errorMessage || G.value
723
- })), Z = c(() => e.variant === "month"), j = c(() => e.allowTimeInput && e.variant !== "month"), { dateDisplayValue: J, textInputDisplayValue: L, formatTextInputDisplayValue: oe } = it({
724
- datePickerValue: $,
725
- isDateIncorrect: T,
726
- quickSelectRanges: _,
727
- isMonthVariant: Z,
728
- withTimeInput: j,
729
- placeholder: Te(e, "placeholder")
730
- }), ee = c(
731
- () => `${e.description ? E : ""} ${e.errorMessage ? V : ""} ${T.value ? g : ""}`.trim() || null
732
- ), Y = () => {
733
- x.value = !1;
734
- }, H = () => {
735
- x.value = !0;
736
- }, M = w(J.value), f = w(
726
+ })), W = c(() => e.variant === "month"), Z = c(() => e.allowTimeInput && e.variant !== "month"), { dateDisplayValue: Q, textInputDisplayValue: Y, formatTextInputDisplayValue: U } = ut({
727
+ datePickerValue: L,
728
+ isDateIncorrect: R,
729
+ quickSelectRanges: k,
730
+ isMonthVariant: W,
731
+ withTimeInput: Z,
732
+ placeholder: Re(e, "placeholder")
733
+ }), h = c(
734
+ () => `${e.description ? E : ""} ${e.errorMessage ? N : ""} ${R.value ? f : ""}`.trim() || null
735
+ ), g = () => {
736
+ r.value = !1;
737
+ }, le = () => {
738
+ r.value = !0;
739
+ }, ee = I(Q.value), $ = I(
737
740
  // textInputDisplayValue is a reactive object
738
- structuredClone(Ye(L))
739
- ), P = w(e.modelValue), z = w(!0), R = w(f.value), ge = {
741
+ structuredClone(Ye(Y))
742
+ ), w = I(e.modelValue), T = I(!0), s = I($.value), ae = {
740
743
  allowOutsideClick: !0
741
744
  };
742
- Ue(() => {
745
+ je(() => {
743
746
  if (e.granularities && e.variant !== "month" && e.granularities.find(({ type: d }) => d === "quarterly"))
744
747
  throw new Error('Quarterly granularity is only supported by BentoDateRangePicker with variant: "month"');
745
748
  });
746
- const b = () => {
747
- M.value = J.value, f.value = structuredClone(Ye(L)), R.value = f.value, P.value = $.value;
749
+ const x = () => {
750
+ ee.value = Q.value, $.value = structuredClone(Ye(Y)), s.value = $.value, w.value = L.value;
748
751
  };
749
- De(
752
+ pe(
750
753
  () => e.modelValue,
751
754
  () => {
752
- b();
755
+ x();
753
756
  }
754
757
  );
755
- const s = () => {
756
- b(), T.value = !1, z.value = !0, Y();
757
- }, ae = c(() => [
758
+ const j = () => {
759
+ x(), R.value = !1, T.value = !0, g();
760
+ }, ie = c(() => [
758
761
  {
759
762
  title: i("apply"),
760
763
  event: () => {
761
- q(P.value), Y(), z.value = !0;
764
+ V(w.value), g(), T.value = !0;
762
765
  },
763
- disabled: z.value
766
+ disabled: T.value
764
767
  },
765
768
  {
766
769
  title: i("cancel"),
767
- event: s
770
+ event: j
768
771
  }
769
772
  ]);
770
- return De(P, (d) => {
771
- z.value = T.value || d === $.value;
772
- }), { __sfc: !0, emit: t, props: e, attrs: a, t: i, dateToInputDateString: m, datePickerContainerId: p, labelId: h, descriptionId: E, errorId: V, dateErrorId: g, popoverAriaLabel: se, resolvedFirstDayOfWeek: K, breakpoints: v, computedNumberOfMonths: F, adjustedQuickSelectRanges: _, dropdownInputAriaLabelledBy: W, isDateIncorrect: T, inputContainerRef: X, isDateRangePickerOpen: x, isReadOnly: r, emitValue: q, internalModelValue: $, shouldDisplayError: G, descriptionConditionalClasses: fe, isMonthVariant: Z, withTimeInput: j, dateDisplayValue: J, textInputDisplayValue: L, formatTextInputDisplayValue: oe, ariaDescribedBy: ee, closeDateRangePicker: Y, openDateRangePicker: H, localDateDisplayValue: M, localTextInputDisplayValue: f, selectedDate: P, isApplyDisabled: z, displayedTextInputValue: R, trapAllOptions: ge, syncLocalDisplayStateFromCommittedValue: b, cancelDateRangePicker: s, rangePickerButtonActions: ae, onDateRangePickerInput: (d) => {
773
- T.value = !1, R.value.startDate = m(d.startDate), R.value.endDate = m(d.endDate), R.value.startTime = S(d.startDate), R.value.endTime = S(d.endDate), P.value = d;
773
+ return pe(w, (d) => {
774
+ T.value = R.value || d === L.value;
775
+ }), { __sfc: !0, emit: t, props: e, attrs: a, t: i, dateToInputDateString: m, datePickerContainerId: p, labelId: y, descriptionId: E, errorId: N, dateErrorId: f, popoverAriaLabel: se, resolvedFirstDayOfWeek: H, breakpoints: v, computedNumberOfMonths: A, adjustedQuickSelectRanges: k, dropdownInputAriaLabelledBy: z, isDateIncorrect: R, inputContainerRef: K, inputWrapperRef: X, isDateRangePickerOpen: r, inputWrapperWidth: F, isReadOnly: ge, emitValue: V, shouldMatchPopoverWidth: Me, internalModelValue: L, shouldDisplayError: G, descriptionConditionalClasses: oe, isMonthVariant: W, withTimeInput: Z, dateDisplayValue: Q, textInputDisplayValue: Y, formatTextInputDisplayValue: U, ariaDescribedBy: h, closeDateRangePicker: g, openDateRangePicker: le, localDateDisplayValue: ee, localTextInputDisplayValue: $, selectedDate: w, isApplyDisabled: T, displayedTextInputValue: s, trapAllOptions: ae, syncLocalDisplayStateFromCommittedValue: x, cancelDateRangePicker: j, rangePickerButtonActions: ie, onDateRangePickerInput: (d) => {
776
+ R.value = !1, s.value.startDate = m(d.startDate), s.value.endDate = m(d.endDate), s.value.startTime = S(d.startDate), s.value.endTime = S(d.endDate), w.value = d;
774
777
  }, clearDateRangePickerValue: async () => {
775
- T.value && (T.value = !1), P.value = null;
778
+ R.value && (R.value = !1), w.value = null;
776
779
  }, onEnterPressedOverInput: () => {
777
- if (!x.value) {
778
- x.value = !0;
780
+ if (!r.value) {
781
+ r.value = !0;
779
782
  return;
780
783
  }
781
- T.value || (x.value = !1);
784
+ R.value || (r.value = !1);
782
785
  }, onDateRangePickerFormDateInputUpdate: (d) => {
783
- T.value = !1, d.startTime && (R.value.startTime = d.startTime), d.endTime && (R.value.endTime = d.endTime);
786
+ R.value = !1, d.startTime && (s.value.startTime = d.startTime), d.endTime && (s.value.endTime = d.endTime);
784
787
  }, onDateRangePickerError: (d) => {
785
- T.value = !0, R.value.startDate = d.startDate, R.value.endDate = d.endDate, P.value = { startDate: null, endDate: null };
788
+ R.value = !0, s.value.startDate = d.startDate, s.value.endDate = d.endDate, w.value = { startDate: null, endDate: null };
786
789
  }, onRangeSelectorInput: (d) => {
787
- d && (R.value.startDate = m(d.startDate), R.value.endDate = m(d.endDate), R.value.startTime = S(d.startDate), R.value.endTime = S(d.endDate), P.value = d);
788
- }, BentoButtonActions: pa, BentoButtonActionsLayout: Qa, BentoDivider: ma, BentoPopover: Da, BentoTypography: $e, DateRangePickerCalendar: ot, DropdownInputDefault: ga, ErrorMessage: La, FieldLabel: Va, vBentoClickOutsideDirective: za };
790
+ d && (s.value.startDate = m(d.startDate), s.value.endDate = m(d.endDate), s.value.startTime = S(d.startDate), s.value.endTime = S(d.endDate), w.value = d);
791
+ }, BentoButtonActions: va, BentoButtonActionsLayout: Qa, BentoDivider: Da, BentoPopover: pa, BentoTypography: Je, DateRangePickerCalendar: lt, DropdownInputDefault: Ma, ErrorMessage: Wa, FieldLabel: La, vBentoClickOutsideDirective: Va };
789
792
  }
790
793
  });
791
- var ct = function() {
794
+ var mt = function() {
792
795
  var t = this, e = t._self._c, a = t._self._setupProxy;
793
- return e("div", { directives: [{ name: "bento-click-outside-directive", rawName: "v-bento-click-outside-directive", value: a.closeDateRangePicker, expression: "closeDateRangePicker" }], staticClass: "b-date-range-picker" }, [t.label ? e(a.FieldLabel, { attrs: { id: a.labelId, label: t.label, "tooltip-text": t.tooltipText, optional: t.optional, required: t.required } }) : t._e(), e("div", { on: { keydown: function(i) {
796
+ return e("div", { directives: [{ name: "bento-click-outside-directive", rawName: "v-bento-click-outside-directive", value: a.closeDateRangePicker, expression: "closeDateRangePicker" }], staticClass: "b-date-range-picker" }, [t.label ? e(a.FieldLabel, { attrs: { id: a.labelId, label: t.label, "tooltip-text": t.tooltipText, optional: t.optional, required: t.required } }) : t._e(), e("div", { ref: "inputWrapperRef", on: { keydown: function(i) {
794
797
  return !i.type.indexOf("key") && t._k(i.keyCode, "enter", 13, i.key, "Enter") ? null : a.onEnterPressedOverInput.apply(null, arguments);
795
- } } }, [e(a.DropdownInputDefault, { ref: "inputContainerRef", attrs: { "always-combobox-is-input": "", ariaControls: a.datePickerContainerId, ariaExpanded: a.isDateRangePickerOpen, "aria-labelledby": a.dropdownInputAriaLabelledBy, "aria-describedby": a.ariaDescribedBy, "aria-required": t.required, disabled: t.disabled, "is-invalid": !!t.errorMessage || a.shouldDisplayError, open: a.isDateRangePickerOpen, "display-value": a.localDateDisplayValue, readonly: a.isReadOnly }, on: { open: a.openDateRangePicker, clear: a.clearDateRangePickerValue, close: a.closeDateRangePicker } })], 1), a.shouldDisplayError ? e(a.ErrorMessage, { staticClass: "b-date-range-picker__error-message", attrs: { id: a.dateErrorId, "error-message": a.t("invalidDateFormat") } }) : t._e(), t.errorMessage ? e(a.ErrorMessage, { staticClass: "b-date-range-picker__error-message", attrs: { id: a.errorId, "error-message": t.errorMessage } }) : t._e(), t.description ? e(a.BentoTypography, { staticClass: "b-date-range-picker__description", class: a.descriptionConditionalClasses, attrs: { id: a.descriptionId, el: "span" } }, [t._v(" " + t._s(t.description) + " ")]) : t._e(), a.inputContainerRef ? e(a.BentoPopover, { staticClass: "b-date-range-picker__container", attrs: { id: a.datePickerContainerId, open: a.isDateRangePickerOpen, "target-element": a.inputContainerRef, "aria-label": a.popoverAriaLabel, position: "bottom-start", "fallback-strategy": "initialPlacement", "without-space": "", "fit-content": "", "trap-all": "", "overflow-visible": "", "trap-all-options": a.trapAllOptions }, nativeOn: { keydown: function(i) {
798
+ } } }, [e(a.DropdownInputDefault, { ref: "inputContainerRef", attrs: { "always-combobox-is-input": "", ariaControls: a.datePickerContainerId, ariaExpanded: a.isDateRangePickerOpen, "aria-labelledby": a.dropdownInputAriaLabelledBy, "aria-describedby": a.ariaDescribedBy, "aria-required": t.required, disabled: t.disabled, "is-invalid": !!t.errorMessage || a.shouldDisplayError, open: a.isDateRangePickerOpen, "display-value": a.localDateDisplayValue, readonly: a.isReadOnly }, on: { open: a.openDateRangePicker, clear: a.clearDateRangePickerValue, close: a.closeDateRangePicker } })], 1), a.shouldDisplayError ? e(a.ErrorMessage, { staticClass: "b-date-range-picker__error-message", attrs: { id: a.dateErrorId, "error-message": a.t("invalidDateFormat") } }) : t._e(), t.errorMessage ? e(a.ErrorMessage, { staticClass: "b-date-range-picker__error-message", attrs: { id: a.errorId, "error-message": t.errorMessage } }) : t._e(), t.description ? e(a.BentoTypography, { staticClass: "b-date-range-picker__description", class: a.descriptionConditionalClasses, attrs: { id: a.descriptionId, el: "span" } }, [t._v(" " + t._s(t.description) + " ")]) : t._e(), a.inputContainerRef ? e(a.BentoPopover, { staticClass: "b-date-range-picker__container", attrs: { id: a.datePickerContainerId, open: a.isDateRangePickerOpen, "target-element": a.inputContainerRef, "aria-label": a.popoverAriaLabel, position: "bottom-start", "fallback-strategy": "initialPlacement", "without-space": "", "fit-content": "", "match-width": a.shouldMatchPopoverWidth, "trap-all": "", "overflow-visible": "", "trap-all-options": a.trapAllOptions }, nativeOn: { keydown: function(i) {
796
799
  return !i.type.indexOf("key") && t._k(i.keyCode, "esc", 27, i.key, ["Esc", "Escape"]) ? null : a.closeDateRangePicker.apply(null, arguments);
797
800
  } } }, [e(a.DateRangePickerCalendar, { attrs: { "allow-time-input": a.withTimeInput, "quick-select-ranges": a.adjustedQuickSelectRanges, value: a.selectedDate, "first-day-of-week": a.resolvedFirstDayOfWeek, granularities: t.granularities, "is-date-disabled": t.isDateDisabled, "max-range": t.maxRange, min: t.min, max: t.max, "number-of-months": a.computedNumberOfMonths, "show-end-date-on-open": t.showEndDateOnOpen, "date-form-data": a.displayedTextInputValue, variant: t.variant, "year-range": t.yearRange }, on: { "custom-range": a.onRangeSelectorInput, input: a.onDateRangePickerInput, error: a.onDateRangePickerError, "form-date": a.onDateRangePickerFormDateInputUpdate }, scopedSlots: t._u([{ key: "actions", fn: function() {
798
801
  return [e(a.BentoDivider), e("div", { staticClass: "b-date-range-picker__footer" }, [e(a.BentoButtonActions, { attrs: { actions: a.rangePickerButtonActions, layout: a.BentoButtonActionsLayout.SPACE_BETWEEN } })], 1)];
799
802
  }, proxy: !0 }], null, !1, 600066749) })], 1) : t._e()], 1);
800
- }, mt = [], Dt = /* @__PURE__ */ _e(
801
- dt,
803
+ }, Dt = [], pt = /* @__PURE__ */ _e(
802
804
  ct,
803
805
  mt,
806
+ Dt,
804
807
  !1,
805
808
  null,
806
- "9dd0538a"
809
+ "92dc9b52"
807
810
  );
808
- const Gt = Dt.exports;
811
+ const Ut = pt.exports;
809
812
  export {
810
- Gt as B,
811
- ot as D,
812
- Ga as a,
813
+ Ut as B,
814
+ lt as D,
815
+ Ua as a,
813
816
  ne as i
814
817
  };
815
- //# sourceMappingURL=date-range-picker.Bi5j0eED.js.map
818
+ //# sourceMappingURL=date-range-picker.CqixIJxG.js.map