@adyen/bento-vue3 1.86.1 → 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 +12337 -12402
- 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.g7rM3wUc.js → action-bar.Ho_fXeXK.js} +4 -4
- package/dist/chunks/{action-bar.g7rM3wUc.js.map → action-bar.Ho_fXeXK.js.map} +1 -1
- package/dist/chunks/{ai-tag.UlRkq54l.js → ai-tag.DVCW-_vD.js} +2 -2
- package/dist/chunks/{ai-tag.UlRkq54l.js.map → ai-tag.DVCW-_vD.js.map} +1 -1
- package/dist/chunks/anchor-scroller.BctgW0se.js +214 -0
- package/dist/chunks/anchor-scroller.BctgW0se.js.map +1 -0
- package/dist/chunks/{base-modal.D5HrjwL1.js → base-modal.gZAtk-xP.js} +17 -17
- package/dist/chunks/{base-modal.D5HrjwL1.js.map → base-modal.gZAtk-xP.js.map} +1 -1
- package/dist/chunks/{button-actions-with-menu.DBqA3Ws5.js → button-actions-with-menu.Tba1ME79.js} +3 -3
- package/dist/chunks/{button-actions-with-menu.DBqA3Ws5.js.map → button-actions-with-menu.Tba1ME79.js.map} +1 -1
- package/dist/chunks/{button-actions.BH-J7dux.js → button-actions.BYBpjNqy.js} +182 -180
- package/dist/chunks/button-actions.BYBpjNqy.js.map +1 -0
- package/dist/chunks/{calendar.DzeJoNc2.js → calendar.vM3abC8y.js} +401 -410
- package/dist/chunks/calendar.vM3abC8y.js.map +1 -0
- package/dist/chunks/{card.DcXXdxWL.js → card.Cw63i7Ul.js} +2 -2
- package/dist/chunks/{card.DcXXdxWL.js.map → card.Cw63i7Ul.js.map} +1 -1
- package/dist/chunks/{checkbox-group.Bh_aqKoA.js → checkbox-group.ODQy-ICn.js} +42 -41
- package/dist/chunks/checkbox-group.ODQy-ICn.js.map +1 -0
- package/dist/chunks/{checkbox.7kpOXm-b.js → checkbox.C3Ewfygy.js} +79 -81
- package/dist/chunks/checkbox.C3Ewfygy.js.map +1 -0
- package/dist/chunks/{code-snippet.UIqVTv4U.js → code-snippet.Dl1MEedz.js} +4 -4
- package/dist/chunks/{code-snippet.UIqVTv4U.js.map → code-snippet.Dl1MEedz.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.Dip3WAKV.js → controls-group.Bu5lNTyH.js} +22 -28
- package/dist/chunks/controls-group.Bu5lNTyH.js.map +1 -0
- package/dist/chunks/{copy.ByyQlckP.js → copy.C_BCNHYQ.js} +3 -3
- package/dist/chunks/{copy.ByyQlckP.js.map → copy.C_BCNHYQ.js.map} +1 -1
- package/dist/chunks/{dashboard-section.CIHtXoeW.js → dashboard-section.CgoLquLP.js} +3 -3
- package/dist/chunks/{dashboard-section.CIHtXoeW.js.map → dashboard-section.CgoLquLP.js.map} +1 -1
- package/dist/chunks/{dashed-underline.CLwPU-C2.js → dashed-underline.wbRHATeE.js} +3 -3
- package/dist/chunks/{dashed-underline.CLwPU-C2.js.map → dashed-underline.wbRHATeE.js.map} +1 -1
- package/dist/chunks/{data-grid-template.BTpSfkQt.js → data-grid-template.D40V1cmi.js} +3 -3
- package/dist/chunks/{data-grid-template.BTpSfkQt.js.map → data-grid-template.D40V1cmi.js.map} +1 -1
- package/dist/chunks/{data-grid.kEhur6r-.js → data-grid.KudN-TcY.js} +870 -867
- package/dist/chunks/{data-grid.kEhur6r-.js.map → data-grid.KudN-TcY.js.map} +1 -1
- package/dist/chunks/date-picker.D5B_SECc.js +251 -0
- package/dist/chunks/date-picker.D5B_SECc.js.map +1 -0
- package/dist/chunks/date-range-picker.CDDw_xl_.js +1104 -0
- package/dist/chunks/date-range-picker.CDDw_xl_.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.B3ptLXXP.js → dialog-page.C1KUI51V.js} +2 -2
- package/dist/chunks/{dialog-page.B3ptLXXP.js.map → dialog-page.C1KUI51V.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.B-_dTUVX.js → dropdown-default-textbox.CskseEho.js} +62 -60
- package/dist/chunks/dropdown-default-textbox.CskseEho.js.map +1 -0
- package/dist/chunks/{dropdown-tag.DDNOZhEG.js → dropdown-tag.CwSzUwa7.js} +3 -3
- package/dist/chunks/{dropdown-tag.DDNOZhEG.js.map → dropdown-tag.CwSzUwa7.js.map} +1 -1
- package/dist/chunks/{dropdown.CU6nfq3V.js → dropdown.Bdw2B-Cw.js} +9 -9
- package/dist/chunks/{dropdown.CU6nfq3V.js.map → dropdown.Bdw2B-Cw.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.oGiefI2-.js +155 -0
- package/dist/chunks/error-message.oGiefI2-.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.Q2ufNRTY.js → file-uploader.BnmNI1O7.js} +573 -548
- package/dist/chunks/file-uploader.BnmNI1O7.js.map +1 -0
- package/dist/chunks/{filter-bar.CkYOjRAa.js → filter-bar.xwfVuZw4.js} +1973 -2062
- package/dist/chunks/filter-bar.xwfVuZw4.js.map +1 -0
- package/dist/chunks/{focus-trap.CBvh2H_m.js → focus-trap.BxCwzLqN.js} +2 -2
- package/dist/chunks/{focus-trap.CBvh2H_m.js.map → focus-trap.BxCwzLqN.js.map} +1 -1
- package/dist/chunks/{footer-actions.DLzMOB7j.js → footer-actions.Ck6UztD8.js} +2 -2
- package/dist/chunks/{footer-actions.DLzMOB7j.js.map → footer-actions.Ck6UztD8.js.map} +1 -1
- package/dist/chunks/form-layout-title.CQfeGyVw.js +232 -0
- package/dist/chunks/{form-layout-title.DYmTc6M7.js.map → form-layout-title.CQfeGyVw.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.Bw8ZGwJW.js → header-meta.lGt3HsyH.js} +108 -114
- package/dist/chunks/header-meta.lGt3HsyH.js.map +1 -0
- package/dist/chunks/{header-with-views.CJDoE4hw.js → header-with-views.BT6lbAby.js} +9 -9
- package/dist/chunks/{header-with-views.CJDoE4hw.js.map → header-with-views.BT6lbAby.js.map} +1 -1
- package/dist/chunks/{header.BeH8KH_l.js → header.oXqwf2xN.js} +3 -3
- package/dist/chunks/{header.BeH8KH_l.js.map → header.oXqwf2xN.js.map} +1 -1
- package/dist/chunks/{index.CbxHJr39.js → index.Dppy4qHk.js} +204 -197
- package/dist/chunks/{index.CbxHJr39.js.map → index.Dppy4qHk.js.map} +1 -1
- package/dist/chunks/{info-icon.BLtyJvY4.js → info-icon.DyPOv7Pi.js} +3 -3
- package/dist/chunks/{info-icon.BLtyJvY4.js.map → info-icon.DyPOv7Pi.js.map} +1 -1
- package/dist/chunks/{input-field-password.KeKQPIZv.js → input-field-password.CKhqGBVB.js} +6 -6
- package/dist/chunks/{input-field-password.KeKQPIZv.js.map → input-field-password.CKhqGBVB.js.map} +1 -1
- package/dist/chunks/{input-field-phone-number.eaU9p15A.js → input-field-phone-number.Cailj_71.js} +49 -49
- package/dist/chunks/{input-field-phone-number.eaU9p15A.js.map → input-field-phone-number.Cailj_71.js.map} +1 -1
- package/dist/chunks/{input-field.CNdqlGw6.js → input-field.DqXVoKpy.js} +15 -14
- package/dist/chunks/input-field.DqXVoKpy.js.map +1 -0
- package/dist/chunks/{inspector.Bnf0g7QE.js → inspector.BjLhY3bE.js} +3 -3
- package/dist/chunks/{inspector.Bnf0g7QE.js.map → inspector.BjLhY3bE.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.Bz-mRqAq.js → layout-row.Da8nkm9z.js} +2 -2
- package/dist/chunks/{layout-row.Bz-mRqAq.js.map → layout-row.Da8nkm9z.js.map} +1 -1
- package/dist/chunks/{listbox-option-tag.C3ihNg6_.js → listbox-option-tag.CoBUYwFG.js} +2 -2
- package/dist/chunks/{listbox-option-tag.C3ihNg6_.js.map → listbox-option-tag.CoBUYwFG.js.map} +1 -1
- package/dist/chunks/modal-fullscreen.9ZDR_S29.js +301 -0
- package/dist/chunks/modal-fullscreen.9ZDR_S29.js.map +1 -0
- package/dist/chunks/{modal.vue_vue_type_script_setup_true_lang.BAwez0nB.js → modal.vue_vue_type_script_setup_true_lang.B0IdwV0R.js} +4 -4
- package/dist/chunks/{modal.vue_vue_type_script_setup_true_lang.BAwez0nB.js.map → modal.vue_vue_type_script_setup_true_lang.B0IdwV0R.js.map} +1 -1
- package/dist/chunks/pagination.CqCd5JCe.js +488 -0
- package/dist/chunks/pagination.CqCd5JCe.js.map +1 -0
- package/dist/chunks/popover.types.DhALnOLQ.js +6 -0
- package/dist/chunks/{popover.types.C_Z2JeVK.js.map → popover.types.DhALnOLQ.js.map} +1 -1
- package/dist/chunks/{popper-container.BefZxTzP.js → popper-container.DAK7c9uS.js} +2 -2
- package/dist/chunks/{popper-container.BefZxTzP.js.map → popper-container.DAK7c9uS.js.map} +1 -1
- package/dist/chunks/{promo-banner.BLie64oS.js → promo-banner.aNwH6uQx.js} +2 -2
- package/dist/chunks/{promo-banner.BLie64oS.js.map → promo-banner.aNwH6uQx.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.C6nQRQDB.js → radio-group.v8mDVZ-o.js} +24 -23
- package/dist/chunks/{radio-group.C6nQRQDB.js.map → radio-group.v8mDVZ-o.js.map} +1 -1
- package/dist/chunks/{rich-text-editor.C39NKgl0.js → rich-text-editor.DH1d5Zcp.js} +7 -6
- package/dist/chunks/{rich-text-editor.C39NKgl0.js.map → rich-text-editor.DH1d5Zcp.js.map} +1 -1
- package/dist/chunks/{search-bar.CbTrg2Sk.js → search-bar.DGpLNVng.js} +3 -3
- package/dist/chunks/{search-bar.CbTrg2Sk.js.map → search-bar.DGpLNVng.js.map} +1 -1
- package/dist/chunks/{secondary-nav.DTOZQewf.js → secondary-nav.l_60nnXA.js} +3 -3
- package/dist/chunks/{secondary-nav.DTOZQewf.js.map → secondary-nav.l_60nnXA.js.map} +1 -1
- package/dist/chunks/{segmented-control.D9rHBysM.js → segmented-control.Aqquod8g.js} +2 -2
- package/dist/chunks/{segmented-control.D9rHBysM.js.map → segmented-control.Aqquod8g.js.map} +1 -1
- package/dist/chunks/{selection-card-group.KEsG0D5V.js → selection-card-group.KBl4fVSH.js} +107 -106
- package/dist/chunks/selection-card-group.KBl4fVSH.js.map +1 -0
- package/dist/chunks/{sidepanel.DJCagqzl.js → sidepanel.DaXPcTHm.js} +5 -5
- package/dist/chunks/{sidepanel.DJCagqzl.js.map → sidepanel.DaXPcTHm.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.f1tmHSEN.js → structured-list-item.DAIaUMCY.js} +4 -4
- package/dist/chunks/{structured-list-item.f1tmHSEN.js.map → structured-list-item.DAIaUMCY.js.map} +1 -1
- package/dist/chunks/{summary-grid.types.COcV-sOB.js → summary-grid.types.BZcZS_dW.js} +5 -5
- package/dist/chunks/{summary-grid.types.COcV-sOB.js.map → summary-grid.types.BZcZS_dW.js.map} +1 -1
- package/dist/chunks/{tag.Dr7MKe9q.js → tag.CqWg6C3H.js} +2 -2
- package/dist/chunks/{tag.Dr7MKe9q.js.map → tag.CqWg6C3H.js.map} +1 -1
- package/dist/chunks/{textarea.CtgbUCjH.js → textarea.CvI2InIB.js} +18 -17
- package/dist/chunks/textarea.CvI2InIB.js.map +1 -0
- package/dist/chunks/{timeline-item.D9nmCe6u.js → timeline-item.BooD99hL.js} +93 -95
- package/dist/chunks/timeline-item.BooD99hL.js.map +1 -0
- package/dist/chunks/{tooltip.DYpJZ-99.js → tooltip.Lwtlhv3u.js} +2 -2
- package/dist/chunks/{tooltip.DYpJZ-99.js.map → tooltip.Lwtlhv3u.js.map} +1 -1
- package/dist/chunks/{tutorial.vue_vue_type_script_setup_true_lang.B5hWgNSd.js → tutorial.vue_vue_type_script_setup_true_lang.BL2QTKmV.js} +4 -4
- package/dist/chunks/{tutorial.vue_vue_type_script_setup_true_lang.B5hWgNSd.js.map → tutorial.vue_vue_type_script_setup_true_lang.BL2QTKmV.js.map} +1 -1
- package/dist/chunks/{use-cached-selected-values.BiSuG1eX.js → use-cached-selected-values.C4_X3vVj.js} +2 -2
- package/dist/chunks/{use-cached-selected-values.BiSuG1eX.js.map → use-cached-selected-values.C4_X3vVj.js.map} +1 -1
- package/dist/chunks/use-date-input-formatter.dtbK-CEy.js +1732 -0
- package/dist/chunks/use-date-input-formatter.dtbK-CEy.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 +1 -1
- package/package.json +10 -15
- package/dist/chunks/anchor-scroller.CKIQu3NK.js +0 -215
- package/dist/chunks/anchor-scroller.CKIQu3NK.js.map +0 -1
- package/dist/chunks/button-actions.BH-J7dux.js.map +0 -1
- package/dist/chunks/calendar.DzeJoNc2.js.map +0 -1
- package/dist/chunks/checkbox-group.Bh_aqKoA.js.map +0 -1
- package/dist/chunks/checkbox.7kpOXm-b.js.map +0 -1
- package/dist/chunks/constructNow.B8T1ljs6.js +0 -8
- package/dist/chunks/controls-group.Dip3WAKV.js.map +0 -1
- package/dist/chunks/date-input.XSJuuCHe.js +0 -20
- package/dist/chunks/date-input.XSJuuCHe.js.map +0 -1
- package/dist/chunks/date-picker.CvTSZhMI.js +0 -250
- package/dist/chunks/date-picker.CvTSZhMI.js.map +0 -1
- package/dist/chunks/date-range-picker.D0YqnZ86.js +0 -1080
- package/dist/chunks/date-range-picker.D0YqnZ86.js.map +0 -1
- package/dist/chunks/dropdown-default-textbox.B-_dTUVX.js.map +0 -1
- package/dist/chunks/en-US.BZii9jNW.js.map +0 -1
- package/dist/chunks/error-message.BYA2_fPV.js +0 -158
- package/dist/chunks/error-message.BYA2_fPV.js.map +0 -1
- package/dist/chunks/file-uploader.Q2ufNRTY.js.map +0 -1
- package/dist/chunks/filter-bar.CkYOjRAa.js.map +0 -1
- package/dist/chunks/form-layout-title.DYmTc6M7.js +0 -214
- 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.Bw8ZGwJW.js.map +0 -1
- package/dist/chunks/input-field.CNdqlGw6.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.B3AGUJgl.js +0 -289
- package/dist/chunks/modal-fullscreen.B3AGUJgl.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.lu9nx8j8.js +0 -461
- package/dist/chunks/pagination.lu9nx8j8.js.map +0 -1
- package/dist/chunks/popover.types.C_Z2JeVK.js +0 -6
- package/dist/chunks/selection-card-group.KEsG0D5V.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.CtgbUCjH.js.map +0 -1
- package/dist/chunks/timeline-item.D9nmCe6u.js.map +0 -1
|
@@ -1,29 +1,29 @@
|
|
|
1
|
-
import { defineComponent as w, useSlots as Q, computed as _, openBlock as r, createBlock as g, withModifiers as X, normalizeClass as U, createSlots as j, withCtx as b, renderSlot as
|
|
2
|
-
import { B as
|
|
1
|
+
import { defineComponent as w, useSlots as Q, computed as _, openBlock as r, createBlock as g, withModifiers as X, normalizeClass as U, createSlots as j, withCtx as b, renderSlot as D, unref as p, createElementVNode as V, createCommentVNode as B, mergeProps as J, renderList as x, normalizeProps as Se, guardReactiveProps as Te, resolveComponent as T, createVNode as E, createTextVNode as G, toDisplayString as Y, onMounted as ee, onUnmounted as pe, useAttrs as we, inject as W, ref as v, toRefs as Me, Transition as ve, createElementBlock as k, Teleport as Ne, resolveDynamicComponent as z, toHandlers as ie, withKeys as N, Fragment as Z, watch as be, nextTick as te, toRef as he, normalizeStyle as ye, provide as Ae } from "vue";
|
|
2
|
+
import { B as S } from "./button.C6t9_lzm.js";
|
|
3
3
|
import { B as Re } from "./loading-indicator.BPol9I84.js";
|
|
4
|
-
import { C as
|
|
5
|
-
import { C as
|
|
4
|
+
import { C as De } from "./cross-circle-fill.BWCKKn0E.js";
|
|
5
|
+
import { C as Pe } from "./checkmark-circle-fill.DugX5fbG.js";
|
|
6
6
|
import { u as ae } from "./use-has-slot.B7eQSabc.js";
|
|
7
7
|
import { u as ge } from "./index.B875RXHM.js";
|
|
8
8
|
import { _ as M } from "./_plugin-vue_export-helper.CHgC5LLL.js";
|
|
9
9
|
import { B as _e, D as Fe } from "./divider.BIY84UH7.js";
|
|
10
|
-
import { C as
|
|
11
|
-
import { B as Ce, c as re, p as
|
|
12
|
-
import { a as Ue, P as Ve, b as je } from "./popper-container.
|
|
13
|
-
import { u as
|
|
14
|
-
import { o as
|
|
15
|
-
import { g as
|
|
16
|
-
import { C as
|
|
10
|
+
import { C as Ke } from "./cross.CCHdi6v3.js";
|
|
11
|
+
import { B as Ce, c as re, p as We } from "./typography.B3J6_tYk.js";
|
|
12
|
+
import { a as Ue, P as Ve, b as je } from "./popper-container.DAK7c9uS.js";
|
|
13
|
+
import { u as Ye } from "./aria-label.CaUURpnB.js";
|
|
14
|
+
import { o as Ge } from "./on-click-outside.BW4rkhzG.js";
|
|
15
|
+
import { g as Je } from "./generate-uid.NJ8tVoha.js";
|
|
16
|
+
import { C as He } from "./chevron-down.XeE-LBV_.js";
|
|
17
17
|
/* empty css */
|
|
18
18
|
import { a as qe, C as ue } from "./chevron-left.C_vPW7OR.js";
|
|
19
19
|
import { a as de, B as ze } from "./base-button.CRYAiuzn.js";
|
|
20
20
|
import { t as Xe } from "./truncate.BfIl_-71.js";
|
|
21
|
-
import { i as
|
|
21
|
+
import { i as Ie } from "./index.CWuzEfiV.js";
|
|
22
22
|
import { o as Ze } from "./resize.Bqks3WUm.js";
|
|
23
23
|
import { g as Qe } from "./es6.C1DXQV6f.js";
|
|
24
24
|
import "../assets/button-actions.css";
|
|
25
25
|
var R = /* @__PURE__ */ ((e) => (e.START = "start", e.LOADING = "loading", e.SUCCESS = "success", e.FAIL = "fail", e))(R || {});
|
|
26
|
-
const
|
|
26
|
+
const ke = {
|
|
27
27
|
"en-US": {
|
|
28
28
|
failed: "Failed",
|
|
29
29
|
succeded: "Succeded"
|
|
@@ -40,7 +40,7 @@ const Ie = {
|
|
|
40
40
|
class: "b-loading-button__icon",
|
|
41
41
|
"data-testid": "loading-button-rotating-icon"
|
|
42
42
|
}, et = {
|
|
43
|
-
i18n: { messages:
|
|
43
|
+
i18n: { messages: ke }
|
|
44
44
|
}, tt = /* @__PURE__ */ w({
|
|
45
45
|
...et,
|
|
46
46
|
__name: "loading-button",
|
|
@@ -49,21 +49,21 @@ const Ie = {
|
|
|
49
49
|
* Reduces sizing of button
|
|
50
50
|
*/
|
|
51
51
|
condensed: {
|
|
52
|
-
type:
|
|
52
|
+
type: S.props.condensed.type,
|
|
53
53
|
default: !1
|
|
54
54
|
},
|
|
55
55
|
/**
|
|
56
56
|
* Displays loading-button as critical
|
|
57
57
|
*/
|
|
58
58
|
critical: {
|
|
59
|
-
type:
|
|
59
|
+
type: S.props.critical.type,
|
|
60
60
|
default: !1
|
|
61
61
|
},
|
|
62
62
|
/**
|
|
63
63
|
* Disables button functonality
|
|
64
64
|
*/
|
|
65
65
|
disabled: {
|
|
66
|
-
type:
|
|
66
|
+
type: S.props.disabled.type,
|
|
67
67
|
default: !1
|
|
68
68
|
},
|
|
69
69
|
/**
|
|
@@ -86,14 +86,14 @@ const Ie = {
|
|
|
86
86
|
* Types of flavour of Button
|
|
87
87
|
*/
|
|
88
88
|
variant: {
|
|
89
|
-
type:
|
|
89
|
+
type: S.props.variant.type,
|
|
90
90
|
default: "primary",
|
|
91
|
-
validator:
|
|
91
|
+
validator: S.props.variant.validator
|
|
92
92
|
}
|
|
93
93
|
},
|
|
94
94
|
emits: ["click"],
|
|
95
95
|
setup(e, { emit: t }) {
|
|
96
|
-
const s = e, o = t, d = Q(), m = ae(d), { t: u } = ge({ messages:
|
|
96
|
+
const s = e, o = t, d = Q(), m = ae(d), { t: u } = ge({ messages: ke }), c = _(() => ({
|
|
97
97
|
[`b-loading-button--${s.variant}-${R.LOADING}`]: s.state === R.LOADING && !s.disabled,
|
|
98
98
|
"b-loading-button--loading": s.state === R.LOADING && !s.disabled,
|
|
99
99
|
[`b-loading-button--${s.variant}-${R.SUCCESS}`]: s.state === R.SUCCESS,
|
|
@@ -105,7 +105,7 @@ const Ie = {
|
|
|
105
105
|
), i = (l) => {
|
|
106
106
|
l.stopPropagation(), s.state !== R.LOADING && o("click", l);
|
|
107
107
|
};
|
|
108
|
-
return (l, n) => (r(), g(
|
|
108
|
+
return (l, n) => (r(), g(S, {
|
|
109
109
|
critical: a.value,
|
|
110
110
|
variant: e.variant,
|
|
111
111
|
condensed: e.condensed,
|
|
@@ -115,31 +115,31 @@ const Ie = {
|
|
|
115
115
|
onClickCapture: X(i, ["stop"])
|
|
116
116
|
}, j({
|
|
117
117
|
default: b(() => [
|
|
118
|
-
|
|
118
|
+
D(l.$slots, "default", {}, void 0, !0)
|
|
119
119
|
]),
|
|
120
120
|
_: 2
|
|
121
121
|
}, [
|
|
122
122
|
e.state === "start" && p(m)("iconLeft") ? {
|
|
123
123
|
name: "iconLeft",
|
|
124
124
|
fn: b(() => [
|
|
125
|
-
|
|
125
|
+
D(l.$slots, "iconLeft", {}, void 0, !0)
|
|
126
126
|
]),
|
|
127
127
|
key: "0"
|
|
128
128
|
} : e.state !== "start" ? {
|
|
129
129
|
name: "iconLeft",
|
|
130
130
|
fn: b(() => [
|
|
131
131
|
V("span", xe, [
|
|
132
|
-
e.state === "fail" ? (r(), g(p(
|
|
132
|
+
e.state === "fail" ? (r(), g(p(De), {
|
|
133
133
|
key: 0,
|
|
134
134
|
"svg-title": p(u)("failed")
|
|
135
|
-
}, null, 8, ["svg-title"])) : e.state === "success" ? (r(), g(p(
|
|
135
|
+
}, null, 8, ["svg-title"])) : e.state === "success" ? (r(), g(p(Pe), {
|
|
136
136
|
key: 1,
|
|
137
137
|
"svg-title": p(u)("succeded")
|
|
138
138
|
}, null, 8, ["svg-title"])) : e.state === "loading" ? (r(), g(p(Re), {
|
|
139
139
|
key: 2,
|
|
140
140
|
small: "",
|
|
141
141
|
inverse: f.value
|
|
142
|
-
}, null, 8, ["inverse"])) :
|
|
142
|
+
}, null, 8, ["inverse"])) : B("", !0)
|
|
143
143
|
])
|
|
144
144
|
]),
|
|
145
145
|
key: "1"
|
|
@@ -154,14 +154,14 @@ const Ie = {
|
|
|
154
154
|
* Reduces sizing of button
|
|
155
155
|
*/
|
|
156
156
|
condensed: {
|
|
157
|
-
type:
|
|
157
|
+
type: S.props.condensed.type,
|
|
158
158
|
default: !1
|
|
159
159
|
},
|
|
160
160
|
/**
|
|
161
161
|
* Disables button functonality
|
|
162
162
|
*/
|
|
163
163
|
disabled: {
|
|
164
|
-
type:
|
|
164
|
+
type: S.props.disabled.type,
|
|
165
165
|
default: !1
|
|
166
166
|
},
|
|
167
167
|
/**
|
|
@@ -176,9 +176,9 @@ const Ie = {
|
|
|
176
176
|
* @values primary, secondary, tertiary
|
|
177
177
|
*/
|
|
178
178
|
variant: {
|
|
179
|
-
type:
|
|
179
|
+
type: S.props.variant.type,
|
|
180
180
|
default: "primary",
|
|
181
|
-
validator:
|
|
181
|
+
validator: S.props.variant.validator
|
|
182
182
|
},
|
|
183
183
|
/**
|
|
184
184
|
* The state of the button whether it is toggled or not.
|
|
@@ -199,7 +199,7 @@ const Ie = {
|
|
|
199
199
|
})), u = (a) => {
|
|
200
200
|
a.stopPropagation(), s != null && s.disabled || (o("click", a), o("update:toggled", !s.toggled));
|
|
201
201
|
}, c = Q(), f = (a) => ({ key: a });
|
|
202
|
-
return (a, i) => (r(), g(
|
|
202
|
+
return (a, i) => (r(), g(S, J({ class: "b-toggle-button" }, a.$attrs, {
|
|
203
203
|
"aria-expanded": `${e.toggled}`,
|
|
204
204
|
"aria-pressed": `${e.toggled}`,
|
|
205
205
|
condensed: e.condensed,
|
|
@@ -212,14 +212,14 @@ const Ie = {
|
|
|
212
212
|
x(p(c), (l, n) => ({
|
|
213
213
|
name: n,
|
|
214
214
|
fn: b(() => [
|
|
215
|
-
|
|
215
|
+
D(a.$slots, n, Se(Te(f(n))), void 0, !0)
|
|
216
216
|
])
|
|
217
217
|
}))
|
|
218
218
|
]), 1040, ["aria-expanded", "aria-pressed", "condensed", "class", "disabled", "inverse", "variant"]));
|
|
219
219
|
}
|
|
220
220
|
}), it = /* @__PURE__ */ M(st, [["__scopeId", "data-v-f1b10e5f"]]), at = w({
|
|
221
221
|
name: "bento-popover-dismiss-button",
|
|
222
|
-
components: { BentoButton:
|
|
222
|
+
components: { BentoButton: S, CrossIcon: Ke },
|
|
223
223
|
props: {
|
|
224
224
|
onImage: {
|
|
225
225
|
type: Boolean,
|
|
@@ -241,7 +241,7 @@ function lt(e, t, s, o, d, m) {
|
|
|
241
241
|
onClick: t[0] || (t[0] = (f) => e.$emit("click"))
|
|
242
242
|
}, {
|
|
243
243
|
iconLeft: b(() => [
|
|
244
|
-
|
|
244
|
+
E(u, { "svg-title": "dismiss" })
|
|
245
245
|
]),
|
|
246
246
|
_: 1
|
|
247
247
|
}, 8, ["class"]);
|
|
@@ -277,7 +277,7 @@ function ut(e, t, s, o, d, m) {
|
|
|
277
277
|
el: "span"
|
|
278
278
|
}, {
|
|
279
279
|
default: b(() => [
|
|
280
|
-
Y(
|
|
280
|
+
G(Y(e.title), 1)
|
|
281
281
|
]),
|
|
282
282
|
_: 1
|
|
283
283
|
}, 8, ["strongest", "variant"]);
|
|
@@ -285,7 +285,7 @@ function ut(e, t, s, o, d, m) {
|
|
|
285
285
|
const dt = /* @__PURE__ */ M(rt, [["render", ut]]), ct = (e, t, s = {}) => {
|
|
286
286
|
let o;
|
|
287
287
|
ee(() => {
|
|
288
|
-
o =
|
|
288
|
+
o = Ge(e, t, s);
|
|
289
289
|
}), pe(() => {
|
|
290
290
|
o && (o(), o = null);
|
|
291
291
|
});
|
|
@@ -301,7 +301,7 @@ const dt = /* @__PURE__ */ M(rt, [["render", ut]]), ct = (e, t, s = {}) => {
|
|
|
301
301
|
}, yt = { class: "b-popover__header-title" }, gt = { key: 0 }, _t = {
|
|
302
302
|
key: 3,
|
|
303
303
|
class: "b-popover__footer"
|
|
304
|
-
}, Ct = {},
|
|
304
|
+
}, Ct = {}, It = /* @__PURE__ */ w({
|
|
305
305
|
...Ct,
|
|
306
306
|
__name: "popover",
|
|
307
307
|
props: {
|
|
@@ -334,12 +334,12 @@ const dt = /* @__PURE__ */ M(rt, [["render", ut]]), ct = (e, t, s = {}) => {
|
|
|
334
334
|
id: (y = u.id) == null ? void 0 : y.toString(),
|
|
335
335
|
role: (u == null ? void 0 : u.role) === null ? void 0 : Ue.POPOVER
|
|
336
336
|
};
|
|
337
|
-
}), f =
|
|
337
|
+
}), f = W(pt, 2), a = v(u["aria-label"]), { ariaLabel: i, title: l } = Me(o), n = Ye({
|
|
338
338
|
ariaLabel: a.value,
|
|
339
339
|
// TODO: take this line away when the aria-label props is removed
|
|
340
340
|
label: i,
|
|
341
341
|
defaultFallback: l
|
|
342
|
-
}), h =
|
|
342
|
+
}), h = W(mt, !1) || W(ft, !1), I = _(() => ({
|
|
343
343
|
"b-popover--small": o.small && !o.large,
|
|
344
344
|
"b-popover--with-divider": !!o.divider,
|
|
345
345
|
"b-popover--large": o.large && !o.small,
|
|
@@ -348,7 +348,7 @@ const dt = /* @__PURE__ */ M(rt, [["render", ut]]), ct = (e, t, s = {}) => {
|
|
|
348
348
|
"b-popover--overflow-visible": o.overflowVisible || h
|
|
349
349
|
})), $ = _(() => ({
|
|
350
350
|
"b-popover__content--with-title": !!o.title
|
|
351
|
-
})), A = () => d("dismiss"),
|
|
351
|
+
})), A = () => d("dismiss"), P = ae(m);
|
|
352
352
|
return (y, F) => (r(), g(ve, { name: "b-popover__animation" }, {
|
|
353
353
|
default: b(() => [
|
|
354
354
|
y.open ? (r(), g(p(Ve), {
|
|
@@ -360,56 +360,56 @@ const dt = /* @__PURE__ */ M(rt, [["render", ut]]), ct = (e, t, s = {}) => {
|
|
|
360
360
|
"disabled-focus-trap": y.disableFocusTrap,
|
|
361
361
|
"trap-all": y.trapAll,
|
|
362
362
|
"trap-all-options": y.trapAllOptions,
|
|
363
|
-
class: U([
|
|
363
|
+
class: U([I.value, "b-popover"]),
|
|
364
364
|
"fallback-position": y.fallbackPosition,
|
|
365
365
|
"fixed-positioning": y.fixedPositioning,
|
|
366
366
|
offset: [0, p(f)],
|
|
367
367
|
position: y.position,
|
|
368
368
|
"target-element": y.targetElement,
|
|
369
|
-
onPlacement: F[0] || (F[0] = (
|
|
369
|
+
onPlacement: F[0] || (F[0] = (H) => y.$emit("placement", H))
|
|
370
370
|
}, {
|
|
371
371
|
default: b(() => [
|
|
372
|
-
p(
|
|
373
|
-
y.dismissible ? (r(),
|
|
374
|
-
|
|
372
|
+
p(P)("image") ? (r(), k("div", vt, [
|
|
373
|
+
y.dismissible ? (r(), k("div", bt, [
|
|
374
|
+
E(ce, {
|
|
375
375
|
"on-image": "",
|
|
376
376
|
onClick: A
|
|
377
377
|
})
|
|
378
|
-
])) :
|
|
379
|
-
|
|
380
|
-
])) :
|
|
381
|
-
p(l) ? (r(),
|
|
378
|
+
])) : B("", !0),
|
|
379
|
+
D(y.$slots, "image", {}, void 0, !0)
|
|
380
|
+
])) : B("", !0),
|
|
381
|
+
p(l) ? (r(), k("div", ht, [
|
|
382
382
|
V("div", yt, [
|
|
383
|
-
p(
|
|
384
|
-
|
|
383
|
+
p(P)("headerIcon") ? D(y.$slots, "headerIcon", { key: 0 }, void 0, !0) : B("", !0),
|
|
384
|
+
E(dt, {
|
|
385
385
|
title: p(l),
|
|
386
|
-
"is-image-title": !!p(
|
|
386
|
+
"is-image-title": !!p(P)("image")
|
|
387
387
|
}, null, 8, ["title", "is-image-title"])
|
|
388
388
|
]),
|
|
389
|
-
y.dismissible && !p(
|
|
390
|
-
|
|
391
|
-
])) :
|
|
392
|
-
])) :
|
|
393
|
-
p(
|
|
389
|
+
y.dismissible && !p(P)("image") ? (r(), k("div", gt, [
|
|
390
|
+
E(ce, { onClick: A })
|
|
391
|
+
])) : B("", !0)
|
|
392
|
+
])) : B("", !0),
|
|
393
|
+
p(P)("default") ? (r(), k("div", {
|
|
394
394
|
key: 2,
|
|
395
395
|
class: U(["b-popover__content", $.value])
|
|
396
396
|
}, [
|
|
397
|
-
|
|
398
|
-
], 2)) :
|
|
399
|
-
y.actions ? (r(),
|
|
400
|
-
|
|
397
|
+
D(y.$slots, "default", {}, void 0, !0)
|
|
398
|
+
], 2)) : B("", !0),
|
|
399
|
+
y.actions ? (r(), k("div", _t, [
|
|
400
|
+
E(nn, {
|
|
401
401
|
actions: y.actions,
|
|
402
402
|
layout: y.actionsLayout
|
|
403
403
|
}, null, 8, ["actions", "layout"])
|
|
404
|
-
])) :
|
|
404
|
+
])) : B("", !0)
|
|
405
405
|
]),
|
|
406
406
|
_: 3
|
|
407
|
-
}, 8, ["id", "aria-role", "aria-label", "disabled-focus-trap", "trap-all", "trap-all-options", "class", "fallback-position", "fixed-positioning", "offset", "position", "target-element"])) :
|
|
407
|
+
}, 8, ["id", "aria-role", "aria-label", "disabled-focus-trap", "trap-all", "trap-all-options", "class", "fallback-position", "fixed-positioning", "offset", "position", "target-element"])) : B("", !0)
|
|
408
408
|
]),
|
|
409
409
|
_: 3
|
|
410
410
|
}));
|
|
411
411
|
}
|
|
412
|
-
}),
|
|
412
|
+
}), kt = /* @__PURE__ */ M(It, [["__scopeId", "data-v-84ebb43a"]]), Ot = /* @__PURE__ */ Symbol("modal injection key"), Bt = /* @__PURE__ */ Symbol("sidepanel children element injection key"), $t = /* @__PURE__ */ Symbol("modal fullscreen children element injection key"), En = /* @__PURE__ */ Symbol("modal fullscreen title id injection key"), Ln = /* @__PURE__ */ Symbol("modal fullscreen close injection key"), Et = w({
|
|
413
413
|
name: "teleport",
|
|
414
414
|
props: {
|
|
415
415
|
to: {
|
|
@@ -428,7 +428,7 @@ const dt = /* @__PURE__ */ M(rt, [["render", ut]]), ct = (e, t, s = {}) => {
|
|
|
428
428
|
waiting: !1,
|
|
429
429
|
observer: null,
|
|
430
430
|
parent: null,
|
|
431
|
-
isVue2:
|
|
431
|
+
isVue2: Ie
|
|
432
432
|
}),
|
|
433
433
|
computed: {
|
|
434
434
|
classes() {
|
|
@@ -437,7 +437,7 @@ const dt = /* @__PURE__ */ M(rt, [["render", ut]]), ct = (e, t, s = {}) => {
|
|
|
437
437
|
defaultTo() {
|
|
438
438
|
if (this.to)
|
|
439
439
|
return this.to;
|
|
440
|
-
const e =
|
|
440
|
+
const e = W(Ot, "") || W($t, "") || W(Bt, "");
|
|
441
441
|
return e ? `#${e}` : "body";
|
|
442
442
|
}
|
|
443
443
|
},
|
|
@@ -509,13 +509,13 @@ const dt = /* @__PURE__ */ M(rt, [["render", ut]]), ct = (e, t, s = {}) => {
|
|
|
509
509
|
}
|
|
510
510
|
}
|
|
511
511
|
}), Lt = /* @__PURE__ */ w({
|
|
512
|
-
...
|
|
512
|
+
...Et,
|
|
513
513
|
setup(e) {
|
|
514
|
-
return (t, s) => p(
|
|
514
|
+
return (t, s) => p(Ie) ? (r(), k("div", {
|
|
515
515
|
key: 0,
|
|
516
516
|
class: U(t.classes)
|
|
517
517
|
}, [
|
|
518
|
-
|
|
518
|
+
D(t.$slots, "default", {}, void 0, !0)
|
|
519
519
|
], 2)) : (r(), g(Ne, {
|
|
520
520
|
key: 1,
|
|
521
521
|
to: t.defaultTo,
|
|
@@ -523,10 +523,10 @@ const dt = /* @__PURE__ */ M(rt, [["render", ut]]), ct = (e, t, s = {}) => {
|
|
|
523
523
|
disabled: t.disabled,
|
|
524
524
|
class: U(t.classes)
|
|
525
525
|
}, [
|
|
526
|
-
|
|
526
|
+
D(t.$slots, "default", {}, void 0, !0)
|
|
527
527
|
], 8, ["to", "where", "disabled", "class"]));
|
|
528
528
|
}
|
|
529
|
-
}),
|
|
529
|
+
}), St = /* @__PURE__ */ M(Lt, [["__scopeId", "data-v-acbda3aa"]]);
|
|
530
530
|
let fe = 0;
|
|
531
531
|
const Tt = {
|
|
532
532
|
beforeCreate() {
|
|
@@ -534,14 +534,14 @@ const Tt = {
|
|
|
534
534
|
}
|
|
535
535
|
}, wt = { key: 0 };
|
|
536
536
|
function Mt(e, t, s, o, d, m) {
|
|
537
|
-
return r(),
|
|
537
|
+
return r(), k("svg", J({ role: "img" }, e.$attrs, {
|
|
538
538
|
class: "ui-assets-icons-16",
|
|
539
539
|
xmlns: "http://www.w3.org/2000/svg",
|
|
540
540
|
width: "16",
|
|
541
541
|
height: "16",
|
|
542
542
|
fill: "none"
|
|
543
543
|
}), [
|
|
544
|
-
e.$attrs["svg-title"] ? (r(),
|
|
544
|
+
e.$attrs["svg-title"] ? (r(), k("title", wt, Y(e.$attrs["svg-title"]), 1)) : B("", !0),
|
|
545
545
|
t[0] || (t[0] = V("path", {
|
|
546
546
|
fill: "#001222",
|
|
547
547
|
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"
|
|
@@ -653,14 +653,14 @@ function Rt(e, t, s, o, d, m) {
|
|
|
653
653
|
onClick: e.onClick
|
|
654
654
|
}, j({
|
|
655
655
|
default: b(() => [
|
|
656
|
-
|
|
656
|
+
E(u, {
|
|
657
657
|
el: "span",
|
|
658
658
|
variant: "body",
|
|
659
659
|
stronger: e.isTitle,
|
|
660
660
|
class: "b-menu-item__primary-text"
|
|
661
661
|
}, {
|
|
662
662
|
default: b(() => [
|
|
663
|
-
Y(
|
|
663
|
+
G(Y(e.text), 1)
|
|
664
664
|
]),
|
|
665
665
|
_: 1
|
|
666
666
|
}, 8, ["stronger"]),
|
|
@@ -671,10 +671,10 @@ function Rt(e, t, s, o, d, m) {
|
|
|
671
671
|
class: "b-menu-item__secondary-text"
|
|
672
672
|
}, {
|
|
673
673
|
default: b(() => [
|
|
674
|
-
Y(
|
|
674
|
+
G(Y(e.computedSecondaryText), 1)
|
|
675
675
|
]),
|
|
676
676
|
_: 1
|
|
677
|
-
})) :
|
|
677
|
+
})) : B("", !0)
|
|
678
678
|
]),
|
|
679
679
|
_: 2
|
|
680
680
|
}, [
|
|
@@ -691,37 +691,37 @@ function Rt(e, t, s, o, d, m) {
|
|
|
691
691
|
e.chevron ? {
|
|
692
692
|
name: "iconRight",
|
|
693
693
|
fn: b(() => [
|
|
694
|
-
|
|
694
|
+
E(c, { "aria-hidden": "true" })
|
|
695
695
|
]),
|
|
696
696
|
key: "1"
|
|
697
697
|
} : void 0
|
|
698
698
|
]), 1032, ["class", "disabled", "onClick"]);
|
|
699
699
|
}
|
|
700
|
-
const
|
|
700
|
+
const Oe = /* @__PURE__ */ M(At, [["render", Rt], ["__scopeId", "data-v-9dace5ac"]]);
|
|
701
701
|
({ ...je });
|
|
702
|
-
var
|
|
703
|
-
const
|
|
702
|
+
var K = /* @__PURE__ */ ((e) => (e.BACK = "back", e.CLOSE = "close", e.OPEN = "open", e))(K || {});
|
|
703
|
+
const Dt = /* @__PURE__ */ Symbol("menu registering injection key"), Pt = {
|
|
704
704
|
name: "bento-menu-list-container"
|
|
705
705
|
}, Ft = /* @__PURE__ */ w({
|
|
706
|
-
...
|
|
706
|
+
...Pt,
|
|
707
707
|
setup(e) {
|
|
708
|
-
const t = v(), s = v({}), o =
|
|
708
|
+
const t = v(), s = v({}), o = W(Dt, !1);
|
|
709
709
|
if (o) {
|
|
710
710
|
const { registerMenuContainerElement: d } = o;
|
|
711
711
|
d(t), s.value = {
|
|
712
712
|
mouseleave: o == null ? void 0 : o.menuMouseLeave
|
|
713
713
|
};
|
|
714
714
|
}
|
|
715
|
-
return (d, m) => (r(),
|
|
715
|
+
return (d, m) => (r(), k("div", J({
|
|
716
716
|
ref_key: "menuListContainerRef",
|
|
717
717
|
ref: t,
|
|
718
718
|
class: "b-menu-list-container",
|
|
719
719
|
"data-testid": "menu-list-container"
|
|
720
720
|
}, ie(s.value, !0)), [
|
|
721
|
-
|
|
721
|
+
D(d.$slots, "default", {}, void 0, !0)
|
|
722
722
|
], 16));
|
|
723
723
|
}
|
|
724
|
-
}),
|
|
724
|
+
}), Be = /* @__PURE__ */ M(Ft, [["__scopeId", "data-v-9ef14d73"]]), le = {
|
|
725
725
|
"en-US": {
|
|
726
726
|
backButton: "Go back",
|
|
727
727
|
menuButton: "Open menu"
|
|
@@ -734,10 +734,10 @@ const Pt = /* @__PURE__ */ Symbol("menu registering injection key"), Dt = {
|
|
|
734
734
|
backButton: "voltar",
|
|
735
735
|
menuButton: "Abrir menu"
|
|
736
736
|
}
|
|
737
|
-
},
|
|
737
|
+
}, Kt = w({
|
|
738
738
|
i18n: { messages: le },
|
|
739
739
|
name: "sub-menu-item-list",
|
|
740
|
-
components: { BentoDivider: _e, MenuItem:
|
|
740
|
+
components: { BentoDivider: _e, MenuItem: Oe, MenuListContainer: Be },
|
|
741
741
|
props: {
|
|
742
742
|
items: {
|
|
743
743
|
type: Array,
|
|
@@ -748,9 +748,9 @@ const Pt = /* @__PURE__ */ Symbol("menu registering injection key"), Dt = {
|
|
|
748
748
|
required: !0
|
|
749
749
|
}
|
|
750
750
|
},
|
|
751
|
-
emits: [
|
|
751
|
+
emits: [K.CLOSE, K.BACK],
|
|
752
752
|
setup(e, { emit: t }) {
|
|
753
|
-
const s = v(null), o = v(0), d = v(e.items.length), m = () => t(
|
|
753
|
+
const s = v(null), o = v(0), d = v(e.items.length), m = () => t(K.CLOSE), u = () => t(K.BACK), c = _(() => {
|
|
754
754
|
var n;
|
|
755
755
|
const l = (n = e.items) == null ? void 0 : n.map((h) => ({
|
|
756
756
|
...h,
|
|
@@ -774,8 +774,8 @@ const Pt = /* @__PURE__ */ Symbol("menu registering injection key"), Dt = {
|
|
|
774
774
|
...l
|
|
775
775
|
];
|
|
776
776
|
}), f = async () => {
|
|
777
|
-
var l, n, h,
|
|
778
|
-
($ = (
|
|
777
|
+
var l, n, h, I, $;
|
|
778
|
+
($ = (I = (h = (n = (l = s.value) == null ? void 0 : l.children) == null ? void 0 : n[o.value]) == null ? void 0 : h.children) == null ? void 0 : I[0]) == null || $.focus();
|
|
779
779
|
};
|
|
780
780
|
ee(async () => {
|
|
781
781
|
setTimeout(() => f(), 150);
|
|
@@ -787,7 +787,7 @@ const Pt = /* @__PURE__ */ Symbol("menu registering injection key"), Dt = {
|
|
|
787
787
|
};
|
|
788
788
|
return {
|
|
789
789
|
// Enums
|
|
790
|
-
BentoMenuEvent:
|
|
790
|
+
BentoMenuEvent: K,
|
|
791
791
|
// Values
|
|
792
792
|
subMenuItemListRefLocal: s,
|
|
793
793
|
subMenuFocusedIndex: o,
|
|
@@ -801,14 +801,14 @@ const Pt = /* @__PURE__ */ Symbol("menu registering injection key"), Dt = {
|
|
|
801
801
|
};
|
|
802
802
|
}
|
|
803
803
|
});
|
|
804
|
-
function
|
|
804
|
+
function Wt(e, t, s, o, d, m) {
|
|
805
805
|
const u = T("menu-item"), c = T("bento-divider"), f = T("menu-list-container");
|
|
806
806
|
return r(), g(ve, {
|
|
807
807
|
name: "b-sub-menu-item-list__transition",
|
|
808
808
|
appear: ""
|
|
809
809
|
}, {
|
|
810
810
|
default: b(() => [
|
|
811
|
-
|
|
811
|
+
E(f, { class: "b-sub-menu-item-list" }, {
|
|
812
812
|
default: b(() => [
|
|
813
813
|
V("ul", {
|
|
814
814
|
ref: "subMenuItemListRefLocal",
|
|
@@ -820,11 +820,11 @@ function Kt(e, t, s, o, d, m) {
|
|
|
820
820
|
t[2] || (t[2] = N(X((...a) => e.onBackButton && e.onBackButton(...a), ["stop"]), ["esc"]))
|
|
821
821
|
]
|
|
822
822
|
}, [
|
|
823
|
-
(r(!0),
|
|
823
|
+
(r(!0), k(Z, null, x(e.computedItems, (a, i) => (r(), k("li", {
|
|
824
824
|
key: `sub-menu-item-list-item-${i}`,
|
|
825
825
|
role: "none"
|
|
826
826
|
}, [
|
|
827
|
-
|
|
827
|
+
E(u, {
|
|
828
828
|
text: a.text,
|
|
829
829
|
handler: a.handler,
|
|
830
830
|
"secondary-text": a.secondaryText,
|
|
@@ -839,7 +839,7 @@ function Kt(e, t, s, o, d, m) {
|
|
|
839
839
|
a.addDivider ? (r(), g(c, {
|
|
840
840
|
key: 0,
|
|
841
841
|
class: "b-sub-menu-item-list__divider"
|
|
842
|
-
})) :
|
|
842
|
+
})) : B("", !0)
|
|
843
843
|
]))), 128))
|
|
844
844
|
], 544)
|
|
845
845
|
]),
|
|
@@ -849,9 +849,9 @@ function Kt(e, t, s, o, d, m) {
|
|
|
849
849
|
_: 1
|
|
850
850
|
});
|
|
851
851
|
}
|
|
852
|
-
const Ut = /* @__PURE__ */ M(
|
|
852
|
+
const Ut = /* @__PURE__ */ M(Kt, [["render", Wt], ["__scopeId", "data-v-e1de172e"]]), $e = 350, Ee = 150;
|
|
853
853
|
function Le(e) {
|
|
854
|
-
return Math.max(
|
|
854
|
+
return Math.max(Ee, Math.min(e, $e));
|
|
855
855
|
}
|
|
856
856
|
function Vt(e, t, s, o) {
|
|
857
857
|
const d = v(0), m = v(0), u = (a) => {
|
|
@@ -859,10 +859,10 @@ function Vt(e, t, s, o) {
|
|
|
859
859
|
return;
|
|
860
860
|
const i = a.parentElement, l = a.cloneNode(!0);
|
|
861
861
|
l.style.position = "absolute", l.style.visibility = "hidden", i.appendChild(l), l.style.width = "max-content";
|
|
862
|
-
const n = l.offsetWidth, h = Math.max(
|
|
862
|
+
const n = l.offsetWidth, h = Math.max(Ee, Math.min(n, $e));
|
|
863
863
|
d.value = h, l.style.width = `${h}px`;
|
|
864
|
-
const
|
|
865
|
-
m.value =
|
|
864
|
+
const I = l.offsetHeight;
|
|
865
|
+
m.value = I, i.removeChild(l), m.value = I;
|
|
866
866
|
};
|
|
867
867
|
be([t, s], async ([a]) => {
|
|
868
868
|
var i, l;
|
|
@@ -883,7 +883,7 @@ function Vt(e, t, s, o) {
|
|
|
883
883
|
}
|
|
884
884
|
const jt = w({
|
|
885
885
|
name: "menu-item-list",
|
|
886
|
-
components: { BentoDivider: _e, MenuItem:
|
|
886
|
+
components: { BentoDivider: _e, MenuItem: Oe, MenuListContainer: Be, SubMenuItemList: Ut },
|
|
887
887
|
props: {
|
|
888
888
|
/**
|
|
889
889
|
* The data to be displayed in the list
|
|
@@ -921,37 +921,37 @@ const jt = w({
|
|
|
921
921
|
default: null
|
|
922
922
|
}
|
|
923
923
|
},
|
|
924
|
-
emits: [
|
|
924
|
+
emits: [K.CLOSE, "menu-item-click"],
|
|
925
925
|
setup(e, { emit: t, expose: s }) {
|
|
926
|
-
const o = v(null), d = v(null), m = v(null), u = v(null), c = v(!1), f = v(null), a = v(e.focusLastElement ? e.data.length - 1 : 0), i = v(0), l = v(e.data.length - 1), n = _(() => e.data.some((
|
|
926
|
+
const o = v(null), d = v(null), m = v(null), u = v(null), c = v(!1), f = v(null), a = v(e.focusLastElement ? e.data.length - 1 : 0), i = v(0), l = v(e.data.length - 1), n = _(() => e.data.some((O) => O.icon)), h = _(() => e.indentItems || n.value ? e.data.map((O) => {
|
|
927
927
|
let L = !1;
|
|
928
|
-
return
|
|
929
|
-
...
|
|
928
|
+
return O.icon || (L = !0), {
|
|
929
|
+
...O,
|
|
930
930
|
indent: L
|
|
931
931
|
};
|
|
932
|
-
}) : e.data),
|
|
933
|
-
var
|
|
934
|
-
await te(), (C = (L = (
|
|
935
|
-
}, $ = () => t(
|
|
936
|
-
if (
|
|
932
|
+
}) : e.data), I = async () => {
|
|
933
|
+
var O, L, C;
|
|
934
|
+
await te(), (C = (L = (O = d.value) == null ? void 0 : O.children[a.value]) == null ? void 0 : L.children[0]) == null || C.focus();
|
|
935
|
+
}, $ = () => t(K.CLOSE), A = (O, L) => {
|
|
936
|
+
if (O.items) {
|
|
937
937
|
f.value = L, c.value = !0;
|
|
938
938
|
return;
|
|
939
939
|
}
|
|
940
|
-
f.value = L, c.value = !1, !
|
|
941
|
-
},
|
|
942
|
-
a.value > 0 ? (a.value -= 1, h.value[a.value].disabled &&
|
|
940
|
+
f.value = L, c.value = !1, !O.skipClose && e.closeMenuOnItemSelect !== !1 && $(), t("menu-item-click");
|
|
941
|
+
}, P = () => {
|
|
942
|
+
a.value > 0 ? (a.value -= 1, h.value[a.value].disabled && P()) : a.value = l.value, I();
|
|
943
943
|
}, y = () => {
|
|
944
|
-
a.value < l.value ? (a.value += 1, h.value[a.value].disabled && y()) : a.value = 0,
|
|
945
|
-
}, F = (
|
|
944
|
+
a.value < l.value ? (a.value += 1, h.value[a.value].disabled && y()) : a.value = 0, I();
|
|
945
|
+
}, F = (O, L) => {
|
|
946
946
|
var C;
|
|
947
|
-
(C =
|
|
948
|
-
},
|
|
947
|
+
(C = O == null ? void 0 : O.items) != null && C.length && (f.value = L, c.value = !0);
|
|
948
|
+
}, H = () => {
|
|
949
949
|
f.value && c.value && (f.value = null, c.value = !1);
|
|
950
950
|
}, ne = () => {
|
|
951
|
-
c.value = !1, f.value = null,
|
|
951
|
+
c.value = !1, f.value = null, I();
|
|
952
952
|
};
|
|
953
953
|
s({
|
|
954
|
-
focusItem:
|
|
954
|
+
focusItem: I
|
|
955
955
|
});
|
|
956
956
|
const { computedStyle: oe } = Vt(
|
|
957
957
|
u,
|
|
@@ -974,15 +974,15 @@ const jt = w({
|
|
|
974
974
|
// Methods
|
|
975
975
|
menuItemClick: A,
|
|
976
976
|
closeMenu: $,
|
|
977
|
-
focusPrevious:
|
|
977
|
+
focusPrevious: P,
|
|
978
978
|
focusNext: y,
|
|
979
979
|
focusRight: F,
|
|
980
|
-
focusLeft:
|
|
980
|
+
focusLeft: H,
|
|
981
981
|
onBackButton: ne
|
|
982
982
|
};
|
|
983
983
|
}
|
|
984
|
-
}),
|
|
985
|
-
function
|
|
984
|
+
}), Yt = ["onKeydown"];
|
|
985
|
+
function Gt(e, t, s, o, d, m) {
|
|
986
986
|
const u = T("menu-item"), c = T("bento-divider"), f = T("sub-menu-item-list"), a = T("menu-list-container");
|
|
987
987
|
return r(), g(a, {
|
|
988
988
|
ref: "menuItemListWrapperRef",
|
|
@@ -1000,9 +1000,9 @@ function Yt(e, t, s, o, d, m) {
|
|
|
1000
1000
|
t[4] || (t[4] = N((...i) => e.closeMenu && e.closeMenu(...i), ["tab"]))
|
|
1001
1001
|
]
|
|
1002
1002
|
}, [
|
|
1003
|
-
(r(!0),
|
|
1004
|
-
var n, h,
|
|
1005
|
-
return r(),
|
|
1003
|
+
(r(!0), k(Z, null, x(e.computedData, (i, l) => {
|
|
1004
|
+
var n, h, I, $;
|
|
1005
|
+
return r(), k("li", {
|
|
1006
1006
|
key: `menu-item-${l}`,
|
|
1007
1007
|
ref_for: !0,
|
|
1008
1008
|
ref: "menuItemRef",
|
|
@@ -1013,7 +1013,7 @@ function Yt(e, t, s, o, d, m) {
|
|
|
1013
1013
|
t[0] || (t[0] = N((A) => e.focusLeft(), ["left"]))
|
|
1014
1014
|
]
|
|
1015
1015
|
}, [
|
|
1016
|
-
|
|
1016
|
+
E(u, {
|
|
1017
1017
|
text: i.text,
|
|
1018
1018
|
handler: (n = i.items) != null && n.length ? () => null : i.handler,
|
|
1019
1019
|
"secondary-text": i.secondaryText,
|
|
@@ -1023,14 +1023,14 @@ function Yt(e, t, s, o, d, m) {
|
|
|
1023
1023
|
critical: i.critical,
|
|
1024
1024
|
indent: i.indent,
|
|
1025
1025
|
tabindex: l === e.subMenuFocusedIndex ? "0" : "-1",
|
|
1026
|
-
"aria-haspopup": !!((
|
|
1026
|
+
"aria-haspopup": !!((I = i.items) != null && I.length),
|
|
1027
1027
|
"aria-expanded": e.showSubMenu && e.visibleSubMenuIndex === l,
|
|
1028
1028
|
onClick: (A) => e.menuItemClick(i, l)
|
|
1029
1029
|
}, null, 8, ["text", "handler", "secondary-text", "icon", "chevron", "disabled", "critical", "indent", "tabindex", "aria-haspopup", "aria-expanded", "onClick"]),
|
|
1030
1030
|
i.addDivider ? (r(), g(c, {
|
|
1031
1031
|
key: 0,
|
|
1032
1032
|
class: "b-menu-item-list__divider"
|
|
1033
|
-
})) :
|
|
1033
|
+
})) : B("", !0),
|
|
1034
1034
|
($ = i.items) != null && $.length && e.showSubMenu && e.visibleSubMenuIndex === l ? (r(), g(f, {
|
|
1035
1035
|
key: 1,
|
|
1036
1036
|
ref_for: !0,
|
|
@@ -1039,15 +1039,15 @@ function Yt(e, t, s, o, d, m) {
|
|
|
1039
1039
|
title: i.text,
|
|
1040
1040
|
onBack: e.onBackButton,
|
|
1041
1041
|
onClose: e.closeMenu
|
|
1042
|
-
}, null, 8, ["items", "title", "onBack", "onClose"])) :
|
|
1043
|
-
], 40,
|
|
1042
|
+
}, null, 8, ["items", "title", "onBack", "onClose"])) : B("", !0)
|
|
1043
|
+
], 40, Yt);
|
|
1044
1044
|
}), 128))
|
|
1045
1045
|
], 544)
|
|
1046
1046
|
]),
|
|
1047
1047
|
_: 1
|
|
1048
1048
|
}, 8, ["style"]);
|
|
1049
1049
|
}
|
|
1050
|
-
const
|
|
1050
|
+
const Jt = /* @__PURE__ */ M(jt, [["render", Gt], ["__scopeId", "data-v-7253ab73"]]), Ht = /* @__PURE__ */ Symbol("menu inverse style injection key"), qt = {
|
|
1051
1051
|
i18n: { messages: le },
|
|
1052
1052
|
name: "bento-menu"
|
|
1053
1053
|
}, zt = /* @__PURE__ */ w({
|
|
@@ -1069,30 +1069,30 @@ const Ht = /* @__PURE__ */ M(jt, [["render", Yt], ["__scopeId", "data-v-7253ab73
|
|
|
1069
1069
|
emits: ["menu-item-click", "click-outside"],
|
|
1070
1070
|
setup(e, { expose: t, emit: s }) {
|
|
1071
1071
|
var L;
|
|
1072
|
-
const o = e, d = s, m = Q(), u = ae(m), { t: c } = ge({ messages: le }), f = v(null), a = v(null), i = v(!1), l = v(!1), n = v(null), h =
|
|
1073
|
-
Ae(Fe,
|
|
1072
|
+
const o = e, d = s, m = Q(), u = ae(m), { t: c } = ge({ messages: le }), f = v(null), a = v(null), i = v(!1), l = v(!1), n = v(null), h = Je("menu"), I = W(Ht, v(!1));
|
|
1073
|
+
Ae(Fe, I);
|
|
1074
1074
|
const $ = _(() => ({
|
|
1075
|
-
"b-menu--inverse":
|
|
1075
|
+
"b-menu--inverse": I.value
|
|
1076
1076
|
})), A = _(
|
|
1077
1077
|
() => o.menuWidth ? { width: `${Le(o.menuWidth)}px` } : null
|
|
1078
|
-
),
|
|
1078
|
+
), P = _(() => {
|
|
1079
1079
|
if (o != null && o.button)
|
|
1080
1080
|
return {
|
|
1081
1081
|
variant: "secondary",
|
|
1082
1082
|
...o.button
|
|
1083
1083
|
};
|
|
1084
1084
|
}), y = () => {
|
|
1085
|
-
i.value = !0, d(
|
|
1085
|
+
i.value = !0, d(K.OPEN);
|
|
1086
1086
|
}, F = async (C = o.revertFocusToButton) => {
|
|
1087
1087
|
var q, se;
|
|
1088
|
-
i.value && (i.value = !1, C && (await te(), (se = (q = f.value) == null ? void 0 : q.$el) == null || se.focus()), d(
|
|
1089
|
-
},
|
|
1088
|
+
i.value && (i.value = !1, C && (await te(), (se = (q = f.value) == null ? void 0 : q.$el) == null || se.focus()), d(K.CLOSE));
|
|
1089
|
+
}, H = (C) => {
|
|
1090
1090
|
C.stopPropagation(), i.value ? F() : y();
|
|
1091
1091
|
}, ne = (C) => {
|
|
1092
1092
|
C.preventDefault(), l.value = !1, o.disableArrowDownOpeningMenu || y();
|
|
1093
1093
|
}, oe = (C) => {
|
|
1094
1094
|
C.preventDefault(), l.value = !0, y();
|
|
1095
|
-
},
|
|
1095
|
+
}, O = () => {
|
|
1096
1096
|
d("menu-item-click");
|
|
1097
1097
|
};
|
|
1098
1098
|
return ct(
|
|
@@ -1110,10 +1110,10 @@ const Ht = /* @__PURE__ */ M(jt, [["render", Yt], ["__scopeId", "data-v-7253ab73
|
|
|
1110
1110
|
*/
|
|
1111
1111
|
closeMenu: F
|
|
1112
1112
|
}), ee(() => {
|
|
1113
|
-
u("iconRight") &&
|
|
1113
|
+
u("iconRight") && We(
|
|
1114
1114
|
'"bento-menu" no longer supports the "iconRight" slot. The right-aligned icon is now fixed by design.'
|
|
1115
1115
|
);
|
|
1116
|
-
}), (C, q) => (r(),
|
|
1116
|
+
}), (C, q) => (r(), k("div", {
|
|
1117
1117
|
class: U([$.value, "b-menu"]),
|
|
1118
1118
|
"data-testid": "menu",
|
|
1119
1119
|
onKeydown: [
|
|
@@ -1122,22 +1122,22 @@ const Ht = /* @__PURE__ */ M(jt, [["render", Yt], ["__scopeId", "data-v-7253ab73
|
|
|
1122
1122
|
q[0] || (q[0] = N((se) => F(), ["esc"]))
|
|
1123
1123
|
]
|
|
1124
1124
|
}, [
|
|
1125
|
-
|
|
1125
|
+
E(it, J({
|
|
1126
1126
|
ref_key: "menuButtonRef",
|
|
1127
1127
|
ref: f,
|
|
1128
1128
|
class: "b-menu__toggle-button",
|
|
1129
1129
|
"aria-haspopup": "true"
|
|
1130
|
-
},
|
|
1130
|
+
}, P.value, {
|
|
1131
1131
|
"aria-controls": i.value ? p(h) : null,
|
|
1132
1132
|
toggled: i.value,
|
|
1133
|
-
inverse: p(
|
|
1134
|
-
onClick:
|
|
1133
|
+
inverse: p(I),
|
|
1134
|
+
onClick: H
|
|
1135
1135
|
}), j({ _: 2 }, [
|
|
1136
1136
|
!p(u)("default") || p(u)("iconLeft") ? {
|
|
1137
1137
|
name: "iconLeft",
|
|
1138
1138
|
fn: b(() => [
|
|
1139
|
-
|
|
1140
|
-
|
|
1139
|
+
D(C.$slots, "iconLeft", {}, () => [
|
|
1140
|
+
E(p(Nt), {
|
|
1141
1141
|
title: p(c)("menuButton")
|
|
1142
1142
|
}, null, 8, ["title"])
|
|
1143
1143
|
], !0)
|
|
@@ -1147,24 +1147,24 @@ const Ht = /* @__PURE__ */ M(jt, [["render", Yt], ["__scopeId", "data-v-7253ab73
|
|
|
1147
1147
|
p(u)("default") ? {
|
|
1148
1148
|
name: "default",
|
|
1149
1149
|
fn: b(() => [
|
|
1150
|
-
|
|
1150
|
+
D(C.$slots, "default", {}, void 0, !0)
|
|
1151
1151
|
]),
|
|
1152
1152
|
key: "1"
|
|
1153
1153
|
} : void 0,
|
|
1154
1154
|
p(u)("default") ? {
|
|
1155
1155
|
name: "iconRight",
|
|
1156
1156
|
fn: b(() => [
|
|
1157
|
-
|
|
1157
|
+
E(p(He))
|
|
1158
1158
|
]),
|
|
1159
1159
|
key: "2"
|
|
1160
1160
|
} : void 0
|
|
1161
1161
|
]), 1040, ["aria-controls", "toggled", "inverse"]),
|
|
1162
|
-
f.value ? (r(), g(p(
|
|
1162
|
+
f.value ? (r(), g(p(St), {
|
|
1163
1163
|
key: 0,
|
|
1164
1164
|
disabled: !C.teleport
|
|
1165
1165
|
}, {
|
|
1166
1166
|
default: b(() => [
|
|
1167
|
-
f.value ? (r(), g(
|
|
1167
|
+
f.value ? (r(), g(kt, {
|
|
1168
1168
|
key: 0,
|
|
1169
1169
|
id: p(h),
|
|
1170
1170
|
ref_key: "popoverRef",
|
|
@@ -1190,7 +1190,7 @@ const Ht = /* @__PURE__ */ M(jt, [["render", Yt], ["__scopeId", "data-v-7253ab73
|
|
|
1190
1190
|
"without-space": ""
|
|
1191
1191
|
}, {
|
|
1192
1192
|
default: b(() => [
|
|
1193
|
-
|
|
1193
|
+
E(Jt, {
|
|
1194
1194
|
ref_key: "menuItemListRef",
|
|
1195
1195
|
ref: a,
|
|
1196
1196
|
"close-menu-on-item-select": C.closeMenuOnItemSelect,
|
|
@@ -1198,14 +1198,14 @@ const Ht = /* @__PURE__ */ M(jt, [["render", Yt], ["__scopeId", "data-v-7253ab73
|
|
|
1198
1198
|
"focus-last-element": l.value,
|
|
1199
1199
|
"popover-width": C.menuWidth,
|
|
1200
1200
|
onClose: F,
|
|
1201
|
-
onMenuItemClick:
|
|
1201
|
+
onMenuItemClick: O
|
|
1202
1202
|
}, null, 8, ["close-menu-on-item-select", "data", "focus-last-element", "popover-width"])
|
|
1203
1203
|
]),
|
|
1204
1204
|
_: 1
|
|
1205
|
-
}, 8, ["id", "open", "style", "target-element", "position", "fixed-positioning", "teleport"])) :
|
|
1205
|
+
}, 8, ["id", "open", "style", "target-element", "position", "fixed-positioning", "teleport"])) : B("", !0)
|
|
1206
1206
|
]),
|
|
1207
1207
|
_: 1
|
|
1208
|
-
}, 8, ["disabled"])) :
|
|
1208
|
+
}, 8, ["disabled"])) : B("", !0)
|
|
1209
1209
|
], 34));
|
|
1210
1210
|
}
|
|
1211
1211
|
}), Xt = /* @__PURE__ */ M(zt, [["__scopeId", "data-v-eee5aa88"]]), Zt = /* @__PURE__ */ Symbol(
|
|
@@ -1213,13 +1213,13 @@ const Ht = /* @__PURE__ */ M(jt, [["render", Yt], ["__scopeId", "data-v-7253ab73
|
|
|
1213
1213
|
), Qt = 242, me = parseInt(Qe, 10), xt = (e, t, s) => {
|
|
1214
1214
|
const o = v(0);
|
|
1215
1215
|
let d = null;
|
|
1216
|
-
const { buttonActionsWithMenu: m, menu: u, stackButtons: c } =
|
|
1216
|
+
const { buttonActionsWithMenu: m, menu: u, stackButtons: c } = W(Zt, {
|
|
1217
1217
|
buttonActionsWithMenu: v(null),
|
|
1218
1218
|
menu: v(null),
|
|
1219
1219
|
stackButtons: v(!1)
|
|
1220
1220
|
}), f = _(() => m.value ?? e.value), a = _(() => u.value ? [...t.value, u.value.$el] : t.value), i = (l) => {
|
|
1221
|
-
var
|
|
1222
|
-
const n = (
|
|
1221
|
+
var I;
|
|
1222
|
+
const n = (I = a.value) == null ? void 0 : I.reduce(
|
|
1223
1223
|
($, A) => $ + A.clientWidth + me,
|
|
1224
1224
|
-me - 1
|
|
1225
1225
|
), h = f.value.clientWidth;
|
|
@@ -1258,7 +1258,7 @@ const Ht = /* @__PURE__ */ M(jt, [["render", Yt], ["__scopeId", "data-v-7253ab73
|
|
|
1258
1258
|
})), f = (i) => (i == null ? void 0 : i.event) !== void 0 ? {
|
|
1259
1259
|
click: i.event
|
|
1260
1260
|
} : {}, a = (i) => i.iconOnly && (i.iconLeft || i.iconRight || i.icon);
|
|
1261
|
-
return (i, l) => (r(),
|
|
1261
|
+
return (i, l) => (r(), k("div", {
|
|
1262
1262
|
ref_key: "buttonActions",
|
|
1263
1263
|
ref: s,
|
|
1264
1264
|
class: "b-button-actions"
|
|
@@ -1267,7 +1267,7 @@ const Ht = /* @__PURE__ */ M(jt, [["render", Yt], ["__scopeId", "data-v-7253ab73
|
|
|
1267
1267
|
class: U(["b-button-actions__container-wrapper", c.value]),
|
|
1268
1268
|
role: "group"
|
|
1269
1269
|
}, [
|
|
1270
|
-
(r(!0),
|
|
1270
|
+
(r(!0), k(Z, null, x(m.value, (n, h) => (r(), k("div", {
|
|
1271
1271
|
key: h,
|
|
1272
1272
|
ref_for: !0,
|
|
1273
1273
|
ref_key: "buttons",
|
|
@@ -1300,12 +1300,12 @@ const Ht = /* @__PURE__ */ M(jt, [["render", Yt], ["__scopeId", "data-v-7253ab73
|
|
|
1300
1300
|
a(n) ? void 0 : {
|
|
1301
1301
|
name: "default",
|
|
1302
1302
|
fn: b(() => [
|
|
1303
|
-
Y(
|
|
1303
|
+
G(Y(n.title), 1)
|
|
1304
1304
|
]),
|
|
1305
1305
|
key: "1"
|
|
1306
1306
|
}
|
|
1307
|
-
]), 1032, ["data", "close-menu-on-item-select", "close-on-click-outside-options", "disable-arrow-down-opening-menu", "menu-position", "menu-fixed-positioning", "menu-width", "revert-focus-to-button", "teleport"])) : (r(),
|
|
1308
|
-
n.state ? (r(), g(nt,
|
|
1307
|
+
]), 1032, ["data", "close-menu-on-item-select", "close-on-click-outside-options", "disable-arrow-down-opening-menu", "menu-position", "menu-fixed-positioning", "menu-width", "revert-focus-to-button", "teleport"])) : (r(), k(Z, { key: 1 }, [
|
|
1308
|
+
n.state ? (r(), g(nt, J({
|
|
1309
1309
|
key: 0,
|
|
1310
1310
|
ref_for: !0,
|
|
1311
1311
|
ref: n.elementRef,
|
|
@@ -1328,11 +1328,11 @@ const Ht = /* @__PURE__ */ M(jt, [["render", Yt], ["__scopeId", "data-v-7253ab73
|
|
|
1328
1328
|
a(n) ? void 0 : {
|
|
1329
1329
|
name: "default",
|
|
1330
1330
|
fn: b(() => [
|
|
1331
|
-
Y(
|
|
1331
|
+
G(Y(n.title), 1)
|
|
1332
1332
|
]),
|
|
1333
1333
|
key: "1"
|
|
1334
1334
|
}
|
|
1335
|
-
]), 1040, ["condensed", "critical", "disabled", "inverse", "state", "variant"])) : (r(), g(
|
|
1335
|
+
]), 1040, ["condensed", "critical", "disabled", "inverse", "state", "variant"])) : (r(), g(S, J({
|
|
1336
1336
|
key: 1,
|
|
1337
1337
|
ref_for: !0,
|
|
1338
1338
|
ref: n.elementRef,
|
|
@@ -1355,7 +1355,7 @@ const Ht = /* @__PURE__ */ M(jt, [["render", Yt], ["__scopeId", "data-v-7253ab73
|
|
|
1355
1355
|
a(n) ? void 0 : {
|
|
1356
1356
|
name: "default",
|
|
1357
1357
|
fn: b(() => [
|
|
1358
|
-
Y(
|
|
1358
|
+
G(Y(n.title), 1)
|
|
1359
1359
|
]),
|
|
1360
1360
|
key: "1"
|
|
1361
1361
|
},
|
|
@@ -1377,23 +1377,25 @@ const Ht = /* @__PURE__ */ M(jt, [["render", Yt], ["__scopeId", "data-v-7253ab73
|
|
|
1377
1377
|
}), nn = /* @__PURE__ */ M(tn, [["__scopeId", "data-v-1a12c479"]]);
|
|
1378
1378
|
export {
|
|
1379
1379
|
nn as B,
|
|
1380
|
-
|
|
1380
|
+
Dt as D,
|
|
1381
1381
|
ft as I,
|
|
1382
|
-
|
|
1382
|
+
Ht as M,
|
|
1383
1383
|
Nt as O,
|
|
1384
1384
|
pt as P,
|
|
1385
|
-
|
|
1385
|
+
Bt as S,
|
|
1386
1386
|
nt as a,
|
|
1387
1387
|
R as b,
|
|
1388
1388
|
it as c,
|
|
1389
1389
|
Zt as d,
|
|
1390
|
-
|
|
1390
|
+
St as e,
|
|
1391
1391
|
Xt as f,
|
|
1392
|
-
|
|
1393
|
-
|
|
1394
|
-
|
|
1395
|
-
|
|
1396
|
-
|
|
1392
|
+
K as g,
|
|
1393
|
+
kt as h,
|
|
1394
|
+
En as i,
|
|
1395
|
+
Ln as j,
|
|
1396
|
+
$t as k,
|
|
1397
|
+
Ot as l,
|
|
1398
|
+
mt as m,
|
|
1397
1399
|
ct as u
|
|
1398
1400
|
};
|
|
1399
|
-
//# sourceMappingURL=button-actions.
|
|
1401
|
+
//# sourceMappingURL=button-actions.BYBpjNqy.js.map
|