@nuxt/ui 2.21.0 → 2.22.0
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/README.md +19 -14
- package/dist/module.d.mts +6 -1
- package/dist/module.json +3 -3
- package/dist/module.mjs +6 -12
- package/dist/runtime/components/data/Table.vue +19 -24
- package/dist/runtime/components/data/Table.vue.d.ts +44 -348
- package/dist/runtime/components/elements/Accordion.vue +4 -4
- package/dist/runtime/components/elements/Accordion.vue.d.ts +16 -16
- package/dist/runtime/components/elements/Alert.vue +7 -7
- package/dist/runtime/components/elements/Alert.vue.d.ts +41 -38
- package/dist/runtime/components/elements/Avatar.vue.d.ts +2 -2
- package/dist/runtime/components/elements/Badge.vue.d.ts +2 -2
- package/dist/runtime/components/elements/Button.vue.d.ts +6 -6
- package/dist/runtime/components/elements/Carousel.vue +3 -3
- package/dist/runtime/components/elements/Carousel.vue.d.ts +22 -22
- package/dist/runtime/components/elements/Chip.vue.d.ts +1 -1
- package/dist/runtime/components/elements/Dropdown.vue +1 -1
- package/dist/runtime/components/elements/Dropdown.vue.d.ts +19 -19
- package/dist/runtime/components/elements/Kbd.vue.d.ts +1 -1
- package/dist/runtime/components/elements/Link.vue +13 -11
- package/dist/runtime/components/elements/Link.vue.d.ts +2 -2
- package/dist/runtime/components/elements/Meter.vue +1 -1
- package/dist/runtime/components/elements/Meter.vue.d.ts +3 -3
- package/dist/runtime/components/elements/Progress.vue +1 -1
- package/dist/runtime/components/elements/Progress.vue.d.ts +5 -5
- package/dist/runtime/components/forms/Checkbox.vue.d.ts +3 -3
- package/dist/runtime/components/forms/Form.vue +8 -30
- package/dist/runtime/components/forms/Form.vue.d.ts +7 -8
- package/dist/runtime/components/forms/FormGroup.vue.d.ts +2 -2
- package/dist/runtime/components/forms/Input.vue +3 -3
- package/dist/runtime/components/forms/Input.vue.d.ts +3 -3
- package/dist/runtime/components/forms/InputMenu.vue +3 -3
- package/dist/runtime/components/forms/InputMenu.vue.d.ts +16 -16
- package/dist/runtime/components/forms/Radio.vue.d.ts +3 -3
- package/dist/runtime/components/forms/RadioGroup.vue.d.ts +6 -6
- package/dist/runtime/components/forms/Range.vue.d.ts +3 -3
- package/dist/runtime/components/forms/Select.vue +2 -2
- package/dist/runtime/components/forms/Select.vue.d.ts +2 -2
- package/dist/runtime/components/forms/SelectMenu.vue +10 -5
- package/dist/runtime/components/forms/SelectMenu.vue.d.ts +25 -16
- package/dist/runtime/components/forms/Textarea.vue.d.ts +3 -3
- package/dist/runtime/components/forms/Toggle.vue.d.ts +2 -2
- package/dist/runtime/components/layout/Card.vue.d.ts +1 -1
- package/dist/runtime/components/layout/Container.vue.d.ts +1 -1
- package/dist/runtime/components/layout/Divider.vue.d.ts +15 -15
- package/dist/runtime/components/layout/Skeleton.vue.d.ts +1 -1
- package/dist/runtime/components/navigation/Breadcrumb.vue +1 -1
- package/dist/runtime/components/navigation/Breadcrumb.vue.d.ts +3 -3
- package/dist/runtime/components/navigation/CommandPalette.vue +1 -1
- package/dist/runtime/components/navigation/CommandPalette.vue.d.ts +33 -33
- package/dist/runtime/components/navigation/CommandPaletteGroup.vue.d.ts +30 -30
- package/dist/runtime/components/navigation/HorizontalNavigation.vue +5 -5
- package/dist/runtime/components/navigation/HorizontalNavigation.vue.d.ts +36 -36
- package/dist/runtime/components/navigation/Pagination.vue +5 -5
- package/dist/runtime/components/navigation/Pagination.vue.d.ts +34 -34
- package/dist/runtime/components/navigation/Tabs.vue.d.ts +1 -1
- package/dist/runtime/components/navigation/VerticalNavigation.vue +5 -5
- package/dist/runtime/components/navigation/VerticalNavigation.vue.d.ts +58 -58
- package/dist/runtime/components/overlays/ContextMenu.vue.d.ts +1 -1
- package/dist/runtime/components/overlays/Modal.vue +6 -6
- package/dist/runtime/components/overlays/Modal.vue.d.ts +3 -3
- package/dist/runtime/components/overlays/Modals.client.vue +5 -7
- package/dist/runtime/components/overlays/Modals.client.vue.d.ts +2 -0
- package/dist/runtime/components/overlays/Notification.vue +6 -6
- package/dist/runtime/components/overlays/Notification.vue.d.ts +45 -42
- package/dist/runtime/components/overlays/Notifications.vue.d.ts +71 -67
- package/dist/runtime/components/overlays/Popover.vue.d.ts +2 -2
- package/dist/runtime/components/overlays/Slideover.vue.d.ts +3 -3
- package/dist/runtime/components/overlays/Slideovers.client.vue +5 -7
- package/dist/runtime/components/overlays/Slideovers.client.vue.d.ts +2 -0
- package/dist/runtime/components/overlays/Tooltip.vue.d.ts +5 -5
- package/dist/runtime/composables/useFormGroup.d.ts +1 -1
- package/dist/runtime/composables/useShortcuts.d.ts +2 -2
- package/dist/runtime/composables/useToast.d.ts +4 -4
- package/dist/runtime/ui.config/elements/alert.d.ts +1 -0
- package/dist/runtime/ui.config/elements/alert.js +1 -0
- package/dist/runtime/ui.config/forms/selectMenu.d.ts +1 -1
- package/dist/runtime/ui.config/overlays/notification.d.ts +1 -0
- package/dist/runtime/ui.config/overlays/notification.js +1 -0
- package/dist/runtime/utils/link.js +4 -2
- package/dist/types.d.mts +3 -1
- package/package.json +64 -38
- package/dist/module.cjs +0 -5
- package/dist/module.d.ts +0 -36
- package/dist/types.d.ts +0 -1
|
@@ -53,19 +53,19 @@ declare const config: {
|
|
|
53
53
|
icon: string;
|
|
54
54
|
trailing: boolean;
|
|
55
55
|
square: boolean;
|
|
56
|
-
color: import("../../types/button").ButtonColor;
|
|
57
|
-
variant: import("../../types/button").ButtonVariant;
|
|
56
|
+
color: import("../../types/button.js").ButtonColor;
|
|
57
|
+
variant: import("../../types/button.js").ButtonVariant;
|
|
58
58
|
class: string;
|
|
59
59
|
};
|
|
60
60
|
expandButton: {
|
|
61
61
|
icon: string;
|
|
62
|
-
color: import("../../types/button").ButtonColor;
|
|
63
|
-
variant: import("../../types/button").ButtonVariant;
|
|
64
|
-
size: import("../../types/button").ButtonSize;
|
|
62
|
+
color: import("../../types/button.js").ButtonColor;
|
|
63
|
+
variant: import("../../types/button.js").ButtonVariant;
|
|
64
|
+
size: import("../../types/button.js").ButtonSize;
|
|
65
65
|
class: string;
|
|
66
66
|
};
|
|
67
67
|
checkbox: {
|
|
68
|
-
color: import("../../types/checkbox").CheckboxColor;
|
|
68
|
+
color: import("../../types/checkbox.js").CheckboxColor;
|
|
69
69
|
};
|
|
70
70
|
progress: {
|
|
71
71
|
color: ProgressColor;
|
|
@@ -244,19 +244,19 @@ declare const _default: import("vue").DefineComponent<import("vue").ExtractPropT
|
|
|
244
244
|
icon: string;
|
|
245
245
|
trailing: boolean;
|
|
246
246
|
square: boolean;
|
|
247
|
-
color: import("../../types/button").ButtonColor;
|
|
248
|
-
variant: import("../../types/button").ButtonVariant;
|
|
247
|
+
color: import("../../types/button.js").ButtonColor;
|
|
248
|
+
variant: import("../../types/button.js").ButtonVariant;
|
|
249
249
|
class: string;
|
|
250
250
|
};
|
|
251
251
|
expandButton: {
|
|
252
252
|
icon: string;
|
|
253
|
-
color: import("../../types/button").ButtonColor;
|
|
254
|
-
variant: import("../../types/button").ButtonVariant;
|
|
255
|
-
size: import("../../types/button").ButtonSize;
|
|
253
|
+
color: import("../../types/button.js").ButtonColor;
|
|
254
|
+
variant: import("../../types/button.js").ButtonVariant;
|
|
255
|
+
size: import("../../types/button.js").ButtonSize;
|
|
256
256
|
class: string;
|
|
257
257
|
};
|
|
258
258
|
checkbox: {
|
|
259
|
-
color: import("../../types/checkbox").CheckboxColor;
|
|
259
|
+
color: import("../../types/checkbox.js").CheckboxColor;
|
|
260
260
|
};
|
|
261
261
|
progress: {
|
|
262
262
|
color: ProgressColor;
|
|
@@ -308,7 +308,6 @@ declare const _default: import("vue").DefineComponent<import("vue").ExtractPropT
|
|
|
308
308
|
toggleOpened: (row: TableRow) => void;
|
|
309
309
|
getAriaSort: (column: TableColumn) => AriaAttributes["aria-sort"];
|
|
310
310
|
isExpanded: (row: TableRow) => boolean;
|
|
311
|
-
retriggerSlot: import("vue").Ref<any, any>;
|
|
312
311
|
}, {}, {}, {}, import("vue").ComponentOptionsMixin, import("vue").ComponentOptionsMixin, ("update:modelValue" | "update:sort" | "update:expand" | "select:all")[], "update:modelValue" | "update:sort" | "update:expand" | "select:all", import("vue").PublicProps, Readonly<import("vue").ExtractPropTypes<{
|
|
313
312
|
modelValue: {
|
|
314
313
|
type: ArrayConstructor;
|
|
@@ -427,7 +426,6 @@ declare const _default: import("vue").DefineComponent<import("vue").ExtractPropT
|
|
|
427
426
|
column: string;
|
|
428
427
|
direction: "asc" | "desc";
|
|
429
428
|
};
|
|
430
|
-
class: any;
|
|
431
429
|
ui: {
|
|
432
430
|
wrapper?: string;
|
|
433
431
|
base?: string;
|
|
@@ -481,19 +479,19 @@ declare const _default: import("vue").DefineComponent<import("vue").ExtractPropT
|
|
|
481
479
|
icon: string;
|
|
482
480
|
trailing: boolean;
|
|
483
481
|
square: boolean;
|
|
484
|
-
color: import("../../types/button").ButtonColor;
|
|
485
|
-
variant: import("../../types/button").ButtonVariant;
|
|
482
|
+
color: import("../../types/button.js").ButtonColor;
|
|
483
|
+
variant: import("../../types/button.js").ButtonVariant;
|
|
486
484
|
class: string;
|
|
487
485
|
};
|
|
488
486
|
expandButton: {
|
|
489
487
|
icon: string;
|
|
490
|
-
color: import("../../types/button").ButtonColor;
|
|
491
|
-
variant: import("../../types/button").ButtonVariant;
|
|
492
|
-
size: import("../../types/button").ButtonSize;
|
|
488
|
+
color: import("../../types/button.js").ButtonColor;
|
|
489
|
+
variant: import("../../types/button.js").ButtonVariant;
|
|
490
|
+
size: import("../../types/button.js").ButtonSize;
|
|
493
491
|
class: string;
|
|
494
492
|
};
|
|
495
493
|
checkbox: {
|
|
496
|
-
color: import("../../types/checkbox").CheckboxColor;
|
|
494
|
+
color: import("../../types/checkbox.js").CheckboxColor;
|
|
497
495
|
};
|
|
498
496
|
progress: {
|
|
499
497
|
color: ProgressColor;
|
|
@@ -519,6 +517,7 @@ declare const _default: import("vue").DefineComponent<import("vue").ExtractPropT
|
|
|
519
517
|
color: ProgressColor;
|
|
520
518
|
animation: ProgressAnimation;
|
|
521
519
|
};
|
|
520
|
+
class: any;
|
|
522
521
|
modelValue: unknown[];
|
|
523
522
|
loading: boolean;
|
|
524
523
|
loadingState: {
|
|
@@ -612,17 +611,17 @@ declare const _default: import("vue").DefineComponent<import("vue").ExtractPropT
|
|
|
612
611
|
default: boolean;
|
|
613
612
|
};
|
|
614
613
|
size: {
|
|
615
|
-
type: PropType<import("../../types/button").ButtonSize>;
|
|
614
|
+
type: PropType<import("../../types/button.js").ButtonSize>;
|
|
616
615
|
default: () => string;
|
|
617
616
|
validator(value: string): boolean;
|
|
618
617
|
};
|
|
619
618
|
color: {
|
|
620
|
-
type: PropType<import("../../types/button").ButtonColor>;
|
|
619
|
+
type: PropType<import("../../types/button.js").ButtonColor>;
|
|
621
620
|
default: () => string;
|
|
622
621
|
validator(value: string): boolean;
|
|
623
622
|
};
|
|
624
623
|
variant: {
|
|
625
|
-
type: PropType<import("../../types/button").ButtonVariant>;
|
|
624
|
+
type: PropType<import("../../types/button.js").ButtonVariant>;
|
|
626
625
|
default: () => string;
|
|
627
626
|
validator(value: string): boolean;
|
|
628
627
|
};
|
|
@@ -931,17 +930,17 @@ declare const _default: import("vue").DefineComponent<import("vue").ExtractPropT
|
|
|
931
930
|
default: boolean;
|
|
932
931
|
};
|
|
933
932
|
size: {
|
|
934
|
-
type: PropType<import("../../types/button").ButtonSize>;
|
|
933
|
+
type: PropType<import("../../types/button.js").ButtonSize>;
|
|
935
934
|
default: () => string;
|
|
936
935
|
validator(value: string): boolean;
|
|
937
936
|
};
|
|
938
937
|
color: {
|
|
939
|
-
type: PropType<import("../../types/button").ButtonColor>;
|
|
938
|
+
type: PropType<import("../../types/button.js").ButtonColor>;
|
|
940
939
|
default: () => string;
|
|
941
940
|
validator(value: string): boolean;
|
|
942
941
|
};
|
|
943
942
|
variant: {
|
|
944
|
-
type: PropType<import("../../types/button").ButtonVariant>;
|
|
943
|
+
type: PropType<import("../../types/button.js").ButtonVariant>;
|
|
945
944
|
default: () => string;
|
|
946
945
|
validator(value: string): boolean;
|
|
947
946
|
};
|
|
@@ -1133,10 +1132,7 @@ declare const _default: import("vue").DefineComponent<import("vue").ExtractPropT
|
|
|
1133
1132
|
};
|
|
1134
1133
|
}>> & Readonly<{}>, {
|
|
1135
1134
|
type: string;
|
|
1136
|
-
size: import("../../types/button").ButtonSize;
|
|
1137
|
-
class: any;
|
|
1138
|
-
to: string | import("vue-router").RouteLocationAsRelativeGeneric | import("vue-router").RouteLocationAsPathGeneric;
|
|
1139
|
-
disabled: boolean;
|
|
1135
|
+
size: import("../../types/button.js").ButtonSize;
|
|
1140
1136
|
ui: {
|
|
1141
1137
|
base?: string;
|
|
1142
1138
|
font?: string;
|
|
@@ -1221,10 +1217,11 @@ declare const _default: import("vue").DefineComponent<import("vue").ExtractPropT
|
|
|
1221
1217
|
} & {
|
|
1222
1218
|
strategy?: Strategy;
|
|
1223
1219
|
};
|
|
1224
|
-
color: import("../../types/button").ButtonColor;
|
|
1225
|
-
variant: import("../../types/button").ButtonVariant;
|
|
1220
|
+
color: import("../../types/button.js").ButtonColor;
|
|
1221
|
+
variant: import("../../types/button.js").ButtonVariant;
|
|
1226
1222
|
truncate: boolean;
|
|
1227
1223
|
target: "_blank" | "_parent" | "_self" | "_top" | (string & {});
|
|
1224
|
+
to: string | import("vue-router").RouteLocationAsRelativeGeneric | import("vue-router").RouteLocationAsPathGeneric;
|
|
1228
1225
|
activeClass: string;
|
|
1229
1226
|
exactActiveClass: string;
|
|
1230
1227
|
ariaCurrentValue: "page" | "step" | "location" | "date" | "time" | "true" | "false";
|
|
@@ -1235,12 +1232,14 @@ declare const _default: import("vue").DefineComponent<import("vue").ExtractPropT
|
|
|
1235
1232
|
prefetchedClass: string;
|
|
1236
1233
|
external: boolean;
|
|
1237
1234
|
leading: boolean;
|
|
1235
|
+
disabled: boolean;
|
|
1238
1236
|
href: string | import("vue-router").RouteLocationAsRelativeGeneric | import("vue-router").RouteLocationAsPathGeneric;
|
|
1239
1237
|
rel: any;
|
|
1240
|
-
label: string;
|
|
1241
1238
|
icon: string;
|
|
1239
|
+
class: any;
|
|
1242
1240
|
block: boolean;
|
|
1243
1241
|
square: boolean;
|
|
1242
|
+
label: string;
|
|
1244
1243
|
loading: boolean;
|
|
1245
1244
|
padded: boolean;
|
|
1246
1245
|
loadingIcon: string;
|
|
@@ -1496,9 +1495,8 @@ declare const _default: import("vue").DefineComponent<import("vue").ExtractPropT
|
|
|
1496
1495
|
};
|
|
1497
1496
|
}>> & Readonly<{}>, {
|
|
1498
1497
|
type: string;
|
|
1499
|
-
to: string | import("vue-router").RouteLocationAsRelativeGeneric | import("vue-router").RouteLocationAsPathGeneric;
|
|
1500
|
-
disabled: boolean;
|
|
1501
1498
|
target: "_blank" | "_parent" | "_self" | "_top" | (string & {});
|
|
1499
|
+
to: string | import("vue-router").RouteLocationAsRelativeGeneric | import("vue-router").RouteLocationAsPathGeneric;
|
|
1502
1500
|
activeClass: string;
|
|
1503
1501
|
exactActiveClass: string;
|
|
1504
1502
|
ariaCurrentValue: "page" | "step" | "location" | "date" | "time" | "true" | "false";
|
|
@@ -1509,6 +1507,7 @@ declare const _default: import("vue").DefineComponent<import("vue").ExtractPropT
|
|
|
1509
1507
|
prefetchedClass: string;
|
|
1510
1508
|
external: boolean;
|
|
1511
1509
|
as: string;
|
|
1510
|
+
disabled: boolean;
|
|
1512
1511
|
active: boolean;
|
|
1513
1512
|
exact: boolean;
|
|
1514
1513
|
exactQuery: boolean | "partial";
|
|
@@ -1537,7 +1536,7 @@ declare const _default: import("vue").DefineComponent<import("vue").ExtractPropT
|
|
|
1537
1536
|
from<T, U>(iterable: Iterable<T> | ArrayLike<T>, mapfn: (v: T, k: number) => U, thisArg?: any): U[];
|
|
1538
1537
|
of<T>(...items: T[]): T[];
|
|
1539
1538
|
fromAsync<T>(iterableOrArrayLike: AsyncIterable<T> | Iterable<T | PromiseLike<T>> | ArrayLike<T | PromiseLike<T>>): Promise<T[]>;
|
|
1540
|
-
fromAsync<T, U>(iterableOrArrayLike: AsyncIterable<T> | Iterable<T> | ArrayLike<T>, mapFn: (value: Awaited<T
|
|
1539
|
+
fromAsync<T, U>(iterableOrArrayLike: AsyncIterable<T> | Iterable<T> | ArrayLike<T>, mapFn: (value: Awaited<T>, index: number) => U, thisArg?: any): Promise<Awaited<U>[]>;
|
|
1541
1540
|
readonly [Symbol.species]: ArrayConstructor;
|
|
1542
1541
|
})[];
|
|
1543
1542
|
default: number;
|
|
@@ -1552,7 +1551,7 @@ declare const _default: import("vue").DefineComponent<import("vue").ExtractPropT
|
|
|
1552
1551
|
validator(value: string): boolean;
|
|
1553
1552
|
};
|
|
1554
1553
|
size: {
|
|
1555
|
-
type: PropType<import("../../types/progress").ProgressSize>;
|
|
1554
|
+
type: PropType<import("../../types/progress.js").ProgressSize>;
|
|
1556
1555
|
default: () => string;
|
|
1557
1556
|
validator(value: string): boolean;
|
|
1558
1557
|
};
|
|
@@ -1750,7 +1749,7 @@ declare const _default: import("vue").DefineComponent<import("vue").ExtractPropT
|
|
|
1750
1749
|
from<T, U>(iterable: Iterable<T> | ArrayLike<T>, mapfn: (v: T, k: number) => U, thisArg?: any): U[];
|
|
1751
1750
|
of<T>(...items: T[]): T[];
|
|
1752
1751
|
fromAsync<T>(iterableOrArrayLike: AsyncIterable<T> | Iterable<T | PromiseLike<T>> | ArrayLike<T | PromiseLike<T>>): Promise<T[]>;
|
|
1753
|
-
fromAsync<T, U>(iterableOrArrayLike: AsyncIterable<T> | Iterable<T> | ArrayLike<T>, mapFn: (value: Awaited<T
|
|
1752
|
+
fromAsync<T, U>(iterableOrArrayLike: AsyncIterable<T> | Iterable<T> | ArrayLike<T>, mapFn: (value: Awaited<T>, index: number) => U, thisArg?: any): Promise<Awaited<U>[]>;
|
|
1754
1753
|
readonly [Symbol.species]: ArrayConstructor;
|
|
1755
1754
|
})[];
|
|
1756
1755
|
default: number;
|
|
@@ -1765,7 +1764,7 @@ declare const _default: import("vue").DefineComponent<import("vue").ExtractPropT
|
|
|
1765
1764
|
validator(value: string): boolean;
|
|
1766
1765
|
};
|
|
1767
1766
|
size: {
|
|
1768
|
-
type: PropType<import("../../types/progress").ProgressSize>;
|
|
1767
|
+
type: PropType<import("../../types/progress.js").ProgressSize>;
|
|
1769
1768
|
default: () => string;
|
|
1770
1769
|
validator(value: string): boolean;
|
|
1771
1770
|
};
|
|
@@ -1859,9 +1858,6 @@ declare const _default: import("vue").DefineComponent<import("vue").ExtractPropT
|
|
|
1859
1858
|
};
|
|
1860
1859
|
}>> & Readonly<{}>, {
|
|
1861
1860
|
size: "sm" | "xs" | "2xs" | "md" | "lg" | "xl" | "2xl";
|
|
1862
|
-
class: any;
|
|
1863
|
-
max: number | any[];
|
|
1864
|
-
animation: "carousel" | "carousel-inverse" | "swing" | "elastic";
|
|
1865
1861
|
ui: {
|
|
1866
1862
|
wrapper?: string;
|
|
1867
1863
|
indicator?: DeepPartial<{
|
|
@@ -1941,8 +1937,11 @@ declare const _default: import("vue").DefineComponent<import("vue").ExtractPropT
|
|
|
1941
1937
|
strategy?: Strategy;
|
|
1942
1938
|
};
|
|
1943
1939
|
color: "primary" | "red" | "orange" | "amber" | "yellow" | "lime" | "green" | "emerald" | "teal" | "cyan" | "sky" | "blue" | "indigo" | "violet" | "purple" | "fuchsia" | "pink" | "rose";
|
|
1940
|
+
class: any;
|
|
1944
1941
|
value: number;
|
|
1945
1942
|
indicator: boolean;
|
|
1943
|
+
animation: "carousel" | "carousel-inverse" | "swing" | "elastic";
|
|
1944
|
+
max: number | any[];
|
|
1946
1945
|
}, {}, {}, {}, string, import("vue").ComponentProvideOptions, true, {}, any>;
|
|
1947
1946
|
UCheckbox: import("vue").DefineComponent<import("vue").ExtractPropTypes<{
|
|
1948
1947
|
id: {
|
|
@@ -2123,8 +2122,6 @@ declare const _default: import("vue").DefineComponent<import("vue").ExtractPropT
|
|
|
2123
2122
|
}>, {
|
|
2124
2123
|
name: string;
|
|
2125
2124
|
required: boolean;
|
|
2126
|
-
class: any;
|
|
2127
|
-
disabled: boolean;
|
|
2128
2125
|
ui: {
|
|
2129
2126
|
wrapper?: string;
|
|
2130
2127
|
container?: string;
|
|
@@ -2148,316 +2145,15 @@ declare const _default: import("vue").DefineComponent<import("vue").ExtractPropT
|
|
|
2148
2145
|
strategy?: Strategy;
|
|
2149
2146
|
};
|
|
2150
2147
|
color: "primary" | "red" | "orange" | "amber" | "yellow" | "lime" | "green" | "emerald" | "teal" | "cyan" | "sky" | "blue" | "indigo" | "violet" | "purple" | "fuchsia" | "pink" | "rose";
|
|
2151
|
-
|
|
2148
|
+
disabled: boolean;
|
|
2152
2149
|
id: string;
|
|
2150
|
+
class: any;
|
|
2153
2151
|
modelValue: boolean | any[];
|
|
2154
2152
|
value: string | number | boolean | Record<string, any>;
|
|
2153
|
+
label: string;
|
|
2155
2154
|
help: string;
|
|
2156
2155
|
indeterminate: boolean;
|
|
2157
2156
|
inputClass: string;
|
|
2158
2157
|
}, {}, {}, {}, string, import("vue").ComponentProvideOptions, true, {}, any>;
|
|
2159
2158
|
}, {}, string, import("vue").ComponentProvideOptions, true, {}, any>;
|
|
2160
2159
|
export default _default;
|
|
2161
|
-
declare module 'vue' {
|
|
2162
|
-
interface GlobalComponents {
|
|
2163
|
-
}
|
|
2164
|
-
interface GlobalDirectives {
|
|
2165
|
-
}
|
|
2166
|
-
}
|
|
2167
|
-
declare global {
|
|
2168
|
-
const __VLS_intrinsicElements: __VLS_IntrinsicElements;
|
|
2169
|
-
const __VLS_directiveBindingRestFields: {
|
|
2170
|
-
instance: null;
|
|
2171
|
-
oldValue: null;
|
|
2172
|
-
modifiers: any;
|
|
2173
|
-
dir: any;
|
|
2174
|
-
};
|
|
2175
|
-
const __VLS_unref: typeof import('vue').unref;
|
|
2176
|
-
const __VLS_nativeElements: {
|
|
2177
|
-
a: HTMLAnchorElement;
|
|
2178
|
-
abbr: HTMLElement;
|
|
2179
|
-
address: HTMLElement;
|
|
2180
|
-
area: HTMLAreaElement;
|
|
2181
|
-
article: HTMLElement;
|
|
2182
|
-
aside: HTMLElement;
|
|
2183
|
-
audio: HTMLAudioElement;
|
|
2184
|
-
b: HTMLElement;
|
|
2185
|
-
base: HTMLBaseElement;
|
|
2186
|
-
bdi: HTMLElement;
|
|
2187
|
-
bdo: HTMLElement;
|
|
2188
|
-
blockquote: HTMLQuoteElement;
|
|
2189
|
-
body: HTMLBodyElement;
|
|
2190
|
-
br: HTMLBRElement;
|
|
2191
|
-
button: HTMLButtonElement;
|
|
2192
|
-
canvas: HTMLCanvasElement;
|
|
2193
|
-
caption: HTMLTableCaptionElement;
|
|
2194
|
-
cite: HTMLElement;
|
|
2195
|
-
code: HTMLElement;
|
|
2196
|
-
col: HTMLTableColElement;
|
|
2197
|
-
colgroup: HTMLTableColElement;
|
|
2198
|
-
data: HTMLDataElement;
|
|
2199
|
-
datalist: HTMLDataListElement;
|
|
2200
|
-
dd: HTMLElement;
|
|
2201
|
-
del: HTMLModElement;
|
|
2202
|
-
details: HTMLDetailsElement;
|
|
2203
|
-
dfn: HTMLElement;
|
|
2204
|
-
dialog: HTMLDialogElement;
|
|
2205
|
-
div: HTMLDivElement;
|
|
2206
|
-
dl: HTMLDListElement;
|
|
2207
|
-
dt: HTMLElement;
|
|
2208
|
-
em: HTMLElement;
|
|
2209
|
-
embed: HTMLEmbedElement;
|
|
2210
|
-
fieldset: HTMLFieldSetElement;
|
|
2211
|
-
figcaption: HTMLElement;
|
|
2212
|
-
figure: HTMLElement;
|
|
2213
|
-
footer: HTMLElement;
|
|
2214
|
-
form: HTMLFormElement;
|
|
2215
|
-
h1: HTMLHeadingElement;
|
|
2216
|
-
h2: HTMLHeadingElement;
|
|
2217
|
-
h3: HTMLHeadingElement;
|
|
2218
|
-
h4: HTMLHeadingElement;
|
|
2219
|
-
h5: HTMLHeadingElement;
|
|
2220
|
-
h6: HTMLHeadingElement;
|
|
2221
|
-
head: HTMLHeadElement;
|
|
2222
|
-
header: HTMLElement;
|
|
2223
|
-
hgroup: HTMLElement;
|
|
2224
|
-
hr: HTMLHRElement;
|
|
2225
|
-
html: HTMLHtmlElement;
|
|
2226
|
-
i: HTMLElement;
|
|
2227
|
-
iframe: HTMLIFrameElement;
|
|
2228
|
-
img: HTMLImageElement;
|
|
2229
|
-
input: HTMLInputElement;
|
|
2230
|
-
ins: HTMLModElement;
|
|
2231
|
-
kbd: HTMLElement;
|
|
2232
|
-
label: HTMLLabelElement;
|
|
2233
|
-
legend: HTMLLegendElement;
|
|
2234
|
-
li: HTMLLIElement;
|
|
2235
|
-
link: HTMLLinkElement;
|
|
2236
|
-
main: HTMLElement;
|
|
2237
|
-
map: HTMLMapElement;
|
|
2238
|
-
mark: HTMLElement;
|
|
2239
|
-
menu: HTMLMenuElement;
|
|
2240
|
-
meta: HTMLMetaElement;
|
|
2241
|
-
meter: HTMLMeterElement;
|
|
2242
|
-
nav: HTMLElement;
|
|
2243
|
-
noscript: HTMLElement;
|
|
2244
|
-
object: HTMLObjectElement;
|
|
2245
|
-
ol: HTMLOListElement;
|
|
2246
|
-
optgroup: HTMLOptGroupElement;
|
|
2247
|
-
option: HTMLOptionElement;
|
|
2248
|
-
output: HTMLOutputElement;
|
|
2249
|
-
p: HTMLParagraphElement;
|
|
2250
|
-
picture: HTMLPictureElement;
|
|
2251
|
-
pre: HTMLPreElement;
|
|
2252
|
-
progress: HTMLProgressElement;
|
|
2253
|
-
q: HTMLQuoteElement;
|
|
2254
|
-
rp: HTMLElement;
|
|
2255
|
-
rt: HTMLElement;
|
|
2256
|
-
ruby: HTMLElement;
|
|
2257
|
-
s: HTMLElement;
|
|
2258
|
-
samp: HTMLElement;
|
|
2259
|
-
script: HTMLScriptElement;
|
|
2260
|
-
search: HTMLElement;
|
|
2261
|
-
section: HTMLElement;
|
|
2262
|
-
select: HTMLSelectElement;
|
|
2263
|
-
slot: HTMLSlotElement;
|
|
2264
|
-
small: HTMLElement;
|
|
2265
|
-
source: HTMLSourceElement;
|
|
2266
|
-
span: HTMLSpanElement;
|
|
2267
|
-
strong: HTMLElement;
|
|
2268
|
-
style: HTMLStyleElement;
|
|
2269
|
-
sub: HTMLElement;
|
|
2270
|
-
summary: HTMLElement;
|
|
2271
|
-
sup: HTMLElement;
|
|
2272
|
-
table: HTMLTableElement;
|
|
2273
|
-
tbody: HTMLTableSectionElement;
|
|
2274
|
-
td: HTMLTableCellElement;
|
|
2275
|
-
template: HTMLTemplateElement;
|
|
2276
|
-
textarea: HTMLTextAreaElement;
|
|
2277
|
-
tfoot: HTMLTableSectionElement;
|
|
2278
|
-
th: HTMLTableCellElement;
|
|
2279
|
-
thead: HTMLTableSectionElement;
|
|
2280
|
-
time: HTMLTimeElement;
|
|
2281
|
-
title: HTMLTitleElement;
|
|
2282
|
-
tr: HTMLTableRowElement;
|
|
2283
|
-
track: HTMLTrackElement;
|
|
2284
|
-
u: HTMLElement;
|
|
2285
|
-
ul: HTMLUListElement;
|
|
2286
|
-
var: HTMLElement;
|
|
2287
|
-
video: HTMLVideoElement;
|
|
2288
|
-
wbr: HTMLElement;
|
|
2289
|
-
animate: SVGAnimateElement;
|
|
2290
|
-
animateMotion: SVGAnimateMotionElement;
|
|
2291
|
-
animateTransform: SVGAnimateTransformElement;
|
|
2292
|
-
circle: SVGCircleElement;
|
|
2293
|
-
clipPath: SVGClipPathElement;
|
|
2294
|
-
defs: SVGDefsElement;
|
|
2295
|
-
desc: SVGDescElement;
|
|
2296
|
-
ellipse: SVGEllipseElement;
|
|
2297
|
-
feBlend: SVGFEBlendElement;
|
|
2298
|
-
feColorMatrix: SVGFEColorMatrixElement;
|
|
2299
|
-
feComponentTransfer: SVGFEComponentTransferElement;
|
|
2300
|
-
feComposite: SVGFECompositeElement;
|
|
2301
|
-
feConvolveMatrix: SVGFEConvolveMatrixElement;
|
|
2302
|
-
feDiffuseLighting: SVGFEDiffuseLightingElement;
|
|
2303
|
-
feDisplacementMap: SVGFEDisplacementMapElement;
|
|
2304
|
-
feDistantLight: SVGFEDistantLightElement;
|
|
2305
|
-
feDropShadow: SVGFEDropShadowElement;
|
|
2306
|
-
feFlood: SVGFEFloodElement;
|
|
2307
|
-
feFuncA: SVGFEFuncAElement;
|
|
2308
|
-
feFuncB: SVGFEFuncBElement;
|
|
2309
|
-
feFuncG: SVGFEFuncGElement;
|
|
2310
|
-
feFuncR: SVGFEFuncRElement;
|
|
2311
|
-
feGaussianBlur: SVGFEGaussianBlurElement;
|
|
2312
|
-
feImage: SVGFEImageElement;
|
|
2313
|
-
feMerge: SVGFEMergeElement;
|
|
2314
|
-
feMergeNode: SVGFEMergeNodeElement;
|
|
2315
|
-
feMorphology: SVGFEMorphologyElement;
|
|
2316
|
-
feOffset: SVGFEOffsetElement;
|
|
2317
|
-
fePointLight: SVGFEPointLightElement;
|
|
2318
|
-
feSpecularLighting: SVGFESpecularLightingElement;
|
|
2319
|
-
feSpotLight: SVGFESpotLightElement;
|
|
2320
|
-
feTile: SVGFETileElement;
|
|
2321
|
-
feTurbulence: SVGFETurbulenceElement;
|
|
2322
|
-
filter: SVGFilterElement;
|
|
2323
|
-
foreignObject: SVGForeignObjectElement;
|
|
2324
|
-
g: SVGGElement;
|
|
2325
|
-
image: SVGImageElement;
|
|
2326
|
-
line: SVGLineElement;
|
|
2327
|
-
linearGradient: SVGLinearGradientElement;
|
|
2328
|
-
marker: SVGMarkerElement;
|
|
2329
|
-
mask: SVGMaskElement;
|
|
2330
|
-
metadata: SVGMetadataElement;
|
|
2331
|
-
mpath: SVGMPathElement;
|
|
2332
|
-
path: SVGPathElement;
|
|
2333
|
-
pattern: SVGPatternElement;
|
|
2334
|
-
polygon: SVGPolygonElement;
|
|
2335
|
-
polyline: SVGPolylineElement;
|
|
2336
|
-
radialGradient: SVGRadialGradientElement;
|
|
2337
|
-
rect: SVGRectElement;
|
|
2338
|
-
set: SVGSetElement;
|
|
2339
|
-
stop: SVGStopElement;
|
|
2340
|
-
svg: SVGSVGElement;
|
|
2341
|
-
switch: SVGSwitchElement;
|
|
2342
|
-
symbol: SVGSymbolElement;
|
|
2343
|
-
text: SVGTextElement;
|
|
2344
|
-
textPath: SVGTextPathElement;
|
|
2345
|
-
tspan: SVGTSpanElement;
|
|
2346
|
-
use: SVGUseElement;
|
|
2347
|
-
view: SVGViewElement;
|
|
2348
|
-
};
|
|
2349
|
-
type __VLS_IntrinsicElements = import('vue/jsx-runtime').JSX.IntrinsicElements;
|
|
2350
|
-
type __VLS_Element = import('vue/jsx-runtime').JSX.Element;
|
|
2351
|
-
type __VLS_GlobalComponents = import('vue').GlobalComponents & Pick<typeof import('vue'), 'Transition' | 'TransitionGroup' | 'KeepAlive' | 'Suspense' | 'Teleport'>;
|
|
2352
|
-
type __VLS_GlobalDirectives = import('vue').GlobalDirectives;
|
|
2353
|
-
type __VLS_IsAny<T> = 0 extends 1 & T ? true : false;
|
|
2354
|
-
type __VLS_PickNotAny<A, B> = __VLS_IsAny<A> extends true ? B : A;
|
|
2355
|
-
type __VLS_unknownDirective = (arg1: unknown, arg2: unknown, arg3: unknown, arg4: unknown) => void;
|
|
2356
|
-
type __VLS_WithComponent<N0 extends string, LocalComponents, N1 extends string, N2 extends string, N3 extends string> = N1 extends keyof LocalComponents ? N1 extends N0 ? Pick<LocalComponents, N0 extends keyof LocalComponents ? N0 : never> : {
|
|
2357
|
-
[K in N0]: LocalComponents[N1];
|
|
2358
|
-
} : N2 extends keyof LocalComponents ? N2 extends N0 ? Pick<LocalComponents, N0 extends keyof LocalComponents ? N0 : never> : {
|
|
2359
|
-
[K in N0]: LocalComponents[N2];
|
|
2360
|
-
} : N3 extends keyof LocalComponents ? N3 extends N0 ? Pick<LocalComponents, N0 extends keyof LocalComponents ? N0 : never> : {
|
|
2361
|
-
[K in N0]: LocalComponents[N3];
|
|
2362
|
-
} : N1 extends keyof __VLS_GlobalComponents ? N1 extends N0 ? Pick<__VLS_GlobalComponents, N0 extends keyof __VLS_GlobalComponents ? N0 : never> : {
|
|
2363
|
-
[K in N0]: __VLS_GlobalComponents[N1];
|
|
2364
|
-
} : N2 extends keyof __VLS_GlobalComponents ? N2 extends N0 ? Pick<__VLS_GlobalComponents, N0 extends keyof __VLS_GlobalComponents ? N0 : never> : {
|
|
2365
|
-
[K in N0]: __VLS_GlobalComponents[N2];
|
|
2366
|
-
} : N3 extends keyof __VLS_GlobalComponents ? N3 extends N0 ? Pick<__VLS_GlobalComponents, N0 extends keyof __VLS_GlobalComponents ? N0 : never> : {
|
|
2367
|
-
[K in N0]: __VLS_GlobalComponents[N3];
|
|
2368
|
-
} : {
|
|
2369
|
-
[K in N0]: unknown;
|
|
2370
|
-
};
|
|
2371
|
-
type __VLS_FunctionalComponentProps<T, K> = '__ctx' extends keyof __VLS_PickNotAny<K, {}> ? K extends {
|
|
2372
|
-
__ctx?: {
|
|
2373
|
-
props?: infer P;
|
|
2374
|
-
};
|
|
2375
|
-
} ? NonNullable<P> : never : T extends (props: infer P, ...args: any) => any ? P : {};
|
|
2376
|
-
type __VLS_IsFunction<T, K> = K extends keyof T ? __VLS_IsAny<T[K]> extends false ? unknown extends T[K] ? false : true : false : false;
|
|
2377
|
-
type __VLS_UnionToIntersection<U> = (U extends unknown ? (arg: U) => unknown : never) extends ((arg: infer P) => unknown) ? P : never;
|
|
2378
|
-
type __VLS_OverloadUnionInner<T, U = unknown> = U & T extends (...args: infer A) => infer R ? U extends T ? never : __VLS_OverloadUnionInner<T, Pick<T, keyof T> & U & ((...args: A) => R)> | ((...args: A) => R) : never;
|
|
2379
|
-
type __VLS_OverloadUnion<T> = Exclude<__VLS_OverloadUnionInner<(() => never) & T>, T extends () => never ? never : () => never>;
|
|
2380
|
-
type __VLS_ConstructorOverloads<T> = __VLS_OverloadUnion<T> extends infer F ? F extends (event: infer E, ...args: infer A) => any ? {
|
|
2381
|
-
[K in E & string]: (...args: A) => void;
|
|
2382
|
-
} : never : never;
|
|
2383
|
-
type __VLS_NormalizeEmits<T> = __VLS_PrettifyGlobal<__VLS_UnionToIntersection<__VLS_ConstructorOverloads<T> & {
|
|
2384
|
-
[K in keyof T]: T[K] extends any[] ? {
|
|
2385
|
-
(...args: T[K]): void;
|
|
2386
|
-
} : never;
|
|
2387
|
-
}>>;
|
|
2388
|
-
type __VLS_PrettifyGlobal<T> = {
|
|
2389
|
-
[K in keyof T]: T[K];
|
|
2390
|
-
} & {};
|
|
2391
|
-
type __VLS_PickFunctionalComponentCtx<T, K> = NonNullable<__VLS_PickNotAny<'__ctx' extends keyof __VLS_PickNotAny<K, {}> ? K extends {
|
|
2392
|
-
__ctx?: infer Ctx;
|
|
2393
|
-
} ? Ctx : never : any, T extends (props: any, ctx: infer Ctx) => any ? Ctx : any>>;
|
|
2394
|
-
type __VLS_UseTemplateRef<T> = Readonly<import('vue').ShallowRef<T | null>>;
|
|
2395
|
-
function __VLS_getVForSourceType(source: number): [number, number, number][];
|
|
2396
|
-
function __VLS_getVForSourceType(source: string): [string, number, number][];
|
|
2397
|
-
function __VLS_getVForSourceType<T extends any[]>(source: T): [
|
|
2398
|
-
item: T[number],
|
|
2399
|
-
key: number,
|
|
2400
|
-
index: number
|
|
2401
|
-
][];
|
|
2402
|
-
function __VLS_getVForSourceType<T extends {
|
|
2403
|
-
[Symbol.iterator](): Iterator<any>;
|
|
2404
|
-
}>(source: T): [
|
|
2405
|
-
item: T extends {
|
|
2406
|
-
[Symbol.iterator](): Iterator<infer T1>;
|
|
2407
|
-
} ? T1 : never,
|
|
2408
|
-
key: number,
|
|
2409
|
-
index: undefined
|
|
2410
|
-
][];
|
|
2411
|
-
function __VLS_getVForSourceType<T extends number | {
|
|
2412
|
-
[Symbol.iterator](): Iterator<any>;
|
|
2413
|
-
}>(source: T): [
|
|
2414
|
-
item: number | (Exclude<T, number> extends {
|
|
2415
|
-
[Symbol.iterator](): Iterator<infer T1>;
|
|
2416
|
-
} ? T1 : never),
|
|
2417
|
-
key: number,
|
|
2418
|
-
index: undefined
|
|
2419
|
-
][];
|
|
2420
|
-
function __VLS_getVForSourceType<T>(source: T): [
|
|
2421
|
-
item: T[keyof T],
|
|
2422
|
-
key: keyof T,
|
|
2423
|
-
index: number
|
|
2424
|
-
][];
|
|
2425
|
-
function __VLS_getSlotParams<T>(slot: T): Parameters<__VLS_PickNotAny<NonNullable<T>, (...args: any[]) => any>>;
|
|
2426
|
-
function __VLS_getSlotParam<T>(slot: T): Parameters<__VLS_PickNotAny<NonNullable<T>, (...args: any[]) => any>>[0];
|
|
2427
|
-
function __VLS_asFunctionalDirective<T>(dir: T): T extends import('vue').ObjectDirective ? NonNullable<T['created' | 'beforeMount' | 'mounted' | 'beforeUpdate' | 'updated' | 'beforeUnmount' | 'unmounted']> : T extends (...args: any) => any ? T : __VLS_unknownDirective;
|
|
2428
|
-
function __VLS_withScope<T, K>(ctx: T, scope: K): ctx is T & K;
|
|
2429
|
-
function __VLS_makeOptional<T>(t: T): {
|
|
2430
|
-
[K in keyof T]?: T[K];
|
|
2431
|
-
};
|
|
2432
|
-
function __VLS_nonNullable<T>(t: T): T extends null | undefined ? never : T;
|
|
2433
|
-
function __VLS_asFunctionalComponent<T, K = T extends new (...args: any) => any ? InstanceType<T> : unknown>(t: T, instance?: K): T extends new (...args: any) => any ? (props: (K extends {
|
|
2434
|
-
$props: infer Props;
|
|
2435
|
-
} ? Props : any) & Record<string, unknown>, ctx?: any) => __VLS_Element & {
|
|
2436
|
-
__ctx?: {
|
|
2437
|
-
attrs?: any;
|
|
2438
|
-
slots?: K extends {
|
|
2439
|
-
$slots: infer Slots;
|
|
2440
|
-
} ? Slots : any;
|
|
2441
|
-
emit?: K extends {
|
|
2442
|
-
$emit: infer Emit;
|
|
2443
|
-
} ? Emit : any;
|
|
2444
|
-
} & {
|
|
2445
|
-
props?: (K extends {
|
|
2446
|
-
$props: infer Props;
|
|
2447
|
-
} ? Props : any) & Record<string, unknown>;
|
|
2448
|
-
expose?(exposed: K): void;
|
|
2449
|
-
};
|
|
2450
|
-
} : T extends () => any ? (props: {}, ctx?: any) => ReturnType<T> : T extends (...args: any) => any ? T : (_: {} & Record<string, unknown>, ctx?: any) => {
|
|
2451
|
-
__ctx?: {
|
|
2452
|
-
attrs?: any;
|
|
2453
|
-
expose?: any;
|
|
2454
|
-
slots?: any;
|
|
2455
|
-
emit?: any;
|
|
2456
|
-
props?: {} & Record<string, unknown>;
|
|
2457
|
-
};
|
|
2458
|
-
};
|
|
2459
|
-
function __VLS_elementAsFunction<T>(tag: T, endTag?: T): (_: T & Record<string, unknown>) => void;
|
|
2460
|
-
function __VLS_functionalComponentArgsRest<T extends (...args: any) => any>(t: T): 2 extends Parameters<T>['length'] ? [any] : [];
|
|
2461
|
-
function __VLS_normalizeSlot<S>(s: S): S extends () => infer R ? (props: {}) => R : S;
|
|
2462
|
-
function __VLS_tryAsConstant<const T>(t: T): T;
|
|
2463
|
-
}
|
|
@@ -22,10 +22,10 @@
|
|
|
22
22
|
<UIcon
|
|
23
23
|
:name="!open ? openIcon : closeIcon ? closeIcon : openIcon"
|
|
24
24
|
:class="[
|
|
25
|
-
|
|
26
|
-
|
|
27
|
-
|
|
28
|
-
|
|
25
|
+
open && !closeIcon ? '-rotate-180' : '',
|
|
26
|
+
uiButton.icon.size[item.size || uiButton.default.size],
|
|
27
|
+
ui.item.icon
|
|
28
|
+
]"
|
|
29
29
|
/>
|
|
30
30
|
</template>
|
|
31
31
|
</UButton>
|