@adyen/bento-vue2 1.51.0 → 1.53.0
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/dist/@types/components.d.ts +2 -0
- package/dist/@types/index.d.ts +583 -79
- package/dist/action-bar.js +1 -1
- package/dist/alert.js +1 -1
- package/dist/assets/accordion-item.css +1 -1
- package/dist/assets/action-bar.css +1 -1
- package/dist/assets/base-modal.css +1 -1
- package/dist/assets/button-actions-with-menu.css +1 -1
- package/dist/assets/calendar.css +1 -1
- package/dist/assets/card.css +1 -1
- package/dist/assets/checkbox-input.css +1 -1
- package/dist/assets/checkbox.css +1 -1
- package/dist/assets/dashed-underline.css +1 -1
- package/dist/assets/data-grid.css +1 -1
- package/dist/assets/date-picker.css +1 -1
- package/dist/assets/date-range-picker.css +1 -1
- package/dist/assets/dialog-page.css +1 -1
- package/dist/assets/dropdown.css +1 -1
- package/dist/assets/file-uploader.css +1 -1
- package/dist/assets/filter-bar.css +1 -1
- package/dist/assets/form-layout-title.css +1 -1
- package/dist/assets/header-with-views.css +1 -0
- package/dist/assets/input-field-password.css +1 -1
- package/dist/assets/input-field-phone-number.css +1 -1
- package/dist/assets/input-field.css +1 -1
- package/dist/assets/inspector.css +1 -1
- package/dist/assets/menu.css +1 -1
- package/dist/assets/modal-fullscreen.css +1 -1
- package/dist/assets/popover.css +1 -1
- package/dist/assets/sidepanel.css +1 -1
- package/dist/assets/summary-grid-item-custom.css +1 -1
- package/dist/assets/use-cached-selected-values.css +1 -1
- package/dist/button.js +1 -1
- package/dist/card.js +1 -1
- package/dist/checkbox.js +3 -3
- package/dist/chunks/{action-bar.DGhojWpe.js → action-bar.Cuktzrp5.js} +5 -5
- package/dist/chunks/{action-bar.DGhojWpe.js.map → action-bar.Cuktzrp5.js.map} +1 -1
- package/dist/chunks/{alert.BSBLkXkM.js → alert.BkMKX9wD.js} +9 -9
- package/dist/chunks/alert.BkMKX9wD.js.map +1 -0
- package/dist/chunks/{base-modal.Dan5WQin.js → base-modal.DnaWOvaM.js} +4 -4
- package/dist/chunks/{base-modal.Dan5WQin.js.map → base-modal.DnaWOvaM.js.map} +1 -1
- package/dist/chunks/bin.DuebwJYu.js +24 -0
- package/dist/chunks/bin.DuebwJYu.js.map +1 -0
- package/dist/chunks/button-actions-with-menu.twMFsb82.js +166 -0
- package/dist/chunks/button-actions-with-menu.twMFsb82.js.map +1 -0
- package/dist/chunks/{button-actions.GhdYBSwt.js → button-actions.DAvSJtOB.js} +3 -3
- package/dist/chunks/{button-actions.GhdYBSwt.js.map → button-actions.DAvSJtOB.js.map} +1 -1
- package/dist/chunks/calendar.CJToU_uI.js +1130 -0
- package/dist/chunks/calendar.CJToU_uI.js.map +1 -0
- package/dist/chunks/{card.Csazj5Qz.js → card.AQO_BjGb.js} +2 -2
- package/dist/chunks/{card.Csazj5Qz.js.map → card.AQO_BjGb.js.map} +1 -1
- package/dist/chunks/{checkbox-group.DcJ31aLq.js → checkbox-group.DkM6n3JR.js} +4 -4
- package/dist/chunks/{checkbox-group.DcJ31aLq.js.map → checkbox-group.DkM6n3JR.js.map} +1 -1
- package/dist/chunks/checkbox-input.CMhyJDdo.js +129 -0
- package/dist/chunks/checkbox-input.CMhyJDdo.js.map +1 -0
- package/dist/chunks/checkbox.l7h6GYew.js +176 -0
- package/dist/chunks/checkbox.l7h6GYew.js.map +1 -0
- package/dist/chunks/checkmark-circle-fill.DZBl7CeY.js +24 -0
- package/dist/chunks/checkmark-circle-fill.DZBl7CeY.js.map +1 -0
- package/dist/chunks/{click-outside.DSszkIvs.js → click-outside.C1Ud8AA2.js} +2 -2
- package/dist/chunks/{click-outside.DSszkIvs.js.map → click-outside.C1Ud8AA2.js.map} +1 -1
- package/dist/chunks/{code-snippet.z_G2UXVT.js → code-snippet.BsEe6nml.js} +5 -5
- package/dist/chunks/{code-snippet.z_G2UXVT.js.map → code-snippet.BsEe6nml.js.map} +1 -1
- package/dist/chunks/{controls-group.ghJ7a8PY.js → controls-group.vFyThDMU.js} +2 -2
- package/dist/chunks/{controls-group.ghJ7a8PY.js.map → controls-group.vFyThDMU.js.map} +1 -1
- package/dist/chunks/{copy.BNOiinIt.js → copy.DD_Yfyn_.js} +3 -3
- package/dist/chunks/{copy.BNOiinIt.js.map → copy.DD_Yfyn_.js.map} +1 -1
- package/dist/chunks/cross-circle-fill.Ra0-PIUo.js +24 -0
- package/dist/chunks/cross-circle-fill.Ra0-PIUo.js.map +1 -0
- package/dist/chunks/{dashboard-section.Db_E382r.js → dashboard-section.z-Rnv5E-.js} +3 -3
- package/dist/chunks/{dashboard-section.Db_E382r.js.map → dashboard-section.z-Rnv5E-.js.map} +1 -1
- package/dist/chunks/{dashed-underline.CAhDrAG_.js → dashed-underline.CfQuYKV9.js} +8 -8
- package/dist/chunks/{dashed-underline.CAhDrAG_.js.map → dashed-underline.CfQuYKV9.js.map} +1 -1
- package/dist/chunks/{data-grid-template.DG5IWdLG.js → data-grid-template.73mazFER.js} +2 -2
- package/dist/chunks/{data-grid-template.DG5IWdLG.js.map → data-grid-template.73mazFER.js.map} +1 -1
- package/dist/chunks/{data-grid.CHV-FvBB.js → data-grid.C_Xoz-GC.js} +38 -28
- package/dist/chunks/data-grid.C_Xoz-GC.js.map +1 -0
- package/dist/chunks/date-picker.bgk9aymW.js +235 -0
- package/dist/chunks/date-picker.bgk9aymW.js.map +1 -0
- package/dist/chunks/date-range-picker.-s05jOQA.js +903 -0
- package/dist/chunks/date-range-picker.-s05jOQA.js.map +1 -0
- package/dist/chunks/{date.YLIcAerL.js → date.dYFFEunA.js} +12 -12
- package/dist/chunks/{date.YLIcAerL.js.map → date.dYFFEunA.js.map} +1 -1
- package/dist/chunks/{directive.O3yEdalv.js → directive.Cbdox5VL.js} +2 -2
- package/dist/chunks/{directive.O3yEdalv.js.map → directive.Cbdox5VL.js.map} +1 -1
- package/dist/chunks/{dropdown-default-textbox.DzPBw4CV.js → dropdown-default-textbox.CDTdHfTv.js} +2 -2
- package/dist/chunks/{dropdown-default-textbox.DzPBw4CV.js.map → dropdown-default-textbox.CDTdHfTv.js.map} +1 -1
- package/dist/chunks/{dropdown-tag.K4idCLeu.js → dropdown-tag.8qh8J-NE.js} +4 -4
- package/dist/chunks/{dropdown-tag.K4idCLeu.js.map → dropdown-tag.8qh8J-NE.js.map} +1 -1
- package/dist/chunks/{dropdown.DFEGHxjw.js → dropdown.DzWXcJyF.js} +141 -132
- package/dist/chunks/dropdown.DzWXcJyF.js.map +1 -0
- package/dist/chunks/{error-message.B3oWB_HM.js → error-message.CzQf7YOD.js} +3 -3
- package/dist/chunks/{error-message.B3oWB_HM.js.map → error-message.CzQf7YOD.js.map} +1 -1
- package/dist/chunks/es6.BtaxuP0b.js.map +1 -1
- package/dist/chunks/{file-uploader.DaBMZSsB.js → file-uploader.CcZPr-jD.js} +329 -328
- package/dist/chunks/file-uploader.CcZPr-jD.js.map +1 -0
- package/dist/chunks/{filter-bar.DClIG9aP.js → filter-bar.BdGtQC7p.js} +619 -668
- package/dist/chunks/filter-bar.BdGtQC7p.js.map +1 -0
- package/dist/chunks/{focus-trap._RrLaKlq.js → focus-trap.CIUzScHc.js} +2 -2
- package/dist/chunks/{focus-trap._RrLaKlq.js.map → focus-trap.CIUzScHc.js.map} +1 -1
- package/dist/chunks/{footer-actions.D0SuJroc.js → footer-actions.BkHpWa7A.js} +2 -2
- package/dist/chunks/{footer-actions.D0SuJroc.js.map → footer-actions.BkHpWa7A.js.map} +1 -1
- package/dist/chunks/{form-layout-title.C1n2S73_.js → form-layout-title.DK1-01RH.js} +50 -47
- package/dist/chunks/form-layout-title.DK1-01RH.js.map +1 -0
- package/dist/chunks/header-with-views.ChEgH2tn.js +1536 -0
- package/dist/chunks/header-with-views.ChEgH2tn.js.map +1 -0
- package/dist/chunks/header.0hX8OYwM.js +183 -0
- package/dist/chunks/header.0hX8OYwM.js.map +1 -0
- package/dist/chunks/index.BCUiAdb6.js +387 -0
- package/dist/chunks/{index.CU8GKq4C.js.map → index.BCUiAdb6.js.map} +1 -1
- package/dist/chunks/index.BDuTpjD8.js +40 -0
- package/dist/chunks/index.BDuTpjD8.js.map +1 -0
- package/dist/chunks/index.BxBB1rsx.js +15 -0
- package/dist/chunks/index.BxBB1rsx.js.map +1 -0
- package/dist/chunks/index.DD7TppDb.js +10 -0
- package/dist/chunks/index.DD7TppDb.js.map +1 -0
- package/dist/chunks/{info-icon-with-popover.C29aZ1Vh.js → info-icon-with-popover.w6MpKOWh.js} +3 -3
- package/dist/chunks/{info-icon-with-popover.C29aZ1Vh.js.map → info-icon-with-popover.w6MpKOWh.js.map} +1 -1
- package/dist/chunks/{info-icon.bXR5eo6I.js → info-icon.C1ReXurF.js} +4 -4
- package/dist/chunks/{info-icon.bXR5eo6I.js.map → info-icon.C1ReXurF.js.map} +1 -1
- package/dist/chunks/info.4d_mJHvT.js +24 -0
- package/dist/chunks/info.4d_mJHvT.js.map +1 -0
- package/dist/chunks/input-field-password.CZn4kW8v.js +198 -0
- package/dist/chunks/input-field-password.CZn4kW8v.js.map +1 -0
- package/dist/chunks/{input-field-phone-number.Bmugk7fI.js → input-field-phone-number.C8WTJ1W-.js} +324 -321
- package/dist/chunks/{input-field-phone-number.Bmugk7fI.js.map → input-field-phone-number.C8WTJ1W-.js.map} +1 -1
- package/dist/chunks/input-field.tP3Eupoo.js +152 -0
- package/dist/chunks/input-field.tP3Eupoo.js.map +1 -0
- package/dist/chunks/{inspector.types.C9Oc8FgA.js → inspector.types.A0b4jNO3.js} +3 -3
- package/dist/chunks/{inspector.types.C9Oc8FgA.js.map → inspector.types.A0b4jNO3.js.map} +1 -1
- package/dist/chunks/{layout-row.CHwDU8yK.js → layout-row.BgBazwnM.js} +2 -2
- package/dist/chunks/{layout-row.CHwDU8yK.js.map → layout-row.BgBazwnM.js.map} +1 -1
- package/dist/chunks/{listbox-option-tag.bPRcATJK.js → listbox-option-tag.T9cfTst7.js} +2 -2
- package/dist/chunks/{listbox-option-tag.bPRcATJK.js.map → listbox-option-tag.T9cfTst7.js.map} +1 -1
- package/dist/chunks/{menu.CzbkunwY.js → menu.CY7ceslP.js} +88 -87
- package/dist/chunks/menu.CY7ceslP.js.map +1 -0
- package/dist/chunks/{modal-fullscreen.C4D3Rkdg.js → modal-fullscreen.Dz5w250z.js} +3 -3
- package/dist/chunks/{modal-fullscreen.C4D3Rkdg.js.map → modal-fullscreen.Dz5w250z.js.map} +1 -1
- package/dist/chunks/{modal.DgCmKjQC.js → modal.CnmRkXZM.js} +4 -4
- package/dist/chunks/{modal.DgCmKjQC.js.map → modal.CnmRkXZM.js.map} +1 -1
- package/dist/chunks/{on-click-outside.MUWbmGDn.js → on-click-outside.D9aY9g8G.js} +3 -2
- package/dist/chunks/{on-click-outside.MUWbmGDn.js.map → on-click-outside.D9aY9g8G.js.map} +1 -1
- package/dist/chunks/{pagination.CdOxfZW2.js → pagination.CvGOUwd8.js} +2 -2
- package/dist/chunks/{pagination.CdOxfZW2.js.map → pagination.CvGOUwd8.js.map} +1 -1
- package/dist/chunks/payment-method.NZKiNOmM.js +76 -0
- package/dist/chunks/payment-method.NZKiNOmM.js.map +1 -0
- package/dist/chunks/{popover.3sHql3nd.js → popover.BvsqsZQ1.js} +3 -3
- package/dist/chunks/{popover.3sHql3nd.js.map → popover.BvsqsZQ1.js.map} +1 -1
- package/dist/chunks/{popper-container.Bqy3oVj6.js → popper-container.LRQgzjRf.js} +2 -2
- package/dist/chunks/{popper-container.Bqy3oVj6.js.map → popper-container.LRQgzjRf.js.map} +1 -1
- package/dist/chunks/{promo-banner.BIICM7FC.js → promo-banner.DDnJwMDC.js} +2 -2
- package/dist/chunks/{promo-banner.BIICM7FC.js.map → promo-banner.DDnJwMDC.js.map} +1 -1
- package/dist/chunks/{radio-group.L-XokgwC.js → radio-group.BvswbJa8.js} +4 -4
- package/dist/chunks/{radio-group.L-XokgwC.js.map → radio-group.BvswbJa8.js.map} +1 -1
- package/dist/chunks/{search-bar.CDTWPjG1.js → search-bar.kKLreEXo.js} +5 -5
- package/dist/chunks/{search-bar.CDTWPjG1.js.map → search-bar.kKLreEXo.js.map} +1 -1
- package/dist/chunks/search.DLtglc02.js +24 -0
- package/dist/chunks/search.DLtglc02.js.map +1 -0
- package/dist/chunks/{secondary-nav.BwmBTvl5.js → secondary-nav.C6bfsK2p.js} +3 -3
- package/dist/chunks/{secondary-nav.BwmBTvl5.js.map → secondary-nav.C6bfsK2p.js.map} +1 -1
- package/dist/chunks/{segmented-control.CW6v1rDg.js → segmented-control.BywW3ont.js} +2 -2
- package/dist/chunks/{segmented-control.CW6v1rDg.js.map → segmented-control.BywW3ont.js.map} +1 -1
- package/dist/chunks/{selection-card-group.CURxGbd9.js → selection-card-group.Ca4G00h5.js} +5 -5
- package/dist/chunks/{selection-card-group.CURxGbd9.js.map → selection-card-group.Ca4G00h5.js.map} +1 -1
- package/dist/chunks/{sidepanel.MBArfd4a.js → sidepanel.D4H3Vu0m.js} +4 -4
- package/dist/chunks/{sidepanel.MBArfd4a.js.map → sidepanel.D4H3Vu0m.js.map} +1 -1
- package/dist/chunks/{structured-list-item.CYYZ1Fil.js → structured-list-item.Bv8reTz2.js} +5 -5
- package/dist/chunks/{structured-list-item.CYYZ1Fil.js.map → structured-list-item.Bv8reTz2.js.map} +1 -1
- package/dist/chunks/{summary-grid-item-custom.CVEhwKNM.js → summary-grid-item-custom.Bbdie4EL.js} +188 -135
- package/dist/chunks/summary-grid-item-custom.Bbdie4EL.js.map +1 -0
- package/dist/chunks/{tag.BxmageRW.js → tag.IyMxowGc.js} +2 -2
- package/dist/chunks/{tag.BxmageRW.js.map → tag.IyMxowGc.js.map} +1 -1
- package/dist/chunks/{teleport.B5fwsT5y.js → teleport.BHfrns33.js} +2 -2
- package/dist/chunks/{teleport.B5fwsT5y.js.map → teleport.BHfrns33.js.map} +1 -1
- package/dist/chunks/{textarea.DmjhRupr.js → textarea.B9HjT5LH.js} +2 -2
- package/dist/chunks/{textarea.DmjhRupr.js.map → textarea.B9HjT5LH.js.map} +1 -1
- package/dist/chunks/{timeline-item.CLbS-cEf.js → timeline-item.BIwk0vqM.js} +12 -11
- package/dist/chunks/{timeline-item.CLbS-cEf.js.map → timeline-item.BIwk0vqM.js.map} +1 -1
- package/dist/chunks/{tooltip.Vgoc41cI.js → tooltip.DShIiBiY.js} +2 -2
- package/dist/chunks/{tooltip.Vgoc41cI.js.map → tooltip.DShIiBiY.js.map} +1 -1
- package/dist/chunks/{tutorial.CmLMgXDK.js → tutorial.DDlXTjAO.js} +42 -42
- package/dist/chunks/tutorial.DDlXTjAO.js.map +1 -0
- package/dist/chunks/{use-cached-selected-values.DVcpkFV3.js → use-cached-selected-values.LVldNial.js} +13 -9
- package/dist/chunks/{use-cached-selected-values.DVcpkFV3.js.map → use-cached-selected-values.LVldNial.js.map} +1 -1
- package/dist/click-outside.js +1 -1
- package/dist/code-snippet.js +1 -1
- package/dist/dashboard-template.js +1 -1
- package/dist/dashed-underline.js +2 -2
- package/dist/data-grid-template.js +1 -1
- package/dist/data-grid.js +1 -1
- package/dist/date-picker.js +2 -2
- package/dist/date-range-picker.js +2 -2
- package/dist/date.js +1 -1
- package/dist/dropdown.js +4 -4
- package/dist/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 +5 -0
- package/dist/header-with-views.js.map +1 -0
- package/dist/header.js +1 -1
- package/dist/index.js +200 -198
- 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 +35 -33
- package/dist/layout.js +1 -1
- package/dist/menu.js +1 -1
- package/dist/modal-fullscreen.js +1 -1
- package/dist/modal.js +2 -2
- package/dist/pagination.js +1 -1
- package/dist/payment-method.js +1 -1
- package/dist/popover.js +1 -1
- package/dist/popper-container.js +1 -1
- package/dist/promo-banner.js +1 -1
- package/dist/radio-group.js +1 -1
- package/dist/search-bar.js +2 -2
- package/dist/secondary-nav.js +1 -1
- package/dist/segmented-control.js +1 -1
- package/dist/selection-card.js +1 -1
- package/dist/sidepanel.js +1 -1
- package/dist/structured-list.js +1 -1
- package/dist/styles/bento-dark.css +73 -1
- package/dist/styles/bento-light.css +73 -1
- package/dist/styles/bento.css +73 -1
- package/dist/styles/legacy.css +75 -3
- package/dist/styles/styleguide.css +73 -1
- package/dist/summary-grid.js +1 -1
- package/dist/tag.js +1 -1
- package/dist/textarea.js +1 -1
- package/dist/timeline.js +1 -1
- package/dist/tutorial.js +1 -1
- package/dist/use-form-v4.js +8300 -0
- package/dist/use-form-v4.js.map +1 -0
- package/dist/web-types.json +1005 -206
- package/package.json +9 -8
- package/dist/chunks/alert.BSBLkXkM.js.map +0 -1
- package/dist/chunks/button-actions-with-menu.B5gcSgRQ.js +0 -112
- package/dist/chunks/button-actions-with-menu.B5gcSgRQ.js.map +0 -1
- package/dist/chunks/calendar.YJTNpmzh.js +0 -888
- package/dist/chunks/calendar.YJTNpmzh.js.map +0 -1
- package/dist/chunks/checkbox-input.B4A_gL2b.js +0 -128
- package/dist/chunks/checkbox-input.B4A_gL2b.js.map +0 -1
- package/dist/chunks/checkbox.BpF0HY7C.js +0 -162
- package/dist/chunks/checkbox.BpF0HY7C.js.map +0 -1
- package/dist/chunks/checkmark-circle-fill.C46dV1Rf.js +0 -24
- package/dist/chunks/checkmark-circle-fill.C46dV1Rf.js.map +0 -1
- package/dist/chunks/cross-circle-fill.BawVYNw7.js +0 -24
- package/dist/chunks/cross-circle-fill.BawVYNw7.js.map +0 -1
- package/dist/chunks/data-grid.CHV-FvBB.js.map +0 -1
- package/dist/chunks/date-picker.CMj5-RQl.js +0 -213
- package/dist/chunks/date-picker.CMj5-RQl.js.map +0 -1
- package/dist/chunks/date-range-picker.Jysfo6h3.js +0 -885
- package/dist/chunks/date-range-picker.Jysfo6h3.js.map +0 -1
- package/dist/chunks/dropdown.DFEGHxjw.js.map +0 -1
- package/dist/chunks/file-uploader.DaBMZSsB.js.map +0 -1
- package/dist/chunks/filter-bar.DClIG9aP.js.map +0 -1
- package/dist/chunks/form-layout-title.C1n2S73_.js.map +0 -1
- package/dist/chunks/header.CRlxEGHb.js +0 -205
- package/dist/chunks/header.CRlxEGHb.js.map +0 -1
- package/dist/chunks/index.CU8GKq4C.js +0 -369
- package/dist/chunks/index.CrhTVr5J.js +0 -10
- package/dist/chunks/index.CrhTVr5J.js.map +0 -1
- package/dist/chunks/index.DDnf1O9p.js +0 -22
- package/dist/chunks/index.DDnf1O9p.js.map +0 -1
- package/dist/chunks/index.DPafeRJa.js +0 -10
- package/dist/chunks/index.DPafeRJa.js.map +0 -1
- package/dist/chunks/info.D4SG-AIm.js +0 -24
- package/dist/chunks/info.D4SG-AIm.js.map +0 -1
- package/dist/chunks/input-field-password.DsIpkc_9.js +0 -191
- package/dist/chunks/input-field-password.DsIpkc_9.js.map +0 -1
- package/dist/chunks/input-field.Dl2lXZda.js +0 -146
- package/dist/chunks/input-field.Dl2lXZda.js.map +0 -1
- package/dist/chunks/menu.CzbkunwY.js.map +0 -1
- package/dist/chunks/payment-method.BudFG3aC.js +0 -76
- package/dist/chunks/payment-method.BudFG3aC.js.map +0 -1
- package/dist/chunks/search.pVu-JVAN.js +0 -24
- package/dist/chunks/search.pVu-JVAN.js.map +0 -1
- package/dist/chunks/summary-grid-item-custom.CVEhwKNM.js.map +0 -1
- package/dist/chunks/tutorial.CmLMgXDK.js.map +0 -1
package/dist/@types/index.d.ts
CHANGED
|
@@ -11,6 +11,7 @@ import { DirectiveBinding } from 'vue';
|
|
|
11
11
|
import type { DirectiveHook } from 'vue';
|
|
12
12
|
import { EditorView } from '@codemirror/view';
|
|
13
13
|
import { ExtractPropTypes } from 'vue';
|
|
14
|
+
import type { HTMLAttributes } from 'vue/types/jsx.d.ts';
|
|
14
15
|
import { Placement } from '@floating-ui/vue';
|
|
15
16
|
import type { PluginObject } from 'vue';
|
|
16
17
|
import { PropType } from 'vue';
|
|
@@ -72,6 +73,8 @@ declare type __VLS_NonUndefinedable_30<T> = T extends undefined ? never : T;
|
|
|
72
73
|
|
|
73
74
|
declare type __VLS_NonUndefinedable_31<T> = T extends undefined ? never : T;
|
|
74
75
|
|
|
76
|
+
declare type __VLS_NonUndefinedable_32<T> = T extends undefined ? never : T;
|
|
77
|
+
|
|
75
78
|
declare type __VLS_NonUndefinedable_4<T> = T extends undefined ? never : T;
|
|
76
79
|
|
|
77
80
|
declare type __VLS_NonUndefinedable_5<T> = T extends undefined ? never : T;
|
|
@@ -309,6 +312,15 @@ declare type __VLS_TypePropsToRuntimeProps_31<T> = {
|
|
|
309
312
|
};
|
|
310
313
|
};
|
|
311
314
|
|
|
315
|
+
declare type __VLS_TypePropsToRuntimeProps_32<T> = {
|
|
316
|
+
[K in keyof T]-?: {} extends Pick<T, K> ? {
|
|
317
|
+
type: PropType<__VLS_NonUndefinedable_32<T[K]>>;
|
|
318
|
+
} : {
|
|
319
|
+
type: PropType<T[K]>;
|
|
320
|
+
required: true;
|
|
321
|
+
};
|
|
322
|
+
};
|
|
323
|
+
|
|
312
324
|
declare type __VLS_TypePropsToRuntimeProps_4<T> = {
|
|
313
325
|
[K in keyof T]-?: {} extends Pick<T, K> ? {
|
|
314
326
|
type: PropType<__VLS_NonUndefinedable_4<T[K]>>;
|
|
@@ -489,6 +501,12 @@ declare type __VLS_WithDefaults_28<P, D> = {
|
|
|
489
501
|
} : P[K];
|
|
490
502
|
};
|
|
491
503
|
|
|
504
|
+
declare type __VLS_WithDefaults_29<P, D> = {
|
|
505
|
+
[K in keyof Pick<P, keyof P>]: K extends keyof D ? P[K] & {
|
|
506
|
+
default: D[K];
|
|
507
|
+
} : P[K];
|
|
508
|
+
};
|
|
509
|
+
|
|
492
510
|
declare type __VLS_WithDefaults_3<P, D> = {
|
|
493
511
|
[K in keyof Pick<P, keyof P>]: K extends keyof D ? P[K] & {
|
|
494
512
|
default: D[K];
|
|
@@ -759,6 +777,12 @@ declare type __VLS_WithTemplateSlots_43<T, S> = T & {
|
|
|
759
777
|
};
|
|
760
778
|
};
|
|
761
779
|
|
|
780
|
+
declare type __VLS_WithTemplateSlots_44<T, S> = T & {
|
|
781
|
+
new (): {
|
|
782
|
+
$slots: S;
|
|
783
|
+
};
|
|
784
|
+
};
|
|
785
|
+
|
|
762
786
|
declare type __VLS_WithTemplateSlots_5<T, S> = T & {
|
|
763
787
|
new (): {
|
|
764
788
|
$slots: S;
|
|
@@ -791,6 +815,7 @@ declare type __VLS_WithTemplateSlots_9<T, S> = T & {
|
|
|
791
815
|
|
|
792
816
|
/**
|
|
793
817
|
* Extracts all the keys from a type
|
|
818
|
+
* @deprecated For usage with Zod/v3. Migrate to Zod/v4 and use `@adyen/bento-vue2/use-form-v4' instead or migrate to Vue3 and use Vee-Validate instead.
|
|
794
819
|
*/
|
|
795
820
|
export declare type allKeys<T> = T extends any ? keyof T : never;
|
|
796
821
|
|
|
@@ -1915,6 +1940,10 @@ shouldShowError: ComputedRef<boolean>;
|
|
|
1915
1940
|
shouldShowErrorMessage: ComputedRef<boolean>;
|
|
1916
1941
|
contentSlotAvailable: ComputedRef<boolean>;
|
|
1917
1942
|
hasContentSlot: ComputedRef<boolean>;
|
|
1943
|
+
styleAttrs: ComputedRef< {
|
|
1944
|
+
class: HTMLAttributes["class"];
|
|
1945
|
+
style: HTMLAttributes["style"];
|
|
1946
|
+
}>;
|
|
1918
1947
|
hasSlot: (name: string) => boolean;
|
|
1919
1948
|
onChange: (newValue: BentoCheckboxType | BentoCheckboxGroupItems) => void;
|
|
1920
1949
|
t: (key: "required" | "optional" | "checkbox", values?: default_2.Values) => string;
|
|
@@ -3313,7 +3342,7 @@ export declare interface BentoCurrencyProps {
|
|
|
3313
3342
|
* `
|
|
3314
3343
|
* }
|
|
3315
3344
|
*/
|
|
3316
|
-
export declare const BentoDashboardSection:
|
|
3345
|
+
export declare const BentoDashboardSection: __VLS_WithTemplateSlots_43<DefineComponent<__VLS_WithDefaults_29<__VLS_TypePropsToRuntimeProps_32<{
|
|
3317
3346
|
/**
|
|
3318
3347
|
* The header of the section
|
|
3319
3348
|
*/
|
|
@@ -3324,7 +3353,7 @@ header: BentoDashboardTemplateHeader;
|
|
|
3324
3353
|
halfWidth?: boolean;
|
|
3325
3354
|
}>, {
|
|
3326
3355
|
halfWidth: boolean;
|
|
3327
|
-
}>, {}, {}, {}, {}, ComponentOptionsMixin, ComponentOptionsMixin, {}, string, Readonly<ExtractPropTypes<
|
|
3356
|
+
}>, {}, {}, {}, {}, ComponentOptionsMixin, ComponentOptionsMixin, {}, string, Readonly<ExtractPropTypes<__VLS_WithDefaults_29<__VLS_TypePropsToRuntimeProps_32<{
|
|
3328
3357
|
/**
|
|
3329
3358
|
* The header of the section
|
|
3330
3359
|
*/
|
|
@@ -3372,7 +3401,7 @@ halfWidth: boolean;
|
|
|
3372
3401
|
* `
|
|
3373
3402
|
* }
|
|
3374
3403
|
*/
|
|
3375
|
-
export declare const BentoDashboardTemplate:
|
|
3404
|
+
export declare const BentoDashboardTemplate: __VLS_WithTemplateSlots_42<DefineComponent<__VLS_WithDefaults_28<__VLS_TypePropsToRuntimeProps_31<{
|
|
3376
3405
|
/**
|
|
3377
3406
|
* The header that goes to the top of the template
|
|
3378
3407
|
*/
|
|
@@ -3395,7 +3424,7 @@ stickyFilters?: boolean;
|
|
|
3395
3424
|
tabs: any;
|
|
3396
3425
|
stickyTabs: boolean;
|
|
3397
3426
|
stickyFilters: boolean;
|
|
3398
|
-
}>, {}, {}, {}, {}, ComponentOptionsMixin, ComponentOptionsMixin, {}, string, Readonly<ExtractPropTypes<
|
|
3427
|
+
}>, {}, {}, {}, {}, ComponentOptionsMixin, ComponentOptionsMixin, {}, string, Readonly<ExtractPropTypes<__VLS_WithDefaults_28<__VLS_TypePropsToRuntimeProps_31<{
|
|
3399
3428
|
/**
|
|
3400
3429
|
* The header that goes to the top of the template
|
|
3401
3430
|
*/
|
|
@@ -3611,6 +3640,14 @@ type: PropType<BentoFilterValues>;
|
|
|
3611
3640
|
default: () => any[];
|
|
3612
3641
|
};
|
|
3613
3642
|
/**
|
|
3643
|
+
* Filter's search bar properties with which the placeholder, hint and other
|
|
3644
|
+
* "bento-search-bar" properties can be set. @see {@link BentoFilterBarSearchBarProps}
|
|
3645
|
+
*/
|
|
3646
|
+
filterSearchConfig: {
|
|
3647
|
+
type: PropType<BentoFilterBarSearchBarProps>;
|
|
3648
|
+
default: any;
|
|
3649
|
+
};
|
|
3650
|
+
/**
|
|
3614
3651
|
* Filter bar search term useful to filter all the data by text
|
|
3615
3652
|
*/
|
|
3616
3653
|
filterSearchTerm: {
|
|
@@ -3877,6 +3914,14 @@ type: PropType<BentoFilterValues>;
|
|
|
3877
3914
|
default: () => any[];
|
|
3878
3915
|
};
|
|
3879
3916
|
/**
|
|
3917
|
+
* Filter's search bar properties with which the placeholder, hint and other
|
|
3918
|
+
* "bento-search-bar" properties can be set. @see {@link BentoFilterBarSearchBarProps}
|
|
3919
|
+
*/
|
|
3920
|
+
filterSearchConfig: {
|
|
3921
|
+
type: PropType<BentoFilterBarSearchBarProps>;
|
|
3922
|
+
default: any;
|
|
3923
|
+
};
|
|
3924
|
+
/**
|
|
3880
3925
|
* Filter bar search term useful to filter all the data by text
|
|
3881
3926
|
*/
|
|
3882
3927
|
filterSearchTerm: {
|
|
@@ -4087,6 +4132,7 @@ filterValues: BentoFilterValues;
|
|
|
4087
4132
|
allowColumnDragAndDrop: boolean;
|
|
4088
4133
|
bulkActions: BentoButtonActionsList;
|
|
4089
4134
|
columnPanel: boolean;
|
|
4135
|
+
filterSearchConfig: BentoFilterBarSearchBarProps;
|
|
4090
4136
|
filterSearchTerm: string;
|
|
4091
4137
|
noSpacingTop: boolean;
|
|
4092
4138
|
stickyHorizontalScrollbar: boolean;
|
|
@@ -4252,7 +4298,7 @@ export declare enum BentoDatagridStyleState {
|
|
|
4252
4298
|
* `
|
|
4253
4299
|
* }
|
|
4254
4300
|
*/
|
|
4255
|
-
export declare const BentoDataGridTemplate:
|
|
4301
|
+
export declare const BentoDataGridTemplate: __VLS_WithTemplateSlots_44<DefineComponent< {
|
|
4256
4302
|
/**
|
|
4257
4303
|
* The header that goes to the top of the template
|
|
4258
4304
|
*/
|
|
@@ -4396,17 +4442,19 @@ default: boolean;
|
|
|
4396
4442
|
}>>, {
|
|
4397
4443
|
disableTypography: boolean;
|
|
4398
4444
|
date: string | number | Date;
|
|
4399
|
-
format: "d" | "EEEE" | "h:mm aa" | "H:mm" | "h:mm:ss aa" | "H:mm:ss" | "LLLL dd, yyyy" | "LLL dd, yyyy" | BentoDateFormat | "LLL dd, yyyy, h:mm:ss aa" | "LLL dd, yyyy, H:mm:ss" | "LLL dd, yyyy, h:mm:ss aa O" | "LLL dd, yyyy, H:mm:ss O" | "LLL dd, yyyy, h:mm aa" | "LLL dd, yyyy, h:mm aa O" | "LLL dd, yyyy, H:mm" | "LLL dd, yyyy, H:mm O";
|
|
4445
|
+
format: "d" | "LLL" | "EEEE" | "h:mm aa" | "H:mm" | "h:mm:ss aa" | "H:mm:ss" | "LLLL dd, yyyy" | "LLL dd, yyyy" | BentoDateFormat | "LLL dd, yyyy, h:mm:ss aa" | "LLL dd, yyyy, H:mm:ss" | "LLL dd, yyyy, h:mm:ss aa O" | "LLL dd, yyyy, H:mm:ss O" | "LLL dd, yyyy, h:mm aa" | "LLL dd, yyyy, h:mm aa O" | "LLL dd, yyyy, H:mm" | "LLL dd, yyyy, H:mm O";
|
|
4400
4446
|
}>;
|
|
4401
4447
|
|
|
4402
4448
|
export declare interface BentoDateFilterOptions {
|
|
4403
4449
|
firstDayOfWeek?: CalendarMonthFirstDayOfWeek;
|
|
4404
4450
|
isDateDisabled?: CalendarMonthIsDateDisabled;
|
|
4451
|
+
variant?: `${CalendarVariant}`;
|
|
4405
4452
|
}
|
|
4406
4453
|
|
|
4407
4454
|
export declare type BentoDateFilterValue = Date | null;
|
|
4408
4455
|
|
|
4409
4456
|
export declare enum BentoDateFormat {
|
|
4457
|
+
SHORT_MONTH = "LLL",// Jun
|
|
4410
4458
|
DAY_OF_MONTH = "d",// 1, 2, ..., 31,
|
|
4411
4459
|
LONG_WEEKDAY = "EEEE",// Friday
|
|
4412
4460
|
SHORT_TIME_WITH_PERIOD = "h:mm aa",// 2:44 PM
|
|
@@ -4546,6 +4594,13 @@ type: PropType<BentoDatePickerValue>;
|
|
|
4546
4594
|
default: any;
|
|
4547
4595
|
};
|
|
4548
4596
|
/**
|
|
4597
|
+
* The type of calendar to display. Defaults to showing days.
|
|
4598
|
+
*/
|
|
4599
|
+
variant: {
|
|
4600
|
+
type: PropType<`${CalendarVariant}`>;
|
|
4601
|
+
default: any;
|
|
4602
|
+
};
|
|
4603
|
+
/**
|
|
4549
4604
|
* Default start date for the calendar pane
|
|
4550
4605
|
*/
|
|
4551
4606
|
defaultDisplayMonth: {
|
|
@@ -4673,6 +4728,13 @@ type: PropType<BentoDatePickerValue>;
|
|
|
4673
4728
|
default: any;
|
|
4674
4729
|
};
|
|
4675
4730
|
/**
|
|
4731
|
+
* The type of calendar to display. Defaults to showing days.
|
|
4732
|
+
*/
|
|
4733
|
+
variant: {
|
|
4734
|
+
type: PropType<`${CalendarVariant}`>;
|
|
4735
|
+
default: any;
|
|
4736
|
+
};
|
|
4737
|
+
/**
|
|
4676
4738
|
* Default start date for the calendar pane
|
|
4677
4739
|
*/
|
|
4678
4740
|
defaultDisplayMonth: {
|
|
@@ -4684,6 +4746,7 @@ validator: (value: string) => boolean;
|
|
|
4684
4746
|
value: Date;
|
|
4685
4747
|
description: string;
|
|
4686
4748
|
label: string;
|
|
4749
|
+
variant: "day" | "month";
|
|
4687
4750
|
required: boolean;
|
|
4688
4751
|
disabled: boolean;
|
|
4689
4752
|
optional: boolean;
|
|
@@ -4714,6 +4777,7 @@ export declare interface BentoDateRangeFilterOptions {
|
|
|
4714
4777
|
numberOfMonths?: number;
|
|
4715
4778
|
showEndDateOnOpen?: boolean;
|
|
4716
4779
|
quickSelectRanges?: DateRangePickerCalendarRangeSelectorItems | boolean;
|
|
4780
|
+
variant?: `${CalendarVariant}`;
|
|
4717
4781
|
}
|
|
4718
4782
|
|
|
4719
4783
|
export declare type BentoDateRangeFilterValue = BentoDateRangePickerValue | null;
|
|
@@ -4888,6 +4952,13 @@ type: PropType<BentoDateRangePickerValue>;
|
|
|
4888
4952
|
default: any;
|
|
4889
4953
|
};
|
|
4890
4954
|
/**
|
|
4955
|
+
* The type of calendar to display. Defaults to showing days.
|
|
4956
|
+
*/
|
|
4957
|
+
variant: {
|
|
4958
|
+
type: PropType<`${CalendarVariant}`>;
|
|
4959
|
+
default: any;
|
|
4960
|
+
};
|
|
4961
|
+
/**
|
|
4891
4962
|
* Enables the date picker selection to persist until it is explicitly applied.
|
|
4892
4963
|
* Displays a set of buttons: Apply and Cancel.
|
|
4893
4964
|
*
|
|
@@ -4933,6 +5004,7 @@ FILL_CONTAINER: import("../../components/button").BentoButtonActionsLayoutBasic.
|
|
|
4933
5004
|
SPACE_BETWEEN: import("../../components/button").BentoButtonActionsLayoutBasic.SPACE_BETWEEN;
|
|
4934
5005
|
VERTICAL_STACK: import("../../components/button").BentoButtonActionsLayoutBasic.VERTICAL_STACK;
|
|
4935
5006
|
};
|
|
5007
|
+
withTimeInput: ComputedRef<boolean>;
|
|
4936
5008
|
closeDateRangePicker: () => void;
|
|
4937
5009
|
clearDateRangePickerValue: () => Promise<void>;
|
|
4938
5010
|
openDateRangePicker: () => void;
|
|
@@ -4941,7 +5013,7 @@ onEnterPressedOverInput: () => void;
|
|
|
4941
5013
|
onDateRangePickerInput: (selectedRange: BentoDateRangePickerValue) => void;
|
|
4942
5014
|
onDateRangePickerError: (dateTextInput: any) => void;
|
|
4943
5015
|
onDateRangePickerFormDateInputUpdate: (dateFormDate: DateRangePickerCalendarFormData) => void;
|
|
4944
|
-
t: (key: "cancel" | "apply" | "
|
|
5016
|
+
t: (key: "cancel" | "apply" | "selectDate" | "provideDateInAFormat" | "selectDateRange" | "selectedDateIsNotAvailable" | "dateRangePicker", values?: default_2.Values) => string;
|
|
4945
5017
|
}, {}, {}, {}, ComponentOptionsMixin, ComponentOptionsMixin, BentoDateRangePickerEvent[], string, Readonly<ExtractPropTypes< {
|
|
4946
5018
|
/**
|
|
4947
5019
|
* Allows user to enter time values in the form
|
|
@@ -5085,6 +5157,13 @@ type: PropType<BentoDateRangePickerValue>;
|
|
|
5085
5157
|
default: any;
|
|
5086
5158
|
};
|
|
5087
5159
|
/**
|
|
5160
|
+
* The type of calendar to display. Defaults to showing days.
|
|
5161
|
+
*/
|
|
5162
|
+
variant: {
|
|
5163
|
+
type: PropType<`${CalendarVariant}`>;
|
|
5164
|
+
default: any;
|
|
5165
|
+
};
|
|
5166
|
+
/**
|
|
5088
5167
|
* Enables the date picker selection to persist until it is explicitly applied.
|
|
5089
5168
|
* Displays a set of buttons: Apply and Cancel.
|
|
5090
5169
|
*
|
|
@@ -5098,6 +5177,7 @@ default: boolean;
|
|
|
5098
5177
|
value: BentoDateRangePickerValue;
|
|
5099
5178
|
description: string;
|
|
5100
5179
|
label: string;
|
|
5180
|
+
variant: "day" | "month";
|
|
5101
5181
|
required: boolean;
|
|
5102
5182
|
disabled: boolean;
|
|
5103
5183
|
optional: boolean;
|
|
@@ -5302,13 +5382,20 @@ type: StringConstructor;
|
|
|
5302
5382
|
default: any;
|
|
5303
5383
|
};
|
|
5304
5384
|
/**
|
|
5305
|
-
* Indicates if new options are loading.
|
|
5385
|
+
* Indicates if new options are lazy loading.
|
|
5306
5386
|
*/
|
|
5307
5387
|
loading: {
|
|
5308
5388
|
type: BooleanConstructor;
|
|
5309
5389
|
default: boolean;
|
|
5310
5390
|
};
|
|
5311
5391
|
/**
|
|
5392
|
+
* Indicates that dropdown items are loading
|
|
5393
|
+
*/
|
|
5394
|
+
componentLoading: {
|
|
5395
|
+
type: BooleanConstructor;
|
|
5396
|
+
default: boolean;
|
|
5397
|
+
};
|
|
5398
|
+
/**
|
|
5312
5399
|
* The type of `Lazy Load`.
|
|
5313
5400
|
* Type "automatic" will enable infinite scrolling
|
|
5314
5401
|
* Type "button" will enable lazy loading with "Show more" button
|
|
@@ -5407,7 +5494,7 @@ default: boolean;
|
|
|
5407
5494
|
}, {
|
|
5408
5495
|
focus: () => void;
|
|
5409
5496
|
}, {}, {}, {}, ComponentOptionsMixin, ComponentOptionsMixin, {
|
|
5410
|
-
input: (selectedValue:
|
|
5497
|
+
input: (selectedValue: any) => void;
|
|
5411
5498
|
} & {
|
|
5412
5499
|
"show-more": () => void;
|
|
5413
5500
|
}, string, Readonly<ExtractPropTypes< {
|
|
@@ -5510,13 +5597,20 @@ type: StringConstructor;
|
|
|
5510
5597
|
default: any;
|
|
5511
5598
|
};
|
|
5512
5599
|
/**
|
|
5513
|
-
* Indicates if new options are loading.
|
|
5600
|
+
* Indicates if new options are lazy loading.
|
|
5514
5601
|
*/
|
|
5515
5602
|
loading: {
|
|
5516
5603
|
type: BooleanConstructor;
|
|
5517
5604
|
default: boolean;
|
|
5518
5605
|
};
|
|
5519
5606
|
/**
|
|
5607
|
+
* Indicates that dropdown items are loading
|
|
5608
|
+
*/
|
|
5609
|
+
componentLoading: {
|
|
5610
|
+
type: BooleanConstructor;
|
|
5611
|
+
default: boolean;
|
|
5612
|
+
};
|
|
5613
|
+
/**
|
|
5520
5614
|
* The type of `Lazy Load`.
|
|
5521
5615
|
* Type "automatic" will enable infinite scrolling
|
|
5522
5616
|
* Type "button" will enable lazy loading with "Show more" button
|
|
@@ -5635,6 +5729,7 @@ staticCategories: boolean;
|
|
|
5635
5729
|
hasMoreItems: boolean;
|
|
5636
5730
|
lazyLoadType: "button" | "none" | "automatic" | BentoListboxLazyLoadType;
|
|
5637
5731
|
emptyState: BentoListboxEmptyStateProps;
|
|
5732
|
+
componentLoading: boolean;
|
|
5638
5733
|
virtualScroll: BentoListboxVirtulisationOptions;
|
|
5639
5734
|
dynamicFiltering: boolean;
|
|
5640
5735
|
showSlotContentInMultiple: boolean;
|
|
@@ -5731,6 +5826,10 @@ loading: {
|
|
|
5731
5826
|
type: BooleanConstructor;
|
|
5732
5827
|
default: boolean;
|
|
5733
5828
|
};
|
|
5829
|
+
componentLoading: {
|
|
5830
|
+
type: BooleanConstructor;
|
|
5831
|
+
default: boolean;
|
|
5832
|
+
};
|
|
5734
5833
|
lazyLoadType: {
|
|
5735
5834
|
type: PropType<BentoListboxLazyLoadType | `${BentoListboxLazyLoadType}`>;
|
|
5736
5835
|
default: BentoListboxLazyLoadType;
|
|
@@ -5847,6 +5946,10 @@ loading: {
|
|
|
5847
5946
|
type: BooleanConstructor;
|
|
5848
5947
|
default: boolean;
|
|
5849
5948
|
};
|
|
5949
|
+
componentLoading: {
|
|
5950
|
+
type: BooleanConstructor;
|
|
5951
|
+
default: boolean;
|
|
5952
|
+
};
|
|
5850
5953
|
lazyLoadType: {
|
|
5851
5954
|
type: PropType<BentoListboxLazyLoadType | `${BentoListboxLazyLoadType}`>;
|
|
5852
5955
|
default: BentoListboxLazyLoadType;
|
|
@@ -5924,6 +6027,7 @@ staticCategories: boolean;
|
|
|
5924
6027
|
hasMoreItems: boolean;
|
|
5925
6028
|
lazyLoadType: "button" | "none" | "automatic" | BentoListboxLazyLoadType;
|
|
5926
6029
|
emptyState: BentoListboxEmptyStateProps;
|
|
6030
|
+
componentLoading: boolean;
|
|
5927
6031
|
virtualScroll: BentoListboxVirtulisationOptions;
|
|
5928
6032
|
dynamicFiltering: boolean;
|
|
5929
6033
|
showSlotContentInMultiple: boolean;
|
|
@@ -6026,6 +6130,10 @@ loading: {
|
|
|
6026
6130
|
type: BooleanConstructor;
|
|
6027
6131
|
default: boolean;
|
|
6028
6132
|
};
|
|
6133
|
+
componentLoading: {
|
|
6134
|
+
type: BooleanConstructor;
|
|
6135
|
+
default: boolean;
|
|
6136
|
+
};
|
|
6029
6137
|
lazyLoadType: {
|
|
6030
6138
|
type: PropType<BentoListboxLazyLoadType | `${BentoListboxLazyLoadType}`>;
|
|
6031
6139
|
default: BentoListboxLazyLoadType;
|
|
@@ -6150,6 +6258,10 @@ loading: {
|
|
|
6150
6258
|
type: BooleanConstructor;
|
|
6151
6259
|
default: boolean;
|
|
6152
6260
|
};
|
|
6261
|
+
componentLoading: {
|
|
6262
|
+
type: BooleanConstructor;
|
|
6263
|
+
default: boolean;
|
|
6264
|
+
};
|
|
6153
6265
|
lazyLoadType: {
|
|
6154
6266
|
type: PropType<BentoListboxLazyLoadType | `${BentoListboxLazyLoadType}`>;
|
|
6155
6267
|
default: BentoListboxLazyLoadType;
|
|
@@ -6228,6 +6340,7 @@ staticCategories: boolean;
|
|
|
6228
6340
|
hasMoreItems: boolean;
|
|
6229
6341
|
lazyLoadType: "button" | "none" | "automatic" | BentoListboxLazyLoadType;
|
|
6230
6342
|
emptyState: BentoListboxEmptyStateProps;
|
|
6343
|
+
componentLoading: boolean;
|
|
6231
6344
|
virtualScroll: BentoListboxVirtulisationOptions;
|
|
6232
6345
|
dynamicFiltering: boolean;
|
|
6233
6346
|
showSlotContentInMultiple: boolean;
|
|
@@ -6321,6 +6434,10 @@ loading: {
|
|
|
6321
6434
|
type: BooleanConstructor;
|
|
6322
6435
|
default: boolean;
|
|
6323
6436
|
};
|
|
6437
|
+
componentLoading: {
|
|
6438
|
+
type: BooleanConstructor;
|
|
6439
|
+
default: boolean;
|
|
6440
|
+
};
|
|
6324
6441
|
lazyLoadType: {
|
|
6325
6442
|
type: PropType<BentoListboxLazyLoadType | `${BentoListboxLazyLoadType}`>;
|
|
6326
6443
|
default: BentoListboxLazyLoadType;
|
|
@@ -6436,6 +6553,10 @@ loading: {
|
|
|
6436
6553
|
type: BooleanConstructor;
|
|
6437
6554
|
default: boolean;
|
|
6438
6555
|
};
|
|
6556
|
+
componentLoading: {
|
|
6557
|
+
type: BooleanConstructor;
|
|
6558
|
+
default: boolean;
|
|
6559
|
+
};
|
|
6439
6560
|
lazyLoadType: {
|
|
6440
6561
|
type: PropType<BentoListboxLazyLoadType | `${BentoListboxLazyLoadType}`>;
|
|
6441
6562
|
default: BentoListboxLazyLoadType;
|
|
@@ -6513,6 +6634,7 @@ staticCategories: boolean;
|
|
|
6513
6634
|
hasMoreItems: boolean;
|
|
6514
6635
|
lazyLoadType: "button" | "none" | "automatic" | BentoListboxLazyLoadType;
|
|
6515
6636
|
emptyState: BentoListboxEmptyStateProps;
|
|
6637
|
+
componentLoading: boolean;
|
|
6516
6638
|
virtualScroll: BentoListboxVirtulisationOptions;
|
|
6517
6639
|
dynamicFiltering: boolean;
|
|
6518
6640
|
showSlotContentInMultiple: boolean;
|
|
@@ -6606,6 +6728,10 @@ loading: {
|
|
|
6606
6728
|
type: BooleanConstructor;
|
|
6607
6729
|
default: boolean;
|
|
6608
6730
|
};
|
|
6731
|
+
componentLoading: {
|
|
6732
|
+
type: BooleanConstructor;
|
|
6733
|
+
default: boolean;
|
|
6734
|
+
};
|
|
6609
6735
|
lazyLoadType: {
|
|
6610
6736
|
type: PropType<BentoListboxLazyLoadType | `${BentoListboxLazyLoadType}`>;
|
|
6611
6737
|
default: BentoListboxLazyLoadType;
|
|
@@ -6721,6 +6847,10 @@ loading: {
|
|
|
6721
6847
|
type: BooleanConstructor;
|
|
6722
6848
|
default: boolean;
|
|
6723
6849
|
};
|
|
6850
|
+
componentLoading: {
|
|
6851
|
+
type: BooleanConstructor;
|
|
6852
|
+
default: boolean;
|
|
6853
|
+
};
|
|
6724
6854
|
lazyLoadType: {
|
|
6725
6855
|
type: PropType<BentoListboxLazyLoadType | `${BentoListboxLazyLoadType}`>;
|
|
6726
6856
|
default: BentoListboxLazyLoadType;
|
|
@@ -6798,6 +6928,7 @@ staticCategories: boolean;
|
|
|
6798
6928
|
hasMoreItems: boolean;
|
|
6799
6929
|
lazyLoadType: "button" | "none" | "automatic" | BentoListboxLazyLoadType;
|
|
6800
6930
|
emptyState: BentoListboxEmptyStateProps;
|
|
6931
|
+
componentLoading: boolean;
|
|
6801
6932
|
virtualScroll: BentoListboxVirtulisationOptions;
|
|
6802
6933
|
dynamicFiltering: boolean;
|
|
6803
6934
|
showSlotContentInMultiple: boolean;
|
|
@@ -6898,6 +7029,10 @@ loading: {
|
|
|
6898
7029
|
type: BooleanConstructor;
|
|
6899
7030
|
default: boolean;
|
|
6900
7031
|
};
|
|
7032
|
+
componentLoading: {
|
|
7033
|
+
type: BooleanConstructor;
|
|
7034
|
+
default: boolean;
|
|
7035
|
+
};
|
|
6901
7036
|
lazyLoadType: {
|
|
6902
7037
|
type: PropType<BentoListboxLazyLoadType | `${BentoListboxLazyLoadType}`>;
|
|
6903
7038
|
default: BentoListboxLazyLoadType;
|
|
@@ -7014,6 +7149,10 @@ loading: {
|
|
|
7014
7149
|
type: BooleanConstructor;
|
|
7015
7150
|
default: boolean;
|
|
7016
7151
|
};
|
|
7152
|
+
componentLoading: {
|
|
7153
|
+
type: BooleanConstructor;
|
|
7154
|
+
default: boolean;
|
|
7155
|
+
};
|
|
7017
7156
|
lazyLoadType: {
|
|
7018
7157
|
type: PropType<BentoListboxLazyLoadType | `${BentoListboxLazyLoadType}`>;
|
|
7019
7158
|
default: BentoListboxLazyLoadType;
|
|
@@ -7091,6 +7230,7 @@ staticCategories: boolean;
|
|
|
7091
7230
|
hasMoreItems: boolean;
|
|
7092
7231
|
lazyLoadType: "button" | "none" | "automatic" | BentoListboxLazyLoadType;
|
|
7093
7232
|
emptyState: BentoListboxEmptyStateProps;
|
|
7233
|
+
componentLoading: boolean;
|
|
7094
7234
|
virtualScroll: BentoListboxVirtulisationOptions;
|
|
7095
7235
|
dynamicFiltering: boolean;
|
|
7096
7236
|
showSlotContentInMultiple: boolean;
|
|
@@ -7376,7 +7516,7 @@ export declare interface BentoFileUploaderProps {
|
|
|
7376
7516
|
*/
|
|
7377
7517
|
maxSize?: number;
|
|
7378
7518
|
/**
|
|
7379
|
-
* Used to support `v-model`.
|
|
7519
|
+
* Used to support `v-model`. Can be used to set value of FileUploader if FileList
|
|
7380
7520
|
*/
|
|
7381
7521
|
modelValue?: BentoFileUploaderValue;
|
|
7382
7522
|
/**
|
|
@@ -7393,7 +7533,7 @@ export declare interface BentoFileUploaderProps {
|
|
|
7393
7533
|
tooltipText?: string;
|
|
7394
7534
|
}
|
|
7395
7535
|
|
|
7396
|
-
export declare type BentoFileUploaderValue = string | Array<string> | File | Array<File
|
|
7536
|
+
export declare type BentoFileUploaderValue = string | Array<string> | File | Array<File> | FileList;
|
|
7397
7537
|
|
|
7398
7538
|
/**
|
|
7399
7539
|
* The filter bar filters item lists and tables according to various filter criteria.
|
|
@@ -7566,7 +7706,7 @@ export declare interface BentoFilterModel extends BentoFilterValue {
|
|
|
7566
7706
|
value?: BentoFilterBarValue;
|
|
7567
7707
|
}
|
|
7568
7708
|
|
|
7569
|
-
export declare type BentoFilterOptions = BentoSelectFilterOptions | BentoSelectAvatarFilterOptions | BentoSelectCountryFilterOptions | BentoSelectCurrencyFilterOptions | BentoSelectPaymentMethodFilterOptions | BentoSelectTagFilterOptions | BentoDateFilterOptions | BentoDateRangeFilterOptions | BentoBooleanFilterOptions | BentoInputWithDropdownFilterOptions | undefined;
|
|
7709
|
+
export declare type BentoFilterOptions = BentoSelectFilterOptions | BentoSelectAvatarFilterOptions | BentoSelectCountryFilterOptions | BentoSelectCurrencyFilterOptions | BentoSelectPaymentMethodFilterOptions | BentoSelectTagFilterOptions | BentoDateFilterOptions | BentoDateRangeFilterOptions | BentoBooleanFilterOptions | BentoInputFilterOptions | BentoInputWithDropdownFilterOptions | undefined;
|
|
7570
7710
|
|
|
7571
7711
|
export declare interface BentoFilterValue {
|
|
7572
7712
|
field: string;
|
|
@@ -7626,7 +7766,9 @@ loading: {
|
|
|
7626
7766
|
type: BooleanConstructor;
|
|
7627
7767
|
default: boolean;
|
|
7628
7768
|
};
|
|
7629
|
-
}, {}, {}, {}, {}, ComponentOptionsMixin, ComponentOptionsMixin, {
|
|
7769
|
+
}, {}, {}, {}, {}, ComponentOptionsMixin, ComponentOptionsMixin, {
|
|
7770
|
+
submit: (event: SubmitEvent) => void;
|
|
7771
|
+
}, string, Readonly<ExtractPropTypes< {
|
|
7630
7772
|
/**
|
|
7631
7773
|
* Renders the form layout as an HTML `form`
|
|
7632
7774
|
*/
|
|
@@ -7997,6 +8139,199 @@ declare enum BentoHeaderVariant {
|
|
|
7997
8139
|
COMPONENT = "component"
|
|
7998
8140
|
}
|
|
7999
8141
|
|
|
8142
|
+
/**
|
|
8143
|
+
* Header with views allow users to save and quickly retrieve configurations tailored to specific tasks.
|
|
8144
|
+
* For example, managing daily transactions, auditing, or analyzing specific data sets.
|
|
8145
|
+
* It also allows the user to define the columns, filters, and search queries they need.
|
|
8146
|
+
*
|
|
8147
|
+
* @example
|
|
8148
|
+
* import { BentoHeaderWithViews } from '@adyen/bento-vue2';
|
|
8149
|
+
*
|
|
8150
|
+
* export default {
|
|
8151
|
+
* components: { BentoHeaderWithViews },
|
|
8152
|
+
* template: `
|
|
8153
|
+
* <bento-header-with-views
|
|
8154
|
+
* :actions="[
|
|
8155
|
+
* { title: 'Primary action', event: () => undefined },
|
|
8156
|
+
* { title: 'Secondary action', event: () => undefined },
|
|
8157
|
+
* { title: 'Tertiary action', event: () => undefined },
|
|
8158
|
+
* { title: 'Another action', event: () => undefined }
|
|
8159
|
+
* ]"
|
|
8160
|
+
* description="Page Description"
|
|
8161
|
+
* title="Page Title"
|
|
8162
|
+
* :views="[
|
|
8163
|
+
* { icon: 'stack', iconColor: 'blue', label: 'A very long value' },
|
|
8164
|
+
* { icon: 'stack', iconColor: 'primary', label: 'Title 1' },
|
|
8165
|
+
* { icon: 'stack', iconColor: 'primary', label: 'Title 2' }
|
|
8166
|
+
* ]"
|
|
8167
|
+
* :additionalViewSetting="{
|
|
8168
|
+
* label: 'Include date filter (relative)',
|
|
8169
|
+
* value: false
|
|
8170
|
+
* }"
|
|
8171
|
+
* hasChanges
|
|
8172
|
+
* />
|
|
8173
|
+
* `
|
|
8174
|
+
* };
|
|
8175
|
+
*/
|
|
8176
|
+
export declare const BentoHeaderWithViews: __VLS_WithTemplateSlots_17<DefineComponent<__VLS_WithDefaults_12<__VLS_TypePropsToRuntimeProps_12<BentoHeaderWithViewsProps>, {
|
|
8177
|
+
actions: () => any[];
|
|
8178
|
+
additionalViewSetting: any;
|
|
8179
|
+
title: any;
|
|
8180
|
+
description: any;
|
|
8181
|
+
views: () => any[];
|
|
8182
|
+
}>, {}, {}, {}, {}, ComponentOptionsMixin, ComponentOptionsMixin, {
|
|
8183
|
+
"delete:view": (value: BentoHeaderWithViewsItemUpdate) => void;
|
|
8184
|
+
} & {
|
|
8185
|
+
"duplicate:view": (value: BentoHeaderWithViewsItemUpdate) => void;
|
|
8186
|
+
} & {
|
|
8187
|
+
"reorder:view": (value: Omit<BentoHeaderWithViewsItemUpdate, "targetViewLabel">) => void;
|
|
8188
|
+
} & {
|
|
8189
|
+
"restore:view": (value: string) => void;
|
|
8190
|
+
} & {
|
|
8191
|
+
"save:view": (value: string) => void;
|
|
8192
|
+
} & {
|
|
8193
|
+
"select:view": (value: string) => void;
|
|
8194
|
+
} & {
|
|
8195
|
+
"update:view": (value: BentoHeaderWithViewsItemUpdate) => void;
|
|
8196
|
+
} & {
|
|
8197
|
+
"update:skip-unsaved-changes": (value: boolean) => void;
|
|
8198
|
+
}, string, Readonly<ExtractPropTypes<__VLS_WithDefaults_12<__VLS_TypePropsToRuntimeProps_12<BentoHeaderWithViewsProps>, {
|
|
8199
|
+
actions: () => any[];
|
|
8200
|
+
additionalViewSetting: any;
|
|
8201
|
+
title: any;
|
|
8202
|
+
description: any;
|
|
8203
|
+
views: () => any[];
|
|
8204
|
+
}>>>, {
|
|
8205
|
+
description: string;
|
|
8206
|
+
title: string;
|
|
8207
|
+
actions: BentoButtonActionsList_2;
|
|
8208
|
+
views: BentoHeaderWithViewsItem[];
|
|
8209
|
+
additionalViewSetting: BentoHeaderWithViewsItemAdditionalConfig;
|
|
8210
|
+
}>, {
|
|
8211
|
+
infoIconTooltipContent: (_: {}) => any;
|
|
8212
|
+
}>;
|
|
8213
|
+
|
|
8214
|
+
export declare interface BentoHeaderWithViewsItem {
|
|
8215
|
+
/**
|
|
8216
|
+
* Optional icon to display for the view item.
|
|
8217
|
+
*/
|
|
8218
|
+
icon?: BentoHeaderWithViewsItemIcon;
|
|
8219
|
+
/**
|
|
8220
|
+
* Optional color of the icon for the view item.
|
|
8221
|
+
*/
|
|
8222
|
+
iconColor?: BentoHeaderWithViewsItemIconColor;
|
|
8223
|
+
/**
|
|
8224
|
+
* Text label for the view item.
|
|
8225
|
+
*/
|
|
8226
|
+
label: string;
|
|
8227
|
+
/**
|
|
8228
|
+
* Optional boolean indicating if this view item is the default or currently active view.
|
|
8229
|
+
*/
|
|
8230
|
+
isDefault?: boolean;
|
|
8231
|
+
}
|
|
8232
|
+
|
|
8233
|
+
export declare interface BentoHeaderWithViewsItemAdditionalConfig {
|
|
8234
|
+
/**
|
|
8235
|
+
* Label for an additional view setting (e.g. a checkbox or toggle).
|
|
8236
|
+
*/
|
|
8237
|
+
label: string;
|
|
8238
|
+
/**
|
|
8239
|
+
* Boolean value indicating the state of the additional view setting (e.g. checked or toggled).
|
|
8240
|
+
*/
|
|
8241
|
+
value: boolean;
|
|
8242
|
+
}
|
|
8243
|
+
|
|
8244
|
+
export declare type BentoHeaderWithViewsItemIcon = `${BentoHeaderWithViewsItemIconEnum}`;
|
|
8245
|
+
|
|
8246
|
+
export declare type BentoHeaderWithViewsItemIconColor = `${BentoHeaderWithViewsItemIconColorEnum}`;
|
|
8247
|
+
|
|
8248
|
+
declare enum BentoHeaderWithViewsItemIconColorEnum {
|
|
8249
|
+
BLUE = "blue",
|
|
8250
|
+
GREEN = "green",
|
|
8251
|
+
ORANGE = "orange",
|
|
8252
|
+
PRIMARY = "primary",
|
|
8253
|
+
RED = "red",
|
|
8254
|
+
YELLOW = "yellow"
|
|
8255
|
+
}
|
|
8256
|
+
|
|
8257
|
+
declare enum BentoHeaderWithViewsItemIconEnum {
|
|
8258
|
+
STACK = "stack",
|
|
8259
|
+
LEAF = "leaf",
|
|
8260
|
+
HAND_ROCK = "hand-rock",
|
|
8261
|
+
CAR = "car",
|
|
8262
|
+
EDUCATION = "education",
|
|
8263
|
+
HOTEL = "hotel",
|
|
8264
|
+
TRAVEL_BAG = "travel-bag",
|
|
8265
|
+
LIGHTNING = "lightning",
|
|
8266
|
+
NEWS = "news",
|
|
8267
|
+
PRIZE = "prize",
|
|
8268
|
+
LOCK = "lock",
|
|
8269
|
+
BAG = "bag",
|
|
8270
|
+
DIAMOND = "diamond",
|
|
8271
|
+
TARGET = "target",
|
|
8272
|
+
GIFT = "gift",
|
|
8273
|
+
CASH_STACK = "cash-stack",
|
|
8274
|
+
HASHTAG = "hashtag",
|
|
8275
|
+
CLOUD = "cloud",
|
|
8276
|
+
HOSPITALITY = "hospitality",
|
|
8277
|
+
SHOPPING_CART = "shopping-cart",
|
|
8278
|
+
SLEEP = "sleep",
|
|
8279
|
+
NOTIFICATION = "notification",
|
|
8280
|
+
THUMBS_UP = "thumb-up",
|
|
8281
|
+
THUMBS_DOWN = "thumb-down",
|
|
8282
|
+
STAR = "star",
|
|
8283
|
+
WARNING_DIAMOND = "warning-diamond",
|
|
8284
|
+
RETAIL = "retail",
|
|
8285
|
+
EMOTICON_HAPPY = "emoticon-happy",
|
|
8286
|
+
GAMING = "gaming",
|
|
8287
|
+
SUPPORT = "support",
|
|
8288
|
+
HEART = "heart",
|
|
8289
|
+
HOURGLASS = "hourglass",
|
|
8290
|
+
WORLD = "world"
|
|
8291
|
+
}
|
|
8292
|
+
|
|
8293
|
+
export declare interface BentoHeaderWithViewsItemUpdate {
|
|
8294
|
+
newViews: BentoHeaderWithViewsItem[];
|
|
8295
|
+
oldViews: BentoHeaderWithViewsItem[];
|
|
8296
|
+
targetViewLabel: BentoHeaderWithViewsItem['label'];
|
|
8297
|
+
}
|
|
8298
|
+
|
|
8299
|
+
export declare interface BentoHeaderWithViewsProps {
|
|
8300
|
+
/**
|
|
8301
|
+
* Optional list of actions (buttons) to display in the header.
|
|
8302
|
+
* The structure of each action is defined by the `BentoButtonActionsList` type.
|
|
8303
|
+
*/
|
|
8304
|
+
actions?: BentoButtonActionsList_2;
|
|
8305
|
+
/**
|
|
8306
|
+
* Optional secondary description text to display below the title.
|
|
8307
|
+
*/
|
|
8308
|
+
description?: string;
|
|
8309
|
+
/**
|
|
8310
|
+
* Main title text for the header. This prop is required.
|
|
8311
|
+
*/
|
|
8312
|
+
title: string;
|
|
8313
|
+
/**
|
|
8314
|
+
* Optional array of view items to display as selectable views or tabs.
|
|
8315
|
+
* Each item's structure is defined by the `BentoHeaderWithViewsItem` interface.
|
|
8316
|
+
*/
|
|
8317
|
+
views?: BentoHeaderWithViewsItem[];
|
|
8318
|
+
/**
|
|
8319
|
+
* Optional configuration for an additional view setting, such as a filter or option.
|
|
8320
|
+
* Defined by the `BentoHeaderWithViewsItemAdditionalConfig` interface.
|
|
8321
|
+
*/
|
|
8322
|
+
additionalViewSetting?: BentoHeaderWithViewsItemAdditionalConfig;
|
|
8323
|
+
/**
|
|
8324
|
+
* Boolean indicating whether there are unsaved changes on the page.
|
|
8325
|
+
* This might be used to visually indicate to the user that they need to save their work.
|
|
8326
|
+
*/
|
|
8327
|
+
hasChanges: boolean;
|
|
8328
|
+
/**
|
|
8329
|
+
* String indicating whether to display a prompt, reminding the user to save their changes whenever they switch view tabs.
|
|
8330
|
+
* If null, no prompt is shown and changes will always be restored to it's previous settings on view tab change.
|
|
8331
|
+
*/
|
|
8332
|
+
skipUnsavedChangesText: string | null;
|
|
8333
|
+
}
|
|
8334
|
+
|
|
8000
8335
|
/**
|
|
8001
8336
|
* Image component used for resizing images to certain aspect ratios and fit strategies.
|
|
8002
8337
|
*
|
|
@@ -8016,10 +8351,10 @@ declare enum BentoHeaderVariant {
|
|
|
8016
8351
|
* `
|
|
8017
8352
|
* }
|
|
8018
8353
|
*/
|
|
8019
|
-
export declare const BentoImage: DefineComponent<
|
|
8354
|
+
export declare const BentoImage: DefineComponent<__VLS_WithDefaults_13<__VLS_TypePropsToRuntimeProps_13<BentoImageProps>, {
|
|
8020
8355
|
aspectRatio: any;
|
|
8021
8356
|
objectFit: any;
|
|
8022
|
-
}>, {}, {}, {}, {}, ComponentOptionsMixin, ComponentOptionsMixin, {}, string, Readonly<ExtractPropTypes<
|
|
8357
|
+
}>, {}, {}, {}, {}, ComponentOptionsMixin, ComponentOptionsMixin, {}, string, Readonly<ExtractPropTypes<__VLS_WithDefaults_13<__VLS_TypePropsToRuntimeProps_13<BentoImageProps>, {
|
|
8023
8358
|
aspectRatio: any;
|
|
8024
8359
|
objectFit: any;
|
|
8025
8360
|
}>>>, {
|
|
@@ -8134,7 +8469,7 @@ export declare type BentoInputDropdownProps = {
|
|
|
8134
8469
|
* >
|
|
8135
8470
|
* }
|
|
8136
8471
|
*/
|
|
8137
|
-
export declare const BentoInputField:
|
|
8472
|
+
export declare const BentoInputField: __VLS_WithTemplateSlots_18<DefineComponent<__VLS_WithDefaults_14<__VLS_TypePropsToRuntimeProps_14<BentoInputFieldProps>, {
|
|
8138
8473
|
ariaHidden: boolean;
|
|
8139
8474
|
ariaLabel: any;
|
|
8140
8475
|
condensed: boolean;
|
|
@@ -8175,7 +8510,7 @@ keydown: (event: KeyboardEvent) => void;
|
|
|
8175
8510
|
keyup: (event: KeyboardEvent) => void;
|
|
8176
8511
|
} & {
|
|
8177
8512
|
input: (inputValue: string) => void;
|
|
8178
|
-
}, string, Readonly<ExtractPropTypes<
|
|
8513
|
+
}, string, Readonly<ExtractPropTypes<__VLS_WithDefaults_14<__VLS_TypePropsToRuntimeProps_14<BentoInputFieldProps>, {
|
|
8179
8514
|
ariaHidden: boolean;
|
|
8180
8515
|
ariaLabel: any;
|
|
8181
8516
|
condensed: boolean;
|
|
@@ -8287,9 +8622,10 @@ export declare enum BentoInputFieldEvent {
|
|
|
8287
8622
|
* `
|
|
8288
8623
|
* }
|
|
8289
8624
|
*/
|
|
8290
|
-
export declare const BentoInputFieldPassword: DefineComponent<
|
|
8625
|
+
export declare const BentoInputFieldPassword: DefineComponent<__VLS_WithDefaults_15<__VLS_TypePropsToRuntimeProps_15<BentoInputFieldPasswordProps>, {
|
|
8291
8626
|
condensed: boolean;
|
|
8292
8627
|
disabled: boolean;
|
|
8628
|
+
disableValidation: boolean;
|
|
8293
8629
|
label: any;
|
|
8294
8630
|
errorMessage: any;
|
|
8295
8631
|
placeholder: string;
|
|
@@ -8301,9 +8637,10 @@ withHint: boolean;
|
|
|
8301
8637
|
"input:valid": () => void;
|
|
8302
8638
|
} & {
|
|
8303
8639
|
input: (value: BentoInputFieldValue) => void;
|
|
8304
|
-
}, string, Readonly<ExtractPropTypes<
|
|
8640
|
+
}, string, Readonly<ExtractPropTypes<__VLS_WithDefaults_15<__VLS_TypePropsToRuntimeProps_15<BentoInputFieldPasswordProps>, {
|
|
8305
8641
|
condensed: boolean;
|
|
8306
8642
|
disabled: boolean;
|
|
8643
|
+
disableValidation: boolean;
|
|
8307
8644
|
label: any;
|
|
8308
8645
|
errorMessage: any;
|
|
8309
8646
|
placeholder: string;
|
|
@@ -8320,6 +8657,7 @@ validation: BentoInputFieldPasswordValidation;
|
|
|
8320
8657
|
readonly: BentoInputFieldProps["readonly"];
|
|
8321
8658
|
errorMessage: BentoInputFieldProps["errorMessage"];
|
|
8322
8659
|
placeholder: BentoInputFieldProps["placeholder"];
|
|
8660
|
+
disableValidation: boolean;
|
|
8323
8661
|
withHint: boolean;
|
|
8324
8662
|
}>;
|
|
8325
8663
|
|
|
@@ -8332,6 +8670,11 @@ export declare interface BentoInputFieldPasswordProps {
|
|
|
8332
8670
|
* Disables the possibility of changing value in the input-field
|
|
8333
8671
|
*/
|
|
8334
8672
|
disabled?: BentoInputFieldProps['disabled'];
|
|
8673
|
+
/**
|
|
8674
|
+
* Performs real-time validations over the input value. Default: `false`.
|
|
8675
|
+
* Disabling the option (set to `true`) will not run pre-defined validations or custom validations defined in the `validation` field.
|
|
8676
|
+
*/
|
|
8677
|
+
disableValidation?: boolean;
|
|
8335
8678
|
/**
|
|
8336
8679
|
* Renders input-field with an error state and the error message beneath the input box
|
|
8337
8680
|
*/
|
|
@@ -8412,7 +8755,7 @@ export declare interface BentoInputFieldPasswordValidationListItem {
|
|
|
8412
8755
|
* `
|
|
8413
8756
|
* }
|
|
8414
8757
|
*/
|
|
8415
|
-
export declare const BentoInputFieldPhoneNumber:
|
|
8758
|
+
export declare const BentoInputFieldPhoneNumber: __VLS_WithTemplateSlots_19<DefineComponent<__VLS_WithDefaults_16<__VLS_TypePropsToRuntimeProps_16<BentoInputFieldPhoneNumberProps>, {
|
|
8416
8759
|
countries: () => CountryCode_2[];
|
|
8417
8760
|
dynamicFiltering: boolean;
|
|
8418
8761
|
}>, {}, {}, {}, {}, ComponentOptionsMixin, ComponentOptionsMixin, {
|
|
@@ -8421,7 +8764,7 @@ blur: () => void;
|
|
|
8421
8764
|
input: (value: string) => void;
|
|
8422
8765
|
} & {
|
|
8423
8766
|
"update:selected-country": (country: CountryCode_2) => void;
|
|
8424
|
-
}, string, Readonly<ExtractPropTypes<
|
|
8767
|
+
}, string, Readonly<ExtractPropTypes<__VLS_WithDefaults_16<__VLS_TypePropsToRuntimeProps_16<BentoInputFieldPhoneNumberProps>, {
|
|
8425
8768
|
countries: () => CountryCode_2[];
|
|
8426
8769
|
dynamicFiltering: boolean;
|
|
8427
8770
|
}>>>, {
|
|
@@ -8576,7 +8919,63 @@ export declare type BentoInputFilterInputAndDropdownValues = {
|
|
|
8576
8919
|
dropdownValue?: string;
|
|
8577
8920
|
};
|
|
8578
8921
|
|
|
8579
|
-
export declare
|
|
8922
|
+
export declare interface BentoInputFilterOptions {
|
|
8923
|
+
/**
|
|
8924
|
+
* @deprecated BentoInputFilter "options" no longer supports "dropdown". Use the "BentoFilterItemType.INPUT_DROPDOWN" instead of "BentoFilterItemType.INPUT"
|
|
8925
|
+
*/
|
|
8926
|
+
dropdown?: any;
|
|
8927
|
+
/**
|
|
8928
|
+
* @deprecated BentoInputFilter "options" no longer supports "dropdownPosition". Use the "BentoFilterItemType.INPUT_DROPDOWN" instead of "BentoFilterItemType.INPUT"
|
|
8929
|
+
*/
|
|
8930
|
+
dropdownPosition?: any;
|
|
8931
|
+
/**
|
|
8932
|
+
* Sets a placeholder in the input field
|
|
8933
|
+
*/
|
|
8934
|
+
placeholder?: BentoInputFieldProps['placeholder'];
|
|
8935
|
+
/**
|
|
8936
|
+
* @deprecated from version 2.0.0. BentoInputFilter "options" no longer supports "variant". Use the "BentoFilterItemType.INPUT_DROPDOWN" instead of "BentoFilterItemType.INPUT"
|
|
8937
|
+
*/
|
|
8938
|
+
variant?: 'dropdown';
|
|
8939
|
+
}
|
|
8940
|
+
|
|
8941
|
+
export declare interface BentoInputFilterProps {
|
|
8942
|
+
/**
|
|
8943
|
+
* Default value of the filter to reset to.
|
|
8944
|
+
*/
|
|
8945
|
+
defaultValue?: string;
|
|
8946
|
+
/**
|
|
8947
|
+
* Disables the filter from being interacted with.
|
|
8948
|
+
*/
|
|
8949
|
+
disabled?: boolean;
|
|
8950
|
+
/**
|
|
8951
|
+
* Filter name/key referencing the actual property name in the data set.
|
|
8952
|
+
* Should be unique per filter bar.
|
|
8953
|
+
*/
|
|
8954
|
+
field: string;
|
|
8955
|
+
/**
|
|
8956
|
+
* Label text to be displayed
|
|
8957
|
+
*/
|
|
8958
|
+
label: string;
|
|
8959
|
+
/**
|
|
8960
|
+
* Renders the base filter's slot content only - leaving out the button and the popover.
|
|
8961
|
+
* Used for the allFiltersModal component.
|
|
8962
|
+
*/
|
|
8963
|
+
onlySlot?: boolean;
|
|
8964
|
+
/**
|
|
8965
|
+
* List of options that are needed to setup the filter
|
|
8966
|
+
* Available options:
|
|
8967
|
+
* - placeholder: allows to set a placeholder to the search bar
|
|
8968
|
+
* - dropdown (deprecated): all the dropdown properties that can be set in the inner dropdown of the input field. @see BentoDropdown for more info.
|
|
8969
|
+
* - dropdownPosition (deprecated): allow the user to set the dropdown on the left or right side. Accepts the `start` or `end` values.
|
|
8970
|
+
* - variant (deprecated): can be `undefined` or set to `dropdown`. Enables dropdown input variant.
|
|
8971
|
+
*/
|
|
8972
|
+
options?: BentoInputFilterOptions;
|
|
8973
|
+
/**
|
|
8974
|
+
* Current value of the filter.
|
|
8975
|
+
* If the options.variant is equal to 'dropdown', the value should be of type `{ inputValue: string | null; dropdownValue?: string }`.
|
|
8976
|
+
*/
|
|
8977
|
+
value?: BentoInputFilterValue;
|
|
8978
|
+
}
|
|
8580
8979
|
|
|
8581
8980
|
export declare type BentoInputFilterValue = string | null | BentoInputFilterInputAndDropdownValues;
|
|
8582
8981
|
|
|
@@ -8614,7 +9013,7 @@ export declare type BentoInpuWithDropdowntFilterValue = {
|
|
|
8614
9013
|
* `
|
|
8615
9014
|
* }
|
|
8616
9015
|
*/
|
|
8617
|
-
export declare const BentoInspector:
|
|
9016
|
+
export declare const BentoInspector: __VLS_WithTemplateSlots_20<DefineComponent<__VLS_WithDefaults_17<__VLS_TypePropsToRuntimeProps_17<{
|
|
8618
9017
|
/**
|
|
8619
9018
|
* ID of the current active inspector page
|
|
8620
9019
|
*/
|
|
@@ -8651,7 +9050,7 @@ size: string;
|
|
|
8651
9050
|
"update:active-page": (value: string) => void;
|
|
8652
9051
|
} & {
|
|
8653
9052
|
expand: () => void;
|
|
8654
|
-
}, string, Readonly<ExtractPropTypes<
|
|
9053
|
+
}, string, Readonly<ExtractPropTypes<__VLS_WithDefaults_17<__VLS_TypePropsToRuntimeProps_17<{
|
|
8655
9054
|
/**
|
|
8656
9055
|
* ID of the current active inspector page
|
|
8657
9056
|
*/
|
|
@@ -8741,10 +9140,10 @@ export declare enum BentoKeyboardNavigationKeyDownEvent {
|
|
|
8741
9140
|
* `
|
|
8742
9141
|
* }
|
|
8743
9142
|
*/
|
|
8744
|
-
export declare const BentoLayout:
|
|
9143
|
+
export declare const BentoLayout: __VLS_WithTemplateSlots_21<DefineComponent<__VLS_WithDefaults_18<__VLS_TypePropsToRuntimeProps_18<BentoLayoutProps>, {
|
|
8745
9144
|
size: string;
|
|
8746
9145
|
variant: string;
|
|
8747
|
-
}>, {}, {}, {}, {}, ComponentOptionsMixin, ComponentOptionsMixin, {}, string, Readonly<ExtractPropTypes<
|
|
9146
|
+
}>, {}, {}, {}, {}, ComponentOptionsMixin, ComponentOptionsMixin, {}, string, Readonly<ExtractPropTypes<__VLS_WithDefaults_18<__VLS_TypePropsToRuntimeProps_18<BentoLayoutProps>, {
|
|
8748
9147
|
size: string;
|
|
8749
9148
|
variant: string;
|
|
8750
9149
|
}>>>, {
|
|
@@ -8787,9 +9186,9 @@ export declare interface BentoLayoutProps {
|
|
|
8787
9186
|
* `
|
|
8788
9187
|
* }
|
|
8789
9188
|
*/
|
|
8790
|
-
export declare const BentoLayoutRow:
|
|
9189
|
+
export declare const BentoLayoutRow: __VLS_WithTemplateSlots_22<DefineComponent<__VLS_WithDefaults_19<__VLS_TypePropsToRuntimeProps_19<BentoLayoutRowProps>, {
|
|
8791
9190
|
columnsLayout: string;
|
|
8792
|
-
}>, {}, {}, {}, {}, ComponentOptionsMixin, ComponentOptionsMixin, {}, string, Readonly<ExtractPropTypes<
|
|
9191
|
+
}>, {}, {}, {}, {}, ComponentOptionsMixin, ComponentOptionsMixin, {}, string, Readonly<ExtractPropTypes<__VLS_WithDefaults_19<__VLS_TypePropsToRuntimeProps_19<BentoLayoutRowProps>, {
|
|
8793
9192
|
columnsLayout: string;
|
|
8794
9193
|
}>>>, {
|
|
8795
9194
|
columnsLayout: BentoLayoutRowColumnLayout;
|
|
@@ -8836,12 +9235,12 @@ export declare type BentoLazyLoadType = 'automatic' | 'button' | 'none';
|
|
|
8836
9235
|
* `
|
|
8837
9236
|
* }
|
|
8838
9237
|
*/
|
|
8839
|
-
export declare const BentoLink:
|
|
9238
|
+
export declare const BentoLink: __VLS_WithTemplateSlots_23<DefineComponent<__VLS_WithDefaults_20<__VLS_TypePropsToRuntimeProps_20<BentoLinkProps>, {
|
|
8840
9239
|
target: any;
|
|
8841
9240
|
variant: BentoLinkVariant;
|
|
8842
9241
|
}>, {}, {}, {}, {}, ComponentOptionsMixin, ComponentOptionsMixin, {
|
|
8843
9242
|
click: (clickEvent: MouseEvent) => void;
|
|
8844
|
-
}, string, Readonly<ExtractPropTypes<
|
|
9243
|
+
}, string, Readonly<ExtractPropTypes<__VLS_WithDefaults_20<__VLS_TypePropsToRuntimeProps_20<BentoLinkProps>, {
|
|
8845
9244
|
target: any;
|
|
8846
9245
|
variant: BentoLinkVariant;
|
|
8847
9246
|
}>>>, {
|
|
@@ -9240,7 +9639,7 @@ isInverseColorSet: Ref<boolean>;
|
|
|
9240
9639
|
hasSlot: (name: string) => boolean;
|
|
9241
9640
|
onKeyDown: (event: KeyboardEvent) => void;
|
|
9242
9641
|
onKeyUp: (event: KeyboardEvent) => void;
|
|
9243
|
-
closeMenu: (revertFocus?: boolean) => void
|
|
9642
|
+
closeMenu: (revertFocus?: boolean) => Promise<void>;
|
|
9244
9643
|
menuItemClick: () => void;
|
|
9245
9644
|
toggleShowMenu: (e: MouseEvent) => void;
|
|
9246
9645
|
t: (key: "backButton" | "menuButton", values?: default_2.Values) => string;
|
|
@@ -9374,7 +9773,7 @@ export declare interface BentoMenuItem {
|
|
|
9374
9773
|
* `
|
|
9375
9774
|
* };
|
|
9376
9775
|
*/
|
|
9377
|
-
export declare const BentoModal:
|
|
9776
|
+
export declare const BentoModal: __VLS_WithTemplateSlots_25<DefineComponent< {
|
|
9378
9777
|
/**
|
|
9379
9778
|
* List of actions that will be used to render the buttons.
|
|
9380
9779
|
* First element in the list will be rendered as "primary".
|
|
@@ -9712,7 +10111,7 @@ export declare enum BentoModalEvent {
|
|
|
9712
10111
|
* `
|
|
9713
10112
|
* }
|
|
9714
10113
|
*/
|
|
9715
|
-
export declare const BentoModalFullscreen:
|
|
10114
|
+
export declare const BentoModalFullscreen: __VLS_WithTemplateSlots_26<DefineComponent< {
|
|
9716
10115
|
/**
|
|
9717
10116
|
* List of actions that will be used to render the buttons.
|
|
9718
10117
|
* First element in the list will be rendered as "primary".
|
|
@@ -9852,7 +10251,7 @@ contextualLabel: string;
|
|
|
9852
10251
|
* `
|
|
9853
10252
|
* }
|
|
9854
10253
|
*/
|
|
9855
|
-
export declare const BentoModalFullscreenPage:
|
|
10254
|
+
export declare const BentoModalFullscreenPage: __VLS_WithTemplateSlots_27<DefineComponent< {
|
|
9856
10255
|
/**
|
|
9857
10256
|
* List of actions that will be used to render the buttons.
|
|
9858
10257
|
* First element in the list will be rendered as "primary".
|
|
@@ -9994,7 +10393,7 @@ contextualLabel: string;
|
|
|
9994
10393
|
* `
|
|
9995
10394
|
* }
|
|
9996
10395
|
*/
|
|
9997
|
-
export declare const BentoModalPage:
|
|
10396
|
+
export declare const BentoModalPage: __VLS_WithTemplateSlots_24<DefineComponent< {
|
|
9998
10397
|
/**
|
|
9999
10398
|
* List of actions that will be used to render the buttons.
|
|
10000
10399
|
* First element in the list will be rendered as "primary".
|
|
@@ -10354,10 +10753,10 @@ hidePageSize: boolean;
|
|
|
10354
10753
|
* `
|
|
10355
10754
|
* }
|
|
10356
10755
|
*/
|
|
10357
|
-
export declare const BentoPaymentMethod: DefineComponent<
|
|
10756
|
+
export declare const BentoPaymentMethod: DefineComponent<__VLS_WithDefaults_21<__VLS_TypePropsToRuntimeProps_21<BentoPaymentMethodProps>, {
|
|
10358
10757
|
type: string;
|
|
10359
10758
|
small: boolean;
|
|
10360
|
-
}>, {}, {}, {}, {}, ComponentOptionsMixin, ComponentOptionsMixin, {}, string, Readonly<ExtractPropTypes<
|
|
10759
|
+
}>, {}, {}, {}, {}, ComponentOptionsMixin, ComponentOptionsMixin, {}, string, Readonly<ExtractPropTypes<__VLS_WithDefaults_21<__VLS_TypePropsToRuntimeProps_21<BentoPaymentMethodProps>, {
|
|
10361
10760
|
type: string;
|
|
10362
10761
|
small: boolean;
|
|
10363
10762
|
}>>>, {
|
|
@@ -11486,7 +11885,7 @@ export declare enum BentoPaymentMethodType {
|
|
|
11486
11885
|
* `
|
|
11487
11886
|
* }
|
|
11488
11887
|
*/
|
|
11489
|
-
export declare const BentoPopover:
|
|
11888
|
+
export declare const BentoPopover: __VLS_WithTemplateSlots_28<DefineComponent< {
|
|
11490
11889
|
/**
|
|
11491
11890
|
* List of actions that will be used to render the buttons.
|
|
11492
11891
|
* First element in the list will be rendered as "primary".
|
|
@@ -11900,7 +12299,7 @@ export declare type BentoPopoverPositions = PopperContainerPosition;
|
|
|
11900
12299
|
* `
|
|
11901
12300
|
* };
|
|
11902
12301
|
*/
|
|
11903
|
-
export declare const BentoPromoBanner:
|
|
12302
|
+
export declare const BentoPromoBanner: __VLS_WithTemplateSlots_29<DefineComponent<__VLS_WithDefaults_22<__VLS_TypePropsToRuntimeProps_22<BentoPromoBannerProps>, {
|
|
11904
12303
|
actions: any;
|
|
11905
12304
|
color: BentoPromoBannerColor;
|
|
11906
12305
|
isDismissible: boolean;
|
|
@@ -11908,7 +12307,7 @@ dismissButtonText: any;
|
|
|
11908
12307
|
layout: BentoPromoBannerLayout;
|
|
11909
12308
|
}>, {}, {}, {}, {}, ComponentOptionsMixin, ComponentOptionsMixin, {
|
|
11910
12309
|
dismiss: () => void;
|
|
11911
|
-
}, string, Readonly<ExtractPropTypes<
|
|
12310
|
+
}, string, Readonly<ExtractPropTypes<__VLS_WithDefaults_22<__VLS_TypePropsToRuntimeProps_22<BentoPromoBannerProps>, {
|
|
11912
12311
|
actions: any;
|
|
11913
12312
|
color: BentoPromoBannerColor;
|
|
11914
12313
|
isDismissible: boolean;
|
|
@@ -12044,7 +12443,7 @@ export declare interface BentoPromoBannerProps {
|
|
|
12044
12443
|
* }
|
|
12045
12444
|
* }
|
|
12046
12445
|
*/
|
|
12047
|
-
export declare const BentoRadioButton:
|
|
12446
|
+
export declare const BentoRadioButton: __VLS_WithTemplateSlots_31<DefineComponent< {
|
|
12048
12447
|
/**
|
|
12049
12448
|
* Disable the radio button (optional)
|
|
12050
12449
|
*/
|
|
@@ -12199,7 +12598,7 @@ export declare type BentoRadioButtonValue = string | number;
|
|
|
12199
12598
|
* `
|
|
12200
12599
|
* };
|
|
12201
12600
|
*/
|
|
12202
|
-
export declare const BentoRadioGroup:
|
|
12601
|
+
export declare const BentoRadioGroup: __VLS_WithTemplateSlots_30<DefineComponent< {
|
|
12203
12602
|
/**
|
|
12204
12603
|
* Descriptive supporting text visbile underneath the label.
|
|
12205
12604
|
*/
|
|
@@ -12493,7 +12892,7 @@ export declare enum BentoRadioGroupVariant {
|
|
|
12493
12892
|
* }
|
|
12494
12893
|
* }
|
|
12495
12894
|
*/
|
|
12496
|
-
export declare const BentoSearchBar: DefineComponent<
|
|
12895
|
+
export declare const BentoSearchBar: DefineComponent<__VLS_WithDefaults_24<__VLS_TypePropsToRuntimeProps_24<BentoSearchBarProps>, {
|
|
12497
12896
|
condensed: boolean;
|
|
12498
12897
|
debounceTime: number;
|
|
12499
12898
|
hint: string;
|
|
@@ -12514,7 +12913,7 @@ clear: () => void;
|
|
|
12514
12913
|
blur: () => void;
|
|
12515
12914
|
} & {
|
|
12516
12915
|
focus: () => void;
|
|
12517
|
-
}, string, Readonly<ExtractPropTypes<
|
|
12916
|
+
}, string, Readonly<ExtractPropTypes<__VLS_WithDefaults_24<__VLS_TypePropsToRuntimeProps_24<BentoSearchBarProps>, {
|
|
12518
12917
|
condensed: boolean;
|
|
12519
12918
|
debounceTime: number;
|
|
12520
12919
|
hint: string;
|
|
@@ -12597,7 +12996,7 @@ export declare interface BentoSearchBarProps {
|
|
|
12597
12996
|
* }
|
|
12598
12997
|
* }
|
|
12599
12998
|
*/
|
|
12600
|
-
export declare const BentoSecondaryNav: DefineComponent<
|
|
12999
|
+
export declare const BentoSecondaryNav: DefineComponent<__VLS_TypePropsToRuntimeProps_25<{
|
|
12601
13000
|
/**
|
|
12602
13001
|
* An array containing all the items on the nav. The array can have either {@see BentoSecondaryNavItemsCategory },
|
|
12603
13002
|
* which is used to group different items or {@see BentoSecondaryNavItemsItem } if you don't need to group them.
|
|
@@ -12610,7 +13009,7 @@ items: BentoSecondaryNavItems;
|
|
|
12610
13009
|
value?: string;
|
|
12611
13010
|
}>, {}, {}, {}, {}, ComponentOptionsMixin, ComponentOptionsMixin, {
|
|
12612
13011
|
change: (category: string) => void;
|
|
12613
|
-
}, string, Readonly<ExtractPropTypes<
|
|
13012
|
+
}, string, Readonly<ExtractPropTypes<__VLS_TypePropsToRuntimeProps_25<{
|
|
12614
13013
|
/**
|
|
12615
13014
|
* An array containing all the items on the nav. The array can have either {@see BentoSecondaryNavItemsCategory },
|
|
12616
13015
|
* which is used to group different items or {@see BentoSecondaryNavItemsItem } if you don't need to group them.
|
|
@@ -12655,7 +13054,7 @@ export declare interface BentoSecondaryNavState {
|
|
|
12655
13054
|
* `
|
|
12656
13055
|
* }
|
|
12657
13056
|
*/
|
|
12658
|
-
export declare const BentoSegmentedControl: DefineComponent<
|
|
13057
|
+
export declare const BentoSegmentedControl: DefineComponent<__VLS_WithDefaults_25<__VLS_TypePropsToRuntimeProps_26<BentoSegmentedControlProps>, {
|
|
12659
13058
|
ariaLabel: any;
|
|
12660
13059
|
fullWidth: boolean;
|
|
12661
13060
|
wrap: boolean;
|
|
@@ -12664,7 +13063,7 @@ modelValue: any;
|
|
|
12664
13063
|
"update:model-value": (value: any) => void;
|
|
12665
13064
|
} & {
|
|
12666
13065
|
input: (value: BentoSegmentedControlValue) => void;
|
|
12667
|
-
}, string, Readonly<ExtractPropTypes<
|
|
13066
|
+
}, string, Readonly<ExtractPropTypes<__VLS_WithDefaults_25<__VLS_TypePropsToRuntimeProps_26<BentoSegmentedControlProps>, {
|
|
12668
13067
|
ariaLabel: any;
|
|
12669
13068
|
fullWidth: boolean;
|
|
12670
13069
|
wrap: boolean;
|
|
@@ -12785,6 +13184,10 @@ export declare interface BentoSelectFilterOptions {
|
|
|
12785
13184
|
*/
|
|
12786
13185
|
showMoreEvent?: () => void;
|
|
12787
13186
|
};
|
|
13187
|
+
/**
|
|
13188
|
+
* Toggles the loading state of the listbox.
|
|
13189
|
+
*/
|
|
13190
|
+
loading?: boolean;
|
|
12788
13191
|
/**
|
|
12789
13192
|
* Search options and events for the listbox filtering.
|
|
12790
13193
|
*/
|
|
@@ -12824,7 +13227,7 @@ export declare type BentoSelectFilterValue = BentoListboxSelectedValue;
|
|
|
12824
13227
|
* `
|
|
12825
13228
|
* }
|
|
12826
13229
|
*/
|
|
12827
|
-
export declare const BentoSelectionCard:
|
|
13230
|
+
export declare const BentoSelectionCard: __VLS_WithTemplateSlots_32<DefineComponent< {
|
|
12828
13231
|
/**
|
|
12829
13232
|
* The description of the selection card
|
|
12830
13233
|
*/
|
|
@@ -13017,7 +13420,7 @@ fullyClickable: boolean;
|
|
|
13017
13420
|
* `,
|
|
13018
13421
|
* }
|
|
13019
13422
|
*/
|
|
13020
|
-
export declare const BentoSelectionCardGroup:
|
|
13423
|
+
export declare const BentoSelectionCardGroup: __VLS_WithTemplateSlots_33<DefineComponent< {
|
|
13021
13424
|
/**
|
|
13022
13425
|
* Descriptive supporting text visbile underneath the label.
|
|
13023
13426
|
*/
|
|
@@ -13333,7 +13736,7 @@ export declare type BentoSelectTagFilterOptions = OmitStrict<BentoSelectFilterOp
|
|
|
13333
13736
|
* `
|
|
13334
13737
|
* }
|
|
13335
13738
|
*/
|
|
13336
|
-
export declare const BentoSidepanel:
|
|
13739
|
+
export declare const BentoSidepanel: __VLS_WithTemplateSlots_35<DefineComponent< {
|
|
13337
13740
|
/**
|
|
13338
13741
|
* The id of the current active page
|
|
13339
13742
|
* Should be the same id as the BentoSidepanelPage to be displayed
|
|
@@ -13461,7 +13864,7 @@ export declare enum BentoSidepanelEvent {
|
|
|
13461
13864
|
* `
|
|
13462
13865
|
* }
|
|
13463
13866
|
*/
|
|
13464
|
-
export declare const BentoSidepanelPage:
|
|
13867
|
+
export declare const BentoSidepanelPage: __VLS_WithTemplateSlots_34<DefineComponent< {
|
|
13465
13868
|
/**
|
|
13466
13869
|
* List of actions that will be used to render the buttons.
|
|
13467
13870
|
* First element in the list will be rendered as "primary".
|
|
@@ -13604,7 +14007,7 @@ destructiveActions: boolean;
|
|
|
13604
14007
|
* `
|
|
13605
14008
|
* }
|
|
13606
14009
|
*/
|
|
13607
|
-
export declare const BentoStatus:
|
|
14010
|
+
export declare const BentoStatus: __VLS_WithTemplateSlots_36<DefineComponent<__VLS_TypePropsToRuntimeProps_27<BentoStatusProps>, {}, {}, {}, {}, ComponentOptionsMixin, ComponentOptionsMixin, {}, string, Readonly<ExtractPropTypes<__VLS_TypePropsToRuntimeProps_27<BentoStatusProps>>>, {}>, {
|
|
13608
14011
|
default: (_: {}) => any;
|
|
13609
14012
|
}>;
|
|
13610
14013
|
|
|
@@ -13649,7 +14052,7 @@ export declare enum BentoStatusVariant {
|
|
|
13649
14052
|
* `
|
|
13650
14053
|
* }
|
|
13651
14054
|
*/
|
|
13652
|
-
export declare const BentoStep:
|
|
14055
|
+
export declare const BentoStep: __VLS_WithTemplateSlots_38<DefineComponent< {
|
|
13653
14056
|
/**
|
|
13654
14057
|
* Completed status. Used on non-linear steppers to indicate if the step is completed.
|
|
13655
14058
|
*/
|
|
@@ -13706,7 +14109,7 @@ substepIndex: number;
|
|
|
13706
14109
|
* `
|
|
13707
14110
|
* }
|
|
13708
14111
|
*/
|
|
13709
|
-
export declare const BentoStepper:
|
|
14112
|
+
export declare const BentoStepper: __VLS_WithTemplateSlots_37<DefineComponent< {
|
|
13710
14113
|
/**
|
|
13711
14114
|
* Type of stepper; defines how the stepper should behave. Default: linear
|
|
13712
14115
|
* @values linear, non-linear
|
|
@@ -13813,7 +14216,7 @@ export declare enum BentoStepperVariantOption {
|
|
|
13813
14216
|
* `
|
|
13814
14217
|
* }
|
|
13815
14218
|
*/
|
|
13816
|
-
export declare const BentoStructuredList:
|
|
14219
|
+
export declare const BentoStructuredList: __VLS_WithTemplateSlots_39<DefineComponent<__VLS_WithDefaults_26<__VLS_TypePropsToRuntimeProps_28<{
|
|
13817
14220
|
/**
|
|
13818
14221
|
* Width of the labels container, in pixels. Overrides layout prop.
|
|
13819
14222
|
*/
|
|
@@ -13834,7 +14237,7 @@ layout?: BentoStructuredListLayoutOptions;
|
|
|
13834
14237
|
}>, {
|
|
13835
14238
|
labelsWidth: any;
|
|
13836
14239
|
layout: string;
|
|
13837
|
-
}>, {}, {}, {}, {}, ComponentOptionsMixin, ComponentOptionsMixin, {}, string, Readonly<ExtractPropTypes<
|
|
14240
|
+
}>, {}, {}, {}, {}, ComponentOptionsMixin, ComponentOptionsMixin, {}, string, Readonly<ExtractPropTypes<__VLS_WithDefaults_26<__VLS_TypePropsToRuntimeProps_28<{
|
|
13838
14241
|
/**
|
|
13839
14242
|
* Width of the labels container, in pixels. Overrides layout prop.
|
|
13840
14243
|
*/
|
|
@@ -13885,7 +14288,7 @@ labelsWidth: number;
|
|
|
13885
14288
|
* `
|
|
13886
14289
|
* }
|
|
13887
14290
|
*/
|
|
13888
|
-
export declare const BentoStructuredListItem:
|
|
14291
|
+
export declare const BentoStructuredListItem: __VLS_WithTemplateSlots_40<DefineComponent<__VLS_TypePropsToRuntimeProps_29<{
|
|
13889
14292
|
/**
|
|
13890
14293
|
* Label to display for the value
|
|
13891
14294
|
*/
|
|
@@ -13910,7 +14313,7 @@ searchTooltip?: string;
|
|
|
13910
14313
|
* Truncates the value of the item
|
|
13911
14314
|
*/
|
|
13912
14315
|
truncate?: boolean;
|
|
13913
|
-
}>, {}, {}, {}, {}, ComponentOptionsMixin, ComponentOptionsMixin, {}, string, Readonly<ExtractPropTypes<
|
|
14316
|
+
}>, {}, {}, {}, {}, ComponentOptionsMixin, ComponentOptionsMixin, {}, string, Readonly<ExtractPropTypes<__VLS_TypePropsToRuntimeProps_29<{
|
|
13914
14317
|
/**
|
|
13915
14318
|
* Label to display for the value
|
|
13916
14319
|
*/
|
|
@@ -14118,7 +14521,16 @@ type: PropType<BentoSummaryGridItemSize | `${BentoSummaryGridItemSize}`>;
|
|
|
14118
14521
|
default: BentoSummaryGridItemSize;
|
|
14119
14522
|
validator: (value: BentoSummaryGridItemSize) => boolean;
|
|
14120
14523
|
};
|
|
14121
|
-
|
|
14524
|
+
/**
|
|
14525
|
+
* Text showed in the info-icon tooltip on hover
|
|
14526
|
+
*/
|
|
14527
|
+
underlineTooltipText: {
|
|
14528
|
+
type: StringConstructor;
|
|
14529
|
+
default: any;
|
|
14530
|
+
};
|
|
14531
|
+
}, {
|
|
14532
|
+
hasSlot: (name: string) => boolean;
|
|
14533
|
+
}, {}, {}, {}, ComponentOptionsMixin, ComponentOptionsMixin, {}, string, Readonly<ExtractPropTypes< {
|
|
14122
14534
|
/**
|
|
14123
14535
|
* Text to copy to the clipboard
|
|
14124
14536
|
*/
|
|
@@ -14206,6 +14618,13 @@ type: PropType<BentoSummaryGridItemSize | `${BentoSummaryGridItemSize}`>;
|
|
|
14206
14618
|
default: BentoSummaryGridItemSize;
|
|
14207
14619
|
validator: (value: BentoSummaryGridItemSize) => boolean;
|
|
14208
14620
|
};
|
|
14621
|
+
/**
|
|
14622
|
+
* Text showed in the info-icon tooltip on hover
|
|
14623
|
+
*/
|
|
14624
|
+
underlineTooltipText: {
|
|
14625
|
+
type: StringConstructor;
|
|
14626
|
+
default: any;
|
|
14627
|
+
};
|
|
14209
14628
|
}>>, {
|
|
14210
14629
|
copy: string;
|
|
14211
14630
|
size: "small" | "large" | "medium" | BentoSummaryGridItemSize;
|
|
@@ -14215,6 +14634,7 @@ trend: string;
|
|
|
14215
14634
|
trendDirection: "positive" | "negative" | "neutral" | BentoSummaryGridItemTrendDirection;
|
|
14216
14635
|
secondaryTrend: string;
|
|
14217
14636
|
secondaryTrendDirection: "positive" | "negative" | "neutral" | BentoSummaryGridItemTrendDirection;
|
|
14637
|
+
underlineTooltipText: string;
|
|
14218
14638
|
secondaryLabel: string;
|
|
14219
14639
|
secondaryMetric: string;
|
|
14220
14640
|
}>;
|
|
@@ -14263,7 +14683,16 @@ fitContent: {
|
|
|
14263
14683
|
type: BooleanConstructor;
|
|
14264
14684
|
default: boolean;
|
|
14265
14685
|
};
|
|
14266
|
-
|
|
14686
|
+
/**
|
|
14687
|
+
* Text showed in the info-icon tooltip on hover
|
|
14688
|
+
*/
|
|
14689
|
+
underlineTooltipText: {
|
|
14690
|
+
type: StringConstructor;
|
|
14691
|
+
default: any;
|
|
14692
|
+
};
|
|
14693
|
+
}, {
|
|
14694
|
+
hasSlot: (name: string) => boolean;
|
|
14695
|
+
}, {}, {}, {}, ComponentOptionsMixin, ComponentOptionsMixin, "copy-to-clipboard"[], string, Readonly<ExtractPropTypes< {
|
|
14267
14696
|
/**
|
|
14268
14697
|
* Text to copy to the clipboard
|
|
14269
14698
|
*/
|
|
@@ -14292,10 +14721,18 @@ fitContent: {
|
|
|
14292
14721
|
type: BooleanConstructor;
|
|
14293
14722
|
default: boolean;
|
|
14294
14723
|
};
|
|
14724
|
+
/**
|
|
14725
|
+
* Text showed in the info-icon tooltip on hover
|
|
14726
|
+
*/
|
|
14727
|
+
underlineTooltipText: {
|
|
14728
|
+
type: StringConstructor;
|
|
14729
|
+
default: any;
|
|
14730
|
+
};
|
|
14295
14731
|
}>>, {
|
|
14296
14732
|
copy: string;
|
|
14297
14733
|
fitContent: boolean;
|
|
14298
14734
|
infoIconTooltipText: string;
|
|
14735
|
+
underlineTooltipText: string;
|
|
14299
14736
|
}>;
|
|
14300
14737
|
|
|
14301
14738
|
/**
|
|
@@ -14399,7 +14836,16 @@ type: PropType<BentoSummaryGridItemSize | `${BentoSummaryGridItemSize}`>;
|
|
|
14399
14836
|
default: BentoSummaryGridItemSize;
|
|
14400
14837
|
validator: (value: BentoSummaryGridItemSize) => boolean;
|
|
14401
14838
|
};
|
|
14402
|
-
|
|
14839
|
+
/**
|
|
14840
|
+
* Text showed in the info-icon tooltip on hover
|
|
14841
|
+
*/
|
|
14842
|
+
underlineTooltipText: {
|
|
14843
|
+
type: StringConstructor;
|
|
14844
|
+
default: any;
|
|
14845
|
+
};
|
|
14846
|
+
}, {
|
|
14847
|
+
hasSlot: (name: string) => boolean;
|
|
14848
|
+
}, {}, {}, {}, ComponentOptionsMixin, ComponentOptionsMixin, {}, string, Readonly<ExtractPropTypes< {
|
|
14403
14849
|
/**
|
|
14404
14850
|
* Text to copy to the clipboard
|
|
14405
14851
|
*/
|
|
@@ -14480,6 +14926,13 @@ type: PropType<BentoSummaryGridItemSize | `${BentoSummaryGridItemSize}`>;
|
|
|
14480
14926
|
default: BentoSummaryGridItemSize;
|
|
14481
14927
|
validator: (value: BentoSummaryGridItemSize) => boolean;
|
|
14482
14928
|
};
|
|
14929
|
+
/**
|
|
14930
|
+
* Text showed in the info-icon tooltip on hover
|
|
14931
|
+
*/
|
|
14932
|
+
underlineTooltipText: {
|
|
14933
|
+
type: StringConstructor;
|
|
14934
|
+
default: any;
|
|
14935
|
+
};
|
|
14483
14936
|
}>>, {
|
|
14484
14937
|
copy: string;
|
|
14485
14938
|
size: "small" | "large" | "medium" | BentoSummaryGridItemSize;
|
|
@@ -14489,6 +14942,7 @@ trend: string;
|
|
|
14489
14942
|
trendDirection: "positive" | "negative" | "neutral" | BentoSummaryGridItemTrendDirection;
|
|
14490
14943
|
secondaryTrend: string;
|
|
14491
14944
|
secondaryTrendDirection: "positive" | "negative" | "neutral" | BentoSummaryGridItemTrendDirection;
|
|
14945
|
+
underlineTooltipText: string;
|
|
14492
14946
|
secondaryMetric: string;
|
|
14493
14947
|
}>;
|
|
14494
14948
|
|
|
@@ -14593,7 +15047,16 @@ type: PropType<BentoSummaryGridItemSize | `${BentoSummaryGridItemSize}`>;
|
|
|
14593
15047
|
default: BentoSummaryGridItemSize;
|
|
14594
15048
|
validator: (value: BentoSummaryGridItemSize) => boolean;
|
|
14595
15049
|
};
|
|
14596
|
-
|
|
15050
|
+
/**
|
|
15051
|
+
* Text showed in the info-icon tooltip on hover
|
|
15052
|
+
*/
|
|
15053
|
+
underlineTooltipText: {
|
|
15054
|
+
type: StringConstructor;
|
|
15055
|
+
default: any;
|
|
15056
|
+
};
|
|
15057
|
+
}, {
|
|
15058
|
+
hasSlot: (name: string) => boolean;
|
|
15059
|
+
}, {}, {}, {}, ComponentOptionsMixin, ComponentOptionsMixin, {}, string, Readonly<ExtractPropTypes< {
|
|
14597
15060
|
/**
|
|
14598
15061
|
* Amount to be shown as the main value
|
|
14599
15062
|
*/
|
|
@@ -14674,6 +15137,13 @@ type: PropType<BentoSummaryGridItemSize | `${BentoSummaryGridItemSize}`>;
|
|
|
14674
15137
|
default: BentoSummaryGridItemSize;
|
|
14675
15138
|
validator: (value: BentoSummaryGridItemSize) => boolean;
|
|
14676
15139
|
};
|
|
15140
|
+
/**
|
|
15141
|
+
* Text showed in the info-icon tooltip on hover
|
|
15142
|
+
*/
|
|
15143
|
+
underlineTooltipText: {
|
|
15144
|
+
type: StringConstructor;
|
|
15145
|
+
default: any;
|
|
15146
|
+
};
|
|
14677
15147
|
}>>, {
|
|
14678
15148
|
copy: string;
|
|
14679
15149
|
size: "small" | "large" | "medium" | BentoSummaryGridItemSize;
|
|
@@ -14683,6 +15153,7 @@ trend: string;
|
|
|
14683
15153
|
trendDirection: "positive" | "negative" | "neutral" | BentoSummaryGridItemTrendDirection;
|
|
14684
15154
|
secondaryTrend: string;
|
|
14685
15155
|
secondaryTrendDirection: "positive" | "negative" | "neutral" | BentoSummaryGridItemTrendDirection;
|
|
15156
|
+
underlineTooltipText: string;
|
|
14686
15157
|
secondaryMetric: string;
|
|
14687
15158
|
}>;
|
|
14688
15159
|
|
|
@@ -14748,7 +15219,16 @@ fitContent: {
|
|
|
14748
15219
|
type: BooleanConstructor;
|
|
14749
15220
|
default: boolean;
|
|
14750
15221
|
};
|
|
14751
|
-
|
|
15222
|
+
/**
|
|
15223
|
+
* Text showed in the info-icon tooltip on hover
|
|
15224
|
+
*/
|
|
15225
|
+
underlineTooltipText: {
|
|
15226
|
+
type: StringConstructor;
|
|
15227
|
+
default: any;
|
|
15228
|
+
};
|
|
15229
|
+
}, {
|
|
15230
|
+
hasSlot: (name: string) => boolean;
|
|
15231
|
+
}, {}, {}, {}, ComponentOptionsMixin, ComponentOptionsMixin, {}, string, Readonly<ExtractPropTypes< {
|
|
14752
15232
|
/**
|
|
14753
15233
|
* Text to copy to the clipboard
|
|
14754
15234
|
*/
|
|
@@ -14784,10 +15264,18 @@ fitContent: {
|
|
|
14784
15264
|
type: BooleanConstructor;
|
|
14785
15265
|
default: boolean;
|
|
14786
15266
|
};
|
|
15267
|
+
/**
|
|
15268
|
+
* Text showed in the info-icon tooltip on hover
|
|
15269
|
+
*/
|
|
15270
|
+
underlineTooltipText: {
|
|
15271
|
+
type: StringConstructor;
|
|
15272
|
+
default: any;
|
|
15273
|
+
};
|
|
14787
15274
|
}>>, {
|
|
14788
15275
|
copy: string;
|
|
14789
15276
|
fitContent: boolean;
|
|
14790
15277
|
infoIconTooltipText: string;
|
|
15278
|
+
underlineTooltipText: string;
|
|
14791
15279
|
}>;
|
|
14792
15280
|
|
|
14793
15281
|
/**
|
|
@@ -14938,11 +15426,11 @@ declare enum BentoTabsEvent {
|
|
|
14938
15426
|
ACTIVE_TAB_INDEX = "update:active-tab-index"
|
|
14939
15427
|
}
|
|
14940
15428
|
|
|
14941
|
-
export declare const BentoTag: DefineComponent<
|
|
15429
|
+
export declare const BentoTag: DefineComponent<__VLS_WithDefaults_23<__VLS_TypePropsToRuntimeProps_23<BentoTagProps>, {
|
|
14942
15430
|
label: any;
|
|
14943
15431
|
truncate: any;
|
|
14944
15432
|
variant: BentoTagVariant;
|
|
14945
|
-
}>, {}, {}, {}, {}, ComponentOptionsMixin, ComponentOptionsMixin, {}, string, Readonly<ExtractPropTypes<
|
|
15433
|
+
}>, {}, {}, {}, {}, ComponentOptionsMixin, ComponentOptionsMixin, {}, string, Readonly<ExtractPropTypes<__VLS_WithDefaults_23<__VLS_TypePropsToRuntimeProps_23<BentoTagProps>, {
|
|
14946
15434
|
label: any;
|
|
14947
15435
|
truncate: any;
|
|
14948
15436
|
variant: BentoTagVariant;
|
|
@@ -16079,7 +16567,7 @@ export declare interface BentoTutorialStep {
|
|
|
16079
16567
|
* `
|
|
16080
16568
|
* }
|
|
16081
16569
|
*/
|
|
16082
|
-
export declare const BentoTypography:
|
|
16570
|
+
export declare const BentoTypography: __VLS_WithTemplateSlots_41<DefineComponent<__VLS_WithDefaults_27<__VLS_TypePropsToRuntimeProps_30<{
|
|
16083
16571
|
/**
|
|
16084
16572
|
* Sets the HTML DOM element.
|
|
16085
16573
|
* @values h1, h2, h3, h4, h5, h6, div, p, span
|
|
@@ -16127,7 +16615,7 @@ stronger: boolean;
|
|
|
16127
16615
|
strongest: boolean;
|
|
16128
16616
|
variant: BentoTypographyVariant;
|
|
16129
16617
|
wide: boolean;
|
|
16130
|
-
}>, {}, {}, {}, {}, ComponentOptionsMixin, ComponentOptionsMixin, {}, string, Readonly<ExtractPropTypes<
|
|
16618
|
+
}>, {}, {}, {}, {}, ComponentOptionsMixin, ComponentOptionsMixin, {}, string, Readonly<ExtractPropTypes<__VLS_WithDefaults_27<__VLS_TypePropsToRuntimeProps_30<{
|
|
16131
16619
|
/**
|
|
16132
16620
|
* Sets the HTML DOM element.
|
|
16133
16621
|
* @values h1, h2, h3, h4, h5, h6, div, p, span
|
|
@@ -16251,6 +16739,16 @@ declare type CalendarMonthIsDateDisabled = (date: Date) => boolean;
|
|
|
16251
16739
|
export { CalendarMonthIsDateDisabled as BentoDatePickerIsDateDisabled }
|
|
16252
16740
|
export { CalendarMonthIsDateDisabled as BentoDateRangePickerIsDateDisabled }
|
|
16253
16741
|
|
|
16742
|
+
/**
|
|
16743
|
+
* Private types
|
|
16744
|
+
*/
|
|
16745
|
+
declare enum CalendarVariant {
|
|
16746
|
+
DAY = "day",
|
|
16747
|
+
MONTH = "month"
|
|
16748
|
+
}
|
|
16749
|
+
export { CalendarVariant as BentoDatePickerVariant }
|
|
16750
|
+
export { CalendarVariant as BentoDateRangePickerVariant }
|
|
16751
|
+
|
|
16254
16752
|
export declare type Component = object;
|
|
16255
16753
|
|
|
16256
16754
|
export declare enum DateFormat {
|
|
@@ -16301,6 +16799,7 @@ declare type Element_2 = HTMLElement & {
|
|
|
16301
16799
|
|
|
16302
16800
|
/**
|
|
16303
16801
|
* Object of all the form field props with their respective list of errors
|
|
16802
|
+
* @deprecated For usage with Zod/v3. Migrate to Zod/v4 and use `@adyen/bento-vue2/use-form-v4' instead or migrate to Vue3 and use Vee-Validate instead.
|
|
16304
16803
|
*/
|
|
16305
16804
|
export declare type ErrorBag<T> = typeToFlattenedError<T, string>['fieldErrors'];
|
|
16306
16805
|
|
|
@@ -16630,8 +17129,10 @@ export declare interface ToastStack {
|
|
|
16630
17129
|
* This is meant to simulate the behavior of {@link @vee-validate/zod} {@see https://vee-validate.logaretm.com/v4/integrations/zod-schema-validation}.
|
|
16631
17130
|
* Function that transform Zod’s schemas into something that can be understood by vee-validate
|
|
16632
17131
|
*
|
|
16633
|
-
* @
|
|
16634
|
-
*
|
|
17132
|
+
* @deprecated For usage with Zod/v3. Migrate to Zod/v4 and use `@adyen/bento-vue2/use-form-v4' instead or migrate to Vue3 and use Vee-Validate instead.
|
|
17133
|
+
*
|
|
17134
|
+
* @param formSchema Zod schema to be transformed into a `vee-validate` schema
|
|
17135
|
+
* @returns Schema transformed
|
|
16635
17136
|
*/
|
|
16636
17137
|
export declare function toTypedSchema<T extends ZodSchema>(formSchema: T): T;
|
|
16637
17138
|
|
|
@@ -16699,6 +17200,7 @@ export declare const useCountryPhoneCode: (countryCode: MaybeRef<string>) => Com
|
|
|
16699
17200
|
|
|
16700
17201
|
/**
|
|
16701
17202
|
* useForm composable configuration object
|
|
17203
|
+
* @deprecated For usage with Zod/v3. Migrate to Zod/v4 and use `@adyen/bento-vue2/use-form-v4' instead or migrate to Vue3 and use Vee-Validate instead.
|
|
16702
17204
|
*/
|
|
16703
17205
|
export declare interface UseForm<T> {
|
|
16704
17206
|
validationSchema: T;
|
|
@@ -16715,14 +17217,16 @@ export declare interface UseForm<T> {
|
|
|
16715
17217
|
* with functions to "reset" the data (sets values to default value) and a function to execute the
|
|
16716
17218
|
* successful form validation process (through a callback).
|
|
16717
17219
|
*
|
|
16718
|
-
* @
|
|
16719
|
-
*
|
|
16720
|
-
* @
|
|
16721
|
-
* @
|
|
16722
|
-
* @returns
|
|
16723
|
-
* @returns
|
|
16724
|
-
* @returns
|
|
16725
|
-
* @returns
|
|
17220
|
+
* @deprecated For usage with Zod/v3. Migrate to Zod/v4 and use `@adyen/bento-vue2/use-form-v4' instead or migrate to Vue3 and use Vee-Validate instead.
|
|
17221
|
+
*
|
|
17222
|
+
* @param props Form configuration object
|
|
17223
|
+
* @param extends ZodSchema} props.validationSchema Zod typed validation schema
|
|
17224
|
+
* @returns response - Composable with reactive form values and errors, and functions to handle the reactive data
|
|
17225
|
+
* @returns response.errorBag Object with all the form values and an array of each one of the errors (if any) per value
|
|
17226
|
+
* @returns response.errors Object with all the form values and the first error found for that field (if any)
|
|
17227
|
+
* @returns response.values Object with all the form values and their current value
|
|
17228
|
+
* @returns response.handleReset Resets the form values to default (initial values) when it gets called
|
|
17229
|
+
* @returns response.submitForm Validates the data set in {response.values} and sets errors (if found) inside {response.errors} and {response.errorBag}.
|
|
16726
17230
|
* When the validation is successful it calls the callback so the submit process can continue
|
|
16727
17231
|
*
|
|
16728
17232
|
* @example
|