@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,443 +0,0 @@
|
|
|
1
|
-
import { defineComponent as $, useSlots as ee, ref as g, computed as d, inject as ce, watch as Y, nextTick as re, onUnmounted as me, openBlock as A, createBlock as P, normalizeClass as J, createSlots as te, withCtx as l, createElementVNode as h, normalizeStyle as O, unref as t, renderSlot as c, createCommentVNode as w, createVNode as q, useAttrs as ge, onMounted as ve, provide as G, toRefs as pe, createElementBlock as fe, withKeys as _e, withDirectives as ye } from "vue";
|
|
2
|
-
import { B as be } from "./button.C6t9_lzm.js";
|
|
3
|
-
import { B as Le } from "./focus-trap.BxCwzLqN.js";
|
|
4
|
-
import { u as ae } from "./use-has-slot.B7eQSabc.js";
|
|
5
|
-
import { u as he } from "./index.B875RXHM.js";
|
|
6
|
-
import { l as Ae } from "./button-actions.BYBpjNqy.js";
|
|
7
|
-
import { g as Ce } from "./generate-uid.NJ8tVoha.js";
|
|
8
|
-
import { B as Ee } from "./directive.rXUeDb8p.js";
|
|
9
|
-
import { C as Ie } from "./cross.CCHdi6v3.js";
|
|
10
|
-
import { b as Oe, B as Pe, D as Se, a as ke } from "./dialog-page.C1KUI51V.js";
|
|
11
|
-
import { B as x } from "./typography.B3J6_tYk.js";
|
|
12
|
-
import { F as De } from "./footer-actions.Ck6UztD8.js";
|
|
13
|
-
import { o as Be } from "./resize.Bqks3WUm.js";
|
|
14
|
-
import { G as Te, a as Ne } from "./grid-layout.Vhv1_zFs.js";
|
|
15
|
-
import { _ as oe } from "./_plugin-vue_export-helper.CHgC5LLL.js";
|
|
16
|
-
import "../assets/base-modal.css";
|
|
17
|
-
var Ge = /* @__PURE__ */ ((e) => (e.DEFAULT = "default", e.DIALOG = "dialog", e))(Ge || {}), we = /* @__PURE__ */ ((e) => (e.DEFAULT = "BentoModalDefault", e.DIALOG = "BentoModalDialog", e))(we || {}), R = /* @__PURE__ */ ((e) => (e.SMALL = "small", e.MEDIUM = "medium", e.LARGE = "large", e))(R || {}), D = /* @__PURE__ */ ((e) => (e.SMALLER = "smaller", e.EQUAL = "equal", e.BIGGER = "bigger", e))(D || {}), W = /* @__PURE__ */ ((e) => (e.DIALOG = "dialog", e.ALERT_DIALOG = "alertdialog", e))(W || {}), Re = /* @__PURE__ */ ((e) => (e.CONFIRMATION = "confirmation", e.DESTRUCTIVE = "destructive", e.INFO = "info", e.ACKNOWLEDGEMENT = "acknowledgement", e))(Re || {}), $e = /* @__PURE__ */ ((e) => (e.CLOSE_MODAL = "close-modal", e))($e || {});
|
|
18
|
-
const ne = {
|
|
19
|
-
"en-US": {
|
|
20
|
-
ariaLabelFallback: "modal",
|
|
21
|
-
close: "Close"
|
|
22
|
-
},
|
|
23
|
-
"ja-JP": {
|
|
24
|
-
ariaLabelFallback: "モーダル",
|
|
25
|
-
close: "閉じる"
|
|
26
|
-
},
|
|
27
|
-
"pt-BR": {
|
|
28
|
-
ariaLabelFallback: "modal",
|
|
29
|
-
close: "Fechar"
|
|
30
|
-
}
|
|
31
|
-
}, se = /* @__PURE__ */ Symbol("modal config data injection key"), Fe = { class: "b-modal-page__header" }, Me = {
|
|
32
|
-
"aria-label": "modal actions",
|
|
33
|
-
class: "b-modal-page__actions"
|
|
34
|
-
}, ze = $({}), Ue = /* @__PURE__ */ $({
|
|
35
|
-
...ze,
|
|
36
|
-
__name: "modal-page",
|
|
37
|
-
props: {
|
|
38
|
-
actions: { default: null },
|
|
39
|
-
actionsLabel: { default: null },
|
|
40
|
-
columnsSize: { default: D.SMALLER },
|
|
41
|
-
customPadding: { default: null },
|
|
42
|
-
destructiveActions: { type: Boolean, default: !1 },
|
|
43
|
-
withColumnLayout: { type: Boolean, default: !1 },
|
|
44
|
-
pageId: { default: void 0 },
|
|
45
|
-
previousPage: { default: void 0 }
|
|
46
|
-
},
|
|
47
|
-
setup(e) {
|
|
48
|
-
const F = ee(), u = ae(F), f = g(null), s = e, M = d(() => ({
|
|
49
|
-
"b-modal-page--custom-padding": s.customPadding
|
|
50
|
-
})), _ = d(() => {
|
|
51
|
-
var a;
|
|
52
|
-
return {
|
|
53
|
-
"b-modal-page__content--with-header": u("default"),
|
|
54
|
-
"b-modal-page__content--with-actions": u("actions") || ((a = s.actions) == null ? void 0 : a.length)
|
|
55
|
-
};
|
|
56
|
-
}), i = d(() => {
|
|
57
|
-
if (!s.customPadding)
|
|
58
|
-
return {};
|
|
59
|
-
const a = {
|
|
60
|
-
paddingLeft: s.customPadding,
|
|
61
|
-
paddingRight: s.customPadding
|
|
62
|
-
}, r = { ...a, paddingTop: void 0, paddingBottom: void 0 };
|
|
63
|
-
return u("default") || (r.paddingTop = s.customPadding), u("actions") || (r.paddingBottom = s.customPadding), {
|
|
64
|
-
header: {
|
|
65
|
-
...a,
|
|
66
|
-
paddingTop: s.customPadding,
|
|
67
|
-
paddingRight: `${parseInt(s.customPadding, 10) + 26}px`,
|
|
68
|
-
flex: 1
|
|
69
|
-
},
|
|
70
|
-
content: r,
|
|
71
|
-
actions: { ...a, paddingBottom: s.customPadding },
|
|
72
|
-
backButton: { top: s.customPadding, paddingLeft: s.customPadding }
|
|
73
|
-
};
|
|
74
|
-
}), y = d(() => s.withColumnLayout && U.value === R.LARGE), B = d(() => s.columnsSize === D.SMALLER ? [
|
|
75
|
-
{ small: 4, medium: 4, large: 4 },
|
|
76
|
-
{ small: 8, medium: 8, large: 8 }
|
|
77
|
-
] : s.columnsSize === D.BIGGER ? [
|
|
78
|
-
{ small: 8, medium: 8, large: 8 },
|
|
79
|
-
{ small: 4, medium: 4, large: 4 }
|
|
80
|
-
] : [
|
|
81
|
-
{ small: 6, medium: 6, large: 6 },
|
|
82
|
-
{ small: 6, medium: 6, large: 6 }
|
|
83
|
-
]), { activePage: b, height: n, isAnimationActive: S, pageCustomPadding: C, showCloseButton: z, size: U } = ce(se), K = d(() => b.value === s.pageId || !b.value);
|
|
84
|
-
let L = null;
|
|
85
|
-
return Y(
|
|
86
|
-
() => b.value,
|
|
87
|
-
async (a, r) => {
|
|
88
|
-
var m, v;
|
|
89
|
-
K.value && (await re(), n.value = `${(v = (m = f.value) == null ? void 0 : m.$el) == null ? void 0 : v.clientHeight}px`, C.value = s.customPadding, S.value = r !== void 0, L = Be(f.value, () => {
|
|
90
|
-
var T, E;
|
|
91
|
-
const k = `${(E = (T = f.value) == null ? void 0 : T.$el) == null ? void 0 : E.clientHeight}px`;
|
|
92
|
-
k && k !== n.value && (n.value = k);
|
|
93
|
-
}));
|
|
94
|
-
},
|
|
95
|
-
{ immediate: !0 }
|
|
96
|
-
), me(() => {
|
|
97
|
-
L == null || L.disconnect();
|
|
98
|
-
}), (a, r) => {
|
|
99
|
-
var m;
|
|
100
|
-
return A(), P(Oe, {
|
|
101
|
-
ref_key: "page",
|
|
102
|
-
ref: f,
|
|
103
|
-
class: J(["b-modal-page", M.value]),
|
|
104
|
-
"page-id": a.pageId,
|
|
105
|
-
"always-show-border": y.value,
|
|
106
|
-
"back-button-styling": (m = i.value) == null ? void 0 : m.backButton,
|
|
107
|
-
"previous-page": a.previousPage,
|
|
108
|
-
onAnimationend: r[0] || (r[0] = (v) => S.value = !1)
|
|
109
|
-
}, te({
|
|
110
|
-
content: l(() => [
|
|
111
|
-
h("div", {
|
|
112
|
-
class: J(["b-modal-page__content", _.value]),
|
|
113
|
-
style: O(i.value.content)
|
|
114
|
-
}, [
|
|
115
|
-
t(u)("content") || t(u)("content-col-1") && t(u)("content-col-2") ? (A(), P(t(x), {
|
|
116
|
-
key: 0,
|
|
117
|
-
el: "div"
|
|
118
|
-
}, {
|
|
119
|
-
default: l(() => [
|
|
120
|
-
y.value ? (A(), P(t(Te), {
|
|
121
|
-
key: 0,
|
|
122
|
-
"column-width": B.value,
|
|
123
|
-
"container-type": t(Ne).NORMAL,
|
|
124
|
-
"no-gap": "",
|
|
125
|
-
class: "b-modal-page__grid"
|
|
126
|
-
}, {
|
|
127
|
-
"col-1": l(() => [
|
|
128
|
-
c(a.$slots, "content-col-1", {}, void 0, !0)
|
|
129
|
-
]),
|
|
130
|
-
"col-2": l(() => [
|
|
131
|
-
c(a.$slots, "content-col-2", {}, void 0, !0)
|
|
132
|
-
]),
|
|
133
|
-
_: 3
|
|
134
|
-
}, 8, ["column-width", "container-type"])) : c(a.$slots, "content", { key: 1 }, void 0, !0)
|
|
135
|
-
]),
|
|
136
|
-
_: 3
|
|
137
|
-
})) : w("", !0)
|
|
138
|
-
], 6)
|
|
139
|
-
]),
|
|
140
|
-
_: 2
|
|
141
|
-
}, [
|
|
142
|
-
t(u)("default") || t(z) ? {
|
|
143
|
-
name: "header",
|
|
144
|
-
fn: l(() => [
|
|
145
|
-
h("div", {
|
|
146
|
-
class: "b-modal-page__header-container",
|
|
147
|
-
style: O(i.value.header)
|
|
148
|
-
}, [
|
|
149
|
-
h("div", Fe, [
|
|
150
|
-
q(t(x), {
|
|
151
|
-
class: "b-modal-page__title",
|
|
152
|
-
el: "span",
|
|
153
|
-
variant: "title",
|
|
154
|
-
stronger: ""
|
|
155
|
-
}, {
|
|
156
|
-
default: l(() => [
|
|
157
|
-
t(u)("default") ? c(a.$slots, "default", { key: 0 }, void 0, !0) : w("", !0)
|
|
158
|
-
]),
|
|
159
|
-
_: 3
|
|
160
|
-
})
|
|
161
|
-
])
|
|
162
|
-
], 4)
|
|
163
|
-
]),
|
|
164
|
-
key: "0"
|
|
165
|
-
} : void 0,
|
|
166
|
-
t(u)("actions") ? {
|
|
167
|
-
name: "footer",
|
|
168
|
-
fn: l(() => [
|
|
169
|
-
h("div", {
|
|
170
|
-
class: "b-modal-page__actions-container",
|
|
171
|
-
style: O(i.value.actions)
|
|
172
|
-
}, [
|
|
173
|
-
h("div", Me, [
|
|
174
|
-
c(a.$slots, "actions", {}, void 0, !0)
|
|
175
|
-
])
|
|
176
|
-
], 4)
|
|
177
|
-
]),
|
|
178
|
-
key: "1"
|
|
179
|
-
} : a.actions && a.actions.length > 0 ? {
|
|
180
|
-
name: "footer",
|
|
181
|
-
fn: l(() => [
|
|
182
|
-
h("div", {
|
|
183
|
-
class: "b-modal-page__actions-container",
|
|
184
|
-
style: O(i.value.actions)
|
|
185
|
-
}, [
|
|
186
|
-
q(t(De), {
|
|
187
|
-
actions: a.actions,
|
|
188
|
-
"actions-label": a.actionsLabel,
|
|
189
|
-
"destructive-actions": a.destructiveActions
|
|
190
|
-
}, null, 8, ["actions", "actions-label", "destructive-actions"])
|
|
191
|
-
], 4)
|
|
192
|
-
]),
|
|
193
|
-
key: "2"
|
|
194
|
-
} : void 0
|
|
195
|
-
]), 1032, ["class", "page-id", "always-show-border", "back-button-styling", "previous-page"]);
|
|
196
|
-
};
|
|
197
|
-
}
|
|
198
|
-
}), Ke = /* @__PURE__ */ oe(Ue, [["__scopeId", "data-v-1e6a91c3"]]), He = { class: "b-modal-base" }, Ye = ["role", "aria-label", "open"], Je = $({
|
|
199
|
-
i18n: { messages: ne },
|
|
200
|
-
name: "base-modal"
|
|
201
|
-
}), qe = /* @__PURE__ */ $({
|
|
202
|
-
...Je,
|
|
203
|
-
props: {
|
|
204
|
-
/**
|
|
205
|
-
* List of actions that will be used to render the buttons.
|
|
206
|
-
* First element in the list will be rendered as "primary".
|
|
207
|
-
* All elements after the first will be rendered as "secondary".
|
|
208
|
-
* But you may change the color of 1-st action to red with 'critial' key
|
|
209
|
-
* Not more than 3 action buttons can be provided
|
|
210
|
-
* Or 2 action buttons and 1 Label for them
|
|
211
|
-
*
|
|
212
|
-
* Each object in the list should have a `title`, an `event` and
|
|
213
|
-
* (optional) a Vue `icon` from the library `@adyen/ui-assets-icons-16`.
|
|
214
|
-
*
|
|
215
|
-
* `title`: Button's text.
|
|
216
|
-
*
|
|
217
|
-
* `event`: Event triggered when clicking the Button.
|
|
218
|
-
*
|
|
219
|
-
* `icon`: Vue Icon from the library `@adyen/ui-assets-icons-16`.
|
|
220
|
-
*
|
|
221
|
-
* ```
|
|
222
|
-
* [{
|
|
223
|
-
* title: 'Primary',2
|
|
224
|
-
* event: () => { ... },
|
|
225
|
-
* icon: FourPeopleIcon
|
|
226
|
-
* }, {
|
|
227
|
-
* title: 'Secondary',
|
|
228
|
-
* event: () => { ... }
|
|
229
|
-
* }]
|
|
230
|
-
* ```
|
|
231
|
-
*/
|
|
232
|
-
actions: {
|
|
233
|
-
type: Array,
|
|
234
|
-
default: null
|
|
235
|
-
},
|
|
236
|
-
/**
|
|
237
|
-
* The id of the current active page
|
|
238
|
-
* Should be the same id as the BentoModalPage to be displayed
|
|
239
|
-
*/
|
|
240
|
-
activePage: {
|
|
241
|
-
type: String,
|
|
242
|
-
default: null
|
|
243
|
-
},
|
|
244
|
-
/**
|
|
245
|
-
* If a column layout is provided, it renders the respective left column width variant. This can be smaller than the second column, the same size as the second column or bigger than the second column.
|
|
246
|
-
*/
|
|
247
|
-
columnsSize: {
|
|
248
|
-
type: String,
|
|
249
|
-
default: D.SMALLER
|
|
250
|
-
},
|
|
251
|
-
/**
|
|
252
|
-
* If provided, manages the padding of the whole modal container
|
|
253
|
-
*/
|
|
254
|
-
customPadding: { type: String, default: null },
|
|
255
|
-
/**
|
|
256
|
-
* If passed - sets first button color to red
|
|
257
|
-
*/
|
|
258
|
-
destructiveActions: { type: Boolean, default: !1 },
|
|
259
|
-
/**
|
|
260
|
-
* Hides a cross icon on the right side of the title
|
|
261
|
-
*/
|
|
262
|
-
hideCloseButton: { type: Boolean, required: !0 },
|
|
263
|
-
/**
|
|
264
|
-
* Sets the open attribute on the dialog element, use isOpen instead to toggle modal visbility.
|
|
265
|
-
*/
|
|
266
|
-
initiallyOpen: { type: Boolean, default: !1 },
|
|
267
|
-
/**
|
|
268
|
-
* If set to true, it allows the modal to be closed by clicking outside of it
|
|
269
|
-
*/
|
|
270
|
-
isDismissible: { type: Boolean, required: !0 },
|
|
271
|
-
/**
|
|
272
|
-
* Controls the modal's state from the outside. Set it to true to open the modal
|
|
273
|
-
*/
|
|
274
|
-
isOpen: { type: Boolean, required: !0 },
|
|
275
|
-
/**
|
|
276
|
-
* Defines whether the modal will be an alert modal
|
|
277
|
-
*/
|
|
278
|
-
modalRole: { type: String, default: W.DIALOG },
|
|
279
|
-
/**
|
|
280
|
-
* Sets the width of the modal
|
|
281
|
-
*/
|
|
282
|
-
size: {
|
|
283
|
-
type: String,
|
|
284
|
-
default: R.SMALL
|
|
285
|
-
},
|
|
286
|
-
/**
|
|
287
|
-
* If provided, renders the modal's content in a two-column layout an wth dividers separating its content
|
|
288
|
-
*/
|
|
289
|
-
withColumnLayout: { type: Boolean, default: !1 }
|
|
290
|
-
},
|
|
291
|
-
emits: ["update:active-page", "close-modal"],
|
|
292
|
-
setup(e, { expose: j, emit: F }) {
|
|
293
|
-
const { t: f } = he({ messages: ne }), s = ee(), M = ge(), _ = ae(s), i = g(null), y = g(!1), B = Ce("modal"), b = F, n = e, S = d(() => n.isDismissible && !n.hideCloseButton), C = g(n.customPadding), z = d(() => C.value ? { top: C.value, right: C.value } : {}), U = d(() => M["aria-label"] ?? f("ariaLabelFallback")), K = d(() => n.withColumnLayout && n.size === R.LARGE), L = () => {
|
|
294
|
-
i.value.showModal();
|
|
295
|
-
}, a = () => {
|
|
296
|
-
b("close-modal");
|
|
297
|
-
}, r = () => {
|
|
298
|
-
y.value && i.value && (i.value.close(), I.value[0] && b("update:active-page", I.value[0]), I.value = [], y.value = !1, a());
|
|
299
|
-
}, m = () => {
|
|
300
|
-
i.value.open && (y.value = !0);
|
|
301
|
-
}, v = (o) => {
|
|
302
|
-
o && o.preventDefault(), !(!n.isDismissible && n.modalRole === W.DIALOG) && m();
|
|
303
|
-
}, k = () => {
|
|
304
|
-
n.isDismissible && v();
|
|
305
|
-
}, T = d(() => ({
|
|
306
|
-
[`b-modal-base__container--${n.size}`]: n.size,
|
|
307
|
-
"b-modal-base__container--hide": y.value,
|
|
308
|
-
"b-modal-base__container--column-layout": K.value,
|
|
309
|
-
"b-modal-base__container--animation": Z.value
|
|
310
|
-
}));
|
|
311
|
-
Y(
|
|
312
|
-
() => [n.isOpen, i.value],
|
|
313
|
-
([o, p], [, H]) => {
|
|
314
|
-
if (!p)
|
|
315
|
-
return;
|
|
316
|
-
o ? (L(), I.value.length || I.value.push(E.value)) : !H || m();
|
|
317
|
-
}
|
|
318
|
-
), Y(
|
|
319
|
-
() => n.actions,
|
|
320
|
-
() => {
|
|
321
|
-
var o, p;
|
|
322
|
-
((p = (o = n.actions) == null ? void 0 : o[0]) == null ? void 0 : p.state) === "success" && setTimeout(m, 500);
|
|
323
|
-
},
|
|
324
|
-
{ deep: !0 }
|
|
325
|
-
), ve(() => {
|
|
326
|
-
n.isOpen && i.value && L();
|
|
327
|
-
}), j({
|
|
328
|
-
internalModalActionClose: v
|
|
329
|
-
}), G(Ae, B);
|
|
330
|
-
const { activePage: E, isOpen: Q, size: V } = pe(n), le = g(Pe.TRANSITION_LEVEL_DEEPER), N = g([]), I = g([]), ie = (o) => b("update:active-page", o), ue = (o) => () => {
|
|
331
|
-
var p;
|
|
332
|
-
N.value = (p = N.value) == null ? void 0 : p.filter((H) => H !== o);
|
|
333
|
-
}, de = (o) => (o && N.value.push(o), { unregisterPage: ue(o) }), X = g(""), Z = g(!1);
|
|
334
|
-
return G(se, {
|
|
335
|
-
activePage: E,
|
|
336
|
-
height: X,
|
|
337
|
-
isAnimationActive: Z,
|
|
338
|
-
pageCustomPadding: C,
|
|
339
|
-
showCloseButton: S,
|
|
340
|
-
size: V
|
|
341
|
-
}), G(Se, {
|
|
342
|
-
activePage: E,
|
|
343
|
-
animation: le,
|
|
344
|
-
isOpen: Q,
|
|
345
|
-
pages: N,
|
|
346
|
-
previousPages: I,
|
|
347
|
-
updatePage: ie
|
|
348
|
-
}), G(ke, de), (o, p) => (A(), fe("div", He, [
|
|
349
|
-
h("dialog", {
|
|
350
|
-
ref_key: "modal",
|
|
351
|
-
ref: i,
|
|
352
|
-
role: e.modalRole,
|
|
353
|
-
"aria-label": U.value,
|
|
354
|
-
style: O({ height: X.value }),
|
|
355
|
-
class: J(["b-modal-base__container", T.value]),
|
|
356
|
-
open: e.initiallyOpen,
|
|
357
|
-
onAnimationend: r,
|
|
358
|
-
onKeydown: _e(v, ["esc"])
|
|
359
|
-
}, [
|
|
360
|
-
t(Q) || e.initiallyOpen ? ye((A(), P(t(Le), {
|
|
361
|
-
key: 0,
|
|
362
|
-
id: t(B)
|
|
363
|
-
}, {
|
|
364
|
-
default: l(() => [
|
|
365
|
-
S.value ? (A(), P(t(be), {
|
|
366
|
-
key: 0,
|
|
367
|
-
class: "b-modal-base__close-button",
|
|
368
|
-
variant: "tertiary",
|
|
369
|
-
type: "button",
|
|
370
|
-
style: O(z.value),
|
|
371
|
-
onClick: v
|
|
372
|
-
}, {
|
|
373
|
-
default: l(() => [
|
|
374
|
-
q(t(Ie), {
|
|
375
|
-
"svg-title": t(f)("close")
|
|
376
|
-
}, null, 8, ["svg-title"])
|
|
377
|
-
]),
|
|
378
|
-
_: 1
|
|
379
|
-
}, 8, ["style"])) : w("", !0),
|
|
380
|
-
n.activePage ? c(o.$slots, "default", { key: 1 }, void 0, !0) : (A(), P(t(Ke), {
|
|
381
|
-
key: 2,
|
|
382
|
-
"with-column-layout": e.withColumnLayout,
|
|
383
|
-
size: t(V),
|
|
384
|
-
"custom-padding": e.customPadding,
|
|
385
|
-
"columns-size": e.columnsSize
|
|
386
|
-
}, te({ _: 2 }, [
|
|
387
|
-
t(_)("default") ? {
|
|
388
|
-
name: "default",
|
|
389
|
-
fn: l(() => [
|
|
390
|
-
c(o.$slots, "default", {}, void 0, !0)
|
|
391
|
-
]),
|
|
392
|
-
key: "0"
|
|
393
|
-
} : void 0,
|
|
394
|
-
t(_)("content-col-1") ? {
|
|
395
|
-
name: "content-col-1",
|
|
396
|
-
fn: l(() => [
|
|
397
|
-
c(o.$slots, "content-col-1", {}, void 0, !0)
|
|
398
|
-
]),
|
|
399
|
-
key: "1"
|
|
400
|
-
} : void 0,
|
|
401
|
-
t(_)("content-col-2") ? {
|
|
402
|
-
name: "content-col-2",
|
|
403
|
-
fn: l(() => [
|
|
404
|
-
c(o.$slots, "content-col-2", {}, void 0, !0)
|
|
405
|
-
]),
|
|
406
|
-
key: "2"
|
|
407
|
-
} : void 0,
|
|
408
|
-
t(_)("content") ? {
|
|
409
|
-
name: "content",
|
|
410
|
-
fn: l(() => [
|
|
411
|
-
c(o.$slots, "content", {}, void 0, !0)
|
|
412
|
-
]),
|
|
413
|
-
key: "3"
|
|
414
|
-
} : void 0,
|
|
415
|
-
t(_)("actions") ? {
|
|
416
|
-
name: "actions",
|
|
417
|
-
fn: l(() => [
|
|
418
|
-
c(o.$slots, "actions", {}, void 0, !0)
|
|
419
|
-
]),
|
|
420
|
-
key: "4"
|
|
421
|
-
} : void 0
|
|
422
|
-
]), 1032, ["with-column-layout", "size", "custom-padding", "columns-size"]))
|
|
423
|
-
]),
|
|
424
|
-
_: 3
|
|
425
|
-
}, 8, ["id"])), [
|
|
426
|
-
[t(Ee), k]
|
|
427
|
-
]) : w("", !0)
|
|
428
|
-
], 46, Ye)
|
|
429
|
-
]));
|
|
430
|
-
}
|
|
431
|
-
}), dt = /* @__PURE__ */ oe(qe, [["__scopeId", "data-v-8f2a75a1"]]);
|
|
432
|
-
export {
|
|
433
|
-
D as B,
|
|
434
|
-
Re as a,
|
|
435
|
-
$e as b,
|
|
436
|
-
Ke as c,
|
|
437
|
-
W as d,
|
|
438
|
-
R as e,
|
|
439
|
-
Ge as f,
|
|
440
|
-
we as g,
|
|
441
|
-
dt as h
|
|
442
|
-
};
|
|
443
|
-
//# sourceMappingURL=base-modal.gZAtk-xP.js.map
|
|
@@ -1,93 +0,0 @@
|
|
|
1
|
-
import { ref as v, watch as h, nextTick as m, defineComponent as w, toRef as b, computed as p, provide as A, openBlock as y, createElementBlock as B, createElementVNode as N, normalizeClass as k, createVNode as E, unref as T, createBlock as C, createCommentVNode as I } from "vue";
|
|
2
|
-
import { M as W, d as M, B as R, f as g } from "./button-actions.BYBpjNqy.js";
|
|
3
|
-
import { u as O } from "./index.Dppy4qHk.js";
|
|
4
|
-
import { _ as L } from "./_plugin-vue_export-helper.CHgC5LLL.js";
|
|
5
|
-
import "../assets/button-actions-with-menu.css";
|
|
6
|
-
const S = (f) => {
|
|
7
|
-
const { breakpoint: e, container: u, defaultActionsCount: i, offset: o } = f, { width: l } = O(), s = v(i.value), r = 150, c = async () => {
|
|
8
|
-
var t;
|
|
9
|
-
await m();
|
|
10
|
-
const a = u.value.clientWidth, n = r * s.value + (((t = o == null ? void 0 : o.value) == null ? void 0 : t.offsetWidth) ?? 0) + r;
|
|
11
|
-
a >= n && s.value < i.value && (s.value += 1, await c());
|
|
12
|
-
}, d = async () => {
|
|
13
|
-
var t;
|
|
14
|
-
await m();
|
|
15
|
-
const a = u.value.clientWidth, n = r * s.value + (((t = o == null ? void 0 : o.value) == null ? void 0 : t.offsetWidth) ?? 0);
|
|
16
|
-
a < n && s.value > 0 && (s.value -= 1, await d());
|
|
17
|
-
};
|
|
18
|
-
return h([l, u], async ([a, n], [t]) => {
|
|
19
|
-
if (!n || !i || a > e)
|
|
20
|
-
return;
|
|
21
|
-
await m(), a > t ? await c() : await d();
|
|
22
|
-
}), h(i, async (a) => {
|
|
23
|
-
s.value = a, e && l.value <= e && u.value && await d();
|
|
24
|
-
}), {
|
|
25
|
-
displayedActionsCount: s
|
|
26
|
-
};
|
|
27
|
-
}, V = { class: "b-button-actions-with-menu" }, D = {}, P = /* @__PURE__ */ w({
|
|
28
|
-
...D,
|
|
29
|
-
__name: "button-actions-with-menu",
|
|
30
|
-
props: {
|
|
31
|
-
actions: {},
|
|
32
|
-
actionsLayout: { default: "buttons-end" },
|
|
33
|
-
disableResponsiveBehavior: { type: Boolean, default: !1 },
|
|
34
|
-
displayedActions: { default: void 0 },
|
|
35
|
-
inverse: { type: Boolean, default: !1 },
|
|
36
|
-
hideDisplayedActionsBreakpoint: { default: 0 },
|
|
37
|
-
menuPosition: { default: "bottom-start" }
|
|
38
|
-
},
|
|
39
|
-
setup(f) {
|
|
40
|
-
const e = f, u = b(e, "inverse"), i = v(null), o = v(null), l = v(!1), s = p(() => {
|
|
41
|
-
const n = e.hideDisplayedActionsBreakpoint ? c.value : e.displayedActions;
|
|
42
|
-
return e.actions.slice(0, n);
|
|
43
|
-
}), r = p(() => {
|
|
44
|
-
var n;
|
|
45
|
-
return (n = o == null ? void 0 : o.value) == null ? void 0 : n.$el;
|
|
46
|
-
}), { displayedActionsCount: c } = S({
|
|
47
|
-
breakpoint: e.hideDisplayedActionsBreakpoint,
|
|
48
|
-
container: i,
|
|
49
|
-
defaultActionsCount: b(e, "displayedActions"),
|
|
50
|
-
offset: r
|
|
51
|
-
});
|
|
52
|
-
A(W, u), e.disableResponsiveBehavior || A(M, { buttonActionsWithMenu: i, menu: o, stackButtons: l });
|
|
53
|
-
const d = p(() => ({
|
|
54
|
-
"b-button-actions-with-menu__container-wrapper--buttons-end": e.actionsLayout === "buttons-end",
|
|
55
|
-
"b-button-actions-with-menu__container-wrapper--buttons-start": e.actionsLayout === "buttons-start",
|
|
56
|
-
"b-button-actions-with-menu__container-wrapper--stacked-buttons": l.value
|
|
57
|
-
})), a = p(() => c.value === void 0 || c.value >= e.actions.length ? [] : e.actions.slice(c.value, e.actions.length).flatMap((t) => t.data ? t.data : {
|
|
58
|
-
text: t.title,
|
|
59
|
-
handler: () => {
|
|
60
|
-
var _;
|
|
61
|
-
return (_ = t.event) == null ? void 0 : _.call(t, {});
|
|
62
|
-
},
|
|
63
|
-
icon: t.icon,
|
|
64
|
-
critical: t.critical,
|
|
65
|
-
disabled: t.disabled
|
|
66
|
-
}));
|
|
67
|
-
return (n, t) => (y(), B("div", V, [
|
|
68
|
-
N("div", {
|
|
69
|
-
ref_key: "buttonActionsWithMenu",
|
|
70
|
-
ref: i,
|
|
71
|
-
role: "group",
|
|
72
|
-
class: k(["b-button-actions-with-menu__container-wrapper", d.value])
|
|
73
|
-
}, [
|
|
74
|
-
E(T(R), {
|
|
75
|
-
actions: s.value,
|
|
76
|
-
inverse: n.inverse,
|
|
77
|
-
layout: n.actionsLayout
|
|
78
|
-
}, null, 8, ["actions", "inverse", "layout"]),
|
|
79
|
-
a.value.length ? (y(), C(g, {
|
|
80
|
-
key: 0,
|
|
81
|
-
ref_key: "menu",
|
|
82
|
-
ref: o,
|
|
83
|
-
data: a.value,
|
|
84
|
-
"menu-position": n.menuPosition
|
|
85
|
-
}, null, 8, ["data", "menu-position"])) : I("", !0)
|
|
86
|
-
], 2)
|
|
87
|
-
]));
|
|
88
|
-
}
|
|
89
|
-
}), J = /* @__PURE__ */ L(P, [["__scopeId", "data-v-803aebe6"]]);
|
|
90
|
-
export {
|
|
91
|
-
J as B
|
|
92
|
-
};
|
|
93
|
-
//# sourceMappingURL=button-actions-with-menu.Tba1ME79.js.map
|