@adyen/bento-vue3 1.97.0 → 1.98.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 (229) hide show
  1. package/dist/@types/index.d.ts +56 -0
  2. package/dist/action-bar.js +1 -1
  3. package/dist/ai-tag.js +1 -1
  4. package/dist/anchor-scroller.js +1 -1
  5. package/dist/assets/accordion-item.css +1 -1
  6. package/dist/assets/action-bar.css +1 -1
  7. package/dist/assets/base-modal.css +1 -1
  8. package/dist/assets/button-actions.css +1 -1
  9. package/dist/assets/calendar.css +1 -1
  10. package/dist/assets/card.css +1 -1
  11. package/dist/assets/data-grid.css +1 -1
  12. package/dist/assets/date.css +1 -1
  13. package/dist/assets/dialog-page.css +1 -1
  14. package/dist/assets/draggable-handle.css +1 -1
  15. package/dist/assets/draggable.css +1 -0
  16. package/dist/assets/dropdown.css +1 -1
  17. package/dist/assets/file-uploader.css +1 -1
  18. package/dist/assets/filter-bar.css +1 -1
  19. package/dist/assets/header-meta.css +1 -1
  20. package/dist/assets/inspector.css +1 -1
  21. package/dist/assets/list-item.css +1 -1
  22. package/dist/assets/modal-fullscreen.css +1 -1
  23. package/dist/assets/navigation-menu-group.css +1 -1
  24. package/dist/assets/secondary-nav.css +1 -1
  25. package/dist/assets/sidepanel.css +1 -1
  26. package/dist/button.js +1 -1
  27. package/dist/card.js +1 -1
  28. package/dist/checkbox.js +2 -2
  29. package/dist/chunks/{action-bar.BEV9uXHS.js → action-bar.Dd0rr7Sb.js} +4 -4
  30. package/dist/chunks/{action-bar.BEV9uXHS.js.map → action-bar.Dd0rr7Sb.js.map} +1 -1
  31. package/dist/chunks/{ai-tag.BSzY3-0w.js → ai-tag.DOQ-UnnF.js} +2 -2
  32. package/dist/chunks/{ai-tag.BSzY3-0w.js.map → ai-tag.DOQ-UnnF.js.map} +1 -1
  33. package/dist/chunks/{anchor-scroller.J2mkf0uu.js → anchor-scroller.NRHfj2FY.js} +2 -2
  34. package/dist/chunks/{anchor-scroller.J2mkf0uu.js.map → anchor-scroller.NRHfj2FY.js.map} +1 -1
  35. package/dist/chunks/{base-modal.B7SiRo7c.js → base-modal.BzbJbryi.js} +5 -5
  36. package/dist/chunks/{base-modal.B7SiRo7c.js.map → base-modal.BzbJbryi.js.map} +1 -1
  37. package/dist/chunks/{button-actions-with-menu.DoUcLg-M.js → button-actions-with-menu.DZdmQdah.js} +3 -3
  38. package/dist/chunks/{button-actions-with-menu.DoUcLg-M.js.map → button-actions-with-menu.DZdmQdah.js.map} +1 -1
  39. package/dist/chunks/{button-actions.CWmTl4cF.js → button-actions.CgZbPzhi.js} +2 -2
  40. package/dist/chunks/{button-actions.CWmTl4cF.js.map → button-actions.CgZbPzhi.js.map} +1 -1
  41. package/dist/chunks/{calendar.6NKd6IMo.js → calendar.D0RdoofE.js} +318 -317
  42. package/dist/chunks/calendar.D0RdoofE.js.map +1 -0
  43. package/dist/chunks/{card.Ca7FkYxy.js → card.BpPQzOoN.js} +2 -2
  44. package/dist/chunks/{card.Ca7FkYxy.js.map → card.BpPQzOoN.js.map} +1 -1
  45. package/dist/chunks/{checkbox-group.BWx4wn0F.js → checkbox-group.MwUU4K4P.js} +3 -3
  46. package/dist/chunks/{checkbox-group.BWx4wn0F.js.map → checkbox-group.MwUU4K4P.js.map} +1 -1
  47. package/dist/chunks/{checkbox.DwfrmbwI.js → checkbox.SA_J0v-N.js} +18 -18
  48. package/dist/chunks/{checkbox.DwfrmbwI.js.map → checkbox.SA_J0v-N.js.map} +1 -1
  49. package/dist/chunks/{code-snippet.Cp61a0Ud.js → code-snippet.CEsdQBL7.js} +4 -4
  50. package/dist/chunks/{code-snippet.Cp61a0Ud.js.map → code-snippet.CEsdQBL7.js.map} +1 -1
  51. package/dist/chunks/{controls-group.B-wIl-I7.js → controls-group.BfBnWu0u.js} +2 -2
  52. package/dist/chunks/{controls-group.B-wIl-I7.js.map → controls-group.BfBnWu0u.js.map} +1 -1
  53. package/dist/chunks/{copy.XM_7RiIR.js → copy.nnaqOH6I.js} +3 -3
  54. package/dist/chunks/{copy.XM_7RiIR.js.map → copy.nnaqOH6I.js.map} +1 -1
  55. package/dist/chunks/{dashboard-section.BR0xU-b-.js → dashboard-section.B82okI3e.js} +4 -4
  56. package/dist/chunks/{dashboard-section.BR0xU-b-.js.map → dashboard-section.B82okI3e.js.map} +1 -1
  57. package/dist/chunks/{dashed-underline.CxpIRlCx.js → dashed-underline.x_gU4d-A.js} +4 -4
  58. package/dist/chunks/{dashed-underline.CxpIRlCx.js.map → dashed-underline.x_gU4d-A.js.map} +1 -1
  59. package/dist/chunks/{data-grid-template.LTILymaF.js → data-grid-template.BdabDTqN.js} +4 -4
  60. package/dist/chunks/{data-grid-template.LTILymaF.js.map → data-grid-template.BdabDTqN.js.map} +1 -1
  61. package/dist/chunks/{data-grid.xcmkjuyg.js → data-grid.DXF4Cg7m.js} +140 -140
  62. package/dist/chunks/{data-grid.xcmkjuyg.js.map → data-grid.DXF4Cg7m.js.map} +1 -1
  63. package/dist/chunks/{date-picker.CCETX031.js → date-picker.DhtLcpyr.js} +7 -7
  64. package/dist/chunks/{date-picker.CCETX031.js.map → date-picker.DhtLcpyr.js.map} +1 -1
  65. package/dist/chunks/{date-range-picker.CtGaxtYh.js → date-range-picker.CChROXhw.js} +10 -10
  66. package/dist/chunks/{date-range-picker.CtGaxtYh.js.map → date-range-picker.CChROXhw.js.map} +1 -1
  67. package/dist/chunks/{date.R2Wz6o7J.js → date.BFhwd9CA.js} +28 -25
  68. package/dist/chunks/date.BFhwd9CA.js.map +1 -0
  69. package/dist/chunks/{dialog-page.BOwnhJze.js → dialog-page.BYMSk5DR.js} +2 -2
  70. package/dist/chunks/{dialog-page.BOwnhJze.js.map → dialog-page.BYMSk5DR.js.map} +1 -1
  71. package/dist/chunks/draggable-handle.y_1hfypa.js +1542 -0
  72. package/dist/chunks/draggable-handle.y_1hfypa.js.map +1 -0
  73. package/dist/chunks/draggable.5evQkGJ4.js +176 -0
  74. package/dist/chunks/draggable.5evQkGJ4.js.map +1 -0
  75. package/dist/chunks/{drawer.BQoyUVOW.js → drawer.Cz62dnhy.js} +2 -2
  76. package/dist/chunks/{drawer.BQoyUVOW.js.map → drawer.Cz62dnhy.js.map} +1 -1
  77. package/dist/chunks/{dropdown-tag.BgZYYc_D.js → dropdown-tag.DCwovT-N.js} +3 -3
  78. package/dist/chunks/{dropdown-tag.BgZYYc_D.js.map → dropdown-tag.DCwovT-N.js.map} +1 -1
  79. package/dist/chunks/{dropdown.C97ShfXZ.js → dropdown.CGUBk0iO.js} +1028 -1010
  80. package/dist/chunks/dropdown.CGUBk0iO.js.map +1 -0
  81. package/dist/chunks/{field-label.CLV3nSzz.js → field-label.yQ_2Qg88.js} +2 -2
  82. package/dist/chunks/{field-label.CLV3nSzz.js.map → field-label.yQ_2Qg88.js.map} +1 -1
  83. package/dist/chunks/{file-uploader.CXgAfp0m.js → file-uploader.xzoJqcg1.js} +3 -3
  84. package/dist/chunks/{file-uploader.CXgAfp0m.js.map → file-uploader.xzoJqcg1.js.map} +1 -1
  85. package/dist/chunks/{filter-bar.D8BVPHLT.js → filter-bar.DjUo6CwN.js} +22 -20
  86. package/dist/chunks/filter-bar.DjUo6CwN.js.map +1 -0
  87. package/dist/chunks/{focus-trap.Dl_rHbwH.js → focus-trap.3-5C2gYa.js} +2 -2
  88. package/dist/chunks/{focus-trap.Dl_rHbwH.js.map → focus-trap.3-5C2gYa.js.map} +1 -1
  89. package/dist/chunks/{footer-actions.C_HlJeXP.js → footer-actions.sEd1kzgV.js} +2 -2
  90. package/dist/chunks/{footer-actions.C_HlJeXP.js.map → footer-actions.sEd1kzgV.js.map} +1 -1
  91. package/dist/chunks/generate-uid.DBWe4g6T.js.map +1 -1
  92. package/dist/chunks/header-meta.DWWL88nm.js +248 -0
  93. package/dist/chunks/{header-meta.yBxBW12f.js.map → header-meta.DWWL88nm.js.map} +1 -1
  94. package/dist/chunks/{header-with-views.qCyKEZW1.js → header-with-views.-QuYbGZW.js} +10 -10
  95. package/dist/chunks/{header-with-views.qCyKEZW1.js.map → header-with-views.-QuYbGZW.js.map} +1 -1
  96. package/dist/chunks/{header.aJLkRe1D.js → header.B6pGQk7G.js} +3 -3
  97. package/dist/chunks/{header.aJLkRe1D.js.map → header.B6pGQk7G.js.map} +1 -1
  98. package/dist/chunks/index.B875RXHM.js.map +1 -1
  99. package/dist/chunks/{index.oOAkh64h.js → index.DtuWfdhd.js} +14 -14
  100. package/dist/chunks/{index.oOAkh64h.js.map → index.DtuWfdhd.js.map} +1 -1
  101. package/dist/chunks/{info-icon.1FtkyuYH.js → info-icon.DvhV1I7b.js} +3 -3
  102. package/dist/chunks/{info-icon.1FtkyuYH.js.map → info-icon.DvhV1I7b.js.map} +1 -1
  103. package/dist/chunks/{input-field-password.DUSoJYKT.js → input-field-password.wB3hoH6J.js} +5 -5
  104. package/dist/chunks/{input-field-password.DUSoJYKT.js.map → input-field-password.wB3hoH6J.js.map} +1 -1
  105. package/dist/chunks/{input-field-phone-number.Q-bQJL4g.js → input-field-phone-number.BmVS8zco.js} +2 -2
  106. package/dist/chunks/{input-field-phone-number.Q-bQJL4g.js.map → input-field-phone-number.BmVS8zco.js.map} +1 -1
  107. package/dist/chunks/{input-field.CvnmfrzQ.js → input-field.lSSH5S7P.js} +3 -3
  108. package/dist/chunks/{input-field.CvnmfrzQ.js.map → input-field.lSSH5S7P.js.map} +1 -1
  109. package/dist/chunks/{input-time.CGPUOOQ9.js → input-time.nwnBuzgX.js} +3 -3
  110. package/dist/chunks/{input-time.CGPUOOQ9.js.map → input-time.nwnBuzgX.js.map} +1 -1
  111. package/dist/chunks/{inspector.BvBC1ABK.js → inspector.CTBNfXvo.js} +3 -3
  112. package/dist/chunks/{inspector.BvBC1ABK.js.map → inspector.CTBNfXvo.js.map} +1 -1
  113. package/dist/chunks/{layout-row.BsGdHl3d.js → layout-row.7mhpRkAj.js} +2 -2
  114. package/dist/chunks/{layout-row.BsGdHl3d.js.map → layout-row.7mhpRkAj.js.map} +1 -1
  115. package/dist/chunks/list-item.DqZuLQXc.js +222 -0
  116. package/dist/chunks/list-item.DqZuLQXc.js.map +1 -0
  117. package/dist/chunks/{listbox-option-tag.yF6p9iQw.js → listbox-option-tag.DdWLEXEA.js} +2 -2
  118. package/dist/chunks/{listbox-option-tag.yF6p9iQw.js.map → listbox-option-tag.DdWLEXEA.js.map} +1 -1
  119. package/dist/chunks/{modal-fullscreen.CBxh_3gU.js → modal-fullscreen.T5PF8pWA.js} +4 -4
  120. package/dist/chunks/{modal-fullscreen.CBxh_3gU.js.map → modal-fullscreen.T5PF8pWA.js.map} +1 -1
  121. package/dist/chunks/{modal.vue_vue_type_script_setup_true_lang.C3xuswtY.js → modal.vue_vue_type_script_setup_true_lang.BOOZl25a.js} +4 -4
  122. package/dist/chunks/{modal.vue_vue_type_script_setup_true_lang.C3xuswtY.js.map → modal.vue_vue_type_script_setup_true_lang.BOOZl25a.js.map} +1 -1
  123. package/dist/chunks/{navigation-menu-group.CQ6ImGsJ.js → navigation-menu-group.CIV5BQJA.js} +3 -3
  124. package/dist/chunks/{navigation-menu-group.CQ6ImGsJ.js.map → navigation-menu-group.CIV5BQJA.js.map} +1 -1
  125. package/dist/chunks/{pagination.cNByWBP1.js → pagination.DX2mxVYn.js} +2 -2
  126. package/dist/chunks/{pagination.cNByWBP1.js.map → pagination.DX2mxVYn.js.map} +1 -1
  127. package/dist/chunks/popover.types.B92uj134.js +6 -0
  128. package/dist/chunks/{popover.types.DATOPtuh.js.map → popover.types.B92uj134.js.map} +1 -1
  129. package/dist/chunks/{popper-container.BH4WxeUj.js → popper-container.DRt5hgY8.js} +2 -2
  130. package/dist/chunks/{popper-container.BH4WxeUj.js.map → popper-container.DRt5hgY8.js.map} +1 -1
  131. package/dist/chunks/{promo-banner.DvV9eXs4.js → promo-banner.DICpj6e6.js} +2 -2
  132. package/dist/chunks/{promo-banner.DvV9eXs4.js.map → promo-banner.DICpj6e6.js.map} +1 -1
  133. package/dist/chunks/{radio-group.Cg67ZU0c.js → radio-group.DZkv4S3H.js} +3 -3
  134. package/dist/chunks/{radio-group.Cg67ZU0c.js.map → radio-group.DZkv4S3H.js.map} +1 -1
  135. package/dist/chunks/{rich-text-editor.CJA_d518.js → rich-text-editor.D94Vaa4k.js} +4 -4
  136. package/dist/chunks/{rich-text-editor.CJA_d518.js.map → rich-text-editor.D94Vaa4k.js.map} +1 -1
  137. package/dist/chunks/{search-bar.CLjqWNaI.js → search-bar.f03s-Ljw.js} +3 -3
  138. package/dist/chunks/{search-bar.CLjqWNaI.js.map → search-bar.f03s-Ljw.js.map} +1 -1
  139. package/dist/chunks/{secondary-nav.BU47gyEO.js → secondary-nav.BQOLLVwy.js} +4 -4
  140. package/dist/chunks/{secondary-nav.BU47gyEO.js.map → secondary-nav.BQOLLVwy.js.map} +1 -1
  141. package/dist/chunks/{segmented-control.D6Yvxxpc.js → segmented-control.CDV9IQDC.js} +2 -2
  142. package/dist/chunks/{segmented-control.D6Yvxxpc.js.map → segmented-control.CDV9IQDC.js.map} +1 -1
  143. package/dist/chunks/{selection-card-group.C2Av3uyz.js → selection-card-group.Cvz-uxZ1.js} +11 -11
  144. package/dist/chunks/{selection-card-group.C2Av3uyz.js.map → selection-card-group.Cvz-uxZ1.js.map} +1 -1
  145. package/dist/chunks/{sidepanel.Dw2If3qM.js → sidepanel.DWgn0NNb.js} +5 -5
  146. package/dist/chunks/{sidepanel.Dw2If3qM.js.map → sidepanel.DWgn0NNb.js.map} +1 -1
  147. package/dist/chunks/{structured-list-item.BhYtSw2f.js → structured-list-item.RunfI9Pj.js} +4 -4
  148. package/dist/chunks/{structured-list-item.BhYtSw2f.js.map → structured-list-item.RunfI9Pj.js.map} +1 -1
  149. package/dist/chunks/{summary-grid.types.Cnrc4ThJ.js → summary-grid.types.DiJtaVN-.js} +5 -5
  150. package/dist/chunks/{summary-grid.types.Cnrc4ThJ.js.map → summary-grid.types.DiJtaVN-.js.map} +1 -1
  151. package/dist/chunks/{tab.ByjWuWQz.js → tab.CnvwN1lS.js} +2 -2
  152. package/dist/chunks/{tab.ByjWuWQz.js.map → tab.CnvwN1lS.js.map} +1 -1
  153. package/dist/chunks/{tag.Uu-6AQys.js → tag.BDBpa51Z.js} +2 -2
  154. package/dist/chunks/{tag.Uu-6AQys.js.map → tag.BDBpa51Z.js.map} +1 -1
  155. package/dist/chunks/{textarea.QgSLPL7S.js → textarea.Cb6Fu5-u.js} +2 -2
  156. package/dist/chunks/{textarea.QgSLPL7S.js.map → textarea.Cb6Fu5-u.js.map} +1 -1
  157. package/dist/chunks/{timeline-item.BWhCoOf1.js → timeline-item.XpxLQwxK.js} +7 -7
  158. package/dist/chunks/{timeline-item.BWhCoOf1.js.map → timeline-item.XpxLQwxK.js.map} +1 -1
  159. package/dist/chunks/{tooltip.Djn54E1O.js → tooltip.DaO3Jkem.js} +3 -3
  160. package/dist/chunks/{tooltip.Djn54E1O.js.map → tooltip.DaO3Jkem.js.map} +1 -1
  161. package/dist/chunks/{tutorial.vue_vue_type_script_setup_true_lang.QWcInKo7.js → tutorial.vue_vue_type_script_setup_true_lang.DjvXPcvu.js} +4 -4
  162. package/dist/chunks/{tutorial.vue_vue_type_script_setup_true_lang.QWcInKo7.js.map → tutorial.vue_vue_type_script_setup_true_lang.DjvXPcvu.js.map} +1 -1
  163. package/dist/chunks/{use-bento-delayed-hover.Csc3nIWt.js → use-bento-delayed-hover.4NBNqVyw.js} +2 -2
  164. package/dist/chunks/{use-bento-delayed-hover.Csc3nIWt.js.map → use-bento-delayed-hover.4NBNqVyw.js.map} +1 -1
  165. package/dist/chunks/{use-date-input-formatter.QXaVIBS0.js → use-date-input-formatter.S-t29v8i.js} +2 -2
  166. package/dist/chunks/{use-date-input-formatter.QXaVIBS0.js.map → use-date-input-formatter.S-t29v8i.js.map} +1 -1
  167. package/dist/code-snippet.js +1 -1
  168. package/dist/dashboard-template.js +1 -1
  169. package/dist/dashed-underline.js +1 -1
  170. package/dist/data-grid-template.js +1 -1
  171. package/dist/data-grid.js +1 -1
  172. package/dist/date-picker.js +2 -2
  173. package/dist/date-range-picker.js +2 -2
  174. package/dist/date-time-picker.js +4 -4
  175. package/dist/date.js +1 -1
  176. package/dist/draggable.js +4 -3
  177. package/dist/draggable.js.map +1 -1
  178. package/dist/drawer.js +1 -1
  179. package/dist/dropdown.js +2 -2
  180. package/dist/file-uploader.js +1 -1
  181. package/dist/filter-bar.js +1 -1
  182. package/dist/focus-trap.js +1 -1
  183. package/dist/header-with-views.js +1 -1
  184. package/dist/header.js +1 -1
  185. package/dist/index.js +260 -259
  186. package/dist/index.js.map +1 -1
  187. package/dist/info-icon.js +1 -1
  188. package/dist/input-field-password.js +1 -1
  189. package/dist/input-field-phone-number.js +1 -1
  190. package/dist/input-field.js +1 -1
  191. package/dist/input-time.js +1 -1
  192. package/dist/inspector.js +1 -1
  193. package/dist/internal.js +11 -11
  194. package/dist/layout.js +1 -1
  195. package/dist/list.js +1 -1
  196. package/dist/menu.js +1 -1
  197. package/dist/modal-fullscreen.js +1 -1
  198. package/dist/modal.js +2 -2
  199. package/dist/navigation-menu.js +1 -1
  200. package/dist/pagination.js +1 -1
  201. package/dist/popover.js +2 -2
  202. package/dist/popper-container.js +1 -1
  203. package/dist/promo-banner.js +1 -1
  204. package/dist/radio-group.js +1 -1
  205. package/dist/rich-text-editor.js +1 -1
  206. package/dist/search-bar.js +2 -2
  207. package/dist/secondary-nav.js +1 -1
  208. package/dist/segmented-control.js +1 -1
  209. package/dist/selection-card.js +1 -1
  210. package/dist/sidepanel.js +1 -1
  211. package/dist/structured-list.js +1 -1
  212. package/dist/summary-grid.js +1 -1
  213. package/dist/tabs.js +1 -1
  214. package/dist/tag.js +1 -1
  215. package/dist/textarea.js +1 -1
  216. package/dist/timeline.js +1 -1
  217. package/dist/tutorial.js +1 -1
  218. package/dist/web-types.json +1 -1
  219. package/package.json +7 -7
  220. package/dist/chunks/calendar.6NKd6IMo.js.map +0 -1
  221. package/dist/chunks/date.R2Wz6o7J.js.map +0 -1
  222. package/dist/chunks/draggable-handle.CUecl-HB.js +0 -1649
  223. package/dist/chunks/draggable-handle.CUecl-HB.js.map +0 -1
  224. package/dist/chunks/dropdown.C97ShfXZ.js.map +0 -1
  225. package/dist/chunks/filter-bar.D8BVPHLT.js.map +0 -1
  226. package/dist/chunks/header-meta.yBxBW12f.js +0 -243
  227. package/dist/chunks/list-item.E1o7yuEB.js +0 -128
  228. package/dist/chunks/list-item.E1o7yuEB.js.map +0 -1
  229. package/dist/chunks/popover.types.DATOPtuh.js +0 -6
@@ -1,243 +0,0 @@
1
- import { shallowRef as O, watch as C, defineComponent as X, ref as $, openBlock as u, createElementBlock as M, mergeProps as H, toHandlers as L, unref as i, createVNode as S, createBlock as b, withCtx as h, renderSlot as w, toDisplayString as D, createCommentVNode as v, computed as j, useSlots as F, createTextVNode as U } from "vue";
2
- import { h as A, a as Y } from "./button-actions.CWmTl4cF.js";
3
- import { B as G } from "./popover.types.DATOPtuh.js";
4
- import { p as V, B } from "./typography.B3J6_tYk.js";
5
- import { g as W } from "./generate-uid.DBWe4g6T.js";
6
- import { u as z } from "./index.B875RXHM.js";
7
- import { I as J } from "./info.6Z6NxUst.js";
8
- import { u as q } from "./use-bento-delayed-hover.Csc3nIWt.js";
9
- import { _ as P } from "./_plugin-vue_export-helper.CHgC5LLL.js";
10
- import { u as K } from "./use-has-slot.CyMiImRQ.js";
11
- import { c as Q } from "./constructNow.DyOJDyZZ.js";
12
- import { t as T, d as Z, n as ee, k, j as te, o as x, p as g, g as oe } from "./en-US.BR6y7foR.js";
13
- import { d as ae } from "./differenceInMonths.yz4Dfe-b.js";
14
- import { g as ne } from "./getRoundingMethod.C3eaeGLR.js";
15
- import { R as se } from "./refresh.C31KClfx.js";
16
- import "../assets/header-meta.css";
17
- const I = /* @__PURE__ */ Object.assign({
18
- "../../../node_modules/date-fns/locale/de.js": () => import("./de.ctR_lBqr.js"),
19
- "../../../node_modules/date-fns/locale/en-GB.js": () => import("./en-GB.BsQNm5GT.js"),
20
- "../../../node_modules/date-fns/locale/en-US.js": () => import("./en-US.BR6y7foR.js").then((t) => t.x),
21
- "../../../node_modules/date-fns/locale/es.js": () => import("./es.DxqH-QhP.js"),
22
- "../../../node_modules/date-fns/locale/fr.js": () => import("./fr.DJtn8ron.js"),
23
- "../../../node_modules/date-fns/locale/it.js": () => import("./it.keS7oN5l.js"),
24
- "../../../node_modules/date-fns/locale/ja.js": () => import("./ja.cLwacUE6.js"),
25
- "../../../node_modules/date-fns/locale/pt-BR.js": () => import("./pt-BR.ChPOra5s.js"),
26
- "../../../node_modules/date-fns/locale/zh-CN.js": () => import("./zh-CN.ZG6obniO.js")
27
- });
28
- function re(t) {
29
- const n = O(void 0);
30
- return C(
31
- t,
32
- async (a) => {
33
- if (!a) {
34
- n.value = void 0;
35
- return;
36
- }
37
- const r = (l) => `../../../node_modules/date-fns/locale/${l}.js`;
38
- let e = r(a);
39
- if (I[e] || (e = r(a.substring(0, 2))), I[e] || (e = r("en-US")), I[e])
40
- try {
41
- const l = await I[e]();
42
- n.value = l.default;
43
- } catch (l) {
44
- V(`Failed to load date-fns locale: ${a}`, l);
45
- }
46
- },
47
- { immediate: !0 }
48
- ), n;
49
- }
50
- function ie(t, n) {
51
- return +T(t) - +T(n);
52
- }
53
- function de(t, n, a) {
54
- const r = ie(t, n) / 1e3;
55
- return ne(a?.roundingMethod)(r);
56
- }
57
- function le(t, n, a) {
58
- const r = oe(), e = a?.locale ?? r.locale ?? te, l = 2520, m = Z(t, n);
59
- if (isNaN(m)) throw new RangeError("Invalid time value");
60
- const o = Object.assign({}, a, {
61
- addSuffix: a?.addSuffix,
62
- comparison: m
63
- }), [_, d] = ee(
64
- a?.in,
65
- ...m > 0 ? [n, t] : [t, n]
66
- ), f = de(d, _), E = (k(d) - k(_)) / 1e3, s = Math.round((f - E) / 60);
67
- let p;
68
- if (s < 2)
69
- return a?.includeSeconds ? f < 5 ? e.formatDistance("lessThanXSeconds", 5, o) : f < 10 ? e.formatDistance("lessThanXSeconds", 10, o) : f < 20 ? e.formatDistance("lessThanXSeconds", 20, o) : f < 40 ? e.formatDistance("halfAMinute", 0, o) : f < 60 ? e.formatDistance("lessThanXMinutes", 1, o) : e.formatDistance("xMinutes", 1, o) : s === 0 ? e.formatDistance("lessThanXMinutes", 1, o) : e.formatDistance("xMinutes", s, o);
70
- if (s < 45)
71
- return e.formatDistance("xMinutes", s, o);
72
- if (s < 90)
73
- return e.formatDistance("aboutXHours", 1, o);
74
- if (s < x) {
75
- const c = Math.round(s / 60);
76
- return e.formatDistance("aboutXHours", c, o);
77
- } else {
78
- if (s < l)
79
- return e.formatDistance("xDays", 1, o);
80
- if (s < g) {
81
- const c = Math.round(s / x);
82
- return e.formatDistance("xDays", c, o);
83
- } else if (s < g * 2)
84
- return p = Math.round(s / g), e.formatDistance("aboutXMonths", p, o);
85
- }
86
- if (p = ae(d, _), p < 12) {
87
- const c = Math.round(s / g);
88
- return e.formatDistance("xMonths", c, o);
89
- } else {
90
- const c = p % 12, y = Math.trunc(p / 12);
91
- return c < 3 ? e.formatDistance("aboutXYears", y, o) : c < 9 ? e.formatDistance("overXYears", y, o) : e.formatDistance("almostXYears", y + 1, o);
92
- }
93
- }
94
- function ce(t, n) {
95
- return le(t, Q(t), n);
96
- }
97
- const N = {
98
- "de-DE": { moreInformation: "Weitere Informationen" },
99
- "en-GB": { moreInformation: "More information" },
100
- "en-US": { moreInformation: "More information" },
101
- "es-ES": { moreInformation: "Más información" },
102
- "es-MX": { moreInformation: "Más información" },
103
- "fr-FR": { moreInformation: "Plus d'informations" },
104
- "it-IT": { moreInformation: "Ulteriori informazioni" },
105
- "ja-JP": { moreInformation: "詳細情報" },
106
- "pt-BR": { moreInformation: "Mais informações" },
107
- "zh-CN": { moreInformation: "更多信息" }
108
- }, me = { key: 0 }, fe = {
109
- i18n: { messages: N }
110
- }, ue = /* @__PURE__ */ X({
111
- ...fe,
112
- __name: "info-icon-with-popover",
113
- props: {
114
- /**
115
- * Text showed in the popover on hover
116
- */
117
- popoverText: { type: String, default: null },
118
- /**
119
- * Position the popover should take if space is available
120
- */
121
- popoverPosition: {
122
- type: String,
123
- default: "bottom-start",
124
- validator: (t) => Object.values(G).includes(t)
125
- }
126
- },
127
- setup(t) {
128
- const { t: n } = z({ messages: N }), a = $(null), r = W("bento-info-icon-with-popover"), { isOpen: e, hoverEvents: l } = q();
129
- return (m, o) => (u(), M("div", H({
130
- class: "b-info-icon-with-popover",
131
- tabindex: "0",
132
- "data-testid": "info-icon-with-popover"
133
- }, L(i(l), !0)), [
134
- S(i(J), {
135
- ref_key: "targetElement",
136
- ref: a,
137
- class: "b-info-icon-with-popover__svg",
138
- "aria-expanded": i(e),
139
- "aria-describedby": i(r),
140
- "svg-title": i(n)("moreInformation")
141
- }, null, 8, ["aria-expanded", "aria-describedby", "svg-title"]),
142
- a.value ? (u(), b(i(A), {
143
- key: 0,
144
- open: i(e),
145
- "target-element": a.value,
146
- position: t.popoverPosition,
147
- role: "tooltip",
148
- "fit-content": "",
149
- "disable-focus-trap": ""
150
- }, {
151
- default: h(() => [
152
- S(i(B), null, {
153
- default: h(() => [
154
- w(m.$slots, "default", {}, () => [
155
- t.popoverText ? (u(), M("div", me, D(t.popoverText), 1)) : v("", !0)
156
- ], !0)
157
- ]),
158
- _: 3
159
- })
160
- ]),
161
- _: 3
162
- }, 8, ["open", "target-element", "position"])) : v("", !0)
163
- ], 16));
164
- }
165
- }), ze = /* @__PURE__ */ P(ue, [["__scopeId", "data-v-4276d767"]]), R = {
166
- "de-DE": { lastUpdated: "Letzte Aktualisierung: {date}" },
167
- "en-GB": { lastUpdated: "Last updated: {date}" },
168
- "en-US": { lastUpdated: "Last updated: {date}" },
169
- "es-ES": { lastUpdated: "Última actualización: {date}" },
170
- "es-MX": { lastUpdated: "Última actualización: {date}" },
171
- "fr-FR": { lastUpdated: "Dernière mise à jour : le {date}" },
172
- "it-IT": { lastUpdated: "Ultimo aggiornamento: {date}" },
173
- "ja-JP": { lastUpdated: "最終更新日: {date}" },
174
- "pt-BR": { lastUpdated: "Última atualização: {date}" },
175
- "zh-CN": { lastUpdated: "最后更新时间:{date}" }
176
- }, pe = { class: "b-header-meta__container" }, he = {
177
- key: 1,
178
- class: "b-header-meta__timestamp-section"
179
- }, _e = {
180
- i18n: { messages: R }
181
- }, ve = /* @__PURE__ */ X({
182
- ..._e,
183
- __name: "header-meta",
184
- props: {
185
- description: { default: null },
186
- lastUpdated: { default: null },
187
- reloadButton: { default: null }
188
- },
189
- setup(t) {
190
- const { t: n, locale: a } = z({ messages: R }), r = t, e = j(() => r.lastUpdated ? a.value : ""), l = re(e), m = j(
191
- () => r.lastUpdated ? n("lastUpdated", {
192
- date: ce(r.lastUpdated, {
193
- locale: l.value,
194
- addSuffix: !0
195
- })
196
- }) : null
197
- ), o = F(), _ = K(o);
198
- return (d, f) => (u(), M("div", pe, [
199
- d.description || i(_)("description") ? (u(), b(i(B), {
200
- key: 0,
201
- class: "b-header-meta__description",
202
- el: "div"
203
- }, {
204
- default: h(() => [
205
- w(d.$slots, "description", {}, () => [
206
- U(D(d.description), 1)
207
- ], !0)
208
- ]),
209
- _: 3
210
- })) : v("", !0),
211
- d.lastUpdated ? (u(), M("div", he, [
212
- S(i(B), {
213
- class: "b-header-meta__timestamp",
214
- el: "div"
215
- }, {
216
- default: h(() => [
217
- U(D(m.value), 1)
218
- ]),
219
- _: 1
220
- }),
221
- d.reloadButton ? (u(), b(i(Y), {
222
- key: 0,
223
- variant: "tertiary",
224
- state: d.reloadButton.state,
225
- onClick: d.reloadButton.event
226
- }, {
227
- iconLeft: h(() => [
228
- S(i(se), { "aria-hidden": "true" })
229
- ]),
230
- default: h(() => [
231
- U(D(d.reloadButton.title), 1)
232
- ]),
233
- _: 1
234
- }, 8, ["state", "onClick"])) : v("", !0)
235
- ])) : v("", !0)
236
- ]));
237
- }
238
- }), Pe = /* @__PURE__ */ P(ve, [["__scopeId", "data-v-7ffeebd4"]]);
239
- export {
240
- Pe as H,
241
- ze as I
242
- };
243
- //# sourceMappingURL=header-meta.yBxBW12f.js.map
@@ -1,128 +0,0 @@
1
- import { defineComponent as f, computed as b, openBlock as e, createBlock as n, resolveDynamicComponent as B, withCtx as m, renderSlot as r, useSlots as g, createElementBlock as l, createVNode as S, unref as s, normalizeClass as D, createCommentVNode as i, createElementVNode as p, Fragment as $, createTextVNode as I, toDisplayString as h, mergeProps as T } from "vue";
2
- import { _ as y } from "./_plugin-vue_export-helper.CHgC5LLL.js";
3
- import { C as E } from "./chevron-right-small.BCinNiMt.js";
4
- import { B as N } from "./status.H00BAmRx.js";
5
- import { B as V } from "./tag.Uu-6AQys.js";
6
- import { B as v } from "./typography.B3J6_tYk.js";
7
- import { u as x } from "./use-has-slot.CyMiImRQ.js";
8
- import "../assets/list-item.css";
9
- const K = {
10
- name: "bento-list"
11
- }, z = /* @__PURE__ */ f({
12
- ...K,
13
- props: {
14
- type: { default: "unordered" }
15
- },
16
- setup(d) {
17
- const c = d, _ = b(() => c.type === "ordered" ? "ol" : "ul");
18
- return (a, t) => (e(), n(B(_.value), { class: "b-list" }, {
19
- default: m(() => [
20
- r(a.$slots, "default", {}, void 0, !0)
21
- ]),
22
- _: 3
23
- }));
24
- }
25
- }), Z = /* @__PURE__ */ y(z, [["__scopeId", "data-v-d608f2b4"]]), F = {
26
- key: 0,
27
- class: "b-list-item__image"
28
- }, H = {
29
- key: 1,
30
- class: "b-list-item__start"
31
- }, P = { class: "b-list-item__content" }, R = {
32
- key: 0,
33
- class: "b-list-item__label"
34
- }, j = { class: "b-list-item__header" }, q = {
35
- key: 0,
36
- class: "b-list-item__description"
37
- }, A = {
38
- key: 2,
39
- class: "b-list-item__end"
40
- }, G = {
41
- name: "bento-list-item"
42
- }, J = /* @__PURE__ */ f({
43
- ...G,
44
- props: {
45
- label: {},
46
- description: {},
47
- showStatus: { type: Boolean, default: !1 },
48
- statusColor: { default: "blue" },
49
- tag: { default: void 0 },
50
- withChevron: { type: Boolean, default: !1 },
51
- showTopDivider: { type: Boolean, default: !1 },
52
- showBottomDivider: { type: Boolean, default: !1 }
53
- },
54
- emits: ["click"],
55
- setup(d, { emit: c }) {
56
- const _ = g(), a = x(_), t = d, u = c, k = () => {
57
- t.withChevron && u("click");
58
- }, C = (o) => {
59
- t.withChevron && (o.key === "Enter" || o.key === " ") && (o.preventDefault(), u("click"));
60
- }, w = b(() => ({
61
- "b-list-item__inner--clickable": t.withChevron,
62
- "b-list-item__inner--top-divider": t.showTopDivider,
63
- "b-list-item__inner--bottom-divider": t.showBottomDivider
64
- }));
65
- return (o, L) => (e(), l("li", {
66
- class: "b-list-item",
67
- onClick: k,
68
- onKeydown: C
69
- }, [
70
- S(s(v), {
71
- class: D(["b-list-item__inner", w.value]),
72
- el: "div",
73
- role: t.withChevron ? "button" : void 0,
74
- tabindex: t.withChevron ? 0 : void 0
75
- }, {
76
- default: m(() => [
77
- s(a)("image") ? (e(), l("div", F, [
78
- r(o.$slots, "image", {}, void 0, !0)
79
- ])) : i("", !0),
80
- s(a)("start") ? (e(), l("div", H, [
81
- r(o.$slots, "start", {}, void 0, !0)
82
- ])) : i("", !0),
83
- p("div", P, [
84
- s(a)("content") ? (e(), l("div", R, [
85
- r(o.$slots, "content", {}, void 0, !0)
86
- ])) : (e(), l($, { key: 1 }, [
87
- p("div", j, [
88
- t.label ? (e(), n(s(v), {
89
- key: 0,
90
- class: "b-list-item__label",
91
- el: "span",
92
- stronger: ""
93
- }, {
94
- default: m(() => [
95
- I(h(t.label), 1)
96
- ]),
97
- _: 1
98
- })) : i("", !0),
99
- t.showStatus ? (e(), n(s(N), {
100
- key: 1,
101
- class: "b-list-item__status",
102
- variant: t.statusColor,
103
- "aria-hidden": "true"
104
- }, null, 8, ["variant"])) : i("", !0),
105
- t.tag ? (e(), n(s(V), T({ key: 2 }, t.tag, { class: "b-list-item__tag" }), null, 16)) : i("", !0)
106
- ]),
107
- t.description ? (e(), l("span", q, h(t.description), 1)) : i("", !0)
108
- ], 64))
109
- ]),
110
- s(a)("end") ? (e(), l("div", A, [
111
- r(o.$slots, "end", {}, void 0, !0)
112
- ])) : i("", !0),
113
- t.withChevron ? (e(), n(s(E), {
114
- key: 3,
115
- class: "b-list-item__chevron",
116
- "aria-hidden": "true"
117
- })) : i("", !0)
118
- ]),
119
- _: 3
120
- }, 8, ["class", "role", "tabindex"])
121
- ], 32));
122
- }
123
- }), tt = /* @__PURE__ */ y(J, [["__scopeId", "data-v-07053e2a"]]);
124
- export {
125
- tt as a,
126
- Z as l
127
- };
128
- //# sourceMappingURL=list-item.E1o7yuEB.js.map
@@ -1 +0,0 @@
1
- {"version":3,"file":"list-item.E1o7yuEB.js","sources":["../../../vue2/src/components/list/list.vue","../../../vue2/src/components/list/components/list-item/list-item.vue"],"sourcesContent":["<template>\n <component :is=\"listElement\" class=\"b-list\">\n <slot />\n </component>\n</template>\n\n<script setup lang=\"ts\">\n import { computed } from 'vue';\n import type { BentoListProps } from './list.types';\n\n const props = withDefaults(defineProps<BentoListProps>(), {\n type: 'unordered',\n });\n\n const listElement = computed(() => (props.type === 'ordered' ? 'ol' : 'ul'));\n</script>\n\n<script lang=\"ts\">\n /**\n * `BentoList` renders an ordered or unordered list container for `BentoListItem` rows.\n *\n * @example\n * import { BentoList, BentoListItem } from '@adyen/bento-vue2';\n *\n * export default {\n * components: { BentoList, BentoListItem },\n * template: `\n * <bento-list>\n * <bento-list-item\n * label=\"Payment details\"\n * description=\"Updated 2 hours ago\"\n * :tag=\"{ label: 'Live', variant: 'green' }\"\n * show-bottom-divider\n * />\n * <bento-list-item\n * label=\"Risk configuration\"\n * description=\"Updated yesterday\"\n * :tag=\"{ label: 'Review', variant: 'orange' }\"\n * />\n * </bento-list>\n * `\n * }\n */\n export default {\n name: 'bento-list',\n };\n</script>\n\n<style lang=\"scss\" scoped src=\"./list.scss\" />\n","<template>\n <li class=\"b-list-item\" @click=\"onItemClick\" @keydown=\"onItemKeydown\">\n <bento-typography\n class=\"b-list-item__inner\"\n :class=\"conditionalClasses\"\n el=\"div\"\n :role=\"props.withChevron ? 'button' : undefined\"\n :tabindex=\"props.withChevron ? 0 : undefined\"\n >\n <div v-if=\"hasSlot('image')\" class=\"b-list-item__image\">\n <slot name=\"image\" />\n </div>\n\n <div v-if=\"hasSlot('start')\" class=\"b-list-item__start\">\n <slot name=\"start\" />\n </div>\n\n <div class=\"b-list-item__content\">\n <div v-if=\"hasSlot('content')\" class=\"b-list-item__label\">\n <slot name=\"content\" />\n </div>\n\n <template v-else>\n <div class=\"b-list-item__header\">\n <bento-typography v-if=\"props.label\" class=\"b-list-item__label\" el=\"span\" stronger>\n {{ props.label }}\n </bento-typography>\n <bento-status\n v-if=\"props.showStatus\"\n class=\"b-list-item__status\"\n :variant=\"props.statusColor\"\n aria-hidden=\"true\"\n />\n <bento-tag v-if=\"props.tag\" v-bind=\"props.tag\" class=\"b-list-item__tag\" />\n </div>\n <span v-if=\"props.description\" class=\"b-list-item__description\">\n {{ props.description }}\n </span>\n </template>\n </div>\n\n <div v-if=\"hasSlot('end')\" class=\"b-list-item__end\">\n <slot name=\"end\" />\n </div>\n\n <chevron-right-icon v-if=\"props.withChevron\" class=\"b-list-item__chevron\" aria-hidden=\"true\" />\n </bento-typography>\n </li>\n</template>\n\n<script setup lang=\"ts\">\n import { computed, useSlots } from 'vue';\n import ChevronRightIcon from '@adyen/ui-assets-icons-16/vue/chevron-right-small';\n import { BentoStatus } from '@/components/status';\n import { BentoTag } from '@/components/tag';\n import { BentoTypography } from '@/components/typography';\n import { useHasSlot } from '@/composables';\n import type { BentoListItemProps } from './list-item.types';\n\n const slots = useSlots();\n const hasSlot = useHasSlot(slots);\n\n const props = withDefaults(defineProps<BentoListItemProps>(), {\n showStatus: false,\n statusColor: 'blue',\n tag: undefined,\n withChevron: false,\n showTopDivider: false,\n showBottomDivider: false,\n });\n\n const emit = defineEmits<{\n /**\n * Emitted when a clickable list item is triggered.\n */\n (e: 'click'): void;\n }>();\n\n const onItemClick = (): void => {\n if (!props.withChevron) {\n return;\n }\n emit('click');\n };\n\n const onItemKeydown = (event: KeyboardEvent): void => {\n if (!props.withChevron) {\n return;\n }\n if (event.key === 'Enter' || event.key === ' ') {\n event.preventDefault();\n emit('click');\n }\n };\n\n const conditionalClasses = computed(() => ({\n 'b-list-item__inner--clickable': props.withChevron,\n 'b-list-item__inner--top-divider': props.showTopDivider,\n 'b-list-item__inner--bottom-divider': props.showBottomDivider,\n }));\n</script>\n\n<script lang=\"ts\">\n /**\n * `BentoListItem` renders an item to be used inside `BentoList`.\n *\n * @example\n * import { BentoList, BentoListItem, BentoButton, BentoToggle } from '@adyen/bento-vue2';\n *\n * export default {\n * components: { BentoList, BentoListItem, BentoButton, BentoToggle },\n * template: `\n * <bento-list>\n * <bento-list-item\n * label=\"Payment details\"\n * description=\"Updated 2 hours ago\"\n * :tag=\"{ label: 'Live', variant: 'green' }\"\n * show-bottom-divider\n * >\n * <template #start>\n * <bento-toggle />\n * </template>\n * <template #end>\n * <bento-button variant=\"secondary\">Edit</bento-button>\n * </template>\n * </bento-list-item>\n * </bento-list>\n * `\n * }\n */\n\n export default {\n name: 'bento-list-item',\n };\n</script>\n\n<style lang=\"scss\" scoped src=\"./list-item.scss\" />\n"],"names":["__default__$1","props","__props","listElement","computed","__default__","slots","useSlots","hasSlot","useHasSlot","emit","__emit","onItemClick","onItemKeydown","event","conditionalClasses"],"mappings":";;;;;;;;AA2CI,MAAAA,IAAA;AAAA,EAAe,MAAA;AAEf;;;;;;AAnCA,UAAAC,IAAAC,GAIAC,IAAAC,EAAA,MAAAH,EAAA,SAAA,YAAA,OAAA,IAAA;;;;;;;;;;;;;;;;;;;;;;;GCqHAI,IAAA;AAAA,EAAe,MAAA;AAEf;;;;;;;;;;;;;;AA1EA,UAAAC,IAAAC,EAAA,GACAC,IAAAC,EAAAH,CAAA,GAEAL,IAAAC,GASAQ,IAAAC,GAOAC,IAAA,MAAA;AACI,MAAAX,EAAA,eAGAS,EAAA,OAAA;AAAA,IAAY,GAGhBG,IAAA,CAAAC,MAAA;AACI,MAAAb,EAAA,gBAGAa,EAAA,QAAA,WAAAA,EAAA,QAAA,SACIA,EAAA,eAAA,GACAJ,EAAA,OAAA;AAAA,IACJ,GAGJK,IAAAX,EAAA,OAAA;AAAA,MAA2C,iCAAAH,EAAA;AAAA,MACA,mCAAAA,EAAA;AAAA,MACE,sCAAAA,EAAA;AAAA,IACG,EAAA;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;"}
@@ -1,6 +0,0 @@
1
- import { b as o } from "./popper-container.BH4WxeUj.js";
2
- const i = { ...o };
3
- export {
4
- i as B
5
- };
6
- //# sourceMappingURL=popover.types.DATOPtuh.js.map