@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.
- package/dist/json/attributes.json +1979 -1979
- package/dist/json/importMap-labs.json +18 -18
- package/dist/json/importMap.json +148 -148
- package/dist/json/web-types.json +3910 -3910
- package/dist/vuetify-labs.css +3554 -3554
- package/dist/vuetify-labs.esm.js +28 -16
- package/dist/vuetify-labs.esm.js.map +1 -1
- package/dist/vuetify-labs.js +28 -16
- package/dist/vuetify-labs.min.css +2 -2
- package/dist/vuetify.css +3384 -3384
- package/dist/vuetify.d.ts +49 -49
- package/dist/vuetify.esm.js +28 -16
- package/dist/vuetify.esm.js.map +1 -1
- package/dist/vuetify.js +28 -16
- package/dist/vuetify.js.map +1 -1
- package/dist/vuetify.min.css +2 -2
- package/dist/vuetify.min.js +37 -37
- package/dist/vuetify.min.js.map +1 -1
- package/lib/components/VAutocomplete/VAutocomplete.mjs +2 -1
- package/lib/components/VAutocomplete/VAutocomplete.mjs.map +1 -1
- package/lib/components/VCombobox/VCombobox.mjs +2 -1
- package/lib/components/VCombobox/VCombobox.mjs.map +1 -1
- package/lib/components/VList/VListItem.mjs +14 -8
- package/lib/components/VList/VListItem.mjs.map +1 -1
- package/lib/components/VSelect/VSelect.mjs +2 -1
- package/lib/components/VSelect/VSelect.mjs.map +1 -1
- package/lib/components/VVirtualScroll/VVirtualScroll.mjs +1 -1
- package/lib/components/VVirtualScroll/VVirtualScroll.mjs.map +1 -1
- package/lib/composables/nested/nested.mjs +4 -2
- package/lib/composables/nested/nested.mjs.map +1 -1
- package/lib/composables/virtual.mjs +3 -2
- package/lib/composables/virtual.mjs.map +1 -1
- package/lib/entry-bundler.mjs +1 -1
- package/lib/framework.mjs +1 -1
- package/lib/index.d.mts +49 -49
- package/package.json +1 -1
package/dist/vuetify-labs.esm.js
CHANGED
@@ -1,5 +1,5 @@
|
|
1
1
|
/*!
|
2
|
-
* Vuetify v3.7.5-master.2024-12-
|
2
|
+
* Vuetify v3.7.5-master.2024-12-17
|
3
3
|
* Forged by John Leider
|
4
4
|
* Released under the MIT License.
|
5
5
|
*/
|
@@ -8714,7 +8714,9 @@ const useNestedItem = (id, isGroup) => {
|
|
8714
8714
|
isLeaf: computed(() => !parent.root.children.value.get(computedId.value)),
|
8715
8715
|
isGroupActivator: parent.isGroupActivator
|
8716
8716
|
};
|
8717
|
-
|
8717
|
+
onBeforeMount(() => {
|
8718
|
+
!parent.isGroupActivator && parent.root.register(computedId.value, parent.id.value, isGroup);
|
8719
|
+
});
|
8718
8720
|
onBeforeUnmount(() => {
|
8719
8721
|
!parent.isGroupActivator && parent.root.unregister(computedId.value);
|
8720
8722
|
});
|
@@ -8948,16 +8950,22 @@ const VListItem = genericComponent()({
|
|
8948
8950
|
color: isActive.value ? color.value ?? props.baseColor : props.baseColor,
|
8949
8951
|
variant: props.variant
|
8950
8952
|
}));
|
8953
|
+
|
8954
|
+
// useNestedItem doesn't call register until beforeMount,
|
8955
|
+
// so this can't be an immediate watcher as we don't know parent yet
|
8951
8956
|
watch(() => link.isActive?.value, val => {
|
8952
|
-
if (val
|
8957
|
+
if (!val) return;
|
8958
|
+
handleActiveLink();
|
8959
|
+
});
|
8960
|
+
onBeforeMount(() => {
|
8961
|
+
if (link.isActive?.value) handleActiveLink();
|
8962
|
+
});
|
8963
|
+
function handleActiveLink() {
|
8964
|
+
if (parent.value != null) {
|
8953
8965
|
root.open(parent.value, true);
|
8954
8966
|
}
|
8955
|
-
|
8956
|
-
|
8957
|
-
}
|
8958
|
-
}, {
|
8959
|
-
immediate: true
|
8960
|
-
});
|
8967
|
+
openOnSelect(true);
|
8968
|
+
}
|
8961
8969
|
const {
|
8962
8970
|
themeClasses
|
8963
8971
|
} = provideTheme(props);
|
@@ -12141,7 +12149,8 @@ function useVirtual(props, items) {
|
|
12141
12149
|
const computedItems = computed(() => {
|
12142
12150
|
return items.value.slice(first.value, last.value).map((item, index) => ({
|
12143
12151
|
raw: item,
|
12144
|
-
index: index + first.value
|
12152
|
+
index: index + first.value,
|
12153
|
+
key: isObject(item) && 'value' in item ? item.value : index + first.value
|
12145
12154
|
}));
|
12146
12155
|
});
|
12147
12156
|
watch(items, () => {
|
@@ -12256,7 +12265,7 @@ const VVirtualScroll = genericComponent()({
|
|
12256
12265
|
});
|
12257
12266
|
useRender(() => {
|
12258
12267
|
const children = computedItems.value.map(item => createVNode(VVirtualScrollItem, {
|
12259
|
-
"key": item.
|
12268
|
+
"key": item.key,
|
12260
12269
|
"renderless": props.renderless,
|
12261
12270
|
"onUpdate:height": height => handleItemResize(item.index, height)
|
12262
12271
|
}, {
|
@@ -12655,6 +12664,7 @@ const VSelect = genericComponent()({
|
|
12655
12664
|
"color": props.itemColor ?? props.color
|
12656
12665
|
}, listEvents, props.listProps), {
|
12657
12666
|
default: () => [slots['prepend-item']?.(), !displayItems.value.length && !props.hideNoData && (slots['no-data']?.() ?? createVNode(VListItem, {
|
12667
|
+
"key": "no-data",
|
12658
12668
|
"title": t(props.noDataText)
|
12659
12669
|
}, null)), createVNode(VVirtualScroll, {
|
12660
12670
|
"ref": vVirtualScrollRef,
|
@@ -12669,7 +12679,7 @@ const VSelect = genericComponent()({
|
|
12669
12679
|
} = _ref2;
|
12670
12680
|
const itemProps = mergeProps(item.props, {
|
12671
12681
|
ref: itemRef,
|
12672
|
-
key:
|
12682
|
+
key: item.value,
|
12673
12683
|
onClick: () => select(item, null)
|
12674
12684
|
});
|
12675
12685
|
return slots.item?.({
|
@@ -13229,6 +13239,7 @@ const VAutocomplete = genericComponent()({
|
|
13229
13239
|
"color": props.itemColor ?? props.color
|
13230
13240
|
}, listEvents, props.listProps), {
|
13231
13241
|
default: () => [slots['prepend-item']?.(), !displayItems.value.length && !props.hideNoData && (slots['no-data']?.() ?? createVNode(VListItem, {
|
13242
|
+
"key": "no-data",
|
13232
13243
|
"title": t(props.noDataText)
|
13233
13244
|
}, null)), createVNode(VVirtualScroll, {
|
13234
13245
|
"ref": vVirtualScrollRef,
|
@@ -13243,7 +13254,7 @@ const VAutocomplete = genericComponent()({
|
|
13243
13254
|
} = _ref4;
|
13244
13255
|
const itemProps = mergeProps(item.props, {
|
13245
13256
|
ref: itemRef,
|
13246
|
-
key:
|
13257
|
+
key: item.value,
|
13247
13258
|
active: highlightFirst.value && index === 0 ? true : undefined,
|
13248
13259
|
onClick: () => select(item, null)
|
13249
13260
|
});
|
@@ -17108,6 +17119,7 @@ const VCombobox = genericComponent()({
|
|
17108
17119
|
"color": props.itemColor ?? props.color
|
17109
17120
|
}, listEvents, props.listProps), {
|
17110
17121
|
default: () => [slots['prepend-item']?.(), !displayItems.value.length && !props.hideNoData && (slots['no-data']?.() ?? createVNode(VListItem, {
|
17122
|
+
"key": "no-data",
|
17111
17123
|
"title": t(props.noDataText)
|
17112
17124
|
}, null)), createVNode(VVirtualScroll, {
|
17113
17125
|
"ref": vVirtualScrollRef,
|
@@ -17122,7 +17134,7 @@ const VCombobox = genericComponent()({
|
|
17122
17134
|
} = _ref4;
|
17123
17135
|
const itemProps = mergeProps(item.props, {
|
17124
17136
|
ref: itemRef,
|
17125
|
-
key:
|
17137
|
+
key: item.value,
|
17126
17138
|
active: highlightFirst.value && index === 0 ? true : undefined,
|
17127
17139
|
onClick: () => select(item, null)
|
17128
17140
|
});
|
@@ -30734,7 +30746,7 @@ function createVuetify$1() {
|
|
30734
30746
|
goTo
|
30735
30747
|
};
|
30736
30748
|
}
|
30737
|
-
const version$1 = "3.7.5-master.2024-12-
|
30749
|
+
const version$1 = "3.7.5-master.2024-12-17";
|
30738
30750
|
createVuetify$1.version = version$1;
|
30739
30751
|
|
30740
30752
|
// Vue's inject() can only be used in setup
|
@@ -30987,7 +30999,7 @@ var index = /*#__PURE__*/Object.freeze({
|
|
30987
30999
|
|
30988
31000
|
/* eslint-disable local-rules/sort-imports */
|
30989
31001
|
|
30990
|
-
const version = "3.7.5-master.2024-12-
|
31002
|
+
const version = "3.7.5-master.2024-12-17";
|
30991
31003
|
|
30992
31004
|
/* eslint-disable local-rules/sort-imports */
|
30993
31005
|
|