@vuetify/nightly 3.7.5-master.2024-12-15 → 3.7.5-master.2024-12-17

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.
Files changed (36) hide show
  1. package/dist/json/attributes.json +1979 -1979
  2. package/dist/json/importMap-labs.json +18 -18
  3. package/dist/json/importMap.json +148 -148
  4. package/dist/json/web-types.json +3910 -3910
  5. package/dist/vuetify-labs.css +3554 -3554
  6. package/dist/vuetify-labs.esm.js +28 -16
  7. package/dist/vuetify-labs.esm.js.map +1 -1
  8. package/dist/vuetify-labs.js +28 -16
  9. package/dist/vuetify-labs.min.css +2 -2
  10. package/dist/vuetify.css +3384 -3384
  11. package/dist/vuetify.d.ts +49 -49
  12. package/dist/vuetify.esm.js +28 -16
  13. package/dist/vuetify.esm.js.map +1 -1
  14. package/dist/vuetify.js +28 -16
  15. package/dist/vuetify.js.map +1 -1
  16. package/dist/vuetify.min.css +2 -2
  17. package/dist/vuetify.min.js +37 -37
  18. package/dist/vuetify.min.js.map +1 -1
  19. package/lib/components/VAutocomplete/VAutocomplete.mjs +2 -1
  20. package/lib/components/VAutocomplete/VAutocomplete.mjs.map +1 -1
  21. package/lib/components/VCombobox/VCombobox.mjs +2 -1
  22. package/lib/components/VCombobox/VCombobox.mjs.map +1 -1
  23. package/lib/components/VList/VListItem.mjs +14 -8
  24. package/lib/components/VList/VListItem.mjs.map +1 -1
  25. package/lib/components/VSelect/VSelect.mjs +2 -1
  26. package/lib/components/VSelect/VSelect.mjs.map +1 -1
  27. package/lib/components/VVirtualScroll/VVirtualScroll.mjs +1 -1
  28. package/lib/components/VVirtualScroll/VVirtualScroll.mjs.map +1 -1
  29. package/lib/composables/nested/nested.mjs +4 -2
  30. package/lib/composables/nested/nested.mjs.map +1 -1
  31. package/lib/composables/virtual.mjs +3 -2
  32. package/lib/composables/virtual.mjs.map +1 -1
  33. package/lib/entry-bundler.mjs +1 -1
  34. package/lib/framework.mjs +1 -1
  35. package/lib/index.d.mts +49 -49
  36. package/package.json +1 -1
package/dist/vuetify.js CHANGED
@@ -1,5 +1,5 @@
1
1
  /*!
2
- * Vuetify v3.7.5-master.2024-12-15
2
+ * Vuetify v3.7.5-master.2024-12-17
3
3
  * Forged by John Leider
4
4
  * Released under the MIT License.
5
5
  */
@@ -8951,7 +8951,9 @@
8951
8951
  isLeaf: vue.computed(() => !parent.root.children.value.get(computedId.value)),
8952
8952
  isGroupActivator: parent.isGroupActivator
8953
8953
  };
8954
- !parent.isGroupActivator && parent.root.register(computedId.value, parent.id.value, isGroup);
8954
+ vue.onBeforeMount(() => {
8955
+ !parent.isGroupActivator && parent.root.register(computedId.value, parent.id.value, isGroup);
8956
+ });
8955
8957
  vue.onBeforeUnmount(() => {
8956
8958
  !parent.isGroupActivator && parent.root.unregister(computedId.value);
8957
8959
  });
@@ -9185,16 +9187,22 @@
9185
9187
  color: isActive.value ? color.value ?? props.baseColor : props.baseColor,
9186
9188
  variant: props.variant
9187
9189
  }));
9190
+
9191
+ // useNestedItem doesn't call register until beforeMount,
9192
+ // so this can't be an immediate watcher as we don't know parent yet
9188
9193
  vue.watch(() => link.isActive?.value, val => {
9189
- if (val && parent.value != null) {
9194
+ if (!val) return;
9195
+ handleActiveLink();
9196
+ });
9197
+ vue.onBeforeMount(() => {
9198
+ if (link.isActive?.value) handleActiveLink();
9199
+ });
9200
+ function handleActiveLink() {
9201
+ if (parent.value != null) {
9190
9202
  root.open(parent.value, true);
9191
9203
  }
9192
- if (val) {
9193
- openOnSelect(val);
9194
- }
9195
- }, {
9196
- immediate: true
9197
- });
9204
+ openOnSelect(true);
9205
+ }
9198
9206
  const {
9199
9207
  themeClasses
9200
9208
  } = provideTheme(props);
@@ -12378,7 +12386,8 @@
12378
12386
  const computedItems = vue.computed(() => {
12379
12387
  return items.value.slice(first.value, last.value).map((item, index) => ({
12380
12388
  raw: item,
12381
- index: index + first.value
12389
+ index: index + first.value,
12390
+ key: isObject(item) && 'value' in item ? item.value : index + first.value
12382
12391
  }));
12383
12392
  });
12384
12393
  vue.watch(items, () => {
@@ -12493,7 +12502,7 @@
12493
12502
  });
12494
12503
  useRender(() => {
12495
12504
  const children = computedItems.value.map(item => vue.createVNode(VVirtualScrollItem, {
12496
- "key": item.index,
12505
+ "key": item.key,
12497
12506
  "renderless": props.renderless,
12498
12507
  "onUpdate:height": height => handleItemResize(item.index, height)
12499
12508
  }, {
@@ -12892,6 +12901,7 @@
12892
12901
  "color": props.itemColor ?? props.color
12893
12902
  }, listEvents, props.listProps), {
12894
12903
  default: () => [slots['prepend-item']?.(), !displayItems.value.length && !props.hideNoData && (slots['no-data']?.() ?? vue.createVNode(VListItem, {
12904
+ "key": "no-data",
12895
12905
  "title": t(props.noDataText)
12896
12906
  }, null)), vue.createVNode(VVirtualScroll, {
12897
12907
  "ref": vVirtualScrollRef,
@@ -12906,7 +12916,7 @@
12906
12916
  } = _ref2;
12907
12917
  const itemProps = vue.mergeProps(item.props, {
12908
12918
  ref: itemRef,
12909
- key: index,
12919
+ key: item.value,
12910
12920
  onClick: () => select(item, null)
12911
12921
  });
12912
12922
  return slots.item?.({
@@ -13466,6 +13476,7 @@
13466
13476
  "color": props.itemColor ?? props.color
13467
13477
  }, listEvents, props.listProps), {
13468
13478
  default: () => [slots['prepend-item']?.(), !displayItems.value.length && !props.hideNoData && (slots['no-data']?.() ?? vue.createVNode(VListItem, {
13479
+ "key": "no-data",
13469
13480
  "title": t(props.noDataText)
13470
13481
  }, null)), vue.createVNode(VVirtualScroll, {
13471
13482
  "ref": vVirtualScrollRef,
@@ -13480,7 +13491,7 @@
13480
13491
  } = _ref4;
13481
13492
  const itemProps = vue.mergeProps(item.props, {
13482
13493
  ref: itemRef,
13483
- key: index,
13494
+ key: item.value,
13484
13495
  active: highlightFirst.value && index === 0 ? true : undefined,
13485
13496
  onClick: () => select(item, null)
13486
13497
  });
@@ -17345,6 +17356,7 @@
17345
17356
  "color": props.itemColor ?? props.color
17346
17357
  }, listEvents, props.listProps), {
17347
17358
  default: () => [slots['prepend-item']?.(), !displayItems.value.length && !props.hideNoData && (slots['no-data']?.() ?? vue.createVNode(VListItem, {
17359
+ "key": "no-data",
17348
17360
  "title": t(props.noDataText)
17349
17361
  }, null)), vue.createVNode(VVirtualScroll, {
17350
17362
  "ref": vVirtualScrollRef,
@@ -17359,7 +17371,7 @@
17359
17371
  } = _ref4;
17360
17372
  const itemProps = vue.mergeProps(item.props, {
17361
17373
  ref: itemRef,
17362
- key: index,
17374
+ key: item.value,
17363
17375
  active: highlightFirst.value && index === 0 ? true : undefined,
17364
17376
  onClick: () => select(item, null)
17365
17377
  });
@@ -28276,7 +28288,7 @@
28276
28288
  goTo
28277
28289
  };
28278
28290
  }
28279
- const version$1 = "3.7.5-master.2024-12-15";
28291
+ const version$1 = "3.7.5-master.2024-12-17";
28280
28292
  createVuetify$1.version = version$1;
28281
28293
 
28282
28294
  // Vue's inject() can only be used in setup
@@ -28301,7 +28313,7 @@
28301
28313
  ...options
28302
28314
  });
28303
28315
  };
28304
- const version = "3.7.5-master.2024-12-15";
28316
+ const version = "3.7.5-master.2024-12-17";
28305
28317
  createVuetify.version = version;
28306
28318
 
28307
28319
  exports.blueprints = index;