@vuetify/nightly 3.8.11-master.2025-06-30 → 3.8.12-master.2025-07-03
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 +5 -12
- package/dist/json/attributes.json +2240 -2240
- package/dist/json/importMap-labs.json +22 -22
- package/dist/json/importMap.json +130 -130
- package/dist/json/web-types.json +4056 -4056
- package/dist/vuetify-labs.cjs +37 -39
- package/dist/vuetify-labs.css +3621 -3621
- package/dist/vuetify-labs.d.ts +48 -48
- package/dist/vuetify-labs.esm.js +37 -39
- package/dist/vuetify-labs.esm.js.map +1 -1
- package/dist/vuetify-labs.js +37 -39
- package/dist/vuetify-labs.min.css +2 -2
- package/dist/vuetify.cjs +28 -30
- package/dist/vuetify.cjs.map +1 -1
- package/dist/vuetify.css +3623 -3623
- package/dist/vuetify.d.ts +48 -48
- package/dist/vuetify.esm.js +28 -30
- package/dist/vuetify.esm.js.map +1 -1
- package/dist/vuetify.js +28 -30
- package/dist/vuetify.js.map +1 -1
- package/dist/vuetify.min.css +2 -2
- package/dist/vuetify.min.js +30 -30
- package/dist/vuetify.min.js.map +1 -1
- package/lib/components/VDatePicker/VDatePicker.js +2 -1
- package/lib/components/VDatePicker/VDatePicker.js.map +1 -1
- package/lib/components/VDatePicker/VDatePickerMonth.js +1 -2
- package/lib/components/VDatePicker/VDatePickerMonth.js.map +1 -1
- package/lib/components/VOtpInput/VOtpInput.js +17 -14
- package/lib/components/VOtpInput/VOtpInput.js.map +1 -1
- package/lib/composables/calendar.d.ts +0 -1
- package/lib/composables/calendar.js +6 -10
- package/lib/composables/calendar.js.map +1 -1
- package/lib/composables/date/adapters/vuetify.js +1 -1
- package/lib/composables/date/adapters/vuetify.js.map +1 -1
- package/lib/entry-bundler.js +1 -1
- package/lib/framework.d.ts +48 -48
- package/lib/framework.js +1 -1
- package/lib/labs/VCalendar/VCalendar.js +9 -9
- package/lib/labs/VCalendar/VCalendar.js.map +1 -1
- package/package.json +1 -1
package/dist/vuetify.js
CHANGED
@@ -1,5 +1,5 @@
|
|
1
1
|
/*!
|
2
|
-
* Vuetify v3.8.
|
2
|
+
* Vuetify v3.8.12-master.2025-07-03
|
3
3
|
* Forged by John Leider
|
4
4
|
* Released under the MIT License.
|
5
5
|
*/
|
@@ -17582,7 +17582,7 @@
|
|
17582
17582
|
case 'fullDate':
|
17583
17583
|
options = {
|
17584
17584
|
year: 'numeric',
|
17585
|
-
month: '
|
17585
|
+
month: 'short',
|
17586
17586
|
day: 'numeric'
|
17587
17587
|
};
|
17588
17588
|
break;
|
@@ -22378,13 +22378,9 @@
|
|
22378
22378
|
const date = adapter.setYear(adapter.startOfMonth(adapter.date()), adapter.getYear(year.value));
|
22379
22379
|
return adapter.setMonth(date, value);
|
22380
22380
|
}, v => adapter.getMonth(v));
|
22381
|
-
const weekDays = vue.computed(() => {
|
22382
|
-
const firstDayOfWeek = adapter.toJsDate(adapter.startOfWeek(adapter.date(), props.firstDayOfWeek)).getDay();
|
22383
|
-
return props.weekdays.map(day => (day + firstDayOfWeek) % 7);
|
22384
|
-
});
|
22385
22381
|
const weekdayLabels = vue.computed(() => {
|
22386
|
-
const
|
22387
|
-
return
|
22382
|
+
const firstDayOfWeek = adapter.toJsDate(adapter.startOfWeek(adapter.date(), props.firstDayOfWeek)).getDay();
|
22383
|
+
return adapter.getWeekdays(props.firstDayOfWeek).filter((_, i) => props.weekdays.includes((i + firstDayOfWeek) % 7));
|
22388
22384
|
});
|
22389
22385
|
const weeksInMonth = vue.computed(() => {
|
22390
22386
|
const weeks = adapter.getWeekArray(month.value, props.firstDayOfWeek);
|
@@ -22408,13 +22404,14 @@
|
|
22408
22404
|
});
|
22409
22405
|
function genDays(days, today) {
|
22410
22406
|
return days.filter(date => {
|
22411
|
-
return
|
22407
|
+
return props.weekdays.includes(adapter.toJsDate(date).getDay());
|
22412
22408
|
}).map((date, index) => {
|
22413
22409
|
const isoDate = adapter.toISO(date);
|
22414
22410
|
const isAdjacent = !adapter.isSameMonth(date, month.value);
|
22415
22411
|
const isStart = adapter.isSameDay(date, adapter.startOfMonth(month.value));
|
22416
22412
|
const isEnd = adapter.isSameDay(date, adapter.endOfMonth(month.value));
|
22417
22413
|
const isSame = adapter.isSameDay(date, month.value);
|
22414
|
+
const weekdaysCount = props.weekdays.length;
|
22418
22415
|
return {
|
22419
22416
|
date,
|
22420
22417
|
formatted: adapter.format(date, 'keyboardDate'),
|
@@ -22426,8 +22423,8 @@
|
|
22426
22423
|
isSelected: model.value.some(value => adapter.isSameDay(date, value)),
|
22427
22424
|
isStart,
|
22428
22425
|
isToday: adapter.isSameDay(date, today),
|
22429
|
-
isWeekEnd: index %
|
22430
|
-
isWeekStart: index %
|
22426
|
+
isWeekEnd: index % weekdaysCount === weekdaysCount - 1,
|
22427
|
+
isWeekStart: index % weekdaysCount === 0,
|
22431
22428
|
isoDate,
|
22432
22429
|
localized: adapter.format(date, 'dayOfMonth'),
|
22433
22430
|
month: adapter.getMonth(date),
|
@@ -22474,7 +22471,6 @@
|
|
22474
22471
|
genDays,
|
22475
22472
|
model,
|
22476
22473
|
weeksInMonth,
|
22477
|
-
weekDays,
|
22478
22474
|
weekdayLabels,
|
22479
22475
|
weekNumbers
|
22480
22476
|
};
|
@@ -22515,7 +22511,6 @@
|
|
22515
22511
|
daysInMonth,
|
22516
22512
|
model,
|
22517
22513
|
weekNumbers,
|
22518
|
-
weekDays,
|
22519
22514
|
weekdayLabels
|
22520
22515
|
} = useCalendar(props);
|
22521
22516
|
const adapter = useDate();
|
@@ -22590,7 +22585,7 @@
|
|
22590
22585
|
useRender(() => vue.createElementVNode("div", {
|
22591
22586
|
"class": "v-date-picker-month",
|
22592
22587
|
"style": {
|
22593
|
-
'--v-date-picker-days-in-week':
|
22588
|
+
'--v-date-picker-days-in-week': props.weekdays.length
|
22594
22589
|
}
|
22595
22590
|
}, [props.showWeek && vue.createElementVNode("div", {
|
22596
22591
|
"key": "weeks",
|
@@ -22990,7 +22985,8 @@
|
|
22990
22985
|
}
|
22991
22986
|
function allowedMonths(month) {
|
22992
22987
|
if (typeof props.allowedDates === 'function') {
|
22993
|
-
const
|
22988
|
+
const monthTwoDigits = String(month + 1).padStart(2, '0');
|
22989
|
+
const startOfMonth = adapter.parseISO(`${year.value}-${monthTwoDigits}-01`);
|
22994
22990
|
return isAllowedInRange(startOfMonth, adapter.endOfMonth(startOfMonth));
|
22995
22991
|
}
|
22996
22992
|
if (Array.isArray(props.allowedDates) && props.allowedDates.length) {
|
@@ -25661,19 +25657,21 @@
|
|
25661
25657
|
const contentRef = vue.ref();
|
25662
25658
|
const inputRef = vue.ref([]);
|
25663
25659
|
const current = vue.computed(() => inputRef.value[focusIndex.value]);
|
25664
|
-
|
25665
|
-
|
25666
|
-
|
25667
|
-
|
25668
|
-
|
25669
|
-
|
25670
|
-
|
25671
|
-
|
25672
|
-
|
25673
|
-
|
25674
|
-
|
25675
|
-
|
25676
|
-
|
25660
|
+
useToggleScope(() => props.autofocus, () => {
|
25661
|
+
const intersectScope = vue.effectScope();
|
25662
|
+
intersectScope.run(() => {
|
25663
|
+
const {
|
25664
|
+
intersectionRef,
|
25665
|
+
isIntersecting
|
25666
|
+
} = useIntersectionObserver();
|
25667
|
+
vue.watchEffect(() => {
|
25668
|
+
intersectionRef.value = inputRef.value[0];
|
25669
|
+
});
|
25670
|
+
vue.watch(isIntersecting, v => {
|
25671
|
+
if (!v) return;
|
25672
|
+
intersectionRef.value?.focus();
|
25673
|
+
intersectScope.stop();
|
25674
|
+
});
|
25677
25675
|
});
|
25678
25676
|
});
|
25679
25677
|
function onInput() {
|
@@ -29512,7 +29510,7 @@
|
|
29512
29510
|
};
|
29513
29511
|
});
|
29514
29512
|
}
|
29515
|
-
const version$1 = "3.8.
|
29513
|
+
const version$1 = "3.8.12-master.2025-07-03";
|
29516
29514
|
createVuetify$1.version = version$1;
|
29517
29515
|
|
29518
29516
|
// Vue's inject() can only be used in setup
|
@@ -29537,7 +29535,7 @@
|
|
29537
29535
|
...options
|
29538
29536
|
});
|
29539
29537
|
};
|
29540
|
-
const version = "3.8.
|
29538
|
+
const version = "3.8.12-master.2025-07-03";
|
29541
29539
|
createVuetify.version = version;
|
29542
29540
|
|
29543
29541
|
exports.blueprints = index;
|