@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.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
|
*/
|
@@ -8718,7 +8718,9 @@
|
|
8718
8718
|
isLeaf: vue.computed(() => !parent.root.children.value.get(computedId.value)),
|
8719
8719
|
isGroupActivator: parent.isGroupActivator
|
8720
8720
|
};
|
8721
|
-
|
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
|
});
|
@@ -8952,16 +8954,22 @@
|
|
8952
8954
|
color: isActive.value ? color.value ?? props.baseColor : props.baseColor,
|
8953
8955
|
variant: props.variant
|
8954
8956
|
}));
|
8957
|
+
|
8958
|
+
// useNestedItem doesn't call register until beforeMount,
|
8959
|
+
// so this can't be an immediate watcher as we don't know parent yet
|
8955
8960
|
vue.watch(() => link.isActive?.value, val => {
|
8956
|
-
if (val
|
8961
|
+
if (!val) return;
|
8962
|
+
handleActiveLink();
|
8963
|
+
});
|
8964
|
+
vue.onBeforeMount(() => {
|
8965
|
+
if (link.isActive?.value) handleActiveLink();
|
8966
|
+
});
|
8967
|
+
function handleActiveLink() {
|
8968
|
+
if (parent.value != null) {
|
8957
8969
|
root.open(parent.value, true);
|
8958
8970
|
}
|
8959
|
-
|
8960
|
-
|
8961
|
-
}
|
8962
|
-
}, {
|
8963
|
-
immediate: true
|
8964
|
-
});
|
8971
|
+
openOnSelect(true);
|
8972
|
+
}
|
8965
8973
|
const {
|
8966
8974
|
themeClasses
|
8967
8975
|
} = provideTheme(props);
|
@@ -12145,7 +12153,8 @@
|
|
12145
12153
|
const computedItems = vue.computed(() => {
|
12146
12154
|
return items.value.slice(first.value, last.value).map((item, index) => ({
|
12147
12155
|
raw: item,
|
12148
|
-
index: index + first.value
|
12156
|
+
index: index + first.value,
|
12157
|
+
key: isObject(item) && 'value' in item ? item.value : index + first.value
|
12149
12158
|
}));
|
12150
12159
|
});
|
12151
12160
|
vue.watch(items, () => {
|
@@ -12260,7 +12269,7 @@
|
|
12260
12269
|
});
|
12261
12270
|
useRender(() => {
|
12262
12271
|
const children = computedItems.value.map(item => vue.createVNode(VVirtualScrollItem, {
|
12263
|
-
"key": item.
|
12272
|
+
"key": item.key,
|
12264
12273
|
"renderless": props.renderless,
|
12265
12274
|
"onUpdate:height": height => handleItemResize(item.index, height)
|
12266
12275
|
}, {
|
@@ -12659,6 +12668,7 @@
|
|
12659
12668
|
"color": props.itemColor ?? props.color
|
12660
12669
|
}, listEvents, props.listProps), {
|
12661
12670
|
default: () => [slots['prepend-item']?.(), !displayItems.value.length && !props.hideNoData && (slots['no-data']?.() ?? vue.createVNode(VListItem, {
|
12671
|
+
"key": "no-data",
|
12662
12672
|
"title": t(props.noDataText)
|
12663
12673
|
}, null)), vue.createVNode(VVirtualScroll, {
|
12664
12674
|
"ref": vVirtualScrollRef,
|
@@ -12673,7 +12683,7 @@
|
|
12673
12683
|
} = _ref2;
|
12674
12684
|
const itemProps = vue.mergeProps(item.props, {
|
12675
12685
|
ref: itemRef,
|
12676
|
-
key:
|
12686
|
+
key: item.value,
|
12677
12687
|
onClick: () => select(item, null)
|
12678
12688
|
});
|
12679
12689
|
return slots.item?.({
|
@@ -13233,6 +13243,7 @@
|
|
13233
13243
|
"color": props.itemColor ?? props.color
|
13234
13244
|
}, listEvents, props.listProps), {
|
13235
13245
|
default: () => [slots['prepend-item']?.(), !displayItems.value.length && !props.hideNoData && (slots['no-data']?.() ?? vue.createVNode(VListItem, {
|
13246
|
+
"key": "no-data",
|
13236
13247
|
"title": t(props.noDataText)
|
13237
13248
|
}, null)), vue.createVNode(VVirtualScroll, {
|
13238
13249
|
"ref": vVirtualScrollRef,
|
@@ -13247,7 +13258,7 @@
|
|
13247
13258
|
} = _ref4;
|
13248
13259
|
const itemProps = vue.mergeProps(item.props, {
|
13249
13260
|
ref: itemRef,
|
13250
|
-
key:
|
13261
|
+
key: item.value,
|
13251
13262
|
active: highlightFirst.value && index === 0 ? true : undefined,
|
13252
13263
|
onClick: () => select(item, null)
|
13253
13264
|
});
|
@@ -17112,6 +17123,7 @@
|
|
17112
17123
|
"color": props.itemColor ?? props.color
|
17113
17124
|
}, listEvents, props.listProps), {
|
17114
17125
|
default: () => [slots['prepend-item']?.(), !displayItems.value.length && !props.hideNoData && (slots['no-data']?.() ?? vue.createVNode(VListItem, {
|
17126
|
+
"key": "no-data",
|
17115
17127
|
"title": t(props.noDataText)
|
17116
17128
|
}, null)), vue.createVNode(VVirtualScroll, {
|
17117
17129
|
"ref": vVirtualScrollRef,
|
@@ -17126,7 +17138,7 @@
|
|
17126
17138
|
} = _ref4;
|
17127
17139
|
const itemProps = vue.mergeProps(item.props, {
|
17128
17140
|
ref: itemRef,
|
17129
|
-
key:
|
17141
|
+
key: item.value,
|
17130
17142
|
active: highlightFirst.value && index === 0 ? true : undefined,
|
17131
17143
|
onClick: () => select(item, null)
|
17132
17144
|
});
|
@@ -30738,7 +30750,7 @@
|
|
30738
30750
|
goTo
|
30739
30751
|
};
|
30740
30752
|
}
|
30741
|
-
const version$1 = "3.7.5-master.2024-12-
|
30753
|
+
const version$1 = "3.7.5-master.2024-12-17";
|
30742
30754
|
createVuetify$1.version = version$1;
|
30743
30755
|
|
30744
30756
|
// Vue's inject() can only be used in setup
|
@@ -30991,7 +31003,7 @@
|
|
30991
31003
|
|
30992
31004
|
/* eslint-disable local-rules/sort-imports */
|
30993
31005
|
|
30994
|
-
const version = "3.7.5-master.2024-12-
|
31006
|
+
const version = "3.7.5-master.2024-12-17";
|
30995
31007
|
|
30996
31008
|
/* eslint-disable local-rules/sort-imports */
|
30997
31009
|
|