@nuxt/ui 2.19.2 → 2.21.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/README.md +2 -2
- package/dist/module.d.mts +2 -0
- package/dist/module.d.ts +2 -0
- package/dist/module.json +1 -1
- package/dist/module.mjs +16 -11
- package/dist/runtime/components/data/Table.vue +88 -38
- package/dist/runtime/components/data/Table.vue.d.ts +73 -61
- package/dist/runtime/components/elements/Accordion.vue +3 -1
- package/dist/runtime/components/elements/Accordion.vue.d.ts +25 -24
- package/dist/runtime/components/elements/Alert.vue +2 -2
- package/dist/runtime/components/elements/Alert.vue.d.ts +39 -39
- package/dist/runtime/components/elements/Avatar.vue +2 -2
- package/dist/runtime/components/elements/Avatar.vue.d.ts +3 -3
- package/dist/runtime/components/elements/AvatarGroup.d.ts +11 -9
- package/dist/runtime/components/elements/AvatarGroup.js +2 -2
- package/dist/runtime/components/elements/Badge.vue +71 -4
- package/dist/runtime/components/elements/Badge.vue.d.ts +131 -4
- package/dist/runtime/components/elements/Button.vue +2 -2
- package/dist/runtime/components/elements/Button.vue.d.ts +20 -20
- package/dist/runtime/components/elements/ButtonGroup.d.ts +15 -13
- package/dist/runtime/components/elements/ButtonGroup.js +2 -2
- package/dist/runtime/components/elements/Carousel.vue +1 -2
- package/dist/runtime/components/elements/Carousel.vue.d.ts +43 -41
- package/dist/runtime/components/elements/Chip.vue.d.ts +5 -5
- package/dist/runtime/components/elements/Dropdown.vue +2 -2
- package/dist/runtime/components/elements/Dropdown.vue.d.ts +7 -7
- package/dist/runtime/components/elements/Kbd.vue +2 -2
- package/dist/runtime/components/elements/Link.vue +15 -4
- package/dist/runtime/components/elements/Link.vue.d.ts +30 -29
- package/dist/runtime/components/elements/Meter.vue.d.ts +3 -3
- package/dist/runtime/components/elements/MeterGroup.d.ts +20 -18
- package/dist/runtime/components/elements/MeterGroup.js +1 -1
- package/dist/runtime/components/elements/Progress.vue.d.ts +2 -2
- package/dist/runtime/components/forms/Checkbox.vue +2 -2
- package/dist/runtime/components/forms/Checkbox.vue.d.ts +2 -2
- package/dist/runtime/components/forms/Form.vue +6 -5
- package/dist/runtime/components/forms/FormGroup.vue.d.ts +2 -2
- package/dist/runtime/components/forms/Input.vue +2 -2
- package/dist/runtime/components/forms/Input.vue.d.ts +3 -3
- package/dist/runtime/components/forms/InputMenu.vue +37 -7
- package/dist/runtime/components/forms/InputMenu.vue.d.ts +13 -12
- package/dist/runtime/components/forms/Radio.vue +2 -2
- package/dist/runtime/components/forms/Radio.vue.d.ts +2 -2
- package/dist/runtime/components/forms/RadioGroup.vue +1 -1
- package/dist/runtime/components/forms/RadioGroup.vue.d.ts +4 -4
- package/dist/runtime/components/forms/Range.vue +2 -2
- package/dist/runtime/components/forms/Range.vue.d.ts +2 -2
- package/dist/runtime/components/forms/Select.vue +2 -2
- package/dist/runtime/components/forms/Select.vue.d.ts +3 -3
- package/dist/runtime/components/forms/SelectMenu.vue +48 -25
- package/dist/runtime/components/forms/SelectMenu.vue.d.ts +12 -11
- package/dist/runtime/components/forms/Textarea.vue +2 -2
- package/dist/runtime/components/forms/Textarea.vue.d.ts +3 -3
- package/dist/runtime/components/forms/Toggle.vue +2 -2
- package/dist/runtime/components/forms/Toggle.vue.d.ts +1 -1
- package/dist/runtime/components/layout/Card.vue +2 -2
- package/dist/runtime/components/layout/Card.vue.d.ts +1 -1
- package/dist/runtime/components/layout/Container.vue +2 -2
- package/dist/runtime/components/layout/Container.vue.d.ts +1 -1
- package/dist/runtime/components/layout/Divider.vue +2 -2
- package/dist/runtime/components/layout/Divider.vue.d.ts +19 -19
- package/dist/runtime/components/layout/Skeleton.vue +2 -2
- package/dist/runtime/components/layout/Skeleton.vue.d.ts +1 -1
- package/dist/runtime/components/navigation/Breadcrumb.vue +2 -2
- package/dist/runtime/components/navigation/Breadcrumb.vue.d.ts +3 -3
- package/dist/runtime/components/navigation/CommandPalette.vue.d.ts +26 -26
- package/dist/runtime/components/navigation/CommandPaletteGroup.vue.d.ts +3 -3
- package/dist/runtime/components/navigation/HorizontalNavigation.vue +2 -2
- package/dist/runtime/components/navigation/HorizontalNavigation.vue.d.ts +164 -22
- package/dist/runtime/components/navigation/Pagination.vue.d.ts +38 -38
- package/dist/runtime/components/navigation/Tabs.vue.d.ts +2 -2
- package/dist/runtime/components/navigation/VerticalNavigation.vue +2 -2
- package/dist/runtime/components/navigation/VerticalNavigation.vue.d.ts +186 -44
- package/dist/runtime/components/overlays/ContextMenu.vue +2 -2
- package/dist/runtime/components/overlays/ContextMenu.vue.d.ts +1 -1
- package/dist/runtime/components/overlays/Notification.vue +8 -4
- package/dist/runtime/components/overlays/Notification.vue.d.ts +50 -41
- package/dist/runtime/components/overlays/Notifications.vue +4 -4
- package/dist/runtime/components/overlays/Notifications.vue.d.ts +55 -46
- package/dist/runtime/components/overlays/Popover.vue.d.ts +1 -1
- package/dist/runtime/components/overlays/Tooltip.vue.d.ts +2 -2
- package/dist/runtime/types/checkbox.d.ts +3 -0
- package/dist/runtime/types/divider.d.ts +1 -1
- package/dist/runtime/types/index.d.ts +1 -0
- package/dist/runtime/types/index.js +1 -0
- package/dist/runtime/types/link.d.ts +1 -1
- package/dist/runtime/types/utils.d.ts +1 -1
- package/dist/runtime/ui.config/data/table.d.ts +9 -8
- package/dist/runtime/ui.config/elements/accordion.d.ts +1 -1
- package/dist/runtime/ui.config/elements/alert.d.ts +5 -4
- package/dist/runtime/ui.config/elements/badge.d.ts +15 -0
- package/dist/runtime/ui.config/elements/badge.js +15 -0
- package/dist/runtime/ui.config/elements/carousel.d.ts +3 -2
- package/dist/runtime/ui.config/elements/dropdown.d.ts +2 -1
- package/dist/runtime/ui.config/forms/inputMenu.d.ts +2 -1
- package/dist/runtime/ui.config/forms/selectMenu.d.ts +1 -1
- package/dist/runtime/ui.config/layout/divider.d.ts +4 -3
- package/dist/runtime/ui.config/navigation/commandPalette.d.ts +2 -1
- package/dist/runtime/ui.config/navigation/horizontalNavigation.d.ts +5 -4
- package/dist/runtime/ui.config/navigation/pagination.d.ts +7 -6
- package/dist/runtime/ui.config/navigation/verticalNavigation.d.ts +5 -4
- package/dist/runtime/ui.config/overlays/notification.d.ts +6 -5
- package/dist/runtime/utils/index.d.ts +1 -0
- package/dist/runtime/utils/index.js +4 -3
- package/package.json +28 -25
|
@@ -182,7 +182,7 @@ declare const _default: import("vue").DefineComponent<import("vue").ExtractPropT
|
|
|
182
182
|
default: boolean;
|
|
183
183
|
};
|
|
184
184
|
exactQuery: {
|
|
185
|
-
type:
|
|
185
|
+
type: PropType<boolean | "partial">;
|
|
186
186
|
default: boolean;
|
|
187
187
|
};
|
|
188
188
|
exactHash: {
|
|
@@ -285,7 +285,7 @@ declare const _default: import("vue").DefineComponent<import("vue").ExtractPropT
|
|
|
285
285
|
default: boolean;
|
|
286
286
|
};
|
|
287
287
|
exactQuery: {
|
|
288
|
-
type:
|
|
288
|
+
type: PropType<boolean | "partial">;
|
|
289
289
|
default: boolean;
|
|
290
290
|
};
|
|
291
291
|
exactHash: {
|
|
@@ -378,7 +378,7 @@ declare const _default: import("vue").DefineComponent<import("vue").ExtractPropT
|
|
|
378
378
|
as: string;
|
|
379
379
|
active: boolean;
|
|
380
380
|
exact: boolean;
|
|
381
|
-
exactQuery: boolean;
|
|
381
|
+
exactQuery: boolean | "partial";
|
|
382
382
|
exactHash: boolean;
|
|
383
383
|
inactiveClass: string;
|
|
384
384
|
href: string | import("vue-router").RouteLocationAsRelativeGeneric | import("vue-router").RouteLocationAsPathGeneric;
|
|
@@ -50,7 +50,7 @@ declare const config: {
|
|
|
50
50
|
};
|
|
51
51
|
avatar: {
|
|
52
52
|
base: string;
|
|
53
|
-
size: "
|
|
53
|
+
size: import("../../types/avatar").AvatarSize;
|
|
54
54
|
};
|
|
55
55
|
chip: {
|
|
56
56
|
base: string;
|
|
@@ -217,7 +217,7 @@ declare const _default: import("vue").DefineComponent<import("vue").ExtractPropT
|
|
|
217
217
|
};
|
|
218
218
|
avatar: {
|
|
219
219
|
base: string;
|
|
220
|
-
size: "
|
|
220
|
+
size: import("../../types/avatar").AvatarSize;
|
|
221
221
|
};
|
|
222
222
|
chip: {
|
|
223
223
|
base: string;
|
|
@@ -411,7 +411,7 @@ declare const _default: import("vue").DefineComponent<import("vue").ExtractPropT
|
|
|
411
411
|
};
|
|
412
412
|
avatar: {
|
|
413
413
|
base: string;
|
|
414
|
-
size: "
|
|
414
|
+
size: import("../../types/avatar").AvatarSize;
|
|
415
415
|
};
|
|
416
416
|
chip: {
|
|
417
417
|
base: string;
|
|
@@ -1287,23 +1287,6 @@ declare const _default: import("vue").DefineComponent<import("vue").ExtractPropT
|
|
|
1287
1287
|
class: any;
|
|
1288
1288
|
to: string | import("vue-router").RouteLocationAsRelativeGeneric | import("vue-router").RouteLocationAsPathGeneric;
|
|
1289
1289
|
disabled: boolean;
|
|
1290
|
-
truncate: boolean;
|
|
1291
|
-
target: "_blank" | "_parent" | "_self" | "_top" | (string & {});
|
|
1292
|
-
activeClass: string;
|
|
1293
|
-
exactActiveClass: string;
|
|
1294
|
-
ariaCurrentValue: "page" | "step" | "location" | "date" | "time" | "true" | "false";
|
|
1295
|
-
replace: boolean;
|
|
1296
|
-
noRel: boolean;
|
|
1297
|
-
prefetch: boolean;
|
|
1298
|
-
noPrefetch: boolean;
|
|
1299
|
-
prefetchedClass: string;
|
|
1300
|
-
external: boolean;
|
|
1301
|
-
leading: boolean;
|
|
1302
|
-
color: import("../../types/button").ButtonColor;
|
|
1303
|
-
variant: import("../../types/button").ButtonVariant;
|
|
1304
|
-
href: string | import("vue-router").RouteLocationAsRelativeGeneric | import("vue-router").RouteLocationAsPathGeneric;
|
|
1305
|
-
rel: any;
|
|
1306
|
-
label: string;
|
|
1307
1290
|
ui: {
|
|
1308
1291
|
base?: string;
|
|
1309
1292
|
font?: string;
|
|
@@ -1388,6 +1371,23 @@ declare const _default: import("vue").DefineComponent<import("vue").ExtractPropT
|
|
|
1388
1371
|
} & {
|
|
1389
1372
|
strategy?: Strategy;
|
|
1390
1373
|
};
|
|
1374
|
+
color: import("../../types/button").ButtonColor;
|
|
1375
|
+
variant: import("../../types/button").ButtonVariant;
|
|
1376
|
+
truncate: boolean;
|
|
1377
|
+
target: "_blank" | "_parent" | "_self" | "_top" | (string & {});
|
|
1378
|
+
activeClass: string;
|
|
1379
|
+
exactActiveClass: string;
|
|
1380
|
+
ariaCurrentValue: "page" | "step" | "location" | "date" | "time" | "true" | "false";
|
|
1381
|
+
replace: boolean;
|
|
1382
|
+
noRel: boolean;
|
|
1383
|
+
prefetch: boolean;
|
|
1384
|
+
noPrefetch: boolean;
|
|
1385
|
+
prefetchedClass: string;
|
|
1386
|
+
external: boolean;
|
|
1387
|
+
leading: boolean;
|
|
1388
|
+
href: string | import("vue-router").RouteLocationAsRelativeGeneric | import("vue-router").RouteLocationAsPathGeneric;
|
|
1389
|
+
rel: any;
|
|
1390
|
+
label: string;
|
|
1391
1391
|
icon: string;
|
|
1392
1392
|
block: boolean;
|
|
1393
1393
|
square: boolean;
|
|
@@ -1465,7 +1465,7 @@ declare const _default: import("vue").DefineComponent<import("vue").ExtractPropT
|
|
|
1465
1465
|
default: boolean;
|
|
1466
1466
|
};
|
|
1467
1467
|
exactQuery: {
|
|
1468
|
-
type:
|
|
1468
|
+
type: PropType<boolean | "partial">;
|
|
1469
1469
|
default: boolean;
|
|
1470
1470
|
};
|
|
1471
1471
|
exactHash: {
|
|
@@ -1568,7 +1568,7 @@ declare const _default: import("vue").DefineComponent<import("vue").ExtractPropT
|
|
|
1568
1568
|
default: boolean;
|
|
1569
1569
|
};
|
|
1570
1570
|
exactQuery: {
|
|
1571
|
-
type:
|
|
1571
|
+
type: PropType<boolean | "partial">;
|
|
1572
1572
|
default: boolean;
|
|
1573
1573
|
};
|
|
1574
1574
|
exactHash: {
|
|
@@ -1661,7 +1661,7 @@ declare const _default: import("vue").DefineComponent<import("vue").ExtractPropT
|
|
|
1661
1661
|
as: string;
|
|
1662
1662
|
active: boolean;
|
|
1663
1663
|
exact: boolean;
|
|
1664
|
-
exactQuery: boolean;
|
|
1664
|
+
exactQuery: boolean | "partial";
|
|
1665
1665
|
exactHash: boolean;
|
|
1666
1666
|
inactiveClass: string;
|
|
1667
1667
|
href: string | import("vue-router").RouteLocationAsRelativeGeneric | import("vue-router").RouteLocationAsPathGeneric;
|
|
@@ -2108,9 +2108,6 @@ declare const _default: import("vue").DefineComponent<import("vue").ExtractPropT
|
|
|
2108
2108
|
}>> & Readonly<{}>, {
|
|
2109
2109
|
size: import("../../types/avatar").AvatarSize;
|
|
2110
2110
|
class: any;
|
|
2111
|
-
as: string | Record<string, any>;
|
|
2112
|
-
text: string;
|
|
2113
|
-
alt: string;
|
|
2114
2111
|
ui: {
|
|
2115
2112
|
wrapper?: string;
|
|
2116
2113
|
background?: string;
|
|
@@ -2174,6 +2171,9 @@ declare const _default: import("vue").DefineComponent<import("vue").ExtractPropT
|
|
|
2174
2171
|
} & {
|
|
2175
2172
|
strategy?: Strategy;
|
|
2176
2173
|
};
|
|
2174
|
+
as: string | Record<string, any>;
|
|
2175
|
+
text: string;
|
|
2176
|
+
alt: string;
|
|
2177
2177
|
icon: string;
|
|
2178
2178
|
src: string | boolean;
|
|
2179
2179
|
chipColor: import("../../types/avatar").AvatarChipColor;
|
|
@@ -441,9 +441,6 @@ declare const _default: import("vue").DefineComponent<import("vue").ExtractPropT
|
|
|
441
441
|
}>> & Readonly<{}>, {
|
|
442
442
|
size: import("../../types/avatar").AvatarSize;
|
|
443
443
|
class: any;
|
|
444
|
-
as: string | Record<string, any>;
|
|
445
|
-
text: string;
|
|
446
|
-
alt: string;
|
|
447
444
|
ui: {
|
|
448
445
|
wrapper?: string;
|
|
449
446
|
background?: string;
|
|
@@ -507,6 +504,9 @@ declare const _default: import("vue").DefineComponent<import("vue").ExtractPropT
|
|
|
507
504
|
} & {
|
|
508
505
|
strategy?: import("../../types/utils").Strategy;
|
|
509
506
|
};
|
|
507
|
+
as: string | Record<string, any>;
|
|
508
|
+
text: string;
|
|
509
|
+
alt: string;
|
|
510
510
|
icon: string;
|
|
511
511
|
src: string | boolean;
|
|
512
512
|
chipColor: import("../../types/avatar").AvatarChipColor;
|
|
@@ -53,13 +53,13 @@
|
|
|
53
53
|
|
|
54
54
|
<script>
|
|
55
55
|
import { toRef, defineComponent, computed } from "vue";
|
|
56
|
-
import {
|
|
56
|
+
import { twJoin } from "tailwind-merge";
|
|
57
57
|
import UIcon from "../elements/Icon.vue";
|
|
58
58
|
import UAvatar from "../elements/Avatar.vue";
|
|
59
59
|
import UBadge from "../elements/Badge.vue";
|
|
60
60
|
import ULink from "../elements/Link.vue";
|
|
61
61
|
import { useUI } from "../../composables/useUI";
|
|
62
|
-
import { mergeConfig,
|
|
62
|
+
import { getULinkProps, mergeConfig, twMerge } from "../../utils";
|
|
63
63
|
import appConfig from "#build/app.config";
|
|
64
64
|
import { horizontalNavigation } from "#ui/ui.config";
|
|
65
65
|
const config = mergeConfig(appConfig.ui.strategy, appConfig.ui.horizontalNavigation, horizontalNavigation);
|
|
@@ -18,13 +18,13 @@ declare const config: {
|
|
|
18
18
|
};
|
|
19
19
|
avatar: {
|
|
20
20
|
base: string;
|
|
21
|
-
size: "
|
|
21
|
+
size: import("../../types/avatar").AvatarSize;
|
|
22
22
|
};
|
|
23
23
|
badge: {
|
|
24
24
|
base: string;
|
|
25
|
-
color: "
|
|
26
|
-
variant: "
|
|
27
|
-
size: "
|
|
25
|
+
color: import("../../types/badge").BadgeColor;
|
|
26
|
+
variant: import("../../types/badge").BadgeVariant;
|
|
27
|
+
size: import("../../types/badge").BadgeSize;
|
|
28
28
|
};
|
|
29
29
|
};
|
|
30
30
|
declare const _default: import("vue").DefineComponent<import("vue").ExtractPropTypes<{
|
|
@@ -60,13 +60,13 @@ declare const _default: import("vue").DefineComponent<import("vue").ExtractPropT
|
|
|
60
60
|
};
|
|
61
61
|
avatar: {
|
|
62
62
|
base: string;
|
|
63
|
-
size: "
|
|
63
|
+
size: import("../../types/avatar").AvatarSize;
|
|
64
64
|
};
|
|
65
65
|
badge: {
|
|
66
66
|
base: string;
|
|
67
|
-
color: "
|
|
68
|
-
variant: "
|
|
69
|
-
size: "
|
|
67
|
+
color: import("../../types/badge").BadgeColor;
|
|
68
|
+
variant: import("../../types/badge").BadgeVariant;
|
|
69
|
+
size: import("../../types/badge").BadgeSize;
|
|
70
70
|
};
|
|
71
71
|
}>;
|
|
72
72
|
attrs: import("vue").ComputedRef<Pick<{
|
|
@@ -110,13 +110,13 @@ declare const _default: import("vue").DefineComponent<import("vue").ExtractPropT
|
|
|
110
110
|
}, any>;
|
|
111
111
|
avatar?: DeepPartial<{
|
|
112
112
|
base: string;
|
|
113
|
-
size: "
|
|
113
|
+
size: import("../../types/avatar").AvatarSize;
|
|
114
114
|
}, any>;
|
|
115
115
|
badge?: DeepPartial<{
|
|
116
116
|
base: string;
|
|
117
|
-
color: "
|
|
118
|
-
variant: "
|
|
119
|
-
size: "
|
|
117
|
+
color: import("../../types/badge").BadgeColor;
|
|
118
|
+
variant: import("../../types/badge").BadgeVariant;
|
|
119
|
+
size: import("../../types/badge").BadgeSize;
|
|
120
120
|
}, any>;
|
|
121
121
|
} & {
|
|
122
122
|
[key: string]: any;
|
|
@@ -468,9 +468,6 @@ declare const _default: import("vue").DefineComponent<import("vue").ExtractPropT
|
|
|
468
468
|
}>> & Readonly<{}>, {
|
|
469
469
|
size: import("../../types/avatar").AvatarSize;
|
|
470
470
|
class: any;
|
|
471
|
-
as: string | Record<string, any>;
|
|
472
|
-
text: string;
|
|
473
|
-
alt: string;
|
|
474
471
|
ui: {
|
|
475
472
|
wrapper?: string;
|
|
476
473
|
background?: string;
|
|
@@ -534,6 +531,9 @@ declare const _default: import("vue").DefineComponent<import("vue").ExtractPropT
|
|
|
534
531
|
} & {
|
|
535
532
|
strategy?: Strategy;
|
|
536
533
|
};
|
|
534
|
+
as: string | Record<string, any>;
|
|
535
|
+
text: string;
|
|
536
|
+
alt: string;
|
|
537
537
|
icon: string;
|
|
538
538
|
src: string | boolean;
|
|
539
539
|
chipColor: import("../../types/avatar").AvatarChipColor;
|
|
@@ -607,6 +607,26 @@ declare const _default: import("vue").DefineComponent<import("vue").ExtractPropT
|
|
|
607
607
|
type: (StringConstructor | NumberConstructor)[];
|
|
608
608
|
default: any;
|
|
609
609
|
};
|
|
610
|
+
icon: {
|
|
611
|
+
type: StringConstructor;
|
|
612
|
+
default: any;
|
|
613
|
+
};
|
|
614
|
+
leadingIcon: {
|
|
615
|
+
type: StringConstructor;
|
|
616
|
+
default: any;
|
|
617
|
+
};
|
|
618
|
+
trailingIcon: {
|
|
619
|
+
type: StringConstructor;
|
|
620
|
+
default: any;
|
|
621
|
+
};
|
|
622
|
+
trailing: {
|
|
623
|
+
type: BooleanConstructor;
|
|
624
|
+
default: boolean;
|
|
625
|
+
};
|
|
626
|
+
leading: {
|
|
627
|
+
type: BooleanConstructor;
|
|
628
|
+
default: boolean;
|
|
629
|
+
};
|
|
610
630
|
class: {
|
|
611
631
|
type: PropType<any>;
|
|
612
632
|
default: () => "";
|
|
@@ -622,6 +642,12 @@ declare const _default: import("vue").DefineComponent<import("vue").ExtractPropT
|
|
|
622
642
|
md: string;
|
|
623
643
|
lg: string;
|
|
624
644
|
};
|
|
645
|
+
gap: {
|
|
646
|
+
xs: string;
|
|
647
|
+
sm: string;
|
|
648
|
+
md: string;
|
|
649
|
+
lg: string;
|
|
650
|
+
};
|
|
625
651
|
color: {
|
|
626
652
|
white: {
|
|
627
653
|
solid: string;
|
|
@@ -639,6 +665,15 @@ declare const _default: import("vue").DefineComponent<import("vue").ExtractPropT
|
|
|
639
665
|
soft: string;
|
|
640
666
|
subtle: string;
|
|
641
667
|
};
|
|
668
|
+
icon: {
|
|
669
|
+
base: string;
|
|
670
|
+
size: {
|
|
671
|
+
xs: string;
|
|
672
|
+
sm: string;
|
|
673
|
+
md: string;
|
|
674
|
+
lg: string;
|
|
675
|
+
};
|
|
676
|
+
};
|
|
642
677
|
default: {
|
|
643
678
|
size: string;
|
|
644
679
|
variant: string;
|
|
@@ -653,7 +688,13 @@ declare const _default: import("vue").DefineComponent<import("vue").ExtractPropT
|
|
|
653
688
|
attrs: import("vue").ComputedRef<Pick<{
|
|
654
689
|
[x: string]: unknown;
|
|
655
690
|
}, string>>;
|
|
691
|
+
isLeading: import("vue").ComputedRef<string | true>;
|
|
692
|
+
isTrailing: import("vue").ComputedRef<string | true>;
|
|
656
693
|
badgeClass: import("vue").ComputedRef<string>;
|
|
694
|
+
leadingIconName: import("vue").ComputedRef<string>;
|
|
695
|
+
trailingIconName: import("vue").ComputedRef<string>;
|
|
696
|
+
leadingIconClass: import("vue").ComputedRef<string>;
|
|
697
|
+
trailingIconClass: import("vue").ComputedRef<string>;
|
|
657
698
|
}, {}, {}, {}, import("vue").ComponentOptionsMixin, import("vue").ComponentOptionsMixin, {}, string, import("vue").PublicProps, Readonly<import("vue").ExtractPropTypes<{
|
|
658
699
|
size: {
|
|
659
700
|
type: PropType<import("../../types/badge").BadgeSize>;
|
|
@@ -674,6 +715,26 @@ declare const _default: import("vue").DefineComponent<import("vue").ExtractPropT
|
|
|
674
715
|
type: (StringConstructor | NumberConstructor)[];
|
|
675
716
|
default: any;
|
|
676
717
|
};
|
|
718
|
+
icon: {
|
|
719
|
+
type: StringConstructor;
|
|
720
|
+
default: any;
|
|
721
|
+
};
|
|
722
|
+
leadingIcon: {
|
|
723
|
+
type: StringConstructor;
|
|
724
|
+
default: any;
|
|
725
|
+
};
|
|
726
|
+
trailingIcon: {
|
|
727
|
+
type: StringConstructor;
|
|
728
|
+
default: any;
|
|
729
|
+
};
|
|
730
|
+
trailing: {
|
|
731
|
+
type: BooleanConstructor;
|
|
732
|
+
default: boolean;
|
|
733
|
+
};
|
|
734
|
+
leading: {
|
|
735
|
+
type: BooleanConstructor;
|
|
736
|
+
default: boolean;
|
|
737
|
+
};
|
|
677
738
|
class: {
|
|
678
739
|
type: PropType<any>;
|
|
679
740
|
default: () => "";
|
|
@@ -689,6 +750,12 @@ declare const _default: import("vue").DefineComponent<import("vue").ExtractPropT
|
|
|
689
750
|
md: string;
|
|
690
751
|
lg: string;
|
|
691
752
|
};
|
|
753
|
+
gap: {
|
|
754
|
+
xs: string;
|
|
755
|
+
sm: string;
|
|
756
|
+
md: string;
|
|
757
|
+
lg: string;
|
|
758
|
+
};
|
|
692
759
|
color: {
|
|
693
760
|
white: {
|
|
694
761
|
solid: string;
|
|
@@ -706,6 +773,15 @@ declare const _default: import("vue").DefineComponent<import("vue").ExtractPropT
|
|
|
706
773
|
soft: string;
|
|
707
774
|
subtle: string;
|
|
708
775
|
};
|
|
776
|
+
icon: {
|
|
777
|
+
base: string;
|
|
778
|
+
size: {
|
|
779
|
+
xs: string;
|
|
780
|
+
sm: string;
|
|
781
|
+
md: string;
|
|
782
|
+
lg: string;
|
|
783
|
+
};
|
|
784
|
+
};
|
|
709
785
|
default: {
|
|
710
786
|
size: string;
|
|
711
787
|
variant: string;
|
|
@@ -719,9 +795,6 @@ declare const _default: import("vue").DefineComponent<import("vue").ExtractPropT
|
|
|
719
795
|
}>> & Readonly<{}>, {
|
|
720
796
|
size: import("../../types/badge").BadgeSize;
|
|
721
797
|
class: any;
|
|
722
|
-
color: import("../../types/badge").BadgeColor;
|
|
723
|
-
variant: import("../../types/badge").BadgeVariant;
|
|
724
|
-
label: string | number;
|
|
725
798
|
ui: {
|
|
726
799
|
base?: string;
|
|
727
800
|
rounded?: string;
|
|
@@ -732,6 +805,12 @@ declare const _default: import("vue").DefineComponent<import("vue").ExtractPropT
|
|
|
732
805
|
md: string;
|
|
733
806
|
lg: string;
|
|
734
807
|
}, any>;
|
|
808
|
+
gap?: DeepPartial<{
|
|
809
|
+
xs: string;
|
|
810
|
+
sm: string;
|
|
811
|
+
md: string;
|
|
812
|
+
lg: string;
|
|
813
|
+
}, any>;
|
|
735
814
|
color?: DeepPartial<{
|
|
736
815
|
white: {
|
|
737
816
|
solid: string;
|
|
@@ -749,6 +828,15 @@ declare const _default: import("vue").DefineComponent<import("vue").ExtractPropT
|
|
|
749
828
|
soft: string;
|
|
750
829
|
subtle: string;
|
|
751
830
|
}, any>;
|
|
831
|
+
icon?: DeepPartial<{
|
|
832
|
+
base: string;
|
|
833
|
+
size: {
|
|
834
|
+
xs: string;
|
|
835
|
+
sm: string;
|
|
836
|
+
md: string;
|
|
837
|
+
lg: string;
|
|
838
|
+
};
|
|
839
|
+
}, any>;
|
|
752
840
|
default?: DeepPartial<{
|
|
753
841
|
size: string;
|
|
754
842
|
variant: string;
|
|
@@ -759,7 +847,61 @@ declare const _default: import("vue").DefineComponent<import("vue").ExtractPropT
|
|
|
759
847
|
} & {
|
|
760
848
|
strategy?: Strategy;
|
|
761
849
|
};
|
|
762
|
-
|
|
850
|
+
color: import("../../types/badge").BadgeColor;
|
|
851
|
+
variant: import("../../types/badge").BadgeVariant;
|
|
852
|
+
leading: boolean;
|
|
853
|
+
label: string | number;
|
|
854
|
+
icon: string;
|
|
855
|
+
leadingIcon: string;
|
|
856
|
+
trailingIcon: string;
|
|
857
|
+
trailing: boolean;
|
|
858
|
+
}, {}, {
|
|
859
|
+
UIcon: import("vue").DefineComponent<import("vue").ExtractPropTypes<{
|
|
860
|
+
name: {
|
|
861
|
+
type: StringConstructor;
|
|
862
|
+
required: true;
|
|
863
|
+
};
|
|
864
|
+
mode: {
|
|
865
|
+
type: PropType<"svg" | "css">;
|
|
866
|
+
required: false;
|
|
867
|
+
default: any;
|
|
868
|
+
};
|
|
869
|
+
size: {
|
|
870
|
+
type: (StringConstructor | NumberConstructor)[];
|
|
871
|
+
required: false;
|
|
872
|
+
default: any;
|
|
873
|
+
};
|
|
874
|
+
customize: {
|
|
875
|
+
type: FunctionConstructor;
|
|
876
|
+
required: false;
|
|
877
|
+
default: any;
|
|
878
|
+
};
|
|
879
|
+
}>, {}, {}, {}, {}, import("vue").ComponentOptionsMixin, import("vue").ComponentOptionsMixin, {}, string, import("vue").PublicProps, Readonly<import("vue").ExtractPropTypes<{
|
|
880
|
+
name: {
|
|
881
|
+
type: StringConstructor;
|
|
882
|
+
required: true;
|
|
883
|
+
};
|
|
884
|
+
mode: {
|
|
885
|
+
type: PropType<"svg" | "css">;
|
|
886
|
+
required: false;
|
|
887
|
+
default: any;
|
|
888
|
+
};
|
|
889
|
+
size: {
|
|
890
|
+
type: (StringConstructor | NumberConstructor)[];
|
|
891
|
+
required: false;
|
|
892
|
+
default: any;
|
|
893
|
+
};
|
|
894
|
+
customize: {
|
|
895
|
+
type: FunctionConstructor;
|
|
896
|
+
required: false;
|
|
897
|
+
default: any;
|
|
898
|
+
};
|
|
899
|
+
}>> & Readonly<{}>, {
|
|
900
|
+
mode: "svg" | "css";
|
|
901
|
+
size: string | number;
|
|
902
|
+
customize: Function;
|
|
903
|
+
}, {}, {}, {}, string, import("vue").ComponentProvideOptions, true, {}, any>;
|
|
904
|
+
}, {}, string, import("vue").ComponentProvideOptions, true, {}, any>;
|
|
763
905
|
ULink: import("vue").DefineComponent<import("vue").ExtractPropTypes<{
|
|
764
906
|
as: {
|
|
765
907
|
type: StringConstructor;
|
|
@@ -782,7 +924,7 @@ declare const _default: import("vue").DefineComponent<import("vue").ExtractPropT
|
|
|
782
924
|
default: boolean;
|
|
783
925
|
};
|
|
784
926
|
exactQuery: {
|
|
785
|
-
type:
|
|
927
|
+
type: PropType<boolean | "partial">;
|
|
786
928
|
default: boolean;
|
|
787
929
|
};
|
|
788
930
|
exactHash: {
|
|
@@ -885,7 +1027,7 @@ declare const _default: import("vue").DefineComponent<import("vue").ExtractPropT
|
|
|
885
1027
|
default: boolean;
|
|
886
1028
|
};
|
|
887
1029
|
exactQuery: {
|
|
888
|
-
type:
|
|
1030
|
+
type: PropType<boolean | "partial">;
|
|
889
1031
|
default: boolean;
|
|
890
1032
|
};
|
|
891
1033
|
exactHash: {
|
|
@@ -978,7 +1120,7 @@ declare const _default: import("vue").DefineComponent<import("vue").ExtractPropT
|
|
|
978
1120
|
as: string;
|
|
979
1121
|
active: boolean;
|
|
980
1122
|
exact: boolean;
|
|
981
|
-
exactQuery: boolean;
|
|
1123
|
+
exactQuery: boolean | "partial";
|
|
982
1124
|
exactHash: boolean;
|
|
983
1125
|
inactiveClass: string;
|
|
984
1126
|
href: string | import("vue-router").RouteLocationAsRelativeGeneric | import("vue-router").RouteLocationAsPathGeneric;
|