@nuxt/ui 2.22.1 → 2.22.2
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 +2 -2
- package/dist/module.mjs +1 -1
- package/dist/runtime/components/data/Table.vue.d.ts +7 -7
- package/dist/runtime/components/elements/Accordion.vue.d.ts +4 -4
- package/dist/runtime/components/elements/Alert.vue.d.ts +6 -6
- 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 +3 -3
- package/dist/runtime/components/elements/Carousel.vue.d.ts +4 -4
- package/dist/runtime/components/elements/Chip.vue.d.ts +1 -1
- package/dist/runtime/components/elements/Dropdown.vue.d.ts +4 -4
- package/dist/runtime/components/elements/Kbd.vue.d.ts +1 -1
- package/dist/runtime/components/elements/Meter.vue.d.ts +2 -2
- package/dist/runtime/components/elements/Progress.vue.d.ts +1 -1
- package/dist/runtime/components/forms/Checkbox.vue.d.ts +2 -2
- package/dist/runtime/components/forms/Form.vue.d.ts +1 -1
- package/dist/runtime/components/forms/FormGroup.vue.d.ts +2 -2
- package/dist/runtime/components/forms/Input.vue.d.ts +3 -3
- package/dist/runtime/components/forms/InputMenu.vue +4 -1
- package/dist/runtime/components/forms/InputMenu.vue.d.ts +5 -5
- package/dist/runtime/components/forms/Radio.vue.d.ts +2 -2
- package/dist/runtime/components/forms/RadioGroup.vue.d.ts +4 -4
- package/dist/runtime/components/forms/Range.vue.d.ts +1 -1
- package/dist/runtime/components/forms/Select.vue.d.ts +2 -2
- package/dist/runtime/components/forms/SelectMenu.vue +4 -1
- package/dist/runtime/components/forms/SelectMenu.vue.d.ts +5 -5
- package/dist/runtime/components/forms/Textarea.vue.d.ts +3 -3
- package/dist/runtime/components/forms/Toggle.vue.d.ts +1 -1
- 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 +4 -4
- package/dist/runtime/components/layout/Skeleton.vue.d.ts +1 -1
- package/dist/runtime/components/navigation/Breadcrumb.vue.d.ts +1 -1
- package/dist/runtime/components/navigation/CommandPalette.vue.d.ts +8 -8
- package/dist/runtime/components/navigation/CommandPaletteGroup.vue.d.ts +3 -3
- package/dist/runtime/components/navigation/HorizontalNavigation.vue.d.ts +5 -5
- package/dist/runtime/components/navigation/Pagination.vue.d.ts +4 -4
- package/dist/runtime/components/navigation/Tabs.vue.d.ts +1 -1
- package/dist/runtime/components/navigation/VerticalNavigation.vue.d.ts +9 -9
- package/dist/runtime/components/overlays/ContextMenu.vue.d.ts +1 -1
- package/dist/runtime/components/overlays/Modal.vue.d.ts +2 -2
- package/dist/runtime/components/overlays/Notification.vue.d.ts +6 -6
- package/dist/runtime/components/overlays/Notifications.vue.d.ts +7 -7
- package/dist/runtime/components/overlays/Popover.vue.d.ts +1 -1
- package/dist/runtime/components/overlays/Slideover.vue.d.ts +2 -2
- package/dist/runtime/components/overlays/Tooltip.vue.d.ts +2 -2
- package/dist/runtime/ui.config/elements/meter.js +2 -2
- package/package.json +19 -17
package/dist/module.json
CHANGED
package/dist/module.mjs
CHANGED
|
@@ -5,7 +5,7 @@ import { defu } from 'defu';
|
|
|
5
5
|
import { setGlobalColors } from '../dist/runtime/utils/colors.js';
|
|
6
6
|
|
|
7
7
|
const name = "@nuxt/ui";
|
|
8
|
-
const version = "2.22.
|
|
8
|
+
const version = "2.22.2";
|
|
9
9
|
|
|
10
10
|
function createTemplates(nuxt = useNuxt()) {
|
|
11
11
|
const template = addTemplate({
|
|
@@ -426,6 +426,7 @@ declare const _default: import("vue").DefineComponent<import("vue").ExtractPropT
|
|
|
426
426
|
column: string;
|
|
427
427
|
direction: "asc" | "desc";
|
|
428
428
|
};
|
|
429
|
+
class: any;
|
|
429
430
|
ui: {
|
|
430
431
|
wrapper?: string;
|
|
431
432
|
base?: string;
|
|
@@ -517,7 +518,6 @@ declare const _default: import("vue").DefineComponent<import("vue").ExtractPropT
|
|
|
517
518
|
color: ProgressColor;
|
|
518
519
|
animation: ProgressAnimation;
|
|
519
520
|
};
|
|
520
|
-
class: any;
|
|
521
521
|
modelValue: unknown[];
|
|
522
522
|
loading: boolean;
|
|
523
523
|
loadingState: {
|
|
@@ -1133,6 +1133,8 @@ declare const _default: import("vue").DefineComponent<import("vue").ExtractPropT
|
|
|
1133
1133
|
}>> & Readonly<{}>, {
|
|
1134
1134
|
type: string;
|
|
1135
1135
|
size: import("../../types/button.js").ButtonSize;
|
|
1136
|
+
class: any;
|
|
1137
|
+
target: "_blank" | "_parent" | "_self" | "_top" | (string & {});
|
|
1136
1138
|
ui: {
|
|
1137
1139
|
base?: string;
|
|
1138
1140
|
font?: string;
|
|
@@ -1220,7 +1222,6 @@ declare const _default: import("vue").DefineComponent<import("vue").ExtractPropT
|
|
|
1220
1222
|
color: import("../../types/button.js").ButtonColor;
|
|
1221
1223
|
variant: import("../../types/button.js").ButtonVariant;
|
|
1222
1224
|
truncate: boolean;
|
|
1223
|
-
target: "_blank" | "_parent" | "_self" | "_top" | (string & {});
|
|
1224
1225
|
to: string | import("vue-router").RouteLocationAsRelativeGeneric | import("vue-router").RouteLocationAsPathGeneric;
|
|
1225
1226
|
activeClass: string;
|
|
1226
1227
|
exactActiveClass: string;
|
|
@@ -1235,11 +1236,10 @@ declare const _default: import("vue").DefineComponent<import("vue").ExtractPropT
|
|
|
1235
1236
|
disabled: boolean;
|
|
1236
1237
|
href: string | import("vue-router").RouteLocationAsRelativeGeneric | import("vue-router").RouteLocationAsPathGeneric;
|
|
1237
1238
|
rel: any;
|
|
1239
|
+
label: string;
|
|
1238
1240
|
icon: string;
|
|
1239
|
-
class: any;
|
|
1240
1241
|
block: boolean;
|
|
1241
1242
|
square: boolean;
|
|
1242
|
-
label: string;
|
|
1243
1243
|
loading: boolean;
|
|
1244
1244
|
padded: boolean;
|
|
1245
1245
|
loadingIcon: string;
|
|
@@ -1858,6 +1858,7 @@ declare const _default: import("vue").DefineComponent<import("vue").ExtractPropT
|
|
|
1858
1858
|
};
|
|
1859
1859
|
}>> & Readonly<{}>, {
|
|
1860
1860
|
size: "sm" | "xs" | "2xs" | "md" | "lg" | "xl" | "2xl";
|
|
1861
|
+
class: any;
|
|
1861
1862
|
ui: {
|
|
1862
1863
|
wrapper?: string;
|
|
1863
1864
|
indicator?: DeepPartial<{
|
|
@@ -1937,7 +1938,6 @@ declare const _default: import("vue").DefineComponent<import("vue").ExtractPropT
|
|
|
1937
1938
|
strategy?: Strategy;
|
|
1938
1939
|
};
|
|
1939
1940
|
color: "primary" | "red" | "orange" | "amber" | "yellow" | "lime" | "green" | "emerald" | "teal" | "cyan" | "sky" | "blue" | "indigo" | "violet" | "purple" | "fuchsia" | "pink" | "rose";
|
|
1940
|
-
class: any;
|
|
1941
1941
|
value: number;
|
|
1942
1942
|
indicator: boolean;
|
|
1943
1943
|
animation: "carousel" | "carousel-inverse" | "swing" | "elastic";
|
|
@@ -2122,6 +2122,7 @@ declare const _default: import("vue").DefineComponent<import("vue").ExtractPropT
|
|
|
2122
2122
|
}>, {
|
|
2123
2123
|
name: string;
|
|
2124
2124
|
required: boolean;
|
|
2125
|
+
class: any;
|
|
2125
2126
|
ui: {
|
|
2126
2127
|
wrapper?: string;
|
|
2127
2128
|
container?: string;
|
|
@@ -2146,11 +2147,10 @@ declare const _default: import("vue").DefineComponent<import("vue").ExtractPropT
|
|
|
2146
2147
|
};
|
|
2147
2148
|
color: "primary" | "red" | "orange" | "amber" | "yellow" | "lime" | "green" | "emerald" | "teal" | "cyan" | "sky" | "blue" | "indigo" | "violet" | "purple" | "fuchsia" | "pink" | "rose";
|
|
2148
2149
|
disabled: boolean;
|
|
2150
|
+
label: string;
|
|
2149
2151
|
id: string;
|
|
2150
|
-
class: any;
|
|
2151
2152
|
modelValue: boolean | any[];
|
|
2152
2153
|
value: string | number | boolean | Record<string, any>;
|
|
2153
|
-
label: string;
|
|
2154
2154
|
help: string;
|
|
2155
2155
|
indeterminate: boolean;
|
|
2156
2156
|
inputClass: string;
|
|
@@ -218,6 +218,7 @@ declare const _default: import("vue").DefineComponent<import("vue").ExtractPropT
|
|
|
218
218
|
onClose?: (...args: any[]) => any;
|
|
219
219
|
onOpen?: (...args: any[]) => any;
|
|
220
220
|
}>, {
|
|
221
|
+
class: any;
|
|
221
222
|
ui: {
|
|
222
223
|
wrapper?: string;
|
|
223
224
|
container?: string;
|
|
@@ -244,7 +245,6 @@ declare const _default: import("vue").DefineComponent<import("vue").ExtractPropT
|
|
|
244
245
|
} & {
|
|
245
246
|
strategy?: Strategy;
|
|
246
247
|
};
|
|
247
|
-
class: any;
|
|
248
248
|
defaultOpen: boolean;
|
|
249
249
|
unmount: boolean;
|
|
250
250
|
items: AccordionItem[];
|
|
@@ -950,6 +950,8 @@ declare const _default: import("vue").DefineComponent<import("vue").ExtractPropT
|
|
|
950
950
|
}>> & Readonly<{}>, {
|
|
951
951
|
type: string;
|
|
952
952
|
size: import("../../types/button.js").ButtonSize;
|
|
953
|
+
class: any;
|
|
954
|
+
target: "_blank" | "_parent" | "_self" | "_top" | (string & {});
|
|
953
955
|
ui: {
|
|
954
956
|
base?: string;
|
|
955
957
|
font?: string;
|
|
@@ -1037,7 +1039,6 @@ declare const _default: import("vue").DefineComponent<import("vue").ExtractPropT
|
|
|
1037
1039
|
color: import("../../types/button.js").ButtonColor;
|
|
1038
1040
|
variant: import("../../types/button.js").ButtonVariant;
|
|
1039
1041
|
truncate: boolean;
|
|
1040
|
-
target: "_blank" | "_parent" | "_self" | "_top" | (string & {});
|
|
1041
1042
|
to: string | import("vue-router").RouteLocationAsRelativeGeneric | import("vue-router").RouteLocationAsPathGeneric;
|
|
1042
1043
|
activeClass: string;
|
|
1043
1044
|
exactActiveClass: string;
|
|
@@ -1052,11 +1053,10 @@ declare const _default: import("vue").DefineComponent<import("vue").ExtractPropT
|
|
|
1052
1053
|
disabled: boolean;
|
|
1053
1054
|
href: string | import("vue-router").RouteLocationAsRelativeGeneric | import("vue-router").RouteLocationAsPathGeneric;
|
|
1054
1055
|
rel: any;
|
|
1056
|
+
label: string;
|
|
1055
1057
|
icon: string;
|
|
1056
|
-
class: any;
|
|
1057
1058
|
block: boolean;
|
|
1058
1059
|
square: boolean;
|
|
1059
|
-
label: string;
|
|
1060
1060
|
loading: boolean;
|
|
1061
1061
|
padded: boolean;
|
|
1062
1062
|
loadingIcon: string;
|
|
@@ -182,6 +182,7 @@ declare const _default: import("vue").DefineComponent<import("vue").ExtractPropT
|
|
|
182
182
|
}>> & Readonly<{
|
|
183
183
|
onClose?: (...args: any[]) => any;
|
|
184
184
|
}>, {
|
|
185
|
+
class: any;
|
|
185
186
|
ui: {
|
|
186
187
|
wrapper?: string;
|
|
187
188
|
inner?: string;
|
|
@@ -235,7 +236,6 @@ declare const _default: import("vue").DefineComponent<import("vue").ExtractPropT
|
|
|
235
236
|
icon: string;
|
|
236
237
|
closeButton: Button;
|
|
237
238
|
actions: AlertAction[];
|
|
238
|
-
class: any;
|
|
239
239
|
}, {}, {
|
|
240
240
|
UIcon: import("vue").DefineComponent<import("vue").ExtractPropTypes<{
|
|
241
241
|
name: {
|
|
@@ -579,6 +579,7 @@ declare const _default: import("vue").DefineComponent<import("vue").ExtractPropT
|
|
|
579
579
|
};
|
|
580
580
|
}>> & Readonly<{}>, {
|
|
581
581
|
size: import("../../types/avatar.js").AvatarSize;
|
|
582
|
+
class: any;
|
|
582
583
|
ui: {
|
|
583
584
|
wrapper?: string;
|
|
584
585
|
background?: string;
|
|
@@ -643,10 +644,9 @@ declare const _default: import("vue").DefineComponent<import("vue").ExtractPropT
|
|
|
643
644
|
strategy?: Strategy;
|
|
644
645
|
};
|
|
645
646
|
as: string | Record<string, any>;
|
|
647
|
+
text: string;
|
|
646
648
|
alt: string;
|
|
647
649
|
icon: string;
|
|
648
|
-
class: any;
|
|
649
|
-
text: string;
|
|
650
650
|
src: string | boolean;
|
|
651
651
|
chipColor: import("../../types/avatar.js").AvatarChipColor;
|
|
652
652
|
chipPosition: "top-right" | "bottom-right" | "top-left" | "bottom-left";
|
|
@@ -1247,6 +1247,8 @@ declare const _default: import("vue").DefineComponent<import("vue").ExtractPropT
|
|
|
1247
1247
|
}>> & Readonly<{}>, {
|
|
1248
1248
|
type: string;
|
|
1249
1249
|
size: import("../../types/button.js").ButtonSize;
|
|
1250
|
+
class: any;
|
|
1251
|
+
target: "_blank" | "_parent" | "_self" | "_top" | (string & {});
|
|
1250
1252
|
ui: {
|
|
1251
1253
|
base?: string;
|
|
1252
1254
|
font?: string;
|
|
@@ -1334,7 +1336,6 @@ declare const _default: import("vue").DefineComponent<import("vue").ExtractPropT
|
|
|
1334
1336
|
color: import("../../types/button.js").ButtonColor;
|
|
1335
1337
|
variant: import("../../types/button.js").ButtonVariant;
|
|
1336
1338
|
truncate: boolean;
|
|
1337
|
-
target: "_blank" | "_parent" | "_self" | "_top" | (string & {});
|
|
1338
1339
|
to: string | import("vue-router").RouteLocationAsRelativeGeneric | import("vue-router").RouteLocationAsPathGeneric;
|
|
1339
1340
|
activeClass: string;
|
|
1340
1341
|
exactActiveClass: string;
|
|
@@ -1349,11 +1350,10 @@ declare const _default: import("vue").DefineComponent<import("vue").ExtractPropT
|
|
|
1349
1350
|
disabled: boolean;
|
|
1350
1351
|
href: string | import("vue-router").RouteLocationAsRelativeGeneric | import("vue-router").RouteLocationAsPathGeneric;
|
|
1351
1352
|
rel: any;
|
|
1353
|
+
label: string;
|
|
1352
1354
|
icon: string;
|
|
1353
|
-
class: any;
|
|
1354
1355
|
block: boolean;
|
|
1355
1356
|
square: boolean;
|
|
1356
|
-
label: string;
|
|
1357
1357
|
loading: boolean;
|
|
1358
1358
|
padded: boolean;
|
|
1359
1359
|
loadingIcon: string;
|
|
@@ -240,6 +240,7 @@ declare const _default: import("vue").DefineComponent<import("vue").ExtractPropT
|
|
|
240
240
|
};
|
|
241
241
|
}>> & Readonly<{}>, {
|
|
242
242
|
size: AvatarSize;
|
|
243
|
+
class: any;
|
|
243
244
|
ui: {
|
|
244
245
|
wrapper?: string;
|
|
245
246
|
background?: string;
|
|
@@ -304,10 +305,9 @@ declare const _default: import("vue").DefineComponent<import("vue").ExtractPropT
|
|
|
304
305
|
strategy?: Strategy;
|
|
305
306
|
};
|
|
306
307
|
as: string | Record<string, any>;
|
|
308
|
+
text: string;
|
|
307
309
|
alt: string;
|
|
308
310
|
icon: string;
|
|
309
|
-
class: any;
|
|
310
|
-
text: string;
|
|
311
311
|
src: string | boolean;
|
|
312
312
|
chipColor: AvatarChipColor;
|
|
313
313
|
chipPosition: "top-right" | "bottom-right" | "top-left" | "bottom-left";
|
|
@@ -161,6 +161,7 @@ declare const _default: import("vue").DefineComponent<import("vue").ExtractPropT
|
|
|
161
161
|
};
|
|
162
162
|
}>> & Readonly<{}>, {
|
|
163
163
|
size: BadgeSize;
|
|
164
|
+
class: any;
|
|
164
165
|
ui: {
|
|
165
166
|
base?: string;
|
|
166
167
|
rounded?: string;
|
|
@@ -216,9 +217,8 @@ declare const _default: import("vue").DefineComponent<import("vue").ExtractPropT
|
|
|
216
217
|
color: BadgeColor;
|
|
217
218
|
variant: BadgeVariant;
|
|
218
219
|
leading: boolean;
|
|
219
|
-
icon: string;
|
|
220
|
-
class: any;
|
|
221
220
|
label: string | number;
|
|
221
|
+
icon: string;
|
|
222
222
|
leadingIcon: string;
|
|
223
223
|
trailingIcon: string;
|
|
224
224
|
trailing: boolean;
|
|
@@ -470,6 +470,8 @@ declare const _default: import("vue").DefineComponent<import("vue").ExtractPropT
|
|
|
470
470
|
}>> & Readonly<{}>, {
|
|
471
471
|
type: string;
|
|
472
472
|
size: ButtonSize;
|
|
473
|
+
class: any;
|
|
474
|
+
target: "_blank" | "_parent" | "_self" | "_top" | (string & {});
|
|
473
475
|
ui: {
|
|
474
476
|
base?: string;
|
|
475
477
|
font?: string;
|
|
@@ -557,7 +559,6 @@ declare const _default: import("vue").DefineComponent<import("vue").ExtractPropT
|
|
|
557
559
|
color: ButtonColor;
|
|
558
560
|
variant: ButtonVariant;
|
|
559
561
|
truncate: boolean;
|
|
560
|
-
target: "_blank" | "_parent" | "_self" | "_top" | (string & {});
|
|
561
562
|
to: string | import("vue-router").RouteLocationAsRelativeGeneric | import("vue-router").RouteLocationAsPathGeneric;
|
|
562
563
|
activeClass: string;
|
|
563
564
|
exactActiveClass: string;
|
|
@@ -572,11 +573,10 @@ declare const _default: import("vue").DefineComponent<import("vue").ExtractPropT
|
|
|
572
573
|
disabled: boolean;
|
|
573
574
|
href: string | import("vue-router").RouteLocationAsRelativeGeneric | import("vue-router").RouteLocationAsPathGeneric;
|
|
574
575
|
rel: any;
|
|
576
|
+
label: string;
|
|
575
577
|
icon: string;
|
|
576
|
-
class: any;
|
|
577
578
|
block: boolean;
|
|
578
579
|
square: boolean;
|
|
579
|
-
label: string;
|
|
580
580
|
loading: boolean;
|
|
581
581
|
padded: boolean;
|
|
582
582
|
loadingIcon: string;
|
|
@@ -152,6 +152,7 @@ declare const _default: import("vue").DefineComponent<import("vue").ExtractPropT
|
|
|
152
152
|
default: any;
|
|
153
153
|
};
|
|
154
154
|
}>> & Readonly<{}>, {
|
|
155
|
+
class: any;
|
|
155
156
|
ui: {
|
|
156
157
|
wrapper?: string;
|
|
157
158
|
container?: string;
|
|
@@ -182,7 +183,6 @@ declare const _default: import("vue").DefineComponent<import("vue").ExtractPropT
|
|
|
182
183
|
} & {
|
|
183
184
|
strategy?: Strategy;
|
|
184
185
|
};
|
|
185
|
-
class: any;
|
|
186
186
|
items: any[];
|
|
187
187
|
arrows: boolean;
|
|
188
188
|
indicators: boolean;
|
|
@@ -742,6 +742,8 @@ declare const _default: import("vue").DefineComponent<import("vue").ExtractPropT
|
|
|
742
742
|
}>> & Readonly<{}>, {
|
|
743
743
|
type: string;
|
|
744
744
|
size: import("../../types/button.js").ButtonSize;
|
|
745
|
+
class: any;
|
|
746
|
+
target: "_blank" | "_parent" | "_self" | "_top" | (string & {});
|
|
745
747
|
ui: {
|
|
746
748
|
base?: string;
|
|
747
749
|
font?: string;
|
|
@@ -829,7 +831,6 @@ declare const _default: import("vue").DefineComponent<import("vue").ExtractPropT
|
|
|
829
831
|
color: import("../../types/button.js").ButtonColor;
|
|
830
832
|
variant: import("../../types/button.js").ButtonVariant;
|
|
831
833
|
truncate: boolean;
|
|
832
|
-
target: "_blank" | "_parent" | "_self" | "_top" | (string & {});
|
|
833
834
|
to: string | import("vue-router").RouteLocationAsRelativeGeneric | import("vue-router").RouteLocationAsPathGeneric;
|
|
834
835
|
activeClass: string;
|
|
835
836
|
exactActiveClass: string;
|
|
@@ -844,11 +845,10 @@ declare const _default: import("vue").DefineComponent<import("vue").ExtractPropT
|
|
|
844
845
|
disabled: boolean;
|
|
845
846
|
href: string | import("vue-router").RouteLocationAsRelativeGeneric | import("vue-router").RouteLocationAsPathGeneric;
|
|
846
847
|
rel: any;
|
|
848
|
+
label: string;
|
|
847
849
|
icon: string;
|
|
848
|
-
class: any;
|
|
849
850
|
block: boolean;
|
|
850
851
|
square: boolean;
|
|
851
|
-
label: string;
|
|
852
852
|
loading: boolean;
|
|
853
853
|
padded: boolean;
|
|
854
854
|
loadingIcon: string;
|
|
@@ -151,6 +151,7 @@ declare const _default: import("vue").DefineComponent<import("vue").ExtractPropT
|
|
|
151
151
|
};
|
|
152
152
|
}>> & Readonly<{}>, {
|
|
153
153
|
size: "sm" | "xs" | "2xs" | "md" | "lg" | "xl" | "3xs" | "2xl" | "3xl";
|
|
154
|
+
class: any;
|
|
154
155
|
ui: {
|
|
155
156
|
wrapper?: string;
|
|
156
157
|
base?: string;
|
|
@@ -192,7 +193,6 @@ declare const _default: import("vue").DefineComponent<import("vue").ExtractPropT
|
|
|
192
193
|
color: ChipColor;
|
|
193
194
|
inset: boolean;
|
|
194
195
|
position: "top-right" | "bottom-right" | "top-left" | "bottom-left";
|
|
195
|
-
class: any;
|
|
196
196
|
text: string | number;
|
|
197
197
|
show: boolean;
|
|
198
198
|
}, {}, {}, {}, string, import("vue").ComponentProvideOptions, true, {}, any>;
|
|
@@ -242,6 +242,7 @@ declare const _default: import("vue").DefineComponent<import("vue").ExtractPropT
|
|
|
242
242
|
"onUpdate:open"?: (...args: any[]) => any;
|
|
243
243
|
}>, {
|
|
244
244
|
mode: "click" | "hover";
|
|
245
|
+
class: any;
|
|
245
246
|
ui: {
|
|
246
247
|
wrapper?: string;
|
|
247
248
|
container?: string;
|
|
@@ -306,7 +307,6 @@ declare const _default: import("vue").DefineComponent<import("vue").ExtractPropT
|
|
|
306
307
|
};
|
|
307
308
|
popper: PopperOptions;
|
|
308
309
|
disabled: boolean;
|
|
309
|
-
class: any;
|
|
310
310
|
open: boolean;
|
|
311
311
|
items: DropdownItem[][];
|
|
312
312
|
openDelay: number;
|
|
@@ -785,6 +785,7 @@ declare const _default: import("vue").DefineComponent<import("vue").ExtractPropT
|
|
|
785
785
|
};
|
|
786
786
|
}>> & Readonly<{}>, {
|
|
787
787
|
size: import("../../types/avatar.js").AvatarSize;
|
|
788
|
+
class: any;
|
|
788
789
|
ui: {
|
|
789
790
|
wrapper?: string;
|
|
790
791
|
background?: string;
|
|
@@ -849,10 +850,9 @@ declare const _default: import("vue").DefineComponent<import("vue").ExtractPropT
|
|
|
849
850
|
strategy?: Strategy;
|
|
850
851
|
};
|
|
851
852
|
as: string | Record<string, any>;
|
|
853
|
+
text: string;
|
|
852
854
|
alt: string;
|
|
853
855
|
icon: string;
|
|
854
|
-
class: any;
|
|
855
|
-
text: string;
|
|
856
856
|
src: string | boolean;
|
|
857
857
|
chipColor: import("../../types/avatar.js").AvatarChipColor;
|
|
858
858
|
chipPosition: "top-right" | "bottom-right" | "top-left" | "bottom-left";
|
|
@@ -998,6 +998,7 @@ declare const _default: import("vue").DefineComponent<import("vue").ExtractPropT
|
|
|
998
998
|
};
|
|
999
999
|
}>> & Readonly<{}>, {
|
|
1000
1000
|
size: import("../../types/kbd.js").KbdSize;
|
|
1001
|
+
class: any;
|
|
1001
1002
|
ui: {
|
|
1002
1003
|
base?: string;
|
|
1003
1004
|
padding?: string;
|
|
@@ -1018,7 +1019,6 @@ declare const _default: import("vue").DefineComponent<import("vue").ExtractPropT
|
|
|
1018
1019
|
} & {
|
|
1019
1020
|
strategy?: Strategy;
|
|
1020
1021
|
};
|
|
1021
|
-
class: any;
|
|
1022
1022
|
value: string;
|
|
1023
1023
|
}, {}, {}, {}, string, import("vue").ComponentProvideOptions, true, {}, any>;
|
|
1024
1024
|
}, {}, string, import("vue").ComponentProvideOptions, true, {}, any>;
|
|
@@ -79,6 +79,7 @@ declare const _default: import("vue").DefineComponent<import("vue").ExtractPropT
|
|
|
79
79
|
};
|
|
80
80
|
}>> & Readonly<{}>, {
|
|
81
81
|
size: KbdSize;
|
|
82
|
+
class: any;
|
|
82
83
|
ui: {
|
|
83
84
|
base?: string;
|
|
84
85
|
padding?: string;
|
|
@@ -99,7 +100,6 @@ declare const _default: import("vue").DefineComponent<import("vue").ExtractPropT
|
|
|
99
100
|
} & {
|
|
100
101
|
strategy?: Strategy;
|
|
101
102
|
};
|
|
102
|
-
class: any;
|
|
103
103
|
value: string;
|
|
104
104
|
}, {}, {}, {}, string, import("vue").ComponentProvideOptions, true, {}, any>;
|
|
105
105
|
export default _default;
|
|
@@ -257,6 +257,7 @@ declare const _default: import("vue").DefineComponent<import("vue").ExtractPropT
|
|
|
257
257
|
};
|
|
258
258
|
}>> & Readonly<{}>, {
|
|
259
259
|
size: "sm" | "xs" | "2xs" | "md" | "lg" | "xl" | "2xl";
|
|
260
|
+
class: any;
|
|
260
261
|
ui: {
|
|
261
262
|
wrapper?: string;
|
|
262
263
|
indicator?: DeepPartial<{
|
|
@@ -338,10 +339,9 @@ declare const _default: import("vue").DefineComponent<import("vue").ExtractPropT
|
|
|
338
339
|
strategy?: Strategy;
|
|
339
340
|
};
|
|
340
341
|
color: MeterColor;
|
|
342
|
+
label: string;
|
|
341
343
|
icon: string;
|
|
342
|
-
class: any;
|
|
343
344
|
value: number;
|
|
344
|
-
label: string;
|
|
345
345
|
indicator: boolean;
|
|
346
346
|
max: number;
|
|
347
347
|
min: number;
|
|
@@ -269,6 +269,7 @@ declare const _default: import("vue").DefineComponent<import("vue").ExtractPropT
|
|
|
269
269
|
};
|
|
270
270
|
}>> & Readonly<{}>, {
|
|
271
271
|
size: "sm" | "xs" | "2xs" | "md" | "lg" | "xl" | "2xl";
|
|
272
|
+
class: any;
|
|
272
273
|
ui: {
|
|
273
274
|
wrapper?: string;
|
|
274
275
|
indicator?: DeepPartial<{
|
|
@@ -348,7 +349,6 @@ declare const _default: import("vue").DefineComponent<import("vue").ExtractPropT
|
|
|
348
349
|
strategy?: Strategy;
|
|
349
350
|
};
|
|
350
351
|
color: "primary" | "red" | "orange" | "amber" | "yellow" | "lime" | "green" | "emerald" | "teal" | "cyan" | "sky" | "blue" | "indigo" | "violet" | "purple" | "fuchsia" | "pink" | "rose";
|
|
351
|
-
class: any;
|
|
352
352
|
value: number;
|
|
353
353
|
indicator: boolean;
|
|
354
354
|
animation: "carousel" | "carousel-inverse" | "swing" | "elastic";
|
|
@@ -164,6 +164,7 @@ declare const _default: import("vue").DefineComponent<import("vue").ExtractPropT
|
|
|
164
164
|
}>, {
|
|
165
165
|
name: string;
|
|
166
166
|
required: boolean;
|
|
167
|
+
class: any;
|
|
167
168
|
ui: {
|
|
168
169
|
wrapper?: string;
|
|
169
170
|
container?: string;
|
|
@@ -188,11 +189,10 @@ declare const _default: import("vue").DefineComponent<import("vue").ExtractPropT
|
|
|
188
189
|
};
|
|
189
190
|
color: "primary" | "red" | "orange" | "amber" | "yellow" | "lime" | "green" | "emerald" | "teal" | "cyan" | "sky" | "blue" | "indigo" | "violet" | "purple" | "fuchsia" | "pink" | "rose";
|
|
190
191
|
disabled: boolean;
|
|
192
|
+
label: string;
|
|
191
193
|
id: string;
|
|
192
|
-
class: any;
|
|
193
194
|
modelValue: boolean | any[];
|
|
194
195
|
value: string | number | boolean | Record<string, any>;
|
|
195
|
-
label: string;
|
|
196
196
|
help: string;
|
|
197
197
|
indeterminate: boolean;
|
|
198
198
|
inputClass: string;
|
|
@@ -49,8 +49,8 @@ declare const _default: import("vue").DefineComponent<import("vue").ExtractPropT
|
|
|
49
49
|
default: () => string[];
|
|
50
50
|
};
|
|
51
51
|
}>> & Readonly<{
|
|
52
|
-
onError?: (...args: any[]) => any;
|
|
53
52
|
onSubmit?: (...args: any[]) => any;
|
|
53
|
+
onError?: (...args: any[]) => any;
|
|
54
54
|
}>, {
|
|
55
55
|
schema: StandardSchemaV1<unknown, unknown> | YupObjectSchema<any, import("yup").AnyObject, any, ""> | Struct<any, any> | import("joi").AnySchema<any>;
|
|
56
56
|
validate: ((state: any) => Promise<FormError[]>) | ((state: any) => FormError[]);
|
|
@@ -157,6 +157,7 @@ declare const _default: import("vue").DefineComponent<import("vue").ExtractPropT
|
|
|
157
157
|
name: string;
|
|
158
158
|
required: boolean;
|
|
159
159
|
size: FormGroupSize;
|
|
160
|
+
class: any;
|
|
160
161
|
ui: {
|
|
161
162
|
wrapper?: string;
|
|
162
163
|
inner?: string;
|
|
@@ -186,10 +187,9 @@ declare const _default: import("vue").DefineComponent<import("vue").ExtractPropT
|
|
|
186
187
|
} & {
|
|
187
188
|
strategy?: Strategy;
|
|
188
189
|
};
|
|
190
|
+
label: string;
|
|
189
191
|
error: string | boolean;
|
|
190
192
|
description: string;
|
|
191
|
-
class: any;
|
|
192
|
-
label: string;
|
|
193
193
|
help: string;
|
|
194
194
|
hint: string;
|
|
195
195
|
eagerValidation: boolean;
|
|
@@ -452,14 +452,16 @@ declare const _default: import("vue").DefineComponent<import("vue").ExtractPropT
|
|
|
452
452
|
default: () => {};
|
|
453
453
|
};
|
|
454
454
|
}>> & Readonly<{
|
|
455
|
+
onBlur?: (...args: any[]) => any;
|
|
455
456
|
onChange?: (...args: any[]) => any;
|
|
456
457
|
"onUpdate:modelValue"?: (...args: any[]) => any;
|
|
457
|
-
onBlur?: (...args: any[]) => any;
|
|
458
458
|
}>, {
|
|
459
459
|
name: string;
|
|
460
460
|
type: string;
|
|
461
461
|
required: boolean;
|
|
462
462
|
size: InputSize;
|
|
463
|
+
class: any;
|
|
464
|
+
placeholder: string;
|
|
463
465
|
ui: {
|
|
464
466
|
wrapper?: string;
|
|
465
467
|
base?: string;
|
|
@@ -579,7 +581,6 @@ declare const _default: import("vue").DefineComponent<import("vue").ExtractPropT
|
|
|
579
581
|
disabled: boolean;
|
|
580
582
|
id: string;
|
|
581
583
|
icon: string;
|
|
582
|
-
class: any;
|
|
583
584
|
modelValue: string | number;
|
|
584
585
|
loading: boolean;
|
|
585
586
|
padded: boolean;
|
|
@@ -588,7 +589,6 @@ declare const _default: import("vue").DefineComponent<import("vue").ExtractPropT
|
|
|
588
589
|
trailingIcon: string;
|
|
589
590
|
trailing: boolean;
|
|
590
591
|
inputClass: string;
|
|
591
|
-
placeholder: string;
|
|
592
592
|
autofocus: boolean;
|
|
593
593
|
autofocusDelay: number;
|
|
594
594
|
modelModifiers: {
|
|
@@ -306,6 +306,9 @@ export default defineComponent({
|
|
|
306
306
|
emit("update:query", value);
|
|
307
307
|
}
|
|
308
308
|
});
|
|
309
|
+
function isObject(object) {
|
|
310
|
+
return !Array.isArray(object) && object !== null && typeof object === "object";
|
|
311
|
+
}
|
|
309
312
|
const label = computed(() => {
|
|
310
313
|
if (!props.modelValue) return null;
|
|
311
314
|
function getValue(value) {
|
|
@@ -315,7 +318,7 @@ export default defineComponent({
|
|
|
315
318
|
return value;
|
|
316
319
|
}
|
|
317
320
|
function compareValues(value1, value2) {
|
|
318
|
-
if (by.value && typeof by.value !== "function" &&
|
|
321
|
+
if (by.value && typeof by.value !== "function" && isObject(value1) && isObject(value2)) {
|
|
319
322
|
return isEqual(value1[props.by], value2[props.by]);
|
|
320
323
|
}
|
|
321
324
|
return isEqual(value1, value2);
|
|
@@ -668,8 +668,8 @@ declare const _default: import("vue").DefineComponent<import("vue").ExtractPropT
|
|
|
668
668
|
default: () => {};
|
|
669
669
|
};
|
|
670
670
|
}>> & Readonly<{
|
|
671
|
-
onClose?: (...args: any[]) => any;
|
|
672
671
|
onChange?: (...args: any[]) => any;
|
|
672
|
+
onClose?: (...args: any[]) => any;
|
|
673
673
|
"onUpdate:modelValue"?: (...args: any[]) => any;
|
|
674
674
|
onOpen?: (...args: any[]) => any;
|
|
675
675
|
"onUpdate:query"?: (...args: any[]) => any;
|
|
@@ -677,6 +677,8 @@ declare const _default: import("vue").DefineComponent<import("vue").ExtractPropT
|
|
|
677
677
|
name: string;
|
|
678
678
|
required: boolean;
|
|
679
679
|
size: InputSize;
|
|
680
|
+
class: any;
|
|
681
|
+
placeholder: string;
|
|
680
682
|
ui: {
|
|
681
683
|
wrapper?: string;
|
|
682
684
|
base?: string;
|
|
@@ -799,7 +801,6 @@ declare const _default: import("vue").DefineComponent<import("vue").ExtractPropT
|
|
|
799
801
|
query: string;
|
|
800
802
|
id: string;
|
|
801
803
|
icon: string;
|
|
802
|
-
class: any;
|
|
803
804
|
options: string[] | {
|
|
804
805
|
[key: string]: any;
|
|
805
806
|
disabled?: boolean;
|
|
@@ -813,7 +814,6 @@ declare const _default: import("vue").DefineComponent<import("vue").ExtractPropT
|
|
|
813
814
|
trailing: boolean;
|
|
814
815
|
inputClass: string;
|
|
815
816
|
by: string;
|
|
816
|
-
placeholder: string;
|
|
817
817
|
nullable: boolean;
|
|
818
818
|
selectedIcon: string;
|
|
819
819
|
optionAttribute: string;
|
|
@@ -1533,6 +1533,7 @@ declare const _default: import("vue").DefineComponent<import("vue").ExtractPropT
|
|
|
1533
1533
|
};
|
|
1534
1534
|
}>> & Readonly<{}>, {
|
|
1535
1535
|
size: import("../../types/avatar.js").AvatarSize;
|
|
1536
|
+
class: any;
|
|
1536
1537
|
ui: {
|
|
1537
1538
|
wrapper?: string;
|
|
1538
1539
|
background?: string;
|
|
@@ -1597,10 +1598,9 @@ declare const _default: import("vue").DefineComponent<import("vue").ExtractPropT
|
|
|
1597
1598
|
strategy?: Strategy;
|
|
1598
1599
|
};
|
|
1599
1600
|
as: string | Record<string, any>;
|
|
1601
|
+
text: string;
|
|
1600
1602
|
alt: string;
|
|
1601
1603
|
icon: string;
|
|
1602
|
-
class: any;
|
|
1603
|
-
text: string;
|
|
1604
1604
|
src: string | boolean;
|
|
1605
1605
|
chipColor: import("../../types/avatar.js").AvatarChipColor;
|
|
1606
1606
|
chipPosition: "top-right" | "bottom-right" | "top-left" | "bottom-left";
|
|
@@ -154,6 +154,7 @@ declare const _default: import("vue").DefineComponent<import("vue").ExtractPropT
|
|
|
154
154
|
}>, {
|
|
155
155
|
name: string;
|
|
156
156
|
required: boolean;
|
|
157
|
+
class: any;
|
|
157
158
|
ui: {
|
|
158
159
|
wrapper?: string;
|
|
159
160
|
container?: string;
|
|
@@ -177,11 +178,10 @@ declare const _default: import("vue").DefineComponent<import("vue").ExtractPropT
|
|
|
177
178
|
};
|
|
178
179
|
color: "primary" | "red" | "orange" | "amber" | "yellow" | "lime" | "green" | "emerald" | "teal" | "cyan" | "sky" | "blue" | "indigo" | "violet" | "purple" | "fuchsia" | "pink" | "rose";
|
|
179
180
|
disabled: boolean;
|
|
181
|
+
label: string;
|
|
180
182
|
id: string;
|
|
181
|
-
class: any;
|
|
182
183
|
modelValue: string | number | boolean | object;
|
|
183
184
|
value: string | number | boolean;
|
|
184
|
-
label: string;
|
|
185
185
|
help: string;
|
|
186
186
|
inputClass: string;
|
|
187
187
|
}, {}, {}, {}, string, import("vue").ComponentProvideOptions, true, {}, any>;
|