@adyen/bento-vue2 1.74.0 → 1.76.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/index.d.ts +1693 -616
- package/dist/assets/accordion-item.css +1 -1
- package/dist/assets/action-bar.css +1 -1
- package/dist/assets/base-modal.css +1 -1
- package/dist/assets/button-actions.css +1 -1
- package/dist/assets/calendar.css +1 -1
- package/dist/assets/card.css +1 -1
- package/dist/assets/data-grid-template.css +1 -1
- package/dist/assets/data-grid.css +1 -1
- package/dist/assets/date-picker.css +1 -1
- package/dist/assets/date-range-picker.css +1 -1
- package/dist/assets/dialog-page.css +1 -1
- package/dist/assets/dropdown-tag.css +1 -1
- package/dist/assets/file-uploader.css +1 -1
- package/dist/assets/filter-bar.css +1 -1
- package/dist/assets/header-meta.css +1 -1
- package/dist/assets/input-field-password.css +1 -1
- package/dist/assets/input-field.css +1 -1
- package/dist/assets/inspector.css +1 -1
- package/dist/assets/modal-fullscreen.css +1 -1
- package/dist/assets/selection-card-group.css +1 -1
- package/dist/assets/sidepanel.css +1 -1
- package/dist/assets/timeline-item.css +1 -1
- package/dist/assets/use-cached-selected-values.css +1 -1
- package/dist/checkbox.js +2 -2
- package/dist/chunks/calendar.Fm_dfQC5.js +1871 -0
- package/dist/chunks/calendar.Fm_dfQC5.js.map +1 -0
- package/dist/chunks/{checkbox-group.DETXTJqI.js → checkbox-group.CtNVRcmP.js} +2 -2
- package/dist/chunks/{checkbox-group.DETXTJqI.js.map → checkbox-group.CtNVRcmP.js.map} +1 -1
- package/dist/chunks/{checkbox.BPtHAAEa.js → checkbox.nyUc0gLb.js} +18 -18
- package/dist/chunks/{checkbox.BPtHAAEa.js.map → checkbox.nyUc0gLb.js.map} +1 -1
- package/dist/chunks/{code-snippet.VtrsOTEC.js → code-snippet.DFf3KMSi.js} +2 -2
- package/dist/chunks/{code-snippet.VtrsOTEC.js.map → code-snippet.DFf3KMSi.js.map} +1 -1
- package/dist/chunks/constructNow.CHWWeLPc.js +8 -0
- package/dist/chunks/constructNow.CHWWeLPc.js.map +1 -0
- package/dist/chunks/{currency.DDB4G_A8.js → currency.AvvbekWO.js} +15 -14
- package/dist/chunks/{currency.DDB4G_A8.js.map → currency.AvvbekWO.js.map} +1 -1
- package/dist/chunks/{dashboard-section.jIpBvP6X.js → dashboard-section.D1l7wDX3.js} +2 -2
- package/dist/chunks/{dashboard-section.jIpBvP6X.js.map → dashboard-section.D1l7wDX3.js.map} +1 -1
- package/dist/chunks/{data-grid-template.CozTcWQ0.js → data-grid-template.DGUDqzjj.js} +2 -2
- package/dist/chunks/{data-grid-template.CozTcWQ0.js.map → data-grid-template.DGUDqzjj.js.map} +1 -1
- package/dist/chunks/{data-grid.DN9xml8y.js → data-grid.B5aCkT0o.js} +1257 -1223
- package/dist/chunks/data-grid.B5aCkT0o.js.map +1 -0
- package/dist/chunks/{date-picker.DoYYzWcA.js → date-picker.DImAYvoM.js} +14 -14
- package/dist/chunks/date-picker.DImAYvoM.js.map +1 -0
- package/dist/chunks/date-range-picker.DgZMERzx.js +914 -0
- package/dist/chunks/date-range-picker.DgZMERzx.js.map +1 -0
- package/dist/chunks/{get-date-locale.CAyOIbcp.js → differenceInMonths.C8FyCrav.js} +580 -364
- package/dist/chunks/differenceInMonths.C8FyCrav.js.map +1 -0
- package/dist/chunks/dropdown-tag.CpvU8eSZ.js +260 -0
- package/dist/chunks/dropdown-tag.CpvU8eSZ.js.map +1 -0
- package/dist/chunks/{dropdown.BOvtYKXS.js → dropdown.RxD2TqnP.js} +14 -14
- package/dist/chunks/{dropdown.BOvtYKXS.js.map → dropdown.RxD2TqnP.js.map} +1 -1
- package/dist/chunks/es6.MoTTyETW.js.map +1 -1
- package/dist/chunks/{filter-bar.DzHJi42d.js → filter-bar.C0S87JZD.js} +511 -486
- package/dist/chunks/filter-bar.C0S87JZD.js.map +1 -0
- package/dist/chunks/getRoundingMethod.C3eaeGLR.js +10 -0
- package/dist/chunks/getRoundingMethod.C3eaeGLR.js.map +1 -0
- package/dist/chunks/{index.BrH1t1iu.js → getTimezoneOffsetInMilliseconds.BW7U6PxE.js} +254 -177
- package/dist/chunks/getTimezoneOffsetInMilliseconds.BW7U6PxE.js.map +1 -0
- package/dist/chunks/header-meta.D-6dL1Vg.js +170 -0
- package/dist/chunks/header-meta.D-6dL1Vg.js.map +1 -0
- package/dist/chunks/{header-with-views.t5Fr63SD.js → header-with-views.j16q5wEc.js} +4 -4
- package/dist/chunks/{header-with-views.t5Fr63SD.js.map → header-with-views.j16q5wEc.js.map} +1 -1
- package/dist/chunks/{header.DwSyDQ68.js → header.DoWKsA15.js} +2 -2
- package/dist/chunks/{header.DwSyDQ68.js.map → header.DoWKsA15.js.map} +1 -1
- package/dist/chunks/{input-field-password.Dm3HYonF.js → input-field-password.CSfXqEbT.js} +47 -38
- package/dist/chunks/input-field-password.CSfXqEbT.js.map +1 -0
- package/dist/chunks/{input-field-phone-number.bZauIuHJ.js → input-field-phone-number.oa4hXQdK.js} +3 -3
- package/dist/chunks/{input-field-phone-number.bZauIuHJ.js.map → input-field-phone-number.oa4hXQdK.js.map} +1 -1
- package/dist/chunks/input-field.DdQu3b1-.js +161 -0
- package/dist/chunks/input-field.DdQu3b1-.js.map +1 -0
- package/dist/chunks/{pagination.CKD9FDrA.js → pagination.C0YW_A_o.js} +2 -2
- package/dist/chunks/{pagination.CKD9FDrA.js.map → pagination.C0YW_A_o.js.map} +1 -1
- package/dist/chunks/radio-group.AcYMFudv.js.map +1 -1
- package/dist/chunks/{rich-text-editor.BZgQ578S.js → rich-text-editor.eYW8X_YP.js} +354 -352
- package/dist/chunks/{rich-text-editor.BZgQ578S.js.map → rich-text-editor.eYW8X_YP.js.map} +1 -1
- package/dist/chunks/{search-bar.c-w7Uky2.js → search-bar.DJVfPz-f.js} +3 -3
- package/dist/chunks/{search-bar.c-w7Uky2.js.map → search-bar.DJVfPz-f.js.map} +1 -1
- package/dist/chunks/{secondary-nav.D69COlqF.js → secondary-nav.BFiTQaag.js} +2 -2
- package/dist/chunks/{secondary-nav.D69COlqF.js.map → secondary-nav.BFiTQaag.js.map} +1 -1
- package/dist/chunks/{selection-card-group.8UIir78G.js → selection-card-group.D4rcUyvV.js} +58 -120
- package/dist/chunks/{selection-card-group.8UIir78G.js.map → selection-card-group.D4rcUyvV.js.map} +1 -1
- package/dist/chunks/textarea.CIQuLWQ8.js.map +1 -1
- package/dist/chunks/{timeline-item.VSw9vKdO.js → timeline-item.CZBuknZ_.js} +156 -168
- package/dist/chunks/timeline-item.CZBuknZ_.js.map +1 -0
- package/dist/chunks/{use-cached-selected-values.IsfhJHxQ.js → use-cached-selected-values.BZd3CTeP.js} +334 -314
- package/dist/chunks/use-cached-selected-values.BZd3CTeP.js.map +1 -0
- package/dist/code-snippet.js +1 -1
- package/dist/currency.js +1 -1
- package/dist/dashboard-template.js +1 -1
- package/dist/data-grid-template.js +1 -1
- package/dist/data-grid.js +1 -1
- package/dist/date-picker.js +2 -2
- package/dist/date-range-picker.js +2 -2
- package/dist/dropdown.js +3 -3
- package/dist/filter-bar.js +1 -1
- package/dist/header-with-views.js +1 -1
- package/dist/header.js +1 -1
- package/dist/index.js +221 -220
- 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/internal.js +3 -3
- package/dist/pagination.js +1 -1
- package/dist/rich-text-editor.js +1 -1
- package/dist/search-bar.js +2 -2
- package/dist/secondary-nav.js +1 -1
- package/dist/selection-card.js +1 -1
- package/dist/styles/bento-dark.css +7 -5
- package/dist/styles/bento-light.css +7 -5
- package/dist/styles/bento.css +7 -5
- package/dist/styles/legacy.css +7 -5
- package/dist/styles/styleguide.css +7 -5
- package/dist/timeline.js +1 -1
- package/dist/web-types.json +692 -1390
- package/package.json +12 -27
- package/dist/chunks/_commonjsHelpers.C6fGbg64.js +0 -7
- package/dist/chunks/_commonjsHelpers.C6fGbg64.js.map +0 -1
- package/dist/chunks/calendar.EfqJlztU.js +0 -2093
- package/dist/chunks/calendar.EfqJlztU.js.map +0 -1
- package/dist/chunks/data-grid.DN9xml8y.js.map +0 -1
- package/dist/chunks/date-picker.DoYYzWcA.js.map +0 -1
- package/dist/chunks/date-range-picker.C_pJ8yH5.js +0 -917
- package/dist/chunks/date-range-picker.C_pJ8yH5.js.map +0 -1
- package/dist/chunks/dropdown-tag.DBnurtCQ.js +0 -245
- package/dist/chunks/dropdown-tag.DBnurtCQ.js.map +0 -1
- package/dist/chunks/filter-bar.DzHJi42d.js.map +0 -1
- package/dist/chunks/get-date-locale.CAyOIbcp.js.map +0 -1
- package/dist/chunks/header-meta.uiIO1wHP.js +0 -185
- package/dist/chunks/header-meta.uiIO1wHP.js.map +0 -1
- package/dist/chunks/index.BrH1t1iu.js.map +0 -1
- package/dist/chunks/index.BxBB1rsx.js +0 -15
- package/dist/chunks/index.BxBB1rsx.js.map +0 -1
- package/dist/chunks/input-field-password.Dm3HYonF.js.map +0 -1
- package/dist/chunks/input-field.D52XYEzU.js +0 -157
- package/dist/chunks/input-field.D52XYEzU.js.map +0 -1
- package/dist/chunks/timeline-item.VSw9vKdO.js.map +0 -1
- package/dist/chunks/use-cached-selected-values.IsfhJHxQ.js.map +0 -1
package/dist/@types/index.d.ts
CHANGED
|
@@ -141,12 +141,6 @@ declare type __VLS_NonUndefinedable_59<T> = T extends undefined ? never : T;
|
|
|
141
141
|
|
|
142
142
|
declare type __VLS_NonUndefinedable_6<T> = T extends undefined ? never : T;
|
|
143
143
|
|
|
144
|
-
declare type __VLS_NonUndefinedable_60<T> = T extends undefined ? never : T;
|
|
145
|
-
|
|
146
|
-
declare type __VLS_NonUndefinedable_61<T> = T extends undefined ? never : T;
|
|
147
|
-
|
|
148
|
-
declare type __VLS_NonUndefinedable_62<T> = T extends undefined ? never : T;
|
|
149
|
-
|
|
150
144
|
declare type __VLS_NonUndefinedable_7<T> = T extends undefined ? never : T;
|
|
151
145
|
|
|
152
146
|
declare type __VLS_NonUndefinedable_8<T> = T extends undefined ? never : T;
|
|
@@ -657,33 +651,6 @@ declare type __VLS_TypePropsToRuntimeProps_6<T> = {
|
|
|
657
651
|
};
|
|
658
652
|
};
|
|
659
653
|
|
|
660
|
-
declare type __VLS_TypePropsToRuntimeProps_60<T> = {
|
|
661
|
-
[K in keyof T]-?: {} extends Pick<T, K> ? {
|
|
662
|
-
type: PropType<__VLS_NonUndefinedable_60<T[K]>>;
|
|
663
|
-
} : {
|
|
664
|
-
type: PropType<T[K]>;
|
|
665
|
-
required: true;
|
|
666
|
-
};
|
|
667
|
-
};
|
|
668
|
-
|
|
669
|
-
declare type __VLS_TypePropsToRuntimeProps_61<T> = {
|
|
670
|
-
[K in keyof T]-?: {} extends Pick<T, K> ? {
|
|
671
|
-
type: PropType<__VLS_NonUndefinedable_61<T[K]>>;
|
|
672
|
-
} : {
|
|
673
|
-
type: PropType<T[K]>;
|
|
674
|
-
required: true;
|
|
675
|
-
};
|
|
676
|
-
};
|
|
677
|
-
|
|
678
|
-
declare type __VLS_TypePropsToRuntimeProps_62<T> = {
|
|
679
|
-
[K in keyof T]-?: {} extends Pick<T, K> ? {
|
|
680
|
-
type: PropType<__VLS_NonUndefinedable_62<T[K]>>;
|
|
681
|
-
} : {
|
|
682
|
-
type: PropType<T[K]>;
|
|
683
|
-
required: true;
|
|
684
|
-
};
|
|
685
|
-
};
|
|
686
|
-
|
|
687
654
|
declare type __VLS_TypePropsToRuntimeProps_7<T> = {
|
|
688
655
|
[K in keyof T]-?: {} extends Pick<T, K> ? {
|
|
689
656
|
type: PropType<__VLS_NonUndefinedable_7<T[K]>>;
|
|
@@ -1023,24 +990,6 @@ declare type __VLS_WithDefaults_56<P, D> = {
|
|
|
1023
990
|
} : P[K];
|
|
1024
991
|
};
|
|
1025
992
|
|
|
1026
|
-
declare type __VLS_WithDefaults_57<P, D> = {
|
|
1027
|
-
[K in keyof Pick<P, keyof P>]: K extends keyof D ? P[K] & {
|
|
1028
|
-
default: D[K];
|
|
1029
|
-
} : P[K];
|
|
1030
|
-
};
|
|
1031
|
-
|
|
1032
|
-
declare type __VLS_WithDefaults_58<P, D> = {
|
|
1033
|
-
[K in keyof Pick<P, keyof P>]: K extends keyof D ? P[K] & {
|
|
1034
|
-
default: D[K];
|
|
1035
|
-
} : P[K];
|
|
1036
|
-
};
|
|
1037
|
-
|
|
1038
|
-
declare type __VLS_WithDefaults_59<P, D> = {
|
|
1039
|
-
[K in keyof Pick<P, keyof P>]: K extends keyof D ? P[K] & {
|
|
1040
|
-
default: D[K];
|
|
1041
|
-
} : P[K];
|
|
1042
|
-
};
|
|
1043
|
-
|
|
1044
993
|
declare type __VLS_WithDefaults_6<P, D> = {
|
|
1045
994
|
[K in keyof Pick<P, keyof P>]: K extends keyof D ? P[K] & {
|
|
1046
995
|
default: D[K];
|
|
@@ -1377,6 +1326,12 @@ declare type __VLS_WithTemplateSlots_56<T, S> = T & {
|
|
|
1377
1326
|
};
|
|
1378
1327
|
};
|
|
1379
1328
|
|
|
1329
|
+
declare type __VLS_WithTemplateSlots_57<T, S> = T & {
|
|
1330
|
+
new (): {
|
|
1331
|
+
$slots: S;
|
|
1332
|
+
};
|
|
1333
|
+
};
|
|
1334
|
+
|
|
1380
1335
|
declare type __VLS_WithTemplateSlots_6<T, S> = T & {
|
|
1381
1336
|
new (): {
|
|
1382
1337
|
$slots: S;
|
|
@@ -1966,7 +1921,7 @@ export declare type BentoAvatarListboxOptionItem = Omit<BentoListboxOptionItem,
|
|
|
1966
1921
|
|
|
1967
1922
|
export declare type BentoAvatarListboxOptions = Array<BentoAvatarListboxOptionItem>;
|
|
1968
1923
|
|
|
1969
|
-
export declare const BentoBaseFilter: __VLS_WithTemplateSlots_14<DefineComponent<
|
|
1924
|
+
export declare const BentoBaseFilter: __VLS_WithTemplateSlots_14<DefineComponent<__VLS_WithDefaults_21<__VLS_TypePropsToRuntimeProps_21<BentoBaseFilterProps_2<BentoFilterBarValue, string>>, {
|
|
1970
1925
|
appliedFiltersCount: any;
|
|
1971
1926
|
buttonLabel: any;
|
|
1972
1927
|
buttonSecondaryLabel: any;
|
|
@@ -1982,7 +1937,7 @@ tooltipPosition: any;
|
|
|
1982
1937
|
value: any;
|
|
1983
1938
|
}>, {
|
|
1984
1939
|
closePopover: () => void;
|
|
1985
|
-
}, {}, {}, {}, ComponentOptionsMixin, ComponentOptionsMixin, BaseFilterEvent[], string, Readonly<ExtractPropTypes<
|
|
1940
|
+
}, {}, {}, {}, ComponentOptionsMixin, ComponentOptionsMixin, BaseFilterEvent[], string, Readonly<ExtractPropTypes<__VLS_WithDefaults_21<__VLS_TypePropsToRuntimeProps_21<BentoBaseFilterProps_2<BentoFilterBarValue, string>>, {
|
|
1986
1941
|
appliedFiltersCount: any;
|
|
1987
1942
|
buttonLabel: any;
|
|
1988
1943
|
buttonSecondaryLabel: any;
|
|
@@ -3352,7 +3307,7 @@ export declare type BentoCheckboxType = boolean | BentoMultiCheckboxType;
|
|
|
3352
3307
|
* `
|
|
3353
3308
|
* }
|
|
3354
3309
|
*/
|
|
3355
|
-
export declare const BentoChip: DefineComponent<
|
|
3310
|
+
export declare const BentoChip: DefineComponent<__VLS_WithDefaults_12<__VLS_TypePropsToRuntimeProps_12<BentoChipProps>, {
|
|
3356
3311
|
disabled: boolean;
|
|
3357
3312
|
readonly: boolean;
|
|
3358
3313
|
error: boolean;
|
|
@@ -3360,7 +3315,7 @@ condensed: boolean;
|
|
|
3360
3315
|
characterLimit: any;
|
|
3361
3316
|
}>, {}, {}, {}, {}, ComponentOptionsMixin, ComponentOptionsMixin, {
|
|
3362
3317
|
click: () => void;
|
|
3363
|
-
}, string, Readonly<ExtractPropTypes<
|
|
3318
|
+
}, string, Readonly<ExtractPropTypes<__VLS_WithDefaults_12<__VLS_TypePropsToRuntimeProps_12<BentoChipProps>, {
|
|
3364
3319
|
disabled: boolean;
|
|
3365
3320
|
readonly: boolean;
|
|
3366
3321
|
error: boolean;
|
|
@@ -3442,7 +3397,7 @@ export declare const BentoClickOutsideDirective: {
|
|
|
3442
3397
|
* `
|
|
3443
3398
|
* }
|
|
3444
3399
|
*/
|
|
3445
|
-
export declare const BentoCodeSnippet: __VLS_WithTemplateSlots_12<DefineComponent<
|
|
3400
|
+
export declare const BentoCodeSnippet: __VLS_WithTemplateSlots_12<DefineComponent<__VLS_WithDefaults_13<__VLS_TypePropsToRuntimeProps_13<BentoCodeSnippetProps>, {
|
|
3446
3401
|
actionable: boolean;
|
|
3447
3402
|
actionableText: any;
|
|
3448
3403
|
content: string;
|
|
@@ -3452,7 +3407,7 @@ lang: BentoCodeSnippetSupportedLanguage;
|
|
|
3452
3407
|
langLabel: any;
|
|
3453
3408
|
loading: boolean;
|
|
3454
3409
|
variant: BentoCodeSnippetVariant;
|
|
3455
|
-
}>, {}, {}, {}, {}, ComponentOptionsMixin, ComponentOptionsMixin, BentoCodeSnippetEvent[], string, Readonly<ExtractPropTypes<
|
|
3410
|
+
}>, {}, {}, {}, {}, ComponentOptionsMixin, ComponentOptionsMixin, BentoCodeSnippetEvent[], string, Readonly<ExtractPropTypes<__VLS_WithDefaults_13<__VLS_TypePropsToRuntimeProps_13<BentoCodeSnippetProps>, {
|
|
3456
3411
|
actionable: boolean;
|
|
3457
3412
|
actionableText: any;
|
|
3458
3413
|
content: string;
|
|
@@ -3565,7 +3520,7 @@ export declare interface BentoColumn {
|
|
|
3565
3520
|
cellActions?: BentoColumnCellActionsProp;
|
|
3566
3521
|
}
|
|
3567
3522
|
|
|
3568
|
-
declare type BentoColumnCellAction = OmitStrict<BentoButtonActionObject, 'variant' | 'event' | 'title' | 'icon' | 'state'> & {
|
|
3523
|
+
export declare type BentoColumnCellAction = OmitStrict<BentoButtonActionObject, 'variant' | 'event' | 'title' | 'icon' | 'state'> & {
|
|
3569
3524
|
title?: string;
|
|
3570
3525
|
event?: BentoColumnCellActionEvent;
|
|
3571
3526
|
isShort?: true;
|
|
@@ -3588,7 +3543,7 @@ declare type BentoColumnCellActions = Array<BentoColumnCellAction>;
|
|
|
3588
3543
|
|
|
3589
3544
|
declare type BentoColumnCellActionsByCellDataFn = (rowDataItem: BentoDatagridDataItem, columnKey: string) => BentoColumnCellActions;
|
|
3590
3545
|
|
|
3591
|
-
declare type BentoColumnCellActionsProp = BentoColumnCellActions | BentoColumnCellActionsByCellDataFn;
|
|
3546
|
+
export declare type BentoColumnCellActionsProp = BentoColumnCellActions | BentoColumnCellActionsByCellDataFn;
|
|
3592
3547
|
|
|
3593
3548
|
declare type BentoColumnCellActionVariant = 'copy' | 'edit' | 'open' | 'more';
|
|
3594
3549
|
|
|
@@ -3617,11 +3572,11 @@ export declare interface BentoColumnWidthOverridesLookup {
|
|
|
3617
3572
|
* `
|
|
3618
3573
|
* }
|
|
3619
3574
|
*/
|
|
3620
|
-
export declare const BentoCountry: DefineComponent<
|
|
3575
|
+
export declare const BentoCountry: DefineComponent<__VLS_WithDefaults_14<__VLS_TypePropsToRuntimeProps_14<BentoCountryProps>, {
|
|
3621
3576
|
code: BentoCountryCode;
|
|
3622
3577
|
label: any;
|
|
3623
3578
|
variant: BentoCountryVariant;
|
|
3624
|
-
}>, {}, {}, {}, {}, ComponentOptionsMixin, ComponentOptionsMixin, {}, string, Readonly<ExtractPropTypes<
|
|
3579
|
+
}>, {}, {}, {}, {}, ComponentOptionsMixin, ComponentOptionsMixin, {}, string, Readonly<ExtractPropTypes<__VLS_WithDefaults_14<__VLS_TypePropsToRuntimeProps_14<BentoCountryProps>, {
|
|
3625
3580
|
code: BentoCountryCode;
|
|
3626
3581
|
label: any;
|
|
3627
3582
|
variant: BentoCountryVariant;
|
|
@@ -3937,13 +3892,13 @@ export declare enum BentoCountryVariant {
|
|
|
3937
3892
|
* `
|
|
3938
3893
|
* }
|
|
3939
3894
|
*/
|
|
3940
|
-
export declare const BentoCurrency: DefineComponent<
|
|
3895
|
+
export declare const BentoCurrency: DefineComponent<__VLS_WithDefaults_15<__VLS_TypePropsToRuntimeProps_15<BentoCurrencyProps>, {
|
|
3941
3896
|
currency: BentoCurrencyISOCode;
|
|
3942
3897
|
disableTypography: boolean;
|
|
3943
3898
|
majorUnits: boolean;
|
|
3944
3899
|
value: any;
|
|
3945
3900
|
currencySign: string;
|
|
3946
|
-
}>, {}, {}, {}, {}, ComponentOptionsMixin, ComponentOptionsMixin, {}, string, Readonly<ExtractPropTypes<
|
|
3901
|
+
}>, {}, {}, {}, {}, ComponentOptionsMixin, ComponentOptionsMixin, {}, string, Readonly<ExtractPropTypes<__VLS_WithDefaults_15<__VLS_TypePropsToRuntimeProps_15<BentoCurrencyProps>, {
|
|
3947
3902
|
currency: BentoCurrencyISOCode;
|
|
3948
3903
|
disableTypography: boolean;
|
|
3949
3904
|
majorUnits: boolean;
|
|
@@ -4190,7 +4145,7 @@ export declare interface BentoCurrencyProps {
|
|
|
4190
4145
|
* `
|
|
4191
4146
|
* }
|
|
4192
4147
|
*/
|
|
4193
|
-
export declare const BentoDashboardSection:
|
|
4148
|
+
export declare const BentoDashboardSection: __VLS_WithTemplateSlots_56<DefineComponent<__VLS_WithDefaults_56<__VLS_TypePropsToRuntimeProps_59<{
|
|
4194
4149
|
/**
|
|
4195
4150
|
* The header of the section
|
|
4196
4151
|
*/
|
|
@@ -4201,7 +4156,7 @@ header: BentoDashboardTemplateHeader;
|
|
|
4201
4156
|
halfWidth?: boolean;
|
|
4202
4157
|
}>, {
|
|
4203
4158
|
halfWidth: boolean;
|
|
4204
|
-
}>, {}, {}, {}, {}, ComponentOptionsMixin, ComponentOptionsMixin, {}, string, Readonly<ExtractPropTypes<
|
|
4159
|
+
}>, {}, {}, {}, {}, ComponentOptionsMixin, ComponentOptionsMixin, {}, string, Readonly<ExtractPropTypes<__VLS_WithDefaults_56<__VLS_TypePropsToRuntimeProps_59<{
|
|
4205
4160
|
/**
|
|
4206
4161
|
* The header of the section
|
|
4207
4162
|
*/
|
|
@@ -4249,7 +4204,7 @@ halfWidth: boolean;
|
|
|
4249
4204
|
* `
|
|
4250
4205
|
* }
|
|
4251
4206
|
*/
|
|
4252
|
-
export declare const BentoDashboardTemplate:
|
|
4207
|
+
export declare const BentoDashboardTemplate: __VLS_WithTemplateSlots_55<DefineComponent<__VLS_WithDefaults_55<__VLS_TypePropsToRuntimeProps_58<{
|
|
4253
4208
|
/**
|
|
4254
4209
|
* The header that goes to the top of the template
|
|
4255
4210
|
*/
|
|
@@ -4272,7 +4227,7 @@ stickyFilters?: boolean;
|
|
|
4272
4227
|
tabs: any;
|
|
4273
4228
|
stickyTabs: boolean;
|
|
4274
4229
|
stickyFilters: boolean;
|
|
4275
|
-
}>, {}, {}, {}, {}, ComponentOptionsMixin, ComponentOptionsMixin, {}, string, Readonly<ExtractPropTypes<
|
|
4230
|
+
}>, {}, {}, {}, {}, ComponentOptionsMixin, ComponentOptionsMixin, {}, string, Readonly<ExtractPropTypes<__VLS_WithDefaults_55<__VLS_TypePropsToRuntimeProps_58<{
|
|
4276
4231
|
/**
|
|
4277
4232
|
* The header that goes to the top of the template
|
|
4278
4233
|
*/
|
|
@@ -4740,7 +4695,7 @@ default: boolean;
|
|
|
4740
4695
|
};
|
|
4741
4696
|
}, {
|
|
4742
4697
|
onEmptyStateClearResetButtonClick: () => void;
|
|
4743
|
-
}, {}, {}, {}, ComponentOptionsMixin, ComponentOptionsMixin, (BentoDatagridEvent.COLUMNS | BentoDatagridEvent.COLUMN_RESIZE | BentoDatagridEvent.ITEMS_PAGE | BentoDatagridEvent.NAVIGATE | BentoDatagridEvent.NESTED_CONTENT_TOGGLED | BentoDatagridEvent.FILTER_SEARCH_INPUT | BentoDatagridEvent.FILTER_SEARCH_CLEAR | BentoDatagridEvent.UPDATE_COLUMNS | BentoDatagridEvent.UPDATE_CONDENSED | BentoDatagridEvent.UPDATE_FILTERS | BentoDatagridEvent.UPDATE_FILTER_VALUES | BentoDatagridEvent.UPDATE_FILTER_VALUES_OBJECT | BentoDatagridEvent.UPDATE_FILTER_SEARCH_TERM | BentoDatagridEvent.UPDATE_PAGINATION | BentoDatagridEvent.UPDATE_SELECTION | BentoDatagridEvent.UPDATE_SHOW_MORE | BentoDatagridEvent.UPDATE_SORT_BY | BentoDatagridEvent.ROW_CLICK | BentoDatagridEvent.SELECT | BentoDatagridEvent.SELECT_ALL_ACROSS_PAGES | BentoDatagridEvent.SORT)[], string, Readonly<ExtractPropTypes< {
|
|
4698
|
+
}, {}, {}, {}, ComponentOptionsMixin, ComponentOptionsMixin, (BentoDatagridEvent.COLUMNS | BentoDatagridEvent.COLUMN_RESIZE | BentoDatagridEvent.ITEMS_PAGE | BentoDatagridEvent.NAVIGATE | BentoDatagridEvent.NESTED_CONTENT_TOGGLED | BentoDatagridEvent.FILTER_SEARCH_INPUT | BentoDatagridEvent.FILTER_SEARCH_CLEAR | BentoDatagridEvent.UPDATE_COLUMNS | BentoDatagridEvent.UPDATE_CONDENSED | BentoDatagridEvent.UPDATE_FILTERS | BentoDatagridEvent.UPDATE_FILTER_VALUES | BentoDatagridEvent.UPDATE_FILTER_VALUES_OBJECT | BentoDatagridEvent.UPDATE_FILTER_SEARCH_TERM | BentoDatagridEvent.UPDATE_PAGINATION | BentoDatagridEvent.UPDATE_SELECTION | BentoDatagridEvent.UPDATE_SHOW_MORE | BentoDatagridEvent.UPDATE_SORT_BY | BentoDatagridEvent.ROW_CLICK | BentoDatagridEvent.SELECT | BentoDatagridEvent.SELECT_ALL_ACROSS_PAGES | BentoDatagridEvent.SELECT_ALL_CURRENT_RESULTS | BentoDatagridEvent.DESELECT_ALL_CURRENT_RESULTS | BentoDatagridEvent.SORT)[], string, Readonly<ExtractPropTypes< {
|
|
4744
4699
|
/**
|
|
4745
4700
|
* When true, will emit a 'rowClick' event when a row is clicked. Will add cursor: pointer to rows.
|
|
4746
4701
|
*/
|
|
@@ -5148,6 +5103,8 @@ export declare enum BentoDatagridEvent {
|
|
|
5148
5103
|
ROW_CLICK = "row-click",
|
|
5149
5104
|
SELECT = "select",
|
|
5150
5105
|
SELECT_ALL_ACROSS_PAGES = "select-all-across-pages",
|
|
5106
|
+
SELECT_ALL_CURRENT_RESULTS = "select-all-current-results",
|
|
5107
|
+
DESELECT_ALL_CURRENT_RESULTS = "deselect-all-current-results",
|
|
5151
5108
|
SORT = "sort"
|
|
5152
5109
|
}
|
|
5153
5110
|
|
|
@@ -5157,9 +5114,9 @@ export declare type BentoDatagridIsDataItemDisabledFn = (item: BentoDatagridData
|
|
|
5157
5114
|
|
|
5158
5115
|
export declare type BentoDatagridPaginationProps = BentoPaginationProps;
|
|
5159
5116
|
|
|
5160
|
-
declare type BentoDataGridRowActionsFn = (rowDataItem: BentoDatagridDataItem) => BentoColumnCellActions;
|
|
5117
|
+
export declare type BentoDataGridRowActionsFn = (rowDataItem: BentoDatagridDataItem) => BentoColumnCellActions;
|
|
5161
5118
|
|
|
5162
|
-
declare type BentoDataGridRowActionsProp = BentoColumnCellActions | BentoDataGridRowActionsFn;
|
|
5119
|
+
export declare type BentoDataGridRowActionsProp = BentoColumnCellActions | BentoDataGridRowActionsFn;
|
|
5163
5120
|
|
|
5164
5121
|
export declare type BentoDatagridSelection = Array<BentoDatagridDataItemId>;
|
|
5165
5122
|
|
|
@@ -5318,7 +5275,7 @@ declare interface BentoDataGridSummaryCellProps {
|
|
|
5318
5275
|
* `
|
|
5319
5276
|
* }
|
|
5320
5277
|
*/
|
|
5321
|
-
export declare const BentoDataGridTemplate:
|
|
5278
|
+
export declare const BentoDataGridTemplate: __VLS_WithTemplateSlots_57<DefineComponent< {
|
|
5322
5279
|
/**
|
|
5323
5280
|
* The header that goes to the top of the template
|
|
5324
5281
|
*/
|
|
@@ -5537,11 +5494,11 @@ export declare type BentoDataGridTemplateTabs = {
|
|
|
5537
5494
|
* `
|
|
5538
5495
|
* }
|
|
5539
5496
|
*/
|
|
5540
|
-
export declare const BentoDate: DefineComponent<
|
|
5497
|
+
export declare const BentoDate: DefineComponent<__VLS_WithDefaults_16<__VLS_TypePropsToRuntimeProps_16<BentoDateProps>, {
|
|
5541
5498
|
date: any;
|
|
5542
5499
|
format: BentoDateFormat;
|
|
5543
5500
|
disableTypography: boolean;
|
|
5544
|
-
}>, {}, {}, {}, {}, ComponentOptionsMixin, ComponentOptionsMixin, {}, string, Readonly<ExtractPropTypes<
|
|
5501
|
+
}>, {}, {}, {}, {}, ComponentOptionsMixin, ComponentOptionsMixin, {}, string, Readonly<ExtractPropTypes<__VLS_WithDefaults_16<__VLS_TypePropsToRuntimeProps_16<BentoDateProps>, {
|
|
5545
5502
|
date: any;
|
|
5546
5503
|
format: BentoDateFormat;
|
|
5547
5504
|
disableTypography: boolean;
|
|
@@ -5924,9 +5881,9 @@ export declare interface BentoDateRangePickerValue {
|
|
|
5924
5881
|
* template: `<bento-divider />`
|
|
5925
5882
|
* }
|
|
5926
5883
|
*/
|
|
5927
|
-
export declare const BentoDivider: DefineComponent<
|
|
5884
|
+
export declare const BentoDivider: DefineComponent<__VLS_WithDefaults_17<__VLS_TypePropsToRuntimeProps_17<BentoDividerProps>, {
|
|
5928
5885
|
variant: BentoDividerVariant;
|
|
5929
|
-
}>, {}, {}, {}, {}, ComponentOptionsMixin, ComponentOptionsMixin, {}, string, Readonly<ExtractPropTypes<
|
|
5886
|
+
}>, {}, {}, {}, {}, ComponentOptionsMixin, ComponentOptionsMixin, {}, string, Readonly<ExtractPropTypes<__VLS_WithDefaults_17<__VLS_TypePropsToRuntimeProps_17<BentoDividerProps>, {
|
|
5930
5887
|
variant: BentoDividerVariant;
|
|
5931
5888
|
}>>>, {
|
|
5932
5889
|
variant: `${BentoDividerVariant}`;
|
|
@@ -6107,79 +6064,18 @@ placeholder: string;
|
|
|
6107
6064
|
* }
|
|
6108
6065
|
* }
|
|
6109
6066
|
*/
|
|
6110
|
-
export declare const BentoDropdownAvatar: DefineComponent<
|
|
6111
|
-
items: () => any[];
|
|
6112
|
-
}>, {}, {}, {}, {}, ComponentOptionsMixin, ComponentOptionsMixin, {
|
|
6113
|
-
input: (selectedValue: BentoListboxSelectedValue) => void;
|
|
6114
|
-
} & {
|
|
6115
|
-
"show-more": () => void;
|
|
6116
|
-
} & {
|
|
6117
|
-
open: () => void;
|
|
6118
|
-
}, string, Readonly<ExtractPropTypes<__VLS_WithDefaults_12<__VLS_TypePropsToRuntimeProps_12<BentoDropdownAvatarProps>, {
|
|
6119
|
-
items: () => any[];
|
|
6120
|
-
}>>>, {
|
|
6121
|
-
items: BentoAvatarListboxOptions;
|
|
6122
|
-
}>;
|
|
6123
|
-
|
|
6124
|
-
export declare interface BentoDropdownAvatarProps extends BentoDropdownProps {
|
|
6125
|
-
/**
|
|
6126
|
-
* The option elements to populate the avatar dropdown with.
|
|
6127
|
-
* It must be an array of {@see BentoAvatarListboxOptions }
|
|
6128
|
-
* @property {string} value.label - Text to be displayed in the option.
|
|
6129
|
-
* @property {string | number} value.value - Value of the option.
|
|
6130
|
-
* @property {string} value.src - Image source of the avatar image.
|
|
6131
|
-
*/
|
|
6132
|
-
items?: BentoAvatarListboxOptions;
|
|
6133
|
-
}
|
|
6134
|
-
|
|
6135
|
-
/**
|
|
6136
|
-
* A Country Dropdown showing a selectable list of countries.
|
|
6137
|
-
*
|
|
6138
|
-
* @example
|
|
6139
|
-
* import { BentoDropdownCountry, BentoCountryCode } from '../../../../..';
|
|
6140
|
-
* import type { BentoCountryListboxOptions } from '../../../../..'
|
|
6141
|
-
*
|
|
6142
|
-
* export default {
|
|
6143
|
-
* components: { BentoDropdown },
|
|
6144
|
-
* template: `
|
|
6145
|
-
* <bento-dropdown-country
|
|
6146
|
-
* v-model="selectedValue"
|
|
6147
|
-
* :disabled="false"
|
|
6148
|
-
* :multiple="true"
|
|
6149
|
-
* :isOptionsDisabled="option => option.value === 2"
|
|
6150
|
-
* :items="options"
|
|
6151
|
-
* />
|
|
6152
|
-
* `,
|
|
6153
|
-
* setup() {
|
|
6154
|
-
* const selectedValue = ref(BentoCountryCode.NL) // Default value
|
|
6155
|
-
* const options: BentoCountryListboxOptions = [
|
|
6156
|
-
* { label: 'Option 1', value: BentoCountryCode.NL },
|
|
6157
|
-
* { label: 'Option 2', value: BentoCountryCode.BE },
|
|
6158
|
-
* ];
|
|
6159
|
-
* return { options, selectedValue };
|
|
6160
|
-
* }
|
|
6161
|
-
* }
|
|
6162
|
-
*/
|
|
6163
|
-
export declare const BentoDropdownCountry: DefineComponent< {
|
|
6067
|
+
export declare const BentoDropdownAvatar: DefineComponent< {
|
|
6164
6068
|
/**
|
|
6165
|
-
* The option elements to populate the
|
|
6166
|
-
* It must be an array of {@see
|
|
6167
|
-
*
|
|
6168
|
-
*
|
|
6069
|
+
* The option elements to populate the avatar dropdown with.
|
|
6070
|
+
* It must be an array of {@see BentoAvatarListboxOptions }
|
|
6071
|
+
* @property {string} value.label - Text to be displayed in the option.
|
|
6072
|
+
* @property {string | number} value.value - Value of the option.
|
|
6073
|
+
* @property {string} value.src - Image source of the avatar image.
|
|
6169
6074
|
*/
|
|
6170
6075
|
items: {
|
|
6171
|
-
type: PropType<
|
|
6076
|
+
type: PropType<BentoAvatarListboxOptions>;
|
|
6172
6077
|
default: () => any[];
|
|
6173
6078
|
};
|
|
6174
|
-
/**
|
|
6175
|
-
* Which label variant to display.
|
|
6176
|
-
* @values iso, name, phone_code, capital
|
|
6177
|
-
*/
|
|
6178
|
-
variant: {
|
|
6179
|
-
type: PropType<BentoCountryVariant | `${BentoCountryVariant}`>;
|
|
6180
|
-
default: BentoCountryVariant;
|
|
6181
|
-
validator: (value: BentoCountryVariant) => boolean;
|
|
6182
|
-
};
|
|
6183
6079
|
search: {
|
|
6184
6080
|
type: PropType<BentoListboxSearchOptions>;
|
|
6185
6081
|
} & {
|
|
@@ -6323,24 +6219,16 @@ input: (selectedValue: BentoListboxSelectedValue) => void;
|
|
|
6323
6219
|
open: () => void;
|
|
6324
6220
|
}, string, Readonly<ExtractPropTypes< {
|
|
6325
6221
|
/**
|
|
6326
|
-
* The option elements to populate the
|
|
6327
|
-
* It must be an array of {@see
|
|
6328
|
-
*
|
|
6329
|
-
*
|
|
6222
|
+
* The option elements to populate the avatar dropdown with.
|
|
6223
|
+
* It must be an array of {@see BentoAvatarListboxOptions }
|
|
6224
|
+
* @property {string} value.label - Text to be displayed in the option.
|
|
6225
|
+
* @property {string | number} value.value - Value of the option.
|
|
6226
|
+
* @property {string} value.src - Image source of the avatar image.
|
|
6330
6227
|
*/
|
|
6331
6228
|
items: {
|
|
6332
|
-
type: PropType<
|
|
6229
|
+
type: PropType<BentoAvatarListboxOptions>;
|
|
6333
6230
|
default: () => any[];
|
|
6334
6231
|
};
|
|
6335
|
-
/**
|
|
6336
|
-
* Which label variant to display.
|
|
6337
|
-
* @values iso, name, phone_code, capital
|
|
6338
|
-
*/
|
|
6339
|
-
variant: {
|
|
6340
|
-
type: PropType<BentoCountryVariant | `${BentoCountryVariant}`>;
|
|
6341
|
-
default: BentoCountryVariant;
|
|
6342
|
-
validator: (value: BentoCountryVariant) => boolean;
|
|
6343
|
-
};
|
|
6344
6232
|
search: {
|
|
6345
6233
|
type: PropType<BentoListboxSearchOptions>;
|
|
6346
6234
|
} & {
|
|
@@ -6481,7 +6369,6 @@ search: BentoListboxSearchOptions;
|
|
|
6481
6369
|
value: BentoListboxSelectedValue;
|
|
6482
6370
|
description: string;
|
|
6483
6371
|
label: string;
|
|
6484
|
-
variant: "name" | "iso" | "phone_code" | "capital" | "custom" | BentoCountryVariant;
|
|
6485
6372
|
required: boolean;
|
|
6486
6373
|
condensed: boolean;
|
|
6487
6374
|
disabled: boolean;
|
|
@@ -6492,7 +6379,7 @@ readonly: boolean;
|
|
|
6492
6379
|
size: BentoDropdownSize | `${BentoDropdownSize}`;
|
|
6493
6380
|
multiple: boolean;
|
|
6494
6381
|
ariaLabel: string;
|
|
6495
|
-
items:
|
|
6382
|
+
items: BentoAvatarListboxOptions;
|
|
6496
6383
|
errorMessage: string;
|
|
6497
6384
|
tooltipText: string;
|
|
6498
6385
|
isOptionDisabled: BentoListboxIsOptionDisabled;
|
|
@@ -6508,8 +6395,19 @@ enableValueLabelPair: boolean;
|
|
|
6508
6395
|
placeholder: string;
|
|
6509
6396
|
}>;
|
|
6510
6397
|
|
|
6398
|
+
export declare interface BentoDropdownAvatarProps extends BentoDropdownProps {
|
|
6399
|
+
/**
|
|
6400
|
+
* The option elements to populate the avatar dropdown with.
|
|
6401
|
+
* It must be an array of {@see BentoAvatarListboxOptions }
|
|
6402
|
+
* @property {string} value.label - Text to be displayed in the option.
|
|
6403
|
+
* @property {string | number} value.value - Value of the option.
|
|
6404
|
+
* @property {string} value.src - Image source of the avatar image.
|
|
6405
|
+
*/
|
|
6406
|
+
items?: BentoAvatarListboxOptions;
|
|
6407
|
+
}
|
|
6408
|
+
|
|
6511
6409
|
/**
|
|
6512
|
-
* A
|
|
6410
|
+
* A Country Dropdown showing a selectable list of countries.
|
|
6513
6411
|
*
|
|
6514
6412
|
* @example
|
|
6515
6413
|
* import { BentoDropdownCountry, BentoCountryCode } from '../../../../..';
|
|
@@ -6518,7 +6416,7 @@ placeholder: string;
|
|
|
6518
6416
|
* export default {
|
|
6519
6417
|
* components: { BentoDropdown },
|
|
6520
6418
|
* template: `
|
|
6521
|
-
* <bento-dropdown-
|
|
6419
|
+
* <bento-dropdown-country
|
|
6522
6420
|
* v-model="selectedValue"
|
|
6523
6421
|
* :disabled="false"
|
|
6524
6422
|
* :multiple="true"
|
|
@@ -6536,94 +6434,1100 @@ placeholder: string;
|
|
|
6536
6434
|
* }
|
|
6537
6435
|
* }
|
|
6538
6436
|
*/
|
|
6539
|
-
export declare const
|
|
6540
|
-
|
|
6541
|
-
|
|
6542
|
-
|
|
6437
|
+
export declare const BentoDropdownCountry: DefineComponent< {
|
|
6438
|
+
/**
|
|
6439
|
+
* The option elements to populate the country dropdown with.
|
|
6440
|
+
* It must be an array of {@see BentoCountryListboxOptions }
|
|
6441
|
+
* * @deprecated {string} value.label - Use BentoDropdown instead of custom labels
|
|
6442
|
+
* * @property {BentoCountryCode | string} value.value - Country code of the option
|
|
6443
|
+
*/
|
|
6444
|
+
items: {
|
|
6445
|
+
type: PropType<BentoCountryListboxOptions>;
|
|
6446
|
+
default: () => any[];
|
|
6447
|
+
};
|
|
6448
|
+
/**
|
|
6449
|
+
* Which label variant to display.
|
|
6450
|
+
* @values iso, name, phone_code, capital
|
|
6451
|
+
*/
|
|
6452
|
+
variant: {
|
|
6453
|
+
type: PropType<BentoCountryVariant | `${BentoCountryVariant}`>;
|
|
6454
|
+
default: BentoCountryVariant;
|
|
6455
|
+
validator: (value: BentoCountryVariant) => boolean;
|
|
6456
|
+
};
|
|
6457
|
+
search: {
|
|
6458
|
+
type: PropType<BentoListboxSearchOptions>;
|
|
6543
6459
|
} & {
|
|
6544
|
-
|
|
6460
|
+
default: any;
|
|
6461
|
+
};
|
|
6462
|
+
value: {
|
|
6463
|
+
type: PropType<BentoListboxSelectedValue>;
|
|
6545
6464
|
} & {
|
|
6546
|
-
|
|
6547
|
-
}
|
|
6548
|
-
|
|
6549
|
-
|
|
6550
|
-
items: BentoCurrencyListboxOptions;
|
|
6551
|
-
}>;
|
|
6552
|
-
|
|
6553
|
-
export declare interface BentoDropdownCurrencyProps extends BentoDropdownProps {
|
|
6554
|
-
/**
|
|
6555
|
-
* The option elements to populate the currency dropdown with.
|
|
6556
|
-
* It must be an array of {@see BentoCurrencyListboxOptions }
|
|
6557
|
-
* @property {string} value.label - Text to be displayed in the option
|
|
6558
|
-
* @property {BentoCurrencyISOCode} value.code - Currency ISO code of the option
|
|
6559
|
-
*/
|
|
6560
|
-
items?: BentoCurrencyListboxOptions;
|
|
6561
|
-
}
|
|
6562
|
-
|
|
6563
|
-
/**
|
|
6564
|
-
* A Payment method Dropdown showing a selectable list of countries.
|
|
6565
|
-
*
|
|
6566
|
-
* @example
|
|
6567
|
-
* import { BentoDropdownPaymentMethod } from '../../../../..';
|
|
6568
|
-
* import type { BentoPaymentMethodListboxOptions } from '../../../../..'
|
|
6569
|
-
*
|
|
6570
|
-
* export default {
|
|
6571
|
-
* components: { BentoDropdownPaymentMethod },
|
|
6572
|
-
* template: `
|
|
6573
|
-
* <bento-dropdown-payment-method
|
|
6574
|
-
* v-model="selectedValue"
|
|
6575
|
-
* :disabled="false"
|
|
6576
|
-
* :multiple="true"
|
|
6577
|
-
* :isOptionsDisabled="option => option.value === 'Visa'"
|
|
6578
|
-
* :items="options"
|
|
6579
|
-
* />
|
|
6580
|
-
* `,
|
|
6581
|
-
* setup() {
|
|
6582
|
-
* const selectedValue = ref('ideal') // Default value
|
|
6583
|
-
* const options: BentoPaymentMethodListboxOptions = [
|
|
6584
|
-
* { label: 'Option 1', value: 'ideal' },
|
|
6585
|
-
* { label: 'Option 2', value: 'visa' },
|
|
6586
|
-
* ];
|
|
6587
|
-
* return { options, selectedValue };
|
|
6588
|
-
* }
|
|
6589
|
-
* }
|
|
6590
|
-
*/
|
|
6591
|
-
export declare const BentoDropdownPaymentMethod: DefineComponent<__VLS_WithDefaults_14<__VLS_TypePropsToRuntimeProps_14<BentoDropdownPaymentMethodProps>, {
|
|
6592
|
-
items: () => any[];
|
|
6593
|
-
}>, {}, {}, {}, {}, ComponentOptionsMixin, ComponentOptionsMixin, {
|
|
6594
|
-
input: (selectedValue: BentoListboxSelectedValue) => void;
|
|
6465
|
+
default: any;
|
|
6466
|
+
};
|
|
6467
|
+
description: {
|
|
6468
|
+
type: PropType<string>;
|
|
6595
6469
|
} & {
|
|
6596
|
-
|
|
6470
|
+
default: any;
|
|
6471
|
+
};
|
|
6472
|
+
label: {
|
|
6473
|
+
type: PropType<string>;
|
|
6597
6474
|
} & {
|
|
6598
|
-
|
|
6599
|
-
}
|
|
6600
|
-
|
|
6601
|
-
|
|
6602
|
-
|
|
6603
|
-
|
|
6604
|
-
|
|
6605
|
-
|
|
6606
|
-
|
|
6607
|
-
|
|
6608
|
-
|
|
6609
|
-
|
|
6610
|
-
|
|
6611
|
-
|
|
6612
|
-
|
|
6613
|
-
|
|
6614
|
-
|
|
6615
|
-
|
|
6616
|
-
|
|
6617
|
-
|
|
6618
|
-
|
|
6619
|
-
|
|
6620
|
-
|
|
6621
|
-
|
|
6622
|
-
|
|
6623
|
-
|
|
6624
|
-
|
|
6625
|
-
|
|
6626
|
-
|
|
6475
|
+
default: any;
|
|
6476
|
+
};
|
|
6477
|
+
required: {
|
|
6478
|
+
type: PropType<boolean>;
|
|
6479
|
+
} & {
|
|
6480
|
+
default: boolean;
|
|
6481
|
+
};
|
|
6482
|
+
condensed: {
|
|
6483
|
+
type: PropType<boolean>;
|
|
6484
|
+
} & {
|
|
6485
|
+
default: boolean;
|
|
6486
|
+
};
|
|
6487
|
+
disabled: {
|
|
6488
|
+
type: PropType<boolean>;
|
|
6489
|
+
} & {
|
|
6490
|
+
default: boolean;
|
|
6491
|
+
};
|
|
6492
|
+
loading: {
|
|
6493
|
+
type: PropType<boolean>;
|
|
6494
|
+
} & {
|
|
6495
|
+
default: boolean;
|
|
6496
|
+
};
|
|
6497
|
+
error: {
|
|
6498
|
+
type: PropType<boolean>;
|
|
6499
|
+
} & {
|
|
6500
|
+
default: boolean;
|
|
6501
|
+
};
|
|
6502
|
+
optional: {
|
|
6503
|
+
type: PropType<boolean>;
|
|
6504
|
+
} & {
|
|
6505
|
+
default: boolean;
|
|
6506
|
+
};
|
|
6507
|
+
readonly: {
|
|
6508
|
+
type: PropType<boolean>;
|
|
6509
|
+
} & {
|
|
6510
|
+
default: boolean;
|
|
6511
|
+
};
|
|
6512
|
+
size: {
|
|
6513
|
+
type: PropType<BentoDropdownSize | "DropdownInputDefault" | "DropdownInputSmall">;
|
|
6514
|
+
} & {
|
|
6515
|
+
default: any;
|
|
6516
|
+
};
|
|
6517
|
+
multiple: {
|
|
6518
|
+
type: PropType<boolean>;
|
|
6519
|
+
} & {
|
|
6520
|
+
default: boolean;
|
|
6521
|
+
};
|
|
6522
|
+
ariaLabel: {
|
|
6523
|
+
type: PropType<string>;
|
|
6524
|
+
} & {
|
|
6525
|
+
default: any;
|
|
6526
|
+
};
|
|
6527
|
+
errorMessage: {
|
|
6528
|
+
type: PropType<string>;
|
|
6529
|
+
} & {
|
|
6530
|
+
default: any;
|
|
6531
|
+
};
|
|
6532
|
+
tooltipText: {
|
|
6533
|
+
type: PropType<string>;
|
|
6534
|
+
} & {
|
|
6535
|
+
default: any;
|
|
6536
|
+
};
|
|
6537
|
+
isOptionDisabled: {
|
|
6538
|
+
type: PropType<(optionValue: BentoListboxOptionItem) => boolean>;
|
|
6539
|
+
} & {
|
|
6540
|
+
default: any;
|
|
6541
|
+
};
|
|
6542
|
+
staticCategories: {
|
|
6543
|
+
type: PropType<boolean>;
|
|
6544
|
+
} & {
|
|
6545
|
+
default: boolean;
|
|
6546
|
+
};
|
|
6547
|
+
hasMoreItems: {
|
|
6548
|
+
type: PropType<boolean>;
|
|
6549
|
+
} & {
|
|
6550
|
+
default: boolean;
|
|
6551
|
+
};
|
|
6552
|
+
lazyLoadType: {
|
|
6553
|
+
type: PropType<"button" | "none" | "automatic" | BentoListboxLazyLoadType>;
|
|
6554
|
+
} & {
|
|
6555
|
+
default: BentoListboxLazyLoadType;
|
|
6556
|
+
};
|
|
6557
|
+
emptyState: {
|
|
6558
|
+
type: PropType<BentoListboxEmptyStateProps>;
|
|
6559
|
+
} & {
|
|
6560
|
+
default: any;
|
|
6561
|
+
};
|
|
6562
|
+
componentLoading: {
|
|
6563
|
+
type: PropType<boolean>;
|
|
6564
|
+
} & {
|
|
6565
|
+
default: boolean;
|
|
6566
|
+
};
|
|
6567
|
+
virtualScroll: {
|
|
6568
|
+
type: PropType<BentoListboxVirtulisationOptions>;
|
|
6569
|
+
} & {
|
|
6570
|
+
default: boolean;
|
|
6571
|
+
};
|
|
6572
|
+
dynamicFiltering: {
|
|
6573
|
+
type: PropType<boolean>;
|
|
6574
|
+
} & {
|
|
6575
|
+
default: boolean;
|
|
6576
|
+
};
|
|
6577
|
+
showSlotContentInMultiple: {
|
|
6578
|
+
type: PropType<boolean>;
|
|
6579
|
+
} & {
|
|
6580
|
+
default: boolean;
|
|
6581
|
+
};
|
|
6582
|
+
enableValueLabelPair: {
|
|
6583
|
+
type: PropType<boolean>;
|
|
6584
|
+
} & {
|
|
6585
|
+
default: boolean;
|
|
6586
|
+
};
|
|
6587
|
+
placeholder: {
|
|
6588
|
+
type: PropType<string>;
|
|
6589
|
+
} & {
|
|
6590
|
+
default: any;
|
|
6591
|
+
};
|
|
6592
|
+
}, {}, {}, {}, {}, ComponentOptionsMixin, ComponentOptionsMixin, {
|
|
6593
|
+
input: (selectedValue: BentoListboxSelectedValue) => void;
|
|
6594
|
+
} & {
|
|
6595
|
+
"show-more": () => void;
|
|
6596
|
+
} & {
|
|
6597
|
+
open: () => void;
|
|
6598
|
+
}, string, Readonly<ExtractPropTypes< {
|
|
6599
|
+
/**
|
|
6600
|
+
* The option elements to populate the country dropdown with.
|
|
6601
|
+
* It must be an array of {@see BentoCountryListboxOptions }
|
|
6602
|
+
* * @deprecated {string} value.label - Use BentoDropdown instead of custom labels
|
|
6603
|
+
* * @property {BentoCountryCode | string} value.value - Country code of the option
|
|
6604
|
+
*/
|
|
6605
|
+
items: {
|
|
6606
|
+
type: PropType<BentoCountryListboxOptions>;
|
|
6607
|
+
default: () => any[];
|
|
6608
|
+
};
|
|
6609
|
+
/**
|
|
6610
|
+
* Which label variant to display.
|
|
6611
|
+
* @values iso, name, phone_code, capital
|
|
6612
|
+
*/
|
|
6613
|
+
variant: {
|
|
6614
|
+
type: PropType<BentoCountryVariant | `${BentoCountryVariant}`>;
|
|
6615
|
+
default: BentoCountryVariant;
|
|
6616
|
+
validator: (value: BentoCountryVariant) => boolean;
|
|
6617
|
+
};
|
|
6618
|
+
search: {
|
|
6619
|
+
type: PropType<BentoListboxSearchOptions>;
|
|
6620
|
+
} & {
|
|
6621
|
+
default: any;
|
|
6622
|
+
};
|
|
6623
|
+
value: {
|
|
6624
|
+
type: PropType<BentoListboxSelectedValue>;
|
|
6625
|
+
} & {
|
|
6626
|
+
default: any;
|
|
6627
|
+
};
|
|
6628
|
+
description: {
|
|
6629
|
+
type: PropType<string>;
|
|
6630
|
+
} & {
|
|
6631
|
+
default: any;
|
|
6632
|
+
};
|
|
6633
|
+
label: {
|
|
6634
|
+
type: PropType<string>;
|
|
6635
|
+
} & {
|
|
6636
|
+
default: any;
|
|
6637
|
+
};
|
|
6638
|
+
required: {
|
|
6639
|
+
type: PropType<boolean>;
|
|
6640
|
+
} & {
|
|
6641
|
+
default: boolean;
|
|
6642
|
+
};
|
|
6643
|
+
condensed: {
|
|
6644
|
+
type: PropType<boolean>;
|
|
6645
|
+
} & {
|
|
6646
|
+
default: boolean;
|
|
6647
|
+
};
|
|
6648
|
+
disabled: {
|
|
6649
|
+
type: PropType<boolean>;
|
|
6650
|
+
} & {
|
|
6651
|
+
default: boolean;
|
|
6652
|
+
};
|
|
6653
|
+
loading: {
|
|
6654
|
+
type: PropType<boolean>;
|
|
6655
|
+
} & {
|
|
6656
|
+
default: boolean;
|
|
6657
|
+
};
|
|
6658
|
+
error: {
|
|
6659
|
+
type: PropType<boolean>;
|
|
6660
|
+
} & {
|
|
6661
|
+
default: boolean;
|
|
6662
|
+
};
|
|
6663
|
+
optional: {
|
|
6664
|
+
type: PropType<boolean>;
|
|
6665
|
+
} & {
|
|
6666
|
+
default: boolean;
|
|
6667
|
+
};
|
|
6668
|
+
readonly: {
|
|
6669
|
+
type: PropType<boolean>;
|
|
6670
|
+
} & {
|
|
6671
|
+
default: boolean;
|
|
6672
|
+
};
|
|
6673
|
+
size: {
|
|
6674
|
+
type: PropType<BentoDropdownSize | "DropdownInputDefault" | "DropdownInputSmall">;
|
|
6675
|
+
} & {
|
|
6676
|
+
default: any;
|
|
6677
|
+
};
|
|
6678
|
+
multiple: {
|
|
6679
|
+
type: PropType<boolean>;
|
|
6680
|
+
} & {
|
|
6681
|
+
default: boolean;
|
|
6682
|
+
};
|
|
6683
|
+
ariaLabel: {
|
|
6684
|
+
type: PropType<string>;
|
|
6685
|
+
} & {
|
|
6686
|
+
default: any;
|
|
6687
|
+
};
|
|
6688
|
+
errorMessage: {
|
|
6689
|
+
type: PropType<string>;
|
|
6690
|
+
} & {
|
|
6691
|
+
default: any;
|
|
6692
|
+
};
|
|
6693
|
+
tooltipText: {
|
|
6694
|
+
type: PropType<string>;
|
|
6695
|
+
} & {
|
|
6696
|
+
default: any;
|
|
6697
|
+
};
|
|
6698
|
+
isOptionDisabled: {
|
|
6699
|
+
type: PropType<(optionValue: BentoListboxOptionItem) => boolean>;
|
|
6700
|
+
} & {
|
|
6701
|
+
default: any;
|
|
6702
|
+
};
|
|
6703
|
+
staticCategories: {
|
|
6704
|
+
type: PropType<boolean>;
|
|
6705
|
+
} & {
|
|
6706
|
+
default: boolean;
|
|
6707
|
+
};
|
|
6708
|
+
hasMoreItems: {
|
|
6709
|
+
type: PropType<boolean>;
|
|
6710
|
+
} & {
|
|
6711
|
+
default: boolean;
|
|
6712
|
+
};
|
|
6713
|
+
lazyLoadType: {
|
|
6714
|
+
type: PropType<"button" | "none" | "automatic" | BentoListboxLazyLoadType>;
|
|
6715
|
+
} & {
|
|
6716
|
+
default: BentoListboxLazyLoadType;
|
|
6717
|
+
};
|
|
6718
|
+
emptyState: {
|
|
6719
|
+
type: PropType<BentoListboxEmptyStateProps>;
|
|
6720
|
+
} & {
|
|
6721
|
+
default: any;
|
|
6722
|
+
};
|
|
6723
|
+
componentLoading: {
|
|
6724
|
+
type: PropType<boolean>;
|
|
6725
|
+
} & {
|
|
6726
|
+
default: boolean;
|
|
6727
|
+
};
|
|
6728
|
+
virtualScroll: {
|
|
6729
|
+
type: PropType<BentoListboxVirtulisationOptions>;
|
|
6730
|
+
} & {
|
|
6731
|
+
default: boolean;
|
|
6732
|
+
};
|
|
6733
|
+
dynamicFiltering: {
|
|
6734
|
+
type: PropType<boolean>;
|
|
6735
|
+
} & {
|
|
6736
|
+
default: boolean;
|
|
6737
|
+
};
|
|
6738
|
+
showSlotContentInMultiple: {
|
|
6739
|
+
type: PropType<boolean>;
|
|
6740
|
+
} & {
|
|
6741
|
+
default: boolean;
|
|
6742
|
+
};
|
|
6743
|
+
enableValueLabelPair: {
|
|
6744
|
+
type: PropType<boolean>;
|
|
6745
|
+
} & {
|
|
6746
|
+
default: boolean;
|
|
6747
|
+
};
|
|
6748
|
+
placeholder: {
|
|
6749
|
+
type: PropType<string>;
|
|
6750
|
+
} & {
|
|
6751
|
+
default: any;
|
|
6752
|
+
};
|
|
6753
|
+
}>>, {
|
|
6754
|
+
search: BentoListboxSearchOptions;
|
|
6755
|
+
value: BentoListboxSelectedValue;
|
|
6756
|
+
description: string;
|
|
6757
|
+
label: string;
|
|
6758
|
+
variant: "name" | "iso" | "phone_code" | "capital" | "custom" | BentoCountryVariant;
|
|
6759
|
+
required: boolean;
|
|
6760
|
+
condensed: boolean;
|
|
6761
|
+
disabled: boolean;
|
|
6762
|
+
loading: boolean;
|
|
6763
|
+
error: boolean;
|
|
6764
|
+
optional: boolean;
|
|
6765
|
+
readonly: boolean;
|
|
6766
|
+
size: BentoDropdownSize | `${BentoDropdownSize}`;
|
|
6767
|
+
multiple: boolean;
|
|
6768
|
+
ariaLabel: string;
|
|
6769
|
+
items: BentoCountryListboxOptions;
|
|
6770
|
+
errorMessage: string;
|
|
6771
|
+
tooltipText: string;
|
|
6772
|
+
isOptionDisabled: BentoListboxIsOptionDisabled;
|
|
6773
|
+
staticCategories: boolean;
|
|
6774
|
+
hasMoreItems: boolean;
|
|
6775
|
+
lazyLoadType: BentoListboxLazyLoadType | `${BentoListboxLazyLoadType}`;
|
|
6776
|
+
emptyState: BentoListboxEmptyStateProps;
|
|
6777
|
+
componentLoading: boolean;
|
|
6778
|
+
virtualScroll: BentoListboxVirtulisationOptions;
|
|
6779
|
+
dynamicFiltering: boolean;
|
|
6780
|
+
showSlotContentInMultiple: boolean;
|
|
6781
|
+
enableValueLabelPair: boolean;
|
|
6782
|
+
placeholder: string;
|
|
6783
|
+
}>;
|
|
6784
|
+
|
|
6785
|
+
/**
|
|
6786
|
+
* A Currency Dropdown showing a selectable list of currencies.
|
|
6787
|
+
*
|
|
6788
|
+
* @example
|
|
6789
|
+
* import { BentoDropdownCountry, BentoCountryCode } from '../../../../..';
|
|
6790
|
+
* import type { BentoCountryListboxOptions } from '../../../../..'
|
|
6791
|
+
*
|
|
6792
|
+
* export default {
|
|
6793
|
+
* components: { BentoDropdown },
|
|
6794
|
+
* template: `
|
|
6795
|
+
* <bento-dropdown-currency
|
|
6796
|
+
* v-model="selectedValue"
|
|
6797
|
+
* :disabled="false"
|
|
6798
|
+
* :multiple="true"
|
|
6799
|
+
* :isOptionsDisabled="option => option.value === 2"
|
|
6800
|
+
* :items="options"
|
|
6801
|
+
* />
|
|
6802
|
+
* `,
|
|
6803
|
+
* setup() {
|
|
6804
|
+
* const selectedValue = ref(BentoCountryCode.NL) // Default value
|
|
6805
|
+
* const options: BentoCountryListboxOptions = [
|
|
6806
|
+
* { label: 'Option 1', value: BentoCountryCode.NL },
|
|
6807
|
+
* { label: 'Option 2', value: BentoCountryCode.BE },
|
|
6808
|
+
* ];
|
|
6809
|
+
* return { options, selectedValue };
|
|
6810
|
+
* }
|
|
6811
|
+
* }
|
|
6812
|
+
*/
|
|
6813
|
+
export declare const BentoDropdownCurrency: DefineComponent< {
|
|
6814
|
+
/**
|
|
6815
|
+
* The option elements to populate the currency dropdown with.
|
|
6816
|
+
* It must be an array of {@see BentoCurrencyListboxOptions }
|
|
6817
|
+
* @property {string} value.label - Text to be displayed in the option
|
|
6818
|
+
* @property {BentoCurrencyISOCode} value.code - Currency ISO code of the option
|
|
6819
|
+
*/
|
|
6820
|
+
items: {
|
|
6821
|
+
type: PropType<BentoCurrencyListboxOptions>;
|
|
6822
|
+
default: () => any[];
|
|
6823
|
+
};
|
|
6824
|
+
search: {
|
|
6825
|
+
type: PropType<BentoListboxSearchOptions>;
|
|
6826
|
+
} & {
|
|
6827
|
+
default: any;
|
|
6828
|
+
};
|
|
6829
|
+
value: {
|
|
6830
|
+
type: PropType<BentoListboxSelectedValue>;
|
|
6831
|
+
} & {
|
|
6832
|
+
default: any;
|
|
6833
|
+
};
|
|
6834
|
+
description: {
|
|
6835
|
+
type: PropType<string>;
|
|
6836
|
+
} & {
|
|
6837
|
+
default: any;
|
|
6838
|
+
};
|
|
6839
|
+
label: {
|
|
6840
|
+
type: PropType<string>;
|
|
6841
|
+
} & {
|
|
6842
|
+
default: any;
|
|
6843
|
+
};
|
|
6844
|
+
required: {
|
|
6845
|
+
type: PropType<boolean>;
|
|
6846
|
+
} & {
|
|
6847
|
+
default: boolean;
|
|
6848
|
+
};
|
|
6849
|
+
condensed: {
|
|
6850
|
+
type: PropType<boolean>;
|
|
6851
|
+
} & {
|
|
6852
|
+
default: boolean;
|
|
6853
|
+
};
|
|
6854
|
+
disabled: {
|
|
6855
|
+
type: PropType<boolean>;
|
|
6856
|
+
} & {
|
|
6857
|
+
default: boolean;
|
|
6858
|
+
};
|
|
6859
|
+
loading: {
|
|
6860
|
+
type: PropType<boolean>;
|
|
6861
|
+
} & {
|
|
6862
|
+
default: boolean;
|
|
6863
|
+
};
|
|
6864
|
+
error: {
|
|
6865
|
+
type: PropType<boolean>;
|
|
6866
|
+
} & {
|
|
6867
|
+
default: boolean;
|
|
6868
|
+
};
|
|
6869
|
+
optional: {
|
|
6870
|
+
type: PropType<boolean>;
|
|
6871
|
+
} & {
|
|
6872
|
+
default: boolean;
|
|
6873
|
+
};
|
|
6874
|
+
readonly: {
|
|
6875
|
+
type: PropType<boolean>;
|
|
6876
|
+
} & {
|
|
6877
|
+
default: boolean;
|
|
6878
|
+
};
|
|
6879
|
+
size: {
|
|
6880
|
+
type: PropType<BentoDropdownSize | "DropdownInputDefault" | "DropdownInputSmall">;
|
|
6881
|
+
} & {
|
|
6882
|
+
default: any;
|
|
6883
|
+
};
|
|
6884
|
+
multiple: {
|
|
6885
|
+
type: PropType<boolean>;
|
|
6886
|
+
} & {
|
|
6887
|
+
default: boolean;
|
|
6888
|
+
};
|
|
6889
|
+
ariaLabel: {
|
|
6890
|
+
type: PropType<string>;
|
|
6891
|
+
} & {
|
|
6892
|
+
default: any;
|
|
6893
|
+
};
|
|
6894
|
+
errorMessage: {
|
|
6895
|
+
type: PropType<string>;
|
|
6896
|
+
} & {
|
|
6897
|
+
default: any;
|
|
6898
|
+
};
|
|
6899
|
+
tooltipText: {
|
|
6900
|
+
type: PropType<string>;
|
|
6901
|
+
} & {
|
|
6902
|
+
default: any;
|
|
6903
|
+
};
|
|
6904
|
+
isOptionDisabled: {
|
|
6905
|
+
type: PropType<(optionValue: BentoListboxOptionItem) => boolean>;
|
|
6906
|
+
} & {
|
|
6907
|
+
default: any;
|
|
6908
|
+
};
|
|
6909
|
+
staticCategories: {
|
|
6910
|
+
type: PropType<boolean>;
|
|
6911
|
+
} & {
|
|
6912
|
+
default: boolean;
|
|
6913
|
+
};
|
|
6914
|
+
hasMoreItems: {
|
|
6915
|
+
type: PropType<boolean>;
|
|
6916
|
+
} & {
|
|
6917
|
+
default: boolean;
|
|
6918
|
+
};
|
|
6919
|
+
lazyLoadType: {
|
|
6920
|
+
type: PropType<"button" | "none" | "automatic" | BentoListboxLazyLoadType>;
|
|
6921
|
+
} & {
|
|
6922
|
+
default: BentoListboxLazyLoadType;
|
|
6923
|
+
};
|
|
6924
|
+
emptyState: {
|
|
6925
|
+
type: PropType<BentoListboxEmptyStateProps>;
|
|
6926
|
+
} & {
|
|
6927
|
+
default: any;
|
|
6928
|
+
};
|
|
6929
|
+
componentLoading: {
|
|
6930
|
+
type: PropType<boolean>;
|
|
6931
|
+
} & {
|
|
6932
|
+
default: boolean;
|
|
6933
|
+
};
|
|
6934
|
+
virtualScroll: {
|
|
6935
|
+
type: PropType<BentoListboxVirtulisationOptions>;
|
|
6936
|
+
} & {
|
|
6937
|
+
default: boolean;
|
|
6938
|
+
};
|
|
6939
|
+
dynamicFiltering: {
|
|
6940
|
+
type: PropType<boolean>;
|
|
6941
|
+
} & {
|
|
6942
|
+
default: boolean;
|
|
6943
|
+
};
|
|
6944
|
+
showSlotContentInMultiple: {
|
|
6945
|
+
type: PropType<boolean>;
|
|
6946
|
+
} & {
|
|
6947
|
+
default: boolean;
|
|
6948
|
+
};
|
|
6949
|
+
enableValueLabelPair: {
|
|
6950
|
+
type: PropType<boolean>;
|
|
6951
|
+
} & {
|
|
6952
|
+
default: boolean;
|
|
6953
|
+
};
|
|
6954
|
+
placeholder: {
|
|
6955
|
+
type: PropType<string>;
|
|
6956
|
+
} & {
|
|
6957
|
+
default: any;
|
|
6958
|
+
};
|
|
6959
|
+
}, {}, {}, {}, {}, ComponentOptionsMixin, ComponentOptionsMixin, {
|
|
6960
|
+
input: (selectedValue: BentoListboxSelectedValue) => void;
|
|
6961
|
+
} & {
|
|
6962
|
+
"show-more": () => void;
|
|
6963
|
+
} & {
|
|
6964
|
+
open: () => void;
|
|
6965
|
+
}, string, Readonly<ExtractPropTypes< {
|
|
6966
|
+
/**
|
|
6967
|
+
* The option elements to populate the currency dropdown with.
|
|
6968
|
+
* It must be an array of {@see BentoCurrencyListboxOptions }
|
|
6969
|
+
* @property {string} value.label - Text to be displayed in the option
|
|
6970
|
+
* @property {BentoCurrencyISOCode} value.code - Currency ISO code of the option
|
|
6971
|
+
*/
|
|
6972
|
+
items: {
|
|
6973
|
+
type: PropType<BentoCurrencyListboxOptions>;
|
|
6974
|
+
default: () => any[];
|
|
6975
|
+
};
|
|
6976
|
+
search: {
|
|
6977
|
+
type: PropType<BentoListboxSearchOptions>;
|
|
6978
|
+
} & {
|
|
6979
|
+
default: any;
|
|
6980
|
+
};
|
|
6981
|
+
value: {
|
|
6982
|
+
type: PropType<BentoListboxSelectedValue>;
|
|
6983
|
+
} & {
|
|
6984
|
+
default: any;
|
|
6985
|
+
};
|
|
6986
|
+
description: {
|
|
6987
|
+
type: PropType<string>;
|
|
6988
|
+
} & {
|
|
6989
|
+
default: any;
|
|
6990
|
+
};
|
|
6991
|
+
label: {
|
|
6992
|
+
type: PropType<string>;
|
|
6993
|
+
} & {
|
|
6994
|
+
default: any;
|
|
6995
|
+
};
|
|
6996
|
+
required: {
|
|
6997
|
+
type: PropType<boolean>;
|
|
6998
|
+
} & {
|
|
6999
|
+
default: boolean;
|
|
7000
|
+
};
|
|
7001
|
+
condensed: {
|
|
7002
|
+
type: PropType<boolean>;
|
|
7003
|
+
} & {
|
|
7004
|
+
default: boolean;
|
|
7005
|
+
};
|
|
7006
|
+
disabled: {
|
|
7007
|
+
type: PropType<boolean>;
|
|
7008
|
+
} & {
|
|
7009
|
+
default: boolean;
|
|
7010
|
+
};
|
|
7011
|
+
loading: {
|
|
7012
|
+
type: PropType<boolean>;
|
|
7013
|
+
} & {
|
|
7014
|
+
default: boolean;
|
|
7015
|
+
};
|
|
7016
|
+
error: {
|
|
7017
|
+
type: PropType<boolean>;
|
|
7018
|
+
} & {
|
|
7019
|
+
default: boolean;
|
|
7020
|
+
};
|
|
7021
|
+
optional: {
|
|
7022
|
+
type: PropType<boolean>;
|
|
7023
|
+
} & {
|
|
7024
|
+
default: boolean;
|
|
7025
|
+
};
|
|
7026
|
+
readonly: {
|
|
7027
|
+
type: PropType<boolean>;
|
|
7028
|
+
} & {
|
|
7029
|
+
default: boolean;
|
|
7030
|
+
};
|
|
7031
|
+
size: {
|
|
7032
|
+
type: PropType<BentoDropdownSize | "DropdownInputDefault" | "DropdownInputSmall">;
|
|
7033
|
+
} & {
|
|
7034
|
+
default: any;
|
|
7035
|
+
};
|
|
7036
|
+
multiple: {
|
|
7037
|
+
type: PropType<boolean>;
|
|
7038
|
+
} & {
|
|
7039
|
+
default: boolean;
|
|
7040
|
+
};
|
|
7041
|
+
ariaLabel: {
|
|
7042
|
+
type: PropType<string>;
|
|
7043
|
+
} & {
|
|
7044
|
+
default: any;
|
|
7045
|
+
};
|
|
7046
|
+
errorMessage: {
|
|
7047
|
+
type: PropType<string>;
|
|
7048
|
+
} & {
|
|
7049
|
+
default: any;
|
|
7050
|
+
};
|
|
7051
|
+
tooltipText: {
|
|
7052
|
+
type: PropType<string>;
|
|
7053
|
+
} & {
|
|
7054
|
+
default: any;
|
|
7055
|
+
};
|
|
7056
|
+
isOptionDisabled: {
|
|
7057
|
+
type: PropType<(optionValue: BentoListboxOptionItem) => boolean>;
|
|
7058
|
+
} & {
|
|
7059
|
+
default: any;
|
|
7060
|
+
};
|
|
7061
|
+
staticCategories: {
|
|
7062
|
+
type: PropType<boolean>;
|
|
7063
|
+
} & {
|
|
7064
|
+
default: boolean;
|
|
7065
|
+
};
|
|
7066
|
+
hasMoreItems: {
|
|
7067
|
+
type: PropType<boolean>;
|
|
7068
|
+
} & {
|
|
7069
|
+
default: boolean;
|
|
7070
|
+
};
|
|
7071
|
+
lazyLoadType: {
|
|
7072
|
+
type: PropType<"button" | "none" | "automatic" | BentoListboxLazyLoadType>;
|
|
7073
|
+
} & {
|
|
7074
|
+
default: BentoListboxLazyLoadType;
|
|
7075
|
+
};
|
|
7076
|
+
emptyState: {
|
|
7077
|
+
type: PropType<BentoListboxEmptyStateProps>;
|
|
7078
|
+
} & {
|
|
7079
|
+
default: any;
|
|
7080
|
+
};
|
|
7081
|
+
componentLoading: {
|
|
7082
|
+
type: PropType<boolean>;
|
|
7083
|
+
} & {
|
|
7084
|
+
default: boolean;
|
|
7085
|
+
};
|
|
7086
|
+
virtualScroll: {
|
|
7087
|
+
type: PropType<BentoListboxVirtulisationOptions>;
|
|
7088
|
+
} & {
|
|
7089
|
+
default: boolean;
|
|
7090
|
+
};
|
|
7091
|
+
dynamicFiltering: {
|
|
7092
|
+
type: PropType<boolean>;
|
|
7093
|
+
} & {
|
|
7094
|
+
default: boolean;
|
|
7095
|
+
};
|
|
7096
|
+
showSlotContentInMultiple: {
|
|
7097
|
+
type: PropType<boolean>;
|
|
7098
|
+
} & {
|
|
7099
|
+
default: boolean;
|
|
7100
|
+
};
|
|
7101
|
+
enableValueLabelPair: {
|
|
7102
|
+
type: PropType<boolean>;
|
|
7103
|
+
} & {
|
|
7104
|
+
default: boolean;
|
|
7105
|
+
};
|
|
7106
|
+
placeholder: {
|
|
7107
|
+
type: PropType<string>;
|
|
7108
|
+
} & {
|
|
7109
|
+
default: any;
|
|
7110
|
+
};
|
|
7111
|
+
}>>, {
|
|
7112
|
+
search: BentoListboxSearchOptions;
|
|
7113
|
+
value: BentoListboxSelectedValue;
|
|
7114
|
+
description: string;
|
|
7115
|
+
label: string;
|
|
7116
|
+
required: boolean;
|
|
7117
|
+
condensed: boolean;
|
|
7118
|
+
disabled: boolean;
|
|
7119
|
+
loading: boolean;
|
|
7120
|
+
error: boolean;
|
|
7121
|
+
optional: boolean;
|
|
7122
|
+
readonly: boolean;
|
|
7123
|
+
size: BentoDropdownSize | `${BentoDropdownSize}`;
|
|
7124
|
+
multiple: boolean;
|
|
7125
|
+
ariaLabel: string;
|
|
7126
|
+
items: BentoCurrencyListboxOptions;
|
|
7127
|
+
errorMessage: string;
|
|
7128
|
+
tooltipText: string;
|
|
7129
|
+
isOptionDisabled: BentoListboxIsOptionDisabled;
|
|
7130
|
+
staticCategories: boolean;
|
|
7131
|
+
hasMoreItems: boolean;
|
|
7132
|
+
lazyLoadType: BentoListboxLazyLoadType | `${BentoListboxLazyLoadType}`;
|
|
7133
|
+
emptyState: BentoListboxEmptyStateProps;
|
|
7134
|
+
componentLoading: boolean;
|
|
7135
|
+
virtualScroll: BentoListboxVirtulisationOptions;
|
|
7136
|
+
dynamicFiltering: boolean;
|
|
7137
|
+
showSlotContentInMultiple: boolean;
|
|
7138
|
+
enableValueLabelPair: boolean;
|
|
7139
|
+
placeholder: string;
|
|
7140
|
+
}>;
|
|
7141
|
+
|
|
7142
|
+
export declare interface BentoDropdownCurrencyProps extends BentoDropdownProps {
|
|
7143
|
+
/**
|
|
7144
|
+
* The option elements to populate the currency dropdown with.
|
|
7145
|
+
* It must be an array of {@see BentoCurrencyListboxOptions }
|
|
7146
|
+
* @property {string} value.label - Text to be displayed in the option
|
|
7147
|
+
* @property {BentoCurrencyISOCode} value.code - Currency ISO code of the option
|
|
7148
|
+
*/
|
|
7149
|
+
items?: BentoCurrencyListboxOptions;
|
|
7150
|
+
}
|
|
7151
|
+
|
|
7152
|
+
/**
|
|
7153
|
+
* A Payment method Dropdown showing a selectable list of countries.
|
|
7154
|
+
*
|
|
7155
|
+
* @example
|
|
7156
|
+
* import { BentoDropdownPaymentMethod } from '../../../../..';
|
|
7157
|
+
* import type { BentoPaymentMethodListboxOptions } from '../../../../..'
|
|
7158
|
+
*
|
|
7159
|
+
* export default {
|
|
7160
|
+
* components: { BentoDropdownPaymentMethod },
|
|
7161
|
+
* template: `
|
|
7162
|
+
* <bento-dropdown-payment-method
|
|
7163
|
+
* v-model="selectedValue"
|
|
7164
|
+
* :disabled="false"
|
|
7165
|
+
* :multiple="true"
|
|
7166
|
+
* :isOptionsDisabled="option => option.value === 'Visa'"
|
|
7167
|
+
* :items="options"
|
|
7168
|
+
* />
|
|
7169
|
+
* `,
|
|
7170
|
+
* setup() {
|
|
7171
|
+
* const selectedValue = ref('ideal') // Default value
|
|
7172
|
+
* const options: BentoPaymentMethodListboxOptions = [
|
|
7173
|
+
* { label: 'Option 1', value: 'ideal' },
|
|
7174
|
+
* { label: 'Option 2', value: 'visa' },
|
|
7175
|
+
* ];
|
|
7176
|
+
* return { options, selectedValue };
|
|
7177
|
+
* }
|
|
7178
|
+
* }
|
|
7179
|
+
*/
|
|
7180
|
+
export declare const BentoDropdownPaymentMethod: DefineComponent< {
|
|
7181
|
+
/**
|
|
7182
|
+
* The option elements to populate the payment method dropdown with.
|
|
7183
|
+
* It must be an array of {@see BentoPaymentMethodListboxOptions }
|
|
7184
|
+
* @property {string} value.label - Text to be displayed in the option
|
|
7185
|
+
* @property {string} value.value - Payment type code that translates to a payment icon name {@see https://adyen-ui-assets.netlify.app/?path=/story/packages-ui-assets-payment-method-icons--icons}
|
|
7186
|
+
*/
|
|
7187
|
+
items: {
|
|
7188
|
+
type: PropType<BentoPaymentMethodListboxOptions>;
|
|
7189
|
+
default: () => any[];
|
|
7190
|
+
};
|
|
7191
|
+
search: {
|
|
7192
|
+
type: PropType<BentoListboxSearchOptions>;
|
|
7193
|
+
} & {
|
|
7194
|
+
default: any;
|
|
7195
|
+
};
|
|
7196
|
+
value: {
|
|
7197
|
+
type: PropType<BentoListboxSelectedValue>;
|
|
7198
|
+
} & {
|
|
7199
|
+
default: any;
|
|
7200
|
+
};
|
|
7201
|
+
description: {
|
|
7202
|
+
type: PropType<string>;
|
|
7203
|
+
} & {
|
|
7204
|
+
default: any;
|
|
7205
|
+
};
|
|
7206
|
+
label: {
|
|
7207
|
+
type: PropType<string>;
|
|
7208
|
+
} & {
|
|
7209
|
+
default: any;
|
|
7210
|
+
};
|
|
7211
|
+
required: {
|
|
7212
|
+
type: PropType<boolean>;
|
|
7213
|
+
} & {
|
|
7214
|
+
default: boolean;
|
|
7215
|
+
};
|
|
7216
|
+
condensed: {
|
|
7217
|
+
type: PropType<boolean>;
|
|
7218
|
+
} & {
|
|
7219
|
+
default: boolean;
|
|
7220
|
+
};
|
|
7221
|
+
disabled: {
|
|
7222
|
+
type: PropType<boolean>;
|
|
7223
|
+
} & {
|
|
7224
|
+
default: boolean;
|
|
7225
|
+
};
|
|
7226
|
+
loading: {
|
|
7227
|
+
type: PropType<boolean>;
|
|
7228
|
+
} & {
|
|
7229
|
+
default: boolean;
|
|
7230
|
+
};
|
|
7231
|
+
error: {
|
|
7232
|
+
type: PropType<boolean>;
|
|
7233
|
+
} & {
|
|
7234
|
+
default: boolean;
|
|
7235
|
+
};
|
|
7236
|
+
optional: {
|
|
7237
|
+
type: PropType<boolean>;
|
|
7238
|
+
} & {
|
|
7239
|
+
default: boolean;
|
|
7240
|
+
};
|
|
7241
|
+
readonly: {
|
|
7242
|
+
type: PropType<boolean>;
|
|
7243
|
+
} & {
|
|
7244
|
+
default: boolean;
|
|
7245
|
+
};
|
|
7246
|
+
size: {
|
|
7247
|
+
type: PropType<BentoDropdownSize | "DropdownInputDefault" | "DropdownInputSmall">;
|
|
7248
|
+
} & {
|
|
7249
|
+
default: any;
|
|
7250
|
+
};
|
|
7251
|
+
multiple: {
|
|
7252
|
+
type: PropType<boolean>;
|
|
7253
|
+
} & {
|
|
7254
|
+
default: boolean;
|
|
7255
|
+
};
|
|
7256
|
+
ariaLabel: {
|
|
7257
|
+
type: PropType<string>;
|
|
7258
|
+
} & {
|
|
7259
|
+
default: any;
|
|
7260
|
+
};
|
|
7261
|
+
errorMessage: {
|
|
7262
|
+
type: PropType<string>;
|
|
7263
|
+
} & {
|
|
7264
|
+
default: any;
|
|
7265
|
+
};
|
|
7266
|
+
tooltipText: {
|
|
7267
|
+
type: PropType<string>;
|
|
7268
|
+
} & {
|
|
7269
|
+
default: any;
|
|
7270
|
+
};
|
|
7271
|
+
isOptionDisabled: {
|
|
7272
|
+
type: PropType<(optionValue: BentoListboxOptionItem) => boolean>;
|
|
7273
|
+
} & {
|
|
7274
|
+
default: any;
|
|
7275
|
+
};
|
|
7276
|
+
staticCategories: {
|
|
7277
|
+
type: PropType<boolean>;
|
|
7278
|
+
} & {
|
|
7279
|
+
default: boolean;
|
|
7280
|
+
};
|
|
7281
|
+
hasMoreItems: {
|
|
7282
|
+
type: PropType<boolean>;
|
|
7283
|
+
} & {
|
|
7284
|
+
default: boolean;
|
|
7285
|
+
};
|
|
7286
|
+
lazyLoadType: {
|
|
7287
|
+
type: PropType<"button" | "none" | "automatic" | BentoListboxLazyLoadType>;
|
|
7288
|
+
} & {
|
|
7289
|
+
default: BentoListboxLazyLoadType;
|
|
7290
|
+
};
|
|
7291
|
+
emptyState: {
|
|
7292
|
+
type: PropType<BentoListboxEmptyStateProps>;
|
|
7293
|
+
} & {
|
|
7294
|
+
default: any;
|
|
7295
|
+
};
|
|
7296
|
+
componentLoading: {
|
|
7297
|
+
type: PropType<boolean>;
|
|
7298
|
+
} & {
|
|
7299
|
+
default: boolean;
|
|
7300
|
+
};
|
|
7301
|
+
virtualScroll: {
|
|
7302
|
+
type: PropType<BentoListboxVirtulisationOptions>;
|
|
7303
|
+
} & {
|
|
7304
|
+
default: boolean;
|
|
7305
|
+
};
|
|
7306
|
+
dynamicFiltering: {
|
|
7307
|
+
type: PropType<boolean>;
|
|
7308
|
+
} & {
|
|
7309
|
+
default: boolean;
|
|
7310
|
+
};
|
|
7311
|
+
showSlotContentInMultiple: {
|
|
7312
|
+
type: PropType<boolean>;
|
|
7313
|
+
} & {
|
|
7314
|
+
default: boolean;
|
|
7315
|
+
};
|
|
7316
|
+
enableValueLabelPair: {
|
|
7317
|
+
type: PropType<boolean>;
|
|
7318
|
+
} & {
|
|
7319
|
+
default: boolean;
|
|
7320
|
+
};
|
|
7321
|
+
placeholder: {
|
|
7322
|
+
type: PropType<string>;
|
|
7323
|
+
} & {
|
|
7324
|
+
default: any;
|
|
7325
|
+
};
|
|
7326
|
+
}, {}, {}, {}, {}, ComponentOptionsMixin, ComponentOptionsMixin, {
|
|
7327
|
+
input: (selectedValue: BentoListboxSelectedValue) => void;
|
|
7328
|
+
} & {
|
|
7329
|
+
"show-more": () => void;
|
|
7330
|
+
} & {
|
|
7331
|
+
open: () => void;
|
|
7332
|
+
}, string, Readonly<ExtractPropTypes< {
|
|
7333
|
+
/**
|
|
7334
|
+
* The option elements to populate the payment method dropdown with.
|
|
7335
|
+
* It must be an array of {@see BentoPaymentMethodListboxOptions }
|
|
7336
|
+
* @property {string} value.label - Text to be displayed in the option
|
|
7337
|
+
* @property {string} value.value - Payment type code that translates to a payment icon name {@see https://adyen-ui-assets.netlify.app/?path=/story/packages-ui-assets-payment-method-icons--icons}
|
|
7338
|
+
*/
|
|
7339
|
+
items: {
|
|
7340
|
+
type: PropType<BentoPaymentMethodListboxOptions>;
|
|
7341
|
+
default: () => any[];
|
|
7342
|
+
};
|
|
7343
|
+
search: {
|
|
7344
|
+
type: PropType<BentoListboxSearchOptions>;
|
|
7345
|
+
} & {
|
|
7346
|
+
default: any;
|
|
7347
|
+
};
|
|
7348
|
+
value: {
|
|
7349
|
+
type: PropType<BentoListboxSelectedValue>;
|
|
7350
|
+
} & {
|
|
7351
|
+
default: any;
|
|
7352
|
+
};
|
|
7353
|
+
description: {
|
|
7354
|
+
type: PropType<string>;
|
|
7355
|
+
} & {
|
|
7356
|
+
default: any;
|
|
7357
|
+
};
|
|
7358
|
+
label: {
|
|
7359
|
+
type: PropType<string>;
|
|
7360
|
+
} & {
|
|
7361
|
+
default: any;
|
|
7362
|
+
};
|
|
7363
|
+
required: {
|
|
7364
|
+
type: PropType<boolean>;
|
|
7365
|
+
} & {
|
|
7366
|
+
default: boolean;
|
|
7367
|
+
};
|
|
7368
|
+
condensed: {
|
|
7369
|
+
type: PropType<boolean>;
|
|
7370
|
+
} & {
|
|
7371
|
+
default: boolean;
|
|
7372
|
+
};
|
|
7373
|
+
disabled: {
|
|
7374
|
+
type: PropType<boolean>;
|
|
7375
|
+
} & {
|
|
7376
|
+
default: boolean;
|
|
7377
|
+
};
|
|
7378
|
+
loading: {
|
|
7379
|
+
type: PropType<boolean>;
|
|
7380
|
+
} & {
|
|
7381
|
+
default: boolean;
|
|
7382
|
+
};
|
|
7383
|
+
error: {
|
|
7384
|
+
type: PropType<boolean>;
|
|
7385
|
+
} & {
|
|
7386
|
+
default: boolean;
|
|
7387
|
+
};
|
|
7388
|
+
optional: {
|
|
7389
|
+
type: PropType<boolean>;
|
|
7390
|
+
} & {
|
|
7391
|
+
default: boolean;
|
|
7392
|
+
};
|
|
7393
|
+
readonly: {
|
|
7394
|
+
type: PropType<boolean>;
|
|
7395
|
+
} & {
|
|
7396
|
+
default: boolean;
|
|
7397
|
+
};
|
|
7398
|
+
size: {
|
|
7399
|
+
type: PropType<BentoDropdownSize | "DropdownInputDefault" | "DropdownInputSmall">;
|
|
7400
|
+
} & {
|
|
7401
|
+
default: any;
|
|
7402
|
+
};
|
|
7403
|
+
multiple: {
|
|
7404
|
+
type: PropType<boolean>;
|
|
7405
|
+
} & {
|
|
7406
|
+
default: boolean;
|
|
7407
|
+
};
|
|
7408
|
+
ariaLabel: {
|
|
7409
|
+
type: PropType<string>;
|
|
7410
|
+
} & {
|
|
7411
|
+
default: any;
|
|
7412
|
+
};
|
|
7413
|
+
errorMessage: {
|
|
7414
|
+
type: PropType<string>;
|
|
7415
|
+
} & {
|
|
7416
|
+
default: any;
|
|
7417
|
+
};
|
|
7418
|
+
tooltipText: {
|
|
7419
|
+
type: PropType<string>;
|
|
7420
|
+
} & {
|
|
7421
|
+
default: any;
|
|
7422
|
+
};
|
|
7423
|
+
isOptionDisabled: {
|
|
7424
|
+
type: PropType<(optionValue: BentoListboxOptionItem) => boolean>;
|
|
7425
|
+
} & {
|
|
7426
|
+
default: any;
|
|
7427
|
+
};
|
|
7428
|
+
staticCategories: {
|
|
7429
|
+
type: PropType<boolean>;
|
|
7430
|
+
} & {
|
|
7431
|
+
default: boolean;
|
|
7432
|
+
};
|
|
7433
|
+
hasMoreItems: {
|
|
7434
|
+
type: PropType<boolean>;
|
|
7435
|
+
} & {
|
|
7436
|
+
default: boolean;
|
|
7437
|
+
};
|
|
7438
|
+
lazyLoadType: {
|
|
7439
|
+
type: PropType<"button" | "none" | "automatic" | BentoListboxLazyLoadType>;
|
|
7440
|
+
} & {
|
|
7441
|
+
default: BentoListboxLazyLoadType;
|
|
7442
|
+
};
|
|
7443
|
+
emptyState: {
|
|
7444
|
+
type: PropType<BentoListboxEmptyStateProps>;
|
|
7445
|
+
} & {
|
|
7446
|
+
default: any;
|
|
7447
|
+
};
|
|
7448
|
+
componentLoading: {
|
|
7449
|
+
type: PropType<boolean>;
|
|
7450
|
+
} & {
|
|
7451
|
+
default: boolean;
|
|
7452
|
+
};
|
|
7453
|
+
virtualScroll: {
|
|
7454
|
+
type: PropType<BentoListboxVirtulisationOptions>;
|
|
7455
|
+
} & {
|
|
7456
|
+
default: boolean;
|
|
7457
|
+
};
|
|
7458
|
+
dynamicFiltering: {
|
|
7459
|
+
type: PropType<boolean>;
|
|
7460
|
+
} & {
|
|
7461
|
+
default: boolean;
|
|
7462
|
+
};
|
|
7463
|
+
showSlotContentInMultiple: {
|
|
7464
|
+
type: PropType<boolean>;
|
|
7465
|
+
} & {
|
|
7466
|
+
default: boolean;
|
|
7467
|
+
};
|
|
7468
|
+
enableValueLabelPair: {
|
|
7469
|
+
type: PropType<boolean>;
|
|
7470
|
+
} & {
|
|
7471
|
+
default: boolean;
|
|
7472
|
+
};
|
|
7473
|
+
placeholder: {
|
|
7474
|
+
type: PropType<string>;
|
|
7475
|
+
} & {
|
|
7476
|
+
default: any;
|
|
7477
|
+
};
|
|
7478
|
+
}>>, {
|
|
7479
|
+
search: BentoListboxSearchOptions;
|
|
7480
|
+
value: BentoListboxSelectedValue;
|
|
7481
|
+
description: string;
|
|
7482
|
+
label: string;
|
|
7483
|
+
required: boolean;
|
|
7484
|
+
condensed: boolean;
|
|
7485
|
+
disabled: boolean;
|
|
7486
|
+
loading: boolean;
|
|
7487
|
+
error: boolean;
|
|
7488
|
+
optional: boolean;
|
|
7489
|
+
readonly: boolean;
|
|
7490
|
+
size: BentoDropdownSize | `${BentoDropdownSize}`;
|
|
7491
|
+
multiple: boolean;
|
|
7492
|
+
ariaLabel: string;
|
|
7493
|
+
items: BentoPaymentMethodListboxOptions;
|
|
7494
|
+
errorMessage: string;
|
|
7495
|
+
tooltipText: string;
|
|
7496
|
+
isOptionDisabled: BentoListboxIsOptionDisabled;
|
|
7497
|
+
staticCategories: boolean;
|
|
7498
|
+
hasMoreItems: boolean;
|
|
7499
|
+
lazyLoadType: BentoListboxLazyLoadType | `${BentoListboxLazyLoadType}`;
|
|
7500
|
+
emptyState: BentoListboxEmptyStateProps;
|
|
7501
|
+
componentLoading: boolean;
|
|
7502
|
+
virtualScroll: BentoListboxVirtulisationOptions;
|
|
7503
|
+
dynamicFiltering: boolean;
|
|
7504
|
+
showSlotContentInMultiple: boolean;
|
|
7505
|
+
enableValueLabelPair: boolean;
|
|
7506
|
+
placeholder: string;
|
|
7507
|
+
}>;
|
|
7508
|
+
|
|
7509
|
+
export declare interface BentoDropdownPaymentMethodProps extends BentoDropdownProps {
|
|
7510
|
+
/**
|
|
7511
|
+
* The option elements to populate the payment method dropdown with.
|
|
7512
|
+
* It must be an array of {@see BentoPaymentMethodListboxOptions }
|
|
7513
|
+
* @property {string} value.label - Text to be displayed in the option
|
|
7514
|
+
* @property {string} value.value - Payment type code that translates to a payment icon name {@see https://adyen-ui-assets.netlify.app/?path=/story/packages-ui-assets-payment-method-icons--icons}
|
|
7515
|
+
*/
|
|
7516
|
+
items?: BentoPaymentMethodListboxOptions;
|
|
7517
|
+
}
|
|
7518
|
+
|
|
7519
|
+
export declare interface BentoDropdownProps extends FormField {
|
|
7520
|
+
/**
|
|
7521
|
+
* @deprecated from version 2.0.0. Use the aria-label attribute instead.
|
|
7522
|
+
* Defines a string value that labels an interactive element.
|
|
7523
|
+
*/
|
|
7524
|
+
ariaLabel?: string;
|
|
7525
|
+
/**
|
|
7526
|
+
* Renders the dropdown with a condensed style.
|
|
7527
|
+
*/
|
|
7528
|
+
condensed?: boolean;
|
|
7529
|
+
/**
|
|
7530
|
+
* Empty state props used with the inner empty state component which is displayed when no search results are found.
|
|
6627
7531
|
*/
|
|
6628
7532
|
emptyState?: BentoListboxEmptyStateProps;
|
|
6629
7533
|
/**
|
|
@@ -6751,18 +7655,335 @@ export declare enum BentoDropdownSize {
|
|
|
6751
7655
|
* }
|
|
6752
7656
|
* }
|
|
6753
7657
|
*/
|
|
6754
|
-
export declare const BentoDropdownTag: DefineComponent<
|
|
6755
|
-
|
|
6756
|
-
|
|
7658
|
+
export declare const BentoDropdownTag: DefineComponent< {
|
|
7659
|
+
/**
|
|
7660
|
+
* The option elements to populate the tag dropdown with.
|
|
7661
|
+
* It must be an array of {@see BentoTagListboxOptions }
|
|
7662
|
+
* @property {string} value.label - Text to be displayed in the option
|
|
7663
|
+
* @property {string | number} value.value - Value of the option
|
|
7664
|
+
* @property {string} value.variant - The BentTag variant shown for the option.
|
|
7665
|
+
*/
|
|
7666
|
+
items: {
|
|
7667
|
+
type: PropType<BentoTagListboxOptions>;
|
|
7668
|
+
default: () => any[];
|
|
7669
|
+
};
|
|
7670
|
+
search: {
|
|
7671
|
+
type: PropType<BentoListboxSearchOptions>;
|
|
7672
|
+
} & {
|
|
7673
|
+
default: any;
|
|
7674
|
+
};
|
|
7675
|
+
value: {
|
|
7676
|
+
type: PropType<BentoListboxSelectedValue>;
|
|
7677
|
+
} & {
|
|
7678
|
+
default: any;
|
|
7679
|
+
};
|
|
7680
|
+
description: {
|
|
7681
|
+
type: PropType<string>;
|
|
7682
|
+
} & {
|
|
7683
|
+
default: any;
|
|
7684
|
+
};
|
|
7685
|
+
label: {
|
|
7686
|
+
type: PropType<string>;
|
|
7687
|
+
} & {
|
|
7688
|
+
default: any;
|
|
7689
|
+
};
|
|
7690
|
+
required: {
|
|
7691
|
+
type: PropType<boolean>;
|
|
7692
|
+
} & {
|
|
7693
|
+
default: boolean;
|
|
7694
|
+
};
|
|
7695
|
+
condensed: {
|
|
7696
|
+
type: PropType<boolean>;
|
|
7697
|
+
} & {
|
|
7698
|
+
default: boolean;
|
|
7699
|
+
};
|
|
7700
|
+
disabled: {
|
|
7701
|
+
type: PropType<boolean>;
|
|
7702
|
+
} & {
|
|
7703
|
+
default: boolean;
|
|
7704
|
+
};
|
|
7705
|
+
loading: {
|
|
7706
|
+
type: PropType<boolean>;
|
|
7707
|
+
} & {
|
|
7708
|
+
default: boolean;
|
|
7709
|
+
};
|
|
7710
|
+
error: {
|
|
7711
|
+
type: PropType<boolean>;
|
|
7712
|
+
} & {
|
|
7713
|
+
default: boolean;
|
|
7714
|
+
};
|
|
7715
|
+
optional: {
|
|
7716
|
+
type: PropType<boolean>;
|
|
7717
|
+
} & {
|
|
7718
|
+
default: boolean;
|
|
7719
|
+
};
|
|
7720
|
+
readonly: {
|
|
7721
|
+
type: PropType<boolean>;
|
|
7722
|
+
} & {
|
|
7723
|
+
default: boolean;
|
|
7724
|
+
};
|
|
7725
|
+
size: {
|
|
7726
|
+
type: PropType<BentoDropdownSize | "DropdownInputDefault" | "DropdownInputSmall">;
|
|
7727
|
+
} & {
|
|
7728
|
+
default: any;
|
|
7729
|
+
};
|
|
7730
|
+
multiple: {
|
|
7731
|
+
type: PropType<boolean>;
|
|
7732
|
+
} & {
|
|
7733
|
+
default: boolean;
|
|
7734
|
+
};
|
|
7735
|
+
ariaLabel: {
|
|
7736
|
+
type: PropType<string>;
|
|
7737
|
+
} & {
|
|
7738
|
+
default: any;
|
|
7739
|
+
};
|
|
7740
|
+
errorMessage: {
|
|
7741
|
+
type: PropType<string>;
|
|
7742
|
+
} & {
|
|
7743
|
+
default: any;
|
|
7744
|
+
};
|
|
7745
|
+
tooltipText: {
|
|
7746
|
+
type: PropType<string>;
|
|
7747
|
+
} & {
|
|
7748
|
+
default: any;
|
|
7749
|
+
};
|
|
7750
|
+
isOptionDisabled: {
|
|
7751
|
+
type: PropType<(optionValue: BentoListboxOptionItem) => boolean>;
|
|
7752
|
+
} & {
|
|
7753
|
+
default: any;
|
|
7754
|
+
};
|
|
7755
|
+
staticCategories: {
|
|
7756
|
+
type: PropType<boolean>;
|
|
7757
|
+
} & {
|
|
7758
|
+
default: boolean;
|
|
7759
|
+
};
|
|
7760
|
+
hasMoreItems: {
|
|
7761
|
+
type: PropType<boolean>;
|
|
7762
|
+
} & {
|
|
7763
|
+
default: boolean;
|
|
7764
|
+
};
|
|
7765
|
+
lazyLoadType: {
|
|
7766
|
+
type: PropType<"button" | "none" | "automatic" | BentoListboxLazyLoadType>;
|
|
7767
|
+
} & {
|
|
7768
|
+
default: BentoListboxLazyLoadType;
|
|
7769
|
+
};
|
|
7770
|
+
emptyState: {
|
|
7771
|
+
type: PropType<BentoListboxEmptyStateProps>;
|
|
7772
|
+
} & {
|
|
7773
|
+
default: any;
|
|
7774
|
+
};
|
|
7775
|
+
componentLoading: {
|
|
7776
|
+
type: PropType<boolean>;
|
|
7777
|
+
} & {
|
|
7778
|
+
default: boolean;
|
|
7779
|
+
};
|
|
7780
|
+
virtualScroll: {
|
|
7781
|
+
type: PropType<BentoListboxVirtulisationOptions>;
|
|
7782
|
+
} & {
|
|
7783
|
+
default: boolean;
|
|
7784
|
+
};
|
|
7785
|
+
dynamicFiltering: {
|
|
7786
|
+
type: PropType<boolean>;
|
|
7787
|
+
} & {
|
|
7788
|
+
default: boolean;
|
|
7789
|
+
};
|
|
7790
|
+
showSlotContentInMultiple: {
|
|
7791
|
+
type: PropType<boolean>;
|
|
7792
|
+
} & {
|
|
7793
|
+
default: boolean;
|
|
7794
|
+
};
|
|
7795
|
+
enableValueLabelPair: {
|
|
7796
|
+
type: PropType<boolean>;
|
|
7797
|
+
} & {
|
|
7798
|
+
default: boolean;
|
|
7799
|
+
};
|
|
7800
|
+
placeholder: {
|
|
7801
|
+
type: PropType<string>;
|
|
7802
|
+
} & {
|
|
7803
|
+
default: any;
|
|
7804
|
+
};
|
|
7805
|
+
}, {}, {}, {}, {}, ComponentOptionsMixin, ComponentOptionsMixin, {
|
|
6757
7806
|
input: (selectedValue: BentoListboxSelectedValue) => void;
|
|
6758
7807
|
} & {
|
|
6759
7808
|
"show-more": () => void;
|
|
6760
7809
|
} & {
|
|
6761
7810
|
open: () => void;
|
|
6762
|
-
}, string, Readonly<ExtractPropTypes<
|
|
6763
|
-
|
|
6764
|
-
|
|
7811
|
+
}, string, Readonly<ExtractPropTypes< {
|
|
7812
|
+
/**
|
|
7813
|
+
* The option elements to populate the tag dropdown with.
|
|
7814
|
+
* It must be an array of {@see BentoTagListboxOptions }
|
|
7815
|
+
* @property {string} value.label - Text to be displayed in the option
|
|
7816
|
+
* @property {string | number} value.value - Value of the option
|
|
7817
|
+
* @property {string} value.variant - The BentTag variant shown for the option.
|
|
7818
|
+
*/
|
|
7819
|
+
items: {
|
|
7820
|
+
type: PropType<BentoTagListboxOptions>;
|
|
7821
|
+
default: () => any[];
|
|
7822
|
+
};
|
|
7823
|
+
search: {
|
|
7824
|
+
type: PropType<BentoListboxSearchOptions>;
|
|
7825
|
+
} & {
|
|
7826
|
+
default: any;
|
|
7827
|
+
};
|
|
7828
|
+
value: {
|
|
7829
|
+
type: PropType<BentoListboxSelectedValue>;
|
|
7830
|
+
} & {
|
|
7831
|
+
default: any;
|
|
7832
|
+
};
|
|
7833
|
+
description: {
|
|
7834
|
+
type: PropType<string>;
|
|
7835
|
+
} & {
|
|
7836
|
+
default: any;
|
|
7837
|
+
};
|
|
7838
|
+
label: {
|
|
7839
|
+
type: PropType<string>;
|
|
7840
|
+
} & {
|
|
7841
|
+
default: any;
|
|
7842
|
+
};
|
|
7843
|
+
required: {
|
|
7844
|
+
type: PropType<boolean>;
|
|
7845
|
+
} & {
|
|
7846
|
+
default: boolean;
|
|
7847
|
+
};
|
|
7848
|
+
condensed: {
|
|
7849
|
+
type: PropType<boolean>;
|
|
7850
|
+
} & {
|
|
7851
|
+
default: boolean;
|
|
7852
|
+
};
|
|
7853
|
+
disabled: {
|
|
7854
|
+
type: PropType<boolean>;
|
|
7855
|
+
} & {
|
|
7856
|
+
default: boolean;
|
|
7857
|
+
};
|
|
7858
|
+
loading: {
|
|
7859
|
+
type: PropType<boolean>;
|
|
7860
|
+
} & {
|
|
7861
|
+
default: boolean;
|
|
7862
|
+
};
|
|
7863
|
+
error: {
|
|
7864
|
+
type: PropType<boolean>;
|
|
7865
|
+
} & {
|
|
7866
|
+
default: boolean;
|
|
7867
|
+
};
|
|
7868
|
+
optional: {
|
|
7869
|
+
type: PropType<boolean>;
|
|
7870
|
+
} & {
|
|
7871
|
+
default: boolean;
|
|
7872
|
+
};
|
|
7873
|
+
readonly: {
|
|
7874
|
+
type: PropType<boolean>;
|
|
7875
|
+
} & {
|
|
7876
|
+
default: boolean;
|
|
7877
|
+
};
|
|
7878
|
+
size: {
|
|
7879
|
+
type: PropType<BentoDropdownSize | "DropdownInputDefault" | "DropdownInputSmall">;
|
|
7880
|
+
} & {
|
|
7881
|
+
default: any;
|
|
7882
|
+
};
|
|
7883
|
+
multiple: {
|
|
7884
|
+
type: PropType<boolean>;
|
|
7885
|
+
} & {
|
|
7886
|
+
default: boolean;
|
|
7887
|
+
};
|
|
7888
|
+
ariaLabel: {
|
|
7889
|
+
type: PropType<string>;
|
|
7890
|
+
} & {
|
|
7891
|
+
default: any;
|
|
7892
|
+
};
|
|
7893
|
+
errorMessage: {
|
|
7894
|
+
type: PropType<string>;
|
|
7895
|
+
} & {
|
|
7896
|
+
default: any;
|
|
7897
|
+
};
|
|
7898
|
+
tooltipText: {
|
|
7899
|
+
type: PropType<string>;
|
|
7900
|
+
} & {
|
|
7901
|
+
default: any;
|
|
7902
|
+
};
|
|
7903
|
+
isOptionDisabled: {
|
|
7904
|
+
type: PropType<(optionValue: BentoListboxOptionItem) => boolean>;
|
|
7905
|
+
} & {
|
|
7906
|
+
default: any;
|
|
7907
|
+
};
|
|
7908
|
+
staticCategories: {
|
|
7909
|
+
type: PropType<boolean>;
|
|
7910
|
+
} & {
|
|
7911
|
+
default: boolean;
|
|
7912
|
+
};
|
|
7913
|
+
hasMoreItems: {
|
|
7914
|
+
type: PropType<boolean>;
|
|
7915
|
+
} & {
|
|
7916
|
+
default: boolean;
|
|
7917
|
+
};
|
|
7918
|
+
lazyLoadType: {
|
|
7919
|
+
type: PropType<"button" | "none" | "automatic" | BentoListboxLazyLoadType>;
|
|
7920
|
+
} & {
|
|
7921
|
+
default: BentoListboxLazyLoadType;
|
|
7922
|
+
};
|
|
7923
|
+
emptyState: {
|
|
7924
|
+
type: PropType<BentoListboxEmptyStateProps>;
|
|
7925
|
+
} & {
|
|
7926
|
+
default: any;
|
|
7927
|
+
};
|
|
7928
|
+
componentLoading: {
|
|
7929
|
+
type: PropType<boolean>;
|
|
7930
|
+
} & {
|
|
7931
|
+
default: boolean;
|
|
7932
|
+
};
|
|
7933
|
+
virtualScroll: {
|
|
7934
|
+
type: PropType<BentoListboxVirtulisationOptions>;
|
|
7935
|
+
} & {
|
|
7936
|
+
default: boolean;
|
|
7937
|
+
};
|
|
7938
|
+
dynamicFiltering: {
|
|
7939
|
+
type: PropType<boolean>;
|
|
7940
|
+
} & {
|
|
7941
|
+
default: boolean;
|
|
7942
|
+
};
|
|
7943
|
+
showSlotContentInMultiple: {
|
|
7944
|
+
type: PropType<boolean>;
|
|
7945
|
+
} & {
|
|
7946
|
+
default: boolean;
|
|
7947
|
+
};
|
|
7948
|
+
enableValueLabelPair: {
|
|
7949
|
+
type: PropType<boolean>;
|
|
7950
|
+
} & {
|
|
7951
|
+
default: boolean;
|
|
7952
|
+
};
|
|
7953
|
+
placeholder: {
|
|
7954
|
+
type: PropType<string>;
|
|
7955
|
+
} & {
|
|
7956
|
+
default: any;
|
|
7957
|
+
};
|
|
7958
|
+
}>>, {
|
|
7959
|
+
search: BentoListboxSearchOptions;
|
|
7960
|
+
value: BentoListboxSelectedValue;
|
|
7961
|
+
description: string;
|
|
7962
|
+
label: string;
|
|
7963
|
+
required: boolean;
|
|
7964
|
+
condensed: boolean;
|
|
7965
|
+
disabled: boolean;
|
|
7966
|
+
loading: boolean;
|
|
7967
|
+
error: boolean;
|
|
7968
|
+
optional: boolean;
|
|
7969
|
+
readonly: boolean;
|
|
7970
|
+
size: BentoDropdownSize | `${BentoDropdownSize}`;
|
|
7971
|
+
multiple: boolean;
|
|
7972
|
+
ariaLabel: string;
|
|
6765
7973
|
items: BentoTagListboxOptions;
|
|
7974
|
+
errorMessage: string;
|
|
7975
|
+
tooltipText: string;
|
|
7976
|
+
isOptionDisabled: BentoListboxIsOptionDisabled;
|
|
7977
|
+
staticCategories: boolean;
|
|
7978
|
+
hasMoreItems: boolean;
|
|
7979
|
+
lazyLoadType: BentoListboxLazyLoadType | `${BentoListboxLazyLoadType}`;
|
|
7980
|
+
emptyState: BentoListboxEmptyStateProps;
|
|
7981
|
+
componentLoading: boolean;
|
|
7982
|
+
virtualScroll: BentoListboxVirtulisationOptions;
|
|
7983
|
+
dynamicFiltering: boolean;
|
|
7984
|
+
showSlotContentInMultiple: boolean;
|
|
7985
|
+
enableValueLabelPair: boolean;
|
|
7986
|
+
placeholder: string;
|
|
6766
7987
|
}>;
|
|
6767
7988
|
|
|
6768
7989
|
export declare interface BentoDropdownTagProps extends BentoDropdownProps {
|
|
@@ -6800,14 +8021,14 @@ export declare interface BentoDropdownTagProps extends BentoDropdownProps {
|
|
|
6800
8021
|
* `
|
|
6801
8022
|
* }
|
|
6802
8023
|
*/
|
|
6803
|
-
export declare const BentoEmptyState: __VLS_WithTemplateSlots_13<DefineComponent<
|
|
8024
|
+
export declare const BentoEmptyState: __VLS_WithTemplateSlots_13<DefineComponent<__VLS_WithDefaults_18<__VLS_TypePropsToRuntimeProps_18<BentoEmptyStateProps>, {
|
|
6804
8025
|
action: any;
|
|
6805
8026
|
description: any;
|
|
6806
8027
|
headingEl: any;
|
|
6807
8028
|
image: any;
|
|
6808
8029
|
title: string;
|
|
6809
8030
|
variant: string;
|
|
6810
|
-
}>, {}, {}, {}, {}, ComponentOptionsMixin, ComponentOptionsMixin, {}, string, Readonly<ExtractPropTypes<
|
|
8031
|
+
}>, {}, {}, {}, {}, ComponentOptionsMixin, ComponentOptionsMixin, {}, string, Readonly<ExtractPropTypes<__VLS_WithDefaults_18<__VLS_TypePropsToRuntimeProps_18<BentoEmptyStateProps>, {
|
|
6811
8032
|
action: any;
|
|
6812
8033
|
description: any;
|
|
6813
8034
|
headingEl: any;
|
|
@@ -6920,7 +8141,7 @@ export declare enum BentoEmptyStateVariant {
|
|
|
6920
8141
|
* }
|
|
6921
8142
|
* }
|
|
6922
8143
|
*/
|
|
6923
|
-
export declare const BentoFileUploader: DefineComponent<
|
|
8144
|
+
export declare const BentoFileUploader: DefineComponent<__VLS_WithDefaults_19<__VLS_TypePropsToRuntimeProps_19<BentoFileUploaderProps>, {
|
|
6924
8145
|
accept: any;
|
|
6925
8146
|
description: any;
|
|
6926
8147
|
errorMessage: any;
|
|
@@ -6937,7 +8158,7 @@ input: (value?: FileList) => void;
|
|
|
6937
8158
|
"update:modelValue": (value?: FileList) => void;
|
|
6938
8159
|
} & {
|
|
6939
8160
|
"error:upload": (value: boolean) => void;
|
|
6940
|
-
}, string, Readonly<ExtractPropTypes<
|
|
8161
|
+
}, string, Readonly<ExtractPropTypes<__VLS_WithDefaults_19<__VLS_TypePropsToRuntimeProps_19<BentoFileUploaderProps>, {
|
|
6941
8162
|
accept: any;
|
|
6942
8163
|
description: any;
|
|
6943
8164
|
errorMessage: any;
|
|
@@ -7042,7 +8263,7 @@ export declare type BentoFileUploaderValue = string | Array<string> | File | Arr
|
|
|
7042
8263
|
* `
|
|
7043
8264
|
* }
|
|
7044
8265
|
*/
|
|
7045
|
-
export declare const BentoFilterBar: DefineComponent<
|
|
8266
|
+
export declare const BentoFilterBar: DefineComponent<__VLS_WithDefaults_20<__VLS_TypePropsToRuntimeProps_20<BentoFilterBarProps<any, undefined>>, {
|
|
7046
8267
|
config: () => any[];
|
|
7047
8268
|
filterValues: () => any[];
|
|
7048
8269
|
containerSizeLayout: () => {
|
|
@@ -7059,7 +8280,7 @@ isClearAllVisible: ComputedRef<boolean>;
|
|
|
7059
8280
|
clearAllFilters: () => void;
|
|
7060
8281
|
isResetAllVisible: ComputedRef<boolean>;
|
|
7061
8282
|
resetAllFilters: () => void;
|
|
7062
|
-
}, {}, {}, {}, ComponentOptionsMixin, ComponentOptionsMixin, (BentoFilterBarEvent | BentoSearchBarEvent)[], string, Readonly<ExtractPropTypes<
|
|
8283
|
+
}, {}, {}, {}, ComponentOptionsMixin, ComponentOptionsMixin, (BentoFilterBarEvent | BentoSearchBarEvent)[], string, Readonly<ExtractPropTypes<__VLS_WithDefaults_20<__VLS_TypePropsToRuntimeProps_20<BentoFilterBarProps<any, undefined>>, {
|
|
7063
8284
|
config: () => any[];
|
|
7064
8285
|
filterValues: () => any[];
|
|
7065
8286
|
containerSizeLayout: () => {
|
|
@@ -7746,7 +8967,7 @@ declare enum BentoHeaderVariant {
|
|
|
7746
8967
|
* `
|
|
7747
8968
|
* };
|
|
7748
8969
|
*/
|
|
7749
|
-
export declare const BentoHeaderWithViews: __VLS_WithTemplateSlots_19<DefineComponent<
|
|
8970
|
+
export declare const BentoHeaderWithViews: __VLS_WithTemplateSlots_19<DefineComponent<__VLS_WithDefaults_22<__VLS_TypePropsToRuntimeProps_22<BentoHeaderWithViewsProps>, {
|
|
7750
8971
|
actions: () => any[];
|
|
7751
8972
|
additionalViewSetting: any;
|
|
7752
8973
|
title: any;
|
|
@@ -7772,7 +8993,7 @@ views: () => any[];
|
|
|
7772
8993
|
"update:view": (value: BentoHeaderWithViewsItemUpdate) => void;
|
|
7773
8994
|
} & {
|
|
7774
8995
|
"update:skip-unsaved-changes": (value: boolean) => void;
|
|
7775
|
-
}, string, Readonly<ExtractPropTypes<
|
|
8996
|
+
}, string, Readonly<ExtractPropTypes<__VLS_WithDefaults_22<__VLS_TypePropsToRuntimeProps_22<BentoHeaderWithViewsProps>, {
|
|
7776
8997
|
actions: () => any[];
|
|
7777
8998
|
additionalViewSetting: any;
|
|
7778
8999
|
title: any;
|
|
@@ -7973,10 +9194,10 @@ export declare interface BentoHeaderWithViewsProps {
|
|
|
7973
9194
|
* `
|
|
7974
9195
|
* }
|
|
7975
9196
|
*/
|
|
7976
|
-
export declare const BentoImage: DefineComponent<
|
|
9197
|
+
export declare const BentoImage: DefineComponent<__VLS_WithDefaults_23<__VLS_TypePropsToRuntimeProps_23<BentoImageProps>, {
|
|
7977
9198
|
aspectRatio: any;
|
|
7978
9199
|
objectFit: any;
|
|
7979
|
-
}>, {}, {}, {}, {}, ComponentOptionsMixin, ComponentOptionsMixin, {}, string, Readonly<ExtractPropTypes<
|
|
9200
|
+
}>, {}, {}, {}, {}, ComponentOptionsMixin, ComponentOptionsMixin, {}, string, Readonly<ExtractPropTypes<__VLS_WithDefaults_23<__VLS_TypePropsToRuntimeProps_23<BentoImageProps>, {
|
|
7980
9201
|
aspectRatio: any;
|
|
7981
9202
|
objectFit: any;
|
|
7982
9203
|
}>>>, {
|
|
@@ -8026,11 +9247,11 @@ export declare interface BentoImageProps {
|
|
|
8026
9247
|
* import { BentoInfoIcon } from '../..';
|
|
8027
9248
|
* </scrip>
|
|
8028
9249
|
*/
|
|
8029
|
-
export declare const BentoInfoIcon: DefineComponent<
|
|
9250
|
+
export declare const BentoInfoIcon: DefineComponent<__VLS_WithDefaults_24<__VLS_TypePropsToRuntimeProps_24<BentoInfoIconProps>, {
|
|
8030
9251
|
tooltipPosition: PopperContainerPositionExtended;
|
|
8031
9252
|
}>, {}, {}, {}, {}, ComponentOptionsMixin, ComponentOptionsMixin, {
|
|
8032
9253
|
mouseenter: (event: MouseEvent) => void;
|
|
8033
|
-
}, string, Readonly<ExtractPropTypes<
|
|
9254
|
+
}, string, Readonly<ExtractPropTypes<__VLS_WithDefaults_24<__VLS_TypePropsToRuntimeProps_24<BentoInfoIconProps>, {
|
|
8034
9255
|
tooltipPosition: PopperContainerPositionExtended;
|
|
8035
9256
|
}>>>, {
|
|
8036
9257
|
tooltipPosition: PopperContainerPosition | `${PopperContainerPosition}`;
|
|
@@ -8088,15 +9309,17 @@ export declare type BentoInputDropdownProps = {
|
|
|
8088
9309
|
* >
|
|
8089
9310
|
* }
|
|
8090
9311
|
*/
|
|
8091
|
-
export declare const BentoInputField: __VLS_WithTemplateSlots_20<DefineComponent<
|
|
9312
|
+
export declare const BentoInputField: __VLS_WithTemplateSlots_20<DefineComponent<__VLS_WithDefaults_25<__VLS_TypePropsToRuntimeProps_25<BentoInputFieldProps>, {
|
|
8092
9313
|
ariaHidden: boolean;
|
|
8093
9314
|
ariaLabel: any;
|
|
8094
9315
|
condensed: boolean;
|
|
9316
|
+
description: string;
|
|
8095
9317
|
disabled: boolean;
|
|
8096
9318
|
dropdown: any;
|
|
8097
9319
|
dropdownPosition: BentoInputFieldElementPosition;
|
|
8098
9320
|
error: boolean;
|
|
8099
9321
|
errorMessage: any;
|
|
9322
|
+
label: string;
|
|
8100
9323
|
optional: boolean;
|
|
8101
9324
|
placeholder: string;
|
|
8102
9325
|
required: boolean;
|
|
@@ -8129,15 +9352,17 @@ keydown: (event: KeyboardEvent) => void;
|
|
|
8129
9352
|
keyup: (event: KeyboardEvent) => void;
|
|
8130
9353
|
} & {
|
|
8131
9354
|
input: (inputValue: string) => void;
|
|
8132
|
-
}, string, Readonly<ExtractPropTypes<
|
|
9355
|
+
}, string, Readonly<ExtractPropTypes<__VLS_WithDefaults_25<__VLS_TypePropsToRuntimeProps_25<BentoInputFieldProps>, {
|
|
8133
9356
|
ariaHidden: boolean;
|
|
8134
9357
|
ariaLabel: any;
|
|
8135
9358
|
condensed: boolean;
|
|
9359
|
+
description: string;
|
|
8136
9360
|
disabled: boolean;
|
|
8137
9361
|
dropdown: any;
|
|
8138
9362
|
dropdownPosition: BentoInputFieldElementPosition;
|
|
8139
9363
|
error: boolean;
|
|
8140
9364
|
errorMessage: any;
|
|
9365
|
+
label: string;
|
|
8141
9366
|
optional: boolean;
|
|
8142
9367
|
placeholder: string;
|
|
8143
9368
|
required: boolean;
|
|
@@ -8151,7 +9376,9 @@ value: any;
|
|
|
8151
9376
|
variant: BentoInputFieldVariant;
|
|
8152
9377
|
}>>>, {
|
|
8153
9378
|
value: BentoInputFieldValue;
|
|
9379
|
+
description: string;
|
|
8154
9380
|
type: BentoInputFieldType | `${BentoInputFieldType}` | HTMLInputElement["type"];
|
|
9381
|
+
label: string;
|
|
8155
9382
|
variant: BentoInputFieldVariant | `${BentoInputFieldVariant}`;
|
|
8156
9383
|
required: boolean;
|
|
8157
9384
|
condensed: boolean;
|
|
@@ -8230,15 +9457,19 @@ export declare enum BentoInputFieldEvent {
|
|
|
8230
9457
|
* `
|
|
8231
9458
|
* }
|
|
8232
9459
|
*/
|
|
8233
|
-
export declare const BentoInputFieldPassword: DefineComponent<
|
|
9460
|
+
export declare const BentoInputFieldPassword: __VLS_WithTemplateSlots_21<DefineComponent<__VLS_WithDefaults_26<__VLS_TypePropsToRuntimeProps_26<BentoInputFieldPasswordProps>, {
|
|
8234
9461
|
condensed: boolean;
|
|
8235
9462
|
debounceTime: number;
|
|
9463
|
+
description: any;
|
|
8236
9464
|
disabled: boolean;
|
|
8237
9465
|
disableValidation: boolean;
|
|
8238
|
-
label: any;
|
|
8239
9466
|
errorMessage: any;
|
|
9467
|
+
label: any;
|
|
9468
|
+
optional: boolean;
|
|
8240
9469
|
placeholder: string;
|
|
8241
9470
|
readonly: boolean;
|
|
9471
|
+
required: boolean;
|
|
9472
|
+
tooltipText: any;
|
|
8242
9473
|
validation: any;
|
|
8243
9474
|
value: any;
|
|
8244
9475
|
withHint: boolean;
|
|
@@ -8252,37 +9483,48 @@ focus: () => void;
|
|
|
8252
9483
|
"input:error": (errors: BentoInputFieldPasswordErrorsList) => void;
|
|
8253
9484
|
} & {
|
|
8254
9485
|
input: (value: BentoInputFieldValue) => void;
|
|
8255
|
-
}, string, Readonly<ExtractPropTypes<
|
|
9486
|
+
}, string, Readonly<ExtractPropTypes<__VLS_WithDefaults_26<__VLS_TypePropsToRuntimeProps_26<BentoInputFieldPasswordProps>, {
|
|
8256
9487
|
condensed: boolean;
|
|
8257
9488
|
debounceTime: number;
|
|
9489
|
+
description: any;
|
|
8258
9490
|
disabled: boolean;
|
|
8259
9491
|
disableValidation: boolean;
|
|
8260
|
-
label: any;
|
|
8261
9492
|
errorMessage: any;
|
|
9493
|
+
label: any;
|
|
9494
|
+
optional: boolean;
|
|
8262
9495
|
placeholder: string;
|
|
8263
9496
|
readonly: boolean;
|
|
9497
|
+
required: boolean;
|
|
9498
|
+
tooltipText: any;
|
|
8264
9499
|
validation: any;
|
|
8265
9500
|
value: any;
|
|
8266
9501
|
withHint: boolean;
|
|
8267
9502
|
}>>>, {
|
|
8268
9503
|
value: BentoInputFieldProps["value"];
|
|
9504
|
+
description: string;
|
|
8269
9505
|
label: string;
|
|
9506
|
+
required: boolean;
|
|
8270
9507
|
condensed: BentoInputFieldProps["condensed"];
|
|
8271
|
-
disabled:
|
|
9508
|
+
disabled: boolean;
|
|
8272
9509
|
validation: BentoInputFieldPasswordValidation;
|
|
8273
|
-
|
|
8274
|
-
|
|
9510
|
+
optional: boolean;
|
|
9511
|
+
readonly: boolean;
|
|
9512
|
+
errorMessage: string;
|
|
9513
|
+
tooltipText: string;
|
|
8275
9514
|
debounceTime: number;
|
|
8276
|
-
placeholder:
|
|
9515
|
+
placeholder: string;
|
|
8277
9516
|
disableValidation: boolean;
|
|
8278
9517
|
withHint: boolean;
|
|
9518
|
+
}>, {
|
|
9519
|
+
default: (_: {}) => any;
|
|
9520
|
+
description: (_: {}) => any;
|
|
8279
9521
|
}>;
|
|
8280
9522
|
|
|
8281
9523
|
export declare type BentoInputFieldPasswordDefaultRuleKeys = 'minLength' | 'requireLowercase' | 'requireNumeric' | 'requireSpecialCharacter' | 'requireUppercase';
|
|
8282
9524
|
|
|
8283
9525
|
export declare type BentoInputFieldPasswordErrorsList = Record<BentoInputFieldPasswordDefaultRuleKeys | string, string>;
|
|
8284
9526
|
|
|
8285
|
-
export declare interface BentoInputFieldPasswordProps {
|
|
9527
|
+
export declare interface BentoInputFieldPasswordProps extends FormField {
|
|
8286
9528
|
/**
|
|
8287
9529
|
* Reduces height of the input
|
|
8288
9530
|
*/
|
|
@@ -8292,35 +9534,15 @@ export declare interface BentoInputFieldPasswordProps {
|
|
|
8292
9534
|
* This helps to avoid excessive validation checks on every keystroke. Defaults to `500`.
|
|
8293
9535
|
*/
|
|
8294
9536
|
debounceTime?: number;
|
|
8295
|
-
/**
|
|
8296
|
-
* Disables the possibility of changing value in the input-field
|
|
8297
|
-
*/
|
|
8298
|
-
disabled?: BentoInputFieldProps['disabled'];
|
|
8299
9537
|
/**
|
|
8300
9538
|
* Performs real-time validations over the input value. Default: `false`.
|
|
8301
9539
|
* Disabling the option (set to `true`) will not run pre-defined validations or custom validations defined in the `validation` field.
|
|
8302
9540
|
*/
|
|
8303
9541
|
disableValidation?: boolean;
|
|
8304
|
-
/**
|
|
8305
|
-
* Renders input-field with an error state and the error message beneath the input box
|
|
8306
|
-
*/
|
|
8307
|
-
errorMessage?: BentoInputFieldProps['errorMessage'];
|
|
8308
|
-
/**
|
|
8309
|
-
* Text displayed as the placeholder of the input-field
|
|
8310
|
-
*/
|
|
8311
|
-
placeholder?: BentoInputFieldProps['placeholder'];
|
|
8312
|
-
/**
|
|
8313
|
-
* Setting this property to true will set the input field to read only state.
|
|
8314
|
-
*/
|
|
8315
|
-
readonly?: BentoInputFieldProps['readonly'];
|
|
8316
9542
|
/**
|
|
8317
9543
|
* Text displayed as the value of the input-field
|
|
8318
9544
|
*/
|
|
8319
9545
|
value?: BentoInputFieldProps['value'];
|
|
8320
|
-
/**
|
|
8321
|
-
* Label to be shown with the input field
|
|
8322
|
-
*/
|
|
8323
|
-
label?: string;
|
|
8324
9546
|
/**
|
|
8325
9547
|
* Configuration object for password field validation.
|
|
8326
9548
|
*
|
|
@@ -8385,7 +9607,7 @@ export declare interface BentoInputFieldPasswordValidationListItem {
|
|
|
8385
9607
|
* `
|
|
8386
9608
|
* }
|
|
8387
9609
|
*/
|
|
8388
|
-
export declare const BentoInputFieldPhoneNumber:
|
|
9610
|
+
export declare const BentoInputFieldPhoneNumber: __VLS_WithTemplateSlots_22<DefineComponent<__VLS_WithDefaults_27<__VLS_TypePropsToRuntimeProps_27<BentoInputFieldPhoneNumberProps>, {
|
|
8389
9611
|
countries: () => CountryCode_2[];
|
|
8390
9612
|
description: any;
|
|
8391
9613
|
dynamicFiltering: boolean;
|
|
@@ -8397,7 +9619,7 @@ input: (value: string) => void;
|
|
|
8397
9619
|
"update:selected-country": (country: CountryCode_2) => void;
|
|
8398
9620
|
} & {
|
|
8399
9621
|
"input:valid": (value: boolean) => void;
|
|
8400
|
-
}, string, Readonly<ExtractPropTypes<
|
|
9622
|
+
}, string, Readonly<ExtractPropTypes<__VLS_WithDefaults_27<__VLS_TypePropsToRuntimeProps_27<BentoInputFieldPhoneNumberProps>, {
|
|
8401
9623
|
countries: () => CountryCode_2[];
|
|
8402
9624
|
description: any;
|
|
8403
9625
|
dynamicFiltering: boolean;
|
|
@@ -8448,7 +9670,7 @@ export declare interface BentoInputFieldPhoneNumberProps extends FormField {
|
|
|
8448
9670
|
value?: string | number;
|
|
8449
9671
|
}
|
|
8450
9672
|
|
|
8451
|
-
export declare interface BentoInputFieldProps {
|
|
9673
|
+
export declare interface BentoInputFieldProps extends FormField {
|
|
8452
9674
|
/**
|
|
8453
9675
|
* Indicates whether the element is exposed to an accessibility API.
|
|
8454
9676
|
*/
|
|
@@ -8463,10 +9685,6 @@ export declare interface BentoInputFieldProps {
|
|
|
8463
9685
|
* Reduces height of the input
|
|
8464
9686
|
*/
|
|
8465
9687
|
condensed?: boolean;
|
|
8466
|
-
/**
|
|
8467
|
-
* Disables the possibility of changing value in the input-field
|
|
8468
|
-
*/
|
|
8469
|
-
disabled?: boolean;
|
|
8470
9688
|
/**
|
|
8471
9689
|
* Dropdown props for the small selectable dropdown menu.
|
|
8472
9690
|
* Properties supported:
|
|
@@ -8485,30 +9703,9 @@ export declare interface BentoInputFieldProps {
|
|
|
8485
9703
|
/**
|
|
8486
9704
|
* Adds error validation class for outlining input-field.
|
|
8487
9705
|
*
|
|
8488
|
-
* @deprecated Use "errorMessage" prop instead
|
|
8489
|
-
*/
|
|
8490
|
-
error?: boolean;
|
|
8491
|
-
/**
|
|
8492
|
-
* Renders input-field with an error state and the error message beneath the input box
|
|
8493
|
-
*/
|
|
8494
|
-
errorMessage?: string;
|
|
8495
|
-
/**
|
|
8496
|
-
* Highlights the dropdown is optional.
|
|
8497
|
-
*/
|
|
8498
|
-
optional?: boolean;
|
|
8499
|
-
/**
|
|
8500
|
-
* Text displayed as the placeholder of the input-field
|
|
8501
|
-
*/
|
|
8502
|
-
placeholder?: string;
|
|
8503
|
-
/**
|
|
8504
|
-
* When present, indicates that the user must specify a value for the input before the owning form can be submitted.
|
|
8505
|
-
* The `required` attribute is supported by input types like `text`, `search`, and `number`.
|
|
8506
|
-
*/
|
|
8507
|
-
required?: boolean;
|
|
8508
|
-
/**
|
|
8509
|
-
* Setting this property to true will set the input field to read only state.
|
|
9706
|
+
* @deprecated Use "errorMessage" prop instead
|
|
8510
9707
|
*/
|
|
8511
|
-
|
|
9708
|
+
error?: boolean;
|
|
8512
9709
|
/**
|
|
8513
9710
|
* Renders a font numeric style with slashed zeros instead of normal ones.
|
|
8514
9711
|
*/
|
|
@@ -8522,10 +9719,6 @@ export declare interface BentoInputFieldProps {
|
|
|
8522
9719
|
* Position of Static Value before or after input value
|
|
8523
9720
|
*/
|
|
8524
9721
|
staticValuePosition?: BentoInputFieldElementPosition | `${BentoInputFieldElementPosition}`;
|
|
8525
|
-
/**
|
|
8526
|
-
* Adds a info icon next to the label to display the passed tooltip message.
|
|
8527
|
-
*/
|
|
8528
|
-
tooltipText?: string;
|
|
8529
9722
|
/**
|
|
8530
9723
|
* A string specifying the type of control to render.
|
|
8531
9724
|
* All `input` types are available but only `search`, `text` and `number` are fully supported.
|
|
@@ -8685,7 +9878,7 @@ export declare type BentoInpuWithDropdowntFilterValue = {
|
|
|
8685
9878
|
* `
|
|
8686
9879
|
* }
|
|
8687
9880
|
*/
|
|
8688
|
-
export declare const BentoInspector:
|
|
9881
|
+
export declare const BentoInspector: __VLS_WithTemplateSlots_23<DefineComponent<__VLS_WithDefaults_28<__VLS_TypePropsToRuntimeProps_28<BentoInspectorProps>, {
|
|
8689
9882
|
activePage: string;
|
|
8690
9883
|
expandable: boolean;
|
|
8691
9884
|
isOpen: boolean;
|
|
@@ -8699,7 +9892,7 @@ pageFocusAnchor: any;
|
|
|
8699
9892
|
"update:active-page": (value: string) => void;
|
|
8700
9893
|
} & {
|
|
8701
9894
|
expand: () => void;
|
|
8702
|
-
}, string, Readonly<ExtractPropTypes<
|
|
9895
|
+
}, string, Readonly<ExtractPropTypes<__VLS_WithDefaults_28<__VLS_TypePropsToRuntimeProps_28<BentoInspectorProps>, {
|
|
8703
9896
|
activePage: string;
|
|
8704
9897
|
expandable: boolean;
|
|
8705
9898
|
isOpen: boolean;
|
|
@@ -8815,10 +10008,10 @@ export declare enum BentoKeyboardNavigationKeyDownEvent {
|
|
|
8815
10008
|
* `
|
|
8816
10009
|
* }
|
|
8817
10010
|
*/
|
|
8818
|
-
export declare const BentoLayout:
|
|
10011
|
+
export declare const BentoLayout: __VLS_WithTemplateSlots_24<DefineComponent<__VLS_WithDefaults_29<__VLS_TypePropsToRuntimeProps_29<BentoLayoutProps>, {
|
|
8819
10012
|
size: string;
|
|
8820
10013
|
variant: string;
|
|
8821
|
-
}>, {}, {}, {}, {}, ComponentOptionsMixin, ComponentOptionsMixin, {}, string, Readonly<ExtractPropTypes<
|
|
10014
|
+
}>, {}, {}, {}, {}, ComponentOptionsMixin, ComponentOptionsMixin, {}, string, Readonly<ExtractPropTypes<__VLS_WithDefaults_29<__VLS_TypePropsToRuntimeProps_29<BentoLayoutProps>, {
|
|
8822
10015
|
size: string;
|
|
8823
10016
|
variant: string;
|
|
8824
10017
|
}>>>, {
|
|
@@ -8861,9 +10054,9 @@ export declare interface BentoLayoutProps {
|
|
|
8861
10054
|
* `
|
|
8862
10055
|
* }
|
|
8863
10056
|
*/
|
|
8864
|
-
export declare const BentoLayoutRow:
|
|
10057
|
+
export declare const BentoLayoutRow: __VLS_WithTemplateSlots_25<DefineComponent<__VLS_WithDefaults_30<__VLS_TypePropsToRuntimeProps_30<BentoLayoutRowProps>, {
|
|
8865
10058
|
columnsLayout: string;
|
|
8866
|
-
}>, {}, {}, {}, {}, ComponentOptionsMixin, ComponentOptionsMixin, {}, string, Readonly<ExtractPropTypes<
|
|
10059
|
+
}>, {}, {}, {}, {}, ComponentOptionsMixin, ComponentOptionsMixin, {}, string, Readonly<ExtractPropTypes<__VLS_WithDefaults_30<__VLS_TypePropsToRuntimeProps_30<BentoLayoutRowProps>, {
|
|
8867
10060
|
columnsLayout: string;
|
|
8868
10061
|
}>>>, {
|
|
8869
10062
|
columnsLayout: BentoLayoutRowColumnLayout;
|
|
@@ -8910,12 +10103,12 @@ export declare type BentoLazyLoadType = 'automatic' | 'button' | 'none';
|
|
|
8910
10103
|
* `
|
|
8911
10104
|
* }
|
|
8912
10105
|
*/
|
|
8913
|
-
export declare const BentoLink:
|
|
10106
|
+
export declare const BentoLink: __VLS_WithTemplateSlots_26<DefineComponent<__VLS_WithDefaults_32<__VLS_TypePropsToRuntimeProps_32<BentoLinkProps>, {
|
|
8914
10107
|
target: any;
|
|
8915
10108
|
variant: BentoLinkVariant;
|
|
8916
10109
|
}>, {}, {}, {}, {}, ComponentOptionsMixin, ComponentOptionsMixin, {
|
|
8917
10110
|
click: (clickEvent: MouseEvent) => void;
|
|
8918
|
-
}, string, Readonly<ExtractPropTypes<
|
|
10111
|
+
}, string, Readonly<ExtractPropTypes<__VLS_WithDefaults_32<__VLS_TypePropsToRuntimeProps_32<BentoLinkProps>, {
|
|
8919
10112
|
target: any;
|
|
8920
10113
|
variant: BentoLinkVariant;
|
|
8921
10114
|
}>>>, {
|
|
@@ -9186,7 +10379,7 @@ export declare enum BentoLoadingButtonState {
|
|
|
9186
10379
|
* `
|
|
9187
10380
|
* };
|
|
9188
10381
|
*/
|
|
9189
|
-
export declare const BentoLoadingIndicator: DefineComponent<
|
|
10382
|
+
export declare const BentoLoadingIndicator: DefineComponent<__VLS_WithDefaults_31<__VLS_TypePropsToRuntimeProps_31<BentoLoadingIndicatorProps>, {
|
|
9190
10383
|
small: boolean;
|
|
9191
10384
|
large: boolean;
|
|
9192
10385
|
inverse: boolean;
|
|
@@ -9194,7 +10387,7 @@ inverse: boolean;
|
|
|
9194
10387
|
"loading-start": () => void;
|
|
9195
10388
|
} & {
|
|
9196
10389
|
"loading-end": () => void;
|
|
9197
|
-
}, string, Readonly<ExtractPropTypes<
|
|
10390
|
+
}, string, Readonly<ExtractPropTypes<__VLS_WithDefaults_31<__VLS_TypePropsToRuntimeProps_31<BentoLoadingIndicatorProps>, {
|
|
9198
10391
|
small: boolean;
|
|
9199
10392
|
large: boolean;
|
|
9200
10393
|
inverse: boolean;
|
|
@@ -9241,7 +10434,7 @@ export declare interface BentoLoadingIndicatorProps {
|
|
|
9241
10434
|
* />
|
|
9242
10435
|
* }
|
|
9243
10436
|
*/
|
|
9244
|
-
export declare const BentoMenu:
|
|
10437
|
+
export declare const BentoMenu: __VLS_WithTemplateSlots_27<DefineComponent<__VLS_WithDefaults_33<__VLS_TypePropsToRuntimeProps_33<BentoMenuProps>, {
|
|
9245
10438
|
button: () => BentoMenuButtonProps;
|
|
9246
10439
|
closeMenuOnItemSelect: boolean;
|
|
9247
10440
|
disableArrowDownOpeningMenu: boolean;
|
|
@@ -9264,7 +10457,7 @@ open: () => void;
|
|
|
9264
10457
|
"menu-item-click": () => void;
|
|
9265
10458
|
} & {
|
|
9266
10459
|
"click-outside": () => void;
|
|
9267
|
-
}, string, Readonly<ExtractPropTypes<
|
|
10460
|
+
}, string, Readonly<ExtractPropTypes<__VLS_WithDefaults_33<__VLS_TypePropsToRuntimeProps_33<BentoMenuProps>, {
|
|
9268
10461
|
button: () => BentoMenuButtonProps;
|
|
9269
10462
|
closeMenuOnItemSelect: boolean;
|
|
9270
10463
|
disableArrowDownOpeningMenu: boolean;
|
|
@@ -9410,7 +10603,7 @@ export declare interface BentoMenuProps {
|
|
|
9410
10603
|
* `
|
|
9411
10604
|
* };
|
|
9412
10605
|
*/
|
|
9413
|
-
export declare const BentoModal:
|
|
10606
|
+
export declare const BentoModal: __VLS_WithTemplateSlots_28<DefineComponent< {
|
|
9414
10607
|
/**
|
|
9415
10608
|
* List of actions that will be used to render the buttons.
|
|
9416
10609
|
* First element in the list will be rendered as "primary".
|
|
@@ -9748,7 +10941,7 @@ export declare enum BentoModalEvent {
|
|
|
9748
10941
|
* `
|
|
9749
10942
|
* }
|
|
9750
10943
|
*/
|
|
9751
|
-
export declare const BentoModalFullscreen:
|
|
10944
|
+
export declare const BentoModalFullscreen: __VLS_WithTemplateSlots_30<DefineComponent< {
|
|
9752
10945
|
/**
|
|
9753
10946
|
* List of actions that will be used to render the buttons.
|
|
9754
10947
|
* First element in the list will be rendered as "primary".
|
|
@@ -9890,7 +11083,7 @@ contextualLabel: string;
|
|
|
9890
11083
|
* `
|
|
9891
11084
|
* }
|
|
9892
11085
|
*/
|
|
9893
|
-
export declare const BentoModalFullscreenPage:
|
|
11086
|
+
export declare const BentoModalFullscreenPage: __VLS_WithTemplateSlots_31<DefineComponent< {
|
|
9894
11087
|
/**
|
|
9895
11088
|
* List of actions that will be used to render the buttons.
|
|
9896
11089
|
* First element in the list will be rendered as "primary".
|
|
@@ -10032,7 +11225,7 @@ contextualLabel: string;
|
|
|
10032
11225
|
* `
|
|
10033
11226
|
* }
|
|
10034
11227
|
*/
|
|
10035
|
-
export declare const BentoModalPage:
|
|
11228
|
+
export declare const BentoModalPage: __VLS_WithTemplateSlots_29<DefineComponent<__VLS_WithDefaults_34<__VLS_TypePropsToRuntimeProps_34<BentoModalPageProps>, {
|
|
10036
11229
|
actions: any;
|
|
10037
11230
|
actionsLabel: any;
|
|
10038
11231
|
columnsSize: BentoModalColumnLayoutVariant;
|
|
@@ -10041,7 +11234,7 @@ destructiveActions: boolean;
|
|
|
10041
11234
|
withColumnLayout: boolean;
|
|
10042
11235
|
pageId: any;
|
|
10043
11236
|
previousPage: any;
|
|
10044
|
-
}>, {}, {}, {}, {}, ComponentOptionsMixin, ComponentOptionsMixin, {}, string, Readonly<ExtractPropTypes<
|
|
11237
|
+
}>, {}, {}, {}, {}, ComponentOptionsMixin, ComponentOptionsMixin, {}, string, Readonly<ExtractPropTypes<__VLS_WithDefaults_34<__VLS_TypePropsToRuntimeProps_34<BentoModalPageProps>, {
|
|
10045
11238
|
actions: any;
|
|
10046
11239
|
actionsLabel: any;
|
|
10047
11240
|
columnsSize: BentoModalColumnLayoutVariant;
|
|
@@ -10189,7 +11382,7 @@ export declare type BentoMultiCheckboxType = Array<string | number>;
|
|
|
10189
11382
|
* `,
|
|
10190
11383
|
* }
|
|
10191
11384
|
*/
|
|
10192
|
-
export declare const BentoPagination:
|
|
11385
|
+
export declare const BentoPagination: __VLS_WithTemplateSlots_32<DefineComponent<__VLS_WithDefaults_35<__VLS_TypePropsToRuntimeProps_35<BentoPaginationProps>, {
|
|
10193
11386
|
ariaLabel: any;
|
|
10194
11387
|
hasNext: any;
|
|
10195
11388
|
hidePageSize: boolean;
|
|
@@ -10205,7 +11398,7 @@ navigate: (page: number, items?: number) => void;
|
|
|
10205
11398
|
"update:page": (page: number) => void;
|
|
10206
11399
|
} & {
|
|
10207
11400
|
"update:size": (size: number) => void;
|
|
10208
|
-
}, string, Readonly<ExtractPropTypes<
|
|
11401
|
+
}, string, Readonly<ExtractPropTypes<__VLS_WithDefaults_35<__VLS_TypePropsToRuntimeProps_35<BentoPaginationProps>, {
|
|
10209
11402
|
ariaLabel: any;
|
|
10210
11403
|
hasNext: any;
|
|
10211
11404
|
hidePageSize: boolean;
|
|
@@ -10271,10 +11464,10 @@ export declare interface BentoPaginationProps {
|
|
|
10271
11464
|
* `
|
|
10272
11465
|
* }
|
|
10273
11466
|
*/
|
|
10274
|
-
export declare const BentoPaymentMethod: DefineComponent<
|
|
11467
|
+
export declare const BentoPaymentMethod: DefineComponent<__VLS_WithDefaults_36<__VLS_TypePropsToRuntimeProps_36<BentoPaymentMethodProps>, {
|
|
10275
11468
|
type: string;
|
|
10276
11469
|
small: boolean;
|
|
10277
|
-
}>, {}, {}, {}, {}, ComponentOptionsMixin, ComponentOptionsMixin, {}, string, Readonly<ExtractPropTypes<
|
|
11470
|
+
}>, {}, {}, {}, {}, ComponentOptionsMixin, ComponentOptionsMixin, {}, string, Readonly<ExtractPropTypes<__VLS_WithDefaults_36<__VLS_TypePropsToRuntimeProps_36<BentoPaymentMethodProps>, {
|
|
10278
11471
|
type: string;
|
|
10279
11472
|
small: boolean;
|
|
10280
11473
|
}>>>, {
|
|
@@ -11466,7 +12659,7 @@ export declare enum BentoPaymentMethodType {
|
|
|
11466
12659
|
* `
|
|
11467
12660
|
* }
|
|
11468
12661
|
*/
|
|
11469
|
-
export declare const BentoPopover:
|
|
12662
|
+
export declare const BentoPopover: __VLS_WithTemplateSlots_33<DefineComponent<__VLS_WithDefaults_37<__VLS_TypePropsToRuntimeProps_37<BentoPopoverProps>, {
|
|
11470
12663
|
actions: any;
|
|
11471
12664
|
actionsLayout: string;
|
|
11472
12665
|
ariaLabel: any;
|
|
@@ -11490,7 +12683,7 @@ overflowVisible: boolean;
|
|
|
11490
12683
|
dismiss: () => void;
|
|
11491
12684
|
} & {
|
|
11492
12685
|
placement: (placement: Placement) => void;
|
|
11493
|
-
}, string, Readonly<ExtractPropTypes<
|
|
12686
|
+
}, string, Readonly<ExtractPropTypes<__VLS_WithDefaults_37<__VLS_TypePropsToRuntimeProps_37<BentoPopoverProps>, {
|
|
11494
12687
|
actions: any;
|
|
11495
12688
|
actionsLayout: string;
|
|
11496
12689
|
ariaLabel: any;
|
|
@@ -11702,7 +12895,7 @@ export declare interface BentoPopoverProps {
|
|
|
11702
12895
|
* `
|
|
11703
12896
|
* };
|
|
11704
12897
|
*/
|
|
11705
|
-
export declare const BentoPromoBanner:
|
|
12898
|
+
export declare const BentoPromoBanner: __VLS_WithTemplateSlots_34<DefineComponent<__VLS_WithDefaults_38<__VLS_TypePropsToRuntimeProps_38<BentoPromoBannerProps>, {
|
|
11706
12899
|
actions: any;
|
|
11707
12900
|
color: BentoPromoBannerColor;
|
|
11708
12901
|
isDismissible: boolean;
|
|
@@ -11710,7 +12903,7 @@ dismissButtonText: any;
|
|
|
11710
12903
|
layout: BentoPromoBannerLayout;
|
|
11711
12904
|
}>, {}, {}, {}, {}, ComponentOptionsMixin, ComponentOptionsMixin, {
|
|
11712
12905
|
dismiss: () => void;
|
|
11713
|
-
}, string, Readonly<ExtractPropTypes<
|
|
12906
|
+
}, string, Readonly<ExtractPropTypes<__VLS_WithDefaults_38<__VLS_TypePropsToRuntimeProps_38<BentoPromoBannerProps>, {
|
|
11714
12907
|
actions: any;
|
|
11715
12908
|
color: BentoPromoBannerColor;
|
|
11716
12909
|
isDismissible: boolean;
|
|
@@ -11849,7 +13042,7 @@ export declare interface BentoPromoBannerProps {
|
|
|
11849
13042
|
* }
|
|
11850
13043
|
* }
|
|
11851
13044
|
*/
|
|
11852
|
-
export declare const BentoRadioButton:
|
|
13045
|
+
export declare const BentoRadioButton: __VLS_WithTemplateSlots_36<DefineComponent< {
|
|
11853
13046
|
/**
|
|
11854
13047
|
* Disable the radio button (optional)
|
|
11855
13048
|
*/
|
|
@@ -12004,7 +13197,7 @@ export declare type BentoRadioButtonValue = string | number;
|
|
|
12004
13197
|
* `
|
|
12005
13198
|
* };
|
|
12006
13199
|
*/
|
|
12007
|
-
export declare const BentoRadioGroup:
|
|
13200
|
+
export declare const BentoRadioGroup: __VLS_WithTemplateSlots_35<DefineComponent<__VLS_WithDefaults_39<__VLS_TypePropsToRuntimeProps_39<BentoRadioGroupProps>, {
|
|
12008
13201
|
description: any;
|
|
12009
13202
|
disabled: boolean;
|
|
12010
13203
|
errorMessage: any;
|
|
@@ -12023,7 +13216,7 @@ focus: () => void;
|
|
|
12023
13216
|
input: (value: BentoRadioButtonValue) => void;
|
|
12024
13217
|
} & {
|
|
12025
13218
|
"update:model-value": (value: BentoRadioButtonValue) => void;
|
|
12026
|
-
}, string, Readonly<ExtractPropTypes<
|
|
13219
|
+
}, string, Readonly<ExtractPropTypes<__VLS_WithDefaults_39<__VLS_TypePropsToRuntimeProps_39<BentoRadioGroupProps>, {
|
|
12027
13220
|
description: any;
|
|
12028
13221
|
disabled: boolean;
|
|
12029
13222
|
errorMessage: any;
|
|
@@ -12140,7 +13333,7 @@ export declare type BentoRangeFilterOptions = {
|
|
|
12140
13333
|
* `
|
|
12141
13334
|
* }
|
|
12142
13335
|
*/
|
|
12143
|
-
export declare const BentoRichTextEditor: DefineComponent<
|
|
13336
|
+
export declare const BentoRichTextEditor: DefineComponent<__VLS_WithDefaults_41<__VLS_TypePropsToRuntimeProps_41<BentoRichTextEditorProps>, {
|
|
12144
13337
|
description: any;
|
|
12145
13338
|
disabled: boolean;
|
|
12146
13339
|
errorMessage: any;
|
|
@@ -12152,7 +13345,7 @@ tooltipText: any;
|
|
|
12152
13345
|
value: any;
|
|
12153
13346
|
}>, {}, {}, {}, {}, ComponentOptionsMixin, ComponentOptionsMixin, {
|
|
12154
13347
|
input: (value: string) => void;
|
|
12155
|
-
}, string, Readonly<ExtractPropTypes<
|
|
13348
|
+
}, string, Readonly<ExtractPropTypes<__VLS_WithDefaults_41<__VLS_TypePropsToRuntimeProps_41<BentoRichTextEditorProps>, {
|
|
12156
13349
|
description: any;
|
|
12157
13350
|
disabled: boolean;
|
|
12158
13351
|
errorMessage: any;
|
|
@@ -12264,7 +13457,7 @@ export declare interface BentoRichTextEditorProps {
|
|
|
12264
13457
|
* }
|
|
12265
13458
|
* }
|
|
12266
13459
|
*/
|
|
12267
|
-
export declare const BentoSearchBar: DefineComponent<
|
|
13460
|
+
export declare const BentoSearchBar: DefineComponent<__VLS_WithDefaults_42<__VLS_TypePropsToRuntimeProps_42<BentoSearchBarProps>, {
|
|
12268
13461
|
condensed: boolean;
|
|
12269
13462
|
debounceTime: number;
|
|
12270
13463
|
disabled: boolean;
|
|
@@ -12286,7 +13479,7 @@ clear: () => void;
|
|
|
12286
13479
|
blur: () => void;
|
|
12287
13480
|
} & {
|
|
12288
13481
|
focus: () => void;
|
|
12289
|
-
}, string, Readonly<ExtractPropTypes<
|
|
13482
|
+
}, string, Readonly<ExtractPropTypes<__VLS_WithDefaults_42<__VLS_TypePropsToRuntimeProps_42<BentoSearchBarProps>, {
|
|
12290
13483
|
condensed: boolean;
|
|
12291
13484
|
debounceTime: number;
|
|
12292
13485
|
disabled: boolean;
|
|
@@ -12375,7 +13568,7 @@ export declare interface BentoSearchBarProps {
|
|
|
12375
13568
|
* }
|
|
12376
13569
|
* }
|
|
12377
13570
|
*/
|
|
12378
|
-
export declare const BentoSecondaryNav: DefineComponent<
|
|
13571
|
+
export declare const BentoSecondaryNav: DefineComponent<__VLS_TypePropsToRuntimeProps_43<{
|
|
12379
13572
|
/**
|
|
12380
13573
|
* An array containing all the items on the nav. The array can have either {@see BentoSecondaryNavItemsCategory },
|
|
12381
13574
|
* which is used to group different items or {@see BentoSecondaryNavItemsItem } if you don't need to group them.
|
|
@@ -12388,7 +13581,7 @@ items: BentoSecondaryNavItems;
|
|
|
12388
13581
|
value?: string;
|
|
12389
13582
|
}>, {}, {}, {}, {}, ComponentOptionsMixin, ComponentOptionsMixin, {
|
|
12390
13583
|
change: (category: string) => void;
|
|
12391
|
-
}, string, Readonly<ExtractPropTypes<
|
|
13584
|
+
}, string, Readonly<ExtractPropTypes<__VLS_TypePropsToRuntimeProps_43<{
|
|
12392
13585
|
/**
|
|
12393
13586
|
* An array containing all the items on the nav. The array can have either {@see BentoSecondaryNavItemsCategory },
|
|
12394
13587
|
* which is used to group different items or {@see BentoSecondaryNavItemsItem } if you don't need to group them.
|
|
@@ -12433,7 +13626,7 @@ export declare interface BentoSecondaryNavState {
|
|
|
12433
13626
|
* `
|
|
12434
13627
|
* }
|
|
12435
13628
|
*/
|
|
12436
|
-
export declare const BentoSegmentedControl: DefineComponent<
|
|
13629
|
+
export declare const BentoSegmentedControl: DefineComponent<__VLS_WithDefaults_44<__VLS_TypePropsToRuntimeProps_45<BentoSegmentedControlProps>, {
|
|
12437
13630
|
ariaLabel: any;
|
|
12438
13631
|
fullWidth: boolean;
|
|
12439
13632
|
wrap: boolean;
|
|
@@ -12442,7 +13635,7 @@ modelValue: any;
|
|
|
12442
13635
|
"update:model-value": (value: any) => void;
|
|
12443
13636
|
} & {
|
|
12444
13637
|
input: (value: BentoSegmentedControlValue) => void;
|
|
12445
|
-
}, string, Readonly<ExtractPropTypes<
|
|
13638
|
+
}, string, Readonly<ExtractPropTypes<__VLS_WithDefaults_44<__VLS_TypePropsToRuntimeProps_45<BentoSegmentedControlProps>, {
|
|
12446
13639
|
ariaLabel: any;
|
|
12447
13640
|
fullWidth: boolean;
|
|
12448
13641
|
wrap: boolean;
|
|
@@ -12637,7 +13830,7 @@ export declare type BentoSelectFilterValue = BentoListboxSelectedValue;
|
|
|
12637
13830
|
* `
|
|
12638
13831
|
* }
|
|
12639
13832
|
*/
|
|
12640
|
-
export declare const BentoSelectionCard:
|
|
13833
|
+
export declare const BentoSelectionCard: __VLS_WithTemplateSlots_37<DefineComponent< {
|
|
12641
13834
|
/**
|
|
12642
13835
|
* The description of the selection card
|
|
12643
13836
|
*/
|
|
@@ -12830,230 +14023,43 @@ fullyClickable: boolean;
|
|
|
12830
14023
|
* `,
|
|
12831
14024
|
* }
|
|
12832
14025
|
*/
|
|
12833
|
-
export declare const BentoSelectionCardGroup:
|
|
12834
|
-
|
|
12835
|
-
|
|
12836
|
-
|
|
12837
|
-
|
|
12838
|
-
|
|
12839
|
-
|
|
12840
|
-
|
|
12841
|
-
|
|
12842
|
-
|
|
12843
|
-
|
|
12844
|
-
|
|
12845
|
-
|
|
12846
|
-
|
|
12847
|
-
|
|
12848
|
-
|
|
12849
|
-
* Renders all cards in an error state with an error message.
|
|
12850
|
-
*/
|
|
12851
|
-
errorMessage: {
|
|
12852
|
-
type: StringConstructor;
|
|
12853
|
-
default: any;
|
|
12854
|
-
};
|
|
12855
|
-
/**
|
|
12856
|
-
* The form id the selection card group is associated with. Defaults to null, as a selection card group can also be used standalone.
|
|
12857
|
-
*/
|
|
12858
|
-
formId: {
|
|
12859
|
-
type: StringConstructor;
|
|
12860
|
-
default: any;
|
|
12861
|
-
};
|
|
12862
|
-
/**
|
|
12863
|
-
* Shows/hides the group label.
|
|
12864
|
-
*/
|
|
12865
|
-
hideLabel: {
|
|
12866
|
-
type: BooleanConstructor;
|
|
12867
|
-
default: any;
|
|
12868
|
-
};
|
|
12869
|
-
/**
|
|
12870
|
-
* Label of the group. Required for accessibility purposes, even if it's not shown
|
|
12871
|
-
*/
|
|
12872
|
-
label: {
|
|
12873
|
-
type: StringConstructor;
|
|
12874
|
-
required: true;
|
|
12875
|
-
};
|
|
12876
|
-
/**
|
|
12877
|
-
* The selection card group's layout. It can be vertical or horizontal. Defaults to vertical.
|
|
12878
|
-
* @values horizontal, vertical
|
|
12879
|
-
*/
|
|
12880
|
-
layout: {
|
|
12881
|
-
type: PropType<BentoSelectionCardGroupLayout>;
|
|
12882
|
-
default: string;
|
|
12883
|
-
};
|
|
12884
|
-
/**
|
|
12885
|
-
* The selection card group's items.
|
|
12886
|
-
*/
|
|
12887
|
-
items: {
|
|
12888
|
-
type: PropType<Array<BentoSelectionCardItem>>;
|
|
12889
|
-
required: true;
|
|
12890
|
-
};
|
|
12891
|
-
/**
|
|
12892
|
-
* Sets the responsive number of items rendered in each row.
|
|
12893
|
-
*/
|
|
12894
|
-
itemsPerRow: {
|
|
12895
|
-
type: PropType<BentoSelectionCardGroupItemsPerRow>;
|
|
12896
|
-
default: any;
|
|
12897
|
-
};
|
|
12898
|
-
/**
|
|
12899
|
-
* Determines the initially selected value of the group. Corresponds to the BentoSelectionCardItem's value.
|
|
12900
|
-
* Defaults to no value selected.
|
|
12901
|
-
*/
|
|
12902
|
-
modelValue: {
|
|
12903
|
-
type: PropType<BentoSelectionCardModelValue>;
|
|
12904
|
-
default: any;
|
|
12905
|
-
};
|
|
12906
|
-
/**
|
|
12907
|
-
* Indicates the field is optional.
|
|
12908
|
-
*/
|
|
12909
|
-
optional: {
|
|
12910
|
-
type: BooleanConstructor;
|
|
12911
|
-
default: boolean;
|
|
12912
|
-
};
|
|
12913
|
-
/**
|
|
12914
|
-
* Indicates the field is required.
|
|
12915
|
-
*/
|
|
12916
|
-
required: {
|
|
12917
|
-
type: BooleanConstructor;
|
|
12918
|
-
default: boolean;
|
|
12919
|
-
};
|
|
12920
|
-
/**
|
|
12921
|
-
* Tooltip message.
|
|
12922
|
-
*/
|
|
12923
|
-
tooltipText: {
|
|
12924
|
-
type: StringConstructor;
|
|
12925
|
-
default: any;
|
|
12926
|
-
};
|
|
12927
|
-
/**
|
|
12928
|
-
* If set to true, renders all cards in the group in a readonly state.
|
|
12929
|
-
*/
|
|
12930
|
-
readonly: {
|
|
12931
|
-
type: BooleanConstructor;
|
|
12932
|
-
default: boolean;
|
|
12933
|
-
};
|
|
12934
|
-
/**
|
|
12935
|
-
* Renders the cards with a checkbox or a radio input. Selection logic will also apply in accordance.
|
|
12936
|
-
* @values checkbox, radio
|
|
12937
|
-
*/
|
|
12938
|
-
variant: {
|
|
12939
|
-
type: PropType<BentoSelectionCardGroupVariant>;
|
|
12940
|
-
default: string;
|
|
12941
|
-
};
|
|
12942
|
-
}, {}, {}, {}, {}, ComponentOptionsMixin, ComponentOptionsMixin, {
|
|
14026
|
+
export declare const BentoSelectionCardGroup: __VLS_WithTemplateSlots_38<DefineComponent<__VLS_WithDefaults_43<__VLS_TypePropsToRuntimeProps_44<BentoSelectionCardGroupProps>, {
|
|
14027
|
+
description: any;
|
|
14028
|
+
disabled: boolean;
|
|
14029
|
+
errorMessage: any;
|
|
14030
|
+
formId: any;
|
|
14031
|
+
hideLabel: any;
|
|
14032
|
+
label: any;
|
|
14033
|
+
layout: string;
|
|
14034
|
+
itemsPerRow: any;
|
|
14035
|
+
modelValue: any;
|
|
14036
|
+
optional: boolean;
|
|
14037
|
+
required: boolean;
|
|
14038
|
+
tooltipText: any;
|
|
14039
|
+
readonly: boolean;
|
|
14040
|
+
variant: string;
|
|
14041
|
+
}>, {}, {}, {}, {}, ComponentOptionsMixin, ComponentOptionsMixin, {
|
|
12943
14042
|
input: (value: BentoSelectionCardModelValue) => void;
|
|
12944
14043
|
} & {
|
|
12945
14044
|
"update:model-value": (value: BentoSelectionCardModelValue) => void;
|
|
12946
|
-
}, string, Readonly<ExtractPropTypes<
|
|
12947
|
-
|
|
12948
|
-
|
|
12949
|
-
|
|
12950
|
-
|
|
12951
|
-
|
|
12952
|
-
|
|
12953
|
-
|
|
12954
|
-
|
|
12955
|
-
|
|
12956
|
-
|
|
12957
|
-
|
|
12958
|
-
|
|
12959
|
-
|
|
12960
|
-
|
|
12961
|
-
|
|
12962
|
-
* Renders all cards in an error state with an error message.
|
|
12963
|
-
*/
|
|
12964
|
-
errorMessage: {
|
|
12965
|
-
type: StringConstructor;
|
|
12966
|
-
default: any;
|
|
12967
|
-
};
|
|
12968
|
-
/**
|
|
12969
|
-
* The form id the selection card group is associated with. Defaults to null, as a selection card group can also be used standalone.
|
|
12970
|
-
*/
|
|
12971
|
-
formId: {
|
|
12972
|
-
type: StringConstructor;
|
|
12973
|
-
default: any;
|
|
12974
|
-
};
|
|
12975
|
-
/**
|
|
12976
|
-
* Shows/hides the group label.
|
|
12977
|
-
*/
|
|
12978
|
-
hideLabel: {
|
|
12979
|
-
type: BooleanConstructor;
|
|
12980
|
-
default: any;
|
|
12981
|
-
};
|
|
12982
|
-
/**
|
|
12983
|
-
* Label of the group. Required for accessibility purposes, even if it's not shown
|
|
12984
|
-
*/
|
|
12985
|
-
label: {
|
|
12986
|
-
type: StringConstructor;
|
|
12987
|
-
required: true;
|
|
12988
|
-
};
|
|
12989
|
-
/**
|
|
12990
|
-
* The selection card group's layout. It can be vertical or horizontal. Defaults to vertical.
|
|
12991
|
-
* @values horizontal, vertical
|
|
12992
|
-
*/
|
|
12993
|
-
layout: {
|
|
12994
|
-
type: PropType<BentoSelectionCardGroupLayout>;
|
|
12995
|
-
default: string;
|
|
12996
|
-
};
|
|
12997
|
-
/**
|
|
12998
|
-
* The selection card group's items.
|
|
12999
|
-
*/
|
|
13000
|
-
items: {
|
|
13001
|
-
type: PropType<Array<BentoSelectionCardItem>>;
|
|
13002
|
-
required: true;
|
|
13003
|
-
};
|
|
13004
|
-
/**
|
|
13005
|
-
* Sets the responsive number of items rendered in each row.
|
|
13006
|
-
*/
|
|
13007
|
-
itemsPerRow: {
|
|
13008
|
-
type: PropType<BentoSelectionCardGroupItemsPerRow>;
|
|
13009
|
-
default: any;
|
|
13010
|
-
};
|
|
13011
|
-
/**
|
|
13012
|
-
* Determines the initially selected value of the group. Corresponds to the BentoSelectionCardItem's value.
|
|
13013
|
-
* Defaults to no value selected.
|
|
13014
|
-
*/
|
|
13015
|
-
modelValue: {
|
|
13016
|
-
type: PropType<BentoSelectionCardModelValue>;
|
|
13017
|
-
default: any;
|
|
13018
|
-
};
|
|
13019
|
-
/**
|
|
13020
|
-
* Indicates the field is optional.
|
|
13021
|
-
*/
|
|
13022
|
-
optional: {
|
|
13023
|
-
type: BooleanConstructor;
|
|
13024
|
-
default: boolean;
|
|
13025
|
-
};
|
|
13026
|
-
/**
|
|
13027
|
-
* Indicates the field is required.
|
|
13028
|
-
*/
|
|
13029
|
-
required: {
|
|
13030
|
-
type: BooleanConstructor;
|
|
13031
|
-
default: boolean;
|
|
13032
|
-
};
|
|
13033
|
-
/**
|
|
13034
|
-
* Tooltip message.
|
|
13035
|
-
*/
|
|
13036
|
-
tooltipText: {
|
|
13037
|
-
type: StringConstructor;
|
|
13038
|
-
default: any;
|
|
13039
|
-
};
|
|
13040
|
-
/**
|
|
13041
|
-
* If set to true, renders all cards in the group in a readonly state.
|
|
13042
|
-
*/
|
|
13043
|
-
readonly: {
|
|
13044
|
-
type: BooleanConstructor;
|
|
13045
|
-
default: boolean;
|
|
13046
|
-
};
|
|
13047
|
-
/**
|
|
13048
|
-
* Renders the cards with a checkbox or a radio input. Selection logic will also apply in accordance.
|
|
13049
|
-
* @values checkbox, radio
|
|
13050
|
-
*/
|
|
13051
|
-
variant: {
|
|
13052
|
-
type: PropType<BentoSelectionCardGroupVariant>;
|
|
13053
|
-
default: string;
|
|
13054
|
-
};
|
|
13055
|
-
}>>, {
|
|
14045
|
+
}, string, Readonly<ExtractPropTypes<__VLS_WithDefaults_43<__VLS_TypePropsToRuntimeProps_44<BentoSelectionCardGroupProps>, {
|
|
14046
|
+
description: any;
|
|
14047
|
+
disabled: boolean;
|
|
14048
|
+
errorMessage: any;
|
|
14049
|
+
formId: any;
|
|
14050
|
+
hideLabel: any;
|
|
14051
|
+
label: any;
|
|
14052
|
+
layout: string;
|
|
14053
|
+
itemsPerRow: any;
|
|
14054
|
+
modelValue: any;
|
|
14055
|
+
optional: boolean;
|
|
14056
|
+
required: boolean;
|
|
14057
|
+
tooltipText: any;
|
|
14058
|
+
readonly: boolean;
|
|
14059
|
+
variant: string;
|
|
14060
|
+
}>>>, {
|
|
13056
14061
|
description: string;
|
|
14062
|
+
label: string;
|
|
13057
14063
|
variant: BentoSelectionCardGroupVariant;
|
|
13058
14064
|
required: boolean;
|
|
13059
14065
|
disabled: boolean;
|
|
@@ -13065,7 +14071,7 @@ errorMessage: string;
|
|
|
13065
14071
|
tooltipText: string;
|
|
13066
14072
|
hideLabel: boolean;
|
|
13067
14073
|
formId: string;
|
|
13068
|
-
itemsPerRow:
|
|
14074
|
+
itemsPerRow: BentoSelectionCardGroupItemsPerRow;
|
|
13069
14075
|
}>, {
|
|
13070
14076
|
icon: (_: any) => any;
|
|
13071
14077
|
content: (_: any) => any;
|
|
@@ -13076,6 +14082,46 @@ export declare type BentoSelectionCardGroupItemsPerRow = GridLayoutColumnWidth;
|
|
|
13076
14082
|
|
|
13077
14083
|
export declare type BentoSelectionCardGroupLayout = 'horizontal' | 'vertical';
|
|
13078
14084
|
|
|
14085
|
+
export declare interface BentoSelectionCardGroupProps extends FormField {
|
|
14086
|
+
/**
|
|
14087
|
+
* The form id the selection card group is associated with. Defaults to null, as a selection card group can also be
|
|
14088
|
+
* used standalone.
|
|
14089
|
+
* @default null
|
|
14090
|
+
*/
|
|
14091
|
+
formId?: string;
|
|
14092
|
+
/**
|
|
14093
|
+
* Shows/hides the group label.
|
|
14094
|
+
* @default null
|
|
14095
|
+
*/
|
|
14096
|
+
hideLabel?: boolean;
|
|
14097
|
+
/**
|
|
14098
|
+
* The selection card group's layout. It can be vertical or horizontal. Defaults to vertical.
|
|
14099
|
+
* @values horizontal, vertical
|
|
14100
|
+
* @default vertical
|
|
14101
|
+
*/
|
|
14102
|
+
layout?: BentoSelectionCardGroupLayout;
|
|
14103
|
+
/**
|
|
14104
|
+
* The selection card group's items.
|
|
14105
|
+
*/
|
|
14106
|
+
items: Array<BentoSelectionCardItem>;
|
|
14107
|
+
/**
|
|
14108
|
+
* Sets the responsive number of items rendered in each row.
|
|
14109
|
+
* @default undefined
|
|
14110
|
+
*/
|
|
14111
|
+
itemsPerRow?: BentoSelectionCardGroupItemsPerRow;
|
|
14112
|
+
/**
|
|
14113
|
+
* Determines the initially selected value of the group. Corresponds to the BentoSelectionCardItem's value.
|
|
14114
|
+
* @default null
|
|
14115
|
+
*/
|
|
14116
|
+
modelValue?: BentoSelectionCardModelValue;
|
|
14117
|
+
/**
|
|
14118
|
+
* Renders the cards with a checkbox or a radio input. Selection logic will also apply in accordance.
|
|
14119
|
+
* @values checkbox, radio
|
|
14120
|
+
* @default checkbox
|
|
14121
|
+
*/
|
|
14122
|
+
variant?: BentoSelectionCardGroupVariant;
|
|
14123
|
+
}
|
|
14124
|
+
|
|
13079
14125
|
export declare type BentoSelectionCardGroupVariant = 'checkbox' | 'radio';
|
|
13080
14126
|
|
|
13081
14127
|
export declare interface BentoSelectionCardItem {
|
|
@@ -13146,7 +14192,7 @@ export declare type BentoSelectTagFilterOptions = OmitStrict<BentoSelectFilterOp
|
|
|
13146
14192
|
* `
|
|
13147
14193
|
* }
|
|
13148
14194
|
*/
|
|
13149
|
-
export declare const BentoSidepanel:
|
|
14195
|
+
export declare const BentoSidepanel: __VLS_WithTemplateSlots_40<DefineComponent< {
|
|
13150
14196
|
/**
|
|
13151
14197
|
* The id of the current active page
|
|
13152
14198
|
* Should be the same id as the BentoSidepanelPage to be displayed
|
|
@@ -13274,7 +14320,7 @@ export declare enum BentoSidepanelEvent {
|
|
|
13274
14320
|
* `
|
|
13275
14321
|
* }
|
|
13276
14322
|
*/
|
|
13277
|
-
export declare const BentoSidepanelPage:
|
|
14323
|
+
export declare const BentoSidepanelPage: __VLS_WithTemplateSlots_39<DefineComponent< {
|
|
13278
14324
|
/**
|
|
13279
14325
|
* List of actions that will be used to render the buttons.
|
|
13280
14326
|
* First element in the list will be rendered as "primary".
|
|
@@ -13417,7 +14463,7 @@ destructiveActions: boolean;
|
|
|
13417
14463
|
* `
|
|
13418
14464
|
* }
|
|
13419
14465
|
*/
|
|
13420
|
-
export declare const BentoStatus:
|
|
14466
|
+
export declare const BentoStatus: __VLS_WithTemplateSlots_41<DefineComponent<__VLS_TypePropsToRuntimeProps_46<BentoStatusProps>, {}, {}, {}, {}, ComponentOptionsMixin, ComponentOptionsMixin, {}, string, Readonly<ExtractPropTypes<__VLS_TypePropsToRuntimeProps_46<BentoStatusProps>>>, {}>, {
|
|
13421
14467
|
default: (_: {}) => any;
|
|
13422
14468
|
}>;
|
|
13423
14469
|
|
|
@@ -13462,7 +14508,7 @@ export declare enum BentoStatusVariant {
|
|
|
13462
14508
|
* `
|
|
13463
14509
|
* }
|
|
13464
14510
|
*/
|
|
13465
|
-
export declare const BentoStep:
|
|
14511
|
+
export declare const BentoStep: __VLS_WithTemplateSlots_43<DefineComponent< {
|
|
13466
14512
|
/**
|
|
13467
14513
|
* Completed status. Used on non-linear steppers to indicate if the step is completed.
|
|
13468
14514
|
*/
|
|
@@ -13519,7 +14565,7 @@ substepIndex: number;
|
|
|
13519
14565
|
* `
|
|
13520
14566
|
* }
|
|
13521
14567
|
*/
|
|
13522
|
-
export declare const BentoStepper:
|
|
14568
|
+
export declare const BentoStepper: __VLS_WithTemplateSlots_42<DefineComponent< {
|
|
13523
14569
|
/**
|
|
13524
14570
|
* Type of stepper; defines how the stepper should behave. Default: linear
|
|
13525
14571
|
* @values linear, non-linear
|
|
@@ -13633,7 +14679,7 @@ declare interface BentoStickyTabsOptions {
|
|
|
13633
14679
|
* `
|
|
13634
14680
|
* }
|
|
13635
14681
|
*/
|
|
13636
|
-
export declare const BentoStructuredList:
|
|
14682
|
+
export declare const BentoStructuredList: __VLS_WithTemplateSlots_44<DefineComponent<__VLS_WithDefaults_45<__VLS_TypePropsToRuntimeProps_47<{
|
|
13637
14683
|
/**
|
|
13638
14684
|
* Width of the labels container, in pixels. Overrides layout prop.
|
|
13639
14685
|
*/
|
|
@@ -13657,7 +14703,7 @@ layout?: BentoStructuredListLayoutOptions;
|
|
|
13657
14703
|
}>, {
|
|
13658
14704
|
labelsWidth: any;
|
|
13659
14705
|
layout: string;
|
|
13660
|
-
}>, {}, {}, {}, {}, ComponentOptionsMixin, ComponentOptionsMixin, {}, string, Readonly<ExtractPropTypes<
|
|
14706
|
+
}>, {}, {}, {}, {}, ComponentOptionsMixin, ComponentOptionsMixin, {}, string, Readonly<ExtractPropTypes<__VLS_WithDefaults_45<__VLS_TypePropsToRuntimeProps_47<{
|
|
13661
14707
|
/**
|
|
13662
14708
|
* Width of the labels container, in pixels. Overrides layout prop.
|
|
13663
14709
|
*/
|
|
@@ -13711,7 +14757,7 @@ labelsWidth: number;
|
|
|
13711
14757
|
* `
|
|
13712
14758
|
* }
|
|
13713
14759
|
*/
|
|
13714
|
-
export declare const BentoStructuredListItem:
|
|
14760
|
+
export declare const BentoStructuredListItem: __VLS_WithTemplateSlots_45<DefineComponent<__VLS_TypePropsToRuntimeProps_48<{
|
|
13715
14761
|
/**
|
|
13716
14762
|
* Label to display for the value
|
|
13717
14763
|
*/
|
|
@@ -13738,7 +14784,7 @@ searchTooltip?: string;
|
|
|
13738
14784
|
truncate?: boolean;
|
|
13739
14785
|
}>, {}, {}, {}, {}, ComponentOptionsMixin, ComponentOptionsMixin, {
|
|
13740
14786
|
copy: (value: string) => void;
|
|
13741
|
-
}, string, Readonly<ExtractPropTypes<
|
|
14787
|
+
}, string, Readonly<ExtractPropTypes<__VLS_TypePropsToRuntimeProps_48<{
|
|
13742
14788
|
/**
|
|
13743
14789
|
* Label to display for the value
|
|
13744
14790
|
*/
|
|
@@ -13793,10 +14839,10 @@ declare const BentoStructuredListLayoutOptions: string[];
|
|
|
13793
14839
|
* `
|
|
13794
14840
|
* }
|
|
13795
14841
|
*/
|
|
13796
|
-
export declare const BentoSummaryGrid:
|
|
14842
|
+
export declare const BentoSummaryGrid: __VLS_WithTemplateSlots_46<DefineComponent<__VLS_WithDefaults_46<__VLS_TypePropsToRuntimeProps_49<BentoSummaryGridProps>, {
|
|
13797
14843
|
columnWidth: any;
|
|
13798
14844
|
slashedZero: boolean;
|
|
13799
|
-
}>, {}, {}, {}, {}, ComponentOptionsMixin, ComponentOptionsMixin, {}, string, Readonly<ExtractPropTypes<
|
|
14845
|
+
}>, {}, {}, {}, {}, ComponentOptionsMixin, ComponentOptionsMixin, {}, string, Readonly<ExtractPropTypes<__VLS_WithDefaults_46<__VLS_TypePropsToRuntimeProps_49<BentoSummaryGridProps>, {
|
|
13800
14846
|
columnWidth: any;
|
|
13801
14847
|
slashedZero: boolean;
|
|
13802
14848
|
}>>>, {
|
|
@@ -13831,7 +14877,7 @@ export declare interface BentoSummaryGridColumnWidth {
|
|
|
13831
14877
|
* `
|
|
13832
14878
|
* }
|
|
13833
14879
|
*/
|
|
13834
|
-
export declare const BentoSummaryGridItemAmount:
|
|
14880
|
+
export declare const BentoSummaryGridItemAmount: __VLS_WithTemplateSlots_47<DefineComponent<__VLS_WithDefaults_47<__VLS_TypePropsToRuntimeProps_50<BentoSummaryGridItemAmountProps>, {
|
|
13835
14881
|
copy: any;
|
|
13836
14882
|
fitContent: boolean;
|
|
13837
14883
|
infoIconTooltipText: any;
|
|
@@ -13848,7 +14894,7 @@ underlineTooltipText: any;
|
|
|
13848
14894
|
"copy-click": (event: MouseEvent) => void;
|
|
13849
14895
|
} & {
|
|
13850
14896
|
"info-icon-mouseenter": (event: MouseEvent) => void;
|
|
13851
|
-
}, string, Readonly<ExtractPropTypes<
|
|
14897
|
+
}, string, Readonly<ExtractPropTypes<__VLS_WithDefaults_47<__VLS_TypePropsToRuntimeProps_50<BentoSummaryGridItemAmountProps>, {
|
|
13852
14898
|
copy: any;
|
|
13853
14899
|
fitContent: boolean;
|
|
13854
14900
|
infoIconTooltipText: any;
|
|
@@ -13908,7 +14954,7 @@ export declare interface BentoSummaryGridItemAmountProps extends BaseSummaryGrid
|
|
|
13908
14954
|
* `
|
|
13909
14955
|
* }
|
|
13910
14956
|
*/
|
|
13911
|
-
export declare const BentoSummaryGridItemCustom:
|
|
14957
|
+
export declare const BentoSummaryGridItemCustom: __VLS_WithTemplateSlots_51<DefineComponent<__VLS_WithDefaults_51<__VLS_TypePropsToRuntimeProps_54<BentoSummaryGridItemCustomProps>, {
|
|
13912
14958
|
copy: any;
|
|
13913
14959
|
infoIconTooltipText: any;
|
|
13914
14960
|
fitContent: boolean;
|
|
@@ -13918,7 +14964,7 @@ underlineTooltipText: any;
|
|
|
13918
14964
|
"copy-click": (event: MouseEvent) => void;
|
|
13919
14965
|
} & {
|
|
13920
14966
|
"info-icon-mouseenter": (event: MouseEvent) => void;
|
|
13921
|
-
}, string, Readonly<ExtractPropTypes<
|
|
14967
|
+
}, string, Readonly<ExtractPropTypes<__VLS_WithDefaults_51<__VLS_TypePropsToRuntimeProps_54<BentoSummaryGridItemCustomProps>, {
|
|
13922
14968
|
copy: any;
|
|
13923
14969
|
infoIconTooltipText: any;
|
|
13924
14970
|
fitContent: boolean;
|
|
@@ -13982,7 +15028,7 @@ export declare interface BentoSummaryGridItemCustomProps {
|
|
|
13982
15028
|
* `
|
|
13983
15029
|
* }
|
|
13984
15030
|
*/
|
|
13985
|
-
export declare const BentoSummaryGridItemNumeric:
|
|
15031
|
+
export declare const BentoSummaryGridItemNumeric: __VLS_WithTemplateSlots_48<DefineComponent<__VLS_WithDefaults_48<__VLS_TypePropsToRuntimeProps_51<BentoSummaryGridItemNumericProps>, {
|
|
13986
15032
|
copy: any;
|
|
13987
15033
|
fitContent: boolean;
|
|
13988
15034
|
infoIconTooltipText: any;
|
|
@@ -13998,7 +15044,7 @@ underlineTooltipText: any;
|
|
|
13998
15044
|
"copy-click": (event: MouseEvent) => void;
|
|
13999
15045
|
} & {
|
|
14000
15046
|
"info-icon-mouseenter": (event: MouseEvent) => void;
|
|
14001
|
-
}, string, Readonly<ExtractPropTypes<
|
|
15047
|
+
}, string, Readonly<ExtractPropTypes<__VLS_WithDefaults_48<__VLS_TypePropsToRuntimeProps_51<BentoSummaryGridItemNumericProps>, {
|
|
14002
15048
|
copy: any;
|
|
14003
15049
|
fitContent: boolean;
|
|
14004
15050
|
infoIconTooltipText: any;
|
|
@@ -14057,7 +15103,7 @@ export declare interface BentoSummaryGridItemNumericProps extends BaseSummaryGri
|
|
|
14057
15103
|
* `
|
|
14058
15104
|
* }
|
|
14059
15105
|
*/
|
|
14060
|
-
export declare const BentoSummaryGridItemPercentage:
|
|
15106
|
+
export declare const BentoSummaryGridItemPercentage: __VLS_WithTemplateSlots_49<DefineComponent<__VLS_WithDefaults_49<__VLS_TypePropsToRuntimeProps_52<BentoSummaryGridItemPercentageProps>, {
|
|
14061
15107
|
copy: any;
|
|
14062
15108
|
fitContent: boolean;
|
|
14063
15109
|
infoIconTooltipText: any;
|
|
@@ -14073,7 +15119,7 @@ underlineTooltipText: any;
|
|
|
14073
15119
|
"copy-click": (event: MouseEvent) => void;
|
|
14074
15120
|
} & {
|
|
14075
15121
|
"info-icon-mouseenter": (event: MouseEvent) => void;
|
|
14076
|
-
}, string, Readonly<ExtractPropTypes<
|
|
15122
|
+
}, string, Readonly<ExtractPropTypes<__VLS_WithDefaults_49<__VLS_TypePropsToRuntimeProps_52<BentoSummaryGridItemPercentageProps>, {
|
|
14077
15123
|
copy: any;
|
|
14078
15124
|
fitContent: boolean;
|
|
14079
15125
|
infoIconTooltipText: any;
|
|
@@ -14138,7 +15184,7 @@ export declare enum BentoSummaryGridItemSize {
|
|
|
14138
15184
|
* `
|
|
14139
15185
|
* }
|
|
14140
15186
|
*/
|
|
14141
|
-
export declare const BentoSummaryGridItemText:
|
|
15187
|
+
export declare const BentoSummaryGridItemText: __VLS_WithTemplateSlots_50<DefineComponent<__VLS_WithDefaults_50<__VLS_TypePropsToRuntimeProps_53<BentoSummaryGridItemTextProps>, {
|
|
14142
15188
|
copy: any;
|
|
14143
15189
|
fitContent: boolean;
|
|
14144
15190
|
infoIconTooltipText: any;
|
|
@@ -14148,7 +15194,7 @@ underlineTooltipText: any;
|
|
|
14148
15194
|
"copy-click": (event: MouseEvent) => void;
|
|
14149
15195
|
} & {
|
|
14150
15196
|
"info-icon-mouseenter": (event: MouseEvent) => void;
|
|
14151
|
-
}, string, Readonly<ExtractPropTypes<
|
|
15197
|
+
}, string, Readonly<ExtractPropTypes<__VLS_WithDefaults_50<__VLS_TypePropsToRuntimeProps_53<BentoSummaryGridItemTextProps>, {
|
|
14152
15198
|
copy: any;
|
|
14153
15199
|
fitContent: boolean;
|
|
14154
15200
|
infoIconTooltipText: any;
|
|
@@ -14240,12 +15286,12 @@ export declare interface BentoSummaryGridProps {
|
|
|
14240
15286
|
* </bento-tabs>
|
|
14241
15287
|
* </template>
|
|
14242
15288
|
*/
|
|
14243
|
-
export declare const BentoTab:
|
|
15289
|
+
export declare const BentoTab: __VLS_WithTemplateSlots_52<DefineComponent<__VLS_WithDefaults_52<__VLS_TypePropsToRuntimeProps_55<BentoTabProps>, {
|
|
14244
15290
|
counter: any;
|
|
14245
15291
|
disabled: boolean;
|
|
14246
15292
|
hidden: boolean;
|
|
14247
15293
|
withNotificationIndicator: boolean;
|
|
14248
|
-
}>, {}, {}, {}, {}, ComponentOptionsMixin, ComponentOptionsMixin, {}, string, Readonly<ExtractPropTypes<
|
|
15294
|
+
}>, {}, {}, {}, {}, ComponentOptionsMixin, ComponentOptionsMixin, {}, string, Readonly<ExtractPropTypes<__VLS_WithDefaults_52<__VLS_TypePropsToRuntimeProps_55<BentoTabProps>, {
|
|
14249
15295
|
counter: any;
|
|
14250
15296
|
disabled: boolean;
|
|
14251
15297
|
hidden: boolean;
|
|
@@ -14394,11 +15440,11 @@ declare enum BentoTabsEvent {
|
|
|
14394
15440
|
ACTIVE_TAB_INDEX = "update:active-tab-index"
|
|
14395
15441
|
}
|
|
14396
15442
|
|
|
14397
|
-
export declare const BentoTag: DefineComponent<
|
|
15443
|
+
export declare const BentoTag: DefineComponent<__VLS_WithDefaults_40<__VLS_TypePropsToRuntimeProps_40<BentoTagProps>, {
|
|
14398
15444
|
label: any;
|
|
14399
15445
|
truncate: any;
|
|
14400
15446
|
variant: BentoTagVariant;
|
|
14401
|
-
}>, {}, {}, {}, {}, ComponentOptionsMixin, ComponentOptionsMixin, {}, string, Readonly<ExtractPropTypes<
|
|
15447
|
+
}>, {}, {}, {}, {}, ComponentOptionsMixin, ComponentOptionsMixin, {}, string, Readonly<ExtractPropTypes<__VLS_WithDefaults_40<__VLS_TypePropsToRuntimeProps_40<BentoTagProps>, {
|
|
14402
15448
|
label: any;
|
|
14403
15449
|
truncate: any;
|
|
14404
15450
|
variant: BentoTagVariant;
|
|
@@ -14455,7 +15501,7 @@ declare interface BentoTeleportProps {
|
|
|
14455
15501
|
to?: string;
|
|
14456
15502
|
}
|
|
14457
15503
|
|
|
14458
|
-
export declare const BentoTextarea: DefineComponent<
|
|
15504
|
+
export declare const BentoTextarea: DefineComponent<__VLS_WithDefaults_53<__VLS_TypePropsToRuntimeProps_56<BentoTextareaProps>, {
|
|
14459
15505
|
ariaLabel: any;
|
|
14460
15506
|
characterLimit: any;
|
|
14461
15507
|
description: string;
|
|
@@ -14489,7 +15535,7 @@ input: (value: string) => void;
|
|
|
14489
15535
|
keydown: (event: KeyboardEvent) => void;
|
|
14490
15536
|
} & {
|
|
14491
15537
|
keyup: (event: KeyboardEvent) => void;
|
|
14492
|
-
}, string, Readonly<ExtractPropTypes<
|
|
15538
|
+
}, string, Readonly<ExtractPropTypes<__VLS_WithDefaults_53<__VLS_TypePropsToRuntimeProps_56<BentoTextareaProps>, {
|
|
14493
15539
|
ariaLabel: any;
|
|
14494
15540
|
characterLimit: any;
|
|
14495
15541
|
description: string;
|
|
@@ -15486,7 +16532,7 @@ export declare type BentoToastItemsList = Array<BentoToastItem>;
|
|
|
15486
16532
|
* `,
|
|
15487
16533
|
* }
|
|
15488
16534
|
*/
|
|
15489
|
-
export declare const BentoToggle:
|
|
16535
|
+
export declare const BentoToggle: __VLS_WithTemplateSlots_53<DefineComponent< {
|
|
15490
16536
|
/**
|
|
15491
16537
|
* @deprecated from version 2.0.0. Use the aria-label attribute instead.
|
|
15492
16538
|
*/
|
|
@@ -15881,7 +16927,7 @@ export declare interface BentoTutorialStep {
|
|
|
15881
16927
|
* `
|
|
15882
16928
|
* }
|
|
15883
16929
|
*/
|
|
15884
|
-
export declare const BentoTypography:
|
|
16930
|
+
export declare const BentoTypography: __VLS_WithTemplateSlots_54<DefineComponent<__VLS_WithDefaults_54<__VLS_TypePropsToRuntimeProps_57<{
|
|
15885
16931
|
/**
|
|
15886
16932
|
* Sets the HTML DOM element.
|
|
15887
16933
|
* @values h1, h2, h3, h4, h5, h6, div, p, span
|
|
@@ -15929,7 +16975,7 @@ stronger: boolean;
|
|
|
15929
16975
|
strongest: boolean;
|
|
15930
16976
|
variant: BentoTypographyVariant;
|
|
15931
16977
|
wide: boolean;
|
|
15932
|
-
}>, {}, {}, {}, {}, ComponentOptionsMixin, ComponentOptionsMixin, {}, string, Readonly<ExtractPropTypes<
|
|
16978
|
+
}>, {}, {}, {}, {}, ComponentOptionsMixin, ComponentOptionsMixin, {}, string, Readonly<ExtractPropTypes<__VLS_WithDefaults_54<__VLS_TypePropsToRuntimeProps_57<{
|
|
15933
16979
|
/**
|
|
15934
16980
|
* Sets the HTML DOM element.
|
|
15935
16981
|
* @values h1, h2, h3, h4, h5, h6, div, p, span
|
|
@@ -16445,6 +17491,37 @@ export declare function useBentoBaseFilter<T>(appliedFilter: Ref<T>, defaultFilt
|
|
|
16445
17491
|
openFilter: (callback?: (newValue: T) => void) => void;
|
|
16446
17492
|
};
|
|
16447
17493
|
|
|
17494
|
+
/**
|
|
17495
|
+
* A composable that returns a fully formatted and localized currency string.
|
|
17496
|
+
* It enforces the format `[localized number][non-breaking space][ISO code]`.
|
|
17497
|
+
*
|
|
17498
|
+
* @remarks
|
|
17499
|
+
* The formatting process involves several steps:
|
|
17500
|
+
* 1. It safely resolves the input `value`, whether it's from a prop or a slot, into a valid number.
|
|
17501
|
+
*
|
|
17502
|
+
* 2. If `majorUnits` is false, it converts the amount from minor units to major units
|
|
17503
|
+
* (e.g., cents to dollars) by dividing by 10 to the power of the currency's
|
|
17504
|
+
* decimal places (the "exponent"). For example, `12345 / (10 ** 2)` becomes `123.45`.
|
|
17505
|
+
*
|
|
17506
|
+
* 3. It determines the correct number of decimal places, respecting any non-standard
|
|
17507
|
+
* currency exceptions.
|
|
17508
|
+
*
|
|
17509
|
+
* 4. It uses `vue-i18n` to format the number with the correct sign placement and decimal/thousand
|
|
17510
|
+
* separators for the current locale, then manually reconstructs the string to ensure
|
|
17511
|
+
* the ISO code is always at the end.
|
|
17512
|
+
*
|
|
17513
|
+
* @returns An object with a function to format the currency string.
|
|
17514
|
+
*/
|
|
17515
|
+
export declare function useBentoCurrency(): {
|
|
17516
|
+
formatCurrency: (amount: string | number, formatOptions?: UseBentoCurrencyFormatCurrencyOptions) => string;
|
|
17517
|
+
};
|
|
17518
|
+
|
|
17519
|
+
export declare interface UseBentoCurrencyFormatCurrencyOptions {
|
|
17520
|
+
currency: `${BentoCurrencyISOCode}`;
|
|
17521
|
+
currencySign?: Intl.NumberFormatOptions['currencySign'];
|
|
17522
|
+
majorUnits?: boolean;
|
|
17523
|
+
}
|
|
17524
|
+
|
|
16448
17525
|
export declare interface UseBentoTheme {
|
|
16449
17526
|
getTheme: () => string;
|
|
16450
17527
|
setTheme: (theme: BentoTheme | `${BentoTheme}`) => void;
|