@vuetify/nightly 4.0.0-dev-20230515.0 → 4.0.0-dev-20230516.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/CHANGELOG.md +5 -4
- package/dist/json/attributes.json +14 -14
- package/dist/json/importMap.json +4 -4
- package/dist/json/web-types.json +21 -17
- package/dist/vuetify-labs.css +7 -3
- package/dist/vuetify-labs.d.ts +6549 -1557
- package/dist/vuetify-labs.esm.js +42 -21
- package/dist/vuetify-labs.esm.js.map +1 -1
- package/dist/vuetify-labs.js +42 -21
- package/dist/vuetify-labs.min.css +2 -2
- package/dist/vuetify.css +204 -200
- package/dist/vuetify.d.ts +4883 -968
- package/dist/vuetify.esm.js +42 -21
- package/dist/vuetify.esm.js.map +1 -1
- package/dist/vuetify.js +42 -21
- package/dist/vuetify.js.map +1 -1
- package/dist/vuetify.min.css +2 -2
- package/dist/vuetify.min.js +182 -180
- package/dist/vuetify.min.js.map +1 -1
- package/lib/components/VAlert/index.d.mts +58 -0
- package/lib/components/VApp/index.d.mts +15 -0
- package/lib/components/VAppBar/index.d.mts +81 -0
- package/lib/components/VAutocomplete/VAutocomplete.mjs.map +1 -1
- package/lib/components/VAutocomplete/index.d.mts +68 -10
- package/lib/components/VAvatar/index.d.mts +15 -0
- package/lib/components/VBadge/index.d.mts +19 -0
- package/lib/components/VBanner/index.d.mts +57 -0
- package/lib/components/VBottomNavigation/index.d.mts +15 -0
- package/lib/components/VBreadcrumbs/index.d.mts +37 -3
- package/lib/components/VBtn/index.d.mts +27 -0
- package/lib/components/VBtnGroup/index.d.mts +15 -0
- package/lib/components/VBtnToggle/index.d.mts +15 -0
- package/lib/components/VCard/index.d.mts +142 -0
- package/lib/components/VCarousel/index.d.mts +158 -0
- package/lib/components/VCheckbox/VCheckboxBtn.mjs +3 -3
- package/lib/components/VCheckbox/VCheckboxBtn.mjs.map +1 -1
- package/lib/components/VCheckbox/index.d.mts +92 -6
- package/lib/components/VChip/VChip.css +4 -2
- package/lib/components/VChip/VChip.sass +3 -2
- package/lib/components/VChip/index.d.mts +63 -0
- package/lib/components/VChipGroup/index.d.mts +39 -0
- package/lib/components/VCode/index.d.mts +15 -0
- package/lib/components/VCombobox/VCombobox.mjs.map +1 -1
- package/lib/components/VCombobox/index.d.mts +68 -10
- package/lib/components/VCounter/index.d.mts +15 -0
- package/lib/components/VDefaultsProvider/index.d.mts +15 -0
- package/lib/components/VDialog/index.d.mts +129 -3
- package/lib/components/VDivider/index.d.mts +15 -0
- package/lib/components/VExpansionPanel/index.d.mts +72 -0
- package/lib/components/VField/index.d.mts +22 -3
- package/lib/components/VFileInput/index.d.mts +180 -24
- package/lib/components/VFooter/index.d.mts +15 -0
- package/lib/components/VForm/index.d.mts +201 -8
- package/lib/components/VGrid/index.d.mts +60 -0
- package/lib/components/VHover/index.d.mts +27 -0
- package/lib/components/VIcon/index.d.mts +30 -0
- package/lib/components/VImg/index.d.mts +27 -0
- package/lib/components/VInput/VInput.mjs +1 -1
- package/lib/components/VInput/VInput.mjs.map +1 -1
- package/lib/components/VInput/index.d.mts +40 -9
- package/lib/components/VItemGroup/index.d.mts +82 -0
- package/lib/components/VKbd/index.d.mts +15 -0
- package/lib/components/VLabel/index.d.mts +15 -0
- package/lib/components/VLayout/index.d.mts +30 -0
- package/lib/components/VLazy/index.d.mts +15 -0
- package/lib/components/VList/index.d.mts +159 -3
- package/lib/components/VLocaleProvider/index.d.mts +15 -0
- package/lib/components/VMain/index.d.mts +15 -0
- package/lib/components/VMenu/index.d.mts +129 -3
- package/lib/components/VMessages/index.d.mts +15 -0
- package/lib/components/VNavigationDrawer/VNavigationDrawer.css +2 -0
- package/lib/components/VNavigationDrawer/VNavigationDrawer.sass +2 -0
- package/lib/components/VNavigationDrawer/index.d.mts +27 -0
- package/lib/components/VOverlay/index.d.mts +39 -0
- package/lib/components/VPagination/index.d.mts +31 -0
- package/lib/components/VParallax/index.d.mts +27 -0
- package/lib/components/VProgressCircular/index.d.mts +23 -0
- package/lib/components/VProgressLinear/index.d.mts +27 -0
- package/lib/components/VRadio/index.d.mts +35 -0
- package/lib/components/VRadioGroup/index.d.mts +57 -6
- package/lib/components/VRangeSlider/index.d.mts +49 -6
- package/lib/components/VRating/index.d.mts +19 -0
- package/lib/components/VResponsive/index.d.mts +19 -0
- package/lib/components/VSelect/VSelect.mjs.map +1 -1
- package/lib/components/VSelect/index.d.mts +68 -10
- package/lib/components/VSelectionControl/index.d.mts +7 -3
- package/lib/components/VSelectionControlGroup/index.d.mts +15 -0
- package/lib/components/VSheet/index.d.mts +15 -0
- package/lib/components/VSlideGroup/index.d.mts +58 -0
- package/lib/components/VSlider/index.d.mts +49 -6
- package/lib/components/VSnackbar/index.d.mts +125 -3
- package/lib/components/VSwitch/index.d.mts +61 -6
- package/lib/components/VSystemBar/index.d.mts +15 -0
- package/lib/components/VTable/index.d.mts +27 -0
- package/lib/components/VTabs/index.d.mts +30 -0
- package/lib/components/VTextField/index.d.mts +167 -27
- package/lib/components/VTextarea/index.d.mts +156 -24
- package/lib/components/VThemeProvider/index.d.mts +15 -0
- package/lib/components/VTimeline/index.d.mts +38 -0
- package/lib/components/VToolbar/index.d.mts +69 -0
- package/lib/components/VTooltip/index.d.mts +129 -3
- package/lib/components/VValidation/index.d.mts +96 -25
- package/lib/components/VVirtualScroll/index.d.mts +7 -3
- package/lib/components/VWindow/index.d.mts +74 -0
- package/lib/components/index.d.mts +4673 -758
- package/lib/components/transitions/index.d.mts +240 -0
- package/lib/composables/form.mjs +2 -3
- package/lib/composables/form.mjs.map +1 -1
- package/lib/composables/validation.mjs +34 -12
- package/lib/composables/validation.mjs.map +1 -1
- package/lib/entry-bundler.mjs +1 -1
- package/lib/framework.mjs +1 -1
- package/lib/index.d.mts +1 -1
- package/lib/labs/VDataTable/index.d.mts +1056 -25
- package/lib/labs/VInfiniteScroll/index.d.mts +31 -0
- package/lib/labs/VSkeletonLoader/index.d.mts +15 -0
- package/lib/labs/components.d.mts +1099 -22
- package/lib/styles/settings/_variables.scss +3 -3
- package/lib/util/defineComponent.mjs.map +1 -1
- package/package.json +1 -1
@@ -39,7 +39,7 @@ declare const VValidation: {
|
|
39
39
|
isValidating: vue.ShallowRef<boolean>;
|
40
40
|
reset: () => void;
|
41
41
|
resetValidation: () => void;
|
42
|
-
validate: () => Promise<string[]>;
|
42
|
+
validate: (silent?: boolean) => Promise<string[]>;
|
43
43
|
validationClasses: vue.ComputedRef<{
|
44
44
|
[x: string]: boolean;
|
45
45
|
}>;
|
@@ -54,7 +54,7 @@ declare const VValidation: {
|
|
54
54
|
isValidating: vue.ShallowRef<boolean>;
|
55
55
|
reset: () => void;
|
56
56
|
resetValidation: () => void;
|
57
|
-
validate: () => Promise<string[]>;
|
57
|
+
validate: (silent?: boolean) => Promise<string[]>;
|
58
58
|
validationClasses: vue.ComputedRef<{
|
59
59
|
[x: string]: boolean;
|
60
60
|
}>;
|
@@ -72,7 +72,7 @@ declare const VValidation: {
|
|
72
72
|
isValidating: vue.ShallowRef<boolean>;
|
73
73
|
reset: () => void;
|
74
74
|
resetValidation: () => void;
|
75
|
-
validate: () => Promise<string[]>;
|
75
|
+
validate: (silent?: boolean) => Promise<string[]>;
|
76
76
|
validationClasses: vue.ComputedRef<{
|
77
77
|
[x: string]: boolean;
|
78
78
|
}>;
|
@@ -88,7 +88,24 @@ declare const VValidation: {
|
|
88
88
|
isValidating: vue.ShallowRef<boolean>;
|
89
89
|
reset: () => void;
|
90
90
|
resetValidation: () => void;
|
91
|
-
validate: () => Promise<string[]>;
|
91
|
+
validate: (silent?: boolean) => Promise<string[]>;
|
92
|
+
validationClasses: vue.ComputedRef<{
|
93
|
+
[x: string]: boolean;
|
94
|
+
}>;
|
95
|
+
}) => vue.VNodeChild) | undefined;
|
96
|
+
} | undefined;
|
97
|
+
$slots?: {
|
98
|
+
default?: ((args_0: {
|
99
|
+
errorMessages: vue.ComputedRef<string[]>;
|
100
|
+
isDirty: vue.ComputedRef<boolean>;
|
101
|
+
isDisabled: vue.ComputedRef<boolean>;
|
102
|
+
isReadonly: vue.ComputedRef<boolean>;
|
103
|
+
isPristine: vue.ShallowRef<boolean>;
|
104
|
+
isValid: vue.ComputedRef<boolean | null>;
|
105
|
+
isValidating: vue.ShallowRef<boolean>;
|
106
|
+
reset: () => void;
|
107
|
+
resetValidation: () => void;
|
108
|
+
validate: (silent?: boolean) => Promise<string[]>;
|
92
109
|
validationClasses: vue.ComputedRef<{
|
93
110
|
[x: string]: boolean;
|
94
111
|
}>;
|
@@ -135,7 +152,7 @@ declare const VValidation: {
|
|
135
152
|
modelValue?: any;
|
136
153
|
"onUpdate:modelValue"?: ((val: any) => any) | undefined;
|
137
154
|
'onUpdate:focused'?: EventProp<[boolean], (args_0: boolean) => any> | undefined;
|
138
|
-
validateOn?: "input" | "blur" | "submit" | undefined;
|
155
|
+
validateOn?: "lazy" | ("input" | "blur" | "submit") | "input lazy" | "blur lazy" | "submit lazy" | "lazy input" | "lazy blur" | "lazy submit" | undefined;
|
139
156
|
validationValue?: any;
|
140
157
|
};
|
141
158
|
$attrs: {
|
@@ -155,7 +172,7 @@ declare const VValidation: {
|
|
155
172
|
isValidating: vue.ShallowRef<boolean>;
|
156
173
|
reset: () => void;
|
157
174
|
resetValidation: () => void;
|
158
|
-
validate: () => Promise<string[]>;
|
175
|
+
validate: (silent?: boolean) => Promise<string[]>;
|
159
176
|
validationClasses: vue.ComputedRef<{
|
160
177
|
[x: string]: boolean;
|
161
178
|
}>;
|
@@ -180,7 +197,7 @@ declare const VValidation: {
|
|
180
197
|
label?: string | undefined;
|
181
198
|
modelValue?: any;
|
182
199
|
'onUpdate:focused'?: EventProp<[boolean], (args_0: boolean) => any> | undefined;
|
183
|
-
validateOn?: "input" | "blur" | "submit" | undefined;
|
200
|
+
validateOn?: "lazy" | ("input" | "blur" | "submit") | "input lazy" | "blur lazy" | "submit lazy" | "lazy input" | "lazy blur" | "lazy submit" | undefined;
|
184
201
|
validationValue?: any;
|
185
202
|
} & {
|
186
203
|
$children?: vue.VNodeChild | {
|
@@ -194,7 +211,7 @@ declare const VValidation: {
|
|
194
211
|
isValidating: vue.ShallowRef<boolean>;
|
195
212
|
reset: () => void;
|
196
213
|
resetValidation: () => void;
|
197
|
-
validate: () => Promise<string[]>;
|
214
|
+
validate: (silent?: boolean) => Promise<string[]>;
|
198
215
|
validationClasses: vue.ComputedRef<{
|
199
216
|
[x: string]: boolean;
|
200
217
|
}>;
|
@@ -209,7 +226,7 @@ declare const VValidation: {
|
|
209
226
|
isValidating: vue.ShallowRef<boolean>;
|
210
227
|
reset: () => void;
|
211
228
|
resetValidation: () => void;
|
212
|
-
validate: () => Promise<string[]>;
|
229
|
+
validate: (silent?: boolean) => Promise<string[]>;
|
213
230
|
validationClasses: vue.ComputedRef<{
|
214
231
|
[x: string]: boolean;
|
215
232
|
}>;
|
@@ -225,7 +242,7 @@ declare const VValidation: {
|
|
225
242
|
isValidating: vue.ShallowRef<boolean>;
|
226
243
|
reset: () => void;
|
227
244
|
resetValidation: () => void;
|
228
|
-
validate: () => Promise<string[]>;
|
245
|
+
validate: (silent?: boolean) => Promise<string[]>;
|
229
246
|
validationClasses: vue.ComputedRef<{
|
230
247
|
[x: string]: boolean;
|
231
248
|
}>;
|
@@ -242,11 +259,29 @@ declare const VValidation: {
|
|
242
259
|
isValidating: vue.ShallowRef<boolean>;
|
243
260
|
reset: () => void;
|
244
261
|
resetValidation: () => void;
|
245
|
-
validate: () => Promise<string[]>;
|
262
|
+
validate: (silent?: boolean) => Promise<string[]>;
|
246
263
|
validationClasses: vue.ComputedRef<{
|
247
264
|
[x: string]: boolean;
|
248
265
|
}>;
|
249
266
|
}) => vue.VNodeChild) | undefined;
|
267
|
+
} & {
|
268
|
+
$slots?: {
|
269
|
+
default?: ((args_0: {
|
270
|
+
errorMessages: vue.ComputedRef<string[]>;
|
271
|
+
isDirty: vue.ComputedRef<boolean>;
|
272
|
+
isDisabled: vue.ComputedRef<boolean>;
|
273
|
+
isReadonly: vue.ComputedRef<boolean>;
|
274
|
+
isPristine: vue.ShallowRef<boolean>;
|
275
|
+
isValid: vue.ComputedRef<boolean | null>;
|
276
|
+
isValidating: vue.ShallowRef<boolean>;
|
277
|
+
reset: () => void;
|
278
|
+
resetValidation: () => void;
|
279
|
+
validate: (silent?: boolean) => Promise<string[]>;
|
280
|
+
validationClasses: vue.ComputedRef<{
|
281
|
+
[x: string]: boolean;
|
282
|
+
}>;
|
283
|
+
}) => vue.VNodeChild) | undefined;
|
284
|
+
} | undefined;
|
250
285
|
} & {
|
251
286
|
"onUpdate:modelValue"?: ((val: any) => any) | undefined;
|
252
287
|
}, () => vue.VNode<vue.RendererNode, vue.RendererElement, {
|
@@ -272,7 +307,7 @@ declare const VValidation: {
|
|
272
307
|
isValidating: vue.ShallowRef<boolean>;
|
273
308
|
reset: () => void;
|
274
309
|
resetValidation: () => void;
|
275
|
-
validate: () => Promise<string[]>;
|
310
|
+
validate: (silent?: boolean) => Promise<string[]>;
|
276
311
|
validationClasses: vue.ComputedRef<{
|
277
312
|
[x: string]: boolean;
|
278
313
|
}>;
|
@@ -312,7 +347,7 @@ declare const VValidation: {
|
|
312
347
|
label?: string | undefined;
|
313
348
|
modelValue?: any;
|
314
349
|
'onUpdate:focused'?: EventProp<[boolean], (args_0: boolean) => any> | undefined;
|
315
|
-
validateOn?: "input" | "blur" | "submit" | undefined;
|
350
|
+
validateOn?: "lazy" | ("input" | "blur" | "submit") | "input lazy" | "blur lazy" | "submit lazy" | "lazy input" | "lazy blur" | "lazy submit" | undefined;
|
316
351
|
validationValue?: any;
|
317
352
|
} & {
|
318
353
|
$children?: vue.VNodeChild | {
|
@@ -326,7 +361,7 @@ declare const VValidation: {
|
|
326
361
|
isValidating: vue.ShallowRef<boolean>;
|
327
362
|
reset: () => void;
|
328
363
|
resetValidation: () => void;
|
329
|
-
validate: () => Promise<string[]>;
|
364
|
+
validate: (silent?: boolean) => Promise<string[]>;
|
330
365
|
validationClasses: vue.ComputedRef<{
|
331
366
|
[x: string]: boolean;
|
332
367
|
}>;
|
@@ -341,7 +376,7 @@ declare const VValidation: {
|
|
341
376
|
isValidating: vue.ShallowRef<boolean>;
|
342
377
|
reset: () => void;
|
343
378
|
resetValidation: () => void;
|
344
|
-
validate: () => Promise<string[]>;
|
379
|
+
validate: (silent?: boolean) => Promise<string[]>;
|
345
380
|
validationClasses: vue.ComputedRef<{
|
346
381
|
[x: string]: boolean;
|
347
382
|
}>;
|
@@ -357,7 +392,7 @@ declare const VValidation: {
|
|
357
392
|
isValidating: vue.ShallowRef<boolean>;
|
358
393
|
reset: () => void;
|
359
394
|
resetValidation: () => void;
|
360
|
-
validate: () => Promise<string[]>;
|
395
|
+
validate: (silent?: boolean) => Promise<string[]>;
|
361
396
|
validationClasses: vue.ComputedRef<{
|
362
397
|
[x: string]: boolean;
|
363
398
|
}>;
|
@@ -374,11 +409,29 @@ declare const VValidation: {
|
|
374
409
|
isValidating: vue.ShallowRef<boolean>;
|
375
410
|
reset: () => void;
|
376
411
|
resetValidation: () => void;
|
377
|
-
validate: () => Promise<string[]>;
|
412
|
+
validate: (silent?: boolean) => Promise<string[]>;
|
378
413
|
validationClasses: vue.ComputedRef<{
|
379
414
|
[x: string]: boolean;
|
380
415
|
}>;
|
381
416
|
}) => vue.VNodeChild) | undefined;
|
417
|
+
} & {
|
418
|
+
$slots?: {
|
419
|
+
default?: ((args_0: {
|
420
|
+
errorMessages: vue.ComputedRef<string[]>;
|
421
|
+
isDirty: vue.ComputedRef<boolean>;
|
422
|
+
isDisabled: vue.ComputedRef<boolean>;
|
423
|
+
isReadonly: vue.ComputedRef<boolean>;
|
424
|
+
isPristine: vue.ShallowRef<boolean>;
|
425
|
+
isValid: vue.ComputedRef<boolean | null>;
|
426
|
+
isValidating: vue.ShallowRef<boolean>;
|
427
|
+
reset: () => void;
|
428
|
+
resetValidation: () => void;
|
429
|
+
validate: (silent?: boolean) => Promise<string[]>;
|
430
|
+
validationClasses: vue.ComputedRef<{
|
431
|
+
[x: string]: boolean;
|
432
|
+
}>;
|
433
|
+
}) => vue.VNodeChild) | undefined;
|
434
|
+
} | undefined;
|
382
435
|
} & {
|
383
436
|
"onUpdate:modelValue"?: ((val: any) => any) | undefined;
|
384
437
|
} & vue.ShallowUnwrapRef<() => vue.VNode<vue.RendererNode, vue.RendererElement, {
|
@@ -400,7 +453,7 @@ declare const VValidation: {
|
|
400
453
|
label?: string | undefined;
|
401
454
|
modelValue?: any;
|
402
455
|
'onUpdate:focused'?: EventProp<[boolean], (args_0: boolean) => any> | undefined;
|
403
|
-
validateOn?: "input" | "blur" | "submit" | undefined;
|
456
|
+
validateOn?: "lazy" | ("input" | "blur" | "submit") | "input lazy" | "blur lazy" | "submit lazy" | "lazy input" | "lazy blur" | "lazy submit" | undefined;
|
404
457
|
validationValue?: any;
|
405
458
|
} & {
|
406
459
|
$children?: vue.VNodeChild | {
|
@@ -414,7 +467,7 @@ declare const VValidation: {
|
|
414
467
|
isValidating: vue.ShallowRef<boolean>;
|
415
468
|
reset: () => void;
|
416
469
|
resetValidation: () => void;
|
417
|
-
validate: () => Promise<string[]>;
|
470
|
+
validate: (silent?: boolean) => Promise<string[]>;
|
418
471
|
validationClasses: vue.ComputedRef<{
|
419
472
|
[x: string]: boolean;
|
420
473
|
}>;
|
@@ -429,7 +482,7 @@ declare const VValidation: {
|
|
429
482
|
isValidating: vue.ShallowRef<boolean>;
|
430
483
|
reset: () => void;
|
431
484
|
resetValidation: () => void;
|
432
|
-
validate: () => Promise<string[]>;
|
485
|
+
validate: (silent?: boolean) => Promise<string[]>;
|
433
486
|
validationClasses: vue.ComputedRef<{
|
434
487
|
[x: string]: boolean;
|
435
488
|
}>;
|
@@ -445,7 +498,7 @@ declare const VValidation: {
|
|
445
498
|
isValidating: vue.ShallowRef<boolean>;
|
446
499
|
reset: () => void;
|
447
500
|
resetValidation: () => void;
|
448
|
-
validate: () => Promise<string[]>;
|
501
|
+
validate: (silent?: boolean) => Promise<string[]>;
|
449
502
|
validationClasses: vue.ComputedRef<{
|
450
503
|
[x: string]: boolean;
|
451
504
|
}>;
|
@@ -462,11 +515,29 @@ declare const VValidation: {
|
|
462
515
|
isValidating: vue.ShallowRef<boolean>;
|
463
516
|
reset: () => void;
|
464
517
|
resetValidation: () => void;
|
465
|
-
validate: () => Promise<string[]>;
|
518
|
+
validate: (silent?: boolean) => Promise<string[]>;
|
466
519
|
validationClasses: vue.ComputedRef<{
|
467
520
|
[x: string]: boolean;
|
468
521
|
}>;
|
469
522
|
}) => vue.VNodeChild) | undefined;
|
523
|
+
} & {
|
524
|
+
$slots?: {
|
525
|
+
default?: ((args_0: {
|
526
|
+
errorMessages: vue.ComputedRef<string[]>;
|
527
|
+
isDirty: vue.ComputedRef<boolean>;
|
528
|
+
isDisabled: vue.ComputedRef<boolean>;
|
529
|
+
isReadonly: vue.ComputedRef<boolean>;
|
530
|
+
isPristine: vue.ShallowRef<boolean>;
|
531
|
+
isValid: vue.ComputedRef<boolean | null>;
|
532
|
+
isValidating: vue.ShallowRef<boolean>;
|
533
|
+
reset: () => void;
|
534
|
+
resetValidation: () => void;
|
535
|
+
validate: (silent?: boolean) => Promise<string[]>;
|
536
|
+
validationClasses: vue.ComputedRef<{
|
537
|
+
[x: string]: boolean;
|
538
|
+
}>;
|
539
|
+
}) => vue.VNodeChild) | undefined;
|
540
|
+
} | undefined;
|
470
541
|
} & {
|
471
542
|
"onUpdate:modelValue"?: ((val: any) => any) | undefined;
|
472
543
|
}, () => vue.VNode<vue.RendererNode, vue.RendererElement, {
|
@@ -492,7 +563,7 @@ declare const VValidation: {
|
|
492
563
|
isValidating: vue.ShallowRef<boolean>;
|
493
564
|
reset: () => void;
|
494
565
|
resetValidation: () => void;
|
495
|
-
validate: () => Promise<string[]>;
|
566
|
+
validate: (silent?: boolean) => Promise<string[]>;
|
496
567
|
validationClasses: vue.ComputedRef<{
|
497
568
|
[x: string]: boolean;
|
498
569
|
}>;
|
@@ -520,7 +591,7 @@ declare const VValidation: {
|
|
520
591
|
default: () => never[];
|
521
592
|
};
|
522
593
|
modelValue: null;
|
523
|
-
validateOn: vue.PropType<"input" | "blur" | "submit" | undefined>;
|
594
|
+
validateOn: vue.PropType<"lazy" | ("input" | "blur" | "submit") | "input lazy" | "blur lazy" | "submit lazy" | "lazy input" | "lazy blur" | "lazy submit" | undefined>;
|
524
595
|
validationValue: null;
|
525
596
|
}, vue.ExtractPropTypes<{
|
526
597
|
focused: BooleanConstructor;
|
@@ -543,7 +614,7 @@ declare const VValidation: {
|
|
543
614
|
default: () => never[];
|
544
615
|
};
|
545
616
|
modelValue: null;
|
546
|
-
validateOn: vue.PropType<"input" | "blur" | "submit" | undefined>;
|
617
|
+
validateOn: vue.PropType<"lazy" | ("input" | "blur" | "submit") | "input lazy" | "blur lazy" | "submit lazy" | "lazy input" | "lazy blur" | "lazy submit" | undefined>;
|
547
618
|
validationValue: null;
|
548
619
|
}>>;
|
549
620
|
type VValidation = InstanceType<typeof VValidation>;
|
@@ -1,7 +1,7 @@
|
|
1
1
|
import * as vue from 'vue';
|
2
2
|
import { ComponentPropsOptions, ExtractPropTypes, VNodeChild } from 'vue';
|
3
3
|
|
4
|
-
type SlotsToProps<U extends RawSlots, T = U extends Record<string, any[]> ? MakeSlots<U> : U> = {
|
4
|
+
type SlotsToProps<U extends RawSlots, Generic extends boolean = false, T = U extends Record<string, any[]> ? MakeSlots<U> : U> = {
|
5
5
|
$children?: (VNodeChild | (T extends {
|
6
6
|
default: infer V;
|
7
7
|
} ? V : {}) | {
|
@@ -12,14 +12,18 @@ type SlotsToProps<U extends RawSlots, T = U extends Record<string, any[]> ? Make
|
|
12
12
|
};
|
13
13
|
} & {
|
14
14
|
[K in keyof T as `v-slot:${K & string}`]?: T[K] | false;
|
15
|
-
}
|
15
|
+
} & (Generic extends false ? {
|
16
|
+
$slots?: {
|
17
|
+
[K in keyof T]?: T[K];
|
18
|
+
};
|
19
|
+
} : {});
|
16
20
|
type RawSlots = Record<string, any[]> | Record<string, Slot>;
|
17
21
|
type Slot<T extends any[] = any[]> = (...args: T) => VNodeChild;
|
18
22
|
type MakeSlots<T extends RawSlots> = {
|
19
23
|
[K in keyof T]: T[K] extends any[] ? Slot<T[K]> : T[K];
|
20
24
|
};
|
21
25
|
type GenericProps<Props, Slots extends Record<string, any[]>> = {
|
22
|
-
$props: Props & SlotsToProps<Slots>;
|
26
|
+
$props: Props & SlotsToProps<Slots, true>;
|
23
27
|
$slots: MakeSlots<Slots>;
|
24
28
|
};
|
25
29
|
interface FilterPropsOptions<PropsOptions extends Readonly<ComponentPropsOptions>, Props = ExtractPropTypes<PropsOptions>> {
|
@@ -121,6 +121,20 @@ declare const VWindow: {
|
|
121
121
|
"v-slot:additional"?: false | ((args_0: {
|
122
122
|
group: GroupProvide;
|
123
123
|
}) => vue.VNodeChild) | undefined;
|
124
|
+
$slots?: {
|
125
|
+
default?: ((args_0: {
|
126
|
+
group: GroupProvide;
|
127
|
+
}) => vue.VNodeChild) | undefined;
|
128
|
+
additional?: ((args_0: {
|
129
|
+
group: GroupProvide;
|
130
|
+
}) => vue.VNodeChild) | undefined;
|
131
|
+
prev?: ((args_0: {
|
132
|
+
props: ControlProps;
|
133
|
+
}) => vue.VNodeChild) | undefined;
|
134
|
+
next?: ((args_0: {
|
135
|
+
props: ControlProps;
|
136
|
+
}) => vue.VNodeChild) | undefined;
|
137
|
+
} | undefined;
|
124
138
|
onVnodeBeforeMount?: ((vnode: vue.VNode<vue.RendererNode, vue.RendererElement, {
|
125
139
|
[key: string]: any;
|
126
140
|
}>) => void) | ((vnode: vue.VNode<vue.RendererNode, vue.RendererElement, {
|
@@ -262,6 +276,21 @@ declare const VWindow: {
|
|
262
276
|
"v-slot:next"?: false | ((args_0: {
|
263
277
|
props: ControlProps;
|
264
278
|
}) => vue.VNodeChild) | undefined;
|
279
|
+
} & {
|
280
|
+
$slots?: {
|
281
|
+
default?: ((args_0: {
|
282
|
+
group: GroupProvide;
|
283
|
+
}) => vue.VNodeChild) | undefined;
|
284
|
+
additional?: ((args_0: {
|
285
|
+
group: GroupProvide;
|
286
|
+
}) => vue.VNodeChild) | undefined;
|
287
|
+
prev?: ((args_0: {
|
288
|
+
props: ControlProps;
|
289
|
+
}) => vue.VNodeChild) | undefined;
|
290
|
+
next?: ((args_0: {
|
291
|
+
props: ControlProps;
|
292
|
+
}) => vue.VNodeChild) | undefined;
|
293
|
+
} | undefined;
|
265
294
|
} & {
|
266
295
|
"onUpdate:modelValue"?: ((v: any) => any) | undefined;
|
267
296
|
}, {
|
@@ -382,6 +411,21 @@ declare const VWindow: {
|
|
382
411
|
"v-slot:next"?: false | ((args_0: {
|
383
412
|
props: ControlProps;
|
384
413
|
}) => vue.VNodeChild) | undefined;
|
414
|
+
} & {
|
415
|
+
$slots?: {
|
416
|
+
default?: ((args_0: {
|
417
|
+
group: GroupProvide;
|
418
|
+
}) => vue.VNodeChild) | undefined;
|
419
|
+
additional?: ((args_0: {
|
420
|
+
group: GroupProvide;
|
421
|
+
}) => vue.VNodeChild) | undefined;
|
422
|
+
prev?: ((args_0: {
|
423
|
+
props: ControlProps;
|
424
|
+
}) => vue.VNodeChild) | undefined;
|
425
|
+
next?: ((args_0: {
|
426
|
+
props: ControlProps;
|
427
|
+
}) => vue.VNodeChild) | undefined;
|
428
|
+
} | undefined;
|
385
429
|
} & {
|
386
430
|
"onUpdate:modelValue"?: ((v: any) => any) | undefined;
|
387
431
|
} & vue.ShallowUnwrapRef<{
|
@@ -451,6 +495,21 @@ declare const VWindow: {
|
|
451
495
|
"v-slot:next"?: false | ((args_0: {
|
452
496
|
props: ControlProps;
|
453
497
|
}) => vue.VNodeChild) | undefined;
|
498
|
+
} & {
|
499
|
+
$slots?: {
|
500
|
+
default?: ((args_0: {
|
501
|
+
group: GroupProvide;
|
502
|
+
}) => vue.VNodeChild) | undefined;
|
503
|
+
additional?: ((args_0: {
|
504
|
+
group: GroupProvide;
|
505
|
+
}) => vue.VNodeChild) | undefined;
|
506
|
+
prev?: ((args_0: {
|
507
|
+
props: ControlProps;
|
508
|
+
}) => vue.VNodeChild) | undefined;
|
509
|
+
next?: ((args_0: {
|
510
|
+
props: ControlProps;
|
511
|
+
}) => vue.VNodeChild) | undefined;
|
512
|
+
} | undefined;
|
454
513
|
} & {
|
455
514
|
"onUpdate:modelValue"?: ((v: any) => any) | undefined;
|
456
515
|
}, {
|
@@ -600,6 +659,9 @@ declare const VWindowItem: {
|
|
600
659
|
'v-slots'?: {
|
601
660
|
default?: false | (() => vue.VNodeChild) | undefined;
|
602
661
|
} | undefined;
|
662
|
+
$slots?: {
|
663
|
+
default?: (() => vue.VNodeChild) | undefined;
|
664
|
+
} | undefined;
|
603
665
|
onVnodeBeforeMount?: ((vnode: vue.VNode<vue.RendererNode, vue.RendererElement, {
|
604
666
|
[key: string]: any;
|
605
667
|
}>) => void) | ((vnode: vue.VNode<vue.RendererNode, vue.RendererElement, {
|
@@ -679,6 +741,10 @@ declare const VWindowItem: {
|
|
679
741
|
} | undefined;
|
680
742
|
} & {
|
681
743
|
"v-slot:default"?: false | (() => vue.VNodeChild) | undefined;
|
744
|
+
} & {
|
745
|
+
$slots?: {
|
746
|
+
default?: (() => vue.VNodeChild) | undefined;
|
747
|
+
} | undefined;
|
682
748
|
} & {
|
683
749
|
"onGroup:selected"?: ((val: {
|
684
750
|
value: boolean;
|
@@ -736,6 +802,10 @@ declare const VWindowItem: {
|
|
736
802
|
} | undefined;
|
737
803
|
} & {
|
738
804
|
"v-slot:default"?: false | (() => vue.VNodeChild) | undefined;
|
805
|
+
} & {
|
806
|
+
$slots?: {
|
807
|
+
default?: (() => vue.VNodeChild) | undefined;
|
808
|
+
} | undefined;
|
739
809
|
} & {
|
740
810
|
"onGroup:selected"?: ((val: {
|
741
811
|
value: boolean;
|
@@ -763,6 +833,10 @@ declare const VWindowItem: {
|
|
763
833
|
} | undefined;
|
764
834
|
} & {
|
765
835
|
"v-slot:default"?: false | (() => vue.VNodeChild) | undefined;
|
836
|
+
} & {
|
837
|
+
$slots?: {
|
838
|
+
default?: (() => vue.VNodeChild) | undefined;
|
839
|
+
} | undefined;
|
766
840
|
} & {
|
767
841
|
"onGroup:selected"?: ((val: {
|
768
842
|
value: boolean;
|