@vuetify/nightly 3.7.11-master.2025-02-04 → 3.7.11-master.2025-02-07
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 +11 -3
- package/dist/json/attributes.json +3461 -3461
- package/dist/json/importMap-labs.json +36 -36
- package/dist/json/importMap.json +162 -162
- package/dist/json/web-types.json +6133 -6133
- package/dist/vuetify-labs.css +5304 -5304
- package/dist/vuetify-labs.d.ts +3 -3
- package/dist/vuetify-labs.esm.js +23 -12
- package/dist/vuetify-labs.esm.js.map +1 -1
- package/dist/vuetify-labs.js +23 -12
- package/dist/vuetify-labs.min.css +2 -2
- package/dist/vuetify.css +3882 -3882
- package/dist/vuetify.d.ts +62 -62
- package/dist/vuetify.esm.js +10 -8
- package/dist/vuetify.esm.js.map +1 -1
- package/dist/vuetify.js +10 -8
- package/dist/vuetify.js.map +1 -1
- package/dist/vuetify.min.css +2 -2
- package/dist/vuetify.min.js +4 -4
- package/dist/vuetify.min.js.map +1 -1
- package/lib/directives/ripple/index.mjs +7 -5
- package/lib/directives/ripple/index.mjs.map +1 -1
- package/lib/entry-bundler.mjs +1 -1
- package/lib/framework.mjs +1 -1
- package/lib/index.d.mts +62 -62
- 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-07
|
3
3
|
* Forged by John Leider
|
4
4
|
* Released under the MIT License.
|
5
5
|
*/
|
@@ -5348,11 +5348,13 @@ const ripples = {
|
|
5348
5348
|
animation.classList.add('v-ripple__animation--visible');
|
5349
5349
|
transform(animation, `translate(${x}, ${y}) scale3d(${scale},${scale},${scale})`);
|
5350
5350
|
animation.dataset.activated = String(performance.now());
|
5351
|
-
|
5352
|
-
|
5353
|
-
|
5354
|
-
|
5355
|
-
|
5351
|
+
requestAnimationFrame(() => {
|
5352
|
+
requestAnimationFrame(() => {
|
5353
|
+
animation.classList.remove('v-ripple__animation--enter');
|
5354
|
+
animation.classList.add('v-ripple__animation--in');
|
5355
|
+
transform(animation, `translate(${centerX}, ${centerY}) scale3d(1,1,1)`);
|
5356
|
+
});
|
5357
|
+
});
|
5356
5358
|
},
|
5357
5359
|
hide(el) {
|
5358
5360
|
if (!el?._ripple?.enabled) return;
|
@@ -28197,8 +28199,9 @@ const VDateInput = genericComponent()({
|
|
28197
28199
|
focus,
|
28198
28200
|
blur
|
28199
28201
|
} = useFocus(props);
|
28200
|
-
const model = useProxiedModel(props, 'modelValue', props.multiple ? [] : null);
|
28202
|
+
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
28203
|
const menu = shallowRef(false);
|
28204
|
+
const vDateInputRef = ref();
|
28202
28205
|
const display = computed(() => {
|
28203
28206
|
const value = wrapInArray(model.value);
|
28204
28207
|
if (!value.length) return null;
|
@@ -28220,7 +28223,7 @@ const VDateInput = genericComponent()({
|
|
28220
28223
|
return;
|
28221
28224
|
}
|
28222
28225
|
const target = e.target;
|
28223
|
-
model.value =
|
28226
|
+
model.value = target.value;
|
28224
28227
|
}
|
28225
28228
|
function onClick(e) {
|
28226
28229
|
e.preventDefault();
|
@@ -28230,11 +28233,17 @@ const VDateInput = genericComponent()({
|
|
28230
28233
|
function onSave() {
|
28231
28234
|
menu.value = false;
|
28232
28235
|
}
|
28236
|
+
function onUpdateModel(value) {
|
28237
|
+
if (value != null) return;
|
28238
|
+
model.value = null;
|
28239
|
+
}
|
28233
28240
|
useRender(() => {
|
28234
28241
|
const confirmEditProps = VConfirmEdit.filterProps(props);
|
28235
28242
|
const datePickerProps = VDatePicker.filterProps(omit(props, ['active', 'location']));
|
28236
28243
|
const textFieldProps = VTextField.filterProps(props);
|
28237
|
-
return createVNode(VTextField, mergeProps(
|
28244
|
+
return createVNode(VTextField, mergeProps({
|
28245
|
+
"ref": vDateInputRef
|
28246
|
+
}, textFieldProps, {
|
28238
28247
|
"class": props.class,
|
28239
28248
|
"style": props.style,
|
28240
28249
|
"modelValue": display.value,
|
@@ -28243,7 +28252,8 @@ const VDateInput = genericComponent()({
|
|
28243
28252
|
"onFocus": focus,
|
28244
28253
|
"onBlur": blur,
|
28245
28254
|
"onClick:control": isInteractive.value ? onClick : undefined,
|
28246
|
-
"onClick:prepend": isInteractive.value ? onClick : undefined
|
28255
|
+
"onClick:prepend": isInteractive.value ? onClick : undefined,
|
28256
|
+
"onUpdate:modelValue": onUpdateModel
|
28247
28257
|
}), {
|
28248
28258
|
default: () => [createVNode(VMenu, {
|
28249
28259
|
"modelValue": menu.value,
|
@@ -28291,6 +28301,7 @@ const VDateInput = genericComponent()({
|
|
28291
28301
|
}), slots.default?.()]
|
28292
28302
|
});
|
28293
28303
|
});
|
28304
|
+
return forwardRefs({}, vDateInputRef);
|
28294
28305
|
}
|
28295
28306
|
});
|
28296
28307
|
|
@@ -30869,7 +30880,7 @@ function createVuetify$1() {
|
|
30869
30880
|
goTo
|
30870
30881
|
};
|
30871
30882
|
}
|
30872
|
-
const version$1 = "3.7.11-master.2025-02-
|
30883
|
+
const version$1 = "3.7.11-master.2025-02-07";
|
30873
30884
|
createVuetify$1.version = version$1;
|
30874
30885
|
|
30875
30886
|
// Vue's inject() can only be used in setup
|
@@ -31122,7 +31133,7 @@ var index = /*#__PURE__*/Object.freeze({
|
|
31122
31133
|
|
31123
31134
|
/* eslint-disable local-rules/sort-imports */
|
31124
31135
|
|
31125
|
-
const version = "3.7.11-master.2025-02-
|
31136
|
+
const version = "3.7.11-master.2025-02-07";
|
31126
31137
|
|
31127
31138
|
/* eslint-disable local-rules/sort-imports */
|
31128
31139
|
|