@vuetify/nightly 3.9.0-beta.0-dev.2025-06-20 → 3.9.0-beta.0-dev.2025-06-24
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/CHANGELOG.md +87 -3
- package/dist/json/attributes.json +1523 -1523
- package/dist/json/importMap-labs.json +16 -16
- package/dist/json/importMap.json +182 -182
- package/dist/json/web-types.json +2950 -2950
- package/dist/vuetify-labs.cjs +45 -43
- package/dist/vuetify-labs.css +5095 -5099
- package/dist/vuetify-labs.d.ts +1294 -91
- package/dist/vuetify-labs.esm.js +45 -43
- package/dist/vuetify-labs.esm.js.map +1 -1
- package/dist/vuetify-labs.js +45 -43
- package/dist/vuetify-labs.min.css +2 -2
- package/dist/vuetify.cjs +45 -43
- package/dist/vuetify.cjs.map +1 -1
- package/dist/vuetify.css +2312 -2316
- package/dist/vuetify.d.ts +1294 -91
- package/dist/vuetify.esm.js +45 -43
- package/dist/vuetify.esm.js.map +1 -1
- package/dist/vuetify.js +45 -43
- package/dist/vuetify.js.map +1 -1
- package/dist/vuetify.min.css +2 -2
- package/dist/vuetify.min.js +38 -38
- package/dist/vuetify.min.js.map +1 -1
- package/lib/components/VBtn/VBtn.sass +3 -1
- package/lib/components/VCarousel/VCarousel.css +0 -1
- package/lib/components/VCarousel/VCarousel.js +1 -0
- package/lib/components/VCarousel/VCarousel.js.map +1 -1
- package/lib/components/VCarousel/VCarousel.sass +0 -1
- package/lib/components/VDatePicker/VDatePickerControls.css +1 -0
- package/lib/components/VDatePicker/VDatePickerControls.sass +1 -0
- package/lib/components/VDatePicker/VDatePickerMonth.css +3 -8
- package/lib/components/VDatePicker/VDatePickerMonth.js +8 -3
- package/lib/components/VDatePicker/VDatePickerMonth.js.map +1 -1
- package/lib/components/VDatePicker/VDatePickerMonth.sass +3 -8
- package/lib/components/VField/VField.js +2 -10
- package/lib/components/VField/VField.js.map +1 -1
- package/lib/components/VList/VList.js +1 -1
- package/lib/components/VList/VList.js.map +1 -1
- package/lib/components/VNumberInput/VNumberInput.js +4 -10
- package/lib/components/VNumberInput/VNumberInput.js.map +1 -1
- package/lib/components/VNumberInput/hold.js +4 -0
- package/lib/components/VNumberInput/hold.js.map +1 -1
- package/lib/components/VTimePicker/VTimePicker.css +1 -6
- package/lib/components/VTimePicker/VTimePicker.sass +1 -6
- package/lib/components/VTimePicker/VTimePickerClock.css +5 -4
- package/lib/components/VTimePicker/VTimePickerClock.sass +5 -4
- package/lib/components/VTimePicker/VTimePickerControls.css +2 -1
- package/lib/components/VTimePicker/VTimePickerControls.sass +2 -3
- package/lib/components/VTreeview/VTreeviewChildren.js +9 -5
- package/lib/components/VTreeview/VTreeviewChildren.js.map +1 -1
- package/lib/components/VTreeview/VTreeviewItem.d.ts +1206 -3
- package/lib/components/VTreeview/VTreeviewItem.js +8 -9
- package/lib/components/VTreeview/VTreeviewItem.js.map +1 -1
- package/lib/composables/calendar.d.ts +2 -0
- package/lib/composables/calendar.js +7 -3
- package/lib/composables/calendar.js.map +1 -1
- package/lib/entry-bundler.js +1 -1
- package/lib/framework.d.ts +62 -62
- package/lib/framework.js +1 -1
- package/lib/labs/VPicker/VPicker.css +4 -0
- package/lib/labs/VPicker/VPicker.sass +4 -0
- package/package.json +1 -1
package/dist/vuetify-labs.esm.js
CHANGED
@@ -1,5 +1,5 @@
|
|
1
1
|
/*!
|
2
|
-
* Vuetify v3.9.0-beta.0-dev.2025-06-
|
2
|
+
* Vuetify v3.9.0-beta.0-dev.2025-06-24
|
3
3
|
* Forged by John Leider
|
4
4
|
* Released under the MIT License.
|
5
5
|
*/
|
@@ -9941,7 +9941,7 @@ function useItems(props) {
|
|
9941
9941
|
function transformItem$2(props, item) {
|
9942
9942
|
const type = getPropertyFromItem(item, props.itemType, 'item');
|
9943
9943
|
const title = isPrimitive(item) ? item : getPropertyFromItem(item, props.itemTitle);
|
9944
|
-
const value = getPropertyFromItem(item, props.itemValue, undefined);
|
9944
|
+
const value = isPrimitive(item) ? item : getPropertyFromItem(item, props.itemValue, undefined);
|
9945
9945
|
const children = getPropertyFromItem(item, props.itemChildren);
|
9946
9946
|
const itemProps = props.itemProps === true ? omit(item, ['children']) : getPropertyFromItem(item, props.itemProps);
|
9947
9947
|
const _props = {
|
@@ -12093,11 +12093,7 @@ const VField = genericComponent()({
|
|
12093
12093
|
default: slots.loader
|
12094
12094
|
}), hasPrepend && createElementVNode("div", {
|
12095
12095
|
"key": "prepend",
|
12096
|
-
"class": "v-field__prepend-inner"
|
12097
|
-
"onMousedown": e => {
|
12098
|
-
e.preventDefault();
|
12099
|
-
e.stopPropagation();
|
12100
|
-
}
|
12096
|
+
"class": "v-field__prepend-inner"
|
12101
12097
|
}, [props.prependInnerIcon && createVNode(InputIcon, {
|
12102
12098
|
"key": "prepend-icon",
|
12103
12099
|
"name": "prependInner",
|
@@ -12166,11 +12162,7 @@ const VField = genericComponent()({
|
|
12166
12162
|
})]), [[vShow, props.dirty]])]
|
12167
12163
|
}), hasAppend && createElementVNode("div", {
|
12168
12164
|
"key": "append",
|
12169
|
-
"class": "v-field__append-inner"
|
12170
|
-
"onMousedown": e => {
|
12171
|
-
e.preventDefault();
|
12172
|
-
e.stopPropagation();
|
12173
|
-
}
|
12165
|
+
"class": "v-field__append-inner"
|
12174
12166
|
}, [slots['append-inner']?.(slotProps.value), props.appendInnerIcon && createVNode(InputIcon, {
|
12175
12167
|
"key": "append-icon",
|
12176
12168
|
"name": "appendInner",
|
@@ -15416,6 +15408,7 @@ const VCarousel = genericComponent()({
|
|
15416
15408
|
}) : createVNode(VBtn, mergeProps(item, props), null);
|
15417
15409
|
})]
|
15418
15410
|
})]), props.progress && createVNode(VProgressLinear, {
|
15411
|
+
"absolute": true,
|
15419
15412
|
"class": "v-carousel__progress",
|
15420
15413
|
"color": typeof props.progress === 'string' ? props.progress : undefined,
|
15421
15414
|
"modelValue": (group.getItemIndex(model.value) + 1) / group.items.value.length * 100
|
@@ -22330,8 +22323,11 @@ function useCalendar(props) {
|
|
22330
22323
|
}, v => adapter.getMonth(v));
|
22331
22324
|
const weekDays = computed(() => {
|
22332
22325
|
const firstDayOfWeek = adapter.toJsDate(adapter.startOfWeek(adapter.date(), props.firstDayOfWeek)).getDay();
|
22333
|
-
|
22334
|
-
|
22326
|
+
return props.weekdays.map(day => (day + firstDayOfWeek) % 7);
|
22327
|
+
});
|
22328
|
+
const weekdayLabels = computed(() => {
|
22329
|
+
const labels = adapter.getWeekdays(props.firstDayOfWeek, props.weekdayFormat);
|
22330
|
+
return weekDays.value.map(day => labels[day]);
|
22335
22331
|
});
|
22336
22332
|
const weeksInMonth = computed(() => {
|
22337
22333
|
const weeks = adapter.getWeekArray(month.value, props.firstDayOfWeek);
|
@@ -22412,7 +22408,7 @@ function useCalendar(props) {
|
|
22412
22408
|
if (typeof props.allowedDates === 'function') {
|
22413
22409
|
return !props.allowedDates(date);
|
22414
22410
|
}
|
22415
|
-
return
|
22411
|
+
return false;
|
22416
22412
|
}
|
22417
22413
|
return {
|
22418
22414
|
displayValue,
|
@@ -22422,6 +22418,7 @@ function useCalendar(props) {
|
|
22422
22418
|
model,
|
22423
22419
|
weeksInMonth,
|
22424
22420
|
weekDays,
|
22421
|
+
weekdayLabels,
|
22425
22422
|
weekNumbers
|
22426
22423
|
};
|
22427
22424
|
}
|
@@ -22460,7 +22457,9 @@ const VDatePickerMonth = genericComponent()({
|
|
22460
22457
|
const {
|
22461
22458
|
daysInMonth,
|
22462
22459
|
model,
|
22463
|
-
weekNumbers
|
22460
|
+
weekNumbers,
|
22461
|
+
weekDays,
|
22462
|
+
weekdayLabels
|
22464
22463
|
} = useCalendar(props);
|
22465
22464
|
const adapter = useDate();
|
22466
22465
|
const rangeStart = shallowRef();
|
@@ -22532,7 +22531,10 @@ const VDatePickerMonth = genericComponent()({
|
|
22532
22531
|
}
|
22533
22532
|
}
|
22534
22533
|
useRender(() => createElementVNode("div", {
|
22535
|
-
"class": "v-date-picker-month"
|
22534
|
+
"class": "v-date-picker-month",
|
22535
|
+
"style": {
|
22536
|
+
'--v-date-picker-days-in-week': weekDays.value.length
|
22537
|
+
}
|
22536
22538
|
}, [props.showWeek && createElementVNode("div", {
|
22537
22539
|
"key": "weeks",
|
22538
22540
|
"class": "v-date-picker-month__weeks"
|
@@ -22548,7 +22550,7 @@ const VDatePickerMonth = genericComponent()({
|
|
22548
22550
|
"ref": daysRef,
|
22549
22551
|
"key": daysInMonth.value[0].date?.toString(),
|
22550
22552
|
"class": "v-date-picker-month__days"
|
22551
|
-
}, [!props.hideWeekdays &&
|
22553
|
+
}, [!props.hideWeekdays && weekdayLabels.value.map(weekDay => createElementVNode("div", {
|
22552
22554
|
"class": normalizeClass(['v-date-picker-month__day', 'v-date-picker-month__weekday'])
|
22553
22555
|
}, [weekDay])), daysInMonth.value.map((item, i) => {
|
22554
22556
|
const slotProps = {
|
@@ -25228,6 +25230,8 @@ function useHold(_ref) {
|
|
25228
25230
|
function holdStart(value) {
|
25229
25231
|
holdStop();
|
25230
25232
|
tick(value);
|
25233
|
+
window.addEventListener('pointerup', holdStop);
|
25234
|
+
document.addEventListener('blur', holdStop);
|
25231
25235
|
timeout = window.setTimeout(() => {
|
25232
25236
|
interval = window.setInterval(() => tick(value), HOLD_REPEAT);
|
25233
25237
|
}, HOLD_DELAY);
|
@@ -25235,6 +25239,8 @@ function useHold(_ref) {
|
|
25235
25239
|
function holdStop() {
|
25236
25240
|
window.clearTimeout(timeout);
|
25237
25241
|
window.clearInterval(interval);
|
25242
|
+
window.removeEventListener('pointerup', holdStop);
|
25243
|
+
document.removeEventListener('blur', holdStop);
|
25238
25244
|
}
|
25239
25245
|
function tick(value) {
|
25240
25246
|
toggleUpDown(value === 'up');
|
@@ -25370,7 +25376,7 @@ const VNumberInput = genericComponent()({
|
|
25370
25376
|
onClick: onControlClick,
|
25371
25377
|
onPointerup: onControlMouseup,
|
25372
25378
|
onPointerdown: onUpControlMousedown,
|
25373
|
-
onPointercancel:
|
25379
|
+
onPointercancel: onControlMouseup
|
25374
25380
|
}
|
25375
25381
|
};
|
25376
25382
|
const decrementSlotProps = {
|
@@ -25378,7 +25384,7 @@ const VNumberInput = genericComponent()({
|
|
25378
25384
|
onClick: onControlClick,
|
25379
25385
|
onPointerup: onControlMouseup,
|
25380
25386
|
onPointerdown: onDownControlMousedown,
|
25381
|
-
onPointercancel:
|
25387
|
+
onPointercancel: onControlMouseup
|
25382
25388
|
}
|
25383
25389
|
};
|
25384
25390
|
watch(() => props.precision, () => formatInputValue());
|
@@ -25459,7 +25465,6 @@ const VNumberInput = genericComponent()({
|
|
25459
25465
|
const el = e.currentTarget;
|
25460
25466
|
el?.releasePointerCapture(e.pointerId);
|
25461
25467
|
e.preventDefault();
|
25462
|
-
e.stopPropagation();
|
25463
25468
|
holdStop();
|
25464
25469
|
}
|
25465
25470
|
function onUpControlMousedown(e) {
|
@@ -25476,11 +25481,6 @@ const VNumberInput = genericComponent()({
|
|
25476
25481
|
e.stopPropagation();
|
25477
25482
|
holdStart('down');
|
25478
25483
|
}
|
25479
|
-
function onControlPointerCancel(e) {
|
25480
|
-
const el = e.currentTarget;
|
25481
|
-
el?.releasePointerCapture(e.pointerId);
|
25482
|
-
holdStop();
|
25483
|
-
}
|
25484
25484
|
function clampModel() {
|
25485
25485
|
if (controlsDisabled.value) return;
|
25486
25486
|
if (!vTextFieldRef.value) return;
|
@@ -25527,7 +25527,7 @@ const VNumberInput = genericComponent()({
|
|
25527
25527
|
"onClick": onControlClick,
|
25528
25528
|
"onPointerdown": onUpControlMousedown,
|
25529
25529
|
"onPointerup": onControlMouseup,
|
25530
|
-
"onPointercancel":
|
25530
|
+
"onPointercancel": onControlMouseup,
|
25531
25531
|
"size": controlNodeSize.value,
|
25532
25532
|
"tabindex": "-1"
|
25533
25533
|
}, null) : createVNode(VDefaultsProvider, {
|
@@ -25557,7 +25557,7 @@ const VNumberInput = genericComponent()({
|
|
25557
25557
|
"onClick": onControlClick,
|
25558
25558
|
"onPointerdown": onDownControlMousedown,
|
25559
25559
|
"onPointerup": onControlMouseup,
|
25560
|
-
"onPointercancel":
|
25560
|
+
"onPointercancel": onControlMouseup,
|
25561
25561
|
"size": controlNodeSize.value,
|
25562
25562
|
"tabindex": "-1"
|
25563
25563
|
}, null) : createVNode(VDefaultsProvider, {
|
@@ -29778,7 +29778,7 @@ const VTreeviewItem = genericComponent()({
|
|
29778
29778
|
...slots,
|
29779
29779
|
prepend: hasPrepend ? slotProps => {
|
29780
29780
|
return createElementVNode(Fragment, null, [createVNode(VListItemAction, {
|
29781
|
-
"start":
|
29781
|
+
"start": true
|
29782
29782
|
}, {
|
29783
29783
|
default: () => [props.toggleIcon ? createVNode(VBtn, {
|
29784
29784
|
"density": "compact",
|
@@ -29787,13 +29787,11 @@ const VTreeviewItem = genericComponent()({
|
|
29787
29787
|
"variant": "text",
|
29788
29788
|
"onClick": onClickAction
|
29789
29789
|
}, {
|
29790
|
-
loader() {
|
29791
|
-
|
29792
|
-
|
29793
|
-
|
29794
|
-
|
29795
|
-
}, null);
|
29796
|
-
}
|
29790
|
+
loader: () => createVNode(VProgressCircular, {
|
29791
|
+
"indeterminate": "disable-shrink",
|
29792
|
+
"size": "20",
|
29793
|
+
"width": "2"
|
29794
|
+
}, null)
|
29797
29795
|
}) : createElementVNode("div", {
|
29798
29796
|
"class": "v-treeview-item__level"
|
29799
29797
|
}, null)]
|
@@ -29801,7 +29799,7 @@ const VTreeviewItem = genericComponent()({
|
|
29801
29799
|
} : undefined
|
29802
29800
|
});
|
29803
29801
|
});
|
29804
|
-
return {};
|
29802
|
+
return forwardRefs({}, vListItemRef);
|
29805
29803
|
}
|
29806
29804
|
});
|
29807
29805
|
|
@@ -29844,6 +29842,7 @@ const VTreeviewChildren = genericComponent()({
|
|
29844
29842
|
slots
|
29845
29843
|
} = _ref;
|
29846
29844
|
const isLoading = reactive(new Set());
|
29845
|
+
const activatorItems = ref([]);
|
29847
29846
|
const isClickOnOpen = computed(() => !props.disabled && (props.openOnClick != null ? props.openOnClick : props.selectable));
|
29848
29847
|
async function checkChildren(item) {
|
29849
29848
|
try {
|
@@ -29858,7 +29857,7 @@ const VTreeviewChildren = genericComponent()({
|
|
29858
29857
|
}
|
29859
29858
|
function selectItem(select, isSelected) {
|
29860
29859
|
if (props.selectable) {
|
29861
|
-
select(
|
29860
|
+
select(isSelected);
|
29862
29861
|
}
|
29863
29862
|
}
|
29864
29863
|
return () => slots.default?.() ?? props.items?.map((item, index) => {
|
@@ -29886,7 +29885,8 @@ const VTreeviewChildren = genericComponent()({
|
|
29886
29885
|
"indeterminateIcon": props.indeterminateIcon,
|
29887
29886
|
"falseIcon": props.falseIcon,
|
29888
29887
|
"trueIcon": props.trueIcon,
|
29889
|
-
"
|
29888
|
+
"onUpdate:modelValue": v => selectItem(slotProps.select, v),
|
29889
|
+
"onClick": e => e.stopPropagation(),
|
29890
29890
|
"onKeydown": e => {
|
29891
29891
|
if (!['Enter', 'Space'].includes(e.key)) return;
|
29892
29892
|
e.stopPropagation();
|
@@ -29933,9 +29933,11 @@ const VTreeviewChildren = genericComponent()({
|
|
29933
29933
|
...activatorProps,
|
29934
29934
|
value: itemProps?.value,
|
29935
29935
|
onToggleExpand: [() => checkChildren(item), activatorProps.onClick],
|
29936
|
-
onClick: isClickOnOpen.value ? [() => checkChildren(item), activatorProps.onClick] :
|
29936
|
+
onClick: isClickOnOpen.value ? [() => checkChildren(item), activatorProps.onClick] : () => selectItem(activatorItems.value[index]?.select, !activatorItems.value[index]?.isSelected)
|
29937
29937
|
};
|
29938
|
-
return createVNode(VTreeviewItem, mergeProps(
|
29938
|
+
return createVNode(VTreeviewItem, mergeProps({
|
29939
|
+
"ref": el => activatorItems.value[index] = el
|
29940
|
+
}, listItemProps, {
|
29939
29941
|
"value": props.returnObject ? item.raw : itemProps.value,
|
29940
29942
|
"loading": loading
|
29941
29943
|
}), slotsWithItem);
|
@@ -32786,7 +32788,7 @@ function createVuetify$1() {
|
|
32786
32788
|
};
|
32787
32789
|
});
|
32788
32790
|
}
|
32789
|
-
const version$1 = "3.9.0-beta.0-dev.2025-06-
|
32791
|
+
const version$1 = "3.9.0-beta.0-dev.2025-06-24";
|
32790
32792
|
createVuetify$1.version = version$1;
|
32791
32793
|
|
32792
32794
|
// Vue's inject() can only be used in setup
|
@@ -33084,7 +33086,7 @@ var index = /*#__PURE__*/Object.freeze({
|
|
33084
33086
|
|
33085
33087
|
/* eslint-disable local-rules/sort-imports */
|
33086
33088
|
|
33087
|
-
const version = "3.9.0-beta.0-dev.2025-06-
|
33089
|
+
const version = "3.9.0-beta.0-dev.2025-06-24";
|
33088
33090
|
|
33089
33091
|
/* eslint-disable local-rules/sort-imports */
|
33090
33092
|
|