@adyen/bento-vue2 0.4.0 → 0.4.1
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/card/card.vue.d.ts +1 -0
- package/dist/@types/components/data-grid/components/data-grid-columns/data-grid-columns-types.d.ts +15 -0
- package/dist/@types/components/data-grid/components/data-grid-columns/data-grid-columns.vue.d.ts +55 -11
- package/dist/@types/components/data-grid/components/data-grid-config-settings/components/data-grid-config-settings-column-row/data-grid-config-settings-column-row.vue.d.ts +39 -0
- package/dist/@types/components/data-grid/components/data-grid-config-settings/data-grid-config-settings.vue.d.ts +6 -5
- package/dist/@types/components/data-grid/components/index.d.ts +1 -1
- package/dist/@types/components/data-grid/composables/index.d.ts +2 -1
- package/dist/@types/components/data-grid/composables/useCalculateColumnWidth/useCalculateColumnWidth.d.ts +1 -0
- package/dist/@types/components/data-grid/composables/useColumnReorderer/useColumnReorderer.d.ts +63 -0
- package/dist/@types/components/data-grid/composables/{useConfigSettings.d.ts → useConfigSettings/useConfigSettings.d.ts} +3 -2
- package/dist/@types/components/data-grid/composables/useResizer.d.ts +3 -1
- package/dist/@types/components/data-grid/composables/useSorter.d.ts +2 -1
- package/dist/@types/components/data-grid/data-grid.types.d.ts +1 -0
- package/dist/@types/components/data-grid/data-grid.vue.d.ts +138 -4
- package/dist/@types/components/date/date.vue.d.ts +3 -3
- package/dist/@types/components/dropdown/components/dropdown-base-textbox/dropdown-base-textbox.types.d.ts +3 -1
- package/dist/@types/components/dropdown/components/dropdown-default-textbox/dropdown-default-textbox.vue.d.ts +2 -4
- package/dist/@types/components/dropdown/components/dropdown-small-textbox/dropdown-small-textbox.vue.d.ts +2 -3
- package/dist/@types/components/dropdown/components/index.d.ts +1 -0
- package/dist/@types/components/dropdown/components/variants/dropdown-avatar/dropdown-avatar.vue.d.ts +9 -0
- package/dist/@types/components/dropdown/components/variants/dropdown-country/dropdown-country.vue.d.ts +9 -0
- package/dist/@types/components/dropdown/components/variants/dropdown-currency/dropdown-currency.vue.d.ts +9 -0
- package/dist/@types/components/dropdown/components/variants/dropdown-payment-method/dropdown-payment-method.vue.d.ts +9 -0
- package/dist/@types/components/dropdown/components/variants/dropdown-tag/dropdown-tag.vue.d.ts +9 -0
- package/dist/@types/components/dropdown/dropdown.vue.d.ts +12 -0
- package/dist/@types/components/filter-bar/components/range-filter/range-filter.vue.d.ts +5 -3
- package/dist/@types/components/filter-bar/filter-bar.vue.d.ts +3 -2
- package/dist/@types/components/link/link.vue.d.ts +5 -3
- package/dist/@types/composables/use-checkbox-select-all/use-checkbox-select-all.d.ts +4 -4
- package/dist/index.js +3116 -2849
- package/dist/index.js.map +1 -1
- package/package.json +2 -2
package/dist/@types/components/dropdown/components/variants/dropdown-avatar/dropdown-avatar.vue.d.ts
CHANGED
|
@@ -18,6 +18,10 @@ declare const _default: import("vue").DefineComponent<{
|
|
|
18
18
|
type: BooleanConstructor;
|
|
19
19
|
default: boolean;
|
|
20
20
|
};
|
|
21
|
+
error: {
|
|
22
|
+
type: BooleanConstructor;
|
|
23
|
+
default: boolean;
|
|
24
|
+
};
|
|
21
25
|
label: {
|
|
22
26
|
type: StringConstructor;
|
|
23
27
|
default: any;
|
|
@@ -74,6 +78,10 @@ declare const _default: import("vue").DefineComponent<{
|
|
|
74
78
|
type: BooleanConstructor;
|
|
75
79
|
default: boolean;
|
|
76
80
|
};
|
|
81
|
+
error: {
|
|
82
|
+
type: BooleanConstructor;
|
|
83
|
+
default: boolean;
|
|
84
|
+
};
|
|
77
85
|
label: {
|
|
78
86
|
type: StringConstructor;
|
|
79
87
|
default: any;
|
|
@@ -109,6 +117,7 @@ declare const _default: import("vue").DefineComponent<{
|
|
|
109
117
|
}>>, {
|
|
110
118
|
required: boolean;
|
|
111
119
|
optional: boolean;
|
|
120
|
+
error: boolean;
|
|
112
121
|
value: BentoListboxSelectedValue;
|
|
113
122
|
label: string;
|
|
114
123
|
ariaLabel: string;
|
|
@@ -24,6 +24,10 @@ declare const _default: import("vue").DefineComponent<{
|
|
|
24
24
|
type: BooleanConstructor;
|
|
25
25
|
default: boolean;
|
|
26
26
|
};
|
|
27
|
+
error: {
|
|
28
|
+
type: BooleanConstructor;
|
|
29
|
+
default: boolean;
|
|
30
|
+
};
|
|
27
31
|
label: {
|
|
28
32
|
type: StringConstructor;
|
|
29
33
|
default: any;
|
|
@@ -82,6 +86,10 @@ declare const _default: import("vue").DefineComponent<{
|
|
|
82
86
|
type: BooleanConstructor;
|
|
83
87
|
default: boolean;
|
|
84
88
|
};
|
|
89
|
+
error: {
|
|
90
|
+
type: BooleanConstructor;
|
|
91
|
+
default: boolean;
|
|
92
|
+
};
|
|
85
93
|
label: {
|
|
86
94
|
type: StringConstructor;
|
|
87
95
|
default: any;
|
|
@@ -117,6 +125,7 @@ declare const _default: import("vue").DefineComponent<{
|
|
|
117
125
|
}>>, {
|
|
118
126
|
required: boolean;
|
|
119
127
|
optional: boolean;
|
|
128
|
+
error: boolean;
|
|
120
129
|
value: BentoListboxSelectedValue;
|
|
121
130
|
label: string;
|
|
122
131
|
ariaLabel: string;
|
|
@@ -18,6 +18,10 @@ declare const _default: import("vue").DefineComponent<{
|
|
|
18
18
|
type: BooleanConstructor;
|
|
19
19
|
default: boolean;
|
|
20
20
|
};
|
|
21
|
+
error: {
|
|
22
|
+
type: BooleanConstructor;
|
|
23
|
+
default: boolean;
|
|
24
|
+
};
|
|
21
25
|
label: {
|
|
22
26
|
type: StringConstructor;
|
|
23
27
|
default: any;
|
|
@@ -69,6 +73,10 @@ declare const _default: import("vue").DefineComponent<{
|
|
|
69
73
|
type: BooleanConstructor;
|
|
70
74
|
default: boolean;
|
|
71
75
|
};
|
|
76
|
+
error: {
|
|
77
|
+
type: BooleanConstructor;
|
|
78
|
+
default: boolean;
|
|
79
|
+
};
|
|
72
80
|
label: {
|
|
73
81
|
type: StringConstructor;
|
|
74
82
|
default: any;
|
|
@@ -104,6 +112,7 @@ declare const _default: import("vue").DefineComponent<{
|
|
|
104
112
|
}>>, {
|
|
105
113
|
required: boolean;
|
|
106
114
|
optional: boolean;
|
|
115
|
+
error: boolean;
|
|
107
116
|
value: BentoListboxSelectedValue;
|
|
108
117
|
label: string;
|
|
109
118
|
ariaLabel: string;
|
|
@@ -18,6 +18,10 @@ declare const _default: import("vue").DefineComponent<{
|
|
|
18
18
|
type: BooleanConstructor;
|
|
19
19
|
default: boolean;
|
|
20
20
|
};
|
|
21
|
+
error: {
|
|
22
|
+
type: BooleanConstructor;
|
|
23
|
+
default: boolean;
|
|
24
|
+
};
|
|
21
25
|
label: {
|
|
22
26
|
type: StringConstructor;
|
|
23
27
|
default: any;
|
|
@@ -69,6 +73,10 @@ declare const _default: import("vue").DefineComponent<{
|
|
|
69
73
|
type: BooleanConstructor;
|
|
70
74
|
default: boolean;
|
|
71
75
|
};
|
|
76
|
+
error: {
|
|
77
|
+
type: BooleanConstructor;
|
|
78
|
+
default: boolean;
|
|
79
|
+
};
|
|
72
80
|
label: {
|
|
73
81
|
type: StringConstructor;
|
|
74
82
|
default: any;
|
|
@@ -104,6 +112,7 @@ declare const _default: import("vue").DefineComponent<{
|
|
|
104
112
|
}>>, {
|
|
105
113
|
required: boolean;
|
|
106
114
|
optional: boolean;
|
|
115
|
+
error: boolean;
|
|
107
116
|
value: BentoListboxSelectedValue;
|
|
108
117
|
label: string;
|
|
109
118
|
ariaLabel: string;
|
package/dist/@types/components/dropdown/components/variants/dropdown-tag/dropdown-tag.vue.d.ts
CHANGED
|
@@ -18,6 +18,10 @@ declare const _default: import("vue").DefineComponent<{
|
|
|
18
18
|
type: BooleanConstructor;
|
|
19
19
|
default: boolean;
|
|
20
20
|
};
|
|
21
|
+
error: {
|
|
22
|
+
type: BooleanConstructor;
|
|
23
|
+
default: boolean;
|
|
24
|
+
};
|
|
21
25
|
label: {
|
|
22
26
|
type: StringConstructor;
|
|
23
27
|
default: any;
|
|
@@ -74,6 +78,10 @@ declare const _default: import("vue").DefineComponent<{
|
|
|
74
78
|
type: BooleanConstructor;
|
|
75
79
|
default: boolean;
|
|
76
80
|
};
|
|
81
|
+
error: {
|
|
82
|
+
type: BooleanConstructor;
|
|
83
|
+
default: boolean;
|
|
84
|
+
};
|
|
77
85
|
label: {
|
|
78
86
|
type: StringConstructor;
|
|
79
87
|
default: any;
|
|
@@ -109,6 +117,7 @@ declare const _default: import("vue").DefineComponent<{
|
|
|
109
117
|
}>>, {
|
|
110
118
|
required: boolean;
|
|
111
119
|
optional: boolean;
|
|
120
|
+
error: boolean;
|
|
112
121
|
value: BentoListboxSelectedValue;
|
|
113
122
|
label: string;
|
|
114
123
|
ariaLabel: string;
|
|
@@ -14,6 +14,10 @@ declare const _default: import("vue").DefineComponent<{
|
|
|
14
14
|
type: BooleanConstructor;
|
|
15
15
|
default: boolean;
|
|
16
16
|
};
|
|
17
|
+
error: {
|
|
18
|
+
type: BooleanConstructor;
|
|
19
|
+
default: boolean;
|
|
20
|
+
};
|
|
17
21
|
label: {
|
|
18
22
|
type: StringConstructor;
|
|
19
23
|
default: any;
|
|
@@ -60,6 +64,9 @@ declare const _default: import("vue").DefineComponent<{
|
|
|
60
64
|
searchTerm: import("vue").Ref<string>;
|
|
61
65
|
labelId: string;
|
|
62
66
|
selectedValueItem: import("vue").ComputedRef<import("@/types").BentoListboxOptionItem | import("@/types").BentoListboxOptionItem[]>;
|
|
67
|
+
descriptionConditionalClasses: import("vue").ComputedRef<{
|
|
68
|
+
'b-dropdown__description--error': boolean;
|
|
69
|
+
}>;
|
|
63
70
|
inputContainerRef: any;
|
|
64
71
|
closeOpenedDropdown: () => void;
|
|
65
72
|
toggleDropdown: () => void;
|
|
@@ -78,6 +85,10 @@ declare const _default: import("vue").DefineComponent<{
|
|
|
78
85
|
type: BooleanConstructor;
|
|
79
86
|
default: boolean;
|
|
80
87
|
};
|
|
88
|
+
error: {
|
|
89
|
+
type: BooleanConstructor;
|
|
90
|
+
default: boolean;
|
|
91
|
+
};
|
|
81
92
|
label: {
|
|
82
93
|
type: StringConstructor;
|
|
83
94
|
default: any;
|
|
@@ -117,6 +128,7 @@ declare const _default: import("vue").DefineComponent<{
|
|
|
117
128
|
}>>, {
|
|
118
129
|
required: boolean;
|
|
119
130
|
optional: boolean;
|
|
131
|
+
error: boolean;
|
|
120
132
|
value: BentoListboxSelectedValue;
|
|
121
133
|
label: string;
|
|
122
134
|
ariaLabel: string;
|
|
@@ -11,7 +11,7 @@ declare const _default: import("vue").DefineComponent<{
|
|
|
11
11
|
};
|
|
12
12
|
value: {
|
|
13
13
|
type: PropType<string[]>;
|
|
14
|
-
|
|
14
|
+
default: () => string[];
|
|
15
15
|
};
|
|
16
16
|
}, {
|
|
17
17
|
BentoInputFieldType: typeof BentoInputFieldType;
|
|
@@ -36,7 +36,9 @@ declare const _default: import("vue").DefineComponent<{
|
|
|
36
36
|
};
|
|
37
37
|
value: {
|
|
38
38
|
type: PropType<string[]>;
|
|
39
|
-
|
|
39
|
+
default: () => string[];
|
|
40
40
|
};
|
|
41
|
-
}>>, {
|
|
41
|
+
}>>, {
|
|
42
|
+
value: string[];
|
|
43
|
+
}>;
|
|
42
44
|
export default _default;
|
|
@@ -4,7 +4,7 @@ import { BentoButtonVariant } from '@/components/button';
|
|
|
4
4
|
declare const _default: import("vue").DefineComponent<{
|
|
5
5
|
searchTerm: {
|
|
6
6
|
type: StringConstructor;
|
|
7
|
-
default:
|
|
7
|
+
default: any;
|
|
8
8
|
};
|
|
9
9
|
value: {
|
|
10
10
|
type: PropType<BentoFilterBarModel>;
|
|
@@ -12,6 +12,7 @@ declare const _default: import("vue").DefineComponent<{
|
|
|
12
12
|
};
|
|
13
13
|
}, {
|
|
14
14
|
isClearAllVisible: import("vue").ComputedRef<boolean>;
|
|
15
|
+
isSearchBarEnabled: import("vue").ComputedRef<boolean>;
|
|
15
16
|
searchBarAriaLabel: string;
|
|
16
17
|
BentoButtonVariant: typeof BentoButtonVariant;
|
|
17
18
|
updateFilterHandler: (updatedFilter: BentoFilterModel) => void;
|
|
@@ -21,7 +22,7 @@ declare const _default: import("vue").DefineComponent<{
|
|
|
21
22
|
}, {}, {}, {}, import("vue/types/v3-component-options").ComponentOptionsMixin, import("vue/types/v3-component-options").ComponentOptionsMixin, ("input" | "search-clear" | "search-input" | "update:search-term")[], string, Readonly<import("vue").ExtractPropTypes<{
|
|
22
23
|
searchTerm: {
|
|
23
24
|
type: StringConstructor;
|
|
24
|
-
default:
|
|
25
|
+
default: any;
|
|
25
26
|
};
|
|
26
27
|
value: {
|
|
27
28
|
type: PropType<BentoFilterBarModel>;
|
|
@@ -6,16 +6,18 @@ export interface Props extends RouterLinkProps, AnchorHTMLAttributes {
|
|
|
6
6
|
variant?: BentoLinkVariant;
|
|
7
7
|
}
|
|
8
8
|
import { BentoLinkVariant } from './link.types';
|
|
9
|
-
import type { RouterLinkProps } from 'vue-router/types/router';
|
|
9
|
+
import type { RouterLinkProps, RouterLinkSlotArgument } from 'vue-router/types/router';
|
|
10
10
|
import type { AnchorHTMLAttributes } from 'vue/types/jsx';
|
|
11
11
|
declare const _default: __VLS_WithTemplateSlots<import("vue").DefineComponent<__VLS_WithDefaults<__VLS_TypePropsToRuntimeProps<Props>, {
|
|
12
12
|
variant: BentoLinkVariant;
|
|
13
|
-
}>, {}, {}, {}, {}, import("vue/types/v3-component-options").ComponentOptionsMixin, import("vue/types/v3-component-options").ComponentOptionsMixin, {
|
|
13
|
+
}>, {}, {}, {}, {}, import("vue/types/v3-component-options").ComponentOptionsMixin, import("vue/types/v3-component-options").ComponentOptionsMixin, {
|
|
14
|
+
click: (clickEvent: MouseEvent) => void;
|
|
15
|
+
}, string, Readonly<import("vue").ExtractPropTypes<__VLS_WithDefaults<__VLS_TypePropsToRuntimeProps<Props>, {
|
|
14
16
|
variant: BentoLinkVariant;
|
|
15
17
|
}>>>, {
|
|
16
18
|
variant: BentoLinkVariant;
|
|
17
19
|
}>, {
|
|
18
|
-
default: (_:
|
|
20
|
+
default: (_: RouterLinkSlotArgument) => any;
|
|
19
21
|
}>;
|
|
20
22
|
export default _default;
|
|
21
23
|
type __VLS_NonUndefinedable<T> = T extends undefined ? never : T;
|
|
@@ -1,7 +1,7 @@
|
|
|
1
|
-
import type { ComputedRef
|
|
2
|
-
import type { Fn } from '@/types';
|
|
3
|
-
import {
|
|
4
|
-
export declare const useCheckboxSelectAll: (selectedItemsList:
|
|
1
|
+
import type { ComputedRef } from 'vue';
|
|
2
|
+
import type { BentoListboxMultiSelectValue, Fn } from '@/types';
|
|
3
|
+
import { BentoListboxOptions } from '@/types';
|
|
4
|
+
export declare const useCheckboxSelectAll: (selectedItemsList: ComputedRef<BentoListboxMultiSelectValue>, items: ComputedRef<BentoListboxOptions>, selectAll: Fn, unselectAll: Fn) => {
|
|
5
5
|
isAllSelected: ComputedRef<boolean>;
|
|
6
6
|
isIndeterminate: ComputedRef<boolean>;
|
|
7
7
|
toggleSelectAll: (selectedValue: boolean) => void;
|