@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.
- package/dist/json/attributes.json +2816 -2816
- package/dist/json/importMap-labs.json +32 -32
- package/dist/json/importMap.json +184 -184
- package/dist/json/web-types.json +5212 -5212
- package/dist/vuetify-labs.css +2838 -2838
- package/dist/vuetify-labs.esm.js +22 -13
- package/dist/vuetify-labs.esm.js.map +1 -1
- package/dist/vuetify-labs.js +22 -13
- package/dist/vuetify-labs.min.css +2 -2
- package/dist/vuetify.css +2064 -2064
- package/dist/vuetify.d.ts +69 -69
- package/dist/vuetify.esm.js +15 -9
- package/dist/vuetify.esm.js.map +1 -1
- package/dist/vuetify.js +15 -9
- package/dist/vuetify.js.map +1 -1
- package/dist/vuetify.min.css +2 -2
- package/dist/vuetify.min.js +33 -33
- 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/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 +69 -69
- package/lib/labs/VNumberInput/VNumberInput.mjs +7 -4
- package/lib/labs/VNumberInput/VNumberInput.mjs.map +1 -1
- 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-16
|
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
|
});
|
@@ -12141,7 +12143,8 @@ function useVirtual(props, items) {
|
|
12141
12143
|
const computedItems = computed(() => {
|
12142
12144
|
return items.value.slice(first.value, last.value).map((item, index) => ({
|
12143
12145
|
raw: item,
|
12144
|
-
index: index + first.value
|
12146
|
+
index: index + first.value,
|
12147
|
+
key: isObject(item) && 'value' in item ? item.value : index + first.value
|
12145
12148
|
}));
|
12146
12149
|
});
|
12147
12150
|
watch(items, () => {
|
@@ -12256,7 +12259,7 @@ const VVirtualScroll = genericComponent()({
|
|
12256
12259
|
});
|
12257
12260
|
useRender(() => {
|
12258
12261
|
const children = computedItems.value.map(item => createVNode(VVirtualScrollItem, {
|
12259
|
-
"key": item.
|
12262
|
+
"key": item.key,
|
12260
12263
|
"renderless": props.renderless,
|
12261
12264
|
"onUpdate:height": height => handleItemResize(item.index, height)
|
12262
12265
|
}, {
|
@@ -12655,6 +12658,7 @@ const VSelect = genericComponent()({
|
|
12655
12658
|
"color": props.itemColor ?? props.color
|
12656
12659
|
}, listEvents, props.listProps), {
|
12657
12660
|
default: () => [slots['prepend-item']?.(), !displayItems.value.length && !props.hideNoData && (slots['no-data']?.() ?? createVNode(VListItem, {
|
12661
|
+
"key": "no-data",
|
12658
12662
|
"title": t(props.noDataText)
|
12659
12663
|
}, null)), createVNode(VVirtualScroll, {
|
12660
12664
|
"ref": vVirtualScrollRef,
|
@@ -12669,7 +12673,7 @@ const VSelect = genericComponent()({
|
|
12669
12673
|
} = _ref2;
|
12670
12674
|
const itemProps = mergeProps(item.props, {
|
12671
12675
|
ref: itemRef,
|
12672
|
-
key:
|
12676
|
+
key: item.value,
|
12673
12677
|
onClick: () => select(item, null)
|
12674
12678
|
});
|
12675
12679
|
return slots.item?.({
|
@@ -13229,6 +13233,7 @@ const VAutocomplete = genericComponent()({
|
|
13229
13233
|
"color": props.itemColor ?? props.color
|
13230
13234
|
}, listEvents, props.listProps), {
|
13231
13235
|
default: () => [slots['prepend-item']?.(), !displayItems.value.length && !props.hideNoData && (slots['no-data']?.() ?? createVNode(VListItem, {
|
13236
|
+
"key": "no-data",
|
13232
13237
|
"title": t(props.noDataText)
|
13233
13238
|
}, null)), createVNode(VVirtualScroll, {
|
13234
13239
|
"ref": vVirtualScrollRef,
|
@@ -13243,7 +13248,7 @@ const VAutocomplete = genericComponent()({
|
|
13243
13248
|
} = _ref4;
|
13244
13249
|
const itemProps = mergeProps(item.props, {
|
13245
13250
|
ref: itemRef,
|
13246
|
-
key:
|
13251
|
+
key: item.value,
|
13247
13252
|
active: highlightFirst.value && index === 0 ? true : undefined,
|
13248
13253
|
onClick: () => select(item, null)
|
13249
13254
|
});
|
@@ -17108,6 +17113,7 @@ const VCombobox = genericComponent()({
|
|
17108
17113
|
"color": props.itemColor ?? props.color
|
17109
17114
|
}, listEvents, props.listProps), {
|
17110
17115
|
default: () => [slots['prepend-item']?.(), !displayItems.value.length && !props.hideNoData && (slots['no-data']?.() ?? createVNode(VListItem, {
|
17116
|
+
"key": "no-data",
|
17111
17117
|
"title": t(props.noDataText)
|
17112
17118
|
}, null)), createVNode(VVirtualScroll, {
|
17113
17119
|
"ref": vVirtualScrollRef,
|
@@ -17122,7 +17128,7 @@ const VCombobox = genericComponent()({
|
|
17122
17128
|
} = _ref4;
|
17123
17129
|
const itemProps = mergeProps(item.props, {
|
17124
17130
|
ref: itemRef,
|
17125
|
-
key:
|
17131
|
+
key: item.value,
|
17126
17132
|
active: highlightFirst.value && index === 0 ? true : undefined,
|
17127
17133
|
onClick: () => select(item, null)
|
17128
17134
|
});
|
@@ -28525,13 +28531,16 @@ const VNumberInput = genericComponent()({
|
|
28525
28531
|
const _model = useProxiedModel(props, 'modelValue');
|
28526
28532
|
const model = computed({
|
28527
28533
|
get: () => _model.value,
|
28534
|
+
// model.value could be empty string from VTextField
|
28535
|
+
// but _model.value should be eventually kept in type Number | null
|
28528
28536
|
set(val) {
|
28529
|
-
if (val === null) {
|
28537
|
+
if (val === null || val === '') {
|
28530
28538
|
_model.value = null;
|
28531
28539
|
return;
|
28532
28540
|
}
|
28533
|
-
|
28534
|
-
|
28541
|
+
const value = Number(val);
|
28542
|
+
if (!isNaN(value) && value <= props.max && value >= props.min) {
|
28543
|
+
_model.value = value;
|
28535
28544
|
}
|
28536
28545
|
}
|
28537
28546
|
});
|
@@ -28704,7 +28713,7 @@ const VNumberInput = genericComponent()({
|
|
28704
28713
|
"class": "v-number-input__control"
|
28705
28714
|
}, [createVNode(VDivider, {
|
28706
28715
|
"vertical": true
|
28707
|
-
}, null), incrementControlNode()]) :
|
28716
|
+
}, null), incrementControlNode()]) : props.reverse ? undefined : createVNode(Fragment, null, [dividerNode(), controlNode()]);
|
28708
28717
|
const hasAppendInner = slots['append-inner'] || appendInnerControl;
|
28709
28718
|
const prependInnerControl = controlVariant.value === 'split' ? createVNode("div", {
|
28710
28719
|
"class": "v-number-input__control"
|
@@ -30731,7 +30740,7 @@ function createVuetify$1() {
|
|
30731
30740
|
goTo
|
30732
30741
|
};
|
30733
30742
|
}
|
30734
|
-
const version$1 = "3.7.5-master.2024-12-
|
30743
|
+
const version$1 = "3.7.5-master.2024-12-16";
|
30735
30744
|
createVuetify$1.version = version$1;
|
30736
30745
|
|
30737
30746
|
// Vue's inject() can only be used in setup
|
@@ -30984,7 +30993,7 @@ var index = /*#__PURE__*/Object.freeze({
|
|
30984
30993
|
|
30985
30994
|
/* eslint-disable local-rules/sort-imports */
|
30986
30995
|
|
30987
|
-
const version = "3.7.5-master.2024-12-
|
30996
|
+
const version = "3.7.5-master.2024-12-16";
|
30988
30997
|
|
30989
30998
|
/* eslint-disable local-rules/sort-imports */
|
30990
30999
|
|