@adyen/bento-vue2 0.8.0 → 0.8.2
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 +15 -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.types.d.ts +5 -0
- package/dist/@types/components/date-picker/components/date-picker-calendar-range/date-picker-calendar-range.vue.d.ts +78 -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 +19 -11
- package/dist/@types/components/date-picker/date-picker.vue.d.ts +62 -15
- package/dist/@types/components/dropdown/components/dropdown-base-textbox/dropdown-base-textbox.vue.d.ts +1 -1
- package/dist/@types/components/dropdown/components/dropdown-default-textbox/dropdown-default-textbox.vue.d.ts +1 -1
- package/dist/@types/components/dropdown/components/dropdown-options-container/dropdown-options-container.vue.d.ts +16 -1
- package/dist/@types/components/dropdown/components/dropdown-small-textbox/dropdown-small-textbox.vue.d.ts +2 -2
- package/dist/@types/components/dropdown/components/index.d.ts +1 -0
- package/dist/@types/components/dropdown/components/variants/dropdown-avatar/dropdown-avatar.vue.d.ts +20 -0
- package/dist/@types/components/dropdown/components/variants/dropdown-country/dropdown-country.vue.d.ts +20 -0
- package/dist/@types/components/dropdown/components/variants/dropdown-currency/dropdown-currency.vue.d.ts +20 -0
- package/dist/@types/components/dropdown/components/variants/dropdown-payment-method/dropdown-payment-method.vue.d.ts +20 -0
- package/dist/@types/components/dropdown/components/variants/dropdown-tag/dropdown-tag.vue.d.ts +20 -0
- package/dist/@types/components/dropdown/dropdown.types.d.ts +4 -0
- package/dist/@types/components/dropdown/dropdown.vue.d.ts +21 -0
- package/dist/@types/components/dropdown/index.d.ts +1 -0
- package/dist/@types/components/filter-bar/components/base-filter/base-filter.types.d.ts +7 -0
- package/dist/@types/components/filter-bar/components/base-filter/base-filter.vue.d.ts +36 -15
- package/dist/@types/components/filter-bar/components/base-filter/composables/use-base-filter.d.ts +2 -2
- package/dist/@types/components/filter-bar/components/boolean-filter/boolean-filter.vue.d.ts +12 -1
- 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 +125 -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 +217 -0
- package/dist/@types/components/filter-bar/components/date-range-filter/index.d.ts +1 -0
- package/dist/@types/components/filter-bar/components/input-filter/input-filter.vue.d.ts +12 -1
- package/dist/@types/components/filter-bar/components/range-filter/range-filter.vue.d.ts +12 -1
- package/dist/@types/components/filter-bar/components/select-filter/select-filter.vue.d.ts +12 -1
- package/dist/@types/components/filter-bar/components/select-filter/variants/select-avatar-filter/select-avatar-filter.vue.d.ts +9 -0
- package/dist/@types/components/filter-bar/components/select-filter/variants/select-country-filter/select-country-filter.vue.d.ts +16 -1
- package/dist/@types/components/filter-bar/components/select-filter/variants/select-currency-filter/select-currency-filter.vue.d.ts +9 -0
- package/dist/@types/components/filter-bar/components/select-filter/variants/select-payment-method-filter/select-payment-method-filter.vue.d.ts +9 -0
- package/dist/@types/components/filter-bar/components/select-filter/variants/select-tag-filter/select-tag-filter.vue.d.ts +16 -1
- package/dist/@types/components/filter-bar/filter-bar.types.d.ts +25 -4
- package/dist/@types/components/filter-bar/filter-bar.vue.d.ts +4 -0
- package/dist/@types/components/info-icon/info-icon.vue.d.ts +13 -1
- package/dist/@types/components/input-field/input-field.types.d.ts +18 -3
- package/dist/@types/components/input-field/input-field.vue.d.ts +42 -7
- package/dist/@types/components/internal/copy/copy.vue.d.ts +13 -1
- package/dist/@types/components/internal/grid-layout/index.d.ts +1 -0
- package/dist/@types/components/internal/index.d.ts +1 -0
- package/dist/@types/components/internal/listbox/components/listbox-option/listbox-option.vue.d.ts +1 -1
- 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/base-modal.vue.d.ts +35 -1
- package/dist/@types/components/modal/components/base-modal/index.d.ts +1 -0
- package/dist/@types/components/modal/components/modal-default/modal-default.vue.d.ts +19 -1
- package/dist/@types/components/modal/modal.types.d.ts +5 -0
- package/dist/@types/components/modal/modal.vue.d.ts +21 -1
- package/dist/@types/components/payment-method/payment-method.vue.d.ts +12 -0
- package/dist/@types/components/popover/popover.vue.d.ts +11 -1
- package/dist/@types/components/search-bar/search-bar.vue.d.ts +87 -21
- package/dist/@types/components/summary-grid/components/summary-grid-item/summary-grid-item.vue.d.ts +18 -1
- package/dist/@types/components/summary-grid/components/summary-grid-item-amount/summary-grid-item-amount.vue.d.ts +1 -1
- package/dist/@types/components/summary-grid/components/summary-grid-item-custom/summary-grid-item-custom.vue.d.ts +1 -1
- package/dist/@types/components/summary-grid/components/summary-grid-item-numeric/summary-grid-item-numeric.vue.d.ts +1 -1
- package/dist/@types/components/summary-grid/components/summary-grid-item-percentage/summary-grid-item-percentage.vue.d.ts +1 -1
- package/dist/@types/components/summary-grid/components/summary-grid-item-text/summary-grid-item-text.vue.d.ts +1 -1
- package/dist/@types/components/summary-grid/summary-grid.types.d.ts +1 -1
- package/dist/@types/components/tag/tag.types.d.ts +2 -1
- package/dist/@types/types/date-format.d.ts +14 -0
- package/dist/@types/types/index.d.ts +1 -0
- package/dist/@types/utils/ts/truncate.d.ts +1 -0
- package/dist/index.js +8420 -7329
- package/dist/index.js.map +1 -1
- package/dist/web-types.json +595 -183
- 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
- /package/dist/@types/components/{summary-grid/components → internal}/grid-layout/grid-layout.types.d.ts +0 -0
- /package/dist/@types/components/{summary-grid/components → internal}/grid-layout/grid-layout.vue.d.ts +0 -0
|
@@ -1,5 +1,5 @@
|
|
|
1
1
|
import { PropType } from 'vue';
|
|
2
|
-
import { BentoModalEvent, BentoModalRole, BentoModalSize } from '@/components/modal';
|
|
2
|
+
import { BentoModalColumnLayoutVariant, BentoModalEvent, BentoModalRole, BentoModalSize } from '@/components/modal';
|
|
3
3
|
import { BentoButtonVariant } from '@/components/button/button.types';
|
|
4
4
|
import { BentoTypographyElement, BentoTypographyVariant } from '@/components/typography';
|
|
5
5
|
declare const _default: import("vue").DefineComponent<{
|
|
@@ -19,6 +19,14 @@ declare const _default: import("vue").DefineComponent<{
|
|
|
19
19
|
type: StringConstructor;
|
|
20
20
|
default: any;
|
|
21
21
|
};
|
|
22
|
+
withColumnLayout: {
|
|
23
|
+
type: BooleanConstructor;
|
|
24
|
+
default: boolean;
|
|
25
|
+
};
|
|
26
|
+
columnsSize: {
|
|
27
|
+
type: PropType<BentoModalColumnLayoutVariant>;
|
|
28
|
+
default: BentoModalColumnLayoutVariant;
|
|
29
|
+
};
|
|
22
30
|
isOpen: {
|
|
23
31
|
type: BooleanConstructor;
|
|
24
32
|
required: true;
|
|
@@ -43,11 +51,27 @@ declare const _default: import("vue").DefineComponent<{
|
|
|
43
51
|
[x: string]: boolean | BentoModalSize;
|
|
44
52
|
"b-modal-base__container--visible": boolean;
|
|
45
53
|
}>;
|
|
54
|
+
modalContentConditionalClasses: import("vue").ComputedRef<{
|
|
55
|
+
'b-modal-base__content--column-layout': boolean;
|
|
56
|
+
}>;
|
|
46
57
|
wrapperStyles: import("vue").ComputedRef<{
|
|
47
58
|
padding: string;
|
|
48
59
|
} | {
|
|
49
60
|
padding?: undefined;
|
|
50
61
|
}>;
|
|
62
|
+
dividerStyles: import("vue").ComputedRef<{
|
|
63
|
+
marginLeft: string;
|
|
64
|
+
width: string;
|
|
65
|
+
} | {
|
|
66
|
+
marginLeft?: undefined;
|
|
67
|
+
width?: undefined;
|
|
68
|
+
}>;
|
|
69
|
+
hasColumnLayout: import("vue").ComputedRef<boolean>;
|
|
70
|
+
computedColumnWidth: import("vue").ComputedRef<{
|
|
71
|
+
small: number;
|
|
72
|
+
medium: number;
|
|
73
|
+
large: number;
|
|
74
|
+
}[]>;
|
|
51
75
|
BentoButtonVariant: typeof BentoButtonVariant;
|
|
52
76
|
BentoTypographyElement: typeof BentoTypographyElement;
|
|
53
77
|
BentoTypographyVariant: typeof BentoTypographyVariant;
|
|
@@ -68,6 +92,14 @@ declare const _default: import("vue").DefineComponent<{
|
|
|
68
92
|
type: StringConstructor;
|
|
69
93
|
default: any;
|
|
70
94
|
};
|
|
95
|
+
withColumnLayout: {
|
|
96
|
+
type: BooleanConstructor;
|
|
97
|
+
default: boolean;
|
|
98
|
+
};
|
|
99
|
+
columnsSize: {
|
|
100
|
+
type: PropType<BentoModalColumnLayoutVariant>;
|
|
101
|
+
default: BentoModalColumnLayoutVariant;
|
|
102
|
+
};
|
|
71
103
|
isOpen: {
|
|
72
104
|
type: BooleanConstructor;
|
|
73
105
|
required: true;
|
|
@@ -84,6 +116,8 @@ declare const _default: import("vue").DefineComponent<{
|
|
|
84
116
|
size: BentoModalSize;
|
|
85
117
|
modalRole: string;
|
|
86
118
|
customPadding: string;
|
|
119
|
+
withColumnLayout: boolean;
|
|
120
|
+
columnsSize: BentoModalColumnLayoutVariant;
|
|
87
121
|
initiallyOpen: boolean;
|
|
88
122
|
}>;
|
|
89
123
|
export default _default;
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
export { default as BaseModal } from './base-modal.vue';
|
|
@@ -1,5 +1,5 @@
|
|
|
1
1
|
import { PropType } from 'vue';
|
|
2
|
-
import { BentoModalEvent, BentoModalSize } from '@/components/modal/modal.types';
|
|
2
|
+
import { BentoModalColumnLayoutVariant, BentoModalEvent, BentoModalSize } from '@/components/modal/modal.types';
|
|
3
3
|
import { BentoButtonActionsList, BentoButtonVariant } from '@/components/button';
|
|
4
4
|
import { BentoTypographyElement, BentoTypographyVariant } from '@/components/typography';
|
|
5
5
|
declare const _default: import("vue").DefineComponent<{
|
|
@@ -23,6 +23,14 @@ declare const _default: import("vue").DefineComponent<{
|
|
|
23
23
|
type: StringConstructor;
|
|
24
24
|
default: any;
|
|
25
25
|
};
|
|
26
|
+
withColumnLayout: {
|
|
27
|
+
type: BooleanConstructor;
|
|
28
|
+
default: boolean;
|
|
29
|
+
};
|
|
30
|
+
columnsSize: {
|
|
31
|
+
type: PropType<BentoModalColumnLayoutVariant>;
|
|
32
|
+
default: BentoModalColumnLayoutVariant;
|
|
33
|
+
};
|
|
26
34
|
actions: {
|
|
27
35
|
type: PropType<BentoButtonActionsList>;
|
|
28
36
|
default: any;
|
|
@@ -83,6 +91,14 @@ declare const _default: import("vue").DefineComponent<{
|
|
|
83
91
|
type: StringConstructor;
|
|
84
92
|
default: any;
|
|
85
93
|
};
|
|
94
|
+
withColumnLayout: {
|
|
95
|
+
type: BooleanConstructor;
|
|
96
|
+
default: boolean;
|
|
97
|
+
};
|
|
98
|
+
columnsSize: {
|
|
99
|
+
type: PropType<BentoModalColumnLayoutVariant>;
|
|
100
|
+
default: BentoModalColumnLayoutVariant;
|
|
101
|
+
};
|
|
86
102
|
actions: {
|
|
87
103
|
type: PropType<BentoButtonActionsList>;
|
|
88
104
|
default: any;
|
|
@@ -103,6 +119,8 @@ declare const _default: import("vue").DefineComponent<{
|
|
|
103
119
|
actions: BentoButtonActionsList;
|
|
104
120
|
hideCloseButton: boolean;
|
|
105
121
|
customPadding: string;
|
|
122
|
+
withColumnLayout: boolean;
|
|
123
|
+
columnsSize: BentoModalColumnLayoutVariant;
|
|
106
124
|
initiallyOpen: boolean;
|
|
107
125
|
actionsLabel: string;
|
|
108
126
|
destructiveActions: boolean;
|
|
@@ -7,6 +7,11 @@ export declare enum BentoModalSize {
|
|
|
7
7
|
MEDIUM = "medium",
|
|
8
8
|
LARGE = "large"
|
|
9
9
|
}
|
|
10
|
+
export declare enum BentoModalColumnLayoutVariant {
|
|
11
|
+
SMALLER = "smaller",
|
|
12
|
+
EQUAL = "equal",
|
|
13
|
+
BIGGER = "bigger"
|
|
14
|
+
}
|
|
10
15
|
export declare enum BentoModalRole {
|
|
11
16
|
DIALOG = "dialog",
|
|
12
17
|
ALERT_DIALOG = "alertdialog"
|
|
@@ -1,5 +1,5 @@
|
|
|
1
1
|
import { PropType } from 'vue';
|
|
2
|
-
import { BentoModalDialogType, BentoModalEvent, BentoModalSize, BentoModalVariant } from '@/components/modal/modal.types';
|
|
2
|
+
import { BentoModalColumnLayoutVariant, BentoModalDialogType, BentoModalEvent, BentoModalSize, BentoModalVariant } from '@/components/modal/modal.types';
|
|
3
3
|
import { BentoButtonActionsList } from '@/components/button';
|
|
4
4
|
declare const _default: import("vue").DefineComponent<{
|
|
5
5
|
variant: {
|
|
@@ -30,6 +30,14 @@ declare const _default: import("vue").DefineComponent<{
|
|
|
30
30
|
type: StringConstructor;
|
|
31
31
|
default: any;
|
|
32
32
|
};
|
|
33
|
+
withColumnLayout: {
|
|
34
|
+
type: BooleanConstructor;
|
|
35
|
+
default: boolean;
|
|
36
|
+
};
|
|
37
|
+
columnsSize: {
|
|
38
|
+
type: PropType<BentoModalColumnLayoutVariant>;
|
|
39
|
+
default: BentoModalColumnLayoutVariant;
|
|
40
|
+
};
|
|
33
41
|
actionsLabel: {
|
|
34
42
|
type: StringConstructor;
|
|
35
43
|
default: any;
|
|
@@ -55,6 +63,7 @@ declare const _default: import("vue").DefineComponent<{
|
|
|
55
63
|
actionsLabel: string;
|
|
56
64
|
destructiveActions: boolean;
|
|
57
65
|
isDismissible: boolean;
|
|
66
|
+
withColumnLayout: boolean;
|
|
58
67
|
dialogType?: undefined;
|
|
59
68
|
content?: undefined;
|
|
60
69
|
} | {
|
|
@@ -66,6 +75,7 @@ declare const _default: import("vue").DefineComponent<{
|
|
|
66
75
|
customPadding?: undefined;
|
|
67
76
|
actionsLabel?: undefined;
|
|
68
77
|
destructiveActions?: undefined;
|
|
78
|
+
withColumnLayout?: undefined;
|
|
69
79
|
}>;
|
|
70
80
|
hasSlot: (name: string) => boolean;
|
|
71
81
|
}, {}, {}, {}, import("vue/types/v3-component-options.js").ComponentOptionsMixin, import("vue/types/v3-component-options.js").ComponentOptionsMixin, BentoModalEvent[], string, Readonly<import("vue").ExtractPropTypes<{
|
|
@@ -97,6 +107,14 @@ declare const _default: import("vue").DefineComponent<{
|
|
|
97
107
|
type: StringConstructor;
|
|
98
108
|
default: any;
|
|
99
109
|
};
|
|
110
|
+
withColumnLayout: {
|
|
111
|
+
type: BooleanConstructor;
|
|
112
|
+
default: boolean;
|
|
113
|
+
};
|
|
114
|
+
columnsSize: {
|
|
115
|
+
type: PropType<BentoModalColumnLayoutVariant>;
|
|
116
|
+
default: BentoModalColumnLayoutVariant;
|
|
117
|
+
};
|
|
100
118
|
actionsLabel: {
|
|
101
119
|
type: StringConstructor;
|
|
102
120
|
default: any;
|
|
@@ -121,6 +139,8 @@ declare const _default: import("vue").DefineComponent<{
|
|
|
121
139
|
isDismissible: boolean;
|
|
122
140
|
hideCloseButton: boolean;
|
|
123
141
|
customPadding: string;
|
|
142
|
+
withColumnLayout: boolean;
|
|
143
|
+
columnsSize: BentoModalColumnLayoutVariant;
|
|
124
144
|
isOpen: boolean;
|
|
125
145
|
actionsLabel: string;
|
|
126
146
|
destructiveActions: boolean;
|
|
@@ -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,6 +28,10 @@ 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;
|
|
@@ -70,6 +74,7 @@ declare const _default: import("vue").DefineComponent<{
|
|
|
70
74
|
'b-popover--small': boolean;
|
|
71
75
|
'b-popover--with-divider': boolean;
|
|
72
76
|
'b-popover--large': boolean;
|
|
77
|
+
'b-popover--fit-content': boolean;
|
|
73
78
|
'b-popover--without-space': boolean;
|
|
74
79
|
}>;
|
|
75
80
|
contentConditionalClasses: import("vue").ComputedRef<{
|
|
@@ -104,6 +109,10 @@ declare const _default: import("vue").DefineComponent<{
|
|
|
104
109
|
type: BooleanConstructor;
|
|
105
110
|
default: boolean;
|
|
106
111
|
};
|
|
112
|
+
fitContent: {
|
|
113
|
+
type: BooleanConstructor;
|
|
114
|
+
default: boolean;
|
|
115
|
+
};
|
|
107
116
|
fixedPositioning: {
|
|
108
117
|
type: BooleanConstructor;
|
|
109
118
|
default: boolean;
|
|
@@ -149,12 +158,13 @@ declare const _default: import("vue").DefineComponent<{
|
|
|
149
158
|
ariaLabel: string;
|
|
150
159
|
modifiers: unknown[];
|
|
151
160
|
large: boolean;
|
|
161
|
+
fixedPositioning: boolean;
|
|
152
162
|
actions: BentoButtonActionsList;
|
|
153
163
|
actionsLayout: BentoButtonActionsLayout;
|
|
154
|
-
fixedPositioning: boolean;
|
|
155
164
|
divider: boolean;
|
|
156
165
|
disableFocusTrap: boolean;
|
|
157
166
|
dismissible: boolean;
|
|
167
|
+
fitContent: boolean;
|
|
158
168
|
withoutSpace: boolean;
|
|
159
169
|
}>;
|
|
160
170
|
export default _default;
|
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
import { BentoInputFieldType } from '@/components/input-field';
|
|
1
|
+
import { BentoInputFieldType } from '@/components/input-field/input-field.types';
|
|
2
2
|
declare const _default: import("vue").DefineComponent<{
|
|
3
3
|
inputFieldAriaLabel: {
|
|
4
4
|
type: StringConstructor;
|
|
@@ -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;
|
|
@@ -27,17 +31,29 @@ declare const _default: import("vue").DefineComponent<{
|
|
|
27
31
|
type: BooleanConstructor;
|
|
28
32
|
default: boolean;
|
|
29
33
|
};
|
|
34
|
+
dropdown: {
|
|
35
|
+
type: import("vue").PropType<import("@/components/input-field/input-field.types").BentoInputDropdownProps>;
|
|
36
|
+
default: any;
|
|
37
|
+
};
|
|
38
|
+
dropdownPosition: {
|
|
39
|
+
type: import("vue").PropType<import("@/components/input-field/input-field.types").BentoInputFieldElementPosition>;
|
|
40
|
+
default: import("@/components/input-field/input-field.types").BentoInputFieldElementPosition;
|
|
41
|
+
};
|
|
30
42
|
error: {
|
|
31
43
|
type: BooleanConstructor;
|
|
32
44
|
default: boolean;
|
|
33
45
|
};
|
|
46
|
+
placeholder: {
|
|
47
|
+
type: StringConstructor;
|
|
48
|
+
default: string;
|
|
49
|
+
};
|
|
34
50
|
staticValue: {
|
|
35
51
|
type: StringConstructor;
|
|
36
52
|
default: string;
|
|
37
53
|
};
|
|
38
54
|
staticValuePosition: {
|
|
39
|
-
type: import("vue").PropType<import("@/components/input-field").
|
|
40
|
-
default: import("@/components/input-field").
|
|
55
|
+
type: import("vue").PropType<import("@/components/input-field/input-field.types").BentoInputFieldElementPosition>;
|
|
56
|
+
default: import("@/components/input-field/input-field.types").BentoInputFieldElementPosition;
|
|
41
57
|
};
|
|
42
58
|
type: {
|
|
43
59
|
type: import("vue").PropType<BentoInputFieldType>;
|
|
@@ -48,8 +64,8 @@ declare const _default: import("vue").DefineComponent<{
|
|
|
48
64
|
default: string;
|
|
49
65
|
};
|
|
50
66
|
variant: {
|
|
51
|
-
type: import("vue").PropType<import("@/components/input-field").BentoInputFieldVariant>;
|
|
52
|
-
default: import("@/components/input-field").BentoInputFieldVariant;
|
|
67
|
+
type: import("vue").PropType<import("@/components/input-field/input-field.types").BentoInputFieldVariant>;
|
|
68
|
+
default: import("@/components/input-field/input-field.types").BentoInputFieldVariant;
|
|
53
69
|
};
|
|
54
70
|
}>>, Readonly<import("vue").ExtractPropTypes<{
|
|
55
71
|
ariaHidden: {
|
|
@@ -64,17 +80,29 @@ declare const _default: import("vue").DefineComponent<{
|
|
|
64
80
|
type: BooleanConstructor;
|
|
65
81
|
default: boolean;
|
|
66
82
|
};
|
|
83
|
+
dropdown: {
|
|
84
|
+
type: import("vue").PropType<import("@/components/input-field/input-field.types").BentoInputDropdownProps>;
|
|
85
|
+
default: any;
|
|
86
|
+
};
|
|
87
|
+
dropdownPosition: {
|
|
88
|
+
type: import("vue").PropType<import("@/components/input-field/input-field.types").BentoInputFieldElementPosition>;
|
|
89
|
+
default: import("@/components/input-field/input-field.types").BentoInputFieldElementPosition;
|
|
90
|
+
};
|
|
67
91
|
error: {
|
|
68
92
|
type: BooleanConstructor;
|
|
69
93
|
default: boolean;
|
|
70
94
|
};
|
|
95
|
+
placeholder: {
|
|
96
|
+
type: StringConstructor;
|
|
97
|
+
default: string;
|
|
98
|
+
};
|
|
71
99
|
staticValue: {
|
|
72
100
|
type: StringConstructor;
|
|
73
101
|
default: string;
|
|
74
102
|
};
|
|
75
103
|
staticValuePosition: {
|
|
76
|
-
type: import("vue").PropType<import("@/components/input-field").
|
|
77
|
-
default: import("@/components/input-field").
|
|
104
|
+
type: import("vue").PropType<import("@/components/input-field/input-field.types").BentoInputFieldElementPosition>;
|
|
105
|
+
default: import("@/components/input-field/input-field.types").BentoInputFieldElementPosition;
|
|
78
106
|
};
|
|
79
107
|
type: {
|
|
80
108
|
type: import("vue").PropType<BentoInputFieldType>;
|
|
@@ -85,19 +113,22 @@ declare const _default: import("vue").DefineComponent<{
|
|
|
85
113
|
default: string;
|
|
86
114
|
};
|
|
87
115
|
variant: {
|
|
88
|
-
type: import("vue").PropType<import("@/components/input-field").BentoInputFieldVariant>;
|
|
89
|
-
default: import("@/components/input-field").BentoInputFieldVariant;
|
|
116
|
+
type: import("vue").PropType<import("@/components/input-field/input-field.types").BentoInputFieldVariant>;
|
|
117
|
+
default: import("@/components/input-field/input-field.types").BentoInputFieldVariant;
|
|
90
118
|
};
|
|
91
|
-
}>>, ("input
|
|
119
|
+
}>>, import("@/components/input-field/input-field.types").BentoInputFieldEvent[], {
|
|
92
120
|
type: BentoInputFieldType;
|
|
93
121
|
error: boolean;
|
|
94
122
|
value: string;
|
|
95
123
|
ariaHidden: boolean;
|
|
96
124
|
ariaLabel: string;
|
|
97
125
|
disabled: boolean;
|
|
98
|
-
|
|
126
|
+
placeholder: string;
|
|
127
|
+
variant: import("@/components/input-field/input-field.types").BentoInputFieldVariant;
|
|
128
|
+
dropdown: import("@/components/input-field/input-field.types").BentoInputDropdownProps;
|
|
129
|
+
dropdownPosition: import("@/components/input-field/input-field.types").BentoInputFieldElementPosition;
|
|
99
130
|
staticValue: string;
|
|
100
|
-
staticValuePosition: import("@/components/input-field").
|
|
131
|
+
staticValuePosition: import("@/components/input-field/input-field.types").BentoInputFieldElementPosition;
|
|
101
132
|
}, true, import("vue/types/v3-component-options").ComponentOptionsBase<any, any, any, any, any, any, any, any, any, any>> & Readonly<Readonly<import("vue").ExtractPropTypes<{
|
|
102
133
|
ariaHidden: {
|
|
103
134
|
type: BooleanConstructor;
|
|
@@ -111,17 +142,29 @@ declare const _default: import("vue").DefineComponent<{
|
|
|
111
142
|
type: BooleanConstructor;
|
|
112
143
|
default: boolean;
|
|
113
144
|
};
|
|
145
|
+
dropdown: {
|
|
146
|
+
type: import("vue").PropType<import("@/components/input-field/input-field.types").BentoInputDropdownProps>;
|
|
147
|
+
default: any;
|
|
148
|
+
};
|
|
149
|
+
dropdownPosition: {
|
|
150
|
+
type: import("vue").PropType<import("@/components/input-field/input-field.types").BentoInputFieldElementPosition>;
|
|
151
|
+
default: import("@/components/input-field/input-field.types").BentoInputFieldElementPosition;
|
|
152
|
+
};
|
|
114
153
|
error: {
|
|
115
154
|
type: BooleanConstructor;
|
|
116
155
|
default: boolean;
|
|
117
156
|
};
|
|
157
|
+
placeholder: {
|
|
158
|
+
type: StringConstructor;
|
|
159
|
+
default: string;
|
|
160
|
+
};
|
|
118
161
|
staticValue: {
|
|
119
162
|
type: StringConstructor;
|
|
120
163
|
default: string;
|
|
121
164
|
};
|
|
122
165
|
staticValuePosition: {
|
|
123
|
-
type: import("vue").PropType<import("@/components/input-field").
|
|
124
|
-
default: import("@/components/input-field").
|
|
166
|
+
type: import("vue").PropType<import("@/components/input-field/input-field.types").BentoInputFieldElementPosition>;
|
|
167
|
+
default: import("@/components/input-field/input-field.types").BentoInputFieldElementPosition;
|
|
125
168
|
};
|
|
126
169
|
type: {
|
|
127
170
|
type: import("vue").PropType<BentoInputFieldType>;
|
|
@@ -132,13 +175,16 @@ declare const _default: import("vue").DefineComponent<{
|
|
|
132
175
|
default: string;
|
|
133
176
|
};
|
|
134
177
|
variant: {
|
|
135
|
-
type: import("vue").PropType<import("@/components/input-field").BentoInputFieldVariant>;
|
|
136
|
-
default: import("@/components/input-field").BentoInputFieldVariant;
|
|
178
|
+
type: import("vue").PropType<import("@/components/input-field/input-field.types").BentoInputFieldVariant>;
|
|
179
|
+
default: import("@/components/input-field/input-field.types").BentoInputFieldVariant;
|
|
137
180
|
};
|
|
138
181
|
}>>> & import("vue").ShallowUnwrapRef<{
|
|
139
182
|
BentoTypographyVariant: typeof import("../typography").BentoTypographyVariant;
|
|
140
183
|
BentoTypographyElement: typeof import("../typography").BentoTypographyElement;
|
|
141
|
-
BentoInputFieldVariant: typeof import("@/components/input-field").BentoInputFieldVariant;
|
|
184
|
+
BentoInputFieldVariant: typeof import("@/components/input-field/input-field.types").BentoInputFieldVariant;
|
|
185
|
+
BentoDropdownSize: typeof import("../dropdown/dropdown.types").BentoDropdownSize;
|
|
186
|
+
BentoInputFieldEvent: typeof import("@/components/input-field/input-field.types").BentoInputFieldEvent;
|
|
187
|
+
onDropdownInput: (selectedValue: import("../..").BentoListboxSelectedValue) => void;
|
|
142
188
|
onInput: (event: Event) => void;
|
|
143
189
|
focusInput: () => void;
|
|
144
190
|
hasSlot: (name: string) => boolean;
|
|
@@ -149,6 +195,9 @@ declare const _default: import("vue").DefineComponent<{
|
|
|
149
195
|
inputFieldId: string;
|
|
150
196
|
shouldDisplayStaticValueAtStart: import("vue").ComputedRef<boolean>;
|
|
151
197
|
shouldDisplayStaticValueAtEnd: import("vue").ComputedRef<boolean>;
|
|
198
|
+
shouldShowDropdown: import("vue").ComputedRef<import("@/components/input-field/input-field.types").BentoInputDropdownProps>;
|
|
199
|
+
shouldDisplayDropdownAtStart: import("vue").ComputedRef<boolean>;
|
|
200
|
+
shouldDisplayDropdownAtEnd: import("vue").ComputedRef<boolean>;
|
|
152
201
|
}> & import("vue/types/v3-component-options").ExtractComputedReturns<{}> & import("vue").ComponentCustomProperties & Readonly<import("vue").ExtractPropTypes<{
|
|
153
202
|
ariaHidden: {
|
|
154
203
|
type: BooleanConstructor;
|
|
@@ -162,17 +211,29 @@ declare const _default: import("vue").DefineComponent<{
|
|
|
162
211
|
type: BooleanConstructor;
|
|
163
212
|
default: boolean;
|
|
164
213
|
};
|
|
214
|
+
dropdown: {
|
|
215
|
+
type: import("vue").PropType<import("@/components/input-field/input-field.types").BentoInputDropdownProps>;
|
|
216
|
+
default: any;
|
|
217
|
+
};
|
|
218
|
+
dropdownPosition: {
|
|
219
|
+
type: import("vue").PropType<import("@/components/input-field/input-field.types").BentoInputFieldElementPosition>;
|
|
220
|
+
default: import("@/components/input-field/input-field.types").BentoInputFieldElementPosition;
|
|
221
|
+
};
|
|
165
222
|
error: {
|
|
166
223
|
type: BooleanConstructor;
|
|
167
224
|
default: boolean;
|
|
168
225
|
};
|
|
226
|
+
placeholder: {
|
|
227
|
+
type: StringConstructor;
|
|
228
|
+
default: string;
|
|
229
|
+
};
|
|
169
230
|
staticValue: {
|
|
170
231
|
type: StringConstructor;
|
|
171
232
|
default: string;
|
|
172
233
|
};
|
|
173
234
|
staticValuePosition: {
|
|
174
|
-
type: import("vue").PropType<import("@/components/input-field").
|
|
175
|
-
default: import("@/components/input-field").
|
|
235
|
+
type: import("vue").PropType<import("@/components/input-field/input-field.types").BentoInputFieldElementPosition>;
|
|
236
|
+
default: import("@/components/input-field/input-field.types").BentoInputFieldElementPosition;
|
|
176
237
|
};
|
|
177
238
|
type: {
|
|
178
239
|
type: import("vue").PropType<BentoInputFieldType>;
|
|
@@ -183,8 +244,8 @@ declare const _default: import("vue").DefineComponent<{
|
|
|
183
244
|
default: string;
|
|
184
245
|
};
|
|
185
246
|
variant: {
|
|
186
|
-
type: import("vue").PropType<import("@/components/input-field").BentoInputFieldVariant>;
|
|
187
|
-
default: import("@/components/input-field").BentoInputFieldVariant;
|
|
247
|
+
type: import("vue").PropType<import("@/components/input-field/input-field.types").BentoInputFieldVariant>;
|
|
248
|
+
default: import("@/components/input-field/input-field.types").BentoInputFieldVariant;
|
|
188
249
|
};
|
|
189
250
|
}>>>;
|
|
190
251
|
onClearSearch: () => void;
|
|
@@ -199,12 +260,17 @@ declare const _default: import("vue").DefineComponent<{
|
|
|
199
260
|
type: NumberConstructor;
|
|
200
261
|
default: number;
|
|
201
262
|
};
|
|
263
|
+
placeholder: {
|
|
264
|
+
type: StringConstructor;
|
|
265
|
+
default: string;
|
|
266
|
+
};
|
|
202
267
|
value: {
|
|
203
268
|
type: StringConstructor;
|
|
204
269
|
default: any;
|
|
205
270
|
};
|
|
206
271
|
}>>, {
|
|
207
272
|
value: string;
|
|
273
|
+
placeholder: string;
|
|
208
274
|
debounceTime: number;
|
|
209
275
|
}>;
|
|
210
276
|
export default _default;
|
package/dist/@types/components/summary-grid/components/summary-grid-item/summary-grid-item.vue.d.ts
CHANGED
|
@@ -57,6 +57,23 @@ declare const _default: import("vue").DefineComponent<{
|
|
|
57
57
|
BentoTypographyVariant: typeof BentoTypographyVariant;
|
|
58
58
|
SummaryGridItemType: typeof SummaryGridItemType;
|
|
59
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
|
+
};
|
|
60
77
|
}, {}, {}, {}, import("vue/types/v3-component-options").ComponentOptionsMixin, import("vue/types/v3-component-options").ComponentOptionsMixin, {}, string, Readonly<import("vue").ExtractPropTypes<{
|
|
61
78
|
copy: {
|
|
62
79
|
type: StringConstructor;
|
|
@@ -93,9 +110,9 @@ declare const _default: import("vue").DefineComponent<{
|
|
|
93
110
|
}>>, {
|
|
94
111
|
copy: string;
|
|
95
112
|
size: BentoSummaryGridItemSize;
|
|
113
|
+
fitContent: boolean;
|
|
96
114
|
infoIconTooltipText: string;
|
|
97
115
|
itemType: SummaryGridItemType;
|
|
98
|
-
fitContent: boolean;
|
|
99
116
|
trendDirection: BentoSummaryGridItemTrendDirection;
|
|
100
117
|
trend: string;
|
|
101
118
|
}>;
|
|
@@ -80,8 +80,8 @@ declare const _default: import("vue").DefineComponent<{
|
|
|
80
80
|
}>>, {
|
|
81
81
|
copy: string;
|
|
82
82
|
size: BentoSummaryGridItemSize;
|
|
83
|
-
infoIconTooltipText: string;
|
|
84
83
|
fitContent: boolean;
|
|
84
|
+
infoIconTooltipText: string;
|
|
85
85
|
trendDirection: BentoSummaryGridItemTrendDirection;
|
|
86
86
|
trend: string;
|
|
87
87
|
secondaryLabel: string;
|
|
@@ -72,8 +72,8 @@ declare const _default: import("vue").DefineComponent<{
|
|
|
72
72
|
}>>, {
|
|
73
73
|
copy: string;
|
|
74
74
|
size: BentoSummaryGridItemSize;
|
|
75
|
-
infoIconTooltipText: string;
|
|
76
75
|
fitContent: boolean;
|
|
76
|
+
infoIconTooltipText: string;
|
|
77
77
|
trendDirection: BentoSummaryGridItemTrendDirection;
|
|
78
78
|
trend: string;
|
|
79
79
|
}>;
|
|
@@ -72,8 +72,8 @@ declare const _default: import("vue").DefineComponent<{
|
|
|
72
72
|
}>>, {
|
|
73
73
|
copy: string;
|
|
74
74
|
size: BentoSummaryGridItemSize;
|
|
75
|
-
infoIconTooltipText: string;
|
|
76
75
|
fitContent: boolean;
|
|
76
|
+
infoIconTooltipText: string;
|
|
77
77
|
trendDirection: BentoSummaryGridItemTrendDirection;
|
|
78
78
|
trend: string;
|
|
79
79
|
}>;
|
|
@@ -0,0 +1,14 @@
|
|
|
1
|
+
export declare enum DateFormat {
|
|
2
|
+
DAY_OF_MONTH = "d",
|
|
3
|
+
NUMERIC_DAY = "dd",
|
|
4
|
+
SHORT_WEEKDAY = "EEE",
|
|
5
|
+
NUMERIC_MONTH = "MM",
|
|
6
|
+
SHORT_MONTH = "MMM",
|
|
7
|
+
LONG_MONTH = "MMMM",
|
|
8
|
+
LONG_MONTH_YEAR = "MMMM yyyy",
|
|
9
|
+
FULL_YEAR = "yyyy",
|
|
10
|
+
FULL_DATE = "d MMM, yyyy",
|
|
11
|
+
FULL_DATE_MONTH_FIRST = "MMM dd, yyyy",
|
|
12
|
+
NUMERIC_DATE_YEAR_FIRST = "yyyy-MM-dd",
|
|
13
|
+
NUMERIC_DATE_DAY_FIRST = "yyyy-MM-dd"
|
|
14
|
+
}
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
export declare const truncate: (aString: string, characterLimit: number) => string;
|