vuetify 3.6.5 → 3.6.7
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 +42 -2
- package/dist/json/importMap-labs.json +20 -20
- package/dist/json/importMap.json +144 -144
- package/dist/json/tags.json +11 -1
- package/dist/json/web-types.json +125 -16
- package/dist/vuetify-labs.css +2509 -2712
- package/dist/vuetify-labs.d.ts +178 -52
- package/dist/vuetify-labs.esm.js +102 -51
- package/dist/vuetify-labs.esm.js.map +1 -1
- package/dist/vuetify-labs.js +102 -51
- package/dist/vuetify-labs.min.css +3 -3
- package/dist/vuetify.css +783 -986
- package/dist/vuetify.d.ts +221 -95
- package/dist/vuetify.esm.js +72 -33
- package/dist/vuetify.esm.js.map +1 -1
- package/dist/vuetify.js +72 -33
- package/dist/vuetify.js.map +1 -1
- package/dist/vuetify.min.css +3 -3
- package/dist/vuetify.min.js +118 -115
- package/dist/vuetify.min.js.map +1 -1
- package/lib/components/VAutocomplete/VAutocomplete.mjs +3 -2
- package/lib/components/VAutocomplete/VAutocomplete.mjs.map +1 -1
- package/lib/components/VBanner/VBanner.mjs +3 -1
- package/lib/components/VBanner/VBanner.mjs.map +1 -1
- package/lib/components/VBanner/index.d.mts +15 -9
- package/lib/components/VBtn/VBtn.css +6 -0
- package/lib/components/VBtn/VBtn.sass +6 -0
- package/lib/components/VChipGroup/index.d.mts +15 -9
- package/lib/components/VCombobox/VCombobox.mjs +4 -3
- package/lib/components/VCombobox/VCombobox.mjs.map +1 -1
- package/lib/components/VConfirmEdit/VConfirmEdit.mjs +8 -0
- package/lib/components/VConfirmEdit/VConfirmEdit.mjs.map +1 -1
- package/lib/components/VConfirmEdit/index.d.mts +24 -3
- package/lib/components/VDataTable/VDataTable.css +4 -0
- package/lib/components/VDataTable/VDataTable.mjs +2 -1
- package/lib/components/VDataTable/VDataTable.mjs.map +1 -1
- package/lib/components/VDataTable/VDataTable.sass +4 -0
- package/lib/components/VDataTable/VDataTableHeaders.mjs +4 -3
- package/lib/components/VDataTable/VDataTableHeaders.mjs.map +1 -1
- package/lib/components/VDataTable/VDataTableServer.mjs +1 -1
- package/lib/components/VDataTable/VDataTableServer.mjs.map +1 -1
- package/lib/components/VDataTable/VDataTableVirtual.mjs +1 -1
- package/lib/components/VDataTable/VDataTableVirtual.mjs.map +1 -1
- package/lib/components/VDataTable/composables/sort.mjs +1 -1
- package/lib/components/VDataTable/composables/sort.mjs.map +1 -1
- package/lib/components/VDataTable/index.d.mts +63 -0
- package/lib/components/VDatePicker/VDatePicker.mjs +2 -1
- package/lib/components/VDatePicker/VDatePicker.mjs.map +1 -1
- package/lib/components/VDatePicker/VDatePickerMonths.mjs +10 -1
- package/lib/components/VDatePicker/VDatePickerMonths.mjs.map +1 -1
- package/lib/components/VDatePicker/index.d.mts +24 -6
- package/lib/components/VDivider/VDivider.css +2 -1
- package/lib/components/VDivider/VDivider.sass +2 -1
- package/lib/components/VField/VField.css +1 -0
- package/lib/components/VField/VField.sass +2 -0
- package/lib/components/VList/VListChildren.mjs +2 -1
- package/lib/components/VList/VListChildren.mjs.map +1 -1
- package/lib/components/VMenu/VMenu.mjs +2 -1
- package/lib/components/VMenu/VMenu.mjs.map +1 -1
- package/lib/components/VSelect/VSelect.mjs +1 -1
- package/lib/components/VSelect/VSelect.mjs.map +1 -1
- package/lib/components/VSlideGroup/VSlideGroup.mjs +3 -1
- package/lib/components/VSlideGroup/VSlideGroup.mjs.map +1 -1
- package/lib/components/VSlideGroup/index.d.mts +15 -9
- package/lib/components/VSwitch/VSwitch.css +44 -0
- package/lib/components/VSwitch/VSwitch.mjs +4 -3
- package/lib/components/VSwitch/VSwitch.mjs.map +1 -1
- package/lib/components/VSwitch/VSwitch.sass +55 -0
- package/lib/components/VTabs/index.d.mts +15 -9
- package/lib/components/index.d.mts +171 -45
- package/lib/composables/defaults.mjs +1 -1
- package/lib/composables/defaults.mjs.map +1 -1
- package/lib/composables/dimensions.mjs +16 -8
- package/lib/composables/dimensions.mjs.map +1 -1
- package/lib/entry-bundler.mjs +1 -1
- package/lib/framework.mjs +1 -1
- package/lib/index.d.mts +50 -50
- package/lib/labs/VCalendar/VCalendar.mjs +2 -2
- package/lib/labs/VCalendar/VCalendar.mjs.map +1 -1
- package/lib/labs/VDateInput/index.d.mts +6 -6
- package/lib/labs/VNumberInput/VNumberInput.mjs +16 -6
- package/lib/labs/VNumberInput/VNumberInput.mjs.map +1 -1
- package/lib/labs/VNumberInput/index.d.mts +1 -1
- package/lib/labs/VTreeview/VTreeviewChildren.mjs +12 -10
- package/lib/labs/VTreeview/VTreeviewChildren.mjs.map +1 -1
- package/lib/labs/components.d.mts +7 -7
- package/lib/locale/de.mjs +4 -4
- package/lib/locale/de.mjs.map +1 -1
- package/lib/locale/fa.mjs +10 -10
- package/lib/locale/fa.mjs.map +1 -1
- package/lib/locale/hu.mjs +18 -18
- package/lib/locale/hu.mjs.map +1 -1
- package/lib/styles/generic/_colors.scss +0 -1
- package/lib/styles/main.css +0 -260
- package/lib/util/helpers.mjs +2 -0
- package/lib/util/helpers.mjs.map +1 -1
- package/package.json +2 -2
package/dist/vuetify.js
CHANGED
|
@@ -1,5 +1,5 @@
|
|
|
1
1
|
/*!
|
|
2
|
-
* Vuetify v3.6.
|
|
2
|
+
* Vuetify v3.6.7
|
|
3
3
|
* Forged by John Leider
|
|
4
4
|
* Released under the MIT License.
|
|
5
5
|
*/
|
|
@@ -318,6 +318,8 @@
|
|
|
318
318
|
if (!vnode || typeof vnode !== 'object') return [];
|
|
319
319
|
if (Array.isArray(vnode)) {
|
|
320
320
|
return vnode.map(child => findChildrenWithProvide(key, child)).flat(1);
|
|
321
|
+
} else if (vnode.suspense) {
|
|
322
|
+
return findChildrenWithProvide(key, vnode.ssContent);
|
|
321
323
|
} else if (Array.isArray(vnode.children)) {
|
|
322
324
|
return vnode.children.map(child => findChildrenWithProvide(key, child)).flat(1);
|
|
323
325
|
} else if (vnode.component) {
|
|
@@ -1315,7 +1317,7 @@
|
|
|
1315
1317
|
if (prop === 'class' || prop === 'style') {
|
|
1316
1318
|
return [componentDefaults.value?.[prop], propValue].filter(v => v != null);
|
|
1317
1319
|
} else if (typeof prop === 'string' && !propIsDefined(vm.vnode, prop)) {
|
|
1318
|
-
return componentDefaults.value?.[prop]
|
|
1320
|
+
return componentDefaults.value?.[prop] !== undefined ? componentDefaults.value?.[prop] : defaults.value?.global?.[prop] !== undefined ? defaults.value?.global?.[prop] : propValue;
|
|
1319
1321
|
}
|
|
1320
1322
|
return propValue;
|
|
1321
1323
|
}
|
|
@@ -3436,14 +3438,22 @@
|
|
|
3436
3438
|
width: [Number, String]
|
|
3437
3439
|
}, 'dimension');
|
|
3438
3440
|
function useDimension(props) {
|
|
3439
|
-
const dimensionStyles = vue.computed(() =>
|
|
3440
|
-
|
|
3441
|
-
|
|
3442
|
-
|
|
3443
|
-
|
|
3444
|
-
|
|
3445
|
-
|
|
3446
|
-
|
|
3441
|
+
const dimensionStyles = vue.computed(() => {
|
|
3442
|
+
const styles = {};
|
|
3443
|
+
const height = convertToUnit(props.height);
|
|
3444
|
+
const maxHeight = convertToUnit(props.maxHeight);
|
|
3445
|
+
const maxWidth = convertToUnit(props.maxWidth);
|
|
3446
|
+
const minHeight = convertToUnit(props.minHeight);
|
|
3447
|
+
const minWidth = convertToUnit(props.minWidth);
|
|
3448
|
+
const width = convertToUnit(props.width);
|
|
3449
|
+
if (height != null) styles.height = height;
|
|
3450
|
+
if (maxHeight != null) styles.maxHeight = maxHeight;
|
|
3451
|
+
if (maxWidth != null) styles.maxWidth = maxWidth;
|
|
3452
|
+
if (minHeight != null) styles.minHeight = minHeight;
|
|
3453
|
+
if (minWidth != null) styles.minWidth = minWidth;
|
|
3454
|
+
if (width != null) styles.width = width;
|
|
3455
|
+
return styles;
|
|
3456
|
+
});
|
|
3447
3457
|
return {
|
|
3448
3458
|
dimensionStyles
|
|
3449
3459
|
};
|
|
@@ -7605,7 +7615,9 @@
|
|
|
7605
7615
|
validator: v => typeof v === 'boolean' || ['always', 'desktop', 'mobile'].includes(v)
|
|
7606
7616
|
},
|
|
7607
7617
|
...makeComponentProps(),
|
|
7608
|
-
...makeDisplayProps(
|
|
7618
|
+
...makeDisplayProps({
|
|
7619
|
+
mobile: null
|
|
7620
|
+
}),
|
|
7609
7621
|
...makeTagProps(),
|
|
7610
7622
|
...makeGroupProps({
|
|
7611
7623
|
selectedClass: 'v-slide-group-item--active'
|
|
@@ -9436,7 +9448,8 @@
|
|
|
9436
9448
|
}) : vue.createVNode(VListItem, listItemProps, slotsWithItem);
|
|
9437
9449
|
},
|
|
9438
9450
|
default: () => vue.createVNode(VListChildren, {
|
|
9439
|
-
"items": children
|
|
9451
|
+
"items": children,
|
|
9452
|
+
"returnObject": props.returnObject
|
|
9440
9453
|
}, slots)
|
|
9441
9454
|
}) : slots.item ? slots.item({
|
|
9442
9455
|
props: itemProps
|
|
@@ -11336,7 +11349,7 @@
|
|
|
11336
11349
|
},
|
|
11337
11350
|
closeParents(e) {
|
|
11338
11351
|
setTimeout(() => {
|
|
11339
|
-
if (!openChildren.value && (e == null || e && !isClickInsideElement(e, overlay.value.contentEl))) {
|
|
11352
|
+
if (!openChildren.value && !props.persistent && (e == null || e && !isClickInsideElement(e, overlay.value.contentEl))) {
|
|
11340
11353
|
isActive.value = false;
|
|
11341
11354
|
parent?.closeParents();
|
|
11342
11355
|
}
|
|
@@ -11375,6 +11388,7 @@
|
|
|
11375
11388
|
function onKeydown(e) {
|
|
11376
11389
|
if (props.disabled) return;
|
|
11377
11390
|
if (e.key === 'Tab' || e.key === 'Enter' && !props.closeOnContentClick) {
|
|
11391
|
+
if (e.key === 'Enter' && e.target instanceof HTMLTextAreaElement) return;
|
|
11378
11392
|
if (e.key === 'Enter') e.preventDefault();
|
|
11379
11393
|
const nextElement = getNextElement(focusableChildren(overlay.value?.contentEl, false), e.shiftKey ? 'prev' : 'next', el => el.tabIndex >= 0);
|
|
11380
11394
|
if (!nextElement) {
|
|
@@ -12556,7 +12570,7 @@
|
|
|
12556
12570
|
let keyboardLookupLastTime;
|
|
12557
12571
|
const displayItems = vue.computed(() => {
|
|
12558
12572
|
if (props.hideSelected) {
|
|
12559
|
-
return items.value.filter(item => !model.value.some(s => s
|
|
12573
|
+
return items.value.filter(item => !model.value.some(s => props.valueComparator(s, item)));
|
|
12560
12574
|
}
|
|
12561
12575
|
return items.value;
|
|
12562
12576
|
});
|
|
@@ -13118,7 +13132,7 @@
|
|
|
13118
13132
|
if (['Escape'].includes(e.key)) {
|
|
13119
13133
|
menu.value = false;
|
|
13120
13134
|
}
|
|
13121
|
-
if (highlightFirst.value &&
|
|
13135
|
+
if (highlightFirst.value && e.key === 'Enter') {
|
|
13122
13136
|
select(displayItems.value[0]);
|
|
13123
13137
|
}
|
|
13124
13138
|
if (e.key === 'ArrowDown' && highlightFirst.value) {
|
|
@@ -13425,7 +13439,8 @@
|
|
|
13425
13439
|
"onMousedown": onMousedownMenuIcon,
|
|
13426
13440
|
"onClick": noop,
|
|
13427
13441
|
"aria-label": t(label.value),
|
|
13428
|
-
"title": t(label.value)
|
|
13442
|
+
"title": t(label.value),
|
|
13443
|
+
"tabindex": "-1"
|
|
13429
13444
|
}, null) : undefined]);
|
|
13430
13445
|
}
|
|
13431
13446
|
});
|
|
@@ -13582,7 +13597,9 @@
|
|
|
13582
13597
|
...makeComponentProps(),
|
|
13583
13598
|
...makeDensityProps(),
|
|
13584
13599
|
...makeDimensionProps(),
|
|
13585
|
-
...makeDisplayProps(
|
|
13600
|
+
...makeDisplayProps({
|
|
13601
|
+
mobile: null
|
|
13602
|
+
}),
|
|
13586
13603
|
...makeElevationProps(),
|
|
13587
13604
|
...makeLocationProps(),
|
|
13588
13605
|
...makePositionProps(),
|
|
@@ -16982,8 +16999,8 @@
|
|
|
16982
16999
|
if (['Escape'].includes(e.key)) {
|
|
16983
17000
|
menu.value = false;
|
|
16984
17001
|
}
|
|
16985
|
-
if (['Enter', 'Escape'
|
|
16986
|
-
if (highlightFirst.value &&
|
|
17002
|
+
if (['Enter', 'Escape'].includes(e.key)) {
|
|
17003
|
+
if (highlightFirst.value && e.key === 'Enter') {
|
|
16987
17004
|
select(filteredItems.value[0]);
|
|
16988
17005
|
}
|
|
16989
17006
|
isPristine.value = true;
|
|
@@ -17291,7 +17308,8 @@
|
|
|
17291
17308
|
"onMousedown": onMousedownMenuIcon,
|
|
17292
17309
|
"onClick": noop,
|
|
17293
17310
|
"aria-label": t(label.value),
|
|
17294
|
-
"title": t(label.value)
|
|
17311
|
+
"title": t(label.value),
|
|
17312
|
+
"tabindex": "-1"
|
|
17295
17313
|
}, null) : undefined]);
|
|
17296
17314
|
}
|
|
17297
17315
|
});
|
|
@@ -18199,12 +18217,20 @@
|
|
|
18199
18217
|
}, null)]);
|
|
18200
18218
|
return vue.createVNode(vue.Fragment, null, [slots.default?.({
|
|
18201
18219
|
model: internalModel,
|
|
18220
|
+
save,
|
|
18221
|
+
cancel,
|
|
18222
|
+
isPristine: isPristine.value,
|
|
18202
18223
|
get actions() {
|
|
18203
18224
|
actionsUsed = true;
|
|
18204
18225
|
return actions;
|
|
18205
18226
|
}
|
|
18206
18227
|
}), !actionsUsed && actions]);
|
|
18207
18228
|
});
|
|
18229
|
+
return {
|
|
18230
|
+
save,
|
|
18231
|
+
cancel,
|
|
18232
|
+
isPristine
|
|
18233
|
+
};
|
|
18208
18234
|
}
|
|
18209
18235
|
});
|
|
18210
18236
|
|
|
@@ -18795,7 +18821,7 @@
|
|
|
18795
18821
|
function useSortedItems(props, items, sortBy, options) {
|
|
18796
18822
|
const locale = useLocale();
|
|
18797
18823
|
const sortedItems = vue.computed(() => {
|
|
18798
|
-
if (!sortBy.value.length) return items.value;
|
|
18824
|
+
if (!sortBy.value.length || props.disableSort) return items.value;
|
|
18799
18825
|
return sortItems(items.value, sortBy.value, locale.current.value, {
|
|
18800
18826
|
transform: options?.transform,
|
|
18801
18827
|
sortFunctions: {
|
|
@@ -19855,6 +19881,7 @@
|
|
|
19855
19881
|
const makeVDataTableHeadersProps = propsFactory({
|
|
19856
19882
|
color: String,
|
|
19857
19883
|
sticky: Boolean,
|
|
19884
|
+
disableSort: Boolean,
|
|
19858
19885
|
multiSort: Boolean,
|
|
19859
19886
|
sortAscIcon: {
|
|
19860
19887
|
type: IconValue,
|
|
@@ -19945,7 +19972,7 @@
|
|
|
19945
19972
|
"tag": "th",
|
|
19946
19973
|
"align": column.align,
|
|
19947
19974
|
"class": [{
|
|
19948
|
-
'v-data-table__th--sortable': column.sortable,
|
|
19975
|
+
'v-data-table__th--sortable': column.sortable && !props.disableSort,
|
|
19949
19976
|
'v-data-table__th--sorted': isSorted(column),
|
|
19950
19977
|
'v-data-table__th--fixed': column.fixed
|
|
19951
19978
|
}, ...headerCellClasses.value],
|
|
@@ -19985,7 +20012,7 @@
|
|
|
19985
20012
|
}
|
|
19986
20013
|
return vue.createVNode("div", {
|
|
19987
20014
|
"class": "v-data-table-header__content"
|
|
19988
|
-
}, [vue.createVNode("span", null, [column.title]), column.sortable && vue.createVNode(VIcon, {
|
|
20015
|
+
}, [vue.createVNode("span", null, [column.title]), column.sortable && !props.disableSort && vue.createVNode(VIcon, {
|
|
19989
20016
|
"key": "icon",
|
|
19990
20017
|
"class": "v-data-table-header__sort-icon",
|
|
19991
20018
|
"icon": getSortIcon(column)
|
|
@@ -20000,7 +20027,7 @@
|
|
|
20000
20027
|
const VDataTableMobileHeaderCell = () => {
|
|
20001
20028
|
const headerProps = vue.mergeProps(props.headerProps ?? {} ?? {});
|
|
20002
20029
|
const displayItems = vue.computed(() => {
|
|
20003
|
-
return columns.value.filter(column => column?.sortable);
|
|
20030
|
+
return columns.value.filter(column => column?.sortable && !props.disableSort);
|
|
20004
20031
|
});
|
|
20005
20032
|
const appendIcon = vue.computed(() => {
|
|
20006
20033
|
const showSelectColumn = columns.value.find(column => column.key === 'data-table-select');
|
|
@@ -20496,6 +20523,7 @@
|
|
|
20496
20523
|
|
|
20497
20524
|
const makeDataTableProps = propsFactory({
|
|
20498
20525
|
...makeVDataTableRowsProps(),
|
|
20526
|
+
hideDefaultBody: Boolean,
|
|
20499
20527
|
hideDefaultFooter: Boolean,
|
|
20500
20528
|
hideDefaultHeader: Boolean,
|
|
20501
20529
|
width: [String, Number],
|
|
@@ -20682,7 +20710,7 @@
|
|
|
20682
20710
|
top: () => slots.top?.(slotProps.value),
|
|
20683
20711
|
default: () => slots.default ? slots.default(slotProps.value) : vue.createVNode(vue.Fragment, null, [slots.colgroup?.(slotProps.value), !props.hideDefaultHeader && vue.createVNode("thead", {
|
|
20684
20712
|
"key": "thead"
|
|
20685
|
-
}, [vue.createVNode(VDataTableHeaders, dataTableHeadersProps, slots)]), slots.thead?.(slotProps.value), vue.createVNode("tbody", null, [slots['body.prepend']?.(slotProps.value), slots.body ? slots.body(slotProps.value) : vue.createVNode(VDataTableRows, vue.mergeProps(attrs, dataTableRowsProps, {
|
|
20713
|
+
}, [vue.createVNode(VDataTableHeaders, dataTableHeadersProps, slots)]), slots.thead?.(slotProps.value), !props.hideDefaultBody && vue.createVNode("tbody", null, [slots['body.prepend']?.(slotProps.value), slots.body ? slots.body(slotProps.value) : vue.createVNode(VDataTableRows, vue.mergeProps(attrs, dataTableRowsProps, {
|
|
20686
20714
|
"items": paginatedItems.value
|
|
20687
20715
|
}), slots), slots['body.append']?.(slotProps.value)]), slots.tbody?.(slotProps.value), slots.tfoot?.(slotProps.value)]),
|
|
20688
20716
|
bottom: () => slots.bottom ? slots.bottom(slotProps.value) : !props.hideDefaultFooter && vue.createVNode(vue.Fragment, null, [vue.createVNode(VDivider, null, null), vue.createVNode(VDataTableFooter, dataTableFooterProps, {
|
|
@@ -20857,7 +20885,7 @@
|
|
|
20857
20885
|
"key": "thead"
|
|
20858
20886
|
}, [vue.createVNode(VDataTableHeaders, vue.mergeProps(dataTableHeadersProps, {
|
|
20859
20887
|
"sticky": props.fixedHeader
|
|
20860
|
-
}), slots)]), vue.createVNode("tbody", null, [vue.createVNode("tr", {
|
|
20888
|
+
}), slots)]), !props.hideDefaultBody && vue.createVNode("tbody", null, [vue.createVNode("tr", {
|
|
20861
20889
|
"ref": markerRef,
|
|
20862
20890
|
"style": {
|
|
20863
20891
|
height: convertToUnit(paddingTop.value),
|
|
@@ -21066,7 +21094,7 @@
|
|
|
21066
21094
|
"role": "rowgroup"
|
|
21067
21095
|
}, [vue.createVNode(VDataTableHeaders, vue.mergeProps(dataTableHeadersProps, {
|
|
21068
21096
|
"sticky": props.fixedHeader
|
|
21069
|
-
}), slots)]), slots.thead?.(slotProps.value), vue.createVNode("tbody", {
|
|
21097
|
+
}), slots)]), slots.thead?.(slotProps.value), !props.hideDefaultBody && vue.createVNode("tbody", {
|
|
21070
21098
|
"class": "v-data-table__tbody",
|
|
21071
21099
|
"role": "rowgroup"
|
|
21072
21100
|
}, [slots['body.prepend']?.(slotProps.value), slots.body ? slots.body(slotProps.value) : vue.createVNode(VDataTableRows, vue.mergeProps(attrs, dataTableRowsProps, {
|
|
@@ -21841,7 +21869,10 @@
|
|
|
21841
21869
|
const makeVDatePickerMonthsProps = propsFactory({
|
|
21842
21870
|
color: String,
|
|
21843
21871
|
height: [String, Number],
|
|
21844
|
-
|
|
21872
|
+
min: null,
|
|
21873
|
+
max: null,
|
|
21874
|
+
modelValue: Number,
|
|
21875
|
+
year: Number
|
|
21845
21876
|
}, 'VDatePickerMonths');
|
|
21846
21877
|
const VDatePickerMonths = genericComponent()({
|
|
21847
21878
|
name: 'VDatePickerMonths',
|
|
@@ -21858,10 +21889,15 @@
|
|
|
21858
21889
|
const model = useProxiedModel(props, 'modelValue');
|
|
21859
21890
|
const months = vue.computed(() => {
|
|
21860
21891
|
let date = adapter.startOfYear(adapter.date());
|
|
21892
|
+
if (props.year) {
|
|
21893
|
+
date = adapter.setYear(date, props.year);
|
|
21894
|
+
}
|
|
21861
21895
|
return createRange(12).map(i => {
|
|
21862
21896
|
const text = adapter.format(date, 'monthShort');
|
|
21897
|
+
const isDisabled = !!(props.min && adapter.isAfter(adapter.startOfMonth(adapter.date(props.min)), date) || props.max && adapter.isAfter(date, adapter.startOfMonth(adapter.date(props.max))));
|
|
21863
21898
|
date = adapter.getNextMonth(date);
|
|
21864
21899
|
return {
|
|
21900
|
+
isDisabled,
|
|
21865
21901
|
text,
|
|
21866
21902
|
value: i
|
|
21867
21903
|
};
|
|
@@ -21881,6 +21917,7 @@
|
|
|
21881
21917
|
const btnProps = {
|
|
21882
21918
|
active: model.value === i,
|
|
21883
21919
|
color: model.value === i ? props.color : undefined,
|
|
21920
|
+
disabled: month.isDisabled,
|
|
21884
21921
|
rounded: true,
|
|
21885
21922
|
text: month.text,
|
|
21886
21923
|
variant: model.value === month.value ? 'flat' : 'text',
|
|
@@ -22281,7 +22318,8 @@
|
|
|
22281
22318
|
"modelValue": month.value,
|
|
22282
22319
|
"onUpdate:modelValue": [$event => month.value = $event, onUpdateMonth],
|
|
22283
22320
|
"min": minDate.value,
|
|
22284
|
-
"max": maxDate.value
|
|
22321
|
+
"max": maxDate.value,
|
|
22322
|
+
"year": year.value
|
|
22285
22323
|
}), null) : viewMode.value === 'year' ? vue.createVNode(VDatePickerYears, vue.mergeProps({
|
|
22286
22324
|
"key": "date-picker-years"
|
|
22287
22325
|
}, datePickerYearsProps, {
|
|
@@ -26409,6 +26447,7 @@
|
|
|
26409
26447
|
blur
|
|
26410
26448
|
} = useFocus(props);
|
|
26411
26449
|
const control = vue.ref();
|
|
26450
|
+
const isForcedColorsModeActive = IN_BROWSER && window.matchMedia('(forced-colors: active)').matches;
|
|
26412
26451
|
const loaderColor = vue.computed(() => {
|
|
26413
26452
|
return typeof props.loading === 'string' && props.loading !== '' ? props.loading : props.color;
|
|
26414
26453
|
});
|
|
@@ -26477,7 +26516,7 @@
|
|
|
26477
26516
|
backgroundColorStyles
|
|
26478
26517
|
} = _ref3;
|
|
26479
26518
|
return vue.createVNode("div", {
|
|
26480
|
-
"class": ['v-switch__track',
|
|
26519
|
+
"class": ['v-switch__track', !isForcedColorsModeActive ? backgroundColorClasses.value : undefined],
|
|
26481
26520
|
"style": backgroundColorStyles.value,
|
|
26482
26521
|
"onClick": onTrackClick
|
|
26483
26522
|
}, [slots['track-true'] && vue.createVNode("div", {
|
|
@@ -26498,7 +26537,7 @@
|
|
|
26498
26537
|
return vue.createVNode(vue.Fragment, null, [inputNode, vue.createVNode("div", {
|
|
26499
26538
|
"class": ['v-switch__thumb', {
|
|
26500
26539
|
'v-switch__thumb--filled': icon || props.loading
|
|
26501
|
-
}, props.inset ? undefined : backgroundColorClasses.value],
|
|
26540
|
+
}, props.inset || isForcedColorsModeActive ? undefined : backgroundColorClasses.value],
|
|
26502
26541
|
"style": props.inset ? undefined : backgroundColorStyles.value
|
|
26503
26542
|
}, [slots.thumb ? vue.createVNode(VDefaultsProvider, {
|
|
26504
26543
|
"defaults": {
|
|
@@ -27998,7 +28037,7 @@
|
|
|
27998
28037
|
goTo
|
|
27999
28038
|
};
|
|
28000
28039
|
}
|
|
28001
|
-
const version$1 = "3.6.
|
|
28040
|
+
const version$1 = "3.6.7";
|
|
28002
28041
|
createVuetify$1.version = version$1;
|
|
28003
28042
|
|
|
28004
28043
|
// Vue's inject() can only be used in setup
|
|
@@ -28023,7 +28062,7 @@
|
|
|
28023
28062
|
...options
|
|
28024
28063
|
});
|
|
28025
28064
|
};
|
|
28026
|
-
const version = "3.6.
|
|
28065
|
+
const version = "3.6.7";
|
|
28027
28066
|
createVuetify.version = version;
|
|
28028
28067
|
|
|
28029
28068
|
exports.blueprints = index;
|