@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
|
@@ -8,28 +8,28 @@ declare const config: {
|
|
|
8
8
|
default: {
|
|
9
9
|
size: string;
|
|
10
10
|
activeButton: {
|
|
11
|
-
color: "
|
|
11
|
+
color: import("../../types/button").ButtonColor;
|
|
12
12
|
};
|
|
13
13
|
inactiveButton: {
|
|
14
|
-
color: "
|
|
14
|
+
color: import("../../types/button").ButtonColor;
|
|
15
15
|
};
|
|
16
16
|
firstButton: {
|
|
17
|
-
color: "
|
|
17
|
+
color: import("../../types/button").ButtonColor;
|
|
18
18
|
class: string;
|
|
19
19
|
icon: string;
|
|
20
20
|
};
|
|
21
21
|
lastButton: {
|
|
22
|
-
color: "
|
|
22
|
+
color: import("../../types/button").ButtonColor;
|
|
23
23
|
class: string;
|
|
24
24
|
icon: string;
|
|
25
25
|
};
|
|
26
26
|
prevButton: {
|
|
27
|
-
color: "
|
|
27
|
+
color: import("../../types/button").ButtonColor;
|
|
28
28
|
class: string;
|
|
29
29
|
icon: string;
|
|
30
30
|
};
|
|
31
31
|
nextButton: {
|
|
32
|
-
color: "
|
|
32
|
+
color: import("../../types/button").ButtonColor;
|
|
33
33
|
class: string;
|
|
34
34
|
icon: string;
|
|
35
35
|
};
|
|
@@ -120,28 +120,28 @@ declare const _default: import("vue").DefineComponent<import("vue").ExtractPropT
|
|
|
120
120
|
default: {
|
|
121
121
|
size: string;
|
|
122
122
|
activeButton: {
|
|
123
|
-
color: "
|
|
123
|
+
color: import("../../types/button").ButtonColor;
|
|
124
124
|
};
|
|
125
125
|
inactiveButton: {
|
|
126
|
-
color: "
|
|
126
|
+
color: import("../../types/button").ButtonColor;
|
|
127
127
|
};
|
|
128
128
|
firstButton: {
|
|
129
|
-
color: "
|
|
129
|
+
color: import("../../types/button").ButtonColor;
|
|
130
130
|
class: string;
|
|
131
131
|
icon: string;
|
|
132
132
|
};
|
|
133
133
|
lastButton: {
|
|
134
|
-
color: "
|
|
134
|
+
color: import("../../types/button").ButtonColor;
|
|
135
135
|
class: string;
|
|
136
136
|
icon: string;
|
|
137
137
|
};
|
|
138
138
|
prevButton: {
|
|
139
|
-
color: "
|
|
139
|
+
color: import("../../types/button").ButtonColor;
|
|
140
140
|
class: string;
|
|
141
141
|
icon: string;
|
|
142
142
|
};
|
|
143
143
|
nextButton: {
|
|
144
|
-
color: "
|
|
144
|
+
color: import("../../types/button").ButtonColor;
|
|
145
145
|
class: string;
|
|
146
146
|
icon: string;
|
|
147
147
|
};
|
|
@@ -252,28 +252,28 @@ declare const _default: import("vue").DefineComponent<import("vue").ExtractPropT
|
|
|
252
252
|
default?: DeepPartial<{
|
|
253
253
|
size: string;
|
|
254
254
|
activeButton: {
|
|
255
|
-
color: "
|
|
255
|
+
color: import("../../types/button").ButtonColor;
|
|
256
256
|
};
|
|
257
257
|
inactiveButton: {
|
|
258
|
-
color: "
|
|
258
|
+
color: import("../../types/button").ButtonColor;
|
|
259
259
|
};
|
|
260
260
|
firstButton: {
|
|
261
|
-
color: "
|
|
261
|
+
color: import("../../types/button").ButtonColor;
|
|
262
262
|
class: string;
|
|
263
263
|
icon: string;
|
|
264
264
|
};
|
|
265
265
|
lastButton: {
|
|
266
|
-
color: "
|
|
266
|
+
color: import("../../types/button").ButtonColor;
|
|
267
267
|
class: string;
|
|
268
268
|
icon: string;
|
|
269
269
|
};
|
|
270
270
|
prevButton: {
|
|
271
|
-
color: "
|
|
271
|
+
color: import("../../types/button").ButtonColor;
|
|
272
272
|
class: string;
|
|
273
273
|
icon: string;
|
|
274
274
|
};
|
|
275
275
|
nextButton: {
|
|
276
|
-
color: "
|
|
276
|
+
color: import("../../types/button").ButtonColor;
|
|
277
277
|
class: string;
|
|
278
278
|
icon: string;
|
|
279
279
|
};
|
|
@@ -845,23 +845,6 @@ declare const _default: import("vue").DefineComponent<import("vue").ExtractPropT
|
|
|
845
845
|
class: any;
|
|
846
846
|
to: string | import("vue-router").RouteLocationAsRelativeGeneric | import("vue-router").RouteLocationAsPathGeneric;
|
|
847
847
|
disabled: boolean;
|
|
848
|
-
truncate: boolean;
|
|
849
|
-
target: "_blank" | "_parent" | "_self" | "_top" | (string & {});
|
|
850
|
-
activeClass: string;
|
|
851
|
-
exactActiveClass: string;
|
|
852
|
-
ariaCurrentValue: "page" | "step" | "location" | "date" | "time" | "true" | "false";
|
|
853
|
-
replace: boolean;
|
|
854
|
-
noRel: boolean;
|
|
855
|
-
prefetch: boolean;
|
|
856
|
-
noPrefetch: boolean;
|
|
857
|
-
prefetchedClass: string;
|
|
858
|
-
external: boolean;
|
|
859
|
-
leading: boolean;
|
|
860
|
-
color: import("../../types/button").ButtonColor;
|
|
861
|
-
variant: import("../../types/button").ButtonVariant;
|
|
862
|
-
href: string | import("vue-router").RouteLocationAsRelativeGeneric | import("vue-router").RouteLocationAsPathGeneric;
|
|
863
|
-
rel: any;
|
|
864
|
-
label: string;
|
|
865
848
|
ui: {
|
|
866
849
|
base?: string;
|
|
867
850
|
font?: string;
|
|
@@ -946,6 +929,23 @@ declare const _default: import("vue").DefineComponent<import("vue").ExtractPropT
|
|
|
946
929
|
} & {
|
|
947
930
|
strategy?: Strategy;
|
|
948
931
|
};
|
|
932
|
+
color: import("../../types/button").ButtonColor;
|
|
933
|
+
variant: import("../../types/button").ButtonVariant;
|
|
934
|
+
truncate: boolean;
|
|
935
|
+
target: "_blank" | "_parent" | "_self" | "_top" | (string & {});
|
|
936
|
+
activeClass: string;
|
|
937
|
+
exactActiveClass: string;
|
|
938
|
+
ariaCurrentValue: "page" | "step" | "location" | "date" | "time" | "true" | "false";
|
|
939
|
+
replace: boolean;
|
|
940
|
+
noRel: boolean;
|
|
941
|
+
prefetch: boolean;
|
|
942
|
+
noPrefetch: boolean;
|
|
943
|
+
prefetchedClass: string;
|
|
944
|
+
external: boolean;
|
|
945
|
+
leading: boolean;
|
|
946
|
+
href: string | import("vue-router").RouteLocationAsRelativeGeneric | import("vue-router").RouteLocationAsPathGeneric;
|
|
947
|
+
rel: any;
|
|
948
|
+
label: string;
|
|
949
949
|
icon: string;
|
|
950
950
|
block: boolean;
|
|
951
951
|
square: boolean;
|
|
@@ -1023,7 +1023,7 @@ declare const _default: import("vue").DefineComponent<import("vue").ExtractPropT
|
|
|
1023
1023
|
default: boolean;
|
|
1024
1024
|
};
|
|
1025
1025
|
exactQuery: {
|
|
1026
|
-
type:
|
|
1026
|
+
type: PropType<boolean | "partial">;
|
|
1027
1027
|
default: boolean;
|
|
1028
1028
|
};
|
|
1029
1029
|
exactHash: {
|
|
@@ -1126,7 +1126,7 @@ declare const _default: import("vue").DefineComponent<import("vue").ExtractPropT
|
|
|
1126
1126
|
default: boolean;
|
|
1127
1127
|
};
|
|
1128
1128
|
exactQuery: {
|
|
1129
|
-
type:
|
|
1129
|
+
type: PropType<boolean | "partial">;
|
|
1130
1130
|
default: boolean;
|
|
1131
1131
|
};
|
|
1132
1132
|
exactHash: {
|
|
@@ -1219,7 +1219,7 @@ declare const _default: import("vue").DefineComponent<import("vue").ExtractPropT
|
|
|
1219
1219
|
as: string;
|
|
1220
1220
|
active: boolean;
|
|
1221
1221
|
exact: boolean;
|
|
1222
|
-
exactQuery: boolean;
|
|
1222
|
+
exactQuery: boolean | "partial";
|
|
1223
1223
|
exactHash: boolean;
|
|
1224
1224
|
inactiveClass: string;
|
|
1225
1225
|
href: string | import("vue-router").RouteLocationAsRelativeGeneric | import("vue-router").RouteLocationAsPathGeneric;
|
|
@@ -154,8 +154,6 @@ declare const _default: import("vue").DefineComponent<import("vue").ExtractPropT
|
|
|
154
154
|
"onUpdate:modelValue"?: (...args: any[]) => any;
|
|
155
155
|
}>, {
|
|
156
156
|
class: any;
|
|
157
|
-
content: boolean;
|
|
158
|
-
orientation: "horizontal" | "vertical";
|
|
159
157
|
ui: {
|
|
160
158
|
wrapper?: string;
|
|
161
159
|
container?: string;
|
|
@@ -194,6 +192,8 @@ declare const _default: import("vue").DefineComponent<import("vue").ExtractPropT
|
|
|
194
192
|
} & {
|
|
195
193
|
strategy?: Strategy;
|
|
196
194
|
};
|
|
195
|
+
content: boolean;
|
|
196
|
+
orientation: "horizontal" | "vertical";
|
|
197
197
|
modelValue: number;
|
|
198
198
|
unmount: boolean;
|
|
199
199
|
items: TabItem[];
|
|
@@ -54,14 +54,14 @@
|
|
|
54
54
|
|
|
55
55
|
<script>
|
|
56
56
|
import { toRef, defineComponent, computed } from "vue";
|
|
57
|
-
import {
|
|
57
|
+
import { twJoin } from "tailwind-merge";
|
|
58
58
|
import UIcon from "../elements/Icon.vue";
|
|
59
59
|
import UAvatar from "../elements/Avatar.vue";
|
|
60
60
|
import UBadge from "../elements/Badge.vue";
|
|
61
61
|
import ULink from "../elements/Link.vue";
|
|
62
62
|
import UDivider from "../layout/Divider.vue";
|
|
63
63
|
import { useUI } from "../../composables/useUI";
|
|
64
|
-
import { mergeConfig,
|
|
64
|
+
import { getULinkProps, mergeConfig, twMerge } from "../../utils";
|
|
65
65
|
import appConfig from "#build/app.config";
|
|
66
66
|
import { verticalNavigation } from "#ui/ui.config";
|
|
67
67
|
const config = mergeConfig(appConfig.ui.strategy, appConfig.ui.verticalNavigation, verticalNavigation);
|
|
@@ -20,13 +20,13 @@ declare const config: {
|
|
|
20
20
|
};
|
|
21
21
|
avatar: {
|
|
22
22
|
base: string;
|
|
23
|
-
size: "
|
|
23
|
+
size: import("../../types/avatar").AvatarSize;
|
|
24
24
|
};
|
|
25
25
|
badge: {
|
|
26
26
|
base: string;
|
|
27
|
-
color: "
|
|
28
|
-
variant: "
|
|
29
|
-
size: "
|
|
27
|
+
color: import("../../types/badge").BadgeColor;
|
|
28
|
+
variant: import("../../types/badge").BadgeVariant;
|
|
29
|
+
size: import("../../types/badge").BadgeSize;
|
|
30
30
|
};
|
|
31
31
|
divider: {
|
|
32
32
|
wrapper: {
|
|
@@ -69,13 +69,13 @@ declare const _default: import("vue").DefineComponent<import("vue").ExtractPropT
|
|
|
69
69
|
};
|
|
70
70
|
avatar: {
|
|
71
71
|
base: string;
|
|
72
|
-
size: "
|
|
72
|
+
size: import("../../types/avatar").AvatarSize;
|
|
73
73
|
};
|
|
74
74
|
badge: {
|
|
75
75
|
base: string;
|
|
76
|
-
color: "
|
|
77
|
-
variant: "
|
|
78
|
-
size: "
|
|
76
|
+
color: import("../../types/badge").BadgeColor;
|
|
77
|
+
variant: import("../../types/badge").BadgeVariant;
|
|
78
|
+
size: import("../../types/badge").BadgeSize;
|
|
79
79
|
};
|
|
80
80
|
divider: {
|
|
81
81
|
wrapper: {
|
|
@@ -126,13 +126,13 @@ declare const _default: import("vue").DefineComponent<import("vue").ExtractPropT
|
|
|
126
126
|
}, any>;
|
|
127
127
|
avatar?: DeepPartial<{
|
|
128
128
|
base: string;
|
|
129
|
-
size: "
|
|
129
|
+
size: import("../../types/avatar").AvatarSize;
|
|
130
130
|
}, any>;
|
|
131
131
|
badge?: DeepPartial<{
|
|
132
132
|
base: string;
|
|
133
|
-
color: "
|
|
134
|
-
variant: "
|
|
135
|
-
size: "
|
|
133
|
+
color: import("../../types/badge").BadgeColor;
|
|
134
|
+
variant: import("../../types/badge").BadgeVariant;
|
|
135
|
+
size: import("../../types/badge").BadgeSize;
|
|
136
136
|
}, any>;
|
|
137
137
|
divider?: DeepPartial<{
|
|
138
138
|
wrapper: {
|
|
@@ -489,9 +489,6 @@ declare const _default: import("vue").DefineComponent<import("vue").ExtractPropT
|
|
|
489
489
|
}>> & Readonly<{}>, {
|
|
490
490
|
size: import("../../types/avatar").AvatarSize;
|
|
491
491
|
class: any;
|
|
492
|
-
as: string | Record<string, any>;
|
|
493
|
-
text: string;
|
|
494
|
-
alt: string;
|
|
495
492
|
ui: {
|
|
496
493
|
wrapper?: string;
|
|
497
494
|
background?: string;
|
|
@@ -555,6 +552,9 @@ declare const _default: import("vue").DefineComponent<import("vue").ExtractPropT
|
|
|
555
552
|
} & {
|
|
556
553
|
strategy?: Strategy;
|
|
557
554
|
};
|
|
555
|
+
as: string | Record<string, any>;
|
|
556
|
+
text: string;
|
|
557
|
+
alt: string;
|
|
558
558
|
icon: string;
|
|
559
559
|
src: string | boolean;
|
|
560
560
|
chipColor: import("../../types/avatar").AvatarChipColor;
|
|
@@ -628,6 +628,26 @@ declare const _default: import("vue").DefineComponent<import("vue").ExtractPropT
|
|
|
628
628
|
type: (StringConstructor | NumberConstructor)[];
|
|
629
629
|
default: any;
|
|
630
630
|
};
|
|
631
|
+
icon: {
|
|
632
|
+
type: StringConstructor;
|
|
633
|
+
default: any;
|
|
634
|
+
};
|
|
635
|
+
leadingIcon: {
|
|
636
|
+
type: StringConstructor;
|
|
637
|
+
default: any;
|
|
638
|
+
};
|
|
639
|
+
trailingIcon: {
|
|
640
|
+
type: StringConstructor;
|
|
641
|
+
default: any;
|
|
642
|
+
};
|
|
643
|
+
trailing: {
|
|
644
|
+
type: BooleanConstructor;
|
|
645
|
+
default: boolean;
|
|
646
|
+
};
|
|
647
|
+
leading: {
|
|
648
|
+
type: BooleanConstructor;
|
|
649
|
+
default: boolean;
|
|
650
|
+
};
|
|
631
651
|
class: {
|
|
632
652
|
type: PropType<any>;
|
|
633
653
|
default: () => "";
|
|
@@ -643,6 +663,12 @@ declare const _default: import("vue").DefineComponent<import("vue").ExtractPropT
|
|
|
643
663
|
md: string;
|
|
644
664
|
lg: string;
|
|
645
665
|
};
|
|
666
|
+
gap: {
|
|
667
|
+
xs: string;
|
|
668
|
+
sm: string;
|
|
669
|
+
md: string;
|
|
670
|
+
lg: string;
|
|
671
|
+
};
|
|
646
672
|
color: {
|
|
647
673
|
white: {
|
|
648
674
|
solid: string;
|
|
@@ -660,6 +686,15 @@ declare const _default: import("vue").DefineComponent<import("vue").ExtractPropT
|
|
|
660
686
|
soft: string;
|
|
661
687
|
subtle: string;
|
|
662
688
|
};
|
|
689
|
+
icon: {
|
|
690
|
+
base: string;
|
|
691
|
+
size: {
|
|
692
|
+
xs: string;
|
|
693
|
+
sm: string;
|
|
694
|
+
md: string;
|
|
695
|
+
lg: string;
|
|
696
|
+
};
|
|
697
|
+
};
|
|
663
698
|
default: {
|
|
664
699
|
size: string;
|
|
665
700
|
variant: string;
|
|
@@ -674,7 +709,13 @@ declare const _default: import("vue").DefineComponent<import("vue").ExtractPropT
|
|
|
674
709
|
attrs: import("vue").ComputedRef<Pick<{
|
|
675
710
|
[x: string]: unknown;
|
|
676
711
|
}, string>>;
|
|
712
|
+
isLeading: import("vue").ComputedRef<string | true>;
|
|
713
|
+
isTrailing: import("vue").ComputedRef<string | true>;
|
|
677
714
|
badgeClass: import("vue").ComputedRef<string>;
|
|
715
|
+
leadingIconName: import("vue").ComputedRef<string>;
|
|
716
|
+
trailingIconName: import("vue").ComputedRef<string>;
|
|
717
|
+
leadingIconClass: import("vue").ComputedRef<string>;
|
|
718
|
+
trailingIconClass: import("vue").ComputedRef<string>;
|
|
678
719
|
}, {}, {}, {}, import("vue").ComponentOptionsMixin, import("vue").ComponentOptionsMixin, {}, string, import("vue").PublicProps, Readonly<import("vue").ExtractPropTypes<{
|
|
679
720
|
size: {
|
|
680
721
|
type: PropType<import("../../types/badge").BadgeSize>;
|
|
@@ -695,6 +736,26 @@ declare const _default: import("vue").DefineComponent<import("vue").ExtractPropT
|
|
|
695
736
|
type: (StringConstructor | NumberConstructor)[];
|
|
696
737
|
default: any;
|
|
697
738
|
};
|
|
739
|
+
icon: {
|
|
740
|
+
type: StringConstructor;
|
|
741
|
+
default: any;
|
|
742
|
+
};
|
|
743
|
+
leadingIcon: {
|
|
744
|
+
type: StringConstructor;
|
|
745
|
+
default: any;
|
|
746
|
+
};
|
|
747
|
+
trailingIcon: {
|
|
748
|
+
type: StringConstructor;
|
|
749
|
+
default: any;
|
|
750
|
+
};
|
|
751
|
+
trailing: {
|
|
752
|
+
type: BooleanConstructor;
|
|
753
|
+
default: boolean;
|
|
754
|
+
};
|
|
755
|
+
leading: {
|
|
756
|
+
type: BooleanConstructor;
|
|
757
|
+
default: boolean;
|
|
758
|
+
};
|
|
698
759
|
class: {
|
|
699
760
|
type: PropType<any>;
|
|
700
761
|
default: () => "";
|
|
@@ -710,6 +771,12 @@ declare const _default: import("vue").DefineComponent<import("vue").ExtractPropT
|
|
|
710
771
|
md: string;
|
|
711
772
|
lg: string;
|
|
712
773
|
};
|
|
774
|
+
gap: {
|
|
775
|
+
xs: string;
|
|
776
|
+
sm: string;
|
|
777
|
+
md: string;
|
|
778
|
+
lg: string;
|
|
779
|
+
};
|
|
713
780
|
color: {
|
|
714
781
|
white: {
|
|
715
782
|
solid: string;
|
|
@@ -727,6 +794,15 @@ declare const _default: import("vue").DefineComponent<import("vue").ExtractPropT
|
|
|
727
794
|
soft: string;
|
|
728
795
|
subtle: string;
|
|
729
796
|
};
|
|
797
|
+
icon: {
|
|
798
|
+
base: string;
|
|
799
|
+
size: {
|
|
800
|
+
xs: string;
|
|
801
|
+
sm: string;
|
|
802
|
+
md: string;
|
|
803
|
+
lg: string;
|
|
804
|
+
};
|
|
805
|
+
};
|
|
730
806
|
default: {
|
|
731
807
|
size: string;
|
|
732
808
|
variant: string;
|
|
@@ -740,9 +816,6 @@ declare const _default: import("vue").DefineComponent<import("vue").ExtractPropT
|
|
|
740
816
|
}>> & Readonly<{}>, {
|
|
741
817
|
size: import("../../types/badge").BadgeSize;
|
|
742
818
|
class: any;
|
|
743
|
-
color: import("../../types/badge").BadgeColor;
|
|
744
|
-
variant: import("../../types/badge").BadgeVariant;
|
|
745
|
-
label: string | number;
|
|
746
819
|
ui: {
|
|
747
820
|
base?: string;
|
|
748
821
|
rounded?: string;
|
|
@@ -753,6 +826,12 @@ declare const _default: import("vue").DefineComponent<import("vue").ExtractPropT
|
|
|
753
826
|
md: string;
|
|
754
827
|
lg: string;
|
|
755
828
|
}, any>;
|
|
829
|
+
gap?: DeepPartial<{
|
|
830
|
+
xs: string;
|
|
831
|
+
sm: string;
|
|
832
|
+
md: string;
|
|
833
|
+
lg: string;
|
|
834
|
+
}, any>;
|
|
756
835
|
color?: DeepPartial<{
|
|
757
836
|
white: {
|
|
758
837
|
solid: string;
|
|
@@ -770,6 +849,15 @@ declare const _default: import("vue").DefineComponent<import("vue").ExtractPropT
|
|
|
770
849
|
soft: string;
|
|
771
850
|
subtle: string;
|
|
772
851
|
}, any>;
|
|
852
|
+
icon?: DeepPartial<{
|
|
853
|
+
base: string;
|
|
854
|
+
size: {
|
|
855
|
+
xs: string;
|
|
856
|
+
sm: string;
|
|
857
|
+
md: string;
|
|
858
|
+
lg: string;
|
|
859
|
+
};
|
|
860
|
+
}, any>;
|
|
773
861
|
default?: DeepPartial<{
|
|
774
862
|
size: string;
|
|
775
863
|
variant: string;
|
|
@@ -780,7 +868,61 @@ declare const _default: import("vue").DefineComponent<import("vue").ExtractPropT
|
|
|
780
868
|
} & {
|
|
781
869
|
strategy?: Strategy;
|
|
782
870
|
};
|
|
783
|
-
|
|
871
|
+
color: import("../../types/badge").BadgeColor;
|
|
872
|
+
variant: import("../../types/badge").BadgeVariant;
|
|
873
|
+
leading: boolean;
|
|
874
|
+
label: string | number;
|
|
875
|
+
icon: string;
|
|
876
|
+
leadingIcon: string;
|
|
877
|
+
trailingIcon: string;
|
|
878
|
+
trailing: boolean;
|
|
879
|
+
}, {}, {
|
|
880
|
+
UIcon: import("vue").DefineComponent<import("vue").ExtractPropTypes<{
|
|
881
|
+
name: {
|
|
882
|
+
type: StringConstructor;
|
|
883
|
+
required: true;
|
|
884
|
+
};
|
|
885
|
+
mode: {
|
|
886
|
+
type: PropType<"svg" | "css">;
|
|
887
|
+
required: false;
|
|
888
|
+
default: any;
|
|
889
|
+
};
|
|
890
|
+
size: {
|
|
891
|
+
type: (StringConstructor | NumberConstructor)[];
|
|
892
|
+
required: false;
|
|
893
|
+
default: any;
|
|
894
|
+
};
|
|
895
|
+
customize: {
|
|
896
|
+
type: FunctionConstructor;
|
|
897
|
+
required: false;
|
|
898
|
+
default: any;
|
|
899
|
+
};
|
|
900
|
+
}>, {}, {}, {}, {}, import("vue").ComponentOptionsMixin, import("vue").ComponentOptionsMixin, {}, string, import("vue").PublicProps, Readonly<import("vue").ExtractPropTypes<{
|
|
901
|
+
name: {
|
|
902
|
+
type: StringConstructor;
|
|
903
|
+
required: true;
|
|
904
|
+
};
|
|
905
|
+
mode: {
|
|
906
|
+
type: PropType<"svg" | "css">;
|
|
907
|
+
required: false;
|
|
908
|
+
default: any;
|
|
909
|
+
};
|
|
910
|
+
size: {
|
|
911
|
+
type: (StringConstructor | NumberConstructor)[];
|
|
912
|
+
required: false;
|
|
913
|
+
default: any;
|
|
914
|
+
};
|
|
915
|
+
customize: {
|
|
916
|
+
type: FunctionConstructor;
|
|
917
|
+
required: false;
|
|
918
|
+
default: any;
|
|
919
|
+
};
|
|
920
|
+
}>> & Readonly<{}>, {
|
|
921
|
+
mode: "svg" | "css";
|
|
922
|
+
size: string | number;
|
|
923
|
+
customize: Function;
|
|
924
|
+
}, {}, {}, {}, string, import("vue").ComponentProvideOptions, true, {}, any>;
|
|
925
|
+
}, {}, string, import("vue").ComponentProvideOptions, true, {}, any>;
|
|
784
926
|
ULink: import("vue").DefineComponent<import("vue").ExtractPropTypes<{
|
|
785
927
|
as: {
|
|
786
928
|
type: StringConstructor;
|
|
@@ -803,7 +945,7 @@ declare const _default: import("vue").DefineComponent<import("vue").ExtractPropT
|
|
|
803
945
|
default: boolean;
|
|
804
946
|
};
|
|
805
947
|
exactQuery: {
|
|
806
|
-
type:
|
|
948
|
+
type: PropType<boolean | "partial">;
|
|
807
949
|
default: boolean;
|
|
808
950
|
};
|
|
809
951
|
exactHash: {
|
|
@@ -906,7 +1048,7 @@ declare const _default: import("vue").DefineComponent<import("vue").ExtractPropT
|
|
|
906
1048
|
default: boolean;
|
|
907
1049
|
};
|
|
908
1050
|
exactQuery: {
|
|
909
|
-
type:
|
|
1051
|
+
type: PropType<boolean | "partial">;
|
|
910
1052
|
default: boolean;
|
|
911
1053
|
};
|
|
912
1054
|
exactHash: {
|
|
@@ -999,7 +1141,7 @@ declare const _default: import("vue").DefineComponent<import("vue").ExtractPropT
|
|
|
999
1141
|
as: string;
|
|
1000
1142
|
active: boolean;
|
|
1001
1143
|
exact: boolean;
|
|
1002
|
-
exactQuery: boolean;
|
|
1144
|
+
exactQuery: boolean | "partial";
|
|
1003
1145
|
exactHash: boolean;
|
|
1004
1146
|
inactiveClass: string;
|
|
1005
1147
|
href: string | import("vue-router").RouteLocationAsRelativeGeneric | import("vue-router").RouteLocationAsPathGeneric;
|
|
@@ -1020,7 +1162,7 @@ declare const _default: import("vue").DefineComponent<import("vue").ExtractPropT
|
|
|
1020
1162
|
};
|
|
1021
1163
|
size: {
|
|
1022
1164
|
type: PropType<import("../../types/divider").DividerSize>;
|
|
1023
|
-
default: () =>
|
|
1165
|
+
default: () => string;
|
|
1024
1166
|
validator(value: string): boolean;
|
|
1025
1167
|
};
|
|
1026
1168
|
orientation: {
|
|
@@ -1030,7 +1172,7 @@ declare const _default: import("vue").DefineComponent<import("vue").ExtractPropT
|
|
|
1030
1172
|
};
|
|
1031
1173
|
type: {
|
|
1032
1174
|
type: PropType<"solid" | "dotted" | "dashed">;
|
|
1033
|
-
default: () =>
|
|
1175
|
+
default: () => string;
|
|
1034
1176
|
validator: (value: string) => boolean;
|
|
1035
1177
|
};
|
|
1036
1178
|
class: {
|
|
@@ -1082,12 +1224,12 @@ declare const _default: import("vue").DefineComponent<import("vue").ExtractPropT
|
|
|
1082
1224
|
};
|
|
1083
1225
|
avatar: {
|
|
1084
1226
|
base: string;
|
|
1085
|
-
size: "
|
|
1227
|
+
size: import("../../types/avatar").AvatarSize;
|
|
1086
1228
|
};
|
|
1087
1229
|
label: string;
|
|
1088
1230
|
default: {
|
|
1089
|
-
size:
|
|
1090
|
-
type:
|
|
1231
|
+
size: string;
|
|
1232
|
+
type: string;
|
|
1091
1233
|
};
|
|
1092
1234
|
}> & {
|
|
1093
1235
|
strategy?: Strategy;
|
|
@@ -1139,12 +1281,12 @@ declare const _default: import("vue").DefineComponent<import("vue").ExtractPropT
|
|
|
1139
1281
|
};
|
|
1140
1282
|
avatar: {
|
|
1141
1283
|
base: string;
|
|
1142
|
-
size: "
|
|
1284
|
+
size: import("../../types/avatar").AvatarSize;
|
|
1143
1285
|
};
|
|
1144
1286
|
label: string;
|
|
1145
1287
|
default: {
|
|
1146
|
-
size:
|
|
1147
|
-
type:
|
|
1288
|
+
size: string;
|
|
1289
|
+
type: string;
|
|
1148
1290
|
};
|
|
1149
1291
|
}>;
|
|
1150
1292
|
attrs: import("vue").ComputedRef<Pick<{
|
|
@@ -1168,7 +1310,7 @@ declare const _default: import("vue").DefineComponent<import("vue").ExtractPropT
|
|
|
1168
1310
|
};
|
|
1169
1311
|
size: {
|
|
1170
1312
|
type: PropType<import("../../types/divider").DividerSize>;
|
|
1171
|
-
default: () =>
|
|
1313
|
+
default: () => string;
|
|
1172
1314
|
validator(value: string): boolean;
|
|
1173
1315
|
};
|
|
1174
1316
|
orientation: {
|
|
@@ -1178,7 +1320,7 @@ declare const _default: import("vue").DefineComponent<import("vue").ExtractPropT
|
|
|
1178
1320
|
};
|
|
1179
1321
|
type: {
|
|
1180
1322
|
type: PropType<"solid" | "dotted" | "dashed">;
|
|
1181
|
-
default: () =>
|
|
1323
|
+
default: () => string;
|
|
1182
1324
|
validator: (value: string) => boolean;
|
|
1183
1325
|
};
|
|
1184
1326
|
class: {
|
|
@@ -1230,12 +1372,12 @@ declare const _default: import("vue").DefineComponent<import("vue").ExtractPropT
|
|
|
1230
1372
|
};
|
|
1231
1373
|
avatar: {
|
|
1232
1374
|
base: string;
|
|
1233
|
-
size: "
|
|
1375
|
+
size: import("../../types/avatar").AvatarSize;
|
|
1234
1376
|
};
|
|
1235
1377
|
label: string;
|
|
1236
1378
|
default: {
|
|
1237
|
-
size:
|
|
1238
|
-
type:
|
|
1379
|
+
size: string;
|
|
1380
|
+
type: string;
|
|
1239
1381
|
};
|
|
1240
1382
|
}> & {
|
|
1241
1383
|
strategy?: Strategy;
|
|
@@ -1246,9 +1388,6 @@ declare const _default: import("vue").DefineComponent<import("vue").ExtractPropT
|
|
|
1246
1388
|
type: "solid" | "dotted" | "dashed";
|
|
1247
1389
|
size: import("../../types/divider").DividerSize;
|
|
1248
1390
|
class: any;
|
|
1249
|
-
avatar: import("../../types/avatar").Avatar;
|
|
1250
|
-
label: string;
|
|
1251
|
-
orientation: "horizontal" | "vertical";
|
|
1252
1391
|
ui: {
|
|
1253
1392
|
wrapper?: DeepPartial<{
|
|
1254
1393
|
base: string;
|
|
@@ -1293,18 +1432,21 @@ declare const _default: import("vue").DefineComponent<import("vue").ExtractPropT
|
|
|
1293
1432
|
}, any>;
|
|
1294
1433
|
avatar?: DeepPartial<{
|
|
1295
1434
|
base: string;
|
|
1296
|
-
size: "
|
|
1435
|
+
size: import("../../types/avatar").AvatarSize;
|
|
1297
1436
|
}, any>;
|
|
1298
1437
|
label?: string;
|
|
1299
1438
|
default?: DeepPartial<{
|
|
1300
|
-
size:
|
|
1301
|
-
type:
|
|
1439
|
+
size: string;
|
|
1440
|
+
type: string;
|
|
1302
1441
|
}, any>;
|
|
1303
1442
|
} & {
|
|
1304
1443
|
[key: string]: any;
|
|
1305
1444
|
} & {
|
|
1306
1445
|
strategy?: Strategy;
|
|
1307
1446
|
};
|
|
1447
|
+
avatar: import("../../types/avatar").Avatar;
|
|
1448
|
+
label: string;
|
|
1449
|
+
orientation: "horizontal" | "vertical";
|
|
1308
1450
|
icon: string;
|
|
1309
1451
|
}, {}, {
|
|
1310
1452
|
UIcon: import("vue").DefineComponent<import("vue").ExtractPropTypes<{
|
|
@@ -1650,9 +1792,6 @@ declare const _default: import("vue").DefineComponent<import("vue").ExtractPropT
|
|
|
1650
1792
|
}>> & Readonly<{}>, {
|
|
1651
1793
|
size: import("../../types/avatar").AvatarSize;
|
|
1652
1794
|
class: any;
|
|
1653
|
-
as: string | Record<string, any>;
|
|
1654
|
-
text: string;
|
|
1655
|
-
alt: string;
|
|
1656
1795
|
ui: {
|
|
1657
1796
|
wrapper?: string;
|
|
1658
1797
|
background?: string;
|
|
@@ -1716,6 +1855,9 @@ declare const _default: import("vue").DefineComponent<import("vue").ExtractPropT
|
|
|
1716
1855
|
} & {
|
|
1717
1856
|
strategy?: Strategy;
|
|
1718
1857
|
};
|
|
1858
|
+
as: string | Record<string, any>;
|
|
1859
|
+
text: string;
|
|
1860
|
+
alt: string;
|
|
1719
1861
|
icon: string;
|
|
1720
1862
|
src: string | boolean;
|
|
1721
1863
|
chipColor: import("../../types/avatar").AvatarChipColor;
|