@vuetify/nightly 3.7.11-master.2025-02-04 → 3.7.11-master.2025-02-05
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 +9 -3
- package/dist/json/attributes.json +3230 -3230
- package/dist/json/importMap-labs.json +28 -28
- package/dist/json/importMap.json +144 -144
- package/dist/json/web-types.json +6069 -6069
- package/dist/vuetify-labs.css +4786 -4786
- package/dist/vuetify-labs.d.ts +3 -3
- package/dist/vuetify-labs.esm.js +16 -7
- package/dist/vuetify-labs.esm.js.map +1 -1
- package/dist/vuetify-labs.js +16 -7
- package/dist/vuetify-labs.min.css +2 -2
- package/dist/vuetify.css +3418 -3418
- package/dist/vuetify.d.ts +53 -53
- package/dist/vuetify.esm.js +3 -3
- package/dist/vuetify.js +3 -3
- package/dist/vuetify.min.css +2 -2
- package/dist/vuetify.min.js +3 -3
- package/lib/entry-bundler.mjs +1 -1
- package/lib/framework.mjs +1 -1
- package/lib/index.d.mts +53 -53
- package/lib/labs/VDateInput/VDateInput.mjs +15 -5
- package/lib/labs/VDateInput/VDateInput.mjs.map +1 -1
- package/lib/labs/VDateInput/index.d.mts +3 -3
- package/lib/labs/components.d.mts +3 -3
- package/package.json +1 -1
package/dist/vuetify-labs.d.ts
CHANGED
@@ -68664,7 +68664,7 @@ declare const VDateInput: {
|
|
68664
68664
|
"v-slot:default"?: false | (() => vue.VNodeChild) | undefined;
|
68665
68665
|
} & {
|
68666
68666
|
"onUpdate:modelValue"?: ((val: string) => any) | undefined;
|
68667
|
-
},
|
68667
|
+
}, any, unknown, {}, {}, vue.ComponentOptionsMixin, vue.ComponentOptionsMixin, {
|
68668
68668
|
'update:modelValue': (val: string) => true;
|
68669
68669
|
}, vue.VNodeProps & vue.AllowedComponentProps & vue.ComponentCustomProps & {
|
68670
68670
|
flat: boolean;
|
@@ -68956,7 +68956,7 @@ declare const VDateInput: {
|
|
68956
68956
|
"v-slot:default"?: false | (() => vue.VNodeChild) | undefined;
|
68957
68957
|
} & {
|
68958
68958
|
"onUpdate:modelValue"?: ((val: string) => any) | undefined;
|
68959
|
-
},
|
68959
|
+
}, any, {}, {}, {}, {
|
68960
68960
|
flat: boolean;
|
68961
68961
|
reverse: boolean;
|
68962
68962
|
variant: "filled" | "underlined" | "outlined" | "plain" | "solo" | "solo-inverted" | "solo-filled";
|
@@ -69126,7 +69126,7 @@ declare const VDateInput: {
|
|
69126
69126
|
"v-slot:default"?: false | (() => vue.VNodeChild) | undefined;
|
69127
69127
|
} & {
|
69128
69128
|
"onUpdate:modelValue"?: ((val: string) => any) | undefined;
|
69129
|
-
},
|
69129
|
+
}, any, unknown, {}, {}, vue.ComponentOptionsMixin, vue.ComponentOptionsMixin, {
|
69130
69130
|
'update:modelValue': (val: string) => true;
|
69131
69131
|
}, string, {
|
69132
69132
|
flat: boolean;
|
package/dist/vuetify-labs.esm.js
CHANGED
@@ -1,5 +1,5 @@
|
|
1
1
|
/*!
|
2
|
-
* Vuetify v3.7.11-master.2025-02-
|
2
|
+
* Vuetify v3.7.11-master.2025-02-05
|
3
3
|
* Forged by John Leider
|
4
4
|
* Released under the MIT License.
|
5
5
|
*/
|
@@ -28197,8 +28197,9 @@ const VDateInput = genericComponent()({
|
|
28197
28197
|
focus,
|
28198
28198
|
blur
|
28199
28199
|
} = useFocus(props);
|
28200
|
-
const model = useProxiedModel(props, 'modelValue', props.multiple ? [] : null);
|
28200
|
+
const model = useProxiedModel(props, 'modelValue', props.multiple ? [] : null, val => Array.isArray(val) ? val.map(item => adapter.toJsDate(item)) : val ? adapter.toJsDate(val) : val, val => Array.isArray(val) ? val.map(item => adapter.date(item)) : val ? adapter.date(val) : val);
|
28201
28201
|
const menu = shallowRef(false);
|
28202
|
+
const vDateInputRef = ref();
|
28202
28203
|
const display = computed(() => {
|
28203
28204
|
const value = wrapInArray(model.value);
|
28204
28205
|
if (!value.length) return null;
|
@@ -28220,7 +28221,7 @@ const VDateInput = genericComponent()({
|
|
28220
28221
|
return;
|
28221
28222
|
}
|
28222
28223
|
const target = e.target;
|
28223
|
-
model.value =
|
28224
|
+
model.value = target.value;
|
28224
28225
|
}
|
28225
28226
|
function onClick(e) {
|
28226
28227
|
e.preventDefault();
|
@@ -28230,11 +28231,17 @@ const VDateInput = genericComponent()({
|
|
28230
28231
|
function onSave() {
|
28231
28232
|
menu.value = false;
|
28232
28233
|
}
|
28234
|
+
function onUpdateModel(value) {
|
28235
|
+
if (value != null) return;
|
28236
|
+
model.value = null;
|
28237
|
+
}
|
28233
28238
|
useRender(() => {
|
28234
28239
|
const confirmEditProps = VConfirmEdit.filterProps(props);
|
28235
28240
|
const datePickerProps = VDatePicker.filterProps(omit(props, ['active', 'location']));
|
28236
28241
|
const textFieldProps = VTextField.filterProps(props);
|
28237
|
-
return createVNode(VTextField, mergeProps(
|
28242
|
+
return createVNode(VTextField, mergeProps({
|
28243
|
+
"ref": vDateInputRef
|
28244
|
+
}, textFieldProps, {
|
28238
28245
|
"class": props.class,
|
28239
28246
|
"style": props.style,
|
28240
28247
|
"modelValue": display.value,
|
@@ -28243,7 +28250,8 @@ const VDateInput = genericComponent()({
|
|
28243
28250
|
"onFocus": focus,
|
28244
28251
|
"onBlur": blur,
|
28245
28252
|
"onClick:control": isInteractive.value ? onClick : undefined,
|
28246
|
-
"onClick:prepend": isInteractive.value ? onClick : undefined
|
28253
|
+
"onClick:prepend": isInteractive.value ? onClick : undefined,
|
28254
|
+
"onUpdate:modelValue": onUpdateModel
|
28247
28255
|
}), {
|
28248
28256
|
default: () => [createVNode(VMenu, {
|
28249
28257
|
"modelValue": menu.value,
|
@@ -28291,6 +28299,7 @@ const VDateInput = genericComponent()({
|
|
28291
28299
|
}), slots.default?.()]
|
28292
28300
|
});
|
28293
28301
|
});
|
28302
|
+
return forwardRefs({}, vDateInputRef);
|
28294
28303
|
}
|
28295
28304
|
});
|
28296
28305
|
|
@@ -30869,7 +30878,7 @@ function createVuetify$1() {
|
|
30869
30878
|
goTo
|
30870
30879
|
};
|
30871
30880
|
}
|
30872
|
-
const version$1 = "3.7.11-master.2025-02-
|
30881
|
+
const version$1 = "3.7.11-master.2025-02-05";
|
30873
30882
|
createVuetify$1.version = version$1;
|
30874
30883
|
|
30875
30884
|
// Vue's inject() can only be used in setup
|
@@ -31122,7 +31131,7 @@ var index = /*#__PURE__*/Object.freeze({
|
|
31122
31131
|
|
31123
31132
|
/* eslint-disable local-rules/sort-imports */
|
31124
31133
|
|
31125
|
-
const version = "3.7.11-master.2025-02-
|
31134
|
+
const version = "3.7.11-master.2025-02-05";
|
31126
31135
|
|
31127
31136
|
/* eslint-disable local-rules/sort-imports */
|
31128
31137
|
|