@nuxt/ui 2.18.5 → 2.18.7
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/dist/module.json +1 -1
- package/dist/module.mjs +1 -1
- package/dist/runtime/components/data/Table.vue +3 -3
- package/dist/runtime/components/data/Table.vue.d.ts +285 -21
- package/dist/runtime/components/elements/Accordion.vue.d.ts +119 -11
- package/dist/runtime/components/elements/Alert.vue.d.ts +204 -16
- package/dist/runtime/components/elements/Avatar.vue.d.ts +66 -4
- package/dist/runtime/components/elements/AvatarGroup.d.ts +7 -1
- package/dist/runtime/components/elements/Badge.vue.d.ts +40 -4
- package/dist/runtime/components/elements/Button.vue.d.ts +91 -8
- package/dist/runtime/components/elements/ButtonGroup.d.ts +103 -2
- package/dist/runtime/components/elements/Carousel.vue +15 -6
- package/dist/runtime/components/elements/Carousel.vue.d.ts +130 -11
- package/dist/runtime/components/elements/Chip.vue.d.ts +41 -4
- package/dist/runtime/components/elements/Dropdown.vue +1 -1
- package/dist/runtime/components/elements/Dropdown.vue.d.ts +152 -10
- package/dist/runtime/components/elements/Kbd.vue.d.ts +23 -4
- package/dist/runtime/components/elements/Link.vue.d.ts +2 -2
- package/dist/runtime/components/elements/Meter.vue.d.ts +83 -4
- package/dist/runtime/components/elements/MeterGroup.d.ts +54 -2
- package/dist/runtime/components/elements/Progress.vue.d.ts +81 -4
- package/dist/runtime/components/forms/Checkbox.vue.d.ts +29 -8
- package/dist/runtime/components/forms/FormGroup.vue.d.ts +32 -4
- package/dist/runtime/components/forms/Input.vue.d.ts +123 -7
- package/dist/runtime/components/forms/InputMenu.vue.d.ts +254 -14
- package/dist/runtime/components/forms/Radio.vue.d.ts +28 -8
- package/dist/runtime/components/forms/RadioGroup.vue.d.ts +68 -17
- package/dist/runtime/components/forms/Range.vue.d.ts +72 -6
- package/dist/runtime/components/forms/Select.vue.d.ts +120 -7
- package/dist/runtime/components/forms/SelectMenu.vue +1 -1
- package/dist/runtime/components/forms/SelectMenu.vue.d.ts +261 -14
- package/dist/runtime/components/forms/Textarea.vue.d.ts +122 -7
- package/dist/runtime/components/forms/Toggle.vue.d.ts +71 -6
- package/dist/runtime/components/layout/Card.vue.d.ts +30 -4
- package/dist/runtime/components/layout/Container.vue.d.ts +12 -4
- package/dist/runtime/components/layout/Divider.vue.d.ts +124 -8
- package/dist/runtime/components/layout/Skeleton.vue.d.ts +12 -4
- package/dist/runtime/components/navigation/Breadcrumb.vue.d.ts +29 -6
- package/dist/runtime/components/navigation/CommandPalette.vue.d.ts +256 -18
- package/dist/runtime/components/navigation/CommandPaletteGroup.vue.d.ts +87 -6
- package/dist/runtime/components/navigation/HorizontalNavigation.vue.d.ts +139 -12
- package/dist/runtime/components/navigation/Pagination.vue.d.ts +131 -11
- package/dist/runtime/components/navigation/Tabs.vue.d.ts +41 -4
- package/dist/runtime/components/navigation/VerticalNavigation.vue.d.ts +269 -19
- package/dist/runtime/components/overlays/ContextMenu.vue.d.ts +37 -4
- package/dist/runtime/components/overlays/Modal.vue +2 -2
- package/dist/runtime/components/overlays/Modal.vue.d.ts +50 -5
- package/dist/runtime/components/overlays/Notification.vue.d.ts +213 -16
- package/dist/runtime/components/overlays/Notifications.vue.d.ts +225 -19
- package/dist/runtime/components/overlays/Popover.vue +1 -1
- package/dist/runtime/components/overlays/Popover.vue.d.ts +53 -4
- package/dist/runtime/components/overlays/Slideover.vue +2 -2
- package/dist/runtime/components/overlays/Slideover.vue.d.ts +49 -5
- package/dist/runtime/components/overlays/Tooltip.vue +5 -3
- package/dist/runtime/components/overlays/Tooltip.vue.d.ts +66 -7
- package/dist/runtime/composables/useFormGroup.js +1 -1
- package/dist/runtime/composables/useUI.d.ts +2 -2
- package/dist/runtime/composables/useUI.js +1 -1
- package/dist/runtime/ui.config/elements/carousel.js +2 -2
- package/dist/runtime/ui.config/navigation/tabs.js +1 -1
- package/dist/runtime/utils/link.js +1 -1
- package/package.json +10 -10
|
@@ -1,5 +1,5 @@
|
|
|
1
1
|
import type { PropType } from 'vue';
|
|
2
|
-
import type { KbdSize, Strategy } from '../../types/index.js';
|
|
2
|
+
import type { DeepPartial, KbdSize, Strategy } from '../../types/index.js';
|
|
3
3
|
declare const config: {
|
|
4
4
|
base: string;
|
|
5
5
|
padding: string;
|
|
@@ -31,7 +31,7 @@ declare const _default: import("vue").DefineComponent<import("vue").ExtractPropT
|
|
|
31
31
|
default: () => "";
|
|
32
32
|
};
|
|
33
33
|
ui: {
|
|
34
|
-
type: PropType<
|
|
34
|
+
type: PropType<DeepPartial<typeof config> & {
|
|
35
35
|
strategy?: Strategy;
|
|
36
36
|
}>;
|
|
37
37
|
default: () => {};
|
|
@@ -72,7 +72,7 @@ declare const _default: import("vue").DefineComponent<import("vue").ExtractPropT
|
|
|
72
72
|
default: () => "";
|
|
73
73
|
};
|
|
74
74
|
ui: {
|
|
75
|
-
type: PropType<
|
|
75
|
+
type: PropType<DeepPartial<typeof config> & {
|
|
76
76
|
strategy?: Strategy;
|
|
77
77
|
}>;
|
|
78
78
|
default: () => {};
|
|
@@ -80,7 +80,26 @@ declare const _default: import("vue").DefineComponent<import("vue").ExtractPropT
|
|
|
80
80
|
}>> & Readonly<{}>, {
|
|
81
81
|
size: KbdSize;
|
|
82
82
|
class: any;
|
|
83
|
-
ui: {
|
|
83
|
+
ui: {
|
|
84
|
+
base?: string;
|
|
85
|
+
padding?: string;
|
|
86
|
+
size?: DeepPartial<{
|
|
87
|
+
xs: string;
|
|
88
|
+
sm: string;
|
|
89
|
+
md: string;
|
|
90
|
+
}, any>;
|
|
91
|
+
rounded?: string;
|
|
92
|
+
font?: string;
|
|
93
|
+
background?: string;
|
|
94
|
+
ring?: string;
|
|
95
|
+
default?: DeepPartial<{
|
|
96
|
+
size: string;
|
|
97
|
+
}, any>;
|
|
98
|
+
} & {
|
|
99
|
+
[key: string]: any;
|
|
100
|
+
} & {
|
|
101
|
+
strategy?: Strategy;
|
|
102
|
+
};
|
|
84
103
|
value: string;
|
|
85
104
|
}, {}, {}, {}, string, import("vue").ComponentProvideOptions, true, {}, any>;
|
|
86
105
|
export default _default;
|
|
@@ -201,7 +201,7 @@ declare const _default: import("vue").DefineComponent<import("vue").ExtractPropT
|
|
|
201
201
|
};
|
|
202
202
|
}>> & Readonly<{}>, {
|
|
203
203
|
type: string;
|
|
204
|
-
to:
|
|
204
|
+
to: string | import("vue-router").RouteLocationAsRelativeGeneric | import("vue-router").RouteLocationAsPathGeneric;
|
|
205
205
|
disabled: boolean;
|
|
206
206
|
target: "_blank" | "_parent" | "_self" | "_top" | (string & {});
|
|
207
207
|
activeClass: string;
|
|
@@ -219,7 +219,7 @@ declare const _default: import("vue").DefineComponent<import("vue").ExtractPropT
|
|
|
219
219
|
exactQuery: boolean;
|
|
220
220
|
exactHash: boolean;
|
|
221
221
|
inactiveClass: string;
|
|
222
|
-
href:
|
|
222
|
+
href: string | import("vue-router").RouteLocationAsRelativeGeneric | import("vue-router").RouteLocationAsPathGeneric;
|
|
223
223
|
rel: any;
|
|
224
224
|
}, {}, {}, {}, string, import("vue").ComponentProvideOptions, true, {}, any>;
|
|
225
225
|
export default _default;
|
|
@@ -1,5 +1,5 @@
|
|
|
1
1
|
import type { SlotsType, PropType } from 'vue';
|
|
2
|
-
import type { Strategy, MeterColor, MeterSize } from '../../types/index.js';
|
|
2
|
+
import type { Strategy, MeterColor, MeterSize, DeepPartial } from '../../types/index.js';
|
|
3
3
|
declare const config: {
|
|
4
4
|
wrapper: string;
|
|
5
5
|
indicator: {
|
|
@@ -116,7 +116,7 @@ declare const _default: import("vue").DefineComponent<import("vue").ExtractPropT
|
|
|
116
116
|
default: () => "";
|
|
117
117
|
};
|
|
118
118
|
ui: {
|
|
119
|
-
type: PropType<
|
|
119
|
+
type: PropType<DeepPartial<typeof config> & {
|
|
120
120
|
strategy?: Strategy;
|
|
121
121
|
}>;
|
|
122
122
|
default: () => {};
|
|
@@ -250,7 +250,7 @@ declare const _default: import("vue").DefineComponent<import("vue").ExtractPropT
|
|
|
250
250
|
default: () => "";
|
|
251
251
|
};
|
|
252
252
|
ui: {
|
|
253
|
-
type: PropType<
|
|
253
|
+
type: PropType<DeepPartial<typeof config> & {
|
|
254
254
|
strategy?: Strategy;
|
|
255
255
|
}>;
|
|
256
256
|
default: () => {};
|
|
@@ -261,7 +261,86 @@ declare const _default: import("vue").DefineComponent<import("vue").ExtractPropT
|
|
|
261
261
|
max: number;
|
|
262
262
|
color: MeterColor;
|
|
263
263
|
label: string;
|
|
264
|
-
ui: {
|
|
264
|
+
ui: {
|
|
265
|
+
wrapper?: string;
|
|
266
|
+
indicator?: DeepPartial<{
|
|
267
|
+
container: string;
|
|
268
|
+
text: string;
|
|
269
|
+
size: {
|
|
270
|
+
'2xs': string;
|
|
271
|
+
xs: string;
|
|
272
|
+
sm: string;
|
|
273
|
+
md: string;
|
|
274
|
+
lg: string;
|
|
275
|
+
xl: string;
|
|
276
|
+
'2xl': string;
|
|
277
|
+
};
|
|
278
|
+
}, any>;
|
|
279
|
+
meter?: DeepPartial<{
|
|
280
|
+
base: string;
|
|
281
|
+
background: string;
|
|
282
|
+
color: string;
|
|
283
|
+
ring: string;
|
|
284
|
+
rounded: string;
|
|
285
|
+
shadow: string;
|
|
286
|
+
size: {
|
|
287
|
+
'2xs': string;
|
|
288
|
+
xs: string;
|
|
289
|
+
sm: string;
|
|
290
|
+
md: string;
|
|
291
|
+
lg: string;
|
|
292
|
+
xl: string;
|
|
293
|
+
'2xl': string;
|
|
294
|
+
};
|
|
295
|
+
appearance: {
|
|
296
|
+
inner: string;
|
|
297
|
+
meter: string;
|
|
298
|
+
bar: string;
|
|
299
|
+
value: string;
|
|
300
|
+
};
|
|
301
|
+
bar: {
|
|
302
|
+
transition: string;
|
|
303
|
+
ring: string;
|
|
304
|
+
rounded: string;
|
|
305
|
+
size: {
|
|
306
|
+
'2xs': string;
|
|
307
|
+
xs: string;
|
|
308
|
+
sm: string;
|
|
309
|
+
md: string;
|
|
310
|
+
lg: string;
|
|
311
|
+
xl: string;
|
|
312
|
+
'2xl': string;
|
|
313
|
+
};
|
|
314
|
+
};
|
|
315
|
+
}, any>;
|
|
316
|
+
label?: DeepPartial<{
|
|
317
|
+
base: string;
|
|
318
|
+
text: string;
|
|
319
|
+
color: string;
|
|
320
|
+
size: {
|
|
321
|
+
'2xs': string;
|
|
322
|
+
xs: string;
|
|
323
|
+
sm: string;
|
|
324
|
+
md: string;
|
|
325
|
+
lg: string;
|
|
326
|
+
xl: string;
|
|
327
|
+
'2xl': string;
|
|
328
|
+
};
|
|
329
|
+
}, any>;
|
|
330
|
+
color?: DeepPartial<{
|
|
331
|
+
white: string;
|
|
332
|
+
black: string;
|
|
333
|
+
gray: string;
|
|
334
|
+
}, any>;
|
|
335
|
+
default?: DeepPartial<{
|
|
336
|
+
size: string;
|
|
337
|
+
color: string;
|
|
338
|
+
}, any>;
|
|
339
|
+
} & {
|
|
340
|
+
[key: string]: any;
|
|
341
|
+
} & {
|
|
342
|
+
strategy?: Strategy;
|
|
343
|
+
};
|
|
265
344
|
icon: string;
|
|
266
345
|
value: number;
|
|
267
346
|
indicator: boolean;
|
|
@@ -120,9 +120,61 @@ declare const _default: import("vue").DefineComponent<import("vue").ExtractPropT
|
|
|
120
120
|
};
|
|
121
121
|
}>> & Readonly<{}>, {
|
|
122
122
|
size: "xs" | "sm" | "2xs" | "md" | "lg" | "xl" | "2xl";
|
|
123
|
-
ui: {
|
|
124
|
-
|
|
123
|
+
ui: Partial<{
|
|
124
|
+
wrapper: string;
|
|
125
|
+
base: string;
|
|
126
|
+
background: string;
|
|
127
|
+
transition: string;
|
|
128
|
+
rounded: string;
|
|
129
|
+
shadow: string;
|
|
130
|
+
list: string;
|
|
131
|
+
orientation: {
|
|
132
|
+
'rounded-none': {
|
|
133
|
+
left: string;
|
|
134
|
+
right: string;
|
|
135
|
+
};
|
|
136
|
+
'rounded-sm': {
|
|
137
|
+
left: string;
|
|
138
|
+
right: string;
|
|
139
|
+
};
|
|
140
|
+
rounded: {
|
|
141
|
+
left: string;
|
|
142
|
+
right: string;
|
|
143
|
+
};
|
|
144
|
+
'rounded-md': {
|
|
145
|
+
left: string;
|
|
146
|
+
right: string;
|
|
147
|
+
};
|
|
148
|
+
'rounded-lg': {
|
|
149
|
+
left: string;
|
|
150
|
+
right: string;
|
|
151
|
+
};
|
|
152
|
+
'rounded-xl': {
|
|
153
|
+
left: string;
|
|
154
|
+
right: string;
|
|
155
|
+
};
|
|
156
|
+
'rounded-2xl': {
|
|
157
|
+
left: string;
|
|
158
|
+
right: string;
|
|
159
|
+
};
|
|
160
|
+
'rounded-3xl': {
|
|
161
|
+
left: string;
|
|
162
|
+
right: string;
|
|
163
|
+
};
|
|
164
|
+
'rounded-full': {
|
|
165
|
+
left: string;
|
|
166
|
+
right: string;
|
|
167
|
+
};
|
|
168
|
+
};
|
|
169
|
+
default: {
|
|
170
|
+
size: string;
|
|
171
|
+
icon: string;
|
|
172
|
+
};
|
|
173
|
+
}> & {
|
|
174
|
+
strategy?: Strategy;
|
|
175
|
+
};
|
|
125
176
|
class: any;
|
|
177
|
+
icon: string;
|
|
126
178
|
max: number;
|
|
127
179
|
min: number;
|
|
128
180
|
indicator: boolean;
|
|
@@ -1,5 +1,5 @@
|
|
|
1
1
|
import type { PropType } from 'vue';
|
|
2
|
-
import type { Strategy, ProgressSize, ProgressAnimation, ProgressColor } from '../../types/index.js';
|
|
2
|
+
import type { Strategy, ProgressSize, ProgressAnimation, ProgressColor, DeepPartial } from '../../types/index.js';
|
|
3
3
|
declare const config: {
|
|
4
4
|
wrapper: string;
|
|
5
5
|
indicator: {
|
|
@@ -122,7 +122,7 @@ declare const _default: import("vue").DefineComponent<import("vue").ExtractPropT
|
|
|
122
122
|
default: () => "";
|
|
123
123
|
};
|
|
124
124
|
ui: {
|
|
125
|
-
type: PropType<
|
|
125
|
+
type: PropType<DeepPartial<typeof config> & {
|
|
126
126
|
strategy?: Strategy;
|
|
127
127
|
}>;
|
|
128
128
|
default: () => {};
|
|
@@ -262,7 +262,7 @@ declare const _default: import("vue").DefineComponent<import("vue").ExtractPropT
|
|
|
262
262
|
default: () => "";
|
|
263
263
|
};
|
|
264
264
|
ui: {
|
|
265
|
-
type: PropType<
|
|
265
|
+
type: PropType<DeepPartial<typeof config> & {
|
|
266
266
|
strategy?: Strategy;
|
|
267
267
|
}>;
|
|
268
268
|
default: () => {};
|
|
@@ -273,7 +273,84 @@ declare const _default: import("vue").DefineComponent<import("vue").ExtractPropT
|
|
|
273
273
|
max: number | any[];
|
|
274
274
|
animation: "carousel" | "carousel-inverse" | "swing" | "elastic";
|
|
275
275
|
color: "primary" | "red" | "orange" | "amber" | "yellow" | "lime" | "green" | "emerald" | "teal" | "cyan" | "sky" | "blue" | "indigo" | "violet" | "purple" | "fuchsia" | "pink" | "rose";
|
|
276
|
-
ui: {
|
|
276
|
+
ui: {
|
|
277
|
+
wrapper?: string;
|
|
278
|
+
indicator?: DeepPartial<{
|
|
279
|
+
container: {
|
|
280
|
+
base: string;
|
|
281
|
+
width: string;
|
|
282
|
+
transition: string;
|
|
283
|
+
};
|
|
284
|
+
align: string;
|
|
285
|
+
width: string;
|
|
286
|
+
color: string;
|
|
287
|
+
size: {
|
|
288
|
+
'2xs': string;
|
|
289
|
+
xs: string;
|
|
290
|
+
sm: string;
|
|
291
|
+
md: string;
|
|
292
|
+
lg: string;
|
|
293
|
+
xl: string;
|
|
294
|
+
'2xl': string;
|
|
295
|
+
};
|
|
296
|
+
}, any>;
|
|
297
|
+
progress?: DeepPartial<{
|
|
298
|
+
base: string;
|
|
299
|
+
width: string;
|
|
300
|
+
size: {
|
|
301
|
+
'2xs': string;
|
|
302
|
+
xs: string;
|
|
303
|
+
sm: string;
|
|
304
|
+
md: string;
|
|
305
|
+
lg: string;
|
|
306
|
+
xl: string;
|
|
307
|
+
'2xl': string;
|
|
308
|
+
};
|
|
309
|
+
rounded: string;
|
|
310
|
+
track: string;
|
|
311
|
+
bar: string;
|
|
312
|
+
color: string;
|
|
313
|
+
background: string;
|
|
314
|
+
indeterminate: {
|
|
315
|
+
base: string;
|
|
316
|
+
rounded: string;
|
|
317
|
+
};
|
|
318
|
+
}, any>;
|
|
319
|
+
steps?: DeepPartial<{
|
|
320
|
+
base: string;
|
|
321
|
+
color: string;
|
|
322
|
+
size: {
|
|
323
|
+
'2xs': string;
|
|
324
|
+
xs: string;
|
|
325
|
+
sm: string;
|
|
326
|
+
md: string;
|
|
327
|
+
lg: string;
|
|
328
|
+
xl: string;
|
|
329
|
+
'2xl': string;
|
|
330
|
+
};
|
|
331
|
+
}, any>;
|
|
332
|
+
step?: DeepPartial<{
|
|
333
|
+
base: string;
|
|
334
|
+
align: string;
|
|
335
|
+
active: string;
|
|
336
|
+
first: string;
|
|
337
|
+
}, any>;
|
|
338
|
+
animation?: DeepPartial<{
|
|
339
|
+
carousel: string;
|
|
340
|
+
'carousel-inverse': string;
|
|
341
|
+
swing: string;
|
|
342
|
+
elastic: string;
|
|
343
|
+
}, any>;
|
|
344
|
+
default?: DeepPartial<{
|
|
345
|
+
color: string;
|
|
346
|
+
size: string;
|
|
347
|
+
animation: string;
|
|
348
|
+
}, any>;
|
|
349
|
+
} & {
|
|
350
|
+
[key: string]: any;
|
|
351
|
+
} & {
|
|
352
|
+
strategy?: Strategy;
|
|
353
|
+
};
|
|
277
354
|
value: number;
|
|
278
355
|
indicator: boolean;
|
|
279
356
|
}, {}, {}, {}, string, import("vue").ComponentProvideOptions, true, {}, any>;
|
|
@@ -1,5 +1,5 @@
|
|
|
1
1
|
import type { PropType } from 'vue';
|
|
2
|
-
import type { Strategy } from '../../types/index.js';
|
|
2
|
+
import type { DeepPartial, Strategy } from '../../types/index.js';
|
|
3
3
|
import colors from '#ui-colors';
|
|
4
4
|
declare const config: {
|
|
5
5
|
wrapper: string;
|
|
@@ -29,7 +29,7 @@ declare const _default: import("vue").DefineComponent<import("vue").ExtractPropT
|
|
|
29
29
|
default: any;
|
|
30
30
|
};
|
|
31
31
|
modelValue: {
|
|
32
|
-
type:
|
|
32
|
+
type: PropType<boolean | Array<any> | null>;
|
|
33
33
|
default: any;
|
|
34
34
|
};
|
|
35
35
|
name: {
|
|
@@ -70,7 +70,7 @@ declare const _default: import("vue").DefineComponent<import("vue").ExtractPropT
|
|
|
70
70
|
default: () => "";
|
|
71
71
|
};
|
|
72
72
|
ui: {
|
|
73
|
-
type: PropType<
|
|
73
|
+
type: PropType<DeepPartial<typeof config> & {
|
|
74
74
|
strategy?: Strategy;
|
|
75
75
|
}>;
|
|
76
76
|
default: () => {};
|
|
@@ -97,7 +97,7 @@ declare const _default: import("vue").DefineComponent<import("vue").ExtractPropT
|
|
|
97
97
|
attrs: import("vue").ComputedRef<Pick<{
|
|
98
98
|
[x: string]: unknown;
|
|
99
99
|
}, string>>;
|
|
100
|
-
toggle: import("vue").WritableComputedRef<boolean |
|
|
100
|
+
toggle: import("vue").WritableComputedRef<boolean | any[], boolean | any[]>;
|
|
101
101
|
inputId: string;
|
|
102
102
|
name: import("vue").ComputedRef<string>;
|
|
103
103
|
inputClass: import("vue").ComputedRef<string>;
|
|
@@ -112,7 +112,7 @@ declare const _default: import("vue").DefineComponent<import("vue").ExtractPropT
|
|
|
112
112
|
default: any;
|
|
113
113
|
};
|
|
114
114
|
modelValue: {
|
|
115
|
-
type:
|
|
115
|
+
type: PropType<boolean | Array<any> | null>;
|
|
116
116
|
default: any;
|
|
117
117
|
};
|
|
118
118
|
name: {
|
|
@@ -153,7 +153,7 @@ declare const _default: import("vue").DefineComponent<import("vue").ExtractPropT
|
|
|
153
153
|
default: () => "";
|
|
154
154
|
};
|
|
155
155
|
ui: {
|
|
156
|
-
type: PropType<
|
|
156
|
+
type: PropType<DeepPartial<typeof config> & {
|
|
157
157
|
strategy?: Strategy;
|
|
158
158
|
}>;
|
|
159
159
|
default: () => {};
|
|
@@ -168,9 +168,30 @@ declare const _default: import("vue").DefineComponent<import("vue").ExtractPropT
|
|
|
168
168
|
disabled: boolean;
|
|
169
169
|
color: "primary" | "red" | "orange" | "amber" | "yellow" | "lime" | "green" | "emerald" | "teal" | "cyan" | "sky" | "blue" | "indigo" | "violet" | "purple" | "fuchsia" | "pink" | "rose";
|
|
170
170
|
label: string;
|
|
171
|
-
ui: {
|
|
171
|
+
ui: {
|
|
172
|
+
wrapper?: string;
|
|
173
|
+
container?: string;
|
|
174
|
+
base?: string;
|
|
175
|
+
form?: string;
|
|
176
|
+
rounded?: string;
|
|
177
|
+
color?: string;
|
|
178
|
+
background?: string;
|
|
179
|
+
border?: string;
|
|
180
|
+
ring?: string;
|
|
181
|
+
inner?: string;
|
|
182
|
+
label?: string;
|
|
183
|
+
required?: string;
|
|
184
|
+
help?: string;
|
|
185
|
+
default?: DeepPartial<{
|
|
186
|
+
color: string;
|
|
187
|
+
}, any>;
|
|
188
|
+
} & {
|
|
189
|
+
[key: string]: any;
|
|
190
|
+
} & {
|
|
191
|
+
strategy?: Strategy;
|
|
192
|
+
};
|
|
172
193
|
id: string;
|
|
173
|
-
modelValue: boolean |
|
|
194
|
+
modelValue: boolean | any[];
|
|
174
195
|
value: string | number | boolean | Record<string, any>;
|
|
175
196
|
help: string;
|
|
176
197
|
indeterminate: boolean;
|
|
@@ -1,5 +1,5 @@
|
|
|
1
1
|
import type { Ref, PropType } from 'vue';
|
|
2
|
-
import type { FormGroupSize, Strategy } from '../../types/index.js';
|
|
2
|
+
import type { FormGroupSize, Strategy, DeepPartial } from '../../types/index.js';
|
|
3
3
|
declare const config: {
|
|
4
4
|
wrapper: string;
|
|
5
5
|
inner: string;
|
|
@@ -64,7 +64,7 @@ declare const _default: import("vue").DefineComponent<import("vue").ExtractPropT
|
|
|
64
64
|
default: () => "";
|
|
65
65
|
};
|
|
66
66
|
ui: {
|
|
67
|
-
type: PropType<
|
|
67
|
+
type: PropType<DeepPartial<typeof config> & {
|
|
68
68
|
strategy?: Strategy;
|
|
69
69
|
}>;
|
|
70
70
|
default: () => {};
|
|
@@ -144,7 +144,7 @@ declare const _default: import("vue").DefineComponent<import("vue").ExtractPropT
|
|
|
144
144
|
default: () => "";
|
|
145
145
|
};
|
|
146
146
|
ui: {
|
|
147
|
-
type: PropType<
|
|
147
|
+
type: PropType<DeepPartial<typeof config> & {
|
|
148
148
|
strategy?: Strategy;
|
|
149
149
|
}>;
|
|
150
150
|
default: () => {};
|
|
@@ -160,7 +160,35 @@ declare const _default: import("vue").DefineComponent<import("vue").ExtractPropT
|
|
|
160
160
|
class: any;
|
|
161
161
|
label: string;
|
|
162
162
|
error: string | boolean;
|
|
163
|
-
ui: {
|
|
163
|
+
ui: {
|
|
164
|
+
wrapper?: string;
|
|
165
|
+
inner?: string;
|
|
166
|
+
label?: DeepPartial<{
|
|
167
|
+
wrapper: string;
|
|
168
|
+
base: string;
|
|
169
|
+
required: string;
|
|
170
|
+
}, any>;
|
|
171
|
+
size?: DeepPartial<{
|
|
172
|
+
'2xs': string;
|
|
173
|
+
xs: string;
|
|
174
|
+
sm: string;
|
|
175
|
+
md: string;
|
|
176
|
+
lg: string;
|
|
177
|
+
xl: string;
|
|
178
|
+
}, any>;
|
|
179
|
+
container?: string;
|
|
180
|
+
description?: string;
|
|
181
|
+
hint?: string;
|
|
182
|
+
help?: string;
|
|
183
|
+
error?: string;
|
|
184
|
+
default?: DeepPartial<{
|
|
185
|
+
size: string;
|
|
186
|
+
}, any>;
|
|
187
|
+
} & {
|
|
188
|
+
[key: string]: any;
|
|
189
|
+
} & {
|
|
190
|
+
strategy?: Strategy;
|
|
191
|
+
};
|
|
164
192
|
description: string;
|
|
165
193
|
help: string;
|
|
166
194
|
hint: string;
|
|
@@ -1,5 +1,5 @@
|
|
|
1
1
|
import type { PropType } from 'vue';
|
|
2
|
-
import type { InputSize, InputColor, InputVariant, Strategy } from '../../types/index.js';
|
|
2
|
+
import type { InputSize, InputColor, InputVariant, Strategy, DeepPartial } from '../../types/index.js';
|
|
3
3
|
declare const config: {
|
|
4
4
|
wrapper: string;
|
|
5
5
|
base: string;
|
|
@@ -111,7 +111,7 @@ declare const config: {
|
|
|
111
111
|
};
|
|
112
112
|
declare const _default: import("vue").DefineComponent<import("vue").ExtractPropTypes<{
|
|
113
113
|
modelValue: {
|
|
114
|
-
type:
|
|
114
|
+
type: PropType<string | number | null>;
|
|
115
115
|
default: string;
|
|
116
116
|
};
|
|
117
117
|
type: {
|
|
@@ -202,7 +202,7 @@ declare const _default: import("vue").DefineComponent<import("vue").ExtractPropT
|
|
|
202
202
|
default: () => "";
|
|
203
203
|
};
|
|
204
204
|
ui: {
|
|
205
|
-
type: PropType<
|
|
205
|
+
type: PropType<DeepPartial<typeof config> & {
|
|
206
206
|
strategy?: Strategy;
|
|
207
207
|
}>;
|
|
208
208
|
default: () => {};
|
|
@@ -345,7 +345,7 @@ declare const _default: import("vue").DefineComponent<import("vue").ExtractPropT
|
|
|
345
345
|
onBlur: (event: FocusEvent) => void;
|
|
346
346
|
}, {}, {}, {}, import("vue").ComponentOptionsMixin, import("vue").ComponentOptionsMixin, ("blur" | "change" | "update:modelValue")[], "blur" | "change" | "update:modelValue", import("vue").PublicProps, Readonly<import("vue").ExtractPropTypes<{
|
|
347
347
|
modelValue: {
|
|
348
|
-
type:
|
|
348
|
+
type: PropType<string | number | null>;
|
|
349
349
|
default: string;
|
|
350
350
|
};
|
|
351
351
|
type: {
|
|
@@ -436,7 +436,7 @@ declare const _default: import("vue").DefineComponent<import("vue").ExtractPropT
|
|
|
436
436
|
default: () => "";
|
|
437
437
|
};
|
|
438
438
|
ui: {
|
|
439
|
-
type: PropType<
|
|
439
|
+
type: PropType<DeepPartial<typeof config> & {
|
|
440
440
|
strategy?: Strategy;
|
|
441
441
|
}>;
|
|
442
442
|
default: () => {};
|
|
@@ -463,7 +463,119 @@ declare const _default: import("vue").DefineComponent<import("vue").ExtractPropT
|
|
|
463
463
|
leading: boolean;
|
|
464
464
|
color: InputColor;
|
|
465
465
|
variant: InputVariant;
|
|
466
|
-
ui: {
|
|
466
|
+
ui: {
|
|
467
|
+
wrapper?: string;
|
|
468
|
+
base?: string;
|
|
469
|
+
form?: string;
|
|
470
|
+
rounded?: string;
|
|
471
|
+
placeholder?: string;
|
|
472
|
+
file?: DeepPartial<{
|
|
473
|
+
base: string;
|
|
474
|
+
}, any>;
|
|
475
|
+
size?: DeepPartial<{
|
|
476
|
+
'2xs': string;
|
|
477
|
+
xs: string;
|
|
478
|
+
sm: string;
|
|
479
|
+
md: string;
|
|
480
|
+
lg: string;
|
|
481
|
+
xl: string;
|
|
482
|
+
}, any>;
|
|
483
|
+
gap?: DeepPartial<{
|
|
484
|
+
'2xs': string;
|
|
485
|
+
xs: string;
|
|
486
|
+
sm: string;
|
|
487
|
+
md: string;
|
|
488
|
+
lg: string;
|
|
489
|
+
xl: string;
|
|
490
|
+
}, any>;
|
|
491
|
+
padding?: DeepPartial<{
|
|
492
|
+
'2xs': string;
|
|
493
|
+
xs: string;
|
|
494
|
+
sm: string;
|
|
495
|
+
md: string;
|
|
496
|
+
lg: string;
|
|
497
|
+
xl: string;
|
|
498
|
+
}, any>;
|
|
499
|
+
leading?: DeepPartial<{
|
|
500
|
+
padding: {
|
|
501
|
+
'2xs': string;
|
|
502
|
+
xs: string;
|
|
503
|
+
sm: string;
|
|
504
|
+
md: string;
|
|
505
|
+
lg: string;
|
|
506
|
+
xl: string;
|
|
507
|
+
};
|
|
508
|
+
}, any>;
|
|
509
|
+
trailing?: DeepPartial<{
|
|
510
|
+
padding: {
|
|
511
|
+
'2xs': string;
|
|
512
|
+
xs: string;
|
|
513
|
+
sm: string;
|
|
514
|
+
md: string;
|
|
515
|
+
lg: string;
|
|
516
|
+
xl: string;
|
|
517
|
+
};
|
|
518
|
+
}, any>;
|
|
519
|
+
color?: DeepPartial<{
|
|
520
|
+
white: {
|
|
521
|
+
outline: string;
|
|
522
|
+
};
|
|
523
|
+
gray: {
|
|
524
|
+
outline: string;
|
|
525
|
+
};
|
|
526
|
+
}, any>;
|
|
527
|
+
variant?: DeepPartial<{
|
|
528
|
+
outline: string;
|
|
529
|
+
none: string;
|
|
530
|
+
}, any>;
|
|
531
|
+
icon?: DeepPartial<{
|
|
532
|
+
base: string;
|
|
533
|
+
color: string;
|
|
534
|
+
loading: string;
|
|
535
|
+
size: {
|
|
536
|
+
'2xs': string;
|
|
537
|
+
xs: string;
|
|
538
|
+
sm: string;
|
|
539
|
+
md: string;
|
|
540
|
+
lg: string;
|
|
541
|
+
xl: string;
|
|
542
|
+
};
|
|
543
|
+
leading: {
|
|
544
|
+
wrapper: string;
|
|
545
|
+
pointer: string;
|
|
546
|
+
padding: {
|
|
547
|
+
'2xs': string;
|
|
548
|
+
xs: string;
|
|
549
|
+
sm: string;
|
|
550
|
+
md: string;
|
|
551
|
+
lg: string;
|
|
552
|
+
xl: string;
|
|
553
|
+
};
|
|
554
|
+
};
|
|
555
|
+
trailing: {
|
|
556
|
+
wrapper: string;
|
|
557
|
+
pointer: string;
|
|
558
|
+
padding: {
|
|
559
|
+
'2xs': string;
|
|
560
|
+
xs: string;
|
|
561
|
+
sm: string;
|
|
562
|
+
md: string;
|
|
563
|
+
lg: string;
|
|
564
|
+
xl: string;
|
|
565
|
+
};
|
|
566
|
+
};
|
|
567
|
+
}, any>;
|
|
568
|
+
default?: DeepPartial<{
|
|
569
|
+
size: string;
|
|
570
|
+
color: string;
|
|
571
|
+
variant: string;
|
|
572
|
+
loadingIcon: string;
|
|
573
|
+
}, any>;
|
|
574
|
+
} & {
|
|
575
|
+
[key: string]: any;
|
|
576
|
+
} & {
|
|
577
|
+
strategy?: Strategy;
|
|
578
|
+
};
|
|
467
579
|
id: string;
|
|
468
580
|
icon: string;
|
|
469
581
|
modelValue: string | number;
|
|
@@ -477,7 +589,11 @@ declare const _default: import("vue").DefineComponent<import("vue").ExtractPropT
|
|
|
477
589
|
placeholder: string;
|
|
478
590
|
autofocus: boolean;
|
|
479
591
|
autofocusDelay: number;
|
|
480
|
-
modelModifiers: {
|
|
592
|
+
modelModifiers: {
|
|
593
|
+
trim?: boolean;
|
|
594
|
+
lazy?: boolean;
|
|
595
|
+
number?: boolean;
|
|
596
|
+
};
|
|
481
597
|
}, {}, {
|
|
482
598
|
UIcon: import("vue").DefineComponent<import("vue").ExtractPropTypes<{
|
|
483
599
|
name: {
|