@adyen/bento-vue2 1.102.0 → 1.103.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.
- package/dist/@types/index.d.ts +20 -3
- package/dist/accordion.js +1 -1
- package/dist/action-bar.js +1 -1
- package/dist/ai-tag.js +1 -1
- package/dist/alert.js +1 -1
- package/dist/anchor-scroller.js +1 -1
- package/dist/assets/accordion-item.css +1 -1
- package/dist/assets/action-bar.css +1 -1
- package/dist/assets/ai-button.css +1 -1
- package/dist/assets/anchor-scroller.css +1 -1
- package/dist/assets/base-modal.css +1 -1
- package/dist/assets/button-actions.css +1 -1
- package/dist/assets/button.css +1 -1
- package/dist/assets/card.css +1 -1
- package/dist/assets/checkbox-input.css +1 -1
- package/dist/assets/data-grid.css +1 -1
- package/dist/assets/dialog-page.css +1 -1
- package/dist/assets/dropdown.css +1 -1
- package/dist/assets/empty-state.css +1 -1
- package/dist/assets/file-uploader.css +1 -1
- package/dist/assets/filter-bar.css +1 -1
- package/dist/assets/index.css +1 -1
- package/dist/assets/input-field-password.css +1 -1
- package/dist/assets/inspector.css +1 -1
- package/dist/assets/modal-fullscreen.css +1 -1
- package/dist/assets/navigation-menu-group.css +1 -1
- package/dist/assets/pagination.css +1 -1
- package/dist/assets/radio-input.css +1 -1
- package/dist/assets/secondary-nav.css +1 -1
- package/dist/assets/selection-card-group.css +1 -1
- package/dist/assets/sidepanel.css +1 -1
- package/dist/assets/table-of-contents.css +1 -1
- package/dist/assets/typography.css +1 -1
- package/dist/avatar.js +1 -1
- package/dist/button.js +3 -3
- package/dist/card.js +1 -1
- package/dist/checkbox.js +2 -2
- package/dist/chip.js +1 -1
- package/dist/chunks/{accordion-item.C0va5Mbv.js → accordion-item.CrVVFIHa.js} +16 -49
- package/dist/chunks/{accordion-item.C0va5Mbv.js.map → accordion-item.CrVVFIHa.js.map} +1 -1
- package/dist/chunks/{action-bar.-kzjjAuX.js → action-bar.BC1fWyHX.js} +18 -150
- package/dist/chunks/{action-bar.-kzjjAuX.js.map → action-bar.BC1fWyHX.js.map} +1 -1
- package/dist/chunks/{ai-button.ChLXOu7p.js → ai-button.CP6Bu7PB.js} +3 -3
- package/dist/chunks/{ai-button.ChLXOu7p.js.map → ai-button.CP6Bu7PB.js.map} +1 -1
- package/dist/chunks/{ai-tag.DhBjifex.js → ai-tag.wYWc7yOx.js} +16 -49
- package/dist/chunks/{ai-tag.DhBjifex.js.map → ai-tag.wYWc7yOx.js.map} +1 -1
- package/dist/chunks/{alert.CDP-LTh5.js → alert.Dj57zB88.js} +15 -81
- package/dist/chunks/{alert.CDP-LTh5.js.map → alert.Dj57zB88.js.map} +1 -1
- package/dist/chunks/anchor-scroller.Bhgy748g.js +120 -0
- package/dist/chunks/anchor-scroller.Bhgy748g.js.map +1 -0
- package/dist/chunks/{avatar.rwWPYJnt.js → avatar.D__jLgjI.js} +2 -2
- package/dist/chunks/{avatar.rwWPYJnt.js.map → avatar.D__jLgjI.js.map} +1 -1
- package/dist/chunks/{base-button.BPRPrO0p.js → base-button.D5C9VIYP.js} +20 -23
- package/dist/chunks/{base-button.BPRPrO0p.js.map → base-button.D5C9VIYP.js.map} +1 -1
- package/dist/chunks/{base-modal.BagJ8weI.js → base-modal.DlD_Lj4Y.js} +100 -141
- package/dist/chunks/{base-modal.BagJ8weI.js.map → base-modal.DlD_Lj4Y.js.map} +1 -1
- package/dist/chunks/button-actions-with-menu.CTgggEw2.js +77 -0
- package/dist/chunks/{button-actions-with-menu.DNYoFmV4.js.map → button-actions-with-menu.CTgggEw2.js.map} +1 -1
- package/dist/chunks/{button-actions.Dpbx0xf3.js → button-actions.CxX7lK7z.js} +362 -442
- package/dist/chunks/{button-actions.Dpbx0xf3.js.map → button-actions.CxX7lK7z.js.map} +1 -1
- package/dist/chunks/{button.CKS_V3p5.js → button.C4kKejsg.js} +34 -37
- package/dist/chunks/{button.CKS_V3p5.js.map → button.C4kKejsg.js.map} +1 -1
- package/dist/chunks/calendar.BoFWdxN7.js +1143 -0
- package/dist/chunks/{calendar.CvHJ3Geq.js.map → calendar.BoFWdxN7.js.map} +1 -1
- package/dist/chunks/{card.DqMECGcj.js → card.B70qRHOi.js} +34 -70
- package/dist/chunks/{card.DqMECGcj.js.map → card.B70qRHOi.js.map} +1 -1
- package/dist/chunks/{checkbox-group.YnXz1Hl2.js → checkbox-group.D1zzKsdi.js} +6 -6
- package/dist/chunks/{checkbox-group.YnXz1Hl2.js.map → checkbox-group.D1zzKsdi.js.map} +1 -1
- package/dist/chunks/{checkbox-input.08E9BNeF.js → checkbox-input.kfxcyjfd.js} +28 -31
- package/dist/chunks/{checkbox-input.08E9BNeF.js.map → checkbox-input.kfxcyjfd.js.map} +1 -1
- package/dist/chunks/{checkbox.BUc2332d.js → checkbox.Ca0mu2lE.js} +58 -91
- package/dist/chunks/{checkbox.BUc2332d.js.map → checkbox.Ca0mu2lE.js.map} +1 -1
- package/dist/chunks/{chip.DHmRHsL2.js → chip.wgEnbEPw.js} +16 -38
- package/dist/chunks/{chip.DHmRHsL2.js.map → chip.wgEnbEPw.js.map} +1 -1
- package/dist/chunks/click-outside.B0whuTUU.js +20 -0
- package/dist/chunks/{click-outside.BG01Sm0A.js.map → click-outside.B0whuTUU.js.map} +1 -1
- package/dist/chunks/{code-snippet.Cha3wHUL.js → code-snippet.BglbQWRB.js} +19 -74
- package/dist/chunks/{code-snippet.Cha3wHUL.js.map → code-snippet.BglbQWRB.js.map} +1 -1
- package/dist/chunks/{codemirror.D2BAltnu.js → codemirror.Bzus_EPG.js} +15 -15
- package/dist/chunks/{codemirror.D2BAltnu.js.map → codemirror.Bzus_EPG.js.map} +1 -1
- package/dist/chunks/constructNow.DyOJDyZZ.js +8 -0
- package/dist/chunks/{constructNow.CK0ryPil.js.map → constructNow.DyOJDyZZ.js.map} +1 -1
- package/dist/chunks/{controls-group.BomXFNvi.js → controls-group.DPLAJjbv.js} +3 -3
- package/dist/chunks/{controls-group.BomXFNvi.js.map → controls-group.DPLAJjbv.js.map} +1 -1
- package/dist/chunks/{copy.BlyhTDSU.js → copy.CsKQJlen.js} +16 -60
- package/dist/chunks/{copy.BlyhTDSU.js.map → copy.CsKQJlen.js.map} +1 -1
- package/dist/chunks/{country.DySY9sbA.js → country.D8ncVjcm.js} +5 -5
- package/dist/chunks/{country.DySY9sbA.js.map → country.D8ncVjcm.js.map} +1 -1
- package/dist/chunks/country.types.BUW49nQx.js +27 -0
- package/dist/chunks/country.types.BUW49nQx.js.map +1 -0
- package/dist/chunks/currency.POwX-Trj.js +124 -0
- package/dist/chunks/{currency.Dvy9Qjjf.js.map → currency.POwX-Trj.js.map} +1 -1
- package/dist/chunks/dashboard-section.Bmu65OHg.js +98 -0
- package/dist/chunks/{dashboard-section.D2yqhERq.js.map → dashboard-section.Bmu65OHg.js.map} +1 -1
- package/dist/chunks/{dashed-underline.ByPcIHNe.js → dashed-underline.CbzCYKrk.js} +11 -12
- package/dist/chunks/{dashed-underline.ByPcIHNe.js.map → dashed-underline.CbzCYKrk.js.map} +1 -1
- package/dist/chunks/data-grid-template.BvBHJ0sH.js +102 -0
- package/dist/chunks/{data-grid-template.Ifn423Ot.js.map → data-grid-template.BvBHJ0sH.js.map} +1 -1
- package/dist/chunks/data-grid.DPh8BSnM.js +3266 -0
- package/dist/chunks/{data-grid.BDXQ_kKQ.js.map → data-grid.DPh8BSnM.js.map} +1 -1
- package/dist/chunks/date-picker.DutUBQbH.js +183 -0
- package/dist/chunks/{date-picker.CXZfCxwP.js.map → date-picker.DutUBQbH.js.map} +1 -1
- package/dist/chunks/date-range-picker.5bvgs49h.js +924 -0
- package/dist/chunks/{date-range-picker.BzVQsYk4.js.map → date-range-picker.5bvgs49h.js.map} +1 -1
- package/dist/chunks/date-time-picker.DUWWGlOX.js +127 -0
- package/dist/chunks/{date-time-picker.DaLATfJp.js.map → date-time-picker.DUWWGlOX.js.map} +1 -1
- package/dist/chunks/{date.C1HnIyOv.js → date.CPo8t1n9.js} +25 -25
- package/dist/chunks/{date.C1HnIyOv.js.map → date.CPo8t1n9.js.map} +1 -1
- package/dist/chunks/{de.pvjpUJ1o.js → de.ctR_lBqr.js} +18 -18
- package/dist/chunks/{de.pvjpUJ1o.js.map → de.ctR_lBqr.js.map} +1 -1
- package/dist/chunks/{dialog-page.B_LwIWgK.js → dialog-page.CPorblJc.js} +16 -38
- package/dist/chunks/{dialog-page.B_LwIWgK.js.map → dialog-page.CPorblJc.js.map} +1 -1
- package/dist/chunks/differenceInMonths.yz4Dfe-b.js +44 -0
- package/dist/chunks/{differenceInMonths.CpwVtHZX.js.map → differenceInMonths.yz4Dfe-b.js.map} +1 -1
- package/dist/chunks/{directive.BBWhsNtO.js → directive.D1-d-C2K.js} +2 -2
- package/dist/chunks/{directive.BBWhsNtO.js.map → directive.D1-d-C2K.js.map} +1 -1
- package/dist/chunks/{draggable-handle.kBP4prVO.js → draggable-handle.g2BFN3G1.js} +18 -114
- package/dist/chunks/{draggable-handle.kBP4prVO.js.map → draggable-handle.g2BFN3G1.js.map} +1 -1
- package/dist/chunks/draggable.iIsQLiOa.js +168 -0
- package/dist/chunks/{draggable.rTa1jcHI.js.map → draggable.iIsQLiOa.js.map} +1 -1
- package/dist/chunks/{drawer.DVJxDGw3.js → drawer.CnxX1zZ6.js} +14 -36
- package/dist/chunks/{drawer.DVJxDGw3.js.map → drawer.CnxX1zZ6.js.map} +1 -1
- package/dist/chunks/{dropdown-tag.CaLA2NLd.js → dropdown-tag.BFnfCah8.js} +77 -81
- package/dist/chunks/{dropdown-tag.CaLA2NLd.js.map → dropdown-tag.BFnfCah8.js.map} +1 -1
- package/dist/chunks/{dropdown.DIqgVVXB.js → dropdown.Ce2P9MZ-.js} +1131 -1466
- package/dist/chunks/{dropdown.DIqgVVXB.js.map → dropdown.Ce2P9MZ-.js.map} +1 -1
- package/dist/chunks/empty-state.fziM-yAC.js +102 -0
- package/dist/chunks/empty-state.fziM-yAC.js.map +1 -0
- package/dist/chunks/{en-GB.-Q7Oq-nY.js → en-GB.BsQNm5GT.js} +2 -2
- package/dist/chunks/{en-GB.-Q7Oq-nY.js.map → en-GB.BsQNm5GT.js.map} +1 -1
- package/dist/chunks/{en-US.BK5uiAND.js → en-US.BR6y7foR.js} +30 -30
- package/dist/chunks/{en-US.BK5uiAND.js.map → en-US.BR6y7foR.js.map} +1 -1
- package/dist/chunks/{error-message.Hqp_VvD3.js → error-message.BEHBfjmn.js} +14 -36
- package/dist/chunks/{error-message.Hqp_VvD3.js.map → error-message.BEHBfjmn.js.map} +1 -1
- package/dist/chunks/{es.2H4LvTyV.js → es.DxqH-QhP.js} +14 -14
- package/dist/chunks/{es.2H4LvTyV.js.map → es.DxqH-QhP.js.map} +1 -1
- package/dist/chunks/{field-label.DjJ7wdFi.js → field-label.CgdTst2l.js} +15 -37
- package/dist/chunks/{field-label.DjJ7wdFi.js.map → field-label.CgdTst2l.js.map} +1 -1
- package/dist/chunks/{file-uploader.2rIfQ2jb.js → file-uploader.BG89SLkG.js} +317 -630
- package/dist/chunks/{file-uploader.2rIfQ2jb.js.map → file-uploader.BG89SLkG.js.map} +1 -1
- package/dist/chunks/filter-bar.BMO8wTzb.js +3087 -0
- package/dist/chunks/{filter-bar.qlViDZPY.js.map → filter-bar.BMO8wTzb.js.map} +1 -1
- package/dist/chunks/fixed-scroller.oObE3f7m.js +117 -0
- package/dist/chunks/{fixed-scroller.04EUUgD_.js.map → fixed-scroller.oObE3f7m.js.map} +1 -1
- package/dist/chunks/{focus-trap.oRKjDFzf.js → focus-trap.l-wwtCHi.js} +69 -85
- package/dist/chunks/{focus-trap.oRKjDFzf.js.map → focus-trap.l-wwtCHi.js.map} +1 -1
- package/dist/chunks/{footer-actions.DXyJtVip.js → footer-actions.Dn9KYoqB.js} +4 -4
- package/dist/chunks/{footer-actions.DXyJtVip.js.map → footer-actions.Dn9KYoqB.js.map} +1 -1
- package/dist/chunks/{form-layout-group.DnjoLZZM.js → form-layout-group.C_0b8u-g.js} +2 -2
- package/dist/chunks/{form-layout-group.DnjoLZZM.js.map → form-layout-group.C_0b8u-g.js.map} +1 -1
- package/dist/chunks/{form-layout-title.Bt5bP9r3.js → form-layout-title.YhZCVtoc.js} +15 -37
- package/dist/chunks/{form-layout-title.Bt5bP9r3.js.map → form-layout-title.YhZCVtoc.js.map} +1 -1
- package/dist/chunks/{fr.Cu0IIfBP.js → fr.DJtn8ron.js} +16 -16
- package/dist/chunks/{fr.Cu0IIfBP.js.map → fr.DJtn8ron.js.map} +1 -1
- package/dist/chunks/{generate-uid.NJ8tVoha.js → generate-uid.DBWe4g6T.js} +15 -16
- package/dist/chunks/{generate-uid.NJ8tVoha.js.map → generate-uid.DBWe4g6T.js.map} +1 -1
- package/dist/chunks/get-slot-text.DM_NdrUC.js +6 -0
- package/dist/chunks/{get-slot-text.Bjb9dTSV.js.map → get-slot-text.DM_NdrUC.js.map} +1 -1
- package/dist/chunks/{grid-layout.1aIiz2N_.js → grid-layout.BeCrjPgT.js} +16 -17
- package/dist/chunks/{grid-layout.1aIiz2N_.js.map → grid-layout.BeCrjPgT.js.map} +1 -1
- package/dist/chunks/header-meta.mDdMmFUA.js +206 -0
- package/dist/chunks/{header-meta.CCQVPDU8.js.map → header-meta.mDdMmFUA.js.map} +1 -1
- package/dist/chunks/{header-with-views.CEU6WrV9.js → header-with-views.Dp6SyiPu.js} +791 -1270
- package/dist/chunks/{header-with-views.CEU6WrV9.js.map → header-with-views.Dp6SyiPu.js.map} +1 -1
- package/dist/chunks/{header.BoNOTATn.js → header.DUAxdw_d.js} +4 -4
- package/dist/chunks/{header.BoNOTATn.js.map → header.DUAxdw_d.js.map} +1 -1
- package/dist/chunks/{index.C7m7gI5w.js → index.CL3TXc0a.js} +154 -160
- package/dist/chunks/{index.C7m7gI5w.js.map → index.CL3TXc0a.js.map} +1 -1
- package/dist/chunks/{index.B6WW_F-J.js → index.CPOlyau9.js} +5 -5
- package/dist/chunks/index.CPOlyau9.js.map +1 -0
- package/dist/chunks/{info-icon.BnLYUTzI.js → info-icon.BRnbXunj.js} +3 -3
- package/dist/chunks/{info-icon.BnLYUTzI.js.map → info-icon.BRnbXunj.js.map} +1 -1
- package/dist/chunks/input-field-password.C9_o6Kg2.js +230 -0
- package/dist/chunks/input-field-password.C9_o6Kg2.js.map +1 -0
- package/dist/chunks/{input-field-phone-number.CPjH0EVF.js → input-field-phone-number.zRjd8HPi.js} +724 -756
- package/dist/chunks/{input-field-phone-number.CPjH0EVF.js.map → input-field-phone-number.zRjd8HPi.js.map} +1 -1
- package/dist/chunks/{input-field.BEV5lhwO.js → input-field.BTt1ORWU.js} +22 -58
- package/dist/chunks/{input-field.BEV5lhwO.js.map → input-field.BTt1ORWU.js.map} +1 -1
- package/dist/chunks/{input-time.En4O4DRD.js → input-time.BfJIDgaH.js} +15 -48
- package/dist/chunks/{input-time.En4O4DRD.js.map → input-time.BfJIDgaH.js.map} +1 -1
- package/dist/chunks/{inspector-page.OKPf0I4k.js → inspector-page.i8bVjo9U.js} +4 -4
- package/dist/chunks/{inspector-page.OKPf0I4k.js.map → inspector-page.i8bVjo9U.js.map} +1 -1
- package/dist/chunks/{inspector.DoQPHzCc.js → inspector.Aet0jTC2.js} +39 -106
- package/dist/chunks/{inspector.DoQPHzCc.js.map → inspector.Aet0jTC2.js.map} +1 -1
- package/dist/chunks/isSameWeek.CieN9XgL.js +14 -0
- package/dist/chunks/{isSameWeek.TrpUOIn5.js.map → isSameWeek.CieN9XgL.js.map} +1 -1
- package/dist/chunks/{it.B65snrJA.js → it.keS7oN5l.js} +8 -8
- package/dist/chunks/{it.B65snrJA.js.map → it.keS7oN5l.js.map} +1 -1
- package/dist/chunks/{ja.xGVfFSzL.js → ja.cLwacUE6.js} +27 -27
- package/dist/chunks/{ja.xGVfFSzL.js.map → ja.cLwacUE6.js.map} +1 -1
- package/dist/chunks/{layout-row.CPFK9Bg7.js → layout-row.HslYnPgn.js} +34 -35
- package/dist/chunks/{layout-row.CPFK9Bg7.js.map → layout-row.HslYnPgn.js.map} +1 -1
- package/dist/chunks/{link.Cejg8jB6.js → link.CscSbaXa.js} +15 -37
- package/dist/chunks/{link.Cejg8jB6.js.map → link.CscSbaXa.js.map} +1 -1
- package/dist/chunks/list-item.Cngxa9qN.js +166 -0
- package/dist/chunks/{list-item.BiJMHR7b.js.map → list-item.Cngxa9qN.js.map} +1 -1
- package/dist/chunks/{listbox-option-tag.DnvECZQC.js → listbox-option-tag.BaoiH-Ku.js} +3 -3
- package/dist/chunks/{listbox-option-tag.DnvECZQC.js.map → listbox-option-tag.BaoiH-Ku.js.map} +1 -1
- package/dist/chunks/{modal-fullscreen.Bn8MzG6Z.js → modal-fullscreen.Cg1Q6ERf.js} +64 -93
- package/dist/chunks/{modal-fullscreen.Bn8MzG6Z.js.map → modal-fullscreen.Cg1Q6ERf.js.map} +1 -1
- package/dist/chunks/{modal.CClQItuJ.js → modal.u-t1CvBr.js} +81 -105
- package/dist/chunks/{modal.CClQItuJ.js.map → modal.u-t1CvBr.js.map} +1 -1
- package/dist/chunks/{navigation-menu-group.p1-x06nS.js → navigation-menu-group.gNMP4tW4.js} +80 -129
- package/dist/chunks/{navigation-menu-group.p1-x06nS.js.map → navigation-menu-group.gNMP4tW4.js.map} +1 -1
- package/dist/chunks/{on-click-outside.Cy1eFULD.js → on-click-outside.BgIzQ2G1.js} +32 -33
- package/dist/chunks/{on-click-outside.Cy1eFULD.js.map → on-click-outside.BgIzQ2G1.js.map} +1 -1
- package/dist/chunks/{pagination.CZVdaeqE.js → pagination.D81XgMQ7.js} +73 -192
- package/dist/chunks/pagination.D81XgMQ7.js.map +1 -0
- package/dist/chunks/{payment-method.B3CkgsAY.js → payment-method.Clm5dEYh.js} +2 -2
- package/dist/chunks/{payment-method.B3CkgsAY.js.map → payment-method.Clm5dEYh.js.map} +1 -1
- package/dist/chunks/popover.types.H5Y0rC1r.js +6 -0
- package/dist/chunks/{popover.types.BfnJIpII.js.map → popover.types.H5Y0rC1r.js.map} +1 -1
- package/dist/chunks/{popper-container.Cb9wuFId.js → popper-container.D08eTt4B.js} +245 -252
- package/dist/chunks/{popper-container.Cb9wuFId.js.map → popper-container.D08eTt4B.js.map} +1 -1
- package/dist/chunks/{promo-banner.DZ0gerRx.js → promo-banner.BX47zMKh.js} +17 -39
- package/dist/chunks/{promo-banner.DZ0gerRx.js.map → promo-banner.BX47zMKh.js.map} +1 -1
- package/dist/chunks/{pt-BR.D9FuAQZm.js → pt-BR.ChPOra5s.js} +14 -14
- package/dist/chunks/{pt-BR.D9FuAQZm.js.map → pt-BR.ChPOra5s.js.map} +1 -1
- package/dist/chunks/{radio-group.DUW2dya4.js → radio-group.Dtx5hOkQ.js} +23 -23
- package/dist/chunks/{radio-group.DUW2dya4.js.map → radio-group.Dtx5hOkQ.js.map} +1 -1
- package/dist/chunks/{rich-text-editor.CuCPLzUh.js → rich-text-editor.CmVsFJjh.js} +1364 -1416
- package/dist/chunks/{rich-text-editor.CuCPLzUh.js.map → rich-text-editor.CmVsFJjh.js.map} +1 -1
- package/dist/chunks/scroll-to-section.DhW8SFy0.js +101 -0
- package/dist/chunks/scroll-to-section.DhW8SFy0.js.map +1 -0
- package/dist/chunks/{search-bar.8iDkgmjw.js → search-bar.CRfYCmkl.js} +15 -48
- package/dist/chunks/{search-bar.8iDkgmjw.js.map → search-bar.CRfYCmkl.js.map} +1 -1
- package/dist/chunks/secondary-nav.B1Tj7MAA.js +192 -0
- package/dist/chunks/{secondary-nav.CmvSHxvS.js.map → secondary-nav.B1Tj7MAA.js.map} +1 -1
- package/dist/chunks/{segmented-control.Bkp2Y95s.js → segmented-control.CBc-wx0m.js} +44 -48
- package/dist/chunks/{segmented-control.Bkp2Y95s.js.map → segmented-control.CBc-wx0m.js.map} +1 -1
- package/dist/chunks/{selection-card-group.EGigQJOW.js → selection-card-group.BaK3Rt4K.js} +91 -96
- package/dist/chunks/{selection-card-group.EGigQJOW.js.map → selection-card-group.BaK3Rt4K.js.map} +1 -1
- package/dist/chunks/set-time-in-date.BVfkl8K8.js +27 -0
- package/dist/chunks/{set-time-in-date.CU7HeZLY.js.map → set-time-in-date.BVfkl8K8.js.map} +1 -1
- package/dist/chunks/{sidepanel.yB7YuzVt.js → sidepanel.DeIREn9l.js} +55 -78
- package/dist/chunks/{sidepanel.yB7YuzVt.js.map → sidepanel.DeIREn9l.js.map} +1 -1
- package/dist/chunks/startOfWeek.muMEhS7U.js +9 -0
- package/dist/chunks/{startOfWeek.Br5KM4z_.js.map → startOfWeek.muMEhS7U.js.map} +1 -1
- package/dist/chunks/{status.CKb07vxI.js → status.DJ1Dfh5s.js} +2 -2
- package/dist/chunks/{status.CKb07vxI.js.map → status.DJ1Dfh5s.js.map} +1 -1
- package/dist/chunks/step.DfI11Din.js +221 -0
- package/dist/chunks/{step.CIfxl8Wm.js.map → step.DfI11Din.js.map} +1 -1
- package/dist/chunks/{structured-list-item.Cnv4Pw5n.js → structured-list-item._7YG2L3a.js} +18 -40
- package/dist/chunks/{structured-list-item.Cnv4Pw5n.js.map → structured-list-item._7YG2L3a.js.map} +1 -1
- package/dist/chunks/{summary-grid.types.BcIlkfVO.js → summary-grid.types.B_gUEQ0c.js} +45 -50
- package/dist/chunks/{summary-grid.types.BcIlkfVO.js.map → summary-grid.types.B_gUEQ0c.js.map} +1 -1
- package/dist/chunks/tab.DFk4K9cq.js +229 -0
- package/dist/chunks/{tab.N0xGWsfO.js.map → tab.DFk4K9cq.js.map} +1 -1
- package/dist/chunks/table-of-contents.CoEnQ9g7.js +104 -0
- package/dist/chunks/{table-of-contents.Cf-IrdZl.js.map → table-of-contents.CoEnQ9g7.js.map} +1 -1
- package/dist/chunks/{tag.BAyLm485.js → tag.BC7FFENr.js} +4 -4
- package/dist/chunks/{tag.BAyLm485.js.map → tag.BC7FFENr.js.map} +1 -1
- package/dist/chunks/textarea.Z-VYFZVq.js +176 -0
- package/dist/chunks/{textarea.BDRR1zE0.js.map → textarea.Z-VYFZVq.js.map} +1 -1
- package/dist/chunks/{timeline-item.QEEIwYMy.js → timeline-item.BGHi_lOY.js} +114 -193
- package/dist/chunks/{timeline-item.QEEIwYMy.js.map → timeline-item.BGHi_lOY.js.map} +1 -1
- package/dist/chunks/{toast.XPG0vaQB.js → toast.D-jat1Xw.js} +64 -86
- package/dist/chunks/{toast.XPG0vaQB.js.map → toast.D-jat1Xw.js.map} +1 -1
- package/dist/chunks/{toggle.Ca-MM3dt.js → toggle.BqHWIhqD.js} +4 -4
- package/dist/chunks/{toggle.Ca-MM3dt.js.map → toggle.BqHWIhqD.js.map} +1 -1
- package/dist/chunks/{tooltip.7ct8WxCl.js → tooltip.D_XsoD_u.js} +68 -70
- package/dist/chunks/{tooltip.7ct8WxCl.js.map → tooltip.D_XsoD_u.js.map} +1 -1
- package/dist/chunks/truncate.DmCXQmeb.js +8 -0
- package/dist/chunks/{truncate.BfIl_-71.js.map → truncate.DmCXQmeb.js.map} +1 -1
- package/dist/chunks/{tutorial.bROv3HSx.js → tutorial.BtxKW4ac.js} +80 -173
- package/dist/chunks/{tutorial.bROv3HSx.js.map → tutorial.BtxKW4ac.js.map} +1 -1
- package/dist/chunks/typography.D1OZJbEa.js +90 -0
- package/dist/chunks/typography.D1OZJbEa.js.map +1 -0
- package/dist/chunks/{use-bento-delayed-hover.Bz_8EabW.js → use-bento-delayed-hover.D6QjSugc.js} +2 -2
- package/dist/chunks/{use-bento-delayed-hover.Bz_8EabW.js.map → use-bento-delayed-hover.D6QjSugc.js.map} +1 -1
- package/dist/chunks/{use-bento-toast-controller.CB6Qbf3R.js → use-bento-toast-controller.A5xraVqa.js} +14 -15
- package/dist/chunks/{use-bento-toast-controller.CB6Qbf3R.js.map → use-bento-toast-controller.A5xraVqa.js.map} +1 -1
- package/dist/chunks/use-country-items.B1KhLbqM.js +30 -0
- package/dist/chunks/{use-country-items.CmCRY7QX.js.map → use-country-items.B1KhLbqM.js.map} +1 -1
- package/dist/chunks/use-country-phon-code.Cv5YgCOo.js +291 -0
- package/dist/chunks/use-country-phon-code.Cv5YgCOo.js.map +1 -0
- package/dist/chunks/use-date-input-formatter.DXwvH7B0.js +1629 -0
- package/dist/chunks/{use-date-input-formatter.DfQk8_Dw.js.map → use-date-input-formatter.DXwvH7B0.js.map} +1 -1
- package/dist/chunks/use-expandable-content-height.Bdd9hQwq.js +34 -0
- package/dist/chunks/{use-expandable-content-height.2WJLCL-R.js.map → use-expandable-content-height.Bdd9hQwq.js.map} +1 -1
- package/dist/chunks/utils.DWmc2mUI.js +19 -0
- package/dist/chunks/{utils.BzUwtTXc.js.map → utils.DWmc2mUI.js.map} +1 -1
- package/dist/chunks/{zh-CN.Be4pa3-g.js → zh-CN.ZG6obniO.js} +28 -28
- package/dist/chunks/{zh-CN.Be4pa3-g.js.map → zh-CN.ZG6obniO.js.map} +1 -1
- package/dist/click-outside.js +1 -1
- package/dist/code-snippet.js +1 -1
- package/dist/country.js +3 -3
- package/dist/currency.js +1 -1
- package/dist/dashboard-template.js +1 -1
- package/dist/dashed-underline.js +1 -1
- package/dist/data-grid-template.js +1 -1
- package/dist/data-grid.js +1 -1
- package/dist/date-picker.js +2 -2
- package/dist/date-range-picker.js +2 -2
- package/dist/date-time-picker.js +1 -1
- package/dist/date.js +1 -1
- package/dist/draggable.js +2 -2
- package/dist/drawer.js +1 -1
- package/dist/dropdown.js +2 -2
- package/dist/empty-state.js +1 -1
- package/dist/file-uploader.js +1 -1
- package/dist/filter-bar.js +1 -1
- package/dist/focus-trap.js +1 -1
- package/dist/form-layout.js +2 -2
- package/dist/header-with-views.js +1 -1
- package/dist/header.js +1 -1
- package/dist/index.js +144 -149
- package/dist/index.js.map +1 -1
- package/dist/info-icon.js +1 -1
- package/dist/input-field-password.js +1 -1
- package/dist/input-field-phone-number.js +1 -1
- package/dist/input-field.js +1 -1
- package/dist/input-time.js +1 -1
- package/dist/inspector.js +2 -2
- package/dist/internal.js +14 -14
- package/dist/layout.js +1 -1
- package/dist/link.js +1 -1
- package/dist/list.js +1 -1
- package/dist/menu.js +1 -1
- package/dist/modal-fullscreen.js +1 -1
- package/dist/modal.js +2 -2
- package/dist/navigation-menu.js +1 -1
- package/dist/pagination.js +1 -1
- package/dist/payment-method.js +1 -1
- package/dist/popover.js +2 -2
- package/dist/popper-container.js +1 -1
- package/dist/promo-banner.js +1 -1
- package/dist/radio-group.js +1 -1
- package/dist/rich-text-editor.js +1 -1
- package/dist/search-bar.js +2 -2
- package/dist/secondary-nav.js +1 -1
- package/dist/segmented-control.js +1 -1
- package/dist/selection-card.js +1 -1
- package/dist/sidepanel.js +1 -1
- package/dist/status.js +1 -1
- package/dist/stepper.js +1 -1
- package/dist/structured-list.js +1 -1
- package/dist/summary-grid.js +1 -1
- package/dist/table-of-contents.js +1 -1
- package/dist/tabs.js +1 -1
- package/dist/tag.js +1 -1
- package/dist/textarea.js +1 -1
- package/dist/timeline.js +1 -1
- package/dist/toast.js +1 -1
- package/dist/toggle.js +1 -1
- package/dist/tutorial.js +1 -1
- package/dist/typography.js +1 -1
- package/dist/use-form-v4.js +331 -341
- package/dist/use-form-v4.js.map +1 -1
- package/dist/web-types.json +32 -2
- package/package.json +11 -11
- package/dist/chunks/anchor-scroller.DgC74yeM.js +0 -141
- package/dist/chunks/anchor-scroller.DgC74yeM.js.map +0 -1
- package/dist/chunks/button-actions-with-menu.DNYoFmV4.js +0 -85
- package/dist/chunks/calendar.CvHJ3Geq.js +0 -1247
- package/dist/chunks/click-outside.BG01Sm0A.js +0 -23
- package/dist/chunks/constructNow.CK0ryPil.js +0 -8
- package/dist/chunks/country.types.8GCHsdGN.js +0 -2789
- package/dist/chunks/country.types.8GCHsdGN.js.map +0 -1
- package/dist/chunks/currency.Dvy9Qjjf.js +0 -126
- package/dist/chunks/dashboard-section.D2yqhERq.js +0 -102
- package/dist/chunks/data-grid-template.Ifn423Ot.js +0 -111
- package/dist/chunks/data-grid.BDXQ_kKQ.js +0 -4121
- package/dist/chunks/date-picker.CXZfCxwP.js +0 -252
- package/dist/chunks/date-range-picker.BzVQsYk4.js +0 -1295
- package/dist/chunks/date-time-picker.DaLATfJp.js +0 -202
- package/dist/chunks/differenceInMonths.CpwVtHZX.js +0 -44
- package/dist/chunks/draggable.rTa1jcHI.js +0 -196
- package/dist/chunks/empty-state.DSVU1vU8.js +0 -106
- package/dist/chunks/empty-state.DSVU1vU8.js.map +0 -1
- package/dist/chunks/filter-bar.qlViDZPY.js +0 -3754
- package/dist/chunks/fixed-scroller.04EUUgD_.js +0 -152
- package/dist/chunks/get-slot-text.Bjb9dTSV.js +0 -12
- package/dist/chunks/header-meta.CCQVPDU8.js +0 -250
- package/dist/chunks/index.B6WW_F-J.js.map +0 -1
- package/dist/chunks/input-field-password.Bri9q5EV.js +0 -395
- package/dist/chunks/input-field-password.Bri9q5EV.js.map +0 -1
- package/dist/chunks/isSameWeek.TrpUOIn5.js +0 -14
- package/dist/chunks/list-item.BiJMHR7b.js +0 -226
- package/dist/chunks/pagination.CZVdaeqE.js.map +0 -1
- package/dist/chunks/popover.types.BfnJIpII.js +0 -6
- package/dist/chunks/scroll-to-section.CC5g-HBX.js +0 -111
- package/dist/chunks/scroll-to-section.CC5g-HBX.js.map +0 -1
- package/dist/chunks/secondary-nav.CmvSHxvS.js +0 -266
- package/dist/chunks/set-time-in-date.CU7HeZLY.js +0 -27
- package/dist/chunks/startOfWeek.Br5KM4z_.js +0 -10
- package/dist/chunks/step.CIfxl8Wm.js +0 -253
- package/dist/chunks/tab.N0xGWsfO.js +0 -259
- package/dist/chunks/table-of-contents.Cf-IrdZl.js +0 -129
- package/dist/chunks/textarea.BDRR1zE0.js +0 -224
- package/dist/chunks/truncate.BfIl_-71.js +0 -8
- package/dist/chunks/typography.C8lPlsbD.js +0 -87
- package/dist/chunks/typography.C8lPlsbD.js.map +0 -1
- package/dist/chunks/use-country-items.CmCRY7QX.js +0 -30
- package/dist/chunks/use-country-phon-code.BWkb546s.js +0 -6641
- package/dist/chunks/use-country-phon-code.BWkb546s.js.map +0 -1
- package/dist/chunks/use-date-input-formatter.DfQk8_Dw.js +0 -1732
- package/dist/chunks/use-expandable-content-height.2WJLCL-R.js +0 -35
- package/dist/chunks/utils.BzUwtTXc.js +0 -21
package/dist/web-types.json
CHANGED
|
@@ -1,7 +1,7 @@
|
|
|
1
1
|
{
|
|
2
2
|
"framework": "vue",
|
|
3
3
|
"name": "@adyen/bento-vue2",
|
|
4
|
-
"version": "1.
|
|
4
|
+
"version": "1.103.0",
|
|
5
5
|
"contributions": {
|
|
6
6
|
"html": {
|
|
7
7
|
"description-markup": "markdown",
|
|
@@ -8449,7 +8449,7 @@
|
|
|
8449
8449
|
"description": "Defines the button at the end of the component.",
|
|
8450
8450
|
"value": {
|
|
8451
8451
|
"kind": "expression",
|
|
8452
|
-
"type": "
|
|
8452
|
+
"type": "intersection"
|
|
8453
8453
|
},
|
|
8454
8454
|
"default": "null"
|
|
8455
8455
|
},
|
|
@@ -13870,6 +13870,16 @@
|
|
|
13870
13870
|
},
|
|
13871
13871
|
"default": "null"
|
|
13872
13872
|
},
|
|
13873
|
+
{
|
|
13874
|
+
"name": "hideFirstLastPageButtons",
|
|
13875
|
+
"required": false,
|
|
13876
|
+
"description": "Hides the \"navigate to the first page\" and \"navigate to the last page\" buttons.\nUseful for cursor-based pagination, where jumping directly to the first or last page is not supported.",
|
|
13877
|
+
"value": {
|
|
13878
|
+
"kind": "expression",
|
|
13879
|
+
"type": "boolean"
|
|
13880
|
+
},
|
|
13881
|
+
"default": "false"
|
|
13882
|
+
},
|
|
13873
13883
|
{
|
|
13874
13884
|
"name": "hidePageSize",
|
|
13875
13885
|
"required": false,
|
|
@@ -14047,6 +14057,16 @@
|
|
|
14047
14057
|
},
|
|
14048
14058
|
"default": "null"
|
|
14049
14059
|
},
|
|
14060
|
+
{
|
|
14061
|
+
"name": "hideFirstLastPageButtons",
|
|
14062
|
+
"required": false,
|
|
14063
|
+
"description": "Hides the \"navigate to the first page\" and \"navigate to the last page\" buttons.\nUseful for cursor-based pagination, where jumping directly to the first or last page is not supported.",
|
|
14064
|
+
"value": {
|
|
14065
|
+
"kind": "expression",
|
|
14066
|
+
"type": "boolean"
|
|
14067
|
+
},
|
|
14068
|
+
"default": "false"
|
|
14069
|
+
},
|
|
14050
14070
|
{
|
|
14051
14071
|
"name": "page",
|
|
14052
14072
|
"required": true,
|
|
@@ -19398,6 +19418,16 @@
|
|
|
19398
19418
|
},
|
|
19399
19419
|
"default": "false"
|
|
19400
19420
|
},
|
|
19421
|
+
{
|
|
19422
|
+
"name": "monospace",
|
|
19423
|
+
"required": false,
|
|
19424
|
+
"description": "Changes the font family to monospace.\nApplicable to all variants.",
|
|
19425
|
+
"value": {
|
|
19426
|
+
"kind": "expression",
|
|
19427
|
+
"type": "boolean"
|
|
19428
|
+
},
|
|
19429
|
+
"default": "false"
|
|
19430
|
+
},
|
|
19401
19431
|
{
|
|
19402
19432
|
"name": "richText",
|
|
19403
19433
|
"required": false,
|
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@adyen/bento-vue2",
|
|
3
|
-
"version": "1.
|
|
3
|
+
"version": "1.103.0",
|
|
4
4
|
"description": "Adyen Bento Vue2 components",
|
|
5
5
|
"type": "module",
|
|
6
6
|
"main": "dist/index.js",
|
|
@@ -51,7 +51,7 @@
|
|
|
51
51
|
"unified": "11.0.5",
|
|
52
52
|
"uuid": "11.1.1",
|
|
53
53
|
"vue-demi": "0.14.10",
|
|
54
|
-
"@adyen/bento-design-tokens": "1.
|
|
54
|
+
"@adyen/bento-design-tokens": "1.103.0"
|
|
55
55
|
},
|
|
56
56
|
"dependenciesMeta": {
|
|
57
57
|
"@adyen/bento-vue-i18n-demi": {
|
|
@@ -103,12 +103,12 @@
|
|
|
103
103
|
"@testing-library/vue": "5.9.0",
|
|
104
104
|
"@vitejs/plugin-react": "4.3.1",
|
|
105
105
|
"@vitejs/plugin-vue2": "2.3.1",
|
|
106
|
-
"@vitest/coverage-v8": "
|
|
106
|
+
"@vitest/coverage-v8": "3.2.6",
|
|
107
107
|
"@vue-macros/better-define": "1.11.1",
|
|
108
108
|
"@vue/test-utils": "1.3.4",
|
|
109
109
|
"axe-core": "4.4.2",
|
|
110
110
|
"codemirror-lang-csv": "0.1.1",
|
|
111
|
-
"dompurify": "3.4.
|
|
111
|
+
"dompurify": "3.4.11",
|
|
112
112
|
"fast-glob": "3.3.3",
|
|
113
113
|
"magic-string": "0.30.14",
|
|
114
114
|
"marked": "15.0.12",
|
|
@@ -121,10 +121,10 @@
|
|
|
121
121
|
"storybook": "7.6.21",
|
|
122
122
|
"tsc-alias": "1.8.11",
|
|
123
123
|
"typescript": "5.6.3",
|
|
124
|
-
"vite": "
|
|
124
|
+
"vite": "7.3.5",
|
|
125
125
|
"vite-plugin-dynamic-import": "1.5.0",
|
|
126
|
-
"vite-plugin-static-copy": "
|
|
127
|
-
"vitest": "
|
|
126
|
+
"vite-plugin-static-copy": "3.2.0",
|
|
127
|
+
"vitest": "3.2.6",
|
|
128
128
|
"vue": "2.7.16",
|
|
129
129
|
"vue-demi": "0.14.10",
|
|
130
130
|
"vue-docgen-web-types": "0.1.8",
|
|
@@ -132,12 +132,12 @@
|
|
|
132
132
|
"vue-template-compiler": "2.7.16",
|
|
133
133
|
"vue-tsc": "2.2.10",
|
|
134
134
|
"zod": "3.25.35",
|
|
135
|
-
"@adyen/bento-cli": "0.10.
|
|
135
|
+
"@adyen/bento-cli": "0.10.6",
|
|
136
136
|
"@adyen/bento-core": "0.0.1",
|
|
137
137
|
"@adyen/bento-vue-i18n-demi": "0.1.0",
|
|
138
|
-
"@adyen/eslint-plugin-bento": "2.
|
|
139
|
-
"@adyen/ui-assets-icons-16": "7.9.
|
|
140
|
-
"@adyen/ui-assets-payment-method-icons": "12.0.
|
|
138
|
+
"@adyen/eslint-plugin-bento": "2.20.0",
|
|
139
|
+
"@adyen/ui-assets-icons-16": "7.9.5",
|
|
140
|
+
"@adyen/ui-assets-payment-method-icons": "12.0.1"
|
|
141
141
|
},
|
|
142
142
|
"optionalDependencies": {
|
|
143
143
|
"vue-router": "~3.6"
|
|
@@ -1,141 +0,0 @@
|
|
|
1
|
-
import { defineComponent as v, computed as c, toRef as b, ref as S, watch as f } from "vue";
|
|
2
|
-
import { i as y, r as T } from "./index.C7m7gI5w.js";
|
|
3
|
-
import { p as C, B as j } from "./typography.C8lPlsbD.js";
|
|
4
|
-
import { u as k } from "./index.B6WW_F-J.js";
|
|
5
|
-
import { g as B } from "./generate-uid.NJ8tVoha.js";
|
|
6
|
-
import { u as F } from "./utils.BzUwtTXc.js";
|
|
7
|
-
import { u as R, s as w, a as A } from "./scroll-to-section.CC5g-HBX.js";
|
|
8
|
-
import { B as D } from "./button.CKS_V3p5.js";
|
|
9
|
-
import { n as I } from "./_plugin-vue2_normalizer.CeySl7Fu.js";
|
|
10
|
-
import { F as N } from "./fixed-scroller.04EUUgD_.js";
|
|
11
|
-
import "../assets/anchor-scroller.css";
|
|
12
|
-
const O = /* @__PURE__ */ v({
|
|
13
|
-
__name: "anchor-scroller-list",
|
|
14
|
-
props: {
|
|
15
|
-
activeIndex: { default: void 0 },
|
|
16
|
-
items: null,
|
|
17
|
-
scrollOffset: { default: void 0 }
|
|
18
|
-
},
|
|
19
|
-
setup(u) {
|
|
20
|
-
const e = u, n = c(() => e.items), { isFocusable: t, navigationItemRefs: l, onKeydownNavigation: s } = R(n, {
|
|
21
|
-
isDisabled: (r) => r.disabled,
|
|
22
|
-
initialIndex: b(e, "activeIndex")
|
|
23
|
-
});
|
|
24
|
-
return { __sfc: !0, props: e, navigationItems: n, isFocusable: t, navigationItemRefs: l, onKeydownNavigation: s, onScrollToSection: (r, a) => w(r, {
|
|
25
|
-
disabled: a,
|
|
26
|
-
scrollOffset: e.scrollOffset,
|
|
27
|
-
warningPrefix: "bento-anchor-scroller"
|
|
28
|
-
}), BentoButton: D };
|
|
29
|
-
}
|
|
30
|
-
});
|
|
31
|
-
var E = function() {
|
|
32
|
-
var e = this, n = e._self._c, t = e._self._setupProxy;
|
|
33
|
-
return n("ul", { staticClass: "b-anchor-scroller-list", on: { keydown: t.onKeydownNavigation } }, e._l(e.items, function({ title: l, disabled: s, elementRef: i }, r) {
|
|
34
|
-
return n("li", { key: r, staticClass: "b-anchor-scroller-list__item" }, [n(t.BentoButton, { ref: "navigationItemRefs", refInFor: !0, staticClass: "b-anchor-scroller-list__item-button", class: {
|
|
35
|
-
"b-anchor-scroller-list__item-button--active": e.activeIndex === r,
|
|
36
|
-
"b-anchor-scroller-list__item-button--disabled": s
|
|
37
|
-
}, attrs: { "aria-current": e.activeIndex === r ? "location" : null, "aria-disabled": s, tabindex: t.isFocusable(r) ? null : "-1", variant: "tertiary-with-background" }, on: { click: function(a) {
|
|
38
|
-
return t.onScrollToSection(i, s);
|
|
39
|
-
} }, nativeOn: { keydown: [function(a) {
|
|
40
|
-
return !a.type.indexOf("key") && e._k(a.keyCode, "space", 32, a.key, [" ", "Spacebar"]) ? null : (a.preventDefault(), t.onScrollToSection(i, s));
|
|
41
|
-
}, function(a) {
|
|
42
|
-
return !a.type.indexOf("key") && e._k(a.keyCode, "enter", 13, a.key, "Enter") ? null : (a.preventDefault(), t.onScrollToSection(i, s));
|
|
43
|
-
}] } }, [e._v(" " + e._s(l) + " ")])], 1);
|
|
44
|
-
}), 0);
|
|
45
|
-
}, L = [], P = /* @__PURE__ */ I(
|
|
46
|
-
O,
|
|
47
|
-
E,
|
|
48
|
-
L,
|
|
49
|
-
!1,
|
|
50
|
-
null,
|
|
51
|
-
"a49180be"
|
|
52
|
-
);
|
|
53
|
-
const z = P.exports, J = {
|
|
54
|
-
"de-DE": {
|
|
55
|
-
jumpTo: "Springe zu"
|
|
56
|
-
},
|
|
57
|
-
"en-GB": {
|
|
58
|
-
jumpTo: "Jump to"
|
|
59
|
-
},
|
|
60
|
-
"en-US": {
|
|
61
|
-
jumpTo: "Jump to"
|
|
62
|
-
},
|
|
63
|
-
"es-419": {
|
|
64
|
-
jumpTo: "Saltar a"
|
|
65
|
-
},
|
|
66
|
-
"es-ES": {
|
|
67
|
-
jumpTo: "Saltar a"
|
|
68
|
-
},
|
|
69
|
-
"es-MX": {
|
|
70
|
-
jumpTo: "Saltar a"
|
|
71
|
-
},
|
|
72
|
-
"fr-FR": {
|
|
73
|
-
jumpTo: "Passer à"
|
|
74
|
-
},
|
|
75
|
-
"it-IT": {
|
|
76
|
-
jumpTo: "Vai a"
|
|
77
|
-
},
|
|
78
|
-
"ja-JP": {
|
|
79
|
-
jumpTo: "移動先"
|
|
80
|
-
},
|
|
81
|
-
"pt-BR": {
|
|
82
|
-
jumpTo: "Ir para"
|
|
83
|
-
},
|
|
84
|
-
"zh-CN": {
|
|
85
|
-
jumpTo: "跳转到"
|
|
86
|
-
}
|
|
87
|
-
}, K = {
|
|
88
|
-
i18n: { messages: J },
|
|
89
|
-
name: "bento-anchor-scroller"
|
|
90
|
-
}, U = /* @__PURE__ */ v({
|
|
91
|
-
...K,
|
|
92
|
-
props: {
|
|
93
|
-
activeIndex: { default: void 0 },
|
|
94
|
-
items: null
|
|
95
|
-
},
|
|
96
|
-
emits: ["update:active-index"],
|
|
97
|
-
setup(u, { emit: e }) {
|
|
98
|
-
const n = u, { t } = k(), l = S(null), s = c(() => n.items.map((o) => ({ ...o }))), i = c(
|
|
99
|
-
() => n.items.map((o, x) => ({
|
|
100
|
-
element: F(o.elementRef),
|
|
101
|
-
originalIndex: x,
|
|
102
|
-
disabled: o.disabled
|
|
103
|
-
})).filter(
|
|
104
|
-
(o) => !o.disabled && !!o.element
|
|
105
|
-
)
|
|
106
|
-
), { top: r, bottom: a } = y(l), d = c(() => i.value.map((o) => o.element)), g = c(() => ({
|
|
107
|
-
"b-anchor-scroller__navigation--pinned": r.value <= 1
|
|
108
|
-
})), { activeIndex: m } = A(d, {
|
|
109
|
-
default: b(n, "activeIndex")
|
|
110
|
-
}), p = T(m, 200), _ = c(() => {
|
|
111
|
-
const o = i.value[p.value];
|
|
112
|
-
return o ? o.originalIndex : 0;
|
|
113
|
-
});
|
|
114
|
-
f(_, (o) => {
|
|
115
|
-
Number.isFinite(o) && e("update:active-index", o);
|
|
116
|
-
}), f(
|
|
117
|
-
() => n.activeIndex,
|
|
118
|
-
(o) => {
|
|
119
|
-
Number.isFinite(o) && s.value[o].disabled && C("[bento-anchor-scroller] activeIndex should not be a disabled item");
|
|
120
|
-
}
|
|
121
|
-
);
|
|
122
|
-
const h = B("bento-anchor-scroller-label");
|
|
123
|
-
return { __sfc: !0, t, props: n, emit: e, navigationRef: l, computedItems: s, enabledItems: i, top: r, bottom: a, scrollToTargets: d, navigationConditionalClasses: g, relativeActiveIndex: m, debouncedActiveIndex: p, currentActiveIndex: _, navLabelId: h, BentoTypography: j, FixedScroller: N, AnchorScrollerList: z };
|
|
124
|
-
}
|
|
125
|
-
});
|
|
126
|
-
var G = function() {
|
|
127
|
-
var e = this, n = e._self._c, t = e._self._setupProxy;
|
|
128
|
-
return t.computedItems.length ? n("div", { staticClass: "b-anchor-scroller" }, [n("nav", { ref: "navigationRef", staticClass: "b-anchor-scroller__navigation", class: t.navigationConditionalClasses, attrs: { "aria-labelledby": t.navLabelId } }, [n(t.FixedScroller, { attrs: { condensed: "", centered: "" } }, [n("div", { staticClass: "b-anchor-scroller__navigation-panel" }, [n(t.BentoTypography, { staticClass: "b-anchor-scroller__navigation-panel-label", attrs: { id: t.navLabelId, el: "span", stronger: "" } }, [e._v(" " + e._s(t.t("jumpTo")) + " ")]), n(t.AnchorScrollerList, { attrs: { items: t.computedItems, "active-index": t.currentActiveIndex, "scroll-offset": t.bottom } })], 1)])], 1), e._t("default")], 2) : e._e();
|
|
129
|
-
}, M = [], V = /* @__PURE__ */ I(
|
|
130
|
-
U,
|
|
131
|
-
G,
|
|
132
|
-
M,
|
|
133
|
-
!1,
|
|
134
|
-
null,
|
|
135
|
-
"a963f9fd"
|
|
136
|
-
);
|
|
137
|
-
const ne = V.exports;
|
|
138
|
-
export {
|
|
139
|
-
ne as a
|
|
140
|
-
};
|
|
141
|
-
//# sourceMappingURL=anchor-scroller.DgC74yeM.js.map
|
|
@@ -1 +0,0 @@
|
|
|
1
|
-
{"version":3,"file":"anchor-scroller.DgC74yeM.js","sources":["../../src/components/anchor-scroller/components/anchor-scroller-list/anchor-scroller-list.vue","../../src/components/anchor-scroller/anchor-scroller.vue"],"sourcesContent":["<template>\n <ul class=\"b-anchor-scroller-list\" @keydown=\"onKeydownNavigation\">\n <li v-for=\"({ title, disabled, elementRef }, index) in items\" :key=\"index\" class=\"b-anchor-scroller-list__item\">\n <bento-button\n ref=\"navigationItemRefs\"\n :aria-current=\"activeIndex === index ? 'location' : null\"\n class=\"b-anchor-scroller-list__item-button\"\n :class=\"{\n 'b-anchor-scroller-list__item-button--active': activeIndex === index,\n 'b-anchor-scroller-list__item-button--disabled': disabled,\n }\"\n :aria-disabled=\"disabled\"\n :tabindex=\"isFocusable(index) ? null : '-1'\"\n variant=\"tertiary-with-background\"\n @click=\"onScrollToSection(elementRef, disabled)\"\n @keydown.space.native.prevent=\"onScrollToSection(elementRef, disabled)\"\n @keydown.enter.native.prevent=\"onScrollToSection(elementRef, disabled)\"\n >\n {{ title }}\n </bento-button>\n </li>\n </ul>\n</template>\n\n<script setup lang=\"ts\">\n import BentoButton from '@/components/button/button.vue';\n import { useSectionNavigationKeyboard } from '@/composables/use-section-navigation-keyboard';\n import { scrollToSection, type ScrollToSectionTarget } from '@/utils/ts/scroll-to-section';\n import { type AnchorScrollerListProps } from './anchor-scroller-list.types';\n import { computed, toRef } from 'vue';\n\n const props = defineProps({\n activeIndex: { default: undefined },\n items: null,\n scrollOffset: { default: undefined }\n});\n\n const navigationItems = computed(() => props.items);\n const { isFocusable, navigationItemRefs, onKeydownNavigation } = useSectionNavigationKeyboard(navigationItems, {\n isDisabled: item => item.disabled,\n initialIndex: toRef(props, 'activeIndex'),\n });\n\n const onScrollToSection = (\n elementRef: AnchorScrollerListProps['items'][number]['elementRef'],\n disabled?: boolean\n ) =>\n scrollToSection(elementRef as ScrollToSectionTarget, {\n disabled,\n scrollOffset: props.scrollOffset,\n warningPrefix: 'bento-anchor-scroller',\n });\n</script>\n\n<style lang=\"scss\" scoped src=\"./anchor-scroller-list.scss\" />\n","<template>\n <div v-if=\"computedItems.length\" class=\"b-anchor-scroller\">\n <nav\n ref=\"navigationRef\"\n class=\"b-anchor-scroller__navigation\"\n :class=\"navigationConditionalClasses\"\n :aria-labelledby=\"navLabelId\"\n >\n <fixed-scroller condensed centered>\n <div class=\"b-anchor-scroller__navigation-panel\">\n <bento-typography\n :id=\"navLabelId\"\n el=\"span\"\n class=\"b-anchor-scroller__navigation-panel-label\"\n stronger\n >\n {{ t('jumpTo') }}\n </bento-typography>\n\n <anchor-scroller-list\n :items=\"computedItems\"\n :active-index=\"currentActiveIndex\"\n :scroll-offset=\"bottom\"\n />\n </div>\n </fixed-scroller>\n </nav>\n\n <slot />\n </div>\n</template>\n\n<script setup lang=\"ts\">\n import { computed, ref, toRef, watch } from 'vue';\n import { refDebounced, useElementBounding } from '@vueuse/core';\n import BentoTypography from '@/components/typography/typography.vue';\n import { FixedScroller } from '@/internal';\n import { type BentoAnchorScrollerItem, type BentoAnchorScrollerProps } from './anchor-scroller.types';\n import { AnchorScrollerList } from './components/anchor-scroller-list';\n import { useI18n } from '@/utils/ts/i18n';\n import { generateUid } from '@/core/utils/ts';\n import { unrefElement } from '@/directives/click-outside/utils';\n import messages from './messages.json';\n import { useScrollSpy } from '@/composables/use-scroll-spy';\n import { printDevelopmentWarning } from '@/utils/ts/print-development-warning';\n\n type MessageSchema = (typeof messages)['en-US'];\n\n const { t } = useI18n<{ message: MessageSchema }>({ messages });\n\n const props = defineProps({\n activeIndex: { default: undefined },\n items: null\n});\n\n const emit = defineEmits([\"update:active-index\"]);\n\n const navigationRef = ref(null);\n\n const computedItems = computed<Array<BentoAnchorScrollerItem>>(() => props.items.map(item => ({ ...item })));\n\n // Skip and cache only items that are enabled\n const enabledItems = computed(() =>\n props.items\n .map((item, originalIndex) => ({\n element: unrefElement(item.elementRef),\n originalIndex,\n disabled: item.disabled,\n }))\n .filter(\n (item): item is { element: Element; originalIndex: number; disabled: boolean } =>\n !item.disabled && !!item.element\n )\n );\n\n const { top, bottom } = useElementBounding(navigationRef);\n\n // Extract strictly the elements for the ScrollSpy to watch\n const scrollToTargets = computed(() => enabledItems.value.map(c => c.element));\n\n const navigationConditionalClasses = computed(() => ({\n 'b-anchor-scroller__navigation--pinned': top.value <= 1,\n }));\n\n const { activeIndex: relativeActiveIndex } = useScrollSpy(scrollToTargets, {\n default: toRef(props, 'activeIndex'),\n });\n\n const debouncedActiveIndex = refDebounced(relativeActiveIndex, 200);\n\n const currentActiveIndex = computed(() => {\n const candidate = enabledItems.value[debouncedActiveIndex.value];\n\n return candidate ? candidate.originalIndex : 0;\n });\n\n watch(currentActiveIndex, val => {\n if (Number.isFinite(val)) {\n emit('update:active-index', val);\n }\n });\n\n watch(\n () => props.activeIndex,\n val => {\n if (Number.isFinite(val) && computedItems.value[val].disabled) {\n printDevelopmentWarning(`[bento-anchor-scroller] activeIndex should not be a disabled item`);\n }\n }\n );\n\n const navLabelId = generateUid('bento-anchor-scroller-label');\n</script>\n\n<script lang=\"ts\">\n /**\n * A navigation component that tracks page scroll and allows jumping to sections.\n *\n * @example\n * import { BentoAnchorScroller } from '@adyen/bento-vue2';\n * import { ref } from 'vue';\n *\n * export default {\n * components: { BentoAnchorScroller },\n * template: `\n * <bento-anchor-scroller :items=\"items\">\n * <section ref=\"section1\">Section 1</section>\n * <section ref=\"section2\">Section 2</section>\n * </bento-anchor-scroller>\n * `,\n * setup() {\n * const section1 = ref(null);\n * const section2 = ref(null);\n * const items = ref([\n * { title: 'Section 1', elementRef: section1 },\n * { title: 'Section 2', elementRef: section2 },\n * ]);\n * return {\n * items,\n * section1,\n * section2,\n * }\n * }\n * }\n */\n export default {\n i18n: { messages },\n name: 'bento-anchor-scroller',\n };\n</script>\n\n<style lang=\"scss\" scoped src=\"./anchor-scroller.scss\" />\n"],"names":["navigationItems","computed","props","isFocusable","navigationItemRefs","onKeydownNavigation","useSectionNavigationKeyboard","item","toRef","elementRef","disabled","scrollToSection","__default__","messages","useI18n","navigationRef","ref","computedItems","enabledItems","originalIndex","unrefElement","top","bottom","useElementBounding","scrollToTargets","c","navigationConditionalClasses","relativeActiveIndex","useScrollSpy","debouncedActiveIndex","refDebounced","currentActiveIndex","candidate","watch","val","emit","printDevelopmentWarning","navLabelId","generateUid"],"mappings":";;;;;;;;;;;;;;;;;;;iBAqCIA,IAAAC,EAAA,MAAAC,EAAA,KAAA,GACA,EAAA,aAAAC,GAAA,oBAAAC,GAAA,qBAAAC,EAAA,IAAAC,EAAAN,GAAA;AAAA,MAA+G,YAAA,CAAAO,MAAAA,EAAA;AAAA,MAClF,cAAAC,EAAAN,GAAA,aAAA;AAAA,IACe,CAAA;wIAG5C,CAAAO,GAAAC,MAAAC,EAAAF,GAAA;AAAA,MAIyD,UAAAC;AAAA,MACjD,cAAAR,EAAA;AAAA,MACoB,eAAA;AAAA,IACL,CAAA;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;GC+FvBU,IAAA;AAAA,EAAe,MAAA,EAAA,UAAAC,EAAA;AAAA,EACM,MAAA;AAErB;;;;;;;;iBApGA,EAAA,EAAA,IAAAC,EAAA,GASAC,IAAAC,EAAA,IAAA,GAEAC,IAAAhB,EAAA,MAAAC,EAAA,MAAA,IAAA,CAAAK,OAAA,EAAA,GAAAA,EAAA,EAAA,CAAA,GAGAW,IAAAjB;AAAA,MAAqB,MAAAC,EAAA,MAAA,IAAA,CAAAK,GAAAY,OAAA;AAAA,QAEkB,SAAAC,EAAAb,EAAA,UAAA;AAAA,QACU,eAAAY;AAAA,QACrC,UAAAZ,EAAA;AAAA,MACe,EAAA,EAAA;AAAA,QAElB,CAAAA,MAAA,CAAAA,EAAA,YAAA,CAAA,CAAAA,EAAA;AAAA,MAEgC;AAAA,IACjC,GAGR,EAAA,KAAAc,GAAA,QAAAC,EAAA,IAAAC,EAAAR,CAAA,GAGAS,IAAAvB,EAAA,MAAAiB,EAAA,MAAA,IAAA,CAAAO,MAAAA,EAAA,OAAA,CAAA,GAEAC,IAAAzB,EAAA,OAAA;AAAA,MAAqD,yCAAAoB,EAAA,SAAA;AAAA,IACK,EAAA,GAG1D,EAAA,aAAAM,EAAA,IAAAC,EAAAJ,GAAA;AAAA,MAA2E,SAAAhB,EAAAN,GAAA,aAAA;AAAA,IACpC,CAAA,GAGvC2B,IAAAC,EAAAH,GAAA,GAAA,GAEAI,IAAA9B,EAAA,MAAA;AACI,YAAA+B,IAAAd,EAAA,MAAAW,EAAA,KAAA;AAEA,aAAAG,IAAAA,EAAA,gBAAA;AAAA,IAA6C,CAAA;AAGjD,IAAAC,EAAAF,GAAA,CAAAG,MAAA;AACI,MAAA,OAAA,SAAAA,CAAA,KACIC,EAAA,uBAAAD,CAAA;AAAA,IACJ,CAAA,GAGJD;AAAA,MAAA,MAAA/B,EAAA;AAAA,MACgB,CAAAgC,MAAA;AAER,QAAA,OAAA,SAAAA,CAAA,KAAAjB,EAAA,MAAAiB,CAAA,EAAA,YACIE,EAAA,mEAAA;AAAA,MACJ;AAAA,IACJ;AAGJ,UAAAC,IAAAC,EAAA,6BAAA;;;;;;;;;;;;;;;;"}
|
|
@@ -1,85 +0,0 @@
|
|
|
1
|
-
import { ref as v, watch as b, nextTick as m, defineComponent as w, toRef as A, computed as _, provide as h } from "vue";
|
|
2
|
-
import { M as y, d as B, f as C, B as M } from "./button-actions.Dpbx0xf3.js";
|
|
3
|
-
import { b as T } from "./index.C7m7gI5w.js";
|
|
4
|
-
import { n as N } from "./_plugin-vue2_normalizer.CeySl7Fu.js";
|
|
5
|
-
import "../assets/button-actions-with-menu.css";
|
|
6
|
-
const W = (p) => {
|
|
7
|
-
const { breakpoint: t, container: o, defaultActionsCount: e, offset: s } = p, { width: l } = T(), i = v(e.value), r = 150, u = async () => {
|
|
8
|
-
var n;
|
|
9
|
-
await m();
|
|
10
|
-
const c = o.value.clientWidth, a = r * i.value + (((n = s == null ? void 0 : s.value) == null ? void 0 : n.offsetWidth) ?? 0) + r;
|
|
11
|
-
c >= a && i.value < e.value && (i.value += 1, await u());
|
|
12
|
-
}, d = async () => {
|
|
13
|
-
var n;
|
|
14
|
-
await m();
|
|
15
|
-
const c = o.value.clientWidth, a = r * i.value + (((n = s == null ? void 0 : s.value) == null ? void 0 : n.offsetWidth) ?? 0);
|
|
16
|
-
c < a && i.value > 0 && (i.value -= 1, await d());
|
|
17
|
-
};
|
|
18
|
-
return b([l, o], async ([c, a], [n]) => {
|
|
19
|
-
if (!a || !e || c > t)
|
|
20
|
-
return;
|
|
21
|
-
await m(), c > n ? await u() : await d();
|
|
22
|
-
}), b(e, async (c) => {
|
|
23
|
-
i.value = c, t && l.value <= t && o.value && await d();
|
|
24
|
-
}), {
|
|
25
|
-
displayedActionsCount: i
|
|
26
|
-
};
|
|
27
|
-
}, E = {}, I = /* @__PURE__ */ w({
|
|
28
|
-
...E,
|
|
29
|
-
__name: "button-actions-with-menu",
|
|
30
|
-
props: {
|
|
31
|
-
actions: null,
|
|
32
|
-
actionsLayout: { default: "buttons-end" },
|
|
33
|
-
disableResponsiveBehavior: { type: Boolean, default: !1 },
|
|
34
|
-
displayedActions: { default: void 0 },
|
|
35
|
-
inverse: { type: Boolean, default: !1 },
|
|
36
|
-
hideDisplayedActionsBreakpoint: { default: 0 },
|
|
37
|
-
menuPosition: { default: "bottom-start" }
|
|
38
|
-
},
|
|
39
|
-
setup(p) {
|
|
40
|
-
const t = p, o = A(t, "inverse"), e = v(null), s = v(null), l = v(!1), i = _(() => {
|
|
41
|
-
const a = t.hideDisplayedActionsBreakpoint ? u.value : t.displayedActions;
|
|
42
|
-
return t.actions.slice(0, a);
|
|
43
|
-
}), r = _(() => {
|
|
44
|
-
var a;
|
|
45
|
-
return (a = s == null ? void 0 : s.value) == null ? void 0 : a.$el;
|
|
46
|
-
}), { displayedActionsCount: u } = W({
|
|
47
|
-
breakpoint: t.hideDisplayedActionsBreakpoint,
|
|
48
|
-
container: e,
|
|
49
|
-
defaultActionsCount: A(t, "displayedActions"),
|
|
50
|
-
offset: r
|
|
51
|
-
});
|
|
52
|
-
h(y, o), t.disableResponsiveBehavior || h(B, { buttonActionsWithMenu: e, menu: s, stackButtons: l });
|
|
53
|
-
const d = _(() => ({
|
|
54
|
-
"b-button-actions-with-menu__container-wrapper--buttons-end": t.actionsLayout === "buttons-end",
|
|
55
|
-
"b-button-actions-with-menu__container-wrapper--buttons-start": t.actionsLayout === "buttons-start",
|
|
56
|
-
"b-button-actions-with-menu__container-wrapper--stacked-buttons": l.value
|
|
57
|
-
})), c = _(() => u.value === void 0 || u.value >= t.actions.length ? [] : t.actions.slice(u.value, t.actions.length).flatMap((n) => n.data ? n.data : {
|
|
58
|
-
text: n.title,
|
|
59
|
-
handler: () => {
|
|
60
|
-
var f;
|
|
61
|
-
return (f = n.event) == null ? void 0 : f.call(n, {});
|
|
62
|
-
},
|
|
63
|
-
icon: n.icon,
|
|
64
|
-
critical: n.critical,
|
|
65
|
-
disabled: n.disabled
|
|
66
|
-
}));
|
|
67
|
-
return { __sfc: !0, props: t, inverseRef: o, buttonActionsWithMenu: e, menu: s, stackButtons: l, computedActions: i, computedMenuRef: r, displayedActionsCount: u, conditionalClasses: d, computedMenuActions: c, BentoButtonActions: M, BentoMenu: C };
|
|
68
|
-
}
|
|
69
|
-
});
|
|
70
|
-
var R = function() {
|
|
71
|
-
var t = this, o = t._self._c, e = t._self._setupProxy;
|
|
72
|
-
return o("div", { staticClass: "b-button-actions-with-menu" }, [o("div", { ref: "buttonActionsWithMenu", staticClass: "b-button-actions-with-menu__container-wrapper", class: e.conditionalClasses, attrs: { role: "group" } }, [o(e.BentoButtonActions, { attrs: { actions: e.computedActions, inverse: t.inverse, layout: t.actionsLayout } }), e.computedMenuActions.length ? o(e.BentoMenu, { ref: "menu", attrs: { data: e.computedMenuActions, "menu-position": t.menuPosition } }) : t._e()], 1)]);
|
|
73
|
-
}, k = [], g = /* @__PURE__ */ N(
|
|
74
|
-
I,
|
|
75
|
-
R,
|
|
76
|
-
k,
|
|
77
|
-
!1,
|
|
78
|
-
null,
|
|
79
|
-
"36190b44"
|
|
80
|
-
);
|
|
81
|
-
const S = g.exports;
|
|
82
|
-
export {
|
|
83
|
-
S as B
|
|
84
|
-
};
|
|
85
|
-
//# sourceMappingURL=button-actions-with-menu.DNYoFmV4.js.map
|