vuetify 3.6.13 → 3.7.0-beta.1
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/json/attributes.json +166 -26
- package/dist/json/importMap-labs.json +16 -16
- package/dist/json/importMap.json +138 -138
- package/dist/json/tags.json +40 -5
- package/dist/json/web-types.json +394 -41
- package/dist/vuetify-labs.css +2300 -2284
- package/dist/vuetify-labs.d.ts +12763 -12509
- package/dist/vuetify-labs.esm.js +153 -145
- package/dist/vuetify-labs.esm.js.map +1 -1
- package/dist/vuetify-labs.js +153 -145
- package/dist/vuetify-labs.min.css +2 -2
- package/dist/vuetify.css +887 -871
- package/dist/vuetify.d.ts +11161 -10982
- package/dist/vuetify.esm.js +107 -65
- package/dist/vuetify.esm.js.map +1 -1
- package/dist/vuetify.js +107 -65
- package/dist/vuetify.js.map +1 -1
- package/dist/vuetify.min.css +2 -2
- package/dist/vuetify.min.js +1076 -1078
- package/dist/vuetify.min.js.map +1 -1
- package/lib/components/VAlert/index.d.mts +55 -55
- package/lib/components/VAppBar/index.d.mts +175 -169
- package/lib/components/VAutocomplete/VAutocomplete.mjs +15 -8
- package/lib/components/VAutocomplete/VAutocomplete.mjs.map +1 -1
- package/lib/components/VAutocomplete/index.d.mts +635 -634
- package/lib/components/VAvatar/VAvatar.css +7 -0
- package/lib/components/VAvatar/VAvatar.mjs +6 -1
- package/lib/components/VAvatar/VAvatar.mjs.map +1 -1
- package/lib/components/VAvatar/VAvatar.sass +1 -0
- package/lib/components/VAvatar/_variables.scss +13 -0
- package/lib/components/VAvatar/index.d.mts +36 -30
- package/lib/components/VBadge/index.d.mts +58 -58
- package/lib/components/VBanner/index.d.mts +59 -59
- package/lib/components/VBottomNavigation/index.d.mts +58 -58
- package/lib/components/VBottomSheet/index.d.mts +125 -125
- package/lib/components/VBreadcrumbs/index.d.mts +42 -42
- package/lib/components/VBtn/VBtn.mjs +3 -1
- package/lib/components/VBtn/VBtn.mjs.map +1 -1
- package/lib/components/VBtn/index.d.mts +113 -107
- package/lib/components/VBtnGroup/index.d.mts +23 -23
- package/lib/components/VBtnToggle/index.d.mts +40 -40
- package/lib/components/VCard/index.d.mts +93 -93
- package/lib/components/VCarousel/index.d.mts +130 -121
- package/lib/components/VCheckbox/index.d.mts +166 -166
- package/lib/components/VChip/index.d.mts +86 -86
- package/lib/components/VChipGroup/index.d.mts +46 -46
- package/lib/components/VColorPicker/index.d.mts +96 -96
- package/lib/components/VCombobox/VCombobox.mjs +15 -8
- package/lib/components/VCombobox/VCombobox.mjs.map +1 -1
- package/lib/components/VCombobox/index.d.mts +635 -634
- package/lib/components/VConfirmEdit/index.d.mts +2 -2
- package/lib/components/VCounter/index.d.mts +27 -27
- package/lib/components/VDataIterator/index.d.mts +50 -50
- package/lib/components/VDataTable/index.d.mts +253 -253
- package/lib/components/VDatePicker/index.d.mts +134 -134
- package/lib/components/VDialog/index.d.mts +378 -378
- package/lib/components/VDivider/index.d.mts +15 -15
- package/lib/components/VEmptyState/index.d.mts +47 -47
- package/lib/components/VExpansionPanel/VExpansionPanelTitle.mjs +7 -2
- package/lib/components/VExpansionPanel/VExpansionPanelTitle.mjs.map +1 -1
- package/lib/components/VExpansionPanel/index.d.mts +196 -124
- package/lib/components/VFab/index.d.mts +233 -227
- package/lib/components/VField/index.d.mts +46 -46
- package/lib/components/VFileInput/index.d.mts +243 -243
- package/lib/components/VFooter/index.d.mts +50 -50
- package/lib/components/VForm/index.d.mts +9 -9
- package/lib/components/VGrid/VContainer.mjs +6 -1
- package/lib/components/VGrid/VContainer.mjs.map +1 -1
- package/lib/components/VGrid/index.d.mts +178 -142
- package/lib/components/VIcon/index.d.mts +24 -24
- package/lib/components/VImg/VImg.css +9 -0
- package/lib/components/VImg/VImg.mjs +2 -0
- package/lib/components/VImg/VImg.mjs.map +1 -1
- package/lib/components/VImg/VImg.sass +9 -0
- package/lib/components/VImg/index.d.mts +101 -92
- package/lib/components/VInfiniteScroll/index.d.mts +22 -22
- package/lib/components/VInput/index.d.mts +53 -53
- package/lib/components/VItemGroup/index.d.mts +17 -17
- package/lib/components/VLabel/index.d.mts +8 -8
- package/lib/components/VLayout/index.d.mts +36 -36
- package/lib/components/VLazy/index.d.mts +31 -31
- package/lib/components/VList/VListItem.css +2 -2
- package/lib/components/VList/VListItem.mjs +2 -0
- package/lib/components/VList/VListItem.mjs.map +1 -1
- package/lib/components/VList/VListItem.sass +1 -1
- package/lib/components/VList/index.d.mts +191 -190
- package/lib/components/VLocaleProvider/index.d.mts +7 -7
- package/lib/components/VMain/index.d.mts +10 -10
- package/lib/components/VMenu/VMenu.mjs +7 -5
- package/lib/components/VMenu/VMenu.mjs.map +1 -1
- package/lib/components/VMenu/index.d.mts +423 -423
- package/lib/components/VMessages/index.d.mts +20 -20
- package/lib/components/VNavigationDrawer/index.d.mts +72 -72
- package/lib/components/VNavigationDrawer/sticky.mjs.map +1 -1
- package/lib/components/VOtpInput/index.d.mts +88 -88
- package/lib/components/VOverlay/index.d.mts +104 -104
- package/lib/components/VOverlay/locationStrategies.mjs +0 -6
- package/lib/components/VOverlay/locationStrategies.mjs.map +1 -1
- package/lib/components/VPagination/index.d.mts +55 -55
- package/lib/components/VParallax/index.d.mts +7 -7
- package/lib/components/VProgressCircular/index.d.mts +24 -24
- package/lib/components/VProgressLinear/index.d.mts +52 -52
- package/lib/components/VRadio/index.d.mts +41 -41
- package/lib/components/VRadioGroup/index.d.mts +97 -97
- package/lib/components/VRangeSlider/index.d.mts +94 -94
- package/lib/components/VRating/index.d.mts +22 -22
- package/lib/components/VResponsive/index.d.mts +23 -23
- package/lib/components/VSelect/VSelect.mjs +15 -13
- package/lib/components/VSelect/VSelect.mjs.map +1 -1
- package/lib/components/VSelect/index.d.mts +635 -634
- package/lib/components/VSelect/useScrolling.mjs +3 -3
- package/lib/components/VSelect/useScrolling.mjs.map +1 -1
- package/lib/components/VSelectionControl/index.d.mts +43 -43
- package/lib/components/VSelectionControlGroup/index.d.mts +39 -39
- package/lib/components/VSheet/index.d.mts +34 -34
- package/lib/components/VSkeletonLoader/index.d.mts +17 -17
- package/lib/components/VSlideGroup/VSlideGroup.mjs +3 -1
- package/lib/components/VSlideGroup/VSlideGroup.mjs.map +1 -1
- package/lib/components/VSlideGroup/index.d.mts +39 -33
- package/lib/components/VSlider/index.d.mts +87 -87
- package/lib/components/VSnackbar/index.d.mts +436 -436
- package/lib/components/VSparkline/index.d.mts +38 -38
- package/lib/components/VSpeedDial/index.d.mts +185 -185
- package/lib/components/VStepper/index.d.mts +119 -119
- package/lib/components/VSwitch/index.d.mts +100 -100
- package/lib/components/VSystemBar/index.d.mts +39 -39
- package/lib/components/VTable/index.d.mts +4 -4
- package/lib/components/VTabs/index.d.mts +530 -512
- package/lib/components/VTextField/index.d.mts +397 -397
- package/lib/components/VTextarea/index.d.mts +274 -274
- package/lib/components/VTimeline/index.d.mts +26 -26
- package/lib/components/VToolbar/index.d.mts +53 -53
- package/lib/components/VTooltip/index.d.mts +451 -451
- package/lib/components/VValidation/index.d.mts +22 -21
- package/lib/components/VVirtualScroll/VVirtualScroll.mjs +2 -0
- package/lib/components/VVirtualScroll/VVirtualScroll.mjs.map +1 -1
- package/lib/components/VVirtualScroll/index.d.mts +13 -10
- package/lib/components/VWindow/index.d.mts +31 -31
- package/lib/components/index.d.mts +11225 -11046
- package/lib/components/transitions/index.d.mts +200 -200
- package/lib/composables/nested/nested.mjs +3 -4
- package/lib/composables/nested/nested.mjs.map +1 -1
- package/lib/composables/nested/openStrategies.mjs +4 -2
- package/lib/composables/nested/openStrategies.mjs.map +1 -1
- package/lib/composables/nested/selectStrategies.mjs +5 -5
- package/lib/composables/nested/selectStrategies.mjs.map +1 -1
- package/lib/composables/validation.mjs +8 -6
- package/lib/composables/validation.mjs.map +1 -1
- package/lib/composables/virtual.mjs +1 -0
- package/lib/composables/virtual.mjs.map +1 -1
- package/lib/entry-bundler.mjs +1 -1
- package/lib/entry-bundler.mjs.map +1 -1
- package/lib/framework.mjs +1 -1
- package/lib/framework.mjs.map +1 -1
- package/lib/index.d.mts +44 -44
- package/lib/labs/VCalendar/index.d.mts +52 -52
- package/lib/labs/VDateInput/index.d.mts +244 -244
- package/lib/labs/VNumberInput/index.d.mts +235 -235
- package/lib/labs/VPicker/index.d.mts +45 -45
- package/lib/labs/VSnackbarQueue/index.d.mts +642 -642
- package/lib/labs/VStepperVertical/index.d.mts +224 -188
- package/lib/labs/VTimePicker/VTimePickerClock.mjs +0 -1
- package/lib/labs/VTimePicker/VTimePickerClock.mjs.map +1 -1
- package/lib/labs/VTimePicker/index.d.mts +115 -115
- package/lib/labs/VTreeview/VTreeview.mjs +7 -5
- package/lib/labs/VTreeview/VTreeview.mjs.map +1 -1
- package/lib/labs/VTreeview/VTreeviewChildren.mjs +33 -10
- package/lib/labs/VTreeview/VTreeviewChildren.mjs.map +1 -1
- package/lib/labs/VTreeview/VTreeviewItem.css +1 -1
- package/lib/labs/VTreeview/VTreeviewItem.mjs +14 -74
- package/lib/labs/VTreeview/VTreeviewItem.mjs.map +1 -1
- package/lib/labs/VTreeview/VTreeviewItem.sass +2 -5
- package/lib/labs/VTreeview/index.d.mts +270 -253
- package/lib/labs/components.d.mts +1835 -1782
- package/lib/util/helpers.mjs +5 -0
- package/lib/util/helpers.mjs.map +1 -1
- package/package.json +10 -5
|
@@ -60,35 +60,35 @@ declare const modes: {
|
|
|
60
60
|
|
|
61
61
|
declare const VColorPicker: {
|
|
62
62
|
new (...args: any[]): vue.CreateComponentPublicInstance<Readonly<vue.ExtractPropTypes<{
|
|
63
|
-
class: PropType<any>;
|
|
64
|
-
style: {
|
|
65
|
-
type: PropType<vue.StyleValue>;
|
|
66
|
-
default: null;
|
|
67
|
-
};
|
|
68
63
|
width: {
|
|
69
64
|
type: PropType<NonNullable<string | number>>;
|
|
70
65
|
default: NonNullable<string | number>;
|
|
71
66
|
};
|
|
72
|
-
|
|
67
|
+
border: (StringConstructor | BooleanConstructor | NumberConstructor)[];
|
|
73
68
|
color: StringConstructor;
|
|
69
|
+
position: {
|
|
70
|
+
type: PropType<"fixed" | "absolute" | "static" | "sticky" | "relative">;
|
|
71
|
+
validator: (v: any) => boolean;
|
|
72
|
+
};
|
|
73
|
+
style: {
|
|
74
|
+
type: PropType<vue.StyleValue>;
|
|
75
|
+
default: null;
|
|
76
|
+
};
|
|
77
|
+
class: PropType<any>;
|
|
74
78
|
tag: {
|
|
75
79
|
type: StringConstructor;
|
|
76
80
|
default: string;
|
|
77
81
|
};
|
|
78
|
-
|
|
79
|
-
|
|
80
|
-
|
|
81
|
-
validator: (v: any) => boolean;
|
|
82
|
+
elevation: {
|
|
83
|
+
type: (StringConstructor | NumberConstructor)[];
|
|
84
|
+
validator(v: any): boolean;
|
|
82
85
|
};
|
|
86
|
+
theme: StringConstructor;
|
|
83
87
|
rounded: {
|
|
84
|
-
type: (StringConstructor |
|
|
88
|
+
type: (StringConstructor | BooleanConstructor | NumberConstructor)[];
|
|
85
89
|
default: undefined;
|
|
86
90
|
};
|
|
87
91
|
tile: BooleanConstructor;
|
|
88
|
-
elevation: {
|
|
89
|
-
type: (StringConstructor | NumberConstructor)[];
|
|
90
|
-
validator(v: any): boolean;
|
|
91
|
-
};
|
|
92
92
|
canvasHeight: {
|
|
93
93
|
type: (StringConstructor | NumberConstructor)[];
|
|
94
94
|
default: number;
|
|
@@ -142,35 +142,35 @@ declare const VColorPicker: {
|
|
|
142
142
|
'update:modelValue': (color: any) => true;
|
|
143
143
|
'update:mode': (mode: keyof typeof modes) => true;
|
|
144
144
|
}, vue.VNodeProps & vue.AllowedComponentProps & vue.ComponentCustomProps & Readonly<vue.ExtractPropTypes<{
|
|
145
|
-
class: PropType<any>;
|
|
146
|
-
style: {
|
|
147
|
-
type: PropType<vue.StyleValue>;
|
|
148
|
-
default: null;
|
|
149
|
-
};
|
|
150
145
|
width: {
|
|
151
146
|
type: PropType<NonNullable<string | number>>;
|
|
152
147
|
default: NonNullable<string | number>;
|
|
153
148
|
};
|
|
154
|
-
|
|
149
|
+
border: (StringConstructor | BooleanConstructor | NumberConstructor)[];
|
|
155
150
|
color: StringConstructor;
|
|
151
|
+
position: {
|
|
152
|
+
type: PropType<"fixed" | "absolute" | "static" | "sticky" | "relative">;
|
|
153
|
+
validator: (v: any) => boolean;
|
|
154
|
+
};
|
|
155
|
+
style: {
|
|
156
|
+
type: PropType<vue.StyleValue>;
|
|
157
|
+
default: null;
|
|
158
|
+
};
|
|
159
|
+
class: PropType<any>;
|
|
156
160
|
tag: {
|
|
157
161
|
type: StringConstructor;
|
|
158
162
|
default: string;
|
|
159
163
|
};
|
|
160
|
-
|
|
161
|
-
|
|
162
|
-
|
|
163
|
-
validator: (v: any) => boolean;
|
|
164
|
+
elevation: {
|
|
165
|
+
type: (StringConstructor | NumberConstructor)[];
|
|
166
|
+
validator(v: any): boolean;
|
|
164
167
|
};
|
|
168
|
+
theme: StringConstructor;
|
|
165
169
|
rounded: {
|
|
166
|
-
type: (StringConstructor |
|
|
170
|
+
type: (StringConstructor | BooleanConstructor | NumberConstructor)[];
|
|
167
171
|
default: undefined;
|
|
168
172
|
};
|
|
169
173
|
tile: BooleanConstructor;
|
|
170
|
-
elevation: {
|
|
171
|
-
type: (StringConstructor | NumberConstructor)[];
|
|
172
|
-
validator(v: any): boolean;
|
|
173
|
-
};
|
|
174
174
|
canvasHeight: {
|
|
175
175
|
type: (StringConstructor | NumberConstructor)[];
|
|
176
176
|
default: number;
|
|
@@ -221,11 +221,11 @@ declare const VColorPicker: {
|
|
|
221
221
|
"onUpdate:modelValue"?: ((color: any) => any) | undefined;
|
|
222
222
|
"onUpdate:mode"?: ((mode: "rgb" | "rgba" | "hsl" | "hsla" | "hex" | "hexa") => any) | undefined;
|
|
223
223
|
}, {
|
|
224
|
-
style: vue.StyleValue;
|
|
225
|
-
mode: "rgb" | "rgba" | "hsl" | "hsla" | "hex" | "hexa";
|
|
226
224
|
width: NonNullable<string | number>;
|
|
225
|
+
style: vue.StyleValue;
|
|
227
226
|
disabled: boolean;
|
|
228
227
|
tag: string;
|
|
228
|
+
mode: "rgb" | "rgba" | "hsl" | "hsla" | "hex" | "hexa";
|
|
229
229
|
rounded: string | number | boolean;
|
|
230
230
|
tile: boolean;
|
|
231
231
|
dotSize: string | number;
|
|
@@ -244,35 +244,35 @@ declare const VColorPicker: {
|
|
|
244
244
|
M: {};
|
|
245
245
|
Defaults: {};
|
|
246
246
|
}, Readonly<vue.ExtractPropTypes<{
|
|
247
|
-
class: PropType<any>;
|
|
248
|
-
style: {
|
|
249
|
-
type: PropType<vue.StyleValue>;
|
|
250
|
-
default: null;
|
|
251
|
-
};
|
|
252
247
|
width: {
|
|
253
248
|
type: PropType<NonNullable<string | number>>;
|
|
254
249
|
default: NonNullable<string | number>;
|
|
255
250
|
};
|
|
256
|
-
|
|
251
|
+
border: (StringConstructor | BooleanConstructor | NumberConstructor)[];
|
|
257
252
|
color: StringConstructor;
|
|
253
|
+
position: {
|
|
254
|
+
type: PropType<"fixed" | "absolute" | "static" | "sticky" | "relative">;
|
|
255
|
+
validator: (v: any) => boolean;
|
|
256
|
+
};
|
|
257
|
+
style: {
|
|
258
|
+
type: PropType<vue.StyleValue>;
|
|
259
|
+
default: null;
|
|
260
|
+
};
|
|
261
|
+
class: PropType<any>;
|
|
258
262
|
tag: {
|
|
259
263
|
type: StringConstructor;
|
|
260
264
|
default: string;
|
|
261
265
|
};
|
|
262
|
-
|
|
263
|
-
|
|
264
|
-
|
|
265
|
-
validator: (v: any) => boolean;
|
|
266
|
+
elevation: {
|
|
267
|
+
type: (StringConstructor | NumberConstructor)[];
|
|
268
|
+
validator(v: any): boolean;
|
|
266
269
|
};
|
|
270
|
+
theme: StringConstructor;
|
|
267
271
|
rounded: {
|
|
268
|
-
type: (StringConstructor |
|
|
272
|
+
type: (StringConstructor | BooleanConstructor | NumberConstructor)[];
|
|
269
273
|
default: undefined;
|
|
270
274
|
};
|
|
271
275
|
tile: BooleanConstructor;
|
|
272
|
-
elevation: {
|
|
273
|
-
type: (StringConstructor | NumberConstructor)[];
|
|
274
|
-
validator(v: any): boolean;
|
|
275
|
-
};
|
|
276
276
|
canvasHeight: {
|
|
277
277
|
type: (StringConstructor | NumberConstructor)[];
|
|
278
278
|
default: number;
|
|
@@ -323,11 +323,11 @@ declare const VColorPicker: {
|
|
|
323
323
|
"onUpdate:modelValue"?: ((color: any) => any) | undefined;
|
|
324
324
|
"onUpdate:mode"?: ((mode: "rgb" | "rgba" | "hsl" | "hsla" | "hex" | "hexa") => any) | undefined;
|
|
325
325
|
}, {}, {}, {}, {}, {
|
|
326
|
-
style: vue.StyleValue;
|
|
327
|
-
mode: "rgb" | "rgba" | "hsl" | "hsla" | "hex" | "hexa";
|
|
328
326
|
width: NonNullable<string | number>;
|
|
327
|
+
style: vue.StyleValue;
|
|
329
328
|
disabled: boolean;
|
|
330
329
|
tag: string;
|
|
330
|
+
mode: "rgb" | "rgba" | "hsl" | "hsla" | "hex" | "hexa";
|
|
331
331
|
rounded: string | number | boolean;
|
|
332
332
|
tile: boolean;
|
|
333
333
|
dotSize: string | number;
|
|
@@ -343,35 +343,35 @@ declare const VColorPicker: {
|
|
|
343
343
|
__isTeleport?: undefined;
|
|
344
344
|
__isSuspense?: undefined;
|
|
345
345
|
} & vue.ComponentOptionsBase<Readonly<vue.ExtractPropTypes<{
|
|
346
|
-
class: PropType<any>;
|
|
347
|
-
style: {
|
|
348
|
-
type: PropType<vue.StyleValue>;
|
|
349
|
-
default: null;
|
|
350
|
-
};
|
|
351
346
|
width: {
|
|
352
347
|
type: PropType<NonNullable<string | number>>;
|
|
353
348
|
default: NonNullable<string | number>;
|
|
354
349
|
};
|
|
355
|
-
|
|
350
|
+
border: (StringConstructor | BooleanConstructor | NumberConstructor)[];
|
|
356
351
|
color: StringConstructor;
|
|
352
|
+
position: {
|
|
353
|
+
type: PropType<"fixed" | "absolute" | "static" | "sticky" | "relative">;
|
|
354
|
+
validator: (v: any) => boolean;
|
|
355
|
+
};
|
|
356
|
+
style: {
|
|
357
|
+
type: PropType<vue.StyleValue>;
|
|
358
|
+
default: null;
|
|
359
|
+
};
|
|
360
|
+
class: PropType<any>;
|
|
357
361
|
tag: {
|
|
358
362
|
type: StringConstructor;
|
|
359
363
|
default: string;
|
|
360
364
|
};
|
|
361
|
-
|
|
362
|
-
|
|
363
|
-
|
|
364
|
-
validator: (v: any) => boolean;
|
|
365
|
+
elevation: {
|
|
366
|
+
type: (StringConstructor | NumberConstructor)[];
|
|
367
|
+
validator(v: any): boolean;
|
|
365
368
|
};
|
|
369
|
+
theme: StringConstructor;
|
|
366
370
|
rounded: {
|
|
367
|
-
type: (StringConstructor |
|
|
371
|
+
type: (StringConstructor | BooleanConstructor | NumberConstructor)[];
|
|
368
372
|
default: undefined;
|
|
369
373
|
};
|
|
370
374
|
tile: BooleanConstructor;
|
|
371
|
-
elevation: {
|
|
372
|
-
type: (StringConstructor | NumberConstructor)[];
|
|
373
|
-
validator(v: any): boolean;
|
|
374
|
-
};
|
|
375
375
|
canvasHeight: {
|
|
376
376
|
type: (StringConstructor | NumberConstructor)[];
|
|
377
377
|
default: number;
|
|
@@ -425,11 +425,11 @@ declare const VColorPicker: {
|
|
|
425
425
|
'update:modelValue': (color: any) => true;
|
|
426
426
|
'update:mode': (mode: keyof typeof modes) => true;
|
|
427
427
|
}, string, {
|
|
428
|
-
style: vue.StyleValue;
|
|
429
|
-
mode: "rgb" | "rgba" | "hsl" | "hsla" | "hex" | "hexa";
|
|
430
428
|
width: NonNullable<string | number>;
|
|
429
|
+
style: vue.StyleValue;
|
|
431
430
|
disabled: boolean;
|
|
432
431
|
tag: string;
|
|
432
|
+
mode: "rgb" | "rgba" | "hsl" | "hsla" | "hex" | "hexa";
|
|
433
433
|
rounded: string | number | boolean;
|
|
434
434
|
tile: boolean;
|
|
435
435
|
dotSize: string | number;
|
|
@@ -441,35 +441,35 @@ declare const VColorPicker: {
|
|
|
441
441
|
showSwatches: boolean;
|
|
442
442
|
swatchesMaxHeight: string | number;
|
|
443
443
|
}, {}, string, {}> & vue.VNodeProps & vue.AllowedComponentProps & vue.ComponentCustomProps & FilterPropsOptions<{
|
|
444
|
-
class: PropType<any>;
|
|
445
|
-
style: {
|
|
446
|
-
type: PropType<vue.StyleValue>;
|
|
447
|
-
default: null;
|
|
448
|
-
};
|
|
449
444
|
width: {
|
|
450
445
|
type: PropType<NonNullable<string | number>>;
|
|
451
446
|
default: NonNullable<string | number>;
|
|
452
447
|
};
|
|
453
|
-
|
|
448
|
+
border: (StringConstructor | BooleanConstructor | NumberConstructor)[];
|
|
454
449
|
color: StringConstructor;
|
|
450
|
+
position: {
|
|
451
|
+
type: PropType<"fixed" | "absolute" | "static" | "sticky" | "relative">;
|
|
452
|
+
validator: (v: any) => boolean;
|
|
453
|
+
};
|
|
454
|
+
style: {
|
|
455
|
+
type: PropType<vue.StyleValue>;
|
|
456
|
+
default: null;
|
|
457
|
+
};
|
|
458
|
+
class: PropType<any>;
|
|
455
459
|
tag: {
|
|
456
460
|
type: StringConstructor;
|
|
457
461
|
default: string;
|
|
458
462
|
};
|
|
459
|
-
|
|
460
|
-
|
|
461
|
-
|
|
462
|
-
validator: (v: any) => boolean;
|
|
463
|
+
elevation: {
|
|
464
|
+
type: (StringConstructor | NumberConstructor)[];
|
|
465
|
+
validator(v: any): boolean;
|
|
463
466
|
};
|
|
467
|
+
theme: StringConstructor;
|
|
464
468
|
rounded: {
|
|
465
|
-
type: (StringConstructor |
|
|
469
|
+
type: (StringConstructor | BooleanConstructor | NumberConstructor)[];
|
|
466
470
|
default: undefined;
|
|
467
471
|
};
|
|
468
472
|
tile: BooleanConstructor;
|
|
469
|
-
elevation: {
|
|
470
|
-
type: (StringConstructor | NumberConstructor)[];
|
|
471
|
-
validator(v: any): boolean;
|
|
472
|
-
};
|
|
473
473
|
canvasHeight: {
|
|
474
474
|
type: (StringConstructor | NumberConstructor)[];
|
|
475
475
|
default: number;
|
|
@@ -517,35 +517,35 @@ declare const VColorPicker: {
|
|
|
517
517
|
type: PropType<string | Record<string, unknown> | null | undefined>;
|
|
518
518
|
};
|
|
519
519
|
}, vue.ExtractPropTypes<{
|
|
520
|
-
class: PropType<any>;
|
|
521
|
-
style: {
|
|
522
|
-
type: PropType<vue.StyleValue>;
|
|
523
|
-
default: null;
|
|
524
|
-
};
|
|
525
520
|
width: {
|
|
526
521
|
type: PropType<NonNullable<string | number>>;
|
|
527
522
|
default: NonNullable<string | number>;
|
|
528
523
|
};
|
|
529
|
-
|
|
524
|
+
border: (StringConstructor | BooleanConstructor | NumberConstructor)[];
|
|
530
525
|
color: StringConstructor;
|
|
526
|
+
position: {
|
|
527
|
+
type: PropType<"fixed" | "absolute" | "static" | "sticky" | "relative">;
|
|
528
|
+
validator: (v: any) => boolean;
|
|
529
|
+
};
|
|
530
|
+
style: {
|
|
531
|
+
type: PropType<vue.StyleValue>;
|
|
532
|
+
default: null;
|
|
533
|
+
};
|
|
534
|
+
class: PropType<any>;
|
|
531
535
|
tag: {
|
|
532
536
|
type: StringConstructor;
|
|
533
537
|
default: string;
|
|
534
538
|
};
|
|
535
|
-
|
|
536
|
-
|
|
537
|
-
|
|
538
|
-
validator: (v: any) => boolean;
|
|
539
|
+
elevation: {
|
|
540
|
+
type: (StringConstructor | NumberConstructor)[];
|
|
541
|
+
validator(v: any): boolean;
|
|
539
542
|
};
|
|
543
|
+
theme: StringConstructor;
|
|
540
544
|
rounded: {
|
|
541
|
-
type: (StringConstructor |
|
|
545
|
+
type: (StringConstructor | BooleanConstructor | NumberConstructor)[];
|
|
542
546
|
default: undefined;
|
|
543
547
|
};
|
|
544
548
|
tile: BooleanConstructor;
|
|
545
|
-
elevation: {
|
|
546
|
-
type: (StringConstructor | NumberConstructor)[];
|
|
547
|
-
validator(v: any): boolean;
|
|
548
|
-
};
|
|
549
549
|
canvasHeight: {
|
|
550
550
|
type: (StringConstructor | NumberConstructor)[];
|
|
551
551
|
default: number;
|
|
@@ -24,7 +24,7 @@ import { useLocale } from "../../composables/locale.mjs";
|
|
|
24
24
|
import { useProxiedModel } from "../../composables/proxiedModel.mjs";
|
|
25
25
|
import { makeTransitionProps } from "../../composables/transition.mjs"; // Utilities
|
|
26
26
|
import { computed, mergeProps, nextTick, ref, shallowRef, watch } from 'vue';
|
|
27
|
-
import { ensureValidVNode, genericComponent, IN_BROWSER, isComposingIgnoreKey, noop, omit, propsFactory, useRender, wrapInArray } from "../../util/index.mjs"; // Types
|
|
27
|
+
import { checkPrintable, ensureValidVNode, genericComponent, IN_BROWSER, isComposingIgnoreKey, noop, omit, propsFactory, useRender, wrapInArray } from "../../util/index.mjs"; // Types
|
|
28
28
|
function highlightResult(text, matches, length) {
|
|
29
29
|
if (matches == null) return text;
|
|
30
30
|
if (Array.isArray(matches)) throw new Error('Multiple matches is not implemented');
|
|
@@ -87,7 +87,7 @@ export const VCombobox = genericComponent()({
|
|
|
87
87
|
const menu = computed({
|
|
88
88
|
get: () => _menu.value,
|
|
89
89
|
set: v => {
|
|
90
|
-
if (_menu.value && !v && vMenuRef.value?.ΨopenChildren) return;
|
|
90
|
+
if (_menu.value && !v && vMenuRef.value?.ΨopenChildren.size) return;
|
|
91
91
|
_menu.value = v;
|
|
92
92
|
}
|
|
93
93
|
});
|
|
@@ -170,10 +170,7 @@ export const VCombobox = genericComponent()({
|
|
|
170
170
|
});
|
|
171
171
|
const menuDisabled = computed(() => props.hideNoData && !displayItems.value.length || props.readonly || form?.isReadonly.value);
|
|
172
172
|
const listRef = ref();
|
|
173
|
-
const
|
|
174
|
-
onListScroll,
|
|
175
|
-
onListKeydown
|
|
176
|
-
} = useScrolling(listRef, vTextFieldRef);
|
|
173
|
+
const listEvents = useScrolling(listRef, vTextFieldRef);
|
|
177
174
|
function onClear(e) {
|
|
178
175
|
cleared = true;
|
|
179
176
|
if (props.openOnClear) {
|
|
@@ -192,6 +189,11 @@ export const VCombobox = genericComponent()({
|
|
|
192
189
|
}
|
|
193
190
|
menu.value = !menu.value;
|
|
194
191
|
}
|
|
192
|
+
function onListKeydown(e) {
|
|
193
|
+
if (checkPrintable(e)) {
|
|
194
|
+
vTextFieldRef.value?.focus();
|
|
195
|
+
}
|
|
196
|
+
}
|
|
195
197
|
// eslint-disable-next-line complexity
|
|
196
198
|
function onKeydown(e) {
|
|
197
199
|
if (isComposingIgnoreKey(e) || props.readonly || form?.isReadonly.value) return;
|
|
@@ -256,6 +258,11 @@ export const VCombobox = genericComponent()({
|
|
|
256
258
|
}
|
|
257
259
|
}
|
|
258
260
|
}
|
|
261
|
+
function onAfterEnter() {
|
|
262
|
+
if (props.eager) {
|
|
263
|
+
vVirtualScrollRef.value?.calculateVisibleItems();
|
|
264
|
+
}
|
|
265
|
+
}
|
|
259
266
|
function onAfterLeave() {
|
|
260
267
|
if (isFocused.value) {
|
|
261
268
|
isPristine.value = true;
|
|
@@ -380,6 +387,7 @@ export const VCombobox = genericComponent()({
|
|
|
380
387
|
"openOnClick": false,
|
|
381
388
|
"closeOnContentClick": false,
|
|
382
389
|
"transition": props.transition,
|
|
390
|
+
"onAfterEnter": onAfterEnter,
|
|
383
391
|
"onAfterLeave": onAfterLeave
|
|
384
392
|
}, props.menuProps), {
|
|
385
393
|
default: () => [hasList && _createVNode(VList, _mergeProps({
|
|
@@ -390,11 +398,10 @@ export const VCombobox = genericComponent()({
|
|
|
390
398
|
"onKeydown": onListKeydown,
|
|
391
399
|
"onFocusin": onFocusin,
|
|
392
400
|
"onFocusout": onFocusout,
|
|
393
|
-
"onScrollPassive": onListScroll,
|
|
394
401
|
"tabindex": "-1",
|
|
395
402
|
"aria-live": "polite",
|
|
396
403
|
"color": props.itemColor ?? props.color
|
|
397
|
-
}, props.listProps), {
|
|
404
|
+
}, listEvents, props.listProps), {
|
|
398
405
|
default: () => [slots['prepend-item']?.(), !displayItems.value.length && !props.hideNoData && (slots['no-data']?.() ?? _createVNode(VListItem, {
|
|
399
406
|
"title": t(props.noDataText)
|
|
400
407
|
}, null)), _createVNode(VVirtualScroll, {
|