vuetify 3.1.14 → 3.1.16
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 +193 -141
- package/dist/json/importMap.json +8 -8
- package/dist/json/tags.json +13 -0
- package/dist/json/web-types.json +513 -282
- package/dist/vuetify-labs.css +465 -457
- package/dist/vuetify-labs.d.ts +521 -163
- package/dist/vuetify-labs.esm.js +272 -179
- package/dist/vuetify-labs.esm.js.map +1 -1
- package/dist/vuetify-labs.js +272 -179
- package/dist/vuetify-labs.min.css +2 -2
- package/dist/vuetify.css +17 -9
- package/dist/vuetify.d.ts +470 -145
- package/dist/vuetify.esm.js +178 -106
- package/dist/vuetify.esm.js.map +1 -1
- package/dist/vuetify.js +178 -106
- package/dist/vuetify.js.map +1 -1
- package/dist/vuetify.min.css +2 -2
- package/dist/vuetify.min.js +638 -624
- package/dist/vuetify.min.js.map +1 -1
- package/lib/components/VAutocomplete/VAutocomplete.css +9 -0
- package/lib/components/VAutocomplete/VAutocomplete.mjs +50 -6
- package/lib/components/VAutocomplete/VAutocomplete.mjs.map +1 -1
- package/lib/components/VAutocomplete/VAutocomplete.sass +10 -0
- package/lib/components/VAutocomplete/index.d.ts +29 -17
- package/lib/components/VBreadcrumbs/VBreadcrumbs.mjs +31 -16
- package/lib/components/VBreadcrumbs/VBreadcrumbs.mjs.map +1 -1
- package/lib/components/VBreadcrumbs/index.d.ts +3 -3
- package/lib/components/VCard/VCard.mjs.map +1 -1
- package/lib/components/VCard/index.d.ts +21 -16
- package/lib/components/VCheckbox/VCheckbox.mjs +2 -2
- package/lib/components/VCheckbox/VCheckbox.mjs.map +1 -1
- package/lib/components/VCheckbox/index.d.ts +22 -1
- package/lib/components/VCombobox/VCombobox.css +1 -1
- package/lib/components/VCombobox/VCombobox.mjs +6 -4
- package/lib/components/VCombobox/VCombobox.mjs.map +1 -1
- package/lib/components/VCombobox/VCombobox.sass +1 -1
- package/lib/components/VCombobox/index.d.ts +29 -17
- package/lib/components/VDialog/VDialog.mjs +2 -2
- package/lib/components/VDialog/VDialog.mjs.map +1 -1
- package/lib/components/VField/VField.css +0 -1
- package/lib/components/VField/VField.sass +0 -1
- package/lib/components/VField/index.d.ts +6 -0
- package/lib/components/VFileInput/VFileInput.mjs +13 -17
- package/lib/components/VFileInput/VFileInput.mjs.map +1 -1
- package/lib/components/VFileInput/index.d.ts +68 -23
- package/lib/components/VInput/VInput.mjs +14 -7
- package/lib/components/VInput/VInput.mjs.map +1 -1
- package/lib/components/VInput/index.d.ts +22 -1
- package/lib/components/VList/VList.mjs +3 -22
- package/lib/components/VList/VList.mjs.map +1 -1
- package/lib/components/VOverlay/locationStrategies.mjs +9 -4
- package/lib/components/VOverlay/locationStrategies.mjs.map +1 -1
- package/lib/components/VRadioGroup/VRadioGroup.mjs +2 -2
- package/lib/components/VRadioGroup/VRadioGroup.mjs.map +1 -1
- package/lib/components/VRadioGroup/index.d.ts +22 -1
- package/lib/components/VRangeSlider/VRangeSlider.mjs +2 -2
- package/lib/components/VRangeSlider/VRangeSlider.mjs.map +1 -1
- package/lib/components/VRangeSlider/index.d.ts +22 -1
- package/lib/components/VSelect/VSelect.mjs +6 -0
- package/lib/components/VSelect/VSelect.mjs.map +1 -1
- package/lib/components/VSelect/index.d.ts +32 -17
- package/lib/components/VSlideGroup/VSlideGroup.mjs +2 -2
- package/lib/components/VSlideGroup/VSlideGroup.mjs.map +1 -1
- package/lib/components/VSlider/VSlider.mjs +2 -2
- package/lib/components/VSlider/VSlider.mjs.map +1 -1
- package/lib/components/VSlider/index.d.ts +22 -1
- package/lib/components/VSwitch/VSwitch.mjs +5 -3
- package/lib/components/VSwitch/VSwitch.mjs.map +1 -1
- package/lib/components/VSwitch/index.d.ts +43 -1
- package/lib/components/VTextField/VTextField.mjs +4 -12
- package/lib/components/VTextField/VTextField.mjs.map +1 -1
- package/lib/components/VTextField/index.d.ts +70 -22
- package/lib/components/VTextarea/VTextarea.mjs +4 -12
- package/lib/components/VTextarea/VTextarea.mjs.map +1 -1
- package/lib/components/VTextarea/index.d.ts +61 -22
- package/lib/components/VTreeview/_mixins.sass +0 -0
- package/lib/components/VTreeview/util/filterTreeItems.mjs +0 -0
- package/lib/components/VValidation/index.d.ts +10 -1
- package/lib/components/index.d.ts +468 -143
- package/lib/composables/focus.mjs +3 -2
- package/lib/composables/focus.mjs.map +1 -1
- package/lib/composables/items.mjs +7 -2
- package/lib/composables/items.mjs.map +1 -1
- package/lib/entry-bundler.mjs +1 -1
- package/lib/framework.mjs +1 -1
- package/lib/iconsets/mdi-svg.mjs +2 -2
- package/lib/iconsets/mdi-svg.mjs.map +1 -1
- package/lib/index.d.ts +2 -2
- package/lib/labs/VDataTable/VDataTable.mjs +3 -3
- package/lib/labs/VDataTable/VDataTable.mjs.map +1 -1
- package/lib/labs/VDataTable/VDataTableFooter.mjs.map +1 -1
- package/lib/labs/VDataTable/VDataTableHeaders.mjs +34 -20
- package/lib/labs/VDataTable/VDataTableHeaders.mjs.map +1 -1
- package/lib/labs/VDataTable/VDataTableRow.mjs +2 -4
- package/lib/labs/VDataTable/VDataTableRow.mjs.map +1 -1
- package/lib/labs/VDataTable/VDataTableRows.mjs +52 -44
- package/lib/labs/VDataTable/VDataTableRows.mjs.map +1 -1
- package/lib/labs/VDataTable/VDataTableServer.mjs +3 -2
- package/lib/labs/VDataTable/VDataTableServer.mjs.map +1 -1
- package/lib/labs/VDataTable/VDataTableVirtual.mjs +0 -1
- package/lib/labs/VDataTable/VDataTableVirtual.mjs.map +1 -1
- package/lib/labs/VDataTable/composables/options.mjs +2 -1
- package/lib/labs/VDataTable/composables/options.mjs.map +1 -1
- package/lib/labs/VDataTable/index.d.ts +44 -11
- package/lib/labs/VSkeletonLoader/VSkeletonLoader.mjs +1 -0
- package/lib/labs/VSkeletonLoader/VSkeletonLoader.mjs.map +1 -1
- package/lib/labs/VSkeletonLoader/index.d.ts +9 -9
- package/lib/labs/components.d.ts +53 -20
- package/lib/locale/el.mjs +0 -0
- package/lib/locale/index.mjs +0 -0
- package/lib/util/helpers.mjs +26 -0
- package/lib/util/helpers.mjs.map +1 -1
- package/package.json +3 -3
|
@@ -67,11 +67,11 @@ declare const VTextField: {
|
|
|
67
67
|
errorMessages: string | string[];
|
|
68
68
|
maxErrors: string | number;
|
|
69
69
|
rules: ValidationRule[];
|
|
70
|
+
persistentHint: boolean;
|
|
70
71
|
clearable: boolean;
|
|
71
72
|
dirty: boolean;
|
|
72
73
|
persistentClear: boolean;
|
|
73
74
|
singleLine: boolean;
|
|
74
|
-
persistentHint: boolean;
|
|
75
75
|
persistentPlaceholder: boolean;
|
|
76
76
|
persistentCounter: boolean;
|
|
77
77
|
}> & Omit<{
|
|
@@ -91,11 +91,11 @@ declare const VTextField: {
|
|
|
91
91
|
errorMessages: string | string[];
|
|
92
92
|
maxErrors: string | number;
|
|
93
93
|
rules: ValidationRule[];
|
|
94
|
+
persistentHint: boolean;
|
|
94
95
|
clearable: boolean;
|
|
95
96
|
dirty: boolean;
|
|
96
97
|
persistentClear: boolean;
|
|
97
98
|
singleLine: boolean;
|
|
98
|
-
persistentHint: boolean;
|
|
99
99
|
persistentPlaceholder: boolean;
|
|
100
100
|
persistentCounter: boolean;
|
|
101
101
|
} & {
|
|
@@ -119,10 +119,11 @@ declare const VTextField: {
|
|
|
119
119
|
'onClick:prepend'?: EventProp<[MouseEvent], (args_0: MouseEvent) => any> | undefined;
|
|
120
120
|
'onClick:appendInner'?: EventProp<[MouseEvent], (args_0: MouseEvent) => any> | undefined;
|
|
121
121
|
'onClick:prependInner'?: EventProp<[MouseEvent], (args_0: MouseEvent) => any> | undefined;
|
|
122
|
+
'onUpdate:focused'?: EventProp<[FocusEvent], (args_0: FocusEvent) => any> | undefined;
|
|
122
123
|
validateOn?: "input" | "blur" | "submit" | undefined;
|
|
123
124
|
validationValue?: any;
|
|
124
|
-
hideDetails?: boolean | "auto" | undefined;
|
|
125
125
|
hint?: string | undefined;
|
|
126
|
+
hideDetails?: boolean | "auto" | undefined;
|
|
126
127
|
suffix?: string | undefined;
|
|
127
128
|
counterValue?: ((value: any) => number) | undefined;
|
|
128
129
|
modelModifiers?: Record<string, boolean> | undefined;
|
|
@@ -175,7 +176,7 @@ declare const VTextField: {
|
|
|
175
176
|
"onUpdate:focused"?: ((focused: boolean) => any) | undefined;
|
|
176
177
|
"onClick:control"?: ((e: MouseEvent) => any) | undefined;
|
|
177
178
|
"onMousedown:control"?: ((e: MouseEvent) => any) | undefined;
|
|
178
|
-
} & vue.VNodeProps & vue.AllowedComponentProps & vue.ComponentCustomProps, "reverse" | "type" | "error" | "active" | "direction" | "autofocus" | "disabled" | "readonly" | "messages" | "density" | "variant" | "clearIcon" | "focused" | "errorMessages" | "maxErrors" | "rules" | "
|
|
179
|
+
} & vue.VNodeProps & vue.AllowedComponentProps & vue.ComponentCustomProps, "reverse" | "type" | "error" | "active" | "direction" | "autofocus" | "disabled" | "readonly" | "messages" | "density" | "variant" | "clearIcon" | "focused" | "errorMessages" | "maxErrors" | "rules" | "persistentHint" | "clearable" | "dirty" | "persistentClear" | "singleLine" | "persistentPlaceholder" | "persistentCounter">;
|
|
179
180
|
$attrs: {
|
|
180
181
|
[x: string]: unknown;
|
|
181
182
|
};
|
|
@@ -206,11 +207,11 @@ declare const VTextField: {
|
|
|
206
207
|
errorMessages: string | string[];
|
|
207
208
|
maxErrors: string | number;
|
|
208
209
|
rules: ValidationRule[];
|
|
210
|
+
persistentHint: boolean;
|
|
209
211
|
clearable: boolean;
|
|
210
212
|
dirty: boolean;
|
|
211
213
|
persistentClear: boolean;
|
|
212
214
|
singleLine: boolean;
|
|
213
|
-
persistentHint: boolean;
|
|
214
215
|
persistentPlaceholder: boolean;
|
|
215
216
|
persistentCounter: boolean;
|
|
216
217
|
} & {
|
|
@@ -234,10 +235,11 @@ declare const VTextField: {
|
|
|
234
235
|
'onClick:prepend'?: EventProp<[MouseEvent], (args_0: MouseEvent) => any> | undefined;
|
|
235
236
|
'onClick:appendInner'?: EventProp<[MouseEvent], (args_0: MouseEvent) => any> | undefined;
|
|
236
237
|
'onClick:prependInner'?: EventProp<[MouseEvent], (args_0: MouseEvent) => any> | undefined;
|
|
238
|
+
'onUpdate:focused'?: EventProp<[FocusEvent], (args_0: FocusEvent) => any> | undefined;
|
|
237
239
|
validateOn?: "input" | "blur" | "submit" | undefined;
|
|
238
240
|
validationValue?: any;
|
|
239
|
-
hideDetails?: boolean | "auto" | undefined;
|
|
240
241
|
hint?: string | undefined;
|
|
242
|
+
hideDetails?: boolean | "auto" | undefined;
|
|
241
243
|
suffix?: string | undefined;
|
|
242
244
|
counterValue?: ((value: any) => number) | undefined;
|
|
243
245
|
modelModifiers?: Record<string, boolean> | undefined;
|
|
@@ -304,6 +306,7 @@ declare const VTextField: {
|
|
|
304
306
|
errorMessages: string | string[];
|
|
305
307
|
maxErrors: string | number;
|
|
306
308
|
rules: ValidationRule[];
|
|
309
|
+
persistentHint: boolean;
|
|
307
310
|
}> & Omit<{
|
|
308
311
|
error: boolean;
|
|
309
312
|
direction: "horizontal" | "vertical";
|
|
@@ -315,6 +318,7 @@ declare const VTextField: {
|
|
|
315
318
|
errorMessages: string | string[];
|
|
316
319
|
maxErrors: string | number;
|
|
317
320
|
rules: ValidationRule[];
|
|
321
|
+
persistentHint: boolean;
|
|
318
322
|
} & {
|
|
319
323
|
id?: string | undefined;
|
|
320
324
|
name?: string | undefined;
|
|
@@ -324,8 +328,10 @@ declare const VTextField: {
|
|
|
324
328
|
appendIcon?: IconValue | undefined;
|
|
325
329
|
'onClick:append'?: EventProp<[MouseEvent], (args_0: MouseEvent) => any> | undefined;
|
|
326
330
|
'onClick:prepend'?: EventProp<[MouseEvent], (args_0: MouseEvent) => any> | undefined;
|
|
331
|
+
'onUpdate:focused'?: EventProp<[FocusEvent], (args_0: FocusEvent) => any> | undefined;
|
|
327
332
|
validateOn?: "input" | "blur" | "submit" | undefined;
|
|
328
333
|
validationValue?: any;
|
|
334
|
+
hint?: string | undefined;
|
|
329
335
|
hideDetails?: boolean | "auto" | undefined;
|
|
330
336
|
} & {
|
|
331
337
|
$children?: {} | vue.VNodeChild | {
|
|
@@ -353,7 +359,7 @@ declare const VTextField: {
|
|
|
353
359
|
"v-slot:details"?: false | ((args_0: VInputSlot) => vue.VNodeChild) | undefined;
|
|
354
360
|
} & {
|
|
355
361
|
"onUpdate:modelValue"?: ((val: any) => any) | undefined;
|
|
356
|
-
} & vue.VNodeProps & vue.AllowedComponentProps & vue.ComponentCustomProps, "error" | "direction" | "disabled" | "readonly" | "messages" | "density" | "focused" | "errorMessages" | "maxErrors" | "rules">;
|
|
362
|
+
} & vue.VNodeProps & vue.AllowedComponentProps & vue.ComponentCustomProps, "error" | "direction" | "disabled" | "readonly" | "messages" | "density" | "focused" | "errorMessages" | "maxErrors" | "rules" | "persistentHint">;
|
|
357
363
|
$attrs: {
|
|
358
364
|
[x: string]: unknown;
|
|
359
365
|
};
|
|
@@ -378,6 +384,7 @@ declare const VTextField: {
|
|
|
378
384
|
errorMessages: string | string[];
|
|
379
385
|
maxErrors: string | number;
|
|
380
386
|
rules: ValidationRule[];
|
|
387
|
+
persistentHint: boolean;
|
|
381
388
|
} & {
|
|
382
389
|
id?: string | undefined;
|
|
383
390
|
name?: string | undefined;
|
|
@@ -387,8 +394,10 @@ declare const VTextField: {
|
|
|
387
394
|
appendIcon?: IconValue | undefined;
|
|
388
395
|
'onClick:append'?: EventProp<[MouseEvent], (args_0: MouseEvent) => any> | undefined;
|
|
389
396
|
'onClick:prepend'?: EventProp<[MouseEvent], (args_0: MouseEvent) => any> | undefined;
|
|
397
|
+
'onUpdate:focused'?: EventProp<[FocusEvent], (args_0: FocusEvent) => any> | undefined;
|
|
390
398
|
validateOn?: "input" | "blur" | "submit" | undefined;
|
|
391
399
|
validationValue?: any;
|
|
400
|
+
hint?: string | undefined;
|
|
392
401
|
hideDetails?: boolean | "auto" | undefined;
|
|
393
402
|
} & {
|
|
394
403
|
$children?: {} | vue.VNodeChild | {
|
|
@@ -433,6 +442,7 @@ declare const VTextField: {
|
|
|
433
442
|
errorMessages: string | string[];
|
|
434
443
|
maxErrors: string | number;
|
|
435
444
|
rules: ValidationRule[];
|
|
445
|
+
persistentHint: boolean;
|
|
436
446
|
}, {}, string> & {
|
|
437
447
|
beforeCreate?: ((() => void) | (() => void)[]) | undefined;
|
|
438
448
|
created?: ((() => void) | (() => void)[]) | undefined;
|
|
@@ -464,6 +474,7 @@ declare const VTextField: {
|
|
|
464
474
|
errorMessages: string | string[];
|
|
465
475
|
maxErrors: string | number;
|
|
466
476
|
rules: ValidationRule[];
|
|
477
|
+
persistentHint: boolean;
|
|
467
478
|
} & {
|
|
468
479
|
id?: string | undefined;
|
|
469
480
|
name?: string | undefined;
|
|
@@ -473,8 +484,10 @@ declare const VTextField: {
|
|
|
473
484
|
appendIcon?: IconValue | undefined;
|
|
474
485
|
'onClick:append'?: EventProp<[MouseEvent], (args_0: MouseEvent) => any> | undefined;
|
|
475
486
|
'onClick:prepend'?: EventProp<[MouseEvent], (args_0: MouseEvent) => any> | undefined;
|
|
487
|
+
'onUpdate:focused'?: EventProp<[FocusEvent], (args_0: FocusEvent) => any> | undefined;
|
|
476
488
|
validateOn?: "input" | "blur" | "submit" | undefined;
|
|
477
489
|
validationValue?: any;
|
|
490
|
+
hint?: string | undefined;
|
|
478
491
|
hideDetails?: boolean | "auto" | undefined;
|
|
479
492
|
} & {
|
|
480
493
|
$children?: {} | vue.VNodeChild | {
|
|
@@ -506,7 +519,7 @@ declare const VTextField: {
|
|
|
506
519
|
reset: () => void;
|
|
507
520
|
resetValidation: () => void;
|
|
508
521
|
validate: () => Promise<string[]>;
|
|
509
|
-
}> & {} & vue.ComponentCustomProperties & {}, "id" | "name" | "label" | "$children" | "v-slot:default" | "$slots" | "v-slots" | keyof vue.VNodeProps | keyof vue.AllowedComponentProps | "v-slot:append" | "v-slot:prepend" | "modelValue" | "onUpdate:modelValue" | "prependIcon" | "appendIcon" | "onClick:append" | "onClick:prepend" | "validateOn" | "validationValue" | "hideDetails" | ("error" | "direction" | "disabled" | "readonly" | "messages" | "density" | "focused" | "errorMessages" | "maxErrors" | "rules") | "v-slot:details">, `$${any}`> & Omit<Omit<{
|
|
522
|
+
}> & {} & vue.ComponentCustomProperties & {}, "id" | "name" | "label" | "$children" | "v-slot:default" | "$slots" | "v-slots" | keyof vue.VNodeProps | keyof vue.AllowedComponentProps | "v-slot:append" | "v-slot:prepend" | "modelValue" | "onUpdate:modelValue" | "prependIcon" | "appendIcon" | "onClick:append" | "onClick:prepend" | "onUpdate:focused" | "validateOn" | "validationValue" | "hint" | "hideDetails" | ("error" | "direction" | "disabled" | "readonly" | "messages" | "density" | "focused" | "errorMessages" | "maxErrors" | "rules" | "persistentHint") | "v-slot:details">, `$${any}`> & Omit<Omit<{
|
|
510
523
|
$: vue.ComponentInternalInstance;
|
|
511
524
|
$data: {};
|
|
512
525
|
$props: Partial<{
|
|
@@ -550,6 +563,7 @@ declare const VTextField: {
|
|
|
550
563
|
'onClick:appendInner': PropType<EventProp<[MouseEvent], (args_0: MouseEvent) => any>>;
|
|
551
564
|
'onClick:prependInner': PropType<EventProp<[MouseEvent], (args_0: MouseEvent) => any>>;
|
|
552
565
|
focused: BooleanConstructor;
|
|
566
|
+
'onUpdate:focused': PropType<EventProp<[FocusEvent], (args_0: FocusEvent) => any>>;
|
|
553
567
|
id: StringConstructor;
|
|
554
568
|
}, "$children" | "v-slot:default" | "$slots" | "v-slots" | "modelValue" | "onUpdate:modelValue" | "v-slot:loader" | "v-slot:clear" | "v-slot:label" | "v-slot:prepend-inner" | "v-slot:append-inner">>> & {
|
|
555
569
|
"onUpdate:focused"?: ((focused: boolean) => any) | undefined;
|
|
@@ -596,6 +610,7 @@ declare const VTextField: {
|
|
|
596
610
|
'onClick:appendInner': PropType<EventProp<[MouseEvent], (args_0: MouseEvent) => any>>;
|
|
597
611
|
'onClick:prependInner': PropType<EventProp<[MouseEvent], (args_0: MouseEvent) => any>>;
|
|
598
612
|
focused: BooleanConstructor;
|
|
613
|
+
'onUpdate:focused': PropType<EventProp<[FocusEvent], (args_0: FocusEvent) => any>>;
|
|
599
614
|
id: StringConstructor;
|
|
600
615
|
}, "$children" | "v-slot:default" | "$slots" | "v-slots" | "modelValue" | "onUpdate:modelValue" | "v-slot:loader" | "v-slot:clear" | "v-slot:label" | "v-slot:prepend-inner" | "v-slot:append-inner">>> & {
|
|
601
616
|
"onUpdate:focused"?: ((focused: boolean) => any) | undefined;
|
|
@@ -665,6 +680,7 @@ declare const VTextField: {
|
|
|
665
680
|
'onClick:appendInner': PropType<EventProp<[MouseEvent], (args_0: MouseEvent) => any>>;
|
|
666
681
|
'onClick:prependInner': PropType<EventProp<[MouseEvent], (args_0: MouseEvent) => any>>;
|
|
667
682
|
focused: BooleanConstructor;
|
|
683
|
+
'onUpdate:focused': PropType<EventProp<[FocusEvent], (args_0: FocusEvent) => any>>;
|
|
668
684
|
id: StringConstructor;
|
|
669
685
|
}, "$children" | "v-slot:default" | "$slots" | "v-slots" | "modelValue" | "onUpdate:modelValue" | "v-slot:loader" | "v-slot:clear" | "v-slot:label" | "v-slot:prepend-inner" | "v-slot:append-inner">>> & {
|
|
670
686
|
"onUpdate:focused"?: ((focused: boolean) => any) | undefined;
|
|
@@ -729,11 +745,11 @@ declare const VTextField: {
|
|
|
729
745
|
errorMessages: string | string[];
|
|
730
746
|
maxErrors: string | number;
|
|
731
747
|
rules: ValidationRule[];
|
|
748
|
+
persistentHint: boolean;
|
|
732
749
|
clearable: boolean;
|
|
733
750
|
dirty: boolean;
|
|
734
751
|
persistentClear: boolean;
|
|
735
752
|
singleLine: boolean;
|
|
736
|
-
persistentHint: boolean;
|
|
737
753
|
persistentPlaceholder: boolean;
|
|
738
754
|
persistentCounter: boolean;
|
|
739
755
|
}, {}, string> & {
|
|
@@ -773,11 +789,11 @@ declare const VTextField: {
|
|
|
773
789
|
errorMessages: string | string[];
|
|
774
790
|
maxErrors: string | number;
|
|
775
791
|
rules: ValidationRule[];
|
|
792
|
+
persistentHint: boolean;
|
|
776
793
|
clearable: boolean;
|
|
777
794
|
dirty: boolean;
|
|
778
795
|
persistentClear: boolean;
|
|
779
796
|
singleLine: boolean;
|
|
780
|
-
persistentHint: boolean;
|
|
781
797
|
persistentPlaceholder: boolean;
|
|
782
798
|
persistentCounter: boolean;
|
|
783
799
|
} & {
|
|
@@ -801,10 +817,11 @@ declare const VTextField: {
|
|
|
801
817
|
'onClick:prepend'?: EventProp<[MouseEvent], (args_0: MouseEvent) => any> | undefined;
|
|
802
818
|
'onClick:appendInner'?: EventProp<[MouseEvent], (args_0: MouseEvent) => any> | undefined;
|
|
803
819
|
'onClick:prependInner'?: EventProp<[MouseEvent], (args_0: MouseEvent) => any> | undefined;
|
|
820
|
+
'onUpdate:focused'?: EventProp<[FocusEvent], (args_0: FocusEvent) => any> | undefined;
|
|
804
821
|
validateOn?: "input" | "blur" | "submit" | undefined;
|
|
805
822
|
validationValue?: any;
|
|
806
|
-
hideDetails?: boolean | "auto" | undefined;
|
|
807
823
|
hint?: string | undefined;
|
|
824
|
+
hideDetails?: boolean | "auto" | undefined;
|
|
808
825
|
suffix?: string | undefined;
|
|
809
826
|
counterValue?: ((value: any) => number) | undefined;
|
|
810
827
|
modelModifiers?: Record<string, boolean> | undefined;
|
|
@@ -871,6 +888,7 @@ declare const VTextField: {
|
|
|
871
888
|
errorMessages: string | string[];
|
|
872
889
|
maxErrors: string | number;
|
|
873
890
|
rules: ValidationRule[];
|
|
891
|
+
persistentHint: boolean;
|
|
874
892
|
}> & Omit<{
|
|
875
893
|
error: boolean;
|
|
876
894
|
direction: "horizontal" | "vertical";
|
|
@@ -882,6 +900,7 @@ declare const VTextField: {
|
|
|
882
900
|
errorMessages: string | string[];
|
|
883
901
|
maxErrors: string | number;
|
|
884
902
|
rules: ValidationRule[];
|
|
903
|
+
persistentHint: boolean;
|
|
885
904
|
} & {
|
|
886
905
|
id?: string | undefined;
|
|
887
906
|
name?: string | undefined;
|
|
@@ -891,8 +910,10 @@ declare const VTextField: {
|
|
|
891
910
|
appendIcon?: IconValue | undefined;
|
|
892
911
|
'onClick:append'?: EventProp<[MouseEvent], (args_0: MouseEvent) => any> | undefined;
|
|
893
912
|
'onClick:prepend'?: EventProp<[MouseEvent], (args_0: MouseEvent) => any> | undefined;
|
|
913
|
+
'onUpdate:focused'?: EventProp<[FocusEvent], (args_0: FocusEvent) => any> | undefined;
|
|
894
914
|
validateOn?: "input" | "blur" | "submit" | undefined;
|
|
895
915
|
validationValue?: any;
|
|
916
|
+
hint?: string | undefined;
|
|
896
917
|
hideDetails?: boolean | "auto" | undefined;
|
|
897
918
|
} & {
|
|
898
919
|
$children?: {} | vue.VNodeChild | {
|
|
@@ -920,7 +941,7 @@ declare const VTextField: {
|
|
|
920
941
|
"v-slot:details"?: false | ((args_0: VInputSlot) => vue.VNodeChild) | undefined;
|
|
921
942
|
} & {
|
|
922
943
|
"onUpdate:modelValue"?: ((val: any) => any) | undefined;
|
|
923
|
-
} & vue.VNodeProps & vue.AllowedComponentProps & vue.ComponentCustomProps, "error" | "direction" | "disabled" | "readonly" | "messages" | "density" | "focused" | "errorMessages" | "maxErrors" | "rules">;
|
|
944
|
+
} & vue.VNodeProps & vue.AllowedComponentProps & vue.ComponentCustomProps, "error" | "direction" | "disabled" | "readonly" | "messages" | "density" | "focused" | "errorMessages" | "maxErrors" | "rules" | "persistentHint">;
|
|
924
945
|
$attrs: {
|
|
925
946
|
[x: string]: unknown;
|
|
926
947
|
};
|
|
@@ -945,6 +966,7 @@ declare const VTextField: {
|
|
|
945
966
|
errorMessages: string | string[];
|
|
946
967
|
maxErrors: string | number;
|
|
947
968
|
rules: ValidationRule[];
|
|
969
|
+
persistentHint: boolean;
|
|
948
970
|
} & {
|
|
949
971
|
id?: string | undefined;
|
|
950
972
|
name?: string | undefined;
|
|
@@ -954,8 +976,10 @@ declare const VTextField: {
|
|
|
954
976
|
appendIcon?: IconValue | undefined;
|
|
955
977
|
'onClick:append'?: EventProp<[MouseEvent], (args_0: MouseEvent) => any> | undefined;
|
|
956
978
|
'onClick:prepend'?: EventProp<[MouseEvent], (args_0: MouseEvent) => any> | undefined;
|
|
979
|
+
'onUpdate:focused'?: EventProp<[FocusEvent], (args_0: FocusEvent) => any> | undefined;
|
|
957
980
|
validateOn?: "input" | "blur" | "submit" | undefined;
|
|
958
981
|
validationValue?: any;
|
|
982
|
+
hint?: string | undefined;
|
|
959
983
|
hideDetails?: boolean | "auto" | undefined;
|
|
960
984
|
} & {
|
|
961
985
|
$children?: {} | vue.VNodeChild | {
|
|
@@ -1000,6 +1024,7 @@ declare const VTextField: {
|
|
|
1000
1024
|
errorMessages: string | string[];
|
|
1001
1025
|
maxErrors: string | number;
|
|
1002
1026
|
rules: ValidationRule[];
|
|
1027
|
+
persistentHint: boolean;
|
|
1003
1028
|
}, {}, string> & {
|
|
1004
1029
|
beforeCreate?: ((() => void) | (() => void)[]) | undefined;
|
|
1005
1030
|
created?: ((() => void) | (() => void)[]) | undefined;
|
|
@@ -1031,6 +1056,7 @@ declare const VTextField: {
|
|
|
1031
1056
|
errorMessages: string | string[];
|
|
1032
1057
|
maxErrors: string | number;
|
|
1033
1058
|
rules: ValidationRule[];
|
|
1059
|
+
persistentHint: boolean;
|
|
1034
1060
|
} & {
|
|
1035
1061
|
id?: string | undefined;
|
|
1036
1062
|
name?: string | undefined;
|
|
@@ -1040,8 +1066,10 @@ declare const VTextField: {
|
|
|
1040
1066
|
appendIcon?: IconValue | undefined;
|
|
1041
1067
|
'onClick:append'?: EventProp<[MouseEvent], (args_0: MouseEvent) => any> | undefined;
|
|
1042
1068
|
'onClick:prepend'?: EventProp<[MouseEvent], (args_0: MouseEvent) => any> | undefined;
|
|
1069
|
+
'onUpdate:focused'?: EventProp<[FocusEvent], (args_0: FocusEvent) => any> | undefined;
|
|
1043
1070
|
validateOn?: "input" | "blur" | "submit" | undefined;
|
|
1044
1071
|
validationValue?: any;
|
|
1072
|
+
hint?: string | undefined;
|
|
1045
1073
|
hideDetails?: boolean | "auto" | undefined;
|
|
1046
1074
|
} & {
|
|
1047
1075
|
$children?: {} | vue.VNodeChild | {
|
|
@@ -1073,7 +1101,7 @@ declare const VTextField: {
|
|
|
1073
1101
|
reset: () => void;
|
|
1074
1102
|
resetValidation: () => void;
|
|
1075
1103
|
validate: () => Promise<string[]>;
|
|
1076
|
-
}> & {} & vue.ComponentCustomProperties & {}, "id" | "name" | "label" | "$children" | "v-slot:default" | "$slots" | "v-slots" | keyof vue.VNodeProps | keyof vue.AllowedComponentProps | "v-slot:append" | "v-slot:prepend" | "modelValue" | "onUpdate:modelValue" | "prependIcon" | "appendIcon" | "onClick:append" | "onClick:prepend" | "validateOn" | "validationValue" | "hideDetails" | ("error" | "direction" | "disabled" | "readonly" | "messages" | "density" | "focused" | "errorMessages" | "maxErrors" | "rules") | "v-slot:details">, `$${any}`> & Omit<Omit<{
|
|
1104
|
+
}> & {} & vue.ComponentCustomProperties & {}, "id" | "name" | "label" | "$children" | "v-slot:default" | "$slots" | "v-slots" | keyof vue.VNodeProps | keyof vue.AllowedComponentProps | "v-slot:append" | "v-slot:prepend" | "modelValue" | "onUpdate:modelValue" | "prependIcon" | "appendIcon" | "onClick:append" | "onClick:prepend" | "onUpdate:focused" | "validateOn" | "validationValue" | "hint" | "hideDetails" | ("error" | "direction" | "disabled" | "readonly" | "messages" | "density" | "focused" | "errorMessages" | "maxErrors" | "rules" | "persistentHint") | "v-slot:details">, `$${any}`> & Omit<Omit<{
|
|
1077
1105
|
$: vue.ComponentInternalInstance;
|
|
1078
1106
|
$data: {};
|
|
1079
1107
|
$props: Partial<{
|
|
@@ -1117,6 +1145,7 @@ declare const VTextField: {
|
|
|
1117
1145
|
'onClick:appendInner': PropType<EventProp<[MouseEvent], (args_0: MouseEvent) => any>>;
|
|
1118
1146
|
'onClick:prependInner': PropType<EventProp<[MouseEvent], (args_0: MouseEvent) => any>>;
|
|
1119
1147
|
focused: BooleanConstructor;
|
|
1148
|
+
'onUpdate:focused': PropType<EventProp<[FocusEvent], (args_0: FocusEvent) => any>>;
|
|
1120
1149
|
id: StringConstructor;
|
|
1121
1150
|
}, "$children" | "v-slot:default" | "$slots" | "v-slots" | "modelValue" | "onUpdate:modelValue" | "v-slot:loader" | "v-slot:clear" | "v-slot:label" | "v-slot:prepend-inner" | "v-slot:append-inner">>> & {
|
|
1122
1151
|
"onUpdate:focused"?: ((focused: boolean) => any) | undefined;
|
|
@@ -1163,6 +1192,7 @@ declare const VTextField: {
|
|
|
1163
1192
|
'onClick:appendInner': PropType<EventProp<[MouseEvent], (args_0: MouseEvent) => any>>;
|
|
1164
1193
|
'onClick:prependInner': PropType<EventProp<[MouseEvent], (args_0: MouseEvent) => any>>;
|
|
1165
1194
|
focused: BooleanConstructor;
|
|
1195
|
+
'onUpdate:focused': PropType<EventProp<[FocusEvent], (args_0: FocusEvent) => any>>;
|
|
1166
1196
|
id: StringConstructor;
|
|
1167
1197
|
}, "$children" | "v-slot:default" | "$slots" | "v-slots" | "modelValue" | "onUpdate:modelValue" | "v-slot:loader" | "v-slot:clear" | "v-slot:label" | "v-slot:prepend-inner" | "v-slot:append-inner">>> & {
|
|
1168
1198
|
"onUpdate:focused"?: ((focused: boolean) => any) | undefined;
|
|
@@ -1232,6 +1262,7 @@ declare const VTextField: {
|
|
|
1232
1262
|
'onClick:appendInner': PropType<EventProp<[MouseEvent], (args_0: MouseEvent) => any>>;
|
|
1233
1263
|
'onClick:prependInner': PropType<EventProp<[MouseEvent], (args_0: MouseEvent) => any>>;
|
|
1234
1264
|
focused: BooleanConstructor;
|
|
1265
|
+
'onUpdate:focused': PropType<EventProp<[FocusEvent], (args_0: FocusEvent) => any>>;
|
|
1235
1266
|
id: StringConstructor;
|
|
1236
1267
|
}, "$children" | "v-slot:default" | "$slots" | "v-slots" | "modelValue" | "onUpdate:modelValue" | "v-slot:loader" | "v-slot:clear" | "v-slot:label" | "v-slot:prepend-inner" | "v-slot:append-inner">>> & {
|
|
1237
1268
|
"onUpdate:focused"?: ((focused: boolean) => any) | undefined;
|
|
@@ -1295,11 +1326,11 @@ declare const VTextField: {
|
|
|
1295
1326
|
errorMessages: string | string[];
|
|
1296
1327
|
maxErrors: string | number;
|
|
1297
1328
|
rules: ValidationRule[];
|
|
1329
|
+
persistentHint: boolean;
|
|
1298
1330
|
clearable: boolean;
|
|
1299
1331
|
dirty: boolean;
|
|
1300
1332
|
persistentClear: boolean;
|
|
1301
1333
|
singleLine: boolean;
|
|
1302
|
-
persistentHint: boolean;
|
|
1303
1334
|
persistentPlaceholder: boolean;
|
|
1304
1335
|
persistentCounter: boolean;
|
|
1305
1336
|
} & {
|
|
@@ -1323,10 +1354,11 @@ declare const VTextField: {
|
|
|
1323
1354
|
'onClick:prepend'?: EventProp<[MouseEvent], (args_0: MouseEvent) => any> | undefined;
|
|
1324
1355
|
'onClick:appendInner'?: EventProp<[MouseEvent], (args_0: MouseEvent) => any> | undefined;
|
|
1325
1356
|
'onClick:prependInner'?: EventProp<[MouseEvent], (args_0: MouseEvent) => any> | undefined;
|
|
1357
|
+
'onUpdate:focused'?: EventProp<[FocusEvent], (args_0: FocusEvent) => any> | undefined;
|
|
1326
1358
|
validateOn?: "input" | "blur" | "submit" | undefined;
|
|
1327
1359
|
validationValue?: any;
|
|
1328
|
-
hideDetails?: boolean | "auto" | undefined;
|
|
1329
1360
|
hint?: string | undefined;
|
|
1361
|
+
hideDetails?: boolean | "auto" | undefined;
|
|
1330
1362
|
suffix?: string | undefined;
|
|
1331
1363
|
counterValue?: ((value: any) => number) | undefined;
|
|
1332
1364
|
modelModifiers?: Record<string, boolean> | undefined;
|
|
@@ -1393,6 +1425,7 @@ declare const VTextField: {
|
|
|
1393
1425
|
errorMessages: string | string[];
|
|
1394
1426
|
maxErrors: string | number;
|
|
1395
1427
|
rules: ValidationRule[];
|
|
1428
|
+
persistentHint: boolean;
|
|
1396
1429
|
}> & Omit<{
|
|
1397
1430
|
error: boolean;
|
|
1398
1431
|
direction: "horizontal" | "vertical";
|
|
@@ -1404,6 +1437,7 @@ declare const VTextField: {
|
|
|
1404
1437
|
errorMessages: string | string[];
|
|
1405
1438
|
maxErrors: string | number;
|
|
1406
1439
|
rules: ValidationRule[];
|
|
1440
|
+
persistentHint: boolean;
|
|
1407
1441
|
} & {
|
|
1408
1442
|
id?: string | undefined;
|
|
1409
1443
|
name?: string | undefined;
|
|
@@ -1413,8 +1447,10 @@ declare const VTextField: {
|
|
|
1413
1447
|
appendIcon?: IconValue | undefined;
|
|
1414
1448
|
'onClick:append'?: EventProp<[MouseEvent], (args_0: MouseEvent) => any> | undefined;
|
|
1415
1449
|
'onClick:prepend'?: EventProp<[MouseEvent], (args_0: MouseEvent) => any> | undefined;
|
|
1450
|
+
'onUpdate:focused'?: EventProp<[FocusEvent], (args_0: FocusEvent) => any> | undefined;
|
|
1416
1451
|
validateOn?: "input" | "blur" | "submit" | undefined;
|
|
1417
1452
|
validationValue?: any;
|
|
1453
|
+
hint?: string | undefined;
|
|
1418
1454
|
hideDetails?: boolean | "auto" | undefined;
|
|
1419
1455
|
} & {
|
|
1420
1456
|
$children?: {} | vue.VNodeChild | {
|
|
@@ -1442,7 +1478,7 @@ declare const VTextField: {
|
|
|
1442
1478
|
"v-slot:details"?: false | ((args_0: VInputSlot) => vue.VNodeChild) | undefined;
|
|
1443
1479
|
} & {
|
|
1444
1480
|
"onUpdate:modelValue"?: ((val: any) => any) | undefined;
|
|
1445
|
-
} & vue.VNodeProps & vue.AllowedComponentProps & vue.ComponentCustomProps, "error" | "direction" | "disabled" | "readonly" | "messages" | "density" | "focused" | "errorMessages" | "maxErrors" | "rules">;
|
|
1481
|
+
} & vue.VNodeProps & vue.AllowedComponentProps & vue.ComponentCustomProps, "error" | "direction" | "disabled" | "readonly" | "messages" | "density" | "focused" | "errorMessages" | "maxErrors" | "rules" | "persistentHint">;
|
|
1446
1482
|
$attrs: {
|
|
1447
1483
|
[x: string]: unknown;
|
|
1448
1484
|
};
|
|
@@ -1467,6 +1503,7 @@ declare const VTextField: {
|
|
|
1467
1503
|
errorMessages: string | string[];
|
|
1468
1504
|
maxErrors: string | number;
|
|
1469
1505
|
rules: ValidationRule[];
|
|
1506
|
+
persistentHint: boolean;
|
|
1470
1507
|
} & {
|
|
1471
1508
|
id?: string | undefined;
|
|
1472
1509
|
name?: string | undefined;
|
|
@@ -1476,8 +1513,10 @@ declare const VTextField: {
|
|
|
1476
1513
|
appendIcon?: IconValue | undefined;
|
|
1477
1514
|
'onClick:append'?: EventProp<[MouseEvent], (args_0: MouseEvent) => any> | undefined;
|
|
1478
1515
|
'onClick:prepend'?: EventProp<[MouseEvent], (args_0: MouseEvent) => any> | undefined;
|
|
1516
|
+
'onUpdate:focused'?: EventProp<[FocusEvent], (args_0: FocusEvent) => any> | undefined;
|
|
1479
1517
|
validateOn?: "input" | "blur" | "submit" | undefined;
|
|
1480
1518
|
validationValue?: any;
|
|
1519
|
+
hint?: string | undefined;
|
|
1481
1520
|
hideDetails?: boolean | "auto" | undefined;
|
|
1482
1521
|
} & {
|
|
1483
1522
|
$children?: {} | vue.VNodeChild | {
|
|
@@ -1522,6 +1561,7 @@ declare const VTextField: {
|
|
|
1522
1561
|
errorMessages: string | string[];
|
|
1523
1562
|
maxErrors: string | number;
|
|
1524
1563
|
rules: ValidationRule[];
|
|
1564
|
+
persistentHint: boolean;
|
|
1525
1565
|
}, {}, string> & {
|
|
1526
1566
|
beforeCreate?: ((() => void) | (() => void)[]) | undefined;
|
|
1527
1567
|
created?: ((() => void) | (() => void)[]) | undefined;
|
|
@@ -1553,6 +1593,7 @@ declare const VTextField: {
|
|
|
1553
1593
|
errorMessages: string | string[];
|
|
1554
1594
|
maxErrors: string | number;
|
|
1555
1595
|
rules: ValidationRule[];
|
|
1596
|
+
persistentHint: boolean;
|
|
1556
1597
|
} & {
|
|
1557
1598
|
id?: string | undefined;
|
|
1558
1599
|
name?: string | undefined;
|
|
@@ -1562,8 +1603,10 @@ declare const VTextField: {
|
|
|
1562
1603
|
appendIcon?: IconValue | undefined;
|
|
1563
1604
|
'onClick:append'?: EventProp<[MouseEvent], (args_0: MouseEvent) => any> | undefined;
|
|
1564
1605
|
'onClick:prepend'?: EventProp<[MouseEvent], (args_0: MouseEvent) => any> | undefined;
|
|
1606
|
+
'onUpdate:focused'?: EventProp<[FocusEvent], (args_0: FocusEvent) => any> | undefined;
|
|
1565
1607
|
validateOn?: "input" | "blur" | "submit" | undefined;
|
|
1566
1608
|
validationValue?: any;
|
|
1609
|
+
hint?: string | undefined;
|
|
1567
1610
|
hideDetails?: boolean | "auto" | undefined;
|
|
1568
1611
|
} & {
|
|
1569
1612
|
$children?: {} | vue.VNodeChild | {
|
|
@@ -1595,7 +1638,7 @@ declare const VTextField: {
|
|
|
1595
1638
|
reset: () => void;
|
|
1596
1639
|
resetValidation: () => void;
|
|
1597
1640
|
validate: () => Promise<string[]>;
|
|
1598
|
-
}> & {} & vue.ComponentCustomProperties & {}, "id" | "name" | "label" | "$children" | "v-slot:default" | "$slots" | "v-slots" | keyof vue.VNodeProps | keyof vue.AllowedComponentProps | "v-slot:append" | "v-slot:prepend" | "modelValue" | "onUpdate:modelValue" | "prependIcon" | "appendIcon" | "onClick:append" | "onClick:prepend" | "validateOn" | "validationValue" | "hideDetails" | ("error" | "direction" | "disabled" | "readonly" | "messages" | "density" | "focused" | "errorMessages" | "maxErrors" | "rules") | "v-slot:details">, `$${any}`> & Omit<Omit<{
|
|
1641
|
+
}> & {} & vue.ComponentCustomProperties & {}, "id" | "name" | "label" | "$children" | "v-slot:default" | "$slots" | "v-slots" | keyof vue.VNodeProps | keyof vue.AllowedComponentProps | "v-slot:append" | "v-slot:prepend" | "modelValue" | "onUpdate:modelValue" | "prependIcon" | "appendIcon" | "onClick:append" | "onClick:prepend" | "onUpdate:focused" | "validateOn" | "validationValue" | "hint" | "hideDetails" | ("error" | "direction" | "disabled" | "readonly" | "messages" | "density" | "focused" | "errorMessages" | "maxErrors" | "rules" | "persistentHint") | "v-slot:details">, `$${any}`> & Omit<Omit<{
|
|
1599
1642
|
$: vue.ComponentInternalInstance;
|
|
1600
1643
|
$data: {};
|
|
1601
1644
|
$props: Partial<{
|
|
@@ -1639,6 +1682,7 @@ declare const VTextField: {
|
|
|
1639
1682
|
'onClick:appendInner': PropType<EventProp<[MouseEvent], (args_0: MouseEvent) => any>>;
|
|
1640
1683
|
'onClick:prependInner': PropType<EventProp<[MouseEvent], (args_0: MouseEvent) => any>>;
|
|
1641
1684
|
focused: BooleanConstructor;
|
|
1685
|
+
'onUpdate:focused': PropType<EventProp<[FocusEvent], (args_0: FocusEvent) => any>>;
|
|
1642
1686
|
id: StringConstructor;
|
|
1643
1687
|
}, "$children" | "v-slot:default" | "$slots" | "v-slots" | "modelValue" | "onUpdate:modelValue" | "v-slot:loader" | "v-slot:clear" | "v-slot:label" | "v-slot:prepend-inner" | "v-slot:append-inner">>> & {
|
|
1644
1688
|
"onUpdate:focused"?: ((focused: boolean) => any) | undefined;
|
|
@@ -1685,6 +1729,7 @@ declare const VTextField: {
|
|
|
1685
1729
|
'onClick:appendInner': PropType<EventProp<[MouseEvent], (args_0: MouseEvent) => any>>;
|
|
1686
1730
|
'onClick:prependInner': PropType<EventProp<[MouseEvent], (args_0: MouseEvent) => any>>;
|
|
1687
1731
|
focused: BooleanConstructor;
|
|
1732
|
+
'onUpdate:focused': PropType<EventProp<[FocusEvent], (args_0: FocusEvent) => any>>;
|
|
1688
1733
|
id: StringConstructor;
|
|
1689
1734
|
}, "$children" | "v-slot:default" | "$slots" | "v-slots" | "modelValue" | "onUpdate:modelValue" | "v-slot:loader" | "v-slot:clear" | "v-slot:label" | "v-slot:prepend-inner" | "v-slot:append-inner">>> & {
|
|
1690
1735
|
"onUpdate:focused"?: ((focused: boolean) => any) | undefined;
|
|
@@ -1754,6 +1799,7 @@ declare const VTextField: {
|
|
|
1754
1799
|
'onClick:appendInner': PropType<EventProp<[MouseEvent], (args_0: MouseEvent) => any>>;
|
|
1755
1800
|
'onClick:prependInner': PropType<EventProp<[MouseEvent], (args_0: MouseEvent) => any>>;
|
|
1756
1801
|
focused: BooleanConstructor;
|
|
1802
|
+
'onUpdate:focused': PropType<EventProp<[FocusEvent], (args_0: FocusEvent) => any>>;
|
|
1757
1803
|
id: StringConstructor;
|
|
1758
1804
|
}, "$children" | "v-slot:default" | "$slots" | "v-slots" | "modelValue" | "onUpdate:modelValue" | "v-slot:loader" | "v-slot:clear" | "v-slot:label" | "v-slot:prepend-inner" | "v-slot:append-inner">>> & {
|
|
1759
1805
|
"onUpdate:focused"?: ((focused: boolean) => any) | undefined;
|
|
@@ -1818,11 +1864,11 @@ declare const VTextField: {
|
|
|
1818
1864
|
errorMessages: string | string[];
|
|
1819
1865
|
maxErrors: string | number;
|
|
1820
1866
|
rules: ValidationRule[];
|
|
1867
|
+
persistentHint: boolean;
|
|
1821
1868
|
clearable: boolean;
|
|
1822
1869
|
dirty: boolean;
|
|
1823
1870
|
persistentClear: boolean;
|
|
1824
1871
|
singleLine: boolean;
|
|
1825
|
-
persistentHint: boolean;
|
|
1826
1872
|
persistentPlaceholder: boolean;
|
|
1827
1873
|
persistentCounter: boolean;
|
|
1828
1874
|
}, {}, string> & vue.VNodeProps & vue.AllowedComponentProps & vue.ComponentCustomProps & FilterPropsOptions<{
|
|
@@ -1854,6 +1900,7 @@ declare const VTextField: {
|
|
|
1854
1900
|
'onClick:appendInner': PropType<EventProp<[MouseEvent], (args_0: MouseEvent) => any>>;
|
|
1855
1901
|
'onClick:prependInner': PropType<EventProp<[MouseEvent], (args_0: MouseEvent) => any>>;
|
|
1856
1902
|
focused: BooleanConstructor;
|
|
1903
|
+
'onUpdate:focused': PropType<EventProp<[FocusEvent], (args_0: FocusEvent) => any>>;
|
|
1857
1904
|
errorMessages: {
|
|
1858
1905
|
type: PropType<string | string[]>;
|
|
1859
1906
|
default: () => never[];
|
|
@@ -1880,6 +1927,8 @@ declare const VTextField: {
|
|
|
1880
1927
|
appendIcon: PropType<IconValue>;
|
|
1881
1928
|
prependIcon: PropType<IconValue>;
|
|
1882
1929
|
hideDetails: PropType<boolean | "auto">;
|
|
1930
|
+
hint: StringConstructor;
|
|
1931
|
+
persistentHint: BooleanConstructor;
|
|
1883
1932
|
messages: {
|
|
1884
1933
|
type: PropType<string | string[]>;
|
|
1885
1934
|
default: () => never[];
|
|
@@ -1894,8 +1943,6 @@ declare const VTextField: {
|
|
|
1894
1943
|
autofocus: BooleanConstructor;
|
|
1895
1944
|
counter: PropType<string | number | true>;
|
|
1896
1945
|
counterValue: PropType<(value: any) => number>;
|
|
1897
|
-
hint: StringConstructor;
|
|
1898
|
-
persistentHint: BooleanConstructor;
|
|
1899
1946
|
prefix: StringConstructor;
|
|
1900
1947
|
placeholder: StringConstructor;
|
|
1901
1948
|
persistentPlaceholder: BooleanConstructor;
|
|
@@ -1935,6 +1982,7 @@ declare const VTextField: {
|
|
|
1935
1982
|
'onClick:appendInner': PropType<EventProp<[MouseEvent], (args_0: MouseEvent) => any>>;
|
|
1936
1983
|
'onClick:prependInner': PropType<EventProp<[MouseEvent], (args_0: MouseEvent) => any>>;
|
|
1937
1984
|
focused: BooleanConstructor;
|
|
1985
|
+
'onUpdate:focused': PropType<EventProp<[FocusEvent], (args_0: FocusEvent) => any>>;
|
|
1938
1986
|
errorMessages: {
|
|
1939
1987
|
type: PropType<string | string[]>;
|
|
1940
1988
|
default: () => never[];
|
|
@@ -1961,6 +2009,8 @@ declare const VTextField: {
|
|
|
1961
2009
|
appendIcon: PropType<IconValue>;
|
|
1962
2010
|
prependIcon: PropType<IconValue>;
|
|
1963
2011
|
hideDetails: PropType<boolean | "auto">;
|
|
2012
|
+
hint: StringConstructor;
|
|
2013
|
+
persistentHint: BooleanConstructor;
|
|
1964
2014
|
messages: {
|
|
1965
2015
|
type: PropType<string | string[]>;
|
|
1966
2016
|
default: () => never[];
|
|
@@ -1975,8 +2025,6 @@ declare const VTextField: {
|
|
|
1975
2025
|
autofocus: BooleanConstructor;
|
|
1976
2026
|
counter: PropType<string | number | true>;
|
|
1977
2027
|
counterValue: PropType<(value: any) => number>;
|
|
1978
|
-
hint: StringConstructor;
|
|
1979
|
-
persistentHint: BooleanConstructor;
|
|
1980
2028
|
prefix: StringConstructor;
|
|
1981
2029
|
placeholder: StringConstructor;
|
|
1982
2030
|
persistentPlaceholder: BooleanConstructor;
|
|
@@ -5,7 +5,7 @@ import "../VTextField/VTextField.css";
|
|
|
5
5
|
|
|
6
6
|
// Components
|
|
7
7
|
import { filterFieldProps, makeVFieldProps } from "../VField/VField.mjs";
|
|
8
|
-
import {
|
|
8
|
+
import { makeVInputProps, VInput } from "../VInput/VInput.mjs";
|
|
9
9
|
import { VCounter } from "../VCounter/index.mjs";
|
|
10
10
|
import { VField } from "../VField/index.mjs"; // Directives
|
|
11
11
|
import Intersect from "../../directives/intersect/index.mjs"; // Composables
|
|
@@ -25,8 +25,6 @@ export const VTextarea = genericComponent()({
|
|
|
25
25
|
autofocus: Boolean,
|
|
26
26
|
counter: [Boolean, Number, String],
|
|
27
27
|
counterValue: Function,
|
|
28
|
-
hint: String,
|
|
29
|
-
persistentHint: Boolean,
|
|
30
28
|
prefix: String,
|
|
31
29
|
placeholder: String,
|
|
32
30
|
persistentPlaceholder: Boolean,
|
|
@@ -81,9 +79,6 @@ export const VTextarea = genericComponent()({
|
|
|
81
79
|
const controlHeight = ref('');
|
|
82
80
|
const textareaRef = ref();
|
|
83
81
|
const isActive = computed(() => isFocused.value || props.persistentPlaceholder);
|
|
84
|
-
const messages = computed(() => {
|
|
85
|
-
return props.messages.length ? props.messages : isFocused.value || props.persistentHint ? props.hint : '';
|
|
86
|
-
});
|
|
87
82
|
function onFocus() {
|
|
88
83
|
if (textareaRef.value !== document.activeElement) {
|
|
89
84
|
textareaRef.value?.focus();
|
|
@@ -155,7 +150,7 @@ export const VTextarea = genericComponent()({
|
|
|
155
150
|
const [{
|
|
156
151
|
modelValue: _,
|
|
157
152
|
...inputProps
|
|
158
|
-
}] =
|
|
153
|
+
}] = VInput.filterProps(props);
|
|
159
154
|
const [fieldProps] = filterFieldProps(props);
|
|
160
155
|
return _createVNode(VInput, _mergeProps({
|
|
161
156
|
"ref": vInputRef,
|
|
@@ -169,12 +164,9 @@ export const VTextarea = genericComponent()({
|
|
|
169
164
|
'v-textarea--auto-grow': props.autoGrow,
|
|
170
165
|
'v-textarea--no-resize': props.noResize || props.autoGrow,
|
|
171
166
|
'v-text-field--flush-details': ['plain', 'underlined'].includes(props.variant)
|
|
172
|
-
}]
|
|
173
|
-
"onClick:prepend": props['onClick:prepend'],
|
|
174
|
-
"onClick:append": props['onClick:append']
|
|
167
|
+
}]
|
|
175
168
|
}, rootAttrs, inputProps, {
|
|
176
|
-
"focused": isFocused.value
|
|
177
|
-
"messages": messages.value
|
|
169
|
+
"focused": isFocused.value
|
|
178
170
|
}), {
|
|
179
171
|
...slots,
|
|
180
172
|
default: _ref2 => {
|