@adyen/bento-vue2 1.24.0 → 1.25.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 +415 -528
- 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/index.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/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/index46.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/badge.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.773343f6.js} +2 -2
- package/dist/chunks/{base-button.090f511d.js.map → base-button.773343f6.js.map} +1 -1
- package/dist/chunks/{base-modal.aa09a60c.js → base-modal.2d596e6f.js} +6 -6
- package/dist/chunks/{base-modal.aa09a60c.js.map → base-modal.2d596e6f.js.map} +1 -1
- package/dist/chunks/{button-actions-with-menu.879c4573.js → button-actions-with-menu.d08d2c51.js} +4 -4
- package/dist/chunks/{button-actions-with-menu.879c4573.js.map → button-actions-with-menu.d08d2c51.js.map} +1 -1
- package/dist/chunks/{button-actions.239456cb.js → button-actions.a03a672f.js} +3 -3
- package/dist/chunks/{button-actions.239456cb.js.map → button-actions.a03a672f.js.map} +1 -1
- package/dist/chunks/{button.6e6324f0.js → button.e5f5638f.js} +3 -3
- package/dist/chunks/{button.6e6324f0.js.map → button.e5f5638f.js.map} +1 -1
- package/dist/chunks/{calendar.1e416969.js → calendar.7d3e2db0.js} +4 -4
- package/dist/chunks/{calendar.1e416969.js.map → calendar.7d3e2db0.js.map} +1 -1
- package/dist/chunks/{checkbox.f38276e6.js → checkbox.28578383.js} +3 -3
- package/dist/chunks/{checkbox.f38276e6.js.map → checkbox.28578383.js.map} +1 -1
- package/dist/chunks/{controls-group.f1dfa419.js → controls-group.faa482b2.js} +3 -3
- package/dist/chunks/{controls-group.f1dfa419.js.map → controls-group.faa482b2.js.map} +1 -1
- package/dist/chunks/{copy.acc9f1b0.js → copy.3c50b447.js} +4 -4
- package/dist/chunks/{copy.acc9f1b0.js.map → copy.3c50b447.js.map} +1 -1
- package/dist/chunks/dialog-page.286ead53.js +133 -0
- package/dist/chunks/dialog-page.286ead53.js.map +1 -0
- package/dist/chunks/{dropdown-default-textbox.c1f8fe5f.js → dropdown-default-textbox.a1c0c0fb.js} +2 -2
- package/dist/chunks/{dropdown-default-textbox.c1f8fe5f.js.map → dropdown-default-textbox.a1c0c0fb.js.map} +1 -1
- package/dist/chunks/dropdown.7d4a8dfc.js +775 -0
- package/dist/chunks/dropdown.7d4a8dfc.js.map +1 -0
- package/dist/chunks/{error-message.8734e591.js → error-message.db315e68.js} +2 -2
- package/dist/chunks/{error-message.8734e591.js.map → error-message.db315e68.js.map} +1 -1
- package/dist/chunks/{fixed-scroller.772ad033.js → fixed-scroller.3135f86c.js} +2 -2
- package/dist/chunks/{fixed-scroller.772ad033.js.map → fixed-scroller.3135f86c.js.map} +1 -1
- package/dist/chunks/{footer-actions.11071f12.js → footer-actions.32891b25.js} +4 -4
- package/dist/chunks/{footer-actions.11071f12.js.map → footer-actions.32891b25.js.map} +1 -1
- package/dist/chunks/{index.87180cdd.js → index.30948302.js} +138 -119
- package/dist/chunks/index.30948302.js.map +1 -0
- package/dist/chunks/{index.8e6bc325.js → index.444d221f.js} +3 -3
- package/dist/chunks/{index.8e6bc325.js.map → index.444d221f.js.map} +1 -1
- package/dist/chunks/{index.73abb1a9.js → index.4b6211c7.js} +27 -27
- package/dist/chunks/{index.73abb1a9.js.map → index.4b6211c7.js.map} +1 -1
- package/dist/chunks/{index.94980f50.js → index.596c4d0a.js} +2 -2
- package/dist/chunks/{index.94980f50.js.map → index.596c4d0a.js.map} +1 -1
- package/dist/chunks/{index.ff09389c.js → index.81e509f3.js} +6 -6
- package/dist/chunks/{index.ff09389c.js.map → index.81e509f3.js.map} +1 -1
- package/dist/chunks/{index.f19887a1.js → index.939dd5cf.js} +2 -2
- package/dist/chunks/{index.f19887a1.js.map → index.939dd5cf.js.map} +1 -1
- package/dist/chunks/{index.51308a21.js → index.94acf214.js} +3 -3
- package/dist/chunks/{index.51308a21.js.map → index.94acf214.js.map} +1 -1
- package/dist/chunks/{index.49ce3f6a.js → index.9536a077.js} +3 -3
- package/dist/chunks/{index.49ce3f6a.js.map → index.9536a077.js.map} +1 -1
- package/dist/chunks/{index.03ae22b4.js → index.9e40ffeb.js} +2 -2
- package/dist/chunks/{index.03ae22b4.js.map → index.9e40ffeb.js.map} +1 -1
- package/dist/chunks/{index.ba6c1040.js → index.d97166c6.js} +2 -2
- package/dist/chunks/{index.ba6c1040.js.map → index.d97166c6.js.map} +1 -1
- package/dist/chunks/{index.5d5f2200.js → index.ec632d95.js} +6 -6
- package/dist/chunks/{index.5d5f2200.js.map → index.ec632d95.js.map} +1 -1
- package/dist/chunks/{listbox-option-tag.c0a56a95.js → listbox-option-tag.95a65534.js} +3 -3
- package/dist/chunks/{listbox-option-tag.c0a56a95.js.map → listbox-option-tag.95a65534.js.map} +1 -1
- package/dist/chunks/{loading-button.84a5529d.js → loading-button.e8060c04.js} +2 -2
- package/dist/chunks/{loading-button.84a5529d.js.map → loading-button.e8060c04.js.map} +1 -1
- package/dist/chunks/{payment-method.faa302de.js → payment-method.564ed43a.js} +2 -2
- package/dist/chunks/{payment-method.faa302de.js.map → payment-method.564ed43a.js.map} +1 -1
- package/dist/chunks/{tooltip.8e9d733c.js → tooltip.e5deb137.js} +3 -3
- package/dist/chunks/{tooltip.8e9d733c.js.map → tooltip.e5deb137.js.map} +1 -1
- package/dist/chunks/{use-bento-toast-controller.7d4436ad.js → use-bento-toast-controller.8414d283.js} +2 -2
- package/dist/chunks/{use-bento-toast-controller.7d4436ad.js.map → use-bento-toast-controller.8414d283.js.map} +1 -1
- package/dist/chunks/{listbox.e6e1bc90.js → use-cached-selected-values.3772a679.js} +510 -448
- package/dist/chunks/use-cached-selected-values.3772a679.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 +758 -725
- package/dist/data-grid.js.map +1 -1
- package/dist/date-picker.js +19 -19
- 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 +2 -2
- 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 +2 -2
- 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 +3 -3
- 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 +3 -3
- 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 +6 -6
- package/dist/typography.js +1 -1
- package/dist/web-types.json +532 -282
- 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/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;
|
|
@@ -4450,7 +4299,7 @@ export declare type BentoCurrencyListboxOptions = BentoCurrencyListboxOptionItem
|
|
|
4450
4299
|
* `
|
|
4451
4300
|
* }
|
|
4452
4301
|
*/
|
|
4453
|
-
export declare const BentoDataGrid:
|
|
4302
|
+
export declare const BentoDataGrid: __VLS_WithTemplateSlots_7<
|
|
4454
4303
|
DefineComponent<
|
|
4455
4304
|
{
|
|
4456
4305
|
/**
|
|
@@ -5403,8 +5252,8 @@ export declare const BentoDataGrid: __VLS_WithTemplateSlots_6<
|
|
|
5403
5252
|
condensed: boolean;
|
|
5404
5253
|
outline: boolean;
|
|
5405
5254
|
loading: boolean;
|
|
5406
|
-
emptyState: any;
|
|
5407
5255
|
lazyLoadType: BentoLazyLoadType;
|
|
5256
|
+
emptyState: any;
|
|
5408
5257
|
fitContent: boolean;
|
|
5409
5258
|
hasResizableColumns: boolean;
|
|
5410
5259
|
selectableAcrossPages: boolean;
|
|
@@ -5527,7 +5376,7 @@ export declare enum BentoDatagridStyleState {
|
|
|
5527
5376
|
* `
|
|
5528
5377
|
* }
|
|
5529
5378
|
*/
|
|
5530
|
-
export declare const BentoDataGridTemplate:
|
|
5379
|
+
export declare const BentoDataGridTemplate: __VLS_WithTemplateSlots_32<
|
|
5531
5380
|
DefineComponent<
|
|
5532
5381
|
{
|
|
5533
5382
|
/**
|
|
@@ -6292,14 +6141,14 @@ export declare const BentoDatePicker: DefineComponent<
|
|
|
6292
6141
|
label: string;
|
|
6293
6142
|
required: boolean;
|
|
6294
6143
|
disabled: boolean;
|
|
6295
|
-
optional: boolean;
|
|
6296
|
-
readonly: boolean;
|
|
6297
6144
|
isDateDisabled: CalendarMonthIsDateDisabled;
|
|
6298
6145
|
firstDayOfWeek: CalendarMonthFirstDayOfWeek;
|
|
6299
6146
|
min: Date;
|
|
6300
6147
|
max: Date;
|
|
6301
6148
|
tooltipText: string;
|
|
6149
|
+
optional: boolean;
|
|
6302
6150
|
errorMessage: string;
|
|
6151
|
+
readonly: boolean;
|
|
6303
6152
|
}
|
|
6304
6153
|
>;
|
|
6305
6154
|
|
|
@@ -6676,8 +6525,6 @@ export declare const BentoDateRangePicker: DefineComponent<
|
|
|
6676
6525
|
label: string;
|
|
6677
6526
|
required: boolean;
|
|
6678
6527
|
disabled: boolean;
|
|
6679
|
-
optional: boolean;
|
|
6680
|
-
readonly: boolean;
|
|
6681
6528
|
isDateDisabled: CalendarMonthIsDateDisabled;
|
|
6682
6529
|
firstDayOfWeek: CalendarMonthFirstDayOfWeek;
|
|
6683
6530
|
min: Date;
|
|
@@ -6685,7 +6532,9 @@ export declare const BentoDateRangePicker: DefineComponent<
|
|
|
6685
6532
|
maxRange: number;
|
|
6686
6533
|
numberOfMonths: number;
|
|
6687
6534
|
tooltipText: string;
|
|
6535
|
+
optional: boolean;
|
|
6688
6536
|
errorMessage: string;
|
|
6537
|
+
readonly: boolean;
|
|
6689
6538
|
allowTimeInput: boolean;
|
|
6690
6539
|
granularities: BentoDateRangePickerGranularityConfig<CalendarGranularityType>[];
|
|
6691
6540
|
quickSelectRanges: DateRangePickerCalendarRangeSelectorItems;
|
|
@@ -6766,7 +6615,7 @@ export declare const BentoDivider: DefineComponent<
|
|
|
6766
6615
|
* }
|
|
6767
6616
|
* }
|
|
6768
6617
|
*/
|
|
6769
|
-
export declare const BentoDropdown:
|
|
6618
|
+
export declare const BentoDropdown: __VLS_WithTemplateSlots_9<
|
|
6770
6619
|
DefineComponent<
|
|
6771
6620
|
{
|
|
6772
6621
|
/**
|
|
@@ -7197,20 +7046,20 @@ export declare const BentoDropdown: __VLS_WithTemplateSlots_8<
|
|
|
7197
7046
|
required: boolean;
|
|
7198
7047
|
condensed: boolean;
|
|
7199
7048
|
disabled: boolean;
|
|
7200
|
-
optional: boolean;
|
|
7201
|
-
readonly: boolean;
|
|
7202
7049
|
size: 'DropdownInputDefault' | 'DropdownInputSmall' | BentoDropdownSize;
|
|
7203
7050
|
multiple: boolean;
|
|
7204
7051
|
loading: boolean;
|
|
7205
7052
|
tooltipText: string;
|
|
7053
|
+
optional: boolean;
|
|
7206
7054
|
errorMessage: string;
|
|
7207
7055
|
items: BentoListboxOptions;
|
|
7208
7056
|
isOptionDisabled: (optionValue: BentoListboxOptionItem) => boolean;
|
|
7209
7057
|
staticCategories: boolean;
|
|
7210
7058
|
ariaLabel: string;
|
|
7211
|
-
|
|
7059
|
+
readonly: boolean;
|
|
7212
7060
|
hasMoreItems: boolean;
|
|
7213
7061
|
lazyLoadType: 'button' | 'none' | 'automatic' | BentoListboxLazyLoadType;
|
|
7062
|
+
emptyState: BentoListboxEmptyStateProps;
|
|
7214
7063
|
virtualScroll: BentoListboxVirtulisationOptions;
|
|
7215
7064
|
dynamicFiltering: boolean;
|
|
7216
7065
|
showSlotContentInMultiple: boolean;
|
|
@@ -7503,20 +7352,20 @@ export declare const BentoDropdownAvatar: DefineComponent<
|
|
|
7503
7352
|
required: boolean;
|
|
7504
7353
|
condensed: boolean;
|
|
7505
7354
|
disabled: boolean;
|
|
7506
|
-
optional: boolean;
|
|
7507
|
-
readonly: boolean;
|
|
7508
7355
|
size: 'DropdownInputDefault' | 'DropdownInputSmall' | BentoDropdownSize;
|
|
7509
7356
|
multiple: boolean;
|
|
7510
7357
|
loading: boolean;
|
|
7511
7358
|
tooltipText: string;
|
|
7359
|
+
optional: boolean;
|
|
7512
7360
|
errorMessage: string;
|
|
7513
7361
|
items: BentoAvatarListboxOptions;
|
|
7514
7362
|
isOptionDisabled: (optionValue: BentoListboxOptionItem) => boolean;
|
|
7515
7363
|
staticCategories: boolean;
|
|
7516
7364
|
ariaLabel: string;
|
|
7517
|
-
|
|
7365
|
+
readonly: boolean;
|
|
7518
7366
|
hasMoreItems: boolean;
|
|
7519
7367
|
lazyLoadType: 'button' | 'none' | 'automatic' | BentoListboxLazyLoadType;
|
|
7368
|
+
emptyState: BentoListboxEmptyStateProps;
|
|
7520
7369
|
virtualScroll: BentoListboxVirtulisationOptions;
|
|
7521
7370
|
dynamicFiltering: boolean;
|
|
7522
7371
|
showSlotContentInMultiple: boolean;
|
|
@@ -7821,20 +7670,20 @@ export declare const BentoDropdownCountry: DefineComponent<
|
|
|
7821
7670
|
required: boolean;
|
|
7822
7671
|
condensed: boolean;
|
|
7823
7672
|
disabled: boolean;
|
|
7824
|
-
optional: boolean;
|
|
7825
|
-
readonly: boolean;
|
|
7826
7673
|
size: 'DropdownInputDefault' | 'DropdownInputSmall' | BentoDropdownSize;
|
|
7827
7674
|
multiple: boolean;
|
|
7828
7675
|
loading: boolean;
|
|
7829
7676
|
tooltipText: string;
|
|
7677
|
+
optional: boolean;
|
|
7830
7678
|
errorMessage: string;
|
|
7831
7679
|
items: BentoCountryListboxOptions;
|
|
7832
7680
|
isOptionDisabled: (optionValue: BentoListboxOptionItem) => boolean;
|
|
7833
7681
|
staticCategories: boolean;
|
|
7834
7682
|
ariaLabel: string;
|
|
7835
|
-
|
|
7683
|
+
readonly: boolean;
|
|
7836
7684
|
hasMoreItems: boolean;
|
|
7837
7685
|
lazyLoadType: 'button' | 'none' | 'automatic' | BentoListboxLazyLoadType;
|
|
7686
|
+
emptyState: BentoListboxEmptyStateProps;
|
|
7838
7687
|
virtualScroll: BentoListboxVirtulisationOptions;
|
|
7839
7688
|
dynamicFiltering: boolean;
|
|
7840
7689
|
showSlotContentInMultiple: boolean;
|
|
@@ -8120,20 +7969,20 @@ export declare const BentoDropdownCurrency: DefineComponent<
|
|
|
8120
7969
|
required: boolean;
|
|
8121
7970
|
condensed: boolean;
|
|
8122
7971
|
disabled: boolean;
|
|
8123
|
-
optional: boolean;
|
|
8124
|
-
readonly: boolean;
|
|
8125
7972
|
size: 'DropdownInputDefault' | 'DropdownInputSmall' | BentoDropdownSize;
|
|
8126
7973
|
multiple: boolean;
|
|
8127
7974
|
loading: boolean;
|
|
8128
7975
|
tooltipText: string;
|
|
7976
|
+
optional: boolean;
|
|
8129
7977
|
errorMessage: string;
|
|
8130
7978
|
items: BentoCurrencyListboxOptions;
|
|
8131
7979
|
isOptionDisabled: (optionValue: BentoListboxOptionItem) => boolean;
|
|
8132
7980
|
staticCategories: boolean;
|
|
8133
7981
|
ariaLabel: string;
|
|
8134
|
-
|
|
7982
|
+
readonly: boolean;
|
|
8135
7983
|
hasMoreItems: boolean;
|
|
8136
7984
|
lazyLoadType: 'button' | 'none' | 'automatic' | BentoListboxLazyLoadType;
|
|
7985
|
+
emptyState: BentoListboxEmptyStateProps;
|
|
8137
7986
|
virtualScroll: BentoListboxVirtulisationOptions;
|
|
8138
7987
|
dynamicFiltering: boolean;
|
|
8139
7988
|
showSlotContentInMultiple: boolean;
|
|
@@ -8419,20 +8268,20 @@ export declare const BentoDropdownPaymentMethod: DefineComponent<
|
|
|
8419
8268
|
required: boolean;
|
|
8420
8269
|
condensed: boolean;
|
|
8421
8270
|
disabled: boolean;
|
|
8422
|
-
optional: boolean;
|
|
8423
|
-
readonly: boolean;
|
|
8424
8271
|
size: 'DropdownInputDefault' | 'DropdownInputSmall' | BentoDropdownSize;
|
|
8425
8272
|
multiple: boolean;
|
|
8426
8273
|
loading: boolean;
|
|
8427
8274
|
tooltipText: string;
|
|
8275
|
+
optional: boolean;
|
|
8428
8276
|
errorMessage: string;
|
|
8429
8277
|
items: BentoPaymentMethodListboxOptions;
|
|
8430
8278
|
isOptionDisabled: (optionValue: BentoListboxOptionItem) => boolean;
|
|
8431
8279
|
staticCategories: boolean;
|
|
8432
8280
|
ariaLabel: string;
|
|
8433
|
-
|
|
8281
|
+
readonly: boolean;
|
|
8434
8282
|
hasMoreItems: boolean;
|
|
8435
8283
|
lazyLoadType: 'button' | 'none' | 'automatic' | BentoListboxLazyLoadType;
|
|
8284
|
+
emptyState: BentoListboxEmptyStateProps;
|
|
8436
8285
|
virtualScroll: BentoListboxVirtulisationOptions;
|
|
8437
8286
|
dynamicFiltering: boolean;
|
|
8438
8287
|
showSlotContentInMultiple: boolean;
|
|
@@ -8726,20 +8575,20 @@ export declare const BentoDropdownTag: DefineComponent<
|
|
|
8726
8575
|
required: boolean;
|
|
8727
8576
|
condensed: boolean;
|
|
8728
8577
|
disabled: boolean;
|
|
8729
|
-
optional: boolean;
|
|
8730
|
-
readonly: boolean;
|
|
8731
8578
|
size: 'DropdownInputDefault' | 'DropdownInputSmall' | BentoDropdownSize;
|
|
8732
8579
|
multiple: boolean;
|
|
8733
8580
|
loading: boolean;
|
|
8734
8581
|
tooltipText: string;
|
|
8582
|
+
optional: boolean;
|
|
8735
8583
|
errorMessage: string;
|
|
8736
8584
|
items: BentoTagListboxOptions;
|
|
8737
8585
|
isOptionDisabled: (optionValue: BentoListboxOptionItem) => boolean;
|
|
8738
8586
|
staticCategories: boolean;
|
|
8739
8587
|
ariaLabel: string;
|
|
8740
|
-
|
|
8588
|
+
readonly: boolean;
|
|
8741
8589
|
hasMoreItems: boolean;
|
|
8742
8590
|
lazyLoadType: 'button' | 'none' | 'automatic' | BentoListboxLazyLoadType;
|
|
8591
|
+
emptyState: BentoListboxEmptyStateProps;
|
|
8743
8592
|
virtualScroll: BentoListboxVirtulisationOptions;
|
|
8744
8593
|
dynamicFiltering: boolean;
|
|
8745
8594
|
showSlotContentInMultiple: boolean;
|
|
@@ -8771,7 +8620,7 @@ export declare const BentoDropdownTag: DefineComponent<
|
|
|
8771
8620
|
* `
|
|
8772
8621
|
* }
|
|
8773
8622
|
*/
|
|
8774
|
-
export declare const BentoEmptyState:
|
|
8623
|
+
export declare const BentoEmptyState: __VLS_WithTemplateSlots_8<
|
|
8775
8624
|
DefineComponent<
|
|
8776
8625
|
{
|
|
8777
8626
|
/**
|
|
@@ -9289,7 +9138,7 @@ export declare type BentoFilterValues = Array<BentoFilterValue>;
|
|
|
9289
9138
|
* `
|
|
9290
9139
|
* }
|
|
9291
9140
|
*/
|
|
9292
|
-
export declare const BentoFormLayout:
|
|
9141
|
+
export declare const BentoFormLayout: __VLS_WithTemplateSlots_11<
|
|
9293
9142
|
DefineComponent<
|
|
9294
9143
|
{
|
|
9295
9144
|
/**
|
|
@@ -9370,7 +9219,7 @@ export declare const BentoFormLayout: __VLS_WithTemplateSlots_9<
|
|
|
9370
9219
|
* </bento-form-layout-field-tip>
|
|
9371
9220
|
* `
|
|
9372
9221
|
*/
|
|
9373
|
-
export declare const BentoFormLayoutFieldTip:
|
|
9222
|
+
export declare const BentoFormLayoutFieldTip: __VLS_WithTemplateSlots_12<
|
|
9374
9223
|
DefineComponent<
|
|
9375
9224
|
{
|
|
9376
9225
|
/**
|
|
@@ -9436,7 +9285,7 @@ declare type BentoFormLayoutFieldTipTypeOption = `${BentoAlertTypeOption}`;
|
|
|
9436
9285
|
* `
|
|
9437
9286
|
* }
|
|
9438
9287
|
*/
|
|
9439
|
-
export declare const BentoFormLayoutGroup:
|
|
9288
|
+
export declare const BentoFormLayoutGroup: __VLS_WithTemplateSlots_14<
|
|
9440
9289
|
DefineComponent<
|
|
9441
9290
|
{
|
|
9442
9291
|
/**
|
|
@@ -9539,7 +9388,7 @@ export declare const BentoFormLayoutGroup: __VLS_WithTemplateSlots_12<
|
|
|
9539
9388
|
* `
|
|
9540
9389
|
* }
|
|
9541
9390
|
*/
|
|
9542
|
-
export declare const BentoFormLayoutTitle:
|
|
9391
|
+
export declare const BentoFormLayoutTitle: __VLS_WithTemplateSlots_13<
|
|
9543
9392
|
DefineComponent<
|
|
9544
9393
|
{
|
|
9545
9394
|
/**
|
|
@@ -10069,7 +9918,7 @@ export declare type BentoInputDropdownProps = {
|
|
|
10069
9918
|
* >
|
|
10070
9919
|
* }
|
|
10071
9920
|
*/
|
|
10072
|
-
export declare const BentoInputField:
|
|
9921
|
+
export declare const BentoInputField: __VLS_WithTemplateSlots_15<
|
|
10073
9922
|
DefineComponent<
|
|
10074
9923
|
{
|
|
10075
9924
|
/**
|
|
@@ -10192,11 +10041,13 @@ export declare const BentoInputField: __VLS_WithTemplateSlots_13<
|
|
|
10192
10041
|
};
|
|
10193
10042
|
/**
|
|
10194
10043
|
* A string specifying the type of control to render.
|
|
10044
|
+
* All `input` types are available but only `search`, `text` and `number` are fully supported.
|
|
10045
|
+
*
|
|
10046
|
+
* If `type` is `search`, use `bento-search-bar` instead.
|
|
10195
10047
|
*/
|
|
10196
10048
|
type: {
|
|
10197
|
-
type: PropType<
|
|
10049
|
+
type: PropType<string>;
|
|
10198
10050
|
default: BentoInputFieldType;
|
|
10199
|
-
validator: (value: BentoInputFieldType) => boolean;
|
|
10200
10051
|
};
|
|
10201
10052
|
/**
|
|
10202
10053
|
* Text displayed as the value of the input-field
|
|
@@ -10362,11 +10213,13 @@ export declare const BentoInputField: __VLS_WithTemplateSlots_13<
|
|
|
10362
10213
|
};
|
|
10363
10214
|
/**
|
|
10364
10215
|
* A string specifying the type of control to render.
|
|
10216
|
+
* All `input` types are available but only `search`, `text` and `number` are fully supported.
|
|
10217
|
+
*
|
|
10218
|
+
* If `type` is `search`, use `bento-search-bar` instead.
|
|
10365
10219
|
*/
|
|
10366
10220
|
type: {
|
|
10367
|
-
type: PropType<
|
|
10221
|
+
type: PropType<string>;
|
|
10368
10222
|
default: BentoInputFieldType;
|
|
10369
|
-
validator: (value: BentoInputFieldType) => boolean;
|
|
10370
10223
|
};
|
|
10371
10224
|
/**
|
|
10372
10225
|
* Text displayed as the value of the input-field
|
|
@@ -10388,16 +10241,16 @@ export declare const BentoInputField: __VLS_WithTemplateSlots_13<
|
|
|
10388
10241
|
{
|
|
10389
10242
|
error: boolean;
|
|
10390
10243
|
value: BentoInputFieldValue;
|
|
10391
|
-
type:
|
|
10244
|
+
type: string;
|
|
10392
10245
|
variant: 'default' | 'payment-method' | 'static-value' | 'dropdown' | BentoInputFieldVariant;
|
|
10393
10246
|
required: boolean;
|
|
10394
10247
|
condensed: boolean;
|
|
10395
10248
|
disabled: boolean;
|
|
10396
|
-
optional: boolean;
|
|
10397
|
-
readonly: boolean;
|
|
10398
10249
|
tooltipText: string;
|
|
10250
|
+
optional: boolean;
|
|
10399
10251
|
errorMessage: string;
|
|
10400
10252
|
ariaLabel: string;
|
|
10253
|
+
readonly: boolean;
|
|
10401
10254
|
placeholder: string;
|
|
10402
10255
|
dropdown: BentoInputDropdownProps;
|
|
10403
10256
|
ariaHidden: boolean;
|
|
@@ -10537,10 +10390,10 @@ export declare type BentoLazyLoadType = 'automatic' | 'button' | 'none';
|
|
|
10537
10390
|
* `
|
|
10538
10391
|
* }
|
|
10539
10392
|
*/
|
|
10540
|
-
export declare const BentoLink:
|
|
10393
|
+
export declare const BentoLink: __VLS_WithTemplateSlots_16<
|
|
10541
10394
|
DefineComponent<
|
|
10542
|
-
|
|
10543
|
-
|
|
10395
|
+
__VLS_WithDefaults_3<
|
|
10396
|
+
__VLS_TypePropsToRuntimeProps_3<LinkProps>,
|
|
10544
10397
|
{
|
|
10545
10398
|
target: any;
|
|
10546
10399
|
variant: BentoLinkVariant;
|
|
@@ -10558,8 +10411,8 @@ export declare const BentoLink: __VLS_WithTemplateSlots_14<
|
|
|
10558
10411
|
string,
|
|
10559
10412
|
Readonly<
|
|
10560
10413
|
ExtractPropTypes<
|
|
10561
|
-
|
|
10562
|
-
|
|
10414
|
+
__VLS_WithDefaults_3<
|
|
10415
|
+
__VLS_TypePropsToRuntimeProps_3<LinkProps>,
|
|
10563
10416
|
{
|
|
10564
10417
|
target: any;
|
|
10565
10418
|
variant: BentoLinkVariant;
|
|
@@ -10670,7 +10523,7 @@ export { BentoListboxVirtulisationOptions };
|
|
|
10670
10523
|
* `
|
|
10671
10524
|
* }
|
|
10672
10525
|
*/
|
|
10673
|
-
export declare const BentoLoadingButton:
|
|
10526
|
+
export declare const BentoLoadingButton: __VLS_WithTemplateSlots_5<
|
|
10674
10527
|
DefineComponent<
|
|
10675
10528
|
{
|
|
10676
10529
|
/**
|
|
@@ -10983,6 +10836,7 @@ export declare const BentoMenu: DefineComponent<
|
|
|
10983
10836
|
onKeyDown: () => void;
|
|
10984
10837
|
onKeyUp: () => void;
|
|
10985
10838
|
closeMenu: () => void;
|
|
10839
|
+
menuItemClick: () => void;
|
|
10986
10840
|
toggleShowMenu: (e: MouseEvent) => void;
|
|
10987
10841
|
},
|
|
10988
10842
|
{},
|
|
@@ -10990,7 +10844,7 @@ export declare const BentoMenu: DefineComponent<
|
|
|
10990
10844
|
{},
|
|
10991
10845
|
ComponentOptionsMixin,
|
|
10992
10846
|
ComponentOptionsMixin,
|
|
10993
|
-
(BentoMenuEvent.CLOSE | BentoMenuEvent.OPEN)[],
|
|
10847
|
+
(BentoMenuEvent.CLOSE | BentoMenuEvent.OPEN | 'menu-item-click')[],
|
|
10994
10848
|
string,
|
|
10995
10849
|
Readonly<
|
|
10996
10850
|
ExtractPropTypes<{
|
|
@@ -11128,7 +10982,7 @@ export declare interface BentoMenuItem {
|
|
|
11128
10982
|
* `
|
|
11129
10983
|
* };
|
|
11130
10984
|
*/
|
|
11131
|
-
export declare const BentoModal:
|
|
10985
|
+
export declare const BentoModal: __VLS_WithTemplateSlots_18<
|
|
11132
10986
|
DefineComponent<
|
|
11133
10987
|
{
|
|
11134
10988
|
/**
|
|
@@ -11487,7 +11341,7 @@ export declare enum BentoModalEvent {
|
|
|
11487
11341
|
* `
|
|
11488
11342
|
* }
|
|
11489
11343
|
*/
|
|
11490
|
-
export declare const BentoModalFullscreen:
|
|
11344
|
+
export declare const BentoModalFullscreen: __VLS_WithTemplateSlots_19<
|
|
11491
11345
|
DefineComponent<
|
|
11492
11346
|
{
|
|
11493
11347
|
/**
|
|
@@ -11644,7 +11498,7 @@ export declare const BentoModalFullscreen: __VLS_WithTemplateSlots_17<
|
|
|
11644
11498
|
* `
|
|
11645
11499
|
* }
|
|
11646
11500
|
*/
|
|
11647
|
-
export declare const BentoModalFullscreenPage:
|
|
11501
|
+
export declare const BentoModalFullscreenPage: __VLS_WithTemplateSlots_20<
|
|
11648
11502
|
DefineComponent<
|
|
11649
11503
|
{
|
|
11650
11504
|
/**
|
|
@@ -11803,7 +11657,7 @@ export declare const BentoModalFullscreenPage: __VLS_WithTemplateSlots_18<
|
|
|
11803
11657
|
* `
|
|
11804
11658
|
* }
|
|
11805
11659
|
*/
|
|
11806
|
-
export declare const BentoModalPage:
|
|
11660
|
+
export declare const BentoModalPage: __VLS_WithTemplateSlots_17<
|
|
11807
11661
|
DefineComponent<
|
|
11808
11662
|
{
|
|
11809
11663
|
/**
|
|
@@ -13402,7 +13256,7 @@ export declare enum BentoPaymentMethodType {
|
|
|
13402
13256
|
* `
|
|
13403
13257
|
* }
|
|
13404
13258
|
*/
|
|
13405
|
-
export declare const BentoPopover:
|
|
13259
|
+
export declare const BentoPopover: __VLS_WithTemplateSlots_21<
|
|
13406
13260
|
DefineComponent<
|
|
13407
13261
|
{
|
|
13408
13262
|
/**
|
|
@@ -13902,7 +13756,7 @@ export declare type BentoPopoverPositions = PopperContainerPosition;
|
|
|
13902
13756
|
* }
|
|
13903
13757
|
* }
|
|
13904
13758
|
*/
|
|
13905
|
-
export declare const BentoRadioButton:
|
|
13759
|
+
export declare const BentoRadioButton: __VLS_WithTemplateSlots_23<
|
|
13906
13760
|
DefineComponent<
|
|
13907
13761
|
{
|
|
13908
13762
|
/**
|
|
@@ -14153,7 +14007,7 @@ export declare type BentoRadioButtonValue = string | number;
|
|
|
14153
14007
|
* `
|
|
14154
14008
|
* };
|
|
14155
14009
|
*/
|
|
14156
|
-
export declare const BentoRadioGroup:
|
|
14010
|
+
export declare const BentoRadioGroup: __VLS_WithTemplateSlots_22<
|
|
14157
14011
|
DefineComponent<
|
|
14158
14012
|
{
|
|
14159
14013
|
/**
|
|
@@ -14382,11 +14236,11 @@ export declare const BentoRadioGroup: __VLS_WithTemplateSlots_20<
|
|
|
14382
14236
|
variant: 'horizontal' | 'vertical' | BentoRadioGroupVariant;
|
|
14383
14237
|
required: boolean;
|
|
14384
14238
|
disabled: boolean;
|
|
14385
|
-
optional: boolean;
|
|
14386
|
-
readonly: boolean;
|
|
14387
14239
|
tooltipText: string;
|
|
14240
|
+
optional: boolean;
|
|
14388
14241
|
hideLabel: boolean;
|
|
14389
14242
|
errorMessage: string;
|
|
14243
|
+
readonly: boolean;
|
|
14390
14244
|
hasError: boolean;
|
|
14391
14245
|
modelValue: BentoRadioButtonValue;
|
|
14392
14246
|
formId: string;
|
|
@@ -14604,7 +14458,7 @@ export declare interface BentoSearchBarItem {
|
|
|
14604
14458
|
* }
|
|
14605
14459
|
*/
|
|
14606
14460
|
export declare const BentoSecondaryNav: DefineComponent<
|
|
14607
|
-
|
|
14461
|
+
__VLS_TypePropsToRuntimeProps_4<{
|
|
14608
14462
|
/**
|
|
14609
14463
|
* An array containing all the items on the nav. The array can have either {@see BentoSecondaryNavItemsCategory },
|
|
14610
14464
|
* which is used to group different items or {@see BentoSecondaryNavItemsItem } if you don't need to group them.
|
|
@@ -14627,7 +14481,7 @@ export declare const BentoSecondaryNav: DefineComponent<
|
|
|
14627
14481
|
string,
|
|
14628
14482
|
Readonly<
|
|
14629
14483
|
ExtractPropTypes<
|
|
14630
|
-
|
|
14484
|
+
__VLS_TypePropsToRuntimeProps_4<{
|
|
14631
14485
|
/**
|
|
14632
14486
|
* An array containing all the items on the nav. The array can have either {@see BentoSecondaryNavItemsCategory },
|
|
14633
14487
|
* which is used to group different items or {@see BentoSecondaryNavItemsItem } if you don't need to group them.
|
|
@@ -14912,7 +14766,7 @@ export declare type BentoSelectFilterValue = BentoListboxSelectedValue;
|
|
|
14912
14766
|
* `
|
|
14913
14767
|
* }
|
|
14914
14768
|
*/
|
|
14915
|
-
export declare const BentoSelectionCard:
|
|
14769
|
+
export declare const BentoSelectionCard: __VLS_WithTemplateSlots_24<
|
|
14916
14770
|
DefineComponent<
|
|
14917
14771
|
{
|
|
14918
14772
|
/**
|
|
@@ -15107,7 +14961,7 @@ export declare const BentoSelectionCard: __VLS_WithTemplateSlots_22<
|
|
|
15107
14961
|
* `,
|
|
15108
14962
|
* }
|
|
15109
14963
|
*/
|
|
15110
|
-
export declare const BentoSelectionCardGroup:
|
|
14964
|
+
export declare const BentoSelectionCardGroup: __VLS_WithTemplateSlots_25<
|
|
15111
14965
|
DefineComponent<
|
|
15112
14966
|
{
|
|
15113
14967
|
/**
|
|
@@ -15334,12 +15188,12 @@ export declare const BentoSelectionCardGroup: __VLS_WithTemplateSlots_23<
|
|
|
15334
15188
|
variant: BentoSelectionCardGroupVariant;
|
|
15335
15189
|
required: boolean;
|
|
15336
15190
|
disabled: boolean;
|
|
15337
|
-
optional: boolean;
|
|
15338
|
-
readonly: boolean;
|
|
15339
15191
|
layout: BentoSelectionCardGroupLayout;
|
|
15340
15192
|
tooltipText: string;
|
|
15193
|
+
optional: boolean;
|
|
15341
15194
|
hideLabel: boolean;
|
|
15342
15195
|
errorMessage: string;
|
|
15196
|
+
readonly: boolean;
|
|
15343
15197
|
modelValue: BentoSelectionCardModelValue;
|
|
15344
15198
|
formId: string;
|
|
15345
15199
|
}
|
|
@@ -15422,7 +15276,7 @@ export declare type BentoSelectTagFilterOptions = OmitStrict<BentoSelectFilterOp
|
|
|
15422
15276
|
* `
|
|
15423
15277
|
* }
|
|
15424
15278
|
*/
|
|
15425
|
-
export declare const BentoSidepanel:
|
|
15279
|
+
export declare const BentoSidepanel: __VLS_WithTemplateSlots_27<
|
|
15426
15280
|
DefineComponent<
|
|
15427
15281
|
{
|
|
15428
15282
|
/**
|
|
@@ -15540,7 +15394,7 @@ export declare enum BentoSidepanelEvent {
|
|
|
15540
15394
|
* `
|
|
15541
15395
|
* }
|
|
15542
15396
|
*/
|
|
15543
|
-
export declare const BentoSidepanelPage:
|
|
15397
|
+
export declare const BentoSidepanelPage: __VLS_WithTemplateSlots_26<
|
|
15544
15398
|
DefineComponent<
|
|
15545
15399
|
{
|
|
15546
15400
|
/**
|
|
@@ -15766,7 +15620,7 @@ export declare enum BentoStatusVariant {
|
|
|
15766
15620
|
* `
|
|
15767
15621
|
* }
|
|
15768
15622
|
*/
|
|
15769
|
-
export declare const BentoStep:
|
|
15623
|
+
export declare const BentoStep: __VLS_WithTemplateSlots_29<
|
|
15770
15624
|
DefineComponent<
|
|
15771
15625
|
{
|
|
15772
15626
|
/**
|
|
@@ -15840,7 +15694,7 @@ export declare const BentoStep: __VLS_WithTemplateSlots_27<
|
|
|
15840
15694
|
* `
|
|
15841
15695
|
* }
|
|
15842
15696
|
*/
|
|
15843
|
-
export declare const BentoStepper:
|
|
15697
|
+
export declare const BentoStepper: __VLS_WithTemplateSlots_28<
|
|
15844
15698
|
DefineComponent<
|
|
15845
15699
|
{
|
|
15846
15700
|
/**
|
|
@@ -15966,7 +15820,7 @@ export declare enum BentoStepperVariantOption {
|
|
|
15966
15820
|
* `
|
|
15967
15821
|
* }
|
|
15968
15822
|
*/
|
|
15969
|
-
export declare const BentoStructuredList:
|
|
15823
|
+
export declare const BentoStructuredList: __VLS_WithTemplateSlots_30<
|
|
15970
15824
|
DefineComponent<
|
|
15971
15825
|
{
|
|
15972
15826
|
/**
|
|
@@ -17580,12 +17434,12 @@ export declare const BentoTextarea: DefineComponent<
|
|
|
17580
17434
|
label: string;
|
|
17581
17435
|
required: boolean;
|
|
17582
17436
|
disabled: boolean;
|
|
17583
|
-
optional: boolean;
|
|
17584
|
-
readonly: boolean;
|
|
17585
17437
|
height: string;
|
|
17586
17438
|
tooltipText: string;
|
|
17439
|
+
optional: boolean;
|
|
17587
17440
|
errorMessage: string;
|
|
17588
17441
|
ariaLabel: string;
|
|
17442
|
+
readonly: boolean;
|
|
17589
17443
|
placeholder: string;
|
|
17590
17444
|
clearable: boolean;
|
|
17591
17445
|
characterLimit: number;
|
|
@@ -18284,8 +18138,8 @@ export declare const BentoToggle: DefineComponent<
|
|
|
18284
18138
|
{
|
|
18285
18139
|
value: boolean;
|
|
18286
18140
|
disabled: boolean;
|
|
18287
|
-
readonly: boolean;
|
|
18288
18141
|
ariaLabel: string;
|
|
18142
|
+
readonly: boolean;
|
|
18289
18143
|
labelPosition: 'after' | 'before' | BentoToggleLabelPosition;
|
|
18290
18144
|
}
|
|
18291
18145
|
>;
|
|
@@ -18306,7 +18160,7 @@ export declare const BentoToggle: DefineComponent<
|
|
|
18306
18160
|
* `
|
|
18307
18161
|
* }
|
|
18308
18162
|
*/
|
|
18309
|
-
export declare const BentoToggleButton:
|
|
18163
|
+
export declare const BentoToggleButton: __VLS_WithTemplateSlots_6<
|
|
18310
18164
|
DefineComponent<
|
|
18311
18165
|
{
|
|
18312
18166
|
/**
|
|
@@ -18582,10 +18436,10 @@ export declare interface BentoTutorialStep {
|
|
|
18582
18436
|
* `
|
|
18583
18437
|
* }
|
|
18584
18438
|
*/
|
|
18585
|
-
export declare const BentoTypography:
|
|
18439
|
+
export declare const BentoTypography: __VLS_WithTemplateSlots_31<
|
|
18586
18440
|
DefineComponent<
|
|
18587
|
-
|
|
18588
|
-
|
|
18441
|
+
__VLS_WithDefaults_4<
|
|
18442
|
+
__VLS_TypePropsToRuntimeProps_5<{
|
|
18589
18443
|
/**
|
|
18590
18444
|
* Sets the HTML DOM element.
|
|
18591
18445
|
* @values h1, h2, h3, h4, h5, h6, div, p, span
|
|
@@ -18642,8 +18496,8 @@ export declare const BentoTypography: __VLS_WithTemplateSlots_29<
|
|
|
18642
18496
|
string,
|
|
18643
18497
|
Readonly<
|
|
18644
18498
|
ExtractPropTypes<
|
|
18645
|
-
|
|
18646
|
-
|
|
18499
|
+
__VLS_WithDefaults_4<
|
|
18500
|
+
__VLS_TypePropsToRuntimeProps_5<{
|
|
18647
18501
|
/**
|
|
18648
18502
|
* Sets the HTML DOM element.
|
|
18649
18503
|
* @values h1, h2, h3, h4, h5, h6, div, p, span
|
|
@@ -19011,6 +18865,26 @@ export declare type MaybeRef<T> = T | Ref<T>;
|
|
|
19011
18865
|
|
|
19012
18866
|
export declare type OmitStrict<T, K extends keyof T> = Pick<T, Exclude<keyof T, K>>;
|
|
19013
18867
|
|
|
18868
|
+
declare type OnClickOutsideHandler = (evt: PointerEvent | FocusEvent) => void;
|
|
18869
|
+
|
|
18870
|
+
declare interface OnClickOutsideOptions {
|
|
18871
|
+
/**
|
|
18872
|
+
* List of elements that should not trigger the event.
|
|
18873
|
+
*/
|
|
18874
|
+
ignore?: (MaybeElementRef | string)[];
|
|
18875
|
+
/**
|
|
18876
|
+
* Use capturing phase for internal event listener.
|
|
18877
|
+
* @default true
|
|
18878
|
+
*/
|
|
18879
|
+
capture?: boolean;
|
|
18880
|
+
/**
|
|
18881
|
+
* Run handler function if focus moves to an iframe.
|
|
18882
|
+
* @default false
|
|
18883
|
+
*/
|
|
18884
|
+
detectIframe?: boolean;
|
|
18885
|
+
window?: Window;
|
|
18886
|
+
}
|
|
18887
|
+
|
|
19014
18888
|
declare const plugin: PluginObject<BentoVuePlugin>;
|
|
19015
18889
|
export default plugin;
|
|
19016
18890
|
|
|
@@ -19082,6 +18956,19 @@ export declare type UseBentoToastController = ToastStack;
|
|
|
19082
18956
|
|
|
19083
18957
|
export declare function useBentoToastController(): UseBentoToastController;
|
|
19084
18958
|
|
|
18959
|
+
/**
|
|
18960
|
+
* Composable to listen for clicks outside of an element ref.
|
|
18961
|
+
*
|
|
18962
|
+
* @param {MaybeElementRef} target - HTML Element or "ref" to an Element on which the click outside listener will be attached to
|
|
18963
|
+
* @param {OnClickOutsideHandler} handler - Function that will be called when the listener gets triggered
|
|
18964
|
+
* @param {OnClickOutsideOptions} options - Options to be passed to the listener
|
|
18965
|
+
*/
|
|
18966
|
+
export declare const useClickOutside: <T extends OnClickOutsideOptions>(
|
|
18967
|
+
target: MaybeElementRef,
|
|
18968
|
+
handler: OnClickOutsideHandler,
|
|
18969
|
+
options?: T
|
|
18970
|
+
) => void;
|
|
18971
|
+
|
|
19085
18972
|
/**
|
|
19086
18973
|
* Maps an ISO code to the country's translated capital city.
|
|
19087
18974
|
*
|