@vuetify/nightly 3.7.5-master.2024-12-12 → 3.7.5-master.2024-12-16

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 +2816 -2816
  2. package/dist/json/importMap-labs.json +32 -32
  3. package/dist/json/importMap.json +184 -184
  4. package/dist/json/web-types.json +5212 -5212
  5. package/dist/vuetify-labs.css +2838 -2838
  6. package/dist/vuetify-labs.esm.js +22 -13
  7. package/dist/vuetify-labs.esm.js.map +1 -1
  8. package/dist/vuetify-labs.js +22 -13
  9. package/dist/vuetify-labs.min.css +2 -2
  10. package/dist/vuetify.css +2064 -2064
  11. package/dist/vuetify.d.ts +69 -69
  12. package/dist/vuetify.esm.js +15 -9
  13. package/dist/vuetify.esm.js.map +1 -1
  14. package/dist/vuetify.js +15 -9
  15. package/dist/vuetify.js.map +1 -1
  16. package/dist/vuetify.min.css +2 -2
  17. package/dist/vuetify.min.js +33 -33
  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/VSelect/VSelect.mjs +2 -1
  24. package/lib/components/VSelect/VSelect.mjs.map +1 -1
  25. package/lib/components/VVirtualScroll/VVirtualScroll.mjs +1 -1
  26. package/lib/components/VVirtualScroll/VVirtualScroll.mjs.map +1 -1
  27. package/lib/composables/nested/nested.mjs +4 -2
  28. package/lib/composables/nested/nested.mjs.map +1 -1
  29. package/lib/composables/virtual.mjs +3 -2
  30. package/lib/composables/virtual.mjs.map +1 -1
  31. package/lib/entry-bundler.mjs +1 -1
  32. package/lib/framework.mjs +1 -1
  33. package/lib/index.d.mts +69 -69
  34. package/lib/labs/VNumberInput/VNumberInput.mjs +7 -4
  35. package/lib/labs/VNumberInput/VNumberInput.mjs.map +1 -1
  36. package/package.json +1 -1
@@ -1,5 +1,5 @@
1
1
  /*!
2
- * Vuetify v3.7.5-master.2024-12-12
2
+ * Vuetify v3.7.5-master.2024-12-16
3
3
  * Forged by John Leider
4
4
  * Released under the MIT License.
5
5
  */
@@ -8718,7 +8718,9 @@
8718
8718
  isLeaf: vue.computed(() => !parent.root.children.value.get(computedId.value)),
8719
8719
  isGroupActivator: parent.isGroupActivator
8720
8720
  };
8721
- !parent.isGroupActivator && parent.root.register(computedId.value, parent.id.value, isGroup);
8721
+ vue.onBeforeMount(() => {
8722
+ !parent.isGroupActivator && parent.root.register(computedId.value, parent.id.value, isGroup);
8723
+ });
8722
8724
  vue.onBeforeUnmount(() => {
8723
8725
  !parent.isGroupActivator && parent.root.unregister(computedId.value);
8724
8726
  });
@@ -12145,7 +12147,8 @@
12145
12147
  const computedItems = vue.computed(() => {
12146
12148
  return items.value.slice(first.value, last.value).map((item, index) => ({
12147
12149
  raw: item,
12148
- index: index + first.value
12150
+ index: index + first.value,
12151
+ key: isObject(item) && 'value' in item ? item.value : index + first.value
12149
12152
  }));
12150
12153
  });
12151
12154
  vue.watch(items, () => {
@@ -12260,7 +12263,7 @@
12260
12263
  });
12261
12264
  useRender(() => {
12262
12265
  const children = computedItems.value.map(item => vue.createVNode(VVirtualScrollItem, {
12263
- "key": item.index,
12266
+ "key": item.key,
12264
12267
  "renderless": props.renderless,
12265
12268
  "onUpdate:height": height => handleItemResize(item.index, height)
12266
12269
  }, {
@@ -12659,6 +12662,7 @@
12659
12662
  "color": props.itemColor ?? props.color
12660
12663
  }, listEvents, props.listProps), {
12661
12664
  default: () => [slots['prepend-item']?.(), !displayItems.value.length && !props.hideNoData && (slots['no-data']?.() ?? vue.createVNode(VListItem, {
12665
+ "key": "no-data",
12662
12666
  "title": t(props.noDataText)
12663
12667
  }, null)), vue.createVNode(VVirtualScroll, {
12664
12668
  "ref": vVirtualScrollRef,
@@ -12673,7 +12677,7 @@
12673
12677
  } = _ref2;
12674
12678
  const itemProps = vue.mergeProps(item.props, {
12675
12679
  ref: itemRef,
12676
- key: index,
12680
+ key: item.value,
12677
12681
  onClick: () => select(item, null)
12678
12682
  });
12679
12683
  return slots.item?.({
@@ -13233,6 +13237,7 @@
13233
13237
  "color": props.itemColor ?? props.color
13234
13238
  }, listEvents, props.listProps), {
13235
13239
  default: () => [slots['prepend-item']?.(), !displayItems.value.length && !props.hideNoData && (slots['no-data']?.() ?? vue.createVNode(VListItem, {
13240
+ "key": "no-data",
13236
13241
  "title": t(props.noDataText)
13237
13242
  }, null)), vue.createVNode(VVirtualScroll, {
13238
13243
  "ref": vVirtualScrollRef,
@@ -13247,7 +13252,7 @@
13247
13252
  } = _ref4;
13248
13253
  const itemProps = vue.mergeProps(item.props, {
13249
13254
  ref: itemRef,
13250
- key: index,
13255
+ key: item.value,
13251
13256
  active: highlightFirst.value && index === 0 ? true : undefined,
13252
13257
  onClick: () => select(item, null)
13253
13258
  });
@@ -17112,6 +17117,7 @@
17112
17117
  "color": props.itemColor ?? props.color
17113
17118
  }, listEvents, props.listProps), {
17114
17119
  default: () => [slots['prepend-item']?.(), !displayItems.value.length && !props.hideNoData && (slots['no-data']?.() ?? vue.createVNode(VListItem, {
17120
+ "key": "no-data",
17115
17121
  "title": t(props.noDataText)
17116
17122
  }, null)), vue.createVNode(VVirtualScroll, {
17117
17123
  "ref": vVirtualScrollRef,
@@ -17126,7 +17132,7 @@
17126
17132
  } = _ref4;
17127
17133
  const itemProps = vue.mergeProps(item.props, {
17128
17134
  ref: itemRef,
17129
- key: index,
17135
+ key: item.value,
17130
17136
  active: highlightFirst.value && index === 0 ? true : undefined,
17131
17137
  onClick: () => select(item, null)
17132
17138
  });
@@ -28529,13 +28535,16 @@
28529
28535
  const _model = useProxiedModel(props, 'modelValue');
28530
28536
  const model = vue.computed({
28531
28537
  get: () => _model.value,
28538
+ // model.value could be empty string from VTextField
28539
+ // but _model.value should be eventually kept in type Number | null
28532
28540
  set(val) {
28533
- if (val === null) {
28541
+ if (val === null || val === '') {
28534
28542
  _model.value = null;
28535
28543
  return;
28536
28544
  }
28537
- if (!isNaN(+val) && +val <= props.max && +val >= props.min) {
28538
- _model.value = +val;
28545
+ const value = Number(val);
28546
+ if (!isNaN(value) && value <= props.max && value >= props.min) {
28547
+ _model.value = value;
28539
28548
  }
28540
28549
  }
28541
28550
  });
@@ -28708,7 +28717,7 @@
28708
28717
  "class": "v-number-input__control"
28709
28718
  }, [vue.createVNode(VDivider, {
28710
28719
  "vertical": true
28711
- }, null), incrementControlNode()]) : !props.reverse ? vue.createVNode(vue.Fragment, null, [dividerNode(), controlNode()]) : undefined;
28720
+ }, null), incrementControlNode()]) : props.reverse ? undefined : vue.createVNode(vue.Fragment, null, [dividerNode(), controlNode()]);
28712
28721
  const hasAppendInner = slots['append-inner'] || appendInnerControl;
28713
28722
  const prependInnerControl = controlVariant.value === 'split' ? vue.createVNode("div", {
28714
28723
  "class": "v-number-input__control"
@@ -30735,7 +30744,7 @@
30735
30744
  goTo
30736
30745
  };
30737
30746
  }
30738
- const version$1 = "3.7.5-master.2024-12-12";
30747
+ const version$1 = "3.7.5-master.2024-12-16";
30739
30748
  createVuetify$1.version = version$1;
30740
30749
 
30741
30750
  // Vue's inject() can only be used in setup
@@ -30988,7 +30997,7 @@
30988
30997
 
30989
30998
  /* eslint-disable local-rules/sort-imports */
30990
30999
 
30991
- const version = "3.7.5-master.2024-12-12";
31000
+ const version = "3.7.5-master.2024-12-16";
30992
31001
 
30993
31002
  /* eslint-disable local-rules/sort-imports */
30994
31003