@adyen/bento-vue2 1.40.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 +10 -0
- package/dist/@types/index.d.ts +1041 -391
- 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/currency.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/layout-row.css +1 -0
- 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/promo-banner.css +1 -0
- package/dist/assets/selection-card-group.css +1 -1
- package/dist/assets/sidepanel.css +1 -1
- package/dist/assets/step.css +1 -1
- package/dist/assets/structured-list-item.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.DJmskrzB.js → action-bar.C1iwQWyj.js} +5 -5
- package/dist/chunks/{action-bar.DJmskrzB.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.CmBhucys.js → code-snippet.DGMVhQoj.js} +6 -6
- package/dist/chunks/{code-snippet.CmBhucys.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/{currency.CEqsVP2T.js → currency.P7Psn_SK.js} +53 -61
- package/dist/chunks/currency.P7Psn_SK.js.map +1 -0
- package/dist/chunks/{dashboard-section.9R8bIh92.js → dashboard-section.D8ey7nzl.js} +3 -3
- package/dist/chunks/{dashboard-section.9R8bIh92.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.Czo9hi7m.js → data-grid.bti50Fs6.js} +920 -916
- 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 +10 -0
- package/dist/chunks/es6.b4enG1py.js.map +1 -0
- 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/image.C2D2hKat.js +56 -0
- package/dist/chunks/image.C2D2hKat.js.map +1 -0
- package/dist/chunks/index.BiaBX5uu.js +345 -0
- package/dist/chunks/{index.iCshT3Hx.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.6jCBhtd4.js +87 -0
- package/dist/chunks/layout-row.6jCBhtd4.js.map +1 -0
- 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.CGz3MVPw.js +70 -0
- package/dist/chunks/promo-banner.CGz3MVPw.js.map +1 -0
- 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.bchOEARi.js → secondary-nav.C56_jw55.js} +4 -4
- package/dist/chunks/{secondary-nav.bchOEARi.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.DwkH9xJd.js +299 -0
- package/dist/chunks/selection-card-group.DwkH9xJd.js.map +1 -0
- 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.C4gxvOkq.js → structured-list-item.BEhWyaVP.js} +9 -9
- package/dist/chunks/structured-list-item.BEhWyaVP.js.map +1 -0
- 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.Bmn0Pu11.js → timeline-item.CCV4U3Zx.js} +5 -5
- package/dist/chunks/{timeline-item.Bmn0Pu11.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.DG5I6TRS.js → tutorial.4r7MKNEU.js} +5 -5
- package/dist/chunks/{tutorial.DG5I6TRS.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/currency.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/image.js +1 -1
- package/dist/index.js +233 -217
- 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 +6 -0
- package/dist/layout.js.map +1 -0
- 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 +7 -0
- package/dist/promo-banner.js.map +1 -0
- 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 +110 -33
- package/dist/styles/bento-light.css +110 -33
- package/dist/styles/bento.css +110 -33
- package/dist/styles/legacy.css +118 -41
- package/dist/styles/styleguide.css +110 -33
- 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 +939 -200
- package/package.json +6 -7
- package/dist/chunks/currency.CEqsVP2T.js.map +0 -1
- package/dist/chunks/data-grid.Czo9hi7m.js.map +0 -1
- package/dist/chunks/es6.BvpG4Oi6.js +0 -9
- package/dist/chunks/es6.BvpG4Oi6.js.map +0 -1
- package/dist/chunks/filter-bar.dQZY8j9C.js.map +0 -1
- package/dist/chunks/image.B3uqhFjl.js +0 -82
- package/dist/chunks/image.B3uqhFjl.js.map +0 -1
- package/dist/chunks/index.iCshT3Hx.js +0 -183
- package/dist/chunks/input-field.CKOdyDVy.js.map +0 -1
- package/dist/chunks/selection-card-group.CW7c72r2.js +0 -255
- package/dist/chunks/selection-card-group.CW7c72r2.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/structured-list-item.C4gxvOkq.js.map +0 -1
- package/dist/chunks/tooltip.CS2Gij6x.js.map +0 -1
package/dist/@types/index.d.ts
CHANGED
|
@@ -45,8 +45,22 @@ declare type __VLS_NonUndefinedable_16<T> = T extends undefined ? never : T;
|
|
|
45
45
|
|
|
46
46
|
declare type __VLS_NonUndefinedable_17<T> = T extends undefined ? never : T;
|
|
47
47
|
|
|
48
|
+
declare type __VLS_NonUndefinedable_18<T> = T extends undefined ? never : T;
|
|
49
|
+
|
|
50
|
+
declare type __VLS_NonUndefinedable_19<T> = T extends undefined ? never : T;
|
|
51
|
+
|
|
48
52
|
declare type __VLS_NonUndefinedable_2<T> = T extends undefined ? never : T;
|
|
49
53
|
|
|
54
|
+
declare type __VLS_NonUndefinedable_20<T> = T extends undefined ? never : T;
|
|
55
|
+
|
|
56
|
+
declare type __VLS_NonUndefinedable_21<T> = T extends undefined ? never : T;
|
|
57
|
+
|
|
58
|
+
declare type __VLS_NonUndefinedable_22<T> = T extends undefined ? never : T;
|
|
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
|
+
|
|
50
64
|
declare type __VLS_NonUndefinedable_3<T> = T extends undefined ? never : T;
|
|
51
65
|
|
|
52
66
|
declare type __VLS_NonUndefinedable_4<T> = T extends undefined ? never : T;
|
|
@@ -160,6 +174,28 @@ declare type __VLS_TypePropsToRuntimeProps_17<T> = {
|
|
|
160
174
|
};
|
|
161
175
|
};
|
|
162
176
|
|
|
177
|
+
declare type __VLS_TypePropsToRuntimeProps_18<T> = {
|
|
178
|
+
[K in keyof T]-?: {} extends Pick<T, K>
|
|
179
|
+
? {
|
|
180
|
+
type: PropType<__VLS_NonUndefinedable_18<T[K]>>;
|
|
181
|
+
}
|
|
182
|
+
: {
|
|
183
|
+
type: PropType<T[K]>;
|
|
184
|
+
required: true;
|
|
185
|
+
};
|
|
186
|
+
};
|
|
187
|
+
|
|
188
|
+
declare type __VLS_TypePropsToRuntimeProps_19<T> = {
|
|
189
|
+
[K in keyof T]-?: {} extends Pick<T, K>
|
|
190
|
+
? {
|
|
191
|
+
type: PropType<__VLS_NonUndefinedable_19<T[K]>>;
|
|
192
|
+
}
|
|
193
|
+
: {
|
|
194
|
+
type: PropType<T[K]>;
|
|
195
|
+
required: true;
|
|
196
|
+
};
|
|
197
|
+
};
|
|
198
|
+
|
|
163
199
|
declare type __VLS_TypePropsToRuntimeProps_2<T> = {
|
|
164
200
|
[K in keyof T]-?: {} extends Pick<T, K>
|
|
165
201
|
? {
|
|
@@ -171,6 +207,61 @@ declare type __VLS_TypePropsToRuntimeProps_2<T> = {
|
|
|
171
207
|
};
|
|
172
208
|
};
|
|
173
209
|
|
|
210
|
+
declare type __VLS_TypePropsToRuntimeProps_20<T> = {
|
|
211
|
+
[K in keyof T]-?: {} extends Pick<T, K>
|
|
212
|
+
? {
|
|
213
|
+
type: PropType<__VLS_NonUndefinedable_20<T[K]>>;
|
|
214
|
+
}
|
|
215
|
+
: {
|
|
216
|
+
type: PropType<T[K]>;
|
|
217
|
+
required: true;
|
|
218
|
+
};
|
|
219
|
+
};
|
|
220
|
+
|
|
221
|
+
declare type __VLS_TypePropsToRuntimeProps_21<T> = {
|
|
222
|
+
[K in keyof T]-?: {} extends Pick<T, K>
|
|
223
|
+
? {
|
|
224
|
+
type: PropType<__VLS_NonUndefinedable_21<T[K]>>;
|
|
225
|
+
}
|
|
226
|
+
: {
|
|
227
|
+
type: PropType<T[K]>;
|
|
228
|
+
required: true;
|
|
229
|
+
};
|
|
230
|
+
};
|
|
231
|
+
|
|
232
|
+
declare type __VLS_TypePropsToRuntimeProps_22<T> = {
|
|
233
|
+
[K in keyof T]-?: {} extends Pick<T, K>
|
|
234
|
+
? {
|
|
235
|
+
type: PropType<__VLS_NonUndefinedable_22<T[K]>>;
|
|
236
|
+
}
|
|
237
|
+
: {
|
|
238
|
+
type: PropType<T[K]>;
|
|
239
|
+
required: true;
|
|
240
|
+
};
|
|
241
|
+
};
|
|
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
|
+
|
|
174
265
|
declare type __VLS_TypePropsToRuntimeProps_3<T> = {
|
|
175
266
|
[K in keyof T]-?: {} extends Pick<T, K>
|
|
176
267
|
? {
|
|
@@ -296,6 +387,46 @@ declare type __VLS_WithDefaults_14<P, D> = {
|
|
|
296
387
|
: P[K];
|
|
297
388
|
};
|
|
298
389
|
|
|
390
|
+
declare type __VLS_WithDefaults_15<P, D> = {
|
|
391
|
+
[K in keyof Pick<P, keyof P>]: K extends keyof D
|
|
392
|
+
? P[K] & {
|
|
393
|
+
default: D[K];
|
|
394
|
+
}
|
|
395
|
+
: P[K];
|
|
396
|
+
};
|
|
397
|
+
|
|
398
|
+
declare type __VLS_WithDefaults_16<P, D> = {
|
|
399
|
+
[K in keyof Pick<P, keyof P>]: K extends keyof D
|
|
400
|
+
? P[K] & {
|
|
401
|
+
default: D[K];
|
|
402
|
+
}
|
|
403
|
+
: P[K];
|
|
404
|
+
};
|
|
405
|
+
|
|
406
|
+
declare type __VLS_WithDefaults_17<P, D> = {
|
|
407
|
+
[K in keyof Pick<P, keyof P>]: K extends keyof D
|
|
408
|
+
? P[K] & {
|
|
409
|
+
default: D[K];
|
|
410
|
+
}
|
|
411
|
+
: P[K];
|
|
412
|
+
};
|
|
413
|
+
|
|
414
|
+
declare type __VLS_WithDefaults_18<P, D> = {
|
|
415
|
+
[K in keyof Pick<P, keyof P>]: K extends keyof D
|
|
416
|
+
? P[K] & {
|
|
417
|
+
default: D[K];
|
|
418
|
+
}
|
|
419
|
+
: P[K];
|
|
420
|
+
};
|
|
421
|
+
|
|
422
|
+
declare type __VLS_WithDefaults_19<P, D> = {
|
|
423
|
+
[K in keyof Pick<P, keyof P>]: K extends keyof D
|
|
424
|
+
? P[K] & {
|
|
425
|
+
default: D[K];
|
|
426
|
+
}
|
|
427
|
+
: P[K];
|
|
428
|
+
};
|
|
429
|
+
|
|
299
430
|
declare type __VLS_WithDefaults_2<P, D> = {
|
|
300
431
|
[K in keyof Pick<P, keyof P>]: K extends keyof D
|
|
301
432
|
? P[K] & {
|
|
@@ -304,6 +435,22 @@ declare type __VLS_WithDefaults_2<P, D> = {
|
|
|
304
435
|
: P[K];
|
|
305
436
|
};
|
|
306
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
|
+
|
|
307
454
|
declare type __VLS_WithDefaults_3<P, D> = {
|
|
308
455
|
[K in keyof Pick<P, keyof P>]: K extends keyof D
|
|
309
456
|
? P[K] & {
|
|
@@ -564,6 +711,24 @@ declare type __VLS_WithTemplateSlots_4<T, S> = T & {
|
|
|
564
711
|
};
|
|
565
712
|
};
|
|
566
713
|
|
|
714
|
+
declare type __VLS_WithTemplateSlots_40<T, S> = T & {
|
|
715
|
+
new (): {
|
|
716
|
+
$slots: S;
|
|
717
|
+
};
|
|
718
|
+
};
|
|
719
|
+
|
|
720
|
+
declare type __VLS_WithTemplateSlots_41<T, S> = T & {
|
|
721
|
+
new (): {
|
|
722
|
+
$slots: S;
|
|
723
|
+
};
|
|
724
|
+
};
|
|
725
|
+
|
|
726
|
+
declare type __VLS_WithTemplateSlots_42<T, S> = T & {
|
|
727
|
+
new (): {
|
|
728
|
+
$slots: S;
|
|
729
|
+
};
|
|
730
|
+
};
|
|
731
|
+
|
|
567
732
|
declare type __VLS_WithTemplateSlots_5<T, S> = T & {
|
|
568
733
|
new (): {
|
|
569
734
|
$slots: S;
|
|
@@ -3283,43 +3448,29 @@ export declare enum BentoCountryVariant {
|
|
|
3283
3448
|
* A Currency component is used to display a formatted currency value.
|
|
3284
3449
|
*
|
|
3285
3450
|
* @example
|
|
3286
|
-
* import { BentoCurrency } from '@adyen/
|
|
3287
|
-
* import { BentoCurrency, BentoCurrencyCode } from '@adyen/bento-vue2';
|
|
3451
|
+
* import { BentoCurrency, BentoCurrencyISOCode } from '@adyen/bento-vue2';
|
|
3288
3452
|
*
|
|
3289
3453
|
* export default {
|
|
3290
3454
|
* components: { BentoCurrency },
|
|
3291
3455
|
* template: `
|
|
3292
|
-
* <bento-currency
|
|
3293
|
-
*
|
|
3294
|
-
*
|
|
3456
|
+
* <bento-currency
|
|
3457
|
+
* :currency="BentoCurrencyISOCode.USD"
|
|
3458
|
+
* :value="76.33"
|
|
3459
|
+
* />
|
|
3295
3460
|
* `
|
|
3296
3461
|
* }
|
|
3297
3462
|
*/
|
|
3298
3463
|
export declare const BentoCurrency: DefineComponent<
|
|
3299
|
-
|
|
3300
|
-
|
|
3301
|
-
|
|
3302
|
-
|
|
3303
|
-
|
|
3304
|
-
|
|
3305
|
-
|
|
3306
|
-
|
|
3307
|
-
|
|
3308
|
-
|
|
3309
|
-
type: BooleanConstructor;
|
|
3310
|
-
default: boolean;
|
|
3311
|
-
};
|
|
3312
|
-
/**
|
|
3313
|
-
* Disable the default typography for the component. Only use this when the component is inside another typography component.
|
|
3314
|
-
*/
|
|
3315
|
-
disableTypography: {
|
|
3316
|
-
type: BooleanConstructor;
|
|
3317
|
-
default: boolean;
|
|
3318
|
-
};
|
|
3319
|
-
},
|
|
3320
|
-
{
|
|
3321
|
-
formattedCurrency: ComputedRef<string>;
|
|
3322
|
-
},
|
|
3464
|
+
__VLS_WithDefaults_7<
|
|
3465
|
+
__VLS_TypePropsToRuntimeProps_7<BentoCurrencyProps>,
|
|
3466
|
+
{
|
|
3467
|
+
currency: BentoCurrencyISOCode;
|
|
3468
|
+
disableTypography: boolean;
|
|
3469
|
+
majorUnits: boolean;
|
|
3470
|
+
value: any;
|
|
3471
|
+
}
|
|
3472
|
+
>,
|
|
3473
|
+
{},
|
|
3323
3474
|
{},
|
|
3324
3475
|
{},
|
|
3325
3476
|
{},
|
|
@@ -3328,200 +3479,22 @@ export declare const BentoCurrency: DefineComponent<
|
|
|
3328
3479
|
{},
|
|
3329
3480
|
string,
|
|
3330
3481
|
Readonly<
|
|
3331
|
-
ExtractPropTypes<
|
|
3332
|
-
|
|
3333
|
-
|
|
3334
|
-
|
|
3335
|
-
|
|
3336
|
-
|
|
3337
|
-
|
|
3338
|
-
|
|
3339
|
-
|
|
3340
|
-
|
|
3341
|
-
|
|
3342
|
-
default: boolean;
|
|
3343
|
-
};
|
|
3344
|
-
/**
|
|
3345
|
-
* Disable the default typography for the component. Only use this when the component is inside another typography component.
|
|
3346
|
-
*/
|
|
3347
|
-
disableTypography: {
|
|
3348
|
-
type: BooleanConstructor;
|
|
3349
|
-
default: boolean;
|
|
3350
|
-
};
|
|
3351
|
-
}>
|
|
3482
|
+
ExtractPropTypes<
|
|
3483
|
+
__VLS_WithDefaults_7<
|
|
3484
|
+
__VLS_TypePropsToRuntimeProps_7<BentoCurrencyProps>,
|
|
3485
|
+
{
|
|
3486
|
+
currency: BentoCurrencyISOCode;
|
|
3487
|
+
disableTypography: boolean;
|
|
3488
|
+
majorUnits: boolean;
|
|
3489
|
+
value: any;
|
|
3490
|
+
}
|
|
3491
|
+
>
|
|
3492
|
+
>
|
|
3352
3493
|
>,
|
|
3353
3494
|
{
|
|
3495
|
+
value: number;
|
|
3354
3496
|
disableTypography: boolean;
|
|
3355
|
-
currency:
|
|
3356
|
-
| 'TOP'
|
|
3357
|
-
| 'CVE'
|
|
3358
|
-
| 'DJF'
|
|
3359
|
-
| 'GNF'
|
|
3360
|
-
| 'IDR'
|
|
3361
|
-
| 'JPY'
|
|
3362
|
-
| 'KMF'
|
|
3363
|
-
| 'KRW'
|
|
3364
|
-
| 'PYG'
|
|
3365
|
-
| 'RWF'
|
|
3366
|
-
| 'UGX'
|
|
3367
|
-
| 'VND'
|
|
3368
|
-
| 'VUV'
|
|
3369
|
-
| 'XAF'
|
|
3370
|
-
| 'XOF'
|
|
3371
|
-
| 'XPF'
|
|
3372
|
-
| 'MRO'
|
|
3373
|
-
| 'BHD'
|
|
3374
|
-
| 'IQD'
|
|
3375
|
-
| 'JOD'
|
|
3376
|
-
| 'KWD'
|
|
3377
|
-
| 'LYD'
|
|
3378
|
-
| 'OMR'
|
|
3379
|
-
| 'TND'
|
|
3380
|
-
| 'AFA'
|
|
3381
|
-
| 'ALL'
|
|
3382
|
-
| 'DZD'
|
|
3383
|
-
| 'AOA'
|
|
3384
|
-
| 'ARS'
|
|
3385
|
-
| 'AMD'
|
|
3386
|
-
| 'AWG'
|
|
3387
|
-
| 'AUD'
|
|
3388
|
-
| 'AZN'
|
|
3389
|
-
| 'BSD'
|
|
3390
|
-
| 'BDT'
|
|
3391
|
-
| 'BBD'
|
|
3392
|
-
| 'BYR'
|
|
3393
|
-
| 'BEF'
|
|
3394
|
-
| 'BZD'
|
|
3395
|
-
| 'BMD'
|
|
3396
|
-
| 'BTN'
|
|
3397
|
-
| 'BTC'
|
|
3398
|
-
| 'BOB'
|
|
3399
|
-
| 'BAM'
|
|
3400
|
-
| 'BWP'
|
|
3401
|
-
| 'BRL'
|
|
3402
|
-
| 'GBP'
|
|
3403
|
-
| 'BND'
|
|
3404
|
-
| 'BGN'
|
|
3405
|
-
| 'BIF'
|
|
3406
|
-
| 'KHR'
|
|
3407
|
-
| 'CAD'
|
|
3408
|
-
| 'KYD'
|
|
3409
|
-
| 'CLP'
|
|
3410
|
-
| 'CLF'
|
|
3411
|
-
| 'CNY'
|
|
3412
|
-
| 'COP'
|
|
3413
|
-
| 'CDF'
|
|
3414
|
-
| 'CRC'
|
|
3415
|
-
| 'HRK'
|
|
3416
|
-
| 'CUC'
|
|
3417
|
-
| 'CZK'
|
|
3418
|
-
| 'DKK'
|
|
3419
|
-
| 'DOP'
|
|
3420
|
-
| 'XCD'
|
|
3421
|
-
| 'EGP'
|
|
3422
|
-
| 'ERN'
|
|
3423
|
-
| 'EEK'
|
|
3424
|
-
| 'ETB'
|
|
3425
|
-
| 'EUR'
|
|
3426
|
-
| 'FKP'
|
|
3427
|
-
| 'FJD'
|
|
3428
|
-
| 'GMD'
|
|
3429
|
-
| 'GEL'
|
|
3430
|
-
| 'DEM'
|
|
3431
|
-
| 'GHS'
|
|
3432
|
-
| 'GIP'
|
|
3433
|
-
| 'GRD'
|
|
3434
|
-
| 'GTQ'
|
|
3435
|
-
| 'GYD'
|
|
3436
|
-
| 'HTG'
|
|
3437
|
-
| 'HNL'
|
|
3438
|
-
| 'HKD'
|
|
3439
|
-
| 'HUF'
|
|
3440
|
-
| 'ISK'
|
|
3441
|
-
| 'INR'
|
|
3442
|
-
| 'IRR'
|
|
3443
|
-
| 'ILS'
|
|
3444
|
-
| 'ITL'
|
|
3445
|
-
| 'JMD'
|
|
3446
|
-
| 'KZT'
|
|
3447
|
-
| 'KES'
|
|
3448
|
-
| 'KGS'
|
|
3449
|
-
| 'LAK'
|
|
3450
|
-
| 'LVL'
|
|
3451
|
-
| 'LBP'
|
|
3452
|
-
| 'LSL'
|
|
3453
|
-
| 'LRD'
|
|
3454
|
-
| 'LTC'
|
|
3455
|
-
| 'LTL'
|
|
3456
|
-
| 'MOP'
|
|
3457
|
-
| 'MKD'
|
|
3458
|
-
| 'MGA'
|
|
3459
|
-
| 'MWK'
|
|
3460
|
-
| 'MYR'
|
|
3461
|
-
| 'MVR'
|
|
3462
|
-
| 'MUR'
|
|
3463
|
-
| 'MXN'
|
|
3464
|
-
| 'MDL'
|
|
3465
|
-
| 'MNT'
|
|
3466
|
-
| 'MAD'
|
|
3467
|
-
| 'MZM'
|
|
3468
|
-
| 'MMK'
|
|
3469
|
-
| 'NAD'
|
|
3470
|
-
| 'NPR'
|
|
3471
|
-
| 'ANG'
|
|
3472
|
-
| 'TWD'
|
|
3473
|
-
| 'NZD'
|
|
3474
|
-
| 'NIO'
|
|
3475
|
-
| 'NGN'
|
|
3476
|
-
| 'KPW'
|
|
3477
|
-
| 'NOK'
|
|
3478
|
-
| 'PKR'
|
|
3479
|
-
| 'PAB'
|
|
3480
|
-
| 'PGK'
|
|
3481
|
-
| 'PEN'
|
|
3482
|
-
| 'PHP'
|
|
3483
|
-
| 'PLN'
|
|
3484
|
-
| 'QAR'
|
|
3485
|
-
| 'RON'
|
|
3486
|
-
| 'RUB'
|
|
3487
|
-
| 'SVC'
|
|
3488
|
-
| 'WST'
|
|
3489
|
-
| 'STD'
|
|
3490
|
-
| 'SAR'
|
|
3491
|
-
| 'RSD'
|
|
3492
|
-
| 'SCR'
|
|
3493
|
-
| 'SLL'
|
|
3494
|
-
| 'SGD'
|
|
3495
|
-
| 'SKK'
|
|
3496
|
-
| 'SBD'
|
|
3497
|
-
| 'SOS'
|
|
3498
|
-
| 'ZAR'
|
|
3499
|
-
| 'SSP'
|
|
3500
|
-
| 'XDR'
|
|
3501
|
-
| 'LKR'
|
|
3502
|
-
| 'SHP'
|
|
3503
|
-
| 'SDG'
|
|
3504
|
-
| 'SRD'
|
|
3505
|
-
| 'SZL'
|
|
3506
|
-
| 'SEK'
|
|
3507
|
-
| 'CHF'
|
|
3508
|
-
| 'SYP'
|
|
3509
|
-
| 'TJS'
|
|
3510
|
-
| 'TZS'
|
|
3511
|
-
| 'THB'
|
|
3512
|
-
| 'TTD'
|
|
3513
|
-
| 'TRY'
|
|
3514
|
-
| 'TMT'
|
|
3515
|
-
| 'UAH'
|
|
3516
|
-
| 'AED'
|
|
3517
|
-
| 'UYU'
|
|
3518
|
-
| 'USD'
|
|
3519
|
-
| 'UZS'
|
|
3520
|
-
| 'VEF'
|
|
3521
|
-
| 'YER'
|
|
3522
|
-
| 'ZMK'
|
|
3523
|
-
| 'ZWL'
|
|
3524
|
-
| BentoCurrencyISOCode;
|
|
3497
|
+
currency: BentoCurrencyISOCode | `${BentoCurrencyISOCode}`;
|
|
3525
3498
|
majorUnits: boolean;
|
|
3526
3499
|
}
|
|
3527
3500
|
>;
|
|
@@ -3703,6 +3676,25 @@ export declare type BentoCurrencyListboxOptionItem = OmitStrict<BentoListboxOpti
|
|
|
3703
3676
|
|
|
3704
3677
|
export declare type BentoCurrencyListboxOptions = BentoCurrencyListboxOptionItem[];
|
|
3705
3678
|
|
|
3679
|
+
export declare interface BentoCurrencyProps {
|
|
3680
|
+
/**
|
|
3681
|
+
* Currency code based on the ISO 4217 standard
|
|
3682
|
+
*/
|
|
3683
|
+
currency?: BentoCurrencyISOCode | `${BentoCurrencyISOCode}`;
|
|
3684
|
+
/**
|
|
3685
|
+
* Disable the default typography for the component. Only use this when the component is inside another typography component.
|
|
3686
|
+
*/
|
|
3687
|
+
disableTypography?: boolean;
|
|
3688
|
+
/**
|
|
3689
|
+
* Accepts currency value in major units instead of minor ones
|
|
3690
|
+
*/
|
|
3691
|
+
majorUnits?: boolean;
|
|
3692
|
+
/**
|
|
3693
|
+
* Currency value to be formatted
|
|
3694
|
+
*/
|
|
3695
|
+
value?: number;
|
|
3696
|
+
}
|
|
3697
|
+
|
|
3706
3698
|
/**
|
|
3707
3699
|
* Dashboard section is subcomponent of Dashboard template meant to be used to create the different sections within the page.
|
|
3708
3700
|
*
|
|
@@ -3729,10 +3721,10 @@ export declare type BentoCurrencyListboxOptions = BentoCurrencyListboxOptionItem
|
|
|
3729
3721
|
* `
|
|
3730
3722
|
* }
|
|
3731
3723
|
*/
|
|
3732
|
-
export declare const BentoDashboardSection:
|
|
3724
|
+
export declare const BentoDashboardSection: __VLS_WithTemplateSlots_41<
|
|
3733
3725
|
DefineComponent<
|
|
3734
|
-
|
|
3735
|
-
|
|
3726
|
+
__VLS_WithDefaults_21<
|
|
3727
|
+
__VLS_TypePropsToRuntimeProps_24<{
|
|
3736
3728
|
/**
|
|
3737
3729
|
* The header of the section
|
|
3738
3730
|
*/
|
|
@@ -3756,8 +3748,8 @@ export declare const BentoDashboardSection: __VLS_WithTemplateSlots_38<
|
|
|
3756
3748
|
string,
|
|
3757
3749
|
Readonly<
|
|
3758
3750
|
ExtractPropTypes<
|
|
3759
|
-
|
|
3760
|
-
|
|
3751
|
+
__VLS_WithDefaults_21<
|
|
3752
|
+
__VLS_TypePropsToRuntimeProps_24<{
|
|
3761
3753
|
/**
|
|
3762
3754
|
* The header of the section
|
|
3763
3755
|
*/
|
|
@@ -3813,10 +3805,10 @@ export declare const BentoDashboardSection: __VLS_WithTemplateSlots_38<
|
|
|
3813
3805
|
* `
|
|
3814
3806
|
* }
|
|
3815
3807
|
*/
|
|
3816
|
-
export declare const BentoDashboardTemplate:
|
|
3808
|
+
export declare const BentoDashboardTemplate: __VLS_WithTemplateSlots_40<
|
|
3817
3809
|
DefineComponent<
|
|
3818
|
-
|
|
3819
|
-
|
|
3810
|
+
__VLS_WithDefaults_20<
|
|
3811
|
+
__VLS_TypePropsToRuntimeProps_23<{
|
|
3820
3812
|
/**
|
|
3821
3813
|
* The header that goes to the top of the template
|
|
3822
3814
|
*/
|
|
@@ -3852,8 +3844,8 @@ export declare const BentoDashboardTemplate: __VLS_WithTemplateSlots_37<
|
|
|
3852
3844
|
string,
|
|
3853
3845
|
Readonly<
|
|
3854
3846
|
ExtractPropTypes<
|
|
3855
|
-
|
|
3856
|
-
|
|
3847
|
+
__VLS_WithDefaults_20<
|
|
3848
|
+
__VLS_TypePropsToRuntimeProps_23<{
|
|
3857
3849
|
/**
|
|
3858
3850
|
* The header that goes to the top of the template
|
|
3859
3851
|
*/
|
|
@@ -4200,6 +4192,13 @@ export declare const BentoDataGrid: __VLS_WithTemplateSlots_8<
|
|
|
4200
4192
|
type: BooleanConstructor;
|
|
4201
4193
|
default: boolean;
|
|
4202
4194
|
};
|
|
4195
|
+
/**
|
|
4196
|
+
* Sticks the horizontal scrollbar to the bottom of the screen if the data-grid is larger than the screen height.
|
|
4197
|
+
*/
|
|
4198
|
+
stickyHorizontalScrollbar: {
|
|
4199
|
+
type: BooleanConstructor;
|
|
4200
|
+
default: boolean;
|
|
4201
|
+
};
|
|
4203
4202
|
/**
|
|
4204
4203
|
* Make pagination stick to the bottom of the page when the data-grid is bigger than the screen.
|
|
4205
4204
|
* Because styles have to be applied to pagination container element, this has to be a data-grid prop (rather than a pagination prop).
|
|
@@ -4448,6 +4447,13 @@ export declare const BentoDataGrid: __VLS_WithTemplateSlots_8<
|
|
|
4448
4447
|
type: BooleanConstructor;
|
|
4449
4448
|
default: boolean;
|
|
4450
4449
|
};
|
|
4450
|
+
/**
|
|
4451
|
+
* Sticks the horizontal scrollbar to the bottom of the screen if the data-grid is larger than the screen height.
|
|
4452
|
+
*/
|
|
4453
|
+
stickyHorizontalScrollbar: {
|
|
4454
|
+
type: BooleanConstructor;
|
|
4455
|
+
default: boolean;
|
|
4456
|
+
};
|
|
4451
4457
|
/**
|
|
4452
4458
|
* Make pagination stick to the bottom of the page when the data-grid is bigger than the screen.
|
|
4453
4459
|
* Because styles have to be applied to pagination container element, this has to be a data-grid prop (rather than a pagination prop).
|
|
@@ -4535,6 +4541,7 @@ export declare const BentoDataGrid: __VLS_WithTemplateSlots_8<
|
|
|
4535
4541
|
columnPanel: boolean;
|
|
4536
4542
|
filterSearchTerm: string;
|
|
4537
4543
|
noSpacingTop: boolean;
|
|
4544
|
+
stickyHorizontalScrollbar: boolean;
|
|
4538
4545
|
stickyPagination: boolean;
|
|
4539
4546
|
stickyFilters: boolean;
|
|
4540
4547
|
selection: BentoDatagridDataItemId[];
|
|
@@ -4718,7 +4725,7 @@ export declare enum BentoDatagridStyleState {
|
|
|
4718
4725
|
* `
|
|
4719
4726
|
* }
|
|
4720
4727
|
*/
|
|
4721
|
-
export declare const BentoDataGridTemplate:
|
|
4728
|
+
export declare const BentoDataGridTemplate: __VLS_WithTemplateSlots_42<
|
|
4722
4729
|
DefineComponent<
|
|
4723
4730
|
{
|
|
4724
4731
|
/**
|
|
@@ -7916,6 +7923,153 @@ export declare enum BentoEmptyStateVariant {
|
|
|
7916
7923
|
CONDENSED = 'condensed',
|
|
7917
7924
|
}
|
|
7918
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
|
+
|
|
7919
8073
|
/**
|
|
7920
8074
|
* The filter bar filters item lists and tables according to various filter criteria.
|
|
7921
8075
|
*
|
|
@@ -8167,6 +8321,7 @@ export declare interface BentoFilterModel extends BentoFilterValue {
|
|
|
8167
8321
|
description?: string;
|
|
8168
8322
|
type: BentoFilterItemType;
|
|
8169
8323
|
options?: BentoFilterOptions;
|
|
8324
|
+
disabled?: boolean;
|
|
8170
8325
|
defaultValue?: BentoFilterBarValue;
|
|
8171
8326
|
visible?: boolean;
|
|
8172
8327
|
/**
|
|
@@ -8751,45 +8906,34 @@ declare enum BentoHeaderVariant {
|
|
|
8751
8906
|
COMPONENT = 'component',
|
|
8752
8907
|
}
|
|
8753
8908
|
|
|
8909
|
+
/**
|
|
8910
|
+
* Image component used for resizing images to certain aspect ratios and fit strategies.
|
|
8911
|
+
*
|
|
8912
|
+
* @example
|
|
8913
|
+
* import { BentoImage } from '@adyen/bento-vue2';
|
|
8914
|
+
*
|
|
8915
|
+
* export default {
|
|
8916
|
+
* components: { BentoImage },
|
|
8917
|
+
* template: `
|
|
8918
|
+
* <bento-image
|
|
8919
|
+
* :src="imageSrc"
|
|
8920
|
+
* alt="alternative text"
|
|
8921
|
+
* aspect-ratio="landscape"
|
|
8922
|
+
* object-fit="cover"
|
|
8923
|
+
*
|
|
8924
|
+
* />
|
|
8925
|
+
* `
|
|
8926
|
+
* }
|
|
8927
|
+
*/
|
|
8754
8928
|
export declare const BentoImage: DefineComponent<
|
|
8755
|
-
|
|
8756
|
-
|
|
8757
|
-
|
|
8758
|
-
|
|
8759
|
-
|
|
8760
|
-
|
|
8761
|
-
|
|
8762
|
-
|
|
8763
|
-
/**
|
|
8764
|
-
* Accessible text describing the image, same as alt attribute of `<img>` tag
|
|
8765
|
-
*/
|
|
8766
|
-
alt: {
|
|
8767
|
-
type: StringConstructor;
|
|
8768
|
-
required: true;
|
|
8769
|
-
};
|
|
8770
|
-
/**
|
|
8771
|
-
* Aspect ratio of the image, maps to css aspect-ratio
|
|
8772
|
-
*/
|
|
8773
|
-
aspectRatio: {
|
|
8774
|
-
type: PropType<BentoImageAspectRatio | `${BentoImageAspectRatio}`>;
|
|
8775
|
-
default: any;
|
|
8776
|
-
validator: (value: BentoImageAspectRatio) => boolean;
|
|
8777
|
-
};
|
|
8778
|
-
/**
|
|
8779
|
-
* Object fitting strategy, maps to css object-fit
|
|
8780
|
-
*/
|
|
8781
|
-
objectFit: {
|
|
8782
|
-
type: PropType<BentoImageObjectFit | `${BentoImageObjectFit}`>;
|
|
8783
|
-
default: any;
|
|
8784
|
-
validator: (value: BentoImageObjectFit) => boolean;
|
|
8785
|
-
};
|
|
8786
|
-
},
|
|
8787
|
-
{
|
|
8788
|
-
imageStyles: ComputedRef<{
|
|
8789
|
-
aspectRatio: string;
|
|
8790
|
-
objectFit: 'fill' | 'contain' | 'cover' | BentoImageObjectFit;
|
|
8791
|
-
}>;
|
|
8792
|
-
},
|
|
8929
|
+
__VLS_WithDefaults_9<
|
|
8930
|
+
__VLS_TypePropsToRuntimeProps_9<BentoImageProps>,
|
|
8931
|
+
{
|
|
8932
|
+
aspectRatio: any;
|
|
8933
|
+
objectFit: any;
|
|
8934
|
+
}
|
|
8935
|
+
>,
|
|
8936
|
+
{},
|
|
8793
8937
|
{},
|
|
8794
8938
|
{},
|
|
8795
8939
|
{},
|
|
@@ -8798,55 +8942,19 @@ export declare const BentoImage: DefineComponent<
|
|
|
8798
8942
|
{},
|
|
8799
8943
|
string,
|
|
8800
8944
|
Readonly<
|
|
8801
|
-
ExtractPropTypes<
|
|
8802
|
-
|
|
8803
|
-
|
|
8804
|
-
|
|
8805
|
-
|
|
8806
|
-
|
|
8807
|
-
|
|
8808
|
-
|
|
8809
|
-
|
|
8810
|
-
* Accessible text describing the image, same as alt attribute of `<img>` tag
|
|
8811
|
-
*/
|
|
8812
|
-
alt: {
|
|
8813
|
-
type: StringConstructor;
|
|
8814
|
-
required: true;
|
|
8815
|
-
};
|
|
8816
|
-
/**
|
|
8817
|
-
* Aspect ratio of the image, maps to css aspect-ratio
|
|
8818
|
-
*/
|
|
8819
|
-
aspectRatio: {
|
|
8820
|
-
type: PropType<BentoImageAspectRatio | `${BentoImageAspectRatio}`>;
|
|
8821
|
-
default: any;
|
|
8822
|
-
validator: (value: BentoImageAspectRatio) => boolean;
|
|
8823
|
-
};
|
|
8824
|
-
/**
|
|
8825
|
-
* Object fitting strategy, maps to css object-fit
|
|
8826
|
-
*/
|
|
8827
|
-
objectFit: {
|
|
8828
|
-
type: PropType<BentoImageObjectFit | `${BentoImageObjectFit}`>;
|
|
8829
|
-
default: any;
|
|
8830
|
-
validator: (value: BentoImageObjectFit) => boolean;
|
|
8831
|
-
};
|
|
8832
|
-
}>
|
|
8945
|
+
ExtractPropTypes<
|
|
8946
|
+
__VLS_WithDefaults_9<
|
|
8947
|
+
__VLS_TypePropsToRuntimeProps_9<BentoImageProps>,
|
|
8948
|
+
{
|
|
8949
|
+
aspectRatio: any;
|
|
8950
|
+
objectFit: any;
|
|
8951
|
+
}
|
|
8952
|
+
>
|
|
8953
|
+
>
|
|
8833
8954
|
>,
|
|
8834
8955
|
{
|
|
8835
|
-
aspectRatio:
|
|
8836
|
-
|
|
8837
|
-
| 'landscape'
|
|
8838
|
-
| '4:3'
|
|
8839
|
-
| '3:3'
|
|
8840
|
-
| '16:9'
|
|
8841
|
-
| '2:1'
|
|
8842
|
-
| 'portrait'
|
|
8843
|
-
| '3:4'
|
|
8844
|
-
| '2:3'
|
|
8845
|
-
| '9:16'
|
|
8846
|
-
| '1:2'
|
|
8847
|
-
| '1:1'
|
|
8848
|
-
| BentoImageAspectRatio;
|
|
8849
|
-
objectFit: 'fill' | 'contain' | 'cover' | BentoImageObjectFit;
|
|
8956
|
+
aspectRatio: BentoImageAspectRatio | `${BentoImageAspectRatio}` | null;
|
|
8957
|
+
objectFit: BentoImageObjectFit | `${BentoImageObjectFit}` | null;
|
|
8850
8958
|
}
|
|
8851
8959
|
>;
|
|
8852
8960
|
|
|
@@ -8871,6 +8979,20 @@ export declare enum BentoImageObjectFit {
|
|
|
8871
8979
|
CONTAIN = 'contain',
|
|
8872
8980
|
}
|
|
8873
8981
|
|
|
8982
|
+
export declare interface BentoImageProps {
|
|
8983
|
+
/** Url to image, same as src attribute of `<img>` tag */
|
|
8984
|
+
src: string;
|
|
8985
|
+
|
|
8986
|
+
/** Accessible text describing the image, same as alt attribute of `<img>` tag */
|
|
8987
|
+
alt: string;
|
|
8988
|
+
|
|
8989
|
+
/** Aspect ratio of the image, maps to css aspect-ratio */
|
|
8990
|
+
aspectRatio?: BentoImageAspectRatio | `${BentoImageAspectRatio}` | null;
|
|
8991
|
+
|
|
8992
|
+
/** Object fitting strategy, maps to css object-fit */
|
|
8993
|
+
objectFit?: BentoImageObjectFit | `${BentoImageObjectFit}` | null;
|
|
8994
|
+
}
|
|
8995
|
+
|
|
8874
8996
|
/**
|
|
8875
8997
|
* @example
|
|
8876
8998
|
* import { BentoInfoIcon } from '@adyen/adl-vue-components';
|
|
@@ -9143,6 +9265,8 @@ export declare const BentoInputField: __VLS_WithTemplateSlots_17<
|
|
|
9143
9265
|
focus: () => void;
|
|
9144
9266
|
} & {
|
|
9145
9267
|
keydown: (event: KeyboardEvent) => void;
|
|
9268
|
+
} & {
|
|
9269
|
+
keyup: (event: KeyboardEvent) => void;
|
|
9146
9270
|
} & {
|
|
9147
9271
|
input: (inputValue: string) => void;
|
|
9148
9272
|
},
|
|
@@ -9327,30 +9451,197 @@ export declare const BentoInputField: __VLS_WithTemplateSlots_17<
|
|
|
9327
9451
|
}
|
|
9328
9452
|
>;
|
|
9329
9453
|
|
|
9330
|
-
/**
|
|
9331
|
-
* @deprecated for usage with properties since version 2.0. Use the string literal instead.
|
|
9332
|
-
*/
|
|
9333
|
-
export declare enum BentoInputFieldElementPosition {
|
|
9334
|
-
START = 'start',
|
|
9335
|
-
END = 'end',
|
|
9454
|
+
/**
|
|
9455
|
+
* @deprecated for usage with properties since version 2.0. Use the string literal instead.
|
|
9456
|
+
*/
|
|
9457
|
+
export declare enum BentoInputFieldElementPosition {
|
|
9458
|
+
START = 'start',
|
|
9459
|
+
END = 'end',
|
|
9460
|
+
}
|
|
9461
|
+
|
|
9462
|
+
/**
|
|
9463
|
+
* @deprecated The use of these enums is no longer supported.
|
|
9464
|
+
* Use `v-on:` or `@` to listen to the events being emitted.
|
|
9465
|
+
* This enum will be removed in 2.0.
|
|
9466
|
+
*/
|
|
9467
|
+
export declare enum BentoInputFieldEvent {
|
|
9468
|
+
INPUT = 'input',
|
|
9469
|
+
ESCAPE_PRESSED = 'escape-pressed',
|
|
9470
|
+
UPDATE_DROPDOWN = 'update:dropdown',
|
|
9471
|
+
DROPDOWN_INPUT = 'dropdown-input',
|
|
9472
|
+
FOCUS = 'focus',
|
|
9473
|
+
CHANGE = 'change',
|
|
9474
|
+
BLUR = 'blur',
|
|
9475
|
+
KEYDOWN = 'keydown',
|
|
9476
|
+
}
|
|
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[];
|
|
9336
9632
|
}
|
|
9337
9633
|
|
|
9338
9634
|
/**
|
|
9339
|
-
*
|
|
9340
|
-
* Use `v-on:` or `@` to listen to the events being emitted.
|
|
9341
|
-
* This enum will be removed in 2.0.
|
|
9635
|
+
* Public
|
|
9342
9636
|
*/
|
|
9343
|
-
export declare
|
|
9344
|
-
|
|
9345
|
-
|
|
9346
|
-
|
|
9347
|
-
DROPDOWN_INPUT = 'dropdown-input',
|
|
9348
|
-
FOCUS = 'focus',
|
|
9349
|
-
CHANGE = 'change',
|
|
9350
|
-
BLUR = 'blur',
|
|
9351
|
-
KEYDOWN = 'keydown',
|
|
9637
|
+
export declare interface BentoInputFieldPasswordValidationListItem {
|
|
9638
|
+
label: string;
|
|
9639
|
+
validate: (value: BentoInputFieldValue, ...args: any[]) => boolean;
|
|
9640
|
+
additionalArgs?: any[];
|
|
9352
9641
|
}
|
|
9353
9642
|
|
|
9643
|
+
declare type BentoInputFieldProps = InstanceType<typeof BentoInputField>['$props'];
|
|
9644
|
+
|
|
9354
9645
|
export declare enum BentoInputFieldStateClass {
|
|
9355
9646
|
CONDENSED = 'condensed',
|
|
9356
9647
|
DISABLED = 'disabled',
|
|
@@ -9424,8 +9715,8 @@ export declare type BentoInpuWithDropdowntFilterValue = {
|
|
|
9424
9715
|
*/
|
|
9425
9716
|
export declare const BentoInspector: __VLS_WithTemplateSlots_18<
|
|
9426
9717
|
DefineComponent<
|
|
9427
|
-
|
|
9428
|
-
|
|
9718
|
+
__VLS_WithDefaults_11<
|
|
9719
|
+
__VLS_TypePropsToRuntimeProps_11<{
|
|
9429
9720
|
/**
|
|
9430
9721
|
* Shows the Expand icon in the inspector
|
|
9431
9722
|
*/
|
|
@@ -9468,8 +9759,8 @@ export declare const BentoInspector: __VLS_WithTemplateSlots_18<
|
|
|
9468
9759
|
string,
|
|
9469
9760
|
Readonly<
|
|
9470
9761
|
ExtractPropTypes<
|
|
9471
|
-
|
|
9472
|
-
|
|
9762
|
+
__VLS_WithDefaults_11<
|
|
9763
|
+
__VLS_TypePropsToRuntimeProps_11<{
|
|
9473
9764
|
/**
|
|
9474
9765
|
* Shows the Expand icon in the inspector
|
|
9475
9766
|
*/
|
|
@@ -9541,6 +9832,64 @@ export declare enum BentoKeyboardNavigationKeyDownEvent {
|
|
|
9541
9832
|
SPACE = 'keydown:space',
|
|
9542
9833
|
}
|
|
9543
9834
|
|
|
9835
|
+
/**
|
|
9836
|
+
* Layout is a basic scaffolding of a page that defines spacing, some functionality and responsive behaviour of its top level sections.
|
|
9837
|
+
*
|
|
9838
|
+
* @example
|
|
9839
|
+
* import { BentoLayout, BentoLayoutRow } from '@adyen/bento-vue2';
|
|
9840
|
+
*
|
|
9841
|
+
* export default {
|
|
9842
|
+
* components: { BentoLayout, BentoLayoutRow },
|
|
9843
|
+
* template: `
|
|
9844
|
+
* <bento-layout size="narrow">
|
|
9845
|
+
* <bento-layout-row>
|
|
9846
|
+
* Row 1
|
|
9847
|
+
* </bento-layout-row>
|
|
9848
|
+
* <bento-layout-row>
|
|
9849
|
+
* Row 2
|
|
9850
|
+
* </bento-layout-row>
|
|
9851
|
+
* </bento-layout>
|
|
9852
|
+
* `
|
|
9853
|
+
* }
|
|
9854
|
+
*/
|
|
9855
|
+
export declare const BentoLayout: __VLS_WithTemplateSlots_19<
|
|
9856
|
+
DefineComponent<
|
|
9857
|
+
__VLS_WithDefaults_12<
|
|
9858
|
+
__VLS_TypePropsToRuntimeProps_12<BentoLayoutProps>,
|
|
9859
|
+
{
|
|
9860
|
+
size: string;
|
|
9861
|
+
variant: string;
|
|
9862
|
+
}
|
|
9863
|
+
>,
|
|
9864
|
+
{},
|
|
9865
|
+
{},
|
|
9866
|
+
{},
|
|
9867
|
+
{},
|
|
9868
|
+
ComponentOptionsMixin,
|
|
9869
|
+
ComponentOptionsMixin,
|
|
9870
|
+
{},
|
|
9871
|
+
string,
|
|
9872
|
+
Readonly<
|
|
9873
|
+
ExtractPropTypes<
|
|
9874
|
+
__VLS_WithDefaults_12<
|
|
9875
|
+
__VLS_TypePropsToRuntimeProps_12<BentoLayoutProps>,
|
|
9876
|
+
{
|
|
9877
|
+
size: string;
|
|
9878
|
+
variant: string;
|
|
9879
|
+
}
|
|
9880
|
+
>
|
|
9881
|
+
>
|
|
9882
|
+
>,
|
|
9883
|
+
{
|
|
9884
|
+
variant: BentoLayoutVariant;
|
|
9885
|
+
size: BentoLayoutSize;
|
|
9886
|
+
}
|
|
9887
|
+
>,
|
|
9888
|
+
{
|
|
9889
|
+
default: (_: {}) => any;
|
|
9890
|
+
}
|
|
9891
|
+
>;
|
|
9892
|
+
|
|
9544
9893
|
declare type BentoLayoutGroupProportions =
|
|
9545
9894
|
| '33-33-33'
|
|
9546
9895
|
| '50-50'
|
|
@@ -9555,6 +9904,92 @@ declare type BentoLayoutGroupProportions =
|
|
|
9555
9904
|
|
|
9556
9905
|
declare const BentoLayoutGroupProportions: string[];
|
|
9557
9906
|
|
|
9907
|
+
export declare interface BentoLayoutProps {
|
|
9908
|
+
/** Defines if the layout is used in a page or only a section */
|
|
9909
|
+
variant?: BentoLayoutVariant;
|
|
9910
|
+
/** Defines the size of the page */
|
|
9911
|
+
size?: BentoLayoutSize;
|
|
9912
|
+
}
|
|
9913
|
+
|
|
9914
|
+
/**
|
|
9915
|
+
* Page row is subcomponent of Layout meant to be used to generate the row layout.
|
|
9916
|
+
*
|
|
9917
|
+
* @example
|
|
9918
|
+
* import { BentoLayout, BentoLayoutRow } from '@adyen/bento-vue2';
|
|
9919
|
+
*
|
|
9920
|
+
* export default {
|
|
9921
|
+
* components: { BentoLayout, BentoLayoutRow },
|
|
9922
|
+
* template: `
|
|
9923
|
+
* <bento-layout>
|
|
9924
|
+
* <bento-layout-row columns-layout="3-9">
|
|
9925
|
+
* <template #col-1>Narrow 3-9</template>
|
|
9926
|
+
* <template #col-2>Wide 3-9</template>
|
|
9927
|
+
* </bento-layout-row>
|
|
9928
|
+
* <bento-layout-row>
|
|
9929
|
+
* <template #col-1>6-6</template>
|
|
9930
|
+
* <template #col-2>6-6</template>
|
|
9931
|
+
* </bento-layout-row>
|
|
9932
|
+
* </bento-layout>
|
|
9933
|
+
* `
|
|
9934
|
+
* }
|
|
9935
|
+
*/
|
|
9936
|
+
export declare const BentoLayoutRow: __VLS_WithTemplateSlots_20<
|
|
9937
|
+
DefineComponent<
|
|
9938
|
+
__VLS_WithDefaults_13<
|
|
9939
|
+
__VLS_TypePropsToRuntimeProps_13<BentoLayoutRowProps>,
|
|
9940
|
+
{
|
|
9941
|
+
columnsLayout: string;
|
|
9942
|
+
}
|
|
9943
|
+
>,
|
|
9944
|
+
{},
|
|
9945
|
+
{},
|
|
9946
|
+
{},
|
|
9947
|
+
{},
|
|
9948
|
+
ComponentOptionsMixin,
|
|
9949
|
+
ComponentOptionsMixin,
|
|
9950
|
+
{},
|
|
9951
|
+
string,
|
|
9952
|
+
Readonly<
|
|
9953
|
+
ExtractPropTypes<
|
|
9954
|
+
__VLS_WithDefaults_13<
|
|
9955
|
+
__VLS_TypePropsToRuntimeProps_13<BentoLayoutRowProps>,
|
|
9956
|
+
{
|
|
9957
|
+
columnsLayout: string;
|
|
9958
|
+
}
|
|
9959
|
+
>
|
|
9960
|
+
>
|
|
9961
|
+
>,
|
|
9962
|
+
{
|
|
9963
|
+
columnsLayout: BentoLayoutRowColumnLayout;
|
|
9964
|
+
}
|
|
9965
|
+
>,
|
|
9966
|
+
{
|
|
9967
|
+
default: (_: {}) => any;
|
|
9968
|
+
'col-1': (_: {}) => any;
|
|
9969
|
+
'col-2': (_: {}) => any;
|
|
9970
|
+
}
|
|
9971
|
+
>;
|
|
9972
|
+
|
|
9973
|
+
export declare type BentoLayoutRowColumnLayout = (typeof BentoLayoutRowColumnLayoutOptions)[number];
|
|
9974
|
+
|
|
9975
|
+
declare const BentoLayoutRowColumnLayoutOptions: readonly ['3-9', '9-3', '4-8', '8-4', '6-6'];
|
|
9976
|
+
|
|
9977
|
+
export declare interface BentoLayoutRowProps {
|
|
9978
|
+
/** Sets the layout of the columns when multiple columns are used */
|
|
9979
|
+
columnsLayout?: BentoLayoutRowColumnLayout;
|
|
9980
|
+
}
|
|
9981
|
+
|
|
9982
|
+
export declare type BentoLayoutSize = (typeof BentoLayoutSizeOptions)[number];
|
|
9983
|
+
|
|
9984
|
+
declare const BentoLayoutSizeOptions: readonly ['full-width', 'narrow', 'half-width'];
|
|
9985
|
+
|
|
9986
|
+
export declare type BentoLayoutVariant = (typeof BentoLayoutVariantOptions)[number];
|
|
9987
|
+
|
|
9988
|
+
/**
|
|
9989
|
+
* @private
|
|
9990
|
+
*/
|
|
9991
|
+
declare const BentoLayoutVariantOptions: readonly ['page', 'component'];
|
|
9992
|
+
|
|
9558
9993
|
export declare type BentoLazyLoadType = 'automatic' | 'button' | 'none';
|
|
9559
9994
|
|
|
9560
9995
|
/**
|
|
@@ -9572,10 +10007,10 @@ export declare type BentoLazyLoadType = 'automatic' | 'button' | 'none';
|
|
|
9572
10007
|
* `
|
|
9573
10008
|
* }
|
|
9574
10009
|
*/
|
|
9575
|
-
export declare const BentoLink:
|
|
10010
|
+
export declare const BentoLink: __VLS_WithTemplateSlots_21<
|
|
9576
10011
|
DefineComponent<
|
|
9577
|
-
|
|
9578
|
-
|
|
10012
|
+
__VLS_WithDefaults_14<
|
|
10013
|
+
__VLS_TypePropsToRuntimeProps_14<BentoLinkProps>,
|
|
9579
10014
|
{
|
|
9580
10015
|
target: any;
|
|
9581
10016
|
variant: BentoLinkVariant;
|
|
@@ -9593,8 +10028,8 @@ export declare const BentoLink: __VLS_WithTemplateSlots_19<
|
|
|
9593
10028
|
string,
|
|
9594
10029
|
Readonly<
|
|
9595
10030
|
ExtractPropTypes<
|
|
9596
|
-
|
|
9597
|
-
|
|
10031
|
+
__VLS_WithDefaults_14<
|
|
10032
|
+
__VLS_TypePropsToRuntimeProps_14<BentoLinkProps>,
|
|
9598
10033
|
{
|
|
9599
10034
|
target: any;
|
|
9600
10035
|
variant: BentoLinkVariant;
|
|
@@ -10140,7 +10575,7 @@ export declare interface BentoMenuItem {
|
|
|
10140
10575
|
* `
|
|
10141
10576
|
* };
|
|
10142
10577
|
*/
|
|
10143
|
-
export declare const BentoModal:
|
|
10578
|
+
export declare const BentoModal: __VLS_WithTemplateSlots_23<
|
|
10144
10579
|
DefineComponent<
|
|
10145
10580
|
{
|
|
10146
10581
|
/**
|
|
@@ -10499,7 +10934,7 @@ export declare enum BentoModalEvent {
|
|
|
10499
10934
|
* `
|
|
10500
10935
|
* }
|
|
10501
10936
|
*/
|
|
10502
|
-
export declare const BentoModalFullscreen:
|
|
10937
|
+
export declare const BentoModalFullscreen: __VLS_WithTemplateSlots_24<
|
|
10503
10938
|
DefineComponent<
|
|
10504
10939
|
{
|
|
10505
10940
|
/**
|
|
@@ -10656,7 +11091,7 @@ export declare const BentoModalFullscreen: __VLS_WithTemplateSlots_22<
|
|
|
10656
11091
|
* `
|
|
10657
11092
|
* }
|
|
10658
11093
|
*/
|
|
10659
|
-
export declare const BentoModalFullscreenPage:
|
|
11094
|
+
export declare const BentoModalFullscreenPage: __VLS_WithTemplateSlots_25<
|
|
10660
11095
|
DefineComponent<
|
|
10661
11096
|
{
|
|
10662
11097
|
/**
|
|
@@ -10815,7 +11250,7 @@ export declare const BentoModalFullscreenPage: __VLS_WithTemplateSlots_23<
|
|
|
10815
11250
|
* `
|
|
10816
11251
|
* }
|
|
10817
11252
|
*/
|
|
10818
|
-
export declare const BentoModalPage:
|
|
11253
|
+
export declare const BentoModalPage: __VLS_WithTemplateSlots_22<
|
|
10819
11254
|
DefineComponent<
|
|
10820
11255
|
{
|
|
10821
11256
|
/**
|
|
@@ -12396,7 +12831,7 @@ export declare enum BentoPaymentMethodType {
|
|
|
12396
12831
|
* `
|
|
12397
12832
|
* }
|
|
12398
12833
|
*/
|
|
12399
|
-
export declare const BentoPopover:
|
|
12834
|
+
export declare const BentoPopover: __VLS_WithTemplateSlots_26<
|
|
12400
12835
|
DefineComponent<
|
|
12401
12836
|
{
|
|
12402
12837
|
/**
|
|
@@ -12815,6 +13250,164 @@ export declare const BentoPopoverPositions: {
|
|
|
12815
13250
|
|
|
12816
13251
|
export declare type BentoPopoverPositions = PopperContainerPosition;
|
|
12817
13252
|
|
|
13253
|
+
/**
|
|
13254
|
+
* Promotional Banner highlights important information, announcements, or promotions.
|
|
13255
|
+
*
|
|
13256
|
+
* @example
|
|
13257
|
+
* import { BentoPromoBanner } from '@adyen/bento-vue2';
|
|
13258
|
+
*
|
|
13259
|
+
* export default {
|
|
13260
|
+
* components: { BentoPromoBanner },
|
|
13261
|
+
* template: `
|
|
13262
|
+
* <bento-promo-banner
|
|
13263
|
+
* title="Title"
|
|
13264
|
+
* description="Brief description explaining and giving more information about the title"
|
|
13265
|
+
* :image="{ src: '16-1.png', aspectRatio: '16:9' }"
|
|
13266
|
+
* :actions="[{ title: 'Primary', event: () => {} }]"
|
|
13267
|
+
* >
|
|
13268
|
+
* </bento-promo-banner>
|
|
13269
|
+
* `
|
|
13270
|
+
* };
|
|
13271
|
+
*/
|
|
13272
|
+
export declare const BentoPromoBanner: __VLS_WithTemplateSlots_27<
|
|
13273
|
+
DefineComponent<
|
|
13274
|
+
__VLS_WithDefaults_15<
|
|
13275
|
+
__VLS_TypePropsToRuntimeProps_15<BentoPromoBannerProps>,
|
|
13276
|
+
{
|
|
13277
|
+
actions: any;
|
|
13278
|
+
color: BentoPromoBannerColor;
|
|
13279
|
+
isDismissible: boolean;
|
|
13280
|
+
dismissButtonText: any;
|
|
13281
|
+
layout: BentoPromoBannerLayout;
|
|
13282
|
+
}
|
|
13283
|
+
>,
|
|
13284
|
+
{},
|
|
13285
|
+
{},
|
|
13286
|
+
{},
|
|
13287
|
+
{},
|
|
13288
|
+
ComponentOptionsMixin,
|
|
13289
|
+
ComponentOptionsMixin,
|
|
13290
|
+
{
|
|
13291
|
+
dismiss: () => void;
|
|
13292
|
+
},
|
|
13293
|
+
string,
|
|
13294
|
+
Readonly<
|
|
13295
|
+
ExtractPropTypes<
|
|
13296
|
+
__VLS_WithDefaults_15<
|
|
13297
|
+
__VLS_TypePropsToRuntimeProps_15<BentoPromoBannerProps>,
|
|
13298
|
+
{
|
|
13299
|
+
actions: any;
|
|
13300
|
+
color: BentoPromoBannerColor;
|
|
13301
|
+
isDismissible: boolean;
|
|
13302
|
+
dismissButtonText: any;
|
|
13303
|
+
layout: BentoPromoBannerLayout;
|
|
13304
|
+
}
|
|
13305
|
+
>
|
|
13306
|
+
>
|
|
13307
|
+
>,
|
|
13308
|
+
{
|
|
13309
|
+
actions: BentoPromoBannerAction[];
|
|
13310
|
+
layout: `${BentoPromoBannerLayout}`;
|
|
13311
|
+
color: `${BentoPromoBannerColor}`;
|
|
13312
|
+
isDismissible: boolean;
|
|
13313
|
+
dismissButtonText: string;
|
|
13314
|
+
}
|
|
13315
|
+
>,
|
|
13316
|
+
{
|
|
13317
|
+
description: (_: {}) => any;
|
|
13318
|
+
}
|
|
13319
|
+
>;
|
|
13320
|
+
|
|
13321
|
+
export declare type BentoPromoBannerAction<IconType = object> = BentoButtonActionObject_2<IconType> & {
|
|
13322
|
+
variant: BentoPromoBannerButtonVariant;
|
|
13323
|
+
};
|
|
13324
|
+
|
|
13325
|
+
export declare type BentoPromoBannerButtonVariant = `${BentoButtonVariant.PRIMARY | BentoButtonVariant.SECONDARY}`;
|
|
13326
|
+
|
|
13327
|
+
export declare enum BentoPromoBannerColor {
|
|
13328
|
+
BLUE = 'blue',
|
|
13329
|
+
GREY = 'grey',
|
|
13330
|
+
GREEN = 'green',
|
|
13331
|
+
}
|
|
13332
|
+
|
|
13333
|
+
export declare type BentoPromoBannerImage = {
|
|
13334
|
+
src: BentoImageProps['src'];
|
|
13335
|
+
alt?: BentoImageProps['alt'];
|
|
13336
|
+
aspectRatio: BentoPromoBannerImageAspectRatio;
|
|
13337
|
+
};
|
|
13338
|
+
|
|
13339
|
+
export declare type BentoPromoBannerImageAspectRatio = `${
|
|
13340
|
+
| BentoImageAspectRatio.P16_9
|
|
13341
|
+
| BentoImageAspectRatio.P2_1
|
|
13342
|
+
| BentoImageAspectRatio.P1_1}`;
|
|
13343
|
+
|
|
13344
|
+
export declare enum BentoPromoBannerLayout {
|
|
13345
|
+
HORIZONTAL = 'horizontal',
|
|
13346
|
+
VERTICAL = 'vertical',
|
|
13347
|
+
}
|
|
13348
|
+
|
|
13349
|
+
export declare interface BentoPromoBannerProps {
|
|
13350
|
+
/**
|
|
13351
|
+
* List of actions that will be used to render the buttons.
|
|
13352
|
+
*
|
|
13353
|
+
* Each object in the list should have a `title`, an `event` and a `variant`.
|
|
13354
|
+
*
|
|
13355
|
+
* `title`: Button's text.
|
|
13356
|
+
* `event`: Event triggered when clicking the Button.
|
|
13357
|
+
* `variant`: Button's style.
|
|
13358
|
+
*
|
|
13359
|
+
* ```
|
|
13360
|
+
* [{
|
|
13361
|
+
* title: 'Primary',
|
|
13362
|
+
* event: () => { ... },
|
|
13363
|
+
* variant: 'primary'
|
|
13364
|
+
* }, {
|
|
13365
|
+
* title: 'Secondary',
|
|
13366
|
+
* event: () => { ... }
|
|
13367
|
+
* variant: 'secondary'
|
|
13368
|
+
* }]
|
|
13369
|
+
* ```
|
|
13370
|
+
*/
|
|
13371
|
+
actions?: BentoPromoBannerAction[];
|
|
13372
|
+
/**
|
|
13373
|
+
* Defines the color of banner's background
|
|
13374
|
+
*/
|
|
13375
|
+
color?: `${BentoPromoBannerColor}`;
|
|
13376
|
+
/**
|
|
13377
|
+
* Defines whether the banner has a `Dismiss` button
|
|
13378
|
+
*/
|
|
13379
|
+
isDismissible?: boolean;
|
|
13380
|
+
/**
|
|
13381
|
+
* Defines whether the banner has a `Dismiss` button
|
|
13382
|
+
*/
|
|
13383
|
+
dismissButtonText?: string;
|
|
13384
|
+
/**
|
|
13385
|
+
* Defines the image used in the banner.
|
|
13386
|
+
*
|
|
13387
|
+
* The promotional banner adapts to different container sizes based on the image's `aspect-ratio`.
|
|
13388
|
+
* Only the following `aspect-ratio` values are supported: `16:9`, `2:1`, and `1:1`.
|
|
13389
|
+
*
|
|
13390
|
+
* In Storybook, to verify the image display, update `image.src` and `image.aspectRatio` as follows:
|
|
13391
|
+
* - `./1-1.png` with an aspect ratio of `1:1`
|
|
13392
|
+
* - `./2-1.png` with an aspect ratio of `2:1`
|
|
13393
|
+
* - `./16-9.png` with an aspect ratio of `16:9`
|
|
13394
|
+
*/
|
|
13395
|
+
image: BentoPromoBannerImage;
|
|
13396
|
+
/**
|
|
13397
|
+
* Defines style of the banner.
|
|
13398
|
+
*
|
|
13399
|
+
* The horizontal layout is responsive to the container size and
|
|
13400
|
+
* changes depending on the image aspect ratio.
|
|
13401
|
+
*
|
|
13402
|
+
* The vertical layout remains the same regardless of container size.
|
|
13403
|
+
*/
|
|
13404
|
+
layout?: `${BentoPromoBannerLayout}`;
|
|
13405
|
+
/**
|
|
13406
|
+
* Defines the title text to be shown on the banner
|
|
13407
|
+
*/
|
|
13408
|
+
title: string;
|
|
13409
|
+
}
|
|
13410
|
+
|
|
12818
13411
|
/**
|
|
12819
13412
|
* Radio buttons are used when two or more options are mutually exclusive,
|
|
12820
13413
|
* the user can only select a single option from a list of pre-defined options.
|
|
@@ -12848,7 +13441,7 @@ export declare type BentoPopoverPositions = PopperContainerPosition;
|
|
|
12848
13441
|
* }
|
|
12849
13442
|
* }
|
|
12850
13443
|
*/
|
|
12851
|
-
export declare const BentoRadioButton:
|
|
13444
|
+
export declare const BentoRadioButton: __VLS_WithTemplateSlots_29<
|
|
12852
13445
|
DefineComponent<
|
|
12853
13446
|
{
|
|
12854
13447
|
/**
|
|
@@ -13018,7 +13611,7 @@ export declare type BentoRadioButtonValue = string | number;
|
|
|
13018
13611
|
* `
|
|
13019
13612
|
* };
|
|
13020
13613
|
*/
|
|
13021
|
-
export declare const BentoRadioGroup:
|
|
13614
|
+
export declare const BentoRadioGroup: __VLS_WithTemplateSlots_28<
|
|
13022
13615
|
DefineComponent<
|
|
13023
13616
|
{
|
|
13024
13617
|
/**
|
|
@@ -13493,7 +14086,7 @@ export declare interface BentoSearchBarItem {
|
|
|
13493
14086
|
* }
|
|
13494
14087
|
*/
|
|
13495
14088
|
export declare const BentoSecondaryNav: DefineComponent<
|
|
13496
|
-
|
|
14089
|
+
__VLS_TypePropsToRuntimeProps_17<{
|
|
13497
14090
|
/**
|
|
13498
14091
|
* An array containing all the items on the nav. The array can have either {@see BentoSecondaryNavItemsCategory },
|
|
13499
14092
|
* which is used to group different items or {@see BentoSecondaryNavItemsItem } if you don't need to group them.
|
|
@@ -13517,7 +14110,7 @@ export declare const BentoSecondaryNav: DefineComponent<
|
|
|
13517
14110
|
string,
|
|
13518
14111
|
Readonly<
|
|
13519
14112
|
ExtractPropTypes<
|
|
13520
|
-
|
|
14113
|
+
__VLS_TypePropsToRuntimeProps_17<{
|
|
13521
14114
|
/**
|
|
13522
14115
|
* An array containing all the items on the nav. The array can have either {@see BentoSecondaryNavItemsCategory },
|
|
13523
14116
|
* which is used to group different items or {@see BentoSecondaryNavItemsItem } if you don't need to group them.
|
|
@@ -13567,8 +14160,8 @@ export declare interface BentoSecondaryNavState {
|
|
|
13567
14160
|
* }
|
|
13568
14161
|
*/
|
|
13569
14162
|
export declare const BentoSegmentedControl: DefineComponent<
|
|
13570
|
-
|
|
13571
|
-
|
|
14163
|
+
__VLS_WithDefaults_17<
|
|
14164
|
+
__VLS_TypePropsToRuntimeProps_18<{
|
|
13572
14165
|
/**
|
|
13573
14166
|
* Accessible name describing the segmented control.
|
|
13574
14167
|
* @deprecated from version 2.0.0. Use the aria-label attribute instead.
|
|
@@ -13609,8 +14202,8 @@ export declare const BentoSegmentedControl: DefineComponent<
|
|
|
13609
14202
|
string,
|
|
13610
14203
|
Readonly<
|
|
13611
14204
|
ExtractPropTypes<
|
|
13612
|
-
|
|
13613
|
-
|
|
14205
|
+
__VLS_WithDefaults_17<
|
|
14206
|
+
__VLS_TypePropsToRuntimeProps_18<{
|
|
13614
14207
|
/**
|
|
13615
14208
|
* Accessible name describing the segmented control.
|
|
13616
14209
|
* @deprecated from version 2.0.0. Use the aria-label attribute instead.
|
|
@@ -13688,6 +14281,7 @@ export declare interface BentoSelectFilterOptions {
|
|
|
13688
14281
|
*/
|
|
13689
14282
|
multiple?: boolean;
|
|
13690
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.
|
|
13691
14285
|
* The translation object to handle any custom transations. e.g. perisistent filter labels.
|
|
13692
14286
|
*/
|
|
13693
14287
|
messages?: {
|
|
@@ -13698,11 +14292,13 @@ export declare interface BentoSelectFilterOptions {
|
|
|
13698
14292
|
};
|
|
13699
14293
|
};
|
|
13700
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.
|
|
13701
14296
|
* The unique key to use in the messages translation object to use for the persistent button label
|
|
13702
14297
|
* when the select filter has partially selected items.
|
|
13703
14298
|
*/
|
|
13704
14299
|
messagesPersistentButtonLabelPartiallySelectedKey?: string;
|
|
13705
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.
|
|
13706
14302
|
* The unique key to use in the messages translation object to use for the persistent button label
|
|
13707
14303
|
* when the select filter has all items selected.
|
|
13708
14304
|
*/
|
|
@@ -13767,7 +14363,7 @@ export declare type BentoSelectFilterValue = BentoListboxSelectedValue;
|
|
|
13767
14363
|
* `
|
|
13768
14364
|
* }
|
|
13769
14365
|
*/
|
|
13770
|
-
export declare const BentoSelectionCard:
|
|
14366
|
+
export declare const BentoSelectionCard: __VLS_WithTemplateSlots_30<
|
|
13771
14367
|
DefineComponent<
|
|
13772
14368
|
{
|
|
13773
14369
|
/**
|
|
@@ -13977,7 +14573,7 @@ export declare const BentoSelectionCard: __VLS_WithTemplateSlots_27<
|
|
|
13977
14573
|
* `,
|
|
13978
14574
|
* }
|
|
13979
14575
|
*/
|
|
13980
|
-
export declare const BentoSelectionCardGroup:
|
|
14576
|
+
export declare const BentoSelectionCardGroup: __VLS_WithTemplateSlots_31<
|
|
13981
14577
|
DefineComponent<
|
|
13982
14578
|
{
|
|
13983
14579
|
/**
|
|
@@ -14037,6 +14633,13 @@ export declare const BentoSelectionCardGroup: __VLS_WithTemplateSlots_28<
|
|
|
14037
14633
|
type: PropType<BentoSelectionCardItem[]>;
|
|
14038
14634
|
required: true;
|
|
14039
14635
|
};
|
|
14636
|
+
/**
|
|
14637
|
+
* Sets the responsive number of items rendered in each row.
|
|
14638
|
+
*/
|
|
14639
|
+
itemsPerRow: {
|
|
14640
|
+
type: PropType<BentoSelectionCardGroupItemsPerRow>;
|
|
14641
|
+
default: any;
|
|
14642
|
+
};
|
|
14040
14643
|
/**
|
|
14041
14644
|
* Determines the initially selected value of the group. Corresponds to the BentoSelectionCardItem's value.
|
|
14042
14645
|
* Defaults to no value selected.
|
|
@@ -14153,6 +14756,13 @@ export declare const BentoSelectionCardGroup: __VLS_WithTemplateSlots_28<
|
|
|
14153
14756
|
type: PropType<BentoSelectionCardItem[]>;
|
|
14154
14757
|
required: true;
|
|
14155
14758
|
};
|
|
14759
|
+
/**
|
|
14760
|
+
* Sets the responsive number of items rendered in each row.
|
|
14761
|
+
*/
|
|
14762
|
+
itemsPerRow: {
|
|
14763
|
+
type: PropType<BentoSelectionCardGroupItemsPerRow>;
|
|
14764
|
+
default: any;
|
|
14765
|
+
};
|
|
14156
14766
|
/**
|
|
14157
14767
|
* Determines the initially selected value of the group. Corresponds to the BentoSelectionCardItem's value.
|
|
14158
14768
|
* Defaults to no value selected.
|
|
@@ -14212,15 +14822,18 @@ export declare const BentoSelectionCardGroup: __VLS_WithTemplateSlots_28<
|
|
|
14212
14822
|
readonly: boolean;
|
|
14213
14823
|
modelValue: BentoSelectionCardModelValue;
|
|
14214
14824
|
formId: string;
|
|
14825
|
+
itemsPerRow: GridLayoutColumnWidth;
|
|
14215
14826
|
}
|
|
14216
14827
|
>,
|
|
14217
14828
|
{
|
|
14218
|
-
icon: (_:
|
|
14219
|
-
content: (_:
|
|
14220
|
-
dynamicContent: (_:
|
|
14829
|
+
icon: (_: any) => any;
|
|
14830
|
+
content: (_: any) => any;
|
|
14831
|
+
dynamicContent: (_: any) => any;
|
|
14221
14832
|
}
|
|
14222
14833
|
>;
|
|
14223
14834
|
|
|
14835
|
+
export declare type BentoSelectionCardGroupItemsPerRow = GridLayoutColumnWidth;
|
|
14836
|
+
|
|
14224
14837
|
export declare type BentoSelectionCardGroupLayout = 'horizontal' | 'vertical';
|
|
14225
14838
|
|
|
14226
14839
|
export declare type BentoSelectionCardGroupVariant = 'checkbox' | 'radio';
|
|
@@ -14293,7 +14906,7 @@ export declare type BentoSelectTagFilterOptions = OmitStrict<BentoSelectFilterOp
|
|
|
14293
14906
|
* `
|
|
14294
14907
|
* }
|
|
14295
14908
|
*/
|
|
14296
|
-
export declare const BentoSidepanel:
|
|
14909
|
+
export declare const BentoSidepanel: __VLS_WithTemplateSlots_33<
|
|
14297
14910
|
DefineComponent<
|
|
14298
14911
|
{
|
|
14299
14912
|
/**
|
|
@@ -14438,7 +15051,7 @@ export declare enum BentoSidepanelEvent {
|
|
|
14438
15051
|
* `
|
|
14439
15052
|
* }
|
|
14440
15053
|
*/
|
|
14441
|
-
export declare const BentoSidepanelPage:
|
|
15054
|
+
export declare const BentoSidepanelPage: __VLS_WithTemplateSlots_32<
|
|
14442
15055
|
DefineComponent<
|
|
14443
15056
|
{
|
|
14444
15057
|
/**
|
|
@@ -14598,9 +15211,9 @@ export declare const BentoSidepanelPage: __VLS_WithTemplateSlots_29<
|
|
|
14598
15211
|
* `
|
|
14599
15212
|
* }
|
|
14600
15213
|
*/
|
|
14601
|
-
export declare const BentoStatus:
|
|
15214
|
+
export declare const BentoStatus: __VLS_WithTemplateSlots_34<
|
|
14602
15215
|
DefineComponent<
|
|
14603
|
-
|
|
15216
|
+
__VLS_TypePropsToRuntimeProps_19<{
|
|
14604
15217
|
variant: BentoStatusVariant | `${BentoStatusVariant}`;
|
|
14605
15218
|
}>,
|
|
14606
15219
|
{},
|
|
@@ -14613,7 +15226,7 @@ export declare const BentoStatus: __VLS_WithTemplateSlots_31<
|
|
|
14613
15226
|
string,
|
|
14614
15227
|
Readonly<
|
|
14615
15228
|
ExtractPropTypes<
|
|
14616
|
-
|
|
15229
|
+
__VLS_TypePropsToRuntimeProps_19<{
|
|
14617
15230
|
variant: BentoStatusVariant | `${BentoStatusVariant}`;
|
|
14618
15231
|
}>
|
|
14619
15232
|
>
|
|
@@ -14659,7 +15272,7 @@ export declare enum BentoStatusVariant {
|
|
|
14659
15272
|
* `
|
|
14660
15273
|
* }
|
|
14661
15274
|
*/
|
|
14662
|
-
export declare const BentoStep:
|
|
15275
|
+
export declare const BentoStep: __VLS_WithTemplateSlots_36<
|
|
14663
15276
|
DefineComponent<
|
|
14664
15277
|
{
|
|
14665
15278
|
/**
|
|
@@ -14733,7 +15346,7 @@ export declare const BentoStep: __VLS_WithTemplateSlots_33<
|
|
|
14733
15346
|
* `
|
|
14734
15347
|
* }
|
|
14735
15348
|
*/
|
|
14736
|
-
export declare const BentoStepper:
|
|
15349
|
+
export declare const BentoStepper: __VLS_WithTemplateSlots_35<
|
|
14737
15350
|
DefineComponent<
|
|
14738
15351
|
{
|
|
14739
15352
|
/**
|
|
@@ -14851,18 +15464,16 @@ export declare enum BentoStepperVariantOption {
|
|
|
14851
15464
|
* <bento-payment-method label="Klarna" type="Klarna" />
|
|
14852
15465
|
* </bento-structured-list-item>
|
|
14853
15466
|
* <bento-structured-list-item label="Amount">
|
|
14854
|
-
* <bento-currency :currency="BentoCurrencyISOCode.USD"
|
|
14855
|
-
* 123456
|
|
14856
|
-
* </bento-currency>
|
|
15467
|
+
* <bento-currency :currency="BentoCurrencyISOCode.USD" :value="123456" />
|
|
14857
15468
|
* </bento-structured-list-item>
|
|
14858
15469
|
* </bento-structured-list>
|
|
14859
15470
|
* `
|
|
14860
15471
|
* }
|
|
14861
15472
|
*/
|
|
14862
|
-
export declare const BentoStructuredList:
|
|
15473
|
+
export declare const BentoStructuredList: __VLS_WithTemplateSlots_37<
|
|
14863
15474
|
DefineComponent<
|
|
14864
|
-
|
|
14865
|
-
|
|
15475
|
+
__VLS_WithDefaults_18<
|
|
15476
|
+
__VLS_TypePropsToRuntimeProps_20<{
|
|
14866
15477
|
/**
|
|
14867
15478
|
* Width of the labels container, in pixels. Overrides layout prop.
|
|
14868
15479
|
*/
|
|
@@ -14896,8 +15507,8 @@ export declare const BentoStructuredList: __VLS_WithTemplateSlots_34<
|
|
|
14896
15507
|
string,
|
|
14897
15508
|
Readonly<
|
|
14898
15509
|
ExtractPropTypes<
|
|
14899
|
-
|
|
14900
|
-
|
|
15510
|
+
__VLS_WithDefaults_18<
|
|
15511
|
+
__VLS_TypePropsToRuntimeProps_20<{
|
|
14901
15512
|
/**
|
|
14902
15513
|
* Width of the labels container, in pixels. Overrides layout prop.
|
|
14903
15514
|
*/
|
|
@@ -14950,17 +15561,15 @@ export declare const BentoStructuredList: __VLS_WithTemplateSlots_34<
|
|
|
14950
15561
|
* </bento-status>
|
|
14951
15562
|
* </bento-structured-list-item>
|
|
14952
15563
|
* <bento-structured-list-item label="Amount" copy='123456'>
|
|
14953
|
-
* <bento-currency :currency="BentoCurrencyISOCode.USD"
|
|
14954
|
-
* 123456
|
|
14955
|
-
* </bento-currency>
|
|
15564
|
+
* <bento-currency :currency="BentoCurrencyISOCode.USD" :value="123456" />
|
|
14956
15565
|
* </bento-structured-list-item>
|
|
14957
15566
|
* </bento-structured-list>
|
|
14958
15567
|
* `
|
|
14959
15568
|
* }
|
|
14960
15569
|
*/
|
|
14961
|
-
export declare const BentoStructuredListItem:
|
|
15570
|
+
export declare const BentoStructuredListItem: __VLS_WithTemplateSlots_38<
|
|
14962
15571
|
DefineComponent<
|
|
14963
|
-
|
|
15572
|
+
__VLS_TypePropsToRuntimeProps_21<{
|
|
14964
15573
|
/**
|
|
14965
15574
|
* Label to display for the value
|
|
14966
15575
|
*/
|
|
@@ -14996,7 +15605,7 @@ export declare const BentoStructuredListItem: __VLS_WithTemplateSlots_35<
|
|
|
14996
15605
|
string,
|
|
14997
15606
|
Readonly<
|
|
14998
15607
|
ExtractPropTypes<
|
|
14999
|
-
|
|
15608
|
+
__VLS_TypePropsToRuntimeProps_21<{
|
|
15000
15609
|
/**
|
|
15001
15610
|
* Label to display for the value
|
|
15002
15611
|
*/
|
|
@@ -16196,8 +16805,8 @@ declare enum BentoTabsEvent {
|
|
|
16196
16805
|
}
|
|
16197
16806
|
|
|
16198
16807
|
export declare const BentoTag: DefineComponent<
|
|
16199
|
-
|
|
16200
|
-
|
|
16808
|
+
__VLS_WithDefaults_16<
|
|
16809
|
+
__VLS_TypePropsToRuntimeProps_16<BentoTagProps>,
|
|
16201
16810
|
{
|
|
16202
16811
|
label: any;
|
|
16203
16812
|
truncate: any;
|
|
@@ -16214,8 +16823,8 @@ export declare const BentoTag: DefineComponent<
|
|
|
16214
16823
|
string,
|
|
16215
16824
|
Readonly<
|
|
16216
16825
|
ExtractPropTypes<
|
|
16217
|
-
|
|
16218
|
-
|
|
16826
|
+
__VLS_WithDefaults_16<
|
|
16827
|
+
__VLS_TypePropsToRuntimeProps_16<BentoTagProps>,
|
|
16219
16828
|
{
|
|
16220
16829
|
label: any;
|
|
16221
16830
|
truncate: any;
|
|
@@ -17464,10 +18073,10 @@ export declare interface BentoTutorialStep {
|
|
|
17464
18073
|
* `
|
|
17465
18074
|
* }
|
|
17466
18075
|
*/
|
|
17467
|
-
export declare const BentoTypography:
|
|
18076
|
+
export declare const BentoTypography: __VLS_WithTemplateSlots_39<
|
|
17468
18077
|
DefineComponent<
|
|
17469
|
-
|
|
17470
|
-
|
|
18078
|
+
__VLS_WithDefaults_19<
|
|
18079
|
+
__VLS_TypePropsToRuntimeProps_22<{
|
|
17471
18080
|
/**
|
|
17472
18081
|
* Sets the HTML DOM element.
|
|
17473
18082
|
* @values h1, h2, h3, h4, h5, h6, div, p, span
|
|
@@ -17528,8 +18137,8 @@ export declare const BentoTypography: __VLS_WithTemplateSlots_36<
|
|
|
17528
18137
|
string,
|
|
17529
18138
|
Readonly<
|
|
17530
18139
|
ExtractPropTypes<
|
|
17531
|
-
|
|
17532
|
-
|
|
18140
|
+
__VLS_WithDefaults_19<
|
|
18141
|
+
__VLS_TypePropsToRuntimeProps_22<{
|
|
17533
18142
|
/**
|
|
17534
18143
|
* Sets the HTML DOM element.
|
|
17535
18144
|
* @values h1, h2, h3, h4, h5, h6, div, p, span
|
|
@@ -17861,6 +18470,15 @@ export declare type MaybeReadonlyRef<T> = (() => T) | ComputedRef<T>;
|
|
|
17861
18470
|
*/
|
|
17862
18471
|
export declare type MaybeRef<T> = T | Ref<T> | Ref<UnwrapRef<T>>;
|
|
17863
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
|
+
|
|
17864
18482
|
export declare type OmitStrict<T, K extends keyof T> = Pick<T, Exclude<keyof T, K>>;
|
|
17865
18483
|
|
|
17866
18484
|
declare type OnClickOutsideHandler = (evt: PointerEvent | FocusEvent) => void;
|
|
@@ -17930,6 +18548,38 @@ declare enum PopperContainerPositionExtended {
|
|
|
17930
18548
|
LEFT_END = 'left-end',
|
|
17931
18549
|
}
|
|
17932
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
|
+
|
|
17933
18583
|
declare interface Toast {
|
|
17934
18584
|
dismiss: () => void;
|
|
17935
18585
|
}
|