@adyen/bento-vue3 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.eo5EXYmg.js → action-bar.PIz6tShf.js} +4 -4
- package/dist/chunks/{action-bar.eo5EXYmg.js.map → action-bar.PIz6tShf.js.map} +1 -1
- package/dist/chunks/{base-modal.BlC6TZNz.js → base-modal.D4INiJGX.js} +3 -3
- package/dist/chunks/{base-modal.BlC6TZNz.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.DQaq1bkf.js → button-actions-with-menu.DFD7gbdT.js} +4 -4
- package/dist/chunks/{button-actions-with-menu.DQaq1bkf.js.map → button-actions-with-menu.DFD7gbdT.js.map} +1 -1
- package/dist/chunks/{calendar.D2X834TU.js → calendar.DKHNrb9_.js} +2 -2
- package/dist/chunks/{calendar.D2X834TU.js.map → calendar.DKHNrb9_.js.map} +1 -1
- package/dist/chunks/{checkbox-group.BVJfN48k.js → checkbox-group.X2fi2jkS.js} +4 -4
- package/dist/chunks/{checkbox-group.BVJfN48k.js.map → checkbox-group.X2fi2jkS.js.map} +1 -1
- package/dist/chunks/{checkbox.erdZ58Kk.js → checkbox.CXZQtFhM.js} +81 -74
- package/dist/chunks/checkbox.CXZQtFhM.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.Bb4_r0C8.js → code-snippet.CcdsPxT7.js} +5 -5
- package/dist/chunks/{code-snippet.Bb4_r0C8.js.map → code-snippet.CcdsPxT7.js.map} +1 -1
- package/dist/chunks/{controls-group.BaDhGB9H.js → controls-group.ClMNznTz.js} +2 -2
- package/dist/chunks/{controls-group.BaDhGB9H.js.map → controls-group.ClMNznTz.js.map} +1 -1
- package/dist/chunks/{copy.gmSTAqHY.js → copy.BYG9aoNO.js} +2 -2
- package/dist/chunks/{copy.gmSTAqHY.js.map → copy.BYG9aoNO.js.map} +1 -1
- package/dist/chunks/{dashboard-section.MAHmbUDG.js → dashboard-section.Dz9GpOvy.js} +3 -3
- package/dist/chunks/{dashboard-section.MAHmbUDG.js.map → dashboard-section.Dz9GpOvy.js.map} +1 -1
- package/dist/chunks/{dashed-underline.DY8xR9GH.js → dashed-underline.BuCIjMch.js} +11 -11
- package/dist/chunks/{dashed-underline.DY8xR9GH.js.map → dashed-underline.BuCIjMch.js.map} +1 -1
- package/dist/chunks/{data-grid-template.Dievz913.js → data-grid-template.B4jxtwoW.js} +2 -2
- package/dist/chunks/{data-grid-template.Dievz913.js.map → data-grid-template.B4jxtwoW.js.map} +1 -1
- package/dist/chunks/{data-grid.KZqjmRvk.js → data-grid.CLu8mvil.js} +29 -17
- package/dist/chunks/data-grid.CLu8mvil.js.map +1 -0
- package/dist/chunks/{date-picker.BWJYkSmo.js → date-picker.CA2i6QxD.js} +17 -17
- package/dist/chunks/{date-picker.BWJYkSmo.js.map → date-picker.CA2i6QxD.js.map} +1 -1
- package/dist/chunks/{date-range-picker.1Vbf9Zk8.js → date-range-picker.DVQ-j-JX.js} +25 -25
- package/dist/chunks/{date-range-picker.1Vbf9Zk8.js.map → date-range-picker.DVQ-j-JX.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.C9nM0YHC.js → dropdown-tag.DFWV7Zj_.js} +3 -3
- package/dist/chunks/{dropdown-tag.C9nM0YHC.js.map → dropdown-tag.DFWV7Zj_.js.map} +1 -1
- package/dist/chunks/{dropdown.qw5oXFYs.js → dropdown.RVt9T6j5.js} +115 -105
- package/dist/chunks/dropdown.RVt9T6j5.js.map +1 -0
- package/dist/chunks/{error-message.DAjisbU1.js → error-message.BQ5MlnLg.js} +2 -2
- package/dist/chunks/{error-message.DAjisbU1.js.map → error-message.BQ5MlnLg.js.map} +1 -1
- package/dist/chunks/es6.BtaxuP0b.js.map +1 -1
- package/dist/chunks/{file-uploader.BLJpDgAZ.js → file-uploader.DJLGEmtF.js} +464 -475
- package/dist/chunks/file-uploader.DJLGEmtF.js.map +1 -0
- package/dist/chunks/{filter-bar.DYrXBQDF.js → filter-bar.GGHRoo6O.js} +492 -486
- package/dist/chunks/filter-bar.GGHRoo6O.js.map +1 -0
- package/dist/chunks/{focus-trap.DMgm-9f7.js → focus-trap.D-HSKa_Q.js} +2 -2
- package/dist/chunks/{focus-trap.DMgm-9f7.js.map → focus-trap.D-HSKa_Q.js.map} +1 -1
- 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.BASKzNwu.js → header.CyTcPWF4.js} +3 -3
- package/dist/chunks/{header.BASKzNwu.js.map → header.CyTcPWF4.js.map} +1 -1
- package/dist/chunks/index.C5sL_d0I.js +386 -0
- package/dist/chunks/{index.CMGT-6mh.js.map → index.C5sL_d0I.js.map} +1 -1
- package/dist/chunks/{info-icon-with-popover.BJccyOFx.js → info-icon-with-popover.DgZh2mnN.js} +2 -2
- package/dist/chunks/{info-icon-with-popover.BJccyOFx.js.map → info-icon-with-popover.DgZh2mnN.js.map} +1 -1
- package/dist/chunks/{info-icon.L8AexnZg.js → info-icon.DxOAiUg4.js} +2 -2
- package/dist/chunks/{info-icon.L8AexnZg.js.map → info-icon.DxOAiUg4.js.map} +1 -1
- package/dist/chunks/{input-field-password.CZNUHo6s.js → input-field-password.BSJMbPHf.js} +94 -90
- package/dist/chunks/input-field-password.BSJMbPHf.js.map +1 -0
- package/dist/chunks/{input-field-phone-number.D1zlBh3R.js → input-field-phone-number.BtRMkC84.js} +3 -3
- package/dist/chunks/{input-field-phone-number.D1zlBh3R.js.map → input-field-phone-number.BtRMkC84.js.map} +1 -1
- package/dist/chunks/{input-field.DqMdqM2u.js → input-field.CRlXtS3z.js} +3 -3
- package/dist/chunks/{input-field.DqMdqM2u.js.map → input-field.CRlXtS3z.js.map} +1 -1
- package/dist/chunks/{inspector.types.Dwt3V80X.js → inspector.types.s0va--Nn.js} +3 -3
- package/dist/chunks/{inspector.types.Dwt3V80X.js.map → inspector.types.s0va--Nn.js.map} +1 -1
- package/dist/chunks/{layout-row.Drm_y8e3.js → layout-row.CwwbWO7s.js} +2 -2
- package/dist/chunks/{layout-row.Drm_y8e3.js.map → layout-row.CwwbWO7s.js.map} +1 -1
- package/dist/chunks/{listbox-option-tag.YSvtcy4P.js → listbox-option-tag.2k0hRv0z.js} +2 -2
- package/dist/chunks/{listbox-option-tag.YSvtcy4P.js.map → listbox-option-tag.2k0hRv0z.js.map} +1 -1
- package/dist/chunks/{menu.DfzP2nRU.js → menu.DBRBVdsd.js} +106 -105
- package/dist/chunks/menu.DBRBVdsd.js.map +1 -0
- package/dist/chunks/{modal-fullscreen.T1x_vroe.js → modal-fullscreen.POY-6qYC.js} +2 -2
- package/dist/chunks/{modal-fullscreen.T1x_vroe.js.map → modal-fullscreen.POY-6qYC.js.map} +1 -1
- package/dist/chunks/{modal.vue_vue_type_script_setup_true_lang.BAuxqA66.js → modal.vue_vue_type_script_setup_true_lang.CGV0E6eK.js} +2 -2
- package/dist/chunks/{modal.vue_vue_type_script_setup_true_lang.BAuxqA66.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.Bt8DNme-.js → pagination.TWtayPVy.js} +2 -2
- package/dist/chunks/{pagination.Bt8DNme-.js.map → pagination.TWtayPVy.js.map} +1 -1
- package/dist/chunks/{popover.COzLcAET.js → popover.BBnUL5Y_.js} +2 -2
- package/dist/chunks/{popover.COzLcAET.js.map → popover.BBnUL5Y_.js.map} +1 -1
- package/dist/chunks/{popper-container.CEtaux25.js → popper-container.Be3h7X17.js} +2 -2
- package/dist/chunks/{popper-container.CEtaux25.js.map → popper-container.Be3h7X17.js.map} +1 -1
- package/dist/chunks/{promo-banner.BCpw2tDD.js → promo-banner.BdaUFMsl.js} +2 -2
- package/dist/chunks/{promo-banner.BCpw2tDD.js.map → promo-banner.BdaUFMsl.js.map} +1 -1
- package/dist/chunks/{radio-group.rxg-4rF_.js → radio-group.BUazlUAi.js} +4 -4
- package/dist/chunks/{radio-group.rxg-4rF_.js.map → radio-group.BUazlUAi.js.map} +1 -1
- package/dist/chunks/{search-bar.DlihXfPt.js → search-bar.21CWuOHb.js} +3 -3
- package/dist/chunks/{search-bar.DlihXfPt.js.map → search-bar.21CWuOHb.js.map} +1 -1
- package/dist/chunks/{secondary-nav.D2loVonk.js → secondary-nav.CUQi4Ybt.js} +3 -3
- package/dist/chunks/{secondary-nav.D2loVonk.js.map → secondary-nav.CUQi4Ybt.js.map} +1 -1
- package/dist/chunks/{segmented-control.Wn-miTIl.js → segmented-control.BZJ9DzRF.js} +2 -2
- package/dist/chunks/{segmented-control.Wn-miTIl.js.map → segmented-control.BZJ9DzRF.js.map} +1 -1
- package/dist/chunks/{selection-card-group.CtQaeZFM.js → selection-card-group.Bdrx1b6M.js} +4 -4
- package/dist/chunks/{selection-card-group.CtQaeZFM.js.map → selection-card-group.Bdrx1b6M.js.map} +1 -1
- package/dist/chunks/{sidepanel.CjaHQEin.js → sidepanel.D_bGUcyi.js} +3 -3
- package/dist/chunks/{sidepanel.CjaHQEin.js.map → sidepanel.D_bGUcyi.js.map} +1 -1
- package/dist/chunks/{structured-list-item.DAwADFpI.js → structured-list-item.r1jYiX6Y.js} +4 -4
- package/dist/chunks/{structured-list-item.DAwADFpI.js.map → structured-list-item.r1jYiX6Y.js.map} +1 -1
- package/dist/chunks/{summary-grid-item-custom.DTCzOBBy.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.B1hW92hG.js → tag.DVkBzXMx.js} +2 -2
- package/dist/chunks/{tag.B1hW92hG.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.DMA29yQA.js → textarea.C8R71Q4l.js} +2 -2
- package/dist/chunks/{textarea.DMA29yQA.js.map → textarea.C8R71Q4l.js.map} +1 -1
- package/dist/chunks/{timeline-item.kWg3dTy1.js → timeline-item.DBeAlt3N.js} +4 -4
- package/dist/chunks/{timeline-item.kWg3dTy1.js.map → timeline-item.DBeAlt3N.js.map} +1 -1
- package/dist/chunks/{tooltip.Y730-n-n.js → tooltip.Cbs_YIap.js} +2 -2
- package/dist/chunks/{tooltip.Y730-n-n.js.map → tooltip.Cbs_YIap.js.map} +1 -1
- package/dist/chunks/{tutorial.vue_vue_type_script_setup_true_lang.CUmJbMsw.js → tutorial.vue_vue_type_script_setup_true_lang.4smMvopK.js} +4 -4
- package/dist/chunks/{tutorial.vue_vue_type_script_setup_true_lang.CUmJbMsw.js.map → tutorial.vue_vue_type_script_setup_true_lang.4smMvopK.js.map} +1 -1
- package/dist/chunks/{use-cached-selected-values.DDP7LJoI.js → use-cached-selected-values.Chb18cq_.js} +145 -136
- package/dist/chunks/{use-cached-selected-values.DDP7LJoI.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/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 +196 -194
- 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 +1 -1
- package/package.json +7 -6
- package/dist/chunks/checkbox.erdZ58Kk.js.map +0 -1
- package/dist/chunks/data-grid.KZqjmRvk.js.map +0 -1
- package/dist/chunks/dropdown.qw5oXFYs.js.map +0 -1
- package/dist/chunks/file-uploader.BLJpDgAZ.js.map +0 -1
- package/dist/chunks/filter-bar.DYrXBQDF.js.map +0 -1
- package/dist/chunks/index.CMGT-6mh.js +0 -369
- package/dist/chunks/input-field-password.CZNUHo6s.js.map +0 -1
- package/dist/chunks/menu.DfzP2nRU.js.map +0 -1
- package/dist/chunks/summary-grid-item-custom.DTCzOBBy.js.map +0 -1
package/dist/@types/index.d.ts
CHANGED
|
@@ -75,6 +75,8 @@ declare type __VLS_NonUndefinedable_30<T> = T extends undefined ? never : T;
|
|
|
75
75
|
|
|
76
76
|
declare type __VLS_NonUndefinedable_31<T> = T extends undefined ? never : T;
|
|
77
77
|
|
|
78
|
+
declare type __VLS_NonUndefinedable_32<T> = T extends undefined ? never : T;
|
|
79
|
+
|
|
78
80
|
declare type __VLS_NonUndefinedable_4<T> = T extends undefined ? never : T;
|
|
79
81
|
|
|
80
82
|
declare type __VLS_NonUndefinedable_5<T> = T extends undefined ? never : T;
|
|
@@ -312,6 +314,15 @@ declare type __VLS_TypePropsToRuntimeProps_31<T> = {
|
|
|
312
314
|
};
|
|
313
315
|
};
|
|
314
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
|
+
|
|
315
326
|
declare type __VLS_TypePropsToRuntimeProps_4<T> = {
|
|
316
327
|
[K in keyof T]-?: {} extends Pick<T, K> ? {
|
|
317
328
|
type: PropType<__VLS_NonUndefinedable_4<T[K]>>;
|
|
@@ -492,6 +503,12 @@ declare type __VLS_WithDefaults_28<P, D> = {
|
|
|
492
503
|
} : P[K];
|
|
493
504
|
};
|
|
494
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
|
+
|
|
495
512
|
declare type __VLS_WithDefaults_3<P, D> = {
|
|
496
513
|
[K in keyof Pick<P, keyof P>]: K extends keyof D ? P[K] & {
|
|
497
514
|
default: D[K];
|
|
@@ -762,6 +779,12 @@ declare type __VLS_WithTemplateSlots_43<T, S> = T & {
|
|
|
762
779
|
};
|
|
763
780
|
};
|
|
764
781
|
|
|
782
|
+
declare type __VLS_WithTemplateSlots_44<T, S> = T & {
|
|
783
|
+
new (): {
|
|
784
|
+
$slots: S;
|
|
785
|
+
};
|
|
786
|
+
};
|
|
787
|
+
|
|
765
788
|
declare type __VLS_WithTemplateSlots_5<T, S> = T & {
|
|
766
789
|
new (): {
|
|
767
790
|
$slots: S;
|
|
@@ -794,6 +817,7 @@ declare type __VLS_WithTemplateSlots_9<T, S> = T & {
|
|
|
794
817
|
|
|
795
818
|
/**
|
|
796
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.
|
|
797
821
|
*/
|
|
798
822
|
export declare type allKeys<T> = T extends any ? keyof T : never;
|
|
799
823
|
|
|
@@ -3330,7 +3354,7 @@ export declare interface BentoCurrencyProps {
|
|
|
3330
3354
|
* `
|
|
3331
3355
|
* }
|
|
3332
3356
|
*/
|
|
3333
|
-
export declare const BentoDashboardSection:
|
|
3357
|
+
export declare const BentoDashboardSection: __VLS_WithTemplateSlots_43<DefineComponent<__VLS_WithDefaults_29<__VLS_TypePropsToRuntimeProps_32<{
|
|
3334
3358
|
/**
|
|
3335
3359
|
* The header of the section
|
|
3336
3360
|
*/
|
|
@@ -3341,7 +3365,7 @@ header: BentoDashboardTemplateHeader;
|
|
|
3341
3365
|
halfWidth?: boolean;
|
|
3342
3366
|
}>, {
|
|
3343
3367
|
halfWidth: boolean;
|
|
3344
|
-
}>, {}, {}, {}, {}, ComponentOptionsMixin, ComponentOptionsMixin, {}, string, Readonly<ExtractPropTypes<
|
|
3368
|
+
}>, {}, {}, {}, {}, ComponentOptionsMixin, ComponentOptionsMixin, {}, string, Readonly<ExtractPropTypes<__VLS_WithDefaults_29<__VLS_TypePropsToRuntimeProps_32<{
|
|
3345
3369
|
/**
|
|
3346
3370
|
* The header of the section
|
|
3347
3371
|
*/
|
|
@@ -3389,7 +3413,7 @@ halfWidth: boolean;
|
|
|
3389
3413
|
* `
|
|
3390
3414
|
* }
|
|
3391
3415
|
*/
|
|
3392
|
-
export declare const BentoDashboardTemplate:
|
|
3416
|
+
export declare const BentoDashboardTemplate: __VLS_WithTemplateSlots_42<DefineComponent<__VLS_WithDefaults_28<__VLS_TypePropsToRuntimeProps_31<{
|
|
3393
3417
|
/**
|
|
3394
3418
|
* The header that goes to the top of the template
|
|
3395
3419
|
*/
|
|
@@ -3412,7 +3436,7 @@ stickyFilters?: boolean;
|
|
|
3412
3436
|
tabs: any;
|
|
3413
3437
|
stickyTabs: boolean;
|
|
3414
3438
|
stickyFilters: boolean;
|
|
3415
|
-
}>, {}, {}, {}, {}, ComponentOptionsMixin, ComponentOptionsMixin, {}, string, Readonly<ExtractPropTypes<
|
|
3439
|
+
}>, {}, {}, {}, {}, ComponentOptionsMixin, ComponentOptionsMixin, {}, string, Readonly<ExtractPropTypes<__VLS_WithDefaults_28<__VLS_TypePropsToRuntimeProps_31<{
|
|
3416
3440
|
/**
|
|
3417
3441
|
* The header that goes to the top of the template
|
|
3418
3442
|
*/
|
|
@@ -3628,6 +3652,14 @@ type: PropType<BentoFilterValues>;
|
|
|
3628
3652
|
default: () => any[];
|
|
3629
3653
|
};
|
|
3630
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
|
+
/**
|
|
3631
3663
|
* Filter bar search term useful to filter all the data by text
|
|
3632
3664
|
*/
|
|
3633
3665
|
filterSearchTerm: {
|
|
@@ -3894,6 +3926,14 @@ type: PropType<BentoFilterValues>;
|
|
|
3894
3926
|
default: () => any[];
|
|
3895
3927
|
};
|
|
3896
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
|
+
/**
|
|
3897
3937
|
* Filter bar search term useful to filter all the data by text
|
|
3898
3938
|
*/
|
|
3899
3939
|
filterSearchTerm: {
|
|
@@ -4104,6 +4144,7 @@ filterValues: BentoFilterValues;
|
|
|
4104
4144
|
allowColumnDragAndDrop: boolean;
|
|
4105
4145
|
bulkActions: BentoButtonActionsList;
|
|
4106
4146
|
columnPanel: boolean;
|
|
4147
|
+
filterSearchConfig: BentoFilterBarSearchBarProps;
|
|
4107
4148
|
filterSearchTerm: string;
|
|
4108
4149
|
noSpacingTop: boolean;
|
|
4109
4150
|
stickyHorizontalScrollbar: boolean;
|
|
@@ -4269,7 +4310,7 @@ export declare enum BentoDatagridStyleState {
|
|
|
4269
4310
|
* `
|
|
4270
4311
|
* }
|
|
4271
4312
|
*/
|
|
4272
|
-
export declare const BentoDataGridTemplate:
|
|
4313
|
+
export declare const BentoDataGridTemplate: __VLS_WithTemplateSlots_44<DefineComponent< {
|
|
4273
4314
|
/**
|
|
4274
4315
|
* The header that goes to the top of the template
|
|
4275
4316
|
*/
|
|
@@ -4419,6 +4460,7 @@ format: "d" | "LLL" | "EEEE" | "h:mm aa" | "H:mm" | "h:mm:ss aa" | "H:mm:ss" | "
|
|
|
4419
4460
|
export declare interface BentoDateFilterOptions {
|
|
4420
4461
|
firstDayOfWeek?: CalendarMonthFirstDayOfWeek;
|
|
4421
4462
|
isDateDisabled?: CalendarMonthIsDateDisabled;
|
|
4463
|
+
variant?: `${CalendarVariant}`;
|
|
4422
4464
|
}
|
|
4423
4465
|
|
|
4424
4466
|
export declare type BentoDateFilterValue = Date | null;
|
|
@@ -4747,6 +4789,7 @@ export declare interface BentoDateRangeFilterOptions {
|
|
|
4747
4789
|
numberOfMonths?: number;
|
|
4748
4790
|
showEndDateOnOpen?: boolean;
|
|
4749
4791
|
quickSelectRanges?: DateRangePickerCalendarRangeSelectorItems | boolean;
|
|
4792
|
+
variant?: `${CalendarVariant}`;
|
|
4750
4793
|
}
|
|
4751
4794
|
|
|
4752
4795
|
export declare type BentoDateRangeFilterValue = BentoDateRangePickerValue | null;
|
|
@@ -4982,7 +5025,7 @@ onEnterPressedOverInput: () => void;
|
|
|
4982
5025
|
onDateRangePickerInput: (selectedRange: BentoDateRangePickerValue) => void;
|
|
4983
5026
|
onDateRangePickerError: (dateTextInput: any) => void;
|
|
4984
5027
|
onDateRangePickerFormDateInputUpdate: (dateFormDate: DateRangePickerCalendarFormData) => void;
|
|
4985
|
-
t: (key: "cancel" | "apply" | "
|
|
5028
|
+
t: (key: "cancel" | "apply" | "selectDate" | "provideDateInAFormat" | "selectDateRange" | "selectedDateIsNotAvailable" | "dateRangePicker", values?: default_2.Values) => string;
|
|
4986
5029
|
}, {}, {}, {}, ComponentOptionsMixin, ComponentOptionsMixin, BentoDateRangePickerEvent[], string, Readonly<ExtractPropTypes< {
|
|
4987
5030
|
/**
|
|
4988
5031
|
* Allows user to enter time values in the form
|
|
@@ -5351,13 +5394,20 @@ type: StringConstructor;
|
|
|
5351
5394
|
default: any;
|
|
5352
5395
|
};
|
|
5353
5396
|
/**
|
|
5354
|
-
* Indicates if new options are loading.
|
|
5397
|
+
* Indicates if new options are lazy loading.
|
|
5355
5398
|
*/
|
|
5356
5399
|
loading: {
|
|
5357
5400
|
type: BooleanConstructor;
|
|
5358
5401
|
default: boolean;
|
|
5359
5402
|
};
|
|
5360
5403
|
/**
|
|
5404
|
+
* Indicates that dropdown items are loading
|
|
5405
|
+
*/
|
|
5406
|
+
componentLoading: {
|
|
5407
|
+
type: BooleanConstructor;
|
|
5408
|
+
default: boolean;
|
|
5409
|
+
};
|
|
5410
|
+
/**
|
|
5361
5411
|
* The type of `Lazy Load`.
|
|
5362
5412
|
* Type "automatic" will enable infinite scrolling
|
|
5363
5413
|
* Type "button" will enable lazy loading with "Show more" button
|
|
@@ -5456,7 +5506,7 @@ default: boolean;
|
|
|
5456
5506
|
}, {
|
|
5457
5507
|
focus: () => void;
|
|
5458
5508
|
}, {}, {}, {}, ComponentOptionsMixin, ComponentOptionsMixin, {
|
|
5459
|
-
input: (selectedValue:
|
|
5509
|
+
input: (selectedValue: any) => void;
|
|
5460
5510
|
} & {
|
|
5461
5511
|
"show-more": () => void;
|
|
5462
5512
|
}, string, Readonly<ExtractPropTypes< {
|
|
@@ -5559,13 +5609,20 @@ type: StringConstructor;
|
|
|
5559
5609
|
default: any;
|
|
5560
5610
|
};
|
|
5561
5611
|
/**
|
|
5562
|
-
* Indicates if new options are loading.
|
|
5612
|
+
* Indicates if new options are lazy loading.
|
|
5563
5613
|
*/
|
|
5564
5614
|
loading: {
|
|
5565
5615
|
type: BooleanConstructor;
|
|
5566
5616
|
default: boolean;
|
|
5567
5617
|
};
|
|
5568
5618
|
/**
|
|
5619
|
+
* Indicates that dropdown items are loading
|
|
5620
|
+
*/
|
|
5621
|
+
componentLoading: {
|
|
5622
|
+
type: BooleanConstructor;
|
|
5623
|
+
default: boolean;
|
|
5624
|
+
};
|
|
5625
|
+
/**
|
|
5569
5626
|
* The type of `Lazy Load`.
|
|
5570
5627
|
* Type "automatic" will enable infinite scrolling
|
|
5571
5628
|
* Type "button" will enable lazy loading with "Show more" button
|
|
@@ -5684,6 +5741,7 @@ staticCategories: boolean;
|
|
|
5684
5741
|
hasMoreItems: boolean;
|
|
5685
5742
|
lazyLoadType: "button" | "none" | "automatic" | BentoListboxLazyLoadType;
|
|
5686
5743
|
emptyState: BentoListboxEmptyStateProps;
|
|
5744
|
+
componentLoading: boolean;
|
|
5687
5745
|
virtualScroll: BentoListboxVirtulisationOptions;
|
|
5688
5746
|
dynamicFiltering: boolean;
|
|
5689
5747
|
showSlotContentInMultiple: boolean;
|
|
@@ -5780,6 +5838,10 @@ loading: {
|
|
|
5780
5838
|
type: BooleanConstructor;
|
|
5781
5839
|
default: boolean;
|
|
5782
5840
|
};
|
|
5841
|
+
componentLoading: {
|
|
5842
|
+
type: BooleanConstructor;
|
|
5843
|
+
default: boolean;
|
|
5844
|
+
};
|
|
5783
5845
|
lazyLoadType: {
|
|
5784
5846
|
type: PropType<BentoListboxLazyLoadType | `${BentoListboxLazyLoadType}`>;
|
|
5785
5847
|
default: BentoListboxLazyLoadType;
|
|
@@ -5896,6 +5958,10 @@ loading: {
|
|
|
5896
5958
|
type: BooleanConstructor;
|
|
5897
5959
|
default: boolean;
|
|
5898
5960
|
};
|
|
5961
|
+
componentLoading: {
|
|
5962
|
+
type: BooleanConstructor;
|
|
5963
|
+
default: boolean;
|
|
5964
|
+
};
|
|
5899
5965
|
lazyLoadType: {
|
|
5900
5966
|
type: PropType<BentoListboxLazyLoadType | `${BentoListboxLazyLoadType}`>;
|
|
5901
5967
|
default: BentoListboxLazyLoadType;
|
|
@@ -5973,6 +6039,7 @@ staticCategories: boolean;
|
|
|
5973
6039
|
hasMoreItems: boolean;
|
|
5974
6040
|
lazyLoadType: "button" | "none" | "automatic" | BentoListboxLazyLoadType;
|
|
5975
6041
|
emptyState: BentoListboxEmptyStateProps;
|
|
6042
|
+
componentLoading: boolean;
|
|
5976
6043
|
virtualScroll: BentoListboxVirtulisationOptions;
|
|
5977
6044
|
dynamicFiltering: boolean;
|
|
5978
6045
|
showSlotContentInMultiple: boolean;
|
|
@@ -6075,6 +6142,10 @@ loading: {
|
|
|
6075
6142
|
type: BooleanConstructor;
|
|
6076
6143
|
default: boolean;
|
|
6077
6144
|
};
|
|
6145
|
+
componentLoading: {
|
|
6146
|
+
type: BooleanConstructor;
|
|
6147
|
+
default: boolean;
|
|
6148
|
+
};
|
|
6078
6149
|
lazyLoadType: {
|
|
6079
6150
|
type: PropType<BentoListboxLazyLoadType | `${BentoListboxLazyLoadType}`>;
|
|
6080
6151
|
default: BentoListboxLazyLoadType;
|
|
@@ -6199,6 +6270,10 @@ loading: {
|
|
|
6199
6270
|
type: BooleanConstructor;
|
|
6200
6271
|
default: boolean;
|
|
6201
6272
|
};
|
|
6273
|
+
componentLoading: {
|
|
6274
|
+
type: BooleanConstructor;
|
|
6275
|
+
default: boolean;
|
|
6276
|
+
};
|
|
6202
6277
|
lazyLoadType: {
|
|
6203
6278
|
type: PropType<BentoListboxLazyLoadType | `${BentoListboxLazyLoadType}`>;
|
|
6204
6279
|
default: BentoListboxLazyLoadType;
|
|
@@ -6277,6 +6352,7 @@ staticCategories: boolean;
|
|
|
6277
6352
|
hasMoreItems: boolean;
|
|
6278
6353
|
lazyLoadType: "button" | "none" | "automatic" | BentoListboxLazyLoadType;
|
|
6279
6354
|
emptyState: BentoListboxEmptyStateProps;
|
|
6355
|
+
componentLoading: boolean;
|
|
6280
6356
|
virtualScroll: BentoListboxVirtulisationOptions;
|
|
6281
6357
|
dynamicFiltering: boolean;
|
|
6282
6358
|
showSlotContentInMultiple: boolean;
|
|
@@ -6370,6 +6446,10 @@ loading: {
|
|
|
6370
6446
|
type: BooleanConstructor;
|
|
6371
6447
|
default: boolean;
|
|
6372
6448
|
};
|
|
6449
|
+
componentLoading: {
|
|
6450
|
+
type: BooleanConstructor;
|
|
6451
|
+
default: boolean;
|
|
6452
|
+
};
|
|
6373
6453
|
lazyLoadType: {
|
|
6374
6454
|
type: PropType<BentoListboxLazyLoadType | `${BentoListboxLazyLoadType}`>;
|
|
6375
6455
|
default: BentoListboxLazyLoadType;
|
|
@@ -6485,6 +6565,10 @@ loading: {
|
|
|
6485
6565
|
type: BooleanConstructor;
|
|
6486
6566
|
default: boolean;
|
|
6487
6567
|
};
|
|
6568
|
+
componentLoading: {
|
|
6569
|
+
type: BooleanConstructor;
|
|
6570
|
+
default: boolean;
|
|
6571
|
+
};
|
|
6488
6572
|
lazyLoadType: {
|
|
6489
6573
|
type: PropType<BentoListboxLazyLoadType | `${BentoListboxLazyLoadType}`>;
|
|
6490
6574
|
default: BentoListboxLazyLoadType;
|
|
@@ -6562,6 +6646,7 @@ staticCategories: boolean;
|
|
|
6562
6646
|
hasMoreItems: boolean;
|
|
6563
6647
|
lazyLoadType: "button" | "none" | "automatic" | BentoListboxLazyLoadType;
|
|
6564
6648
|
emptyState: BentoListboxEmptyStateProps;
|
|
6649
|
+
componentLoading: boolean;
|
|
6565
6650
|
virtualScroll: BentoListboxVirtulisationOptions;
|
|
6566
6651
|
dynamicFiltering: boolean;
|
|
6567
6652
|
showSlotContentInMultiple: boolean;
|
|
@@ -6655,6 +6740,10 @@ loading: {
|
|
|
6655
6740
|
type: BooleanConstructor;
|
|
6656
6741
|
default: boolean;
|
|
6657
6742
|
};
|
|
6743
|
+
componentLoading: {
|
|
6744
|
+
type: BooleanConstructor;
|
|
6745
|
+
default: boolean;
|
|
6746
|
+
};
|
|
6658
6747
|
lazyLoadType: {
|
|
6659
6748
|
type: PropType<BentoListboxLazyLoadType | `${BentoListboxLazyLoadType}`>;
|
|
6660
6749
|
default: BentoListboxLazyLoadType;
|
|
@@ -6770,6 +6859,10 @@ loading: {
|
|
|
6770
6859
|
type: BooleanConstructor;
|
|
6771
6860
|
default: boolean;
|
|
6772
6861
|
};
|
|
6862
|
+
componentLoading: {
|
|
6863
|
+
type: BooleanConstructor;
|
|
6864
|
+
default: boolean;
|
|
6865
|
+
};
|
|
6773
6866
|
lazyLoadType: {
|
|
6774
6867
|
type: PropType<BentoListboxLazyLoadType | `${BentoListboxLazyLoadType}`>;
|
|
6775
6868
|
default: BentoListboxLazyLoadType;
|
|
@@ -6847,6 +6940,7 @@ staticCategories: boolean;
|
|
|
6847
6940
|
hasMoreItems: boolean;
|
|
6848
6941
|
lazyLoadType: "button" | "none" | "automatic" | BentoListboxLazyLoadType;
|
|
6849
6942
|
emptyState: BentoListboxEmptyStateProps;
|
|
6943
|
+
componentLoading: boolean;
|
|
6850
6944
|
virtualScroll: BentoListboxVirtulisationOptions;
|
|
6851
6945
|
dynamicFiltering: boolean;
|
|
6852
6946
|
showSlotContentInMultiple: boolean;
|
|
@@ -6955,6 +7049,10 @@ loading: {
|
|
|
6955
7049
|
type: BooleanConstructor;
|
|
6956
7050
|
default: boolean;
|
|
6957
7051
|
};
|
|
7052
|
+
componentLoading: {
|
|
7053
|
+
type: BooleanConstructor;
|
|
7054
|
+
default: boolean;
|
|
7055
|
+
};
|
|
6958
7056
|
lazyLoadType: {
|
|
6959
7057
|
type: PropType<BentoListboxLazyLoadType | `${BentoListboxLazyLoadType}`>;
|
|
6960
7058
|
default: BentoListboxLazyLoadType;
|
|
@@ -7071,6 +7169,10 @@ loading: {
|
|
|
7071
7169
|
type: BooleanConstructor;
|
|
7072
7170
|
default: boolean;
|
|
7073
7171
|
};
|
|
7172
|
+
componentLoading: {
|
|
7173
|
+
type: BooleanConstructor;
|
|
7174
|
+
default: boolean;
|
|
7175
|
+
};
|
|
7074
7176
|
lazyLoadType: {
|
|
7075
7177
|
type: PropType<BentoListboxLazyLoadType | `${BentoListboxLazyLoadType}`>;
|
|
7076
7178
|
default: BentoListboxLazyLoadType;
|
|
@@ -7148,6 +7250,7 @@ staticCategories: boolean;
|
|
|
7148
7250
|
hasMoreItems: boolean;
|
|
7149
7251
|
lazyLoadType: "button" | "none" | "automatic" | BentoListboxLazyLoadType;
|
|
7150
7252
|
emptyState: BentoListboxEmptyStateProps;
|
|
7253
|
+
componentLoading: boolean;
|
|
7151
7254
|
virtualScroll: BentoListboxVirtulisationOptions;
|
|
7152
7255
|
dynamicFiltering: boolean;
|
|
7153
7256
|
showSlotContentInMultiple: boolean;
|
|
@@ -7433,7 +7536,7 @@ export declare interface BentoFileUploaderProps {
|
|
|
7433
7536
|
*/
|
|
7434
7537
|
maxSize?: number;
|
|
7435
7538
|
/**
|
|
7436
|
-
* Used to support `v-model`.
|
|
7539
|
+
* Used to support `v-model`. Can be used to set value of FileUploader if FileList
|
|
7437
7540
|
*/
|
|
7438
7541
|
modelValue?: BentoFileUploaderValue;
|
|
7439
7542
|
/**
|
|
@@ -7450,7 +7553,7 @@ export declare interface BentoFileUploaderProps {
|
|
|
7450
7553
|
tooltipText?: string;
|
|
7451
7554
|
}
|
|
7452
7555
|
|
|
7453
|
-
export declare type BentoFileUploaderValue = string | Array<string> | File | Array<File
|
|
7556
|
+
export declare type BentoFileUploaderValue = string | Array<string> | File | Array<File> | FileList;
|
|
7454
7557
|
|
|
7455
7558
|
/**
|
|
7456
7559
|
* The filter bar filters item lists and tables according to various filter criteria.
|
|
@@ -8056,6 +8159,199 @@ declare enum BentoHeaderVariant {
|
|
|
8056
8159
|
COMPONENT = "component"
|
|
8057
8160
|
}
|
|
8058
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
|
+
|
|
8059
8355
|
/**
|
|
8060
8356
|
* Image component used for resizing images to certain aspect ratios and fit strategies.
|
|
8061
8357
|
*
|
|
@@ -8075,10 +8371,10 @@ declare enum BentoHeaderVariant {
|
|
|
8075
8371
|
* `
|
|
8076
8372
|
* }
|
|
8077
8373
|
*/
|
|
8078
|
-
export declare const BentoImage: DefineComponent<
|
|
8374
|
+
export declare const BentoImage: DefineComponent<__VLS_WithDefaults_13<__VLS_TypePropsToRuntimeProps_13<BentoImageProps>, {
|
|
8079
8375
|
aspectRatio: any;
|
|
8080
8376
|
objectFit: any;
|
|
8081
|
-
}>, {}, {}, {}, {}, ComponentOptionsMixin, ComponentOptionsMixin, {}, string, Readonly<ExtractPropTypes<
|
|
8377
|
+
}>, {}, {}, {}, {}, ComponentOptionsMixin, ComponentOptionsMixin, {}, string, Readonly<ExtractPropTypes<__VLS_WithDefaults_13<__VLS_TypePropsToRuntimeProps_13<BentoImageProps>, {
|
|
8082
8378
|
aspectRatio: any;
|
|
8083
8379
|
objectFit: any;
|
|
8084
8380
|
}>>>, {
|
|
@@ -8193,7 +8489,7 @@ export declare type BentoInputDropdownProps = {
|
|
|
8193
8489
|
* >
|
|
8194
8490
|
* }
|
|
8195
8491
|
*/
|
|
8196
|
-
export declare const BentoInputField:
|
|
8492
|
+
export declare const BentoInputField: __VLS_WithTemplateSlots_18<DefineComponent<__VLS_WithDefaults_14<__VLS_TypePropsToRuntimeProps_14<BentoInputFieldProps>, {
|
|
8197
8493
|
ariaHidden: boolean;
|
|
8198
8494
|
ariaLabel: any;
|
|
8199
8495
|
condensed: boolean;
|
|
@@ -8234,7 +8530,7 @@ keydown: (event: KeyboardEvent) => void;
|
|
|
8234
8530
|
keyup: (event: KeyboardEvent) => void;
|
|
8235
8531
|
} & {
|
|
8236
8532
|
input: (inputValue: string) => void;
|
|
8237
|
-
}, string, Readonly<ExtractPropTypes<
|
|
8533
|
+
}, string, Readonly<ExtractPropTypes<__VLS_WithDefaults_14<__VLS_TypePropsToRuntimeProps_14<BentoInputFieldProps>, {
|
|
8238
8534
|
ariaHidden: boolean;
|
|
8239
8535
|
ariaLabel: any;
|
|
8240
8536
|
condensed: boolean;
|
|
@@ -8346,9 +8642,10 @@ export declare enum BentoInputFieldEvent {
|
|
|
8346
8642
|
* `
|
|
8347
8643
|
* }
|
|
8348
8644
|
*/
|
|
8349
|
-
export declare const BentoInputFieldPassword: DefineComponent<
|
|
8645
|
+
export declare const BentoInputFieldPassword: DefineComponent<__VLS_WithDefaults_15<__VLS_TypePropsToRuntimeProps_15<BentoInputFieldPasswordProps>, {
|
|
8350
8646
|
condensed: boolean;
|
|
8351
8647
|
disabled: boolean;
|
|
8648
|
+
disableValidation: boolean;
|
|
8352
8649
|
label: any;
|
|
8353
8650
|
errorMessage: any;
|
|
8354
8651
|
placeholder: string;
|
|
@@ -8360,9 +8657,10 @@ withHint: boolean;
|
|
|
8360
8657
|
"input:valid": () => void;
|
|
8361
8658
|
} & {
|
|
8362
8659
|
input: (value: BentoInputFieldValue) => void;
|
|
8363
|
-
}, string, Readonly<ExtractPropTypes<
|
|
8660
|
+
}, string, Readonly<ExtractPropTypes<__VLS_WithDefaults_15<__VLS_TypePropsToRuntimeProps_15<BentoInputFieldPasswordProps>, {
|
|
8364
8661
|
condensed: boolean;
|
|
8365
8662
|
disabled: boolean;
|
|
8663
|
+
disableValidation: boolean;
|
|
8366
8664
|
label: any;
|
|
8367
8665
|
errorMessage: any;
|
|
8368
8666
|
placeholder: string;
|
|
@@ -8379,6 +8677,7 @@ validation: BentoInputFieldPasswordValidation;
|
|
|
8379
8677
|
readonly: BentoInputFieldProps["readonly"];
|
|
8380
8678
|
errorMessage: BentoInputFieldProps["errorMessage"];
|
|
8381
8679
|
placeholder: BentoInputFieldProps["placeholder"];
|
|
8680
|
+
disableValidation: boolean;
|
|
8382
8681
|
withHint: boolean;
|
|
8383
8682
|
}>;
|
|
8384
8683
|
|
|
@@ -8391,6 +8690,11 @@ export declare interface BentoInputFieldPasswordProps {
|
|
|
8391
8690
|
* Disables the possibility of changing value in the input-field
|
|
8392
8691
|
*/
|
|
8393
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;
|
|
8394
8698
|
/**
|
|
8395
8699
|
* Renders input-field with an error state and the error message beneath the input box
|
|
8396
8700
|
*/
|
|
@@ -8471,7 +8775,7 @@ export declare interface BentoInputFieldPasswordValidationListItem {
|
|
|
8471
8775
|
* `
|
|
8472
8776
|
* }
|
|
8473
8777
|
*/
|
|
8474
|
-
export declare const BentoInputFieldPhoneNumber:
|
|
8778
|
+
export declare const BentoInputFieldPhoneNumber: __VLS_WithTemplateSlots_19<DefineComponent<__VLS_WithDefaults_16<__VLS_TypePropsToRuntimeProps_16<BentoInputFieldPhoneNumberProps>, {
|
|
8475
8779
|
countries: () => CountryCode_2[];
|
|
8476
8780
|
dynamicFiltering: boolean;
|
|
8477
8781
|
}>, {}, {}, {}, {}, ComponentOptionsMixin, ComponentOptionsMixin, {
|
|
@@ -8480,7 +8784,7 @@ blur: () => void;
|
|
|
8480
8784
|
input: (value: string) => void;
|
|
8481
8785
|
} & {
|
|
8482
8786
|
"update:selected-country": (country: CountryCode_2) => void;
|
|
8483
|
-
}, string, Readonly<ExtractPropTypes<
|
|
8787
|
+
}, string, Readonly<ExtractPropTypes<__VLS_WithDefaults_16<__VLS_TypePropsToRuntimeProps_16<BentoInputFieldPhoneNumberProps>, {
|
|
8484
8788
|
countries: () => CountryCode_2[];
|
|
8485
8789
|
dynamicFiltering: boolean;
|
|
8486
8790
|
}>>>, {
|
|
@@ -8729,7 +9033,7 @@ export declare type BentoInpuWithDropdowntFilterValue = {
|
|
|
8729
9033
|
* `
|
|
8730
9034
|
* }
|
|
8731
9035
|
*/
|
|
8732
|
-
export declare const BentoInspector:
|
|
9036
|
+
export declare const BentoInspector: __VLS_WithTemplateSlots_20<DefineComponent<__VLS_WithDefaults_17<__VLS_TypePropsToRuntimeProps_17<{
|
|
8733
9037
|
/**
|
|
8734
9038
|
* ID of the current active inspector page
|
|
8735
9039
|
*/
|
|
@@ -8766,7 +9070,7 @@ size: string;
|
|
|
8766
9070
|
"update:active-page": (value: string) => void;
|
|
8767
9071
|
} & {
|
|
8768
9072
|
expand: () => void;
|
|
8769
|
-
}, string, Readonly<ExtractPropTypes<
|
|
9073
|
+
}, string, Readonly<ExtractPropTypes<__VLS_WithDefaults_17<__VLS_TypePropsToRuntimeProps_17<{
|
|
8770
9074
|
/**
|
|
8771
9075
|
* ID of the current active inspector page
|
|
8772
9076
|
*/
|
|
@@ -8856,10 +9160,10 @@ export declare enum BentoKeyboardNavigationKeyDownEvent {
|
|
|
8856
9160
|
* `
|
|
8857
9161
|
* }
|
|
8858
9162
|
*/
|
|
8859
|
-
export declare const BentoLayout:
|
|
9163
|
+
export declare const BentoLayout: __VLS_WithTemplateSlots_21<DefineComponent<__VLS_WithDefaults_18<__VLS_TypePropsToRuntimeProps_18<BentoLayoutProps>, {
|
|
8860
9164
|
size: string;
|
|
8861
9165
|
variant: string;
|
|
8862
|
-
}>, {}, {}, {}, {}, ComponentOptionsMixin, ComponentOptionsMixin, {}, string, Readonly<ExtractPropTypes<
|
|
9166
|
+
}>, {}, {}, {}, {}, ComponentOptionsMixin, ComponentOptionsMixin, {}, string, Readonly<ExtractPropTypes<__VLS_WithDefaults_18<__VLS_TypePropsToRuntimeProps_18<BentoLayoutProps>, {
|
|
8863
9167
|
size: string;
|
|
8864
9168
|
variant: string;
|
|
8865
9169
|
}>>>, {
|
|
@@ -8902,9 +9206,9 @@ export declare interface BentoLayoutProps {
|
|
|
8902
9206
|
* `
|
|
8903
9207
|
* }
|
|
8904
9208
|
*/
|
|
8905
|
-
export declare const BentoLayoutRow:
|
|
9209
|
+
export declare const BentoLayoutRow: __VLS_WithTemplateSlots_22<DefineComponent<__VLS_WithDefaults_19<__VLS_TypePropsToRuntimeProps_19<BentoLayoutRowProps>, {
|
|
8906
9210
|
columnsLayout: string;
|
|
8907
|
-
}>, {}, {}, {}, {}, ComponentOptionsMixin, ComponentOptionsMixin, {}, string, Readonly<ExtractPropTypes<
|
|
9211
|
+
}>, {}, {}, {}, {}, ComponentOptionsMixin, ComponentOptionsMixin, {}, string, Readonly<ExtractPropTypes<__VLS_WithDefaults_19<__VLS_TypePropsToRuntimeProps_19<BentoLayoutRowProps>, {
|
|
8908
9212
|
columnsLayout: string;
|
|
8909
9213
|
}>>>, {
|
|
8910
9214
|
columnsLayout: BentoLayoutRowColumnLayout;
|
|
@@ -8936,10 +9240,10 @@ declare const BentoLayoutVariantOptions: readonly ["page", "component"];
|
|
|
8936
9240
|
|
|
8937
9241
|
export declare type BentoLazyLoadType = 'automatic' | 'button' | 'none';
|
|
8938
9242
|
|
|
8939
|
-
export declare const BentoLink:
|
|
9243
|
+
export declare const BentoLink: __VLS_WithTemplateSlots_23<DefineComponent<ExtractPropTypes<__VLS_WithDefaults_20<__VLS_TypePropsToRuntimeProps_20<BentoLinkProps>, {
|
|
8940
9244
|
target: any;
|
|
8941
9245
|
variant: BentoLinkVariant;
|
|
8942
|
-
}>>, {}, {}, {}, {}, ComponentOptionsMixin, ComponentOptionsMixin, "click"[], "click", PublicProps, Readonly<ExtractPropTypes<
|
|
9246
|
+
}>>, {}, {}, {}, {}, ComponentOptionsMixin, ComponentOptionsMixin, "click"[], "click", PublicProps, Readonly<ExtractPropTypes<__VLS_WithDefaults_20<__VLS_TypePropsToRuntimeProps_20<BentoLinkProps>, {
|
|
8943
9247
|
target: any;
|
|
8944
9248
|
variant: BentoLinkVariant;
|
|
8945
9249
|
}>>> & Readonly<{
|
|
@@ -9340,7 +9644,7 @@ isInverseColorSet: Ref<boolean>;
|
|
|
9340
9644
|
hasSlot: (name: string) => boolean;
|
|
9341
9645
|
onKeyDown: (event: KeyboardEvent) => void;
|
|
9342
9646
|
onKeyUp: (event: KeyboardEvent) => void;
|
|
9343
|
-
closeMenu: (revertFocus?: boolean) => void
|
|
9647
|
+
closeMenu: (revertFocus?: boolean) => Promise<void>;
|
|
9344
9648
|
menuItemClick: () => void;
|
|
9345
9649
|
toggleShowMenu: (e: MouseEvent) => void;
|
|
9346
9650
|
t: (key: "backButton" | "menuButton", values?: default_2.Values) => string;
|
|
@@ -9474,7 +9778,7 @@ export declare interface BentoMenuItem {
|
|
|
9474
9778
|
* `
|
|
9475
9779
|
* };
|
|
9476
9780
|
*/
|
|
9477
|
-
export declare const BentoModal:
|
|
9781
|
+
export declare const BentoModal: __VLS_WithTemplateSlots_25<DefineComponent< {
|
|
9478
9782
|
/**
|
|
9479
9783
|
* List of actions that will be used to render the buttons.
|
|
9480
9784
|
* First element in the list will be rendered as "primary".
|
|
@@ -9812,7 +10116,7 @@ export declare enum BentoModalEvent {
|
|
|
9812
10116
|
* `
|
|
9813
10117
|
* }
|
|
9814
10118
|
*/
|
|
9815
|
-
export declare const BentoModalFullscreen:
|
|
10119
|
+
export declare const BentoModalFullscreen: __VLS_WithTemplateSlots_26<DefineComponent< {
|
|
9816
10120
|
/**
|
|
9817
10121
|
* List of actions that will be used to render the buttons.
|
|
9818
10122
|
* First element in the list will be rendered as "primary".
|
|
@@ -9952,7 +10256,7 @@ contextualLabel: string;
|
|
|
9952
10256
|
* `
|
|
9953
10257
|
* }
|
|
9954
10258
|
*/
|
|
9955
|
-
export declare const BentoModalFullscreenPage:
|
|
10259
|
+
export declare const BentoModalFullscreenPage: __VLS_WithTemplateSlots_27<DefineComponent< {
|
|
9956
10260
|
/**
|
|
9957
10261
|
* List of actions that will be used to render the buttons.
|
|
9958
10262
|
* First element in the list will be rendered as "primary".
|
|
@@ -10094,7 +10398,7 @@ contextualLabel: string;
|
|
|
10094
10398
|
* `
|
|
10095
10399
|
* }
|
|
10096
10400
|
*/
|
|
10097
|
-
export declare const BentoModalPage:
|
|
10401
|
+
export declare const BentoModalPage: __VLS_WithTemplateSlots_24<DefineComponent< {
|
|
10098
10402
|
/**
|
|
10099
10403
|
* List of actions that will be used to render the buttons.
|
|
10100
10404
|
* First element in the list will be rendered as "primary".
|
|
@@ -10454,10 +10758,10 @@ hidePageSize: boolean;
|
|
|
10454
10758
|
* `
|
|
10455
10759
|
* }
|
|
10456
10760
|
*/
|
|
10457
|
-
export declare const BentoPaymentMethod: DefineComponent<
|
|
10761
|
+
export declare const BentoPaymentMethod: DefineComponent<__VLS_WithDefaults_21<__VLS_TypePropsToRuntimeProps_21<BentoPaymentMethodProps>, {
|
|
10458
10762
|
type: string;
|
|
10459
10763
|
small: boolean;
|
|
10460
|
-
}>, {}, {}, {}, {}, ComponentOptionsMixin, ComponentOptionsMixin, {}, string, Readonly<ExtractPropTypes<
|
|
10764
|
+
}>, {}, {}, {}, {}, ComponentOptionsMixin, ComponentOptionsMixin, {}, string, Readonly<ExtractPropTypes<__VLS_WithDefaults_21<__VLS_TypePropsToRuntimeProps_21<BentoPaymentMethodProps>, {
|
|
10461
10765
|
type: string;
|
|
10462
10766
|
small: boolean;
|
|
10463
10767
|
}>>>, {
|
|
@@ -11586,7 +11890,7 @@ export declare enum BentoPaymentMethodType {
|
|
|
11586
11890
|
* `
|
|
11587
11891
|
* }
|
|
11588
11892
|
*/
|
|
11589
|
-
export declare const BentoPopover:
|
|
11893
|
+
export declare const BentoPopover: __VLS_WithTemplateSlots_28<DefineComponent< {
|
|
11590
11894
|
/**
|
|
11591
11895
|
* List of actions that will be used to render the buttons.
|
|
11592
11896
|
* First element in the list will be rendered as "primary".
|
|
@@ -12007,7 +12311,7 @@ declare type BentoPopoverPositions_2 = PopperContainerPosition_2;
|
|
|
12007
12311
|
* `
|
|
12008
12312
|
* };
|
|
12009
12313
|
*/
|
|
12010
|
-
export declare const BentoPromoBanner:
|
|
12314
|
+
export declare const BentoPromoBanner: __VLS_WithTemplateSlots_29<DefineComponent<__VLS_WithDefaults_22<__VLS_TypePropsToRuntimeProps_22<BentoPromoBannerProps>, {
|
|
12011
12315
|
actions: any;
|
|
12012
12316
|
color: BentoPromoBannerColor;
|
|
12013
12317
|
isDismissible: boolean;
|
|
@@ -12015,7 +12319,7 @@ dismissButtonText: any;
|
|
|
12015
12319
|
layout: BentoPromoBannerLayout;
|
|
12016
12320
|
}>, {}, {}, {}, {}, ComponentOptionsMixin, ComponentOptionsMixin, {
|
|
12017
12321
|
dismiss: () => void;
|
|
12018
|
-
}, string, Readonly<ExtractPropTypes<
|
|
12322
|
+
}, string, Readonly<ExtractPropTypes<__VLS_WithDefaults_22<__VLS_TypePropsToRuntimeProps_22<BentoPromoBannerProps>, {
|
|
12019
12323
|
actions: any;
|
|
12020
12324
|
color: BentoPromoBannerColor;
|
|
12021
12325
|
isDismissible: boolean;
|
|
@@ -12151,7 +12455,7 @@ export declare interface BentoPromoBannerProps {
|
|
|
12151
12455
|
* }
|
|
12152
12456
|
* }
|
|
12153
12457
|
*/
|
|
12154
|
-
export declare const BentoRadioButton:
|
|
12458
|
+
export declare const BentoRadioButton: __VLS_WithTemplateSlots_31<DefineComponent< {
|
|
12155
12459
|
/**
|
|
12156
12460
|
* Disable the radio button (optional)
|
|
12157
12461
|
*/
|
|
@@ -12306,7 +12610,7 @@ export declare type BentoRadioButtonValue = string | number;
|
|
|
12306
12610
|
* `
|
|
12307
12611
|
* };
|
|
12308
12612
|
*/
|
|
12309
|
-
export declare const BentoRadioGroup:
|
|
12613
|
+
export declare const BentoRadioGroup: __VLS_WithTemplateSlots_30<DefineComponent< {
|
|
12310
12614
|
/**
|
|
12311
12615
|
* Descriptive supporting text visbile underneath the label.
|
|
12312
12616
|
*/
|
|
@@ -12600,7 +12904,7 @@ export declare enum BentoRadioGroupVariant {
|
|
|
12600
12904
|
* }
|
|
12601
12905
|
* }
|
|
12602
12906
|
*/
|
|
12603
|
-
export declare const BentoSearchBar: DefineComponent<
|
|
12907
|
+
export declare const BentoSearchBar: DefineComponent<__VLS_WithDefaults_24<__VLS_TypePropsToRuntimeProps_24<BentoSearchBarProps>, {
|
|
12604
12908
|
condensed: boolean;
|
|
12605
12909
|
debounceTime: number;
|
|
12606
12910
|
hint: string;
|
|
@@ -12621,7 +12925,7 @@ clear: () => void;
|
|
|
12621
12925
|
blur: () => void;
|
|
12622
12926
|
} & {
|
|
12623
12927
|
focus: () => void;
|
|
12624
|
-
}, string, Readonly<ExtractPropTypes<
|
|
12928
|
+
}, string, Readonly<ExtractPropTypes<__VLS_WithDefaults_24<__VLS_TypePropsToRuntimeProps_24<BentoSearchBarProps>, {
|
|
12625
12929
|
condensed: boolean;
|
|
12626
12930
|
debounceTime: number;
|
|
12627
12931
|
hint: string;
|
|
@@ -12704,7 +13008,7 @@ export declare interface BentoSearchBarProps {
|
|
|
12704
13008
|
* }
|
|
12705
13009
|
* }
|
|
12706
13010
|
*/
|
|
12707
|
-
export declare const BentoSecondaryNav: DefineComponent<
|
|
13011
|
+
export declare const BentoSecondaryNav: DefineComponent<__VLS_TypePropsToRuntimeProps_25<{
|
|
12708
13012
|
/**
|
|
12709
13013
|
* An array containing all the items on the nav. The array can have either {@see BentoSecondaryNavItemsCategory },
|
|
12710
13014
|
* which is used to group different items or {@see BentoSecondaryNavItemsItem } if you don't need to group them.
|
|
@@ -12717,7 +13021,7 @@ items: BentoSecondaryNavItems;
|
|
|
12717
13021
|
value?: string;
|
|
12718
13022
|
}>, {}, {}, {}, {}, ComponentOptionsMixin, ComponentOptionsMixin, {
|
|
12719
13023
|
change: (category: string) => void;
|
|
12720
|
-
}, string, Readonly<ExtractPropTypes<
|
|
13024
|
+
}, string, Readonly<ExtractPropTypes<__VLS_TypePropsToRuntimeProps_25<{
|
|
12721
13025
|
/**
|
|
12722
13026
|
* An array containing all the items on the nav. The array can have either {@see BentoSecondaryNavItemsCategory },
|
|
12723
13027
|
* which is used to group different items or {@see BentoSecondaryNavItemsItem } if you don't need to group them.
|
|
@@ -12762,7 +13066,7 @@ export declare interface BentoSecondaryNavState {
|
|
|
12762
13066
|
* `
|
|
12763
13067
|
* }
|
|
12764
13068
|
*/
|
|
12765
|
-
export declare const BentoSegmentedControl: DefineComponent<
|
|
13069
|
+
export declare const BentoSegmentedControl: DefineComponent<__VLS_WithDefaults_25<__VLS_TypePropsToRuntimeProps_26<BentoSegmentedControlProps>, {
|
|
12766
13070
|
ariaLabel: any;
|
|
12767
13071
|
fullWidth: boolean;
|
|
12768
13072
|
wrap: boolean;
|
|
@@ -12771,7 +13075,7 @@ modelValue: any;
|
|
|
12771
13075
|
"update:model-value": (value: any) => void;
|
|
12772
13076
|
} & {
|
|
12773
13077
|
input: (value: BentoSegmentedControlValue) => void;
|
|
12774
|
-
}, string, Readonly<ExtractPropTypes<
|
|
13078
|
+
}, string, Readonly<ExtractPropTypes<__VLS_WithDefaults_25<__VLS_TypePropsToRuntimeProps_26<BentoSegmentedControlProps>, {
|
|
12775
13079
|
ariaLabel: any;
|
|
12776
13080
|
fullWidth: boolean;
|
|
12777
13081
|
wrap: boolean;
|
|
@@ -12892,6 +13196,10 @@ export declare interface BentoSelectFilterOptions {
|
|
|
12892
13196
|
*/
|
|
12893
13197
|
showMoreEvent?: () => void;
|
|
12894
13198
|
};
|
|
13199
|
+
/**
|
|
13200
|
+
* Toggles the loading state of the listbox.
|
|
13201
|
+
*/
|
|
13202
|
+
loading?: boolean;
|
|
12895
13203
|
/**
|
|
12896
13204
|
* Search options and events for the listbox filtering.
|
|
12897
13205
|
*/
|
|
@@ -12931,7 +13239,7 @@ export declare type BentoSelectFilterValue = BentoListboxSelectedValue;
|
|
|
12931
13239
|
* `
|
|
12932
13240
|
* }
|
|
12933
13241
|
*/
|
|
12934
|
-
export declare const BentoSelectionCard:
|
|
13242
|
+
export declare const BentoSelectionCard: __VLS_WithTemplateSlots_32<DefineComponent< {
|
|
12935
13243
|
/**
|
|
12936
13244
|
* The description of the selection card
|
|
12937
13245
|
*/
|
|
@@ -13124,7 +13432,7 @@ fullyClickable: boolean;
|
|
|
13124
13432
|
* `,
|
|
13125
13433
|
* }
|
|
13126
13434
|
*/
|
|
13127
|
-
export declare const BentoSelectionCardGroup:
|
|
13435
|
+
export declare const BentoSelectionCardGroup: __VLS_WithTemplateSlots_33<DefineComponent< {
|
|
13128
13436
|
/**
|
|
13129
13437
|
* Descriptive supporting text visbile underneath the label.
|
|
13130
13438
|
*/
|
|
@@ -13440,7 +13748,7 @@ export declare type BentoSelectTagFilterOptions = OmitStrict<BentoSelectFilterOp
|
|
|
13440
13748
|
* `
|
|
13441
13749
|
* }
|
|
13442
13750
|
*/
|
|
13443
|
-
export declare const BentoSidepanel:
|
|
13751
|
+
export declare const BentoSidepanel: __VLS_WithTemplateSlots_35<DefineComponent< {
|
|
13444
13752
|
/**
|
|
13445
13753
|
* The id of the current active page
|
|
13446
13754
|
* Should be the same id as the BentoSidepanelPage to be displayed
|
|
@@ -13568,7 +13876,7 @@ export declare enum BentoSidepanelEvent {
|
|
|
13568
13876
|
* `
|
|
13569
13877
|
* }
|
|
13570
13878
|
*/
|
|
13571
|
-
export declare const BentoSidepanelPage:
|
|
13879
|
+
export declare const BentoSidepanelPage: __VLS_WithTemplateSlots_34<DefineComponent< {
|
|
13572
13880
|
/**
|
|
13573
13881
|
* List of actions that will be used to render the buttons.
|
|
13574
13882
|
* First element in the list will be rendered as "primary".
|
|
@@ -13711,7 +14019,7 @@ destructiveActions: boolean;
|
|
|
13711
14019
|
* `
|
|
13712
14020
|
* }
|
|
13713
14021
|
*/
|
|
13714
|
-
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>>>, {}>, {
|
|
13715
14023
|
default: (_: {}) => any;
|
|
13716
14024
|
}>;
|
|
13717
14025
|
|
|
@@ -13756,7 +14064,7 @@ export declare enum BentoStatusVariant {
|
|
|
13756
14064
|
* `
|
|
13757
14065
|
* }
|
|
13758
14066
|
*/
|
|
13759
|
-
export declare const BentoStep:
|
|
14067
|
+
export declare const BentoStep: __VLS_WithTemplateSlots_38<DefineComponent< {
|
|
13760
14068
|
/**
|
|
13761
14069
|
* Completed status. Used on non-linear steppers to indicate if the step is completed.
|
|
13762
14070
|
*/
|
|
@@ -13813,7 +14121,7 @@ substepIndex: number;
|
|
|
13813
14121
|
* `
|
|
13814
14122
|
* }
|
|
13815
14123
|
*/
|
|
13816
|
-
export declare const BentoStepper:
|
|
14124
|
+
export declare const BentoStepper: __VLS_WithTemplateSlots_37<DefineComponent< {
|
|
13817
14125
|
/**
|
|
13818
14126
|
* Type of stepper; defines how the stepper should behave. Default: linear
|
|
13819
14127
|
* @values linear, non-linear
|
|
@@ -13920,7 +14228,7 @@ export declare enum BentoStepperVariantOption {
|
|
|
13920
14228
|
* `
|
|
13921
14229
|
* }
|
|
13922
14230
|
*/
|
|
13923
|
-
export declare const BentoStructuredList:
|
|
14231
|
+
export declare const BentoStructuredList: __VLS_WithTemplateSlots_39<DefineComponent<__VLS_WithDefaults_26<__VLS_TypePropsToRuntimeProps_28<{
|
|
13924
14232
|
/**
|
|
13925
14233
|
* Width of the labels container, in pixels. Overrides layout prop.
|
|
13926
14234
|
*/
|
|
@@ -13941,7 +14249,7 @@ layout?: BentoStructuredListLayoutOptions;
|
|
|
13941
14249
|
}>, {
|
|
13942
14250
|
labelsWidth: any;
|
|
13943
14251
|
layout: string;
|
|
13944
|
-
}>, {}, {}, {}, {}, ComponentOptionsMixin, ComponentOptionsMixin, {}, string, Readonly<ExtractPropTypes<
|
|
14252
|
+
}>, {}, {}, {}, {}, ComponentOptionsMixin, ComponentOptionsMixin, {}, string, Readonly<ExtractPropTypes<__VLS_WithDefaults_26<__VLS_TypePropsToRuntimeProps_28<{
|
|
13945
14253
|
/**
|
|
13946
14254
|
* Width of the labels container, in pixels. Overrides layout prop.
|
|
13947
14255
|
*/
|
|
@@ -13992,7 +14300,7 @@ labelsWidth: number;
|
|
|
13992
14300
|
* `
|
|
13993
14301
|
* }
|
|
13994
14302
|
*/
|
|
13995
|
-
export declare const BentoStructuredListItem:
|
|
14303
|
+
export declare const BentoStructuredListItem: __VLS_WithTemplateSlots_40<DefineComponent<__VLS_TypePropsToRuntimeProps_29<{
|
|
13996
14304
|
/**
|
|
13997
14305
|
* Label to display for the value
|
|
13998
14306
|
*/
|
|
@@ -14017,7 +14325,7 @@ searchTooltip?: string;
|
|
|
14017
14325
|
* Truncates the value of the item
|
|
14018
14326
|
*/
|
|
14019
14327
|
truncate?: boolean;
|
|
14020
|
-
}>, {}, {}, {}, {}, ComponentOptionsMixin, ComponentOptionsMixin, {}, string, Readonly<ExtractPropTypes<
|
|
14328
|
+
}>, {}, {}, {}, {}, ComponentOptionsMixin, ComponentOptionsMixin, {}, string, Readonly<ExtractPropTypes<__VLS_TypePropsToRuntimeProps_29<{
|
|
14021
14329
|
/**
|
|
14022
14330
|
* Label to display for the value
|
|
14023
14331
|
*/
|
|
@@ -14225,7 +14533,16 @@ type: PropType<BentoSummaryGridItemSize | `${BentoSummaryGridItemSize}`>;
|
|
|
14225
14533
|
default: BentoSummaryGridItemSize;
|
|
14226
14534
|
validator: (value: BentoSummaryGridItemSize) => boolean;
|
|
14227
14535
|
};
|
|
14228
|
-
|
|
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< {
|
|
14229
14546
|
/**
|
|
14230
14547
|
* Text to copy to the clipboard
|
|
14231
14548
|
*/
|
|
@@ -14313,6 +14630,13 @@ type: PropType<BentoSummaryGridItemSize | `${BentoSummaryGridItemSize}`>;
|
|
|
14313
14630
|
default: BentoSummaryGridItemSize;
|
|
14314
14631
|
validator: (value: BentoSummaryGridItemSize) => boolean;
|
|
14315
14632
|
};
|
|
14633
|
+
/**
|
|
14634
|
+
* Text showed in the info-icon tooltip on hover
|
|
14635
|
+
*/
|
|
14636
|
+
underlineTooltipText: {
|
|
14637
|
+
type: StringConstructor;
|
|
14638
|
+
default: any;
|
|
14639
|
+
};
|
|
14316
14640
|
}>>, {
|
|
14317
14641
|
copy: string;
|
|
14318
14642
|
size: "small" | "large" | "medium" | BentoSummaryGridItemSize;
|
|
@@ -14322,6 +14646,7 @@ trend: string;
|
|
|
14322
14646
|
trendDirection: "positive" | "negative" | "neutral" | BentoSummaryGridItemTrendDirection;
|
|
14323
14647
|
secondaryTrend: string;
|
|
14324
14648
|
secondaryTrendDirection: "positive" | "negative" | "neutral" | BentoSummaryGridItemTrendDirection;
|
|
14649
|
+
underlineTooltipText: string;
|
|
14325
14650
|
secondaryLabel: string;
|
|
14326
14651
|
secondaryMetric: string;
|
|
14327
14652
|
}>;
|
|
@@ -14370,7 +14695,16 @@ fitContent: {
|
|
|
14370
14695
|
type: BooleanConstructor;
|
|
14371
14696
|
default: boolean;
|
|
14372
14697
|
};
|
|
14373
|
-
|
|
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< {
|
|
14374
14708
|
/**
|
|
14375
14709
|
* Text to copy to the clipboard
|
|
14376
14710
|
*/
|
|
@@ -14399,10 +14733,18 @@ fitContent: {
|
|
|
14399
14733
|
type: BooleanConstructor;
|
|
14400
14734
|
default: boolean;
|
|
14401
14735
|
};
|
|
14736
|
+
/**
|
|
14737
|
+
* Text showed in the info-icon tooltip on hover
|
|
14738
|
+
*/
|
|
14739
|
+
underlineTooltipText: {
|
|
14740
|
+
type: StringConstructor;
|
|
14741
|
+
default: any;
|
|
14742
|
+
};
|
|
14402
14743
|
}>>, {
|
|
14403
14744
|
copy: string;
|
|
14404
14745
|
fitContent: boolean;
|
|
14405
14746
|
infoIconTooltipText: string;
|
|
14747
|
+
underlineTooltipText: string;
|
|
14406
14748
|
}>;
|
|
14407
14749
|
|
|
14408
14750
|
/**
|
|
@@ -14506,7 +14848,16 @@ type: PropType<BentoSummaryGridItemSize | `${BentoSummaryGridItemSize}`>;
|
|
|
14506
14848
|
default: BentoSummaryGridItemSize;
|
|
14507
14849
|
validator: (value: BentoSummaryGridItemSize) => boolean;
|
|
14508
14850
|
};
|
|
14509
|
-
|
|
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< {
|
|
14510
14861
|
/**
|
|
14511
14862
|
* Text to copy to the clipboard
|
|
14512
14863
|
*/
|
|
@@ -14587,6 +14938,13 @@ type: PropType<BentoSummaryGridItemSize | `${BentoSummaryGridItemSize}`>;
|
|
|
14587
14938
|
default: BentoSummaryGridItemSize;
|
|
14588
14939
|
validator: (value: BentoSummaryGridItemSize) => boolean;
|
|
14589
14940
|
};
|
|
14941
|
+
/**
|
|
14942
|
+
* Text showed in the info-icon tooltip on hover
|
|
14943
|
+
*/
|
|
14944
|
+
underlineTooltipText: {
|
|
14945
|
+
type: StringConstructor;
|
|
14946
|
+
default: any;
|
|
14947
|
+
};
|
|
14590
14948
|
}>>, {
|
|
14591
14949
|
copy: string;
|
|
14592
14950
|
size: "small" | "large" | "medium" | BentoSummaryGridItemSize;
|
|
@@ -14596,6 +14954,7 @@ trend: string;
|
|
|
14596
14954
|
trendDirection: "positive" | "negative" | "neutral" | BentoSummaryGridItemTrendDirection;
|
|
14597
14955
|
secondaryTrend: string;
|
|
14598
14956
|
secondaryTrendDirection: "positive" | "negative" | "neutral" | BentoSummaryGridItemTrendDirection;
|
|
14957
|
+
underlineTooltipText: string;
|
|
14599
14958
|
secondaryMetric: string;
|
|
14600
14959
|
}>;
|
|
14601
14960
|
|
|
@@ -14700,7 +15059,16 @@ type: PropType<BentoSummaryGridItemSize | `${BentoSummaryGridItemSize}`>;
|
|
|
14700
15059
|
default: BentoSummaryGridItemSize;
|
|
14701
15060
|
validator: (value: BentoSummaryGridItemSize) => boolean;
|
|
14702
15061
|
};
|
|
14703
|
-
|
|
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< {
|
|
14704
15072
|
/**
|
|
14705
15073
|
* Amount to be shown as the main value
|
|
14706
15074
|
*/
|
|
@@ -14781,6 +15149,13 @@ type: PropType<BentoSummaryGridItemSize | `${BentoSummaryGridItemSize}`>;
|
|
|
14781
15149
|
default: BentoSummaryGridItemSize;
|
|
14782
15150
|
validator: (value: BentoSummaryGridItemSize) => boolean;
|
|
14783
15151
|
};
|
|
15152
|
+
/**
|
|
15153
|
+
* Text showed in the info-icon tooltip on hover
|
|
15154
|
+
*/
|
|
15155
|
+
underlineTooltipText: {
|
|
15156
|
+
type: StringConstructor;
|
|
15157
|
+
default: any;
|
|
15158
|
+
};
|
|
14784
15159
|
}>>, {
|
|
14785
15160
|
copy: string;
|
|
14786
15161
|
size: "small" | "large" | "medium" | BentoSummaryGridItemSize;
|
|
@@ -14790,6 +15165,7 @@ trend: string;
|
|
|
14790
15165
|
trendDirection: "positive" | "negative" | "neutral" | BentoSummaryGridItemTrendDirection;
|
|
14791
15166
|
secondaryTrend: string;
|
|
14792
15167
|
secondaryTrendDirection: "positive" | "negative" | "neutral" | BentoSummaryGridItemTrendDirection;
|
|
15168
|
+
underlineTooltipText: string;
|
|
14793
15169
|
secondaryMetric: string;
|
|
14794
15170
|
}>;
|
|
14795
15171
|
|
|
@@ -14855,7 +15231,16 @@ fitContent: {
|
|
|
14855
15231
|
type: BooleanConstructor;
|
|
14856
15232
|
default: boolean;
|
|
14857
15233
|
};
|
|
14858
|
-
|
|
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< {
|
|
14859
15244
|
/**
|
|
14860
15245
|
* Text to copy to the clipboard
|
|
14861
15246
|
*/
|
|
@@ -14891,10 +15276,18 @@ fitContent: {
|
|
|
14891
15276
|
type: BooleanConstructor;
|
|
14892
15277
|
default: boolean;
|
|
14893
15278
|
};
|
|
15279
|
+
/**
|
|
15280
|
+
* Text showed in the info-icon tooltip on hover
|
|
15281
|
+
*/
|
|
15282
|
+
underlineTooltipText: {
|
|
15283
|
+
type: StringConstructor;
|
|
15284
|
+
default: any;
|
|
15285
|
+
};
|
|
14894
15286
|
}>>, {
|
|
14895
15287
|
copy: string;
|
|
14896
15288
|
fitContent: boolean;
|
|
14897
15289
|
infoIconTooltipText: string;
|
|
15290
|
+
underlineTooltipText: string;
|
|
14898
15291
|
}>;
|
|
14899
15292
|
|
|
14900
15293
|
/**
|
|
@@ -15045,11 +15438,11 @@ declare enum BentoTabsEvent {
|
|
|
15045
15438
|
ACTIVE_TAB_INDEX = "update:active-tab-index"
|
|
15046
15439
|
}
|
|
15047
15440
|
|
|
15048
|
-
export declare const BentoTag: DefineComponent<
|
|
15441
|
+
export declare const BentoTag: DefineComponent<__VLS_WithDefaults_23<__VLS_TypePropsToRuntimeProps_23<BentoTagProps>, {
|
|
15049
15442
|
label: any;
|
|
15050
15443
|
truncate: any;
|
|
15051
15444
|
variant: BentoTagVariant;
|
|
15052
|
-
}>, {}, {}, {}, {}, ComponentOptionsMixin, ComponentOptionsMixin, {}, string, Readonly<ExtractPropTypes<
|
|
15445
|
+
}>, {}, {}, {}, {}, ComponentOptionsMixin, ComponentOptionsMixin, {}, string, Readonly<ExtractPropTypes<__VLS_WithDefaults_23<__VLS_TypePropsToRuntimeProps_23<BentoTagProps>, {
|
|
15053
15446
|
label: any;
|
|
15054
15447
|
truncate: any;
|
|
15055
15448
|
variant: BentoTagVariant;
|
|
@@ -16186,7 +16579,7 @@ export declare interface BentoTutorialStep {
|
|
|
16186
16579
|
* `
|
|
16187
16580
|
* }
|
|
16188
16581
|
*/
|
|
16189
|
-
export declare const BentoTypography:
|
|
16582
|
+
export declare const BentoTypography: __VLS_WithTemplateSlots_41<DefineComponent<__VLS_WithDefaults_27<__VLS_TypePropsToRuntimeProps_30<{
|
|
16190
16583
|
/**
|
|
16191
16584
|
* Sets the HTML DOM element.
|
|
16192
16585
|
* @values h1, h2, h3, h4, h5, h6, div, p, span
|
|
@@ -16234,7 +16627,7 @@ stronger: boolean;
|
|
|
16234
16627
|
strongest: boolean;
|
|
16235
16628
|
variant: BentoTypographyVariant;
|
|
16236
16629
|
wide: boolean;
|
|
16237
|
-
}>, {}, {}, {}, {}, ComponentOptionsMixin, ComponentOptionsMixin, {}, string, Readonly<ExtractPropTypes<
|
|
16630
|
+
}>, {}, {}, {}, {}, ComponentOptionsMixin, ComponentOptionsMixin, {}, string, Readonly<ExtractPropTypes<__VLS_WithDefaults_27<__VLS_TypePropsToRuntimeProps_30<{
|
|
16238
16631
|
/**
|
|
16239
16632
|
* Sets the HTML DOM element.
|
|
16240
16633
|
* @values h1, h2, h3, h4, h5, h6, div, p, span
|
|
@@ -16420,6 +16813,7 @@ declare type Element_2 = HTMLElement & {
|
|
|
16420
16813
|
|
|
16421
16814
|
/**
|
|
16422
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.
|
|
16423
16817
|
*/
|
|
16424
16818
|
export declare type ErrorBag<T> = typeToFlattenedError<T, string>['fieldErrors'];
|
|
16425
16819
|
|
|
@@ -16777,8 +17171,10 @@ export declare interface ToastStack {
|
|
|
16777
17171
|
* This is meant to simulate the behavior of {@link @vee-validate/zod} {@see https://vee-validate.logaretm.com/v4/integrations/zod-schema-validation}.
|
|
16778
17172
|
* Function that transform Zod’s schemas into something that can be understood by vee-validate
|
|
16779
17173
|
*
|
|
16780
|
-
* @
|
|
16781
|
-
*
|
|
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
|
|
16782
17178
|
*/
|
|
16783
17179
|
export declare function toTypedSchema<T extends ZodSchema>(formSchema: T): T;
|
|
16784
17180
|
|
|
@@ -16846,6 +17242,7 @@ export declare const useCountryPhoneCode: (countryCode: MaybeRef<string>) => Com
|
|
|
16846
17242
|
|
|
16847
17243
|
/**
|
|
16848
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.
|
|
16849
17246
|
*/
|
|
16850
17247
|
export declare interface UseForm<T> {
|
|
16851
17248
|
validationSchema: T;
|
|
@@ -16862,14 +17259,16 @@ export declare interface UseForm<T> {
|
|
|
16862
17259
|
* with functions to "reset" the data (sets values to default value) and a function to execute the
|
|
16863
17260
|
* successful form validation process (through a callback).
|
|
16864
17261
|
*
|
|
16865
|
-
* @
|
|
16866
|
-
*
|
|
16867
|
-
* @
|
|
16868
|
-
* @
|
|
16869
|
-
* @returns
|
|
16870
|
-
* @returns
|
|
16871
|
-
* @returns
|
|
16872
|
-
* @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}.
|
|
16873
17272
|
* When the validation is successful it calls the callback so the submit process can continue
|
|
16874
17273
|
*
|
|
16875
17274
|
* @example
|