@nuxt/ui 2.21.1 → 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 +22 -7
- package/dist/module.d.mts +2 -1
- package/dist/module.json +3 -3
- package/dist/module.mjs +2 -11
- package/dist/runtime/components/data/Table.vue +16 -13
- package/dist/runtime/components/data/Table.vue.d.ts +44 -347
- 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 +6 -6
- package/dist/runtime/components/elements/Alert.vue.d.ts +38 -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 +7 -7
- 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/MeterGroup.d.ts +1 -1
- 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 +0 -45
- package/dist/runtime/components/forms/Form.vue.d.ts +3 -7
- 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 +2 -2
- 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 +4 -4
- package/dist/runtime/components/forms/SelectMenu.vue.d.ts +16 -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 +42 -42
- package/dist/runtime/components/overlays/Notifications.vue.d.ts +67 -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/useToast.d.ts +4 -4
- package/dist/runtime/ui.config/forms/selectMenu.d.ts +1 -1
- package/dist/runtime/utils/link.js +4 -2
- package/dist/types.d.mts +3 -1
- package/package.json +60 -35
- package/dist/module.cjs +0 -5
- package/dist/module.d.ts +0 -40
- package/dist/types.d.ts +0 -1
|
@@ -1,5 +1,5 @@
|
|
|
1
1
|
<template>
|
|
2
|
-
<div :class="
|
|
2
|
+
<div :class="type === 'hidden' ? 'hidden' : ui.wrapper">
|
|
3
3
|
<input
|
|
4
4
|
:id="inputId"
|
|
5
5
|
ref="input"
|
|
@@ -16,13 +16,13 @@
|
|
|
16
16
|
>
|
|
17
17
|
<slot />
|
|
18
18
|
|
|
19
|
-
<span v-if="
|
|
19
|
+
<span v-if="isLeading && leadingIconName || $slots.leading" :class="leadingWrapperIconClass">
|
|
20
20
|
<slot name="leading" :disabled="disabled" :loading="loading">
|
|
21
21
|
<UIcon :name="leadingIconName" :class="leadingIconClass" />
|
|
22
22
|
</slot>
|
|
23
23
|
</span>
|
|
24
24
|
|
|
25
|
-
<span v-if="
|
|
25
|
+
<span v-if="isTrailing && trailingIconName || $slots.trailing" :class="trailingWrapperIconClass">
|
|
26
26
|
<slot name="trailing" :disabled="disabled" :loading="loading">
|
|
27
27
|
<UIcon :name="trailingIconName" :class="trailingIconClass" />
|
|
28
28
|
</slot>
|
|
@@ -452,16 +452,14 @@ declare const _default: import("vue").DefineComponent<import("vue").ExtractPropT
|
|
|
452
452
|
default: () => {};
|
|
453
453
|
};
|
|
454
454
|
}>> & Readonly<{
|
|
455
|
-
onBlur?: (...args: any[]) => any;
|
|
456
455
|
onChange?: (...args: any[]) => any;
|
|
457
456
|
"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
|
-
disabled: boolean;
|
|
465
463
|
ui: {
|
|
466
464
|
wrapper?: string;
|
|
467
465
|
base?: string;
|
|
@@ -578,8 +576,10 @@ declare const _default: import("vue").DefineComponent<import("vue").ExtractPropT
|
|
|
578
576
|
color: InputColor;
|
|
579
577
|
variant: InputVariant;
|
|
580
578
|
leading: boolean;
|
|
579
|
+
disabled: boolean;
|
|
581
580
|
id: string;
|
|
582
581
|
icon: string;
|
|
582
|
+
class: any;
|
|
583
583
|
modelValue: string | number;
|
|
584
584
|
loading: boolean;
|
|
585
585
|
padded: boolean;
|
|
@@ -24,13 +24,13 @@
|
|
|
24
24
|
@change="onQueryChange"
|
|
25
25
|
/>
|
|
26
26
|
|
|
27
|
-
<span v-if="
|
|
27
|
+
<span v-if="isLeading && leadingIconName || $slots.leading" :class="leadingWrapperIconClass">
|
|
28
28
|
<slot name="leading" :disabled="disabled" :loading="loading">
|
|
29
29
|
<UIcon :name="leadingIconName" :class="leadingIconClass" />
|
|
30
30
|
</slot>
|
|
31
31
|
</span>
|
|
32
32
|
|
|
33
|
-
<HComboboxButton v-if="
|
|
33
|
+
<HComboboxButton v-if="isTrailing && trailingIconName || $slots.trailing" ref="trigger" :class="trailingWrapperIconClass">
|
|
34
34
|
<slot name="trailing" :disabled="disabled" :loading="loading">
|
|
35
35
|
<UIcon :name="trailingIconName" :class="trailingIconClass" />
|
|
36
36
|
</slot>
|
|
@@ -145,7 +145,7 @@ declare const configMenu: {
|
|
|
145
145
|
};
|
|
146
146
|
avatar: {
|
|
147
147
|
base: string;
|
|
148
|
-
size: import("../../types/avatar").AvatarSize;
|
|
148
|
+
size: import("../../types/avatar.js").AvatarSize;
|
|
149
149
|
};
|
|
150
150
|
chip: {
|
|
151
151
|
base: string;
|
|
@@ -467,7 +467,7 @@ declare const _default: import("vue").DefineComponent<import("vue").ExtractPropT
|
|
|
467
467
|
};
|
|
468
468
|
avatar: {
|
|
469
469
|
base: string;
|
|
470
|
-
size: import("../../types/avatar").AvatarSize;
|
|
470
|
+
size: import("../../types/avatar.js").AvatarSize;
|
|
471
471
|
};
|
|
472
472
|
chip: {
|
|
473
473
|
base: string;
|
|
@@ -668,8 +668,8 @@ declare const _default: import("vue").DefineComponent<import("vue").ExtractPropT
|
|
|
668
668
|
default: () => {};
|
|
669
669
|
};
|
|
670
670
|
}>> & Readonly<{
|
|
671
|
-
onChange?: (...args: any[]) => any;
|
|
672
671
|
onClose?: (...args: any[]) => any;
|
|
672
|
+
onChange?: (...args: any[]) => any;
|
|
673
673
|
"onUpdate:modelValue"?: (...args: any[]) => any;
|
|
674
674
|
onOpen?: (...args: any[]) => any;
|
|
675
675
|
"onUpdate:query"?: (...args: any[]) => any;
|
|
@@ -677,8 +677,6 @@ 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
|
-
disabled: boolean;
|
|
682
680
|
ui: {
|
|
683
681
|
wrapper?: string;
|
|
684
682
|
base?: string;
|
|
@@ -797,9 +795,11 @@ declare const _default: import("vue").DefineComponent<import("vue").ExtractPropT
|
|
|
797
795
|
search: (query: string) => Promise<any[]> | any[];
|
|
798
796
|
leading: boolean;
|
|
799
797
|
popper: PopperOptions;
|
|
798
|
+
disabled: boolean;
|
|
800
799
|
query: string;
|
|
801
800
|
id: string;
|
|
802
801
|
icon: string;
|
|
802
|
+
class: any;
|
|
803
803
|
options: string[] | {
|
|
804
804
|
[key: string]: any;
|
|
805
805
|
disabled?: boolean;
|
|
@@ -857,7 +857,7 @@ declare const _default: import("vue").DefineComponent<import("vue").ExtractPropT
|
|
|
857
857
|
};
|
|
858
858
|
avatar: {
|
|
859
859
|
base: string;
|
|
860
|
-
size: import("../../types/avatar").AvatarSize;
|
|
860
|
+
size: import("../../types/avatar.js").AvatarSize;
|
|
861
861
|
};
|
|
862
862
|
chip: {
|
|
863
863
|
base: string;
|
|
@@ -1258,17 +1258,17 @@ declare const _default: import("vue").DefineComponent<import("vue").ExtractPropT
|
|
|
1258
1258
|
default: () => any;
|
|
1259
1259
|
};
|
|
1260
1260
|
size: {
|
|
1261
|
-
type: PropType<import("../../types/avatar").AvatarSize>;
|
|
1261
|
+
type: PropType<import("../../types/avatar.js").AvatarSize>;
|
|
1262
1262
|
default: () => string;
|
|
1263
1263
|
validator(value: string): boolean;
|
|
1264
1264
|
};
|
|
1265
1265
|
chipColor: {
|
|
1266
|
-
type: PropType<import("../../types/avatar").AvatarChipColor>;
|
|
1266
|
+
type: PropType<import("../../types/avatar.js").AvatarChipColor>;
|
|
1267
1267
|
default: () => any;
|
|
1268
1268
|
validator(value: string): boolean;
|
|
1269
1269
|
};
|
|
1270
1270
|
chipPosition: {
|
|
1271
|
-
type: PropType<import("../../types/avatar").AvatarChipPosition>;
|
|
1271
|
+
type: PropType<import("../../types/avatar.js").AvatarChipPosition>;
|
|
1272
1272
|
default: () => string;
|
|
1273
1273
|
validator(value: string): boolean;
|
|
1274
1274
|
};
|
|
@@ -1441,17 +1441,17 @@ declare const _default: import("vue").DefineComponent<import("vue").ExtractPropT
|
|
|
1441
1441
|
default: () => any;
|
|
1442
1442
|
};
|
|
1443
1443
|
size: {
|
|
1444
|
-
type: PropType<import("../../types/avatar").AvatarSize>;
|
|
1444
|
+
type: PropType<import("../../types/avatar.js").AvatarSize>;
|
|
1445
1445
|
default: () => string;
|
|
1446
1446
|
validator(value: string): boolean;
|
|
1447
1447
|
};
|
|
1448
1448
|
chipColor: {
|
|
1449
|
-
type: PropType<import("../../types/avatar").AvatarChipColor>;
|
|
1449
|
+
type: PropType<import("../../types/avatar.js").AvatarChipColor>;
|
|
1450
1450
|
default: () => any;
|
|
1451
1451
|
validator(value: string): boolean;
|
|
1452
1452
|
};
|
|
1453
1453
|
chipPosition: {
|
|
1454
|
-
type: PropType<import("../../types/avatar").AvatarChipPosition>;
|
|
1454
|
+
type: PropType<import("../../types/avatar.js").AvatarChipPosition>;
|
|
1455
1455
|
default: () => string;
|
|
1456
1456
|
validator(value: string): boolean;
|
|
1457
1457
|
};
|
|
@@ -1532,8 +1532,7 @@ declare const _default: import("vue").DefineComponent<import("vue").ExtractPropT
|
|
|
1532
1532
|
default: () => {};
|
|
1533
1533
|
};
|
|
1534
1534
|
}>> & Readonly<{}>, {
|
|
1535
|
-
size: import("../../types/avatar").AvatarSize;
|
|
1536
|
-
class: any;
|
|
1535
|
+
size: import("../../types/avatar.js").AvatarSize;
|
|
1537
1536
|
ui: {
|
|
1538
1537
|
wrapper?: string;
|
|
1539
1538
|
background?: string;
|
|
@@ -1598,11 +1597,12 @@ declare const _default: import("vue").DefineComponent<import("vue").ExtractPropT
|
|
|
1598
1597
|
strategy?: Strategy;
|
|
1599
1598
|
};
|
|
1600
1599
|
as: string | Record<string, any>;
|
|
1601
|
-
text: string;
|
|
1602
1600
|
alt: string;
|
|
1603
1601
|
icon: string;
|
|
1602
|
+
class: any;
|
|
1603
|
+
text: string;
|
|
1604
1604
|
src: string | boolean;
|
|
1605
|
-
chipColor: import("../../types/avatar").AvatarChipColor;
|
|
1605
|
+
chipColor: import("../../types/avatar.js").AvatarChipColor;
|
|
1606
1606
|
chipPosition: "top-right" | "bottom-right" | "top-left" | "bottom-left";
|
|
1607
1607
|
chipText: string | number;
|
|
1608
1608
|
imgClass: string;
|
|
@@ -154,8 +154,6 @@ declare const _default: import("vue").DefineComponent<import("vue").ExtractPropT
|
|
|
154
154
|
}>, {
|
|
155
155
|
name: string;
|
|
156
156
|
required: boolean;
|
|
157
|
-
class: any;
|
|
158
|
-
disabled: boolean;
|
|
159
157
|
ui: {
|
|
160
158
|
wrapper?: string;
|
|
161
159
|
container?: string;
|
|
@@ -178,10 +176,12 @@ declare const _default: import("vue").DefineComponent<import("vue").ExtractPropT
|
|
|
178
176
|
strategy?: Strategy;
|
|
179
177
|
};
|
|
180
178
|
color: "primary" | "red" | "orange" | "amber" | "yellow" | "lime" | "green" | "emerald" | "teal" | "cyan" | "sky" | "blue" | "indigo" | "violet" | "purple" | "fuchsia" | "pink" | "rose";
|
|
181
|
-
|
|
179
|
+
disabled: boolean;
|
|
182
180
|
id: string;
|
|
181
|
+
class: any;
|
|
183
182
|
modelValue: string | number | boolean | object;
|
|
184
183
|
value: string | number | boolean;
|
|
184
|
+
label: string;
|
|
185
185
|
help: string;
|
|
186
186
|
inputClass: string;
|
|
187
187
|
}, {}, {}, {}, string, import("vue").ComponentProvideOptions, true, {}, any>;
|
|
@@ -162,8 +162,6 @@ declare const _default: import("vue").DefineComponent<import("vue").ExtractPropT
|
|
|
162
162
|
"onUpdate:modelValue"?: (...args: any[]) => any;
|
|
163
163
|
}>, {
|
|
164
164
|
name: string;
|
|
165
|
-
class: any;
|
|
166
|
-
disabled: boolean;
|
|
167
165
|
ui: {
|
|
168
166
|
wrapper?: string;
|
|
169
167
|
fieldset?: string;
|
|
@@ -177,11 +175,13 @@ declare const _default: import("vue").DefineComponent<import("vue").ExtractPropT
|
|
|
177
175
|
strategy?: Strategy;
|
|
178
176
|
};
|
|
179
177
|
color: "primary" | "red" | "orange" | "amber" | "yellow" | "lime" | "green" | "emerald" | "teal" | "cyan" | "sky" | "blue" | "indigo" | "violet" | "purple" | "fuchsia" | "pink" | "rose";
|
|
180
|
-
|
|
178
|
+
disabled: boolean;
|
|
179
|
+
class: any;
|
|
181
180
|
options: unknown[];
|
|
182
181
|
modelValue: string | number | boolean | object;
|
|
183
182
|
optionAttribute: string;
|
|
184
183
|
valueAttribute: string;
|
|
184
|
+
legend: string;
|
|
185
185
|
uiRadio: {
|
|
186
186
|
wrapper?: string;
|
|
187
187
|
container?: string;
|
|
@@ -372,8 +372,6 @@ declare const _default: import("vue").DefineComponent<import("vue").ExtractPropT
|
|
|
372
372
|
}>, {
|
|
373
373
|
name: string;
|
|
374
374
|
required: boolean;
|
|
375
|
-
class: any;
|
|
376
|
-
disabled: boolean;
|
|
377
375
|
ui: {
|
|
378
376
|
wrapper?: string;
|
|
379
377
|
container?: string;
|
|
@@ -396,10 +394,12 @@ declare const _default: import("vue").DefineComponent<import("vue").ExtractPropT
|
|
|
396
394
|
strategy?: Strategy;
|
|
397
395
|
};
|
|
398
396
|
color: "primary" | "red" | "orange" | "amber" | "yellow" | "lime" | "green" | "emerald" | "teal" | "cyan" | "sky" | "blue" | "indigo" | "violet" | "purple" | "fuchsia" | "pink" | "rose";
|
|
399
|
-
|
|
397
|
+
disabled: boolean;
|
|
400
398
|
id: string;
|
|
399
|
+
class: any;
|
|
401
400
|
modelValue: string | number | boolean | object;
|
|
402
401
|
value: string | number | boolean;
|
|
402
|
+
label: string;
|
|
403
403
|
help: string;
|
|
404
404
|
inputClass: string;
|
|
405
405
|
}, {}, {}, {}, string, import("vue").ComponentProvideOptions, true, {}, any>;
|
|
@@ -254,9 +254,6 @@ declare const _default: import("vue").DefineComponent<import("vue").ExtractPropT
|
|
|
254
254
|
}>, {
|
|
255
255
|
name: string;
|
|
256
256
|
size: RangeSize;
|
|
257
|
-
class: any;
|
|
258
|
-
disabled: boolean;
|
|
259
|
-
max: number;
|
|
260
257
|
ui: {
|
|
261
258
|
wrapper?: string;
|
|
262
259
|
base?: string;
|
|
@@ -326,8 +323,11 @@ declare const _default: import("vue").DefineComponent<import("vue").ExtractPropT
|
|
|
326
323
|
};
|
|
327
324
|
color: "primary" | "red" | "orange" | "amber" | "yellow" | "lime" | "green" | "emerald" | "teal" | "cyan" | "sky" | "blue" | "indigo" | "violet" | "purple" | "fuchsia" | "pink" | "rose";
|
|
328
325
|
step: number;
|
|
326
|
+
disabled: boolean;
|
|
329
327
|
id: string;
|
|
328
|
+
class: any;
|
|
330
329
|
modelValue: number;
|
|
330
|
+
max: number;
|
|
331
331
|
inputClass: string;
|
|
332
332
|
min: number;
|
|
333
333
|
}, {}, {}, {}, string, import("vue").ComponentProvideOptions, true, {}, any>;
|
|
@@ -38,13 +38,13 @@
|
|
|
38
38
|
</template>
|
|
39
39
|
</select>
|
|
40
40
|
|
|
41
|
-
<span v-if="
|
|
41
|
+
<span v-if="isLeading && leadingIconName || $slots.leading" :class="leadingWrapperIconClass">
|
|
42
42
|
<slot name="leading" :disabled="disabled" :loading="loading">
|
|
43
43
|
<UIcon :name="leadingIconName" :class="leadingIconClass" />
|
|
44
44
|
</slot>
|
|
45
45
|
</span>
|
|
46
46
|
|
|
47
|
-
<span v-if="
|
|
47
|
+
<span v-if="isTrailing && trailingIconName || $slots.trailing" :class="trailingWrapperIconClass">
|
|
48
48
|
<slot name="trailing" :disabled="disabled" :loading="loading">
|
|
49
49
|
<UIcon :name="trailingIconName" :class="trailingIconClass" aria-hidden="true" />
|
|
50
50
|
</slot>
|
|
@@ -447,8 +447,6 @@ declare const _default: import("vue").DefineComponent<import("vue").ExtractPropT
|
|
|
447
447
|
name: string;
|
|
448
448
|
required: boolean;
|
|
449
449
|
size: SelectSize;
|
|
450
|
-
class: any;
|
|
451
|
-
disabled: boolean;
|
|
452
450
|
ui: {
|
|
453
451
|
form?: string;
|
|
454
452
|
placeholder?: string;
|
|
@@ -566,8 +564,10 @@ declare const _default: import("vue").DefineComponent<import("vue").ExtractPropT
|
|
|
566
564
|
color: SelectColor;
|
|
567
565
|
variant: SelectVariant;
|
|
568
566
|
leading: boolean;
|
|
567
|
+
disabled: boolean;
|
|
569
568
|
id: string;
|
|
570
569
|
icon: string;
|
|
570
|
+
class: any;
|
|
571
571
|
options: unknown[];
|
|
572
572
|
modelValue: string | number | object;
|
|
573
573
|
loading: boolean;
|
|
@@ -4,7 +4,7 @@
|
|
|
4
4
|
v-slot="{ open }"
|
|
5
5
|
:by="by"
|
|
6
6
|
:name="name"
|
|
7
|
-
:model-value="multiple ?
|
|
7
|
+
:model-value="multiple ? Array.isArray(modelValue) ? modelValue : [] : modelValue"
|
|
8
8
|
:multiple="multiple"
|
|
9
9
|
:disabled="disabled"
|
|
10
10
|
as="div"
|
|
@@ -30,7 +30,7 @@
|
|
|
30
30
|
>
|
|
31
31
|
<slot :open="open" :disabled="disabled" :loading="loading">
|
|
32
32
|
<button :id="inputId" :class="selectClass" :disabled="disabled" type="button" v-bind="attrs">
|
|
33
|
-
<span v-if="
|
|
33
|
+
<span v-if="isLeading && leadingIconName || $slots.leading" :class="leadingWrapperIconClass">
|
|
34
34
|
<slot name="leading" :selected="selected" :disabled="disabled" :loading="loading">
|
|
35
35
|
<UIcon :name="leadingIconName" :class="leadingIconClass" />
|
|
36
36
|
</slot>
|
|
@@ -38,10 +38,10 @@
|
|
|
38
38
|
|
|
39
39
|
<slot name="label" :selected="selected">
|
|
40
40
|
<span v-if="label" :class="uiMenu.label">{{ label }}</span>
|
|
41
|
-
<span v-else :class="uiMenu.label">{{ placeholder || '
|
|
41
|
+
<span v-else :class="uiMenu.label">{{ placeholder || '\xA0' }}</span>
|
|
42
42
|
</slot>
|
|
43
43
|
|
|
44
|
-
<span v-if="
|
|
44
|
+
<span v-if="isTrailing && trailingIconName || $slots.trailing" :class="trailingWrapperIconClass">
|
|
45
45
|
<slot name="trailing" :selected="selected" :disabled="disabled" :loading="loading">
|
|
46
46
|
<UIcon :name="trailingIconName" :class="trailingIconClass" aria-hidden="true" />
|
|
47
47
|
</slot>
|
|
@@ -140,7 +140,7 @@ declare const configMenu: {
|
|
|
140
140
|
};
|
|
141
141
|
avatar: {
|
|
142
142
|
base: string;
|
|
143
|
-
size: import("../../types/avatar").AvatarSize;
|
|
143
|
+
size: import("../../types/avatar.js").AvatarSize;
|
|
144
144
|
};
|
|
145
145
|
chip: {
|
|
146
146
|
base: string;
|
|
@@ -492,7 +492,7 @@ declare const _default: import("vue").DefineComponent<import("vue").ExtractPropT
|
|
|
492
492
|
};
|
|
493
493
|
avatar: {
|
|
494
494
|
base: string;
|
|
495
|
-
size: import("../../types/avatar").AvatarSize;
|
|
495
|
+
size: import("../../types/avatar.js").AvatarSize;
|
|
496
496
|
};
|
|
497
497
|
chip: {
|
|
498
498
|
base: string;
|
|
@@ -732,8 +732,8 @@ declare const _default: import("vue").DefineComponent<import("vue").ExtractPropT
|
|
|
732
732
|
default: () => {};
|
|
733
733
|
};
|
|
734
734
|
}>> & Readonly<{
|
|
735
|
-
onChange?: (...args: any[]) => any;
|
|
736
735
|
onClose?: (...args: any[]) => any;
|
|
736
|
+
onChange?: (...args: any[]) => any;
|
|
737
737
|
"onUpdate:modelValue"?: (...args: any[]) => any;
|
|
738
738
|
onOpen?: (...args: any[]) => any;
|
|
739
739
|
"onUpdate:query"?: (...args: any[]) => any;
|
|
@@ -741,8 +741,6 @@ declare const _default: import("vue").DefineComponent<import("vue").ExtractPropT
|
|
|
741
741
|
name: string;
|
|
742
742
|
required: boolean;
|
|
743
743
|
size: SelectSize;
|
|
744
|
-
class: any;
|
|
745
|
-
disabled: boolean;
|
|
746
744
|
ui: {
|
|
747
745
|
form?: string;
|
|
748
746
|
placeholder?: string;
|
|
@@ -861,9 +859,11 @@ declare const _default: import("vue").DefineComponent<import("vue").ExtractPropT
|
|
|
861
859
|
variant: SelectVariant;
|
|
862
860
|
leading: boolean;
|
|
863
861
|
popper: PopperOptions;
|
|
862
|
+
disabled: boolean;
|
|
864
863
|
query: string;
|
|
865
864
|
id: string;
|
|
866
865
|
icon: string;
|
|
866
|
+
class: any;
|
|
867
867
|
options: string[] | {
|
|
868
868
|
[key: string]: any;
|
|
869
869
|
disabled?: boolean;
|
|
@@ -913,7 +913,7 @@ declare const _default: import("vue").DefineComponent<import("vue").ExtractPropT
|
|
|
913
913
|
};
|
|
914
914
|
avatar: {
|
|
915
915
|
base: string;
|
|
916
|
-
size: import("../../types/avatar").AvatarSize;
|
|
916
|
+
size: import("../../types/avatar.js").AvatarSize;
|
|
917
917
|
};
|
|
918
918
|
chip: {
|
|
919
919
|
base: string;
|
|
@@ -1537,17 +1537,17 @@ declare const _default: import("vue").DefineComponent<import("vue").ExtractPropT
|
|
|
1537
1537
|
default: () => any;
|
|
1538
1538
|
};
|
|
1539
1539
|
size: {
|
|
1540
|
-
type: PropType<import("../../types/avatar").AvatarSize>;
|
|
1540
|
+
type: PropType<import("../../types/avatar.js").AvatarSize>;
|
|
1541
1541
|
default: () => string;
|
|
1542
1542
|
validator(value: string): boolean;
|
|
1543
1543
|
};
|
|
1544
1544
|
chipColor: {
|
|
1545
|
-
type: PropType<import("../../types/avatar").AvatarChipColor>;
|
|
1545
|
+
type: PropType<import("../../types/avatar.js").AvatarChipColor>;
|
|
1546
1546
|
default: () => any;
|
|
1547
1547
|
validator(value: string): boolean;
|
|
1548
1548
|
};
|
|
1549
1549
|
chipPosition: {
|
|
1550
|
-
type: PropType<import("../../types/avatar").AvatarChipPosition>;
|
|
1550
|
+
type: PropType<import("../../types/avatar.js").AvatarChipPosition>;
|
|
1551
1551
|
default: () => string;
|
|
1552
1552
|
validator(value: string): boolean;
|
|
1553
1553
|
};
|
|
@@ -1720,17 +1720,17 @@ declare const _default: import("vue").DefineComponent<import("vue").ExtractPropT
|
|
|
1720
1720
|
default: () => any;
|
|
1721
1721
|
};
|
|
1722
1722
|
size: {
|
|
1723
|
-
type: PropType<import("../../types/avatar").AvatarSize>;
|
|
1723
|
+
type: PropType<import("../../types/avatar.js").AvatarSize>;
|
|
1724
1724
|
default: () => string;
|
|
1725
1725
|
validator(value: string): boolean;
|
|
1726
1726
|
};
|
|
1727
1727
|
chipColor: {
|
|
1728
|
-
type: PropType<import("../../types/avatar").AvatarChipColor>;
|
|
1728
|
+
type: PropType<import("../../types/avatar.js").AvatarChipColor>;
|
|
1729
1729
|
default: () => any;
|
|
1730
1730
|
validator(value: string): boolean;
|
|
1731
1731
|
};
|
|
1732
1732
|
chipPosition: {
|
|
1733
|
-
type: PropType<import("../../types/avatar").AvatarChipPosition>;
|
|
1733
|
+
type: PropType<import("../../types/avatar.js").AvatarChipPosition>;
|
|
1734
1734
|
default: () => string;
|
|
1735
1735
|
validator(value: string): boolean;
|
|
1736
1736
|
};
|
|
@@ -1811,8 +1811,7 @@ declare const _default: import("vue").DefineComponent<import("vue").ExtractPropT
|
|
|
1811
1811
|
default: () => {};
|
|
1812
1812
|
};
|
|
1813
1813
|
}>> & Readonly<{}>, {
|
|
1814
|
-
size: import("../../types/avatar").AvatarSize;
|
|
1815
|
-
class: any;
|
|
1814
|
+
size: import("../../types/avatar.js").AvatarSize;
|
|
1816
1815
|
ui: {
|
|
1817
1816
|
wrapper?: string;
|
|
1818
1817
|
background?: string;
|
|
@@ -1877,11 +1876,12 @@ declare const _default: import("vue").DefineComponent<import("vue").ExtractPropT
|
|
|
1877
1876
|
strategy?: Strategy;
|
|
1878
1877
|
};
|
|
1879
1878
|
as: string | Record<string, any>;
|
|
1880
|
-
text: string;
|
|
1881
1879
|
alt: string;
|
|
1882
1880
|
icon: string;
|
|
1881
|
+
class: any;
|
|
1882
|
+
text: string;
|
|
1883
1883
|
src: string | boolean;
|
|
1884
|
-
chipColor: import("../../types/avatar").AvatarChipColor;
|
|
1884
|
+
chipColor: import("../../types/avatar.js").AvatarChipColor;
|
|
1885
1885
|
chipPosition: "top-right" | "bottom-right" | "top-left" | "bottom-left";
|
|
1886
1886
|
chipText: string | number;
|
|
1887
1887
|
imgClass: string;
|
|
@@ -410,15 +410,13 @@ declare const _default: import("vue").DefineComponent<import("vue").ExtractPropT
|
|
|
410
410
|
default: () => {};
|
|
411
411
|
};
|
|
412
412
|
}>> & Readonly<{
|
|
413
|
-
onBlur?: (...args: any[]) => any;
|
|
414
413
|
onChange?: (...args: any[]) => any;
|
|
415
414
|
"onUpdate:modelValue"?: (...args: any[]) => any;
|
|
415
|
+
onBlur?: (...args: any[]) => any;
|
|
416
416
|
}>, {
|
|
417
417
|
name: string;
|
|
418
418
|
required: boolean;
|
|
419
419
|
size: TextareaSize;
|
|
420
|
-
class: any;
|
|
421
|
-
disabled: boolean;
|
|
422
420
|
ui: {
|
|
423
421
|
form?: string;
|
|
424
422
|
default?: DeepPartial<{
|
|
@@ -534,7 +532,9 @@ declare const _default: import("vue").DefineComponent<import("vue").ExtractPropT
|
|
|
534
532
|
color: TextareaColor;
|
|
535
533
|
variant: TextareaVariant;
|
|
536
534
|
resize: boolean;
|
|
535
|
+
disabled: boolean;
|
|
537
536
|
id: string;
|
|
537
|
+
class: any;
|
|
538
538
|
modelValue: string | number;
|
|
539
539
|
padded: boolean;
|
|
540
540
|
rows: number;
|
|
@@ -248,8 +248,6 @@ declare const _default: import("vue").DefineComponent<import("vue").ExtractPropT
|
|
|
248
248
|
}>, {
|
|
249
249
|
name: string;
|
|
250
250
|
size: ToggleSize;
|
|
251
|
-
class: any;
|
|
252
|
-
disabled: boolean;
|
|
253
251
|
ui: {
|
|
254
252
|
base?: string;
|
|
255
253
|
rounded?: string;
|
|
@@ -317,7 +315,9 @@ declare const _default: import("vue").DefineComponent<import("vue").ExtractPropT
|
|
|
317
315
|
strategy?: Strategy;
|
|
318
316
|
};
|
|
319
317
|
color: "primary" | "red" | "orange" | "amber" | "yellow" | "lime" | "green" | "emerald" | "teal" | "cyan" | "sky" | "blue" | "indigo" | "violet" | "purple" | "fuchsia" | "pink" | "rose";
|
|
318
|
+
disabled: boolean;
|
|
320
319
|
id: string;
|
|
320
|
+
class: any;
|
|
321
321
|
modelValue: boolean;
|
|
322
322
|
loading: boolean;
|
|
323
323
|
loadingIcon: string;
|
|
@@ -82,7 +82,6 @@ declare const _default: import("vue").DefineComponent<import("vue").ExtractPropT
|
|
|
82
82
|
default: () => {};
|
|
83
83
|
};
|
|
84
84
|
}>> & Readonly<{}>, {
|
|
85
|
-
class: any;
|
|
86
85
|
ui: {
|
|
87
86
|
base?: string;
|
|
88
87
|
background?: string;
|
|
@@ -111,5 +110,6 @@ declare const _default: import("vue").DefineComponent<import("vue").ExtractPropT
|
|
|
111
110
|
strategy?: Strategy;
|
|
112
111
|
};
|
|
113
112
|
as: string;
|
|
113
|
+
class: any;
|
|
114
114
|
}, {}, {}, {}, string, import("vue").ComponentProvideOptions, true, {}, any>;
|
|
115
115
|
export default _default;
|
|
@@ -46,7 +46,6 @@ declare const _default: import("vue").DefineComponent<import("vue").ExtractPropT
|
|
|
46
46
|
default: () => {};
|
|
47
47
|
};
|
|
48
48
|
}>> & Readonly<{}>, {
|
|
49
|
-
class: any;
|
|
50
49
|
ui: {
|
|
51
50
|
base?: string;
|
|
52
51
|
padding?: string;
|
|
@@ -57,5 +56,6 @@ declare const _default: import("vue").DefineComponent<import("vue").ExtractPropT
|
|
|
57
56
|
strategy?: Strategy;
|
|
58
57
|
};
|
|
59
58
|
as: string;
|
|
59
|
+
class: any;
|
|
60
60
|
}, {}, {}, {}, string, import("vue").ComponentProvideOptions, true, {}, any>;
|
|
61
61
|
export default _default;
|