@vuetify/nightly 3.9.0-master.2025-07-11 → 3.9.0-master.2025-07-12
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/CHANGELOG.md +7 -3
- package/dist/json/attributes.json +1721 -1677
- package/dist/json/importMap-labs.json +20 -20
- package/dist/json/importMap.json +164 -164
- package/dist/json/tags.json +11 -0
- package/dist/json/web-types.json +3223 -2901
- package/dist/vuetify-labs.cjs +35 -22
- package/dist/vuetify-labs.css +5286 -5286
- package/dist/vuetify-labs.d.ts +834 -286
- package/dist/vuetify-labs.esm.js +35 -22
- package/dist/vuetify-labs.esm.js.map +1 -1
- package/dist/vuetify-labs.js +35 -22
- package/dist/vuetify-labs.min.css +2 -2
- package/dist/vuetify.cjs +28 -20
- package/dist/vuetify.cjs.map +1 -1
- package/dist/vuetify.css +4118 -4118
- package/dist/vuetify.d.ts +580 -209
- package/dist/vuetify.esm.js +28 -20
- package/dist/vuetify.esm.js.map +1 -1
- package/dist/vuetify.js +28 -20
- package/dist/vuetify.js.map +1 -1
- package/dist/vuetify.min.css +2 -2
- package/dist/vuetify.min.js +14 -14
- package/dist/vuetify.min.js.map +1 -1
- package/lib/components/VAutocomplete/VAutocomplete.d.ts +121 -36
- package/lib/components/VCombobox/VCombobox.d.ts +121 -36
- package/lib/components/VField/VField.d.ts +13 -0
- package/lib/components/VField/VField.js +2 -1
- package/lib/components/VField/VField.js.map +1 -1
- package/lib/components/VFileInput/VFileInput.d.ts +13 -0
- package/lib/components/VFileInput/VFileInput.js +3 -1
- package/lib/components/VFileInput/VFileInput.js.map +1 -1
- package/lib/components/VInput/VInput.d.ts +2 -1
- package/lib/components/VInput/VInput.js +15 -14
- package/lib/components/VInput/VInput.js.map +1 -1
- package/lib/components/VNumberInput/VNumberInput.d.ts +116 -36
- package/lib/components/VSelect/VSelect.d.ts +121 -36
- package/lib/components/VTextField/VTextField.d.ts +40 -9
- package/lib/components/VTextField/VTextField.js +2 -0
- package/lib/components/VTextField/VTextField.js.map +1 -1
- package/lib/components/VTextarea/VTextarea.d.ts +13 -0
- package/lib/components/VTextarea/VTextarea.js +3 -1
- package/lib/components/VTextarea/VTextarea.js.map +1 -1
- package/lib/entry-bundler.js +1 -1
- package/lib/framework.d.ts +55 -55
- package/lib/framework.js +1 -1
- package/lib/labs/VColorInput/VColorInput.d.ts +13 -0
- package/lib/labs/VDateInput/VDateInput.d.ts +145 -44
- package/lib/labs/VDateInput/VDateInput.js +4 -1
- package/lib/labs/VDateInput/VDateInput.js.map +1 -1
- package/lib/labs/VMaskInput/VMaskInput.d.ts +121 -36
- package/lib/labs/VMaskInput/VMaskInput.js +4 -2
- package/lib/labs/VMaskInput/VMaskInput.js.map +1 -1
- package/package.json +1 -1
package/dist/vuetify-labs.esm.js
CHANGED
@@ -1,5 +1,5 @@
|
|
1
1
|
/*!
|
2
|
-
* Vuetify v3.9.0-master.2025-07-
|
2
|
+
* Vuetify v3.9.0-master.2025-07-12
|
3
3
|
* Forged by John Leider
|
4
4
|
* Released under the MIT License.
|
5
5
|
*/
|
@@ -7245,7 +7245,6 @@ const VInput = genericComponent()({
|
|
7245
7245
|
} = useInputIcon(props);
|
7246
7246
|
const uid = useId();
|
7247
7247
|
const id = computed(() => props.id || `input-${uid}`);
|
7248
|
-
const messagesId = computed(() => `${id.value}-messages`);
|
7249
7248
|
const {
|
7250
7249
|
errorMessages,
|
7251
7250
|
isDirty,
|
@@ -7259,6 +7258,18 @@ const VInput = genericComponent()({
|
|
7259
7258
|
validate,
|
7260
7259
|
validationClasses
|
7261
7260
|
} = useValidation(props, 'v-input', id);
|
7261
|
+
const messages = computed(() => {
|
7262
|
+
if (props.errorMessages?.length || !isPristine.value && errorMessages.value.length) {
|
7263
|
+
return errorMessages.value;
|
7264
|
+
} else if (props.hint && (props.persistentHint || props.focused)) {
|
7265
|
+
return props.hint;
|
7266
|
+
} else {
|
7267
|
+
return props.messages;
|
7268
|
+
}
|
7269
|
+
});
|
7270
|
+
const hasMessages = toRef(() => messages.value.length > 0);
|
7271
|
+
const hasDetails = toRef(() => !props.hideDetails || props.hideDetails === 'auto' && (hasMessages.value || !!slots.details));
|
7272
|
+
const messagesId = computed(() => hasDetails.value ? `${id.value}-messages` : undefined);
|
7262
7273
|
const slotProps = computed(() => ({
|
7263
7274
|
id,
|
7264
7275
|
messagesId,
|
@@ -7268,6 +7279,7 @@ const VInput = genericComponent()({
|
|
7268
7279
|
isPristine,
|
7269
7280
|
isValid,
|
7270
7281
|
isValidating,
|
7282
|
+
hasDetails,
|
7271
7283
|
reset,
|
7272
7284
|
resetValidation,
|
7273
7285
|
validate
|
@@ -7279,20 +7291,9 @@ const VInput = genericComponent()({
|
|
7279
7291
|
if (!props.iconColor) return undefined;
|
7280
7292
|
return props.iconColor === true ? color.value : props.iconColor;
|
7281
7293
|
});
|
7282
|
-
const messages = computed(() => {
|
7283
|
-
if (props.errorMessages?.length || !isPristine.value && errorMessages.value.length) {
|
7284
|
-
return errorMessages.value;
|
7285
|
-
} else if (props.hint && (props.persistentHint || props.focused)) {
|
7286
|
-
return props.hint;
|
7287
|
-
} else {
|
7288
|
-
return props.messages;
|
7289
|
-
}
|
7290
|
-
});
|
7291
7294
|
useRender(() => {
|
7292
7295
|
const hasPrepend = !!(slots.prepend || props.prependIcon);
|
7293
7296
|
const hasAppend = !!(slots.append || props.appendIcon);
|
7294
|
-
const hasMessages = messages.value.length > 0;
|
7295
|
-
const hasDetails = !props.hideDetails || props.hideDetails === 'auto' && (hasMessages || !!slots.details);
|
7296
7297
|
return createElementVNode("div", {
|
7297
7298
|
"class": normalizeClass(['v-input', `v-input--${props.direction}`, {
|
7298
7299
|
'v-input--center-affix': props.centerAffix,
|
@@ -7317,13 +7318,13 @@ const VInput = genericComponent()({
|
|
7317
7318
|
"key": "append-icon",
|
7318
7319
|
"name": "append",
|
7319
7320
|
"color": iconColor.value
|
7320
|
-
}, null), slots.append?.(slotProps.value)]), hasDetails && createElementVNode("div", {
|
7321
|
+
}, null), slots.append?.(slotProps.value)]), hasDetails.value && createElementVNode("div", {
|
7321
7322
|
"id": messagesId.value,
|
7322
7323
|
"class": "v-input__details",
|
7323
7324
|
"role": "alert",
|
7324
7325
|
"aria-live": "polite"
|
7325
7326
|
}, [createVNode(VMessages, {
|
7326
|
-
"active": hasMessages,
|
7327
|
+
"active": hasMessages.value,
|
7327
7328
|
"messages": messages.value
|
7328
7329
|
}, {
|
7329
7330
|
message: slots.message
|
@@ -12011,6 +12012,7 @@ const makeVFieldProps = propsFactory({
|
|
12011
12012
|
},
|
12012
12013
|
color: String,
|
12013
12014
|
baseColor: String,
|
12015
|
+
details: Boolean,
|
12014
12016
|
dirty: Boolean,
|
12015
12017
|
disabled: {
|
12016
12018
|
type: Boolean,
|
@@ -12082,7 +12084,7 @@ const VField = genericComponent()({
|
|
12082
12084
|
const hasFloatingLabel = toRef(() => !props.singleLine && hasLabel.value);
|
12083
12085
|
const uid = useId();
|
12084
12086
|
const id = computed(() => props.id || `input-${uid}`);
|
12085
|
-
const messagesId = toRef(() => `${id.value}-messages`);
|
12087
|
+
const messagesId = toRef(() => !props.details ? undefined : `${id.value}-messages`);
|
12086
12088
|
const labelRef = ref();
|
12087
12089
|
const floatingLabelRef = ref();
|
12088
12090
|
const controlRef = ref();
|
@@ -12440,6 +12442,7 @@ const VTextField = genericComponent()({
|
|
12440
12442
|
isDirty,
|
12441
12443
|
isReadonly,
|
12442
12444
|
isValid,
|
12445
|
+
hasDetails,
|
12443
12446
|
reset
|
12444
12447
|
} = _ref2;
|
12445
12448
|
return createVNode(VField, mergeProps({
|
@@ -12456,6 +12459,7 @@ const VTextField = genericComponent()({
|
|
12456
12459
|
"dirty": isDirty.value || props.dirty,
|
12457
12460
|
"disabled": isDisabled.value,
|
12458
12461
|
"focused": isFocused.value,
|
12462
|
+
"details": hasDetails.value,
|
12459
12463
|
"error": isValid.value === false
|
12460
12464
|
}), {
|
12461
12465
|
...slots,
|
@@ -24277,7 +24281,8 @@ const VFileInput = genericComponent()({
|
|
24277
24281
|
isDisabled,
|
24278
24282
|
isDirty,
|
24279
24283
|
isReadonly,
|
24280
|
-
isValid
|
24284
|
+
isValid,
|
24285
|
+
hasDetails
|
24281
24286
|
} = _ref3;
|
24282
24287
|
return createVNode(VField, mergeProps({
|
24283
24288
|
"ref": vFieldRef,
|
@@ -24293,6 +24298,7 @@ const VFileInput = genericComponent()({
|
|
24293
24298
|
"dirty": isDirty.value || props.dirty,
|
24294
24299
|
"disabled": isDisabled.value,
|
24295
24300
|
"focused": isFocused.value,
|
24301
|
+
"details": hasDetails.value,
|
24296
24302
|
"error": isValid.value === false,
|
24297
24303
|
"onDragover": onDragover,
|
24298
24304
|
"onDrop": onDrop
|
@@ -29050,7 +29056,8 @@ const VTextarea = genericComponent()({
|
|
29050
29056
|
isDisabled,
|
29051
29057
|
isDirty,
|
29052
29058
|
isReadonly,
|
29053
|
-
isValid
|
29059
|
+
isValid,
|
29060
|
+
hasDetails
|
29054
29061
|
} = _ref2;
|
29055
29062
|
return createVNode(VField, mergeProps({
|
29056
29063
|
"ref": vFieldRef,
|
@@ -29069,6 +29076,7 @@ const VTextarea = genericComponent()({
|
|
29069
29076
|
"dirty": isDirty.value || props.dirty,
|
29070
29077
|
"disabled": isDisabled.value,
|
29071
29078
|
"focused": isFocused.value,
|
29079
|
+
"details": hasDetails.value,
|
29072
29080
|
"error": isValid.value === false
|
29073
29081
|
}), {
|
29074
29082
|
...slots,
|
@@ -31455,7 +31463,10 @@ function useDateFormat(props, locale) {
|
|
31455
31463
|
// Types
|
31456
31464
|
|
31457
31465
|
const makeVDateInputProps = propsFactory({
|
31458
|
-
displayFormat:
|
31466
|
+
displayFormat: {
|
31467
|
+
type: [Function, String],
|
31468
|
+
default: undefined
|
31469
|
+
},
|
31459
31470
|
location: {
|
31460
31471
|
type: String,
|
31461
31472
|
default: 'bottom start'
|
@@ -32394,6 +32405,7 @@ const VMaskInput = genericComponent()({
|
|
32394
32405
|
}
|
32395
32406
|
return val;
|
32396
32407
|
});
|
32408
|
+
const validationValue = toRef(() => returnMaskedValue.value ? maskText(model.value) : unmaskText(model.value));
|
32397
32409
|
onBeforeMount(() => {
|
32398
32410
|
if (props.returnMaskedValue) {
|
32399
32411
|
emit('update:modelValue', model.value);
|
@@ -32404,7 +32416,8 @@ const VMaskInput = genericComponent()({
|
|
32404
32416
|
return createVNode(VTextField, mergeProps(textFieldProps, {
|
32405
32417
|
"modelValue": model.value,
|
32406
32418
|
"onUpdate:modelValue": $event => model.value = $event,
|
32407
|
-
"ref": vTextFieldRef
|
32419
|
+
"ref": vTextFieldRef,
|
32420
|
+
"validationValue": validationValue.value
|
32408
32421
|
}), {
|
32409
32422
|
...slots
|
32410
32423
|
});
|
@@ -33684,7 +33697,7 @@ function createVuetify$1() {
|
|
33684
33697
|
};
|
33685
33698
|
});
|
33686
33699
|
}
|
33687
|
-
const version$1 = "3.9.0-master.2025-07-
|
33700
|
+
const version$1 = "3.9.0-master.2025-07-12";
|
33688
33701
|
createVuetify$1.version = version$1;
|
33689
33702
|
|
33690
33703
|
// Vue's inject() can only be used in setup
|
@@ -33982,7 +33995,7 @@ var index = /*#__PURE__*/Object.freeze({
|
|
33982
33995
|
|
33983
33996
|
/* eslint-disable local-rules/sort-imports */
|
33984
33997
|
|
33985
|
-
const version = "3.9.0-master.2025-07-
|
33998
|
+
const version = "3.9.0-master.2025-07-12";
|
33986
33999
|
|
33987
34000
|
/* eslint-disable local-rules/sort-imports */
|
33988
34001
|
|