@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.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
|
*/
|
@@ -28201,8 +28201,9 @@
|
|
28201
28201
|
focus,
|
28202
28202
|
blur
|
28203
28203
|
} = useFocus(props);
|
28204
|
-
const model = useProxiedModel(props, 'modelValue', props.multiple ? [] : null);
|
28204
|
+
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);
|
28205
28205
|
const menu = vue.shallowRef(false);
|
28206
|
+
const vDateInputRef = vue.ref();
|
28206
28207
|
const display = vue.computed(() => {
|
28207
28208
|
const value = wrapInArray(model.value);
|
28208
28209
|
if (!value.length) return null;
|
@@ -28224,7 +28225,7 @@
|
|
28224
28225
|
return;
|
28225
28226
|
}
|
28226
28227
|
const target = e.target;
|
28227
|
-
model.value =
|
28228
|
+
model.value = target.value;
|
28228
28229
|
}
|
28229
28230
|
function onClick(e) {
|
28230
28231
|
e.preventDefault();
|
@@ -28234,11 +28235,17 @@
|
|
28234
28235
|
function onSave() {
|
28235
28236
|
menu.value = false;
|
28236
28237
|
}
|
28238
|
+
function onUpdateModel(value) {
|
28239
|
+
if (value != null) return;
|
28240
|
+
model.value = null;
|
28241
|
+
}
|
28237
28242
|
useRender(() => {
|
28238
28243
|
const confirmEditProps = VConfirmEdit.filterProps(props);
|
28239
28244
|
const datePickerProps = VDatePicker.filterProps(omit(props, ['active', 'location']));
|
28240
28245
|
const textFieldProps = VTextField.filterProps(props);
|
28241
|
-
return vue.createVNode(VTextField, vue.mergeProps(
|
28246
|
+
return vue.createVNode(VTextField, vue.mergeProps({
|
28247
|
+
"ref": vDateInputRef
|
28248
|
+
}, textFieldProps, {
|
28242
28249
|
"class": props.class,
|
28243
28250
|
"style": props.style,
|
28244
28251
|
"modelValue": display.value,
|
@@ -28247,7 +28254,8 @@
|
|
28247
28254
|
"onFocus": focus,
|
28248
28255
|
"onBlur": blur,
|
28249
28256
|
"onClick:control": isInteractive.value ? onClick : undefined,
|
28250
|
-
"onClick:prepend": isInteractive.value ? onClick : undefined
|
28257
|
+
"onClick:prepend": isInteractive.value ? onClick : undefined,
|
28258
|
+
"onUpdate:modelValue": onUpdateModel
|
28251
28259
|
}), {
|
28252
28260
|
default: () => [vue.createVNode(VMenu, {
|
28253
28261
|
"modelValue": menu.value,
|
@@ -28295,6 +28303,7 @@
|
|
28295
28303
|
}), slots.default?.()]
|
28296
28304
|
});
|
28297
28305
|
});
|
28306
|
+
return forwardRefs({}, vDateInputRef);
|
28298
28307
|
}
|
28299
28308
|
});
|
28300
28309
|
|
@@ -30873,7 +30882,7 @@
|
|
30873
30882
|
goTo
|
30874
30883
|
};
|
30875
30884
|
}
|
30876
|
-
const version$1 = "3.7.11-master.2025-02-
|
30885
|
+
const version$1 = "3.7.11-master.2025-02-05";
|
30877
30886
|
createVuetify$1.version = version$1;
|
30878
30887
|
|
30879
30888
|
// Vue's inject() can only be used in setup
|
@@ -31126,7 +31135,7 @@
|
|
31126
31135
|
|
31127
31136
|
/* eslint-disable local-rules/sort-imports */
|
31128
31137
|
|
31129
|
-
const version = "3.7.11-master.2025-02-
|
31138
|
+
const version = "3.7.11-master.2025-02-05";
|
31130
31139
|
|
31131
31140
|
/* eslint-disable local-rules/sort-imports */
|
31132
31141
|
|