@vuetify/nightly 3.6.11-master.2024-07-08 → 3.6.12-master.2024-07-11

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.
Files changed (108) hide show
  1. package/CHANGELOG.md +3 -4
  2. package/dist/json/attributes.json +57 -45
  3. package/dist/json/importMap.json +146 -146
  4. package/dist/json/tags.json +4 -1
  5. package/dist/json/web-types.json +97 -62
  6. package/dist/vuetify-labs.css +2977 -2955
  7. package/dist/vuetify-labs.d.ts +614 -688
  8. package/dist/vuetify-labs.esm.js +95 -74
  9. package/dist/vuetify-labs.esm.js.map +1 -1
  10. package/dist/vuetify-labs.js +95 -74
  11. package/dist/vuetify-labs.min.css +2 -2
  12. package/dist/vuetify.css +4804 -4782
  13. package/dist/vuetify.d.ts +579 -653
  14. package/dist/vuetify.esm.js +78 -58
  15. package/dist/vuetify.esm.js.map +1 -1
  16. package/dist/vuetify.js +78 -58
  17. package/dist/vuetify.js.map +1 -1
  18. package/dist/vuetify.min.css +2 -2
  19. package/dist/vuetify.min.js +67 -65
  20. package/dist/vuetify.min.js.map +1 -1
  21. package/lib/blueprints/index.d.mts +3 -3
  22. package/lib/blueprints/md1.d.mts +3 -3
  23. package/lib/blueprints/md2.d.mts +3 -3
  24. package/lib/blueprints/md3.d.mts +3 -3
  25. package/lib/components/VAutocomplete/index.d.mts +25 -31
  26. package/lib/components/VBottomSheet/index.d.mts +10 -10
  27. package/lib/components/VCheckbox/index.d.mts +2 -8
  28. package/lib/components/VCombobox/index.d.mts +25 -31
  29. package/lib/components/VDataIterator/index.d.mts +1 -0
  30. package/lib/components/VDataTable/VDataTable.mjs +6 -2
  31. package/lib/components/VDataTable/VDataTable.mjs.map +1 -1
  32. package/lib/components/VDataTable/VDataTableFooter.mjs +5 -4
  33. package/lib/components/VDataTable/VDataTableFooter.mjs.map +1 -1
  34. package/lib/components/VDataTable/VDataTableServer.mjs +6 -2
  35. package/lib/components/VDataTable/VDataTableServer.mjs.map +1 -1
  36. package/lib/components/VDataTable/VDataTableVirtual.mjs +6 -2
  37. package/lib/components/VDataTable/VDataTableVirtual.mjs.map +1 -1
  38. package/lib/components/VDataTable/composables/group.mjs +2 -1
  39. package/lib/components/VDataTable/composables/group.mjs.map +1 -1
  40. package/lib/components/VDataTable/composables/sort.mjs +1 -1
  41. package/lib/components/VDataTable/composables/sort.mjs.map +1 -1
  42. package/lib/components/VDataTable/index.d.mts +130 -129
  43. package/lib/components/VDatePicker/VDatePickerControls.mjs +5 -4
  44. package/lib/components/VDatePicker/VDatePickerControls.mjs.map +1 -1
  45. package/lib/components/VDatePicker/VDatePickerMonth.mjs +1 -1
  46. package/lib/components/VDatePicker/VDatePickerMonth.mjs.map +1 -1
  47. package/lib/components/VDatePicker/index.d.mts +70 -55
  48. package/lib/components/VDialog/index.d.mts +28 -28
  49. package/lib/components/VField/VField.css +11 -6
  50. package/lib/components/VField/VField.mjs +5 -7
  51. package/lib/components/VField/VField.mjs.map +1 -1
  52. package/lib/components/VField/VField.sass +6 -2
  53. package/lib/components/VField/index.d.mts +6 -12
  54. package/lib/components/VFileInput/index.d.mts +6 -12
  55. package/lib/components/VInput/VInput.css +5 -5
  56. package/lib/components/VInput/VInput.mjs +1 -4
  57. package/lib/components/VInput/VInput.mjs.map +1 -1
  58. package/lib/components/VInput/VInput.sass +1 -1
  59. package/lib/components/VInput/index.d.mts +2 -8
  60. package/lib/components/VMenu/index.d.mts +32 -32
  61. package/lib/components/VOverlay/index.d.mts +10 -10
  62. package/lib/components/VOverlay/locationStrategies.mjs.map +1 -1
  63. package/lib/components/VProgressLinear/VProgressLinear.css +17 -0
  64. package/lib/components/VProgressLinear/VProgressLinear.mjs +6 -5
  65. package/lib/components/VProgressLinear/VProgressLinear.mjs.map +1 -1
  66. package/lib/components/VProgressLinear/VProgressLinear.sass +11 -0
  67. package/lib/components/VRadio/VRadio.mjs +8 -5
  68. package/lib/components/VRadio/VRadio.mjs.map +1 -1
  69. package/lib/components/VRadioGroup/index.d.mts +2 -8
  70. package/lib/components/VRangeSlider/index.d.mts +2 -8
  71. package/lib/components/VSelect/index.d.mts +25 -31
  72. package/lib/components/VSlider/index.d.mts +2 -8
  73. package/lib/components/VSnackbar/index.d.mts +28 -28
  74. package/lib/components/VSpeedDial/index.d.mts +14 -14
  75. package/lib/components/VSwitch/index.d.mts +2 -8
  76. package/lib/components/VTextField/VTextField.mjs +1 -1
  77. package/lib/components/VTextField/VTextField.mjs.map +1 -1
  78. package/lib/components/VTextField/index.d.mts +18 -24
  79. package/lib/components/VTextarea/VTextarea.mjs +5 -5
  80. package/lib/components/VTextarea/VTextarea.mjs.map +1 -1
  81. package/lib/components/VTextarea/index.d.mts +72 -87
  82. package/lib/components/VTooltip/index.d.mts +32 -32
  83. package/lib/components/index.d.mts +530 -604
  84. package/lib/composables/calendar.mjs +10 -4
  85. package/lib/composables/calendar.mjs.map +1 -1
  86. package/lib/composables/date/DateAdapter.mjs.map +1 -1
  87. package/lib/composables/date/adapters/vuetify.mjs +15 -13
  88. package/lib/composables/date/adapters/vuetify.mjs.map +1 -1
  89. package/lib/entry-bundler.mjs +1 -1
  90. package/lib/framework.mjs +1 -1
  91. package/lib/index.d.mts +49 -49
  92. package/lib/labs/VCalendar/VCalendar.mjs +7 -6
  93. package/lib/labs/VCalendar/VCalendar.mjs.map +1 -1
  94. package/lib/labs/VCalendar/index.d.mts +6 -0
  95. package/lib/labs/VDateInput/index.d.mts +39 -39
  96. package/lib/labs/VNumberInput/VNumberInput.mjs +1 -1
  97. package/lib/labs/VNumberInput/VNumberInput.mjs.map +1 -1
  98. package/lib/labs/VNumberInput/index.d.mts +6 -12
  99. package/lib/labs/VSnackbarQueue/index.d.mts +37 -37
  100. package/lib/labs/VTimePicker/VTimePicker.mjs +5 -5
  101. package/lib/labs/VTimePicker/VTimePicker.mjs.map +1 -1
  102. package/lib/labs/VTimePicker/VTimePickerClock.mjs +2 -2
  103. package/lib/labs/VTimePicker/VTimePickerClock.mjs.map +1 -1
  104. package/lib/labs/VTimePicker/VTimePickerControls.mjs +2 -2
  105. package/lib/labs/VTimePicker/VTimePickerControls.mjs.map +1 -1
  106. package/lib/labs/VTimePicker/index.d.mts +18 -18
  107. package/lib/labs/components.d.mts +106 -106
  108. package/package.json +1 -1
@@ -1,5 +1,5 @@
1
1
  /*!
2
- * Vuetify v3.6.11-master.2024-07-08
2
+ * Vuetify v3.6.12-master.2024-07-11
3
3
  * Forged by John Leider
4
4
  * Released under the MIT License.
5
5
  */
@@ -5209,6 +5209,7 @@ const VProgressLinear = genericComponent()({
5209
5209
  const normalizedValue = computed(() => clamp(parseFloat(progress.value) / max.value * 100, 0, 100));
5210
5210
  const isReversed = computed(() => isRtl.value !== props.reverse);
5211
5211
  const transition = computed(() => props.indeterminate ? 'fade-transition' : 'slide-x-transition');
5212
+ const isForcedColorsModeActive = IN_BROWSER && window.matchMedia?.('(forced-colors: active)').matches;
5212
5213
  function handleClick(e) {
5213
5214
  if (!intersectionRef.value) return;
5214
5215
  const {
@@ -5256,13 +5257,13 @@ const VProgressLinear = genericComponent()({
5256
5257
  '--v-progress-linear-stream-to': convertToUnit(height.value * (isReversed.value ? 1 : -1))
5257
5258
  }
5258
5259
  }, null), createVNode("div", {
5259
- "class": ['v-progress-linear__background', backgroundColorClasses.value],
5260
+ "class": ['v-progress-linear__background', !isForcedColorsModeActive ? backgroundColorClasses.value : undefined],
5260
5261
  "style": [backgroundColorStyles.value, {
5261
5262
  opacity: parseFloat(props.bgOpacity),
5262
5263
  width: props.stream ? 0 : undefined
5263
5264
  }]
5264
5265
  }, null), createVNode("div", {
5265
- "class": ['v-progress-linear__buffer', bufferColorClasses.value],
5266
+ "class": ['v-progress-linear__buffer', !isForcedColorsModeActive ? bufferColorClasses.value : undefined],
5266
5267
  "style": [bufferColorStyles.value, {
5267
5268
  opacity: parseFloat(props.bufferOpacity),
5268
5269
  width: convertToUnit(normalizedBuffer.value, '%')
@@ -5271,7 +5272,7 @@ const VProgressLinear = genericComponent()({
5271
5272
  "name": transition.value
5272
5273
  }, {
5273
5274
  default: () => [!props.indeterminate ? createVNode("div", {
5274
- "class": ['v-progress-linear__determinate', barColorClasses.value],
5275
+ "class": ['v-progress-linear__determinate', !isForcedColorsModeActive ? barColorClasses.value : undefined],
5275
5276
  "style": [barColorStyles.value, {
5276
5277
  width: convertToUnit(normalizedValue.value, '%')
5277
5278
  }]
@@ -5279,7 +5280,7 @@ const VProgressLinear = genericComponent()({
5279
5280
  "class": "v-progress-linear__indeterminate"
5280
5281
  }, [['long', 'short'].map(bar => createVNode("div", {
5281
5282
  "key": bar,
5282
- "class": ['v-progress-linear__indeterminate', bar, barColorClasses.value],
5283
+ "class": ['v-progress-linear__indeterminate', bar, !isForcedColorsModeActive ? barColorClasses.value : undefined],
5283
5284
  "style": barColorStyles.value
5284
5285
  }, null))])]
5285
5286
  }), slots.default && createVNode("div", {
@@ -7039,10 +7040,7 @@ function useValidation(props) {
7039
7040
  const makeVInputProps = propsFactory({
7040
7041
  id: String,
7041
7042
  appendIcon: IconValue,
7042
- centerAffix: {
7043
- type: Boolean,
7044
- default: true
7045
- },
7043
+ centerAffix: Boolean,
7046
7044
  prependIcon: IconValue,
7047
7045
  hideDetails: [Boolean, String],
7048
7046
  hideSpinButtons: Boolean,
@@ -11557,10 +11555,7 @@ const makeVFieldProps = propsFactory({
11557
11555
  default: '$clear'
11558
11556
  },
11559
11557
  active: Boolean,
11560
- centerAffix: {
11561
- type: Boolean,
11562
- default: undefined
11563
- },
11558
+ centerAffix: Boolean,
11564
11559
  color: String,
11565
11560
  baseColor: String,
11566
11561
  dirty: Boolean,
@@ -11627,8 +11622,9 @@ const VField = genericComponent()({
11627
11622
  const {
11628
11623
  rtlClasses
11629
11624
  } = useRtl();
11625
+ const isSingleLine = computed(() => props.singleLine || props.centerAffix);
11630
11626
  const isActive = computed(() => props.dirty || props.active);
11631
- const hasLabel = computed(() => !props.singleLine && !!(props.label || slots.label));
11627
+ const hasLabel = computed(() => !isSingleLine.value && !!(props.label || slots.label));
11632
11628
  const uid = getUid();
11633
11629
  const id = computed(() => props.id || `input-${uid}`);
11634
11630
  const messagesId = computed(() => `${id.value}-messages`);
@@ -11717,7 +11713,7 @@ const VField = genericComponent()({
11717
11713
  "class": ['v-field', {
11718
11714
  'v-field--active': isActive.value,
11719
11715
  'v-field--appended': hasAppend,
11720
- 'v-field--center-affix': props.centerAffix ?? !isPlainOrUnderlined.value,
11716
+ 'v-field--center-affix': props.centerAffix,
11721
11717
  'v-field--disabled': props.disabled,
11722
11718
  'v-field--dirty': props.dirty,
11723
11719
  'v-field--error': props.error,
@@ -11726,7 +11722,7 @@ const VField = genericComponent()({
11726
11722
  'v-field--persistent-clear': props.persistentClear,
11727
11723
  'v-field--prepended': hasPrepend,
11728
11724
  'v-field--reverse': props.reverse,
11729
- 'v-field--single-line': props.singleLine,
11725
+ 'v-field--single-line': isSingleLine.value,
11730
11726
  'v-field--no-label': !label(),
11731
11727
  [`v-field--variant-${props.variant}`]: true
11732
11728
  }, themeClasses.value, backgroundColorClasses.value, focusClasses.value, loaderClasses.value, roundedClasses.value, rtlClasses.value, props.class],
@@ -11961,7 +11957,6 @@ const VTextField = genericComponent()({
11961
11957
  }, props.class],
11962
11958
  "style": props.style
11963
11959
  }, rootAttrs, inputProps, {
11964
- "centerAffix": !isPlainOrUnderlined.value,
11965
11960
  "focused": isFocused.value
11966
11961
  }), {
11967
11962
  ...slots,
@@ -11987,6 +11982,7 @@ const VTextField = genericComponent()({
11987
11982
  "dirty": isDirty.value || props.dirty,
11988
11983
  "disabled": isDisabled.value,
11989
11984
  "focused": isFocused.value,
11985
+ "centerAffix": props.centerAffix,
11990
11986
  "error": isValid.value === false
11991
11987
  }), {
11992
11988
  ...slots,
@@ -17504,13 +17500,14 @@ const firstDay = {
17504
17500
  ZA: 0,
17505
17501
  ZW: 0
17506
17502
  };
17507
- function getWeekArray(date, locale) {
17503
+ function getWeekArray(date, locale, firstDayOfWeek) {
17508
17504
  const weeks = [];
17509
17505
  let currentWeek = [];
17510
17506
  const firstDayOfMonth = startOfMonth(date);
17511
17507
  const lastDayOfMonth = endOfMonth(date);
17512
- const firstDayWeekIndex = (firstDayOfMonth.getDay() - firstDay[locale.slice(-2).toUpperCase()] + 7) % 7;
17513
- const lastDayWeekIndex = (lastDayOfMonth.getDay() - firstDay[locale.slice(-2).toUpperCase()] + 7) % 7;
17508
+ const first = firstDayOfWeek ?? firstDay[locale.slice(-2).toUpperCase()] ?? 0;
17509
+ const firstDayWeekIndex = (firstDayOfMonth.getDay() - first + 7) % 7;
17510
+ const lastDayWeekIndex = (lastDayOfMonth.getDay() - first + 7) % 7;
17514
17511
  for (let i = 0; i < firstDayWeekIndex; i++) {
17515
17512
  const adjacentDay = new Date(firstDayOfMonth);
17516
17513
  adjacentDay.setDate(adjacentDay.getDate() - (firstDayWeekIndex - i));
@@ -17538,9 +17535,10 @@ function getWeekArray(date, locale) {
17538
17535
  }
17539
17536
  return weeks;
17540
17537
  }
17541
- function startOfWeek(date, locale) {
17538
+ function startOfWeek(date, locale, firstDayOfWeek) {
17539
+ const day = firstDayOfWeek ?? firstDay[locale.slice(-2).toUpperCase()] ?? 0;
17542
17540
  const d = new Date(date);
17543
- while (d.getDay() !== (firstDay[locale.slice(-2).toUpperCase()] ?? 0)) {
17541
+ while (d.getDay() !== day) {
17544
17542
  d.setDate(d.getDate() - 1);
17545
17543
  }
17546
17544
  return d;
@@ -17581,8 +17579,8 @@ function date(value) {
17581
17579
  return null;
17582
17580
  }
17583
17581
  const sundayJanuarySecond2000 = new Date(2000, 0, 2);
17584
- function getWeekdays(locale) {
17585
- const daysFromSunday = firstDay[locale.slice(-2).toUpperCase()];
17582
+ function getWeekdays(locale, firstDayOfWeek) {
17583
+ const daysFromSunday = firstDayOfWeek ?? firstDay[locale.slice(-2).toUpperCase()] ?? 0;
17586
17584
  return createRange(7).map(i => {
17587
17585
  const weekday = new Date(sundayJanuarySecond2000);
17588
17586
  weekday.setDate(sundayJanuarySecond2000.getDate() + daysFromSunday + i);
@@ -17980,11 +17978,11 @@ class VuetifyDateAdapter {
17980
17978
  addMonths(date, amount) {
17981
17979
  return addMonths(date, amount);
17982
17980
  }
17983
- getWeekArray(date) {
17984
- return getWeekArray(date, this.locale);
17981
+ getWeekArray(date, firstDayOfWeek) {
17982
+ return getWeekArray(date, this.locale, firstDayOfWeek ? Number(firstDayOfWeek) : undefined);
17985
17983
  }
17986
- startOfWeek(date) {
17987
- return startOfWeek(date, this.locale);
17984
+ startOfWeek(date, firstDayOfWeek) {
17985
+ return startOfWeek(date, this.locale, firstDayOfWeek ? Number(firstDayOfWeek) : undefined);
17988
17986
  }
17989
17987
  endOfWeek(date) {
17990
17988
  return endOfWeek(date, this.locale);
@@ -18043,8 +18041,8 @@ class VuetifyDateAdapter {
18043
18041
  getDiff(date, comparing, unit) {
18044
18042
  return getDiff(date, comparing, unit);
18045
18043
  }
18046
- getWeekdays() {
18047
- return getWeekdays(this.locale);
18044
+ getWeekdays(firstDayOfWeek) {
18045
+ return getWeekdays(this.locale, firstDayOfWeek ? Number(firstDayOfWeek) : undefined);
18048
18046
  }
18049
18047
  getYear(date) {
18050
18048
  return getYear(date);
@@ -18325,6 +18323,7 @@ function createGroupBy(props) {
18325
18323
  }
18326
18324
  function provideGroupBy(options) {
18327
18325
  const {
18326
+ disableSort,
18328
18327
  groupBy,
18329
18328
  sortBy
18330
18329
  } = options;
@@ -18333,7 +18332,7 @@ function provideGroupBy(options) {
18333
18332
  return groupBy.value.map(val => ({
18334
18333
  ...val,
18335
18334
  order: val.order ?? false
18336
- })).concat(sortBy.value);
18335
+ })).concat(disableSort?.value ? [] : sortBy.value);
18337
18336
  });
18338
18337
  function isGroupOpen(group) {
18339
18338
  return opened.value.has(group.id);
@@ -18842,7 +18841,7 @@ function useSort() {
18842
18841
  function useSortedItems(props, items, sortBy, options) {
18843
18842
  const locale = useLocale();
18844
18843
  const sortedItems = computed(() => {
18845
- if (!sortBy.value.length || props.disableSort) return items.value;
18844
+ if (!sortBy.value.length) return items.value;
18846
18845
  return sortItems(items.value, sortBy.value, locale.current.value, {
18847
18846
  transform: options?.transform,
18848
18847
  sortFunctions: {
@@ -19465,19 +19464,19 @@ const VPagination = genericComponent()({
19465
19464
 
19466
19465
  const makeVDataTableFooterProps = propsFactory({
19467
19466
  prevIcon: {
19468
- type: String,
19467
+ type: IconValue,
19469
19468
  default: '$prev'
19470
19469
  },
19471
19470
  nextIcon: {
19472
- type: String,
19471
+ type: IconValue,
19473
19472
  default: '$next'
19474
19473
  },
19475
19474
  firstIcon: {
19476
- type: String,
19475
+ type: IconValue,
19477
19476
  default: '$first'
19478
19477
  },
19479
19478
  lastIcon: {
19480
- type: String,
19479
+ type: IconValue,
19481
19480
  default: '$last'
19482
19481
  },
19483
19482
  itemsPerPageText: {
@@ -20594,6 +20593,9 @@ const VDataTable = genericComponent()({
20594
20593
  page,
20595
20594
  itemsPerPage
20596
20595
  } = createPagination(props);
20596
+ const {
20597
+ disableSort
20598
+ } = toRefs(props);
20597
20599
  const {
20598
20600
  columns,
20599
20601
  headers,
@@ -20631,7 +20633,8 @@ const VDataTable = genericComponent()({
20631
20633
  toggleGroup
20632
20634
  } = provideGroupBy({
20633
20635
  groupBy,
20634
- sortBy
20636
+ sortBy,
20637
+ disableSort
20635
20638
  });
20636
20639
  const {
20637
20640
  sortedItems
@@ -20774,6 +20777,9 @@ const VDataTableVirtual = genericComponent()({
20774
20777
  multiSort,
20775
20778
  mustSort
20776
20779
  } = createSort(props);
20780
+ const {
20781
+ disableSort
20782
+ } = toRefs(props);
20777
20783
  const {
20778
20784
  columns,
20779
20785
  headers,
@@ -20810,7 +20816,8 @@ const VDataTableVirtual = genericComponent()({
20810
20816
  toggleGroup
20811
20817
  } = provideGroupBy({
20812
20818
  groupBy,
20813
- sortBy
20819
+ sortBy,
20820
+ disableSort
20814
20821
  });
20815
20822
  const {
20816
20823
  sortedItems
@@ -20999,6 +21006,9 @@ const VDataTableServer = genericComponent()({
20999
21006
  page,
21000
21007
  itemsPerPage
21001
21008
  } = createPagination(props);
21009
+ const {
21010
+ disableSort
21011
+ } = toRefs(props);
21002
21012
  const itemsLength = computed(() => parseInt(props.itemsLength, 10));
21003
21013
  const {
21004
21014
  columns,
@@ -21026,7 +21036,8 @@ const VDataTableServer = genericComponent()({
21026
21036
  extractRows
21027
21037
  } = provideGroupBy({
21028
21038
  groupBy,
21029
- sortBy
21039
+ sortBy,
21040
+ disableSort
21030
21041
  });
21031
21042
  const {
21032
21043
  pageCount,
@@ -21412,15 +21423,15 @@ const makeVDatePickerControlsProps = propsFactory({
21412
21423
  default: false
21413
21424
  },
21414
21425
  nextIcon: {
21415
- type: [String],
21426
+ type: IconValue,
21416
21427
  default: '$next'
21417
21428
  },
21418
21429
  prevIcon: {
21419
- type: [String],
21430
+ type: IconValue,
21420
21431
  default: '$prev'
21421
21432
  },
21422
21433
  modeIcon: {
21423
- type: [String],
21434
+ type: IconValue,
21424
21435
  default: '$subgroup'
21425
21436
  },
21426
21437
  text: String,
@@ -21606,7 +21617,8 @@ const makeCalendarProps = propsFactory({
21606
21617
  weeksInMonth: {
21607
21618
  type: String,
21608
21619
  default: 'dynamic'
21609
- }
21620
+ },
21621
+ firstDayOfWeek: [Number, String]
21610
21622
  }, 'calendar');
21611
21623
  function useCalendar(props) {
21612
21624
  const adapter = useDate();
@@ -21627,8 +21639,12 @@ function useCalendar(props) {
21627
21639
  const date = adapter.setYear(adapter.startOfMonth(adapter.date()), adapter.getYear(year.value));
21628
21640
  return adapter.setMonth(date, value);
21629
21641
  }, v => adapter.getMonth(v));
21642
+ const weekDays = computed(() => {
21643
+ const firstDayOfWeek = Number(props.firstDayOfWeek ?? 0);
21644
+ return props.weekdays.map(day => (day + firstDayOfWeek) % 7);
21645
+ });
21630
21646
  const weeksInMonth = computed(() => {
21631
- const weeks = adapter.getWeekArray(month.value);
21647
+ const weeks = adapter.getWeekArray(month.value, props.firstDayOfWeek);
21632
21648
  const days = weeks.flat();
21633
21649
 
21634
21650
  // Make sure there's always 6 weeks in month (6 * 7 days)
@@ -21649,7 +21665,7 @@ function useCalendar(props) {
21649
21665
  });
21650
21666
  function genDays(days, today) {
21651
21667
  return days.filter(date => {
21652
- return props.weekdays.includes(adapter.toJsDate(date).getDay());
21668
+ return weekDays.value.includes(adapter.toJsDate(date).getDay());
21653
21669
  }).map((date, index) => {
21654
21670
  const isoDate = adapter.toISO(date);
21655
21671
  const isAdjacent = !adapter.isSameMonth(date, month.value);
@@ -21677,7 +21693,7 @@ function useCalendar(props) {
21677
21693
  });
21678
21694
  }
21679
21695
  const daysInWeek = computed(() => {
21680
- const lastDay = adapter.startOfWeek(displayValue.value);
21696
+ const lastDay = adapter.startOfWeek(displayValue.value, props.firstDayOfWeek);
21681
21697
  const week = [];
21682
21698
  for (let day = 0; day <= 6; day++) {
21683
21699
  week.push(adapter.addDays(lastDay, day));
@@ -21715,6 +21731,7 @@ function useCalendar(props) {
21715
21731
  genDays,
21716
21732
  model,
21717
21733
  weeksInMonth,
21734
+ weekDays,
21718
21735
  weekNumbers
21719
21736
  };
21720
21737
  }
@@ -21845,7 +21862,7 @@ const VDatePickerMonth = genericComponent()({
21845
21862
  "ref": daysRef,
21846
21863
  "key": daysInMonth.value[0].date?.toString(),
21847
21864
  "class": "v-date-picker-month__days"
21848
- }, [!props.hideWeekdays && adapter.getWeekdays().map(weekDay => createVNode("div", {
21865
+ }, [!props.hideWeekdays && adapter.getWeekdays(props.firstDayOfWeek).map(weekDay => createVNode("div", {
21849
21866
  "class": ['v-date-picker-month__day', 'v-date-picker-month__weekday']
21850
21867
  }, [weekDay])), daysInMonth.value.map((item, i) => {
21851
21868
  const slotProps = {
@@ -24675,11 +24692,14 @@ const VRadio = genericComponent()({
24675
24692
  let {
24676
24693
  slots
24677
24694
  } = _ref;
24678
- useRender(() => createVNode(VSelectionControl, mergeProps(props, {
24679
- "class": ['v-radio', props.class],
24680
- "style": props.style,
24681
- "type": "radio"
24682
- }), slots));
24695
+ useRender(() => {
24696
+ const controlProps = VSelectionControl.filterProps(props);
24697
+ return createVNode(VSelectionControl, mergeProps(controlProps, {
24698
+ "class": ['v-radio', props.class],
24699
+ "style": props.style,
24700
+ "type": "radio"
24701
+ }), slots);
24702
+ });
24683
24703
  return {};
24684
24704
  }
24685
24705
  });
@@ -27002,8 +27022,8 @@ const makeVTextareaProps = propsFactory({
27002
27022
  },
27003
27023
  suffix: String,
27004
27024
  modelModifiers: Object,
27005
- ...makeVInputProps(),
27006
- ...makeVFieldProps()
27025
+ ...omit(makeVInputProps(), ['centerAffix']),
27026
+ ...omit(makeVFieldProps(), ['centerAffix'])
27007
27027
  }, 'VTextarea');
27008
27028
  const VTextarea = genericComponent()({
27009
27029
  name: 'VTextarea',
@@ -27142,7 +27162,7 @@ const VTextarea = genericComponent()({
27142
27162
  }, props.class],
27143
27163
  "style": props.style
27144
27164
  }, rootAttrs, inputProps, {
27145
- "centerAffix": rows.value === 1 && !isPlainOrUnderlined.value,
27165
+ "centerAffix": false,
27146
27166
  "focused": isFocused.value
27147
27167
  }), {
27148
27168
  ...slots,
@@ -27167,7 +27187,7 @@ const VTextarea = genericComponent()({
27167
27187
  }, fieldProps, {
27168
27188
  "id": id.value,
27169
27189
  "active": isActive.value || isDirty.value,
27170
- "centerAffix": rows.value === 1 && !isPlainOrUnderlined.value,
27190
+ "centerAffix": false,
27171
27191
  "dirty": isDirty.value || props.dirty,
27172
27192
  "disabled": isDisabled.value,
27173
27193
  "focused": isFocused.value,
@@ -28099,7 +28119,7 @@ function createVuetify$1() {
28099
28119
  goTo
28100
28120
  };
28101
28121
  }
28102
- const version$1 = "3.6.11-master.2024-07-08";
28122
+ const version$1 = "3.6.12-master.2024-07-11";
28103
28123
  createVuetify$1.version = version$1;
28104
28124
 
28105
28125
  // Vue's inject() can only be used in setup
@@ -28124,7 +28144,7 @@ const createVuetify = function () {
28124
28144
  ...options
28125
28145
  });
28126
28146
  };
28127
- const version = "3.6.11-master.2024-07-08";
28147
+ const version = "3.6.12-master.2024-07-11";
28128
28148
  createVuetify.version = version;
28129
28149
 
28130
28150
  export { index as blueprints, components, createVuetify, directives, useDate, useDefaults, useDisplay, useGoTo, useLayout, useLocale, useRtl, useTheme, version };