@adyen/bento-vue2 0.1.2 → 0.1.3
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/button/components/button-actions/button-actions.types.d.ts +12 -1
- package/dist/@types/components/button/components/button-actions/button-actions.vue.d.ts +2 -2
- package/dist/@types/components/card/card.types.d.ts +3 -9
- package/dist/@types/components/card/card.vue.d.ts +63 -28
- package/dist/@types/components/card/index.d.ts +1 -2
- package/dist/@types/components/data-grid/components/data-grid-config-settings/data-grid-config-settings.vue.d.ts +22 -1
- package/dist/@types/components/data-grid/composables/useCalculateColumnWidth/useCalculateColumnWidth.d.ts +2 -0
- package/dist/@types/components/data-grid/composables/useConfigSettings.d.ts +3 -1
- package/dist/@types/components/data-grid/data-grid.types.d.ts +2 -0
- package/dist/@types/components/data-grid/data-grid.vue.d.ts +22 -0
- package/dist/@types/components/dropdown/components/dropdown-base-textbox/dropdown-base-textbox.vue.d.ts +1 -0
- package/dist/@types/components/dropdown/components/dropdown-options-container/components/dropdown-multi-select/dropdown-multi-select.vue.d.ts +33 -0
- package/dist/@types/components/dropdown/components/dropdown-options-container/components/dropdown-multi-select/index.d.ts +1 -0
- package/dist/@types/components/dropdown/components/dropdown-options-container/components/dropdown-option/dropdown-option.vue.d.ts +29 -0
- package/dist/@types/components/dropdown/components/dropdown-options-container/components/dropdown-option/index.d.ts +1 -0
- package/dist/@types/components/dropdown/components/dropdown-options-container/components/dropdown-single-select-option/dropdown-single-select-option.vue.d.ts +16 -20
- package/dist/@types/components/dropdown/components/dropdown-options-container/dropdown-options-container.vue.d.ts +14 -5
- package/dist/@types/components/dropdown/dropdown.types.d.ts +7 -6
- package/dist/@types/components/dropdown/dropdown.vue.d.ts +39 -29
- package/dist/@types/components/dropdown/index.d.ts +1 -1
- package/dist/@types/components/filter-bar/components/base-filter/base-filter.vue.d.ts +1 -17
- package/dist/@types/components/filter-bar/components/base-filter/components/index.d.ts +1 -0
- package/dist/@types/components/filter-bar/components/text-filter/text-filter.vue.d.ts +0 -9
- package/dist/@types/components/filter-bar/filter-bar.types.d.ts +0 -1
- package/dist/@types/components/input-field/input-field.vue.d.ts +1 -1
- package/dist/@types/components/pagination/components/pagination-context/pagination-context.vue.d.ts +2 -2
- package/dist/@types/components/popover/popover.vue.d.ts +2 -2
- package/dist/@types/components/search-bar/search-bar.vue.d.ts +172 -1
- package/dist/@types/components.d.ts +4 -6
- package/dist/@types/composables/index.d.ts +1 -0
- package/dist/@types/composables/use-checkbox-select-all/use-checkbox-select-all.d.ts +8 -0
- package/dist/@types/index.d.ts +2 -0
- package/dist/index.js +2487 -2093
- package/dist/index.js.map +1 -1
- package/package.json +3 -3
- package/dist/@types/components/card/components/card-image/card-image.vue.d.ts +0 -20
- package/dist/@types/components/filter-bar/components/base-filter/composables/index.d.ts +0 -9
|
@@ -1,5 +1,5 @@
|
|
|
1
1
|
import { PropType } from 'vue';
|
|
2
|
-
import {
|
|
2
|
+
import type { BentoDropdownIsOptionDisabled, BentoDropdownOptionItem, BentoDropdownOptions, BentoDropdownSelectedValue } from './dropdown.types';
|
|
3
3
|
import { BentoTypographyElement } from '../typography';
|
|
4
4
|
declare const _default: import("vue").DefineComponent<{
|
|
5
5
|
ariaLabel: {
|
|
@@ -22,6 +22,18 @@ declare const _default: import("vue").DefineComponent<{
|
|
|
22
22
|
type: StringConstructor;
|
|
23
23
|
default: any;
|
|
24
24
|
};
|
|
25
|
+
isOptionDisabled: {
|
|
26
|
+
type: PropType<BentoDropdownIsOptionDisabled>;
|
|
27
|
+
default: any;
|
|
28
|
+
};
|
|
29
|
+
items: {
|
|
30
|
+
type: PropType<BentoDropdownOptions>;
|
|
31
|
+
default: () => any[];
|
|
32
|
+
};
|
|
33
|
+
multiple: {
|
|
34
|
+
type: BooleanConstructor;
|
|
35
|
+
default: boolean;
|
|
36
|
+
};
|
|
25
37
|
optional: {
|
|
26
38
|
type: BooleanConstructor;
|
|
27
39
|
default: boolean;
|
|
@@ -30,33 +42,26 @@ declare const _default: import("vue").DefineComponent<{
|
|
|
30
42
|
type: StringConstructor;
|
|
31
43
|
default: any;
|
|
32
44
|
};
|
|
33
|
-
value: {
|
|
34
|
-
type: PropType<import("./dropdown.types").AdlDropdownValue>;
|
|
35
|
-
default: any;
|
|
36
|
-
};
|
|
37
|
-
isOptionDisabled: {
|
|
38
|
-
type: PropType<BentoDropdownIsOptionDisabled>;
|
|
39
|
-
default: any;
|
|
40
|
-
};
|
|
41
|
-
items: {
|
|
42
|
-
type: PropType<AdlDropdownOptions>;
|
|
43
|
-
default: () => any[];
|
|
44
|
-
};
|
|
45
45
|
required: {
|
|
46
46
|
type: BooleanConstructor;
|
|
47
47
|
default: boolean;
|
|
48
48
|
};
|
|
49
|
+
value: {
|
|
50
|
+
type: PropType<BentoDropdownSelectedValue>;
|
|
51
|
+
default: any;
|
|
52
|
+
};
|
|
49
53
|
}, {
|
|
54
|
+
additionalItemsSelected: import("vue").ComputedRef<number>;
|
|
50
55
|
isDropdownOpen: import("vue").Ref<boolean>;
|
|
51
56
|
displayValue: import("vue").ComputedRef<string>;
|
|
52
57
|
dropdownOptionsContainerId: string;
|
|
53
|
-
filteredItems: import("vue").ComputedRef<
|
|
58
|
+
filteredItems: import("vue").ComputedRef<BentoDropdownOptionItem[]>;
|
|
54
59
|
searchTerm: import("vue").Ref<string>;
|
|
55
60
|
labelId: string;
|
|
56
61
|
inputContainerRef: any;
|
|
57
62
|
closeOpenedDropdown: () => void;
|
|
58
63
|
toggleDropdown: () => void;
|
|
59
|
-
onOptionSelected: (
|
|
64
|
+
onOptionSelected: (selectedValue: BentoDropdownSelectedValue) => void;
|
|
60
65
|
BentoTypographyElement: typeof BentoTypographyElement;
|
|
61
66
|
}, {}, {}, {}, import("vue/types/v3-component-options").ComponentOptionsMixin, import("vue/types/v3-component-options").ComponentOptionsMixin, "input"[], string, Readonly<import("vue").ExtractPropTypes<{
|
|
62
67
|
ariaLabel: {
|
|
@@ -79,6 +84,18 @@ declare const _default: import("vue").DefineComponent<{
|
|
|
79
84
|
type: StringConstructor;
|
|
80
85
|
default: any;
|
|
81
86
|
};
|
|
87
|
+
isOptionDisabled: {
|
|
88
|
+
type: PropType<BentoDropdownIsOptionDisabled>;
|
|
89
|
+
default: any;
|
|
90
|
+
};
|
|
91
|
+
items: {
|
|
92
|
+
type: PropType<BentoDropdownOptions>;
|
|
93
|
+
default: () => any[];
|
|
94
|
+
};
|
|
95
|
+
multiple: {
|
|
96
|
+
type: BooleanConstructor;
|
|
97
|
+
default: boolean;
|
|
98
|
+
};
|
|
82
99
|
optional: {
|
|
83
100
|
type: BooleanConstructor;
|
|
84
101
|
default: boolean;
|
|
@@ -87,32 +104,25 @@ declare const _default: import("vue").DefineComponent<{
|
|
|
87
104
|
type: StringConstructor;
|
|
88
105
|
default: any;
|
|
89
106
|
};
|
|
90
|
-
value: {
|
|
91
|
-
type: PropType<import("./dropdown.types").AdlDropdownValue>;
|
|
92
|
-
default: any;
|
|
93
|
-
};
|
|
94
|
-
isOptionDisabled: {
|
|
95
|
-
type: PropType<BentoDropdownIsOptionDisabled>;
|
|
96
|
-
default: any;
|
|
97
|
-
};
|
|
98
|
-
items: {
|
|
99
|
-
type: PropType<AdlDropdownOptions>;
|
|
100
|
-
default: () => any[];
|
|
101
|
-
};
|
|
102
107
|
required: {
|
|
103
108
|
type: BooleanConstructor;
|
|
104
109
|
default: boolean;
|
|
105
110
|
};
|
|
111
|
+
value: {
|
|
112
|
+
type: PropType<BentoDropdownSelectedValue>;
|
|
113
|
+
default: any;
|
|
114
|
+
};
|
|
106
115
|
}>>, {
|
|
107
116
|
required: boolean;
|
|
108
117
|
optional: boolean;
|
|
109
|
-
value:
|
|
118
|
+
value: BentoDropdownSelectedValue;
|
|
110
119
|
label: string;
|
|
111
120
|
ariaLabel: string;
|
|
112
121
|
disabled: boolean;
|
|
122
|
+
multiple: boolean;
|
|
113
123
|
description: string;
|
|
114
124
|
placeholder: string;
|
|
115
|
-
items:
|
|
125
|
+
items: BentoDropdownOptions;
|
|
116
126
|
isOptionDisabled: BentoDropdownIsOptionDisabled;
|
|
117
127
|
dynamicFiltering: boolean;
|
|
118
128
|
}>;
|
|
@@ -1,2 +1,2 @@
|
|
|
1
|
-
export { default as
|
|
1
|
+
export { default as BentoDropdown } from './dropdown.vue';
|
|
2
2
|
export * from './dropdown.types';
|
|
@@ -1,9 +1,5 @@
|
|
|
1
1
|
import { BentoButtonVariant } from '@/components/button';
|
|
2
2
|
declare const _default: import("vue").DefineComponent<{
|
|
3
|
-
alwaysShowNameInLabel: {
|
|
4
|
-
type: BooleanConstructor;
|
|
5
|
-
default: boolean;
|
|
6
|
-
};
|
|
7
3
|
disableApplyButton: {
|
|
8
4
|
type: BooleanConstructor;
|
|
9
5
|
deafault: boolean;
|
|
@@ -25,13 +21,7 @@ declare const _default: import("vue").DefineComponent<{
|
|
|
25
21
|
default: any;
|
|
26
22
|
};
|
|
27
23
|
}, {
|
|
28
|
-
|
|
29
|
-
buttonVariant: import("vue").ComputedRef<BentoButtonVariant.PRIMARY | BentoButtonVariant.SECONDARY>;
|
|
30
|
-
isTooltipVisible: import("vue").ComputedRef<boolean>;
|
|
31
|
-
isActive: import("vue").ComputedRef<boolean>;
|
|
32
|
-
conditionalClasses: import("vue").ComputedRef<{
|
|
33
|
-
'b-base-filter--inactive': boolean;
|
|
34
|
-
}>;
|
|
24
|
+
activeAppliedFilterCount: import("vue").ComputedRef<number>;
|
|
35
25
|
BentoPopoverPositions: {
|
|
36
26
|
AUTO: import("../../../popper-container").PopperContainerPositionExtended.AUTO;
|
|
37
27
|
AUTO_START: import("../../../popper-container").PopperContainerPositionExtended.AUTO_START;
|
|
@@ -56,17 +46,12 @@ declare const _default: import("vue").DefineComponent<{
|
|
|
56
46
|
LEFT: import("../../../popper-container").PopperContainerPositionBasic.LEFT;
|
|
57
47
|
};
|
|
58
48
|
onClickFilter: () => void;
|
|
59
|
-
onClickDismissFilter: () => void;
|
|
60
49
|
onClickApply: () => void;
|
|
61
50
|
onClickClear: () => void;
|
|
62
51
|
onClickOutside: () => void;
|
|
63
52
|
filterButtonRef: any;
|
|
64
53
|
BentoButtonVariant: typeof BentoButtonVariant;
|
|
65
54
|
}, {}, {}, {}, import("vue/types/v3-component-options").ComponentOptionsMixin, import("vue/types/v3-component-options").ComponentOptionsMixin, ("open" | "clear" | "close" | "dismiss" | "apply")[], string, Readonly<import("vue").ExtractPropTypes<{
|
|
66
|
-
alwaysShowNameInLabel: {
|
|
67
|
-
type: BooleanConstructor;
|
|
68
|
-
default: boolean;
|
|
69
|
-
};
|
|
70
55
|
disableApplyButton: {
|
|
71
56
|
type: BooleanConstructor;
|
|
72
57
|
deafault: boolean;
|
|
@@ -89,7 +74,6 @@ declare const _default: import("vue").DefineComponent<{
|
|
|
89
74
|
};
|
|
90
75
|
}>>, {
|
|
91
76
|
value: string;
|
|
92
|
-
alwaysShowNameInLabel: boolean;
|
|
93
77
|
disableApplyButton: boolean;
|
|
94
78
|
}>;
|
|
95
79
|
export default _default;
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
export { default as BentoFilterButton } from './filter-button/filter-button.vue';
|
|
@@ -1,8 +1,4 @@
|
|
|
1
1
|
declare const _default: import("vue").DefineComponent<{
|
|
2
|
-
alwaysShowNameInLabel: {
|
|
3
|
-
type: BooleanConstructor;
|
|
4
|
-
default: boolean;
|
|
5
|
-
};
|
|
6
2
|
field: {
|
|
7
3
|
type: StringConstructor;
|
|
8
4
|
required: true;
|
|
@@ -26,10 +22,6 @@ declare const _default: import("vue").DefineComponent<{
|
|
|
26
22
|
closeFilter: () => void;
|
|
27
23
|
dismissFilter: () => void;
|
|
28
24
|
}, {}, {}, {}, import("vue/types/v3-component-options").ComponentOptionsMixin, import("vue/types/v3-component-options").ComponentOptionsMixin, ("update" | "dismiss")[], string, Readonly<import("vue").ExtractPropTypes<{
|
|
29
|
-
alwaysShowNameInLabel: {
|
|
30
|
-
type: BooleanConstructor;
|
|
31
|
-
default: boolean;
|
|
32
|
-
};
|
|
33
25
|
field: {
|
|
34
26
|
type: StringConstructor;
|
|
35
27
|
required: true;
|
|
@@ -44,6 +36,5 @@ declare const _default: import("vue").DefineComponent<{
|
|
|
44
36
|
};
|
|
45
37
|
}>>, {
|
|
46
38
|
value: string;
|
|
47
|
-
alwaysShowNameInLabel: boolean;
|
|
48
39
|
}>;
|
|
49
40
|
export default _default;
|
|
@@ -50,7 +50,7 @@ declare const _default: import("vue").DefineComponent<{
|
|
|
50
50
|
inputFieldElement: any;
|
|
51
51
|
shouldDisplayStaticValueAtStart: import("vue").ComputedRef<boolean>;
|
|
52
52
|
shouldDisplayStaticValueAtEnd: import("vue").ComputedRef<boolean>;
|
|
53
|
-
}, {}, {}, {}, import("vue/types/v3-component-options.js").ComponentOptionsMixin, import("vue/types/v3-component-options.js").ComponentOptionsMixin, "input"[], string, Readonly<import("vue").ExtractPropTypes<{
|
|
53
|
+
}, {}, {}, {}, import("vue/types/v3-component-options.js").ComponentOptionsMixin, import("vue/types/v3-component-options.js").ComponentOptionsMixin, ("input" | "escape-pressed")[], string, Readonly<import("vue").ExtractPropTypes<{
|
|
54
54
|
ariaHidden: {
|
|
55
55
|
type: BooleanConstructor;
|
|
56
56
|
default: boolean;
|
package/dist/@types/components/pagination/components/pagination-context/pagination-context.vue.d.ts
CHANGED
|
@@ -1,5 +1,5 @@
|
|
|
1
1
|
import { BentoTypographyElement } from '@/components/typography';
|
|
2
|
-
import {
|
|
2
|
+
import { BentoDropdownOptionItem } from '@/components/dropdown';
|
|
3
3
|
declare const _default: import("vue").DefineComponent<{
|
|
4
4
|
page: {
|
|
5
5
|
type: NumberConstructor;
|
|
@@ -12,7 +12,7 @@ declare const _default: import("vue").DefineComponent<{
|
|
|
12
12
|
};
|
|
13
13
|
}, {
|
|
14
14
|
dropdownId: string;
|
|
15
|
-
listOfAvailablePages: import("vue").ComputedRef<
|
|
15
|
+
listOfAvailablePages: import("vue").ComputedRef<BentoDropdownOptionItem[]>;
|
|
16
16
|
onPageSelectChange: (selectedPage: string | number) => void;
|
|
17
17
|
BentoTypographyElement: typeof BentoTypographyElement;
|
|
18
18
|
}, {}, {}, {}, import("vue/types/v3-component-options").ComponentOptionsMixin, import("vue/types/v3-component-options").ComponentOptionsMixin, "page-selected"[], string, Readonly<import("vue").ExtractPropTypes<{
|
|
@@ -9,7 +9,7 @@ declare const _default: import("vue").DefineComponent<{
|
|
|
9
9
|
};
|
|
10
10
|
actionsLayout: {
|
|
11
11
|
type: PropType<BentoButtonActionsLayout>;
|
|
12
|
-
default:
|
|
12
|
+
default: import("@/components/button").BentoButtonActionsLayoutBasic;
|
|
13
13
|
validator: (value: BentoButtonActionsLayout) => boolean;
|
|
14
14
|
};
|
|
15
15
|
ariaLabel: {
|
|
@@ -71,7 +71,7 @@ declare const _default: import("vue").DefineComponent<{
|
|
|
71
71
|
};
|
|
72
72
|
actionsLayout: {
|
|
73
73
|
type: PropType<BentoButtonActionsLayout>;
|
|
74
|
-
default:
|
|
74
|
+
default: import("@/components/button").BentoButtonActionsLayoutBasic;
|
|
75
75
|
validator: (value: BentoButtonActionsLayout) => boolean;
|
|
76
76
|
};
|
|
77
77
|
ariaLabel: {
|
|
@@ -14,10 +14,181 @@ declare const _default: import("vue").DefineComponent<{
|
|
|
14
14
|
};
|
|
15
15
|
}, {
|
|
16
16
|
searchTerm: import("vue").Ref<string>;
|
|
17
|
+
bentoInputField: import("vue").Ref<import("vue/types/v3-component-public-instance").Vue3Instance<{}, Readonly<import("vue").ExtractPropTypes<{
|
|
18
|
+
ariaHidden: {
|
|
19
|
+
type: BooleanConstructor;
|
|
20
|
+
default: boolean;
|
|
21
|
+
};
|
|
22
|
+
ariaLabel: {
|
|
23
|
+
type: StringConstructor;
|
|
24
|
+
default: any;
|
|
25
|
+
};
|
|
26
|
+
disabled: {
|
|
27
|
+
type: BooleanConstructor;
|
|
28
|
+
default: boolean;
|
|
29
|
+
};
|
|
30
|
+
error: {
|
|
31
|
+
type: BooleanConstructor;
|
|
32
|
+
default: boolean;
|
|
33
|
+
};
|
|
34
|
+
staticValue: {
|
|
35
|
+
type: StringConstructor;
|
|
36
|
+
default: string;
|
|
37
|
+
};
|
|
38
|
+
staticValuePosition: {
|
|
39
|
+
type: import("vue").PropType<import("@/components/input-field").BentoInputFieldStaticValuePosition>;
|
|
40
|
+
default: import("@/components/input-field").BentoInputFieldStaticValuePosition;
|
|
41
|
+
};
|
|
42
|
+
type: {
|
|
43
|
+
type: import("vue").PropType<BentoInputFieldType>;
|
|
44
|
+
default: BentoInputFieldType;
|
|
45
|
+
};
|
|
46
|
+
value: {
|
|
47
|
+
type: StringConstructor;
|
|
48
|
+
default: string;
|
|
49
|
+
};
|
|
50
|
+
variant: {
|
|
51
|
+
type: import("vue").PropType<import("@/components/input-field").BentoInputFieldVariant>;
|
|
52
|
+
default: import("@/components/input-field").BentoInputFieldVariant;
|
|
53
|
+
};
|
|
54
|
+
}>>, Readonly<import("vue").ExtractPropTypes<{
|
|
55
|
+
ariaHidden: {
|
|
56
|
+
type: BooleanConstructor;
|
|
57
|
+
default: boolean;
|
|
58
|
+
};
|
|
59
|
+
ariaLabel: {
|
|
60
|
+
type: StringConstructor;
|
|
61
|
+
default: any;
|
|
62
|
+
};
|
|
63
|
+
disabled: {
|
|
64
|
+
type: BooleanConstructor;
|
|
65
|
+
default: boolean;
|
|
66
|
+
};
|
|
67
|
+
error: {
|
|
68
|
+
type: BooleanConstructor;
|
|
69
|
+
default: boolean;
|
|
70
|
+
};
|
|
71
|
+
staticValue: {
|
|
72
|
+
type: StringConstructor;
|
|
73
|
+
default: string;
|
|
74
|
+
};
|
|
75
|
+
staticValuePosition: {
|
|
76
|
+
type: import("vue").PropType<import("@/components/input-field").BentoInputFieldStaticValuePosition>;
|
|
77
|
+
default: import("@/components/input-field").BentoInputFieldStaticValuePosition;
|
|
78
|
+
};
|
|
79
|
+
type: {
|
|
80
|
+
type: import("vue").PropType<BentoInputFieldType>;
|
|
81
|
+
default: BentoInputFieldType;
|
|
82
|
+
};
|
|
83
|
+
value: {
|
|
84
|
+
type: StringConstructor;
|
|
85
|
+
default: string;
|
|
86
|
+
};
|
|
87
|
+
variant: {
|
|
88
|
+
type: import("vue").PropType<import("@/components/input-field").BentoInputFieldVariant>;
|
|
89
|
+
default: import("@/components/input-field").BentoInputFieldVariant;
|
|
90
|
+
};
|
|
91
|
+
}>>, ("input" | "escape-pressed")[], {
|
|
92
|
+
type: BentoInputFieldType;
|
|
93
|
+
error: boolean;
|
|
94
|
+
value: string;
|
|
95
|
+
ariaHidden: boolean;
|
|
96
|
+
ariaLabel: string;
|
|
97
|
+
disabled: boolean;
|
|
98
|
+
variant: import("@/components/input-field").BentoInputFieldVariant;
|
|
99
|
+
staticValue: string;
|
|
100
|
+
staticValuePosition: import("@/components/input-field").BentoInputFieldStaticValuePosition;
|
|
101
|
+
}, true, import("vue/types/v3-component-options").ComponentOptionsBase<any, any, any, any, any, any, any, any, any, any>> & Readonly<Readonly<import("vue").ExtractPropTypes<{
|
|
102
|
+
ariaHidden: {
|
|
103
|
+
type: BooleanConstructor;
|
|
104
|
+
default: boolean;
|
|
105
|
+
};
|
|
106
|
+
ariaLabel: {
|
|
107
|
+
type: StringConstructor;
|
|
108
|
+
default: any;
|
|
109
|
+
};
|
|
110
|
+
disabled: {
|
|
111
|
+
type: BooleanConstructor;
|
|
112
|
+
default: boolean;
|
|
113
|
+
};
|
|
114
|
+
error: {
|
|
115
|
+
type: BooleanConstructor;
|
|
116
|
+
default: boolean;
|
|
117
|
+
};
|
|
118
|
+
staticValue: {
|
|
119
|
+
type: StringConstructor;
|
|
120
|
+
default: string;
|
|
121
|
+
};
|
|
122
|
+
staticValuePosition: {
|
|
123
|
+
type: import("vue").PropType<import("@/components/input-field").BentoInputFieldStaticValuePosition>;
|
|
124
|
+
default: import("@/components/input-field").BentoInputFieldStaticValuePosition;
|
|
125
|
+
};
|
|
126
|
+
type: {
|
|
127
|
+
type: import("vue").PropType<BentoInputFieldType>;
|
|
128
|
+
default: BentoInputFieldType;
|
|
129
|
+
};
|
|
130
|
+
value: {
|
|
131
|
+
type: StringConstructor;
|
|
132
|
+
default: string;
|
|
133
|
+
};
|
|
134
|
+
variant: {
|
|
135
|
+
type: import("vue").PropType<import("@/components/input-field").BentoInputFieldVariant>;
|
|
136
|
+
default: import("@/components/input-field").BentoInputFieldVariant;
|
|
137
|
+
};
|
|
138
|
+
}>>> & import("vue").ShallowUnwrapRef<{
|
|
139
|
+
BentoTypographyVariant: typeof import("../typography").BentoTypographyVariant;
|
|
140
|
+
BentoTypographyElement: typeof import("../typography").BentoTypographyElement;
|
|
141
|
+
BentoInputFieldVariant: typeof import("@/components/input-field").BentoInputFieldVariant;
|
|
142
|
+
onInput: (event: Event) => void;
|
|
143
|
+
focusInput: () => void;
|
|
144
|
+
inputFieldConditionalClasses: import("vue").ComputedRef<{
|
|
145
|
+
[x: string]: boolean;
|
|
146
|
+
}>;
|
|
147
|
+
inputFieldElement: any;
|
|
148
|
+
shouldDisplayStaticValueAtStart: import("vue").ComputedRef<boolean>;
|
|
149
|
+
shouldDisplayStaticValueAtEnd: import("vue").ComputedRef<boolean>;
|
|
150
|
+
}> & import("vue/types/v3-component-options").ExtractComputedReturns<{}> & import("vue").ComponentCustomProperties & Readonly<import("vue").ExtractPropTypes<{
|
|
151
|
+
ariaHidden: {
|
|
152
|
+
type: BooleanConstructor;
|
|
153
|
+
default: boolean;
|
|
154
|
+
};
|
|
155
|
+
ariaLabel: {
|
|
156
|
+
type: StringConstructor;
|
|
157
|
+
default: any;
|
|
158
|
+
};
|
|
159
|
+
disabled: {
|
|
160
|
+
type: BooleanConstructor;
|
|
161
|
+
default: boolean;
|
|
162
|
+
};
|
|
163
|
+
error: {
|
|
164
|
+
type: BooleanConstructor;
|
|
165
|
+
default: boolean;
|
|
166
|
+
};
|
|
167
|
+
staticValue: {
|
|
168
|
+
type: StringConstructor;
|
|
169
|
+
default: string;
|
|
170
|
+
};
|
|
171
|
+
staticValuePosition: {
|
|
172
|
+
type: import("vue").PropType<import("@/components/input-field").BentoInputFieldStaticValuePosition>;
|
|
173
|
+
default: import("@/components/input-field").BentoInputFieldStaticValuePosition;
|
|
174
|
+
};
|
|
175
|
+
type: {
|
|
176
|
+
type: import("vue").PropType<BentoInputFieldType>;
|
|
177
|
+
default: BentoInputFieldType;
|
|
178
|
+
};
|
|
179
|
+
value: {
|
|
180
|
+
type: StringConstructor;
|
|
181
|
+
default: string;
|
|
182
|
+
};
|
|
183
|
+
variant: {
|
|
184
|
+
type: import("vue").PropType<import("@/components/input-field").BentoInputFieldVariant>;
|
|
185
|
+
default: import("@/components/input-field").BentoInputFieldVariant;
|
|
186
|
+
};
|
|
187
|
+
}>>>;
|
|
17
188
|
onClearSearch: () => void;
|
|
18
189
|
onInputEvent: () => void;
|
|
19
190
|
BentoInputFieldType: typeof BentoInputFieldType;
|
|
20
|
-
}, {}, {}, {}, import("vue/types/v3-component-options").ComponentOptionsMixin, import("vue/types/v3-component-options").ComponentOptionsMixin, ("input" | "clear")[], string, Readonly<import("vue").ExtractPropTypes<{
|
|
191
|
+
}, {}, {}, {}, import("vue/types/v3-component-options").ComponentOptionsMixin, import("vue/types/v3-component-options").ComponentOptionsMixin, ("input" | "clear" | "escape-pressed")[], string, Readonly<import("vue").ExtractPropTypes<{
|
|
21
192
|
ariaLabel: {
|
|
22
193
|
type: StringConstructor;
|
|
23
194
|
required: true;
|
|
@@ -3,9 +3,6 @@ import {
|
|
|
3
3
|
// AdlAccordion,
|
|
4
4
|
// AdlAccordionItem,
|
|
5
5
|
// AdlBadge,
|
|
6
|
-
// AdlCard,
|
|
7
|
-
// AdlCardImage,
|
|
8
|
-
// AdlDropdown,
|
|
9
6
|
// AdlPageHeader,
|
|
10
7
|
// AdlSegmentedControl,
|
|
11
8
|
// AdlSegmentedOption,
|
|
@@ -18,12 +15,14 @@ import {
|
|
|
18
15
|
BentoButton,
|
|
19
16
|
BentoButtonActions,
|
|
20
17
|
BentoButtonGroup,
|
|
18
|
+
BentoCard,
|
|
21
19
|
BentoCheckbox,
|
|
22
20
|
BentoCheckboxGroup,
|
|
23
21
|
BentoClickOutside,
|
|
24
22
|
BentoCountry,
|
|
25
23
|
BentoCurrency,
|
|
26
24
|
BentoDataGrid,
|
|
25
|
+
BentoDropdown,
|
|
27
26
|
BentoInputField,
|
|
28
27
|
BentoLink,
|
|
29
28
|
BentoLoadingButton,
|
|
@@ -45,9 +44,6 @@ declare module 'vue' {
|
|
|
45
44
|
// AdlAccordion: typeof AdlAccordion;
|
|
46
45
|
// AdlAccordionItem: typeof AdlAccordionItem;
|
|
47
46
|
// AdlBadge: typeof AdlBadge;
|
|
48
|
-
// AdlCard: typeof AdlCard;
|
|
49
|
-
// AdlCardImage: typeof AdlCardImage;
|
|
50
|
-
// AdlDropdown: typeof AdlDropdown;
|
|
51
47
|
// AdlPageHeader: typeof AdlPageHeader;
|
|
52
48
|
// AdlSegmentedControl: typeof AdlSegmentedControl;
|
|
53
49
|
// AdlSegmentedOption: typeof AdlSegmentedOption;
|
|
@@ -60,12 +56,14 @@ declare module 'vue' {
|
|
|
60
56
|
BentoButton: typeof BentoButton;
|
|
61
57
|
BentoButtonGroup: typeof BentoButtonGroup;
|
|
62
58
|
BentoButtonActions: typeof BentoButtonActions;
|
|
59
|
+
BentoCard: typeof BentoCard;
|
|
63
60
|
BentoCheckbox: typeof BentoCheckbox;
|
|
64
61
|
BentoCheckboxGroup: typeof BentoCheckboxGroup;
|
|
65
62
|
BentoClickOutside: typeof BentoClickOutside;
|
|
66
63
|
BentoCountry: typeof BentoCountry;
|
|
67
64
|
BentoCurrency: typeof BentoCurrency;
|
|
68
65
|
BentoDataGrid: typeof BentoDataGrid;
|
|
66
|
+
BentoDropdown: typeof BentoDropdown;
|
|
69
67
|
BentoInputField: typeof BentoInputField;
|
|
70
68
|
BentoLink: typeof BentoLink;
|
|
71
69
|
BentoLoadingButton: typeof BentoLoadingButton;
|
|
@@ -0,0 +1,8 @@
|
|
|
1
|
+
import { Ref } from 'vue';
|
|
2
|
+
import type { Fn } from '../../types';
|
|
3
|
+
import { BentoDropdownMultiSelectValue, BentoDropdownOptions } from '../../components/dropdown';
|
|
4
|
+
export declare const useCheckboxSelectAll: (selectedItemsList: Ref<BentoDropdownMultiSelectValue>, items: Ref<BentoDropdownOptions>, selectAll: Fn, unselectAll: Fn) => {
|
|
5
|
+
isAllSelected: import("vue").ComputedRef<boolean>;
|
|
6
|
+
isIndeterminate: import("vue").ComputedRef<boolean>;
|
|
7
|
+
toggleSelectAll: (selectedValue: boolean) => void;
|
|
8
|
+
};
|
package/dist/@types/index.d.ts
CHANGED
|
@@ -2,6 +2,8 @@ import BentoVue from './install';
|
|
|
2
2
|
export * from './components/alert';
|
|
3
3
|
export * from './components/button';
|
|
4
4
|
export * from './components/data-grid';
|
|
5
|
+
export * from './components/card';
|
|
6
|
+
export * from './components/dropdown';
|
|
5
7
|
export * from './components/checkbox';
|
|
6
8
|
export * from './components/click-outside';
|
|
7
9
|
export * from './components/country';
|