@adyen/bento-vue2 2.0.0-rc.5 → 2.0.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/README.md +0 -38
- package/dist/@types/index.d.ts +148 -56
- 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-tag.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/calendar.css +1 -1
- package/dist/assets/card.css +1 -1
- package/dist/assets/checkbox-group.css +1 -1
- package/dist/assets/checkbox.css +1 -1
- package/dist/assets/code-snippet.css +1 -1
- package/dist/assets/data-grid-template.css +1 -1
- package/dist/assets/data-grid.css +1 -1
- package/dist/assets/date-picker.css +1 -1
- package/dist/assets/date-range-picker.css +1 -1
- package/dist/assets/dialog-page.css +1 -1
- package/dist/assets/drawer.css +1 -1
- package/dist/assets/dropdown.css +1 -1
- package/dist/assets/file-uploader.css +1 -1
- package/dist/assets/filter-bar.css +1 -1
- package/dist/assets/header-with-views.css +1 -1
- package/dist/assets/header.css +1 -1
- package/dist/assets/info-icon-with-popover.css +1 -0
- package/dist/assets/input-field-password.css +1 -1
- package/dist/assets/input-field.css +1 -1
- package/dist/assets/inspector.css +1 -1
- package/dist/assets/link.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/popper-container.css +1 -1
- package/dist/assets/progress-bar.css +1 -1
- package/dist/assets/promo-banner.css +1 -1
- package/dist/assets/radio-group.css +1 -1
- package/dist/assets/rich-text-editor.css +1 -1
- package/dist/assets/secondary-nav.css +1 -1
- package/dist/assets/segmented-control.css +1 -1
- package/dist/assets/selection-card-group.css +1 -1
- package/dist/assets/sidepanel.css +1 -1
- package/dist/assets/tab.css +1 -1
- package/dist/assets/table-of-contents.css +1 -1
- package/dist/assets/tag.css +1 -1
- package/dist/assets/textarea.css +1 -1
- package/dist/assets/timeline-item.css +1 -1
- package/dist/assets/title-details.css +1 -0
- package/dist/assets/toggle.css +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.V3zpgTzM.js → accordion-item.DOj7vqeL.js} +2 -2
- package/dist/chunks/accordion-item.DOj7vqeL.js.map +1 -0
- package/dist/chunks/{action-bar.Br6mamx3.js → action-bar.BsXW7BI2.js} +77 -67
- package/dist/chunks/action-bar.BsXW7BI2.js.map +1 -0
- package/dist/chunks/{ai-button.CeT3y12R.js → ai-button.BnFk5CzK.js} +2 -2
- package/dist/chunks/{ai-button.CeT3y12R.js.map → ai-button.BnFk5CzK.js.map} +1 -1
- package/dist/chunks/{ai-tag.DtngkeLj.js → ai-tag.D2Q0xhFK.js} +3 -3
- package/dist/chunks/ai-tag.D2Q0xhFK.js.map +1 -0
- package/dist/chunks/{alert.DrGpzkQI.js → alert.DJDHwVeR.js} +2 -2
- package/dist/chunks/{alert.DrGpzkQI.js.map → alert.DJDHwVeR.js.map} +1 -1
- package/dist/chunks/{anchor-scroller.DT7QZd5b.js → anchor-scroller.BbvghQxZ.js} +8 -8
- package/dist/chunks/anchor-scroller.BbvghQxZ.js.map +1 -0
- package/dist/chunks/{base-button.edpjvY15.js → base-button.DOhHyU7x.js} +2 -2
- package/dist/chunks/{base-button.edpjvY15.js.map → base-button.DOhHyU7x.js.map} +1 -1
- package/dist/chunks/{base-modal.DsqIEM0p.js → base-modal.CcmoTJdc.js} +90 -82
- package/dist/chunks/base-modal.CcmoTJdc.js.map +1 -0
- package/dist/chunks/{button-actions-with-menu.BBuKZYuH.js → button-actions-with-menu.BY394ars.js} +2 -2
- package/dist/chunks/{button-actions-with-menu.BBuKZYuH.js.map → button-actions-with-menu.BY394ars.js.map} +1 -1
- package/dist/chunks/{button-actions.CFOxzahr.js → button-actions.bkcLUE1G.js} +51 -50
- package/dist/chunks/button-actions.bkcLUE1G.js.map +1 -0
- package/dist/chunks/{button.CBqJGWy5.js → button.DII5Ifwa.js} +2 -2
- package/dist/chunks/{button.CBqJGWy5.js.map → button.DII5Ifwa.js.map} +1 -1
- package/dist/chunks/{calendar.Bi7oa397.js → calendar.CXdLEeN4.js} +8 -8
- package/dist/chunks/calendar.CXdLEeN4.js.map +1 -0
- package/dist/chunks/card.b9PEJ7hm.js +139 -0
- package/dist/chunks/card.b9PEJ7hm.js.map +1 -0
- package/dist/chunks/{checkbox-group.FlQJn1Zm.js → checkbox-group.UYN1ljai.js} +7 -7
- package/dist/chunks/checkbox-group.UYN1ljai.js.map +1 -0
- package/dist/chunks/{checkbox.D7kTrRAJ.js → checkbox.Co4HoHKF.js} +15 -15
- package/dist/chunks/checkbox.Co4HoHKF.js.map +1 -0
- package/dist/chunks/{chip.CCBRXSGa.js → chip.DRsJylWl.js} +2 -2
- package/dist/chunks/{chip.CCBRXSGa.js.map → chip.DRsJylWl.js.map} +1 -1
- package/dist/chunks/{code-snippet.DOtmgwGx.js → code-snippet.CnThWqVb.js} +73 -74
- package/dist/chunks/code-snippet.CnThWqVb.js.map +1 -0
- package/dist/chunks/constructNow.Dl44Mvpp.js +8 -0
- package/dist/chunks/{constructNow.DyOJDyZZ.js.map → constructNow.Dl44Mvpp.js.map} +1 -1
- package/dist/chunks/{controls-group.C1YlswQH.js → controls-group.fdGc6epa.js} +2 -2
- package/dist/chunks/{controls-group.C1YlswQH.js.map → controls-group.fdGc6epa.js.map} +1 -1
- package/dist/chunks/{copy.DIRgGox4.js → copy.CSk1rCRo.js} +4 -4
- package/dist/chunks/{copy.DIRgGox4.js.map → copy.CSk1rCRo.js.map} +1 -1
- package/dist/chunks/{cross-circle-fill-small.Doaiq7Wx.js → cross-circle-fill-small.CZN966bc.js} +2 -2
- package/dist/chunks/cross-circle-fill-small.CZN966bc.js.map +1 -0
- package/dist/chunks/{dashboard-section.DvYJk8aj.js → dashboard-section.CYEoNH9Q.js} +3 -3
- package/dist/chunks/{dashboard-section.DvYJk8aj.js.map → dashboard-section.CYEoNH9Q.js.map} +1 -1
- package/dist/chunks/{dashed-underline.D3YXHh-k.js → dashed-underline.CzKc-fJW.js} +3 -3
- package/dist/chunks/{dashed-underline.D3YXHh-k.js.map → dashed-underline.CzKc-fJW.js.map} +1 -1
- package/dist/chunks/{data-grid-template.ZZNd2LWk.js → data-grid-template.DCwzh2G7.js} +4 -4
- package/dist/chunks/{data-grid-template.ZZNd2LWk.js.map → data-grid-template.DCwzh2G7.js.map} +1 -1
- package/dist/chunks/{data-grid.4_JJV1_Z.js → data-grid.B1lI07ze.js} +24 -24
- package/dist/chunks/data-grid.B1lI07ze.js.map +1 -0
- package/dist/chunks/{date-picker.EuvvrhtF.js → date-picker.gDsw8bn1.js} +8 -8
- package/dist/chunks/date-picker.gDsw8bn1.js.map +1 -0
- package/dist/chunks/{date-range-picker.Bi5j0eED.js → date-range-picker.CqixIJxG.js} +278 -275
- package/dist/chunks/{date-range-picker.Bi5j0eED.js.map → date-range-picker.CqixIJxG.js.map} +1 -1
- package/dist/chunks/{date-time-picker.DinENKL0.js → date-time-picker.Bktntun4.js} +6 -6
- package/dist/chunks/{date-time-picker.DinENKL0.js.map → date-time-picker.Bktntun4.js.map} +1 -1
- package/dist/chunks/{de.ctR_lBqr.js → de.D953eFBg.js} +2 -2
- package/dist/chunks/{de.ctR_lBqr.js.map → de.D953eFBg.js.map} +1 -1
- package/dist/chunks/{dialog-page.DM6imlbn.js → dialog-page.Bct3zOQO.js} +44 -44
- package/dist/chunks/dialog-page.Bct3zOQO.js.map +1 -0
- package/dist/chunks/{differenceInMonths.yz4Dfe-b.js → differenceInMonths.CPDkGea3.js} +2 -2
- package/dist/chunks/{differenceInMonths.yz4Dfe-b.js.map → differenceInMonths.CPDkGea3.js.map} +1 -1
- package/dist/chunks/{draggable-handle.UmaDf-G4.js → draggable-handle.DgVdGC1V.js} +2 -2
- package/dist/chunks/{draggable-handle.UmaDf-G4.js.map → draggable-handle.DgVdGC1V.js.map} +1 -1
- package/dist/chunks/{draggable.3Uuc40QN.js → draggable.DYKdXdbj.js} +2 -2
- package/dist/chunks/{draggable.3Uuc40QN.js.map → draggable.DYKdXdbj.js.map} +1 -1
- package/dist/chunks/{dropdown-tag.3mltTUPq.js → dropdown-tag.Dk7SooVv.js} +3 -3
- package/dist/chunks/{dropdown-tag.3mltTUPq.js.map → dropdown-tag.Dk7SooVv.js.map} +1 -1
- package/dist/chunks/{dropdown.BdfmQmO_.js → dropdown.Bnq4kP7k.js} +12 -12
- package/dist/chunks/dropdown.Bnq4kP7k.js.map +1 -0
- package/dist/chunks/{empty-state.DWnWb0jM.js → empty-state.C2wjdE3y.js} +3 -3
- package/dist/chunks/{empty-state.DWnWb0jM.js.map → empty-state.C2wjdE3y.js.map} +1 -1
- package/dist/chunks/{en-GB.BsQNm5GT.js → en-GB.DRXS-7tU.js} +2 -2
- package/dist/chunks/{en-GB.BsQNm5GT.js.map → en-GB.DRXS-7tU.js.map} +1 -1
- package/dist/chunks/{en-US.BR6y7foR.js → en-US.C412g-7U.js} +3 -3
- package/dist/chunks/{en-US.BR6y7foR.js.map → en-US.C412g-7U.js.map} +1 -1
- package/dist/chunks/{es.DxqH-QhP.js → es.DieAs0jD.js} +2 -2
- package/dist/chunks/{es.DxqH-QhP.js.map → es.DieAs0jD.js.map} +1 -1
- package/dist/chunks/es6.yPcTMnSH.js.map +1 -1
- package/dist/chunks/{field-label.DsNcfZ6m.js → field-label.C7BCsofY.js} +2 -2
- package/dist/chunks/{field-label.DsNcfZ6m.js.map → field-label.C7BCsofY.js.map} +1 -1
- package/dist/chunks/{file-uploader.D1xDlbsu.js → file-uploader.DllKBmP8.js} +8 -8
- package/dist/chunks/file-uploader.DllKBmP8.js.map +1 -0
- package/dist/chunks/{filter-bar.DlSyWQQ0.js → filter-bar.DXpLhnxG.js} +1050 -974
- package/dist/chunks/filter-bar.DXpLhnxG.js.map +1 -0
- package/dist/chunks/{fixed-scroller.QHqymN36.js → fixed-scroller.YC4bZifw.js} +2 -2
- package/dist/chunks/{fixed-scroller.QHqymN36.js.map → fixed-scroller.YC4bZifw.js.map} +1 -1
- package/dist/chunks/{focus-trap.DK6-TX-N.js → focus-trap.fd6_d2EW.js} +3 -3
- package/dist/chunks/{focus-trap.DK6-TX-N.js.map → focus-trap.fd6_d2EW.js.map} +1 -1
- package/dist/chunks/{footer-actions.cJxmP0fK.js → footer-actions.C9STwwcv.js} +3 -3
- package/dist/chunks/{footer-actions.cJxmP0fK.js.map → footer-actions.C9STwwcv.js.map} +1 -1
- package/dist/chunks/{form-layout-title.CCsmZ9E8.js → form-layout-title.C0lwzPZz.js} +2 -2
- package/dist/chunks/{form-layout-title.CCsmZ9E8.js.map → form-layout-title.C0lwzPZz.js.map} +1 -1
- package/dist/chunks/{fr.DJtn8ron.js → fr.ChY2aIns.js} +2 -2
- package/dist/chunks/{fr.DJtn8ron.js.map → fr.ChY2aIns.js.map} +1 -1
- package/dist/chunks/generate-uid.DBWe4g6T.js.map +1 -1
- package/dist/chunks/{header-with-views.D8XDYW5N.js → header-with-views.HwbE278X.js} +671 -666
- package/dist/chunks/{header-with-views.D8XDYW5N.js.map → header-with-views.HwbE278X.js.map} +1 -1
- package/dist/chunks/{header.BLhATjz3.js → header.CmyqVXuG.js} +14 -13
- package/dist/chunks/header.CmyqVXuG.js.map +1 -0
- package/dist/chunks/info-icon-with-popover.BvYyGm4D.js +65 -0
- package/dist/chunks/info-icon-with-popover.BvYyGm4D.js.map +1 -0
- package/dist/chunks/{info-icon.-3-LB8Zq.js → info-icon.B-FAeceD.js} +3 -3
- package/dist/chunks/{info-icon.-3-LB8Zq.js.map → info-icon.B-FAeceD.js.map} +1 -1
- package/dist/chunks/{input-field-password.KgSx3KDe.js → input-field-password.9bWhLud0.js} +6 -6
- package/dist/chunks/input-field-password.9bWhLud0.js.map +1 -0
- package/dist/chunks/{input-field-phone-number.DE9XpiFH.js → input-field-phone-number.CCn1N9St.js} +2 -2
- package/dist/chunks/{input-field-phone-number.DE9XpiFH.js.map → input-field-phone-number.CCn1N9St.js.map} +1 -1
- package/dist/chunks/{input-field.Dz8yVBEl.js → input-field.D912rZS_.js} +4 -4
- package/dist/chunks/input-field.D912rZS_.js.map +1 -0
- package/dist/chunks/{input-time.Bc50jTCQ.js → input-time.CXMuvF9N.js} +3 -3
- package/dist/chunks/{input-time.Bc50jTCQ.js.map → input-time.CXMuvF9N.js.map} +1 -1
- package/dist/chunks/{inspector-page.BwPtRsaZ.js → inspector-page.BRC_7uro.js} +3 -3
- package/dist/chunks/{inspector-page.BwPtRsaZ.js.map → inspector-page.BRC_7uro.js.map} +1 -1
- package/dist/chunks/inspector.IOtNex1r.js +142 -0
- package/dist/chunks/inspector.IOtNex1r.js.map +1 -0
- package/dist/chunks/isSameWeek.CcrBd5ov.js +14 -0
- package/dist/chunks/{isSameWeek.CieN9XgL.js.map → isSameWeek.CcrBd5ov.js.map} +1 -1
- package/dist/chunks/{it.keS7oN5l.js → it.9ITe-tO1.js} +3 -3
- package/dist/chunks/{it.keS7oN5l.js.map → it.9ITe-tO1.js.map} +1 -1
- package/dist/chunks/{ja.cLwacUE6.js → ja.D1PTbbq5.js} +2 -2
- package/dist/chunks/{ja.cLwacUE6.js.map → ja.D1PTbbq5.js.map} +1 -1
- package/dist/chunks/{link.BzIDMKgE.js → link.Cls8XShm.js} +4 -4
- package/dist/chunks/link.Cls8XShm.js.map +1 -0
- package/dist/chunks/{list-item.CKKEar92.js → list-item.HjabBEb8.js} +3 -3
- package/dist/chunks/{list-item.CKKEar92.js.map → list-item.HjabBEb8.js.map} +1 -1
- package/dist/chunks/{listbox-option-tag.CQ7jWrle.js → listbox-option-tag.DhNxvqRO.js} +2 -2
- package/dist/chunks/{listbox-option-tag.CQ7jWrle.js.map → listbox-option-tag.DhNxvqRO.js.map} +1 -1
- package/dist/chunks/{modal-fullscreen.BMGoNT7r.js → modal-fullscreen.Bi1bQs4Z.js} +9 -9
- package/dist/chunks/modal-fullscreen.Bi1bQs4Z.js.map +1 -0
- package/dist/chunks/{modal.BNqEbVvC.js → modal.B3-pmL5s.js} +5 -5
- package/dist/chunks/{modal.BNqEbVvC.js.map → modal.B3-pmL5s.js.map} +1 -1
- package/dist/chunks/{navigation-menu-group.uRQvdRyU.js → navigation-menu-group.B-AV49Bn.js} +7 -7
- package/dist/chunks/navigation-menu-group.B-AV49Bn.js.map +1 -0
- package/dist/chunks/{pagination.QuT_65w4.js → pagination.cI_pc6oE.js} +5 -5
- package/dist/chunks/pagination.cI_pc6oE.js.map +1 -0
- package/dist/chunks/popover.types.DvIwSAAp.js +6 -0
- package/dist/chunks/{popover.types.hyPD5Kv1.js.map → popover.types.DvIwSAAp.js.map} +1 -1
- package/dist/chunks/{popper-container.scV0X0nk.js → popper-container.Cj3AWXSd.js} +355 -338
- package/dist/chunks/{popper-container.scV0X0nk.js.map → popper-container.Cj3AWXSd.js.map} +1 -1
- package/dist/chunks/{progress-bar.C2EFmk8E.js → progress-bar.RlF3a0Gb.js} +3 -3
- package/dist/chunks/progress-bar.RlF3a0Gb.js.map +1 -0
- package/dist/chunks/{promo-banner.BzTq9SMT.js → promo-banner.B5szTysj.js} +7 -7
- package/dist/chunks/{promo-banner.BzTq9SMT.js.map → promo-banner.B5szTysj.js.map} +1 -1
- package/dist/chunks/{pt-BR.ChPOra5s.js → pt-BR.DmEVD7V-.js} +2 -2
- package/dist/chunks/{pt-BR.ChPOra5s.js.map → pt-BR.DmEVD7V-.js.map} +1 -1
- package/dist/chunks/{radio-group.77fvFrmz.js → radio-group.CvsQDlHi.js} +5 -5
- package/dist/chunks/radio-group.CvsQDlHi.js.map +1 -0
- package/dist/chunks/{rich-text-editor.DL6h2H5r.js → rich-text-editor.DNmVJilP.js} +7 -7
- package/dist/chunks/{rich-text-editor.DL6h2H5r.js.map → rich-text-editor.DNmVJilP.js.map} +1 -1
- package/dist/chunks/{search-bar.CiEKUPNX.js → search-bar.--4KVNkf.js} +3 -3
- package/dist/chunks/{search-bar.CiEKUPNX.js.map → search-bar.--4KVNkf.js.map} +1 -1
- package/dist/chunks/{secondary-nav.ekia7NO0.js → secondary-nav.CXtDQAay.js} +50 -50
- package/dist/chunks/secondary-nav.CXtDQAay.js.map +1 -0
- package/dist/chunks/{segmented-control.qykQS10o.js → segmented-control.nYpRQTGc.js} +3 -3
- package/dist/chunks/segmented-control.nYpRQTGc.js.map +1 -0
- package/dist/chunks/{selection-card-group.BEjddn7D.js → selection-card-group.DjFWMqVZ.js} +22 -22
- package/dist/chunks/selection-card-group.DjFWMqVZ.js.map +1 -0
- package/dist/chunks/{set-time-in-date.BVfkl8K8.js → set-time-in-date.B3K4C7CB.js} +2 -2
- package/dist/chunks/{set-time-in-date.BVfkl8K8.js.map → set-time-in-date.B3K4C7CB.js.map} +1 -1
- package/dist/chunks/{sidepanel.DeX_rFk7.js → sidepanel.CntIcmx-.js} +7 -7
- package/dist/chunks/sidepanel.CntIcmx-.js.map +1 -0
- package/dist/chunks/{startOfWeek.muMEhS7U.js → startOfWeek.CzdYFzXX.js} +2 -2
- package/dist/chunks/{startOfWeek.muMEhS7U.js.map → startOfWeek.CzdYFzXX.js.map} +1 -1
- package/dist/chunks/{step.DWC-MMij.js → step.BCa9IOWB.js} +2 -2
- package/dist/chunks/{step.DWC-MMij.js.map → step.BCa9IOWB.js.map} +1 -1
- package/dist/chunks/{structured-list-item.Bfn0A2G8.js → structured-list-item.Bhe0CH1M.js} +5 -5
- package/dist/chunks/{structured-list-item.Bfn0A2G8.js.map → structured-list-item.Bhe0CH1M.js.map} +1 -1
- package/dist/chunks/{summary-grid.types.B4WEQPEz.js → summary-grid.types.C70ED6WD.js} +5 -5
- package/dist/chunks/{summary-grid.types.B4WEQPEz.js.map → summary-grid.types.C70ED6WD.js.map} +1 -1
- package/dist/chunks/{tab.DCLrEYwn.js → tab.BK1sIJAJ.js} +45 -45
- package/dist/chunks/tab.BK1sIJAJ.js.map +1 -0
- package/dist/chunks/{table-of-contents.f_6G1qFS.js → table-of-contents.BTy95Rrs.js} +2 -2
- package/dist/chunks/table-of-contents.BTy95Rrs.js.map +1 -0
- package/dist/chunks/tag.Dz1FQSZb.js +56 -0
- package/dist/chunks/tag.Dz1FQSZb.js.map +1 -0
- package/dist/chunks/{textarea.OTgZOHYu.js → textarea.CcV9U3I7.js} +5 -5
- package/dist/chunks/textarea.CcV9U3I7.js.map +1 -0
- package/dist/chunks/{timeline-item.Be0xWRey.js → timeline-item.BG2by0xf.js} +10 -10
- package/dist/chunks/{timeline-item.Be0xWRey.js.map → timeline-item.BG2by0xf.js.map} +1 -1
- package/dist/chunks/title-details.ChwPP7C5.js +119 -0
- package/dist/chunks/title-details.ChwPP7C5.js.map +1 -0
- package/dist/chunks/{toast.DL_9zlHB.js → toast.CO6ByH3n.js} +2 -2
- package/dist/chunks/{toast.DL_9zlHB.js.map → toast.CO6ByH3n.js.map} +1 -1
- package/dist/chunks/{toggle.BkTeqKsx.js → toggle.Dgh7aw1D.js} +2 -2
- package/dist/chunks/toggle.Dgh7aw1D.js.map +1 -0
- package/dist/chunks/{tooltip.BwD3JuFl.js → tooltip.DFYc5NKM.js} +11 -11
- package/dist/chunks/tooltip.DFYc5NKM.js.map +1 -0
- package/dist/chunks/{tutorial.BrKSt9Sb.js → tutorial.K0aOQWIg.js} +4 -4
- package/dist/chunks/{tutorial.BrKSt9Sb.js.map → tutorial.K0aOQWIg.js.map} +1 -1
- package/dist/chunks/use-bento-toast-controller.A5xraVqa.js.map +1 -1
- package/dist/chunks/{use-date-input-formatter.Du8KZnNZ.js → use-date-input-formatter.MgbFwUqJ.js} +4 -4
- package/dist/chunks/{use-date-input-formatter.Du8KZnNZ.js.map → use-date-input-formatter.MgbFwUqJ.js.map} +1 -1
- package/dist/chunks/use-dynamic-date-fns-locale.Bpb2DeYR.js +39 -0
- package/dist/chunks/use-dynamic-date-fns-locale.Bpb2DeYR.js.map +1 -0
- package/dist/chunks/{zh-CN.ZG6obniO.js → zh-CN.C-da5IoS.js} +3 -3
- package/dist/chunks/{zh-CN.ZG6obniO.js.map → zh-CN.C-da5IoS.js.map} +1 -1
- package/dist/code-snippet.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/draggable.js +2 -2
- 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 +1 -1
- package/dist/header-with-views.js +1 -1
- package/dist/header.js +1 -1
- package/dist/index.js +67 -67
- 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 +25 -24
- package/dist/internal.js.map +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 +3 -3
- package/dist/modal.js +2 -2
- package/dist/navigation-menu.js +1 -1
- package/dist/pagination.js +1 -1
- package/dist/popover.js +2 -2
- package/dist/popper-container.js +1 -1
- package/dist/progress-bar.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/stepper.js +1 -1
- package/dist/structured-list.js +1 -1
- package/dist/styles/bento-dark.css +3 -3
- package/dist/styles/bento-light.css +4 -4
- package/dist/styles/bento.css +4 -4
- package/dist/styles/legacy.css +4 -4
- package/dist/styles/styleguide.css +4 -4
- package/dist/styles/utility.css +4 -4
- 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/web-types.json +381 -48
- package/package.json +6 -6
- package/dist/assets/header-meta.css +0 -1
- package/dist/chunks/accordion-item.V3zpgTzM.js.map +0 -1
- package/dist/chunks/action-bar.Br6mamx3.js.map +0 -1
- package/dist/chunks/ai-tag.DtngkeLj.js.map +0 -1
- package/dist/chunks/anchor-scroller.DT7QZd5b.js.map +0 -1
- package/dist/chunks/base-modal.DsqIEM0p.js.map +0 -1
- package/dist/chunks/button-actions.CFOxzahr.js.map +0 -1
- package/dist/chunks/calendar.Bi7oa397.js.map +0 -1
- package/dist/chunks/card.B2rIoYTV.js +0 -124
- package/dist/chunks/card.B2rIoYTV.js.map +0 -1
- package/dist/chunks/checkbox-group.FlQJn1Zm.js.map +0 -1
- package/dist/chunks/checkbox.D7kTrRAJ.js.map +0 -1
- package/dist/chunks/code-snippet.DOtmgwGx.js.map +0 -1
- package/dist/chunks/constructNow.DyOJDyZZ.js +0 -8
- package/dist/chunks/cross-circle-fill-small.Doaiq7Wx.js.map +0 -1
- package/dist/chunks/data-grid.4_JJV1_Z.js.map +0 -1
- package/dist/chunks/date-picker.EuvvrhtF.js.map +0 -1
- package/dist/chunks/dialog-page.DM6imlbn.js.map +0 -1
- package/dist/chunks/dropdown.BdfmQmO_.js.map +0 -1
- package/dist/chunks/file-uploader.D1xDlbsu.js.map +0 -1
- package/dist/chunks/filter-bar.DlSyWQQ0.js.map +0 -1
- package/dist/chunks/header-meta.C5Ojlg8H.js +0 -206
- package/dist/chunks/header-meta.C5Ojlg8H.js.map +0 -1
- package/dist/chunks/header.BLhATjz3.js.map +0 -1
- package/dist/chunks/input-field-password.KgSx3KDe.js.map +0 -1
- package/dist/chunks/input-field.Dz8yVBEl.js.map +0 -1
- package/dist/chunks/inspector.CUJSQfsX.js +0 -128
- package/dist/chunks/inspector.CUJSQfsX.js.map +0 -1
- package/dist/chunks/isSameWeek.CieN9XgL.js +0 -14
- package/dist/chunks/link.BzIDMKgE.js.map +0 -1
- package/dist/chunks/modal-fullscreen.BMGoNT7r.js.map +0 -1
- package/dist/chunks/navigation-menu-group.uRQvdRyU.js.map +0 -1
- package/dist/chunks/pagination.QuT_65w4.js.map +0 -1
- package/dist/chunks/popover.types.hyPD5Kv1.js +0 -6
- package/dist/chunks/progress-bar.C2EFmk8E.js.map +0 -1
- package/dist/chunks/radio-group.77fvFrmz.js.map +0 -1
- package/dist/chunks/secondary-nav.ekia7NO0.js.map +0 -1
- package/dist/chunks/segmented-control.qykQS10o.js.map +0 -1
- package/dist/chunks/selection-card-group.BEjddn7D.js.map +0 -1
- package/dist/chunks/sidepanel.DeX_rFk7.js.map +0 -1
- package/dist/chunks/tab.DCLrEYwn.js.map +0 -1
- package/dist/chunks/table-of-contents.f_6G1qFS.js.map +0 -1
- package/dist/chunks/tag.Bm-widp9.js +0 -50
- package/dist/chunks/tag.Bm-widp9.js.map +0 -1
- package/dist/chunks/textarea.OTgZOHYu.js.map +0 -1
- package/dist/chunks/toggle.BkTeqKsx.js.map +0 -1
- package/dist/chunks/tooltip.BwD3JuFl.js.map +0 -1
|
@@ -1,24 +1,24 @@
|
|
|
1
1
|
import { defineComponent as y, useSlots as L, computed as f, onMounted as M, onUnmounted as U, useAttrs as se, inject as I, getCurrentInstance as oe, ref as d, watch as V, nextTick as N, toRef as K, provide as ae } from "vue";
|
|
2
|
-
import { B as v } from "./button.
|
|
2
|
+
import { B as v } from "./button.DII5Ifwa.js";
|
|
3
3
|
import { B as ie } from "./loading-indicator.PxbRzshH.js";
|
|
4
4
|
import { C as re } from "./cross-circle-fill.D3dEmLeQ.js";
|
|
5
5
|
import { C as le } from "./checkmark-circle-fill.Ds9Mwqpi.js";
|
|
6
6
|
import { u as P } from "./use-has-slot.C9lQZ6nz.js";
|
|
7
7
|
import { u as j } from "./index.CPOlyau9.js";
|
|
8
|
-
import { n as
|
|
8
|
+
import { n as h } from "./_plugin-vue2_normalizer.CeySl7Fu.js";
|
|
9
9
|
import { i as G } from "./index.Cl4_42j5.js";
|
|
10
10
|
import { B as Y, D as ue } from "./divider.KxXy6nzJ.js";
|
|
11
11
|
import { C as ce } from "./cross.szJ_ZUTI.js";
|
|
12
12
|
import { B as J, c as D, p as de } from "./typography.D1OZJbEa.js";
|
|
13
|
-
import { a as fe, P as pe, b as me } from "./popper-container.
|
|
13
|
+
import { a as fe, P as pe, b as me } from "./popper-container.Cj3AWXSd.js";
|
|
14
14
|
import { o as _e } from "./on-click-outside.BgIzQ2G1.js";
|
|
15
15
|
import { g as ve } from "./generate-uid.DBWe4g6T.js";
|
|
16
16
|
import { C as ye } from "./chevron-down.B_QiVCoO.js";
|
|
17
17
|
/* empty css */
|
|
18
|
-
import { C as
|
|
19
|
-
import { a as $, B as
|
|
18
|
+
import { C as he, a as F } from "./chevron-left.BdXFLX5u.js";
|
|
19
|
+
import { a as $, B as be } from "./base-button.DOhHyU7x.js";
|
|
20
20
|
import { t as ge } from "./truncate.DmCXQmeb.js";
|
|
21
|
-
import { E as Ce } from "./link.
|
|
21
|
+
import { E as Ce } from "./link.Cls8XShm.js";
|
|
22
22
|
import { o as ke } from "./resize.Bqks3WUm.js";
|
|
23
23
|
import { g as Ie } from "./es6.yPcTMnSH.js";
|
|
24
24
|
import "../assets/button-actions.css";
|
|
@@ -113,7 +113,7 @@ var xe = function() {
|
|
|
113
113
|
}, proxy: !0 } : e.state !== "start" ? { key: "iconLeft", fn: function() {
|
|
114
114
|
return [n("span", { staticClass: "b-loading-button__icon", attrs: { "data-testid": "loading-button-rotating-icon" } }, [e.state === "fail" ? n(t.Cross, { attrs: { "svg-title": t.t("failed") } }) : e.state === "success" ? n(t.Checkmark, { attrs: { "svg-title": t.t("succeded") } }) : e.state === "loading" ? n(t.BentoLoadingIndicator, { attrs: { small: "", inverse: t.isInverseLoadingIndicator } }) : e._e()], 1)];
|
|
115
115
|
}, proxy: !0 } : null], null, !0) }, [e._t("default")], 2);
|
|
116
|
-
}, Ee = [], Le = /* @__PURE__ */
|
|
116
|
+
}, Ee = [], Le = /* @__PURE__ */ h(
|
|
117
117
|
Se,
|
|
118
118
|
xe,
|
|
119
119
|
Ee,
|
|
@@ -121,8 +121,8 @@ var xe = function() {
|
|
|
121
121
|
null,
|
|
122
122
|
"bc74b2f7"
|
|
123
123
|
);
|
|
124
|
-
const Me = Le.exports,
|
|
125
|
-
...
|
|
124
|
+
const Me = Le.exports, we = {}, Te = /* @__PURE__ */ y({
|
|
125
|
+
...we,
|
|
126
126
|
__name: "toggle-button",
|
|
127
127
|
props: {
|
|
128
128
|
/**
|
|
@@ -186,8 +186,8 @@ var Re = function() {
|
|
|
186
186
|
return [e._t(a, null, null, t.getSlotKeyIfVue3(a))];
|
|
187
187
|
}, proxy: !0 };
|
|
188
188
|
})], null, !0) }, "bento-button", e.$attrs, !1));
|
|
189
|
-
}, Ae = [], Ne = /* @__PURE__ */
|
|
190
|
-
|
|
189
|
+
}, Ae = [], Ne = /* @__PURE__ */ h(
|
|
190
|
+
Te,
|
|
191
191
|
Re,
|
|
192
192
|
Ae,
|
|
193
193
|
!1,
|
|
@@ -217,7 +217,7 @@ var Fe = function() {
|
|
|
217
217
|
} }, scopedSlots: e._u([{ key: "iconLeft", fn: function() {
|
|
218
218
|
return [n("cross-icon", { attrs: { "svg-title": "dismiss" } })];
|
|
219
219
|
}, proxy: !0 }]) });
|
|
220
|
-
}, $e = [], We = /* @__PURE__ */
|
|
220
|
+
}, $e = [], We = /* @__PURE__ */ h(
|
|
221
221
|
De,
|
|
222
222
|
Fe,
|
|
223
223
|
$e,
|
|
@@ -251,7 +251,7 @@ const Ue = We.exports, Ve = y({
|
|
|
251
251
|
var Ke = function() {
|
|
252
252
|
var e = this, n = e._self._c;
|
|
253
253
|
return e._self._setupProxy, n("bento-typography", { attrs: { strongest: e.isStrongest, variant: e.titleVariant, el: "span" } }, [e._v(" " + e._s(e.title) + " ")]);
|
|
254
|
-
}, je = [], Ge = /* @__PURE__ */
|
|
254
|
+
}, je = [], Ge = /* @__PURE__ */ h(
|
|
255
255
|
Ve,
|
|
256
256
|
Ke,
|
|
257
257
|
je,
|
|
@@ -279,6 +279,7 @@ const Ye = Ge.exports, Je = (o, e, n = {}) => {
|
|
|
279
279
|
fallbackStrategy: { default: void 0 },
|
|
280
280
|
fitContent: { type: Boolean, default: !1 },
|
|
281
281
|
fixedPositioning: { type: Boolean, default: !1 },
|
|
282
|
+
matchWidth: { type: Boolean, default: !1 },
|
|
282
283
|
open: { type: Boolean, default: !1 },
|
|
283
284
|
large: { type: Boolean, default: !1 },
|
|
284
285
|
position: { default: "bottom-start" },
|
|
@@ -304,22 +305,22 @@ const Ye = Ge.exports, Je = (o, e, n = {}) => {
|
|
|
304
305
|
"b-popover--overflow-visible": n.overflowVisible || c
|
|
305
306
|
})), l = f(() => ({
|
|
306
307
|
"b-popover__content--with-title": !!n.title
|
|
307
|
-
})), u = () => e("dismiss"),
|
|
308
|
-
return { __sfc: !0, DEFAULT_OFFSET: t, props: n, emit: e, slots: s, attrs: a, computedAttributes: p, offset: r, isOverflowVisible: c, conditionalClasses: i, contentConditionalClasses: l, dismissPopover: u, hasSlot:
|
|
308
|
+
})), u = () => e("dismiss"), b = P(s);
|
|
309
|
+
return { __sfc: !0, DEFAULT_OFFSET: t, props: n, emit: e, slots: s, attrs: a, computedAttributes: p, offset: r, isOverflowVisible: c, conditionalClasses: i, contentConditionalClasses: l, dismissPopover: u, hasSlot: b, BentoPopoverDismissButton: Ue, BentoPopoverTitle: Ye, BentoButtonActions: zt, PopperContainer: pe };
|
|
309
310
|
}
|
|
310
311
|
});
|
|
311
312
|
var Ze = function() {
|
|
312
313
|
var e = this, n = e._self._c, t = e._self._setupProxy;
|
|
313
|
-
return n("Transition", { attrs: { name: "b-popover__animation" } }, [e.open ? n(t.PopperContainer, { staticClass: "b-popover", class: t.conditionalClasses, attrs: { id: t.computedAttributes.id, "aria-role": t.computedAttributes.role, "aria-label": e.$attrs["aria-label"] ?? e.title, arrow: { classes: ["b-popover__arrow"] }, "disabled-focus-trap": e.disableFocusTrap, "trap-all": e.trapAll, "trap-all-options": e.trapAllOptions, "fallback-position": e.fallbackPosition, "fallback-strategy": e.fallbackStrategy, "fixed-positioning": e.fixedPositioning, offset: [0, t.offset], position: e.position, "target-element": e.targetElement }, on: { placement: function(s) {
|
|
314
|
+
return n("Transition", { attrs: { name: "b-popover__animation" } }, [e.open ? n(t.PopperContainer, { staticClass: "b-popover", class: t.conditionalClasses, attrs: { id: t.computedAttributes.id, "aria-role": t.computedAttributes.role, "aria-label": e.$attrs["aria-label"] ?? e.title, arrow: { classes: ["b-popover__arrow"] }, "disabled-focus-trap": e.disableFocusTrap, "trap-all": e.trapAll, "trap-all-options": e.trapAllOptions, "fallback-position": e.fallbackPosition, "fallback-strategy": e.fallbackStrategy, "fixed-positioning": e.fixedPositioning, "match-width": e.matchWidth, offset: [0, t.offset], position: e.position, "target-element": e.targetElement }, on: { placement: function(s) {
|
|
314
315
|
return e.$emit("placement", s);
|
|
315
316
|
} } }, [t.hasSlot("image") ? n("div", { staticClass: "b-popover__image" }, [e.dismissible ? n("div", { staticClass: "b-popover__image-dismiss-button" }, [n(t.BentoPopoverDismissButton, { attrs: { "on-image": "" }, on: { click: t.dismissPopover } })], 1) : e._e(), e._t("image")], 2) : e._e(), e.title ? n("div", { staticClass: "b-popover__header" }, [n("div", { staticClass: "b-popover__header-title" }, [t.hasSlot("headerIcon") ? e._t("headerIcon") : e._e(), n(t.BentoPopoverTitle, { attrs: { title: e.title, "is-image-title": !!t.hasSlot("image") } })], 2), e.dismissible && !t.hasSlot("image") ? n("div", [n(t.BentoPopoverDismissButton, { on: { click: t.dismissPopover } })], 1) : e._e()]) : e._e(), t.hasSlot("default") ? n("div", { staticClass: "b-popover__content", class: t.contentConditionalClasses }, [e._t("default")], 2) : e._e(), e.actions ? n("div", { staticClass: "b-popover__footer" }, [n(t.BentoButtonActions, { attrs: { actions: e.actions, layout: e.actionsLayout } })], 1) : e._e()]) : e._e()], 1);
|
|
316
|
-
}, Qe = [], et = /* @__PURE__ */
|
|
317
|
+
}, Qe = [], et = /* @__PURE__ */ h(
|
|
317
318
|
qe,
|
|
318
319
|
Ze,
|
|
319
320
|
Qe,
|
|
320
321
|
!1,
|
|
321
322
|
null,
|
|
322
|
-
"
|
|
323
|
+
"398b7365"
|
|
323
324
|
);
|
|
324
325
|
const tt = et.exports, H = /* @__PURE__ */ Symbol("modal injection key"), z = /* @__PURE__ */ Symbol("sidepanel children element injection key"), X = /* @__PURE__ */ Symbol("modal fullscreen children element injection key"), gn = /* @__PURE__ */ Symbol("modal fullscreen title id injection key"), Cn = /* @__PURE__ */ Symbol("modal fullscreen close injection key"), nt = y({
|
|
325
326
|
name: "teleport",
|
|
@@ -443,7 +444,7 @@ const tt = et.exports, H = /* @__PURE__ */ Symbol("modal injection key"), z = /*
|
|
|
443
444
|
var ot = function() {
|
|
444
445
|
var e = this, n = e._self._c, t = e._self._setupProxy;
|
|
445
446
|
return t.isVue2 ? n("div", { class: e.classes }, [e._t("default")], 2) : n("Teleport", { attrs: { to: e.to || t.teleportTarget, disabled: e.disabled } }, [e._t("default")], 2);
|
|
446
|
-
}, at = [], it = /* @__PURE__ */
|
|
447
|
+
}, at = [], it = /* @__PURE__ */ h(
|
|
447
448
|
st,
|
|
448
449
|
ot,
|
|
449
450
|
at,
|
|
@@ -461,7 +462,7 @@ const rt = it.exports, lt = {
|
|
|
461
462
|
var ut = function() {
|
|
462
463
|
var e = this, n = e._self._c;
|
|
463
464
|
return e._self._setupProxy, n("svg", e._b({ staticClass: "ui-assets-icons-16", attrs: { role: "img", xmlns: "http://www.w3.org/2000/svg", width: "16", height: "16", fill: "none" } }, "svg", e.$attrs, !1), [e.$attrs["svg-title"] ? n("title", [e._v(e._s(e.$attrs["svg-title"]))]) : e._e(), n("path", { attrs: { fill: "#001222", d: "M8 4C8.29667 4 8.58668 3.91203 8.83335 3.74721C9.08003 3.58238 9.27229 3.34811 9.38582 3.07403C9.49935 2.79994 9.52906 2.49834 9.47118 2.20737C9.4133 1.91639 9.27044 1.64912 9.06066 1.43934C8.85088 1.22956 8.58361 1.0867 8.29264 1.02882C8.00167 0.970945 7.70006 1.00065 7.42598 1.11418C7.15189 1.22771 6.91762 1.41997 6.7528 1.66665C6.58797 1.91332 6.5 2.20333 6.5 2.5C6.5 2.89783 6.65803 3.27936 6.93934 3.56066C7.22064 3.84197 7.60218 4 8 4Z" } }), n("path", { attrs: { fill: "#001222", d: "M8 15C8.29667 15 8.58668 14.912 8.83335 14.7472C9.08003 14.5824 9.27229 14.3481 9.38582 14.074C9.49935 13.7999 9.52906 13.4983 9.47118 13.2074C9.4133 12.9164 9.27044 12.6491 9.06066 12.4393C8.85088 12.2296 8.58361 12.0867 8.29264 12.0288C8.00167 11.9709 7.70006 12.0007 7.42598 12.1142C7.15189 12.2277 6.91762 12.42 6.7528 12.6666C6.58797 12.9133 6.5 13.2033 6.5 13.5C6.5 13.8978 6.65803 14.2794 6.93934 14.5607C7.22064 14.842 7.60218 15 8 15Z" } }), n("path", { attrs: { fill: "#001222", d: "M8.83335 9.24721C8.58668 9.41203 8.29667 9.5 8 9.5C7.60218 9.5 7.22064 9.34197 6.93934 9.06066C6.65803 8.77936 6.5 8.39783 6.5 8C6.5 7.70333 6.58797 7.41332 6.7528 7.16665C6.91762 6.91997 7.15189 6.72771 7.42598 6.61418C7.70006 6.50065 8.00167 6.47094 8.29264 6.52882C8.58361 6.5867 8.85088 6.72956 9.06066 6.93934C9.27044 7.14912 9.4133 7.41639 9.47118 7.70737C9.52906 7.99834 9.49935 8.29994 9.38582 8.57403C9.27229 8.84811 9.08003 9.08238 8.83335 9.24721Z" } })]);
|
|
464
|
-
}, ct = [], dt = /* @__PURE__ */
|
|
465
|
+
}, ct = [], dt = /* @__PURE__ */ h(
|
|
465
466
|
lt,
|
|
466
467
|
ut,
|
|
467
468
|
ct,
|
|
@@ -471,7 +472,7 @@ var ut = function() {
|
|
|
471
472
|
);
|
|
472
473
|
const ft = dt.exports, pt = y({
|
|
473
474
|
name: "menu-item",
|
|
474
|
-
components: { BaseButton:
|
|
475
|
+
components: { BaseButton: be, BentoTypography: J, ChevronRightIcon: he, ExternalLinkIcon: Ce },
|
|
475
476
|
props: {
|
|
476
477
|
/**
|
|
477
478
|
* menu-item text that gets displayed as the main label
|
|
@@ -574,7 +575,7 @@ var mt = function() {
|
|
|
574
575
|
}, proxy: !0 }, e.chevron ? { key: "iconRight", fn: function() {
|
|
575
576
|
return [n("chevron-right-icon", { attrs: { "aria-hidden": "true" } })];
|
|
576
577
|
}, proxy: !0 } : null], null, !0) });
|
|
577
|
-
}, _t = [], vt = /* @__PURE__ */
|
|
578
|
+
}, _t = [], vt = /* @__PURE__ */ h(
|
|
578
579
|
pt,
|
|
579
580
|
mt,
|
|
580
581
|
_t,
|
|
@@ -585,10 +586,10 @@ var mt = function() {
|
|
|
585
586
|
const q = vt.exports;
|
|
586
587
|
({ ...me });
|
|
587
588
|
var B = /* @__PURE__ */ ((o) => (o.BACK = "back", o.CLOSE = "close", o.OPEN = "open", o))(B || {});
|
|
588
|
-
const yt = /* @__PURE__ */ Symbol("menu registering injection key"),
|
|
589
|
+
const yt = /* @__PURE__ */ Symbol("menu registering injection key"), ht = {
|
|
589
590
|
name: "bento-menu-list-container"
|
|
590
|
-
},
|
|
591
|
-
...
|
|
591
|
+
}, bt = /* @__PURE__ */ y({
|
|
592
|
+
...ht,
|
|
592
593
|
setup(o) {
|
|
593
594
|
const e = d(), n = d({}), t = I(yt, !1);
|
|
594
595
|
if (t) {
|
|
@@ -603,8 +604,8 @@ const yt = /* @__PURE__ */ Symbol("menu registering injection key"), bt = {
|
|
|
603
604
|
var gt = function() {
|
|
604
605
|
var e = this, n = e._self._c, t = e._self._setupProxy;
|
|
605
606
|
return n("div", e._g({ ref: "menuListContainerRef", staticClass: "b-menu-list-container", attrs: { "data-testid": "menu-list-container" } }, t.menuListContainerEvents), [e._t("default")], 2);
|
|
606
|
-
}, Ct = [], kt = /* @__PURE__ */
|
|
607
|
-
|
|
607
|
+
}, Ct = [], kt = /* @__PURE__ */ h(
|
|
608
|
+
bt,
|
|
608
609
|
gt,
|
|
609
610
|
Ct,
|
|
610
611
|
!1,
|
|
@@ -640,9 +641,9 @@ const Z = kt.exports, Q = {
|
|
|
640
641
|
emits: [B.CLOSE, B.BACK],
|
|
641
642
|
setup(o, { emit: e }) {
|
|
642
643
|
const n = d(null), t = d(0), s = d(o.items.length), a = () => e(B.CLOSE), p = () => e(B.BACK), r = f(() => {
|
|
643
|
-
const u = o.items?.map((
|
|
644
|
-
...
|
|
645
|
-
indent: !
|
|
644
|
+
const u = o.items?.map((b) => ({
|
|
645
|
+
...b,
|
|
646
|
+
indent: !b.icon,
|
|
646
647
|
isTitle: !1,
|
|
647
648
|
clickHandler: a
|
|
648
649
|
}));
|
|
@@ -700,7 +701,7 @@ var Bt = function() {
|
|
|
700
701
|
}] } }, e._l(e.computedItems, function(t, s) {
|
|
701
702
|
return n("li", { key: `sub-menu-item-list-item-${s}`, attrs: { role: "none" } }, [n("menu-item", { attrs: { text: t.text, handler: t.handler, link: t.link, "secondary-text": t.secondaryText, icon: t.icon, "is-title": t.isTitle, disabled: t.disabled, critical: t.critical, indent: t.indent, tabindex: s === e.subMenuFocusedIndex ? "0" : "-1" }, on: { click: t.clickHandler } }), t.addDivider ? n("bento-divider", { staticClass: "b-sub-menu-item-list__divider" }) : e._e()], 1);
|
|
702
703
|
}), 0)])], 1);
|
|
703
|
-
}, Ot = [], St = /* @__PURE__ */
|
|
704
|
+
}, Ot = [], St = /* @__PURE__ */ h(
|
|
704
705
|
It,
|
|
705
706
|
Bt,
|
|
706
707
|
Ot,
|
|
@@ -718,7 +719,7 @@ function Et(o, e, n, t) {
|
|
|
718
719
|
return;
|
|
719
720
|
const l = i.parentElement, u = i.cloneNode(!0);
|
|
720
721
|
u.style.position = "absolute", u.style.visibility = "hidden", l.appendChild(u), u.style.width = "max-content";
|
|
721
|
-
const
|
|
722
|
+
const b = u.offsetWidth, _ = Math.max(te, Math.min(b, ee));
|
|
722
723
|
s.value = _, u.style.width = `${_}px`;
|
|
723
724
|
const g = u.offsetHeight;
|
|
724
725
|
a.value = g, l.removeChild(u), a.value = g;
|
|
@@ -781,7 +782,7 @@ const Lt = y({
|
|
|
781
782
|
},
|
|
782
783
|
emits: [B.CLOSE, "menu-item-click"],
|
|
783
784
|
setup(o, { emit: e, expose: n }) {
|
|
784
|
-
const t = d(null), s = d(null), a = d(null), p = d(null), r = d(!1), c = d(null), i = d(o.focusLastElement ? o.data.length - 1 : 0), l = d(0), u = d(o.data.length - 1),
|
|
785
|
+
const t = d(null), s = d(null), a = d(null), p = d(null), r = d(!1), c = d(null), i = d(o.focusLastElement ? o.data.length - 1 : 0), l = d(0), u = d(o.data.length - 1), b = f(() => o.data.some((C) => C.icon)), _ = f(() => o.indentItems || b.value ? o.data.map((C) => {
|
|
785
786
|
let m = !1;
|
|
786
787
|
return C.icon || (m = !0), {
|
|
787
788
|
...C,
|
|
@@ -789,7 +790,7 @@ const Lt = y({
|
|
|
789
790
|
};
|
|
790
791
|
}) : o.data), g = async () => {
|
|
791
792
|
s.value?.children[i.value]?.children[0]?.focus();
|
|
792
|
-
}, S = () => e(B.CLOSE),
|
|
793
|
+
}, S = () => e(B.CLOSE), w = (C, m) => {
|
|
793
794
|
if (C.items) {
|
|
794
795
|
c.value = m, r.value = !0;
|
|
795
796
|
return;
|
|
@@ -801,7 +802,7 @@ const Lt = y({
|
|
|
801
802
|
i.value < u.value ? (i.value += 1, _.value[i.value].disabled && O()) : i.value = 0, g();
|
|
802
803
|
}, x = (C, m) => {
|
|
803
804
|
C?.items?.length && (c.value = m, r.value = !0);
|
|
804
|
-
},
|
|
805
|
+
}, T = () => {
|
|
805
806
|
c.value && r.value && (c.value = null, r.value = !1);
|
|
806
807
|
}, R = () => {
|
|
807
808
|
r.value = !1, c.value = null, g();
|
|
@@ -828,12 +829,12 @@ const Lt = y({
|
|
|
828
829
|
showSubMenu: r,
|
|
829
830
|
visibleSubMenuIndex: c,
|
|
830
831
|
// Methods
|
|
831
|
-
menuItemClick:
|
|
832
|
+
menuItemClick: w,
|
|
832
833
|
closeMenu: S,
|
|
833
834
|
focusPrevious: E,
|
|
834
835
|
focusNext: O,
|
|
835
836
|
focusRight: x,
|
|
836
|
-
focusLeft:
|
|
837
|
+
focusLeft: T,
|
|
837
838
|
onBackButton: R
|
|
838
839
|
};
|
|
839
840
|
}
|
|
@@ -857,15 +858,15 @@ var Mt = function() {
|
|
|
857
858
|
return e.menuItemClick(t, s);
|
|
858
859
|
} } }), t.addDivider ? n("bento-divider", { staticClass: "b-menu-item-list__divider" }) : e._e(), t.items?.length && e.showSubMenu && e.visibleSubMenuIndex === s ? n("sub-menu-item-list", { ref: "subMenuItemListRef", refInFor: !0, attrs: { items: t.items, title: t.text }, on: { back: e.onBackButton, close: e.closeMenu } }) : e._e()], 1);
|
|
859
860
|
}), 0)]);
|
|
860
|
-
},
|
|
861
|
+
}, wt = [], Tt = /* @__PURE__ */ h(
|
|
861
862
|
Lt,
|
|
862
863
|
Mt,
|
|
863
|
-
|
|
864
|
+
wt,
|
|
864
865
|
!1,
|
|
865
866
|
null,
|
|
866
867
|
"0dbdb587"
|
|
867
868
|
);
|
|
868
|
-
const Rt =
|
|
869
|
+
const Rt = Tt.exports, At = /* @__PURE__ */ Symbol("menu inverse style injection key"), Nt = {
|
|
869
870
|
i18n: { messages: Q },
|
|
870
871
|
name: "bento-menu"
|
|
871
872
|
}, Pt = /* @__PURE__ */ y({
|
|
@@ -886,13 +887,13 @@ const Rt = wt.exports, At = /* @__PURE__ */ Symbol("menu inverse style injection
|
|
|
886
887
|
},
|
|
887
888
|
emits: ["menu-item-click", "click-outside"],
|
|
888
889
|
setup(o, { expose: e, emit: n }) {
|
|
889
|
-
const t = o, s = L(), a = P(s), { t: p } = j(), r = d(null), c = d(null), i = d(!1), l = d(!1), u = d(null),
|
|
890
|
+
const t = o, s = L(), a = P(s), { t: p } = j(), r = d(null), c = d(null), i = d(!1), l = d(!1), u = d(null), b = ve("menu"), _ = I(At, d(!1));
|
|
890
891
|
ae(ue, _);
|
|
891
892
|
const g = f(() => ({
|
|
892
893
|
"b-menu--inverse": _.value
|
|
893
894
|
})), S = f(
|
|
894
895
|
() => t.menuWidth ? { width: `${ne(t.menuWidth)}px` } : null
|
|
895
|
-
),
|
|
896
|
+
), w = (m) => {
|
|
896
897
|
if (t.button?.["aria-label"])
|
|
897
898
|
return t.button?.["aria-label"];
|
|
898
899
|
if (!m)
|
|
@@ -907,7 +908,7 @@ const Rt = wt.exports, At = /* @__PURE__ */ Symbol("menu inverse style injection
|
|
|
907
908
|
i.value = !0, n(B.OPEN);
|
|
908
909
|
}, x = async (m = t.revertFocusToButton) => {
|
|
909
910
|
i.value && (i.value = !1, m && (await N(), r.value?.$el?.focus()), n(B.CLOSE));
|
|
910
|
-
},
|
|
911
|
+
}, T = (m) => {
|
|
911
912
|
m.stopPropagation(), i.value ? x() : O();
|
|
912
913
|
}, R = (m) => {
|
|
913
914
|
m.preventDefault(), l.value = !1, t.disableArrowDownOpeningMenu || O();
|
|
@@ -934,7 +935,7 @@ const Rt = wt.exports, At = /* @__PURE__ */ Symbol("menu inverse style injection
|
|
|
934
935
|
a("iconRight") && de(
|
|
935
936
|
'"bento-menu" no longer supports the "iconRight" slot. The right-aligned icon is now fixed by design.'
|
|
936
937
|
);
|
|
937
|
-
}), { __sfc: !0, props: t, emit: n, slots: s, hasSlot: a, t: p, menuButtonRef: r, menuItemListRef: c, showMenu: i, isLastElementFocused: l, popoverRef: u, menuId:
|
|
938
|
+
}), { __sfc: !0, props: t, emit: n, slots: s, hasSlot: a, t: p, menuButtonRef: r, menuItemListRef: c, showMenu: i, isLastElementFocused: l, popoverRef: u, menuId: b, isInverseColorSet: _, computedClasses: g, computedMenuWidth: S, computedMenuButtonAriaLabel: w, computedButtonPropsWithDefaults: E, openMenu: O, closeMenu: x, toggleShowMenu: T, onKeyDown: R, onKeyUp: A, menuItemClick: C, BentoToggleButton: Pe, BentoPopover: tt, BentoTeleport: rt, ChevronDownIcon: ye, OptionsVerticalIcon: ft, MenuItemList: Rt };
|
|
938
939
|
}
|
|
939
940
|
});
|
|
940
941
|
var Dt = function() {
|
|
@@ -963,13 +964,13 @@ var Dt = function() {
|
|
|
963
964
|
"left-start",
|
|
964
965
|
"left-end"
|
|
965
966
|
], teleport: e.teleport, "without-space": "" } }, [n(t.MenuItemList, { ref: "menuItemListRef", attrs: { "close-menu-on-item-select": e.closeMenuOnItemSelect, data: e.data, "focus-last-element": t.isLastElementFocused, "popover-width": e.menuWidth }, on: { close: t.closeMenu, "menu-item-click": t.menuItemClick } })], 1) : e._e()], 1) : e._e()], 1);
|
|
966
|
-
}, Ft = [], $t = /* @__PURE__ */
|
|
967
|
+
}, Ft = [], $t = /* @__PURE__ */ h(
|
|
967
968
|
Pt,
|
|
968
969
|
Dt,
|
|
969
970
|
Ft,
|
|
970
971
|
!1,
|
|
971
972
|
null,
|
|
972
|
-
"
|
|
973
|
+
"7efa907d"
|
|
973
974
|
);
|
|
974
975
|
const Wt = $t.exports, Ut = /* @__PURE__ */ Symbol(
|
|
975
976
|
"button actions with menu container injection key"
|
|
@@ -981,12 +982,12 @@ const Wt = $t.exports, Ut = /* @__PURE__ */ Symbol(
|
|
|
981
982
|
menu: d(null),
|
|
982
983
|
stackButtons: d(!1)
|
|
983
984
|
}), c = f(() => a.value ?? o.value), i = f(() => p.value ? [...e.value, p.value.$el] : e.value), l = (u) => {
|
|
984
|
-
const
|
|
985
|
+
const b = i.value?.reduce(
|
|
985
986
|
(g, S) => g + S.clientWidth + W,
|
|
986
987
|
-W - 1
|
|
987
988
|
// to remove the extra spacing, as if there's 3 buttons, only two will have a gap in between
|
|
988
989
|
), _ = c.value.clientWidth;
|
|
989
|
-
return u && (t.value = _ >= Vt && !r.value ?
|
|
990
|
+
return u && (t.value = _ >= Vt && !r.value ? b : 0), t.value > _;
|
|
990
991
|
};
|
|
991
992
|
return V(
|
|
992
993
|
() => n.value?.map((u) => [
|
|
@@ -1052,7 +1053,7 @@ var Yt = function() {
|
|
|
1052
1053
|
return [n(s.iconRight, { tag: "component", attrs: { "svg-title": s.title } })];
|
|
1053
1054
|
}, proxy: !0 } : null], null, !0) }, t.generateButtonEvents(s)))]], 2);
|
|
1054
1055
|
}), 0)]);
|
|
1055
|
-
}, Jt = [], Ht = /* @__PURE__ */
|
|
1056
|
+
}, Jt = [], Ht = /* @__PURE__ */ h(
|
|
1056
1057
|
Gt,
|
|
1057
1058
|
Yt,
|
|
1058
1059
|
Jt,
|
|
@@ -1083,4 +1084,4 @@ export {
|
|
|
1083
1084
|
H as l,
|
|
1084
1085
|
Je as u
|
|
1085
1086
|
};
|
|
1086
|
-
//# sourceMappingURL=button-actions.
|
|
1087
|
+
//# sourceMappingURL=button-actions.bkcLUE1G.js.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"button-actions.bkcLUE1G.js","sources":["../../src/components/button/components/loading-button/loading-button.types.ts","../../src/components/button/components/loading-button/loading-button.vue","../../src/components/button/components/toggle-button/toggle-button.vue","../../src/components/popover/components/popover-dismiss-button/popover-dismiss-button.vue","../../src/components/popover/components/popover-title/popover-title.vue","../../src/composables/use-click-outside/use-click-outside.ts","../../src/components/filter-bar/components/input-with-dropdown-filter/input-with-dropdown-filter.keys.ts","../../src/components/popover/popover.keys.ts","../../src/components/popover/popover.vue","../../src/components/modal/components/base-modal/base-modal.keys.ts","../../src/components/sidepanel/sidepanel.keys.ts","../../src/components/modal-fullscreen/modal-fullscreen.keys.ts","../../src/components/internal/teleport/teleport.vue","../../../ui-assets/icons-16/dist/vue/options-vertical.vue","../../src/components/menu/components/menu-item/menu-item.vue","../../src/components/menu/menu.types.ts","../../src/components/data-grid/components/data-grid-cell/data-grid-cell.keys.ts","../../src/components/menu/components/menu-list-container/menu-list-container.vue","../../src/components/menu/components/sub-menu-item-list/sub-menu-item-list.vue","../../src/components/menu/composables/use-dynamic-menu-size/use-dynamic-menu-size.ts","../../src/components/menu/components/menu-item-list/menu-item-list.vue","../../src/components/menu/menu.keys.ts","../../src/components/menu/menu.vue","../../src/components/internal/button-actions-with-menu/button-actions-with-menu.keys.ts","../../src/components/button/components/button-actions/composables/use-stack-buttons/use-stack-buttons.ts","../../src/components/button/components/button-actions/button-actions.vue"],"sourcesContent":["export enum BentoLoadingButtonState {\n START = 'start',\n LOADING = 'loading',\n SUCCESS = 'success',\n FAIL = 'fail',\n}\n\nexport type BentoLoadingButtonIconState = Partial<{ [key in BentoLoadingButtonState]: string }>;\n","<template>\n <bento-button\n :critical=\"isCritical\"\n :variant=\"variant\"\n :condensed=\"condensed\"\n :disabled=\"disabled\"\n :inverse=\"inverse\"\n class=\"b-loading-button\"\n :class=\"conditionalClasses\"\n @click.capture.stop=\"onClick\"\n >\n <slot></slot>\n\n <template v-if=\"state === 'start' && hasSlot('iconLeft')\" #iconLeft>\n <slot name=\"iconLeft\"></slot>\n </template>\n <template v-else-if=\"state !== 'start'\" #iconLeft>\n <span class=\"b-loading-button__icon\" data-testid=\"loading-button-rotating-icon\">\n <cross v-if=\"state === 'fail'\" :svg-title=\"t('failed')\" />\n <checkmark v-else-if=\"state === 'success'\" :svg-title=\"t('succeded')\" />\n <!-- TODO: Replace with new loading-indicator component -->\n <bento-loading-indicator v-else-if=\"state === 'loading'\" small :inverse=\"isInverseLoadingIndicator\" />\n </span>\n </template>\n </bento-button>\n</template>\n\n<script setup lang=\"ts\">\n import { computed, type PropType, useSlots } from 'vue';\n import { BentoLoadingButtonState } from './loading-button.types';\n import { BentoLoadingIndicator } from '@/components/loading-indicator';\n import BentoButton from '@/components/button/button.vue';\n import Cross from '@adyen/ui-assets-icons-16/vue/cross-circle-fill';\n import Checkmark from '@adyen/ui-assets-icons-16/vue/checkmark-circle-fill';\n import { useHasSlot } from '@/composables/use-has-slot/use-has-slot';\n\n import { useI18n } from '@/utils/ts/i18n';\n\n import messages from './messages.json';\n\n type MessageSchema = (typeof messages)['en-US'];\n\n const props = defineProps({\n /**\n * Reduces sizing of button\n */\n condensed: {\n type: BentoButton.props.condensed.type,\n default: false,\n },\n\n /**\n * Displays loading-button as critical\n */\n critical: {\n type: BentoButton.props.critical.type,\n default: false,\n },\n\n /**\n * Disables button functonality\n */\n disabled: {\n type: BentoButton.props.disabled.type,\n default: false,\n },\n\n /**\n * Sets color set to inverse\n */\n inverse: {\n type: Boolean,\n default: false,\n },\n\n /**\n * State of the button.\n * @values start, loading, success, fail\n */\n state: {\n type: String as PropType<BentoLoadingButtonState | `${BentoLoadingButtonState}`>,\n default: BentoLoadingButtonState.START,\n validator: (value: BentoLoadingButtonState) => Object.values(BentoLoadingButtonState).includes(value),\n },\n\n /**\n * Types of flavour of Button\n */\n variant: {\n type: BentoButton.props.variant.type,\n default: 'primary',\n validator: BentoButton.props.variant.validator,\n },\n });\n\n const emit = defineEmits([\"click\"]);\n\n const slots = useSlots();\n const hasSlot = useHasSlot(slots);\n const { t } = useI18n<{ message: MessageSchema }>({ messages });\n\n const conditionalClasses = computed(() => ({\n [`b-loading-button--${props.variant}-${BentoLoadingButtonState.LOADING}`]:\n props.state === BentoLoadingButtonState.LOADING && !props.disabled,\n 'b-loading-button--loading': props.state === BentoLoadingButtonState.LOADING && !props.disabled,\n [`b-loading-button--${props.variant}-${BentoLoadingButtonState.SUCCESS}`]:\n props.state === BentoLoadingButtonState.SUCCESS,\n [`b-loading-button--inverse`]: props.inverse,\n }));\n\n const isInverseLoadingIndicator = computed(\n () => (props.variant === 'primary' && !props.inverse) || (props.variant !== 'primary' && props.inverse)\n );\n const isCritical = computed(\n () =>\n (props.critical && props.state === BentoLoadingButtonState.START) ||\n props.state === BentoLoadingButtonState.FAIL\n );\n\n const onClick = (e: MouseEvent) => {\n // Prevent Vue3 from triggering event twice\n e.stopPropagation();\n\n if (props.state !== BentoLoadingButtonState.LOADING) {\n emit('click', e);\n }\n };\n</script>\n\n<script lang=\"ts\">\n /**\n * Loading Button component is used for cases where pressing a button starts an event that requires a loading state, e.g. when you have any sort of asynchronous action and are waiting for a response\n *\n * @example\n * import { BentoLoadingButton } from '@adyen/bento-vue2';\n *\n * export default {\n * components: { BentoLoadingButton },\n * template: `\n * <bento-loading-button state=\"loading\" variant=\"secondary\">\n * Loading\n * </bento-loading button>\n * `\n * }\n */\n export default {\n i18n: { messages },\n };\n</script>\n\n<style lang=\"scss\" scoped src=\"./loading-button.scss\" />\n","<template>\n <bento-button\n class=\"b-toggle-button\"\n v-bind=\"$attrs\"\n :aria-expanded=\"`${toggled}`\"\n :aria-pressed=\"`${toggled}`\"\n :condensed=\"condensed\"\n :class=\"conditionalClasses\"\n :disabled=\"disabled\"\n :inverse=\"inverse\"\n :variant=\"computedVariant\"\n @click.capture.stop=\"onClick\"\n >\n <template v-for=\"(_, innerSlot) of slots\" #[innerSlot]>\n <slot :name=\"innerSlot\" v-bind=\"getSlotKeyIfVue3(innerSlot)\" />\n </template>\n </bento-button>\n</template>\n\n<script setup lang=\"ts\">\n import { computed, useSlots } from 'vue';\n import BentoButton from '@/components/button/button.vue';\n import { type BentoButtonVariant } from '../../button.types';\n import { isVue3 } from 'vue-demi';\n\n const props = defineProps({\n /**\n * Reduces sizing of button\n */\n condensed: {\n type: BentoButton.props.condensed.type,\n default: false,\n },\n\n /**\n * Disables button functonality\n */\n disabled: {\n type: BentoButton.props.disabled.type,\n default: false,\n },\n\n /**\n * Sets color set to inverse\n */\n inverse: {\n type: Boolean,\n default: false,\n },\n\n /**\n * Types of flavour of Button\n * @values primary, secondary, tertiary\n */\n variant: {\n type: BentoButton.props.variant.type,\n default: 'primary',\n validator: BentoButton.props.variant.validator,\n },\n\n /**\n * The state of the button whether it is toggled or not.\n */\n toggled: {\n type: Boolean,\n default: false,\n },\n });\n\n const emit = defineEmits([\"click\", \"update:toggled\"]);\n\n const computedVariant = computed(\n () => (props.variant === 'tertiary' ? 'tertiary-with-background' : props.variant) as BentoButtonVariant\n );\n\n const conditionalClasses = computed(() => ({\n [`b-toggle-button--condensed`]: props?.condensed,\n [`b-toggle-button--${computedVariant.value}-toggled`]: props.toggled,\n [`b-toggle-button--inverse`]: props.inverse,\n }));\n\n const onClick = (e: MouseEvent) => {\n // Prevent Vue3 from triggering event twice\n e.stopPropagation();\n if (!props?.disabled) {\n emit('click', e);\n emit('update:toggled', !props.toggled);\n }\n };\n\n const slots = useSlots();\n // If we don't provide a key to `slot` in vue 3, we will get type errors\n const getSlotKeyIfVue3 = (slotName: string | number) => (isVue3 ? { key: slotName } : {});\n</script>\n\n<script lang=\"ts\">\n /**\n * Toggle button is used to switch between two states (example: menu shown, menu hidden).\n * It functions as a regular button but retains its state to indicate whether the associated menu or element is active or inactive.\n *\n * @example\n * import { BentoToggleButton } from '@adyen/bento-vue2';\n *\n * export default {\n * components: { BentoToggleButton },\n * template: `\n * <bento-toggle-button state=\"toggled\" variant=\"secondary\">\n * Button that can be toggled\n * </bento-toggle-button>\n * `\n * }\n */\n export default {};\n</script>\n\n<style lang=\"scss\" scoped src=\"./toggle-button.scss\" />\n","<template>\n <bento-button :class=\"conditionalClass\" variant=\"tertiary\" @click=\"$emit('click')\">\n <template #iconLeft>\n <cross-icon svg-title=\"dismiss\" />\n </template>\n </bento-button>\n</template>\n\n<script lang=\"ts\">\n import { computed, defineComponent } from 'vue';\n import BentoButton from '@/components/button/button.vue';\n import CrossIcon from '@adyen/ui-assets-icons-16/vue/cross';\n\n export default defineComponent({\n name: 'bento-popover-dismiss-button',\n components: { BentoButton, CrossIcon },\n props: {\n onImage: {\n type: Boolean,\n default: false,\n },\n },\n setup(props) {\n const conditionalClass = computed(() => ({ 'b-popover-dismiss-button--on-image': props.onImage }));\n\n return {\n // Values\n conditionalClass,\n };\n },\n });\n</script>\n\n<style lang=\"scss\" scoped src=\"./popover-dismiss-button.scss\" />\n","<template>\n <bento-typography :strongest=\"isStrongest\" :variant=\"titleVariant\" el=\"span\">\n {{ title }}\n </bento-typography>\n</template>\n\n<script lang=\"ts\">\n import { computed, defineComponent } from 'vue';\n import { BentoTypography, BentoTypographyVariant } from '@/components/typography';\n\n export default defineComponent({\n components: { BentoTypography },\n props: {\n /**\n * Indicates if the popover contains an image.\n */\n isImageTitle: { type: Boolean, default: false },\n\n /**\n * Indicates the title you want to give the popover.\n */\n title: { type: String, default: null },\n },\n setup(props) {\n // Use strongest only when it has no image\n const isStrongest = computed(() => !props.isImageTitle);\n\n // If an image is present, change the variant from BODY to SUBTITLE and remove the \"strongest\" property of the title\n const titleVariant = computed(() =>\n props.isImageTitle ? BentoTypographyVariant.SUBTITLE : BentoTypographyVariant.BODY\n );\n\n return {\n // Values\n isStrongest,\n titleVariant,\n };\n },\n });\n</script>\n","import { onClickOutside } from '@/directives/click-outside/on-click-outside';\nimport { type OnClickOutsideHandler, type OnClickOutsideOptions } from '@/directives/click-outside/types';\nimport { type MaybeElementRef } from '@/types/elements';\nimport { onMounted, onUnmounted } from 'vue';\n\n/**\n * Composable to listen for clicks outside of an element ref.\n *\n * @param {MaybeElementRef} target - HTML Element or \"ref\" to an Element on which the click outside listener will be attached to\n * @param {OnClickOutsideHandler} handler - Function that will be called when the listener gets triggered\n * @param {OnClickOutsideOptions} options - Options to be passed to the listener\n */\nexport const useClickOutside = <T extends OnClickOutsideOptions>(\n target: MaybeElementRef,\n handler: OnClickOutsideHandler,\n options: T = {} as T\n) => {\n let onClickOutsideStop: () => void;\n\n onMounted(() => {\n onClickOutsideStop = onClickOutside(target, handler, options);\n });\n\n onUnmounted(() => {\n if (onClickOutsideStop) {\n onClickOutsideStop();\n\n onClickOutsideStop = null;\n }\n });\n};\n","export const INPUT_FILTER_WITH_DROPDOWN_POPOVER_INJECTION_KEY = Symbol('input field popover injection key');\n","export const POPOVER_OFFSET_INJECTION_KEY = Symbol('popover offset injection key');\n","<template>\n <Transition name=\"b-popover__animation\">\n <popper-container\n v-if=\"open\"\n :id=\"computedAttributes['id']\"\n :aria-role=\"computedAttributes.role\"\n :aria-label=\"$attrs['aria-label'] ?? title\"\n :arrow=\"{ classes: ['b-popover__arrow'] }\"\n :disabled-focus-trap=\"disableFocusTrap\"\n :trap-all=\"trapAll\"\n :trap-all-options=\"trapAllOptions\"\n :class=\"conditionalClasses\"\n :fallback-position=\"fallbackPosition\"\n :fallback-strategy=\"fallbackStrategy\"\n :fixed-positioning=\"fixedPositioning\"\n :match-width=\"matchWidth\"\n :offset=\"[0, offset]\"\n :position=\"position\"\n :target-element=\"targetElement\"\n class=\"b-popover\"\n @placement=\"$emit('placement', $event)\"\n >\n <div v-if=\"hasSlot('image')\" class=\"b-popover__image\">\n <div v-if=\"dismissible\" class=\"b-popover__image-dismiss-button\">\n <bento-popover-dismiss-button on-image @click=\"dismissPopover\" />\n </div>\n <slot name=\"image\"></slot>\n </div>\n <div v-if=\"title\" class=\"b-popover__header\">\n <div class=\"b-popover__header-title\">\n <slot v-if=\"hasSlot('headerIcon')\" name=\"headerIcon\"></slot>\n <bento-popover-title :title=\"title\" :is-image-title=\"!!hasSlot('image')\" />\n </div>\n <div v-if=\"dismissible && !hasSlot('image')\">\n <bento-popover-dismiss-button @click=\"dismissPopover\" />\n </div>\n </div>\n\n <div v-if=\"hasSlot('default')\" class=\"b-popover__content\" :class=\"contentConditionalClasses\">\n <slot></slot>\n </div>\n\n <div v-if=\"actions\" class=\"b-popover__footer\">\n <bento-button-actions :actions=\"actions\" :layout=\"actionsLayout\"></bento-button-actions>\n </div>\n </popper-container>\n </Transition>\n</template>\n\n<script setup lang=\"ts\">\n import { computed, inject, useAttrs, useSlots } from 'vue';\n\n import BentoPopoverDismissButton from './components/popover-dismiss-button/popover-dismiss-button.vue';\n import BentoPopoverTitle from './components/popover-title/popover-title.vue';\n import BentoButtonActions from '@/components/button/components/button-actions/button-actions.vue';\n import { PopperContainer, PopperContainerAriaRole } from '@/components/popper-container';\n\n import { useHasSlot } from '@/composables/use-has-slot/use-has-slot';\n import { INPUT_FILTER_WITH_DROPDOWN_POPOVER_INJECTION_KEY } from '@/components/filter-bar/components/input-with-dropdown-filter/input-with-dropdown-filter.keys';\n import { POPOVER_OFFSET_INJECTION_KEY } from './popover.keys';\n\n import type { Placement } from '@floating-ui/vue';\n import type { BentoPopoverProps } from './popover.types';\n\n const DEFAULT_OFFSET = 2;\n\n const props = defineProps({\n actions: { default: undefined },\n actionsLayout: { default: 'buttons-end' },\n divider: { type: Boolean, default: false },\n disableFocusTrap: { type: Boolean, default: false },\n dismissible: { type: Boolean, default: false },\n fallbackPosition: { default: () => ['bottom-start', 'right-start', 'top-start', 'left-start'] },\n fallbackStrategy: { default: undefined },\n fitContent: { type: Boolean, default: false },\n fixedPositioning: { type: Boolean, default: false },\n matchWidth: { type: Boolean, default: false },\n open: { type: Boolean, default: false },\n large: { type: Boolean, default: false },\n position: { default: 'bottom-start' },\n small: { type: Boolean, default: false },\n title: { default: undefined },\n targetElement: null,\n trapAll: { type: Boolean, default: false },\n trapAllOptions: { default: undefined },\n withoutSpace: { type: Boolean, default: false },\n overflowVisible: { type: Boolean, default: false }\n});\n\n const emit = defineEmits([\"dismiss\", \"placement\"]);\n\n const slots = useSlots();\n const attrs = useAttrs();\n\n const computedAttributes = computed(() => ({\n id: attrs.id?.toString() as string,\n role: attrs?.['role'] === null ? undefined : PopperContainerAriaRole.POPOVER,\n }));\n\n const offset = inject<number>(POPOVER_OFFSET_INJECTION_KEY, DEFAULT_OFFSET);\n\n const isOverflowVisible = inject(INPUT_FILTER_WITH_DROPDOWN_POPOVER_INJECTION_KEY, false);\n\n const conditionalClasses = computed(() => ({\n 'b-popover--small': props.small && !props.large,\n 'b-popover--with-divider': !!props.divider,\n 'b-popover--large': props.large && !props.small,\n 'b-popover--fit-content': props.fitContent,\n 'b-popover--without-space': props.withoutSpace,\n 'b-popover--overflow-visible': props.overflowVisible || isOverflowVisible,\n }));\n\n const contentConditionalClasses = computed(() => ({\n 'b-popover__content--with-title': !!props.title,\n }));\n\n const dismissPopover = () => emit('dismiss');\n\n const hasSlot = useHasSlot(slots);\n</script>\n\n<script lang=\"ts\">\n /**\n * Example description of the component...\n *\n * @example\n * import { BentoPopover } from '@adyen/adl-vue2';\n *\n * export default {\n * components: { BentoPopover },\n * template: `\n * <bento-popover id=\"your-popover-id\">\n * ...Example code of the component\n * </bento-popover>\n * `\n * }\n */\n export default {};\n</script>\n\n<style lang=\"scss\" scoped src=\"./popover.scss\" />\n","export const MODAL_DIALOG_ID_INJECTION_KEY = Symbol('modal injection key');\n","export const SIDEPANEL_DIALOG_ID_INJECTION_KEY = Symbol('sidepanel children element injection key');\n","export const MODAL_FULLSCREEN_DIALOG_ID_INJECTION_KEY = Symbol('modal fullscreen children element injection key');\nexport const MODAL_FULLSCREEN_TITLE_ID_INJECTION_KEY = Symbol('modal fullscreen title id injection key');\nexport const MODAL_FULLSCREEN_CLOSE_INJECTION_KEY = Symbol('modal fullscreen close injection key');\n","<!-- Taken from: https://github.com/Mechazawa/vue2-teleport/blob/master/src/Teleport.vue -->\n<template>\n <div v-if=\"isVue2\" :class=\"classes\">\n <slot />\n </div>\n <Teleport v-else :to=\"to || teleportTarget\" :disabled=\"disabled\">\n <slot />\n </Teleport>\n</template>\n\n<script setup lang=\"ts\">\n import { isVue2 } from 'vue-demi';\n import { computed, defineComponent, inject, type PropType } from 'vue';\n import { MODAL_DIALOG_ID_INJECTION_KEY } from '@/components/modal/components/base-modal/base-modal.keys';\n import { SIDEPANEL_DIALOG_ID_INJECTION_KEY } from '@/components/sidepanel/sidepanel.keys';\n import { MODAL_FULLSCREEN_DIALOG_ID_INJECTION_KEY } from '@/components/modal-fullscreen/modal-fullscreen.keys';\n import type { BentoTeleportProps } from './teleport.types';\n\n // inject() MUST be called during component setup (not inside an Options API\n // computed). In Vue 3.5+ calling inject outside of setup returns undefined,\n // which caused the \"Invalid Teleport target: undefined\" warning.\n const injectedModalKey = inject<string>(MODAL_DIALOG_ID_INJECTION_KEY, '');\n const injectedModalFullscreenKey = inject<string>(MODAL_FULLSCREEN_DIALOG_ID_INJECTION_KEY, '');\n const injectedSidepanelKey = inject<string>(SIDEPANEL_DIALOG_ID_INJECTION_KEY, '');\n\n // Exposed to the template. Does not consider the `to` prop since that's\n // handled at the template call-site as `to || teleportTarget`.\n const teleportTarget = computed(() => {\n const key = injectedModalKey || injectedModalFullscreenKey || injectedSidepanelKey;\n return key ? `#${key}` : 'body';\n });\n</script>\n\n<script lang=\"ts\">\n export default defineComponent({\n name: 'teleport',\n props: {\n to: {\n type: String as PropType<BentoTeleportProps['to']>,\n default: '',\n },\n where: {\n type: String,\n default: 'after',\n },\n disabled: Boolean as PropType<BentoTeleportProps['disabled']>,\n },\n data: () => ({\n childObserver: null,\n nodes: [],\n waiting: false,\n observer: null,\n parent: null,\n isVue2,\n }),\n computed: {\n classes() {\n if (this.disabled) {\n return ['b-teleport'];\n }\n\n return ['b-teleport', 'b-teleport--hidden'];\n },\n // Only used by the Vue 2 polyfill path for internal DOM-move\n // target lookup (`document.querySelector(this.defaultTo)` in\n // `move()`). Vue 3 uses `teleportTarget` from <script setup>\n // directly in the template (`:to=\"to || teleportTarget\"`).\n //\n // Vue 2 supports `inject()` during render-time computed\n // evaluation, so we resolve the modal/sidepanel injection keys\n // here. On Vue 3 this computed is never read because the\n // template branches on `isVue2` and the Vue 3 branch uses the\n // setup-bound `teleportTarget` instead.\n defaultTo() {\n if (this.to) {\n return this.to;\n }\n const injectionKey =\n inject<string>(MODAL_DIALOG_ID_INJECTION_KEY, '') ||\n inject<string>(MODAL_FULLSCREEN_DIALOG_ID_INJECTION_KEY, '') ||\n inject<string>(SIDEPANEL_DIALOG_ID_INJECTION_KEY, '');\n return injectionKey ? `#${injectionKey}` : 'body';\n },\n },\n watch: {\n to: 'maybeMove',\n where: 'maybeMove',\n disabled(value) {\n if (!isVue2) {\n return;\n }\n\n if (value) {\n this.disable();\n // Ensure all event done.\n this.$nextTick(() => {\n this.teardownObserver();\n });\n } else {\n this.bootObserver();\n this.move();\n }\n },\n },\n mounted() {\n // In Vue 3, the built-in <Teleport> handles DOM movement.\n // Manual DOM manipulation and MutationObservers must be skipped\n // to avoid conflicting with Vue 3's virtual DOM tracking.\n if (!isVue2) {\n return;\n }\n\n // Store a reference to the nodes\n this.nodes = Array.from(this.$el.childNodes);\n\n if (!this.disabled) {\n this.bootObserver();\n }\n\n // Move slot content to target\n this.maybeMove();\n },\n beforeDestroy() {\n // In Vue 3, cleanup is not needed as the built-in <Teleport> manages its own lifecycle.\n if (!isVue2) {\n return;\n }\n\n // Fix nodes reference\n this.nodes = this.getComponentChildrenNode();\n\n // Move back\n this.disable();\n\n // Stop observing\n this.teardownObserver();\n },\n methods: {\n // Using a fragment is faster because it'll trigger only a single reflow\n // See https://developer.mozilla.org/en-US/docs/Web/API/DocumentFragment\n getFragment(): DocumentFragment {\n const fragment = document.createDocumentFragment();\n\n this.nodes.forEach(node => fragment.appendChild(node));\n\n return fragment;\n },\n disable() {\n this.$el.appendChild(this.getFragment());\n this.parent = null;\n },\n move() {\n this.waiting = false;\n\n this.parent = document.querySelector(this.defaultTo);\n\n if (!this.parent) {\n this.disable();\n\n this.waiting = true;\n\n return;\n }\n\n if (this.where === 'before') {\n this.parent.prepend(this.getFragment());\n } else {\n this.parent.appendChild(this.getFragment());\n }\n },\n maybeMove() {\n if (!isVue2 || this.disabled) {\n return;\n }\n this.move();\n },\n onMutations(mutations) {\n // Makes sure the move operation is only done once\n let shouldMove = false;\n\n for (let i = 0; i < mutations.length; i++) {\n const mutation = mutations[i];\n const filteredAddedNodes = Array.from(mutation.addedNodes).filter(\n node => !this.nodes.includes(node)\n );\n\n if (Array.from(mutation.removedNodes).includes(this.parent)) {\n this.disable();\n this.waiting = !this.disabled;\n } else if (this.waiting && filteredAddedNodes.length > 0) {\n shouldMove = true;\n }\n }\n\n if (shouldMove) {\n this.move();\n }\n },\n bootObserver() {\n if (this.observer) {\n return;\n }\n\n this.observer = new MutationObserver(mutations => this.onMutations(mutations));\n\n this.observer.observe(document.body, {\n childList: true,\n subtree: true,\n attributes: false,\n characterData: false,\n });\n\n if (this.childObserver) {\n return;\n }\n // watch childNodes change\n this.childObserver = new MutationObserver(mutations => {\n const childChangeRecord = mutations.find(i => i.target === this.$el);\n if (childChangeRecord) {\n // Remove old nodes before update position.\n this.nodes.forEach(node => node.parentNode && node.parentNode.removeChild(node));\n this.nodes = this.getComponentChildrenNode();\n this.maybeMove();\n }\n });\n\n this.childObserver.observe(this.$el, {\n childList: true,\n subtree: false,\n attributes: false,\n characterData: false,\n });\n },\n teardownObserver() {\n if (this.observer) {\n this.observer.disconnect();\n this.observer = null;\n }\n if (this.childObserver) {\n this.childObserver.disconnect();\n this.childObserver = null;\n }\n },\n getComponentChildrenNode() {\n // Vue3\n if (!isVue2) {\n return [];\n }\n\n // Trick for Vue3 type checking\n return (this as any).$vnode.componentOptions.children.map(i => i.elm).filter(i => i);\n },\n },\n });\n</script>\n\n<style lang=\"scss\" scoped src=\"./teleport.scss\" />\n","\n<template>\n <svg role=\"img\" v-bind=\"$attrs\" class=\"ui-assets-icons-16\" xmlns=\"http://www.w3.org/2000/svg\" width=\"16\" height=\"16\" fill=\"none\"><title v-if=\"$attrs['svg-title']\">{{ $attrs['svg-title'] }}</title><path fill=\"#001222\" d=\"M8 4C8.29667 4 8.58668 3.91203 8.83335 3.74721C9.08003 3.58238 9.27229 3.34811 9.38582 3.07403C9.49935 2.79994 9.52906 2.49834 9.47118 2.20737C9.4133 1.91639 9.27044 1.64912 9.06066 1.43934C8.85088 1.22956 8.58361 1.0867 8.29264 1.02882C8.00167 0.970945 7.70006 1.00065 7.42598 1.11418C7.15189 1.22771 6.91762 1.41997 6.7528 1.66665C6.58797 1.91332 6.5 2.20333 6.5 2.5C6.5 2.89783 6.65803 3.27936 6.93934 3.56066C7.22064 3.84197 7.60218 4 8 4Z\"/><path fill=\"#001222\" d=\"M8 15C8.29667 15 8.58668 14.912 8.83335 14.7472C9.08003 14.5824 9.27229 14.3481 9.38582 14.074C9.49935 13.7999 9.52906 13.4983 9.47118 13.2074C9.4133 12.9164 9.27044 12.6491 9.06066 12.4393C8.85088 12.2296 8.58361 12.0867 8.29264 12.0288C8.00167 11.9709 7.70006 12.0007 7.42598 12.1142C7.15189 12.2277 6.91762 12.42 6.7528 12.6666C6.58797 12.9133 6.5 13.2033 6.5 13.5C6.5 13.8978 6.65803 14.2794 6.93934 14.5607C7.22064 14.842 7.60218 15 8 15Z\"/><path fill=\"#001222\" d=\"M8.83335 9.24721C8.58668 9.41203 8.29667 9.5 8 9.5C7.60218 9.5 7.22064 9.34197 6.93934 9.06066C6.65803 8.77936 6.5 8.39783 6.5 8C6.5 7.70333 6.58797 7.41332 6.7528 7.16665C6.91762 6.91997 7.15189 6.72771 7.42598 6.61418C7.70006 6.50065 8.00167 6.47094 8.29264 6.52882C8.58361 6.5867 8.85088 6.72956 9.06066 6.93934C9.27044 7.14912 9.4133 7.41639 9.47118 7.70737C9.52906 7.99834 9.49935 8.29994 9.38582 8.57403C9.27229 8.84811 9.08003 9.08238 8.83335 9.24721Z\"/></svg>\n</template>\n<script setup>\n import { getCurrentInstance } from 'vue';\n import '../css/main.css';\n\n const instance = getCurrentInstance();\n const uuid = String(instance?.uid ?? instance?.proxy?._uid);\n</script>\n","<template>\n <base-button\n class=\"b-menu-item\"\n role=\"menuitem\"\n :class=\"conditionalClasses\"\n :disabled=\"disabled\"\n :link=\"link\"\n tabindex=\"-1\"\n @click=\"onClick\"\n >\n <template v-if=\"icon\" #iconLeft>\n <component :is=\"icon\" class=\"b-menu-item__icon-left\" aria-hidden=\"true\" />\n </template>\n <template #default>\n <bento-typography el=\"span\" variant=\"body\" :stronger=\"isTitle\" class=\"b-menu-item__primary-text\">\n {{ text }}\n </bento-typography>\n <span v-if=\"isExternalLink\" class=\"b-menu-item__external-link-icon\">\n <external-link-icon aria-hidden=\"true\" />\n </span>\n <bento-typography\n v-else-if=\"computedSecondaryText\"\n el=\"span\"\n variant=\"body\"\n class=\"b-menu-item__secondary-text\"\n >\n {{ computedSecondaryText }}\n </bento-typography>\n </template>\n <template v-if=\"chevron\" #iconRight><chevron-right-icon aria-hidden=\"true\" /></template>\n </base-button>\n</template>\n\n<script lang=\"ts\">\n import { BaseButton, BentoBaseButtonEvent } from '@/components/internal/base-button';\n import { BentoTypography } from '@/components/typography';\n import { truncate } from '@/utils/ts/truncate';\n import ChevronRightIcon from '@adyen/ui-assets-icons-16/vue/chevron-right';\n import ExternalLinkIcon from '@adyen/ui-assets-icons-16/vue/external-link';\n import { computed, defineComponent, type PropType } from 'vue';\n import { type BentoMenuItem } from './menu-item.types';\n\n /**\n * Menu item component to render items in a menu. For internal use only.\n */\n export default defineComponent({\n name: 'menu-item',\n components: { BaseButton, BentoTypography, ChevronRightIcon, ExternalLinkIcon },\n props: {\n /**\n * menu-item text that gets displayed as the main label\n */\n text: {\n type: String,\n required: true,\n },\n /**\n * Optional click event handler.\n */\n handler: {\n type: Function as PropType<BentoMenuItem['handler']>,\n default: undefined,\n },\n /**\n * Renders the menu-item as a link. Accepts the same props as `BentoLink`.\n */\n link: {\n type: Object as PropType<BentoMenuItem['link']>,\n default: undefined,\n },\n /**\n * menu-item text that gets displayed as the secondary label\n */\n secondaryText: {\n type: String,\n default: null,\n },\n /**\n * Optional chevron icon displayed to the right of the menu-item\n */\n chevron: {\n type: Boolean,\n default: false,\n },\n /**\n * Optional icon displayed to the left of the menu-item\n */\n icon: {\n // Types for Vue2 (Object) and Vue3 (Function)\n // TODO: Remove Object when fully migrated to Vue3\n type: [Object, Function] as PropType<BentoMenuItem['icon']>,\n default: null,\n },\n /**\n * Disables menu-item button functionality\n */\n disabled: {\n type: Boolean,\n default: false,\n },\n /**\n * Displays an indent variant od the menu-item\n */\n indent: {\n type: Boolean,\n default: false,\n },\n /**\n * Displays menu-item button as critical\n */\n critical: {\n type: Boolean,\n default: false,\n },\n /**\n * Renders the text in a bold variant\n */\n isTitle: {\n type: Boolean,\n default: false,\n },\n },\n emits: [BentoBaseButtonEvent.CLICK],\n setup(props, { emit }) {\n const MAX_SECONDARY_TEXT_LENGTH = 10;\n\n const conditionalClasses = computed(() => ({\n 'b-menu-item--critical': props.critical,\n 'b-menu-item--disabled': props.disabled,\n 'b-menu-item--indent': props.indent,\n }));\n\n const computedSecondaryText = computed(() => truncate(props.secondaryText, MAX_SECONDARY_TEXT_LENGTH));\n\n const isExternalLink = computed(() => !!props.link?.external);\n\n const onClick = (e: MouseEvent) => {\n e.stopPropagation();\n props.handler?.();\n emit(BentoBaseButtonEvent.CLICK);\n };\n\n return {\n // Values\n conditionalClasses,\n computedSecondaryText,\n isExternalLink,\n\n // Methods\n onClick,\n };\n },\n });\n</script>\n\n<style lang=\"scss\" scoped src=\"./menu-item.scss\" />\n","import { type OnClickOutsideOptions } from '@/directives/click-outside/types';\nimport { PopperContainerPosition } from '../popper-container/popper-container.types';\nimport { type BentoMenuItem } from './components/menu-item/menu-item.types';\nimport { type HTMLAttributes } from 'vue';\nimport { type BentoButtonProps } from '../button/button.types';\n\n/**\n * @deprecated Since v2.0.0. Use string literal instead.\n */\nconst BentoMenuPositions = { ...PopperContainerPosition };\ntype BentoMenuPositions = PopperContainerPosition;\n\nexport type * from './components/menu-item/menu-item.types';\n\nexport enum BentoMenuEvent {\n BACK = 'back',\n CLOSE = 'close',\n OPEN = 'open',\n}\n\nexport interface BentoMenuButtonProps {\n 'aria-label'?: HTMLAttributes['aria-label'];\n condensed?: boolean;\n disabled?: boolean;\n variant?: BentoButtonProps['variant'];\n}\n\nexport interface BentoMenuProps {\n /**\n * Object containing props to change the menu button appearance. Accepts the same props present in BentoButton.\n */\n button?: BentoMenuButtonProps;\n /**\n * Controls if the menu should close when an item is clicked.\n * Defaults to `true`.\n */\n closeMenuOnItemSelect?: boolean;\n /**\n * The data to be displayed in the list\n */\n data: Array<BentoMenuItem>;\n /**\n * Disables opening the menu when the down arrow key is pressed.\n */\n disableArrowDownOpeningMenu?: boolean;\n /**\n * The position of where the menu should open.\n */\n menuPosition?: BentoMenuPositions | `${BentoMenuPositions}`;\n /**\n * Instructs the menu popover to be visible outside of the containing container.\n * @see {@link https://floating-ui.com/docs/usefloating#strategy}\n */\n menuFixedPositioning?: boolean;\n /**\n * Sets a custom width for the menu popover. Values are clamped between 150 - 350.\n */\n menuWidth?: number;\n /**\n * Returns focus to the menu button after popover is closed.\n * Disable if focus management is delegated to the parent component.\n * Defaults to `true`.\n */\n revertFocusToButton?: boolean;\n /**\n * Can be used to set the inner teleport component to render the menu's popover in the root `body` DOM node\n * (or `dialog` if popover is inside a dialog).\n */\n teleport?: boolean;\n /**\n * Can be used to set the inner teleport component to render the menu's popover in the root `body` DOM node\n * (or `dialog` if popover is inside a dialog).\n *\n * @see {@link OnClickOutsideOptions}\n */\n closeOnClickOutsideOptions?: OnClickOutsideOptions;\n}\n","export const DATA_GRID_CELL_MENU_REGISTERING_INJECTION_KEY = Symbol('menu registering injection key');\n","<template>\n <div\n ref=\"menuListContainerRef\"\n class=\"b-menu-list-container\"\n data-testid=\"menu-list-container\"\n v-on=\"menuListContainerEvents\"\n ><slot></slot\n ></div>\n</template>\n\n<script setup lang=\"ts\">\n import { DATA_GRID_CELL_MENU_REGISTERING_INJECTION_KEY } from '@/components/data-grid/components/data-grid-cell/data-grid-cell.keys';\n import { inject, type Ref, ref, type UnwrapRef } from 'vue';\n\n const menuListContainerRef = ref<HTMLDivElement>();\n const menuListContainerEvents = ref({});\n const registeringAndMousingOut = inject<\n | {\n registerMenuContainerElement: (menuContainerElement: Ref<UnwrapRef<HTMLDivElement>>) => void;\n menuMouseLeave: (e: MouseEvent) => void;\n }\n | false\n >(DATA_GRID_CELL_MENU_REGISTERING_INJECTION_KEY, false);\n\n // This is needed by the DataGridCell component in order to keep track of if a teleported menu\n // is being hovered over in the DataGridCellActions.\n if (registeringAndMousingOut) {\n const { registerMenuContainerElement } = registeringAndMousingOut;\n registerMenuContainerElement(menuListContainerRef);\n menuListContainerEvents.value = {\n mouseleave: registeringAndMousingOut?.menuMouseLeave,\n };\n }\n</script>\n\n<script lang=\"ts\">\n /**\n * Menu list container component to set the correct styling in a menu list. For internal use only.\n */\n export default {\n name: 'bento-menu-list-container',\n };\n</script>\n\n<style lang=\"scss\" scoped src=\"./menu-list-container.scss\" />\n","<template>\n <transition name=\"b-sub-menu-item-list__transition\" appear>\n <menu-list-container class=\"b-sub-menu-item-list\">\n <ul\n ref=\"subMenuItemListRefLocal\"\n role=\"menu\"\n class=\"b-sub-menu-item-list__list\"\n @keydown.down.stop=\"focusNext\"\n @keydown.up.stop=\"focusPrevious\"\n @keydown.esc.stop=\"onBackButton\"\n >\n <li v-for=\"(item, index) in computedItems\" :key=\"`sub-menu-item-list-item-${index}`\" role=\"none\">\n <menu-item\n :text=\"item.text\"\n :handler=\"item.handler\"\n :link=\"item.link\"\n :secondary-text=\"item.secondaryText\"\n :icon=\"item.icon\"\n :is-title=\"item.isTitle\"\n :disabled=\"item.disabled\"\n :critical=\"item.critical\"\n :indent=\"item.indent\"\n :tabindex=\"index === subMenuFocusedIndex ? '0' : '-1'\"\n @click=\"item.clickHandler\"\n />\n <bento-divider v-if=\"item.addDivider\" class=\"b-sub-menu-item-list__divider\" />\n </li>\n </ul>\n </menu-list-container>\n </transition>\n</template>\n\n<script lang=\"ts\">\n import { computed, defineComponent, onMounted, type PropType, ref } from 'vue';\n import { BentoDivider } from '@/components/divider';\n import { type BentoMenuItem, MenuItem } from '../menu-item';\n import MenuListContainer from '../menu-list-container/menu-list-container.vue';\n import ChevronLeftIcon from '@adyen/ui-assets-icons-16/vue/chevron-left';\n import { BentoMenuEvent } from '../../menu.types';\n import messages from '../../messages.json';\n\n /**\n * SubMenuItemList component to render a submenu with the sliding transition. For internal use only.\n */\n export default defineComponent({\n i18n: { messages },\n name: 'sub-menu-item-list',\n components: { BentoDivider, MenuItem, MenuListContainer },\n props: {\n items: {\n type: Array as PropType<Array<BentoMenuItem>>,\n required: true,\n },\n title: {\n type: String,\n required: true,\n },\n },\n emits: [BentoMenuEvent.CLOSE, BentoMenuEvent.BACK],\n setup(props, { emit }) {\n const subMenuItemListRefLocal = ref(null);\n const subMenuFocusedIndex = ref(0);\n const numberOfItems = ref(props.items.length);\n\n const closeMenu = () => emit(BentoMenuEvent.CLOSE);\n\n const onBackButton = () => emit(BentoMenuEvent.BACK);\n\n const computedItems = computed(() => {\n const items = props.items?.map(el => ({\n ...el,\n indent: !el.icon,\n isTitle: false,\n clickHandler: closeMenu,\n }));\n return [\n {\n text: props.title,\n secondaryText: null,\n critical: false,\n icon: ChevronLeftIcon,\n isTitle: true,\n disabled: false,\n indent: false,\n link: undefined,\n handler: onBackButton,\n clickHandler: onBackButton,\n addDivider: true,\n },\n ...items,\n ];\n });\n\n const focusItem = async () => {\n subMenuItemListRefLocal.value?.children?.[subMenuFocusedIndex.value]?.children?.[0]?.focus();\n };\n\n onMounted(async () => {\n // Using setTimeout otherwise the sliding animation doesn't work anymore. The timeout imer is the same as the transition time (0.15s)\n setTimeout(() => focusItem(), 150);\n });\n\n const focusPrevious = () => {\n if (subMenuFocusedIndex.value > 0) {\n subMenuFocusedIndex.value -= 1;\n if (computedItems.value[subMenuFocusedIndex.value].disabled) {\n focusPrevious();\n }\n } else {\n subMenuFocusedIndex.value = numberOfItems.value;\n }\n focusItem();\n };\n\n const focusNext = () => {\n if (subMenuFocusedIndex.value < numberOfItems.value) {\n subMenuFocusedIndex.value += 1;\n if (computedItems.value[subMenuFocusedIndex.value].disabled) {\n focusNext();\n }\n } else {\n subMenuFocusedIndex.value = 0;\n }\n focusItem();\n };\n\n return {\n // Enums\n BentoMenuEvent,\n\n // Values\n subMenuItemListRefLocal,\n subMenuFocusedIndex,\n ChevronLeftIcon,\n computedItems,\n\n // Methods\n closeMenu,\n onBackButton,\n focusPrevious,\n focusNext,\n };\n },\n });\n</script>\n\n<style lang=\"scss\" scoped src=\"./sub-menu-item-list.scss\" />\n","import { computed, type CSSProperties, nextTick, type Ref, ref, watch } from 'vue';\n\n// Helper type for the expected shape of the sub-menu ref\ninterface SubMenuRef {\n $el: HTMLElement;\n}\n\nconst MAX_MENU_WIDTH = 350;\nconst MIN_MENU_WIDTH = 150;\n\nexport function clampMenuWidth(width?: number) {\n return Math.max(MIN_MENU_WIDTH, Math.min(width, MAX_MENU_WIDTH));\n}\n\n/**\n * A composable that dynamically calculates the width and height for a menu container\n * based on the content of a conditionally rendered sub-menu.\n *\n * @param subMenuItemListRef A ref to the sub-menu component instance(s).\n * @param visibleSubMenuIndex A ref indicating which sub-menu is visible.\n * @param showSubMenu A ref indicating if any sub-menu is visible.\n * @param popoverWidthRef A ref paired to the menu-width prop that sets the popover width\n * @returns A computed style object to be bound to the menu container.\n */\nexport function useDynamicMenuSize(\n subMenuItemListRef: Ref<Array<SubMenuRef> | null>,\n visibleSubMenuIndex: Ref<number | null>,\n showSubMenu: Ref<boolean>,\n popoverWidthRef?: Ref<number | null>\n) {\n const subMenuWidth = ref(0);\n const subMenuHeight = ref(0);\n\n /**\n * Calculates an element's dimensions in stages using an invisible clone\n * to prevent visual flicker.\n *\n * 1. **Clone**: Creates a 'ghost' copy of the element and adds it to the\n * DOM invisibly.\n * 2. **Measure Ideal Width**: Sets the ghost's width to 'max-content' to find\n * its natural, unwrapped width.\n * 3. **Calculate Final Width**: Clamps the ideal width between the defined\n * MIN and MAX constants.\n * 4. **Measure Final Height**: Applies the final clamped width to the ghost,\n * allowing content to wrap, and then measures the resulting height.\n * 5. **Cleanup**: Removes the ghost element from the DOM.\n */\n const measureSubMenuStyle = (element: HTMLElement) => {\n if (!element || !element.parentElement) {\n return;\n }\n\n // Mount it on the parent element to allow proper height size, otherwise it will be 0\n const parent = element.parentElement;\n\n // Measure the unwrapped width\n const ghost = element.cloneNode(true) as HTMLElement;\n ghost.style.position = 'absolute';\n ghost.style.visibility = 'hidden';\n parent.appendChild(ghost);\n\n // Measure the unwrapped width\n ghost.style.width = 'max-content';\n const unwrappedWidth = ghost.offsetWidth;\n\n // Calculate and store the FINAL clamped width\n const clampedWidth = Math.max(MIN_MENU_WIDTH, Math.min(unwrappedWidth, MAX_MENU_WIDTH));\n subMenuWidth.value = clampedWidth;\n\n // Measure the wrapped height using the final width\n ghost.style.width = `${clampedWidth}px`;\n const height = ghost.offsetHeight;\n\n // Update the height ref with the correct, wrapped height\n subMenuHeight.value = height;\n\n parent.removeChild(ghost);\n // Update the height ref with the correct, wrapped height\n subMenuHeight.value = height;\n };\n\n watch([visibleSubMenuIndex, showSubMenu], async ([newIndex]) => {\n if (newIndex !== null) {\n await nextTick();\n\n const subMenuElement = subMenuItemListRef.value?.[0]?.$el;\n if (subMenuElement) {\n measureSubMenuStyle(subMenuElement);\n }\n } else {\n subMenuWidth.value = 0;\n subMenuHeight.value = 0;\n }\n });\n\n const clampedPopoverWidth = computed(() => {\n if (popoverWidthRef?.value) {\n return clampMenuWidth(popoverWidthRef.value);\n }\n return 0;\n });\n\n const computedStyle = computed<CSSProperties>(() => {\n const style: CSSProperties = {\n width: clampedPopoverWidth.value > 0 ? `${clampedPopoverWidth.value}px` : 'max-content',\n };\n\n if (showSubMenu.value) {\n if (subMenuHeight.value > 0) {\n style.height = `${subMenuHeight.value}px`;\n }\n if (subMenuWidth.value > 0) {\n style.width = `${subMenuWidth.value}px`;\n }\n }\n\n return style;\n });\n\n return { computedStyle };\n}\n","<template>\n <menu-list-container ref=\"menuItemListWrapperRef\" :style=\"computedStyle\">\n <ul\n ref=\"menuItemListRef\"\n class=\"b-menu-item-list\"\n role=\"menu\"\n @keydown.down=\"focusNext\"\n @keydown.up=\"focusPrevious\"\n @keydown.esc=\"closeMenu\"\n @keydown.tab=\"closeMenu\"\n >\n <li\n v-for=\"(item, index) in computedData\"\n :key=\"`menu-item-${index}`\"\n ref=\"menuItemRef\"\n class=\"b-menu-item-list__item\"\n role=\"none\"\n @keydown.right=\"focusRight(item, index)\"\n @keydown.left=\"focusLeft()\"\n >\n <menu-item\n :text=\"item.text\"\n :handler=\"!item.items?.length ? item.handler : () => null\"\n :link=\"!item.items?.length ? item.link : undefined\"\n :secondary-text=\"item.secondaryText\"\n :icon=\"item.icon\"\n :chevron=\"!!item.items?.length\"\n :disabled=\"item.disabled\"\n :critical=\"item.critical\"\n :indent=\"item.indent\"\n :tabindex=\"index === subMenuFocusedIndex ? '0' : '-1'\"\n :aria-haspopup=\"!!item.items?.length\"\n :aria-expanded=\"showSubMenu && visibleSubMenuIndex === index\"\n @click=\"menuItemClick(item, index)\"\n />\n <bento-divider v-if=\"item.addDivider\" class=\"b-menu-item-list__divider\" />\n <sub-menu-item-list\n v-if=\"item.items?.length && showSubMenu && visibleSubMenuIndex === index\"\n ref=\"subMenuItemListRef\"\n :items=\"item.items\"\n :title=\"item.text\"\n @back=\"onBackButton\"\n @close=\"closeMenu\"\n />\n </li>\n </ul>\n </menu-list-container>\n</template>\n\n<script lang=\"ts\">\n import { computed, defineComponent, nextTick, type PropType, ref, toRef } from 'vue';\n import { isVue3 } from 'vue-demi';\n import { BentoDivider } from '@/components/divider';\n import { type BentoMenuItem, MenuItem } from '../menu-item';\n import { BentoMenuEvent } from '../../menu.types';\n import MenuListContainer from '../menu-list-container/menu-list-container.vue';\n import SubMenuItemList from '../sub-menu-item-list/sub-menu-item-list.vue';\n import { useDynamicMenuSize } from '../../composables';\n\n /**\n * MenuItem list to be used in the Menu component. For internal use only.\n */\n export default defineComponent({\n name: 'menu-item-list',\n components: { BentoDivider, MenuItem, MenuListContainer, SubMenuItemList },\n props: {\n /**\n * The data to be displayed in the list\n */\n data: {\n type: Array as PropType<Array<BentoMenuItem>>,\n required: true,\n },\n /**\n * Displays the menu-items of the list in the indent variant. Only applies to elements that don't have an icon to their left.\n */\n indentItems: {\n type: Boolean,\n default: false,\n },\n /**\n * If set to true, focuses the last item on the list instead of the first. Used for accessibility purposes when the menu is opened with the 'up' arrow key.\n */\n focusLastElement: {\n type: Boolean,\n default: false,\n },\n /**\n * If set to true, closes the menu when an item is clicked.\n */\n closeMenuOnItemSelect: {\n type: Boolean,\n default: true,\n },\n\n /**\n * The custom popover width if one has been set\n */\n popoverWidth: {\n type: Number,\n default: null,\n },\n },\n emits: [BentoMenuEvent.CLOSE, 'menu-item-click'],\n setup(props, { emit, expose }) {\n const menuItemRef = ref(null);\n const menuItemListRef = ref(null);\n const menuItemListWrapperRef = ref(null);\n const subMenuItemListRef = ref(null);\n const showSubMenu = ref(false);\n const visibleSubMenuIndex = ref(null);\n const focusedIndex = ref(props.focusLastElement ? props.data.length - 1 : 0);\n const subMenuFocusedIndex = ref(0);\n const numberOfItems = ref(props.data.length - 1);\n const hasMenuItemsWithIcon = computed(() => props.data.some(el => el.icon));\n\n const computedData = computed(() => {\n if (props.indentItems || hasMenuItemsWithIcon.value) {\n return props.data.map(el => {\n let indent = false;\n if (!el.icon) {\n indent = true;\n }\n return {\n ...el,\n indent,\n };\n });\n }\n return props.data;\n });\n\n const focusItem = async () => {\n // vue 3 requires nextTick to be called before an item can be focused\n // this function does not need to be awaited itself\n\n if (isVue3) {\n await nextTick();\n }\n\n menuItemListRef.value?.children[focusedIndex.value]?.children[0]?.focus();\n };\n\n const closeMenu = () => emit(BentoMenuEvent.CLOSE);\n\n const menuItemClick = (item: BentoMenuItem, index: number) => {\n if (item.items) {\n visibleSubMenuIndex.value = index;\n showSubMenu.value = true;\n\n return;\n }\n\n visibleSubMenuIndex.value = index;\n showSubMenu.value = false;\n\n if (!item.skipClose && props.closeMenuOnItemSelect !== false) {\n closeMenu();\n }\n\n emit('menu-item-click');\n };\n\n const focusPrevious = () => {\n if (focusedIndex.value > 0) {\n focusedIndex.value -= 1;\n if (computedData.value[focusedIndex.value].disabled) {\n focusPrevious();\n }\n } else {\n focusedIndex.value = numberOfItems.value;\n }\n focusItem();\n };\n\n const focusNext = () => {\n if (focusedIndex.value < numberOfItems.value) {\n focusedIndex.value += 1;\n if (computedData.value[focusedIndex.value].disabled) {\n focusNext();\n }\n } else {\n focusedIndex.value = 0;\n }\n focusItem();\n };\n\n const focusRight = (item, index) => {\n if (item?.items?.length) {\n visibleSubMenuIndex.value = index;\n showSubMenu.value = true;\n }\n };\n\n const focusLeft = () => {\n if (visibleSubMenuIndex.value && showSubMenu.value) {\n visibleSubMenuIndex.value = null;\n showSubMenu.value = false;\n }\n };\n\n const onBackButton = () => {\n showSubMenu.value = false;\n visibleSubMenuIndex.value = null;\n // Focus the right element\n focusItem();\n };\n\n expose({\n focusItem,\n });\n\n const { computedStyle } = useDynamicMenuSize(\n subMenuItemListRef,\n visibleSubMenuIndex,\n showSubMenu,\n toRef(props, 'popoverWidth')\n );\n\n return {\n // Values\n menuItemListRef,\n menuItemListWrapperRef,\n subMenuItemListRef,\n menuItemRef,\n\n computedData,\n computedStyle,\n\n focusedIndex,\n subMenuFocusedIndex,\n\n showSubMenu,\n visibleSubMenuIndex,\n\n // Methods\n menuItemClick,\n closeMenu,\n focusPrevious,\n focusNext,\n focusRight,\n focusLeft,\n onBackButton,\n };\n },\n });\n</script>\n\n<style lang=\"scss\" scoped src=\"./menu-item-list.scss\" />\n","export const MENU_INVERSE_INJECTION_KEY = Symbol('menu inverse style injection key');\n","<template>\n <div\n :class=\"computedClasses\"\n class=\"b-menu\"\n data-testid=\"menu\"\n @keydown.down=\"onKeyDown\"\n @keydown.up=\"onKeyUp\"\n @keydown.esc=\"closeMenu()\"\n >\n <bento-toggle-button\n ref=\"menuButtonRef\"\n class=\"b-menu__toggle-button\"\n aria-haspopup=\"true\"\n v-bind=\"computedButtonPropsWithDefaults\"\n :aria-label=\"computedMenuButtonAriaLabel(hasSlot('default'))\"\n :aria-controls=\"showMenu ? menuId : null\"\n :toggled=\"showMenu\"\n :inverse=\"isInverseColorSet\"\n @click=\"toggleShowMenu\"\n >\n <template v-if=\"!hasSlot('default') || hasSlot('iconLeft')\" #iconLeft>\n <slot name=\"iconLeft\">\n <options-vertical-icon aria-hidden=\"true\" />\n </slot>\n </template>\n <template v-if=\"hasSlot('default')\" #default>\n <slot />\n </template>\n <template v-if=\"hasSlot('default')\" #iconRight>\n <chevron-down-icon />\n </template>\n </bento-toggle-button>\n\n <bento-teleport v-if=\"menuButtonRef\" :disabled=\"!teleport\">\n <bento-popover\n v-if=\"menuButtonRef\"\n :id=\"menuId\"\n ref=\"popoverRef\"\n :role=\"null\"\n :open=\"showMenu\"\n class=\"b-menu__popover\"\n :style=\"computedMenuWidth\"\n :target-element=\"menuButtonRef\"\n :position=\"menuPosition\"\n :fixed-positioning=\"menuFixedPositioning\"\n :fallback-position=\"[\n 'bottom-start',\n 'bottom-end',\n 'top-start',\n 'top-end',\n 'right-start',\n 'right-end',\n 'left-start',\n 'left-end',\n ]\"\n :teleport=\"teleport\"\n without-space\n >\n <menu-item-list\n ref=\"menuItemListRef\"\n :close-menu-on-item-select=\"closeMenuOnItemSelect\"\n :data=\"data\"\n :focus-last-element=\"isLastElementFocused\"\n :popover-width=\"menuWidth\"\n @close=\"closeMenu\"\n @menu-item-click=\"menuItemClick\"\n />\n </bento-popover>\n </bento-teleport>\n </div>\n</template>\n\n<script setup lang=\"ts\">\n import BentoToggleButton from '@/components/button/components/toggle-button/toggle-button.vue';\n import { DIVIDER_INVERSE_INJECTION_KEY } from '@/components/divider/divider.keys';\n import BentoPopover from '@/components/popover/popover.vue';\n import { useClickOutside, useHasSlot } from '@/composables';\n import { generateUid } from '@/utils/ts/generate-uid';\n import { BentoTeleport } from '@/internal/teleport';\n import { useI18n } from '@/utils/ts/i18n';\n import { printDevelopmentWarning } from '@/utils/ts/print-development-warning';\n import ChevronDownIcon from '@adyen/ui-assets-icons-16/vue/chevron-down';\n import OptionsVerticalIcon from '@adyen/ui-assets-icons-16/vue/options-vertical';\n import { computed, inject, nextTick, onMounted, provide, ref, useSlots } from 'vue';\n import MenuItemList from './components/menu-item-list/menu-item-list.vue';\n import { MENU_INVERSE_INJECTION_KEY } from './menu.keys';\n import { clampMenuWidth } from './composables/use-dynamic-menu-size/use-dynamic-menu-size';\n import { type BentoMenuButtonProps, BentoMenuEvent, type BentoMenuProps } from './menu.types';\n import messages from './messages.json';\n\n type MessageSchema = (typeof messages)['en-US'];\n\n const props = defineProps({\n button: { default: () =>\n ({\n variant: 'secondary',\n }) as BentoMenuButtonProps },\n closeMenuOnItemSelect: { type: Boolean, default: true },\n data: null,\n disableArrowDownOpeningMenu: { type: Boolean, default: false },\n menuPosition: { default: 'bottom-start' },\n menuFixedPositioning: { type: Boolean, default: false },\n menuWidth: { default: null },\n revertFocusToButton: { type: Boolean, default: true },\n teleport: { type: Boolean, default: false },\n closeOnClickOutsideOptions: { default: undefined }\n});\n\n const emit = defineEmits([\"menu-item-click\", \"click-outside\"]);\n\n const slots = useSlots();\n const hasSlot = useHasSlot(slots);\n const { t } = useI18n<{ message: MessageSchema }>({ messages });\n const menuButtonRef = ref(null);\n const menuItemListRef = ref(null);\n const showMenu = ref(false);\n const isLastElementFocused = ref(false);\n const popoverRef = ref<HTMLElement>(null);\n const menuId = generateUid('menu');\n\n const isInverseColorSet = inject(MENU_INVERSE_INJECTION_KEY, ref(false));\n provide(DIVIDER_INVERSE_INJECTION_KEY, isInverseColorSet);\n\n const computedClasses = computed(() => ({\n 'b-menu--inverse': isInverseColorSet.value,\n }));\n\n const computedMenuWidth = computed(() =>\n props.menuWidth ? { width: `${clampMenuWidth(props.menuWidth)}px` } : null\n );\n const computedMenuButtonAriaLabel = (hasDefaultSlot: boolean) => {\n if (props.button?.['aria-label']) {\n return props.button?.['aria-label'];\n }\n if (!hasDefaultSlot) {\n return t('menuButton');\n }\n return undefined;\n };\n const computedButtonPropsWithDefaults = computed<BentoMenuButtonProps>(() => {\n if (!props?.button) {\n return undefined;\n }\n return {\n variant: 'secondary',\n ...props.button,\n };\n });\n\n const openMenu = () => {\n showMenu.value = true;\n emit(BentoMenuEvent.OPEN);\n };\n\n const closeMenu = async (revertFocus = props.revertFocusToButton) => {\n if (!showMenu.value) {\n return;\n }\n\n showMenu.value = false;\n\n if (revertFocus) {\n // ensure that menu is closed and re-rendering is completed before focusing\n await nextTick();\n\n menuButtonRef.value?.$el?.focus();\n }\n\n emit(BentoMenuEvent.CLOSE);\n };\n\n const toggleShowMenu = (e: MouseEvent) => {\n e.stopPropagation();\n if (!showMenu.value) {\n openMenu();\n } else {\n closeMenu();\n }\n };\n\n const onKeyDown = (event: KeyboardEvent) => {\n event.preventDefault();\n\n isLastElementFocused.value = false;\n if (!props.disableArrowDownOpeningMenu) {\n openMenu();\n }\n };\n\n const onKeyUp = (event: KeyboardEvent) => {\n event.preventDefault();\n\n isLastElementFocused.value = true;\n openMenu();\n };\n\n const menuItemClick = () => {\n emit('menu-item-click');\n };\n\n // Ignore the events inside the Button and the Popover\n useClickOutside(\n popoverRef,\n () => {\n closeMenu();\n emit('click-outside');\n },\n {\n ...props.closeOnClickOutsideOptions,\n ignore: [menuButtonRef, ...(props.closeOnClickOutsideOptions?.ignore ?? [])],\n }\n );\n\n defineExpose({\n /**\n * Control to enable programmatic closing of the menu\n */\n closeMenu,\n });\n\n onMounted(() => {\n if (hasSlot('iconRight')) {\n printDevelopmentWarning(\n '\"bento-menu\" no longer supports the \"iconRight\" slot. The right-aligned icon is now fixed by design.'\n );\n }\n });\n</script>\n\n<script lang=\"ts\">\n /**\n * Menu component to render a series of buttons. Csan render nested submenus.\n *\n * @example\n * import { BentoMenu } from '@adyen/bento-vue2';\n *\n * export default {\n * components: { BentoMenu },\n * template: `\n * <bento-menu\n * :data=[\n * { text: 'Menu item text', handler: () => { some code here } },\n * { text: 'Another menu item text', handler: () => { some other code here }, critical: true }\n * ]\n * />\n * }\n */\n export default {\n i18n: { messages },\n name: 'bento-menu',\n };\n</script>\n\n<style lang=\"scss\" scoped src=\"./menu.scss\" />\n","export const BUTTON_ACTIONS_WITH_MENU_CONTAINER_INJECTION_KEY = Symbol(\n 'button actions with menu container injection key'\n);\n","import { computed, inject, nextTick, onMounted, onUnmounted, ref, type Ref, watch } from 'vue';\nimport { observeSizeOfElement } from '@/utils/ts/resize';\nimport { BSpacer040 } from '@adyen/bento-design-tokens/dist/js/bento/es6';\nimport { type BentoButtonActionsList } from '../../button-actions.types';\nimport { BUTTON_ACTIONS_WITH_MENU_CONTAINER_INJECTION_KEY } from '@/internal/button-actions-with-menu/button-actions-with-menu.keys';\n\nconst CONTAINER_QUERY = 242;\nconst BUTTONS_GAP = parseInt(BSpacer040, 10);\n\n/**\n * Calculates the width of the container and the buttons and decides if the buttons should be stacked or not\n *\n * @param buttonActions Reference to the container element\n * @param buttons Reference array of button elements\n * @param actions Button actions actions prop\n */\nexport const useStackButtons = (\n buttonActions: Ref<HTMLDivElement>,\n buttons: Ref<Array<HTMLDivElement>>,\n actions: Ref<BentoButtonActionsList>\n) => {\n const originalButtonsWidth = ref(0);\n let containerObserver: ResizeObserver | null = null;\n\n const { buttonActionsWithMenu, menu, stackButtons } = inject(BUTTON_ACTIONS_WITH_MENU_CONTAINER_INJECTION_KEY, {\n buttonActionsWithMenu: ref(null),\n menu: ref(null),\n stackButtons: ref(false),\n });\n\n const container = computed(() => buttonActionsWithMenu.value ?? buttonActions.value);\n\n const computedButtons = computed(() => (menu.value ? [...buttons.value, menu.value.$el] : buttons.value));\n\n const areButtonsWiderThanContainer = (updateOriginalButtonsWidth?: boolean) => {\n const buttonsWidth = computedButtons.value?.reduce(\n (acc, button) => acc + button.clientWidth + BUTTONS_GAP,\n -BUTTONS_GAP - 1 // to remove the extra spacing, as if there's 3 buttons, only two will have a gap in between\n );\n\n const containersWidth = container.value.clientWidth;\n\n if (updateOriginalButtonsWidth) {\n originalButtonsWidth.value = containersWidth >= CONTAINER_QUERY && !stackButtons.value ? buttonsWidth : 0;\n }\n return originalButtonsWidth.value > containersWidth;\n };\n\n watch(\n () =>\n actions.value?.map(action => [\n action.title,\n action.state,\n action.variant,\n action.condensed,\n action.iconOnly,\n Boolean(action.icon),\n Boolean(action.iconLeft),\n Boolean(action.iconRight),\n Boolean(action.data),\n ]),\n () => {\n nextTick(() => {\n stackButtons.value = areButtonsWiderThanContainer(true);\n });\n }\n );\n\n onMounted(() => {\n containerObserver = observeSizeOfElement(container.value, () => {\n stackButtons.value = areButtonsWiderThanContainer(originalButtonsWidth.value === 0);\n });\n });\n\n onUnmounted(() => {\n containerObserver?.disconnect();\n });\n\n return stackButtons;\n};\n","<template>\n <div ref=\"buttonActions\" class=\"b-button-actions\">\n <div class=\"b-button-actions__container-wrapper\" :class=\"conditionalClasses\" role=\"group\">\n <div\n v-for=\"(button, index) in reversedActionsList\"\n :key=\"index\"\n ref=\"buttons\"\n class=\"b-button-actions__button-wrapper\"\n >\n <template v-if=\"button.data\">\n <bento-menu\n :ref=\"button.elementRef\"\n :data=\"button.data\"\n :close-menu-on-item-select=\"button.closeMenuOnItemSelect\"\n :close-on-click-outside-options=\"button.closeOnClickOutsideOptions\"\n :disable-arrow-down-opening-menu=\"button.disableArrowDownOpeningMenu\"\n :menu-position=\"button.menuPosition\"\n :menu-fixed-positioning=\"button.menuFixedPositioning\"\n :menu-width=\"button.menuWidth\"\n :revert-focus-to-button=\"button.revertFocusToButton\"\n :teleport=\"button.teleport\"\n >\n <template v-if=\"button.icon || button.iconLeft\" #iconLeft>\n <component :is=\"button.icon || button.iconLeft\" :svg-title=\"button.title\"></component>\n </template>\n <template v-if=\"!isIconOnly(button)\" #default>\n {{ button.title }}\n </template>\n </bento-menu>\n </template>\n <template v-else>\n <bento-loading-button\n v-if=\"button.state\"\n :ref=\"button.elementRef\"\n :condensed=\"button.condensed\"\n :critical=\"button.critical\"\n :disabled=\"button.disabled\"\n :inverse=\"inverse\"\n :state=\"button.state\"\n :variant=\"button.variant || generateButtonVariantByIndex(index)\"\n v-on=\"generateButtonEvents(button)\"\n >\n <template v-if=\"button.icon || button.iconLeft\" #iconLeft>\n <component :is=\"button.icon || button.iconLeft\" :svg-title=\"button.title\"></component>\n </template>\n <template v-if=\"!isIconOnly(button)\" #default>\n {{ button.title }}\n </template>\n </bento-loading-button>\n <bento-button\n v-else\n :ref=\"button.elementRef\"\n :condensed=\"button.condensed\"\n :critical=\"button.critical\"\n :disabled=\"button.disabled\"\n :inverse=\"inverse\"\n :link=\"button.link\"\n :variant=\"button.variant || generateButtonVariantByIndex(index)\"\n v-on=\"generateButtonEvents(button)\"\n >\n <template v-if=\"button.icon || button.iconLeft\" #iconLeft>\n <component :is=\"button.icon || button.iconLeft\" :svg-title=\"button.title\"></component>\n </template>\n <template v-if=\"!isIconOnly(button)\" #default>\n {{ button.title }}\n </template>\n <template v-if=\"button.iconRight\" #iconRight>\n <component :is=\"button.iconRight\" :svg-title=\"button.title\"></component>\n </template>\n </bento-button>\n </template>\n </div>\n </div>\n </div>\n</template>\n\n<script setup lang=\"ts\">\n import { computed, ref, toRef } from 'vue';\n import BentoButton from '../../button.vue';\n import type { BentoButtonActionObject, BentoButtonActionsProps } from './button-actions.types';\n import BentoLoadingButton from '../loading-button/loading-button.vue';\n import BentoMenu from '@/components/menu/menu.vue';\n import { useStackButtons } from './composables/use-stack-buttons/use-stack-buttons';\n\n const props = defineProps({\n actions: null,\n inverse: { type: Boolean, default: false },\n layout: { default: 'buttons-end' }\n});\n\n const buttonActions = ref<HTMLDivElement>(null);\n const buttons = ref<Array<HTMLDivElement>>(null);\n const stackButtons = useStackButtons(buttonActions, buttons, toRef(props, 'actions'));\n\n const reversedActionsList = computed(() => props.actions.slice().reverse());\n const generateButtonVariantByIndex = actionIndex => {\n const lastActionIndex = props.actions.length - 1;\n return actionIndex === lastActionIndex ? 'primary' : 'secondary';\n };\n\n const conditionalClasses = computed(() => ({\n [`b-button-actions--${props.layout}`]: true,\n [`b-button-actions--stacked-buttons`]: stackButtons.value,\n }));\n\n const generateButtonEvents = (button: BentoButtonActionObject) =>\n button?.event !== undefined\n ? {\n click: button.event,\n }\n : {};\n\n const isIconOnly = (button: BentoButtonActionObject) =>\n button.iconOnly && (button.iconLeft || button.iconRight || button.icon);\n</script>\n\n<script lang=\"ts\">\n /**\n * ButtonActions component manages a set of actions a user can choose from by displaying a group of buttons.\n *\n * @example\n * import { BentoButtonActions } from '@adyen/bento-vue2';\n * import MachineLearningIcon from '@adyen/ui-assets-icons-16/vue/machine-learning';\n *\n * const clickedAction = () => { //your action here }\n *\n * <template>\n * <bento-button-actions\n * :actions=\"[{\n * title: 'Primary',\n * event: clickedAction,\n * icon: MachineLearningIcon,\n * }, {\n * title: 'Secondary',\n * event: clickedAction,\n * }, {\n * title: 'Tertiary',\n * event: clickedAction,\n * }]\"\n * />\n * </template>\n */\n export default {};\n</script>\n\n<style lang=\"scss\" scoped src=\"./button-actions.scss\" />\n"],"names":["BentoLoadingButtonState","BentoLoadingButtonState2","__default__$6","messages$1","slots","useSlots","hasSlot","useHasSlot","t","useI18n","conditionalClasses","computed","props","isInverseLoadingIndicator","isCritical","e","emit","__default__$5","computedVariant","onClick","slotName","_sfc_main$a","defineComponent","BentoButton","CrossIcon","_sfc_main$9","BentoTypography","isStrongest","titleVariant","BentoTypographyVariant","useClickOutside","target","handler","options","onClickOutsideStop","onMounted","onClickOutside","onUnmounted","INPUT_FILTER_WITH_DROPDOWN_POPOVER_INJECTION_KEY","POPOVER_OFFSET_INJECTION_KEY","__default__$4","DEFAULT_OFFSET","attrs","useAttrs","computedAttributes","PopperContainerAriaRole","offset","inject","isOverflowVisible","contentConditionalClasses","dismissPopover","MODAL_DIALOG_ID_INJECTION_KEY","SIDEPANEL_DIALOG_ID_INJECTION_KEY","MODAL_FULLSCREEN_DIALOG_ID_INJECTION_KEY","MODAL_FULLSCREEN_TITLE_ID_INJECTION_KEY","MODAL_FULLSCREEN_CLOSE_INJECTION_KEY","__default__$3","isVue2","injectionKey","value","fragment","node","mutations","shouldMove","i","mutation","filteredAddedNodes","injectedModalKey","injectedModalFullscreenKey","injectedSidepanelKey","teleportTarget","key","instance","getCurrentInstance","uuid","_sfc_main$5","BaseButton","ChevronRightIcon","ExternalLinkIcon","BentoBaseButtonEvent","computedSecondaryText","truncate","isExternalLink","PopperContainerPosition","BentoMenuEvent","BentoMenuEvent2","DATA_GRID_CELL_MENU_REGISTERING_INJECTION_KEY","__default__$2","menuListContainerRef","ref","menuListContainerEvents","registeringAndMousingOut","registerMenuContainerElement","_sfc_main$3","messages","BentoDivider","MenuItem","MenuListContainer","subMenuItemListRefLocal","subMenuFocusedIndex","numberOfItems","closeMenu","onBackButton","computedItems","items","el","ChevronLeftIcon","focusItem","focusPrevious","focusNext","MAX_MENU_WIDTH","MIN_MENU_WIDTH","clampMenuWidth","width","useDynamicMenuSize","subMenuItemListRef","visibleSubMenuIndex","showSubMenu","popoverWidthRef","subMenuWidth","subMenuHeight","measureSubMenuStyle","element","parent","ghost","unwrappedWidth","clampedWidth","height","watch","newIndex","nextTick","subMenuElement","clampedPopoverWidth","style","_sfc_main$2","SubMenuItemList","expose","menuItemRef","menuItemListRef","menuItemListWrapperRef","focusedIndex","hasMenuItemsWithIcon","computedData","indent","menuItemClick","item","index","focusRight","focusLeft","computedStyle","toRef","MENU_INVERSE_INJECTION_KEY","__default__$1","menuButtonRef","showMenu","isLastElementFocused","popoverRef","menuId","generateUid","isInverseColorSet","provide","DIVIDER_INVERSE_INJECTION_KEY","computedClasses","computedMenuWidth","computedMenuButtonAriaLabel","hasDefaultSlot","computedButtonPropsWithDefaults","openMenu","revertFocus","toggleShowMenu","onKeyDown","event","onKeyUp","printDevelopmentWarning","BUTTON_ACTIONS_WITH_MENU_CONTAINER_INJECTION_KEY","CONTAINER_QUERY","BUTTONS_GAP","BSpacer040","useStackButtons","buttonActions","buttons","actions","originalButtonsWidth","containerObserver","buttonActionsWithMenu","menu","stackButtons","container","computedButtons","areButtonsWiderThanContainer","updateOriginalButtonsWidth","buttonsWidth","acc","button","containersWidth","action","observeSizeOfElement","__default__","reversedActionsList","generateButtonVariantByIndex","actionIndex","lastActionIndex"],"mappings":";;;;;;;;;;;;;;;;;;;;;;;;AAAO,IAAAA,IAAA,kBAAAC,OACHA,EAAA,QAAA,SACAA,EAAA,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