@adyen/bento-vue3 1.88.1 → 1.89.2
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/components.d.ts +4 -0
- package/dist/@types/index.d.ts +722 -524
- package/dist/accordion.js +1 -1
- package/dist/action-bar.js +1 -1
- package/dist/ai-tag.js +1 -1
- package/dist/alert.js +1 -1
- package/dist/anchor-scroller.js +1 -1
- package/dist/assets/accordion-item.css +1 -1
- package/dist/assets/action-bar.css +1 -1
- package/dist/assets/ai-button.css +1 -1
- package/dist/assets/base-modal.css +1 -1
- package/dist/assets/button-actions.css +1 -1
- package/dist/assets/button.css +1 -1
- package/dist/assets/card.css +1 -1
- package/dist/assets/checkbox-input.css +1 -1
- package/dist/assets/data-grid-template.css +1 -1
- package/dist/assets/data-grid.css +1 -1
- package/dist/assets/dialog-page.css +1 -1
- package/dist/assets/file-uploader.css +1 -1
- package/dist/assets/filter-bar.css +1 -1
- package/dist/assets/index.css +1 -1
- package/dist/assets/inspector.css +1 -1
- package/dist/assets/list-item.css +1 -0
- package/dist/assets/modal-fullscreen.css +1 -1
- package/dist/assets/radio-input.css +1 -1
- package/dist/assets/selection-card-group.css +1 -1
- package/dist/assets/sidepanel.css +1 -1
- package/dist/assets/timeline-item.css +1 -1
- package/dist/assets/use-cached-selected-values.css +1 -1
- package/dist/button.js +3 -3
- package/dist/card.js +1 -1
- package/dist/checkbox.js +2 -2
- package/dist/chip.js +1 -1
- package/dist/chunks/{accordion-item.QQ06tTjt.js → accordion-item.BX1KrLMl.js} +6 -15
- package/dist/chunks/{accordion-item.QQ06tTjt.js.map → accordion-item.BX1KrLMl.js.map} +1 -1
- package/dist/chunks/{action-bar.BS2cJzG_.js → action-bar.DLMaIUWW.js} +8 -34
- package/dist/chunks/{action-bar.BS2cJzG_.js.map → action-bar.DLMaIUWW.js.map} +1 -1
- package/dist/chunks/{ai-button.XfeGC4-Q.js → ai-button.1YJdI-sw.js} +3 -3
- package/dist/chunks/{ai-button.XfeGC4-Q.js.map → ai-button.1YJdI-sw.js.map} +1 -1
- package/dist/chunks/{ai-tag.DVCW-_vD.js → ai-tag.DK63ExDc.js} +6 -15
- package/dist/chunks/{ai-tag.DVCW-_vD.js.map → ai-tag.DK63ExDc.js.map} +1 -1
- package/dist/chunks/{alert.CDWtu0Hu.js → alert.C_8-VNi_.js} +6 -24
- package/dist/chunks/{alert.CDWtu0Hu.js.map → alert.C_8-VNi_.js.map} +1 -1
- package/dist/chunks/anchor-scroller.NhjLDBZI.js +207 -0
- package/dist/chunks/{anchor-scroller.BctgW0se.js.map → anchor-scroller.NhjLDBZI.js.map} +1 -1
- package/dist/chunks/{base-button.CRYAiuzn.js → base-button.CvHl36Ue.js} +24 -27
- package/dist/chunks/{base-button.CRYAiuzn.js.map → base-button.CvHl36Ue.js.map} +1 -1
- package/dist/chunks/base-modal.C2-JyHC_.js +424 -0
- package/dist/chunks/{base-modal.gZAtk-xP.js.map → base-modal.C2-JyHC_.js.map} +1 -1
- package/dist/chunks/button-actions-with-menu.BQFAgAI2.js +85 -0
- package/dist/chunks/{button-actions-with-menu.Tba1ME79.js.map → button-actions-with-menu.BQFAgAI2.js.map} +1 -1
- package/dist/chunks/{button-actions.BYBpjNqy.js → button-actions.cMQWyZne.js} +511 -542
- package/dist/chunks/{button-actions.BYBpjNqy.js.map → button-actions.cMQWyZne.js.map} +1 -1
- package/dist/chunks/{button.C6t9_lzm.js → button.DWF7FSIw.js} +42 -45
- package/dist/chunks/{button.C6t9_lzm.js.map → button.DWF7FSIw.js.map} +1 -1
- package/dist/chunks/calendar.DcCqkSNJ.js +1201 -0
- package/dist/chunks/{calendar.vM3abC8y.js.map → calendar.DcCqkSNJ.js.map} +1 -1
- package/dist/chunks/{card.Cw63i7Ul.js → card.CoxQ_L0w.js} +9 -21
- package/dist/chunks/{card.Cw63i7Ul.js.map → card.CoxQ_L0w.js.map} +1 -1
- package/dist/chunks/{checkbox-group.ODQy-ICn.js → checkbox-group.96n9Cc3W.js} +5 -5
- package/dist/chunks/{checkbox-group.ODQy-ICn.js.map → checkbox-group.96n9Cc3W.js.map} +1 -1
- package/dist/chunks/{checkbox-input.BZjSoCQW.js → checkbox-input.CVFQCfZM.js} +44 -51
- package/dist/chunks/{checkbox-input.BZjSoCQW.js.map → checkbox-input.CVFQCfZM.js.map} +1 -1
- package/dist/chunks/{checkbox.C3Ewfygy.js → checkbox.C6ATh8f5.js} +85 -94
- package/dist/chunks/{checkbox.C3Ewfygy.js.map → checkbox.C6ATh8f5.js.map} +1 -1
- package/dist/chunks/chevron-right-small.BCinNiMt.js +29 -0
- package/dist/chunks/chevron-right-small.BCinNiMt.js.map +1 -0
- package/dist/chunks/{chip.CyW1V8RU.js → chip.CdgpQyXN.js} +6 -12
- package/dist/chunks/{chip.CyW1V8RU.js.map → chip.CdgpQyXN.js.map} +1 -1
- package/dist/chunks/click-outside.BPylIosK.js +20 -0
- package/dist/chunks/{click-outside.CDz_x8mN.js.map → click-outside.BPylIosK.js.map} +1 -1
- package/dist/chunks/{code-snippet.BaJU2I5_.js → code-snippet.DgAuuZF5.js} +9 -24
- package/dist/chunks/{code-snippet.BaJU2I5_.js.map → code-snippet.DgAuuZF5.js.map} +1 -1
- package/dist/chunks/{codemirror.D2BAltnu.js → codemirror.Bzus_EPG.js} +15 -15
- package/dist/chunks/{codemirror.D2BAltnu.js.map → codemirror.Bzus_EPG.js.map} +1 -1
- package/dist/chunks/constructNow.D9uRk678.js +8 -0
- package/dist/chunks/{constructNow.CIc7d13I.js.map → constructNow.D9uRk678.js.map} +1 -1
- package/dist/chunks/{controls-group.Bu5lNTyH.js → controls-group.C7hOE1F4.js} +3 -3
- package/dist/chunks/{controls-group.Bu5lNTyH.js.map → controls-group.C7hOE1F4.js.map} +1 -1
- package/dist/chunks/{copy.C_BCNHYQ.js → copy.C2kQ1PbI.js} +7 -19
- package/dist/chunks/{copy.C_BCNHYQ.js.map → copy.C2kQ1PbI.js.map} +1 -1
- package/dist/chunks/{country.DJts6kCv.js → country.CaGc08Ps.js} +3 -3
- package/dist/chunks/{country.DJts6kCv.js.map → country.CaGc08Ps.js.map} +1 -1
- package/dist/chunks/country.types.DjpMGz7a.js +19 -0
- package/dist/chunks/{country.types.BBQbWkTY.js.map → country.types.DjpMGz7a.js.map} +1 -1
- package/dist/chunks/{currency.Afx8MVdY.js → currency.DuTEzR_W.js} +40 -42
- package/dist/chunks/{currency.Afx8MVdY.js.map → currency.DuTEzR_W.js.map} +1 -1
- package/dist/chunks/dashboard-section.UafHRkMa.js +161 -0
- package/dist/chunks/{dashboard-section.CgoLquLP.js.map → dashboard-section.UafHRkMa.js.map} +1 -1
- package/dist/chunks/dashed-underline.CcDV2Aks.js +108 -0
- package/dist/chunks/{dashed-underline.wbRHATeE.js.map → dashed-underline.CcDV2Aks.js.map} +1 -1
- package/dist/chunks/data-grid-template.CnC4TQvk.js +135 -0
- package/dist/chunks/{data-grid-template.D40V1cmi.js.map → data-grid-template.CnC4TQvk.js.map} +1 -1
- package/dist/chunks/data-grid.BSIXLRm7.js +4014 -0
- package/dist/chunks/{data-grid.C2nCCbeC.js.map → data-grid.BSIXLRm7.js.map} +1 -1
- package/dist/chunks/date-picker.dlzZ_-5f.js +231 -0
- package/dist/chunks/{date-picker.D5B_SECc.js.map → date-picker.dlzZ_-5f.js.map} +1 -1
- package/dist/chunks/date-range-picker.DC6CK0As.js +995 -0
- package/dist/chunks/{date-range-picker.B0q7Z4df.js.map → date-range-picker.DC6CK0As.js.map} +1 -1
- package/dist/chunks/{date.BtB1HyWQ.js → date.R2Wz6o7J.js} +28 -28
- package/dist/chunks/{date.BtB1HyWQ.js.map → date.R2Wz6o7J.js.map} +1 -1
- package/dist/chunks/{de.BJvo6njq.js → de.DXrHnkLX.js} +18 -18
- package/dist/chunks/{de.BJvo6njq.js.map → de.DXrHnkLX.js.map} +1 -1
- package/dist/chunks/{dialog-page.C1KUI51V.js → dialog-page.COfKqjT-.js} +7 -13
- package/dist/chunks/{dialog-page.C1KUI51V.js.map → dialog-page.COfKqjT-.js.map} +1 -1
- package/dist/chunks/differenceInMonths.s_znQQpw.js +43 -0
- package/dist/chunks/{differenceInMonths.CIYECBxK.js.map → differenceInMonths.s_znQQpw.js.map} +1 -1
- package/dist/chunks/{directive.rXUeDb8p.js → directive.Dpivxq_t.js} +2 -2
- package/dist/chunks/{directive.rXUeDb8p.js.map → directive.Dpivxq_t.js.map} +1 -1
- package/dist/chunks/{dropdown-default-textbox.CskseEho.js → dropdown-default-textbox.bq9AlGzJ.js} +55 -64
- package/dist/chunks/{dropdown-default-textbox.CskseEho.js.map → dropdown-default-textbox.bq9AlGzJ.js.map} +1 -1
- package/dist/chunks/{dropdown-tag.Zj-exiup.js → dropdown-tag.Ysrac5GN.js} +82 -86
- package/dist/chunks/{dropdown-tag.Zj-exiup.js.map → dropdown-tag.Ysrac5GN.js.map} +1 -1
- package/dist/chunks/dropdown.MhmX1P9o.js +799 -0
- package/dist/chunks/{dropdown.CxjzXI-k.js.map → dropdown.MhmX1P9o.js.map} +1 -1
- package/dist/chunks/{empty-state.DqdPzU-g.js → empty-state.DT4sFyjB.js} +7 -14
- package/dist/chunks/{empty-state.DqdPzU-g.js.map → empty-state.DT4sFyjB.js.map} +1 -1
- package/dist/chunks/{en-GB.C3-QUpva.js → en-GB.CBpvhDYV.js} +2 -2
- package/dist/chunks/{en-GB.C3-QUpva.js.map → en-GB.CBpvhDYV.js.map} +1 -1
- package/dist/chunks/{en-US.YeSsZuOc.js → en-US.CCazFVNP.js} +30 -30
- package/dist/chunks/{en-US.YeSsZuOc.js.map → en-US.CCazFVNP.js.map} +1 -1
- package/dist/chunks/{error-message.oGiefI2-.js → error-message.DCgo8q20.js} +8 -20
- package/dist/chunks/{error-message.oGiefI2-.js.map → error-message.DCgo8q20.js.map} +1 -1
- package/dist/chunks/{es.DyUjjSL8.js → es.CoF2PB8b.js} +14 -14
- package/dist/chunks/{es.DyUjjSL8.js.map → es.CoF2PB8b.js.map} +1 -1
- package/dist/chunks/{file-uploader.BnmNI1O7.js → file-uploader.Bfd1uUMe.js} +575 -680
- package/dist/chunks/{file-uploader.BnmNI1O7.js.map → file-uploader.Bfd1uUMe.js.map} +1 -1
- package/dist/chunks/filter-bar.CkAjLQol.js +3675 -0
- package/dist/chunks/filter-bar.CkAjLQol.js.map +1 -0
- package/dist/chunks/fixed-scroller.DtkaGyMD.js +150 -0
- package/dist/chunks/{fixed-scroller.i1tmEmst.js.map → fixed-scroller.DtkaGyMD.js.map} +1 -1
- package/dist/chunks/{focus-trap.BxCwzLqN.js → focus-trap.BAiM_ywb.js} +70 -86
- package/dist/chunks/{focus-trap.BxCwzLqN.js.map → focus-trap.BAiM_ywb.js.map} +1 -1
- package/dist/chunks/{footer-actions.Ck6UztD8.js → footer-actions.BcYSsoUg.js} +3 -3
- package/dist/chunks/{footer-actions.Ck6UztD8.js.map → footer-actions.BcYSsoUg.js.map} +1 -1
- package/dist/chunks/{form-layout-title.CQfeGyVw.js → form-layout-title.DW5Kg1rh.js} +4 -6
- package/dist/chunks/{form-layout-title.CQfeGyVw.js.map → form-layout-title.DW5Kg1rh.js.map} +1 -1
- package/dist/chunks/{fr.JD_4GwS8.js → fr.CJXL-Ief.js} +16 -16
- package/dist/chunks/{fr.JD_4GwS8.js.map → fr.CJXL-Ief.js.map} +1 -1
- package/dist/chunks/{generate-uid.NJ8tVoha.js → generate-uid.DBWe4g6T.js} +15 -16
- package/dist/chunks/{generate-uid.NJ8tVoha.js.map → generate-uid.DBWe4g6T.js.map} +1 -1
- package/dist/chunks/get-slot-text.8Fbl1GOr.js +6 -0
- package/dist/chunks/{get-slot-text.CQRAP2_q.js.map → get-slot-text.8Fbl1GOr.js.map} +1 -1
- package/dist/chunks/{grid-layout.Vhv1_zFs.js → grid-layout.CCWNscU_.js} +11 -12
- package/dist/chunks/{grid-layout.Vhv1_zFs.js.map → grid-layout.CCWNscU_.js.map} +1 -1
- package/dist/chunks/{header-meta.lGt3HsyH.js → header-meta.Bym9AlQm.js} +84 -96
- package/dist/chunks/{header-meta.lGt3HsyH.js.map → header-meta.Bym9AlQm.js.map} +1 -1
- package/dist/chunks/{header-with-views.D_sy4I2A.js → header-with-views.Djba6iol.js} +1013 -1156
- package/dist/chunks/{header-with-views.D_sy4I2A.js.map → header-with-views.Djba6iol.js.map} +1 -1
- package/dist/chunks/{header.oXqwf2xN.js → header.o-7SyHtU.js} +4 -4
- package/dist/chunks/{header.oXqwf2xN.js.map → header.o-7SyHtU.js.map} +1 -1
- package/dist/chunks/{index.Dppy4qHk.js → index.DDwcHPb6.js} +12 -12
- package/dist/chunks/{index.Dppy4qHk.js.map → index.DDwcHPb6.js.map} +1 -1
- package/dist/chunks/{info-icon.DyPOv7Pi.js → info-icon.BUala_wq.js} +3 -3
- package/dist/chunks/{info-icon.DyPOv7Pi.js.map → info-icon.BUala_wq.js.map} +1 -1
- package/dist/chunks/input-field-password.DZytmp_p.js +346 -0
- package/dist/chunks/{input-field-password.C_h61CMn.js.map → input-field-password.DZytmp_p.js.map} +1 -1
- package/dist/chunks/{input-field-phone-number.KctRYA9p.js → input-field-phone-number.CxblrmaU.js} +720 -736
- package/dist/chunks/{input-field-phone-number.KctRYA9p.js.map → input-field-phone-number.CxblrmaU.js.map} +1 -1
- package/dist/chunks/{input-field.DPElUS0U.js → input-field.CfU0ZKtL.js} +42 -54
- package/dist/chunks/{input-field.DPElUS0U.js.map → input-field.CfU0ZKtL.js.map} +1 -1
- package/dist/chunks/{inspector.BjLhY3bE.js → inspector.B9k4tJWe.js} +9 -27
- package/dist/chunks/{inspector.BjLhY3bE.js.map → inspector.B9k4tJWe.js.map} +1 -1
- package/dist/chunks/isSameWeek.Dj6luS8h.js +14 -0
- package/dist/chunks/{isSameWeek.CzBCmu7d.js.map → isSameWeek.Dj6luS8h.js.map} +1 -1
- package/dist/chunks/{it.BlUnV-yA.js → it.20Y7h-bF.js} +8 -8
- package/dist/chunks/{it.BlUnV-yA.js.map → it.20Y7h-bF.js.map} +1 -1
- package/dist/chunks/{ja.nUwDmVf2.js → ja.DXlq0H98.js} +27 -27
- package/dist/chunks/{ja.nUwDmVf2.js.map → ja.DXlq0H98.js.map} +1 -1
- package/dist/chunks/layout-row.B5VJGEQH.js +99 -0
- package/dist/chunks/{layout-row.Da8nkm9z.js.map → layout-row.B5VJGEQH.js.map} +1 -1
- package/dist/chunks/link.D6D6YGsN.js +113 -0
- package/dist/chunks/{link.DTCn2EtX.js.map → link.D6D6YGsN.js.map} +1 -1
- package/dist/chunks/list-item.DO5uULke.js +128 -0
- package/dist/chunks/list-item.DO5uULke.js.map +1 -0
- package/dist/chunks/{listbox-option-tag.CoBUYwFG.js → listbox-option-tag.Cvplth7d.js} +2 -2
- package/dist/chunks/{listbox-option-tag.CoBUYwFG.js.map → listbox-option-tag.Cvplth7d.js.map} +1 -1
- package/dist/chunks/{modal-fullscreen.9ZDR_S29.js → modal-fullscreen.CuKVyTWb.js} +100 -108
- package/dist/chunks/{modal-fullscreen.9ZDR_S29.js.map → modal-fullscreen.CuKVyTWb.js.map} +1 -1
- package/dist/chunks/{modal.vue_vue_type_script_setup_true_lang.B0IdwV0R.js → modal.vue_vue_type_script_setup_true_lang.DmPw0l5Y.js} +134 -143
- package/dist/chunks/{modal.vue_vue_type_script_setup_true_lang.B0IdwV0R.js.map → modal.vue_vue_type_script_setup_true_lang.DmPw0l5Y.js.map} +1 -1
- package/dist/chunks/on-click-outside.ZUMLlxE_.js +90 -0
- package/dist/chunks/{on-click-outside.BW4rkhzG.js.map → on-click-outside.ZUMLlxE_.js.map} +1 -1
- package/dist/chunks/pagination.dpVc6Yt0.js +401 -0
- package/dist/chunks/pagination.dpVc6Yt0.js.map +1 -0
- package/dist/chunks/popover.types.D8tHtFl3.js +6 -0
- package/dist/chunks/{popover.types.DhALnOLQ.js.map → popover.types.D8tHtFl3.js.map} +1 -1
- package/dist/chunks/{popper-container.DAK7c9uS.js → popper-container.DMN8n5iC.js} +79 -86
- package/dist/chunks/{popper-container.DAK7c9uS.js.map → popper-container.DMN8n5iC.js.map} +1 -1
- package/dist/chunks/{promo-banner.aNwH6uQx.js → promo-banner.BzveHNOI.js} +7 -13
- package/dist/chunks/{promo-banner.aNwH6uQx.js.map → promo-banner.BzveHNOI.js.map} +1 -1
- package/dist/chunks/{pt-BR.BCU2Hj36.js → pt-BR.DmhmCzxE.js} +14 -14
- package/dist/chunks/{pt-BR.BCU2Hj36.js.map → pt-BR.DmhmCzxE.js.map} +1 -1
- package/dist/chunks/{radio-group.DEYzF6o7.js → radio-group.Cuiq4mxy.js} +46 -46
- package/dist/chunks/{radio-group.DEYzF6o7.js.map → radio-group.Cuiq4mxy.js.map} +1 -1
- package/dist/chunks/{rich-text-editor.DH1d5Zcp.js → rich-text-editor.DLMiT4f5.js} +1018 -1024
- package/dist/chunks/{rich-text-editor.DH1d5Zcp.js.map → rich-text-editor.DLMiT4f5.js.map} +1 -1
- package/dist/chunks/{search-bar.Dtzx88Pv.js → search-bar.CsFyP0_I.js} +6 -15
- package/dist/chunks/{search-bar.Dtzx88Pv.js.map → search-bar.CsFyP0_I.js.map} +1 -1
- package/dist/chunks/{secondary-nav.Zs7dBoJv.js → secondary-nav.CLBdq98c.js} +6 -12
- package/dist/chunks/{secondary-nav.Zs7dBoJv.js.map → secondary-nav.CLBdq98c.js.map} +1 -1
- package/dist/chunks/{segmented-control.Aqquod8g.js → segmented-control.KeQ5kuR1.js} +47 -51
- package/dist/chunks/{segmented-control.Aqquod8g.js.map → segmented-control.KeQ5kuR1.js.map} +1 -1
- package/dist/chunks/selection-card-group.XM11Kk-4.js +412 -0
- package/dist/chunks/{selection-card-group.C7IK2Vl5.js.map → selection-card-group.XM11Kk-4.js.map} +1 -1
- package/dist/chunks/{sidepanel.DaXPcTHm.js → sidepanel.b2QZ1Jsx.js} +64 -71
- package/dist/chunks/{sidepanel.DaXPcTHm.js.map → sidepanel.b2QZ1Jsx.js.map} +1 -1
- package/dist/chunks/startOfWeek.Cvmo-f5J.js +9 -0
- package/dist/chunks/{startOfWeek.CXhhX-R7.js.map → startOfWeek.Cvmo-f5J.js.map} +1 -1
- package/dist/chunks/status.H00BAmRx.js +42 -0
- package/dist/chunks/status.H00BAmRx.js.map +1 -0
- package/dist/chunks/status.types.Dx8MDhEH.js +5 -0
- package/dist/chunks/status.types.Dx8MDhEH.js.map +1 -0
- package/dist/chunks/{step.BV7MsrRF.js → step.BlwoLfdw.js} +56 -68
- package/dist/chunks/{step.BV7MsrRF.js.map → step.BlwoLfdw.js.map} +1 -1
- package/dist/chunks/{structured-list-item.DAIaUMCY.js → structured-list-item.e-8kRleh.js} +8 -14
- package/dist/chunks/{structured-list-item.DAIaUMCY.js.map → structured-list-item.e-8kRleh.js.map} +1 -1
- package/dist/chunks/{summary-grid.types.BZcZS_dW.js → summary-grid.types.CcvOC03H.js} +172 -179
- package/dist/chunks/{summary-grid.types.BZcZS_dW.js.map → summary-grid.types.CcvOC03H.js.map} +1 -1
- package/dist/chunks/tab.mR5uUSdp.js +265 -0
- package/dist/chunks/{tab.DRrnMCxe.js.map → tab.mR5uUSdp.js.map} +1 -1
- package/dist/chunks/{tag.CqWg6C3H.js → tag.DujMVFh-.js} +3 -3
- package/dist/chunks/{tag.CqWg6C3H.js.map → tag.DujMVFh-.js.map} +1 -1
- package/dist/chunks/textarea.CHV6Z8nt.js +247 -0
- package/dist/chunks/{textarea.CvI2InIB.js.map → textarea.CHV6Z8nt.js.map} +1 -1
- package/dist/chunks/timeline-item.CaGcRZbt.js +419 -0
- package/dist/chunks/timeline-item.CaGcRZbt.js.map +1 -0
- package/dist/chunks/{toast.Bbtq3Icj.js → toast.C2oehk9P.js} +72 -78
- package/dist/chunks/{toast.Bbtq3Icj.js.map → toast.C2oehk9P.js.map} +1 -1
- package/dist/chunks/{toggle.BupEBkIG.js → toggle.BQoprdX-.js} +5 -5
- package/dist/chunks/{toggle.BupEBkIG.js.map → toggle.BQoprdX-.js.map} +1 -1
- package/dist/chunks/tooltip.CbADa_4p.js +199 -0
- package/dist/chunks/{tooltip.Lwtlhv3u.js.map → tooltip.CbADa_4p.js.map} +1 -1
- package/dist/chunks/truncate.DmCXQmeb.js +8 -0
- package/dist/chunks/{truncate.BfIl_-71.js.map → truncate.DmCXQmeb.js.map} +1 -1
- package/dist/chunks/{tutorial.vue_vue_type_script_setup_true_lang.BL2QTKmV.js → tutorial.vue_vue_type_script_setup_true_lang.BOruzlTt.js} +100 -124
- package/dist/chunks/{tutorial.vue_vue_type_script_setup_true_lang.BL2QTKmV.js.map → tutorial.vue_vue_type_script_setup_true_lang.BOruzlTt.js.map} +1 -1
- package/dist/chunks/{use-bento-toast-controller.BFctDoMg.js → use-bento-toast-controller.D_NSnBxi.js} +2 -2
- package/dist/chunks/{use-bento-toast-controller.BFctDoMg.js.map → use-bento-toast-controller.D_NSnBxi.js.map} +1 -1
- package/dist/chunks/use-cached-selected-values.ClEJRFAd.js +1631 -0
- package/dist/chunks/{use-cached-selected-values.C4_X3vVj.js.map → use-cached-selected-values.ClEJRFAd.js.map} +1 -1
- package/dist/chunks/use-country-items.D_3LBe2I.js +30 -0
- package/dist/chunks/{use-country-items.BTzByPdQ.js.map → use-country-items.D_3LBe2I.js.map} +1 -1
- package/dist/chunks/use-country-phon-code.DoqTGkNr.js +287 -0
- package/dist/chunks/use-country-phon-code.DoqTGkNr.js.map +1 -0
- package/dist/chunks/use-date-input-formatter.CDRzd-hW.js +1629 -0
- package/dist/chunks/{use-date-input-formatter.dtbK-CEy.js.map → use-date-input-formatter.CDRzd-hW.js.map} +1 -1
- package/dist/chunks/use-default-slot-validator.BzHcrgmy.js +12 -0
- package/dist/chunks/{use-default-slot-validator.O02rzsob.js.map → use-default-slot-validator.BzHcrgmy.js.map} +1 -1
- package/dist/chunks/use-expandable-content-height.B5jjRvCz.js +16 -0
- package/dist/chunks/{use-expandable-content-height.GkjjbmPy.js.map → use-expandable-content-height.B5jjRvCz.js.map} +1 -1
- package/dist/chunks/use-has-slot.CyMiImRQ.js +14 -0
- package/dist/chunks/{use-has-slot.B7eQSabc.js.map → use-has-slot.CyMiImRQ.js.map} +1 -1
- package/dist/chunks/utils.DWmc2mUI.js +19 -0
- package/dist/chunks/{utils.BzUwtTXc.js.map → utils.DWmc2mUI.js.map} +1 -1
- package/dist/chunks/{zh-CN.ChYkuQAR.js → zh-CN.Ce34mXsX.js} +28 -28
- package/dist/chunks/{zh-CN.ChYkuQAR.js.map → zh-CN.Ce34mXsX.js.map} +1 -1
- package/dist/click-outside.js +1 -1
- package/dist/code-snippet.js +1 -1
- package/dist/country.js +3 -3
- package/dist/currency.js +1 -1
- package/dist/dashboard-template.js +1 -1
- package/dist/dashed-underline.js +1 -1
- package/dist/data-grid-template.js +1 -1
- package/dist/data-grid.js +1 -1
- package/dist/date-picker.js +2 -2
- package/dist/date-range-picker.js +2 -2
- package/dist/date.js +1 -1
- package/dist/draggable-handle.js +4 -28
- package/dist/draggable-handle.js.map +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/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 +241 -241
- 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 +13 -13
- package/dist/layout.js +1 -1
- package/dist/link.js +1 -1
- package/dist/list.js +6 -0
- package/dist/list.js.map +1 -0
- 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/status.js +4 -3
- package/dist/status.js.map +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/use-form-v4.js +331 -341
- package/dist/use-form-v4.js.map +1 -1
- package/dist/web-types.json +1 -1
- package/package.json +7 -7
- package/dist/chunks/anchor-scroller.BctgW0se.js +0 -214
- package/dist/chunks/base-modal.gZAtk-xP.js +0 -443
- package/dist/chunks/button-actions-with-menu.Tba1ME79.js +0 -93
- package/dist/chunks/calendar.vM3abC8y.js +0 -1234
- package/dist/chunks/click-outside.CDz_x8mN.js +0 -23
- package/dist/chunks/constructNow.CIc7d13I.js +0 -8
- package/dist/chunks/country.types.BBQbWkTY.js +0 -773
- package/dist/chunks/dashboard-section.CgoLquLP.js +0 -165
- package/dist/chunks/dashed-underline.wbRHATeE.js +0 -114
- package/dist/chunks/data-grid-template.D40V1cmi.js +0 -144
- package/dist/chunks/data-grid.C2nCCbeC.js +0 -4368
- package/dist/chunks/date-picker.D5B_SECc.js +0 -251
- package/dist/chunks/date-range-picker.B0q7Z4df.js +0 -1084
- package/dist/chunks/differenceInMonths.CIYECBxK.js +0 -43
- package/dist/chunks/dropdown.CxjzXI-k.js +0 -837
- package/dist/chunks/filter-bar.DJ7O4zLX.js +0 -4036
- package/dist/chunks/filter-bar.DJ7O4zLX.js.map +0 -1
- package/dist/chunks/fixed-scroller.i1tmEmst.js +0 -161
- package/dist/chunks/get-slot-text.CQRAP2_q.js +0 -12
- package/dist/chunks/input-field-password.C_h61CMn.js +0 -402
- package/dist/chunks/isSameWeek.CzBCmu7d.js +0 -14
- package/dist/chunks/layout-row.Da8nkm9z.js +0 -100
- package/dist/chunks/link.DTCn2EtX.js +0 -116
- package/dist/chunks/on-click-outside.BW4rkhzG.js +0 -91
- package/dist/chunks/pagination.B32UgSoH.js +0 -488
- package/dist/chunks/pagination.B32UgSoH.js.map +0 -1
- package/dist/chunks/popover.types.DhALnOLQ.js +0 -6
- package/dist/chunks/selection-card-group.C7IK2Vl5.js +0 -417
- package/dist/chunks/startOfWeek.CXhhX-R7.js +0 -10
- package/dist/chunks/status.types.D3v3k-Q8.js +0 -44
- package/dist/chunks/status.types.D3v3k-Q8.js.map +0 -1
- package/dist/chunks/tab.DRrnMCxe.js +0 -273
- package/dist/chunks/textarea.CvI2InIB.js +0 -255
- package/dist/chunks/timeline-item.BooD99hL.js +0 -427
- package/dist/chunks/timeline-item.BooD99hL.js.map +0 -1
- package/dist/chunks/tooltip.Lwtlhv3u.js +0 -202
- package/dist/chunks/truncate.BfIl_-71.js +0 -8
- package/dist/chunks/use-cached-selected-values.C4_X3vVj.js +0 -1711
- package/dist/chunks/use-country-items.BTzByPdQ.js +0 -30
- package/dist/chunks/use-country-phon-code.Bui3zD6W.js +0 -5621
- package/dist/chunks/use-country-phon-code.Bui3zD6W.js.map +0 -1
- package/dist/chunks/use-date-input-formatter.dtbK-CEy.js +0 -1732
- package/dist/chunks/use-default-slot-validator.O02rzsob.js +0 -16
- package/dist/chunks/use-expandable-content-height.GkjjbmPy.js +0 -17
- package/dist/chunks/use-has-slot.B7eQSabc.js +0 -15
- package/dist/chunks/utils.BzUwtTXc.js +0 -21
|
@@ -1,69 +1,60 @@
|
|
|
1
|
-
import { defineComponent as
|
|
2
|
-
import { B as
|
|
3
|
-
import { B as
|
|
4
|
-
import { C as
|
|
5
|
-
import { C as
|
|
6
|
-
import { u as
|
|
7
|
-
import { u as
|
|
8
|
-
import { _ as
|
|
9
|
-
import { B as
|
|
10
|
-
import { C as
|
|
11
|
-
import { B as
|
|
12
|
-
import { a as
|
|
13
|
-
import { u as
|
|
14
|
-
import { o as
|
|
15
|
-
import { g as
|
|
16
|
-
import { C as
|
|
1
|
+
import { defineComponent as L, useSlots as X, computed as g, openBlock as l, createBlock as h, withModifiers as q, normalizeClass as F, createSlots as U, withCtx as b, renderSlot as N, unref as p, createElementVNode as K, createCommentVNode as k, mergeProps as G, renderList as Z, normalizeProps as Ee, guardReactiveProps as Le, resolveComponent as E, createVNode as B, createTextVNode as Y, toDisplayString as V, onMounted as Q, onUnmounted as fe, useAttrs as Se, inject as P, ref as v, toRefs as Te, Transition as me, createElementBlock as C, Teleport as Me, resolveDynamicComponent as H, toHandlers as ne, withKeys as T, Fragment as z, watch as pe, nextTick as x, toRef as ve, normalizeStyle as be, provide as we } from "vue";
|
|
2
|
+
import { B as $ } from "./button.DWF7FSIw.js";
|
|
3
|
+
import { B as Ne } from "./loading-indicator.BPol9I84.js";
|
|
4
|
+
import { C as Re } from "./cross-circle-fill.BWCKKn0E.js";
|
|
5
|
+
import { C as Ae } from "./checkmark-circle-fill.DugX5fbG.js";
|
|
6
|
+
import { u as oe } from "./use-has-slot.CyMiImRQ.js";
|
|
7
|
+
import { u as he } from "./index.B875RXHM.js";
|
|
8
|
+
import { _ as S } from "./_plugin-vue_export-helper.CHgC5LLL.js";
|
|
9
|
+
import { B as ye, D as De } from "./divider.BIY84UH7.js";
|
|
10
|
+
import { C as Pe } from "./cross.CCHdi6v3.js";
|
|
11
|
+
import { B as ge, c as ae, p as Fe } from "./typography.B3J6_tYk.js";
|
|
12
|
+
import { a as We, P as Ke, b as Ue } from "./popper-container.DMN8n5iC.js";
|
|
13
|
+
import { u as Ve } from "./aria-label.CaUURpnB.js";
|
|
14
|
+
import { o as je } from "./on-click-outside.ZUMLlxE_.js";
|
|
15
|
+
import { g as Ye } from "./generate-uid.DBWe4g6T.js";
|
|
16
|
+
import { C as Ge } from "./chevron-down.XeE-LBV_.js";
|
|
17
17
|
/* empty css */
|
|
18
|
-
import { a as
|
|
19
|
-
import { a as
|
|
20
|
-
import { t as
|
|
21
|
-
import { i as
|
|
22
|
-
import { o as
|
|
23
|
-
import { g as
|
|
18
|
+
import { a as Je, C as le } from "./chevron-left.C_vPW7OR.js";
|
|
19
|
+
import { a as re, B as He } from "./base-button.CvHl36Ue.js";
|
|
20
|
+
import { t as qe } from "./truncate.DmCXQmeb.js";
|
|
21
|
+
import { i as _e } from "./index.CWuzEfiV.js";
|
|
22
|
+
import { o as ze } from "./resize.Bqks3WUm.js";
|
|
23
|
+
import { g as Xe } from "./es6.C1DXQV6f.js";
|
|
24
24
|
import "../assets/button-actions.css";
|
|
25
|
-
var
|
|
26
|
-
const
|
|
27
|
-
"en-US": {
|
|
28
|
-
|
|
29
|
-
|
|
30
|
-
|
|
31
|
-
"ja-JP": {
|
|
32
|
-
failed: "失敗しました",
|
|
33
|
-
succeded: "成功"
|
|
34
|
-
},
|
|
35
|
-
"pt-BR": {
|
|
36
|
-
failed: "Falha",
|
|
37
|
-
succeded: "Bem-sucedido"
|
|
38
|
-
}
|
|
39
|
-
}, xe = {
|
|
25
|
+
var w = /* @__PURE__ */ ((e) => (e.START = "start", e.LOADING = "loading", e.SUCCESS = "success", e.FAIL = "fail", e))(w || {});
|
|
26
|
+
const Ce = {
|
|
27
|
+
"en-US": { failed: "Failed", succeded: "Succeded" },
|
|
28
|
+
"ja-JP": { failed: "失敗しました", succeded: "成功" },
|
|
29
|
+
"pt-BR": { failed: "Falha", succeded: "Bem-sucedido" }
|
|
30
|
+
}, Ze = {
|
|
40
31
|
class: "b-loading-button__icon",
|
|
41
32
|
"data-testid": "loading-button-rotating-icon"
|
|
42
|
-
},
|
|
43
|
-
i18n: { messages:
|
|
44
|
-
},
|
|
45
|
-
...
|
|
33
|
+
}, Qe = {
|
|
34
|
+
i18n: { messages: Ce }
|
|
35
|
+
}, xe = /* @__PURE__ */ L({
|
|
36
|
+
...Qe,
|
|
46
37
|
__name: "loading-button",
|
|
47
38
|
props: {
|
|
48
39
|
/**
|
|
49
40
|
* Reduces sizing of button
|
|
50
41
|
*/
|
|
51
42
|
condensed: {
|
|
52
|
-
type:
|
|
43
|
+
type: $.props.condensed.type,
|
|
53
44
|
default: !1
|
|
54
45
|
},
|
|
55
46
|
/**
|
|
56
47
|
* Displays loading-button as critical
|
|
57
48
|
*/
|
|
58
49
|
critical: {
|
|
59
|
-
type:
|
|
50
|
+
type: $.props.critical.type,
|
|
60
51
|
default: !1
|
|
61
52
|
},
|
|
62
53
|
/**
|
|
63
54
|
* Disables button functonality
|
|
64
55
|
*/
|
|
65
56
|
disabled: {
|
|
66
|
-
type:
|
|
57
|
+
type: $.props.disabled.type,
|
|
67
58
|
default: !1
|
|
68
59
|
},
|
|
69
60
|
/**
|
|
@@ -79,89 +70,89 @@ const ke = {
|
|
|
79
70
|
*/
|
|
80
71
|
state: {
|
|
81
72
|
type: String,
|
|
82
|
-
default:
|
|
83
|
-
validator: (e) => Object.values(
|
|
73
|
+
default: w.START,
|
|
74
|
+
validator: (e) => Object.values(w).includes(e)
|
|
84
75
|
},
|
|
85
76
|
/**
|
|
86
77
|
* Types of flavour of Button
|
|
87
78
|
*/
|
|
88
79
|
variant: {
|
|
89
|
-
type:
|
|
80
|
+
type: $.props.variant.type,
|
|
90
81
|
default: "primary",
|
|
91
|
-
validator:
|
|
82
|
+
validator: $.props.variant.validator
|
|
92
83
|
}
|
|
93
84
|
},
|
|
94
85
|
emits: ["click"],
|
|
95
86
|
setup(e, { emit: t }) {
|
|
96
|
-
const
|
|
97
|
-
[`b-loading-button--${
|
|
98
|
-
"b-loading-button--loading":
|
|
99
|
-
[`b-loading-button--${
|
|
100
|
-
"b-loading-button--inverse":
|
|
101
|
-
})), f =
|
|
102
|
-
() =>
|
|
103
|
-
), a =
|
|
104
|
-
() =>
|
|
105
|
-
),
|
|
106
|
-
|
|
87
|
+
const i = e, o = t, u = X(), m = oe(u), { t: r } = he({ messages: Ce }), c = g(() => ({
|
|
88
|
+
[`b-loading-button--${i.variant}-${w.LOADING}`]: i.state === w.LOADING && !i.disabled,
|
|
89
|
+
"b-loading-button--loading": i.state === w.LOADING && !i.disabled,
|
|
90
|
+
[`b-loading-button--${i.variant}-${w.SUCCESS}`]: i.state === w.SUCCESS,
|
|
91
|
+
"b-loading-button--inverse": i.inverse
|
|
92
|
+
})), f = g(
|
|
93
|
+
() => i.variant === "primary" && !i.inverse || i.variant !== "primary" && i.inverse
|
|
94
|
+
), a = g(
|
|
95
|
+
() => i.critical && i.state === w.START || i.state === w.FAIL
|
|
96
|
+
), s = (d) => {
|
|
97
|
+
d.stopPropagation(), i.state !== w.LOADING && o("click", d);
|
|
107
98
|
};
|
|
108
|
-
return (
|
|
99
|
+
return (d, n) => (l(), h($, {
|
|
109
100
|
critical: a.value,
|
|
110
101
|
variant: e.variant,
|
|
111
102
|
condensed: e.condensed,
|
|
112
103
|
disabled: e.disabled,
|
|
113
104
|
inverse: e.inverse,
|
|
114
|
-
class:
|
|
115
|
-
onClickCapture:
|
|
116
|
-
},
|
|
105
|
+
class: F(["b-loading-button", c.value]),
|
|
106
|
+
onClickCapture: q(s, ["stop"])
|
|
107
|
+
}, U({
|
|
117
108
|
default: b(() => [
|
|
118
|
-
|
|
109
|
+
N(d.$slots, "default", {}, void 0, !0)
|
|
119
110
|
]),
|
|
120
111
|
_: 2
|
|
121
112
|
}, [
|
|
122
113
|
e.state === "start" && p(m)("iconLeft") ? {
|
|
123
114
|
name: "iconLeft",
|
|
124
115
|
fn: b(() => [
|
|
125
|
-
|
|
116
|
+
N(d.$slots, "iconLeft", {}, void 0, !0)
|
|
126
117
|
]),
|
|
127
118
|
key: "0"
|
|
128
119
|
} : e.state !== "start" ? {
|
|
129
120
|
name: "iconLeft",
|
|
130
121
|
fn: b(() => [
|
|
131
|
-
|
|
132
|
-
e.state === "fail" ? (
|
|
122
|
+
K("span", Ze, [
|
|
123
|
+
e.state === "fail" ? (l(), h(p(Re), {
|
|
133
124
|
key: 0,
|
|
134
|
-
"svg-title": p(
|
|
135
|
-
}, null, 8, ["svg-title"])) : e.state === "success" ? (
|
|
125
|
+
"svg-title": p(r)("failed")
|
|
126
|
+
}, null, 8, ["svg-title"])) : e.state === "success" ? (l(), h(p(Ae), {
|
|
136
127
|
key: 1,
|
|
137
|
-
"svg-title": p(
|
|
138
|
-
}, null, 8, ["svg-title"])) : e.state === "loading" ? (
|
|
128
|
+
"svg-title": p(r)("succeded")
|
|
129
|
+
}, null, 8, ["svg-title"])) : e.state === "loading" ? (l(), h(p(Ne), {
|
|
139
130
|
key: 2,
|
|
140
131
|
small: "",
|
|
141
132
|
inverse: f.value
|
|
142
|
-
}, null, 8, ["inverse"])) :
|
|
133
|
+
}, null, 8, ["inverse"])) : k("", !0)
|
|
143
134
|
])
|
|
144
135
|
]),
|
|
145
136
|
key: "1"
|
|
146
137
|
} : void 0
|
|
147
138
|
]), 1032, ["critical", "variant", "condensed", "disabled", "inverse", "class"]));
|
|
148
139
|
}
|
|
149
|
-
}),
|
|
150
|
-
...
|
|
140
|
+
}), et = /* @__PURE__ */ S(xe, [["__scopeId", "data-v-e68a786b"]]), tt = {}, nt = /* @__PURE__ */ L({
|
|
141
|
+
...tt,
|
|
151
142
|
__name: "toggle-button",
|
|
152
143
|
props: {
|
|
153
144
|
/**
|
|
154
145
|
* Reduces sizing of button
|
|
155
146
|
*/
|
|
156
147
|
condensed: {
|
|
157
|
-
type:
|
|
148
|
+
type: $.props.condensed.type,
|
|
158
149
|
default: !1
|
|
159
150
|
},
|
|
160
151
|
/**
|
|
161
152
|
* Disables button functonality
|
|
162
153
|
*/
|
|
163
154
|
disabled: {
|
|
164
|
-
type:
|
|
155
|
+
type: $.props.disabled.type,
|
|
165
156
|
default: !1
|
|
166
157
|
},
|
|
167
158
|
/**
|
|
@@ -176,9 +167,9 @@ const ke = {
|
|
|
176
167
|
* @values primary, secondary, tertiary
|
|
177
168
|
*/
|
|
178
169
|
variant: {
|
|
179
|
-
type:
|
|
170
|
+
type: $.props.variant.type,
|
|
180
171
|
default: "primary",
|
|
181
|
-
validator:
|
|
172
|
+
validator: $.props.variant.validator
|
|
182
173
|
},
|
|
183
174
|
/**
|
|
184
175
|
* The state of the button whether it is toggled or not.
|
|
@@ -190,36 +181,36 @@ const ke = {
|
|
|
190
181
|
},
|
|
191
182
|
emits: ["click", "update:toggled"],
|
|
192
183
|
setup(e, { emit: t }) {
|
|
193
|
-
const
|
|
194
|
-
() =>
|
|
195
|
-
), m =
|
|
196
|
-
"b-toggle-button--condensed":
|
|
197
|
-
[`b-toggle-button--${
|
|
198
|
-
"b-toggle-button--inverse":
|
|
199
|
-
})),
|
|
200
|
-
a.stopPropagation(),
|
|
201
|
-
}, c =
|
|
202
|
-
return (a,
|
|
184
|
+
const i = e, o = t, u = g(
|
|
185
|
+
() => i.variant === "tertiary" ? "tertiary-with-background" : i.variant
|
|
186
|
+
), m = g(() => ({
|
|
187
|
+
"b-toggle-button--condensed": i?.condensed,
|
|
188
|
+
[`b-toggle-button--${u.value}-toggled`]: i.toggled,
|
|
189
|
+
"b-toggle-button--inverse": i.inverse
|
|
190
|
+
})), r = (a) => {
|
|
191
|
+
a.stopPropagation(), i?.disabled || (o("click", a), o("update:toggled", !i.toggled));
|
|
192
|
+
}, c = X(), f = (a) => ({ key: a });
|
|
193
|
+
return (a, s) => (l(), h($, G({ class: "b-toggle-button" }, a.$attrs, {
|
|
203
194
|
"aria-expanded": `${e.toggled}`,
|
|
204
195
|
"aria-pressed": `${e.toggled}`,
|
|
205
196
|
condensed: e.condensed,
|
|
206
197
|
class: m.value,
|
|
207
198
|
disabled: e.disabled,
|
|
208
199
|
inverse: e.inverse,
|
|
209
|
-
variant:
|
|
210
|
-
onClickCapture:
|
|
211
|
-
}),
|
|
212
|
-
|
|
200
|
+
variant: u.value,
|
|
201
|
+
onClickCapture: q(r, ["stop"])
|
|
202
|
+
}), U({ _: 2 }, [
|
|
203
|
+
Z(p(c), (d, n) => ({
|
|
213
204
|
name: n,
|
|
214
205
|
fn: b(() => [
|
|
215
|
-
|
|
206
|
+
N(a.$slots, n, Ee(Le(f(n))), void 0, !0)
|
|
216
207
|
])
|
|
217
208
|
}))
|
|
218
209
|
]), 1040, ["aria-expanded", "aria-pressed", "condensed", "class", "disabled", "inverse", "variant"]));
|
|
219
210
|
}
|
|
220
|
-
}),
|
|
211
|
+
}), ot = /* @__PURE__ */ S(nt, [["__scopeId", "data-v-f1b10e5f"]]), st = L({
|
|
221
212
|
name: "bento-popover-dismiss-button",
|
|
222
|
-
components: { BentoButton:
|
|
213
|
+
components: { BentoButton: $, CrossIcon: Pe },
|
|
223
214
|
props: {
|
|
224
215
|
onImage: {
|
|
225
216
|
type: Boolean,
|
|
@@ -229,25 +220,25 @@ const ke = {
|
|
|
229
220
|
setup(e) {
|
|
230
221
|
return {
|
|
231
222
|
// Values
|
|
232
|
-
conditionalClass:
|
|
223
|
+
conditionalClass: g(() => ({ "b-popover-dismiss-button--on-image": e.onImage }))
|
|
233
224
|
};
|
|
234
225
|
}
|
|
235
226
|
});
|
|
236
|
-
function
|
|
237
|
-
const
|
|
238
|
-
return
|
|
239
|
-
class:
|
|
227
|
+
function it(e, t, i, o, u, m) {
|
|
228
|
+
const r = E("cross-icon"), c = E("bento-button");
|
|
229
|
+
return l(), h(c, {
|
|
230
|
+
class: F(e.conditionalClass),
|
|
240
231
|
variant: "tertiary",
|
|
241
232
|
onClick: t[0] || (t[0] = (f) => e.$emit("click"))
|
|
242
233
|
}, {
|
|
243
234
|
iconLeft: b(() => [
|
|
244
|
-
|
|
235
|
+
B(r, { "svg-title": "dismiss" })
|
|
245
236
|
]),
|
|
246
237
|
_: 1
|
|
247
238
|
}, 8, ["class"]);
|
|
248
239
|
}
|
|
249
|
-
const
|
|
250
|
-
components: { BentoTypography:
|
|
240
|
+
const ue = /* @__PURE__ */ S(st, [["render", it], ["__scopeId", "data-v-424ecdaa"]]), at = L({
|
|
241
|
+
components: { BentoTypography: ge },
|
|
251
242
|
props: {
|
|
252
243
|
/**
|
|
253
244
|
* Indicates if the popover contains an image.
|
|
@@ -259,50 +250,50 @@ const ce = /* @__PURE__ */ M(at, [["render", lt], ["__scopeId", "data-v-424ecdaa
|
|
|
259
250
|
title: { type: String, default: null }
|
|
260
251
|
},
|
|
261
252
|
setup(e) {
|
|
262
|
-
const t =
|
|
263
|
-
() => e.isImageTitle ?
|
|
253
|
+
const t = g(() => !e.isImageTitle), i = g(
|
|
254
|
+
() => e.isImageTitle ? ae.SUBTITLE : ae.BODY
|
|
264
255
|
);
|
|
265
256
|
return {
|
|
266
257
|
// Values
|
|
267
258
|
isStrongest: t,
|
|
268
|
-
titleVariant:
|
|
259
|
+
titleVariant: i
|
|
269
260
|
};
|
|
270
261
|
}
|
|
271
262
|
});
|
|
272
|
-
function
|
|
273
|
-
const
|
|
274
|
-
return
|
|
263
|
+
function lt(e, t, i, o, u, m) {
|
|
264
|
+
const r = E("bento-typography");
|
|
265
|
+
return l(), h(r, {
|
|
275
266
|
strongest: e.isStrongest,
|
|
276
267
|
variant: e.titleVariant,
|
|
277
268
|
el: "span"
|
|
278
269
|
}, {
|
|
279
270
|
default: b(() => [
|
|
280
|
-
|
|
271
|
+
Y(V(e.title), 1)
|
|
281
272
|
]),
|
|
282
273
|
_: 1
|
|
283
274
|
}, 8, ["strongest", "variant"]);
|
|
284
275
|
}
|
|
285
|
-
const
|
|
276
|
+
const rt = /* @__PURE__ */ S(at, [["render", lt]]), ut = (e, t, i = {}) => {
|
|
286
277
|
let o;
|
|
287
|
-
|
|
288
|
-
o =
|
|
289
|
-
}),
|
|
278
|
+
Q(() => {
|
|
279
|
+
o = je(e, t, i);
|
|
280
|
+
}), fe(() => {
|
|
290
281
|
o && (o(), o = null);
|
|
291
282
|
});
|
|
292
|
-
},
|
|
283
|
+
}, dt = /* @__PURE__ */ Symbol("input field popover injection key"), ct = /* @__PURE__ */ Symbol("input field popover injection key"), ft = /* @__PURE__ */ Symbol("popover offset injection key"), mt = {
|
|
293
284
|
key: 0,
|
|
294
285
|
class: "b-popover__image"
|
|
295
|
-
},
|
|
286
|
+
}, pt = {
|
|
296
287
|
key: 0,
|
|
297
288
|
class: "b-popover__image-dismiss-button"
|
|
298
|
-
},
|
|
289
|
+
}, vt = {
|
|
299
290
|
key: 1,
|
|
300
291
|
class: "b-popover__header"
|
|
301
|
-
},
|
|
292
|
+
}, bt = { class: "b-popover__header-title" }, ht = { key: 0 }, yt = {
|
|
302
293
|
key: 3,
|
|
303
294
|
class: "b-popover__footer"
|
|
304
|
-
},
|
|
305
|
-
...
|
|
295
|
+
}, gt = {}, _t = /* @__PURE__ */ L({
|
|
296
|
+
...gt,
|
|
306
297
|
__name: "popover",
|
|
307
298
|
props: {
|
|
308
299
|
actions: { default: void 0 },
|
|
@@ -328,88 +319,85 @@ const dt = /* @__PURE__ */ M(rt, [["render", ut]]), ct = (e, t, s = {}) => {
|
|
|
328
319
|
},
|
|
329
320
|
emits: ["dismiss", "placement"],
|
|
330
321
|
setup(e, { emit: t }) {
|
|
331
|
-
const o = e,
|
|
332
|
-
|
|
333
|
-
|
|
334
|
-
|
|
335
|
-
role: (u == null ? void 0 : u.role) === null ? void 0 : Ue.POPOVER
|
|
336
|
-
};
|
|
337
|
-
}), f = W(pt, 2), a = v(u["aria-label"]), { ariaLabel: i, title: l } = Me(o), n = Ye({
|
|
322
|
+
const o = e, u = t, m = X(), r = Se(), c = g(() => ({
|
|
323
|
+
id: r.id?.toString(),
|
|
324
|
+
role: r?.role === null ? void 0 : We.POPOVER
|
|
325
|
+
})), f = P(ft, 2), a = v(r["aria-label"]), { ariaLabel: s, title: d } = Te(o), n = Ve({
|
|
338
326
|
ariaLabel: a.value,
|
|
339
327
|
// TODO: take this line away when the aria-label props is removed
|
|
340
|
-
label:
|
|
341
|
-
defaultFallback:
|
|
342
|
-
}),
|
|
328
|
+
label: s,
|
|
329
|
+
defaultFallback: d
|
|
330
|
+
}), I = P(ct, !1) || P(dt, !1), O = g(() => ({
|
|
343
331
|
"b-popover--small": o.small && !o.large,
|
|
344
332
|
"b-popover--with-divider": !!o.divider,
|
|
345
333
|
"b-popover--large": o.large && !o.small,
|
|
346
334
|
"b-popover--fit-content": o.fitContent,
|
|
347
335
|
"b-popover--without-space": o.withoutSpace,
|
|
348
|
-
"b-popover--overflow-visible": o.overflowVisible ||
|
|
349
|
-
})),
|
|
336
|
+
"b-popover--overflow-visible": o.overflowVisible || I
|
|
337
|
+
})), W = g(() => ({
|
|
350
338
|
"b-popover__content--with-title": !!o.title
|
|
351
|
-
})),
|
|
352
|
-
return (
|
|
339
|
+
})), j = () => u("dismiss"), R = oe(m);
|
|
340
|
+
return (_, A) => (l(), h(me, { name: "b-popover__animation" }, {
|
|
353
341
|
default: b(() => [
|
|
354
|
-
|
|
342
|
+
_.open ? (l(), h(p(Ke), {
|
|
355
343
|
key: 0,
|
|
356
344
|
id: c.value.id,
|
|
357
345
|
"aria-role": c.value.role,
|
|
358
346
|
"aria-label": p(n),
|
|
359
347
|
arrow: { classes: ["b-popover__arrow"] },
|
|
360
|
-
"disabled-focus-trap":
|
|
361
|
-
"trap-all":
|
|
362
|
-
"trap-all-options":
|
|
363
|
-
class:
|
|
364
|
-
"fallback-position":
|
|
365
|
-
"fixed-positioning":
|
|
348
|
+
"disabled-focus-trap": _.disableFocusTrap,
|
|
349
|
+
"trap-all": _.trapAll,
|
|
350
|
+
"trap-all-options": _.trapAllOptions,
|
|
351
|
+
class: F([O.value, "b-popover"]),
|
|
352
|
+
"fallback-position": _.fallbackPosition,
|
|
353
|
+
"fixed-positioning": _.fixedPositioning,
|
|
366
354
|
offset: [0, p(f)],
|
|
367
|
-
position:
|
|
368
|
-
"target-element":
|
|
369
|
-
onPlacement:
|
|
355
|
+
position: _.position,
|
|
356
|
+
"target-element": _.targetElement,
|
|
357
|
+
onPlacement: A[0] || (A[0] = (J) => _.$emit("placement", J))
|
|
370
358
|
}, {
|
|
371
359
|
default: b(() => [
|
|
372
|
-
p(
|
|
373
|
-
|
|
374
|
-
|
|
360
|
+
p(R)("image") ? (l(), C("div", mt, [
|
|
361
|
+
_.dismissible ? (l(), C("div", pt, [
|
|
362
|
+
B(ue, {
|
|
375
363
|
"on-image": "",
|
|
376
|
-
onClick:
|
|
364
|
+
onClick: j
|
|
377
365
|
})
|
|
378
|
-
])) :
|
|
379
|
-
|
|
380
|
-
])) :
|
|
381
|
-
p(
|
|
382
|
-
|
|
383
|
-
p(
|
|
384
|
-
|
|
385
|
-
title: p(
|
|
386
|
-
"is-image-title": !!p(
|
|
366
|
+
])) : k("", !0),
|
|
367
|
+
N(_.$slots, "image", {}, void 0, !0)
|
|
368
|
+
])) : k("", !0),
|
|
369
|
+
p(d) ? (l(), C("div", vt, [
|
|
370
|
+
K("div", bt, [
|
|
371
|
+
p(R)("headerIcon") ? N(_.$slots, "headerIcon", { key: 0 }, void 0, !0) : k("", !0),
|
|
372
|
+
B(rt, {
|
|
373
|
+
title: p(d),
|
|
374
|
+
"is-image-title": !!p(R)("image")
|
|
387
375
|
}, null, 8, ["title", "is-image-title"])
|
|
388
376
|
]),
|
|
389
|
-
|
|
390
|
-
|
|
391
|
-
])) :
|
|
392
|
-
])) :
|
|
393
|
-
p(
|
|
377
|
+
_.dismissible && !p(R)("image") ? (l(), C("div", ht, [
|
|
378
|
+
B(ue, { onClick: j })
|
|
379
|
+
])) : k("", !0)
|
|
380
|
+
])) : k("", !0),
|
|
381
|
+
p(R)("default") ? (l(), C("div", {
|
|
394
382
|
key: 2,
|
|
395
|
-
class:
|
|
383
|
+
class: F(["b-popover__content", W.value])
|
|
396
384
|
}, [
|
|
397
|
-
|
|
398
|
-
], 2)) :
|
|
399
|
-
|
|
400
|
-
|
|
401
|
-
actions:
|
|
402
|
-
layout:
|
|
385
|
+
N(_.$slots, "default", {}, void 0, !0)
|
|
386
|
+
], 2)) : k("", !0),
|
|
387
|
+
_.actions ? (l(), C("div", yt, [
|
|
388
|
+
B(en, {
|
|
389
|
+
actions: _.actions,
|
|
390
|
+
layout: _.actionsLayout
|
|
403
391
|
}, null, 8, ["actions", "layout"])
|
|
404
|
-
])) :
|
|
392
|
+
])) : k("", !0)
|
|
405
393
|
]),
|
|
406
394
|
_: 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"])) :
|
|
395
|
+
}, 8, ["id", "aria-role", "aria-label", "disabled-focus-trap", "trap-all", "trap-all-options", "class", "fallback-position", "fixed-positioning", "offset", "position", "target-element"])) : k("", !0)
|
|
408
396
|
]),
|
|
409
397
|
_: 3
|
|
410
398
|
}));
|
|
411
399
|
}
|
|
412
|
-
}),
|
|
400
|
+
}), Ct = /* @__PURE__ */ S(_t, [["__scopeId", "data-v-84ebb43a"]]), It = /* @__PURE__ */ Symbol("modal injection key"), kt = /* @__PURE__ */ Symbol("sidepanel children element injection key"), Ot = /* @__PURE__ */ Symbol("modal fullscreen children element injection key"), $n = /* @__PURE__ */ Symbol("modal fullscreen title id injection key"), En = /* @__PURE__ */ Symbol("modal fullscreen close injection key"), Bt = L({
|
|
413
401
|
name: "teleport",
|
|
414
402
|
props: {
|
|
415
403
|
to: {
|
|
@@ -428,7 +416,7 @@ const dt = /* @__PURE__ */ M(rt, [["render", ut]]), ct = (e, t, s = {}) => {
|
|
|
428
416
|
waiting: !1,
|
|
429
417
|
observer: null,
|
|
430
418
|
parent: null,
|
|
431
|
-
isVue2:
|
|
419
|
+
isVue2: _e
|
|
432
420
|
}),
|
|
433
421
|
computed: {
|
|
434
422
|
classes() {
|
|
@@ -437,7 +425,7 @@ const dt = /* @__PURE__ */ M(rt, [["render", ut]]), ct = (e, t, s = {}) => {
|
|
|
437
425
|
defaultTo() {
|
|
438
426
|
if (this.to)
|
|
439
427
|
return this.to;
|
|
440
|
-
const e =
|
|
428
|
+
const e = P(It, "") || P(Ot, "") || P(kt, "");
|
|
441
429
|
return e ? `#${e}` : "body";
|
|
442
430
|
}
|
|
443
431
|
},
|
|
@@ -478,11 +466,11 @@ const dt = /* @__PURE__ */ M(rt, [["render", ut]]), ct = (e, t, s = {}) => {
|
|
|
478
466
|
},
|
|
479
467
|
onMutations(e) {
|
|
480
468
|
let t = !1;
|
|
481
|
-
for (let
|
|
482
|
-
const o = e[
|
|
469
|
+
for (let i = 0; i < e.length; i++) {
|
|
470
|
+
const o = e[i], u = Array.from(o.addedNodes).filter(
|
|
483
471
|
(m) => !this.nodes.includes(m)
|
|
484
472
|
);
|
|
485
|
-
Array.from(o.removedNodes).includes(this.parent) ? (this.disable(), this.waiting = !this.disabled) : this.waiting &&
|
|
473
|
+
Array.from(o.removedNodes).includes(this.parent) ? (this.disable(), this.waiting = !this.disabled) : this.waiting && u.length > 0 && (t = !0);
|
|
486
474
|
}
|
|
487
475
|
t && this.move();
|
|
488
476
|
},
|
|
@@ -493,7 +481,7 @@ const dt = /* @__PURE__ */ M(rt, [["render", ut]]), ct = (e, t, s = {}) => {
|
|
|
493
481
|
attributes: !1,
|
|
494
482
|
characterData: !1
|
|
495
483
|
}), !this.childObserver && (this.childObserver = new MutationObserver((e) => {
|
|
496
|
-
e.find((
|
|
484
|
+
e.find((i) => i.target === this.$el) && (this.nodes.forEach((i) => i.parentNode && i.parentNode.removeChild(i)), this.nodes = this.getComponentChildrenNode(), this.maybeMove());
|
|
497
485
|
}), this.childObserver.observe(this.$el, {
|
|
498
486
|
childList: !0,
|
|
499
487
|
subtree: !1,
|
|
@@ -508,57 +496,57 @@ const dt = /* @__PURE__ */ M(rt, [["render", ut]]), ct = (e, t, s = {}) => {
|
|
|
508
496
|
return [];
|
|
509
497
|
}
|
|
510
498
|
}
|
|
511
|
-
}),
|
|
512
|
-
...
|
|
499
|
+
}), $t = /* @__PURE__ */ L({
|
|
500
|
+
...Bt,
|
|
513
501
|
setup(e) {
|
|
514
|
-
return (t,
|
|
502
|
+
return (t, i) => p(_e) ? (l(), C("div", {
|
|
515
503
|
key: 0,
|
|
516
|
-
class:
|
|
504
|
+
class: F(t.classes)
|
|
517
505
|
}, [
|
|
518
|
-
|
|
519
|
-
], 2)) : (
|
|
506
|
+
N(t.$slots, "default", {}, void 0, !0)
|
|
507
|
+
], 2)) : (l(), h(Me, {
|
|
520
508
|
key: 1,
|
|
521
509
|
to: t.defaultTo,
|
|
522
510
|
where: t.where,
|
|
523
511
|
disabled: t.disabled,
|
|
524
|
-
class:
|
|
512
|
+
class: F(t.classes)
|
|
525
513
|
}, [
|
|
526
|
-
|
|
514
|
+
N(t.$slots, "default", {}, void 0, !0)
|
|
527
515
|
], 8, ["to", "where", "disabled", "class"]));
|
|
528
516
|
}
|
|
529
|
-
}),
|
|
530
|
-
let
|
|
531
|
-
const
|
|
517
|
+
}), Et = /* @__PURE__ */ S($t, [["__scopeId", "data-v-acbda3aa"]]);
|
|
518
|
+
let de = 0;
|
|
519
|
+
const Lt = {
|
|
532
520
|
beforeCreate() {
|
|
533
|
-
this.uuid =
|
|
521
|
+
this.uuid = de.toString(), de += 1;
|
|
534
522
|
}
|
|
535
|
-
},
|
|
536
|
-
function
|
|
537
|
-
return
|
|
523
|
+
}, St = { key: 0 };
|
|
524
|
+
function Tt(e, t, i, o, u, m) {
|
|
525
|
+
return l(), C("svg", G({ role: "img" }, e.$attrs, {
|
|
538
526
|
class: "ui-assets-icons-16",
|
|
539
527
|
xmlns: "http://www.w3.org/2000/svg",
|
|
540
528
|
width: "16",
|
|
541
529
|
height: "16",
|
|
542
530
|
fill: "none"
|
|
543
531
|
}), [
|
|
544
|
-
e.$attrs["svg-title"] ? (
|
|
545
|
-
t[0] || (t[0] =
|
|
532
|
+
e.$attrs["svg-title"] ? (l(), C("title", St, V(e.$attrs["svg-title"]), 1)) : k("", !0),
|
|
533
|
+
t[0] || (t[0] = K("path", {
|
|
546
534
|
fill: "#001222",
|
|
547
535
|
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"
|
|
548
536
|
}, null, -1)),
|
|
549
|
-
t[1] || (t[1] =
|
|
537
|
+
t[1] || (t[1] = K("path", {
|
|
550
538
|
fill: "#001222",
|
|
551
539
|
d: "M8 15C8.29667 15 8.58668 14.912 8.83335 14.7472C9.08003 14.5824 9.27229 14.3481 9.38582 14.074C9.49935 13.7999 9.52906 13.4983 9.47118 13.2074C9.4133 12.9164 9.27044 12.6491 9.06066 12.4393C8.85088 12.2296 8.58361 12.0867 8.29264 12.0288C8.00167 11.9709 7.70006 12.0007 7.42598 12.1142C7.15189 12.2277 6.91762 12.42 6.7528 12.6666C6.58797 12.9133 6.5 13.2033 6.5 13.5C6.5 13.8978 6.65803 14.2794 6.93934 14.5607C7.22064 14.842 7.60218 15 8 15Z"
|
|
552
540
|
}, null, -1)),
|
|
553
|
-
t[2] || (t[2] =
|
|
541
|
+
t[2] || (t[2] = K("path", {
|
|
554
542
|
fill: "#001222",
|
|
555
543
|
d: "M8.83335 9.24721C8.58668 9.41203 8.29667 9.5 8 9.5C7.60218 9.5 7.22064 9.34197 6.93934 9.06066C6.65803 8.77936 6.5 8.39783 6.5 8C6.5 7.70333 6.58797 7.41332 6.7528 7.16665C6.91762 6.91997 7.15189 6.72771 7.42598 6.61418C7.70006 6.50065 8.00167 6.47094 8.29264 6.52882C8.58361 6.5867 8.85088 6.72956 9.06066 6.93934C9.27044 7.14912 9.4133 7.41639 9.47118 7.70737C9.52906 7.99834 9.49935 8.29994 9.38582 8.57403C9.27229 8.84811 9.08003 9.08238 8.83335 9.24721Z"
|
|
556
544
|
}, null, -1))
|
|
557
545
|
], 16);
|
|
558
546
|
}
|
|
559
|
-
const
|
|
547
|
+
const Mt = /* @__PURE__ */ S(Lt, [["render", Tt]]), wt = L({
|
|
560
548
|
name: "menu-item",
|
|
561
|
-
components: { BaseButton:
|
|
549
|
+
components: { BaseButton: He, BentoTypography: ge, ChevronRightIcon: Je },
|
|
562
550
|
props: {
|
|
563
551
|
/**
|
|
564
552
|
* menu-item text that gets displayed as the main label
|
|
@@ -626,62 +614,62 @@ const Nt = /* @__PURE__ */ M(Tt, [["render", Mt]]), At = w({
|
|
|
626
614
|
default: !1
|
|
627
615
|
}
|
|
628
616
|
},
|
|
629
|
-
emits: [
|
|
617
|
+
emits: [re.CLICK],
|
|
630
618
|
setup(e, { emit: t }) {
|
|
631
|
-
const o =
|
|
619
|
+
const o = g(() => ({
|
|
632
620
|
"b-menu-item--critical": e.critical,
|
|
633
621
|
"b-menu-item--indent": e.indent
|
|
634
|
-
})),
|
|
622
|
+
})), u = g(() => qe(e.secondaryText, 10));
|
|
635
623
|
return {
|
|
636
624
|
// Values
|
|
637
625
|
conditionalClasses: o,
|
|
638
|
-
computedSecondaryText:
|
|
626
|
+
computedSecondaryText: u,
|
|
639
627
|
// Methods
|
|
640
|
-
onClick: (
|
|
641
|
-
|
|
628
|
+
onClick: (r) => {
|
|
629
|
+
r.stopPropagation(), e.handler(), t(re.CLICK);
|
|
642
630
|
}
|
|
643
631
|
};
|
|
644
632
|
}
|
|
645
633
|
});
|
|
646
|
-
function
|
|
647
|
-
const
|
|
648
|
-
return
|
|
649
|
-
class:
|
|
634
|
+
function Nt(e, t, i, o, u, m) {
|
|
635
|
+
const r = E("bento-typography"), c = E("chevron-right-icon"), f = E("base-button");
|
|
636
|
+
return l(), h(f, {
|
|
637
|
+
class: F(["b-menu-item", e.conditionalClasses]),
|
|
650
638
|
role: "menuitem",
|
|
651
639
|
disabled: e.disabled,
|
|
652
640
|
tabindex: "-1",
|
|
653
641
|
onClick: e.onClick
|
|
654
|
-
},
|
|
642
|
+
}, U({
|
|
655
643
|
default: b(() => [
|
|
656
|
-
|
|
644
|
+
B(r, {
|
|
657
645
|
el: "span",
|
|
658
646
|
variant: "body",
|
|
659
647
|
stronger: e.isTitle,
|
|
660
648
|
class: "b-menu-item__primary-text"
|
|
661
649
|
}, {
|
|
662
650
|
default: b(() => [
|
|
663
|
-
|
|
651
|
+
Y(V(e.text), 1)
|
|
664
652
|
]),
|
|
665
653
|
_: 1
|
|
666
654
|
}, 8, ["stronger"]),
|
|
667
|
-
e.computedSecondaryText ? (
|
|
655
|
+
e.computedSecondaryText ? (l(), h(r, {
|
|
668
656
|
key: 0,
|
|
669
657
|
el: "span",
|
|
670
658
|
variant: "body",
|
|
671
659
|
class: "b-menu-item__secondary-text"
|
|
672
660
|
}, {
|
|
673
661
|
default: b(() => [
|
|
674
|
-
|
|
662
|
+
Y(V(e.computedSecondaryText), 1)
|
|
675
663
|
]),
|
|
676
664
|
_: 1
|
|
677
|
-
})) :
|
|
665
|
+
})) : k("", !0)
|
|
678
666
|
]),
|
|
679
667
|
_: 2
|
|
680
668
|
}, [
|
|
681
669
|
e.icon ? {
|
|
682
670
|
name: "iconLeft",
|
|
683
671
|
fn: b(() => [
|
|
684
|
-
(
|
|
672
|
+
(l(), h(H(e.icon), {
|
|
685
673
|
class: "b-menu-item__icon-left",
|
|
686
674
|
"aria-hidden": "true"
|
|
687
675
|
}))
|
|
@@ -691,53 +679,44 @@ function Rt(e, t, s, o, d, m) {
|
|
|
691
679
|
e.chevron ? {
|
|
692
680
|
name: "iconRight",
|
|
693
681
|
fn: b(() => [
|
|
694
|
-
|
|
682
|
+
B(c, { "aria-hidden": "true" })
|
|
695
683
|
]),
|
|
696
684
|
key: "1"
|
|
697
685
|
} : void 0
|
|
698
686
|
]), 1032, ["class", "disabled", "onClick"]);
|
|
699
687
|
}
|
|
700
|
-
const
|
|
701
|
-
({ ...
|
|
702
|
-
var
|
|
703
|
-
const
|
|
688
|
+
const Ie = /* @__PURE__ */ S(wt, [["render", Nt], ["__scopeId", "data-v-9dace5ac"]]);
|
|
689
|
+
({ ...Ue });
|
|
690
|
+
var D = /* @__PURE__ */ ((e) => (e.BACK = "back", e.CLOSE = "close", e.OPEN = "open", e))(D || {});
|
|
691
|
+
const Rt = /* @__PURE__ */ Symbol("menu registering injection key"), At = {
|
|
704
692
|
name: "bento-menu-list-container"
|
|
705
|
-
},
|
|
706
|
-
...
|
|
693
|
+
}, Dt = /* @__PURE__ */ L({
|
|
694
|
+
...At,
|
|
707
695
|
setup(e) {
|
|
708
|
-
const t = v(),
|
|
696
|
+
const t = v(), i = v({}), o = P(Rt, !1);
|
|
709
697
|
if (o) {
|
|
710
|
-
const { registerMenuContainerElement:
|
|
711
|
-
|
|
712
|
-
mouseleave: o
|
|
698
|
+
const { registerMenuContainerElement: u } = o;
|
|
699
|
+
u(t), i.value = {
|
|
700
|
+
mouseleave: o?.menuMouseLeave
|
|
713
701
|
};
|
|
714
702
|
}
|
|
715
|
-
return (
|
|
703
|
+
return (u, m) => (l(), C("div", G({
|
|
716
704
|
ref_key: "menuListContainerRef",
|
|
717
705
|
ref: t,
|
|
718
706
|
class: "b-menu-list-container",
|
|
719
707
|
"data-testid": "menu-list-container"
|
|
720
|
-
},
|
|
721
|
-
|
|
708
|
+
}, ne(i.value, !0)), [
|
|
709
|
+
N(u.$slots, "default", {}, void 0, !0)
|
|
722
710
|
], 16));
|
|
723
711
|
}
|
|
724
|
-
}),
|
|
725
|
-
"en-US": {
|
|
726
|
-
|
|
727
|
-
|
|
728
|
-
|
|
729
|
-
|
|
730
|
-
backButton: "戻る",
|
|
731
|
-
menuButton: "メニューを開く"
|
|
732
|
-
},
|
|
733
|
-
"pt-BR": {
|
|
734
|
-
backButton: "voltar",
|
|
735
|
-
menuButton: "Abrir menu"
|
|
736
|
-
}
|
|
737
|
-
}, Kt = w({
|
|
738
|
-
i18n: { messages: le },
|
|
712
|
+
}), ke = /* @__PURE__ */ S(Dt, [["__scopeId", "data-v-9ef14d73"]]), se = {
|
|
713
|
+
"en-US": { backButton: "Go back", menuButton: "Open menu" },
|
|
714
|
+
"ja-JP": { backButton: "戻る", menuButton: "メニューを開く" },
|
|
715
|
+
"pt-BR": { backButton: "voltar", menuButton: "Abrir menu" }
|
|
716
|
+
}, Pt = L({
|
|
717
|
+
i18n: { messages: se },
|
|
739
718
|
name: "sub-menu-item-list",
|
|
740
|
-
components: { BentoDivider:
|
|
719
|
+
components: { BentoDivider: ye, MenuItem: Ie, MenuListContainer: ke },
|
|
741
720
|
props: {
|
|
742
721
|
items: {
|
|
743
722
|
type: Array,
|
|
@@ -748,13 +727,12 @@ const Dt = /* @__PURE__ */ Symbol("menu registering injection key"), Pt = {
|
|
|
748
727
|
required: !0
|
|
749
728
|
}
|
|
750
729
|
},
|
|
751
|
-
emits: [
|
|
730
|
+
emits: [D.CLOSE, D.BACK],
|
|
752
731
|
setup(e, { emit: t }) {
|
|
753
|
-
const
|
|
754
|
-
|
|
755
|
-
|
|
756
|
-
|
|
757
|
-
indent: !h.icon,
|
|
732
|
+
const i = v(null), o = v(0), u = v(e.items.length), m = () => t(D.CLOSE), r = () => t(D.BACK), c = g(() => {
|
|
733
|
+
const d = e.items?.map((n) => ({
|
|
734
|
+
...n,
|
|
735
|
+
indent: !n.icon,
|
|
758
736
|
isTitle: !1,
|
|
759
737
|
clickHandler: m
|
|
760
738
|
}));
|
|
@@ -763,68 +741,67 @@ const Dt = /* @__PURE__ */ Symbol("menu registering injection key"), Pt = {
|
|
|
763
741
|
text: e.title,
|
|
764
742
|
secondaryText: null,
|
|
765
743
|
critical: !1,
|
|
766
|
-
icon:
|
|
744
|
+
icon: le,
|
|
767
745
|
isTitle: !0,
|
|
768
746
|
disabled: !1,
|
|
769
747
|
indent: !1,
|
|
770
|
-
handler:
|
|
771
|
-
clickHandler:
|
|
748
|
+
handler: r,
|
|
749
|
+
clickHandler: r,
|
|
772
750
|
addDivider: !0
|
|
773
751
|
},
|
|
774
|
-
...
|
|
752
|
+
...d
|
|
775
753
|
];
|
|
776
754
|
}), f = async () => {
|
|
777
|
-
|
|
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();
|
|
755
|
+
i.value?.children?.[o.value]?.children?.[0]?.focus();
|
|
779
756
|
};
|
|
780
|
-
|
|
757
|
+
Q(async () => {
|
|
781
758
|
setTimeout(() => f(), 150);
|
|
782
759
|
});
|
|
783
760
|
const a = () => {
|
|
784
|
-
o.value > 0 ? (o.value -= 1, c.value[o.value].disabled && a()) : o.value =
|
|
785
|
-
},
|
|
786
|
-
o.value <
|
|
761
|
+
o.value > 0 ? (o.value -= 1, c.value[o.value].disabled && a()) : o.value = u.value, f();
|
|
762
|
+
}, s = () => {
|
|
763
|
+
o.value < u.value ? (o.value += 1, c.value[o.value].disabled && s()) : o.value = 0, f();
|
|
787
764
|
};
|
|
788
765
|
return {
|
|
789
766
|
// Enums
|
|
790
|
-
BentoMenuEvent:
|
|
767
|
+
BentoMenuEvent: D,
|
|
791
768
|
// Values
|
|
792
|
-
subMenuItemListRefLocal:
|
|
769
|
+
subMenuItemListRefLocal: i,
|
|
793
770
|
subMenuFocusedIndex: o,
|
|
794
|
-
ChevronLeftIcon:
|
|
771
|
+
ChevronLeftIcon: le,
|
|
795
772
|
computedItems: c,
|
|
796
773
|
// Methods
|
|
797
774
|
closeMenu: m,
|
|
798
|
-
onBackButton:
|
|
775
|
+
onBackButton: r,
|
|
799
776
|
focusPrevious: a,
|
|
800
|
-
focusNext:
|
|
777
|
+
focusNext: s
|
|
801
778
|
};
|
|
802
779
|
}
|
|
803
780
|
});
|
|
804
|
-
function
|
|
805
|
-
const
|
|
806
|
-
return
|
|
781
|
+
function Ft(e, t, i, o, u, m) {
|
|
782
|
+
const r = E("menu-item"), c = E("bento-divider"), f = E("menu-list-container");
|
|
783
|
+
return l(), h(me, {
|
|
807
784
|
name: "b-sub-menu-item-list__transition",
|
|
808
785
|
appear: ""
|
|
809
786
|
}, {
|
|
810
787
|
default: b(() => [
|
|
811
|
-
|
|
788
|
+
B(f, { class: "b-sub-menu-item-list" }, {
|
|
812
789
|
default: b(() => [
|
|
813
|
-
|
|
790
|
+
K("ul", {
|
|
814
791
|
ref: "subMenuItemListRefLocal",
|
|
815
792
|
role: "menu",
|
|
816
793
|
class: "b-sub-menu-item-list__list",
|
|
817
794
|
onKeydown: [
|
|
818
|
-
t[0] || (t[0] =
|
|
819
|
-
t[1] || (t[1] =
|
|
820
|
-
t[2] || (t[2] =
|
|
795
|
+
t[0] || (t[0] = T(q((...a) => e.focusNext && e.focusNext(...a), ["stop"]), ["down"])),
|
|
796
|
+
t[1] || (t[1] = T(q((...a) => e.focusPrevious && e.focusPrevious(...a), ["stop"]), ["up"])),
|
|
797
|
+
t[2] || (t[2] = T(q((...a) => e.onBackButton && e.onBackButton(...a), ["stop"]), ["esc"]))
|
|
821
798
|
]
|
|
822
799
|
}, [
|
|
823
|
-
(
|
|
824
|
-
key: `sub-menu-item-list-item-${
|
|
800
|
+
(l(!0), C(z, null, Z(e.computedItems, (a, s) => (l(), C("li", {
|
|
801
|
+
key: `sub-menu-item-list-item-${s}`,
|
|
825
802
|
role: "none"
|
|
826
803
|
}, [
|
|
827
|
-
|
|
804
|
+
B(r, {
|
|
828
805
|
text: a.text,
|
|
829
806
|
handler: a.handler,
|
|
830
807
|
"secondary-text": a.secondaryText,
|
|
@@ -833,13 +810,13 @@ function Wt(e, t, s, o, d, m) {
|
|
|
833
810
|
disabled: a.disabled,
|
|
834
811
|
critical: a.critical,
|
|
835
812
|
indent: a.indent,
|
|
836
|
-
tabindex:
|
|
813
|
+
tabindex: s === e.subMenuFocusedIndex ? "0" : "-1",
|
|
837
814
|
onClick: a.clickHandler
|
|
838
815
|
}, null, 8, ["text", "handler", "secondary-text", "icon", "is-title", "disabled", "critical", "indent", "tabindex", "onClick"]),
|
|
839
|
-
a.addDivider ? (
|
|
816
|
+
a.addDivider ? (l(), h(c, {
|
|
840
817
|
key: 0,
|
|
841
818
|
class: "b-sub-menu-item-list__divider"
|
|
842
|
-
})) :
|
|
819
|
+
})) : k("", !0)
|
|
843
820
|
]))), 128))
|
|
844
821
|
], 544)
|
|
845
822
|
]),
|
|
@@ -849,41 +826,40 @@ function Wt(e, t, s, o, d, m) {
|
|
|
849
826
|
_: 1
|
|
850
827
|
});
|
|
851
828
|
}
|
|
852
|
-
const
|
|
853
|
-
function
|
|
854
|
-
return Math.max(
|
|
829
|
+
const Wt = /* @__PURE__ */ S(Pt, [["render", Ft], ["__scopeId", "data-v-e1de172e"]]), Oe = 350, Be = 150;
|
|
830
|
+
function $e(e) {
|
|
831
|
+
return Math.max(Be, Math.min(e, Oe));
|
|
855
832
|
}
|
|
856
|
-
function
|
|
857
|
-
const
|
|
833
|
+
function Kt(e, t, i, o) {
|
|
834
|
+
const u = v(0), m = v(0), r = (a) => {
|
|
858
835
|
if (!a || !a.parentElement)
|
|
859
836
|
return;
|
|
860
|
-
const
|
|
861
|
-
|
|
862
|
-
const n =
|
|
863
|
-
|
|
864
|
-
const
|
|
865
|
-
m.value =
|
|
837
|
+
const s = a.parentElement, d = a.cloneNode(!0);
|
|
838
|
+
d.style.position = "absolute", d.style.visibility = "hidden", s.appendChild(d), d.style.width = "max-content";
|
|
839
|
+
const n = d.offsetWidth, I = Math.max(Be, Math.min(n, Oe));
|
|
840
|
+
u.value = I, d.style.width = `${I}px`;
|
|
841
|
+
const O = d.offsetHeight;
|
|
842
|
+
m.value = O, s.removeChild(d), m.value = O;
|
|
866
843
|
};
|
|
867
|
-
|
|
868
|
-
var i, l;
|
|
844
|
+
pe([t, i], async ([a]) => {
|
|
869
845
|
if (a !== null) {
|
|
870
|
-
await
|
|
871
|
-
const
|
|
872
|
-
|
|
846
|
+
await x();
|
|
847
|
+
const s = e.value?.[0]?.$el;
|
|
848
|
+
s && r(s);
|
|
873
849
|
} else
|
|
874
|
-
|
|
850
|
+
u.value = 0, m.value = 0;
|
|
875
851
|
});
|
|
876
|
-
const c =
|
|
877
|
-
return { computedStyle:
|
|
852
|
+
const c = g(() => o?.value ? $e(o.value) : 0);
|
|
853
|
+
return { computedStyle: g(() => {
|
|
878
854
|
const a = {
|
|
879
855
|
width: c.value > 0 ? `${c.value}px` : "max-content"
|
|
880
856
|
};
|
|
881
|
-
return
|
|
857
|
+
return i.value && (m.value > 0 && (a.height = `${m.value}px`), u.value > 0 && (a.width = `${u.value}px`)), a;
|
|
882
858
|
}) };
|
|
883
859
|
}
|
|
884
|
-
const
|
|
860
|
+
const Ut = L({
|
|
885
861
|
name: "menu-item-list",
|
|
886
|
-
components: { BentoDivider:
|
|
862
|
+
components: { BentoDivider: ye, MenuItem: Ie, MenuListContainer: ke, SubMenuItemList: Wt },
|
|
887
863
|
props: {
|
|
888
864
|
/**
|
|
889
865
|
* The data to be displayed in the list
|
|
@@ -921,137 +897,132 @@ const jt = w({
|
|
|
921
897
|
default: null
|
|
922
898
|
}
|
|
923
899
|
},
|
|
924
|
-
emits: [
|
|
925
|
-
setup(e, { emit: t, expose:
|
|
926
|
-
const o = v(null),
|
|
927
|
-
let
|
|
928
|
-
return
|
|
929
|
-
...
|
|
930
|
-
indent:
|
|
900
|
+
emits: [D.CLOSE, "menu-item-click"],
|
|
901
|
+
setup(e, { emit: t, expose: i }) {
|
|
902
|
+
const o = v(null), u = v(null), m = v(null), r = v(null), c = v(!1), f = v(null), a = v(e.focusLastElement ? e.data.length - 1 : 0), s = v(0), d = v(e.data.length - 1), n = g(() => e.data.some((M) => M.icon)), I = g(() => e.indentItems || n.value ? e.data.map((M) => {
|
|
903
|
+
let y = !1;
|
|
904
|
+
return M.icon || (y = !0), {
|
|
905
|
+
...M,
|
|
906
|
+
indent: y
|
|
931
907
|
};
|
|
932
|
-
}) : e.data),
|
|
933
|
-
|
|
934
|
-
|
|
935
|
-
|
|
936
|
-
|
|
937
|
-
f.value = L, c.value = !0;
|
|
908
|
+
}) : e.data), O = async () => {
|
|
909
|
+
await x(), u.value?.children[a.value]?.children[0]?.focus();
|
|
910
|
+
}, W = () => t(D.CLOSE), j = (M, y) => {
|
|
911
|
+
if (M.items) {
|
|
912
|
+
f.value = y, c.value = !0;
|
|
938
913
|
return;
|
|
939
914
|
}
|
|
940
|
-
f.value =
|
|
941
|
-
},
|
|
942
|
-
a.value > 0 ? (a.value -= 1,
|
|
943
|
-
},
|
|
944
|
-
a.value <
|
|
945
|
-
},
|
|
946
|
-
|
|
947
|
-
|
|
948
|
-
}, H = () => {
|
|
915
|
+
f.value = y, c.value = !1, !M.skipClose && e.closeMenuOnItemSelect !== !1 && W(), t("menu-item-click");
|
|
916
|
+
}, R = () => {
|
|
917
|
+
a.value > 0 ? (a.value -= 1, I.value[a.value].disabled && R()) : a.value = d.value, O();
|
|
918
|
+
}, _ = () => {
|
|
919
|
+
a.value < d.value ? (a.value += 1, I.value[a.value].disabled && _()) : a.value = 0, O();
|
|
920
|
+
}, A = (M, y) => {
|
|
921
|
+
M?.items?.length && (f.value = y, c.value = !0);
|
|
922
|
+
}, J = () => {
|
|
949
923
|
f.value && c.value && (f.value = null, c.value = !1);
|
|
950
|
-
},
|
|
951
|
-
c.value = !1, f.value = null,
|
|
924
|
+
}, ee = () => {
|
|
925
|
+
c.value = !1, f.value = null, O();
|
|
952
926
|
};
|
|
953
|
-
|
|
954
|
-
focusItem:
|
|
927
|
+
i({
|
|
928
|
+
focusItem: O
|
|
955
929
|
});
|
|
956
|
-
const { computedStyle:
|
|
957
|
-
|
|
930
|
+
const { computedStyle: te } = Kt(
|
|
931
|
+
r,
|
|
958
932
|
f,
|
|
959
933
|
c,
|
|
960
|
-
|
|
934
|
+
ve(e, "popoverWidth")
|
|
961
935
|
);
|
|
962
936
|
return {
|
|
963
937
|
// Values
|
|
964
|
-
menuItemListRef:
|
|
938
|
+
menuItemListRef: u,
|
|
965
939
|
menuItemListWrapperRef: m,
|
|
966
|
-
subMenuItemListRef:
|
|
940
|
+
subMenuItemListRef: r,
|
|
967
941
|
menuItemRef: o,
|
|
968
|
-
computedData:
|
|
969
|
-
computedStyle:
|
|
942
|
+
computedData: I,
|
|
943
|
+
computedStyle: te,
|
|
970
944
|
focusedIndex: a,
|
|
971
|
-
subMenuFocusedIndex:
|
|
945
|
+
subMenuFocusedIndex: s,
|
|
972
946
|
showSubMenu: c,
|
|
973
947
|
visibleSubMenuIndex: f,
|
|
974
948
|
// Methods
|
|
975
|
-
menuItemClick:
|
|
976
|
-
closeMenu:
|
|
977
|
-
focusPrevious:
|
|
978
|
-
focusNext:
|
|
979
|
-
focusRight:
|
|
980
|
-
focusLeft:
|
|
981
|
-
onBackButton:
|
|
949
|
+
menuItemClick: j,
|
|
950
|
+
closeMenu: W,
|
|
951
|
+
focusPrevious: R,
|
|
952
|
+
focusNext: _,
|
|
953
|
+
focusRight: A,
|
|
954
|
+
focusLeft: J,
|
|
955
|
+
onBackButton: ee
|
|
982
956
|
};
|
|
983
957
|
}
|
|
984
|
-
}),
|
|
985
|
-
function
|
|
986
|
-
const
|
|
987
|
-
return
|
|
958
|
+
}), Vt = ["onKeydown"];
|
|
959
|
+
function jt(e, t, i, o, u, m) {
|
|
960
|
+
const r = E("menu-item"), c = E("bento-divider"), f = E("sub-menu-item-list"), a = E("menu-list-container");
|
|
961
|
+
return l(), h(a, {
|
|
988
962
|
ref: "menuItemListWrapperRef",
|
|
989
|
-
style:
|
|
963
|
+
style: be(e.computedStyle)
|
|
990
964
|
}, {
|
|
991
965
|
default: b(() => [
|
|
992
|
-
|
|
966
|
+
K("ul", {
|
|
993
967
|
ref: "menuItemListRef",
|
|
994
968
|
class: "b-menu-item-list",
|
|
995
969
|
role: "menu",
|
|
996
970
|
onKeydown: [
|
|
997
|
-
t[1] || (t[1] =
|
|
998
|
-
t[2] || (t[2] =
|
|
999
|
-
t[3] || (t[3] =
|
|
1000
|
-
t[4] || (t[4] =
|
|
971
|
+
t[1] || (t[1] = T((...s) => e.focusNext && e.focusNext(...s), ["down"])),
|
|
972
|
+
t[2] || (t[2] = T((...s) => e.focusPrevious && e.focusPrevious(...s), ["up"])),
|
|
973
|
+
t[3] || (t[3] = T((...s) => e.closeMenu && e.closeMenu(...s), ["esc"])),
|
|
974
|
+
t[4] || (t[4] = T((...s) => e.closeMenu && e.closeMenu(...s), ["tab"]))
|
|
1001
975
|
]
|
|
1002
976
|
}, [
|
|
1003
|
-
(
|
|
1004
|
-
|
|
1005
|
-
|
|
1006
|
-
|
|
977
|
+
(l(!0), C(z, null, Z(e.computedData, (s, d) => (l(), C("li", {
|
|
978
|
+
key: `menu-item-${d}`,
|
|
979
|
+
ref_for: !0,
|
|
980
|
+
ref: "menuItemRef",
|
|
981
|
+
class: "b-menu-item-list__item",
|
|
982
|
+
role: "none",
|
|
983
|
+
onKeydown: [
|
|
984
|
+
T((n) => e.focusRight(s, d), ["right"]),
|
|
985
|
+
t[0] || (t[0] = T((n) => e.focusLeft(), ["left"]))
|
|
986
|
+
]
|
|
987
|
+
}, [
|
|
988
|
+
B(r, {
|
|
989
|
+
text: s.text,
|
|
990
|
+
handler: s.items?.length ? () => null : s.handler,
|
|
991
|
+
"secondary-text": s.secondaryText,
|
|
992
|
+
icon: s.icon,
|
|
993
|
+
chevron: !!s.items?.length,
|
|
994
|
+
disabled: s.disabled,
|
|
995
|
+
critical: s.critical,
|
|
996
|
+
indent: s.indent,
|
|
997
|
+
tabindex: d === e.subMenuFocusedIndex ? "0" : "-1",
|
|
998
|
+
"aria-haspopup": !!s.items?.length,
|
|
999
|
+
"aria-expanded": e.showSubMenu && e.visibleSubMenuIndex === d,
|
|
1000
|
+
onClick: (n) => e.menuItemClick(s, d)
|
|
1001
|
+
}, null, 8, ["text", "handler", "secondary-text", "icon", "chevron", "disabled", "critical", "indent", "tabindex", "aria-haspopup", "aria-expanded", "onClick"]),
|
|
1002
|
+
s.addDivider ? (l(), h(c, {
|
|
1003
|
+
key: 0,
|
|
1004
|
+
class: "b-menu-item-list__divider"
|
|
1005
|
+
})) : k("", !0),
|
|
1006
|
+
s.items?.length && e.showSubMenu && e.visibleSubMenuIndex === d ? (l(), h(f, {
|
|
1007
|
+
key: 1,
|
|
1007
1008
|
ref_for: !0,
|
|
1008
|
-
ref: "
|
|
1009
|
-
|
|
1010
|
-
|
|
1011
|
-
|
|
1012
|
-
|
|
1013
|
-
|
|
1014
|
-
|
|
1015
|
-
}, [
|
|
1016
|
-
E(u, {
|
|
1017
|
-
text: i.text,
|
|
1018
|
-
handler: (n = i.items) != null && n.length ? () => null : i.handler,
|
|
1019
|
-
"secondary-text": i.secondaryText,
|
|
1020
|
-
icon: i.icon,
|
|
1021
|
-
chevron: !!((h = i.items) != null && h.length),
|
|
1022
|
-
disabled: i.disabled,
|
|
1023
|
-
critical: i.critical,
|
|
1024
|
-
indent: i.indent,
|
|
1025
|
-
tabindex: l === e.subMenuFocusedIndex ? "0" : "-1",
|
|
1026
|
-
"aria-haspopup": !!((I = i.items) != null && I.length),
|
|
1027
|
-
"aria-expanded": e.showSubMenu && e.visibleSubMenuIndex === l,
|
|
1028
|
-
onClick: (A) => e.menuItemClick(i, l)
|
|
1029
|
-
}, null, 8, ["text", "handler", "secondary-text", "icon", "chevron", "disabled", "critical", "indent", "tabindex", "aria-haspopup", "aria-expanded", "onClick"]),
|
|
1030
|
-
i.addDivider ? (r(), g(c, {
|
|
1031
|
-
key: 0,
|
|
1032
|
-
class: "b-menu-item-list__divider"
|
|
1033
|
-
})) : B("", !0),
|
|
1034
|
-
($ = i.items) != null && $.length && e.showSubMenu && e.visibleSubMenuIndex === l ? (r(), g(f, {
|
|
1035
|
-
key: 1,
|
|
1036
|
-
ref_for: !0,
|
|
1037
|
-
ref: "subMenuItemListRef",
|
|
1038
|
-
items: i.items,
|
|
1039
|
-
title: i.text,
|
|
1040
|
-
onBack: e.onBackButton,
|
|
1041
|
-
onClose: e.closeMenu
|
|
1042
|
-
}, null, 8, ["items", "title", "onBack", "onClose"])) : B("", !0)
|
|
1043
|
-
], 40, Yt);
|
|
1044
|
-
}), 128))
|
|
1009
|
+
ref: "subMenuItemListRef",
|
|
1010
|
+
items: s.items,
|
|
1011
|
+
title: s.text,
|
|
1012
|
+
onBack: e.onBackButton,
|
|
1013
|
+
onClose: e.closeMenu
|
|
1014
|
+
}, null, 8, ["items", "title", "onBack", "onClose"])) : k("", !0)
|
|
1015
|
+
], 40, Vt))), 128))
|
|
1045
1016
|
], 544)
|
|
1046
1017
|
]),
|
|
1047
1018
|
_: 1
|
|
1048
1019
|
}, 8, ["style"]);
|
|
1049
1020
|
}
|
|
1050
|
-
const
|
|
1051
|
-
i18n: { messages:
|
|
1021
|
+
const Yt = /* @__PURE__ */ S(Ut, [["render", jt], ["__scopeId", "data-v-7253ab73"]]), Gt = /* @__PURE__ */ Symbol("menu inverse style injection key"), Jt = {
|
|
1022
|
+
i18n: { messages: se },
|
|
1052
1023
|
name: "bento-menu"
|
|
1053
|
-
},
|
|
1054
|
-
...
|
|
1024
|
+
}, Ht = /* @__PURE__ */ L({
|
|
1025
|
+
...Jt,
|
|
1055
1026
|
props: {
|
|
1056
1027
|
button: { default: () => ({
|
|
1057
1028
|
variant: "secondary"
|
|
@@ -1067,115 +1038,113 @@ const Jt = /* @__PURE__ */ M(jt, [["render", Gt], ["__scopeId", "data-v-7253ab73
|
|
|
1067
1038
|
closeOnClickOutsideOptions: { default: void 0 }
|
|
1068
1039
|
},
|
|
1069
1040
|
emits: ["menu-item-click", "click-outside"],
|
|
1070
|
-
setup(e, { expose: t, emit:
|
|
1071
|
-
|
|
1072
|
-
|
|
1073
|
-
|
|
1074
|
-
|
|
1075
|
-
|
|
1076
|
-
|
|
1077
|
-
|
|
1078
|
-
|
|
1079
|
-
if (o != null && o.button)
|
|
1041
|
+
setup(e, { expose: t, emit: i }) {
|
|
1042
|
+
const o = e, u = i, m = X(), r = oe(m), { t: c } = he({ messages: se }), f = v(null), a = v(null), s = v(!1), d = v(!1), n = v(null), I = Ye("menu"), O = P(Gt, v(!1));
|
|
1043
|
+
we(De, O);
|
|
1044
|
+
const W = g(() => ({
|
|
1045
|
+
"b-menu--inverse": O.value
|
|
1046
|
+
})), j = g(
|
|
1047
|
+
() => o.menuWidth ? { width: `${$e(o.menuWidth)}px` } : null
|
|
1048
|
+
), R = g(() => {
|
|
1049
|
+
if (o?.button)
|
|
1080
1050
|
return {
|
|
1081
1051
|
variant: "secondary",
|
|
1082
1052
|
...o.button
|
|
1083
1053
|
};
|
|
1084
|
-
}),
|
|
1085
|
-
|
|
1086
|
-
},
|
|
1087
|
-
|
|
1088
|
-
|
|
1089
|
-
|
|
1090
|
-
|
|
1091
|
-
|
|
1092
|
-
|
|
1093
|
-
|
|
1094
|
-
|
|
1095
|
-
|
|
1096
|
-
d("menu-item-click");
|
|
1054
|
+
}), _ = () => {
|
|
1055
|
+
s.value = !0, u(D.OPEN);
|
|
1056
|
+
}, A = async (y = o.revertFocusToButton) => {
|
|
1057
|
+
s.value && (s.value = !1, y && (await x(), f.value?.$el?.focus()), u(D.CLOSE));
|
|
1058
|
+
}, J = (y) => {
|
|
1059
|
+
y.stopPropagation(), s.value ? A() : _();
|
|
1060
|
+
}, ee = (y) => {
|
|
1061
|
+
y.preventDefault(), d.value = !1, o.disableArrowDownOpeningMenu || _();
|
|
1062
|
+
}, te = (y) => {
|
|
1063
|
+
y.preventDefault(), d.value = !0, _();
|
|
1064
|
+
}, M = () => {
|
|
1065
|
+
u("menu-item-click");
|
|
1097
1066
|
};
|
|
1098
|
-
return
|
|
1067
|
+
return ut(
|
|
1099
1068
|
n,
|
|
1100
1069
|
() => {
|
|
1101
|
-
|
|
1070
|
+
A(), u("click-outside");
|
|
1102
1071
|
},
|
|
1103
1072
|
{
|
|
1104
1073
|
...o.closeOnClickOutsideOptions,
|
|
1105
|
-
ignore: [f, ...
|
|
1074
|
+
ignore: [f, ...o.closeOnClickOutsideOptions?.ignore ?? []]
|
|
1106
1075
|
}
|
|
1107
1076
|
), t({
|
|
1108
1077
|
/**
|
|
1109
1078
|
* Control to enable programmatic closing of the menu
|
|
1110
1079
|
*/
|
|
1111
|
-
closeMenu:
|
|
1112
|
-
}),
|
|
1113
|
-
|
|
1080
|
+
closeMenu: A
|
|
1081
|
+
}), Q(() => {
|
|
1082
|
+
r("iconRight") && Fe(
|
|
1114
1083
|
'"bento-menu" no longer supports the "iconRight" slot. The right-aligned icon is now fixed by design.'
|
|
1115
1084
|
);
|
|
1116
|
-
}), (
|
|
1117
|
-
class:
|
|
1085
|
+
}), (y, ie) => (l(), C("div", {
|
|
1086
|
+
class: F([W.value, "b-menu"]),
|
|
1118
1087
|
"data-testid": "menu",
|
|
1119
1088
|
onKeydown: [
|
|
1120
|
-
|
|
1121
|
-
|
|
1122
|
-
|
|
1089
|
+
T(ee, ["down"]),
|
|
1090
|
+
T(te, ["up"]),
|
|
1091
|
+
ie[0] || (ie[0] = T((tn) => A(), ["esc"]))
|
|
1123
1092
|
]
|
|
1124
1093
|
}, [
|
|
1125
|
-
|
|
1094
|
+
B(ot, G({
|
|
1126
1095
|
ref_key: "menuButtonRef",
|
|
1127
1096
|
ref: f,
|
|
1128
1097
|
class: "b-menu__toggle-button",
|
|
1129
1098
|
"aria-haspopup": "true"
|
|
1130
|
-
},
|
|
1131
|
-
"aria-controls":
|
|
1132
|
-
toggled:
|
|
1133
|
-
inverse: p(
|
|
1134
|
-
onClick:
|
|
1135
|
-
}),
|
|
1136
|
-
!p(
|
|
1099
|
+
}, R.value, {
|
|
1100
|
+
"aria-controls": s.value ? p(I) : null,
|
|
1101
|
+
toggled: s.value,
|
|
1102
|
+
inverse: p(O),
|
|
1103
|
+
onClick: J
|
|
1104
|
+
}), U({ _: 2 }, [
|
|
1105
|
+
!p(r)("default") || p(r)("iconLeft") ? {
|
|
1137
1106
|
name: "iconLeft",
|
|
1138
1107
|
fn: b(() => [
|
|
1139
|
-
|
|
1140
|
-
|
|
1108
|
+
N(y.$slots, "iconLeft", {}, () => [
|
|
1109
|
+
B(p(Mt), {
|
|
1141
1110
|
title: p(c)("menuButton")
|
|
1142
1111
|
}, null, 8, ["title"])
|
|
1143
1112
|
], !0)
|
|
1144
1113
|
]),
|
|
1145
1114
|
key: "0"
|
|
1146
1115
|
} : void 0,
|
|
1147
|
-
p(
|
|
1116
|
+
p(r)("default") ? {
|
|
1148
1117
|
name: "default",
|
|
1149
1118
|
fn: b(() => [
|
|
1150
|
-
|
|
1119
|
+
N(y.$slots, "default", {}, void 0, !0)
|
|
1151
1120
|
]),
|
|
1152
1121
|
key: "1"
|
|
1153
1122
|
} : void 0,
|
|
1154
|
-
p(
|
|
1123
|
+
p(r)("default") ? {
|
|
1155
1124
|
name: "iconRight",
|
|
1156
1125
|
fn: b(() => [
|
|
1157
|
-
|
|
1126
|
+
B(p(Ge))
|
|
1158
1127
|
]),
|
|
1159
1128
|
key: "2"
|
|
1160
1129
|
} : void 0
|
|
1161
1130
|
]), 1040, ["aria-controls", "toggled", "inverse"]),
|
|
1162
|
-
f.value ? (
|
|
1131
|
+
f.value ? (l(), h(p(Et), {
|
|
1163
1132
|
key: 0,
|
|
1164
|
-
disabled: !
|
|
1133
|
+
disabled: !y.teleport
|
|
1165
1134
|
}, {
|
|
1166
1135
|
default: b(() => [
|
|
1167
|
-
f.value ? (
|
|
1136
|
+
f.value ? (l(), h(Ct, {
|
|
1168
1137
|
key: 0,
|
|
1169
|
-
id: p(
|
|
1138
|
+
id: p(I),
|
|
1170
1139
|
ref_key: "popoverRef",
|
|
1171
1140
|
ref: n,
|
|
1172
1141
|
role: null,
|
|
1173
|
-
open:
|
|
1142
|
+
open: s.value,
|
|
1174
1143
|
class: "b-menu__popover",
|
|
1175
|
-
style:
|
|
1144
|
+
style: be(j.value),
|
|
1176
1145
|
"target-element": f.value,
|
|
1177
|
-
position:
|
|
1178
|
-
"fixed-positioning":
|
|
1146
|
+
position: y.menuPosition,
|
|
1147
|
+
"fixed-positioning": y.menuFixedPositioning,
|
|
1179
1148
|
"fallback-position": [
|
|
1180
1149
|
"bottom-start",
|
|
1181
1150
|
"bottom-end",
|
|
@@ -1186,62 +1155,62 @@ const Jt = /* @__PURE__ */ M(jt, [["render", Gt], ["__scopeId", "data-v-7253ab73
|
|
|
1186
1155
|
"left-start",
|
|
1187
1156
|
"left-end"
|
|
1188
1157
|
],
|
|
1189
|
-
teleport:
|
|
1158
|
+
teleport: y.teleport,
|
|
1190
1159
|
"without-space": ""
|
|
1191
1160
|
}, {
|
|
1192
1161
|
default: b(() => [
|
|
1193
|
-
|
|
1162
|
+
B(Yt, {
|
|
1194
1163
|
ref_key: "menuItemListRef",
|
|
1195
1164
|
ref: a,
|
|
1196
|
-
"close-menu-on-item-select":
|
|
1197
|
-
data:
|
|
1198
|
-
"focus-last-element":
|
|
1199
|
-
"popover-width":
|
|
1200
|
-
onClose:
|
|
1201
|
-
onMenuItemClick:
|
|
1165
|
+
"close-menu-on-item-select": y.closeMenuOnItemSelect,
|
|
1166
|
+
data: y.data,
|
|
1167
|
+
"focus-last-element": d.value,
|
|
1168
|
+
"popover-width": y.menuWidth,
|
|
1169
|
+
onClose: A,
|
|
1170
|
+
onMenuItemClick: M
|
|
1202
1171
|
}, null, 8, ["close-menu-on-item-select", "data", "focus-last-element", "popover-width"])
|
|
1203
1172
|
]),
|
|
1204
1173
|
_: 1
|
|
1205
|
-
}, 8, ["id", "open", "style", "target-element", "position", "fixed-positioning", "teleport"])) :
|
|
1174
|
+
}, 8, ["id", "open", "style", "target-element", "position", "fixed-positioning", "teleport"])) : k("", !0)
|
|
1206
1175
|
]),
|
|
1207
1176
|
_: 1
|
|
1208
|
-
}, 8, ["disabled"])) :
|
|
1177
|
+
}, 8, ["disabled"])) : k("", !0)
|
|
1209
1178
|
], 34));
|
|
1210
1179
|
}
|
|
1211
|
-
}),
|
|
1180
|
+
}), qt = /* @__PURE__ */ S(Ht, [["__scopeId", "data-v-eee5aa88"]]), zt = /* @__PURE__ */ Symbol(
|
|
1212
1181
|
"button actions with menu container injection key"
|
|
1213
|
-
),
|
|
1182
|
+
), Xt = 242, ce = parseInt(Xe, 10), Zt = (e, t, i) => {
|
|
1214
1183
|
const o = v(0);
|
|
1215
|
-
let
|
|
1216
|
-
const { buttonActionsWithMenu: m, menu:
|
|
1184
|
+
let u = null;
|
|
1185
|
+
const { buttonActionsWithMenu: m, menu: r, stackButtons: c } = P(zt, {
|
|
1217
1186
|
buttonActionsWithMenu: v(null),
|
|
1218
1187
|
menu: v(null),
|
|
1219
1188
|
stackButtons: v(!1)
|
|
1220
|
-
}), f =
|
|
1221
|
-
|
|
1222
|
-
|
|
1223
|
-
|
|
1224
|
-
|
|
1225
|
-
),
|
|
1226
|
-
return
|
|
1189
|
+
}), f = g(() => m.value ?? e.value), a = g(() => r.value ? [...t.value, r.value.$el] : t.value), s = (d) => {
|
|
1190
|
+
const n = a.value?.reduce(
|
|
1191
|
+
(O, W) => O + W.clientWidth + ce,
|
|
1192
|
+
-ce - 1
|
|
1193
|
+
// to remove the extra spacing, as if there's 3 buttons, only two will have a gap in between
|
|
1194
|
+
), I = f.value.clientWidth;
|
|
1195
|
+
return d && (o.value = I >= Xt && !c.value ? n : 0), o.value > I;
|
|
1227
1196
|
};
|
|
1228
|
-
return
|
|
1229
|
-
() =>
|
|
1197
|
+
return pe(
|
|
1198
|
+
() => i.value,
|
|
1230
1199
|
() => {
|
|
1231
|
-
|
|
1232
|
-
c.value =
|
|
1200
|
+
x(() => {
|
|
1201
|
+
c.value = s(!0);
|
|
1233
1202
|
});
|
|
1234
1203
|
},
|
|
1235
1204
|
{ deep: !0 }
|
|
1236
|
-
),
|
|
1237
|
-
|
|
1238
|
-
c.value =
|
|
1205
|
+
), Q(() => {
|
|
1206
|
+
u = ze(f.value, () => {
|
|
1207
|
+
c.value = s(o.value === 0);
|
|
1239
1208
|
});
|
|
1240
|
-
}),
|
|
1241
|
-
|
|
1209
|
+
}), fe(() => {
|
|
1210
|
+
u?.disconnect();
|
|
1242
1211
|
}), c;
|
|
1243
|
-
},
|
|
1244
|
-
...
|
|
1212
|
+
}, Qt = {}, xt = /* @__PURE__ */ L({
|
|
1213
|
+
...Qt,
|
|
1245
1214
|
__name: "button-actions",
|
|
1246
1215
|
props: {
|
|
1247
1216
|
actions: {},
|
|
@@ -1249,32 +1218,32 @@ const Jt = /* @__PURE__ */ M(jt, [["render", Gt], ["__scopeId", "data-v-7253ab73
|
|
|
1249
1218
|
layout: { default: "buttons-end" }
|
|
1250
1219
|
},
|
|
1251
1220
|
setup(e) {
|
|
1252
|
-
const t = e,
|
|
1253
|
-
const
|
|
1254
|
-
return
|
|
1255
|
-
}, c =
|
|
1221
|
+
const t = e, i = v(null), o = v(null), u = Zt(i, o, ve(t, "actions")), m = g(() => t.actions.slice().reverse()), r = (s) => {
|
|
1222
|
+
const d = t.actions.length - 1;
|
|
1223
|
+
return s === d ? "primary" : "secondary";
|
|
1224
|
+
}, c = g(() => ({
|
|
1256
1225
|
[`b-button-actions--${t.layout}`]: !0,
|
|
1257
|
-
"b-button-actions--stacked-buttons":
|
|
1258
|
-
})), f = (
|
|
1259
|
-
click:
|
|
1260
|
-
} : {}, a = (
|
|
1261
|
-
return (
|
|
1226
|
+
"b-button-actions--stacked-buttons": u.value
|
|
1227
|
+
})), f = (s) => s?.event !== void 0 ? {
|
|
1228
|
+
click: s.event
|
|
1229
|
+
} : {}, a = (s) => s.iconOnly && (s.iconLeft || s.iconRight || s.icon);
|
|
1230
|
+
return (s, d) => (l(), C("div", {
|
|
1262
1231
|
ref_key: "buttonActions",
|
|
1263
|
-
ref:
|
|
1232
|
+
ref: i,
|
|
1264
1233
|
class: "b-button-actions"
|
|
1265
1234
|
}, [
|
|
1266
|
-
|
|
1267
|
-
class:
|
|
1235
|
+
K("div", {
|
|
1236
|
+
class: F(["b-button-actions__container-wrapper", c.value]),
|
|
1268
1237
|
role: "group"
|
|
1269
1238
|
}, [
|
|
1270
|
-
(
|
|
1271
|
-
key:
|
|
1239
|
+
(l(!0), C(z, null, Z(m.value, (n, I) => (l(), C("div", {
|
|
1240
|
+
key: I,
|
|
1272
1241
|
ref_for: !0,
|
|
1273
1242
|
ref_key: "buttons",
|
|
1274
1243
|
ref: o,
|
|
1275
1244
|
class: "b-button-actions__button-wrapper"
|
|
1276
1245
|
}, [
|
|
1277
|
-
n.data ? (
|
|
1246
|
+
n.data ? (l(), h(qt, {
|
|
1278
1247
|
key: 0,
|
|
1279
1248
|
ref_for: !0,
|
|
1280
1249
|
ref: n.elementRef,
|
|
@@ -1287,11 +1256,11 @@ const Jt = /* @__PURE__ */ M(jt, [["render", Gt], ["__scopeId", "data-v-7253ab73
|
|
|
1287
1256
|
"menu-width": n.menuWidth,
|
|
1288
1257
|
"revert-focus-to-button": n.revertFocusToButton,
|
|
1289
1258
|
teleport: n.teleport
|
|
1290
|
-
},
|
|
1259
|
+
}, U({ _: 2 }, [
|
|
1291
1260
|
n.icon || n.iconLeft ? {
|
|
1292
1261
|
name: "iconLeft",
|
|
1293
1262
|
fn: b(() => [
|
|
1294
|
-
(
|
|
1263
|
+
(l(), h(H(n.icon || n.iconLeft), {
|
|
1295
1264
|
"svg-title": n.title
|
|
1296
1265
|
}, null, 8, ["svg-title"]))
|
|
1297
1266
|
]),
|
|
@@ -1300,26 +1269,26 @@ const Jt = /* @__PURE__ */ M(jt, [["render", Gt], ["__scopeId", "data-v-7253ab73
|
|
|
1300
1269
|
a(n) ? void 0 : {
|
|
1301
1270
|
name: "default",
|
|
1302
1271
|
fn: b(() => [
|
|
1303
|
-
|
|
1272
|
+
Y(V(n.title), 1)
|
|
1304
1273
|
]),
|
|
1305
1274
|
key: "1"
|
|
1306
1275
|
}
|
|
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"])) : (
|
|
1308
|
-
n.state ? (
|
|
1276
|
+
]), 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"])) : (l(), C(z, { key: 1 }, [
|
|
1277
|
+
n.state ? (l(), h(et, G({
|
|
1309
1278
|
key: 0,
|
|
1310
1279
|
ref_for: !0,
|
|
1311
1280
|
ref: n.elementRef,
|
|
1312
1281
|
condensed: n.condensed,
|
|
1313
1282
|
critical: n.critical,
|
|
1314
1283
|
disabled: n.disabled,
|
|
1315
|
-
inverse:
|
|
1284
|
+
inverse: s.inverse,
|
|
1316
1285
|
state: n.state,
|
|
1317
|
-
variant: n.variant ||
|
|
1318
|
-
},
|
|
1286
|
+
variant: n.variant || r(I)
|
|
1287
|
+
}, ne(f(n))), U({ _: 2 }, [
|
|
1319
1288
|
n.icon || n.iconLeft ? {
|
|
1320
1289
|
name: "iconLeft",
|
|
1321
1290
|
fn: b(() => [
|
|
1322
|
-
(
|
|
1291
|
+
(l(), h(H(n.icon || n.iconLeft), {
|
|
1323
1292
|
"svg-title": n.title
|
|
1324
1293
|
}, null, 8, ["svg-title"]))
|
|
1325
1294
|
]),
|
|
@@ -1328,25 +1297,25 @@ const Jt = /* @__PURE__ */ M(jt, [["render", Gt], ["__scopeId", "data-v-7253ab73
|
|
|
1328
1297
|
a(n) ? void 0 : {
|
|
1329
1298
|
name: "default",
|
|
1330
1299
|
fn: b(() => [
|
|
1331
|
-
|
|
1300
|
+
Y(V(n.title), 1)
|
|
1332
1301
|
]),
|
|
1333
1302
|
key: "1"
|
|
1334
1303
|
}
|
|
1335
|
-
]), 1040, ["condensed", "critical", "disabled", "inverse", "state", "variant"])) : (
|
|
1304
|
+
]), 1040, ["condensed", "critical", "disabled", "inverse", "state", "variant"])) : (l(), h($, G({
|
|
1336
1305
|
key: 1,
|
|
1337
1306
|
ref_for: !0,
|
|
1338
1307
|
ref: n.elementRef,
|
|
1339
1308
|
condensed: n.condensed,
|
|
1340
1309
|
critical: n.critical,
|
|
1341
1310
|
disabled: n.disabled,
|
|
1342
|
-
inverse:
|
|
1311
|
+
inverse: s.inverse,
|
|
1343
1312
|
link: n.link,
|
|
1344
|
-
variant: n.variant ||
|
|
1345
|
-
},
|
|
1313
|
+
variant: n.variant || r(I)
|
|
1314
|
+
}, ne(f(n))), U({ _: 2 }, [
|
|
1346
1315
|
n.icon || n.iconLeft ? {
|
|
1347
1316
|
name: "iconLeft",
|
|
1348
1317
|
fn: b(() => [
|
|
1349
|
-
(
|
|
1318
|
+
(l(), h(H(n.icon || n.iconLeft), {
|
|
1350
1319
|
"svg-title": n.title
|
|
1351
1320
|
}, null, 8, ["svg-title"]))
|
|
1352
1321
|
]),
|
|
@@ -1355,14 +1324,14 @@ const Jt = /* @__PURE__ */ M(jt, [["render", Gt], ["__scopeId", "data-v-7253ab73
|
|
|
1355
1324
|
a(n) ? void 0 : {
|
|
1356
1325
|
name: "default",
|
|
1357
1326
|
fn: b(() => [
|
|
1358
|
-
|
|
1327
|
+
Y(V(n.title), 1)
|
|
1359
1328
|
]),
|
|
1360
1329
|
key: "1"
|
|
1361
1330
|
},
|
|
1362
1331
|
n.iconRight ? {
|
|
1363
1332
|
name: "iconRight",
|
|
1364
1333
|
fn: b(() => [
|
|
1365
|
-
(
|
|
1334
|
+
(l(), h(H(n.iconRight), {
|
|
1366
1335
|
"svg-title": n.title
|
|
1367
1336
|
}, null, 8, ["svg-title"]))
|
|
1368
1337
|
]),
|
|
@@ -1374,28 +1343,28 @@ const Jt = /* @__PURE__ */ M(jt, [["render", Gt], ["__scopeId", "data-v-7253ab73
|
|
|
1374
1343
|
], 2)
|
|
1375
1344
|
], 512));
|
|
1376
1345
|
}
|
|
1377
|
-
}),
|
|
1346
|
+
}), en = /* @__PURE__ */ S(xt, [["__scopeId", "data-v-1a12c479"]]);
|
|
1378
1347
|
export {
|
|
1379
|
-
|
|
1380
|
-
|
|
1381
|
-
|
|
1382
|
-
|
|
1383
|
-
|
|
1384
|
-
|
|
1385
|
-
|
|
1386
|
-
|
|
1387
|
-
|
|
1388
|
-
|
|
1389
|
-
|
|
1390
|
-
|
|
1391
|
-
|
|
1392
|
-
|
|
1393
|
-
|
|
1394
|
-
|
|
1395
|
-
|
|
1396
|
-
|
|
1397
|
-
|
|
1398
|
-
|
|
1399
|
-
|
|
1348
|
+
en as B,
|
|
1349
|
+
Rt as D,
|
|
1350
|
+
dt as I,
|
|
1351
|
+
Gt as M,
|
|
1352
|
+
Mt as O,
|
|
1353
|
+
ft as P,
|
|
1354
|
+
kt as S,
|
|
1355
|
+
et as a,
|
|
1356
|
+
w as b,
|
|
1357
|
+
ot as c,
|
|
1358
|
+
zt as d,
|
|
1359
|
+
Et as e,
|
|
1360
|
+
qt as f,
|
|
1361
|
+
D as g,
|
|
1362
|
+
Ct as h,
|
|
1363
|
+
$n as i,
|
|
1364
|
+
En as j,
|
|
1365
|
+
Ot as k,
|
|
1366
|
+
It as l,
|
|
1367
|
+
ct as m,
|
|
1368
|
+
ut as u
|
|
1400
1369
|
};
|
|
1401
|
-
//# sourceMappingURL=button-actions.
|
|
1370
|
+
//# sourceMappingURL=button-actions.cMQWyZne.js.map
|