@adyen/bento-vue2 0.7.1 → 0.8.1
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/loading-button/loading-button.vue.d.ts +1 -1
- package/dist/@types/components/data-grid/components/data-grid-columns/data-grid-columns.vue.d.ts +16 -3
- package/dist/@types/components/data-grid/composables/useCalculateColumnWidth/useCalculateColumnWidth.d.ts +0 -2
- package/dist/@types/components/data-grid/data-grid.vue.d.ts +6 -2
- package/dist/@types/components/date-picker/components/date-picker-calendar/components/date-picker-calendar-day/__test__/date-picker-calendar-day-stub.vue.d.ts +15 -4
- package/dist/@types/components/date-picker/components/date-picker-calendar/components/date-picker-calendar-day/date-picker-calendar-day.types.d.ts +14 -4
- package/dist/@types/components/date-picker/components/date-picker-calendar/components/date-picker-calendar-day/date-picker-calendar-day.vue.d.ts +18 -5
- package/dist/@types/components/date-picker/components/date-picker-calendar/components/date-picker-calendar-day/index.d.ts +1 -0
- package/dist/@types/components/date-picker/components/date-picker-calendar/date-picker-calendar.types.d.ts +11 -1
- package/dist/@types/components/date-picker/components/date-picker-calendar/date-picker-calendar.vue.d.ts +42 -71
- package/dist/@types/components/date-picker/components/date-picker-calendar-pane/composables/use-range-pane.d.ts +2 -0
- package/dist/@types/components/date-picker/components/date-picker-calendar-pane/composables/use-single-pane.d.ts +2 -0
- package/dist/@types/components/date-picker/components/date-picker-calendar-pane/date-picker-calendar-pane.types.d.ts +21 -0
- package/dist/@types/components/date-picker/components/date-picker-calendar-pane/date-picker-calendar-pane.vue.d.ts +198 -0
- package/dist/@types/components/date-picker/components/date-picker-calendar-pane/index.d.ts +1 -0
- package/dist/@types/components/date-picker/components/date-picker-calendar-range/date-picker-calendar-range.vue.d.ts +58 -0
- package/dist/@types/components/date-picker/components/date-picker-calendar-range/index.d.ts +1 -0
- package/dist/@types/components/date-picker/composables/use-date-picker-range-calendar-text.d.ts +2 -0
- package/dist/@types/components/date-picker/composables/use-date-picker-single-calendar-text.d.ts +2 -0
- package/dist/@types/components/date-picker/date-picker.types.d.ts +15 -0
- package/dist/@types/components/date-picker/date-picker.vue.d.ts +55 -14
- 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/filter-bar/components/base-filter/base-filter.vue.d.ts +18 -0
- package/dist/@types/components/filter-bar/components/date-filter/date-filter.types.d.ts +3 -0
- package/dist/@types/components/filter-bar/components/date-filter/date-filter.vue.d.ts +114 -0
- package/dist/@types/components/filter-bar/components/date-filter/index.d.ts +1 -0
- package/dist/@types/components/filter-bar/components/date-range-filter/date-range-filter.types.d.ts +3 -0
- package/dist/@types/components/filter-bar/components/date-range-filter/date-range-filter.vue.d.ts +200 -0
- package/dist/@types/components/filter-bar/components/date-range-filter/index.d.ts +1 -0
- package/dist/@types/components/filter-bar/filter-bar.types.d.ts +17 -3
- package/dist/@types/components/info-icon/info-icon.vue.d.ts +13 -1
- package/dist/@types/components/input-field/input-field.vue.d.ts +9 -0
- package/dist/@types/components/internal/copy/copy.vue.d.ts +31 -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/menu/menu.types.d.ts +8 -0
- package/dist/@types/components/menu/menu.vue.d.ts +28 -10
- package/dist/@types/components/modal/components/base-modal/index.d.ts +1 -0
- package/dist/@types/components/payment-method/payment-method.vue.d.ts +12 -0
- package/dist/@types/components/popover/popover.vue.d.ts +19 -0
- package/dist/@types/components/search-bar/search-bar.vue.d.ts +26 -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 +119 -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 +8699 -7376
- package/dist/index.js.map +1 -1
- package/dist/web-types.json +981 -141
- package/package.json +2 -3
- package/dist/@types/components/date-picker/components/date-picker-calendar-container/__test__/date-picker-calendar-container-stub.vue.d.ts +0 -43
- package/dist/@types/components/date-picker/components/date-picker-calendar-container/date-picker-calendar-container.types.d.ts +0 -3
- package/dist/@types/components/date-picker/components/date-picker-calendar-container/date-picker-calendar-container.vue.d.ts +0 -99
- package/dist/@types/components/date-picker/components/date-picker-calendar-container/index.d.ts +0 -1
|
@@ -1,12 +1,24 @@
|
|
|
1
|
+
import { PropType } from 'vue';
|
|
2
|
+
import { PopperContainerPosition } from '@/components/popper-container';
|
|
1
3
|
declare const _default: import("vue").DefineComponent<{
|
|
2
4
|
tooltipText: {
|
|
3
5
|
type: StringConstructor;
|
|
4
6
|
required: true;
|
|
5
7
|
};
|
|
8
|
+
tooltipPosition: {
|
|
9
|
+
type: PropType<PopperContainerPosition>;
|
|
10
|
+
default: import("@/components/popper-container").PopperContainerPositionExtended;
|
|
11
|
+
};
|
|
6
12
|
}, {}, {}, {}, {}, import("vue/types/v3-component-options.js").ComponentOptionsMixin, import("vue/types/v3-component-options.js").ComponentOptionsMixin, {}, string, Readonly<import("vue").ExtractPropTypes<{
|
|
7
13
|
tooltipText: {
|
|
8
14
|
type: StringConstructor;
|
|
9
15
|
required: true;
|
|
10
16
|
};
|
|
11
|
-
|
|
17
|
+
tooltipPosition: {
|
|
18
|
+
type: PropType<PopperContainerPosition>;
|
|
19
|
+
default: import("@/components/popper-container").PopperContainerPositionExtended;
|
|
20
|
+
};
|
|
21
|
+
}>>, {
|
|
22
|
+
tooltipPosition: PopperContainerPosition;
|
|
23
|
+
}>;
|
|
12
24
|
export default _default;
|
|
@@ -18,6 +18,10 @@ declare const _default: import("vue").DefineComponent<{
|
|
|
18
18
|
type: BooleanConstructor;
|
|
19
19
|
default: boolean;
|
|
20
20
|
};
|
|
21
|
+
placeholder: {
|
|
22
|
+
type: StringConstructor;
|
|
23
|
+
default: string;
|
|
24
|
+
};
|
|
21
25
|
staticValue: {
|
|
22
26
|
type: StringConstructor;
|
|
23
27
|
default: string;
|
|
@@ -69,6 +73,10 @@ declare const _default: import("vue").DefineComponent<{
|
|
|
69
73
|
type: BooleanConstructor;
|
|
70
74
|
default: boolean;
|
|
71
75
|
};
|
|
76
|
+
placeholder: {
|
|
77
|
+
type: StringConstructor;
|
|
78
|
+
default: string;
|
|
79
|
+
};
|
|
72
80
|
staticValue: {
|
|
73
81
|
type: StringConstructor;
|
|
74
82
|
default: string;
|
|
@@ -96,6 +104,7 @@ declare const _default: import("vue").DefineComponent<{
|
|
|
96
104
|
ariaHidden: boolean;
|
|
97
105
|
ariaLabel: string;
|
|
98
106
|
disabled: boolean;
|
|
107
|
+
placeholder: string;
|
|
99
108
|
variant: BentoInputFieldVariant;
|
|
100
109
|
staticValue: string;
|
|
101
110
|
staticValuePosition: BentoInputFieldStaticValuePosition;
|
|
@@ -0,0 +1,31 @@
|
|
|
1
|
+
import { PropType } from 'vue';
|
|
2
|
+
import { BentoButtonVariant } from '@/components/button';
|
|
3
|
+
import { PopperContainerPosition } from '@/components/popper-container';
|
|
4
|
+
declare const _default: import("vue").DefineComponent<{
|
|
5
|
+
text: {
|
|
6
|
+
type: StringConstructor;
|
|
7
|
+
required: true;
|
|
8
|
+
};
|
|
9
|
+
tooltipPosition: {
|
|
10
|
+
type: PropType<PopperContainerPosition>;
|
|
11
|
+
default: import("@/components/popper-container").PopperContainerPositionBasic;
|
|
12
|
+
};
|
|
13
|
+
}, {
|
|
14
|
+
BentoButtonVariant: typeof BentoButtonVariant;
|
|
15
|
+
copyText: import("vue").Ref<import("vue-i18n").default.TranslateResult>;
|
|
16
|
+
onClickCopy: () => Promise<void>;
|
|
17
|
+
resetText: () => void;
|
|
18
|
+
showScreenReaderAlert: import("vue").Ref<boolean>;
|
|
19
|
+
}, {}, {}, {}, import("vue/types/v3-component-options").ComponentOptionsMixin, import("vue/types/v3-component-options").ComponentOptionsMixin, {}, string, Readonly<import("vue").ExtractPropTypes<{
|
|
20
|
+
text: {
|
|
21
|
+
type: StringConstructor;
|
|
22
|
+
required: true;
|
|
23
|
+
};
|
|
24
|
+
tooltipPosition: {
|
|
25
|
+
type: PropType<PopperContainerPosition>;
|
|
26
|
+
default: import("@/components/popper-container").PopperContainerPositionBasic;
|
|
27
|
+
};
|
|
28
|
+
}>>, {
|
|
29
|
+
tooltipPosition: PopperContainerPosition;
|
|
30
|
+
}>;
|
|
31
|
+
export default _default;
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
export { default as Copy } from './copy.vue';
|
|
@@ -1,4 +1,12 @@
|
|
|
1
|
+
import { BentoButton } from '../button';
|
|
1
2
|
export declare enum BentoMenuEvent {
|
|
2
3
|
CLOSE = "close",
|
|
3
4
|
BACK = "back"
|
|
4
5
|
}
|
|
6
|
+
type ButtonProps = InstanceType<typeof BentoButton>['$props'];
|
|
7
|
+
export type BentoMenuButtonProps = {
|
|
8
|
+
variant?: ButtonProps['variant'];
|
|
9
|
+
condensed?: ButtonProps['condensed'];
|
|
10
|
+
disabled?: ButtonProps['disabled'];
|
|
11
|
+
};
|
|
12
|
+
export {};
|
|
@@ -2,15 +2,12 @@ import { PropType } from 'vue';
|
|
|
2
2
|
import { BentoButtonVariant } from '@/components/button';
|
|
3
3
|
import { BentoPopoverPositions } from '@/components/popover';
|
|
4
4
|
import { BentoMenuItem } from './components';
|
|
5
|
+
import { BentoMenuButtonProps } from './menu.types';
|
|
5
6
|
declare const _default: import("vue").DefineComponent<{
|
|
6
7
|
data: {
|
|
7
8
|
type: PropType<BentoMenuItem[]>;
|
|
8
9
|
required: true;
|
|
9
10
|
};
|
|
10
|
-
tertiaryButton: {
|
|
11
|
-
type: BooleanConstructor;
|
|
12
|
-
default: boolean;
|
|
13
|
-
};
|
|
14
11
|
menuPosition: {
|
|
15
12
|
type: PropType<import("../popper-container").PopperContainerPosition>;
|
|
16
13
|
default: import("../popper-container").PopperContainerPositionExtended;
|
|
@@ -20,6 +17,16 @@ declare const _default: import("vue").DefineComponent<{
|
|
|
20
17
|
type: BooleanConstructor;
|
|
21
18
|
default: boolean;
|
|
22
19
|
};
|
|
20
|
+
menuWidth: {
|
|
21
|
+
type: NumberConstructor;
|
|
22
|
+
default: any;
|
|
23
|
+
};
|
|
24
|
+
button: {
|
|
25
|
+
type: PropType<BentoMenuButtonProps>;
|
|
26
|
+
default: () => {
|
|
27
|
+
variant: BentoButtonVariant;
|
|
28
|
+
};
|
|
29
|
+
};
|
|
23
30
|
}, {
|
|
24
31
|
BentoButtonVariant: typeof BentoButtonVariant;
|
|
25
32
|
BentoPopoverPositions: {
|
|
@@ -42,7 +49,9 @@ declare const _default: import("vue").DefineComponent<{
|
|
|
42
49
|
menuButtonRef: any;
|
|
43
50
|
menuId: string;
|
|
44
51
|
showMenu: import("vue").Ref<boolean>;
|
|
45
|
-
|
|
52
|
+
computedMenuWidth: import("vue").ComputedRef<{
|
|
53
|
+
width: string;
|
|
54
|
+
}>;
|
|
46
55
|
isLastElementFocused: import("vue").Ref<boolean>;
|
|
47
56
|
onKeyDown: () => void;
|
|
48
57
|
onKeyUp: () => void;
|
|
@@ -53,10 +62,6 @@ declare const _default: import("vue").DefineComponent<{
|
|
|
53
62
|
type: PropType<BentoMenuItem[]>;
|
|
54
63
|
required: true;
|
|
55
64
|
};
|
|
56
|
-
tertiaryButton: {
|
|
57
|
-
type: BooleanConstructor;
|
|
58
|
-
default: boolean;
|
|
59
|
-
};
|
|
60
65
|
menuPosition: {
|
|
61
66
|
type: PropType<import("../popper-container").PopperContainerPosition>;
|
|
62
67
|
default: import("../popper-container").PopperContainerPositionExtended;
|
|
@@ -66,9 +71,22 @@ declare const _default: import("vue").DefineComponent<{
|
|
|
66
71
|
type: BooleanConstructor;
|
|
67
72
|
default: boolean;
|
|
68
73
|
};
|
|
74
|
+
menuWidth: {
|
|
75
|
+
type: NumberConstructor;
|
|
76
|
+
default: any;
|
|
77
|
+
};
|
|
78
|
+
button: {
|
|
79
|
+
type: PropType<BentoMenuButtonProps>;
|
|
80
|
+
default: () => {
|
|
81
|
+
variant: BentoButtonVariant;
|
|
82
|
+
};
|
|
83
|
+
};
|
|
69
84
|
}>>, {
|
|
70
|
-
|
|
85
|
+
button: {
|
|
86
|
+
variant: BentoButtonVariant;
|
|
87
|
+
};
|
|
71
88
|
menuPosition: import("../popper-container").PopperContainerPosition;
|
|
72
89
|
menuFixedPositioning: boolean;
|
|
90
|
+
menuWidth: number;
|
|
73
91
|
}>;
|
|
74
92
|
export default _default;
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
export { default as BaseModal } from './base-modal.vue';
|
|
@@ -10,8 +10,15 @@ declare const _default: import("vue").DefineComponent<{
|
|
|
10
10
|
type: StringConstructor;
|
|
11
11
|
required: true;
|
|
12
12
|
};
|
|
13
|
+
small: {
|
|
14
|
+
type: BooleanConstructor;
|
|
15
|
+
default: boolean;
|
|
16
|
+
};
|
|
13
17
|
}, {
|
|
14
18
|
paymentMethodIconSrc: import("vue").Ref<string>;
|
|
19
|
+
conditionalIconClasses: import("vue").ComputedRef<{
|
|
20
|
+
'b-payment-method__icon--small': boolean;
|
|
21
|
+
}>;
|
|
15
22
|
BentoTypographyElement: typeof BentoTypographyElement;
|
|
16
23
|
}, {}, {}, {}, import("vue/types/v3-component-options").ComponentOptionsMixin, import("vue/types/v3-component-options").ComponentOptionsMixin, {}, string, Readonly<import("vue").ExtractPropTypes<{
|
|
17
24
|
type: {
|
|
@@ -22,7 +29,12 @@ declare const _default: import("vue").DefineComponent<{
|
|
|
22
29
|
type: StringConstructor;
|
|
23
30
|
required: true;
|
|
24
31
|
};
|
|
32
|
+
small: {
|
|
33
|
+
type: BooleanConstructor;
|
|
34
|
+
default: boolean;
|
|
35
|
+
};
|
|
25
36
|
}>>, {
|
|
37
|
+
small: boolean;
|
|
26
38
|
type: BentoPaymentMethodType;
|
|
27
39
|
}>;
|
|
28
40
|
export default _default;
|
|
@@ -28,10 +28,18 @@ declare const _default: import("vue").DefineComponent<{
|
|
|
28
28
|
type: BooleanConstructor;
|
|
29
29
|
default: boolean;
|
|
30
30
|
};
|
|
31
|
+
fitContent: {
|
|
32
|
+
type: BooleanConstructor;
|
|
33
|
+
default: boolean;
|
|
34
|
+
};
|
|
31
35
|
fixedPositioning: {
|
|
32
36
|
type: BooleanConstructor;
|
|
33
37
|
default: boolean;
|
|
34
38
|
};
|
|
39
|
+
open: {
|
|
40
|
+
type: BooleanConstructor;
|
|
41
|
+
default: boolean;
|
|
42
|
+
};
|
|
35
43
|
large: {
|
|
36
44
|
type: BooleanConstructor;
|
|
37
45
|
default: boolean;
|
|
@@ -66,6 +74,7 @@ declare const _default: import("vue").DefineComponent<{
|
|
|
66
74
|
'b-popover--small': boolean;
|
|
67
75
|
'b-popover--with-divider': boolean;
|
|
68
76
|
'b-popover--large': boolean;
|
|
77
|
+
'b-popover--fit-content': boolean;
|
|
69
78
|
'b-popover--without-space': boolean;
|
|
70
79
|
}>;
|
|
71
80
|
contentConditionalClasses: import("vue").ComputedRef<{
|
|
@@ -100,10 +109,18 @@ declare const _default: import("vue").DefineComponent<{
|
|
|
100
109
|
type: BooleanConstructor;
|
|
101
110
|
default: boolean;
|
|
102
111
|
};
|
|
112
|
+
fitContent: {
|
|
113
|
+
type: BooleanConstructor;
|
|
114
|
+
default: boolean;
|
|
115
|
+
};
|
|
103
116
|
fixedPositioning: {
|
|
104
117
|
type: BooleanConstructor;
|
|
105
118
|
default: boolean;
|
|
106
119
|
};
|
|
120
|
+
open: {
|
|
121
|
+
type: BooleanConstructor;
|
|
122
|
+
default: boolean;
|
|
123
|
+
};
|
|
107
124
|
large: {
|
|
108
125
|
type: BooleanConstructor;
|
|
109
126
|
default: boolean;
|
|
@@ -135,6 +152,7 @@ declare const _default: import("vue").DefineComponent<{
|
|
|
135
152
|
};
|
|
136
153
|
}>>, {
|
|
137
154
|
small: boolean;
|
|
155
|
+
open: boolean;
|
|
138
156
|
position: import("@/components/popper-container").PopperContainerPosition;
|
|
139
157
|
title: string;
|
|
140
158
|
ariaLabel: string;
|
|
@@ -146,6 +164,7 @@ declare const _default: import("vue").DefineComponent<{
|
|
|
146
164
|
divider: boolean;
|
|
147
165
|
disableFocusTrap: boolean;
|
|
148
166
|
dismissible: boolean;
|
|
167
|
+
fitContent: boolean;
|
|
149
168
|
withoutSpace: boolean;
|
|
150
169
|
}>;
|
|
151
170
|
export default _default;
|
|
@@ -8,6 +8,10 @@ declare const _default: import("vue").DefineComponent<{
|
|
|
8
8
|
type: NumberConstructor;
|
|
9
9
|
default: number;
|
|
10
10
|
};
|
|
11
|
+
placeholder: {
|
|
12
|
+
type: StringConstructor;
|
|
13
|
+
default: string;
|
|
14
|
+
};
|
|
11
15
|
value: {
|
|
12
16
|
type: StringConstructor;
|
|
13
17
|
default: any;
|
|
@@ -31,6 +35,10 @@ declare const _default: import("vue").DefineComponent<{
|
|
|
31
35
|
type: BooleanConstructor;
|
|
32
36
|
default: boolean;
|
|
33
37
|
};
|
|
38
|
+
placeholder: {
|
|
39
|
+
type: StringConstructor;
|
|
40
|
+
default: string;
|
|
41
|
+
};
|
|
34
42
|
staticValue: {
|
|
35
43
|
type: StringConstructor;
|
|
36
44
|
default: string;
|
|
@@ -68,6 +76,10 @@ declare const _default: import("vue").DefineComponent<{
|
|
|
68
76
|
type: BooleanConstructor;
|
|
69
77
|
default: boolean;
|
|
70
78
|
};
|
|
79
|
+
placeholder: {
|
|
80
|
+
type: StringConstructor;
|
|
81
|
+
default: string;
|
|
82
|
+
};
|
|
71
83
|
staticValue: {
|
|
72
84
|
type: StringConstructor;
|
|
73
85
|
default: string;
|
|
@@ -95,6 +107,7 @@ declare const _default: import("vue").DefineComponent<{
|
|
|
95
107
|
ariaHidden: boolean;
|
|
96
108
|
ariaLabel: string;
|
|
97
109
|
disabled: boolean;
|
|
110
|
+
placeholder: string;
|
|
98
111
|
variant: import("@/components/input-field").BentoInputFieldVariant;
|
|
99
112
|
staticValue: string;
|
|
100
113
|
staticValuePosition: import("@/components/input-field").BentoInputFieldStaticValuePosition;
|
|
@@ -115,6 +128,10 @@ declare const _default: import("vue").DefineComponent<{
|
|
|
115
128
|
type: BooleanConstructor;
|
|
116
129
|
default: boolean;
|
|
117
130
|
};
|
|
131
|
+
placeholder: {
|
|
132
|
+
type: StringConstructor;
|
|
133
|
+
default: string;
|
|
134
|
+
};
|
|
118
135
|
staticValue: {
|
|
119
136
|
type: StringConstructor;
|
|
120
137
|
default: string;
|
|
@@ -166,6 +183,10 @@ declare const _default: import("vue").DefineComponent<{
|
|
|
166
183
|
type: BooleanConstructor;
|
|
167
184
|
default: boolean;
|
|
168
185
|
};
|
|
186
|
+
placeholder: {
|
|
187
|
+
type: StringConstructor;
|
|
188
|
+
default: string;
|
|
189
|
+
};
|
|
169
190
|
staticValue: {
|
|
170
191
|
type: StringConstructor;
|
|
171
192
|
default: string;
|
|
@@ -199,12 +220,17 @@ declare const _default: import("vue").DefineComponent<{
|
|
|
199
220
|
type: NumberConstructor;
|
|
200
221
|
default: number;
|
|
201
222
|
};
|
|
223
|
+
placeholder: {
|
|
224
|
+
type: StringConstructor;
|
|
225
|
+
default: string;
|
|
226
|
+
};
|
|
202
227
|
value: {
|
|
203
228
|
type: StringConstructor;
|
|
204
229
|
default: any;
|
|
205
230
|
};
|
|
206
231
|
}>>, {
|
|
207
232
|
value: string;
|
|
233
|
+
placeholder: string;
|
|
208
234
|
debounceTime: number;
|
|
209
235
|
}>;
|
|
210
236
|
export default _default;
|
|
@@ -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,119 @@
|
|
|
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
|
+
PopperContainerPosition: {
|
|
61
|
+
AUTO: import("@/components/popper-container").PopperContainerPositionExtended.AUTO;
|
|
62
|
+
AUTO_START: import("@/components/popper-container").PopperContainerPositionExtended.AUTO_START;
|
|
63
|
+
AUTO_END: import("@/components/popper-container").PopperContainerPositionExtended.AUTO_END;
|
|
64
|
+
TOP_START: import("@/components/popper-container").PopperContainerPositionExtended.TOP_START;
|
|
65
|
+
TOP_END: import("@/components/popper-container").PopperContainerPositionExtended.TOP_END;
|
|
66
|
+
RIGHT_START: import("@/components/popper-container").PopperContainerPositionExtended.RIGHT_START;
|
|
67
|
+
RIGHT_END: import("@/components/popper-container").PopperContainerPositionExtended.RIGHT_END;
|
|
68
|
+
BOTTOM_START: import("@/components/popper-container").PopperContainerPositionExtended.BOTTOM_START;
|
|
69
|
+
BOTTOM_END: import("@/components/popper-container").PopperContainerPositionExtended.BOTTOM_END;
|
|
70
|
+
LEFT_START: import("@/components/popper-container").PopperContainerPositionExtended.LEFT_START;
|
|
71
|
+
LEFT_END: import("@/components/popper-container").PopperContainerPositionExtended.LEFT_END;
|
|
72
|
+
TOP: import("@/components/popper-container").PopperContainerPositionBasic.TOP;
|
|
73
|
+
RIGHT: import("@/components/popper-container").PopperContainerPositionBasic.RIGHT;
|
|
74
|
+
BOTTOM: import("@/components/popper-container").PopperContainerPositionBasic.BOTTOM;
|
|
75
|
+
LEFT: import("@/components/popper-container").PopperContainerPositionBasic.LEFT;
|
|
76
|
+
};
|
|
77
|
+
}, {}, {}, {}, import("vue/types/v3-component-options").ComponentOptionsMixin, import("vue/types/v3-component-options").ComponentOptionsMixin, {}, string, Readonly<import("vue").ExtractPropTypes<{
|
|
78
|
+
copy: {
|
|
79
|
+
type: StringConstructor;
|
|
80
|
+
default: any;
|
|
81
|
+
};
|
|
82
|
+
itemType: {
|
|
83
|
+
type: PropType<SummaryGridItemType>;
|
|
84
|
+
default: SummaryGridItemType;
|
|
85
|
+
};
|
|
86
|
+
infoIconTooltipText: {
|
|
87
|
+
type: StringConstructor;
|
|
88
|
+
default: any;
|
|
89
|
+
};
|
|
90
|
+
title: {
|
|
91
|
+
type: StringConstructor;
|
|
92
|
+
required: true;
|
|
93
|
+
};
|
|
94
|
+
fitContent: {
|
|
95
|
+
type: BooleanConstructor;
|
|
96
|
+
default: boolean;
|
|
97
|
+
};
|
|
98
|
+
size: {
|
|
99
|
+
type: PropType<BentoSummaryGridItemSize>;
|
|
100
|
+
default: BentoSummaryGridItemSize;
|
|
101
|
+
};
|
|
102
|
+
trendDirection: {
|
|
103
|
+
type: PropType<BentoSummaryGridItemTrendDirection>;
|
|
104
|
+
default: BentoSummaryGridItemTrendDirection;
|
|
105
|
+
};
|
|
106
|
+
trend: {
|
|
107
|
+
type: StringConstructor;
|
|
108
|
+
default: any;
|
|
109
|
+
};
|
|
110
|
+
}>>, {
|
|
111
|
+
copy: string;
|
|
112
|
+
size: BentoSummaryGridItemSize;
|
|
113
|
+
fitContent: boolean;
|
|
114
|
+
infoIconTooltipText: string;
|
|
115
|
+
itemType: SummaryGridItemType;
|
|
116
|
+
trendDirection: BentoSummaryGridItemTrendDirection;
|
|
117
|
+
trend: string;
|
|
118
|
+
}>;
|
|
119
|
+
export default _default;
|