@adyen/bento-vue2 0.9.1 → 0.9.2
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/avatar-image/avatar-image.vue.d.ts +2 -2
- package/dist/@types/components/button/button.vue.d.ts +6 -6
- package/dist/@types/components/button/components/loading-button/loading-button.vue.d.ts +2 -2
- package/dist/@types/components/card/card.vue.d.ts +3 -3
- package/dist/@types/components/checkbox/checkbox.vue.d.ts +3 -3
- package/dist/@types/components/checkbox/components/checkbox-group/checkbox-group.vue.d.ts +1 -1
- package/dist/@types/components/country/composables/useCountryCapital/useCountryCapital.d.ts +1 -2
- package/dist/@types/components/country/composables/useCountryName/useCountryName.d.ts +1 -1
- package/dist/@types/components/country/country.vue.d.ts +1 -1
- package/dist/@types/components/data-grid/data-grid.vue.d.ts +4 -4
- package/dist/@types/components/date/date.vue.d.ts +2 -2
- package/dist/@types/components/date-picker/components/date-picker-calendar/components/date-picker-calendar-day/__test__/date-picker-calendar-day-stub.vue.d.ts +1 -1
- package/dist/@types/components/date-picker/components/date-picker-calendar/components/date-picker-calendar-day/date-picker-calendar-day.vue.d.ts +1 -1
- package/dist/@types/components/date-picker/date-picker.vue.d.ts +6 -6
- package/dist/@types/components/dropdown/components/dropdown-base-textbox/dropdown-base-textbox.vue.d.ts +3 -3
- package/dist/@types/components/dropdown/components/dropdown-default-textbox/dropdown-default-textbox.vue.d.ts +3 -3
- package/dist/@types/components/dropdown/components/dropdown-options-container/dropdown-options-container.vue.d.ts +2 -2
- package/dist/@types/components/dropdown/components/dropdown-small-textbox/dropdown-small-textbox.vue.d.ts +2 -2
- package/dist/@types/components/dropdown/components/variants/dropdown-avatar/dropdown-avatar.vue.d.ts +7 -7
- package/dist/@types/components/dropdown/components/variants/dropdown-country/dropdown-country.vue.d.ts +8 -8
- package/dist/@types/components/dropdown/components/variants/dropdown-currency/dropdown-currency.vue.d.ts +7 -7
- package/dist/@types/components/dropdown/components/variants/dropdown-payment-method/dropdown-payment-method.vue.d.ts +7 -7
- package/dist/@types/components/dropdown/components/variants/dropdown-tag/dropdown-tag.vue.d.ts +7 -7
- package/dist/@types/components/dropdown/dropdown.vue.d.ts +7 -7
- package/dist/@types/components/filter-bar/components/all-filters-modal/all-filters-modal.types.d.ts +3 -0
- package/dist/@types/components/filter-bar/components/all-filters-modal/all-filters-modal.vue.d.ts +1055 -0
- package/dist/@types/components/filter-bar/components/base-filter/base-filter.vue.d.ts +9 -0
- package/dist/@types/components/filter-bar/components/base-filter-button/base-filter-button.vue.d.ts +9 -0
- package/dist/@types/components/filter-bar/components/boolean-filter/boolean-filter.vue.d.ts +15 -2
- package/dist/@types/components/filter-bar/components/date-filter/date-filter.vue.d.ts +11 -3
- package/dist/@types/components/filter-bar/components/date-range-filter/date-range-filter.vue.d.ts +11 -3
- package/dist/@types/components/filter-bar/components/index.d.ts +12 -0
- package/dist/@types/components/filter-bar/components/input-filter/input-filter.vue.d.ts +15 -1
- package/dist/@types/components/filter-bar/components/range-filter/range-filter.vue.d.ts +14 -1
- package/dist/@types/components/filter-bar/components/select-filter/select-filter.vue.d.ts +11 -2
- package/dist/@types/components/filter-bar/components/select-filter/variants/select-avatar-filter/select-avatar-filter.vue.d.ts +12 -2
- package/dist/@types/components/filter-bar/components/select-filter/variants/select-country-filter/select-country-filter.vue.d.ts +14 -4
- package/dist/@types/components/filter-bar/components/select-filter/variants/select-currency-filter/select-currency-filter.vue.d.ts +12 -2
- package/dist/@types/components/filter-bar/components/select-filter/variants/select-payment-method-filter/select-payment-method-filter.vue.d.ts +12 -2
- package/dist/@types/components/filter-bar/components/select-filter/variants/select-tag-filter/select-tag-filter.vue.d.ts +14 -4
- package/dist/@types/components/filter-bar/filter-bar.types.d.ts +5 -0
- package/dist/@types/components/filter-bar/filter-bar.vue.d.ts +3 -2
- package/dist/@types/components/header/header.vue.d.ts +3 -3
- package/dist/@types/components/input-field/input-field.vue.d.ts +4 -4
- package/dist/@types/components/internal/base-button/base-button.vue.d.ts +4 -4
- package/dist/@types/components/internal/copy/copy.types.d.ts +5 -0
- package/dist/@types/components/internal/copy/copy.vue.d.ts +1 -1
- package/dist/@types/components/internal/listbox/components/listbox-multi-select/listbox-multi-select.vue.d.ts +1 -1
- package/dist/@types/components/internal/listbox/components/listbox-single-select-option/listbox-single-select-option.vue.d.ts +1 -1
- package/dist/@types/components/internal/listbox/listbox.vue.d.ts +1 -1
- package/dist/@types/components/loading-indicator/loading-indicator.vue.d.ts +1 -1
- package/dist/@types/components/menu/components/menu-item/menu-item.vue.d.ts +2 -2
- package/dist/@types/components/menu/menu.vue.d.ts +1 -1
- package/dist/@types/components/modal/components/base-modal/__mocks__/base-modal.vue.d.ts +123 -0
- package/dist/@types/components/modal/components/base-modal/base-modal.vue.d.ts +1 -1
- package/dist/@types/components/modal/components/modal-dialog/modal-dialog.vue.d.ts +2 -2
- package/dist/@types/components/modal/modal.vue.d.ts +1 -1
- package/dist/@types/components/pagination/pagination.vue.d.ts +1 -1
- package/dist/@types/components/popover/popover.vue.d.ts +3 -3
- package/dist/@types/components/popper-container/popper-container.vue.d.ts +2 -2
- package/dist/@types/components/radio-group/radio-group.vue.d.ts +1 -1
- package/dist/@types/components/search-bar/search-bar.types.d.ts +11 -0
- package/dist/@types/components/search-bar/search-bar.vue.d.ts +8 -6
- package/dist/@types/components/textarea/textarea.vue.d.ts +1 -1
- package/dist/@types/components/toggle/toggle.vue.d.ts +1 -1
- package/dist/@types/components/tooltip/tooltip.vue.d.ts +254 -7
- package/dist/@types/components/typography/typography.vue.d.ts +2 -2
- package/dist/@types/directives/tooltip/tooltip.d.ts +9 -2
- package/dist/@types/types/elements.d.ts +2 -3
- package/dist/@types/{components/focus-trap → utils/ts}/focus-trap.utils.d.ts +1 -1
- package/dist/@types/utils/ts/i18n.d.ts +12 -1
- package/dist/@types/utils/ts/toastController.d.ts +0 -1
- package/dist/index.js +6100 -4269
- package/dist/index.js.map +1 -1
- package/dist/web-types.json +204 -40
- package/package.json +3 -4
- package/dist/@types/components/filter-bar/components/date-filter/date-filter.types.d.ts +0 -3
- package/dist/@types/components/filter-bar/components/date-range-filter/date-range-filter.types.d.ts +0 -3
|
@@ -122,15 +122,15 @@ declare const _default: import("vue").DefineComponent<{
|
|
|
122
122
|
default: BentoInputFieldVariant;
|
|
123
123
|
};
|
|
124
124
|
}>>, {
|
|
125
|
-
type: BentoInputFieldType;
|
|
126
125
|
error: boolean;
|
|
127
126
|
value: string;
|
|
128
|
-
|
|
129
|
-
|
|
127
|
+
type: BentoInputFieldType;
|
|
128
|
+
variant: BentoInputFieldVariant;
|
|
130
129
|
disabled: boolean;
|
|
130
|
+
ariaLabel: string;
|
|
131
131
|
placeholder: string;
|
|
132
|
-
variant: BentoInputFieldVariant;
|
|
133
132
|
dropdown: BentoInputDropdownProps;
|
|
133
|
+
ariaHidden: boolean;
|
|
134
134
|
dropdownPosition: BentoInputFieldElementPosition;
|
|
135
135
|
staticValue: string;
|
|
136
136
|
staticValuePosition: BentoInputFieldElementPosition;
|
|
@@ -12,7 +12,7 @@ declare const _default: import("vue").DefineComponent<{
|
|
|
12
12
|
default: boolean;
|
|
13
13
|
};
|
|
14
14
|
type: {
|
|
15
|
-
type: PropType<"button" | "
|
|
15
|
+
type: PropType<"button" | "submit" | "reset">;
|
|
16
16
|
default: string;
|
|
17
17
|
};
|
|
18
18
|
}, {
|
|
@@ -36,12 +36,12 @@ declare const _default: import("vue").DefineComponent<{
|
|
|
36
36
|
default: boolean;
|
|
37
37
|
};
|
|
38
38
|
type: {
|
|
39
|
-
type: PropType<"button" | "
|
|
39
|
+
type: PropType<"button" | "submit" | "reset">;
|
|
40
40
|
default: string;
|
|
41
41
|
};
|
|
42
42
|
}>>, {
|
|
43
|
-
type: "button" | "
|
|
44
|
-
disabled: boolean;
|
|
43
|
+
type: "button" | "submit" | "reset";
|
|
45
44
|
critical: boolean;
|
|
45
|
+
disabled: boolean;
|
|
46
46
|
}>;
|
|
47
47
|
export default _default;
|
|
@@ -12,7 +12,7 @@ declare const _default: import("vue").DefineComponent<{
|
|
|
12
12
|
};
|
|
13
13
|
}, {
|
|
14
14
|
BentoButtonVariant: typeof BentoButtonVariant;
|
|
15
|
-
copyText: import("vue").
|
|
15
|
+
copyText: import("vue").ComputedRef<any>;
|
|
16
16
|
onClickCopy: () => Promise<void>;
|
|
17
17
|
resetText: () => void;
|
|
18
18
|
showScreenReaderAlert: import("vue").Ref<boolean>;
|
|
@@ -24,7 +24,7 @@ declare const _default: import("vue").DefineComponent<{
|
|
|
24
24
|
isAnOptionSelected: import("vue").ComputedRef<boolean>;
|
|
25
25
|
isIndeterminate: import("vue").ComputedRef<boolean>;
|
|
26
26
|
selectedItemsList: import("vue").Ref<BentoListboxValue[]>;
|
|
27
|
-
selectAllCheckboxText: import("vue").ComputedRef<
|
|
27
|
+
selectAllCheckboxText: import("vue").ComputedRef<any>;
|
|
28
28
|
selectedOptions: import("vue").ComputedRef<BentoListboxOptionItem[]>;
|
|
29
29
|
BentoTypographyElement: typeof BentoTypographyElement;
|
|
30
30
|
toggleCheckboxSelection: (value: BentoListboxValue) => void;
|
|
@@ -17,7 +17,7 @@ declare const _default: import("vue").DefineComponent<{
|
|
|
17
17
|
}, {
|
|
18
18
|
ariaDisabled: import("vue").ComputedRef<boolean>;
|
|
19
19
|
ariaSelected: import("vue").ComputedRef<boolean>;
|
|
20
|
-
tabIndex: import("vue").ComputedRef
|
|
20
|
+
tabIndex: import("vue").ComputedRef<-1 | 0>;
|
|
21
21
|
BentoTypographyElement: typeof BentoTypographyElement;
|
|
22
22
|
onOptionSelected: () => void;
|
|
23
23
|
}, {}, {}, {}, import("vue/types/v3-component-options").ComponentOptionsMixin, import("vue/types/v3-component-options").ComponentOptionsMixin, ("select" | "escape-pressed")[], string, Readonly<import("vue").ExtractPropTypes<{
|
|
@@ -65,9 +65,9 @@ declare const _default: import("vue").DefineComponent<{
|
|
|
65
65
|
};
|
|
66
66
|
}>>, {
|
|
67
67
|
ariaLabel: string;
|
|
68
|
-
multiple: boolean;
|
|
69
68
|
isOptionDisabled: BentoListboxIsOptionDisabled;
|
|
70
69
|
searching: boolean;
|
|
70
|
+
multiple: boolean;
|
|
71
71
|
selectedValue: BentoListboxSelectedValue;
|
|
72
72
|
}>;
|
|
73
73
|
export default _default;
|
|
@@ -85,9 +85,9 @@ declare const _default: import("vue").DefineComponent<{
|
|
|
85
85
|
default: boolean;
|
|
86
86
|
};
|
|
87
87
|
}>>, {
|
|
88
|
-
disabled: boolean;
|
|
89
|
-
icon: VueNodeElement;
|
|
90
88
|
critical: boolean;
|
|
89
|
+
disabled: boolean;
|
|
90
|
+
icon: any;
|
|
91
91
|
secondaryText: string;
|
|
92
92
|
chevron: boolean;
|
|
93
93
|
indent: boolean;
|
|
@@ -56,7 +56,7 @@ declare const _default: import("vue").DefineComponent<{
|
|
|
56
56
|
onKeyDown: () => void;
|
|
57
57
|
onKeyUp: () => void;
|
|
58
58
|
closeMenu: () => void;
|
|
59
|
-
toggleShowMenu: () => void;
|
|
59
|
+
toggleShowMenu: (e: MouseEvent) => void;
|
|
60
60
|
}, {}, {}, {}, import("vue/types/v3-component-options").ComponentOptionsMixin, import("vue/types/v3-component-options").ComponentOptionsMixin, {}, string, Readonly<import("vue").ExtractPropTypes<{
|
|
61
61
|
data: {
|
|
62
62
|
type: PropType<BentoMenuItem[]>;
|
|
@@ -0,0 +1,123 @@
|
|
|
1
|
+
import { PropType } from 'vue';
|
|
2
|
+
import { BentoModalColumnLayoutVariant, BentoModalEvent, BentoModalRole, BentoModalSize } from '@/components/modal/modal.types';
|
|
3
|
+
import { BentoButtonVariant } from '@/components/button/button.types';
|
|
4
|
+
import { BentoTypographyElement, BentoTypographyVariant } from '@/components/typography';
|
|
5
|
+
declare const _default: import("vue").DefineComponent<{
|
|
6
|
+
modalRole: {
|
|
7
|
+
type: StringConstructor;
|
|
8
|
+
default: BentoModalRole;
|
|
9
|
+
};
|
|
10
|
+
isDismissible: {
|
|
11
|
+
type: BooleanConstructor;
|
|
12
|
+
required: true;
|
|
13
|
+
};
|
|
14
|
+
hideCloseButton: {
|
|
15
|
+
type: BooleanConstructor;
|
|
16
|
+
required: true;
|
|
17
|
+
};
|
|
18
|
+
customPadding: {
|
|
19
|
+
type: StringConstructor;
|
|
20
|
+
default: any;
|
|
21
|
+
};
|
|
22
|
+
withColumnLayout: {
|
|
23
|
+
type: BooleanConstructor;
|
|
24
|
+
default: boolean;
|
|
25
|
+
};
|
|
26
|
+
columnsSize: {
|
|
27
|
+
type: PropType<BentoModalColumnLayoutVariant>;
|
|
28
|
+
default: BentoModalColumnLayoutVariant;
|
|
29
|
+
};
|
|
30
|
+
isOpen: {
|
|
31
|
+
type: BooleanConstructor;
|
|
32
|
+
required: true;
|
|
33
|
+
};
|
|
34
|
+
size: {
|
|
35
|
+
type: PropType<BentoModalSize>;
|
|
36
|
+
default: BentoModalSize;
|
|
37
|
+
};
|
|
38
|
+
initiallyOpen: {
|
|
39
|
+
type: BooleanConstructor;
|
|
40
|
+
default: boolean;
|
|
41
|
+
};
|
|
42
|
+
}, {
|
|
43
|
+
modal: any;
|
|
44
|
+
computedAriaLabel: import("vue").ComputedRef<string>;
|
|
45
|
+
openModal: () => void;
|
|
46
|
+
closeModalOnClickOutside: ({ target }: Event) => void;
|
|
47
|
+
onCloseButtonClick: () => void;
|
|
48
|
+
hasSlot: (name: string) => boolean;
|
|
49
|
+
emitCloseEvent: () => void;
|
|
50
|
+
modalConditionalClasses: import("vue").ComputedRef<{
|
|
51
|
+
[x: string]: boolean | BentoModalSize;
|
|
52
|
+
"b-modal-base__container--visible": boolean;
|
|
53
|
+
}>;
|
|
54
|
+
modalContentConditionalClasses: import("vue").ComputedRef<{
|
|
55
|
+
'b-modal-base__content--column-layout': boolean;
|
|
56
|
+
}>;
|
|
57
|
+
wrapperStyles: import("vue").ComputedRef<{
|
|
58
|
+
padding: string;
|
|
59
|
+
} | {
|
|
60
|
+
padding?: undefined;
|
|
61
|
+
}>;
|
|
62
|
+
dividerStyles: import("vue").ComputedRef<{
|
|
63
|
+
marginLeft: string;
|
|
64
|
+
width: string;
|
|
65
|
+
} | {
|
|
66
|
+
marginLeft?: undefined;
|
|
67
|
+
width?: undefined;
|
|
68
|
+
}>;
|
|
69
|
+
hasColumnLayout: import("vue").ComputedRef<boolean>;
|
|
70
|
+
computedColumnWidth: import("vue").ComputedRef<{
|
|
71
|
+
small: number;
|
|
72
|
+
medium: number;
|
|
73
|
+
large: number;
|
|
74
|
+
}[]>;
|
|
75
|
+
BentoButtonVariant: typeof BentoButtonVariant;
|
|
76
|
+
BentoTypographyElement: typeof BentoTypographyElement;
|
|
77
|
+
BentoTypographyVariant: typeof BentoTypographyVariant;
|
|
78
|
+
}, {}, {}, {}, import("vue/types/v3-component-options").ComponentOptionsMixin, import("vue/types/v3-component-options").ComponentOptionsMixin, BentoModalEvent[], string, Readonly<import("vue").ExtractPropTypes<{
|
|
79
|
+
modalRole: {
|
|
80
|
+
type: StringConstructor;
|
|
81
|
+
default: BentoModalRole;
|
|
82
|
+
};
|
|
83
|
+
isDismissible: {
|
|
84
|
+
type: BooleanConstructor;
|
|
85
|
+
required: true;
|
|
86
|
+
};
|
|
87
|
+
hideCloseButton: {
|
|
88
|
+
type: BooleanConstructor;
|
|
89
|
+
required: true;
|
|
90
|
+
};
|
|
91
|
+
customPadding: {
|
|
92
|
+
type: StringConstructor;
|
|
93
|
+
default: any;
|
|
94
|
+
};
|
|
95
|
+
withColumnLayout: {
|
|
96
|
+
type: BooleanConstructor;
|
|
97
|
+
default: boolean;
|
|
98
|
+
};
|
|
99
|
+
columnsSize: {
|
|
100
|
+
type: PropType<BentoModalColumnLayoutVariant>;
|
|
101
|
+
default: BentoModalColumnLayoutVariant;
|
|
102
|
+
};
|
|
103
|
+
isOpen: {
|
|
104
|
+
type: BooleanConstructor;
|
|
105
|
+
required: true;
|
|
106
|
+
};
|
|
107
|
+
size: {
|
|
108
|
+
type: PropType<BentoModalSize>;
|
|
109
|
+
default: BentoModalSize;
|
|
110
|
+
};
|
|
111
|
+
initiallyOpen: {
|
|
112
|
+
type: BooleanConstructor;
|
|
113
|
+
default: boolean;
|
|
114
|
+
};
|
|
115
|
+
}>>, {
|
|
116
|
+
size: BentoModalSize;
|
|
117
|
+
modalRole: string;
|
|
118
|
+
customPadding: string;
|
|
119
|
+
withColumnLayout: boolean;
|
|
120
|
+
columnsSize: BentoModalColumnLayoutVariant;
|
|
121
|
+
initiallyOpen: boolean;
|
|
122
|
+
}>;
|
|
123
|
+
export default _default;
|
|
@@ -1,5 +1,5 @@
|
|
|
1
1
|
import { PropType } from 'vue';
|
|
2
|
-
import { BentoModalColumnLayoutVariant, BentoModalEvent, BentoModalRole, BentoModalSize } from '@/components/modal';
|
|
2
|
+
import { BentoModalColumnLayoutVariant, BentoModalEvent, BentoModalRole, BentoModalSize } from '@/components/modal/modal.types';
|
|
3
3
|
import { BentoButtonVariant } from '@/components/button/button.types';
|
|
4
4
|
import { BentoTypographyElement, BentoTypographyVariant } from '@/components/typography';
|
|
5
5
|
declare const _default: import("vue").DefineComponent<{
|
|
@@ -28,11 +28,11 @@ declare const _default: import("vue").DefineComponent<{
|
|
|
28
28
|
};
|
|
29
29
|
}, {
|
|
30
30
|
dialogActions: import("vue").ComputedRef<BentoButtonActionObject[]>;
|
|
31
|
-
acknowledgementDialogActions: {
|
|
31
|
+
acknowledgementDialogActions: import("vue").ComputedRef<{
|
|
32
32
|
title: string;
|
|
33
33
|
event: () => void;
|
|
34
34
|
variant: BentoButtonVariant;
|
|
35
|
-
}[]
|
|
35
|
+
}[]>;
|
|
36
36
|
onCloseModal: () => void;
|
|
37
37
|
onCloseActionButton: () => void;
|
|
38
38
|
modalDialogConditionalClasses: import("vue").ComputedRef<{
|
|
@@ -133,8 +133,8 @@ declare const _default: import("vue").DefineComponent<{
|
|
|
133
133
|
};
|
|
134
134
|
}>>, {
|
|
135
135
|
content: string;
|
|
136
|
-
size: BentoModalSize;
|
|
137
136
|
variant: BentoModalVariant;
|
|
137
|
+
size: BentoModalSize;
|
|
138
138
|
actions: BentoButtonActionsList;
|
|
139
139
|
isDismissible: boolean;
|
|
140
140
|
hideCloseButton: boolean;
|
|
@@ -152,13 +152,13 @@ declare const _default: import("vue").DefineComponent<{
|
|
|
152
152
|
};
|
|
153
153
|
}>>, {
|
|
154
154
|
small: boolean;
|
|
155
|
-
open: boolean;
|
|
156
|
-
position: import("@/components/popper-container").PopperContainerPosition;
|
|
157
155
|
title: string;
|
|
156
|
+
large: boolean;
|
|
158
157
|
ariaLabel: string;
|
|
159
158
|
modifiers: unknown[];
|
|
160
|
-
|
|
159
|
+
position: import("@/components/popper-container").PopperContainerPosition;
|
|
161
160
|
fixedPositioning: boolean;
|
|
161
|
+
open: boolean;
|
|
162
162
|
actions: BentoButtonActionsList;
|
|
163
163
|
actionsLayout: BentoButtonActionsLayout;
|
|
164
164
|
divider: boolean;
|
|
@@ -119,12 +119,12 @@ declare const _default: import("vue").DefineComponent<{
|
|
|
119
119
|
validator: (value: unknown) => boolean;
|
|
120
120
|
};
|
|
121
121
|
}>>, {
|
|
122
|
-
offset: number[];
|
|
123
122
|
id: string;
|
|
124
|
-
position: PopperContainerPosition;
|
|
125
123
|
ariaLabel: string;
|
|
126
124
|
modifiers: unknown[];
|
|
127
125
|
arrow: any;
|
|
126
|
+
offset: number[];
|
|
127
|
+
position: PopperContainerPosition;
|
|
128
128
|
matchWidth: boolean;
|
|
129
129
|
fixedPositioning: boolean;
|
|
130
130
|
disabledFocusTrap: boolean;
|
|
@@ -1,3 +1,14 @@
|
|
|
1
|
+
export declare enum BentoSearchBarInternalEvent {
|
|
2
|
+
CLEAR = "clear",
|
|
3
|
+
ESCAPE = "escape-pressed",
|
|
4
|
+
INPUT = "input",
|
|
5
|
+
UPDATE = "update:search-term"
|
|
6
|
+
}
|
|
7
|
+
export declare enum BentoSearchBarEvent {
|
|
8
|
+
CLEAR = "search-clear",
|
|
9
|
+
INPUT = "search-input",
|
|
10
|
+
UPDATE = "update:search-term"
|
|
11
|
+
}
|
|
1
12
|
export interface BentoSearchBarItem {
|
|
2
13
|
label: string;
|
|
3
14
|
}
|
|
@@ -1,4 +1,5 @@
|
|
|
1
1
|
import { BentoInputFieldType } from '@/components/input-field/input-field.types';
|
|
2
|
+
import { BentoSearchBarInternalEvent } from './search-bar.types';
|
|
2
3
|
declare const _default: import("vue").DefineComponent<{
|
|
3
4
|
inputFieldAriaLabel: {
|
|
4
5
|
type: StringConstructor;
|
|
@@ -117,15 +118,15 @@ declare const _default: import("vue").DefineComponent<{
|
|
|
117
118
|
default: import("@/components/input-field/input-field.types").BentoInputFieldVariant;
|
|
118
119
|
};
|
|
119
120
|
}>>, import("@/components/input-field/input-field.types").BentoInputFieldEvent[], {
|
|
120
|
-
type: BentoInputFieldType;
|
|
121
121
|
error: boolean;
|
|
122
122
|
value: string;
|
|
123
|
-
|
|
124
|
-
|
|
123
|
+
type: BentoInputFieldType;
|
|
124
|
+
variant: import("@/components/input-field/input-field.types").BentoInputFieldVariant;
|
|
125
125
|
disabled: boolean;
|
|
126
|
+
ariaLabel: string;
|
|
126
127
|
placeholder: string;
|
|
127
|
-
variant: import("@/components/input-field/input-field.types").BentoInputFieldVariant;
|
|
128
128
|
dropdown: import("@/components/input-field/input-field.types").BentoInputDropdownProps;
|
|
129
|
+
ariaHidden: boolean;
|
|
129
130
|
dropdownPosition: import("@/components/input-field/input-field.types").BentoInputFieldElementPosition;
|
|
130
131
|
staticValue: string;
|
|
131
132
|
staticValuePosition: import("@/components/input-field/input-field.types").BentoInputFieldElementPosition;
|
|
@@ -251,7 +252,8 @@ declare const _default: import("vue").DefineComponent<{
|
|
|
251
252
|
onClearSearch: () => void;
|
|
252
253
|
onInputEvent: () => void;
|
|
253
254
|
BentoInputFieldType: typeof BentoInputFieldType;
|
|
254
|
-
|
|
255
|
+
BentoSearchBarInternalEvent: typeof BentoSearchBarInternalEvent;
|
|
256
|
+
}, {}, {}, {}, import("vue/types/v3-component-options").ComponentOptionsMixin, import("vue/types/v3-component-options").ComponentOptionsMixin, (BentoSearchBarInternalEvent.CLEAR | BentoSearchBarInternalEvent.ESCAPE | BentoSearchBarInternalEvent.INPUT)[], string, Readonly<import("vue").ExtractPropTypes<{
|
|
255
257
|
inputFieldAriaLabel: {
|
|
256
258
|
type: StringConstructor;
|
|
257
259
|
required: true;
|
|
@@ -270,7 +272,7 @@ declare const _default: import("vue").DefineComponent<{
|
|
|
270
272
|
};
|
|
271
273
|
}>>, {
|
|
272
274
|
value: string;
|
|
273
|
-
placeholder: string;
|
|
274
275
|
debounceTime: number;
|
|
276
|
+
placeholder: string;
|
|
275
277
|
}>;
|
|
276
278
|
export default _default;
|