@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,259 +0,0 @@
|
|
|
1
|
-
import { defineComponent as N, ref as p, provide as g, watch as x, nextTick as k, computed as m, unref as $, onUnmounted as A, toRefs as j, inject as B } from "vue";
|
|
2
|
-
import { B as G } from "./typography.C8lPlsbD.js";
|
|
3
|
-
import { B as J } from "./tag.BAyLm485.js";
|
|
4
|
-
import { C as U } from "./cross-circle-fill.DTDtgLMf.js";
|
|
5
|
-
import { u as z } from "./index.B6WW_F-J.js";
|
|
6
|
-
import { g as M } from "./generate-uid.NJ8tVoha.js";
|
|
7
|
-
import { T as R, a as O, E as q } from "./tabs.keys.B4qGhjp2.js";
|
|
8
|
-
import { F as H } from "./fixed-scroller.04EUUgD_.js";
|
|
9
|
-
import { n as S } from "./_plugin-vue2_normalizer.CeySl7Fu.js";
|
|
10
|
-
import "../assets/tab.css";
|
|
11
|
-
const F = (s, e) => {
|
|
12
|
-
const a = s === 0 ? e.length - 1 : s - 1, t = e[a];
|
|
13
|
-
return t.disabled || t.hidden ? F(a, e) : a;
|
|
14
|
-
}, D = (s, e) => {
|
|
15
|
-
const a = s === e.length - 1 ? 0 : s + 1, t = e[a];
|
|
16
|
-
return t.disabled || t.hidden ? D(a, e) : a;
|
|
17
|
-
}, Q = {
|
|
18
|
-
"de-DE": {
|
|
19
|
-
errorCount: "Fehler | Fehler"
|
|
20
|
-
},
|
|
21
|
-
"en-GB": {
|
|
22
|
-
errorCount: "error | errors"
|
|
23
|
-
},
|
|
24
|
-
"en-US": {
|
|
25
|
-
errorCount: "error | errors"
|
|
26
|
-
},
|
|
27
|
-
"es-419": {
|
|
28
|
-
errorCount: "error | errores"
|
|
29
|
-
},
|
|
30
|
-
"es-ES": {
|
|
31
|
-
errorCount: "error | errores"
|
|
32
|
-
},
|
|
33
|
-
"es-MX": {
|
|
34
|
-
errorCount: "error | errores"
|
|
35
|
-
},
|
|
36
|
-
"fr-FR": {
|
|
37
|
-
errorCount: "erreur | erreurs"
|
|
38
|
-
},
|
|
39
|
-
"it-IT": {
|
|
40
|
-
errorCount: "errore | errori"
|
|
41
|
-
},
|
|
42
|
-
"ja-JP": {
|
|
43
|
-
errorCount: "エラー | エラー"
|
|
44
|
-
},
|
|
45
|
-
"pt-BR": {
|
|
46
|
-
errorCount: "erro | erros"
|
|
47
|
-
},
|
|
48
|
-
"zh-CN": {
|
|
49
|
-
errorCount: "错误 | 错误"
|
|
50
|
-
}
|
|
51
|
-
};
|
|
52
|
-
var w = /* @__PURE__ */ ((s) => (s.ACTIVE_TAB_INDEX = "update:active-tab-index", s))(w || {});
|
|
53
|
-
const V = N({
|
|
54
|
-
i18n: { messages: Q },
|
|
55
|
-
components: {
|
|
56
|
-
BentoTag: J,
|
|
57
|
-
BentoTypography: G,
|
|
58
|
-
CrossCircleFillIcon: U,
|
|
59
|
-
FixedScroller: H
|
|
60
|
-
},
|
|
61
|
-
props: {
|
|
62
|
-
/**
|
|
63
|
-
* Sets the active tab by its index (0 being the first tab item).
|
|
64
|
-
*/
|
|
65
|
-
activeTabIndex: { type: Number, default: 0 },
|
|
66
|
-
/*
|
|
67
|
-
* Renders the tab with a sticky positioning.
|
|
68
|
-
*/
|
|
69
|
-
sticky: { type: Boolean, default: !1 },
|
|
70
|
-
/**
|
|
71
|
-
* Additional configurable options for tabs rendered with a sticky positioning.
|
|
72
|
-
* It must be an object of type {@see BentoStickyTabsOption}
|
|
73
|
-
* @property {Ref<number>} stickyOptions.top - Top position the tabs should take up when rendered as sticky.
|
|
74
|
-
*/
|
|
75
|
-
stickyOptions: { type: Object, default: null }
|
|
76
|
-
},
|
|
77
|
-
emits: [w.ACTIVE_TAB_INDEX],
|
|
78
|
-
setup(s, { emit: e }) {
|
|
79
|
-
const { tc: a } = z(), t = p([]), u = p(null), b = p(), l = p(""), n = p(!1);
|
|
80
|
-
let c;
|
|
81
|
-
g(R, l);
|
|
82
|
-
const _ = (r) => () => {
|
|
83
|
-
var o;
|
|
84
|
-
t.value = (o = t.value) == null ? void 0 : o.filter(({ id: i }) => i !== r);
|
|
85
|
-
};
|
|
86
|
-
g(O, ({
|
|
87
|
-
title: r,
|
|
88
|
-
disabled: o,
|
|
89
|
-
errorCounter: i,
|
|
90
|
-
withNotificationIndicator: f,
|
|
91
|
-
counter: h,
|
|
92
|
-
hidden: W,
|
|
93
|
-
setElementRef: Y
|
|
94
|
-
}) => {
|
|
95
|
-
const I = M("b-tab");
|
|
96
|
-
return t.value.push({
|
|
97
|
-
counter: h,
|
|
98
|
-
disabled: o,
|
|
99
|
-
errorCounter: i,
|
|
100
|
-
hidden: W,
|
|
101
|
-
id: I,
|
|
102
|
-
title: r,
|
|
103
|
-
withNotificationIndicator: f,
|
|
104
|
-
setElementRef: Y
|
|
105
|
-
}), { id: I, unregisterTab: _(I) };
|
|
106
|
-
});
|
|
107
|
-
const d = (r) => {
|
|
108
|
-
if (r.code === "ArrowLeft" || r.code === "ArrowRight") {
|
|
109
|
-
const o = t.value.find((f) => document.activeElement.id === f.id);
|
|
110
|
-
let i = t.value.indexOf(o);
|
|
111
|
-
r.code === "ArrowLeft" ? i = F(i, t.value) : r.code === "ArrowRight" && (i = D(i, t.value)), u.value.children[i].focus();
|
|
112
|
-
}
|
|
113
|
-
};
|
|
114
|
-
x(
|
|
115
|
-
[() => s.activeTabIndex, t],
|
|
116
|
-
([r, o]) => {
|
|
117
|
-
k(() => {
|
|
118
|
-
var f;
|
|
119
|
-
const i = o[r];
|
|
120
|
-
l.value = i && !i.disabled ? i.id : (f = t.value.find(({ disabled: h }) => !h)) == null ? void 0 : f.id;
|
|
121
|
-
});
|
|
122
|
-
},
|
|
123
|
-
{ immediate: !0 }
|
|
124
|
-
);
|
|
125
|
-
const C = (r) => {
|
|
126
|
-
l.value = r;
|
|
127
|
-
const o = t.value.findIndex(({ id: i }) => i === l.value);
|
|
128
|
-
e(w.ACTIVE_TAB_INDEX, o);
|
|
129
|
-
}, y = (r) => r ? "disabled" : !1, T = m(() => {
|
|
130
|
-
var r;
|
|
131
|
-
return (r = s.stickyOptions) != null && r.top ? $(s.stickyOptions.top) : 0;
|
|
132
|
-
}), P = m(() => s.sticky && T.value > 0 ? !0 : n.value), E = () => {
|
|
133
|
-
c && (c.disconnect(), c = null), n.value = !1;
|
|
134
|
-
}, K = (r) => {
|
|
135
|
-
s.sticky && T.value === 0 && (c = new IntersectionObserver(
|
|
136
|
-
([o]) => {
|
|
137
|
-
n.value = o.intersectionRatio < 1;
|
|
138
|
-
},
|
|
139
|
-
{ threshold: [1] }
|
|
140
|
-
), c.observe(r));
|
|
141
|
-
};
|
|
142
|
-
x(
|
|
143
|
-
[() => s.sticky, b, T],
|
|
144
|
-
([r, o]) => {
|
|
145
|
-
E(), r && o && k(() => K(o));
|
|
146
|
-
},
|
|
147
|
-
{ immediate: !0 }
|
|
148
|
-
), A(() => {
|
|
149
|
-
E();
|
|
150
|
-
});
|
|
151
|
-
const X = m(() => ({
|
|
152
|
-
"b-tabs__tab-list-wrapper--sticky": s.sticky,
|
|
153
|
-
"b-tabs__tab-list-wrapper--pinned": P.value
|
|
154
|
-
})), L = m(
|
|
155
|
-
() => {
|
|
156
|
-
var r;
|
|
157
|
-
return (
|
|
158
|
-
// This helps us detect when the tabs are pinned without calculations on the tabs positions because it makes the tabs intersect by 1 pixel with the element on top of it, which is getting aught by the intersection observer.
|
|
159
|
-
// Followed this example: https://css-tricks.com/how-to-detect-when-a-sticky-element-gets-pinned/
|
|
160
|
-
s.sticky ? {
|
|
161
|
-
top: `${(((r = s.stickyOptions) == null ? void 0 : r.top) ?? 0) - 1}px`
|
|
162
|
-
} : {}
|
|
163
|
-
);
|
|
164
|
-
}
|
|
165
|
-
);
|
|
166
|
-
return {
|
|
167
|
-
tc: a,
|
|
168
|
-
tabs: t,
|
|
169
|
-
tablist: u,
|
|
170
|
-
tablistwrapper: b,
|
|
171
|
-
activeTabId: l,
|
|
172
|
-
tablistWrapperConditionalClasses: X,
|
|
173
|
-
tablistWrapperStyles: L,
|
|
174
|
-
onKeydownTabsNavigation: d,
|
|
175
|
-
handleTabChange: C,
|
|
176
|
-
isDisabled: y
|
|
177
|
-
};
|
|
178
|
-
}
|
|
179
|
-
});
|
|
180
|
-
var Z = function() {
|
|
181
|
-
var e = this, a = e._self._c;
|
|
182
|
-
return e._self._setupProxy, a("div", { staticClass: "b-tabs" }, [a("div", { ref: "tablistwrapper", staticClass: "b-tabs__tab-list-wrapper", class: e.tablistWrapperConditionalClasses, style: e.tablistWrapperStyles }, [a("fixed-scroller", { attrs: { condensed: "", "extra-padding-top": 2 } }, [a("div", { ref: "tablist", staticClass: "b-tabs__tab-list", attrs: { role: "tablist" }, on: { keydown: e.onKeydownTabsNavigation } }, e._l(e.tabs, function({
|
|
183
|
-
counter: t,
|
|
184
|
-
disabled: u,
|
|
185
|
-
errorCounter: b,
|
|
186
|
-
hidden: l,
|
|
187
|
-
id: n,
|
|
188
|
-
title: c,
|
|
189
|
-
withNotificationIndicator: _,
|
|
190
|
-
setElementRef: v
|
|
191
|
-
}) {
|
|
192
|
-
return a("button", { directives: [{ name: "show", rawName: "v-show", value: !l, expression: "!hidden" }], key: n, ref: v, refInFor: !0, staticClass: "b-tabs__tab", class: {
|
|
193
|
-
"b-tabs__tab--active": e.activeTabId === n,
|
|
194
|
-
"b-tabs__tab--disabled": u
|
|
195
|
-
}, attrs: { id: n, role: "tab", type: "button", "aria-controls": `${n}-tabpanel`, "aria-hidden": l ? "true" : "false", "aria-selected": e.activeTabId === n ? "true" : "false", tabindex: e.activeTabId === n && !u.value ? null : -1, disabled: e.isDisabled(u) }, on: { click: function(d) {
|
|
196
|
-
return e.handleTabChange(n);
|
|
197
|
-
}, keydown: function(d) {
|
|
198
|
-
return !d.type.indexOf("key") && e._k(d.keyCode, "enter", 13, d.key, "Enter") && e._k(d.keyCode, "space", 32, d.key, [" ", "Spacebar"]) ? null : e.handleTabChange(n);
|
|
199
|
-
} } }, [a("span", { staticClass: "b-tabs__tab-text" }, [a("bento-typography", { staticClass: "b-tabs__tab-title", attrs: { el: "span", variant: "body", stronger: "" } }, [e._v(" " + e._s(c) + " ")]), t != null ? a("bento-typography", { staticClass: "b-tabs__tab-counter", class: {
|
|
200
|
-
"b-tabs__tab-counter--active": e.activeTabId === n
|
|
201
|
-
}, attrs: { el: "span", variant: "body", stronger: "" } }, [e._v(" " + e._s(t) + " ")]) : e._e(), b != null ? a("bento-tag", { staticClass: "b-tabs__tab-error-counter", attrs: { variant: "red" }, scopedSlots: e._u([{ key: "icon", fn: function() {
|
|
202
|
-
return [a("cross-circle-fill-icon", { attrs: { "aria-hidden": "true" } })];
|
|
203
|
-
}, proxy: !0 }], null, !0) }, [a("span", [e._v(e._s(b))]), a("span", { staticClass: "b-tabs__visually-hidden" }, [e._v(e._s(e.tc("errorCount", b)))])]) : e._e(), _ ? a("span", { staticClass: "b-tabs__tab-notification-dot", attrs: { "aria-hidden": "true" } }) : e._e()], 1), a("span", { directives: [{ name: "show", rawName: "v-show", value: e.activeTabId === n, expression: "activeTabId === id" }], staticClass: "b-tabs__tab-underline", attrs: { "aria-hidden": "true" } })]);
|
|
204
|
-
}), 0)])], 1), e._t("default")], 2);
|
|
205
|
-
}, ee = [], te = /* @__PURE__ */ S(
|
|
206
|
-
V,
|
|
207
|
-
Z,
|
|
208
|
-
ee,
|
|
209
|
-
!1,
|
|
210
|
-
null,
|
|
211
|
-
"c941b744"
|
|
212
|
-
);
|
|
213
|
-
const ve = te.exports, ae = {
|
|
214
|
-
name: "bento-tab"
|
|
215
|
-
}, re = /* @__PURE__ */ N({
|
|
216
|
-
...ae,
|
|
217
|
-
props: {
|
|
218
|
-
counter: { default: null },
|
|
219
|
-
disabled: { type: Boolean, default: !1 },
|
|
220
|
-
errorCounter: { default: null },
|
|
221
|
-
hidden: { type: Boolean, default: !1 },
|
|
222
|
-
title: null,
|
|
223
|
-
withNotificationIndicator: { type: Boolean, default: !1 },
|
|
224
|
-
setElementRef: { type: Function, default: void 0 }
|
|
225
|
-
},
|
|
226
|
-
setup(s) {
|
|
227
|
-
const e = s, { counter: a, disabled: t, errorCounter: u, hidden: b, withNotificationIndicator: l } = j(e), n = p(), c = (T) => {
|
|
228
|
-
n.value = T;
|
|
229
|
-
};
|
|
230
|
-
g(q, c);
|
|
231
|
-
const _ = m(() => n.value ?? e.title), v = B(O), d = B(R), { id: C, unregisterTab: y } = v({
|
|
232
|
-
counter: a,
|
|
233
|
-
disabled: t,
|
|
234
|
-
errorCounter: u,
|
|
235
|
-
hidden: b,
|
|
236
|
-
title: _,
|
|
237
|
-
withNotificationIndicator: l,
|
|
238
|
-
setElementRef: e.setElementRef
|
|
239
|
-
});
|
|
240
|
-
return A(() => y()), { __sfc: !0, props: e, counter: a, disabled: t, errorCounter: u, hidden: b, withNotificationIndicator: l, componentTitle: n, setTitle: c, computedTitle: _, registerTab: v, activeTabId: d, id: C, unregisterTab: y };
|
|
241
|
-
}
|
|
242
|
-
});
|
|
243
|
-
var se = function() {
|
|
244
|
-
var e = this, a = e._self._c, t = e._self._setupProxy;
|
|
245
|
-
return a("div", { directives: [{ name: "show", rawName: "v-show", value: t.activeTabId === t.id, expression: "activeTabId === id" }], staticClass: "b-tab", attrs: { id: `${t.id}-tabpanel`, role: "tabpanel", "aria-labelledby": t.id } }, [t.activeTabId === t.id ? [e._t("default")] : e._e()], 2);
|
|
246
|
-
}, ne = [], oe = /* @__PURE__ */ S(
|
|
247
|
-
re,
|
|
248
|
-
se,
|
|
249
|
-
ne,
|
|
250
|
-
!1,
|
|
251
|
-
null,
|
|
252
|
-
"95343e8e"
|
|
253
|
-
);
|
|
254
|
-
const Te = oe.exports;
|
|
255
|
-
export {
|
|
256
|
-
Te as B,
|
|
257
|
-
ve as a
|
|
258
|
-
};
|
|
259
|
-
//# sourceMappingURL=tab.N0xGWsfO.js.map
|
|
@@ -1,129 +0,0 @@
|
|
|
1
|
-
import { defineComponent as m, computed as l } from "vue";
|
|
2
|
-
import { B as p } from "./typography.C8lPlsbD.js";
|
|
3
|
-
import { g as T } from "./generate-uid.NJ8tVoha.js";
|
|
4
|
-
import { u as x, g as v, s as S, a as y } from "./scroll-to-section.CC5g-HBX.js";
|
|
5
|
-
import { u as C } from "./utils.BzUwtTXc.js";
|
|
6
|
-
import { u as P } from "./index.B6WW_F-J.js";
|
|
7
|
-
import { n as g } from "./_plugin-vue2_normalizer.CeySl7Fu.js";
|
|
8
|
-
import "../assets/table-of-contents.css";
|
|
9
|
-
var b = /* @__PURE__ */ ((c) => (c.ACTIVE = "active", c))(b || {});
|
|
10
|
-
const R = /* @__PURE__ */ m({
|
|
11
|
-
__name: "table-of-contents-list",
|
|
12
|
-
props: {
|
|
13
|
-
activeSectionHref: { default: void 0 },
|
|
14
|
-
initialFocusIndex: { default: -1 },
|
|
15
|
-
items: null,
|
|
16
|
-
scrollOffset: { default: void 0 }
|
|
17
|
-
},
|
|
18
|
-
setup(c) {
|
|
19
|
-
const e = c, n = (s) => v(s), t = (s) => n(s) ?? "#", a = (s) => !!e.activeSectionHref && n(s.elementRef) === e.activeSectionHref, r = (s) => ({
|
|
20
|
-
[`b-table-of-contents__item--${b.ACTIVE}`]: a(s),
|
|
21
|
-
[`b-table-of-contents__item--level-${Math.min(Math.max(s.level ?? 1, 1), 4)}`]: !0
|
|
22
|
-
}), i = (s) => S(s, {
|
|
23
|
-
scrollOffset: e.scrollOffset,
|
|
24
|
-
updateHash: !0,
|
|
25
|
-
warningPrefix: "bento-table-of-contents"
|
|
26
|
-
}), { isFocusable: d, navigationItemRefs: f, onKeydownNavigation: u } = x(
|
|
27
|
-
l(() => e.items),
|
|
28
|
-
{
|
|
29
|
-
initialIndex: l(() => e.initialFocusIndex)
|
|
30
|
-
}
|
|
31
|
-
);
|
|
32
|
-
return { __sfc: !0, props: e, getSectionFragmentHref: n, getSectionHref: t, isActiveItem: a, getItemClasses: r, onScrollToSection: i, isFocusable: d, navigationItemRefs: f, onKeydownNavigation: u, BentoTypography: p };
|
|
33
|
-
}
|
|
34
|
-
});
|
|
35
|
-
var F = function() {
|
|
36
|
-
var e = this, n = e._self._c, t = e._self._setupProxy;
|
|
37
|
-
return n("ol", { staticClass: "b-table-of-contents__toc", on: { keydown: t.onKeydownNavigation } }, e._l(e.items, function(a, r) {
|
|
38
|
-
return n("li", { key: r, staticClass: "b-table-of-contents__item", class: t.getItemClasses(a) }, [n("a", { ref: "navigationItemRefs", refInFor: !0, staticClass: "b-table-of-contents__item-title", attrs: { href: t.getSectionHref(a.elementRef), "aria-current": t.isActiveItem(a) ? "location" : void 0, tabindex: t.isFocusable(r) ? null : -1 }, on: { click: function(i) {
|
|
39
|
-
return i.preventDefault(), t.onScrollToSection(a.elementRef);
|
|
40
|
-
}, keydown: function(i) {
|
|
41
|
-
return !i.type.indexOf("key") && e._k(i.keyCode, "enter", 13, i.key, "Enter") ? null : (i.preventDefault(), t.onScrollToSection(a.elementRef));
|
|
42
|
-
} } }, [n(t.BentoTypography, { staticClass: "b-table-of-contents__item-label", attrs: { el: "span", variant: "body", stronger: "" } }, [e._v(e._s(a.title))])], 1), r !== e.items.length - 1 ? n("div", { staticClass: "b-table-of-contents__item-separator" }) : e._e()]);
|
|
43
|
-
}), 0);
|
|
44
|
-
}, H = [], O = /* @__PURE__ */ g(
|
|
45
|
-
R,
|
|
46
|
-
F,
|
|
47
|
-
H,
|
|
48
|
-
!1,
|
|
49
|
-
null,
|
|
50
|
-
"daeebeb1"
|
|
51
|
-
);
|
|
52
|
-
const E = O.exports, A = {
|
|
53
|
-
"de-DE": {
|
|
54
|
-
onThisPage: "Auf dieser Seite"
|
|
55
|
-
},
|
|
56
|
-
"en-GB": {
|
|
57
|
-
onThisPage: "On this page"
|
|
58
|
-
},
|
|
59
|
-
"en-US": {
|
|
60
|
-
onThisPage: "On this page"
|
|
61
|
-
},
|
|
62
|
-
"es-419": {
|
|
63
|
-
onThisPage: "En esta página"
|
|
64
|
-
},
|
|
65
|
-
"es-ES": {
|
|
66
|
-
onThisPage: "En esta página"
|
|
67
|
-
},
|
|
68
|
-
"fr-FR": {
|
|
69
|
-
onThisPage: "Sur cette page"
|
|
70
|
-
},
|
|
71
|
-
"it-IT": {
|
|
72
|
-
onThisPage: "In questa pagina"
|
|
73
|
-
},
|
|
74
|
-
"ja-JP": {
|
|
75
|
-
onThisPage: "このページで"
|
|
76
|
-
},
|
|
77
|
-
"pt-BR": {
|
|
78
|
-
onThisPage: "Nesta página"
|
|
79
|
-
},
|
|
80
|
-
"zh-CN": {
|
|
81
|
-
onThisPage: "在此页面"
|
|
82
|
-
}
|
|
83
|
-
}, k = {
|
|
84
|
-
name: "bento-table-of-contents",
|
|
85
|
-
i18n: { messages: A }
|
|
86
|
-
}, B = /* @__PURE__ */ m({
|
|
87
|
-
...k,
|
|
88
|
-
props: {
|
|
89
|
-
items: null,
|
|
90
|
-
activeIndex: { default: void 0 },
|
|
91
|
-
scrollOffset: { default: void 0 },
|
|
92
|
-
title: { default: void 0 }
|
|
93
|
-
},
|
|
94
|
-
setup(c) {
|
|
95
|
-
const e = c, { t: n } = P(), t = T("table-of-contents-title"), a = l(() => e.title ?? n("onThisPage")), r = l(
|
|
96
|
-
() => e.items.map((o, h) => ({
|
|
97
|
-
element: C(o.elementRef),
|
|
98
|
-
originalIndex: h
|
|
99
|
-
})).filter((o) => !!o.element)
|
|
100
|
-
), i = l(() => r.value.map((o) => o.element)), d = l(() => e.activeIndex ?? -1), f = l(
|
|
101
|
-
() => e.activeIndex === void 0 ? -1 : r.value.findIndex(({ originalIndex: o }) => o === e.activeIndex)
|
|
102
|
-
), u = (o) => v(o), { activeIndex: s } = y(i, {
|
|
103
|
-
default: f
|
|
104
|
-
}), _ = l(() => {
|
|
105
|
-
var o;
|
|
106
|
-
return e.activeIndex !== void 0 ? e.activeIndex : ((o = r.value[s.value]) == null ? void 0 : o.originalIndex) ?? -1;
|
|
107
|
-
}), I = l(() => {
|
|
108
|
-
var o;
|
|
109
|
-
return u((o = e.items[_.value]) == null ? void 0 : o.elementRef);
|
|
110
|
-
});
|
|
111
|
-
return { __sfc: !0, t: n, props: e, titleId: t, computedTitle: a, resolvedItems: r, sectionTargetElements: i, controlledActiveIndex: d, scrollSpyDefaultIndex: f, getSectionFragmentHref: u, scrollSpyActiveIndex: s, currentActiveIndex: _, activeSectionHref: I, BentoTypography: p, TableOfContentsList: E };
|
|
112
|
-
}
|
|
113
|
-
});
|
|
114
|
-
var w = function() {
|
|
115
|
-
var e = this, n = e._self._c, t = e._self._setupProxy;
|
|
116
|
-
return n("nav", { staticClass: "b-table-of-contents", attrs: { "aria-labelledby": t.titleId } }, [n(t.BentoTypography, { staticClass: "b-table-of-contents__header", attrs: { id: t.titleId, el: "h2", variant: "body", stronger: "" } }, [e._v(e._s(t.computedTitle))]), n(t.TableOfContentsList, { attrs: { items: e.items, "active-section-href": t.activeSectionHref, "initial-focus-index": t.controlledActiveIndex, "scroll-offset": e.scrollOffset } })], 1);
|
|
117
|
-
}, N = [], D = /* @__PURE__ */ g(
|
|
118
|
-
B,
|
|
119
|
-
w,
|
|
120
|
-
N,
|
|
121
|
-
!1,
|
|
122
|
-
null,
|
|
123
|
-
"325b3a45"
|
|
124
|
-
);
|
|
125
|
-
const j = D.exports;
|
|
126
|
-
export {
|
|
127
|
-
j as t
|
|
128
|
-
};
|
|
129
|
-
//# sourceMappingURL=table-of-contents.Cf-IrdZl.js.map
|
|
@@ -1,224 +0,0 @@
|
|
|
1
|
-
import { defineComponent as se, useAttrs as ne, toRefs as S, ref as c, toRef as ie, computed as i, watch as M, nextTick as ce, onMounted as ue, onUnmounted as de } from "vue";
|
|
2
|
-
import { B as pe } from "./button.CKS_V3p5.js";
|
|
3
|
-
import { d as me, B as xe } from "./typography.C8lPlsbD.js";
|
|
4
|
-
import { C as fe } from "./cross-circle-fill-small.DfxDedRr.js";
|
|
5
|
-
import { g as he } from "./generate-uid.NJ8tVoha.js";
|
|
6
|
-
import { o as w } from "./resize.Bqks3WUm.js";
|
|
7
|
-
import { u as be } from "./aria-label.CaUURpnB.js";
|
|
8
|
-
import { u as ye } from "./index.B6WW_F-J.js";
|
|
9
|
-
import { u as _e } from "./form-field.D_2g7vaP.js";
|
|
10
|
-
import { u as ve } from "./use-form-layout-loading.CWbjZiwP.js";
|
|
11
|
-
import { b as Ce } from "./es6.Cu3DYUPA.js";
|
|
12
|
-
import { F as ge } from "./field-label.DjJ7wdFi.js";
|
|
13
|
-
import { E as Le } from "./error-message.Hqp_VvD3.js";
|
|
14
|
-
import { n as Ee } from "./_plugin-vue2_normalizer.CeySl7Fu.js";
|
|
15
|
-
import "../assets/textarea.css";
|
|
16
|
-
var p = /* @__PURE__ */ ((r) => (r.CLEARABLE = "clearable", r.DISABLED = "disabled", r.ERROR = "error", r.READONLY = "readonly", r))(p || {}), u = /* @__PURE__ */ ((r) => (r.BLUR = "blur", r.CHANGE = "change", r.CLEAR = "clear", r.ESCAPE_PRESSED = "escape-pressed", r.FOCUS = "focus", r.INPUT = "input", r.UPDATE_MODEL_VALUE = "update:model-value", r.KEYDOWN = "keydown", r.KEYUP = "keyup", r))(u || {});
|
|
17
|
-
const Te = {
|
|
18
|
-
"de-DE": {
|
|
19
|
-
clearText: "Text löschen",
|
|
20
|
-
textarea: "textarea",
|
|
21
|
-
yourTextCanBenAtMost: "Ihr Text darf maximal {characterLimit} Zeichen lang sein."
|
|
22
|
-
},
|
|
23
|
-
"en-GB": {
|
|
24
|
-
clearText: "Clear text",
|
|
25
|
-
textarea: "textarea",
|
|
26
|
-
yourTextCanBenAtMost: "Your text can be at most {characterLimit} characters"
|
|
27
|
-
},
|
|
28
|
-
"en-US": {
|
|
29
|
-
clearText: "Clear text",
|
|
30
|
-
textarea: "textarea",
|
|
31
|
-
yourTextCanBenAtMost: "Your text can be at most {characterLimit} characters"
|
|
32
|
-
},
|
|
33
|
-
"es-419": {
|
|
34
|
-
clearText: "Borrar texto",
|
|
35
|
-
textarea: "área de texto",
|
|
36
|
-
yourTextCanBenAtMost: "Tu texto puede tener como máximo {characterLimit} caracteres"
|
|
37
|
-
},
|
|
38
|
-
"es-ES": {
|
|
39
|
-
clearText: "Texto claro",
|
|
40
|
-
textarea: "textarea",
|
|
41
|
-
yourTextCanBenAtMost: "El texto puede tener como máximo {characterLimit} caracteres"
|
|
42
|
-
},
|
|
43
|
-
"es-MX": {
|
|
44
|
-
clearText: "Borrar texto",
|
|
45
|
-
textarea: "textearea",
|
|
46
|
-
yourTextCanBenAtMost: "Tu texto puede tener como máximo {characterLimit} caracteres"
|
|
47
|
-
},
|
|
48
|
-
"fr-FR": {
|
|
49
|
-
clearText: "Effacer le texte",
|
|
50
|
-
textarea: "zone de texte",
|
|
51
|
-
yourTextCanBenAtMost: "Votre texte ne doit pas dépasser {characterLimit} caractères"
|
|
52
|
-
},
|
|
53
|
-
"it-IT": {
|
|
54
|
-
clearText: "Cancella testo",
|
|
55
|
-
textarea: "area del testo",
|
|
56
|
-
yourTextCanBenAtMost: "Il tuo testo può contenere al massimo {characterLimit} caratteri"
|
|
57
|
-
},
|
|
58
|
-
"ja-JP": {
|
|
59
|
-
clearText: "Clear text",
|
|
60
|
-
textarea: "textarea",
|
|
61
|
-
yourTextCanBenAtMost: "Your text can be at most {characterLimit} characters"
|
|
62
|
-
},
|
|
63
|
-
"pt-BR": {
|
|
64
|
-
clearText: "Clear text",
|
|
65
|
-
textarea: "textarea",
|
|
66
|
-
yourTextCanBenAtMost: "Your text can be at most {characterLimit} characters"
|
|
67
|
-
},
|
|
68
|
-
"zh-CN": {
|
|
69
|
-
clearText: "清除文本",
|
|
70
|
-
textarea: "textarea",
|
|
71
|
-
yourTextCanBenAtMost: "您的文本最多可以包含 {characterLimit} 个字符"
|
|
72
|
-
}
|
|
73
|
-
}, H = parseFloat(Ce), Be = {
|
|
74
|
-
i18n: { messages: Te },
|
|
75
|
-
name: "bento-textarea",
|
|
76
|
-
model: { prop: "modelValue" }
|
|
77
|
-
}, Ae = /* @__PURE__ */ se({
|
|
78
|
-
...Be,
|
|
79
|
-
props: {
|
|
80
|
-
description: { default: "" },
|
|
81
|
-
disabled: { type: Boolean, default: !1 },
|
|
82
|
-
errorMessage: { default: "" },
|
|
83
|
-
label: { default: "" },
|
|
84
|
-
optional: { type: Boolean, default: !1 },
|
|
85
|
-
placeholder: { default: "" },
|
|
86
|
-
readonly: { type: Boolean, default: !1 },
|
|
87
|
-
required: { type: Boolean, default: !1 },
|
|
88
|
-
tooltipText: { default: null },
|
|
89
|
-
ariaLabel: { default: void 0 },
|
|
90
|
-
characterLimit: { default: void 0 },
|
|
91
|
-
clearable: { type: Boolean, default: !1 },
|
|
92
|
-
height: { default: null },
|
|
93
|
-
resizable: { default: "both" },
|
|
94
|
-
value: { default: "" },
|
|
95
|
-
modelValue: { default: "" }
|
|
96
|
-
},
|
|
97
|
-
emits: [],
|
|
98
|
-
setup(r, { expose: t, emit: a }) {
|
|
99
|
-
const e = r, l = ne(), { height: y } = S(e), W = he("textarea"), s = c(null), m = c(null), n = c(e.modelValue || e.value), d = 44, x = c(e.height || `${d}px`), L = c(0), E = c("100%"), _ = c(!1);
|
|
100
|
-
let f = null, h = null;
|
|
101
|
-
const { t: I, n: T } = ye(), { isReadOnly: v } = ve(ie(e, "readonly")), { emitValue: B } = _e(a), Y = i(() => {
|
|
102
|
-
var o;
|
|
103
|
-
return `${T(((o = n == null ? void 0 : n.value) == null ? void 0 : o.length) ?? 0)} / ${T(e.characterLimit)}`;
|
|
104
|
-
}), b = i(() => !y.value), A = i(
|
|
105
|
-
() => e.characterLimit && n.value.length > e.characterLimit
|
|
106
|
-
), C = () => {
|
|
107
|
-
if (s.value) {
|
|
108
|
-
const o = Math.max(
|
|
109
|
-
s.value.scrollHeight <= d ? d : s.value.scrollHeight + H * 2,
|
|
110
|
-
L.value,
|
|
111
|
-
d
|
|
112
|
-
);
|
|
113
|
-
x.value = `${o}px`;
|
|
114
|
-
}
|
|
115
|
-
};
|
|
116
|
-
M(y, () => {
|
|
117
|
-
b.value ? C() : x.value = y.value;
|
|
118
|
-
}), M(
|
|
119
|
-
() => [e.value, e.modelValue],
|
|
120
|
-
() => {
|
|
121
|
-
n.value = e.modelValue || e.value;
|
|
122
|
-
},
|
|
123
|
-
{ immediate: !0 }
|
|
124
|
-
), M(
|
|
125
|
-
() => n.value,
|
|
126
|
-
async () => {
|
|
127
|
-
if (b.value) {
|
|
128
|
-
if (x.value = `${d}px`, !n.value)
|
|
129
|
-
return;
|
|
130
|
-
await ce(), C();
|
|
131
|
-
}
|
|
132
|
-
},
|
|
133
|
-
{ immediate: !0 }
|
|
134
|
-
);
|
|
135
|
-
const k = i(() => !!e.errorMessage || A.value), z = i(() => ({
|
|
136
|
-
[`b-textarea--${p.DISABLED}`]: e.disabled
|
|
137
|
-
})), K = i(() => ({
|
|
138
|
-
[`b-textarea__input--${p.CLEARABLE}`]: e.clearable,
|
|
139
|
-
[`b-textarea__input--${p.READONLY}`]: v.value,
|
|
140
|
-
[`b-textarea__input--${p.ERROR}`]: k.value,
|
|
141
|
-
"b-textarea__input--dynamic-height": b.value
|
|
142
|
-
})), N = i(() => ({
|
|
143
|
-
"b-textarea__label-box--no-label": !e.label
|
|
144
|
-
})), V = i(() => ({
|
|
145
|
-
[`b-textarea__label-item--${p.ERROR}`]: A.value
|
|
146
|
-
})), q = i(() => I("yourTextCanBenAtMost", { characterLimit: e.characterLimit })), D = c(l["aria-label"]), { ariaLabel: U, label: F } = S(e), $ = be({
|
|
147
|
-
ariaLabel: D.value,
|
|
148
|
-
// TODO: take this line away when the aria-label props is removed
|
|
149
|
-
label: U,
|
|
150
|
-
defaultFallback: F
|
|
151
|
-
}), G = i(
|
|
152
|
-
() => e.clearable && n.value && !e.disabled && !v.value
|
|
153
|
-
), X = () => {
|
|
154
|
-
n.value = "", a(u.CLEAR), B("");
|
|
155
|
-
}, j = (o) => {
|
|
156
|
-
o.stopImmediatePropagation(), !e.disabled && !v.value && (n.value = o.target.value, B(n.value));
|
|
157
|
-
}, J = () => {
|
|
158
|
-
s.value.scrollTop = 0, a(u.BLUR);
|
|
159
|
-
}, Z = () => {
|
|
160
|
-
s.value.focus(), a(u.FOCUS);
|
|
161
|
-
}, Q = () => {
|
|
162
|
-
a(u.CHANGE);
|
|
163
|
-
}, ee = () => {
|
|
164
|
-
a(u.ESCAPE_PRESSED);
|
|
165
|
-
}, te = (o) => {
|
|
166
|
-
o.stopPropagation(), a(u.KEYDOWN, o);
|
|
167
|
-
}, ae = (o) => {
|
|
168
|
-
o.stopPropagation(), a(u.KEYUP, o);
|
|
169
|
-
}, re = () => {
|
|
170
|
-
_.value = !0;
|
|
171
|
-
}, oe = () => {
|
|
172
|
-
_.value = !1;
|
|
173
|
-
}, R = (o = !1) => {
|
|
174
|
-
var P;
|
|
175
|
-
const g = s.value.style.width;
|
|
176
|
-
if (s.value.style.height && (_.value && (L.value = parseInt(s.value.style.height, 10)), x.value = s.value.style.height), o && !g)
|
|
177
|
-
return;
|
|
178
|
-
const le = (P = m == null ? void 0 : m.value) == null ? void 0 : P.offsetWidth;
|
|
179
|
-
!g || parseInt(g, 10) > le ? E.value = "100%" : E.value = g;
|
|
180
|
-
}, O = () => {
|
|
181
|
-
s.value.focus();
|
|
182
|
-
};
|
|
183
|
-
return t({
|
|
184
|
-
focus: O
|
|
185
|
-
}), ue(() => {
|
|
186
|
-
f = w(s.value, () => {
|
|
187
|
-
R(!0);
|
|
188
|
-
}), h = w(m.value, () => {
|
|
189
|
-
R();
|
|
190
|
-
}), b.value && C(), e.value && me(
|
|
191
|
-
'BentoTextarea "value" property',
|
|
192
|
-
`The use of "value" prop in "BentoTextarea" is no longer supported.
|
|
193
|
-
Use the "v-model" or "model-value" property instead.`,
|
|
194
|
-
"2.0.0"
|
|
195
|
-
);
|
|
196
|
-
}), de(() => {
|
|
197
|
-
f == null || f.disconnect(), h == null || h.disconnect();
|
|
198
|
-
}), { __sfc: !0, TEXTAREA_BORDER_WIDTH: H, attrs: l, props: e, emit: a, height: y, textareaId: W, textareaElement: s, textareaComponent: m, textareaValue: n, defaultTextareaHeight: d, textareaHeight: x, userSetHeight: L, textareaWrapperWidth: E, isUserResizing: _, textareaElementObserver: f, textareaComponentObserver: h, t: I, n: T, isReadOnly: v, emitValue: B, counter: Y, isDynamicHeight: b, isOverCharacterLimit: A, calculateHeight: C, invalidInput: k, conditionalClasses: z, conditionalClassesInput: K, conditionalClassesLabelBox: N, conditionalClassesLabelItem: V, counterErrorText: q, ariaLabelAttribute: D, ariaLabel: U, label: F, computedAriaLabel: $, showClearButton: G, onClear: X, onInput: j, onBlur: J, onFocus: Z, onChange: Q, onPressEscape: ee, onKeyDown: te, onKeyUp: ae, onMouseDown: re, onMouseUp: oe, resizeTextareaWrapper: R, focus: O, BentoButton: pe, BentoTypography: xe, ErrorMessage: Le, FieldLabel: ge, CrossCircleFillSmallIcon: fe };
|
|
199
|
-
}
|
|
200
|
-
});
|
|
201
|
-
var Re = function() {
|
|
202
|
-
var t = this, a = t._self._c, e = t._self._setupProxy;
|
|
203
|
-
return a("div", { ref: "textareaComponent", staticClass: "b-textarea", class: e.conditionalClasses }, [a("div", { style: { width: e.textareaWrapperWidth } }, [a("div", { staticClass: "b-textarea__label-box", class: e.conditionalClassesLabelBox }, [e.label ? a(e.FieldLabel, { attrs: { for: e.textareaId, label: e.label, "tooltip-text": t.tooltipText, optional: t.optional, required: t.required } }) : t._e(), t.characterLimit ? a(e.BentoTypography, { staticClass: "b-textarea__label-item", class: e.conditionalClassesLabelItem, attrs: { el: "span" } }, [t._v(" " + t._s(e.counter) + " ")]) : t._e()], 1), a(e.BentoTypography, { staticClass: "b-textarea__input-box", attrs: { el: "div", "aria-disabled": t.disabled } }, [a("textarea", { ref: "textareaElement", staticClass: "b-textarea__input", class: e.conditionalClassesInput, style: { resize: t.resizable, height: e.textareaHeight }, attrs: { id: e.textareaId, "aria-label": e.computedAriaLabel, "aria-invalid": e.invalidInput, readonly: e.isReadOnly, required: t.required, "aria-required": t.required, disabled: t.disabled, placeholder: t.placeholder }, domProps: { value: e.textareaValue }, on: { blur: e.onBlur, change: e.onChange, focus: e.onFocus, input: e.onInput, keydown: [function(l) {
|
|
204
|
-
return !l.type.indexOf("key") && t._k(l.keyCode, "esc", 27, l.key, ["Esc", "Escape"]) ? null : e.onPressEscape.apply(null, arguments);
|
|
205
|
-
}, e.onKeyDown], keyup: e.onKeyUp, mousedown: e.onMouseDown, mouseup: e.onMouseUp } }), e.showClearButton ? a("div", { staticClass: "b-textarea__clear-button" }, [a(e.BentoButton, { attrs: { variant: "tertiary", disabled: t.disabled }, on: { click: e.onClear, keypress: function(l) {
|
|
206
|
-
return !l.type.indexOf("key") && t._k(l.keyCode, "enter", 13, l.key, "Enter") ? null : e.onClear.apply(null, arguments);
|
|
207
|
-
}, keyup: function(l) {
|
|
208
|
-
return !l.type.indexOf("key") && t._k(l.keyCode, "space", 32, l.key, [" ", "Spacebar"]) ? null : e.onClear.apply(null, arguments);
|
|
209
|
-
} }, scopedSlots: t._u([{ key: "iconLeft", fn: function() {
|
|
210
|
-
return [a(e.CrossCircleFillSmallIcon, { attrs: { "svg-title": e.t("clearText") } })];
|
|
211
|
-
}, proxy: !0 }], null, !1, 3119266621) })], 1) : t._e()]), e.isOverCharacterLimit ? a(e.ErrorMessage, { attrs: { "error-message": e.counterErrorText } }) : t._e(), t.errorMessage ? a(e.ErrorMessage, { attrs: { "error-message": t.errorMessage } }) : t._e(), t.description ? a(e.BentoTypography, { staticClass: "b-textarea__description", attrs: { el: "span" } }, [t._v(" " + t._s(t.description) + " ")]) : t._e()], 1)]);
|
|
212
|
-
}, Me = [], Ie = /* @__PURE__ */ Ee(
|
|
213
|
-
Ae,
|
|
214
|
-
Re,
|
|
215
|
-
Me,
|
|
216
|
-
!1,
|
|
217
|
-
null,
|
|
218
|
-
"a10ed22b"
|
|
219
|
-
);
|
|
220
|
-
const Ve = Ie.exports;
|
|
221
|
-
export {
|
|
222
|
-
Ve as B
|
|
223
|
-
};
|
|
224
|
-
//# sourceMappingURL=textarea.BDRR1zE0.js.map
|