@adyen/bento-vue2 1.49.0 → 1.51.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 (303) hide show
  1. package/dist/@types/index.d.ts +441 -657
  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/alert.css +1 -1
  8. package/dist/assets/base-modal.css +1 -1
  9. package/dist/assets/card.css +1 -1
  10. package/dist/assets/checkbox-input.css +1 -1
  11. package/dist/assets/copy.css +1 -1
  12. package/dist/assets/data-grid.css +1 -1
  13. package/dist/assets/date-range-picker.css +1 -1
  14. package/dist/assets/dialog-page.css +1 -1
  15. package/dist/assets/dropdown.css +1 -1
  16. package/dist/assets/file-uploader.css +1 -1
  17. package/dist/assets/filter-bar.css +1 -1
  18. package/dist/assets/header.css +1 -1
  19. package/dist/assets/input-field-password.css +1 -1
  20. package/dist/assets/input-field.css +1 -1
  21. package/dist/assets/inspector.css +1 -1
  22. package/dist/assets/link.css +1 -1
  23. package/dist/assets/menu.css +1 -1
  24. package/dist/assets/modal-fullscreen.css +1 -1
  25. package/dist/assets/pagination.css +1 -1
  26. package/dist/assets/payment-method.css +1 -1
  27. package/dist/assets/popover.css +1 -1
  28. package/dist/assets/search-bar.css +1 -1
  29. package/dist/assets/sidepanel.css +1 -1
  30. package/dist/assets/timeline-item.css +1 -1
  31. package/dist/assets/toggle-button.css +1 -1
  32. package/dist/assets/tutorial.css +1 -1
  33. package/dist/assets/use-cached-selected-values.css +1 -1
  34. package/dist/button.js +3 -3
  35. package/dist/card.js +1 -1
  36. package/dist/checkbox.js +3 -3
  37. package/dist/chip.js +1 -1
  38. package/dist/chunks/{accordion-item.CTxrEQEW.js → accordion-item.C4tyRMCt.js} +2 -2
  39. package/dist/chunks/{accordion-item.CTxrEQEW.js.map → accordion-item.C4tyRMCt.js.map} +1 -1
  40. package/dist/chunks/{action-bar.pYOeP8WX.js → action-bar.DGhojWpe.js} +6 -6
  41. package/dist/chunks/{action-bar.pYOeP8WX.js.map → action-bar.DGhojWpe.js.map} +1 -1
  42. package/dist/chunks/{alert.hiTIDSeX.js → alert.BSBLkXkM.js} +9 -8
  43. package/dist/chunks/alert.BSBLkXkM.js.map +1 -0
  44. package/dist/chunks/{base-modal.8kcvtFRx.js → base-modal.Dan5WQin.js} +5 -5
  45. package/dist/chunks/{base-modal.8kcvtFRx.js.map → base-modal.Dan5WQin.js.map} +1 -1
  46. package/dist/chunks/{button-actions-with-menu.BxWulRXh.js → button-actions-with-menu.B5gcSgRQ.js} +4 -4
  47. package/dist/chunks/{button-actions-with-menu.BxWulRXh.js.map → button-actions-with-menu.B5gcSgRQ.js.map} +1 -1
  48. package/dist/chunks/{button-actions.BovYBINL.js → button-actions.GhdYBSwt.js} +4 -4
  49. package/dist/chunks/{button-actions.BovYBINL.js.map → button-actions.GhdYBSwt.js.map} +1 -1
  50. package/dist/chunks/{button.CdAFZa4V.js → button.D-3uUhuG.js} +2 -2
  51. package/dist/chunks/{button.CdAFZa4V.js.map → button.D-3uUhuG.js.map} +1 -1
  52. package/dist/chunks/{calendar.Bb0-Svhx.js → calendar.YJTNpmzh.js} +3 -3
  53. package/dist/chunks/{calendar.Bb0-Svhx.js.map → calendar.YJTNpmzh.js.map} +1 -1
  54. package/dist/chunks/{card.D-w9c3-n.js → card.Csazj5Qz.js} +3 -3
  55. package/dist/chunks/{card.D-w9c3-n.js.map → card.Csazj5Qz.js.map} +1 -1
  56. package/dist/chunks/{checkbox-group.4TiIcnc7.js → checkbox-group.DcJ31aLq.js} +4 -4
  57. package/dist/chunks/{checkbox-group.4TiIcnc7.js.map → checkbox-group.DcJ31aLq.js.map} +1 -1
  58. package/dist/chunks/{checkbox-input.Bo4NxNOh.js → checkbox-input.B4A_gL2b.js} +10 -9
  59. package/dist/chunks/checkbox-input.B4A_gL2b.js.map +1 -0
  60. package/dist/chunks/{checkbox.CE9NdY0R.js → checkbox.BpF0HY7C.js} +17 -17
  61. package/dist/chunks/{checkbox.CE9NdY0R.js.map → checkbox.BpF0HY7C.js.map} +1 -1
  62. package/dist/chunks/{checkmark-circle-fill.Cn7JN_Tk.js → checkmark-circle-fill.C46dV1Rf.js} +4 -4
  63. package/dist/chunks/checkmark-circle-fill.C46dV1Rf.js.map +1 -0
  64. package/dist/chunks/{checkmark-small.BtF8b2gE.js → checkmark-small.C8T8ISN6.js} +4 -4
  65. package/dist/chunks/checkmark-small.C8T8ISN6.js.map +1 -0
  66. package/dist/chunks/{chevron-left.PIu6yPqe.js → chevron-left.DOMTgGel.js} +6 -6
  67. package/dist/chunks/chevron-left.DOMTgGel.js.map +1 -0
  68. package/dist/chunks/{chevron-up.DVfo78kV.js → chevron-up.CSVyoaTy.js} +6 -6
  69. package/dist/chunks/chevron-up.CSVyoaTy.js.map +1 -0
  70. package/dist/chunks/{chip.HNUA9VZl.js → chip.BeK9uqmW.js} +24 -21
  71. package/dist/chunks/chip.BeK9uqmW.js.map +1 -0
  72. package/dist/chunks/{code-snippet.DSsZWtwa.js → code-snippet.z_G2UXVT.js} +7 -7
  73. package/dist/chunks/{code-snippet.DSsZWtwa.js.map → code-snippet.z_G2UXVT.js.map} +1 -1
  74. package/dist/chunks/{controls-group.BnDPMaGI.js → controls-group.ghJ7a8PY.js} +2 -2
  75. package/dist/chunks/{controls-group.BnDPMaGI.js.map → controls-group.ghJ7a8PY.js.map} +1 -1
  76. package/dist/chunks/{copy.DMlIj53I.js → copy.BNOiinIt.js} +7 -6
  77. package/dist/chunks/copy.BNOiinIt.js.map +1 -0
  78. package/dist/chunks/{cross-circle-fill-small.Oj6lPaDy.js → cross-circle-fill-small.YhLgeipP.js} +4 -4
  79. package/dist/chunks/cross-circle-fill-small.YhLgeipP.js.map +1 -0
  80. package/dist/chunks/{cross-circle-fill.CnYH4R_h.js → cross-circle-fill.BawVYNw7.js} +4 -4
  81. package/dist/chunks/cross-circle-fill.BawVYNw7.js.map +1 -0
  82. package/dist/chunks/{cross-small.BLUwtRB-.js → cross-small.CZqsjZDz.js} +4 -4
  83. package/dist/chunks/cross-small.CZqsjZDz.js.map +1 -0
  84. package/dist/chunks/{cross.CsUPDmaA.js → cross.CJ5EEL2c.js} +4 -4
  85. package/dist/chunks/cross.CJ5EEL2c.js.map +1 -0
  86. package/dist/chunks/{dashboard-section.DzMn8yDZ.js → dashboard-section.Db_E382r.js} +3 -3
  87. package/dist/chunks/{dashboard-section.DzMn8yDZ.js.map → dashboard-section.Db_E382r.js.map} +1 -1
  88. package/dist/chunks/{dashed-underline.COTMts4l.js → dashed-underline.CAhDrAG_.js} +3 -3
  89. package/dist/chunks/{dashed-underline.COTMts4l.js.map → dashed-underline.CAhDrAG_.js.map} +1 -1
  90. package/dist/chunks/{data-grid-template.BPBneEHq.js → data-grid-template.DG5IWdLG.js} +3 -3
  91. package/dist/chunks/{data-grid-template.BPBneEHq.js.map → data-grid-template.DG5IWdLG.js.map} +1 -1
  92. package/dist/chunks/{data-grid.iqFUbiZy.js → data-grid.CHV-FvBB.js} +33 -32
  93. package/dist/chunks/data-grid.CHV-FvBB.js.map +1 -0
  94. package/dist/chunks/{date-picker.C68IAqHR.js → date-picker.CMj5-RQl.js} +15 -15
  95. package/dist/chunks/{date-picker.C68IAqHR.js.map → date-picker.CMj5-RQl.js.map} +1 -1
  96. package/dist/chunks/{date-range-picker.dcQRDNS7.js → date-range-picker.Jysfo6h3.js} +150 -149
  97. package/dist/chunks/date-range-picker.Jysfo6h3.js.map +1 -0
  98. package/dist/chunks/{dialog-page.Bf07JxdG.js → dialog-page.BfF5_hmG.js} +5 -4
  99. package/dist/chunks/dialog-page.BfF5_hmG.js.map +1 -0
  100. package/dist/chunks/{dot.BCX4w7eT.js → dot.CnkXzRn3.js} +4 -4
  101. package/dist/chunks/dot.CnkXzRn3.js.map +1 -0
  102. package/dist/chunks/{dropdown-default-textbox.CC9Z_RFG.js → dropdown-default-textbox.DzPBw4CV.js} +4 -4
  103. package/dist/chunks/{dropdown-default-textbox.CC9Z_RFG.js.map → dropdown-default-textbox.DzPBw4CV.js.map} +1 -1
  104. package/dist/chunks/{dropdown-tag.DhENnOHT.js → dropdown-tag.K4idCLeu.js} +4 -4
  105. package/dist/chunks/{dropdown-tag.DhENnOHT.js.map → dropdown-tag.K4idCLeu.js.map} +1 -1
  106. package/dist/chunks/{dropdown.BBHNOorv.js → dropdown.DFEGHxjw.js} +278 -270
  107. package/dist/chunks/dropdown.DFEGHxjw.js.map +1 -0
  108. package/dist/chunks/{empty-state.BnHTBgKG.js → empty-state.JbgxSrnv.js} +2 -2
  109. package/dist/chunks/{empty-state.BnHTBgKG.js.map → empty-state.JbgxSrnv.js.map} +1 -1
  110. package/dist/chunks/{error-message.xTNEaNn8.js → error-message.B3oWB_HM.js} +3 -3
  111. package/dist/chunks/{error-message.xTNEaNn8.js.map → error-message.B3oWB_HM.js.map} +1 -1
  112. package/dist/chunks/es6.BtaxuP0b.js.map +1 -1
  113. package/dist/chunks/{expand.CwwKq7Uc.js → expand.C263WARj.js} +4 -4
  114. package/dist/chunks/expand.C263WARj.js.map +1 -0
  115. package/dist/chunks/{file-uploader.mLUYQnz1.js → file-uploader.DaBMZSsB.js} +249 -252
  116. package/dist/chunks/file-uploader.DaBMZSsB.js.map +1 -0
  117. package/dist/chunks/{filter-bar.CFcu6P8H.js → filter-bar.DClIG9aP.js} +577 -636
  118. package/dist/chunks/filter-bar.DClIG9aP.js.map +1 -0
  119. package/dist/chunks/{fixed-scroller.DX2YUuoU.js → fixed-scroller.BwvXYzE6.js} +3 -3
  120. package/dist/chunks/{fixed-scroller.DX2YUuoU.js.map → fixed-scroller.BwvXYzE6.js.map} +1 -1
  121. package/dist/chunks/{footer-actions.BsoofCrv.js → footer-actions.D0SuJroc.js} +3 -3
  122. package/dist/chunks/{footer-actions.BsoofCrv.js.map → footer-actions.D0SuJroc.js.map} +1 -1
  123. package/dist/chunks/{form-layout-title.CJbgfh3P.js → form-layout-title.C1n2S73_.js} +2 -2
  124. package/dist/chunks/{form-layout-title.CJbgfh3P.js.map → form-layout-title.C1n2S73_.js.map} +1 -1
  125. package/dist/chunks/{header.BeS6ktqU.js → header.CRlxEGHb.js} +50 -50
  126. package/dist/chunks/{header.BeS6ktqU.js.map → header.CRlxEGHb.js.map} +1 -1
  127. package/dist/chunks/{info-icon-with-popover.yeIoJzhj.js → info-icon-with-popover.C29aZ1Vh.js} +3 -3
  128. package/dist/chunks/{info-icon-with-popover.yeIoJzhj.js.map → info-icon-with-popover.C29aZ1Vh.js.map} +1 -1
  129. package/dist/chunks/{info-icon.C4_l0WAf.js → info-icon.bXR5eo6I.js} +4 -4
  130. package/dist/chunks/{info-icon.C4_l0WAf.js.map → info-icon.bXR5eo6I.js.map} +1 -1
  131. package/dist/chunks/{info.CyeBsLgt.js → info.D4SG-AIm.js} +4 -4
  132. package/dist/chunks/info.D4SG-AIm.js.map +1 -0
  133. package/dist/chunks/{input-field-password.Dez8haIj.js → input-field-password.DsIpkc_9.js} +15 -15
  134. package/dist/chunks/input-field-password.DsIpkc_9.js.map +1 -0
  135. package/dist/chunks/{input-field-phone-number.CPTonsjM.js → input-field-phone-number.Bmugk7fI.js} +2 -2
  136. package/dist/chunks/{input-field-phone-number.CPTonsjM.js.map → input-field-phone-number.Bmugk7fI.js.map} +1 -1
  137. package/dist/chunks/{input-field.lEMEBT7J.js → input-field.Dl2lXZda.js} +49 -139
  138. package/dist/chunks/input-field.Dl2lXZda.js.map +1 -0
  139. package/dist/chunks/{inspector.types.BtgXpTC7.js → inspector.types.C9Oc8FgA.js} +4 -4
  140. package/dist/chunks/{inspector.types.BtgXpTC7.js.map → inspector.types.C9Oc8FgA.js.map} +1 -1
  141. package/dist/chunks/{link.DZlbzVSB.js → link.BH3eB_7E.js} +4 -3
  142. package/dist/chunks/link.BH3eB_7E.js.map +1 -0
  143. package/dist/chunks/{listbox-option-tag.BJBWnC2r.js → listbox-option-tag.bPRcATJK.js} +2 -2
  144. package/dist/chunks/{listbox-option-tag.BJBWnC2r.js.map → listbox-option-tag.bPRcATJK.js.map} +1 -1
  145. package/dist/chunks/{menu.lbODB0y3.js → menu.CzbkunwY.js} +226 -193
  146. package/dist/chunks/menu.CzbkunwY.js.map +1 -0
  147. package/dist/chunks/{modal-fullscreen.Dz3kSuTz.js → modal-fullscreen.C4D3Rkdg.js} +5 -5
  148. package/dist/chunks/{modal-fullscreen.Dz3kSuTz.js.map → modal-fullscreen.C4D3Rkdg.js.map} +1 -1
  149. package/dist/chunks/{modal.DV55hSPn.js → modal.DgCmKjQC.js} +5 -5
  150. package/dist/chunks/{modal.DV55hSPn.js.map → modal.DgCmKjQC.js.map} +1 -1
  151. package/dist/chunks/{pagination.CuJ-P2bO.js → pagination.CdOxfZW2.js} +6 -5
  152. package/dist/chunks/pagination.CdOxfZW2.js.map +1 -0
  153. package/dist/chunks/payment-method.BudFG3aC.js +76 -0
  154. package/dist/chunks/payment-method.BudFG3aC.js.map +1 -0
  155. package/dist/chunks/payment-method.types.CJKfZQN5.js.map +1 -1
  156. package/dist/chunks/{popover.BQGNMbQN.js → popover.3sHql3nd.js} +39 -31
  157. package/dist/chunks/popover.3sHql3nd.js.map +1 -0
  158. package/dist/chunks/{popper-container.CsW4R0-t.js → popper-container.Bqy3oVj6.js} +356 -352
  159. package/dist/chunks/popper-container.Bqy3oVj6.js.map +1 -0
  160. package/dist/chunks/{promo-banner.BNXfyv3h.js → promo-banner.BIICM7FC.js} +2 -2
  161. package/dist/chunks/{promo-banner.BNXfyv3h.js.map → promo-banner.BIICM7FC.js.map} +1 -1
  162. package/dist/chunks/{radio-group.CUgib4vp.js → radio-group.L-XokgwC.js} +4 -4
  163. package/dist/chunks/{radio-group.CUgib4vp.js.map → radio-group.L-XokgwC.js.map} +1 -1
  164. package/dist/chunks/{refresh.BKI9WwKh.js → refresh.Bc9FzGjJ.js} +4 -4
  165. package/dist/chunks/refresh.Bc9FzGjJ.js.map +1 -0
  166. package/dist/chunks/{search-bar.Dk-GuqgF.js → search-bar.CDTWPjG1.js} +28 -46
  167. package/dist/chunks/search-bar.CDTWPjG1.js.map +1 -0
  168. package/dist/chunks/{search.CBKhp7zB.js → search.pVu-JVAN.js} +4 -4
  169. package/dist/chunks/search.pVu-JVAN.js.map +1 -0
  170. package/dist/chunks/{secondary-nav.DC2GrGaQ.js → secondary-nav.BwmBTvl5.js} +2 -2
  171. package/dist/chunks/{secondary-nav.DC2GrGaQ.js.map → secondary-nav.BwmBTvl5.js.map} +1 -1
  172. package/dist/chunks/{segmented-control.BxCcPbKd.js → segmented-control.CW6v1rDg.js} +2 -2
  173. package/dist/chunks/{segmented-control.BxCcPbKd.js.map → segmented-control.CW6v1rDg.js.map} +1 -1
  174. package/dist/chunks/{selection-card-group.B-YY-iKp.js → selection-card-group.CURxGbd9.js} +10 -10
  175. package/dist/chunks/{selection-card-group.B-YY-iKp.js.map → selection-card-group.CURxGbd9.js.map} +1 -1
  176. package/dist/chunks/{show.IEAxtCB7.js → show.e4LEpZKG.js} +6 -6
  177. package/dist/chunks/show.e4LEpZKG.js.map +1 -0
  178. package/dist/chunks/{sidepanel.Dp6dKRnq.js → sidepanel.MBArfd4a.js} +5 -5
  179. package/dist/chunks/{sidepanel.Dp6dKRnq.js.map → sidepanel.MBArfd4a.js.map} +1 -1
  180. package/dist/chunks/{step.DrP2Frvn.js → step.CuOpi-Ye.js} +3 -3
  181. package/dist/chunks/{step.DrP2Frvn.js.map → step.CuOpi-Ye.js.map} +1 -1
  182. package/dist/chunks/{structured-list-item.DrY71Ndc.js → structured-list-item.CYYZ1Fil.js} +6 -6
  183. package/dist/chunks/{structured-list-item.DrY71Ndc.js.map → structured-list-item.CYYZ1Fil.js.map} +1 -1
  184. package/dist/chunks/{summary-grid-item-custom.CXs6AMS4.js → summary-grid-item-custom.CVEhwKNM.js} +4 -4
  185. package/dist/chunks/{summary-grid-item-custom.CXs6AMS4.js.map → summary-grid-item-custom.CVEhwKNM.js.map} +1 -1
  186. package/dist/chunks/{tabs.5zgaD1k3.js → tabs.UFoTqvew.js} +2 -2
  187. package/dist/chunks/{tabs.5zgaD1k3.js.map → tabs.UFoTqvew.js.map} +1 -1
  188. package/dist/chunks/{tag.CevG31iQ.js → tag.BxmageRW.js} +2 -2
  189. package/dist/chunks/{tag.CevG31iQ.js.map → tag.BxmageRW.js.map} +1 -1
  190. package/dist/chunks/{textarea.DHbXaxdU.js → textarea.DmjhRupr.js} +4 -4
  191. package/dist/chunks/{textarea.DHbXaxdU.js.map → textarea.DmjhRupr.js.map} +1 -1
  192. package/dist/chunks/{timeline-item.C4HOsaEG.js → timeline-item.CLbS-cEf.js} +12 -11
  193. package/dist/chunks/timeline-item.CLbS-cEf.js.map +1 -0
  194. package/dist/chunks/{toast.C5I7Wsfa.js → toast.DqSWycRO.js} +3 -3
  195. package/dist/chunks/{toast.C5I7Wsfa.js.map → toast.DqSWycRO.js.map} +1 -1
  196. package/dist/chunks/{toggle-button.BX_9vB0d.js → toggle-button.DgSFugBP.js} +6 -6
  197. package/dist/chunks/toggle-button.DgSFugBP.js.map +1 -0
  198. package/dist/chunks/{toggle.CyaY0U0K.js → toggle.Q52IIKfi.js} +2 -2
  199. package/dist/chunks/{toggle.CyaY0U0K.js.map → toggle.Q52IIKfi.js.map} +1 -1
  200. package/dist/chunks/{tooltip.Bu8o7uyZ.js → tooltip.Vgoc41cI.js} +2 -2
  201. package/dist/chunks/{tooltip.Bu8o7uyZ.js.map → tooltip.Vgoc41cI.js.map} +1 -1
  202. package/dist/chunks/{tutorial.BWWTUI9f.js → tutorial.CmLMgXDK.js} +45 -44
  203. package/dist/chunks/tutorial.CmLMgXDK.js.map +1 -0
  204. package/dist/chunks/use-cached-selected-values.DVcpkFV3.js +1164 -0
  205. package/dist/chunks/use-cached-selected-values.DVcpkFV3.js.map +1 -0
  206. package/dist/chunks/{warning-filled.CLKRzGMT.js → warning-filled.Cd0kVWwa.js} +4 -4
  207. package/dist/chunks/warning-filled.Cd0kVWwa.js.map +1 -0
  208. package/dist/code-snippet.js +1 -1
  209. package/dist/dashboard-template.js +1 -1
  210. package/dist/dashed-underline.js +1 -1
  211. package/dist/data-grid-template.js +1 -1
  212. package/dist/data-grid.js +1 -1
  213. package/dist/date-picker.js +2 -2
  214. package/dist/date-range-picker.js +2 -2
  215. package/dist/dropdown.js +4 -4
  216. package/dist/empty-state.js +1 -1
  217. package/dist/file-uploader.js +1 -1
  218. package/dist/filter-bar.js +1 -1
  219. package/dist/form-layout.js +1 -1
  220. package/dist/header.js +1 -1
  221. package/dist/index.js +59 -59
  222. package/dist/info-icon.js +1 -1
  223. package/dist/input-field-password.js +1 -1
  224. package/dist/input-field-phone-number.js +1 -1
  225. package/dist/input-field.js +1 -1
  226. package/dist/inspector.js +1 -1
  227. package/dist/internal.js +12 -12
  228. package/dist/link.js +1 -1
  229. package/dist/menu.js +1 -1
  230. package/dist/modal-fullscreen.js +1 -1
  231. package/dist/modal.js +2 -2
  232. package/dist/pagination.js +1 -1
  233. package/dist/payment-method.js +1 -1
  234. package/dist/popover.js +1 -1
  235. package/dist/popper-container.js +1 -1
  236. package/dist/promo-banner.js +1 -1
  237. package/dist/radio-group.js +1 -1
  238. package/dist/search-bar.js +2 -2
  239. package/dist/secondary-nav.js +1 -1
  240. package/dist/segmented-control.js +1 -1
  241. package/dist/selection-card.js +1 -1
  242. package/dist/sidepanel.js +1 -1
  243. package/dist/stepper.js +1 -1
  244. package/dist/structured-list.js +1 -1
  245. package/dist/styles/bento-dark.css +5 -5
  246. package/dist/styles/bento-light.css +5 -5
  247. package/dist/styles/bento.css +5 -5
  248. package/dist/styles/legacy.css +6 -4
  249. package/dist/styles/styleguide.css +5 -5
  250. package/dist/styles/utility.css +2 -2
  251. package/dist/summary-grid.js +1 -1
  252. package/dist/tabs.js +1 -1
  253. package/dist/tag.js +1 -1
  254. package/dist/textarea.js +1 -1
  255. package/dist/timeline.js +1 -1
  256. package/dist/toast.js +1 -1
  257. package/dist/toggle.js +1 -1
  258. package/dist/tutorial.js +1 -1
  259. package/dist/web-types.json +179 -144
  260. package/package.json +6 -6
  261. package/dist/chunks/alert.hiTIDSeX.js.map +0 -1
  262. package/dist/chunks/checkbox-input.Bo4NxNOh.js.map +0 -1
  263. package/dist/chunks/checkmark-circle-fill.Cn7JN_Tk.js.map +0 -1
  264. package/dist/chunks/checkmark-small.BtF8b2gE.js.map +0 -1
  265. package/dist/chunks/chevron-left.PIu6yPqe.js.map +0 -1
  266. package/dist/chunks/chevron-up.DVfo78kV.js.map +0 -1
  267. package/dist/chunks/chip.HNUA9VZl.js.map +0 -1
  268. package/dist/chunks/copy.DMlIj53I.js.map +0 -1
  269. package/dist/chunks/cross-circle-fill-small.Oj6lPaDy.js.map +0 -1
  270. package/dist/chunks/cross-circle-fill.CnYH4R_h.js.map +0 -1
  271. package/dist/chunks/cross-small.BLUwtRB-.js.map +0 -1
  272. package/dist/chunks/cross.CsUPDmaA.js.map +0 -1
  273. package/dist/chunks/data-grid.iqFUbiZy.js.map +0 -1
  274. package/dist/chunks/date-range-picker.dcQRDNS7.js.map +0 -1
  275. package/dist/chunks/dialog-page.Bf07JxdG.js.map +0 -1
  276. package/dist/chunks/dot.BCX4w7eT.js.map +0 -1
  277. package/dist/chunks/dropdown.BBHNOorv.js.map +0 -1
  278. package/dist/chunks/expand.CwwKq7Uc.js.map +0 -1
  279. package/dist/chunks/file-uploader.mLUYQnz1.js.map +0 -1
  280. package/dist/chunks/filter-bar.CFcu6P8H.js.map +0 -1
  281. package/dist/chunks/info.CyeBsLgt.js.map +0 -1
  282. package/dist/chunks/input-field-password.Dez8haIj.js.map +0 -1
  283. package/dist/chunks/input-field.lEMEBT7J.js.map +0 -1
  284. package/dist/chunks/link.DZlbzVSB.js.map +0 -1
  285. package/dist/chunks/menu.lbODB0y3.js.map +0 -1
  286. package/dist/chunks/pagination.CuJ-P2bO.js.map +0 -1
  287. package/dist/chunks/payment-method.BKr_q5cZ.js +0 -84
  288. package/dist/chunks/payment-method.BKr_q5cZ.js.map +0 -1
  289. package/dist/chunks/popover.BQGNMbQN.js.map +0 -1
  290. package/dist/chunks/popper-container.CsW4R0-t.js.map +0 -1
  291. package/dist/chunks/refresh.BKI9WwKh.js.map +0 -1
  292. package/dist/chunks/search-bar.Dk-GuqgF.js.map +0 -1
  293. package/dist/chunks/search.CBKhp7zB.js.map +0 -1
  294. package/dist/chunks/show.IEAxtCB7.js.map +0 -1
  295. package/dist/chunks/timeline-item.C4HOsaEG.js.map +0 -1
  296. package/dist/chunks/toggle-button.BX_9vB0d.js.map +0 -1
  297. package/dist/chunks/truncate.BfIl_-71.js +0 -8
  298. package/dist/chunks/truncate.BfIl_-71.js.map +0 -1
  299. package/dist/chunks/tutorial.BWWTUI9f.js.map +0 -1
  300. package/dist/chunks/use-cached-selected-values.C5gHa-dC.js +0 -1301
  301. package/dist/chunks/use-cached-selected-values.C5gHa-dC.js.map +0 -1
  302. package/dist/chunks/warning-filled.CLKRzGMT.js.map +0 -1
  303. /package/dist/assets/{cross.css → main.css} +0 -0
@@ -1,32 +1,32 @@
1
1
  import { reactive as se, defineComponent as we, computed as _, ref as S, onMounted as Ce, toRaw as de, toRef as le, watch as ue } from "vue";
2
2
  import { B as je } from "./divider.Cc4JFWG_.js";
3
- import { B as qe } from "./popover.BQGNMbQN.js";
3
+ import { B as qe } from "./popover.3sHql3nd.js";
4
4
  import { B as Ae, d as Ke } from "./typography.J1v_SPG3.js";
5
- import { D as ze } from "./dropdown-default-textbox.CC9Z_RFG.js";
6
5
  import { r as V, t as z, g as ce } from "./get-date-locale.BN8xEjY0.js";
7
6
  import { g as X } from "./generate-uid.NJ8tVoha.js";
8
7
  import { u as De } from "./i18n.BQkEbtPM.js";
9
8
  import { t as me, f as Z } from "./date.YLIcAerL.js";
10
- import { i as Y, s as K, c as Te, d as Je, e as _e, f as Qe, g as Re, h as Xe, j as Ze, a as L, u as et } from "./calendar.Bb0-Svhx.js";
11
- import { f as be, v as tt, D as b } from "./date-input.BqBdAO1E.js";
12
- import { u as at } from "./use-form-layout-loading.D3lALhtC.js";
9
+ import { i as Y, s as K, c as Te, d as ze, e as _e, f as Je, g as Re, h as Qe, j as Xe, a as L, u as Ze } from "./calendar.YJTNpmzh.js";
10
+ import { f as be, v as et, D as I } from "./date-input.BqBdAO1E.js";
11
+ import { u as tt } from "./use-form-layout-loading.D3lALhtC.js";
13
12
  import "./index.Cl4_42j5.js";
14
- import { B as nt } from "./input-field.lEMEBT7J.js";
15
- import { B as rt } from "./dropdown.BBHNOorv.js";
16
- import { B as st } from "./segmented-control.BxCcPbKd.js";
13
+ import { B as at } from "./input-field.Dl2lXZda.js";
14
+ import { B as nt } from "./dropdown.DFEGHxjw.js";
15
+ import { B as rt } from "./segmented-control.CW6v1rDg.js";
17
16
  import { d as ne } from "./debounce.DUTu11PS.js";
18
- import { u as ot } from "./use-has-slot.C9lQZ6nz.js";
17
+ import { u as st } from "./use-has-slot.C9lQZ6nz.js";
19
18
  import { e as F } from "./index.DPafeRJa.js";
20
19
  import { e as Ie } from "./index.CrhTVr5J.js";
21
20
  import { n as xe } from "./_plugin-vue2_normalizer.CeySl7Fu.js";
21
+ import { D as ot } from "./dropdown-default-textbox.DzPBw4CV.js";
22
22
  import { B as it } from "./directive.O3yEdalv.js";
23
- import { F as lt, E as ut } from "./error-message.xTNEaNn8.js";
24
- import { B as dt, c as ct } from "./button-actions.BovYBINL.js";
23
+ import { F as lt, E as ut } from "./error-message.B3oWB_HM.js";
24
+ import { B as dt, c as ct } from "./button-actions.GhdYBSwt.js";
25
25
  import "../assets/date-range-picker.css";
26
26
  function Dt(t, e) {
27
27
  V(2, arguments);
28
- var n = z(t), l = z(e);
29
- return n.getTime() === l.getTime();
28
+ var n = z(t), u = z(e);
29
+ return n.getTime() === u.getTime();
30
30
  }
31
31
  function ke(t) {
32
32
  V(1, arguments);
@@ -35,65 +35,65 @@ function ke(t) {
35
35
  }
36
36
  function Se(t, e) {
37
37
  V(2, arguments);
38
- var n = ke(t), l = ke(e);
39
- return n.getTime() === l.getTime();
38
+ var n = ke(t), u = ke(e);
39
+ return n.getTime() === u.getTime();
40
40
  }
41
41
  function mt(t) {
42
42
  return V(1, arguments), Y(t, Date.now());
43
43
  }
44
44
  function ft(t, e) {
45
45
  V(2, arguments);
46
- var n = z(t), l = me(e);
47
- return n.setHours(l), n;
46
+ var n = z(t), u = me(e);
47
+ return n.setHours(u), n;
48
48
  }
49
49
  function pt(t, e) {
50
50
  V(2, arguments);
51
- var n = z(t), l = me(e);
52
- return n.setMinutes(l), n;
51
+ var n = z(t), u = me(e);
52
+ return n.setMinutes(u), n;
53
53
  }
54
54
  function vt(t, e) {
55
55
  V(2, arguments);
56
- var n = z(t), l = me(e);
57
- return n.setSeconds(l), n;
56
+ var n = z(t), u = me(e);
57
+ return n.setSeconds(u), n;
58
58
  }
59
59
  function oe(t) {
60
60
  if (t == null)
61
61
  return K(/* @__PURE__ */ new Date());
62
- const [e, n, l] = t.split("-").map((u) => parseInt(u, 10));
63
- return new Date(e, n - 1, l);
62
+ const [e, n, u] = t.split("-").map((d) => parseInt(d, 10));
63
+ return new Date(e, n - 1, u);
64
64
  }
65
65
  const gt = ({
66
66
  firstDayOfWeek: t,
67
67
  min: e,
68
68
  max: n
69
- }) => ({ getGranularCalendarLimits: (u) => {
69
+ }) => ({ getGranularCalendarLimits: (d) => {
70
70
  let f = K(e), r = F(n);
71
- if ((u == null ? void 0 : u.type) === "weekly") {
72
- if (u.earliest)
73
- f = K(u.earliest);
71
+ if ((d == null ? void 0 : d.type) === "weekly") {
72
+ if (d.earliest)
73
+ f = K(d.earliest);
74
74
  else {
75
75
  const D = Te(f, { weekStartsOn: t });
76
- Y(f, D) || (f = K(Je(_e(f, { weekStartsOn: t }), 1)));
76
+ Y(f, D) || (f = K(ze(_e(f, { weekStartsOn: t }), 1)));
77
77
  }
78
- if (u.latest)
79
- r = F(u.latest);
78
+ if (d.latest)
79
+ r = F(d.latest);
80
80
  else {
81
81
  const D = _e(r, { weekStartsOn: t });
82
- Y(r, D) || (r = F(Qe(Te(r, { weekStartsOn: t }), 1)));
82
+ Y(r, D) || (r = F(Je(Te(r, { weekStartsOn: t }), 1)));
83
83
  }
84
84
  }
85
- if ((u == null ? void 0 : u.type) === "monthly") {
86
- if (u.earliest)
87
- f = K(u.earliest);
85
+ if ((d == null ? void 0 : d.type) === "monthly") {
86
+ if (d.earliest)
87
+ f = K(d.earliest);
88
88
  else {
89
89
  const D = Re(f);
90
- Y(f, D) || (f = Re(Xe(f, 1)));
90
+ Y(f, D) || (f = Re(Qe(f, 1)));
91
91
  }
92
- if (u.latest)
93
- r = F(u.latest);
92
+ if (d.latest)
93
+ r = F(d.latest);
94
94
  else {
95
95
  const D = Ie(r);
96
- Y(r, D) || (r = Ie(Ze(r, 1)));
96
+ Y(r, D) || (r = Ie(Xe(r, 1)));
97
97
  }
98
98
  }
99
99
  return { min: f, max: r };
@@ -105,8 +105,8 @@ const gt = ({
105
105
  });
106
106
  return {
107
107
  savedRanges: t,
108
- saveRange: (l, u) => {
109
- t[l] = u;
108
+ saveRange: (u, d) => {
109
+ t[u] = d;
110
110
  },
111
111
  resetSavedRanges: () => {
112
112
  t.daily = null, t.weekly = null, t.monthly = null;
@@ -115,16 +115,16 @@ const gt = ({
115
115
  };
116
116
  var p = /* @__PURE__ */ ((t) => (t.CUSTOM_RANGE = "custom-range", t.INPUT = "input", t.ERROR = "error", t.FORM_DATE = "form-date", t.START_DATE_SELECTED = "start-date-selected", t))(p || {});
117
117
  const Tt = /[\d]/, _t = /^\d{2}$/, Rt = /^\d{2}:\d{2}$/, bt = (t) => {
118
- const { selectionStart: e } = t.target, n = Tt.test(t.key) || t.key === "Backspace", l = [1, 2, 4, 5].includes(e) && t.key === ":";
119
- !n && !l && t.preventDefault();
118
+ const { selectionStart: e } = t.target, n = Tt.test(t.key) || t.key === "Backspace", u = [1, 2, 4, 5].includes(e) && t.key === ":";
119
+ !n && !u && t.preventDefault();
120
120
  }, Ee = (t) => {
121
121
  if (!t)
122
122
  return t;
123
123
  let e = t;
124
124
  if (e.length === 1 && parseInt(t, 10) > 2)
125
125
  return `0${e}:`;
126
- const [n, l] = e.slice(-2);
127
- return [2, 5].includes(e.length) && l === ":" && (e = `${e.slice(0, e.length - 2)}0${n}`), (_t.test(e) || Rt.test(e)) && (e += ":"), e;
126
+ const [n, u] = e.slice(-2);
127
+ return [2, 5].includes(e.length) && u === ":" && (e = `${e.slice(0, e.length - 2)}0${n}`), (_t.test(e) || Rt.test(e)) && (e += ":"), e;
128
128
  }, It = {
129
129
  "en-US": {
130
130
  customRange: "Custom range",
@@ -159,9 +159,9 @@ const Tt = /[\d]/, _t = /^\d{2}$/, Rt = /^\d{2}:\d{2}$/, bt = (t) => {
159
159
  i18n: { messages: It },
160
160
  name: "date-range-picker-calendar",
161
161
  components: {
162
- BentoDropdown: rt,
163
- BentoInputField: nt,
164
- BentoSegmentedControl: st,
162
+ BentoDropdown: nt,
163
+ BentoInputField: at,
164
+ BentoSegmentedControl: rt,
165
165
  BentoTypography: Ae,
166
166
  Calendar: L
167
167
  },
@@ -238,7 +238,7 @@ const Tt = /[\d]/, _t = /^\d{2}$/, Rt = /^\d{2}:\d{2}$/, bt = (t) => {
238
238
  ],
239
239
  setup(t, { emit: e, slots: n }) {
240
240
  var pe, ve, ge, ye;
241
- const { locale: l, t: u } = De(), f = ce(), r = se({
241
+ const { locale: u, t: d } = De(), f = ce(), r = se({
242
242
  startDate: (pe = t.value) == null ? void 0 : pe.startDate,
243
243
  endDate: (ve = t.value) == null ? void 0 : ve.endDate,
244
244
  range: (ge = t.value) == null ? void 0 : ge.range,
@@ -258,24 +258,24 @@ const Tt = /[\d]/, _t = /^\d{2}$/, Rt = /^\d{2}:\d{2}$/, bt = (t) => {
258
258
  }
259
259
  const y = _(() => {
260
260
  var a, s;
261
- return ((s = (a = t == null ? void 0 : t.quickSelectRanges) == null ? void 0 : a.find(({ data: o }) => {
262
- if (!o.endDate)
263
- return Dt(
264
- D(o.startDate),
261
+ return ((s = (a = t == null ? void 0 : t.quickSelectRanges) == null ? void 0 : a.find(({ value: i, data: l }) => {
262
+ if (!l.endDate)
263
+ return i === r.range || Dt(
264
+ D(l.startDate),
265
265
  D(r.startDate)
266
266
  ) && mt(r.endDate);
267
267
  if (t.allowTimeInput)
268
268
  return Se(
269
- D(o.startDate),
269
+ D(l.startDate),
270
270
  D(r.startDate)
271
- ) && Se(D(o.endDate), D(r.endDate));
272
- if (o.endDate)
273
- return Y(o.startDate, r.startDate) && Y(o.endDate, r.endDate);
271
+ ) && Se(D(l.endDate), D(r.endDate));
272
+ if (l.endDate)
273
+ return Y(l.startDate, r.startDate) && Y(l.endDate, r.endDate);
274
274
  })) == null ? void 0 : s.value) ?? Me;
275
275
  }), J = _(() => ({
276
276
  "b-date-range-picker-calendar__form-input-wrapper": t.allowTimeInput
277
277
  })), ee = _(() => [
278
- { label: u("customRange"), value: Me },
278
+ { label: d("customRange"), value: Me },
279
279
  ...R.value ? R.value : []
280
280
  ]), v = _(
281
281
  () => {
@@ -285,10 +285,10 @@ const Tt = /[\d]/, _t = /^\d{2}$/, Rt = /^\d{2}:\d{2}$/, bt = (t) => {
285
285
  ), $ = _(
286
286
  () => {
287
287
  var a;
288
- return ((a = t.granularities) == null ? void 0 : a.map(({ type: s, disabled: o }) => ({
289
- label: u(s),
288
+ return ((a = t.granularities) == null ? void 0 : a.map(({ type: s, disabled: i }) => ({
289
+ label: d(s),
290
290
  value: s,
291
- disabled: o
291
+ disabled: i
292
292
  }))) ?? [];
293
293
  }
294
294
  ), R = _(
@@ -309,11 +309,11 @@ const Tt = /[\d]/, _t = /^\d{2}$/, Rt = /^\d{2}:\d{2}$/, bt = (t) => {
309
309
  adjustEndDateInputForWeekly: Q,
310
310
  adjustStartDateInputForMonthly: C,
311
311
  adjustEndDateInputForMonthly: ie
312
- } = et(t.firstDayOfWeek), { savedRanges: I, saveRange: te, resetSavedRanges: h } = yt(), T = (a) => a ? Z(a, b.NUMERIC_DATE_YEAR_FIRST, {
313
- locale: f[l.value.substring(0, 2)] || f.enUS
314
- }) : "", H = (a) => a ? Z(a, b.HOUR_MINUTE_SECONDS, {
315
- locale: f[l.value.substring(0, 2)] || f.enUS
316
- }) : "", A = S(!1), x = S(!1), P = S(!1), B = S(!1), i = se({
312
+ } = Ze(t.firstDayOfWeek), { savedRanges: k, saveRange: te, resetSavedRanges: h } = yt(), T = (a) => a ? Z(a, I.NUMERIC_DATE_YEAR_FIRST, {
313
+ locale: f[u.value.substring(0, 2)] || f.enUS
314
+ }) : "", H = (a) => a ? Z(a, I.HOUR_MINUTE_SECONDS, {
315
+ locale: f[u.value.substring(0, 2)] || f.enUS
316
+ }) : "", A = S(!1), x = S(!1), P = S(!1), B = S(!1), o = se({
317
317
  startDate: t.dateFormData.startDate,
318
318
  endDate: t.dateFormData.endDate,
319
319
  startTime: t.dateFormData.startTime,
@@ -321,16 +321,16 @@ const Tt = /[\d]/, _t = /^\d{2}$/, Rt = /^\d{2}:\d{2}$/, bt = (t) => {
321
321
  }), ae = (a) => /^(?:[01]\d|2[01234]):(?:[012345]\d):(?:[012345]\d)$/.test(a), M = (a, s) => {
322
322
  if (!s || !ae(s))
323
323
  return a;
324
- let o = new Date(a);
325
- const [d, k, N] = s.split(":");
326
- return o = ft(o, parseInt(d, 10)), o = pt(o, parseInt(k, 10)), o = vt(o, parseInt(N, 10)), o;
324
+ let i = new Date(a);
325
+ const [l, b, N] = s.split(":");
326
+ return i = ft(i, parseInt(l, 10)), i = pt(i, parseInt(b, 10)), i = vt(i, parseInt(N, 10)), i;
327
327
  }, fe = (a) => {
328
- r.startDate = M(a.startDate, i.startTime), r.endDate = M(a.endDate, i.endTime), t.granularities && h(), e(p.INPUT, {
328
+ r.startDate = M(a.startDate, o.startTime), r.endDate = M(a.endDate, o.endTime), r.range = null, t.granularities && h(), e(p.INPUT, {
329
329
  ...r,
330
330
  range: y.value
331
331
  });
332
332
  }, c = (a) => {
333
- const s = (d) => t.min && d <= t.min || t.max && d >= t.max ? !1 : t.isDateDisabled ? !t.isDateDisabled(d) : !0;
333
+ const s = (l) => t.min && l <= t.min || t.max && l >= t.max ? !1 : t.isDateDisabled ? !t.isDateDisabled(l) : !0;
334
334
  return /^\d{4}-(0?[1-9]|1[012])-(0?[1-9]|[12][0-9]|3[01])$/.test(a) && s(new Date(a));
335
335
  };
336
336
  Ce(() => {
@@ -338,10 +338,10 @@ const Tt = /[\d]/, _t = /^\d{2}$/, Rt = /^\d{2}:\d{2}$/, bt = (t) => {
338
338
  });
339
339
  const O = (a) => {
340
340
  var s;
341
- i.startDate = T(a), i.startTime ? P.value && (i.startTime = (s = t.dateFormData) == null ? void 0 : s.startTime) : i.startTime = H(a), A.value = !1, P.value = !1, e(p.START_DATE_SELECTED, a);
341
+ o.startDate = T(a), o.startTime ? P.value && (o.startTime = (s = t.dateFormData) == null ? void 0 : s.startTime) : o.startTime = H(a), A.value = !1, P.value = !1, e(p.START_DATE_SELECTED, a);
342
342
  }, W = (a) => {
343
343
  var s;
344
- i.endDate = T(a), i.endTime ? B.value && (i.endTime = (s = t.dateFormData) == null ? void 0 : s.endTime) : i.endTime = H(F(a)), x.value = !1, B.value = !1;
344
+ o.endDate = T(a), o.endTime ? B.value && (o.endTime = (s = t.dateFormData) == null ? void 0 : s.endTime) : o.endTime = H(F(a)), x.value = !1, B.value = !1;
345
345
  }, j = (a) => {
346
346
  const s = t.value[a];
347
347
  if (s)
@@ -351,77 +351,77 @@ const Tt = /[\d]/, _t = /^\d{2}$/, Rt = /^\d{2}:\d{2}$/, bt = (t) => {
351
351
  }, Fe = ne((a) => {
352
352
  var s;
353
353
  if (c(a)) {
354
- let o = a;
354
+ let i = a;
355
355
  switch (A.value = !1, (s = v.value) == null ? void 0 : s.type) {
356
356
  case "weekly":
357
- o = g(
357
+ i = g(
358
358
  a,
359
359
  T,
360
360
  m.value.min,
361
361
  m.value.max
362
- ), i.startDate = o;
362
+ ), o.startDate = i;
363
363
  break;
364
364
  case "monthly":
365
- o = C(
365
+ i = C(
366
366
  a,
367
367
  T,
368
368
  m.value.min,
369
369
  m.value.max
370
- ), i.startDate = o;
370
+ ), o.startDate = i;
371
371
  break;
372
372
  }
373
- const d = oe(o);
374
- r.startDate = M(d, i.startTime);
375
- const k = j("endDate");
373
+ const l = oe(i);
374
+ r.startDate = M(l, o.startTime);
375
+ const b = j("endDate");
376
376
  e(p.FORM_DATE, {
377
- startDate: d,
378
- endDate: k
377
+ startDate: l,
378
+ endDate: b
379
379
  }), e(p.INPUT, {
380
380
  ...r,
381
381
  range: y.value
382
382
  });
383
383
  } else
384
- A.value = !0, e(p.ERROR, { ...i });
384
+ A.value = !0, e(p.ERROR, { ...o });
385
385
  }, he), Ue = (a) => {
386
- i.startDate = be(a), Fe(i.startDate);
386
+ o.startDate = be(a), Fe(o.startDate);
387
387
  }, Pe = ne((a) => {
388
388
  var s;
389
389
  if (c(a)) {
390
- let o = a;
390
+ let i = a;
391
391
  switch (x.value = !1, (s = v.value) == null ? void 0 : s.type) {
392
392
  case "weekly":
393
- o = Q(
393
+ i = Q(
394
394
  a,
395
395
  T,
396
396
  m.value.min,
397
397
  m.value.max
398
- ), i.endDate = o;
398
+ ), o.endDate = i;
399
399
  break;
400
400
  case "monthly":
401
- o = ie(
401
+ i = ie(
402
402
  a,
403
403
  T,
404
404
  m.value.min,
405
405
  m.value.max
406
- ), i.endDate = o;
406
+ ), o.endDate = i;
407
407
  break;
408
408
  }
409
- const d = oe(o);
410
- r.endDate = M(d, i.endTime);
411
- const k = j("startDate");
409
+ const l = oe(i);
410
+ r.endDate = M(l, o.endTime);
411
+ const b = j("startDate");
412
412
  e(p.FORM_DATE, {
413
- startDate: k,
414
- endDate: d
413
+ startDate: b,
414
+ endDate: l
415
415
  }), e(p.INPUT, {
416
416
  ...r,
417
417
  range: y.value
418
418
  });
419
419
  } else
420
- x.value = !0, e(p.ERROR, { ...i });
420
+ x.value = !0, e(p.ERROR, { ...o });
421
421
  }, he), Be = (a) => {
422
- i.endDate = be(a), Pe(i.endDate);
422
+ o.endDate = be(a), Pe(o.endDate);
423
423
  }, Ne = (a) => {
424
- tt(a);
424
+ et(a);
425
425
  }, Le = ne((a) => {
426
426
  if (ae(a)) {
427
427
  P.value = !1, r.startDate = M(r.startDate, a);
@@ -436,7 +436,7 @@ const Tt = /[\d]/, _t = /^\d{2}$/, Rt = /^\d{2}:\d{2}$/, bt = (t) => {
436
436
  range: y.value
437
437
  });
438
438
  } else
439
- P.value = !0, e(p.ERROR, { ...i });
439
+ P.value = !0, e(p.ERROR, { ...o });
440
440
  }), Ye = ne((a) => {
441
441
  if (ae(a)) {
442
442
  B.value = !1, r.endDate = M(r.endDate, a);
@@ -451,25 +451,25 @@ const Tt = /[\d]/, _t = /^\d{2}$/, Rt = /^\d{2}:\d{2}$/, bt = (t) => {
451
451
  range: y.value
452
452
  });
453
453
  } else
454
- B.value = !0, e(p.ERROR, { ...i });
454
+ B.value = !0, e(p.ERROR, { ...o });
455
455
  }), Ve = (a) => {
456
- i.startTime = Ee(a), Le(i.startTime);
456
+ o.startTime = Ee(a), Le(o.startTime);
457
457
  }, $e = (a) => {
458
- i.endTime = Ee(a), Ye(i.endTime);
458
+ o.endTime = Ee(a), Ye(o.endTime);
459
459
  }, Ge = (a) => {
460
460
  bt(a);
461
- }, q = (a, s, o, d) => {
462
- r.startDate = a, r.endDate = s, o && (r.granularity = o), d && (r.range = d);
461
+ }, q = (a, s, i, l) => {
462
+ r.startDate = a, r.endDate = s, i && (r.granularity = i), l && (r.range = l);
463
463
  }, He = (a) => {
464
- var o;
465
- const s = (o = R.value) == null ? void 0 : o.find(({ value: d }) => d === a);
464
+ var i;
465
+ const s = (i = R.value) == null ? void 0 : i.find(({ value: l }) => l === a);
466
466
  if (s) {
467
467
  h();
468
- const d = s.data, k = d.endDate || new Date(Date.now()), N = d.timeDifference ? new Date(k.getTime() - d.timeDifference) : d.startDate;
469
- i.endDate = T(k), i.startDate = T(N), q(N, k, null, a), t.granularities && (r.granularity = d.granularity || Oe), i.startTime || (i.startTime = H(F(N))), i.endTime || (i.endTime = H(F(k))), r.startDate = N, r.endDate = k, e(p.CUSTOM_RANGE, {
468
+ const l = s.data, b = l.endDate || new Date(Date.now()), N = l.timeDifference ? new Date(b.getTime() - l.timeDifference) : l.startDate;
469
+ o.endDate = T(b), o.startDate = T(N), q(N, b, null, a), t.granularities && (r.granularity = l.granularity || Oe), o.startTime || (o.startTime = H(F(N))), o.endTime || (o.endTime = H(F(b))), r.startDate = N, r.endDate = b, e(p.CUSTOM_RANGE, {
470
470
  ...s.data,
471
471
  startDate: N,
472
- endDate: k,
472
+ endDate: b,
473
473
  range: s.value
474
474
  });
475
475
  }
@@ -478,38 +478,38 @@ const Tt = /[\d]/, _t = /^\d{2}$/, Rt = /^\d{2}:\d{2}$/, bt = (t) => {
478
478
  if (r.granularity = a, s && te(s, structuredClone(de(r))), r.startDate && r.endDate) {
479
479
  switch (a) {
480
480
  case "monthly": {
481
- if (I.monthly) {
482
- q(I.monthly.startDate, I.monthly.endDate, a);
481
+ if (k.monthly) {
482
+ q(k.monthly.startDate, k.monthly.endDate, a);
483
483
  break;
484
484
  }
485
- const { startDate: o, endDate: d } = U(
485
+ const { startDate: i, endDate: l } = U(
486
486
  r.startDate,
487
487
  r.endDate,
488
488
  m.value.min,
489
489
  m.value.max
490
490
  );
491
- q(o, d, a);
491
+ q(i, l, a);
492
492
  break;
493
493
  }
494
494
  case "weekly": {
495
- if (I.weekly) {
496
- q(I.weekly.startDate, I.weekly.endDate, a);
495
+ if (k.weekly) {
496
+ q(k.weekly.startDate, k.weekly.endDate, a);
497
497
  break;
498
498
  }
499
- const { startDate: o, endDate: d } = E(
499
+ const { startDate: i, endDate: l } = E(
500
500
  r.startDate,
501
501
  r.endDate,
502
502
  m.value.min,
503
503
  m.value.max
504
504
  );
505
- q(o, d, a);
505
+ q(i, l, a);
506
506
  break;
507
507
  }
508
508
  case "daily":
509
- I.daily && q(I.daily.startDate, I.daily.endDate, a);
509
+ k.daily && q(k.daily.startDate, k.daily.endDate, a);
510
510
  break;
511
511
  }
512
- i.startDate = T(r.startDate), i.endDate = T(r.endDate), e(p.INPUT, {
512
+ o.startDate = T(r.startDate), o.endDate = T(r.endDate), e(p.INPUT, {
513
513
  ...r,
514
514
  range: y.value
515
515
  });
@@ -518,7 +518,7 @@ const Tt = /[\d]/, _t = /^\d{2}$/, Rt = /^\d{2}:\d{2}$/, bt = (t) => {
518
518
  return {
519
519
  // Values
520
520
  internalRangeDate: r,
521
- dateTextInput: i,
521
+ dateTextInput: o,
522
522
  endDateError: x,
523
523
  endTimeError: B,
524
524
  granularityItems: $,
@@ -531,8 +531,8 @@ const Tt = /[\d]/, _t = /^\d{2}$/, Rt = /^\d{2}:\d{2}$/, bt = (t) => {
531
531
  quickSelectRangeDefaultItems: ee,
532
532
  formInputWrapperConditionalClasses: J,
533
533
  // Methods
534
- hasSlot: ot(n),
535
- t: u,
534
+ hasSlot: st(n),
535
+ t: d,
536
536
  // Events
537
537
  onDateInput: fe,
538
538
  onDateInputKeyDown: Ne,
@@ -565,7 +565,7 @@ var St = function() {
565
565
  Et,
566
566
  !1,
567
567
  null,
568
- "b0881d37"
568
+ "8f0cabe9"
569
569
  );
570
570
  const w = ht.exports, Mt = ({
571
571
  datePickerValue: t,
@@ -573,13 +573,13 @@ const w = ht.exports, Mt = ({
573
573
  quickSelectRanges: n
574
574
  }) => {
575
575
  var v, $, R, G;
576
- const { locale: l, t: u } = De(), f = ce(), r = (m) => !!m && !isNaN(m.getTime()), D = (m, U) => r(m) ? Z(m, U, {
577
- locale: f[l.value.substring(0, 2)] || f.enUS
576
+ const { locale: u, t: d } = De(), f = ce(), r = (m) => !!m && !isNaN(m.getTime()), D = (m, U) => r(m) ? Z(m, U, {
577
+ locale: f[u.value.substring(0, 2)] || f.enUS
578
578
  }) : void 0, y = se({
579
- startDate: D((v = t.value) == null ? void 0 : v.startDate, b.NUMERIC_DATE_YEAR_FIRST),
580
- endDate: D(($ = t.value) == null ? void 0 : $.endDate, b.NUMERIC_DATE_YEAR_FIRST),
581
- startTime: D((R = t.value) == null ? void 0 : R.startDate, b.HOUR_MINUTE_SECONDS),
582
- endTime: D((G = t.value) == null ? void 0 : G.endDate, b.HOUR_MINUTE_SECONDS)
579
+ startDate: D((v = t.value) == null ? void 0 : v.startDate, I.NUMERIC_DATE_YEAR_FIRST),
580
+ endDate: D(($ = t.value) == null ? void 0 : $.endDate, I.NUMERIC_DATE_YEAR_FIRST),
581
+ startTime: D((R = t.value) == null ? void 0 : R.startDate, I.HOUR_MINUTE_SECONDS),
582
+ endTime: D((G = t.value) == null ? void 0 : G.endDate, I.HOUR_MINUTE_SECONDS)
583
583
  });
584
584
  return {
585
585
  // Values
@@ -588,7 +588,7 @@ const w = ht.exports, Mt = ({
588
588
  if (e.value)
589
589
  return `${y.startDate || ""} - ${y.endDate || ""}`;
590
590
  if (!t.value || !t.value.startDate && !t.value.endDate)
591
- return u("selectDateRange");
591
+ return d("selectDateRange");
592
592
  if ((E = n.value) != null && E.length) {
593
593
  const g = n.value.find(({ value: Q }) => {
594
594
  var C;
@@ -598,9 +598,9 @@ const w = ht.exports, Mt = ({
598
598
  return g.label;
599
599
  }
600
600
  const { startDate: m, endDate: U } = y;
601
- return `${D(oe(m), b.FULL_DATE_MONTH_FIRST)} - ${D(
601
+ return `${D(oe(m), I.FULL_DATE_MONTH_FIRST)} - ${D(
602
602
  oe(U),
603
- b.FULL_DATE_MONTH_FIRST
603
+ I.FULL_DATE_MONTH_FIRST
604
604
  )}`;
605
605
  }),
606
606
  textInputDisplayValue: y,
@@ -638,7 +638,7 @@ const Ot = {
638
638
  BentoTypography: Ae,
639
639
  BentoPopover: qe,
640
640
  DateRangePickerCalendar: w,
641
- DropdownInputDefault: ze,
641
+ DropdownInputDefault: ot,
642
642
  ErrorMessage: ut,
643
643
  FieldLabel: lt
644
644
  },
@@ -738,9 +738,9 @@ const Ot = {
738
738
  },
739
739
  emits: [re.INPUT],
740
740
  setup(t, { emit: e }) {
741
- const { locale: n, t: l } = De(), u = ce(), f = X("bento-date-range-picker-container"), r = X("bento-date-range-picker-label"), D = X("bento-date-range-picker-description"), y = X("bento-date-range-picker-error"), J = X("bento-date-range-picker-date-error"), ee = _(
742
- () => t.label || l("dateRangePicker", { name: f })
743
- ), v = S(!1), $ = S(null), R = S(!1), { isReadOnly: G } = at(le(t, "readonly"));
741
+ const { locale: n, t: u } = De(), d = ce(), f = X("bento-date-range-picker-container"), r = X("bento-date-range-picker-label"), D = X("bento-date-range-picker-description"), y = X("bento-date-range-picker-error"), J = X("bento-date-range-picker-date-error"), ee = _(
742
+ () => t.label || u("dateRangePicker", { name: f })
743
+ ), v = S(!1), $ = S(null), R = S(!1), { isReadOnly: G } = tt(le(t, "readonly"));
744
744
  ue(
745
745
  () => t.disabled,
746
746
  () => {
@@ -759,13 +759,13 @@ const Ot = {
759
759
  R.value = !1;
760
760
  }, ie = () => {
761
761
  R.value = !0;
762
- }, I = S(E.value), te = S(
762
+ }, k = S(E.value), te = S(
763
763
  // textInputDisplayValue is a reactive object
764
764
  structuredClone(de(g))
765
765
  ), h = S(t.value), T = S(!0), H = _(
766
766
  () => t.hasActions ? te.value : g
767
767
  ), A = _(
768
- () => t.hasActions ? I.value : E.value
768
+ () => t.hasActions ? k.value : E.value
769
769
  );
770
770
  Ce(() => {
771
771
  t.hasActions || Ke(
@@ -777,19 +777,19 @@ const Ot = {
777
777
  }), ue(
778
778
  () => t.value,
779
779
  () => {
780
- I.value = E.value, te.value = structuredClone(de(g));
780
+ k.value = E.value, te.value = structuredClone(de(g));
781
781
  }
782
782
  );
783
783
  const x = _(() => [
784
784
  {
785
- title: l("apply"),
785
+ title: u("apply"),
786
786
  event: () => {
787
787
  e(re.INPUT, h.value), C(), T.value = !0;
788
788
  },
789
789
  disabled: T.value
790
790
  },
791
791
  {
792
- title: l("cancel"),
792
+ title: u("cancel"),
793
793
  event: C
794
794
  }
795
795
  ]);
@@ -829,8 +829,8 @@ const Ot = {
829
829
  openDateRangePicker: ie,
830
830
  onRangeSelectorInput: (c) => {
831
831
  if (c) {
832
- const O = (W) => Z(W, b.NUMERIC_DATE_YEAR_FIRST, {
833
- locale: u[n.value.substring(0, 2)] || u.enUS
832
+ const O = (W) => Z(W, I.NUMERIC_DATE_YEAR_FIRST, {
833
+ locale: d[n.value.substring(0, 2)] || d.enUS
834
834
  });
835
835
  g.startDate = O(c.startDate), g.endDate = O(c.endDate), h.value = c;
836
836
  }
@@ -841,12 +841,12 @@ const Ot = {
841
841
  onDateRangePickerInput: (c) => {
842
842
  v.value = !1;
843
843
  const O = (W, j) => W ? Z(W, j, {
844
- locale: u[n.value.substring(0, 2)] || u.enUS
844
+ locale: d[n.value.substring(0, 2)] || d.enUS
845
845
  }) : void 0;
846
846
  g.startDate = O(
847
847
  c.startDate,
848
- b.NUMERIC_DATE_YEAR_FIRST
849
- ), g.endDate = O(c.endDate, b.NUMERIC_DATE_YEAR_FIRST), g.startTime = O(c.startDate, b.HOUR_MINUTE_SECONDS), g.endTime = O(c.endDate, b.HOUR_MINUTE_SECONDS), h.value = c;
848
+ I.NUMERIC_DATE_YEAR_FIRST
849
+ ), g.endDate = O(c.endDate, I.NUMERIC_DATE_YEAR_FIRST), g.startTime = O(c.startDate, I.HOUR_MINUTE_SECONDS), g.endTime = O(c.endDate, I.HOUR_MINUTE_SECONDS), h.value = c;
850
850
  },
851
851
  onDateRangePickerError: (c) => {
852
852
  v.value = !0, g.startDate = c.startDate, g.endDate = c.endDate, h.value = { startDate: null, endDate: null };
@@ -855,14 +855,14 @@ const Ot = {
855
855
  v.value = !1, c.startTime && (g.startTime = c.startTime), c.endTime && (g.endTime = c.endTime);
856
856
  },
857
857
  // Translations
858
- t: l
858
+ t: u
859
859
  };
860
860
  }
861
861
  });
862
862
  var Ct = function() {
863
863
  var e = this, n = e._self._c;
864
- return e._self._setupProxy, n("div", { directives: [{ name: "bento-click-outside-directive", rawName: "v-bento-click-outside-directive", value: e.closeDateRangePicker, expression: "closeDateRangePicker" }], staticClass: "b-date-range-picker" }, [e.label ? n("field-label", { attrs: { id: e.labelId, label: e.label, "tooltip-text": e.tooltipText, optional: e.optional, required: e.required } }) : e._e(), n("div", { on: { keydown: function(l) {
865
- return !l.type.indexOf("key") && e._k(l.keyCode, "enter", 13, l.key, "Enter") ? null : e.onEnterPressedOverInput.apply(null, arguments);
864
+ return e._self._setupProxy, n("div", { directives: [{ name: "bento-click-outside-directive", rawName: "v-bento-click-outside-directive", value: e.closeDateRangePicker, expression: "closeDateRangePicker" }], staticClass: "b-date-range-picker" }, [e.label ? n("field-label", { attrs: { id: e.labelId, label: e.label, "tooltip-text": e.tooltipText, optional: e.optional, required: e.required } }) : e._e(), n("div", { on: { keydown: function(u) {
865
+ return !u.type.indexOf("key") && e._k(u.keyCode, "enter", 13, u.key, "Enter") ? null : e.onEnterPressedOverInput.apply(null, arguments);
866
866
  } } }, [n("dropdown-input-default", { ref: "inputContainerRef", attrs: { "always-combobox-is-input": "", ariaControls: e.datePickerContainerId, ariaExpanded: e.isDateRangePickerOpen, "aria-labelledby": e.label ? e.labelId : null, "aria-describedby": e.ariaDescribedBy, disabled: e.disabled, "is-invalid": !!e.errorMessage || e.shouldDisplayError, open: e.isDateRangePickerOpen, "display-value": e.displayedDateValue, readonly: e.isReadOnly }, on: { open: e.openDateRangePicker, clear: e.clearDateRangePickerValue, close: e.closeDateRangePicker } })], 1), e.shouldDisplayError ? n("error-message", { staticClass: "b-date-range-picker__error-message", attrs: { id: e.dateErrorId, "error-message": e.t("provideDateInAFormat") } }) : e._e(), e.errorMessage ? n("error-message", { staticClass: "b-date-range-picker__error-message", attrs: { id: e.errorId, "error-message": e.errorMessage } }) : e._e(), e.description ? n("bento-typography", { staticClass: "b-date-range-picker__description", class: e.descriptionConditionalClasses, attrs: { id: e.descriptionId, el: "span" } }, [e._v(" " + e._s(e.description) + " ")]) : e._e(), e.inputContainerRef ? n("bento-popover", { staticClass: "b-date-range-picker__container", attrs: { id: e.datePickerContainerId, open: e.isDateRangePickerOpen, "target-element": e.inputContainerRef, "disable-focus-trap": !0, "aria-label": e.popoverAriaLabel, position: "bottom-start", "without-space": "", "fit-content": "" } }, [n("date-range-picker-calendar", { attrs: { "allow-time-input": e.allowTimeInput, "quick-select-ranges": e.quickSelectRanges, value: e.value, "first-day-of-week": e.firstDayOfWeek, granularities: e.granularities, "is-date-disabled": e.isDateDisabled, "max-range": e.maxRange, min: e.min, max: e.max, "number-of-months": e.numberOfMonths, "show-end-date-on-open": e.showEndDateOnOpen, "date-form-data": e.displayedTextInputValue }, on: { "custom-range": e.onRangeSelectorInput, input: e.onDateRangePickerInput, error: e.onDateRangePickerError, "form-date": e.onDateRangePickerFormDateInputUpdate }, scopedSlots: e._u([e.hasActions ? { key: "actions", fn: function() {
867
867
  return [n("bento-divider"), n("div", { staticClass: "b-date-range-picker__footer" }, [n("bento-button-actions", { attrs: { actions: e.rangePickerButtonActions, layout: e.BentoButtonActionsLayout.SPACE_BETWEEN } })], 1)];
868
868
  }, proxy: !0 } : null], null, !0) })], 1) : e._e()], 1);
@@ -879,6 +879,7 @@ export {
879
879
  ra as B,
880
880
  w as D,
881
881
  re as a,
882
+ mt as b,
882
883
  Dt as i
883
884
  };
884
- //# sourceMappingURL=date-range-picker.dcQRDNS7.js.map
885
+ //# sourceMappingURL=date-range-picker.Jysfo6h3.js.map