@nuxt/ui 2.21.1 → 2.22.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 +22 -7
- package/dist/module.d.mts +2 -1
- package/dist/module.json +3 -3
- package/dist/module.mjs +2 -11
- package/dist/runtime/components/data/Table.vue +16 -13
- package/dist/runtime/components/data/Table.vue.d.ts +44 -347
- package/dist/runtime/components/elements/Accordion.vue +4 -4
- package/dist/runtime/components/elements/Accordion.vue.d.ts +16 -16
- package/dist/runtime/components/elements/Alert.vue +6 -6
- package/dist/runtime/components/elements/Alert.vue.d.ts +38 -38
- package/dist/runtime/components/elements/Avatar.vue.d.ts +2 -2
- package/dist/runtime/components/elements/Badge.vue.d.ts +2 -2
- package/dist/runtime/components/elements/Button.vue.d.ts +6 -6
- package/dist/runtime/components/elements/Carousel.vue +3 -3
- package/dist/runtime/components/elements/Carousel.vue.d.ts +22 -22
- package/dist/runtime/components/elements/Chip.vue.d.ts +1 -1
- package/dist/runtime/components/elements/Dropdown.vue +1 -1
- package/dist/runtime/components/elements/Dropdown.vue.d.ts +19 -19
- package/dist/runtime/components/elements/Kbd.vue.d.ts +1 -1
- package/dist/runtime/components/elements/Link.vue +7 -7
- package/dist/runtime/components/elements/Link.vue.d.ts +2 -2
- package/dist/runtime/components/elements/Meter.vue +1 -1
- package/dist/runtime/components/elements/Meter.vue.d.ts +3 -3
- package/dist/runtime/components/elements/MeterGroup.d.ts +1 -1
- package/dist/runtime/components/elements/Progress.vue +1 -1
- package/dist/runtime/components/elements/Progress.vue.d.ts +5 -5
- package/dist/runtime/components/forms/Checkbox.vue.d.ts +3 -3
- package/dist/runtime/components/forms/Form.vue +0 -45
- package/dist/runtime/components/forms/Form.vue.d.ts +3 -7
- package/dist/runtime/components/forms/FormGroup.vue.d.ts +2 -2
- package/dist/runtime/components/forms/Input.vue +3 -3
- package/dist/runtime/components/forms/Input.vue.d.ts +3 -3
- package/dist/runtime/components/forms/InputMenu.vue +2 -2
- package/dist/runtime/components/forms/InputMenu.vue.d.ts +16 -16
- package/dist/runtime/components/forms/Radio.vue.d.ts +3 -3
- package/dist/runtime/components/forms/RadioGroup.vue.d.ts +6 -6
- package/dist/runtime/components/forms/Range.vue.d.ts +3 -3
- package/dist/runtime/components/forms/Select.vue +2 -2
- package/dist/runtime/components/forms/Select.vue.d.ts +2 -2
- package/dist/runtime/components/forms/SelectMenu.vue +4 -4
- package/dist/runtime/components/forms/SelectMenu.vue.d.ts +16 -16
- package/dist/runtime/components/forms/Textarea.vue.d.ts +3 -3
- package/dist/runtime/components/forms/Toggle.vue.d.ts +2 -2
- package/dist/runtime/components/layout/Card.vue.d.ts +1 -1
- package/dist/runtime/components/layout/Container.vue.d.ts +1 -1
- package/dist/runtime/components/layout/Divider.vue.d.ts +15 -15
- package/dist/runtime/components/layout/Skeleton.vue.d.ts +1 -1
- package/dist/runtime/components/navigation/Breadcrumb.vue +1 -1
- package/dist/runtime/components/navigation/Breadcrumb.vue.d.ts +3 -3
- package/dist/runtime/components/navigation/CommandPalette.vue +1 -1
- package/dist/runtime/components/navigation/CommandPalette.vue.d.ts +33 -33
- package/dist/runtime/components/navigation/CommandPaletteGroup.vue.d.ts +30 -30
- package/dist/runtime/components/navigation/HorizontalNavigation.vue +5 -5
- package/dist/runtime/components/navigation/HorizontalNavigation.vue.d.ts +36 -36
- package/dist/runtime/components/navigation/Pagination.vue +5 -5
- package/dist/runtime/components/navigation/Pagination.vue.d.ts +34 -34
- package/dist/runtime/components/navigation/Tabs.vue.d.ts +1 -1
- package/dist/runtime/components/navigation/VerticalNavigation.vue +5 -5
- package/dist/runtime/components/navigation/VerticalNavigation.vue.d.ts +58 -58
- package/dist/runtime/components/overlays/ContextMenu.vue.d.ts +1 -1
- package/dist/runtime/components/overlays/Modal.vue +6 -6
- package/dist/runtime/components/overlays/Modal.vue.d.ts +3 -3
- package/dist/runtime/components/overlays/Modals.client.vue +5 -7
- package/dist/runtime/components/overlays/Modals.client.vue.d.ts +2 -0
- package/dist/runtime/components/overlays/Notification.vue +6 -6
- package/dist/runtime/components/overlays/Notification.vue.d.ts +42 -42
- package/dist/runtime/components/overlays/Notifications.vue.d.ts +67 -67
- package/dist/runtime/components/overlays/Popover.vue.d.ts +2 -2
- package/dist/runtime/components/overlays/Slideover.vue.d.ts +3 -3
- package/dist/runtime/components/overlays/Slideovers.client.vue +5 -7
- package/dist/runtime/components/overlays/Slideovers.client.vue.d.ts +2 -0
- package/dist/runtime/components/overlays/Tooltip.vue.d.ts +5 -5
- package/dist/runtime/composables/useFormGroup.d.ts +1 -1
- package/dist/runtime/composables/useToast.d.ts +4 -4
- package/dist/runtime/ui.config/forms/selectMenu.d.ts +1 -1
- package/dist/runtime/utils/link.js +4 -2
- package/dist/types.d.mts +3 -1
- package/package.json +60 -35
- package/dist/module.cjs +0 -5
- package/dist/module.d.ts +0 -40
- package/dist/types.d.ts +0 -1
|
@@ -20,13 +20,13 @@ declare const config: {
|
|
|
20
20
|
};
|
|
21
21
|
avatar: {
|
|
22
22
|
base: string;
|
|
23
|
-
size: import("../../types/avatar").AvatarSize;
|
|
23
|
+
size: import("../../types/avatar.js").AvatarSize;
|
|
24
24
|
};
|
|
25
25
|
badge: {
|
|
26
26
|
base: string;
|
|
27
|
-
color: import("../../types/badge").BadgeColor;
|
|
28
|
-
variant: import("../../types/badge").BadgeVariant;
|
|
29
|
-
size: import("../../types/badge").BadgeSize;
|
|
27
|
+
color: import("../../types/badge.js").BadgeColor;
|
|
28
|
+
variant: import("../../types/badge.js").BadgeVariant;
|
|
29
|
+
size: import("../../types/badge.js").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: import("../../types/avatar").AvatarSize;
|
|
72
|
+
size: import("../../types/avatar.js").AvatarSize;
|
|
73
73
|
};
|
|
74
74
|
badge: {
|
|
75
75
|
base: string;
|
|
76
|
-
color: import("../../types/badge").BadgeColor;
|
|
77
|
-
variant: import("../../types/badge").BadgeVariant;
|
|
78
|
-
size: import("../../types/badge").BadgeSize;
|
|
76
|
+
color: import("../../types/badge.js").BadgeColor;
|
|
77
|
+
variant: import("../../types/badge.js").BadgeVariant;
|
|
78
|
+
size: import("../../types/badge.js").BadgeSize;
|
|
79
79
|
};
|
|
80
80
|
divider: {
|
|
81
81
|
wrapper: {
|
|
@@ -106,7 +106,6 @@ declare const _default: import("vue").DefineComponent<import("vue").ExtractPropT
|
|
|
106
106
|
default: () => {};
|
|
107
107
|
};
|
|
108
108
|
}>> & Readonly<{}>, {
|
|
109
|
-
class: any;
|
|
110
109
|
ui: {
|
|
111
110
|
wrapper?: string;
|
|
112
111
|
base?: string;
|
|
@@ -126,13 +125,13 @@ declare const _default: import("vue").DefineComponent<import("vue").ExtractPropT
|
|
|
126
125
|
}, any>;
|
|
127
126
|
avatar?: DeepPartial<{
|
|
128
127
|
base: string;
|
|
129
|
-
size: import("../../types/avatar").AvatarSize;
|
|
128
|
+
size: import("../../types/avatar.js").AvatarSize;
|
|
130
129
|
}, any>;
|
|
131
130
|
badge?: DeepPartial<{
|
|
132
131
|
base: string;
|
|
133
|
-
color: import("../../types/badge").BadgeColor;
|
|
134
|
-
variant: import("../../types/badge").BadgeVariant;
|
|
135
|
-
size: import("../../types/badge").BadgeSize;
|
|
132
|
+
color: import("../../types/badge.js").BadgeColor;
|
|
133
|
+
variant: import("../../types/badge.js").BadgeVariant;
|
|
134
|
+
size: import("../../types/badge.js").BadgeSize;
|
|
136
135
|
}, any>;
|
|
137
136
|
divider?: DeepPartial<{
|
|
138
137
|
wrapper: {
|
|
@@ -144,6 +143,7 @@ declare const _default: import("vue").DefineComponent<import("vue").ExtractPropT
|
|
|
144
143
|
} & {
|
|
145
144
|
strategy?: Strategy;
|
|
146
145
|
};
|
|
146
|
+
class: any;
|
|
147
147
|
links: VerticalNavigationLink[] | VerticalNavigationLink[][];
|
|
148
148
|
}, {}, {
|
|
149
149
|
UIcon: import("vue").DefineComponent<import("vue").ExtractPropTypes<{
|
|
@@ -213,17 +213,17 @@ declare const _default: import("vue").DefineComponent<import("vue").ExtractPropT
|
|
|
213
213
|
default: () => any;
|
|
214
214
|
};
|
|
215
215
|
size: {
|
|
216
|
-
type: PropType<import("../../types/avatar").AvatarSize>;
|
|
216
|
+
type: PropType<import("../../types/avatar.js").AvatarSize>;
|
|
217
217
|
default: () => string;
|
|
218
218
|
validator(value: string): boolean;
|
|
219
219
|
};
|
|
220
220
|
chipColor: {
|
|
221
|
-
type: PropType<import("../../types/avatar").AvatarChipColor>;
|
|
221
|
+
type: PropType<import("../../types/avatar.js").AvatarChipColor>;
|
|
222
222
|
default: () => any;
|
|
223
223
|
validator(value: string): boolean;
|
|
224
224
|
};
|
|
225
225
|
chipPosition: {
|
|
226
|
-
type: PropType<import("../../types/avatar").AvatarChipPosition>;
|
|
226
|
+
type: PropType<import("../../types/avatar.js").AvatarChipPosition>;
|
|
227
227
|
default: () => string;
|
|
228
228
|
validator(value: string): boolean;
|
|
229
229
|
};
|
|
@@ -396,17 +396,17 @@ declare const _default: import("vue").DefineComponent<import("vue").ExtractPropT
|
|
|
396
396
|
default: () => any;
|
|
397
397
|
};
|
|
398
398
|
size: {
|
|
399
|
-
type: PropType<import("../../types/avatar").AvatarSize>;
|
|
399
|
+
type: PropType<import("../../types/avatar.js").AvatarSize>;
|
|
400
400
|
default: () => string;
|
|
401
401
|
validator(value: string): boolean;
|
|
402
402
|
};
|
|
403
403
|
chipColor: {
|
|
404
|
-
type: PropType<import("../../types/avatar").AvatarChipColor>;
|
|
404
|
+
type: PropType<import("../../types/avatar.js").AvatarChipColor>;
|
|
405
405
|
default: () => any;
|
|
406
406
|
validator(value: string): boolean;
|
|
407
407
|
};
|
|
408
408
|
chipPosition: {
|
|
409
|
-
type: PropType<import("../../types/avatar").AvatarChipPosition>;
|
|
409
|
+
type: PropType<import("../../types/avatar.js").AvatarChipPosition>;
|
|
410
410
|
default: () => string;
|
|
411
411
|
validator(value: string): boolean;
|
|
412
412
|
};
|
|
@@ -487,8 +487,7 @@ declare const _default: import("vue").DefineComponent<import("vue").ExtractPropT
|
|
|
487
487
|
default: () => {};
|
|
488
488
|
};
|
|
489
489
|
}>> & Readonly<{}>, {
|
|
490
|
-
size: import("../../types/avatar").AvatarSize;
|
|
491
|
-
class: any;
|
|
490
|
+
size: import("../../types/avatar.js").AvatarSize;
|
|
492
491
|
ui: {
|
|
493
492
|
wrapper?: string;
|
|
494
493
|
background?: string;
|
|
@@ -553,11 +552,12 @@ declare const _default: import("vue").DefineComponent<import("vue").ExtractPropT
|
|
|
553
552
|
strategy?: Strategy;
|
|
554
553
|
};
|
|
555
554
|
as: string | Record<string, any>;
|
|
556
|
-
text: string;
|
|
557
555
|
alt: string;
|
|
558
556
|
icon: string;
|
|
557
|
+
class: any;
|
|
558
|
+
text: string;
|
|
559
559
|
src: string | boolean;
|
|
560
|
-
chipColor: import("../../types/avatar").AvatarChipColor;
|
|
560
|
+
chipColor: import("../../types/avatar.js").AvatarChipColor;
|
|
561
561
|
chipPosition: "top-right" | "bottom-right" | "top-left" | "bottom-left";
|
|
562
562
|
chipText: string | number;
|
|
563
563
|
imgClass: string;
|
|
@@ -610,17 +610,17 @@ declare const _default: import("vue").DefineComponent<import("vue").ExtractPropT
|
|
|
610
610
|
}, {}, string, import("vue").ComponentProvideOptions, true, {}, any>;
|
|
611
611
|
UBadge: import("vue").DefineComponent<import("vue").ExtractPropTypes<{
|
|
612
612
|
size: {
|
|
613
|
-
type: PropType<import("../../types/badge").BadgeSize>;
|
|
613
|
+
type: PropType<import("../../types/badge.js").BadgeSize>;
|
|
614
614
|
default: () => string;
|
|
615
615
|
validator(value: string): boolean;
|
|
616
616
|
};
|
|
617
617
|
color: {
|
|
618
|
-
type: PropType<import("../../types/badge").BadgeColor>;
|
|
618
|
+
type: PropType<import("../../types/badge.js").BadgeColor>;
|
|
619
619
|
default: () => string;
|
|
620
620
|
validator(value: string): boolean;
|
|
621
621
|
};
|
|
622
622
|
variant: {
|
|
623
|
-
type: PropType<import("../../types/badge").BadgeVariant>;
|
|
623
|
+
type: PropType<import("../../types/badge.js").BadgeVariant>;
|
|
624
624
|
default: () => string;
|
|
625
625
|
validator(value: string): boolean;
|
|
626
626
|
};
|
|
@@ -718,17 +718,17 @@ declare const _default: import("vue").DefineComponent<import("vue").ExtractPropT
|
|
|
718
718
|
trailingIconClass: import("vue").ComputedRef<string>;
|
|
719
719
|
}, {}, {}, {}, import("vue").ComponentOptionsMixin, import("vue").ComponentOptionsMixin, {}, string, import("vue").PublicProps, Readonly<import("vue").ExtractPropTypes<{
|
|
720
720
|
size: {
|
|
721
|
-
type: PropType<import("../../types/badge").BadgeSize>;
|
|
721
|
+
type: PropType<import("../../types/badge.js").BadgeSize>;
|
|
722
722
|
default: () => string;
|
|
723
723
|
validator(value: string): boolean;
|
|
724
724
|
};
|
|
725
725
|
color: {
|
|
726
|
-
type: PropType<import("../../types/badge").BadgeColor>;
|
|
726
|
+
type: PropType<import("../../types/badge.js").BadgeColor>;
|
|
727
727
|
default: () => string;
|
|
728
728
|
validator(value: string): boolean;
|
|
729
729
|
};
|
|
730
730
|
variant: {
|
|
731
|
-
type: PropType<import("../../types/badge").BadgeVariant>;
|
|
731
|
+
type: PropType<import("../../types/badge.js").BadgeVariant>;
|
|
732
732
|
default: () => string;
|
|
733
733
|
validator(value: string): boolean;
|
|
734
734
|
};
|
|
@@ -814,8 +814,7 @@ declare const _default: import("vue").DefineComponent<import("vue").ExtractPropT
|
|
|
814
814
|
default: () => {};
|
|
815
815
|
};
|
|
816
816
|
}>> & Readonly<{}>, {
|
|
817
|
-
size: import("../../types/badge").BadgeSize;
|
|
818
|
-
class: any;
|
|
817
|
+
size: import("../../types/badge.js").BadgeSize;
|
|
819
818
|
ui: {
|
|
820
819
|
base?: string;
|
|
821
820
|
rounded?: string;
|
|
@@ -868,11 +867,12 @@ declare const _default: import("vue").DefineComponent<import("vue").ExtractPropT
|
|
|
868
867
|
} & {
|
|
869
868
|
strategy?: Strategy;
|
|
870
869
|
};
|
|
871
|
-
color: import("../../types/badge").BadgeColor;
|
|
872
|
-
variant: import("../../types/badge").BadgeVariant;
|
|
870
|
+
color: import("../../types/badge.js").BadgeColor;
|
|
871
|
+
variant: import("../../types/badge.js").BadgeVariant;
|
|
873
872
|
leading: boolean;
|
|
874
|
-
label: string | number;
|
|
875
873
|
icon: string;
|
|
874
|
+
class: any;
|
|
875
|
+
label: string | number;
|
|
876
876
|
leadingIcon: string;
|
|
877
877
|
trailingIcon: string;
|
|
878
878
|
trailing: boolean;
|
|
@@ -1126,9 +1126,8 @@ declare const _default: import("vue").DefineComponent<import("vue").ExtractPropT
|
|
|
1126
1126
|
};
|
|
1127
1127
|
}>> & Readonly<{}>, {
|
|
1128
1128
|
type: string;
|
|
1129
|
-
to: string | import("vue-router").RouteLocationAsRelativeGeneric | import("vue-router").RouteLocationAsPathGeneric;
|
|
1130
|
-
disabled: boolean;
|
|
1131
1129
|
target: "_blank" | "_parent" | "_self" | "_top" | (string & {});
|
|
1130
|
+
to: string | import("vue-router").RouteLocationAsRelativeGeneric | import("vue-router").RouteLocationAsPathGeneric;
|
|
1132
1131
|
activeClass: string;
|
|
1133
1132
|
exactActiveClass: string;
|
|
1134
1133
|
ariaCurrentValue: "page" | "step" | "location" | "date" | "time" | "true" | "false";
|
|
@@ -1139,6 +1138,7 @@ declare const _default: import("vue").DefineComponent<import("vue").ExtractPropT
|
|
|
1139
1138
|
prefetchedClass: string;
|
|
1140
1139
|
external: boolean;
|
|
1141
1140
|
as: string;
|
|
1141
|
+
disabled: boolean;
|
|
1142
1142
|
active: boolean;
|
|
1143
1143
|
exact: boolean;
|
|
1144
1144
|
exactQuery: boolean | "partial";
|
|
@@ -1157,11 +1157,11 @@ declare const _default: import("vue").DefineComponent<import("vue").ExtractPropT
|
|
|
1157
1157
|
default: any;
|
|
1158
1158
|
};
|
|
1159
1159
|
avatar: {
|
|
1160
|
-
type: PropType<import("../../types/avatar").Avatar>;
|
|
1160
|
+
type: PropType<import("../../types/avatar.js").Avatar>;
|
|
1161
1161
|
default: any;
|
|
1162
1162
|
};
|
|
1163
1163
|
size: {
|
|
1164
|
-
type: PropType<import("../../types/divider").DividerSize>;
|
|
1164
|
+
type: PropType<import("../../types/divider.js").DividerSize>;
|
|
1165
1165
|
default: () => string;
|
|
1166
1166
|
validator(value: string): boolean;
|
|
1167
1167
|
};
|
|
@@ -1224,7 +1224,7 @@ declare const _default: import("vue").DefineComponent<import("vue").ExtractPropT
|
|
|
1224
1224
|
};
|
|
1225
1225
|
avatar: {
|
|
1226
1226
|
base: string;
|
|
1227
|
-
size: import("../../types/avatar").AvatarSize;
|
|
1227
|
+
size: import("../../types/avatar.js").AvatarSize;
|
|
1228
1228
|
};
|
|
1229
1229
|
label: string;
|
|
1230
1230
|
default: {
|
|
@@ -1281,7 +1281,7 @@ declare const _default: import("vue").DefineComponent<import("vue").ExtractPropT
|
|
|
1281
1281
|
};
|
|
1282
1282
|
avatar: {
|
|
1283
1283
|
base: string;
|
|
1284
|
-
size: import("../../types/avatar").AvatarSize;
|
|
1284
|
+
size: import("../../types/avatar.js").AvatarSize;
|
|
1285
1285
|
};
|
|
1286
1286
|
label: string;
|
|
1287
1287
|
default: {
|
|
@@ -1305,11 +1305,11 @@ declare const _default: import("vue").DefineComponent<import("vue").ExtractPropT
|
|
|
1305
1305
|
default: any;
|
|
1306
1306
|
};
|
|
1307
1307
|
avatar: {
|
|
1308
|
-
type: PropType<import("../../types/avatar").Avatar>;
|
|
1308
|
+
type: PropType<import("../../types/avatar.js").Avatar>;
|
|
1309
1309
|
default: any;
|
|
1310
1310
|
};
|
|
1311
1311
|
size: {
|
|
1312
|
-
type: PropType<import("../../types/divider").DividerSize>;
|
|
1312
|
+
type: PropType<import("../../types/divider.js").DividerSize>;
|
|
1313
1313
|
default: () => string;
|
|
1314
1314
|
validator(value: string): boolean;
|
|
1315
1315
|
};
|
|
@@ -1372,7 +1372,7 @@ declare const _default: import("vue").DefineComponent<import("vue").ExtractPropT
|
|
|
1372
1372
|
};
|
|
1373
1373
|
avatar: {
|
|
1374
1374
|
base: string;
|
|
1375
|
-
size: import("../../types/avatar").AvatarSize;
|
|
1375
|
+
size: import("../../types/avatar.js").AvatarSize;
|
|
1376
1376
|
};
|
|
1377
1377
|
label: string;
|
|
1378
1378
|
default: {
|
|
@@ -1386,8 +1386,7 @@ declare const _default: import("vue").DefineComponent<import("vue").ExtractPropT
|
|
|
1386
1386
|
};
|
|
1387
1387
|
}>> & Readonly<{}>, {
|
|
1388
1388
|
type: "solid" | "dotted" | "dashed";
|
|
1389
|
-
size: import("../../types/divider").DividerSize;
|
|
1390
|
-
class: any;
|
|
1389
|
+
size: import("../../types/divider.js").DividerSize;
|
|
1391
1390
|
ui: {
|
|
1392
1391
|
wrapper?: DeepPartial<{
|
|
1393
1392
|
base: string;
|
|
@@ -1432,7 +1431,7 @@ declare const _default: import("vue").DefineComponent<import("vue").ExtractPropT
|
|
|
1432
1431
|
}, any>;
|
|
1433
1432
|
avatar?: DeepPartial<{
|
|
1434
1433
|
base: string;
|
|
1435
|
-
size: import("../../types/avatar").AvatarSize;
|
|
1434
|
+
size: import("../../types/avatar.js").AvatarSize;
|
|
1436
1435
|
}, any>;
|
|
1437
1436
|
label?: string;
|
|
1438
1437
|
default?: DeepPartial<{
|
|
@@ -1444,10 +1443,11 @@ declare const _default: import("vue").DefineComponent<import("vue").ExtractPropT
|
|
|
1444
1443
|
} & {
|
|
1445
1444
|
strategy?: Strategy;
|
|
1446
1445
|
};
|
|
1447
|
-
avatar: import("../../types/avatar").Avatar;
|
|
1448
|
-
label: string;
|
|
1446
|
+
avatar: import("../../types/avatar.js").Avatar;
|
|
1449
1447
|
orientation: "horizontal" | "vertical";
|
|
1450
1448
|
icon: string;
|
|
1449
|
+
class: any;
|
|
1450
|
+
label: string;
|
|
1451
1451
|
}, {}, {
|
|
1452
1452
|
UIcon: import("vue").DefineComponent<import("vue").ExtractPropTypes<{
|
|
1453
1453
|
name: {
|
|
@@ -1516,17 +1516,17 @@ declare const _default: import("vue").DefineComponent<import("vue").ExtractPropT
|
|
|
1516
1516
|
default: () => any;
|
|
1517
1517
|
};
|
|
1518
1518
|
size: {
|
|
1519
|
-
type: PropType<import("../../types/avatar").AvatarSize>;
|
|
1519
|
+
type: PropType<import("../../types/avatar.js").AvatarSize>;
|
|
1520
1520
|
default: () => string;
|
|
1521
1521
|
validator(value: string): boolean;
|
|
1522
1522
|
};
|
|
1523
1523
|
chipColor: {
|
|
1524
|
-
type: PropType<import("../../types/avatar").AvatarChipColor>;
|
|
1524
|
+
type: PropType<import("../../types/avatar.js").AvatarChipColor>;
|
|
1525
1525
|
default: () => any;
|
|
1526
1526
|
validator(value: string): boolean;
|
|
1527
1527
|
};
|
|
1528
1528
|
chipPosition: {
|
|
1529
|
-
type: PropType<import("../../types/avatar").AvatarChipPosition>;
|
|
1529
|
+
type: PropType<import("../../types/avatar.js").AvatarChipPosition>;
|
|
1530
1530
|
default: () => string;
|
|
1531
1531
|
validator(value: string): boolean;
|
|
1532
1532
|
};
|
|
@@ -1699,17 +1699,17 @@ declare const _default: import("vue").DefineComponent<import("vue").ExtractPropT
|
|
|
1699
1699
|
default: () => any;
|
|
1700
1700
|
};
|
|
1701
1701
|
size: {
|
|
1702
|
-
type: PropType<import("../../types/avatar").AvatarSize>;
|
|
1702
|
+
type: PropType<import("../../types/avatar.js").AvatarSize>;
|
|
1703
1703
|
default: () => string;
|
|
1704
1704
|
validator(value: string): boolean;
|
|
1705
1705
|
};
|
|
1706
1706
|
chipColor: {
|
|
1707
|
-
type: PropType<import("../../types/avatar").AvatarChipColor>;
|
|
1707
|
+
type: PropType<import("../../types/avatar.js").AvatarChipColor>;
|
|
1708
1708
|
default: () => any;
|
|
1709
1709
|
validator(value: string): boolean;
|
|
1710
1710
|
};
|
|
1711
1711
|
chipPosition: {
|
|
1712
|
-
type: PropType<import("../../types/avatar").AvatarChipPosition>;
|
|
1712
|
+
type: PropType<import("../../types/avatar.js").AvatarChipPosition>;
|
|
1713
1713
|
default: () => string;
|
|
1714
1714
|
validator(value: string): boolean;
|
|
1715
1715
|
};
|
|
@@ -1790,8 +1790,7 @@ declare const _default: import("vue").DefineComponent<import("vue").ExtractPropT
|
|
|
1790
1790
|
default: () => {};
|
|
1791
1791
|
};
|
|
1792
1792
|
}>> & Readonly<{}>, {
|
|
1793
|
-
size: import("../../types/avatar").AvatarSize;
|
|
1794
|
-
class: any;
|
|
1793
|
+
size: import("../../types/avatar.js").AvatarSize;
|
|
1795
1794
|
ui: {
|
|
1796
1795
|
wrapper?: string;
|
|
1797
1796
|
background?: string;
|
|
@@ -1856,11 +1855,12 @@ declare const _default: import("vue").DefineComponent<import("vue").ExtractPropT
|
|
|
1856
1855
|
strategy?: Strategy;
|
|
1857
1856
|
};
|
|
1858
1857
|
as: string | Record<string, any>;
|
|
1859
|
-
text: string;
|
|
1860
1858
|
alt: string;
|
|
1861
1859
|
icon: string;
|
|
1860
|
+
class: any;
|
|
1861
|
+
text: string;
|
|
1862
1862
|
src: string | boolean;
|
|
1863
|
-
chipColor: import("../../types/avatar").AvatarChipColor;
|
|
1863
|
+
chipColor: import("../../types/avatar.js").AvatarChipColor;
|
|
1864
1864
|
chipPosition: "top-right" | "bottom-right" | "top-left" | "bottom-left";
|
|
1865
1865
|
chipText: string | number;
|
|
1866
1866
|
imgClass: string;
|
|
@@ -118,7 +118,6 @@ declare const _default: import("vue").DefineComponent<import("vue").ExtractPropT
|
|
|
118
118
|
onClose?: (...args: any[]) => any;
|
|
119
119
|
"onUpdate:modelValue"?: (...args: any[]) => any;
|
|
120
120
|
}>, {
|
|
121
|
-
class: any;
|
|
122
121
|
ui: {
|
|
123
122
|
wrapper?: string;
|
|
124
123
|
container?: string;
|
|
@@ -154,6 +153,7 @@ declare const _default: import("vue").DefineComponent<import("vue").ExtractPropT
|
|
|
154
153
|
strategy?: Strategy;
|
|
155
154
|
};
|
|
156
155
|
popper: PopperOptions;
|
|
156
|
+
class: any;
|
|
157
157
|
modelValue: boolean;
|
|
158
158
|
}, {}, {}, {}, string, import("vue").ComponentProvideOptions, true, {}, any>;
|
|
159
159
|
export default _default;
|
|
@@ -10,12 +10,12 @@
|
|
|
10
10
|
<TransitionChild as="template" :appear="appear" v-bind="transitionClass" :class="transitionClass.enterFrom">
|
|
11
11
|
<HDialogPanel
|
|
12
12
|
:class="[
|
|
13
|
-
|
|
14
|
-
|
|
15
|
-
|
|
16
|
-
|
|
17
|
-
|
|
18
|
-
|
|
13
|
+
ui.base,
|
|
14
|
+
ui.background,
|
|
15
|
+
ui.ring,
|
|
16
|
+
ui.shadow,
|
|
17
|
+
fullscreen ? ui.fullscreen : [ui.width, ui.height, ui.rounded, ui.margin]
|
|
18
|
+
]"
|
|
19
19
|
>
|
|
20
20
|
<slot />
|
|
21
21
|
</HDialogPanel>
|
|
@@ -161,9 +161,6 @@ declare const _default: import("vue").DefineComponent<import("vue").ExtractPropT
|
|
|
161
161
|
"onClose-prevented"?: (...args: any[]) => any;
|
|
162
162
|
"onAfter-leave"?: (...args: any[]) => any;
|
|
163
163
|
}>, {
|
|
164
|
-
class: any;
|
|
165
|
-
appear: boolean;
|
|
166
|
-
transition: boolean;
|
|
167
164
|
ui: {
|
|
168
165
|
wrapper?: string;
|
|
169
166
|
inner?: string;
|
|
@@ -203,9 +200,12 @@ declare const _default: import("vue").DefineComponent<import("vue").ExtractPropT
|
|
|
203
200
|
} & {
|
|
204
201
|
strategy?: Strategy;
|
|
205
202
|
};
|
|
203
|
+
transition: boolean;
|
|
204
|
+
appear: boolean;
|
|
206
205
|
overlay: boolean;
|
|
207
206
|
preventClose: boolean;
|
|
208
207
|
fullscreen: boolean;
|
|
208
|
+
class: any;
|
|
209
209
|
modelValue: boolean;
|
|
210
210
|
}, {}, {
|
|
211
211
|
HDialog: import("vue").DefineComponent<{
|
|
@@ -8,11 +8,9 @@
|
|
|
8
8
|
/>
|
|
9
9
|
</template>
|
|
10
10
|
|
|
11
|
-
<script
|
|
12
|
-
import { inject } from
|
|
13
|
-
import { useModal, modalInjectionKey } from
|
|
14
|
-
|
|
15
|
-
const
|
|
16
|
-
|
|
17
|
-
const { isOpen, reset } = useModal()
|
|
11
|
+
<script setup>
|
|
12
|
+
import { inject } from "vue";
|
|
13
|
+
import { useModal, modalInjectionKey } from "../../composables/useModal";
|
|
14
|
+
const modalState = inject(modalInjectionKey);
|
|
15
|
+
const { isOpen, reset } = useModal();
|
|
18
16
|
</script>
|
|
@@ -0,0 +1,2 @@
|
|
|
1
|
+
declare const _default: import("vue").DefineComponent<{}, {}, {}, {}, {}, import("vue").ComponentOptionsMixin, import("vue").ComponentOptionsMixin, {}, string, import("vue").PublicProps, Readonly<{}> & Readonly<{}>, {}, {}, {}, {}, string, import("vue").ComponentProvideOptions, true, {}, any>;
|
|
2
|
+
export default _default;
|
|
@@ -13,27 +13,27 @@
|
|
|
13
13
|
<UAvatar v-if="avatar" v-bind="{ size: ui.avatar.size, ...avatar }" :class="ui.avatar.base" />
|
|
14
14
|
|
|
15
15
|
<div :class="ui.inner">
|
|
16
|
-
<p v-if="
|
|
16
|
+
<p v-if="title || $slots.title" :class="ui.title">
|
|
17
17
|
<slot name="title" :title="title">
|
|
18
18
|
{{ title }}
|
|
19
19
|
</slot>
|
|
20
20
|
</p>
|
|
21
|
-
<div v-if="
|
|
21
|
+
<div v-if="description || $slots.description" :class="twMerge(ui.description, !title && !$slots.title && ui.descriptionOnly)">
|
|
22
22
|
<slot name="description" :description="description">
|
|
23
23
|
{{ description }}
|
|
24
24
|
</slot>
|
|
25
25
|
</div>
|
|
26
26
|
|
|
27
27
|
<div v-if="(description || $slots.description) && actions.length" :class="ui.actions">
|
|
28
|
-
<UButton v-for="(action, index) of actions" :key="index" v-bind="{ ...
|
|
28
|
+
<UButton v-for="(action, index) of actions" :key="index" v-bind="{ ...ui.default.actionButton || {}, ...action }" @click.stop="onAction(action)" />
|
|
29
29
|
</div>
|
|
30
30
|
</div>
|
|
31
|
-
<div v-if="closeButton ||
|
|
31
|
+
<div v-if="closeButton || !description && !$slots.description && actions.length" :class="twMerge(ui.actions, 'mt-0')">
|
|
32
32
|
<template v-if="!description && !$slots.description && actions.length">
|
|
33
|
-
<UButton v-for="(action, index) of actions" :key="index" v-bind="{ ...
|
|
33
|
+
<UButton v-for="(action, index) of actions" :key="index" v-bind="{ ...ui.default.actionButton || {}, ...action }" @click.stop="onAction(action)" />
|
|
34
34
|
</template>
|
|
35
35
|
|
|
36
|
-
<UButton v-if="closeButton" aria-label="Close" v-bind="{ ...
|
|
36
|
+
<UButton v-if="closeButton" aria-label="Close" v-bind="{ ...ui.default.closeButton || {}, ...closeButton }" @click.stop="onClose" />
|
|
37
37
|
</div>
|
|
38
38
|
</div>
|
|
39
39
|
<div v-if="timeout" :class="progressClass" :style="progressStyle" />
|