@adyen/bento-vue2 1.25.0 → 1.27.0
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/dist/@types/components.d.ts +4 -0
- package/dist/@types/index.d.ts +582 -237
- package/dist/accordion.js +2 -2
- package/dist/action-bar.js +61 -146
- package/dist/action-bar.js.map +1 -1
- package/dist/alert.js +3 -3
- package/dist/assets/base-modal.css +1 -1
- package/dist/assets/button-actions.css +1 -1
- package/dist/assets/button.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/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/index46.css +1 -1
- package/dist/assets/index47.css +1 -1
- package/dist/assets/index48.css +1 -1
- package/dist/assets/index49.css +1 -0
- 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/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 +3 -3
- package/dist/checkbox.js +5 -5
- package/dist/chunks/{base-button.773343f6.js → base-button.852204dc.js} +2 -2
- package/dist/chunks/{base-button.773343f6.js.map → base-button.852204dc.js.map} +1 -1
- package/dist/chunks/{base-modal.2d596e6f.js → base-modal.4fb7528b.js} +6 -6
- package/dist/chunks/{base-modal.2d596e6f.js.map → base-modal.4fb7528b.js.map} +1 -1
- package/dist/chunks/{button-actions-with-menu.d08d2c51.js → button-actions-with-menu.bf968959.js} +4 -4
- package/dist/chunks/{button-actions-with-menu.d08d2c51.js.map → button-actions-with-menu.bf968959.js.map} +1 -1
- package/dist/chunks/{button-actions.a03a672f.js → button-actions.87e589e3.js} +31 -29
- package/dist/chunks/button-actions.87e589e3.js.map +1 -0
- package/dist/chunks/button.cb90b55c.js +101 -0
- package/dist/chunks/button.cb90b55c.js.map +1 -0
- package/dist/chunks/{calendar.7d3e2db0.js → calendar.f02e0a5a.js} +5 -5
- package/dist/chunks/{calendar.7d3e2db0.js.map → calendar.f02e0a5a.js.map} +1 -1
- package/dist/chunks/{checkbox.28578383.js → checkbox.9f9c978a.js} +3 -3
- package/dist/chunks/{checkbox.28578383.js.map → checkbox.9f9c978a.js.map} +1 -1
- package/dist/chunks/{controls-group.faa482b2.js → controls-group.121a307d.js} +3 -3
- package/dist/chunks/{controls-group.faa482b2.js.map → controls-group.121a307d.js.map} +1 -1
- package/dist/chunks/{copy.3c50b447.js → copy.6808b2dc.js} +4 -4
- package/dist/chunks/{copy.3c50b447.js.map → copy.6808b2dc.js.map} +1 -1
- package/dist/chunks/{dialog-page.286ead53.js → dialog-page.7fd7d006.js} +3 -3
- package/dist/chunks/{dialog-page.286ead53.js.map → dialog-page.7fd7d006.js.map} +1 -1
- package/dist/chunks/{dropdown-default-textbox.a1c0c0fb.js → dropdown-default-textbox.d0f17d96.js} +3 -3
- package/dist/chunks/{dropdown-default-textbox.a1c0c0fb.js.map → dropdown-default-textbox.d0f17d96.js.map} +1 -1
- package/dist/chunks/{dropdown.7d4a8dfc.js → dropdown.a8037bca.js} +192 -201
- package/dist/chunks/dropdown.a8037bca.js.map +1 -0
- package/dist/chunks/{error-message.db315e68.js → error-message.bdcc1020.js} +2 -2
- package/dist/chunks/{error-message.db315e68.js.map → error-message.bdcc1020.js.map} +1 -1
- package/dist/chunks/{events.58c00e6d.js → events.f14a214b.js} +5 -5
- package/dist/chunks/events.f14a214b.js.map +1 -0
- package/dist/chunks/{fixed-scroller.3135f86c.js → fixed-scroller.82ef6187.js} +2 -2
- package/dist/chunks/{fixed-scroller.3135f86c.js.map → fixed-scroller.82ef6187.js.map} +1 -1
- package/dist/chunks/{footer-actions.32891b25.js → footer-actions.58d14a16.js} +4 -4
- package/dist/chunks/{footer-actions.32891b25.js.map → footer-actions.58d14a16.js.map} +1 -1
- package/dist/chunks/{index.ec632d95.js → index.0a30d358.js} +6 -6
- package/dist/chunks/{index.ec632d95.js.map → index.0a30d358.js.map} +1 -1
- package/dist/chunks/{index.596c4d0a.js → index.1deef79e.js} +2 -2
- package/dist/chunks/{index.596c4d0a.js.map → index.1deef79e.js.map} +1 -1
- package/dist/chunks/index.3c69be27.js +85 -0
- package/dist/chunks/index.3c69be27.js.map +1 -0
- package/dist/chunks/index.561786f6.js +126 -0
- package/dist/chunks/index.561786f6.js.map +1 -0
- package/dist/chunks/{index.9e40ffeb.js → index.614a5138.js} +2 -2
- package/dist/chunks/{index.9e40ffeb.js.map → index.614a5138.js.map} +1 -1
- package/dist/chunks/{index.4b6211c7.js → index.854d6498.js} +27 -27
- package/dist/chunks/{index.4b6211c7.js.map → index.854d6498.js.map} +1 -1
- package/dist/chunks/{index.30948302.js → index.a48e7f99.js} +5 -5
- package/dist/chunks/{index.30948302.js.map → index.a48e7f99.js.map} +1 -1
- package/dist/chunks/{index.444d221f.js → index.bd1d28d0.js} +3 -3
- package/dist/chunks/{index.444d221f.js.map → index.bd1d28d0.js.map} +1 -1
- package/dist/chunks/{index.94acf214.js → index.c8621e8e.js} +3 -3
- package/dist/chunks/{index.94acf214.js.map → index.c8621e8e.js.map} +1 -1
- package/dist/chunks/{index.9536a077.js → index.ccc7e8d7.js} +3 -3
- package/dist/chunks/{index.9536a077.js.map → index.ccc7e8d7.js.map} +1 -1
- package/dist/chunks/{index.d97166c6.js → index.e29a6907.js} +3 -3
- package/dist/chunks/index.e29a6907.js.map +1 -0
- package/dist/chunks/{keyboard-navigation.ca47dfa8.js → keyboard-navigation.bbc3d15c.js} +2 -2
- package/dist/chunks/{keyboard-navigation.ca47dfa8.js.map → keyboard-navigation.bbc3d15c.js.map} +1 -1
- package/dist/chunks/{listbox-option-tag.95a65534.js → listbox-option-tag.8708be60.js} +3 -3
- package/dist/chunks/{listbox-option-tag.95a65534.js.map → listbox-option-tag.8708be60.js.map} +1 -1
- package/dist/chunks/{loading-button.e8060c04.js → loading-button.692dbdc8.js} +2 -2
- package/dist/chunks/{loading-button.e8060c04.js.map → loading-button.692dbdc8.js.map} +1 -1
- package/dist/chunks/{payment-method.564ed43a.js → payment-method.c55dd352.js} +2 -2
- package/dist/chunks/{payment-method.564ed43a.js.map → payment-method.c55dd352.js.map} +1 -1
- package/dist/chunks/{tooltip.e5deb137.js → tooltip.efddb5f3.js} +4 -4
- package/dist/chunks/{tooltip.e5deb137.js.map → tooltip.efddb5f3.js.map} +1 -1
- package/dist/chunks/{use-bento-toast-controller.8414d283.js → use-bento-toast-controller.5dac1f3c.js} +2 -2
- package/dist/chunks/{use-bento-toast-controller.8414d283.js.map → use-bento-toast-controller.5dac1f3c.js.map} +1 -1
- package/dist/chunks/{use-cached-selected-values.3772a679.js → use-cached-selected-values.98a9ed01.js} +225 -206
- package/dist/chunks/use-cached-selected-values.98a9ed01.js.map +1 -0
- package/dist/code-snippet.js +131 -129
- package/dist/code-snippet.js.map +1 -1
- package/dist/country.js +2 -2
- package/dist/currency.js +1 -1
- package/dist/dashboard-template.js +109 -0
- package/dist/dashboard-template.js.map +1 -0
- package/dist/data-grid-template.js +1 -1
- package/dist/data-grid.js +903 -866
- 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/dropdown.js +7 -7
- package/dist/empty-state.js +3 -3
- package/dist/filter-bar.js +76 -74
- 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 +81 -78
- package/dist/index.js.map +1 -1
- package/dist/info-icon.js +3 -3
- package/dist/input-field.js +4 -4
- package/dist/internal.js +8 -8
- 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 +4 -4
- package/dist/search-bar.js +2 -2
- package/dist/secondary-nav.js +2 -2
- package/dist/segmented-control.js +40 -41
- package/dist/segmented-control.js.map +1 -1
- package/dist/selection-card.js +4 -4
- package/dist/sidepanel.js +6 -6
- package/dist/status.js +2 -2
- package/dist/stepper.js +4 -4
- package/dist/structured-list.js +1 -1
- package/dist/summary-grid.js +3 -3
- package/dist/tabs.js +72 -71
- 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 +123 -87
- package/dist/tutorial.js.map +1 -1
- package/dist/typography.js +1 -1
- package/dist/web-types.json +174 -77
- package/package.json +9 -6
- package/dist/chunks/button-actions.a03a672f.js.map +0 -1
- package/dist/chunks/button.e5f5638f.js +0 -100
- package/dist/chunks/button.e5f5638f.js.map +0 -1
- package/dist/chunks/checkmark.a6ed8f47.js +0 -26
- package/dist/chunks/checkmark.a6ed8f47.js.map +0 -1
- package/dist/chunks/dropdown.7d4a8dfc.js.map +0 -1
- package/dist/chunks/events.58c00e6d.js.map +0 -1
- package/dist/chunks/index.81e509f3.js +0 -147
- package/dist/chunks/index.81e509f3.js.map +0 -1
- package/dist/chunks/index.d97166c6.js.map +0 -1
- package/dist/chunks/use-cached-selected-values.3772a679.js.map +0 -1
package/dist/@types/index.d.ts
CHANGED
|
@@ -1,3 +1,5 @@
|
|
|
1
|
+
import { ComponentCustomProperties } from 'vue';
|
|
2
|
+
import { ComponentOptionsBase } from 'vue/types/v3-component-options';
|
|
1
3
|
import { ComponentOptionsMixin } from 'vue/types/v3-component-options';
|
|
2
4
|
import { ComponentOptionsMixin as ComponentOptionsMixin_2 } from 'vue/types/v3-component-options.js';
|
|
3
5
|
import type { ComponentPublicInstance } from 'vue';
|
|
@@ -9,6 +11,7 @@ import { DefineComponent } from 'vue';
|
|
|
9
11
|
import { DirectiveBinding } from 'vue';
|
|
10
12
|
import type { DirectiveHook } from 'vue';
|
|
11
13
|
import { EditorView } from '@codemirror/view';
|
|
14
|
+
import { ExtractComputedReturns } from 'vue/types/v3-component-options';
|
|
12
15
|
import { ExtractPropTypes } from 'vue';
|
|
13
16
|
import { Placement } from '@floating-ui/vue';
|
|
14
17
|
import type { PluginObject } from 'vue';
|
|
@@ -16,9 +19,11 @@ import { PropType } from 'vue';
|
|
|
16
19
|
import { Ref } from 'vue';
|
|
17
20
|
import { RouterLinkProps } from 'vue-router/types/router';
|
|
18
21
|
import { ShallowRef } from 'vue';
|
|
22
|
+
import { ShallowUnwrapRef } from 'vue';
|
|
19
23
|
import type { typeToFlattenedError } from 'zod';
|
|
20
24
|
import { UnwrapRef } from 'vue';
|
|
21
25
|
import { VNode } from 'vue';
|
|
26
|
+
import { Vue3Instance } from 'vue/types/v3-component-public-instance';
|
|
22
27
|
import * as z from 'zod';
|
|
23
28
|
import type { ZodSchema } from 'zod';
|
|
24
29
|
|
|
@@ -32,6 +37,14 @@ declare type __VLS_NonUndefinedable_4<T> = T extends undefined ? never : T;
|
|
|
32
37
|
|
|
33
38
|
declare type __VLS_NonUndefinedable_5<T> = T extends undefined ? never : T;
|
|
34
39
|
|
|
40
|
+
declare type __VLS_NonUndefinedable_6<T> = T extends undefined ? never : T;
|
|
41
|
+
|
|
42
|
+
declare type __VLS_NonUndefinedable_7<T> = T extends undefined ? never : T;
|
|
43
|
+
|
|
44
|
+
declare type __VLS_NonUndefinedable_8<T> = T extends undefined ? never : T;
|
|
45
|
+
|
|
46
|
+
declare type __VLS_NonUndefinedable_9<T> = T extends undefined ? never : T;
|
|
47
|
+
|
|
35
48
|
declare type __VLS_TypePropsToRuntimeProps<T> = {
|
|
36
49
|
[K in keyof T]-?: {} extends Pick<T, K>
|
|
37
50
|
? {
|
|
@@ -87,6 +100,50 @@ declare type __VLS_TypePropsToRuntimeProps_5<T> = {
|
|
|
87
100
|
};
|
|
88
101
|
};
|
|
89
102
|
|
|
103
|
+
declare type __VLS_TypePropsToRuntimeProps_6<T> = {
|
|
104
|
+
[K in keyof T]-?: {} extends Pick<T, K>
|
|
105
|
+
? {
|
|
106
|
+
type: PropType<__VLS_NonUndefinedable_6<T[K]>>;
|
|
107
|
+
}
|
|
108
|
+
: {
|
|
109
|
+
type: PropType<T[K]>;
|
|
110
|
+
required: true;
|
|
111
|
+
};
|
|
112
|
+
};
|
|
113
|
+
|
|
114
|
+
declare type __VLS_TypePropsToRuntimeProps_7<T> = {
|
|
115
|
+
[K in keyof T]-?: {} extends Pick<T, K>
|
|
116
|
+
? {
|
|
117
|
+
type: PropType<__VLS_NonUndefinedable_7<T[K]>>;
|
|
118
|
+
}
|
|
119
|
+
: {
|
|
120
|
+
type: PropType<T[K]>;
|
|
121
|
+
required: true;
|
|
122
|
+
};
|
|
123
|
+
};
|
|
124
|
+
|
|
125
|
+
declare type __VLS_TypePropsToRuntimeProps_8<T> = {
|
|
126
|
+
[K in keyof T]-?: {} extends Pick<T, K>
|
|
127
|
+
? {
|
|
128
|
+
type: PropType<__VLS_NonUndefinedable_8<T[K]>>;
|
|
129
|
+
}
|
|
130
|
+
: {
|
|
131
|
+
type: PropType<T[K]>;
|
|
132
|
+
required: true;
|
|
133
|
+
};
|
|
134
|
+
};
|
|
135
|
+
|
|
136
|
+
declare type __VLS_TypePropsToRuntimeProps_9<T> = {
|
|
137
|
+
[K in keyof T]-?: {} extends Pick<T, K>
|
|
138
|
+
? {
|
|
139
|
+
type: PropType<__VLS_NonUndefinedable_9<T[K]>>;
|
|
140
|
+
}
|
|
141
|
+
: {
|
|
142
|
+
type: PropType<T[K]>;
|
|
143
|
+
required: true;
|
|
144
|
+
};
|
|
145
|
+
};
|
|
146
|
+
|
|
90
147
|
declare type __VLS_WithDefaults<P, D> = {
|
|
91
148
|
[K in keyof Pick<P, keyof P>]: K extends keyof D
|
|
92
149
|
? P[K] & {
|
|
@@ -119,6 +176,30 @@ declare type __VLS_WithDefaults_4<P, D> = {
|
|
|
119
176
|
: P[K];
|
|
120
177
|
};
|
|
121
178
|
|
|
179
|
+
declare type __VLS_WithDefaults_5<P, D> = {
|
|
180
|
+
[K in keyof Pick<P, keyof P>]: K extends keyof D
|
|
181
|
+
? P[K] & {
|
|
182
|
+
default: D[K];
|
|
183
|
+
}
|
|
184
|
+
: P[K];
|
|
185
|
+
};
|
|
186
|
+
|
|
187
|
+
declare type __VLS_WithDefaults_6<P, D> = {
|
|
188
|
+
[K in keyof Pick<P, keyof P>]: K extends keyof D
|
|
189
|
+
? P[K] & {
|
|
190
|
+
default: D[K];
|
|
191
|
+
}
|
|
192
|
+
: P[K];
|
|
193
|
+
};
|
|
194
|
+
|
|
195
|
+
declare type __VLS_WithDefaults_7<P, D> = {
|
|
196
|
+
[K in keyof Pick<P, keyof P>]: K extends keyof D
|
|
197
|
+
? P[K] & {
|
|
198
|
+
default: D[K];
|
|
199
|
+
}
|
|
200
|
+
: P[K];
|
|
201
|
+
};
|
|
202
|
+
|
|
122
203
|
declare type __VLS_WithTemplateSlots<T, S> = T & {
|
|
123
204
|
new (): {
|
|
124
205
|
$slots: S;
|
|
@@ -275,6 +356,24 @@ declare type __VLS_WithTemplateSlots_32<T, S> = T & {
|
|
|
275
356
|
};
|
|
276
357
|
};
|
|
277
358
|
|
|
359
|
+
declare type __VLS_WithTemplateSlots_33<T, S> = T & {
|
|
360
|
+
new (): {
|
|
361
|
+
$slots: S;
|
|
362
|
+
};
|
|
363
|
+
};
|
|
364
|
+
|
|
365
|
+
declare type __VLS_WithTemplateSlots_34<T, S> = T & {
|
|
366
|
+
new (): {
|
|
367
|
+
$slots: S;
|
|
368
|
+
};
|
|
369
|
+
};
|
|
370
|
+
|
|
371
|
+
declare type __VLS_WithTemplateSlots_35<T, S> = T & {
|
|
372
|
+
new (): {
|
|
373
|
+
$slots: S;
|
|
374
|
+
};
|
|
375
|
+
};
|
|
376
|
+
|
|
278
377
|
declare type __VLS_WithTemplateSlots_4<T, S> = T & {
|
|
279
378
|
new (): {
|
|
280
379
|
$slots: S;
|
|
@@ -942,10 +1041,11 @@ export declare interface BentoButtonActionObject extends BentoButtonProps {
|
|
|
942
1041
|
iconLeft?: VueNodeElement;
|
|
943
1042
|
iconRight?: VueNodeElement;
|
|
944
1043
|
state?: BentoLoadingButtonState | `${BentoLoadingButtonState}`;
|
|
1044
|
+
iconOnly?: boolean;
|
|
945
1045
|
}
|
|
946
1046
|
|
|
947
1047
|
/**
|
|
948
|
-
* ButtonActions component
|
|
1048
|
+
* ButtonActions component manages a set of actions a user can choose from by displaying a group of buttons.
|
|
949
1049
|
*
|
|
950
1050
|
* @example
|
|
951
1051
|
* import { BentoButtonActions } from '@adyen/bento-vue2';
|
|
@@ -2150,7 +2250,7 @@ export declare const BentoCodeSnippet: DefineComponent<
|
|
|
2150
2250
|
* Language name for syntax highlighting rules
|
|
2151
2251
|
*/
|
|
2152
2252
|
lang: {
|
|
2153
|
-
type: PropType<'json' | 'xml' | 'java' | 'javascript' | BentoCodeSnippetSupportedLanguage>;
|
|
2253
|
+
type: PropType<'json' | 'xml' | 'java' | 'javascript' | 'python' | BentoCodeSnippetSupportedLanguage>;
|
|
2154
2254
|
default: BentoCodeSnippetSupportedLanguage;
|
|
2155
2255
|
validator: (value: BentoCodeSnippetSupportedLanguage) => boolean;
|
|
2156
2256
|
};
|
|
@@ -2249,7 +2349,7 @@ export declare const BentoCodeSnippet: DefineComponent<
|
|
|
2249
2349
|
* Language name for syntax highlighting rules
|
|
2250
2350
|
*/
|
|
2251
2351
|
lang: {
|
|
2252
|
-
type: PropType<'json' | 'xml' | 'java' | 'javascript' | BentoCodeSnippetSupportedLanguage>;
|
|
2352
|
+
type: PropType<'json' | 'xml' | 'java' | 'javascript' | 'python' | BentoCodeSnippetSupportedLanguage>;
|
|
2253
2353
|
default: BentoCodeSnippetSupportedLanguage;
|
|
2254
2354
|
validator: (value: BentoCodeSnippetSupportedLanguage) => boolean;
|
|
2255
2355
|
};
|
|
@@ -2312,7 +2412,7 @@ export declare const BentoCodeSnippet: DefineComponent<
|
|
|
2312
2412
|
content: string;
|
|
2313
2413
|
loading: boolean;
|
|
2314
2414
|
expandable: boolean;
|
|
2315
|
-
lang: 'json' | 'xml' | 'java' | 'javascript' | BentoCodeSnippetSupportedLanguage;
|
|
2415
|
+
lang: 'json' | 'xml' | 'java' | 'javascript' | 'python' | BentoCodeSnippetSupportedLanguage;
|
|
2316
2416
|
langLabel: string;
|
|
2317
2417
|
editable: boolean;
|
|
2318
2418
|
actionable: boolean;
|
|
@@ -2333,6 +2433,7 @@ export declare enum BentoCodeSnippetSupportedLanguage {
|
|
|
2333
2433
|
XML = 'xml',
|
|
2334
2434
|
JAVA = 'java',
|
|
2335
2435
|
JAVASCRIPT = 'javascript',
|
|
2436
|
+
PYTHON = 'python',
|
|
2336
2437
|
}
|
|
2337
2438
|
|
|
2338
2439
|
/**
|
|
@@ -2370,13 +2471,23 @@ declare type BentoColumnCellAction = OmitStrict<
|
|
|
2370
2471
|
'variant' | 'event' | 'title' | 'icon' | 'state'
|
|
2371
2472
|
> & {
|
|
2372
2473
|
title?: string;
|
|
2373
|
-
event?:
|
|
2474
|
+
event?: BentoColumnCellActionEvent;
|
|
2374
2475
|
isShort?: true;
|
|
2375
2476
|
variant?: BentoColumnCellActionVariant;
|
|
2376
|
-
menuData?:
|
|
2477
|
+
menuData?: BentoColumnCellActionMenuItem[];
|
|
2377
2478
|
getCopyData?: (rowDataItem: BentoDatagridDataItem, columnKey: string) => string;
|
|
2378
2479
|
};
|
|
2379
2480
|
|
|
2481
|
+
declare type BentoColumnCellActionEvent = (rowDataItem: BentoDatagridDataItem, columnKey: string) => void;
|
|
2482
|
+
|
|
2483
|
+
declare type BentoColumnCellActionMenuItem = {
|
|
2484
|
+
/**
|
|
2485
|
+
* @deprecated This property will be removed in version 2.0, please use `event` instead.
|
|
2486
|
+
*/
|
|
2487
|
+
handler?: BentoMenuItem['handler'];
|
|
2488
|
+
event?: BentoColumnCellActionEvent;
|
|
2489
|
+
} & OmitStrict<BentoMenuItem, 'handler'>;
|
|
2490
|
+
|
|
2380
2491
|
declare type BentoColumnCellActions = BentoColumnCellAction[];
|
|
2381
2492
|
|
|
2382
2493
|
declare type BentoColumnCellActionVariant = 'copy' | 'edit' | 'open' | 'more';
|
|
@@ -4276,6 +4387,206 @@ export declare type BentoCurrencyListboxOptionItem = OmitStrict<BentoListboxOpti
|
|
|
4276
4387
|
|
|
4277
4388
|
export declare type BentoCurrencyListboxOptions = BentoCurrencyListboxOptionItem[];
|
|
4278
4389
|
|
|
4390
|
+
/**
|
|
4391
|
+
* Dashboard section is subcomponent of Dashboard template meant to be used to create the different sections within the page.
|
|
4392
|
+
*
|
|
4393
|
+
* @example
|
|
4394
|
+
* import { BentoDashboardSection } from '@adyen/bento-vue2';
|
|
4395
|
+
*
|
|
4396
|
+
* export default {
|
|
4397
|
+
* components: { BentoDashboardSection },
|
|
4398
|
+
* template: `
|
|
4399
|
+
* <bento-dashboard-section :header="{ title: 'Section' }" half-width>
|
|
4400
|
+
* <template #controls>
|
|
4401
|
+
* // Add your controls here
|
|
4402
|
+
* </template>
|
|
4403
|
+
* // You can render content with two cols
|
|
4404
|
+
* <template #content-col-1>
|
|
4405
|
+
* // Add your content here
|
|
4406
|
+
* </template>
|
|
4407
|
+
* <template #content-col-2>
|
|
4408
|
+
* // Add your content here
|
|
4409
|
+
* </template>
|
|
4410
|
+
* // Or you can render full width content by using default slot
|
|
4411
|
+
* // Add your content here
|
|
4412
|
+
* </bento-dashboard-section>
|
|
4413
|
+
* `
|
|
4414
|
+
* }
|
|
4415
|
+
*/
|
|
4416
|
+
export declare const BentoDashboardSection: __VLS_WithTemplateSlots_34<
|
|
4417
|
+
DefineComponent<
|
|
4418
|
+
__VLS_WithDefaults_7<
|
|
4419
|
+
__VLS_TypePropsToRuntimeProps_9<{
|
|
4420
|
+
/**
|
|
4421
|
+
* The header of the section
|
|
4422
|
+
*/
|
|
4423
|
+
header: BentoDashboardTemplateHeader;
|
|
4424
|
+
/**
|
|
4425
|
+
* Renders the section to take only half of the page
|
|
4426
|
+
*/
|
|
4427
|
+
halfWidth?: boolean;
|
|
4428
|
+
}>,
|
|
4429
|
+
{
|
|
4430
|
+
halfWidth: boolean;
|
|
4431
|
+
}
|
|
4432
|
+
>,
|
|
4433
|
+
{},
|
|
4434
|
+
{},
|
|
4435
|
+
{},
|
|
4436
|
+
{},
|
|
4437
|
+
ComponentOptionsMixin,
|
|
4438
|
+
ComponentOptionsMixin,
|
|
4439
|
+
{},
|
|
4440
|
+
string,
|
|
4441
|
+
Readonly<
|
|
4442
|
+
ExtractPropTypes<
|
|
4443
|
+
__VLS_WithDefaults_7<
|
|
4444
|
+
__VLS_TypePropsToRuntimeProps_9<{
|
|
4445
|
+
/**
|
|
4446
|
+
* The header of the section
|
|
4447
|
+
*/
|
|
4448
|
+
header: BentoDashboardTemplateHeader;
|
|
4449
|
+
/**
|
|
4450
|
+
* Renders the section to take only half of the page
|
|
4451
|
+
*/
|
|
4452
|
+
halfWidth?: boolean;
|
|
4453
|
+
}>,
|
|
4454
|
+
{
|
|
4455
|
+
halfWidth: boolean;
|
|
4456
|
+
}
|
|
4457
|
+
>
|
|
4458
|
+
>
|
|
4459
|
+
>,
|
|
4460
|
+
{
|
|
4461
|
+
halfWidth: boolean;
|
|
4462
|
+
}
|
|
4463
|
+
>,
|
|
4464
|
+
{
|
|
4465
|
+
infoIconTooltipContent: (_: {}) => any;
|
|
4466
|
+
controls: (_: {}) => any;
|
|
4467
|
+
default: (_: {}) => any;
|
|
4468
|
+
'content-col-1': (_: {}) => any;
|
|
4469
|
+
'content-col-2': (_: {}) => any;
|
|
4470
|
+
}
|
|
4471
|
+
>;
|
|
4472
|
+
|
|
4473
|
+
/**
|
|
4474
|
+
* Dashboard template is a full page template used to visualize data on pages such as data dashboards and reports.
|
|
4475
|
+
*
|
|
4476
|
+
* @example
|
|
4477
|
+
* import { BentoDashboardTemplate, BentoDashboardSection } from '@adyen/bento-vue2';
|
|
4478
|
+
*
|
|
4479
|
+
* export default {
|
|
4480
|
+
* components: { BentoDashboardTemplate, BentoDashboardSection },
|
|
4481
|
+
* template: `
|
|
4482
|
+
* <bento-dashboard-template :header="{ title: 'Dashboard'}" :tabs="tabs: [{ title: 'Tab 1' }, { title: 'Tab 2' }]" sticky-tabs sticky-filters>
|
|
4483
|
+
* <template #tab-1>
|
|
4484
|
+
* <bento-dashboard-section :header="{ title: 'Section'}">
|
|
4485
|
+
* <template #controls>
|
|
4486
|
+
* // Add your controls here
|
|
4487
|
+
* </template>
|
|
4488
|
+
* // Add your content here
|
|
4489
|
+
* </bento-dashboard-section>
|
|
4490
|
+
* </template>
|
|
4491
|
+
* <template #tab-2>
|
|
4492
|
+
* <bento-dashboard-section :header="{ title: 'Section'}">
|
|
4493
|
+
* // Add your content here
|
|
4494
|
+
* </bento-dashboard-section>
|
|
4495
|
+
* </template>
|
|
4496
|
+
* </bento-dashboard-template>
|
|
4497
|
+
* `
|
|
4498
|
+
* }
|
|
4499
|
+
*/
|
|
4500
|
+
export declare const BentoDashboardTemplate: __VLS_WithTemplateSlots_33<
|
|
4501
|
+
DefineComponent<
|
|
4502
|
+
__VLS_WithDefaults_6<
|
|
4503
|
+
__VLS_TypePropsToRuntimeProps_8<{
|
|
4504
|
+
/**
|
|
4505
|
+
* The header that goes to the top of the template
|
|
4506
|
+
*/
|
|
4507
|
+
header: BentoDashboardTemplateHeader;
|
|
4508
|
+
/**
|
|
4509
|
+
* All the tab properties that can be set on the inner tab components.
|
|
4510
|
+
* - tabs.activeTabIndex: the currently active tab index.
|
|
4511
|
+
* - tabs.tabs: an array of BentoTab props, the first item in the array will affect the `tab-1` slot and so on.
|
|
4512
|
+
*/
|
|
4513
|
+
tabs?: BentoDashboardTemplateTabs;
|
|
4514
|
+
/**
|
|
4515
|
+
* Renders the tabs with a sticky positioning
|
|
4516
|
+
*/
|
|
4517
|
+
stickyTabs?: boolean;
|
|
4518
|
+
/**
|
|
4519
|
+
* Renders the tabs with a sticky positioning
|
|
4520
|
+
*/
|
|
4521
|
+
stickyFilters?: boolean;
|
|
4522
|
+
}>,
|
|
4523
|
+
{
|
|
4524
|
+
tabs: any;
|
|
4525
|
+
stickyTabs: boolean;
|
|
4526
|
+
stickyFilters: boolean;
|
|
4527
|
+
}
|
|
4528
|
+
>,
|
|
4529
|
+
{},
|
|
4530
|
+
{},
|
|
4531
|
+
{},
|
|
4532
|
+
{},
|
|
4533
|
+
ComponentOptionsMixin,
|
|
4534
|
+
ComponentOptionsMixin,
|
|
4535
|
+
{},
|
|
4536
|
+
string,
|
|
4537
|
+
Readonly<
|
|
4538
|
+
ExtractPropTypes<
|
|
4539
|
+
__VLS_WithDefaults_6<
|
|
4540
|
+
__VLS_TypePropsToRuntimeProps_8<{
|
|
4541
|
+
/**
|
|
4542
|
+
* The header that goes to the top of the template
|
|
4543
|
+
*/
|
|
4544
|
+
header: BentoDashboardTemplateHeader;
|
|
4545
|
+
/**
|
|
4546
|
+
* All the tab properties that can be set on the inner tab components.
|
|
4547
|
+
* - tabs.activeTabIndex: the currently active tab index.
|
|
4548
|
+
* - tabs.tabs: an array of BentoTab props, the first item in the array will affect the `tab-1` slot and so on.
|
|
4549
|
+
*/
|
|
4550
|
+
tabs?: BentoDashboardTemplateTabs;
|
|
4551
|
+
/**
|
|
4552
|
+
* Renders the tabs with a sticky positioning
|
|
4553
|
+
*/
|
|
4554
|
+
stickyTabs?: boolean;
|
|
4555
|
+
/**
|
|
4556
|
+
* Renders the tabs with a sticky positioning
|
|
4557
|
+
*/
|
|
4558
|
+
stickyFilters?: boolean;
|
|
4559
|
+
}>,
|
|
4560
|
+
{
|
|
4561
|
+
tabs: any;
|
|
4562
|
+
stickyTabs: boolean;
|
|
4563
|
+
stickyFilters: boolean;
|
|
4564
|
+
}
|
|
4565
|
+
>
|
|
4566
|
+
>
|
|
4567
|
+
>,
|
|
4568
|
+
{
|
|
4569
|
+
tabs: BentoDashboardTemplateTabs;
|
|
4570
|
+
stickyFilters: boolean;
|
|
4571
|
+
stickyTabs: boolean;
|
|
4572
|
+
}
|
|
4573
|
+
>,
|
|
4574
|
+
Record<string, (_: {}) => any> & {
|
|
4575
|
+
infoIconTooltipContent: (_: {}) => any;
|
|
4576
|
+
filters: (_: {}) => any;
|
|
4577
|
+
default: (_: {}) => any;
|
|
4578
|
+
}
|
|
4579
|
+
>;
|
|
4580
|
+
|
|
4581
|
+
export declare type BentoDashboardTemplateHeader = InstanceType<typeof BentoHeader>['$props'];
|
|
4582
|
+
|
|
4583
|
+
export declare type BentoDashboardTemplateTab = InstanceType<typeof BentoTab>['$props'];
|
|
4584
|
+
|
|
4585
|
+
export declare type BentoDashboardTemplateTabs = {
|
|
4586
|
+
activeTabIndex?: number;
|
|
4587
|
+
tabs: BentoDashboardTemplateTab[];
|
|
4588
|
+
};
|
|
4589
|
+
|
|
4279
4590
|
/**
|
|
4280
4591
|
* A component to display data in columns and row format with a whole array of configuration for visualization and interaction.
|
|
4281
4592
|
*
|
|
@@ -4398,8 +4709,15 @@ export declare const BentoDataGrid: __VLS_WithTemplateSlots_7<
|
|
|
4398
4709
|
description: {
|
|
4399
4710
|
type: StringConstructor;
|
|
4400
4711
|
default: any;
|
|
4401
|
-
}
|
|
4712
|
+
}
|
|
4713
|
+
/**
|
|
4714
|
+
* If resize is enabled
|
|
4715
|
+
*/;
|
|
4402
4716
|
headingEl: {
|
|
4717
|
+
/**
|
|
4718
|
+
* A customisable method to determine if a row is not selectable.
|
|
4719
|
+
* The default is that every row is selectable.
|
|
4720
|
+
*/
|
|
4403
4721
|
type: PropType<
|
|
4404
4722
|
'div' | 'h1' | 'h2' | 'h3' | 'h4' | 'h5' | 'h6' | 'p' | 'span'
|
|
4405
4723
|
>;
|
|
@@ -4447,8 +4765,15 @@ export declare const BentoDataGrid: __VLS_WithTemplateSlots_7<
|
|
|
4447
4765
|
description: {
|
|
4448
4766
|
type: StringConstructor;
|
|
4449
4767
|
default: any;
|
|
4450
|
-
}
|
|
4768
|
+
}
|
|
4769
|
+
/**
|
|
4770
|
+
* If resize is enabled
|
|
4771
|
+
*/;
|
|
4451
4772
|
headingEl: {
|
|
4773
|
+
/**
|
|
4774
|
+
* A customisable method to determine if a row is not selectable.
|
|
4775
|
+
* The default is that every row is selectable.
|
|
4776
|
+
*/
|
|
4452
4777
|
type: PropType<'div' | 'h1' | 'h2' | 'h3' | 'h4' | 'h5' | 'h6' | 'p' | 'span'>;
|
|
4453
4778
|
default: any;
|
|
4454
4779
|
validator: (value: BentoTypographyElement) => boolean;
|
|
@@ -4591,29 +4916,6 @@ export declare const BentoDataGrid: __VLS_WithTemplateSlots_7<
|
|
|
4591
4916
|
};
|
|
4592
4917
|
hasNext: {
|
|
4593
4918
|
type: BooleanConstructor;
|
|
4594
|
-
/**
|
|
4595
|
-
* A component to display data in columns and row format with a whole array of configuration for visualization and interaction.
|
|
4596
|
-
*
|
|
4597
|
-
* @example
|
|
4598
|
-
* import { BentoDataGrid } from '@adyen/bento-vue2';
|
|
4599
|
-
*
|
|
4600
|
-
* export default {
|
|
4601
|
-
* components: { BentoDataGrid },
|
|
4602
|
-
* template: `
|
|
4603
|
-
* <bento-data-grid
|
|
4604
|
-
* :data="[
|
|
4605
|
-
* { id: '123', name: 'John', company: 'TestCompany', 'payment': 200 }
|
|
4606
|
-
* { id: '321', name: 'Jane', company: 'Adyen', 'payment': 300 }
|
|
4607
|
-
* ]"
|
|
4608
|
-
* :columns="[
|
|
4609
|
-
* { field: 'name', label: 'Name', minWidth: 300, mandatory: true },
|
|
4610
|
-
* { field: 'company', label: 'Reference' },
|
|
4611
|
-
* { field: 'payment', label: 'Payment', width: 200, minWidth: 150 },
|
|
4612
|
-
* ]"
|
|
4613
|
-
* />
|
|
4614
|
-
* `
|
|
4615
|
-
* }
|
|
4616
|
-
*/
|
|
4617
4919
|
default: any;
|
|
4618
4920
|
};
|
|
4619
4921
|
hidePageSize: {
|
|
@@ -4647,29 +4949,6 @@ export declare const BentoDataGrid: __VLS_WithTemplateSlots_7<
|
|
|
4647
4949
|
};
|
|
4648
4950
|
hasNext: {
|
|
4649
4951
|
type: BooleanConstructor;
|
|
4650
|
-
/**
|
|
4651
|
-
* A component to display data in columns and row format with a whole array of configuration for visualization and interaction.
|
|
4652
|
-
*
|
|
4653
|
-
* @example
|
|
4654
|
-
* import { BentoDataGrid } from '@adyen/bento-vue2';
|
|
4655
|
-
*
|
|
4656
|
-
* export default {
|
|
4657
|
-
* components: { BentoDataGrid },
|
|
4658
|
-
* template: `
|
|
4659
|
-
* <bento-data-grid
|
|
4660
|
-
* :data="[
|
|
4661
|
-
* { id: '123', name: 'John', company: 'TestCompany', 'payment': 200 }
|
|
4662
|
-
* { id: '321', name: 'Jane', company: 'Adyen', 'payment': 300 }
|
|
4663
|
-
* ]"
|
|
4664
|
-
* :columns="[
|
|
4665
|
-
* { field: 'name', label: 'Name', minWidth: 300, mandatory: true },
|
|
4666
|
-
* { field: 'company', label: 'Reference' },
|
|
4667
|
-
* { field: 'payment', label: 'Payment', width: 200, minWidth: 150 },
|
|
4668
|
-
* ]"
|
|
4669
|
-
* />
|
|
4670
|
-
* `
|
|
4671
|
-
* }
|
|
4672
|
-
*/
|
|
4673
4952
|
default: any;
|
|
4674
4953
|
};
|
|
4675
4954
|
hidePageSize: {
|
|
@@ -4744,6 +5023,13 @@ export declare const BentoDataGrid: __VLS_WithTemplateSlots_7<
|
|
|
4744
5023
|
type: PropType<BentoDatagridDataItemId[]>;
|
|
4745
5024
|
default: () => any[];
|
|
4746
5025
|
};
|
|
5026
|
+
/**
|
|
5027
|
+
* Renders the data grid with no top spacing, to render inside containers that already have spacing
|
|
5028
|
+
*/
|
|
5029
|
+
noSpacingTop: {
|
|
5030
|
+
type: BooleanConstructor;
|
|
5031
|
+
default: boolean;
|
|
5032
|
+
};
|
|
4747
5033
|
/**
|
|
4748
5034
|
* Sortby handles proper rendering of sort icon in header. Sorting currently is only supported server side.
|
|
4749
5035
|
* It does make sure the currently sorted column has a more visible sort icon, and the sort icon points in the right direction.
|
|
@@ -4875,8 +5161,15 @@ export declare const BentoDataGrid: __VLS_WithTemplateSlots_7<
|
|
|
4875
5161
|
description: {
|
|
4876
5162
|
type: StringConstructor;
|
|
4877
5163
|
default: any;
|
|
4878
|
-
}
|
|
5164
|
+
}
|
|
5165
|
+
/**
|
|
5166
|
+
* If resize is enabled
|
|
5167
|
+
*/;
|
|
4879
5168
|
headingEl: {
|
|
5169
|
+
/**
|
|
5170
|
+
* A customisable method to determine if a row is not selectable.
|
|
5171
|
+
* The default is that every row is selectable.
|
|
5172
|
+
*/
|
|
4880
5173
|
type: PropType<
|
|
4881
5174
|
'div' | 'h1' | 'h2' | 'h3' | 'h4' | 'h5' | 'h6' | 'p' | 'span'
|
|
4882
5175
|
>;
|
|
@@ -4924,8 +5217,15 @@ export declare const BentoDataGrid: __VLS_WithTemplateSlots_7<
|
|
|
4924
5217
|
description: {
|
|
4925
5218
|
type: StringConstructor;
|
|
4926
5219
|
default: any;
|
|
4927
|
-
}
|
|
5220
|
+
}
|
|
5221
|
+
/**
|
|
5222
|
+
* If resize is enabled
|
|
5223
|
+
*/;
|
|
4928
5224
|
headingEl: {
|
|
5225
|
+
/**
|
|
5226
|
+
* A customisable method to determine if a row is not selectable.
|
|
5227
|
+
* The default is that every row is selectable.
|
|
5228
|
+
*/
|
|
4929
5229
|
type: PropType<
|
|
4930
5230
|
'div' | 'h1' | 'h2' | 'h3' | 'h4' | 'h5' | 'h6' | 'p' | 'span'
|
|
4931
5231
|
>;
|
|
@@ -5070,29 +5370,6 @@ export declare const BentoDataGrid: __VLS_WithTemplateSlots_7<
|
|
|
5070
5370
|
};
|
|
5071
5371
|
hasNext: {
|
|
5072
5372
|
type: BooleanConstructor;
|
|
5073
|
-
/**
|
|
5074
|
-
* A component to display data in columns and row format with a whole array of configuration for visualization and interaction.
|
|
5075
|
-
*
|
|
5076
|
-
* @example
|
|
5077
|
-
* import { BentoDataGrid } from '@adyen/bento-vue2';
|
|
5078
|
-
*
|
|
5079
|
-
* export default {
|
|
5080
|
-
* components: { BentoDataGrid },
|
|
5081
|
-
* template: `
|
|
5082
|
-
* <bento-data-grid
|
|
5083
|
-
* :data="[
|
|
5084
|
-
* { id: '123', name: 'John', company: 'TestCompany', 'payment': 200 }
|
|
5085
|
-
* { id: '321', name: 'Jane', company: 'Adyen', 'payment': 300 }
|
|
5086
|
-
* ]"
|
|
5087
|
-
* :columns="[
|
|
5088
|
-
* { field: 'name', label: 'Name', minWidth: 300, mandatory: true },
|
|
5089
|
-
* { field: 'company', label: 'Reference' },
|
|
5090
|
-
* { field: 'payment', label: 'Payment', width: 200, minWidth: 150 },
|
|
5091
|
-
* ]"
|
|
5092
|
-
* />
|
|
5093
|
-
* `
|
|
5094
|
-
* }
|
|
5095
|
-
*/
|
|
5096
5373
|
default: any;
|
|
5097
5374
|
};
|
|
5098
5375
|
hidePageSize: {
|
|
@@ -5126,29 +5403,6 @@ export declare const BentoDataGrid: __VLS_WithTemplateSlots_7<
|
|
|
5126
5403
|
};
|
|
5127
5404
|
hasNext: {
|
|
5128
5405
|
type: BooleanConstructor;
|
|
5129
|
-
/**
|
|
5130
|
-
* A component to display data in columns and row format with a whole array of configuration for visualization and interaction.
|
|
5131
|
-
*
|
|
5132
|
-
* @example
|
|
5133
|
-
* import { BentoDataGrid } from '@adyen/bento-vue2';
|
|
5134
|
-
*
|
|
5135
|
-
* export default {
|
|
5136
|
-
* components: { BentoDataGrid },
|
|
5137
|
-
* template: `
|
|
5138
|
-
* <bento-data-grid
|
|
5139
|
-
* :data="[
|
|
5140
|
-
* { id: '123', name: 'John', company: 'TestCompany', 'payment': 200 }
|
|
5141
|
-
* { id: '321', name: 'Jane', company: 'Adyen', 'payment': 300 }
|
|
5142
|
-
* ]"
|
|
5143
|
-
* :columns="[
|
|
5144
|
-
* { field: 'name', label: 'Name', minWidth: 300, mandatory: true },
|
|
5145
|
-
* { field: 'company', label: 'Reference' },
|
|
5146
|
-
* { field: 'payment', label: 'Payment', width: 200, minWidth: 150 },
|
|
5147
|
-
* ]"
|
|
5148
|
-
* />
|
|
5149
|
-
* `
|
|
5150
|
-
* }
|
|
5151
|
-
*/
|
|
5152
5406
|
default: any;
|
|
5153
5407
|
};
|
|
5154
5408
|
hidePageSize: {
|
|
@@ -5223,6 +5477,13 @@ export declare const BentoDataGrid: __VLS_WithTemplateSlots_7<
|
|
|
5223
5477
|
type: PropType<BentoDatagridDataItemId[]>;
|
|
5224
5478
|
default: () => any[];
|
|
5225
5479
|
};
|
|
5480
|
+
/**
|
|
5481
|
+
* Renders the data grid with no top spacing, to render inside containers that already have spacing
|
|
5482
|
+
*/
|
|
5483
|
+
noSpacingTop: {
|
|
5484
|
+
type: BooleanConstructor;
|
|
5485
|
+
default: boolean;
|
|
5486
|
+
};
|
|
5226
5487
|
/**
|
|
5227
5488
|
* Sortby handles proper rendering of sort icon in header. Sorting currently is only supported server side.
|
|
5228
5489
|
* It does make sure the currently sorted column has a more visible sort icon, and the sort icon points in the right direction.
|
|
@@ -5273,6 +5534,7 @@ export declare const BentoDataGrid: __VLS_WithTemplateSlots_7<
|
|
|
5273
5534
|
selectable: boolean;
|
|
5274
5535
|
selection: BentoDatagridDataItemId[];
|
|
5275
5536
|
highlightedRows: BentoDatagridDataItemId[];
|
|
5537
|
+
noSpacingTop: boolean;
|
|
5276
5538
|
tabTitle: string;
|
|
5277
5539
|
}
|
|
5278
5540
|
>,
|
|
@@ -5351,6 +5613,7 @@ export declare enum BentoDatagridStyleState {
|
|
|
5351
5613
|
STICKY_FILTERS = 'sticky-filters',
|
|
5352
5614
|
OVERFLOW_SHADOW_LEFT = 'overflow-shadow-left',
|
|
5353
5615
|
OVERFLOW_SHADOW_RIGHT = 'overflow-shadow-right',
|
|
5616
|
+
NO_SPACING_TOP = 'no-spacing-top',
|
|
5354
5617
|
}
|
|
5355
5618
|
|
|
5356
5619
|
/**
|
|
@@ -5376,7 +5639,7 @@ export declare enum BentoDatagridStyleState {
|
|
|
5376
5639
|
* `
|
|
5377
5640
|
* }
|
|
5378
5641
|
*/
|
|
5379
|
-
export declare const BentoDataGridTemplate:
|
|
5642
|
+
export declare const BentoDataGridTemplate: __VLS_WithTemplateSlots_35<
|
|
5380
5643
|
DefineComponent<
|
|
5381
5644
|
{
|
|
5382
5645
|
/**
|
|
@@ -15822,49 +16085,12 @@ export declare enum BentoStepperVariantOption {
|
|
|
15822
16085
|
*/
|
|
15823
16086
|
export declare const BentoStructuredList: __VLS_WithTemplateSlots_30<
|
|
15824
16087
|
DefineComponent<
|
|
15825
|
-
|
|
15826
|
-
|
|
15827
|
-
* Width of the labels container, in pixels. Overrides layout prop.
|
|
15828
|
-
*/
|
|
15829
|
-
labelsWidth: {
|
|
15830
|
-
type: NumberConstructor;
|
|
15831
|
-
default: any;
|
|
15832
|
-
};
|
|
15833
|
-
/**
|
|
15834
|
-
* The layout of the label value pair in percentage.
|
|
15835
|
-
* If labelsWidth is set, layout will be overriden by the static pixel value.
|
|
15836
|
-
*
|
|
15837
|
-
* If the value entered is not listed in the example
|
|
15838
|
-
* list below '33-66' will be applied
|
|
15839
|
-
* @example
|
|
15840
|
-
* '25-75'
|
|
15841
|
-
* '33-66'
|
|
15842
|
-
* '42-58'
|
|
15843
|
-
* '50-50'
|
|
15844
|
-
*/
|
|
15845
|
-
layout: {
|
|
15846
|
-
type: PropType<BentoStructuredListLayoutOptions>;
|
|
15847
|
-
default: string;
|
|
15848
|
-
validator: (value: BentoStructuredListLayoutOptions) => boolean;
|
|
15849
|
-
};
|
|
15850
|
-
},
|
|
15851
|
-
{},
|
|
15852
|
-
{},
|
|
15853
|
-
{},
|
|
15854
|
-
{},
|
|
15855
|
-
ComponentOptionsMixin,
|
|
15856
|
-
ComponentOptionsMixin,
|
|
15857
|
-
{},
|
|
15858
|
-
string,
|
|
15859
|
-
Readonly<
|
|
15860
|
-
ExtractPropTypes<{
|
|
16088
|
+
__VLS_WithDefaults_4<
|
|
16089
|
+
__VLS_TypePropsToRuntimeProps_5<{
|
|
15861
16090
|
/**
|
|
15862
16091
|
* Width of the labels container, in pixels. Overrides layout prop.
|
|
15863
16092
|
*/
|
|
15864
|
-
labelsWidth
|
|
15865
|
-
type: NumberConstructor;
|
|
15866
|
-
default: any;
|
|
15867
|
-
};
|
|
16093
|
+
labelsWidth?: number;
|
|
15868
16094
|
/**
|
|
15869
16095
|
* The layout of the label value pair in percentage.
|
|
15870
16096
|
* If labelsWidth is set, layout will be overriden by the static pixel value.
|
|
@@ -15877,12 +16103,49 @@ export declare const BentoStructuredList: __VLS_WithTemplateSlots_30<
|
|
|
15877
16103
|
* '42-58'
|
|
15878
16104
|
* '50-50'
|
|
15879
16105
|
*/
|
|
15880
|
-
layout
|
|
15881
|
-
|
|
15882
|
-
|
|
15883
|
-
|
|
15884
|
-
|
|
15885
|
-
}
|
|
16106
|
+
layout?: BentoStructuredListLayoutOptions;
|
|
16107
|
+
}>,
|
|
16108
|
+
{
|
|
16109
|
+
labelsWidth: any;
|
|
16110
|
+
layout: string;
|
|
16111
|
+
}
|
|
16112
|
+
>,
|
|
16113
|
+
{},
|
|
16114
|
+
{},
|
|
16115
|
+
{},
|
|
16116
|
+
{},
|
|
16117
|
+
ComponentOptionsMixin,
|
|
16118
|
+
ComponentOptionsMixin,
|
|
16119
|
+
{},
|
|
16120
|
+
string,
|
|
16121
|
+
Readonly<
|
|
16122
|
+
ExtractPropTypes<
|
|
16123
|
+
__VLS_WithDefaults_4<
|
|
16124
|
+
__VLS_TypePropsToRuntimeProps_5<{
|
|
16125
|
+
/**
|
|
16126
|
+
* Width of the labels container, in pixels. Overrides layout prop.
|
|
16127
|
+
*/
|
|
16128
|
+
labelsWidth?: number;
|
|
16129
|
+
/**
|
|
16130
|
+
* The layout of the label value pair in percentage.
|
|
16131
|
+
* If labelsWidth is set, layout will be overriden by the static pixel value.
|
|
16132
|
+
*
|
|
16133
|
+
* If the value entered is not listed in the example
|
|
16134
|
+
* list below '33-66' will be applied
|
|
16135
|
+
* @example
|
|
16136
|
+
* '25-75'
|
|
16137
|
+
* '33-66'
|
|
16138
|
+
* '42-58'
|
|
16139
|
+
* '50-50'
|
|
16140
|
+
*/
|
|
16141
|
+
layout?: BentoStructuredListLayoutOptions;
|
|
16142
|
+
}>,
|
|
16143
|
+
{
|
|
16144
|
+
labelsWidth: any;
|
|
16145
|
+
layout: string;
|
|
16146
|
+
}
|
|
16147
|
+
>
|
|
16148
|
+
>
|
|
15886
16149
|
>,
|
|
15887
16150
|
{
|
|
15888
16151
|
layout: BentoStructuredListLayoutOptions;
|
|
@@ -15919,102 +16182,76 @@ export declare const BentoStructuredList: __VLS_WithTemplateSlots_30<
|
|
|
15919
16182
|
* `
|
|
15920
16183
|
* }
|
|
15921
16184
|
*/
|
|
15922
|
-
export declare const BentoStructuredListItem:
|
|
15923
|
-
|
|
15924
|
-
|
|
15925
|
-
* Label to display for the value
|
|
15926
|
-
*/
|
|
15927
|
-
label: {
|
|
15928
|
-
type: StringConstructor;
|
|
15929
|
-
required: true;
|
|
15930
|
-
};
|
|
15931
|
-
/**
|
|
15932
|
-
* Text to display in info icon tooltip in the label to display for the value
|
|
15933
|
-
*/
|
|
15934
|
-
labelInfo: {
|
|
15935
|
-
type: StringConstructor;
|
|
15936
|
-
default: any;
|
|
15937
|
-
};
|
|
15938
|
-
/**
|
|
15939
|
-
* Text to copy when the user clicks `Copy` icon
|
|
15940
|
-
*/
|
|
15941
|
-
copy: {
|
|
15942
|
-
type: StringConstructor;
|
|
15943
|
-
default: any;
|
|
15944
|
-
};
|
|
15945
|
-
/**
|
|
15946
|
-
* Function to trigger when user clicks `Search` icon
|
|
15947
|
-
*/
|
|
15948
|
-
search: {
|
|
15949
|
-
type: PropType<(event: Event) => void>;
|
|
15950
|
-
default: any;
|
|
15951
|
-
};
|
|
15952
|
-
/**
|
|
15953
|
-
* Text to display when the user hovers over `Search` icon
|
|
15954
|
-
*/
|
|
15955
|
-
searchTooltip: {
|
|
15956
|
-
type: StringConstructor;
|
|
15957
|
-
default: any;
|
|
15958
|
-
};
|
|
15959
|
-
},
|
|
15960
|
-
{
|
|
15961
|
-
conditionalClasses: ComputedRef<{
|
|
15962
|
-
'b-structured-list-item--condensed': boolean;
|
|
15963
|
-
}>;
|
|
15964
|
-
labelTypographyVariant: ComputedRef<'caption' | 'body'>;
|
|
15965
|
-
labelsWidth: Ref<string>;
|
|
15966
|
-
},
|
|
15967
|
-
{},
|
|
15968
|
-
{},
|
|
15969
|
-
{},
|
|
15970
|
-
ComponentOptionsMixin,
|
|
15971
|
-
ComponentOptionsMixin,
|
|
15972
|
-
{},
|
|
15973
|
-
string,
|
|
15974
|
-
Readonly<
|
|
15975
|
-
ExtractPropTypes<{
|
|
16185
|
+
export declare const BentoStructuredListItem: __VLS_WithTemplateSlots_31<
|
|
16186
|
+
DefineComponent<
|
|
16187
|
+
__VLS_TypePropsToRuntimeProps_6<{
|
|
15976
16188
|
/**
|
|
15977
16189
|
* Label to display for the value
|
|
15978
16190
|
*/
|
|
15979
|
-
label:
|
|
15980
|
-
type: StringConstructor;
|
|
15981
|
-
required: true;
|
|
15982
|
-
};
|
|
16191
|
+
label: string;
|
|
15983
16192
|
/**
|
|
15984
16193
|
* Text to display in info icon tooltip in the label to display for the value
|
|
15985
16194
|
*/
|
|
15986
|
-
labelInfo
|
|
15987
|
-
type: StringConstructor;
|
|
15988
|
-
default: any;
|
|
15989
|
-
};
|
|
16195
|
+
labelInfo?: string;
|
|
15990
16196
|
/**
|
|
15991
16197
|
* Text to copy when the user clicks `Copy` icon
|
|
15992
16198
|
*/
|
|
15993
|
-
copy
|
|
15994
|
-
type: StringConstructor;
|
|
15995
|
-
default: any;
|
|
15996
|
-
};
|
|
16199
|
+
copy?: string;
|
|
15997
16200
|
/**
|
|
15998
16201
|
* Function to trigger when user clicks `Search` icon
|
|
15999
16202
|
*/
|
|
16000
|
-
search:
|
|
16001
|
-
type: PropType<(event: Event) => void>;
|
|
16002
|
-
default: any;
|
|
16003
|
-
};
|
|
16203
|
+
search?: (event: Event) => void;
|
|
16004
16204
|
/**
|
|
16005
16205
|
* Text to display when the user hovers over `Search` icon
|
|
16006
16206
|
*/
|
|
16007
|
-
searchTooltip
|
|
16008
|
-
|
|
16009
|
-
|
|
16010
|
-
|
|
16011
|
-
|
|
16207
|
+
searchTooltip?: string;
|
|
16208
|
+
/**
|
|
16209
|
+
* Truncates the value of the item
|
|
16210
|
+
*/
|
|
16211
|
+
truncate?: boolean;
|
|
16212
|
+
}>,
|
|
16213
|
+
{},
|
|
16214
|
+
{},
|
|
16215
|
+
{},
|
|
16216
|
+
{},
|
|
16217
|
+
ComponentOptionsMixin,
|
|
16218
|
+
ComponentOptionsMixin,
|
|
16219
|
+
{},
|
|
16220
|
+
string,
|
|
16221
|
+
Readonly<
|
|
16222
|
+
ExtractPropTypes<
|
|
16223
|
+
__VLS_TypePropsToRuntimeProps_6<{
|
|
16224
|
+
/**
|
|
16225
|
+
* Label to display for the value
|
|
16226
|
+
*/
|
|
16227
|
+
label: string;
|
|
16228
|
+
/**
|
|
16229
|
+
* Text to display in info icon tooltip in the label to display for the value
|
|
16230
|
+
*/
|
|
16231
|
+
labelInfo?: string;
|
|
16232
|
+
/**
|
|
16233
|
+
* Text to copy when the user clicks `Copy` icon
|
|
16234
|
+
*/
|
|
16235
|
+
copy?: string;
|
|
16236
|
+
/**
|
|
16237
|
+
* Function to trigger when user clicks `Search` icon
|
|
16238
|
+
*/
|
|
16239
|
+
search?: (event: Event) => void;
|
|
16240
|
+
/**
|
|
16241
|
+
* Text to display when the user hovers over `Search` icon
|
|
16242
|
+
*/
|
|
16243
|
+
searchTooltip?: string;
|
|
16244
|
+
/**
|
|
16245
|
+
* Truncates the value of the item
|
|
16246
|
+
*/
|
|
16247
|
+
truncate?: boolean;
|
|
16248
|
+
}>
|
|
16249
|
+
>
|
|
16250
|
+
>,
|
|
16251
|
+
{}
|
|
16012
16252
|
>,
|
|
16013
16253
|
{
|
|
16014
|
-
|
|
16015
|
-
copy: string;
|
|
16016
|
-
labelInfo: string;
|
|
16017
|
-
searchTooltip: string;
|
|
16254
|
+
default: (_: {}) => any;
|
|
16018
16255
|
}
|
|
16019
16256
|
>;
|
|
16020
16257
|
|
|
@@ -17065,6 +17302,75 @@ export declare const BentoTabs: DefineComponent<
|
|
|
17065
17302
|
{
|
|
17066
17303
|
tabs: Ref<BentoTab_2[]>;
|
|
17067
17304
|
tablist: any;
|
|
17305
|
+
tablistwrapper: Ref<
|
|
17306
|
+
Vue3Instance<
|
|
17307
|
+
{},
|
|
17308
|
+
Readonly<
|
|
17309
|
+
ExtractPropTypes<{
|
|
17310
|
+
condensed: {
|
|
17311
|
+
type: BooleanConstructor;
|
|
17312
|
+
default: boolean;
|
|
17313
|
+
};
|
|
17314
|
+
extraPaddingTop: {
|
|
17315
|
+
type: NumberConstructor;
|
|
17316
|
+
default: number;
|
|
17317
|
+
};
|
|
17318
|
+
}>
|
|
17319
|
+
>,
|
|
17320
|
+
Readonly<
|
|
17321
|
+
ExtractPropTypes<{
|
|
17322
|
+
condensed: {
|
|
17323
|
+
type: BooleanConstructor;
|
|
17324
|
+
default: boolean;
|
|
17325
|
+
};
|
|
17326
|
+
extraPaddingTop: {
|
|
17327
|
+
type: NumberConstructor;
|
|
17328
|
+
default: number;
|
|
17329
|
+
};
|
|
17330
|
+
}>
|
|
17331
|
+
>,
|
|
17332
|
+
{},
|
|
17333
|
+
{
|
|
17334
|
+
condensed: boolean;
|
|
17335
|
+
extraPaddingTop: number;
|
|
17336
|
+
},
|
|
17337
|
+
true,
|
|
17338
|
+
ComponentOptionsBase<any, any, any, any, any, any, any, any, any, any>
|
|
17339
|
+
> &
|
|
17340
|
+
Readonly<
|
|
17341
|
+
Readonly<
|
|
17342
|
+
ExtractPropTypes<{
|
|
17343
|
+
condensed: {
|
|
17344
|
+
type: BooleanConstructor;
|
|
17345
|
+
default: boolean;
|
|
17346
|
+
};
|
|
17347
|
+
extraPaddingTop: {
|
|
17348
|
+
type: NumberConstructor;
|
|
17349
|
+
default: number;
|
|
17350
|
+
};
|
|
17351
|
+
}>
|
|
17352
|
+
>
|
|
17353
|
+
> &
|
|
17354
|
+
ShallowUnwrapRef<{}> &
|
|
17355
|
+
ExtractComputedReturns<{}> &
|
|
17356
|
+
ComponentCustomProperties &
|
|
17357
|
+
Readonly<
|
|
17358
|
+
ExtractPropTypes<{
|
|
17359
|
+
condensed: {
|
|
17360
|
+
type: BooleanConstructor;
|
|
17361
|
+
default: boolean;
|
|
17362
|
+
};
|
|
17363
|
+
extraPaddingTop: {
|
|
17364
|
+
type: NumberConstructor;
|
|
17365
|
+
default: number;
|
|
17366
|
+
};
|
|
17367
|
+
}>
|
|
17368
|
+
> & {
|
|
17369
|
+
$slots: {
|
|
17370
|
+
default: (_: {}) => any;
|
|
17371
|
+
};
|
|
17372
|
+
}
|
|
17373
|
+
>;
|
|
17068
17374
|
activeTabId: Ref<string>;
|
|
17069
17375
|
onKeydownTabsNavigation: (e: KeyboardEvent) => void;
|
|
17070
17376
|
handleTabChange: (tabId: string) => void;
|
|
@@ -18375,6 +18681,13 @@ export declare enum BentoTooltipState {
|
|
|
18375
18681
|
*/
|
|
18376
18682
|
export declare const BentoTutorial: DefineComponent<
|
|
18377
18683
|
{
|
|
18684
|
+
/**
|
|
18685
|
+
* The current step index. If provided, will start the tutorial in that step.
|
|
18686
|
+
*/
|
|
18687
|
+
index: {
|
|
18688
|
+
type: NumberConstructor;
|
|
18689
|
+
default: any;
|
|
18690
|
+
};
|
|
18378
18691
|
/**
|
|
18379
18692
|
* The steps configuration for the tutorial.
|
|
18380
18693
|
*
|
|
@@ -18384,6 +18697,15 @@ export declare const BentoTutorial: DefineComponent<
|
|
|
18384
18697
|
required: true;
|
|
18385
18698
|
validator: (value: BentoTutorialStep[]) => boolean;
|
|
18386
18699
|
};
|
|
18700
|
+
/**
|
|
18701
|
+
* Options to control the scroll into view behavior.
|
|
18702
|
+
* Takes the same options as the `scrollIntoView` function
|
|
18703
|
+
* @see {@link https://developer.mozilla.org/en-US/docs/Web/API/Element/scrollIntoView}
|
|
18704
|
+
*/
|
|
18705
|
+
scrollOptions: {
|
|
18706
|
+
type: PropType<BentoTutorialScrollOptions>;
|
|
18707
|
+
default: any;
|
|
18708
|
+
};
|
|
18387
18709
|
},
|
|
18388
18710
|
{},
|
|
18389
18711
|
{},
|
|
@@ -18391,10 +18713,19 @@ export declare const BentoTutorial: DefineComponent<
|
|
|
18391
18713
|
{},
|
|
18392
18714
|
ComponentOptionsMixin,
|
|
18393
18715
|
ComponentOptionsMixin,
|
|
18394
|
-
{
|
|
18716
|
+
{
|
|
18717
|
+
'update:index': (value: number) => void;
|
|
18718
|
+
},
|
|
18395
18719
|
string,
|
|
18396
18720
|
Readonly<
|
|
18397
18721
|
ExtractPropTypes<{
|
|
18722
|
+
/**
|
|
18723
|
+
* The current step index. If provided, will start the tutorial in that step.
|
|
18724
|
+
*/
|
|
18725
|
+
index: {
|
|
18726
|
+
type: NumberConstructor;
|
|
18727
|
+
default: any;
|
|
18728
|
+
};
|
|
18398
18729
|
/**
|
|
18399
18730
|
* The steps configuration for the tutorial.
|
|
18400
18731
|
*
|
|
@@ -18404,11 +18735,25 @@ export declare const BentoTutorial: DefineComponent<
|
|
|
18404
18735
|
required: true;
|
|
18405
18736
|
validator: (value: BentoTutorialStep[]) => boolean;
|
|
18406
18737
|
};
|
|
18738
|
+
/**
|
|
18739
|
+
* Options to control the scroll into view behavior.
|
|
18740
|
+
* Takes the same options as the `scrollIntoView` function
|
|
18741
|
+
* @see {@link https://developer.mozilla.org/en-US/docs/Web/API/Element/scrollIntoView}
|
|
18742
|
+
*/
|
|
18743
|
+
scrollOptions: {
|
|
18744
|
+
type: PropType<BentoTutorialScrollOptions>;
|
|
18745
|
+
default: any;
|
|
18746
|
+
};
|
|
18407
18747
|
}>
|
|
18408
18748
|
>,
|
|
18409
|
-
{
|
|
18749
|
+
{
|
|
18750
|
+
index: number;
|
|
18751
|
+
scrollOptions: any;
|
|
18752
|
+
}
|
|
18410
18753
|
>;
|
|
18411
18754
|
|
|
18755
|
+
export declare type BentoTutorialScrollOptions = boolean | ScrollIntoViewOptions;
|
|
18756
|
+
|
|
18412
18757
|
export declare interface BentoTutorialStep {
|
|
18413
18758
|
target: VueNodeElement | Ref<VueNodeElement>;
|
|
18414
18759
|
image?: Omit<InstanceType<typeof BentoImage>['$props'], 'aspectRatio'>;
|
|
@@ -18436,10 +18781,10 @@ export declare interface BentoTutorialStep {
|
|
|
18436
18781
|
* `
|
|
18437
18782
|
* }
|
|
18438
18783
|
*/
|
|
18439
|
-
export declare const BentoTypography:
|
|
18784
|
+
export declare const BentoTypography: __VLS_WithTemplateSlots_32<
|
|
18440
18785
|
DefineComponent<
|
|
18441
|
-
|
|
18442
|
-
|
|
18786
|
+
__VLS_WithDefaults_5<
|
|
18787
|
+
__VLS_TypePropsToRuntimeProps_7<{
|
|
18443
18788
|
/**
|
|
18444
18789
|
* Sets the HTML DOM element.
|
|
18445
18790
|
* @values h1, h2, h3, h4, h5, h6, div, p, span
|
|
@@ -18490,14 +18835,14 @@ export declare const BentoTypography: __VLS_WithTemplateSlots_31<
|
|
|
18490
18835
|
{},
|
|
18491
18836
|
{},
|
|
18492
18837
|
{},
|
|
18493
|
-
|
|
18494
|
-
|
|
18838
|
+
ComponentOptionsMixin_2,
|
|
18839
|
+
ComponentOptionsMixin_2,
|
|
18495
18840
|
{},
|
|
18496
18841
|
string,
|
|
18497
18842
|
Readonly<
|
|
18498
18843
|
ExtractPropTypes<
|
|
18499
|
-
|
|
18500
|
-
|
|
18844
|
+
__VLS_WithDefaults_5<
|
|
18845
|
+
__VLS_TypePropsToRuntimeProps_7<{
|
|
18501
18846
|
/**
|
|
18502
18847
|
* Sets the HTML DOM element.
|
|
18503
18848
|
* @values h1, h2, h3, h4, h5, h6, div, p, span
|