@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,55 +1,40 @@
|
|
|
1
|
-
import {
|
|
2
|
-
import { BentoAvatarColor, BentoAvatarVariant } from './avatar.types';
|
|
1
|
+
import { BentoAvatarImageColor, BentoAvatarImageVariant } from '@/components/avatar-image';
|
|
3
2
|
import { BentoTypographyElement, BentoTypographyVariant } from '@/components/typography';
|
|
4
3
|
declare const _default: import("vue").DefineComponent<{
|
|
5
|
-
|
|
6
|
-
type:
|
|
7
|
-
default:
|
|
4
|
+
iconOnly: {
|
|
5
|
+
type: BooleanConstructor;
|
|
6
|
+
default: boolean;
|
|
8
7
|
};
|
|
9
8
|
username: {
|
|
10
9
|
type: StringConstructor;
|
|
11
|
-
|
|
10
|
+
required: true;
|
|
12
11
|
};
|
|
13
|
-
|
|
14
|
-
type:
|
|
15
|
-
default:
|
|
16
|
-
validator: (value: BentoAvatarVariant) => boolean;
|
|
17
|
-
};
|
|
18
|
-
color: {
|
|
19
|
-
type: PropType<BentoAvatarColor>;
|
|
20
|
-
default: BentoAvatarColor;
|
|
21
|
-
validator: (value: BentoAvatarColor) => boolean;
|
|
12
|
+
src: {
|
|
13
|
+
type: StringConstructor;
|
|
14
|
+
default: any;
|
|
22
15
|
};
|
|
23
16
|
}, {
|
|
17
|
+
BentoAvatarImageVariant: typeof BentoAvatarImageVariant;
|
|
24
18
|
BentoTypographyElement: typeof BentoTypographyElement;
|
|
25
19
|
BentoTypographyVariant: typeof BentoTypographyVariant;
|
|
26
|
-
|
|
27
|
-
|
|
28
|
-
|
|
29
|
-
|
|
30
|
-
|
|
31
|
-
|
|
32
|
-
|
|
33
|
-
default: any;
|
|
20
|
+
computedAriaLabel: import("vue").ComputedRef<string>;
|
|
21
|
+
computedUsername: import("vue").ComputedRef<string>;
|
|
22
|
+
avatarColor: import("vue").ComputedRef<BentoAvatarImageColor>;
|
|
23
|
+
}, {}, {}, {}, import("vue/types/v3-component-options.js").ComponentOptionsMixin, import("vue/types/v3-component-options.js").ComponentOptionsMixin, {}, string, Readonly<import("vue").ExtractPropTypes<{
|
|
24
|
+
iconOnly: {
|
|
25
|
+
type: BooleanConstructor;
|
|
26
|
+
default: boolean;
|
|
34
27
|
};
|
|
35
28
|
username: {
|
|
36
29
|
type: StringConstructor;
|
|
37
|
-
|
|
30
|
+
required: true;
|
|
38
31
|
};
|
|
39
|
-
|
|
40
|
-
type:
|
|
41
|
-
default:
|
|
42
|
-
validator: (value: BentoAvatarVariant) => boolean;
|
|
43
|
-
};
|
|
44
|
-
color: {
|
|
45
|
-
type: PropType<BentoAvatarColor>;
|
|
46
|
-
default: BentoAvatarColor;
|
|
47
|
-
validator: (value: BentoAvatarColor) => boolean;
|
|
32
|
+
src: {
|
|
33
|
+
type: StringConstructor;
|
|
34
|
+
default: any;
|
|
48
35
|
};
|
|
49
36
|
}>>, {
|
|
50
|
-
color: BentoAvatarColor;
|
|
51
37
|
src: string;
|
|
52
|
-
|
|
53
|
-
username: string;
|
|
38
|
+
iconOnly: boolean;
|
|
54
39
|
}>;
|
|
55
40
|
export default _default;
|
|
@@ -1,2 +1 @@
|
|
|
1
|
-
export { default as
|
|
2
|
-
export * from './avatar.types';
|
|
1
|
+
export { default as BentoAvatar } from './avatar.vue';
|
package/dist/@types/components/{avatar/avatar.types.d.ts → avatar-image/avatar-image.types.d.ts}
RENAMED
|
@@ -1,8 +1,8 @@
|
|
|
1
|
-
export declare enum
|
|
1
|
+
export declare enum BentoAvatarImageVariant {
|
|
2
2
|
LARGE = "large",
|
|
3
3
|
SMALL = "small"
|
|
4
4
|
}
|
|
5
|
-
export declare enum
|
|
5
|
+
export declare enum BentoAvatarImageColor {
|
|
6
6
|
BLUE = "blue",
|
|
7
7
|
GREEN = "green",
|
|
8
8
|
RED = "red",
|
|
@@ -0,0 +1,55 @@
|
|
|
1
|
+
import { PropType } from 'vue';
|
|
2
|
+
import { BentoAvatarImageColor, BentoAvatarImageVariant } from './avatar-image.types';
|
|
3
|
+
import { BentoTypographyElement, BentoTypographyVariant } from '@/components/typography';
|
|
4
|
+
declare const _default: import("vue").DefineComponent<{
|
|
5
|
+
src: {
|
|
6
|
+
type: StringConstructor;
|
|
7
|
+
default: any;
|
|
8
|
+
};
|
|
9
|
+
username: {
|
|
10
|
+
type: StringConstructor;
|
|
11
|
+
default: any;
|
|
12
|
+
};
|
|
13
|
+
variant: {
|
|
14
|
+
type: PropType<BentoAvatarImageVariant>;
|
|
15
|
+
default: BentoAvatarImageVariant;
|
|
16
|
+
validator: (value: BentoAvatarImageVariant) => boolean;
|
|
17
|
+
};
|
|
18
|
+
color: {
|
|
19
|
+
type: PropType<BentoAvatarImageColor>;
|
|
20
|
+
default: BentoAvatarImageColor;
|
|
21
|
+
validator: (value: BentoAvatarImageColor) => boolean;
|
|
22
|
+
};
|
|
23
|
+
}, {
|
|
24
|
+
BentoTypographyElement: typeof BentoTypographyElement;
|
|
25
|
+
BentoTypographyVariant: typeof BentoTypographyVariant;
|
|
26
|
+
conditionalClasses: import("vue").ComputedRef<{
|
|
27
|
+
[x: string]: boolean | BentoAvatarImageColor;
|
|
28
|
+
}>;
|
|
29
|
+
initials: import("vue").ComputedRef<string>;
|
|
30
|
+
}, {}, {}, {}, import("vue/types/v3-component-options").ComponentOptionsMixin, import("vue/types/v3-component-options").ComponentOptionsMixin, {}, string, Readonly<import("vue").ExtractPropTypes<{
|
|
31
|
+
src: {
|
|
32
|
+
type: StringConstructor;
|
|
33
|
+
default: any;
|
|
34
|
+
};
|
|
35
|
+
username: {
|
|
36
|
+
type: StringConstructor;
|
|
37
|
+
default: any;
|
|
38
|
+
};
|
|
39
|
+
variant: {
|
|
40
|
+
type: PropType<BentoAvatarImageVariant>;
|
|
41
|
+
default: BentoAvatarImageVariant;
|
|
42
|
+
validator: (value: BentoAvatarImageVariant) => boolean;
|
|
43
|
+
};
|
|
44
|
+
color: {
|
|
45
|
+
type: PropType<BentoAvatarImageColor>;
|
|
46
|
+
default: BentoAvatarImageColor;
|
|
47
|
+
validator: (value: BentoAvatarImageColor) => boolean;
|
|
48
|
+
};
|
|
49
|
+
}>>, {
|
|
50
|
+
color: BentoAvatarImageColor;
|
|
51
|
+
src: string;
|
|
52
|
+
variant: BentoAvatarImageVariant;
|
|
53
|
+
username: string;
|
|
54
|
+
}>;
|
|
55
|
+
export default _default;
|
|
@@ -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,6 +138,8 @@ 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;
|
|
@@ -155,6 +165,7 @@ declare const _default: import("vue").DefineComponent<{
|
|
|
155
165
|
conditionalPaginationClasses: import("vue").ComputedRef<{
|
|
156
166
|
'b-data-grid__pagination--padding-left-unset': boolean;
|
|
157
167
|
'b-data-grid__pagination--padding-right-unset': boolean;
|
|
168
|
+
'b-data-grid__pagination--sticky': boolean;
|
|
158
169
|
}>;
|
|
159
170
|
onColumnWidthOverride: (newColumnWidthOverridesLookup: import("./data-grid.types").BentoColumnWidthOverridesLookup) => void;
|
|
160
171
|
onColumnResized: (resizeEvent: {
|
|
@@ -172,6 +183,7 @@ declare const _default: import("vue").DefineComponent<{
|
|
|
172
183
|
DATAGRID_SELECT_FIELD_NAME: string;
|
|
173
184
|
compactView: import("vue").Ref<boolean>;
|
|
174
185
|
onConfigSettingsUpdate: (isCompactView: boolean) => boolean;
|
|
186
|
+
onColumnVisibiltyChange: (columnIndexes: string[]) => void;
|
|
175
187
|
BentoDatagridSortDirection: typeof BentoDatagridSortDirection;
|
|
176
188
|
BentoTypographyElement: typeof BentoTypographyElement;
|
|
177
189
|
BentoTypographyVariant: typeof BentoTypographyVariant;
|
|
@@ -186,6 +198,10 @@ declare const _default: import("vue").DefineComponent<{
|
|
|
186
198
|
type: PropType<BentoColumn[]>;
|
|
187
199
|
required: true;
|
|
188
200
|
};
|
|
201
|
+
columnPanel: {
|
|
202
|
+
type: BooleanConstructor;
|
|
203
|
+
default: boolean;
|
|
204
|
+
};
|
|
189
205
|
data: {
|
|
190
206
|
type: PropType<BentoDatagridData>;
|
|
191
207
|
required: true;
|
|
@@ -279,6 +295,10 @@ declare const _default: import("vue").DefineComponent<{
|
|
|
279
295
|
}>>>>;
|
|
280
296
|
default: any;
|
|
281
297
|
};
|
|
298
|
+
stickyPagination: {
|
|
299
|
+
type: BooleanConstructor;
|
|
300
|
+
default: boolean;
|
|
301
|
+
};
|
|
282
302
|
selectable: {
|
|
283
303
|
type: BooleanConstructor;
|
|
284
304
|
default: boolean;
|
|
@@ -298,9 +318,11 @@ declare const _default: import("vue").DefineComponent<{
|
|
|
298
318
|
filters: import("../filter-bar").BentoFilterBarModel;
|
|
299
319
|
hasResizableColumns: boolean;
|
|
300
320
|
sortBy: BentoDatagridSortByColumn[];
|
|
321
|
+
columnPanel: boolean;
|
|
301
322
|
getDataItemId: BentoDatagridGetDataItemIdFn;
|
|
302
323
|
isDataItemDisabled: BentoDatagridIsDataItemDisabledFn;
|
|
303
324
|
pagination: any;
|
|
325
|
+
stickyPagination: boolean;
|
|
304
326
|
selectable: boolean;
|
|
305
327
|
selection: BentoDatagridDataItemId[];
|
|
306
328
|
}>;
|
|
@@ -47,10 +47,6 @@ declare const _default: import("vue").DefineComponent<{
|
|
|
47
47
|
type: BooleanConstructor;
|
|
48
48
|
default: boolean;
|
|
49
49
|
};
|
|
50
|
-
placeholder: {
|
|
51
|
-
type: StringConstructor;
|
|
52
|
-
default: any;
|
|
53
|
-
};
|
|
54
50
|
value: {
|
|
55
51
|
type: StringConstructor;
|
|
56
52
|
default: string;
|
|
@@ -61,8 +57,6 @@ declare const _default: import("vue").DefineComponent<{
|
|
|
61
57
|
conditionalClasses: import("vue").ComputedRef<{
|
|
62
58
|
'b-dropdown-base-textbox--disabled': boolean;
|
|
63
59
|
}>;
|
|
64
|
-
computedDisplayValue: import("vue").ComputedRef<string>;
|
|
65
|
-
shouldShowPlaceholder: import("vue").ComputedRef<boolean>;
|
|
66
60
|
textboxId: string;
|
|
67
61
|
textbox: any;
|
|
68
62
|
isFiltering: import("vue").ComputedRef<boolean>;
|
|
@@ -71,6 +65,7 @@ declare const _default: import("vue").DefineComponent<{
|
|
|
71
65
|
onToggleDropdown: () => void;
|
|
72
66
|
onClearSearch: () => void;
|
|
73
67
|
onInputEvent: (event: Event) => void;
|
|
68
|
+
onSpaceBar: () => void;
|
|
74
69
|
hasSlot: (name: string) => boolean;
|
|
75
70
|
}, {}, {}, {}, 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<{
|
|
76
71
|
additionalItemsSelected: {
|
|
@@ -117,10 +112,6 @@ declare const _default: import("vue").DefineComponent<{
|
|
|
117
112
|
type: BooleanConstructor;
|
|
118
113
|
default: boolean;
|
|
119
114
|
};
|
|
120
|
-
placeholder: {
|
|
121
|
-
type: StringConstructor;
|
|
122
|
-
default: any;
|
|
123
|
-
};
|
|
124
115
|
value: {
|
|
125
116
|
type: StringConstructor;
|
|
126
117
|
default: string;
|
|
@@ -130,7 +121,6 @@ declare const _default: import("vue").DefineComponent<{
|
|
|
130
121
|
value: string;
|
|
131
122
|
ariaLabel: string;
|
|
132
123
|
disabled: boolean;
|
|
133
|
-
placeholder: string;
|
|
134
124
|
debounceTime: number;
|
|
135
125
|
additionalItemsSelected: number;
|
|
136
126
|
ariaLabelledby: string;
|
|
@@ -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;
|
|
@@ -105,10 +101,6 @@ declare const _default: import("vue").DefineComponent<{
|
|
|
105
101
|
type: BooleanConstructor;
|
|
106
102
|
default: boolean;
|
|
107
103
|
};
|
|
108
|
-
placeholder: {
|
|
109
|
-
type: StringConstructor;
|
|
110
|
-
default: any;
|
|
111
|
-
};
|
|
112
104
|
value: {
|
|
113
105
|
type: StringConstructor;
|
|
114
106
|
default: string;
|
|
@@ -118,7 +110,6 @@ declare const _default: import("vue").DefineComponent<{
|
|
|
118
110
|
value: string;
|
|
119
111
|
ariaLabel: string;
|
|
120
112
|
disabled: boolean;
|
|
121
|
-
placeholder: string;
|
|
122
113
|
debounceTime: number;
|
|
123
114
|
additionalItemsSelected: number;
|
|
124
115
|
ariaLabelledby: string;
|
|
@@ -0,0 +1,42 @@
|
|
|
1
|
+
import { PropType } from 'vue';
|
|
2
|
+
import { BentoTypographyElement } from '@/components/typography';
|
|
3
|
+
import type { BentoDropdownIsOptionDisabled, BentoDropdownOptions, BentoDropdownSelectedValue, BentoDropdownValue } from '../../../../dropdown.types';
|
|
4
|
+
declare const _default: import("vue").DefineComponent<{
|
|
5
|
+
isOptionDisabled: {
|
|
6
|
+
type: PropType<BentoDropdownIsOptionDisabled>;
|
|
7
|
+
default: () => false;
|
|
8
|
+
};
|
|
9
|
+
items: {
|
|
10
|
+
type: PropType<BentoDropdownOptions>;
|
|
11
|
+
required: true;
|
|
12
|
+
};
|
|
13
|
+
selectedValues: {
|
|
14
|
+
type: PropType<BentoDropdownSelectedValue>;
|
|
15
|
+
default: BentoDropdownSelectedValue;
|
|
16
|
+
};
|
|
17
|
+
}, {
|
|
18
|
+
isAllSelected: import("vue").ComputedRef<boolean>;
|
|
19
|
+
isIndeterminate: import("vue").ComputedRef<boolean>;
|
|
20
|
+
selectedItemsList: import("vue").Ref<BentoDropdownValue[]>;
|
|
21
|
+
selectAllCheckboxText: import("vue").ComputedRef<import("vue-i18n").default.TranslateResult>;
|
|
22
|
+
BentoTypographyElement: typeof BentoTypographyElement;
|
|
23
|
+
toggleCheckboxSelection: (value: BentoDropdownValue) => void;
|
|
24
|
+
toggleSelectAll: (selectedValue: boolean) => void;
|
|
25
|
+
}, {}, {}, {}, import("vue/types/v3-component-options").ComponentOptionsMixin, import("vue/types/v3-component-options").ComponentOptionsMixin, "select"[], string, Readonly<import("vue").ExtractPropTypes<{
|
|
26
|
+
isOptionDisabled: {
|
|
27
|
+
type: PropType<BentoDropdownIsOptionDisabled>;
|
|
28
|
+
default: () => false;
|
|
29
|
+
};
|
|
30
|
+
items: {
|
|
31
|
+
type: PropType<BentoDropdownOptions>;
|
|
32
|
+
required: true;
|
|
33
|
+
};
|
|
34
|
+
selectedValues: {
|
|
35
|
+
type: PropType<BentoDropdownSelectedValue>;
|
|
36
|
+
default: BentoDropdownSelectedValue;
|
|
37
|
+
};
|
|
38
|
+
}>>, {
|
|
39
|
+
isOptionDisabled: BentoDropdownIsOptionDisabled;
|
|
40
|
+
selectedValues: BentoDropdownSelectedValue;
|
|
41
|
+
}>;
|
|
42
|
+
export default _default;
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
export { default as BentoDropdownMultiSelect } from './dropdown-multi-select.vue';
|
|
@@ -0,0 +1,29 @@
|
|
|
1
|
+
declare const _default: import("vue").DefineComponent<{
|
|
2
|
+
disabled: {
|
|
3
|
+
type: BooleanConstructor;
|
|
4
|
+
default: boolean;
|
|
5
|
+
};
|
|
6
|
+
selected: {
|
|
7
|
+
type: BooleanConstructor;
|
|
8
|
+
default: boolean;
|
|
9
|
+
};
|
|
10
|
+
}, {
|
|
11
|
+
conditionalClasses: import("vue").ComputedRef<{
|
|
12
|
+
'b-dropdown-option--disabled': boolean;
|
|
13
|
+
'b-dropdown-option--selected': boolean;
|
|
14
|
+
}>;
|
|
15
|
+
onClick: (e: Event) => void;
|
|
16
|
+
}, {}, {}, {}, import("vue/types/v3-component-options.js").ComponentOptionsMixin, import("vue/types/v3-component-options.js").ComponentOptionsMixin, ("click" | "escape-pressed" | "enter-pressed")[], string, Readonly<import("vue").ExtractPropTypes<{
|
|
17
|
+
disabled: {
|
|
18
|
+
type: BooleanConstructor;
|
|
19
|
+
default: boolean;
|
|
20
|
+
};
|
|
21
|
+
selected: {
|
|
22
|
+
type: BooleanConstructor;
|
|
23
|
+
default: boolean;
|
|
24
|
+
};
|
|
25
|
+
}>>, {
|
|
26
|
+
disabled: boolean;
|
|
27
|
+
selected: boolean;
|
|
28
|
+
}>;
|
|
29
|
+
export default _default;
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
export { default as BentoDropdownOption } from './dropdown-option.vue';
|