@adyen/bento-vue3 1.34.0 → 1.35.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 (282) hide show
  1. package/dist/@types/packages/vue2/src/components/checkbox/checkbox.vue.d.ts +1 -1
  2. package/dist/@types/packages/vue2/src/components/checkbox/components/checkbox-group/checkbox-group.vue.d.ts +1 -1
  3. package/dist/@types/packages/vue2/src/components/code-snippet/code-snippet.vue.d.ts +1 -1
  4. package/dist/@types/packages/vue2/src/components/data-grid/components/data-grid-config-settings/data-grid-config-settings.vue.d.ts +1 -1
  5. package/dist/@types/packages/vue2/src/components/dropdown/composables/use-display-value.d.ts +1 -1
  6. package/dist/@types/packages/vue2/src/components/dropdown/composables/use-display-value.types.d.ts +1 -0
  7. package/dist/@types/packages/vue2/src/components/filter-bar/components/select-filter/variants/select-avatar-filter/select-avatar-filter.vue.d.ts +7 -7
  8. package/dist/@types/packages/vue2/src/components/filter-bar/components/select-filter/variants/select-country-filter/select-country-filter.vue.d.ts +1 -1
  9. package/dist/@types/packages/vue2/src/components/filter-bar/components/select-filter/variants/select-currency-filter/select-currency-filter.vue.d.ts +7 -7
  10. package/dist/@types/packages/vue2/src/components/filter-bar/components/select-filter/variants/select-payment-method-filter/select-payment-method-filter.vue.d.ts +7 -7
  11. package/dist/@types/packages/vue2/src/components/filter-bar/components/select-filter/variants/select-tag-filter/select-tag-filter.vue.d.ts +7 -7
  12. package/dist/@types/packages/vue2/src/components/internal/listbox/components/listbox-multi-select/components/listbox-multi-select-options/components/listbox-multi-select-category/listbox-multi-select-category.vue.d.ts +1 -1
  13. package/dist/@types/packages/vue2/src/components/internal/listbox/components/listbox-multi-select/components/listbox-multi-select-options/listbox-multi-select-options.vue.d.ts +2 -2
  14. package/dist/@types/packages/vue2/src/components/internal/listbox/components/listbox-multi-select/listbox-multi-select.vue.d.ts +3 -3
  15. package/dist/@types/packages/vue2/src/components/internal/listbox/listbox.vue.d.ts +3 -3
  16. package/dist/@types/packages/vue2/src/utils/ts/get-date-locale/get-date-locale.d.ts +11 -0
  17. package/dist/accordion.js +1 -1
  18. package/dist/action-bar.js +1 -1
  19. package/dist/alert.js +1 -1
  20. package/dist/assets/accordion-item.css +1 -1
  21. package/dist/assets/action-bar.css +1 -1
  22. package/dist/assets/alert.css +1 -1
  23. package/dist/assets/avatar.css +1 -1
  24. package/dist/assets/base-modal.css +1 -1
  25. package/dist/assets/calendar.css +1 -1
  26. package/dist/assets/card.css +1 -1
  27. package/dist/assets/checkbox-input.css +1 -1
  28. package/dist/assets/checkbox.css +1 -1
  29. package/dist/assets/code-snippet.css +1 -1
  30. package/dist/assets/copy.css +1 -1
  31. package/dist/assets/currency.css +1 -0
  32. package/dist/assets/data-grid.css +1 -1
  33. package/dist/assets/date-range-picker.css +1 -1
  34. package/dist/assets/dialog-page.css +1 -1
  35. package/dist/assets/dropdown.css +1 -1
  36. package/dist/assets/error-message.css +1 -1
  37. package/dist/assets/filter-bar.css +1 -1
  38. package/dist/assets/header.css +1 -1
  39. package/dist/assets/inspector.css +1 -1
  40. package/dist/assets/loading-button.css +1 -1
  41. package/dist/assets/menu.css +1 -1
  42. package/dist/assets/modal-fullscreen.css +1 -1
  43. package/dist/assets/pagination.css +1 -1
  44. package/dist/assets/popover.css +1 -1
  45. package/dist/assets/sidepanel.css +1 -1
  46. package/dist/assets/step.css +1 -1
  47. package/dist/assets/structured-list-item.css +1 -1
  48. package/dist/assets/timeline-item.css +1 -1
  49. package/dist/assets/tutorial.css +1 -1
  50. package/dist/assets/use-cached-selected-values.css +1 -1
  51. package/dist/avatar.js +1 -1
  52. package/dist/button.js +2 -2
  53. package/dist/card.js +1 -1
  54. package/dist/checkbox.js +3 -3
  55. package/dist/chunks/accordion-item.4Cnn47v_.js +142 -0
  56. package/dist/chunks/accordion-item.4Cnn47v_.js.map +1 -0
  57. package/dist/chunks/{action-bar.DGQYYi8b.js → action-bar.BYMas_1s.js} +58 -44
  58. package/dist/chunks/{action-bar.DGQYYi8b.js.map → action-bar.BYMas_1s.js.map} +1 -1
  59. package/dist/chunks/{alert.Bz4tNKDH.js → alert.B_GZON9f.js} +30 -23
  60. package/dist/chunks/alert.B_GZON9f.js.map +1 -0
  61. package/dist/chunks/{avatar.mNlMngHQ.js → avatar.8erKxh8t.js} +13 -13
  62. package/dist/chunks/avatar.8erKxh8t.js.map +1 -0
  63. package/dist/chunks/{base-modal.Bl7DBkt0.js → base-modal.BbiSFAn1.js} +37 -31
  64. package/dist/chunks/{base-modal.Bl7DBkt0.js.map → base-modal.BbiSFAn1.js.map} +1 -1
  65. package/dist/chunks/{button-actions-with-menu.BLmcwr2f.js → button-actions-with-menu.0ypQxYbM.js} +4 -4
  66. package/dist/chunks/{button-actions-with-menu.BLmcwr2f.js.map → button-actions-with-menu.0ypQxYbM.js.map} +1 -1
  67. package/dist/chunks/{button-actions.hdK5IgrZ.js → button-actions.DcvU9vMt.js} +2 -2
  68. package/dist/chunks/{button-actions.hdK5IgrZ.js.map → button-actions.DcvU9vMt.js.map} +1 -1
  69. package/dist/chunks/{calendar.D--sOCBT.js → calendar.BPatBsD5.js} +148 -148
  70. package/dist/chunks/calendar.BPatBsD5.js.map +1 -0
  71. package/dist/chunks/{card.BvSoujBc.js → card.B7AyQI7f.js} +46 -38
  72. package/dist/chunks/card.B7AyQI7f.js.map +1 -0
  73. package/dist/chunks/{checkbox-group.CuLP3hPd.js → checkbox-group.BJM2i93S.js} +4 -4
  74. package/dist/chunks/{checkbox-group.CuLP3hPd.js.map → checkbox-group.BJM2i93S.js.map} +1 -1
  75. package/dist/chunks/{checkbox-input.JdcvpfTa.js → checkbox-input.YgPBRaZP.js} +12 -11
  76. package/dist/chunks/checkbox-input.YgPBRaZP.js.map +1 -0
  77. package/dist/chunks/{checkbox.DMMXn-h8.js → checkbox.BnYx06nC.js} +50 -40
  78. package/dist/chunks/{checkbox.DMMXn-h8.js.map → checkbox.BnYx06nC.js.map} +1 -1
  79. package/dist/chunks/{checkmark-circle-fill.ChV7Jy6r.js → checkmark-circle-fill.Bgdq29pu.js} +4 -4
  80. package/dist/chunks/checkmark-circle-fill.Bgdq29pu.js.map +1 -0
  81. package/dist/chunks/{checkmark-small.DEc2T64_.js → checkmark-small.4DMun1A_.js} +4 -4
  82. package/dist/chunks/checkmark-small.4DMun1A_.js.map +1 -0
  83. package/dist/chunks/{chevron-left.NvV5m76j.js → chevron-left.ChbQxOxi.js} +6 -6
  84. package/dist/chunks/chevron-left.ChbQxOxi.js.map +1 -0
  85. package/dist/chunks/{chevron-up.DQZG_BP3.js → chevron-up.zKonWHVc.js} +6 -6
  86. package/dist/chunks/chevron-up.zKonWHVc.js.map +1 -0
  87. package/dist/chunks/{code-snippet.BWM5w4CP.js → code-snippet.1duYqiRx.js} +98 -89
  88. package/dist/chunks/code-snippet.1duYqiRx.js.map +1 -0
  89. package/dist/chunks/{controls-group.BnZVHgQK.js → controls-group.DmroeX6Q.js} +2 -2
  90. package/dist/chunks/{controls-group.BnZVHgQK.js.map → controls-group.DmroeX6Q.js.map} +1 -1
  91. package/dist/chunks/{copy.h-wVGvID.js → copy.5y12_05v.js} +29 -20
  92. package/dist/chunks/copy.5y12_05v.js.map +1 -0
  93. package/dist/chunks/{cross-circle-fill-small.BXO78Wde.js → cross-circle-fill-small.2_Xjp4id.js} +4 -4
  94. package/dist/chunks/cross-circle-fill-small.2_Xjp4id.js.map +1 -0
  95. package/dist/chunks/{cross-circle-fill.DN5b3_eL.js → cross-circle-fill.CEUPgI5F.js} +4 -4
  96. package/dist/chunks/cross-circle-fill.CEUPgI5F.js.map +1 -0
  97. package/dist/chunks/{cross-small.CXWTuKA_.js → cross-small.DvCEQd10.js} +4 -4
  98. package/dist/chunks/cross-small.DvCEQd10.js.map +1 -0
  99. package/dist/chunks/{cross.OvPfvoqX.js → cross.CowwLfo4.js} +4 -4
  100. package/dist/chunks/cross.CowwLfo4.js.map +1 -0
  101. package/dist/chunks/{currency.CFJy6QYU.js → currency.BdtY-UIM.js} +3 -2
  102. package/dist/chunks/{currency.CFJy6QYU.js.map → currency.BdtY-UIM.js.map} +1 -1
  103. package/dist/chunks/{dashboard-section.BIH2wzgk.js → dashboard-section.BDkYN89r.js} +3 -3
  104. package/dist/chunks/{dashboard-section.BIH2wzgk.js.map → dashboard-section.BDkYN89r.js.map} +1 -1
  105. package/dist/chunks/{dashed-underline.CFJdLuJp.js → dashed-underline.CMKbg0Fq.js} +2 -2
  106. package/dist/chunks/{dashed-underline.CFJdLuJp.js.map → dashed-underline.CMKbg0Fq.js.map} +1 -1
  107. package/dist/chunks/{data-grid-template.21gqdYrs.js → data-grid-template.CydHXTmg.js} +3 -3
  108. package/dist/chunks/{data-grid-template.21gqdYrs.js.map → data-grid-template.CydHXTmg.js.map} +1 -1
  109. package/dist/chunks/{data-grid.DUwLxtW_.js → data-grid.CcGMljDl.js} +585 -538
  110. package/dist/chunks/data-grid.CcGMljDl.js.map +1 -0
  111. package/dist/chunks/{date-picker.21z_Sw4V.js → date-picker.BsXcXOgl.js} +99 -91
  112. package/dist/chunks/date-picker.BsXcXOgl.js.map +1 -0
  113. package/dist/chunks/{date-range-picker.K2TeW8aX.js → date-range-picker.BFm6Udzx.js} +338 -316
  114. package/dist/chunks/date-range-picker.BFm6Udzx.js.map +1 -0
  115. package/dist/chunks/{date.D8rQMzMG.js → date.CYUV4seY.js} +92 -92
  116. package/dist/chunks/{date.D8rQMzMG.js.map → date.CYUV4seY.js.map} +1 -1
  117. package/dist/chunks/{dialog-page.DALFn9KR.js → dialog-page.CjKMgUlz.js} +4 -3
  118. package/dist/chunks/dialog-page.CjKMgUlz.js.map +1 -0
  119. package/dist/chunks/{dropdown-default-textbox.Bu4bpNGU.js → dropdown-default-textbox.BopLaEkG.js} +4 -4
  120. package/dist/chunks/{dropdown-default-textbox.Bu4bpNGU.js.map → dropdown-default-textbox.BopLaEkG.js.map} +1 -1
  121. package/dist/chunks/{dropdown-tag.BNJnscD2.js → dropdown-tag.x3n5-YkA.js} +3 -3
  122. package/dist/chunks/{dropdown-tag.BNJnscD2.js.map → dropdown-tag.x3n5-YkA.js.map} +1 -1
  123. package/dist/chunks/{dropdown.ex87AZ7s.js → dropdown.BxvydNp0.js} +214 -194
  124. package/dist/chunks/dropdown.BxvydNp0.js.map +1 -0
  125. package/dist/chunks/{error-message.D2Y99KjT.js → error-message.CUZgtlDT.js} +44 -30
  126. package/dist/chunks/{error-message.D2Y99KjT.js.map → error-message.CUZgtlDT.js.map} +1 -1
  127. package/dist/chunks/es6.BvpG4Oi6.js.map +1 -1
  128. package/dist/chunks/{expand.CgwNEbbz.js → expand.B5tyMqaF.js} +4 -4
  129. package/dist/chunks/expand.B5tyMqaF.js.map +1 -0
  130. package/dist/chunks/{filter-bar.BAmG-yML.js → filter-bar.re1Tqyai.js} +728 -712
  131. package/dist/chunks/filter-bar.re1Tqyai.js.map +1 -0
  132. package/dist/chunks/{fixed-scroller.DwYB1pqo.js → fixed-scroller.Co0y0kWZ.js} +2 -2
  133. package/dist/chunks/{fixed-scroller.DwYB1pqo.js.map → fixed-scroller.Co0y0kWZ.js.map} +1 -1
  134. package/dist/chunks/{footer-actions.gtxofUAa.js → footer-actions.M83ZEElA.js} +2 -2
  135. package/dist/chunks/{footer-actions.gtxofUAa.js.map → footer-actions.M83ZEElA.js.map} +1 -1
  136. package/dist/chunks/{form-layout-title.Boi0QQZL.js → form-layout-title.ATi1W9uG.js} +2 -2
  137. package/dist/chunks/{form-layout-title.Boi0QQZL.js.map → form-layout-title.ATi1W9uG.js.map} +1 -1
  138. package/dist/chunks/{index.B_UZQ6qF.js → get-date-locale.BN8xEjY0.js} +855 -204
  139. package/dist/chunks/get-date-locale.BN8xEjY0.js.map +1 -0
  140. package/dist/chunks/{header.BMYhkrGT.js → header.CrNceSOd.js} +104 -98
  141. package/dist/chunks/{header.BMYhkrGT.js.map → header.CrNceSOd.js.map} +1 -1
  142. package/dist/chunks/{index.Z84QE0E2.js → index.CrhTVr5J.js} +2 -2
  143. package/dist/chunks/{index.Z84QE0E2.js.map → index.CrhTVr5J.js.map} +1 -1
  144. package/dist/chunks/{index.xqFSZOAb.js → index.DDnf1O9p.js} +2 -2
  145. package/dist/chunks/{index.xqFSZOAb.js.map → index.DDnf1O9p.js.map} +1 -1
  146. package/dist/chunks/{index.B_EJflcs.js → index.DPafeRJa.js} +2 -2
  147. package/dist/chunks/{index.B_EJflcs.js.map → index.DPafeRJa.js.map} +1 -1
  148. package/dist/chunks/{info-icon.DIu8FeJC.js → info-icon.CBiqUH3L.js} +2 -2
  149. package/dist/chunks/{info-icon.DIu8FeJC.js.map → info-icon.CBiqUH3L.js.map} +1 -1
  150. package/dist/chunks/{info.CIFBUqf-.js → info.D6XuLsYR.js} +4 -4
  151. package/dist/chunks/{info.CIFBUqf-.js.map → info.D6XuLsYR.js.map} +1 -1
  152. package/dist/chunks/{input-field.Dely7A8G.js → input-field.foJTqE5i.js} +3 -3
  153. package/dist/chunks/{input-field.Dely7A8G.js.map → input-field.foJTqE5i.js.map} +1 -1
  154. package/dist/chunks/{inspector.types.t2SPyhw3.js → inspector.types.X_7VgZmS.js} +44 -36
  155. package/dist/chunks/{inspector.types.t2SPyhw3.js.map → inspector.types.X_7VgZmS.js.map} +1 -1
  156. package/dist/chunks/link.2YS7haGc.js.map +1 -1
  157. package/dist/chunks/loading-button.BU536EK4.js +137 -0
  158. package/dist/chunks/loading-button.BU536EK4.js.map +1 -0
  159. package/dist/chunks/{menu.CLicp_2I.js → menu.CI4R2iw1.js} +6 -5
  160. package/dist/chunks/menu.CI4R2iw1.js.map +1 -0
  161. package/dist/chunks/{modal-fullscreen.Caqa7dDp.js → modal-fullscreen.B4sPrlfq.js} +37 -31
  162. package/dist/chunks/{modal-fullscreen.Caqa7dDp.js.map → modal-fullscreen.B4sPrlfq.js.map} +1 -1
  163. package/dist/chunks/{modal.vue_vue_type_script_setup_true_lang.Dzmth-oW.js → modal.vue_vue_type_script_setup_true_lang.DuNQ8N4W.js} +31 -25
  164. package/dist/chunks/modal.vue_vue_type_script_setup_true_lang.DuNQ8N4W.js.map +1 -0
  165. package/dist/chunks/{pagination.I5w8bpUS.js → pagination.-1ibfp5g.js} +5 -4
  166. package/dist/chunks/pagination.-1ibfp5g.js.map +1 -0
  167. package/dist/chunks/{popover.DQP3ce2x.js → popover.BN52L17t.js} +3 -3
  168. package/dist/chunks/{popover.DQP3ce2x.js.map → popover.BN52L17t.js.map} +1 -1
  169. package/dist/chunks/{radio-group.lOSBHghv.js → radio-group.RLUDLHPT.js} +3 -3
  170. package/dist/chunks/{radio-group.lOSBHghv.js.map → radio-group.RLUDLHPT.js.map} +1 -1
  171. package/dist/chunks/{refresh.DvQeGwUF.js → refresh.DPE_95xY.js} +4 -4
  172. package/dist/chunks/refresh.DPE_95xY.js.map +1 -0
  173. package/dist/chunks/{search-bar.GCRTgBUA.js → search-bar.CCWTGvJ6.js} +50 -42
  174. package/dist/chunks/{search-bar.GCRTgBUA.js.map → search-bar.CCWTGvJ6.js.map} +1 -1
  175. package/dist/chunks/{search.EnLryD8V.js → search.DJr0124y.js} +4 -4
  176. package/dist/chunks/{search.EnLryD8V.js.map → search.DJr0124y.js.map} +1 -1
  177. package/dist/chunks/{secondary-nav.CGH_6m7u.js → secondary-nav.D81GEGuc.js} +2 -2
  178. package/dist/chunks/{secondary-nav.CGH_6m7u.js.map → secondary-nav.D81GEGuc.js.map} +1 -1
  179. package/dist/chunks/{selection-card-group.BdTuPhEm.js → selection-card-group.3OexUu8G.js} +4 -4
  180. package/dist/chunks/{selection-card-group.BdTuPhEm.js.map → selection-card-group.3OexUu8G.js.map} +1 -1
  181. package/dist/chunks/{sidepanel.DA8nQepj.js → sidepanel.iEewXNIJ.js} +38 -32
  182. package/dist/chunks/{sidepanel.DA8nQepj.js.map → sidepanel.iEewXNIJ.js.map} +1 -1
  183. package/dist/chunks/{step.ClnCjesW.js → step.CyvTQbAk.js} +29 -28
  184. package/dist/chunks/step.CyvTQbAk.js.map +1 -0
  185. package/dist/chunks/{structured-list-item.Z-1ivOFu.js → structured-list-item.DZvCfZuG.js} +36 -30
  186. package/dist/chunks/{structured-list-item.Z-1ivOFu.js.map → structured-list-item.DZvCfZuG.js.map} +1 -1
  187. package/dist/chunks/{summary-grid-item-custom.Dq3IIEvH.js → summary-grid-item-custom.BRXtpB7y.js} +3 -3
  188. package/dist/chunks/{summary-grid-item-custom.Dq3IIEvH.js.map → summary-grid-item-custom.BRXtpB7y.js.map} +1 -1
  189. package/dist/chunks/{tabs.xY_6yqmE.js → tabs.BUPiNLbZ.js} +2 -2
  190. package/dist/chunks/{tabs.xY_6yqmE.js.map → tabs.BUPiNLbZ.js.map} +1 -1
  191. package/dist/chunks/{textarea.kYFGQFwd.js → textarea.Bk8-ivBT.js} +3 -3
  192. package/dist/chunks/{textarea.kYFGQFwd.js.map → textarea.Bk8-ivBT.js.map} +1 -1
  193. package/dist/chunks/{timeline-item.D-Yy2qQr.js → timeline-item.USmzRWfs.js} +84 -77
  194. package/dist/chunks/timeline-item.USmzRWfs.js.map +1 -0
  195. package/dist/chunks/{toast.CIVPmwmU.js → toast.BwPhzM1x.js} +2 -2
  196. package/dist/chunks/{toast.CIVPmwmU.js.map → toast.BwPhzM1x.js.map} +1 -1
  197. package/dist/chunks/{toggle.8t4flh_3.js → toggle.PLkyyLr1.js} +2 -2
  198. package/dist/chunks/{toggle.8t4flh_3.js.map → toggle.PLkyyLr1.js.map} +1 -1
  199. package/dist/chunks/{tutorial.vue_vue_type_script_setup_true_lang.D-ZFDn95.js → tutorial.vue_vue_type_script_setup_true_lang.CoFRoKtq.js} +85 -72
  200. package/dist/chunks/tutorial.vue_vue_type_script_setup_true_lang.CoFRoKtq.js.map +1 -0
  201. package/dist/chunks/{use-cached-selected-values.ClVxNmUf.js → use-cached-selected-values.DditZmZy.js} +92 -77
  202. package/dist/chunks/use-cached-selected-values.DditZmZy.js.map +1 -0
  203. package/dist/chunks/{warning-filled.Dm_HhqzW.js → warning-filled.CKoabS8f.js} +4 -4
  204. package/dist/chunks/{warning-filled.Dm_HhqzW.js.map → warning-filled.CKoabS8f.js.map} +1 -1
  205. package/dist/code-snippet.js +1 -1
  206. package/dist/currency.js +1 -1
  207. package/dist/dashboard-template.js +1 -1
  208. package/dist/dashed-underline.js +1 -1
  209. package/dist/data-grid-template.js +1 -1
  210. package/dist/data-grid.js +1 -1
  211. package/dist/date-picker.js +2 -2
  212. package/dist/date-range-picker.js +2 -2
  213. package/dist/date.js +1 -1
  214. package/dist/dropdown.js +4 -4
  215. package/dist/filter-bar.js +1 -1
  216. package/dist/form-layout.js +1 -1
  217. package/dist/header.js +1 -1
  218. package/dist/index.js +50 -50
  219. package/dist/info-icon.js +1 -1
  220. package/dist/input-field.js +1 -1
  221. package/dist/inspector.js +1 -1
  222. package/dist/internal.js +7 -7
  223. package/dist/menu.js +1 -1
  224. package/dist/modal-fullscreen.js +1 -1
  225. package/dist/modal.js +2 -2
  226. package/dist/pagination.js +1 -1
  227. package/dist/popover.js +1 -1
  228. package/dist/radio-group.js +1 -1
  229. package/dist/search-bar.js +2 -2
  230. package/dist/secondary-nav.js +1 -1
  231. package/dist/selection-card.js +1 -1
  232. package/dist/sidepanel.js +1 -1
  233. package/dist/stepper.js +1 -1
  234. package/dist/structured-list.js +1 -1
  235. package/dist/styles/bento.css +3 -0
  236. package/dist/styles/legacy.css +3 -0
  237. package/dist/styles/styleguide.css +3 -0
  238. package/dist/summary-grid.js +1 -1
  239. package/dist/tabs.js +1 -1
  240. package/dist/textarea.js +1 -1
  241. package/dist/timeline.js +1 -1
  242. package/dist/toast.js +1 -1
  243. package/dist/toggle.js +1 -1
  244. package/dist/tutorial.js +1 -1
  245. package/dist/web-types.json +1 -1
  246. package/package.json +4 -4
  247. package/dist/chunks/accordion-item.CQ8DLt9l.js +0 -126
  248. package/dist/chunks/accordion-item.CQ8DLt9l.js.map +0 -1
  249. package/dist/chunks/alert.Bz4tNKDH.js.map +0 -1
  250. package/dist/chunks/avatar.mNlMngHQ.js.map +0 -1
  251. package/dist/chunks/calendar.D--sOCBT.js.map +0 -1
  252. package/dist/chunks/card.BvSoujBc.js.map +0 -1
  253. package/dist/chunks/checkbox-input.JdcvpfTa.js.map +0 -1
  254. package/dist/chunks/checkmark-circle-fill.ChV7Jy6r.js.map +0 -1
  255. package/dist/chunks/checkmark-small.DEc2T64_.js.map +0 -1
  256. package/dist/chunks/chevron-left.NvV5m76j.js.map +0 -1
  257. package/dist/chunks/chevron-up.DQZG_BP3.js.map +0 -1
  258. package/dist/chunks/code-snippet.BWM5w4CP.js.map +0 -1
  259. package/dist/chunks/copy.h-wVGvID.js.map +0 -1
  260. package/dist/chunks/cross-circle-fill-small.BXO78Wde.js.map +0 -1
  261. package/dist/chunks/cross-circle-fill.DN5b3_eL.js.map +0 -1
  262. package/dist/chunks/cross-small.CXWTuKA_.js.map +0 -1
  263. package/dist/chunks/cross.OvPfvoqX.js.map +0 -1
  264. package/dist/chunks/data-grid.DUwLxtW_.js.map +0 -1
  265. package/dist/chunks/date-picker.21z_Sw4V.js.map +0 -1
  266. package/dist/chunks/date-range-picker.K2TeW8aX.js.map +0 -1
  267. package/dist/chunks/dialog-page.DALFn9KR.js.map +0 -1
  268. package/dist/chunks/dropdown.ex87AZ7s.js.map +0 -1
  269. package/dist/chunks/expand.CgwNEbbz.js.map +0 -1
  270. package/dist/chunks/filter-bar.BAmG-yML.js.map +0 -1
  271. package/dist/chunks/index.B_UZQ6qF.js.map +0 -1
  272. package/dist/chunks/loading-button.Mx-oDIGy.js +0 -123
  273. package/dist/chunks/loading-button.Mx-oDIGy.js.map +0 -1
  274. package/dist/chunks/menu.CLicp_2I.js.map +0 -1
  275. package/dist/chunks/modal.vue_vue_type_script_setup_true_lang.Dzmth-oW.js.map +0 -1
  276. package/dist/chunks/pagination.I5w8bpUS.js.map +0 -1
  277. package/dist/chunks/refresh.DvQeGwUF.js.map +0 -1
  278. package/dist/chunks/step.ClnCjesW.js.map +0 -1
  279. package/dist/chunks/timeline-item.D-Yy2qQr.js.map +0 -1
  280. package/dist/chunks/tutorial.vue_vue_type_script_setup_true_lang.D-ZFDn95.js.map +0 -1
  281. package/dist/chunks/use-cached-selected-values.ClVxNmUf.js.map +0 -1
  282. /package/dist/assets/{cross.css → main.css} +0 -0
@@ -1,100 +1,100 @@
1
- import { reactive as ie, defineComponent as Ne, computed as h, ref as W, onMounted as aa, toRaw as ta, resolveComponent as O, openBlock as b, createElementBlock as De, createElementVNode as N, renderSlot as Te, createCommentVNode as w, createBlock as F, createVNode as H, withCtx as P, createTextVNode as q, normalizeClass as me, toRef as ue, watch as na, resolveDirective as ra, withDirectives as oa, withKeys as sa, toDisplayString as la } from "vue";
2
- import { B as ia } from "./popover.DQP3ce2x.js";
3
- import { B as Pe } from "./typography.z9P0Ec3Q.js";
4
- import { D as da } from "./dropdown-default-textbox.Bu4bpNGU.js";
5
- import { g as ne } from "./unique-id.XFfoKuc2.js";
1
+ import { reactive as le, defineComponent as _e, computed as h, ref as H, onMounted as xe, toRaw as ea, resolveComponent as w, openBlock as b, createElementBlock as ue, createElementVNode as N, renderSlot as ye, createCommentVNode as O, createBlock as F, createVNode as q, withCtx as P, createTextVNode as G, normalizeClass as me, toRef as de, watch as aa, resolveDirective as ta, withDirectives as na, withKeys as ra, toDisplayString as oa } from "vue";
2
+ import { B as sa } from "./popover.BN52L17t.js";
3
+ import { B as Ae } from "./typography.z9P0Ec3Q.js";
4
+ import { r as Z, t as X, g as De } from "./get-date-locale.BN8xEjY0.js";
5
+ import { g as te } from "./unique-id.XFfoKuc2.js";
6
6
  import { u as ce } from "./i18n.DL9GT2-k.js";
7
- import { t as fe, f as oe } from "./date.D8rQMzMG.js";
8
- import { f as Re, v as ua, D as T } from "./date-input.BqBdAO1E.js";
9
- import { r as x, t as Z, l as B, a as pe, b as ge } from "./index.B_UZQ6qF.js";
10
- import { u as Da } from "./use-form-layout-loading.D3lALhtC.js";
11
- import { B as ma } from "./directive.O3yEdalv.js";
12
- import { B as ca } from "./input-field.Dely7A8G.js";
13
- import { B as fa } from "./dropdown.ex87AZ7s.js";
14
- import { B as pa } from "./segmented-control.DbR5NYWR.js";
15
- import { d as le } from "./debounce.DUTu11PS.js";
16
- import { u as ga } from "./use-has-slot.B7eQSabc.js";
17
- import { s as re, c as be, i as X, d as va, e as ke, f as Ia, g as Ee, h as ya, j as Ta, a as G, u as Ra } from "./calendar.D--sOCBT.js";
18
- import { e as $ } from "./index.B_EJflcs.js";
19
- import { e as Se } from "./index.Z84QE0E2.js";
20
- import { _ as $e } from "./_plugin-vue_export-helper.CHgC5LLL.js";
21
- import { E as ba, F as ka } from "./error-message.D2Y99KjT.js";
7
+ import { t as pe, f as re } from "./date.CYUV4seY.js";
8
+ import { f as Ie, v as la, D as T } from "./date-input.BqBdAO1E.js";
9
+ import { u as ia } from "./use-form-layout-loading.D3lALhtC.js";
10
+ import { B as da } from "./directive.O3yEdalv.js";
11
+ import { B as ua } from "./input-field.foJTqE5i.js";
12
+ import { B as ma } from "./dropdown.BxvydNp0.js";
13
+ import { B as Da } from "./segmented-control.DbR5NYWR.js";
14
+ import { d as se } from "./debounce.DUTu11PS.js";
15
+ import { u as ca } from "./use-has-slot.B7eQSabc.js";
16
+ import { s as ne, c as Te, i as Q, d as pa, e as Re, f as fa, g as be, h as ga, j as va, a as K, u as ya } from "./calendar.BPatBsD5.js";
17
+ import { e as B } from "./index.DPafeRJa.js";
18
+ import { e as ke } from "./index.CrhTVr5J.js";
19
+ import { _ as Ne } from "./_plugin-vue_export-helper.CHgC5LLL.js";
20
+ import { D as Ia } from "./dropdown-default-textbox.BopLaEkG.js";
21
+ import { E as Ta, F as Ra } from "./error-message.CUZgtlDT.js";
22
22
  import "../assets/date-range-picker.css";
23
- function Oe(e, t) {
24
- x(2, arguments);
25
- var l = Z(e), u = Z(t);
23
+ function Se(e, t) {
24
+ Z(2, arguments);
25
+ var l = X(e), u = X(t);
26
26
  return l.getTime() === u.getTime();
27
27
  }
28
- function we(e) {
29
- x(1, arguments);
30
- var t = Z(e);
28
+ function Ee(e) {
29
+ Z(1, arguments);
30
+ var t = X(e);
31
31
  return t.setMilliseconds(0), t;
32
32
  }
33
- function Me(e, t) {
34
- x(2, arguments);
35
- var l = we(e), u = we(t);
33
+ function we(e, t) {
34
+ Z(2, arguments);
35
+ var l = Ee(e), u = Ee(t);
36
36
  return l.getTime() === u.getTime();
37
37
  }
38
- function Ea(e, t) {
39
- x(2, arguments);
40
- var l = Z(e), u = fe(t);
38
+ function ba(e, t) {
39
+ Z(2, arguments);
40
+ var l = X(e), u = pe(t);
41
41
  return l.setHours(u), l;
42
42
  }
43
- function Sa(e, t) {
44
- x(2, arguments);
45
- var l = Z(e), u = fe(t);
43
+ function ka(e, t) {
44
+ Z(2, arguments);
45
+ var l = X(e), u = pe(t);
46
46
  return l.setMinutes(u), l;
47
47
  }
48
- function Oa(e, t) {
49
- x(2, arguments);
50
- var l = Z(e), u = fe(t);
48
+ function Sa(e, t) {
49
+ Z(2, arguments);
50
+ var l = X(e), u = pe(t);
51
51
  return l.setSeconds(u), l;
52
52
  }
53
- const wa = ({
53
+ const Ea = ({
54
54
  firstDayOfWeek: e,
55
55
  min: t,
56
56
  max: l
57
- }) => ({ getGranularCalendarLimits: (d) => {
58
- let p = re(t), n = $(l);
59
- if ((d == null ? void 0 : d.type) === "weekly") {
60
- if (d.earliest)
61
- p = re(d.earliest);
57
+ }) => ({ getGranularCalendarLimits: (i) => {
58
+ let p = ne(t), n = B(l);
59
+ if ((i == null ? void 0 : i.type) === "weekly") {
60
+ if (i.earliest)
61
+ p = ne(i.earliest);
62
62
  else {
63
- const i = be(p, { weekStartsOn: e });
64
- X(p, i) || (p = re(va(ke(p, { weekStartsOn: e }), 1)));
63
+ const d = Te(p, { weekStartsOn: e });
64
+ Q(p, d) || (p = ne(pa(Re(p, { weekStartsOn: e }), 1)));
65
65
  }
66
- if (d.latest)
67
- n = $(d.latest);
66
+ if (i.latest)
67
+ n = B(i.latest);
68
68
  else {
69
- const i = ke(n, { weekStartsOn: e });
70
- X(n, i) || (n = $(Ia(be(n, { weekStartsOn: e }), 1)));
69
+ const d = Re(n, { weekStartsOn: e });
70
+ Q(n, d) || (n = B(fa(Te(n, { weekStartsOn: e }), 1)));
71
71
  }
72
72
  }
73
- if ((d == null ? void 0 : d.type) === "monthly") {
74
- if (d.earliest)
75
- p = re(d.earliest);
73
+ if ((i == null ? void 0 : i.type) === "monthly") {
74
+ if (i.earliest)
75
+ p = ne(i.earliest);
76
76
  else {
77
- const i = Ee(p);
78
- X(p, i) || (p = Ee(ya(p, 1)));
77
+ const d = be(p);
78
+ Q(p, d) || (p = be(ga(p, 1)));
79
79
  }
80
- if (d.latest)
81
- n = $(d.latest);
80
+ if (i.latest)
81
+ n = B(i.latest);
82
82
  else {
83
- const i = Se(n);
84
- X(n, i) || (n = Se(Ta(n, 1)));
83
+ const d = ke(n);
84
+ Q(n, d) || (n = ke(va(n, 1)));
85
85
  }
86
86
  }
87
87
  return { min: p, max: n };
88
- } }), Ma = () => {
89
- const e = ie({
88
+ } }), wa = () => {
89
+ const e = le({
90
90
  daily: null,
91
91
  weekly: null,
92
92
  monthly: null
93
93
  });
94
94
  return {
95
95
  savedRanges: e,
96
- saveRange: (u, d) => {
97
- e[u] = d;
96
+ saveRange: (u, i) => {
97
+ e[u] = i;
98
98
  },
99
99
  resetSavedRanges: () => {
100
100
  e.daily = null, e.weekly = null, e.monthly = null;
@@ -102,18 +102,18 @@ const wa = ({
102
102
  };
103
103
  };
104
104
  var f = /* @__PURE__ */ ((e) => (e.CUSTOM_RANGE = "custom-range", e.INPUT = "input", e.ERROR = "error", e.FORM_DATE = "form-date", e.START_DATE_SELECTED = "start-date-selected", e))(f || {});
105
- const ha = /[\d]/, Ca = /^\d{2}$/, Fa = /^\d{2}:\d{2}$/, Ua = (e) => {
106
- const { selectionStart: t } = e.target, l = ha.test(e.key) || e.key === "Backspace", u = [1, 2, 4, 5].includes(t) && e.key === ":";
105
+ const Oa = /[\d]/, Ma = /^\d{2}$/, ha = /^\d{2}:\d{2}$/, Ca = (e) => {
106
+ const { selectionStart: t } = e.target, l = Oa.test(e.key) || e.key === "Backspace", u = [1, 2, 4, 5].includes(t) && e.key === ":";
107
107
  !l && !u && e.preventDefault();
108
- }, he = (e) => {
108
+ }, Oe = (e) => {
109
109
  if (!e)
110
110
  return e;
111
111
  let t = e;
112
112
  if (t.length === 1 && parseInt(e, 10) > 2)
113
113
  return `0${t}:`;
114
114
  const [l, u] = t.slice(-2);
115
- return [2, 5].includes(t.length) && u === ":" && (t = `${t.slice(0, t.length - 2)}0${l}`), (Ca.test(t) || Fa.test(t)) && (t += ":"), t;
116
- }, Ce = {
115
+ return [2, 5].includes(t.length) && u === ":" && (t = `${t.slice(0, t.length - 2)}0${l}`), (Ma.test(t) || ha.test(t)) && (t += ":"), t;
116
+ }, Me = {
117
117
  "en-US": {
118
118
  customRange: "Custom range",
119
119
  daily: "Daily",
@@ -126,16 +126,32 @@ const ha = /[\d]/, Ca = /^\d{2}$/, Fa = /^\d{2}:\d{2}$/, Ua = (e) => {
126
126
  timeFrom: "Time from",
127
127
  timeTo: "Time to",
128
128
  weekly: "Weekly"
129
+ },
130
+ "pt-BR": {
131
+ customRange: "Selecione um intervalo personalizado",
132
+ daily: "Diário",
133
+ lastMonth: "Último mês",
134
+ lastSevenDays: "Últimos 7 dias",
135
+ monthly: "Mensal",
136
+ weekly: "Semanal"
137
+ },
138
+ "ja-JP": {
139
+ customRange: "カスタム範囲を選択",
140
+ daily: "毎日",
141
+ lastMonth: "先月",
142
+ lastSevenDays: "過去7日間",
143
+ monthly: "毎月",
144
+ weekly: "毎週"
129
145
  }
130
- }, Fe = 300, Ue = "customRange", _e = "daily", _a = Ne({
131
- i18n: { messages: Ce },
146
+ }, he = 300, Ce = "customRange", Fe = "daily", Fa = _e({
147
+ i18n: { messages: Me },
132
148
  name: "date-range-picker-calendar",
133
149
  components: {
134
- BentoDropdown: fa,
135
- BentoInputField: ca,
136
- BentoSegmentedControl: pa,
137
- BentoTypography: Pe,
138
- Calendar: G
150
+ BentoDropdown: ma,
151
+ BentoInputField: ua,
152
+ BentoSegmentedControl: Da,
153
+ BentoTypography: Ae,
154
+ Calendar: K
139
155
  },
140
156
  props: {
141
157
  /**
@@ -152,7 +168,7 @@ const ha = /[\d]/, Ca = /^\d{2}$/, Fa = /^\d{2}:\d{2}$/, Ua = (e) => {
152
168
  /**
153
169
  * Allows you to set the first day of the week. 0 is sunday, 1 is monday, 6 is saturday
154
170
  */
155
- firstDayOfWeek: G.props.firstDayOfWeek,
171
+ firstDayOfWeek: K.props.firstDayOfWeek,
156
172
  /**
157
173
  * A list of available granularities.
158
174
  * If present, the date picker will display a segmented control to change granularity.
@@ -164,23 +180,23 @@ const ha = /[\d]/, Ca = /^\d{2}$/, Fa = /^\d{2}:\d{2}$/, Ua = (e) => {
164
180
  /**
165
181
  * Indicate if a date should be disabled or not
166
182
  */
167
- isDateDisabled: G.props.isDateDisabled,
183
+ isDateDisabled: K.props.isDateDisabled,
168
184
  /**
169
185
  * Set a maximum number of dates to be selectable by the range.
170
186
  */
171
- maxRange: G.props.maxRange,
187
+ maxRange: K.props.maxRange,
172
188
  /**
173
189
  * Sets a minimum limit for selectable dates - dates before `min` will not be selectable
174
190
  */
175
- min: G.props.min,
191
+ min: K.props.min,
176
192
  /**
177
193
  * Sets a maximum limit for selectable dates - dates after `max` will not be selectable
178
194
  */
179
- max: G.props.max,
195
+ max: K.props.max,
180
196
  /**
181
197
  * Number of months rendered on pane
182
198
  */
183
- numberOfMonths: G.props.numberOfMonths,
199
+ numberOfMonths: K.props.numberOfMonths,
184
200
  /**
185
201
  * Displays the end date's month when the calendar is opened. Defaults to false i.e. the start date's month is displayed.
186
202
  */
@@ -209,22 +225,22 @@ const ha = /[\d]/, Ca = /^\d{2}$/, Fa = /^\d{2}:\d{2}$/, Ua = (e) => {
209
225
  f.START_DATE_SELECTED
210
226
  ],
211
227
  setup(e, { emit: t, slots: l }) {
212
- var ve, Ie, ye;
213
- const { locale: u, t: d } = ce({ messages: Ce }), p = { de: pe, enUS: B, fr: ge }, n = ie({
214
- startDate: (ve = e.value) == null ? void 0 : ve.startDate,
215
- endDate: (Ie = e.value) == null ? void 0 : Ie.endDate,
228
+ var fe, ge, ve;
229
+ const { locale: u, t: i } = ce({ messages: Me }), p = De(), n = le({
230
+ startDate: (fe = e.value) == null ? void 0 : fe.startDate,
231
+ endDate: (ge = e.value) == null ? void 0 : ge.endDate,
216
232
  ...e.granularities ? {
217
- granularity: ((ye = e.value) == null ? void 0 : ye.granularity) || _e
233
+ granularity: ((ve = e.value) == null ? void 0 : ve.granularity) || Fe
218
234
  } : {}
219
- }), i = h(
235
+ }), d = h(
220
236
  () => {
221
237
  var a, o;
222
- return ((o = (a = e == null ? void 0 : e.quickSelectRanges) == null ? void 0 : a.find(({ data: s }) => e.allowTimeInput ? Me(s.startDate, n.startDate) && Me(s.endDate, n.endDate) : X(s.startDate, n.startDate) && X(s.endDate, n.endDate))) == null ? void 0 : o.value) ?? Ue;
238
+ return ((o = (a = e == null ? void 0 : e.quickSelectRanges) == null ? void 0 : a.find(({ data: s }) => e.allowTimeInput ? we(s.startDate, n.startDate) && we(s.endDate, n.endDate) : Q(s.startDate, n.startDate) && Q(s.endDate, n.endDate))) == null ? void 0 : o.value) ?? Ce;
223
239
  }
224
- ), I = h(() => ({
240
+ ), y = h(() => ({
225
241
  "b-date-range-picker-calendar__form-input-wrapper": e.allowTimeInput
226
242
  })), R = h(() => [
227
- { label: d("customRange"), value: Ue },
243
+ { label: i("customRange"), value: Ce },
228
244
  ...e.quickSelectRanges
229
245
  ]), k = h(
230
246
  () => {
@@ -233,24 +249,24 @@ const ha = /[\d]/, Ca = /^\d{2}$/, Fa = /^\d{2}:\d{2}$/, Ua = (e) => {
233
249
  }
234
250
  ), g = h(
235
251
  () => e.granularities.map(({ type: a, disabled: o }) => ({
236
- label: d(a),
252
+ label: i(a),
237
253
  value: a,
238
254
  disabled: o
239
255
  }))
240
- ), { getGranularCalendarLimits: U } = wa(e), D = h(
241
- () => e.granularities ? U(k.value) : { min: re(e.min), max: $(e.max) }
256
+ ), { getGranularCalendarLimits: U } = Ea(e), m = h(
257
+ () => e.granularities ? U(k.value) : { min: ne(e.min), max: B(e.max) }
242
258
  ), {
243
- adjustDateForMonthly: j,
244
- adjustDateForWeekly: E,
245
- adjustStartDateInputForWeekly: L,
259
+ adjustDateForMonthly: W,
260
+ adjustDateForWeekly: S,
261
+ adjustStartDateInputForWeekly: $,
246
262
  adjustEndDateInputForWeekly: v,
247
- adjustStartDateInputForMonthly: z,
263
+ adjustStartDateInputForMonthly: j,
248
264
  adjustEndDateInputForMonthly: M
249
- } = Ra(e.firstDayOfWeek), { savedRanges: y, saveRange: ee, resetSavedRanges: de } = Ma(), S = (a) => a ? oe(a, T.NUMERIC_DATE_YEAR_FIRST, {
250
- locale: p[u.value.substring(0, 2)] || B
251
- }) : "", ae = (a) => a ? oe(a, T.HOUR_MINUTE_SECONDS, {
252
- locale: p[u.value.substring(0, 2)] || B
253
- }) : "", V = W(!1), Y = W(!1), K = W(!1), m = W(!1), r = ie({
265
+ } = ya(e.firstDayOfWeek), { savedRanges: I, saveRange: x, resetSavedRanges: ie } = wa(), E = (a) => a ? re(a, T.NUMERIC_DATE_YEAR_FIRST, {
266
+ locale: p[u.value.substring(0, 2)] || p.enUS
267
+ }) : "", ee = (a) => a ? re(a, T.HOUR_MINUTE_SECONDS, {
268
+ locale: p[u.value.substring(0, 2)] || p.enUS
269
+ }) : "", L = H(!1), V = H(!1), Y = H(!1), D = H(!1), r = le({
254
270
  startDate: e.dateFormData.startDate,
255
271
  endDate: e.dateFormData.endDate,
256
272
  startTime: e.dateFormData.startTime,
@@ -259,110 +275,110 @@ const ha = /[\d]/, Ca = /^\d{2}$/, Fa = /^\d{2}:\d{2}$/, Ua = (e) => {
259
275
  if (!o || !_(o))
260
276
  return a;
261
277
  let s = new Date(a);
262
- const [c, xe, ea] = o.split(":");
263
- return s = Ea(s, parseInt(c, 10)), s = Sa(s, parseInt(xe, 10)), s = Oa(s, parseInt(ea, 10)), s;
264
- }, Be = (a) => {
265
- n.startDate = A(a.startDate, r.startTime), n.endDate = A(a.endDate, r.endTime), e.granularities && de(), t(f.INPUT, {
278
+ const [c, Xe, Ze] = o.split(":");
279
+ return s = ba(s, parseInt(c, 10)), s = ka(s, parseInt(Xe, 10)), s = Sa(s, parseInt(Ze, 10)), s;
280
+ }, Pe = (a) => {
281
+ n.startDate = A(a.startDate, r.startTime), n.endDate = A(a.endDate, r.endTime), e.granularities && ie(), t(f.INPUT, {
266
282
  ...n,
267
- range: i.value
283
+ range: d.value
268
284
  });
269
- }, te = (a) => {
285
+ }, ae = (a) => {
270
286
  const o = (c) => e.min && c <= e.min || e.max && c >= e.max ? !1 : e.isDateDisabled ? !e.isDateDisabled(c) : !0;
271
287
  return /^\d{4}-(0?[1-9]|1[012])-(0?[1-9]|[12][0-9]|3[01])$/.test(a) && o(new Date(a));
272
288
  };
273
- aa(() => {
274
- e.dateFormData.startDate && !te(e.dateFormData.startDate) ? V.value = !0 : (V.value = !1, K.value = !1), e.dateFormData.endDate && !te(e.dateFormData.endDate) ? Y.value = !0 : (Y.value = !1, m.value = !1);
289
+ xe(() => {
290
+ e.dateFormData.startDate && !ae(e.dateFormData.startDate) ? L.value = !0 : (L.value = !1, Y.value = !1), e.dateFormData.endDate && !ae(e.dateFormData.endDate) ? V.value = !0 : (V.value = !1, D.value = !1);
275
291
  });
276
- const Le = (a) => {
292
+ const Be = (a) => {
277
293
  var o;
278
- r.startDate = S(a), r.startTime ? K.value && (r.startTime = (o = e.dateFormData) == null ? void 0 : o.startTime) : r.startTime = ae(a), V.value = !1, K.value = !1, t(f.START_DATE_SELECTED, a);
279
- }, Ve = (a) => {
294
+ r.startDate = E(a), r.startTime ? Y.value && (r.startTime = (o = e.dateFormData) == null ? void 0 : o.startTime) : r.startTime = ee(a), L.value = !1, Y.value = !1, t(f.START_DATE_SELECTED, a);
295
+ }, $e = (a) => {
280
296
  var o;
281
- r.endDate = S(a), r.endTime ? m.value && (r.endTime = (o = e.dateFormData) == null ? void 0 : o.endTime) : r.endTime = ae($(a)), Y.value = !1, m.value = !1;
282
- }, se = (a) => {
297
+ r.endDate = E(a), r.endTime ? D.value && (r.endTime = (o = e.dateFormData) == null ? void 0 : o.endTime) : r.endTime = ee(B(a)), V.value = !1, D.value = !1;
298
+ }, oe = (a) => {
283
299
  const o = e.value[a];
284
300
  if (o)
285
301
  return o;
286
- if (e.dateFormData[a] && te(e.dateFormData[a]))
302
+ if (e.dateFormData[a] && ae(e.dateFormData[a]))
287
303
  return new Date(e.dateFormData[a]);
288
- }, Ye = le((a) => {
304
+ }, Le = se((a) => {
289
305
  var o;
290
- if (te(a)) {
306
+ if (ae(a)) {
291
307
  let s = a;
292
- switch (V.value = !1, (o = k.value) == null ? void 0 : o.type) {
308
+ switch (L.value = !1, (o = k.value) == null ? void 0 : o.type) {
293
309
  case "weekly":
294
- s = L(
310
+ s = $(
295
311
  a,
296
- S,
297
- D.value.min,
298
- D.value.max
312
+ E,
313
+ m.value.min,
314
+ m.value.max
299
315
  ), r.startDate = s;
300
316
  break;
301
317
  case "monthly":
302
- s = z(
318
+ s = j(
303
319
  a,
304
- S,
305
- D.value.min,
306
- D.value.max
320
+ E,
321
+ m.value.min,
322
+ m.value.max
307
323
  ), r.startDate = s;
308
324
  break;
309
325
  }
310
326
  n.startDate = A(new Date(s), r.startTime);
311
- const c = se("endDate");
327
+ const c = oe("endDate");
312
328
  t(f.FORM_DATE, {
313
329
  startDate: new Date(s),
314
330
  endDate: c
315
331
  }), t(f.INPUT, {
316
332
  startDate: new Date(s),
317
333
  endDate: c,
318
- range: i.value
334
+ range: d.value
319
335
  });
320
336
  } else
321
- V.value = !0, t(f.ERROR, { ...r });
322
- }, Fe), Ke = (a) => {
323
- r.startDate = Re(a), Ye(r.startDate);
324
- }, Ge = le((a) => {
337
+ L.value = !0, t(f.ERROR, { ...r });
338
+ }, he), Ve = (a) => {
339
+ r.startDate = Ie(a), Le(r.startDate);
340
+ }, Ye = se((a) => {
325
341
  var o;
326
- if (te(a)) {
342
+ if (ae(a)) {
327
343
  let s = a;
328
- switch (Y.value = !1, (o = k.value) == null ? void 0 : o.type) {
344
+ switch (V.value = !1, (o = k.value) == null ? void 0 : o.type) {
329
345
  case "weekly":
330
346
  s = v(
331
347
  a,
332
- S,
333
- D.value.min,
334
- D.value.max
348
+ E,
349
+ m.value.min,
350
+ m.value.max
335
351
  ), r.endDate = s;
336
352
  break;
337
353
  case "monthly":
338
354
  s = M(
339
355
  a,
340
- S,
341
- D.value.min,
342
- D.value.max
356
+ E,
357
+ m.value.min,
358
+ m.value.max
343
359
  ), r.endDate = s;
344
360
  break;
345
361
  }
346
362
  n.endDate = A(new Date(s), r.endTime);
347
- const c = se("startDate");
363
+ const c = oe("startDate");
348
364
  t(f.FORM_DATE, {
349
365
  startDate: c,
350
366
  endDate: new Date(a)
351
367
  }), t(f.INPUT, {
352
368
  startDate: c,
353
369
  endDate: new Date(a),
354
- range: i.value
370
+ range: d.value
355
371
  });
356
372
  } else
357
- Y.value = !0, t(f.ERROR, { ...r });
358
- }, Fe), qe = (a) => {
359
- r.endDate = Re(a), Ge(r.endDate);
360
- }, He = (a) => {
361
- ua(a);
362
- }, We = le((a) => {
373
+ V.value = !0, t(f.ERROR, { ...r });
374
+ }, he), Ke = (a) => {
375
+ r.endDate = Ie(a), Ye(r.endDate);
376
+ }, Ge = (a) => {
377
+ la(a);
378
+ }, qe = se((a) => {
363
379
  if (_(a)) {
364
- K.value = !1, n.startDate = A(n.startDate, a);
365
- const o = se("endDate");
380
+ Y.value = !1, n.startDate = A(n.startDate, a);
381
+ const o = oe("endDate");
366
382
  t(f.FORM_DATE, {
367
383
  startDate: new Date(n.startDate),
368
384
  endDate: o,
@@ -371,14 +387,14 @@ const ha = /[\d]/, Ca = /^\d{2}$/, Fa = /^\d{2}:\d{2}$/, Ua = (e) => {
371
387
  }), t(f.INPUT, {
372
388
  startDate: new Date(n.startDate),
373
389
  endDate: o,
374
- range: i.value
390
+ range: d.value
375
391
  });
376
392
  } else
377
- K.value = !0, t(f.ERROR, { ...r });
378
- }), je = le((a) => {
393
+ Y.value = !0, t(f.ERROR, { ...r });
394
+ }), He = se((a) => {
379
395
  if (_(a)) {
380
- m.value = !1, n.endDate = A(n.endDate, a);
381
- const o = se("startDate");
396
+ D.value = !1, n.endDate = A(n.endDate, a);
397
+ const o = oe("startDate");
382
398
  t(f.FORM_DATE, {
383
399
  startDate: o,
384
400
  endDate: new Date(n.endDate),
@@ -387,65 +403,65 @@ const ha = /[\d]/, Ca = /^\d{2}$/, Fa = /^\d{2}:\d{2}$/, Ua = (e) => {
387
403
  }), t(f.INPUT, {
388
404
  startDate: o,
389
405
  endDate: new Date(n.endDate),
390
- range: i.value
406
+ range: d.value
391
407
  });
392
408
  } else
393
- m.value = !0, t(f.ERROR, { ...r });
394
- }), ze = (a) => {
395
- r.startTime = he(a), We(r.startTime);
396
- }, Je = (a) => {
397
- r.endTime = he(a), je(r.endTime);
398
- }, Qe = (a) => {
399
- Ua(a);
400
- }, J = (a, o, s) => {
409
+ D.value = !0, t(f.ERROR, { ...r });
410
+ }), We = (a) => {
411
+ r.startTime = Oe(a), qe(r.startTime);
412
+ }, je = (a) => {
413
+ r.endTime = Oe(a), He(r.endTime);
414
+ }, ze = (a) => {
415
+ Ca(a);
416
+ }, z = (a, o, s) => {
401
417
  n.startDate = a, n.endDate = o, s && (n.granularity = s);
402
- }, Xe = (a) => {
418
+ }, Je = (a) => {
403
419
  var s;
404
420
  const o = (s = e.quickSelectRanges) == null ? void 0 : s.find(({ value: c }) => c === a);
405
421
  if (o) {
406
- de();
422
+ ie();
407
423
  const c = o.data;
408
- r.startDate = S(c.startDate), r.endDate = S(c.endDate), J(c.startDate, c.endDate), e.granularities && (n.granularity = c.granularity || _e), r.startTime || (r.startTime = ae($(c.startDate))), r.endTime || (r.endTime = ae($(c.endDate))), t(f.CUSTOM_RANGE, { ...o.data, range: o.value });
424
+ r.startDate = E(c.startDate), r.endDate = E(c.endDate), z(c.startDate, c.endDate), e.granularities && (n.granularity = c.granularity || Fe), r.startTime || (r.startTime = ee(B(c.startDate))), r.endTime || (r.endTime = ee(B(c.endDate))), t(f.CUSTOM_RANGE, { ...o.data, range: o.value });
409
425
  }
410
- }, Ze = (a) => {
426
+ }, Qe = (a) => {
411
427
  const o = n.granularity;
412
- if (n.granularity = a, o && ee(o, structuredClone(ta(n))), n.startDate && n.endDate) {
428
+ if (n.granularity = a, o && x(o, structuredClone(ea(n))), n.startDate && n.endDate) {
413
429
  switch (a) {
414
430
  case "monthly": {
415
- if (y.monthly) {
416
- J(y.monthly.startDate, y.monthly.endDate, a);
431
+ if (I.monthly) {
432
+ z(I.monthly.startDate, I.monthly.endDate, a);
417
433
  break;
418
434
  }
419
- const { startDate: s, endDate: c } = j(
435
+ const { startDate: s, endDate: c } = W(
420
436
  n.startDate,
421
437
  n.endDate,
422
- D.value.min,
423
- D.value.max
438
+ m.value.min,
439
+ m.value.max
424
440
  );
425
- J(s, c, a);
441
+ z(s, c, a);
426
442
  break;
427
443
  }
428
444
  case "weekly": {
429
- if (y.weekly) {
430
- J(y.weekly.startDate, y.weekly.endDate, a);
445
+ if (I.weekly) {
446
+ z(I.weekly.startDate, I.weekly.endDate, a);
431
447
  break;
432
448
  }
433
- const { startDate: s, endDate: c } = E(
449
+ const { startDate: s, endDate: c } = S(
434
450
  n.startDate,
435
451
  n.endDate,
436
- D.value.min,
437
- D.value.max
452
+ m.value.min,
453
+ m.value.max
438
454
  );
439
- J(s, c, a);
455
+ z(s, c, a);
440
456
  break;
441
457
  }
442
458
  case "daily":
443
- y.daily && J(y.daily.startDate, y.daily.endDate, a);
459
+ I.daily && z(I.daily.startDate, I.daily.endDate, a);
444
460
  break;
445
461
  }
446
- r.startDate = S(n.startDate), r.endDate = S(n.endDate), t(f.INPUT, {
462
+ r.startDate = E(n.startDate), r.endDate = E(n.endDate), t(f.INPUT, {
447
463
  ...n,
448
- range: i.value
464
+ range: d.value
449
465
  });
450
466
  }
451
467
  };
@@ -453,69 +469,69 @@ const ha = /[\d]/, Ca = /^\d{2}$/, Fa = /^\d{2}:\d{2}$/, Ua = (e) => {
453
469
  // Values
454
470
  internalRangeDate: n,
455
471
  dateTextInput: r,
456
- endDateError: Y,
457
- endTimeError: m,
472
+ endDateError: V,
473
+ endTimeError: D,
458
474
  granularityItems: g,
459
475
  selectedGranularity: k,
460
- computedMinMax: D,
461
- selectedRangeSelectorValue: i,
462
- startDateError: V,
463
- startTimeError: K,
476
+ computedMinMax: m,
477
+ selectedRangeSelectorValue: d,
478
+ startDateError: L,
479
+ startTimeError: Y,
464
480
  quickSelectRangeDefaultItems: R,
465
- formInputWrapperConditionalClasses: I,
481
+ formInputWrapperConditionalClasses: y,
466
482
  // Methods
467
- hasSlot: ga(l),
468
- t: d,
483
+ hasSlot: ca(l),
484
+ t: i,
469
485
  // Events
470
- onDateInput: Be,
471
- onDateInputKeyDown: He,
472
- onEndDateInput: qe,
473
- onEndDateSelected: Ve,
474
- onEndTimeInput: Je,
475
- onGranularityInput: Ze,
476
- onRangeSelectorInput: Xe,
477
- onStartDateInput: Ke,
478
- onStartDateSelected: Le,
479
- onStartTimeInput: ze,
480
- onTimeInputKeyDown: Qe
486
+ onDateInput: Pe,
487
+ onDateInputKeyDown: Ge,
488
+ onEndDateInput: Ke,
489
+ onEndDateSelected: $e,
490
+ onEndTimeInput: je,
491
+ onGranularityInput: Qe,
492
+ onRangeSelectorInput: Je,
493
+ onStartDateInput: Ve,
494
+ onStartDateSelected: Be,
495
+ onStartTimeInput: We,
496
+ onTimeInputKeyDown: ze
481
497
  };
482
498
  }
483
- }), Aa = { class: "b-date-range-picker-calendar" }, Na = { class: "b-date-range-picker-calendar__form-container" }, Pa = { class: "b-date-range-picker-calendar__form" }, $a = { key: 0 }, Ba = { class: "b-date-range-picker-calendar__calendars-container" };
484
- function La(e, t, l, u, d, p) {
485
- const n = O("bento-dropdown"), i = O("bento-segmented-control"), I = O("bento-typography"), R = O("bento-input-field"), k = O("calendar");
486
- return b(), De("div", Aa, [
487
- N("div", Na, [
488
- N("div", Pa, [
489
- e.hasSlot("title") ? Te(e.$slots, "title", { key: 0 }, void 0, !0) : w("", !0),
499
+ }), Ua = { class: "b-date-range-picker-calendar" }, _a = { class: "b-date-range-picker-calendar__form-container" }, Aa = { class: "b-date-range-picker-calendar__form" }, Na = { key: 0 }, Pa = { class: "b-date-range-picker-calendar__calendars-container" };
500
+ function Ba(e, t, l, u, i, p) {
501
+ const n = w("bento-dropdown"), d = w("bento-segmented-control"), y = w("bento-typography"), R = w("bento-input-field"), k = w("calendar");
502
+ return b(), ue("div", Ua, [
503
+ N("div", _a, [
504
+ N("div", Aa, [
505
+ e.hasSlot("title") ? ye(e.$slots, "title", { key: 0 }, void 0, !0) : O("", !0),
490
506
  e.quickSelectRanges ? (b(), F(n, {
491
507
  key: 1,
492
508
  "aria-label": e.t("customRange"),
493
509
  items: e.quickSelectRangeDefaultItems,
494
510
  value: e.selectedRangeSelectorValue,
495
511
  onInput: e.onRangeSelectorInput
496
- }, null, 8, ["aria-label", "items", "value", "onInput"])) : w("", !0),
497
- e.granularities ? (b(), F(i, {
512
+ }, null, 8, ["aria-label", "items", "value", "onInput"])) : O("", !0),
513
+ e.granularities ? (b(), F(d, {
498
514
  key: 2,
499
515
  items: e.granularityItems,
500
516
  "model-value": e.internalRangeDate.granularity,
501
517
  "full-width": "",
502
518
  "onUpdate:modelValue": e.onGranularityInput
503
- }, null, 8, ["items", "model-value", "onUpdate:modelValue"])) : w("", !0),
519
+ }, null, 8, ["items", "model-value", "onUpdate:modelValue"])) : O("", !0),
504
520
  N("div", null, [
505
- H(I, {
521
+ q(y, {
506
522
  stronger: "",
507
523
  el: "span",
508
524
  class: "b-date-range-picker-calendar__label"
509
525
  }, {
510
526
  default: P(() => t[0] || (t[0] = [
511
- q(" From ")
527
+ G(" From ")
512
528
  ])),
513
529
  _: 1
514
530
  }),
515
531
  N("div", {
516
532
  class: me(e.formInputWrapperConditionalClasses)
517
533
  }, [
518
- H(R, {
534
+ q(R, {
519
535
  "aria-label": e.t("dateFrom"),
520
536
  value: e.dateTextInput.startDate,
521
537
  error: e.startDateError,
@@ -524,7 +540,7 @@ function La(e, t, l, u, d, p) {
524
540
  onKeydown: e.onDateInputKeyDown
525
541
  }, {
526
542
  description: P(() => t[1] || (t[1] = [
527
- q("YYYY-MM-DD")
543
+ G("YYYY-MM-DD")
528
544
  ])),
529
545
  _: 1
530
546
  }, 8, ["aria-label", "value", "error", "onInput", "onKeydown"]),
@@ -538,27 +554,27 @@ function La(e, t, l, u, d, p) {
538
554
  onKeydown: e.onTimeInputKeyDown
539
555
  }, {
540
556
  description: P(() => t[2] || (t[2] = [
541
- q("HH:MM:SS")
557
+ G("HH:MM:SS")
542
558
  ])),
543
559
  _: 1
544
- }, 8, ["aria-label", "value", "error", "onInput", "onKeydown"])) : w("", !0)
560
+ }, 8, ["aria-label", "value", "error", "onInput", "onKeydown"])) : O("", !0)
545
561
  ], 2)
546
562
  ]),
547
563
  N("div", null, [
548
- H(I, {
564
+ q(y, {
549
565
  stronger: "",
550
566
  el: "span",
551
567
  class: "b-date-range-picker-calendar__label"
552
568
  }, {
553
569
  default: P(() => t[3] || (t[3] = [
554
- q(" To ")
570
+ G(" To ")
555
571
  ])),
556
572
  _: 1
557
573
  }),
558
574
  N("div", {
559
575
  class: me(e.formInputWrapperConditionalClasses)
560
576
  }, [
561
- H(R, {
577
+ q(R, {
562
578
  class: "b-date-range-picker-calendar__form-input",
563
579
  "aria-label": e.t("dateTo"),
564
580
  value: e.dateTextInput.endDate,
@@ -567,7 +583,7 @@ function La(e, t, l, u, d, p) {
567
583
  onKeydown: e.onDateInputKeyDown
568
584
  }, {
569
585
  description: P(() => t[4] || (t[4] = [
570
- q("YYYY-MM-DD")
586
+ G("YYYY-MM-DD")
571
587
  ])),
572
588
  _: 1
573
589
  }, 8, ["aria-label", "value", "error", "onInput", "onKeydown"]),
@@ -581,19 +597,19 @@ function La(e, t, l, u, d, p) {
581
597
  onKeydown: e.onTimeInputKeyDown
582
598
  }, {
583
599
  description: P(() => t[5] || (t[5] = [
584
- q("HH:MM:SS")
600
+ G("HH:MM:SS")
585
601
  ])),
586
602
  _: 1
587
- }, 8, ["aria-label", "value", "error", "onInput", "onKeydown"])) : w("", !0)
603
+ }, 8, ["aria-label", "value", "error", "onInput", "onKeydown"])) : O("", !0)
588
604
  ], 2)
589
605
  ])
590
606
  ]),
591
- e.hasSlot("actions") ? (b(), De("div", $a, [
592
- Te(e.$slots, "actions", {}, void 0, !0)
593
- ])) : w("", !0)
607
+ e.hasSlot("actions") ? (b(), ue("div", Na, [
608
+ ye(e.$slots, "actions", {}, void 0, !0)
609
+ ])) : O("", !0)
594
610
  ]),
595
- N("div", Ba, [
596
- H(k, {
611
+ N("div", Pa, [
612
+ q(k, {
597
613
  value: e.value,
598
614
  "first-day-of-week": e.firstDayOfWeek,
599
615
  "is-date-disabled": e.isDateDisabled,
@@ -611,70 +627,76 @@ function La(e, t, l, u, d, p) {
611
627
  ])
612
628
  ]);
613
629
  }
614
- const C = /* @__PURE__ */ $e(_a, [["render", La], ["__scopeId", "data-v-78a26328"]]), Va = ({
630
+ const C = /* @__PURE__ */ Ne(Fa, [["render", Ba], ["__scopeId", "data-v-54f617bf"]]), $a = ({
615
631
  datePickerValue: e,
616
632
  isDateIncorrect: t,
617
633
  quickSelectRanges: l
618
634
  }) => {
619
- var g, U, D, j;
620
- const { locale: u, t: d } = ce(), p = { de: pe, enUS: B, fr: ge }, n = (E) => !!E && !isNaN(E.getTime()), i = (E, L) => n(E) ? oe(E, L, {
621
- locale: p[u.value.substring(0, 2)] || B
622
- }) : void 0, I = ie({
623
- startDate: i((g = e.value) == null ? void 0 : g.startDate, T.NUMERIC_DATE_YEAR_FIRST),
624
- endDate: i((U = e.value) == null ? void 0 : U.endDate, T.NUMERIC_DATE_YEAR_FIRST),
625
- startTime: i((D = e.value) == null ? void 0 : D.startDate, T.HOUR_MINUTE_SECONDS),
626
- endTime: i((j = e.value) == null ? void 0 : j.endDate, T.HOUR_MINUTE_SECONDS)
635
+ var g, U, m, W;
636
+ const { locale: u, t: i } = ce(), p = De(), n = (S) => !!S && !isNaN(S.getTime()), d = (S, $) => n(S) ? re(S, $, {
637
+ locale: p[u.value.substring(0, 2)] || p.enUS
638
+ }) : void 0, y = le({
639
+ startDate: d((g = e.value) == null ? void 0 : g.startDate, T.NUMERIC_DATE_YEAR_FIRST),
640
+ endDate: d((U = e.value) == null ? void 0 : U.endDate, T.NUMERIC_DATE_YEAR_FIRST),
641
+ startTime: d((m = e.value) == null ? void 0 : m.startDate, T.HOUR_MINUTE_SECONDS),
642
+ endTime: d((W = e.value) == null ? void 0 : W.endDate, T.HOUR_MINUTE_SECONDS)
627
643
  });
628
644
  return {
629
645
  // Values
630
646
  dateDisplayValue: h(() => {
631
647
  var v;
632
648
  if (t.value)
633
- return `${I.startDate || ""} - ${I.endDate || ""}`;
649
+ return `${y.startDate || ""} - ${y.endDate || ""}`;
634
650
  if (!e.value || !e.value.startDate && !e.value.endDate)
635
- return d("selectDateRange");
651
+ return i("selectDateRange");
636
652
  if ((v = l.value) != null && v.length) {
637
- const z = l.value.find(
653
+ const j = l.value.find(
638
654
  ({ data: M }) => {
639
- var y, ee;
640
- return Oe(M == null ? void 0 : M.startDate, (y = e.value) == null ? void 0 : y.startDate) && Oe(M == null ? void 0 : M.endDate, (ee = e.value) == null ? void 0 : ee.endDate);
655
+ var I, x;
656
+ return Se(M == null ? void 0 : M.startDate, (I = e.value) == null ? void 0 : I.startDate) && Se(M == null ? void 0 : M.endDate, (x = e.value) == null ? void 0 : x.endDate);
641
657
  }
642
658
  );
643
- if (z)
644
- return z.label;
659
+ if (j)
660
+ return j.label;
645
661
  }
646
- const { startDate: E, endDate: L } = I;
647
- return `${i(new Date(E), T.FULL_DATE_MONTH_FIRST)} - ${i(
648
- new Date(L),
662
+ const { startDate: S, endDate: $ } = y;
663
+ return `${d(new Date(S), T.FULL_DATE_MONTH_FIRST)} - ${d(
664
+ new Date($),
649
665
  T.FULL_DATE_MONTH_FIRST
650
666
  )}`;
651
667
  }),
652
- textInputDisplayValue: I,
668
+ textInputDisplayValue: y,
653
669
  // Methods
654
670
  formatTextInputDisplayValue: () => ""
655
671
  };
656
672
  };
657
- var Q = /* @__PURE__ */ ((e) => (e.INPUT = "input", e))(Q || {});
658
- const Ae = {
673
+ var J = /* @__PURE__ */ ((e) => (e.INPUT = "input", e))(J || {});
674
+ const Ue = {
659
675
  "en-US": {
660
676
  dateRangePicker: "Date range picker {name}",
661
677
  provideDateInAFormat: "Provide date in a YYYY-MM-DD format",
662
678
  selectDate: "Select a date",
663
679
  selectDateRange: "Select a date range",
664
680
  selectedDateIsNotAvailable: "Selected date is not available"
681
+ },
682
+ "pt-BR": {
683
+ selectDate: "Selecione uma data"
684
+ },
685
+ "ja-JP": {
686
+ selectDate: "日付を選択"
665
687
  }
666
- }, Ya = Ne({
667
- i18n: { messages: Ae },
688
+ }, La = _e({
689
+ i18n: { messages: Ue },
668
690
  name: "bento-date-range-picker",
669
691
  components: {
670
- BentoTypography: Pe,
671
- BentoPopover: ia,
692
+ BentoTypography: Ae,
693
+ BentoPopover: sa,
672
694
  DateRangePickerCalendar: C,
673
- DropdownInputDefault: da,
674
- ErrorMessage: ba,
675
- FieldLabel: ka
695
+ DropdownInputDefault: Ia,
696
+ ErrorMessage: Ta,
697
+ FieldLabel: Ra
676
698
  },
677
- directives: { BentoClickOutsideDirective: ma },
699
+ directives: { BentoClickOutsideDirective: da },
678
700
  props: {
679
701
  /**
680
702
  * Allows user to enter time values in the form
@@ -761,88 +783,88 @@ const Ae = {
761
783
  */
762
784
  value: C.props.value
763
785
  },
764
- emits: [Q.INPUT],
786
+ emits: [J.INPUT],
765
787
  setup(e, { emit: t }) {
766
- const { locale: l, t: u } = ce({ messages: Ae }), d = { de: pe, enUS: B, fr: ge }, p = ne("bento-date-range-picker-container"), n = ne("bento-date-range-picker-label"), i = ne("bento-date-range-picker-description"), I = ne("bento-date-range-picker-error"), R = ne("bento-date-range-picker-date-error"), k = h(
788
+ const { locale: l, t: u } = ce({ messages: Ue }), i = De(), p = te("bento-date-range-picker-container"), n = te("bento-date-range-picker-label"), d = te("bento-date-range-picker-description"), y = te("bento-date-range-picker-error"), R = te("bento-date-range-picker-date-error"), k = h(
767
789
  () => e.label || u("dateRangePicker", { name: p })
768
- ), g = W(!1), U = W(null), D = W(!1), { isReadOnly: j } = Da(ue(e, "readonly"));
769
- na(
790
+ ), g = H(!1), U = H(null), m = H(!1), { isReadOnly: W } = ia(de(e, "readonly"));
791
+ aa(
770
792
  () => e.disabled,
771
793
  () => {
772
- e.disabled && D.value && (D.value = !1);
794
+ e.disabled && m.value && (m.value = !1);
773
795
  }
774
796
  );
775
- const E = h(() => ({
797
+ const S = h(() => ({
776
798
  "b-date-range-picker__description--error": !!e.errorMessage || g.value
777
- })), { dateDisplayValue: L, textInputDisplayValue: v, formatTextInputDisplayValue: z } = Va({
778
- datePickerValue: ue(e, "value"),
799
+ })), { dateDisplayValue: $, textInputDisplayValue: v, formatTextInputDisplayValue: j } = $a({
800
+ datePickerValue: de(e, "value"),
779
801
  isDateIncorrect: g,
780
- quickSelectRanges: ue(e, "quickSelectRanges")
802
+ quickSelectRanges: de(e, "quickSelectRanges")
781
803
  }), M = h(
782
- () => `${e.description ? i : ""} ${e.errorMessage ? I : ""} ${g.value ? R : ""}`.trim() || null
804
+ () => `${e.description ? d : ""} ${e.errorMessage ? y : ""} ${g.value ? R : ""}`.trim() || null
783
805
  );
784
806
  return {
785
807
  // Refs
786
808
  inputContainerRef: U,
787
809
  // Values,
788
- dateDisplayValue: L,
810
+ dateDisplayValue: $,
789
811
  datePickerContainerId: p,
790
- descriptionConditionalClasses: E,
812
+ descriptionConditionalClasses: S,
791
813
  isDateIncorrect: g,
792
- isDateRangePickerOpen: D,
793
- isReadOnly: j,
814
+ isDateRangePickerOpen: m,
815
+ isReadOnly: W,
794
816
  labelId: n,
795
- descriptionId: i,
817
+ descriptionId: d,
796
818
  dateErrorId: R,
797
- errorId: I,
819
+ errorId: y,
798
820
  popoverAriaLabel: k,
799
821
  ariaDescribedBy: M,
800
822
  textInputDisplayValue: v,
801
823
  // Events
802
824
  closeDateRangePicker: () => {
803
- D.value = !1;
825
+ m.value = !1;
804
826
  },
805
827
  clearDateRangePickerValue: async () => {
806
- g.value && (g.value = !1), t(Q.INPUT, null);
828
+ g.value && (g.value = !1), t(J.INPUT, null);
807
829
  },
808
830
  openDateRangePicker: () => {
809
- D.value = !0, z();
831
+ m.value = !0, j();
810
832
  },
811
- onRangeSelectorInput: (m) => {
812
- if (m) {
813
- const r = (_) => oe(_, T.NUMERIC_DATE_YEAR_FIRST, {
814
- locale: d[l.value.substring(0, 2)] || B
833
+ onRangeSelectorInput: (D) => {
834
+ if (D) {
835
+ const r = (_) => re(_, T.NUMERIC_DATE_YEAR_FIRST, {
836
+ locale: i[l.value.substring(0, 2)] || i.enUS
815
837
  });
816
- v.startDate = r(m.startDate), v.endDate = r(m.endDate), t(Q.INPUT, m);
838
+ v.startDate = r(D.startDate), v.endDate = r(D.endDate), t(J.INPUT, D);
817
839
  }
818
840
  },
819
841
  onEnterPressedOverInput: () => {
820
- g.value || (D.value = !1);
842
+ g.value || (m.value = !1);
821
843
  },
822
- onDateRangePickerInput: (m) => {
844
+ onDateRangePickerInput: (D) => {
823
845
  g.value = !1;
824
- const r = (_, A) => _ ? oe(_, A, {
825
- locale: d[l.value.substring(0, 2)] || B
846
+ const r = (_, A) => _ ? re(_, A, {
847
+ locale: i[l.value.substring(0, 2)] || i.enUS
826
848
  }) : void 0;
827
849
  v.startDate = r(
828
- m.startDate,
850
+ D.startDate,
829
851
  T.NUMERIC_DATE_YEAR_FIRST
830
- ), v.endDate = r(m.endDate, T.NUMERIC_DATE_YEAR_FIRST), v.startTime = r(m.startDate, T.HOUR_MINUTE_SECONDS), v.endTime = r(m.endDate, T.HOUR_MINUTE_SECONDS), t(Q.INPUT, m);
852
+ ), v.endDate = r(D.endDate, T.NUMERIC_DATE_YEAR_FIRST), v.startTime = r(D.startDate, T.HOUR_MINUTE_SECONDS), v.endTime = r(D.endDate, T.HOUR_MINUTE_SECONDS), t(J.INPUT, D);
831
853
  },
832
- onDateRangePickerError: (m) => {
833
- g.value = !0, v.startDate = m.startDate, v.endDate = m.endDate, t(Q.INPUT, { startDate: null, endDate: null });
854
+ onDateRangePickerError: (D) => {
855
+ g.value = !0, v.startDate = D.startDate, v.endDate = D.endDate, t(J.INPUT, { startDate: null, endDate: null });
834
856
  },
835
- onDateRangePickerFormDateInputUpdate: (m) => {
836
- g.value = !1, m.startTime && (v.startTime = m.startTime), m.endTime && (v.endTime = m.endTime);
857
+ onDateRangePickerFormDateInputUpdate: (D) => {
858
+ g.value = !1, D.startTime && (v.startTime = D.startTime), D.endTime && (v.endTime = D.endTime);
837
859
  },
838
860
  // Translations
839
861
  t: u
840
862
  };
841
863
  }
842
- }), Ka = { class: "b-date-range-picker" };
843
- function Ga(e, t, l, u, d, p) {
844
- const n = O("field-label"), i = O("dropdown-input-default"), I = O("error-message"), R = O("bento-typography"), k = O("date-range-picker-calendar"), g = O("bento-popover"), U = ra("bento-click-outside-directive");
845
- return oa((b(), De("div", Ka, [
864
+ }), Va = { class: "b-date-range-picker" };
865
+ function Ya(e, t, l, u, i, p) {
866
+ const n = w("field-label"), d = w("dropdown-input-default"), y = w("error-message"), R = w("bento-typography"), k = w("date-range-picker-calendar"), g = w("bento-popover"), U = ta("bento-click-outside-directive");
867
+ return na((b(), ue("div", Va, [
846
868
  e.label ? (b(), F(n, {
847
869
  key: 0,
848
870
  id: e.labelId,
@@ -850,11 +872,11 @@ function Ga(e, t, l, u, d, p) {
850
872
  "tooltip-text": e.tooltipText,
851
873
  optional: e.optional,
852
874
  required: e.required
853
- }, null, 8, ["id", "label", "tooltip-text", "optional", "required"])) : w("", !0),
875
+ }, null, 8, ["id", "label", "tooltip-text", "optional", "required"])) : O("", !0),
854
876
  N("div", {
855
- onKeydown: t[0] || (t[0] = sa((...D) => e.onEnterPressedOverInput && e.onEnterPressedOverInput(...D), ["enter"]))
877
+ onKeydown: t[0] || (t[0] = ra((...m) => e.onEnterPressedOverInput && e.onEnterPressedOverInput(...m), ["enter"]))
856
878
  }, [
857
- H(i, {
879
+ q(d, {
858
880
  ref: "inputContainerRef",
859
881
  "always-combobox-is-input": "",
860
882
  ariaControls: e.datePickerContainerId,
@@ -871,18 +893,18 @@ function Ga(e, t, l, u, d, p) {
871
893
  onClose: e.closeDateRangePicker
872
894
  }, null, 8, ["ariaControls", "ariaExpanded", "aria-labelledby", "aria-describedby", "disabled", "is-invalid", "open", "display-value", "readonly", "onOpen", "onClear", "onClose"])
873
895
  ], 32),
874
- e.isDateIncorrect ? (b(), F(I, {
896
+ e.isDateIncorrect ? (b(), F(y, {
875
897
  key: 1,
876
898
  id: e.dateErrorId,
877
899
  "error-message": e.t("provideDateInAFormat"),
878
900
  class: "b-date-range-picker__error-message"
879
- }, null, 8, ["id", "error-message"])) : w("", !0),
880
- e.errorMessage ? (b(), F(I, {
901
+ }, null, 8, ["id", "error-message"])) : O("", !0),
902
+ e.errorMessage ? (b(), F(y, {
881
903
  key: 2,
882
904
  id: e.errorId,
883
905
  "error-message": e.errorMessage,
884
906
  class: "b-date-range-picker__error-message"
885
- }, null, 8, ["id", "error-message"])) : w("", !0),
907
+ }, null, 8, ["id", "error-message"])) : O("", !0),
886
908
  e.description ? (b(), F(R, {
887
909
  key: 3,
888
910
  id: e.descriptionId,
@@ -890,10 +912,10 @@ function Ga(e, t, l, u, d, p) {
890
912
  el: "span"
891
913
  }, {
892
914
  default: P(() => [
893
- q(la(e.description), 1)
915
+ G(oa(e.description), 1)
894
916
  ]),
895
917
  _: 1
896
- }, 8, ["id", "class"])) : w("", !0),
918
+ }, 8, ["id", "class"])) : O("", !0),
897
919
  e.inputContainerRef ? (b(), F(g, {
898
920
  key: 4,
899
921
  id: e.datePickerContainerId,
@@ -907,7 +929,7 @@ function Ga(e, t, l, u, d, p) {
907
929
  "fit-content": ""
908
930
  }, {
909
931
  default: P(() => [
910
- H(k, {
932
+ q(k, {
911
933
  "allow-time-input": e.allowTimeInput,
912
934
  "quick-select-ranges": e.quickSelectRanges,
913
935
  value: e.value,
@@ -927,16 +949,16 @@ function Ga(e, t, l, u, d, p) {
927
949
  }, null, 8, ["allow-time-input", "quick-select-ranges", "value", "first-day-of-week", "granularities", "is-date-disabled", "max-range", "min", "max", "number-of-months", "show-end-date-on-open", "date-form-data", "onCustomRange", "onInput", "onError", "onFormDate"])
928
950
  ]),
929
951
  _: 1
930
- }, 8, ["id", "open", "target-element", "aria-label"])) : w("", !0)
952
+ }, 8, ["id", "open", "target-element", "aria-label"])) : O("", !0)
931
953
  ])), [
932
954
  [U, e.closeDateRangePicker]
933
955
  ]);
934
956
  }
935
- const Dt = /* @__PURE__ */ $e(Ya, [["render", Ga], ["__scopeId", "data-v-63af5169"]]);
957
+ const dt = /* @__PURE__ */ Ne(La, [["render", Ya], ["__scopeId", "data-v-d11b2670"]]);
936
958
  export {
937
- Dt as B,
959
+ dt as B,
938
960
  C as D,
939
- Q as a,
940
- Oe as i
961
+ J as a,
962
+ Se as i
941
963
  };
942
- //# sourceMappingURL=date-range-picker.K2TeW8aX.js.map
964
+ //# sourceMappingURL=date-range-picker.BFm6Udzx.js.map