@bobbykim/mcl-cards 0.7.4 → 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/index.d.ts +244 -423
- package/dist/mcl-cards.js +190 -198
- package/dist/mcl-cards.umd.cjs +2 -2
- package/package.json +11 -11
package/dist/index.d.ts
CHANGED
|
@@ -1,239 +1,73 @@
|
|
|
1
1
|
import { ColorPalette } from '@bobbykim/manguito-theme';
|
|
2
2
|
import { ComponentOptionsMixin } from 'vue';
|
|
3
|
-
import {
|
|
3
|
+
import { ComponentProvideOptions } from 'vue';
|
|
4
4
|
import { CtaTarget } from '@bobbykim/manguito-theme';
|
|
5
5
|
import { DefineComponent } from 'vue';
|
|
6
|
-
import { ExtractPropTypes } from 'vue';
|
|
7
6
|
import { HeadingSize } from '@bobbykim/manguito-theme';
|
|
8
7
|
import { OpacityRange } from '@bobbykim/manguito-theme';
|
|
9
|
-
import { PropType } from 'vue';
|
|
10
8
|
import { PublicProps } from 'vue';
|
|
9
|
+
import { Range as Range_2 } from '@bobbykim/manguito-theme';
|
|
11
10
|
|
|
12
|
-
declare
|
|
13
|
-
|
|
14
|
-
declare type __VLS_NonUndefinedable_2<T> = T extends undefined ? never : T;
|
|
15
|
-
|
|
16
|
-
declare type __VLS_NonUndefinedable_3<T> = T extends undefined ? never : T;
|
|
17
|
-
|
|
18
|
-
declare type __VLS_NonUndefinedable_4<T> = T extends undefined ? never : T;
|
|
19
|
-
|
|
20
|
-
declare type __VLS_Prettify<T> = {
|
|
21
|
-
[K in keyof T]: T[K];
|
|
22
|
-
} & {};
|
|
23
|
-
|
|
24
|
-
declare type __VLS_Prettify_2<T> = {
|
|
25
|
-
[K in keyof T]: T[K];
|
|
26
|
-
} & {};
|
|
27
|
-
|
|
28
|
-
declare type __VLS_Prettify_3<T> = {
|
|
29
|
-
[K in keyof T]: T[K];
|
|
30
|
-
} & {};
|
|
31
|
-
|
|
32
|
-
declare type __VLS_Prettify_4<T> = {
|
|
33
|
-
[K in keyof T]: T[K];
|
|
34
|
-
} & {};
|
|
35
|
-
|
|
36
|
-
declare type __VLS_TypePropsToRuntimeProps<T> = {
|
|
37
|
-
[K in keyof T]-?: {} extends Pick<T, K> ? {
|
|
38
|
-
type: PropType<__VLS_NonUndefinedable<T[K]>>;
|
|
39
|
-
} : {
|
|
40
|
-
type: PropType<T[K]>;
|
|
41
|
-
required: true;
|
|
42
|
-
};
|
|
43
|
-
};
|
|
44
|
-
|
|
45
|
-
declare type __VLS_TypePropsToRuntimeProps_2<T> = {
|
|
46
|
-
[K in keyof T]-?: {} extends Pick<T, K> ? {
|
|
47
|
-
type: PropType<__VLS_NonUndefinedable_2<T[K]>>;
|
|
48
|
-
} : {
|
|
49
|
-
type: PropType<T[K]>;
|
|
50
|
-
required: true;
|
|
51
|
-
};
|
|
52
|
-
};
|
|
53
|
-
|
|
54
|
-
declare type __VLS_TypePropsToRuntimeProps_3<T> = {
|
|
55
|
-
[K in keyof T]-?: {} extends Pick<T, K> ? {
|
|
56
|
-
type: PropType<__VLS_NonUndefinedable_3<T[K]>>;
|
|
57
|
-
} : {
|
|
58
|
-
type: PropType<T[K]>;
|
|
59
|
-
required: true;
|
|
60
|
-
};
|
|
61
|
-
};
|
|
62
|
-
|
|
63
|
-
declare type __VLS_TypePropsToRuntimeProps_4<T> = {
|
|
64
|
-
[K in keyof T]-?: {} extends Pick<T, K> ? {
|
|
65
|
-
type: PropType<__VLS_NonUndefinedable_4<T[K]>>;
|
|
66
|
-
} : {
|
|
67
|
-
type: PropType<T[K]>;
|
|
68
|
-
required: true;
|
|
69
|
-
};
|
|
70
|
-
};
|
|
71
|
-
|
|
72
|
-
declare type __VLS_WithDefaults<P, D> = {
|
|
73
|
-
[K in keyof Pick<P, keyof P>]: K extends keyof D ? __VLS_Prettify<P[K] & {
|
|
74
|
-
default: D[K];
|
|
75
|
-
}> : P[K];
|
|
76
|
-
};
|
|
77
|
-
|
|
78
|
-
declare type __VLS_WithDefaults_2<P, D> = {
|
|
79
|
-
[K in keyof Pick<P, keyof P>]: K extends keyof D ? __VLS_Prettify_2<P[K] & {
|
|
80
|
-
default: D[K];
|
|
81
|
-
}> : P[K];
|
|
82
|
-
};
|
|
83
|
-
|
|
84
|
-
declare type __VLS_WithDefaults_3<P, D> = {
|
|
85
|
-
[K in keyof Pick<P, keyof P>]: K extends keyof D ? __VLS_Prettify_3<P[K] & {
|
|
86
|
-
default: D[K];
|
|
87
|
-
}> : P[K];
|
|
88
|
-
};
|
|
89
|
-
|
|
90
|
-
declare type __VLS_WithDefaults_4<P, D> = {
|
|
91
|
-
[K in keyof Pick<P, keyof P>]: K extends keyof D ? __VLS_Prettify_4<P[K] & {
|
|
92
|
-
default: D[K];
|
|
93
|
-
}> : P[K];
|
|
94
|
-
};
|
|
95
|
-
|
|
96
|
-
declare type __VLS_WithTemplateSlots<T, S> = T & {
|
|
97
|
-
new (): {
|
|
98
|
-
$slots: S;
|
|
99
|
-
};
|
|
100
|
-
};
|
|
101
|
-
|
|
102
|
-
declare type __VLS_WithTemplateSlots_2<T, S> = T & {
|
|
103
|
-
new (): {
|
|
104
|
-
$slots: S;
|
|
105
|
-
};
|
|
106
|
-
};
|
|
107
|
-
|
|
108
|
-
declare type __VLS_WithTemplateSlots_3<T, S> = T & {
|
|
109
|
-
new (): {
|
|
110
|
-
$slots: S;
|
|
111
|
-
};
|
|
112
|
-
};
|
|
113
|
-
|
|
114
|
-
declare type __VLS_WithTemplateSlots_4<T, S> = T & {
|
|
115
|
-
new (): {
|
|
116
|
-
$slots: S;
|
|
117
|
-
};
|
|
118
|
-
};
|
|
119
|
-
|
|
120
|
-
export declare interface CardClickEvent {
|
|
121
|
-
title: string;
|
|
122
|
-
url: string;
|
|
123
|
-
target?: CtaTarget;
|
|
124
|
-
}
|
|
125
|
-
|
|
126
|
-
declare type ColorMap = {
|
|
127
|
-
[key in ColorPalette]: string;
|
|
128
|
-
};
|
|
129
|
-
|
|
130
|
-
export declare const MclCardA: __VLS_WithTemplateSlots<DefineComponent<__VLS_WithDefaults<__VLS_TypePropsToRuntimeProps<{
|
|
11
|
+
declare const __VLS_component: DefineComponent< {
|
|
131
12
|
title: string;
|
|
132
|
-
titleSize?: HeadingSize
|
|
133
|
-
titleColor?: ColorPalette
|
|
134
|
-
borderColor?: ColorPalette
|
|
135
|
-
bgColor?: ColorPalette
|
|
136
|
-
displayImage?: boolean
|
|
137
|
-
imageSource?: string
|
|
138
|
-
imageAlt?: string
|
|
139
|
-
|
|
140
|
-
|
|
141
|
-
|
|
142
|
-
|
|
143
|
-
|
|
144
|
-
|
|
145
|
-
|
|
146
|
-
|
|
147
|
-
|
|
148
|
-
|
|
149
|
-
|
|
150
|
-
|
|
151
|
-
|
|
152
|
-
|
|
153
|
-
|
|
154
|
-
|
|
155
|
-
|
|
156
|
-
|
|
157
|
-
|
|
158
|
-
borderColor: string;
|
|
159
|
-
bgColor: string;
|
|
160
|
-
displayImage: boolean;
|
|
161
|
-
imageCors: string;
|
|
162
|
-
displayCta: boolean;
|
|
163
|
-
ctaAsLink: boolean;
|
|
164
|
-
ctaColor: string;
|
|
165
|
-
ctaLink: string;
|
|
166
|
-
ctaTarget: string;
|
|
167
|
-
ctaText: string;
|
|
168
|
-
displayLabel: boolean;
|
|
169
|
-
labelText: string;
|
|
170
|
-
labelTextColor: string;
|
|
171
|
-
labelColor: string;
|
|
172
|
-
displayHighlight: boolean;
|
|
173
|
-
highlightColor: string;
|
|
174
|
-
enlargeOnHover: boolean;
|
|
175
|
-
rounded: boolean;
|
|
176
|
-
displayShadow: boolean;
|
|
177
|
-
}>, {}, unknown, {}, {}, ComponentOptionsMixin, ComponentOptionsMixin, {
|
|
178
|
-
"card-click": (event: Event, item: CardClickEvent) => void;
|
|
179
|
-
"card-btn-click": (event: Event, item: CardClickEvent) => void;
|
|
180
|
-
}, string, PublicProps, Readonly<ExtractPropTypes<__VLS_WithDefaults<__VLS_TypePropsToRuntimeProps<{
|
|
13
|
+
titleSize?: HeadingSize;
|
|
14
|
+
titleColor?: ColorPalette;
|
|
15
|
+
borderColor?: ColorPalette;
|
|
16
|
+
bgColor?: ColorPalette;
|
|
17
|
+
displayImage?: boolean;
|
|
18
|
+
imageSource?: string;
|
|
19
|
+
imageAlt?: string;
|
|
20
|
+
displayCta?: boolean;
|
|
21
|
+
ctaAsLink?: boolean;
|
|
22
|
+
ctaText?: string;
|
|
23
|
+
ctaColor?: ColorPalette;
|
|
24
|
+
ctaLink?: string;
|
|
25
|
+
ctaTarget?: CtaTarget;
|
|
26
|
+
displayLabel?: boolean;
|
|
27
|
+
labelText?: string;
|
|
28
|
+
labelTextColor?: ColorPalette;
|
|
29
|
+
labelColor?: ColorPalette;
|
|
30
|
+
enlargeOnHover?: boolean;
|
|
31
|
+
displayHighlight?: boolean;
|
|
32
|
+
highlightColor?: ColorPalette;
|
|
33
|
+
rounded?: boolean;
|
|
34
|
+
displayShadow?: boolean;
|
|
35
|
+
}, {}, {}, {}, {}, ComponentOptionsMixin, ComponentOptionsMixin, {} & {
|
|
36
|
+
"card-click": (event: Event, item: CardClickEvent) => any;
|
|
37
|
+
"card-btn-click": (event: Event, item: CardClickEvent) => any;
|
|
38
|
+
}, string, PublicProps, Readonly<{
|
|
181
39
|
title: string;
|
|
182
|
-
titleSize?: HeadingSize
|
|
183
|
-
titleColor?: ColorPalette
|
|
184
|
-
borderColor?: ColorPalette
|
|
185
|
-
bgColor?: ColorPalette
|
|
186
|
-
displayImage?: boolean
|
|
187
|
-
imageSource?: string
|
|
188
|
-
imageAlt?: string
|
|
189
|
-
|
|
190
|
-
|
|
191
|
-
|
|
192
|
-
|
|
193
|
-
|
|
194
|
-
|
|
195
|
-
|
|
196
|
-
|
|
197
|
-
|
|
198
|
-
|
|
199
|
-
|
|
200
|
-
|
|
201
|
-
|
|
202
|
-
|
|
203
|
-
|
|
204
|
-
|
|
205
|
-
}>, {
|
|
206
|
-
titleSize: string;
|
|
207
|
-
titleColor: string;
|
|
208
|
-
borderColor: string;
|
|
209
|
-
bgColor: string;
|
|
210
|
-
displayImage: boolean;
|
|
211
|
-
imageCors: string;
|
|
212
|
-
displayCta: boolean;
|
|
213
|
-
ctaAsLink: boolean;
|
|
214
|
-
ctaColor: string;
|
|
215
|
-
ctaLink: string;
|
|
216
|
-
ctaTarget: string;
|
|
217
|
-
ctaText: string;
|
|
218
|
-
displayLabel: boolean;
|
|
219
|
-
labelText: string;
|
|
220
|
-
labelTextColor: string;
|
|
221
|
-
labelColor: string;
|
|
222
|
-
displayHighlight: boolean;
|
|
223
|
-
highlightColor: string;
|
|
224
|
-
enlargeOnHover: boolean;
|
|
225
|
-
rounded: boolean;
|
|
226
|
-
displayShadow: boolean;
|
|
227
|
-
}>>> & {
|
|
40
|
+
titleSize?: HeadingSize;
|
|
41
|
+
titleColor?: ColorPalette;
|
|
42
|
+
borderColor?: ColorPalette;
|
|
43
|
+
bgColor?: ColorPalette;
|
|
44
|
+
displayImage?: boolean;
|
|
45
|
+
imageSource?: string;
|
|
46
|
+
imageAlt?: string;
|
|
47
|
+
displayCta?: boolean;
|
|
48
|
+
ctaAsLink?: boolean;
|
|
49
|
+
ctaText?: string;
|
|
50
|
+
ctaColor?: ColorPalette;
|
|
51
|
+
ctaLink?: string;
|
|
52
|
+
ctaTarget?: CtaTarget;
|
|
53
|
+
displayLabel?: boolean;
|
|
54
|
+
labelText?: string;
|
|
55
|
+
labelTextColor?: ColorPalette;
|
|
56
|
+
labelColor?: ColorPalette;
|
|
57
|
+
enlargeOnHover?: boolean;
|
|
58
|
+
displayHighlight?: boolean;
|
|
59
|
+
highlightColor?: ColorPalette;
|
|
60
|
+
rounded?: boolean;
|
|
61
|
+
displayShadow?: boolean;
|
|
62
|
+
}> & Readonly<{
|
|
228
63
|
"onCard-click"?: ((event: Event, item: CardClickEvent) => any) | undefined;
|
|
229
64
|
"onCard-btn-click"?: ((event: Event, item: CardClickEvent) => any) | undefined;
|
|
230
|
-
}
|
|
65
|
+
}>, {
|
|
231
66
|
titleSize: HeadingSize;
|
|
232
67
|
titleColor: ColorPalette;
|
|
233
68
|
borderColor: ColorPalette;
|
|
234
69
|
bgColor: ColorPalette;
|
|
235
70
|
displayImage: boolean;
|
|
236
|
-
imageCors: CrossOrigin;
|
|
237
71
|
displayCta: boolean;
|
|
238
72
|
ctaAsLink: boolean;
|
|
239
73
|
ctaText: string;
|
|
@@ -249,240 +83,141 @@ displayHighlight: boolean;
|
|
|
249
83
|
highlightColor: ColorPalette;
|
|
250
84
|
rounded: boolean;
|
|
251
85
|
displayShadow: boolean;
|
|
252
|
-
}, {}
|
|
253
|
-
default: any;
|
|
254
|
-
}> & {
|
|
255
|
-
default: any;
|
|
256
|
-
}>;
|
|
86
|
+
}, {}, {}, {}, string, ComponentProvideOptions, false, {}, any>;
|
|
257
87
|
|
|
258
|
-
|
|
88
|
+
declare const __VLS_component_2: DefineComponent< {
|
|
259
89
|
title: string;
|
|
260
|
-
titleSize?: HeadingSize
|
|
261
|
-
titleColor?: ColorPalette
|
|
262
|
-
titleBlockColor?: ColorPalette
|
|
263
|
-
borderColor?: ColorPalette
|
|
264
|
-
imageSource?: string
|
|
265
|
-
imageAlt?: string
|
|
266
|
-
|
|
267
|
-
|
|
268
|
-
|
|
269
|
-
|
|
270
|
-
|
|
271
|
-
|
|
272
|
-
|
|
273
|
-
|
|
274
|
-
titleColor: string;
|
|
275
|
-
titleBlockColor: string;
|
|
276
|
-
borderColor: string;
|
|
277
|
-
displayGrayScale: boolean;
|
|
278
|
-
imageCors: string;
|
|
279
|
-
ctaAsLink: boolean;
|
|
280
|
-
ctaLink: string;
|
|
281
|
-
ctaTarget: string;
|
|
282
|
-
rounded: boolean;
|
|
283
|
-
}>, {}, unknown, {}, {}, ComponentOptionsMixin, ComponentOptionsMixin, {
|
|
284
|
-
"card-click": (event: Event, item: CardClickEvent) => void;
|
|
285
|
-
}, string, PublicProps, Readonly<ExtractPropTypes<__VLS_WithDefaults_2<__VLS_TypePropsToRuntimeProps_2<{
|
|
90
|
+
titleSize?: HeadingSize;
|
|
91
|
+
titleColor?: ColorPalette;
|
|
92
|
+
titleBlockColor?: ColorPalette;
|
|
93
|
+
borderColor?: ColorPalette;
|
|
94
|
+
imageSource?: string;
|
|
95
|
+
imageAlt?: string;
|
|
96
|
+
displayGrayScale?: boolean;
|
|
97
|
+
ctaAsLink?: boolean;
|
|
98
|
+
ctaLink?: string;
|
|
99
|
+
ctaTarget?: CtaTarget;
|
|
100
|
+
rounded?: boolean;
|
|
101
|
+
}, {}, {}, {}, {}, ComponentOptionsMixin, ComponentOptionsMixin, {} & {
|
|
102
|
+
"card-click": (event: Event, item: CardClickEvent) => any;
|
|
103
|
+
}, string, PublicProps, Readonly<{
|
|
286
104
|
title: string;
|
|
287
|
-
titleSize?: HeadingSize
|
|
288
|
-
titleColor?: ColorPalette
|
|
289
|
-
titleBlockColor?: ColorPalette
|
|
290
|
-
borderColor?: ColorPalette
|
|
291
|
-
imageSource?: string
|
|
292
|
-
imageAlt?: string
|
|
293
|
-
|
|
294
|
-
|
|
295
|
-
|
|
296
|
-
|
|
297
|
-
|
|
298
|
-
|
|
299
|
-
}>, {
|
|
300
|
-
titleSize: string;
|
|
301
|
-
titleColor: string;
|
|
302
|
-
titleBlockColor: string;
|
|
303
|
-
borderColor: string;
|
|
304
|
-
displayGrayScale: boolean;
|
|
305
|
-
imageCors: string;
|
|
306
|
-
ctaAsLink: boolean;
|
|
307
|
-
ctaLink: string;
|
|
308
|
-
ctaTarget: string;
|
|
309
|
-
rounded: boolean;
|
|
310
|
-
}>>> & {
|
|
105
|
+
titleSize?: HeadingSize;
|
|
106
|
+
titleColor?: ColorPalette;
|
|
107
|
+
titleBlockColor?: ColorPalette;
|
|
108
|
+
borderColor?: ColorPalette;
|
|
109
|
+
imageSource?: string;
|
|
110
|
+
imageAlt?: string;
|
|
111
|
+
displayGrayScale?: boolean;
|
|
112
|
+
ctaAsLink?: boolean;
|
|
113
|
+
ctaLink?: string;
|
|
114
|
+
ctaTarget?: CtaTarget;
|
|
115
|
+
rounded?: boolean;
|
|
116
|
+
}> & Readonly<{
|
|
311
117
|
"onCard-click"?: ((event: Event, item: CardClickEvent) => any) | undefined;
|
|
312
|
-
}
|
|
118
|
+
}>, {
|
|
313
119
|
titleSize: HeadingSize;
|
|
314
120
|
titleColor: ColorPalette;
|
|
315
121
|
borderColor: ColorPalette;
|
|
316
|
-
imageCors: CrossOrigin;
|
|
317
122
|
ctaAsLink: boolean;
|
|
318
123
|
ctaLink: string;
|
|
319
124
|
ctaTarget: CtaTarget;
|
|
320
125
|
rounded: boolean;
|
|
321
126
|
titleBlockColor: ColorPalette;
|
|
322
127
|
displayGrayScale: boolean;
|
|
323
|
-
}, {}
|
|
324
|
-
default: any;
|
|
325
|
-
}> & {
|
|
326
|
-
default: any;
|
|
327
|
-
}>;
|
|
128
|
+
}, {}, {}, {}, string, ComponentProvideOptions, false, {}, any>;
|
|
328
129
|
|
|
329
|
-
|
|
130
|
+
declare const __VLS_component_3: DefineComponent< {
|
|
330
131
|
imageSource: string;
|
|
331
|
-
imageAlt?: string
|
|
332
|
-
title?: string
|
|
333
|
-
titleSize?: HeadingSize
|
|
334
|
-
titleColor?: ColorPalette
|
|
335
|
-
displayHighlight?: boolean
|
|
336
|
-
highlightColor?: ColorPalette
|
|
337
|
-
highlightOpacity?: OpacityRange
|
|
338
|
-
displayTitle?: boolean
|
|
339
|
-
cardColor?: ColorPalette
|
|
340
|
-
|
|
341
|
-
|
|
342
|
-
|
|
343
|
-
titleColor: string;
|
|
344
|
-
displayHighlight: boolean;
|
|
345
|
-
highlightColor: string;
|
|
346
|
-
highlightOpacity: number;
|
|
347
|
-
displayTitle: boolean;
|
|
348
|
-
cardColor: string;
|
|
349
|
-
imageCors: string;
|
|
350
|
-
}>, {}, unknown, {}, {}, ComponentOptionsMixin, ComponentOptionsMixin, {
|
|
351
|
-
"card-click": (event: Event) => void;
|
|
352
|
-
}, string, PublicProps, Readonly<ExtractPropTypes<__VLS_WithDefaults_3<__VLS_TypePropsToRuntimeProps_3<{
|
|
132
|
+
imageAlt?: string;
|
|
133
|
+
title?: string;
|
|
134
|
+
titleSize?: HeadingSize;
|
|
135
|
+
titleColor?: ColorPalette;
|
|
136
|
+
displayHighlight?: boolean;
|
|
137
|
+
highlightColor?: ColorPalette;
|
|
138
|
+
highlightOpacity?: OpacityRange;
|
|
139
|
+
displayTitle?: boolean;
|
|
140
|
+
cardColor?: ColorPalette;
|
|
141
|
+
}, {}, {}, {}, {}, ComponentOptionsMixin, ComponentOptionsMixin, {} & {
|
|
142
|
+
"card-click": (event: Event) => any;
|
|
143
|
+
}, string, PublicProps, Readonly<{
|
|
353
144
|
imageSource: string;
|
|
354
|
-
imageAlt?: string
|
|
355
|
-
title?: string
|
|
356
|
-
titleSize?: HeadingSize
|
|
357
|
-
titleColor?: ColorPalette
|
|
358
|
-
displayHighlight?: boolean
|
|
359
|
-
highlightColor?: ColorPalette
|
|
360
|
-
highlightOpacity?: OpacityRange
|
|
361
|
-
displayTitle?: boolean
|
|
362
|
-
cardColor?: ColorPalette
|
|
363
|
-
|
|
364
|
-
}>, {
|
|
365
|
-
titleSize: string;
|
|
366
|
-
titleColor: string;
|
|
367
|
-
displayHighlight: boolean;
|
|
368
|
-
highlightColor: string;
|
|
369
|
-
highlightOpacity: number;
|
|
370
|
-
displayTitle: boolean;
|
|
371
|
-
cardColor: string;
|
|
372
|
-
imageCors: string;
|
|
373
|
-
}>>> & {
|
|
145
|
+
imageAlt?: string;
|
|
146
|
+
title?: string;
|
|
147
|
+
titleSize?: HeadingSize;
|
|
148
|
+
titleColor?: ColorPalette;
|
|
149
|
+
displayHighlight?: boolean;
|
|
150
|
+
highlightColor?: ColorPalette;
|
|
151
|
+
highlightOpacity?: OpacityRange;
|
|
152
|
+
displayTitle?: boolean;
|
|
153
|
+
cardColor?: ColorPalette;
|
|
154
|
+
}> & Readonly<{
|
|
374
155
|
"onCard-click"?: ((event: Event) => any) | undefined;
|
|
375
|
-
}
|
|
156
|
+
}>, {
|
|
376
157
|
titleSize: HeadingSize;
|
|
377
158
|
titleColor: ColorPalette;
|
|
378
|
-
imageCors: CrossOrigin;
|
|
379
159
|
displayHighlight: boolean;
|
|
380
160
|
highlightColor: ColorPalette;
|
|
381
161
|
highlightOpacity: OpacityRange;
|
|
382
162
|
displayTitle: boolean;
|
|
383
163
|
cardColor: ColorPalette;
|
|
384
|
-
}, {}
|
|
385
|
-
'card-body': any;
|
|
386
|
-
}> & {
|
|
387
|
-
'card-body': any;
|
|
388
|
-
}>;
|
|
164
|
+
}, {}, {}, {}, string, ComponentProvideOptions, false, {}, any>;
|
|
389
165
|
|
|
390
|
-
|
|
391
|
-
displayImage?: boolean
|
|
392
|
-
imageSource?: string
|
|
393
|
-
imageAlt?: string
|
|
394
|
-
imageCors?: CrossOrigin | undefined;
|
|
166
|
+
declare const __VLS_component_4: DefineComponent< {
|
|
167
|
+
displayImage?: boolean;
|
|
168
|
+
imageSource?: string;
|
|
169
|
+
imageAlt?: string;
|
|
395
170
|
title: string;
|
|
396
|
-
titleSize?: HeadingSize
|
|
397
|
-
titleColor?: ColorPalette
|
|
398
|
-
bgColor?: ColorPalette
|
|
399
|
-
displayHighlight?: boolean
|
|
400
|
-
highlightColor?: ColorPalette
|
|
401
|
-
ctaText?: string
|
|
171
|
+
titleSize?: HeadingSize;
|
|
172
|
+
titleColor?: ColorPalette;
|
|
173
|
+
bgColor?: ColorPalette;
|
|
174
|
+
displayHighlight?: boolean;
|
|
175
|
+
highlightColor?: ColorPalette;
|
|
176
|
+
ctaText?: string;
|
|
402
177
|
ctaLink: string;
|
|
403
|
-
ctaLinkTarget?: CtaTarget
|
|
404
|
-
ctaAsLink?: boolean
|
|
405
|
-
ctaButton?: boolean
|
|
406
|
-
ctaButtonColor?: ColorPalette
|
|
407
|
-
ctaButtonBlock?: boolean
|
|
408
|
-
borderWidth?: 1
|
|
409
|
-
borderColor?: ColorPalette
|
|
410
|
-
gradient1?: ColorPalette
|
|
411
|
-
gradient2?: ColorPalette
|
|
412
|
-
customColor?: ColorMap
|
|
413
|
-
}
|
|
414
|
-
|
|
415
|
-
|
|
416
|
-
|
|
417
|
-
|
|
418
|
-
|
|
419
|
-
bgColor: string;
|
|
420
|
-
displayHighlight: boolean;
|
|
421
|
-
highlightColor: string;
|
|
422
|
-
ctaText: string;
|
|
423
|
-
ctaLinkTarget: string;
|
|
424
|
-
ctaAsLink: boolean;
|
|
425
|
-
ctaButton: boolean;
|
|
426
|
-
ctaButtonColor: string;
|
|
427
|
-
ctaButtonBlock: boolean;
|
|
428
|
-
borderWidth: number;
|
|
429
|
-
borderColor: string;
|
|
430
|
-
gradient1: string;
|
|
431
|
-
gradient2: string;
|
|
432
|
-
}>, {}, unknown, {}, {}, ComponentOptionsMixin, ComponentOptionsMixin, {
|
|
433
|
-
"card-click": (event: Event, item: CardClickEvent) => void;
|
|
434
|
-
}, string, PublicProps, Readonly<ExtractPropTypes<__VLS_WithDefaults_4<__VLS_TypePropsToRuntimeProps_4<{
|
|
435
|
-
displayImage?: boolean | undefined;
|
|
436
|
-
imageSource?: string | undefined;
|
|
437
|
-
imageAlt?: string | undefined;
|
|
438
|
-
imageCors?: CrossOrigin | undefined;
|
|
178
|
+
ctaLinkTarget?: CtaTarget;
|
|
179
|
+
ctaAsLink?: boolean;
|
|
180
|
+
ctaButton?: boolean;
|
|
181
|
+
ctaButtonColor?: ColorPalette;
|
|
182
|
+
ctaButtonBlock?: boolean;
|
|
183
|
+
borderWidth?: Range_2<1, 10>;
|
|
184
|
+
borderColor?: ColorPalette;
|
|
185
|
+
gradient1?: ColorPalette;
|
|
186
|
+
gradient2?: ColorPalette;
|
|
187
|
+
customColor?: ColorMap;
|
|
188
|
+
}, {}, {}, {}, {}, ComponentOptionsMixin, ComponentOptionsMixin, {} & {
|
|
189
|
+
"card-click": (event: Event, item: CardClickEvent) => any;
|
|
190
|
+
}, string, PublicProps, Readonly<{
|
|
191
|
+
displayImage?: boolean;
|
|
192
|
+
imageSource?: string;
|
|
193
|
+
imageAlt?: string;
|
|
439
194
|
title: string;
|
|
440
|
-
titleSize?: HeadingSize
|
|
441
|
-
titleColor?: ColorPalette
|
|
442
|
-
bgColor?: ColorPalette
|
|
443
|
-
displayHighlight?: boolean
|
|
444
|
-
highlightColor?: ColorPalette
|
|
445
|
-
ctaText?: string
|
|
195
|
+
titleSize?: HeadingSize;
|
|
196
|
+
titleColor?: ColorPalette;
|
|
197
|
+
bgColor?: ColorPalette;
|
|
198
|
+
displayHighlight?: boolean;
|
|
199
|
+
highlightColor?: ColorPalette;
|
|
200
|
+
ctaText?: string;
|
|
446
201
|
ctaLink: string;
|
|
447
|
-
ctaLinkTarget?: CtaTarget
|
|
448
|
-
ctaAsLink?: boolean
|
|
449
|
-
ctaButton?: boolean
|
|
450
|
-
ctaButtonColor?: ColorPalette
|
|
451
|
-
ctaButtonBlock?: boolean
|
|
452
|
-
borderWidth?: 1
|
|
453
|
-
borderColor?: ColorPalette
|
|
454
|
-
gradient1?: ColorPalette
|
|
455
|
-
gradient2?: ColorPalette
|
|
456
|
-
customColor?: ColorMap
|
|
457
|
-
}
|
|
458
|
-
displayImage: boolean;
|
|
459
|
-
imageAlt: string;
|
|
460
|
-
imageCors: string;
|
|
461
|
-
titleSize: string;
|
|
462
|
-
titleColor: string;
|
|
463
|
-
bgColor: string;
|
|
464
|
-
displayHighlight: boolean;
|
|
465
|
-
highlightColor: string;
|
|
466
|
-
ctaText: string;
|
|
467
|
-
ctaLinkTarget: string;
|
|
468
|
-
ctaAsLink: boolean;
|
|
469
|
-
ctaButton: boolean;
|
|
470
|
-
ctaButtonColor: string;
|
|
471
|
-
ctaButtonBlock: boolean;
|
|
472
|
-
borderWidth: number;
|
|
473
|
-
borderColor: string;
|
|
474
|
-
gradient1: string;
|
|
475
|
-
gradient2: string;
|
|
476
|
-
}>>> & {
|
|
202
|
+
ctaLinkTarget?: CtaTarget;
|
|
203
|
+
ctaAsLink?: boolean;
|
|
204
|
+
ctaButton?: boolean;
|
|
205
|
+
ctaButtonColor?: ColorPalette;
|
|
206
|
+
ctaButtonBlock?: boolean;
|
|
207
|
+
borderWidth?: Range_2<1, 10>;
|
|
208
|
+
borderColor?: ColorPalette;
|
|
209
|
+
gradient1?: ColorPalette;
|
|
210
|
+
gradient2?: ColorPalette;
|
|
211
|
+
customColor?: ColorMap;
|
|
212
|
+
}> & Readonly<{
|
|
477
213
|
"onCard-click"?: ((event: Event, item: CardClickEvent) => any) | undefined;
|
|
478
|
-
}
|
|
214
|
+
}>, {
|
|
479
215
|
titleSize: HeadingSize;
|
|
480
216
|
titleColor: ColorPalette;
|
|
481
217
|
borderColor: ColorPalette;
|
|
482
218
|
bgColor: ColorPalette;
|
|
483
219
|
displayImage: boolean;
|
|
484
220
|
imageAlt: string;
|
|
485
|
-
imageCors: CrossOrigin;
|
|
486
221
|
ctaAsLink: boolean;
|
|
487
222
|
ctaText: string;
|
|
488
223
|
displayHighlight: boolean;
|
|
@@ -491,13 +226,99 @@ ctaLinkTarget: CtaTarget;
|
|
|
491
226
|
ctaButton: boolean;
|
|
492
227
|
ctaButtonColor: ColorPalette;
|
|
493
228
|
ctaButtonBlock: boolean;
|
|
494
|
-
borderWidth: 1
|
|
229
|
+
borderWidth: Range_2<1, 10>;
|
|
495
230
|
gradient1: ColorPalette;
|
|
496
231
|
gradient2: ColorPalette;
|
|
497
|
-
}, {}
|
|
498
|
-
|
|
499
|
-
|
|
500
|
-
|
|
501
|
-
|
|
232
|
+
}, {}, {}, {}, string, ComponentProvideOptions, false, {}, any>;
|
|
233
|
+
|
|
234
|
+
declare function __VLS_template(): {
|
|
235
|
+
slots: Readonly<{
|
|
236
|
+
default: any;
|
|
237
|
+
}> & {
|
|
238
|
+
default: any;
|
|
239
|
+
};
|
|
240
|
+
refs: {};
|
|
241
|
+
attrs: Partial<{}>;
|
|
242
|
+
};
|
|
243
|
+
|
|
244
|
+
declare function __VLS_template_2(): {
|
|
245
|
+
slots: Readonly<{
|
|
246
|
+
default: any;
|
|
247
|
+
}> & {
|
|
248
|
+
default: any;
|
|
249
|
+
};
|
|
250
|
+
refs: {};
|
|
251
|
+
attrs: Partial<{}>;
|
|
252
|
+
};
|
|
253
|
+
|
|
254
|
+
declare function __VLS_template_3(): {
|
|
255
|
+
slots: Readonly<{
|
|
256
|
+
'card-body': any;
|
|
257
|
+
}> & {
|
|
258
|
+
'card-body': any;
|
|
259
|
+
};
|
|
260
|
+
refs: {};
|
|
261
|
+
attrs: Partial<{}>;
|
|
262
|
+
};
|
|
263
|
+
|
|
264
|
+
declare function __VLS_template_4(): {
|
|
265
|
+
slots: Readonly<{
|
|
266
|
+
default: any;
|
|
267
|
+
}> & {
|
|
268
|
+
default: any;
|
|
269
|
+
};
|
|
270
|
+
refs: {};
|
|
271
|
+
attrs: Partial<{}>;
|
|
272
|
+
};
|
|
273
|
+
|
|
274
|
+
declare type __VLS_TemplateResult = ReturnType<typeof __VLS_template>;
|
|
275
|
+
|
|
276
|
+
declare type __VLS_TemplateResult_2 = ReturnType<typeof __VLS_template_2>;
|
|
277
|
+
|
|
278
|
+
declare type __VLS_TemplateResult_3 = ReturnType<typeof __VLS_template_3>;
|
|
279
|
+
|
|
280
|
+
declare type __VLS_TemplateResult_4 = ReturnType<typeof __VLS_template_4>;
|
|
281
|
+
|
|
282
|
+
declare type __VLS_WithTemplateSlots<T, S> = T & {
|
|
283
|
+
new (): {
|
|
284
|
+
$slots: S;
|
|
285
|
+
};
|
|
286
|
+
};
|
|
287
|
+
|
|
288
|
+
declare type __VLS_WithTemplateSlots_2<T, S> = T & {
|
|
289
|
+
new (): {
|
|
290
|
+
$slots: S;
|
|
291
|
+
};
|
|
292
|
+
};
|
|
293
|
+
|
|
294
|
+
declare type __VLS_WithTemplateSlots_3<T, S> = T & {
|
|
295
|
+
new (): {
|
|
296
|
+
$slots: S;
|
|
297
|
+
};
|
|
298
|
+
};
|
|
299
|
+
|
|
300
|
+
declare type __VLS_WithTemplateSlots_4<T, S> = T & {
|
|
301
|
+
new (): {
|
|
302
|
+
$slots: S;
|
|
303
|
+
};
|
|
304
|
+
};
|
|
305
|
+
|
|
306
|
+
export declare interface CardClickEvent {
|
|
307
|
+
title: string;
|
|
308
|
+
url: string;
|
|
309
|
+
target?: CtaTarget;
|
|
310
|
+
}
|
|
311
|
+
|
|
312
|
+
declare type ColorMap = {
|
|
313
|
+
[key in ColorPalette]: string;
|
|
314
|
+
};
|
|
315
|
+
|
|
316
|
+
export declare const MclCardA: __VLS_WithTemplateSlots<typeof __VLS_component, __VLS_TemplateResult["slots"]>;
|
|
317
|
+
|
|
318
|
+
export declare const MclCardB: __VLS_WithTemplateSlots_2<typeof __VLS_component_2, __VLS_TemplateResult_2["slots"]>;
|
|
319
|
+
|
|
320
|
+
export declare const MclCardC: __VLS_WithTemplateSlots_3<typeof __VLS_component_3, __VLS_TemplateResult_3["slots"]>;
|
|
321
|
+
|
|
322
|
+
export declare const MclCardD: __VLS_WithTemplateSlots_4<typeof __VLS_component_4, __VLS_TemplateResult_4["slots"]>;
|
|
502
323
|
|
|
503
324
|
export { }
|