@adyen/bento-vue2 1.52.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 +474 -75
- package/dist/action-bar.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/card.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/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/header-with-views.css +1 -0
- package/dist/assets/input-field-password.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/checkbox.js +2 -2
- package/dist/chunks/{action-bar.DuJkjAt1.js → action-bar.Cuktzrp5.js} +4 -4
- package/dist/chunks/{action-bar.DuJkjAt1.js.map → action-bar.Cuktzrp5.js.map} +1 -1
- package/dist/chunks/{base-modal.CiTysydg.js → base-modal.DnaWOvaM.js} +3 -3
- package/dist/chunks/{base-modal.CiTysydg.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.B9oXYIgo.js → button-actions-with-menu.twMFsb82.js} +4 -4
- package/dist/chunks/{button-actions-with-menu.B9oXYIgo.js.map → button-actions-with-menu.twMFsb82.js.map} +1 -1
- package/dist/chunks/{calendar.Bq67h02Z.js → calendar.CJToU_uI.js} +2 -2
- package/dist/chunks/{calendar.Bq67h02Z.js.map → calendar.CJToU_uI.js.map} +1 -1
- package/dist/chunks/{checkbox-group.CqSIn-lG.js → checkbox-group.DkM6n3JR.js} +4 -4
- package/dist/chunks/{checkbox-group.CqSIn-lG.js.map → checkbox-group.DkM6n3JR.js.map} +1 -1
- package/dist/chunks/checkbox.l7h6GYew.js +176 -0
- package/dist/chunks/checkbox.l7h6GYew.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.CW42FdpP.js → code-snippet.BsEe6nml.js} +5 -5
- package/dist/chunks/{code-snippet.CW42FdpP.js.map → code-snippet.BsEe6nml.js.map} +1 -1
- package/dist/chunks/{controls-group.D0_cJaFF.js → controls-group.vFyThDMU.js} +2 -2
- package/dist/chunks/{controls-group.D0_cJaFF.js.map → controls-group.vFyThDMU.js.map} +1 -1
- package/dist/chunks/{copy.2iD8aI5a.js → copy.DD_Yfyn_.js} +3 -3
- package/dist/chunks/{copy.2iD8aI5a.js.map → copy.DD_Yfyn_.js.map} +1 -1
- package/dist/chunks/{dashboard-section.Cmulh6WM.js → dashboard-section.z-Rnv5E-.js} +3 -3
- package/dist/chunks/{dashboard-section.Cmulh6WM.js.map → dashboard-section.z-Rnv5E-.js.map} +1 -1
- package/dist/chunks/{dashed-underline.eMF75SuT.js → dashed-underline.CfQuYKV9.js} +8 -8
- package/dist/chunks/{dashed-underline.eMF75SuT.js.map → dashed-underline.CfQuYKV9.js.map} +1 -1
- package/dist/chunks/{data-grid-template.CdHnPE1-.js → data-grid-template.73mazFER.js} +2 -2
- package/dist/chunks/{data-grid-template.CdHnPE1-.js.map → data-grid-template.73mazFER.js.map} +1 -1
- package/dist/chunks/{data-grid.DedjAz4_.js → data-grid.C_Xoz-GC.js} +28 -18
- package/dist/chunks/data-grid.C_Xoz-GC.js.map +1 -0
- package/dist/chunks/{date-picker.BdMr3Sn2.js → date-picker.bgk9aymW.js} +5 -5
- package/dist/chunks/{date-picker.BdMr3Sn2.js.map → date-picker.bgk9aymW.js.map} +1 -1
- package/dist/chunks/{date-range-picker.BHfvD0GK.js → date-range-picker.-s05jOQA.js} +8 -8
- package/dist/chunks/{date-range-picker.BHfvD0GK.js.map → date-range-picker.-s05jOQA.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-tag.CvZ1jckk.js → dropdown-tag.8qh8J-NE.js} +3 -3
- package/dist/chunks/{dropdown-tag.CvZ1jckk.js.map → dropdown-tag.8qh8J-NE.js.map} +1 -1
- package/dist/chunks/{dropdown.CcHoKbLz.js → dropdown.DzWXcJyF.js} +50 -42
- package/dist/chunks/dropdown.DzWXcJyF.js.map +1 -0
- package/dist/chunks/{error-message.B1-ekAMa.js → error-message.CzQf7YOD.js} +2 -2
- package/dist/chunks/{error-message.B1-ekAMa.js.map → error-message.CzQf7YOD.js.map} +1 -1
- package/dist/chunks/es6.BtaxuP0b.js.map +1 -1
- package/dist/chunks/{file-uploader.Dlfzh5QQ.js → file-uploader.CcZPr-jD.js} +327 -326
- package/dist/chunks/file-uploader.CcZPr-jD.js.map +1 -0
- package/dist/chunks/{filter-bar.CwqoJGiK.js → filter-bar.BdGtQC7p.js} +305 -304
- package/dist/chunks/filter-bar.BdGtQC7p.js.map +1 -0
- package/dist/chunks/{focus-trap.CWlKh48z.js → focus-trap.CIUzScHc.js} +2 -2
- package/dist/chunks/{focus-trap.CWlKh48z.js.map → focus-trap.CIUzScHc.js.map} +1 -1
- 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.BAKjEGmH.js → header.0hX8OYwM.js} +3 -3
- package/dist/chunks/{header.BAKjEGmH.js.map → header.0hX8OYwM.js.map} +1 -1
- package/dist/chunks/index.BCUiAdb6.js +387 -0
- package/dist/chunks/{index.-wO_BQCb.js.map → index.BCUiAdb6.js.map} +1 -1
- package/dist/chunks/{info-icon-with-popover.CxXWP4TR.js → info-icon-with-popover.w6MpKOWh.js} +2 -2
- package/dist/chunks/{info-icon-with-popover.CxXWP4TR.js.map → info-icon-with-popover.w6MpKOWh.js.map} +1 -1
- package/dist/chunks/{info-icon.D3neDWqH.js → info-icon.C1ReXurF.js} +3 -3
- package/dist/chunks/{info-icon.D3neDWqH.js.map → info-icon.C1ReXurF.js.map} +1 -1
- 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.TXnK0dch.js → input-field-phone-number.C8WTJ1W-.js} +3 -3
- package/dist/chunks/{input-field-phone-number.TXnK0dch.js.map → input-field-phone-number.C8WTJ1W-.js.map} +1 -1
- package/dist/chunks/{input-field.De4sp76g.js → input-field.tP3Eupoo.js} +3 -3
- package/dist/chunks/{input-field.De4sp76g.js.map → input-field.tP3Eupoo.js.map} +1 -1
- package/dist/chunks/{inspector.types.ClnPOYmb.js → inspector.types.A0b4jNO3.js} +3 -3
- package/dist/chunks/{inspector.types.ClnPOYmb.js.map → inspector.types.A0b4jNO3.js.map} +1 -1
- package/dist/chunks/{layout-row.dh2VyGoD.js → layout-row.BgBazwnM.js} +2 -2
- package/dist/chunks/{layout-row.dh2VyGoD.js.map → layout-row.BgBazwnM.js.map} +1 -1
- package/dist/chunks/{listbox-option-tag.xGQr3Su1.js → listbox-option-tag.T9cfTst7.js} +2 -2
- package/dist/chunks/{listbox-option-tag.xGQr3Su1.js.map → listbox-option-tag.T9cfTst7.js.map} +1 -1
- package/dist/chunks/{menu.li3Kg9Uq.js → menu.CY7ceslP.js} +84 -83
- package/dist/chunks/{menu.li3Kg9Uq.js.map → menu.CY7ceslP.js.map} +1 -1
- package/dist/chunks/{modal-fullscreen.C4eL63TC.js → modal-fullscreen.Dz5w250z.js} +2 -2
- package/dist/chunks/{modal-fullscreen.C4eL63TC.js.map → modal-fullscreen.Dz5w250z.js.map} +1 -1
- package/dist/chunks/{modal.BpDz0Dhc.js → modal.CnmRkXZM.js} +2 -2
- package/dist/chunks/{modal.BpDz0Dhc.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.FuELftBG.js → pagination.CvGOUwd8.js} +2 -2
- package/dist/chunks/{pagination.FuELftBG.js.map → pagination.CvGOUwd8.js.map} +1 -1
- package/dist/chunks/{popover.Cb6utVhS.js → popover.BvsqsZQ1.js} +2 -2
- package/dist/chunks/{popover.Cb6utVhS.js.map → popover.BvsqsZQ1.js.map} +1 -1
- package/dist/chunks/{popper-container.CiEkF7eb.js → popper-container.LRQgzjRf.js} +2 -2
- package/dist/chunks/{popper-container.CiEkF7eb.js.map → popper-container.LRQgzjRf.js.map} +1 -1
- package/dist/chunks/{promo-banner.PnHud5Wi.js → promo-banner.DDnJwMDC.js} +2 -2
- package/dist/chunks/{promo-banner.PnHud5Wi.js.map → promo-banner.DDnJwMDC.js.map} +1 -1
- package/dist/chunks/{radio-group._8PsjPCZ.js → radio-group.BvswbJa8.js} +4 -4
- package/dist/chunks/{radio-group._8PsjPCZ.js.map → radio-group.BvswbJa8.js.map} +1 -1
- package/dist/chunks/{search-bar.CVY2e8_B.js → search-bar.kKLreEXo.js} +3 -3
- package/dist/chunks/{search-bar.CVY2e8_B.js.map → search-bar.kKLreEXo.js.map} +1 -1
- package/dist/chunks/{secondary-nav.LxcuTR16.js → secondary-nav.C6bfsK2p.js} +3 -3
- package/dist/chunks/{secondary-nav.LxcuTR16.js.map → secondary-nav.C6bfsK2p.js.map} +1 -1
- package/dist/chunks/{segmented-control.D69WXQGh.js → segmented-control.BywW3ont.js} +2 -2
- package/dist/chunks/{segmented-control.D69WXQGh.js.map → segmented-control.BywW3ont.js.map} +1 -1
- package/dist/chunks/{selection-card-group.MTKkCBeK.js → selection-card-group.Ca4G00h5.js} +11 -11
- package/dist/chunks/{selection-card-group.MTKkCBeK.js.map → selection-card-group.Ca4G00h5.js.map} +1 -1
- package/dist/chunks/{sidepanel.BStCbRqN.js → sidepanel.D4H3Vu0m.js} +3 -3
- package/dist/chunks/{sidepanel.BStCbRqN.js.map → sidepanel.D4H3Vu0m.js.map} +1 -1
- package/dist/chunks/{structured-list-item.CeosjL40.js → structured-list-item.Bv8reTz2.js} +4 -4
- package/dist/chunks/{structured-list-item.CeosjL40.js.map → structured-list-item.Bv8reTz2.js.map} +1 -1
- package/dist/chunks/{summary-grid-item-custom.CF_TS7oA.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.OgtZ3-ql.js → tag.IyMxowGc.js} +2 -2
- package/dist/chunks/{tag.OgtZ3-ql.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.BEISPJua.js → textarea.B9HjT5LH.js} +2 -2
- package/dist/chunks/{textarea.BEISPJua.js.map → textarea.B9HjT5LH.js.map} +1 -1
- package/dist/chunks/{timeline-item.BeWMuM8A.js → timeline-item.BIwk0vqM.js} +4 -4
- package/dist/chunks/{timeline-item.BeWMuM8A.js.map → timeline-item.BIwk0vqM.js.map} +1 -1
- package/dist/chunks/{tooltip.RPURZd36.js → tooltip.DShIiBiY.js} +2 -2
- package/dist/chunks/{tooltip.RPURZd36.js.map → tooltip.DShIiBiY.js.map} +1 -1
- package/dist/chunks/{tutorial.Ba8PTa0x.js → tutorial.DDlXTjAO.js} +4 -4
- package/dist/chunks/{tutorial.Ba8PTa0x.js.map → tutorial.DDlXTjAO.js.map} +1 -1
- package/dist/chunks/{use-cached-selected-values.CxlYYUbd.js → use-cached-selected-values.LVldNial.js} +12 -8
- package/dist/chunks/{use-cached-selected-values.CxlYYUbd.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/dropdown.js +3 -3
- package/dist/file-uploader.js +1 -1
- package/dist/filter-bar.js +1 -1
- package/dist/focus-trap.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 +195 -193
- 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 +10 -10
- 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/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 +47 -1
- package/dist/styles/bento-light.css +47 -1
- package/dist/styles/bento.css +47 -1
- package/dist/styles/legacy.css +47 -1
- package/dist/styles/styleguide.css +47 -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 +520 -5
- package/package.json +6 -5
- package/dist/chunks/checkbox.BeYtbfPv.js +0 -170
- package/dist/chunks/checkbox.BeYtbfPv.js.map +0 -1
- package/dist/chunks/data-grid.DedjAz4_.js.map +0 -1
- package/dist/chunks/dropdown.CcHoKbLz.js.map +0 -1
- package/dist/chunks/file-uploader.Dlfzh5QQ.js.map +0 -1
- package/dist/chunks/filter-bar.CwqoJGiK.js.map +0 -1
- package/dist/chunks/index.-wO_BQCb.js +0 -370
- package/dist/chunks/input-field-password.CO0lAgMh.js +0 -194
- package/dist/chunks/input-field-password.CO0lAgMh.js.map +0 -1
- package/dist/chunks/summary-grid-item-custom.CF_TS7oA.js.map +0 -1
package/dist/@types/index.d.ts
CHANGED
|
@@ -73,6 +73,8 @@ declare type __VLS_NonUndefinedable_30<T> = T extends undefined ? never : T;
|
|
|
73
73
|
|
|
74
74
|
declare type __VLS_NonUndefinedable_31<T> = T extends undefined ? never : T;
|
|
75
75
|
|
|
76
|
+
declare type __VLS_NonUndefinedable_32<T> = T extends undefined ? never : T;
|
|
77
|
+
|
|
76
78
|
declare type __VLS_NonUndefinedable_4<T> = T extends undefined ? never : T;
|
|
77
79
|
|
|
78
80
|
declare type __VLS_NonUndefinedable_5<T> = T extends undefined ? never : T;
|
|
@@ -310,6 +312,15 @@ declare type __VLS_TypePropsToRuntimeProps_31<T> = {
|
|
|
310
312
|
};
|
|
311
313
|
};
|
|
312
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
|
+
|
|
313
324
|
declare type __VLS_TypePropsToRuntimeProps_4<T> = {
|
|
314
325
|
[K in keyof T]-?: {} extends Pick<T, K> ? {
|
|
315
326
|
type: PropType<__VLS_NonUndefinedable_4<T[K]>>;
|
|
@@ -490,6 +501,12 @@ declare type __VLS_WithDefaults_28<P, D> = {
|
|
|
490
501
|
} : P[K];
|
|
491
502
|
};
|
|
492
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
|
+
|
|
493
510
|
declare type __VLS_WithDefaults_3<P, D> = {
|
|
494
511
|
[K in keyof Pick<P, keyof P>]: K extends keyof D ? P[K] & {
|
|
495
512
|
default: D[K];
|
|
@@ -760,6 +777,12 @@ declare type __VLS_WithTemplateSlots_43<T, S> = T & {
|
|
|
760
777
|
};
|
|
761
778
|
};
|
|
762
779
|
|
|
780
|
+
declare type __VLS_WithTemplateSlots_44<T, S> = T & {
|
|
781
|
+
new (): {
|
|
782
|
+
$slots: S;
|
|
783
|
+
};
|
|
784
|
+
};
|
|
785
|
+
|
|
763
786
|
declare type __VLS_WithTemplateSlots_5<T, S> = T & {
|
|
764
787
|
new (): {
|
|
765
788
|
$slots: S;
|
|
@@ -792,6 +815,7 @@ declare type __VLS_WithTemplateSlots_9<T, S> = T & {
|
|
|
792
815
|
|
|
793
816
|
/**
|
|
794
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.
|
|
795
819
|
*/
|
|
796
820
|
export declare type allKeys<T> = T extends any ? keyof T : never;
|
|
797
821
|
|
|
@@ -3318,7 +3342,7 @@ export declare interface BentoCurrencyProps {
|
|
|
3318
3342
|
* `
|
|
3319
3343
|
* }
|
|
3320
3344
|
*/
|
|
3321
|
-
export declare const BentoDashboardSection:
|
|
3345
|
+
export declare const BentoDashboardSection: __VLS_WithTemplateSlots_43<DefineComponent<__VLS_WithDefaults_29<__VLS_TypePropsToRuntimeProps_32<{
|
|
3322
3346
|
/**
|
|
3323
3347
|
* The header of the section
|
|
3324
3348
|
*/
|
|
@@ -3329,7 +3353,7 @@ header: BentoDashboardTemplateHeader;
|
|
|
3329
3353
|
halfWidth?: boolean;
|
|
3330
3354
|
}>, {
|
|
3331
3355
|
halfWidth: boolean;
|
|
3332
|
-
}>, {}, {}, {}, {}, ComponentOptionsMixin, ComponentOptionsMixin, {}, string, Readonly<ExtractPropTypes<
|
|
3356
|
+
}>, {}, {}, {}, {}, ComponentOptionsMixin, ComponentOptionsMixin, {}, string, Readonly<ExtractPropTypes<__VLS_WithDefaults_29<__VLS_TypePropsToRuntimeProps_32<{
|
|
3333
3357
|
/**
|
|
3334
3358
|
* The header of the section
|
|
3335
3359
|
*/
|
|
@@ -3377,7 +3401,7 @@ halfWidth: boolean;
|
|
|
3377
3401
|
* `
|
|
3378
3402
|
* }
|
|
3379
3403
|
*/
|
|
3380
|
-
export declare const BentoDashboardTemplate:
|
|
3404
|
+
export declare const BentoDashboardTemplate: __VLS_WithTemplateSlots_42<DefineComponent<__VLS_WithDefaults_28<__VLS_TypePropsToRuntimeProps_31<{
|
|
3381
3405
|
/**
|
|
3382
3406
|
* The header that goes to the top of the template
|
|
3383
3407
|
*/
|
|
@@ -3400,7 +3424,7 @@ stickyFilters?: boolean;
|
|
|
3400
3424
|
tabs: any;
|
|
3401
3425
|
stickyTabs: boolean;
|
|
3402
3426
|
stickyFilters: boolean;
|
|
3403
|
-
}>, {}, {}, {}, {}, ComponentOptionsMixin, ComponentOptionsMixin, {}, string, Readonly<ExtractPropTypes<
|
|
3427
|
+
}>, {}, {}, {}, {}, ComponentOptionsMixin, ComponentOptionsMixin, {}, string, Readonly<ExtractPropTypes<__VLS_WithDefaults_28<__VLS_TypePropsToRuntimeProps_31<{
|
|
3404
3428
|
/**
|
|
3405
3429
|
* The header that goes to the top of the template
|
|
3406
3430
|
*/
|
|
@@ -3616,6 +3640,14 @@ type: PropType<BentoFilterValues>;
|
|
|
3616
3640
|
default: () => any[];
|
|
3617
3641
|
};
|
|
3618
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
|
+
/**
|
|
3619
3651
|
* Filter bar search term useful to filter all the data by text
|
|
3620
3652
|
*/
|
|
3621
3653
|
filterSearchTerm: {
|
|
@@ -3882,6 +3914,14 @@ type: PropType<BentoFilterValues>;
|
|
|
3882
3914
|
default: () => any[];
|
|
3883
3915
|
};
|
|
3884
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
|
+
/**
|
|
3885
3925
|
* Filter bar search term useful to filter all the data by text
|
|
3886
3926
|
*/
|
|
3887
3927
|
filterSearchTerm: {
|
|
@@ -4092,6 +4132,7 @@ filterValues: BentoFilterValues;
|
|
|
4092
4132
|
allowColumnDragAndDrop: boolean;
|
|
4093
4133
|
bulkActions: BentoButtonActionsList;
|
|
4094
4134
|
columnPanel: boolean;
|
|
4135
|
+
filterSearchConfig: BentoFilterBarSearchBarProps;
|
|
4095
4136
|
filterSearchTerm: string;
|
|
4096
4137
|
noSpacingTop: boolean;
|
|
4097
4138
|
stickyHorizontalScrollbar: boolean;
|
|
@@ -4257,7 +4298,7 @@ export declare enum BentoDatagridStyleState {
|
|
|
4257
4298
|
* `
|
|
4258
4299
|
* }
|
|
4259
4300
|
*/
|
|
4260
|
-
export declare const BentoDataGridTemplate:
|
|
4301
|
+
export declare const BentoDataGridTemplate: __VLS_WithTemplateSlots_44<DefineComponent< {
|
|
4261
4302
|
/**
|
|
4262
4303
|
* The header that goes to the top of the template
|
|
4263
4304
|
*/
|
|
@@ -4407,6 +4448,7 @@ format: "d" | "LLL" | "EEEE" | "h:mm aa" | "H:mm" | "h:mm:ss aa" | "H:mm:ss" | "
|
|
|
4407
4448
|
export declare interface BentoDateFilterOptions {
|
|
4408
4449
|
firstDayOfWeek?: CalendarMonthFirstDayOfWeek;
|
|
4409
4450
|
isDateDisabled?: CalendarMonthIsDateDisabled;
|
|
4451
|
+
variant?: `${CalendarVariant}`;
|
|
4410
4452
|
}
|
|
4411
4453
|
|
|
4412
4454
|
export declare type BentoDateFilterValue = Date | null;
|
|
@@ -4735,6 +4777,7 @@ export declare interface BentoDateRangeFilterOptions {
|
|
|
4735
4777
|
numberOfMonths?: number;
|
|
4736
4778
|
showEndDateOnOpen?: boolean;
|
|
4737
4779
|
quickSelectRanges?: DateRangePickerCalendarRangeSelectorItems | boolean;
|
|
4780
|
+
variant?: `${CalendarVariant}`;
|
|
4738
4781
|
}
|
|
4739
4782
|
|
|
4740
4783
|
export declare type BentoDateRangeFilterValue = BentoDateRangePickerValue | null;
|
|
@@ -4970,7 +5013,7 @@ onEnterPressedOverInput: () => void;
|
|
|
4970
5013
|
onDateRangePickerInput: (selectedRange: BentoDateRangePickerValue) => void;
|
|
4971
5014
|
onDateRangePickerError: (dateTextInput: any) => void;
|
|
4972
5015
|
onDateRangePickerFormDateInputUpdate: (dateFormDate: DateRangePickerCalendarFormData) => void;
|
|
4973
|
-
t: (key: "cancel" | "apply" | "
|
|
5016
|
+
t: (key: "cancel" | "apply" | "selectDate" | "provideDateInAFormat" | "selectDateRange" | "selectedDateIsNotAvailable" | "dateRangePicker", values?: default_2.Values) => string;
|
|
4974
5017
|
}, {}, {}, {}, ComponentOptionsMixin, ComponentOptionsMixin, BentoDateRangePickerEvent[], string, Readonly<ExtractPropTypes< {
|
|
4975
5018
|
/**
|
|
4976
5019
|
* Allows user to enter time values in the form
|
|
@@ -5339,13 +5382,20 @@ type: StringConstructor;
|
|
|
5339
5382
|
default: any;
|
|
5340
5383
|
};
|
|
5341
5384
|
/**
|
|
5342
|
-
* Indicates if new options are loading.
|
|
5385
|
+
* Indicates if new options are lazy loading.
|
|
5343
5386
|
*/
|
|
5344
5387
|
loading: {
|
|
5345
5388
|
type: BooleanConstructor;
|
|
5346
5389
|
default: boolean;
|
|
5347
5390
|
};
|
|
5348
5391
|
/**
|
|
5392
|
+
* Indicates that dropdown items are loading
|
|
5393
|
+
*/
|
|
5394
|
+
componentLoading: {
|
|
5395
|
+
type: BooleanConstructor;
|
|
5396
|
+
default: boolean;
|
|
5397
|
+
};
|
|
5398
|
+
/**
|
|
5349
5399
|
* The type of `Lazy Load`.
|
|
5350
5400
|
* Type "automatic" will enable infinite scrolling
|
|
5351
5401
|
* Type "button" will enable lazy loading with "Show more" button
|
|
@@ -5444,7 +5494,7 @@ default: boolean;
|
|
|
5444
5494
|
}, {
|
|
5445
5495
|
focus: () => void;
|
|
5446
5496
|
}, {}, {}, {}, ComponentOptionsMixin, ComponentOptionsMixin, {
|
|
5447
|
-
input: (selectedValue:
|
|
5497
|
+
input: (selectedValue: any) => void;
|
|
5448
5498
|
} & {
|
|
5449
5499
|
"show-more": () => void;
|
|
5450
5500
|
}, string, Readonly<ExtractPropTypes< {
|
|
@@ -5547,13 +5597,20 @@ type: StringConstructor;
|
|
|
5547
5597
|
default: any;
|
|
5548
5598
|
};
|
|
5549
5599
|
/**
|
|
5550
|
-
* Indicates if new options are loading.
|
|
5600
|
+
* Indicates if new options are lazy loading.
|
|
5551
5601
|
*/
|
|
5552
5602
|
loading: {
|
|
5553
5603
|
type: BooleanConstructor;
|
|
5554
5604
|
default: boolean;
|
|
5555
5605
|
};
|
|
5556
5606
|
/**
|
|
5607
|
+
* Indicates that dropdown items are loading
|
|
5608
|
+
*/
|
|
5609
|
+
componentLoading: {
|
|
5610
|
+
type: BooleanConstructor;
|
|
5611
|
+
default: boolean;
|
|
5612
|
+
};
|
|
5613
|
+
/**
|
|
5557
5614
|
* The type of `Lazy Load`.
|
|
5558
5615
|
* Type "automatic" will enable infinite scrolling
|
|
5559
5616
|
* Type "button" will enable lazy loading with "Show more" button
|
|
@@ -5672,6 +5729,7 @@ staticCategories: boolean;
|
|
|
5672
5729
|
hasMoreItems: boolean;
|
|
5673
5730
|
lazyLoadType: "button" | "none" | "automatic" | BentoListboxLazyLoadType;
|
|
5674
5731
|
emptyState: BentoListboxEmptyStateProps;
|
|
5732
|
+
componentLoading: boolean;
|
|
5675
5733
|
virtualScroll: BentoListboxVirtulisationOptions;
|
|
5676
5734
|
dynamicFiltering: boolean;
|
|
5677
5735
|
showSlotContentInMultiple: boolean;
|
|
@@ -5768,6 +5826,10 @@ loading: {
|
|
|
5768
5826
|
type: BooleanConstructor;
|
|
5769
5827
|
default: boolean;
|
|
5770
5828
|
};
|
|
5829
|
+
componentLoading: {
|
|
5830
|
+
type: BooleanConstructor;
|
|
5831
|
+
default: boolean;
|
|
5832
|
+
};
|
|
5771
5833
|
lazyLoadType: {
|
|
5772
5834
|
type: PropType<BentoListboxLazyLoadType | `${BentoListboxLazyLoadType}`>;
|
|
5773
5835
|
default: BentoListboxLazyLoadType;
|
|
@@ -5884,6 +5946,10 @@ loading: {
|
|
|
5884
5946
|
type: BooleanConstructor;
|
|
5885
5947
|
default: boolean;
|
|
5886
5948
|
};
|
|
5949
|
+
componentLoading: {
|
|
5950
|
+
type: BooleanConstructor;
|
|
5951
|
+
default: boolean;
|
|
5952
|
+
};
|
|
5887
5953
|
lazyLoadType: {
|
|
5888
5954
|
type: PropType<BentoListboxLazyLoadType | `${BentoListboxLazyLoadType}`>;
|
|
5889
5955
|
default: BentoListboxLazyLoadType;
|
|
@@ -5961,6 +6027,7 @@ staticCategories: boolean;
|
|
|
5961
6027
|
hasMoreItems: boolean;
|
|
5962
6028
|
lazyLoadType: "button" | "none" | "automatic" | BentoListboxLazyLoadType;
|
|
5963
6029
|
emptyState: BentoListboxEmptyStateProps;
|
|
6030
|
+
componentLoading: boolean;
|
|
5964
6031
|
virtualScroll: BentoListboxVirtulisationOptions;
|
|
5965
6032
|
dynamicFiltering: boolean;
|
|
5966
6033
|
showSlotContentInMultiple: boolean;
|
|
@@ -6063,6 +6130,10 @@ loading: {
|
|
|
6063
6130
|
type: BooleanConstructor;
|
|
6064
6131
|
default: boolean;
|
|
6065
6132
|
};
|
|
6133
|
+
componentLoading: {
|
|
6134
|
+
type: BooleanConstructor;
|
|
6135
|
+
default: boolean;
|
|
6136
|
+
};
|
|
6066
6137
|
lazyLoadType: {
|
|
6067
6138
|
type: PropType<BentoListboxLazyLoadType | `${BentoListboxLazyLoadType}`>;
|
|
6068
6139
|
default: BentoListboxLazyLoadType;
|
|
@@ -6187,6 +6258,10 @@ loading: {
|
|
|
6187
6258
|
type: BooleanConstructor;
|
|
6188
6259
|
default: boolean;
|
|
6189
6260
|
};
|
|
6261
|
+
componentLoading: {
|
|
6262
|
+
type: BooleanConstructor;
|
|
6263
|
+
default: boolean;
|
|
6264
|
+
};
|
|
6190
6265
|
lazyLoadType: {
|
|
6191
6266
|
type: PropType<BentoListboxLazyLoadType | `${BentoListboxLazyLoadType}`>;
|
|
6192
6267
|
default: BentoListboxLazyLoadType;
|
|
@@ -6265,6 +6340,7 @@ staticCategories: boolean;
|
|
|
6265
6340
|
hasMoreItems: boolean;
|
|
6266
6341
|
lazyLoadType: "button" | "none" | "automatic" | BentoListboxLazyLoadType;
|
|
6267
6342
|
emptyState: BentoListboxEmptyStateProps;
|
|
6343
|
+
componentLoading: boolean;
|
|
6268
6344
|
virtualScroll: BentoListboxVirtulisationOptions;
|
|
6269
6345
|
dynamicFiltering: boolean;
|
|
6270
6346
|
showSlotContentInMultiple: boolean;
|
|
@@ -6358,6 +6434,10 @@ loading: {
|
|
|
6358
6434
|
type: BooleanConstructor;
|
|
6359
6435
|
default: boolean;
|
|
6360
6436
|
};
|
|
6437
|
+
componentLoading: {
|
|
6438
|
+
type: BooleanConstructor;
|
|
6439
|
+
default: boolean;
|
|
6440
|
+
};
|
|
6361
6441
|
lazyLoadType: {
|
|
6362
6442
|
type: PropType<BentoListboxLazyLoadType | `${BentoListboxLazyLoadType}`>;
|
|
6363
6443
|
default: BentoListboxLazyLoadType;
|
|
@@ -6473,6 +6553,10 @@ loading: {
|
|
|
6473
6553
|
type: BooleanConstructor;
|
|
6474
6554
|
default: boolean;
|
|
6475
6555
|
};
|
|
6556
|
+
componentLoading: {
|
|
6557
|
+
type: BooleanConstructor;
|
|
6558
|
+
default: boolean;
|
|
6559
|
+
};
|
|
6476
6560
|
lazyLoadType: {
|
|
6477
6561
|
type: PropType<BentoListboxLazyLoadType | `${BentoListboxLazyLoadType}`>;
|
|
6478
6562
|
default: BentoListboxLazyLoadType;
|
|
@@ -6550,6 +6634,7 @@ staticCategories: boolean;
|
|
|
6550
6634
|
hasMoreItems: boolean;
|
|
6551
6635
|
lazyLoadType: "button" | "none" | "automatic" | BentoListboxLazyLoadType;
|
|
6552
6636
|
emptyState: BentoListboxEmptyStateProps;
|
|
6637
|
+
componentLoading: boolean;
|
|
6553
6638
|
virtualScroll: BentoListboxVirtulisationOptions;
|
|
6554
6639
|
dynamicFiltering: boolean;
|
|
6555
6640
|
showSlotContentInMultiple: boolean;
|
|
@@ -6643,6 +6728,10 @@ loading: {
|
|
|
6643
6728
|
type: BooleanConstructor;
|
|
6644
6729
|
default: boolean;
|
|
6645
6730
|
};
|
|
6731
|
+
componentLoading: {
|
|
6732
|
+
type: BooleanConstructor;
|
|
6733
|
+
default: boolean;
|
|
6734
|
+
};
|
|
6646
6735
|
lazyLoadType: {
|
|
6647
6736
|
type: PropType<BentoListboxLazyLoadType | `${BentoListboxLazyLoadType}`>;
|
|
6648
6737
|
default: BentoListboxLazyLoadType;
|
|
@@ -6758,6 +6847,10 @@ loading: {
|
|
|
6758
6847
|
type: BooleanConstructor;
|
|
6759
6848
|
default: boolean;
|
|
6760
6849
|
};
|
|
6850
|
+
componentLoading: {
|
|
6851
|
+
type: BooleanConstructor;
|
|
6852
|
+
default: boolean;
|
|
6853
|
+
};
|
|
6761
6854
|
lazyLoadType: {
|
|
6762
6855
|
type: PropType<BentoListboxLazyLoadType | `${BentoListboxLazyLoadType}`>;
|
|
6763
6856
|
default: BentoListboxLazyLoadType;
|
|
@@ -6835,6 +6928,7 @@ staticCategories: boolean;
|
|
|
6835
6928
|
hasMoreItems: boolean;
|
|
6836
6929
|
lazyLoadType: "button" | "none" | "automatic" | BentoListboxLazyLoadType;
|
|
6837
6930
|
emptyState: BentoListboxEmptyStateProps;
|
|
6931
|
+
componentLoading: boolean;
|
|
6838
6932
|
virtualScroll: BentoListboxVirtulisationOptions;
|
|
6839
6933
|
dynamicFiltering: boolean;
|
|
6840
6934
|
showSlotContentInMultiple: boolean;
|
|
@@ -6935,6 +7029,10 @@ loading: {
|
|
|
6935
7029
|
type: BooleanConstructor;
|
|
6936
7030
|
default: boolean;
|
|
6937
7031
|
};
|
|
7032
|
+
componentLoading: {
|
|
7033
|
+
type: BooleanConstructor;
|
|
7034
|
+
default: boolean;
|
|
7035
|
+
};
|
|
6938
7036
|
lazyLoadType: {
|
|
6939
7037
|
type: PropType<BentoListboxLazyLoadType | `${BentoListboxLazyLoadType}`>;
|
|
6940
7038
|
default: BentoListboxLazyLoadType;
|
|
@@ -7051,6 +7149,10 @@ loading: {
|
|
|
7051
7149
|
type: BooleanConstructor;
|
|
7052
7150
|
default: boolean;
|
|
7053
7151
|
};
|
|
7152
|
+
componentLoading: {
|
|
7153
|
+
type: BooleanConstructor;
|
|
7154
|
+
default: boolean;
|
|
7155
|
+
};
|
|
7054
7156
|
lazyLoadType: {
|
|
7055
7157
|
type: PropType<BentoListboxLazyLoadType | `${BentoListboxLazyLoadType}`>;
|
|
7056
7158
|
default: BentoListboxLazyLoadType;
|
|
@@ -7128,6 +7230,7 @@ staticCategories: boolean;
|
|
|
7128
7230
|
hasMoreItems: boolean;
|
|
7129
7231
|
lazyLoadType: "button" | "none" | "automatic" | BentoListboxLazyLoadType;
|
|
7130
7232
|
emptyState: BentoListboxEmptyStateProps;
|
|
7233
|
+
componentLoading: boolean;
|
|
7131
7234
|
virtualScroll: BentoListboxVirtulisationOptions;
|
|
7132
7235
|
dynamicFiltering: boolean;
|
|
7133
7236
|
showSlotContentInMultiple: boolean;
|
|
@@ -7413,7 +7516,7 @@ export declare interface BentoFileUploaderProps {
|
|
|
7413
7516
|
*/
|
|
7414
7517
|
maxSize?: number;
|
|
7415
7518
|
/**
|
|
7416
|
-
* Used to support `v-model`.
|
|
7519
|
+
* Used to support `v-model`. Can be used to set value of FileUploader if FileList
|
|
7417
7520
|
*/
|
|
7418
7521
|
modelValue?: BentoFileUploaderValue;
|
|
7419
7522
|
/**
|
|
@@ -7430,7 +7533,7 @@ export declare interface BentoFileUploaderProps {
|
|
|
7430
7533
|
tooltipText?: string;
|
|
7431
7534
|
}
|
|
7432
7535
|
|
|
7433
|
-
export declare type BentoFileUploaderValue = string | Array<string> | File | Array<File
|
|
7536
|
+
export declare type BentoFileUploaderValue = string | Array<string> | File | Array<File> | FileList;
|
|
7434
7537
|
|
|
7435
7538
|
/**
|
|
7436
7539
|
* The filter bar filters item lists and tables according to various filter criteria.
|
|
@@ -8036,6 +8139,199 @@ declare enum BentoHeaderVariant {
|
|
|
8036
8139
|
COMPONENT = "component"
|
|
8037
8140
|
}
|
|
8038
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
|
+
|
|
8039
8335
|
/**
|
|
8040
8336
|
* Image component used for resizing images to certain aspect ratios and fit strategies.
|
|
8041
8337
|
*
|
|
@@ -8055,10 +8351,10 @@ declare enum BentoHeaderVariant {
|
|
|
8055
8351
|
* `
|
|
8056
8352
|
* }
|
|
8057
8353
|
*/
|
|
8058
|
-
export declare const BentoImage: DefineComponent<
|
|
8354
|
+
export declare const BentoImage: DefineComponent<__VLS_WithDefaults_13<__VLS_TypePropsToRuntimeProps_13<BentoImageProps>, {
|
|
8059
8355
|
aspectRatio: any;
|
|
8060
8356
|
objectFit: any;
|
|
8061
|
-
}>, {}, {}, {}, {}, ComponentOptionsMixin, ComponentOptionsMixin, {}, string, Readonly<ExtractPropTypes<
|
|
8357
|
+
}>, {}, {}, {}, {}, ComponentOptionsMixin, ComponentOptionsMixin, {}, string, Readonly<ExtractPropTypes<__VLS_WithDefaults_13<__VLS_TypePropsToRuntimeProps_13<BentoImageProps>, {
|
|
8062
8358
|
aspectRatio: any;
|
|
8063
8359
|
objectFit: any;
|
|
8064
8360
|
}>>>, {
|
|
@@ -8173,7 +8469,7 @@ export declare type BentoInputDropdownProps = {
|
|
|
8173
8469
|
* >
|
|
8174
8470
|
* }
|
|
8175
8471
|
*/
|
|
8176
|
-
export declare const BentoInputField:
|
|
8472
|
+
export declare const BentoInputField: __VLS_WithTemplateSlots_18<DefineComponent<__VLS_WithDefaults_14<__VLS_TypePropsToRuntimeProps_14<BentoInputFieldProps>, {
|
|
8177
8473
|
ariaHidden: boolean;
|
|
8178
8474
|
ariaLabel: any;
|
|
8179
8475
|
condensed: boolean;
|
|
@@ -8214,7 +8510,7 @@ keydown: (event: KeyboardEvent) => void;
|
|
|
8214
8510
|
keyup: (event: KeyboardEvent) => void;
|
|
8215
8511
|
} & {
|
|
8216
8512
|
input: (inputValue: string) => void;
|
|
8217
|
-
}, string, Readonly<ExtractPropTypes<
|
|
8513
|
+
}, string, Readonly<ExtractPropTypes<__VLS_WithDefaults_14<__VLS_TypePropsToRuntimeProps_14<BentoInputFieldProps>, {
|
|
8218
8514
|
ariaHidden: boolean;
|
|
8219
8515
|
ariaLabel: any;
|
|
8220
8516
|
condensed: boolean;
|
|
@@ -8326,9 +8622,10 @@ export declare enum BentoInputFieldEvent {
|
|
|
8326
8622
|
* `
|
|
8327
8623
|
* }
|
|
8328
8624
|
*/
|
|
8329
|
-
export declare const BentoInputFieldPassword: DefineComponent<
|
|
8625
|
+
export declare const BentoInputFieldPassword: DefineComponent<__VLS_WithDefaults_15<__VLS_TypePropsToRuntimeProps_15<BentoInputFieldPasswordProps>, {
|
|
8330
8626
|
condensed: boolean;
|
|
8331
8627
|
disabled: boolean;
|
|
8628
|
+
disableValidation: boolean;
|
|
8332
8629
|
label: any;
|
|
8333
8630
|
errorMessage: any;
|
|
8334
8631
|
placeholder: string;
|
|
@@ -8340,9 +8637,10 @@ withHint: boolean;
|
|
|
8340
8637
|
"input:valid": () => void;
|
|
8341
8638
|
} & {
|
|
8342
8639
|
input: (value: BentoInputFieldValue) => void;
|
|
8343
|
-
}, string, Readonly<ExtractPropTypes<
|
|
8640
|
+
}, string, Readonly<ExtractPropTypes<__VLS_WithDefaults_15<__VLS_TypePropsToRuntimeProps_15<BentoInputFieldPasswordProps>, {
|
|
8344
8641
|
condensed: boolean;
|
|
8345
8642
|
disabled: boolean;
|
|
8643
|
+
disableValidation: boolean;
|
|
8346
8644
|
label: any;
|
|
8347
8645
|
errorMessage: any;
|
|
8348
8646
|
placeholder: string;
|
|
@@ -8359,6 +8657,7 @@ validation: BentoInputFieldPasswordValidation;
|
|
|
8359
8657
|
readonly: BentoInputFieldProps["readonly"];
|
|
8360
8658
|
errorMessage: BentoInputFieldProps["errorMessage"];
|
|
8361
8659
|
placeholder: BentoInputFieldProps["placeholder"];
|
|
8660
|
+
disableValidation: boolean;
|
|
8362
8661
|
withHint: boolean;
|
|
8363
8662
|
}>;
|
|
8364
8663
|
|
|
@@ -8371,6 +8670,11 @@ export declare interface BentoInputFieldPasswordProps {
|
|
|
8371
8670
|
* Disables the possibility of changing value in the input-field
|
|
8372
8671
|
*/
|
|
8373
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;
|
|
8374
8678
|
/**
|
|
8375
8679
|
* Renders input-field with an error state and the error message beneath the input box
|
|
8376
8680
|
*/
|
|
@@ -8451,7 +8755,7 @@ export declare interface BentoInputFieldPasswordValidationListItem {
|
|
|
8451
8755
|
* `
|
|
8452
8756
|
* }
|
|
8453
8757
|
*/
|
|
8454
|
-
export declare const BentoInputFieldPhoneNumber:
|
|
8758
|
+
export declare const BentoInputFieldPhoneNumber: __VLS_WithTemplateSlots_19<DefineComponent<__VLS_WithDefaults_16<__VLS_TypePropsToRuntimeProps_16<BentoInputFieldPhoneNumberProps>, {
|
|
8455
8759
|
countries: () => CountryCode_2[];
|
|
8456
8760
|
dynamicFiltering: boolean;
|
|
8457
8761
|
}>, {}, {}, {}, {}, ComponentOptionsMixin, ComponentOptionsMixin, {
|
|
@@ -8460,7 +8764,7 @@ blur: () => void;
|
|
|
8460
8764
|
input: (value: string) => void;
|
|
8461
8765
|
} & {
|
|
8462
8766
|
"update:selected-country": (country: CountryCode_2) => void;
|
|
8463
|
-
}, string, Readonly<ExtractPropTypes<
|
|
8767
|
+
}, string, Readonly<ExtractPropTypes<__VLS_WithDefaults_16<__VLS_TypePropsToRuntimeProps_16<BentoInputFieldPhoneNumberProps>, {
|
|
8464
8768
|
countries: () => CountryCode_2[];
|
|
8465
8769
|
dynamicFiltering: boolean;
|
|
8466
8770
|
}>>>, {
|
|
@@ -8709,7 +9013,7 @@ export declare type BentoInpuWithDropdowntFilterValue = {
|
|
|
8709
9013
|
* `
|
|
8710
9014
|
* }
|
|
8711
9015
|
*/
|
|
8712
|
-
export declare const BentoInspector:
|
|
9016
|
+
export declare const BentoInspector: __VLS_WithTemplateSlots_20<DefineComponent<__VLS_WithDefaults_17<__VLS_TypePropsToRuntimeProps_17<{
|
|
8713
9017
|
/**
|
|
8714
9018
|
* ID of the current active inspector page
|
|
8715
9019
|
*/
|
|
@@ -8746,7 +9050,7 @@ size: string;
|
|
|
8746
9050
|
"update:active-page": (value: string) => void;
|
|
8747
9051
|
} & {
|
|
8748
9052
|
expand: () => void;
|
|
8749
|
-
}, string, Readonly<ExtractPropTypes<
|
|
9053
|
+
}, string, Readonly<ExtractPropTypes<__VLS_WithDefaults_17<__VLS_TypePropsToRuntimeProps_17<{
|
|
8750
9054
|
/**
|
|
8751
9055
|
* ID of the current active inspector page
|
|
8752
9056
|
*/
|
|
@@ -8836,10 +9140,10 @@ export declare enum BentoKeyboardNavigationKeyDownEvent {
|
|
|
8836
9140
|
* `
|
|
8837
9141
|
* }
|
|
8838
9142
|
*/
|
|
8839
|
-
export declare const BentoLayout:
|
|
9143
|
+
export declare const BentoLayout: __VLS_WithTemplateSlots_21<DefineComponent<__VLS_WithDefaults_18<__VLS_TypePropsToRuntimeProps_18<BentoLayoutProps>, {
|
|
8840
9144
|
size: string;
|
|
8841
9145
|
variant: string;
|
|
8842
|
-
}>, {}, {}, {}, {}, ComponentOptionsMixin, ComponentOptionsMixin, {}, string, Readonly<ExtractPropTypes<
|
|
9146
|
+
}>, {}, {}, {}, {}, ComponentOptionsMixin, ComponentOptionsMixin, {}, string, Readonly<ExtractPropTypes<__VLS_WithDefaults_18<__VLS_TypePropsToRuntimeProps_18<BentoLayoutProps>, {
|
|
8843
9147
|
size: string;
|
|
8844
9148
|
variant: string;
|
|
8845
9149
|
}>>>, {
|
|
@@ -8882,9 +9186,9 @@ export declare interface BentoLayoutProps {
|
|
|
8882
9186
|
* `
|
|
8883
9187
|
* }
|
|
8884
9188
|
*/
|
|
8885
|
-
export declare const BentoLayoutRow:
|
|
9189
|
+
export declare const BentoLayoutRow: __VLS_WithTemplateSlots_22<DefineComponent<__VLS_WithDefaults_19<__VLS_TypePropsToRuntimeProps_19<BentoLayoutRowProps>, {
|
|
8886
9190
|
columnsLayout: string;
|
|
8887
|
-
}>, {}, {}, {}, {}, ComponentOptionsMixin, ComponentOptionsMixin, {}, string, Readonly<ExtractPropTypes<
|
|
9191
|
+
}>, {}, {}, {}, {}, ComponentOptionsMixin, ComponentOptionsMixin, {}, string, Readonly<ExtractPropTypes<__VLS_WithDefaults_19<__VLS_TypePropsToRuntimeProps_19<BentoLayoutRowProps>, {
|
|
8888
9192
|
columnsLayout: string;
|
|
8889
9193
|
}>>>, {
|
|
8890
9194
|
columnsLayout: BentoLayoutRowColumnLayout;
|
|
@@ -8931,12 +9235,12 @@ export declare type BentoLazyLoadType = 'automatic' | 'button' | 'none';
|
|
|
8931
9235
|
* `
|
|
8932
9236
|
* }
|
|
8933
9237
|
*/
|
|
8934
|
-
export declare const BentoLink:
|
|
9238
|
+
export declare const BentoLink: __VLS_WithTemplateSlots_23<DefineComponent<__VLS_WithDefaults_20<__VLS_TypePropsToRuntimeProps_20<BentoLinkProps>, {
|
|
8935
9239
|
target: any;
|
|
8936
9240
|
variant: BentoLinkVariant;
|
|
8937
9241
|
}>, {}, {}, {}, {}, ComponentOptionsMixin, ComponentOptionsMixin, {
|
|
8938
9242
|
click: (clickEvent: MouseEvent) => void;
|
|
8939
|
-
}, string, Readonly<ExtractPropTypes<
|
|
9243
|
+
}, string, Readonly<ExtractPropTypes<__VLS_WithDefaults_20<__VLS_TypePropsToRuntimeProps_20<BentoLinkProps>, {
|
|
8940
9244
|
target: any;
|
|
8941
9245
|
variant: BentoLinkVariant;
|
|
8942
9246
|
}>>>, {
|
|
@@ -9335,7 +9639,7 @@ isInverseColorSet: Ref<boolean>;
|
|
|
9335
9639
|
hasSlot: (name: string) => boolean;
|
|
9336
9640
|
onKeyDown: (event: KeyboardEvent) => void;
|
|
9337
9641
|
onKeyUp: (event: KeyboardEvent) => void;
|
|
9338
|
-
closeMenu: (revertFocus?: boolean) => void
|
|
9642
|
+
closeMenu: (revertFocus?: boolean) => Promise<void>;
|
|
9339
9643
|
menuItemClick: () => void;
|
|
9340
9644
|
toggleShowMenu: (e: MouseEvent) => void;
|
|
9341
9645
|
t: (key: "backButton" | "menuButton", values?: default_2.Values) => string;
|
|
@@ -9469,7 +9773,7 @@ export declare interface BentoMenuItem {
|
|
|
9469
9773
|
* `
|
|
9470
9774
|
* };
|
|
9471
9775
|
*/
|
|
9472
|
-
export declare const BentoModal:
|
|
9776
|
+
export declare const BentoModal: __VLS_WithTemplateSlots_25<DefineComponent< {
|
|
9473
9777
|
/**
|
|
9474
9778
|
* List of actions that will be used to render the buttons.
|
|
9475
9779
|
* First element in the list will be rendered as "primary".
|
|
@@ -9807,7 +10111,7 @@ export declare enum BentoModalEvent {
|
|
|
9807
10111
|
* `
|
|
9808
10112
|
* }
|
|
9809
10113
|
*/
|
|
9810
|
-
export declare const BentoModalFullscreen:
|
|
10114
|
+
export declare const BentoModalFullscreen: __VLS_WithTemplateSlots_26<DefineComponent< {
|
|
9811
10115
|
/**
|
|
9812
10116
|
* List of actions that will be used to render the buttons.
|
|
9813
10117
|
* First element in the list will be rendered as "primary".
|
|
@@ -9947,7 +10251,7 @@ contextualLabel: string;
|
|
|
9947
10251
|
* `
|
|
9948
10252
|
* }
|
|
9949
10253
|
*/
|
|
9950
|
-
export declare const BentoModalFullscreenPage:
|
|
10254
|
+
export declare const BentoModalFullscreenPage: __VLS_WithTemplateSlots_27<DefineComponent< {
|
|
9951
10255
|
/**
|
|
9952
10256
|
* List of actions that will be used to render the buttons.
|
|
9953
10257
|
* First element in the list will be rendered as "primary".
|
|
@@ -10089,7 +10393,7 @@ contextualLabel: string;
|
|
|
10089
10393
|
* `
|
|
10090
10394
|
* }
|
|
10091
10395
|
*/
|
|
10092
|
-
export declare const BentoModalPage:
|
|
10396
|
+
export declare const BentoModalPage: __VLS_WithTemplateSlots_24<DefineComponent< {
|
|
10093
10397
|
/**
|
|
10094
10398
|
* List of actions that will be used to render the buttons.
|
|
10095
10399
|
* First element in the list will be rendered as "primary".
|
|
@@ -10449,10 +10753,10 @@ hidePageSize: boolean;
|
|
|
10449
10753
|
* `
|
|
10450
10754
|
* }
|
|
10451
10755
|
*/
|
|
10452
|
-
export declare const BentoPaymentMethod: DefineComponent<
|
|
10756
|
+
export declare const BentoPaymentMethod: DefineComponent<__VLS_WithDefaults_21<__VLS_TypePropsToRuntimeProps_21<BentoPaymentMethodProps>, {
|
|
10453
10757
|
type: string;
|
|
10454
10758
|
small: boolean;
|
|
10455
|
-
}>, {}, {}, {}, {}, ComponentOptionsMixin, ComponentOptionsMixin, {}, string, Readonly<ExtractPropTypes<
|
|
10759
|
+
}>, {}, {}, {}, {}, ComponentOptionsMixin, ComponentOptionsMixin, {}, string, Readonly<ExtractPropTypes<__VLS_WithDefaults_21<__VLS_TypePropsToRuntimeProps_21<BentoPaymentMethodProps>, {
|
|
10456
10760
|
type: string;
|
|
10457
10761
|
small: boolean;
|
|
10458
10762
|
}>>>, {
|
|
@@ -11581,7 +11885,7 @@ export declare enum BentoPaymentMethodType {
|
|
|
11581
11885
|
* `
|
|
11582
11886
|
* }
|
|
11583
11887
|
*/
|
|
11584
|
-
export declare const BentoPopover:
|
|
11888
|
+
export declare const BentoPopover: __VLS_WithTemplateSlots_28<DefineComponent< {
|
|
11585
11889
|
/**
|
|
11586
11890
|
* List of actions that will be used to render the buttons.
|
|
11587
11891
|
* First element in the list will be rendered as "primary".
|
|
@@ -11995,7 +12299,7 @@ export declare type BentoPopoverPositions = PopperContainerPosition;
|
|
|
11995
12299
|
* `
|
|
11996
12300
|
* };
|
|
11997
12301
|
*/
|
|
11998
|
-
export declare const BentoPromoBanner:
|
|
12302
|
+
export declare const BentoPromoBanner: __VLS_WithTemplateSlots_29<DefineComponent<__VLS_WithDefaults_22<__VLS_TypePropsToRuntimeProps_22<BentoPromoBannerProps>, {
|
|
11999
12303
|
actions: any;
|
|
12000
12304
|
color: BentoPromoBannerColor;
|
|
12001
12305
|
isDismissible: boolean;
|
|
@@ -12003,7 +12307,7 @@ dismissButtonText: any;
|
|
|
12003
12307
|
layout: BentoPromoBannerLayout;
|
|
12004
12308
|
}>, {}, {}, {}, {}, ComponentOptionsMixin, ComponentOptionsMixin, {
|
|
12005
12309
|
dismiss: () => void;
|
|
12006
|
-
}, string, Readonly<ExtractPropTypes<
|
|
12310
|
+
}, string, Readonly<ExtractPropTypes<__VLS_WithDefaults_22<__VLS_TypePropsToRuntimeProps_22<BentoPromoBannerProps>, {
|
|
12007
12311
|
actions: any;
|
|
12008
12312
|
color: BentoPromoBannerColor;
|
|
12009
12313
|
isDismissible: boolean;
|
|
@@ -12139,7 +12443,7 @@ export declare interface BentoPromoBannerProps {
|
|
|
12139
12443
|
* }
|
|
12140
12444
|
* }
|
|
12141
12445
|
*/
|
|
12142
|
-
export declare const BentoRadioButton:
|
|
12446
|
+
export declare const BentoRadioButton: __VLS_WithTemplateSlots_31<DefineComponent< {
|
|
12143
12447
|
/**
|
|
12144
12448
|
* Disable the radio button (optional)
|
|
12145
12449
|
*/
|
|
@@ -12294,7 +12598,7 @@ export declare type BentoRadioButtonValue = string | number;
|
|
|
12294
12598
|
* `
|
|
12295
12599
|
* };
|
|
12296
12600
|
*/
|
|
12297
|
-
export declare const BentoRadioGroup:
|
|
12601
|
+
export declare const BentoRadioGroup: __VLS_WithTemplateSlots_30<DefineComponent< {
|
|
12298
12602
|
/**
|
|
12299
12603
|
* Descriptive supporting text visbile underneath the label.
|
|
12300
12604
|
*/
|
|
@@ -12588,7 +12892,7 @@ export declare enum BentoRadioGroupVariant {
|
|
|
12588
12892
|
* }
|
|
12589
12893
|
* }
|
|
12590
12894
|
*/
|
|
12591
|
-
export declare const BentoSearchBar: DefineComponent<
|
|
12895
|
+
export declare const BentoSearchBar: DefineComponent<__VLS_WithDefaults_24<__VLS_TypePropsToRuntimeProps_24<BentoSearchBarProps>, {
|
|
12592
12896
|
condensed: boolean;
|
|
12593
12897
|
debounceTime: number;
|
|
12594
12898
|
hint: string;
|
|
@@ -12609,7 +12913,7 @@ clear: () => void;
|
|
|
12609
12913
|
blur: () => void;
|
|
12610
12914
|
} & {
|
|
12611
12915
|
focus: () => void;
|
|
12612
|
-
}, string, Readonly<ExtractPropTypes<
|
|
12916
|
+
}, string, Readonly<ExtractPropTypes<__VLS_WithDefaults_24<__VLS_TypePropsToRuntimeProps_24<BentoSearchBarProps>, {
|
|
12613
12917
|
condensed: boolean;
|
|
12614
12918
|
debounceTime: number;
|
|
12615
12919
|
hint: string;
|
|
@@ -12692,7 +12996,7 @@ export declare interface BentoSearchBarProps {
|
|
|
12692
12996
|
* }
|
|
12693
12997
|
* }
|
|
12694
12998
|
*/
|
|
12695
|
-
export declare const BentoSecondaryNav: DefineComponent<
|
|
12999
|
+
export declare const BentoSecondaryNav: DefineComponent<__VLS_TypePropsToRuntimeProps_25<{
|
|
12696
13000
|
/**
|
|
12697
13001
|
* An array containing all the items on the nav. The array can have either {@see BentoSecondaryNavItemsCategory },
|
|
12698
13002
|
* which is used to group different items or {@see BentoSecondaryNavItemsItem } if you don't need to group them.
|
|
@@ -12705,7 +13009,7 @@ items: BentoSecondaryNavItems;
|
|
|
12705
13009
|
value?: string;
|
|
12706
13010
|
}>, {}, {}, {}, {}, ComponentOptionsMixin, ComponentOptionsMixin, {
|
|
12707
13011
|
change: (category: string) => void;
|
|
12708
|
-
}, string, Readonly<ExtractPropTypes<
|
|
13012
|
+
}, string, Readonly<ExtractPropTypes<__VLS_TypePropsToRuntimeProps_25<{
|
|
12709
13013
|
/**
|
|
12710
13014
|
* An array containing all the items on the nav. The array can have either {@see BentoSecondaryNavItemsCategory },
|
|
12711
13015
|
* which is used to group different items or {@see BentoSecondaryNavItemsItem } if you don't need to group them.
|
|
@@ -12750,7 +13054,7 @@ export declare interface BentoSecondaryNavState {
|
|
|
12750
13054
|
* `
|
|
12751
13055
|
* }
|
|
12752
13056
|
*/
|
|
12753
|
-
export declare const BentoSegmentedControl: DefineComponent<
|
|
13057
|
+
export declare const BentoSegmentedControl: DefineComponent<__VLS_WithDefaults_25<__VLS_TypePropsToRuntimeProps_26<BentoSegmentedControlProps>, {
|
|
12754
13058
|
ariaLabel: any;
|
|
12755
13059
|
fullWidth: boolean;
|
|
12756
13060
|
wrap: boolean;
|
|
@@ -12759,7 +13063,7 @@ modelValue: any;
|
|
|
12759
13063
|
"update:model-value": (value: any) => void;
|
|
12760
13064
|
} & {
|
|
12761
13065
|
input: (value: BentoSegmentedControlValue) => void;
|
|
12762
|
-
}, string, Readonly<ExtractPropTypes<
|
|
13066
|
+
}, string, Readonly<ExtractPropTypes<__VLS_WithDefaults_25<__VLS_TypePropsToRuntimeProps_26<BentoSegmentedControlProps>, {
|
|
12763
13067
|
ariaLabel: any;
|
|
12764
13068
|
fullWidth: boolean;
|
|
12765
13069
|
wrap: boolean;
|
|
@@ -12880,6 +13184,10 @@ export declare interface BentoSelectFilterOptions {
|
|
|
12880
13184
|
*/
|
|
12881
13185
|
showMoreEvent?: () => void;
|
|
12882
13186
|
};
|
|
13187
|
+
/**
|
|
13188
|
+
* Toggles the loading state of the listbox.
|
|
13189
|
+
*/
|
|
13190
|
+
loading?: boolean;
|
|
12883
13191
|
/**
|
|
12884
13192
|
* Search options and events for the listbox filtering.
|
|
12885
13193
|
*/
|
|
@@ -12919,7 +13227,7 @@ export declare type BentoSelectFilterValue = BentoListboxSelectedValue;
|
|
|
12919
13227
|
* `
|
|
12920
13228
|
* }
|
|
12921
13229
|
*/
|
|
12922
|
-
export declare const BentoSelectionCard:
|
|
13230
|
+
export declare const BentoSelectionCard: __VLS_WithTemplateSlots_32<DefineComponent< {
|
|
12923
13231
|
/**
|
|
12924
13232
|
* The description of the selection card
|
|
12925
13233
|
*/
|
|
@@ -13112,7 +13420,7 @@ fullyClickable: boolean;
|
|
|
13112
13420
|
* `,
|
|
13113
13421
|
* }
|
|
13114
13422
|
*/
|
|
13115
|
-
export declare const BentoSelectionCardGroup:
|
|
13423
|
+
export declare const BentoSelectionCardGroup: __VLS_WithTemplateSlots_33<DefineComponent< {
|
|
13116
13424
|
/**
|
|
13117
13425
|
* Descriptive supporting text visbile underneath the label.
|
|
13118
13426
|
*/
|
|
@@ -13428,7 +13736,7 @@ export declare type BentoSelectTagFilterOptions = OmitStrict<BentoSelectFilterOp
|
|
|
13428
13736
|
* `
|
|
13429
13737
|
* }
|
|
13430
13738
|
*/
|
|
13431
|
-
export declare const BentoSidepanel:
|
|
13739
|
+
export declare const BentoSidepanel: __VLS_WithTemplateSlots_35<DefineComponent< {
|
|
13432
13740
|
/**
|
|
13433
13741
|
* The id of the current active page
|
|
13434
13742
|
* Should be the same id as the BentoSidepanelPage to be displayed
|
|
@@ -13556,7 +13864,7 @@ export declare enum BentoSidepanelEvent {
|
|
|
13556
13864
|
* `
|
|
13557
13865
|
* }
|
|
13558
13866
|
*/
|
|
13559
|
-
export declare const BentoSidepanelPage:
|
|
13867
|
+
export declare const BentoSidepanelPage: __VLS_WithTemplateSlots_34<DefineComponent< {
|
|
13560
13868
|
/**
|
|
13561
13869
|
* List of actions that will be used to render the buttons.
|
|
13562
13870
|
* First element in the list will be rendered as "primary".
|
|
@@ -13699,7 +14007,7 @@ destructiveActions: boolean;
|
|
|
13699
14007
|
* `
|
|
13700
14008
|
* }
|
|
13701
14009
|
*/
|
|
13702
|
-
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>>>, {}>, {
|
|
13703
14011
|
default: (_: {}) => any;
|
|
13704
14012
|
}>;
|
|
13705
14013
|
|
|
@@ -13744,7 +14052,7 @@ export declare enum BentoStatusVariant {
|
|
|
13744
14052
|
* `
|
|
13745
14053
|
* }
|
|
13746
14054
|
*/
|
|
13747
|
-
export declare const BentoStep:
|
|
14055
|
+
export declare const BentoStep: __VLS_WithTemplateSlots_38<DefineComponent< {
|
|
13748
14056
|
/**
|
|
13749
14057
|
* Completed status. Used on non-linear steppers to indicate if the step is completed.
|
|
13750
14058
|
*/
|
|
@@ -13801,7 +14109,7 @@ substepIndex: number;
|
|
|
13801
14109
|
* `
|
|
13802
14110
|
* }
|
|
13803
14111
|
*/
|
|
13804
|
-
export declare const BentoStepper:
|
|
14112
|
+
export declare const BentoStepper: __VLS_WithTemplateSlots_37<DefineComponent< {
|
|
13805
14113
|
/**
|
|
13806
14114
|
* Type of stepper; defines how the stepper should behave. Default: linear
|
|
13807
14115
|
* @values linear, non-linear
|
|
@@ -13908,7 +14216,7 @@ export declare enum BentoStepperVariantOption {
|
|
|
13908
14216
|
* `
|
|
13909
14217
|
* }
|
|
13910
14218
|
*/
|
|
13911
|
-
export declare const BentoStructuredList:
|
|
14219
|
+
export declare const BentoStructuredList: __VLS_WithTemplateSlots_39<DefineComponent<__VLS_WithDefaults_26<__VLS_TypePropsToRuntimeProps_28<{
|
|
13912
14220
|
/**
|
|
13913
14221
|
* Width of the labels container, in pixels. Overrides layout prop.
|
|
13914
14222
|
*/
|
|
@@ -13929,7 +14237,7 @@ layout?: BentoStructuredListLayoutOptions;
|
|
|
13929
14237
|
}>, {
|
|
13930
14238
|
labelsWidth: any;
|
|
13931
14239
|
layout: string;
|
|
13932
|
-
}>, {}, {}, {}, {}, ComponentOptionsMixin, ComponentOptionsMixin, {}, string, Readonly<ExtractPropTypes<
|
|
14240
|
+
}>, {}, {}, {}, {}, ComponentOptionsMixin, ComponentOptionsMixin, {}, string, Readonly<ExtractPropTypes<__VLS_WithDefaults_26<__VLS_TypePropsToRuntimeProps_28<{
|
|
13933
14241
|
/**
|
|
13934
14242
|
* Width of the labels container, in pixels. Overrides layout prop.
|
|
13935
14243
|
*/
|
|
@@ -13980,7 +14288,7 @@ labelsWidth: number;
|
|
|
13980
14288
|
* `
|
|
13981
14289
|
* }
|
|
13982
14290
|
*/
|
|
13983
|
-
export declare const BentoStructuredListItem:
|
|
14291
|
+
export declare const BentoStructuredListItem: __VLS_WithTemplateSlots_40<DefineComponent<__VLS_TypePropsToRuntimeProps_29<{
|
|
13984
14292
|
/**
|
|
13985
14293
|
* Label to display for the value
|
|
13986
14294
|
*/
|
|
@@ -14005,7 +14313,7 @@ searchTooltip?: string;
|
|
|
14005
14313
|
* Truncates the value of the item
|
|
14006
14314
|
*/
|
|
14007
14315
|
truncate?: boolean;
|
|
14008
|
-
}>, {}, {}, {}, {}, ComponentOptionsMixin, ComponentOptionsMixin, {}, string, Readonly<ExtractPropTypes<
|
|
14316
|
+
}>, {}, {}, {}, {}, ComponentOptionsMixin, ComponentOptionsMixin, {}, string, Readonly<ExtractPropTypes<__VLS_TypePropsToRuntimeProps_29<{
|
|
14009
14317
|
/**
|
|
14010
14318
|
* Label to display for the value
|
|
14011
14319
|
*/
|
|
@@ -14213,7 +14521,16 @@ type: PropType<BentoSummaryGridItemSize | `${BentoSummaryGridItemSize}`>;
|
|
|
14213
14521
|
default: BentoSummaryGridItemSize;
|
|
14214
14522
|
validator: (value: BentoSummaryGridItemSize) => boolean;
|
|
14215
14523
|
};
|
|
14216
|
-
|
|
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< {
|
|
14217
14534
|
/**
|
|
14218
14535
|
* Text to copy to the clipboard
|
|
14219
14536
|
*/
|
|
@@ -14301,6 +14618,13 @@ type: PropType<BentoSummaryGridItemSize | `${BentoSummaryGridItemSize}`>;
|
|
|
14301
14618
|
default: BentoSummaryGridItemSize;
|
|
14302
14619
|
validator: (value: BentoSummaryGridItemSize) => boolean;
|
|
14303
14620
|
};
|
|
14621
|
+
/**
|
|
14622
|
+
* Text showed in the info-icon tooltip on hover
|
|
14623
|
+
*/
|
|
14624
|
+
underlineTooltipText: {
|
|
14625
|
+
type: StringConstructor;
|
|
14626
|
+
default: any;
|
|
14627
|
+
};
|
|
14304
14628
|
}>>, {
|
|
14305
14629
|
copy: string;
|
|
14306
14630
|
size: "small" | "large" | "medium" | BentoSummaryGridItemSize;
|
|
@@ -14310,6 +14634,7 @@ trend: string;
|
|
|
14310
14634
|
trendDirection: "positive" | "negative" | "neutral" | BentoSummaryGridItemTrendDirection;
|
|
14311
14635
|
secondaryTrend: string;
|
|
14312
14636
|
secondaryTrendDirection: "positive" | "negative" | "neutral" | BentoSummaryGridItemTrendDirection;
|
|
14637
|
+
underlineTooltipText: string;
|
|
14313
14638
|
secondaryLabel: string;
|
|
14314
14639
|
secondaryMetric: string;
|
|
14315
14640
|
}>;
|
|
@@ -14358,7 +14683,16 @@ fitContent: {
|
|
|
14358
14683
|
type: BooleanConstructor;
|
|
14359
14684
|
default: boolean;
|
|
14360
14685
|
};
|
|
14361
|
-
|
|
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< {
|
|
14362
14696
|
/**
|
|
14363
14697
|
* Text to copy to the clipboard
|
|
14364
14698
|
*/
|
|
@@ -14387,10 +14721,18 @@ fitContent: {
|
|
|
14387
14721
|
type: BooleanConstructor;
|
|
14388
14722
|
default: boolean;
|
|
14389
14723
|
};
|
|
14724
|
+
/**
|
|
14725
|
+
* Text showed in the info-icon tooltip on hover
|
|
14726
|
+
*/
|
|
14727
|
+
underlineTooltipText: {
|
|
14728
|
+
type: StringConstructor;
|
|
14729
|
+
default: any;
|
|
14730
|
+
};
|
|
14390
14731
|
}>>, {
|
|
14391
14732
|
copy: string;
|
|
14392
14733
|
fitContent: boolean;
|
|
14393
14734
|
infoIconTooltipText: string;
|
|
14735
|
+
underlineTooltipText: string;
|
|
14394
14736
|
}>;
|
|
14395
14737
|
|
|
14396
14738
|
/**
|
|
@@ -14494,7 +14836,16 @@ type: PropType<BentoSummaryGridItemSize | `${BentoSummaryGridItemSize}`>;
|
|
|
14494
14836
|
default: BentoSummaryGridItemSize;
|
|
14495
14837
|
validator: (value: BentoSummaryGridItemSize) => boolean;
|
|
14496
14838
|
};
|
|
14497
|
-
|
|
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< {
|
|
14498
14849
|
/**
|
|
14499
14850
|
* Text to copy to the clipboard
|
|
14500
14851
|
*/
|
|
@@ -14575,6 +14926,13 @@ type: PropType<BentoSummaryGridItemSize | `${BentoSummaryGridItemSize}`>;
|
|
|
14575
14926
|
default: BentoSummaryGridItemSize;
|
|
14576
14927
|
validator: (value: BentoSummaryGridItemSize) => boolean;
|
|
14577
14928
|
};
|
|
14929
|
+
/**
|
|
14930
|
+
* Text showed in the info-icon tooltip on hover
|
|
14931
|
+
*/
|
|
14932
|
+
underlineTooltipText: {
|
|
14933
|
+
type: StringConstructor;
|
|
14934
|
+
default: any;
|
|
14935
|
+
};
|
|
14578
14936
|
}>>, {
|
|
14579
14937
|
copy: string;
|
|
14580
14938
|
size: "small" | "large" | "medium" | BentoSummaryGridItemSize;
|
|
@@ -14584,6 +14942,7 @@ trend: string;
|
|
|
14584
14942
|
trendDirection: "positive" | "negative" | "neutral" | BentoSummaryGridItemTrendDirection;
|
|
14585
14943
|
secondaryTrend: string;
|
|
14586
14944
|
secondaryTrendDirection: "positive" | "negative" | "neutral" | BentoSummaryGridItemTrendDirection;
|
|
14945
|
+
underlineTooltipText: string;
|
|
14587
14946
|
secondaryMetric: string;
|
|
14588
14947
|
}>;
|
|
14589
14948
|
|
|
@@ -14688,7 +15047,16 @@ type: PropType<BentoSummaryGridItemSize | `${BentoSummaryGridItemSize}`>;
|
|
|
14688
15047
|
default: BentoSummaryGridItemSize;
|
|
14689
15048
|
validator: (value: BentoSummaryGridItemSize) => boolean;
|
|
14690
15049
|
};
|
|
14691
|
-
|
|
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< {
|
|
14692
15060
|
/**
|
|
14693
15061
|
* Amount to be shown as the main value
|
|
14694
15062
|
*/
|
|
@@ -14769,6 +15137,13 @@ type: PropType<BentoSummaryGridItemSize | `${BentoSummaryGridItemSize}`>;
|
|
|
14769
15137
|
default: BentoSummaryGridItemSize;
|
|
14770
15138
|
validator: (value: BentoSummaryGridItemSize) => boolean;
|
|
14771
15139
|
};
|
|
15140
|
+
/**
|
|
15141
|
+
* Text showed in the info-icon tooltip on hover
|
|
15142
|
+
*/
|
|
15143
|
+
underlineTooltipText: {
|
|
15144
|
+
type: StringConstructor;
|
|
15145
|
+
default: any;
|
|
15146
|
+
};
|
|
14772
15147
|
}>>, {
|
|
14773
15148
|
copy: string;
|
|
14774
15149
|
size: "small" | "large" | "medium" | BentoSummaryGridItemSize;
|
|
@@ -14778,6 +15153,7 @@ trend: string;
|
|
|
14778
15153
|
trendDirection: "positive" | "negative" | "neutral" | BentoSummaryGridItemTrendDirection;
|
|
14779
15154
|
secondaryTrend: string;
|
|
14780
15155
|
secondaryTrendDirection: "positive" | "negative" | "neutral" | BentoSummaryGridItemTrendDirection;
|
|
15156
|
+
underlineTooltipText: string;
|
|
14781
15157
|
secondaryMetric: string;
|
|
14782
15158
|
}>;
|
|
14783
15159
|
|
|
@@ -14843,7 +15219,16 @@ fitContent: {
|
|
|
14843
15219
|
type: BooleanConstructor;
|
|
14844
15220
|
default: boolean;
|
|
14845
15221
|
};
|
|
14846
|
-
|
|
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< {
|
|
14847
15232
|
/**
|
|
14848
15233
|
* Text to copy to the clipboard
|
|
14849
15234
|
*/
|
|
@@ -14879,10 +15264,18 @@ fitContent: {
|
|
|
14879
15264
|
type: BooleanConstructor;
|
|
14880
15265
|
default: boolean;
|
|
14881
15266
|
};
|
|
15267
|
+
/**
|
|
15268
|
+
* Text showed in the info-icon tooltip on hover
|
|
15269
|
+
*/
|
|
15270
|
+
underlineTooltipText: {
|
|
15271
|
+
type: StringConstructor;
|
|
15272
|
+
default: any;
|
|
15273
|
+
};
|
|
14882
15274
|
}>>, {
|
|
14883
15275
|
copy: string;
|
|
14884
15276
|
fitContent: boolean;
|
|
14885
15277
|
infoIconTooltipText: string;
|
|
15278
|
+
underlineTooltipText: string;
|
|
14886
15279
|
}>;
|
|
14887
15280
|
|
|
14888
15281
|
/**
|
|
@@ -15033,11 +15426,11 @@ declare enum BentoTabsEvent {
|
|
|
15033
15426
|
ACTIVE_TAB_INDEX = "update:active-tab-index"
|
|
15034
15427
|
}
|
|
15035
15428
|
|
|
15036
|
-
export declare const BentoTag: DefineComponent<
|
|
15429
|
+
export declare const BentoTag: DefineComponent<__VLS_WithDefaults_23<__VLS_TypePropsToRuntimeProps_23<BentoTagProps>, {
|
|
15037
15430
|
label: any;
|
|
15038
15431
|
truncate: any;
|
|
15039
15432
|
variant: BentoTagVariant;
|
|
15040
|
-
}>, {}, {}, {}, {}, ComponentOptionsMixin, ComponentOptionsMixin, {}, string, Readonly<ExtractPropTypes<
|
|
15433
|
+
}>, {}, {}, {}, {}, ComponentOptionsMixin, ComponentOptionsMixin, {}, string, Readonly<ExtractPropTypes<__VLS_WithDefaults_23<__VLS_TypePropsToRuntimeProps_23<BentoTagProps>, {
|
|
15041
15434
|
label: any;
|
|
15042
15435
|
truncate: any;
|
|
15043
15436
|
variant: BentoTagVariant;
|
|
@@ -16174,7 +16567,7 @@ export declare interface BentoTutorialStep {
|
|
|
16174
16567
|
* `
|
|
16175
16568
|
* }
|
|
16176
16569
|
*/
|
|
16177
|
-
export declare const BentoTypography:
|
|
16570
|
+
export declare const BentoTypography: __VLS_WithTemplateSlots_41<DefineComponent<__VLS_WithDefaults_27<__VLS_TypePropsToRuntimeProps_30<{
|
|
16178
16571
|
/**
|
|
16179
16572
|
* Sets the HTML DOM element.
|
|
16180
16573
|
* @values h1, h2, h3, h4, h5, h6, div, p, span
|
|
@@ -16222,7 +16615,7 @@ stronger: boolean;
|
|
|
16222
16615
|
strongest: boolean;
|
|
16223
16616
|
variant: BentoTypographyVariant;
|
|
16224
16617
|
wide: boolean;
|
|
16225
|
-
}>, {}, {}, {}, {}, ComponentOptionsMixin, ComponentOptionsMixin, {}, string, Readonly<ExtractPropTypes<
|
|
16618
|
+
}>, {}, {}, {}, {}, ComponentOptionsMixin, ComponentOptionsMixin, {}, string, Readonly<ExtractPropTypes<__VLS_WithDefaults_27<__VLS_TypePropsToRuntimeProps_30<{
|
|
16226
16619
|
/**
|
|
16227
16620
|
* Sets the HTML DOM element.
|
|
16228
16621
|
* @values h1, h2, h3, h4, h5, h6, div, p, span
|
|
@@ -16406,6 +16799,7 @@ declare type Element_2 = HTMLElement & {
|
|
|
16406
16799
|
|
|
16407
16800
|
/**
|
|
16408
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.
|
|
16409
16803
|
*/
|
|
16410
16804
|
export declare type ErrorBag<T> = typeToFlattenedError<T, string>['fieldErrors'];
|
|
16411
16805
|
|
|
@@ -16735,8 +17129,10 @@ export declare interface ToastStack {
|
|
|
16735
17129
|
* This is meant to simulate the behavior of {@link @vee-validate/zod} {@see https://vee-validate.logaretm.com/v4/integrations/zod-schema-validation}.
|
|
16736
17130
|
* Function that transform Zod’s schemas into something that can be understood by vee-validate
|
|
16737
17131
|
*
|
|
16738
|
-
* @
|
|
16739
|
-
*
|
|
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
|
|
16740
17136
|
*/
|
|
16741
17137
|
export declare function toTypedSchema<T extends ZodSchema>(formSchema: T): T;
|
|
16742
17138
|
|
|
@@ -16804,6 +17200,7 @@ export declare const useCountryPhoneCode: (countryCode: MaybeRef<string>) => Com
|
|
|
16804
17200
|
|
|
16805
17201
|
/**
|
|
16806
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.
|
|
16807
17204
|
*/
|
|
16808
17205
|
export declare interface UseForm<T> {
|
|
16809
17206
|
validationSchema: T;
|
|
@@ -16820,14 +17217,16 @@ export declare interface UseForm<T> {
|
|
|
16820
17217
|
* with functions to "reset" the data (sets values to default value) and a function to execute the
|
|
16821
17218
|
* successful form validation process (through a callback).
|
|
16822
17219
|
*
|
|
16823
|
-
* @
|
|
16824
|
-
*
|
|
16825
|
-
* @
|
|
16826
|
-
* @
|
|
16827
|
-
* @returns
|
|
16828
|
-
* @returns
|
|
16829
|
-
* @returns
|
|
16830
|
-
* @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}.
|
|
16831
17230
|
* When the validation is successful it calls the callback so the submit process can continue
|
|
16832
17231
|
*
|
|
16833
17232
|
* @example
|