@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
|
@@ -1,14 +1,14 @@
|
|
|
1
|
-
import { defineComponent as
|
|
2
|
-
import { B, p as
|
|
3
|
-
import { g as
|
|
4
|
-
import { b as
|
|
5
|
-
import { n as
|
|
6
|
-
import { o as
|
|
1
|
+
import { defineComponent as c, ref as i, computed as d, toRef as v, watch as g, onMounted as C } from "vue";
|
|
2
|
+
import { B as h, p as B } from "./typography.D1OZJbEa.js";
|
|
3
|
+
import { g as y } from "./generate-uid.DBWe4g6T.js";
|
|
4
|
+
import { b as w } from "./tooltip.D_XsoD_u.js";
|
|
5
|
+
import { n as p } from "./_plugin-vue2_normalizer.CeySl7Fu.js";
|
|
6
|
+
import { o as x } from "./resize.Bqks3WUm.js";
|
|
7
7
|
import "../assets/segmented-control.css";
|
|
8
|
-
const
|
|
8
|
+
const $ = {
|
|
9
9
|
name: "bento-segmented-control-button"
|
|
10
|
-
},
|
|
11
|
-
|
|
10
|
+
}, W = /* @__PURE__ */ c({
|
|
11
|
+
...$,
|
|
12
12
|
props: {
|
|
13
13
|
disabled: { type: Boolean, default: !1 },
|
|
14
14
|
fullWidth: { type: Boolean, default: !1 },
|
|
@@ -20,34 +20,34 @@ const W = {
|
|
|
20
20
|
wrap: { type: Boolean, default: !1 }
|
|
21
21
|
},
|
|
22
22
|
emits: ["update:model-value"],
|
|
23
|
-
setup(
|
|
24
|
-
const e =
|
|
23
|
+
setup(s, { emit: t }) {
|
|
24
|
+
const e = s, o = i(), n = y("segmented-control-button"), a = d(() => e.value === e.modelValue), r = d(() => ({
|
|
25
25
|
"b-segmented-control-button--hug-content": !e.fullWidth,
|
|
26
26
|
"b-segmented-control-button--full-width": e.fullWidth,
|
|
27
27
|
"b-segmented-control-button--truncate": e.truncate,
|
|
28
28
|
"b-segmented-control-button--wrap": e.wrap && !e.truncate
|
|
29
29
|
}));
|
|
30
|
-
return { __sfc: !0, props: e, emit: t, segmentedControlButtonLabel: o, segmentedControlButtonId: n, isChecked:
|
|
30
|
+
return { __sfc: !0, props: e, emit: t, segmentedControlButtonLabel: o, segmentedControlButtonId: n, isChecked: a, conditionalClasses: r, onClick: () => {
|
|
31
31
|
e.disabled || t("update:model-value", e.value);
|
|
32
|
-
}, BentoTypography:
|
|
32
|
+
}, BentoTypography: h, vBentoTooltipDirective: w };
|
|
33
33
|
}
|
|
34
34
|
});
|
|
35
|
-
var
|
|
35
|
+
var k = function() {
|
|
36
36
|
var t = this, e = t._self._c, o = t._self._setupProxy;
|
|
37
37
|
return e("div", { staticClass: "b-segmented-control-button", class: o.conditionalClasses }, [e("input", { directives: [{ name: "bento-tooltip-directive", rawName: "v-bento-tooltip-directive", value: t.tooltipText, expression: "tooltipText" }], staticClass: "b-segmented-control-button__input", attrs: { id: o.segmentedControlButtonId, "aria-checked": o.isChecked, "aria-label": t.label, disabled: t.disabled, type: "radio", role: "radio" }, domProps: { checked: o.isChecked, value: t.value }, on: { change: o.onClick } }), t.label ? e("label", { staticClass: "b-segmented-control-button__label-container", attrs: { for: o.segmentedControlButtonId } }, [e(o.BentoTypography, { ref: "segmentedControlButtonLabel", staticClass: "b-segmented-control-button__label", attrs: { el: "span", variant: "body", stronger: "" } }, [t._v(" " + t._s(t.label) + " ")])], 1) : t._e()]);
|
|
38
|
-
},
|
|
38
|
+
}, I = [], T = /* @__PURE__ */ p(
|
|
39
|
+
W,
|
|
39
40
|
k,
|
|
40
41
|
I,
|
|
41
|
-
T,
|
|
42
42
|
!1,
|
|
43
43
|
null,
|
|
44
44
|
"f9db935d"
|
|
45
45
|
);
|
|
46
|
-
const
|
|
46
|
+
const R = T.exports, V = {
|
|
47
47
|
name: "bento-segmented-control",
|
|
48
48
|
model: { prop: "modelValue" }
|
|
49
|
-
},
|
|
50
|
-
...
|
|
49
|
+
}, L = /* @__PURE__ */ c({
|
|
50
|
+
...V,
|
|
51
51
|
props: {
|
|
52
52
|
ariaLabel: { default: null },
|
|
53
53
|
fullWidth: { type: Boolean, default: !1 },
|
|
@@ -56,58 +56,54 @@ const L = V.exports, R = {
|
|
|
56
56
|
wrap: { type: Boolean, default: !1 }
|
|
57
57
|
},
|
|
58
58
|
emits: ["update:model-value", "input"],
|
|
59
|
-
setup(
|
|
60
|
-
const e =
|
|
61
|
-
|
|
59
|
+
setup(s, { emit: t }) {
|
|
60
|
+
const e = s, o = v(e, "modelValue"), n = i(), a = i(), r = i(), u = d(() => !e.wrap);
|
|
61
|
+
g(
|
|
62
62
|
() => e.items,
|
|
63
63
|
() => {
|
|
64
|
-
e.items.length > 5 &&
|
|
64
|
+
e.items.length > 5 && B(
|
|
65
65
|
"Do not use when you need to provide more than 5 segments at a time. If you need to provide more options, use a dropdown component."
|
|
66
66
|
);
|
|
67
67
|
},
|
|
68
68
|
{ immediate: !0 }
|
|
69
|
-
),
|
|
70
|
-
|
|
71
|
-
|
|
72
|
-
|
|
73
|
-
(i) => i.$refs.segmentedControlButtonLabel.$el.offsetWidth < i.$refs.segmentedControlButtonLabel.$el.scrollWidth
|
|
69
|
+
), C(() => {
|
|
70
|
+
x(n.value, () => {
|
|
71
|
+
n.value && (r.value = a?.value?.map(
|
|
72
|
+
(l) => l.$refs.segmentedControlButtonLabel.$el.offsetWidth < l.$refs.segmentedControlButtonLabel.$el.scrollWidth
|
|
74
73
|
));
|
|
75
74
|
});
|
|
76
75
|
});
|
|
77
|
-
const
|
|
78
|
-
() => e.items.map((
|
|
79
|
-
|
|
80
|
-
|
|
81
|
-
|
|
82
|
-
|
|
83
|
-
|
|
84
|
-
|
|
85
|
-
), b = (a) => {
|
|
86
|
-
t("update:model-value", a), t("input", a);
|
|
87
|
-
}, v = d(() => ({
|
|
76
|
+
const m = d(
|
|
77
|
+
() => e.items.map((l, b) => ({
|
|
78
|
+
...l,
|
|
79
|
+
tooltipText: u.value && r?.value?.[b] ? l.label : void 0
|
|
80
|
+
}))
|
|
81
|
+
), f = (l) => {
|
|
82
|
+
t("update:model-value", l), t("input", l);
|
|
83
|
+
}, _ = d(() => ({
|
|
88
84
|
"b-segmented-control--hug": !e.fullWidth,
|
|
89
85
|
"b-segmented-control--full-width": e.fullWidth,
|
|
90
86
|
"b-segmented-control--truncate": u.value,
|
|
91
87
|
"b-segmented-control--wrap": e.wrap
|
|
92
88
|
}));
|
|
93
|
-
return { __sfc: !0, emit: t, props: e, inputValue: o, segmentedControlRef: n, segmentedControlButtonRef:
|
|
89
|
+
return { __sfc: !0, emit: t, props: e, inputValue: o, segmentedControlRef: n, segmentedControlButtonRef: a, hasEllipsis: r, truncate: u, computedItems: m, onInput: f, conditionalClasses: _, SegmentedControlButton: R };
|
|
94
90
|
}
|
|
95
91
|
});
|
|
96
|
-
var
|
|
92
|
+
var D = function() {
|
|
97
93
|
var t = this, e = t._self._c, o = t._self._setupProxy;
|
|
98
|
-
return e("div", { ref: "segmentedControlRef", staticClass: "b-segmented-control", class: o.conditionalClasses, attrs: { role: "group" } }, t._l(o.computedItems, function(n,
|
|
99
|
-
return e(o.SegmentedControlButton, { key: `segmented-control-item-${
|
|
94
|
+
return e("div", { ref: "segmentedControlRef", staticClass: "b-segmented-control", class: o.conditionalClasses, attrs: { role: "group" } }, t._l(o.computedItems, function(n, a) {
|
|
95
|
+
return e(o.SegmentedControlButton, { key: `segmented-control-item-${a}-${n.label}`, ref: "segmentedControlButtonRef", refInFor: !0, staticClass: "b-segmented-control__item", attrs: { label: n.label, value: n.value, disabled: n.disabled, truncate: o.truncate, wrap: t.wrap, "full-width": t.fullWidth, "model-value": o.inputValue, "tooltip-text": n.tooltipText }, on: { "update:model-value": o.onInput } });
|
|
100
96
|
}), 1);
|
|
101
|
-
},
|
|
97
|
+
}, S = [], F = /* @__PURE__ */ p(
|
|
98
|
+
L,
|
|
102
99
|
D,
|
|
103
100
|
S,
|
|
104
|
-
F,
|
|
105
101
|
!1,
|
|
106
102
|
null,
|
|
107
103
|
"414ab1a6"
|
|
108
104
|
);
|
|
109
|
-
const
|
|
105
|
+
const U = F.exports;
|
|
110
106
|
export {
|
|
111
|
-
|
|
107
|
+
U as B
|
|
112
108
|
};
|
|
113
|
-
//# sourceMappingURL=segmented-control.
|
|
109
|
+
//# sourceMappingURL=segmented-control.CBc-wx0m.js.map
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"segmented-control.
|
|
1
|
+
{"version":3,"file":"segmented-control.CBc-wx0m.js","sources":["../../src/components/segmented-control/components/segmented-control-button/segmented-control-button.vue","../../src/components/segmented-control/segmented-control.vue"],"sourcesContent":["<template>\n <div class=\"b-segmented-control-button\" :class=\"conditionalClasses\">\n <input\n :id=\"segmentedControlButtonId\"\n v-bento-tooltip-directive=\"tooltipText\"\n :aria-checked=\"isChecked\"\n :aria-label=\"label\"\n :checked=\"isChecked\"\n :disabled=\"disabled\"\n :value=\"value\"\n type=\"radio\"\n class=\"b-segmented-control-button__input\"\n role=\"radio\"\n @change=\"onClick\"\n />\n <label v-if=\"label\" :for=\"segmentedControlButtonId\" class=\"b-segmented-control-button__label-container\">\n <bento-typography\n ref=\"segmentedControlButtonLabel\"\n class=\"b-segmented-control-button__label\"\n el=\"span\"\n variant=\"body\"\n stronger\n >\n {{ label }}\n </bento-typography>\n </label>\n </div>\n</template>\n\n<script setup lang=\"ts\">\n import { computed, type ComputedRef, ref } from 'vue';\n import { BentoTypography } from '@/components/typography';\n import { generateUid } from '@/core/utils/ts';\n import { BentoTooltipDirective as vBentoTooltipDirective } from '@/directives';\n\n const props = defineProps({\n disabled: { type: Boolean, default: false },\n fullWidth: { type: Boolean, default: false },\n label: null,\n modelValue: { default: null },\n tooltipText: { default: undefined },\n truncate: { type: Boolean, default: false },\n value: null,\n wrap: { type: Boolean, default: false }\n});\n\n const emit = defineEmits([\"update:model-value\"]);\n\n const segmentedControlButtonLabel = ref();\n const segmentedControlButtonId = generateUid('segmented-control-button');\n const isChecked: ComputedRef<boolean> = computed(() => props.value === props.modelValue);\n const conditionalClasses = computed(() => ({\n 'b-segmented-control-button--hug-content': !props.fullWidth,\n 'b-segmented-control-button--full-width': props.fullWidth,\n 'b-segmented-control-button--truncate': props.truncate,\n 'b-segmented-control-button--wrap': props.wrap && !props.truncate,\n }));\n const onClick = () => {\n if (!props.disabled) {\n emit('update:model-value', props.value);\n }\n };\n</script>\n\n<script lang=\"ts\">\n /**\n * Internal component to be used within the BentoSegmentedControl component only\n */\n export default {\n name: 'bento-segmented-control-button',\n };\n</script>\n\n<style lang=\"scss\" scoped src=\"./segmented-control-button.scss\" />\n","<template>\n <div ref=\"segmentedControlRef\" role=\"group\" class=\"b-segmented-control\" :class=\"conditionalClasses\">\n <segmented-control-button\n v-for=\"(item, index) in computedItems\"\n ref=\"segmentedControlButtonRef\"\n :key=\"`segmented-control-item-${index}-${item.label}`\"\n class=\"b-segmented-control__item\"\n :label=\"item.label\"\n :value=\"item.value\"\n :disabled=\"item.disabled\"\n :truncate=\"truncate\"\n :wrap=\"wrap\"\n :full-width=\"fullWidth\"\n :model-value=\"inputValue\"\n :tooltip-text=\"item.tooltipText\"\n @update:model-value=\"onInput\"\n />\n </div>\n</template>\n\n<script setup lang=\"ts\">\n import { computed, onMounted, ref, toRef, watch } from 'vue';\n import SegmentedControlButton from './components/segmented-control-button/segmented-control-button.vue';\n import { type BentoSegmentedControlProps, type BentoSegmentedControlValue } from './segmented-control.types';\n import { observeSizeOfElement } from '@/utils/ts/resize';\n import { printDevelopmentWarning } from '@/utils/ts/print-development-warning';\n\n const emit = defineEmits([\"update:model-value\", \"input\"]);\n\n const props = defineProps({\n ariaLabel: { default: null },\n fullWidth: { type: Boolean, default: false },\n items: null,\n modelValue: { default: null },\n wrap: { type: Boolean, default: false }\n});\n\n const inputValue = toRef(props, 'modelValue');\n\n const segmentedControlRef = ref();\n const segmentedControlButtonRef = ref();\n const hasEllipsis = ref();\n\n const truncate = computed(() => !props.wrap);\n\n watch(\n () => props.items,\n () => {\n if (props.items.length > 5) {\n printDevelopmentWarning(\n 'Do not use when you need to provide more than 5 segments at a time. If you need to provide more options, use a dropdown component.'\n );\n }\n },\n { immediate: true }\n );\n\n onMounted(() => {\n observeSizeOfElement(segmentedControlRef.value, () => {\n if (segmentedControlRef.value) {\n hasEllipsis.value = segmentedControlButtonRef?.value?.map(\n el =>\n el.$refs.segmentedControlButtonLabel.$el.offsetWidth <\n el.$refs.segmentedControlButtonLabel.$el.scrollWidth\n );\n }\n });\n });\n\n const computedItems = computed(() =>\n props.items.map((el, index) => ({\n ...el,\n tooltipText: truncate.value && hasEllipsis?.value?.[index] ? el.label : undefined,\n }))\n );\n\n const onInput = value => {\n emit('update:model-value', value);\n emit('input', value);\n };\n\n const conditionalClasses = computed(() => ({\n 'b-segmented-control--hug': !props.fullWidth,\n 'b-segmented-control--full-width': props.fullWidth,\n 'b-segmented-control--truncate': truncate.value,\n 'b-segmented-control--wrap': props.wrap,\n }));\n</script>\n\n<script lang=\"ts\">\n /**\n * @example\n * import { BentoSegmentedControl } from '@adyen/bento-vue2';\n *\n * export default {\n * components: { BentoSegmentedControl },\n * template: `\n * <bento-segmented-control\n * :items=\"[{ label: 'Segment 1', value: 1 }, { label: 'Segment 2', value: 2 }, { label: 'Segment 3', value: 3, disabled: true }]\"\n * :model-value=\"1\"\n * @update:model-value=\"yourUpdateHandler\"\n * />\n * `\n * }\n */\n export default {\n name: 'bento-segmented-control',\n model: { prop: 'modelValue' },\n };\n</script>\n\n<style lang=\"scss\" scoped src=\"./segmented-control.scss\" />\n"],"names":["__default__$1","segmentedControlButtonLabel","ref","segmentedControlButtonId","generateUid","isChecked","computed","props","conditionalClasses","emit","__default__","inputValue","toRef","segmentedControlRef","segmentedControlButtonRef","hasEllipsis","truncate","watch","printDevelopmentWarning","onMounted","observeSizeOfElement","el","computedItems","index","onInput","value"],"mappings":";;;;;;;AAoEI,MAAAA,IAAA;AAAA,EAAe,MAAA;AAEf;;;;;;;;;;;;;;iBAtBAC,IAAAC,EAAA,GACAC,IAAAC,EAAA,0BAAA,GACAC,IAAAC,EAAA,MAAAC,EAAA,UAAAA,EAAA,UAAA,GACAC,IAAAF,EAAA,OAAA;AAAA,MAA2C,2CAAA,CAAAC,EAAA;AAAA,MACW,0CAAAA,EAAA;AAAA,MACF,wCAAAA,EAAA;AAAA,MACF,oCAAAA,EAAA,QAAA,CAAAA,EAAA;AAAA,IACW,EAAA;sJAE7D,MAAA;AACI,MAAAA,EAAA,YACIE,EAAA,sBAAAF,EAAA,KAAA;AAAA,IACJ;;;;;;;;;;;;;;qBC6CJG,IAAA;AAAA,EAAe,MAAA;AAAA,EACL,OAAA,EAAA,MAAA,aAAA;AAEV;;;;;;;;;;;iBAvEAC,IAAAC,EAAAL,GAAA,YAAA,GAEAM,IAAAX,EAAA,GACAY,IAAAZ,EAAA,GACAa,IAAAb,EAAA,GAEAc,IAAAV,EAAA,MAAA,CAAAC,EAAA,IAAA;AAEA,IAAAU;AAAA,MAAA,MAAAV,EAAA;AAAA,MACgB,MAAA;AAER,QAAAA,EAAA,MAAA,SAAA,KACIW;AAAA,UAAA;AAAA,QACI;AAAA,MAER;AAAA,MACJ,EAAA,WAAA,GAAA;AAAA,IACkB,GAGtBC,EAAA,MAAA;AACI,MAAAC,EAAAP,EAAA,OAAA,MAAA;AACI,QAAAA,EAAA,UACIE,EAAA,QAAAD,GAAA,OAAA;AAAA,UAAsD,CAAAO,MAAAA,EAAA,MAAA,4BAAA,IAAA,cAAAA,EAAA,MAAA,4BAAA,IAAA;AAAA,QAGL;AAAA,MAErD,CAAA;AAAA,IACH,CAAA;AAGL,UAAAC,IAAAhB;AAAA,MAAsB,MAAAC,EAAA,MAAA,IAAA,CAAAc,GAAAE,OAAA;AAAA,QACc,GAAAF;AAAA,QACzB,aAAAL,EAAA,SAAAD,GAAA,QAAAQ,CAAA,IAAAF,EAAA,QAAA;AAAA,MACqE,EAAA;AAAA,IAC1E,GAGNG,IAAA,CAAAC,MAAA;AACI,MAAAhB,EAAA,sBAAAgB,CAAA,GACAhB,EAAA,SAAAgB,CAAA;AAAA,IAAmB,GAGvBjB,IAAAF,EAAA,OAAA;AAAA,MAA2C,4BAAA,CAAAC,EAAA;AAAA,MACJ,mCAAAA,EAAA;AAAA,MACM,iCAAAS,EAAA;AAAA,MACC,6BAAAT,EAAA;AAAA,IACP,EAAA;;;;;;;;;;;;;;;;;;"}
|
|
@@ -1,23 +1,23 @@
|
|
|
1
|
-
import { defineComponent as
|
|
2
|
-
import { h as
|
|
3
|
-
import { a as
|
|
4
|
-
import { B as
|
|
5
|
-
import {
|
|
6
|
-
import {
|
|
7
|
-
import {
|
|
8
|
-
import {
|
|
9
|
-
import {
|
|
10
|
-
import { n as
|
|
11
|
-
import { u as
|
|
12
|
-
import { G as
|
|
13
|
-
import { E as
|
|
14
|
-
import { C as
|
|
1
|
+
import { defineComponent as $, useSlots as L, computed as l, inject as G, ref as v, watch as A, provide as O, onMounted as D } from "vue";
|
|
2
|
+
import { h as N } from "./index.CL3TXc0a.js";
|
|
3
|
+
import { a as q, B as z } from "./es6.Cu3DYUPA.js";
|
|
4
|
+
import { B as F } from "./typography.D1OZJbEa.js";
|
|
5
|
+
import { C as j } from "./checkbox-input.kfxcyjfd.js";
|
|
6
|
+
import { u as W } from "./aria-label.CaUURpnB.js";
|
|
7
|
+
import { g as M } from "./generate-uid.DBWe4g6T.js";
|
|
8
|
+
import { u as Y } from "./use-has-slot.C9lQZ6nz.js";
|
|
9
|
+
import { a as Q } from "./radio-input.CLlYadKI.js";
|
|
10
|
+
import { n as T } from "./_plugin-vue2_normalizer.CeySl7Fu.js";
|
|
11
|
+
import { u as U } from "./form-field.D_2g7vaP.js";
|
|
12
|
+
import { G as H } from "./grid-layout.BeCrjPgT.js";
|
|
13
|
+
import { E as J } from "./error-message.BEHBfjmn.js";
|
|
14
|
+
import { C as K } from "./controls-group.DPLAJjbv.js";
|
|
15
15
|
import "../assets/selection-card-group.css";
|
|
16
|
-
var
|
|
17
|
-
const
|
|
16
|
+
var S = /* @__PURE__ */ ((i) => (i.DISABLED = "disabled", i.READONLY = "readonly", i.ERROR = "error", i))(S || {});
|
|
17
|
+
const P = /* @__PURE__ */ Symbol("selection card radio input injection key"), X = {
|
|
18
18
|
name: "bento-selection-card"
|
|
19
|
-
},
|
|
20
|
-
...
|
|
19
|
+
}, Z = /* @__PURE__ */ $({
|
|
20
|
+
...X,
|
|
21
21
|
props: {
|
|
22
22
|
/**
|
|
23
23
|
* The description of the selection card
|
|
@@ -78,70 +78,68 @@ const q = /* @__PURE__ */ Symbol("selection card radio input injection key"), le
|
|
|
78
78
|
}
|
|
79
79
|
},
|
|
80
80
|
emits: ["input", "update:model-value"],
|
|
81
|
-
setup(
|
|
82
|
-
const t =
|
|
81
|
+
setup(i, { emit: e }) {
|
|
82
|
+
const t = i, o = L(), a = Y(o), h = M("selection-card-input-id"), r = M("selection-card-description"), d = l(
|
|
83
83
|
() => t.modelValue
|
|
84
|
-
),
|
|
84
|
+
), w = l(
|
|
85
85
|
() => t.modelValue
|
|
86
|
-
),
|
|
87
|
-
"b-selection-card--checked":
|
|
86
|
+
), B = l(() => ({
|
|
87
|
+
"b-selection-card--checked": x.value,
|
|
88
88
|
"b-selection-card--fully-clickable": t.fullyClickable
|
|
89
|
-
})),
|
|
90
|
-
[`b-selection-card--${
|
|
91
|
-
[`b-selection-card--${
|
|
92
|
-
[`b-selection-card--${
|
|
89
|
+
})), g = l(() => ({
|
|
90
|
+
[`b-selection-card--${S.DISABLED}`]: t.disabled,
|
|
91
|
+
[`b-selection-card--${S.ERROR}`]: t.hasError,
|
|
92
|
+
[`b-selection-card--${S.READONLY}`]: t.readonly,
|
|
93
93
|
"b-selection-card--center-aligned": m.value
|
|
94
|
-
})),
|
|
94
|
+
})), f = l(() => ({
|
|
95
95
|
"b-selection-card__checkbox-container--center-aligned": m.value
|
|
96
|
-
})),
|
|
96
|
+
})), C = l(() => ({
|
|
97
97
|
"b-selection-card__checkbox-container-text--center-aligned": m.value
|
|
98
|
-
})),
|
|
98
|
+
})), k = l(() => ({
|
|
99
99
|
"b-selection-card__slot--with-icon": a("icon")
|
|
100
|
-
})),
|
|
100
|
+
})), R = W({
|
|
101
101
|
ariaLabel: t.title,
|
|
102
102
|
label: t.value
|
|
103
|
-
}),
|
|
104
|
-
|
|
105
|
-
|
|
106
|
-
|
|
107
|
-
M(z);
|
|
103
|
+
}), u = l(() => Array.isArray(t.modelValue)), x = l(() => c.value ? t.value === t.modelValue : u.value ? t.modelValue.some((s) => s === t.value) : t.modelValue), c = G(P, v(!1)), m = l(() => !t.subtitle && !t.description), p = v(null), _ = v(null), n = v(null), y = (s) => {
|
|
104
|
+
if (p.value.$refs.inputRef === s.target) {
|
|
105
|
+
const I = E();
|
|
106
|
+
V(I);
|
|
108
107
|
return;
|
|
109
108
|
}
|
|
110
|
-
if (t.disabled && t.readonly || !t.fullyClickable && (
|
|
109
|
+
if (t.disabled && t.readonly || !t.fullyClickable && (_.value && _.value?.$el?.contains(s.target) || n.value && n.value?.$el?.contains(s.target) || p.value && p.value?.$el?.contains(s.target)))
|
|
111
110
|
return;
|
|
112
|
-
const
|
|
113
|
-
|
|
114
|
-
},
|
|
115
|
-
|
|
116
|
-
|
|
117
|
-
|
|
118
|
-
|
|
119
|
-
return k === -1 ? f.push(t.value) : f.splice(k, 1), f;
|
|
111
|
+
const b = E();
|
|
112
|
+
V(b);
|
|
113
|
+
}, E = () => {
|
|
114
|
+
const s = (p.value?.$refs.inputRef).checked;
|
|
115
|
+
if (u.value) {
|
|
116
|
+
const b = [...t.modelValue], I = b.indexOf(t.value);
|
|
117
|
+
return I === -1 ? b.push(t.value) : b.splice(I, 1), b;
|
|
120
118
|
}
|
|
121
|
-
return c.value ? t.value :
|
|
122
|
-
},
|
|
123
|
-
!t.disabled && !t.readonly && (e("update:model-value",
|
|
119
|
+
return c.value ? t.value : s;
|
|
120
|
+
}, V = (s) => {
|
|
121
|
+
!t.disabled && !t.readonly && (e("update:model-value", s), e("input", s));
|
|
124
122
|
};
|
|
125
|
-
return { __sfc: !0, props: t, emit: e, slots: o, hasSlot: a, inputId:
|
|
123
|
+
return { __sfc: !0, props: t, emit: e, slots: o, hasSlot: a, inputId: h, descriptionId: r, computedRadioInputModelValue: d, computedCheckboxInputModelValue: w, conditionalClasses: B, containerConditionalClasses: g, checkboxContainerConditionalClasses: f, checkboxContainerTextConditionalClasses: C, slotConditionalClasses: k, ariaLabel: R, isCheckboxGroup: u, isChecked: x, isRadioInput: c, isTitleOnly: m, inputRef: p, slotRef: _, dynamicSlotRef: n, handleCardClick: y, toggleInput: E, onChange: V, BentoTypography: F, CheckboxInput: j, RadioInput: Q };
|
|
126
124
|
}
|
|
127
125
|
});
|
|
128
|
-
var
|
|
126
|
+
var ee = function() {
|
|
129
127
|
var e = this, t = e._self._c, o = e._self._setupProxy;
|
|
130
128
|
return t("div", { staticClass: "b-selection-card", class: o.conditionalClasses, on: { click: o.handleCardClick } }, [t("div", { staticClass: "b-selection-card__container", class: o.containerConditionalClasses }, [t("div", { staticClass: "b-selection-card__checkbox-container", class: o.checkboxContainerConditionalClasses }, [t("div", { staticClass: "b-selection-card__checkbox-container-text", class: o.checkboxContainerTextConditionalClasses }, [o.hasSlot("icon") ? t("div", { staticClass: "b-selection-card__icon", attrs: { role: "presentation", "aria-hidden": "true" } }, [e._t("icon")], 2) : e._e(), t("label", { staticClass: "b-selection-card__text", attrs: { for: o.inputId }, on: { click: function(a) {
|
|
131
129
|
return a.stopPropagation(), a.preventDefault(), o.handleCardClick.apply(null, arguments);
|
|
132
130
|
} } }, [e.subtitle ? t(o.BentoTypography, { staticClass: "b-selection-card__description", attrs: { el: "span", variant: "caption" } }, [e._v(" " + e._s(e.subtitle) + " ")]) : e._e(), t(o.BentoTypography, { attrs: { el: "span", variant: "title" } }, [e._v(e._s(e.title))]), e.description ? t(o.BentoTypography, { staticClass: "b-selection-card__description", attrs: { id: "descriptionId", el: "span", variant: "body" } }, [e._v(" " + e._s(e.description) + " ")]) : e._e()], 1)]), o.isRadioInput ? t(o.RadioInput, { ref: "inputRef", attrs: { id: o.inputId, "aria-label": o.ariaLabel, "aria-describedby": e.description ? o.descriptionId : void 0, disabled: e.disabled, "has-error": e.hasError, "aria-readonly": e.readonly ?? void 0, value: e.value, readonly: e.readonly, "model-value": o.computedRadioInputModelValue } }) : t(o.CheckboxInput, { ref: "inputRef", attrs: { id: o.inputId, "aria-label": o.ariaLabel, "aria-describedby": e.description ? o.descriptionId : void 0, disabled: e.disabled, "has-error": e.hasError, "aria-readonly": e.readonly ?? void 0, value: e.value, readonly: e.readonly, "model-value": o.computedCheckboxInputModelValue } })], 1), o.hasSlot("content") ? t(o.BentoTypography, { ref: "slotRef", staticClass: "b-selection-card__slot", class: o.slotConditionalClasses, attrs: { el: "div" } }, [e._t("content")], 2) : e._e(), o.hasSlot("dynamicContent") && o.isChecked ? t(o.BentoTypography, { ref: "dynamicSlotRef", staticClass: "b-selection-card__slot", class: o.slotConditionalClasses, attrs: { el: "div" } }, [e._t("dynamicContent")], 2) : e._e()], 1)]);
|
|
133
|
-
},
|
|
134
|
-
|
|
135
|
-
|
|
136
|
-
|
|
131
|
+
}, te = [], oe = /* @__PURE__ */ T(
|
|
132
|
+
Z,
|
|
133
|
+
ee,
|
|
134
|
+
te,
|
|
137
135
|
!1,
|
|
138
136
|
null,
|
|
139
137
|
"6a98f99e"
|
|
140
138
|
);
|
|
141
|
-
const
|
|
139
|
+
const ae = oe.exports, le = {
|
|
142
140
|
model: { prop: "modelValue" }
|
|
143
|
-
},
|
|
144
|
-
...
|
|
141
|
+
}, ne = /* @__PURE__ */ $({
|
|
142
|
+
...le,
|
|
145
143
|
__name: "selection-card-group",
|
|
146
144
|
props: {
|
|
147
145
|
description: { default: null },
|
|
@@ -162,45 +160,42 @@ const ue = ie.exports, ce = {
|
|
|
162
160
|
variant: { default: "checkbox" }
|
|
163
161
|
},
|
|
164
162
|
emits: ["update:model-value", "input"],
|
|
165
|
-
setup(
|
|
166
|
-
const t =
|
|
163
|
+
setup(i, { emit: e }) {
|
|
164
|
+
const t = i, { emitValue: o } = U(e), a = L(), h = (n) => !!a[n], r = l(() => ({
|
|
167
165
|
"b-selection-card-group__items--horizontal": t.layout === "horizontal"
|
|
168
|
-
})), d =
|
|
169
|
-
|
|
166
|
+
})), d = v(t.modelValue);
|
|
167
|
+
A(
|
|
170
168
|
() => t.modelValue,
|
|
171
169
|
() => {
|
|
172
170
|
d.value = t.modelValue;
|
|
173
171
|
}
|
|
174
172
|
);
|
|
175
|
-
const
|
|
176
|
-
var r;
|
|
177
|
-
return ((r = t.itemsPerRow) == null ? void 0 : r[y == null ? void 0 : y.value]) || t.items.length;
|
|
178
|
-
}), R = n(() => {
|
|
173
|
+
const w = M("error"), B = l(() => !t.disabled && !t.readonly && !!t.errorMessage), g = v(null), { width: f } = N(g), C = l(() => q.split("px")[0]), k = l(() => z.split("px")[0]), R = l(() => f.value < C.value ? "small" : f.value >= C.value && f.value < k.value ? "medium" : "large"), u = l(() => t.itemsPerRow?.[R?.value] || t.items.length), x = l(() => {
|
|
179
174
|
if (!t.itemsPerRow)
|
|
180
175
|
return [];
|
|
181
|
-
const
|
|
182
|
-
for (let
|
|
183
|
-
|
|
184
|
-
return
|
|
185
|
-
}), c =
|
|
176
|
+
const n = [];
|
|
177
|
+
for (let y = 0; y < t.items.length; y += u?.value)
|
|
178
|
+
n.push(t.items.slice(y, y + u?.value));
|
|
179
|
+
return n;
|
|
180
|
+
}), c = l(() => 12 / u?.value), m = l(() => u?.value ? new Array(u?.value).fill({
|
|
186
181
|
// Instead of passing the actual screen sizes values, passing the same values per each screen size and recomputing it makes sure visually the change is smoother and not laggy
|
|
187
182
|
small: c.value,
|
|
188
183
|
medium: c.value,
|
|
189
184
|
large: c.value
|
|
190
|
-
}) : []), p = (
|
|
191
|
-
d.value =
|
|
192
|
-
},
|
|
193
|
-
return P
|
|
194
|
-
t.itemsPerRow && Object.values(t.itemsPerRow).forEach((
|
|
195
|
-
if (
|
|
185
|
+
}) : []), p = (n) => {
|
|
186
|
+
d.value = n, o(n);
|
|
187
|
+
}, _ = l(() => t.variant === "radio");
|
|
188
|
+
return O(P, _), D(() => {
|
|
189
|
+
t.itemsPerRow && Object.values(t.itemsPerRow).forEach((n) => {
|
|
190
|
+
if (n && (n < 2 || n > 6))
|
|
196
191
|
throw new Error(
|
|
197
192
|
"itemsPerRow values must have a value between 2 and 6 items per row. Read the documentation for more information."
|
|
198
193
|
);
|
|
199
194
|
});
|
|
200
|
-
}), { __sfc: !0, props: t, emit: e, emitValue: o, slots: a, hasSlot:
|
|
195
|
+
}), { __sfc: !0, props: t, emit: e, emitValue: o, slots: a, hasSlot: h, conditionalItemsClasses: r, inputValue: d, errorMessageId: w, shouldShowGroupError: B, containerRef: g, width: f, smallBreakpoint: C, mediumBreakpoint: k, currentBreakpoint: R, computedItemsPerRow: u, computedRows: x, itemColumnWidth: c, computedColumnWidth: m, onInput: p, isRadioVariant: _, BentoSelectionCard: ae, ControlsGroup: K, ErrorMessage: J, GridLayout: H };
|
|
201
196
|
}
|
|
202
197
|
});
|
|
203
|
-
var
|
|
198
|
+
var re = function() {
|
|
204
199
|
var e = this, t = e._self._c, o = e._self._setupProxy;
|
|
205
200
|
return t(o.ControlsGroup, { ref: "containerRef", staticClass: "b-selection-card-group", attrs: { "aria-describedby": o.shouldShowGroupError ? o.errorMessageId : null, "aria-required": e.required, label: e.label, "hide-label": e.hideLabel, description: e.description, disabled: e.disabled, "tooltip-text": e.tooltipText, readonly: e.readonly, required: e.required, optional: e.optional, "component-name": "selection-card-group" } }, [!e.itemsPerRow || e.layout === "vertical" ? t("div", { staticClass: "b-selection-card-group__items", class: o.conditionalItemsClasses }, e._l(e.items, function(a) {
|
|
206
201
|
return t(o.BentoSelectionCard, e._b({ key: `selection-card-${a.value}`, staticClass: "b-selection-card-group__item", attrs: { "model-value": o.inputValue, readonly: e.readonly || a.readonly, "has-error": o.shouldShowGroupError, disabled: e.disabled || a.disabled }, on: { "update:model-value": o.onInput }, scopedSlots: e._u([o.hasSlot("icon") && a.icon ? { key: "icon", fn: function() {
|
|
@@ -210,31 +205,31 @@ var pe = function() {
|
|
|
210
205
|
}, proxy: !0 } : null, o.hasSlot("dynamicContent") && a.dynamicContent ? { key: "dynamicContent", fn: function() {
|
|
211
206
|
return [e._t("dynamicContent", null, null, a)];
|
|
212
207
|
}, proxy: !0 } : null], null, !0) }, "bento-selection-card", a, !1));
|
|
213
|
-
}), 1) : [t("div", { key: `selection-card-group-layout-breakpoint-${o.currentBreakpoint}` }, e._l(o.computedRows, function(a,
|
|
214
|
-
return t(o.GridLayout, { key: `selection-card-group-row-${
|
|
208
|
+
}), 1) : [t("div", { key: `selection-card-group-layout-breakpoint-${o.currentBreakpoint}` }, e._l(o.computedRows, function(a, h) {
|
|
209
|
+
return t(o.GridLayout, { key: `selection-card-group-row-${h}-cols-${o.computedItemsPerRow}`, staticClass: "b-selection-card-group__items--wrap", attrs: { "column-width": o.computedColumnWidth }, scopedSlots: e._u([e._l(a, function(r, d) {
|
|
215
210
|
return { key: `col-${Number(d) + 1}`, fn: function() {
|
|
216
|
-
return [t(o.BentoSelectionCard, e._b({ key: `selection-card-${
|
|
217
|
-
return [e._t("icon", null, null,
|
|
218
|
-
}, proxy: !0 } : null, o.hasSlot("content") &&
|
|
219
|
-
return [e._t("content", null, null,
|
|
220
|
-
}, proxy: !0 } : null, o.hasSlot("dynamicContent") &&
|
|
221
|
-
return [e._t("dynamicContent", null, null,
|
|
222
|
-
}, proxy: !0 } : null], null, !0) }, "bento-selection-card",
|
|
211
|
+
return [t(o.BentoSelectionCard, e._b({ key: `selection-card-${r.value}`, staticClass: "b-selection-card-group__item b-selection-card-group__item--full-height", attrs: { "model-value": o.inputValue, readonly: e.readonly || r.readonly, "has-error": o.shouldShowGroupError, disabled: e.disabled || r.disabled }, on: { "update:model-value": o.onInput }, scopedSlots: e._u([o.hasSlot("icon") && r.icon ? { key: "icon", fn: function() {
|
|
212
|
+
return [e._t("icon", null, null, r)];
|
|
213
|
+
}, proxy: !0 } : null, o.hasSlot("content") && r.content ? { key: "content", fn: function() {
|
|
214
|
+
return [e._t("content", null, null, r)];
|
|
215
|
+
}, proxy: !0 } : null, o.hasSlot("dynamicContent") && r.dynamicContent ? { key: "dynamicContent", fn: function() {
|
|
216
|
+
return [e._t("dynamicContent", null, null, r)];
|
|
217
|
+
}, proxy: !0 } : null], null, !0) }, "bento-selection-card", r, !1))];
|
|
223
218
|
}, proxy: !0 };
|
|
224
219
|
})], null, !0) });
|
|
225
220
|
}), 1)], o.shouldShowGroupError ? t(o.ErrorMessage, { staticClass: "b-selection-card-group__error-message", attrs: { id: o.errorMessageId, "error-message": e.errorMessage } }) : e._e()], 2);
|
|
226
|
-
},
|
|
227
|
-
|
|
228
|
-
|
|
229
|
-
|
|
221
|
+
}, se = [], ie = /* @__PURE__ */ T(
|
|
222
|
+
ne,
|
|
223
|
+
re,
|
|
224
|
+
se,
|
|
230
225
|
!1,
|
|
231
226
|
null,
|
|
232
227
|
"f5ed58f5"
|
|
233
228
|
);
|
|
234
|
-
const
|
|
229
|
+
const Re = ie.exports;
|
|
235
230
|
export {
|
|
236
|
-
|
|
237
|
-
|
|
238
|
-
|
|
231
|
+
ae as B,
|
|
232
|
+
S as a,
|
|
233
|
+
Re as s
|
|
239
234
|
};
|
|
240
|
-
//# sourceMappingURL=selection-card-group.
|
|
235
|
+
//# sourceMappingURL=selection-card-group.BaK3Rt4K.js.map
|