@vuetify/nightly 3.9.3-master.2025-08-04 → 3.9.3-master.2025-08-05
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 +3 -6
- package/dist/json/attributes.json +3560 -3576
- package/dist/json/importMap-labs.json +32 -32
- package/dist/json/importMap.json +148 -148
- package/dist/json/tags.json +0 -4
- package/dist/json/web-types.json +6481 -6609
- package/dist/vuetify-labs.cjs +19 -63
- package/dist/vuetify-labs.css +3946 -3946
- package/dist/vuetify-labs.d.ts +69 -148
- package/dist/vuetify-labs.esm.js +19 -63
- package/dist/vuetify-labs.esm.js.map +1 -1
- package/dist/vuetify-labs.js +19 -63
- package/dist/vuetify-labs.min.css +2 -2
- package/dist/vuetify.cjs +19 -63
- package/dist/vuetify.cjs.map +1 -1
- package/dist/vuetify.css +5211 -5211
- package/dist/vuetify.d.ts +69 -120
- package/dist/vuetify.esm.js +19 -63
- package/dist/vuetify.esm.js.map +1 -1
- package/dist/vuetify.js +19 -63
- package/dist/vuetify.js.map +1 -1
- package/dist/vuetify.min.css +2 -2
- package/dist/vuetify.min.js +279 -285
- package/dist/vuetify.min.js.map +1 -1
- package/lib/components/VDataIterator/VDataIterator.d.ts +2 -2
- package/lib/components/VDataIterator/VDataIterator.js +1 -1
- package/lib/components/VDataIterator/VDataIterator.js.map +1 -1
- package/lib/components/VDataTable/VDataTable.d.ts +4 -6
- package/lib/components/VDataTable/VDataTable.js +1 -1
- package/lib/components/VDataTable/VDataTable.js.map +1 -1
- package/lib/components/VDataTable/VDataTableRows.d.ts +11 -14
- package/lib/components/VDataTable/VDataTableRows.js +0 -9
- package/lib/components/VDataTable/VDataTableRows.js.map +1 -1
- package/lib/components/VDataTable/VDataTableServer.d.ts +2 -4
- package/lib/components/VDataTable/VDataTableServer.js +1 -1
- package/lib/components/VDataTable/VDataTableServer.js.map +1 -1
- package/lib/components/VDataTable/VDataTableVirtual.d.ts +2 -4
- package/lib/components/VDataTable/VDataTableVirtual.js +1 -1
- package/lib/components/VDataTable/VDataTableVirtual.js.map +1 -1
- package/lib/components/VDataTable/composables/group.d.ts +5 -13
- package/lib/components/VDataTable/composables/group.js +5 -11
- package/lib/components/VDataTable/composables/group.js.map +1 -1
- package/lib/components/VDataTable/composables/paginate.d.ts +3 -3
- package/lib/components/VDataTable/composables/paginate.js.map +1 -1
- package/lib/components/VDataTable/types.d.ts +1 -7
- package/lib/components/VDataTable/types.js.map +1 -1
- package/lib/components/VDatePicker/VDatePicker.d.ts +0 -25
- package/lib/components/VDatePicker/VDatePickerMonth.d.ts +0 -25
- package/lib/components/VTreeview/VTreeviewChildren.d.ts +2 -20
- package/lib/components/VTreeview/VTreeviewChildren.js +2 -7
- package/lib/components/VTreeview/VTreeviewChildren.js.map +1 -1
- package/lib/composables/calendar.d.ts +0 -12
- package/lib/composables/calendar.js +1 -5
- package/lib/composables/calendar.js.map +1 -1
- package/lib/composables/date/DateAdapter.d.ts +1 -1
- package/lib/composables/date/DateAdapter.js.map +1 -1
- package/lib/composables/date/adapters/string.d.ts +1 -1
- package/lib/composables/date/adapters/string.js +2 -2
- package/lib/composables/date/adapters/string.js.map +1 -1
- package/lib/composables/date/adapters/vuetify.d.ts +1 -1
- package/lib/composables/date/adapters/vuetify.js +5 -25
- package/lib/composables/date/adapters/vuetify.js.map +1 -1
- package/lib/composables/date/date.d.ts +1 -1
- package/lib/entry-bundler.d.ts +1 -1
- package/lib/entry-bundler.js +1 -1
- package/lib/framework.d.ts +54 -54
- package/lib/framework.js +1 -1
- package/lib/labs/VCalendar/VCalendar.d.ts +0 -25
- package/lib/labs/VDateInput/VDateInput.d.ts +0 -25
- package/lib/labs/entry-bundler.d.ts +1 -1
- package/package.json +1 -1
package/dist/vuetify.esm.js
CHANGED
@@ -1,5 +1,5 @@
|
|
1
1
|
/*!
|
2
|
-
* Vuetify v3.9.3-master.2025-08-
|
2
|
+
* Vuetify v3.9.3-master.2025-08-05
|
3
3
|
* Forged by John Leider
|
4
4
|
* Released under the MIT License.
|
5
5
|
*/
|
@@ -18201,35 +18201,16 @@ function getYear(date) {
|
|
18201
18201
|
function getMonth(date) {
|
18202
18202
|
return date.getMonth();
|
18203
18203
|
}
|
18204
|
-
function getWeek(date, locale, firstDayOfWeek,
|
18204
|
+
function getWeek(date, locale, firstDayOfWeek, firstWeekMinSize) {
|
18205
18205
|
const weekInfoFromLocale = weekInfo(locale);
|
18206
18206
|
const weekStart = firstDayOfWeek ?? weekInfoFromLocale?.firstDay ?? 0;
|
18207
|
-
const minWeekSize = weekInfoFromLocale?.firstWeekSize ?? 1;
|
18208
|
-
return firstDayOfYear !== undefined ? calculateWeekWithFirstDayOfYear(date, locale, weekStart, firstDayOfYear) : calculateWeekWithMinWeekSize(date, locale, weekStart, minWeekSize);
|
18209
|
-
}
|
18210
|
-
function calculateWeekWithFirstDayOfYear(date, locale, weekStart, firstDayOfYear) {
|
18211
|
-
const firstDayOfYearOffset = (7 + firstDayOfYear - weekStart) % 7;
|
18212
|
-
const currentWeekStart = startOfWeek(date, locale, weekStart);
|
18213
|
-
const currentWeekEnd = addDays(currentWeekStart, 6);
|
18214
|
-
function yearStartWeekdayOffset(year) {
|
18215
|
-
return (7 + new Date(year, 0, 1).getDay() - weekStart) % 7;
|
18216
|
-
}
|
18217
|
-
let year = getYear(date);
|
18218
|
-
if (year < getYear(currentWeekEnd) && yearStartWeekdayOffset(year + 1) <= firstDayOfYearOffset) {
|
18219
|
-
year++;
|
18220
|
-
}
|
18221
|
-
const yearStart = new Date(year, 0, 1);
|
18222
|
-
const offset = yearStartWeekdayOffset(year);
|
18223
|
-
const d1w1 = offset <= firstDayOfYearOffset ? addDays(yearStart, -offset) : addDays(yearStart, 7 - offset);
|
18224
|
-
return 1 + getDiff(endOfDay(date), startOfDay(d1w1), 'weeks');
|
18225
|
-
}
|
18226
|
-
function calculateWeekWithMinWeekSize(date, locale, weekStart, minWeekSize) {
|
18227
|
-
const currentWeekEnd = addDays(startOfWeek(date, locale, weekStart), 6);
|
18207
|
+
const minWeekSize = firstWeekMinSize ?? weekInfoFromLocale?.firstWeekSize ?? 1;
|
18228
18208
|
function firstWeekSize(year) {
|
18229
18209
|
const yearStart = new Date(year, 0, 1);
|
18230
18210
|
return 7 - getDiff(yearStart, startOfWeek(yearStart, locale, weekStart), 'days');
|
18231
18211
|
}
|
18232
18212
|
let year = getYear(date);
|
18213
|
+
const currentWeekEnd = addDays(startOfWeek(date, locale, weekStart), 6);
|
18233
18214
|
if (year < getYear(currentWeekEnd) && firstWeekSize(year + 1) >= minWeekSize) {
|
18234
18215
|
year++;
|
18235
18216
|
}
|
@@ -18451,10 +18432,9 @@ class VuetifyDateAdapter {
|
|
18451
18432
|
getMonth(date) {
|
18452
18433
|
return getMonth(date);
|
18453
18434
|
}
|
18454
|
-
getWeek(date, firstDayOfWeek,
|
18435
|
+
getWeek(date, firstDayOfWeek, firstWeekMinSize) {
|
18455
18436
|
const firstDay = firstDayOfWeek !== undefined ? Number(firstDayOfWeek) : undefined;
|
18456
|
-
|
18457
|
-
return getWeek(date, this.locale, firstDay, firstWeekStart);
|
18437
|
+
return getWeek(date, this.locale, firstDay, firstWeekMinSize);
|
18458
18438
|
}
|
18459
18439
|
getDate(date) {
|
18460
18440
|
return getDate(date);
|
@@ -19822,7 +19802,7 @@ function groupItems(items, groupBy) {
|
|
19822
19802
|
});
|
19823
19803
|
return groups;
|
19824
19804
|
}
|
19825
|
-
function flattenItems(items, opened
|
19805
|
+
function flattenItems(items, opened) {
|
19826
19806
|
const flatItems = [];
|
19827
19807
|
for (const item of items) {
|
19828
19808
|
// TODO: make this better
|
@@ -19831,13 +19811,7 @@ function flattenItems(items, opened, hasSummary) {
|
|
19831
19811
|
flatItems.push(item);
|
19832
19812
|
}
|
19833
19813
|
if (opened.has(item.id) || item.value == null) {
|
19834
|
-
flatItems.push(...flattenItems(item.items, opened
|
19835
|
-
if (hasSummary) {
|
19836
|
-
flatItems.push({
|
19837
|
-
...item,
|
19838
|
-
type: 'group-summary'
|
19839
|
-
});
|
19840
|
-
}
|
19814
|
+
flatItems.push(...flattenItems(item.items, opened));
|
19841
19815
|
}
|
19842
19816
|
} else {
|
19843
19817
|
flatItems.push(item);
|
@@ -19845,11 +19819,11 @@ function flattenItems(items, opened, hasSummary) {
|
|
19845
19819
|
}
|
19846
19820
|
return flatItems;
|
19847
19821
|
}
|
19848
|
-
function useGroupedItems(items, groupBy, opened
|
19822
|
+
function useGroupedItems(items, groupBy, opened) {
|
19849
19823
|
const flatItems = computed(() => {
|
19850
19824
|
if (!groupBy.value.length) return items.value;
|
19851
19825
|
const groupedItems = groupItems(items.value, groupBy.value.map(item => item.key));
|
19852
|
-
return flattenItems(groupedItems, opened.value
|
19826
|
+
return flattenItems(groupedItems, opened.value);
|
19853
19827
|
});
|
19854
19828
|
return {
|
19855
19829
|
flatItems
|
@@ -20467,7 +20441,7 @@ const VDataIterator = genericComponent()({
|
|
20467
20441
|
});
|
20468
20442
|
const {
|
20469
20443
|
flatItems
|
20470
|
-
} = useGroupedItems(sortedItems, groupBy, opened
|
20444
|
+
} = useGroupedItems(sortedItems, groupBy, opened);
|
20471
20445
|
const itemsLength = toRef(() => flatItems.value.length);
|
20472
20446
|
const {
|
20473
20447
|
startIndex,
|
@@ -21918,15 +21892,6 @@ const VDataTableRows = genericComponent()({
|
|
21918
21892
|
"item": item
|
21919
21893
|
}, getPrefixedEventHandlers(attrs, ':group-header', () => slotProps)), slots);
|
21920
21894
|
}
|
21921
|
-
if (item.type === 'group-summary') {
|
21922
|
-
const slotProps = {
|
21923
|
-
index,
|
21924
|
-
item,
|
21925
|
-
columns: columns.value,
|
21926
|
-
toggleGroup
|
21927
|
-
};
|
21928
|
-
return slots['group-summary']?.(slotProps) ?? '';
|
21929
|
-
}
|
21930
21895
|
const slotProps = {
|
21931
21896
|
index,
|
21932
21897
|
item: item.raw,
|
@@ -22185,7 +22150,7 @@ const VDataTable = genericComponent()({
|
|
22185
22150
|
});
|
22186
22151
|
const {
|
22187
22152
|
flatItems
|
22188
|
-
} = useGroupedItems(sortedItems, groupBy, opened
|
22153
|
+
} = useGroupedItems(sortedItems, groupBy, opened);
|
22189
22154
|
const itemsLength = computed(() => flatItems.value.length);
|
22190
22155
|
const {
|
22191
22156
|
startIndex,
|
@@ -22373,7 +22338,7 @@ const VDataTableVirtual = genericComponent()({
|
|
22373
22338
|
});
|
22374
22339
|
const {
|
22375
22340
|
flatItems
|
22376
|
-
} = useGroupedItems(sortedItems, groupBy, opened
|
22341
|
+
} = useGroupedItems(sortedItems, groupBy, opened);
|
22377
22342
|
const allItems = computed(() => extractRows(flatItems.value));
|
22378
22343
|
const {
|
22379
22344
|
isSelected,
|
@@ -22602,7 +22567,7 @@ const VDataTableServer = genericComponent()({
|
|
22602
22567
|
});
|
22603
22568
|
const {
|
22604
22569
|
flatItems
|
22605
|
-
} = useGroupedItems(items, groupBy, opened
|
22570
|
+
} = useGroupedItems(items, groupBy, opened);
|
22606
22571
|
const {
|
22607
22572
|
isSelected,
|
22608
22573
|
select,
|
@@ -23194,10 +23159,6 @@ const makeCalendarProps = propsFactory({
|
|
23194
23159
|
type: [Number, String],
|
23195
23160
|
default: undefined
|
23196
23161
|
},
|
23197
|
-
firstDayOfYear: {
|
23198
|
-
type: [Number, String],
|
23199
|
-
default: undefined
|
23200
|
-
},
|
23201
23162
|
weekdayFormat: String
|
23202
23163
|
}, 'calendar');
|
23203
23164
|
function useCalendar(props) {
|
@@ -23289,7 +23250,7 @@ function useCalendar(props) {
|
|
23289
23250
|
});
|
23290
23251
|
const weekNumbers = computed(() => {
|
23291
23252
|
return weeksInMonth.value.map(week => {
|
23292
|
-
return week.length ? adapter.getWeek(week[0], props.firstDayOfWeek
|
23253
|
+
return week.length ? adapter.getWeek(week[0], props.firstDayOfWeek) : null;
|
23293
23254
|
});
|
23294
23255
|
});
|
23295
23256
|
function isDisabled(value) {
|
@@ -30880,19 +30841,14 @@ const VTreeviewChildren = genericComponent()({
|
|
30880
30841
|
onToggleExpand: [() => checkChildren(item), activatorProps.onClick],
|
30881
30842
|
onClick: isClickOnOpen.value ? [() => checkChildren(item), activatorProps.onClick] : () => selectItem(activatorItems.value[index]?.select, !activatorItems.value[index]?.isSelected)
|
30882
30843
|
};
|
30883
|
-
return
|
30884
|
-
props: listItemProps,
|
30885
|
-
item: item.raw,
|
30886
|
-
internalItem: item,
|
30887
|
-
loading
|
30888
|
-
}, () => createVNode(VTreeviewItem, mergeProps({
|
30844
|
+
return createVNode(VTreeviewItem, mergeProps({
|
30889
30845
|
"ref": el => activatorItems.value[index] = el
|
30890
30846
|
}, listItemProps, {
|
30891
30847
|
"hideActions": props.hideActions,
|
30892
30848
|
"indentLines": indentLines.node,
|
30893
30849
|
"value": props.returnObject ? item.raw : itemProps.value,
|
30894
30850
|
"loading": loading
|
30895
|
-
}), slotsWithItem)
|
30851
|
+
}), slotsWithItem);
|
30896
30852
|
},
|
30897
30853
|
default: () => createVNode(VTreeviewChildren, mergeProps(treeviewChildrenProps, {
|
30898
30854
|
"items": children,
|
@@ -31583,7 +31539,7 @@ function createVuetify$1() {
|
|
31583
31539
|
};
|
31584
31540
|
});
|
31585
31541
|
}
|
31586
|
-
const version$1 = "3.9.3-master.2025-08-
|
31542
|
+
const version$1 = "3.9.3-master.2025-08-05";
|
31587
31543
|
createVuetify$1.version = version$1;
|
31588
31544
|
|
31589
31545
|
// Vue's inject() can only be used in setup
|
@@ -31608,7 +31564,7 @@ const createVuetify = function () {
|
|
31608
31564
|
...options
|
31609
31565
|
});
|
31610
31566
|
};
|
31611
|
-
const version = "3.9.3-master.2025-08-
|
31567
|
+
const version = "3.9.3-master.2025-08-05";
|
31612
31568
|
createVuetify.version = version;
|
31613
31569
|
|
31614
31570
|
export { index as blueprints, components, createVuetify, directives, useDate, useDefaults, useDisplay, useGoTo, useHotkey, useLayout, useLocale, useRtl, useTheme, version };
|