vuetify 3.6.11 → 3.6.12
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 +58 -70
- package/dist/json/importMap-labs.json +16 -16
- package/dist/json/importMap.json +162 -162
- package/dist/json/tags.json +4 -7
- package/dist/json/web-types.json +98 -117
- package/dist/vuetify-labs.css +1863 -1841
- package/dist/vuetify-labs.d.ts +640 -751
- package/dist/vuetify-labs.esm.js +88 -76
- package/dist/vuetify-labs.esm.js.map +1 -1
- package/dist/vuetify-labs.js +88 -76
- package/dist/vuetify-labs.min.css +2 -2
- package/dist/vuetify.css +2936 -2914
- package/dist/vuetify.d.ts +617 -710
- package/dist/vuetify.esm.js +71 -60
- package/dist/vuetify.esm.js.map +1 -1
- package/dist/vuetify.js +71 -60
- package/dist/vuetify.js.map +1 -1
- package/dist/vuetify.min.css +2 -2
- package/dist/vuetify.min.js +62 -57
- package/dist/vuetify.min.js.map +1 -1
- package/lib/blueprints/index.d.mts +3 -3
- package/lib/blueprints/md1.d.mts +3 -3
- package/lib/blueprints/md2.d.mts +3 -3
- package/lib/blueprints/md3.d.mts +3 -3
- package/lib/components/VAutocomplete/index.d.mts +25 -31
- package/lib/components/VBottomSheet/index.d.mts +10 -10
- package/lib/components/VCheckbox/index.d.mts +2 -8
- package/lib/components/VCombobox/index.d.mts +25 -31
- package/lib/components/VDataTable/VDataTableFooter.mjs +5 -4
- package/lib/components/VDataTable/VDataTableFooter.mjs.map +1 -1
- package/lib/components/VDataTable/index.d.mts +108 -108
- package/lib/components/VDatePicker/VDatePickerControls.mjs +5 -4
- package/lib/components/VDatePicker/VDatePickerControls.mjs.map +1 -1
- package/lib/components/VDatePicker/VDatePickerMonth.mjs +1 -1
- package/lib/components/VDatePicker/VDatePickerMonth.mjs.map +1 -1
- package/lib/components/VDatePicker/index.d.mts +70 -55
- package/lib/components/VDialog/index.d.mts +28 -28
- package/lib/components/VExpansionPanel/VExpansionPanels.mjs +6 -2
- package/lib/components/VExpansionPanel/VExpansionPanels.mjs.map +1 -1
- package/lib/components/VExpansionPanel/index.d.mts +48 -66
- package/lib/components/VField/VField.css +11 -6
- package/lib/components/VField/VField.mjs +5 -7
- package/lib/components/VField/VField.mjs.map +1 -1
- package/lib/components/VField/VField.sass +6 -2
- package/lib/components/VField/index.d.mts +6 -12
- package/lib/components/VFileInput/index.d.mts +6 -12
- package/lib/components/VInput/VInput.css +5 -5
- package/lib/components/VInput/VInput.mjs +1 -4
- package/lib/components/VInput/VInput.mjs.map +1 -1
- package/lib/components/VInput/VInput.sass +1 -1
- package/lib/components/VInput/index.d.mts +2 -8
- package/lib/components/VMenu/index.d.mts +32 -32
- package/lib/components/VOverlay/VOverlay.mjs +7 -2
- package/lib/components/VOverlay/VOverlay.mjs.map +1 -1
- package/lib/components/VOverlay/index.d.mts +10 -10
- package/lib/components/VOverlay/locationStrategies.mjs.map +1 -1
- package/lib/components/VProgressLinear/VProgressLinear.css +17 -0
- package/lib/components/VProgressLinear/VProgressLinear.mjs +6 -5
- package/lib/components/VProgressLinear/VProgressLinear.mjs.map +1 -1
- package/lib/components/VProgressLinear/VProgressLinear.sass +11 -0
- package/lib/components/VRadio/VRadio.mjs +8 -5
- package/lib/components/VRadio/VRadio.mjs.map +1 -1
- package/lib/components/VRadioGroup/index.d.mts +2 -8
- package/lib/components/VRangeSlider/index.d.mts +2 -8
- package/lib/components/VSelect/index.d.mts +25 -31
- package/lib/components/VSlider/index.d.mts +2 -8
- package/lib/components/VSnackbar/index.d.mts +28 -28
- package/lib/components/VSpeedDial/index.d.mts +14 -14
- package/lib/components/VSwitch/index.d.mts +2 -8
- package/lib/components/VTextField/VTextField.mjs +1 -1
- package/lib/components/VTextField/VTextField.mjs.map +1 -1
- package/lib/components/VTextField/index.d.mts +18 -24
- package/lib/components/VTextarea/VTextarea.mjs +5 -5
- package/lib/components/VTextarea/VTextarea.mjs.map +1 -1
- package/lib/components/VTextarea/index.d.mts +72 -87
- package/lib/components/VTooltip/index.d.mts +32 -32
- package/lib/components/index.d.mts +646 -739
- package/lib/composables/calendar.mjs +10 -4
- package/lib/composables/calendar.mjs.map +1 -1
- package/lib/composables/date/DateAdapter.mjs.map +1 -1
- package/lib/composables/date/adapters/vuetify.mjs +15 -13
- package/lib/composables/date/adapters/vuetify.mjs.map +1 -1
- package/lib/composables/teleport.mjs +2 -2
- package/lib/composables/teleport.mjs.map +1 -1
- package/lib/entry-bundler.mjs +1 -1
- package/lib/framework.mjs +1 -1
- package/lib/index.d.mts +61 -61
- package/lib/labs/VCalendar/VCalendar.mjs +7 -6
- package/lib/labs/VCalendar/VCalendar.mjs.map +1 -1
- package/lib/labs/VCalendar/index.d.mts +6 -0
- package/lib/labs/VDateInput/index.d.mts +39 -39
- package/lib/labs/VNumberInput/VNumberInput.mjs +1 -1
- package/lib/labs/VNumberInput/VNumberInput.mjs.map +1 -1
- package/lib/labs/VNumberInput/index.d.mts +6 -12
- package/lib/labs/VSnackbarQueue/index.d.mts +37 -37
- package/lib/labs/VStepperVertical/index.d.mts +0 -18
- package/lib/labs/VTimePicker/VTimePicker.mjs +5 -5
- package/lib/labs/VTimePicker/VTimePicker.mjs.map +1 -1
- package/lib/labs/VTimePicker/VTimePickerClock.mjs +2 -2
- package/lib/labs/VTimePicker/VTimePickerClock.mjs.map +1 -1
- package/lib/labs/VTimePicker/VTimePickerControls.mjs +2 -2
- package/lib/labs/VTimePicker/VTimePickerControls.mjs.map +1 -1
- package/lib/labs/VTimePicker/index.d.mts +18 -18
- package/lib/labs/components.d.mts +106 -124
- package/package.json +2 -2
package/dist/vuetify-labs.js
CHANGED
|
@@ -1,5 +1,5 @@
|
|
|
1
1
|
/*!
|
|
2
|
-
* Vuetify v3.6.
|
|
2
|
+
* Vuetify v3.6.12
|
|
3
3
|
* Forged by John Leider
|
|
4
4
|
* Released under the MIT License.
|
|
5
5
|
*/
|
|
@@ -4980,6 +4980,7 @@
|
|
|
4980
4980
|
const normalizedValue = vue.computed(() => clamp(parseFloat(progress.value) / max.value * 100, 0, 100));
|
|
4981
4981
|
const isReversed = vue.computed(() => isRtl.value !== props.reverse);
|
|
4982
4982
|
const transition = vue.computed(() => props.indeterminate ? 'fade-transition' : 'slide-x-transition');
|
|
4983
|
+
const isForcedColorsModeActive = IN_BROWSER && window.matchMedia?.('(forced-colors: active)').matches;
|
|
4983
4984
|
function handleClick(e) {
|
|
4984
4985
|
if (!intersectionRef.value) return;
|
|
4985
4986
|
const {
|
|
@@ -5027,13 +5028,13 @@
|
|
|
5027
5028
|
'--v-progress-linear-stream-to': convertToUnit(height.value * (isReversed.value ? 1 : -1))
|
|
5028
5029
|
}
|
|
5029
5030
|
}, null), vue.createVNode("div", {
|
|
5030
|
-
"class": ['v-progress-linear__background', backgroundColorClasses.value],
|
|
5031
|
+
"class": ['v-progress-linear__background', !isForcedColorsModeActive ? backgroundColorClasses.value : undefined],
|
|
5031
5032
|
"style": [backgroundColorStyles.value, {
|
|
5032
5033
|
opacity: parseFloat(props.bgOpacity),
|
|
5033
5034
|
width: props.stream ? 0 : undefined
|
|
5034
5035
|
}]
|
|
5035
5036
|
}, null), vue.createVNode("div", {
|
|
5036
|
-
"class": ['v-progress-linear__buffer', bufferColorClasses.value],
|
|
5037
|
+
"class": ['v-progress-linear__buffer', !isForcedColorsModeActive ? bufferColorClasses.value : undefined],
|
|
5037
5038
|
"style": [bufferColorStyles.value, {
|
|
5038
5039
|
opacity: parseFloat(props.bufferOpacity),
|
|
5039
5040
|
width: convertToUnit(normalizedBuffer.value, '%')
|
|
@@ -5042,7 +5043,7 @@
|
|
|
5042
5043
|
"name": transition.value
|
|
5043
5044
|
}, {
|
|
5044
5045
|
default: () => [!props.indeterminate ? vue.createVNode("div", {
|
|
5045
|
-
"class": ['v-progress-linear__determinate', barColorClasses.value],
|
|
5046
|
+
"class": ['v-progress-linear__determinate', !isForcedColorsModeActive ? barColorClasses.value : undefined],
|
|
5046
5047
|
"style": [barColorStyles.value, {
|
|
5047
5048
|
width: convertToUnit(normalizedValue.value, '%')
|
|
5048
5049
|
}]
|
|
@@ -5050,7 +5051,7 @@
|
|
|
5050
5051
|
"class": "v-progress-linear__indeterminate"
|
|
5051
5052
|
}, [['long', 'short'].map(bar => vue.createVNode("div", {
|
|
5052
5053
|
"key": bar,
|
|
5053
|
-
"class": ['v-progress-linear__indeterminate', bar, barColorClasses.value],
|
|
5054
|
+
"class": ['v-progress-linear__indeterminate', bar, !isForcedColorsModeActive ? barColorClasses.value : undefined],
|
|
5054
5055
|
"style": barColorStyles.value
|
|
5055
5056
|
}, null))])]
|
|
5056
5057
|
}), slots.default && vue.createVNode("div", {
|
|
@@ -6810,10 +6811,7 @@
|
|
|
6810
6811
|
const makeVInputProps = propsFactory({
|
|
6811
6812
|
id: String,
|
|
6812
6813
|
appendIcon: IconValue,
|
|
6813
|
-
centerAffix:
|
|
6814
|
-
type: Boolean,
|
|
6815
|
-
default: true
|
|
6816
|
-
},
|
|
6814
|
+
centerAffix: Boolean,
|
|
6817
6815
|
prependIcon: IconValue,
|
|
6818
6816
|
hideDetails: [Boolean, String],
|
|
6819
6817
|
hideSpinButtons: Boolean,
|
|
@@ -10604,12 +10602,9 @@
|
|
|
10604
10602
|
}
|
|
10605
10603
|
|
|
10606
10604
|
// Utilities
|
|
10607
|
-
|
|
10608
|
-
// Types
|
|
10609
|
-
|
|
10610
10605
|
function useTeleport(target) {
|
|
10611
10606
|
const teleportTarget = vue.computed(() => {
|
|
10612
|
-
const _target = target
|
|
10607
|
+
const _target = target();
|
|
10613
10608
|
if (_target === true || !IN_BROWSER) return undefined;
|
|
10614
10609
|
const targetElement = _target === false ? document.body : typeof _target === 'string' ? document.querySelector(_target) : _target;
|
|
10615
10610
|
if (targetElement == null) {
|
|
@@ -10830,10 +10825,15 @@
|
|
|
10830
10825
|
isActive,
|
|
10831
10826
|
isTop: localTop
|
|
10832
10827
|
});
|
|
10833
|
-
const potentialShadowDomRoot = vue.computed(() => activatorEl?.value?.getRootNode());
|
|
10834
10828
|
const {
|
|
10835
10829
|
teleportTarget
|
|
10836
|
-
} = useTeleport(
|
|
10830
|
+
} = useTeleport(() => {
|
|
10831
|
+
const target = props.attach || props.contained;
|
|
10832
|
+
if (target) return target;
|
|
10833
|
+
const rootNode = activatorEl?.value?.getRootNode();
|
|
10834
|
+
if (rootNode instanceof ShadowRoot) return rootNode;
|
|
10835
|
+
return false;
|
|
10836
|
+
});
|
|
10837
10837
|
const {
|
|
10838
10838
|
dimensionStyles
|
|
10839
10839
|
} = useDimension(props);
|
|
@@ -11326,10 +11326,7 @@
|
|
|
11326
11326
|
default: '$clear'
|
|
11327
11327
|
},
|
|
11328
11328
|
active: Boolean,
|
|
11329
|
-
centerAffix:
|
|
11330
|
-
type: Boolean,
|
|
11331
|
-
default: undefined
|
|
11332
|
-
},
|
|
11329
|
+
centerAffix: Boolean,
|
|
11333
11330
|
color: String,
|
|
11334
11331
|
baseColor: String,
|
|
11335
11332
|
dirty: Boolean,
|
|
@@ -11396,8 +11393,9 @@
|
|
|
11396
11393
|
const {
|
|
11397
11394
|
rtlClasses
|
|
11398
11395
|
} = useRtl();
|
|
11396
|
+
const isSingleLine = vue.computed(() => props.singleLine || props.centerAffix);
|
|
11399
11397
|
const isActive = vue.computed(() => props.dirty || props.active);
|
|
11400
|
-
const hasLabel = vue.computed(() => !
|
|
11398
|
+
const hasLabel = vue.computed(() => !isSingleLine.value && !!(props.label || slots.label));
|
|
11401
11399
|
const uid = getUid();
|
|
11402
11400
|
const id = vue.computed(() => props.id || `input-${uid}`);
|
|
11403
11401
|
const messagesId = vue.computed(() => `${id.value}-messages`);
|
|
@@ -11486,7 +11484,7 @@
|
|
|
11486
11484
|
"class": ['v-field', {
|
|
11487
11485
|
'v-field--active': isActive.value,
|
|
11488
11486
|
'v-field--appended': hasAppend,
|
|
11489
|
-
'v-field--center-affix': props.centerAffix
|
|
11487
|
+
'v-field--center-affix': props.centerAffix,
|
|
11490
11488
|
'v-field--disabled': props.disabled,
|
|
11491
11489
|
'v-field--dirty': props.dirty,
|
|
11492
11490
|
'v-field--error': props.error,
|
|
@@ -11495,7 +11493,7 @@
|
|
|
11495
11493
|
'v-field--persistent-clear': props.persistentClear,
|
|
11496
11494
|
'v-field--prepended': hasPrepend,
|
|
11497
11495
|
'v-field--reverse': props.reverse,
|
|
11498
|
-
'v-field--single-line':
|
|
11496
|
+
'v-field--single-line': isSingleLine.value,
|
|
11499
11497
|
'v-field--no-label': !label(),
|
|
11500
11498
|
[`v-field--variant-${props.variant}`]: true
|
|
11501
11499
|
}, themeClasses.value, backgroundColorClasses.value, focusClasses.value, loaderClasses.value, roundedClasses.value, rtlClasses.value, props.class],
|
|
@@ -11730,7 +11728,6 @@
|
|
|
11730
11728
|
}, props.class],
|
|
11731
11729
|
"style": props.style
|
|
11732
11730
|
}, rootAttrs, inputProps, {
|
|
11733
|
-
"centerAffix": !isPlainOrUnderlined.value,
|
|
11734
11731
|
"focused": isFocused.value
|
|
11735
11732
|
}), {
|
|
11736
11733
|
...slots,
|
|
@@ -11756,6 +11753,7 @@
|
|
|
11756
11753
|
"dirty": isDirty.value || props.dirty,
|
|
11757
11754
|
"disabled": isDisabled.value,
|
|
11758
11755
|
"focused": isFocused.value,
|
|
11756
|
+
"centerAffix": props.centerAffix,
|
|
11759
11757
|
"error": isValid.value === false
|
|
11760
11758
|
}), {
|
|
11761
11759
|
...slots,
|
|
@@ -17273,13 +17271,14 @@
|
|
|
17273
17271
|
ZA: 0,
|
|
17274
17272
|
ZW: 0
|
|
17275
17273
|
};
|
|
17276
|
-
function getWeekArray(date, locale) {
|
|
17274
|
+
function getWeekArray(date, locale, firstDayOfWeek) {
|
|
17277
17275
|
const weeks = [];
|
|
17278
17276
|
let currentWeek = [];
|
|
17279
17277
|
const firstDayOfMonth = startOfMonth(date);
|
|
17280
17278
|
const lastDayOfMonth = endOfMonth(date);
|
|
17281
|
-
const
|
|
17282
|
-
const
|
|
17279
|
+
const first = firstDayOfWeek ?? firstDay[locale.slice(-2).toUpperCase()] ?? 0;
|
|
17280
|
+
const firstDayWeekIndex = (firstDayOfMonth.getDay() - first + 7) % 7;
|
|
17281
|
+
const lastDayWeekIndex = (lastDayOfMonth.getDay() - first + 7) % 7;
|
|
17283
17282
|
for (let i = 0; i < firstDayWeekIndex; i++) {
|
|
17284
17283
|
const adjacentDay = new Date(firstDayOfMonth);
|
|
17285
17284
|
adjacentDay.setDate(adjacentDay.getDate() - (firstDayWeekIndex - i));
|
|
@@ -17307,9 +17306,10 @@
|
|
|
17307
17306
|
}
|
|
17308
17307
|
return weeks;
|
|
17309
17308
|
}
|
|
17310
|
-
function startOfWeek(date, locale) {
|
|
17309
|
+
function startOfWeek(date, locale, firstDayOfWeek) {
|
|
17310
|
+
const day = firstDayOfWeek ?? firstDay[locale.slice(-2).toUpperCase()] ?? 0;
|
|
17311
17311
|
const d = new Date(date);
|
|
17312
|
-
while (d.getDay() !==
|
|
17312
|
+
while (d.getDay() !== day) {
|
|
17313
17313
|
d.setDate(d.getDate() - 1);
|
|
17314
17314
|
}
|
|
17315
17315
|
return d;
|
|
@@ -17350,8 +17350,8 @@
|
|
|
17350
17350
|
return null;
|
|
17351
17351
|
}
|
|
17352
17352
|
const sundayJanuarySecond2000 = new Date(2000, 0, 2);
|
|
17353
|
-
function getWeekdays(locale) {
|
|
17354
|
-
const daysFromSunday = firstDay[locale.slice(-2).toUpperCase()];
|
|
17353
|
+
function getWeekdays(locale, firstDayOfWeek) {
|
|
17354
|
+
const daysFromSunday = firstDayOfWeek ?? firstDay[locale.slice(-2).toUpperCase()] ?? 0;
|
|
17355
17355
|
return createRange(7).map(i => {
|
|
17356
17356
|
const weekday = new Date(sundayJanuarySecond2000);
|
|
17357
17357
|
weekday.setDate(sundayJanuarySecond2000.getDate() + daysFromSunday + i);
|
|
@@ -17749,11 +17749,11 @@
|
|
|
17749
17749
|
addMonths(date, amount) {
|
|
17750
17750
|
return addMonths(date, amount);
|
|
17751
17751
|
}
|
|
17752
|
-
getWeekArray(date) {
|
|
17753
|
-
return getWeekArray(date, this.locale);
|
|
17752
|
+
getWeekArray(date, firstDayOfWeek) {
|
|
17753
|
+
return getWeekArray(date, this.locale, firstDayOfWeek ? Number(firstDayOfWeek) : undefined);
|
|
17754
17754
|
}
|
|
17755
|
-
startOfWeek(date) {
|
|
17756
|
-
return startOfWeek(date, this.locale);
|
|
17755
|
+
startOfWeek(date, firstDayOfWeek) {
|
|
17756
|
+
return startOfWeek(date, this.locale, firstDayOfWeek ? Number(firstDayOfWeek) : undefined);
|
|
17757
17757
|
}
|
|
17758
17758
|
endOfWeek(date) {
|
|
17759
17759
|
return endOfWeek(date, this.locale);
|
|
@@ -17812,8 +17812,8 @@
|
|
|
17812
17812
|
getDiff(date, comparing, unit) {
|
|
17813
17813
|
return getDiff(date, comparing, unit);
|
|
17814
17814
|
}
|
|
17815
|
-
getWeekdays() {
|
|
17816
|
-
return getWeekdays(this.locale);
|
|
17815
|
+
getWeekdays(firstDayOfWeek) {
|
|
17816
|
+
return getWeekdays(this.locale, firstDayOfWeek ? Number(firstDayOfWeek) : undefined);
|
|
17817
17817
|
}
|
|
17818
17818
|
getYear(date) {
|
|
17819
17819
|
return getYear(date);
|
|
@@ -19234,19 +19234,19 @@
|
|
|
19234
19234
|
|
|
19235
19235
|
const makeVDataTableFooterProps = propsFactory({
|
|
19236
19236
|
prevIcon: {
|
|
19237
|
-
type:
|
|
19237
|
+
type: IconValue,
|
|
19238
19238
|
default: '$prev'
|
|
19239
19239
|
},
|
|
19240
19240
|
nextIcon: {
|
|
19241
|
-
type:
|
|
19241
|
+
type: IconValue,
|
|
19242
19242
|
default: '$next'
|
|
19243
19243
|
},
|
|
19244
19244
|
firstIcon: {
|
|
19245
|
-
type:
|
|
19245
|
+
type: IconValue,
|
|
19246
19246
|
default: '$first'
|
|
19247
19247
|
},
|
|
19248
19248
|
lastIcon: {
|
|
19249
|
-
type:
|
|
19249
|
+
type: IconValue,
|
|
19250
19250
|
default: '$last'
|
|
19251
19251
|
},
|
|
19252
19252
|
itemsPerPageText: {
|
|
@@ -21181,15 +21181,15 @@
|
|
|
21181
21181
|
default: false
|
|
21182
21182
|
},
|
|
21183
21183
|
nextIcon: {
|
|
21184
|
-
type:
|
|
21184
|
+
type: IconValue,
|
|
21185
21185
|
default: '$next'
|
|
21186
21186
|
},
|
|
21187
21187
|
prevIcon: {
|
|
21188
|
-
type:
|
|
21188
|
+
type: IconValue,
|
|
21189
21189
|
default: '$prev'
|
|
21190
21190
|
},
|
|
21191
21191
|
modeIcon: {
|
|
21192
|
-
type:
|
|
21192
|
+
type: IconValue,
|
|
21193
21193
|
default: '$subgroup'
|
|
21194
21194
|
},
|
|
21195
21195
|
text: String,
|
|
@@ -21375,7 +21375,8 @@
|
|
|
21375
21375
|
weeksInMonth: {
|
|
21376
21376
|
type: String,
|
|
21377
21377
|
default: 'dynamic'
|
|
21378
|
-
}
|
|
21378
|
+
},
|
|
21379
|
+
firstDayOfWeek: [Number, String]
|
|
21379
21380
|
}, 'calendar');
|
|
21380
21381
|
function useCalendar(props) {
|
|
21381
21382
|
const adapter = useDate();
|
|
@@ -21396,8 +21397,12 @@
|
|
|
21396
21397
|
const date = adapter.setYear(adapter.startOfMonth(adapter.date()), adapter.getYear(year.value));
|
|
21397
21398
|
return adapter.setMonth(date, value);
|
|
21398
21399
|
}, v => adapter.getMonth(v));
|
|
21400
|
+
const weekDays = vue.computed(() => {
|
|
21401
|
+
const firstDayOfWeek = Number(props.firstDayOfWeek ?? 0);
|
|
21402
|
+
return props.weekdays.map(day => (day + firstDayOfWeek) % 7);
|
|
21403
|
+
});
|
|
21399
21404
|
const weeksInMonth = vue.computed(() => {
|
|
21400
|
-
const weeks = adapter.getWeekArray(month.value);
|
|
21405
|
+
const weeks = adapter.getWeekArray(month.value, props.firstDayOfWeek);
|
|
21401
21406
|
const days = weeks.flat();
|
|
21402
21407
|
|
|
21403
21408
|
// Make sure there's always 6 weeks in month (6 * 7 days)
|
|
@@ -21418,7 +21423,7 @@
|
|
|
21418
21423
|
});
|
|
21419
21424
|
function genDays(days, today) {
|
|
21420
21425
|
return days.filter(date => {
|
|
21421
|
-
return
|
|
21426
|
+
return weekDays.value.includes(adapter.toJsDate(date).getDay());
|
|
21422
21427
|
}).map((date, index) => {
|
|
21423
21428
|
const isoDate = adapter.toISO(date);
|
|
21424
21429
|
const isAdjacent = !adapter.isSameMonth(date, month.value);
|
|
@@ -21446,7 +21451,7 @@
|
|
|
21446
21451
|
});
|
|
21447
21452
|
}
|
|
21448
21453
|
const daysInWeek = vue.computed(() => {
|
|
21449
|
-
const lastDay = adapter.startOfWeek(displayValue.value);
|
|
21454
|
+
const lastDay = adapter.startOfWeek(displayValue.value, props.firstDayOfWeek);
|
|
21450
21455
|
const week = [];
|
|
21451
21456
|
for (let day = 0; day <= 6; day++) {
|
|
21452
21457
|
week.push(adapter.addDays(lastDay, day));
|
|
@@ -21484,6 +21489,7 @@
|
|
|
21484
21489
|
genDays,
|
|
21485
21490
|
model,
|
|
21486
21491
|
weeksInMonth,
|
|
21492
|
+
weekDays,
|
|
21487
21493
|
weekNumbers
|
|
21488
21494
|
};
|
|
21489
21495
|
}
|
|
@@ -21614,7 +21620,7 @@
|
|
|
21614
21620
|
"ref": daysRef,
|
|
21615
21621
|
"key": daysInMonth.value[0].date?.toString(),
|
|
21616
21622
|
"class": "v-date-picker-month__days"
|
|
21617
|
-
}, [!props.hideWeekdays && adapter.getWeekdays().map(weekDay => vue.createVNode("div", {
|
|
21623
|
+
}, [!props.hideWeekdays && adapter.getWeekdays(props.firstDayOfWeek).map(weekDay => vue.createVNode("div", {
|
|
21618
21624
|
"class": ['v-date-picker-month__day', 'v-date-picker-month__weekday']
|
|
21619
21625
|
}, [weekDay])), daysInMonth.value.map((item, i) => {
|
|
21620
21626
|
const slotProps = {
|
|
@@ -22484,8 +22490,10 @@
|
|
|
22484
22490
|
const makeVExpansionPanelsProps = propsFactory({
|
|
22485
22491
|
flat: Boolean,
|
|
22486
22492
|
...makeGroupProps(),
|
|
22487
|
-
...makeVExpansionPanelProps(),
|
|
22493
|
+
...pick(makeVExpansionPanelProps(), ['bgColor', 'collapseIcon', 'color', 'eager', 'elevation', 'expandIcon', 'focusable', 'hideActions', 'readonly', 'ripple', 'rounded', 'tile', 'static']),
|
|
22488
22494
|
...makeThemeProps(),
|
|
22495
|
+
...makeComponentProps(),
|
|
22496
|
+
...makeTagProps(),
|
|
22489
22497
|
variant: {
|
|
22490
22498
|
type: String,
|
|
22491
22499
|
default: 'default',
|
|
@@ -24442,11 +24450,14 @@
|
|
|
24442
24450
|
let {
|
|
24443
24451
|
slots
|
|
24444
24452
|
} = _ref;
|
|
24445
|
-
useRender(() =>
|
|
24446
|
-
|
|
24447
|
-
|
|
24448
|
-
|
|
24449
|
-
|
|
24453
|
+
useRender(() => {
|
|
24454
|
+
const controlProps = VSelectionControl.filterProps(props);
|
|
24455
|
+
return vue.createVNode(VSelectionControl, vue.mergeProps(controlProps, {
|
|
24456
|
+
"class": ['v-radio', props.class],
|
|
24457
|
+
"style": props.style,
|
|
24458
|
+
"type": "radio"
|
|
24459
|
+
}), slots);
|
|
24460
|
+
});
|
|
24450
24461
|
return {};
|
|
24451
24462
|
}
|
|
24452
24463
|
});
|
|
@@ -26769,8 +26780,8 @@
|
|
|
26769
26780
|
},
|
|
26770
26781
|
suffix: String,
|
|
26771
26782
|
modelModifiers: Object,
|
|
26772
|
-
...makeVInputProps(),
|
|
26773
|
-
...makeVFieldProps()
|
|
26783
|
+
...omit(makeVInputProps(), ['centerAffix']),
|
|
26784
|
+
...omit(makeVFieldProps(), ['centerAffix'])
|
|
26774
26785
|
}, 'VTextarea');
|
|
26775
26786
|
const VTextarea = genericComponent()({
|
|
26776
26787
|
name: 'VTextarea',
|
|
@@ -26909,7 +26920,7 @@
|
|
|
26909
26920
|
}, props.class],
|
|
26910
26921
|
"style": props.style
|
|
26911
26922
|
}, rootAttrs, inputProps, {
|
|
26912
|
-
"centerAffix":
|
|
26923
|
+
"centerAffix": false,
|
|
26913
26924
|
"focused": isFocused.value
|
|
26914
26925
|
}), {
|
|
26915
26926
|
...slots,
|
|
@@ -26934,7 +26945,7 @@
|
|
|
26934
26945
|
}, fieldProps, {
|
|
26935
26946
|
"id": id.value,
|
|
26936
26947
|
"active": isActive.value || isDirty.value,
|
|
26937
|
-
"centerAffix":
|
|
26948
|
+
"centerAffix": false,
|
|
26938
26949
|
"dirty": isDirty.value || props.dirty,
|
|
26939
26950
|
"disabled": isDisabled.value,
|
|
26940
26951
|
"focused": isFocused.value,
|
|
@@ -27786,7 +27797,8 @@
|
|
|
27786
27797
|
genDays,
|
|
27787
27798
|
model,
|
|
27788
27799
|
displayValue,
|
|
27789
|
-
weekNumbers
|
|
27800
|
+
weekNumbers,
|
|
27801
|
+
weekDays
|
|
27790
27802
|
} = useCalendar(props);
|
|
27791
27803
|
const dayNames = adapter.getWeekdays();
|
|
27792
27804
|
function onClickNext() {
|
|
@@ -27836,19 +27848,19 @@
|
|
|
27836
27848
|
}), null) : slots.header({
|
|
27837
27849
|
title: title.value
|
|
27838
27850
|
}))]), vue.createVNode("div", {
|
|
27839
|
-
"class": ['v-calendar__container', `days__${
|
|
27851
|
+
"class": ['v-calendar__container', `days__${weekDays.value.length}`]
|
|
27840
27852
|
}, [props.viewMode === 'month' && !props.hideDayHeader && vue.createVNode("div", {
|
|
27841
|
-
"class": ['v-calendar-weekly__head', `days__${
|
|
27853
|
+
"class": ['v-calendar-weekly__head', `days__${weekDays.value.length}`, ...(!props.hideWeekNumber ? ['v-calendar-weekly__head-weeknumbers'] : [])],
|
|
27842
27854
|
"key": "calenderWeeklyHead"
|
|
27843
27855
|
}, [!props.hideWeekNumber ? vue.createVNode("div", {
|
|
27844
27856
|
"key": "weekNumber0",
|
|
27845
27857
|
"class": "v-calendar-weekly__head-weeknumber"
|
|
27846
|
-
}, null) : '',
|
|
27858
|
+
}, null) : '', weekDays.value.map(weekday => vue.createVNode("div", {
|
|
27847
27859
|
"class": `v-calendar-weekly__head-weekday${!props.hideWeekNumber ? '-with-weeknumber' : ''}`
|
|
27848
27860
|
}, [dayNames[weekday]]))]), props.viewMode === 'month' && vue.createVNode("div", {
|
|
27849
27861
|
"key": "VCalendarMonth",
|
|
27850
|
-
"class": ['v-calendar-month__days', `days${!props.hideWeekNumber ? '-with-weeknumbers' : ''}__${
|
|
27851
|
-
}, [chunkArray(daysInMonth.value,
|
|
27862
|
+
"class": ['v-calendar-month__days', `days${!props.hideWeekNumber ? '-with-weeknumbers' : ''}__${weekDays.value.length}`, ...(!props.hideWeekNumber ? ['v-calendar-month__weeknumbers'] : [])]
|
|
27863
|
+
}, [chunkArray(daysInMonth.value, weekDays.value.length).map((week, wi) => [!props.hideWeekNumber ? vue.createVNode("div", {
|
|
27852
27864
|
"class": "v-calendar-month__weeknumber"
|
|
27853
27865
|
}, [weekNumbers.value[wi]]) : '', week.map(day => vue.createVNode(VCalendarMonthDay, {
|
|
27854
27866
|
"color": adapter.isSameDay(adapter.date(), day.date) ? 'primary' : undefined,
|
|
@@ -28088,7 +28100,7 @@
|
|
|
28088
28100
|
toggleUpDown(false);
|
|
28089
28101
|
}
|
|
28090
28102
|
function onKeydown(e) {
|
|
28091
|
-
if (['Enter', 'ArrowLeft', 'ArrowRight', 'Backspace', 'Tab'].includes(e.key) || e.ctrlKey) return;
|
|
28103
|
+
if (['Enter', 'ArrowLeft', 'ArrowRight', 'Backspace', 'Delete', 'Tab'].includes(e.key) || e.ctrlKey) return;
|
|
28092
28104
|
if (['ArrowDown'].includes(e.key)) {
|
|
28093
28105
|
e.preventDefault();
|
|
28094
28106
|
toggleUpDown(false);
|
|
@@ -28740,8 +28752,8 @@
|
|
|
28740
28752
|
name: 'VTimePickerClock',
|
|
28741
28753
|
props: makeVTimePickerClockProps(),
|
|
28742
28754
|
emits: {
|
|
28743
|
-
change: val =>
|
|
28744
|
-
input: val =>
|
|
28755
|
+
change: val => true,
|
|
28756
|
+
input: val => true
|
|
28745
28757
|
},
|
|
28746
28758
|
setup(props, _ref) {
|
|
28747
28759
|
let {
|
|
@@ -28989,8 +29001,8 @@
|
|
|
28989
29001
|
name: 'VTimePickerControls',
|
|
28990
29002
|
props: makeVTimePickerControlsProps(),
|
|
28991
29003
|
emits: {
|
|
28992
|
-
'update:period': data =>
|
|
28993
|
-
'update:selecting': data =>
|
|
29004
|
+
'update:period': data => true,
|
|
29005
|
+
'update:selecting': data => true
|
|
28994
29006
|
},
|
|
28995
29007
|
setup(props, _ref) {
|
|
28996
29008
|
let {
|
|
@@ -29126,11 +29138,11 @@
|
|
|
29126
29138
|
name: 'VTimePicker',
|
|
29127
29139
|
props: makeVTimePickerProps(),
|
|
29128
29140
|
emits: {
|
|
29129
|
-
'update:hour': val =>
|
|
29130
|
-
'update:minute': val =>
|
|
29131
|
-
'update:period': val =>
|
|
29132
|
-
'update:second': val =>
|
|
29133
|
-
'update:modelValue': val =>
|
|
29141
|
+
'update:hour': val => true,
|
|
29142
|
+
'update:minute': val => true,
|
|
29143
|
+
'update:period': val => true,
|
|
29144
|
+
'update:second': val => true,
|
|
29145
|
+
'update:modelValue': val => true
|
|
29134
29146
|
},
|
|
29135
29147
|
setup(props, _ref) {
|
|
29136
29148
|
let {
|
|
@@ -30261,7 +30273,7 @@
|
|
|
30261
30273
|
goTo
|
|
30262
30274
|
};
|
|
30263
30275
|
}
|
|
30264
|
-
const version$1 = "3.6.
|
|
30276
|
+
const version$1 = "3.6.12";
|
|
30265
30277
|
createVuetify$1.version = version$1;
|
|
30266
30278
|
|
|
30267
30279
|
// Vue's inject() can only be used in setup
|
|
@@ -30514,7 +30526,7 @@
|
|
|
30514
30526
|
|
|
30515
30527
|
/* eslint-disable local-rules/sort-imports */
|
|
30516
30528
|
|
|
30517
|
-
const version = "3.6.
|
|
30529
|
+
const version = "3.6.12";
|
|
30518
30530
|
|
|
30519
30531
|
/* eslint-disable local-rules/sort-imports */
|
|
30520
30532
|
|