@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.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, createVNode, mergeProps, onBeforeUnmount, watch, nextTick, onDeactivated, onActivated, onScopeDispose, effectScope, toRaw, Suspense, TransitionGroup, Transition, 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
|
const IN_BROWSER = typeof window !== 'undefined';
|
10
10
|
const SUPPORTS_INTERSECTION = IN_BROWSER && 'IntersectionObserver' in window;
|
@@ -1251,6 +1251,53 @@ const makeComponentProps = propsFactory({
|
|
1251
1251
|
|
1252
1252
|
// Types
|
1253
1253
|
|
1254
|
+
function getCurrentInstance(name, message) {
|
1255
|
+
const vm = getCurrentInstance$1();
|
1256
|
+
if (!vm) {
|
1257
|
+
throw new Error(`[Vuetify] ${name} ${message || 'must be called from inside a setup function'}`);
|
1258
|
+
}
|
1259
|
+
return vm;
|
1260
|
+
}
|
1261
|
+
function getCurrentInstanceName() {
|
1262
|
+
let name = arguments.length > 0 && arguments[0] !== undefined ? arguments[0] : 'composables';
|
1263
|
+
const vm = getCurrentInstance(name).type;
|
1264
|
+
return toKebabCase(vm?.aliasName || vm?.name);
|
1265
|
+
}
|
1266
|
+
let _uid = 0;
|
1267
|
+
let _map = new WeakMap();
|
1268
|
+
function getUid() {
|
1269
|
+
const vm = getCurrentInstance('getUid');
|
1270
|
+
if (_map.has(vm)) return _map.get(vm);else {
|
1271
|
+
const uid = _uid++;
|
1272
|
+
_map.set(vm, uid);
|
1273
|
+
return uid;
|
1274
|
+
}
|
1275
|
+
}
|
1276
|
+
getUid.reset = () => {
|
1277
|
+
_uid = 0;
|
1278
|
+
_map = new WeakMap();
|
1279
|
+
};
|
1280
|
+
|
1281
|
+
// Utilities
|
1282
|
+
|
1283
|
+
// Types
|
1284
|
+
|
1285
|
+
function injectSelf(key) {
|
1286
|
+
let vm = arguments.length > 1 && arguments[1] !== undefined ? arguments[1] : getCurrentInstance('injectSelf');
|
1287
|
+
const {
|
1288
|
+
provides
|
1289
|
+
} = vm;
|
1290
|
+
if (provides && key in provides) {
|
1291
|
+
// TS doesn't allow symbol as index type
|
1292
|
+
return provides[key];
|
1293
|
+
}
|
1294
|
+
return undefined;
|
1295
|
+
}
|
1296
|
+
|
1297
|
+
// Utilities
|
1298
|
+
|
1299
|
+
// Types
|
1300
|
+
|
1254
1301
|
const DefaultsSymbol = Symbol.for('vuetify:defaults');
|
1255
1302
|
function createDefaults(options) {
|
1256
1303
|
return ref(options);
|
@@ -1313,7 +1360,7 @@ function internalUseDefaults() {
|
|
1313
1360
|
if (prop === 'class' || prop === 'style') {
|
1314
1361
|
return [componentDefaults.value?.[prop], propValue].filter(v => v != null);
|
1315
1362
|
} else if (typeof prop === 'string' && !propIsDefined(vm.vnode, prop)) {
|
1316
|
-
return componentDefaults.value?.[prop]
|
1363
|
+
return componentDefaults.value?.[prop] !== undefined ? componentDefaults.value?.[prop] : defaults.value?.global?.[prop] !== undefined ? defaults.value?.global?.[prop] : propValue;
|
1317
1364
|
}
|
1318
1365
|
return propValue;
|
1319
1366
|
}
|
@@ -1476,37 +1523,6 @@ function getPrefixedEventHandlers(attrs, suffix, getData) {
|
|
1476
1523
|
}, {});
|
1477
1524
|
}
|
1478
1525
|
|
1479
|
-
// Utilities
|
1480
|
-
|
1481
|
-
// Types
|
1482
|
-
|
1483
|
-
function getCurrentInstance(name, message) {
|
1484
|
-
const vm = getCurrentInstance$1();
|
1485
|
-
if (!vm) {
|
1486
|
-
throw new Error(`[Vuetify] ${name} ${message || 'must be called from inside a setup function'}`);
|
1487
|
-
}
|
1488
|
-
return vm;
|
1489
|
-
}
|
1490
|
-
function getCurrentInstanceName() {
|
1491
|
-
let name = arguments.length > 0 && arguments[0] !== undefined ? arguments[0] : 'composables';
|
1492
|
-
const vm = getCurrentInstance(name).type;
|
1493
|
-
return toKebabCase(vm?.aliasName || vm?.name);
|
1494
|
-
}
|
1495
|
-
let _uid = 0;
|
1496
|
-
let _map = new WeakMap();
|
1497
|
-
function getUid() {
|
1498
|
-
const vm = getCurrentInstance('getUid');
|
1499
|
-
if (_map.has(vm)) return _map.get(vm);else {
|
1500
|
-
const uid = _uid++;
|
1501
|
-
_map.set(vm, uid);
|
1502
|
-
return uid;
|
1503
|
-
}
|
1504
|
-
}
|
1505
|
-
getUid.reset = () => {
|
1506
|
-
_uid = 0;
|
1507
|
-
_map = new WeakMap();
|
1508
|
-
};
|
1509
|
-
|
1510
1526
|
function getScrollParent(el) {
|
1511
1527
|
let includeHidden = arguments.length > 1 && arguments[1] !== undefined ? arguments[1] : false;
|
1512
1528
|
while (el) {
|
@@ -1536,22 +1552,6 @@ function isPotentiallyScrollable(el) {
|
|
1536
1552
|
return ['scroll', 'auto'].includes(style.overflowY);
|
1537
1553
|
}
|
1538
1554
|
|
1539
|
-
// Utilities
|
1540
|
-
|
1541
|
-
// Types
|
1542
|
-
|
1543
|
-
function injectSelf(key) {
|
1544
|
-
let vm = arguments.length > 1 && arguments[1] !== undefined ? arguments[1] : getCurrentInstance('injectSelf');
|
1545
|
-
const {
|
1546
|
-
provides
|
1547
|
-
} = vm;
|
1548
|
-
if (provides && key in provides) {
|
1549
|
-
// TS doesn't allow symbol as index type
|
1550
|
-
return provides[key];
|
1551
|
-
}
|
1552
|
-
return undefined;
|
1553
|
-
}
|
1554
|
-
|
1555
1555
|
function isFixedPosition(el) {
|
1556
1556
|
while (el) {
|
1557
1557
|
if (window.getComputedStyle(el).position === 'fixed') {
|
@@ -3434,14 +3434,22 @@ const makeDimensionProps = propsFactory({
|
|
3434
3434
|
width: [Number, String]
|
3435
3435
|
}, 'dimension');
|
3436
3436
|
function useDimension(props) {
|
3437
|
-
const dimensionStyles = computed(() =>
|
3438
|
-
|
3439
|
-
|
3440
|
-
|
3441
|
-
|
3442
|
-
|
3443
|
-
|
3444
|
-
|
3437
|
+
const dimensionStyles = computed(() => {
|
3438
|
+
const styles = {};
|
3439
|
+
const height = convertToUnit(props.height);
|
3440
|
+
const maxHeight = convertToUnit(props.maxHeight);
|
3441
|
+
const maxWidth = convertToUnit(props.maxWidth);
|
3442
|
+
const minHeight = convertToUnit(props.minHeight);
|
3443
|
+
const minWidth = convertToUnit(props.minWidth);
|
3444
|
+
const width = convertToUnit(props.width);
|
3445
|
+
if (height != null) styles.height = height;
|
3446
|
+
if (maxHeight != null) styles.maxHeight = maxHeight;
|
3447
|
+
if (maxWidth != null) styles.maxWidth = maxWidth;
|
3448
|
+
if (minHeight != null) styles.minHeight = minHeight;
|
3449
|
+
if (minWidth != null) styles.minWidth = minWidth;
|
3450
|
+
if (width != null) styles.width = width;
|
3451
|
+
return styles;
|
3452
|
+
});
|
3445
3453
|
return {
|
3446
3454
|
dimensionStyles
|
3447
3455
|
};
|
@@ -9436,7 +9444,8 @@ const VListChildren = genericComponent()({
|
|
9436
9444
|
}) : createVNode(VListItem, listItemProps, slotsWithItem);
|
9437
9445
|
},
|
9438
9446
|
default: () => createVNode(VListChildren, {
|
9439
|
-
"items": children
|
9447
|
+
"items": children,
|
9448
|
+
"returnObject": props.returnObject
|
9440
9449
|
}, slots)
|
9441
9450
|
}) : slots.item ? slots.item({
|
9442
9451
|
props: itemProps
|
@@ -13119,7 +13128,7 @@ const VAutocomplete = genericComponent()({
|
|
13119
13128
|
if (['Escape'].includes(e.key)) {
|
13120
13129
|
menu.value = false;
|
13121
13130
|
}
|
13122
|
-
if (highlightFirst.value &&
|
13131
|
+
if (highlightFirst.value && e.key === 'Enter') {
|
13123
13132
|
select(displayItems.value[0]);
|
13124
13133
|
}
|
13125
13134
|
if (e.key === 'ArrowDown' && highlightFirst.value) {
|
@@ -13426,7 +13435,8 @@ const VAutocomplete = genericComponent()({
|
|
13426
13435
|
"onMousedown": onMousedownMenuIcon,
|
13427
13436
|
"onClick": noop,
|
13428
13437
|
"aria-label": t(label.value),
|
13429
|
-
"title": t(label.value)
|
13438
|
+
"title": t(label.value),
|
13439
|
+
"tabindex": "-1"
|
13430
13440
|
}, null) : undefined]);
|
13431
13441
|
}
|
13432
13442
|
});
|
@@ -16985,8 +16995,8 @@ const VCombobox = genericComponent()({
|
|
16985
16995
|
if (['Escape'].includes(e.key)) {
|
16986
16996
|
menu.value = false;
|
16987
16997
|
}
|
16988
|
-
if (['Enter', 'Escape'
|
16989
|
-
if (highlightFirst.value &&
|
16998
|
+
if (['Enter', 'Escape'].includes(e.key)) {
|
16999
|
+
if (highlightFirst.value && e.key === 'Enter') {
|
16990
17000
|
select(filteredItems.value[0]);
|
16991
17001
|
}
|
16992
17002
|
isPristine.value = true;
|
@@ -17294,7 +17304,8 @@ const VCombobox = genericComponent()({
|
|
17294
17304
|
"onMousedown": onMousedownMenuIcon,
|
17295
17305
|
"onClick": noop,
|
17296
17306
|
"aria-label": t(label.value),
|
17297
|
-
"title": t(label.value)
|
17307
|
+
"title": t(label.value),
|
17308
|
+
"tabindex": "-1"
|
17298
17309
|
}, null) : undefined]);
|
17299
17310
|
}
|
17300
17311
|
});
|
@@ -18806,7 +18817,7 @@ function useSort() {
|
|
18806
18817
|
function useSortedItems(props, items, sortBy, options) {
|
18807
18818
|
const locale = useLocale();
|
18808
18819
|
const sortedItems = computed(() => {
|
18809
|
-
if (!sortBy.value.length) return items.value;
|
18820
|
+
if (!sortBy.value.length || props.disableSort) return items.value;
|
18810
18821
|
return sortItems(items.value, sortBy.value, locale.current.value, {
|
18811
18822
|
transform: options?.transform,
|
18812
18823
|
sortFunctions: {
|
@@ -19866,6 +19877,7 @@ function useHeaders() {
|
|
19866
19877
|
const makeVDataTableHeadersProps = propsFactory({
|
19867
19878
|
color: String,
|
19868
19879
|
sticky: Boolean,
|
19880
|
+
disableSort: Boolean,
|
19869
19881
|
multiSort: Boolean,
|
19870
19882
|
sortAscIcon: {
|
19871
19883
|
type: IconValue,
|
@@ -19956,7 +19968,7 @@ const VDataTableHeaders = genericComponent()({
|
|
19956
19968
|
"tag": "th",
|
19957
19969
|
"align": column.align,
|
19958
19970
|
"class": [{
|
19959
|
-
'v-data-table__th--sortable': column.sortable,
|
19971
|
+
'v-data-table__th--sortable': column.sortable && !props.disableSort,
|
19960
19972
|
'v-data-table__th--sorted': isSorted(column),
|
19961
19973
|
'v-data-table__th--fixed': column.fixed
|
19962
19974
|
}, ...headerCellClasses.value],
|
@@ -19996,7 +20008,7 @@ const VDataTableHeaders = genericComponent()({
|
|
19996
20008
|
}
|
19997
20009
|
return createVNode("div", {
|
19998
20010
|
"class": "v-data-table-header__content"
|
19999
|
-
}, [createVNode("span", null, [column.title]), column.sortable && createVNode(VIcon, {
|
20011
|
+
}, [createVNode("span", null, [column.title]), column.sortable && !props.disableSort && createVNode(VIcon, {
|
20000
20012
|
"key": "icon",
|
20001
20013
|
"class": "v-data-table-header__sort-icon",
|
20002
20014
|
"icon": getSortIcon(column)
|
@@ -20011,7 +20023,7 @@ const VDataTableHeaders = genericComponent()({
|
|
20011
20023
|
const VDataTableMobileHeaderCell = () => {
|
20012
20024
|
const headerProps = mergeProps(props.headerProps ?? {} ?? {});
|
20013
20025
|
const displayItems = computed(() => {
|
20014
|
-
return columns.value.filter(column => column?.sortable);
|
20026
|
+
return columns.value.filter(column => column?.sortable && !props.disableSort);
|
20015
20027
|
});
|
20016
20028
|
const appendIcon = computed(() => {
|
20017
20029
|
const showSelectColumn = columns.value.find(column => column.key === 'data-table-select');
|
@@ -20507,6 +20519,7 @@ function useDataTableItems(props, columns) {
|
|
20507
20519
|
|
20508
20520
|
const makeDataTableProps = propsFactory({
|
20509
20521
|
...makeVDataTableRowsProps(),
|
20522
|
+
hideDefaultBody: Boolean,
|
20510
20523
|
hideDefaultFooter: Boolean,
|
20511
20524
|
hideDefaultHeader: Boolean,
|
20512
20525
|
width: [String, Number],
|
@@ -20693,7 +20706,7 @@ const VDataTable = genericComponent()({
|
|
20693
20706
|
top: () => slots.top?.(slotProps.value),
|
20694
20707
|
default: () => slots.default ? slots.default(slotProps.value) : createVNode(Fragment, null, [slots.colgroup?.(slotProps.value), !props.hideDefaultHeader && createVNode("thead", {
|
20695
20708
|
"key": "thead"
|
20696
|
-
}, [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, {
|
20709
|
+
}, [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, {
|
20697
20710
|
"items": paginatedItems.value
|
20698
20711
|
}), slots), slots['body.append']?.(slotProps.value)]), slots.tbody?.(slotProps.value), slots.tfoot?.(slotProps.value)]),
|
20699
20712
|
bottom: () => slots.bottom ? slots.bottom(slotProps.value) : !props.hideDefaultFooter && createVNode(Fragment, null, [createVNode(VDivider, null, null), createVNode(VDataTableFooter, dataTableFooterProps, {
|
@@ -20868,7 +20881,7 @@ const VDataTableVirtual = genericComponent()({
|
|
20868
20881
|
"key": "thead"
|
20869
20882
|
}, [createVNode(VDataTableHeaders, mergeProps(dataTableHeadersProps, {
|
20870
20883
|
"sticky": props.fixedHeader
|
20871
|
-
}), slots)]), createVNode("tbody", null, [createVNode("tr", {
|
20884
|
+
}), slots)]), !props.hideDefaultBody && createVNode("tbody", null, [createVNode("tr", {
|
20872
20885
|
"ref": markerRef,
|
20873
20886
|
"style": {
|
20874
20887
|
height: convertToUnit(paddingTop.value),
|
@@ -21077,7 +21090,7 @@ const VDataTableServer = genericComponent()({
|
|
21077
21090
|
"role": "rowgroup"
|
21078
21091
|
}, [createVNode(VDataTableHeaders, mergeProps(dataTableHeadersProps, {
|
21079
21092
|
"sticky": props.fixedHeader
|
21080
|
-
}), slots)]), slots.thead?.(slotProps.value), createVNode("tbody", {
|
21093
|
+
}), slots)]), slots.thead?.(slotProps.value), !props.hideDefaultBody && createVNode("tbody", {
|
21081
21094
|
"class": "v-data-table__tbody",
|
21082
21095
|
"role": "rowgroup"
|
21083
21096
|
}, [slots['body.prepend']?.(slotProps.value), slots.body ? slots.body(slotProps.value) : createVNode(VDataTableRows, mergeProps(attrs, dataTableRowsProps, {
|
@@ -21852,7 +21865,10 @@ const VDatePickerMonth = genericComponent()({
|
|
21852
21865
|
const makeVDatePickerMonthsProps = propsFactory({
|
21853
21866
|
color: String,
|
21854
21867
|
height: [String, Number],
|
21855
|
-
|
21868
|
+
min: null,
|
21869
|
+
max: null,
|
21870
|
+
modelValue: Number,
|
21871
|
+
year: Number
|
21856
21872
|
}, 'VDatePickerMonths');
|
21857
21873
|
const VDatePickerMonths = genericComponent()({
|
21858
21874
|
name: 'VDatePickerMonths',
|
@@ -21869,10 +21885,15 @@ const VDatePickerMonths = genericComponent()({
|
|
21869
21885
|
const model = useProxiedModel(props, 'modelValue');
|
21870
21886
|
const months = computed(() => {
|
21871
21887
|
let date = adapter.startOfYear(adapter.date());
|
21888
|
+
if (props.year) {
|
21889
|
+
date = adapter.setYear(date, props.year);
|
21890
|
+
}
|
21872
21891
|
return createRange(12).map(i => {
|
21873
21892
|
const text = adapter.format(date, 'monthShort');
|
21893
|
+
const isDisabled = !!(props.min && adapter.isAfter(adapter.startOfMonth(adapter.date(props.min)), date) || props.max && adapter.isAfter(date, adapter.startOfMonth(adapter.date(props.max))));
|
21874
21894
|
date = adapter.getNextMonth(date);
|
21875
21895
|
return {
|
21896
|
+
isDisabled,
|
21876
21897
|
text,
|
21877
21898
|
value: i
|
21878
21899
|
};
|
@@ -21892,6 +21913,7 @@ const VDatePickerMonths = genericComponent()({
|
|
21892
21913
|
const btnProps = {
|
21893
21914
|
active: model.value === i,
|
21894
21915
|
color: model.value === i ? props.color : undefined,
|
21916
|
+
disabled: month.isDisabled,
|
21895
21917
|
rounded: true,
|
21896
21918
|
text: month.text,
|
21897
21919
|
variant: model.value === month.value ? 'flat' : 'text',
|
@@ -22292,7 +22314,8 @@ const VDatePicker = genericComponent()({
|
|
22292
22314
|
"modelValue": month.value,
|
22293
22315
|
"onUpdate:modelValue": [$event => month.value = $event, onUpdateMonth],
|
22294
22316
|
"min": minDate.value,
|
22295
|
-
"max": maxDate.value
|
22317
|
+
"max": maxDate.value,
|
22318
|
+
"year": year.value
|
22296
22319
|
}), null) : viewMode.value === 'year' ? createVNode(VDatePickerYears, mergeProps({
|
22297
22320
|
"key": "date-picker-years"
|
22298
22321
|
}, datePickerYearsProps, {
|
@@ -22455,6 +22478,10 @@ const VEmptyState = genericComponent()({
|
|
22455
22478
|
}
|
22456
22479
|
});
|
22457
22480
|
|
22481
|
+
// Types
|
22482
|
+
|
22483
|
+
const VExpansionPanelSymbol = Symbol.for('vuetify:v-expansion-panel');
|
22484
|
+
|
22458
22485
|
const makeVExpansionPanelTextProps = propsFactory({
|
22459
22486
|
...makeComponentProps(),
|
22460
22487
|
...makeLazyProps()
|
@@ -22635,7 +22662,6 @@ const VExpansionPanel = genericComponent()({
|
|
22635
22662
|
|
22636
22663
|
// Types
|
22637
22664
|
|
22638
|
-
const VExpansionPanelSymbol = Symbol.for('vuetify:v-expansion-panel');
|
22639
22665
|
const allowedVariants = ['default', 'accordion', 'inset', 'popout'];
|
22640
22666
|
const makeVExpansionPanelsProps = propsFactory({
|
22641
22667
|
flat: Boolean,
|
@@ -25979,6 +26005,10 @@ const VSpeedDial = genericComponent()({
|
|
25979
26005
|
|
25980
26006
|
// Types
|
25981
26007
|
|
26008
|
+
const VStepperSymbol = Symbol.for('vuetify:v-stepper');
|
26009
|
+
|
26010
|
+
// Types
|
26011
|
+
|
25982
26012
|
const makeVStepperActionsProps = propsFactory({
|
25983
26013
|
color: String,
|
25984
26014
|
disabled: {
|
@@ -26166,9 +26196,6 @@ const VStepperItem = genericComponent()({
|
|
26166
26196
|
}
|
26167
26197
|
});
|
26168
26198
|
|
26169
|
-
// Types
|
26170
|
-
|
26171
|
-
const VStepperSymbol$1 = Symbol.for('vuetify:v-stepper');
|
26172
26199
|
const makeVStepperWindowProps = propsFactory({
|
26173
26200
|
...omit(makeVWindowProps(), ['continuous', 'nextIcon', 'prevIcon', 'showArrows', 'touch', 'mandatory'])
|
26174
26201
|
}, 'VStepperWindow');
|
@@ -26182,7 +26209,7 @@ const VStepperWindow = genericComponent()({
|
|
26182
26209
|
let {
|
26183
26210
|
slots
|
26184
26211
|
} = _ref;
|
26185
|
-
const group = inject$1(VStepperSymbol
|
26212
|
+
const group = inject$1(VStepperSymbol, null);
|
26186
26213
|
const _model = useProxiedModel(props, 'modelValue');
|
26187
26214
|
const model = computed({
|
26188
26215
|
get() {
|
@@ -26240,7 +26267,6 @@ const VStepperWindowItem = genericComponent()({
|
|
26240
26267
|
|
26241
26268
|
// Types
|
26242
26269
|
|
26243
|
-
const VStepperSymbol = Symbol.for('vuetify:v-stepper');
|
26244
26270
|
const makeStepperProps = propsFactory({
|
26245
26271
|
altLabels: Boolean,
|
26246
26272
|
bgColor: String,
|
@@ -28010,7 +28036,7 @@ function createVuetify$1() {
|
|
28010
28036
|
goTo
|
28011
28037
|
};
|
28012
28038
|
}
|
28013
|
-
const version$1 = "3.6.
|
28039
|
+
const version$1 = "3.6.7-master.2024-05-23";
|
28014
28040
|
createVuetify$1.version = version$1;
|
28015
28041
|
|
28016
28042
|
// Vue's inject() can only be used in setup
|
@@ -28035,7 +28061,7 @@ const createVuetify = function () {
|
|
28035
28061
|
...options
|
28036
28062
|
});
|
28037
28063
|
};
|
28038
|
-
const version = "3.6.
|
28064
|
+
const version = "3.6.7-master.2024-05-23";
|
28039
28065
|
createVuetify.version = version;
|
28040
28066
|
|
28041
28067
|
export { index as blueprints, components, createVuetify, directives, useDate, useDefaults, useDisplay, useGoTo, useLayout, useLocale, useRtl, useTheme, version };
|