@nuxt/ui 2.18.5 → 2.18.7
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/module.json +1 -1
- package/dist/module.mjs +1 -1
- package/dist/runtime/components/data/Table.vue +3 -3
- package/dist/runtime/components/data/Table.vue.d.ts +285 -21
- package/dist/runtime/components/elements/Accordion.vue.d.ts +119 -11
- package/dist/runtime/components/elements/Alert.vue.d.ts +204 -16
- package/dist/runtime/components/elements/Avatar.vue.d.ts +66 -4
- package/dist/runtime/components/elements/AvatarGroup.d.ts +7 -1
- package/dist/runtime/components/elements/Badge.vue.d.ts +40 -4
- package/dist/runtime/components/elements/Button.vue.d.ts +91 -8
- package/dist/runtime/components/elements/ButtonGroup.d.ts +103 -2
- package/dist/runtime/components/elements/Carousel.vue +15 -6
- package/dist/runtime/components/elements/Carousel.vue.d.ts +130 -11
- package/dist/runtime/components/elements/Chip.vue.d.ts +41 -4
- package/dist/runtime/components/elements/Dropdown.vue +1 -1
- package/dist/runtime/components/elements/Dropdown.vue.d.ts +152 -10
- package/dist/runtime/components/elements/Kbd.vue.d.ts +23 -4
- package/dist/runtime/components/elements/Link.vue.d.ts +2 -2
- package/dist/runtime/components/elements/Meter.vue.d.ts +83 -4
- package/dist/runtime/components/elements/MeterGroup.d.ts +54 -2
- package/dist/runtime/components/elements/Progress.vue.d.ts +81 -4
- package/dist/runtime/components/forms/Checkbox.vue.d.ts +29 -8
- package/dist/runtime/components/forms/FormGroup.vue.d.ts +32 -4
- package/dist/runtime/components/forms/Input.vue.d.ts +123 -7
- package/dist/runtime/components/forms/InputMenu.vue.d.ts +254 -14
- package/dist/runtime/components/forms/Radio.vue.d.ts +28 -8
- package/dist/runtime/components/forms/RadioGroup.vue.d.ts +68 -17
- package/dist/runtime/components/forms/Range.vue.d.ts +72 -6
- package/dist/runtime/components/forms/Select.vue.d.ts +120 -7
- package/dist/runtime/components/forms/SelectMenu.vue +1 -1
- package/dist/runtime/components/forms/SelectMenu.vue.d.ts +261 -14
- package/dist/runtime/components/forms/Textarea.vue.d.ts +122 -7
- package/dist/runtime/components/forms/Toggle.vue.d.ts +71 -6
- package/dist/runtime/components/layout/Card.vue.d.ts +30 -4
- package/dist/runtime/components/layout/Container.vue.d.ts +12 -4
- package/dist/runtime/components/layout/Divider.vue.d.ts +124 -8
- package/dist/runtime/components/layout/Skeleton.vue.d.ts +12 -4
- package/dist/runtime/components/navigation/Breadcrumb.vue.d.ts +29 -6
- package/dist/runtime/components/navigation/CommandPalette.vue.d.ts +256 -18
- package/dist/runtime/components/navigation/CommandPaletteGroup.vue.d.ts +87 -6
- package/dist/runtime/components/navigation/HorizontalNavigation.vue.d.ts +139 -12
- package/dist/runtime/components/navigation/Pagination.vue.d.ts +131 -11
- package/dist/runtime/components/navigation/Tabs.vue.d.ts +41 -4
- package/dist/runtime/components/navigation/VerticalNavigation.vue.d.ts +269 -19
- package/dist/runtime/components/overlays/ContextMenu.vue.d.ts +37 -4
- package/dist/runtime/components/overlays/Modal.vue +2 -2
- package/dist/runtime/components/overlays/Modal.vue.d.ts +50 -5
- package/dist/runtime/components/overlays/Notification.vue.d.ts +213 -16
- package/dist/runtime/components/overlays/Notifications.vue.d.ts +225 -19
- package/dist/runtime/components/overlays/Popover.vue +1 -1
- package/dist/runtime/components/overlays/Popover.vue.d.ts +53 -4
- package/dist/runtime/components/overlays/Slideover.vue +2 -2
- package/dist/runtime/components/overlays/Slideover.vue.d.ts +49 -5
- package/dist/runtime/components/overlays/Tooltip.vue +5 -3
- package/dist/runtime/components/overlays/Tooltip.vue.d.ts +66 -7
- package/dist/runtime/composables/useFormGroup.js +1 -1
- package/dist/runtime/composables/useUI.d.ts +2 -2
- package/dist/runtime/composables/useUI.js +1 -1
- package/dist/runtime/ui.config/elements/carousel.js +2 -2
- package/dist/runtime/ui.config/navigation/tabs.js +1 -1
- package/dist/runtime/utils/link.js +1 -1
- package/package.json +10 -10
|
@@ -1,5 +1,5 @@
|
|
|
1
1
|
import type { PropType } from 'vue';
|
|
2
|
-
import type { Avatar, Button, AlertColor, AlertVariant, AlertAction, Strategy } from '../../types/index.js';
|
|
2
|
+
import type { Avatar, Button, AlertColor, AlertVariant, AlertAction, Strategy, DeepPartial } from '../../types/index.js';
|
|
3
3
|
declare const config: {
|
|
4
4
|
wrapper: string;
|
|
5
5
|
inner: string;
|
|
@@ -80,7 +80,7 @@ declare const _default: import("vue").DefineComponent<import("vue").ExtractPropT
|
|
|
80
80
|
default: () => "";
|
|
81
81
|
};
|
|
82
82
|
ui: {
|
|
83
|
-
type: PropType<
|
|
83
|
+
type: PropType<DeepPartial<typeof config> & {
|
|
84
84
|
strategy?: Strategy;
|
|
85
85
|
}>;
|
|
86
86
|
default: () => {};
|
|
@@ -172,7 +172,7 @@ declare const _default: import("vue").DefineComponent<import("vue").ExtractPropT
|
|
|
172
172
|
default: () => "";
|
|
173
173
|
};
|
|
174
174
|
ui: {
|
|
175
|
-
type: PropType<
|
|
175
|
+
type: PropType<DeepPartial<typeof config> & {
|
|
176
176
|
strategy?: Strategy;
|
|
177
177
|
}>;
|
|
178
178
|
default: () => {};
|
|
@@ -181,11 +181,54 @@ declare const _default: import("vue").DefineComponent<import("vue").ExtractPropT
|
|
|
181
181
|
onClose?: (...args: any[]) => any;
|
|
182
182
|
}>, {
|
|
183
183
|
class: any;
|
|
184
|
-
|
|
184
|
+
title: string;
|
|
185
|
+
avatar: Avatar;
|
|
185
186
|
color: AlertColor;
|
|
186
187
|
variant: AlertVariant;
|
|
187
|
-
|
|
188
|
-
|
|
188
|
+
ui: {
|
|
189
|
+
wrapper?: string;
|
|
190
|
+
inner?: string;
|
|
191
|
+
title?: string;
|
|
192
|
+
description?: string;
|
|
193
|
+
actions?: string;
|
|
194
|
+
shadow?: string;
|
|
195
|
+
rounded?: string;
|
|
196
|
+
padding?: string;
|
|
197
|
+
gap?: string;
|
|
198
|
+
icon?: DeepPartial<{
|
|
199
|
+
base: string;
|
|
200
|
+
}, any>;
|
|
201
|
+
avatar?: DeepPartial<{
|
|
202
|
+
base: string;
|
|
203
|
+
size: "md";
|
|
204
|
+
}, any>;
|
|
205
|
+
color?: DeepPartial<{
|
|
206
|
+
white: {
|
|
207
|
+
solid: string;
|
|
208
|
+
};
|
|
209
|
+
}, any>;
|
|
210
|
+
variant?: DeepPartial<{
|
|
211
|
+
solid: string;
|
|
212
|
+
outline: string;
|
|
213
|
+
soft: string;
|
|
214
|
+
subtle: string;
|
|
215
|
+
}, any>;
|
|
216
|
+
default?: DeepPartial<{
|
|
217
|
+
color: string;
|
|
218
|
+
variant: string;
|
|
219
|
+
icon: any;
|
|
220
|
+
closeButton: any;
|
|
221
|
+
actionButton: {
|
|
222
|
+
size: "xs";
|
|
223
|
+
color: "primary";
|
|
224
|
+
variant: "link";
|
|
225
|
+
};
|
|
226
|
+
}, any>;
|
|
227
|
+
} & {
|
|
228
|
+
[key: string]: any;
|
|
229
|
+
} & {
|
|
230
|
+
strategy?: Strategy;
|
|
231
|
+
};
|
|
189
232
|
description: string;
|
|
190
233
|
icon: string;
|
|
191
234
|
closeButton: Button;
|
|
@@ -285,7 +328,7 @@ declare const _default: import("vue").DefineComponent<import("vue").ExtractPropT
|
|
|
285
328
|
default: () => "";
|
|
286
329
|
};
|
|
287
330
|
ui: {
|
|
288
|
-
type: PropType<
|
|
331
|
+
type: PropType<DeepPartial<{
|
|
289
332
|
wrapper: string;
|
|
290
333
|
background: string;
|
|
291
334
|
rounded: string;
|
|
@@ -468,7 +511,7 @@ declare const _default: import("vue").DefineComponent<import("vue").ExtractPropT
|
|
|
468
511
|
default: () => "";
|
|
469
512
|
};
|
|
470
513
|
ui: {
|
|
471
|
-
type: PropType<
|
|
514
|
+
type: PropType<DeepPartial<{
|
|
472
515
|
wrapper: string;
|
|
473
516
|
background: string;
|
|
474
517
|
rounded: string;
|
|
@@ -537,7 +580,69 @@ declare const _default: import("vue").DefineComponent<import("vue").ExtractPropT
|
|
|
537
580
|
as: string | Record<string, any>;
|
|
538
581
|
text: string;
|
|
539
582
|
alt: string;
|
|
540
|
-
ui: {
|
|
583
|
+
ui: {
|
|
584
|
+
wrapper?: string;
|
|
585
|
+
background?: string;
|
|
586
|
+
rounded?: string;
|
|
587
|
+
text?: string;
|
|
588
|
+
placeholder?: string;
|
|
589
|
+
size?: DeepPartial<{
|
|
590
|
+
'3xs': string;
|
|
591
|
+
'2xs': string;
|
|
592
|
+
xs: string;
|
|
593
|
+
sm: string;
|
|
594
|
+
md: string;
|
|
595
|
+
lg: string;
|
|
596
|
+
xl: string;
|
|
597
|
+
'2xl': string;
|
|
598
|
+
'3xl': string;
|
|
599
|
+
}, any>;
|
|
600
|
+
chip?: DeepPartial<{
|
|
601
|
+
base: string;
|
|
602
|
+
background: string;
|
|
603
|
+
position: {
|
|
604
|
+
'top-right': string;
|
|
605
|
+
'bottom-right': string;
|
|
606
|
+
'top-left': string;
|
|
607
|
+
'bottom-left': string;
|
|
608
|
+
};
|
|
609
|
+
size: {
|
|
610
|
+
'3xs': string;
|
|
611
|
+
'2xs': string;
|
|
612
|
+
xs: string;
|
|
613
|
+
sm: string;
|
|
614
|
+
md: string;
|
|
615
|
+
lg: string;
|
|
616
|
+
xl: string;
|
|
617
|
+
'2xl': string;
|
|
618
|
+
'3xl': string;
|
|
619
|
+
};
|
|
620
|
+
}, any>;
|
|
621
|
+
icon?: DeepPartial<{
|
|
622
|
+
base: string;
|
|
623
|
+
size: {
|
|
624
|
+
'3xs': string;
|
|
625
|
+
'2xs': string;
|
|
626
|
+
xs: string;
|
|
627
|
+
sm: string;
|
|
628
|
+
md: string;
|
|
629
|
+
lg: string;
|
|
630
|
+
xl: string;
|
|
631
|
+
'2xl': string;
|
|
632
|
+
'3xl': string;
|
|
633
|
+
};
|
|
634
|
+
}, any>;
|
|
635
|
+
default?: DeepPartial<{
|
|
636
|
+
size: string;
|
|
637
|
+
icon: any;
|
|
638
|
+
chipColor: any;
|
|
639
|
+
chipPosition: string;
|
|
640
|
+
}, any>;
|
|
641
|
+
} & {
|
|
642
|
+
[key: string]: any;
|
|
643
|
+
} & {
|
|
644
|
+
strategy?: Strategy;
|
|
645
|
+
};
|
|
541
646
|
icon: string;
|
|
542
647
|
src: string | boolean;
|
|
543
648
|
chipColor: import("../../types/avatar").AvatarChipColor;
|
|
@@ -668,7 +773,7 @@ declare const _default: import("vue").DefineComponent<import("vue").ExtractPropT
|
|
|
668
773
|
default: () => "";
|
|
669
774
|
};
|
|
670
775
|
ui: {
|
|
671
|
-
type: PropType<
|
|
776
|
+
type: PropType<DeepPartial<{
|
|
672
777
|
base: string;
|
|
673
778
|
font: string;
|
|
674
779
|
rounded: string;
|
|
@@ -987,7 +1092,7 @@ declare const _default: import("vue").DefineComponent<import("vue").ExtractPropT
|
|
|
987
1092
|
default: () => "";
|
|
988
1093
|
};
|
|
989
1094
|
ui: {
|
|
990
|
-
type: PropType<
|
|
1095
|
+
type: PropType<DeepPartial<{
|
|
991
1096
|
base: string;
|
|
992
1097
|
font: string;
|
|
993
1098
|
rounded: string;
|
|
@@ -1140,7 +1245,7 @@ declare const _default: import("vue").DefineComponent<import("vue").ExtractPropT
|
|
|
1140
1245
|
type: string;
|
|
1141
1246
|
size: import("../../types/button").ButtonSize;
|
|
1142
1247
|
class: any;
|
|
1143
|
-
to:
|
|
1248
|
+
to: string | import("vue-router").RouteLocationAsRelativeGeneric | import("vue-router").RouteLocationAsPathGeneric;
|
|
1144
1249
|
disabled: boolean;
|
|
1145
1250
|
truncate: boolean;
|
|
1146
1251
|
target: "_blank" | "_parent" | "_self" | "_top" | (string & {});
|
|
@@ -1156,10 +1261,93 @@ declare const _default: import("vue").DefineComponent<import("vue").ExtractPropT
|
|
|
1156
1261
|
leading: boolean;
|
|
1157
1262
|
color: import("../../types/button").ButtonColor;
|
|
1158
1263
|
variant: import("../../types/button").ButtonVariant;
|
|
1159
|
-
href:
|
|
1264
|
+
href: string | import("vue-router").RouteLocationAsRelativeGeneric | import("vue-router").RouteLocationAsPathGeneric;
|
|
1160
1265
|
rel: any;
|
|
1161
1266
|
label: string;
|
|
1162
|
-
ui: {
|
|
1267
|
+
ui: {
|
|
1268
|
+
base?: string;
|
|
1269
|
+
font?: string;
|
|
1270
|
+
rounded?: string;
|
|
1271
|
+
truncate?: string;
|
|
1272
|
+
block?: string;
|
|
1273
|
+
inline?: string;
|
|
1274
|
+
size?: DeepPartial<{
|
|
1275
|
+
'2xs': string;
|
|
1276
|
+
xs: string;
|
|
1277
|
+
sm: string;
|
|
1278
|
+
md: string;
|
|
1279
|
+
lg: string;
|
|
1280
|
+
xl: string;
|
|
1281
|
+
}, any>;
|
|
1282
|
+
gap?: DeepPartial<{
|
|
1283
|
+
'2xs': string;
|
|
1284
|
+
xs: string;
|
|
1285
|
+
sm: string;
|
|
1286
|
+
md: string;
|
|
1287
|
+
lg: string;
|
|
1288
|
+
xl: string;
|
|
1289
|
+
}, any>;
|
|
1290
|
+
padding?: DeepPartial<{
|
|
1291
|
+
'2xs': string;
|
|
1292
|
+
xs: string;
|
|
1293
|
+
sm: string;
|
|
1294
|
+
md: string;
|
|
1295
|
+
lg: string;
|
|
1296
|
+
xl: string;
|
|
1297
|
+
}, any>;
|
|
1298
|
+
square?: DeepPartial<{
|
|
1299
|
+
'2xs': string;
|
|
1300
|
+
xs: string;
|
|
1301
|
+
sm: string;
|
|
1302
|
+
md: string;
|
|
1303
|
+
lg: string;
|
|
1304
|
+
xl: string;
|
|
1305
|
+
}, any>;
|
|
1306
|
+
color?: DeepPartial<{
|
|
1307
|
+
white: {
|
|
1308
|
+
solid: string;
|
|
1309
|
+
ghost: string;
|
|
1310
|
+
};
|
|
1311
|
+
gray: {
|
|
1312
|
+
solid: string;
|
|
1313
|
+
ghost: string;
|
|
1314
|
+
link: string;
|
|
1315
|
+
};
|
|
1316
|
+
black: {
|
|
1317
|
+
solid: string;
|
|
1318
|
+
link: string;
|
|
1319
|
+
};
|
|
1320
|
+
}, any>;
|
|
1321
|
+
variant?: DeepPartial<{
|
|
1322
|
+
solid: string;
|
|
1323
|
+
outline: string;
|
|
1324
|
+
soft: string;
|
|
1325
|
+
ghost: string;
|
|
1326
|
+
link: string;
|
|
1327
|
+
}, any>;
|
|
1328
|
+
icon?: DeepPartial<{
|
|
1329
|
+
base: string;
|
|
1330
|
+
loading: string;
|
|
1331
|
+
size: {
|
|
1332
|
+
'2xs': string;
|
|
1333
|
+
xs: string;
|
|
1334
|
+
sm: string;
|
|
1335
|
+
md: string;
|
|
1336
|
+
lg: string;
|
|
1337
|
+
xl: string;
|
|
1338
|
+
};
|
|
1339
|
+
}, any>;
|
|
1340
|
+
default?: DeepPartial<{
|
|
1341
|
+
size: string;
|
|
1342
|
+
variant: string;
|
|
1343
|
+
color: string;
|
|
1344
|
+
loadingIcon: string;
|
|
1345
|
+
}, any>;
|
|
1346
|
+
} & {
|
|
1347
|
+
[key: string]: any;
|
|
1348
|
+
} & {
|
|
1349
|
+
strategy?: Strategy;
|
|
1350
|
+
};
|
|
1163
1351
|
icon: string;
|
|
1164
1352
|
block: boolean;
|
|
1165
1353
|
square: boolean;
|
|
@@ -1418,7 +1606,7 @@ declare const _default: import("vue").DefineComponent<import("vue").ExtractPropT
|
|
|
1418
1606
|
};
|
|
1419
1607
|
}>> & Readonly<{}>, {
|
|
1420
1608
|
type: string;
|
|
1421
|
-
to:
|
|
1609
|
+
to: string | import("vue-router").RouteLocationAsRelativeGeneric | import("vue-router").RouteLocationAsPathGeneric;
|
|
1422
1610
|
disabled: boolean;
|
|
1423
1611
|
target: "_blank" | "_parent" | "_self" | "_top" | (string & {});
|
|
1424
1612
|
activeClass: string;
|
|
@@ -1436,7 +1624,7 @@ declare const _default: import("vue").DefineComponent<import("vue").ExtractPropT
|
|
|
1436
1624
|
exactQuery: boolean;
|
|
1437
1625
|
exactHash: boolean;
|
|
1438
1626
|
inactiveClass: string;
|
|
1439
|
-
href:
|
|
1627
|
+
href: string | import("vue-router").RouteLocationAsRelativeGeneric | import("vue-router").RouteLocationAsPathGeneric;
|
|
1440
1628
|
rel: any;
|
|
1441
1629
|
}, {}, {}, {}, string, import("vue").ComponentProvideOptions, true, {}, any>;
|
|
1442
1630
|
}, {}, string, import("vue").ComponentProvideOptions, true, {}, any>;
|
|
@@ -1,5 +1,5 @@
|
|
|
1
1
|
import type { PropType } from 'vue';
|
|
2
|
-
import type { AvatarSize, AvatarChipColor, AvatarChipPosition, Strategy } from '../../types/index.js';
|
|
2
|
+
import type { AvatarSize, AvatarChipColor, AvatarChipPosition, Strategy, DeepPartial } from '../../types/index.js';
|
|
3
3
|
declare const config: {
|
|
4
4
|
wrapper: string;
|
|
5
5
|
background: string;
|
|
@@ -108,7 +108,7 @@ declare const _default: import("vue").DefineComponent<import("vue").ExtractPropT
|
|
|
108
108
|
default: () => "";
|
|
109
109
|
};
|
|
110
110
|
ui: {
|
|
111
|
-
type: PropType<
|
|
111
|
+
type: PropType<DeepPartial<typeof config> & {
|
|
112
112
|
strategy?: Strategy;
|
|
113
113
|
}>;
|
|
114
114
|
default: () => {};
|
|
@@ -233,7 +233,7 @@ declare const _default: import("vue").DefineComponent<import("vue").ExtractPropT
|
|
|
233
233
|
default: () => "";
|
|
234
234
|
};
|
|
235
235
|
ui: {
|
|
236
|
-
type: PropType<
|
|
236
|
+
type: PropType<DeepPartial<typeof config> & {
|
|
237
237
|
strategy?: Strategy;
|
|
238
238
|
}>;
|
|
239
239
|
default: () => {};
|
|
@@ -244,7 +244,69 @@ declare const _default: import("vue").DefineComponent<import("vue").ExtractPropT
|
|
|
244
244
|
as: string | Record<string, any>;
|
|
245
245
|
text: string;
|
|
246
246
|
alt: string;
|
|
247
|
-
ui: {
|
|
247
|
+
ui: {
|
|
248
|
+
wrapper?: string;
|
|
249
|
+
background?: string;
|
|
250
|
+
rounded?: string;
|
|
251
|
+
text?: string;
|
|
252
|
+
placeholder?: string;
|
|
253
|
+
size?: DeepPartial<{
|
|
254
|
+
'3xs': string;
|
|
255
|
+
'2xs': string;
|
|
256
|
+
xs: string;
|
|
257
|
+
sm: string;
|
|
258
|
+
md: string;
|
|
259
|
+
lg: string;
|
|
260
|
+
xl: string;
|
|
261
|
+
'2xl': string;
|
|
262
|
+
'3xl': string;
|
|
263
|
+
}, any>;
|
|
264
|
+
chip?: DeepPartial<{
|
|
265
|
+
base: string;
|
|
266
|
+
background: string;
|
|
267
|
+
position: {
|
|
268
|
+
'top-right': string;
|
|
269
|
+
'bottom-right': string;
|
|
270
|
+
'top-left': string;
|
|
271
|
+
'bottom-left': string;
|
|
272
|
+
};
|
|
273
|
+
size: {
|
|
274
|
+
'3xs': string;
|
|
275
|
+
'2xs': string;
|
|
276
|
+
xs: string;
|
|
277
|
+
sm: string;
|
|
278
|
+
md: string;
|
|
279
|
+
lg: string;
|
|
280
|
+
xl: string;
|
|
281
|
+
'2xl': string;
|
|
282
|
+
'3xl': string;
|
|
283
|
+
};
|
|
284
|
+
}, any>;
|
|
285
|
+
icon?: DeepPartial<{
|
|
286
|
+
base: string;
|
|
287
|
+
size: {
|
|
288
|
+
'3xs': string;
|
|
289
|
+
'2xs': string;
|
|
290
|
+
xs: string;
|
|
291
|
+
sm: string;
|
|
292
|
+
md: string;
|
|
293
|
+
lg: string;
|
|
294
|
+
xl: string;
|
|
295
|
+
'2xl': string;
|
|
296
|
+
'3xl': string;
|
|
297
|
+
};
|
|
298
|
+
}, any>;
|
|
299
|
+
default?: DeepPartial<{
|
|
300
|
+
size: string;
|
|
301
|
+
icon: any;
|
|
302
|
+
chipColor: any;
|
|
303
|
+
chipPosition: string;
|
|
304
|
+
}, any>;
|
|
305
|
+
} & {
|
|
306
|
+
[key: string]: any;
|
|
307
|
+
} & {
|
|
308
|
+
strategy?: Strategy;
|
|
309
|
+
};
|
|
248
310
|
icon: string;
|
|
249
311
|
src: string | boolean;
|
|
250
312
|
chipColor: AvatarChipColor;
|
|
@@ -49,7 +49,13 @@ declare const _default: import("vue").DefineComponent<import("vue").ExtractPropT
|
|
|
49
49
|
};
|
|
50
50
|
}>> & Readonly<{}>, {
|
|
51
51
|
size: AvatarSize;
|
|
52
|
-
ui: {
|
|
52
|
+
ui: Partial<{
|
|
53
|
+
wrapper: string;
|
|
54
|
+
ring: string;
|
|
55
|
+
margin: string;
|
|
56
|
+
}> & {
|
|
57
|
+
strategy?: Strategy;
|
|
58
|
+
};
|
|
53
59
|
class: any;
|
|
54
60
|
max: number;
|
|
55
61
|
}, {}, {}, {}, string, import("vue").ComponentProvideOptions, true, {}, any>;
|
|
@@ -1,5 +1,5 @@
|
|
|
1
1
|
import type { PropType } from 'vue';
|
|
2
|
-
import type { BadgeColor, BadgeSize, BadgeVariant, Strategy } from '../../types/index.js';
|
|
2
|
+
import type { BadgeColor, BadgeSize, BadgeVariant, DeepPartial, Strategy } from '../../types/index.js';
|
|
3
3
|
declare const config: {
|
|
4
4
|
base: string;
|
|
5
5
|
rounded: string;
|
|
@@ -58,7 +58,7 @@ declare const _default: import("vue").DefineComponent<import("vue").ExtractPropT
|
|
|
58
58
|
default: () => "";
|
|
59
59
|
};
|
|
60
60
|
ui: {
|
|
61
|
-
type: PropType<
|
|
61
|
+
type: PropType<DeepPartial<typeof config> & {
|
|
62
62
|
strategy?: Strategy;
|
|
63
63
|
}>;
|
|
64
64
|
default: () => {};
|
|
@@ -93,7 +93,7 @@ declare const _default: import("vue").DefineComponent<import("vue").ExtractPropT
|
|
|
93
93
|
default: () => "";
|
|
94
94
|
};
|
|
95
95
|
ui: {
|
|
96
|
-
type: PropType<
|
|
96
|
+
type: PropType<DeepPartial<typeof config> & {
|
|
97
97
|
strategy?: Strategy;
|
|
98
98
|
}>;
|
|
99
99
|
default: () => {};
|
|
@@ -104,6 +104,42 @@ declare const _default: import("vue").DefineComponent<import("vue").ExtractPropT
|
|
|
104
104
|
color: BadgeColor;
|
|
105
105
|
variant: BadgeVariant;
|
|
106
106
|
label: string | number;
|
|
107
|
-
ui: {
|
|
107
|
+
ui: {
|
|
108
|
+
base?: string;
|
|
109
|
+
rounded?: string;
|
|
110
|
+
font?: string;
|
|
111
|
+
size?: DeepPartial<{
|
|
112
|
+
xs: string;
|
|
113
|
+
sm: string;
|
|
114
|
+
md: string;
|
|
115
|
+
lg: string;
|
|
116
|
+
}, any>;
|
|
117
|
+
color?: DeepPartial<{
|
|
118
|
+
white: {
|
|
119
|
+
solid: string;
|
|
120
|
+
};
|
|
121
|
+
gray: {
|
|
122
|
+
solid: string;
|
|
123
|
+
};
|
|
124
|
+
black: {
|
|
125
|
+
solid: string;
|
|
126
|
+
};
|
|
127
|
+
}, any>;
|
|
128
|
+
variant?: DeepPartial<{
|
|
129
|
+
solid: string;
|
|
130
|
+
outline: string;
|
|
131
|
+
soft: string;
|
|
132
|
+
subtle: string;
|
|
133
|
+
}, any>;
|
|
134
|
+
default?: DeepPartial<{
|
|
135
|
+
size: string;
|
|
136
|
+
variant: string;
|
|
137
|
+
color: string;
|
|
138
|
+
}, any>;
|
|
139
|
+
} & {
|
|
140
|
+
[key: string]: any;
|
|
141
|
+
} & {
|
|
142
|
+
strategy?: Strategy;
|
|
143
|
+
};
|
|
108
144
|
}, {}, {}, {}, string, import("vue").ComponentProvideOptions, true, {}, any>;
|
|
109
145
|
export default _default;
|
|
@@ -1,5 +1,5 @@
|
|
|
1
1
|
import type { PropType } from 'vue';
|
|
2
|
-
import type { ButtonColor, ButtonSize, ButtonVariant, Strategy } from '../../types/index.js';
|
|
2
|
+
import type { ButtonColor, ButtonSize, ButtonVariant, DeepPartial, Strategy } from '../../types/index.js';
|
|
3
3
|
declare const config: {
|
|
4
4
|
base: string;
|
|
5
5
|
font: string;
|
|
@@ -157,7 +157,7 @@ declare const _default: import("vue").DefineComponent<import("vue").ExtractPropT
|
|
|
157
157
|
default: () => "";
|
|
158
158
|
};
|
|
159
159
|
ui: {
|
|
160
|
-
type: PropType<
|
|
160
|
+
type: PropType<DeepPartial<typeof config> & {
|
|
161
161
|
strategy?: Strategy;
|
|
162
162
|
}>;
|
|
163
163
|
default: () => {};
|
|
@@ -397,7 +397,7 @@ declare const _default: import("vue").DefineComponent<import("vue").ExtractPropT
|
|
|
397
397
|
default: () => "";
|
|
398
398
|
};
|
|
399
399
|
ui: {
|
|
400
|
-
type: PropType<
|
|
400
|
+
type: PropType<DeepPartial<typeof config> & {
|
|
401
401
|
strategy?: Strategy;
|
|
402
402
|
}>;
|
|
403
403
|
default: () => {};
|
|
@@ -471,7 +471,7 @@ declare const _default: import("vue").DefineComponent<import("vue").ExtractPropT
|
|
|
471
471
|
type: string;
|
|
472
472
|
size: ButtonSize;
|
|
473
473
|
class: any;
|
|
474
|
-
to:
|
|
474
|
+
to: string | import("vue-router").RouteLocationAsRelativeGeneric | import("vue-router").RouteLocationAsPathGeneric;
|
|
475
475
|
disabled: boolean;
|
|
476
476
|
truncate: boolean;
|
|
477
477
|
target: "_blank" | "_parent" | "_self" | "_top" | (string & {});
|
|
@@ -487,10 +487,93 @@ declare const _default: import("vue").DefineComponent<import("vue").ExtractPropT
|
|
|
487
487
|
leading: boolean;
|
|
488
488
|
color: ButtonColor;
|
|
489
489
|
variant: ButtonVariant;
|
|
490
|
-
href:
|
|
490
|
+
href: string | import("vue-router").RouteLocationAsRelativeGeneric | import("vue-router").RouteLocationAsPathGeneric;
|
|
491
491
|
rel: any;
|
|
492
492
|
label: string;
|
|
493
|
-
ui: {
|
|
493
|
+
ui: {
|
|
494
|
+
base?: string;
|
|
495
|
+
font?: string;
|
|
496
|
+
rounded?: string;
|
|
497
|
+
truncate?: string;
|
|
498
|
+
block?: string;
|
|
499
|
+
inline?: string;
|
|
500
|
+
size?: DeepPartial<{
|
|
501
|
+
'2xs': string;
|
|
502
|
+
xs: string;
|
|
503
|
+
sm: string;
|
|
504
|
+
md: string;
|
|
505
|
+
lg: string;
|
|
506
|
+
xl: string;
|
|
507
|
+
}, any>;
|
|
508
|
+
gap?: DeepPartial<{
|
|
509
|
+
'2xs': string;
|
|
510
|
+
xs: string;
|
|
511
|
+
sm: string;
|
|
512
|
+
md: string;
|
|
513
|
+
lg: string;
|
|
514
|
+
xl: string;
|
|
515
|
+
}, any>;
|
|
516
|
+
padding?: DeepPartial<{
|
|
517
|
+
'2xs': string;
|
|
518
|
+
xs: string;
|
|
519
|
+
sm: string;
|
|
520
|
+
md: string;
|
|
521
|
+
lg: string;
|
|
522
|
+
xl: string;
|
|
523
|
+
}, any>;
|
|
524
|
+
square?: DeepPartial<{
|
|
525
|
+
'2xs': string;
|
|
526
|
+
xs: string;
|
|
527
|
+
sm: string;
|
|
528
|
+
md: string;
|
|
529
|
+
lg: string;
|
|
530
|
+
xl: string;
|
|
531
|
+
}, any>;
|
|
532
|
+
color?: DeepPartial<{
|
|
533
|
+
white: {
|
|
534
|
+
solid: string;
|
|
535
|
+
ghost: string;
|
|
536
|
+
};
|
|
537
|
+
gray: {
|
|
538
|
+
solid: string;
|
|
539
|
+
ghost: string;
|
|
540
|
+
link: string;
|
|
541
|
+
};
|
|
542
|
+
black: {
|
|
543
|
+
solid: string;
|
|
544
|
+
link: string;
|
|
545
|
+
};
|
|
546
|
+
}, any>;
|
|
547
|
+
variant?: DeepPartial<{
|
|
548
|
+
solid: string;
|
|
549
|
+
outline: string;
|
|
550
|
+
soft: string;
|
|
551
|
+
ghost: string;
|
|
552
|
+
link: string;
|
|
553
|
+
}, any>;
|
|
554
|
+
icon?: DeepPartial<{
|
|
555
|
+
base: string;
|
|
556
|
+
loading: string;
|
|
557
|
+
size: {
|
|
558
|
+
'2xs': string;
|
|
559
|
+
xs: string;
|
|
560
|
+
sm: string;
|
|
561
|
+
md: string;
|
|
562
|
+
lg: string;
|
|
563
|
+
xl: string;
|
|
564
|
+
};
|
|
565
|
+
}, any>;
|
|
566
|
+
default?: DeepPartial<{
|
|
567
|
+
size: string;
|
|
568
|
+
variant: string;
|
|
569
|
+
color: string;
|
|
570
|
+
loadingIcon: string;
|
|
571
|
+
}, any>;
|
|
572
|
+
} & {
|
|
573
|
+
[key: string]: any;
|
|
574
|
+
} & {
|
|
575
|
+
strategy?: Strategy;
|
|
576
|
+
};
|
|
494
577
|
icon: string;
|
|
495
578
|
block: boolean;
|
|
496
579
|
square: boolean;
|
|
@@ -749,7 +832,7 @@ declare const _default: import("vue").DefineComponent<import("vue").ExtractPropT
|
|
|
749
832
|
};
|
|
750
833
|
}>> & Readonly<{}>, {
|
|
751
834
|
type: string;
|
|
752
|
-
to:
|
|
835
|
+
to: string | import("vue-router").RouteLocationAsRelativeGeneric | import("vue-router").RouteLocationAsPathGeneric;
|
|
753
836
|
disabled: boolean;
|
|
754
837
|
target: "_blank" | "_parent" | "_self" | "_top" | (string & {});
|
|
755
838
|
activeClass: string;
|
|
@@ -767,7 +850,7 @@ declare const _default: import("vue").DefineComponent<import("vue").ExtractPropT
|
|
|
767
850
|
exactQuery: boolean;
|
|
768
851
|
exactHash: boolean;
|
|
769
852
|
inactiveClass: string;
|
|
770
|
-
href:
|
|
853
|
+
href: string | import("vue-router").RouteLocationAsRelativeGeneric | import("vue-router").RouteLocationAsPathGeneric;
|
|
771
854
|
rel: any;
|
|
772
855
|
}, {}, {}, {}, string, import("vue").ComponentProvideOptions, true, {}, any>;
|
|
773
856
|
}, {}, string, import("vue").ComponentProvideOptions, true, {}, any>;
|