@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
  */
@@ -4976,6 +4976,7 @@ const VProgressLinear = genericComponent()({
4976
4976
  const normalizedValue = computed(() => clamp(parseFloat(progress.value) / max.value * 100, 0, 100));
4977
4977
  const isReversed = computed(() => isRtl.value !== props.reverse);
4978
4978
  const transition = computed(() => props.indeterminate ? 'fade-transition' : 'slide-x-transition');
4979
+ const isForcedColorsModeActive = IN_BROWSER && window.matchMedia?.('(forced-colors: active)').matches;
4979
4980
  function handleClick(e) {
4980
4981
  if (!intersectionRef.value) return;
4981
4982
  const {
@@ -5023,13 +5024,13 @@ const VProgressLinear = genericComponent()({
5023
5024
  '--v-progress-linear-stream-to': convertToUnit(height.value * (isReversed.value ? 1 : -1))
5024
5025
  }
5025
5026
  }, null), createVNode("div", {
5026
- "class": ['v-progress-linear__background', backgroundColorClasses.value],
5027
+ "class": ['v-progress-linear__background', !isForcedColorsModeActive ? backgroundColorClasses.value : undefined],
5027
5028
  "style": [backgroundColorStyles.value, {
5028
5029
  opacity: parseFloat(props.bgOpacity),
5029
5030
  width: props.stream ? 0 : undefined
5030
5031
  }]
5031
5032
  }, null), createVNode("div", {
5032
- "class": ['v-progress-linear__buffer', bufferColorClasses.value],
5033
+ "class": ['v-progress-linear__buffer', !isForcedColorsModeActive ? bufferColorClasses.value : undefined],
5033
5034
  "style": [bufferColorStyles.value, {
5034
5035
  opacity: parseFloat(props.bufferOpacity),
5035
5036
  width: convertToUnit(normalizedBuffer.value, '%')
@@ -5038,7 +5039,7 @@ const VProgressLinear = genericComponent()({
5038
5039
  "name": transition.value
5039
5040
  }, {
5040
5041
  default: () => [!props.indeterminate ? createVNode("div", {
5041
- "class": ['v-progress-linear__determinate', barColorClasses.value],
5042
+ "class": ['v-progress-linear__determinate', !isForcedColorsModeActive ? barColorClasses.value : undefined],
5042
5043
  "style": [barColorStyles.value, {
5043
5044
  width: convertToUnit(normalizedValue.value, '%')
5044
5045
  }]
@@ -5046,7 +5047,7 @@ const VProgressLinear = genericComponent()({
5046
5047
  "class": "v-progress-linear__indeterminate"
5047
5048
  }, [['long', 'short'].map(bar => createVNode("div", {
5048
5049
  "key": bar,
5049
- "class": ['v-progress-linear__indeterminate', bar, barColorClasses.value],
5050
+ "class": ['v-progress-linear__indeterminate', bar, !isForcedColorsModeActive ? barColorClasses.value : undefined],
5050
5051
  "style": barColorStyles.value
5051
5052
  }, null))])]
5052
5053
  }), slots.default && createVNode("div", {
@@ -6806,10 +6807,7 @@ function useValidation(props) {
6806
6807
  const makeVInputProps = propsFactory({
6807
6808
  id: String,
6808
6809
  appendIcon: IconValue,
6809
- centerAffix: {
6810
- type: Boolean,
6811
- default: true
6812
- },
6810
+ centerAffix: Boolean,
6813
6811
  prependIcon: IconValue,
6814
6812
  hideDetails: [Boolean, String],
6815
6813
  hideSpinButtons: Boolean,
@@ -11324,10 +11322,7 @@ const makeVFieldProps = propsFactory({
11324
11322
  default: '$clear'
11325
11323
  },
11326
11324
  active: Boolean,
11327
- centerAffix: {
11328
- type: Boolean,
11329
- default: undefined
11330
- },
11325
+ centerAffix: Boolean,
11331
11326
  color: String,
11332
11327
  baseColor: String,
11333
11328
  dirty: Boolean,
@@ -11394,8 +11389,9 @@ const VField = genericComponent()({
11394
11389
  const {
11395
11390
  rtlClasses
11396
11391
  } = useRtl();
11392
+ const isSingleLine = computed(() => props.singleLine || props.centerAffix);
11397
11393
  const isActive = computed(() => props.dirty || props.active);
11398
- const hasLabel = computed(() => !props.singleLine && !!(props.label || slots.label));
11394
+ const hasLabel = computed(() => !isSingleLine.value && !!(props.label || slots.label));
11399
11395
  const uid = getUid();
11400
11396
  const id = computed(() => props.id || `input-${uid}`);
11401
11397
  const messagesId = computed(() => `${id.value}-messages`);
@@ -11484,7 +11480,7 @@ const VField = genericComponent()({
11484
11480
  "class": ['v-field', {
11485
11481
  'v-field--active': isActive.value,
11486
11482
  'v-field--appended': hasAppend,
11487
- 'v-field--center-affix': props.centerAffix ?? !isPlainOrUnderlined.value,
11483
+ 'v-field--center-affix': props.centerAffix,
11488
11484
  'v-field--disabled': props.disabled,
11489
11485
  'v-field--dirty': props.dirty,
11490
11486
  'v-field--error': props.error,
@@ -11493,7 +11489,7 @@ const VField = genericComponent()({
11493
11489
  'v-field--persistent-clear': props.persistentClear,
11494
11490
  'v-field--prepended': hasPrepend,
11495
11491
  'v-field--reverse': props.reverse,
11496
- 'v-field--single-line': props.singleLine,
11492
+ 'v-field--single-line': isSingleLine.value,
11497
11493
  'v-field--no-label': !label(),
11498
11494
  [`v-field--variant-${props.variant}`]: true
11499
11495
  }, themeClasses.value, backgroundColorClasses.value, focusClasses.value, loaderClasses.value, roundedClasses.value, rtlClasses.value, props.class],
@@ -11728,7 +11724,6 @@ const VTextField = genericComponent()({
11728
11724
  }, props.class],
11729
11725
  "style": props.style
11730
11726
  }, rootAttrs, inputProps, {
11731
- "centerAffix": !isPlainOrUnderlined.value,
11732
11727
  "focused": isFocused.value
11733
11728
  }), {
11734
11729
  ...slots,
@@ -11754,6 +11749,7 @@ const VTextField = genericComponent()({
11754
11749
  "dirty": isDirty.value || props.dirty,
11755
11750
  "disabled": isDisabled.value,
11756
11751
  "focused": isFocused.value,
11752
+ "centerAffix": props.centerAffix,
11757
11753
  "error": isValid.value === false
11758
11754
  }), {
11759
11755
  ...slots,
@@ -17271,13 +17267,14 @@ const firstDay = {
17271
17267
  ZA: 0,
17272
17268
  ZW: 0
17273
17269
  };
17274
- function getWeekArray(date, locale) {
17270
+ function getWeekArray(date, locale, firstDayOfWeek) {
17275
17271
  const weeks = [];
17276
17272
  let currentWeek = [];
17277
17273
  const firstDayOfMonth = startOfMonth(date);
17278
17274
  const lastDayOfMonth = endOfMonth(date);
17279
- const firstDayWeekIndex = (firstDayOfMonth.getDay() - firstDay[locale.slice(-2).toUpperCase()] + 7) % 7;
17280
- const lastDayWeekIndex = (lastDayOfMonth.getDay() - firstDay[locale.slice(-2).toUpperCase()] + 7) % 7;
17275
+ const first = firstDayOfWeek ?? firstDay[locale.slice(-2).toUpperCase()] ?? 0;
17276
+ const firstDayWeekIndex = (firstDayOfMonth.getDay() - first + 7) % 7;
17277
+ const lastDayWeekIndex = (lastDayOfMonth.getDay() - first + 7) % 7;
17281
17278
  for (let i = 0; i < firstDayWeekIndex; i++) {
17282
17279
  const adjacentDay = new Date(firstDayOfMonth);
17283
17280
  adjacentDay.setDate(adjacentDay.getDate() - (firstDayWeekIndex - i));
@@ -17305,9 +17302,10 @@ function getWeekArray(date, locale) {
17305
17302
  }
17306
17303
  return weeks;
17307
17304
  }
17308
- function startOfWeek(date, locale) {
17305
+ function startOfWeek(date, locale, firstDayOfWeek) {
17306
+ const day = firstDayOfWeek ?? firstDay[locale.slice(-2).toUpperCase()] ?? 0;
17309
17307
  const d = new Date(date);
17310
- while (d.getDay() !== (firstDay[locale.slice(-2).toUpperCase()] ?? 0)) {
17308
+ while (d.getDay() !== day) {
17311
17309
  d.setDate(d.getDate() - 1);
17312
17310
  }
17313
17311
  return d;
@@ -17348,8 +17346,8 @@ function date(value) {
17348
17346
  return null;
17349
17347
  }
17350
17348
  const sundayJanuarySecond2000 = new Date(2000, 0, 2);
17351
- function getWeekdays(locale) {
17352
- const daysFromSunday = firstDay[locale.slice(-2).toUpperCase()];
17349
+ function getWeekdays(locale, firstDayOfWeek) {
17350
+ const daysFromSunday = firstDayOfWeek ?? firstDay[locale.slice(-2).toUpperCase()] ?? 0;
17353
17351
  return createRange(7).map(i => {
17354
17352
  const weekday = new Date(sundayJanuarySecond2000);
17355
17353
  weekday.setDate(sundayJanuarySecond2000.getDate() + daysFromSunday + i);
@@ -17747,11 +17745,11 @@ class VuetifyDateAdapter {
17747
17745
  addMonths(date, amount) {
17748
17746
  return addMonths(date, amount);
17749
17747
  }
17750
- getWeekArray(date) {
17751
- return getWeekArray(date, this.locale);
17748
+ getWeekArray(date, firstDayOfWeek) {
17749
+ return getWeekArray(date, this.locale, firstDayOfWeek ? Number(firstDayOfWeek) : undefined);
17752
17750
  }
17753
- startOfWeek(date) {
17754
- return startOfWeek(date, this.locale);
17751
+ startOfWeek(date, firstDayOfWeek) {
17752
+ return startOfWeek(date, this.locale, firstDayOfWeek ? Number(firstDayOfWeek) : undefined);
17755
17753
  }
17756
17754
  endOfWeek(date) {
17757
17755
  return endOfWeek(date, this.locale);
@@ -17810,8 +17808,8 @@ class VuetifyDateAdapter {
17810
17808
  getDiff(date, comparing, unit) {
17811
17809
  return getDiff(date, comparing, unit);
17812
17810
  }
17813
- getWeekdays() {
17814
- return getWeekdays(this.locale);
17811
+ getWeekdays(firstDayOfWeek) {
17812
+ return getWeekdays(this.locale, firstDayOfWeek ? Number(firstDayOfWeek) : undefined);
17815
17813
  }
17816
17814
  getYear(date) {
17817
17815
  return getYear(date);
@@ -18092,6 +18090,7 @@ function createGroupBy(props) {
18092
18090
  }
18093
18091
  function provideGroupBy(options) {
18094
18092
  const {
18093
+ disableSort,
18095
18094
  groupBy,
18096
18095
  sortBy
18097
18096
  } = options;
@@ -18100,7 +18099,7 @@ function provideGroupBy(options) {
18100
18099
  return groupBy.value.map(val => ({
18101
18100
  ...val,
18102
18101
  order: val.order ?? false
18103
- })).concat(sortBy.value);
18102
+ })).concat(disableSort?.value ? [] : sortBy.value);
18104
18103
  });
18105
18104
  function isGroupOpen(group) {
18106
18105
  return opened.value.has(group.id);
@@ -18609,7 +18608,7 @@ function useSort() {
18609
18608
  function useSortedItems(props, items, sortBy, options) {
18610
18609
  const locale = useLocale();
18611
18610
  const sortedItems = computed(() => {
18612
- if (!sortBy.value.length || props.disableSort) return items.value;
18611
+ if (!sortBy.value.length) return items.value;
18613
18612
  return sortItems(items.value, sortBy.value, locale.current.value, {
18614
18613
  transform: options?.transform,
18615
18614
  sortFunctions: {
@@ -19232,19 +19231,19 @@ const VPagination = genericComponent()({
19232
19231
 
19233
19232
  const makeVDataTableFooterProps = propsFactory({
19234
19233
  prevIcon: {
19235
- type: String,
19234
+ type: IconValue,
19236
19235
  default: '$prev'
19237
19236
  },
19238
19237
  nextIcon: {
19239
- type: String,
19238
+ type: IconValue,
19240
19239
  default: '$next'
19241
19240
  },
19242
19241
  firstIcon: {
19243
- type: String,
19242
+ type: IconValue,
19244
19243
  default: '$first'
19245
19244
  },
19246
19245
  lastIcon: {
19247
- type: String,
19246
+ type: IconValue,
19248
19247
  default: '$last'
19249
19248
  },
19250
19249
  itemsPerPageText: {
@@ -20361,6 +20360,9 @@ const VDataTable = genericComponent()({
20361
20360
  page,
20362
20361
  itemsPerPage
20363
20362
  } = createPagination(props);
20363
+ const {
20364
+ disableSort
20365
+ } = toRefs(props);
20364
20366
  const {
20365
20367
  columns,
20366
20368
  headers,
@@ -20398,7 +20400,8 @@ const VDataTable = genericComponent()({
20398
20400
  toggleGroup
20399
20401
  } = provideGroupBy({
20400
20402
  groupBy,
20401
- sortBy
20403
+ sortBy,
20404
+ disableSort
20402
20405
  });
20403
20406
  const {
20404
20407
  sortedItems
@@ -20541,6 +20544,9 @@ const VDataTableVirtual = genericComponent()({
20541
20544
  multiSort,
20542
20545
  mustSort
20543
20546
  } = createSort(props);
20547
+ const {
20548
+ disableSort
20549
+ } = toRefs(props);
20544
20550
  const {
20545
20551
  columns,
20546
20552
  headers,
@@ -20577,7 +20583,8 @@ const VDataTableVirtual = genericComponent()({
20577
20583
  toggleGroup
20578
20584
  } = provideGroupBy({
20579
20585
  groupBy,
20580
- sortBy
20586
+ sortBy,
20587
+ disableSort
20581
20588
  });
20582
20589
  const {
20583
20590
  sortedItems
@@ -20766,6 +20773,9 @@ const VDataTableServer = genericComponent()({
20766
20773
  page,
20767
20774
  itemsPerPage
20768
20775
  } = createPagination(props);
20776
+ const {
20777
+ disableSort
20778
+ } = toRefs(props);
20769
20779
  const itemsLength = computed(() => parseInt(props.itemsLength, 10));
20770
20780
  const {
20771
20781
  columns,
@@ -20793,7 +20803,8 @@ const VDataTableServer = genericComponent()({
20793
20803
  extractRows
20794
20804
  } = provideGroupBy({
20795
20805
  groupBy,
20796
- sortBy
20806
+ sortBy,
20807
+ disableSort
20797
20808
  });
20798
20809
  const {
20799
20810
  pageCount,
@@ -21179,15 +21190,15 @@ const makeVDatePickerControlsProps = propsFactory({
21179
21190
  default: false
21180
21191
  },
21181
21192
  nextIcon: {
21182
- type: [String],
21193
+ type: IconValue,
21183
21194
  default: '$next'
21184
21195
  },
21185
21196
  prevIcon: {
21186
- type: [String],
21197
+ type: IconValue,
21187
21198
  default: '$prev'
21188
21199
  },
21189
21200
  modeIcon: {
21190
- type: [String],
21201
+ type: IconValue,
21191
21202
  default: '$subgroup'
21192
21203
  },
21193
21204
  text: String,
@@ -21373,7 +21384,8 @@ const makeCalendarProps = propsFactory({
21373
21384
  weeksInMonth: {
21374
21385
  type: String,
21375
21386
  default: 'dynamic'
21376
- }
21387
+ },
21388
+ firstDayOfWeek: [Number, String]
21377
21389
  }, 'calendar');
21378
21390
  function useCalendar(props) {
21379
21391
  const adapter = useDate();
@@ -21394,8 +21406,12 @@ function useCalendar(props) {
21394
21406
  const date = adapter.setYear(adapter.startOfMonth(adapter.date()), adapter.getYear(year.value));
21395
21407
  return adapter.setMonth(date, value);
21396
21408
  }, v => adapter.getMonth(v));
21409
+ const weekDays = computed(() => {
21410
+ const firstDayOfWeek = Number(props.firstDayOfWeek ?? 0);
21411
+ return props.weekdays.map(day => (day + firstDayOfWeek) % 7);
21412
+ });
21397
21413
  const weeksInMonth = computed(() => {
21398
- const weeks = adapter.getWeekArray(month.value);
21414
+ const weeks = adapter.getWeekArray(month.value, props.firstDayOfWeek);
21399
21415
  const days = weeks.flat();
21400
21416
 
21401
21417
  // Make sure there's always 6 weeks in month (6 * 7 days)
@@ -21416,7 +21432,7 @@ function useCalendar(props) {
21416
21432
  });
21417
21433
  function genDays(days, today) {
21418
21434
  return days.filter(date => {
21419
- return props.weekdays.includes(adapter.toJsDate(date).getDay());
21435
+ return weekDays.value.includes(adapter.toJsDate(date).getDay());
21420
21436
  }).map((date, index) => {
21421
21437
  const isoDate = adapter.toISO(date);
21422
21438
  const isAdjacent = !adapter.isSameMonth(date, month.value);
@@ -21444,7 +21460,7 @@ function useCalendar(props) {
21444
21460
  });
21445
21461
  }
21446
21462
  const daysInWeek = computed(() => {
21447
- const lastDay = adapter.startOfWeek(displayValue.value);
21463
+ const lastDay = adapter.startOfWeek(displayValue.value, props.firstDayOfWeek);
21448
21464
  const week = [];
21449
21465
  for (let day = 0; day <= 6; day++) {
21450
21466
  week.push(adapter.addDays(lastDay, day));
@@ -21482,6 +21498,7 @@ function useCalendar(props) {
21482
21498
  genDays,
21483
21499
  model,
21484
21500
  weeksInMonth,
21501
+ weekDays,
21485
21502
  weekNumbers
21486
21503
  };
21487
21504
  }
@@ -21612,7 +21629,7 @@ const VDatePickerMonth = genericComponent()({
21612
21629
  "ref": daysRef,
21613
21630
  "key": daysInMonth.value[0].date?.toString(),
21614
21631
  "class": "v-date-picker-month__days"
21615
- }, [!props.hideWeekdays && adapter.getWeekdays().map(weekDay => createVNode("div", {
21632
+ }, [!props.hideWeekdays && adapter.getWeekdays(props.firstDayOfWeek).map(weekDay => createVNode("div", {
21616
21633
  "class": ['v-date-picker-month__day', 'v-date-picker-month__weekday']
21617
21634
  }, [weekDay])), daysInMonth.value.map((item, i) => {
21618
21635
  const slotProps = {
@@ -24442,11 +24459,14 @@ const VRadio = genericComponent()({
24442
24459
  let {
24443
24460
  slots
24444
24461
  } = _ref;
24445
- useRender(() => createVNode(VSelectionControl, mergeProps(props, {
24446
- "class": ['v-radio', props.class],
24447
- "style": props.style,
24448
- "type": "radio"
24449
- }), slots));
24462
+ useRender(() => {
24463
+ const controlProps = VSelectionControl.filterProps(props);
24464
+ return createVNode(VSelectionControl, mergeProps(controlProps, {
24465
+ "class": ['v-radio', props.class],
24466
+ "style": props.style,
24467
+ "type": "radio"
24468
+ }), slots);
24469
+ });
24450
24470
  return {};
24451
24471
  }
24452
24472
  });
@@ -26769,8 +26789,8 @@ const makeVTextareaProps = propsFactory({
26769
26789
  },
26770
26790
  suffix: String,
26771
26791
  modelModifiers: Object,
26772
- ...makeVInputProps(),
26773
- ...makeVFieldProps()
26792
+ ...omit(makeVInputProps(), ['centerAffix']),
26793
+ ...omit(makeVFieldProps(), ['centerAffix'])
26774
26794
  }, 'VTextarea');
26775
26795
  const VTextarea = genericComponent()({
26776
26796
  name: 'VTextarea',
@@ -26909,7 +26929,7 @@ const VTextarea = genericComponent()({
26909
26929
  }, props.class],
26910
26930
  "style": props.style
26911
26931
  }, rootAttrs, inputProps, {
26912
- "centerAffix": rows.value === 1 && !isPlainOrUnderlined.value,
26932
+ "centerAffix": false,
26913
26933
  "focused": isFocused.value
26914
26934
  }), {
26915
26935
  ...slots,
@@ -26934,7 +26954,7 @@ const VTextarea = genericComponent()({
26934
26954
  }, fieldProps, {
26935
26955
  "id": id.value,
26936
26956
  "active": isActive.value || isDirty.value,
26937
- "centerAffix": rows.value === 1 && !isPlainOrUnderlined.value,
26957
+ "centerAffix": false,
26938
26958
  "dirty": isDirty.value || props.dirty,
26939
26959
  "disabled": isDisabled.value,
26940
26960
  "focused": isFocused.value,
@@ -27786,7 +27806,8 @@ const VCalendar = genericComponent()({
27786
27806
  genDays,
27787
27807
  model,
27788
27808
  displayValue,
27789
- weekNumbers
27809
+ weekNumbers,
27810
+ weekDays
27790
27811
  } = useCalendar(props);
27791
27812
  const dayNames = adapter.getWeekdays();
27792
27813
  function onClickNext() {
@@ -27836,19 +27857,19 @@ const VCalendar = genericComponent()({
27836
27857
  }), null) : slots.header({
27837
27858
  title: title.value
27838
27859
  }))]), createVNode("div", {
27839
- "class": ['v-calendar__container', `days__${props.weekdays.length}`]
27860
+ "class": ['v-calendar__container', `days__${weekDays.value.length}`]
27840
27861
  }, [props.viewMode === 'month' && !props.hideDayHeader && createVNode("div", {
27841
- "class": ['v-calendar-weekly__head', `days__${props.weekdays.length}`, ...(!props.hideWeekNumber ? ['v-calendar-weekly__head-weeknumbers'] : [])],
27862
+ "class": ['v-calendar-weekly__head', `days__${weekDays.value.length}`, ...(!props.hideWeekNumber ? ['v-calendar-weekly__head-weeknumbers'] : [])],
27842
27863
  "key": "calenderWeeklyHead"
27843
27864
  }, [!props.hideWeekNumber ? createVNode("div", {
27844
27865
  "key": "weekNumber0",
27845
27866
  "class": "v-calendar-weekly__head-weeknumber"
27846
- }, null) : '', props.weekdays.map(weekday => createVNode("div", {
27867
+ }, null) : '', weekDays.value.map(weekday => createVNode("div", {
27847
27868
  "class": `v-calendar-weekly__head-weekday${!props.hideWeekNumber ? '-with-weeknumber' : ''}`
27848
27869
  }, [dayNames[weekday]]))]), props.viewMode === 'month' && createVNode("div", {
27849
27870
  "key": "VCalendarMonth",
27850
- "class": ['v-calendar-month__days', `days${!props.hideWeekNumber ? '-with-weeknumbers' : ''}__${props.weekdays.length}`, ...(!props.hideWeekNumber ? ['v-calendar-month__weeknumbers'] : [])]
27851
- }, [chunkArray(daysInMonth.value, props.weekdays.length).map((week, wi) => [!props.hideWeekNumber ? createVNode("div", {
27871
+ "class": ['v-calendar-month__days', `days${!props.hideWeekNumber ? '-with-weeknumbers' : ''}__${weekDays.value.length}`, ...(!props.hideWeekNumber ? ['v-calendar-month__weeknumbers'] : [])]
27872
+ }, [chunkArray(daysInMonth.value, weekDays.value.length).map((week, wi) => [!props.hideWeekNumber ? createVNode("div", {
27852
27873
  "class": "v-calendar-month__weeknumber"
27853
27874
  }, [weekNumbers.value[wi]]) : '', week.map(day => createVNode(VCalendarMonthDay, {
27854
27875
  "color": adapter.isSameDay(adapter.date(), day.date) ? 'primary' : undefined,
@@ -28088,7 +28109,7 @@ const VNumberInput = genericComponent()({
28088
28109
  toggleUpDown(false);
28089
28110
  }
28090
28111
  function onKeydown(e) {
28091
- if (['Enter', 'ArrowLeft', 'ArrowRight', 'Backspace', 'Tab'].includes(e.key) || e.ctrlKey) return;
28112
+ if (['Enter', 'ArrowLeft', 'ArrowRight', 'Backspace', 'Delete', 'Tab'].includes(e.key) || e.ctrlKey) return;
28092
28113
  if (['ArrowDown'].includes(e.key)) {
28093
28114
  e.preventDefault();
28094
28115
  toggleUpDown(false);
@@ -28740,8 +28761,8 @@ const VTimePickerClock = genericComponent()({
28740
28761
  name: 'VTimePickerClock',
28741
28762
  props: makeVTimePickerClockProps(),
28742
28763
  emits: {
28743
- change: val => val,
28744
- input: val => val
28764
+ change: val => true,
28765
+ input: val => true
28745
28766
  },
28746
28767
  setup(props, _ref) {
28747
28768
  let {
@@ -28989,8 +29010,8 @@ const VTimePickerControls = genericComponent()({
28989
29010
  name: 'VTimePickerControls',
28990
29011
  props: makeVTimePickerControlsProps(),
28991
29012
  emits: {
28992
- 'update:period': data => data,
28993
- 'update:selecting': data => data
29013
+ 'update:period': data => true,
29014
+ 'update:selecting': data => true
28994
29015
  },
28995
29016
  setup(props, _ref) {
28996
29017
  let {
@@ -29126,11 +29147,11 @@ const VTimePicker = genericComponent()({
29126
29147
  name: 'VTimePicker',
29127
29148
  props: makeVTimePickerProps(),
29128
29149
  emits: {
29129
- 'update:hour': val => val,
29130
- 'update:minute': val => val,
29131
- 'update:period': val => val,
29132
- 'update:second': val => val,
29133
- 'update:modelValue': val => val
29150
+ 'update:hour': val => true,
29151
+ 'update:minute': val => true,
29152
+ 'update:period': val => true,
29153
+ 'update:second': val => true,
29154
+ 'update:modelValue': val => true
29134
29155
  },
29135
29156
  setup(props, _ref) {
29136
29157
  let {
@@ -30261,7 +30282,7 @@ function createVuetify$1() {
30261
30282
  goTo
30262
30283
  };
30263
30284
  }
30264
- const version$1 = "3.6.11-master.2024-07-08";
30285
+ const version$1 = "3.6.12-master.2024-07-11";
30265
30286
  createVuetify$1.version = version$1;
30266
30287
 
30267
30288
  // Vue's inject() can only be used in setup
@@ -30514,7 +30535,7 @@ var index = /*#__PURE__*/Object.freeze({
30514
30535
 
30515
30536
  /* eslint-disable local-rules/sort-imports */
30516
30537
 
30517
- const version = "3.6.11-master.2024-07-08";
30538
+ const version = "3.6.12-master.2024-07-11";
30518
30539
 
30519
30540
  /* eslint-disable local-rules/sort-imports */
30520
30541