@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
|
@@ -52,7 +52,7 @@ declare const _default: import("vue").DefineComponent<{
|
|
|
52
52
|
default: any;
|
|
53
53
|
};
|
|
54
54
|
error: {
|
|
55
|
-
type: (
|
|
55
|
+
type: (StringConstructor | BooleanConstructor)[];
|
|
56
56
|
default: any;
|
|
57
57
|
};
|
|
58
58
|
hint: {
|
|
@@ -132,7 +132,7 @@ declare const _default: import("vue").DefineComponent<{
|
|
|
132
132
|
default: any;
|
|
133
133
|
};
|
|
134
134
|
error: {
|
|
135
|
-
type: (
|
|
135
|
+
type: (StringConstructor | BooleanConstructor)[];
|
|
136
136
|
default: any;
|
|
137
137
|
};
|
|
138
138
|
hint: {
|
|
@@ -154,14 +154,14 @@ declare const _default: import("vue").DefineComponent<{
|
|
|
154
154
|
default: boolean;
|
|
155
155
|
};
|
|
156
156
|
}>>, {
|
|
157
|
-
|
|
157
|
+
name: string;
|
|
158
158
|
size: FormGroupSize;
|
|
159
|
+
required: boolean;
|
|
160
|
+
class: any;
|
|
159
161
|
ui: {};
|
|
160
162
|
label: string;
|
|
161
|
-
|
|
163
|
+
error: string | boolean;
|
|
162
164
|
description: string;
|
|
163
|
-
name: string;
|
|
164
|
-
required: boolean;
|
|
165
165
|
help: string;
|
|
166
166
|
hint: string;
|
|
167
167
|
eagerValidation: boolean;
|
|
@@ -34,7 +34,7 @@
|
|
|
34
34
|
<script>
|
|
35
35
|
import { ref, computed, toRef, onMounted, defineComponent } from "vue";
|
|
36
36
|
import { twMerge, twJoin } from "tailwind-merge";
|
|
37
|
-
import
|
|
37
|
+
import UIcon from "../elements/Icon.vue";
|
|
38
38
|
import { defu } from "defu";
|
|
39
39
|
import { useUI } from "../../composables/useUI";
|
|
40
40
|
import { useFormGroup } from "../../composables/useFormGroup";
|
|
@@ -111,7 +111,7 @@ declare const config: {
|
|
|
111
111
|
};
|
|
112
112
|
declare const _default: import("vue").DefineComponent<{
|
|
113
113
|
modelValue: {
|
|
114
|
-
type: (
|
|
114
|
+
type: (StringConstructor | NumberConstructor)[];
|
|
115
115
|
default: string;
|
|
116
116
|
};
|
|
117
117
|
type: {
|
|
@@ -345,7 +345,7 @@ declare const _default: import("vue").DefineComponent<{
|
|
|
345
345
|
onBlur: (event: FocusEvent) => void;
|
|
346
346
|
}, unknown, {}, {}, import("vue").ComponentOptionsMixin, import("vue").ComponentOptionsMixin, ("blur" | "change" | "update:modelValue")[], "blur" | "change" | "update:modelValue", import("vue").PublicProps, Readonly<import("vue").ExtractPropTypes<{
|
|
347
347
|
modelValue: {
|
|
348
|
-
type: (
|
|
348
|
+
type: (StringConstructor | NumberConstructor)[];
|
|
349
349
|
default: string;
|
|
350
350
|
};
|
|
351
351
|
type: {
|
|
@@ -454,28 +454,28 @@ declare const _default: import("vue").DefineComponent<{
|
|
|
454
454
|
onChange?: (...args: any[]) => any;
|
|
455
455
|
"onUpdate:modelValue"?: (...args: any[]) => any;
|
|
456
456
|
}, {
|
|
457
|
+
name: string;
|
|
457
458
|
size: InputSize;
|
|
458
|
-
ui: {};
|
|
459
459
|
type: string;
|
|
460
|
+
required: boolean;
|
|
461
|
+
class: any;
|
|
460
462
|
disabled: boolean;
|
|
463
|
+
ui: {};
|
|
461
464
|
color: InputColor;
|
|
462
465
|
variant: InputVariant;
|
|
463
466
|
icon: string;
|
|
464
467
|
id: string;
|
|
465
|
-
class: any;
|
|
466
468
|
leading: boolean;
|
|
467
|
-
name: string;
|
|
468
469
|
modelValue: string | number;
|
|
469
|
-
required: boolean;
|
|
470
470
|
loading: boolean;
|
|
471
471
|
padded: boolean;
|
|
472
472
|
loadingIcon: string;
|
|
473
473
|
leadingIcon: string;
|
|
474
474
|
trailingIcon: string;
|
|
475
475
|
trailing: boolean;
|
|
476
|
+
inputClass: string;
|
|
476
477
|
placeholder: string;
|
|
477
478
|
autofocus: boolean;
|
|
478
|
-
inputClass: string;
|
|
479
479
|
autofocusDelay: number;
|
|
480
480
|
modelModifiers: {};
|
|
481
481
|
}, {}>;
|
|
@@ -103,7 +103,8 @@ import {
|
|
|
103
103
|
import { computedAsync, useDebounceFn } from "@vueuse/core";
|
|
104
104
|
import { defu } from "defu";
|
|
105
105
|
import { twMerge, twJoin } from "tailwind-merge";
|
|
106
|
-
import
|
|
106
|
+
import UIcon from "../elements/Icon.vue";
|
|
107
|
+
import UAvatar from "../elements/Avatar.vue";
|
|
107
108
|
import { useUI } from "../../composables/useUI";
|
|
108
109
|
import { usePopper } from "../../composables/usePopper";
|
|
109
110
|
import { useFormGroup } from "../../composables/useFormGroup";
|
|
@@ -174,7 +174,7 @@ declare const configMenu: {
|
|
|
174
174
|
};
|
|
175
175
|
declare const _default: import("vue").DefineComponent<{
|
|
176
176
|
modelValue: {
|
|
177
|
-
type: (
|
|
177
|
+
type: (StringConstructor | NumberConstructor | ObjectConstructor | ArrayConstructor)[];
|
|
178
178
|
default: string;
|
|
179
179
|
};
|
|
180
180
|
query: {
|
|
@@ -510,9 +510,9 @@ declare const _default: import("vue").DefineComponent<{
|
|
|
510
510
|
query: import("vue").WritableComputedRef<string>;
|
|
511
511
|
onUpdate: (value: any) => void;
|
|
512
512
|
onQueryChange: (event: any) => void;
|
|
513
|
-
}, unknown, {}, {}, import("vue").ComponentOptionsMixin, import("vue").ComponentOptionsMixin, ("change" | "close" | "
|
|
513
|
+
}, unknown, {}, {}, import("vue").ComponentOptionsMixin, import("vue").ComponentOptionsMixin, ("change" | "close" | "update:modelValue" | "open" | "update:query")[], "change" | "close" | "update:modelValue" | "open" | "update:query", import("vue").PublicProps, Readonly<import("vue").ExtractPropTypes<{
|
|
514
514
|
modelValue: {
|
|
515
|
-
type: (
|
|
515
|
+
type: (StringConstructor | NumberConstructor | ObjectConstructor | ArrayConstructor)[];
|
|
516
516
|
default: string;
|
|
517
517
|
};
|
|
518
518
|
query: {
|
|
@@ -654,40 +654,40 @@ declare const _default: import("vue").DefineComponent<{
|
|
|
654
654
|
default: () => {};
|
|
655
655
|
};
|
|
656
656
|
}>> & {
|
|
657
|
-
onClose?: (...args: any[]) => any;
|
|
658
|
-
onOpen?: (...args: any[]) => any;
|
|
659
657
|
onChange?: (...args: any[]) => any;
|
|
658
|
+
onClose?: (...args: any[]) => any;
|
|
660
659
|
"onUpdate:modelValue"?: (...args: any[]) => any;
|
|
660
|
+
onOpen?: (...args: any[]) => any;
|
|
661
661
|
"onUpdate:query"?: (...args: any[]) => any;
|
|
662
662
|
}, {
|
|
663
|
+
name: string;
|
|
663
664
|
size: InputSize;
|
|
664
|
-
|
|
665
|
+
required: boolean;
|
|
666
|
+
search: (query: string) => Promise<any[]> | any[];
|
|
667
|
+
class: any;
|
|
665
668
|
disabled: boolean;
|
|
669
|
+
ui: {};
|
|
666
670
|
color: InputColor;
|
|
667
671
|
variant: InputVariant;
|
|
668
672
|
icon: string;
|
|
669
673
|
id: string;
|
|
670
|
-
search: (query: string) => Promise<any[]> | any[];
|
|
671
|
-
class: any;
|
|
672
674
|
leading: boolean;
|
|
673
675
|
popper: PopperOptions;
|
|
674
676
|
options: string[] | {
|
|
675
677
|
[key: string]: any;
|
|
676
678
|
disabled?: boolean;
|
|
677
679
|
}[];
|
|
678
|
-
|
|
679
|
-
modelValue: string | number | unknown[] | Record<string, any>;
|
|
680
|
-
required: boolean;
|
|
680
|
+
modelValue: string | number | Record<string, any> | unknown[];
|
|
681
681
|
loading: boolean;
|
|
682
682
|
padded: boolean;
|
|
683
683
|
loadingIcon: string;
|
|
684
684
|
leadingIcon: string;
|
|
685
685
|
trailingIcon: string;
|
|
686
686
|
trailing: boolean;
|
|
687
|
-
placeholder: string;
|
|
688
687
|
inputClass: string;
|
|
689
|
-
nullable: boolean;
|
|
690
688
|
by: string;
|
|
689
|
+
placeholder: string;
|
|
690
|
+
nullable: boolean;
|
|
691
691
|
query: string;
|
|
692
692
|
selectedIcon: string;
|
|
693
693
|
optionAttribute: string;
|
|
@@ -24,11 +24,11 @@ declare const _default: import("vue").DefineComponent<{
|
|
|
24
24
|
default: any;
|
|
25
25
|
};
|
|
26
26
|
value: {
|
|
27
|
-
type: (
|
|
27
|
+
type: (StringConstructor | NumberConstructor | BooleanConstructor)[];
|
|
28
28
|
default: any;
|
|
29
29
|
};
|
|
30
30
|
modelValue: {
|
|
31
|
-
type: (
|
|
31
|
+
type: (StringConstructor | NumberConstructor | BooleanConstructor | ObjectConstructor)[];
|
|
32
32
|
default: any;
|
|
33
33
|
};
|
|
34
34
|
name: {
|
|
@@ -102,11 +102,11 @@ declare const _default: import("vue").DefineComponent<{
|
|
|
102
102
|
default: any;
|
|
103
103
|
};
|
|
104
104
|
value: {
|
|
105
|
-
type: (
|
|
105
|
+
type: (StringConstructor | NumberConstructor | BooleanConstructor)[];
|
|
106
106
|
default: any;
|
|
107
107
|
};
|
|
108
108
|
modelValue: {
|
|
109
|
-
type: (
|
|
109
|
+
type: (StringConstructor | NumberConstructor | BooleanConstructor | ObjectConstructor)[];
|
|
110
110
|
default: any;
|
|
111
111
|
};
|
|
112
112
|
name: {
|
|
@@ -152,15 +152,15 @@ declare const _default: import("vue").DefineComponent<{
|
|
|
152
152
|
onChange?: (...args: any[]) => any;
|
|
153
153
|
"onUpdate:modelValue"?: (...args: any[]) => any;
|
|
154
154
|
}, {
|
|
155
|
-
|
|
155
|
+
name: string;
|
|
156
|
+
required: boolean;
|
|
157
|
+
class: any;
|
|
156
158
|
disabled: boolean;
|
|
159
|
+
ui: {};
|
|
157
160
|
color: "primary" | "red" | "orange" | "amber" | "yellow" | "lime" | "green" | "emerald" | "teal" | "cyan" | "sky" | "blue" | "indigo" | "violet" | "purple" | "fuchsia" | "pink" | "rose";
|
|
158
161
|
label: string;
|
|
159
162
|
id: string;
|
|
160
|
-
class: any;
|
|
161
|
-
name: string;
|
|
162
163
|
modelValue: string | number | boolean | Record<string, any>;
|
|
163
|
-
required: boolean;
|
|
164
164
|
value: string | number | boolean;
|
|
165
165
|
help: string;
|
|
166
166
|
inputClass: string;
|
|
@@ -28,7 +28,7 @@ declare const configRadio: {
|
|
|
28
28
|
};
|
|
29
29
|
declare const _default: import("vue").DefineComponent<{
|
|
30
30
|
modelValue: {
|
|
31
|
-
type: (
|
|
31
|
+
type: (StringConstructor | NumberConstructor | BooleanConstructor | ObjectConstructor)[];
|
|
32
32
|
default: string;
|
|
33
33
|
};
|
|
34
34
|
name: {
|
|
@@ -109,7 +109,7 @@ declare const _default: import("vue").DefineComponent<{
|
|
|
109
109
|
onUpdate: (value: any) => void;
|
|
110
110
|
}, unknown, {}, {}, import("vue").ComponentOptionsMixin, import("vue").ComponentOptionsMixin, ("change" | "update:modelValue")[], "change" | "update:modelValue", import("vue").PublicProps, Readonly<import("vue").ExtractPropTypes<{
|
|
111
111
|
modelValue: {
|
|
112
|
-
type: (
|
|
112
|
+
type: (StringConstructor | NumberConstructor | BooleanConstructor | ObjectConstructor)[];
|
|
113
113
|
default: string;
|
|
114
114
|
};
|
|
115
115
|
name: {
|
|
@@ -161,14 +161,14 @@ declare const _default: import("vue").DefineComponent<{
|
|
|
161
161
|
onChange?: (...args: any[]) => any;
|
|
162
162
|
"onUpdate:modelValue"?: (...args: any[]) => any;
|
|
163
163
|
}, {
|
|
164
|
-
|
|
164
|
+
name: string;
|
|
165
|
+
class: any;
|
|
165
166
|
disabled: boolean;
|
|
167
|
+
ui: {};
|
|
166
168
|
color: "primary" | "red" | "orange" | "amber" | "yellow" | "lime" | "green" | "emerald" | "teal" | "cyan" | "sky" | "blue" | "indigo" | "violet" | "purple" | "fuchsia" | "pink" | "rose";
|
|
167
|
-
|
|
169
|
+
legend: string;
|
|
168
170
|
options: unknown[];
|
|
169
|
-
name: string;
|
|
170
171
|
modelValue: string | number | boolean | Record<string, any>;
|
|
171
|
-
legend: string;
|
|
172
172
|
optionAttribute: string;
|
|
173
173
|
valueAttribute: string;
|
|
174
174
|
uiRadio: {};
|
|
@@ -252,17 +252,17 @@ declare const _default: import("vue").DefineComponent<{
|
|
|
252
252
|
onChange?: (...args: any[]) => any;
|
|
253
253
|
"onUpdate:modelValue"?: (...args: any[]) => any;
|
|
254
254
|
}, {
|
|
255
|
+
name: string;
|
|
255
256
|
size: RangeSize;
|
|
256
|
-
|
|
257
|
+
class: any;
|
|
257
258
|
disabled: boolean;
|
|
259
|
+
ui: {};
|
|
258
260
|
color: "primary" | "red" | "orange" | "amber" | "yellow" | "lime" | "green" | "emerald" | "teal" | "cyan" | "sky" | "blue" | "indigo" | "violet" | "purple" | "fuchsia" | "pink" | "rose";
|
|
259
261
|
step: number;
|
|
260
262
|
id: string;
|
|
261
|
-
class: any;
|
|
262
|
-
name: string;
|
|
263
263
|
modelValue: number;
|
|
264
264
|
max: number;
|
|
265
|
-
min: number;
|
|
266
265
|
inputClass: string;
|
|
266
|
+
min: number;
|
|
267
267
|
}, {}>;
|
|
268
268
|
export default _default;
|
|
@@ -55,7 +55,7 @@
|
|
|
55
55
|
<script>
|
|
56
56
|
import { computed, toRef, defineComponent } from "vue";
|
|
57
57
|
import { twMerge, twJoin } from "tailwind-merge";
|
|
58
|
-
import
|
|
58
|
+
import UIcon from "../elements/Icon.vue";
|
|
59
59
|
import { useUI } from "../../composables/useUI";
|
|
60
60
|
import { useFormGroup } from "../../composables/useFormGroup";
|
|
61
61
|
import { mergeConfig, get } from "../../utils";
|
|
@@ -112,7 +112,7 @@ declare const config: {
|
|
|
112
112
|
};
|
|
113
113
|
declare const _default: import("vue").DefineComponent<{
|
|
114
114
|
modelValue: {
|
|
115
|
-
type: (
|
|
115
|
+
type: (StringConstructor | NumberConstructor | ObjectConstructor)[];
|
|
116
116
|
default: string;
|
|
117
117
|
};
|
|
118
118
|
id: {
|
|
@@ -344,7 +344,7 @@ declare const _default: import("vue").DefineComponent<{
|
|
|
344
344
|
onChange: (event: Event) => void;
|
|
345
345
|
}, unknown, {}, {}, import("vue").ComponentOptionsMixin, import("vue").ComponentOptionsMixin, ("change" | "update:modelValue")[], "change" | "update:modelValue", import("vue").PublicProps, Readonly<import("vue").ExtractPropTypes<{
|
|
346
346
|
modelValue: {
|
|
347
|
-
type: (
|
|
347
|
+
type: (StringConstructor | NumberConstructor | ObjectConstructor)[];
|
|
348
348
|
default: string;
|
|
349
349
|
};
|
|
350
350
|
id: {
|
|
@@ -444,19 +444,19 @@ declare const _default: import("vue").DefineComponent<{
|
|
|
444
444
|
onChange?: (...args: any[]) => any;
|
|
445
445
|
"onUpdate:modelValue"?: (...args: any[]) => any;
|
|
446
446
|
}, {
|
|
447
|
+
name: string;
|
|
447
448
|
size: SelectSize;
|
|
448
|
-
|
|
449
|
+
required: boolean;
|
|
450
|
+
class: any;
|
|
449
451
|
disabled: boolean;
|
|
452
|
+
ui: {};
|
|
450
453
|
color: SelectColor;
|
|
451
454
|
variant: SelectVariant;
|
|
452
455
|
icon: string;
|
|
453
456
|
id: string;
|
|
454
|
-
class: any;
|
|
455
457
|
leading: boolean;
|
|
456
458
|
options: unknown[];
|
|
457
|
-
name: string;
|
|
458
459
|
modelValue: string | number | Record<string, any>;
|
|
459
|
-
required: boolean;
|
|
460
460
|
loading: boolean;
|
|
461
461
|
padded: boolean;
|
|
462
462
|
loadingIcon: string;
|
|
@@ -139,7 +139,8 @@ import {
|
|
|
139
139
|
import { computedAsync, useDebounceFn } from "@vueuse/core";
|
|
140
140
|
import { defu } from "defu";
|
|
141
141
|
import { twMerge, twJoin } from "tailwind-merge";
|
|
142
|
-
import
|
|
142
|
+
import UIcon from "../elements/Icon.vue";
|
|
143
|
+
import UAvatar from "../elements/Avatar.vue";
|
|
143
144
|
import { useUI } from "../../composables/useUI";
|
|
144
145
|
import { usePopper } from "../../composables/usePopper";
|
|
145
146
|
import { useFormGroup } from "../../composables/useFormGroup";
|
|
@@ -181,7 +181,7 @@ declare const configMenu: {
|
|
|
181
181
|
};
|
|
182
182
|
declare const _default: import("vue").DefineComponent<{
|
|
183
183
|
modelValue: {
|
|
184
|
-
type: (
|
|
184
|
+
type: (StringConstructor | NumberConstructor | BooleanConstructor | ObjectConstructor | ArrayConstructor)[];
|
|
185
185
|
default: string;
|
|
186
186
|
};
|
|
187
187
|
query: {
|
|
@@ -544,9 +544,9 @@ declare const _default: import("vue").DefineComponent<{
|
|
|
544
544
|
query: import("vue").WritableComputedRef<string>;
|
|
545
545
|
onUpdate: (value: any) => void;
|
|
546
546
|
onQueryChange: (event: any) => void;
|
|
547
|
-
}, unknown, {}, {}, import("vue").ComponentOptionsMixin, import("vue").ComponentOptionsMixin, ("change" | "close" | "
|
|
547
|
+
}, unknown, {}, {}, import("vue").ComponentOptionsMixin, import("vue").ComponentOptionsMixin, ("change" | "close" | "update:modelValue" | "open" | "update:query")[], "change" | "close" | "update:modelValue" | "open" | "update:query", import("vue").PublicProps, Readonly<import("vue").ExtractPropTypes<{
|
|
548
548
|
modelValue: {
|
|
549
|
-
type: (
|
|
549
|
+
type: (StringConstructor | NumberConstructor | BooleanConstructor | ObjectConstructor | ArrayConstructor)[];
|
|
550
550
|
default: string;
|
|
551
551
|
};
|
|
552
552
|
query: {
|
|
@@ -704,38 +704,38 @@ declare const _default: import("vue").DefineComponent<{
|
|
|
704
704
|
default: () => {};
|
|
705
705
|
};
|
|
706
706
|
}>> & {
|
|
707
|
-
onClose?: (...args: any[]) => any;
|
|
708
|
-
onOpen?: (...args: any[]) => any;
|
|
709
707
|
onChange?: (...args: any[]) => any;
|
|
708
|
+
onClose?: (...args: any[]) => any;
|
|
710
709
|
"onUpdate:modelValue"?: (...args: any[]) => any;
|
|
710
|
+
onOpen?: (...args: any[]) => any;
|
|
711
711
|
"onUpdate:query"?: (...args: any[]) => any;
|
|
712
712
|
}, {
|
|
713
|
+
name: string;
|
|
713
714
|
size: SelectSize;
|
|
714
|
-
|
|
715
|
+
required: boolean;
|
|
716
|
+
class: any;
|
|
715
717
|
disabled: boolean;
|
|
718
|
+
ui: {};
|
|
716
719
|
color: SelectColor;
|
|
717
720
|
variant: SelectVariant;
|
|
718
721
|
icon: string;
|
|
719
722
|
id: string;
|
|
720
|
-
class: any;
|
|
721
723
|
leading: boolean;
|
|
722
724
|
popper: PopperOptions;
|
|
723
725
|
options: string[] | {
|
|
724
726
|
[key: string]: any;
|
|
725
727
|
disabled?: boolean;
|
|
726
728
|
}[];
|
|
727
|
-
|
|
728
|
-
modelValue: string | number | boolean | unknown[] | Record<string, any>;
|
|
729
|
-
required: boolean;
|
|
729
|
+
modelValue: string | number | boolean | Record<string, any> | unknown[];
|
|
730
730
|
loading: boolean;
|
|
731
731
|
padded: boolean;
|
|
732
732
|
loadingIcon: string;
|
|
733
733
|
leadingIcon: string;
|
|
734
734
|
trailingIcon: string;
|
|
735
735
|
trailing: boolean;
|
|
736
|
+
by: string;
|
|
736
737
|
multiple: boolean;
|
|
737
738
|
placeholder: string;
|
|
738
|
-
by: string;
|
|
739
739
|
query: string;
|
|
740
740
|
selectedIcon: string;
|
|
741
741
|
optionAttribute: string;
|
|
@@ -110,7 +110,7 @@ declare const config: {
|
|
|
110
110
|
};
|
|
111
111
|
declare const _default: import("vue").DefineComponent<{
|
|
112
112
|
modelValue: {
|
|
113
|
-
type: (
|
|
113
|
+
type: (StringConstructor | NumberConstructor)[];
|
|
114
114
|
default: string;
|
|
115
115
|
};
|
|
116
116
|
id: {
|
|
@@ -319,7 +319,7 @@ declare const _default: import("vue").DefineComponent<{
|
|
|
319
319
|
onBlur: (event: FocusEvent) => void;
|
|
320
320
|
}, unknown, {}, {}, import("vue").ComponentOptionsMixin, import("vue").ComponentOptionsMixin, ("blur" | "change" | "update:modelValue")[], "blur" | "change" | "update:modelValue", import("vue").PublicProps, Readonly<import("vue").ExtractPropTypes<{
|
|
321
321
|
modelValue: {
|
|
322
|
-
type: (
|
|
322
|
+
type: (StringConstructor | NumberConstructor)[];
|
|
323
323
|
default: string;
|
|
324
324
|
};
|
|
325
325
|
id: {
|
|
@@ -412,23 +412,23 @@ declare const _default: import("vue").DefineComponent<{
|
|
|
412
412
|
onChange?: (...args: any[]) => any;
|
|
413
413
|
"onUpdate:modelValue"?: (...args: any[]) => any;
|
|
414
414
|
}, {
|
|
415
|
-
|
|
415
|
+
name: string;
|
|
416
416
|
size: TextareaSize;
|
|
417
|
-
|
|
417
|
+
required: boolean;
|
|
418
|
+
class: any;
|
|
418
419
|
disabled: boolean;
|
|
420
|
+
ui: {};
|
|
419
421
|
color: TextareaColor;
|
|
420
422
|
variant: TextareaVariant;
|
|
421
423
|
id: string;
|
|
422
|
-
|
|
423
|
-
name: string;
|
|
424
|
+
resize: boolean;
|
|
424
425
|
modelValue: string | number;
|
|
425
|
-
required: boolean;
|
|
426
426
|
padded: boolean;
|
|
427
|
+
rows: number;
|
|
427
428
|
placeholder: string;
|
|
428
429
|
autofocus: boolean;
|
|
429
430
|
autofocusDelay: number;
|
|
430
431
|
modelModifiers: {};
|
|
431
|
-
rows: number;
|
|
432
432
|
maxrows: number;
|
|
433
433
|
autoresize: boolean;
|
|
434
434
|
textareaClass: string;
|
|
@@ -33,7 +33,7 @@
|
|
|
33
33
|
import { computed, toRef, defineComponent } from "vue";
|
|
34
34
|
import { Switch as HSwitch, provideUseId } from "@headlessui/vue";
|
|
35
35
|
import { twMerge, twJoin } from "tailwind-merge";
|
|
36
|
-
import
|
|
36
|
+
import UIcon from "../elements/Icon.vue";
|
|
37
37
|
import { useUI } from "../../composables/useUI";
|
|
38
38
|
import { useFormGroup } from "../../composables/useFormGroup";
|
|
39
39
|
import { mergeConfig } from "../../utils";
|
|
@@ -246,13 +246,13 @@ declare const _default: import("vue").DefineComponent<{
|
|
|
246
246
|
onChange?: (...args: any[]) => any;
|
|
247
247
|
"onUpdate:modelValue"?: (...args: any[]) => any;
|
|
248
248
|
}, {
|
|
249
|
+
name: string;
|
|
249
250
|
size: ToggleSize;
|
|
250
|
-
|
|
251
|
+
class: any;
|
|
251
252
|
disabled: boolean;
|
|
253
|
+
ui: {};
|
|
252
254
|
color: "primary" | "red" | "orange" | "amber" | "yellow" | "lime" | "green" | "emerald" | "teal" | "cyan" | "sky" | "blue" | "indigo" | "violet" | "purple" | "fuchsia" | "pink" | "rose";
|
|
253
255
|
id: string;
|
|
254
|
-
class: any;
|
|
255
|
-
name: string;
|
|
256
256
|
modelValue: boolean;
|
|
257
257
|
loading: boolean;
|
|
258
258
|
loadingIcon: string;
|
|
@@ -21,7 +21,8 @@
|
|
|
21
21
|
<script>
|
|
22
22
|
import { toRef, computed, defineComponent } from "vue";
|
|
23
23
|
import { twMerge, twJoin } from "tailwind-merge";
|
|
24
|
-
import
|
|
24
|
+
import UIcon from "../elements/Icon.vue";
|
|
25
|
+
import UAvatar from "../elements/Avatar.vue";
|
|
25
26
|
import { useUI } from "../../composables/useUI";
|
|
26
27
|
import { mergeConfig } from "../../utils";
|
|
27
28
|
import appConfig from "#build/app.config";
|
|
@@ -186,13 +186,13 @@ declare const _default: import("vue").DefineComponent<{
|
|
|
186
186
|
default: () => {};
|
|
187
187
|
};
|
|
188
188
|
}>>, {
|
|
189
|
-
orientation: "horizontal" | "vertical";
|
|
190
189
|
size: DividerSize;
|
|
191
|
-
ui: {};
|
|
192
190
|
type: "solid" | "dotted" | "dashed";
|
|
191
|
+
class: any;
|
|
192
|
+
ui: {};
|
|
193
|
+
avatar: any;
|
|
193
194
|
label: string;
|
|
194
195
|
icon: string;
|
|
195
|
-
|
|
196
|
-
class: any;
|
|
196
|
+
orientation: "horizontal" | "vertical";
|
|
197
197
|
}, {}>;
|
|
198
198
|
export default _default;
|
|
@@ -36,7 +36,8 @@
|
|
|
36
36
|
<script>
|
|
37
37
|
import { defineComponent, toRef } from "vue";
|
|
38
38
|
import { twMerge, twJoin } from "tailwind-merge";
|
|
39
|
-
import
|
|
39
|
+
import UIcon from "../elements/Icon.vue";
|
|
40
|
+
import ULink from "../elements/Link.vue";
|
|
40
41
|
import { useUI } from "../../composables/useUI";
|
|
41
42
|
import { mergeConfig, getULinkProps } from "../../utils";
|
|
42
43
|
import appConfig from "#build/app.config";
|
|
@@ -68,7 +68,8 @@ import { useDebounceFn } from "@vueuse/core";
|
|
|
68
68
|
import { useFuse } from "@vueuse/integrations/useFuse";
|
|
69
69
|
import { twJoin } from "tailwind-merge";
|
|
70
70
|
import { defu } from "defu";
|
|
71
|
-
import
|
|
71
|
+
import UIcon from "../elements/Icon.vue";
|
|
72
|
+
import UButton from "../elements/Button.vue";
|
|
72
73
|
import CommandPaletteGroup from "./CommandPaletteGroup.vue";
|
|
73
74
|
import { useUI } from "../../composables/useUI";
|
|
74
75
|
import { mergeConfig } from "../../utils";
|