vuetify 3.3.13 → 3.3.15
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 +70 -66
- package/dist/json/importMap.json +12 -12
- package/dist/json/tags.json +5 -4
- package/dist/json/web-types.json +274 -185
- package/dist/vuetify-labs.css +565 -486
- package/dist/vuetify-labs.d.ts +831 -462
- package/dist/vuetify-labs.esm.js +453 -310
- package/dist/vuetify-labs.esm.js.map +1 -1
- package/dist/vuetify-labs.js +452 -309
- package/dist/vuetify-labs.min.css +2 -2
- package/dist/vuetify.css +318 -239
- package/dist/vuetify.d.ts +678 -301
- package/dist/vuetify.esm.js +253 -173
- package/dist/vuetify.esm.js.map +1 -1
- package/dist/vuetify.js +252 -172
- package/dist/vuetify.js.map +1 -1
- package/dist/vuetify.min.css +2 -2
- package/dist/vuetify.min.js +842 -830
- package/dist/vuetify.min.js.map +1 -1
- package/lib/components/VAppBar/VAppBar.mjs.map +1 -1
- package/lib/components/VAppBar/index.d.mts +6 -6
- package/lib/components/VAutocomplete/VAutocomplete.mjs +12 -2
- package/lib/components/VAutocomplete/VAutocomplete.mjs.map +1 -1
- package/lib/components/VBadge/VBadge.css +1 -1
- package/lib/components/VBadge/_variables.scss +1 -1
- package/lib/components/VBtnToggle/VBtnToggle.css +13 -2
- package/lib/components/VBtnToggle/VBtnToggle.sass +3 -3
- package/lib/components/VBtnToggle/_variables.scss +2 -1
- package/lib/components/VCheckbox/VCheckbox.mjs +2 -2
- package/lib/components/VCheckbox/VCheckbox.mjs.map +1 -1
- package/lib/components/VCheckbox/VCheckboxBtn.mjs +14 -11
- package/lib/components/VCheckbox/VCheckboxBtn.mjs.map +1 -1
- package/lib/components/VCheckbox/index.d.mts +203 -87
- package/lib/components/VColorPicker/VColorPickerEdit.css +4 -2
- package/lib/components/VColorPicker/VColorPickerPreview.css +11 -6
- package/lib/components/VCombobox/VCombobox.mjs +11 -1
- package/lib/components/VCombobox/VCombobox.mjs.map +1 -1
- package/lib/components/VField/VField.css +25 -7
- package/lib/components/VField/VField.sass +15 -1
- package/lib/components/VGrid/VGrid.css +153 -142
- package/lib/components/VIcon/VIcon.css +1 -0
- package/lib/components/VIcon/VIcon.sass +1 -0
- package/lib/components/VOverlay/useActivator.mjs +1 -1
- package/lib/components/VOverlay/useActivator.mjs.map +1 -1
- package/lib/components/VProgressLinear/VProgressLinear.css +3 -2
- package/lib/components/VRadio/index.d.mts +82 -23
- package/lib/components/VRadioGroup/VRadioGroup.mjs +2 -2
- package/lib/components/VRadioGroup/VRadioGroup.mjs.map +1 -1
- package/lib/components/VRadioGroup/index.d.mts +75 -109
- package/lib/components/VRangeSlider/index.d.mts +114 -33
- package/lib/components/VSelect/VSelect.mjs +12 -2
- package/lib/components/VSelect/VSelect.mjs.map +1 -1
- package/lib/components/VSelectionControl/VSelectionControl.mjs +19 -3
- package/lib/components/VSelectionControl/VSelectionControl.mjs.map +1 -1
- package/lib/components/VSelectionControl/index.d.mts +19 -5
- package/lib/components/VSlider/VSlider.mjs.map +1 -1
- package/lib/components/VSlider/VSliderThumb.css +8 -4
- package/lib/components/VSlider/VSliderTrack.css +22 -12
- package/lib/components/VSlider/index.d.mts +114 -33
- package/lib/components/VSwitch/VSwitch.css +7 -5
- package/lib/components/VSwitch/VSwitch.mjs +26 -16
- package/lib/components/VSwitch/VSwitch.mjs.map +1 -1
- package/lib/components/VSwitch/VSwitch.sass +6 -4
- package/lib/components/VSwitch/_variables.scss +5 -3
- package/lib/components/VSwitch/index.d.mts +82 -23
- package/lib/components/VTable/VTable.css +3 -0
- package/lib/components/VTable/VTable.sass +4 -0
- package/lib/components/VTable/_variables.scss +3 -0
- package/lib/components/VTabs/VTab.mjs +2 -2
- package/lib/components/VTabs/VTab.mjs.map +1 -1
- package/lib/components/VTextarea/VTextarea.mjs +1 -0
- package/lib/components/VTextarea/VTextarea.mjs.map +1 -1
- package/lib/components/VTimeline/VTimeline.css +19 -10
- package/lib/components/VTimeline/VTimeline.sass +5 -0
- package/lib/components/VToolbar/VToolbar.css +4 -2
- package/lib/components/index.d.mts +676 -299
- package/lib/composables/color.mjs +6 -1
- package/lib/composables/color.mjs.map +1 -1
- package/lib/composables/defaults.mjs +9 -9
- package/lib/composables/defaults.mjs.map +1 -1
- package/lib/composables/theme.mjs +8 -7
- package/lib/composables/theme.mjs.map +1 -1
- package/lib/entry-bundler.mjs +1 -1
- package/lib/framework.mjs +1 -1
- package/lib/index.d.mts +3 -3
- package/lib/labs/VDateInput/index.d.mts +2 -2
- package/lib/labs/VDatePicker/VDateCard.mjs +3 -0
- package/lib/labs/VDatePicker/VDateCard.mjs.map +1 -1
- package/lib/labs/VDatePicker/VDatePicker.mjs +51 -21
- package/lib/labs/VDatePicker/VDatePicker.mjs.map +1 -1
- package/lib/labs/VDatePicker/VDatePickerControls.css +1 -1
- package/lib/labs/VDatePicker/VDatePickerControls.mjs +53 -35
- package/lib/labs/VDatePicker/VDatePickerControls.mjs.map +1 -1
- package/lib/labs/VDatePicker/VDatePickerMonth.mjs +37 -28
- package/lib/labs/VDatePicker/VDatePickerMonth.mjs.map +1 -1
- package/lib/labs/VDatePicker/VDatePickerYears.mjs +19 -17
- package/lib/labs/VDatePicker/VDatePickerYears.mjs.map +1 -1
- package/lib/labs/VDatePicker/index.d.mts +148 -156
- package/lib/labs/VDateRangePicker/VDateRangeCard.mjs +3 -0
- package/lib/labs/VDateRangePicker/VDateRangeCard.mjs.map +1 -1
- package/lib/labs/VDateRangePicker/index.d.mts +59 -52
- package/lib/labs/VSkeletonLoader/VSkeletonLoader.mjs.map +1 -1
- package/lib/labs/VSkeletonLoader/index.d.mts +8 -8
- package/lib/labs/components.d.mts +156 -164
- package/lib/locale/bg.mjs +23 -23
- package/lib/locale/bg.mjs.map +1 -1
- package/lib/locale/fa.mjs +16 -16
- package/lib/locale/fa.mjs.map +1 -1
- package/lib/locale/no.mjs +1 -1
- package/lib/locale/no.mjs.map +1 -1
- package/lib/styles/tools/_rtl.sass +4 -2
- package/lib/styles/tools/_states.sass +5 -5
- package/lib/util/colorUtils.mjs +6 -0
- package/lib/util/colorUtils.mjs.map +1 -1
- package/lib/util/helpers.mjs +10 -4
- package/lib/util/helpers.mjs.map +1 -1
- package/lib/util/injectSelf.mjs +2 -1
- package/lib/util/injectSelf.mjs.map +1 -1
- package/package.json +2 -2
|
@@ -18,6 +18,8 @@ type SelectionControlSlot = {
|
|
|
18
18
|
model: WritableComputedRef<any>;
|
|
19
19
|
textColorClasses: Ref<string[]>;
|
|
20
20
|
textColorStyles: Ref<CSSProperties>;
|
|
21
|
+
backgroundColorClasses: Ref<string[]>;
|
|
22
|
+
backgroundColorStyles: Ref<CSSProperties>;
|
|
21
23
|
inputNode: VNode;
|
|
22
24
|
icon: IconValue | undefined;
|
|
23
25
|
props: {
|
|
@@ -27,13 +29,13 @@ type SelectionControlSlot = {
|
|
|
27
29
|
};
|
|
28
30
|
};
|
|
29
31
|
|
|
32
|
+
type ValidationResult = string | boolean;
|
|
33
|
+
type ValidationRule = ValidationResult | PromiseLike<ValidationResult> | ((value: any) => ValidationResult) | ((value: any) => PromiseLike<ValidationResult>);
|
|
34
|
+
|
|
30
35
|
type VMessageSlot = {
|
|
31
36
|
message: string;
|
|
32
37
|
};
|
|
33
38
|
|
|
34
|
-
type ValidationResult = string | boolean;
|
|
35
|
-
type ValidationRule = ValidationResult | PromiseLike<ValidationResult> | ((value: any) => ValidationResult) | ((value: any) => PromiseLike<ValidationResult>);
|
|
36
|
-
|
|
37
39
|
interface VInputSlot {
|
|
38
40
|
id: ComputedRef<string>;
|
|
39
41
|
messagesId: ComputedRef<string>;
|
|
@@ -81,12 +83,18 @@ declare const VCheckbox: {
|
|
|
81
83
|
value?: any;
|
|
82
84
|
label?: string | undefined;
|
|
83
85
|
class?: any;
|
|
84
|
-
$children?: vue.VNodeChild | ((
|
|
85
|
-
|
|
86
|
-
|
|
87
|
-
|
|
88
|
-
details?: ((arg: VInputSlot) => vue.VNodeChild) | undefined;
|
|
86
|
+
$children?: vue.VNodeChild | ((arg: {
|
|
87
|
+
backgroundColorClasses: vue.Ref<string[]>;
|
|
88
|
+
backgroundColorStyles: vue.Ref<vue.CSSProperties>;
|
|
89
|
+
}) => vue.VNodeChild) | {
|
|
89
90
|
message?: ((arg: VMessageSlot) => vue.VNodeChild) | undefined;
|
|
91
|
+
details?: ((arg: VInputSlot) => vue.VNodeChild) | undefined;
|
|
92
|
+
append?: ((arg: VInputSlot) => vue.VNodeChild) | undefined;
|
|
93
|
+
prepend?: ((arg: VInputSlot) => vue.VNodeChild) | undefined;
|
|
94
|
+
default?: ((arg: {
|
|
95
|
+
backgroundColorClasses: vue.Ref<string[]>;
|
|
96
|
+
backgroundColorStyles: vue.Ref<vue.CSSProperties>;
|
|
97
|
+
}) => vue.VNodeChild) | undefined;
|
|
90
98
|
label?: ((arg: {
|
|
91
99
|
label: string | undefined;
|
|
92
100
|
props: Record<string, unknown>;
|
|
@@ -97,13 +105,19 @@ declare const VCheckbox: {
|
|
|
97
105
|
ref_for?: boolean | undefined;
|
|
98
106
|
ref_key?: string | undefined;
|
|
99
107
|
theme?: string | undefined;
|
|
100
|
-
"v-slot:default"?: false | ((
|
|
108
|
+
"v-slot:default"?: false | ((arg: {
|
|
109
|
+
backgroundColorClasses: vue.Ref<string[]>;
|
|
110
|
+
backgroundColorStyles: vue.Ref<vue.CSSProperties>;
|
|
111
|
+
}) => vue.VNodeChild) | undefined;
|
|
101
112
|
'v-slots'?: {
|
|
102
|
-
default?: false | (() => vue.VNodeChild) | undefined;
|
|
103
|
-
prepend?: false | ((arg: VInputSlot) => vue.VNodeChild) | undefined;
|
|
104
|
-
append?: false | ((arg: VInputSlot) => vue.VNodeChild) | undefined;
|
|
105
|
-
details?: false | ((arg: VInputSlot) => vue.VNodeChild) | undefined;
|
|
106
113
|
message?: false | ((arg: VMessageSlot) => vue.VNodeChild) | undefined;
|
|
114
|
+
details?: false | ((arg: VInputSlot) => vue.VNodeChild) | undefined;
|
|
115
|
+
append?: false | ((arg: VInputSlot) => vue.VNodeChild) | undefined;
|
|
116
|
+
prepend?: false | ((arg: VInputSlot) => vue.VNodeChild) | undefined;
|
|
117
|
+
default?: false | ((arg: {
|
|
118
|
+
backgroundColorClasses: vue.Ref<string[]>;
|
|
119
|
+
backgroundColorStyles: vue.Ref<vue.CSSProperties>;
|
|
120
|
+
}) => vue.VNodeChild) | undefined;
|
|
107
121
|
label?: false | ((arg: {
|
|
108
122
|
label: string | undefined;
|
|
109
123
|
props: Record<string, unknown>;
|
|
@@ -179,19 +193,22 @@ declare const VCheckbox: {
|
|
|
179
193
|
[x: string]: unknown;
|
|
180
194
|
};
|
|
181
195
|
$slots: Readonly<{
|
|
182
|
-
|
|
196
|
+
message?: ((arg: VMessageSlot) => vue.VNode<vue.RendererNode, vue.RendererElement, {
|
|
183
197
|
[key: string]: any;
|
|
184
198
|
}>[]) | undefined;
|
|
185
|
-
|
|
199
|
+
details?: ((arg: VInputSlot) => vue.VNode<vue.RendererNode, vue.RendererElement, {
|
|
186
200
|
[key: string]: any;
|
|
187
201
|
}>[]) | undefined;
|
|
188
202
|
append?: ((arg: VInputSlot) => vue.VNode<vue.RendererNode, vue.RendererElement, {
|
|
189
203
|
[key: string]: any;
|
|
190
204
|
}>[]) | undefined;
|
|
191
|
-
|
|
205
|
+
prepend?: ((arg: VInputSlot) => vue.VNode<vue.RendererNode, vue.RendererElement, {
|
|
192
206
|
[key: string]: any;
|
|
193
207
|
}>[]) | undefined;
|
|
194
|
-
|
|
208
|
+
default?: ((arg: {
|
|
209
|
+
backgroundColorClasses: vue.Ref<string[]>;
|
|
210
|
+
backgroundColorStyles: vue.Ref<vue.CSSProperties>;
|
|
211
|
+
}) => vue.VNode<vue.RendererNode, vue.RendererElement, {
|
|
195
212
|
[key: string]: any;
|
|
196
213
|
}>[]) | undefined;
|
|
197
214
|
label?: ((arg: {
|
|
@@ -252,12 +269,18 @@ declare const VCheckbox: {
|
|
|
252
269
|
hint?: string | undefined;
|
|
253
270
|
hideDetails?: boolean | "auto" | undefined;
|
|
254
271
|
} & {
|
|
255
|
-
$children?: vue.VNodeChild | ((
|
|
256
|
-
|
|
257
|
-
|
|
258
|
-
|
|
259
|
-
details?: ((arg: VInputSlot) => vue.VNodeChild) | undefined;
|
|
272
|
+
$children?: vue.VNodeChild | ((arg: {
|
|
273
|
+
backgroundColorClasses: vue.Ref<string[]>;
|
|
274
|
+
backgroundColorStyles: vue.Ref<vue.CSSProperties>;
|
|
275
|
+
}) => vue.VNodeChild) | {
|
|
260
276
|
message?: ((arg: VMessageSlot) => vue.VNodeChild) | undefined;
|
|
277
|
+
details?: ((arg: VInputSlot) => vue.VNodeChild) | undefined;
|
|
278
|
+
append?: ((arg: VInputSlot) => vue.VNodeChild) | undefined;
|
|
279
|
+
prepend?: ((arg: VInputSlot) => vue.VNodeChild) | undefined;
|
|
280
|
+
default?: ((arg: {
|
|
281
|
+
backgroundColorClasses: vue.Ref<string[]>;
|
|
282
|
+
backgroundColorStyles: vue.Ref<vue.CSSProperties>;
|
|
283
|
+
}) => vue.VNodeChild) | undefined;
|
|
261
284
|
label?: ((arg: {
|
|
262
285
|
label: string | undefined;
|
|
263
286
|
props: Record<string, unknown>;
|
|
@@ -265,11 +288,14 @@ declare const VCheckbox: {
|
|
|
265
288
|
input?: ((arg: SelectionControlSlot) => vue.VNodeChild) | undefined;
|
|
266
289
|
};
|
|
267
290
|
'v-slots'?: {
|
|
268
|
-
default?: false | (() => vue.VNodeChild) | undefined;
|
|
269
|
-
prepend?: false | ((arg: VInputSlot) => vue.VNodeChild) | undefined;
|
|
270
|
-
append?: false | ((arg: VInputSlot) => vue.VNodeChild) | undefined;
|
|
271
|
-
details?: false | ((arg: VInputSlot) => vue.VNodeChild) | undefined;
|
|
272
291
|
message?: false | ((arg: VMessageSlot) => vue.VNodeChild) | undefined;
|
|
292
|
+
details?: false | ((arg: VInputSlot) => vue.VNodeChild) | undefined;
|
|
293
|
+
append?: false | ((arg: VInputSlot) => vue.VNodeChild) | undefined;
|
|
294
|
+
prepend?: false | ((arg: VInputSlot) => vue.VNodeChild) | undefined;
|
|
295
|
+
default?: false | ((arg: {
|
|
296
|
+
backgroundColorClasses: vue.Ref<string[]>;
|
|
297
|
+
backgroundColorStyles: vue.Ref<vue.CSSProperties>;
|
|
298
|
+
}) => vue.VNodeChild) | undefined;
|
|
273
299
|
label?: false | ((arg: {
|
|
274
300
|
label: string | undefined;
|
|
275
301
|
props: Record<string, unknown>;
|
|
@@ -277,11 +303,14 @@ declare const VCheckbox: {
|
|
|
277
303
|
input?: false | ((arg: SelectionControlSlot) => vue.VNodeChild) | undefined;
|
|
278
304
|
} | undefined;
|
|
279
305
|
} & {
|
|
280
|
-
"v-slot:default"?: false | (() => vue.VNodeChild) | undefined;
|
|
281
|
-
"v-slot:prepend"?: false | ((arg: VInputSlot) => vue.VNodeChild) | undefined;
|
|
282
|
-
"v-slot:append"?: false | ((arg: VInputSlot) => vue.VNodeChild) | undefined;
|
|
283
|
-
"v-slot:details"?: false | ((arg: VInputSlot) => vue.VNodeChild) | undefined;
|
|
284
306
|
"v-slot:message"?: false | ((arg: VMessageSlot) => vue.VNodeChild) | undefined;
|
|
307
|
+
"v-slot:details"?: false | ((arg: VInputSlot) => vue.VNodeChild) | undefined;
|
|
308
|
+
"v-slot:append"?: false | ((arg: VInputSlot) => vue.VNodeChild) | undefined;
|
|
309
|
+
"v-slot:prepend"?: false | ((arg: VInputSlot) => vue.VNodeChild) | undefined;
|
|
310
|
+
"v-slot:default"?: false | ((arg: {
|
|
311
|
+
backgroundColorClasses: vue.Ref<string[]>;
|
|
312
|
+
backgroundColorStyles: vue.Ref<vue.CSSProperties>;
|
|
313
|
+
}) => vue.VNodeChild) | undefined;
|
|
285
314
|
"v-slot:label"?: false | ((arg: {
|
|
286
315
|
label: string | undefined;
|
|
287
316
|
props: Record<string, unknown>;
|
|
@@ -315,19 +344,22 @@ declare const VCheckbox: {
|
|
|
315
344
|
centerAffix: boolean;
|
|
316
345
|
persistentHint: boolean;
|
|
317
346
|
}, {}, string, vue.SlotsType<Partial<{
|
|
318
|
-
|
|
347
|
+
message: (arg: VMessageSlot) => vue.VNode<vue.RendererNode, vue.RendererElement, {
|
|
319
348
|
[key: string]: any;
|
|
320
349
|
}>[];
|
|
321
|
-
|
|
350
|
+
details: (arg: VInputSlot) => vue.VNode<vue.RendererNode, vue.RendererElement, {
|
|
322
351
|
[key: string]: any;
|
|
323
352
|
}>[];
|
|
324
353
|
append: (arg: VInputSlot) => vue.VNode<vue.RendererNode, vue.RendererElement, {
|
|
325
354
|
[key: string]: any;
|
|
326
355
|
}>[];
|
|
327
|
-
|
|
356
|
+
prepend: (arg: VInputSlot) => vue.VNode<vue.RendererNode, vue.RendererElement, {
|
|
328
357
|
[key: string]: any;
|
|
329
358
|
}>[];
|
|
330
|
-
|
|
359
|
+
default: (arg: {
|
|
360
|
+
backgroundColorClasses: vue.Ref<string[]>;
|
|
361
|
+
backgroundColorStyles: vue.Ref<vue.CSSProperties>;
|
|
362
|
+
}) => vue.VNode<vue.RendererNode, vue.RendererElement, {
|
|
331
363
|
[key: string]: any;
|
|
332
364
|
}>[];
|
|
333
365
|
label: (arg: {
|
|
@@ -403,12 +435,18 @@ declare const VCheckbox: {
|
|
|
403
435
|
hint?: string | undefined;
|
|
404
436
|
hideDetails?: boolean | "auto" | undefined;
|
|
405
437
|
} & {
|
|
406
|
-
$children?: vue.VNodeChild | ((
|
|
407
|
-
|
|
408
|
-
|
|
409
|
-
|
|
410
|
-
details?: ((arg: VInputSlot) => vue.VNodeChild) | undefined;
|
|
438
|
+
$children?: vue.VNodeChild | ((arg: {
|
|
439
|
+
backgroundColorClasses: vue.Ref<string[]>;
|
|
440
|
+
backgroundColorStyles: vue.Ref<vue.CSSProperties>;
|
|
441
|
+
}) => vue.VNodeChild) | {
|
|
411
442
|
message?: ((arg: VMessageSlot) => vue.VNodeChild) | undefined;
|
|
443
|
+
details?: ((arg: VInputSlot) => vue.VNodeChild) | undefined;
|
|
444
|
+
append?: ((arg: VInputSlot) => vue.VNodeChild) | undefined;
|
|
445
|
+
prepend?: ((arg: VInputSlot) => vue.VNodeChild) | undefined;
|
|
446
|
+
default?: ((arg: {
|
|
447
|
+
backgroundColorClasses: vue.Ref<string[]>;
|
|
448
|
+
backgroundColorStyles: vue.Ref<vue.CSSProperties>;
|
|
449
|
+
}) => vue.VNodeChild) | undefined;
|
|
412
450
|
label?: ((arg: {
|
|
413
451
|
label: string | undefined;
|
|
414
452
|
props: Record<string, unknown>;
|
|
@@ -416,11 +454,14 @@ declare const VCheckbox: {
|
|
|
416
454
|
input?: ((arg: SelectionControlSlot) => vue.VNodeChild) | undefined;
|
|
417
455
|
};
|
|
418
456
|
'v-slots'?: {
|
|
419
|
-
default?: false | (() => vue.VNodeChild) | undefined;
|
|
420
|
-
prepend?: false | ((arg: VInputSlot) => vue.VNodeChild) | undefined;
|
|
421
|
-
append?: false | ((arg: VInputSlot) => vue.VNodeChild) | undefined;
|
|
422
|
-
details?: false | ((arg: VInputSlot) => vue.VNodeChild) | undefined;
|
|
423
457
|
message?: false | ((arg: VMessageSlot) => vue.VNodeChild) | undefined;
|
|
458
|
+
details?: false | ((arg: VInputSlot) => vue.VNodeChild) | undefined;
|
|
459
|
+
append?: false | ((arg: VInputSlot) => vue.VNodeChild) | undefined;
|
|
460
|
+
prepend?: false | ((arg: VInputSlot) => vue.VNodeChild) | undefined;
|
|
461
|
+
default?: false | ((arg: {
|
|
462
|
+
backgroundColorClasses: vue.Ref<string[]>;
|
|
463
|
+
backgroundColorStyles: vue.Ref<vue.CSSProperties>;
|
|
464
|
+
}) => vue.VNodeChild) | undefined;
|
|
424
465
|
label?: false | ((arg: {
|
|
425
466
|
label: string | undefined;
|
|
426
467
|
props: Record<string, unknown>;
|
|
@@ -428,11 +469,14 @@ declare const VCheckbox: {
|
|
|
428
469
|
input?: false | ((arg: SelectionControlSlot) => vue.VNodeChild) | undefined;
|
|
429
470
|
} | undefined;
|
|
430
471
|
} & {
|
|
431
|
-
"v-slot:default"?: false | (() => vue.VNodeChild) | undefined;
|
|
432
|
-
"v-slot:prepend"?: false | ((arg: VInputSlot) => vue.VNodeChild) | undefined;
|
|
433
|
-
"v-slot:append"?: false | ((arg: VInputSlot) => vue.VNodeChild) | undefined;
|
|
434
|
-
"v-slot:details"?: false | ((arg: VInputSlot) => vue.VNodeChild) | undefined;
|
|
435
472
|
"v-slot:message"?: false | ((arg: VMessageSlot) => vue.VNodeChild) | undefined;
|
|
473
|
+
"v-slot:details"?: false | ((arg: VInputSlot) => vue.VNodeChild) | undefined;
|
|
474
|
+
"v-slot:append"?: false | ((arg: VInputSlot) => vue.VNodeChild) | undefined;
|
|
475
|
+
"v-slot:prepend"?: false | ((arg: VInputSlot) => vue.VNodeChild) | undefined;
|
|
476
|
+
"v-slot:default"?: false | ((arg: {
|
|
477
|
+
backgroundColorClasses: vue.Ref<string[]>;
|
|
478
|
+
backgroundColorStyles: vue.Ref<vue.CSSProperties>;
|
|
479
|
+
}) => vue.VNodeChild) | undefined;
|
|
436
480
|
"v-slot:label"?: false | ((arg: {
|
|
437
481
|
label: string | undefined;
|
|
438
482
|
props: Record<string, unknown>;
|
|
@@ -489,12 +533,18 @@ declare const VCheckbox: {
|
|
|
489
533
|
hint?: string | undefined;
|
|
490
534
|
hideDetails?: boolean | "auto" | undefined;
|
|
491
535
|
} & {
|
|
492
|
-
$children?: vue.VNodeChild | ((
|
|
493
|
-
|
|
494
|
-
|
|
495
|
-
|
|
496
|
-
details?: ((arg: VInputSlot) => vue.VNodeChild) | undefined;
|
|
536
|
+
$children?: vue.VNodeChild | ((arg: {
|
|
537
|
+
backgroundColorClasses: vue.Ref<string[]>;
|
|
538
|
+
backgroundColorStyles: vue.Ref<vue.CSSProperties>;
|
|
539
|
+
}) => vue.VNodeChild) | {
|
|
497
540
|
message?: ((arg: VMessageSlot) => vue.VNodeChild) | undefined;
|
|
541
|
+
details?: ((arg: VInputSlot) => vue.VNodeChild) | undefined;
|
|
542
|
+
append?: ((arg: VInputSlot) => vue.VNodeChild) | undefined;
|
|
543
|
+
prepend?: ((arg: VInputSlot) => vue.VNodeChild) | undefined;
|
|
544
|
+
default?: ((arg: {
|
|
545
|
+
backgroundColorClasses: vue.Ref<string[]>;
|
|
546
|
+
backgroundColorStyles: vue.Ref<vue.CSSProperties>;
|
|
547
|
+
}) => vue.VNodeChild) | undefined;
|
|
498
548
|
label?: ((arg: {
|
|
499
549
|
label: string | undefined;
|
|
500
550
|
props: Record<string, unknown>;
|
|
@@ -502,11 +552,14 @@ declare const VCheckbox: {
|
|
|
502
552
|
input?: ((arg: SelectionControlSlot) => vue.VNodeChild) | undefined;
|
|
503
553
|
};
|
|
504
554
|
'v-slots'?: {
|
|
505
|
-
default?: false | (() => vue.VNodeChild) | undefined;
|
|
506
|
-
prepend?: false | ((arg: VInputSlot) => vue.VNodeChild) | undefined;
|
|
507
|
-
append?: false | ((arg: VInputSlot) => vue.VNodeChild) | undefined;
|
|
508
|
-
details?: false | ((arg: VInputSlot) => vue.VNodeChild) | undefined;
|
|
509
555
|
message?: false | ((arg: VMessageSlot) => vue.VNodeChild) | undefined;
|
|
556
|
+
details?: false | ((arg: VInputSlot) => vue.VNodeChild) | undefined;
|
|
557
|
+
append?: false | ((arg: VInputSlot) => vue.VNodeChild) | undefined;
|
|
558
|
+
prepend?: false | ((arg: VInputSlot) => vue.VNodeChild) | undefined;
|
|
559
|
+
default?: false | ((arg: {
|
|
560
|
+
backgroundColorClasses: vue.Ref<string[]>;
|
|
561
|
+
backgroundColorStyles: vue.Ref<vue.CSSProperties>;
|
|
562
|
+
}) => vue.VNodeChild) | undefined;
|
|
510
563
|
label?: false | ((arg: {
|
|
511
564
|
label: string | undefined;
|
|
512
565
|
props: Record<string, unknown>;
|
|
@@ -514,11 +567,14 @@ declare const VCheckbox: {
|
|
|
514
567
|
input?: false | ((arg: SelectionControlSlot) => vue.VNodeChild) | undefined;
|
|
515
568
|
} | undefined;
|
|
516
569
|
} & {
|
|
517
|
-
"v-slot:default"?: false | (() => vue.VNodeChild) | undefined;
|
|
518
|
-
"v-slot:prepend"?: false | ((arg: VInputSlot) => vue.VNodeChild) | undefined;
|
|
519
|
-
"v-slot:append"?: false | ((arg: VInputSlot) => vue.VNodeChild) | undefined;
|
|
520
|
-
"v-slot:details"?: false | ((arg: VInputSlot) => vue.VNodeChild) | undefined;
|
|
521
570
|
"v-slot:message"?: false | ((arg: VMessageSlot) => vue.VNodeChild) | undefined;
|
|
571
|
+
"v-slot:details"?: false | ((arg: VInputSlot) => vue.VNodeChild) | undefined;
|
|
572
|
+
"v-slot:append"?: false | ((arg: VInputSlot) => vue.VNodeChild) | undefined;
|
|
573
|
+
"v-slot:prepend"?: false | ((arg: VInputSlot) => vue.VNodeChild) | undefined;
|
|
574
|
+
"v-slot:default"?: false | ((arg: {
|
|
575
|
+
backgroundColorClasses: vue.Ref<string[]>;
|
|
576
|
+
backgroundColorStyles: vue.Ref<vue.CSSProperties>;
|
|
577
|
+
}) => vue.VNodeChild) | undefined;
|
|
522
578
|
"v-slot:label"?: false | ((arg: {
|
|
523
579
|
label: string | undefined;
|
|
524
580
|
props: Record<string, unknown>;
|
|
@@ -552,19 +608,22 @@ declare const VCheckbox: {
|
|
|
552
608
|
centerAffix: boolean;
|
|
553
609
|
persistentHint: boolean;
|
|
554
610
|
}, {}, string, vue.SlotsType<Partial<{
|
|
555
|
-
|
|
611
|
+
message: (arg: VMessageSlot) => vue.VNode<vue.RendererNode, vue.RendererElement, {
|
|
556
612
|
[key: string]: any;
|
|
557
613
|
}>[];
|
|
558
|
-
|
|
614
|
+
details: (arg: VInputSlot) => vue.VNode<vue.RendererNode, vue.RendererElement, {
|
|
559
615
|
[key: string]: any;
|
|
560
616
|
}>[];
|
|
561
617
|
append: (arg: VInputSlot) => vue.VNode<vue.RendererNode, vue.RendererElement, {
|
|
562
618
|
[key: string]: any;
|
|
563
619
|
}>[];
|
|
564
|
-
|
|
620
|
+
prepend: (arg: VInputSlot) => vue.VNode<vue.RendererNode, vue.RendererElement, {
|
|
565
621
|
[key: string]: any;
|
|
566
622
|
}>[];
|
|
567
|
-
|
|
623
|
+
default: (arg: {
|
|
624
|
+
backgroundColorClasses: vue.Ref<string[]>;
|
|
625
|
+
backgroundColorStyles: vue.Ref<vue.CSSProperties>;
|
|
626
|
+
}) => vue.VNode<vue.RendererNode, vue.RendererElement, {
|
|
568
627
|
[key: string]: any;
|
|
569
628
|
}>[];
|
|
570
629
|
label: (arg: {
|
|
@@ -783,21 +842,33 @@ declare const VCheckboxBtn: {
|
|
|
783
842
|
value?: any;
|
|
784
843
|
label?: string | undefined;
|
|
785
844
|
class?: any;
|
|
786
|
-
$children?: vue.VNodeChild |
|
|
787
|
-
default?: ((
|
|
845
|
+
$children?: vue.VNodeChild | {
|
|
846
|
+
default?: ((arg: {
|
|
847
|
+
backgroundColorClasses: vue.Ref<string[]>;
|
|
848
|
+
backgroundColorStyles: vue.Ref<vue.CSSProperties>;
|
|
849
|
+
}) => vue.VNodeChild) | undefined;
|
|
788
850
|
label?: ((arg: {
|
|
789
851
|
label: string | undefined;
|
|
790
852
|
props: Record<string, unknown>;
|
|
791
853
|
}) => vue.VNodeChild) | undefined;
|
|
792
854
|
input?: ((arg: SelectionControlSlot) => vue.VNodeChild) | undefined;
|
|
793
|
-
}
|
|
855
|
+
} | ((arg: {
|
|
856
|
+
backgroundColorClasses: vue.Ref<string[]>;
|
|
857
|
+
backgroundColorStyles: vue.Ref<vue.CSSProperties>;
|
|
858
|
+
}) => vue.VNodeChild);
|
|
794
859
|
ref?: vue.VNodeRef | undefined;
|
|
795
860
|
ref_for?: boolean | undefined;
|
|
796
861
|
ref_key?: string | undefined;
|
|
797
862
|
theme?: string | undefined;
|
|
798
|
-
"v-slot:default"?: false | ((
|
|
863
|
+
"v-slot:default"?: false | ((arg: {
|
|
864
|
+
backgroundColorClasses: vue.Ref<string[]>;
|
|
865
|
+
backgroundColorStyles: vue.Ref<vue.CSSProperties>;
|
|
866
|
+
}) => vue.VNodeChild) | undefined;
|
|
799
867
|
'v-slots'?: {
|
|
800
|
-
default?: false | ((
|
|
868
|
+
default?: false | ((arg: {
|
|
869
|
+
backgroundColorClasses: vue.Ref<string[]>;
|
|
870
|
+
backgroundColorStyles: vue.Ref<vue.CSSProperties>;
|
|
871
|
+
}) => vue.VNodeChild) | undefined;
|
|
801
872
|
label?: false | ((arg: {
|
|
802
873
|
label: string | undefined;
|
|
803
874
|
props: Record<string, unknown>;
|
|
@@ -861,7 +932,10 @@ declare const VCheckboxBtn: {
|
|
|
861
932
|
[x: string]: unknown;
|
|
862
933
|
};
|
|
863
934
|
$slots: Readonly<{
|
|
864
|
-
default?: ((
|
|
935
|
+
default?: ((arg: {
|
|
936
|
+
backgroundColorClasses: vue.Ref<string[]>;
|
|
937
|
+
backgroundColorStyles: vue.Ref<vue.CSSProperties>;
|
|
938
|
+
}) => vue.VNode<vue.RendererNode, vue.RendererElement, {
|
|
865
939
|
[key: string]: any;
|
|
866
940
|
}>[]) | undefined;
|
|
867
941
|
label?: ((arg: {
|
|
@@ -906,16 +980,25 @@ declare const VCheckboxBtn: {
|
|
|
906
980
|
trueValue?: any;
|
|
907
981
|
falseValue?: any;
|
|
908
982
|
} & {
|
|
909
|
-
$children?: vue.VNodeChild |
|
|
910
|
-
default?: ((
|
|
983
|
+
$children?: vue.VNodeChild | {
|
|
984
|
+
default?: ((arg: {
|
|
985
|
+
backgroundColorClasses: vue.Ref<string[]>;
|
|
986
|
+
backgroundColorStyles: vue.Ref<vue.CSSProperties>;
|
|
987
|
+
}) => vue.VNodeChild) | undefined;
|
|
911
988
|
label?: ((arg: {
|
|
912
989
|
label: string | undefined;
|
|
913
990
|
props: Record<string, unknown>;
|
|
914
991
|
}) => vue.VNodeChild) | undefined;
|
|
915
992
|
input?: ((arg: SelectionControlSlot) => vue.VNodeChild) | undefined;
|
|
916
|
-
}
|
|
993
|
+
} | ((arg: {
|
|
994
|
+
backgroundColorClasses: vue.Ref<string[]>;
|
|
995
|
+
backgroundColorStyles: vue.Ref<vue.CSSProperties>;
|
|
996
|
+
}) => vue.VNodeChild);
|
|
917
997
|
'v-slots'?: {
|
|
918
|
-
default?: false | ((
|
|
998
|
+
default?: false | ((arg: {
|
|
999
|
+
backgroundColorClasses: vue.Ref<string[]>;
|
|
1000
|
+
backgroundColorStyles: vue.Ref<vue.CSSProperties>;
|
|
1001
|
+
}) => vue.VNodeChild) | undefined;
|
|
919
1002
|
label?: false | ((arg: {
|
|
920
1003
|
label: string | undefined;
|
|
921
1004
|
props: Record<string, unknown>;
|
|
@@ -923,7 +1006,10 @@ declare const VCheckboxBtn: {
|
|
|
923
1006
|
input?: false | ((arg: SelectionControlSlot) => vue.VNodeChild) | undefined;
|
|
924
1007
|
} | undefined;
|
|
925
1008
|
} & {
|
|
926
|
-
"v-slot:default"?: false | ((
|
|
1009
|
+
"v-slot:default"?: false | ((arg: {
|
|
1010
|
+
backgroundColorClasses: vue.Ref<string[]>;
|
|
1011
|
+
backgroundColorStyles: vue.Ref<vue.CSSProperties>;
|
|
1012
|
+
}) => vue.VNodeChild) | undefined;
|
|
927
1013
|
"v-slot:label"?: false | ((arg: {
|
|
928
1014
|
label: string | undefined;
|
|
929
1015
|
props: Record<string, unknown>;
|
|
@@ -950,7 +1036,10 @@ declare const VCheckboxBtn: {
|
|
|
950
1036
|
valueComparator: typeof deepEqual;
|
|
951
1037
|
indeterminateIcon: IconValue;
|
|
952
1038
|
}, {}, string, vue.SlotsType<Partial<{
|
|
953
|
-
default: (
|
|
1039
|
+
default: (arg: {
|
|
1040
|
+
backgroundColorClasses: vue.Ref<string[]>;
|
|
1041
|
+
backgroundColorStyles: vue.Ref<vue.CSSProperties>;
|
|
1042
|
+
}) => vue.VNode<vue.RendererNode, vue.RendererElement, {
|
|
954
1043
|
[key: string]: any;
|
|
955
1044
|
}>[];
|
|
956
1045
|
label: (arg: {
|
|
@@ -1010,16 +1099,25 @@ declare const VCheckboxBtn: {
|
|
|
1010
1099
|
trueValue?: any;
|
|
1011
1100
|
falseValue?: any;
|
|
1012
1101
|
} & {
|
|
1013
|
-
$children?: vue.VNodeChild |
|
|
1014
|
-
default?: ((
|
|
1102
|
+
$children?: vue.VNodeChild | {
|
|
1103
|
+
default?: ((arg: {
|
|
1104
|
+
backgroundColorClasses: vue.Ref<string[]>;
|
|
1105
|
+
backgroundColorStyles: vue.Ref<vue.CSSProperties>;
|
|
1106
|
+
}) => vue.VNodeChild) | undefined;
|
|
1015
1107
|
label?: ((arg: {
|
|
1016
1108
|
label: string | undefined;
|
|
1017
1109
|
props: Record<string, unknown>;
|
|
1018
1110
|
}) => vue.VNodeChild) | undefined;
|
|
1019
1111
|
input?: ((arg: SelectionControlSlot) => vue.VNodeChild) | undefined;
|
|
1020
|
-
}
|
|
1112
|
+
} | ((arg: {
|
|
1113
|
+
backgroundColorClasses: vue.Ref<string[]>;
|
|
1114
|
+
backgroundColorStyles: vue.Ref<vue.CSSProperties>;
|
|
1115
|
+
}) => vue.VNodeChild);
|
|
1021
1116
|
'v-slots'?: {
|
|
1022
|
-
default?: false | ((
|
|
1117
|
+
default?: false | ((arg: {
|
|
1118
|
+
backgroundColorClasses: vue.Ref<string[]>;
|
|
1119
|
+
backgroundColorStyles: vue.Ref<vue.CSSProperties>;
|
|
1120
|
+
}) => vue.VNodeChild) | undefined;
|
|
1023
1121
|
label?: false | ((arg: {
|
|
1024
1122
|
label: string | undefined;
|
|
1025
1123
|
props: Record<string, unknown>;
|
|
@@ -1027,7 +1125,10 @@ declare const VCheckboxBtn: {
|
|
|
1027
1125
|
input?: false | ((arg: SelectionControlSlot) => vue.VNodeChild) | undefined;
|
|
1028
1126
|
} | undefined;
|
|
1029
1127
|
} & {
|
|
1030
|
-
"v-slot:default"?: false | ((
|
|
1128
|
+
"v-slot:default"?: false | ((arg: {
|
|
1129
|
+
backgroundColorClasses: vue.Ref<string[]>;
|
|
1130
|
+
backgroundColorStyles: vue.Ref<vue.CSSProperties>;
|
|
1131
|
+
}) => vue.VNodeChild) | undefined;
|
|
1031
1132
|
"v-slot:label"?: false | ((arg: {
|
|
1032
1133
|
label: string | undefined;
|
|
1033
1134
|
props: Record<string, unknown>;
|
|
@@ -1068,16 +1169,25 @@ declare const VCheckboxBtn: {
|
|
|
1068
1169
|
trueValue?: any;
|
|
1069
1170
|
falseValue?: any;
|
|
1070
1171
|
} & {
|
|
1071
|
-
$children?: vue.VNodeChild |
|
|
1072
|
-
default?: ((
|
|
1172
|
+
$children?: vue.VNodeChild | {
|
|
1173
|
+
default?: ((arg: {
|
|
1174
|
+
backgroundColorClasses: vue.Ref<string[]>;
|
|
1175
|
+
backgroundColorStyles: vue.Ref<vue.CSSProperties>;
|
|
1176
|
+
}) => vue.VNodeChild) | undefined;
|
|
1073
1177
|
label?: ((arg: {
|
|
1074
1178
|
label: string | undefined;
|
|
1075
1179
|
props: Record<string, unknown>;
|
|
1076
1180
|
}) => vue.VNodeChild) | undefined;
|
|
1077
1181
|
input?: ((arg: SelectionControlSlot) => vue.VNodeChild) | undefined;
|
|
1078
|
-
}
|
|
1182
|
+
} | ((arg: {
|
|
1183
|
+
backgroundColorClasses: vue.Ref<string[]>;
|
|
1184
|
+
backgroundColorStyles: vue.Ref<vue.CSSProperties>;
|
|
1185
|
+
}) => vue.VNodeChild);
|
|
1079
1186
|
'v-slots'?: {
|
|
1080
|
-
default?: false | ((
|
|
1187
|
+
default?: false | ((arg: {
|
|
1188
|
+
backgroundColorClasses: vue.Ref<string[]>;
|
|
1189
|
+
backgroundColorStyles: vue.Ref<vue.CSSProperties>;
|
|
1190
|
+
}) => vue.VNodeChild) | undefined;
|
|
1081
1191
|
label?: false | ((arg: {
|
|
1082
1192
|
label: string | undefined;
|
|
1083
1193
|
props: Record<string, unknown>;
|
|
@@ -1085,7 +1195,10 @@ declare const VCheckboxBtn: {
|
|
|
1085
1195
|
input?: false | ((arg: SelectionControlSlot) => vue.VNodeChild) | undefined;
|
|
1086
1196
|
} | undefined;
|
|
1087
1197
|
} & {
|
|
1088
|
-
"v-slot:default"?: false | ((
|
|
1198
|
+
"v-slot:default"?: false | ((arg: {
|
|
1199
|
+
backgroundColorClasses: vue.Ref<string[]>;
|
|
1200
|
+
backgroundColorStyles: vue.Ref<vue.CSSProperties>;
|
|
1201
|
+
}) => vue.VNodeChild) | undefined;
|
|
1089
1202
|
"v-slot:label"?: false | ((arg: {
|
|
1090
1203
|
label: string | undefined;
|
|
1091
1204
|
props: Record<string, unknown>;
|
|
@@ -1112,7 +1225,10 @@ declare const VCheckboxBtn: {
|
|
|
1112
1225
|
valueComparator: typeof deepEqual;
|
|
1113
1226
|
indeterminateIcon: IconValue;
|
|
1114
1227
|
}, {}, string, vue.SlotsType<Partial<{
|
|
1115
|
-
default: (
|
|
1228
|
+
default: (arg: {
|
|
1229
|
+
backgroundColorClasses: vue.Ref<string[]>;
|
|
1230
|
+
backgroundColorStyles: vue.Ref<vue.CSSProperties>;
|
|
1231
|
+
}) => vue.VNode<vue.RendererNode, vue.RendererElement, {
|
|
1116
1232
|
[key: string]: any;
|
|
1117
1233
|
}>[];
|
|
1118
1234
|
label: (arg: {
|
|
@@ -10,12 +10,14 @@
|
|
|
10
10
|
justify-content: center;
|
|
11
11
|
text-align: center;
|
|
12
12
|
}
|
|
13
|
-
.v-color-picker-edit__input:not(:last-child)
|
|
13
|
+
.v-locale--is-ltr.v-color-picker-edit__input:not(:last-child), .v-locale--is-ltr .v-color-picker-edit__input:not(:last-child) {
|
|
14
14
|
margin-right: 8px;
|
|
15
15
|
}
|
|
16
|
-
|
|
16
|
+
|
|
17
|
+
.v-locale--is-rtl.v-color-picker-edit__input:not(:last-child), .v-locale--is-rtl .v-color-picker-edit__input:not(:last-child) {
|
|
17
18
|
margin-left: 8px;
|
|
18
19
|
}
|
|
20
|
+
|
|
19
21
|
.v-color-picker-edit__input input {
|
|
20
22
|
border-radius: 4px;
|
|
21
23
|
margin-bottom: 8px;
|
|
@@ -1,12 +1,14 @@
|
|
|
1
1
|
.v-color-picker-preview__alpha .v-slider-track__background {
|
|
2
2
|
background-color: transparent !important;
|
|
3
3
|
}
|
|
4
|
-
.v-color-picker-preview__alpha .v-slider-track__background
|
|
4
|
+
.v-locale--is-ltr.v-color-picker-preview__alpha .v-slider-track__background, .v-locale--is-ltr .v-color-picker-preview__alpha .v-slider-track__background {
|
|
5
5
|
background-image: linear-gradient(to right, transparent, var(--v-color-picker-color-hsv));
|
|
6
6
|
}
|
|
7
|
-
|
|
7
|
+
|
|
8
|
+
.v-locale--is-rtl.v-color-picker-preview__alpha .v-slider-track__background, .v-locale--is-rtl .v-color-picker-preview__alpha .v-slider-track__background {
|
|
8
9
|
background-image: linear-gradient(to left, transparent, var(--v-color-picker-color-hsv));
|
|
9
10
|
}
|
|
11
|
+
|
|
10
12
|
.v-color-picker-preview__alpha .v-slider-track__background::after {
|
|
11
13
|
content: "";
|
|
12
14
|
z-index: -1;
|
|
@@ -33,21 +35,24 @@
|
|
|
33
35
|
border-radius: 50%;
|
|
34
36
|
overflow: hidden;
|
|
35
37
|
}
|
|
36
|
-
.v-color-picker-preview__dot
|
|
38
|
+
.v-locale--is-ltr.v-color-picker-preview__dot, .v-locale--is-ltr .v-color-picker-preview__dot {
|
|
37
39
|
margin-right: 24px;
|
|
38
40
|
}
|
|
39
|
-
|
|
41
|
+
|
|
42
|
+
.v-locale--is-rtl.v-color-picker-preview__dot, .v-locale--is-rtl .v-color-picker-preview__dot {
|
|
40
43
|
margin-left: 24px;
|
|
41
44
|
}
|
|
45
|
+
|
|
42
46
|
.v-color-picker-preview__dot > div {
|
|
43
47
|
width: 100%;
|
|
44
48
|
height: 100%;
|
|
45
49
|
}
|
|
46
50
|
|
|
47
|
-
.v-color-picker-preview__hue:not(.v-input--is-disabled) .v-slider-track__background
|
|
51
|
+
.v-locale--is-ltr.v-color-picker-preview__hue:not(.v-input--is-disabled) .v-slider-track__background, .v-locale--is-ltr .v-color-picker-preview__hue:not(.v-input--is-disabled) .v-slider-track__background {
|
|
48
52
|
background: linear-gradient(to right, #F00 0%, #FF0 16.66%, #0F0 33.33%, #0FF 50%, #00F 66.66%, #F0F 83.33%, #F00 100%);
|
|
49
53
|
}
|
|
50
|
-
|
|
54
|
+
|
|
55
|
+
.v-locale--is-rtl.v-color-picker-preview__hue:not(.v-input--is-disabled) .v-slider-track__background, .v-locale--is-rtl .v-color-picker-preview__hue:not(.v-input--is-disabled) .v-slider-track__background {
|
|
51
56
|
background: linear-gradient(to left, #F00 0%, #FF0 16.66%, #0F0 33.33%, #0FF 50%, #00F 66.66%, #F0F 83.33%, #F00 100%);
|
|
52
57
|
}
|
|
53
58
|
|
|
@@ -23,7 +23,7 @@ import { useLocale } from "../../composables/locale.mjs";
|
|
|
23
23
|
import { useProxiedModel } from "../../composables/proxiedModel.mjs";
|
|
24
24
|
import { makeTransitionProps } from "../../composables/transition.mjs"; // Utilities
|
|
25
25
|
import { computed, mergeProps, nextTick, ref, shallowRef, watch } from 'vue';
|
|
26
|
-
import { genericComponent, getPropertyFromItem, noop, omit, propsFactory, useRender, wrapInArray } from "../../util/index.mjs"; // Types
|
|
26
|
+
import { genericComponent, getPropertyFromItem, IN_BROWSER, noop, omit, propsFactory, useRender, wrapInArray } from "../../util/index.mjs"; // Types
|
|
27
27
|
function highlightResult(text, matches, length) {
|
|
28
28
|
if (matches == null) return text;
|
|
29
29
|
if (Array.isArray(matches)) throw new Error('Multiple matches is not implemented');
|
|
@@ -77,6 +77,7 @@ export const VCombobox = genericComponent()({
|
|
|
77
77
|
const isPristine = shallowRef(true);
|
|
78
78
|
const listHasFocus = shallowRef(false);
|
|
79
79
|
const vMenuRef = ref();
|
|
80
|
+
const vVirtualScrollRef = ref();
|
|
80
81
|
const _menu = useProxiedModel(props, 'menu');
|
|
81
82
|
const menu = computed({
|
|
82
83
|
get: () => _menu.value,
|
|
@@ -310,6 +311,14 @@ export const VCombobox = genericComponent()({
|
|
|
310
311
|
search.value = '';
|
|
311
312
|
}
|
|
312
313
|
});
|
|
314
|
+
watch(menu, () => {
|
|
315
|
+
if (!props.hideSelected && menu.value && selections.value.length) {
|
|
316
|
+
const index = displayItems.value.findIndex(item => selections.value.some(s => item.value === s.value));
|
|
317
|
+
IN_BROWSER && window.requestAnimationFrame(() => {
|
|
318
|
+
index >= 0 && vVirtualScrollRef.value?.scrollToIndex(index);
|
|
319
|
+
});
|
|
320
|
+
}
|
|
321
|
+
});
|
|
313
322
|
useRender(() => {
|
|
314
323
|
const hasChips = !!(props.chips || slots.chip);
|
|
315
324
|
const hasList = !!(!props.hideNoData || displayItems.value.length || slots['prepend-item'] || slots['append-item'] || slots['no-data']);
|
|
@@ -368,6 +377,7 @@ export const VCombobox = genericComponent()({
|
|
|
368
377
|
default: () => [slots['prepend-item']?.(), !displayItems.value.length && !props.hideNoData && (slots['no-data']?.() ?? _createVNode(VListItem, {
|
|
369
378
|
"title": t(props.noDataText)
|
|
370
379
|
}, null)), _createVNode(VVirtualScroll, {
|
|
380
|
+
"ref": vVirtualScrollRef,
|
|
371
381
|
"renderless": true,
|
|
372
382
|
"items": displayItems.value
|
|
373
383
|
}, {
|