@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.
@@ -1,5 +1,5 @@
1
1
  /*!
2
- * Vuetify v3.7.11-master.2025-02-04
2
+ * Vuetify v3.7.11-master.2025-02-07
3
3
  * Forged by John Leider
4
4
  * Released under the MIT License.
5
5
  */
@@ -5352,11 +5352,13 @@
5352
5352
  animation.classList.add('v-ripple__animation--visible');
5353
5353
  transform(animation, `translate(${x}, ${y}) scale3d(${scale},${scale},${scale})`);
5354
5354
  animation.dataset.activated = String(performance.now());
5355
- setTimeout(() => {
5356
- animation.classList.remove('v-ripple__animation--enter');
5357
- animation.classList.add('v-ripple__animation--in');
5358
- transform(animation, `translate(${centerX}, ${centerY}) scale3d(1,1,1)`);
5359
- }, 0);
5355
+ requestAnimationFrame(() => {
5356
+ requestAnimationFrame(() => {
5357
+ animation.classList.remove('v-ripple__animation--enter');
5358
+ animation.classList.add('v-ripple__animation--in');
5359
+ transform(animation, `translate(${centerX}, ${centerY}) scale3d(1,1,1)`);
5360
+ });
5361
+ });
5360
5362
  },
5361
5363
  hide(el) {
5362
5364
  if (!el?._ripple?.enabled) return;
@@ -28201,8 +28203,9 @@
28201
28203
  focus,
28202
28204
  blur
28203
28205
  } = useFocus(props);
28204
- const model = useProxiedModel(props, 'modelValue', props.multiple ? [] : null);
28206
+ 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
28207
  const menu = vue.shallowRef(false);
28208
+ const vDateInputRef = vue.ref();
28206
28209
  const display = vue.computed(() => {
28207
28210
  const value = wrapInArray(model.value);
28208
28211
  if (!value.length) return null;
@@ -28224,7 +28227,7 @@
28224
28227
  return;
28225
28228
  }
28226
28229
  const target = e.target;
28227
- model.value = adapter.date(target.value);
28230
+ model.value = target.value;
28228
28231
  }
28229
28232
  function onClick(e) {
28230
28233
  e.preventDefault();
@@ -28234,11 +28237,17 @@
28234
28237
  function onSave() {
28235
28238
  menu.value = false;
28236
28239
  }
28240
+ function onUpdateModel(value) {
28241
+ if (value != null) return;
28242
+ model.value = null;
28243
+ }
28237
28244
  useRender(() => {
28238
28245
  const confirmEditProps = VConfirmEdit.filterProps(props);
28239
28246
  const datePickerProps = VDatePicker.filterProps(omit(props, ['active', 'location']));
28240
28247
  const textFieldProps = VTextField.filterProps(props);
28241
- return vue.createVNode(VTextField, vue.mergeProps(textFieldProps, {
28248
+ return vue.createVNode(VTextField, vue.mergeProps({
28249
+ "ref": vDateInputRef
28250
+ }, textFieldProps, {
28242
28251
  "class": props.class,
28243
28252
  "style": props.style,
28244
28253
  "modelValue": display.value,
@@ -28247,7 +28256,8 @@
28247
28256
  "onFocus": focus,
28248
28257
  "onBlur": blur,
28249
28258
  "onClick:control": isInteractive.value ? onClick : undefined,
28250
- "onClick:prepend": isInteractive.value ? onClick : undefined
28259
+ "onClick:prepend": isInteractive.value ? onClick : undefined,
28260
+ "onUpdate:modelValue": onUpdateModel
28251
28261
  }), {
28252
28262
  default: () => [vue.createVNode(VMenu, {
28253
28263
  "modelValue": menu.value,
@@ -28295,6 +28305,7 @@
28295
28305
  }), slots.default?.()]
28296
28306
  });
28297
28307
  });
28308
+ return forwardRefs({}, vDateInputRef);
28298
28309
  }
28299
28310
  });
28300
28311
 
@@ -30873,7 +30884,7 @@
30873
30884
  goTo
30874
30885
  };
30875
30886
  }
30876
- const version$1 = "3.7.11-master.2025-02-04";
30887
+ const version$1 = "3.7.11-master.2025-02-07";
30877
30888
  createVuetify$1.version = version$1;
30878
30889
 
30879
30890
  // Vue's inject() can only be used in setup
@@ -31126,7 +31137,7 @@
31126
31137
 
31127
31138
  /* eslint-disable local-rules/sort-imports */
31128
31139
 
31129
- const version = "3.7.11-master.2025-02-04";
31140
+ const version = "3.7.11-master.2025-02-07";
31130
31141
 
31131
31142
  /* eslint-disable local-rules/sort-imports */
31132
31143