@adyen/bento-vue2 1.86.1 → 1.87.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 (276) hide show
  1. package/dist/@types/index.d.ts +1271 -1216
  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/anchor-scroller.css +1 -1
  8. package/dist/assets/base-modal.css +1 -1
  9. package/dist/assets/button-actions.css +1 -1
  10. package/dist/assets/card.css +1 -1
  11. package/dist/assets/checkbox-group.css +1 -1
  12. package/dist/assets/checkbox.css +1 -1
  13. package/dist/assets/controls-group.css +1 -1
  14. package/dist/assets/data-grid.css +1 -1
  15. package/dist/assets/date-picker.css +1 -1
  16. package/dist/assets/date-range-picker.css +1 -1
  17. package/dist/assets/dialog-page.css +1 -1
  18. package/dist/assets/dropdown-default-textbox.css +1 -1
  19. package/dist/assets/dropdown.css +1 -1
  20. package/dist/assets/error-message.css +1 -1
  21. package/dist/assets/file-uploader.css +1 -1
  22. package/dist/assets/filter-bar.css +1 -1
  23. package/dist/assets/form-layout-title.css +1 -1
  24. package/dist/assets/input-field-phone-number.css +1 -1
  25. package/dist/assets/input-field.css +1 -1
  26. package/dist/assets/inspector.css +1 -1
  27. package/dist/assets/modal-fullscreen.css +1 -1
  28. package/dist/assets/pagination.css +1 -1
  29. package/dist/assets/radio-group.css +1 -1
  30. package/dist/assets/rich-text-editor.css +1 -1
  31. package/dist/assets/selection-card-group.css +1 -1
  32. package/dist/assets/sidepanel.css +1 -1
  33. package/dist/assets/textarea.css +1 -1
  34. package/dist/button.js +1 -1
  35. package/dist/card.js +1 -1
  36. package/dist/checkbox.js +2 -2
  37. package/dist/chunks/{action-bar.Dnkt4yn7.js → action-bar.ChMlt59Z.js} +4 -4
  38. package/dist/chunks/{action-bar.Dnkt4yn7.js.map → action-bar.ChMlt59Z.js.map} +1 -1
  39. package/dist/chunks/{ai-tag.s8TECgn_.js → ai-tag.D5fCswAm.js} +2 -2
  40. package/dist/chunks/{ai-tag.s8TECgn_.js.map → ai-tag.D5fCswAm.js.map} +1 -1
  41. package/dist/chunks/anchor-scroller.Cb22EJiL.js +177 -0
  42. package/dist/chunks/{anchor-scroller.3_idPubO.js.map → anchor-scroller.Cb22EJiL.js.map} +1 -1
  43. package/dist/chunks/{base-modal.09nAcnF_.js → base-modal.CUSvvYnk.js} +14 -14
  44. package/dist/chunks/{base-modal.09nAcnF_.js.map → base-modal.CUSvvYnk.js.map} +1 -1
  45. package/dist/chunks/{button-actions-with-menu.C8tSTxrm.js → button-actions-with-menu.D14S1pym.js} +3 -3
  46. package/dist/chunks/{button-actions-with-menu.C8tSTxrm.js.map → button-actions-with-menu.D14S1pym.js.map} +1 -1
  47. package/dist/chunks/{button-actions.VSc47LLH.js → button-actions.DyPS54Yi.js} +134 -132
  48. package/dist/chunks/button-actions.DyPS54Yi.js.map +1 -0
  49. package/dist/chunks/{calendar.DiXkjQDP.js → calendar.BNg7mSj5.js} +398 -407
  50. package/dist/chunks/calendar.BNg7mSj5.js.map +1 -0
  51. package/dist/chunks/{card.BdjdBN36.js → card.9oGLUzev.js} +2 -2
  52. package/dist/chunks/{card.BdjdBN36.js.map → card.9oGLUzev.js.map} +1 -1
  53. package/dist/chunks/{checkbox-group.BOZpz83Y.js → checkbox-group.BtsDJN9I.js} +22 -22
  54. package/dist/chunks/checkbox-group.BtsDJN9I.js.map +1 -0
  55. package/dist/chunks/{checkbox.DoeTl4xh.js → checkbox.Dxvh9si9.js} +34 -37
  56. package/dist/chunks/checkbox.Dxvh9si9.js.map +1 -0
  57. package/dist/chunks/{code-snippet.DBNJgt1j.js → code-snippet.CaAEHdBl.js} +4 -4
  58. package/dist/chunks/{code-snippet.DBNJgt1j.js.map → code-snippet.CaAEHdBl.js.map} +1 -1
  59. package/dist/chunks/constructNow.CIc7d13I.js +8 -0
  60. package/dist/chunks/{constructNow.B8T1ljs6.js.map → constructNow.CIc7d13I.js.map} +1 -1
  61. package/dist/chunks/{controls-group.HUWlAOhG.js → controls-group.BCKGkHVl.js} +23 -28
  62. package/dist/chunks/controls-group.BCKGkHVl.js.map +1 -0
  63. package/dist/chunks/{copy.BXykYfg0.js → copy.DSNuoLZf.js} +3 -3
  64. package/dist/chunks/{copy.BXykYfg0.js.map → copy.DSNuoLZf.js.map} +1 -1
  65. package/dist/chunks/{dashboard-section.Cw2Ima3U.js → dashboard-section.DIesvnBa.js} +3 -3
  66. package/dist/chunks/{dashboard-section.Cw2Ima3U.js.map → dashboard-section.DIesvnBa.js.map} +1 -1
  67. package/dist/chunks/{dashed-underline.Dfw7cJ-9.js → dashed-underline.DauOBhSD.js} +3 -3
  68. package/dist/chunks/{dashed-underline.Dfw7cJ-9.js.map → dashed-underline.DauOBhSD.js.map} +1 -1
  69. package/dist/chunks/{data-grid-template.6LR2Jqka.js → data-grid-template.T-6_zLby.js} +3 -3
  70. package/dist/chunks/{data-grid-template.6LR2Jqka.js.map → data-grid-template.T-6_zLby.js.map} +1 -1
  71. package/dist/chunks/{data-grid.7trhuJ5D.js → data-grid.ZjYQaN9_.js} +697 -697
  72. package/dist/chunks/{data-grid.7trhuJ5D.js.map → data-grid.ZjYQaN9_.js.map} +1 -1
  73. package/dist/chunks/date-picker.BLOqU7Z9.js +173 -0
  74. package/dist/chunks/date-picker.BLOqU7Z9.js.map +1 -0
  75. package/dist/chunks/date-range-picker.CJexeNJg.js +900 -0
  76. package/dist/chunks/date-range-picker.CJexeNJg.js.map +1 -0
  77. package/dist/chunks/{de.DvtL0g75.js → de.BJvo6njq.js} +2 -2
  78. package/dist/chunks/{de.DvtL0g75.js.map → de.BJvo6njq.js.map} +1 -1
  79. package/dist/chunks/{dialog-page.DA6E6qma.js → dialog-page.4deowaF2.js} +2 -2
  80. package/dist/chunks/{dialog-page.DA6E6qma.js.map → dialog-page.4deowaF2.js.map} +1 -1
  81. package/dist/chunks/{differenceInMonths.BR4Z2HIa.js → differenceInMonths.CIYECBxK.js} +7 -7
  82. package/dist/chunks/{differenceInMonths.BR4Z2HIa.js.map → differenceInMonths.CIYECBxK.js.map} +1 -1
  83. package/dist/chunks/{dropdown-default-textbox.5WjhJWdh.js → dropdown-default-textbox.CKnrDQ2z.js} +18 -16
  84. package/dist/chunks/dropdown-default-textbox.CKnrDQ2z.js.map +1 -0
  85. package/dist/chunks/{dropdown-tag.BnMuMIDk.js → dropdown-tag.DSCZALNp.js} +3 -3
  86. package/dist/chunks/{dropdown-tag.BnMuMIDk.js.map → dropdown-tag.DSCZALNp.js.map} +1 -1
  87. package/dist/chunks/{dropdown.DDPfKc74.js → dropdown.ET_mq1_P.js} +8 -8
  88. package/dist/chunks/{dropdown.DDPfKc74.js.map → dropdown.ET_mq1_P.js.map} +1 -1
  89. package/dist/chunks/{en-GB.DCGuCmAv.js → en-GB.C3-QUpva.js} +2 -2
  90. package/dist/chunks/{en-GB.DCGuCmAv.js.map → en-GB.C3-QUpva.js.map} +1 -1
  91. package/dist/chunks/{en-US.BZii9jNW.js → en-US.YeSsZuOc.js} +150 -100
  92. package/dist/chunks/en-US.YeSsZuOc.js.map +1 -0
  93. package/dist/chunks/{error-message.VenUl2OK.js → error-message.CYfT0Qsi.js} +19 -22
  94. package/dist/chunks/error-message.CYfT0Qsi.js.map +1 -0
  95. package/dist/chunks/{es.bz0mzkMq.js → es.DyUjjSL8.js} +2 -2
  96. package/dist/chunks/{es.bz0mzkMq.js.map → es.DyUjjSL8.js.map} +1 -1
  97. package/dist/chunks/{file-uploader.BU1V40qK.js → file-uploader.BSX-zpyP.js} +377 -353
  98. package/dist/chunks/file-uploader.BSX-zpyP.js.map +1 -0
  99. package/dist/chunks/filter-bar.DkKvGUEm.js +3229 -0
  100. package/dist/chunks/filter-bar.DkKvGUEm.js.map +1 -0
  101. package/dist/chunks/{focus-trap.DMc1wL3A.js → focus-trap.DRqjHzt6.js} +2 -2
  102. package/dist/chunks/{focus-trap.DMc1wL3A.js.map → focus-trap.DRqjHzt6.js.map} +1 -1
  103. package/dist/chunks/{footer-actions.z-api8J_.js → footer-actions.Dq82H1Oc.js} +2 -2
  104. package/dist/chunks/{footer-actions.z-api8J_.js.map → footer-actions.Dq82H1Oc.js.map} +1 -1
  105. package/dist/chunks/form-layout-title.vF9Bmbre.js +212 -0
  106. package/dist/chunks/{form-layout-title.Bbq05nMT.js.map → form-layout-title.vF9Bmbre.js.map} +1 -1
  107. package/dist/chunks/{match.CMBZxEs9.js → fr.JD_4GwS8.js} +98 -61
  108. package/dist/chunks/fr.JD_4GwS8.js.map +1 -0
  109. package/dist/chunks/{header-meta.CuMQSsOm.js → header-meta.ByA0tkZw.js} +88 -94
  110. package/dist/chunks/header-meta.ByA0tkZw.js.map +1 -0
  111. package/dist/chunks/{header-with-views.BcyAUerg.js → header-with-views.DLoIc0yO.js} +9 -9
  112. package/dist/chunks/{header-with-views.BcyAUerg.js.map → header-with-views.DLoIc0yO.js.map} +1 -1
  113. package/dist/chunks/{header.YECm2GAh.js → header.BG6XUNEs.js} +3 -3
  114. package/dist/chunks/{header.YECm2GAh.js.map → header.BG6XUNEs.js.map} +1 -1
  115. package/dist/chunks/{index.BkJqgYF1.js → index.CwzYJHw2.js} +204 -197
  116. package/dist/chunks/{index.BkJqgYF1.js.map → index.CwzYJHw2.js.map} +1 -1
  117. package/dist/chunks/{info-icon.DS9ax8ZD.js → info-icon.BF8KxU-k.js} +3 -3
  118. package/dist/chunks/{info-icon.DS9ax8ZD.js.map → info-icon.BF8KxU-k.js.map} +1 -1
  119. package/dist/chunks/{input-field-password.DrI6eF5u.js → input-field-password.TIzrVzR6.js} +6 -6
  120. package/dist/chunks/{input-field-password.DrI6eF5u.js.map → input-field-password.TIzrVzR6.js.map} +1 -1
  121. package/dist/chunks/{input-field-phone-number.Buh4x3pJ.js → input-field-phone-number.s2fP7BVR.js} +42 -42
  122. package/dist/chunks/{input-field-phone-number.Buh4x3pJ.js.map → input-field-phone-number.s2fP7BVR.js.map} +1 -1
  123. package/dist/chunks/{input-field.NEKXqT4R.js → input-field.CSCJTxk1.js} +10 -10
  124. package/dist/chunks/input-field.CSCJTxk1.js.map +1 -0
  125. package/dist/chunks/{inspector.BomNgVb-.js → inspector.DgI3voTk.js} +3 -3
  126. package/dist/chunks/{inspector.BomNgVb-.js.map → inspector.DgI3voTk.js.map} +1 -1
  127. package/dist/chunks/isSameWeek.CzBCmu7d.js +14 -0
  128. package/dist/chunks/{isSameWeek.DjeUtLwI.js.map → isSameWeek.CzBCmu7d.js.map} +1 -1
  129. package/dist/chunks/{it.DIafuXtH.js → it.BlUnV-yA.js} +3 -3
  130. package/dist/chunks/{it.DIafuXtH.js.map → it.BlUnV-yA.js.map} +1 -1
  131. package/dist/chunks/{ja.Cm9tJMi2.js → ja.nUwDmVf2.js} +8 -8
  132. package/dist/chunks/{ja.Cm9tJMi2.js.map → ja.nUwDmVf2.js.map} +1 -1
  133. package/dist/chunks/{layout-row.BxuMJU4E.js → layout-row.B_IQC9Nq.js} +2 -2
  134. package/dist/chunks/{layout-row.BxuMJU4E.js.map → layout-row.B_IQC9Nq.js.map} +1 -1
  135. package/dist/chunks/{listbox-option-tag.Cv3y0TvQ.js → listbox-option-tag.BhPVuAjJ.js} +2 -2
  136. package/dist/chunks/{listbox-option-tag.Cv3y0TvQ.js.map → listbox-option-tag.BhPVuAjJ.js.map} +1 -1
  137. package/dist/chunks/modal-fullscreen.DJtDO8TR.js +235 -0
  138. package/dist/chunks/modal-fullscreen.DJtDO8TR.js.map +1 -0
  139. package/dist/chunks/{modal.DOR8c0gy.js → modal.BbsIM3qp.js} +4 -4
  140. package/dist/chunks/{modal.DOR8c0gy.js.map → modal.BbsIM3qp.js.map} +1 -1
  141. package/dist/chunks/{pagination.wuEIlDcq.js → pagination.iN0eYByB.js} +157 -138
  142. package/dist/chunks/pagination.iN0eYByB.js.map +1 -0
  143. package/dist/chunks/popover.types.hA13DZPg.js +6 -0
  144. package/dist/chunks/{popover.types.DkiRUQ4Z.js.map → popover.types.hA13DZPg.js.map} +1 -1
  145. package/dist/chunks/{popper-container.D4dworD4.js → popper-container.C_n9Ds1W.js} +2 -2
  146. package/dist/chunks/{popper-container.D4dworD4.js.map → popper-container.C_n9Ds1W.js.map} +1 -1
  147. package/dist/chunks/{promo-banner.bjMDm76T.js → promo-banner.BQreywWK.js} +2 -2
  148. package/dist/chunks/{promo-banner.bjMDm76T.js.map → promo-banner.BQreywWK.js.map} +1 -1
  149. package/dist/chunks/{pt-BR.CiGdfP45.js → pt-BR.BCU2Hj36.js} +2 -2
  150. package/dist/chunks/{pt-BR.CiGdfP45.js.map → pt-BR.BCU2Hj36.js.map} +1 -1
  151. package/dist/chunks/{radio-group.DKRxfGtE.js → radio-group.5ZxqWguJ.js} +6 -6
  152. package/dist/chunks/radio-group.5ZxqWguJ.js.map +1 -0
  153. package/dist/chunks/{rich-text-editor.RHbCDQhe.js → rich-text-editor.BJ-FvvNc.js} +132 -132
  154. package/dist/chunks/{rich-text-editor.RHbCDQhe.js.map → rich-text-editor.BJ-FvvNc.js.map} +1 -1
  155. package/dist/chunks/{search-bar.UVSaoX0h.js → search-bar.GPl6NU_w.js} +3 -3
  156. package/dist/chunks/{search-bar.UVSaoX0h.js.map → search-bar.GPl6NU_w.js.map} +1 -1
  157. package/dist/chunks/{secondary-nav.C6ldQMZ2.js → secondary-nav.DMHDxGDq.js} +3 -3
  158. package/dist/chunks/{secondary-nav.C6ldQMZ2.js.map → secondary-nav.DMHDxGDq.js.map} +1 -1
  159. package/dist/chunks/{segmented-control.BLnuxgnJ.js → segmented-control.BqIiX9hv.js} +2 -2
  160. package/dist/chunks/{segmented-control.BLnuxgnJ.js.map → segmented-control.BqIiX9hv.js.map} +1 -1
  161. package/dist/chunks/{selection-card-group.DdvpTgg4.js → selection-card-group.Hol_gJKN.js} +28 -28
  162. package/dist/chunks/selection-card-group.Hol_gJKN.js.map +1 -0
  163. package/dist/chunks/{sidepanel.BKE87Uef.js → sidepanel.CSA5e8AF.js} +5 -5
  164. package/dist/chunks/{sidepanel.BKE87Uef.js.map → sidepanel.CSA5e8AF.js.map} +1 -1
  165. package/dist/chunks/{startOfWeek.D8Yh4c0G.js → startOfWeek.CXhhX-R7.js} +2 -2
  166. package/dist/chunks/{startOfWeek.D8Yh4c0G.js.map → startOfWeek.CXhhX-R7.js.map} +1 -1
  167. package/dist/chunks/{structured-list-item.DRFRap_S.js → structured-list-item.C7W3zYcT.js} +4 -4
  168. package/dist/chunks/{structured-list-item.DRFRap_S.js.map → structured-list-item.C7W3zYcT.js.map} +1 -1
  169. package/dist/chunks/{summary-grid.types.OldkhD7S.js → summary-grid.types.nrVagy9s.js} +5 -5
  170. package/dist/chunks/{summary-grid.types.OldkhD7S.js.map → summary-grid.types.nrVagy9s.js.map} +1 -1
  171. package/dist/chunks/{tag.Cy3XkSDQ.js → tag.CocLKztJ.js} +2 -2
  172. package/dist/chunks/{tag.Cy3XkSDQ.js.map → tag.CocLKztJ.js.map} +1 -1
  173. package/dist/chunks/{textarea.Bm9MZb_W.js → textarea.CpVhEv6I.js} +33 -33
  174. package/dist/chunks/textarea.CpVhEv6I.js.map +1 -0
  175. package/dist/chunks/{timeline-item.Cpbm8IUw.js → timeline-item.CSDdHboz.js} +52 -54
  176. package/dist/chunks/timeline-item.CSDdHboz.js.map +1 -0
  177. package/dist/chunks/{tooltip.DF11J3k3.js → tooltip.CbsNGnhw.js} +2 -2
  178. package/dist/chunks/{tooltip.DF11J3k3.js.map → tooltip.CbsNGnhw.js.map} +1 -1
  179. package/dist/chunks/{tutorial.D5xtZ1Pt.js → tutorial.3dTfBKtZ.js} +4 -4
  180. package/dist/chunks/{tutorial.D5xtZ1Pt.js.map → tutorial.3dTfBKtZ.js.map} +1 -1
  181. package/dist/chunks/{use-cached-selected-values.wn2xnwYG.js → use-cached-selected-values.DiIjmiF_.js} +2 -2
  182. package/dist/chunks/{use-cached-selected-values.wn2xnwYG.js.map → use-cached-selected-values.DiIjmiF_.js.map} +1 -1
  183. package/dist/chunks/use-date-input-formatter.Dcjry8op.js +1732 -0
  184. package/dist/chunks/use-date-input-formatter.Dcjry8op.js.map +1 -0
  185. package/dist/chunks/{zh-CN.Bw_6j9Cd.js → zh-CN.ChYkuQAR.js} +3 -3
  186. package/dist/chunks/{zh-CN.Bw_6j9Cd.js.map → zh-CN.ChYkuQAR.js.map} +1 -1
  187. package/dist/code-snippet.js +1 -1
  188. package/dist/dashboard-template.js +1 -1
  189. package/dist/dashed-underline.js +1 -1
  190. package/dist/data-grid-template.js +1 -1
  191. package/dist/data-grid.js +1 -1
  192. package/dist/date-picker.js +2 -2
  193. package/dist/date-range-picker.js +2 -2
  194. package/dist/draggable-handle.js +1 -1
  195. package/dist/dropdown.js +4 -4
  196. package/dist/file-uploader.js +1 -1
  197. package/dist/filter-bar.js +1 -1
  198. package/dist/focus-trap.js +1 -1
  199. package/dist/form-layout.js +1 -1
  200. package/dist/header-with-views.js +1 -1
  201. package/dist/header.js +1 -1
  202. package/dist/index.js +50 -50
  203. package/dist/index.js.map +1 -1
  204. package/dist/info-icon.js +1 -1
  205. package/dist/input-field-password.js +1 -1
  206. package/dist/input-field-phone-number.js +1 -1
  207. package/dist/input-field.js +1 -1
  208. package/dist/inspector.js +1 -1
  209. package/dist/internal.js +11 -11
  210. package/dist/layout.js +1 -1
  211. package/dist/menu.js +1 -1
  212. package/dist/modal-fullscreen.js +1 -1
  213. package/dist/modal.js +2 -2
  214. package/dist/pagination.js +1 -1
  215. package/dist/popover.js +2 -2
  216. package/dist/popper-container.js +1 -1
  217. package/dist/promo-banner.js +1 -1
  218. package/dist/radio-group.js +1 -1
  219. package/dist/rich-text-editor.js +1 -1
  220. package/dist/search-bar.js +2 -2
  221. package/dist/secondary-nav.js +1 -1
  222. package/dist/segmented-control.js +1 -1
  223. package/dist/selection-card.js +1 -1
  224. package/dist/sidepanel.js +1 -1
  225. package/dist/structured-list.js +1 -1
  226. package/dist/summary-grid.js +1 -1
  227. package/dist/tag.js +1 -1
  228. package/dist/textarea.js +1 -1
  229. package/dist/timeline.js +1 -1
  230. package/dist/tutorial.js +1 -1
  231. package/dist/web-types.json +104 -5
  232. package/package.json +7 -12
  233. package/dist/chunks/anchor-scroller.3_idPubO.js +0 -178
  234. package/dist/chunks/button-actions.VSc47LLH.js.map +0 -1
  235. package/dist/chunks/calendar.DiXkjQDP.js.map +0 -1
  236. package/dist/chunks/checkbox-group.BOZpz83Y.js.map +0 -1
  237. package/dist/chunks/checkbox.DoeTl4xh.js.map +0 -1
  238. package/dist/chunks/constructNow.B8T1ljs6.js +0 -8
  239. package/dist/chunks/controls-group.HUWlAOhG.js.map +0 -1
  240. package/dist/chunks/date-input.etw_pFpA.js +0 -20
  241. package/dist/chunks/date-input.etw_pFpA.js.map +0 -1
  242. package/dist/chunks/date-picker.CITeN8WH.js +0 -173
  243. package/dist/chunks/date-picker.CITeN8WH.js.map +0 -1
  244. package/dist/chunks/date-range-picker.BhBpy-oH.js +0 -877
  245. package/dist/chunks/date-range-picker.BhBpy-oH.js.map +0 -1
  246. package/dist/chunks/dropdown-default-textbox.5WjhJWdh.js.map +0 -1
  247. package/dist/chunks/en-US.BZii9jNW.js.map +0 -1
  248. package/dist/chunks/error-message.VenUl2OK.js.map +0 -1
  249. package/dist/chunks/file-uploader.BU1V40qK.js.map +0 -1
  250. package/dist/chunks/filter-bar.BUVhS3jE.js +0 -3321
  251. package/dist/chunks/filter-bar.BUVhS3jE.js.map +0 -1
  252. package/dist/chunks/form-layout-title.Bbq05nMT.js +0 -197
  253. package/dist/chunks/fr-CA.B1aPU8fp.js +0 -48
  254. package/dist/chunks/fr-CA.B1aPU8fp.js.map +0 -1
  255. package/dist/chunks/fr.Dj7wEToe.js +0 -47
  256. package/dist/chunks/fr.Dj7wEToe.js.map +0 -1
  257. package/dist/chunks/getTimezoneOffsetInMilliseconds.Tu2wlbTR.js +0 -51
  258. package/dist/chunks/getTimezoneOffsetInMilliseconds.Tu2wlbTR.js.map +0 -1
  259. package/dist/chunks/header-meta.CuMQSsOm.js.map +0 -1
  260. package/dist/chunks/input-field.NEKXqT4R.js.map +0 -1
  261. package/dist/chunks/isSameWeek.DjeUtLwI.js +0 -14
  262. package/dist/chunks/ko.Ceaof6EP.js +0 -348
  263. package/dist/chunks/ko.Ceaof6EP.js.map +0 -1
  264. package/dist/chunks/match.CMBZxEs9.js.map +0 -1
  265. package/dist/chunks/modal-fullscreen.6bAjPENL.js +0 -225
  266. package/dist/chunks/modal-fullscreen.6bAjPENL.js.map +0 -1
  267. package/dist/chunks/nl.B6vCf2B9.js +0 -327
  268. package/dist/chunks/nl.B6vCf2B9.js.map +0 -1
  269. package/dist/chunks/pagination.wuEIlDcq.js.map +0 -1
  270. package/dist/chunks/popover.types.DkiRUQ4Z.js +0 -6
  271. package/dist/chunks/radio-group.DKRxfGtE.js.map +0 -1
  272. package/dist/chunks/selection-card-group.DdvpTgg4.js.map +0 -1
  273. package/dist/chunks/sv.f8EfZjMZ.js +0 -377
  274. package/dist/chunks/sv.f8EfZjMZ.js.map +0 -1
  275. package/dist/chunks/textarea.Bm9MZb_W.js.map +0 -1
  276. package/dist/chunks/timeline-item.Cpbm8IUw.js.map +0 -1
@@ -1,7 +1,7 @@
1
1
  import { defineComponent as i, toRefs as r, computed as l, onMounted as c } from "vue";
2
2
  import { B as u } from "./typography.C8lPlsbD.js";
3
3
  import { b as _ } from "./button.Ctj3rkxw.js";
4
- import { B as d } from "./button-actions.VSc47LLH.js";
4
+ import { B as d } from "./button-actions.DyPS54Yi.js";
5
5
  import { n as f } from "./_plugin-vue2_normalizer.CeySl7Fu.js";
6
6
  import "../assets/footer-actions.css";
7
7
  const p = {}, g = /* @__PURE__ */ i({
@@ -93,4 +93,4 @@ const w = b.exports;
93
93
  export {
94
94
  w as F
95
95
  };
96
- //# sourceMappingURL=footer-actions.z-api8J_.js.map
96
+ //# sourceMappingURL=footer-actions.Dq82H1Oc.js.map
@@ -1 +1 @@
1
- {"version":3,"file":"footer-actions.z-api8J_.js","sources":["../../src/components/internal/footer-actions/footer-actions.vue"],"sourcesContent":["<template>\n <div class=\"b-footer-actions\">\n <div class=\"b-footer-actions__wrapper\">\n <bento-typography v-if=\"actionsLabel\" class=\"b-footer-actions__label\" el=\"span\" variant=\"body\" stronger>\n {{ actionsLabel }}\n </bento-typography>\n\n <bento-button-actions\n v-if=\"alignedActions.leftAligned\"\n class=\"b-footer-actions__left-group\"\n :actions=\"alignedActions.leftAligned\"\n layout=\"buttons-start\"\n ></bento-button-actions>\n\n <bento-button-actions\n class=\"b-footer-actions__right-group\"\n :actions=\"alignedActions.rightAligned\"\n layout=\"buttons-end\"\n ></bento-button-actions>\n </div>\n </div>\n</template>\n\n<script setup lang=\"ts\">\n import { BentoTypography } from '@/components/typography';\n import { computed, onMounted, type PropType, toRefs } from 'vue';\n import { BentoButtonActions, type BentoButtonActionsList, BentoButtonVariant } from '@/components/button';\n\n const props = defineProps({\n /**\n * List of actions that will be used to render the buttons.\n * First element in the list will be rendered as \"primary\".\n * All elements after the first will be rendered as \"secondary\".\n * But you may change the color of 1-st action to red with 'critial' key\n * Not more than 3 action buttons can be provided\n * Or 2 action buttons and 1 Label for them\n *\n * Each object in the list should have a `title`, an `event` and\n * (optional) a Vue `icon` from the library `@adyen/ui-assets-icons-16`.\n *\n * `title`: Button's text.\n *\n * `event`: Event triggered when clicking the Button.\n *\n * `icon`: Vue Icon from the library `@adyen/ui-assets-icons-16`.\n *\n * ```\n * [{\n * title: 'Primary',2\n * event: () => { ... },\n * icon: FourPeopleIcon\n * }, {\n * title: 'Secondary',\n * event: () => { ... }\n * }]\n * ```\n */\n actions: {\n type: Array as PropType<BentoButtonActionsList>,\n required: true,\n },\n /**\n * Text label that is displayed left to the action buttons\n */\n actionsLabel: {\n type: String,\n default: null,\n },\n /**\n * If passed - sets first button color to red\n */\n destructiveActions: {\n type: Boolean,\n default: false,\n },\n });\n\n const { actions, destructiveActions } = toRefs(props);\n\n const alignedActions = computed(() => {\n const rightAlignedButtons =\n actions.value.length < 3 ? actions.value : actions.value.slice(0, actions.value.length - 1);\n\n // Add red color to the 1-st Action button\n rightAlignedButtons[0].critical = destructiveActions.value || rightAlignedButtons[0].critical;\n\n return {\n leftAligned:\n actions.value.length === 3\n ? [\n {\n ...actions.value[actions.value.length - 1],\n variant: BentoButtonVariant.SECONDARY,\n },\n ]\n : null,\n rightAligned: [...rightAlignedButtons],\n };\n });\n\n onMounted(() => {\n if (props.actions && props.actions.length > 3) {\n throw new Error('Not more than 3 action buttons may be provided to Bento Modal default variant');\n }\n\n if (props.actionsLabel && props.actions && props.actions.length > 2) {\n throw new Error(\n 'Not more than 2 action buttons may be provided with actions label to Bento Modal default variant'\n );\n }\n });\n</script>\n\n<script lang=\"ts\">\n /**\n * Internal component to handle the logic of displaying actions in default Modal and Sidepanel\n\n * @example\n * import { FooterActions } from '@/components/internal/footer-actions';\n *\n * export default {\n * components: { FooterActions },\n * template: `\n * <footer-actions :actions=\"BentoButtonActionsList\" actions-label=\"Label\" :destructive-actions=\"true\" />\n * `\n * }\n */\n export default {};\n</script>\n\n<style lang=\"scss\" scoped src=\"./footer-actions.scss\" />\n"],"names":["__default__","actions","destructiveActions","toRefs","props","alignedActions","computed","rightAlignedButtons","BentoButtonVariant","onMounted"],"mappings":";;;;;;AA+HI,MAAAA,IAAA,CAAA;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;iBAlDA,EAAA,SAAAC,GAAA,oBAAAC,EAAA,IAAAC,EAAAC,CAAA,GAEAC,IAAAC,EAAA,MAAA;AACI,YAAAC,IAAAN,EAAA,MAAA,SAAA,IAAAA,EAAA,QAAAA,EAAA,MAAA,MAAA,GAAAA,EAAA,MAAA,SAAA,CAAA;AAIA,aAAAM,EAAA,CAAA,EAAA,WAAAL,EAAA,SAAAK,EAAA,CAAA,EAAA,UAEA;AAAA,QAAO,aAAAN,EAAA,MAAA,WAAA,IAAA;AAAA,UAGO;AAAA,YACI,GAAAA,EAAA,MAAAA,EAAA,MAAA,SAAA,CAAA;AAAA,YAC6C,SAAAO,EAAA;AAAA,UACb;AAAA,QAChC,IAAA;AAAA,QAEJ,cAAA,CAAA,GAAAD,CAAA;AAAA,MAC2B;AAAA,IACzC,CAAA;AAGJ,WAAAE,EAAA,MAAA;AACI,UAAAL,EAAA,WAAAA,EAAA,QAAA,SAAA;AACI,cAAA,IAAA,MAAA,+EAAA;AAGJ,UAAAA,EAAA,gBAAAA,EAAA,WAAAA,EAAA,QAAA,SAAA;AACI,cAAA,IAAA;AAAA,UAAU;AAAA,QACN;AAAA,IAER,CAAA;;;;;;;;;;;;;;;"}
1
+ {"version":3,"file":"footer-actions.Dq82H1Oc.js","sources":["../../src/components/internal/footer-actions/footer-actions.vue"],"sourcesContent":["<template>\n <div class=\"b-footer-actions\">\n <div class=\"b-footer-actions__wrapper\">\n <bento-typography v-if=\"actionsLabel\" class=\"b-footer-actions__label\" el=\"span\" variant=\"body\" stronger>\n {{ actionsLabel }}\n </bento-typography>\n\n <bento-button-actions\n v-if=\"alignedActions.leftAligned\"\n class=\"b-footer-actions__left-group\"\n :actions=\"alignedActions.leftAligned\"\n layout=\"buttons-start\"\n ></bento-button-actions>\n\n <bento-button-actions\n class=\"b-footer-actions__right-group\"\n :actions=\"alignedActions.rightAligned\"\n layout=\"buttons-end\"\n ></bento-button-actions>\n </div>\n </div>\n</template>\n\n<script setup lang=\"ts\">\n import { BentoTypography } from '@/components/typography';\n import { computed, onMounted, type PropType, toRefs } from 'vue';\n import { BentoButtonActions, type BentoButtonActionsList, BentoButtonVariant } from '@/components/button';\n\n const props = defineProps({\n /**\n * List of actions that will be used to render the buttons.\n * First element in the list will be rendered as \"primary\".\n * All elements after the first will be rendered as \"secondary\".\n * But you may change the color of 1-st action to red with 'critial' key\n * Not more than 3 action buttons can be provided\n * Or 2 action buttons and 1 Label for them\n *\n * Each object in the list should have a `title`, an `event` and\n * (optional) a Vue `icon` from the library `@adyen/ui-assets-icons-16`.\n *\n * `title`: Button's text.\n *\n * `event`: Event triggered when clicking the Button.\n *\n * `icon`: Vue Icon from the library `@adyen/ui-assets-icons-16`.\n *\n * ```\n * [{\n * title: 'Primary',2\n * event: () => { ... },\n * icon: FourPeopleIcon\n * }, {\n * title: 'Secondary',\n * event: () => { ... }\n * }]\n * ```\n */\n actions: {\n type: Array as PropType<BentoButtonActionsList>,\n required: true,\n },\n /**\n * Text label that is displayed left to the action buttons\n */\n actionsLabel: {\n type: String,\n default: null,\n },\n /**\n * If passed - sets first button color to red\n */\n destructiveActions: {\n type: Boolean,\n default: false,\n },\n });\n\n const { actions, destructiveActions } = toRefs(props);\n\n const alignedActions = computed(() => {\n const rightAlignedButtons =\n actions.value.length < 3 ? actions.value : actions.value.slice(0, actions.value.length - 1);\n\n // Add red color to the 1-st Action button\n rightAlignedButtons[0].critical = destructiveActions.value || rightAlignedButtons[0].critical;\n\n return {\n leftAligned:\n actions.value.length === 3\n ? [\n {\n ...actions.value[actions.value.length - 1],\n variant: BentoButtonVariant.SECONDARY,\n },\n ]\n : null,\n rightAligned: [...rightAlignedButtons],\n };\n });\n\n onMounted(() => {\n if (props.actions && props.actions.length > 3) {\n throw new Error('Not more than 3 action buttons may be provided to Bento Modal default variant');\n }\n\n if (props.actionsLabel && props.actions && props.actions.length > 2) {\n throw new Error(\n 'Not more than 2 action buttons may be provided with actions label to Bento Modal default variant'\n );\n }\n });\n</script>\n\n<script lang=\"ts\">\n /**\n * Internal component to handle the logic of displaying actions in default Modal and Sidepanel\n\n * @example\n * import { FooterActions } from '@/components/internal/footer-actions';\n *\n * export default {\n * components: { FooterActions },\n * template: `\n * <footer-actions :actions=\"BentoButtonActionsList\" actions-label=\"Label\" :destructive-actions=\"true\" />\n * `\n * }\n */\n export default {};\n</script>\n\n<style lang=\"scss\" scoped src=\"./footer-actions.scss\" />\n"],"names":["__default__","actions","destructiveActions","toRefs","props","alignedActions","computed","rightAlignedButtons","BentoButtonVariant","onMounted"],"mappings":";;;;;;AA+HI,MAAAA,IAAA,CAAA;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;iBAlDA,EAAA,SAAAC,GAAA,oBAAAC,EAAA,IAAAC,EAAAC,CAAA,GAEAC,IAAAC,EAAA,MAAA;AACI,YAAAC,IAAAN,EAAA,MAAA,SAAA,IAAAA,EAAA,QAAAA,EAAA,MAAA,MAAA,GAAAA,EAAA,MAAA,SAAA,CAAA;AAIA,aAAAM,EAAA,CAAA,EAAA,WAAAL,EAAA,SAAAK,EAAA,CAAA,EAAA,UAEA;AAAA,QAAO,aAAAN,EAAA,MAAA,WAAA,IAAA;AAAA,UAGO;AAAA,YACI,GAAAA,EAAA,MAAAA,EAAA,MAAA,SAAA,CAAA;AAAA,YAC6C,SAAAO,EAAA;AAAA,UACb;AAAA,QAChC,IAAA;AAAA,QAEJ,cAAA,CAAA,GAAAD,CAAA;AAAA,MAC2B;AAAA,IACzC,CAAA;AAGJ,WAAAE,EAAA,MAAA;AACI,UAAAL,EAAA,WAAAA,EAAA,QAAA,SAAA;AACI,cAAA,IAAA,MAAA,+EAAA;AAGJ,UAAAA,EAAA,gBAAAA,EAAA,WAAAA,EAAA,QAAA,SAAA;AACI,cAAA,IAAA;AAAA,UAAU;AAAA,QACN;AAAA,IAER,CAAA;;;;;;;;;;;;;;;"}
@@ -0,0 +1,212 @@
1
+ import { defineComponent as n, useSlots as c, computed as a, provide as m, toRef as y } from "vue";
2
+ import { B as d } from "./alert.BESCd8iS.js";
3
+ import { u as p } from "./use-has-slot.C9lQZ6nz.js";
4
+ import { F as v } from "./form-layout.types.bZW9iR6_.js";
5
+ import { n as l } from "./_plugin-vue2_normalizer.CeySl7Fu.js";
6
+ import { B as f, a as g } from "./typography.C8lPlsbD.js";
7
+ import { u as h } from "./index.B6WW_F-J.js";
8
+ import "../assets/form-layout-title.css";
9
+ const b = {}, S = /* @__PURE__ */ n({
10
+ ...b,
11
+ __name: "form-layout",
12
+ props: {
13
+ /**
14
+ * Renders the form layout as an HTML `form`
15
+ */
16
+ form: { type: Boolean, default: !1 },
17
+ /**
18
+ * Sets the state of the form and its fields to
19
+ * a read only status.
20
+ */
21
+ loading: { type: Boolean, default: !1 }
22
+ },
23
+ emits: ["submit"],
24
+ setup(o, { emit: t }) {
25
+ const s = o, e = c(), r = p(e), i = a(() => s.form ? "form" : "div"), _ = a(() => r("actions-left") || r("actions-right"));
26
+ return m(v, y(s, "loading")), { __sfc: !0, slots: e, hasSlot: r, emit: t, props: s, formLayoutElement: i, hasActions: _, BentoAlert: d };
27
+ }
28
+ });
29
+ var $ = function() {
30
+ var t = this, s = t._self._c, e = t._self._setupProxy;
31
+ return s(e.formLayoutElement, { tag: "component", staticClass: "b-form-layout", attrs: { role: "form" }, on: { submit: function(r) {
32
+ return e.emit("submit", r);
33
+ } } }, [e.hasSlot("error-message") ? s(e.BentoAlert, { staticClass: "b-form-layout__error-message", attrs: { type: "critical" }, scopedSlots: t._u([{ key: "description", fn: function() {
34
+ return [t._t("error-message")];
35
+ }, proxy: !0 }], null, !0) }) : t._e(), t._t("default"), e.hasActions ? s("div", { staticClass: "b-form-layout__actions-container" }, [s("div", { staticClass: "b-form-layout__actions" }, [t._t("actions-left")], 2), s("div", { staticClass: "b-form-layout__actions" }, [t._t("actions-right")], 2)]) : t._e()], 2);
36
+ }, C = [], F = /* @__PURE__ */ l(
37
+ S,
38
+ $,
39
+ C,
40
+ !1,
41
+ null,
42
+ "b895dc37"
43
+ );
44
+ const Q = F.exports, B = ["warning", "critical", "highlight", "success"], L = {}, T = /* @__PURE__ */ n({
45
+ ...L,
46
+ __name: "form-layout-field-tip",
47
+ props: {
48
+ /**
49
+ * Type of a alert; set a distinctive icon and color. Defaults to highlight.
50
+ * @values highlight, success, critical, warning
51
+ */
52
+ type: {
53
+ type: String,
54
+ default: "highlight",
55
+ validator: (o) => B.includes(o)
56
+ },
57
+ /**
58
+ * Unique identifier to the form field. Used for accessibility.
59
+ */
60
+ id: {
61
+ type: String,
62
+ default: void 0
63
+ }
64
+ },
65
+ setup(o) {
66
+ const t = c(), s = p(t);
67
+ return { __sfc: !0, slots: t, hasSlot: s, BentoAlert: d };
68
+ }
69
+ });
70
+ var x = function() {
71
+ var t = this, s = t._self._c, e = t._self._setupProxy;
72
+ return s("div", { staticClass: "b-form-layout-field-tip" }, [t._t("default"), e.hasSlot("message") ? s(e.BentoAlert, { attrs: { id: t.id, variant: "tip", type: t.type }, scopedSlots: t._u([{ key: "description", fn: function() {
73
+ return [t._t("message")];
74
+ }, proxy: !0 }], null, !0) }) : t._e()], 2);
75
+ }, R = [], A = /* @__PURE__ */ l(
76
+ T,
77
+ x,
78
+ R,
79
+ !1,
80
+ null,
81
+ "47d36a49"
82
+ );
83
+ const V = A.exports, u = [
84
+ "100",
85
+ "50",
86
+ "33",
87
+ "25",
88
+ "66-33",
89
+ "33-66",
90
+ "75-25",
91
+ "25-75",
92
+ "50-50",
93
+ "33-33-33"
94
+ ], O = {}, q = /* @__PURE__ */ n({
95
+ ...O,
96
+ __name: "form-layout-group",
97
+ props: {
98
+ /**
99
+ * The layout of the pair group of components.
100
+ * This will render the components within the width of the proportions.
101
+ * Only two colums are available.
102
+ *
103
+ * If only one value is entered, then it will assume there's only one child in the group.
104
+ * If two values are entered, the first value will be use for the first child and the second
105
+ * value for the second child.
106
+ *
107
+ * If the value entered is not listed in the example
108
+ * list below it will use 100% by default.
109
+ * @example
110
+ * '33-33-33'
111
+ * '50-50'
112
+ * '25-75'
113
+ * '75-25'
114
+ * '33-66'
115
+ * '66-33'
116
+ * '25'
117
+ * '33'
118
+ * '50'
119
+ * '100'
120
+ */
121
+ layout: {
122
+ type: String,
123
+ default: "100",
124
+ validator: (o) => u.includes(o)
125
+ }
126
+ },
127
+ setup(o) {
128
+ const t = o, s = 100, e = a(
129
+ () => u.includes(t.layout) ? t.layout : s
130
+ ), r = a(() => ({
131
+ // Transform into column if the layout is unsupported
132
+ "b-form-layout-group--column": !u.includes(t.layout),
133
+ // Assings the correct layout class
134
+ [`b-form-layout-group--${e.value}`]: !0
135
+ }));
136
+ return { __sfc: !0, DEFAULT_PROPORTION: s, props: t, computedLayout: e, conditionalClasses: r };
137
+ }
138
+ });
139
+ var P = function() {
140
+ var t = this, s = t._self._c, e = t._self._setupProxy;
141
+ return s("div", { staticClass: "b-form-layout-group", class: e.conditionalClasses }, [t._t("default")], 2);
142
+ }, E = [], I = /* @__PURE__ */ l(
143
+ q,
144
+ P,
145
+ E,
146
+ !1,
147
+ null,
148
+ "18d77022"
149
+ );
150
+ const W = I.exports, N = {
151
+ "en-US": {
152
+ requiredFields: "All fields are required."
153
+ }
154
+ }, G = {
155
+ name: "bento-form-layout-title",
156
+ i18n: { messages: N }
157
+ }, U = /* @__PURE__ */ n({
158
+ ...G,
159
+ props: {
160
+ /**
161
+ * Defines if the Form Layout title is
162
+ * a "section" or a "subsection".
163
+ * Default is "section" (false). Turn into "true" for "subsection"
164
+ */
165
+ subsection: {
166
+ type: Boolean,
167
+ default: !1
168
+ },
169
+ /**
170
+ * Sets the HTML DOM element.
171
+ * @values h1, h2, h3, h4, h5, h6, div, p, span
172
+ */
173
+ el: {
174
+ type: f.props.el.type,
175
+ required: !0,
176
+ validator: (o) => Object.values(g).includes(o)
177
+ },
178
+ /**
179
+ * Defines if the Form Layout title displays
180
+ * a message indicating that all fields are required.
181
+ */
182
+ allFieldsRequired: {
183
+ type: Boolean,
184
+ default: !1
185
+ }
186
+ },
187
+ setup(o) {
188
+ const t = o, s = c(), { t: e } = h(), r = a(() => !t.subsection), i = p(s), _ = a(() => ({
189
+ "b-form-layout-title--subsection": t.subsection
190
+ }));
191
+ return { __sfc: !0, slots: s, t: e, props: t, isSection: r, hasSlot: i, conditionalClasses: _, BentoTypography: f };
192
+ }
193
+ });
194
+ var k = function() {
195
+ var t = this, s = t._self._c, e = t._self._setupProxy;
196
+ return s("div", { staticClass: "b-form-layout-title", class: e.conditionalClasses }, [s(e.BentoTypography, { attrs: { el: t.el, variant: "title", medium: e.isSection } }, [t._t("default")], 2), e.hasSlot("description") || t.allFieldsRequired ? s(e.BentoTypography, { staticClass: "b-form-layout-title__description", attrs: { el: "span", wide: "" } }, [t._t("description"), t.allFieldsRequired ? [t._v(" " + t._s(e.hasSlot("description") ? ` ${e.t("requiredFields")}` : e.t("requiredFields")) + " ")] : t._e()], 2) : t._e()], 1);
197
+ }, w = [], D = /* @__PURE__ */ l(
198
+ U,
199
+ k,
200
+ w,
201
+ !1,
202
+ null,
203
+ "8ee24e3a"
204
+ );
205
+ const X = D.exports;
206
+ export {
207
+ V as a,
208
+ W as b,
209
+ X as c,
210
+ Q as f
211
+ };
212
+ //# sourceMappingURL=form-layout-title.vF9Bmbre.js.map
@@ -1 +1 @@
1
- {"version":3,"file":"form-layout-title.Bbq05nMT.js","sources":["../../src/components/form-layout/form-layout.vue","../../src/components/form-layout/components/form-layout-field-tip/form-layout-tip.types.ts","../../src/components/form-layout/components/form-layout-field-tip/form-layout-field-tip.vue","../../src/components/form-layout/components/form-layout-group/form-layout-group.types.ts","../../src/components/form-layout/components/form-layout-group/form-layout-group.vue","../../src/components/form-layout/components/form-layout-title/form-layout-title.vue"],"sourcesContent":["<template>\n <component :is=\"formLayoutElement\" class=\"b-form-layout\" role=\"form\" @submit=\"emit('submit', $event)\">\n <bento-alert v-if=\"hasSlot('error-message')\" class=\"b-form-layout__error-message\" type=\"critical\">\n <template #description>\n <slot name=\"error-message\" />\n </template>\n </bento-alert>\n\n <slot />\n\n <div v-if=\"hasActions\" class=\"b-form-layout__actions-container\">\n <div class=\"b-form-layout__actions\">\n <slot name=\"actions-left\" />\n </div>\n\n <div class=\"b-form-layout__actions\">\n <slot name=\"actions-right\" />\n </div>\n </div>\n </component>\n</template>\n\n<script setup lang=\"ts\">\n import { computed, provide, toRef, useSlots } from 'vue';\n import { BentoAlert } from '@/components/alert';\n import { useHasSlot } from '@/composables';\n import { FORM_LAYOUT_LOADING_INJECTION_KEY } from './form-layout.types';\n\n const slots = useSlots();\n const hasSlot = useHasSlot(slots);\n\n const emit = defineEmits([\"submit\"]);\n\n const props = defineProps({\n /**\n * Renders the form layout as an HTML `form`\n */\n form: { type: Boolean, default: false },\n\n /**\n * Sets the state of the form and its fields to\n * a read only status.\n */\n loading: { type: Boolean, default: false },\n });\n\n const formLayoutElement = computed(() => (props.form ? 'form' : 'div'));\n const hasActions = computed(() => hasSlot('actions-left') || hasSlot('actions-right'));\n\n provide(FORM_LAYOUT_LOADING_INJECTION_KEY, toRef(props, 'loading'));\n</script>\n\n<script lang=\"ts\">\n /**\n * Form layout component is a pre-designed layout that serves\n * as a starting point for creating a form.\n *\n * It can include various common form components:\n * input field, dropdown, date picker, checkbox group, radio group,\n * textarea, etc.\n *\n * Form layout is context agnostic and can be dropped in different\n * places, for example in modals, side panels or pages.\n *\n * @example\n * import { BentoFormLayout, BentoFormLayoutFieldTip } from '@adyen/bento-vue2';\n *\n * export default {\n * components: { BentoFormLayout, BentoFormLayoutFieldTip },\n * template: `\n * <bento-form-layout>\n * <template #error-message>There is an error. Correct the highlighted field.</template>\n *\n * <bento-input-field>Input field</bento-input-field>\n *\n * <bento-form-layout-field-tip>\n * <bento-dropdown label=\"Dropdown\" :items=\"dropdownItems\" placeholder=\"Select an animal\" />\n * <template #message>This is a small tip that can be used in small spaces</template>\n * </bento-form-layout-field-tip>\n *\n * <bento-form-layout-title subsection>\n * Section title\n * <template #description>Optional section description</template>\n * </bento-form-layout-title>\n * </bento-form-layout>\n * `\n * }\n */\n export default {};\n</script>\n\n<style lang=\"scss\" scoped src=\"./form-layout.scss\" />\n","import { type BentoAlertTypeOption } from '@/components/alert/alert.types';\n\nexport type BentoFormLayoutFieldTipTypeOption = `${BentoAlertTypeOption}`;\nexport const BentoFormLayoutFieldTipTypeOptions = ['warning', 'critical', 'highlight', 'success'];\n","<template>\n <div class=\"b-form-layout-field-tip\">\n <slot />\n <bento-alert v-if=\"hasSlot('message')\" :id=\"id\" variant=\"tip\" :type=\"type\">\n <template #description>\n <slot name=\"message\" />\n </template>\n </bento-alert>\n </div>\n</template>\n\n<script setup lang=\"ts\">\n import { type PropType, useSlots } from 'vue';\n import {\n type BentoFormLayoutFieldTipTypeOption,\n BentoFormLayoutFieldTipTypeOptions,\n } from './form-layout-tip.types';\n import { BentoAlert } from '@/components/alert';\n import { useHasSlot } from '@/composables/use-has-slot/use-has-slot';\n\n defineProps({\n /**\n * Type of a alert; set a distinctive icon and color. Defaults to highlight.\n * @values highlight, success, critical, warning\n */\n type: {\n type: String as PropType<BentoFormLayoutFieldTipTypeOption>,\n default: 'highlight',\n validator: (value: BentoFormLayoutFieldTipTypeOption) => BentoFormLayoutFieldTipTypeOptions.includes(value),\n },\n /**\n * Unique identifier to the form field. Used for accessibility.\n */\n id: {\n type: String,\n default: undefined,\n },\n });\n\n const slots = useSlots();\n const hasSlot = useHasSlot(slots);\n</script>\n\n<script lang=\"ts\">\n /**\n * You can help users provide accurate and well formatted information\n * by using various elements that come with an input field.\n *\n * Use description/supporting text to add additional context to the\n * field or guidance how to format the input correctly.\n * Because description is always visible it should be the first\n * choice in providing guidance.\n *\n * @example\n * import { BentoFormLayoutFieldTip } from '@adyen/bento-vue2';\n *\n * export default {\n * components: { BentoFormLayoutFieldTip },\n * template: `\n * <bento-form-layout-field-tip>\n * <bento-dropdown label=\"Dropdown\" :items=\"dropdownItems\" placeholder=\"Select an animal\" />\n *\n * <template #message>This is a small tip that can be used in small spaces</template>\n * </bento-form-layout-field-tip>\n * `\n */\n export default {};\n</script>\n\n<style lang=\"scss\" scoped src=\"./form-layout-field-tip.scss\" />\n","export type BentoLayoutGroupProportions =\n | '33-33-33'\n | '50-50'\n | '25-75'\n | '75-25'\n | '33-66'\n | '66-33'\n | '25'\n | '33'\n | '50'\n | '100';\n\nexport const BentoLayoutGroupProportions = [\n '100',\n '50',\n '33',\n '25',\n '66-33',\n '33-66',\n '75-25',\n '25-75',\n '50-50',\n '33-33-33',\n];\n","<template>\n <div class=\"b-form-layout-group\" :class=\"conditionalClasses\">\n <slot></slot>\n </div>\n</template>\n\n<script setup lang=\"ts\">\n import { computed, type PropType } from 'vue';\n import { BentoLayoutGroupProportions } from './form-layout-group.types';\n\n // Default proportion\n const DEFAULT_PROPORTION = 100;\n\n const props = defineProps({\n /**\n * The layout of the pair group of components.\n * This will render the components within the width of the proportions.\n * Only two colums are available.\n *\n * If only one value is entered, then it will assume there's only one child in the group.\n * If two values are entered, the first value will be use for the first child and the second\n * value for the second child.\n *\n * If the value entered is not listed in the example\n * list below it will use 100% by default.\n * @example\n * '33-33-33'\n * '50-50'\n * '25-75'\n * '75-25'\n * '33-66'\n * '66-33'\n * '25'\n * '33'\n * '50'\n * '100'\n */\n layout: {\n type: String as PropType<BentoLayoutGroupProportions>,\n default: '100',\n validator: (value: BentoLayoutGroupProportions) => BentoLayoutGroupProportions.includes(value),\n },\n });\n\n // Sets DEFAULT_PROPORTION by default if `layout` is not in the list\n const computedLayout = computed(() =>\n BentoLayoutGroupProportions.includes(props.layout) ? props.layout : DEFAULT_PROPORTION\n );\n\n const conditionalClasses = computed(() => ({\n // Transform into column if the layout is unsupported\n 'b-form-layout-group--column': !BentoLayoutGroupProportions.includes(props.layout),\n // Assings the correct layout class\n [`b-form-layout-group--${computedLayout.value}`]: true,\n }));\n</script>\n\n<script lang=\"ts\">\n /**\n * Use to provide horizontal layouts to build forms\n * with two fields per line.\n *\n * These can be used for field combinations,\n * such as post code and city or title and first name.\n *\n * @example\n * import { BentoFormLayoutGroup } from '@adyen/bento-vue2';\n *\n * export default {\n * components: { BentoFormLayoutGroup },\n * template: `\n * <bento-form-layout-group>\n * <first-element />\n * <second-element />\n * </bento-form-layout-group>\n * `\n * }\n */\n export default {};\n</script>\n\n<style lang=\"scss\" scoped src=\"./form-layout-group.scss\" />\n","<template>\n <div class=\"b-form-layout-title\" :class=\"conditionalClasses\">\n <bento-typography :el=\"el\" variant=\"title\" :medium=\"isSection\">\n <slot />\n </bento-typography>\n\n <bento-typography v-if=\"hasSlot('description')\" class=\"b-form-layout-title__description\" el=\"span\" wide>\n <slot name=\"description\" />\n </bento-typography>\n </div>\n</template>\n\n<script setup lang=\"ts\">\n import { computed, useSlots } from 'vue';\n import { BentoTypography, BentoTypographyElement } from '@/components/typography';\n import { useHasSlot } from '@/composables';\n\n const slots = useSlots();\n\n const props = defineProps({\n /**\n * Defines if the Form Layout title is\n * a \"section\" or a \"subsection\".\n * Default is \"section\" (false). Turn into \"true\" for \"subsection\"\n */\n subsection: {\n type: Boolean,\n default: false,\n },\n\n /**\n * Sets the HTML DOM element.\n * @values h1, h2, h3, h4, h5, h6, div, p, span\n */\n el: {\n type: BentoTypography.props.el.type,\n required: true,\n validator: (value: BentoTypographyElement) => Object.values(BentoTypographyElement).includes(value),\n },\n });\n\n // Uses \"medium\" typography if it is a section title\n const isSection = computed(() => !props.subsection);\n const hasSlot = useHasSlot(slots);\n const conditionalClasses = computed(() => ({\n 'b-form-layout-title--subsection': props.subsection,\n }));\n</script>\n\n<script lang=\"ts\">\n /**\n * If you’re building a lengthy form, organize related\n * fields into sections and, if needed, subsections.\n *\n * A form can have a \"Section Title\" and multiple \"Subsection titles\".\n *\n * One of the values provided in @see BentoTypographyElement must always be provided as a string\n * to define correct HTML sementic from the application's context\n *\n * @example\n * import { BentoFormLayoutTitle } from '@adyen/bento-vue2';\n *\n * export default {\n * components: { BentoFormLayoutTitle },\n * template: `\n * <bento-form-layout-title subsection el=\"h2\">\n * Title\n * <template #description>Description text</template>\n * </bento-form-layout-title>\n * `\n * }\n */\n export default {};\n</script>\n\n<style lang=\"scss\" scoped src=\"./form-layout-title.scss\" />\n"],"names":["__default__$3","slots","useSlots","hasSlot","useHasSlot","formLayoutElement","computed","props","hasActions","provide","FORM_LAYOUT_LOADING_INJECTION_KEY","toRef","BentoFormLayoutFieldTipTypeOptions","__default__$2","BentoLayoutGroupProportions","__default__$1","DEFAULT_PROPORTION","computedLayout","conditionalClasses","__default__","isSection"],"mappings":";;;;;;;AAwFI,MAAAA,IAAA,CAAA;;;;;;;;;;;;;;;;iBA5DAC,IAAAC,EAAA,GACAC,IAAAC,EAAAH,CAAA,GAiBAI,IAAAC,EAAA,MAAAC,EAAA,OAAA,SAAA,KAAA,GACAC,IAAAF,EAAA,MAAAH,EAAA,cAAA,KAAAA,EAAA,eAAA,CAAA;AAEA,WAAAM,EAAAC,GAAAC,EAAAJ,GAAA,SAAA,CAAA;;;;;;;;;;;;;;;;;;qBC9CGK,IAAA,CAAA,WAAA,YAAA,aAAA,SAAA,GC+DHC,IAAA,CAAA;;;;;;;;;;;;;;;;;;;;;;AA3BA,UAAAZ,IAAAC,EAAA,GACAC,IAAAC,EAAAH,CAAA;;;;;;;;;;;;;;;;;qBC5BGa,IAAA;AAAA,EAAoC;AAAA,EACvC;AAAA,EACA;AAAA,EACA;AAAA,EACA;AAAA,EACA;AAAA,EACA;AAAA,EACA;AAAA,EACA;AAAA,EACA;AAEJ,GCuDIC,IAAA,CAAA;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;iBAnEAC,IAAA,KAkCAC,IAAAX;AAAA,MAAuB,MAAAQ,EAAA,SAAAP,EAAA,MAAA,IAAAA,EAAA,SAAAS;AAAA,IACiD,GAGxEE,IAAAZ,EAAA,OAAA;AAAA;AAAA,MAA2C,+BAAA,CAAAQ,EAAA,SAAAP,EAAA,MAAA;AAAA;AAAA,MAE0C,CAAA,wBAAAU,EAAA,KAAA,EAAA,GAAA;AAAA,IAE/B,EAAA;;;;;;;;;;;;;;;qBCmBtDE,IAAA,CAAA;;;;;;;;;;;;;;;;;;;;;;;;iBAvDAlB,IAAAC,EAAA,GAyBAkB,IAAAd,EAAA,MAAA,CAAAC,EAAA,UAAA,GACAJ,IAAAC,EAAAH,CAAA,GACAiB,IAAAZ,EAAA,OAAA;AAAA,MAA2C,mCAAAC,EAAA;AAAA,IACE,EAAA;;;;;;;;;;;;;;;;"}
1
+ {"version":3,"file":"form-layout-title.vF9Bmbre.js","sources":["../../src/components/form-layout/form-layout.vue","../../src/components/form-layout/components/form-layout-field-tip/form-layout-tip.types.ts","../../src/components/form-layout/components/form-layout-field-tip/form-layout-field-tip.vue","../../src/components/form-layout/components/form-layout-group/form-layout-group.types.ts","../../src/components/form-layout/components/form-layout-group/form-layout-group.vue","../../src/components/form-layout/components/form-layout-title/form-layout-title.vue"],"sourcesContent":["<template>\n <component :is=\"formLayoutElement\" class=\"b-form-layout\" role=\"form\" @submit=\"emit('submit', $event)\">\n <bento-alert v-if=\"hasSlot('error-message')\" class=\"b-form-layout__error-message\" type=\"critical\">\n <template #description>\n <slot name=\"error-message\" />\n </template>\n </bento-alert>\n\n <slot />\n\n <div v-if=\"hasActions\" class=\"b-form-layout__actions-container\">\n <div class=\"b-form-layout__actions\">\n <slot name=\"actions-left\" />\n </div>\n\n <div class=\"b-form-layout__actions\">\n <slot name=\"actions-right\" />\n </div>\n </div>\n </component>\n</template>\n\n<script setup lang=\"ts\">\n import { computed, provide, toRef, useSlots } from 'vue';\n import { BentoAlert } from '@/components/alert';\n import { useHasSlot } from '@/composables';\n import { FORM_LAYOUT_LOADING_INJECTION_KEY } from './form-layout.types';\n\n const slots = useSlots();\n const hasSlot = useHasSlot(slots);\n\n const emit = defineEmits([\"submit\"]);\n\n const props = defineProps({\n /**\n * Renders the form layout as an HTML `form`\n */\n form: { type: Boolean, default: false },\n\n /**\n * Sets the state of the form and its fields to\n * a read only status.\n */\n loading: { type: Boolean, default: false },\n });\n\n const formLayoutElement = computed(() => (props.form ? 'form' : 'div'));\n const hasActions = computed(() => hasSlot('actions-left') || hasSlot('actions-right'));\n\n provide(FORM_LAYOUT_LOADING_INJECTION_KEY, toRef(props, 'loading'));\n</script>\n\n<script lang=\"ts\">\n /**\n * Form layout component is a pre-designed layout that serves\n * as a starting point for creating a form.\n *\n * It can include various common form components:\n * input field, dropdown, date picker, checkbox group, radio group,\n * textarea, etc.\n *\n * Form layout is context agnostic and can be dropped in different\n * places, for example in modals, side panels or pages.\n *\n * @example\n * import { BentoFormLayout, BentoFormLayoutFieldTip } from '@adyen/bento-vue2';\n *\n * export default {\n * components: { BentoFormLayout, BentoFormLayoutFieldTip },\n * template: `\n * <bento-form-layout>\n * <template #error-message>There is an error. Correct the highlighted field.</template>\n *\n * <bento-input-field>Input field</bento-input-field>\n *\n * <bento-form-layout-field-tip>\n * <bento-dropdown label=\"Dropdown\" :items=\"dropdownItems\" placeholder=\"Select an animal\" />\n * <template #message>This is a small tip that can be used in small spaces</template>\n * </bento-form-layout-field-tip>\n *\n * <bento-form-layout-title subsection>\n * Section title\n * <template #description>Optional section description</template>\n * </bento-form-layout-title>\n * </bento-form-layout>\n * `\n * }\n */\n export default {};\n</script>\n\n<style lang=\"scss\" scoped src=\"./form-layout.scss\" />\n","import { type BentoAlertTypeOption } from '@/components/alert/alert.types';\n\nexport type BentoFormLayoutFieldTipTypeOption = `${BentoAlertTypeOption}`;\nexport const BentoFormLayoutFieldTipTypeOptions = ['warning', 'critical', 'highlight', 'success'];\n","<template>\n <div class=\"b-form-layout-field-tip\">\n <slot />\n <bento-alert v-if=\"hasSlot('message')\" :id=\"id\" variant=\"tip\" :type=\"type\">\n <template #description>\n <slot name=\"message\" />\n </template>\n </bento-alert>\n </div>\n</template>\n\n<script setup lang=\"ts\">\n import { type PropType, useSlots } from 'vue';\n import {\n type BentoFormLayoutFieldTipTypeOption,\n BentoFormLayoutFieldTipTypeOptions,\n } from './form-layout-tip.types';\n import { BentoAlert } from '@/components/alert';\n import { useHasSlot } from '@/composables/use-has-slot/use-has-slot';\n\n defineProps({\n /**\n * Type of a alert; set a distinctive icon and color. Defaults to highlight.\n * @values highlight, success, critical, warning\n */\n type: {\n type: String as PropType<BentoFormLayoutFieldTipTypeOption>,\n default: 'highlight',\n validator: (value: BentoFormLayoutFieldTipTypeOption) => BentoFormLayoutFieldTipTypeOptions.includes(value),\n },\n /**\n * Unique identifier to the form field. Used for accessibility.\n */\n id: {\n type: String,\n default: undefined,\n },\n });\n\n const slots = useSlots();\n const hasSlot = useHasSlot(slots);\n</script>\n\n<script lang=\"ts\">\n /**\n * You can help users provide accurate and well formatted information\n * by using various elements that come with an input field.\n *\n * Use description/supporting text to add additional context to the\n * field or guidance how to format the input correctly.\n * Because description is always visible it should be the first\n * choice in providing guidance.\n *\n * @example\n * import { BentoFormLayoutFieldTip } from '@adyen/bento-vue2';\n *\n * export default {\n * components: { BentoFormLayoutFieldTip },\n * template: `\n * <bento-form-layout-field-tip>\n * <bento-dropdown label=\"Dropdown\" :items=\"dropdownItems\" placeholder=\"Select an animal\" />\n *\n * <template #message>This is a small tip that can be used in small spaces</template>\n * </bento-form-layout-field-tip>\n * `\n */\n export default {};\n</script>\n\n<style lang=\"scss\" scoped src=\"./form-layout-field-tip.scss\" />\n","export type BentoLayoutGroupProportions =\n | '33-33-33'\n | '50-50'\n | '25-75'\n | '75-25'\n | '33-66'\n | '66-33'\n | '25'\n | '33'\n | '50'\n | '100';\n\nexport const BentoLayoutGroupProportions = [\n '100',\n '50',\n '33',\n '25',\n '66-33',\n '33-66',\n '75-25',\n '25-75',\n '50-50',\n '33-33-33',\n];\n","<template>\n <div class=\"b-form-layout-group\" :class=\"conditionalClasses\">\n <slot></slot>\n </div>\n</template>\n\n<script setup lang=\"ts\">\n import { computed, type PropType } from 'vue';\n import { BentoLayoutGroupProportions } from './form-layout-group.types';\n\n // Default proportion\n const DEFAULT_PROPORTION = 100;\n\n const props = defineProps({\n /**\n * The layout of the pair group of components.\n * This will render the components within the width of the proportions.\n * Only two colums are available.\n *\n * If only one value is entered, then it will assume there's only one child in the group.\n * If two values are entered, the first value will be use for the first child and the second\n * value for the second child.\n *\n * If the value entered is not listed in the example\n * list below it will use 100% by default.\n * @example\n * '33-33-33'\n * '50-50'\n * '25-75'\n * '75-25'\n * '33-66'\n * '66-33'\n * '25'\n * '33'\n * '50'\n * '100'\n */\n layout: {\n type: String as PropType<BentoLayoutGroupProportions>,\n default: '100',\n validator: (value: BentoLayoutGroupProportions) => BentoLayoutGroupProportions.includes(value),\n },\n });\n\n // Sets DEFAULT_PROPORTION by default if `layout` is not in the list\n const computedLayout = computed(() =>\n BentoLayoutGroupProportions.includes(props.layout) ? props.layout : DEFAULT_PROPORTION\n );\n\n const conditionalClasses = computed(() => ({\n // Transform into column if the layout is unsupported\n 'b-form-layout-group--column': !BentoLayoutGroupProportions.includes(props.layout),\n // Assings the correct layout class\n [`b-form-layout-group--${computedLayout.value}`]: true,\n }));\n</script>\n\n<script lang=\"ts\">\n /**\n * Use to provide horizontal layouts to build forms\n * with two fields per line.\n *\n * These can be used for field combinations,\n * such as post code and city or title and first name.\n *\n * @example\n * import { BentoFormLayoutGroup } from '@adyen/bento-vue2';\n *\n * export default {\n * components: { BentoFormLayoutGroup },\n * template: `\n * <bento-form-layout-group>\n * <first-element />\n * <second-element />\n * </bento-form-layout-group>\n * `\n * }\n */\n export default {};\n</script>\n\n<style lang=\"scss\" scoped src=\"./form-layout-group.scss\" />\n","<template>\n <div class=\"b-form-layout-title\" :class=\"conditionalClasses\">\n <bento-typography :el=\"el\" variant=\"title\" :medium=\"isSection\">\n <slot />\n </bento-typography>\n\n <bento-typography\n v-if=\"hasSlot('description') || allFieldsRequired\"\n class=\"b-form-layout-title__description\"\n el=\"span\"\n wide\n >\n <slot name=\"description\" />\n <template v-if=\"allFieldsRequired\">\n {{ hasSlot('description') ? ` ${t('requiredFields')}` : t('requiredFields') }}\n </template>\n </bento-typography>\n </div>\n</template>\n\n<script setup lang=\"ts\">\n import { computed, useSlots } from 'vue';\n import { BentoTypography, BentoTypographyElement } from '@/components/typography';\n import { useHasSlot } from '@/composables';\n import { useI18n } from '@/utils/ts/i18n';\n import messages from './messages.json';\n\n type MessageSchema = (typeof messages)['en-US'];\n\n const slots = useSlots();\n const { t } = useI18n<{ message: MessageSchema }>({ messages });\n\n const props = defineProps({\n /**\n * Defines if the Form Layout title is\n * a \"section\" or a \"subsection\".\n * Default is \"section\" (false). Turn into \"true\" for \"subsection\"\n */\n subsection: {\n type: Boolean,\n default: false,\n },\n\n /**\n * Sets the HTML DOM element.\n * @values h1, h2, h3, h4, h5, h6, div, p, span\n */\n el: {\n type: BentoTypography.props.el.type,\n required: true,\n validator: (value: BentoTypographyElement) => Object.values(BentoTypographyElement).includes(value),\n },\n\n /**\n * Defines if the Form Layout title displays\n * a message indicating that all fields are required.\n */\n allFieldsRequired: {\n type: Boolean,\n default: false,\n },\n });\n\n // Uses \"medium\" typography if it is a section title\n const isSection = computed(() => !props.subsection);\n const hasSlot = useHasSlot(slots);\n const conditionalClasses = computed(() => ({\n 'b-form-layout-title--subsection': props.subsection,\n }));\n</script>\n\n<script lang=\"ts\">\n /**\n * If you’re building a lengthy form, organize related\n * fields into sections and, if needed, subsections.\n *\n * A form can have a \"Section Title\" and multiple \"Subsection titles\".\n *\n * One of the values provided in @see BentoTypographyElement must always be provided as a string\n * to define correct HTML sementic from the application's context\n *\n * @example\n * import { BentoFormLayoutTitle } from '@adyen/bento-vue2';\n *\n * export default {\n * components: { BentoFormLayoutTitle },\n * template: `\n * <bento-form-layout-title subsection el=\"h2\">\n * Title\n * <template #description>Description text</template>\n * </bento-form-layout-title>\n * `\n * }\n */\n export default {\n name: 'bento-form-layout-title',\n i18n: { messages },\n };\n</script>\n\n<style lang=\"scss\" scoped src=\"./form-layout-title.scss\" />\n"],"names":["__default__$3","slots","useSlots","hasSlot","useHasSlot","formLayoutElement","computed","props","hasActions","provide","FORM_LAYOUT_LOADING_INJECTION_KEY","toRef","BentoFormLayoutFieldTipTypeOptions","__default__$2","BentoLayoutGroupProportions","__default__$1","DEFAULT_PROPORTION","computedLayout","conditionalClasses","__default__","messages","t","useI18n","isSection"],"mappings":";;;;;;;;AAwFI,MAAAA,IAAA,CAAA;;;;;;;;;;;;;;;;iBA5DAC,IAAAC,EAAA,GACAC,IAAAC,EAAAH,CAAA,GAiBAI,IAAAC,EAAA,MAAAC,EAAA,OAAA,SAAA,KAAA,GACAC,IAAAF,EAAA,MAAAH,EAAA,cAAA,KAAAA,EAAA,eAAA,CAAA;AAEA,WAAAM,EAAAC,GAAAC,EAAAJ,GAAA,SAAA,CAAA;;;;;;;;;;;;;;;;;;qBC9CGK,IAAA,CAAA,WAAA,YAAA,aAAA,SAAA,GC+DHC,IAAA,CAAA;;;;;;;;;;;;;;;;;;;;;;AA3BA,UAAAZ,IAAAC,EAAA,GACAC,IAAAC,EAAAH,CAAA;;;;;;;;;;;;;;;;;qBC5BGa,IAAA;AAAA,EAAoC;AAAA,EACvC;AAAA,EACA;AAAA,EACA;AAAA,EACA;AAAA,EACA;AAAA,EACA;AAAA,EACA;AAAA,EACA;AAAA,EACA;AAEJ,GCuDIC,IAAA,CAAA;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;iBAnEAC,IAAA,KAkCAC,IAAAX;AAAA,MAAuB,MAAAQ,EAAA,SAAAP,EAAA,MAAA,IAAAA,EAAA,SAAAS;AAAA,IACiD,GAGxEE,IAAAZ,EAAA,OAAA;AAAA;AAAA,MAA2C,+BAAA,CAAAQ,EAAA,SAAAP,EAAA,MAAA;AAAA;AAAA,MAE0C,CAAA,wBAAAU,EAAA,KAAA,EAAA,GAAA;AAAA,IAE/B,EAAA;;;;;;;;;;;;;;;;;;;GCyCtDE,IAAA;AAAA,EAAe,MAAA;AAAA,EACL,MAAA,EAAA,UAAAC,EAAA;AAEV;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;iBApEAnB,IAAAC,EAAA,GACA,EAAA,GAAAmB,EAAA,IAAAC,EAAA,GAkCAC,IAAAjB,EAAA,MAAA,CAAAC,EAAA,UAAA,GACAJ,IAAAC,EAAAH,CAAA,GACAiB,IAAAZ,EAAA,OAAA;AAAA,MAA2C,mCAAAC,EAAA;AAAA,IACE,EAAA;;;;;;;;;;;;;;;;"}
@@ -1,5 +1,5 @@
1
- import { c as r, d as s, e as m } from "./en-US.BZii9jNW.js";
2
- const d = {
1
+ import { b as m, e as r, h as o, i as d } from "./en-US.YeSsZuOc.js";
2
+ const u = {
3
3
  lessThanXSeconds: {
4
4
  one: "moins d’une seconde",
5
5
  other: "moins de {{count}} secondes"
@@ -61,26 +61,54 @@ const d = {
61
61
  one: "presqu’un an",
62
62
  other: "presque {{count}} ans"
63
63
  }
64
- }, N = (a, i, n) => {
64
+ }, l = (a, t, i) => {
65
65
  let e;
66
- const t = d[a];
67
- return typeof t == "string" ? e = t : i === 1 ? e = t.one : e = t.other.replace("{{count}}", String(i)), n != null && n.addSuffix ? n.comparison && n.comparison > 0 ? "dans " + e : "il y a " + e : e;
68
- }, u = {
66
+ const n = u[a];
67
+ return typeof n == "string" ? e = n : t === 1 ? e = n.one : e = n.other.replace("{{count}}", String(t)), i != null && i.addSuffix ? i.comparison && i.comparison > 0 ? "dans " + e : "il y a " + e : e;
68
+ }, c = {
69
+ full: "EEEE d MMMM y",
70
+ long: "d MMMM y",
71
+ medium: "d MMM y",
72
+ short: "dd/MM/y"
73
+ }, h = {
74
+ full: "HH:mm:ss zzzz",
75
+ long: "HH:mm:ss z",
76
+ medium: "HH:mm:ss",
77
+ short: "HH:mm"
78
+ }, v = {
79
+ full: "{{date}} 'à' {{time}}",
80
+ long: "{{date}} 'à' {{time}}",
81
+ medium: "{{date}}, {{time}}",
82
+ short: "{{date}}, {{time}}"
83
+ }, f = {
84
+ date: m({
85
+ formats: c,
86
+ defaultWidth: "full"
87
+ }),
88
+ time: m({
89
+ formats: h,
90
+ defaultWidth: "full"
91
+ }),
92
+ dateTime: m({
93
+ formats: v,
94
+ defaultWidth: "full"
95
+ })
96
+ }, M = {
69
97
  lastWeek: "eeee 'dernier à' p",
70
98
  yesterday: "'hier à' p",
71
99
  today: "'aujourd’hui à' p",
72
100
  tomorrow: "'demain à' p'",
73
101
  nextWeek: "eeee 'prochain à' p",
74
102
  other: "P"
75
- }, S = (a, i, n, e) => u[a], c = {
103
+ }, b = (a, t, i, e) => M[a], p = {
76
104
  narrow: ["av. J.-C", "ap. J.-C"],
77
105
  abbreviated: ["av. J.-C", "ap. J.-C"],
78
106
  wide: ["avant Jésus-Christ", "après Jésus-Christ"]
79
- }, l = {
107
+ }, P = {
80
108
  narrow: ["T1", "T2", "T3", "T4"],
81
109
  abbreviated: ["1er trim.", "2ème trim.", "3ème trim.", "4ème trim."],
82
110
  wide: ["1er trimestre", "2ème trimestre", "3ème trimestre", "4ème trimestre"]
83
- }, h = {
111
+ }, w = {
84
112
  narrow: ["J", "F", "M", "A", "M", "J", "J", "A", "S", "O", "N", "D"],
85
113
  abbreviated: [
86
114
  "janv.",
@@ -110,7 +138,7 @@ const d = {
110
138
  "novembre",
111
139
  "décembre"
112
140
  ]
113
- }, v = {
141
+ }, y = {
114
142
  narrow: ["D", "L", "M", "M", "J", "V", "S"],
115
143
  short: ["di", "lu", "ma", "me", "je", "ve", "sa"],
116
144
  abbreviated: ["dim.", "lun.", "mar.", "mer.", "jeu.", "ven.", "sam."],
@@ -123,7 +151,7 @@ const d = {
123
151
  "vendredi",
124
152
  "samedi"
125
153
  ]
126
- }, f = {
154
+ }, j = {
127
155
  narrow: {
128
156
  am: "AM",
129
157
  pm: "PM",
@@ -154,57 +182,57 @@ const d = {
154
182
  evening: "du soir",
155
183
  night: "du matin"
156
184
  }
157
- }, p = (a, i) => {
158
- const n = Number(a), e = i == null ? void 0 : i.unit;
159
- if (n === 0) return "0";
160
- const t = ["year", "week", "hour", "minute", "second"];
161
- let o;
162
- return n === 1 ? o = e && t.includes(e) ? "ère" : "er" : o = "ème", n + o;
163
- }, b = ["MMM", "MMMM"], X = {
164
- preprocessor: (a, i) => a.getDate() === 1 || !i.some(
165
- (e) => e.isToken && b.includes(e.value)
166
- ) ? i : i.map(
185
+ }, g = (a, t) => {
186
+ const i = Number(a), e = t == null ? void 0 : t.unit;
187
+ if (i === 0) return "0";
188
+ const n = ["year", "week", "hour", "minute", "second"];
189
+ let s;
190
+ return i === 1 ? s = e && n.includes(e) ? "ère" : "er" : s = "ème", i + s;
191
+ }, W = ["MMM", "MMMM"], C = {
192
+ preprocessor: (a, t) => a.getDate() === 1 || !t.some(
193
+ (e) => e.isToken && W.includes(e.value)
194
+ ) ? t : t.map(
167
195
  (e) => e.isToken && e.value === "do" ? { isToken: !0, value: "d" } : e
168
196
  ),
169
- ordinalNumber: p,
197
+ ordinalNumber: g,
170
198
  era: r({
171
- values: c,
199
+ values: p,
172
200
  defaultWidth: "wide"
173
201
  }),
174
202
  quarter: r({
175
- values: l,
203
+ values: P,
176
204
  defaultWidth: "wide",
177
205
  argumentCallback: (a) => a - 1
178
206
  }),
179
207
  month: r({
180
- values: h,
208
+ values: w,
181
209
  defaultWidth: "wide"
182
210
  }),
183
211
  day: r({
184
- values: v,
212
+ values: y,
185
213
  defaultWidth: "wide"
186
214
  }),
187
215
  dayPeriod: r({
188
- values: f,
216
+ values: j,
189
217
  defaultWidth: "wide"
190
218
  })
191
- }, P = /^(\d+)(ième|ère|ème|er|e)?/i, M = /\d+/i, j = {
219
+ }, J = /^(\d+)(ième|ère|ème|er|e)?/i, T = /\d+/i, k = {
192
220
  narrow: /^(av\.J\.C|ap\.J\.C|ap\.J\.-C)/i,
193
221
  abbreviated: /^(av\.J\.-C|av\.J-C|apr\.J\.-C|apr\.J-C|ap\.J-C)/i,
194
222
  wide: /^(avant Jésus-Christ|après Jésus-Christ)/i
195
- }, w = {
223
+ }, D = {
196
224
  any: [/^av/i, /^ap/i]
197
- }, y = {
225
+ }, x = {
198
226
  narrow: /^T?[1234]/i,
199
227
  abbreviated: /^[1234](er|ème|e)? trim\.?/i,
200
228
  wide: /^[1234](er|ème|e)? trimestre/i
201
- }, g = {
229
+ }, H = {
202
230
  any: [/1/i, /2/i, /3/i, /4/i]
203
- }, J = {
231
+ }, L = {
204
232
  narrow: /^[jfmasond]/i,
205
233
  abbreviated: /^(janv|févr|mars|avr|mai|juin|juill|juil|août|sept|oct|nov|déc)\.?/i,
206
234
  wide: /^(janvier|février|mars|avril|mai|juin|juillet|août|septembre|octobre|novembre|décembre)/i
207
- }, C = {
235
+ }, F = {
208
236
  narrow: [
209
237
  /^j/i,
210
238
  /^f/i,
@@ -233,18 +261,18 @@ const d = {
233
261
  /^n/i,
234
262
  /^d/i
235
263
  ]
236
- }, W = {
264
+ }, N = {
237
265
  narrow: /^[lmjvsd]/i,
238
266
  short: /^(di|lu|ma|me|je|ve|sa)/i,
239
267
  abbreviated: /^(dim|lun|mar|mer|jeu|ven|sam)\.?/i,
240
268
  wide: /^(dimanche|lundi|mardi|mercredi|jeudi|vendredi|samedi)/i
241
- }, T = {
269
+ }, S = {
242
270
  narrow: [/^d/i, /^l/i, /^m/i, /^m/i, /^j/i, /^v/i, /^s/i],
243
271
  any: [/^di/i, /^lu/i, /^ma/i, /^me/i, /^je/i, /^ve/i, /^sa/i]
244
- }, k = {
272
+ }, z = {
245
273
  narrow: /^(a|p|minuit|midi|mat\.?|ap\.?m\.?|soir|nuit)/i,
246
274
  any: /^([ap]\.?\s?m\.?|du matin|de l'après[-\s]midi|du soir|de la nuit)/i
247
- }, x = {
275
+ }, X = {
248
276
  any: {
249
277
  am: /^a/i,
250
278
  pm: /^p/i,
@@ -255,48 +283,57 @@ const d = {
255
283
  evening: /soir/i,
256
284
  night: /nuit/i
257
285
  }
258
- }, L = {
259
- ordinalNumber: m({
260
- matchPattern: P,
261
- parsePattern: M,
286
+ }, E = {
287
+ ordinalNumber: d({
288
+ matchPattern: J,
289
+ parsePattern: T,
262
290
  valueCallback: (a) => parseInt(a)
263
291
  }),
264
- era: s({
265
- matchPatterns: j,
292
+ era: o({
293
+ matchPatterns: k,
266
294
  defaultMatchWidth: "wide",
267
- parsePatterns: w,
295
+ parsePatterns: D,
268
296
  defaultParseWidth: "any"
269
297
  }),
270
- quarter: s({
271
- matchPatterns: y,
298
+ quarter: o({
299
+ matchPatterns: x,
272
300
  defaultMatchWidth: "wide",
273
- parsePatterns: g,
301
+ parsePatterns: H,
274
302
  defaultParseWidth: "any",
275
303
  valueCallback: (a) => a + 1
276
304
  }),
277
- month: s({
278
- matchPatterns: J,
305
+ month: o({
306
+ matchPatterns: L,
279
307
  defaultMatchWidth: "wide",
280
- parsePatterns: C,
308
+ parsePatterns: F,
281
309
  defaultParseWidth: "any"
282
310
  }),
283
- day: s({
284
- matchPatterns: W,
311
+ day: o({
312
+ matchPatterns: N,
285
313
  defaultMatchWidth: "wide",
286
- parsePatterns: T,
314
+ parsePatterns: S,
287
315
  defaultParseWidth: "any"
288
316
  }),
289
- dayPeriod: s({
290
- matchPatterns: k,
317
+ dayPeriod: o({
318
+ matchPatterns: z,
291
319
  defaultMatchWidth: "any",
292
- parsePatterns: x,
320
+ parsePatterns: X,
293
321
  defaultParseWidth: "any"
294
322
  })
323
+ }, A = {
324
+ code: "fr",
325
+ formatDistance: l,
326
+ formatLong: f,
327
+ formatRelative: b,
328
+ localize: C,
329
+ match: E,
330
+ options: {
331
+ weekStartsOn: 1,
332
+ firstWeekContainsDate: 4
333
+ }
295
334
  };
296
335
  export {
297
- N as a,
298
- S as f,
299
- X as l,
300
- L as m
336
+ A as default,
337
+ A as fr
301
338
  };
302
- //# sourceMappingURL=match.CMBZxEs9.js.map
339
+ //# sourceMappingURL=fr.JD_4GwS8.js.map