@adyen/bento-vue2 1.41.0 → 1.42.0
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/dist/@types/components.d.ts +4 -0
- package/dist/@types/index.d.ts +457 -54
- package/dist/action-bar.js +1 -1
- package/dist/alert.js +1 -1
- package/dist/assets/accordion-item.css +1 -1
- package/dist/assets/action-bar.css +1 -1
- package/dist/assets/base-modal.css +1 -1
- package/dist/assets/card.css +1 -1
- package/dist/assets/data-grid.css +1 -1
- package/dist/assets/dialog-page.css +1 -1
- package/dist/assets/file-uploader.css +1 -0
- package/dist/assets/filter-bar.css +1 -1
- package/dist/assets/input-field-password.css +1 -0
- package/dist/assets/input-field.css +1 -1
- package/dist/assets/inspector.css +1 -1
- package/dist/assets/menu.css +1 -1
- package/dist/assets/modal-fullscreen.css +1 -1
- package/dist/assets/popover.css +1 -1
- package/dist/assets/sidepanel.css +1 -1
- package/dist/assets/step.css +1 -1
- package/dist/assets/tooltip.css +1 -1
- package/dist/button.js +2 -2
- package/dist/card.js +1 -1
- package/dist/checkbox.js +2 -2
- package/dist/chunks/{action-bar.r05wfyni.js → action-bar.C1iwQWyj.js} +5 -5
- package/dist/chunks/{action-bar.r05wfyni.js.map → action-bar.C1iwQWyj.js.map} +1 -1
- package/dist/chunks/{alert.Y4JUnmhl.js → alert.D2Z_aiFC.js} +19 -19
- package/dist/chunks/{alert.Y4JUnmhl.js.map → alert.D2Z_aiFC.js.map} +1 -1
- package/dist/chunks/{base-modal.SJX9uGT4.js → base-modal.DroVbSCn.js} +2 -2
- package/dist/chunks/{base-modal.SJX9uGT4.js.map → base-modal.DroVbSCn.js.map} +1 -1
- package/dist/chunks/{button-actions-with-menu.DZOHTxUi.js → button-actions-with-menu.dp6C-PKX.js} +4 -4
- package/dist/chunks/{button-actions-with-menu.DZOHTxUi.js.map → button-actions-with-menu.dp6C-PKX.js.map} +1 -1
- package/dist/chunks/{button-actions.BJMK3kZC.js → button-actions.Cpx4PQp0.js} +2 -2
- package/dist/chunks/{button-actions.BJMK3kZC.js.map → button-actions.Cpx4PQp0.js.map} +1 -1
- package/dist/chunks/{card.Cfj-r6CX.js → card.BcjxzwZV.js} +2 -2
- package/dist/chunks/{card.Cfj-r6CX.js.map → card.BcjxzwZV.js.map} +1 -1
- package/dist/chunks/{checkbox-group.BEI5FPnW.js → checkbox-group.B1FsPVSl.js} +4 -4
- package/dist/chunks/{checkbox-group.BEI5FPnW.js.map → checkbox-group.B1FsPVSl.js.map} +1 -1
- package/dist/chunks/{checkbox.5uVM-HLg.js → checkbox.kd1EnszA.js} +16 -16
- package/dist/chunks/{checkbox.5uVM-HLg.js.map → checkbox.kd1EnszA.js.map} +1 -1
- package/dist/chunks/{checkmark-circle-fill.DVl6QSwm.js → checkmark-circle-fill.Cn7JN_Tk.js} +5 -5
- package/dist/chunks/{checkmark-circle-fill.DVl6QSwm.js.map → checkmark-circle-fill.Cn7JN_Tk.js.map} +1 -1
- package/dist/chunks/{code-snippet.DRH4X9pH.js → code-snippet.DGMVhQoj.js} +5 -5
- package/dist/chunks/{code-snippet.DRH4X9pH.js.map → code-snippet.DGMVhQoj.js.map} +1 -1
- package/dist/chunks/{controls-group.Sni8leS5.js → controls-group.J8shO_JL.js} +2 -2
- package/dist/chunks/{controls-group.Sni8leS5.js.map → controls-group.J8shO_JL.js.map} +1 -1
- package/dist/chunks/{copy.C5j6vSQT.js → copy.DgzxvExj.js} +2 -2
- package/dist/chunks/{copy.C5j6vSQT.js.map → copy.DgzxvExj.js.map} +1 -1
- package/dist/chunks/{dashboard-section.DchlD4B2.js → dashboard-section.D8ey7nzl.js} +3 -3
- package/dist/chunks/{dashboard-section.DchlD4B2.js.map → dashboard-section.D8ey7nzl.js.map} +1 -1
- package/dist/chunks/{dashed-underline.6Aw4MP34.js → dashed-underline.dGO33Q_E.js} +3 -3
- package/dist/chunks/{dashed-underline.6Aw4MP34.js.map → dashed-underline.dGO33Q_E.js.map} +1 -1
- package/dist/chunks/{data-grid-template.Bhotcrsr.js → data-grid-template.BF7JMfoJ.js} +2 -2
- package/dist/chunks/{data-grid-template.Bhotcrsr.js.map → data-grid-template.BF7JMfoJ.js.map} +1 -1
- package/dist/chunks/{data-grid.ahAWR42s.js → data-grid.bti50Fs6.js} +459 -494
- package/dist/chunks/data-grid.bti50Fs6.js.map +1 -0
- package/dist/chunks/{date-picker.lFLlAGXs.js → date-picker.Dfg1_eo6.js} +3 -3
- package/dist/chunks/{date-picker.lFLlAGXs.js.map → date-picker.Dfg1_eo6.js.map} +1 -1
- package/dist/chunks/{date-range-picker.Cr_YCwxP.js → date-range-picker.BvHFTptS.js} +7 -7
- package/dist/chunks/{date-range-picker.Cr_YCwxP.js.map → date-range-picker.BvHFTptS.js.map} +1 -1
- package/dist/chunks/dot.BCX4w7eT.js +24 -0
- package/dist/chunks/dot.BCX4w7eT.js.map +1 -0
- package/dist/chunks/{dropdown-tag.BPkMWSmY.js → dropdown-tag.DqgJnpjk.js} +3 -3
- package/dist/chunks/{dropdown-tag.BPkMWSmY.js.map → dropdown-tag.DqgJnpjk.js.map} +1 -1
- package/dist/chunks/{dropdown.D8xKm1YA.js → dropdown.2tXfuDlU.js} +4 -4
- package/dist/chunks/{dropdown.D8xKm1YA.js.map → dropdown.2tXfuDlU.js.map} +1 -1
- package/dist/chunks/{error-message.Bk2maRF8.js → error-message.B7uoqQpq.js} +2 -2
- package/dist/chunks/{error-message.Bk2maRF8.js.map → error-message.B7uoqQpq.js.map} +1 -1
- package/dist/chunks/es6.b4enG1py.js.map +1 -1
- package/dist/chunks/file-uploader.CK-Frs_q.js +728 -0
- package/dist/chunks/file-uploader.CK-Frs_q.js.map +1 -0
- package/dist/chunks/{filter-bar.dQZY8j9C.js → filter-bar.DP_nQeeo.js} +702 -697
- package/dist/chunks/filter-bar.DP_nQeeo.js.map +1 -0
- package/dist/chunks/{footer-actions.B68XcD93.js → footer-actions.DwnLB4NW.js} +2 -2
- package/dist/chunks/{footer-actions.B68XcD93.js.map → footer-actions.DwnLB4NW.js.map} +1 -1
- package/dist/chunks/{form-layout-title.Cd2WlefD.js → form-layout-title.BarHgyjC.js} +2 -2
- package/dist/chunks/{form-layout-title.Cd2WlefD.js.map → form-layout-title.BarHgyjC.js.map} +1 -1
- package/dist/chunks/{header.DwTrDlSa.js → header.CAJtHW1k.js} +4 -4
- package/dist/chunks/{header.DwTrDlSa.js.map → header.CAJtHW1k.js.map} +1 -1
- package/dist/chunks/index.BiaBX5uu.js +345 -0
- package/dist/chunks/{index.D5am6ibQ.js.map → index.BiaBX5uu.js.map} +1 -1
- package/dist/chunks/{info-icon.CCR-cAFR.js → info-icon.p-28zHUJ.js} +2 -2
- package/dist/chunks/{info-icon.CCR-cAFR.js.map → info-icon.p-28zHUJ.js.map} +1 -1
- package/dist/chunks/input-field-password.ijBN-aVx.js +191 -0
- package/dist/chunks/input-field-password.ijBN-aVx.js.map +1 -0
- package/dist/chunks/{input-field.CKOdyDVy.js → input-field.BoElSWuV.js} +37 -35
- package/dist/chunks/input-field.BoElSWuV.js.map +1 -0
- package/dist/chunks/{layout-row.CtFsZ5-v.js → layout-row.6jCBhtd4.js} +2 -2
- package/dist/chunks/{layout-row.CtFsZ5-v.js.map → layout-row.6jCBhtd4.js.map} +1 -1
- package/dist/chunks/{listbox-option-tag.CuHL51H9.js → listbox-option-tag.BnX0H4HE.js} +2 -2
- package/dist/chunks/{listbox-option-tag.CuHL51H9.js.map → listbox-option-tag.BnX0H4HE.js.map} +1 -1
- package/dist/chunks/{loading-button.2h9RXXIZ.js → loading-button.CiPmvU7F.js} +2 -2
- package/dist/chunks/{loading-button.2h9RXXIZ.js.map → loading-button.CiPmvU7F.js.map} +1 -1
- package/dist/chunks/{menu.DEeyofbM.js → menu.N41WnXc8.js} +2 -2
- package/dist/chunks/{menu.DEeyofbM.js.map → menu.N41WnXc8.js.map} +1 -1
- package/dist/chunks/{modal-fullscreen.Ct4aitSv.js → modal-fullscreen.BbNe6M9T.js} +2 -2
- package/dist/chunks/{modal-fullscreen.Ct4aitSv.js.map → modal-fullscreen.BbNe6M9T.js.map} +1 -1
- package/dist/chunks/{modal.tUtoM34X.js → modal.Cb4zg5fN.js} +4 -4
- package/dist/chunks/{modal.tUtoM34X.js.map → modal.Cb4zg5fN.js.map} +1 -1
- package/dist/chunks/{pagination.CqrSR1Md.js → pagination.FbkfItkS.js} +2 -2
- package/dist/chunks/{pagination.CqrSR1Md.js.map → pagination.FbkfItkS.js.map} +1 -1
- package/dist/chunks/{popover.BcWFpCY_.js → popover.Uy-vuQq5.js} +2 -2
- package/dist/chunks/{popover.BcWFpCY_.js.map → popover.Uy-vuQq5.js.map} +1 -1
- package/dist/chunks/{promo-banner.NSOVGA7M.js → promo-banner.CGz3MVPw.js} +2 -2
- package/dist/chunks/{promo-banner.NSOVGA7M.js.map → promo-banner.CGz3MVPw.js.map} +1 -1
- package/dist/chunks/{radio-group.DtlPzh_w.js → radio-group.EnMXbuly.js} +4 -4
- package/dist/chunks/{radio-group.DtlPzh_w.js.map → radio-group.EnMXbuly.js.map} +1 -1
- package/dist/chunks/{search-bar.CN9pWrLP.js → search-bar.DD6eA0jG.js} +3 -3
- package/dist/chunks/{search-bar.CN9pWrLP.js.map → search-bar.DD6eA0jG.js.map} +1 -1
- package/dist/chunks/{secondary-nav.DMw1l7rH.js → secondary-nav.C56_jw55.js} +3 -3
- package/dist/chunks/{secondary-nav.DMw1l7rH.js.map → secondary-nav.C56_jw55.js.map} +1 -1
- package/dist/chunks/{segmented-control.uVH5ahVY.js → segmented-control.CVeUROYR.js} +2 -2
- package/dist/chunks/{segmented-control.uVH5ahVY.js.map → segmented-control.CVeUROYR.js.map} +1 -1
- package/dist/chunks/{selection-card-group.BjOuUbQD.js → selection-card-group.DwkH9xJd.js} +10 -10
- package/dist/chunks/{selection-card-group.BjOuUbQD.js.map → selection-card-group.DwkH9xJd.js.map} +1 -1
- package/dist/chunks/show.IEAxtCB7.js +43 -0
- package/dist/chunks/show.IEAxtCB7.js.map +1 -0
- package/dist/chunks/{sidepanel.BjrsqXLl.js → sidepanel.CRJN9Acz.js} +2 -2
- package/dist/chunks/{sidepanel.BjrsqXLl.js.map → sidepanel.CRJN9Acz.js.map} +1 -1
- package/dist/chunks/step.5g9BIi15.js +217 -0
- package/dist/chunks/step.5g9BIi15.js.map +1 -0
- package/dist/chunks/{structured-list-item.CAcBJutf.js → structured-list-item.BEhWyaVP.js} +4 -4
- package/dist/chunks/{structured-list-item.CAcBJutf.js.map → structured-list-item.BEhWyaVP.js.map} +1 -1
- package/dist/chunks/{summary-grid-item-custom.CPprUptt.js → summary-grid-item-custom.CSXo4NjY.js} +4 -4
- package/dist/chunks/{summary-grid-item-custom.CPprUptt.js.map → summary-grid-item-custom.CSXo4NjY.js.map} +1 -1
- package/dist/chunks/{tag.DSFSfnAf.js → tag.wTXg-O7i.js} +2 -2
- package/dist/chunks/{tag.DSFSfnAf.js.map → tag.wTXg-O7i.js.map} +1 -1
- package/dist/chunks/{textarea.B4MZ_pi1.js → textarea.Y3yd_3ll.js} +2 -2
- package/dist/chunks/{textarea.B4MZ_pi1.js.map → textarea.Y3yd_3ll.js.map} +1 -1
- package/dist/chunks/{timeline-item.CxB3KFiu.js → timeline-item.CCV4U3Zx.js} +5 -5
- package/dist/chunks/{timeline-item.CxB3KFiu.js.map → timeline-item.CCV4U3Zx.js.map} +1 -1
- package/dist/chunks/{tooltip.CS2Gij6x.js → tooltip.DH8TqpYV.js} +84 -68
- package/dist/chunks/tooltip.DH8TqpYV.js.map +1 -0
- package/dist/chunks/{tutorial.CGjM0EJT.js → tutorial.4r7MKNEU.js} +4 -4
- package/dist/chunks/{tutorial.CGjM0EJT.js.map → tutorial.4r7MKNEU.js.map} +1 -1
- package/dist/chunks/{use-cached-selected-values.D5ARl96f.js → use-cached-selected-values.-_Gk6HO_.js} +3 -3
- package/dist/chunks/{use-cached-selected-values.D5ARl96f.js.map → use-cached-selected-values.-_Gk6HO_.js.map} +1 -1
- package/dist/code-snippet.js +1 -1
- package/dist/dashboard-template.js +1 -1
- package/dist/dashed-underline.js +1 -1
- package/dist/data-grid-template.js +1 -1
- package/dist/data-grid.js +1 -1
- package/dist/date-picker.js +1 -1
- package/dist/date-range-picker.js +1 -1
- package/dist/dropdown.js +3 -3
- package/dist/file-uploader.js +5 -0
- package/dist/file-uploader.js.map +1 -0
- package/dist/filter-bar.js +1 -1
- package/dist/form-layout.js +1 -1
- package/dist/header.js +1 -1
- package/dist/index.js +227 -218
- package/dist/index.js.map +1 -1
- package/dist/info-icon.js +1 -1
- package/dist/input-field-password.js +10 -0
- package/dist/input-field-password.js.map +1 -0
- package/dist/input-field.js +1 -1
- package/dist/internal.js +6 -6
- package/dist/layout.js +1 -1
- package/dist/menu.js +1 -1
- package/dist/modal-fullscreen.js +1 -1
- package/dist/modal.js +2 -2
- package/dist/pagination.js +1 -1
- package/dist/popover.js +1 -1
- package/dist/promo-banner.js +1 -1
- package/dist/radio-group.js +1 -1
- package/dist/search-bar.js +2 -2
- package/dist/secondary-nav.js +1 -1
- package/dist/segmented-control.js +1 -1
- package/dist/selection-card.js +1 -1
- package/dist/sidepanel.js +1 -1
- package/dist/stepper.js +1 -1
- package/dist/structured-list.js +1 -1
- package/dist/styles/bento-dark.css +95 -34
- package/dist/styles/bento-light.css +95 -34
- package/dist/styles/bento.css +95 -34
- package/dist/styles/legacy.css +103 -42
- package/dist/styles/styleguide.css +95 -34
- package/dist/summary-grid.js +1 -1
- package/dist/tag.js +1 -1
- package/dist/textarea.js +1 -1
- package/dist/timeline.js +1 -1
- package/dist/tutorial.js +1 -1
- package/dist/web-types.json +550 -4
- package/package.json +6 -7
- package/dist/chunks/data-grid.ahAWR42s.js.map +0 -1
- package/dist/chunks/filter-bar.dQZY8j9C.js.map +0 -1
- package/dist/chunks/index.D5am6ibQ.js +0 -249
- package/dist/chunks/input-field.CKOdyDVy.js.map +0 -1
- package/dist/chunks/step.D3-7YL7-.js +0 -234
- package/dist/chunks/step.D3-7YL7-.js.map +0 -1
- package/dist/chunks/tooltip.CS2Gij6x.js.map +0 -1
package/dist/@types/index.d.ts
CHANGED
|
@@ -57,6 +57,10 @@ declare type __VLS_NonUndefinedable_21<T> = T extends undefined ? never : T;
|
|
|
57
57
|
|
|
58
58
|
declare type __VLS_NonUndefinedable_22<T> = T extends undefined ? never : T;
|
|
59
59
|
|
|
60
|
+
declare type __VLS_NonUndefinedable_23<T> = T extends undefined ? never : T;
|
|
61
|
+
|
|
62
|
+
declare type __VLS_NonUndefinedable_24<T> = T extends undefined ? never : T;
|
|
63
|
+
|
|
60
64
|
declare type __VLS_NonUndefinedable_3<T> = T extends undefined ? never : T;
|
|
61
65
|
|
|
62
66
|
declare type __VLS_NonUndefinedable_4<T> = T extends undefined ? never : T;
|
|
@@ -236,6 +240,28 @@ declare type __VLS_TypePropsToRuntimeProps_22<T> = {
|
|
|
236
240
|
};
|
|
237
241
|
};
|
|
238
242
|
|
|
243
|
+
declare type __VLS_TypePropsToRuntimeProps_23<T> = {
|
|
244
|
+
[K in keyof T]-?: {} extends Pick<T, K>
|
|
245
|
+
? {
|
|
246
|
+
type: PropType<__VLS_NonUndefinedable_23<T[K]>>;
|
|
247
|
+
}
|
|
248
|
+
: {
|
|
249
|
+
type: PropType<T[K]>;
|
|
250
|
+
required: true;
|
|
251
|
+
};
|
|
252
|
+
};
|
|
253
|
+
|
|
254
|
+
declare type __VLS_TypePropsToRuntimeProps_24<T> = {
|
|
255
|
+
[K in keyof T]-?: {} extends Pick<T, K>
|
|
256
|
+
? {
|
|
257
|
+
type: PropType<__VLS_NonUndefinedable_24<T[K]>>;
|
|
258
|
+
}
|
|
259
|
+
: {
|
|
260
|
+
type: PropType<T[K]>;
|
|
261
|
+
required: true;
|
|
262
|
+
};
|
|
263
|
+
};
|
|
264
|
+
|
|
239
265
|
declare type __VLS_TypePropsToRuntimeProps_3<T> = {
|
|
240
266
|
[K in keyof T]-?: {} extends Pick<T, K>
|
|
241
267
|
? {
|
|
@@ -409,6 +435,22 @@ declare type __VLS_WithDefaults_2<P, D> = {
|
|
|
409
435
|
: P[K];
|
|
410
436
|
};
|
|
411
437
|
|
|
438
|
+
declare type __VLS_WithDefaults_20<P, D> = {
|
|
439
|
+
[K in keyof Pick<P, keyof P>]: K extends keyof D
|
|
440
|
+
? P[K] & {
|
|
441
|
+
default: D[K];
|
|
442
|
+
}
|
|
443
|
+
: P[K];
|
|
444
|
+
};
|
|
445
|
+
|
|
446
|
+
declare type __VLS_WithDefaults_21<P, D> = {
|
|
447
|
+
[K in keyof Pick<P, keyof P>]: K extends keyof D
|
|
448
|
+
? P[K] & {
|
|
449
|
+
default: D[K];
|
|
450
|
+
}
|
|
451
|
+
: P[K];
|
|
452
|
+
};
|
|
453
|
+
|
|
412
454
|
declare type __VLS_WithDefaults_3<P, D> = {
|
|
413
455
|
[K in keyof Pick<P, keyof P>]: K extends keyof D
|
|
414
456
|
? P[K] & {
|
|
@@ -3681,8 +3723,8 @@ export declare interface BentoCurrencyProps {
|
|
|
3681
3723
|
*/
|
|
3682
3724
|
export declare const BentoDashboardSection: __VLS_WithTemplateSlots_41<
|
|
3683
3725
|
DefineComponent<
|
|
3684
|
-
|
|
3685
|
-
|
|
3726
|
+
__VLS_WithDefaults_21<
|
|
3727
|
+
__VLS_TypePropsToRuntimeProps_24<{
|
|
3686
3728
|
/**
|
|
3687
3729
|
* The header of the section
|
|
3688
3730
|
*/
|
|
@@ -3706,8 +3748,8 @@ export declare const BentoDashboardSection: __VLS_WithTemplateSlots_41<
|
|
|
3706
3748
|
string,
|
|
3707
3749
|
Readonly<
|
|
3708
3750
|
ExtractPropTypes<
|
|
3709
|
-
|
|
3710
|
-
|
|
3751
|
+
__VLS_WithDefaults_21<
|
|
3752
|
+
__VLS_TypePropsToRuntimeProps_24<{
|
|
3711
3753
|
/**
|
|
3712
3754
|
* The header of the section
|
|
3713
3755
|
*/
|
|
@@ -3765,8 +3807,8 @@ export declare const BentoDashboardSection: __VLS_WithTemplateSlots_41<
|
|
|
3765
3807
|
*/
|
|
3766
3808
|
export declare const BentoDashboardTemplate: __VLS_WithTemplateSlots_40<
|
|
3767
3809
|
DefineComponent<
|
|
3768
|
-
|
|
3769
|
-
|
|
3810
|
+
__VLS_WithDefaults_20<
|
|
3811
|
+
__VLS_TypePropsToRuntimeProps_23<{
|
|
3770
3812
|
/**
|
|
3771
3813
|
* The header that goes to the top of the template
|
|
3772
3814
|
*/
|
|
@@ -3802,8 +3844,8 @@ export declare const BentoDashboardTemplate: __VLS_WithTemplateSlots_40<
|
|
|
3802
3844
|
string,
|
|
3803
3845
|
Readonly<
|
|
3804
3846
|
ExtractPropTypes<
|
|
3805
|
-
|
|
3806
|
-
|
|
3847
|
+
__VLS_WithDefaults_20<
|
|
3848
|
+
__VLS_TypePropsToRuntimeProps_23<{
|
|
3807
3849
|
/**
|
|
3808
3850
|
* The header that goes to the top of the template
|
|
3809
3851
|
*/
|
|
@@ -7881,6 +7923,153 @@ export declare enum BentoEmptyStateVariant {
|
|
|
7881
7923
|
CONDENSED = 'condensed',
|
|
7882
7924
|
}
|
|
7883
7925
|
|
|
7926
|
+
/**
|
|
7927
|
+
* The file uploader component enables users to upload one or multiple files from their device to our system.
|
|
7928
|
+
*
|
|
7929
|
+
* @example
|
|
7930
|
+
* import { BentoFileUploader, type BentoFileValue } from '@adyen/bento-vue2';
|
|
7931
|
+
*
|
|
7932
|
+
* export default {
|
|
7933
|
+
* components: { BentoFileUploader },
|
|
7934
|
+
* template: `
|
|
7935
|
+
* <bento-file-uploader
|
|
7936
|
+
* accept="image/*,video/*,.pdf,.png"
|
|
7937
|
+
* condensed
|
|
7938
|
+
* description="Custom supporting text"
|
|
7939
|
+
* disabled
|
|
7940
|
+
* errorMessage="Custom error message"
|
|
7941
|
+
* label="Bento file uploader"
|
|
7942
|
+
* :maxCount="1"
|
|
7943
|
+
* :maxDimensions="{ width: 200, height: 100 }"
|
|
7944
|
+
* :maxSize="1000"
|
|
7945
|
+
* v-model="files"
|
|
7946
|
+
* multiple
|
|
7947
|
+
* :optional="false"
|
|
7948
|
+
* required
|
|
7949
|
+
* tooltipText="Useful information"
|
|
7950
|
+
* />
|
|
7951
|
+
* `,
|
|
7952
|
+
* setup() {
|
|
7953
|
+
* const files = ref<BentoFileValue>()
|
|
7954
|
+
* }
|
|
7955
|
+
* }
|
|
7956
|
+
*/
|
|
7957
|
+
export declare const BentoFileUploader: DefineComponent<
|
|
7958
|
+
__VLS_WithDefaults_8<
|
|
7959
|
+
__VLS_TypePropsToRuntimeProps_8<BentoFileUploaderProps>,
|
|
7960
|
+
{
|
|
7961
|
+
accept: any;
|
|
7962
|
+
description: any;
|
|
7963
|
+
errorMessage: any;
|
|
7964
|
+
maxCount: number;
|
|
7965
|
+
maxDimensions: any;
|
|
7966
|
+
maxSize: any;
|
|
7967
|
+
modelValue: any;
|
|
7968
|
+
tooltipText: any;
|
|
7969
|
+
}
|
|
7970
|
+
>,
|
|
7971
|
+
{},
|
|
7972
|
+
{},
|
|
7973
|
+
{},
|
|
7974
|
+
{},
|
|
7975
|
+
ComponentOptionsMixin,
|
|
7976
|
+
ComponentOptionsMixin,
|
|
7977
|
+
{
|
|
7978
|
+
change: (value?: FileList) => void;
|
|
7979
|
+
} & {
|
|
7980
|
+
'update:modelValue': (value?: FileList) => void;
|
|
7981
|
+
},
|
|
7982
|
+
string,
|
|
7983
|
+
Readonly<
|
|
7984
|
+
ExtractPropTypes<
|
|
7985
|
+
__VLS_WithDefaults_8<
|
|
7986
|
+
__VLS_TypePropsToRuntimeProps_8<BentoFileUploaderProps>,
|
|
7987
|
+
{
|
|
7988
|
+
accept: any;
|
|
7989
|
+
description: any;
|
|
7990
|
+
errorMessage: any;
|
|
7991
|
+
maxCount: number;
|
|
7992
|
+
maxDimensions: any;
|
|
7993
|
+
maxSize: any;
|
|
7994
|
+
modelValue: any;
|
|
7995
|
+
tooltipText: any;
|
|
7996
|
+
}
|
|
7997
|
+
>
|
|
7998
|
+
>
|
|
7999
|
+
>,
|
|
8000
|
+
{
|
|
8001
|
+
description: string;
|
|
8002
|
+
tooltipText: string;
|
|
8003
|
+
errorMessage: string;
|
|
8004
|
+
modelValue: BentoFileUploaderValue;
|
|
8005
|
+
accept: HTMLInputElement['accept'];
|
|
8006
|
+
maxCount: number;
|
|
8007
|
+
maxDimensions: any;
|
|
8008
|
+
maxSize: number;
|
|
8009
|
+
}
|
|
8010
|
+
>;
|
|
8011
|
+
|
|
8012
|
+
export declare interface BentoFileUploaderProps {
|
|
8013
|
+
/**
|
|
8014
|
+
* A string that defines the file types the file input should accept.
|
|
8015
|
+
* https://developer.mozilla.org/en-US/docs/Web/HTML/Element/input/file#accept
|
|
8016
|
+
*/
|
|
8017
|
+
accept?: HTMLInputElement['accept'];
|
|
8018
|
+
/**
|
|
8019
|
+
* Reduces the size of the uploader area.
|
|
8020
|
+
*/
|
|
8021
|
+
condensed?: boolean;
|
|
8022
|
+
/**
|
|
8023
|
+
* Descriptive supporting text visbile underneath the label.
|
|
8024
|
+
*/
|
|
8025
|
+
description?: string;
|
|
8026
|
+
/**
|
|
8027
|
+
* Disable the radio button (optional).
|
|
8028
|
+
*/
|
|
8029
|
+
disabled?: boolean;
|
|
8030
|
+
/**
|
|
8031
|
+
* Renders file-uploader with an error state and the error message beneath the input box
|
|
8032
|
+
*/
|
|
8033
|
+
errorMessage?: string;
|
|
8034
|
+
/**
|
|
8035
|
+
* The label of the component.
|
|
8036
|
+
*/
|
|
8037
|
+
label: string;
|
|
8038
|
+
/**
|
|
8039
|
+
* Sets a maximum file count. Allows for uploading multiple files.
|
|
8040
|
+
*/
|
|
8041
|
+
maxCount?: number;
|
|
8042
|
+
/**
|
|
8043
|
+
* Sets a maximum image size (for image file types only).
|
|
8044
|
+
*/
|
|
8045
|
+
maxDimensions?: {
|
|
8046
|
+
width?: number;
|
|
8047
|
+
height?: number;
|
|
8048
|
+
};
|
|
8049
|
+
/**
|
|
8050
|
+
* Sets a maximum file size in Bytes
|
|
8051
|
+
*/
|
|
8052
|
+
maxSize?: number;
|
|
8053
|
+
/**
|
|
8054
|
+
* Used to support `v-model`. Doesn't actually set the value of the file uploader.
|
|
8055
|
+
*/
|
|
8056
|
+
modelValue?: BentoFileUploaderValue;
|
|
8057
|
+
/**
|
|
8058
|
+
* Sets the field as optional.
|
|
8059
|
+
*/
|
|
8060
|
+
optional?: boolean;
|
|
8061
|
+
/**
|
|
8062
|
+
* Sets the field as required.
|
|
8063
|
+
*/
|
|
8064
|
+
required?: boolean;
|
|
8065
|
+
/**
|
|
8066
|
+
* Adds a info icon next to the label to display the passed tooltip message.
|
|
8067
|
+
*/
|
|
8068
|
+
tooltipText?: string;
|
|
8069
|
+
}
|
|
8070
|
+
|
|
8071
|
+
export declare type BentoFileUploaderValue = string | Array<string> | File | Array<File>;
|
|
8072
|
+
|
|
7884
8073
|
/**
|
|
7885
8074
|
* The filter bar filters item lists and tables according to various filter criteria.
|
|
7886
8075
|
*
|
|
@@ -8132,6 +8321,7 @@ export declare interface BentoFilterModel extends BentoFilterValue {
|
|
|
8132
8321
|
description?: string;
|
|
8133
8322
|
type: BentoFilterItemType;
|
|
8134
8323
|
options?: BentoFilterOptions;
|
|
8324
|
+
disabled?: boolean;
|
|
8135
8325
|
defaultValue?: BentoFilterBarValue;
|
|
8136
8326
|
visible?: boolean;
|
|
8137
8327
|
/**
|
|
@@ -8736,8 +8926,8 @@ declare enum BentoHeaderVariant {
|
|
|
8736
8926
|
* }
|
|
8737
8927
|
*/
|
|
8738
8928
|
export declare const BentoImage: DefineComponent<
|
|
8739
|
-
|
|
8740
|
-
|
|
8929
|
+
__VLS_WithDefaults_9<
|
|
8930
|
+
__VLS_TypePropsToRuntimeProps_9<BentoImageProps>,
|
|
8741
8931
|
{
|
|
8742
8932
|
aspectRatio: any;
|
|
8743
8933
|
objectFit: any;
|
|
@@ -8753,8 +8943,8 @@ export declare const BentoImage: DefineComponent<
|
|
|
8753
8943
|
string,
|
|
8754
8944
|
Readonly<
|
|
8755
8945
|
ExtractPropTypes<
|
|
8756
|
-
|
|
8757
|
-
|
|
8946
|
+
__VLS_WithDefaults_9<
|
|
8947
|
+
__VLS_TypePropsToRuntimeProps_9<BentoImageProps>,
|
|
8758
8948
|
{
|
|
8759
8949
|
aspectRatio: any;
|
|
8760
8950
|
objectFit: any;
|
|
@@ -9075,6 +9265,8 @@ export declare const BentoInputField: __VLS_WithTemplateSlots_17<
|
|
|
9075
9265
|
focus: () => void;
|
|
9076
9266
|
} & {
|
|
9077
9267
|
keydown: (event: KeyboardEvent) => void;
|
|
9268
|
+
} & {
|
|
9269
|
+
keyup: (event: KeyboardEvent) => void;
|
|
9078
9270
|
} & {
|
|
9079
9271
|
input: (inputValue: string) => void;
|
|
9080
9272
|
},
|
|
@@ -9283,6 +9475,173 @@ export declare enum BentoInputFieldEvent {
|
|
|
9283
9475
|
KEYDOWN = 'keydown',
|
|
9284
9476
|
}
|
|
9285
9477
|
|
|
9478
|
+
/**
|
|
9479
|
+
* The input field password is a component designed to support users' preference for entering values securely.
|
|
9480
|
+
* This is an extension of the `bento-input-field` component.
|
|
9481
|
+
*
|
|
9482
|
+
* @example
|
|
9483
|
+
* import { BentoInputFieldPassword } from '@adyen/bento-vue2';
|
|
9484
|
+
*
|
|
9485
|
+
* export default {
|
|
9486
|
+
* components: { BentoInputFieldPassword },
|
|
9487
|
+
* template: `
|
|
9488
|
+
* <bento-input-field-password
|
|
9489
|
+
* label="Label"
|
|
9490
|
+
* error-message="Error"
|
|
9491
|
+
* :validation="{
|
|
9492
|
+
* title: 'Password must contain at least:',
|
|
9493
|
+
* suggestion: 'Avoid using currency symbols or accented letters.',
|
|
9494
|
+
* list: [
|
|
9495
|
+
* { label: '8 characters', validate: minLength, additionalArgs: [8] },
|
|
9496
|
+
* { label: '1 lowercase (a-z)', validate: requireLowercase },
|
|
9497
|
+
* { label: '1 uppercase (A-Z)', validate: requireUppercase },
|
|
9498
|
+
* { label: '1 numerical (0-9)', validate: requireNumeric },
|
|
9499
|
+
* { label: '1 special character', validate: requireSpecialCharacter },
|
|
9500
|
+
* {
|
|
9501
|
+
* label: 'Always true',
|
|
9502
|
+
* validate: () => {
|
|
9503
|
+
* const example = 'Example';
|
|
9504
|
+
*
|
|
9505
|
+
* return () => example.length > 1;
|
|
9506
|
+
* },
|
|
9507
|
+
* },
|
|
9508
|
+
* ],
|
|
9509
|
+
* }"
|
|
9510
|
+
* />
|
|
9511
|
+
* `
|
|
9512
|
+
* }
|
|
9513
|
+
*/
|
|
9514
|
+
export declare const BentoInputFieldPassword: DefineComponent<
|
|
9515
|
+
__VLS_WithDefaults_10<
|
|
9516
|
+
__VLS_TypePropsToRuntimeProps_10<BentoInputFieldPasswordProps>,
|
|
9517
|
+
{
|
|
9518
|
+
condensed: boolean;
|
|
9519
|
+
disabled: boolean;
|
|
9520
|
+
label: any;
|
|
9521
|
+
errorMessage: any;
|
|
9522
|
+
placeholder: string;
|
|
9523
|
+
readonly: boolean;
|
|
9524
|
+
validation: any;
|
|
9525
|
+
value: any;
|
|
9526
|
+
withHint: boolean;
|
|
9527
|
+
}
|
|
9528
|
+
>,
|
|
9529
|
+
{},
|
|
9530
|
+
{},
|
|
9531
|
+
{},
|
|
9532
|
+
{},
|
|
9533
|
+
ComponentOptionsMixin,
|
|
9534
|
+
ComponentOptionsMixin,
|
|
9535
|
+
{
|
|
9536
|
+
'input:valid': () => void;
|
|
9537
|
+
} & {
|
|
9538
|
+
input: (value: BentoInputFieldValue) => void;
|
|
9539
|
+
},
|
|
9540
|
+
string,
|
|
9541
|
+
Readonly<
|
|
9542
|
+
ExtractPropTypes<
|
|
9543
|
+
__VLS_WithDefaults_10<
|
|
9544
|
+
__VLS_TypePropsToRuntimeProps_10<BentoInputFieldPasswordProps>,
|
|
9545
|
+
{
|
|
9546
|
+
condensed: boolean;
|
|
9547
|
+
disabled: boolean;
|
|
9548
|
+
label: any;
|
|
9549
|
+
errorMessage: any;
|
|
9550
|
+
placeholder: string;
|
|
9551
|
+
readonly: boolean;
|
|
9552
|
+
validation: any;
|
|
9553
|
+
value: any;
|
|
9554
|
+
withHint: boolean;
|
|
9555
|
+
}
|
|
9556
|
+
>
|
|
9557
|
+
>
|
|
9558
|
+
>,
|
|
9559
|
+
{
|
|
9560
|
+
value: BentoInputFieldProps['value'];
|
|
9561
|
+
label: string;
|
|
9562
|
+
condensed: BentoInputFieldProps['condensed'];
|
|
9563
|
+
disabled: BentoInputFieldProps['disabled'];
|
|
9564
|
+
validation: BentoInputFieldPasswordValidation;
|
|
9565
|
+
errorMessage: BentoInputFieldProps['errorMessage'];
|
|
9566
|
+
readonly: BentoInputFieldProps['readonly'];
|
|
9567
|
+
placeholder: BentoInputFieldProps['placeholder'];
|
|
9568
|
+
withHint: boolean;
|
|
9569
|
+
}
|
|
9570
|
+
>;
|
|
9571
|
+
|
|
9572
|
+
export declare interface BentoInputFieldPasswordProps {
|
|
9573
|
+
/**
|
|
9574
|
+
* Reduces height of the input
|
|
9575
|
+
*/
|
|
9576
|
+
condensed?: BentoInputFieldProps['condensed'];
|
|
9577
|
+
/**
|
|
9578
|
+
* Disables the possibility of changing value in the input-field
|
|
9579
|
+
*/
|
|
9580
|
+
disabled?: BentoInputFieldProps['disabled'];
|
|
9581
|
+
/**
|
|
9582
|
+
* Renders input-field with an error state and the error message beneath the input box
|
|
9583
|
+
*/
|
|
9584
|
+
errorMessage?: BentoInputFieldProps['errorMessage'];
|
|
9585
|
+
/**
|
|
9586
|
+
* Text displayed as the placeholder of the input-field
|
|
9587
|
+
*/
|
|
9588
|
+
placeholder?: BentoInputFieldProps['placeholder'];
|
|
9589
|
+
/**
|
|
9590
|
+
* Setting this property to true will set the input field to read only state.
|
|
9591
|
+
*/
|
|
9592
|
+
readonly?: BentoInputFieldProps['readonly'];
|
|
9593
|
+
/**
|
|
9594
|
+
* Text displayed as the value of the input-field
|
|
9595
|
+
*/
|
|
9596
|
+
value?: BentoInputFieldProps['value'];
|
|
9597
|
+
/**
|
|
9598
|
+
* Label to be shown with the input field
|
|
9599
|
+
*/
|
|
9600
|
+
label?: string;
|
|
9601
|
+
/**
|
|
9602
|
+
* Configuration object for password field validation.
|
|
9603
|
+
*
|
|
9604
|
+
* This object defines the validation criteria and associated messages for a password field.
|
|
9605
|
+
* It includes the following properties:
|
|
9606
|
+
*
|
|
9607
|
+
* - `title`: The title displayed at the top of the validation hint.
|
|
9608
|
+
* - `suggestion`: The message displayed at the bottom of the validation hint, providing additional guidance.
|
|
9609
|
+
* - `list`: An array of callback functions to be executed on the value after each user input, validating the password against the specified rules.
|
|
9610
|
+
*
|
|
9611
|
+
* By default, the validation checks that:
|
|
9612
|
+
*
|
|
9613
|
+
* - The value has a minimum length of 8 characters.
|
|
9614
|
+
* - The value contains at least one lowercase letter.
|
|
9615
|
+
* - The value contains at least one uppercase letter.
|
|
9616
|
+
* - The value contains at least one numeric digit.
|
|
9617
|
+
* - The value contains at least one special character.
|
|
9618
|
+
*
|
|
9619
|
+
*
|
|
9620
|
+
*/
|
|
9621
|
+
validation?: BentoInputFieldPasswordValidation;
|
|
9622
|
+
/**
|
|
9623
|
+
* Whether the password validation hint is displayed when the input field is activated via focus or input
|
|
9624
|
+
*/
|
|
9625
|
+
withHint?: boolean;
|
|
9626
|
+
}
|
|
9627
|
+
|
|
9628
|
+
export declare interface BentoInputFieldPasswordValidation {
|
|
9629
|
+
title?: string;
|
|
9630
|
+
suggestion?: string;
|
|
9631
|
+
list: BentoInputFieldPasswordValidationListItem[];
|
|
9632
|
+
}
|
|
9633
|
+
|
|
9634
|
+
/**
|
|
9635
|
+
* Public
|
|
9636
|
+
*/
|
|
9637
|
+
export declare interface BentoInputFieldPasswordValidationListItem {
|
|
9638
|
+
label: string;
|
|
9639
|
+
validate: (value: BentoInputFieldValue, ...args: any[]) => boolean;
|
|
9640
|
+
additionalArgs?: any[];
|
|
9641
|
+
}
|
|
9642
|
+
|
|
9643
|
+
declare type BentoInputFieldProps = InstanceType<typeof BentoInputField>['$props'];
|
|
9644
|
+
|
|
9286
9645
|
export declare enum BentoInputFieldStateClass {
|
|
9287
9646
|
CONDENSED = 'condensed',
|
|
9288
9647
|
DISABLED = 'disabled',
|
|
@@ -9356,8 +9715,8 @@ export declare type BentoInpuWithDropdowntFilterValue = {
|
|
|
9356
9715
|
*/
|
|
9357
9716
|
export declare const BentoInspector: __VLS_WithTemplateSlots_18<
|
|
9358
9717
|
DefineComponent<
|
|
9359
|
-
|
|
9360
|
-
|
|
9718
|
+
__VLS_WithDefaults_11<
|
|
9719
|
+
__VLS_TypePropsToRuntimeProps_11<{
|
|
9361
9720
|
/**
|
|
9362
9721
|
* Shows the Expand icon in the inspector
|
|
9363
9722
|
*/
|
|
@@ -9400,8 +9759,8 @@ export declare const BentoInspector: __VLS_WithTemplateSlots_18<
|
|
|
9400
9759
|
string,
|
|
9401
9760
|
Readonly<
|
|
9402
9761
|
ExtractPropTypes<
|
|
9403
|
-
|
|
9404
|
-
|
|
9762
|
+
__VLS_WithDefaults_11<
|
|
9763
|
+
__VLS_TypePropsToRuntimeProps_11<{
|
|
9405
9764
|
/**
|
|
9406
9765
|
* Shows the Expand icon in the inspector
|
|
9407
9766
|
*/
|
|
@@ -9495,8 +9854,8 @@ export declare enum BentoKeyboardNavigationKeyDownEvent {
|
|
|
9495
9854
|
*/
|
|
9496
9855
|
export declare const BentoLayout: __VLS_WithTemplateSlots_19<
|
|
9497
9856
|
DefineComponent<
|
|
9498
|
-
|
|
9499
|
-
|
|
9857
|
+
__VLS_WithDefaults_12<
|
|
9858
|
+
__VLS_TypePropsToRuntimeProps_12<BentoLayoutProps>,
|
|
9500
9859
|
{
|
|
9501
9860
|
size: string;
|
|
9502
9861
|
variant: string;
|
|
@@ -9512,8 +9871,8 @@ export declare const BentoLayout: __VLS_WithTemplateSlots_19<
|
|
|
9512
9871
|
string,
|
|
9513
9872
|
Readonly<
|
|
9514
9873
|
ExtractPropTypes<
|
|
9515
|
-
|
|
9516
|
-
|
|
9874
|
+
__VLS_WithDefaults_12<
|
|
9875
|
+
__VLS_TypePropsToRuntimeProps_12<BentoLayoutProps>,
|
|
9517
9876
|
{
|
|
9518
9877
|
size: string;
|
|
9519
9878
|
variant: string;
|
|
@@ -9576,8 +9935,8 @@ export declare interface BentoLayoutProps {
|
|
|
9576
9935
|
*/
|
|
9577
9936
|
export declare const BentoLayoutRow: __VLS_WithTemplateSlots_20<
|
|
9578
9937
|
DefineComponent<
|
|
9579
|
-
|
|
9580
|
-
|
|
9938
|
+
__VLS_WithDefaults_13<
|
|
9939
|
+
__VLS_TypePropsToRuntimeProps_13<BentoLayoutRowProps>,
|
|
9581
9940
|
{
|
|
9582
9941
|
columnsLayout: string;
|
|
9583
9942
|
}
|
|
@@ -9592,8 +9951,8 @@ export declare const BentoLayoutRow: __VLS_WithTemplateSlots_20<
|
|
|
9592
9951
|
string,
|
|
9593
9952
|
Readonly<
|
|
9594
9953
|
ExtractPropTypes<
|
|
9595
|
-
|
|
9596
|
-
|
|
9954
|
+
__VLS_WithDefaults_13<
|
|
9955
|
+
__VLS_TypePropsToRuntimeProps_13<BentoLayoutRowProps>,
|
|
9597
9956
|
{
|
|
9598
9957
|
columnsLayout: string;
|
|
9599
9958
|
}
|
|
@@ -9650,8 +10009,8 @@ export declare type BentoLazyLoadType = 'automatic' | 'button' | 'none';
|
|
|
9650
10009
|
*/
|
|
9651
10010
|
export declare const BentoLink: __VLS_WithTemplateSlots_21<
|
|
9652
10011
|
DefineComponent<
|
|
9653
|
-
|
|
9654
|
-
|
|
10012
|
+
__VLS_WithDefaults_14<
|
|
10013
|
+
__VLS_TypePropsToRuntimeProps_14<BentoLinkProps>,
|
|
9655
10014
|
{
|
|
9656
10015
|
target: any;
|
|
9657
10016
|
variant: BentoLinkVariant;
|
|
@@ -9669,8 +10028,8 @@ export declare const BentoLink: __VLS_WithTemplateSlots_21<
|
|
|
9669
10028
|
string,
|
|
9670
10029
|
Readonly<
|
|
9671
10030
|
ExtractPropTypes<
|
|
9672
|
-
|
|
9673
|
-
|
|
10031
|
+
__VLS_WithDefaults_14<
|
|
10032
|
+
__VLS_TypePropsToRuntimeProps_14<BentoLinkProps>,
|
|
9674
10033
|
{
|
|
9675
10034
|
target: any;
|
|
9676
10035
|
variant: BentoLinkVariant;
|
|
@@ -12912,8 +13271,8 @@ export declare type BentoPopoverPositions = PopperContainerPosition;
|
|
|
12912
13271
|
*/
|
|
12913
13272
|
export declare const BentoPromoBanner: __VLS_WithTemplateSlots_27<
|
|
12914
13273
|
DefineComponent<
|
|
12915
|
-
|
|
12916
|
-
|
|
13274
|
+
__VLS_WithDefaults_15<
|
|
13275
|
+
__VLS_TypePropsToRuntimeProps_15<BentoPromoBannerProps>,
|
|
12917
13276
|
{
|
|
12918
13277
|
actions: any;
|
|
12919
13278
|
color: BentoPromoBannerColor;
|
|
@@ -12934,8 +13293,8 @@ export declare const BentoPromoBanner: __VLS_WithTemplateSlots_27<
|
|
|
12934
13293
|
string,
|
|
12935
13294
|
Readonly<
|
|
12936
13295
|
ExtractPropTypes<
|
|
12937
|
-
|
|
12938
|
-
|
|
13296
|
+
__VLS_WithDefaults_15<
|
|
13297
|
+
__VLS_TypePropsToRuntimeProps_15<BentoPromoBannerProps>,
|
|
12939
13298
|
{
|
|
12940
13299
|
actions: any;
|
|
12941
13300
|
color: BentoPromoBannerColor;
|
|
@@ -13727,7 +14086,7 @@ export declare interface BentoSearchBarItem {
|
|
|
13727
14086
|
* }
|
|
13728
14087
|
*/
|
|
13729
14088
|
export declare const BentoSecondaryNav: DefineComponent<
|
|
13730
|
-
|
|
14089
|
+
__VLS_TypePropsToRuntimeProps_17<{
|
|
13731
14090
|
/**
|
|
13732
14091
|
* An array containing all the items on the nav. The array can have either {@see BentoSecondaryNavItemsCategory },
|
|
13733
14092
|
* which is used to group different items or {@see BentoSecondaryNavItemsItem } if you don't need to group them.
|
|
@@ -13751,7 +14110,7 @@ export declare const BentoSecondaryNav: DefineComponent<
|
|
|
13751
14110
|
string,
|
|
13752
14111
|
Readonly<
|
|
13753
14112
|
ExtractPropTypes<
|
|
13754
|
-
|
|
14113
|
+
__VLS_TypePropsToRuntimeProps_17<{
|
|
13755
14114
|
/**
|
|
13756
14115
|
* An array containing all the items on the nav. The array can have either {@see BentoSecondaryNavItemsCategory },
|
|
13757
14116
|
* which is used to group different items or {@see BentoSecondaryNavItemsItem } if you don't need to group them.
|
|
@@ -13801,8 +14160,8 @@ export declare interface BentoSecondaryNavState {
|
|
|
13801
14160
|
* }
|
|
13802
14161
|
*/
|
|
13803
14162
|
export declare const BentoSegmentedControl: DefineComponent<
|
|
13804
|
-
|
|
13805
|
-
|
|
14163
|
+
__VLS_WithDefaults_17<
|
|
14164
|
+
__VLS_TypePropsToRuntimeProps_18<{
|
|
13806
14165
|
/**
|
|
13807
14166
|
* Accessible name describing the segmented control.
|
|
13808
14167
|
* @deprecated from version 2.0.0. Use the aria-label attribute instead.
|
|
@@ -13843,8 +14202,8 @@ export declare const BentoSegmentedControl: DefineComponent<
|
|
|
13843
14202
|
string,
|
|
13844
14203
|
Readonly<
|
|
13845
14204
|
ExtractPropTypes<
|
|
13846
|
-
|
|
13847
|
-
|
|
14205
|
+
__VLS_WithDefaults_17<
|
|
14206
|
+
__VLS_TypePropsToRuntimeProps_18<{
|
|
13848
14207
|
/**
|
|
13849
14208
|
* Accessible name describing the segmented control.
|
|
13850
14209
|
* @deprecated from version 2.0.0. Use the aria-label attribute instead.
|
|
@@ -13922,6 +14281,7 @@ export declare interface BentoSelectFilterOptions {
|
|
|
13922
14281
|
*/
|
|
13923
14282
|
multiple?: boolean;
|
|
13924
14283
|
/**
|
|
14284
|
+
* @deprecated from version 2.0.0. The persistent filter label now uses a counter instead of custom strings. This property is now redundant.
|
|
13925
14285
|
* The translation object to handle any custom transations. e.g. perisistent filter labels.
|
|
13926
14286
|
*/
|
|
13927
14287
|
messages?: {
|
|
@@ -13932,11 +14292,13 @@ export declare interface BentoSelectFilterOptions {
|
|
|
13932
14292
|
};
|
|
13933
14293
|
};
|
|
13934
14294
|
/**
|
|
14295
|
+
* @deprecated from version 2.0.0. The persistent filter label now uses a counter instead of custom strings. This property is now redundant.
|
|
13935
14296
|
* The unique key to use in the messages translation object to use for the persistent button label
|
|
13936
14297
|
* when the select filter has partially selected items.
|
|
13937
14298
|
*/
|
|
13938
14299
|
messagesPersistentButtonLabelPartiallySelectedKey?: string;
|
|
13939
14300
|
/**
|
|
14301
|
+
* @deprecated from version 2.0.0. The persistent filter label now uses a counter instead of custom strings. This property is now redundant.
|
|
13940
14302
|
* The unique key to use in the messages translation object to use for the persistent button label
|
|
13941
14303
|
* when the select filter has all items selected.
|
|
13942
14304
|
*/
|
|
@@ -14851,7 +15213,7 @@ export declare const BentoSidepanelPage: __VLS_WithTemplateSlots_32<
|
|
|
14851
15213
|
*/
|
|
14852
15214
|
export declare const BentoStatus: __VLS_WithTemplateSlots_34<
|
|
14853
15215
|
DefineComponent<
|
|
14854
|
-
|
|
15216
|
+
__VLS_TypePropsToRuntimeProps_19<{
|
|
14855
15217
|
variant: BentoStatusVariant | `${BentoStatusVariant}`;
|
|
14856
15218
|
}>,
|
|
14857
15219
|
{},
|
|
@@ -14864,7 +15226,7 @@ export declare const BentoStatus: __VLS_WithTemplateSlots_34<
|
|
|
14864
15226
|
string,
|
|
14865
15227
|
Readonly<
|
|
14866
15228
|
ExtractPropTypes<
|
|
14867
|
-
|
|
15229
|
+
__VLS_TypePropsToRuntimeProps_19<{
|
|
14868
15230
|
variant: BentoStatusVariant | `${BentoStatusVariant}`;
|
|
14869
15231
|
}>
|
|
14870
15232
|
>
|
|
@@ -15110,8 +15472,8 @@ export declare enum BentoStepperVariantOption {
|
|
|
15110
15472
|
*/
|
|
15111
15473
|
export declare const BentoStructuredList: __VLS_WithTemplateSlots_37<
|
|
15112
15474
|
DefineComponent<
|
|
15113
|
-
|
|
15114
|
-
|
|
15475
|
+
__VLS_WithDefaults_18<
|
|
15476
|
+
__VLS_TypePropsToRuntimeProps_20<{
|
|
15115
15477
|
/**
|
|
15116
15478
|
* Width of the labels container, in pixels. Overrides layout prop.
|
|
15117
15479
|
*/
|
|
@@ -15145,8 +15507,8 @@ export declare const BentoStructuredList: __VLS_WithTemplateSlots_37<
|
|
|
15145
15507
|
string,
|
|
15146
15508
|
Readonly<
|
|
15147
15509
|
ExtractPropTypes<
|
|
15148
|
-
|
|
15149
|
-
|
|
15510
|
+
__VLS_WithDefaults_18<
|
|
15511
|
+
__VLS_TypePropsToRuntimeProps_20<{
|
|
15150
15512
|
/**
|
|
15151
15513
|
* Width of the labels container, in pixels. Overrides layout prop.
|
|
15152
15514
|
*/
|
|
@@ -15207,7 +15569,7 @@ export declare const BentoStructuredList: __VLS_WithTemplateSlots_37<
|
|
|
15207
15569
|
*/
|
|
15208
15570
|
export declare const BentoStructuredListItem: __VLS_WithTemplateSlots_38<
|
|
15209
15571
|
DefineComponent<
|
|
15210
|
-
|
|
15572
|
+
__VLS_TypePropsToRuntimeProps_21<{
|
|
15211
15573
|
/**
|
|
15212
15574
|
* Label to display for the value
|
|
15213
15575
|
*/
|
|
@@ -15243,7 +15605,7 @@ export declare const BentoStructuredListItem: __VLS_WithTemplateSlots_38<
|
|
|
15243
15605
|
string,
|
|
15244
15606
|
Readonly<
|
|
15245
15607
|
ExtractPropTypes<
|
|
15246
|
-
|
|
15608
|
+
__VLS_TypePropsToRuntimeProps_21<{
|
|
15247
15609
|
/**
|
|
15248
15610
|
* Label to display for the value
|
|
15249
15611
|
*/
|
|
@@ -16443,8 +16805,8 @@ declare enum BentoTabsEvent {
|
|
|
16443
16805
|
}
|
|
16444
16806
|
|
|
16445
16807
|
export declare const BentoTag: DefineComponent<
|
|
16446
|
-
|
|
16447
|
-
|
|
16808
|
+
__VLS_WithDefaults_16<
|
|
16809
|
+
__VLS_TypePropsToRuntimeProps_16<BentoTagProps>,
|
|
16448
16810
|
{
|
|
16449
16811
|
label: any;
|
|
16450
16812
|
truncate: any;
|
|
@@ -16461,8 +16823,8 @@ export declare const BentoTag: DefineComponent<
|
|
|
16461
16823
|
string,
|
|
16462
16824
|
Readonly<
|
|
16463
16825
|
ExtractPropTypes<
|
|
16464
|
-
|
|
16465
|
-
|
|
16826
|
+
__VLS_WithDefaults_16<
|
|
16827
|
+
__VLS_TypePropsToRuntimeProps_16<BentoTagProps>,
|
|
16466
16828
|
{
|
|
16467
16829
|
label: any;
|
|
16468
16830
|
truncate: any;
|
|
@@ -17713,8 +18075,8 @@ export declare interface BentoTutorialStep {
|
|
|
17713
18075
|
*/
|
|
17714
18076
|
export declare const BentoTypography: __VLS_WithTemplateSlots_39<
|
|
17715
18077
|
DefineComponent<
|
|
17716
|
-
|
|
17717
|
-
|
|
18078
|
+
__VLS_WithDefaults_19<
|
|
18079
|
+
__VLS_TypePropsToRuntimeProps_22<{
|
|
17718
18080
|
/**
|
|
17719
18081
|
* Sets the HTML DOM element.
|
|
17720
18082
|
* @values h1, h2, h3, h4, h5, h6, div, p, span
|
|
@@ -17775,8 +18137,8 @@ export declare const BentoTypography: __VLS_WithTemplateSlots_39<
|
|
|
17775
18137
|
string,
|
|
17776
18138
|
Readonly<
|
|
17777
18139
|
ExtractPropTypes<
|
|
17778
|
-
|
|
17779
|
-
|
|
18140
|
+
__VLS_WithDefaults_19<
|
|
18141
|
+
__VLS_TypePropsToRuntimeProps_22<{
|
|
17780
18142
|
/**
|
|
17781
18143
|
* Sets the HTML DOM element.
|
|
17782
18144
|
* @values h1, h2, h3, h4, h5, h6, div, p, span
|
|
@@ -18108,6 +18470,15 @@ export declare type MaybeReadonlyRef<T> = (() => T) | ComputedRef<T>;
|
|
|
18108
18470
|
*/
|
|
18109
18471
|
export declare type MaybeRef<T> = T | Ref<T> | Ref<UnwrapRef<T>>;
|
|
18110
18472
|
|
|
18473
|
+
/**
|
|
18474
|
+
* Validates if the length of the provided value is greater than or equal to the specified length.
|
|
18475
|
+
*
|
|
18476
|
+
* @param value - The input value to check.
|
|
18477
|
+
* @param length - The minimum required length of the value. Defaults to 8.
|
|
18478
|
+
* @returns `true` if the length of the value is greater than or equal to the specified length, `false` otherwise.
|
|
18479
|
+
*/
|
|
18480
|
+
export declare function minLength(value: BentoInputFieldValue, length?: number): boolean;
|
|
18481
|
+
|
|
18111
18482
|
export declare type OmitStrict<T, K extends keyof T> = Pick<T, Exclude<keyof T, K>>;
|
|
18112
18483
|
|
|
18113
18484
|
declare type OnClickOutsideHandler = (evt: PointerEvent | FocusEvent) => void;
|
|
@@ -18177,6 +18548,38 @@ declare enum PopperContainerPositionExtended {
|
|
|
18177
18548
|
LEFT_END = 'left-end',
|
|
18178
18549
|
}
|
|
18179
18550
|
|
|
18551
|
+
/**
|
|
18552
|
+
* Validates if the provided value contains at least one lowercase letter.
|
|
18553
|
+
*
|
|
18554
|
+
* @param value - The input value to check.
|
|
18555
|
+
* @returns `true` if the value contains at least one lowercase letter, `false` otherwise.
|
|
18556
|
+
*/
|
|
18557
|
+
export declare function requireLowercase(value: BentoInputFieldValue): boolean;
|
|
18558
|
+
|
|
18559
|
+
/**
|
|
18560
|
+
* Validates if the provided value contains at least one numerical digit.
|
|
18561
|
+
*
|
|
18562
|
+
* @param value - The input value to check.
|
|
18563
|
+
* @returns `true` if the value contains at least one numerical digit, `false` otherwise.
|
|
18564
|
+
*/
|
|
18565
|
+
export declare function requireNumeric(value: BentoInputFieldValue): boolean;
|
|
18566
|
+
|
|
18567
|
+
/**
|
|
18568
|
+
* Validates if the provided value contains at least one special character (non-alphanumeric).
|
|
18569
|
+
*
|
|
18570
|
+
* @param value - The input value to check.
|
|
18571
|
+
* @returns `true` if the value contains at least one special character, `false` otherwise.
|
|
18572
|
+
*/
|
|
18573
|
+
export declare function requireSpecialCharacter(value: BentoInputFieldValue): boolean;
|
|
18574
|
+
|
|
18575
|
+
/**
|
|
18576
|
+
* Validates if the provided value contains at least one uppercase letter.
|
|
18577
|
+
*
|
|
18578
|
+
* @param value - The input value to check.
|
|
18579
|
+
* @returns `true` if the value contains at least one uppercase letter, `false` otherwise.
|
|
18580
|
+
*/
|
|
18581
|
+
export declare function requireUppercase(value: BentoInputFieldValue): boolean;
|
|
18582
|
+
|
|
18180
18583
|
declare interface Toast {
|
|
18181
18584
|
dismiss: () => void;
|
|
18182
18585
|
}
|