@vuetify/nightly 3.7.18-master.2025-03-25 → 3.7.19-master.2025-03-26

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.18-master.2025-03-25
2
+ * Vuetify v3.7.19-master.2025-03-26
3
3
  * Forged by John Leider
4
4
  * Released under the MIT License.
5
5
  */
@@ -13265,12 +13265,7 @@ const VAutocomplete = genericComponent()({
13265
13265
  } else {
13266
13266
  if (!props.multiple && search.value == null) model.value = [];
13267
13267
  menu.value = false;
13268
- if (!model.value.some(_ref3 => {
13269
- let {
13270
- title
13271
- } = _ref3;
13272
- return title === search.value;
13273
- })) search.value = '';
13268
+ if (props.multiple || hasSelectionSlot.value) search.value = '';
13274
13269
  selectionIndex.value = -1;
13275
13270
  }
13276
13271
  });
@@ -13357,12 +13352,12 @@ const VAutocomplete = genericComponent()({
13357
13352
  "renderless": true,
13358
13353
  "items": displayItems.value
13359
13354
  }, {
13360
- default: _ref4 => {
13355
+ default: _ref3 => {
13361
13356
  let {
13362
13357
  item,
13363
13358
  index,
13364
13359
  itemRef
13365
- } = _ref4;
13360
+ } = _ref3;
13366
13361
  const itemProps = mergeProps(item.props, {
13367
13362
  ref: itemRef,
13368
13363
  key: item.value,
@@ -13376,10 +13371,10 @@ const VAutocomplete = genericComponent()({
13376
13371
  }) ?? createVNode(VListItem, mergeProps(itemProps, {
13377
13372
  "role": "option"
13378
13373
  }), {
13379
- prepend: _ref5 => {
13374
+ prepend: _ref4 => {
13380
13375
  let {
13381
13376
  isSelected
13382
- } = _ref5;
13377
+ } = _ref4;
13383
13378
  return createVNode(Fragment, null, [props.multiple && !props.hideSelected ? createVNode(VCheckboxBtn, {
13384
13379
  "key": item.value,
13385
13380
  "modelValue": isSelected,
@@ -28289,7 +28284,7 @@ const VDateInput = genericComponent()({
28289
28284
  const adapter = useDate();
28290
28285
  const {
28291
28286
  mobile
28292
- } = useDisplay();
28287
+ } = useDisplay(props);
28293
28288
  const {
28294
28289
  isFocused,
28295
28290
  focus,
@@ -28337,7 +28332,7 @@ const VDateInput = genericComponent()({
28337
28332
  return;
28338
28333
  }
28339
28334
  const target = e.target;
28340
- model.value = target.value === '' ? null : target.value;
28335
+ model.value = adapter.isValid(target.value) ? target.value : null;
28341
28336
  }
28342
28337
  function onClick(e) {
28343
28338
  e.preventDefault();
@@ -28361,10 +28356,6 @@ const VDateInput = genericComponent()({
28361
28356
  if (value != null) return;
28362
28357
  model.value = null;
28363
28358
  }
28364
- function onUpdateMenuModel(isMenuOpen) {
28365
- if (isMenuOpen) return;
28366
- isEditingInput.value = false;
28367
- }
28368
28359
  function onBlur() {
28369
28360
  blur();
28370
28361
 
@@ -28397,7 +28388,7 @@ const VDateInput = genericComponent()({
28397
28388
  ...slots,
28398
28389
  default: () => createVNode(Fragment, null, [createVNode(VMenu, {
28399
28390
  "modelValue": menu.value,
28400
- "onUpdate:modelValue": [$event => menu.value = $event, onUpdateMenuModel],
28391
+ "onUpdate:modelValue": $event => menu.value = $event,
28401
28392
  "activator": "parent",
28402
28393
  "min-width": "0",
28403
28394
  "eager": isFocused.value,
@@ -31151,7 +31142,7 @@ function createVuetify$1() {
31151
31142
  goTo
31152
31143
  };
31153
31144
  }
31154
- const version$1 = "3.7.18-master.2025-03-25";
31145
+ const version$1 = "3.7.19-master.2025-03-26";
31155
31146
  createVuetify$1.version = version$1;
31156
31147
 
31157
31148
  // Vue's inject() can only be used in setup
@@ -31404,7 +31395,7 @@ var index = /*#__PURE__*/Object.freeze({
31404
31395
 
31405
31396
  /* eslint-disable local-rules/sort-imports */
31406
31397
 
31407
- const version = "3.7.18-master.2025-03-25";
31398
+ const version = "3.7.19-master.2025-03-26";
31408
31399
 
31409
31400
  /* eslint-disable local-rules/sort-imports */
31410
31401