@nuxt/ui 2.15.2 → 2.16.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 +0 -10
- package/dist/module.d.mts +1 -24
- package/dist/module.d.ts +1 -24
- package/dist/module.json +1 -1
- package/dist/module.mjs +108 -329
- package/dist/runtime/components/data/Table.vue +33 -2
- package/dist/runtime/components/data/Table.vue.d.ts +25 -35
- package/dist/runtime/components/elements/Accordion.vue.d.ts +1 -1
- package/dist/runtime/components/elements/Alert.vue.d.ts +6 -6
- package/dist/runtime/components/elements/Avatar.vue.d.ts +10 -10
- package/dist/runtime/components/elements/Badge.vue.d.ts +5 -5
- package/dist/runtime/components/elements/Button.vue.d.ts +9 -9
- package/dist/runtime/components/elements/Carousel.vue.d.ts +1 -1
- package/dist/runtime/components/elements/Chip.vue.d.ts +8 -8
- package/dist/runtime/components/elements/Dropdown.vue.d.ts +1 -1
- package/dist/runtime/components/elements/Kbd.vue.d.ts +2 -2
- package/dist/runtime/components/elements/Link.vue.d.ts +3 -3
- package/dist/runtime/components/elements/Meter.vue.d.ts +5 -5
- package/dist/runtime/components/elements/Progress.vue.d.ts +3 -3
- package/dist/runtime/components/forms/Checkbox.vue.d.ts +10 -10
- package/dist/runtime/components/forms/Form.vue.d.ts +2 -2
- package/dist/runtime/components/forms/FormGroup.vue.d.ts +7 -7
- package/dist/runtime/components/forms/Input.vue +1 -1
- package/dist/runtime/components/forms/Input.vue.d.ts +14 -14
- package/dist/runtime/components/forms/InputMenu.vue +6 -0
- package/dist/runtime/components/forms/InputMenu.vue.d.ts +30 -21
- package/dist/runtime/components/forms/Radio.vue.d.ts +11 -11
- package/dist/runtime/components/forms/RadioGroup.vue.d.ts +8 -8
- package/dist/runtime/components/forms/Range.vue.d.ts +8 -8
- package/dist/runtime/components/forms/Select.vue.d.ts +13 -13
- package/dist/runtime/components/forms/SelectMenu.vue +6 -0
- package/dist/runtime/components/forms/SelectMenu.vue.d.ts +30 -21
- package/dist/runtime/components/forms/Textarea.vue.d.ts +12 -12
- package/dist/runtime/components/forms/Toggle.vue.d.ts +7 -7
- 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 +5 -5
- package/dist/runtime/components/layout/Skeleton.vue.d.ts +1 -1
- package/dist/runtime/components/navigation/Breadcrumb.vue +1 -0
- package/dist/runtime/components/navigation/Breadcrumb.vue.d.ts +1 -1
- package/dist/runtime/components/navigation/CommandPalette.vue.d.ts +10 -10
- package/dist/runtime/components/navigation/HorizontalNavigation.vue.d.ts +1 -1
- package/dist/runtime/components/navigation/Pagination.vue +5 -0
- package/dist/runtime/components/navigation/Pagination.vue.d.ts +10 -1
- package/dist/runtime/components/navigation/Tabs.vue.d.ts +2 -2
- package/dist/runtime/components/navigation/VerticalNavigation.vue.d.ts +1 -1
- package/dist/runtime/components/overlays/ContextMenu.vue.d.ts +3 -3
- package/dist/runtime/components/overlays/Modal.vue.d.ts +5 -5
- package/dist/runtime/components/overlays/Notification.vue +8 -3
- package/dist/runtime/components/overlays/Notification.vue.d.ts +8 -8
- package/dist/runtime/components/overlays/Notifications.vue.d.ts +3 -1
- package/dist/runtime/components/overlays/Popover.vue.d.ts +2 -2
- package/dist/runtime/components/overlays/Slideover.vue.d.ts +8 -8
- package/dist/runtime/components/overlays/Tooltip.vue.d.ts +2 -2
- package/dist/runtime/composables/useFormGroup.d.ts +1 -1
- package/dist/runtime/composables/usePopper.d.ts +8 -8
- package/dist/runtime/composables/useToast.d.ts +2 -0
- package/dist/runtime/composables/useToast.mjs +13 -1
- package/dist/runtime/types/slideover.d.ts +11 -12
- package/dist/runtime/ui.config/data/table.d.ts +1 -0
- package/dist/runtime/ui.config/data/table.mjs +1 -0
- package/dist/runtime/ui.config/forms/input.d.ts +0 -8
- package/dist/runtime/ui.config/forms/input.mjs +1 -9
- package/dist/runtime/ui.config/forms/select.d.ts +0 -8
- package/dist/runtime/ui.config/forms/textarea.d.ts +0 -8
- package/dist/runtime/utils/colors.d.ts +11 -0
- package/dist/runtime/utils/colors.mjs +299 -0
- package/package.json +19 -22
|
@@ -1,6 +1,14 @@
|
|
|
1
|
-
import type { PropType } from 'vue';
|
|
1
|
+
import type { PropType, AriaAttributes } from 'vue';
|
|
2
2
|
import type { Button, ProgressAnimation } from '../../types';
|
|
3
3
|
declare function defaultComparator<T>(a: T, z: T): boolean;
|
|
4
|
+
interface Column {
|
|
5
|
+
key: string;
|
|
6
|
+
sortable?: boolean;
|
|
7
|
+
sort?: (a: any, b: any, direction: 'asc' | 'desc') => number;
|
|
8
|
+
direction?: 'asc' | 'desc';
|
|
9
|
+
class?: string;
|
|
10
|
+
[key: string]: any;
|
|
11
|
+
}
|
|
4
12
|
declare const _default: import("vue").DefineComponent<{
|
|
5
13
|
modelValue: {
|
|
6
14
|
type: ArrayConstructor;
|
|
@@ -17,14 +25,7 @@ declare const _default: import("vue").DefineComponent<{
|
|
|
17
25
|
default: () => never[];
|
|
18
26
|
};
|
|
19
27
|
columns: {
|
|
20
|
-
type: PropType<
|
|
21
|
-
[key: string]: any;
|
|
22
|
-
key: string;
|
|
23
|
-
sortable?: boolean | undefined;
|
|
24
|
-
sort?: ((a: any, b: any, direction: 'asc' | 'desc') => number) | undefined;
|
|
25
|
-
direction?: "asc" | "desc" | undefined;
|
|
26
|
-
class?: string | undefined;
|
|
27
|
-
}[]>;
|
|
28
|
+
type: PropType<Column[]>;
|
|
28
29
|
default: null;
|
|
29
30
|
};
|
|
30
31
|
columnAttribute: {
|
|
@@ -72,6 +73,10 @@ declare const _default: import("vue").DefineComponent<{
|
|
|
72
73
|
}>;
|
|
73
74
|
default: () => any;
|
|
74
75
|
};
|
|
76
|
+
caption: {
|
|
77
|
+
type: StringConstructor;
|
|
78
|
+
default: null;
|
|
79
|
+
};
|
|
75
80
|
progress: {
|
|
76
81
|
type: PropType<{
|
|
77
82
|
color: any;
|
|
@@ -96,14 +101,7 @@ declare const _default: import("vue").DefineComponent<{
|
|
|
96
101
|
column: string;
|
|
97
102
|
direction: 'asc' | 'desc';
|
|
98
103
|
}>;
|
|
99
|
-
columns: import("vue").ComputedRef<
|
|
100
|
-
[key: string]: any;
|
|
101
|
-
key: string;
|
|
102
|
-
sortable?: boolean | undefined;
|
|
103
|
-
sort?: ((a: any, b: any, direction: 'asc' | 'desc') => number) | undefined;
|
|
104
|
-
direction?: "asc" | "desc" | undefined;
|
|
105
|
-
class?: string | undefined;
|
|
106
|
-
}[]>;
|
|
104
|
+
columns: import("vue").ComputedRef<Column[]>;
|
|
107
105
|
rows: import("vue").ComputedRef<{
|
|
108
106
|
[key: string]: any;
|
|
109
107
|
}[]>;
|
|
@@ -119,6 +117,7 @@ declare const _default: import("vue").DefineComponent<{
|
|
|
119
117
|
onSelect: (row: any) => void;
|
|
120
118
|
onChange: (checked: boolean) => void;
|
|
121
119
|
getRowData: (row: Object, rowKey: string | string[], defaultValue?: any) => any;
|
|
120
|
+
getAriaSort: (column: Column) => AriaAttributes['aria-sort'];
|
|
122
121
|
}, unknown, {}, {}, import("vue").ComponentOptionsMixin, import("vue").ComponentOptionsMixin, ("update:modelValue" | "update:sort")[], "update:modelValue" | "update:sort", import("vue").PublicProps, Readonly<import("vue").ExtractPropTypes<{
|
|
123
122
|
modelValue: {
|
|
124
123
|
type: ArrayConstructor;
|
|
@@ -135,14 +134,7 @@ declare const _default: import("vue").DefineComponent<{
|
|
|
135
134
|
default: () => never[];
|
|
136
135
|
};
|
|
137
136
|
columns: {
|
|
138
|
-
type: PropType<
|
|
139
|
-
[key: string]: any;
|
|
140
|
-
key: string;
|
|
141
|
-
sortable?: boolean | undefined;
|
|
142
|
-
sort?: ((a: any, b: any, direction: 'asc' | 'desc') => number) | undefined;
|
|
143
|
-
direction?: "asc" | "desc" | undefined;
|
|
144
|
-
class?: string | undefined;
|
|
145
|
-
}[]>;
|
|
137
|
+
type: PropType<Column[]>;
|
|
146
138
|
default: null;
|
|
147
139
|
};
|
|
148
140
|
columnAttribute: {
|
|
@@ -190,6 +182,10 @@ declare const _default: import("vue").DefineComponent<{
|
|
|
190
182
|
}>;
|
|
191
183
|
default: () => any;
|
|
192
184
|
};
|
|
185
|
+
caption: {
|
|
186
|
+
type: StringConstructor;
|
|
187
|
+
default: null;
|
|
188
|
+
};
|
|
193
189
|
progress: {
|
|
194
190
|
type: PropType<{
|
|
195
191
|
color: any;
|
|
@@ -213,21 +209,16 @@ declare const _default: import("vue").DefineComponent<{
|
|
|
213
209
|
column: string;
|
|
214
210
|
direction: 'asc' | 'desc';
|
|
215
211
|
};
|
|
212
|
+
caption: string;
|
|
216
213
|
progress: {
|
|
217
214
|
color: any;
|
|
218
215
|
animation: ProgressAnimation;
|
|
219
216
|
};
|
|
220
|
-
ui: any;
|
|
221
217
|
class: any;
|
|
218
|
+
columns: Column[];
|
|
219
|
+
ui: any;
|
|
220
|
+
loading: boolean;
|
|
222
221
|
modelValue: unknown[];
|
|
223
|
-
columns: {
|
|
224
|
-
[key: string]: any;
|
|
225
|
-
key: string;
|
|
226
|
-
sortable?: boolean | undefined;
|
|
227
|
-
sort?: ((a: any, b: any, direction: 'asc' | 'desc') => number) | undefined;
|
|
228
|
-
direction?: "asc" | "desc" | undefined;
|
|
229
|
-
class?: string | undefined;
|
|
230
|
-
}[];
|
|
231
222
|
by: string | Function;
|
|
232
223
|
rows: {
|
|
233
224
|
[key: string]: any;
|
|
@@ -237,7 +228,6 @@ declare const _default: import("vue").DefineComponent<{
|
|
|
237
228
|
sortButton: Button;
|
|
238
229
|
sortAscIcon: string;
|
|
239
230
|
sortDescIcon: string;
|
|
240
|
-
loading: boolean;
|
|
241
231
|
loadingState: {
|
|
242
232
|
icon: string;
|
|
243
233
|
label: string;
|
|
@@ -97,15 +97,15 @@ declare const _default: import("vue").DefineComponent<{
|
|
|
97
97
|
}>> & {
|
|
98
98
|
onClose?: ((...args: any[]) => any) | undefined;
|
|
99
99
|
}, {
|
|
100
|
-
ui: any;
|
|
101
100
|
title: string;
|
|
102
|
-
|
|
103
|
-
icon: string;
|
|
101
|
+
class: any;
|
|
104
102
|
avatar: Avatar;
|
|
105
|
-
closeButton: Button;
|
|
106
|
-
actions: AlertAction[];
|
|
107
103
|
color: any;
|
|
108
|
-
class: any;
|
|
109
104
|
variant: AlertVariant;
|
|
105
|
+
ui: any;
|
|
106
|
+
icon: string;
|
|
107
|
+
description: string;
|
|
108
|
+
closeButton: Button;
|
|
109
|
+
actions: AlertAction[];
|
|
110
110
|
}, {}>;
|
|
111
111
|
export default _default;
|
|
@@ -2,11 +2,11 @@ import type { PropType } from 'vue';
|
|
|
2
2
|
import type { AvatarSize } from '../../types';
|
|
3
3
|
declare const _default: import("vue").DefineComponent<{
|
|
4
4
|
as: {
|
|
5
|
-
type: (
|
|
5
|
+
type: (StringConstructor | ObjectConstructor)[];
|
|
6
6
|
default: string;
|
|
7
7
|
};
|
|
8
8
|
src: {
|
|
9
|
-
type: (
|
|
9
|
+
type: (StringConstructor | BooleanConstructor)[];
|
|
10
10
|
default: null;
|
|
11
11
|
};
|
|
12
12
|
alt: {
|
|
@@ -37,7 +37,7 @@ declare const _default: import("vue").DefineComponent<{
|
|
|
37
37
|
validator(value: string): boolean;
|
|
38
38
|
};
|
|
39
39
|
chipText: {
|
|
40
|
-
type: (
|
|
40
|
+
type: (StringConstructor | NumberConstructor)[];
|
|
41
41
|
default: null;
|
|
42
42
|
};
|
|
43
43
|
imgClass: {
|
|
@@ -67,11 +67,11 @@ declare const _default: import("vue").DefineComponent<{
|
|
|
67
67
|
onError: () => void;
|
|
68
68
|
}, unknown, {}, {}, import("vue").ComponentOptionsMixin, import("vue").ComponentOptionsMixin, {}, string, import("vue").PublicProps, Readonly<import("vue").ExtractPropTypes<{
|
|
69
69
|
as: {
|
|
70
|
-
type: (
|
|
70
|
+
type: (StringConstructor | ObjectConstructor)[];
|
|
71
71
|
default: string;
|
|
72
72
|
};
|
|
73
73
|
src: {
|
|
74
|
-
type: (
|
|
74
|
+
type: (StringConstructor | BooleanConstructor)[];
|
|
75
75
|
default: null;
|
|
76
76
|
};
|
|
77
77
|
alt: {
|
|
@@ -102,7 +102,7 @@ declare const _default: import("vue").DefineComponent<{
|
|
|
102
102
|
validator(value: string): boolean;
|
|
103
103
|
};
|
|
104
104
|
chipText: {
|
|
105
|
-
type: (
|
|
105
|
+
type: (StringConstructor | NumberConstructor)[];
|
|
106
106
|
default: null;
|
|
107
107
|
};
|
|
108
108
|
imgClass: {
|
|
@@ -118,14 +118,14 @@ declare const _default: import("vue").DefineComponent<{
|
|
|
118
118
|
default: () => {};
|
|
119
119
|
};
|
|
120
120
|
}>>, {
|
|
121
|
-
alt: string;
|
|
122
121
|
size: AvatarSize;
|
|
123
|
-
|
|
124
|
-
icon: string;
|
|
122
|
+
text: string;
|
|
125
123
|
class: any;
|
|
126
124
|
as: string | Record<string, any>;
|
|
125
|
+
ui: any;
|
|
126
|
+
icon: string;
|
|
127
127
|
src: string | boolean;
|
|
128
|
-
|
|
128
|
+
alt: string;
|
|
129
129
|
chipColor: any;
|
|
130
130
|
chipPosition: "top-right" | "bottom-right" | "top-left" | "bottom-left";
|
|
131
131
|
chipText: string | number;
|
|
@@ -17,7 +17,7 @@ declare const _default: import("vue").DefineComponent<{
|
|
|
17
17
|
validator(value: string): boolean;
|
|
18
18
|
};
|
|
19
19
|
label: {
|
|
20
|
-
type: (
|
|
20
|
+
type: (StringConstructor | NumberConstructor)[];
|
|
21
21
|
default: null;
|
|
22
22
|
};
|
|
23
23
|
class: {
|
|
@@ -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: null;
|
|
55
55
|
};
|
|
56
56
|
class: {
|
|
@@ -63,10 +63,10 @@ declare const _default: import("vue").DefineComponent<{
|
|
|
63
63
|
};
|
|
64
64
|
}>>, {
|
|
65
65
|
size: BadgeSize;
|
|
66
|
-
|
|
67
|
-
color: any;
|
|
66
|
+
label: string | number;
|
|
68
67
|
class: any;
|
|
68
|
+
color: any;
|
|
69
69
|
variant: BadgeVariant;
|
|
70
|
-
|
|
70
|
+
ui: any;
|
|
71
71
|
}, {}>;
|
|
72
72
|
export default _default;
|
|
@@ -305,13 +305,12 @@ declare const _default: import("vue").DefineComponent<{
|
|
|
305
305
|
readonly required: false;
|
|
306
306
|
};
|
|
307
307
|
}>>, {
|
|
308
|
+
replace: NuxtLinkProps;
|
|
308
309
|
size: ButtonSize;
|
|
309
|
-
ui: any;
|
|
310
|
-
truncate: boolean;
|
|
311
|
-
icon: string;
|
|
312
|
-
color: any;
|
|
313
310
|
type: string;
|
|
311
|
+
label: string;
|
|
314
312
|
class: any;
|
|
313
|
+
truncate: boolean;
|
|
315
314
|
target: NuxtLinkProps;
|
|
316
315
|
rel: NuxtLinkProps;
|
|
317
316
|
noRel: NuxtLinkProps;
|
|
@@ -320,22 +319,23 @@ declare const _default: import("vue").DefineComponent<{
|
|
|
320
319
|
activeClass: NuxtLinkProps;
|
|
321
320
|
exactActiveClass: NuxtLinkProps;
|
|
322
321
|
prefetchedClass: NuxtLinkProps;
|
|
323
|
-
replace: NuxtLinkProps;
|
|
324
322
|
ariaCurrentValue: NuxtLinkProps;
|
|
325
323
|
external: NuxtLinkProps;
|
|
326
324
|
leading: boolean;
|
|
325
|
+
color: any;
|
|
327
326
|
variant: ButtonVariant;
|
|
328
|
-
label: string;
|
|
329
|
-
loading: boolean;
|
|
330
327
|
disabled: boolean;
|
|
328
|
+
to: RouteLocationRaw;
|
|
329
|
+
href: RouteLocationRaw;
|
|
330
|
+
ui: any;
|
|
331
331
|
block: boolean;
|
|
332
|
+
loading: boolean;
|
|
332
333
|
padded: boolean;
|
|
334
|
+
icon: string;
|
|
333
335
|
loadingIcon: string;
|
|
334
336
|
leadingIcon: string;
|
|
335
337
|
trailingIcon: string;
|
|
336
338
|
trailing: boolean;
|
|
337
339
|
square: boolean;
|
|
338
|
-
to: RouteLocationRaw;
|
|
339
|
-
href: RouteLocationRaw;
|
|
340
340
|
}, {}>;
|
|
341
341
|
export default _default;
|
|
@@ -1,7 +1,7 @@
|
|
|
1
1
|
import type { PropType } from 'vue';
|
|
2
2
|
declare const _default: import("vue").DefineComponent<{
|
|
3
3
|
size: {
|
|
4
|
-
type: PropType<"sm" | "2xs" | "md" | "xs" | "
|
|
4
|
+
type: PropType<"sm" | "2xs" | "md" | "xs" | "lg" | "xl" | "2xl" | "3xs" | "3xl">;
|
|
5
5
|
default: () => any;
|
|
6
6
|
validator(value: string): boolean;
|
|
7
7
|
};
|
|
@@ -16,7 +16,7 @@ declare const _default: import("vue").DefineComponent<{
|
|
|
16
16
|
validator(value: string): boolean;
|
|
17
17
|
};
|
|
18
18
|
text: {
|
|
19
|
-
type: (
|
|
19
|
+
type: (StringConstructor | NumberConstructor)[];
|
|
20
20
|
default: null;
|
|
21
21
|
};
|
|
22
22
|
inset: {
|
|
@@ -43,7 +43,7 @@ declare const _default: import("vue").DefineComponent<{
|
|
|
43
43
|
chipClass: import("vue").ComputedRef<string>;
|
|
44
44
|
}, unknown, {}, {}, import("vue").ComponentOptionsMixin, import("vue").ComponentOptionsMixin, {}, string, import("vue").PublicProps, Readonly<import("vue").ExtractPropTypes<{
|
|
45
45
|
size: {
|
|
46
|
-
type: PropType<"sm" | "2xs" | "md" | "xs" | "
|
|
46
|
+
type: PropType<"sm" | "2xs" | "md" | "xs" | "lg" | "xl" | "2xl" | "3xs" | "3xl">;
|
|
47
47
|
default: () => any;
|
|
48
48
|
validator(value: string): boolean;
|
|
49
49
|
};
|
|
@@ -58,7 +58,7 @@ declare const _default: import("vue").DefineComponent<{
|
|
|
58
58
|
validator(value: string): boolean;
|
|
59
59
|
};
|
|
60
60
|
text: {
|
|
61
|
-
type: (
|
|
61
|
+
type: (StringConstructor | NumberConstructor)[];
|
|
62
62
|
default: null;
|
|
63
63
|
};
|
|
64
64
|
inset: {
|
|
@@ -78,13 +78,13 @@ declare const _default: import("vue").DefineComponent<{
|
|
|
78
78
|
default: () => {};
|
|
79
79
|
};
|
|
80
80
|
}>>, {
|
|
81
|
-
size: "sm" | "2xs" | "md" | "xs" | "
|
|
82
|
-
|
|
83
|
-
color: any;
|
|
81
|
+
size: "sm" | "2xs" | "md" | "xs" | "lg" | "xl" | "2xl" | "3xs" | "3xl";
|
|
82
|
+
text: string | number;
|
|
84
83
|
class: any;
|
|
85
84
|
inset: boolean;
|
|
86
85
|
position: "top-right" | "bottom-right" | "top-left" | "bottom-left";
|
|
87
|
-
|
|
86
|
+
color: any;
|
|
87
|
+
ui: any;
|
|
88
88
|
show: boolean;
|
|
89
89
|
}, {}>;
|
|
90
90
|
export default _default;
|
|
@@ -122,10 +122,10 @@ declare const _default: import("vue").DefineComponent<{
|
|
|
122
122
|
}>> & {
|
|
123
123
|
"onUpdate:open"?: ((...args: any[]) => any) | undefined;
|
|
124
124
|
}, {
|
|
125
|
-
ui: any;
|
|
126
125
|
class: any;
|
|
127
126
|
popper: PopperOptions;
|
|
128
127
|
disabled: boolean;
|
|
128
|
+
ui: any;
|
|
129
129
|
open: boolean;
|
|
130
130
|
items: DropdownItem[][];
|
|
131
131
|
mode: "click" | "hover";
|
|
@@ -200,6 +200,7 @@ declare const _default: import("vue").DefineComponent<{
|
|
|
200
200
|
readonly required: false;
|
|
201
201
|
};
|
|
202
202
|
}>>, {
|
|
203
|
+
replace: NuxtLinkProps;
|
|
203
204
|
type: string;
|
|
204
205
|
target: NuxtLinkProps;
|
|
205
206
|
rel: NuxtLinkProps;
|
|
@@ -209,17 +210,16 @@ declare const _default: import("vue").DefineComponent<{
|
|
|
209
210
|
activeClass: NuxtLinkProps;
|
|
210
211
|
exactActiveClass: NuxtLinkProps;
|
|
211
212
|
prefetchedClass: NuxtLinkProps;
|
|
212
|
-
replace: NuxtLinkProps;
|
|
213
213
|
ariaCurrentValue: NuxtLinkProps;
|
|
214
214
|
external: NuxtLinkProps;
|
|
215
215
|
as: string;
|
|
216
216
|
disabled: boolean;
|
|
217
|
-
to: RouteLocationRaw;
|
|
218
|
-
href: RouteLocationRaw;
|
|
219
217
|
active: boolean;
|
|
220
218
|
exact: boolean;
|
|
221
219
|
exactQuery: boolean;
|
|
222
220
|
exactHash: boolean;
|
|
223
221
|
inactiveClass: string;
|
|
222
|
+
to: RouteLocationRaw;
|
|
223
|
+
href: RouteLocationRaw;
|
|
224
224
|
}, {}>;
|
|
225
225
|
export default _default;
|
|
@@ -100,16 +100,16 @@ declare const _default: import("vue").DefineComponent<{
|
|
|
100
100
|
default: () => {};
|
|
101
101
|
};
|
|
102
102
|
}>>, {
|
|
103
|
+
value: number;
|
|
103
104
|
size: "sm" | "2xs" | "md" | "xs" | "lg" | "xl" | "2xl";
|
|
105
|
+
label: string;
|
|
106
|
+
class: any;
|
|
107
|
+
color: any;
|
|
104
108
|
ui: any;
|
|
105
|
-
value: number;
|
|
106
109
|
icon: string;
|
|
107
|
-
color: any;
|
|
108
|
-
class: any;
|
|
109
|
-
label: string;
|
|
110
110
|
max: number;
|
|
111
|
-
min: number;
|
|
112
111
|
indicator: boolean;
|
|
112
|
+
min: number;
|
|
113
113
|
}, SlotsType<{
|
|
114
114
|
indicator?: {
|
|
115
115
|
percent: number;
|
|
@@ -112,11 +112,11 @@ declare const _default: import("vue").DefineComponent<{
|
|
|
112
112
|
default: () => {};
|
|
113
113
|
};
|
|
114
114
|
}>>, {
|
|
115
|
-
size: "sm" | "2xs" | "md" | "xs" | "lg" | "xl" | "2xl";
|
|
116
|
-
ui: any;
|
|
117
115
|
value: number;
|
|
118
|
-
|
|
116
|
+
size: "sm" | "2xs" | "md" | "xs" | "lg" | "xl" | "2xl";
|
|
119
117
|
class: any;
|
|
118
|
+
color: any;
|
|
119
|
+
ui: any;
|
|
120
120
|
max: number | any[];
|
|
121
121
|
indicator: boolean;
|
|
122
122
|
animation: "carousel" | "carousel-inverse" | "swing" | "elastic";
|
|
@@ -5,7 +5,7 @@ declare const _default: import("vue").DefineComponent<{
|
|
|
5
5
|
default: () => null;
|
|
6
6
|
};
|
|
7
7
|
value: {
|
|
8
|
-
type: (
|
|
8
|
+
type: (StringConstructor | BooleanConstructor | ObjectConstructor | NumberConstructor)[];
|
|
9
9
|
default: null;
|
|
10
10
|
};
|
|
11
11
|
modelValue: {
|
|
@@ -69,7 +69,7 @@ declare const _default: import("vue").DefineComponent<{
|
|
|
69
69
|
default: () => null;
|
|
70
70
|
};
|
|
71
71
|
value: {
|
|
72
|
-
type: (
|
|
72
|
+
type: (StringConstructor | BooleanConstructor | ObjectConstructor | NumberConstructor)[];
|
|
73
73
|
default: null;
|
|
74
74
|
};
|
|
75
75
|
modelValue: {
|
|
@@ -118,20 +118,20 @@ declare const _default: import("vue").DefineComponent<{
|
|
|
118
118
|
default: () => {};
|
|
119
119
|
};
|
|
120
120
|
}>> & {
|
|
121
|
-
"onUpdate:modelValue"?: ((...args: any[]) => any) | undefined;
|
|
122
121
|
onChange?: ((...args: any[]) => any) | undefined;
|
|
122
|
+
"onUpdate:modelValue"?: ((...args: any[]) => any) | undefined;
|
|
123
123
|
}, {
|
|
124
|
-
ui: any;
|
|
125
124
|
value: string | number | boolean | Record<string, any>;
|
|
126
|
-
id: string;
|
|
127
|
-
color: any;
|
|
128
|
-
class: any;
|
|
129
125
|
name: string;
|
|
130
|
-
|
|
126
|
+
required: boolean;
|
|
131
127
|
label: string;
|
|
132
|
-
|
|
128
|
+
class: any;
|
|
129
|
+
color: any;
|
|
133
130
|
disabled: boolean;
|
|
134
|
-
|
|
131
|
+
ui: any;
|
|
132
|
+
id: string;
|
|
133
|
+
modelValue: boolean | unknown[];
|
|
134
|
+
indeterminate: boolean;
|
|
135
135
|
help: string;
|
|
136
136
|
inputClass: string;
|
|
137
137
|
}, {}>;
|
|
@@ -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<any, import("zod").ZodTypeDef, any>> | PropType<YupObjectSchema<any, import("yup").AnyObject, any, "">> | PropType<JoiSchema> | PropType<ValibotObjectSchema<any, undefined, {
|
|
31
31
|
[x: string]: any;
|
|
@@ -45,8 +45,8 @@ declare const _default: import("vue").DefineComponent<{
|
|
|
45
45
|
default: () => string[];
|
|
46
46
|
};
|
|
47
47
|
}>> & {
|
|
48
|
-
onError?: ((...args: any[]) => any) | undefined;
|
|
49
48
|
onSubmit?: ((...args: any[]) => any) | undefined;
|
|
49
|
+
onError?: ((...args: any[]) => any) | undefined;
|
|
50
50
|
}, {
|
|
51
51
|
schema: ZodSchema<any, import("zod").ZodTypeDef, any> | YupObjectSchema<any, import("yup").AnyObject, any, ""> | import("joi").AnySchema<any> | ValibotObjectSchema<any, undefined, {
|
|
52
52
|
[x: string]: any;
|
|
@@ -27,7 +27,7 @@ declare const _default: import("vue").DefineComponent<{
|
|
|
27
27
|
default: null;
|
|
28
28
|
};
|
|
29
29
|
error: {
|
|
30
|
-
type: (
|
|
30
|
+
type: (StringConstructor | BooleanConstructor)[];
|
|
31
31
|
default: null;
|
|
32
32
|
};
|
|
33
33
|
hint: {
|
|
@@ -81,7 +81,7 @@ declare const _default: import("vue").DefineComponent<{
|
|
|
81
81
|
default: null;
|
|
82
82
|
};
|
|
83
83
|
error: {
|
|
84
|
-
type: (
|
|
84
|
+
type: (StringConstructor | BooleanConstructor)[];
|
|
85
85
|
default: null;
|
|
86
86
|
};
|
|
87
87
|
hint: {
|
|
@@ -101,15 +101,15 @@ declare const _default: import("vue").DefineComponent<{
|
|
|
101
101
|
default: boolean;
|
|
102
102
|
};
|
|
103
103
|
}>>, {
|
|
104
|
-
error: string | boolean;
|
|
105
104
|
size: FormGroupSize;
|
|
106
|
-
ui: any;
|
|
107
|
-
description: string;
|
|
108
|
-
class: any;
|
|
109
105
|
name: string;
|
|
110
|
-
label: string;
|
|
111
106
|
required: boolean;
|
|
107
|
+
label: string;
|
|
108
|
+
class: any;
|
|
109
|
+
ui: any;
|
|
112
110
|
help: string;
|
|
111
|
+
description: string;
|
|
112
|
+
error: string | boolean;
|
|
113
113
|
hint: string;
|
|
114
114
|
eagerValidation: boolean;
|
|
115
115
|
}, {}>;
|
|
@@ -217,7 +217,7 @@ export default defineComponent({
|
|
|
217
217
|
ui.value.form,
|
|
218
218
|
rounded.value,
|
|
219
219
|
ui.value.placeholder,
|
|
220
|
-
props.type === "file" &&
|
|
220
|
+
props.type === "file" && ui.value.file.base,
|
|
221
221
|
ui.value.size[size.value],
|
|
222
222
|
props.padded ? ui.value.padding[size.value] : "p-0",
|
|
223
223
|
variant?.replaceAll("{color}", color.value),
|
|
@@ -2,7 +2,7 @@ import type { PropType } from 'vue';
|
|
|
2
2
|
import type { InputSize, InputVariant } from '../../types';
|
|
3
3
|
declare const _default: import("vue").DefineComponent<{
|
|
4
4
|
modelValue: {
|
|
5
|
-
type: (
|
|
5
|
+
type: (StringConstructor | NumberConstructor)[];
|
|
6
6
|
default: string;
|
|
7
7
|
};
|
|
8
8
|
type: {
|
|
@@ -126,7 +126,7 @@ declare const _default: import("vue").DefineComponent<{
|
|
|
126
126
|
onBlur: (event: FocusEvent) => void;
|
|
127
127
|
}, unknown, {}, {}, import("vue").ComponentOptionsMixin, import("vue").ComponentOptionsMixin, ("blur" | "change" | "update:modelValue")[], "blur" | "change" | "update:modelValue", import("vue").PublicProps, Readonly<import("vue").ExtractPropTypes<{
|
|
128
128
|
modelValue: {
|
|
129
|
-
type: (
|
|
129
|
+
type: (StringConstructor | NumberConstructor)[];
|
|
130
130
|
default: string;
|
|
131
131
|
};
|
|
132
132
|
type: {
|
|
@@ -229,32 +229,32 @@ declare const _default: import("vue").DefineComponent<{
|
|
|
229
229
|
default: () => {};
|
|
230
230
|
};
|
|
231
231
|
}>> & {
|
|
232
|
-
"onUpdate:modelValue"?: ((...args: any[]) => any) | undefined;
|
|
233
|
-
onChange?: ((...args: any[]) => any) | undefined;
|
|
234
232
|
onBlur?: ((...args: any[]) => any) | undefined;
|
|
233
|
+
onChange?: ((...args: any[]) => any) | undefined;
|
|
234
|
+
"onUpdate:modelValue"?: ((...args: any[]) => any) | undefined;
|
|
235
235
|
}, {
|
|
236
236
|
size: InputSize;
|
|
237
|
-
|
|
238
|
-
id: string;
|
|
239
|
-
icon: string;
|
|
240
|
-
color: any;
|
|
237
|
+
name: string;
|
|
241
238
|
type: string;
|
|
239
|
+
required: boolean;
|
|
242
240
|
class: any;
|
|
243
|
-
name: string;
|
|
244
|
-
modelValue: string | number;
|
|
245
241
|
leading: boolean;
|
|
242
|
+
color: any;
|
|
246
243
|
variant: InputVariant;
|
|
247
|
-
loading: boolean;
|
|
248
244
|
disabled: boolean;
|
|
249
|
-
|
|
245
|
+
ui: any;
|
|
246
|
+
loading: boolean;
|
|
250
247
|
padded: boolean;
|
|
248
|
+
icon: string;
|
|
251
249
|
loadingIcon: string;
|
|
252
250
|
leadingIcon: string;
|
|
253
251
|
trailingIcon: string;
|
|
254
252
|
trailing: boolean;
|
|
255
|
-
|
|
256
|
-
|
|
253
|
+
id: string;
|
|
254
|
+
modelValue: string | number;
|
|
257
255
|
inputClass: string;
|
|
256
|
+
placeholder: string;
|
|
257
|
+
autofocus: boolean;
|
|
258
258
|
autofocusDelay: number;
|
|
259
259
|
modelModifiers: {
|
|
260
260
|
trim?: boolean | undefined;
|
|
@@ -243,6 +243,10 @@ export default defineComponent({
|
|
|
243
243
|
type: Array,
|
|
244
244
|
default: null
|
|
245
245
|
},
|
|
246
|
+
searchLazy: {
|
|
247
|
+
type: Boolean,
|
|
248
|
+
default: false
|
|
249
|
+
},
|
|
246
250
|
debounce: {
|
|
247
251
|
type: Number,
|
|
248
252
|
default: 200
|
|
@@ -376,6 +380,8 @@ export default defineComponent({
|
|
|
376
380
|
return child !== null && child !== void 0 && String(child).search(new RegExp(query.value, "i")) !== -1;
|
|
377
381
|
});
|
|
378
382
|
});
|
|
383
|
+
}, [], {
|
|
384
|
+
lazy: props.searchLazy
|
|
379
385
|
});
|
|
380
386
|
watch(container, (value) => {
|
|
381
387
|
if (value) {
|