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

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 (98) hide show
  1. package/CHANGELOG.md +2 -8
  2. package/dist/json/attributes.json +57 -45
  3. package/dist/json/importMap-labs.json +16 -16
  4. package/dist/json/importMap.json +110 -110
  5. package/dist/json/tags.json +4 -1
  6. package/dist/json/web-types.json +97 -62
  7. package/dist/vuetify-labs.css +2451 -2429
  8. package/dist/vuetify-labs.d.ts +592 -667
  9. package/dist/vuetify-labs.esm.js +77 -69
  10. package/dist/vuetify-labs.esm.js.map +1 -1
  11. package/dist/vuetify-labs.js +77 -69
  12. package/dist/vuetify-labs.min.css +2 -2
  13. package/dist/vuetify.css +4229 -4207
  14. package/dist/vuetify.d.ts +551 -626
  15. package/dist/vuetify.esm.js +60 -53
  16. package/dist/vuetify.esm.js.map +1 -1
  17. package/dist/vuetify.js +60 -53
  18. package/dist/vuetify.js.map +1 -1
  19. package/dist/vuetify.min.css +2 -2
  20. package/dist/vuetify.min.js +47 -45
  21. package/dist/vuetify.min.js.map +1 -1
  22. package/lib/blueprints/index.d.mts +3 -3
  23. package/lib/blueprints/md1.d.mts +3 -3
  24. package/lib/blueprints/md2.d.mts +3 -3
  25. package/lib/blueprints/md3.d.mts +3 -3
  26. package/lib/components/VAutocomplete/index.d.mts +25 -31
  27. package/lib/components/VBottomSheet/index.d.mts +10 -10
  28. package/lib/components/VCheckbox/index.d.mts +2 -8
  29. package/lib/components/VCombobox/index.d.mts +25 -31
  30. package/lib/components/VDataTable/VDataTableFooter.mjs +5 -4
  31. package/lib/components/VDataTable/VDataTableFooter.mjs.map +1 -1
  32. package/lib/components/VDataTable/index.d.mts +108 -108
  33. package/lib/components/VDatePicker/VDatePickerControls.mjs +5 -4
  34. package/lib/components/VDatePicker/VDatePickerControls.mjs.map +1 -1
  35. package/lib/components/VDatePicker/VDatePickerMonth.mjs +1 -1
  36. package/lib/components/VDatePicker/VDatePickerMonth.mjs.map +1 -1
  37. package/lib/components/VDatePicker/index.d.mts +70 -55
  38. package/lib/components/VDialog/index.d.mts +28 -28
  39. package/lib/components/VField/VField.css +11 -6
  40. package/lib/components/VField/VField.mjs +5 -7
  41. package/lib/components/VField/VField.mjs.map +1 -1
  42. package/lib/components/VField/VField.sass +6 -2
  43. package/lib/components/VField/index.d.mts +6 -12
  44. package/lib/components/VFileInput/index.d.mts +6 -12
  45. package/lib/components/VInput/VInput.css +5 -5
  46. package/lib/components/VInput/VInput.mjs +1 -4
  47. package/lib/components/VInput/VInput.mjs.map +1 -1
  48. package/lib/components/VInput/VInput.sass +1 -1
  49. package/lib/components/VInput/index.d.mts +2 -8
  50. package/lib/components/VMenu/index.d.mts +32 -32
  51. package/lib/components/VOverlay/index.d.mts +10 -10
  52. package/lib/components/VOverlay/locationStrategies.mjs.map +1 -1
  53. package/lib/components/VProgressLinear/VProgressLinear.css +17 -0
  54. package/lib/components/VProgressLinear/VProgressLinear.mjs +6 -5
  55. package/lib/components/VProgressLinear/VProgressLinear.mjs.map +1 -1
  56. package/lib/components/VProgressLinear/VProgressLinear.sass +11 -0
  57. package/lib/components/VRadio/VRadio.mjs +8 -5
  58. package/lib/components/VRadio/VRadio.mjs.map +1 -1
  59. package/lib/components/VRadioGroup/index.d.mts +2 -8
  60. package/lib/components/VRangeSlider/index.d.mts +2 -8
  61. package/lib/components/VSelect/index.d.mts +25 -31
  62. package/lib/components/VSlider/index.d.mts +2 -8
  63. package/lib/components/VSnackbar/index.d.mts +28 -28
  64. package/lib/components/VSpeedDial/index.d.mts +14 -14
  65. package/lib/components/VSwitch/index.d.mts +2 -8
  66. package/lib/components/VTextField/VTextField.mjs +1 -1
  67. package/lib/components/VTextField/VTextField.mjs.map +1 -1
  68. package/lib/components/VTextField/index.d.mts +18 -24
  69. package/lib/components/VTextarea/VTextarea.mjs +5 -5
  70. package/lib/components/VTextarea/VTextarea.mjs.map +1 -1
  71. package/lib/components/VTextarea/index.d.mts +72 -87
  72. package/lib/components/VTooltip/index.d.mts +32 -32
  73. package/lib/components/index.d.mts +508 -583
  74. package/lib/composables/calendar.mjs +10 -4
  75. package/lib/composables/calendar.mjs.map +1 -1
  76. package/lib/composables/date/DateAdapter.mjs.map +1 -1
  77. package/lib/composables/date/adapters/vuetify.mjs +15 -13
  78. package/lib/composables/date/adapters/vuetify.mjs.map +1 -1
  79. package/lib/entry-bundler.mjs +1 -1
  80. package/lib/framework.mjs +1 -1
  81. package/lib/index.d.mts +43 -43
  82. package/lib/labs/VCalendar/VCalendar.mjs +7 -6
  83. package/lib/labs/VCalendar/VCalendar.mjs.map +1 -1
  84. package/lib/labs/VCalendar/index.d.mts +6 -0
  85. package/lib/labs/VDateInput/index.d.mts +39 -39
  86. package/lib/labs/VNumberInput/VNumberInput.mjs +1 -1
  87. package/lib/labs/VNumberInput/VNumberInput.mjs.map +1 -1
  88. package/lib/labs/VNumberInput/index.d.mts +6 -12
  89. package/lib/labs/VSnackbarQueue/index.d.mts +37 -37
  90. package/lib/labs/VTimePicker/VTimePicker.mjs +5 -5
  91. package/lib/labs/VTimePicker/VTimePicker.mjs.map +1 -1
  92. package/lib/labs/VTimePicker/VTimePickerClock.mjs +2 -2
  93. package/lib/labs/VTimePicker/VTimePickerClock.mjs.map +1 -1
  94. package/lib/labs/VTimePicker/VTimePickerControls.mjs +2 -2
  95. package/lib/labs/VTimePicker/VTimePickerControls.mjs.map +1 -1
  96. package/lib/labs/VTimePicker/index.d.mts +18 -18
  97. package/lib/labs/components.d.mts +106 -106
  98. 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-10
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);
@@ -19232,19 +19230,19 @@ const VPagination = genericComponent()({
19232
19230
 
19233
19231
  const makeVDataTableFooterProps = propsFactory({
19234
19232
  prevIcon: {
19235
- type: String,
19233
+ type: IconValue,
19236
19234
  default: '$prev'
19237
19235
  },
19238
19236
  nextIcon: {
19239
- type: String,
19237
+ type: IconValue,
19240
19238
  default: '$next'
19241
19239
  },
19242
19240
  firstIcon: {
19243
- type: String,
19241
+ type: IconValue,
19244
19242
  default: '$first'
19245
19243
  },
19246
19244
  lastIcon: {
19247
- type: String,
19245
+ type: IconValue,
19248
19246
  default: '$last'
19249
19247
  },
19250
19248
  itemsPerPageText: {
@@ -21179,15 +21177,15 @@ const makeVDatePickerControlsProps = propsFactory({
21179
21177
  default: false
21180
21178
  },
21181
21179
  nextIcon: {
21182
- type: [String],
21180
+ type: IconValue,
21183
21181
  default: '$next'
21184
21182
  },
21185
21183
  prevIcon: {
21186
- type: [String],
21184
+ type: IconValue,
21187
21185
  default: '$prev'
21188
21186
  },
21189
21187
  modeIcon: {
21190
- type: [String],
21188
+ type: IconValue,
21191
21189
  default: '$subgroup'
21192
21190
  },
21193
21191
  text: String,
@@ -21373,7 +21371,8 @@ const makeCalendarProps = propsFactory({
21373
21371
  weeksInMonth: {
21374
21372
  type: String,
21375
21373
  default: 'dynamic'
21376
- }
21374
+ },
21375
+ firstDayOfWeek: [Number, String]
21377
21376
  }, 'calendar');
21378
21377
  function useCalendar(props) {
21379
21378
  const adapter = useDate();
@@ -21394,8 +21393,12 @@ function useCalendar(props) {
21394
21393
  const date = adapter.setYear(adapter.startOfMonth(adapter.date()), adapter.getYear(year.value));
21395
21394
  return adapter.setMonth(date, value);
21396
21395
  }, v => adapter.getMonth(v));
21396
+ const weekDays = computed(() => {
21397
+ const firstDayOfWeek = Number(props.firstDayOfWeek ?? 0);
21398
+ return props.weekdays.map(day => (day + firstDayOfWeek) % 7);
21399
+ });
21397
21400
  const weeksInMonth = computed(() => {
21398
- const weeks = adapter.getWeekArray(month.value);
21401
+ const weeks = adapter.getWeekArray(month.value, props.firstDayOfWeek);
21399
21402
  const days = weeks.flat();
21400
21403
 
21401
21404
  // Make sure there's always 6 weeks in month (6 * 7 days)
@@ -21416,7 +21419,7 @@ function useCalendar(props) {
21416
21419
  });
21417
21420
  function genDays(days, today) {
21418
21421
  return days.filter(date => {
21419
- return props.weekdays.includes(adapter.toJsDate(date).getDay());
21422
+ return weekDays.value.includes(adapter.toJsDate(date).getDay());
21420
21423
  }).map((date, index) => {
21421
21424
  const isoDate = adapter.toISO(date);
21422
21425
  const isAdjacent = !adapter.isSameMonth(date, month.value);
@@ -21444,7 +21447,7 @@ function useCalendar(props) {
21444
21447
  });
21445
21448
  }
21446
21449
  const daysInWeek = computed(() => {
21447
- const lastDay = adapter.startOfWeek(displayValue.value);
21450
+ const lastDay = adapter.startOfWeek(displayValue.value, props.firstDayOfWeek);
21448
21451
  const week = [];
21449
21452
  for (let day = 0; day <= 6; day++) {
21450
21453
  week.push(adapter.addDays(lastDay, day));
@@ -21482,6 +21485,7 @@ function useCalendar(props) {
21482
21485
  genDays,
21483
21486
  model,
21484
21487
  weeksInMonth,
21488
+ weekDays,
21485
21489
  weekNumbers
21486
21490
  };
21487
21491
  }
@@ -21612,7 +21616,7 @@ const VDatePickerMonth = genericComponent()({
21612
21616
  "ref": daysRef,
21613
21617
  "key": daysInMonth.value[0].date?.toString(),
21614
21618
  "class": "v-date-picker-month__days"
21615
- }, [!props.hideWeekdays && adapter.getWeekdays().map(weekDay => createVNode("div", {
21619
+ }, [!props.hideWeekdays && adapter.getWeekdays(props.firstDayOfWeek).map(weekDay => createVNode("div", {
21616
21620
  "class": ['v-date-picker-month__day', 'v-date-picker-month__weekday']
21617
21621
  }, [weekDay])), daysInMonth.value.map((item, i) => {
21618
21622
  const slotProps = {
@@ -24442,11 +24446,14 @@ const VRadio = genericComponent()({
24442
24446
  let {
24443
24447
  slots
24444
24448
  } = _ref;
24445
- useRender(() => createVNode(VSelectionControl, mergeProps(props, {
24446
- "class": ['v-radio', props.class],
24447
- "style": props.style,
24448
- "type": "radio"
24449
- }), slots));
24449
+ useRender(() => {
24450
+ const controlProps = VSelectionControl.filterProps(props);
24451
+ return createVNode(VSelectionControl, mergeProps(controlProps, {
24452
+ "class": ['v-radio', props.class],
24453
+ "style": props.style,
24454
+ "type": "radio"
24455
+ }), slots);
24456
+ });
24450
24457
  return {};
24451
24458
  }
24452
24459
  });
@@ -26769,8 +26776,8 @@ const makeVTextareaProps = propsFactory({
26769
26776
  },
26770
26777
  suffix: String,
26771
26778
  modelModifiers: Object,
26772
- ...makeVInputProps(),
26773
- ...makeVFieldProps()
26779
+ ...omit(makeVInputProps(), ['centerAffix']),
26780
+ ...omit(makeVFieldProps(), ['centerAffix'])
26774
26781
  }, 'VTextarea');
26775
26782
  const VTextarea = genericComponent()({
26776
26783
  name: 'VTextarea',
@@ -26909,7 +26916,7 @@ const VTextarea = genericComponent()({
26909
26916
  }, props.class],
26910
26917
  "style": props.style
26911
26918
  }, rootAttrs, inputProps, {
26912
- "centerAffix": rows.value === 1 && !isPlainOrUnderlined.value,
26919
+ "centerAffix": false,
26913
26920
  "focused": isFocused.value
26914
26921
  }), {
26915
26922
  ...slots,
@@ -26934,7 +26941,7 @@ const VTextarea = genericComponent()({
26934
26941
  }, fieldProps, {
26935
26942
  "id": id.value,
26936
26943
  "active": isActive.value || isDirty.value,
26937
- "centerAffix": rows.value === 1 && !isPlainOrUnderlined.value,
26944
+ "centerAffix": false,
26938
26945
  "dirty": isDirty.value || props.dirty,
26939
26946
  "disabled": isDisabled.value,
26940
26947
  "focused": isFocused.value,
@@ -27786,7 +27793,8 @@ const VCalendar = genericComponent()({
27786
27793
  genDays,
27787
27794
  model,
27788
27795
  displayValue,
27789
- weekNumbers
27796
+ weekNumbers,
27797
+ weekDays
27790
27798
  } = useCalendar(props);
27791
27799
  const dayNames = adapter.getWeekdays();
27792
27800
  function onClickNext() {
@@ -27836,19 +27844,19 @@ const VCalendar = genericComponent()({
27836
27844
  }), null) : slots.header({
27837
27845
  title: title.value
27838
27846
  }))]), createVNode("div", {
27839
- "class": ['v-calendar__container', `days__${props.weekdays.length}`]
27847
+ "class": ['v-calendar__container', `days__${weekDays.value.length}`]
27840
27848
  }, [props.viewMode === 'month' && !props.hideDayHeader && createVNode("div", {
27841
- "class": ['v-calendar-weekly__head', `days__${props.weekdays.length}`, ...(!props.hideWeekNumber ? ['v-calendar-weekly__head-weeknumbers'] : [])],
27849
+ "class": ['v-calendar-weekly__head', `days__${weekDays.value.length}`, ...(!props.hideWeekNumber ? ['v-calendar-weekly__head-weeknumbers'] : [])],
27842
27850
  "key": "calenderWeeklyHead"
27843
27851
  }, [!props.hideWeekNumber ? createVNode("div", {
27844
27852
  "key": "weekNumber0",
27845
27853
  "class": "v-calendar-weekly__head-weeknumber"
27846
- }, null) : '', props.weekdays.map(weekday => createVNode("div", {
27854
+ }, null) : '', weekDays.value.map(weekday => createVNode("div", {
27847
27855
  "class": `v-calendar-weekly__head-weekday${!props.hideWeekNumber ? '-with-weeknumber' : ''}`
27848
27856
  }, [dayNames[weekday]]))]), props.viewMode === 'month' && createVNode("div", {
27849
27857
  "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", {
27858
+ "class": ['v-calendar-month__days', `days${!props.hideWeekNumber ? '-with-weeknumbers' : ''}__${weekDays.value.length}`, ...(!props.hideWeekNumber ? ['v-calendar-month__weeknumbers'] : [])]
27859
+ }, [chunkArray(daysInMonth.value, weekDays.value.length).map((week, wi) => [!props.hideWeekNumber ? createVNode("div", {
27852
27860
  "class": "v-calendar-month__weeknumber"
27853
27861
  }, [weekNumbers.value[wi]]) : '', week.map(day => createVNode(VCalendarMonthDay, {
27854
27862
  "color": adapter.isSameDay(adapter.date(), day.date) ? 'primary' : undefined,
@@ -28088,7 +28096,7 @@ const VNumberInput = genericComponent()({
28088
28096
  toggleUpDown(false);
28089
28097
  }
28090
28098
  function onKeydown(e) {
28091
- if (['Enter', 'ArrowLeft', 'ArrowRight', 'Backspace', 'Tab'].includes(e.key) || e.ctrlKey) return;
28099
+ if (['Enter', 'ArrowLeft', 'ArrowRight', 'Backspace', 'Delete', 'Tab'].includes(e.key) || e.ctrlKey) return;
28092
28100
  if (['ArrowDown'].includes(e.key)) {
28093
28101
  e.preventDefault();
28094
28102
  toggleUpDown(false);
@@ -28740,8 +28748,8 @@ const VTimePickerClock = genericComponent()({
28740
28748
  name: 'VTimePickerClock',
28741
28749
  props: makeVTimePickerClockProps(),
28742
28750
  emits: {
28743
- change: val => val,
28744
- input: val => val
28751
+ change: val => true,
28752
+ input: val => true
28745
28753
  },
28746
28754
  setup(props, _ref) {
28747
28755
  let {
@@ -28989,8 +28997,8 @@ const VTimePickerControls = genericComponent()({
28989
28997
  name: 'VTimePickerControls',
28990
28998
  props: makeVTimePickerControlsProps(),
28991
28999
  emits: {
28992
- 'update:period': data => data,
28993
- 'update:selecting': data => data
29000
+ 'update:period': data => true,
29001
+ 'update:selecting': data => true
28994
29002
  },
28995
29003
  setup(props, _ref) {
28996
29004
  let {
@@ -29126,11 +29134,11 @@ const VTimePicker = genericComponent()({
29126
29134
  name: 'VTimePicker',
29127
29135
  props: makeVTimePickerProps(),
29128
29136
  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
29137
+ 'update:hour': val => true,
29138
+ 'update:minute': val => true,
29139
+ 'update:period': val => true,
29140
+ 'update:second': val => true,
29141
+ 'update:modelValue': val => true
29134
29142
  },
29135
29143
  setup(props, _ref) {
29136
29144
  let {
@@ -30261,7 +30269,7 @@ function createVuetify$1() {
30261
30269
  goTo
30262
30270
  };
30263
30271
  }
30264
- const version$1 = "3.6.11-master.2024-07-08";
30272
+ const version$1 = "3.6.12-master.2024-07-10";
30265
30273
  createVuetify$1.version = version$1;
30266
30274
 
30267
30275
  // Vue's inject() can only be used in setup
@@ -30514,7 +30522,7 @@ var index = /*#__PURE__*/Object.freeze({
30514
30522
 
30515
30523
  /* eslint-disable local-rules/sort-imports */
30516
30524
 
30517
- const version = "3.6.11-master.2024-07-08";
30525
+ const version = "3.6.12-master.2024-07-10";
30518
30526
 
30519
30527
  /* eslint-disable local-rules/sort-imports */
30520
30528