@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
|
@@ -5,9 +5,20 @@ export interface BentoButtonActionObject {
|
|
|
5
5
|
icon?: VueNodeElement;
|
|
6
6
|
}
|
|
7
7
|
export type BentoButtonActionsList = Array<BentoButtonActionObject>;
|
|
8
|
-
export declare enum
|
|
8
|
+
export declare enum BentoButtonActionsLayoutBasic {
|
|
9
9
|
BUTTONS_END = "buttons-end",
|
|
10
10
|
FILL_CONTAINER = "fill-container",
|
|
11
11
|
SPACE_BETWEEN = "space-between",
|
|
12
12
|
VERTICAL_STACK = "vertical-stack"
|
|
13
13
|
}
|
|
14
|
+
export declare enum BentoButtonActionsLayoutExtended {
|
|
15
|
+
BUTTONS_START = "buttons-start"
|
|
16
|
+
}
|
|
17
|
+
export declare const BentoButtonActionsLayout: {
|
|
18
|
+
BUTTONS_START: BentoButtonActionsLayoutExtended.BUTTONS_START;
|
|
19
|
+
BUTTONS_END: BentoButtonActionsLayoutBasic.BUTTONS_END;
|
|
20
|
+
FILL_CONTAINER: BentoButtonActionsLayoutBasic.FILL_CONTAINER;
|
|
21
|
+
SPACE_BETWEEN: BentoButtonActionsLayoutBasic.SPACE_BETWEEN;
|
|
22
|
+
VERTICAL_STACK: BentoButtonActionsLayoutBasic.VERTICAL_STACK;
|
|
23
|
+
};
|
|
24
|
+
export type BentoButtonActionsLayout = BentoButtonActionsLayoutBasic | BentoButtonActionsLayoutExtended;
|
|
@@ -8,7 +8,7 @@ declare const _default: import("vue").DefineComponent<{
|
|
|
8
8
|
};
|
|
9
9
|
layout: {
|
|
10
10
|
type: PropType<BentoButtonActionsLayout>;
|
|
11
|
-
default:
|
|
11
|
+
default: import("@/components/button").BentoButtonActionsLayoutBasic;
|
|
12
12
|
validator: (layout: BentoButtonActionsLayout) => boolean;
|
|
13
13
|
};
|
|
14
14
|
}, {
|
|
@@ -24,7 +24,7 @@ declare const _default: import("vue").DefineComponent<{
|
|
|
24
24
|
};
|
|
25
25
|
layout: {
|
|
26
26
|
type: PropType<BentoButtonActionsLayout>;
|
|
27
|
-
default:
|
|
27
|
+
default: import("@/components/button").BentoButtonActionsLayoutBasic;
|
|
28
28
|
validator: (layout: BentoButtonActionsLayout) => boolean;
|
|
29
29
|
};
|
|
30
30
|
}>>, {
|
|
@@ -1,10 +1,4 @@
|
|
|
1
|
-
export declare enum
|
|
2
|
-
|
|
3
|
-
|
|
4
|
-
}
|
|
5
|
-
export declare enum AdlCardPropClass {
|
|
6
|
-
CLICKABLE = "clickable",
|
|
7
|
-
WITH_FOOTER = "with-footer",
|
|
8
|
-
WITH_IMAGE = "with-image",
|
|
9
|
-
WITH_LEFT_SIDE_IMAGE = "with-left-side-image"
|
|
1
|
+
export declare enum BentoCardBackground {
|
|
2
|
+
PRIMARY = "primary",
|
|
3
|
+
SECONDARY = "secondary"
|
|
10
4
|
}
|
|
@@ -1,42 +1,77 @@
|
|
|
1
1
|
import { PropType } from 'vue';
|
|
2
|
-
import {
|
|
2
|
+
import { BentoTypographyElement, BentoTypographyVariant } from '@/components/typography';
|
|
3
|
+
import { BentoButtonActionsLayout, BentoButtonActionsList } from '@/components/button';
|
|
4
|
+
import { BentoCardBackground } from '@/components/card/card.types';
|
|
3
5
|
declare const _default: import("vue").DefineComponent<{
|
|
4
|
-
|
|
5
|
-
type:
|
|
6
|
-
|
|
6
|
+
background: {
|
|
7
|
+
type: PropType<BentoCardBackground>;
|
|
8
|
+
default: BentoCardBackground;
|
|
7
9
|
};
|
|
8
|
-
|
|
9
|
-
type:
|
|
10
|
+
expandable: {
|
|
11
|
+
type: BooleanConstructor;
|
|
12
|
+
default: boolean;
|
|
13
|
+
};
|
|
14
|
+
disabled: {
|
|
15
|
+
type: BooleanConstructor;
|
|
16
|
+
default: boolean;
|
|
17
|
+
};
|
|
18
|
+
actions: {
|
|
19
|
+
type: PropType<BentoButtonActionsList>;
|
|
10
20
|
default: any;
|
|
11
21
|
};
|
|
12
|
-
|
|
13
|
-
type: PropType<
|
|
14
|
-
default:
|
|
22
|
+
actionsLayout: {
|
|
23
|
+
type: PropType<BentoButtonActionsLayout>;
|
|
24
|
+
default: import("@/components/button").BentoButtonActionsLayoutBasic;
|
|
25
|
+
validator: (value: BentoButtonActionsLayout) => boolean;
|
|
15
26
|
};
|
|
16
27
|
}, {
|
|
17
|
-
|
|
18
|
-
|
|
28
|
+
cardId: string;
|
|
29
|
+
cardConditionalClasses: import("vue").ComputedRef<{
|
|
30
|
+
[x: string]: boolean | BentoCardBackground;
|
|
31
|
+
'b-card--expandable': boolean;
|
|
32
|
+
'b-card--disabled': boolean;
|
|
33
|
+
}>;
|
|
34
|
+
cardBodyConditionalClasses: import("vue").ComputedRef<{
|
|
35
|
+
'b-card__body--expandable': boolean;
|
|
36
|
+
}>;
|
|
37
|
+
cardHeaderConditionalClasses: import("vue").ComputedRef<{
|
|
38
|
+
'b-card__header--with-body': boolean;
|
|
19
39
|
}>;
|
|
20
|
-
|
|
21
|
-
|
|
22
|
-
|
|
23
|
-
|
|
24
|
-
|
|
25
|
-
|
|
26
|
-
|
|
27
|
-
|
|
28
|
-
|
|
29
|
-
|
|
30
|
-
|
|
31
|
-
|
|
40
|
+
showCardBody: import("vue").ComputedRef<boolean>;
|
|
41
|
+
showContent: import("vue").Ref<boolean>;
|
|
42
|
+
tabIndex: import("vue").ComputedRef<0 | -1>;
|
|
43
|
+
onClick: () => void;
|
|
44
|
+
toggleExpansion: () => void;
|
|
45
|
+
hasSlot: (name: string) => boolean;
|
|
46
|
+
BentoTypographyVariant: typeof BentoTypographyVariant;
|
|
47
|
+
BentoTypographyElement: typeof BentoTypographyElement;
|
|
48
|
+
}, {}, {}, {}, import("vue/types/v3-component-options.js").ComponentOptionsMixin, import("vue/types/v3-component-options.js").ComponentOptionsMixin, ("click" | "expanded")[], string, Readonly<import("vue").ExtractPropTypes<{
|
|
49
|
+
background: {
|
|
50
|
+
type: PropType<BentoCardBackground>;
|
|
51
|
+
default: BentoCardBackground;
|
|
52
|
+
};
|
|
53
|
+
expandable: {
|
|
54
|
+
type: BooleanConstructor;
|
|
55
|
+
default: boolean;
|
|
56
|
+
};
|
|
57
|
+
disabled: {
|
|
58
|
+
type: BooleanConstructor;
|
|
59
|
+
default: boolean;
|
|
60
|
+
};
|
|
61
|
+
actions: {
|
|
62
|
+
type: PropType<BentoButtonActionsList>;
|
|
32
63
|
default: any;
|
|
33
64
|
};
|
|
34
|
-
|
|
35
|
-
type: PropType<
|
|
36
|
-
default:
|
|
65
|
+
actionsLayout: {
|
|
66
|
+
type: PropType<BentoButtonActionsLayout>;
|
|
67
|
+
default: import("@/components/button").BentoButtonActionsLayoutBasic;
|
|
68
|
+
validator: (value: BentoButtonActionsLayout) => boolean;
|
|
37
69
|
};
|
|
38
70
|
}>>, {
|
|
39
|
-
|
|
40
|
-
|
|
71
|
+
background: BentoCardBackground;
|
|
72
|
+
disabled: boolean;
|
|
73
|
+
actions: BentoButtonActionsList;
|
|
74
|
+
expandable: boolean;
|
|
75
|
+
actionsLayout: BentoButtonActionsLayout;
|
|
41
76
|
}>;
|
|
42
77
|
export default _default;
|
|
@@ -1,7 +1,13 @@
|
|
|
1
|
+
import { PropType } from 'vue';
|
|
1
2
|
import { BentoButtonVariant } from '../../../button';
|
|
2
3
|
import { BentoTypographyElement, BentoTypographyVariant } from '../../../typography';
|
|
3
4
|
import { AdlLabelPosition } from '../../../../types';
|
|
5
|
+
import { BentoColumn } from '../../data-grid.types';
|
|
4
6
|
declare const _default: import("vue").DefineComponent<{
|
|
7
|
+
columns: {
|
|
8
|
+
type: PropType<BentoColumn[]>;
|
|
9
|
+
required: true;
|
|
10
|
+
};
|
|
5
11
|
condensed: {
|
|
6
12
|
type: BooleanConstructor;
|
|
7
13
|
default: boolean;
|
|
@@ -9,8 +15,19 @@ declare const _default: import("vue").DefineComponent<{
|
|
|
9
15
|
}, {
|
|
10
16
|
configSettingsButtonRef: any;
|
|
11
17
|
isConfigSettingsPanelOpen: import("vue").Ref<boolean>;
|
|
18
|
+
isColumnVisibilityToggleDisabled: (fieldName: string, isMandatory: boolean) => boolean;
|
|
19
|
+
allColumnsVisbilityToggleState: import("vue").Ref<boolean>;
|
|
20
|
+
filteredColumnVisibilityColumns: import("vue").ComputedRef<BentoColumn[]>;
|
|
21
|
+
searchTerm: import("vue").Ref<string>;
|
|
22
|
+
isColumnVisibilityFilterShown: import("vue").Ref<boolean>;
|
|
23
|
+
searchBarRef: any;
|
|
12
24
|
toggleConfigSettingsPanelVisibility: () => void;
|
|
13
25
|
emitCondensedToggle: (isCompactView: boolean) => void;
|
|
26
|
+
isColumnVisible: (fieldName: string) => boolean;
|
|
27
|
+
toggleColumnVisiblity: (fieldName: string) => void;
|
|
28
|
+
toggleAllColumnVisibility: (toggleState: boolean) => void;
|
|
29
|
+
clearAction: () => void;
|
|
30
|
+
toggleColumnFilter: () => void;
|
|
14
31
|
AdlLabelPosition: typeof AdlLabelPosition;
|
|
15
32
|
BentoTypographyElement: typeof BentoTypographyElement;
|
|
16
33
|
BentoTypographyVariant: typeof BentoTypographyVariant;
|
|
@@ -32,7 +49,11 @@ declare const _default: import("vue").DefineComponent<{
|
|
|
32
49
|
BOTTOM: import("../../../popper-container").PopperContainerPositionBasic.BOTTOM;
|
|
33
50
|
LEFT: import("../../../popper-container").PopperContainerPositionBasic.LEFT;
|
|
34
51
|
};
|
|
35
|
-
}, {}, {}, {}, import("vue/types/v3-component-options").ComponentOptionsMixin, import("vue/types/v3-component-options").ComponentOptionsMixin, "config-settings"[], string, Readonly<import("vue").ExtractPropTypes<{
|
|
52
|
+
}, {}, {}, {}, import("vue/types/v3-component-options").ComponentOptionsMixin, import("vue/types/v3-component-options").ComponentOptionsMixin, ("config-settings" | "visible-columns")[], string, Readonly<import("vue").ExtractPropTypes<{
|
|
53
|
+
columns: {
|
|
54
|
+
type: PropType<BentoColumn[]>;
|
|
55
|
+
required: true;
|
|
56
|
+
};
|
|
36
57
|
condensed: {
|
|
37
58
|
type: BooleanConstructor;
|
|
38
59
|
default: boolean;
|
|
@@ -18,6 +18,8 @@ export declare const useCalculateColumnWidth: (newColumns: MaybeRef<BentoColumn[
|
|
|
18
18
|
right?: boolean;
|
|
19
19
|
};
|
|
20
20
|
overflow?: import("../../data-grid.types").BentoColumnOverflow;
|
|
21
|
+
visible?: boolean;
|
|
22
|
+
mandatory?: boolean;
|
|
21
23
|
}[]>;
|
|
22
24
|
gridColumnWidthStyle: import("vue").ComputedRef<{
|
|
23
25
|
gridTemplateColumns: string;
|
|
@@ -1,5 +1,7 @@
|
|
|
1
1
|
import { MaybeRef } from '../../../types';
|
|
2
|
-
|
|
2
|
+
import { BentoColumn } from '../data-grid.types';
|
|
3
|
+
export declare const useConfigSettings: (condensed: MaybeRef<boolean>, columnsRef: MaybeRef<BentoColumn[]>, emit: (event: string, columns: BentoColumn[]) => void) => {
|
|
3
4
|
compactView: import("vue").Ref<boolean>;
|
|
4
5
|
onConfigSettingsUpdate: (isCompactView: boolean) => boolean;
|
|
6
|
+
onColumnVisibiltyChange: (columnIndexes: string[]) => void;
|
|
5
7
|
};
|
|
@@ -10,6 +10,10 @@ declare const _default: import("vue").DefineComponent<{
|
|
|
10
10
|
type: PropType<BentoColumn[]>;
|
|
11
11
|
required: true;
|
|
12
12
|
};
|
|
13
|
+
columnPanel: {
|
|
14
|
+
type: BooleanConstructor;
|
|
15
|
+
default: boolean;
|
|
16
|
+
};
|
|
13
17
|
data: {
|
|
14
18
|
type: PropType<BentoDatagridData>;
|
|
15
19
|
required: true;
|
|
@@ -103,6 +107,10 @@ declare const _default: import("vue").DefineComponent<{
|
|
|
103
107
|
}>>>>;
|
|
104
108
|
default: any;
|
|
105
109
|
};
|
|
110
|
+
stickyPagination: {
|
|
111
|
+
type: BooleanConstructor;
|
|
112
|
+
default: boolean;
|
|
113
|
+
};
|
|
106
114
|
selectable: {
|
|
107
115
|
type: BooleanConstructor;
|
|
108
116
|
default: boolean;
|
|
@@ -130,9 +138,12 @@ declare const _default: import("vue").DefineComponent<{
|
|
|
130
138
|
right?: boolean;
|
|
131
139
|
};
|
|
132
140
|
overflow?: BentoColumnOverflow;
|
|
141
|
+
visible?: boolean;
|
|
142
|
+
mandatory?: boolean;
|
|
133
143
|
}[]>;
|
|
134
144
|
ariaGridHeaderText: import("vue").ComputedRef<string>;
|
|
135
145
|
conditionalTitleAttribute: (column: BentoColumn, content: unknown) => string;
|
|
146
|
+
getRowData: (rowData: unknown) => unknown;
|
|
136
147
|
gridColumnWidthStyle: import("vue").ComputedRef<{
|
|
137
148
|
gridTemplateColumns: string;
|
|
138
149
|
gridColumnEnd: number;
|
|
@@ -154,6 +165,7 @@ declare const _default: import("vue").DefineComponent<{
|
|
|
154
165
|
conditionalPaginationClasses: import("vue").ComputedRef<{
|
|
155
166
|
'b-data-grid__pagination--padding-left-unset': boolean;
|
|
156
167
|
'b-data-grid__pagination--padding-right-unset': boolean;
|
|
168
|
+
'b-data-grid__pagination--sticky': boolean;
|
|
157
169
|
}>;
|
|
158
170
|
onColumnWidthOverride: (newColumnWidthOverridesLookup: import("./data-grid.types").BentoColumnWidthOverridesLookup) => void;
|
|
159
171
|
onColumnResized: (resizeEvent: {
|
|
@@ -171,6 +183,7 @@ declare const _default: import("vue").DefineComponent<{
|
|
|
171
183
|
DATAGRID_SELECT_FIELD_NAME: string;
|
|
172
184
|
compactView: import("vue").Ref<boolean>;
|
|
173
185
|
onConfigSettingsUpdate: (isCompactView: boolean) => boolean;
|
|
186
|
+
onColumnVisibiltyChange: (columnIndexes: string[]) => void;
|
|
174
187
|
BentoDatagridSortDirection: typeof BentoDatagridSortDirection;
|
|
175
188
|
BentoTypographyElement: typeof BentoTypographyElement;
|
|
176
189
|
BentoTypographyVariant: typeof BentoTypographyVariant;
|
|
@@ -185,6 +198,10 @@ declare const _default: import("vue").DefineComponent<{
|
|
|
185
198
|
type: PropType<BentoColumn[]>;
|
|
186
199
|
required: true;
|
|
187
200
|
};
|
|
201
|
+
columnPanel: {
|
|
202
|
+
type: BooleanConstructor;
|
|
203
|
+
default: boolean;
|
|
204
|
+
};
|
|
188
205
|
data: {
|
|
189
206
|
type: PropType<BentoDatagridData>;
|
|
190
207
|
required: true;
|
|
@@ -278,6 +295,10 @@ declare const _default: import("vue").DefineComponent<{
|
|
|
278
295
|
}>>>>;
|
|
279
296
|
default: any;
|
|
280
297
|
};
|
|
298
|
+
stickyPagination: {
|
|
299
|
+
type: BooleanConstructor;
|
|
300
|
+
default: boolean;
|
|
301
|
+
};
|
|
281
302
|
selectable: {
|
|
282
303
|
type: BooleanConstructor;
|
|
283
304
|
default: boolean;
|
|
@@ -297,9 +318,11 @@ declare const _default: import("vue").DefineComponent<{
|
|
|
297
318
|
filters: import("../filter-bar").BentoFilterBarModel;
|
|
298
319
|
hasResizableColumns: boolean;
|
|
299
320
|
sortBy: BentoDatagridSortByColumn[];
|
|
321
|
+
columnPanel: boolean;
|
|
300
322
|
getDataItemId: BentoDatagridGetDataItemIdFn;
|
|
301
323
|
isDataItemDisabled: BentoDatagridIsDataItemDisabledFn;
|
|
302
324
|
pagination: any;
|
|
325
|
+
stickyPagination: boolean;
|
|
303
326
|
selectable: boolean;
|
|
304
327
|
selection: BentoDatagridDataItemId[];
|
|
305
328
|
}>;
|
|
@@ -0,0 +1,53 @@
|
|
|
1
|
+
import { PropType } from 'vue';
|
|
2
|
+
import { Booleanish } from '../../../../types';
|
|
3
|
+
export declare const DropdownBaseTextboxProps: {
|
|
4
|
+
additionalItemsSelected: {
|
|
5
|
+
type: NumberConstructor;
|
|
6
|
+
default: number;
|
|
7
|
+
};
|
|
8
|
+
dynamicFiltering: {
|
|
9
|
+
type: BooleanConstructor;
|
|
10
|
+
default: boolean;
|
|
11
|
+
};
|
|
12
|
+
ariaControls: {
|
|
13
|
+
type: StringConstructor;
|
|
14
|
+
required: boolean;
|
|
15
|
+
};
|
|
16
|
+
ariaExpanded: {
|
|
17
|
+
type: PropType<Booleanish>;
|
|
18
|
+
required: boolean;
|
|
19
|
+
};
|
|
20
|
+
ariaLabelledby: {
|
|
21
|
+
type: StringConstructor;
|
|
22
|
+
default: any;
|
|
23
|
+
};
|
|
24
|
+
disabled: {
|
|
25
|
+
type: BooleanConstructor;
|
|
26
|
+
default: boolean;
|
|
27
|
+
};
|
|
28
|
+
isInvalid: {
|
|
29
|
+
type: BooleanConstructor;
|
|
30
|
+
default: boolean;
|
|
31
|
+
};
|
|
32
|
+
displayValue: {
|
|
33
|
+
type: StringConstructor;
|
|
34
|
+
default: any;
|
|
35
|
+
};
|
|
36
|
+
open: {
|
|
37
|
+
type: BooleanConstructor;
|
|
38
|
+
default: boolean;
|
|
39
|
+
};
|
|
40
|
+
placeholder: {
|
|
41
|
+
type: StringConstructor;
|
|
42
|
+
default: any;
|
|
43
|
+
};
|
|
44
|
+
value: {
|
|
45
|
+
type: StringConstructor;
|
|
46
|
+
default: string;
|
|
47
|
+
};
|
|
48
|
+
debounceTime: {
|
|
49
|
+
type: NumberConstructor;
|
|
50
|
+
default: number;
|
|
51
|
+
};
|
|
52
|
+
};
|
|
53
|
+
export default DropdownBaseTextboxProps;
|
|
@@ -1,26 +1,33 @@
|
|
|
1
|
+
import { PropType } from 'vue';
|
|
1
2
|
import { BentoTypographyElement, BentoTypographyVariant } from '@/components/typography';
|
|
3
|
+
import { Booleanish } from '@/types';
|
|
4
|
+
import type { HTMLAttributes } from 'vue/types/jsx';
|
|
2
5
|
declare const _default: import("vue").DefineComponent<{
|
|
3
|
-
|
|
4
|
-
type:
|
|
5
|
-
default:
|
|
6
|
+
additionalItemsSelected: {
|
|
7
|
+
type: NumberConstructor;
|
|
8
|
+
default: number;
|
|
6
9
|
};
|
|
7
10
|
ariaControls: {
|
|
8
11
|
type: StringConstructor;
|
|
9
12
|
required: true;
|
|
10
13
|
};
|
|
11
14
|
ariaExpanded: {
|
|
12
|
-
type:
|
|
15
|
+
type: PropType<Booleanish>;
|
|
13
16
|
required: true;
|
|
14
17
|
};
|
|
18
|
+
ariaLabel: {
|
|
19
|
+
type: StringConstructor;
|
|
20
|
+
default: any;
|
|
21
|
+
};
|
|
15
22
|
ariaLabelledby: {
|
|
16
23
|
type: StringConstructor;
|
|
17
24
|
default: any;
|
|
18
25
|
};
|
|
19
|
-
|
|
20
|
-
type:
|
|
21
|
-
default:
|
|
26
|
+
debounceTime: {
|
|
27
|
+
type: NumberConstructor;
|
|
28
|
+
default: number;
|
|
22
29
|
};
|
|
23
|
-
|
|
30
|
+
disabled: {
|
|
24
31
|
type: BooleanConstructor;
|
|
25
32
|
default: boolean;
|
|
26
33
|
};
|
|
@@ -28,6 +35,14 @@ declare const _default: import("vue").DefineComponent<{
|
|
|
28
35
|
type: StringConstructor;
|
|
29
36
|
default: any;
|
|
30
37
|
};
|
|
38
|
+
dynamicFiltering: {
|
|
39
|
+
type: BooleanConstructor;
|
|
40
|
+
default: boolean;
|
|
41
|
+
};
|
|
42
|
+
isInvalid: {
|
|
43
|
+
type: BooleanConstructor;
|
|
44
|
+
default: boolean;
|
|
45
|
+
};
|
|
31
46
|
open: {
|
|
32
47
|
type: BooleanConstructor;
|
|
33
48
|
default: boolean;
|
|
@@ -36,6 +51,10 @@ declare const _default: import("vue").DefineComponent<{
|
|
|
36
51
|
type: StringConstructor;
|
|
37
52
|
default: any;
|
|
38
53
|
};
|
|
54
|
+
value: {
|
|
55
|
+
type: StringConstructor;
|
|
56
|
+
default: string;
|
|
57
|
+
};
|
|
39
58
|
}, {
|
|
40
59
|
BentoTypographyElement: typeof BentoTypographyElement;
|
|
41
60
|
BentoTypographyVariant: typeof BentoTypographyVariant;
|
|
@@ -43,36 +62,43 @@ declare const _default: import("vue").DefineComponent<{
|
|
|
43
62
|
'b-dropdown-base-textbox--disabled': boolean;
|
|
44
63
|
}>;
|
|
45
64
|
computedDisplayValue: import("vue").ComputedRef<string>;
|
|
46
|
-
computedDropdownTextbox: import("vue").ComputedRef<"div" | "input">;
|
|
47
|
-
isInputField: import("vue").ComputedRef<boolean>;
|
|
48
65
|
shouldShowPlaceholder: import("vue").ComputedRef<boolean>;
|
|
49
66
|
textboxId: string;
|
|
50
67
|
textbox: any;
|
|
68
|
+
isFiltering: import("vue").ComputedRef<boolean>;
|
|
69
|
+
ariaAttributes: import("vue").ComputedRef<HTMLAttributes>;
|
|
51
70
|
onCloseDropdown: () => void;
|
|
52
71
|
onToggleDropdown: () => void;
|
|
72
|
+
onClearSearch: () => void;
|
|
73
|
+
onInputEvent: (event: Event) => void;
|
|
74
|
+
onSpaceBar: () => void;
|
|
53
75
|
hasSlot: (name: string) => boolean;
|
|
54
|
-
}, {}, {}, {}, import("vue/types/v3-component-options.js").ComponentOptionsMixin, import("vue/types/v3-component-options.js").ComponentOptionsMixin, ("open" | "close")[], string, Readonly<import("vue").ExtractPropTypes<{
|
|
55
|
-
|
|
56
|
-
type:
|
|
57
|
-
default:
|
|
76
|
+
}, {}, {}, {}, import("vue/types/v3-component-options.js").ComponentOptionsMixin, import("vue/types/v3-component-options.js").ComponentOptionsMixin, ("input" | "open" | "clear" | "close")[], string, Readonly<import("vue").ExtractPropTypes<{
|
|
77
|
+
additionalItemsSelected: {
|
|
78
|
+
type: NumberConstructor;
|
|
79
|
+
default: number;
|
|
58
80
|
};
|
|
59
81
|
ariaControls: {
|
|
60
82
|
type: StringConstructor;
|
|
61
83
|
required: true;
|
|
62
84
|
};
|
|
63
85
|
ariaExpanded: {
|
|
64
|
-
type:
|
|
86
|
+
type: PropType<Booleanish>;
|
|
65
87
|
required: true;
|
|
66
88
|
};
|
|
89
|
+
ariaLabel: {
|
|
90
|
+
type: StringConstructor;
|
|
91
|
+
default: any;
|
|
92
|
+
};
|
|
67
93
|
ariaLabelledby: {
|
|
68
94
|
type: StringConstructor;
|
|
69
95
|
default: any;
|
|
70
96
|
};
|
|
71
|
-
|
|
72
|
-
type:
|
|
73
|
-
default:
|
|
97
|
+
debounceTime: {
|
|
98
|
+
type: NumberConstructor;
|
|
99
|
+
default: number;
|
|
74
100
|
};
|
|
75
|
-
|
|
101
|
+
disabled: {
|
|
76
102
|
type: BooleanConstructor;
|
|
77
103
|
default: boolean;
|
|
78
104
|
};
|
|
@@ -80,6 +106,14 @@ declare const _default: import("vue").DefineComponent<{
|
|
|
80
106
|
type: StringConstructor;
|
|
81
107
|
default: any;
|
|
82
108
|
};
|
|
109
|
+
dynamicFiltering: {
|
|
110
|
+
type: BooleanConstructor;
|
|
111
|
+
default: boolean;
|
|
112
|
+
};
|
|
113
|
+
isInvalid: {
|
|
114
|
+
type: BooleanConstructor;
|
|
115
|
+
default: boolean;
|
|
116
|
+
};
|
|
83
117
|
open: {
|
|
84
118
|
type: BooleanConstructor;
|
|
85
119
|
default: boolean;
|
|
@@ -88,13 +122,21 @@ declare const _default: import("vue").DefineComponent<{
|
|
|
88
122
|
type: StringConstructor;
|
|
89
123
|
default: any;
|
|
90
124
|
};
|
|
125
|
+
value: {
|
|
126
|
+
type: StringConstructor;
|
|
127
|
+
default: string;
|
|
128
|
+
};
|
|
91
129
|
}>>, {
|
|
92
130
|
open: boolean;
|
|
131
|
+
value: string;
|
|
132
|
+
ariaLabel: string;
|
|
93
133
|
disabled: boolean;
|
|
94
134
|
placeholder: string;
|
|
95
|
-
|
|
96
|
-
|
|
135
|
+
debounceTime: number;
|
|
136
|
+
additionalItemsSelected: number;
|
|
97
137
|
ariaLabelledby: string;
|
|
138
|
+
displayValue: string;
|
|
139
|
+
dynamicFiltering: boolean;
|
|
98
140
|
isInvalid: boolean;
|
|
99
141
|
}>;
|
|
100
142
|
export default _default;
|