@vuetify/nightly 3.6.6-master.2024-05-21 → 3.6.7-master.2024-05-23
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 -11
- package/dist/json/attributes.json +42 -2
- package/dist/json/importMap-labs.json +16 -16
- package/dist/json/importMap.json +134 -134
- package/dist/json/tags.json +11 -1
- package/dist/json/web-types.json +103 -6
- package/dist/vuetify-labs.css +2449 -2444
- package/dist/vuetify-labs.d.ts +93 -12
- package/dist/vuetify-labs.esm.js +109 -83
- package/dist/vuetify-labs.esm.js.map +1 -1
- package/dist/vuetify-labs.js +108 -82
- package/dist/vuetify-labs.min.css +2 -2
- package/dist/vuetify.css +2268 -2263
- package/dist/vuetify.d.ts +130 -49
- package/dist/vuetify.esm.js +107 -81
- package/dist/vuetify.esm.js.map +1 -1
- package/dist/vuetify.js +106 -80
- package/dist/vuetify.js.map +1 -1
- package/dist/vuetify.min.css +2 -2
- package/dist/vuetify.min.js +365 -363
- 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/VCombobox/VCombobox.mjs +4 -3
- package/lib/components/VCombobox/VCombobox.mjs.map +1 -1
- 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 +1 -1
- package/lib/components/VDivider/VDivider.sass +1 -1
- package/lib/components/VExpansionPanel/VExpansionPanel.mjs +1 -1
- package/lib/components/VExpansionPanel/VExpansionPanel.mjs.map +1 -1
- package/lib/components/VExpansionPanel/VExpansionPanelText.mjs +1 -1
- package/lib/components/VExpansionPanel/VExpansionPanelText.mjs.map +1 -1
- package/lib/components/VExpansionPanel/VExpansionPanelTitle.mjs +1 -1
- package/lib/components/VExpansionPanel/VExpansionPanelTitle.mjs.map +1 -1
- package/lib/components/VExpansionPanel/VExpansionPanels.mjs +1 -1
- package/lib/components/VExpansionPanel/VExpansionPanels.mjs.map +1 -1
- package/lib/components/VExpansionPanel/index.d.mts +36 -36
- package/lib/components/VExpansionPanel/shared.mjs +4 -0
- package/lib/components/VExpansionPanel/shared.mjs.map +1 -0
- package/lib/components/VList/VListChildren.mjs +2 -1
- package/lib/components/VList/VListChildren.mjs.map +1 -1
- package/lib/components/VStepper/VStepper.mjs +1 -1
- package/lib/components/VStepper/VStepper.mjs.map +1 -1
- package/lib/components/VStepper/VStepperItem.mjs +1 -1
- package/lib/components/VStepper/VStepperItem.mjs.map +1 -1
- package/lib/components/VStepper/VStepperWindow.mjs +2 -2
- package/lib/components/VStepper/VStepperWindow.mjs.map +1 -1
- package/lib/components/VStepper/shared.mjs +4 -0
- package/lib/components/VStepper/shared.mjs.map +1 -0
- package/lib/components/index.d.mts +87 -6
- package/lib/composables/defaults.mjs +4 -2
- 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 +43 -43
- 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/VStepperVertical/VStepperVerticalItem.mjs +1 -2
- package/lib/labs/VStepperVertical/VStepperVerticalItem.mjs.map +1 -1
- package/lib/labs/VTreeview/VTreeviewItem.mjs +2 -2
- package/lib/labs/VTreeview/VTreeviewItem.mjs.map +1 -1
- package/lib/labs/components.d.mts +6 -6
- package/lib/locale/fa.mjs +10 -10
- package/lib/locale/fa.mjs.map +1 -1
- package/package.json +1 -1
package/dist/vuetify-labs.esm.js
CHANGED
@@ -1,10 +1,10 @@
|
|
1
1
|
/*!
|
2
|
-
* Vuetify v3.6.
|
2
|
+
* Vuetify v3.6.7-master.2024-05-23
|
3
3
|
* Forged by John Leider
|
4
4
|
* Released under the MIT License.
|
5
5
|
*/
|
6
6
|
|
7
|
-
import { shallowRef, Fragment, reactive, computed, watchEffect, toRefs, capitalize, isVNode, Comment, readonly, unref, warn, ref, provide, inject as inject$1, defineComponent as defineComponent$1, camelize, h,
|
7
|
+
import { shallowRef, Fragment, reactive, computed, watchEffect, toRefs, capitalize, isVNode, Comment, readonly, unref, warn, getCurrentInstance as getCurrentInstance$1, ref, provide, inject as inject$1, defineComponent as defineComponent$1, camelize, h, onBeforeUnmount, watch, nextTick, onDeactivated, onActivated, onScopeDispose, effectScope, toRaw, createVNode, Suspense, TransitionGroup, Transition, mergeProps, isRef, toRef, onBeforeMount, withDirectives, resolveDirective, vShow, onMounted, onUpdated, Text, resolveDynamicComponent, markRaw, Teleport, cloneVNode, createTextVNode, onUnmounted, onBeforeUpdate, withModifiers, toDisplayString, vModelText, resolveComponent, render } from 'vue';
|
8
8
|
|
9
9
|
// Types
|
10
10
|
// eslint-disable-line vue/prefer-import-from-vue
|
@@ -1257,6 +1257,53 @@ function getForeground(color) {
|
|
1257
1257
|
|
1258
1258
|
// Types
|
1259
1259
|
|
1260
|
+
function getCurrentInstance(name, message) {
|
1261
|
+
const vm = getCurrentInstance$1();
|
1262
|
+
if (!vm) {
|
1263
|
+
throw new Error(`[Vuetify] ${name} ${message || 'must be called from inside a setup function'}`);
|
1264
|
+
}
|
1265
|
+
return vm;
|
1266
|
+
}
|
1267
|
+
function getCurrentInstanceName() {
|
1268
|
+
let name = arguments.length > 0 && arguments[0] !== undefined ? arguments[0] : 'composables';
|
1269
|
+
const vm = getCurrentInstance(name).type;
|
1270
|
+
return toKebabCase(vm?.aliasName || vm?.name);
|
1271
|
+
}
|
1272
|
+
let _uid = 0;
|
1273
|
+
let _map = new WeakMap();
|
1274
|
+
function getUid() {
|
1275
|
+
const vm = getCurrentInstance('getUid');
|
1276
|
+
if (_map.has(vm)) return _map.get(vm);else {
|
1277
|
+
const uid = _uid++;
|
1278
|
+
_map.set(vm, uid);
|
1279
|
+
return uid;
|
1280
|
+
}
|
1281
|
+
}
|
1282
|
+
getUid.reset = () => {
|
1283
|
+
_uid = 0;
|
1284
|
+
_map = new WeakMap();
|
1285
|
+
};
|
1286
|
+
|
1287
|
+
// Utilities
|
1288
|
+
|
1289
|
+
// Types
|
1290
|
+
|
1291
|
+
function injectSelf(key) {
|
1292
|
+
let vm = arguments.length > 1 && arguments[1] !== undefined ? arguments[1] : getCurrentInstance('injectSelf');
|
1293
|
+
const {
|
1294
|
+
provides
|
1295
|
+
} = vm;
|
1296
|
+
if (provides && key in provides) {
|
1297
|
+
// TS doesn't allow symbol as index type
|
1298
|
+
return provides[key];
|
1299
|
+
}
|
1300
|
+
return undefined;
|
1301
|
+
}
|
1302
|
+
|
1303
|
+
// Utilities
|
1304
|
+
|
1305
|
+
// Types
|
1306
|
+
|
1260
1307
|
const DefaultsSymbol = Symbol.for('vuetify:defaults');
|
1261
1308
|
function createDefaults(options) {
|
1262
1309
|
return ref(options);
|
@@ -1319,7 +1366,7 @@ function internalUseDefaults() {
|
|
1319
1366
|
if (prop === 'class' || prop === 'style') {
|
1320
1367
|
return [componentDefaults.value?.[prop], propValue].filter(v => v != null);
|
1321
1368
|
} else if (typeof prop === 'string' && !propIsDefined(vm.vnode, prop)) {
|
1322
|
-
return componentDefaults.value?.[prop]
|
1369
|
+
return componentDefaults.value?.[prop] !== undefined ? componentDefaults.value?.[prop] : defaults.value?.global?.[prop] !== undefined ? defaults.value?.global?.[prop] : propValue;
|
1323
1370
|
}
|
1324
1371
|
return propValue;
|
1325
1372
|
}
|
@@ -1482,37 +1529,6 @@ function getPrefixedEventHandlers(attrs, suffix, getData) {
|
|
1482
1529
|
}, {});
|
1483
1530
|
}
|
1484
1531
|
|
1485
|
-
// Utilities
|
1486
|
-
|
1487
|
-
// Types
|
1488
|
-
|
1489
|
-
function getCurrentInstance(name, message) {
|
1490
|
-
const vm = getCurrentInstance$1();
|
1491
|
-
if (!vm) {
|
1492
|
-
throw new Error(`[Vuetify] ${name} ${message || 'must be called from inside a setup function'}`);
|
1493
|
-
}
|
1494
|
-
return vm;
|
1495
|
-
}
|
1496
|
-
function getCurrentInstanceName() {
|
1497
|
-
let name = arguments.length > 0 && arguments[0] !== undefined ? arguments[0] : 'composables';
|
1498
|
-
const vm = getCurrentInstance(name).type;
|
1499
|
-
return toKebabCase(vm?.aliasName || vm?.name);
|
1500
|
-
}
|
1501
|
-
let _uid = 0;
|
1502
|
-
let _map = new WeakMap();
|
1503
|
-
function getUid() {
|
1504
|
-
const vm = getCurrentInstance('getUid');
|
1505
|
-
if (_map.has(vm)) return _map.get(vm);else {
|
1506
|
-
const uid = _uid++;
|
1507
|
-
_map.set(vm, uid);
|
1508
|
-
return uid;
|
1509
|
-
}
|
1510
|
-
}
|
1511
|
-
getUid.reset = () => {
|
1512
|
-
_uid = 0;
|
1513
|
-
_map = new WeakMap();
|
1514
|
-
};
|
1515
|
-
|
1516
1532
|
function getScrollParent(el) {
|
1517
1533
|
let includeHidden = arguments.length > 1 && arguments[1] !== undefined ? arguments[1] : false;
|
1518
1534
|
while (el) {
|
@@ -1542,22 +1558,6 @@ function isPotentiallyScrollable(el) {
|
|
1542
1558
|
return ['scroll', 'auto'].includes(style.overflowY);
|
1543
1559
|
}
|
1544
1560
|
|
1545
|
-
// Utilities
|
1546
|
-
|
1547
|
-
// Types
|
1548
|
-
|
1549
|
-
function injectSelf(key) {
|
1550
|
-
let vm = arguments.length > 1 && arguments[1] !== undefined ? arguments[1] : getCurrentInstance('injectSelf');
|
1551
|
-
const {
|
1552
|
-
provides
|
1553
|
-
} = vm;
|
1554
|
-
if (provides && key in provides) {
|
1555
|
-
// TS doesn't allow symbol as index type
|
1556
|
-
return provides[key];
|
1557
|
-
}
|
1558
|
-
return undefined;
|
1559
|
-
}
|
1560
|
-
|
1561
1561
|
function isFixedPosition(el) {
|
1562
1562
|
while (el) {
|
1563
1563
|
if (window.getComputedStyle(el).position === 'fixed') {
|
@@ -2994,14 +2994,22 @@ const makeDimensionProps = propsFactory({
|
|
2994
2994
|
width: [Number, String]
|
2995
2995
|
}, 'dimension');
|
2996
2996
|
function useDimension(props) {
|
2997
|
-
const dimensionStyles = computed(() =>
|
2998
|
-
|
2999
|
-
|
3000
|
-
|
3001
|
-
|
3002
|
-
|
3003
|
-
|
3004
|
-
|
2997
|
+
const dimensionStyles = computed(() => {
|
2998
|
+
const styles = {};
|
2999
|
+
const height = convertToUnit(props.height);
|
3000
|
+
const maxHeight = convertToUnit(props.maxHeight);
|
3001
|
+
const maxWidth = convertToUnit(props.maxWidth);
|
3002
|
+
const minHeight = convertToUnit(props.minHeight);
|
3003
|
+
const minWidth = convertToUnit(props.minWidth);
|
3004
|
+
const width = convertToUnit(props.width);
|
3005
|
+
if (height != null) styles.height = height;
|
3006
|
+
if (maxHeight != null) styles.maxHeight = maxHeight;
|
3007
|
+
if (maxWidth != null) styles.maxWidth = maxWidth;
|
3008
|
+
if (minHeight != null) styles.minHeight = minHeight;
|
3009
|
+
if (minWidth != null) styles.minWidth = minWidth;
|
3010
|
+
if (width != null) styles.width = width;
|
3011
|
+
return styles;
|
3012
|
+
});
|
3005
3013
|
return {
|
3006
3014
|
dimensionStyles
|
3007
3015
|
};
|
@@ -9203,7 +9211,8 @@ const VListChildren = genericComponent()({
|
|
9203
9211
|
}) : createVNode(VListItem, listItemProps, slotsWithItem);
|
9204
9212
|
},
|
9205
9213
|
default: () => createVNode(VListChildren, {
|
9206
|
-
"items": children
|
9214
|
+
"items": children,
|
9215
|
+
"returnObject": props.returnObject
|
9207
9216
|
}, slots)
|
9208
9217
|
}) : slots.item ? slots.item({
|
9209
9218
|
props: itemProps
|
@@ -12886,7 +12895,7 @@ const VAutocomplete = genericComponent()({
|
|
12886
12895
|
if (['Escape'].includes(e.key)) {
|
12887
12896
|
menu.value = false;
|
12888
12897
|
}
|
12889
|
-
if (highlightFirst.value &&
|
12898
|
+
if (highlightFirst.value && e.key === 'Enter') {
|
12890
12899
|
select(displayItems.value[0]);
|
12891
12900
|
}
|
12892
12901
|
if (e.key === 'ArrowDown' && highlightFirst.value) {
|
@@ -13193,7 +13202,8 @@ const VAutocomplete = genericComponent()({
|
|
13193
13202
|
"onMousedown": onMousedownMenuIcon,
|
13194
13203
|
"onClick": noop,
|
13195
13204
|
"aria-label": t(label.value),
|
13196
|
-
"title": t(label.value)
|
13205
|
+
"title": t(label.value),
|
13206
|
+
"tabindex": "-1"
|
13197
13207
|
}, null) : undefined]);
|
13198
13208
|
}
|
13199
13209
|
});
|
@@ -16752,8 +16762,8 @@ const VCombobox = genericComponent()({
|
|
16752
16762
|
if (['Escape'].includes(e.key)) {
|
16753
16763
|
menu.value = false;
|
16754
16764
|
}
|
16755
|
-
if (['Enter', 'Escape'
|
16756
|
-
if (highlightFirst.value &&
|
16765
|
+
if (['Enter', 'Escape'].includes(e.key)) {
|
16766
|
+
if (highlightFirst.value && e.key === 'Enter') {
|
16757
16767
|
select(filteredItems.value[0]);
|
16758
16768
|
}
|
16759
16769
|
isPristine.value = true;
|
@@ -17061,7 +17071,8 @@ const VCombobox = genericComponent()({
|
|
17061
17071
|
"onMousedown": onMousedownMenuIcon,
|
17062
17072
|
"onClick": noop,
|
17063
17073
|
"aria-label": t(label.value),
|
17064
|
-
"title": t(label.value)
|
17074
|
+
"title": t(label.value),
|
17075
|
+
"tabindex": "-1"
|
17065
17076
|
}, null) : undefined]);
|
17066
17077
|
}
|
17067
17078
|
});
|
@@ -18573,7 +18584,7 @@ function useSort() {
|
|
18573
18584
|
function useSortedItems(props, items, sortBy, options) {
|
18574
18585
|
const locale = useLocale();
|
18575
18586
|
const sortedItems = computed(() => {
|
18576
|
-
if (!sortBy.value.length) return items.value;
|
18587
|
+
if (!sortBy.value.length || props.disableSort) return items.value;
|
18577
18588
|
return sortItems(items.value, sortBy.value, locale.current.value, {
|
18578
18589
|
transform: options?.transform,
|
18579
18590
|
sortFunctions: {
|
@@ -19633,6 +19644,7 @@ function useHeaders() {
|
|
19633
19644
|
const makeVDataTableHeadersProps = propsFactory({
|
19634
19645
|
color: String,
|
19635
19646
|
sticky: Boolean,
|
19647
|
+
disableSort: Boolean,
|
19636
19648
|
multiSort: Boolean,
|
19637
19649
|
sortAscIcon: {
|
19638
19650
|
type: IconValue,
|
@@ -19723,7 +19735,7 @@ const VDataTableHeaders = genericComponent()({
|
|
19723
19735
|
"tag": "th",
|
19724
19736
|
"align": column.align,
|
19725
19737
|
"class": [{
|
19726
|
-
'v-data-table__th--sortable': column.sortable,
|
19738
|
+
'v-data-table__th--sortable': column.sortable && !props.disableSort,
|
19727
19739
|
'v-data-table__th--sorted': isSorted(column),
|
19728
19740
|
'v-data-table__th--fixed': column.fixed
|
19729
19741
|
}, ...headerCellClasses.value],
|
@@ -19763,7 +19775,7 @@ const VDataTableHeaders = genericComponent()({
|
|
19763
19775
|
}
|
19764
19776
|
return createVNode("div", {
|
19765
19777
|
"class": "v-data-table-header__content"
|
19766
|
-
}, [createVNode("span", null, [column.title]), column.sortable && createVNode(VIcon, {
|
19778
|
+
}, [createVNode("span", null, [column.title]), column.sortable && !props.disableSort && createVNode(VIcon, {
|
19767
19779
|
"key": "icon",
|
19768
19780
|
"class": "v-data-table-header__sort-icon",
|
19769
19781
|
"icon": getSortIcon(column)
|
@@ -19778,7 +19790,7 @@ const VDataTableHeaders = genericComponent()({
|
|
19778
19790
|
const VDataTableMobileHeaderCell = () => {
|
19779
19791
|
const headerProps = mergeProps(props.headerProps ?? {} ?? {});
|
19780
19792
|
const displayItems = computed(() => {
|
19781
|
-
return columns.value.filter(column => column?.sortable);
|
19793
|
+
return columns.value.filter(column => column?.sortable && !props.disableSort);
|
19782
19794
|
});
|
19783
19795
|
const appendIcon = computed(() => {
|
19784
19796
|
const showSelectColumn = columns.value.find(column => column.key === 'data-table-select');
|
@@ -20274,6 +20286,7 @@ function useDataTableItems(props, columns) {
|
|
20274
20286
|
|
20275
20287
|
const makeDataTableProps = propsFactory({
|
20276
20288
|
...makeVDataTableRowsProps(),
|
20289
|
+
hideDefaultBody: Boolean,
|
20277
20290
|
hideDefaultFooter: Boolean,
|
20278
20291
|
hideDefaultHeader: Boolean,
|
20279
20292
|
width: [String, Number],
|
@@ -20460,7 +20473,7 @@ const VDataTable = genericComponent()({
|
|
20460
20473
|
top: () => slots.top?.(slotProps.value),
|
20461
20474
|
default: () => slots.default ? slots.default(slotProps.value) : createVNode(Fragment, null, [slots.colgroup?.(slotProps.value), !props.hideDefaultHeader && createVNode("thead", {
|
20462
20475
|
"key": "thead"
|
20463
|
-
}, [createVNode(VDataTableHeaders, dataTableHeadersProps, slots)]), slots.thead?.(slotProps.value), createVNode("tbody", null, [slots['body.prepend']?.(slotProps.value), slots.body ? slots.body(slotProps.value) : createVNode(VDataTableRows, mergeProps(attrs, dataTableRowsProps, {
|
20476
|
+
}, [createVNode(VDataTableHeaders, dataTableHeadersProps, slots)]), slots.thead?.(slotProps.value), !props.hideDefaultBody && createVNode("tbody", null, [slots['body.prepend']?.(slotProps.value), slots.body ? slots.body(slotProps.value) : createVNode(VDataTableRows, mergeProps(attrs, dataTableRowsProps, {
|
20464
20477
|
"items": paginatedItems.value
|
20465
20478
|
}), slots), slots['body.append']?.(slotProps.value)]), slots.tbody?.(slotProps.value), slots.tfoot?.(slotProps.value)]),
|
20466
20479
|
bottom: () => slots.bottom ? slots.bottom(slotProps.value) : !props.hideDefaultFooter && createVNode(Fragment, null, [createVNode(VDivider, null, null), createVNode(VDataTableFooter, dataTableFooterProps, {
|
@@ -20635,7 +20648,7 @@ const VDataTableVirtual = genericComponent()({
|
|
20635
20648
|
"key": "thead"
|
20636
20649
|
}, [createVNode(VDataTableHeaders, mergeProps(dataTableHeadersProps, {
|
20637
20650
|
"sticky": props.fixedHeader
|
20638
|
-
}), slots)]), createVNode("tbody", null, [createVNode("tr", {
|
20651
|
+
}), slots)]), !props.hideDefaultBody && createVNode("tbody", null, [createVNode("tr", {
|
20639
20652
|
"ref": markerRef,
|
20640
20653
|
"style": {
|
20641
20654
|
height: convertToUnit(paddingTop.value),
|
@@ -20844,7 +20857,7 @@ const VDataTableServer = genericComponent()({
|
|
20844
20857
|
"role": "rowgroup"
|
20845
20858
|
}, [createVNode(VDataTableHeaders, mergeProps(dataTableHeadersProps, {
|
20846
20859
|
"sticky": props.fixedHeader
|
20847
|
-
}), slots)]), slots.thead?.(slotProps.value), createVNode("tbody", {
|
20860
|
+
}), slots)]), slots.thead?.(slotProps.value), !props.hideDefaultBody && createVNode("tbody", {
|
20848
20861
|
"class": "v-data-table__tbody",
|
20849
20862
|
"role": "rowgroup"
|
20850
20863
|
}, [slots['body.prepend']?.(slotProps.value), slots.body ? slots.body(slotProps.value) : createVNode(VDataTableRows, mergeProps(attrs, dataTableRowsProps, {
|
@@ -21619,7 +21632,10 @@ const VDatePickerMonth = genericComponent()({
|
|
21619
21632
|
const makeVDatePickerMonthsProps = propsFactory({
|
21620
21633
|
color: String,
|
21621
21634
|
height: [String, Number],
|
21622
|
-
|
21635
|
+
min: null,
|
21636
|
+
max: null,
|
21637
|
+
modelValue: Number,
|
21638
|
+
year: Number
|
21623
21639
|
}, 'VDatePickerMonths');
|
21624
21640
|
const VDatePickerMonths = genericComponent()({
|
21625
21641
|
name: 'VDatePickerMonths',
|
@@ -21636,10 +21652,15 @@ const VDatePickerMonths = genericComponent()({
|
|
21636
21652
|
const model = useProxiedModel(props, 'modelValue');
|
21637
21653
|
const months = computed(() => {
|
21638
21654
|
let date = adapter.startOfYear(adapter.date());
|
21655
|
+
if (props.year) {
|
21656
|
+
date = adapter.setYear(date, props.year);
|
21657
|
+
}
|
21639
21658
|
return createRange(12).map(i => {
|
21640
21659
|
const text = adapter.format(date, 'monthShort');
|
21660
|
+
const isDisabled = !!(props.min && adapter.isAfter(adapter.startOfMonth(adapter.date(props.min)), date) || props.max && adapter.isAfter(date, adapter.startOfMonth(adapter.date(props.max))));
|
21641
21661
|
date = adapter.getNextMonth(date);
|
21642
21662
|
return {
|
21663
|
+
isDisabled,
|
21643
21664
|
text,
|
21644
21665
|
value: i
|
21645
21666
|
};
|
@@ -21659,6 +21680,7 @@ const VDatePickerMonths = genericComponent()({
|
|
21659
21680
|
const btnProps = {
|
21660
21681
|
active: model.value === i,
|
21661
21682
|
color: model.value === i ? props.color : undefined,
|
21683
|
+
disabled: month.isDisabled,
|
21662
21684
|
rounded: true,
|
21663
21685
|
text: month.text,
|
21664
21686
|
variant: model.value === month.value ? 'flat' : 'text',
|
@@ -22059,7 +22081,8 @@ const VDatePicker = genericComponent()({
|
|
22059
22081
|
"modelValue": month.value,
|
22060
22082
|
"onUpdate:modelValue": [$event => month.value = $event, onUpdateMonth],
|
22061
22083
|
"min": minDate.value,
|
22062
|
-
"max": maxDate.value
|
22084
|
+
"max": maxDate.value,
|
22085
|
+
"year": year.value
|
22063
22086
|
}), null) : viewMode.value === 'year' ? createVNode(VDatePickerYears, mergeProps({
|
22064
22087
|
"key": "date-picker-years"
|
22065
22088
|
}, datePickerYearsProps, {
|
@@ -22222,6 +22245,10 @@ const VEmptyState = genericComponent()({
|
|
22222
22245
|
}
|
22223
22246
|
});
|
22224
22247
|
|
22248
|
+
// Types
|
22249
|
+
|
22250
|
+
const VExpansionPanelSymbol = Symbol.for('vuetify:v-expansion-panel');
|
22251
|
+
|
22225
22252
|
const makeVExpansionPanelTextProps = propsFactory({
|
22226
22253
|
...makeComponentProps(),
|
22227
22254
|
...makeLazyProps()
|
@@ -22402,7 +22429,6 @@ const VExpansionPanel = genericComponent()({
|
|
22402
22429
|
|
22403
22430
|
// Types
|
22404
22431
|
|
22405
|
-
const VExpansionPanelSymbol = Symbol.for('vuetify:v-expansion-panel');
|
22406
22432
|
const allowedVariants = ['default', 'accordion', 'inset', 'popout'];
|
22407
22433
|
const makeVExpansionPanelsProps = propsFactory({
|
22408
22434
|
flat: Boolean,
|
@@ -25746,6 +25772,10 @@ const VSpeedDial = genericComponent()({
|
|
25746
25772
|
|
25747
25773
|
// Types
|
25748
25774
|
|
25775
|
+
const VStepperSymbol = Symbol.for('vuetify:v-stepper');
|
25776
|
+
|
25777
|
+
// Types
|
25778
|
+
|
25749
25779
|
const makeVStepperActionsProps = propsFactory({
|
25750
25780
|
color: String,
|
25751
25781
|
disabled: {
|
@@ -25933,9 +25963,6 @@ const VStepperItem = genericComponent()({
|
|
25933
25963
|
}
|
25934
25964
|
});
|
25935
25965
|
|
25936
|
-
// Types
|
25937
|
-
|
25938
|
-
const VStepperSymbol$1 = Symbol.for('vuetify:v-stepper');
|
25939
25966
|
const makeVStepperWindowProps = propsFactory({
|
25940
25967
|
...omit(makeVWindowProps(), ['continuous', 'nextIcon', 'prevIcon', 'showArrows', 'touch', 'mandatory'])
|
25941
25968
|
}, 'VStepperWindow');
|
@@ -25949,7 +25976,7 @@ const VStepperWindow = genericComponent()({
|
|
25949
25976
|
let {
|
25950
25977
|
slots
|
25951
25978
|
} = _ref;
|
25952
|
-
const group = inject$1(VStepperSymbol
|
25979
|
+
const group = inject$1(VStepperSymbol, null);
|
25953
25980
|
const _model = useProxiedModel(props, 'modelValue');
|
25954
25981
|
const model = computed({
|
25955
25982
|
get() {
|
@@ -26007,7 +26034,6 @@ const VStepperWindowItem = genericComponent()({
|
|
26007
26034
|
|
26008
26035
|
// Types
|
26009
26036
|
|
26010
|
-
const VStepperSymbol = Symbol.for('vuetify:v-stepper');
|
26011
26037
|
const makeStepperProps = propsFactory({
|
26012
26038
|
altLabels: Boolean,
|
26013
26039
|
bgColor: String,
|
@@ -27723,7 +27749,7 @@ const VCalendar = genericComponent()({
|
|
27723
27749
|
}
|
27724
27750
|
}
|
27725
27751
|
function onClickToday() {
|
27726
|
-
model.value = [
|
27752
|
+
model.value = [adapter.date()];
|
27727
27753
|
}
|
27728
27754
|
const title = computed(() => {
|
27729
27755
|
return adapter.format(displayValue.value, 'monthAndYear');
|
@@ -27762,7 +27788,7 @@ const VCalendar = genericComponent()({
|
|
27762
27788
|
}, [chunkArray(daysInMonth.value, props.weekdays.length).map((week, wi) => [!props.hideWeekNumber ? createVNode("div", {
|
27763
27789
|
"class": "v-calendar-month__weeknumber"
|
27764
27790
|
}, [weekNumbers.value[wi]]) : '', week.map(day => createVNode(VCalendarMonthDay, {
|
27765
|
-
"color": adapter.isSameDay(
|
27791
|
+
"color": adapter.isSameDay(adapter.date(), day.date) ? 'primary' : undefined,
|
27766
27792
|
"day": day,
|
27767
27793
|
"title": day ? adapter.format(day.date, 'dayOfMonth') : 'NaN',
|
27768
27794
|
"events": props.events?.filter(e => adapter.isSameDay(day.date, e.start) || adapter.isSameDay(day.date, e.end))
|
@@ -30100,7 +30126,7 @@ function createVuetify$1() {
|
|
30100
30126
|
goTo
|
30101
30127
|
};
|
30102
30128
|
}
|
30103
|
-
const version$1 = "3.6.
|
30129
|
+
const version$1 = "3.6.7-master.2024-05-23";
|
30104
30130
|
createVuetify$1.version = version$1;
|
30105
30131
|
|
30106
30132
|
// Vue's inject() can only be used in setup
|
@@ -30353,7 +30379,7 @@ var index = /*#__PURE__*/Object.freeze({
|
|
30353
30379
|
|
30354
30380
|
/* eslint-disable local-rules/sort-imports */
|
30355
30381
|
|
30356
|
-
const version = "3.6.
|
30382
|
+
const version = "3.6.7-master.2024-05-23";
|
30357
30383
|
|
30358
30384
|
/* eslint-disable local-rules/sort-imports */
|
30359
30385
|
|