@adyen/bento-vue2 0.9.1 → 0.9.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/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.types.d.ts +4 -0
- package/dist/@types/components/card/card.vue.d.ts +20 -4
- package/dist/@types/components/checkbox/checkbox.types.d.ts +5 -0
- package/dist/@types/components/checkbox/checkbox.vue.d.ts +15 -5
- package/dist/@types/components/checkbox/components/checkbox-group/checkbox-group.types.d.ts +1 -0
- package/dist/@types/components/checkbox/components/checkbox-group/checkbox-group.vue.d.ts +10 -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 +8 -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 +3 -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 +8 -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 +1058 -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 +21 -3
- package/dist/@types/components/filter-bar/components/date-range-filter/date-range-filter.vue.d.ts +14 -4
- 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 +12 -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 +9 -0
- package/dist/@types/components/filter-bar/filter-bar.vue.d.ts +6 -3
- package/dist/@types/components/header/header.vue.d.ts +3 -3
- package/dist/@types/components/input-field/input-field.types.d.ts +4 -1
- 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/grid-layout/grid-layout.types.d.ts +5 -0
- package/dist/@types/components/internal/grid-layout/grid-layout.vue.d.ts +14 -1
- package/dist/@types/components/internal/grid-layout/index.d.ts +1 -0
- 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 +9 -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 +6 -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/components/radio-button/radio-button.types.d.ts +4 -0
- package/dist/@types/components/radio-group/components/radio-button/radio-button.vue.d.ts +16 -3
- package/dist/@types/components/radio-group/radio-group.types.d.ts +1 -0
- package/dist/@types/components/radio-group/radio-group.vue.d.ts +10 -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 +256 -9
- 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 +8579 -6292
- package/dist/index.js.map +1 -1
- package/dist/web-types.json +278 -63
- 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
|
@@ -1,6 +1,7 @@
|
|
|
1
1
|
import { PropType } from 'vue';
|
|
2
|
-
import { BentoFilterBarModel, BentoFilterModel } from './filter-bar.types';
|
|
2
|
+
import { BentoFilterBarEvent, BentoFilterBarModel, BentoFilterModel } from './filter-bar.types';
|
|
3
3
|
import { BentoButtonVariant } from '@/components/button';
|
|
4
|
+
import { BentoSearchBarEvent } from '@/components/search-bar';
|
|
4
5
|
declare const _default: import("vue").DefineComponent<{
|
|
5
6
|
searchTerm: {
|
|
6
7
|
type: StringConstructor;
|
|
@@ -11,19 +12,21 @@ declare const _default: import("vue").DefineComponent<{
|
|
|
11
12
|
default: () => any[];
|
|
12
13
|
};
|
|
13
14
|
}, {
|
|
15
|
+
hasHiddenFilters: import("vue").ComputedRef<boolean>;
|
|
14
16
|
isClearAllVisible: import("vue").ComputedRef<boolean>;
|
|
15
17
|
isSearchBarEnabled: import("vue").ComputedRef<boolean>;
|
|
16
|
-
searchBarAriaLabel: string
|
|
18
|
+
searchBarAriaLabel: import("vue").ComputedRef<string>;
|
|
17
19
|
persistentFilters: import("vue").ComputedRef<BentoFilterModel[]>;
|
|
18
20
|
regularFilters: import("vue").ComputedRef<BentoFilterModel[]>;
|
|
19
21
|
isResetAllVisible: import("vue").ComputedRef<boolean>;
|
|
20
22
|
BentoButtonVariant: typeof BentoButtonVariant;
|
|
23
|
+
updateAllFilters: (newFilters: BentoFilterBarModel) => void;
|
|
21
24
|
updateFilterHandler: (updatedFilter: BentoFilterModel) => void;
|
|
22
25
|
clearAllFilters: () => void;
|
|
23
26
|
onSearchbarClear: () => void;
|
|
24
27
|
onSearchbarInput: (newSearchTerm: string) => void;
|
|
25
28
|
resetAllFilters: () => void;
|
|
26
|
-
}, {}, {}, {}, import("vue/types/v3-component-options").ComponentOptionsMixin, import("vue/types/v3-component-options").ComponentOptionsMixin, (
|
|
29
|
+
}, {}, {}, {}, import("vue/types/v3-component-options").ComponentOptionsMixin, import("vue/types/v3-component-options").ComponentOptionsMixin, (BentoFilterBarEvent | BentoSearchBarEvent)[], string, Readonly<import("vue").ExtractPropTypes<{
|
|
27
30
|
searchTerm: {
|
|
28
31
|
type: StringConstructor;
|
|
29
32
|
default: any;
|
|
@@ -21,12 +21,12 @@ declare const _default: import("vue").DefineComponent<{
|
|
|
21
21
|
default: any;
|
|
22
22
|
};
|
|
23
23
|
lastUpdated: {
|
|
24
|
-
type: (
|
|
24
|
+
type: (DateConstructor | NumberConstructor)[];
|
|
25
25
|
default: any;
|
|
26
26
|
};
|
|
27
27
|
}, {
|
|
28
28
|
hasSlot: (name: string) => boolean;
|
|
29
|
-
timestamp: import("vue").ComputedRef<
|
|
29
|
+
timestamp: import("vue").ComputedRef<any>;
|
|
30
30
|
typography: import("vue").ComputedRef<{
|
|
31
31
|
el: BentoTypographyElement;
|
|
32
32
|
variant: BentoTypographyVariant;
|
|
@@ -54,7 +54,7 @@ declare const _default: import("vue").DefineComponent<{
|
|
|
54
54
|
default: any;
|
|
55
55
|
};
|
|
56
56
|
lastUpdated: {
|
|
57
|
-
type: (
|
|
57
|
+
type: (DateConstructor | NumberConstructor)[];
|
|
58
58
|
default: any;
|
|
59
59
|
};
|
|
60
60
|
}>>, {
|
|
@@ -29,6 +29,9 @@ export declare enum BentoInputFieldEvent {
|
|
|
29
29
|
INPUT = "input",
|
|
30
30
|
ESCAPE_PRESSED = "escape-pressed",
|
|
31
31
|
UPDATE_DROPDOWN = "update:dropdown",
|
|
32
|
-
DROPDOWN_INPUT = "dropdown-input"
|
|
32
|
+
DROPDOWN_INPUT = "dropdown-input",
|
|
33
|
+
FOCUS = "focus",
|
|
34
|
+
CHANGE = "change",
|
|
35
|
+
BLUR = "blur"
|
|
33
36
|
}
|
|
34
37
|
export {};
|
|
@@ -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>;
|
|
@@ -1,13 +1,21 @@
|
|
|
1
1
|
import { PropType } from 'vue';
|
|
2
|
-
import { GridLayoutColumnWidths } from './grid-layout.types';
|
|
2
|
+
import { GridLayoutColumnWidths, GridLayoutContainerType } from './grid-layout.types';
|
|
3
3
|
declare const _default: import("vue").DefineComponent<{
|
|
4
4
|
columnWidth: {
|
|
5
5
|
type: PropType<GridLayoutColumnWidths>;
|
|
6
6
|
default: any;
|
|
7
7
|
validator: (array: GridLayoutColumnWidths) => boolean;
|
|
8
8
|
};
|
|
9
|
+
containerType: {
|
|
10
|
+
type: PropType<GridLayoutContainerType>;
|
|
11
|
+
default: GridLayoutContainerType;
|
|
12
|
+
};
|
|
9
13
|
}, {
|
|
10
14
|
computeColumnSize: (index: any) => string[];
|
|
15
|
+
computedClasses: import("vue").ComputedRef<{
|
|
16
|
+
'b-grid-layout--container-type-normal': boolean;
|
|
17
|
+
'b-grid-layout--container-type-size': boolean;
|
|
18
|
+
}>;
|
|
11
19
|
hasSlot: (name: string) => boolean;
|
|
12
20
|
}, {}, {}, {}, import("vue/types/v3-component-options").ComponentOptionsMixin, import("vue/types/v3-component-options").ComponentOptionsMixin, {}, string, Readonly<import("vue").ExtractPropTypes<{
|
|
13
21
|
columnWidth: {
|
|
@@ -15,7 +23,12 @@ declare const _default: import("vue").DefineComponent<{
|
|
|
15
23
|
default: any;
|
|
16
24
|
validator: (array: GridLayoutColumnWidths) => boolean;
|
|
17
25
|
};
|
|
26
|
+
containerType: {
|
|
27
|
+
type: PropType<GridLayoutContainerType>;
|
|
28
|
+
default: GridLayoutContainerType;
|
|
29
|
+
};
|
|
18
30
|
}>>, {
|
|
19
31
|
columnWidth: GridLayoutColumnWidths;
|
|
32
|
+
containerType: GridLayoutContainerType;
|
|
20
33
|
}>;
|
|
21
34
|
export default _default;
|
|
@@ -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<{
|
|
@@ -22,6 +22,10 @@ declare const _default: import("vue").DefineComponent<{
|
|
|
22
22
|
type: BooleanConstructor;
|
|
23
23
|
default: boolean;
|
|
24
24
|
};
|
|
25
|
+
noResultsMessage: {
|
|
26
|
+
type: StringConstructor;
|
|
27
|
+
required: true;
|
|
28
|
+
};
|
|
25
29
|
searching: {
|
|
26
30
|
type: BooleanConstructor;
|
|
27
31
|
default: boolean;
|
|
@@ -55,6 +59,10 @@ declare const _default: import("vue").DefineComponent<{
|
|
|
55
59
|
type: BooleanConstructor;
|
|
56
60
|
default: boolean;
|
|
57
61
|
};
|
|
62
|
+
noResultsMessage: {
|
|
63
|
+
type: StringConstructor;
|
|
64
|
+
required: true;
|
|
65
|
+
};
|
|
58
66
|
searching: {
|
|
59
67
|
type: BooleanConstructor;
|
|
60
68
|
default: boolean;
|
|
@@ -65,9 +73,9 @@ declare const _default: import("vue").DefineComponent<{
|
|
|
65
73
|
};
|
|
66
74
|
}>>, {
|
|
67
75
|
ariaLabel: string;
|
|
68
|
-
multiple: boolean;
|
|
69
76
|
isOptionDisabled: BentoListboxIsOptionDisabled;
|
|
70
77
|
searching: boolean;
|
|
78
|
+
multiple: boolean;
|
|
71
79
|
selectedValue: BentoListboxSelectedValue;
|
|
72
80
|
}>;
|
|
73
81
|
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,7 +1,8 @@
|
|
|
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
|
+
import { GridLayoutContainerType } from '@/internal';
|
|
5
6
|
declare const _default: import("vue").DefineComponent<{
|
|
6
7
|
modalRole: {
|
|
7
8
|
type: StringConstructor;
|
|
@@ -47,6 +48,9 @@ declare const _default: import("vue").DefineComponent<{
|
|
|
47
48
|
onCloseButtonClick: () => void;
|
|
48
49
|
hasSlot: (name: string) => boolean;
|
|
49
50
|
emitCloseEvent: () => void;
|
|
51
|
+
modalActionsConditionalClasses: import("vue").ComputedRef<{
|
|
52
|
+
'b-modal-base__actions--column-layout': boolean;
|
|
53
|
+
}>;
|
|
50
54
|
modalConditionalClasses: import("vue").ComputedRef<{
|
|
51
55
|
[x: string]: boolean | BentoModalSize;
|
|
52
56
|
"b-modal-base__container--visible": boolean;
|
|
@@ -75,6 +79,7 @@ declare const _default: import("vue").DefineComponent<{
|
|
|
75
79
|
BentoButtonVariant: typeof BentoButtonVariant;
|
|
76
80
|
BentoTypographyElement: typeof BentoTypographyElement;
|
|
77
81
|
BentoTypographyVariant: typeof BentoTypographyVariant;
|
|
82
|
+
GridLayoutContainerType: typeof GridLayoutContainerType;
|
|
78
83
|
}, {}, {}, {}, import("vue/types/v3-component-options").ComponentOptionsMixin, import("vue/types/v3-component-options").ComponentOptionsMixin, BentoModalEvent[], string, Readonly<import("vue").ExtractPropTypes<{
|
|
79
84
|
modalRole: {
|
|
80
85
|
type: StringConstructor;
|
|
@@ -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;
|
|
@@ -5,6 +5,10 @@ declare const _default: import("vue").DefineComponent<{
|
|
|
5
5
|
type: BooleanConstructor;
|
|
6
6
|
default: boolean;
|
|
7
7
|
};
|
|
8
|
+
hasError: {
|
|
9
|
+
type: BooleanConstructor;
|
|
10
|
+
default: boolean;
|
|
11
|
+
};
|
|
8
12
|
value: {
|
|
9
13
|
type: (StringConstructor | NumberConstructor)[];
|
|
10
14
|
required: true;
|
|
@@ -15,21 +19,29 @@ declare const _default: import("vue").DefineComponent<{
|
|
|
15
19
|
};
|
|
16
20
|
}, {
|
|
17
21
|
ariaLabel: ComputedRef<string>;
|
|
22
|
+
ariaInvalid: ComputedRef<(boolean | "true" | "false") | "grammar" | "spelling">;
|
|
18
23
|
isChecked: ComputedRef<boolean>;
|
|
19
24
|
defaultSlotValue: boolean;
|
|
20
25
|
descriptionSlotValue: boolean;
|
|
21
|
-
|
|
22
|
-
|
|
26
|
+
conditionalClassContainer: ComputedRef<{
|
|
27
|
+
[x: string]: boolean;
|
|
28
|
+
}>;
|
|
29
|
+
conditionalClassInput: ComputedRef<{
|
|
30
|
+
[x: string]: boolean;
|
|
23
31
|
}>;
|
|
24
32
|
radioButtonId: string;
|
|
25
33
|
onClick: () => void;
|
|
26
34
|
BentoTypographyVariant: typeof BentoTypographyVariant;
|
|
27
35
|
BentoTypographyElement: typeof BentoTypographyElement;
|
|
28
|
-
}, {}, {}, {}, import("vue/types/v3-component-options
|
|
36
|
+
}, {}, {}, {}, import("vue/types/v3-component-options").ComponentOptionsMixin, import("vue/types/v3-component-options").ComponentOptionsMixin, "input"[], string, Readonly<import("vue").ExtractPropTypes<{
|
|
29
37
|
disabled: {
|
|
30
38
|
type: BooleanConstructor;
|
|
31
39
|
default: boolean;
|
|
32
40
|
};
|
|
41
|
+
hasError: {
|
|
42
|
+
type: BooleanConstructor;
|
|
43
|
+
default: boolean;
|
|
44
|
+
};
|
|
33
45
|
value: {
|
|
34
46
|
type: (StringConstructor | NumberConstructor)[];
|
|
35
47
|
required: true;
|
|
@@ -41,5 +53,6 @@ declare const _default: import("vue").DefineComponent<{
|
|
|
41
53
|
}>>, {
|
|
42
54
|
disabled: boolean;
|
|
43
55
|
modelValue: string | number;
|
|
56
|
+
hasError: boolean;
|
|
44
57
|
}>;
|
|
45
58
|
export default _default;
|
|
@@ -18,6 +18,10 @@ declare const _default: import("vue").DefineComponent<{
|
|
|
18
18
|
type: BooleanConstructor;
|
|
19
19
|
default: boolean;
|
|
20
20
|
};
|
|
21
|
+
hasError: {
|
|
22
|
+
type: BooleanConstructor;
|
|
23
|
+
default: boolean;
|
|
24
|
+
};
|
|
21
25
|
label: {
|
|
22
26
|
type: StringConstructor;
|
|
23
27
|
required: true;
|
|
@@ -50,6 +54,10 @@ declare const _default: import("vue").DefineComponent<{
|
|
|
50
54
|
type: BooleanConstructor;
|
|
51
55
|
default: boolean;
|
|
52
56
|
};
|
|
57
|
+
hasError: {
|
|
58
|
+
type: BooleanConstructor;
|
|
59
|
+
default: boolean;
|
|
60
|
+
};
|
|
53
61
|
label: {
|
|
54
62
|
type: StringConstructor;
|
|
55
63
|
required: true;
|
|
@@ -59,8 +67,9 @@ declare const _default: import("vue").DefineComponent<{
|
|
|
59
67
|
default: any;
|
|
60
68
|
};
|
|
61
69
|
}>>, {
|
|
62
|
-
disabled: boolean;
|
|
63
70
|
variant: BentoRadioGroupVariant;
|
|
71
|
+
disabled: boolean;
|
|
72
|
+
hasError: boolean;
|
|
64
73
|
formId: string;
|
|
65
74
|
selectedValue: string | number;
|
|
66
75
|
}>;
|
|
@@ -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;
|