@vuetify/nightly 3.8.6-master.2025-05-22 → 3.8.6-master.2025-05-23

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
package/dist/vuetify.d.ts CHANGED
@@ -85880,21 +85880,19 @@ declare module 'vue' {
85880
85880
  VAppBar: VAppBar
85881
85881
  VAppBarNavIcon: VAppBarNavIcon
85882
85882
  VAppBarTitle: VAppBarTitle
85883
- VAutocomplete: VAutocomplete
85884
- VAvatar: VAvatar
85885
- VAlert: VAlert
85886
- VAlertTitle: VAlertTitle
85887
- VApp: VApp
85888
- VBadge: VBadge
85889
- VBottomNavigation: VBottomNavigation
85890
85883
  VBanner: VBanner
85891
85884
  VBannerActions: VBannerActions
85892
85885
  VBannerText: VBannerText
85886
+ VApp: VApp
85887
+ VAlert: VAlert
85888
+ VAlertTitle: VAlertTitle
85889
+ VAutocomplete: VAutocomplete
85890
+ VBadge: VBadge
85893
85891
  VBottomSheet: VBottomSheet
85892
+ VAvatar: VAvatar
85893
+ VBottomNavigation: VBottomNavigation
85894
85894
  VBtnGroup: VBtnGroup
85895
- VBreadcrumbs: VBreadcrumbs
85896
- VBreadcrumbsItem: VBreadcrumbsItem
85897
- VBreadcrumbsDivider: VBreadcrumbsDivider
85895
+ VBtn: VBtn
85898
85896
  VCard: VCard
85899
85897
  VCardActions: VCardActions
85900
85898
  VCardItem: VCardItem
@@ -85904,21 +85902,17 @@ declare module 'vue' {
85904
85902
  VBtnToggle: VBtnToggle
85905
85903
  VCarousel: VCarousel
85906
85904
  VCarouselItem: VCarouselItem
85907
- VBtn: VBtn
85905
+ VChip: VChip
85906
+ VChipGroup: VChipGroup
85908
85907
  VCheckbox: VCheckbox
85909
85908
  VCheckboxBtn: VCheckboxBtn
85909
+ VBreadcrumbs: VBreadcrumbs
85910
+ VBreadcrumbsItem: VBreadcrumbsItem
85911
+ VBreadcrumbsDivider: VBreadcrumbsDivider
85910
85912
  VCode: VCode
85911
- VChip: VChip
85912
85913
  VCombobox: VCombobox
85913
- VColorPicker: VColorPicker
85914
85914
  VCounter: VCounter
85915
- VDatePicker: VDatePicker
85916
- VDatePickerControls: VDatePickerControls
85917
- VDatePickerHeader: VDatePickerHeader
85918
- VDatePickerMonth: VDatePickerMonth
85919
- VDatePickerMonths: VDatePickerMonths
85920
- VDatePickerYears: VDatePickerYears
85921
- VChipGroup: VChipGroup
85915
+ VColorPicker: VColorPicker
85922
85916
  VDataTable: VDataTable
85923
85917
  VDataTableHeaders: VDataTableHeaders
85924
85918
  VDataTableFooter: VDataTableFooter
@@ -85926,27 +85920,30 @@ declare module 'vue' {
85926
85920
  VDataTableRow: VDataTableRow
85927
85921
  VDataTableVirtual: VDataTableVirtual
85928
85922
  VDataTableServer: VDataTableServer
85929
- VEmptyState: VEmptyState
85923
+ VDatePicker: VDatePicker
85924
+ VDatePickerControls: VDatePickerControls
85925
+ VDatePickerHeader: VDatePickerHeader
85926
+ VDatePickerMonth: VDatePickerMonth
85927
+ VDatePickerMonths: VDatePickerMonths
85928
+ VDatePickerYears: VDatePickerYears
85929
+ VDialog: VDialog
85930
85930
  VDivider: VDivider
85931
- VFab: VFab
85932
- VField: VField
85933
- VFieldLabel: VFieldLabel
85934
85931
  VExpansionPanels: VExpansionPanels
85935
85932
  VExpansionPanel: VExpansionPanel
85936
85933
  VExpansionPanelText: VExpansionPanelText
85937
85934
  VExpansionPanelTitle: VExpansionPanelTitle
85935
+ VField: VField
85936
+ VFieldLabel: VFieldLabel
85938
85937
  VFileInput: VFileInput
85939
- VDialog: VDialog
85940
- VIcon: VIcon
85941
- VComponentIcon: VComponentIcon
85942
- VSvgIcon: VSvgIcon
85943
- VLigatureIcon: VLigatureIcon
85944
- VClassIcon: VClassIcon
85938
+ VFooter: VFooter
85939
+ VEmptyState: VEmptyState
85945
85940
  VImg: VImg
85941
+ VFab: VFab
85946
85942
  VInput: VInput
85947
- VInfiniteScroll: VInfiniteScroll
85948
85943
  VKbd: VKbd
85949
- VFooter: VFooter
85944
+ VInfiniteScroll: VInfiniteScroll
85945
+ VItemGroup: VItemGroup
85946
+ VItem: VItem
85950
85947
  VLabel: VLabel
85951
85948
  VList: VList
85952
85949
  VListGroup: VListGroup
@@ -85957,73 +85954,72 @@ declare module 'vue' {
85957
85954
  VListItemSubtitle: VListItemSubtitle
85958
85955
  VListItemTitle: VListItemTitle
85959
85956
  VListSubheader: VListSubheader
85960
- VItemGroup: VItemGroup
85961
- VItem: VItem
85962
- VMenu: VMenu
85963
85957
  VMessages: VMessages
85958
+ VMain: VMain
85964
85959
  VNumberInput: VNumberInput
85960
+ VNavigationDrawer: VNavigationDrawer
85965
85961
  VOtpInput: VOtpInput
85966
85962
  VOverlay: VOverlay
85967
85963
  VPagination: VPagination
85968
- VNavigationDrawer: VNavigationDrawer
85969
85964
  VProgressCircular: VProgressCircular
85970
- VProgressLinear: VProgressLinear
85971
85965
  VRadioGroup: VRadioGroup
85966
+ VProgressLinear: VProgressLinear
85972
85967
  VRating: VRating
85973
85968
  VSelect: VSelect
85974
- VSheet: VSheet
85969
+ VSelectionControl: VSelectionControl
85975
85970
  VSelectionControlGroup: VSelectionControlGroup
85976
- VSnackbar: VSnackbar
85977
- VSlider: VSlider
85971
+ VSkeletonLoader: VSkeletonLoader
85972
+ VMenu: VMenu
85973
+ VSheet: VSheet
85978
85974
  VSlideGroup: VSlideGroup
85979
85975
  VSlideGroupItem: VSlideGroupItem
85980
- VSkeletonLoader: VSkeletonLoader
85976
+ VSnackbar: VSnackbar
85977
+ VSlider: VSlider
85981
85978
  VStepper: VStepper
85982
85979
  VStepperActions: VStepperActions
85983
85980
  VStepperHeader: VStepperHeader
85984
85981
  VStepperItem: VStepperItem
85985
85982
  VStepperWindow: VStepperWindow
85986
85983
  VStepperWindowItem: VStepperWindowItem
85987
- VSelectionControl: VSelectionControl
85988
85984
  VSwitch: VSwitch
85989
- VTab: VTab
85990
- VTabs: VTabs
85991
- VTabsWindow: VTabsWindow
85992
- VTabsWindowItem: VTabsWindowItem
85993
85985
  VSystemBar: VSystemBar
85994
- VTable: VTable
85995
85986
  VTextarea: VTextarea
85996
85987
  VTextField: VTextField
85997
- VTimeline: VTimeline
85998
- VTimelineItem: VTimelineItem
85999
- VTooltip: VTooltip
85988
+ VTable: VTable
86000
85989
  VToolbar: VToolbar
86001
85990
  VToolbarTitle: VToolbarTitle
86002
85991
  VToolbarItems: VToolbarItems
85992
+ VTooltip: VTooltip
85993
+ VTimeline: VTimeline
85994
+ VTimelineItem: VTimelineItem
85995
+ VTab: VTab
85996
+ VTabs: VTabs
85997
+ VTabsWindow: VTabsWindow
85998
+ VTabsWindowItem: VTabsWindowItem
86003
85999
  VWindow: VWindow
86004
86000
  VWindowItem: VWindowItem
86005
86001
  VConfirmEdit: VConfirmEdit
86006
- VDefaultsProvider: VDefaultsProvider
86007
86002
  VDataIterator: VDataIterator
86008
- VForm: VForm
86009
86003
  VContainer: VContainer
86010
86004
  VCol: VCol
86011
86005
  VRow: VRow
86012
86006
  VSpacer: VSpacer
86013
86007
  VHover: VHover
86008
+ VForm: VForm
86009
+ VLazy: VLazy
86014
86010
  VLayout: VLayout
86015
86011
  VLayoutItem: VLayoutItem
86012
+ VLocaleProvider: VLocaleProvider
86016
86013
  VNoSsr: VNoSsr
86017
86014
  VParallax: VParallax
86015
+ VRadio: VRadio
86018
86016
  VRangeSlider: VRangeSlider
86019
86017
  VResponsive: VResponsive
86020
- VRadio: VRadio
86021
- VSparkline: VSparkline
86022
- VSpeedDial: VSpeedDial
86023
86018
  VSnackbarQueue: VSnackbarQueue
86019
+ VSpeedDial: VSpeedDial
86024
86020
  VValidation: VValidation
86025
- VVirtualScroll: VVirtualScroll
86026
86021
  VThemeProvider: VThemeProvider
86022
+ VVirtualScroll: VVirtualScroll
86027
86023
  VFabTransition: VFabTransition
86028
86024
  VDialogBottomTransition: VDialogBottomTransition
86029
86025
  VDialogTopTransition: VDialogTopTransition
@@ -86040,31 +86036,35 @@ declare module 'vue' {
86040
86036
  VExpandTransition: VExpandTransition
86041
86037
  VExpandXTransition: VExpandXTransition
86042
86038
  VDialogTransition: VDialogTransition
86043
- VMain: VMain
86044
- VLocaleProvider: VLocaleProvider
86045
- VLazy: VLazy
86039
+ VSparkline: VSparkline
86040
+ VIcon: VIcon
86041
+ VComponentIcon: VComponentIcon
86042
+ VSvgIcon: VSvgIcon
86043
+ VLigatureIcon: VLigatureIcon
86044
+ VClassIcon: VClassIcon
86045
+ VDefaultsProvider: VDefaultsProvider
86046
86046
  VCalendar: VCalendar
86047
86047
  VCalendarDay: VCalendarDay
86048
86048
  VCalendarHeader: VCalendarHeader
86049
86049
  VCalendarInterval: VCalendarInterval
86050
86050
  VCalendarIntervalEvent: VCalendarIntervalEvent
86051
86051
  VCalendarMonthDay: VCalendarMonthDay
86052
+ VIconBtn: VIconBtn
86052
86053
  VFileUpload: VFileUpload
86053
86054
  VFileUploadItem: VFileUploadItem
86054
- VStepperVertical: VStepperVertical
86055
- VStepperVerticalItem: VStepperVerticalItem
86056
- VStepperVerticalActions: VStepperVerticalActions
86057
86055
  VColorInput: VColorInput
86058
- VIconBtn: VIconBtn
86059
86056
  VPicker: VPicker
86060
86057
  VPickerTitle: VPickerTitle
86058
+ VStepperVertical: VStepperVertical
86059
+ VStepperVerticalItem: VStepperVerticalItem
86060
+ VStepperVerticalActions: VStepperVerticalActions
86061
+ VTimePicker: VTimePicker
86062
+ VTimePickerClock: VTimePickerClock
86063
+ VTimePickerControls: VTimePickerControls
86061
86064
  VTreeview: VTreeview
86062
86065
  VTreeviewItem: VTreeviewItem
86063
86066
  VTreeviewGroup: VTreeviewGroup
86064
86067
  VDateInput: VDateInput
86065
- VTimePicker: VTimePicker
86066
- VTimePickerClock: VTimePickerClock
86067
- VTimePickerControls: VTimePickerControls
86068
86068
  VPullToRefresh: VPullToRefresh
86069
86069
  }
86070
86070
  }
@@ -1,5 +1,5 @@
1
1
  /*!
2
- * Vuetify v3.8.6-master.2025-05-22
2
+ * Vuetify v3.8.6-master.2025-05-23
3
3
  * Forged by John Leider
4
4
  * Released under the MIT License.
5
5
  */
@@ -510,6 +510,21 @@ function checkPrintable(e) {
510
510
  function isPrimitive(value) {
511
511
  return typeof value === 'string' || typeof value === 'number' || typeof value === 'boolean' || typeof value === 'bigint';
512
512
  }
513
+ function extractNumber(text, decimalDigitsLimit) {
514
+ const cleanText = text.split('').filter(x => /[\d\-.]/.test(x)).filter((x, i, all) => i === 0 && /[-]/.test(x) ||
515
+ // sign allowed at the start
516
+ x === '.' && i === all.indexOf('.') ||
517
+ // decimal separator allowed only once
518
+ /\d/.test(x)).join('');
519
+ if (decimalDigitsLimit === 0) {
520
+ return cleanText.split('.')[0];
521
+ }
522
+ if (decimalDigitsLimit !== null && /\.\d/.test(cleanText)) {
523
+ const parts = cleanText.split('.');
524
+ return [parts[0], parts[1].substring(0, decimalDigitsLimit)].join('.');
525
+ }
526
+ return cleanText;
527
+ }
513
528
 
514
529
  // Utilities
515
530
  const block = ['top', 'bottom'];
@@ -25171,25 +25186,33 @@ const VNumberInput = genericComponent()({
25171
25186
  }
25172
25187
  function onBeforeinput(e) {
25173
25188
  if (!e.data) return;
25174
- const existingTxt = e.target?.value;
25175
- const selectionStart = e.target?.selectionStart;
25176
- const selectionEnd = e.target?.selectionEnd;
25189
+ const inputElement = e.target;
25190
+ const {
25191
+ value: existingTxt,
25192
+ selectionStart,
25193
+ selectionEnd
25194
+ } = inputElement ?? {};
25177
25195
  const potentialNewInputVal = existingTxt ? existingTxt.slice(0, selectionStart) + e.data + existingTxt.slice(selectionEnd) : e.data;
25196
+ const potentialNewNumber = extractNumber(potentialNewInputVal, props.precision);
25197
+
25178
25198
  // Only numbers, "-", "." are allowed
25179
25199
  // AND "-", "." are allowed only once
25180
25200
  // AND "-" is only allowed at the start
25181
25201
  if (!/^-?(\d+(\.\d*)?|(\.\d+)|\d*|\.)$/.test(potentialNewInputVal)) {
25182
25202
  e.preventDefault();
25203
+ inputElement.value = potentialNewNumber;
25183
25204
  }
25184
25205
  if (props.precision == null) return;
25185
25206
 
25186
25207
  // Ignore decimal digits above precision limit
25187
25208
  if (potentialNewInputVal.split('.')[1]?.length > props.precision) {
25188
25209
  e.preventDefault();
25210
+ inputElement.value = potentialNewNumber;
25189
25211
  }
25190
25212
  // Ignore decimal separator when precision = 0
25191
25213
  if (props.precision === 0 && potentialNewInputVal.includes('.')) {
25192
25214
  e.preventDefault();
25215
+ inputElement.value = potentialNewNumber;
25193
25216
  }
25194
25217
  }
25195
25218
  async function onKeydown(e) {
@@ -29290,7 +29313,7 @@ function createVuetify$1() {
29290
29313
  };
29291
29314
  });
29292
29315
  }
29293
- const version$1 = "3.8.6-master.2025-05-22";
29316
+ const version$1 = "3.8.6-master.2025-05-23";
29294
29317
  createVuetify$1.version = version$1;
29295
29318
 
29296
29319
  // Vue's inject() can only be used in setup
@@ -29315,7 +29338,7 @@ const createVuetify = function () {
29315
29338
  ...options
29316
29339
  });
29317
29340
  };
29318
- const version = "3.8.6-master.2025-05-22";
29341
+ const version = "3.8.6-master.2025-05-23";
29319
29342
  createVuetify.version = version;
29320
29343
 
29321
29344
  export { index as blueprints, components, createVuetify, directives, useDate, useDefaults, useDisplay, useGoTo, useLayout, useLocale, useRtl, useTheme, version };