@nuxt/ui 2.18.0 → 2.18.1
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/dist/module.json +1 -1
- package/dist/module.mjs +2 -2
- package/dist/runtime/components/data/Table.vue +4 -1
- package/dist/runtime/components/data/Table.vue.d.ts +10 -10
- package/dist/runtime/components/elements/Accordion.vue +2 -1
- package/dist/runtime/components/elements/Accordion.vue.d.ts +1 -1
- package/dist/runtime/components/elements/Alert.vue +3 -1
- package/dist/runtime/components/elements/Alert.vue.d.ts +2 -2
- package/dist/runtime/components/elements/Avatar.vue +1 -1
- package/dist/runtime/components/elements/Avatar.vue.d.ts +9 -9
- package/dist/runtime/components/elements/AvatarGroup.d.ts +3 -3
- package/dist/runtime/components/elements/Badge.vue.d.ts +3 -3
- package/dist/runtime/components/elements/Button.vue +2 -1
- package/dist/runtime/components/elements/Button.vue.d.ts +6 -6
- package/dist/runtime/components/elements/ButtonGroup.d.ts +3 -3
- package/dist/runtime/components/elements/Carousel.vue.d.ts +1 -1
- package/dist/runtime/components/elements/Chip.vue.d.ts +3 -3
- package/dist/runtime/components/elements/Dropdown.vue +3 -1
- package/dist/runtime/components/elements/Dropdown.vue.d.ts +3 -3
- package/dist/runtime/components/elements/Icon.vue +30 -0
- package/dist/runtime/components/elements/Icon.vue.d.ts +47 -0
- package/dist/runtime/components/elements/Kbd.vue.d.ts +1 -1
- package/dist/runtime/components/elements/Link.vue.d.ts +3 -3
- 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 +4 -4
- package/dist/runtime/components/elements/MeterGroup.js +1 -1
- package/dist/runtime/components/elements/Progress.vue.d.ts +3 -3
- package/dist/runtime/components/forms/Checkbox.vue.d.ts +6 -6
- package/dist/runtime/components/forms/Form.vue.d.ts +1 -1
- package/dist/runtime/components/forms/FormGroup.vue.d.ts +6 -6
- package/dist/runtime/components/forms/Input.vue +1 -1
- package/dist/runtime/components/forms/Input.vue.d.ts +7 -7
- package/dist/runtime/components/forms/InputMenu.vue +2 -1
- package/dist/runtime/components/forms/InputMenu.vue.d.ts +13 -13
- package/dist/runtime/components/forms/Radio.vue.d.ts +8 -8
- package/dist/runtime/components/forms/RadioGroup.vue.d.ts +6 -6
- package/dist/runtime/components/forms/Range.vue.d.ts +4 -4
- package/dist/runtime/components/forms/Select.vue +1 -1
- package/dist/runtime/components/forms/Select.vue.d.ts +6 -6
- package/dist/runtime/components/forms/SelectMenu.vue +2 -1
- package/dist/runtime/components/forms/SelectMenu.vue.d.ts +11 -11
- package/dist/runtime/components/forms/Textarea.vue.d.ts +8 -8
- package/dist/runtime/components/forms/Toggle.vue +1 -1
- package/dist/runtime/components/forms/Toggle.vue.d.ts +3 -3
- package/dist/runtime/components/layout/Card.vue.d.ts +2 -2
- package/dist/runtime/components/layout/Container.vue.d.ts +2 -2
- package/dist/runtime/components/layout/Divider.vue +2 -1
- package/dist/runtime/components/layout/Divider.vue.d.ts +4 -4
- package/dist/runtime/components/layout/Skeleton.vue.d.ts +2 -2
- package/dist/runtime/components/navigation/Breadcrumb.vue +2 -1
- package/dist/runtime/components/navigation/Breadcrumb.vue.d.ts +1 -1
- package/dist/runtime/components/navigation/CommandPalette.vue +2 -1
- package/dist/runtime/components/navigation/CommandPalette.vue.d.ts +12 -12
- package/dist/runtime/components/navigation/CommandPaletteGroup.vue +3 -1
- package/dist/runtime/components/navigation/HorizontalNavigation.vue +4 -1
- package/dist/runtime/components/navigation/HorizontalNavigation.vue.d.ts +1 -1
- package/dist/runtime/components/navigation/Pagination.vue.d.ts +2 -2
- package/dist/runtime/components/navigation/Tabs.vue.d.ts +2 -2
- package/dist/runtime/components/navigation/VerticalNavigation.vue +5 -1
- package/dist/runtime/components/navigation/VerticalNavigation.vue.d.ts +1 -1
- package/dist/runtime/components/overlays/ContextMenu.vue.d.ts +1 -1
- package/dist/runtime/components/overlays/Modal.vue.d.ts +1 -1
- package/dist/runtime/components/overlays/Notification.vue +3 -1
- package/dist/runtime/components/overlays/Notification.vue.d.ts +4 -4
- package/dist/runtime/components/overlays/Notifications.vue.d.ts +3 -3
- package/dist/runtime/components/overlays/Popover.vue.d.ts +3 -3
- package/dist/runtime/components/overlays/Slideover.vue.d.ts +2 -2
- package/dist/runtime/components/overlays/Tooltip.vue.d.ts +1 -1
- package/dist/runtime/composables/usePopper.d.ts +3 -3
- package/dist/runtime/composables/useToast.d.ts +2 -2
- package/dist/runtime/types/alert.d.ts +1 -1
- package/dist/runtime/types/command-palette.d.ts +2 -2
- package/dist/runtime/types/dropdown.d.ts +1 -1
- package/dist/runtime/types/horizontal-navigation.d.ts +1 -1
- package/dist/runtime/types/notification.d.ts +3 -3
- package/dist/runtime/types/vertical-navigation.d.ts +1 -1
- package/package.json +3 -4
package/dist/module.json
CHANGED
package/dist/module.mjs
CHANGED
|
@@ -14,7 +14,7 @@ const __filename = __cjs_url__.fileURLToPath(import.meta.url);
|
|
|
14
14
|
const __dirname = __cjs_path__.dirname(__filename);
|
|
15
15
|
const require = __cjs_mod__.createRequire(import.meta.url);
|
|
16
16
|
const name = "@nuxt/ui";
|
|
17
|
-
const version = "2.18.
|
|
17
|
+
const version = "2.18.1";
|
|
18
18
|
|
|
19
19
|
function createTemplates(nuxt = useNuxt()) {
|
|
20
20
|
const template = addTemplate({
|
|
@@ -129,7 +129,7 @@ const module = defineNuxtModule({
|
|
|
129
129
|
nuxt.options.css.push(resolve(runtimeDir, "ui.css"));
|
|
130
130
|
}
|
|
131
131
|
createTemplates(nuxt);
|
|
132
|
-
await installModule("@nuxt/icon"
|
|
132
|
+
await installModule("@nuxt/icon");
|
|
133
133
|
await installModule("@nuxtjs/color-mode", { classSuffix: "" });
|
|
134
134
|
await installTailwind(options, nuxt, resolve);
|
|
135
135
|
addPlugin({
|
|
@@ -114,7 +114,10 @@ import { ref, computed, defineComponent, toRaw, toRef } from "vue";
|
|
|
114
114
|
import { upperFirst } from "scule";
|
|
115
115
|
import { defu } from "defu";
|
|
116
116
|
import { useVModel } from "@vueuse/core";
|
|
117
|
-
import
|
|
117
|
+
import UIcon from "../elements/Icon.vue";
|
|
118
|
+
import UButton from "../elements/Button.vue";
|
|
119
|
+
import UProgress from "../elements/Progress.vue";
|
|
120
|
+
import UCheckbox from "../forms/Checkbox.vue";
|
|
118
121
|
import { useUI } from "../../composables/useUI";
|
|
119
122
|
import { mergeConfig, get } from "../../utils";
|
|
120
123
|
import appConfig from "#build/app.config";
|
|
@@ -407,28 +407,28 @@ declare const _default: import("vue").DefineComponent<{
|
|
|
407
407
|
column: string;
|
|
408
408
|
direction: "asc" | "desc";
|
|
409
409
|
};
|
|
410
|
+
class: any;
|
|
411
|
+
ui: {};
|
|
412
|
+
caption: string;
|
|
413
|
+
columns: Column[];
|
|
410
414
|
progress: {
|
|
411
415
|
color: ProgressColor;
|
|
412
416
|
animation: ProgressAnimation;
|
|
413
417
|
};
|
|
414
|
-
ui: {};
|
|
415
|
-
class: any;
|
|
416
|
-
caption: string;
|
|
417
|
-
columns: Column[];
|
|
418
418
|
modelValue: unknown[];
|
|
419
419
|
loading: boolean;
|
|
420
|
-
|
|
421
|
-
rows: {
|
|
422
|
-
[key: string]: any;
|
|
423
|
-
}[];
|
|
424
|
-
emptyState: {
|
|
420
|
+
loadingState: {
|
|
425
421
|
icon: string;
|
|
426
422
|
label: string;
|
|
427
423
|
};
|
|
428
|
-
|
|
424
|
+
emptyState: {
|
|
429
425
|
icon: string;
|
|
430
426
|
label: string;
|
|
431
427
|
};
|
|
428
|
+
by: string | Function;
|
|
429
|
+
rows: {
|
|
430
|
+
[key: string]: any;
|
|
431
|
+
}[];
|
|
432
432
|
columnAttribute: string;
|
|
433
433
|
sortMode: "auto" | "manual";
|
|
434
434
|
sortButton: Button;
|
|
@@ -68,7 +68,8 @@
|
|
|
68
68
|
<script>
|
|
69
69
|
import { ref, computed, toRef, defineComponent, watch } from "vue";
|
|
70
70
|
import { Disclosure as HDisclosure, DisclosureButton as HDisclosureButton, DisclosurePanel as HDisclosurePanel, provideUseId } from "@headlessui/vue";
|
|
71
|
-
import
|
|
71
|
+
import UIcon from "../elements/Icon.vue";
|
|
72
|
+
import UButton from "../elements/Button.vue";
|
|
72
73
|
import { useUI } from "../../composables/useUI";
|
|
73
74
|
import { mergeConfig, omit } from "../../utils";
|
|
74
75
|
import appConfig from "#build/app.config";
|
|
@@ -42,7 +42,9 @@
|
|
|
42
42
|
<script>
|
|
43
43
|
import { computed, toRef, defineComponent } from "vue";
|
|
44
44
|
import { twMerge, twJoin } from "tailwind-merge";
|
|
45
|
-
import
|
|
45
|
+
import UIcon from "../elements/Icon.vue";
|
|
46
|
+
import UAvatar from "../elements/Avatar.vue";
|
|
47
|
+
import UButton from "../elements/Button.vue";
|
|
46
48
|
import { useUI } from "../../composables/useUI";
|
|
47
49
|
import { mergeConfig } from "../../utils";
|
|
48
50
|
import appConfig from "#build/app.config";
|
|
@@ -180,12 +180,12 @@ declare const _default: import("vue").DefineComponent<{
|
|
|
180
180
|
}>> & {
|
|
181
181
|
onClose?: (...args: any[]) => any;
|
|
182
182
|
}, {
|
|
183
|
+
class: any;
|
|
183
184
|
ui: {};
|
|
184
185
|
color: AlertColor;
|
|
185
186
|
variant: AlertVariant;
|
|
186
|
-
icon: string;
|
|
187
187
|
avatar: any;
|
|
188
|
-
|
|
188
|
+
icon: string;
|
|
189
189
|
title: string;
|
|
190
190
|
description: string;
|
|
191
191
|
closeButton: Button;
|
|
@@ -23,7 +23,7 @@
|
|
|
23
23
|
<script>
|
|
24
24
|
import { defineComponent, ref, computed, toRef, watch } from "vue";
|
|
25
25
|
import { twMerge, twJoin } from "tailwind-merge";
|
|
26
|
-
import
|
|
26
|
+
import UIcon from "../elements/Icon.vue";
|
|
27
27
|
import { useUI } from "../../composables/useUI";
|
|
28
28
|
import { mergeConfig } from "../../utils";
|
|
29
29
|
import appConfig from "#build/app.config";
|
|
@@ -61,11 +61,11 @@ declare const config: {
|
|
|
61
61
|
};
|
|
62
62
|
declare const _default: import("vue").DefineComponent<{
|
|
63
63
|
as: {
|
|
64
|
-
type: (
|
|
64
|
+
type: (StringConstructor | ObjectConstructor)[];
|
|
65
65
|
default: string;
|
|
66
66
|
};
|
|
67
67
|
src: {
|
|
68
|
-
type: (
|
|
68
|
+
type: (StringConstructor | BooleanConstructor)[];
|
|
69
69
|
default: any;
|
|
70
70
|
};
|
|
71
71
|
alt: {
|
|
@@ -96,7 +96,7 @@ declare const _default: import("vue").DefineComponent<{
|
|
|
96
96
|
validator(value: string): boolean;
|
|
97
97
|
};
|
|
98
98
|
chipText: {
|
|
99
|
-
type: (
|
|
99
|
+
type: (StringConstructor | NumberConstructor)[];
|
|
100
100
|
default: any;
|
|
101
101
|
};
|
|
102
102
|
imgClass: {
|
|
@@ -186,11 +186,11 @@ declare const _default: import("vue").DefineComponent<{
|
|
|
186
186
|
onError: () => void;
|
|
187
187
|
}, unknown, {}, {}, import("vue").ComponentOptionsMixin, import("vue").ComponentOptionsMixin, {}, string, import("vue").PublicProps, Readonly<import("vue").ExtractPropTypes<{
|
|
188
188
|
as: {
|
|
189
|
-
type: (
|
|
189
|
+
type: (StringConstructor | ObjectConstructor)[];
|
|
190
190
|
default: string;
|
|
191
191
|
};
|
|
192
192
|
src: {
|
|
193
|
-
type: (
|
|
193
|
+
type: (StringConstructor | BooleanConstructor)[];
|
|
194
194
|
default: any;
|
|
195
195
|
};
|
|
196
196
|
alt: {
|
|
@@ -221,7 +221,7 @@ declare const _default: import("vue").DefineComponent<{
|
|
|
221
221
|
validator(value: string): boolean;
|
|
222
222
|
};
|
|
223
223
|
chipText: {
|
|
224
|
-
type: (
|
|
224
|
+
type: (StringConstructor | NumberConstructor)[];
|
|
225
225
|
default: any;
|
|
226
226
|
};
|
|
227
227
|
imgClass: {
|
|
@@ -239,13 +239,13 @@ declare const _default: import("vue").DefineComponent<{
|
|
|
239
239
|
default: () => {};
|
|
240
240
|
};
|
|
241
241
|
}>>, {
|
|
242
|
-
alt: string;
|
|
243
242
|
size: AvatarSize;
|
|
244
|
-
|
|
243
|
+
class: any;
|
|
245
244
|
as: string | Record<string, any>;
|
|
245
|
+
ui: {};
|
|
246
246
|
icon: string;
|
|
247
|
-
class: any;
|
|
248
247
|
text: string;
|
|
248
|
+
alt: string;
|
|
249
249
|
src: string | boolean;
|
|
250
250
|
chipColor: AvatarChipColor;
|
|
251
251
|
chipPosition: "top-right" | "bottom-right" | "top-left" | "bottom-left";
|
|
@@ -5,7 +5,7 @@ declare const avatarGroupConfig: {
|
|
|
5
5
|
ring: string;
|
|
6
6
|
margin: string;
|
|
7
7
|
};
|
|
8
|
-
declare const _default: import("vue").DefineComponent<{
|
|
8
|
+
declare const _default: import("@vue/runtime-core").DefineComponent<{
|
|
9
9
|
size: {
|
|
10
10
|
type: PropType<AvatarSize>;
|
|
11
11
|
default: any;
|
|
@@ -25,9 +25,9 @@ declare const _default: import("vue").DefineComponent<{
|
|
|
25
25
|
}>;
|
|
26
26
|
default: () => {};
|
|
27
27
|
};
|
|
28
|
-
}, () => import("vue").VNode<import("vue").RendererNode, import("vue").RendererElement, {
|
|
28
|
+
}, () => import("@vue/runtime-core").VNode<import("@vue/runtime-core").RendererNode, import("@vue/runtime-core").RendererElement, {
|
|
29
29
|
[key: string]: any;
|
|
30
|
-
}>, unknown, {}, {}, import("vue").ComponentOptionsMixin, import("vue").ComponentOptionsMixin, {}, string, import("vue").PublicProps, Readonly<import("vue").ExtractPropTypes<{
|
|
30
|
+
}>, unknown, {}, {}, import("@vue/runtime-core").ComponentOptionsMixin, import("@vue/runtime-core").ComponentOptionsMixin, {}, string, import("@vue/runtime-core").PublicProps, Readonly<import("@vue/runtime-core").ExtractPropTypes<{
|
|
31
31
|
size: {
|
|
32
32
|
type: PropType<AvatarSize>;
|
|
33
33
|
default: any;
|
|
@@ -50,7 +50,7 @@ declare const _default: import("vue").DefineComponent<{
|
|
|
50
50
|
validator(value: string): boolean;
|
|
51
51
|
};
|
|
52
52
|
label: {
|
|
53
|
-
type: (
|
|
53
|
+
type: (StringConstructor | NumberConstructor)[];
|
|
54
54
|
default: any;
|
|
55
55
|
};
|
|
56
56
|
class: {
|
|
@@ -85,7 +85,7 @@ declare const _default: import("vue").DefineComponent<{
|
|
|
85
85
|
validator(value: string): boolean;
|
|
86
86
|
};
|
|
87
87
|
label: {
|
|
88
|
-
type: (
|
|
88
|
+
type: (StringConstructor | NumberConstructor)[];
|
|
89
89
|
default: any;
|
|
90
90
|
};
|
|
91
91
|
class: {
|
|
@@ -100,10 +100,10 @@ declare const _default: import("vue").DefineComponent<{
|
|
|
100
100
|
};
|
|
101
101
|
}>>, {
|
|
102
102
|
size: BadgeSize;
|
|
103
|
+
class: any;
|
|
103
104
|
ui: {};
|
|
104
105
|
color: BadgeColor;
|
|
105
106
|
variant: BadgeVariant;
|
|
106
107
|
label: string | number;
|
|
107
|
-
class: any;
|
|
108
108
|
}, {}>;
|
|
109
109
|
export default _default;
|
|
@@ -19,7 +19,8 @@
|
|
|
19
19
|
<script>
|
|
20
20
|
import { computed, defineComponent, toRef } from "vue";
|
|
21
21
|
import { twMerge, twJoin } from "tailwind-merge";
|
|
22
|
-
import
|
|
22
|
+
import UIcon from "../elements/Icon.vue";
|
|
23
|
+
import ULink from "../elements/Link.vue";
|
|
23
24
|
import { useUI } from "../../composables/useUI";
|
|
24
25
|
import { mergeConfig, nuxtLinkProps, getNuxtLinkProps } from "../../utils";
|
|
25
26
|
import { useInjectButtonGroup } from "../../composables/useButtonGroup";
|
|
@@ -468,16 +468,17 @@ declare const _default: import("vue").DefineComponent<{
|
|
|
468
468
|
readonly required: false;
|
|
469
469
|
};
|
|
470
470
|
}>>, {
|
|
471
|
-
truncate: boolean;
|
|
472
471
|
size: ButtonSize;
|
|
473
|
-
|
|
472
|
+
type: string;
|
|
473
|
+
replace: boolean;
|
|
474
|
+
class: any;
|
|
474
475
|
to: any;
|
|
475
476
|
activeClass: string;
|
|
476
477
|
exactActiveClass: string;
|
|
477
|
-
ariaCurrentValue: "
|
|
478
|
-
replace: boolean;
|
|
479
|
-
type: string;
|
|
478
|
+
ariaCurrentValue: "page" | "step" | "location" | "date" | "time" | "true" | "false";
|
|
480
479
|
disabled: boolean;
|
|
480
|
+
truncate: boolean;
|
|
481
|
+
ui: {};
|
|
481
482
|
color: ButtonColor;
|
|
482
483
|
variant: ButtonVariant;
|
|
483
484
|
label: string;
|
|
@@ -490,7 +491,6 @@ declare const _default: import("vue").DefineComponent<{
|
|
|
490
491
|
prefetchedClass: string;
|
|
491
492
|
prefetch: boolean;
|
|
492
493
|
noPrefetch: boolean;
|
|
493
|
-
class: any;
|
|
494
494
|
leading: boolean;
|
|
495
495
|
block: boolean;
|
|
496
496
|
square: boolean;
|
|
@@ -100,7 +100,7 @@ declare const buttonGroupConfig: {
|
|
|
100
100
|
};
|
|
101
101
|
};
|
|
102
102
|
};
|
|
103
|
-
declare const _default: import("vue").DefineComponent<{
|
|
103
|
+
declare const _default: import("@vue/runtime-core").DefineComponent<{
|
|
104
104
|
size: {
|
|
105
105
|
type: PropType<ButtonSize>;
|
|
106
106
|
default: any;
|
|
@@ -121,9 +121,9 @@ declare const _default: import("vue").DefineComponent<{
|
|
|
121
121
|
}>;
|
|
122
122
|
default: () => {};
|
|
123
123
|
};
|
|
124
|
-
}, () => import("vue").VNode<import("vue").RendererNode, import("vue").RendererElement, {
|
|
124
|
+
}, () => import("@vue/runtime-core").VNode<import("@vue/runtime-core").RendererNode, import("@vue/runtime-core").RendererElement, {
|
|
125
125
|
[key: string]: any;
|
|
126
|
-
}>, unknown, {}, {}, import("vue").ComponentOptionsMixin, import("vue").ComponentOptionsMixin, {}, string, import("vue").PublicProps, Readonly<import("vue").ExtractPropTypes<{
|
|
126
|
+
}>, unknown, {}, {}, import("@vue/runtime-core").ComponentOptionsMixin, import("@vue/runtime-core").ComponentOptionsMixin, {}, string, import("@vue/runtime-core").PublicProps, Readonly<import("@vue/runtime-core").ExtractPropTypes<{
|
|
127
127
|
size: {
|
|
128
128
|
type: PropType<ButtonSize>;
|
|
129
129
|
default: any;
|
|
@@ -51,7 +51,7 @@ declare const _default: import("vue").DefineComponent<{
|
|
|
51
51
|
validator(value: string): boolean;
|
|
52
52
|
};
|
|
53
53
|
text: {
|
|
54
|
-
type: (
|
|
54
|
+
type: (StringConstructor | NumberConstructor)[];
|
|
55
55
|
default: any;
|
|
56
56
|
};
|
|
57
57
|
inset: {
|
|
@@ -128,7 +128,7 @@ declare const _default: import("vue").DefineComponent<{
|
|
|
128
128
|
validator(value: string): boolean;
|
|
129
129
|
};
|
|
130
130
|
text: {
|
|
131
|
-
type: (
|
|
131
|
+
type: (StringConstructor | NumberConstructor)[];
|
|
132
132
|
default: any;
|
|
133
133
|
};
|
|
134
134
|
inset: {
|
|
@@ -151,9 +151,9 @@ declare const _default: import("vue").DefineComponent<{
|
|
|
151
151
|
};
|
|
152
152
|
}>>, {
|
|
153
153
|
size: "xs" | "sm" | "2xs" | "md" | "lg" | "xl" | "3xs" | "2xl" | "3xl";
|
|
154
|
+
class: any;
|
|
154
155
|
ui: {};
|
|
155
156
|
color: ChipColor;
|
|
156
|
-
class: any;
|
|
157
157
|
inset: boolean;
|
|
158
158
|
position: "top-right" | "bottom-right" | "top-left" | "bottom-left";
|
|
159
159
|
text: string | number;
|
|
@@ -60,7 +60,9 @@ import { defineComponent, ref, computed, watch, toRef, onMounted, resolveCompone
|
|
|
60
60
|
import { Menu as HMenu, MenuButton as HMenuButton, MenuItems as HMenuItems, MenuItem as HMenuItem, provideUseId } from "@headlessui/vue";
|
|
61
61
|
import { defu } from "defu";
|
|
62
62
|
import { twMerge, twJoin } from "tailwind-merge";
|
|
63
|
-
import
|
|
63
|
+
import UIcon from "../elements/Icon.vue";
|
|
64
|
+
import UAvatar from "../elements/Avatar.vue";
|
|
65
|
+
import UKbd from "../elements/Kbd.vue";
|
|
64
66
|
import { useUI } from "../../composables/useUI";
|
|
65
67
|
import { usePopper } from "../../composables/usePopper";
|
|
66
68
|
import { mergeConfig, getNuxtLinkProps } from "../../utils";
|
|
@@ -241,11 +241,11 @@ declare const _default: import("vue").DefineComponent<{
|
|
|
241
241
|
}>> & {
|
|
242
242
|
"onUpdate:open"?: (...args: any[]) => any;
|
|
243
243
|
}, {
|
|
244
|
-
|
|
245
|
-
disabled: boolean;
|
|
244
|
+
mode: "click" | "hover";
|
|
246
245
|
class: any;
|
|
246
|
+
disabled: boolean;
|
|
247
|
+
ui: {};
|
|
247
248
|
popper: PopperOptions;
|
|
248
|
-
mode: "click" | "hover";
|
|
249
249
|
open: boolean;
|
|
250
250
|
items: DropdownItem[][];
|
|
251
251
|
openDelay: number;
|
|
@@ -0,0 +1,30 @@
|
|
|
1
|
+
<template>
|
|
2
|
+
<Icon v-bind="$props" />
|
|
3
|
+
</template>
|
|
4
|
+
|
|
5
|
+
<script>
|
|
6
|
+
import { defineComponent } from "vue";
|
|
7
|
+
export default defineComponent({
|
|
8
|
+
props: {
|
|
9
|
+
name: {
|
|
10
|
+
type: String,
|
|
11
|
+
required: true
|
|
12
|
+
},
|
|
13
|
+
mode: {
|
|
14
|
+
type: String,
|
|
15
|
+
required: false,
|
|
16
|
+
default: null
|
|
17
|
+
},
|
|
18
|
+
size: {
|
|
19
|
+
type: [Number, String],
|
|
20
|
+
required: false,
|
|
21
|
+
default: null
|
|
22
|
+
},
|
|
23
|
+
customize: {
|
|
24
|
+
type: Function,
|
|
25
|
+
required: false,
|
|
26
|
+
default: null
|
|
27
|
+
}
|
|
28
|
+
}
|
|
29
|
+
});
|
|
30
|
+
</script>
|
|
@@ -0,0 +1,47 @@
|
|
|
1
|
+
import type { PropType } from 'vue';
|
|
2
|
+
declare const _default: import("vue").DefineComponent<{
|
|
3
|
+
name: {
|
|
4
|
+
type: StringConstructor;
|
|
5
|
+
required: true;
|
|
6
|
+
};
|
|
7
|
+
mode: {
|
|
8
|
+
type: PropType<"svg" | "css">;
|
|
9
|
+
required: false;
|
|
10
|
+
default: any;
|
|
11
|
+
};
|
|
12
|
+
size: {
|
|
13
|
+
type: (StringConstructor | NumberConstructor)[];
|
|
14
|
+
required: false;
|
|
15
|
+
default: any;
|
|
16
|
+
};
|
|
17
|
+
customize: {
|
|
18
|
+
type: FunctionConstructor;
|
|
19
|
+
required: false;
|
|
20
|
+
default: any;
|
|
21
|
+
};
|
|
22
|
+
}, unknown, unknown, {}, {}, import("vue").ComponentOptionsMixin, import("vue").ComponentOptionsMixin, {}, string, import("vue").PublicProps, Readonly<import("vue").ExtractPropTypes<{
|
|
23
|
+
name: {
|
|
24
|
+
type: StringConstructor;
|
|
25
|
+
required: true;
|
|
26
|
+
};
|
|
27
|
+
mode: {
|
|
28
|
+
type: PropType<"svg" | "css">;
|
|
29
|
+
required: false;
|
|
30
|
+
default: any;
|
|
31
|
+
};
|
|
32
|
+
size: {
|
|
33
|
+
type: (StringConstructor | NumberConstructor)[];
|
|
34
|
+
required: false;
|
|
35
|
+
default: any;
|
|
36
|
+
};
|
|
37
|
+
customize: {
|
|
38
|
+
type: FunctionConstructor;
|
|
39
|
+
required: false;
|
|
40
|
+
default: any;
|
|
41
|
+
};
|
|
42
|
+
}>>, {
|
|
43
|
+
mode: "svg" | "css";
|
|
44
|
+
size: string | number;
|
|
45
|
+
customize: Function;
|
|
46
|
+
}, {}>;
|
|
47
|
+
export default _default;
|
|
@@ -200,13 +200,13 @@ declare const _default: import("vue").DefineComponent<{
|
|
|
200
200
|
readonly required: false;
|
|
201
201
|
};
|
|
202
202
|
}>>, {
|
|
203
|
+
type: string;
|
|
204
|
+
replace: boolean;
|
|
203
205
|
to: any;
|
|
204
206
|
activeClass: string;
|
|
205
207
|
exactActiveClass: string;
|
|
206
|
-
ariaCurrentValue: "
|
|
207
|
-
replace: boolean;
|
|
208
|
+
ariaCurrentValue: "page" | "step" | "location" | "date" | "time" | "true" | "false";
|
|
208
209
|
as: string;
|
|
209
|
-
type: string;
|
|
210
210
|
disabled: boolean;
|
|
211
211
|
active: boolean;
|
|
212
212
|
exact: boolean;
|
|
@@ -30,7 +30,7 @@
|
|
|
30
30
|
<script>
|
|
31
31
|
import { computed, defineComponent, toRef } from "vue";
|
|
32
32
|
import { twJoin } from "tailwind-merge";
|
|
33
|
-
import
|
|
33
|
+
import UIcon from "../elements/Icon.vue";
|
|
34
34
|
import { useUI } from "../../composables/useUI";
|
|
35
35
|
import { mergeConfig } from "../../utils";
|
|
36
36
|
import appConfig from "#build/app.config";
|
|
@@ -257,14 +257,14 @@ declare const _default: import("vue").DefineComponent<{
|
|
|
257
257
|
};
|
|
258
258
|
}>>, {
|
|
259
259
|
size: "xs" | "sm" | "2xs" | "md" | "lg" | "xl" | "2xl";
|
|
260
|
+
class: any;
|
|
260
261
|
ui: {};
|
|
261
262
|
color: MeterColor;
|
|
262
263
|
label: string;
|
|
263
264
|
icon: string;
|
|
264
|
-
class: any;
|
|
265
|
-
max: number;
|
|
266
|
-
value: number;
|
|
267
265
|
indicator: boolean;
|
|
266
|
+
value: number;
|
|
267
|
+
max: number;
|
|
268
268
|
min: number;
|
|
269
269
|
}, SlotsType<{
|
|
270
270
|
indicator?: {
|
|
@@ -52,7 +52,7 @@ declare const meterGroupConfig: {
|
|
|
52
52
|
icon: string;
|
|
53
53
|
};
|
|
54
54
|
};
|
|
55
|
-
declare const _default: import("vue").DefineComponent<{
|
|
55
|
+
declare const _default: import("@vue/runtime-core").DefineComponent<{
|
|
56
56
|
min: {
|
|
57
57
|
type: NumberConstructor;
|
|
58
58
|
default: number;
|
|
@@ -84,9 +84,9 @@ declare const _default: import("vue").DefineComponent<{
|
|
|
84
84
|
}>;
|
|
85
85
|
default: () => {};
|
|
86
86
|
};
|
|
87
|
-
}, () => VNode<import("vue").RendererNode, import("vue").RendererElement, {
|
|
87
|
+
}, () => VNode<import("@vue/runtime-core").RendererNode, import("@vue/runtime-core").RendererElement, {
|
|
88
88
|
[key: string]: any;
|
|
89
|
-
}>, unknown, {}, {}, import("vue").ComponentOptionsMixin, import("vue").ComponentOptionsMixin, {}, string, import("vue").PublicProps, Readonly<import("vue").ExtractPropTypes<{
|
|
89
|
+
}>, unknown, {}, {}, import("@vue/runtime-core").ComponentOptionsMixin, import("@vue/runtime-core").ComponentOptionsMixin, {}, string, import("@vue/runtime-core").PublicProps, Readonly<import("@vue/runtime-core").ExtractPropTypes<{
|
|
90
90
|
min: {
|
|
91
91
|
type: NumberConstructor;
|
|
92
92
|
default: number;
|
|
@@ -124,8 +124,8 @@ declare const _default: import("vue").DefineComponent<{
|
|
|
124
124
|
icon: string;
|
|
125
125
|
class: any;
|
|
126
126
|
max: number;
|
|
127
|
-
indicator: boolean;
|
|
128
127
|
min: number;
|
|
128
|
+
indicator: boolean;
|
|
129
129
|
}, SlotsType<{
|
|
130
130
|
default?: (typeof Meter)[];
|
|
131
131
|
indicator?: {
|
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
import { h, cloneVNode, computed, toRef, defineComponent } from "vue";
|
|
2
2
|
import { twJoin } from "tailwind-merge";
|
|
3
|
-
import
|
|
3
|
+
import UIcon from "../elements/Icon.vue";
|
|
4
4
|
import { useUI } from "../../composables/useUI.js";
|
|
5
5
|
import { mergeConfig, getSlotsChildren } from "../../utils/index.js";
|
|
6
6
|
import appConfig from "#build/app.config";
|
|
@@ -269,12 +269,12 @@ declare const _default: import("vue").DefineComponent<{
|
|
|
269
269
|
};
|
|
270
270
|
}>>, {
|
|
271
271
|
size: "xs" | "sm" | "2xs" | "md" | "lg" | "xl" | "2xl";
|
|
272
|
+
class: any;
|
|
272
273
|
ui: {};
|
|
273
274
|
color: "primary" | "red" | "orange" | "amber" | "yellow" | "lime" | "green" | "emerald" | "teal" | "cyan" | "sky" | "blue" | "indigo" | "violet" | "purple" | "fuchsia" | "pink" | "rose";
|
|
274
|
-
class: any;
|
|
275
|
-
max: number | any[];
|
|
276
|
-
value: number;
|
|
277
275
|
indicator: boolean;
|
|
278
276
|
animation: "carousel" | "carousel-inverse" | "swing" | "elastic";
|
|
277
|
+
value: number;
|
|
278
|
+
max: number | any[];
|
|
279
279
|
}, {}>;
|
|
280
280
|
export default _default;
|
|
@@ -25,7 +25,7 @@ declare const _default: import("vue").DefineComponent<{
|
|
|
25
25
|
default: () => any;
|
|
26
26
|
};
|
|
27
27
|
value: {
|
|
28
|
-
type: (
|
|
28
|
+
type: (StringConstructor | NumberConstructor | BooleanConstructor | ObjectConstructor)[];
|
|
29
29
|
default: any;
|
|
30
30
|
};
|
|
31
31
|
modelValue: {
|
|
@@ -108,7 +108,7 @@ declare const _default: import("vue").DefineComponent<{
|
|
|
108
108
|
default: () => any;
|
|
109
109
|
};
|
|
110
110
|
value: {
|
|
111
|
-
type: (
|
|
111
|
+
type: (StringConstructor | NumberConstructor | BooleanConstructor | ObjectConstructor)[];
|
|
112
112
|
default: any;
|
|
113
113
|
};
|
|
114
114
|
modelValue: {
|
|
@@ -162,15 +162,15 @@ declare const _default: import("vue").DefineComponent<{
|
|
|
162
162
|
onChange?: (...args: any[]) => any;
|
|
163
163
|
"onUpdate:modelValue"?: (...args: any[]) => any;
|
|
164
164
|
}, {
|
|
165
|
-
|
|
165
|
+
name: string;
|
|
166
|
+
required: boolean;
|
|
167
|
+
class: any;
|
|
166
168
|
disabled: boolean;
|
|
169
|
+
ui: {};
|
|
167
170
|
color: "primary" | "red" | "orange" | "amber" | "yellow" | "lime" | "green" | "emerald" | "teal" | "cyan" | "sky" | "blue" | "indigo" | "violet" | "purple" | "fuchsia" | "pink" | "rose";
|
|
168
171
|
label: string;
|
|
169
172
|
id: string;
|
|
170
|
-
class: any;
|
|
171
|
-
name: string;
|
|
172
173
|
modelValue: boolean | unknown[];
|
|
173
|
-
required: boolean;
|
|
174
174
|
value: string | number | boolean | Record<string, any>;
|
|
175
175
|
help: string;
|
|
176
176
|
indeterminate: boolean;
|
|
@@ -25,7 +25,7 @@ declare const _default: import("vue").DefineComponent<{
|
|
|
25
25
|
};
|
|
26
26
|
}, {
|
|
27
27
|
onSubmit: (payload: Event) => Promise<void>;
|
|
28
|
-
}, unknown, {}, {}, import("vue").ComponentOptionsMixin, import("vue").ComponentOptionsMixin, ("
|
|
28
|
+
}, unknown, {}, {}, import("vue").ComponentOptionsMixin, import("vue").ComponentOptionsMixin, ("submit" | "error")[], "submit" | "error", import("vue").PublicProps, Readonly<import("vue").ExtractPropTypes<{
|
|
29
29
|
schema: {
|
|
30
30
|
type: PropType<ZodSchema> | PropType<YupObjectSchema<any>> | PropType<JoiSchema> | PropType<ValibotSchema30 | ValibotSchemaAsync30> | PropType<ValibotSchema31 | ValibotSchemaAsync31> | PropType<ValibotSafeParser31<any, any> | ValibotSafeParserAsync31<any, any>> | PropType<ValibotSchema | ValibotSchemaAsync> | PropType<ValibotSafeParser<any, any> | ValibotSafeParserAsync<any, any>>;
|
|
31
31
|
default: any;
|