@adyen/bento-vue2 0.1.1 → 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 +23 -0
- package/dist/@types/components/dropdown/components/dropdown-base-textbox/dropdown-base-textbox.types.d.ts +53 -0
- package/dist/@types/components/dropdown/components/dropdown-base-textbox/dropdown-base-textbox.vue.d.ts +63 -21
- package/dist/@types/components/dropdown/components/dropdown-default-textbox/dropdown-default-textbox.vue.d.ts +57 -19
- 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 +11 -20
- package/dist/@types/components/dropdown/components/dropdown-options-container/components/dropdown-option/index.d.ts +1 -1
- package/dist/@types/components/dropdown/components/dropdown-options-container/components/dropdown-single-select-option/dropdown-single-select-option.vue.d.ts +48 -0
- package/dist/@types/components/dropdown/components/dropdown-options-container/components/dropdown-single-select-option/index.d.ts +1 -0
- package/dist/@types/components/dropdown/components/dropdown-options-container/dropdown-options-container.vue.d.ts +31 -13
- package/dist/@types/components/dropdown/components/dropdown-options-container/index.d.ts +1 -1
- package/dist/@types/components/dropdown/components/dropdown-small-textbox/dropdown-small-textbox.vue.d.ts +57 -10
- package/dist/@types/components/dropdown/components/index.d.ts +1 -0
- package/dist/@types/components/dropdown/dropdown.types.d.ts +7 -5
- package/dist/@types/components/dropdown/dropdown.vue.d.ts +81 -12
- 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 +173 -2
- package/dist/@types/components/search-bar/useSearchBarDataFilter.d.ts +2 -2
- package/dist/@types/components/tag/tag.vue.d.ts +10 -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/@types/types/index.d.ts +1 -0
- package/dist/@types/types/prop-types.d.ts +1 -0
- package/dist/@types/utils/ts/debounce/debounce.d.ts +1 -2
- package/dist/index.js +2709 -2054
- 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/dropdown/components/dropdown-input-container/dropdown-input-container.vue.d.ts +0 -68
- package/dist/@types/components/dropdown/components/dropdown-input-container/index.d.ts +0 -1
- package/dist/@types/components/filter-bar/components/base-filter/composables/index.d.ts +0 -9
|
@@ -1,25 +1,31 @@
|
|
|
1
|
+
import { PropType } from 'vue';
|
|
2
|
+
import { Booleanish } from '../../../../types';
|
|
1
3
|
declare const _default: import("vue").DefineComponent<{
|
|
2
|
-
|
|
3
|
-
type:
|
|
4
|
-
default:
|
|
4
|
+
additionalItemsSelected: {
|
|
5
|
+
type: NumberConstructor;
|
|
6
|
+
default: number;
|
|
5
7
|
};
|
|
6
8
|
ariaControls: {
|
|
7
9
|
type: StringConstructor;
|
|
8
10
|
required: true;
|
|
9
11
|
};
|
|
10
12
|
ariaExpanded: {
|
|
11
|
-
type:
|
|
13
|
+
type: PropType<Booleanish>;
|
|
12
14
|
required: true;
|
|
13
15
|
};
|
|
16
|
+
ariaLabel: {
|
|
17
|
+
type: StringConstructor;
|
|
18
|
+
default: any;
|
|
19
|
+
};
|
|
14
20
|
ariaLabelledby: {
|
|
15
21
|
type: StringConstructor;
|
|
16
22
|
default: any;
|
|
17
23
|
};
|
|
18
|
-
|
|
19
|
-
type:
|
|
20
|
-
default:
|
|
24
|
+
debounceTime: {
|
|
25
|
+
type: NumberConstructor;
|
|
26
|
+
default: number;
|
|
21
27
|
};
|
|
22
|
-
|
|
28
|
+
disabled: {
|
|
23
29
|
type: BooleanConstructor;
|
|
24
30
|
default: boolean;
|
|
25
31
|
};
|
|
@@ -27,6 +33,14 @@ declare const _default: import("vue").DefineComponent<{
|
|
|
27
33
|
type: StringConstructor;
|
|
28
34
|
default: any;
|
|
29
35
|
};
|
|
36
|
+
dynamicFiltering: {
|
|
37
|
+
type: BooleanConstructor;
|
|
38
|
+
default: boolean;
|
|
39
|
+
};
|
|
40
|
+
isInvalid: {
|
|
41
|
+
type: BooleanConstructor;
|
|
42
|
+
default: boolean;
|
|
43
|
+
};
|
|
30
44
|
open: {
|
|
31
45
|
type: BooleanConstructor;
|
|
32
46
|
default: boolean;
|
|
@@ -35,6 +49,10 @@ declare const _default: import("vue").DefineComponent<{
|
|
|
35
49
|
type: StringConstructor;
|
|
36
50
|
default: any;
|
|
37
51
|
};
|
|
52
|
+
value: {
|
|
53
|
+
type: StringConstructor;
|
|
54
|
+
default: string;
|
|
55
|
+
};
|
|
38
56
|
}, {
|
|
39
57
|
conditionalClasses: import("vue").ComputedRef<{
|
|
40
58
|
'b-dropdown-default-textbox--error': boolean;
|
|
@@ -42,28 +60,32 @@ declare const _default: import("vue").DefineComponent<{
|
|
|
42
60
|
'b-dropdown-default-textbox--opened': boolean;
|
|
43
61
|
}>;
|
|
44
62
|
isDropdownOpen: import("vue").ComputedRef<boolean>;
|
|
45
|
-
}, {}, {}, {}, import("vue/types/v3-component-options
|
|
46
|
-
|
|
47
|
-
type:
|
|
48
|
-
default:
|
|
63
|
+
}, {}, {}, {}, import("vue/types/v3-component-options").ComponentOptionsMixin, import("vue/types/v3-component-options").ComponentOptionsMixin, ("input" | "open" | "clear" | "close")[], string, Readonly<import("vue").ExtractPropTypes<{
|
|
64
|
+
additionalItemsSelected: {
|
|
65
|
+
type: NumberConstructor;
|
|
66
|
+
default: number;
|
|
49
67
|
};
|
|
50
68
|
ariaControls: {
|
|
51
69
|
type: StringConstructor;
|
|
52
70
|
required: true;
|
|
53
71
|
};
|
|
54
72
|
ariaExpanded: {
|
|
55
|
-
type:
|
|
73
|
+
type: PropType<Booleanish>;
|
|
56
74
|
required: true;
|
|
57
75
|
};
|
|
76
|
+
ariaLabel: {
|
|
77
|
+
type: StringConstructor;
|
|
78
|
+
default: any;
|
|
79
|
+
};
|
|
58
80
|
ariaLabelledby: {
|
|
59
81
|
type: StringConstructor;
|
|
60
82
|
default: any;
|
|
61
83
|
};
|
|
62
|
-
|
|
63
|
-
type:
|
|
64
|
-
default:
|
|
84
|
+
debounceTime: {
|
|
85
|
+
type: NumberConstructor;
|
|
86
|
+
default: number;
|
|
65
87
|
};
|
|
66
|
-
|
|
88
|
+
disabled: {
|
|
67
89
|
type: BooleanConstructor;
|
|
68
90
|
default: boolean;
|
|
69
91
|
};
|
|
@@ -71,6 +93,14 @@ declare const _default: import("vue").DefineComponent<{
|
|
|
71
93
|
type: StringConstructor;
|
|
72
94
|
default: any;
|
|
73
95
|
};
|
|
96
|
+
dynamicFiltering: {
|
|
97
|
+
type: BooleanConstructor;
|
|
98
|
+
default: boolean;
|
|
99
|
+
};
|
|
100
|
+
isInvalid: {
|
|
101
|
+
type: BooleanConstructor;
|
|
102
|
+
default: boolean;
|
|
103
|
+
};
|
|
74
104
|
open: {
|
|
75
105
|
type: BooleanConstructor;
|
|
76
106
|
default: boolean;
|
|
@@ -79,13 +109,21 @@ declare const _default: import("vue").DefineComponent<{
|
|
|
79
109
|
type: StringConstructor;
|
|
80
110
|
default: any;
|
|
81
111
|
};
|
|
112
|
+
value: {
|
|
113
|
+
type: StringConstructor;
|
|
114
|
+
default: string;
|
|
115
|
+
};
|
|
82
116
|
}>>, {
|
|
83
117
|
open: boolean;
|
|
118
|
+
value: string;
|
|
119
|
+
ariaLabel: string;
|
|
84
120
|
disabled: boolean;
|
|
85
121
|
placeholder: string;
|
|
86
|
-
|
|
87
|
-
|
|
122
|
+
debounceTime: number;
|
|
123
|
+
additionalItemsSelected: number;
|
|
88
124
|
ariaLabelledby: string;
|
|
125
|
+
displayValue: string;
|
|
126
|
+
dynamicFiltering: boolean;
|
|
89
127
|
isInvalid: boolean;
|
|
90
128
|
}>;
|
|
91
129
|
export default _default;
|
|
@@ -0,0 +1,33 @@
|
|
|
1
|
+
import { PropType } from 'vue';
|
|
2
|
+
import { BentoTypographyElement } from '@/components/typography';
|
|
3
|
+
import type { BentoDropdownOptions, BentoDropdownSelectedValue, BentoDropdownValue } from '../../../../dropdown.types';
|
|
4
|
+
declare const _default: import("vue").DefineComponent<{
|
|
5
|
+
items: {
|
|
6
|
+
type: PropType<BentoDropdownOptions>;
|
|
7
|
+
required: true;
|
|
8
|
+
};
|
|
9
|
+
selectedValues: {
|
|
10
|
+
type: PropType<BentoDropdownSelectedValue>;
|
|
11
|
+
default: BentoDropdownSelectedValue;
|
|
12
|
+
};
|
|
13
|
+
}, {
|
|
14
|
+
isAllSelected: import("vue").ComputedRef<boolean>;
|
|
15
|
+
isIndeterminate: import("vue").ComputedRef<boolean>;
|
|
16
|
+
selectedItemsList: import("vue").Ref<BentoDropdownValue[]>;
|
|
17
|
+
selectAllCheckboxText: import("vue").ComputedRef<import("vue-i18n").default.TranslateResult>;
|
|
18
|
+
BentoTypographyElement: typeof BentoTypographyElement;
|
|
19
|
+
toggleCheckboxSelection: (value: BentoDropdownValue) => void;
|
|
20
|
+
toggleSelectAll: (selectedValue: boolean) => void;
|
|
21
|
+
}, {}, {}, {}, import("vue/types/v3-component-options").ComponentOptionsMixin, import("vue/types/v3-component-options").ComponentOptionsMixin, "select"[], string, Readonly<import("vue").ExtractPropTypes<{
|
|
22
|
+
items: {
|
|
23
|
+
type: PropType<BentoDropdownOptions>;
|
|
24
|
+
required: true;
|
|
25
|
+
};
|
|
26
|
+
selectedValues: {
|
|
27
|
+
type: PropType<BentoDropdownSelectedValue>;
|
|
28
|
+
default: BentoDropdownSelectedValue;
|
|
29
|
+
};
|
|
30
|
+
}>>, {
|
|
31
|
+
selectedValues: BentoDropdownSelectedValue;
|
|
32
|
+
}>;
|
|
33
|
+
export default _default;
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
export { default as BentoDropdownMultiSelect } from './dropdown-multi-select.vue';
|
|
@@ -1,13 +1,7 @@
|
|
|
1
|
-
import { PropType } from 'vue';
|
|
2
|
-
import { AdlDropdownValue } from '@/components/dropdown/dropdown.types';
|
|
3
1
|
declare const _default: import("vue").DefineComponent<{
|
|
4
|
-
|
|
5
|
-
type:
|
|
6
|
-
|
|
7
|
-
};
|
|
8
|
-
value: {
|
|
9
|
-
type: PropType<AdlDropdownValue>;
|
|
10
|
-
required: true;
|
|
2
|
+
disabled: {
|
|
3
|
+
type: BooleanConstructor;
|
|
4
|
+
default: boolean;
|
|
11
5
|
};
|
|
12
6
|
selected: {
|
|
13
7
|
type: BooleanConstructor;
|
|
@@ -15,24 +9,21 @@ declare const _default: import("vue").DefineComponent<{
|
|
|
15
9
|
};
|
|
16
10
|
}, {
|
|
17
11
|
conditionalClasses: import("vue").ComputedRef<{
|
|
18
|
-
'
|
|
12
|
+
'b-dropdown-option--disabled': boolean;
|
|
13
|
+
'b-dropdown-option--selected': boolean;
|
|
19
14
|
}>;
|
|
20
|
-
|
|
21
|
-
|
|
22
|
-
|
|
23
|
-
|
|
24
|
-
|
|
25
|
-
required: true;
|
|
26
|
-
};
|
|
27
|
-
value: {
|
|
28
|
-
type: PropType<AdlDropdownValue>;
|
|
29
|
-
required: true;
|
|
15
|
+
onClick: (e: Event) => void;
|
|
16
|
+
}, {}, {}, {}, import("vue/types/v3-component-options.js").ComponentOptionsMixin, import("vue/types/v3-component-options.js").ComponentOptionsMixin, ("click" | "escape-pressed" | "enter-pressed")[], string, Readonly<import("vue").ExtractPropTypes<{
|
|
17
|
+
disabled: {
|
|
18
|
+
type: BooleanConstructor;
|
|
19
|
+
default: boolean;
|
|
30
20
|
};
|
|
31
21
|
selected: {
|
|
32
22
|
type: BooleanConstructor;
|
|
33
23
|
default: boolean;
|
|
34
24
|
};
|
|
35
25
|
}>>, {
|
|
26
|
+
disabled: boolean;
|
|
36
27
|
selected: boolean;
|
|
37
28
|
}>;
|
|
38
29
|
export default _default;
|
|
@@ -1 +1 @@
|
|
|
1
|
-
export { default as
|
|
1
|
+
export { default as BentoDropdownOption } from './dropdown-option.vue';
|
|
@@ -0,0 +1,48 @@
|
|
|
1
|
+
import { PropType } from 'vue';
|
|
2
|
+
import { BentoTypographyElement } from '@/components/typography';
|
|
3
|
+
import type { BentoDropdownValue } from '@/components/dropdown/dropdown.types';
|
|
4
|
+
declare const _default: import("vue").DefineComponent<{
|
|
5
|
+
disabled: {
|
|
6
|
+
type: BooleanConstructor;
|
|
7
|
+
default: boolean;
|
|
8
|
+
};
|
|
9
|
+
label: {
|
|
10
|
+
type: StringConstructor;
|
|
11
|
+
required: true;
|
|
12
|
+
};
|
|
13
|
+
selected: {
|
|
14
|
+
type: BooleanConstructor;
|
|
15
|
+
default: boolean;
|
|
16
|
+
};
|
|
17
|
+
value: {
|
|
18
|
+
type: PropType<BentoDropdownValue>;
|
|
19
|
+
required: true;
|
|
20
|
+
};
|
|
21
|
+
}, {
|
|
22
|
+
ariaDisabled: import("vue").ComputedRef<boolean>;
|
|
23
|
+
ariaSelected: import("vue").ComputedRef<boolean>;
|
|
24
|
+
tabIndex: import("vue").ComputedRef<0 | -1>;
|
|
25
|
+
BentoTypographyElement: typeof BentoTypographyElement;
|
|
26
|
+
onOptionSelected: () => void;
|
|
27
|
+
}, {}, {}, {}, import("vue/types/v3-component-options").ComponentOptionsMixin, import("vue/types/v3-component-options").ComponentOptionsMixin, ("select" | "escape-pressed")[], string, Readonly<import("vue").ExtractPropTypes<{
|
|
28
|
+
disabled: {
|
|
29
|
+
type: BooleanConstructor;
|
|
30
|
+
default: boolean;
|
|
31
|
+
};
|
|
32
|
+
label: {
|
|
33
|
+
type: StringConstructor;
|
|
34
|
+
required: true;
|
|
35
|
+
};
|
|
36
|
+
selected: {
|
|
37
|
+
type: BooleanConstructor;
|
|
38
|
+
default: boolean;
|
|
39
|
+
};
|
|
40
|
+
value: {
|
|
41
|
+
type: PropType<BentoDropdownValue>;
|
|
42
|
+
required: true;
|
|
43
|
+
};
|
|
44
|
+
}>>, {
|
|
45
|
+
disabled: boolean;
|
|
46
|
+
selected: boolean;
|
|
47
|
+
}>;
|
|
48
|
+
export default _default;
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
export { default as BentoDropdownSingleSelectOption } from './dropdown-single-select-option.vue';
|
|
@@ -1,5 +1,5 @@
|
|
|
1
1
|
import { PropType } from 'vue';
|
|
2
|
-
import {
|
|
2
|
+
import type { BentoDropdownIsOptionDisabled, BentoDropdownOptions, BentoDropdownSelectedValue } from '../../dropdown.types';
|
|
3
3
|
declare const _default: import("vue").DefineComponent<{
|
|
4
4
|
ariaLabel: {
|
|
5
5
|
type: StringConstructor;
|
|
@@ -13,16 +13,24 @@ declare const _default: import("vue").DefineComponent<{
|
|
|
13
13
|
type: StringConstructor;
|
|
14
14
|
required: true;
|
|
15
15
|
};
|
|
16
|
-
|
|
17
|
-
type:
|
|
18
|
-
|
|
16
|
+
isOptionDisabled: {
|
|
17
|
+
type: PropType<BentoDropdownIsOptionDisabled>;
|
|
18
|
+
default: any;
|
|
19
19
|
};
|
|
20
20
|
items: {
|
|
21
|
-
type: PropType<
|
|
21
|
+
type: PropType<BentoDropdownOptions>;
|
|
22
|
+
required: true;
|
|
23
|
+
};
|
|
24
|
+
multiple: {
|
|
25
|
+
type: BooleanConstructor;
|
|
26
|
+
default: boolean;
|
|
27
|
+
};
|
|
28
|
+
open: {
|
|
29
|
+
type: BooleanConstructor;
|
|
22
30
|
required: true;
|
|
23
31
|
};
|
|
24
32
|
selectedValue: {
|
|
25
|
-
type: PropType<
|
|
33
|
+
type: PropType<BentoDropdownSelectedValue>;
|
|
26
34
|
default: any;
|
|
27
35
|
};
|
|
28
36
|
targetElement: {
|
|
@@ -48,7 +56,7 @@ declare const _default: import("vue").DefineComponent<{
|
|
|
48
56
|
BOTTOM: import("@/components/popper-container").PopperContainerPositionBasic.BOTTOM;
|
|
49
57
|
LEFT: import("@/components/popper-container").PopperContainerPositionBasic.LEFT;
|
|
50
58
|
};
|
|
51
|
-
onOptionSelected: (
|
|
59
|
+
onOptionSelected: (selectedValue: BentoDropdownSelectedValue) => void;
|
|
52
60
|
}, {}, {}, {}, import("vue/types/v3-component-options").ComponentOptionsMixin, import("vue/types/v3-component-options").ComponentOptionsMixin, "select"[], string, Readonly<import("vue").ExtractPropTypes<{
|
|
53
61
|
ariaLabel: {
|
|
54
62
|
type: StringConstructor;
|
|
@@ -62,16 +70,24 @@ declare const _default: import("vue").DefineComponent<{
|
|
|
62
70
|
type: StringConstructor;
|
|
63
71
|
required: true;
|
|
64
72
|
};
|
|
65
|
-
|
|
66
|
-
type:
|
|
67
|
-
|
|
73
|
+
isOptionDisabled: {
|
|
74
|
+
type: PropType<BentoDropdownIsOptionDisabled>;
|
|
75
|
+
default: any;
|
|
68
76
|
};
|
|
69
77
|
items: {
|
|
70
|
-
type: PropType<
|
|
78
|
+
type: PropType<BentoDropdownOptions>;
|
|
79
|
+
required: true;
|
|
80
|
+
};
|
|
81
|
+
multiple: {
|
|
82
|
+
type: BooleanConstructor;
|
|
83
|
+
default: boolean;
|
|
84
|
+
};
|
|
85
|
+
open: {
|
|
86
|
+
type: BooleanConstructor;
|
|
71
87
|
required: true;
|
|
72
88
|
};
|
|
73
89
|
selectedValue: {
|
|
74
|
-
type: PropType<
|
|
90
|
+
type: PropType<BentoDropdownSelectedValue>;
|
|
75
91
|
default: any;
|
|
76
92
|
};
|
|
77
93
|
targetElement: {
|
|
@@ -81,6 +97,8 @@ declare const _default: import("vue").DefineComponent<{
|
|
|
81
97
|
}>>, {
|
|
82
98
|
ariaLabel: string;
|
|
83
99
|
disabled: boolean;
|
|
84
|
-
|
|
100
|
+
multiple: boolean;
|
|
101
|
+
isOptionDisabled: BentoDropdownIsOptionDisabled;
|
|
102
|
+
selectedValue: BentoDropdownSelectedValue;
|
|
85
103
|
}>;
|
|
86
104
|
export default _default;
|
|
@@ -1 +1 @@
|
|
|
1
|
-
export { default as
|
|
1
|
+
export { default as BentoDropdownOptionsContainer } from './dropdown-options-container.vue';
|
|
@@ -1,20 +1,30 @@
|
|
|
1
|
+
import { PropType } from 'vue';
|
|
2
|
+
import { Booleanish } from '@/types';
|
|
1
3
|
declare const _default: import("vue").DefineComponent<{
|
|
2
|
-
|
|
3
|
-
type:
|
|
4
|
-
default:
|
|
4
|
+
additionalItemsSelected: {
|
|
5
|
+
type: NumberConstructor;
|
|
6
|
+
default: number;
|
|
5
7
|
};
|
|
6
8
|
ariaControls: {
|
|
7
9
|
type: StringConstructor;
|
|
8
10
|
required: true;
|
|
9
11
|
};
|
|
10
12
|
ariaExpanded: {
|
|
11
|
-
type:
|
|
13
|
+
type: PropType<Booleanish>;
|
|
12
14
|
required: true;
|
|
13
15
|
};
|
|
16
|
+
ariaLabel: {
|
|
17
|
+
type: StringConstructor;
|
|
18
|
+
default: any;
|
|
19
|
+
};
|
|
14
20
|
ariaLabelledby: {
|
|
15
21
|
type: StringConstructor;
|
|
16
22
|
default: any;
|
|
17
23
|
};
|
|
24
|
+
debounceTime: {
|
|
25
|
+
type: NumberConstructor;
|
|
26
|
+
default: number;
|
|
27
|
+
};
|
|
18
28
|
disabled: {
|
|
19
29
|
type: BooleanConstructor;
|
|
20
30
|
default: boolean;
|
|
@@ -23,6 +33,14 @@ declare const _default: import("vue").DefineComponent<{
|
|
|
23
33
|
type: StringConstructor;
|
|
24
34
|
default: any;
|
|
25
35
|
};
|
|
36
|
+
dynamicFiltering: {
|
|
37
|
+
type: BooleanConstructor;
|
|
38
|
+
default: boolean;
|
|
39
|
+
};
|
|
40
|
+
isInvalid: {
|
|
41
|
+
type: BooleanConstructor;
|
|
42
|
+
default: boolean;
|
|
43
|
+
};
|
|
26
44
|
open: {
|
|
27
45
|
type: BooleanConstructor;
|
|
28
46
|
default: boolean;
|
|
@@ -31,6 +49,10 @@ declare const _default: import("vue").DefineComponent<{
|
|
|
31
49
|
type: StringConstructor;
|
|
32
50
|
default: any;
|
|
33
51
|
};
|
|
52
|
+
value: {
|
|
53
|
+
type: StringConstructor;
|
|
54
|
+
default: string;
|
|
55
|
+
};
|
|
34
56
|
}, {
|
|
35
57
|
conditionalClasses: import("vue").ComputedRef<{
|
|
36
58
|
'b-dropdown-small-textbox--disabled': boolean;
|
|
@@ -38,22 +60,30 @@ declare const _default: import("vue").DefineComponent<{
|
|
|
38
60
|
}>;
|
|
39
61
|
isDropdownOpen: import("vue").ComputedRef<boolean>;
|
|
40
62
|
}, {}, {}, {}, import("vue/types/v3-component-options.js").ComponentOptionsMixin, import("vue/types/v3-component-options.js").ComponentOptionsMixin, {}, string, Readonly<import("vue").ExtractPropTypes<{
|
|
41
|
-
|
|
42
|
-
type:
|
|
43
|
-
default:
|
|
63
|
+
additionalItemsSelected: {
|
|
64
|
+
type: NumberConstructor;
|
|
65
|
+
default: number;
|
|
44
66
|
};
|
|
45
67
|
ariaControls: {
|
|
46
68
|
type: StringConstructor;
|
|
47
69
|
required: true;
|
|
48
70
|
};
|
|
49
71
|
ariaExpanded: {
|
|
50
|
-
type:
|
|
72
|
+
type: PropType<Booleanish>;
|
|
51
73
|
required: true;
|
|
52
74
|
};
|
|
75
|
+
ariaLabel: {
|
|
76
|
+
type: StringConstructor;
|
|
77
|
+
default: any;
|
|
78
|
+
};
|
|
53
79
|
ariaLabelledby: {
|
|
54
80
|
type: StringConstructor;
|
|
55
81
|
default: any;
|
|
56
82
|
};
|
|
83
|
+
debounceTime: {
|
|
84
|
+
type: NumberConstructor;
|
|
85
|
+
default: number;
|
|
86
|
+
};
|
|
57
87
|
disabled: {
|
|
58
88
|
type: BooleanConstructor;
|
|
59
89
|
default: boolean;
|
|
@@ -62,6 +92,14 @@ declare const _default: import("vue").DefineComponent<{
|
|
|
62
92
|
type: StringConstructor;
|
|
63
93
|
default: any;
|
|
64
94
|
};
|
|
95
|
+
dynamicFiltering: {
|
|
96
|
+
type: BooleanConstructor;
|
|
97
|
+
default: boolean;
|
|
98
|
+
};
|
|
99
|
+
isInvalid: {
|
|
100
|
+
type: BooleanConstructor;
|
|
101
|
+
default: boolean;
|
|
102
|
+
};
|
|
65
103
|
open: {
|
|
66
104
|
type: BooleanConstructor;
|
|
67
105
|
default: boolean;
|
|
@@ -70,12 +108,21 @@ declare const _default: import("vue").DefineComponent<{
|
|
|
70
108
|
type: StringConstructor;
|
|
71
109
|
default: any;
|
|
72
110
|
};
|
|
111
|
+
value: {
|
|
112
|
+
type: StringConstructor;
|
|
113
|
+
default: string;
|
|
114
|
+
};
|
|
73
115
|
}>>, {
|
|
74
116
|
open: boolean;
|
|
117
|
+
value: string;
|
|
118
|
+
ariaLabel: string;
|
|
75
119
|
disabled: boolean;
|
|
76
120
|
placeholder: string;
|
|
77
|
-
|
|
78
|
-
|
|
121
|
+
debounceTime: number;
|
|
122
|
+
additionalItemsSelected: number;
|
|
79
123
|
ariaLabelledby: string;
|
|
124
|
+
displayValue: string;
|
|
125
|
+
dynamicFiltering: boolean;
|
|
126
|
+
isInvalid: boolean;
|
|
80
127
|
}>;
|
|
81
128
|
export default _default;
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
export { default as DropdownInputDefault } from './dropdown-default-textbox/dropdown-default-textbox.vue';
|
|
@@ -1,7 +1,9 @@
|
|
|
1
1
|
import { BentoSearchBarItem } from '../search-bar';
|
|
2
|
-
export type
|
|
3
|
-
export
|
|
4
|
-
|
|
2
|
+
export type BentoDropdownValue = string | number;
|
|
3
|
+
export type BentoDropdownMultiSelectValue = BentoDropdownValue[];
|
|
4
|
+
export interface BentoDropdownOptionItem extends BentoSearchBarItem {
|
|
5
|
+
value: BentoDropdownValue;
|
|
5
6
|
}
|
|
6
|
-
export type
|
|
7
|
-
export type
|
|
7
|
+
export type BentoDropdownSelectedValue = BentoDropdownValue | BentoDropdownMultiSelectValue;
|
|
8
|
+
export type BentoDropdownOptions = Array<BentoDropdownOptionItem>;
|
|
9
|
+
export type BentoDropdownIsOptionDisabled = (optionValue: BentoDropdownOptionItem) => boolean | undefined;
|
|
@@ -1,5 +1,6 @@
|
|
|
1
1
|
import { PropType } from 'vue';
|
|
2
|
-
import {
|
|
2
|
+
import type { BentoDropdownIsOptionDisabled, BentoDropdownOptionItem, BentoDropdownOptions, BentoDropdownSelectedValue } from './dropdown.types';
|
|
3
|
+
import { BentoTypographyElement } from '../typography';
|
|
3
4
|
declare const _default: import("vue").DefineComponent<{
|
|
4
5
|
ariaLabel: {
|
|
5
6
|
type: StringConstructor;
|
|
@@ -9,26 +10,59 @@ declare const _default: import("vue").DefineComponent<{
|
|
|
9
10
|
type: BooleanConstructor;
|
|
10
11
|
default: boolean;
|
|
11
12
|
};
|
|
12
|
-
|
|
13
|
+
dynamicFiltering: {
|
|
14
|
+
type: BooleanConstructor;
|
|
15
|
+
default: boolean;
|
|
16
|
+
};
|
|
17
|
+
label: {
|
|
13
18
|
type: StringConstructor;
|
|
14
19
|
default: any;
|
|
15
20
|
};
|
|
16
|
-
|
|
17
|
-
type:
|
|
21
|
+
description: {
|
|
22
|
+
type: StringConstructor;
|
|
23
|
+
default: any;
|
|
24
|
+
};
|
|
25
|
+
isOptionDisabled: {
|
|
26
|
+
type: PropType<BentoDropdownIsOptionDisabled>;
|
|
18
27
|
default: any;
|
|
19
28
|
};
|
|
20
29
|
items: {
|
|
21
|
-
type: PropType<
|
|
30
|
+
type: PropType<BentoDropdownOptions>;
|
|
22
31
|
default: () => any[];
|
|
23
32
|
};
|
|
33
|
+
multiple: {
|
|
34
|
+
type: BooleanConstructor;
|
|
35
|
+
default: boolean;
|
|
36
|
+
};
|
|
37
|
+
optional: {
|
|
38
|
+
type: BooleanConstructor;
|
|
39
|
+
default: boolean;
|
|
40
|
+
};
|
|
41
|
+
placeholder: {
|
|
42
|
+
type: StringConstructor;
|
|
43
|
+
default: any;
|
|
44
|
+
};
|
|
45
|
+
required: {
|
|
46
|
+
type: BooleanConstructor;
|
|
47
|
+
default: boolean;
|
|
48
|
+
};
|
|
49
|
+
value: {
|
|
50
|
+
type: PropType<BentoDropdownSelectedValue>;
|
|
51
|
+
default: any;
|
|
52
|
+
};
|
|
24
53
|
}, {
|
|
54
|
+
additionalItemsSelected: import("vue").ComputedRef<number>;
|
|
25
55
|
isDropdownOpen: import("vue").Ref<boolean>;
|
|
26
56
|
displayValue: import("vue").ComputedRef<string>;
|
|
27
57
|
dropdownOptionsContainerId: string;
|
|
58
|
+
filteredItems: import("vue").ComputedRef<BentoDropdownOptionItem[]>;
|
|
59
|
+
searchTerm: import("vue").Ref<string>;
|
|
60
|
+
labelId: string;
|
|
28
61
|
inputContainerRef: any;
|
|
29
62
|
closeOpenedDropdown: () => void;
|
|
30
63
|
toggleDropdown: () => void;
|
|
31
|
-
onOptionSelected: (
|
|
64
|
+
onOptionSelected: (selectedValue: BentoDropdownSelectedValue) => void;
|
|
65
|
+
BentoTypographyElement: typeof BentoTypographyElement;
|
|
32
66
|
}, {}, {}, {}, import("vue/types/v3-component-options").ComponentOptionsMixin, import("vue/types/v3-component-options").ComponentOptionsMixin, "input"[], string, Readonly<import("vue").ExtractPropTypes<{
|
|
33
67
|
ariaLabel: {
|
|
34
68
|
type: StringConstructor;
|
|
@@ -38,23 +72,58 @@ declare const _default: import("vue").DefineComponent<{
|
|
|
38
72
|
type: BooleanConstructor;
|
|
39
73
|
default: boolean;
|
|
40
74
|
};
|
|
41
|
-
|
|
75
|
+
dynamicFiltering: {
|
|
76
|
+
type: BooleanConstructor;
|
|
77
|
+
default: boolean;
|
|
78
|
+
};
|
|
79
|
+
label: {
|
|
42
80
|
type: StringConstructor;
|
|
43
81
|
default: any;
|
|
44
82
|
};
|
|
45
|
-
|
|
46
|
-
type:
|
|
83
|
+
description: {
|
|
84
|
+
type: StringConstructor;
|
|
85
|
+
default: any;
|
|
86
|
+
};
|
|
87
|
+
isOptionDisabled: {
|
|
88
|
+
type: PropType<BentoDropdownIsOptionDisabled>;
|
|
47
89
|
default: any;
|
|
48
90
|
};
|
|
49
91
|
items: {
|
|
50
|
-
type: PropType<
|
|
92
|
+
type: PropType<BentoDropdownOptions>;
|
|
51
93
|
default: () => any[];
|
|
52
94
|
};
|
|
95
|
+
multiple: {
|
|
96
|
+
type: BooleanConstructor;
|
|
97
|
+
default: boolean;
|
|
98
|
+
};
|
|
99
|
+
optional: {
|
|
100
|
+
type: BooleanConstructor;
|
|
101
|
+
default: boolean;
|
|
102
|
+
};
|
|
103
|
+
placeholder: {
|
|
104
|
+
type: StringConstructor;
|
|
105
|
+
default: any;
|
|
106
|
+
};
|
|
107
|
+
required: {
|
|
108
|
+
type: BooleanConstructor;
|
|
109
|
+
default: boolean;
|
|
110
|
+
};
|
|
111
|
+
value: {
|
|
112
|
+
type: PropType<BentoDropdownSelectedValue>;
|
|
113
|
+
default: any;
|
|
114
|
+
};
|
|
53
115
|
}>>, {
|
|
54
|
-
|
|
116
|
+
required: boolean;
|
|
117
|
+
optional: boolean;
|
|
118
|
+
value: BentoDropdownSelectedValue;
|
|
119
|
+
label: string;
|
|
55
120
|
ariaLabel: string;
|
|
56
121
|
disabled: boolean;
|
|
122
|
+
multiple: boolean;
|
|
123
|
+
description: string;
|
|
57
124
|
placeholder: string;
|
|
58
|
-
items:
|
|
125
|
+
items: BentoDropdownOptions;
|
|
126
|
+
isOptionDisabled: BentoDropdownIsOptionDisabled;
|
|
127
|
+
dynamicFiltering: boolean;
|
|
59
128
|
}>;
|
|
60
129
|
export default _default;
|
|
@@ -1,2 +1,2 @@
|
|
|
1
|
-
export { default as
|
|
1
|
+
export { default as BentoDropdown } from './dropdown.vue';
|
|
2
2
|
export * from './dropdown.types';
|