@adyen/bento-vue2 1.24.0 → 1.26.0
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/dist/@types/index.d.ts +484 -629
- package/dist/accordion.js +2 -2
- package/dist/action-bar.js +6 -6
- package/dist/alert.js +69 -104
- package/dist/alert.js.map +1 -1
- package/dist/assets/base-modal.css +1 -1
- package/dist/assets/dialog-page.css +1 -1
- package/dist/assets/dropdown.css +1 -1
- package/dist/assets/index10.css +1 -1
- package/dist/assets/index11.css +1 -1
- package/dist/assets/index12.css +1 -1
- package/dist/assets/index13.css +1 -1
- package/dist/assets/index14.css +1 -1
- package/dist/assets/index15.css +1 -1
- package/dist/assets/index16.css +1 -1
- package/dist/assets/index17.css +1 -1
- package/dist/assets/index18.css +1 -1
- package/dist/assets/index19.css +1 -1
- package/dist/assets/index2.css +1 -1
- package/dist/assets/index20.css +1 -1
- package/dist/assets/index21.css +1 -1
- package/dist/assets/index22.css +1 -1
- package/dist/assets/index23.css +1 -1
- package/dist/assets/index24.css +1 -1
- package/dist/assets/index25.css +1 -1
- package/dist/assets/index26.css +1 -1
- package/dist/assets/index27.css +1 -1
- package/dist/assets/index28.css +1 -1
- package/dist/assets/index29.css +1 -1
- package/dist/assets/index3.css +1 -1
- package/dist/assets/index30.css +1 -1
- package/dist/assets/index31.css +1 -1
- package/dist/assets/index32.css +1 -1
- package/dist/assets/index33.css +1 -1
- package/dist/assets/index34.css +1 -1
- package/dist/assets/index35.css +1 -1
- package/dist/assets/index36.css +1 -1
- package/dist/assets/index37.css +1 -1
- package/dist/assets/index38.css +1 -1
- package/dist/assets/index39.css +1 -1
- package/dist/assets/index4.css +1 -1
- package/dist/assets/index40.css +1 -1
- package/dist/assets/index41.css +1 -1
- package/dist/assets/index42.css +1 -1
- package/dist/assets/index43.css +1 -1
- package/dist/assets/index44.css +1 -1
- package/dist/assets/index45.css +1 -1
- package/dist/assets/index47.css +1 -1
- package/dist/assets/index48.css +1 -1
- package/dist/assets/index5.css +1 -1
- package/dist/assets/index6.css +1 -1
- package/dist/assets/index7.css +1 -1
- package/dist/assets/index8.css +1 -1
- package/dist/assets/index9.css +1 -1
- package/dist/assets/{listbox.css → use-cached-selected-values.css} +1 -1
- package/dist/avatar-image.js +1 -1
- package/dist/button.js +5 -5
- package/dist/card.js +83 -180
- package/dist/card.js.map +1 -1
- package/dist/checkbox.js +5 -5
- package/dist/chunks/{base-button.090f511d.js → base-button.ad74b6f8.js} +2 -2
- package/dist/chunks/{base-button.090f511d.js.map → base-button.ad74b6f8.js.map} +1 -1
- package/dist/chunks/{base-modal.aa09a60c.js → base-modal.1fff7abe.js} +6 -6
- package/dist/chunks/{base-modal.aa09a60c.js.map → base-modal.1fff7abe.js.map} +1 -1
- package/dist/chunks/{button-actions-with-menu.879c4573.js → button-actions-with-menu.e845d77a.js} +4 -4
- package/dist/chunks/{button-actions-with-menu.879c4573.js.map → button-actions-with-menu.e845d77a.js.map} +1 -1
- package/dist/chunks/{button-actions.239456cb.js → button-actions.81db18e8.js} +3 -3
- package/dist/chunks/{button-actions.239456cb.js.map → button-actions.81db18e8.js.map} +1 -1
- package/dist/chunks/{button.6e6324f0.js → button.9d6435ae.js} +3 -3
- package/dist/chunks/{button.6e6324f0.js.map → button.9d6435ae.js.map} +1 -1
- package/dist/chunks/{calendar.1e416969.js → calendar.640b8d25.js} +4 -4
- package/dist/chunks/{calendar.1e416969.js.map → calendar.640b8d25.js.map} +1 -1
- package/dist/chunks/{checkbox.f38276e6.js → checkbox.bfed007c.js} +3 -3
- package/dist/chunks/{checkbox.f38276e6.js.map → checkbox.bfed007c.js.map} +1 -1
- package/dist/chunks/{controls-group.f1dfa419.js → controls-group.4fb50009.js} +3 -3
- package/dist/chunks/{controls-group.f1dfa419.js.map → controls-group.4fb50009.js.map} +1 -1
- package/dist/chunks/{copy.acc9f1b0.js → copy.f85700c6.js} +4 -4
- package/dist/chunks/{copy.acc9f1b0.js.map → copy.f85700c6.js.map} +1 -1
- package/dist/chunks/dialog-page.73da22cf.js +133 -0
- package/dist/chunks/dialog-page.73da22cf.js.map +1 -0
- package/dist/chunks/{dropdown-default-textbox.c1f8fe5f.js → dropdown-default-textbox.54ca1b18.js} +2 -2
- package/dist/chunks/{dropdown-default-textbox.c1f8fe5f.js.map → dropdown-default-textbox.54ca1b18.js.map} +1 -1
- package/dist/chunks/dropdown.10c034aa.js +775 -0
- package/dist/chunks/dropdown.10c034aa.js.map +1 -0
- package/dist/chunks/{error-message.8734e591.js → error-message.31ec12b7.js} +2 -2
- package/dist/chunks/{error-message.8734e591.js.map → error-message.31ec12b7.js.map} +1 -1
- package/dist/chunks/{fixed-scroller.772ad033.js → fixed-scroller.4eb9a9ac.js} +2 -2
- package/dist/chunks/{fixed-scroller.772ad033.js.map → fixed-scroller.4eb9a9ac.js.map} +1 -1
- package/dist/chunks/{footer-actions.11071f12.js → footer-actions.a1e09b4f.js} +4 -4
- package/dist/chunks/{footer-actions.11071f12.js.map → footer-actions.a1e09b4f.js.map} +1 -1
- package/dist/chunks/{index.5d5f2200.js → index.15b088b9.js} +6 -6
- package/dist/chunks/{index.5d5f2200.js.map → index.15b088b9.js.map} +1 -1
- package/dist/chunks/{index.87180cdd.js → index.1ea85d4a.js} +138 -119
- package/dist/chunks/index.1ea85d4a.js.map +1 -0
- package/dist/chunks/{index.8e6bc325.js → index.317fca12.js} +3 -3
- package/dist/chunks/{index.8e6bc325.js.map → index.317fca12.js.map} +1 -1
- package/dist/chunks/{index.51308a21.js → index.671768a1.js} +3 -3
- package/dist/chunks/{index.51308a21.js.map → index.671768a1.js.map} +1 -1
- package/dist/chunks/{index.49ce3f6a.js → index.7eefc59c.js} +3 -3
- package/dist/chunks/{index.49ce3f6a.js.map → index.7eefc59c.js.map} +1 -1
- package/dist/chunks/{index.f19887a1.js → index.885d05a9.js} +2 -2
- package/dist/chunks/{index.f19887a1.js.map → index.885d05a9.js.map} +1 -1
- package/dist/chunks/{index.73abb1a9.js → index.8b8c3b16.js} +9 -9
- package/dist/chunks/{index.73abb1a9.js.map → index.8b8c3b16.js.map} +1 -1
- package/dist/chunks/{index.ff09389c.js → index.aaf965f8.js} +6 -6
- package/dist/chunks/{index.ff09389c.js.map → index.aaf965f8.js.map} +1 -1
- package/dist/chunks/{index.03ae22b4.js → index.b21197ca.js} +2 -2
- package/dist/chunks/{index.03ae22b4.js.map → index.b21197ca.js.map} +1 -1
- package/dist/chunks/{index.94980f50.js → index.d553d3d1.js} +2 -2
- package/dist/chunks/{index.94980f50.js.map → index.d553d3d1.js.map} +1 -1
- package/dist/chunks/{index.ba6c1040.js → index.dd30e538.js} +3 -3
- package/dist/chunks/index.dd30e538.js.map +1 -0
- package/dist/chunks/{listbox-option-tag.c0a56a95.js → listbox-option-tag.6bbb6bbe.js} +3 -3
- package/dist/chunks/{listbox-option-tag.c0a56a95.js.map → listbox-option-tag.6bbb6bbe.js.map} +1 -1
- package/dist/chunks/{loading-button.84a5529d.js → loading-button.eafc9e1b.js} +2 -2
- package/dist/chunks/{loading-button.84a5529d.js.map → loading-button.eafc9e1b.js.map} +1 -1
- package/dist/chunks/{payment-method.faa302de.js → payment-method.6c1ce07c.js} +2 -2
- package/dist/chunks/{payment-method.faa302de.js.map → payment-method.6c1ce07c.js.map} +1 -1
- package/dist/chunks/{tooltip.8e9d733c.js → tooltip.58ef3f4a.js} +3 -3
- package/dist/chunks/{tooltip.8e9d733c.js.map → tooltip.58ef3f4a.js.map} +1 -1
- package/dist/chunks/{use-bento-toast-controller.7d4436ad.js → use-bento-toast-controller.c3277f73.js} +2 -2
- package/dist/chunks/{use-bento-toast-controller.7d4436ad.js.map → use-bento-toast-controller.c3277f73.js.map} +1 -1
- package/dist/chunks/{listbox.e6e1bc90.js → use-cached-selected-values.69297473.js} +510 -448
- package/dist/chunks/use-cached-selected-values.69297473.js.map +1 -0
- package/dist/code-snippet.js +7 -7
- package/dist/code-snippet.js.map +1 -1
- package/dist/country.js +2 -2
- package/dist/currency.js +1 -1
- package/dist/data-grid-template.js +1 -1
- package/dist/data-grid.js +947 -885
- package/dist/data-grid.js.map +1 -1
- package/dist/date-picker.js +8 -8
- package/dist/date-range-picker.js +2 -2
- package/dist/date.js +1 -1
- package/dist/divider.js +1 -1
- package/dist/dropdown.js +7 -7
- package/dist/empty-state.js +3 -3
- package/dist/filter-bar.js +1115 -955
- package/dist/filter-bar.js.map +1 -1
- package/dist/focus-trap.js +1 -1
- package/dist/form-layout.js +15 -14
- package/dist/form-layout.js.map +1 -1
- package/dist/header.js +4 -4
- package/dist/index.js +177 -169
- package/dist/index.js.map +1 -1
- package/dist/info-icon.js +3 -3
- package/dist/input-field.js +31 -29
- package/dist/input-field.js.map +1 -1
- package/dist/internal.js +31 -78
- package/dist/internal.js.map +1 -1
- package/dist/link.js +1 -1
- package/dist/loading-indicator.js +1 -1
- package/dist/menu.js +1 -1
- package/dist/modal-fullscreen.js +6 -6
- package/dist/modal.js +6 -6
- package/dist/pagination.js +4 -4
- package/dist/payment-method.js +1 -1
- package/dist/popover.js +1 -1
- package/dist/popper-container.js +1 -1
- package/dist/radio-group.js +62 -62
- package/dist/radio-group.js.map +1 -1
- package/dist/search-bar.js +2 -2
- package/dist/secondary-nav.js +2 -2
- package/dist/segmented-control.js +2 -2
- package/dist/selection-card.js +4 -4
- package/dist/sidepanel.js +52 -50
- package/dist/sidepanel.js.map +1 -1
- package/dist/status.js +2 -2
- package/dist/stepper.js +3 -3
- package/dist/structured-list.js +1 -1
- package/dist/summary-grid.js +3 -3
- package/dist/tabs.js +52 -52
- package/dist/tabs.js.map +1 -1
- package/dist/tag.js +3 -3
- package/dist/textarea.js +4 -4
- package/dist/timeline.js +7 -7
- package/dist/toast.js +4 -4
- package/dist/toggle.js +2 -2
- package/dist/tutorial.js +88 -67
- package/dist/tutorial.js.map +1 -1
- package/dist/typography.js +1 -1
- package/dist/web-types.json +550 -266
- package/package.json +3 -2
- package/dist/chunks/dialog-page.75b295b7.js +0 -133
- package/dist/chunks/dialog-page.75b295b7.js.map +0 -1
- package/dist/chunks/dropdown.669b858b.js +0 -797
- package/dist/chunks/dropdown.669b858b.js.map +0 -1
- package/dist/chunks/index.87180cdd.js.map +0 -1
- package/dist/chunks/index.ba6c1040.js.map +0 -1
- package/dist/chunks/listbox.e6e1bc90.js.map +0 -1
package/dist/@types/index.d.ts
CHANGED
|
@@ -28,6 +28,10 @@ declare type __VLS_NonUndefinedable_2<T> = T extends undefined ? never : T;
|
|
|
28
28
|
|
|
29
29
|
declare type __VLS_NonUndefinedable_3<T> = T extends undefined ? never : T;
|
|
30
30
|
|
|
31
|
+
declare type __VLS_NonUndefinedable_4<T> = T extends undefined ? never : T;
|
|
32
|
+
|
|
33
|
+
declare type __VLS_NonUndefinedable_5<T> = T extends undefined ? never : T;
|
|
34
|
+
|
|
31
35
|
declare type __VLS_TypePropsToRuntimeProps<T> = {
|
|
32
36
|
[K in keyof T]-?: {} extends Pick<T, K>
|
|
33
37
|
? {
|
|
@@ -61,6 +65,28 @@ declare type __VLS_TypePropsToRuntimeProps_3<T> = {
|
|
|
61
65
|
};
|
|
62
66
|
};
|
|
63
67
|
|
|
68
|
+
declare type __VLS_TypePropsToRuntimeProps_4<T> = {
|
|
69
|
+
[K in keyof T]-?: {} extends Pick<T, K>
|
|
70
|
+
? {
|
|
71
|
+
type: PropType<__VLS_NonUndefinedable_4<T[K]>>;
|
|
72
|
+
}
|
|
73
|
+
: {
|
|
74
|
+
type: PropType<T[K]>;
|
|
75
|
+
required: true;
|
|
76
|
+
};
|
|
77
|
+
};
|
|
78
|
+
|
|
79
|
+
declare type __VLS_TypePropsToRuntimeProps_5<T> = {
|
|
80
|
+
[K in keyof T]-?: {} extends Pick<T, K>
|
|
81
|
+
? {
|
|
82
|
+
type: PropType<__VLS_NonUndefinedable_5<T[K]>>;
|
|
83
|
+
}
|
|
84
|
+
: {
|
|
85
|
+
type: PropType<T[K]>;
|
|
86
|
+
required: true;
|
|
87
|
+
};
|
|
88
|
+
};
|
|
89
|
+
|
|
64
90
|
declare type __VLS_WithDefaults<P, D> = {
|
|
65
91
|
[K in keyof Pick<P, keyof P>]: K extends keyof D
|
|
66
92
|
? P[K] & {
|
|
@@ -77,6 +103,22 @@ declare type __VLS_WithDefaults_2<P, D> = {
|
|
|
77
103
|
: P[K];
|
|
78
104
|
};
|
|
79
105
|
|
|
106
|
+
declare type __VLS_WithDefaults_3<P, D> = {
|
|
107
|
+
[K in keyof Pick<P, keyof P>]: K extends keyof D
|
|
108
|
+
? P[K] & {
|
|
109
|
+
default: D[K];
|
|
110
|
+
}
|
|
111
|
+
: P[K];
|
|
112
|
+
};
|
|
113
|
+
|
|
114
|
+
declare type __VLS_WithDefaults_4<P, D> = {
|
|
115
|
+
[K in keyof Pick<P, keyof P>]: K extends keyof D
|
|
116
|
+
? P[K] & {
|
|
117
|
+
default: D[K];
|
|
118
|
+
}
|
|
119
|
+
: P[K];
|
|
120
|
+
};
|
|
121
|
+
|
|
80
122
|
declare type __VLS_WithTemplateSlots<T, S> = T & {
|
|
81
123
|
new (): {
|
|
82
124
|
$slots: S;
|
|
@@ -221,6 +263,18 @@ declare type __VLS_WithTemplateSlots_30<T, S> = T & {
|
|
|
221
263
|
};
|
|
222
264
|
};
|
|
223
265
|
|
|
266
|
+
declare type __VLS_WithTemplateSlots_31<T, S> = T & {
|
|
267
|
+
new (): {
|
|
268
|
+
$slots: S;
|
|
269
|
+
};
|
|
270
|
+
};
|
|
271
|
+
|
|
272
|
+
declare type __VLS_WithTemplateSlots_32<T, S> = T & {
|
|
273
|
+
new (): {
|
|
274
|
+
$slots: S;
|
|
275
|
+
};
|
|
276
|
+
};
|
|
277
|
+
|
|
224
278
|
declare type __VLS_WithTemplateSlots_4<T, S> = T & {
|
|
225
279
|
new (): {
|
|
226
280
|
$slots: S;
|
|
@@ -589,98 +643,84 @@ export declare type BentoActionBarVariant = 'default' | 'confirmation';
|
|
|
589
643
|
* `
|
|
590
644
|
* }
|
|
591
645
|
*/
|
|
592
|
-
export declare const BentoAlert:
|
|
593
|
-
|
|
594
|
-
|
|
595
|
-
|
|
596
|
-
|
|
597
|
-
|
|
598
|
-
|
|
599
|
-
|
|
600
|
-
|
|
601
|
-
|
|
602
|
-
|
|
603
|
-
|
|
604
|
-
|
|
605
|
-
|
|
606
|
-
|
|
607
|
-
|
|
608
|
-
|
|
609
|
-
|
|
610
|
-
|
|
611
|
-
|
|
612
|
-
|
|
613
|
-
|
|
614
|
-
|
|
615
|
-
|
|
616
|
-
|
|
617
|
-
|
|
618
|
-
}
|
|
619
|
-
|
|
620
|
-
|
|
621
|
-
|
|
622
|
-
|
|
623
|
-
|
|
624
|
-
|
|
625
|
-
|
|
626
|
-
|
|
627
|
-
|
|
628
|
-
|
|
629
|
-
|
|
630
|
-
|
|
631
|
-
|
|
632
|
-
|
|
633
|
-
|
|
634
|
-
|
|
635
|
-
|
|
636
|
-
|
|
637
|
-
|
|
638
|
-
|
|
639
|
-
|
|
640
|
-
|
|
641
|
-
|
|
642
|
-
|
|
643
|
-
|
|
644
|
-
|
|
645
|
-
|
|
646
|
-
|
|
647
|
-
|
|
648
|
-
|
|
649
|
-
|
|
650
|
-
|
|
651
|
-
|
|
652
|
-
|
|
653
|
-
|
|
654
|
-
|
|
655
|
-
|
|
656
|
-
}
|
|
657
|
-
|
|
658
|
-
|
|
659
|
-
* @values HIGHLIGHT, SUCCESS, CRITICAL, WARNING
|
|
660
|
-
*/
|
|
661
|
-
type: {
|
|
662
|
-
type: PropType<'critical' | 'success' | 'warning' | 'highlight' | BentoAlertTypeOption>;
|
|
663
|
-
default: BentoAlertTypeOption;
|
|
664
|
-
validator: (value: BentoAlertTypeOption) => boolean;
|
|
665
|
-
};
|
|
666
|
-
/**
|
|
667
|
-
* Variant for the alert
|
|
668
|
-
* @values DEFAULT, TIP
|
|
669
|
-
*/
|
|
670
|
-
variant: {
|
|
671
|
-
type: PropType<'default' | 'tip' | BentoAlertVariant>;
|
|
672
|
-
default: BentoAlertVariant;
|
|
673
|
-
validator: (value: BentoAlertVariant) => boolean;
|
|
674
|
-
};
|
|
675
|
-
}>
|
|
646
|
+
export declare const BentoAlert: __VLS_WithTemplateSlots_3<
|
|
647
|
+
DefineComponent<
|
|
648
|
+
__VLS_WithDefaults<
|
|
649
|
+
__VLS_TypePropsToRuntimeProps<{
|
|
650
|
+
/**
|
|
651
|
+
* Adds a close button on the right side of the alert
|
|
652
|
+
*/
|
|
653
|
+
closeButton?: boolean;
|
|
654
|
+
/**
|
|
655
|
+
* Type of a alert; set a distinctive icon and color. Defaults to highlight.
|
|
656
|
+
* @values HIGHLIGHT, SUCCESS, CRITICAL, WARNING
|
|
657
|
+
*/
|
|
658
|
+
type?: BentoAlertTypeOption | `${BentoAlertTypeOption}`;
|
|
659
|
+
/**
|
|
660
|
+
* Variant for the alert
|
|
661
|
+
* @values DEFAULT, TIP
|
|
662
|
+
*/
|
|
663
|
+
variant?: BentoAlertVariant | `${BentoAlertVariant}`;
|
|
664
|
+
}>,
|
|
665
|
+
{
|
|
666
|
+
closeButton: boolean;
|
|
667
|
+
type: BentoAlertTypeOption;
|
|
668
|
+
variant: BentoAlertVariant;
|
|
669
|
+
}
|
|
670
|
+
>,
|
|
671
|
+
{},
|
|
672
|
+
{},
|
|
673
|
+
{},
|
|
674
|
+
{},
|
|
675
|
+
ComponentOptionsMixin,
|
|
676
|
+
ComponentOptionsMixin,
|
|
677
|
+
{
|
|
678
|
+
'close-alert': () => void;
|
|
679
|
+
},
|
|
680
|
+
string,
|
|
681
|
+
Readonly<
|
|
682
|
+
ExtractPropTypes<
|
|
683
|
+
__VLS_WithDefaults<
|
|
684
|
+
__VLS_TypePropsToRuntimeProps<{
|
|
685
|
+
/**
|
|
686
|
+
* Adds a close button on the right side of the alert
|
|
687
|
+
*/
|
|
688
|
+
closeButton?: boolean;
|
|
689
|
+
/**
|
|
690
|
+
* Type of a alert; set a distinctive icon and color. Defaults to highlight.
|
|
691
|
+
* @values HIGHLIGHT, SUCCESS, CRITICAL, WARNING
|
|
692
|
+
*/
|
|
693
|
+
type?: BentoAlertTypeOption | `${BentoAlertTypeOption}`;
|
|
694
|
+
/**
|
|
695
|
+
* Variant for the alert
|
|
696
|
+
* @values DEFAULT, TIP
|
|
697
|
+
*/
|
|
698
|
+
variant?: BentoAlertVariant | `${BentoAlertVariant}`;
|
|
699
|
+
}>,
|
|
700
|
+
{
|
|
701
|
+
closeButton: boolean;
|
|
702
|
+
type: BentoAlertTypeOption;
|
|
703
|
+
variant: BentoAlertVariant;
|
|
704
|
+
}
|
|
705
|
+
>
|
|
706
|
+
>
|
|
707
|
+
>,
|
|
708
|
+
{
|
|
709
|
+
type: BentoAlertTypeOption | `${BentoAlertTypeOption}`;
|
|
710
|
+
variant: BentoAlertVariant | `${BentoAlertVariant}`;
|
|
711
|
+
closeButton: boolean;
|
|
712
|
+
}
|
|
676
713
|
>,
|
|
677
714
|
{
|
|
678
|
-
|
|
679
|
-
|
|
680
|
-
|
|
715
|
+
default: (_: {}) => any;
|
|
716
|
+
description: (_: {}) => any;
|
|
717
|
+
actions: (_: {}) => any;
|
|
681
718
|
}
|
|
682
719
|
>;
|
|
683
720
|
|
|
721
|
+
/**
|
|
722
|
+
* @deprecated from version 2.0.0. Use "@close-alert" instead.
|
|
723
|
+
*/
|
|
684
724
|
export declare enum BentoAlertEvent {
|
|
685
725
|
CLOSE_ALERT = 'close-alert',
|
|
686
726
|
}
|
|
@@ -748,7 +788,7 @@ export declare type BentoBooleanFilterValue = string | null;
|
|
|
748
788
|
* `,
|
|
749
789
|
* }
|
|
750
790
|
*/
|
|
751
|
-
export declare const BentoButton:
|
|
791
|
+
export declare const BentoButton: __VLS_WithTemplateSlots_4<
|
|
752
792
|
DefineComponent<
|
|
753
793
|
{
|
|
754
794
|
/**
|
|
@@ -1162,371 +1202,180 @@ export declare enum BentoButtonVariant {
|
|
|
1162
1202
|
* `
|
|
1163
1203
|
* };
|
|
1164
1204
|
*/
|
|
1165
|
-
export declare const BentoCard:
|
|
1166
|
-
|
|
1167
|
-
|
|
1168
|
-
|
|
1169
|
-
|
|
1170
|
-
|
|
1171
|
-
|
|
1172
|
-
|
|
1173
|
-
|
|
1174
|
-
|
|
1175
|
-
|
|
1176
|
-
|
|
1177
|
-
|
|
1178
|
-
|
|
1179
|
-
|
|
1180
|
-
|
|
1181
|
-
|
|
1182
|
-
|
|
1183
|
-
|
|
1184
|
-
|
|
1185
|
-
|
|
1186
|
-
|
|
1187
|
-
|
|
1188
|
-
|
|
1189
|
-
|
|
1190
|
-
|
|
1191
|
-
|
|
1192
|
-
|
|
1193
|
-
|
|
1194
|
-
|
|
1195
|
-
|
|
1196
|
-
|
|
1197
|
-
|
|
1198
|
-
|
|
1199
|
-
|
|
1200
|
-
|
|
1201
|
-
|
|
1202
|
-
|
|
1203
|
-
|
|
1204
|
-
|
|
1205
|
-
|
|
1206
|
-
|
|
1207
|
-
|
|
1208
|
-
|
|
1209
|
-
|
|
1210
|
-
|
|
1211
|
-
|
|
1212
|
-
|
|
1213
|
-
|
|
1214
|
-
|
|
1215
|
-
|
|
1216
|
-
|
|
1217
|
-
|
|
1218
|
-
|
|
1219
|
-
|
|
1220
|
-
|
|
1221
|
-
|
|
1222
|
-
|
|
1223
|
-
|
|
1224
|
-
|
|
1225
|
-
|
|
1226
|
-
|
|
1227
|
-
|
|
1228
|
-
|
|
1229
|
-
|
|
1230
|
-
|
|
1231
|
-
|
|
1232
|
-
|
|
1233
|
-
|
|
1234
|
-
|
|
1235
|
-
|
|
1236
|
-
|
|
1237
|
-
|
|
1238
|
-
|
|
1239
|
-
|
|
1240
|
-
|
|
1241
|
-
|
|
1242
|
-
|
|
1243
|
-
|
|
1244
|
-
|
|
1245
|
-
|
|
1246
|
-
|
|
1247
|
-
|
|
1248
|
-
|
|
1249
|
-
|
|
1250
|
-
|
|
1251
|
-
|
|
1252
|
-
|
|
1253
|
-
|
|
1254
|
-
|
|
1255
|
-
|
|
1256
|
-
|
|
1257
|
-
|
|
1258
|
-
|
|
1259
|
-
|
|
1260
|
-
|
|
1261
|
-
|
|
1262
|
-
|
|
1263
|
-
|
|
1264
|
-
|
|
1265
|
-
|
|
1266
|
-
|
|
1267
|
-
|
|
1268
|
-
|
|
1269
|
-
|
|
1270
|
-
|
|
1271
|
-
|
|
1272
|
-
|
|
1273
|
-
|
|
1274
|
-
|
|
1275
|
-
|
|
1276
|
-
|
|
1277
|
-
|
|
1278
|
-
|
|
1279
|
-
|
|
1280
|
-
|
|
1281
|
-
|
|
1282
|
-
|
|
1283
|
-
|
|
1284
|
-
|
|
1285
|
-
|
|
1286
|
-
|
|
1287
|
-
|
|
1288
|
-
|
|
1289
|
-
|
|
1290
|
-
|
|
1291
|
-
|
|
1292
|
-
|
|
1293
|
-
|
|
1294
|
-
|
|
1295
|
-
|
|
1296
|
-
|
|
1297
|
-
|
|
1298
|
-
|
|
1299
|
-
|
|
1300
|
-
|
|
1301
|
-
|
|
1302
|
-
|
|
1303
|
-
|
|
1304
|
-
|
|
1305
|
-
|
|
1306
|
-
|
|
1307
|
-
|
|
1308
|
-
|
|
1309
|
-
|
|
1310
|
-
|
|
1311
|
-
|
|
1312
|
-
|
|
1313
|
-
|
|
1314
|
-
|
|
1315
|
-
|
|
1316
|
-
|
|
1317
|
-
|
|
1318
|
-
|
|
1319
|
-
|
|
1320
|
-
|
|
1321
|
-
type: PropType<boolean>;
|
|
1322
|
-
} & {
|
|
1323
|
-
default: boolean;
|
|
1324
|
-
};
|
|
1325
|
-
stronger: {
|
|
1326
|
-
type: PropType<boolean>;
|
|
1327
|
-
} & {
|
|
1328
|
-
default: boolean;
|
|
1329
|
-
};
|
|
1330
|
-
strongest: {
|
|
1331
|
-
type: PropType<boolean>;
|
|
1332
|
-
} & {
|
|
1333
|
-
default: boolean;
|
|
1334
|
-
};
|
|
1335
|
-
large: {
|
|
1336
|
-
type: PropType<boolean>;
|
|
1337
|
-
} & {
|
|
1338
|
-
default: boolean;
|
|
1339
|
-
};
|
|
1340
|
-
medium: {
|
|
1341
|
-
type: PropType<boolean>;
|
|
1342
|
-
} & {
|
|
1343
|
-
default: boolean;
|
|
1344
|
-
};
|
|
1345
|
-
variant: {
|
|
1346
|
-
type: PropType<'body' | 'caption' | 'title' | 'subtitle' | BentoTypographyVariant>;
|
|
1347
|
-
} & {
|
|
1348
|
-
default: BentoTypographyVariant;
|
|
1349
|
-
};
|
|
1350
|
-
}>
|
|
1351
|
-
>,
|
|
1352
|
-
DefaultKeys<{
|
|
1353
|
-
el: {
|
|
1354
|
-
type: PropType<
|
|
1355
|
-
| 'div'
|
|
1356
|
-
| 'h1'
|
|
1357
|
-
| 'h2'
|
|
1358
|
-
| 'h3'
|
|
1359
|
-
| 'h4'
|
|
1360
|
-
| 'h5'
|
|
1361
|
-
| 'h6'
|
|
1362
|
-
| 'p'
|
|
1363
|
-
| 'span'
|
|
1364
|
-
| BentoTypographyElement
|
|
1365
|
-
>;
|
|
1366
|
-
} & {
|
|
1367
|
-
default: BentoTypographyElement;
|
|
1368
|
-
};
|
|
1369
|
-
wide: {
|
|
1370
|
-
type: PropType<boolean>;
|
|
1371
|
-
} & {
|
|
1372
|
-
default: boolean;
|
|
1373
|
-
};
|
|
1374
|
-
stronger: {
|
|
1375
|
-
type: PropType<boolean>;
|
|
1376
|
-
} & {
|
|
1377
|
-
default: boolean;
|
|
1378
|
-
};
|
|
1379
|
-
strongest: {
|
|
1380
|
-
type: PropType<boolean>;
|
|
1381
|
-
} & {
|
|
1382
|
-
default: boolean;
|
|
1383
|
-
};
|
|
1384
|
-
large: {
|
|
1385
|
-
type: PropType<boolean>;
|
|
1386
|
-
} & {
|
|
1387
|
-
default: boolean;
|
|
1388
|
-
};
|
|
1389
|
-
medium: {
|
|
1390
|
-
type: PropType<boolean>;
|
|
1391
|
-
} & {
|
|
1392
|
-
default: boolean;
|
|
1393
|
-
};
|
|
1394
|
-
variant: {
|
|
1395
|
-
type: PropType<'body' | 'caption' | 'title' | 'subtitle' | BentoTypographyVariant>;
|
|
1396
|
-
} & {
|
|
1397
|
-
default: BentoTypographyVariant;
|
|
1398
|
-
};
|
|
1399
|
-
}>
|
|
1400
|
-
>
|
|
1205
|
+
export declare const BentoCard: __VLS_WithTemplateSlots_10<
|
|
1206
|
+
DefineComponent<
|
|
1207
|
+
__VLS_WithDefaults_2<
|
|
1208
|
+
__VLS_TypePropsToRuntimeProps_2<{
|
|
1209
|
+
/**
|
|
1210
|
+
* List of actions that will be used to render the buttons.
|
|
1211
|
+
* First element in the list will be rendered as "primary".
|
|
1212
|
+
* All elements after the first will be rendered as "secondary".
|
|
1213
|
+
*
|
|
1214
|
+
* Each object in the list should have a `title`, an `event` and
|
|
1215
|
+
* (optional) a Vue `icon` from the library `@adyen/ui-assets-icons-16`.
|
|
1216
|
+
*
|
|
1217
|
+
* `title`: Button's text.
|
|
1218
|
+
*
|
|
1219
|
+
* `event`: Event triggered when clicking the Button.
|
|
1220
|
+
*
|
|
1221
|
+
* `icon`: Vue Icon from the library `@adyen/ui-assets-icons-16`.
|
|
1222
|
+
*
|
|
1223
|
+
* ```
|
|
1224
|
+
* [{
|
|
1225
|
+
* title: 'Primary',
|
|
1226
|
+
* event: () => { ... },
|
|
1227
|
+
* icon: FourPeopleIcon
|
|
1228
|
+
* }, {
|
|
1229
|
+
* title: 'Secondary',
|
|
1230
|
+
* event: () => { ... }
|
|
1231
|
+
* }]
|
|
1232
|
+
* ```
|
|
1233
|
+
*/
|
|
1234
|
+
actions?: BentoButtonActionsList;
|
|
1235
|
+
/**
|
|
1236
|
+
* Defines the layout in which the button actions is presented.
|
|
1237
|
+
* It can be one of:
|
|
1238
|
+
*
|
|
1239
|
+
* @values BUTTONS_START
|
|
1240
|
+
* @values BUTTONS_END
|
|
1241
|
+
* @values FILL_CONTAINER
|
|
1242
|
+
* @values SPACE_BETWEEN
|
|
1243
|
+
* @values VERTICAL_STACK
|
|
1244
|
+
*/
|
|
1245
|
+
actionsLayout?: BentoButtonActionsLayout | `${BentoButtonActionsLayout}`;
|
|
1246
|
+
/**
|
|
1247
|
+
* Defines the color of card background
|
|
1248
|
+
*/
|
|
1249
|
+
background?: BentoCardBackground | `${BentoCardBackground}`;
|
|
1250
|
+
/**
|
|
1251
|
+
* Sets the expandable card in a closed state
|
|
1252
|
+
*/
|
|
1253
|
+
closed?: boolean;
|
|
1254
|
+
/**
|
|
1255
|
+
* Disables the expandable card
|
|
1256
|
+
*/
|
|
1257
|
+
disabled?: boolean;
|
|
1258
|
+
/**
|
|
1259
|
+
* The whole content of the card will be expandable in accordion manner
|
|
1260
|
+
*/
|
|
1261
|
+
expandable?: boolean;
|
|
1262
|
+
/**
|
|
1263
|
+
* Defines the title size of the card header
|
|
1264
|
+
*/
|
|
1265
|
+
titleSize?: BentoCardTitleSize | `${BentoCardTitleSize}`;
|
|
1266
|
+
}>,
|
|
1267
|
+
{
|
|
1268
|
+
actions: any;
|
|
1269
|
+
actionsLayout: BentoButtonActionsLayoutBasic;
|
|
1270
|
+
background: BentoCardBackground;
|
|
1271
|
+
closed: boolean;
|
|
1272
|
+
disabled: boolean;
|
|
1273
|
+
expandable: boolean;
|
|
1274
|
+
titleSize: BentoCardTitleSize;
|
|
1275
|
+
}
|
|
1276
|
+
>,
|
|
1277
|
+
{},
|
|
1278
|
+
{},
|
|
1279
|
+
{},
|
|
1280
|
+
{},
|
|
1281
|
+
ComponentOptionsMixin,
|
|
1282
|
+
ComponentOptionsMixin,
|
|
1283
|
+
{
|
|
1284
|
+
click: () => void;
|
|
1285
|
+
} & {
|
|
1286
|
+
expanded: (isExpanded: boolean) => void;
|
|
1287
|
+
},
|
|
1288
|
+
string,
|
|
1289
|
+
Readonly<
|
|
1290
|
+
ExtractPropTypes<
|
|
1291
|
+
__VLS_WithDefaults_2<
|
|
1292
|
+
__VLS_TypePropsToRuntimeProps_2<{
|
|
1293
|
+
/**
|
|
1294
|
+
* List of actions that will be used to render the buttons.
|
|
1295
|
+
* First element in the list will be rendered as "primary".
|
|
1296
|
+
* All elements after the first will be rendered as "secondary".
|
|
1297
|
+
*
|
|
1298
|
+
* Each object in the list should have a `title`, an `event` and
|
|
1299
|
+
* (optional) a Vue `icon` from the library `@adyen/ui-assets-icons-16`.
|
|
1300
|
+
*
|
|
1301
|
+
* `title`: Button's text.
|
|
1302
|
+
*
|
|
1303
|
+
* `event`: Event triggered when clicking the Button.
|
|
1304
|
+
*
|
|
1305
|
+
* `icon`: Vue Icon from the library `@adyen/ui-assets-icons-16`.
|
|
1306
|
+
*
|
|
1307
|
+
* ```
|
|
1308
|
+
* [{
|
|
1309
|
+
* title: 'Primary',
|
|
1310
|
+
* event: () => { ... },
|
|
1311
|
+
* icon: FourPeopleIcon
|
|
1312
|
+
* }, {
|
|
1313
|
+
* title: 'Secondary',
|
|
1314
|
+
* event: () => { ... }
|
|
1315
|
+
* }]
|
|
1316
|
+
* ```
|
|
1317
|
+
*/
|
|
1318
|
+
actions?: BentoButtonActionsList;
|
|
1319
|
+
/**
|
|
1320
|
+
* Defines the layout in which the button actions is presented.
|
|
1321
|
+
* It can be one of:
|
|
1322
|
+
*
|
|
1323
|
+
* @values BUTTONS_START
|
|
1324
|
+
* @values BUTTONS_END
|
|
1325
|
+
* @values FILL_CONTAINER
|
|
1326
|
+
* @values SPACE_BETWEEN
|
|
1327
|
+
* @values VERTICAL_STACK
|
|
1328
|
+
*/
|
|
1329
|
+
actionsLayout?: BentoButtonActionsLayout | `${BentoButtonActionsLayout}`;
|
|
1330
|
+
/**
|
|
1331
|
+
* Defines the color of card background
|
|
1332
|
+
*/
|
|
1333
|
+
background?: BentoCardBackground | `${BentoCardBackground}`;
|
|
1334
|
+
/**
|
|
1335
|
+
* Sets the expandable card in a closed state
|
|
1336
|
+
*/
|
|
1337
|
+
closed?: boolean;
|
|
1338
|
+
/**
|
|
1339
|
+
* Disables the expandable card
|
|
1340
|
+
*/
|
|
1341
|
+
disabled?: boolean;
|
|
1342
|
+
/**
|
|
1343
|
+
* The whole content of the card will be expandable in accordion manner
|
|
1344
|
+
*/
|
|
1345
|
+
expandable?: boolean;
|
|
1346
|
+
/**
|
|
1347
|
+
* Defines the title size of the card header
|
|
1348
|
+
*/
|
|
1349
|
+
titleSize?: BentoCardTitleSize | `${BentoCardTitleSize}`;
|
|
1350
|
+
}>,
|
|
1351
|
+
{
|
|
1352
|
+
actions: any;
|
|
1353
|
+
actionsLayout: BentoButtonActionsLayoutBasic;
|
|
1354
|
+
background: BentoCardBackground;
|
|
1355
|
+
closed: boolean;
|
|
1356
|
+
disabled: boolean;
|
|
1357
|
+
expandable: boolean;
|
|
1358
|
+
titleSize: BentoCardTitleSize;
|
|
1359
|
+
}
|
|
1360
|
+
>
|
|
1401
1361
|
>
|
|
1402
|
-
|
|
1403
|
-
|
|
1404
|
-
|
|
1405
|
-
|
|
1406
|
-
|
|
1407
|
-
|
|
1408
|
-
| {
|
|
1409
|
-
|
|
1410
|
-
|
|
1411
|
-
|
|
1412
|
-
hasSlot: (name: string) => boolean;
|
|
1413
|
-
onClick: () => void;
|
|
1414
|
-
t: (key: 'showCardContent' | 'hideCardContent', values?: default_2.Values) => string;
|
|
1415
|
-
toggleExpansion: () => void;
|
|
1416
|
-
},
|
|
1417
|
-
{},
|
|
1418
|
-
{},
|
|
1419
|
-
{},
|
|
1420
|
-
ComponentOptionsMixin,
|
|
1421
|
-
ComponentOptionsMixin,
|
|
1422
|
-
('click' | 'expanded')[],
|
|
1423
|
-
string,
|
|
1424
|
-
Readonly<
|
|
1425
|
-
ExtractPropTypes<{
|
|
1426
|
-
/**
|
|
1427
|
-
* Defines the color of card background
|
|
1428
|
-
*/
|
|
1429
|
-
background: {
|
|
1430
|
-
type: PropType<'primary' | 'secondary' | BentoCardBackground>;
|
|
1431
|
-
default: BentoCardBackground;
|
|
1432
|
-
validator: (value: BentoCardBackground) => boolean;
|
|
1433
|
-
};
|
|
1434
|
-
/**
|
|
1435
|
-
* Defines the title size of the card header
|
|
1436
|
-
*/
|
|
1437
|
-
titleSize: {
|
|
1438
|
-
type: PropType<'default' | 'small' | BentoCardTitleSize>;
|
|
1439
|
-
default: BentoCardTitleSize;
|
|
1440
|
-
validator: (value: BentoCardTitleSize) => boolean;
|
|
1441
|
-
};
|
|
1442
|
-
/**
|
|
1443
|
-
* The whole content of the card will be expandable in accordion manner
|
|
1444
|
-
*/
|
|
1445
|
-
expandable: {
|
|
1446
|
-
type: BooleanConstructor;
|
|
1447
|
-
default: boolean;
|
|
1448
|
-
};
|
|
1449
|
-
/**
|
|
1450
|
-
* Sets the expandable card in a closed state
|
|
1451
|
-
*/
|
|
1452
|
-
closed: {
|
|
1453
|
-
type: BooleanConstructor;
|
|
1454
|
-
default: boolean;
|
|
1455
|
-
};
|
|
1456
|
-
/**
|
|
1457
|
-
* Disables the expandable card
|
|
1458
|
-
*/
|
|
1459
|
-
disabled: {
|
|
1460
|
-
type: BooleanConstructor;
|
|
1461
|
-
default: boolean;
|
|
1462
|
-
};
|
|
1463
|
-
/**
|
|
1464
|
-
* List of actions that will be used to render the buttons.
|
|
1465
|
-
* First element in the list will be rendered as "primary".
|
|
1466
|
-
* All elements after the first will be rendered as "secondary".
|
|
1467
|
-
*
|
|
1468
|
-
* Each object in the list should have a `title`, an `event` and
|
|
1469
|
-
* (optional) a Vue `icon` from the library `@adyen/ui-assets-icons-16`.
|
|
1470
|
-
*
|
|
1471
|
-
* `title`: Button's text.
|
|
1472
|
-
*
|
|
1473
|
-
* `event`: Event triggered when clicking the Button.
|
|
1474
|
-
*
|
|
1475
|
-
* `icon`: Vue Icon from the library `@adyen/ui-assets-icons-16`.
|
|
1476
|
-
*
|
|
1477
|
-
* ```
|
|
1478
|
-
* [{
|
|
1479
|
-
* title: 'Primary',
|
|
1480
|
-
* event: () => { ... },
|
|
1481
|
-
* icon: FourPeopleIcon
|
|
1482
|
-
* }, {
|
|
1483
|
-
* title: 'Secondary',
|
|
1484
|
-
* event: () => { ... }
|
|
1485
|
-
* }]
|
|
1486
|
-
* ```
|
|
1487
|
-
*/
|
|
1488
|
-
actions: {
|
|
1489
|
-
type: PropType<BentoButtonActionsList>;
|
|
1490
|
-
default: any;
|
|
1491
|
-
};
|
|
1492
|
-
/**
|
|
1493
|
-
* Defines the layout in which the button actions is presented.
|
|
1494
|
-
* It can be one of:
|
|
1495
|
-
*
|
|
1496
|
-
* @values BUTTONS_START
|
|
1497
|
-
* @values BUTTONS_END
|
|
1498
|
-
* @values FILL_CONTAINER
|
|
1499
|
-
* @values SPACE_BETWEEN
|
|
1500
|
-
* @values VERTICAL_STACK
|
|
1501
|
-
*/
|
|
1502
|
-
actionsLayout: {
|
|
1503
|
-
type: PropType<
|
|
1504
|
-
| 'space-between'
|
|
1505
|
-
| BentoButtonActionsLayout
|
|
1506
|
-
| 'buttons-end'
|
|
1507
|
-
| 'fill-container'
|
|
1508
|
-
| 'vertical-stack'
|
|
1509
|
-
| 'buttons-start'
|
|
1510
|
-
>;
|
|
1511
|
-
default: BentoButtonActionsLayoutBasic;
|
|
1512
|
-
validator: (value: BentoButtonActionsLayout) => boolean;
|
|
1513
|
-
};
|
|
1514
|
-
}>
|
|
1362
|
+
>,
|
|
1363
|
+
{
|
|
1364
|
+
titleSize: BentoCardTitleSize | `${BentoCardTitleSize}`;
|
|
1365
|
+
disabled: boolean;
|
|
1366
|
+
background: BentoCardBackground | `${BentoCardBackground}`;
|
|
1367
|
+
actions: BentoButtonActionsList;
|
|
1368
|
+
actionsLayout: BentoButtonActionsLayout | `${BentoButtonActionsLayout}`;
|
|
1369
|
+
closed: boolean;
|
|
1370
|
+
expandable: boolean;
|
|
1371
|
+
}
|
|
1515
1372
|
>,
|
|
1516
1373
|
{
|
|
1517
|
-
|
|
1518
|
-
|
|
1519
|
-
|
|
1520
|
-
|
|
1521
|
-
|
|
1522
|
-
| 'space-between'
|
|
1523
|
-
| BentoButtonActionsLayout
|
|
1524
|
-
| 'buttons-end'
|
|
1525
|
-
| 'fill-container'
|
|
1526
|
-
| 'vertical-stack'
|
|
1527
|
-
| 'buttons-start';
|
|
1528
|
-
closed: boolean;
|
|
1529
|
-
expandable: boolean;
|
|
1374
|
+
image: (_: {}) => any;
|
|
1375
|
+
default: (_: {}) => any;
|
|
1376
|
+
header: (_: {}) => any;
|
|
1377
|
+
description: (_: {}) => any;
|
|
1378
|
+
content: (_: {}) => any;
|
|
1530
1379
|
}
|
|
1531
1380
|
>;
|
|
1532
1381
|
|
|
@@ -1880,9 +1729,9 @@ export declare const BentoCheckbox: DefineComponent<
|
|
|
1880
1729
|
disabled: boolean;
|
|
1881
1730
|
tag: any;
|
|
1882
1731
|
optional: boolean;
|
|
1883
|
-
readonly: boolean;
|
|
1884
1732
|
errorMessage: string;
|
|
1885
1733
|
ariaLabel: string;
|
|
1734
|
+
readonly: boolean;
|
|
1886
1735
|
hasError: boolean;
|
|
1887
1736
|
indeterminate: boolean;
|
|
1888
1737
|
modelValue: BentoCheckboxType | BentoCheckboxGroupItems;
|
|
@@ -2189,11 +2038,11 @@ export declare const BentoCheckboxGroup: DefineComponent<
|
|
|
2189
2038
|
variant: 'horizontal' | 'vertical' | BentoCheckboxGroupVariant;
|
|
2190
2039
|
required: boolean;
|
|
2191
2040
|
disabled: boolean;
|
|
2192
|
-
optional: boolean;
|
|
2193
|
-
readonly: boolean;
|
|
2194
2041
|
tooltipText: string;
|
|
2042
|
+
optional: boolean;
|
|
2195
2043
|
hideLabel: boolean;
|
|
2196
2044
|
errorMessage: string;
|
|
2045
|
+
readonly: boolean;
|
|
2197
2046
|
hasError: boolean;
|
|
2198
2047
|
modelValue: (string | number)[];
|
|
2199
2048
|
formId: string;
|
|
@@ -2521,13 +2370,23 @@ declare type BentoColumnCellAction = OmitStrict<
|
|
|
2521
2370
|
'variant' | 'event' | 'title' | 'icon' | 'state'
|
|
2522
2371
|
> & {
|
|
2523
2372
|
title?: string;
|
|
2524
|
-
event?:
|
|
2373
|
+
event?: BentoColumnCellActionEvent;
|
|
2525
2374
|
isShort?: true;
|
|
2526
2375
|
variant?: BentoColumnCellActionVariant;
|
|
2527
|
-
menuData?:
|
|
2376
|
+
menuData?: BentoColumnCellActionMenuItem[];
|
|
2528
2377
|
getCopyData?: (rowDataItem: BentoDatagridDataItem, columnKey: string) => string;
|
|
2529
2378
|
};
|
|
2530
2379
|
|
|
2380
|
+
declare type BentoColumnCellActionEvent = (rowDataItem: BentoDatagridDataItem, columnKey: string) => void;
|
|
2381
|
+
|
|
2382
|
+
declare type BentoColumnCellActionMenuItem = {
|
|
2383
|
+
/**
|
|
2384
|
+
* @deprecated This property will be removed in version 2.0, please use `event` instead.
|
|
2385
|
+
*/
|
|
2386
|
+
handler?: BentoMenuItem['handler'];
|
|
2387
|
+
event?: BentoColumnCellActionEvent;
|
|
2388
|
+
} & OmitStrict<BentoMenuItem, 'handler'>;
|
|
2389
|
+
|
|
2531
2390
|
declare type BentoColumnCellActions = BentoColumnCellAction[];
|
|
2532
2391
|
|
|
2533
2392
|
declare type BentoColumnCellActionVariant = 'copy' | 'edit' | 'open' | 'more';
|
|
@@ -4450,7 +4309,7 @@ export declare type BentoCurrencyListboxOptions = BentoCurrencyListboxOptionItem
|
|
|
4450
4309
|
* `
|
|
4451
4310
|
* }
|
|
4452
4311
|
*/
|
|
4453
|
-
export declare const BentoDataGrid:
|
|
4312
|
+
export declare const BentoDataGrid: __VLS_WithTemplateSlots_7<
|
|
4454
4313
|
DefineComponent<
|
|
4455
4314
|
{
|
|
4456
4315
|
/**
|
|
@@ -4549,8 +4408,15 @@ export declare const BentoDataGrid: __VLS_WithTemplateSlots_6<
|
|
|
4549
4408
|
description: {
|
|
4550
4409
|
type: StringConstructor;
|
|
4551
4410
|
default: any;
|
|
4552
|
-
}
|
|
4411
|
+
}
|
|
4412
|
+
/**
|
|
4413
|
+
* If resize is enabled
|
|
4414
|
+
*/;
|
|
4553
4415
|
headingEl: {
|
|
4416
|
+
/**
|
|
4417
|
+
* A customisable method to determine if a row is not selectable.
|
|
4418
|
+
* The default is that every row is selectable.
|
|
4419
|
+
*/
|
|
4554
4420
|
type: PropType<
|
|
4555
4421
|
'div' | 'h1' | 'h2' | 'h3' | 'h4' | 'h5' | 'h6' | 'p' | 'span'
|
|
4556
4422
|
>;
|
|
@@ -4598,8 +4464,15 @@ export declare const BentoDataGrid: __VLS_WithTemplateSlots_6<
|
|
|
4598
4464
|
description: {
|
|
4599
4465
|
type: StringConstructor;
|
|
4600
4466
|
default: any;
|
|
4601
|
-
}
|
|
4467
|
+
}
|
|
4468
|
+
/**
|
|
4469
|
+
* If resize is enabled
|
|
4470
|
+
*/;
|
|
4602
4471
|
headingEl: {
|
|
4472
|
+
/**
|
|
4473
|
+
* A customisable method to determine if a row is not selectable.
|
|
4474
|
+
* The default is that every row is selectable.
|
|
4475
|
+
*/
|
|
4603
4476
|
type: PropType<'div' | 'h1' | 'h2' | 'h3' | 'h4' | 'h5' | 'h6' | 'p' | 'span'>;
|
|
4604
4477
|
default: any;
|
|
4605
4478
|
validator: (value: BentoTypographyElement) => boolean;
|
|
@@ -4742,29 +4615,6 @@ export declare const BentoDataGrid: __VLS_WithTemplateSlots_6<
|
|
|
4742
4615
|
};
|
|
4743
4616
|
hasNext: {
|
|
4744
4617
|
type: BooleanConstructor;
|
|
4745
|
-
/**
|
|
4746
|
-
* A component to display data in columns and row format with a whole array of configuration for visualization and interaction.
|
|
4747
|
-
*
|
|
4748
|
-
* @example
|
|
4749
|
-
* import { BentoDataGrid } from '@adyen/bento-vue2';
|
|
4750
|
-
*
|
|
4751
|
-
* export default {
|
|
4752
|
-
* components: { BentoDataGrid },
|
|
4753
|
-
* template: `
|
|
4754
|
-
* <bento-data-grid
|
|
4755
|
-
* :data="[
|
|
4756
|
-
* { id: '123', name: 'John', company: 'TestCompany', 'payment': 200 }
|
|
4757
|
-
* { id: '321', name: 'Jane', company: 'Adyen', 'payment': 300 }
|
|
4758
|
-
* ]"
|
|
4759
|
-
* :columns="[
|
|
4760
|
-
* { field: 'name', label: 'Name', minWidth: 300, mandatory: true },
|
|
4761
|
-
* { field: 'company', label: 'Reference' },
|
|
4762
|
-
* { field: 'payment', label: 'Payment', width: 200, minWidth: 150 },
|
|
4763
|
-
* ]"
|
|
4764
|
-
* />
|
|
4765
|
-
* `
|
|
4766
|
-
* }
|
|
4767
|
-
*/
|
|
4768
4618
|
default: any;
|
|
4769
4619
|
};
|
|
4770
4620
|
hidePageSize: {
|
|
@@ -4798,29 +4648,6 @@ export declare const BentoDataGrid: __VLS_WithTemplateSlots_6<
|
|
|
4798
4648
|
};
|
|
4799
4649
|
hasNext: {
|
|
4800
4650
|
type: BooleanConstructor;
|
|
4801
|
-
/**
|
|
4802
|
-
* A component to display data in columns and row format with a whole array of configuration for visualization and interaction.
|
|
4803
|
-
*
|
|
4804
|
-
* @example
|
|
4805
|
-
* import { BentoDataGrid } from '@adyen/bento-vue2';
|
|
4806
|
-
*
|
|
4807
|
-
* export default {
|
|
4808
|
-
* components: { BentoDataGrid },
|
|
4809
|
-
* template: `
|
|
4810
|
-
* <bento-data-grid
|
|
4811
|
-
* :data="[
|
|
4812
|
-
* { id: '123', name: 'John', company: 'TestCompany', 'payment': 200 }
|
|
4813
|
-
* { id: '321', name: 'Jane', company: 'Adyen', 'payment': 300 }
|
|
4814
|
-
* ]"
|
|
4815
|
-
* :columns="[
|
|
4816
|
-
* { field: 'name', label: 'Name', minWidth: 300, mandatory: true },
|
|
4817
|
-
* { field: 'company', label: 'Reference' },
|
|
4818
|
-
* { field: 'payment', label: 'Payment', width: 200, minWidth: 150 },
|
|
4819
|
-
* ]"
|
|
4820
|
-
* />
|
|
4821
|
-
* `
|
|
4822
|
-
* }
|
|
4823
|
-
*/
|
|
4824
4651
|
default: any;
|
|
4825
4652
|
};
|
|
4826
4653
|
hidePageSize: {
|
|
@@ -5026,8 +4853,15 @@ export declare const BentoDataGrid: __VLS_WithTemplateSlots_6<
|
|
|
5026
4853
|
description: {
|
|
5027
4854
|
type: StringConstructor;
|
|
5028
4855
|
default: any;
|
|
5029
|
-
}
|
|
4856
|
+
}
|
|
4857
|
+
/**
|
|
4858
|
+
* If resize is enabled
|
|
4859
|
+
*/;
|
|
5030
4860
|
headingEl: {
|
|
4861
|
+
/**
|
|
4862
|
+
* A customisable method to determine if a row is not selectable.
|
|
4863
|
+
* The default is that every row is selectable.
|
|
4864
|
+
*/
|
|
5031
4865
|
type: PropType<
|
|
5032
4866
|
'div' | 'h1' | 'h2' | 'h3' | 'h4' | 'h5' | 'h6' | 'p' | 'span'
|
|
5033
4867
|
>;
|
|
@@ -5075,8 +4909,15 @@ export declare const BentoDataGrid: __VLS_WithTemplateSlots_6<
|
|
|
5075
4909
|
description: {
|
|
5076
4910
|
type: StringConstructor;
|
|
5077
4911
|
default: any;
|
|
5078
|
-
}
|
|
4912
|
+
}
|
|
4913
|
+
/**
|
|
4914
|
+
* If resize is enabled
|
|
4915
|
+
*/;
|
|
5079
4916
|
headingEl: {
|
|
4917
|
+
/**
|
|
4918
|
+
* A customisable method to determine if a row is not selectable.
|
|
4919
|
+
* The default is that every row is selectable.
|
|
4920
|
+
*/
|
|
5080
4921
|
type: PropType<
|
|
5081
4922
|
'div' | 'h1' | 'h2' | 'h3' | 'h4' | 'h5' | 'h6' | 'p' | 'span'
|
|
5082
4923
|
>;
|
|
@@ -5221,29 +5062,6 @@ export declare const BentoDataGrid: __VLS_WithTemplateSlots_6<
|
|
|
5221
5062
|
};
|
|
5222
5063
|
hasNext: {
|
|
5223
5064
|
type: BooleanConstructor;
|
|
5224
|
-
/**
|
|
5225
|
-
* A component to display data in columns and row format with a whole array of configuration for visualization and interaction.
|
|
5226
|
-
*
|
|
5227
|
-
* @example
|
|
5228
|
-
* import { BentoDataGrid } from '@adyen/bento-vue2';
|
|
5229
|
-
*
|
|
5230
|
-
* export default {
|
|
5231
|
-
* components: { BentoDataGrid },
|
|
5232
|
-
* template: `
|
|
5233
|
-
* <bento-data-grid
|
|
5234
|
-
* :data="[
|
|
5235
|
-
* { id: '123', name: 'John', company: 'TestCompany', 'payment': 200 }
|
|
5236
|
-
* { id: '321', name: 'Jane', company: 'Adyen', 'payment': 300 }
|
|
5237
|
-
* ]"
|
|
5238
|
-
* :columns="[
|
|
5239
|
-
* { field: 'name', label: 'Name', minWidth: 300, mandatory: true },
|
|
5240
|
-
* { field: 'company', label: 'Reference' },
|
|
5241
|
-
* { field: 'payment', label: 'Payment', width: 200, minWidth: 150 },
|
|
5242
|
-
* ]"
|
|
5243
|
-
* />
|
|
5244
|
-
* `
|
|
5245
|
-
* }
|
|
5246
|
-
*/
|
|
5247
5065
|
default: any;
|
|
5248
5066
|
};
|
|
5249
5067
|
hidePageSize: {
|
|
@@ -5277,29 +5095,6 @@ export declare const BentoDataGrid: __VLS_WithTemplateSlots_6<
|
|
|
5277
5095
|
};
|
|
5278
5096
|
hasNext: {
|
|
5279
5097
|
type: BooleanConstructor;
|
|
5280
|
-
/**
|
|
5281
|
-
* A component to display data in columns and row format with a whole array of configuration for visualization and interaction.
|
|
5282
|
-
*
|
|
5283
|
-
* @example
|
|
5284
|
-
* import { BentoDataGrid } from '@adyen/bento-vue2';
|
|
5285
|
-
*
|
|
5286
|
-
* export default {
|
|
5287
|
-
* components: { BentoDataGrid },
|
|
5288
|
-
* template: `
|
|
5289
|
-
* <bento-data-grid
|
|
5290
|
-
* :data="[
|
|
5291
|
-
* { id: '123', name: 'John', company: 'TestCompany', 'payment': 200 }
|
|
5292
|
-
* { id: '321', name: 'Jane', company: 'Adyen', 'payment': 300 }
|
|
5293
|
-
* ]"
|
|
5294
|
-
* :columns="[
|
|
5295
|
-
* { field: 'name', label: 'Name', minWidth: 300, mandatory: true },
|
|
5296
|
-
* { field: 'company', label: 'Reference' },
|
|
5297
|
-
* { field: 'payment', label: 'Payment', width: 200, minWidth: 150 },
|
|
5298
|
-
* ]"
|
|
5299
|
-
* />
|
|
5300
|
-
* `
|
|
5301
|
-
* }
|
|
5302
|
-
*/
|
|
5303
5098
|
default: any;
|
|
5304
5099
|
};
|
|
5305
5100
|
hidePageSize: {
|
|
@@ -5403,8 +5198,8 @@ export declare const BentoDataGrid: __VLS_WithTemplateSlots_6<
|
|
|
5403
5198
|
condensed: boolean;
|
|
5404
5199
|
outline: boolean;
|
|
5405
5200
|
loading: boolean;
|
|
5406
|
-
emptyState: any;
|
|
5407
5201
|
lazyLoadType: BentoLazyLoadType;
|
|
5202
|
+
emptyState: any;
|
|
5408
5203
|
fitContent: boolean;
|
|
5409
5204
|
hasResizableColumns: boolean;
|
|
5410
5205
|
selectableAcrossPages: boolean;
|
|
@@ -5527,7 +5322,7 @@ export declare enum BentoDatagridStyleState {
|
|
|
5527
5322
|
* `
|
|
5528
5323
|
* }
|
|
5529
5324
|
*/
|
|
5530
|
-
export declare const BentoDataGridTemplate:
|
|
5325
|
+
export declare const BentoDataGridTemplate: __VLS_WithTemplateSlots_32<
|
|
5531
5326
|
DefineComponent<
|
|
5532
5327
|
{
|
|
5533
5328
|
/**
|
|
@@ -6292,14 +6087,14 @@ export declare const BentoDatePicker: DefineComponent<
|
|
|
6292
6087
|
label: string;
|
|
6293
6088
|
required: boolean;
|
|
6294
6089
|
disabled: boolean;
|
|
6295
|
-
optional: boolean;
|
|
6296
|
-
readonly: boolean;
|
|
6297
6090
|
isDateDisabled: CalendarMonthIsDateDisabled;
|
|
6298
6091
|
firstDayOfWeek: CalendarMonthFirstDayOfWeek;
|
|
6299
6092
|
min: Date;
|
|
6300
6093
|
max: Date;
|
|
6301
6094
|
tooltipText: string;
|
|
6095
|
+
optional: boolean;
|
|
6302
6096
|
errorMessage: string;
|
|
6097
|
+
readonly: boolean;
|
|
6303
6098
|
}
|
|
6304
6099
|
>;
|
|
6305
6100
|
|
|
@@ -6676,8 +6471,6 @@ export declare const BentoDateRangePicker: DefineComponent<
|
|
|
6676
6471
|
label: string;
|
|
6677
6472
|
required: boolean;
|
|
6678
6473
|
disabled: boolean;
|
|
6679
|
-
optional: boolean;
|
|
6680
|
-
readonly: boolean;
|
|
6681
6474
|
isDateDisabled: CalendarMonthIsDateDisabled;
|
|
6682
6475
|
firstDayOfWeek: CalendarMonthFirstDayOfWeek;
|
|
6683
6476
|
min: Date;
|
|
@@ -6685,7 +6478,9 @@ export declare const BentoDateRangePicker: DefineComponent<
|
|
|
6685
6478
|
maxRange: number;
|
|
6686
6479
|
numberOfMonths: number;
|
|
6687
6480
|
tooltipText: string;
|
|
6481
|
+
optional: boolean;
|
|
6688
6482
|
errorMessage: string;
|
|
6483
|
+
readonly: boolean;
|
|
6689
6484
|
allowTimeInput: boolean;
|
|
6690
6485
|
granularities: BentoDateRangePickerGranularityConfig<CalendarGranularityType>[];
|
|
6691
6486
|
quickSelectRanges: DateRangePickerCalendarRangeSelectorItems;
|
|
@@ -6766,7 +6561,7 @@ export declare const BentoDivider: DefineComponent<
|
|
|
6766
6561
|
* }
|
|
6767
6562
|
* }
|
|
6768
6563
|
*/
|
|
6769
|
-
export declare const BentoDropdown:
|
|
6564
|
+
export declare const BentoDropdown: __VLS_WithTemplateSlots_9<
|
|
6770
6565
|
DefineComponent<
|
|
6771
6566
|
{
|
|
6772
6567
|
/**
|
|
@@ -7197,20 +6992,20 @@ export declare const BentoDropdown: __VLS_WithTemplateSlots_8<
|
|
|
7197
6992
|
required: boolean;
|
|
7198
6993
|
condensed: boolean;
|
|
7199
6994
|
disabled: boolean;
|
|
7200
|
-
optional: boolean;
|
|
7201
|
-
readonly: boolean;
|
|
7202
6995
|
size: 'DropdownInputDefault' | 'DropdownInputSmall' | BentoDropdownSize;
|
|
7203
6996
|
multiple: boolean;
|
|
7204
6997
|
loading: boolean;
|
|
7205
6998
|
tooltipText: string;
|
|
6999
|
+
optional: boolean;
|
|
7206
7000
|
errorMessage: string;
|
|
7207
7001
|
items: BentoListboxOptions;
|
|
7208
7002
|
isOptionDisabled: (optionValue: BentoListboxOptionItem) => boolean;
|
|
7209
7003
|
staticCategories: boolean;
|
|
7210
7004
|
ariaLabel: string;
|
|
7211
|
-
|
|
7005
|
+
readonly: boolean;
|
|
7212
7006
|
hasMoreItems: boolean;
|
|
7213
7007
|
lazyLoadType: 'button' | 'none' | 'automatic' | BentoListboxLazyLoadType;
|
|
7008
|
+
emptyState: BentoListboxEmptyStateProps;
|
|
7214
7009
|
virtualScroll: BentoListboxVirtulisationOptions;
|
|
7215
7010
|
dynamicFiltering: boolean;
|
|
7216
7011
|
showSlotContentInMultiple: boolean;
|
|
@@ -7503,20 +7298,20 @@ export declare const BentoDropdownAvatar: DefineComponent<
|
|
|
7503
7298
|
required: boolean;
|
|
7504
7299
|
condensed: boolean;
|
|
7505
7300
|
disabled: boolean;
|
|
7506
|
-
optional: boolean;
|
|
7507
|
-
readonly: boolean;
|
|
7508
7301
|
size: 'DropdownInputDefault' | 'DropdownInputSmall' | BentoDropdownSize;
|
|
7509
7302
|
multiple: boolean;
|
|
7510
7303
|
loading: boolean;
|
|
7511
7304
|
tooltipText: string;
|
|
7305
|
+
optional: boolean;
|
|
7512
7306
|
errorMessage: string;
|
|
7513
7307
|
items: BentoAvatarListboxOptions;
|
|
7514
7308
|
isOptionDisabled: (optionValue: BentoListboxOptionItem) => boolean;
|
|
7515
7309
|
staticCategories: boolean;
|
|
7516
7310
|
ariaLabel: string;
|
|
7517
|
-
|
|
7311
|
+
readonly: boolean;
|
|
7518
7312
|
hasMoreItems: boolean;
|
|
7519
7313
|
lazyLoadType: 'button' | 'none' | 'automatic' | BentoListboxLazyLoadType;
|
|
7314
|
+
emptyState: BentoListboxEmptyStateProps;
|
|
7520
7315
|
virtualScroll: BentoListboxVirtulisationOptions;
|
|
7521
7316
|
dynamicFiltering: boolean;
|
|
7522
7317
|
showSlotContentInMultiple: boolean;
|
|
@@ -7821,20 +7616,20 @@ export declare const BentoDropdownCountry: DefineComponent<
|
|
|
7821
7616
|
required: boolean;
|
|
7822
7617
|
condensed: boolean;
|
|
7823
7618
|
disabled: boolean;
|
|
7824
|
-
optional: boolean;
|
|
7825
|
-
readonly: boolean;
|
|
7826
7619
|
size: 'DropdownInputDefault' | 'DropdownInputSmall' | BentoDropdownSize;
|
|
7827
7620
|
multiple: boolean;
|
|
7828
7621
|
loading: boolean;
|
|
7829
7622
|
tooltipText: string;
|
|
7623
|
+
optional: boolean;
|
|
7830
7624
|
errorMessage: string;
|
|
7831
7625
|
items: BentoCountryListboxOptions;
|
|
7832
7626
|
isOptionDisabled: (optionValue: BentoListboxOptionItem) => boolean;
|
|
7833
7627
|
staticCategories: boolean;
|
|
7834
7628
|
ariaLabel: string;
|
|
7835
|
-
|
|
7629
|
+
readonly: boolean;
|
|
7836
7630
|
hasMoreItems: boolean;
|
|
7837
7631
|
lazyLoadType: 'button' | 'none' | 'automatic' | BentoListboxLazyLoadType;
|
|
7632
|
+
emptyState: BentoListboxEmptyStateProps;
|
|
7838
7633
|
virtualScroll: BentoListboxVirtulisationOptions;
|
|
7839
7634
|
dynamicFiltering: boolean;
|
|
7840
7635
|
showSlotContentInMultiple: boolean;
|
|
@@ -8120,20 +7915,20 @@ export declare const BentoDropdownCurrency: DefineComponent<
|
|
|
8120
7915
|
required: boolean;
|
|
8121
7916
|
condensed: boolean;
|
|
8122
7917
|
disabled: boolean;
|
|
8123
|
-
optional: boolean;
|
|
8124
|
-
readonly: boolean;
|
|
8125
7918
|
size: 'DropdownInputDefault' | 'DropdownInputSmall' | BentoDropdownSize;
|
|
8126
7919
|
multiple: boolean;
|
|
8127
7920
|
loading: boolean;
|
|
8128
7921
|
tooltipText: string;
|
|
7922
|
+
optional: boolean;
|
|
8129
7923
|
errorMessage: string;
|
|
8130
7924
|
items: BentoCurrencyListboxOptions;
|
|
8131
7925
|
isOptionDisabled: (optionValue: BentoListboxOptionItem) => boolean;
|
|
8132
7926
|
staticCategories: boolean;
|
|
8133
7927
|
ariaLabel: string;
|
|
8134
|
-
|
|
7928
|
+
readonly: boolean;
|
|
8135
7929
|
hasMoreItems: boolean;
|
|
8136
7930
|
lazyLoadType: 'button' | 'none' | 'automatic' | BentoListboxLazyLoadType;
|
|
7931
|
+
emptyState: BentoListboxEmptyStateProps;
|
|
8137
7932
|
virtualScroll: BentoListboxVirtulisationOptions;
|
|
8138
7933
|
dynamicFiltering: boolean;
|
|
8139
7934
|
showSlotContentInMultiple: boolean;
|
|
@@ -8419,20 +8214,20 @@ export declare const BentoDropdownPaymentMethod: DefineComponent<
|
|
|
8419
8214
|
required: boolean;
|
|
8420
8215
|
condensed: boolean;
|
|
8421
8216
|
disabled: boolean;
|
|
8422
|
-
optional: boolean;
|
|
8423
|
-
readonly: boolean;
|
|
8424
8217
|
size: 'DropdownInputDefault' | 'DropdownInputSmall' | BentoDropdownSize;
|
|
8425
8218
|
multiple: boolean;
|
|
8426
8219
|
loading: boolean;
|
|
8427
8220
|
tooltipText: string;
|
|
8221
|
+
optional: boolean;
|
|
8428
8222
|
errorMessage: string;
|
|
8429
8223
|
items: BentoPaymentMethodListboxOptions;
|
|
8430
8224
|
isOptionDisabled: (optionValue: BentoListboxOptionItem) => boolean;
|
|
8431
8225
|
staticCategories: boolean;
|
|
8432
8226
|
ariaLabel: string;
|
|
8433
|
-
|
|
8227
|
+
readonly: boolean;
|
|
8434
8228
|
hasMoreItems: boolean;
|
|
8435
8229
|
lazyLoadType: 'button' | 'none' | 'automatic' | BentoListboxLazyLoadType;
|
|
8230
|
+
emptyState: BentoListboxEmptyStateProps;
|
|
8436
8231
|
virtualScroll: BentoListboxVirtulisationOptions;
|
|
8437
8232
|
dynamicFiltering: boolean;
|
|
8438
8233
|
showSlotContentInMultiple: boolean;
|
|
@@ -8726,20 +8521,20 @@ export declare const BentoDropdownTag: DefineComponent<
|
|
|
8726
8521
|
required: boolean;
|
|
8727
8522
|
condensed: boolean;
|
|
8728
8523
|
disabled: boolean;
|
|
8729
|
-
optional: boolean;
|
|
8730
|
-
readonly: boolean;
|
|
8731
8524
|
size: 'DropdownInputDefault' | 'DropdownInputSmall' | BentoDropdownSize;
|
|
8732
8525
|
multiple: boolean;
|
|
8733
8526
|
loading: boolean;
|
|
8734
8527
|
tooltipText: string;
|
|
8528
|
+
optional: boolean;
|
|
8735
8529
|
errorMessage: string;
|
|
8736
8530
|
items: BentoTagListboxOptions;
|
|
8737
8531
|
isOptionDisabled: (optionValue: BentoListboxOptionItem) => boolean;
|
|
8738
8532
|
staticCategories: boolean;
|
|
8739
8533
|
ariaLabel: string;
|
|
8740
|
-
|
|
8534
|
+
readonly: boolean;
|
|
8741
8535
|
hasMoreItems: boolean;
|
|
8742
8536
|
lazyLoadType: 'button' | 'none' | 'automatic' | BentoListboxLazyLoadType;
|
|
8537
|
+
emptyState: BentoListboxEmptyStateProps;
|
|
8743
8538
|
virtualScroll: BentoListboxVirtulisationOptions;
|
|
8744
8539
|
dynamicFiltering: boolean;
|
|
8745
8540
|
showSlotContentInMultiple: boolean;
|
|
@@ -8771,7 +8566,7 @@ export declare const BentoDropdownTag: DefineComponent<
|
|
|
8771
8566
|
* `
|
|
8772
8567
|
* }
|
|
8773
8568
|
*/
|
|
8774
|
-
export declare const BentoEmptyState:
|
|
8569
|
+
export declare const BentoEmptyState: __VLS_WithTemplateSlots_8<
|
|
8775
8570
|
DefineComponent<
|
|
8776
8571
|
{
|
|
8777
8572
|
/**
|
|
@@ -9289,7 +9084,7 @@ export declare type BentoFilterValues = Array<BentoFilterValue>;
|
|
|
9289
9084
|
* `
|
|
9290
9085
|
* }
|
|
9291
9086
|
*/
|
|
9292
|
-
export declare const BentoFormLayout:
|
|
9087
|
+
export declare const BentoFormLayout: __VLS_WithTemplateSlots_11<
|
|
9293
9088
|
DefineComponent<
|
|
9294
9089
|
{
|
|
9295
9090
|
/**
|
|
@@ -9370,7 +9165,7 @@ export declare const BentoFormLayout: __VLS_WithTemplateSlots_9<
|
|
|
9370
9165
|
* </bento-form-layout-field-tip>
|
|
9371
9166
|
* `
|
|
9372
9167
|
*/
|
|
9373
|
-
export declare const BentoFormLayoutFieldTip:
|
|
9168
|
+
export declare const BentoFormLayoutFieldTip: __VLS_WithTemplateSlots_12<
|
|
9374
9169
|
DefineComponent<
|
|
9375
9170
|
{
|
|
9376
9171
|
/**
|
|
@@ -9436,7 +9231,7 @@ declare type BentoFormLayoutFieldTipTypeOption = `${BentoAlertTypeOption}`;
|
|
|
9436
9231
|
* `
|
|
9437
9232
|
* }
|
|
9438
9233
|
*/
|
|
9439
|
-
export declare const BentoFormLayoutGroup:
|
|
9234
|
+
export declare const BentoFormLayoutGroup: __VLS_WithTemplateSlots_14<
|
|
9440
9235
|
DefineComponent<
|
|
9441
9236
|
{
|
|
9442
9237
|
/**
|
|
@@ -9539,7 +9334,7 @@ export declare const BentoFormLayoutGroup: __VLS_WithTemplateSlots_12<
|
|
|
9539
9334
|
* `
|
|
9540
9335
|
* }
|
|
9541
9336
|
*/
|
|
9542
|
-
export declare const BentoFormLayoutTitle:
|
|
9337
|
+
export declare const BentoFormLayoutTitle: __VLS_WithTemplateSlots_13<
|
|
9543
9338
|
DefineComponent<
|
|
9544
9339
|
{
|
|
9545
9340
|
/**
|
|
@@ -10069,7 +9864,7 @@ export declare type BentoInputDropdownProps = {
|
|
|
10069
9864
|
* >
|
|
10070
9865
|
* }
|
|
10071
9866
|
*/
|
|
10072
|
-
export declare const BentoInputField:
|
|
9867
|
+
export declare const BentoInputField: __VLS_WithTemplateSlots_15<
|
|
10073
9868
|
DefineComponent<
|
|
10074
9869
|
{
|
|
10075
9870
|
/**
|
|
@@ -10192,11 +9987,13 @@ export declare const BentoInputField: __VLS_WithTemplateSlots_13<
|
|
|
10192
9987
|
};
|
|
10193
9988
|
/**
|
|
10194
9989
|
* A string specifying the type of control to render.
|
|
9990
|
+
* All `input` types are available but only `search`, `text` and `number` are fully supported.
|
|
9991
|
+
*
|
|
9992
|
+
* If `type` is `search`, use `bento-search-bar` instead.
|
|
10195
9993
|
*/
|
|
10196
9994
|
type: {
|
|
10197
|
-
type: PropType<
|
|
9995
|
+
type: PropType<string>;
|
|
10198
9996
|
default: BentoInputFieldType;
|
|
10199
|
-
validator: (value: BentoInputFieldType) => boolean;
|
|
10200
9997
|
};
|
|
10201
9998
|
/**
|
|
10202
9999
|
* Text displayed as the value of the input-field
|
|
@@ -10362,11 +10159,13 @@ export declare const BentoInputField: __VLS_WithTemplateSlots_13<
|
|
|
10362
10159
|
};
|
|
10363
10160
|
/**
|
|
10364
10161
|
* A string specifying the type of control to render.
|
|
10162
|
+
* All `input` types are available but only `search`, `text` and `number` are fully supported.
|
|
10163
|
+
*
|
|
10164
|
+
* If `type` is `search`, use `bento-search-bar` instead.
|
|
10365
10165
|
*/
|
|
10366
10166
|
type: {
|
|
10367
|
-
type: PropType<
|
|
10167
|
+
type: PropType<string>;
|
|
10368
10168
|
default: BentoInputFieldType;
|
|
10369
|
-
validator: (value: BentoInputFieldType) => boolean;
|
|
10370
10169
|
};
|
|
10371
10170
|
/**
|
|
10372
10171
|
* Text displayed as the value of the input-field
|
|
@@ -10388,16 +10187,16 @@ export declare const BentoInputField: __VLS_WithTemplateSlots_13<
|
|
|
10388
10187
|
{
|
|
10389
10188
|
error: boolean;
|
|
10390
10189
|
value: BentoInputFieldValue;
|
|
10391
|
-
type:
|
|
10190
|
+
type: string;
|
|
10392
10191
|
variant: 'default' | 'payment-method' | 'static-value' | 'dropdown' | BentoInputFieldVariant;
|
|
10393
10192
|
required: boolean;
|
|
10394
10193
|
condensed: boolean;
|
|
10395
10194
|
disabled: boolean;
|
|
10396
|
-
optional: boolean;
|
|
10397
|
-
readonly: boolean;
|
|
10398
10195
|
tooltipText: string;
|
|
10196
|
+
optional: boolean;
|
|
10399
10197
|
errorMessage: string;
|
|
10400
10198
|
ariaLabel: string;
|
|
10199
|
+
readonly: boolean;
|
|
10401
10200
|
placeholder: string;
|
|
10402
10201
|
dropdown: BentoInputDropdownProps;
|
|
10403
10202
|
ariaHidden: boolean;
|
|
@@ -10537,10 +10336,10 @@ export declare type BentoLazyLoadType = 'automatic' | 'button' | 'none';
|
|
|
10537
10336
|
* `
|
|
10538
10337
|
* }
|
|
10539
10338
|
*/
|
|
10540
|
-
export declare const BentoLink:
|
|
10339
|
+
export declare const BentoLink: __VLS_WithTemplateSlots_16<
|
|
10541
10340
|
DefineComponent<
|
|
10542
|
-
|
|
10543
|
-
|
|
10341
|
+
__VLS_WithDefaults_3<
|
|
10342
|
+
__VLS_TypePropsToRuntimeProps_3<LinkProps>,
|
|
10544
10343
|
{
|
|
10545
10344
|
target: any;
|
|
10546
10345
|
variant: BentoLinkVariant;
|
|
@@ -10558,8 +10357,8 @@ export declare const BentoLink: __VLS_WithTemplateSlots_14<
|
|
|
10558
10357
|
string,
|
|
10559
10358
|
Readonly<
|
|
10560
10359
|
ExtractPropTypes<
|
|
10561
|
-
|
|
10562
|
-
|
|
10360
|
+
__VLS_WithDefaults_3<
|
|
10361
|
+
__VLS_TypePropsToRuntimeProps_3<LinkProps>,
|
|
10563
10362
|
{
|
|
10564
10363
|
target: any;
|
|
10565
10364
|
variant: BentoLinkVariant;
|
|
@@ -10670,7 +10469,7 @@ export { BentoListboxVirtulisationOptions };
|
|
|
10670
10469
|
* `
|
|
10671
10470
|
* }
|
|
10672
10471
|
*/
|
|
10673
|
-
export declare const BentoLoadingButton:
|
|
10472
|
+
export declare const BentoLoadingButton: __VLS_WithTemplateSlots_5<
|
|
10674
10473
|
DefineComponent<
|
|
10675
10474
|
{
|
|
10676
10475
|
/**
|
|
@@ -10983,6 +10782,7 @@ export declare const BentoMenu: DefineComponent<
|
|
|
10983
10782
|
onKeyDown: () => void;
|
|
10984
10783
|
onKeyUp: () => void;
|
|
10985
10784
|
closeMenu: () => void;
|
|
10785
|
+
menuItemClick: () => void;
|
|
10986
10786
|
toggleShowMenu: (e: MouseEvent) => void;
|
|
10987
10787
|
},
|
|
10988
10788
|
{},
|
|
@@ -10990,7 +10790,7 @@ export declare const BentoMenu: DefineComponent<
|
|
|
10990
10790
|
{},
|
|
10991
10791
|
ComponentOptionsMixin,
|
|
10992
10792
|
ComponentOptionsMixin,
|
|
10993
|
-
(BentoMenuEvent.CLOSE | BentoMenuEvent.OPEN)[],
|
|
10793
|
+
(BentoMenuEvent.CLOSE | BentoMenuEvent.OPEN | 'menu-item-click')[],
|
|
10994
10794
|
string,
|
|
10995
10795
|
Readonly<
|
|
10996
10796
|
ExtractPropTypes<{
|
|
@@ -11128,7 +10928,7 @@ export declare interface BentoMenuItem {
|
|
|
11128
10928
|
* `
|
|
11129
10929
|
* };
|
|
11130
10930
|
*/
|
|
11131
|
-
export declare const BentoModal:
|
|
10931
|
+
export declare const BentoModal: __VLS_WithTemplateSlots_18<
|
|
11132
10932
|
DefineComponent<
|
|
11133
10933
|
{
|
|
11134
10934
|
/**
|
|
@@ -11487,7 +11287,7 @@ export declare enum BentoModalEvent {
|
|
|
11487
11287
|
* `
|
|
11488
11288
|
* }
|
|
11489
11289
|
*/
|
|
11490
|
-
export declare const BentoModalFullscreen:
|
|
11290
|
+
export declare const BentoModalFullscreen: __VLS_WithTemplateSlots_19<
|
|
11491
11291
|
DefineComponent<
|
|
11492
11292
|
{
|
|
11493
11293
|
/**
|
|
@@ -11644,7 +11444,7 @@ export declare const BentoModalFullscreen: __VLS_WithTemplateSlots_17<
|
|
|
11644
11444
|
* `
|
|
11645
11445
|
* }
|
|
11646
11446
|
*/
|
|
11647
|
-
export declare const BentoModalFullscreenPage:
|
|
11447
|
+
export declare const BentoModalFullscreenPage: __VLS_WithTemplateSlots_20<
|
|
11648
11448
|
DefineComponent<
|
|
11649
11449
|
{
|
|
11650
11450
|
/**
|
|
@@ -11803,7 +11603,7 @@ export declare const BentoModalFullscreenPage: __VLS_WithTemplateSlots_18<
|
|
|
11803
11603
|
* `
|
|
11804
11604
|
* }
|
|
11805
11605
|
*/
|
|
11806
|
-
export declare const BentoModalPage:
|
|
11606
|
+
export declare const BentoModalPage: __VLS_WithTemplateSlots_17<
|
|
11807
11607
|
DefineComponent<
|
|
11808
11608
|
{
|
|
11809
11609
|
/**
|
|
@@ -13402,7 +13202,7 @@ export declare enum BentoPaymentMethodType {
|
|
|
13402
13202
|
* `
|
|
13403
13203
|
* }
|
|
13404
13204
|
*/
|
|
13405
|
-
export declare const BentoPopover:
|
|
13205
|
+
export declare const BentoPopover: __VLS_WithTemplateSlots_21<
|
|
13406
13206
|
DefineComponent<
|
|
13407
13207
|
{
|
|
13408
13208
|
/**
|
|
@@ -13902,7 +13702,7 @@ export declare type BentoPopoverPositions = PopperContainerPosition;
|
|
|
13902
13702
|
* }
|
|
13903
13703
|
* }
|
|
13904
13704
|
*/
|
|
13905
|
-
export declare const BentoRadioButton:
|
|
13705
|
+
export declare const BentoRadioButton: __VLS_WithTemplateSlots_23<
|
|
13906
13706
|
DefineComponent<
|
|
13907
13707
|
{
|
|
13908
13708
|
/**
|
|
@@ -14153,7 +13953,7 @@ export declare type BentoRadioButtonValue = string | number;
|
|
|
14153
13953
|
* `
|
|
14154
13954
|
* };
|
|
14155
13955
|
*/
|
|
14156
|
-
export declare const BentoRadioGroup:
|
|
13956
|
+
export declare const BentoRadioGroup: __VLS_WithTemplateSlots_22<
|
|
14157
13957
|
DefineComponent<
|
|
14158
13958
|
{
|
|
14159
13959
|
/**
|
|
@@ -14382,11 +14182,11 @@ export declare const BentoRadioGroup: __VLS_WithTemplateSlots_20<
|
|
|
14382
14182
|
variant: 'horizontal' | 'vertical' | BentoRadioGroupVariant;
|
|
14383
14183
|
required: boolean;
|
|
14384
14184
|
disabled: boolean;
|
|
14385
|
-
optional: boolean;
|
|
14386
|
-
readonly: boolean;
|
|
14387
14185
|
tooltipText: string;
|
|
14186
|
+
optional: boolean;
|
|
14388
14187
|
hideLabel: boolean;
|
|
14389
14188
|
errorMessage: string;
|
|
14189
|
+
readonly: boolean;
|
|
14390
14190
|
hasError: boolean;
|
|
14391
14191
|
modelValue: BentoRadioButtonValue;
|
|
14392
14192
|
formId: string;
|
|
@@ -14604,7 +14404,7 @@ export declare interface BentoSearchBarItem {
|
|
|
14604
14404
|
* }
|
|
14605
14405
|
*/
|
|
14606
14406
|
export declare const BentoSecondaryNav: DefineComponent<
|
|
14607
|
-
|
|
14407
|
+
__VLS_TypePropsToRuntimeProps_4<{
|
|
14608
14408
|
/**
|
|
14609
14409
|
* An array containing all the items on the nav. The array can have either {@see BentoSecondaryNavItemsCategory },
|
|
14610
14410
|
* which is used to group different items or {@see BentoSecondaryNavItemsItem } if you don't need to group them.
|
|
@@ -14627,7 +14427,7 @@ export declare const BentoSecondaryNav: DefineComponent<
|
|
|
14627
14427
|
string,
|
|
14628
14428
|
Readonly<
|
|
14629
14429
|
ExtractPropTypes<
|
|
14630
|
-
|
|
14430
|
+
__VLS_TypePropsToRuntimeProps_4<{
|
|
14631
14431
|
/**
|
|
14632
14432
|
* An array containing all the items on the nav. The array can have either {@see BentoSecondaryNavItemsCategory },
|
|
14633
14433
|
* which is used to group different items or {@see BentoSecondaryNavItemsItem } if you don't need to group them.
|
|
@@ -14912,7 +14712,7 @@ export declare type BentoSelectFilterValue = BentoListboxSelectedValue;
|
|
|
14912
14712
|
* `
|
|
14913
14713
|
* }
|
|
14914
14714
|
*/
|
|
14915
|
-
export declare const BentoSelectionCard:
|
|
14715
|
+
export declare const BentoSelectionCard: __VLS_WithTemplateSlots_24<
|
|
14916
14716
|
DefineComponent<
|
|
14917
14717
|
{
|
|
14918
14718
|
/**
|
|
@@ -15107,7 +14907,7 @@ export declare const BentoSelectionCard: __VLS_WithTemplateSlots_22<
|
|
|
15107
14907
|
* `,
|
|
15108
14908
|
* }
|
|
15109
14909
|
*/
|
|
15110
|
-
export declare const BentoSelectionCardGroup:
|
|
14910
|
+
export declare const BentoSelectionCardGroup: __VLS_WithTemplateSlots_25<
|
|
15111
14911
|
DefineComponent<
|
|
15112
14912
|
{
|
|
15113
14913
|
/**
|
|
@@ -15334,12 +15134,12 @@ export declare const BentoSelectionCardGroup: __VLS_WithTemplateSlots_23<
|
|
|
15334
15134
|
variant: BentoSelectionCardGroupVariant;
|
|
15335
15135
|
required: boolean;
|
|
15336
15136
|
disabled: boolean;
|
|
15337
|
-
optional: boolean;
|
|
15338
|
-
readonly: boolean;
|
|
15339
15137
|
layout: BentoSelectionCardGroupLayout;
|
|
15340
15138
|
tooltipText: string;
|
|
15139
|
+
optional: boolean;
|
|
15341
15140
|
hideLabel: boolean;
|
|
15342
15141
|
errorMessage: string;
|
|
15142
|
+
readonly: boolean;
|
|
15343
15143
|
modelValue: BentoSelectionCardModelValue;
|
|
15344
15144
|
formId: string;
|
|
15345
15145
|
}
|
|
@@ -15422,7 +15222,7 @@ export declare type BentoSelectTagFilterOptions = OmitStrict<BentoSelectFilterOp
|
|
|
15422
15222
|
* `
|
|
15423
15223
|
* }
|
|
15424
15224
|
*/
|
|
15425
|
-
export declare const BentoSidepanel:
|
|
15225
|
+
export declare const BentoSidepanel: __VLS_WithTemplateSlots_27<
|
|
15426
15226
|
DefineComponent<
|
|
15427
15227
|
{
|
|
15428
15228
|
/**
|
|
@@ -15540,7 +15340,7 @@ export declare enum BentoSidepanelEvent {
|
|
|
15540
15340
|
* `
|
|
15541
15341
|
* }
|
|
15542
15342
|
*/
|
|
15543
|
-
export declare const BentoSidepanelPage:
|
|
15343
|
+
export declare const BentoSidepanelPage: __VLS_WithTemplateSlots_26<
|
|
15544
15344
|
DefineComponent<
|
|
15545
15345
|
{
|
|
15546
15346
|
/**
|
|
@@ -15766,7 +15566,7 @@ export declare enum BentoStatusVariant {
|
|
|
15766
15566
|
* `
|
|
15767
15567
|
* }
|
|
15768
15568
|
*/
|
|
15769
|
-
export declare const BentoStep:
|
|
15569
|
+
export declare const BentoStep: __VLS_WithTemplateSlots_29<
|
|
15770
15570
|
DefineComponent<
|
|
15771
15571
|
{
|
|
15772
15572
|
/**
|
|
@@ -15840,7 +15640,7 @@ export declare const BentoStep: __VLS_WithTemplateSlots_27<
|
|
|
15840
15640
|
* `
|
|
15841
15641
|
* }
|
|
15842
15642
|
*/
|
|
15843
|
-
export declare const BentoStepper:
|
|
15643
|
+
export declare const BentoStepper: __VLS_WithTemplateSlots_28<
|
|
15844
15644
|
DefineComponent<
|
|
15845
15645
|
{
|
|
15846
15646
|
/**
|
|
@@ -15966,7 +15766,7 @@ export declare enum BentoStepperVariantOption {
|
|
|
15966
15766
|
* `
|
|
15967
15767
|
* }
|
|
15968
15768
|
*/
|
|
15969
|
-
export declare const BentoStructuredList:
|
|
15769
|
+
export declare const BentoStructuredList: __VLS_WithTemplateSlots_30<
|
|
15970
15770
|
DefineComponent<
|
|
15971
15771
|
{
|
|
15972
15772
|
/**
|
|
@@ -17580,12 +17380,12 @@ export declare const BentoTextarea: DefineComponent<
|
|
|
17580
17380
|
label: string;
|
|
17581
17381
|
required: boolean;
|
|
17582
17382
|
disabled: boolean;
|
|
17583
|
-
optional: boolean;
|
|
17584
|
-
readonly: boolean;
|
|
17585
17383
|
height: string;
|
|
17586
17384
|
tooltipText: string;
|
|
17385
|
+
optional: boolean;
|
|
17587
17386
|
errorMessage: string;
|
|
17588
17387
|
ariaLabel: string;
|
|
17388
|
+
readonly: boolean;
|
|
17589
17389
|
placeholder: string;
|
|
17590
17390
|
clearable: boolean;
|
|
17591
17391
|
characterLimit: number;
|
|
@@ -18284,8 +18084,8 @@ export declare const BentoToggle: DefineComponent<
|
|
|
18284
18084
|
{
|
|
18285
18085
|
value: boolean;
|
|
18286
18086
|
disabled: boolean;
|
|
18287
|
-
readonly: boolean;
|
|
18288
18087
|
ariaLabel: string;
|
|
18088
|
+
readonly: boolean;
|
|
18289
18089
|
labelPosition: 'after' | 'before' | BentoToggleLabelPosition;
|
|
18290
18090
|
}
|
|
18291
18091
|
>;
|
|
@@ -18306,7 +18106,7 @@ export declare const BentoToggle: DefineComponent<
|
|
|
18306
18106
|
* `
|
|
18307
18107
|
* }
|
|
18308
18108
|
*/
|
|
18309
|
-
export declare const BentoToggleButton:
|
|
18109
|
+
export declare const BentoToggleButton: __VLS_WithTemplateSlots_6<
|
|
18310
18110
|
DefineComponent<
|
|
18311
18111
|
{
|
|
18312
18112
|
/**
|
|
@@ -18530,6 +18330,15 @@ export declare const BentoTutorial: DefineComponent<
|
|
|
18530
18330
|
required: true;
|
|
18531
18331
|
validator: (value: BentoTutorialStep[]) => boolean;
|
|
18532
18332
|
};
|
|
18333
|
+
/**
|
|
18334
|
+
* Options to control the scroll into view behavior.
|
|
18335
|
+
* Takes the same options as the `scrollIntoView` function
|
|
18336
|
+
* @see {@link https://developer.mozilla.org/en-US/docs/Web/API/Element/scrollIntoView}
|
|
18337
|
+
*/
|
|
18338
|
+
scrollOptions: {
|
|
18339
|
+
type: PropType<BentoTutorialScrollOptions>;
|
|
18340
|
+
default: any;
|
|
18341
|
+
};
|
|
18533
18342
|
},
|
|
18534
18343
|
{},
|
|
18535
18344
|
{},
|
|
@@ -18550,11 +18359,24 @@ export declare const BentoTutorial: DefineComponent<
|
|
|
18550
18359
|
required: true;
|
|
18551
18360
|
validator: (value: BentoTutorialStep[]) => boolean;
|
|
18552
18361
|
};
|
|
18362
|
+
/**
|
|
18363
|
+
* Options to control the scroll into view behavior.
|
|
18364
|
+
* Takes the same options as the `scrollIntoView` function
|
|
18365
|
+
* @see {@link https://developer.mozilla.org/en-US/docs/Web/API/Element/scrollIntoView}
|
|
18366
|
+
*/
|
|
18367
|
+
scrollOptions: {
|
|
18368
|
+
type: PropType<BentoTutorialScrollOptions>;
|
|
18369
|
+
default: any;
|
|
18370
|
+
};
|
|
18553
18371
|
}>
|
|
18554
18372
|
>,
|
|
18555
|
-
{
|
|
18373
|
+
{
|
|
18374
|
+
scrollOptions: any;
|
|
18375
|
+
}
|
|
18556
18376
|
>;
|
|
18557
18377
|
|
|
18378
|
+
export declare type BentoTutorialScrollOptions = boolean | ScrollIntoViewOptions;
|
|
18379
|
+
|
|
18558
18380
|
export declare interface BentoTutorialStep {
|
|
18559
18381
|
target: VueNodeElement | Ref<VueNodeElement>;
|
|
18560
18382
|
image?: Omit<InstanceType<typeof BentoImage>['$props'], 'aspectRatio'>;
|
|
@@ -18582,10 +18404,10 @@ export declare interface BentoTutorialStep {
|
|
|
18582
18404
|
* `
|
|
18583
18405
|
* }
|
|
18584
18406
|
*/
|
|
18585
|
-
export declare const BentoTypography:
|
|
18407
|
+
export declare const BentoTypography: __VLS_WithTemplateSlots_31<
|
|
18586
18408
|
DefineComponent<
|
|
18587
|
-
|
|
18588
|
-
|
|
18409
|
+
__VLS_WithDefaults_4<
|
|
18410
|
+
__VLS_TypePropsToRuntimeProps_5<{
|
|
18589
18411
|
/**
|
|
18590
18412
|
* Sets the HTML DOM element.
|
|
18591
18413
|
* @values h1, h2, h3, h4, h5, h6, div, p, span
|
|
@@ -18636,14 +18458,14 @@ export declare const BentoTypography: __VLS_WithTemplateSlots_29<
|
|
|
18636
18458
|
{},
|
|
18637
18459
|
{},
|
|
18638
18460
|
{},
|
|
18639
|
-
|
|
18640
|
-
|
|
18461
|
+
ComponentOptionsMixin_2,
|
|
18462
|
+
ComponentOptionsMixin_2,
|
|
18641
18463
|
{},
|
|
18642
18464
|
string,
|
|
18643
18465
|
Readonly<
|
|
18644
18466
|
ExtractPropTypes<
|
|
18645
|
-
|
|
18646
|
-
|
|
18467
|
+
__VLS_WithDefaults_4<
|
|
18468
|
+
__VLS_TypePropsToRuntimeProps_5<{
|
|
18647
18469
|
/**
|
|
18648
18470
|
* Sets the HTML DOM element.
|
|
18649
18471
|
* @values h1, h2, h3, h4, h5, h6, div, p, span
|
|
@@ -19011,6 +18833,26 @@ export declare type MaybeRef<T> = T | Ref<T>;
|
|
|
19011
18833
|
|
|
19012
18834
|
export declare type OmitStrict<T, K extends keyof T> = Pick<T, Exclude<keyof T, K>>;
|
|
19013
18835
|
|
|
18836
|
+
declare type OnClickOutsideHandler = (evt: PointerEvent | FocusEvent) => void;
|
|
18837
|
+
|
|
18838
|
+
declare interface OnClickOutsideOptions {
|
|
18839
|
+
/**
|
|
18840
|
+
* List of elements that should not trigger the event.
|
|
18841
|
+
*/
|
|
18842
|
+
ignore?: (MaybeElementRef | string)[];
|
|
18843
|
+
/**
|
|
18844
|
+
* Use capturing phase for internal event listener.
|
|
18845
|
+
* @default true
|
|
18846
|
+
*/
|
|
18847
|
+
capture?: boolean;
|
|
18848
|
+
/**
|
|
18849
|
+
* Run handler function if focus moves to an iframe.
|
|
18850
|
+
* @default false
|
|
18851
|
+
*/
|
|
18852
|
+
detectIframe?: boolean;
|
|
18853
|
+
window?: Window;
|
|
18854
|
+
}
|
|
18855
|
+
|
|
19014
18856
|
declare const plugin: PluginObject<BentoVuePlugin>;
|
|
19015
18857
|
export default plugin;
|
|
19016
18858
|
|
|
@@ -19082,6 +18924,19 @@ export declare type UseBentoToastController = ToastStack;
|
|
|
19082
18924
|
|
|
19083
18925
|
export declare function useBentoToastController(): UseBentoToastController;
|
|
19084
18926
|
|
|
18927
|
+
/**
|
|
18928
|
+
* Composable to listen for clicks outside of an element ref.
|
|
18929
|
+
*
|
|
18930
|
+
* @param {MaybeElementRef} target - HTML Element or "ref" to an Element on which the click outside listener will be attached to
|
|
18931
|
+
* @param {OnClickOutsideHandler} handler - Function that will be called when the listener gets triggered
|
|
18932
|
+
* @param {OnClickOutsideOptions} options - Options to be passed to the listener
|
|
18933
|
+
*/
|
|
18934
|
+
export declare const useClickOutside: <T extends OnClickOutsideOptions>(
|
|
18935
|
+
target: MaybeElementRef,
|
|
18936
|
+
handler: OnClickOutsideHandler,
|
|
18937
|
+
options?: T
|
|
18938
|
+
) => void;
|
|
18939
|
+
|
|
19085
18940
|
/**
|
|
19086
18941
|
* Maps an ISO code to the country's translated capital city.
|
|
19087
18942
|
*
|