@adyen/bento-vue2 1.73.0 → 1.74.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 (327) hide show
  1. package/dist/@types/components.d.ts +2 -10
  2. package/dist/@types/index.d.ts +1521 -1711
  3. package/dist/@types/use-form-v4.d.ts +1 -1
  4. package/dist/accordion.js +1 -1
  5. package/dist/action-bar.js +1 -1
  6. package/dist/alert.js +1 -1
  7. package/dist/assets/accordion-item.css +1 -1
  8. package/dist/assets/action-bar.css +1 -1
  9. package/dist/assets/avatar.css +1 -1
  10. package/dist/assets/base-modal.css +1 -1
  11. package/dist/assets/button-actions.css +1 -1
  12. package/dist/assets/button.css +1 -1
  13. package/dist/assets/calendar.css +1 -1
  14. package/dist/assets/card.css +1 -1
  15. package/dist/assets/country.css +1 -1
  16. package/dist/assets/currency.css +1 -1
  17. package/dist/assets/data-grid.css +1 -1
  18. package/dist/assets/date-picker.css +1 -1
  19. package/dist/assets/date-range-picker.css +1 -1
  20. package/dist/assets/dialog-page.css +1 -1
  21. package/dist/assets/dropdown-default-textbox.css +1 -1
  22. package/dist/assets/dropdown-tag.css +1 -1
  23. package/dist/assets/dropdown.css +1 -1
  24. package/dist/assets/file-uploader.css +1 -1
  25. package/dist/assets/filter-bar.css +1 -1
  26. package/dist/assets/header-meta.css +1 -1
  27. package/dist/assets/header-with-views.css +1 -1
  28. package/dist/assets/input-field-password.css +1 -1
  29. package/dist/assets/input-field-phone-number.css +1 -1
  30. package/dist/assets/input-field.css +1 -1
  31. package/dist/assets/inspector.css +1 -1
  32. package/dist/assets/listbox-option-tag.css +1 -1
  33. package/dist/assets/loading-indicator.css +1 -1
  34. package/dist/assets/modal-fullscreen.css +1 -1
  35. package/dist/assets/pagination.css +1 -1
  36. package/dist/assets/popper-container.css +1 -1
  37. package/dist/assets/radio-group.css +1 -1
  38. package/dist/assets/secondary-nav.css +1 -1
  39. package/dist/assets/segmented-control.css +1 -1
  40. package/dist/assets/selection-card-group.css +1 -1
  41. package/dist/assets/sidepanel.css +1 -1
  42. package/dist/assets/step.css +1 -1
  43. package/dist/assets/tab.css +1 -1
  44. package/dist/assets/textarea.css +1 -1
  45. package/dist/assets/timeline-item.css +1 -1
  46. package/dist/assets/toggle.css +1 -1
  47. package/dist/assets/tooltip.css +1 -1
  48. package/dist/assets/tutorial.css +1 -1
  49. package/dist/assets/use-cached-selected-values.css +1 -1
  50. package/dist/avatar.js +1 -1
  51. package/dist/button.js +3 -3
  52. package/dist/card.js +1 -1
  53. package/dist/checkbox.js +2 -2
  54. package/dist/chip.js +1 -1
  55. package/dist/chunks/{accordion-item.CoqaoVnC.js → accordion-item.nQhXD2tV.js} +2 -2
  56. package/dist/chunks/{accordion-item.CoqaoVnC.js.map → accordion-item.nQhXD2tV.js.map} +1 -1
  57. package/dist/chunks/{action-bar.Bxrtx1Vj.js → action-bar.MXZTIUNk.js} +5 -5
  58. package/dist/chunks/{action-bar.Bxrtx1Vj.js.map → action-bar.MXZTIUNk.js.map} +1 -1
  59. package/dist/chunks/{ai-button.FRPkTHz6.js → ai-button.DBwtNkyS.js} +2 -2
  60. package/dist/chunks/{ai-button.FRPkTHz6.js.map → ai-button.DBwtNkyS.js.map} +1 -1
  61. package/dist/chunks/{alert.CMyL-zWT.js → alert.SZPP58tl.js} +3 -3
  62. package/dist/chunks/{alert.CMyL-zWT.js.map → alert.SZPP58tl.js.map} +1 -1
  63. package/dist/chunks/{avatar.KdcsNOsm.js → avatar.CeDqq2Z-.js} +3 -3
  64. package/dist/chunks/avatar.CeDqq2Z-.js.map +1 -0
  65. package/dist/chunks/{base-modal.DInbAZlp.js → base-modal.BMdlCSd0.js} +7 -7
  66. package/dist/chunks/base-modal.BMdlCSd0.js.map +1 -0
  67. package/dist/chunks/{button-actions-with-menu.BtWUxmSL.js → button-actions-with-menu.BFRkPi6g.js} +2 -2
  68. package/dist/chunks/{button-actions-with-menu.BtWUxmSL.js.map → button-actions-with-menu.BFRkPi6g.js.map} +1 -1
  69. package/dist/chunks/{button-actions.55vIvDsX.js → button-actions.B81vY51z.js} +11 -14
  70. package/dist/chunks/button-actions.B81vY51z.js.map +1 -0
  71. package/dist/chunks/button-actions.types.BptAXjD8.js.map +1 -1
  72. package/dist/chunks/{button.CilT7NmM.js → button.CS_kdxYh.js} +3 -3
  73. package/dist/chunks/button.CS_kdxYh.js.map +1 -0
  74. package/dist/chunks/{calendar.M69sfyB9.js → calendar.EfqJlztU.js} +191 -187
  75. package/dist/chunks/calendar.EfqJlztU.js.map +1 -0
  76. package/dist/chunks/{card.C11dmth8.js → card.VOCKI7Ad.js} +8 -8
  77. package/dist/chunks/card.VOCKI7Ad.js.map +1 -0
  78. package/dist/chunks/{checkbox-group.B85s9nzq.js → checkbox-group.DETXTJqI.js} +4 -4
  79. package/dist/chunks/{checkbox-group.B85s9nzq.js.map → checkbox-group.DETXTJqI.js.map} +1 -1
  80. package/dist/chunks/{checkbox.BOIfb1fc.js → checkbox.BPtHAAEa.js} +18 -18
  81. package/dist/chunks/{checkbox.BOIfb1fc.js.map → checkbox.BPtHAAEa.js.map} +1 -1
  82. package/dist/chunks/{chip.omQX_Ziq.js → chip.fqEIkR-s.js} +2 -2
  83. package/dist/chunks/{chip.omQX_Ziq.js.map → chip.fqEIkR-s.js.map} +1 -1
  84. package/dist/chunks/{code-snippet.Dsc6Zuas.js → code-snippet.VtrsOTEC.js} +7 -7
  85. package/dist/chunks/{code-snippet.Dsc6Zuas.js.map → code-snippet.VtrsOTEC.js.map} +1 -1
  86. package/dist/chunks/{controls-group.CWeUgE2P.js → controls-group.82mB_GDw.js} +2 -2
  87. package/dist/chunks/{controls-group.CWeUgE2P.js.map → controls-group.82mB_GDw.js.map} +1 -1
  88. package/dist/chunks/{copy._BdbMnHK.js → copy.WQDLcs_T.js} +5 -5
  89. package/dist/chunks/{copy._BdbMnHK.js.map → copy.WQDLcs_T.js.map} +1 -1
  90. package/dist/chunks/country.CGn5WjFx.js +69 -0
  91. package/dist/chunks/country.CGn5WjFx.js.map +1 -0
  92. package/dist/chunks/country.types.C0Q_hhgJ.js.map +1 -1
  93. package/dist/chunks/{currency.MT3baDtO.js → currency.DDB4G_A8.js} +52 -35
  94. package/dist/chunks/currency.DDB4G_A8.js.map +1 -0
  95. package/dist/chunks/{dashboard-section.e7ozaS9M.js → dashboard-section.jIpBvP6X.js} +3 -3
  96. package/dist/chunks/{dashboard-section.e7ozaS9M.js.map → dashboard-section.jIpBvP6X.js.map} +1 -1
  97. package/dist/chunks/{dashed-underline.CGU6o7ni.js → dashed-underline.K-l-7bDq.js} +3 -3
  98. package/dist/chunks/{dashed-underline.CGU6o7ni.js.map → dashed-underline.K-l-7bDq.js.map} +1 -1
  99. package/dist/chunks/{data-grid-template.BaPjUlZ2.js → data-grid-template.CozTcWQ0.js} +4 -4
  100. package/dist/chunks/{data-grid-template.BaPjUlZ2.js.map → data-grid-template.CozTcWQ0.js.map} +1 -1
  101. package/dist/chunks/{data-grid.BeClbIY3.js → data-grid.DN9xml8y.js} +334 -332
  102. package/dist/chunks/data-grid.DN9xml8y.js.map +1 -0
  103. package/dist/chunks/{date-input.BqBdAO1E.js → date-format.B8RU7D42.js} +6 -6
  104. package/dist/chunks/date-format.B8RU7D42.js.map +1 -0
  105. package/dist/chunks/date-picker.DoYYzWcA.js +158 -0
  106. package/dist/chunks/date-picker.DoYYzWcA.js.map +1 -0
  107. package/dist/chunks/date-range-picker.C_pJ8yH5.js +917 -0
  108. package/dist/chunks/date-range-picker.C_pJ8yH5.js.map +1 -0
  109. package/dist/chunks/{date.BTdCYdkj.js → date.C1z2TXzM.js} +2 -2
  110. package/dist/chunks/{date.BTdCYdkj.js.map → date.C1z2TXzM.js.map} +1 -1
  111. package/dist/chunks/debounce.DUTu11PS.js.map +1 -1
  112. package/dist/chunks/{dialog-page.LA_ZhbYa.js → dialog-page.D23qNwKW.js} +3 -3
  113. package/dist/chunks/dialog-page.D23qNwKW.js.map +1 -0
  114. package/dist/chunks/{dropdown-default-textbox.CDm-PQfc.js → dropdown-default-textbox.yLeN0E2z.js} +6 -6
  115. package/dist/chunks/dropdown-default-textbox.yLeN0E2z.js.map +1 -0
  116. package/dist/chunks/dropdown-tag.DBnurtCQ.js +245 -0
  117. package/dist/chunks/dropdown-tag.DBnurtCQ.js.map +1 -0
  118. package/dist/chunks/{dropdown.B4urOhfH.js → dropdown.BOvtYKXS.js} +124 -119
  119. package/dist/chunks/dropdown.BOvtYKXS.js.map +1 -0
  120. package/dist/chunks/{empty-state.DNTrhYUm.js → empty-state.BsdRxzS2.js} +2 -2
  121. package/dist/chunks/{empty-state.DNTrhYUm.js.map → empty-state.BsdRxzS2.js.map} +1 -1
  122. package/dist/chunks/es6.MoTTyETW.js.map +1 -1
  123. package/dist/chunks/{field-label.BKzuCnXr.js → field-label.Auq-Pzho.js} +3 -3
  124. package/dist/chunks/{field-label.BKzuCnXr.js.map → field-label.Auq-Pzho.js.map} +1 -1
  125. package/dist/chunks/{file-uploader.BEClGxsF.js → file-uploader.BGoCYrnw.js} +27 -28
  126. package/dist/chunks/file-uploader.BGoCYrnw.js.map +1 -0
  127. package/dist/chunks/{filter-bar.B0Dl_8-M.js → filter-bar.DzHJi42d.js} +680 -746
  128. package/dist/chunks/filter-bar.DzHJi42d.js.map +1 -0
  129. package/dist/chunks/{fixed-scroller.QCXpkadN.js → fixed-scroller.CgVOf5VE.js} +3 -3
  130. package/dist/chunks/{fixed-scroller.QCXpkadN.js.map → fixed-scroller.CgVOf5VE.js.map} +1 -1
  131. package/dist/chunks/focus-trap.BJfpIboH.js.map +1 -1
  132. package/dist/chunks/{footer-actions.BTELM6rh.js → footer-actions.CLq_kBwY.js} +3 -3
  133. package/dist/chunks/{footer-actions.BTELM6rh.js.map → footer-actions.CLq_kBwY.js.map} +1 -1
  134. package/dist/chunks/{form-layout-title.vQNmD6vk.js → form-layout-title.DoF6ovPB.js} +3 -3
  135. package/dist/chunks/{form-layout-title.vQNmD6vk.js.map → form-layout-title.DoF6ovPB.js.map} +1 -1
  136. package/dist/chunks/get-slot-text.BQS5Olxm.js.map +1 -1
  137. package/dist/chunks/{header-meta.DZYH-qg-.js → header-meta.uiIO1wHP.js} +30 -27
  138. package/dist/chunks/{header-meta.DZYH-qg-.js.map → header-meta.uiIO1wHP.js.map} +1 -1
  139. package/dist/chunks/{header-with-views.BWwSFABv.js → header-with-views.t5Fr63SD.js} +87 -87
  140. package/dist/chunks/header-with-views.t5Fr63SD.js.map +1 -0
  141. package/dist/chunks/{header.CQMiTG7f.js → header.DwSyDQ68.js} +3 -3
  142. package/dist/chunks/{header.CQMiTG7f.js.map → header.DwSyDQ68.js.map} +1 -1
  143. package/dist/chunks/index.B6WW_F-J.js +31 -0
  144. package/dist/chunks/index.B6WW_F-J.js.map +1 -0
  145. package/dist/chunks/{info-icon.fB7jf3NJ.js → info-icon.Bhka3oGh.js} +3 -3
  146. package/dist/chunks/{info-icon.fB7jf3NJ.js.map → info-icon.Bhka3oGh.js.map} +1 -1
  147. package/dist/chunks/{input-field-password.BdZrUcJy.js → input-field-password.Dm3HYonF.js} +24 -24
  148. package/dist/chunks/input-field-password.Dm3HYonF.js.map +1 -0
  149. package/dist/chunks/{input-field-phone-number.Bm0n9ycw.js → input-field-phone-number.bZauIuHJ.js} +1147 -1150
  150. package/dist/chunks/{input-field-phone-number.Bm0n9ycw.js.map → input-field-phone-number.bZauIuHJ.js.map} +1 -1
  151. package/dist/chunks/{input-field.DYVXuVxT.js → input-field.D52XYEzU.js} +5 -5
  152. package/dist/chunks/input-field.D52XYEzU.js.map +1 -0
  153. package/dist/chunks/{inspector.g3OErNAU.js → inspector.pmpheRch.js} +4 -4
  154. package/dist/chunks/inspector.pmpheRch.js.map +1 -0
  155. package/dist/chunks/keyboard-navigation.pB8weElW.js.map +1 -1
  156. package/dist/chunks/{link.C4htMrDV.js → link.D8qpqg3W.js} +2 -2
  157. package/dist/chunks/{link.C4htMrDV.js.map → link.D8qpqg3W.js.map} +1 -1
  158. package/dist/chunks/{listbox-option-tag.UaD4kmXc.js → listbox-option-tag.Dl8GwHLT.js} +3 -3
  159. package/dist/chunks/listbox-option-tag.Dl8GwHLT.js.map +1 -0
  160. package/dist/chunks/loading-indicator.PxbRzshH.js +42 -0
  161. package/dist/chunks/loading-indicator.PxbRzshH.js.map +1 -0
  162. package/dist/chunks/{modal-fullscreen.B-9Ke6Ya.js → modal-fullscreen.BSKm6yn_.js} +6 -6
  163. package/dist/chunks/{modal-fullscreen.B-9Ke6Ya.js.map → modal-fullscreen.BSKm6yn_.js.map} +1 -1
  164. package/dist/chunks/{modal.qybFapnI.js → modal.Bp5twyjz.js} +6 -6
  165. package/dist/chunks/{modal.qybFapnI.js.map → modal.Bp5twyjz.js.map} +1 -1
  166. package/dist/chunks/on-click-outside.D9aY9g8G.js.map +1 -1
  167. package/dist/chunks/{pagination.CcH5IWXH.js → pagination.CKD9FDrA.js} +5 -5
  168. package/dist/chunks/pagination.CKD9FDrA.js.map +1 -0
  169. package/dist/chunks/popover.types.DK6opPkz.js +6 -0
  170. package/dist/chunks/{popover.types.iyDoIAOE.js.map → popover.types.DK6opPkz.js.map} +1 -1
  171. package/dist/chunks/{popper-container.C9KCAJxI.js → popper-container.agLYtGwv.js} +2 -2
  172. package/dist/chunks/{popper-container.C9KCAJxI.js.map → popper-container.agLYtGwv.js.map} +1 -1
  173. package/dist/chunks/{promo-banner.MI5NC2UT.js → promo-banner.DikQcQU2.js} +3 -3
  174. package/dist/chunks/promo-banner.DikQcQU2.js.map +1 -0
  175. package/dist/chunks/radio-group.AcYMFudv.js +177 -0
  176. package/dist/chunks/radio-group.AcYMFudv.js.map +1 -0
  177. package/dist/chunks/{rich-text-editor.EU6Dltjl.js → rich-text-editor.BZgQ578S.js} +7 -7
  178. package/dist/chunks/{rich-text-editor.EU6Dltjl.js.map → rich-text-editor.BZgQ578S.js.map} +1 -1
  179. package/dist/chunks/{search-bar.PC1n90UR.js → search-bar.c-w7Uky2.js} +4 -4
  180. package/dist/chunks/{search-bar.PC1n90UR.js.map → search-bar.c-w7Uky2.js.map} +1 -1
  181. package/dist/chunks/{secondary-nav.BXGVjZJX.js → secondary-nav.D69COlqF.js} +9 -9
  182. package/dist/chunks/secondary-nav.D69COlqF.js.map +1 -0
  183. package/dist/chunks/{segmented-control.Dc34mUMM.js → segmented-control.Cma_nu0G.js} +17 -16
  184. package/dist/chunks/segmented-control.Cma_nu0G.js.map +1 -0
  185. package/dist/chunks/segmented-control.types.BHRLV8KU.js.map +1 -1
  186. package/dist/chunks/{selection-card-group.VAJ3ifoH.js → selection-card-group.8UIir78G.js} +11 -11
  187. package/dist/chunks/selection-card-group.8UIir78G.js.map +1 -0
  188. package/dist/chunks/{sidepanel.uWNc58r7.js → sidepanel.A9yG4FP_.js} +12 -12
  189. package/dist/chunks/{sidepanel.uWNc58r7.js.map → sidepanel.A9yG4FP_.js.map} +1 -1
  190. package/dist/chunks/{step.D8blWwfR.js → step.TzzZSA9f.js} +4 -4
  191. package/dist/chunks/step.TzzZSA9f.js.map +1 -0
  192. package/dist/chunks/{structured-list-item.BLalgOps.js → structured-list-item.CMsVwwA6.js} +6 -6
  193. package/dist/chunks/{structured-list-item.BLalgOps.js.map → structured-list-item.CMsVwwA6.js.map} +1 -1
  194. package/dist/chunks/{summary-grid.types.DqzYJ9_N.js → summary-grid.types.B80533d1.js} +6 -6
  195. package/dist/chunks/{summary-grid.types.DqzYJ9_N.js.map → summary-grid.types.B80533d1.js.map} +1 -1
  196. package/dist/chunks/{tab.D8YyoNFV.js → tab.CTui3j3e.js} +3 -3
  197. package/dist/chunks/tab.CTui3j3e.js.map +1 -0
  198. package/dist/chunks/{tag.Tjg4linG.js → tag.BwKc2d2E.js} +2 -2
  199. package/dist/chunks/{tag.Tjg4linG.js.map → tag.BwKc2d2E.js.map} +1 -1
  200. package/dist/chunks/textarea.CIQuLWQ8.js +165 -0
  201. package/dist/chunks/textarea.CIQuLWQ8.js.map +1 -0
  202. package/dist/chunks/{timeline-item.DaRKHndA.js → timeline-item.VSw9vKdO.js} +10 -10
  203. package/dist/chunks/timeline-item.VSw9vKdO.js.map +1 -0
  204. package/dist/chunks/{toast.gMDjItrP.js → toast.B4J4V6n-.js} +3 -3
  205. package/dist/chunks/{toast.gMDjItrP.js.map → toast.B4J4V6n-.js.map} +1 -1
  206. package/dist/chunks/toggle.BJMXpHRu.js +108 -0
  207. package/dist/chunks/toggle.BJMXpHRu.js.map +1 -0
  208. package/dist/chunks/{tooltip.DOD_4rkI.js → tooltip.D3SDcRef.js} +64 -68
  209. package/dist/chunks/tooltip.D3SDcRef.js.map +1 -0
  210. package/dist/chunks/{tutorial.BwnRyUoh.js → tutorial.B32GMtIj.js} +6 -6
  211. package/dist/chunks/tutorial.B32GMtIj.js.map +1 -0
  212. package/dist/chunks/{use-cached-selected-values.C7j6YhuC.js → use-cached-selected-values.IsfhJHxQ.js} +19 -19
  213. package/dist/chunks/use-cached-selected-values.IsfhJHxQ.js.map +1 -0
  214. package/dist/chunks/{use-country-items.DFdM2Ank.js → use-country-items.B3Cd3Tdo.js} +2 -2
  215. package/dist/chunks/use-country-items.B3Cd3Tdo.js.map +1 -0
  216. package/dist/chunks/use-country-phon-code.Bui3zD6W.js.map +1 -1
  217. package/dist/chunks/use-default-slot-validator.BDn0wkYP.js.map +1 -1
  218. package/dist/chunks/use-has-slot.C9lQZ6nz.js.map +1 -1
  219. package/dist/code-snippet.js +1 -1
  220. package/dist/country.js +1 -1
  221. package/dist/currency.js +1 -1
  222. package/dist/dashboard-template.js +1 -1
  223. package/dist/dashed-underline.js +1 -1
  224. package/dist/data-grid-template.js +1 -1
  225. package/dist/data-grid.js +1 -1
  226. package/dist/date-picker.js +5 -4
  227. package/dist/date-range-picker.js +5 -4
  228. package/dist/date.js +1 -1
  229. package/dist/dropdown.js +4 -4
  230. package/dist/empty-state.js +1 -1
  231. package/dist/file-uploader.js +1 -1
  232. package/dist/filter-bar.js +5 -4
  233. package/dist/form-layout.js +1 -1
  234. package/dist/header-with-views.js +1 -1
  235. package/dist/header.js +1 -1
  236. package/dist/index.js +405 -329
  237. package/dist/index.js.map +1 -1
  238. package/dist/info-icon.js +1 -1
  239. package/dist/input-field-password.js +1 -1
  240. package/dist/input-field-phone-number.js +1 -1
  241. package/dist/input-field.js +1 -1
  242. package/dist/inspector.js +1 -1
  243. package/dist/internal.js +12 -12
  244. package/dist/link.js +1 -1
  245. package/dist/loading-indicator.js +1 -1
  246. package/dist/menu.js +1 -1
  247. package/dist/modal-fullscreen.js +1 -1
  248. package/dist/modal.js +2 -2
  249. package/dist/pagination.js +1 -1
  250. package/dist/popover.js +2 -2
  251. package/dist/popper-container.js +1 -1
  252. package/dist/promo-banner.js +1 -1
  253. package/dist/radio-group.js +1 -1
  254. package/dist/rich-text-editor.js +1 -1
  255. package/dist/search-bar.js +2 -2
  256. package/dist/secondary-nav.js +1 -1
  257. package/dist/segmented-control.js +1 -1
  258. package/dist/selection-card.js +1 -1
  259. package/dist/sidepanel.js +1 -1
  260. package/dist/stepper.js +1 -1
  261. package/dist/structured-list.js +1 -1
  262. package/dist/styles/bento-dark.css +5 -2
  263. package/dist/styles/bento-light.css +5 -2
  264. package/dist/styles/bento.css +5 -2
  265. package/dist/styles/legacy.css +5 -2
  266. package/dist/styles/styleguide.css +5 -2
  267. package/dist/summary-grid.js +1 -1
  268. package/dist/tabs.js +1 -1
  269. package/dist/tag.js +1 -1
  270. package/dist/textarea.js +1 -1
  271. package/dist/timeline.js +1 -1
  272. package/dist/toast.js +1 -1
  273. package/dist/toggle.js +1 -1
  274. package/dist/tutorial.js +1 -1
  275. package/dist/use-form-v4.js.map +1 -1
  276. package/dist/web-types.json +1280 -1028
  277. package/package.json +12 -12
  278. package/dist/chunks/avatar.KdcsNOsm.js.map +0 -1
  279. package/dist/chunks/base-modal.DInbAZlp.js.map +0 -1
  280. package/dist/chunks/button-actions.55vIvDsX.js.map +0 -1
  281. package/dist/chunks/button.CilT7NmM.js.map +0 -1
  282. package/dist/chunks/calendar.M69sfyB9.js.map +0 -1
  283. package/dist/chunks/card.C11dmth8.js.map +0 -1
  284. package/dist/chunks/country.1yIZNjdj.js +0 -94
  285. package/dist/chunks/country.1yIZNjdj.js.map +0 -1
  286. package/dist/chunks/currency.MT3baDtO.js.map +0 -1
  287. package/dist/chunks/data-grid.BeClbIY3.js.map +0 -1
  288. package/dist/chunks/date-input.BqBdAO1E.js.map +0 -1
  289. package/dist/chunks/date-picker.CGTMHUNH.js +0 -240
  290. package/dist/chunks/date-picker.CGTMHUNH.js.map +0 -1
  291. package/dist/chunks/date-range-picker.DR2nDLqc.js +0 -974
  292. package/dist/chunks/date-range-picker.DR2nDLqc.js.map +0 -1
  293. package/dist/chunks/dialog-page.LA_ZhbYa.js.map +0 -1
  294. package/dist/chunks/dropdown-default-textbox.CDm-PQfc.js.map +0 -1
  295. package/dist/chunks/dropdown-tag.CUwoeCwu.js +0 -306
  296. package/dist/chunks/dropdown-tag.CUwoeCwu.js.map +0 -1
  297. package/dist/chunks/dropdown.B4urOhfH.js.map +0 -1
  298. package/dist/chunks/file-uploader.BEClGxsF.js.map +0 -1
  299. package/dist/chunks/filter-bar.B0Dl_8-M.js.map +0 -1
  300. package/dist/chunks/header-with-views.BWwSFABv.js.map +0 -1
  301. package/dist/chunks/i18n.BQkEbtPM.js +0 -31
  302. package/dist/chunks/i18n.BQkEbtPM.js.map +0 -1
  303. package/dist/chunks/input-field-password.BdZrUcJy.js.map +0 -1
  304. package/dist/chunks/input-field.DYVXuVxT.js.map +0 -1
  305. package/dist/chunks/inspector.g3OErNAU.js.map +0 -1
  306. package/dist/chunks/listbox-option-tag.UaD4kmXc.js.map +0 -1
  307. package/dist/chunks/loading-indicator.DXc7I1Lm.js +0 -48
  308. package/dist/chunks/loading-indicator.DXc7I1Lm.js.map +0 -1
  309. package/dist/chunks/pagination.CcH5IWXH.js.map +0 -1
  310. package/dist/chunks/popover.types.iyDoIAOE.js +0 -6
  311. package/dist/chunks/promo-banner.MI5NC2UT.js.map +0 -1
  312. package/dist/chunks/radio-group.BuDqrwGq.js +0 -231
  313. package/dist/chunks/radio-group.BuDqrwGq.js.map +0 -1
  314. package/dist/chunks/secondary-nav.BXGVjZJX.js.map +0 -1
  315. package/dist/chunks/segmented-control.Dc34mUMM.js.map +0 -1
  316. package/dist/chunks/selection-card-group.VAJ3ifoH.js.map +0 -1
  317. package/dist/chunks/step.D8blWwfR.js.map +0 -1
  318. package/dist/chunks/tab.D8YyoNFV.js.map +0 -1
  319. package/dist/chunks/textarea.DUPV-I-L.js +0 -214
  320. package/dist/chunks/textarea.DUPV-I-L.js.map +0 -1
  321. package/dist/chunks/timeline-item.DaRKHndA.js.map +0 -1
  322. package/dist/chunks/toggle.Ct-5NUGu.js +0 -121
  323. package/dist/chunks/toggle.Ct-5NUGu.js.map +0 -1
  324. package/dist/chunks/tooltip.DOD_4rkI.js.map +0 -1
  325. package/dist/chunks/tutorial.BwnRyUoh.js.map +0 -1
  326. package/dist/chunks/use-cached-selected-values.C7j6YhuC.js.map +0 -1
  327. package/dist/chunks/use-country-items.DFdM2Ank.js.map +0 -1
@@ -1,974 +0,0 @@
1
- import { reactive as ve, defineComponent as Ye, ref as A, computed as I, onMounted as je, toRaw as Te, toRef as Ee, watch as ye } from "vue";
2
- import { B as it } from "./divider.CFbtmKeQ.js";
3
- import { h as lt, B as ot } from "./button-actions.55vIvDsX.js";
4
- import { B as Qe, d as ut } from "./typography.hlOAxsEn.js";
5
- import { D as dt } from "./dropdown-default-textbox.CDm-PQfc.js";
6
- import { e as N, a as he, g as _e } from "./get-date-locale.CAyOIbcp.js";
7
- import { g as oe } from "./generate-uid.NJ8tVoha.js";
8
- import { u as Re } from "./i18n.BQkEbtPM.js";
9
- import { e as $e, t as ne, g as ue, i as B, h as F, j as Oe, k as ct, l as we, m as Dt, s as Me, n as mt, o as Ce, a as G, u as ft, f as ae } from "./calendar.M69sfyB9.js";
10
- import { r as w, t as j } from "./index.BrH1t1iu.js";
11
- import { f as xe, v as vt, D as k } from "./date-input.BqBdAO1E.js";
12
- import { u as pt } from "./use-form-layout-loading.D3lALhtC.js";
13
- import "./index.Cl4_42j5.js";
14
- import { B as gt } from "./input-field.DYVXuVxT.js";
15
- import { B as yt } from "./dropdown.B4urOhfH.js";
16
- import { B as Tt } from "./segmented-control.Dc34mUMM.js";
17
- import { d as De } from "./debounce.DUTu11PS.js";
18
- import { u as _t } from "./use-has-slot.C9lQZ6nz.js";
19
- import { n as Ge } from "./_plugin-vue2_normalizer.CeySl7Fu.js";
20
- import { B as Rt } from "./directive.Cbdox5VL.js";
21
- import { F as It, E as St } from "./field-label.BKzuCnXr.js";
22
- import { B as bt } from "./button-actions.types.BptAXjD8.js";
23
- import "../assets/date-range-picker.css";
24
- function He(t, e) {
25
- w(2, arguments);
26
- var n = ne(e), r = n * 3;
27
- return $e(t, r);
28
- }
29
- function Ae(t) {
30
- w(1, arguments);
31
- var e = j(t), n = Math.floor(e.getMonth() / 3) + 1;
32
- return n;
33
- }
34
- function Fe(t) {
35
- return w(1, arguments), j(t).getFullYear();
36
- }
37
- function me(t, e) {
38
- w(2, arguments);
39
- var n = j(t), r = j(e);
40
- return n.getTime() === r.getTime();
41
- }
42
- function kt(t, e) {
43
- w(2, arguments);
44
- var n = ue(t), r = ue(e);
45
- return n.getTime() === r.getTime();
46
- }
47
- function Ue(t) {
48
- w(1, arguments);
49
- var e = j(t);
50
- return e.setMilliseconds(0), e;
51
- }
52
- function Be(t, e) {
53
- w(2, arguments);
54
- var n = Ue(t), r = Ue(e);
55
- return n.getTime() === r.getTime();
56
- }
57
- function Et(t) {
58
- return w(1, arguments), B(t, Date.now());
59
- }
60
- function ht(t, e) {
61
- w(2, arguments);
62
- var n = j(t), r = ne(e);
63
- return n.setHours(r), n;
64
- }
65
- function Pe(t, e) {
66
- w(2, arguments);
67
- var n = j(t), r = ne(e);
68
- return n.setMilliseconds(r), n;
69
- }
70
- function Ot(t, e) {
71
- w(2, arguments);
72
- var n = j(t), r = ne(e);
73
- return n.setMinutes(r), n;
74
- }
75
- function wt(t, e) {
76
- w(2, arguments);
77
- var n = j(t), r = ne(e);
78
- return n.setSeconds(r), n;
79
- }
80
- function Mt(t, e) {
81
- w(2, arguments);
82
- var n = ne(e);
83
- return He(t, -n);
84
- }
85
- function J(t) {
86
- if (t == null)
87
- return F(/* @__PURE__ */ new Date());
88
- const [e, n, r] = t.split("-").map((l) => parseInt(l, 10));
89
- return new Date(e, n - 1, r);
90
- }
91
- const Ct = ({
92
- firstDayOfWeek: t,
93
- min: e,
94
- max: n
95
- }) => ({ getGranularCalendarLimits: (l) => {
96
- let c = F(e), m = N(n);
97
- if ((l == null ? void 0 : l.type) === "weekly") {
98
- if (l.earliest)
99
- c = F(l.earliest);
100
- else {
101
- const _ = Oe(c, { weekStartsOn: t });
102
- B(c, _) || (c = F(ct(we(c, { weekStartsOn: t }), 1)));
103
- }
104
- if (l.latest)
105
- m = N(l.latest);
106
- else {
107
- const _ = we(m, { weekStartsOn: t });
108
- B(m, _) || (m = N(Dt(Oe(m, { weekStartsOn: t }), 1)));
109
- }
110
- }
111
- if ((l == null ? void 0 : l.type) === "monthly") {
112
- if (l.earliest)
113
- c = F(l.earliest);
114
- else {
115
- const _ = Me(c);
116
- B(c, _) || (c = Me($e(c, 1)));
117
- }
118
- if (l.latest)
119
- m = N(l.latest);
120
- else {
121
- const _ = he(m);
122
- B(m, _) || (m = he(mt(m, 1)));
123
- }
124
- }
125
- if ((l == null ? void 0 : l.type) === "quarterly") {
126
- if (l.earliest)
127
- c = ue(l.earliest);
128
- else {
129
- const _ = ue(c);
130
- B(c, _) || (c = ue(He(c, 1)));
131
- }
132
- if (l.latest)
133
- m = N(l.latest);
134
- else {
135
- const _ = Ce(m);
136
- B(m, _) || (m = Ce(Mt(m, 1)));
137
- }
138
- }
139
- return { min: c, max: m };
140
- } }), xt = () => {
141
- const t = ve({
142
- daily: null,
143
- weekly: null,
144
- monthly: null,
145
- quarterly: null
146
- });
147
- return {
148
- savedRanges: t,
149
- saveRange: (r, l) => {
150
- t[r] = l;
151
- },
152
- resetSavedRanges: () => {
153
- t.daily = null, t.weekly = null, t.monthly = null, t.quarterly = null;
154
- }
155
- };
156
- };
157
- 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 || {});
158
- const At = /[\d]/, Ft = /^\d{2}$/, Ut = /^\d{2}:\d{2}$/, Bt = (t) => {
159
- const { selectionStart: e } = t.target, n = ["Backspace", "Tab", "ArrowLeft", "ArrowRight"], r = At.test(t.key) || n.includes(t.key), l = [1, 2, 4, 5].includes(e) && t.key === ":";
160
- !r && !l && t.preventDefault();
161
- }, Ne = (t) => {
162
- if (!t)
163
- return t;
164
- let e = t;
165
- if (e.length === 1 && parseInt(t, 10) > 2)
166
- return `0${e}:`;
167
- const [n, r] = e.slice(-2);
168
- return [2, 5].includes(e.length) && r === ":" && (e = `${e.slice(0, e.length - 2)}0${n}`), (Ft.test(e) || Ut.test(e)) && (e += ":"), e;
169
- }, Pt = {
170
- "en-US": {
171
- customRange: "Custom range",
172
- daily: "Daily",
173
- dateFrom: "Date from",
174
- dateTo: "Date to",
175
- lastMonth: "Last month",
176
- lastSevenDays: "Last 7 days",
177
- lastThreeMonths: "Last three months",
178
- monthly: "Monthly",
179
- quarterly: "Quarterly",
180
- timeFrom: "Time from",
181
- timeTo: "Time to",
182
- weekly: "Weekly"
183
- },
184
- "ja-JP": {
185
- customRange: "カスタム範囲を選択",
186
- daily: "毎日",
187
- lastMonth: "先月",
188
- lastSevenDays: "過去7日間",
189
- monthly: "毎月",
190
- weekly: "毎週"
191
- },
192
- "pt-BR": {
193
- customRange: "Selecione um intervalo personalizado",
194
- daily: "Diário",
195
- lastMonth: "Último mês",
196
- lastSevenDays: "Últimos 7 dias",
197
- monthly: "Mensal",
198
- weekly: "Semanal"
199
- }
200
- }, qe = 300, Le = "customRange", Nt = Ye({
201
- i18n: { messages: Pt },
202
- name: "date-range-picker-calendar",
203
- components: {
204
- BentoDropdown: yt,
205
- BentoInputField: gt,
206
- BentoSegmentedControl: Tt,
207
- BentoTypography: Qe,
208
- Calendar: G
209
- },
210
- props: {
211
- /**
212
- * Allows user to enter time values in the form
213
- */
214
- allowTimeInput: { type: Boolean, default: !1 },
215
- /**
216
- * Ranges form persistance data
217
- */
218
- dateFormData: {
219
- type: Object,
220
- default: () => ({ startDate: void 0, endDate: void 0, startTime: void 0, endTime: void 0 })
221
- },
222
- /**
223
- * Allows you to set the first day of the week. 0 is sunday, 1 is monday, 6 is saturday
224
- */
225
- firstDayOfWeek: G.props.firstDayOfWeek,
226
- /**
227
- * A list of available granularities.
228
- * If present, the date picker will display a segmented control to change granularity.
229
- */
230
- granularities: {
231
- type: Array,
232
- default: null
233
- },
234
- /**
235
- * Indicate if a date should be disabled or not
236
- */
237
- isDateDisabled: G.props.isDateDisabled,
238
- /**
239
- * Set a maximum number of dates to be selectable by the range.
240
- */
241
- maxRange: G.props.maxRange,
242
- /**
243
- * Sets a minimum limit for selectable dates - dates before `min` will not be selectable
244
- */
245
- min: G.props.min,
246
- /**
247
- * Sets a maximum limit for selectable dates - dates after `max` will not be selectable
248
- */
249
- max: G.props.max,
250
- /**
251
- * Number of months rendered on pane
252
- */
253
- numberOfMonths: G.props.numberOfMonths,
254
- /**
255
- * Displays the end date's month when the calendar is opened. Defaults to false i.e. the start date's month is displayed.
256
- */
257
- showEndDateOnOpen: { type: Boolean, default: !1 },
258
- /**
259
- * Enables the custom range selector.
260
- * If provided, must be an array that sets the custom range dropdown items. Items are of the structure:
261
- * `label` - label of custom range item.
262
- * `value` - a unique key of the custom range item.
263
- * `data` - an object `{ startDate: Date; endDate: Date }` to set the date picker range to upon selecting.
264
- */
265
- quickSelectRanges: {
266
- type: Array,
267
- default: void 0
268
- },
269
- /**
270
- * Selected date
271
- */
272
- value: { type: Object, default: void 0 },
273
- /**
274
- * The type of calendar to display. Defaults to showing days.
275
- */
276
- variant: G.props.variant
277
- },
278
- emits: [
279
- p.CUSTOM_RANGE,
280
- p.INPUT,
281
- p.ERROR,
282
- p.FORM_DATE,
283
- p.START_DATE_SELECTED
284
- ],
285
- setup(t, { emit: e, slots: n }) {
286
- var Ie, Se, be, ke;
287
- const { locale: r, t: l } = Re(), c = _e(), m = A({}), _ = I(() => t.variant === "month" ? "monthly" : "daily"), s = ve({
288
- startDate: (Ie = t.value) == null ? void 0 : Ie.startDate,
289
- endDate: (Se = t.value) == null ? void 0 : Se.endDate,
290
- range: (be = t.value) == null ? void 0 : be.range,
291
- ...t.granularities ? {
292
- granularity: ((ke = t.value) == null ? void 0 : ke.granularity) || _.value
293
- } : {}
294
- });
295
- function v(a) {
296
- return a ? new Date(
297
- a.getUTCFullYear(),
298
- a.getUTCMonth(),
299
- a.getUTCDate(),
300
- a.getUTCHours(),
301
- a.getUTCMinutes(),
302
- a.getUTCSeconds()
303
- ) : null;
304
- }
305
- const b = I(() => {
306
- var a, o;
307
- return (
308
- // eslint-disable-next-line consistent-return
309
- ((o = (a = t == null ? void 0 : t.quickSelectRanges) == null ? void 0 : a.find(({ value: d, data: u }) => {
310
- var S;
311
- if (!u.endDate) {
312
- if (u.isRelativeToNow) {
313
- const O = (S = m.value) == null ? void 0 : S[d];
314
- return O ? me(
315
- v(O.startDate),
316
- v(s.startDate)
317
- ) && me(
318
- v(O.endDate),
319
- v(s.endDate)
320
- ) : (
321
- // If not stored calculated dates, fall back to comparing the quick select item's value
322
- // with the internal range's stored range identifier.
323
- d === s.range
324
- );
325
- }
326
- return me(
327
- v(u.startDate),
328
- v(s.startDate)
329
- ) && me(
330
- v(s.endDate),
331
- v(N(s.endDate))
332
- ) && Et(v(s.endDate)) && (t.granularities ? u.granularity === s.granularity : !0);
333
- }
334
- if (t.allowTimeInput)
335
- return Be(
336
- v(u.startDate),
337
- v(s.startDate)
338
- ) && Be(
339
- v(u.endDate),
340
- v(s.endDate)
341
- ) && (t.granularities ? u.granularity === s.granularity : !0);
342
- if (u.endDate)
343
- return B(u.startDate, s.startDate) && B(u.endDate, s.endDate) && (t.granularities ? u.granularity === s.granularity : !0);
344
- })) == null ? void 0 : o.value) ?? Le
345
- );
346
- }), de = I(() => ({
347
- "b-date-range-picker-calendar__form-input-wrapper": t.allowTimeInput
348
- })), re = I(() => [
349
- { label: l("customRange"), value: Le },
350
- ...t.quickSelectRanges ? t.quickSelectRanges : []
351
- ]), y = I(
352
- () => {
353
- var a;
354
- return ((a = t.granularities) == null ? void 0 : a.find(({ type: o }) => o === s.granularity)) || null;
355
- }
356
- ), X = I(
357
- () => {
358
- var a;
359
- return ((a = t.granularities) == null ? void 0 : a.map(({ type: o, disabled: d }) => ({
360
- label: l(o),
361
- value: o,
362
- disabled: d
363
- }))) ?? [];
364
- }
365
- ), { getGranularCalendarLimits: h } = Ct(t), T = I(
366
- () => t.granularities ? h(y.value) : { min: F(t.min), max: N(t.max) }
367
- ), {
368
- adjustDateForQuarterly: M,
369
- adjustDateForMonthly: H,
370
- adjustDateForWeekly: Z,
371
- adjustStartDateInputForWeekly: ee,
372
- adjustEndDateInputForWeekly: q,
373
- adjustStartDateInputForMonthly: g,
374
- adjustEndDateInputForMonthly: te,
375
- adjustStartDateInputForQuarterly: se,
376
- adjustEndDateInputForQuarterly: V
377
- } = ft(t.firstDayOfWeek), { savedRanges: U, saveRange: C, resetSavedRanges: x } = xt(), f = (a) => a ? ae(a, k.NUMERIC_DATE_YEAR_FIRST, {
378
- locale: c[r.value.substring(0, 2)] || c.enUS
379
- }) : "", E = (a) => a ? ae(a, k.HOUR_MINUTE_SECONDS, {
380
- locale: c[r.value.substring(0, 2)] || c.enUS
381
- }) : "", W = A(!1), K = A(!1), L = A(!1), Q = A(!1), i = ve({
382
- startDate: t.dateFormData.startDate,
383
- endDate: t.dateFormData.endDate,
384
- startTime: t.dateFormData.startTime,
385
- endTime: t.dateFormData.endTime
386
- }), pe = (a, o) => {
387
- let d = new Date(a);
388
- const [u, S, O] = o.split(":");
389
- return d = ht(d, parseInt(u, 10)), d = Ot(d, parseInt(S, 10)), d = wt(d, parseInt(O, 10)), d;
390
- }, ge = (a) => /^(?:[01]\d|2[01234]):(?:[012345]\d):(?:[012345]\d)$/.test(a), ie = (a, o) => {
391
- const d = () => {
392
- if (o && R(o)) {
393
- const u = pe(new Date(o), a);
394
- if (t.min && u < Pe(t.min, 0) || t.max && u > Pe(t.max, 0))
395
- return !1;
396
- }
397
- return !0;
398
- };
399
- return ge(a) && d();
400
- }, P = (a, o) => !o || !ge(o) || t.variant === "month" ? a : pe(new Date(a), o), D = (a) => {
401
- i.startTime = E(
402
- t.min && t.allowTimeInput && B(t.min, a.startDate) ? t.min : F(a.startDate)
403
- ), i.endTime = E(
404
- t.max && t.allowTimeInput && B(t.max, a.endDate) ? t.max : N(a.endDate)
405
- ), s.startDate = P(a.startDate, i.startTime), s.endDate = P(a.endDate, i.endTime), s.range = null, t.granularities && x(), e(p.INPUT, {
406
- ...s,
407
- range: b.value
408
- });
409
- }, R = (a) => {
410
- const o = (u) => t.min && F(u) < F(t.min) || t.max && F(u) > F(t.max) ? !1 : t.isDateDisabled ? !t.isDateDisabled(F(u)) : !0;
411
- return /^\d{4}-(0?[1-9]|1[012])-(0?[1-9]|[12][0-9]|3[01])$/.test(a) && o(new Date(a));
412
- };
413
- je(() => {
414
- W.value = !!(t.dateFormData.startDate && !R(t.dateFormData.startDate)), t.allowTimeInput ? L.value = !!(t.dateFormData.startTime && !ie(t.dateFormData.startTime, t.dateFormData.startDate)) : L.value = !1, K.value = !!(t.dateFormData.endDate && !R(t.dateFormData.endDate)), t.allowTimeInput ? Q.value = !!(t.dateFormData.endTime && !ie(t.dateFormData.endTime, t.dateFormData.endDate)) : Q.value = !1;
415
- });
416
- const z = (a) => {
417
- var o;
418
- i.startDate = f(a), i.startTime ? L.value && (i.startTime = (o = t.dateFormData) == null ? void 0 : o.startTime) : i.startTime = E(a), W.value = !1, L.value = !1, e(p.START_DATE_SELECTED, a);
419
- }, $ = (a) => {
420
- var o;
421
- i.endDate = f(a), i.endTime ? Q.value && (i.endTime = (o = t.dateFormData) == null ? void 0 : o.endTime) : i.endTime = E(N(a)), K.value = !1, Q.value = !1;
422
- }, le = (a) => {
423
- const o = t.value[a];
424
- if (o)
425
- return o;
426
- if (t.dateFormData[a] && R(t.dateFormData[a]))
427
- return new Date(t.dateFormData[a]);
428
- }, Ve = De((a) => {
429
- var o;
430
- if (R(a)) {
431
- let d = a;
432
- switch (W.value = !1, (o = y.value) == null ? void 0 : o.type) {
433
- case "weekly":
434
- d = ee(
435
- a,
436
- f,
437
- T.value.min,
438
- T.value.max
439
- ), i.startDate = d;
440
- break;
441
- case "monthly":
442
- d = g(
443
- a,
444
- f,
445
- T.value.min,
446
- T.value.max
447
- ), i.startDate = d;
448
- break;
449
- case "quarterly":
450
- d = se(
451
- a,
452
- f,
453
- T.value.min,
454
- T.value.max
455
- ), i.startDate = d;
456
- break;
457
- }
458
- const u = J(d);
459
- s.startDate = P(u, i.startTime), s.endDate = P(
460
- J(i.endDate),
461
- i.endTime
462
- ), R(i.endDate) && (s.endDate = P(
463
- J(i.endDate),
464
- i.endTime
465
- ));
466
- const S = le("endDate");
467
- s.range = null, e(p.FORM_DATE, {
468
- startDate: u,
469
- endDate: S
470
- }), e(p.INPUT, {
471
- ...s,
472
- range: b.value
473
- });
474
- } else
475
- W.value = !0, e(p.ERROR, { ...i });
476
- }, qe), We = (a) => {
477
- i.startDate = xe(a), Ve(i.startDate);
478
- }, Ke = De((a) => {
479
- var o;
480
- if (R(a)) {
481
- let d = a;
482
- switch (K.value = !1, (o = y.value) == null ? void 0 : o.type) {
483
- case "weekly":
484
- d = q(
485
- a,
486
- f,
487
- T.value.min,
488
- T.value.max
489
- ), i.endDate = d;
490
- break;
491
- case "monthly":
492
- d = te(
493
- a,
494
- f,
495
- T.value.min,
496
- T.value.max
497
- ), i.endDate = d;
498
- break;
499
- case "quarterly":
500
- d = V(
501
- a,
502
- f,
503
- T.value.min,
504
- T.value.max
505
- ), i.endDate = d;
506
- break;
507
- }
508
- const u = J(d);
509
- s.endDate = P(u, i.endTime), R(i.startDate) && (s.startDate = P(
510
- J(i.startDate),
511
- i.startTime
512
- ));
513
- const S = le("startDate");
514
- s.range = null, e(p.FORM_DATE, {
515
- startDate: S,
516
- endDate: u
517
- }), e(p.INPUT, {
518
- ...s,
519
- range: b.value
520
- });
521
- } else
522
- K.value = !0, e(p.ERROR, { ...i });
523
- }, qe), ze = (a) => {
524
- i.endDate = xe(a), Ke(i.endDate);
525
- }, Je = (a) => {
526
- vt(a);
527
- }, Xe = De((a) => {
528
- if (ie(a, t.dateFormData.startDate)) {
529
- L.value = !1, s.startDate = P(s.startDate, a);
530
- const o = le("endDate");
531
- e(p.FORM_DATE, {
532
- startDate: s.startDate,
533
- endDate: o,
534
- startTime: a,
535
- endTime: i.endTime ?? t.dateFormData.endTime
536
- }), e(p.INPUT, {
537
- ...s,
538
- range: b.value
539
- });
540
- } else
541
- L.value = !0, e(p.ERROR, { ...i });
542
- }), Ze = De((a) => {
543
- ie(a, t.dateFormData.endDate) ? (Q.value = !1, s.endDate = P(s.endDate, a), e(p.FORM_DATE, {
544
- startDate: s.startDate,
545
- endDate: s.endDate,
546
- startTime: i.startTime ?? t.dateFormData.startTime,
547
- endTime: a
548
- }), e(p.INPUT, {
549
- ...s,
550
- range: b.value
551
- })) : (Q.value = !0, e(p.ERROR, { ...i }));
552
- }), et = (a) => {
553
- i.startTime = Ne(a), Xe(i.startTime);
554
- }, tt = (a) => {
555
- i.endTime = Ne(a), Ze(i.endTime);
556
- }, at = (a) => {
557
- Bt(a);
558
- }, ce = (a, o, d, u) => {
559
- s.startDate = a, s.endDate = o, d && (s.granularity = d), u && (s.range = u);
560
- }, nt = (a) => {
561
- var d;
562
- const o = (d = t.quickSelectRanges) == null ? void 0 : d.find(({ value: u }) => u === a);
563
- if (o) {
564
- x();
565
- const u = o.data, S = u.endDate || (u.isRelativeToNow ? new Date(Date.now()) : N(new Date(Date.now()))), O = u.isRelativeToNow && u.timeDifference ? new Date(S.getTime() - u.timeDifference) : u.startDate;
566
- i.endDate = f(S), i.startDate = f(O), ce(O, S, null, a), t.granularities && (s.granularity = u.granularity || _.value), i.startTime = E(O), i.endTime = E(S), s.startDate = O, s.endDate = S, u.isRelativeToNow && (m.value = {
567
- ...m.value,
568
- [a]: {
569
- startDate: O,
570
- endDate: S
571
- }
572
- }), e(p.CUSTOM_RANGE, {
573
- ...o.data,
574
- startDate: O,
575
- endDate: S,
576
- range: o.value
577
- });
578
- }
579
- }, rt = {
580
- weekly: Z,
581
- monthly: H,
582
- quarterly: M
583
- }, st = (a) => {
584
- const o = s.granularity;
585
- if (s.granularity = a, o && C(o, structuredClone(Te(s))), s.startDate && s.endDate) {
586
- switch (a) {
587
- case "quarterly":
588
- case "monthly":
589
- case "weekly": {
590
- if (U[a]) {
591
- ce(U[a].startDate, U[a].endDate, a);
592
- break;
593
- }
594
- const { startDate: d, endDate: u } = rt[a](
595
- s.startDate,
596
- s.endDate,
597
- T.value.min,
598
- T.value.max
599
- );
600
- ce(d, u, a);
601
- break;
602
- }
603
- case "daily":
604
- U.daily && ce(U.daily.startDate, U.daily.endDate, a);
605
- break;
606
- }
607
- i.startDate = f(s.startDate), i.endDate = f(s.endDate), e(p.INPUT, {
608
- ...s,
609
- range: b.value
610
- });
611
- }
612
- };
613
- return {
614
- // Values
615
- internalRangeDate: s,
616
- dateTextInput: i,
617
- endDateError: K,
618
- endTimeError: Q,
619
- granularityItems: X,
620
- selectedGranularity: y,
621
- computedMinMax: T,
622
- selectedRangeSelectorValue: b,
623
- startDateError: W,
624
- startTimeError: L,
625
- quickSelectRangeDefaultItems: re,
626
- formInputWrapperConditionalClasses: de,
627
- // Methods
628
- hasSlot: _t(n),
629
- t: l,
630
- // Events
631
- onDateInput: D,
632
- onDateInputKeyDown: Je,
633
- onEndDateInput: ze,
634
- onEndDateSelected: $,
635
- onEndTimeInput: tt,
636
- onGranularityInput: st,
637
- onRangeSelectorInput: nt,
638
- onStartDateInput: We,
639
- onStartDateSelected: z,
640
- onStartTimeInput: et,
641
- onTimeInputKeyDown: at
642
- };
643
- }
644
- });
645
- var qt = function() {
646
- var e = this, n = e._self._c;
647
- return e._self._setupProxy, n("div", { staticClass: "b-date-range-picker-calendar" }, [n("div", { staticClass: "b-date-range-picker-calendar__form-container" }, [n("div", { staticClass: "b-date-range-picker-calendar__form" }, [e.hasSlot("title") ? [e._t("title")] : e._e(), e.quickSelectRanges ? n("bento-dropdown", { attrs: { "aria-label": e.t("customRange"), items: e.quickSelectRangeDefaultItems, value: e.selectedRangeSelectorValue }, on: { input: e.onRangeSelectorInput } }) : e._e(), e.granularities ? n("bento-segmented-control", { attrs: { items: e.granularityItems, "model-value": e.internalRangeDate.granularity, "full-width": "" }, on: { "update:model-value": e.onGranularityInput } }) : e._e(), n("div", [n("bento-typography", { staticClass: "b-date-range-picker-calendar__label", attrs: { stronger: "", el: "span" } }, [e._v(" From ")]), n("div", { class: e.formInputWrapperConditionalClasses }, [n("bento-input-field", { staticClass: "b-date-range-picker-calendar__form-input", attrs: { "aria-label": e.t("dateFrom"), value: e.dateTextInput.startDate, error: e.startDateError }, on: { input: e.onStartDateInput, keydown: e.onDateInputKeyDown }, scopedSlots: e._u([{ key: "description", fn: function() {
648
- return [e._v("YYYY-MM-DD")];
649
- }, proxy: !0 }]) }), e.allowTimeInput ? n("bento-input-field", { staticClass: "b-date-range-picker-calendar__form-input", attrs: { "aria-label": e.t("timeFrom"), value: e.dateTextInput.startTime, error: e.startTimeError }, on: { input: e.onStartTimeInput, keydown: e.onTimeInputKeyDown }, scopedSlots: e._u([{ key: "description", fn: function() {
650
- return [e._v("HH:MM:SS")];
651
- }, proxy: !0 }], null, !1, 3442289499) }) : e._e()], 1)], 1), n("div", [n("bento-typography", { staticClass: "b-date-range-picker-calendar__label", attrs: { stronger: "", el: "span" } }, [e._v(" To ")]), n("div", { class: e.formInputWrapperConditionalClasses }, [n("bento-input-field", { staticClass: "b-date-range-picker-calendar__form-input", attrs: { "aria-label": e.t("dateTo"), value: e.dateTextInput.endDate, error: e.endDateError }, on: { input: e.onEndDateInput, keydown: e.onDateInputKeyDown }, scopedSlots: e._u([{ key: "description", fn: function() {
652
- return [e._v("YYYY-MM-DD")];
653
- }, proxy: !0 }]) }), e.allowTimeInput ? n("bento-input-field", { staticClass: "b-date-range-picker-calendar__form-input", attrs: { "aria-label": e.t("timeTo"), value: e.dateTextInput.endTime, error: e.endTimeError }, on: { input: e.onEndTimeInput, keydown: e.onTimeInputKeyDown }, scopedSlots: e._u([{ key: "description", fn: function() {
654
- return [e._v("HH:MM:SS")];
655
- }, proxy: !0 }], null, !1, 3442289499) }) : e._e()], 1)], 1)], 2), e.hasSlot("actions") ? n("div", [e._t("actions")], 2) : e._e()]), n("div", { staticClass: "b-date-range-picker-calendar__calendars-container" }, [n("calendar", { attrs: { value: e.internalRangeDate, "first-day-of-week": e.firstDayOfWeek, "is-date-disabled": e.isDateDisabled, "max-range": e.maxRange, min: e.computedMinMax.min, max: e.computedMinMax.max, "number-of-months": e.numberOfMonths, "show-end-date-on-open": e.showEndDateOnOpen, granularity: e.selectedGranularity, variant: e.variant, "is-range": "" }, on: { input: e.onDateInput, "start-date-selected": e.onStartDateSelected, "end-date-selected": e.onEndDateSelected } })], 1)]);
656
- }, Lt = [], Yt = /* @__PURE__ */ Ge(
657
- Nt,
658
- qt,
659
- Lt,
660
- !1,
661
- null,
662
- "66ed8c79"
663
- );
664
- const Y = Yt.exports, jt = ({
665
- datePickerValue: t,
666
- isDateIncorrect: e,
667
- quickSelectRanges: n,
668
- isMonthVariant: r,
669
- withTimeInput: l
670
- }) => {
671
- var y, X, h, T;
672
- const { locale: c, t: m } = Re(), _ = _e(), s = (M) => !!M && !isNaN(M.getTime()), v = (M, H) => s(M) ? ae(M, H, {
673
- locale: _[c.value.substring(0, 2)] || _.enUS
674
- }) : void 0, b = ve({
675
- startDate: v((y = t.value) == null ? void 0 : y.startDate, k.NUMERIC_DATE_YEAR_FIRST),
676
- endDate: v((X = t.value) == null ? void 0 : X.endDate, k.NUMERIC_DATE_YEAR_FIRST),
677
- startTime: v((h = t.value) == null ? void 0 : h.startDate, k.HOUR_MINUTE_SECONDS),
678
- endTime: v((T = t.value) == null ? void 0 : T.endDate, k.HOUR_MINUTE_SECONDS)
679
- });
680
- return {
681
- // Values
682
- dateDisplayValue: I(() => {
683
- var U;
684
- if (e.value)
685
- return `${b.startDate || ""} - ${b.endDate || ""}`;
686
- if (!t.value || !t.value.startDate && !t.value.endDate)
687
- return m("selectDateRange");
688
- if ((U = n.value) != null && U.length) {
689
- const C = n.value.find(({ value: x }) => {
690
- var f;
691
- return x === ((f = t.value) == null ? void 0 : f.range);
692
- });
693
- if (C)
694
- return C.label;
695
- }
696
- if (t.value.granularity === "quarterly") {
697
- const { startDate: C, endDate: x } = t.value, f = m("quarter", { quarter: Ae(C), year: Fe(C) });
698
- if (kt(C, x))
699
- return f;
700
- const E = m("quarter", { quarter: Ae(x), year: Fe(x) });
701
- return `${f} - ${E}`;
702
- }
703
- const { startDate: M, endDate: H, startTime: Z, endTime: ee } = b, q = r != null && r.value ? k.LONG_MONTH_YEAR : k.FULL_DATE_MONTH_FIRST, g = v(J(M), q), te = v(J(H), q);
704
- if (!l.value)
705
- return `${g} - ${te}`;
706
- const se = [g, Z].filter(Boolean).join(", "), V = [te, ee].filter(Boolean).join(", ");
707
- return `${se} - ${V}`;
708
- }),
709
- textInputDisplayValue: b,
710
- // Methods
711
- formatTextInputDisplayValue: () => ""
712
- };
713
- };
714
- var fe = /* @__PURE__ */ ((t) => (t.INPUT = "input", t))(fe || {});
715
- const Qt = {
716
- "en-US": {
717
- apply: "Apply",
718
- cancel: "Cancel",
719
- dateRangePicker: "Date range picker {name}",
720
- provideDateInAFormat: "Provide date in a YYYY-MM-DD format",
721
- quarter: "Q{quarter} {year}",
722
- selectDate: "Select a date",
723
- selectDateRange: "Select a date range",
724
- selectedDateIsNotAvailable: "Selected date is not available"
725
- },
726
- "ja-JP": {
727
- apply: "適用",
728
- cancel: "キャンセル",
729
- selectDate: "日付を選択"
730
- },
731
- "pt-BR": {
732
- apply: "Aplicar",
733
- cancel: "Cancelar",
734
- selectDate: "Selecione uma data"
735
- }
736
- }, $t = {
737
- i18n: { messages: Qt },
738
- name: "bento-date-range-picker"
739
- }, Gt = /* @__PURE__ */ Ye({
740
- ...$t,
741
- props: {
742
- /**
743
- * Allows user to enter time values in the form
744
- */
745
- allowTimeInput: { type: Boolean, default: !1 },
746
- /**
747
- * Descriptive supporting text visbile underneath the dropdown.
748
- */
749
- description: { type: String, default: void 0 },
750
- /**
751
- * Disables dropdown functionality.
752
- */
753
- disabled: { type: Boolean, default: !1 },
754
- /**
755
- * Displays component in an error state with an error message
756
- */
757
- errorMessage: { type: String, default: null },
758
- /**
759
- * Allows user to set the first day of the week. 0 is sunday, 1 is monday, 6 is saturday
760
- */
761
- firstDayOfWeek: Y.props.firstDayOfWeek,
762
- /**
763
- * A list of available granularities.
764
- * If present, the date picker will display a segmented control to change granularity.
765
- */
766
- granularities: Y.props.granularities,
767
- /**
768
- * Indicate if a date should be disabled or not
769
- */
770
- isDateDisabled: Y.props.isDateDisabled,
771
- /**
772
- * Text that is displayed as a label above the element.
773
- */
774
- label: { type: String, default: void 0 },
775
- /**
776
- * Upon opening date range picker, end date's month will be pre-selected.
777
- */
778
- showEndDateOnOpen: { type: Boolean, default: !1 },
779
- /**
780
- * Highlights the dropdown is optional.
781
- */
782
- optional: { type: Boolean, default: !1 },
783
- /**
784
- * The Boolean readonly property, when present, makes the element not mutable, meaning the user can not edit the date range picker.
785
- */
786
- readonly: { type: Boolean, default: !1 },
787
- /**
788
- * Highlights the dropdown is required.
789
- */
790
- required: { type: Boolean, default: !1 },
791
- /**
792
- * Adds a info icon next to the label to display the passed tooltip message.
793
- */
794
- tooltipText: { type: String, default: null },
795
- /**
796
- * Enables the range selector.
797
- * If provided, must be an array that sets the custom range dropdown items. Items are of the structure:
798
- * `label` - label of custom range item.
799
- * `value` - a unique key of the custom range item.
800
- * `data` - an object `{ startDate: Date; endDate: Date }` to set the date picker range to upon selecting.
801
- */
802
- quickSelectRanges: {
803
- type: Array,
804
- default: void 0
805
- },
806
- /**
807
- * Set a maximum number of dates to be selectable by the range.
808
- */
809
- maxRange: Y.props.maxRange,
810
- /**
811
- * Sets a minimum limit for selectable dates - dates before `min` will not be selectable
812
- */
813
- min: Y.props.min,
814
- /**
815
- * Sets a maximum limit for selectable dates - dates after `max` will not be selectable
816
- */
817
- max: Y.props.max,
818
- /**
819
- * Number of months rendered on pane
820
- */
821
- numberOfMonths: Y.props.numberOfMonths,
822
- /**
823
- * Selected date
824
- */
825
- value: Y.props.value,
826
- /**
827
- * The type of calendar to display. Defaults to showing days.
828
- */
829
- variant: {
830
- type: String,
831
- default: void 0
832
- // Default will be set by @/internal/calendar
833
- },
834
- /**
835
- * Enables the date picker selection to persist until it is explicitly applied.
836
- * Displays a set of buttons: Apply and Cancel.
837
- *
838
- * @deprecated This will be the default behaviour in v2.0.0.
839
- */
840
- hasActions: { type: Boolean, default: !1 }
841
- },
842
- emits: [fe.INPUT],
843
- setup(t, { emit: e }) {
844
- const n = t, { locale: r, t: l } = Re(), c = _e(), m = oe("bento-date-range-picker-container"), _ = oe("bento-date-range-picker-label"), s = oe("bento-date-range-picker-description"), v = oe("bento-date-range-picker-error"), b = oe("bento-date-range-picker-date-error"), de = I(() => n.label || l("dateRangePicker", { name: m })), re = I(() => (n == null ? void 0 : n.quickSelectRanges) && n.quickSelectRanges.map((D) => {
845
- const R = D.data.endDate ? void 0 : new Date(Date.now()).getTime() - D.data.startDate.getTime();
846
- return {
847
- ...D,
848
- data: {
849
- ...D.data,
850
- // Adding timeDifference to calculate an up-to-date endDate on range selection
851
- timeDifference: R
852
- }
853
- };
854
- })), y = A(!1), X = A(null), h = A(!1), { isReadOnly: T } = pt(Ee(n, "readonly"));
855
- ye(
856
- () => n.disabled,
857
- () => {
858
- n.disabled && h.value && (h.value = !1);
859
- }
860
- );
861
- const M = I(() => n.hasActions ? !E.value && y.value : y.value), H = I(() => ({
862
- "b-date-range-picker__description--error": !!n.errorMessage || M.value
863
- })), Z = I(() => n.variant === "month"), ee = I(() => n.allowTimeInput && n.variant !== "month"), { dateDisplayValue: q, textInputDisplayValue: g, formatTextInputDisplayValue: te } = jt({
864
- datePickerValue: Ee(n, "value"),
865
- isDateIncorrect: y,
866
- quickSelectRanges: re,
867
- isMonthVariant: Z,
868
- withTimeInput: ee
869
- }), se = I(
870
- () => `${n.description ? s : ""} ${n.errorMessage ? v : ""} ${y.value ? b : ""}`.trim() || null
871
- ), V = () => {
872
- h.value = !1;
873
- }, U = () => {
874
- h.value = !0;
875
- }, C = A(q.value), x = A(
876
- // textInputDisplayValue is a reactive object
877
- structuredClone(Te(g))
878
- ), f = A(n.value), E = A(!0), W = I(
879
- () => n.hasActions ? x.value : g
880
- ), K = I(
881
- () => n.hasActions ? C.value : q.value
882
- );
883
- je(() => {
884
- if (n.hasActions || ut(
885
- 'BentoDateRangePicker "hasActions" property',
886
- `Set the BentoDateRangePicker "hasActions" property true which will display the "Apply" and "Cancel" buttons.
887
- This will be the default behavior in the v2 and "hasActions" will be removed.`,
888
- "2.0.0"
889
- ), n.granularities && n.variant !== "month" && n.granularities.find(({ type: D }) => D === "quarterly"))
890
- throw new Error('Quarterly granularity is only supported by BentoDateRangePicker with variant: "month"');
891
- }), ye(
892
- () => n.value,
893
- () => {
894
- C.value = q.value, x.value = structuredClone(Te(g));
895
- }
896
- );
897
- const L = I(() => [
898
- {
899
- title: l("apply"),
900
- event: () => {
901
- e(fe.INPUT, f.value), V(), E.value = !0;
902
- },
903
- disabled: E.value
904
- },
905
- {
906
- title: l("cancel"),
907
- event: V
908
- }
909
- ]);
910
- return ye(f, (D) => {
911
- if (n.hasActions) {
912
- E.value = y.value;
913
- return;
914
- }
915
- e(fe.INPUT, D);
916
- }), { __sfc: !0, emit: e, props: n, locale: r, t: l, locales: c, datePickerContainerId: m, labelId: _, descriptionId: s, errorId: v, dateErrorId: b, popoverAriaLabel: de, adjustedQuickSelectRanges: re, isDateIncorrect: y, inputContainerRef: X, isDateRangePickerOpen: h, isReadOnly: T, shouldDisplayError: M, descriptionConditionalClasses: H, isMonthVariant: Z, withTimeInput: ee, dateDisplayValue: q, textInputDisplayValue: g, formatTextInputDisplayValue: te, ariaDescribedBy: se, closeDateRangePicker: V, openDateRangePicker: U, localDateDisplayValue: C, localTextInputDisplayValue: x, selectedDate: f, isApplyDisabled: E, displayedTextInputValue: W, displayedDateValue: K, rangePickerButtonActions: L, onDateRangePickerInput: (D) => {
917
- y.value = !1;
918
- const R = (z, $) => z ? ae(z, $, {
919
- locale: c[r.value.substring(0, 2)] || c.enUS
920
- }) : void 0;
921
- g.startDate = R(D.startDate, k.NUMERIC_DATE_YEAR_FIRST), g.endDate = R(D.endDate, k.NUMERIC_DATE_YEAR_FIRST), g.startTime = R(D.startDate, k.HOUR_MINUTE_SECONDS), g.endTime = R(D.endDate, k.HOUR_MINUTE_SECONDS), f.value = D;
922
- }, clearDateRangePickerValue: async () => {
923
- y.value && (y.value = !1), f.value = null;
924
- }, onEnterPressedOverInput: () => {
925
- if (!h.value) {
926
- h.value = !0;
927
- return;
928
- }
929
- y.value || (h.value = !1);
930
- }, onDateRangePickerFormDateInputUpdate: (D) => {
931
- y.value = !1, D.startTime && (g.startTime = D.startTime), D.endTime && (g.endTime = D.endTime);
932
- }, onDateRangePickerError: (D) => {
933
- y.value = !0, g.startDate = D.startDate, g.endDate = D.endDate, f.value = { startDate: null, endDate: null };
934
- }, onRangeSelectorInput: (D) => {
935
- if (D) {
936
- const R = ($, le) => $ ? ae($, le, {
937
- locale: c[r.value.substring(0, 2)] || c.enUS
938
- }) : void 0, z = ($) => ae($, k.NUMERIC_DATE_YEAR_FIRST, {
939
- locale: c[r.value.substring(0, 2)] || c.enUS
940
- });
941
- g.startDate = z(D.startDate), g.endDate = z(D.endDate), g.startTime = R(
942
- D.startDate,
943
- k.HOUR_MINUTE_SECONDS
944
- ), g.endTime = R(D.endDate, k.HOUR_MINUTE_SECONDS), f.value = D;
945
- }
946
- }, BentoButtonActions: ot, BentoButtonActionsLayout: bt, BentoDivider: it, BentoPopover: lt, BentoTypography: Qe, DateRangePickerCalendar: Y, DropdownInputDefault: dt, ErrorMessage: St, FieldLabel: It, vBentoClickOutsideDirective: Rt };
947
- }
948
- });
949
- var Ht = function() {
950
- var e = this, n = e._self._c, r = e._self._setupProxy;
951
- return n("div", { directives: [{ name: "bento-click-outside-directive", rawName: "v-bento-click-outside-directive", value: r.closeDateRangePicker, expression: "closeDateRangePicker" }], staticClass: "b-date-range-picker" }, [e.label ? n(r.FieldLabel, { attrs: { id: r.labelId, label: e.label, "tooltip-text": e.tooltipText, optional: e.optional, required: e.required } }) : e._e(), n("div", { on: { keydown: function(l) {
952
- return !l.type.indexOf("key") && e._k(l.keyCode, "enter", 13, l.key, "Enter") ? null : r.onEnterPressedOverInput.apply(null, arguments);
953
- } } }, [n(r.DropdownInputDefault, { ref: "inputContainerRef", attrs: { "always-combobox-is-input": "", ariaControls: r.datePickerContainerId, ariaExpanded: r.isDateRangePickerOpen, "aria-labelledby": e.label ? r.labelId : null, "aria-describedby": r.ariaDescribedBy, disabled: e.disabled, "is-invalid": !!e.errorMessage || r.shouldDisplayError, open: r.isDateRangePickerOpen, "display-value": r.displayedDateValue, readonly: r.isReadOnly }, on: { open: r.openDateRangePicker, clear: r.clearDateRangePickerValue, close: r.closeDateRangePicker } })], 1), r.shouldDisplayError ? n(r.ErrorMessage, { staticClass: "b-date-range-picker__error-message", attrs: { id: r.dateErrorId, "error-message": r.t("provideDateInAFormat") } }) : e._e(), e.errorMessage ? n(r.ErrorMessage, { staticClass: "b-date-range-picker__error-message", attrs: { id: r.errorId, "error-message": e.errorMessage } }) : e._e(), e.description ? n(r.BentoTypography, { staticClass: "b-date-range-picker__description", class: r.descriptionConditionalClasses, attrs: { id: r.descriptionId, el: "span" } }, [e._v(" " + e._s(e.description) + " ")]) : e._e(), r.inputContainerRef ? n(r.BentoPopover, { staticClass: "b-date-range-picker__container", attrs: { id: r.datePickerContainerId, open: r.isDateRangePickerOpen, "target-element": r.inputContainerRef, "aria-label": r.popoverAriaLabel, position: "bottom-start", "without-space": "", "fit-content": "", "trap-all": "" }, nativeOn: { keydown: function(l) {
954
- return !l.type.indexOf("key") && e._k(l.keyCode, "esc", 27, l.key, ["Esc", "Escape"]) ? null : r.closeDateRangePicker.apply(null, arguments);
955
- } } }, [n(r.DateRangePickerCalendar, { attrs: { "allow-time-input": r.withTimeInput, "quick-select-ranges": r.adjustedQuickSelectRanges, 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": r.displayedTextInputValue, variant: e.variant }, on: { "custom-range": r.onRangeSelectorInput, input: r.onDateRangePickerInput, error: r.onDateRangePickerError, "form-date": r.onDateRangePickerFormDateInputUpdate }, scopedSlots: e._u([e.hasActions ? { key: "actions", fn: function() {
956
- return [n(r.BentoDivider), n("div", { staticClass: "b-date-range-picker__footer" }, [n(r.BentoButtonActions, { attrs: { actions: r.rangePickerButtonActions, layout: r.BentoButtonActionsLayout.SPACE_BETWEEN } })], 1)];
957
- }, proxy: !0 } : null], null, !0) })], 1) : e._e()], 1);
958
- }, Vt = [], Wt = /* @__PURE__ */ Ge(
959
- Gt,
960
- Ht,
961
- Vt,
962
- !1,
963
- null,
964
- "209e4c3f"
965
- );
966
- const ga = Wt.exports;
967
- export {
968
- ga as B,
969
- Y as D,
970
- fe as a,
971
- Et as b,
972
- me as i
973
- };
974
- //# sourceMappingURL=date-range-picker.DR2nDLqc.js.map