@nuxt/ui 2.21.0 → 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 +19 -14
- package/dist/module.d.mts +6 -1
- package/dist/module.json +3 -3
- package/dist/module.mjs +6 -12
- package/dist/runtime/components/data/Table.vue +19 -24
- package/dist/runtime/components/data/Table.vue.d.ts +44 -348
- 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 +7 -7
- package/dist/runtime/components/elements/Alert.vue.d.ts +41 -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 +13 -11
- 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/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 +8 -30
- package/dist/runtime/components/forms/Form.vue.d.ts +7 -8
- 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 +3 -3
- 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 +10 -5
- package/dist/runtime/components/forms/SelectMenu.vue.d.ts +25 -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 +45 -42
- package/dist/runtime/components/overlays/Notifications.vue.d.ts +71 -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/useShortcuts.d.ts +2 -2
- package/dist/runtime/composables/useToast.d.ts +4 -4
- package/dist/runtime/ui.config/elements/alert.d.ts +1 -0
- package/dist/runtime/ui.config/elements/alert.js +1 -0
- package/dist/runtime/ui.config/forms/selectMenu.d.ts +1 -1
- package/dist/runtime/ui.config/overlays/notification.d.ts +1 -0
- package/dist/runtime/ui.config/overlays/notification.js +1 -0
- package/dist/runtime/utils/link.js +4 -2
- package/dist/types.d.mts +3 -1
- package/package.json +64 -38
- package/dist/module.cjs +0 -5
- package/dist/module.d.ts +0 -36
- package/dist/types.d.ts +0 -1
|
@@ -218,7 +218,6 @@ declare const _default: import("vue").DefineComponent<import("vue").ExtractPropT
|
|
|
218
218
|
onClose?: (...args: any[]) => any;
|
|
219
219
|
onOpen?: (...args: any[]) => any;
|
|
220
220
|
}>, {
|
|
221
|
-
class: any;
|
|
222
221
|
ui: {
|
|
223
222
|
wrapper?: string;
|
|
224
223
|
container?: string;
|
|
@@ -245,6 +244,7 @@ declare const _default: import("vue").DefineComponent<import("vue").ExtractPropT
|
|
|
245
244
|
} & {
|
|
246
245
|
strategy?: Strategy;
|
|
247
246
|
};
|
|
247
|
+
class: any;
|
|
248
248
|
defaultOpen: boolean;
|
|
249
249
|
unmount: boolean;
|
|
250
250
|
items: AccordionItem[];
|
|
@@ -428,17 +428,17 @@ declare const _default: import("vue").DefineComponent<import("vue").ExtractPropT
|
|
|
428
428
|
default: boolean;
|
|
429
429
|
};
|
|
430
430
|
size: {
|
|
431
|
-
type: PropType<import("../../types/button").ButtonSize>;
|
|
431
|
+
type: PropType<import("../../types/button.js").ButtonSize>;
|
|
432
432
|
default: () => string;
|
|
433
433
|
validator(value: string): boolean;
|
|
434
434
|
};
|
|
435
435
|
color: {
|
|
436
|
-
type: PropType<import("../../types/button").ButtonColor>;
|
|
436
|
+
type: PropType<import("../../types/button.js").ButtonColor>;
|
|
437
437
|
default: () => string;
|
|
438
438
|
validator(value: string): boolean;
|
|
439
439
|
};
|
|
440
440
|
variant: {
|
|
441
|
-
type: PropType<import("../../types/button").ButtonVariant>;
|
|
441
|
+
type: PropType<import("../../types/button.js").ButtonVariant>;
|
|
442
442
|
default: () => string;
|
|
443
443
|
validator(value: string): boolean;
|
|
444
444
|
};
|
|
@@ -747,17 +747,17 @@ declare const _default: import("vue").DefineComponent<import("vue").ExtractPropT
|
|
|
747
747
|
default: boolean;
|
|
748
748
|
};
|
|
749
749
|
size: {
|
|
750
|
-
type: PropType<import("../../types/button").ButtonSize>;
|
|
750
|
+
type: PropType<import("../../types/button.js").ButtonSize>;
|
|
751
751
|
default: () => string;
|
|
752
752
|
validator(value: string): boolean;
|
|
753
753
|
};
|
|
754
754
|
color: {
|
|
755
|
-
type: PropType<import("../../types/button").ButtonColor>;
|
|
755
|
+
type: PropType<import("../../types/button.js").ButtonColor>;
|
|
756
756
|
default: () => string;
|
|
757
757
|
validator(value: string): boolean;
|
|
758
758
|
};
|
|
759
759
|
variant: {
|
|
760
|
-
type: PropType<import("../../types/button").ButtonVariant>;
|
|
760
|
+
type: PropType<import("../../types/button.js").ButtonVariant>;
|
|
761
761
|
default: () => string;
|
|
762
762
|
validator(value: string): boolean;
|
|
763
763
|
};
|
|
@@ -949,10 +949,7 @@ declare const _default: import("vue").DefineComponent<import("vue").ExtractPropT
|
|
|
949
949
|
};
|
|
950
950
|
}>> & Readonly<{}>, {
|
|
951
951
|
type: string;
|
|
952
|
-
size: import("../../types/button").ButtonSize;
|
|
953
|
-
class: any;
|
|
954
|
-
to: string | import("vue-router").RouteLocationAsRelativeGeneric | import("vue-router").RouteLocationAsPathGeneric;
|
|
955
|
-
disabled: boolean;
|
|
952
|
+
size: import("../../types/button.js").ButtonSize;
|
|
956
953
|
ui: {
|
|
957
954
|
base?: string;
|
|
958
955
|
font?: string;
|
|
@@ -1037,10 +1034,11 @@ declare const _default: import("vue").DefineComponent<import("vue").ExtractPropT
|
|
|
1037
1034
|
} & {
|
|
1038
1035
|
strategy?: Strategy;
|
|
1039
1036
|
};
|
|
1040
|
-
color: import("../../types/button").ButtonColor;
|
|
1041
|
-
variant: import("../../types/button").ButtonVariant;
|
|
1037
|
+
color: import("../../types/button.js").ButtonColor;
|
|
1038
|
+
variant: import("../../types/button.js").ButtonVariant;
|
|
1042
1039
|
truncate: boolean;
|
|
1043
1040
|
target: "_blank" | "_parent" | "_self" | "_top" | (string & {});
|
|
1041
|
+
to: string | import("vue-router").RouteLocationAsRelativeGeneric | import("vue-router").RouteLocationAsPathGeneric;
|
|
1044
1042
|
activeClass: string;
|
|
1045
1043
|
exactActiveClass: string;
|
|
1046
1044
|
ariaCurrentValue: "page" | "step" | "location" | "date" | "time" | "true" | "false";
|
|
@@ -1051,12 +1049,14 @@ declare const _default: import("vue").DefineComponent<import("vue").ExtractPropT
|
|
|
1051
1049
|
prefetchedClass: string;
|
|
1052
1050
|
external: boolean;
|
|
1053
1051
|
leading: boolean;
|
|
1052
|
+
disabled: boolean;
|
|
1054
1053
|
href: string | import("vue-router").RouteLocationAsRelativeGeneric | import("vue-router").RouteLocationAsPathGeneric;
|
|
1055
1054
|
rel: any;
|
|
1056
|
-
label: string;
|
|
1057
1055
|
icon: string;
|
|
1056
|
+
class: any;
|
|
1058
1057
|
block: boolean;
|
|
1059
1058
|
square: boolean;
|
|
1059
|
+
label: string;
|
|
1060
1060
|
loading: boolean;
|
|
1061
1061
|
padded: boolean;
|
|
1062
1062
|
loadingIcon: string;
|
|
@@ -1312,9 +1312,8 @@ declare const _default: import("vue").DefineComponent<import("vue").ExtractPropT
|
|
|
1312
1312
|
};
|
|
1313
1313
|
}>> & Readonly<{}>, {
|
|
1314
1314
|
type: string;
|
|
1315
|
-
to: string | import("vue-router").RouteLocationAsRelativeGeneric | import("vue-router").RouteLocationAsPathGeneric;
|
|
1316
|
-
disabled: boolean;
|
|
1317
1315
|
target: "_blank" | "_parent" | "_self" | "_top" | (string & {});
|
|
1316
|
+
to: string | import("vue-router").RouteLocationAsRelativeGeneric | import("vue-router").RouteLocationAsPathGeneric;
|
|
1318
1317
|
activeClass: string;
|
|
1319
1318
|
exactActiveClass: string;
|
|
1320
1319
|
ariaCurrentValue: "page" | "step" | "location" | "date" | "time" | "true" | "false";
|
|
@@ -1325,6 +1324,7 @@ declare const _default: import("vue").DefineComponent<import("vue").ExtractPropT
|
|
|
1325
1324
|
prefetchedClass: string;
|
|
1326
1325
|
external: boolean;
|
|
1327
1326
|
as: string;
|
|
1327
|
+
disabled: boolean;
|
|
1328
1328
|
active: boolean;
|
|
1329
1329
|
exact: boolean;
|
|
1330
1330
|
exactQuery: boolean | "partial";
|
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
<template>
|
|
2
2
|
<div :class="alertClass" v-bind="attrs">
|
|
3
|
-
<div class="flex" :class="[ui.gap, { 'items-start':
|
|
3
|
+
<div class="flex" :class="[ui.gap, { 'items-start': description || $slots.description, 'items-center': !description && !$slots.description }]">
|
|
4
4
|
<slot name="icon" :icon="icon">
|
|
5
5
|
<UIcon v-if="icon" :name="icon" :class="ui.icon.base" />
|
|
6
6
|
</slot>
|
|
@@ -9,12 +9,12 @@
|
|
|
9
9
|
</slot>
|
|
10
10
|
|
|
11
11
|
<div :class="ui.inner">
|
|
12
|
-
<p v-if="
|
|
12
|
+
<p v-if="title || $slots.title" :class="ui.title">
|
|
13
13
|
<slot name="title" :title="title">
|
|
14
14
|
{{ title }}
|
|
15
15
|
</slot>
|
|
16
16
|
</p>
|
|
17
|
-
<div v-if="description || $slots.description" :class="twMerge(ui.description, !title && !$slots.title &&
|
|
17
|
+
<div v-if="description || $slots.description" :class="twMerge(ui.description, !title && !$slots.title && ui.descriptionOnly)">
|
|
18
18
|
<slot name="description" :description="description">
|
|
19
19
|
{{ description }}
|
|
20
20
|
</slot>
|
|
@@ -22,18 +22,18 @@
|
|
|
22
22
|
|
|
23
23
|
<div v-if="(description || $slots.description) && (actions.length || $slots.actions)" :class="ui.actions">
|
|
24
24
|
<slot name="actions">
|
|
25
|
-
<UButton v-for="(action, index) of actions" :key="index" v-bind="{ ...
|
|
25
|
+
<UButton v-for="(action, index) of actions" :key="index" v-bind="{ ...ui.default.actionButton || {}, ...action }" @click.stop="onAction(action)" />
|
|
26
26
|
</slot>
|
|
27
27
|
</div>
|
|
28
28
|
</div>
|
|
29
|
-
<div v-if="closeButton ||
|
|
29
|
+
<div v-if="closeButton || !description && !$slots.description && actions.length" :class="twMerge(ui.actions, 'mt-0')">
|
|
30
30
|
<template v-if="!description && !$slots.description && (actions.length || $slots.actions)">
|
|
31
31
|
<slot name="actions">
|
|
32
|
-
<UButton v-for="(action, index) of actions" :key="index" v-bind="{ ...
|
|
32
|
+
<UButton v-for="(action, index) of actions" :key="index" v-bind="{ ...ui.default.actionButton || {}, ...action }" @click.stop="onAction(action)" />
|
|
33
33
|
</slot>
|
|
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="$emit('close')" />
|
|
37
37
|
</div>
|
|
38
38
|
</div>
|
|
39
39
|
</div>
|
|
@@ -5,6 +5,7 @@ declare const config: {
|
|
|
5
5
|
inner: string;
|
|
6
6
|
title: string;
|
|
7
7
|
description: string;
|
|
8
|
+
descriptionOnly: string;
|
|
8
9
|
actions: string;
|
|
9
10
|
shadow: string;
|
|
10
11
|
rounded: string;
|
|
@@ -15,7 +16,7 @@ declare const config: {
|
|
|
15
16
|
};
|
|
16
17
|
avatar: {
|
|
17
18
|
base: string;
|
|
18
|
-
size: import("../../types/avatar").AvatarSize;
|
|
19
|
+
size: import("../../types/avatar.js").AvatarSize;
|
|
19
20
|
};
|
|
20
21
|
color: {
|
|
21
22
|
white: {
|
|
@@ -34,9 +35,9 @@ declare const config: {
|
|
|
34
35
|
icon: any;
|
|
35
36
|
closeButton: any;
|
|
36
37
|
actionButton: {
|
|
37
|
-
size: import("../../types/button").ButtonSize;
|
|
38
|
-
color: import("../../types/button").ButtonColor;
|
|
39
|
-
variant: import("../../types/button").ButtonVariant;
|
|
38
|
+
size: import("../../types/button.js").ButtonSize;
|
|
39
|
+
color: import("../../types/button.js").ButtonColor;
|
|
40
|
+
variant: import("../../types/button.js").ButtonVariant;
|
|
40
41
|
};
|
|
41
42
|
};
|
|
42
43
|
};
|
|
@@ -91,6 +92,7 @@ declare const _default: import("vue").DefineComponent<import("vue").ExtractPropT
|
|
|
91
92
|
inner: string;
|
|
92
93
|
title: string;
|
|
93
94
|
description: string;
|
|
95
|
+
descriptionOnly: string;
|
|
94
96
|
actions: string;
|
|
95
97
|
shadow: string;
|
|
96
98
|
rounded: string;
|
|
@@ -101,7 +103,7 @@ declare const _default: import("vue").DefineComponent<import("vue").ExtractPropT
|
|
|
101
103
|
};
|
|
102
104
|
avatar: {
|
|
103
105
|
base: string;
|
|
104
|
-
size: import("../../types/avatar").AvatarSize;
|
|
106
|
+
size: import("../../types/avatar.js").AvatarSize;
|
|
105
107
|
};
|
|
106
108
|
color: {
|
|
107
109
|
white: {
|
|
@@ -120,9 +122,9 @@ declare const _default: import("vue").DefineComponent<import("vue").ExtractPropT
|
|
|
120
122
|
icon: any;
|
|
121
123
|
closeButton: any;
|
|
122
124
|
actionButton: {
|
|
123
|
-
size: import("../../types/button").ButtonSize;
|
|
124
|
-
color: import("../../types/button").ButtonColor;
|
|
125
|
-
variant: import("../../types/button").ButtonVariant;
|
|
125
|
+
size: import("../../types/button.js").ButtonSize;
|
|
126
|
+
color: import("../../types/button.js").ButtonColor;
|
|
127
|
+
variant: import("../../types/button.js").ButtonVariant;
|
|
126
128
|
};
|
|
127
129
|
};
|
|
128
130
|
}>;
|
|
@@ -180,12 +182,12 @@ declare const _default: import("vue").DefineComponent<import("vue").ExtractPropT
|
|
|
180
182
|
}>> & Readonly<{
|
|
181
183
|
onClose?: (...args: any[]) => any;
|
|
182
184
|
}>, {
|
|
183
|
-
class: any;
|
|
184
185
|
ui: {
|
|
185
186
|
wrapper?: string;
|
|
186
187
|
inner?: string;
|
|
187
188
|
title?: string;
|
|
188
189
|
description?: string;
|
|
190
|
+
descriptionOnly?: string;
|
|
189
191
|
actions?: string;
|
|
190
192
|
shadow?: string;
|
|
191
193
|
rounded?: string;
|
|
@@ -196,7 +198,7 @@ declare const _default: import("vue").DefineComponent<import("vue").ExtractPropT
|
|
|
196
198
|
}, any>;
|
|
197
199
|
avatar?: DeepPartial<{
|
|
198
200
|
base: string;
|
|
199
|
-
size: import("../../types/avatar").AvatarSize;
|
|
201
|
+
size: import("../../types/avatar.js").AvatarSize;
|
|
200
202
|
}, any>;
|
|
201
203
|
color?: DeepPartial<{
|
|
202
204
|
white: {
|
|
@@ -215,9 +217,9 @@ declare const _default: import("vue").DefineComponent<import("vue").ExtractPropT
|
|
|
215
217
|
icon: any;
|
|
216
218
|
closeButton: any;
|
|
217
219
|
actionButton: {
|
|
218
|
-
size: import("../../types/button").ButtonSize;
|
|
219
|
-
color: import("../../types/button").ButtonColor;
|
|
220
|
-
variant: import("../../types/button").ButtonVariant;
|
|
220
|
+
size: import("../../types/button.js").ButtonSize;
|
|
221
|
+
color: import("../../types/button.js").ButtonColor;
|
|
222
|
+
variant: import("../../types/button.js").ButtonVariant;
|
|
221
223
|
};
|
|
222
224
|
}, any>;
|
|
223
225
|
} & {
|
|
@@ -233,6 +235,7 @@ declare const _default: import("vue").DefineComponent<import("vue").ExtractPropT
|
|
|
233
235
|
icon: string;
|
|
234
236
|
closeButton: Button;
|
|
235
237
|
actions: AlertAction[];
|
|
238
|
+
class: any;
|
|
236
239
|
}, {}, {
|
|
237
240
|
UIcon: import("vue").DefineComponent<import("vue").ExtractPropTypes<{
|
|
238
241
|
name: {
|
|
@@ -301,17 +304,17 @@ declare const _default: import("vue").DefineComponent<import("vue").ExtractPropT
|
|
|
301
304
|
default: () => any;
|
|
302
305
|
};
|
|
303
306
|
size: {
|
|
304
|
-
type: PropType<import("../../types/avatar").AvatarSize>;
|
|
307
|
+
type: PropType<import("../../types/avatar.js").AvatarSize>;
|
|
305
308
|
default: () => string;
|
|
306
309
|
validator(value: string): boolean;
|
|
307
310
|
};
|
|
308
311
|
chipColor: {
|
|
309
|
-
type: PropType<import("../../types/avatar").AvatarChipColor>;
|
|
312
|
+
type: PropType<import("../../types/avatar.js").AvatarChipColor>;
|
|
310
313
|
default: () => any;
|
|
311
314
|
validator(value: string): boolean;
|
|
312
315
|
};
|
|
313
316
|
chipPosition: {
|
|
314
|
-
type: PropType<import("../../types/avatar").AvatarChipPosition>;
|
|
317
|
+
type: PropType<import("../../types/avatar.js").AvatarChipPosition>;
|
|
315
318
|
default: () => string;
|
|
316
319
|
validator(value: string): boolean;
|
|
317
320
|
};
|
|
@@ -484,17 +487,17 @@ declare const _default: import("vue").DefineComponent<import("vue").ExtractPropT
|
|
|
484
487
|
default: () => any;
|
|
485
488
|
};
|
|
486
489
|
size: {
|
|
487
|
-
type: PropType<import("../../types/avatar").AvatarSize>;
|
|
490
|
+
type: PropType<import("../../types/avatar.js").AvatarSize>;
|
|
488
491
|
default: () => string;
|
|
489
492
|
validator(value: string): boolean;
|
|
490
493
|
};
|
|
491
494
|
chipColor: {
|
|
492
|
-
type: PropType<import("../../types/avatar").AvatarChipColor>;
|
|
495
|
+
type: PropType<import("../../types/avatar.js").AvatarChipColor>;
|
|
493
496
|
default: () => any;
|
|
494
497
|
validator(value: string): boolean;
|
|
495
498
|
};
|
|
496
499
|
chipPosition: {
|
|
497
|
-
type: PropType<import("../../types/avatar").AvatarChipPosition>;
|
|
500
|
+
type: PropType<import("../../types/avatar.js").AvatarChipPosition>;
|
|
498
501
|
default: () => string;
|
|
499
502
|
validator(value: string): boolean;
|
|
500
503
|
};
|
|
@@ -575,8 +578,7 @@ declare const _default: import("vue").DefineComponent<import("vue").ExtractPropT
|
|
|
575
578
|
default: () => {};
|
|
576
579
|
};
|
|
577
580
|
}>> & Readonly<{}>, {
|
|
578
|
-
size: import("../../types/avatar").AvatarSize;
|
|
579
|
-
class: any;
|
|
581
|
+
size: import("../../types/avatar.js").AvatarSize;
|
|
580
582
|
ui: {
|
|
581
583
|
wrapper?: string;
|
|
582
584
|
background?: string;
|
|
@@ -641,11 +643,12 @@ declare const _default: import("vue").DefineComponent<import("vue").ExtractPropT
|
|
|
641
643
|
strategy?: Strategy;
|
|
642
644
|
};
|
|
643
645
|
as: string | Record<string, any>;
|
|
644
|
-
text: string;
|
|
645
646
|
alt: string;
|
|
646
647
|
icon: string;
|
|
648
|
+
class: any;
|
|
649
|
+
text: string;
|
|
647
650
|
src: string | boolean;
|
|
648
|
-
chipColor: import("../../types/avatar").AvatarChipColor;
|
|
651
|
+
chipColor: import("../../types/avatar.js").AvatarChipColor;
|
|
649
652
|
chipPosition: "top-right" | "bottom-right" | "top-left" | "bottom-left";
|
|
650
653
|
chipText: string | number;
|
|
651
654
|
imgClass: string;
|
|
@@ -722,17 +725,17 @@ declare const _default: import("vue").DefineComponent<import("vue").ExtractPropT
|
|
|
722
725
|
default: boolean;
|
|
723
726
|
};
|
|
724
727
|
size: {
|
|
725
|
-
type: PropType<import("../../types/button").ButtonSize>;
|
|
728
|
+
type: PropType<import("../../types/button.js").ButtonSize>;
|
|
726
729
|
default: () => string;
|
|
727
730
|
validator(value: string): boolean;
|
|
728
731
|
};
|
|
729
732
|
color: {
|
|
730
|
-
type: PropType<import("../../types/button").ButtonColor>;
|
|
733
|
+
type: PropType<import("../../types/button.js").ButtonColor>;
|
|
731
734
|
default: () => string;
|
|
732
735
|
validator(value: string): boolean;
|
|
733
736
|
};
|
|
734
737
|
variant: {
|
|
735
|
-
type: PropType<import("../../types/button").ButtonVariant>;
|
|
738
|
+
type: PropType<import("../../types/button.js").ButtonVariant>;
|
|
736
739
|
default: () => string;
|
|
737
740
|
validator(value: string): boolean;
|
|
738
741
|
};
|
|
@@ -1041,17 +1044,17 @@ declare const _default: import("vue").DefineComponent<import("vue").ExtractPropT
|
|
|
1041
1044
|
default: boolean;
|
|
1042
1045
|
};
|
|
1043
1046
|
size: {
|
|
1044
|
-
type: PropType<import("../../types/button").ButtonSize>;
|
|
1047
|
+
type: PropType<import("../../types/button.js").ButtonSize>;
|
|
1045
1048
|
default: () => string;
|
|
1046
1049
|
validator(value: string): boolean;
|
|
1047
1050
|
};
|
|
1048
1051
|
color: {
|
|
1049
|
-
type: PropType<import("../../types/button").ButtonColor>;
|
|
1052
|
+
type: PropType<import("../../types/button.js").ButtonColor>;
|
|
1050
1053
|
default: () => string;
|
|
1051
1054
|
validator(value: string): boolean;
|
|
1052
1055
|
};
|
|
1053
1056
|
variant: {
|
|
1054
|
-
type: PropType<import("../../types/button").ButtonVariant>;
|
|
1057
|
+
type: PropType<import("../../types/button.js").ButtonVariant>;
|
|
1055
1058
|
default: () => string;
|
|
1056
1059
|
validator(value: string): boolean;
|
|
1057
1060
|
};
|
|
@@ -1243,10 +1246,7 @@ declare const _default: import("vue").DefineComponent<import("vue").ExtractPropT
|
|
|
1243
1246
|
};
|
|
1244
1247
|
}>> & Readonly<{}>, {
|
|
1245
1248
|
type: string;
|
|
1246
|
-
size: import("../../types/button").ButtonSize;
|
|
1247
|
-
class: any;
|
|
1248
|
-
to: string | import("vue-router").RouteLocationAsRelativeGeneric | import("vue-router").RouteLocationAsPathGeneric;
|
|
1249
|
-
disabled: boolean;
|
|
1249
|
+
size: import("../../types/button.js").ButtonSize;
|
|
1250
1250
|
ui: {
|
|
1251
1251
|
base?: string;
|
|
1252
1252
|
font?: string;
|
|
@@ -1331,10 +1331,11 @@ declare const _default: import("vue").DefineComponent<import("vue").ExtractPropT
|
|
|
1331
1331
|
} & {
|
|
1332
1332
|
strategy?: Strategy;
|
|
1333
1333
|
};
|
|
1334
|
-
color: import("../../types/button").ButtonColor;
|
|
1335
|
-
variant: import("../../types/button").ButtonVariant;
|
|
1334
|
+
color: import("../../types/button.js").ButtonColor;
|
|
1335
|
+
variant: import("../../types/button.js").ButtonVariant;
|
|
1336
1336
|
truncate: boolean;
|
|
1337
1337
|
target: "_blank" | "_parent" | "_self" | "_top" | (string & {});
|
|
1338
|
+
to: string | import("vue-router").RouteLocationAsRelativeGeneric | import("vue-router").RouteLocationAsPathGeneric;
|
|
1338
1339
|
activeClass: string;
|
|
1339
1340
|
exactActiveClass: string;
|
|
1340
1341
|
ariaCurrentValue: "page" | "step" | "location" | "date" | "time" | "true" | "false";
|
|
@@ -1345,12 +1346,14 @@ declare const _default: import("vue").DefineComponent<import("vue").ExtractPropT
|
|
|
1345
1346
|
prefetchedClass: string;
|
|
1346
1347
|
external: boolean;
|
|
1347
1348
|
leading: boolean;
|
|
1349
|
+
disabled: boolean;
|
|
1348
1350
|
href: string | import("vue-router").RouteLocationAsRelativeGeneric | import("vue-router").RouteLocationAsPathGeneric;
|
|
1349
1351
|
rel: any;
|
|
1350
|
-
label: string;
|
|
1351
1352
|
icon: string;
|
|
1353
|
+
class: any;
|
|
1352
1354
|
block: boolean;
|
|
1353
1355
|
square: boolean;
|
|
1356
|
+
label: string;
|
|
1354
1357
|
loading: boolean;
|
|
1355
1358
|
padded: boolean;
|
|
1356
1359
|
loadingIcon: string;
|
|
@@ -1606,9 +1609,8 @@ declare const _default: import("vue").DefineComponent<import("vue").ExtractPropT
|
|
|
1606
1609
|
};
|
|
1607
1610
|
}>> & Readonly<{}>, {
|
|
1608
1611
|
type: string;
|
|
1609
|
-
to: string | import("vue-router").RouteLocationAsRelativeGeneric | import("vue-router").RouteLocationAsPathGeneric;
|
|
1610
|
-
disabled: boolean;
|
|
1611
1612
|
target: "_blank" | "_parent" | "_self" | "_top" | (string & {});
|
|
1613
|
+
to: string | import("vue-router").RouteLocationAsRelativeGeneric | import("vue-router").RouteLocationAsPathGeneric;
|
|
1612
1614
|
activeClass: string;
|
|
1613
1615
|
exactActiveClass: string;
|
|
1614
1616
|
ariaCurrentValue: "page" | "step" | "location" | "date" | "time" | "true" | "false";
|
|
@@ -1619,6 +1621,7 @@ declare const _default: import("vue").DefineComponent<import("vue").ExtractPropT
|
|
|
1619
1621
|
prefetchedClass: string;
|
|
1620
1622
|
external: boolean;
|
|
1621
1623
|
as: string;
|
|
1624
|
+
disabled: boolean;
|
|
1622
1625
|
active: boolean;
|
|
1623
1626
|
exact: boolean;
|
|
1624
1627
|
exactQuery: boolean | "partial";
|
|
@@ -240,7 +240,6 @@ declare const _default: import("vue").DefineComponent<import("vue").ExtractPropT
|
|
|
240
240
|
};
|
|
241
241
|
}>> & Readonly<{}>, {
|
|
242
242
|
size: AvatarSize;
|
|
243
|
-
class: any;
|
|
244
243
|
ui: {
|
|
245
244
|
wrapper?: string;
|
|
246
245
|
background?: string;
|
|
@@ -305,9 +304,10 @@ declare const _default: import("vue").DefineComponent<import("vue").ExtractPropT
|
|
|
305
304
|
strategy?: Strategy;
|
|
306
305
|
};
|
|
307
306
|
as: string | Record<string, any>;
|
|
308
|
-
text: string;
|
|
309
307
|
alt: string;
|
|
310
308
|
icon: string;
|
|
309
|
+
class: any;
|
|
310
|
+
text: string;
|
|
311
311
|
src: string | boolean;
|
|
312
312
|
chipColor: AvatarChipColor;
|
|
313
313
|
chipPosition: "top-right" | "bottom-right" | "top-left" | "bottom-left";
|
|
@@ -161,7 +161,6 @@ declare const _default: import("vue").DefineComponent<import("vue").ExtractPropT
|
|
|
161
161
|
};
|
|
162
162
|
}>> & Readonly<{}>, {
|
|
163
163
|
size: BadgeSize;
|
|
164
|
-
class: any;
|
|
165
164
|
ui: {
|
|
166
165
|
base?: string;
|
|
167
166
|
rounded?: string;
|
|
@@ -217,8 +216,9 @@ declare const _default: import("vue").DefineComponent<import("vue").ExtractPropT
|
|
|
217
216
|
color: BadgeColor;
|
|
218
217
|
variant: BadgeVariant;
|
|
219
218
|
leading: boolean;
|
|
220
|
-
label: string | number;
|
|
221
219
|
icon: string;
|
|
220
|
+
class: any;
|
|
221
|
+
label: string | number;
|
|
222
222
|
leadingIcon: string;
|
|
223
223
|
trailingIcon: string;
|
|
224
224
|
trailing: boolean;
|
|
@@ -470,9 +470,6 @@ declare const _default: import("vue").DefineComponent<import("vue").ExtractPropT
|
|
|
470
470
|
}>> & Readonly<{}>, {
|
|
471
471
|
type: string;
|
|
472
472
|
size: ButtonSize;
|
|
473
|
-
class: any;
|
|
474
|
-
to: string | import("vue-router").RouteLocationAsRelativeGeneric | import("vue-router").RouteLocationAsPathGeneric;
|
|
475
|
-
disabled: boolean;
|
|
476
473
|
ui: {
|
|
477
474
|
base?: string;
|
|
478
475
|
font?: string;
|
|
@@ -561,6 +558,7 @@ declare const _default: import("vue").DefineComponent<import("vue").ExtractPropT
|
|
|
561
558
|
variant: ButtonVariant;
|
|
562
559
|
truncate: boolean;
|
|
563
560
|
target: "_blank" | "_parent" | "_self" | "_top" | (string & {});
|
|
561
|
+
to: string | import("vue-router").RouteLocationAsRelativeGeneric | import("vue-router").RouteLocationAsPathGeneric;
|
|
564
562
|
activeClass: string;
|
|
565
563
|
exactActiveClass: string;
|
|
566
564
|
ariaCurrentValue: "page" | "step" | "location" | "date" | "time" | "true" | "false";
|
|
@@ -571,12 +569,14 @@ declare const _default: import("vue").DefineComponent<import("vue").ExtractPropT
|
|
|
571
569
|
prefetchedClass: string;
|
|
572
570
|
external: boolean;
|
|
573
571
|
leading: boolean;
|
|
572
|
+
disabled: boolean;
|
|
574
573
|
href: string | import("vue-router").RouteLocationAsRelativeGeneric | import("vue-router").RouteLocationAsPathGeneric;
|
|
575
574
|
rel: any;
|
|
576
|
-
label: string;
|
|
577
575
|
icon: string;
|
|
576
|
+
class: any;
|
|
578
577
|
block: boolean;
|
|
579
578
|
square: boolean;
|
|
579
|
+
label: string;
|
|
580
580
|
loading: boolean;
|
|
581
581
|
padded: boolean;
|
|
582
582
|
loadingIcon: string;
|
|
@@ -832,9 +832,8 @@ declare const _default: import("vue").DefineComponent<import("vue").ExtractPropT
|
|
|
832
832
|
};
|
|
833
833
|
}>> & Readonly<{}>, {
|
|
834
834
|
type: string;
|
|
835
|
-
to: string | import("vue-router").RouteLocationAsRelativeGeneric | import("vue-router").RouteLocationAsPathGeneric;
|
|
836
|
-
disabled: boolean;
|
|
837
835
|
target: "_blank" | "_parent" | "_self" | "_top" | (string & {});
|
|
836
|
+
to: string | import("vue-router").RouteLocationAsRelativeGeneric | import("vue-router").RouteLocationAsPathGeneric;
|
|
838
837
|
activeClass: string;
|
|
839
838
|
exactActiveClass: string;
|
|
840
839
|
ariaCurrentValue: "page" | "step" | "location" | "date" | "time" | "true" | "false";
|
|
@@ -845,6 +844,7 @@ declare const _default: import("vue").DefineComponent<import("vue").ExtractPropT
|
|
|
845
844
|
prefetchedClass: string;
|
|
846
845
|
external: boolean;
|
|
847
846
|
as: string;
|
|
847
|
+
disabled: boolean;
|
|
848
848
|
active: boolean;
|
|
849
849
|
exact: boolean;
|
|
850
850
|
exactQuery: boolean | "partial";
|
|
@@ -43,9 +43,9 @@
|
|
|
43
43
|
role="tab"
|
|
44
44
|
:aria-selected="page === currentPage"
|
|
45
45
|
:class="[
|
|
46
|
-
|
|
47
|
-
|
|
48
|
-
|
|
46
|
+
ui.indicators.base,
|
|
47
|
+
page === currentPage ? ui.indicators.active : ui.indicators.inactive
|
|
48
|
+
]"
|
|
49
49
|
:aria-label="`set slide ${page}`"
|
|
50
50
|
@click="onClick(page)"
|
|
51
51
|
/>
|