@adyen/bento-vue2 0.7.1 → 0.8.0
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/divider/divider.vue.d.ts +6 -0
- package/dist/@types/components/divider/index.d.ts +1 -0
- package/dist/@types/components/internal/copy/copy.vue.d.ts +19 -0
- package/dist/@types/components/internal/copy/index.d.ts +1 -0
- package/dist/@types/components/internal/index.d.ts +1 -0
- package/dist/@types/components/popover/popover.vue.d.ts +9 -0
- package/dist/@types/components/structured-list/components/structered-list-item/structured-list-item.vue.d.ts +46 -0
- package/dist/@types/components/structured-list/index.d.ts +2 -0
- package/dist/@types/components/structured-list/structured-list.vue.d.ts +2 -0
- package/dist/@types/components/summary-grid/components/grid-layout/grid-layout.types.d.ts +5 -7
- package/dist/@types/components/summary-grid/components/grid-layout/grid-layout.vue.d.ts +16 -11
- package/dist/@types/components/summary-grid/components/summary-grid-item/index.d.ts +2 -0
- package/dist/@types/components/summary-grid/components/summary-grid-item/summary-grid-item.types.d.ts +7 -0
- package/dist/@types/components/summary-grid/components/summary-grid-item/summary-grid-item.vue.d.ts +102 -0
- package/dist/@types/components/summary-grid/components/summary-grid-item-amount/summary-grid-item-amount.vue.d.ts +89 -0
- package/dist/@types/components/summary-grid/components/summary-grid-item-custom/summary-grid-item-custom.vue.d.ts +40 -0
- package/dist/@types/components/summary-grid/components/summary-grid-item-numeric/summary-grid-item-numeric.vue.d.ts +80 -0
- package/dist/@types/components/summary-grid/components/summary-grid-item-percentage/summary-grid-item-percentage.vue.d.ts +80 -0
- package/dist/@types/components/summary-grid/components/summary-grid-item-text/summary-grid-item-text.vue.d.ts +51 -0
- package/dist/@types/components/summary-grid/index.d.ts +7 -0
- package/dist/@types/components/summary-grid/summary-grid.types.d.ts +16 -0
- package/dist/@types/components/summary-grid/summary-grid.vue.d.ts +19 -0
- package/dist/@types/components.d.ts +16 -0
- package/dist/@types/index.d.ts +3 -0
- package/dist/index.js +4099 -3351
- package/dist/index.js.map +1 -1
- package/dist/web-types.json +607 -5
- package/package.json +2 -2
|
@@ -0,0 +1,6 @@
|
|
|
1
|
+
declare const _default: import("vue").DefineComponent<{}, {
|
|
2
|
+
ariaAttributes: import("vue").ComputedRef<{
|
|
3
|
+
'aria-label': string;
|
|
4
|
+
}>;
|
|
5
|
+
}, {}, {}, {}, import("vue/types/v3-component-options.js").ComponentOptionsMixin, import("vue/types/v3-component-options.js").ComponentOptionsMixin, {}, string, Readonly<import("vue").ExtractPropTypes<{}>>, {}>;
|
|
6
|
+
export default _default;
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
export { default as BentoDivider } from './divider.vue';
|
|
@@ -0,0 +1,19 @@
|
|
|
1
|
+
import { BentoButtonVariant } from '@/components/button';
|
|
2
|
+
declare const _default: import("vue").DefineComponent<{
|
|
3
|
+
text: {
|
|
4
|
+
type: StringConstructor;
|
|
5
|
+
required: true;
|
|
6
|
+
};
|
|
7
|
+
}, {
|
|
8
|
+
BentoButtonVariant: typeof BentoButtonVariant;
|
|
9
|
+
copyText: import("vue").Ref<import("vue-i18n").default.TranslateResult>;
|
|
10
|
+
onClickCopy: () => Promise<void>;
|
|
11
|
+
resetText: () => void;
|
|
12
|
+
showScreenReaderAlert: import("vue").Ref<boolean>;
|
|
13
|
+
}, {}, {}, {}, import("vue/types/v3-component-options").ComponentOptionsMixin, import("vue/types/v3-component-options").ComponentOptionsMixin, {}, string, Readonly<import("vue").ExtractPropTypes<{
|
|
14
|
+
text: {
|
|
15
|
+
type: StringConstructor;
|
|
16
|
+
required: true;
|
|
17
|
+
};
|
|
18
|
+
}>>, {}>;
|
|
19
|
+
export default _default;
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
export { default as Copy } from './copy.vue';
|
|
@@ -32,6 +32,10 @@ declare const _default: import("vue").DefineComponent<{
|
|
|
32
32
|
type: BooleanConstructor;
|
|
33
33
|
default: boolean;
|
|
34
34
|
};
|
|
35
|
+
open: {
|
|
36
|
+
type: BooleanConstructor;
|
|
37
|
+
default: boolean;
|
|
38
|
+
};
|
|
35
39
|
large: {
|
|
36
40
|
type: BooleanConstructor;
|
|
37
41
|
default: boolean;
|
|
@@ -104,6 +108,10 @@ declare const _default: import("vue").DefineComponent<{
|
|
|
104
108
|
type: BooleanConstructor;
|
|
105
109
|
default: boolean;
|
|
106
110
|
};
|
|
111
|
+
open: {
|
|
112
|
+
type: BooleanConstructor;
|
|
113
|
+
default: boolean;
|
|
114
|
+
};
|
|
107
115
|
large: {
|
|
108
116
|
type: BooleanConstructor;
|
|
109
117
|
default: boolean;
|
|
@@ -135,6 +143,7 @@ declare const _default: import("vue").DefineComponent<{
|
|
|
135
143
|
};
|
|
136
144
|
}>>, {
|
|
137
145
|
small: boolean;
|
|
146
|
+
open: boolean;
|
|
138
147
|
position: import("@/components/popper-container").PopperContainerPosition;
|
|
139
148
|
title: string;
|
|
140
149
|
ariaLabel: string;
|
|
@@ -0,0 +1,46 @@
|
|
|
1
|
+
import { PropType } from 'vue';
|
|
2
|
+
import { BentoTypographyElement } from '@/components/typography';
|
|
3
|
+
import { BentoButtonVariant } from '@/components/button';
|
|
4
|
+
declare const _default: import("vue").DefineComponent<{
|
|
5
|
+
label: {
|
|
6
|
+
type: StringConstructor;
|
|
7
|
+
required: true;
|
|
8
|
+
};
|
|
9
|
+
copy: {
|
|
10
|
+
type: StringConstructor;
|
|
11
|
+
default: any;
|
|
12
|
+
};
|
|
13
|
+
search: {
|
|
14
|
+
type: PropType<(event: Event) => void>;
|
|
15
|
+
default: any;
|
|
16
|
+
};
|
|
17
|
+
searchTooltip: {
|
|
18
|
+
type: StringConstructor;
|
|
19
|
+
default: any;
|
|
20
|
+
};
|
|
21
|
+
}, {
|
|
22
|
+
BentoButtonVariant: typeof BentoButtonVariant;
|
|
23
|
+
BentoTypographyElement: typeof BentoTypographyElement;
|
|
24
|
+
}, {}, {}, {}, import("vue/types/v3-component-options").ComponentOptionsMixin, import("vue/types/v3-component-options").ComponentOptionsMixin, {}, string, Readonly<import("vue").ExtractPropTypes<{
|
|
25
|
+
label: {
|
|
26
|
+
type: StringConstructor;
|
|
27
|
+
required: true;
|
|
28
|
+
};
|
|
29
|
+
copy: {
|
|
30
|
+
type: StringConstructor;
|
|
31
|
+
default: any;
|
|
32
|
+
};
|
|
33
|
+
search: {
|
|
34
|
+
type: PropType<(event: Event) => void>;
|
|
35
|
+
default: any;
|
|
36
|
+
};
|
|
37
|
+
searchTooltip: {
|
|
38
|
+
type: StringConstructor;
|
|
39
|
+
default: any;
|
|
40
|
+
};
|
|
41
|
+
}>>, {
|
|
42
|
+
search: (event: Event) => void;
|
|
43
|
+
copy: string;
|
|
44
|
+
searchTooltip: string;
|
|
45
|
+
}>;
|
|
46
|
+
export default _default;
|
|
@@ -0,0 +1,2 @@
|
|
|
1
|
+
declare const _default: import("vue").DefineComponent<{}, unknown, {}, {}, {}, import("vue/types/v3-component-options.js").ComponentOptionsMixin, import("vue/types/v3-component-options.js").ComponentOptionsMixin, {}, string, Readonly<import("vue").ExtractPropTypes<{}>>, {}>;
|
|
2
|
+
export default _default;
|
|
@@ -1,8 +1,6 @@
|
|
|
1
|
-
export interface
|
|
2
|
-
|
|
3
|
-
|
|
4
|
-
|
|
5
|
-
medium: number;
|
|
6
|
-
large: number;
|
|
7
|
-
};
|
|
1
|
+
export interface GridLayoutColumnWidth {
|
|
2
|
+
small: number | string;
|
|
3
|
+
medium: number | string;
|
|
4
|
+
large: number | string;
|
|
8
5
|
}
|
|
6
|
+
export type GridLayoutColumnWidths = Array<'auto' | GridLayoutColumnWidth>;
|
|
@@ -1,16 +1,21 @@
|
|
|
1
1
|
import { PropType } from 'vue';
|
|
2
|
-
import {
|
|
2
|
+
import { GridLayoutColumnWidths } from './grid-layout.types';
|
|
3
3
|
declare const _default: import("vue").DefineComponent<{
|
|
4
|
-
|
|
5
|
-
type: PropType<
|
|
6
|
-
|
|
7
|
-
validator: (array:
|
|
4
|
+
columnWidth: {
|
|
5
|
+
type: PropType<GridLayoutColumnWidths>;
|
|
6
|
+
default: any;
|
|
7
|
+
validator: (array: GridLayoutColumnWidths) => boolean;
|
|
8
8
|
};
|
|
9
|
-
}, {
|
|
10
|
-
|
|
11
|
-
|
|
12
|
-
|
|
13
|
-
|
|
9
|
+
}, {
|
|
10
|
+
computeColumnSize: (index: any) => string[];
|
|
11
|
+
hasSlot: (name: string) => boolean;
|
|
12
|
+
}, {}, {}, {}, import("vue/types/v3-component-options").ComponentOptionsMixin, import("vue/types/v3-component-options").ComponentOptionsMixin, {}, string, Readonly<import("vue").ExtractPropTypes<{
|
|
13
|
+
columnWidth: {
|
|
14
|
+
type: PropType<GridLayoutColumnWidths>;
|
|
15
|
+
default: any;
|
|
16
|
+
validator: (array: GridLayoutColumnWidths) => boolean;
|
|
14
17
|
};
|
|
15
|
-
}>>, {
|
|
18
|
+
}>>, {
|
|
19
|
+
columnWidth: GridLayoutColumnWidths;
|
|
20
|
+
}>;
|
|
16
21
|
export default _default;
|
package/dist/@types/components/summary-grid/components/summary-grid-item/summary-grid-item.vue.d.ts
ADDED
|
@@ -0,0 +1,102 @@
|
|
|
1
|
+
import { PropType } from 'vue';
|
|
2
|
+
import { BentoTypographyElement, BentoTypographyVariant } from '@/components/typography';
|
|
3
|
+
import { BentoSummaryGridItemSize, BentoSummaryGridItemTrendDirection } from '@/components/summary-grid/summary-grid.types';
|
|
4
|
+
import { BentoTagVariant } from '@/components/tag';
|
|
5
|
+
import { SummaryGridItemType } from './summary-grid-item.types';
|
|
6
|
+
declare const _default: import("vue").DefineComponent<{
|
|
7
|
+
copy: {
|
|
8
|
+
type: StringConstructor;
|
|
9
|
+
default: any;
|
|
10
|
+
};
|
|
11
|
+
itemType: {
|
|
12
|
+
type: PropType<SummaryGridItemType>;
|
|
13
|
+
default: SummaryGridItemType;
|
|
14
|
+
};
|
|
15
|
+
infoIconTooltipText: {
|
|
16
|
+
type: StringConstructor;
|
|
17
|
+
default: any;
|
|
18
|
+
};
|
|
19
|
+
title: {
|
|
20
|
+
type: StringConstructor;
|
|
21
|
+
required: true;
|
|
22
|
+
};
|
|
23
|
+
fitContent: {
|
|
24
|
+
type: BooleanConstructor;
|
|
25
|
+
default: boolean;
|
|
26
|
+
};
|
|
27
|
+
size: {
|
|
28
|
+
type: PropType<BentoSummaryGridItemSize>;
|
|
29
|
+
default: BentoSummaryGridItemSize;
|
|
30
|
+
};
|
|
31
|
+
trendDirection: {
|
|
32
|
+
type: PropType<BentoSummaryGridItemTrendDirection>;
|
|
33
|
+
default: BentoSummaryGridItemTrendDirection;
|
|
34
|
+
};
|
|
35
|
+
trend: {
|
|
36
|
+
type: StringConstructor;
|
|
37
|
+
default: any;
|
|
38
|
+
};
|
|
39
|
+
}, {
|
|
40
|
+
trendVariant: import("vue").ComputedRef<BentoTagVariant.BLUE | BentoTagVariant.GREEN | BentoTagVariant.RED>;
|
|
41
|
+
isContentTypographyApplied: import("vue").ComputedRef<boolean>;
|
|
42
|
+
typographyProps: import("vue").ComputedRef<{
|
|
43
|
+
medium: boolean;
|
|
44
|
+
strongest: boolean;
|
|
45
|
+
wide: boolean;
|
|
46
|
+
variant: BentoTypographyVariant;
|
|
47
|
+
}>;
|
|
48
|
+
computedStyles: import("vue").ComputedRef<{
|
|
49
|
+
width: string;
|
|
50
|
+
} | {
|
|
51
|
+
width?: undefined;
|
|
52
|
+
}>;
|
|
53
|
+
summaryBarItemTrendConditionalClasses: import("vue").ComputedRef<{
|
|
54
|
+
[x: string]: string;
|
|
55
|
+
}>;
|
|
56
|
+
BentoTypographyElement: typeof BentoTypographyElement;
|
|
57
|
+
BentoTypographyVariant: typeof BentoTypographyVariant;
|
|
58
|
+
SummaryGridItemType: typeof SummaryGridItemType;
|
|
59
|
+
BentoSummaryGridItemSize: typeof BentoSummaryGridItemSize;
|
|
60
|
+
}, {}, {}, {}, import("vue/types/v3-component-options").ComponentOptionsMixin, import("vue/types/v3-component-options").ComponentOptionsMixin, {}, string, Readonly<import("vue").ExtractPropTypes<{
|
|
61
|
+
copy: {
|
|
62
|
+
type: StringConstructor;
|
|
63
|
+
default: any;
|
|
64
|
+
};
|
|
65
|
+
itemType: {
|
|
66
|
+
type: PropType<SummaryGridItemType>;
|
|
67
|
+
default: SummaryGridItemType;
|
|
68
|
+
};
|
|
69
|
+
infoIconTooltipText: {
|
|
70
|
+
type: StringConstructor;
|
|
71
|
+
default: any;
|
|
72
|
+
};
|
|
73
|
+
title: {
|
|
74
|
+
type: StringConstructor;
|
|
75
|
+
required: true;
|
|
76
|
+
};
|
|
77
|
+
fitContent: {
|
|
78
|
+
type: BooleanConstructor;
|
|
79
|
+
default: boolean;
|
|
80
|
+
};
|
|
81
|
+
size: {
|
|
82
|
+
type: PropType<BentoSummaryGridItemSize>;
|
|
83
|
+
default: BentoSummaryGridItemSize;
|
|
84
|
+
};
|
|
85
|
+
trendDirection: {
|
|
86
|
+
type: PropType<BentoSummaryGridItemTrendDirection>;
|
|
87
|
+
default: BentoSummaryGridItemTrendDirection;
|
|
88
|
+
};
|
|
89
|
+
trend: {
|
|
90
|
+
type: StringConstructor;
|
|
91
|
+
default: any;
|
|
92
|
+
};
|
|
93
|
+
}>>, {
|
|
94
|
+
copy: string;
|
|
95
|
+
size: BentoSummaryGridItemSize;
|
|
96
|
+
infoIconTooltipText: string;
|
|
97
|
+
itemType: SummaryGridItemType;
|
|
98
|
+
fitContent: boolean;
|
|
99
|
+
trendDirection: BentoSummaryGridItemTrendDirection;
|
|
100
|
+
trend: string;
|
|
101
|
+
}>;
|
|
102
|
+
export default _default;
|
|
@@ -0,0 +1,89 @@
|
|
|
1
|
+
import { PropType } from 'vue';
|
|
2
|
+
import { BentoSummaryGridItemSize, BentoSummaryGridItemTrendDirection } from '@/components/summary-grid/summary-grid.types';
|
|
3
|
+
import { SummaryGridItemType } from '../summary-grid-item';
|
|
4
|
+
declare const _default: import("vue").DefineComponent<{
|
|
5
|
+
copy: {
|
|
6
|
+
type: StringConstructor;
|
|
7
|
+
default: any;
|
|
8
|
+
};
|
|
9
|
+
label: {
|
|
10
|
+
type: StringConstructor;
|
|
11
|
+
required: true;
|
|
12
|
+
};
|
|
13
|
+
secondaryLabel: {
|
|
14
|
+
type: StringConstructor;
|
|
15
|
+
default: any;
|
|
16
|
+
};
|
|
17
|
+
title: {
|
|
18
|
+
type: StringConstructor;
|
|
19
|
+
required: true;
|
|
20
|
+
};
|
|
21
|
+
infoIconTooltipText: {
|
|
22
|
+
type: StringConstructor;
|
|
23
|
+
default: any;
|
|
24
|
+
};
|
|
25
|
+
fitContent: {
|
|
26
|
+
type: BooleanConstructor;
|
|
27
|
+
default: boolean;
|
|
28
|
+
};
|
|
29
|
+
trendDirection: {
|
|
30
|
+
type: PropType<BentoSummaryGridItemTrendDirection>;
|
|
31
|
+
default: BentoSummaryGridItemTrendDirection;
|
|
32
|
+
};
|
|
33
|
+
trend: {
|
|
34
|
+
type: StringConstructor;
|
|
35
|
+
default: any;
|
|
36
|
+
};
|
|
37
|
+
size: {
|
|
38
|
+
type: PropType<BentoSummaryGridItemSize>;
|
|
39
|
+
default: BentoSummaryGridItemSize;
|
|
40
|
+
};
|
|
41
|
+
}, {
|
|
42
|
+
SummaryGridItemType: typeof SummaryGridItemType;
|
|
43
|
+
}, {}, {}, {}, import("vue/types/v3-component-options").ComponentOptionsMixin, import("vue/types/v3-component-options").ComponentOptionsMixin, {}, string, Readonly<import("vue").ExtractPropTypes<{
|
|
44
|
+
copy: {
|
|
45
|
+
type: StringConstructor;
|
|
46
|
+
default: any;
|
|
47
|
+
};
|
|
48
|
+
label: {
|
|
49
|
+
type: StringConstructor;
|
|
50
|
+
required: true;
|
|
51
|
+
};
|
|
52
|
+
secondaryLabel: {
|
|
53
|
+
type: StringConstructor;
|
|
54
|
+
default: any;
|
|
55
|
+
};
|
|
56
|
+
title: {
|
|
57
|
+
type: StringConstructor;
|
|
58
|
+
required: true;
|
|
59
|
+
};
|
|
60
|
+
infoIconTooltipText: {
|
|
61
|
+
type: StringConstructor;
|
|
62
|
+
default: any;
|
|
63
|
+
};
|
|
64
|
+
fitContent: {
|
|
65
|
+
type: BooleanConstructor;
|
|
66
|
+
default: boolean;
|
|
67
|
+
};
|
|
68
|
+
trendDirection: {
|
|
69
|
+
type: PropType<BentoSummaryGridItemTrendDirection>;
|
|
70
|
+
default: BentoSummaryGridItemTrendDirection;
|
|
71
|
+
};
|
|
72
|
+
trend: {
|
|
73
|
+
type: StringConstructor;
|
|
74
|
+
default: any;
|
|
75
|
+
};
|
|
76
|
+
size: {
|
|
77
|
+
type: PropType<BentoSummaryGridItemSize>;
|
|
78
|
+
default: BentoSummaryGridItemSize;
|
|
79
|
+
};
|
|
80
|
+
}>>, {
|
|
81
|
+
copy: string;
|
|
82
|
+
size: BentoSummaryGridItemSize;
|
|
83
|
+
infoIconTooltipText: string;
|
|
84
|
+
fitContent: boolean;
|
|
85
|
+
trendDirection: BentoSummaryGridItemTrendDirection;
|
|
86
|
+
trend: string;
|
|
87
|
+
secondaryLabel: string;
|
|
88
|
+
}>;
|
|
89
|
+
export default _default;
|
|
@@ -0,0 +1,40 @@
|
|
|
1
|
+
declare const _default: import("vue").DefineComponent<{
|
|
2
|
+
copy: {
|
|
3
|
+
type: StringConstructor;
|
|
4
|
+
default: any;
|
|
5
|
+
};
|
|
6
|
+
infoIconTooltipText: {
|
|
7
|
+
type: StringConstructor;
|
|
8
|
+
default: any;
|
|
9
|
+
};
|
|
10
|
+
title: {
|
|
11
|
+
type: StringConstructor;
|
|
12
|
+
required: true;
|
|
13
|
+
};
|
|
14
|
+
fitContent: {
|
|
15
|
+
type: BooleanConstructor;
|
|
16
|
+
default: boolean;
|
|
17
|
+
};
|
|
18
|
+
}, {}, {}, {}, {}, import("vue/types/v3-component-options").ComponentOptionsMixin, import("vue/types/v3-component-options").ComponentOptionsMixin, "copy-to-clipboard"[], string, Readonly<import("vue").ExtractPropTypes<{
|
|
19
|
+
copy: {
|
|
20
|
+
type: StringConstructor;
|
|
21
|
+
default: any;
|
|
22
|
+
};
|
|
23
|
+
infoIconTooltipText: {
|
|
24
|
+
type: StringConstructor;
|
|
25
|
+
default: any;
|
|
26
|
+
};
|
|
27
|
+
title: {
|
|
28
|
+
type: StringConstructor;
|
|
29
|
+
required: true;
|
|
30
|
+
};
|
|
31
|
+
fitContent: {
|
|
32
|
+
type: BooleanConstructor;
|
|
33
|
+
default: boolean;
|
|
34
|
+
};
|
|
35
|
+
}>>, {
|
|
36
|
+
copy: string;
|
|
37
|
+
infoIconTooltipText: string;
|
|
38
|
+
fitContent: boolean;
|
|
39
|
+
}>;
|
|
40
|
+
export default _default;
|
|
@@ -0,0 +1,80 @@
|
|
|
1
|
+
import { PropType } from 'vue';
|
|
2
|
+
import { BentoSummaryGridItemSize, BentoSummaryGridItemTrendDirection } from '@/components/summary-grid/summary-grid.types';
|
|
3
|
+
import { SummaryGridItemType } from '../summary-grid-item';
|
|
4
|
+
declare const _default: import("vue").DefineComponent<{
|
|
5
|
+
copy: {
|
|
6
|
+
type: StringConstructor;
|
|
7
|
+
default: any;
|
|
8
|
+
};
|
|
9
|
+
label: {
|
|
10
|
+
type: StringConstructor;
|
|
11
|
+
required: true;
|
|
12
|
+
};
|
|
13
|
+
title: {
|
|
14
|
+
type: StringConstructor;
|
|
15
|
+
required: true;
|
|
16
|
+
};
|
|
17
|
+
infoIconTooltipText: {
|
|
18
|
+
type: StringConstructor;
|
|
19
|
+
default: any;
|
|
20
|
+
};
|
|
21
|
+
fitContent: {
|
|
22
|
+
type: BooleanConstructor;
|
|
23
|
+
default: boolean;
|
|
24
|
+
};
|
|
25
|
+
trendDirection: {
|
|
26
|
+
type: PropType<BentoSummaryGridItemTrendDirection>;
|
|
27
|
+
default: BentoSummaryGridItemTrendDirection;
|
|
28
|
+
};
|
|
29
|
+
trend: {
|
|
30
|
+
type: StringConstructor;
|
|
31
|
+
default: any;
|
|
32
|
+
};
|
|
33
|
+
size: {
|
|
34
|
+
type: PropType<BentoSummaryGridItemSize>;
|
|
35
|
+
default: BentoSummaryGridItemSize;
|
|
36
|
+
};
|
|
37
|
+
}, {
|
|
38
|
+
SummaryGridItemType: typeof SummaryGridItemType;
|
|
39
|
+
}, {}, {}, {}, import("vue/types/v3-component-options").ComponentOptionsMixin, import("vue/types/v3-component-options").ComponentOptionsMixin, {}, string, Readonly<import("vue").ExtractPropTypes<{
|
|
40
|
+
copy: {
|
|
41
|
+
type: StringConstructor;
|
|
42
|
+
default: any;
|
|
43
|
+
};
|
|
44
|
+
label: {
|
|
45
|
+
type: StringConstructor;
|
|
46
|
+
required: true;
|
|
47
|
+
};
|
|
48
|
+
title: {
|
|
49
|
+
type: StringConstructor;
|
|
50
|
+
required: true;
|
|
51
|
+
};
|
|
52
|
+
infoIconTooltipText: {
|
|
53
|
+
type: StringConstructor;
|
|
54
|
+
default: any;
|
|
55
|
+
};
|
|
56
|
+
fitContent: {
|
|
57
|
+
type: BooleanConstructor;
|
|
58
|
+
default: boolean;
|
|
59
|
+
};
|
|
60
|
+
trendDirection: {
|
|
61
|
+
type: PropType<BentoSummaryGridItemTrendDirection>;
|
|
62
|
+
default: BentoSummaryGridItemTrendDirection;
|
|
63
|
+
};
|
|
64
|
+
trend: {
|
|
65
|
+
type: StringConstructor;
|
|
66
|
+
default: any;
|
|
67
|
+
};
|
|
68
|
+
size: {
|
|
69
|
+
type: PropType<BentoSummaryGridItemSize>;
|
|
70
|
+
default: BentoSummaryGridItemSize;
|
|
71
|
+
};
|
|
72
|
+
}>>, {
|
|
73
|
+
copy: string;
|
|
74
|
+
size: BentoSummaryGridItemSize;
|
|
75
|
+
infoIconTooltipText: string;
|
|
76
|
+
fitContent: boolean;
|
|
77
|
+
trendDirection: BentoSummaryGridItemTrendDirection;
|
|
78
|
+
trend: string;
|
|
79
|
+
}>;
|
|
80
|
+
export default _default;
|
|
@@ -0,0 +1,80 @@
|
|
|
1
|
+
import { PropType } from 'vue';
|
|
2
|
+
import { BentoSummaryGridItemSize, BentoSummaryGridItemTrendDirection } from '@/components/summary-grid/summary-grid.types';
|
|
3
|
+
import { SummaryGridItemType } from '../summary-grid-item';
|
|
4
|
+
declare const _default: import("vue").DefineComponent<{
|
|
5
|
+
label: {
|
|
6
|
+
type: StringConstructor;
|
|
7
|
+
required: true;
|
|
8
|
+
};
|
|
9
|
+
title: {
|
|
10
|
+
type: StringConstructor;
|
|
11
|
+
required: true;
|
|
12
|
+
};
|
|
13
|
+
infoIconTooltipText: {
|
|
14
|
+
type: StringConstructor;
|
|
15
|
+
default: any;
|
|
16
|
+
};
|
|
17
|
+
copy: {
|
|
18
|
+
type: StringConstructor;
|
|
19
|
+
default: any;
|
|
20
|
+
};
|
|
21
|
+
fitContent: {
|
|
22
|
+
type: BooleanConstructor;
|
|
23
|
+
default: boolean;
|
|
24
|
+
};
|
|
25
|
+
trendDirection: {
|
|
26
|
+
type: PropType<BentoSummaryGridItemTrendDirection>;
|
|
27
|
+
default: BentoSummaryGridItemTrendDirection;
|
|
28
|
+
};
|
|
29
|
+
trend: {
|
|
30
|
+
type: StringConstructor;
|
|
31
|
+
default: any;
|
|
32
|
+
};
|
|
33
|
+
size: {
|
|
34
|
+
type: PropType<BentoSummaryGridItemSize>;
|
|
35
|
+
default: BentoSummaryGridItemSize;
|
|
36
|
+
};
|
|
37
|
+
}, {
|
|
38
|
+
SummaryGridItemType: typeof SummaryGridItemType;
|
|
39
|
+
}, {}, {}, {}, import("vue/types/v3-component-options").ComponentOptionsMixin, import("vue/types/v3-component-options").ComponentOptionsMixin, {}, string, Readonly<import("vue").ExtractPropTypes<{
|
|
40
|
+
label: {
|
|
41
|
+
type: StringConstructor;
|
|
42
|
+
required: true;
|
|
43
|
+
};
|
|
44
|
+
title: {
|
|
45
|
+
type: StringConstructor;
|
|
46
|
+
required: true;
|
|
47
|
+
};
|
|
48
|
+
infoIconTooltipText: {
|
|
49
|
+
type: StringConstructor;
|
|
50
|
+
default: any;
|
|
51
|
+
};
|
|
52
|
+
copy: {
|
|
53
|
+
type: StringConstructor;
|
|
54
|
+
default: any;
|
|
55
|
+
};
|
|
56
|
+
fitContent: {
|
|
57
|
+
type: BooleanConstructor;
|
|
58
|
+
default: boolean;
|
|
59
|
+
};
|
|
60
|
+
trendDirection: {
|
|
61
|
+
type: PropType<BentoSummaryGridItemTrendDirection>;
|
|
62
|
+
default: BentoSummaryGridItemTrendDirection;
|
|
63
|
+
};
|
|
64
|
+
trend: {
|
|
65
|
+
type: StringConstructor;
|
|
66
|
+
default: any;
|
|
67
|
+
};
|
|
68
|
+
size: {
|
|
69
|
+
type: PropType<BentoSummaryGridItemSize>;
|
|
70
|
+
default: BentoSummaryGridItemSize;
|
|
71
|
+
};
|
|
72
|
+
}>>, {
|
|
73
|
+
copy: string;
|
|
74
|
+
size: BentoSummaryGridItemSize;
|
|
75
|
+
infoIconTooltipText: string;
|
|
76
|
+
fitContent: boolean;
|
|
77
|
+
trendDirection: BentoSummaryGridItemTrendDirection;
|
|
78
|
+
trend: string;
|
|
79
|
+
}>;
|
|
80
|
+
export default _default;
|
|
@@ -0,0 +1,51 @@
|
|
|
1
|
+
import { SummaryGridItemType } from '../summary-grid-item';
|
|
2
|
+
declare const _default: import("vue").DefineComponent<{
|
|
3
|
+
copy: {
|
|
4
|
+
type: StringConstructor;
|
|
5
|
+
default: any;
|
|
6
|
+
};
|
|
7
|
+
label: {
|
|
8
|
+
type: StringConstructor;
|
|
9
|
+
required: true;
|
|
10
|
+
};
|
|
11
|
+
title: {
|
|
12
|
+
type: StringConstructor;
|
|
13
|
+
required: true;
|
|
14
|
+
};
|
|
15
|
+
infoIconTooltipText: {
|
|
16
|
+
type: StringConstructor;
|
|
17
|
+
default: any;
|
|
18
|
+
};
|
|
19
|
+
fitContent: {
|
|
20
|
+
type: BooleanConstructor;
|
|
21
|
+
default: boolean;
|
|
22
|
+
};
|
|
23
|
+
}, {
|
|
24
|
+
SummaryGridItemType: typeof SummaryGridItemType;
|
|
25
|
+
}, {}, {}, {}, import("vue/types/v3-component-options").ComponentOptionsMixin, import("vue/types/v3-component-options").ComponentOptionsMixin, {}, string, Readonly<import("vue").ExtractPropTypes<{
|
|
26
|
+
copy: {
|
|
27
|
+
type: StringConstructor;
|
|
28
|
+
default: any;
|
|
29
|
+
};
|
|
30
|
+
label: {
|
|
31
|
+
type: StringConstructor;
|
|
32
|
+
required: true;
|
|
33
|
+
};
|
|
34
|
+
title: {
|
|
35
|
+
type: StringConstructor;
|
|
36
|
+
required: true;
|
|
37
|
+
};
|
|
38
|
+
infoIconTooltipText: {
|
|
39
|
+
type: StringConstructor;
|
|
40
|
+
default: any;
|
|
41
|
+
};
|
|
42
|
+
fitContent: {
|
|
43
|
+
type: BooleanConstructor;
|
|
44
|
+
default: boolean;
|
|
45
|
+
};
|
|
46
|
+
}>>, {
|
|
47
|
+
copy: string;
|
|
48
|
+
infoIconTooltipText: string;
|
|
49
|
+
fitContent: boolean;
|
|
50
|
+
}>;
|
|
51
|
+
export default _default;
|
|
@@ -0,0 +1,7 @@
|
|
|
1
|
+
export { default as BentoSummaryGrid } from './summary-grid.vue';
|
|
2
|
+
export { default as BentoSummaryGridItemAmount } from './components/summary-grid-item-amount/summary-grid-item-amount.vue';
|
|
3
|
+
export { default as BentoSummaryGridItemNumeric } from './components/summary-grid-item-numeric/summary-grid-item-numeric.vue';
|
|
4
|
+
export { default as BentoSummaryGridItemPercentage } from './components/summary-grid-item-percentage/summary-grid-item-percentage.vue';
|
|
5
|
+
export { default as BentoSummaryGridItemText } from './components/summary-grid-item-text/summary-grid-item-text.vue';
|
|
6
|
+
export { default as BentoSummaryGridItemCustom } from './components/summary-grid-item-custom/summary-grid-item-custom.vue';
|
|
7
|
+
export * from './summary-grid.types';
|
|
@@ -0,0 +1,16 @@
|
|
|
1
|
+
import { GridLayoutColumnWidth } from './components/grid-layout/grid-layout.types';
|
|
2
|
+
export declare enum BentoSummaryGridItemSize {
|
|
3
|
+
SMALL = "small",
|
|
4
|
+
MEDIUM = "medium",
|
|
5
|
+
LARGE = "large"
|
|
6
|
+
}
|
|
7
|
+
export declare enum BentoSummaryGridItemTrendDirection {
|
|
8
|
+
POSITIVE = "positive",
|
|
9
|
+
NEGATIVE = "negative",
|
|
10
|
+
NEUTRAL = "neutral"
|
|
11
|
+
}
|
|
12
|
+
export interface BentoSummaryGridColumnWidth {
|
|
13
|
+
row1: Array<GridLayoutColumnWidth>;
|
|
14
|
+
row2?: Array<GridLayoutColumnWidth>;
|
|
15
|
+
row3?: Array<GridLayoutColumnWidth>;
|
|
16
|
+
}
|
|
@@ -0,0 +1,19 @@
|
|
|
1
|
+
import { PropType } from 'vue';
|
|
2
|
+
import { BentoSummaryGridColumnWidth } from './summary-grid.types';
|
|
3
|
+
declare const _default: import("vue").DefineComponent<{
|
|
4
|
+
columnWidth: {
|
|
5
|
+
type: PropType<BentoSummaryGridColumnWidth>;
|
|
6
|
+
default: any;
|
|
7
|
+
};
|
|
8
|
+
}, {
|
|
9
|
+
hasSlot: (name: string) => boolean;
|
|
10
|
+
numberOfRows: number;
|
|
11
|
+
}, {}, {}, {}, import("vue/types/v3-component-options").ComponentOptionsMixin, import("vue/types/v3-component-options").ComponentOptionsMixin, {}, string, Readonly<import("vue").ExtractPropTypes<{
|
|
12
|
+
columnWidth: {
|
|
13
|
+
type: PropType<BentoSummaryGridColumnWidth>;
|
|
14
|
+
default: any;
|
|
15
|
+
};
|
|
16
|
+
}>>, {
|
|
17
|
+
columnWidth: BentoSummaryGridColumnWidth;
|
|
18
|
+
}>;
|
|
19
|
+
export default _default;
|