@adyen/bento-vue3 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.BW9db7ja.js → action-bar.PIz6tShf.js} +5 -5
- package/dist/chunks/{action-bar.BW9db7ja.js.map → action-bar.PIz6tShf.js.map} +1 -1
- package/dist/chunks/{alert.eqWeCHyL.js → alert.DEf0borp.js} +23 -23
- package/dist/chunks/alert.DEf0borp.js.map +1 -0
- package/dist/chunks/{base-modal.BRYHc9Ez.js → base-modal.D4INiJGX.js} +4 -4
- package/dist/chunks/{base-modal.BRYHc9Ez.js.map → base-modal.D4INiJGX.js.map} +1 -1
- package/dist/chunks/bin.CA6UQCNZ.js +37 -0
- package/dist/chunks/bin.CA6UQCNZ.js.map +1 -0
- package/dist/chunks/button-actions-with-menu.DFD7gbdT.js +174 -0
- package/dist/chunks/button-actions-with-menu.DFD7gbdT.js.map +1 -0
- package/dist/chunks/{button-actions.BPnsl_QP.js → button-actions.BvGAE7sw.js} +3 -3
- package/dist/chunks/{button-actions.BPnsl_QP.js.map → button-actions.BvGAE7sw.js.map} +1 -1
- package/dist/chunks/calendar.DKHNrb9_.js +1252 -0
- package/dist/chunks/calendar.DKHNrb9_.js.map +1 -0
- package/dist/chunks/{card.BwC4MSjn.js → card.IrL_Fw-f.js} +2 -2
- package/dist/chunks/{card.BwC4MSjn.js.map → card.IrL_Fw-f.js.map} +1 -1
- package/dist/chunks/{checkbox-group.Bzd-qpJ-.js → checkbox-group.X2fi2jkS.js} +4 -4
- package/dist/chunks/{checkbox-group.Bzd-qpJ-.js.map → checkbox-group.X2fi2jkS.js.map} +1 -1
- package/dist/chunks/{checkbox-input.XtCjXis9.js → checkbox-input.CgbJsFXD.js} +61 -55
- package/dist/chunks/checkbox-input.CgbJsFXD.js.map +1 -0
- package/dist/chunks/{checkbox.DJRe4ync.js → checkbox.CXZQtFhM.js} +102 -87
- package/dist/chunks/checkbox.CXZQtFhM.js.map +1 -0
- package/dist/chunks/{checkmark-circle-fill.D9gNCN0T.js → checkmark-circle-fill.jicbqe7k.js} +11 -11
- package/dist/chunks/checkmark-circle-fill.jicbqe7k.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.0HhLVaJR.js → code-snippet.CcdsPxT7.js} +5 -5
- package/dist/chunks/{code-snippet.0HhLVaJR.js.map → code-snippet.CcdsPxT7.js.map} +1 -1
- package/dist/chunks/{controls-group.DnX2B502.js → controls-group.ClMNznTz.js} +2 -2
- package/dist/chunks/{controls-group.DnX2B502.js.map → controls-group.ClMNznTz.js.map} +1 -1
- package/dist/chunks/{copy.BzeHBtEF.js → copy.BYG9aoNO.js} +2 -2
- package/dist/chunks/{copy.BzeHBtEF.js.map → copy.BYG9aoNO.js.map} +1 -1
- package/dist/chunks/{cross-circle-fill.DLWo6wBR.js → cross-circle-fill.B7YpDLTK.js} +18 -18
- package/dist/chunks/cross-circle-fill.B7YpDLTK.js.map +1 -0
- package/dist/chunks/{dashboard-section.CySxZmlx.js → dashboard-section.Dz9GpOvy.js} +3 -3
- package/dist/chunks/{dashboard-section.CySxZmlx.js.map → dashboard-section.Dz9GpOvy.js.map} +1 -1
- package/dist/chunks/{dashed-underline.CCKLdMc7.js → dashed-underline.BuCIjMch.js} +11 -11
- package/dist/chunks/{dashed-underline.CCKLdMc7.js.map → dashed-underline.BuCIjMch.js.map} +1 -1
- package/dist/chunks/{data-grid-template.iM84gKjt.js → data-grid-template.B4jxtwoW.js} +2 -2
- package/dist/chunks/{data-grid-template.iM84gKjt.js.map → data-grid-template.B4jxtwoW.js.map} +1 -1
- package/dist/chunks/{data-grid.B2L_4qN7.js → data-grid.CLu8mvil.js} +45 -33
- package/dist/chunks/data-grid.CLu8mvil.js.map +1 -0
- package/dist/chunks/{date-picker.CMi0Kuy3.js → date-picker.CA2i6QxD.js} +123 -100
- package/dist/chunks/date-picker.CA2i6QxD.js.map +1 -0
- package/dist/chunks/date-range-picker.DVQ-j-JX.js +1107 -0
- package/dist/chunks/date-range-picker.DVQ-j-JX.js.map +1 -0
- package/dist/chunks/{date.Cvfyq77s.js → date.DoJuTLhO.js} +17 -17
- package/dist/chunks/{date.Cvfyq77s.js.map → date.DoJuTLhO.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.Filez078.js → dropdown-default-textbox.CwsgzDpx.js} +2 -2
- package/dist/chunks/{dropdown-default-textbox.Filez078.js.map → dropdown-default-textbox.CwsgzDpx.js.map} +1 -1
- package/dist/chunks/{dropdown-tag.B4-3z8xz.js → dropdown-tag.DFWV7Zj_.js} +4 -4
- package/dist/chunks/{dropdown-tag.B4-3z8xz.js.map → dropdown-tag.DFWV7Zj_.js.map} +1 -1
- package/dist/chunks/{dropdown.CRLx2Juh.js → dropdown.RVt9T6j5.js} +212 -201
- package/dist/chunks/dropdown.RVt9T6j5.js.map +1 -0
- package/dist/chunks/{error-message.68kVjf_N.js → error-message.BQ5MlnLg.js} +3 -3
- package/dist/chunks/{error-message.68kVjf_N.js.map → error-message.BQ5MlnLg.js.map} +1 -1
- package/dist/chunks/es6.BtaxuP0b.js.map +1 -1
- package/dist/chunks/{file-uploader.Cz89e0Ci.js → file-uploader.DJLGEmtF.js} +468 -479
- package/dist/chunks/file-uploader.DJLGEmtF.js.map +1 -0
- package/dist/chunks/filter-bar.GGHRoo6O.js +2760 -0
- package/dist/chunks/filter-bar.GGHRoo6O.js.map +1 -0
- package/dist/chunks/{focus-trap.DPJj05sV.js → focus-trap.D-HSKa_Q.js} +2 -2
- package/dist/chunks/{focus-trap.DPJj05sV.js.map → focus-trap.D-HSKa_Q.js.map} +1 -1
- package/dist/chunks/{footer-actions.DtbsjfSM.js → footer-actions.DK3pMfDY.js} +2 -2
- package/dist/chunks/{footer-actions.DtbsjfSM.js.map → footer-actions.DK3pMfDY.js.map} +1 -1
- package/dist/chunks/{form-layout-title.B7phPY2m.js → form-layout-title.BWCOZyay.js} +62 -60
- package/dist/chunks/form-layout-title.BWCOZyay.js.map +1 -0
- package/dist/chunks/header-with-views.BkcFu7QW.js +2354 -0
- package/dist/chunks/header-with-views.BkcFu7QW.js.map +1 -0
- package/dist/chunks/header.CyTcPWF4.js +234 -0
- package/dist/chunks/header.CyTcPWF4.js.map +1 -0
- 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.C5sL_d0I.js +386 -0
- package/dist/chunks/{index.BS3BeXQJ.js.map → index.C5sL_d0I.js.map} +1 -1
- package/dist/chunks/index.DD7TppDb.js +10 -0
- package/dist/chunks/index.DD7TppDb.js.map +1 -0
- package/dist/chunks/{info-icon-with-popover.pHwJeQxm.js → info-icon-with-popover.DgZh2mnN.js} +3 -3
- package/dist/chunks/{info-icon-with-popover.pHwJeQxm.js.map → info-icon-with-popover.DgZh2mnN.js.map} +1 -1
- package/dist/chunks/{info-icon.DUUa2W2z.js → info-icon.DxOAiUg4.js} +3 -3
- package/dist/chunks/{info-icon.DUUa2W2z.js.map → info-icon.DxOAiUg4.js.map} +1 -1
- package/dist/chunks/{info.CpPLBOVg.js → info.HK3R7Drc.js} +9 -9
- package/dist/chunks/info.HK3R7Drc.js.map +1 -0
- package/dist/chunks/{input-field-password.zIUeIG8i.js → input-field-password.BSJMbPHf.js} +134 -127
- package/dist/chunks/input-field-password.BSJMbPHf.js.map +1 -0
- package/dist/chunks/{input-field-phone-number.BGS23WKe.js → input-field-phone-number.BtRMkC84.js} +348 -345
- package/dist/chunks/{input-field-phone-number.BGS23WKe.js.map → input-field-phone-number.BtRMkC84.js.map} +1 -1
- package/dist/chunks/input-field.CRlXtS3z.js +298 -0
- package/dist/chunks/input-field.CRlXtS3z.js.map +1 -0
- package/dist/chunks/{inspector.types.9S8hNOjR.js → inspector.types.s0va--Nn.js} +3 -3
- package/dist/chunks/{inspector.types.9S8hNOjR.js.map → inspector.types.s0va--Nn.js.map} +1 -1
- package/dist/chunks/{layout-row.BAz7JrXo.js → layout-row.CwwbWO7s.js} +2 -2
- package/dist/chunks/{layout-row.BAz7JrXo.js.map → layout-row.CwwbWO7s.js.map} +1 -1
- package/dist/chunks/{listbox-option-tag.D557okR8.js → listbox-option-tag.2k0hRv0z.js} +2 -2
- package/dist/chunks/{listbox-option-tag.D557okR8.js.map → listbox-option-tag.2k0hRv0z.js.map} +1 -1
- package/dist/chunks/{menu.ZE0cTcKL.js → menu.DBRBVdsd.js} +119 -118
- package/dist/chunks/menu.DBRBVdsd.js.map +1 -0
- package/dist/chunks/{modal-fullscreen.CjZh3U8e.js → modal-fullscreen.POY-6qYC.js} +3 -3
- package/dist/chunks/{modal-fullscreen.CjZh3U8e.js.map → modal-fullscreen.POY-6qYC.js.map} +1 -1
- package/dist/chunks/{modal.vue_vue_type_script_setup_true_lang.C4Z_Q8bq.js → modal.vue_vue_type_script_setup_true_lang.CGV0E6eK.js} +4 -4
- package/dist/chunks/{modal.vue_vue_type_script_setup_true_lang.C4Z_Q8bq.js.map → modal.vue_vue_type_script_setup_true_lang.CGV0E6eK.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.BSp5RwM0.js → pagination.TWtayPVy.js} +2 -2
- package/dist/chunks/{pagination.BSp5RwM0.js.map → pagination.TWtayPVy.js.map} +1 -1
- package/dist/chunks/{payment-method.BACjrzKP.js → payment-method.CLUppDo_.js} +7 -7
- package/dist/chunks/payment-method.CLUppDo_.js.map +1 -0
- package/dist/chunks/{popover.DLyVEjCd.js → popover.BBnUL5Y_.js} +3 -3
- package/dist/chunks/{popover.DLyVEjCd.js.map → popover.BBnUL5Y_.js.map} +1 -1
- package/dist/chunks/{popper-container.Bx3CBGg6.js → popper-container.Be3h7X17.js} +2 -2
- package/dist/chunks/{popper-container.Bx3CBGg6.js.map → popper-container.Be3h7X17.js.map} +1 -1
- package/dist/chunks/{promo-banner.Clae7YGL.js → promo-banner.BdaUFMsl.js} +2 -2
- package/dist/chunks/{promo-banner.Clae7YGL.js.map → promo-banner.BdaUFMsl.js.map} +1 -1
- package/dist/chunks/{radio-group.Bdy7_UIu.js → radio-group.BUazlUAi.js} +4 -4
- package/dist/chunks/{radio-group.Bdy7_UIu.js.map → radio-group.BUazlUAi.js.map} +1 -1
- package/dist/chunks/{search-bar.uUWWZpqL.js → search-bar.21CWuOHb.js} +5 -5
- package/dist/chunks/{search-bar.uUWWZpqL.js.map → search-bar.21CWuOHb.js.map} +1 -1
- package/dist/chunks/{search.BwQq1yRg.js → search.CW_aTqip.js} +13 -13
- package/dist/chunks/search.CW_aTqip.js.map +1 -0
- package/dist/chunks/{secondary-nav.DJudnYiY.js → secondary-nav.CUQi4Ybt.js} +3 -3
- package/dist/chunks/{secondary-nav.DJudnYiY.js.map → secondary-nav.CUQi4Ybt.js.map} +1 -1
- package/dist/chunks/{segmented-control.BqJXrEmp.js → segmented-control.BZJ9DzRF.js} +2 -2
- package/dist/chunks/{segmented-control.BqJXrEmp.js.map → segmented-control.BZJ9DzRF.js.map} +1 -1
- package/dist/chunks/{selection-card-group.COMI4GGI.js → selection-card-group.Bdrx1b6M.js} +12 -12
- package/dist/chunks/{selection-card-group.COMI4GGI.js.map → selection-card-group.Bdrx1b6M.js.map} +1 -1
- package/dist/chunks/{sidepanel.VwZpyqJr.js → sidepanel.D_bGUcyi.js} +4 -4
- package/dist/chunks/{sidepanel.VwZpyqJr.js.map → sidepanel.D_bGUcyi.js.map} +1 -1
- package/dist/chunks/{structured-list-item.BZJQzyt_.js → structured-list-item.r1jYiX6Y.js} +5 -5
- package/dist/chunks/{structured-list-item.BZJQzyt_.js.map → structured-list-item.r1jYiX6Y.js.map} +1 -1
- package/dist/chunks/{summary-grid-item-custom.rBC-2kKM.js → summary-grid-item-custom.ACP0RH0N.js} +299 -198
- package/dist/chunks/summary-grid-item-custom.ACP0RH0N.js.map +1 -0
- package/dist/chunks/{tag.CXADLCgG.js → tag.DVkBzXMx.js} +2 -2
- package/dist/chunks/{tag.CXADLCgG.js.map → tag.DVkBzXMx.js.map} +1 -1
- package/dist/chunks/{teleport.B1NhF5-O.js → teleport.DfTpEQBR.js} +2 -2
- package/dist/chunks/{teleport.B1NhF5-O.js.map → teleport.DfTpEQBR.js.map} +1 -1
- package/dist/chunks/{textarea.4s69xpG3.js → textarea.C8R71Q4l.js} +2 -2
- package/dist/chunks/{textarea.4s69xpG3.js.map → textarea.C8R71Q4l.js.map} +1 -1
- package/dist/chunks/{timeline-item.DOoLkIox.js → timeline-item.DBeAlt3N.js} +12 -11
- package/dist/chunks/{timeline-item.DOoLkIox.js.map → timeline-item.DBeAlt3N.js.map} +1 -1
- package/dist/chunks/{tooltip.BtfIbhGU.js → tooltip.Cbs_YIap.js} +2 -2
- package/dist/chunks/{tooltip.BtfIbhGU.js.map → tooltip.Cbs_YIap.js.map} +1 -1
- package/dist/chunks/{tutorial.vue_vue_type_script_setup_true_lang.DRlP0P1P.js → tutorial.vue_vue_type_script_setup_true_lang.4smMvopK.js} +7 -7
- package/dist/chunks/tutorial.vue_vue_type_script_setup_true_lang.4smMvopK.js.map +1 -0
- package/dist/chunks/{use-cached-selected-values.9xqNZAmj.js → use-cached-selected-values.Chb18cq_.js} +146 -137
- package/dist/chunks/{use-cached-selected-values.9xqNZAmj.js.map → use-cached-selected-values.Chb18cq_.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 +201 -199
- 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 +1 -1
- package/package.json +8 -7
- package/dist/chunks/alert.eqWeCHyL.js.map +0 -1
- package/dist/chunks/button-actions-with-menu.Hl8tUKa4.js +0 -119
- package/dist/chunks/button-actions-with-menu.Hl8tUKa4.js.map +0 -1
- package/dist/chunks/calendar.DfN1__E_.js +0 -971
- package/dist/chunks/calendar.DfN1__E_.js.map +0 -1
- package/dist/chunks/checkbox-input.XtCjXis9.js.map +0 -1
- package/dist/chunks/checkbox.DJRe4ync.js.map +0 -1
- package/dist/chunks/checkmark-circle-fill.D9gNCN0T.js.map +0 -1
- package/dist/chunks/cross-circle-fill.DLWo6wBR.js.map +0 -1
- package/dist/chunks/data-grid.B2L_4qN7.js.map +0 -1
- package/dist/chunks/date-picker.CMi0Kuy3.js.map +0 -1
- package/dist/chunks/date-range-picker.-KwSzmW_.js +0 -1087
- package/dist/chunks/date-range-picker.-KwSzmW_.js.map +0 -1
- package/dist/chunks/dropdown.CRLx2Juh.js.map +0 -1
- package/dist/chunks/file-uploader.Cz89e0Ci.js.map +0 -1
- package/dist/chunks/filter-bar.bfUnCTPj.js +0 -2807
- package/dist/chunks/filter-bar.bfUnCTPj.js.map +0 -1
- package/dist/chunks/form-layout-title.B7phPY2m.js.map +0 -1
- package/dist/chunks/header.ITEMuMAU.js +0 -256
- package/dist/chunks/header.ITEMuMAU.js.map +0 -1
- package/dist/chunks/index.BS3BeXQJ.js +0 -368
- 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.CpPLBOVg.js.map +0 -1
- package/dist/chunks/input-field-password.zIUeIG8i.js.map +0 -1
- package/dist/chunks/input-field.y006Hyc1.js +0 -292
- package/dist/chunks/input-field.y006Hyc1.js.map +0 -1
- package/dist/chunks/menu.ZE0cTcKL.js.map +0 -1
- package/dist/chunks/payment-method.BACjrzKP.js.map +0 -1
- package/dist/chunks/search.BwQq1yRg.js.map +0 -1
- package/dist/chunks/summary-grid-item-custom.rBC-2kKM.js.map +0 -1
- package/dist/chunks/tutorial.vue_vue_type_script_setup_true_lang.DRlP0P1P.js.map +0 -1
package/dist/@types/index.d.ts
CHANGED
|
@@ -12,6 +12,7 @@ import { DirectiveBinding } from 'vue';
|
|
|
12
12
|
import type { DirectiveHook } from 'vue';
|
|
13
13
|
import { EditorView } from '@codemirror/view';
|
|
14
14
|
import { ExtractPropTypes } from 'vue';
|
|
15
|
+
import type { HTMLAttributes } from '@vue/runtime-dom';
|
|
15
16
|
import { Placement } from '@floating-ui/vue';
|
|
16
17
|
import type { Plugin } from 'vue';
|
|
17
18
|
import { PropType } from 'vue';
|
|
@@ -74,6 +75,8 @@ declare type __VLS_NonUndefinedable_30<T> = T extends undefined ? never : T;
|
|
|
74
75
|
|
|
75
76
|
declare type __VLS_NonUndefinedable_31<T> = T extends undefined ? never : T;
|
|
76
77
|
|
|
78
|
+
declare type __VLS_NonUndefinedable_32<T> = T extends undefined ? never : T;
|
|
79
|
+
|
|
77
80
|
declare type __VLS_NonUndefinedable_4<T> = T extends undefined ? never : T;
|
|
78
81
|
|
|
79
82
|
declare type __VLS_NonUndefinedable_5<T> = T extends undefined ? never : T;
|
|
@@ -311,6 +314,15 @@ declare type __VLS_TypePropsToRuntimeProps_31<T> = {
|
|
|
311
314
|
};
|
|
312
315
|
};
|
|
313
316
|
|
|
317
|
+
declare type __VLS_TypePropsToRuntimeProps_32<T> = {
|
|
318
|
+
[K in keyof T]-?: {} extends Pick<T, K> ? {
|
|
319
|
+
type: PropType<__VLS_NonUndefinedable_32<T[K]>>;
|
|
320
|
+
} : {
|
|
321
|
+
type: PropType<T[K]>;
|
|
322
|
+
required: true;
|
|
323
|
+
};
|
|
324
|
+
};
|
|
325
|
+
|
|
314
326
|
declare type __VLS_TypePropsToRuntimeProps_4<T> = {
|
|
315
327
|
[K in keyof T]-?: {} extends Pick<T, K> ? {
|
|
316
328
|
type: PropType<__VLS_NonUndefinedable_4<T[K]>>;
|
|
@@ -491,6 +503,12 @@ declare type __VLS_WithDefaults_28<P, D> = {
|
|
|
491
503
|
} : P[K];
|
|
492
504
|
};
|
|
493
505
|
|
|
506
|
+
declare type __VLS_WithDefaults_29<P, D> = {
|
|
507
|
+
[K in keyof Pick<P, keyof P>]: K extends keyof D ? P[K] & {
|
|
508
|
+
default: D[K];
|
|
509
|
+
} : P[K];
|
|
510
|
+
};
|
|
511
|
+
|
|
494
512
|
declare type __VLS_WithDefaults_3<P, D> = {
|
|
495
513
|
[K in keyof Pick<P, keyof P>]: K extends keyof D ? P[K] & {
|
|
496
514
|
default: D[K];
|
|
@@ -761,6 +779,12 @@ declare type __VLS_WithTemplateSlots_43<T, S> = T & {
|
|
|
761
779
|
};
|
|
762
780
|
};
|
|
763
781
|
|
|
782
|
+
declare type __VLS_WithTemplateSlots_44<T, S> = T & {
|
|
783
|
+
new (): {
|
|
784
|
+
$slots: S;
|
|
785
|
+
};
|
|
786
|
+
};
|
|
787
|
+
|
|
764
788
|
declare type __VLS_WithTemplateSlots_5<T, S> = T & {
|
|
765
789
|
new (): {
|
|
766
790
|
$slots: S;
|
|
@@ -793,6 +817,7 @@ declare type __VLS_WithTemplateSlots_9<T, S> = T & {
|
|
|
793
817
|
|
|
794
818
|
/**
|
|
795
819
|
* Extracts all the keys from a type
|
|
820
|
+
* @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.
|
|
796
821
|
*/
|
|
797
822
|
export declare type allKeys<T> = T extends any ? keyof T : never;
|
|
798
823
|
|
|
@@ -1927,6 +1952,10 @@ shouldShowError: ComputedRef<boolean>;
|
|
|
1927
1952
|
shouldShowErrorMessage: ComputedRef<boolean>;
|
|
1928
1953
|
contentSlotAvailable: ComputedRef<boolean>;
|
|
1929
1954
|
hasContentSlot: ComputedRef<boolean>;
|
|
1955
|
+
styleAttrs: ComputedRef< {
|
|
1956
|
+
class: HTMLAttributes["class"];
|
|
1957
|
+
style: HTMLAttributes["style"];
|
|
1958
|
+
}>;
|
|
1930
1959
|
hasSlot: (name: string) => boolean;
|
|
1931
1960
|
onChange: (newValue: BentoCheckboxType | BentoCheckboxGroupItems) => void;
|
|
1932
1961
|
t: (key: "required" | "optional" | "checkbox", values?: default_2.Values) => string;
|
|
@@ -3325,7 +3354,7 @@ export declare interface BentoCurrencyProps {
|
|
|
3325
3354
|
* `
|
|
3326
3355
|
* }
|
|
3327
3356
|
*/
|
|
3328
|
-
export declare const BentoDashboardSection:
|
|
3357
|
+
export declare const BentoDashboardSection: __VLS_WithTemplateSlots_43<DefineComponent<__VLS_WithDefaults_29<__VLS_TypePropsToRuntimeProps_32<{
|
|
3329
3358
|
/**
|
|
3330
3359
|
* The header of the section
|
|
3331
3360
|
*/
|
|
@@ -3336,7 +3365,7 @@ header: BentoDashboardTemplateHeader;
|
|
|
3336
3365
|
halfWidth?: boolean;
|
|
3337
3366
|
}>, {
|
|
3338
3367
|
halfWidth: boolean;
|
|
3339
|
-
}>, {}, {}, {}, {}, ComponentOptionsMixin, ComponentOptionsMixin, {}, string, Readonly<ExtractPropTypes<
|
|
3368
|
+
}>, {}, {}, {}, {}, ComponentOptionsMixin, ComponentOptionsMixin, {}, string, Readonly<ExtractPropTypes<__VLS_WithDefaults_29<__VLS_TypePropsToRuntimeProps_32<{
|
|
3340
3369
|
/**
|
|
3341
3370
|
* The header of the section
|
|
3342
3371
|
*/
|
|
@@ -3384,7 +3413,7 @@ halfWidth: boolean;
|
|
|
3384
3413
|
* `
|
|
3385
3414
|
* }
|
|
3386
3415
|
*/
|
|
3387
|
-
export declare const BentoDashboardTemplate:
|
|
3416
|
+
export declare const BentoDashboardTemplate: __VLS_WithTemplateSlots_42<DefineComponent<__VLS_WithDefaults_28<__VLS_TypePropsToRuntimeProps_31<{
|
|
3388
3417
|
/**
|
|
3389
3418
|
* The header that goes to the top of the template
|
|
3390
3419
|
*/
|
|
@@ -3407,7 +3436,7 @@ stickyFilters?: boolean;
|
|
|
3407
3436
|
tabs: any;
|
|
3408
3437
|
stickyTabs: boolean;
|
|
3409
3438
|
stickyFilters: boolean;
|
|
3410
|
-
}>, {}, {}, {}, {}, ComponentOptionsMixin, ComponentOptionsMixin, {}, string, Readonly<ExtractPropTypes<
|
|
3439
|
+
}>, {}, {}, {}, {}, ComponentOptionsMixin, ComponentOptionsMixin, {}, string, Readonly<ExtractPropTypes<__VLS_WithDefaults_28<__VLS_TypePropsToRuntimeProps_31<{
|
|
3411
3440
|
/**
|
|
3412
3441
|
* The header that goes to the top of the template
|
|
3413
3442
|
*/
|
|
@@ -3623,6 +3652,14 @@ type: PropType<BentoFilterValues>;
|
|
|
3623
3652
|
default: () => any[];
|
|
3624
3653
|
};
|
|
3625
3654
|
/**
|
|
3655
|
+
* Filter's search bar properties with which the placeholder, hint and other
|
|
3656
|
+
* "bento-search-bar" properties can be set. @see {@link BentoFilterBarSearchBarProps}
|
|
3657
|
+
*/
|
|
3658
|
+
filterSearchConfig: {
|
|
3659
|
+
type: PropType<BentoFilterBarSearchBarProps>;
|
|
3660
|
+
default: any;
|
|
3661
|
+
};
|
|
3662
|
+
/**
|
|
3626
3663
|
* Filter bar search term useful to filter all the data by text
|
|
3627
3664
|
*/
|
|
3628
3665
|
filterSearchTerm: {
|
|
@@ -3889,6 +3926,14 @@ type: PropType<BentoFilterValues>;
|
|
|
3889
3926
|
default: () => any[];
|
|
3890
3927
|
};
|
|
3891
3928
|
/**
|
|
3929
|
+
* Filter's search bar properties with which the placeholder, hint and other
|
|
3930
|
+
* "bento-search-bar" properties can be set. @see {@link BentoFilterBarSearchBarProps}
|
|
3931
|
+
*/
|
|
3932
|
+
filterSearchConfig: {
|
|
3933
|
+
type: PropType<BentoFilterBarSearchBarProps>;
|
|
3934
|
+
default: any;
|
|
3935
|
+
};
|
|
3936
|
+
/**
|
|
3892
3937
|
* Filter bar search term useful to filter all the data by text
|
|
3893
3938
|
*/
|
|
3894
3939
|
filterSearchTerm: {
|
|
@@ -4099,6 +4144,7 @@ filterValues: BentoFilterValues;
|
|
|
4099
4144
|
allowColumnDragAndDrop: boolean;
|
|
4100
4145
|
bulkActions: BentoButtonActionsList;
|
|
4101
4146
|
columnPanel: boolean;
|
|
4147
|
+
filterSearchConfig: BentoFilterBarSearchBarProps;
|
|
4102
4148
|
filterSearchTerm: string;
|
|
4103
4149
|
noSpacingTop: boolean;
|
|
4104
4150
|
stickyHorizontalScrollbar: boolean;
|
|
@@ -4264,7 +4310,7 @@ export declare enum BentoDatagridStyleState {
|
|
|
4264
4310
|
* `
|
|
4265
4311
|
* }
|
|
4266
4312
|
*/
|
|
4267
|
-
export declare const BentoDataGridTemplate:
|
|
4313
|
+
export declare const BentoDataGridTemplate: __VLS_WithTemplateSlots_44<DefineComponent< {
|
|
4268
4314
|
/**
|
|
4269
4315
|
* The header that goes to the top of the template
|
|
4270
4316
|
*/
|
|
@@ -4408,17 +4454,19 @@ default: boolean;
|
|
|
4408
4454
|
}>>, {
|
|
4409
4455
|
disableTypography: boolean;
|
|
4410
4456
|
date: string | number | Date;
|
|
4411
|
-
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";
|
|
4457
|
+
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";
|
|
4412
4458
|
}>;
|
|
4413
4459
|
|
|
4414
4460
|
export declare interface BentoDateFilterOptions {
|
|
4415
4461
|
firstDayOfWeek?: CalendarMonthFirstDayOfWeek;
|
|
4416
4462
|
isDateDisabled?: CalendarMonthIsDateDisabled;
|
|
4463
|
+
variant?: `${CalendarVariant}`;
|
|
4417
4464
|
}
|
|
4418
4465
|
|
|
4419
4466
|
export declare type BentoDateFilterValue = Date | null;
|
|
4420
4467
|
|
|
4421
4468
|
export declare enum BentoDateFormat {
|
|
4469
|
+
SHORT_MONTH = "LLL",// Jun
|
|
4422
4470
|
DAY_OF_MONTH = "d",// 1, 2, ..., 31,
|
|
4423
4471
|
LONG_WEEKDAY = "EEEE",// Friday
|
|
4424
4472
|
SHORT_TIME_WITH_PERIOD = "h:mm aa",// 2:44 PM
|
|
@@ -4558,6 +4606,13 @@ type: PropType<BentoDatePickerValue>;
|
|
|
4558
4606
|
default: any;
|
|
4559
4607
|
};
|
|
4560
4608
|
/**
|
|
4609
|
+
* The type of calendar to display. Defaults to showing days.
|
|
4610
|
+
*/
|
|
4611
|
+
variant: {
|
|
4612
|
+
type: PropType<`${CalendarVariant}`>;
|
|
4613
|
+
default: any;
|
|
4614
|
+
};
|
|
4615
|
+
/**
|
|
4561
4616
|
* Default start date for the calendar pane
|
|
4562
4617
|
*/
|
|
4563
4618
|
defaultDisplayMonth: {
|
|
@@ -4685,6 +4740,13 @@ type: PropType<BentoDatePickerValue>;
|
|
|
4685
4740
|
default: any;
|
|
4686
4741
|
};
|
|
4687
4742
|
/**
|
|
4743
|
+
* The type of calendar to display. Defaults to showing days.
|
|
4744
|
+
*/
|
|
4745
|
+
variant: {
|
|
4746
|
+
type: PropType<`${CalendarVariant}`>;
|
|
4747
|
+
default: any;
|
|
4748
|
+
};
|
|
4749
|
+
/**
|
|
4688
4750
|
* Default start date for the calendar pane
|
|
4689
4751
|
*/
|
|
4690
4752
|
defaultDisplayMonth: {
|
|
@@ -4696,6 +4758,7 @@ validator: (value: string) => boolean;
|
|
|
4696
4758
|
value: Date;
|
|
4697
4759
|
description: string;
|
|
4698
4760
|
label: string;
|
|
4761
|
+
variant: "day" | "month";
|
|
4699
4762
|
required: boolean;
|
|
4700
4763
|
disabled: boolean;
|
|
4701
4764
|
optional: boolean;
|
|
@@ -4726,6 +4789,7 @@ export declare interface BentoDateRangeFilterOptions {
|
|
|
4726
4789
|
numberOfMonths?: number;
|
|
4727
4790
|
showEndDateOnOpen?: boolean;
|
|
4728
4791
|
quickSelectRanges?: DateRangePickerCalendarRangeSelectorItems | boolean;
|
|
4792
|
+
variant?: `${CalendarVariant}`;
|
|
4729
4793
|
}
|
|
4730
4794
|
|
|
4731
4795
|
export declare type BentoDateRangeFilterValue = BentoDateRangePickerValue | null;
|
|
@@ -4900,6 +4964,13 @@ type: PropType<BentoDateRangePickerValue>;
|
|
|
4900
4964
|
default: any;
|
|
4901
4965
|
};
|
|
4902
4966
|
/**
|
|
4967
|
+
* The type of calendar to display. Defaults to showing days.
|
|
4968
|
+
*/
|
|
4969
|
+
variant: {
|
|
4970
|
+
type: PropType<`${CalendarVariant}`>;
|
|
4971
|
+
default: any;
|
|
4972
|
+
};
|
|
4973
|
+
/**
|
|
4903
4974
|
* Enables the date picker selection to persist until it is explicitly applied.
|
|
4904
4975
|
* Displays a set of buttons: Apply and Cancel.
|
|
4905
4976
|
*
|
|
@@ -4945,6 +5016,7 @@ FILL_CONTAINER: import("../../components/button").BentoButtonActionsLayoutBasic.
|
|
|
4945
5016
|
SPACE_BETWEEN: import("../../components/button").BentoButtonActionsLayoutBasic.SPACE_BETWEEN;
|
|
4946
5017
|
VERTICAL_STACK: import("../../components/button").BentoButtonActionsLayoutBasic.VERTICAL_STACK;
|
|
4947
5018
|
};
|
|
5019
|
+
withTimeInput: ComputedRef<boolean>;
|
|
4948
5020
|
closeDateRangePicker: () => void;
|
|
4949
5021
|
clearDateRangePickerValue: () => Promise<void>;
|
|
4950
5022
|
openDateRangePicker: () => void;
|
|
@@ -4953,7 +5025,7 @@ onEnterPressedOverInput: () => void;
|
|
|
4953
5025
|
onDateRangePickerInput: (selectedRange: BentoDateRangePickerValue) => void;
|
|
4954
5026
|
onDateRangePickerError: (dateTextInput: any) => void;
|
|
4955
5027
|
onDateRangePickerFormDateInputUpdate: (dateFormDate: DateRangePickerCalendarFormData) => void;
|
|
4956
|
-
t: (key: "cancel" | "apply" | "
|
|
5028
|
+
t: (key: "cancel" | "apply" | "selectDate" | "provideDateInAFormat" | "selectDateRange" | "selectedDateIsNotAvailable" | "dateRangePicker", values?: default_2.Values) => string;
|
|
4957
5029
|
}, {}, {}, {}, ComponentOptionsMixin, ComponentOptionsMixin, BentoDateRangePickerEvent[], string, Readonly<ExtractPropTypes< {
|
|
4958
5030
|
/**
|
|
4959
5031
|
* Allows user to enter time values in the form
|
|
@@ -5097,6 +5169,13 @@ type: PropType<BentoDateRangePickerValue>;
|
|
|
5097
5169
|
default: any;
|
|
5098
5170
|
};
|
|
5099
5171
|
/**
|
|
5172
|
+
* The type of calendar to display. Defaults to showing days.
|
|
5173
|
+
*/
|
|
5174
|
+
variant: {
|
|
5175
|
+
type: PropType<`${CalendarVariant}`>;
|
|
5176
|
+
default: any;
|
|
5177
|
+
};
|
|
5178
|
+
/**
|
|
5100
5179
|
* Enables the date picker selection to persist until it is explicitly applied.
|
|
5101
5180
|
* Displays a set of buttons: Apply and Cancel.
|
|
5102
5181
|
*
|
|
@@ -5110,6 +5189,7 @@ default: boolean;
|
|
|
5110
5189
|
value: BentoDateRangePickerValue;
|
|
5111
5190
|
description: string;
|
|
5112
5191
|
label: string;
|
|
5192
|
+
variant: "day" | "month";
|
|
5113
5193
|
required: boolean;
|
|
5114
5194
|
disabled: boolean;
|
|
5115
5195
|
optional: boolean;
|
|
@@ -5314,13 +5394,20 @@ type: StringConstructor;
|
|
|
5314
5394
|
default: any;
|
|
5315
5395
|
};
|
|
5316
5396
|
/**
|
|
5317
|
-
* Indicates if new options are loading.
|
|
5397
|
+
* Indicates if new options are lazy loading.
|
|
5318
5398
|
*/
|
|
5319
5399
|
loading: {
|
|
5320
5400
|
type: BooleanConstructor;
|
|
5321
5401
|
default: boolean;
|
|
5322
5402
|
};
|
|
5323
5403
|
/**
|
|
5404
|
+
* Indicates that dropdown items are loading
|
|
5405
|
+
*/
|
|
5406
|
+
componentLoading: {
|
|
5407
|
+
type: BooleanConstructor;
|
|
5408
|
+
default: boolean;
|
|
5409
|
+
};
|
|
5410
|
+
/**
|
|
5324
5411
|
* The type of `Lazy Load`.
|
|
5325
5412
|
* Type "automatic" will enable infinite scrolling
|
|
5326
5413
|
* Type "button" will enable lazy loading with "Show more" button
|
|
@@ -5419,7 +5506,7 @@ default: boolean;
|
|
|
5419
5506
|
}, {
|
|
5420
5507
|
focus: () => void;
|
|
5421
5508
|
}, {}, {}, {}, ComponentOptionsMixin, ComponentOptionsMixin, {
|
|
5422
|
-
input: (selectedValue:
|
|
5509
|
+
input: (selectedValue: any) => void;
|
|
5423
5510
|
} & {
|
|
5424
5511
|
"show-more": () => void;
|
|
5425
5512
|
}, string, Readonly<ExtractPropTypes< {
|
|
@@ -5522,13 +5609,20 @@ type: StringConstructor;
|
|
|
5522
5609
|
default: any;
|
|
5523
5610
|
};
|
|
5524
5611
|
/**
|
|
5525
|
-
* Indicates if new options are loading.
|
|
5612
|
+
* Indicates if new options are lazy loading.
|
|
5526
5613
|
*/
|
|
5527
5614
|
loading: {
|
|
5528
5615
|
type: BooleanConstructor;
|
|
5529
5616
|
default: boolean;
|
|
5530
5617
|
};
|
|
5531
5618
|
/**
|
|
5619
|
+
* Indicates that dropdown items are loading
|
|
5620
|
+
*/
|
|
5621
|
+
componentLoading: {
|
|
5622
|
+
type: BooleanConstructor;
|
|
5623
|
+
default: boolean;
|
|
5624
|
+
};
|
|
5625
|
+
/**
|
|
5532
5626
|
* The type of `Lazy Load`.
|
|
5533
5627
|
* Type "automatic" will enable infinite scrolling
|
|
5534
5628
|
* Type "button" will enable lazy loading with "Show more" button
|
|
@@ -5647,6 +5741,7 @@ staticCategories: boolean;
|
|
|
5647
5741
|
hasMoreItems: boolean;
|
|
5648
5742
|
lazyLoadType: "button" | "none" | "automatic" | BentoListboxLazyLoadType;
|
|
5649
5743
|
emptyState: BentoListboxEmptyStateProps;
|
|
5744
|
+
componentLoading: boolean;
|
|
5650
5745
|
virtualScroll: BentoListboxVirtulisationOptions;
|
|
5651
5746
|
dynamicFiltering: boolean;
|
|
5652
5747
|
showSlotContentInMultiple: boolean;
|
|
@@ -5743,6 +5838,10 @@ loading: {
|
|
|
5743
5838
|
type: BooleanConstructor;
|
|
5744
5839
|
default: boolean;
|
|
5745
5840
|
};
|
|
5841
|
+
componentLoading: {
|
|
5842
|
+
type: BooleanConstructor;
|
|
5843
|
+
default: boolean;
|
|
5844
|
+
};
|
|
5746
5845
|
lazyLoadType: {
|
|
5747
5846
|
type: PropType<BentoListboxLazyLoadType | `${BentoListboxLazyLoadType}`>;
|
|
5748
5847
|
default: BentoListboxLazyLoadType;
|
|
@@ -5859,6 +5958,10 @@ loading: {
|
|
|
5859
5958
|
type: BooleanConstructor;
|
|
5860
5959
|
default: boolean;
|
|
5861
5960
|
};
|
|
5961
|
+
componentLoading: {
|
|
5962
|
+
type: BooleanConstructor;
|
|
5963
|
+
default: boolean;
|
|
5964
|
+
};
|
|
5862
5965
|
lazyLoadType: {
|
|
5863
5966
|
type: PropType<BentoListboxLazyLoadType | `${BentoListboxLazyLoadType}`>;
|
|
5864
5967
|
default: BentoListboxLazyLoadType;
|
|
@@ -5936,6 +6039,7 @@ staticCategories: boolean;
|
|
|
5936
6039
|
hasMoreItems: boolean;
|
|
5937
6040
|
lazyLoadType: "button" | "none" | "automatic" | BentoListboxLazyLoadType;
|
|
5938
6041
|
emptyState: BentoListboxEmptyStateProps;
|
|
6042
|
+
componentLoading: boolean;
|
|
5939
6043
|
virtualScroll: BentoListboxVirtulisationOptions;
|
|
5940
6044
|
dynamicFiltering: boolean;
|
|
5941
6045
|
showSlotContentInMultiple: boolean;
|
|
@@ -6038,6 +6142,10 @@ loading: {
|
|
|
6038
6142
|
type: BooleanConstructor;
|
|
6039
6143
|
default: boolean;
|
|
6040
6144
|
};
|
|
6145
|
+
componentLoading: {
|
|
6146
|
+
type: BooleanConstructor;
|
|
6147
|
+
default: boolean;
|
|
6148
|
+
};
|
|
6041
6149
|
lazyLoadType: {
|
|
6042
6150
|
type: PropType<BentoListboxLazyLoadType | `${BentoListboxLazyLoadType}`>;
|
|
6043
6151
|
default: BentoListboxLazyLoadType;
|
|
@@ -6162,6 +6270,10 @@ loading: {
|
|
|
6162
6270
|
type: BooleanConstructor;
|
|
6163
6271
|
default: boolean;
|
|
6164
6272
|
};
|
|
6273
|
+
componentLoading: {
|
|
6274
|
+
type: BooleanConstructor;
|
|
6275
|
+
default: boolean;
|
|
6276
|
+
};
|
|
6165
6277
|
lazyLoadType: {
|
|
6166
6278
|
type: PropType<BentoListboxLazyLoadType | `${BentoListboxLazyLoadType}`>;
|
|
6167
6279
|
default: BentoListboxLazyLoadType;
|
|
@@ -6240,6 +6352,7 @@ staticCategories: boolean;
|
|
|
6240
6352
|
hasMoreItems: boolean;
|
|
6241
6353
|
lazyLoadType: "button" | "none" | "automatic" | BentoListboxLazyLoadType;
|
|
6242
6354
|
emptyState: BentoListboxEmptyStateProps;
|
|
6355
|
+
componentLoading: boolean;
|
|
6243
6356
|
virtualScroll: BentoListboxVirtulisationOptions;
|
|
6244
6357
|
dynamicFiltering: boolean;
|
|
6245
6358
|
showSlotContentInMultiple: boolean;
|
|
@@ -6333,6 +6446,10 @@ loading: {
|
|
|
6333
6446
|
type: BooleanConstructor;
|
|
6334
6447
|
default: boolean;
|
|
6335
6448
|
};
|
|
6449
|
+
componentLoading: {
|
|
6450
|
+
type: BooleanConstructor;
|
|
6451
|
+
default: boolean;
|
|
6452
|
+
};
|
|
6336
6453
|
lazyLoadType: {
|
|
6337
6454
|
type: PropType<BentoListboxLazyLoadType | `${BentoListboxLazyLoadType}`>;
|
|
6338
6455
|
default: BentoListboxLazyLoadType;
|
|
@@ -6448,6 +6565,10 @@ loading: {
|
|
|
6448
6565
|
type: BooleanConstructor;
|
|
6449
6566
|
default: boolean;
|
|
6450
6567
|
};
|
|
6568
|
+
componentLoading: {
|
|
6569
|
+
type: BooleanConstructor;
|
|
6570
|
+
default: boolean;
|
|
6571
|
+
};
|
|
6451
6572
|
lazyLoadType: {
|
|
6452
6573
|
type: PropType<BentoListboxLazyLoadType | `${BentoListboxLazyLoadType}`>;
|
|
6453
6574
|
default: BentoListboxLazyLoadType;
|
|
@@ -6525,6 +6646,7 @@ staticCategories: boolean;
|
|
|
6525
6646
|
hasMoreItems: boolean;
|
|
6526
6647
|
lazyLoadType: "button" | "none" | "automatic" | BentoListboxLazyLoadType;
|
|
6527
6648
|
emptyState: BentoListboxEmptyStateProps;
|
|
6649
|
+
componentLoading: boolean;
|
|
6528
6650
|
virtualScroll: BentoListboxVirtulisationOptions;
|
|
6529
6651
|
dynamicFiltering: boolean;
|
|
6530
6652
|
showSlotContentInMultiple: boolean;
|
|
@@ -6618,6 +6740,10 @@ loading: {
|
|
|
6618
6740
|
type: BooleanConstructor;
|
|
6619
6741
|
default: boolean;
|
|
6620
6742
|
};
|
|
6743
|
+
componentLoading: {
|
|
6744
|
+
type: BooleanConstructor;
|
|
6745
|
+
default: boolean;
|
|
6746
|
+
};
|
|
6621
6747
|
lazyLoadType: {
|
|
6622
6748
|
type: PropType<BentoListboxLazyLoadType | `${BentoListboxLazyLoadType}`>;
|
|
6623
6749
|
default: BentoListboxLazyLoadType;
|
|
@@ -6733,6 +6859,10 @@ loading: {
|
|
|
6733
6859
|
type: BooleanConstructor;
|
|
6734
6860
|
default: boolean;
|
|
6735
6861
|
};
|
|
6862
|
+
componentLoading: {
|
|
6863
|
+
type: BooleanConstructor;
|
|
6864
|
+
default: boolean;
|
|
6865
|
+
};
|
|
6736
6866
|
lazyLoadType: {
|
|
6737
6867
|
type: PropType<BentoListboxLazyLoadType | `${BentoListboxLazyLoadType}`>;
|
|
6738
6868
|
default: BentoListboxLazyLoadType;
|
|
@@ -6810,6 +6940,7 @@ staticCategories: boolean;
|
|
|
6810
6940
|
hasMoreItems: boolean;
|
|
6811
6941
|
lazyLoadType: "button" | "none" | "automatic" | BentoListboxLazyLoadType;
|
|
6812
6942
|
emptyState: BentoListboxEmptyStateProps;
|
|
6943
|
+
componentLoading: boolean;
|
|
6813
6944
|
virtualScroll: BentoListboxVirtulisationOptions;
|
|
6814
6945
|
dynamicFiltering: boolean;
|
|
6815
6946
|
showSlotContentInMultiple: boolean;
|
|
@@ -6918,6 +7049,10 @@ loading: {
|
|
|
6918
7049
|
type: BooleanConstructor;
|
|
6919
7050
|
default: boolean;
|
|
6920
7051
|
};
|
|
7052
|
+
componentLoading: {
|
|
7053
|
+
type: BooleanConstructor;
|
|
7054
|
+
default: boolean;
|
|
7055
|
+
};
|
|
6921
7056
|
lazyLoadType: {
|
|
6922
7057
|
type: PropType<BentoListboxLazyLoadType | `${BentoListboxLazyLoadType}`>;
|
|
6923
7058
|
default: BentoListboxLazyLoadType;
|
|
@@ -7034,6 +7169,10 @@ loading: {
|
|
|
7034
7169
|
type: BooleanConstructor;
|
|
7035
7170
|
default: boolean;
|
|
7036
7171
|
};
|
|
7172
|
+
componentLoading: {
|
|
7173
|
+
type: BooleanConstructor;
|
|
7174
|
+
default: boolean;
|
|
7175
|
+
};
|
|
7037
7176
|
lazyLoadType: {
|
|
7038
7177
|
type: PropType<BentoListboxLazyLoadType | `${BentoListboxLazyLoadType}`>;
|
|
7039
7178
|
default: BentoListboxLazyLoadType;
|
|
@@ -7111,6 +7250,7 @@ staticCategories: boolean;
|
|
|
7111
7250
|
hasMoreItems: boolean;
|
|
7112
7251
|
lazyLoadType: "button" | "none" | "automatic" | BentoListboxLazyLoadType;
|
|
7113
7252
|
emptyState: BentoListboxEmptyStateProps;
|
|
7253
|
+
componentLoading: boolean;
|
|
7114
7254
|
virtualScroll: BentoListboxVirtulisationOptions;
|
|
7115
7255
|
dynamicFiltering: boolean;
|
|
7116
7256
|
showSlotContentInMultiple: boolean;
|
|
@@ -7396,7 +7536,7 @@ export declare interface BentoFileUploaderProps {
|
|
|
7396
7536
|
*/
|
|
7397
7537
|
maxSize?: number;
|
|
7398
7538
|
/**
|
|
7399
|
-
* Used to support `v-model`.
|
|
7539
|
+
* Used to support `v-model`. Can be used to set value of FileUploader if FileList
|
|
7400
7540
|
*/
|
|
7401
7541
|
modelValue?: BentoFileUploaderValue;
|
|
7402
7542
|
/**
|
|
@@ -7413,7 +7553,7 @@ export declare interface BentoFileUploaderProps {
|
|
|
7413
7553
|
tooltipText?: string;
|
|
7414
7554
|
}
|
|
7415
7555
|
|
|
7416
|
-
export declare type BentoFileUploaderValue = string | Array<string> | File | Array<File
|
|
7556
|
+
export declare type BentoFileUploaderValue = string | Array<string> | File | Array<File> | FileList;
|
|
7417
7557
|
|
|
7418
7558
|
/**
|
|
7419
7559
|
* The filter bar filters item lists and tables according to various filter criteria.
|
|
@@ -7586,7 +7726,7 @@ export declare interface BentoFilterModel extends BentoFilterValue {
|
|
|
7586
7726
|
value?: BentoFilterBarValue;
|
|
7587
7727
|
}
|
|
7588
7728
|
|
|
7589
|
-
export declare type BentoFilterOptions = BentoSelectFilterOptions | BentoSelectAvatarFilterOptions | BentoSelectCountryFilterOptions | BentoSelectCurrencyFilterOptions | BentoSelectPaymentMethodFilterOptions | BentoSelectTagFilterOptions | BentoDateFilterOptions | BentoDateRangeFilterOptions | BentoBooleanFilterOptions | BentoInputWithDropdownFilterOptions | undefined;
|
|
7729
|
+
export declare type BentoFilterOptions = BentoSelectFilterOptions | BentoSelectAvatarFilterOptions | BentoSelectCountryFilterOptions | BentoSelectCurrencyFilterOptions | BentoSelectPaymentMethodFilterOptions | BentoSelectTagFilterOptions | BentoDateFilterOptions | BentoDateRangeFilterOptions | BentoBooleanFilterOptions | BentoInputFilterOptions | BentoInputWithDropdownFilterOptions | undefined;
|
|
7590
7730
|
|
|
7591
7731
|
export declare interface BentoFilterValue {
|
|
7592
7732
|
field: string;
|
|
@@ -7646,7 +7786,9 @@ loading: {
|
|
|
7646
7786
|
type: BooleanConstructor;
|
|
7647
7787
|
default: boolean;
|
|
7648
7788
|
};
|
|
7649
|
-
}, {}, {}, {}, {}, ComponentOptionsMixin, ComponentOptionsMixin, {
|
|
7789
|
+
}, {}, {}, {}, {}, ComponentOptionsMixin, ComponentOptionsMixin, {
|
|
7790
|
+
submit: (event: SubmitEvent) => void;
|
|
7791
|
+
}, string, Readonly<ExtractPropTypes< {
|
|
7650
7792
|
/**
|
|
7651
7793
|
* Renders the form layout as an HTML `form`
|
|
7652
7794
|
*/
|
|
@@ -8017,6 +8159,199 @@ declare enum BentoHeaderVariant {
|
|
|
8017
8159
|
COMPONENT = "component"
|
|
8018
8160
|
}
|
|
8019
8161
|
|
|
8162
|
+
/**
|
|
8163
|
+
* Header with views allow users to save and quickly retrieve configurations tailored to specific tasks.
|
|
8164
|
+
* For example, managing daily transactions, auditing, or analyzing specific data sets.
|
|
8165
|
+
* It also allows the user to define the columns, filters, and search queries they need.
|
|
8166
|
+
*
|
|
8167
|
+
* @example
|
|
8168
|
+
* import { BentoHeaderWithViews } from '@adyen/bento-vue2';
|
|
8169
|
+
*
|
|
8170
|
+
* export default {
|
|
8171
|
+
* components: { BentoHeaderWithViews },
|
|
8172
|
+
* template: `
|
|
8173
|
+
* <bento-header-with-views
|
|
8174
|
+
* :actions="[
|
|
8175
|
+
* { title: 'Primary action', event: () => undefined },
|
|
8176
|
+
* { title: 'Secondary action', event: () => undefined },
|
|
8177
|
+
* { title: 'Tertiary action', event: () => undefined },
|
|
8178
|
+
* { title: 'Another action', event: () => undefined }
|
|
8179
|
+
* ]"
|
|
8180
|
+
* description="Page Description"
|
|
8181
|
+
* title="Page Title"
|
|
8182
|
+
* :views="[
|
|
8183
|
+
* { icon: 'stack', iconColor: 'blue', label: 'A very long value' },
|
|
8184
|
+
* { icon: 'stack', iconColor: 'primary', label: 'Title 1' },
|
|
8185
|
+
* { icon: 'stack', iconColor: 'primary', label: 'Title 2' }
|
|
8186
|
+
* ]"
|
|
8187
|
+
* :additionalViewSetting="{
|
|
8188
|
+
* label: 'Include date filter (relative)',
|
|
8189
|
+
* value: false
|
|
8190
|
+
* }"
|
|
8191
|
+
* hasChanges
|
|
8192
|
+
* />
|
|
8193
|
+
* `
|
|
8194
|
+
* };
|
|
8195
|
+
*/
|
|
8196
|
+
export declare const BentoHeaderWithViews: __VLS_WithTemplateSlots_17<DefineComponent<__VLS_WithDefaults_12<__VLS_TypePropsToRuntimeProps_12<BentoHeaderWithViewsProps>, {
|
|
8197
|
+
actions: () => any[];
|
|
8198
|
+
additionalViewSetting: any;
|
|
8199
|
+
title: any;
|
|
8200
|
+
description: any;
|
|
8201
|
+
views: () => any[];
|
|
8202
|
+
}>, {}, {}, {}, {}, ComponentOptionsMixin, ComponentOptionsMixin, {
|
|
8203
|
+
"delete:view": (value: BentoHeaderWithViewsItemUpdate) => void;
|
|
8204
|
+
} & {
|
|
8205
|
+
"duplicate:view": (value: BentoHeaderWithViewsItemUpdate) => void;
|
|
8206
|
+
} & {
|
|
8207
|
+
"reorder:view": (value: Omit<BentoHeaderWithViewsItemUpdate, "targetViewLabel">) => void;
|
|
8208
|
+
} & {
|
|
8209
|
+
"restore:view": (value: string) => void;
|
|
8210
|
+
} & {
|
|
8211
|
+
"save:view": (value: string) => void;
|
|
8212
|
+
} & {
|
|
8213
|
+
"select:view": (value: string) => void;
|
|
8214
|
+
} & {
|
|
8215
|
+
"update:view": (value: BentoHeaderWithViewsItemUpdate) => void;
|
|
8216
|
+
} & {
|
|
8217
|
+
"update:skip-unsaved-changes": (value: boolean) => void;
|
|
8218
|
+
}, string, Readonly<ExtractPropTypes<__VLS_WithDefaults_12<__VLS_TypePropsToRuntimeProps_12<BentoHeaderWithViewsProps>, {
|
|
8219
|
+
actions: () => any[];
|
|
8220
|
+
additionalViewSetting: any;
|
|
8221
|
+
title: any;
|
|
8222
|
+
description: any;
|
|
8223
|
+
views: () => any[];
|
|
8224
|
+
}>>>, {
|
|
8225
|
+
description: string;
|
|
8226
|
+
title: string;
|
|
8227
|
+
actions: BentoButtonActionsList_2;
|
|
8228
|
+
views: BentoHeaderWithViewsItem[];
|
|
8229
|
+
additionalViewSetting: BentoHeaderWithViewsItemAdditionalConfig;
|
|
8230
|
+
}>, {
|
|
8231
|
+
infoIconTooltipContent: (_: {}) => any;
|
|
8232
|
+
}>;
|
|
8233
|
+
|
|
8234
|
+
export declare interface BentoHeaderWithViewsItem {
|
|
8235
|
+
/**
|
|
8236
|
+
* Optional icon to display for the view item.
|
|
8237
|
+
*/
|
|
8238
|
+
icon?: BentoHeaderWithViewsItemIcon;
|
|
8239
|
+
/**
|
|
8240
|
+
* Optional color of the icon for the view item.
|
|
8241
|
+
*/
|
|
8242
|
+
iconColor?: BentoHeaderWithViewsItemIconColor;
|
|
8243
|
+
/**
|
|
8244
|
+
* Text label for the view item.
|
|
8245
|
+
*/
|
|
8246
|
+
label: string;
|
|
8247
|
+
/**
|
|
8248
|
+
* Optional boolean indicating if this view item is the default or currently active view.
|
|
8249
|
+
*/
|
|
8250
|
+
isDefault?: boolean;
|
|
8251
|
+
}
|
|
8252
|
+
|
|
8253
|
+
export declare interface BentoHeaderWithViewsItemAdditionalConfig {
|
|
8254
|
+
/**
|
|
8255
|
+
* Label for an additional view setting (e.g. a checkbox or toggle).
|
|
8256
|
+
*/
|
|
8257
|
+
label: string;
|
|
8258
|
+
/**
|
|
8259
|
+
* Boolean value indicating the state of the additional view setting (e.g. checked or toggled).
|
|
8260
|
+
*/
|
|
8261
|
+
value: boolean;
|
|
8262
|
+
}
|
|
8263
|
+
|
|
8264
|
+
export declare type BentoHeaderWithViewsItemIcon = `${BentoHeaderWithViewsItemIconEnum}`;
|
|
8265
|
+
|
|
8266
|
+
export declare type BentoHeaderWithViewsItemIconColor = `${BentoHeaderWithViewsItemIconColorEnum}`;
|
|
8267
|
+
|
|
8268
|
+
declare enum BentoHeaderWithViewsItemIconColorEnum {
|
|
8269
|
+
BLUE = "blue",
|
|
8270
|
+
GREEN = "green",
|
|
8271
|
+
ORANGE = "orange",
|
|
8272
|
+
PRIMARY = "primary",
|
|
8273
|
+
RED = "red",
|
|
8274
|
+
YELLOW = "yellow"
|
|
8275
|
+
}
|
|
8276
|
+
|
|
8277
|
+
declare enum BentoHeaderWithViewsItemIconEnum {
|
|
8278
|
+
STACK = "stack",
|
|
8279
|
+
LEAF = "leaf",
|
|
8280
|
+
HAND_ROCK = "hand-rock",
|
|
8281
|
+
CAR = "car",
|
|
8282
|
+
EDUCATION = "education",
|
|
8283
|
+
HOTEL = "hotel",
|
|
8284
|
+
TRAVEL_BAG = "travel-bag",
|
|
8285
|
+
LIGHTNING = "lightning",
|
|
8286
|
+
NEWS = "news",
|
|
8287
|
+
PRIZE = "prize",
|
|
8288
|
+
LOCK = "lock",
|
|
8289
|
+
BAG = "bag",
|
|
8290
|
+
DIAMOND = "diamond",
|
|
8291
|
+
TARGET = "target",
|
|
8292
|
+
GIFT = "gift",
|
|
8293
|
+
CASH_STACK = "cash-stack",
|
|
8294
|
+
HASHTAG = "hashtag",
|
|
8295
|
+
CLOUD = "cloud",
|
|
8296
|
+
HOSPITALITY = "hospitality",
|
|
8297
|
+
SHOPPING_CART = "shopping-cart",
|
|
8298
|
+
SLEEP = "sleep",
|
|
8299
|
+
NOTIFICATION = "notification",
|
|
8300
|
+
THUMBS_UP = "thumb-up",
|
|
8301
|
+
THUMBS_DOWN = "thumb-down",
|
|
8302
|
+
STAR = "star",
|
|
8303
|
+
WARNING_DIAMOND = "warning-diamond",
|
|
8304
|
+
RETAIL = "retail",
|
|
8305
|
+
EMOTICON_HAPPY = "emoticon-happy",
|
|
8306
|
+
GAMING = "gaming",
|
|
8307
|
+
SUPPORT = "support",
|
|
8308
|
+
HEART = "heart",
|
|
8309
|
+
HOURGLASS = "hourglass",
|
|
8310
|
+
WORLD = "world"
|
|
8311
|
+
}
|
|
8312
|
+
|
|
8313
|
+
export declare interface BentoHeaderWithViewsItemUpdate {
|
|
8314
|
+
newViews: BentoHeaderWithViewsItem[];
|
|
8315
|
+
oldViews: BentoHeaderWithViewsItem[];
|
|
8316
|
+
targetViewLabel: BentoHeaderWithViewsItem['label'];
|
|
8317
|
+
}
|
|
8318
|
+
|
|
8319
|
+
export declare interface BentoHeaderWithViewsProps {
|
|
8320
|
+
/**
|
|
8321
|
+
* Optional list of actions (buttons) to display in the header.
|
|
8322
|
+
* The structure of each action is defined by the `BentoButtonActionsList` type.
|
|
8323
|
+
*/
|
|
8324
|
+
actions?: BentoButtonActionsList_2;
|
|
8325
|
+
/**
|
|
8326
|
+
* Optional secondary description text to display below the title.
|
|
8327
|
+
*/
|
|
8328
|
+
description?: string;
|
|
8329
|
+
/**
|
|
8330
|
+
* Main title text for the header. This prop is required.
|
|
8331
|
+
*/
|
|
8332
|
+
title: string;
|
|
8333
|
+
/**
|
|
8334
|
+
* Optional array of view items to display as selectable views or tabs.
|
|
8335
|
+
* Each item's structure is defined by the `BentoHeaderWithViewsItem` interface.
|
|
8336
|
+
*/
|
|
8337
|
+
views?: BentoHeaderWithViewsItem[];
|
|
8338
|
+
/**
|
|
8339
|
+
* Optional configuration for an additional view setting, such as a filter or option.
|
|
8340
|
+
* Defined by the `BentoHeaderWithViewsItemAdditionalConfig` interface.
|
|
8341
|
+
*/
|
|
8342
|
+
additionalViewSetting?: BentoHeaderWithViewsItemAdditionalConfig;
|
|
8343
|
+
/**
|
|
8344
|
+
* Boolean indicating whether there are unsaved changes on the page.
|
|
8345
|
+
* This might be used to visually indicate to the user that they need to save their work.
|
|
8346
|
+
*/
|
|
8347
|
+
hasChanges: boolean;
|
|
8348
|
+
/**
|
|
8349
|
+
* String indicating whether to display a prompt, reminding the user to save their changes whenever they switch view tabs.
|
|
8350
|
+
* If null, no prompt is shown and changes will always be restored to it's previous settings on view tab change.
|
|
8351
|
+
*/
|
|
8352
|
+
skipUnsavedChangesText: string | null;
|
|
8353
|
+
}
|
|
8354
|
+
|
|
8020
8355
|
/**
|
|
8021
8356
|
* Image component used for resizing images to certain aspect ratios and fit strategies.
|
|
8022
8357
|
*
|
|
@@ -8036,10 +8371,10 @@ declare enum BentoHeaderVariant {
|
|
|
8036
8371
|
* `
|
|
8037
8372
|
* }
|
|
8038
8373
|
*/
|
|
8039
|
-
export declare const BentoImage: DefineComponent<
|
|
8374
|
+
export declare const BentoImage: DefineComponent<__VLS_WithDefaults_13<__VLS_TypePropsToRuntimeProps_13<BentoImageProps>, {
|
|
8040
8375
|
aspectRatio: any;
|
|
8041
8376
|
objectFit: any;
|
|
8042
|
-
}>, {}, {}, {}, {}, ComponentOptionsMixin, ComponentOptionsMixin, {}, string, Readonly<ExtractPropTypes<
|
|
8377
|
+
}>, {}, {}, {}, {}, ComponentOptionsMixin, ComponentOptionsMixin, {}, string, Readonly<ExtractPropTypes<__VLS_WithDefaults_13<__VLS_TypePropsToRuntimeProps_13<BentoImageProps>, {
|
|
8043
8378
|
aspectRatio: any;
|
|
8044
8379
|
objectFit: any;
|
|
8045
8380
|
}>>>, {
|
|
@@ -8154,7 +8489,7 @@ export declare type BentoInputDropdownProps = {
|
|
|
8154
8489
|
* >
|
|
8155
8490
|
* }
|
|
8156
8491
|
*/
|
|
8157
|
-
export declare const BentoInputField:
|
|
8492
|
+
export declare const BentoInputField: __VLS_WithTemplateSlots_18<DefineComponent<__VLS_WithDefaults_14<__VLS_TypePropsToRuntimeProps_14<BentoInputFieldProps>, {
|
|
8158
8493
|
ariaHidden: boolean;
|
|
8159
8494
|
ariaLabel: any;
|
|
8160
8495
|
condensed: boolean;
|
|
@@ -8195,7 +8530,7 @@ keydown: (event: KeyboardEvent) => void;
|
|
|
8195
8530
|
keyup: (event: KeyboardEvent) => void;
|
|
8196
8531
|
} & {
|
|
8197
8532
|
input: (inputValue: string) => void;
|
|
8198
|
-
}, string, Readonly<ExtractPropTypes<
|
|
8533
|
+
}, string, Readonly<ExtractPropTypes<__VLS_WithDefaults_14<__VLS_TypePropsToRuntimeProps_14<BentoInputFieldProps>, {
|
|
8199
8534
|
ariaHidden: boolean;
|
|
8200
8535
|
ariaLabel: any;
|
|
8201
8536
|
condensed: boolean;
|
|
@@ -8307,9 +8642,10 @@ export declare enum BentoInputFieldEvent {
|
|
|
8307
8642
|
* `
|
|
8308
8643
|
* }
|
|
8309
8644
|
*/
|
|
8310
|
-
export declare const BentoInputFieldPassword: DefineComponent<
|
|
8645
|
+
export declare const BentoInputFieldPassword: DefineComponent<__VLS_WithDefaults_15<__VLS_TypePropsToRuntimeProps_15<BentoInputFieldPasswordProps>, {
|
|
8311
8646
|
condensed: boolean;
|
|
8312
8647
|
disabled: boolean;
|
|
8648
|
+
disableValidation: boolean;
|
|
8313
8649
|
label: any;
|
|
8314
8650
|
errorMessage: any;
|
|
8315
8651
|
placeholder: string;
|
|
@@ -8321,9 +8657,10 @@ withHint: boolean;
|
|
|
8321
8657
|
"input:valid": () => void;
|
|
8322
8658
|
} & {
|
|
8323
8659
|
input: (value: BentoInputFieldValue) => void;
|
|
8324
|
-
}, string, Readonly<ExtractPropTypes<
|
|
8660
|
+
}, string, Readonly<ExtractPropTypes<__VLS_WithDefaults_15<__VLS_TypePropsToRuntimeProps_15<BentoInputFieldPasswordProps>, {
|
|
8325
8661
|
condensed: boolean;
|
|
8326
8662
|
disabled: boolean;
|
|
8663
|
+
disableValidation: boolean;
|
|
8327
8664
|
label: any;
|
|
8328
8665
|
errorMessage: any;
|
|
8329
8666
|
placeholder: string;
|
|
@@ -8340,6 +8677,7 @@ validation: BentoInputFieldPasswordValidation;
|
|
|
8340
8677
|
readonly: BentoInputFieldProps["readonly"];
|
|
8341
8678
|
errorMessage: BentoInputFieldProps["errorMessage"];
|
|
8342
8679
|
placeholder: BentoInputFieldProps["placeholder"];
|
|
8680
|
+
disableValidation: boolean;
|
|
8343
8681
|
withHint: boolean;
|
|
8344
8682
|
}>;
|
|
8345
8683
|
|
|
@@ -8352,6 +8690,11 @@ export declare interface BentoInputFieldPasswordProps {
|
|
|
8352
8690
|
* Disables the possibility of changing value in the input-field
|
|
8353
8691
|
*/
|
|
8354
8692
|
disabled?: BentoInputFieldProps['disabled'];
|
|
8693
|
+
/**
|
|
8694
|
+
* Performs real-time validations over the input value. Default: `false`.
|
|
8695
|
+
* Disabling the option (set to `true`) will not run pre-defined validations or custom validations defined in the `validation` field.
|
|
8696
|
+
*/
|
|
8697
|
+
disableValidation?: boolean;
|
|
8355
8698
|
/**
|
|
8356
8699
|
* Renders input-field with an error state and the error message beneath the input box
|
|
8357
8700
|
*/
|
|
@@ -8432,7 +8775,7 @@ export declare interface BentoInputFieldPasswordValidationListItem {
|
|
|
8432
8775
|
* `
|
|
8433
8776
|
* }
|
|
8434
8777
|
*/
|
|
8435
|
-
export declare const BentoInputFieldPhoneNumber:
|
|
8778
|
+
export declare const BentoInputFieldPhoneNumber: __VLS_WithTemplateSlots_19<DefineComponent<__VLS_WithDefaults_16<__VLS_TypePropsToRuntimeProps_16<BentoInputFieldPhoneNumberProps>, {
|
|
8436
8779
|
countries: () => CountryCode_2[];
|
|
8437
8780
|
dynamicFiltering: boolean;
|
|
8438
8781
|
}>, {}, {}, {}, {}, ComponentOptionsMixin, ComponentOptionsMixin, {
|
|
@@ -8441,7 +8784,7 @@ blur: () => void;
|
|
|
8441
8784
|
input: (value: string) => void;
|
|
8442
8785
|
} & {
|
|
8443
8786
|
"update:selected-country": (country: CountryCode_2) => void;
|
|
8444
|
-
}, string, Readonly<ExtractPropTypes<
|
|
8787
|
+
}, string, Readonly<ExtractPropTypes<__VLS_WithDefaults_16<__VLS_TypePropsToRuntimeProps_16<BentoInputFieldPhoneNumberProps>, {
|
|
8445
8788
|
countries: () => CountryCode_2[];
|
|
8446
8789
|
dynamicFiltering: boolean;
|
|
8447
8790
|
}>>>, {
|
|
@@ -8596,7 +8939,63 @@ export declare type BentoInputFilterInputAndDropdownValues = {
|
|
|
8596
8939
|
dropdownValue?: string;
|
|
8597
8940
|
};
|
|
8598
8941
|
|
|
8599
|
-
export declare
|
|
8942
|
+
export declare interface BentoInputFilterOptions {
|
|
8943
|
+
/**
|
|
8944
|
+
* @deprecated BentoInputFilter "options" no longer supports "dropdown". Use the "BentoFilterItemType.INPUT_DROPDOWN" instead of "BentoFilterItemType.INPUT"
|
|
8945
|
+
*/
|
|
8946
|
+
dropdown?: any;
|
|
8947
|
+
/**
|
|
8948
|
+
* @deprecated BentoInputFilter "options" no longer supports "dropdownPosition". Use the "BentoFilterItemType.INPUT_DROPDOWN" instead of "BentoFilterItemType.INPUT"
|
|
8949
|
+
*/
|
|
8950
|
+
dropdownPosition?: any;
|
|
8951
|
+
/**
|
|
8952
|
+
* Sets a placeholder in the input field
|
|
8953
|
+
*/
|
|
8954
|
+
placeholder?: BentoInputFieldProps['placeholder'];
|
|
8955
|
+
/**
|
|
8956
|
+
* @deprecated from version 2.0.0. BentoInputFilter "options" no longer supports "variant". Use the "BentoFilterItemType.INPUT_DROPDOWN" instead of "BentoFilterItemType.INPUT"
|
|
8957
|
+
*/
|
|
8958
|
+
variant?: 'dropdown';
|
|
8959
|
+
}
|
|
8960
|
+
|
|
8961
|
+
export declare interface BentoInputFilterProps {
|
|
8962
|
+
/**
|
|
8963
|
+
* Default value of the filter to reset to.
|
|
8964
|
+
*/
|
|
8965
|
+
defaultValue?: string;
|
|
8966
|
+
/**
|
|
8967
|
+
* Disables the filter from being interacted with.
|
|
8968
|
+
*/
|
|
8969
|
+
disabled?: boolean;
|
|
8970
|
+
/**
|
|
8971
|
+
* Filter name/key referencing the actual property name in the data set.
|
|
8972
|
+
* Should be unique per filter bar.
|
|
8973
|
+
*/
|
|
8974
|
+
field: string;
|
|
8975
|
+
/**
|
|
8976
|
+
* Label text to be displayed
|
|
8977
|
+
*/
|
|
8978
|
+
label: string;
|
|
8979
|
+
/**
|
|
8980
|
+
* Renders the base filter's slot content only - leaving out the button and the popover.
|
|
8981
|
+
* Used for the allFiltersModal component.
|
|
8982
|
+
*/
|
|
8983
|
+
onlySlot?: boolean;
|
|
8984
|
+
/**
|
|
8985
|
+
* List of options that are needed to setup the filter
|
|
8986
|
+
* Available options:
|
|
8987
|
+
* - placeholder: allows to set a placeholder to the search bar
|
|
8988
|
+
* - dropdown (deprecated): all the dropdown properties that can be set in the inner dropdown of the input field. @see BentoDropdown for more info.
|
|
8989
|
+
* - dropdownPosition (deprecated): allow the user to set the dropdown on the left or right side. Accepts the `start` or `end` values.
|
|
8990
|
+
* - variant (deprecated): can be `undefined` or set to `dropdown`. Enables dropdown input variant.
|
|
8991
|
+
*/
|
|
8992
|
+
options?: BentoInputFilterOptions;
|
|
8993
|
+
/**
|
|
8994
|
+
* Current value of the filter.
|
|
8995
|
+
* If the options.variant is equal to 'dropdown', the value should be of type `{ inputValue: string | null; dropdownValue?: string }`.
|
|
8996
|
+
*/
|
|
8997
|
+
value?: BentoInputFilterValue;
|
|
8998
|
+
}
|
|
8600
8999
|
|
|
8601
9000
|
export declare type BentoInputFilterValue = string | null | BentoInputFilterInputAndDropdownValues;
|
|
8602
9001
|
|
|
@@ -8634,7 +9033,7 @@ export declare type BentoInpuWithDropdowntFilterValue = {
|
|
|
8634
9033
|
* `
|
|
8635
9034
|
* }
|
|
8636
9035
|
*/
|
|
8637
|
-
export declare const BentoInspector:
|
|
9036
|
+
export declare const BentoInspector: __VLS_WithTemplateSlots_20<DefineComponent<__VLS_WithDefaults_17<__VLS_TypePropsToRuntimeProps_17<{
|
|
8638
9037
|
/**
|
|
8639
9038
|
* ID of the current active inspector page
|
|
8640
9039
|
*/
|
|
@@ -8671,7 +9070,7 @@ size: string;
|
|
|
8671
9070
|
"update:active-page": (value: string) => void;
|
|
8672
9071
|
} & {
|
|
8673
9072
|
expand: () => void;
|
|
8674
|
-
}, string, Readonly<ExtractPropTypes<
|
|
9073
|
+
}, string, Readonly<ExtractPropTypes<__VLS_WithDefaults_17<__VLS_TypePropsToRuntimeProps_17<{
|
|
8675
9074
|
/**
|
|
8676
9075
|
* ID of the current active inspector page
|
|
8677
9076
|
*/
|
|
@@ -8761,10 +9160,10 @@ export declare enum BentoKeyboardNavigationKeyDownEvent {
|
|
|
8761
9160
|
* `
|
|
8762
9161
|
* }
|
|
8763
9162
|
*/
|
|
8764
|
-
export declare const BentoLayout:
|
|
9163
|
+
export declare const BentoLayout: __VLS_WithTemplateSlots_21<DefineComponent<__VLS_WithDefaults_18<__VLS_TypePropsToRuntimeProps_18<BentoLayoutProps>, {
|
|
8765
9164
|
size: string;
|
|
8766
9165
|
variant: string;
|
|
8767
|
-
}>, {}, {}, {}, {}, ComponentOptionsMixin, ComponentOptionsMixin, {}, string, Readonly<ExtractPropTypes<
|
|
9166
|
+
}>, {}, {}, {}, {}, ComponentOptionsMixin, ComponentOptionsMixin, {}, string, Readonly<ExtractPropTypes<__VLS_WithDefaults_18<__VLS_TypePropsToRuntimeProps_18<BentoLayoutProps>, {
|
|
8768
9167
|
size: string;
|
|
8769
9168
|
variant: string;
|
|
8770
9169
|
}>>>, {
|
|
@@ -8807,9 +9206,9 @@ export declare interface BentoLayoutProps {
|
|
|
8807
9206
|
* `
|
|
8808
9207
|
* }
|
|
8809
9208
|
*/
|
|
8810
|
-
export declare const BentoLayoutRow:
|
|
9209
|
+
export declare const BentoLayoutRow: __VLS_WithTemplateSlots_22<DefineComponent<__VLS_WithDefaults_19<__VLS_TypePropsToRuntimeProps_19<BentoLayoutRowProps>, {
|
|
8811
9210
|
columnsLayout: string;
|
|
8812
|
-
}>, {}, {}, {}, {}, ComponentOptionsMixin, ComponentOptionsMixin, {}, string, Readonly<ExtractPropTypes<
|
|
9211
|
+
}>, {}, {}, {}, {}, ComponentOptionsMixin, ComponentOptionsMixin, {}, string, Readonly<ExtractPropTypes<__VLS_WithDefaults_19<__VLS_TypePropsToRuntimeProps_19<BentoLayoutRowProps>, {
|
|
8813
9212
|
columnsLayout: string;
|
|
8814
9213
|
}>>>, {
|
|
8815
9214
|
columnsLayout: BentoLayoutRowColumnLayout;
|
|
@@ -8841,10 +9240,10 @@ declare const BentoLayoutVariantOptions: readonly ["page", "component"];
|
|
|
8841
9240
|
|
|
8842
9241
|
export declare type BentoLazyLoadType = 'automatic' | 'button' | 'none';
|
|
8843
9242
|
|
|
8844
|
-
export declare const BentoLink:
|
|
9243
|
+
export declare const BentoLink: __VLS_WithTemplateSlots_23<DefineComponent<ExtractPropTypes<__VLS_WithDefaults_20<__VLS_TypePropsToRuntimeProps_20<BentoLinkProps>, {
|
|
8845
9244
|
target: any;
|
|
8846
9245
|
variant: BentoLinkVariant;
|
|
8847
|
-
}>>, {}, {}, {}, {}, ComponentOptionsMixin, ComponentOptionsMixin, "click"[], "click", PublicProps, Readonly<ExtractPropTypes<
|
|
9246
|
+
}>>, {}, {}, {}, {}, ComponentOptionsMixin, ComponentOptionsMixin, "click"[], "click", PublicProps, Readonly<ExtractPropTypes<__VLS_WithDefaults_20<__VLS_TypePropsToRuntimeProps_20<BentoLinkProps>, {
|
|
8848
9247
|
target: any;
|
|
8849
9248
|
variant: BentoLinkVariant;
|
|
8850
9249
|
}>>> & Readonly<{
|
|
@@ -9245,7 +9644,7 @@ isInverseColorSet: Ref<boolean>;
|
|
|
9245
9644
|
hasSlot: (name: string) => boolean;
|
|
9246
9645
|
onKeyDown: (event: KeyboardEvent) => void;
|
|
9247
9646
|
onKeyUp: (event: KeyboardEvent) => void;
|
|
9248
|
-
closeMenu: (revertFocus?: boolean) => void
|
|
9647
|
+
closeMenu: (revertFocus?: boolean) => Promise<void>;
|
|
9249
9648
|
menuItemClick: () => void;
|
|
9250
9649
|
toggleShowMenu: (e: MouseEvent) => void;
|
|
9251
9650
|
t: (key: "backButton" | "menuButton", values?: default_2.Values) => string;
|
|
@@ -9379,7 +9778,7 @@ export declare interface BentoMenuItem {
|
|
|
9379
9778
|
* `
|
|
9380
9779
|
* };
|
|
9381
9780
|
*/
|
|
9382
|
-
export declare const BentoModal:
|
|
9781
|
+
export declare const BentoModal: __VLS_WithTemplateSlots_25<DefineComponent< {
|
|
9383
9782
|
/**
|
|
9384
9783
|
* List of actions that will be used to render the buttons.
|
|
9385
9784
|
* First element in the list will be rendered as "primary".
|
|
@@ -9717,7 +10116,7 @@ export declare enum BentoModalEvent {
|
|
|
9717
10116
|
* `
|
|
9718
10117
|
* }
|
|
9719
10118
|
*/
|
|
9720
|
-
export declare const BentoModalFullscreen:
|
|
10119
|
+
export declare const BentoModalFullscreen: __VLS_WithTemplateSlots_26<DefineComponent< {
|
|
9721
10120
|
/**
|
|
9722
10121
|
* List of actions that will be used to render the buttons.
|
|
9723
10122
|
* First element in the list will be rendered as "primary".
|
|
@@ -9857,7 +10256,7 @@ contextualLabel: string;
|
|
|
9857
10256
|
* `
|
|
9858
10257
|
* }
|
|
9859
10258
|
*/
|
|
9860
|
-
export declare const BentoModalFullscreenPage:
|
|
10259
|
+
export declare const BentoModalFullscreenPage: __VLS_WithTemplateSlots_27<DefineComponent< {
|
|
9861
10260
|
/**
|
|
9862
10261
|
* List of actions that will be used to render the buttons.
|
|
9863
10262
|
* First element in the list will be rendered as "primary".
|
|
@@ -9999,7 +10398,7 @@ contextualLabel: string;
|
|
|
9999
10398
|
* `
|
|
10000
10399
|
* }
|
|
10001
10400
|
*/
|
|
10002
|
-
export declare const BentoModalPage:
|
|
10401
|
+
export declare const BentoModalPage: __VLS_WithTemplateSlots_24<DefineComponent< {
|
|
10003
10402
|
/**
|
|
10004
10403
|
* List of actions that will be used to render the buttons.
|
|
10005
10404
|
* First element in the list will be rendered as "primary".
|
|
@@ -10359,10 +10758,10 @@ hidePageSize: boolean;
|
|
|
10359
10758
|
* `
|
|
10360
10759
|
* }
|
|
10361
10760
|
*/
|
|
10362
|
-
export declare const BentoPaymentMethod: DefineComponent<
|
|
10761
|
+
export declare const BentoPaymentMethod: DefineComponent<__VLS_WithDefaults_21<__VLS_TypePropsToRuntimeProps_21<BentoPaymentMethodProps>, {
|
|
10363
10762
|
type: string;
|
|
10364
10763
|
small: boolean;
|
|
10365
|
-
}>, {}, {}, {}, {}, ComponentOptionsMixin, ComponentOptionsMixin, {}, string, Readonly<ExtractPropTypes<
|
|
10764
|
+
}>, {}, {}, {}, {}, ComponentOptionsMixin, ComponentOptionsMixin, {}, string, Readonly<ExtractPropTypes<__VLS_WithDefaults_21<__VLS_TypePropsToRuntimeProps_21<BentoPaymentMethodProps>, {
|
|
10366
10765
|
type: string;
|
|
10367
10766
|
small: boolean;
|
|
10368
10767
|
}>>>, {
|
|
@@ -11491,7 +11890,7 @@ export declare enum BentoPaymentMethodType {
|
|
|
11491
11890
|
* `
|
|
11492
11891
|
* }
|
|
11493
11892
|
*/
|
|
11494
|
-
export declare const BentoPopover:
|
|
11893
|
+
export declare const BentoPopover: __VLS_WithTemplateSlots_28<DefineComponent< {
|
|
11495
11894
|
/**
|
|
11496
11895
|
* List of actions that will be used to render the buttons.
|
|
11497
11896
|
* First element in the list will be rendered as "primary".
|
|
@@ -11912,7 +12311,7 @@ declare type BentoPopoverPositions_2 = PopperContainerPosition_2;
|
|
|
11912
12311
|
* `
|
|
11913
12312
|
* };
|
|
11914
12313
|
*/
|
|
11915
|
-
export declare const BentoPromoBanner:
|
|
12314
|
+
export declare const BentoPromoBanner: __VLS_WithTemplateSlots_29<DefineComponent<__VLS_WithDefaults_22<__VLS_TypePropsToRuntimeProps_22<BentoPromoBannerProps>, {
|
|
11916
12315
|
actions: any;
|
|
11917
12316
|
color: BentoPromoBannerColor;
|
|
11918
12317
|
isDismissible: boolean;
|
|
@@ -11920,7 +12319,7 @@ dismissButtonText: any;
|
|
|
11920
12319
|
layout: BentoPromoBannerLayout;
|
|
11921
12320
|
}>, {}, {}, {}, {}, ComponentOptionsMixin, ComponentOptionsMixin, {
|
|
11922
12321
|
dismiss: () => void;
|
|
11923
|
-
}, string, Readonly<ExtractPropTypes<
|
|
12322
|
+
}, string, Readonly<ExtractPropTypes<__VLS_WithDefaults_22<__VLS_TypePropsToRuntimeProps_22<BentoPromoBannerProps>, {
|
|
11924
12323
|
actions: any;
|
|
11925
12324
|
color: BentoPromoBannerColor;
|
|
11926
12325
|
isDismissible: boolean;
|
|
@@ -12056,7 +12455,7 @@ export declare interface BentoPromoBannerProps {
|
|
|
12056
12455
|
* }
|
|
12057
12456
|
* }
|
|
12058
12457
|
*/
|
|
12059
|
-
export declare const BentoRadioButton:
|
|
12458
|
+
export declare const BentoRadioButton: __VLS_WithTemplateSlots_31<DefineComponent< {
|
|
12060
12459
|
/**
|
|
12061
12460
|
* Disable the radio button (optional)
|
|
12062
12461
|
*/
|
|
@@ -12211,7 +12610,7 @@ export declare type BentoRadioButtonValue = string | number;
|
|
|
12211
12610
|
* `
|
|
12212
12611
|
* };
|
|
12213
12612
|
*/
|
|
12214
|
-
export declare const BentoRadioGroup:
|
|
12613
|
+
export declare const BentoRadioGroup: __VLS_WithTemplateSlots_30<DefineComponent< {
|
|
12215
12614
|
/**
|
|
12216
12615
|
* Descriptive supporting text visbile underneath the label.
|
|
12217
12616
|
*/
|
|
@@ -12505,7 +12904,7 @@ export declare enum BentoRadioGroupVariant {
|
|
|
12505
12904
|
* }
|
|
12506
12905
|
* }
|
|
12507
12906
|
*/
|
|
12508
|
-
export declare const BentoSearchBar: DefineComponent<
|
|
12907
|
+
export declare const BentoSearchBar: DefineComponent<__VLS_WithDefaults_24<__VLS_TypePropsToRuntimeProps_24<BentoSearchBarProps>, {
|
|
12509
12908
|
condensed: boolean;
|
|
12510
12909
|
debounceTime: number;
|
|
12511
12910
|
hint: string;
|
|
@@ -12526,7 +12925,7 @@ clear: () => void;
|
|
|
12526
12925
|
blur: () => void;
|
|
12527
12926
|
} & {
|
|
12528
12927
|
focus: () => void;
|
|
12529
|
-
}, string, Readonly<ExtractPropTypes<
|
|
12928
|
+
}, string, Readonly<ExtractPropTypes<__VLS_WithDefaults_24<__VLS_TypePropsToRuntimeProps_24<BentoSearchBarProps>, {
|
|
12530
12929
|
condensed: boolean;
|
|
12531
12930
|
debounceTime: number;
|
|
12532
12931
|
hint: string;
|
|
@@ -12609,7 +13008,7 @@ export declare interface BentoSearchBarProps {
|
|
|
12609
13008
|
* }
|
|
12610
13009
|
* }
|
|
12611
13010
|
*/
|
|
12612
|
-
export declare const BentoSecondaryNav: DefineComponent<
|
|
13011
|
+
export declare const BentoSecondaryNav: DefineComponent<__VLS_TypePropsToRuntimeProps_25<{
|
|
12613
13012
|
/**
|
|
12614
13013
|
* An array containing all the items on the nav. The array can have either {@see BentoSecondaryNavItemsCategory },
|
|
12615
13014
|
* which is used to group different items or {@see BentoSecondaryNavItemsItem } if you don't need to group them.
|
|
@@ -12622,7 +13021,7 @@ items: BentoSecondaryNavItems;
|
|
|
12622
13021
|
value?: string;
|
|
12623
13022
|
}>, {}, {}, {}, {}, ComponentOptionsMixin, ComponentOptionsMixin, {
|
|
12624
13023
|
change: (category: string) => void;
|
|
12625
|
-
}, string, Readonly<ExtractPropTypes<
|
|
13024
|
+
}, string, Readonly<ExtractPropTypes<__VLS_TypePropsToRuntimeProps_25<{
|
|
12626
13025
|
/**
|
|
12627
13026
|
* An array containing all the items on the nav. The array can have either {@see BentoSecondaryNavItemsCategory },
|
|
12628
13027
|
* which is used to group different items or {@see BentoSecondaryNavItemsItem } if you don't need to group them.
|
|
@@ -12667,7 +13066,7 @@ export declare interface BentoSecondaryNavState {
|
|
|
12667
13066
|
* `
|
|
12668
13067
|
* }
|
|
12669
13068
|
*/
|
|
12670
|
-
export declare const BentoSegmentedControl: DefineComponent<
|
|
13069
|
+
export declare const BentoSegmentedControl: DefineComponent<__VLS_WithDefaults_25<__VLS_TypePropsToRuntimeProps_26<BentoSegmentedControlProps>, {
|
|
12671
13070
|
ariaLabel: any;
|
|
12672
13071
|
fullWidth: boolean;
|
|
12673
13072
|
wrap: boolean;
|
|
@@ -12676,7 +13075,7 @@ modelValue: any;
|
|
|
12676
13075
|
"update:model-value": (value: any) => void;
|
|
12677
13076
|
} & {
|
|
12678
13077
|
input: (value: BentoSegmentedControlValue) => void;
|
|
12679
|
-
}, string, Readonly<ExtractPropTypes<
|
|
13078
|
+
}, string, Readonly<ExtractPropTypes<__VLS_WithDefaults_25<__VLS_TypePropsToRuntimeProps_26<BentoSegmentedControlProps>, {
|
|
12680
13079
|
ariaLabel: any;
|
|
12681
13080
|
fullWidth: boolean;
|
|
12682
13081
|
wrap: boolean;
|
|
@@ -12797,6 +13196,10 @@ export declare interface BentoSelectFilterOptions {
|
|
|
12797
13196
|
*/
|
|
12798
13197
|
showMoreEvent?: () => void;
|
|
12799
13198
|
};
|
|
13199
|
+
/**
|
|
13200
|
+
* Toggles the loading state of the listbox.
|
|
13201
|
+
*/
|
|
13202
|
+
loading?: boolean;
|
|
12800
13203
|
/**
|
|
12801
13204
|
* Search options and events for the listbox filtering.
|
|
12802
13205
|
*/
|
|
@@ -12836,7 +13239,7 @@ export declare type BentoSelectFilterValue = BentoListboxSelectedValue;
|
|
|
12836
13239
|
* `
|
|
12837
13240
|
* }
|
|
12838
13241
|
*/
|
|
12839
|
-
export declare const BentoSelectionCard:
|
|
13242
|
+
export declare const BentoSelectionCard: __VLS_WithTemplateSlots_32<DefineComponent< {
|
|
12840
13243
|
/**
|
|
12841
13244
|
* The description of the selection card
|
|
12842
13245
|
*/
|
|
@@ -13029,7 +13432,7 @@ fullyClickable: boolean;
|
|
|
13029
13432
|
* `,
|
|
13030
13433
|
* }
|
|
13031
13434
|
*/
|
|
13032
|
-
export declare const BentoSelectionCardGroup:
|
|
13435
|
+
export declare const BentoSelectionCardGroup: __VLS_WithTemplateSlots_33<DefineComponent< {
|
|
13033
13436
|
/**
|
|
13034
13437
|
* Descriptive supporting text visbile underneath the label.
|
|
13035
13438
|
*/
|
|
@@ -13345,7 +13748,7 @@ export declare type BentoSelectTagFilterOptions = OmitStrict<BentoSelectFilterOp
|
|
|
13345
13748
|
* `
|
|
13346
13749
|
* }
|
|
13347
13750
|
*/
|
|
13348
|
-
export declare const BentoSidepanel:
|
|
13751
|
+
export declare const BentoSidepanel: __VLS_WithTemplateSlots_35<DefineComponent< {
|
|
13349
13752
|
/**
|
|
13350
13753
|
* The id of the current active page
|
|
13351
13754
|
* Should be the same id as the BentoSidepanelPage to be displayed
|
|
@@ -13473,7 +13876,7 @@ export declare enum BentoSidepanelEvent {
|
|
|
13473
13876
|
* `
|
|
13474
13877
|
* }
|
|
13475
13878
|
*/
|
|
13476
|
-
export declare const BentoSidepanelPage:
|
|
13879
|
+
export declare const BentoSidepanelPage: __VLS_WithTemplateSlots_34<DefineComponent< {
|
|
13477
13880
|
/**
|
|
13478
13881
|
* List of actions that will be used to render the buttons.
|
|
13479
13882
|
* First element in the list will be rendered as "primary".
|
|
@@ -13616,7 +14019,7 @@ destructiveActions: boolean;
|
|
|
13616
14019
|
* `
|
|
13617
14020
|
* }
|
|
13618
14021
|
*/
|
|
13619
|
-
export declare const BentoStatus:
|
|
14022
|
+
export declare const BentoStatus: __VLS_WithTemplateSlots_36<DefineComponent<__VLS_TypePropsToRuntimeProps_27<BentoStatusProps>, {}, {}, {}, {}, ComponentOptionsMixin, ComponentOptionsMixin, {}, string, Readonly<ExtractPropTypes<__VLS_TypePropsToRuntimeProps_27<BentoStatusProps>>>, {}>, {
|
|
13620
14023
|
default: (_: {}) => any;
|
|
13621
14024
|
}>;
|
|
13622
14025
|
|
|
@@ -13661,7 +14064,7 @@ export declare enum BentoStatusVariant {
|
|
|
13661
14064
|
* `
|
|
13662
14065
|
* }
|
|
13663
14066
|
*/
|
|
13664
|
-
export declare const BentoStep:
|
|
14067
|
+
export declare const BentoStep: __VLS_WithTemplateSlots_38<DefineComponent< {
|
|
13665
14068
|
/**
|
|
13666
14069
|
* Completed status. Used on non-linear steppers to indicate if the step is completed.
|
|
13667
14070
|
*/
|
|
@@ -13718,7 +14121,7 @@ substepIndex: number;
|
|
|
13718
14121
|
* `
|
|
13719
14122
|
* }
|
|
13720
14123
|
*/
|
|
13721
|
-
export declare const BentoStepper:
|
|
14124
|
+
export declare const BentoStepper: __VLS_WithTemplateSlots_37<DefineComponent< {
|
|
13722
14125
|
/**
|
|
13723
14126
|
* Type of stepper; defines how the stepper should behave. Default: linear
|
|
13724
14127
|
* @values linear, non-linear
|
|
@@ -13825,7 +14228,7 @@ export declare enum BentoStepperVariantOption {
|
|
|
13825
14228
|
* `
|
|
13826
14229
|
* }
|
|
13827
14230
|
*/
|
|
13828
|
-
export declare const BentoStructuredList:
|
|
14231
|
+
export declare const BentoStructuredList: __VLS_WithTemplateSlots_39<DefineComponent<__VLS_WithDefaults_26<__VLS_TypePropsToRuntimeProps_28<{
|
|
13829
14232
|
/**
|
|
13830
14233
|
* Width of the labels container, in pixels. Overrides layout prop.
|
|
13831
14234
|
*/
|
|
@@ -13846,7 +14249,7 @@ layout?: BentoStructuredListLayoutOptions;
|
|
|
13846
14249
|
}>, {
|
|
13847
14250
|
labelsWidth: any;
|
|
13848
14251
|
layout: string;
|
|
13849
|
-
}>, {}, {}, {}, {}, ComponentOptionsMixin, ComponentOptionsMixin, {}, string, Readonly<ExtractPropTypes<
|
|
14252
|
+
}>, {}, {}, {}, {}, ComponentOptionsMixin, ComponentOptionsMixin, {}, string, Readonly<ExtractPropTypes<__VLS_WithDefaults_26<__VLS_TypePropsToRuntimeProps_28<{
|
|
13850
14253
|
/**
|
|
13851
14254
|
* Width of the labels container, in pixels. Overrides layout prop.
|
|
13852
14255
|
*/
|
|
@@ -13897,7 +14300,7 @@ labelsWidth: number;
|
|
|
13897
14300
|
* `
|
|
13898
14301
|
* }
|
|
13899
14302
|
*/
|
|
13900
|
-
export declare const BentoStructuredListItem:
|
|
14303
|
+
export declare const BentoStructuredListItem: __VLS_WithTemplateSlots_40<DefineComponent<__VLS_TypePropsToRuntimeProps_29<{
|
|
13901
14304
|
/**
|
|
13902
14305
|
* Label to display for the value
|
|
13903
14306
|
*/
|
|
@@ -13922,7 +14325,7 @@ searchTooltip?: string;
|
|
|
13922
14325
|
* Truncates the value of the item
|
|
13923
14326
|
*/
|
|
13924
14327
|
truncate?: boolean;
|
|
13925
|
-
}>, {}, {}, {}, {}, ComponentOptionsMixin, ComponentOptionsMixin, {}, string, Readonly<ExtractPropTypes<
|
|
14328
|
+
}>, {}, {}, {}, {}, ComponentOptionsMixin, ComponentOptionsMixin, {}, string, Readonly<ExtractPropTypes<__VLS_TypePropsToRuntimeProps_29<{
|
|
13926
14329
|
/**
|
|
13927
14330
|
* Label to display for the value
|
|
13928
14331
|
*/
|
|
@@ -14130,7 +14533,16 @@ type: PropType<BentoSummaryGridItemSize | `${BentoSummaryGridItemSize}`>;
|
|
|
14130
14533
|
default: BentoSummaryGridItemSize;
|
|
14131
14534
|
validator: (value: BentoSummaryGridItemSize) => boolean;
|
|
14132
14535
|
};
|
|
14133
|
-
|
|
14536
|
+
/**
|
|
14537
|
+
* Text showed in the info-icon tooltip on hover
|
|
14538
|
+
*/
|
|
14539
|
+
underlineTooltipText: {
|
|
14540
|
+
type: StringConstructor;
|
|
14541
|
+
default: any;
|
|
14542
|
+
};
|
|
14543
|
+
}, {
|
|
14544
|
+
hasSlot: (name: string) => boolean;
|
|
14545
|
+
}, {}, {}, {}, ComponentOptionsMixin, ComponentOptionsMixin, {}, string, Readonly<ExtractPropTypes< {
|
|
14134
14546
|
/**
|
|
14135
14547
|
* Text to copy to the clipboard
|
|
14136
14548
|
*/
|
|
@@ -14218,6 +14630,13 @@ type: PropType<BentoSummaryGridItemSize | `${BentoSummaryGridItemSize}`>;
|
|
|
14218
14630
|
default: BentoSummaryGridItemSize;
|
|
14219
14631
|
validator: (value: BentoSummaryGridItemSize) => boolean;
|
|
14220
14632
|
};
|
|
14633
|
+
/**
|
|
14634
|
+
* Text showed in the info-icon tooltip on hover
|
|
14635
|
+
*/
|
|
14636
|
+
underlineTooltipText: {
|
|
14637
|
+
type: StringConstructor;
|
|
14638
|
+
default: any;
|
|
14639
|
+
};
|
|
14221
14640
|
}>>, {
|
|
14222
14641
|
copy: string;
|
|
14223
14642
|
size: "small" | "large" | "medium" | BentoSummaryGridItemSize;
|
|
@@ -14227,6 +14646,7 @@ trend: string;
|
|
|
14227
14646
|
trendDirection: "positive" | "negative" | "neutral" | BentoSummaryGridItemTrendDirection;
|
|
14228
14647
|
secondaryTrend: string;
|
|
14229
14648
|
secondaryTrendDirection: "positive" | "negative" | "neutral" | BentoSummaryGridItemTrendDirection;
|
|
14649
|
+
underlineTooltipText: string;
|
|
14230
14650
|
secondaryLabel: string;
|
|
14231
14651
|
secondaryMetric: string;
|
|
14232
14652
|
}>;
|
|
@@ -14275,7 +14695,16 @@ fitContent: {
|
|
|
14275
14695
|
type: BooleanConstructor;
|
|
14276
14696
|
default: boolean;
|
|
14277
14697
|
};
|
|
14278
|
-
|
|
14698
|
+
/**
|
|
14699
|
+
* Text showed in the info-icon tooltip on hover
|
|
14700
|
+
*/
|
|
14701
|
+
underlineTooltipText: {
|
|
14702
|
+
type: StringConstructor;
|
|
14703
|
+
default: any;
|
|
14704
|
+
};
|
|
14705
|
+
}, {
|
|
14706
|
+
hasSlot: (name: string) => boolean;
|
|
14707
|
+
}, {}, {}, {}, ComponentOptionsMixin, ComponentOptionsMixin, "copy-to-clipboard"[], string, Readonly<ExtractPropTypes< {
|
|
14279
14708
|
/**
|
|
14280
14709
|
* Text to copy to the clipboard
|
|
14281
14710
|
*/
|
|
@@ -14304,10 +14733,18 @@ fitContent: {
|
|
|
14304
14733
|
type: BooleanConstructor;
|
|
14305
14734
|
default: boolean;
|
|
14306
14735
|
};
|
|
14736
|
+
/**
|
|
14737
|
+
* Text showed in the info-icon tooltip on hover
|
|
14738
|
+
*/
|
|
14739
|
+
underlineTooltipText: {
|
|
14740
|
+
type: StringConstructor;
|
|
14741
|
+
default: any;
|
|
14742
|
+
};
|
|
14307
14743
|
}>>, {
|
|
14308
14744
|
copy: string;
|
|
14309
14745
|
fitContent: boolean;
|
|
14310
14746
|
infoIconTooltipText: string;
|
|
14747
|
+
underlineTooltipText: string;
|
|
14311
14748
|
}>;
|
|
14312
14749
|
|
|
14313
14750
|
/**
|
|
@@ -14411,7 +14848,16 @@ type: PropType<BentoSummaryGridItemSize | `${BentoSummaryGridItemSize}`>;
|
|
|
14411
14848
|
default: BentoSummaryGridItemSize;
|
|
14412
14849
|
validator: (value: BentoSummaryGridItemSize) => boolean;
|
|
14413
14850
|
};
|
|
14414
|
-
|
|
14851
|
+
/**
|
|
14852
|
+
* Text showed in the info-icon tooltip on hover
|
|
14853
|
+
*/
|
|
14854
|
+
underlineTooltipText: {
|
|
14855
|
+
type: StringConstructor;
|
|
14856
|
+
default: any;
|
|
14857
|
+
};
|
|
14858
|
+
}, {
|
|
14859
|
+
hasSlot: (name: string) => boolean;
|
|
14860
|
+
}, {}, {}, {}, ComponentOptionsMixin, ComponentOptionsMixin, {}, string, Readonly<ExtractPropTypes< {
|
|
14415
14861
|
/**
|
|
14416
14862
|
* Text to copy to the clipboard
|
|
14417
14863
|
*/
|
|
@@ -14492,6 +14938,13 @@ type: PropType<BentoSummaryGridItemSize | `${BentoSummaryGridItemSize}`>;
|
|
|
14492
14938
|
default: BentoSummaryGridItemSize;
|
|
14493
14939
|
validator: (value: BentoSummaryGridItemSize) => boolean;
|
|
14494
14940
|
};
|
|
14941
|
+
/**
|
|
14942
|
+
* Text showed in the info-icon tooltip on hover
|
|
14943
|
+
*/
|
|
14944
|
+
underlineTooltipText: {
|
|
14945
|
+
type: StringConstructor;
|
|
14946
|
+
default: any;
|
|
14947
|
+
};
|
|
14495
14948
|
}>>, {
|
|
14496
14949
|
copy: string;
|
|
14497
14950
|
size: "small" | "large" | "medium" | BentoSummaryGridItemSize;
|
|
@@ -14501,6 +14954,7 @@ trend: string;
|
|
|
14501
14954
|
trendDirection: "positive" | "negative" | "neutral" | BentoSummaryGridItemTrendDirection;
|
|
14502
14955
|
secondaryTrend: string;
|
|
14503
14956
|
secondaryTrendDirection: "positive" | "negative" | "neutral" | BentoSummaryGridItemTrendDirection;
|
|
14957
|
+
underlineTooltipText: string;
|
|
14504
14958
|
secondaryMetric: string;
|
|
14505
14959
|
}>;
|
|
14506
14960
|
|
|
@@ -14605,7 +15059,16 @@ type: PropType<BentoSummaryGridItemSize | `${BentoSummaryGridItemSize}`>;
|
|
|
14605
15059
|
default: BentoSummaryGridItemSize;
|
|
14606
15060
|
validator: (value: BentoSummaryGridItemSize) => boolean;
|
|
14607
15061
|
};
|
|
14608
|
-
|
|
15062
|
+
/**
|
|
15063
|
+
* Text showed in the info-icon tooltip on hover
|
|
15064
|
+
*/
|
|
15065
|
+
underlineTooltipText: {
|
|
15066
|
+
type: StringConstructor;
|
|
15067
|
+
default: any;
|
|
15068
|
+
};
|
|
15069
|
+
}, {
|
|
15070
|
+
hasSlot: (name: string) => boolean;
|
|
15071
|
+
}, {}, {}, {}, ComponentOptionsMixin, ComponentOptionsMixin, {}, string, Readonly<ExtractPropTypes< {
|
|
14609
15072
|
/**
|
|
14610
15073
|
* Amount to be shown as the main value
|
|
14611
15074
|
*/
|
|
@@ -14686,6 +15149,13 @@ type: PropType<BentoSummaryGridItemSize | `${BentoSummaryGridItemSize}`>;
|
|
|
14686
15149
|
default: BentoSummaryGridItemSize;
|
|
14687
15150
|
validator: (value: BentoSummaryGridItemSize) => boolean;
|
|
14688
15151
|
};
|
|
15152
|
+
/**
|
|
15153
|
+
* Text showed in the info-icon tooltip on hover
|
|
15154
|
+
*/
|
|
15155
|
+
underlineTooltipText: {
|
|
15156
|
+
type: StringConstructor;
|
|
15157
|
+
default: any;
|
|
15158
|
+
};
|
|
14689
15159
|
}>>, {
|
|
14690
15160
|
copy: string;
|
|
14691
15161
|
size: "small" | "large" | "medium" | BentoSummaryGridItemSize;
|
|
@@ -14695,6 +15165,7 @@ trend: string;
|
|
|
14695
15165
|
trendDirection: "positive" | "negative" | "neutral" | BentoSummaryGridItemTrendDirection;
|
|
14696
15166
|
secondaryTrend: string;
|
|
14697
15167
|
secondaryTrendDirection: "positive" | "negative" | "neutral" | BentoSummaryGridItemTrendDirection;
|
|
15168
|
+
underlineTooltipText: string;
|
|
14698
15169
|
secondaryMetric: string;
|
|
14699
15170
|
}>;
|
|
14700
15171
|
|
|
@@ -14760,7 +15231,16 @@ fitContent: {
|
|
|
14760
15231
|
type: BooleanConstructor;
|
|
14761
15232
|
default: boolean;
|
|
14762
15233
|
};
|
|
14763
|
-
|
|
15234
|
+
/**
|
|
15235
|
+
* Text showed in the info-icon tooltip on hover
|
|
15236
|
+
*/
|
|
15237
|
+
underlineTooltipText: {
|
|
15238
|
+
type: StringConstructor;
|
|
15239
|
+
default: any;
|
|
15240
|
+
};
|
|
15241
|
+
}, {
|
|
15242
|
+
hasSlot: (name: string) => boolean;
|
|
15243
|
+
}, {}, {}, {}, ComponentOptionsMixin, ComponentOptionsMixin, {}, string, Readonly<ExtractPropTypes< {
|
|
14764
15244
|
/**
|
|
14765
15245
|
* Text to copy to the clipboard
|
|
14766
15246
|
*/
|
|
@@ -14796,10 +15276,18 @@ fitContent: {
|
|
|
14796
15276
|
type: BooleanConstructor;
|
|
14797
15277
|
default: boolean;
|
|
14798
15278
|
};
|
|
15279
|
+
/**
|
|
15280
|
+
* Text showed in the info-icon tooltip on hover
|
|
15281
|
+
*/
|
|
15282
|
+
underlineTooltipText: {
|
|
15283
|
+
type: StringConstructor;
|
|
15284
|
+
default: any;
|
|
15285
|
+
};
|
|
14799
15286
|
}>>, {
|
|
14800
15287
|
copy: string;
|
|
14801
15288
|
fitContent: boolean;
|
|
14802
15289
|
infoIconTooltipText: string;
|
|
15290
|
+
underlineTooltipText: string;
|
|
14803
15291
|
}>;
|
|
14804
15292
|
|
|
14805
15293
|
/**
|
|
@@ -14950,11 +15438,11 @@ declare enum BentoTabsEvent {
|
|
|
14950
15438
|
ACTIVE_TAB_INDEX = "update:active-tab-index"
|
|
14951
15439
|
}
|
|
14952
15440
|
|
|
14953
|
-
export declare const BentoTag: DefineComponent<
|
|
15441
|
+
export declare const BentoTag: DefineComponent<__VLS_WithDefaults_23<__VLS_TypePropsToRuntimeProps_23<BentoTagProps>, {
|
|
14954
15442
|
label: any;
|
|
14955
15443
|
truncate: any;
|
|
14956
15444
|
variant: BentoTagVariant;
|
|
14957
|
-
}>, {}, {}, {}, {}, ComponentOptionsMixin, ComponentOptionsMixin, {}, string, Readonly<ExtractPropTypes<
|
|
15445
|
+
}>, {}, {}, {}, {}, ComponentOptionsMixin, ComponentOptionsMixin, {}, string, Readonly<ExtractPropTypes<__VLS_WithDefaults_23<__VLS_TypePropsToRuntimeProps_23<BentoTagProps>, {
|
|
14958
15446
|
label: any;
|
|
14959
15447
|
truncate: any;
|
|
14960
15448
|
variant: BentoTagVariant;
|
|
@@ -16091,7 +16579,7 @@ export declare interface BentoTutorialStep {
|
|
|
16091
16579
|
* `
|
|
16092
16580
|
* }
|
|
16093
16581
|
*/
|
|
16094
|
-
export declare const BentoTypography:
|
|
16582
|
+
export declare const BentoTypography: __VLS_WithTemplateSlots_41<DefineComponent<__VLS_WithDefaults_27<__VLS_TypePropsToRuntimeProps_30<{
|
|
16095
16583
|
/**
|
|
16096
16584
|
* Sets the HTML DOM element.
|
|
16097
16585
|
* @values h1, h2, h3, h4, h5, h6, div, p, span
|
|
@@ -16139,7 +16627,7 @@ stronger: boolean;
|
|
|
16139
16627
|
strongest: boolean;
|
|
16140
16628
|
variant: BentoTypographyVariant;
|
|
16141
16629
|
wide: boolean;
|
|
16142
|
-
}>, {}, {}, {}, {}, ComponentOptionsMixin, ComponentOptionsMixin, {}, string, Readonly<ExtractPropTypes<
|
|
16630
|
+
}>, {}, {}, {}, {}, ComponentOptionsMixin, ComponentOptionsMixin, {}, string, Readonly<ExtractPropTypes<__VLS_WithDefaults_27<__VLS_TypePropsToRuntimeProps_30<{
|
|
16143
16631
|
/**
|
|
16144
16632
|
* Sets the HTML DOM element.
|
|
16145
16633
|
* @values h1, h2, h3, h4, h5, h6, div, p, span
|
|
@@ -16263,6 +16751,16 @@ declare type CalendarMonthIsDateDisabled = (date: Date) => boolean;
|
|
|
16263
16751
|
export { CalendarMonthIsDateDisabled as BentoDatePickerIsDateDisabled }
|
|
16264
16752
|
export { CalendarMonthIsDateDisabled as BentoDateRangePickerIsDateDisabled }
|
|
16265
16753
|
|
|
16754
|
+
/**
|
|
16755
|
+
* Private types
|
|
16756
|
+
*/
|
|
16757
|
+
declare enum CalendarVariant {
|
|
16758
|
+
DAY = "day",
|
|
16759
|
+
MONTH = "month"
|
|
16760
|
+
}
|
|
16761
|
+
export { CalendarVariant as BentoDatePickerVariant }
|
|
16762
|
+
export { CalendarVariant as BentoDateRangePickerVariant }
|
|
16763
|
+
|
|
16266
16764
|
export declare type Component = object;
|
|
16267
16765
|
|
|
16268
16766
|
declare type Component_2 = object;
|
|
@@ -16315,6 +16813,7 @@ declare type Element_2 = HTMLElement & {
|
|
|
16315
16813
|
|
|
16316
16814
|
/**
|
|
16317
16815
|
* Object of all the form field props with their respective list of errors
|
|
16816
|
+
* @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.
|
|
16318
16817
|
*/
|
|
16319
16818
|
export declare type ErrorBag<T> = typeToFlattenedError<T, string>['fieldErrors'];
|
|
16320
16819
|
|
|
@@ -16672,8 +17171,10 @@ export declare interface ToastStack {
|
|
|
16672
17171
|
* This is meant to simulate the behavior of {@link @vee-validate/zod} {@see https://vee-validate.logaretm.com/v4/integrations/zod-schema-validation}.
|
|
16673
17172
|
* Function that transform Zod’s schemas into something that can be understood by vee-validate
|
|
16674
17173
|
*
|
|
16675
|
-
* @
|
|
16676
|
-
*
|
|
17174
|
+
* @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.
|
|
17175
|
+
*
|
|
17176
|
+
* @param formSchema Zod schema to be transformed into a `vee-validate` schema
|
|
17177
|
+
* @returns Schema transformed
|
|
16677
17178
|
*/
|
|
16678
17179
|
export declare function toTypedSchema<T extends ZodSchema>(formSchema: T): T;
|
|
16679
17180
|
|
|
@@ -16741,6 +17242,7 @@ export declare const useCountryPhoneCode: (countryCode: MaybeRef<string>) => Com
|
|
|
16741
17242
|
|
|
16742
17243
|
/**
|
|
16743
17244
|
* useForm composable configuration object
|
|
17245
|
+
* @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.
|
|
16744
17246
|
*/
|
|
16745
17247
|
export declare interface UseForm<T> {
|
|
16746
17248
|
validationSchema: T;
|
|
@@ -16757,14 +17259,16 @@ export declare interface UseForm<T> {
|
|
|
16757
17259
|
* with functions to "reset" the data (sets values to default value) and a function to execute the
|
|
16758
17260
|
* successful form validation process (through a callback).
|
|
16759
17261
|
*
|
|
16760
|
-
* @
|
|
16761
|
-
*
|
|
16762
|
-
* @
|
|
16763
|
-
* @
|
|
16764
|
-
* @returns
|
|
16765
|
-
* @returns
|
|
16766
|
-
* @returns
|
|
16767
|
-
* @returns
|
|
17262
|
+
* @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.
|
|
17263
|
+
*
|
|
17264
|
+
* @param props Form configuration object
|
|
17265
|
+
* @param extends ZodSchema} props.validationSchema Zod typed validation schema
|
|
17266
|
+
* @returns response - Composable with reactive form values and errors, and functions to handle the reactive data
|
|
17267
|
+
* @returns response.errorBag Object with all the form values and an array of each one of the errors (if any) per value
|
|
17268
|
+
* @returns response.errors Object with all the form values and the first error found for that field (if any)
|
|
17269
|
+
* @returns response.values Object with all the form values and their current value
|
|
17270
|
+
* @returns response.handleReset Resets the form values to default (initial values) when it gets called
|
|
17271
|
+
* @returns response.submitForm Validates the data set in {response.values} and sets errors (if found) inside {response.errors} and {response.errorBag}.
|
|
16768
17272
|
* When the validation is successful it calls the callback so the submit process can continue
|
|
16769
17273
|
*
|
|
16770
17274
|
* @example
|