@adyen/bento-vue2 1.86.0 → 1.87.0
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/dist/@types/index.d.ts +1271 -1216
- package/dist/action-bar.js +1 -1
- package/dist/ai-tag.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/anchor-scroller.css +1 -1
- package/dist/assets/base-modal.css +1 -1
- package/dist/assets/button-actions.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/controls-group.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/dropdown-default-textbox.css +1 -1
- package/dist/assets/dropdown.css +1 -1
- package/dist/assets/error-message.css +1 -1
- package/dist/assets/file-uploader.css +1 -1
- package/dist/assets/filter-bar.css +1 -1
- package/dist/assets/form-layout-title.css +1 -1
- package/dist/assets/input-field-phone-number.css +1 -1
- package/dist/assets/input-field.css +1 -1
- package/dist/assets/inspector.css +1 -1
- package/dist/assets/modal-fullscreen.css +1 -1
- package/dist/assets/pagination.css +1 -1
- package/dist/assets/radio-group.css +1 -1
- package/dist/assets/rich-text-editor.css +1 -1
- package/dist/assets/selection-card-group.css +1 -1
- package/dist/assets/sidepanel.css +1 -1
- package/dist/assets/textarea.css +1 -1
- package/dist/button.js +1 -1
- package/dist/card.js +1 -1
- package/dist/checkbox.js +2 -2
- package/dist/chunks/{action-bar.Dnkt4yn7.js → action-bar.ChMlt59Z.js} +4 -4
- package/dist/chunks/{action-bar.Dnkt4yn7.js.map → action-bar.ChMlt59Z.js.map} +1 -1
- package/dist/chunks/{ai-tag.s8TECgn_.js → ai-tag.D5fCswAm.js} +2 -2
- package/dist/chunks/{ai-tag.s8TECgn_.js.map → ai-tag.D5fCswAm.js.map} +1 -1
- package/dist/chunks/anchor-scroller.Cb22EJiL.js +177 -0
- package/dist/chunks/{anchor-scroller.3_idPubO.js.map → anchor-scroller.Cb22EJiL.js.map} +1 -1
- package/dist/chunks/{base-modal.09nAcnF_.js → base-modal.CUSvvYnk.js} +14 -14
- package/dist/chunks/{base-modal.09nAcnF_.js.map → base-modal.CUSvvYnk.js.map} +1 -1
- package/dist/chunks/{button-actions-with-menu.C8tSTxrm.js → button-actions-with-menu.D14S1pym.js} +3 -3
- package/dist/chunks/{button-actions-with-menu.C8tSTxrm.js.map → button-actions-with-menu.D14S1pym.js.map} +1 -1
- package/dist/chunks/{button-actions.VSc47LLH.js → button-actions.DyPS54Yi.js} +134 -132
- package/dist/chunks/button-actions.DyPS54Yi.js.map +1 -0
- package/dist/chunks/{calendar.DiXkjQDP.js → calendar.BNg7mSj5.js} +398 -407
- package/dist/chunks/calendar.BNg7mSj5.js.map +1 -0
- package/dist/chunks/{card.BdjdBN36.js → card.9oGLUzev.js} +2 -2
- package/dist/chunks/{card.BdjdBN36.js.map → card.9oGLUzev.js.map} +1 -1
- package/dist/chunks/{checkbox-group.d6VQvZL7.js → checkbox-group.BtsDJN9I.js} +22 -22
- package/dist/chunks/checkbox-group.BtsDJN9I.js.map +1 -0
- package/dist/chunks/{checkbox.ClFNfhNh.js → checkbox.Dxvh9si9.js} +19 -22
- package/dist/chunks/checkbox.Dxvh9si9.js.map +1 -0
- package/dist/chunks/{code-snippet.DBNJgt1j.js → code-snippet.CaAEHdBl.js} +4 -4
- package/dist/chunks/{code-snippet.DBNJgt1j.js.map → code-snippet.CaAEHdBl.js.map} +1 -1
- package/dist/chunks/constructNow.CIc7d13I.js +8 -0
- package/dist/chunks/{constructNow.B8T1ljs6.js.map → constructNow.CIc7d13I.js.map} +1 -1
- package/dist/chunks/{controls-group.HUWlAOhG.js → controls-group.BCKGkHVl.js} +23 -28
- package/dist/chunks/controls-group.BCKGkHVl.js.map +1 -0
- package/dist/chunks/{copy.BXykYfg0.js → copy.DSNuoLZf.js} +3 -3
- package/dist/chunks/{copy.BXykYfg0.js.map → copy.DSNuoLZf.js.map} +1 -1
- package/dist/chunks/{dashboard-section.Cw2Ima3U.js → dashboard-section.DIesvnBa.js} +3 -3
- package/dist/chunks/{dashboard-section.Cw2Ima3U.js.map → dashboard-section.DIesvnBa.js.map} +1 -1
- package/dist/chunks/{dashed-underline.Dfw7cJ-9.js → dashed-underline.DauOBhSD.js} +3 -3
- package/dist/chunks/{dashed-underline.Dfw7cJ-9.js.map → dashed-underline.DauOBhSD.js.map} +1 -1
- package/dist/chunks/{data-grid-template.6LR2Jqka.js → data-grid-template.T-6_zLby.js} +3 -3
- package/dist/chunks/{data-grid-template.6LR2Jqka.js.map → data-grid-template.T-6_zLby.js.map} +1 -1
- package/dist/chunks/{data-grid.B_uZEPDW.js → data-grid.ZjYQaN9_.js} +695 -695
- package/dist/chunks/{data-grid.B_uZEPDW.js.map → data-grid.ZjYQaN9_.js.map} +1 -1
- package/dist/chunks/date-picker.BLOqU7Z9.js +173 -0
- package/dist/chunks/date-picker.BLOqU7Z9.js.map +1 -0
- package/dist/chunks/date-range-picker.CJexeNJg.js +900 -0
- package/dist/chunks/date-range-picker.CJexeNJg.js.map +1 -0
- package/dist/chunks/{de.DvtL0g75.js → de.BJvo6njq.js} +2 -2
- package/dist/chunks/{de.DvtL0g75.js.map → de.BJvo6njq.js.map} +1 -1
- package/dist/chunks/{dialog-page.DA6E6qma.js → dialog-page.4deowaF2.js} +2 -2
- package/dist/chunks/{dialog-page.DA6E6qma.js.map → dialog-page.4deowaF2.js.map} +1 -1
- package/dist/chunks/{differenceInMonths.BR4Z2HIa.js → differenceInMonths.CIYECBxK.js} +7 -7
- package/dist/chunks/{differenceInMonths.BR4Z2HIa.js.map → differenceInMonths.CIYECBxK.js.map} +1 -1
- package/dist/chunks/{dropdown-default-textbox.5WjhJWdh.js → dropdown-default-textbox.CKnrDQ2z.js} +18 -16
- package/dist/chunks/dropdown-default-textbox.CKnrDQ2z.js.map +1 -0
- package/dist/chunks/{dropdown-tag.BnMuMIDk.js → dropdown-tag.DSCZALNp.js} +3 -3
- package/dist/chunks/{dropdown-tag.BnMuMIDk.js.map → dropdown-tag.DSCZALNp.js.map} +1 -1
- package/dist/chunks/{dropdown.DDPfKc74.js → dropdown.ET_mq1_P.js} +8 -8
- package/dist/chunks/{dropdown.DDPfKc74.js.map → dropdown.ET_mq1_P.js.map} +1 -1
- package/dist/chunks/{en-GB.DCGuCmAv.js → en-GB.C3-QUpva.js} +2 -2
- package/dist/chunks/{en-GB.DCGuCmAv.js.map → en-GB.C3-QUpva.js.map} +1 -1
- package/dist/chunks/{en-US.BZii9jNW.js → en-US.YeSsZuOc.js} +150 -100
- package/dist/chunks/en-US.YeSsZuOc.js.map +1 -0
- package/dist/chunks/{error-message.VenUl2OK.js → error-message.CYfT0Qsi.js} +19 -22
- package/dist/chunks/error-message.CYfT0Qsi.js.map +1 -0
- package/dist/chunks/{es.bz0mzkMq.js → es.DyUjjSL8.js} +2 -2
- package/dist/chunks/{es.bz0mzkMq.js.map → es.DyUjjSL8.js.map} +1 -1
- package/dist/chunks/{file-uploader.BU1V40qK.js → file-uploader.BSX-zpyP.js} +377 -353
- package/dist/chunks/file-uploader.BSX-zpyP.js.map +1 -0
- package/dist/chunks/filter-bar.DkKvGUEm.js +3229 -0
- package/dist/chunks/filter-bar.DkKvGUEm.js.map +1 -0
- package/dist/chunks/{focus-trap.DMc1wL3A.js → focus-trap.DRqjHzt6.js} +2 -2
- package/dist/chunks/{focus-trap.DMc1wL3A.js.map → focus-trap.DRqjHzt6.js.map} +1 -1
- package/dist/chunks/{footer-actions.z-api8J_.js → footer-actions.Dq82H1Oc.js} +2 -2
- package/dist/chunks/{footer-actions.z-api8J_.js.map → footer-actions.Dq82H1Oc.js.map} +1 -1
- package/dist/chunks/form-layout-title.vF9Bmbre.js +212 -0
- package/dist/chunks/{form-layout-title.Bbq05nMT.js.map → form-layout-title.vF9Bmbre.js.map} +1 -1
- package/dist/chunks/{match.CMBZxEs9.js → fr.JD_4GwS8.js} +98 -61
- package/dist/chunks/fr.JD_4GwS8.js.map +1 -0
- package/dist/chunks/{header-meta.CuMQSsOm.js → header-meta.ByA0tkZw.js} +88 -94
- package/dist/chunks/header-meta.ByA0tkZw.js.map +1 -0
- package/dist/chunks/{header-with-views.DX8EXLMJ.js → header-with-views.DLoIc0yO.js} +9 -9
- package/dist/chunks/{header-with-views.DX8EXLMJ.js.map → header-with-views.DLoIc0yO.js.map} +1 -1
- package/dist/chunks/{header.YECm2GAh.js → header.BG6XUNEs.js} +3 -3
- package/dist/chunks/{header.YECm2GAh.js.map → header.BG6XUNEs.js.map} +1 -1
- package/dist/chunks/{index.BkJqgYF1.js → index.CwzYJHw2.js} +204 -197
- package/dist/chunks/{index.BkJqgYF1.js.map → index.CwzYJHw2.js.map} +1 -1
- package/dist/chunks/{info-icon.DS9ax8ZD.js → info-icon.BF8KxU-k.js} +3 -3
- package/dist/chunks/{info-icon.DS9ax8ZD.js.map → info-icon.BF8KxU-k.js.map} +1 -1
- package/dist/chunks/{input-field-password.DrI6eF5u.js → input-field-password.TIzrVzR6.js} +6 -6
- package/dist/chunks/{input-field-password.DrI6eF5u.js.map → input-field-password.TIzrVzR6.js.map} +1 -1
- package/dist/chunks/{input-field-phone-number.Buh4x3pJ.js → input-field-phone-number.s2fP7BVR.js} +42 -42
- package/dist/chunks/{input-field-phone-number.Buh4x3pJ.js.map → input-field-phone-number.s2fP7BVR.js.map} +1 -1
- package/dist/chunks/{input-field.NEKXqT4R.js → input-field.CSCJTxk1.js} +10 -10
- package/dist/chunks/input-field.CSCJTxk1.js.map +1 -0
- package/dist/chunks/{inspector.BomNgVb-.js → inspector.DgI3voTk.js} +3 -3
- package/dist/chunks/{inspector.BomNgVb-.js.map → inspector.DgI3voTk.js.map} +1 -1
- package/dist/chunks/isSameWeek.CzBCmu7d.js +14 -0
- package/dist/chunks/{isSameWeek.DjeUtLwI.js.map → isSameWeek.CzBCmu7d.js.map} +1 -1
- package/dist/chunks/{it.DIafuXtH.js → it.BlUnV-yA.js} +3 -3
- package/dist/chunks/{it.DIafuXtH.js.map → it.BlUnV-yA.js.map} +1 -1
- package/dist/chunks/{ja.Cm9tJMi2.js → ja.nUwDmVf2.js} +8 -8
- package/dist/chunks/{ja.Cm9tJMi2.js.map → ja.nUwDmVf2.js.map} +1 -1
- package/dist/chunks/{layout-row.BxuMJU4E.js → layout-row.B_IQC9Nq.js} +2 -2
- package/dist/chunks/{layout-row.BxuMJU4E.js.map → layout-row.B_IQC9Nq.js.map} +1 -1
- package/dist/chunks/{listbox-option-tag.Cv3y0TvQ.js → listbox-option-tag.BhPVuAjJ.js} +2 -2
- package/dist/chunks/{listbox-option-tag.Cv3y0TvQ.js.map → listbox-option-tag.BhPVuAjJ.js.map} +1 -1
- package/dist/chunks/modal-fullscreen.DJtDO8TR.js +235 -0
- package/dist/chunks/modal-fullscreen.DJtDO8TR.js.map +1 -0
- package/dist/chunks/{modal.DOR8c0gy.js → modal.BbsIM3qp.js} +4 -4
- package/dist/chunks/{modal.DOR8c0gy.js.map → modal.BbsIM3qp.js.map} +1 -1
- package/dist/chunks/{pagination.wuEIlDcq.js → pagination.iN0eYByB.js} +157 -138
- package/dist/chunks/pagination.iN0eYByB.js.map +1 -0
- package/dist/chunks/popover.types.hA13DZPg.js +6 -0
- package/dist/chunks/{popover.types.DkiRUQ4Z.js.map → popover.types.hA13DZPg.js.map} +1 -1
- package/dist/chunks/{popper-container.D4dworD4.js → popper-container.C_n9Ds1W.js} +2 -2
- package/dist/chunks/{popper-container.D4dworD4.js.map → popper-container.C_n9Ds1W.js.map} +1 -1
- package/dist/chunks/{promo-banner.bjMDm76T.js → promo-banner.BQreywWK.js} +2 -2
- package/dist/chunks/{promo-banner.bjMDm76T.js.map → promo-banner.BQreywWK.js.map} +1 -1
- package/dist/chunks/{pt-BR.CiGdfP45.js → pt-BR.BCU2Hj36.js} +2 -2
- package/dist/chunks/{pt-BR.CiGdfP45.js.map → pt-BR.BCU2Hj36.js.map} +1 -1
- package/dist/chunks/{radio-group.DKRxfGtE.js → radio-group.5ZxqWguJ.js} +6 -6
- package/dist/chunks/radio-group.5ZxqWguJ.js.map +1 -0
- package/dist/chunks/{rich-text-editor.DiuS9alD.js → rich-text-editor.BJ-FvvNc.js} +132 -132
- package/dist/chunks/{rich-text-editor.DiuS9alD.js.map → rich-text-editor.BJ-FvvNc.js.map} +1 -1
- package/dist/chunks/{search-bar.UVSaoX0h.js → search-bar.GPl6NU_w.js} +3 -3
- package/dist/chunks/{search-bar.UVSaoX0h.js.map → search-bar.GPl6NU_w.js.map} +1 -1
- package/dist/chunks/{secondary-nav.C6ldQMZ2.js → secondary-nav.DMHDxGDq.js} +3 -3
- package/dist/chunks/{secondary-nav.C6ldQMZ2.js.map → secondary-nav.DMHDxGDq.js.map} +1 -1
- package/dist/chunks/{segmented-control.BLnuxgnJ.js → segmented-control.BqIiX9hv.js} +2 -2
- package/dist/chunks/{segmented-control.BLnuxgnJ.js.map → segmented-control.BqIiX9hv.js.map} +1 -1
- package/dist/chunks/{selection-card-group.CqGYskmS.js → selection-card-group.Hol_gJKN.js} +23 -23
- package/dist/chunks/selection-card-group.Hol_gJKN.js.map +1 -0
- package/dist/chunks/{sidepanel.BKE87Uef.js → sidepanel.CSA5e8AF.js} +5 -5
- package/dist/chunks/{sidepanel.BKE87Uef.js.map → sidepanel.CSA5e8AF.js.map} +1 -1
- package/dist/chunks/{startOfWeek.D8Yh4c0G.js → startOfWeek.CXhhX-R7.js} +2 -2
- package/dist/chunks/{startOfWeek.D8Yh4c0G.js.map → startOfWeek.CXhhX-R7.js.map} +1 -1
- package/dist/chunks/{structured-list-item.DRFRap_S.js → structured-list-item.C7W3zYcT.js} +4 -4
- package/dist/chunks/{structured-list-item.DRFRap_S.js.map → structured-list-item.C7W3zYcT.js.map} +1 -1
- package/dist/chunks/{summary-grid.types.OldkhD7S.js → summary-grid.types.nrVagy9s.js} +5 -5
- package/dist/chunks/{summary-grid.types.OldkhD7S.js.map → summary-grid.types.nrVagy9s.js.map} +1 -1
- package/dist/chunks/{tag.Cy3XkSDQ.js → tag.CocLKztJ.js} +2 -2
- package/dist/chunks/{tag.Cy3XkSDQ.js.map → tag.CocLKztJ.js.map} +1 -1
- package/dist/chunks/{textarea.Bm9MZb_W.js → textarea.CpVhEv6I.js} +33 -33
- package/dist/chunks/textarea.CpVhEv6I.js.map +1 -0
- package/dist/chunks/{timeline-item.Cpbm8IUw.js → timeline-item.CSDdHboz.js} +52 -54
- package/dist/chunks/timeline-item.CSDdHboz.js.map +1 -0
- package/dist/chunks/{tooltip.DF11J3k3.js → tooltip.CbsNGnhw.js} +2 -2
- package/dist/chunks/{tooltip.DF11J3k3.js.map → tooltip.CbsNGnhw.js.map} +1 -1
- package/dist/chunks/{tutorial.D5xtZ1Pt.js → tutorial.3dTfBKtZ.js} +4 -4
- package/dist/chunks/{tutorial.D5xtZ1Pt.js.map → tutorial.3dTfBKtZ.js.map} +1 -1
- package/dist/chunks/{use-cached-selected-values.wn2xnwYG.js → use-cached-selected-values.DiIjmiF_.js} +2 -2
- package/dist/chunks/{use-cached-selected-values.wn2xnwYG.js.map → use-cached-selected-values.DiIjmiF_.js.map} +1 -1
- package/dist/chunks/use-date-input-formatter.Dcjry8op.js +1732 -0
- package/dist/chunks/use-date-input-formatter.Dcjry8op.js.map +1 -0
- package/dist/chunks/{zh-CN.Bw_6j9Cd.js → zh-CN.ChYkuQAR.js} +3 -3
- package/dist/chunks/{zh-CN.Bw_6j9Cd.js.map → zh-CN.ChYkuQAR.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/draggable-handle.js +1 -1
- package/dist/dropdown.js +4 -4
- 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 +50 -50
- package/dist/index.js.map +1 -1
- package/dist/info-icon.js +1 -1
- package/dist/input-field-password.js +1 -1
- package/dist/input-field-phone-number.js +1 -1
- package/dist/input-field.js +1 -1
- package/dist/inspector.js +1 -1
- package/dist/internal.js +11 -11
- package/dist/layout.js +1 -1
- package/dist/menu.js +1 -1
- package/dist/modal-fullscreen.js +1 -1
- package/dist/modal.js +2 -2
- package/dist/pagination.js +1 -1
- package/dist/popover.js +2 -2
- package/dist/popper-container.js +1 -1
- package/dist/promo-banner.js +1 -1
- package/dist/radio-group.js +1 -1
- package/dist/rich-text-editor.js +1 -1
- package/dist/search-bar.js +2 -2
- package/dist/secondary-nav.js +1 -1
- package/dist/segmented-control.js +1 -1
- package/dist/selection-card.js +1 -1
- package/dist/sidepanel.js +1 -1
- package/dist/structured-list.js +1 -1
- package/dist/summary-grid.js +1 -1
- package/dist/tag.js +1 -1
- package/dist/textarea.js +1 -1
- package/dist/timeline.js +1 -1
- package/dist/tutorial.js +1 -1
- package/dist/web-types.json +104 -5
- package/package.json +6 -11
- package/dist/chunks/anchor-scroller.3_idPubO.js +0 -178
- package/dist/chunks/button-actions.VSc47LLH.js.map +0 -1
- package/dist/chunks/calendar.DiXkjQDP.js.map +0 -1
- package/dist/chunks/checkbox-group.d6VQvZL7.js.map +0 -1
- package/dist/chunks/checkbox.ClFNfhNh.js.map +0 -1
- package/dist/chunks/constructNow.B8T1ljs6.js +0 -8
- package/dist/chunks/controls-group.HUWlAOhG.js.map +0 -1
- package/dist/chunks/date-input.etw_pFpA.js +0 -20
- package/dist/chunks/date-input.etw_pFpA.js.map +0 -1
- package/dist/chunks/date-picker.CITeN8WH.js +0 -173
- package/dist/chunks/date-picker.CITeN8WH.js.map +0 -1
- package/dist/chunks/date-range-picker.DxVjXxap.js +0 -897
- package/dist/chunks/date-range-picker.DxVjXxap.js.map +0 -1
- package/dist/chunks/dropdown-default-textbox.5WjhJWdh.js.map +0 -1
- package/dist/chunks/en-US.BZii9jNW.js.map +0 -1
- package/dist/chunks/error-message.VenUl2OK.js.map +0 -1
- package/dist/chunks/file-uploader.BU1V40qK.js.map +0 -1
- package/dist/chunks/filter-bar.UdXQf_RN.js +0 -3321
- package/dist/chunks/filter-bar.UdXQf_RN.js.map +0 -1
- package/dist/chunks/form-layout-title.Bbq05nMT.js +0 -197
- package/dist/chunks/fr-CA.B1aPU8fp.js +0 -48
- package/dist/chunks/fr-CA.B1aPU8fp.js.map +0 -1
- package/dist/chunks/fr.Dj7wEToe.js +0 -47
- package/dist/chunks/fr.Dj7wEToe.js.map +0 -1
- package/dist/chunks/getTimezoneOffsetInMilliseconds.Tu2wlbTR.js +0 -51
- package/dist/chunks/getTimezoneOffsetInMilliseconds.Tu2wlbTR.js.map +0 -1
- package/dist/chunks/header-meta.CuMQSsOm.js.map +0 -1
- package/dist/chunks/input-field.NEKXqT4R.js.map +0 -1
- package/dist/chunks/isSameWeek.DjeUtLwI.js +0 -14
- package/dist/chunks/ko.Ceaof6EP.js +0 -348
- package/dist/chunks/ko.Ceaof6EP.js.map +0 -1
- package/dist/chunks/match.CMBZxEs9.js.map +0 -1
- package/dist/chunks/modal-fullscreen.6bAjPENL.js +0 -225
- package/dist/chunks/modal-fullscreen.6bAjPENL.js.map +0 -1
- package/dist/chunks/nl.B6vCf2B9.js +0 -327
- package/dist/chunks/nl.B6vCf2B9.js.map +0 -1
- package/dist/chunks/pagination.wuEIlDcq.js.map +0 -1
- package/dist/chunks/popover.types.DkiRUQ4Z.js +0 -6
- package/dist/chunks/radio-group.DKRxfGtE.js.map +0 -1
- package/dist/chunks/selection-card-group.CqGYskmS.js.map +0 -1
- package/dist/chunks/sv.f8EfZjMZ.js +0 -377
- package/dist/chunks/sv.f8EfZjMZ.js.map +0 -1
- package/dist/chunks/textarea.Bm9MZb_W.js.map +0 -1
- package/dist/chunks/timeline-item.Cpbm8IUw.js.map +0 -1
|
@@ -1,23 +1,23 @@
|
|
|
1
|
-
import { defineComponent as g, useSlots as w, computed as p, onMounted as T, onUnmounted as j, useAttrs as se, inject as
|
|
1
|
+
import { defineComponent as g, useSlots as w, computed as p, onMounted as T, onUnmounted as j, useAttrs as se, inject as S, ref as c, toRefs as oe, watch as Y, nextTick as P, toRef as G, provide as ae } from "vue";
|
|
2
2
|
import { B as b } from "./button.Ctj3rkxw.js";
|
|
3
3
|
import { B as ie } from "./loading-indicator.PxbRzshH.js";
|
|
4
|
-
import { C as
|
|
5
|
-
import { C as
|
|
4
|
+
import { C as le } from "./cross-circle-fill.DTDtgLMf.js";
|
|
5
|
+
import { C as re } from "./checkmark-circle-fill.BttTCjrM.js";
|
|
6
6
|
import { u as D } from "./use-has-slot.C9lQZ6nz.js";
|
|
7
|
-
import { u as
|
|
7
|
+
import { u as J } from "./index.B6WW_F-J.js";
|
|
8
8
|
import { n as C } from "./_plugin-vue2_normalizer.CeySl7Fu.js";
|
|
9
|
-
import { i as
|
|
9
|
+
import { i as H } from "./index.Cl4_42j5.js";
|
|
10
10
|
import { B as q, D as ue } from "./divider.DX5gwN7p.js";
|
|
11
11
|
import { C as ce } from "./cross.CC_B-vG-.js";
|
|
12
|
-
import { B as X, c as
|
|
13
|
-
import { a as fe, P as pe, b as _e } from "./popper-container.
|
|
12
|
+
import { B as X, c as $, p as de } from "./typography.C8lPlsbD.js";
|
|
13
|
+
import { a as fe, P as pe, b as _e } from "./popper-container.C_n9Ds1W.js";
|
|
14
14
|
import { u as me } from "./aria-label.CaUURpnB.js";
|
|
15
15
|
import { o as ve } from "./on-click-outside.BW4rkhzG.js";
|
|
16
16
|
import { g as ye } from "./generate-uid.NJ8tVoha.js";
|
|
17
17
|
import { C as he } from "./chevron-down.eYtgv5ly.js";
|
|
18
18
|
/* empty css */
|
|
19
|
-
import { C as be, a as
|
|
20
|
-
import { a as
|
|
19
|
+
import { C as be, a as U } from "./chevron-left.BS24hEFa.js";
|
|
20
|
+
import { a as W, B as ge } from "./base-button.BPRPrO0p.js";
|
|
21
21
|
import { t as Ce } from "./truncate.BfIl_-71.js";
|
|
22
22
|
import { o as ke } from "./resize.Bqks3WUm.js";
|
|
23
23
|
import { g as Ie } from "./es6.C1DXQV6f.js";
|
|
@@ -38,7 +38,7 @@ const Be = {
|
|
|
38
38
|
}
|
|
39
39
|
}, Oe = {
|
|
40
40
|
i18n: { messages: Be }
|
|
41
|
-
},
|
|
41
|
+
}, Se = /* @__PURE__ */ g({
|
|
42
42
|
...Oe,
|
|
43
43
|
__name: "loading-button",
|
|
44
44
|
props: {
|
|
@@ -90,22 +90,22 @@ const Be = {
|
|
|
90
90
|
},
|
|
91
91
|
emits: ["click"],
|
|
92
92
|
setup(o, { emit: e }) {
|
|
93
|
-
const n = o, t = w(), s = D(t), { t: i } =
|
|
93
|
+
const n = o, t = w(), s = D(t), { t: i } = J(), f = p(() => ({
|
|
94
94
|
[`b-loading-button--${n.variant}-${I.LOADING}`]: n.state === I.LOADING && !n.disabled,
|
|
95
95
|
"b-loading-button--loading": n.state === I.LOADING && !n.disabled,
|
|
96
96
|
[`b-loading-button--${n.variant}-${I.SUCCESS}`]: n.state === I.SUCCESS,
|
|
97
97
|
"b-loading-button--inverse": n.inverse
|
|
98
|
-
})),
|
|
98
|
+
})), r = p(
|
|
99
99
|
() => n.variant === "primary" && !n.inverse || n.variant !== "primary" && n.inverse
|
|
100
100
|
), u = p(
|
|
101
101
|
() => n.critical && n.state === I.START || n.state === I.FAIL
|
|
102
102
|
);
|
|
103
|
-
return { __sfc: !0, props: n, emit: e, slots: t, hasSlot: s, t: i, conditionalClasses: f, isInverseLoadingIndicator:
|
|
104
|
-
|
|
105
|
-
}, BentoLoadingIndicator: ie, BentoButton: b, Cross:
|
|
103
|
+
return { __sfc: !0, props: n, emit: e, slots: t, hasSlot: s, t: i, conditionalClasses: f, isInverseLoadingIndicator: r, isCritical: u, onClick: (l) => {
|
|
104
|
+
l.stopPropagation(), n.state !== I.LOADING && e("click", l);
|
|
105
|
+
}, BentoLoadingIndicator: ie, BentoButton: b, Cross: le, Checkmark: re };
|
|
106
106
|
}
|
|
107
107
|
});
|
|
108
|
-
var
|
|
108
|
+
var xe = function() {
|
|
109
109
|
var e = this, n = e._self._c, t = e._self._setupProxy;
|
|
110
110
|
return n(t.BentoButton, { staticClass: "b-loading-button", class: t.conditionalClasses, attrs: { critical: t.isCritical, variant: e.variant, condensed: e.condensed, disabled: e.disabled, inverse: e.inverse }, on: { "!click": function(s) {
|
|
111
111
|
return s.stopPropagation(), t.onClick.apply(null, arguments);
|
|
@@ -115,8 +115,8 @@ var Se = function() {
|
|
|
115
115
|
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)];
|
|
116
116
|
}, proxy: !0 } : null], null, !0) }, [e._t("default")], 2);
|
|
117
117
|
}, Le = [], Ee = /* @__PURE__ */ C(
|
|
118
|
-
xe,
|
|
119
118
|
Se,
|
|
119
|
+
xe,
|
|
120
120
|
Le,
|
|
121
121
|
!1,
|
|
122
122
|
null,
|
|
@@ -187,15 +187,15 @@ var Re = function() {
|
|
|
187
187
|
return [e._t(i, null, null, t.getSlotKeyIfVue3(i))];
|
|
188
188
|
}, proxy: !0 };
|
|
189
189
|
})], null, !0) }, "bento-button", e.$attrs, !1));
|
|
190
|
-
},
|
|
190
|
+
}, Ne = [], Ae = /* @__PURE__ */ C(
|
|
191
191
|
Me,
|
|
192
192
|
Re,
|
|
193
|
-
|
|
193
|
+
Ne,
|
|
194
194
|
!1,
|
|
195
195
|
null,
|
|
196
196
|
"0bc368c9"
|
|
197
197
|
);
|
|
198
|
-
const
|
|
198
|
+
const Pe = Ae.exports, De = g({
|
|
199
199
|
name: "bento-popover-dismiss-button",
|
|
200
200
|
components: { BentoButton: b, CrossIcon: ce },
|
|
201
201
|
props: {
|
|
@@ -211,22 +211,22 @@ const Ne = Ae.exports, De = g({
|
|
|
211
211
|
};
|
|
212
212
|
}
|
|
213
213
|
});
|
|
214
|
-
var
|
|
214
|
+
var Fe = function() {
|
|
215
215
|
var e = this, n = e._self._c;
|
|
216
216
|
return e._self._setupProxy, n("bento-button", { class: e.conditionalClass, attrs: { variant: "tertiary" }, on: { click: function(t) {
|
|
217
217
|
return e.$emit("click");
|
|
218
218
|
} }, scopedSlots: e._u([{ key: "iconLeft", fn: function() {
|
|
219
219
|
return [n("cross-icon", { attrs: { "svg-title": "dismiss" } })];
|
|
220
220
|
}, proxy: !0 }]) });
|
|
221
|
-
},
|
|
221
|
+
}, $e = [], Ue = /* @__PURE__ */ C(
|
|
222
222
|
De,
|
|
223
|
-
$e,
|
|
224
223
|
Fe,
|
|
224
|
+
$e,
|
|
225
225
|
!1,
|
|
226
226
|
null,
|
|
227
227
|
"4c18828f"
|
|
228
228
|
);
|
|
229
|
-
const
|
|
229
|
+
const We = Ue.exports, Ke = g({
|
|
230
230
|
components: { BentoTypography: X },
|
|
231
231
|
props: {
|
|
232
232
|
/**
|
|
@@ -240,7 +240,7 @@ const Ue = We.exports, Ve = g({
|
|
|
240
240
|
},
|
|
241
241
|
setup(o) {
|
|
242
242
|
const e = p(() => !o.isImageTitle), n = p(
|
|
243
|
-
() => o.isImageTitle ?
|
|
243
|
+
() => o.isImageTitle ? $.SUBTITLE : $.BODY
|
|
244
244
|
);
|
|
245
245
|
return {
|
|
246
246
|
// Values
|
|
@@ -249,25 +249,25 @@ const Ue = We.exports, Ve = g({
|
|
|
249
249
|
};
|
|
250
250
|
}
|
|
251
251
|
});
|
|
252
|
-
var
|
|
252
|
+
var Ve = function() {
|
|
253
253
|
var e = this, n = e._self._c;
|
|
254
254
|
return e._self._setupProxy, n("bento-typography", { attrs: { strongest: e.isStrongest, variant: e.titleVariant, el: "span" } }, [e._v(" " + e._s(e.title) + " ")]);
|
|
255
|
-
}, je = [],
|
|
256
|
-
Ve,
|
|
255
|
+
}, je = [], Ye = /* @__PURE__ */ C(
|
|
257
256
|
Ke,
|
|
257
|
+
Ve,
|
|
258
258
|
je,
|
|
259
259
|
!1,
|
|
260
260
|
null,
|
|
261
261
|
null
|
|
262
262
|
);
|
|
263
|
-
const
|
|
263
|
+
const Ge = Ye.exports, Je = (o, e, n = {}) => {
|
|
264
264
|
let t;
|
|
265
265
|
T(() => {
|
|
266
266
|
t = ve(o, e, n);
|
|
267
267
|
}), j(() => {
|
|
268
268
|
t && (t(), t = null);
|
|
269
269
|
});
|
|
270
|
-
},
|
|
270
|
+
}, He = /* @__PURE__ */ Symbol("input field popover injection key"), qe = /* @__PURE__ */ Symbol("input field popover injection key"), Xe = /* @__PURE__ */ Symbol("popover offset injection key"), ze = {}, Ze = /* @__PURE__ */ g({
|
|
271
271
|
...ze,
|
|
272
272
|
__name: "popover",
|
|
273
273
|
props: {
|
|
@@ -300,12 +300,12 @@ const Ye = Ge.exports, He = (o, e, n = {}) => {
|
|
|
300
300
|
id: (B = i.id) == null ? void 0 : B.toString(),
|
|
301
301
|
role: (i == null ? void 0 : i.role) === null ? void 0 : fe.POPOVER
|
|
302
302
|
};
|
|
303
|
-
}),
|
|
303
|
+
}), r = S(Xe, t), u = c(i["aria-label"]), { ariaLabel: a, title: l } = oe(n), d = me({
|
|
304
304
|
ariaLabel: u.value,
|
|
305
305
|
// TODO: take this line away when the aria-label props is removed
|
|
306
306
|
label: a,
|
|
307
|
-
defaultFallback:
|
|
308
|
-
}), m =
|
|
307
|
+
defaultFallback: l
|
|
308
|
+
}), m = S(qe, !1) || S(He, !1), _ = p(() => ({
|
|
309
309
|
"b-popover--small": n.small && !n.large,
|
|
310
310
|
"b-popover--with-divider": !!n.divider,
|
|
311
311
|
"b-popover--large": n.large && !n.small,
|
|
@@ -315,7 +315,7 @@ const Ye = Ge.exports, He = (o, e, n = {}) => {
|
|
|
315
315
|
})), y = p(() => ({
|
|
316
316
|
"b-popover__content--with-title": !!n.title
|
|
317
317
|
})), k = () => e("dismiss"), L = D(s);
|
|
318
|
-
return { __sfc: !0, DEFAULT_OFFSET: t, props: n, emit: e, slots: s, attrs: i, computedAttributes: f, offset:
|
|
318
|
+
return { __sfc: !0, DEFAULT_OFFSET: t, props: n, emit: e, slots: s, attrs: i, computedAttributes: f, offset: r, ariaLabelAttribute: u, ariaLabel: a, title: l, computedAriaLabel: d, isOverflowVisible: m, conditionalClasses: _, contentConditionalClasses: y, dismissPopover: k, hasSlot: L, BentoPopoverDismissButton: We, BentoPopoverTitle: Ge, BentoButtonActions: Qt, PopperContainer: pe };
|
|
319
319
|
}
|
|
320
320
|
});
|
|
321
321
|
var Qe = function() {
|
|
@@ -331,7 +331,7 @@ var Qe = function() {
|
|
|
331
331
|
null,
|
|
332
332
|
"2de66a7e"
|
|
333
333
|
);
|
|
334
|
-
const nt = tt.exports, st = /* @__PURE__ */ Symbol("modal injection key"), ot = /* @__PURE__ */ Symbol("sidepanel children element injection key"), at = /* @__PURE__ */ Symbol("modal fullscreen children element injection key"), it = g({
|
|
334
|
+
const nt = tt.exports, st = /* @__PURE__ */ Symbol("modal injection key"), ot = /* @__PURE__ */ Symbol("sidepanel children element injection key"), at = /* @__PURE__ */ Symbol("modal fullscreen children element injection key"), Bn = /* @__PURE__ */ Symbol("modal fullscreen title id injection key"), On = /* @__PURE__ */ Symbol("modal fullscreen close injection key"), it = g({
|
|
335
335
|
name: "teleport",
|
|
336
336
|
props: {
|
|
337
337
|
to: {
|
|
@@ -350,7 +350,7 @@ const nt = tt.exports, st = /* @__PURE__ */ Symbol("modal injection key"), ot =
|
|
|
350
350
|
waiting: !1,
|
|
351
351
|
observer: null,
|
|
352
352
|
parent: null,
|
|
353
|
-
isVue2:
|
|
353
|
+
isVue2: H
|
|
354
354
|
}),
|
|
355
355
|
computed: {
|
|
356
356
|
classes() {
|
|
@@ -359,7 +359,7 @@ const nt = tt.exports, st = /* @__PURE__ */ Symbol("modal injection key"), ot =
|
|
|
359
359
|
defaultTo() {
|
|
360
360
|
if (this.to)
|
|
361
361
|
return this.to;
|
|
362
|
-
const o =
|
|
362
|
+
const o = S(st, "") || S(at, "") || S(ot, "");
|
|
363
363
|
return o ? `#${o}` : "body";
|
|
364
364
|
}
|
|
365
365
|
},
|
|
@@ -430,28 +430,28 @@ const nt = tt.exports, st = /* @__PURE__ */ Symbol("modal injection key"), ot =
|
|
|
430
430
|
return this.$vnode.componentOptions.children.map((o) => o.elm).filter((o) => o);
|
|
431
431
|
}
|
|
432
432
|
}
|
|
433
|
-
}),
|
|
433
|
+
}), lt = /* @__PURE__ */ g({
|
|
434
434
|
...it,
|
|
435
435
|
setup(o) {
|
|
436
|
-
return { __sfc: !0, isVue2:
|
|
436
|
+
return { __sfc: !0, isVue2: H };
|
|
437
437
|
}
|
|
438
438
|
});
|
|
439
|
-
var
|
|
439
|
+
var rt = function() {
|
|
440
440
|
var e = this, n = e._self._c, t = e._self._setupProxy;
|
|
441
441
|
return t.isVue2 ? n("div", { class: e.classes }, [e._t("default")], 2) : n("Teleport", { class: e.classes, attrs: { to: e.defaultTo, where: e.where, disabled: e.disabled } }, [e._t("default")], 2);
|
|
442
442
|
}, ut = [], ct = /* @__PURE__ */ C(
|
|
443
|
-
rt,
|
|
444
443
|
lt,
|
|
444
|
+
rt,
|
|
445
445
|
ut,
|
|
446
446
|
!1,
|
|
447
447
|
null,
|
|
448
448
|
"fda08514"
|
|
449
449
|
);
|
|
450
450
|
const dt = ct.exports;
|
|
451
|
-
let
|
|
451
|
+
let K = 0;
|
|
452
452
|
const ft = {
|
|
453
453
|
beforeCreate() {
|
|
454
|
-
this.uuid =
|
|
454
|
+
this.uuid = K.toString(), K += 1;
|
|
455
455
|
}
|
|
456
456
|
};
|
|
457
457
|
var pt = function() {
|
|
@@ -535,7 +535,7 @@ const vt = mt.exports, yt = g({
|
|
|
535
535
|
default: !1
|
|
536
536
|
}
|
|
537
537
|
},
|
|
538
|
-
emits: [
|
|
538
|
+
emits: [W.CLICK],
|
|
539
539
|
setup(o, { emit: e }) {
|
|
540
540
|
const t = p(() => ({
|
|
541
541
|
"b-menu-item--critical": o.critical,
|
|
@@ -547,7 +547,7 @@ const vt = mt.exports, yt = g({
|
|
|
547
547
|
computedSecondaryText: s,
|
|
548
548
|
// Methods
|
|
549
549
|
onClick: (f) => {
|
|
550
|
-
f.stopPropagation(), o.handler(), e(
|
|
550
|
+
f.stopPropagation(), o.handler(), e(W.CLICK);
|
|
551
551
|
}
|
|
552
552
|
};
|
|
553
553
|
}
|
|
@@ -577,7 +577,7 @@ const Ct = /* @__PURE__ */ Symbol("menu registering injection key"), kt = {
|
|
|
577
577
|
}, It = /* @__PURE__ */ g({
|
|
578
578
|
...kt,
|
|
579
579
|
setup(o) {
|
|
580
|
-
const e = c(), n = c({}), t =
|
|
580
|
+
const e = c(), n = c({}), t = S(Ct, !1);
|
|
581
581
|
if (t) {
|
|
582
582
|
const { registerMenuContainerElement: s } = t;
|
|
583
583
|
s(e), n.value = {
|
|
@@ -590,7 +590,7 @@ const Ct = /* @__PURE__ */ Symbol("menu registering injection key"), kt = {
|
|
|
590
590
|
var Bt = function() {
|
|
591
591
|
var e = this, n = e._self._c, t = e._self._setupProxy;
|
|
592
592
|
return n("div", e._g({ ref: "menuListContainerRef", staticClass: "b-menu-list-container", attrs: { "data-testid": "menu-list-container" } }, t.menuListContainerEvents), [e._t("default")], 2);
|
|
593
|
-
}, Ot = [],
|
|
593
|
+
}, Ot = [], St = /* @__PURE__ */ C(
|
|
594
594
|
It,
|
|
595
595
|
Bt,
|
|
596
596
|
Ot,
|
|
@@ -598,7 +598,7 @@ var Bt = function() {
|
|
|
598
598
|
null,
|
|
599
599
|
"1669d56a"
|
|
600
600
|
);
|
|
601
|
-
const Z =
|
|
601
|
+
const Z = St.exports, Q = {
|
|
602
602
|
"en-US": {
|
|
603
603
|
backButton: "Go back",
|
|
604
604
|
menuButton: "Open menu"
|
|
@@ -611,7 +611,7 @@ const Z = xt.exports, Q = {
|
|
|
611
611
|
backButton: "voltar",
|
|
612
612
|
menuButton: "Abrir menu"
|
|
613
613
|
}
|
|
614
|
-
},
|
|
614
|
+
}, xt = g({
|
|
615
615
|
i18n: { messages: Q },
|
|
616
616
|
name: "sub-menu-item-list",
|
|
617
617
|
components: { BentoDivider: q, MenuItem: z, MenuListContainer: Z },
|
|
@@ -627,7 +627,7 @@ const Z = xt.exports, Q = {
|
|
|
627
627
|
},
|
|
628
628
|
emits: [O.CLOSE, O.BACK],
|
|
629
629
|
setup(o, { emit: e }) {
|
|
630
|
-
const n = c(null), t = c(0), s = c(o.items.length), i = () => e(O.CLOSE), f = () => e(O.BACK),
|
|
630
|
+
const n = c(null), t = c(0), s = c(o.items.length), i = () => e(O.CLOSE), f = () => e(O.BACK), r = p(() => {
|
|
631
631
|
var m;
|
|
632
632
|
const d = (m = o.items) == null ? void 0 : m.map((_) => ({
|
|
633
633
|
..._,
|
|
@@ -640,7 +640,7 @@ const Z = xt.exports, Q = {
|
|
|
640
640
|
text: o.title,
|
|
641
641
|
secondaryText: null,
|
|
642
642
|
critical: !1,
|
|
643
|
-
icon:
|
|
643
|
+
icon: U,
|
|
644
644
|
isTitle: !0,
|
|
645
645
|
disabled: !1,
|
|
646
646
|
indent: !1,
|
|
@@ -658,9 +658,9 @@ const Z = xt.exports, Q = {
|
|
|
658
658
|
setTimeout(() => u(), 150);
|
|
659
659
|
});
|
|
660
660
|
const a = () => {
|
|
661
|
-
t.value > 0 ? (t.value -= 1,
|
|
662
|
-
},
|
|
663
|
-
t.value < s.value ? (t.value += 1,
|
|
661
|
+
t.value > 0 ? (t.value -= 1, r.value[t.value].disabled && a()) : t.value = s.value, u();
|
|
662
|
+
}, l = () => {
|
|
663
|
+
t.value < s.value ? (t.value += 1, r.value[t.value].disabled && l()) : t.value = 0, u();
|
|
664
664
|
};
|
|
665
665
|
return {
|
|
666
666
|
// Enums
|
|
@@ -668,13 +668,13 @@ const Z = xt.exports, Q = {
|
|
|
668
668
|
// Values
|
|
669
669
|
subMenuItemListRefLocal: n,
|
|
670
670
|
subMenuFocusedIndex: t,
|
|
671
|
-
ChevronLeftIcon:
|
|
672
|
-
computedItems:
|
|
671
|
+
ChevronLeftIcon: U,
|
|
672
|
+
computedItems: r,
|
|
673
673
|
// Methods
|
|
674
674
|
closeMenu: i,
|
|
675
675
|
onBackButton: f,
|
|
676
676
|
focusPrevious: a,
|
|
677
|
-
focusNext:
|
|
677
|
+
focusNext: l
|
|
678
678
|
};
|
|
679
679
|
}
|
|
680
680
|
});
|
|
@@ -690,7 +690,7 @@ var Lt = function() {
|
|
|
690
690
|
return n("li", { key: `sub-menu-item-list-item-${s}`, attrs: { role: "none" } }, [n("menu-item", { attrs: { text: t.text, handler: t.handler, "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);
|
|
691
691
|
}), 0)])], 1);
|
|
692
692
|
}, Et = [], wt = /* @__PURE__ */ C(
|
|
693
|
-
|
|
693
|
+
xt,
|
|
694
694
|
Lt,
|
|
695
695
|
Et,
|
|
696
696
|
!1,
|
|
@@ -705,26 +705,26 @@ function Mt(o, e, n, t) {
|
|
|
705
705
|
const s = c(0), i = c(0), f = (a) => {
|
|
706
706
|
if (!a || !a.parentElement)
|
|
707
707
|
return;
|
|
708
|
-
const
|
|
709
|
-
d.style.position = "absolute", d.style.visibility = "hidden",
|
|
708
|
+
const l = a.parentElement, d = a.cloneNode(!0);
|
|
709
|
+
d.style.position = "absolute", d.style.visibility = "hidden", l.appendChild(d), d.style.width = "max-content";
|
|
710
710
|
const m = d.offsetWidth, _ = Math.max(te, Math.min(m, ee));
|
|
711
711
|
s.value = _, d.style.width = `${_}px`;
|
|
712
712
|
const y = d.offsetHeight;
|
|
713
|
-
i.value = y,
|
|
713
|
+
i.value = y, l.removeChild(d), i.value = y;
|
|
714
714
|
};
|
|
715
|
-
|
|
716
|
-
var
|
|
715
|
+
Y([e, n], async ([a]) => {
|
|
716
|
+
var l, d;
|
|
717
717
|
if (a !== null) {
|
|
718
|
-
await
|
|
719
|
-
const m = (d = (
|
|
718
|
+
await P();
|
|
719
|
+
const m = (d = (l = o.value) == null ? void 0 : l[0]) == null ? void 0 : d.$el;
|
|
720
720
|
m && f(m);
|
|
721
721
|
} else
|
|
722
722
|
s.value = 0, i.value = 0;
|
|
723
723
|
});
|
|
724
|
-
const
|
|
724
|
+
const r = p(() => t != null && t.value ? ne(t.value) : 0);
|
|
725
725
|
return { computedStyle: p(() => {
|
|
726
726
|
const a = {
|
|
727
|
-
width:
|
|
727
|
+
width: r.value > 0 ? `${r.value}px` : "max-content"
|
|
728
728
|
};
|
|
729
729
|
return n.value && (i.value > 0 && (a.height = `${i.value}px`), s.value > 0 && (a.width = `${s.value}px`)), a;
|
|
730
730
|
}) };
|
|
@@ -771,32 +771,32 @@ const Rt = g({
|
|
|
771
771
|
},
|
|
772
772
|
emits: [O.CLOSE, "menu-item-click"],
|
|
773
773
|
setup(o, { emit: e, expose: n }) {
|
|
774
|
-
const t = c(null), s = c(null), i = c(null), f = c(null),
|
|
774
|
+
const t = c(null), s = c(null), i = c(null), f = c(null), r = c(!1), u = c(null), a = c(o.focusLastElement ? o.data.length - 1 : 0), l = c(0), d = c(o.data.length - 1), m = p(() => o.data.some((h) => h.icon)), _ = p(() => o.indentItems || m.value ? o.data.map((h) => {
|
|
775
775
|
let v = !1;
|
|
776
776
|
return h.icon || (v = !0), {
|
|
777
777
|
...h,
|
|
778
778
|
indent: v
|
|
779
779
|
};
|
|
780
780
|
}) : o.data), y = async () => {
|
|
781
|
-
var h, v,
|
|
782
|
-
(
|
|
781
|
+
var h, v, x;
|
|
782
|
+
(x = (v = (h = s.value) == null ? void 0 : h.children[a.value]) == null ? void 0 : v.children[0]) == null || x.focus();
|
|
783
783
|
}, k = () => e(O.CLOSE), L = (h, v) => {
|
|
784
784
|
if (h.items) {
|
|
785
|
-
u.value = v,
|
|
785
|
+
u.value = v, r.value = !0;
|
|
786
786
|
return;
|
|
787
787
|
}
|
|
788
|
-
u.value = v,
|
|
788
|
+
u.value = v, r.value = !1, !h.skipClose && o.closeMenuOnItemSelect !== !1 && k(), e("menu-item-click");
|
|
789
789
|
}, B = () => {
|
|
790
790
|
a.value > 0 ? (a.value -= 1, _.value[a.value].disabled && B()) : a.value = d.value, y();
|
|
791
791
|
}, E = () => {
|
|
792
792
|
a.value < d.value ? (a.value += 1, _.value[a.value].disabled && E()) : a.value = 0, y();
|
|
793
793
|
}, M = (h, v) => {
|
|
794
|
-
var
|
|
795
|
-
(
|
|
794
|
+
var x;
|
|
795
|
+
(x = h == null ? void 0 : h.items) != null && x.length && (u.value = v, r.value = !0);
|
|
796
796
|
}, R = () => {
|
|
797
|
-
u.value &&
|
|
798
|
-
},
|
|
799
|
-
|
|
797
|
+
u.value && r.value && (u.value = null, r.value = !1);
|
|
798
|
+
}, N = () => {
|
|
799
|
+
r.value = !1, u.value = null, y();
|
|
800
800
|
};
|
|
801
801
|
n({
|
|
802
802
|
focusItem: y
|
|
@@ -804,8 +804,8 @@ const Rt = g({
|
|
|
804
804
|
const { computedStyle: A } = Mt(
|
|
805
805
|
f,
|
|
806
806
|
u,
|
|
807
|
-
|
|
808
|
-
|
|
807
|
+
r,
|
|
808
|
+
G(o, "popoverWidth")
|
|
809
809
|
);
|
|
810
810
|
return {
|
|
811
811
|
// Values
|
|
@@ -816,8 +816,8 @@ const Rt = g({
|
|
|
816
816
|
computedData: _,
|
|
817
817
|
computedStyle: A,
|
|
818
818
|
focusedIndex: a,
|
|
819
|
-
subMenuFocusedIndex:
|
|
820
|
-
showSubMenu:
|
|
819
|
+
subMenuFocusedIndex: l,
|
|
820
|
+
showSubMenu: r,
|
|
821
821
|
visibleSubMenuIndex: u,
|
|
822
822
|
// Methods
|
|
823
823
|
menuItemClick: L,
|
|
@@ -826,11 +826,11 @@ const Rt = g({
|
|
|
826
826
|
focusNext: E,
|
|
827
827
|
focusRight: M,
|
|
828
828
|
focusLeft: R,
|
|
829
|
-
onBackButton:
|
|
829
|
+
onBackButton: N
|
|
830
830
|
};
|
|
831
831
|
}
|
|
832
832
|
});
|
|
833
|
-
var
|
|
833
|
+
var Nt = function() {
|
|
834
834
|
var e = this, n = e._self._c;
|
|
835
835
|
return e._self._setupProxy, n("menu-list-container", { ref: "menuItemListWrapperRef", style: e.computedStyle }, [n("ul", { ref: "menuItemListRef", staticClass: "b-menu-item-list", attrs: { role: "menu" }, on: { keydown: [function(t) {
|
|
836
836
|
return !t.type.indexOf("key") && e._k(t.keyCode, "down", 40, t.key, ["Down", "ArrowDown"]) ? null : e.focusNext.apply(null, arguments);
|
|
@@ -841,28 +841,28 @@ var Pt = function() {
|
|
|
841
841
|
}, function(t) {
|
|
842
842
|
return !t.type.indexOf("key") && e._k(t.keyCode, "tab", 9, t.key, "Tab") ? null : e.closeMenu.apply(null, arguments);
|
|
843
843
|
}] } }, e._l(e.computedData, function(t, s) {
|
|
844
|
-
var i, f,
|
|
844
|
+
var i, f, r, u;
|
|
845
845
|
return n("li", { key: `menu-item-${s}`, ref: "menuItemRef", refInFor: !0, staticClass: "b-menu-item-list__item", attrs: { role: "none" }, on: { keydown: [function(a) {
|
|
846
846
|
return !a.type.indexOf("key") && e._k(a.keyCode, "right", 39, a.key, ["Right", "ArrowRight"]) || "button" in a && a.button !== 2 ? null : e.focusRight(t, s);
|
|
847
847
|
}, function(a) {
|
|
848
848
|
return !a.type.indexOf("key") && e._k(a.keyCode, "left", 37, a.key, ["Left", "ArrowLeft"]) || "button" in a && a.button !== 0 ? null : e.focusLeft();
|
|
849
|
-
}] } }, [n("menu-item", { attrs: { text: t.text, handler: (i = t.items) != null && i.length ? () => null : t.handler, "secondary-text": t.secondaryText, icon: t.icon, chevron: !!((f = t.items) != null && f.length), disabled: t.disabled, critical: t.critical, indent: t.indent, tabindex: s === e.subMenuFocusedIndex ? "0" : "-1", "aria-haspopup": !!((
|
|
849
|
+
}] } }, [n("menu-item", { attrs: { text: t.text, handler: (i = t.items) != null && i.length ? () => null : t.handler, "secondary-text": t.secondaryText, icon: t.icon, chevron: !!((f = t.items) != null && f.length), disabled: t.disabled, critical: t.critical, indent: t.indent, tabindex: s === e.subMenuFocusedIndex ? "0" : "-1", "aria-haspopup": !!((r = t.items) != null && r.length), "aria-expanded": e.showSubMenu && e.visibleSubMenuIndex === s }, on: { click: function(a) {
|
|
850
850
|
return e.menuItemClick(t, s);
|
|
851
851
|
} } }), t.addDivider ? n("bento-divider", { staticClass: "b-menu-item-list__divider" }) : e._e(), (u = t.items) != null && u.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);
|
|
852
852
|
}), 0)]);
|
|
853
|
-
}, At = [],
|
|
853
|
+
}, At = [], Pt = /* @__PURE__ */ C(
|
|
854
854
|
Rt,
|
|
855
|
-
|
|
855
|
+
Nt,
|
|
856
856
|
At,
|
|
857
857
|
!1,
|
|
858
858
|
null,
|
|
859
859
|
"273aba04"
|
|
860
860
|
);
|
|
861
|
-
const Dt =
|
|
861
|
+
const Dt = Pt.exports, Ft = /* @__PURE__ */ Symbol("menu inverse style injection key"), $t = {
|
|
862
862
|
i18n: { messages: Q },
|
|
863
863
|
name: "bento-menu"
|
|
864
|
-
},
|
|
865
|
-
|
|
864
|
+
}, Ut = /* @__PURE__ */ g({
|
|
865
|
+
...$t,
|
|
866
866
|
props: {
|
|
867
867
|
button: { default: () => ({
|
|
868
868
|
variant: "secondary"
|
|
@@ -880,7 +880,7 @@ const Dt = Nt.exports, $t = /* @__PURE__ */ Symbol("menu inverse style injection
|
|
|
880
880
|
emits: ["menu-item-click", "click-outside"],
|
|
881
881
|
setup(o, { expose: e, emit: n }) {
|
|
882
882
|
var h;
|
|
883
|
-
const t = o, s = w(), i = D(s), { t: f } =
|
|
883
|
+
const t = o, s = w(), i = D(s), { t: f } = J(), r = c(null), u = c(null), a = c(!1), l = c(!1), d = c(null), m = ye("menu"), _ = S(Ft, c(!1));
|
|
884
884
|
ae(ue, _);
|
|
885
885
|
const y = p(() => ({
|
|
886
886
|
"b-menu--inverse": _.value
|
|
@@ -895,25 +895,25 @@ const Dt = Nt.exports, $t = /* @__PURE__ */ Symbol("menu inverse style injection
|
|
|
895
895
|
}), B = () => {
|
|
896
896
|
a.value = !0, n(O.OPEN);
|
|
897
897
|
}, E = async (v = t.revertFocusToButton) => {
|
|
898
|
-
var
|
|
899
|
-
a.value && (a.value = !1, v && (await
|
|
898
|
+
var x, F;
|
|
899
|
+
a.value && (a.value = !1, v && (await P(), (F = (x = r.value) == null ? void 0 : x.$el) == null || F.focus()), n(O.CLOSE));
|
|
900
900
|
}, M = (v) => {
|
|
901
901
|
v.stopPropagation(), a.value ? E() : B();
|
|
902
902
|
}, R = (v) => {
|
|
903
|
-
v.preventDefault(),
|
|
904
|
-
},
|
|
905
|
-
v.preventDefault(),
|
|
903
|
+
v.preventDefault(), l.value = !1, t.disableArrowDownOpeningMenu || B();
|
|
904
|
+
}, N = (v) => {
|
|
905
|
+
v.preventDefault(), l.value = !0, B();
|
|
906
906
|
}, A = () => {
|
|
907
907
|
n("menu-item-click");
|
|
908
908
|
};
|
|
909
|
-
return
|
|
909
|
+
return Je(
|
|
910
910
|
d,
|
|
911
911
|
() => {
|
|
912
912
|
E(), n("click-outside");
|
|
913
913
|
},
|
|
914
914
|
{
|
|
915
915
|
...t.closeOnClickOutsideOptions,
|
|
916
|
-
ignore: [
|
|
916
|
+
ignore: [r, ...((h = t.closeOnClickOutsideOptions) == null ? void 0 : h.ignore) ?? []]
|
|
917
917
|
}
|
|
918
918
|
), e({
|
|
919
919
|
/**
|
|
@@ -924,10 +924,10 @@ const Dt = Nt.exports, $t = /* @__PURE__ */ Symbol("menu inverse style injection
|
|
|
924
924
|
i("iconRight") && de(
|
|
925
925
|
'"bento-menu" no longer supports the "iconRight" slot. The right-aligned icon is now fixed by design.'
|
|
926
926
|
);
|
|
927
|
-
}), { __sfc: !0, props: t, emit: n, slots: s, hasSlot: i, t: f, menuButtonRef:
|
|
927
|
+
}), { __sfc: !0, props: t, emit: n, slots: s, hasSlot: i, t: f, menuButtonRef: r, menuItemListRef: u, showMenu: a, isLastElementFocused: l, popoverRef: d, menuId: m, isInverseColorSet: _, computedClasses: y, computedMenuWidth: k, computedButtonPropsWithDefaults: L, openMenu: B, closeMenu: E, toggleShowMenu: M, onKeyDown: R, onKeyUp: N, menuItemClick: A, BentoToggleButton: Pe, BentoPopover: nt, BentoTeleport: dt, ChevronDownIcon: he, OptionsVerticalIcon: vt, MenuItemList: Dt };
|
|
928
928
|
}
|
|
929
929
|
});
|
|
930
|
-
var
|
|
930
|
+
var Wt = function() {
|
|
931
931
|
var e = this, n = e._self._c, t = e._self._setupProxy;
|
|
932
932
|
return n("div", { staticClass: "b-menu", class: t.computedClasses, attrs: { "data-testid": "menu" }, on: { keydown: [function(s) {
|
|
933
933
|
return !s.type.indexOf("key") && e._k(s.keyCode, "down", 40, s.key, ["Down", "ArrowDown"]) ? null : t.onKeyDown.apply(null, arguments);
|
|
@@ -953,48 +953,48 @@ var Ut = function() {
|
|
|
953
953
|
"left-start",
|
|
954
954
|
"left-end"
|
|
955
955
|
], 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);
|
|
956
|
-
},
|
|
957
|
-
Wt,
|
|
956
|
+
}, Kt = [], Vt = /* @__PURE__ */ C(
|
|
958
957
|
Ut,
|
|
959
|
-
|
|
958
|
+
Wt,
|
|
959
|
+
Kt,
|
|
960
960
|
!1,
|
|
961
961
|
null,
|
|
962
962
|
"677f361d"
|
|
963
963
|
);
|
|
964
|
-
const jt =
|
|
964
|
+
const jt = Vt.exports, Yt = /* @__PURE__ */ Symbol(
|
|
965
965
|
"button actions with menu container injection key"
|
|
966
|
-
),
|
|
966
|
+
), Gt = 242, V = parseInt(Ie, 10), Jt = (o, e, n) => {
|
|
967
967
|
const t = c(0);
|
|
968
968
|
let s = null;
|
|
969
|
-
const { buttonActionsWithMenu: i, menu: f, stackButtons:
|
|
969
|
+
const { buttonActionsWithMenu: i, menu: f, stackButtons: r } = S(Yt, {
|
|
970
970
|
buttonActionsWithMenu: c(null),
|
|
971
971
|
menu: c(null),
|
|
972
972
|
stackButtons: c(!1)
|
|
973
|
-
}), u = p(() => i.value ?? o.value), a = p(() => f.value ? [...e.value, f.value.$el] : e.value),
|
|
973
|
+
}), u = p(() => i.value ?? o.value), a = p(() => f.value ? [...e.value, f.value.$el] : e.value), l = (d) => {
|
|
974
974
|
var y;
|
|
975
975
|
const m = (y = a.value) == null ? void 0 : y.reduce(
|
|
976
|
-
(k, L) => k + L.clientWidth +
|
|
977
|
-
-
|
|
976
|
+
(k, L) => k + L.clientWidth + V,
|
|
977
|
+
-V - 1
|
|
978
978
|
), _ = u.value.clientWidth;
|
|
979
|
-
return d && (t.value = _ >=
|
|
979
|
+
return d && (t.value = _ >= Gt && !r.value ? m : 0), t.value > _;
|
|
980
980
|
};
|
|
981
|
-
return
|
|
981
|
+
return Y(
|
|
982
982
|
() => n.value,
|
|
983
983
|
() => {
|
|
984
|
-
|
|
985
|
-
|
|
984
|
+
P(() => {
|
|
985
|
+
r.value = l(!0);
|
|
986
986
|
});
|
|
987
987
|
},
|
|
988
988
|
{ deep: !0 }
|
|
989
989
|
), T(() => {
|
|
990
990
|
s = ke(u.value, () => {
|
|
991
|
-
|
|
991
|
+
r.value = l(t.value === 0);
|
|
992
992
|
});
|
|
993
993
|
}), j(() => {
|
|
994
994
|
s == null || s.disconnect();
|
|
995
|
-
}),
|
|
996
|
-
},
|
|
997
|
-
...
|
|
995
|
+
}), r;
|
|
996
|
+
}, Ht = {}, qt = /* @__PURE__ */ g({
|
|
997
|
+
...Ht,
|
|
998
998
|
__name: "button-actions",
|
|
999
999
|
props: {
|
|
1000
1000
|
actions: null,
|
|
@@ -1002,16 +1002,16 @@ const jt = Kt.exports, Gt = /* @__PURE__ */ Symbol(
|
|
|
1002
1002
|
layout: { default: "buttons-end" }
|
|
1003
1003
|
},
|
|
1004
1004
|
setup(o) {
|
|
1005
|
-
const e = o, n = c(null), t = c(null), s =
|
|
1005
|
+
const e = o, n = c(null), t = c(null), s = Jt(n, t, G(e, "actions")), i = p(() => e.actions.slice().reverse()), f = (l) => {
|
|
1006
1006
|
const d = e.actions.length - 1;
|
|
1007
|
-
return
|
|
1008
|
-
},
|
|
1007
|
+
return l === d ? "primary" : "secondary";
|
|
1008
|
+
}, r = p(() => ({
|
|
1009
1009
|
[`b-button-actions--${e.layout}`]: !0,
|
|
1010
1010
|
"b-button-actions--stacked-buttons": s.value
|
|
1011
1011
|
}));
|
|
1012
|
-
return { __sfc: !0, props: e, buttonActions: n, buttons: t, stackButtons: s, reversedActionsList: i, generateButtonVariantByIndex: f, conditionalClasses:
|
|
1013
|
-
click:
|
|
1014
|
-
} : {}, isIconOnly: (
|
|
1012
|
+
return { __sfc: !0, props: e, buttonActions: n, buttons: t, stackButtons: s, reversedActionsList: i, generateButtonVariantByIndex: f, conditionalClasses: r, generateButtonEvents: (l) => (l == null ? void 0 : l.event) !== void 0 ? {
|
|
1013
|
+
click: l.event
|
|
1014
|
+
} : {}, isIconOnly: (l) => l.iconOnly && (l.iconLeft || l.iconRight || l.icon), BentoButton: b, BentoLoadingButton: we, BentoMenu: jt };
|
|
1015
1015
|
}
|
|
1016
1016
|
});
|
|
1017
1017
|
var Xt = function() {
|
|
@@ -1045,22 +1045,24 @@ const Qt = Zt.exports;
|
|
|
1045
1045
|
export {
|
|
1046
1046
|
Qt as B,
|
|
1047
1047
|
Ct as D,
|
|
1048
|
-
|
|
1049
|
-
|
|
1048
|
+
He as I,
|
|
1049
|
+
Ft as M,
|
|
1050
1050
|
vt as O,
|
|
1051
1051
|
Xe as P,
|
|
1052
1052
|
ot as S,
|
|
1053
1053
|
we as a,
|
|
1054
1054
|
I as b,
|
|
1055
|
-
|
|
1056
|
-
|
|
1055
|
+
Pe as c,
|
|
1056
|
+
Yt as d,
|
|
1057
1057
|
dt as e,
|
|
1058
1058
|
jt as f,
|
|
1059
1059
|
O as g,
|
|
1060
1060
|
nt as h,
|
|
1061
|
-
|
|
1062
|
-
|
|
1063
|
-
|
|
1064
|
-
|
|
1061
|
+
Bn as i,
|
|
1062
|
+
On as j,
|
|
1063
|
+
at as k,
|
|
1064
|
+
st as l,
|
|
1065
|
+
qe as m,
|
|
1066
|
+
Je as u
|
|
1065
1067
|
};
|
|
1066
|
-
//# sourceMappingURL=button-actions.
|
|
1068
|
+
//# sourceMappingURL=button-actions.DyPS54Yi.js.map
|