@adyen/bento-vue3 1.69.0 → 1.70.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 +250 -823
- package/dist/accordion.js +1 -1
- package/dist/action-bar.js +1 -1
- package/dist/alert.js +1 -1
- package/dist/assets/accordion-item.css +1 -1
- package/dist/assets/action-bar.css +1 -1
- package/dist/assets/alert.css +1 -1
- package/dist/assets/base-modal.css +1 -1
- package/dist/assets/button.css +1 -1
- package/dist/assets/calendar.css +1 -1
- package/dist/assets/card.css +1 -1
- package/dist/assets/checkbox-group.css +1 -1
- package/dist/assets/checkbox-input.css +1 -1
- package/dist/assets/checkbox.css +1 -1
- package/dist/assets/code-snippet.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-tag.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/header-with-views.css +1 -1
- package/dist/assets/info-icon.css +1 -1
- package/dist/assets/input-field-phone-number.css +1 -1
- package/dist/assets/inspector.css +1 -1
- package/dist/assets/loading-indicator.css +1 -1
- package/dist/assets/modal-fullscreen.css +1 -1
- package/dist/assets/pagination.css +1 -1
- package/dist/assets/popper-container.css +1 -1
- package/dist/assets/radio-group.css +1 -1
- package/dist/assets/radio-input.css +1 -1
- package/dist/assets/sidepanel.css +1 -1
- package/dist/assets/tab.css +1 -1
- package/dist/assets/tag.css +1 -1
- package/dist/assets/timeline-item.css +1 -1
- package/dist/assets/toggle-button.css +1 -1
- package/dist/assets/toggle.css +1 -1
- package/dist/assets/tooltip.css +1 -1
- package/dist/assets/typography.css +1 -1
- package/dist/assets/use-cached-selected-values.css +1 -1
- package/dist/avatar.js +1 -1
- package/dist/button.js +2 -2
- package/dist/card.js +1 -1
- package/dist/checkbox.js +2 -2
- package/dist/chip.js +1 -1
- package/dist/chunks/{accordion-item.H062lKz1.js → accordion-item.6etqAJV9.js} +2 -2
- package/dist/chunks/{accordion-item.H062lKz1.js.map → accordion-item.6etqAJV9.js.map} +1 -1
- package/dist/chunks/{action-bar.CbO7oNER.js → action-bar.CweA2FeY.js} +5 -5
- package/dist/chunks/{action-bar.CbO7oNER.js.map → action-bar.CweA2FeY.js.map} +1 -1
- package/dist/chunks/alert.Dzx5MzgE.js +171 -0
- package/dist/chunks/alert.Dzx5MzgE.js.map +1 -0
- package/dist/chunks/{avatar.BtxoYBvq.js → avatar.Dq59yj6m.js} +2 -2
- package/dist/chunks/{avatar.BtxoYBvq.js.map → avatar.Dq59yj6m.js.map} +1 -1
- package/dist/chunks/{base-button.Bcwm87OM.js → base-button.CjYb5Y8k.js} +2 -2
- package/dist/chunks/{base-button.Bcwm87OM.js.map → base-button.CjYb5Y8k.js.map} +1 -1
- package/dist/chunks/{base-modal.7vdoT8zp.js → base-modal.BrBcILSe.js} +6 -6
- package/dist/chunks/{base-modal.7vdoT8zp.js.map → base-modal.BrBcILSe.js.map} +1 -1
- package/dist/chunks/bin.DuHlEQBO.js +37 -0
- package/dist/chunks/bin.DuHlEQBO.js.map +1 -0
- package/dist/chunks/{button-actions-with-menu.zdsGh7un.js → button-actions-with-menu.CBuoSd3w.js} +2 -2
- package/dist/chunks/{button-actions-with-menu.zdsGh7un.js.map → button-actions-with-menu.CBuoSd3w.js.map} +1 -1
- package/dist/chunks/button-actions.types.BptAXjD8.js.map +1 -1
- package/dist/chunks/{button.wMNce6wZ.js → button.C-MAa6ut.js} +4 -4
- package/dist/chunks/{button.wMNce6wZ.js.map → button.C-MAa6ut.js.map} +1 -1
- package/dist/chunks/{calendar.CYrrR8wd.js → calendar.DFHiga9k.js} +32 -32
- package/dist/chunks/{calendar.CYrrR8wd.js.map → calendar.DFHiga9k.js.map} +1 -1
- package/dist/chunks/{card.CNYYIpQW.js → card.BspLDcas.js} +4 -4
- package/dist/chunks/{card.CNYYIpQW.js.map → card.BspLDcas.js.map} +1 -1
- package/dist/chunks/{checkbox-group.fX5_d3XZ.js → checkbox-group.DIXgr1WQ.js} +6 -6
- package/dist/chunks/{checkbox-group.fX5_d3XZ.js.map → checkbox-group.DIXgr1WQ.js.map} +1 -1
- package/dist/chunks/{checkbox-input.B1hV3DU-.js → checkbox-input.BXNGT9U0.js} +2 -2
- package/dist/chunks/{checkbox-input.B1hV3DU-.js.map → checkbox-input.BXNGT9U0.js.map} +1 -1
- package/dist/chunks/{checkbox.C62ek8A8.js → checkbox.M6lKj2hQ.js} +6 -6
- package/dist/chunks/{checkbox.C62ek8A8.js.map → checkbox.M6lKj2hQ.js.map} +1 -1
- package/dist/chunks/{chip.CoBGGkn7.js → chip.DcpP3zb6.js} +3 -3
- package/dist/chunks/{chip.CoBGGkn7.js.map → chip.DcpP3zb6.js.map} +1 -1
- package/dist/chunks/{code-snippet.CrKl93Wq.js → code-snippet.CKrxKjkQ.js} +7 -7
- package/dist/chunks/{code-snippet.CrKl93Wq.js.map → code-snippet.CKrxKjkQ.js.map} +1 -1
- package/dist/chunks/{controls-group.2xftPPd7.js → controls-group.CXVHTaYp.js} +32 -29
- package/dist/chunks/controls-group.CXVHTaYp.js.map +1 -0
- package/dist/chunks/{copy.-8xjj6Hr.js → copy.C4DAAiPw.js} +5 -5
- package/dist/chunks/{copy.-8xjj6Hr.js.map → copy.C4DAAiPw.js.map} +1 -1
- package/dist/chunks/{country.BdqTkF7A.js → country.RVvsGwuV.js} +3 -3
- package/dist/chunks/{country.BdqTkF7A.js.map → country.RVvsGwuV.js.map} +1 -1
- package/dist/chunks/{currency.XiEfa4LT.js → currency.CN4UnCx8.js} +2 -2
- package/dist/chunks/{currency.XiEfa4LT.js.map → currency.CN4UnCx8.js.map} +1 -1
- package/dist/chunks/{dashboard-section.Di16gWGI.js → dashboard-section.Cll3tn0q.js} +3 -3
- package/dist/chunks/{dashboard-section.Di16gWGI.js.map → dashboard-section.Cll3tn0q.js.map} +1 -1
- package/dist/chunks/{dashed-underline.CyZEW1LZ.js → dashed-underline.2OYxO-Rh.js} +4 -4
- package/dist/chunks/{dashed-underline.CyZEW1LZ.js.map → dashed-underline.2OYxO-Rh.js.map} +1 -1
- package/dist/chunks/{data-grid-template.CnYNEhPR.js → data-grid-template.CTRHofoW.js} +4 -4
- package/dist/chunks/{data-grid-template.CnYNEhPR.js.map → data-grid-template.CTRHofoW.js.map} +1 -1
- package/dist/chunks/{data-grid.aEQt05d9.js → data-grid.DMOTTywp.js} +185 -185
- package/dist/chunks/data-grid.DMOTTywp.js.map +1 -0
- package/dist/chunks/{date-picker.Bk0A3rha.js → date-picker.CBlQ0ql7.js} +18 -18
- package/dist/chunks/{date-picker.Bk0A3rha.js.map → date-picker.CBlQ0ql7.js.map} +1 -1
- package/dist/chunks/{date-range-picker.l-CSmXBk.js → date-range-picker.D-gGqpFB.js} +25 -25
- package/dist/chunks/{date-range-picker.l-CSmXBk.js.map → date-range-picker.D-gGqpFB.js.map} +1 -1
- package/dist/chunks/{date.BZENjOb6.js → date.4GAXrgy5.js} +2 -2
- package/dist/chunks/{date.BZENjOb6.js.map → date.4GAXrgy5.js.map} +1 -1
- package/dist/chunks/{dialog-page.BJaRwRhF.js → dialog-page.VSJgHY3C.js} +3 -3
- package/dist/chunks/{dialog-page.BJaRwRhF.js.map → dialog-page.VSJgHY3C.js.map} +1 -1
- package/dist/chunks/{dropdown-default-textbox.DWgL31p1.js → dropdown-default-textbox.CGsOngY1.js} +2 -2
- package/dist/chunks/{dropdown-default-textbox.DWgL31p1.js.map → dropdown-default-textbox.CGsOngY1.js.map} +1 -1
- package/dist/chunks/dropdown-tag.DlFpUeXa.js +296 -0
- package/dist/chunks/dropdown-tag.DlFpUeXa.js.map +1 -0
- package/dist/chunks/{dropdown.Co86azLK.js → dropdown.agfzvJZE.js} +22 -22
- package/dist/chunks/{dropdown.Co86azLK.js.map → dropdown.agfzvJZE.js.map} +1 -1
- package/dist/chunks/{empty-state.YNNEDsnK.js → empty-state.BTaeZdQu.js} +3 -3
- package/dist/chunks/{empty-state.YNNEDsnK.js.map → empty-state.BTaeZdQu.js.map} +1 -1
- package/dist/chunks/{error-message.Cu4cIfdg.js → error-message.B1P5ictH.js} +5 -5
- package/dist/chunks/{error-message.Cu4cIfdg.js.map → error-message.B1P5ictH.js.map} +1 -1
- package/dist/chunks/{file-uploader.09149Fx8.js → file-uploader.Vac1Cu0i.js} +21 -19
- package/dist/chunks/file-uploader.Vac1Cu0i.js.map +1 -0
- package/dist/chunks/{filter-bar.D6n7Srr5.js → filter-bar.uUpoP-XZ.js} +233 -236
- package/dist/chunks/filter-bar.uUpoP-XZ.js.map +1 -0
- package/dist/chunks/{fixed-scroller.QlDKOD7y.js → fixed-scroller.DSGxXiAH.js} +2 -2
- package/dist/chunks/{fixed-scroller.QlDKOD7y.js.map → fixed-scroller.DSGxXiAH.js.map} +1 -1
- package/dist/chunks/{footer-actions.0cBTJ1kw.js → footer-actions.gRKTKGts.js} +4 -4
- package/dist/chunks/{footer-actions.0cBTJ1kw.js.map → footer-actions.gRKTKGts.js.map} +1 -1
- package/dist/chunks/{form-layout-title.Cq_xVPUq.js → form-layout-title.DdRqnXXi.js} +3 -3
- package/dist/chunks/{form-layout-title.Cq_xVPUq.js.map → form-layout-title.DdRqnXXi.js.map} +1 -1
- package/dist/chunks/{header-meta.BJGF0E3r.js → header-meta.Ct79L1O8.js} +5 -5
- package/dist/chunks/{header-meta.BJGF0E3r.js.map → header-meta.Ct79L1O8.js.map} +1 -1
- package/dist/chunks/{header-with-views.Drzq84zs.js → header-with-views.BVHdSAKp.js} +211 -207
- package/dist/chunks/header-with-views.BVHdSAKp.js.map +1 -0
- package/dist/chunks/{header.B6DzOioR.js → header.Cd1P8lYK.js} +4 -4
- package/dist/chunks/{header.B6DzOioR.js.map → header.Cd1P8lYK.js.map} +1 -1
- package/dist/chunks/{info-icon.DKnzFXy1.js → info-icon.Bl0iKUfC.js} +7 -7
- package/dist/chunks/{info-icon.DKnzFXy1.js.map → info-icon.Bl0iKUfC.js.map} +1 -1
- package/dist/chunks/info.BKwey1HA.js +44 -0
- package/dist/chunks/info.BKwey1HA.js.map +1 -0
- package/dist/chunks/{input-field-password.DC8lJFsr.js → input-field-password.DkIWrrxy.js} +7 -7
- package/dist/chunks/{input-field-password.DC8lJFsr.js.map → input-field-password.DkIWrrxy.js.map} +1 -1
- package/dist/chunks/{input-field-phone-number.BbMEzDiR.js → input-field-phone-number.EXlRu8qq.js} +9 -9
- package/dist/chunks/{input-field-phone-number.BbMEzDiR.js.map → input-field-phone-number.EXlRu8qq.js.map} +1 -1
- package/dist/chunks/{input-field.6bH4yGb2.js → input-field.CgbiOju9.js} +4 -4
- package/dist/chunks/{input-field.6bH4yGb2.js.map → input-field.CgbiOju9.js.map} +1 -1
- package/dist/chunks/{inspector.Bsv68G-e.js → inspector.BGtTMtE0.js} +4 -4
- package/dist/chunks/{inspector.Bsv68G-e.js.map → inspector.BGtTMtE0.js.map} +1 -1
- package/dist/chunks/{layout-row.CIg1pwOd.js → layout-row.BPfOPn4x.js} +2 -2
- package/dist/chunks/{layout-row.CIg1pwOd.js.map → layout-row.BPfOPn4x.js.map} +1 -1
- package/dist/chunks/{link.Di0rtpOj.js → link.cwPmWlsk.js} +2 -2
- package/dist/chunks/{link.Di0rtpOj.js.map → link.cwPmWlsk.js.map} +1 -1
- package/dist/chunks/{listbox-option-tag.C6WHiASI.js → listbox-option-tag.CDIkX7nh.js} +3 -3
- package/dist/chunks/{listbox-option-tag.C6WHiASI.js.map → listbox-option-tag.CDIkX7nh.js.map} +1 -1
- package/dist/chunks/{loading-indicator.BmAQqPP2.js → loading-indicator.VHi5tbZa.js} +2 -2
- package/dist/chunks/{loading-indicator.BmAQqPP2.js.map → loading-indicator.VHi5tbZa.js.map} +1 -1
- package/dist/chunks/{modal-fullscreen.BHzyS4y7.js → modal-fullscreen.-Q-7GMyT.js} +5 -5
- package/dist/chunks/{modal-fullscreen.BHzyS4y7.js.map → modal-fullscreen.-Q-7GMyT.js.map} +1 -1
- package/dist/chunks/{modal.vue_vue_type_script_setup_true_lang.CqDhzFJ9.js → modal.vue_vue_type_script_setup_true_lang.TFh7p51f.js} +6 -6
- package/dist/chunks/{modal.vue_vue_type_script_setup_true_lang.CqDhzFJ9.js.map → modal.vue_vue_type_script_setup_true_lang.TFh7p51f.js.map} +1 -1
- package/dist/chunks/{pagination.BuYH2_62.js → pagination.DW_HPEIu.js} +4 -4
- package/dist/chunks/{pagination.BuYH2_62.js.map → pagination.DW_HPEIu.js.map} +1 -1
- package/dist/chunks/{payment-method.4cnK2M5b.js → payment-method.CDnn1bjo.js} +2 -2
- package/dist/chunks/{payment-method.4cnK2M5b.js.map → payment-method.CDnn1bjo.js.map} +1 -1
- package/dist/chunks/popover.types.COM6oQgq.js +6 -0
- package/dist/chunks/{popover.types.BQILgzhs.js.map → popover.types.COM6oQgq.js.map} +1 -1
- package/dist/chunks/{popper-container.idDrquM6.js → popper-container.CgJzEQ7N.js} +2 -2
- package/dist/chunks/{popper-container.idDrquM6.js.map → popper-container.CgJzEQ7N.js.map} +1 -1
- package/dist/chunks/{promo-banner.il4_mdEk.js → promo-banner.BbqIA4Ce.js} +3 -3
- package/dist/chunks/{promo-banner.il4_mdEk.js.map → promo-banner.BbqIA4Ce.js.map} +1 -1
- package/dist/chunks/{radio-group.BG8W9epW.js → radio-group.CbLIPi7h.js} +77 -69
- package/dist/chunks/radio-group.CbLIPi7h.js.map +1 -0
- package/dist/chunks/{radio-input.DvPjlvPm.js → radio-input.odN9FOyr.js} +2 -2
- package/dist/chunks/{radio-input.DvPjlvPm.js.map → radio-input.odN9FOyr.js.map} +1 -1
- package/dist/chunks/{rich-text-editor.vqti0Ls0.js → rich-text-editor.C0hJeV4H.js} +7 -7
- package/dist/chunks/{rich-text-editor.vqti0Ls0.js.map → rich-text-editor.C0hJeV4H.js.map} +1 -1
- package/dist/chunks/{search-bar.RGL70u_Y.js → search-bar.CvAi2t3-.js} +3 -3
- package/dist/chunks/{search-bar.RGL70u_Y.js.map → search-bar.CvAi2t3-.js.map} +1 -1
- package/dist/chunks/{secondary-nav.Dtw_Dm_X.js → secondary-nav.yntS8-u5.js} +3 -3
- package/dist/chunks/{secondary-nav.Dtw_Dm_X.js.map → secondary-nav.yntS8-u5.js.map} +1 -1
- package/dist/chunks/{segmented-control.C6QyN2jS.js → segmented-control.CRSdIvha.js} +3 -3
- package/dist/chunks/{segmented-control.C6QyN2jS.js.map → segmented-control.CRSdIvha.js.map} +1 -1
- package/dist/chunks/{selection-card-group.DpogJSo0.js → selection-card-group.Cu3V8h4R.js} +6 -6
- package/dist/chunks/{selection-card-group.DpogJSo0.js.map → selection-card-group.Cu3V8h4R.js.map} +1 -1
- package/dist/chunks/{sidepanel.BqRWoCd3.js → sidepanel.z18XSO3M.js} +6 -6
- package/dist/chunks/{sidepanel.BqRWoCd3.js.map → sidepanel.z18XSO3M.js.map} +1 -1
- package/dist/chunks/{status.types.B7vJ-_oJ.js → status.types.-l2qJxLn.js} +2 -2
- package/dist/chunks/{status.types.B7vJ-_oJ.js.map → status.types.-l2qJxLn.js.map} +1 -1
- package/dist/chunks/{step.BdZrreHU.js → step.BMSjltwl.js} +3 -3
- package/dist/chunks/{step.BdZrreHU.js.map → step.BMSjltwl.js.map} +1 -1
- package/dist/chunks/{structured-list-item.DIwkcIMT.js → structured-list-item.CD1nMqzH.js} +6 -6
- package/dist/chunks/{structured-list-item.DIwkcIMT.js.map → structured-list-item.CD1nMqzH.js.map} +1 -1
- package/dist/chunks/{summary-grid.types.DHUnTXI-.js → summary-grid.types.BHuDlPDw.js} +6 -6
- package/dist/chunks/{summary-grid.types.DHUnTXI-.js.map → summary-grid.types.BHuDlPDw.js.map} +1 -1
- package/dist/chunks/{tab.jIG8-7-Q.js → tab.C3R_VoJL.js} +3 -3
- package/dist/chunks/{tab.jIG8-7-Q.js.map → tab.C3R_VoJL.js.map} +1 -1
- package/dist/chunks/{tag.BP8fBCx-.js → tag.B6AmSws9.js} +7 -7
- package/dist/chunks/{tag.BP8fBCx-.js.map → tag.B6AmSws9.js.map} +1 -1
- package/dist/chunks/{textarea.CtfRoIUw.js → textarea.DfQLxj_w.js} +4 -4
- package/dist/chunks/{textarea.CtfRoIUw.js.map → textarea.DfQLxj_w.js.map} +1 -1
- package/dist/chunks/timeline-item.25y9USE-.js +568 -0
- package/dist/chunks/timeline-item.25y9USE-.js.map +1 -0
- package/dist/chunks/{toast.w_FD0zQA.js → toast.DIhABAW8.js} +4 -4
- package/dist/chunks/{toast.w_FD0zQA.js.map → toast.DIhABAW8.js.map} +1 -1
- package/dist/chunks/{toggle-button.ByyLw0Yf.js → toggle-button.CQl9HneO.js} +194 -188
- package/dist/chunks/toggle-button.CQl9HneO.js.map +1 -0
- package/dist/chunks/{toggle.CjEL1ko8.js → toggle.C8k7NQ7y.js} +2 -2
- package/dist/chunks/{toggle.CjEL1ko8.js.map → toggle.C8k7NQ7y.js.map} +1 -1
- package/dist/chunks/{tooltip.Dww8NiUR.js → tooltip.lBnko9QV.js} +4 -4
- package/dist/chunks/tooltip.lBnko9QV.js.map +1 -0
- package/dist/chunks/{tutorial.vue_vue_type_script_setup_true_lang.rY33hqQQ.js → tutorial.vue_vue_type_script_setup_true_lang.BProZFmI.js} +5 -5
- package/dist/chunks/{tutorial.vue_vue_type_script_setup_true_lang.rY33hqQQ.js.map → tutorial.vue_vue_type_script_setup_true_lang.BProZFmI.js.map} +1 -1
- package/dist/chunks/{typography.CFHvBR7L.js → typography.yBEME_Gu.js} +2 -2
- package/dist/chunks/{typography.CFHvBR7L.js.map → typography.yBEME_Gu.js.map} +1 -1
- package/dist/chunks/{use-bento-toast-controller.BzKbXZPO.js → use-bento-toast-controller.Kri_h7jS.js} +2 -2
- package/dist/chunks/{use-bento-toast-controller.BzKbXZPO.js.map → use-bento-toast-controller.Kri_h7jS.js.map} +1 -1
- package/dist/chunks/{use-cached-selected-values.BcNRo4mZ.js → use-cached-selected-values.CELe-MsT.js} +7 -7
- package/dist/chunks/use-cached-selected-values.CELe-MsT.js.map +1 -0
- package/dist/chunks/{use-country-items.Duh4bMqW.js → use-country-items.D_kamcYy.js} +2 -2
- package/dist/chunks/{use-country-items.Duh4bMqW.js.map → use-country-items.D_kamcYy.js.map} +1 -1
- package/dist/chunks/{use-country-phon-code.BOaJ9PDl.js → use-country-phon-code.Bui3zD6W.js} +5 -3
- package/dist/chunks/{use-country-phon-code.BOaJ9PDl.js.map → use-country-phon-code.Bui3zD6W.js.map} +1 -1
- package/dist/chunks/warning-filled.BMGD0G-_.js +29 -0
- package/dist/chunks/warning-filled.BMGD0G-_.js.map +1 -0
- package/dist/code-snippet.js +1 -1
- package/dist/country.js +2 -2
- package/dist/currency.js +1 -1
- package/dist/dashboard-template.js +1 -1
- package/dist/dashed-underline.js +1 -1
- package/dist/data-grid-template.js +1 -1
- package/dist/data-grid.js +1 -1
- package/dist/date-picker.js +2 -2
- package/dist/date-range-picker.js +2 -2
- package/dist/date.js +1 -1
- package/dist/dropdown.js +4 -4
- package/dist/empty-state.js +1 -1
- package/dist/file-uploader.js +1 -1
- package/dist/filter-bar.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 +136 -136
- 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 +12 -12
- package/dist/layout.js +1 -1
- package/dist/link.js +1 -1
- package/dist/loading-indicator.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/payment-method.js +1 -1
- package/dist/popover.js +2 -2
- package/dist/popper-container.js +1 -1
- package/dist/promo-banner.js +1 -1
- package/dist/radio-group.js +2 -2
- package/dist/rich-text-editor.js +1 -1
- package/dist/search-bar.js +2 -2
- package/dist/secondary-nav.js +1 -1
- package/dist/segmented-control.js +1 -1
- package/dist/selection-card.js +1 -1
- package/dist/sidepanel.js +1 -1
- package/dist/status.js +1 -1
- package/dist/stepper.js +1 -1
- package/dist/structured-list.js +1 -1
- package/dist/summary-grid.js +1 -1
- package/dist/tabs.js +1 -1
- package/dist/tag.js +1 -1
- package/dist/textarea.js +1 -1
- package/dist/timeline.js +1 -1
- package/dist/toast.js +1 -1
- package/dist/toggle.js +1 -1
- package/dist/tutorial.js +1 -1
- package/dist/typography.js +1 -1
- package/dist/web-types.json +1 -1
- package/package.json +5 -5
- package/dist/chunks/alert.DFSdD4jX.js +0 -169
- package/dist/chunks/alert.DFSdD4jX.js.map +0 -1
- package/dist/chunks/bin.CiGG2V4b.js +0 -37
- package/dist/chunks/bin.CiGG2V4b.js.map +0 -1
- package/dist/chunks/controls-group.2xftPPd7.js.map +0 -1
- package/dist/chunks/data-grid.aEQt05d9.js.map +0 -1
- package/dist/chunks/dropdown-tag.CnqIUH1X.js +0 -263
- package/dist/chunks/dropdown-tag.CnqIUH1X.js.map +0 -1
- package/dist/chunks/file-uploader.09149Fx8.js.map +0 -1
- package/dist/chunks/filter-bar.D6n7Srr5.js.map +0 -1
- package/dist/chunks/header-with-views.Drzq84zs.js.map +0 -1
- package/dist/chunks/info.DcTs-Bzp.js +0 -44
- package/dist/chunks/info.DcTs-Bzp.js.map +0 -1
- package/dist/chunks/popover.types.BQILgzhs.js +0 -6
- package/dist/chunks/radio-group.BG8W9epW.js.map +0 -1
- package/dist/chunks/timeline-item.DthjD14m.js +0 -566
- package/dist/chunks/timeline-item.DthjD14m.js.map +0 -1
- package/dist/chunks/toggle-button.ByyLw0Yf.js.map +0 -1
- package/dist/chunks/tooltip.Dww8NiUR.js.map +0 -1
- package/dist/chunks/use-cached-selected-values.BcNRo4mZ.js.map +0 -1
- package/dist/chunks/warning-filled.AiUbXzzg.js +0 -29
- package/dist/chunks/warning-filled.AiUbXzzg.js.map +0 -1
- package/dist/styles/legacy.css +0 -2239
|
@@ -1,10 +1,10 @@
|
|
|
1
1
|
import { defineComponent as M, useSlots as Q, computed as _, createBlock as y, openBlock as u, withModifiers as X, normalizeClass as U, createSlots as H, withCtx as h, renderSlot as D, unref as m, createElementVNode as V, createCommentVNode as O, resolveComponent as T, createVNode as E, createTextVNode as j, toDisplayString as G, onMounted as x, onUnmounted as pe, useAttrs as Oe, inject as K, ref as v, toRefs as $e, Transition as ve, createElementBlock as k, Teleport as Ee, mergeProps as Y, resolveDynamicComponent as z, toHandlers as ie, withKeys as N, Fragment as Z, renderList as ee, watch as be, nextTick as te, normalizeStyle as he, provide as Se, normalizeProps as Le, guardReactiveProps as Te } from "vue";
|
|
2
|
-
import { B as L } from "./button.
|
|
2
|
+
import { B as L } from "./button.C-MAa6ut.js";
|
|
3
3
|
import { B as ye, D as Me } from "./divider.DnKNNyWB.js";
|
|
4
4
|
import { C as we } from "./cross.B92GxFTY.js";
|
|
5
5
|
import { _ as w } from "./_plugin-vue_export-helper.CHgC5LLL.js";
|
|
6
|
-
import { B as ge, a as re, p as Ne } from "./typography.
|
|
7
|
-
import { c as Re, P as Ae } from "./popper-container.
|
|
6
|
+
import { B as ge, a as re, p as Ne } from "./typography.yBEME_Gu.js";
|
|
7
|
+
import { c as Re, P as Ae } from "./popper-container.CgJzEQ7N.js";
|
|
8
8
|
import { u as ae } from "./use-has-slot.B7eQSabc.js";
|
|
9
9
|
import { u as De } from "./aria-label.CaUURpnB.js";
|
|
10
10
|
import { o as Pe } from "./on-click-outside.D9aY9g8G.js";
|
|
@@ -14,11 +14,11 @@ import { C as We } from "./chevron-down.DCQ6ZLaq.js";
|
|
|
14
14
|
/* empty css */
|
|
15
15
|
import { i as Ce } from "./index.CWuzEfiV.js";
|
|
16
16
|
import { a as Ke, C as ue } from "./chevron-right.Brdj0WlO.js";
|
|
17
|
-
import { a as de, B as Ue } from "./base-button.
|
|
17
|
+
import { a as de, B as Ue } from "./base-button.CjYb5Y8k.js";
|
|
18
18
|
import { t as Ve } from "./truncate.BfIl_-71.js";
|
|
19
19
|
import { o as Ge } from "./resize.Bqks3WUm.js";
|
|
20
20
|
import { g as je } from "./es6.MoTTyETW.js";
|
|
21
|
-
import { B as He } from "./loading-indicator.
|
|
21
|
+
import { B as He } from "./loading-indicator.VHi5tbZa.js";
|
|
22
22
|
import { C as Ye } from "./cross-circle-fill.CYLL7jfC.js";
|
|
23
23
|
import { C as Je } from "./checkmark-circle-fill._6-d40ru.js";
|
|
24
24
|
import "../assets/toggle-button.css";
|
|
@@ -91,26 +91,26 @@ const Ie = {
|
|
|
91
91
|
},
|
|
92
92
|
emits: ["click"],
|
|
93
93
|
setup(e, { emit: t }) {
|
|
94
|
-
const
|
|
95
|
-
[`b-loading-button--${
|
|
96
|
-
"b-loading-button--loading":
|
|
97
|
-
[`b-loading-button--${
|
|
98
|
-
"b-loading-button--inverse":
|
|
94
|
+
const o = e, s = t, d = Q(), p = ae(d), { t: l } = _e({ messages: Ie }), f = _(() => ({
|
|
95
|
+
[`b-loading-button--${o.variant}-${A.LOADING}`]: o.state === A.LOADING && !o.disabled,
|
|
96
|
+
"b-loading-button--loading": o.state === A.LOADING && !o.disabled,
|
|
97
|
+
[`b-loading-button--${o.variant}-${A.SUCCESS}`]: o.state === A.SUCCESS,
|
|
98
|
+
"b-loading-button--inverse": o.inverse
|
|
99
99
|
})), c = _(
|
|
100
|
-
() =>
|
|
100
|
+
() => o.variant === "primary" && !o.inverse || o.variant !== "primary" && o.inverse
|
|
101
101
|
), a = _(
|
|
102
|
-
() =>
|
|
103
|
-
),
|
|
104
|
-
r.stopPropagation(),
|
|
102
|
+
() => o.critical && o.state === A.START || o.state === A.FAIL
|
|
103
|
+
), i = (r) => {
|
|
104
|
+
r.stopPropagation(), o.state !== A.LOADING && s("click", r);
|
|
105
105
|
};
|
|
106
|
-
return (r,
|
|
106
|
+
return (r, n) => (u(), y(L, {
|
|
107
107
|
critical: a.value,
|
|
108
108
|
variant: e.variant,
|
|
109
109
|
condensed: e.condensed,
|
|
110
110
|
disabled: e.disabled,
|
|
111
111
|
inverse: e.inverse,
|
|
112
112
|
class: U(["b-loading-button", f.value]),
|
|
113
|
-
onClickCapture: X(
|
|
113
|
+
onClickCapture: X(i, ["stop"])
|
|
114
114
|
}, H({
|
|
115
115
|
default: h(() => [
|
|
116
116
|
D(r.$slots, "default", {}, void 0, !0)
|
|
@@ -144,7 +144,7 @@ const Ie = {
|
|
|
144
144
|
} : void 0
|
|
145
145
|
]), 1032, ["critical", "variant", "condensed", "disabled", "inverse", "class"]));
|
|
146
146
|
}
|
|
147
|
-
}), Ze = /* @__PURE__ */ w(ze, [["__scopeId", "data-v-
|
|
147
|
+
}), Ze = /* @__PURE__ */ w(ze, [["__scopeId", "data-v-e68a786b"]]), Qe = M({
|
|
148
148
|
name: "bento-popover-dismiss-button",
|
|
149
149
|
components: { BentoButton: L, CrossIcon: we },
|
|
150
150
|
props: {
|
|
@@ -160,7 +160,7 @@ const Ie = {
|
|
|
160
160
|
};
|
|
161
161
|
}
|
|
162
162
|
});
|
|
163
|
-
function xe(e, t,
|
|
163
|
+
function xe(e, t, o, s, d, p) {
|
|
164
164
|
const l = T("cross-icon"), f = T("bento-button");
|
|
165
165
|
return u(), y(f, {
|
|
166
166
|
class: U(e.conditionalClass),
|
|
@@ -186,17 +186,17 @@ const ce = /* @__PURE__ */ w(Qe, [["render", xe], ["__scopeId", "data-v-df01cfb8
|
|
|
186
186
|
title: { type: String, default: null }
|
|
187
187
|
},
|
|
188
188
|
setup(e) {
|
|
189
|
-
const t = _(() => !e.isImageTitle),
|
|
189
|
+
const t = _(() => !e.isImageTitle), o = _(
|
|
190
190
|
() => e.isImageTitle ? re.SUBTITLE : re.BODY
|
|
191
191
|
);
|
|
192
192
|
return {
|
|
193
193
|
// Values
|
|
194
194
|
isStrongest: t,
|
|
195
|
-
titleVariant:
|
|
195
|
+
titleVariant: o
|
|
196
196
|
};
|
|
197
197
|
}
|
|
198
198
|
});
|
|
199
|
-
function tt(e, t,
|
|
199
|
+
function tt(e, t, o, s, d, p) {
|
|
200
200
|
const l = T("bento-typography");
|
|
201
201
|
return u(), y(l, {
|
|
202
202
|
strongest: e.isStrongest,
|
|
@@ -209,12 +209,12 @@ function tt(e, t, n, o, d, p) {
|
|
|
209
209
|
_: 1
|
|
210
210
|
}, 8, ["strongest", "variant"]);
|
|
211
211
|
}
|
|
212
|
-
const nt = /* @__PURE__ */ w(et, [["render", tt]]), ot = (e, t,
|
|
213
|
-
let
|
|
212
|
+
const nt = /* @__PURE__ */ w(et, [["render", tt]]), ot = (e, t, o = {}) => {
|
|
213
|
+
let s;
|
|
214
214
|
x(() => {
|
|
215
|
-
|
|
215
|
+
s = Pe(e, t, o);
|
|
216
216
|
}), pe(() => {
|
|
217
|
-
|
|
217
|
+
s && (s(), s = null);
|
|
218
218
|
});
|
|
219
219
|
}, st = Symbol("input field popover injection key"), it = Symbol("input field popover injection key"), at = Symbol("popover offset injection key"), lt = {
|
|
220
220
|
key: 0,
|
|
@@ -253,26 +253,26 @@ const nt = /* @__PURE__ */ w(et, [["render", tt]]), ot = (e, t, n = {}) => {
|
|
|
253
253
|
},
|
|
254
254
|
emits: ["dismiss", "placement"],
|
|
255
255
|
setup(e, { emit: t }) {
|
|
256
|
-
const
|
|
256
|
+
const s = e, d = t, p = Q(), l = Oe(), f = _(() => {
|
|
257
257
|
var g;
|
|
258
258
|
return {
|
|
259
259
|
id: (g = l.id) == null ? void 0 : g.toString(),
|
|
260
260
|
role: (l == null ? void 0 : l.role) === null ? void 0 : Re.POPOVER
|
|
261
261
|
};
|
|
262
|
-
}), c = K(at, 2), a = v(l["aria-label"]), { ariaLabel:
|
|
262
|
+
}), c = K(at, 2), a = v(l["aria-label"]), { ariaLabel: i, title: r } = $e(s), n = De({
|
|
263
263
|
ariaLabel: a.value,
|
|
264
264
|
// TODO: take this line away when the aria-label props is removed
|
|
265
|
-
label:
|
|
265
|
+
label: i,
|
|
266
266
|
defaultFallback: r
|
|
267
267
|
}), b = K(it, !1) || K(st, !1), C = _(() => ({
|
|
268
|
-
"b-popover--small":
|
|
269
|
-
"b-popover--with-divider": !!
|
|
270
|
-
"b-popover--large":
|
|
271
|
-
"b-popover--fit-content":
|
|
272
|
-
"b-popover--without-space":
|
|
273
|
-
"b-popover--overflow-visible":
|
|
268
|
+
"b-popover--small": s.small && !s.large,
|
|
269
|
+
"b-popover--with-divider": !!s.divider,
|
|
270
|
+
"b-popover--large": s.large && !s.small,
|
|
271
|
+
"b-popover--fit-content": s.fitContent,
|
|
272
|
+
"b-popover--without-space": s.withoutSpace,
|
|
273
|
+
"b-popover--overflow-visible": s.overflowVisible || b
|
|
274
274
|
})), $ = _(() => ({
|
|
275
|
-
"b-popover__content--with-title": !!
|
|
275
|
+
"b-popover__content--with-title": !!s.title
|
|
276
276
|
})), R = () => d("dismiss"), P = ae(p);
|
|
277
277
|
return (g, F) => (u(), y(ve, { name: "b-popover__animation" }, {
|
|
278
278
|
default: h(() => [
|
|
@@ -280,7 +280,7 @@ const nt = /* @__PURE__ */ w(et, [["render", tt]]), ot = (e, t, n = {}) => {
|
|
|
280
280
|
key: 0,
|
|
281
281
|
id: f.value.id,
|
|
282
282
|
"aria-role": f.value.role,
|
|
283
|
-
"aria-label": m(
|
|
283
|
+
"aria-label": m(n),
|
|
284
284
|
arrow: { classes: ["b-popover__arrow"] },
|
|
285
285
|
"disabled-focus-trap": g.disableFocusTrap,
|
|
286
286
|
class: U([C.value, "b-popover"]),
|
|
@@ -401,11 +401,11 @@ const nt = /* @__PURE__ */ w(et, [["render", tt]]), ot = (e, t, n = {}) => {
|
|
|
401
401
|
},
|
|
402
402
|
onMutations(e) {
|
|
403
403
|
let t = !1;
|
|
404
|
-
for (let
|
|
405
|
-
const
|
|
404
|
+
for (let o = 0; o < e.length; o++) {
|
|
405
|
+
const s = e[o], d = Array.from(s.addedNodes).filter(
|
|
406
406
|
(p) => !this.nodes.includes(p)
|
|
407
407
|
);
|
|
408
|
-
Array.from(
|
|
408
|
+
Array.from(s.removedNodes).includes(this.parent) ? (this.disable(), this.waiting = !this.disabled) : this.waiting && d.length > 0 && (t = !0);
|
|
409
409
|
}
|
|
410
410
|
t && this.move();
|
|
411
411
|
},
|
|
@@ -416,7 +416,7 @@ const nt = /* @__PURE__ */ w(et, [["render", tt]]), ot = (e, t, n = {}) => {
|
|
|
416
416
|
attributes: !1,
|
|
417
417
|
characterData: !1
|
|
418
418
|
}), !this.childObserver && (this.childObserver = new MutationObserver((e) => {
|
|
419
|
-
e.find((
|
|
419
|
+
e.find((o) => o.target === this.$el) && (this.nodes.forEach((o) => o.parentNode && o.parentNode.removeChild(o)), this.nodes = this.getComponentChildrenNode(), this.maybeMove());
|
|
420
420
|
}), this.childObserver.observe(this.$el, {
|
|
421
421
|
childList: !0,
|
|
422
422
|
subtree: !1,
|
|
@@ -434,7 +434,7 @@ const nt = /* @__PURE__ */ w(et, [["render", tt]]), ot = (e, t, n = {}) => {
|
|
|
434
434
|
}), _t = /* @__PURE__ */ M({
|
|
435
435
|
...gt,
|
|
436
436
|
setup(e) {
|
|
437
|
-
return (t,
|
|
437
|
+
return (t, o) => m(Ce) ? (u(), k("div", {
|
|
438
438
|
key: 0,
|
|
439
439
|
class: U(t.classes)
|
|
440
440
|
}, [
|
|
@@ -458,7 +458,7 @@ const Bt = {
|
|
|
458
458
|
this.uuid = fe.toString(), fe += 1;
|
|
459
459
|
}
|
|
460
460
|
}, Ot = { key: 0 };
|
|
461
|
-
function $t(e, t,
|
|
461
|
+
function $t(e, t, o, s, d, p) {
|
|
462
462
|
return u(), k("svg", Y({ role: "img" }, e.$attrs, {
|
|
463
463
|
class: "ui-assets-icons-16",
|
|
464
464
|
xmlns: "http://www.w3.org/2000/svg",
|
|
@@ -553,13 +553,13 @@ const Et = /* @__PURE__ */ w(Bt, [["render", $t]]), St = M({
|
|
|
553
553
|
},
|
|
554
554
|
emits: [de.CLICK],
|
|
555
555
|
setup(e, { emit: t }) {
|
|
556
|
-
const
|
|
556
|
+
const s = _(() => ({
|
|
557
557
|
"b-menu-item--critical": e.critical,
|
|
558
558
|
"b-menu-item--indent": e.indent
|
|
559
559
|
})), d = _(() => Ve(e.secondaryText, 10));
|
|
560
560
|
return {
|
|
561
561
|
// Values
|
|
562
|
-
conditionalClasses:
|
|
562
|
+
conditionalClasses: s,
|
|
563
563
|
computedSecondaryText: d,
|
|
564
564
|
// Methods
|
|
565
565
|
onClick: (l) => {
|
|
@@ -568,7 +568,7 @@ const Et = /* @__PURE__ */ w(Bt, [["render", $t]]), St = M({
|
|
|
568
568
|
};
|
|
569
569
|
}
|
|
570
570
|
});
|
|
571
|
-
function Lt(e, t,
|
|
571
|
+
function Lt(e, t, o, s, d, p) {
|
|
572
572
|
const l = T("bento-typography"), f = T("chevron-right-icon"), c = T("base-button");
|
|
573
573
|
return u(), y(c, {
|
|
574
574
|
class: U(["b-menu-item", e.conditionalClasses]),
|
|
@@ -629,14 +629,14 @@ const Tt = Symbol("menu registering injection key"), Mt = {
|
|
|
629
629
|
}, wt = /* @__PURE__ */ M({
|
|
630
630
|
...Mt,
|
|
631
631
|
setup(e) {
|
|
632
|
-
const t = v(),
|
|
632
|
+
const t = v(), o = v({}), s = K(
|
|
633
633
|
Tt,
|
|
634
634
|
!1
|
|
635
635
|
);
|
|
636
|
-
if (
|
|
637
|
-
const { registerMenuContainerElement: d } =
|
|
638
|
-
d(t),
|
|
639
|
-
mouseleave:
|
|
636
|
+
if (s) {
|
|
637
|
+
const { registerMenuContainerElement: d } = s;
|
|
638
|
+
d(t), o.value = {
|
|
639
|
+
mouseleave: s == null ? void 0 : s.menuMouseLeave
|
|
640
640
|
};
|
|
641
641
|
}
|
|
642
642
|
return (d, p) => (u(), k("div", Y({
|
|
@@ -644,7 +644,7 @@ const Tt = Symbol("menu registering injection key"), Mt = {
|
|
|
644
644
|
ref: t,
|
|
645
645
|
class: "b-menu-list-container",
|
|
646
646
|
"data-testid": "menu-list-container"
|
|
647
|
-
}, ie(
|
|
647
|
+
}, ie(o.value, !0)), [
|
|
648
648
|
D(d.$slots, "default", {}, void 0, !0)
|
|
649
649
|
], 16));
|
|
650
650
|
}
|
|
@@ -669,9 +669,9 @@ const Tt = Symbol("menu registering injection key"), Mt = {
|
|
|
669
669
|
},
|
|
670
670
|
emits: [W.CLOSE, W.BACK],
|
|
671
671
|
setup(e, { emit: t }) {
|
|
672
|
-
const
|
|
673
|
-
var
|
|
674
|
-
const r = (
|
|
672
|
+
const o = v(null), s = v(0), d = v(e.items.length), p = () => t(W.CLOSE), l = () => t(W.BACK), f = _(() => {
|
|
673
|
+
var n;
|
|
674
|
+
const r = (n = e.items) == null ? void 0 : n.map((b) => ({
|
|
675
675
|
...b,
|
|
676
676
|
indent: !b.icon,
|
|
677
677
|
isTitle: !1,
|
|
@@ -693,34 +693,34 @@ const Tt = Symbol("menu registering injection key"), Mt = {
|
|
|
693
693
|
...r
|
|
694
694
|
];
|
|
695
695
|
}), c = async () => {
|
|
696
|
-
var r,
|
|
697
|
-
($ = (C = (b = (
|
|
696
|
+
var r, n, b, C, $;
|
|
697
|
+
($ = (C = (b = (n = (r = o.value) == null ? void 0 : r.children) == null ? void 0 : n[s.value]) == null ? void 0 : b.children) == null ? void 0 : C[0]) == null || $.focus();
|
|
698
698
|
};
|
|
699
699
|
x(async () => {
|
|
700
700
|
setTimeout(() => c(), 150);
|
|
701
701
|
});
|
|
702
702
|
const a = () => {
|
|
703
|
-
|
|
704
|
-
},
|
|
705
|
-
|
|
703
|
+
s.value > 0 ? (s.value -= 1, f.value[s.value].disabled && a()) : s.value = d.value, c();
|
|
704
|
+
}, i = () => {
|
|
705
|
+
s.value < d.value ? (s.value += 1, f.value[s.value].disabled && i()) : s.value = 0, c();
|
|
706
706
|
};
|
|
707
707
|
return {
|
|
708
708
|
// Enums
|
|
709
709
|
BentoMenuEvent: W,
|
|
710
710
|
// Values
|
|
711
|
-
subMenuItemListRefLocal:
|
|
712
|
-
subMenuFocusedIndex:
|
|
711
|
+
subMenuItemListRefLocal: o,
|
|
712
|
+
subMenuFocusedIndex: s,
|
|
713
713
|
ChevronLeftIcon: ue,
|
|
714
714
|
computedItems: f,
|
|
715
715
|
// Methods
|
|
716
716
|
closeMenu: p,
|
|
717
717
|
onBackButton: l,
|
|
718
718
|
focusPrevious: a,
|
|
719
|
-
focusNext:
|
|
719
|
+
focusNext: i
|
|
720
720
|
};
|
|
721
721
|
}
|
|
722
722
|
});
|
|
723
|
-
function Rt(e, t,
|
|
723
|
+
function Rt(e, t, o, s, d, p) {
|
|
724
724
|
const l = T("menu-item"), f = T("bento-divider"), c = T("menu-list-container");
|
|
725
725
|
return u(), y(ve, {
|
|
726
726
|
name: "b-sub-menu-item-list__transition",
|
|
@@ -739,8 +739,8 @@ function Rt(e, t, n, o, d, p) {
|
|
|
739
739
|
t[2] || (t[2] = N(X((...a) => e.onBackButton && e.onBackButton(...a), ["stop"]), ["esc"]))
|
|
740
740
|
]
|
|
741
741
|
}, [
|
|
742
|
-
(u(!0), k(Z, null, ee(e.computedItems, (a,
|
|
743
|
-
key: `sub-menu-item-list-item-${
|
|
742
|
+
(u(!0), k(Z, null, ee(e.computedItems, (a, i) => (u(), k("li", {
|
|
743
|
+
key: `sub-menu-item-list-item-${i}`,
|
|
744
744
|
role: "none"
|
|
745
745
|
}, [
|
|
746
746
|
E(l, {
|
|
@@ -752,7 +752,7 @@ function Rt(e, t, n, o, d, p) {
|
|
|
752
752
|
disabled: a.disabled,
|
|
753
753
|
critical: a.critical,
|
|
754
754
|
indent: a.indent,
|
|
755
|
-
tabindex:
|
|
755
|
+
tabindex: i === e.subMenuFocusedIndex ? "0" : "-1",
|
|
756
756
|
onClick: a.clickHandler
|
|
757
757
|
}, null, 8, ["text", "handler", "secondary-text", "icon", "is-title", "disabled", "critical", "indent", "tabindex", "onClick"]),
|
|
758
758
|
a.addDivider ? (u(), y(f, {
|
|
@@ -769,28 +769,28 @@ function Rt(e, t, n, o, d, p) {
|
|
|
769
769
|
});
|
|
770
770
|
}
|
|
771
771
|
const At = /* @__PURE__ */ w(Nt, [["render", Rt], ["__scopeId", "data-v-56fb6d93"]]);
|
|
772
|
-
function Dt(e, t,
|
|
772
|
+
function Dt(e, t, o) {
|
|
773
773
|
const p = v(0), l = v(0), f = (a) => {
|
|
774
774
|
if (!a || !a.parentElement)
|
|
775
775
|
return;
|
|
776
|
-
const
|
|
777
|
-
r.style.position = "absolute", r.style.visibility = "hidden",
|
|
778
|
-
const
|
|
776
|
+
const i = a.parentElement, r = a.cloneNode(!0);
|
|
777
|
+
r.style.position = "absolute", r.style.visibility = "hidden", i.appendChild(r), r.style.width = "max-content";
|
|
778
|
+
const n = r.offsetWidth, b = Math.max(150, Math.min(n, 350));
|
|
779
779
|
p.value = b, r.style.width = `${b}px`;
|
|
780
780
|
const C = r.offsetHeight;
|
|
781
|
-
l.value = C,
|
|
781
|
+
l.value = C, i.removeChild(r), l.value = C;
|
|
782
782
|
};
|
|
783
|
-
return be([t,
|
|
784
|
-
var
|
|
783
|
+
return be([t, o], async ([a]) => {
|
|
784
|
+
var i, r;
|
|
785
785
|
if (a !== null) {
|
|
786
786
|
await te();
|
|
787
|
-
const
|
|
788
|
-
|
|
787
|
+
const n = (r = (i = e.value) == null ? void 0 : i[0]) == null ? void 0 : r.$el;
|
|
788
|
+
n && f(n);
|
|
789
789
|
} else
|
|
790
790
|
p.value = 0, l.value = 0;
|
|
791
791
|
}), { computedStyle: _(() => {
|
|
792
792
|
const a = { width: "max-content" };
|
|
793
|
-
return
|
|
793
|
+
return o.value && (l.value > 0 && (a.height = `${l.value}px`), p.value > 0 && (a.width = `${p.value}px`)), a;
|
|
794
794
|
}) };
|
|
795
795
|
}
|
|
796
796
|
const Pt = M({
|
|
@@ -827,8 +827,8 @@ const Pt = M({
|
|
|
827
827
|
}
|
|
828
828
|
},
|
|
829
829
|
emits: [W.CLOSE, "menu-item-click"],
|
|
830
|
-
setup(e, { emit: t, expose:
|
|
831
|
-
const
|
|
830
|
+
setup(e, { emit: t, expose: o }) {
|
|
831
|
+
const s = v(null), d = v(null), p = v(null), l = v(null), f = v(!1), c = v(null), a = v(e.focusLastElement ? e.data.length - 1 : 0), i = v(0), r = v(e.data.length - 1), n = _(() => e.data.some((B) => B.icon)), b = _(() => e.indentItems || n.value ? e.data.map((B) => {
|
|
832
832
|
let S = !1;
|
|
833
833
|
return B.icon || (S = !0), {
|
|
834
834
|
...B,
|
|
@@ -855,7 +855,7 @@ const Pt = M({
|
|
|
855
855
|
}, ne = () => {
|
|
856
856
|
f.value = !1, c.value = null, C();
|
|
857
857
|
};
|
|
858
|
-
|
|
858
|
+
o({
|
|
859
859
|
focusItem: C
|
|
860
860
|
});
|
|
861
861
|
const { computedStyle: oe } = Dt(l, c, f);
|
|
@@ -864,11 +864,11 @@ const Pt = M({
|
|
|
864
864
|
menuItemListRef: d,
|
|
865
865
|
menuItemListWrapperRef: p,
|
|
866
866
|
subMenuItemListRef: l,
|
|
867
|
-
menuItemRef:
|
|
867
|
+
menuItemRef: s,
|
|
868
868
|
computedData: b,
|
|
869
869
|
computedStyle: oe,
|
|
870
870
|
focusedIndex: a,
|
|
871
|
-
subMenuFocusedIndex:
|
|
871
|
+
subMenuFocusedIndex: i,
|
|
872
872
|
showSubMenu: f,
|
|
873
873
|
visibleSubMenuIndex: c,
|
|
874
874
|
// Methods
|
|
@@ -882,7 +882,7 @@ const Pt = M({
|
|
|
882
882
|
};
|
|
883
883
|
}
|
|
884
884
|
}), Ft = ["onKeydown"];
|
|
885
|
-
function Wt(e, t,
|
|
885
|
+
function Wt(e, t, o, s, d, p) {
|
|
886
886
|
const l = T("menu-item"), f = T("bento-divider"), c = T("sub-menu-item-list"), a = T("menu-list-container");
|
|
887
887
|
return u(), y(a, {
|
|
888
888
|
ref: "menuItemListWrapperRef",
|
|
@@ -894,14 +894,14 @@ function Wt(e, t, n, o, d, p) {
|
|
|
894
894
|
class: "b-menu-item-list",
|
|
895
895
|
role: "menu",
|
|
896
896
|
onKeydown: [
|
|
897
|
-
t[1] || (t[1] = N((...
|
|
898
|
-
t[2] || (t[2] = N((...
|
|
899
|
-
t[3] || (t[3] = N((...
|
|
900
|
-
t[4] || (t[4] = N((...
|
|
897
|
+
t[1] || (t[1] = N((...i) => e.focusNext && e.focusNext(...i), ["down"])),
|
|
898
|
+
t[2] || (t[2] = N((...i) => e.focusPrevious && e.focusPrevious(...i), ["up"])),
|
|
899
|
+
t[3] || (t[3] = N((...i) => e.closeMenu && e.closeMenu(...i), ["esc"])),
|
|
900
|
+
t[4] || (t[4] = N((...i) => e.closeMenu && e.closeMenu(...i), ["tab"]))
|
|
901
901
|
]
|
|
902
902
|
}, [
|
|
903
|
-
(u(!0), k(Z, null, ee(e.computedData, (
|
|
904
|
-
var
|
|
903
|
+
(u(!0), k(Z, null, ee(e.computedData, (i, r) => {
|
|
904
|
+
var n, b, C, $;
|
|
905
905
|
return u(), k("li", {
|
|
906
906
|
key: `menu-item-${r}`,
|
|
907
907
|
ref_for: !0,
|
|
@@ -909,34 +909,34 @@ function Wt(e, t, n, o, d, p) {
|
|
|
909
909
|
class: "b-menu-item-list__item",
|
|
910
910
|
role: "none",
|
|
911
911
|
onKeydown: [
|
|
912
|
-
N((R) => e.focusRight(
|
|
912
|
+
N((R) => e.focusRight(i, r), ["right"]),
|
|
913
913
|
t[0] || (t[0] = N((R) => e.focusLeft(), ["left"]))
|
|
914
914
|
]
|
|
915
915
|
}, [
|
|
916
916
|
E(l, {
|
|
917
|
-
text:
|
|
918
|
-
handler: (
|
|
919
|
-
"secondary-text":
|
|
920
|
-
icon:
|
|
921
|
-
chevron: !!((b =
|
|
922
|
-
disabled:
|
|
923
|
-
critical:
|
|
924
|
-
indent:
|
|
917
|
+
text: i.text,
|
|
918
|
+
handler: (n = i.items) != null && n.length ? () => null : i.handler,
|
|
919
|
+
"secondary-text": i.secondaryText,
|
|
920
|
+
icon: i.icon,
|
|
921
|
+
chevron: !!((b = i.items) != null && b.length),
|
|
922
|
+
disabled: i.disabled,
|
|
923
|
+
critical: i.critical,
|
|
924
|
+
indent: i.indent,
|
|
925
925
|
tabindex: r === e.subMenuFocusedIndex ? "0" : "-1",
|
|
926
|
-
"aria-haspopup": !!((C =
|
|
926
|
+
"aria-haspopup": !!((C = i.items) != null && C.length),
|
|
927
927
|
"aria-expanded": e.showSubMenu && e.visibleSubMenuIndex === r,
|
|
928
|
-
onClick: (R) => e.menuItemClick(
|
|
928
|
+
onClick: (R) => e.menuItemClick(i, r)
|
|
929
929
|
}, null, 8, ["text", "handler", "secondary-text", "icon", "chevron", "disabled", "critical", "indent", "tabindex", "aria-haspopup", "aria-expanded", "onClick"]),
|
|
930
|
-
|
|
930
|
+
i.addDivider ? (u(), y(f, {
|
|
931
931
|
key: 0,
|
|
932
932
|
class: "b-menu-item-list__divider"
|
|
933
933
|
})) : O("", !0),
|
|
934
|
-
($ =
|
|
934
|
+
($ = i.items) != null && $.length && e.showSubMenu && e.visibleSubMenuIndex === r ? (u(), y(c, {
|
|
935
935
|
key: 1,
|
|
936
936
|
ref_for: !0,
|
|
937
937
|
ref: "subMenuItemListRef",
|
|
938
|
-
items:
|
|
939
|
-
title:
|
|
938
|
+
items: i.items,
|
|
939
|
+
title: i.text,
|
|
940
940
|
onBack: e.onBackButton,
|
|
941
941
|
onClose: e.closeMenu
|
|
942
942
|
}, null, 8, ["items", "title", "onBack", "onClose"])) : O("", !0)
|
|
@@ -967,40 +967,40 @@ const Kt = /* @__PURE__ */ w(Pt, [["render", Wt], ["__scopeId", "data-v-6ea090eb
|
|
|
967
967
|
closeOnClickOutsideOptions: { default: void 0 }
|
|
968
968
|
},
|
|
969
969
|
emits: ["menu-item-click", "click-outside"],
|
|
970
|
-
setup(e, { expose: t, emit:
|
|
970
|
+
setup(e, { expose: t, emit: o }) {
|
|
971
971
|
var S;
|
|
972
|
-
const
|
|
972
|
+
const s = e, d = o, p = Q(), l = ae(p), { t: f } = _e({ messages: le }), c = v(null), a = v(null), i = v(!1), r = v(!1), n = v(null), b = Fe("menu"), C = K(It, v(!1));
|
|
973
973
|
Se(Me, C);
|
|
974
974
|
const $ = _(() => ({
|
|
975
975
|
"b-menu--inverse": C.value
|
|
976
|
-
})), R = _(() =>
|
|
977
|
-
if (
|
|
976
|
+
})), R = _(() => s.menuWidth ? { width: `${s.menuWidth}px` } : null), P = _(() => {
|
|
977
|
+
if (s != null && s.button)
|
|
978
978
|
return {
|
|
979
979
|
variant: "secondary",
|
|
980
|
-
...
|
|
980
|
+
...s.button
|
|
981
981
|
};
|
|
982
982
|
}), g = () => {
|
|
983
|
-
|
|
984
|
-
}, F = async (I =
|
|
983
|
+
i.value = !0, d(W.OPEN);
|
|
984
|
+
}, F = async (I = s.revertFocusToButton) => {
|
|
985
985
|
var q, se;
|
|
986
|
-
|
|
986
|
+
i.value && (i.value = !1, I && (await te(), (se = (q = c.value) == null ? void 0 : q.$el) == null || se.focus()), d(W.CLOSE));
|
|
987
987
|
}, J = (I) => {
|
|
988
|
-
I.stopPropagation(),
|
|
988
|
+
I.stopPropagation(), i.value ? F() : g();
|
|
989
989
|
}, ne = (I) => {
|
|
990
|
-
I.preventDefault(), r.value = !1,
|
|
990
|
+
I.preventDefault(), r.value = !1, s.disableArrowDownOpeningMenu || g();
|
|
991
991
|
}, oe = (I) => {
|
|
992
992
|
I.preventDefault(), r.value = !0, g();
|
|
993
993
|
}, B = () => {
|
|
994
994
|
d("menu-item-click");
|
|
995
995
|
};
|
|
996
996
|
return ot(
|
|
997
|
-
|
|
997
|
+
n,
|
|
998
998
|
() => {
|
|
999
999
|
F(), d("click-outside");
|
|
1000
1000
|
},
|
|
1001
1001
|
{
|
|
1002
|
-
...
|
|
1003
|
-
ignore: [c, ...((S =
|
|
1002
|
+
...s.closeOnClickOutsideOptions,
|
|
1003
|
+
ignore: [c, ...((S = s.closeOnClickOutsideOptions) == null ? void 0 : S.ignore) ?? []]
|
|
1004
1004
|
}
|
|
1005
1005
|
), t({
|
|
1006
1006
|
/**
|
|
@@ -1026,8 +1026,8 @@ const Kt = /* @__PURE__ */ w(Pt, [["render", Wt], ["__scopeId", "data-v-6ea090eb
|
|
|
1026
1026
|
class: "b-menu__toggle-button",
|
|
1027
1027
|
"aria-haspopup": "true"
|
|
1028
1028
|
}, P.value, {
|
|
1029
|
-
"aria-controls":
|
|
1030
|
-
toggled:
|
|
1029
|
+
"aria-controls": i.value ? m(b) : null,
|
|
1030
|
+
toggled: i.value,
|
|
1031
1031
|
inverse: m(C),
|
|
1032
1032
|
onClick: J
|
|
1033
1033
|
}), H({ _: 2 }, [
|
|
@@ -1066,9 +1066,9 @@ const Kt = /* @__PURE__ */ w(Pt, [["render", Wt], ["__scopeId", "data-v-6ea090eb
|
|
|
1066
1066
|
key: 0,
|
|
1067
1067
|
id: m(b),
|
|
1068
1068
|
ref_key: "popoverRef",
|
|
1069
|
-
ref:
|
|
1069
|
+
ref: n,
|
|
1070
1070
|
role: null,
|
|
1071
|
-
open:
|
|
1071
|
+
open: i.value,
|
|
1072
1072
|
class: "b-menu__popover",
|
|
1073
1073
|
style: he(R.value),
|
|
1074
1074
|
"target-element": c.value,
|
|
@@ -1105,32 +1105,32 @@ const Kt = /* @__PURE__ */ w(Pt, [["render", Wt], ["__scopeId", "data-v-6ea090eb
|
|
|
1105
1105
|
}, 8, ["disabled"])) : O("", !0)
|
|
1106
1106
|
], 34));
|
|
1107
1107
|
}
|
|
1108
|
-
}), Gt = /* @__PURE__ */ w(Vt, [["__scopeId", "data-v-20a40679"]]), jt = 242, me = parseInt(je, 10), Ht = (e, t,
|
|
1109
|
-
const
|
|
1108
|
+
}), Gt = /* @__PURE__ */ w(Vt, [["__scopeId", "data-v-20a40679"]]), jt = 242, me = parseInt(je, 10), Ht = (e, t, o) => {
|
|
1109
|
+
const s = v(0);
|
|
1110
1110
|
let d = null;
|
|
1111
1111
|
const { buttonActionsWithMenu: p, menu: l, stackButtons: f } = K(kt, {
|
|
1112
1112
|
buttonActionsWithMenu: v(null),
|
|
1113
1113
|
menu: v(null),
|
|
1114
1114
|
stackButtons: v(!1)
|
|
1115
|
-
}), c = _(() => p.value ?? e.value), a = _(() => l.value ? [...t.value, l.value.$el] : t.value),
|
|
1115
|
+
}), c = _(() => p.value ?? e.value), a = _(() => l.value ? [...t.value, l.value.$el] : t.value), i = (r) => {
|
|
1116
1116
|
var C;
|
|
1117
|
-
const
|
|
1117
|
+
const n = (C = a.value) == null ? void 0 : C.reduce(
|
|
1118
1118
|
($, R) => $ + R.clientWidth + me,
|
|
1119
1119
|
-me - 1
|
|
1120
1120
|
), b = c.value.clientWidth;
|
|
1121
|
-
return r && (
|
|
1121
|
+
return r && (s.value = b >= jt && !f.value ? n : 0), s.value > b;
|
|
1122
1122
|
};
|
|
1123
1123
|
return be(
|
|
1124
|
-
() =>
|
|
1124
|
+
() => o,
|
|
1125
1125
|
() => {
|
|
1126
1126
|
te(() => {
|
|
1127
|
-
f.value =
|
|
1127
|
+
f.value = i(!0);
|
|
1128
1128
|
});
|
|
1129
1129
|
},
|
|
1130
1130
|
{ deep: !0 }
|
|
1131
1131
|
), x(() => {
|
|
1132
1132
|
d = Ge(c.value, () => {
|
|
1133
|
-
f.value = s
|
|
1133
|
+
f.value = i(s.value === 0);
|
|
1134
1134
|
});
|
|
1135
1135
|
}), pe(() => {
|
|
1136
1136
|
d == null || d.disconnect();
|
|
@@ -1144,103 +1144,109 @@ const Kt = /* @__PURE__ */ w(Pt, [["render", Wt], ["__scopeId", "data-v-6ea090eb
|
|
|
1144
1144
|
layout: { default: "buttons-end" }
|
|
1145
1145
|
},
|
|
1146
1146
|
setup(e) {
|
|
1147
|
-
const t = e,
|
|
1147
|
+
const t = e, o = v(null), s = v(null), d = Ht(o, s, t.actions), p = _(() => t.actions.slice().reverse()), l = (i) => {
|
|
1148
1148
|
const r = t.actions.length - 1;
|
|
1149
|
-
return
|
|
1149
|
+
return i === r ? "primary" : "secondary";
|
|
1150
1150
|
}, f = _(() => ({
|
|
1151
1151
|
[`b-button-actions--${t.layout}`]: !0,
|
|
1152
1152
|
"b-button-actions--stacked-buttons": d.value
|
|
1153
|
-
})), c = (
|
|
1154
|
-
click:
|
|
1155
|
-
} : {}, a = (
|
|
1156
|
-
return (
|
|
1153
|
+
})), c = (i) => (i == null ? void 0 : i.event) !== void 0 ? {
|
|
1154
|
+
click: i.event
|
|
1155
|
+
} : {}, a = (i) => i.iconOnly && (i.iconLeft || i.iconRight || i.icon);
|
|
1156
|
+
return (i, r) => (u(), k("div", {
|
|
1157
1157
|
ref_key: "buttonActions",
|
|
1158
|
-
ref:
|
|
1158
|
+
ref: o,
|
|
1159
1159
|
class: "b-button-actions"
|
|
1160
1160
|
}, [
|
|
1161
1161
|
V("div", {
|
|
1162
1162
|
class: U(["b-button-actions__container-wrapper", f.value]),
|
|
1163
1163
|
role: "group"
|
|
1164
1164
|
}, [
|
|
1165
|
-
(u(!0), k(Z, null, ee(p.value, (
|
|
1165
|
+
(u(!0), k(Z, null, ee(p.value, (n, b) => (u(), k("div", {
|
|
1166
1166
|
key: b,
|
|
1167
1167
|
ref_for: !0,
|
|
1168
1168
|
ref_key: "buttons",
|
|
1169
|
-
ref:
|
|
1169
|
+
ref: s,
|
|
1170
1170
|
class: "b-button-actions__button-wrapper"
|
|
1171
1171
|
}, [
|
|
1172
|
-
|
|
1172
|
+
n.data ? (u(), y(m(Gt), {
|
|
1173
1173
|
key: 0,
|
|
1174
|
-
|
|
1175
|
-
|
|
1176
|
-
|
|
1177
|
-
"
|
|
1178
|
-
"
|
|
1179
|
-
"
|
|
1180
|
-
"menu-
|
|
1181
|
-
"
|
|
1182
|
-
|
|
1174
|
+
ref_for: !0,
|
|
1175
|
+
ref: n.elementRef,
|
|
1176
|
+
data: n.data,
|
|
1177
|
+
"close-menu-on-item-select": n.closeMenuOnItemSelect,
|
|
1178
|
+
"close-on-click-outside-options": n.closeOnClickOutsideOptions,
|
|
1179
|
+
"disable-arrow-down-opening-menu": n.disableArrowDownOpeningMenu,
|
|
1180
|
+
"menu-position": n.menuPosition,
|
|
1181
|
+
"menu-fixed-positioning": n.menuFixedPositioning,
|
|
1182
|
+
"menu-width": n.menuWidth,
|
|
1183
|
+
"revert-focus-to-button": n.revertFocusToButton,
|
|
1184
|
+
teleport: n.teleport
|
|
1183
1185
|
}, H({ _: 2 }, [
|
|
1184
|
-
|
|
1186
|
+
n.icon || n.iconLeft ? {
|
|
1185
1187
|
name: "iconLeft",
|
|
1186
1188
|
fn: h(() => [
|
|
1187
|
-
(u(), y(z(
|
|
1188
|
-
"svg-title":
|
|
1189
|
+
(u(), y(z(n.icon || n.iconLeft), {
|
|
1190
|
+
"svg-title": n.title
|
|
1189
1191
|
}, null, 8, ["svg-title"]))
|
|
1190
1192
|
]),
|
|
1191
1193
|
key: "0"
|
|
1192
1194
|
} : void 0,
|
|
1193
|
-
a(
|
|
1195
|
+
a(n) ? void 0 : {
|
|
1194
1196
|
name: "default",
|
|
1195
1197
|
fn: h(() => [
|
|
1196
|
-
j(G(
|
|
1198
|
+
j(G(n.title), 1)
|
|
1197
1199
|
]),
|
|
1198
1200
|
key: "1"
|
|
1199
1201
|
}
|
|
1200
1202
|
]), 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"])) : (u(), k(Z, { key: 1 }, [
|
|
1201
|
-
|
|
1203
|
+
n.state ? (u(), y(m(Ze), Y({
|
|
1202
1204
|
key: 0,
|
|
1203
|
-
|
|
1204
|
-
|
|
1205
|
-
|
|
1206
|
-
|
|
1207
|
-
|
|
1208
|
-
|
|
1209
|
-
|
|
1205
|
+
ref_for: !0,
|
|
1206
|
+
ref: n.elementRef,
|
|
1207
|
+
condensed: n.condensed,
|
|
1208
|
+
critical: n.critical,
|
|
1209
|
+
disabled: n.disabled,
|
|
1210
|
+
inverse: i.inverse,
|
|
1211
|
+
state: n.state,
|
|
1212
|
+
variant: n.variant || l(b)
|
|
1213
|
+
}, ie(c(n))), {
|
|
1210
1214
|
default: h(() => [
|
|
1211
|
-
j(G(
|
|
1215
|
+
j(G(n.title), 1)
|
|
1212
1216
|
]),
|
|
1213
1217
|
_: 2
|
|
1214
1218
|
}, 1040, ["condensed", "critical", "disabled", "inverse", "state", "variant"])) : (u(), y(L, Y({
|
|
1215
1219
|
key: 1,
|
|
1216
|
-
|
|
1217
|
-
|
|
1218
|
-
|
|
1219
|
-
|
|
1220
|
-
|
|
1221
|
-
|
|
1222
|
-
|
|
1223
|
-
|
|
1220
|
+
ref_for: !0,
|
|
1221
|
+
ref: n.elementRef,
|
|
1222
|
+
condensed: n.condensed,
|
|
1223
|
+
critical: n.critical,
|
|
1224
|
+
disabled: n.disabled,
|
|
1225
|
+
inverse: i.inverse,
|
|
1226
|
+
link: n.link,
|
|
1227
|
+
variant: n.variant || l(b)
|
|
1228
|
+
}, ie(c(n))), H({ _: 2 }, [
|
|
1229
|
+
n.icon || n.iconLeft ? {
|
|
1224
1230
|
name: "iconLeft",
|
|
1225
1231
|
fn: h(() => [
|
|
1226
|
-
(u(), y(z(
|
|
1227
|
-
"svg-title":
|
|
1232
|
+
(u(), y(z(n.icon || n.iconLeft), {
|
|
1233
|
+
"svg-title": n.title
|
|
1228
1234
|
}, null, 8, ["svg-title"]))
|
|
1229
1235
|
]),
|
|
1230
1236
|
key: "0"
|
|
1231
1237
|
} : void 0,
|
|
1232
|
-
a(
|
|
1238
|
+
a(n) ? void 0 : {
|
|
1233
1239
|
name: "default",
|
|
1234
1240
|
fn: h(() => [
|
|
1235
|
-
j(G(
|
|
1241
|
+
j(G(n.title), 1)
|
|
1236
1242
|
]),
|
|
1237
1243
|
key: "1"
|
|
1238
1244
|
},
|
|
1239
|
-
|
|
1245
|
+
n.iconRight ? {
|
|
1240
1246
|
name: "iconRight",
|
|
1241
1247
|
fn: h(() => [
|
|
1242
|
-
(u(), y(z(
|
|
1243
|
-
"svg-title":
|
|
1248
|
+
(u(), y(z(n.iconRight), {
|
|
1249
|
+
"svg-title": n.title
|
|
1244
1250
|
}, null, 8, ["svg-title"]))
|
|
1245
1251
|
]),
|
|
1246
1252
|
key: "2"
|
|
@@ -1251,7 +1257,7 @@ const Kt = /* @__PURE__ */ w(Pt, [["render", Wt], ["__scopeId", "data-v-6ea090eb
|
|
|
1251
1257
|
], 2)
|
|
1252
1258
|
], 512));
|
|
1253
1259
|
}
|
|
1254
|
-
}), qt = /* @__PURE__ */ w(Jt, [["__scopeId", "data-v-
|
|
1260
|
+
}), qt = /* @__PURE__ */ w(Jt, [["__scopeId", "data-v-c309abee"]]), Xt = {}, zt = /* @__PURE__ */ M({
|
|
1255
1261
|
...Xt,
|
|
1256
1262
|
__name: "toggle-button",
|
|
1257
1263
|
props: {
|
|
@@ -1295,16 +1301,16 @@ const Kt = /* @__PURE__ */ w(Pt, [["render", Wt], ["__scopeId", "data-v-6ea090eb
|
|
|
1295
1301
|
},
|
|
1296
1302
|
emits: ["click", "update:toggled"],
|
|
1297
1303
|
setup(e, { emit: t }) {
|
|
1298
|
-
const
|
|
1299
|
-
() =>
|
|
1304
|
+
const o = e, s = t, d = _(
|
|
1305
|
+
() => o.variant === "tertiary" ? "tertiary-with-background" : o.variant
|
|
1300
1306
|
), p = _(() => ({
|
|
1301
|
-
"b-toggle-button--condensed":
|
|
1302
|
-
[`b-toggle-button--${d.value}-toggled`]:
|
|
1303
|
-
"b-toggle-button--inverse":
|
|
1307
|
+
"b-toggle-button--condensed": o == null ? void 0 : o.condensed,
|
|
1308
|
+
[`b-toggle-button--${d.value}-toggled`]: o.toggled,
|
|
1309
|
+
"b-toggle-button--inverse": o.inverse
|
|
1304
1310
|
})), l = (a) => {
|
|
1305
|
-
a.stopPropagation(),
|
|
1311
|
+
a.stopPropagation(), o != null && o.disabled || (s("click", a), s("update:toggled", !o.toggled));
|
|
1306
1312
|
}, f = Q(), c = (a) => ({ key: a });
|
|
1307
|
-
return (a,
|
|
1313
|
+
return (a, i) => (u(), y(L, Y({ class: "b-toggle-button" }, a.$attrs, {
|
|
1308
1314
|
"aria-expanded": `${e.toggled}`,
|
|
1309
1315
|
"aria-pressed": `${e.toggled}`,
|
|
1310
1316
|
condensed: e.condensed,
|
|
@@ -1314,10 +1320,10 @@ const Kt = /* @__PURE__ */ w(Pt, [["render", Wt], ["__scopeId", "data-v-6ea090eb
|
|
|
1314
1320
|
variant: d.value,
|
|
1315
1321
|
onClickCapture: X(l, ["stop"])
|
|
1316
1322
|
}), H({ _: 2 }, [
|
|
1317
|
-
ee(m(f), (r,
|
|
1318
|
-
name:
|
|
1323
|
+
ee(m(f), (r, n) => ({
|
|
1324
|
+
name: n,
|
|
1319
1325
|
fn: h(() => [
|
|
1320
|
-
D(a.$slots,
|
|
1326
|
+
D(a.$slots, n, Le(Te(c(n))), void 0, !0)
|
|
1321
1327
|
])
|
|
1322
1328
|
}))
|
|
1323
1329
|
]), 1040, ["aria-expanded", "aria-pressed", "condensed", "class", "disabled", "inverse", "variant"]));
|
|
@@ -1344,4 +1350,4 @@ export {
|
|
|
1344
1350
|
it as k,
|
|
1345
1351
|
ot as u
|
|
1346
1352
|
};
|
|
1347
|
-
//# sourceMappingURL=toggle-button.
|
|
1353
|
+
//# sourceMappingURL=toggle-button.CQl9HneO.js.map
|