@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
|
@@ -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,7 +9,7 @@
|
|
|
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>
|
|
@@ -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>
|
|
@@ -16,7 +16,7 @@ declare const config: {
|
|
|
16
16
|
};
|
|
17
17
|
avatar: {
|
|
18
18
|
base: string;
|
|
19
|
-
size: import("../../types/avatar").AvatarSize;
|
|
19
|
+
size: import("../../types/avatar.js").AvatarSize;
|
|
20
20
|
};
|
|
21
21
|
color: {
|
|
22
22
|
white: {
|
|
@@ -35,9 +35,9 @@ declare const config: {
|
|
|
35
35
|
icon: any;
|
|
36
36
|
closeButton: any;
|
|
37
37
|
actionButton: {
|
|
38
|
-
size: import("../../types/button").ButtonSize;
|
|
39
|
-
color: import("../../types/button").ButtonColor;
|
|
40
|
-
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;
|
|
41
41
|
};
|
|
42
42
|
};
|
|
43
43
|
};
|
|
@@ -103,7 +103,7 @@ declare const _default: import("vue").DefineComponent<import("vue").ExtractPropT
|
|
|
103
103
|
};
|
|
104
104
|
avatar: {
|
|
105
105
|
base: string;
|
|
106
|
-
size: import("../../types/avatar").AvatarSize;
|
|
106
|
+
size: import("../../types/avatar.js").AvatarSize;
|
|
107
107
|
};
|
|
108
108
|
color: {
|
|
109
109
|
white: {
|
|
@@ -122,9 +122,9 @@ declare const _default: import("vue").DefineComponent<import("vue").ExtractPropT
|
|
|
122
122
|
icon: any;
|
|
123
123
|
closeButton: any;
|
|
124
124
|
actionButton: {
|
|
125
|
-
size: import("../../types/button").ButtonSize;
|
|
126
|
-
color: import("../../types/button").ButtonColor;
|
|
127
|
-
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;
|
|
128
128
|
};
|
|
129
129
|
};
|
|
130
130
|
}>;
|
|
@@ -182,7 +182,6 @@ declare const _default: import("vue").DefineComponent<import("vue").ExtractPropT
|
|
|
182
182
|
}>> & Readonly<{
|
|
183
183
|
onClose?: (...args: any[]) => any;
|
|
184
184
|
}>, {
|
|
185
|
-
class: any;
|
|
186
185
|
ui: {
|
|
187
186
|
wrapper?: string;
|
|
188
187
|
inner?: string;
|
|
@@ -199,7 +198,7 @@ declare const _default: import("vue").DefineComponent<import("vue").ExtractPropT
|
|
|
199
198
|
}, any>;
|
|
200
199
|
avatar?: DeepPartial<{
|
|
201
200
|
base: string;
|
|
202
|
-
size: import("../../types/avatar").AvatarSize;
|
|
201
|
+
size: import("../../types/avatar.js").AvatarSize;
|
|
203
202
|
}, any>;
|
|
204
203
|
color?: DeepPartial<{
|
|
205
204
|
white: {
|
|
@@ -218,9 +217,9 @@ declare const _default: import("vue").DefineComponent<import("vue").ExtractPropT
|
|
|
218
217
|
icon: any;
|
|
219
218
|
closeButton: any;
|
|
220
219
|
actionButton: {
|
|
221
|
-
size: import("../../types/button").ButtonSize;
|
|
222
|
-
color: import("../../types/button").ButtonColor;
|
|
223
|
-
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;
|
|
224
223
|
};
|
|
225
224
|
}, any>;
|
|
226
225
|
} & {
|
|
@@ -236,6 +235,7 @@ declare const _default: import("vue").DefineComponent<import("vue").ExtractPropT
|
|
|
236
235
|
icon: string;
|
|
237
236
|
closeButton: Button;
|
|
238
237
|
actions: AlertAction[];
|
|
238
|
+
class: any;
|
|
239
239
|
}, {}, {
|
|
240
240
|
UIcon: import("vue").DefineComponent<import("vue").ExtractPropTypes<{
|
|
241
241
|
name: {
|
|
@@ -304,17 +304,17 @@ declare const _default: import("vue").DefineComponent<import("vue").ExtractPropT
|
|
|
304
304
|
default: () => any;
|
|
305
305
|
};
|
|
306
306
|
size: {
|
|
307
|
-
type: PropType<import("../../types/avatar").AvatarSize>;
|
|
307
|
+
type: PropType<import("../../types/avatar.js").AvatarSize>;
|
|
308
308
|
default: () => string;
|
|
309
309
|
validator(value: string): boolean;
|
|
310
310
|
};
|
|
311
311
|
chipColor: {
|
|
312
|
-
type: PropType<import("../../types/avatar").AvatarChipColor>;
|
|
312
|
+
type: PropType<import("../../types/avatar.js").AvatarChipColor>;
|
|
313
313
|
default: () => any;
|
|
314
314
|
validator(value: string): boolean;
|
|
315
315
|
};
|
|
316
316
|
chipPosition: {
|
|
317
|
-
type: PropType<import("../../types/avatar").AvatarChipPosition>;
|
|
317
|
+
type: PropType<import("../../types/avatar.js").AvatarChipPosition>;
|
|
318
318
|
default: () => string;
|
|
319
319
|
validator(value: string): boolean;
|
|
320
320
|
};
|
|
@@ -487,17 +487,17 @@ declare const _default: import("vue").DefineComponent<import("vue").ExtractPropT
|
|
|
487
487
|
default: () => any;
|
|
488
488
|
};
|
|
489
489
|
size: {
|
|
490
|
-
type: PropType<import("../../types/avatar").AvatarSize>;
|
|
490
|
+
type: PropType<import("../../types/avatar.js").AvatarSize>;
|
|
491
491
|
default: () => string;
|
|
492
492
|
validator(value: string): boolean;
|
|
493
493
|
};
|
|
494
494
|
chipColor: {
|
|
495
|
-
type: PropType<import("../../types/avatar").AvatarChipColor>;
|
|
495
|
+
type: PropType<import("../../types/avatar.js").AvatarChipColor>;
|
|
496
496
|
default: () => any;
|
|
497
497
|
validator(value: string): boolean;
|
|
498
498
|
};
|
|
499
499
|
chipPosition: {
|
|
500
|
-
type: PropType<import("../../types/avatar").AvatarChipPosition>;
|
|
500
|
+
type: PropType<import("../../types/avatar.js").AvatarChipPosition>;
|
|
501
501
|
default: () => string;
|
|
502
502
|
validator(value: string): boolean;
|
|
503
503
|
};
|
|
@@ -578,8 +578,7 @@ declare const _default: import("vue").DefineComponent<import("vue").ExtractPropT
|
|
|
578
578
|
default: () => {};
|
|
579
579
|
};
|
|
580
580
|
}>> & Readonly<{}>, {
|
|
581
|
-
size: import("../../types/avatar").AvatarSize;
|
|
582
|
-
class: any;
|
|
581
|
+
size: import("../../types/avatar.js").AvatarSize;
|
|
583
582
|
ui: {
|
|
584
583
|
wrapper?: string;
|
|
585
584
|
background?: string;
|
|
@@ -644,11 +643,12 @@ declare const _default: import("vue").DefineComponent<import("vue").ExtractPropT
|
|
|
644
643
|
strategy?: Strategy;
|
|
645
644
|
};
|
|
646
645
|
as: string | Record<string, any>;
|
|
647
|
-
text: string;
|
|
648
646
|
alt: string;
|
|
649
647
|
icon: string;
|
|
648
|
+
class: any;
|
|
649
|
+
text: string;
|
|
650
650
|
src: string | boolean;
|
|
651
|
-
chipColor: import("../../types/avatar").AvatarChipColor;
|
|
651
|
+
chipColor: import("../../types/avatar.js").AvatarChipColor;
|
|
652
652
|
chipPosition: "top-right" | "bottom-right" | "top-left" | "bottom-left";
|
|
653
653
|
chipText: string | number;
|
|
654
654
|
imgClass: string;
|
|
@@ -725,17 +725,17 @@ declare const _default: import("vue").DefineComponent<import("vue").ExtractPropT
|
|
|
725
725
|
default: boolean;
|
|
726
726
|
};
|
|
727
727
|
size: {
|
|
728
|
-
type: PropType<import("../../types/button").ButtonSize>;
|
|
728
|
+
type: PropType<import("../../types/button.js").ButtonSize>;
|
|
729
729
|
default: () => string;
|
|
730
730
|
validator(value: string): boolean;
|
|
731
731
|
};
|
|
732
732
|
color: {
|
|
733
|
-
type: PropType<import("../../types/button").ButtonColor>;
|
|
733
|
+
type: PropType<import("../../types/button.js").ButtonColor>;
|
|
734
734
|
default: () => string;
|
|
735
735
|
validator(value: string): boolean;
|
|
736
736
|
};
|
|
737
737
|
variant: {
|
|
738
|
-
type: PropType<import("../../types/button").ButtonVariant>;
|
|
738
|
+
type: PropType<import("../../types/button.js").ButtonVariant>;
|
|
739
739
|
default: () => string;
|
|
740
740
|
validator(value: string): boolean;
|
|
741
741
|
};
|
|
@@ -1044,17 +1044,17 @@ declare const _default: import("vue").DefineComponent<import("vue").ExtractPropT
|
|
|
1044
1044
|
default: boolean;
|
|
1045
1045
|
};
|
|
1046
1046
|
size: {
|
|
1047
|
-
type: PropType<import("../../types/button").ButtonSize>;
|
|
1047
|
+
type: PropType<import("../../types/button.js").ButtonSize>;
|
|
1048
1048
|
default: () => string;
|
|
1049
1049
|
validator(value: string): boolean;
|
|
1050
1050
|
};
|
|
1051
1051
|
color: {
|
|
1052
|
-
type: PropType<import("../../types/button").ButtonColor>;
|
|
1052
|
+
type: PropType<import("../../types/button.js").ButtonColor>;
|
|
1053
1053
|
default: () => string;
|
|
1054
1054
|
validator(value: string): boolean;
|
|
1055
1055
|
};
|
|
1056
1056
|
variant: {
|
|
1057
|
-
type: PropType<import("../../types/button").ButtonVariant>;
|
|
1057
|
+
type: PropType<import("../../types/button.js").ButtonVariant>;
|
|
1058
1058
|
default: () => string;
|
|
1059
1059
|
validator(value: string): boolean;
|
|
1060
1060
|
};
|
|
@@ -1246,10 +1246,7 @@ declare const _default: import("vue").DefineComponent<import("vue").ExtractPropT
|
|
|
1246
1246
|
};
|
|
1247
1247
|
}>> & Readonly<{}>, {
|
|
1248
1248
|
type: string;
|
|
1249
|
-
size: import("../../types/button").ButtonSize;
|
|
1250
|
-
class: any;
|
|
1251
|
-
to: string | import("vue-router").RouteLocationAsRelativeGeneric | import("vue-router").RouteLocationAsPathGeneric;
|
|
1252
|
-
disabled: boolean;
|
|
1249
|
+
size: import("../../types/button.js").ButtonSize;
|
|
1253
1250
|
ui: {
|
|
1254
1251
|
base?: string;
|
|
1255
1252
|
font?: string;
|
|
@@ -1334,10 +1331,11 @@ declare const _default: import("vue").DefineComponent<import("vue").ExtractPropT
|
|
|
1334
1331
|
} & {
|
|
1335
1332
|
strategy?: Strategy;
|
|
1336
1333
|
};
|
|
1337
|
-
color: import("../../types/button").ButtonColor;
|
|
1338
|
-
variant: import("../../types/button").ButtonVariant;
|
|
1334
|
+
color: import("../../types/button.js").ButtonColor;
|
|
1335
|
+
variant: import("../../types/button.js").ButtonVariant;
|
|
1339
1336
|
truncate: boolean;
|
|
1340
1337
|
target: "_blank" | "_parent" | "_self" | "_top" | (string & {});
|
|
1338
|
+
to: string | import("vue-router").RouteLocationAsRelativeGeneric | import("vue-router").RouteLocationAsPathGeneric;
|
|
1341
1339
|
activeClass: string;
|
|
1342
1340
|
exactActiveClass: string;
|
|
1343
1341
|
ariaCurrentValue: "page" | "step" | "location" | "date" | "time" | "true" | "false";
|
|
@@ -1348,12 +1346,14 @@ declare const _default: import("vue").DefineComponent<import("vue").ExtractPropT
|
|
|
1348
1346
|
prefetchedClass: string;
|
|
1349
1347
|
external: boolean;
|
|
1350
1348
|
leading: boolean;
|
|
1349
|
+
disabled: boolean;
|
|
1351
1350
|
href: string | import("vue-router").RouteLocationAsRelativeGeneric | import("vue-router").RouteLocationAsPathGeneric;
|
|
1352
1351
|
rel: any;
|
|
1353
|
-
label: string;
|
|
1354
1352
|
icon: string;
|
|
1353
|
+
class: any;
|
|
1355
1354
|
block: boolean;
|
|
1356
1355
|
square: boolean;
|
|
1356
|
+
label: string;
|
|
1357
1357
|
loading: boolean;
|
|
1358
1358
|
padded: boolean;
|
|
1359
1359
|
loadingIcon: string;
|
|
@@ -1609,9 +1609,8 @@ declare const _default: import("vue").DefineComponent<import("vue").ExtractPropT
|
|
|
1609
1609
|
};
|
|
1610
1610
|
}>> & Readonly<{}>, {
|
|
1611
1611
|
type: string;
|
|
1612
|
-
to: string | import("vue-router").RouteLocationAsRelativeGeneric | import("vue-router").RouteLocationAsPathGeneric;
|
|
1613
|
-
disabled: boolean;
|
|
1614
1612
|
target: "_blank" | "_parent" | "_self" | "_top" | (string & {});
|
|
1613
|
+
to: string | import("vue-router").RouteLocationAsRelativeGeneric | import("vue-router").RouteLocationAsPathGeneric;
|
|
1615
1614
|
activeClass: string;
|
|
1616
1615
|
exactActiveClass: string;
|
|
1617
1616
|
ariaCurrentValue: "page" | "step" | "location" | "date" | "time" | "true" | "false";
|
|
@@ -1622,6 +1621,7 @@ declare const _default: import("vue").DefineComponent<import("vue").ExtractPropT
|
|
|
1622
1621
|
prefetchedClass: string;
|
|
1623
1622
|
external: boolean;
|
|
1624
1623
|
as: string;
|
|
1624
|
+
disabled: boolean;
|
|
1625
1625
|
active: boolean;
|
|
1626
1626
|
exact: boolean;
|
|
1627
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
|
/>
|