@adyen/bento-vue2 0.1.2 → 0.1.4
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/avatar.vue.d.ts +21 -36
- package/dist/@types/components/avatar/index.d.ts +1 -2
- package/dist/@types/components/{avatar/avatar.types.d.ts → avatar-image/avatar-image.types.d.ts} +2 -2
- package/dist/@types/components/avatar-image/avatar-image.vue.d.ts +55 -0
- package/dist/@types/components/avatar-image/index.d.ts +2 -0
- 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.types.d.ts +0 -4
- package/dist/@types/components/dropdown/components/dropdown-base-textbox/dropdown-base-textbox.vue.d.ts +1 -11
- package/dist/@types/components/dropdown/components/dropdown-default-textbox/dropdown-default-textbox.vue.d.ts +0 -9
- package/dist/@types/components/dropdown/components/dropdown-options-container/components/dropdown-multi-select/dropdown-multi-select.vue.d.ts +42 -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 +25 -20
- package/dist/@types/components/dropdown/components/dropdown-options-container/dropdown-options-container.vue.d.ts +14 -5
- package/dist/@types/components/dropdown/components/dropdown-small-textbox/dropdown-small-textbox.vue.d.ts +0 -9
- package/dist/@types/components/dropdown/dropdown.types.d.ts +8 -6
- package/dist/@types/components/dropdown/dropdown.vue.d.ts +33 -32
- 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 +2 -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 +12 -2
- package/dist/@types/components/search-bar/search-bar.vue.d.ts +173 -1
- package/dist/@types/components.d.ts +6 -8
- 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 +3 -1
- package/dist/index.js +2640 -2203
- package/dist/index.js.map +1 -1
- package/package.json +4 -4
- 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
- package/dist/@types/components/user-profile/index.d.ts +0 -1
- package/dist/@types/components/user-profile/user-profile.vue.d.ts +0 -40
|
@@ -1,52 +1,57 @@
|
|
|
1
1
|
import { PropType } from 'vue';
|
|
2
2
|
import { BentoTypographyElement } from '@/components/typography';
|
|
3
|
-
import type {
|
|
3
|
+
import type { BentoDropdownValue } from '@/components/dropdown/dropdown.types';
|
|
4
4
|
declare const _default: import("vue").DefineComponent<{
|
|
5
|
-
|
|
5
|
+
disabled: {
|
|
6
|
+
type: BooleanConstructor;
|
|
7
|
+
default: boolean;
|
|
8
|
+
};
|
|
9
|
+
description: {
|
|
6
10
|
type: StringConstructor;
|
|
7
|
-
|
|
11
|
+
default: any;
|
|
8
12
|
};
|
|
9
|
-
|
|
10
|
-
type:
|
|
13
|
+
label: {
|
|
14
|
+
type: StringConstructor;
|
|
11
15
|
required: true;
|
|
12
16
|
};
|
|
13
17
|
selected: {
|
|
14
18
|
type: BooleanConstructor;
|
|
15
19
|
default: boolean;
|
|
16
20
|
};
|
|
17
|
-
|
|
18
|
-
type:
|
|
19
|
-
|
|
21
|
+
value: {
|
|
22
|
+
type: PropType<BentoDropdownValue>;
|
|
23
|
+
required: true;
|
|
20
24
|
};
|
|
21
25
|
}, {
|
|
22
|
-
conditionalClasses: import("vue").ComputedRef<{
|
|
23
|
-
'b-dropdown-single-select-option--disabled': boolean;
|
|
24
|
-
'b-dropdown-single-select-option--selected': boolean;
|
|
25
|
-
}>;
|
|
26
26
|
ariaDisabled: import("vue").ComputedRef<boolean>;
|
|
27
27
|
ariaSelected: import("vue").ComputedRef<boolean>;
|
|
28
28
|
tabIndex: import("vue").ComputedRef<0 | -1>;
|
|
29
29
|
BentoTypographyElement: typeof BentoTypographyElement;
|
|
30
30
|
onOptionSelected: () => void;
|
|
31
|
-
}, {}, {}, {}, import("vue/types/v3-component-options
|
|
32
|
-
|
|
31
|
+
}, {}, {}, {}, import("vue/types/v3-component-options").ComponentOptionsMixin, import("vue/types/v3-component-options").ComponentOptionsMixin, ("select" | "escape-pressed")[], string, Readonly<import("vue").ExtractPropTypes<{
|
|
32
|
+
disabled: {
|
|
33
|
+
type: BooleanConstructor;
|
|
34
|
+
default: boolean;
|
|
35
|
+
};
|
|
36
|
+
description: {
|
|
33
37
|
type: StringConstructor;
|
|
34
|
-
|
|
38
|
+
default: any;
|
|
35
39
|
};
|
|
36
|
-
|
|
37
|
-
type:
|
|
40
|
+
label: {
|
|
41
|
+
type: StringConstructor;
|
|
38
42
|
required: true;
|
|
39
43
|
};
|
|
40
44
|
selected: {
|
|
41
45
|
type: BooleanConstructor;
|
|
42
46
|
default: boolean;
|
|
43
47
|
};
|
|
44
|
-
|
|
45
|
-
type:
|
|
46
|
-
|
|
48
|
+
value: {
|
|
49
|
+
type: PropType<BentoDropdownValue>;
|
|
50
|
+
required: true;
|
|
47
51
|
};
|
|
48
52
|
}>>, {
|
|
49
53
|
disabled: boolean;
|
|
54
|
+
description: string;
|
|
50
55
|
selected: boolean;
|
|
51
56
|
}>;
|
|
52
57
|
export default _default;
|
|
@@ -1,5 +1,5 @@
|
|
|
1
1
|
import { PropType } from 'vue';
|
|
2
|
-
import type { BentoDropdownIsOptionDisabled,
|
|
2
|
+
import type { BentoDropdownIsOptionDisabled, BentoDropdownOptions, BentoDropdownSelectedValue } from '../../dropdown.types';
|
|
3
3
|
declare const _default: import("vue").DefineComponent<{
|
|
4
4
|
ariaLabel: {
|
|
5
5
|
type: StringConstructor;
|
|
@@ -21,12 +21,16 @@ declare const _default: import("vue").DefineComponent<{
|
|
|
21
21
|
type: PropType<BentoDropdownOptions>;
|
|
22
22
|
required: true;
|
|
23
23
|
};
|
|
24
|
+
multiple: {
|
|
25
|
+
type: BooleanConstructor;
|
|
26
|
+
default: boolean;
|
|
27
|
+
};
|
|
24
28
|
open: {
|
|
25
29
|
type: BooleanConstructor;
|
|
26
30
|
required: true;
|
|
27
31
|
};
|
|
28
32
|
selectedValue: {
|
|
29
|
-
type: PropType<
|
|
33
|
+
type: PropType<BentoDropdownSelectedValue>;
|
|
30
34
|
default: any;
|
|
31
35
|
};
|
|
32
36
|
targetElement: {
|
|
@@ -52,7 +56,7 @@ declare const _default: import("vue").DefineComponent<{
|
|
|
52
56
|
BOTTOM: import("@/components/popper-container").PopperContainerPositionBasic.BOTTOM;
|
|
53
57
|
LEFT: import("@/components/popper-container").PopperContainerPositionBasic.LEFT;
|
|
54
58
|
};
|
|
55
|
-
onOptionSelected: (
|
|
59
|
+
onOptionSelected: (selectedValue: BentoDropdownSelectedValue) => void;
|
|
56
60
|
}, {}, {}, {}, import("vue/types/v3-component-options").ComponentOptionsMixin, import("vue/types/v3-component-options").ComponentOptionsMixin, "select"[], string, Readonly<import("vue").ExtractPropTypes<{
|
|
57
61
|
ariaLabel: {
|
|
58
62
|
type: StringConstructor;
|
|
@@ -74,12 +78,16 @@ declare const _default: import("vue").DefineComponent<{
|
|
|
74
78
|
type: PropType<BentoDropdownOptions>;
|
|
75
79
|
required: true;
|
|
76
80
|
};
|
|
81
|
+
multiple: {
|
|
82
|
+
type: BooleanConstructor;
|
|
83
|
+
default: boolean;
|
|
84
|
+
};
|
|
77
85
|
open: {
|
|
78
86
|
type: BooleanConstructor;
|
|
79
87
|
required: true;
|
|
80
88
|
};
|
|
81
89
|
selectedValue: {
|
|
82
|
-
type: PropType<
|
|
90
|
+
type: PropType<BentoDropdownSelectedValue>;
|
|
83
91
|
default: any;
|
|
84
92
|
};
|
|
85
93
|
targetElement: {
|
|
@@ -89,7 +97,8 @@ declare const _default: import("vue").DefineComponent<{
|
|
|
89
97
|
}>>, {
|
|
90
98
|
ariaLabel: string;
|
|
91
99
|
disabled: boolean;
|
|
100
|
+
multiple: boolean;
|
|
92
101
|
isOptionDisabled: BentoDropdownIsOptionDisabled;
|
|
93
|
-
selectedValue:
|
|
102
|
+
selectedValue: BentoDropdownSelectedValue;
|
|
94
103
|
}>;
|
|
95
104
|
export default _default;
|
|
@@ -45,10 +45,6 @@ declare const _default: import("vue").DefineComponent<{
|
|
|
45
45
|
type: BooleanConstructor;
|
|
46
46
|
default: boolean;
|
|
47
47
|
};
|
|
48
|
-
placeholder: {
|
|
49
|
-
type: StringConstructor;
|
|
50
|
-
default: any;
|
|
51
|
-
};
|
|
52
48
|
value: {
|
|
53
49
|
type: StringConstructor;
|
|
54
50
|
default: string;
|
|
@@ -104,10 +100,6 @@ declare const _default: import("vue").DefineComponent<{
|
|
|
104
100
|
type: BooleanConstructor;
|
|
105
101
|
default: boolean;
|
|
106
102
|
};
|
|
107
|
-
placeholder: {
|
|
108
|
-
type: StringConstructor;
|
|
109
|
-
default: any;
|
|
110
|
-
};
|
|
111
103
|
value: {
|
|
112
104
|
type: StringConstructor;
|
|
113
105
|
default: string;
|
|
@@ -117,7 +109,6 @@ declare const _default: import("vue").DefineComponent<{
|
|
|
117
109
|
value: string;
|
|
118
110
|
ariaLabel: string;
|
|
119
111
|
disabled: boolean;
|
|
120
|
-
placeholder: string;
|
|
121
112
|
debounceTime: number;
|
|
122
113
|
additionalItemsSelected: number;
|
|
123
114
|
ariaLabelledby: string;
|
|
@@ -1,8 +1,10 @@
|
|
|
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
|
+
description?: string;
|
|
6
|
+
value: BentoDropdownValue;
|
|
5
7
|
}
|
|
6
|
-
export type
|
|
7
|
-
export type
|
|
8
|
-
export type BentoDropdownIsOptionDisabled = (optionValue:
|
|
8
|
+
export type BentoDropdownSelectedValue = BentoDropdownValue | BentoDropdownMultiSelectValue;
|
|
9
|
+
export type BentoDropdownOptions = Array<BentoDropdownOptionItem>;
|
|
10
|
+
export type BentoDropdownIsOptionDisabled = (optionValue: BentoDropdownOptionItem) => boolean | undefined;
|
|
@@ -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,41 +22,42 @@ declare const _default: import("vue").DefineComponent<{
|
|
|
22
22
|
type: StringConstructor;
|
|
23
23
|
default: any;
|
|
24
24
|
};
|
|
25
|
-
optional: {
|
|
26
|
-
type: BooleanConstructor;
|
|
27
|
-
default: boolean;
|
|
28
|
-
};
|
|
29
|
-
placeholder: {
|
|
30
|
-
type: StringConstructor;
|
|
31
|
-
default: any;
|
|
32
|
-
};
|
|
33
|
-
value: {
|
|
34
|
-
type: PropType<import("./dropdown.types").AdlDropdownValue>;
|
|
35
|
-
default: any;
|
|
36
|
-
};
|
|
37
25
|
isOptionDisabled: {
|
|
38
26
|
type: PropType<BentoDropdownIsOptionDisabled>;
|
|
39
27
|
default: any;
|
|
40
28
|
};
|
|
41
29
|
items: {
|
|
42
|
-
type: PropType<
|
|
30
|
+
type: PropType<BentoDropdownOptions>;
|
|
43
31
|
default: () => any[];
|
|
44
32
|
};
|
|
33
|
+
multiple: {
|
|
34
|
+
type: BooleanConstructor;
|
|
35
|
+
default: boolean;
|
|
36
|
+
};
|
|
37
|
+
optional: {
|
|
38
|
+
type: BooleanConstructor;
|
|
39
|
+
default: boolean;
|
|
40
|
+
};
|
|
45
41
|
required: {
|
|
46
42
|
type: BooleanConstructor;
|
|
47
43
|
default: boolean;
|
|
48
44
|
};
|
|
45
|
+
value: {
|
|
46
|
+
type: PropType<BentoDropdownSelectedValue>;
|
|
47
|
+
default: any;
|
|
48
|
+
};
|
|
49
49
|
}, {
|
|
50
|
+
additionalItemsSelected: import("vue").ComputedRef<number>;
|
|
50
51
|
isDropdownOpen: import("vue").Ref<boolean>;
|
|
51
52
|
displayValue: import("vue").ComputedRef<string>;
|
|
52
53
|
dropdownOptionsContainerId: string;
|
|
53
|
-
filteredItems: import("vue").ComputedRef<
|
|
54
|
+
filteredItems: import("vue").ComputedRef<BentoDropdownOptionItem[]>;
|
|
54
55
|
searchTerm: import("vue").Ref<string>;
|
|
55
56
|
labelId: string;
|
|
56
57
|
inputContainerRef: any;
|
|
57
58
|
closeOpenedDropdown: () => void;
|
|
58
59
|
toggleDropdown: () => void;
|
|
59
|
-
onOptionSelected: (
|
|
60
|
+
onOptionSelected: (selectedValue: BentoDropdownSelectedValue) => void;
|
|
60
61
|
BentoTypographyElement: typeof BentoTypographyElement;
|
|
61
62
|
}, {}, {}, {}, import("vue/types/v3-component-options").ComponentOptionsMixin, import("vue/types/v3-component-options").ComponentOptionsMixin, "input"[], string, Readonly<import("vue").ExtractPropTypes<{
|
|
62
63
|
ariaLabel: {
|
|
@@ -79,40 +80,40 @@ declare const _default: import("vue").DefineComponent<{
|
|
|
79
80
|
type: StringConstructor;
|
|
80
81
|
default: any;
|
|
81
82
|
};
|
|
82
|
-
optional: {
|
|
83
|
-
type: BooleanConstructor;
|
|
84
|
-
default: boolean;
|
|
85
|
-
};
|
|
86
|
-
placeholder: {
|
|
87
|
-
type: StringConstructor;
|
|
88
|
-
default: any;
|
|
89
|
-
};
|
|
90
|
-
value: {
|
|
91
|
-
type: PropType<import("./dropdown.types").AdlDropdownValue>;
|
|
92
|
-
default: any;
|
|
93
|
-
};
|
|
94
83
|
isOptionDisabled: {
|
|
95
84
|
type: PropType<BentoDropdownIsOptionDisabled>;
|
|
96
85
|
default: any;
|
|
97
86
|
};
|
|
98
87
|
items: {
|
|
99
|
-
type: PropType<
|
|
88
|
+
type: PropType<BentoDropdownOptions>;
|
|
100
89
|
default: () => any[];
|
|
101
90
|
};
|
|
91
|
+
multiple: {
|
|
92
|
+
type: BooleanConstructor;
|
|
93
|
+
default: boolean;
|
|
94
|
+
};
|
|
95
|
+
optional: {
|
|
96
|
+
type: BooleanConstructor;
|
|
97
|
+
default: boolean;
|
|
98
|
+
};
|
|
102
99
|
required: {
|
|
103
100
|
type: BooleanConstructor;
|
|
104
101
|
default: boolean;
|
|
105
102
|
};
|
|
103
|
+
value: {
|
|
104
|
+
type: PropType<BentoDropdownSelectedValue>;
|
|
105
|
+
default: any;
|
|
106
|
+
};
|
|
106
107
|
}>>, {
|
|
107
108
|
required: boolean;
|
|
108
109
|
optional: boolean;
|
|
109
|
-
value:
|
|
110
|
+
value: BentoDropdownSelectedValue;
|
|
110
111
|
label: string;
|
|
111
112
|
ariaLabel: string;
|
|
112
113
|
disabled: boolean;
|
|
114
|
+
multiple: boolean;
|
|
113
115
|
description: string;
|
|
114
|
-
|
|
115
|
-
items: AdlDropdownOptions;
|
|
116
|
+
items: BentoDropdownOptions;
|
|
116
117
|
isOptionDisabled: BentoDropdownIsOptionDisabled;
|
|
117
118
|
dynamicFiltering: boolean;
|
|
118
119
|
}>;
|
|
@@ -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;
|
|
@@ -44,13 +44,14 @@ declare const _default: import("vue").DefineComponent<{
|
|
|
44
44
|
BentoInputFieldVariant: typeof BentoInputFieldVariant;
|
|
45
45
|
onInput: (event: Event) => void;
|
|
46
46
|
focusInput: () => void;
|
|
47
|
+
hasSlot: (name: string) => boolean;
|
|
47
48
|
inputFieldConditionalClasses: import("vue").ComputedRef<{
|
|
48
49
|
[x: string]: boolean;
|
|
49
50
|
}>;
|
|
50
51
|
inputFieldElement: any;
|
|
51
52
|
shouldDisplayStaticValueAtStart: import("vue").ComputedRef<boolean>;
|
|
52
53
|
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<{
|
|
54
|
+
}, {}, {}, {}, 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
55
|
ariaHidden: {
|
|
55
56
|
type: BooleanConstructor;
|
|
56
57
|
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,13 +9,17 @@ 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: {
|
|
16
16
|
type: StringConstructor;
|
|
17
17
|
default: any;
|
|
18
18
|
};
|
|
19
|
+
divider: {
|
|
20
|
+
type: BooleanConstructor;
|
|
21
|
+
default: boolean;
|
|
22
|
+
};
|
|
19
23
|
disableFocusTrap: {
|
|
20
24
|
type: BooleanConstructor;
|
|
21
25
|
default: boolean;
|
|
@@ -56,6 +60,7 @@ declare const _default: import("vue").DefineComponent<{
|
|
|
56
60
|
}, {
|
|
57
61
|
conditionalClasses: import("vue").ComputedRef<{
|
|
58
62
|
'b-popover--small': boolean;
|
|
63
|
+
'b-popover--with-divider': boolean;
|
|
59
64
|
'b-popover--large': boolean;
|
|
60
65
|
}>;
|
|
61
66
|
contentConditionalClasses: import("vue").ComputedRef<{
|
|
@@ -71,13 +76,17 @@ declare const _default: import("vue").DefineComponent<{
|
|
|
71
76
|
};
|
|
72
77
|
actionsLayout: {
|
|
73
78
|
type: PropType<BentoButtonActionsLayout>;
|
|
74
|
-
default:
|
|
79
|
+
default: import("@/components/button").BentoButtonActionsLayoutBasic;
|
|
75
80
|
validator: (value: BentoButtonActionsLayout) => boolean;
|
|
76
81
|
};
|
|
77
82
|
ariaLabel: {
|
|
78
83
|
type: StringConstructor;
|
|
79
84
|
default: any;
|
|
80
85
|
};
|
|
86
|
+
divider: {
|
|
87
|
+
type: BooleanConstructor;
|
|
88
|
+
default: boolean;
|
|
89
|
+
};
|
|
81
90
|
disableFocusTrap: {
|
|
82
91
|
type: BooleanConstructor;
|
|
83
92
|
default: boolean;
|
|
@@ -125,6 +134,7 @@ declare const _default: import("vue").DefineComponent<{
|
|
|
125
134
|
actions: BentoButtonActionsList;
|
|
126
135
|
fixedPositioning: boolean;
|
|
127
136
|
actionsLayout: BentoButtonActionsLayout;
|
|
137
|
+
divider: boolean;
|
|
128
138
|
disableFocusTrap: boolean;
|
|
129
139
|
dismissible: boolean;
|
|
130
140
|
}>;
|
|
@@ -14,10 +14,182 @@ 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
|
+
hasSlot: (name: string) => boolean;
|
|
145
|
+
inputFieldConditionalClasses: import("vue").ComputedRef<{
|
|
146
|
+
[x: string]: boolean;
|
|
147
|
+
}>;
|
|
148
|
+
inputFieldElement: any;
|
|
149
|
+
shouldDisplayStaticValueAtStart: import("vue").ComputedRef<boolean>;
|
|
150
|
+
shouldDisplayStaticValueAtEnd: import("vue").ComputedRef<boolean>;
|
|
151
|
+
}> & import("vue/types/v3-component-options").ExtractComputedReturns<{}> & import("vue").ComponentCustomProperties & Readonly<import("vue").ExtractPropTypes<{
|
|
152
|
+
ariaHidden: {
|
|
153
|
+
type: BooleanConstructor;
|
|
154
|
+
default: boolean;
|
|
155
|
+
};
|
|
156
|
+
ariaLabel: {
|
|
157
|
+
type: StringConstructor;
|
|
158
|
+
default: any;
|
|
159
|
+
};
|
|
160
|
+
disabled: {
|
|
161
|
+
type: BooleanConstructor;
|
|
162
|
+
default: boolean;
|
|
163
|
+
};
|
|
164
|
+
error: {
|
|
165
|
+
type: BooleanConstructor;
|
|
166
|
+
default: boolean;
|
|
167
|
+
};
|
|
168
|
+
staticValue: {
|
|
169
|
+
type: StringConstructor;
|
|
170
|
+
default: string;
|
|
171
|
+
};
|
|
172
|
+
staticValuePosition: {
|
|
173
|
+
type: import("vue").PropType<import("@/components/input-field").BentoInputFieldStaticValuePosition>;
|
|
174
|
+
default: import("@/components/input-field").BentoInputFieldStaticValuePosition;
|
|
175
|
+
};
|
|
176
|
+
type: {
|
|
177
|
+
type: import("vue").PropType<BentoInputFieldType>;
|
|
178
|
+
default: BentoInputFieldType;
|
|
179
|
+
};
|
|
180
|
+
value: {
|
|
181
|
+
type: StringConstructor;
|
|
182
|
+
default: string;
|
|
183
|
+
};
|
|
184
|
+
variant: {
|
|
185
|
+
type: import("vue").PropType<import("@/components/input-field").BentoInputFieldVariant>;
|
|
186
|
+
default: import("@/components/input-field").BentoInputFieldVariant;
|
|
187
|
+
};
|
|
188
|
+
}>>>;
|
|
17
189
|
onClearSearch: () => void;
|
|
18
190
|
onInputEvent: () => void;
|
|
19
191
|
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<{
|
|
192
|
+
}, {}, {}, {}, import("vue/types/v3-component-options").ComponentOptionsMixin, import("vue/types/v3-component-options").ComponentOptionsMixin, ("input" | "clear" | "escape-pressed")[], string, Readonly<import("vue").ExtractPropTypes<{
|
|
21
193
|
ariaLabel: {
|
|
22
194
|
type: StringConstructor;
|
|
23
195
|
required: true;
|