vuetify 3.10.1 → 3.10.2

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 (41) hide show
  1. package/LICENSE.md +21 -0
  2. package/README.md +331 -0
  3. package/dist/json/attributes.json +3758 -3758
  4. package/dist/json/importMap-labs.json +14 -14
  5. package/dist/json/importMap.json +162 -162
  6. package/dist/json/web-types.json +6612 -6612
  7. package/dist/vuetify-labs.cjs +14 -97
  8. package/dist/vuetify-labs.css +4544 -4544
  9. package/dist/vuetify-labs.d.ts +49 -50
  10. package/dist/vuetify-labs.esm.js +14 -97
  11. package/dist/vuetify-labs.esm.js.map +1 -1
  12. package/dist/vuetify-labs.js +14 -97
  13. package/dist/vuetify-labs.min.css +2 -2
  14. package/dist/vuetify.cjs +14 -97
  15. package/dist/vuetify.cjs.map +1 -1
  16. package/dist/vuetify.css +6241 -6241
  17. package/dist/vuetify.d.ts +49 -50
  18. package/dist/vuetify.esm.js +14 -97
  19. package/dist/vuetify.esm.js.map +1 -1
  20. package/dist/vuetify.js +14 -97
  21. package/dist/vuetify.js.map +1 -1
  22. package/dist/vuetify.min.css +2 -2
  23. package/dist/vuetify.min.js +692 -704
  24. package/dist/vuetify.min.js.map +1 -1
  25. package/lib/components/VAutocomplete/VAutocomplete.js +1 -1
  26. package/lib/components/VAutocomplete/VAutocomplete.js.map +1 -1
  27. package/lib/components/VBtn/VBtn.js +5 -2
  28. package/lib/components/VBtn/VBtn.js.map +1 -1
  29. package/lib/components/VChip/VChip.js +3 -4
  30. package/lib/components/VChip/VChip.js.map +1 -1
  31. package/lib/components/VCombobox/VCombobox.js +1 -1
  32. package/lib/components/VCombobox/VCombobox.js.map +1 -1
  33. package/lib/components/VSelect/VSelect.js +1 -1
  34. package/lib/components/VSelect/VSelect.js.map +1 -1
  35. package/lib/composables/router.d.ts +0 -1
  36. package/lib/composables/router.js +0 -6
  37. package/lib/composables/router.js.map +1 -1
  38. package/lib/entry-bundler.js +1 -1
  39. package/lib/framework.d.ts +49 -49
  40. package/lib/framework.js +1 -1
  41. package/package.json +1 -1
package/dist/vuetify.d.ts CHANGED
@@ -6831,7 +6831,6 @@ interface UseLink extends Omit<Partial<ReturnType<typeof useLink>>, 'href'> {
6831
6831
  isClickable: Readonly<Ref<boolean>>;
6832
6832
  href: Ref<string | undefined>;
6833
6833
  linkProps: Record<string, string | undefined>;
6834
- navigateWithCheck?: (e: MouseEvent | undefined) => Promise<boolean>;
6835
6834
  }
6836
6835
 
6837
6836
  type ListItemSlot = {
@@ -105729,21 +105728,22 @@ declare module 'vue' {
105729
105728
  export interface GlobalComponents {
105730
105729
  VApp: VApp
105731
105730
  VAutocomplete: VAutocomplete
105731
+ VAlert: VAlert
105732
+ VAlertTitle: VAlertTitle
105733
+ VAvatar: VAvatar
105732
105734
  VAppBar: VAppBar
105733
105735
  VAppBarNavIcon: VAppBarNavIcon
105734
105736
  VAppBarTitle: VAppBarTitle
105735
105737
  VBadge: VBadge
105736
- VAlert: VAlert
105737
- VAlertTitle: VAlertTitle
105738
+ VBanner: VBanner
105739
+ VBannerActions: VBannerActions
105740
+ VBannerText: VBannerText
105741
+ VBottomNavigation: VBottomNavigation
105742
+ VBottomSheet: VBottomSheet
105738
105743
  VBreadcrumbs: VBreadcrumbs
105739
105744
  VBreadcrumbsItem: VBreadcrumbsItem
105740
105745
  VBreadcrumbsDivider: VBreadcrumbsDivider
105741
- VAvatar: VAvatar
105742
- VBottomNavigation: VBottomNavigation
105743
105746
  VBtnGroup: VBtnGroup
105744
- VBanner: VBanner
105745
- VBannerActions: VBannerActions
105746
- VBannerText: VBannerText
105747
105747
  VCard: VCard
105748
105748
  VCardActions: VCardActions
105749
105749
  VCardItem: VCardItem
@@ -105751,23 +105751,17 @@ declare module 'vue' {
105751
105751
  VCardText: VCardText
105752
105752
  VCardTitle: VCardTitle
105753
105753
  VBtn: VBtn
105754
+ VBtnToggle: VBtnToggle
105754
105755
  VCheckbox: VCheckbox
105755
105756
  VCheckboxBtn: VCheckboxBtn
105756
- VBtnToggle: VBtnToggle
105757
- VChipGroup: VChipGroup
105758
105757
  VCarousel: VCarousel
105759
105758
  VCarouselItem: VCarouselItem
105760
- VCombobox: VCombobox
105761
105759
  VChip: VChip
105762
- VCounter: VCounter
105763
- VColorPicker: VColorPicker
105764
- VDatePicker: VDatePicker
105765
- VDatePickerControls: VDatePickerControls
105766
- VDatePickerHeader: VDatePickerHeader
105767
- VDatePickerMonth: VDatePickerMonth
105768
- VDatePickerMonths: VDatePickerMonths
105769
- VDatePickerYears: VDatePickerYears
105760
+ VChipGroup: VChipGroup
105761
+ VCombobox: VCombobox
105770
105762
  VCode: VCode
105763
+ VCounter: VCounter
105764
+ VDivider: VDivider
105771
105765
  VDataTable: VDataTable
105772
105766
  VDataTableHeaders: VDataTableHeaders
105773
105767
  VDataTableFooter: VDataTableFooter
@@ -105775,31 +105769,36 @@ declare module 'vue' {
105775
105769
  VDataTableRow: VDataTableRow
105776
105770
  VDataTableVirtual: VDataTableVirtual
105777
105771
  VDataTableServer: VDataTableServer
105778
- VDivider: VDivider
105772
+ VColorPicker: VColorPicker
105773
+ VDatePicker: VDatePicker
105774
+ VDatePickerControls: VDatePickerControls
105775
+ VDatePickerHeader: VDatePickerHeader
105776
+ VDatePickerMonth: VDatePickerMonth
105777
+ VDatePickerMonths: VDatePickerMonths
105778
+ VDatePickerYears: VDatePickerYears
105779
105779
  VFab: VFab
105780
- VDialog: VDialog
105781
105780
  VEmptyState: VEmptyState
105781
+ VDialog: VDialog
105782
105782
  VExpansionPanels: VExpansionPanels
105783
105783
  VExpansionPanel: VExpansionPanel
105784
105784
  VExpansionPanelText: VExpansionPanelText
105785
105785
  VExpansionPanelTitle: VExpansionPanelTitle
105786
- VField: VField
105787
- VFieldLabel: VFieldLabel
105788
105786
  VFileInput: VFileInput
105789
105787
  VFooter: VFooter
105788
+ VField: VField
105789
+ VFieldLabel: VFieldLabel
105790
105790
  VImg: VImg
105791
105791
  VIcon: VIcon
105792
105792
  VComponentIcon: VComponentIcon
105793
105793
  VSvgIcon: VSvgIcon
105794
105794
  VLigatureIcon: VLigatureIcon
105795
105795
  VClassIcon: VClassIcon
105796
- VInput: VInput
105797
105796
  VItemGroup: VItemGroup
105798
105797
  VItem: VItem
105798
+ VInput: VInput
105799
105799
  VInfiniteScroll: VInfiniteScroll
105800
105800
  VKbd: VKbd
105801
105801
  VLabel: VLabel
105802
- VMenu: VMenu
105803
105802
  VMain: VMain
105804
105803
  VList: VList
105805
105804
  VListGroup: VListGroup
@@ -105810,57 +105809,58 @@ declare module 'vue' {
105810
105809
  VListItemSubtitle: VListItemSubtitle
105811
105810
  VListItemTitle: VListItemTitle
105812
105811
  VListSubheader: VListSubheader
105812
+ VMenu: VMenu
105813
105813
  VNavigationDrawer: VNavigationDrawer
105814
- VOverlay: VOverlay
105815
105814
  VMessages: VMessages
105816
105815
  VNumberInput: VNumberInput
105816
+ VOverlay: VOverlay
105817
105817
  VOtpInput: VOtpInput
105818
- VPagination: VPagination
105819
105818
  VProgressCircular: VProgressCircular
105819
+ VPagination: VPagination
105820
+ VRadioGroup: VRadioGroup
105820
105821
  VProgressLinear: VProgressLinear
105822
+ VSelectionControl: VSelectionControl
105821
105823
  VRating: VRating
105822
- VRadioGroup: VRadioGroup
105823
105824
  VSelect: VSelect
105824
- VSelectionControl: VSelectionControl
105825
105825
  VSkeletonLoader: VSkeletonLoader
105826
105826
  VSelectionControlGroup: VSelectionControlGroup
105827
+ VSheet: VSheet
105827
105828
  VSlideGroup: VSlideGroup
105828
105829
  VSlideGroupItem: VSlideGroupItem
105829
- VSheet: VSheet
105830
+ VSlider: VSlider
105830
105831
  VSnackbar: VSnackbar
105832
+ VSwitch: VSwitch
105833
+ VSystemBar: VSystemBar
105831
105834
  VStepper: VStepper
105832
105835
  VStepperActions: VStepperActions
105833
105836
  VStepperHeader: VStepperHeader
105834
105837
  VStepperItem: VStepperItem
105835
105838
  VStepperWindow: VStepperWindow
105836
105839
  VStepperWindowItem: VStepperWindowItem
105837
- VSlider: VSlider
105838
105840
  VTextarea: VTextarea
105839
- VTextField: VTextField
105840
- VTable: VTable
105841
105841
  VTab: VTab
105842
105842
  VTabs: VTabs
105843
105843
  VTabsWindow: VTabsWindow
105844
105844
  VTabsWindowItem: VTabsWindowItem
105845
+ VTable: VTable
105846
+ VTextField: VTextField
105847
+ VToolbar: VToolbar
105848
+ VToolbarTitle: VToolbarTitle
105849
+ VToolbarItems: VToolbarItems
105845
105850
  VTimePicker: VTimePicker
105846
105851
  VTimePickerClock: VTimePickerClock
105847
105852
  VTimePickerControls: VTimePickerControls
105853
+ VTimeline: VTimeline
105854
+ VTimelineItem: VTimelineItem
105855
+ VTooltip: VTooltip
105848
105856
  VTreeview: VTreeview
105849
105857
  VTreeviewItem: VTreeviewItem
105850
105858
  VTreeviewGroup: VTreeviewGroup
105851
- VToolbar: VToolbar
105852
- VToolbarTitle: VToolbarTitle
105853
- VToolbarItems: VToolbarItems
105854
- VTimeline: VTimeline
105855
- VTimelineItem: VTimelineItem
105856
- VSystemBar: VSystemBar
105857
105859
  VWindow: VWindow
105858
105860
  VWindowItem: VWindowItem
105859
- VTooltip: VTooltip
105860
105861
  VConfirmEdit: VConfirmEdit
105861
105862
  VDataIterator: VDataIterator
105862
105863
  VDefaultsProvider: VDefaultsProvider
105863
- VSwitch: VSwitch
105864
105864
  VForm: VForm
105865
105865
  VContainer: VContainer
105866
105866
  VCol: VCol
@@ -105869,17 +105869,18 @@ declare module 'vue' {
105869
105869
  VHover: VHover
105870
105870
  VLayout: VLayout
105871
105871
  VLayoutItem: VLayoutItem
105872
- VLazy: VLazy
105873
105872
  VLocaleProvider: VLocaleProvider
105873
+ VLazy: VLazy
105874
105874
  VNoSsr: VNoSsr
105875
105875
  VParallax: VParallax
105876
- VRadio: VRadio
105877
105876
  VRangeSlider: VRangeSlider
105877
+ VRadio: VRadio
105878
105878
  VResponsive: VResponsive
105879
105879
  VSnackbarQueue: VSnackbarQueue
105880
- VSpeedDial: VSpeedDial
105881
105880
  VSparkline: VSparkline
105881
+ VSpeedDial: VSpeedDial
105882
105882
  VThemeProvider: VThemeProvider
105883
+ VValidation: VValidation
105883
105884
  VVirtualScroll: VVirtualScroll
105884
105885
  VFabTransition: VFabTransition
105885
105886
  VDialogBottomTransition: VDialogBottomTransition
@@ -105897,18 +105898,16 @@ declare module 'vue' {
105897
105898
  VExpandTransition: VExpandTransition
105898
105899
  VExpandXTransition: VExpandXTransition
105899
105900
  VDialogTransition: VDialogTransition
105900
- VValidation: VValidation
105901
- VBottomSheet: VBottomSheet
105901
+ VCalendar: VCalendar
105902
105902
  VColorInput: VColorInput
105903
- VPicker: VPicker
105904
- VPickerTitle: VPickerTitle
105905
105903
  VFileUpload: VFileUpload
105906
105904
  VFileUploadItem: VFileUploadItem
105907
- VCalendar: VCalendar
105905
+ VIconBtn: VIconBtn
105906
+ VPicker: VPicker
105907
+ VPickerTitle: VPickerTitle
105908
105908
  VPie: VPie
105909
105909
  VPieSegment: VPieSegment
105910
105910
  VPieTooltip: VPieTooltip
105911
- VIconBtn: VIconBtn
105912
105911
  VStepperVertical: VStepperVertical
105913
105912
  VStepperVerticalItem: VStepperVerticalItem
105914
105913
  VStepperVerticalActions: VStepperVerticalActions
@@ -1,5 +1,5 @@
1
1
  /*!
2
- * Vuetify v3.10.1
2
+ * Vuetify v3.10.2
3
3
  * Forged by John Leider
4
4
  * Released under the MIT License.
5
5
  */
@@ -5865,86 +5865,6 @@ function usePosition(props) {
5865
5865
  };
5866
5866
  }
5867
5867
 
5868
- /*!
5869
- * vue-router v4.5.0
5870
- * (c) 2024 Eduardo San Martin Morote
5871
- * @license MIT
5872
- */
5873
- var NavigationType;
5874
- (function (NavigationType) {
5875
- NavigationType["pop"] = "pop";
5876
- NavigationType["push"] = "push";
5877
- })(NavigationType || (NavigationType = {}));
5878
- var NavigationDirection;
5879
- (function (NavigationDirection) {
5880
- NavigationDirection["back"] = "back";
5881
- NavigationDirection["forward"] = "forward";
5882
- NavigationDirection["unknown"] = "";
5883
- })(NavigationDirection || (NavigationDirection = {}));
5884
- const NavigationFailureSymbol = Symbol(process.env.NODE_ENV !== 'production' ? 'navigation failure' : '');
5885
- /**
5886
- * Enumeration with all possible types for navigation failures. Can be passed to
5887
- * {@link isNavigationFailure} to check for specific failures.
5888
- */
5889
- var NavigationFailureType;
5890
- (function (NavigationFailureType) {
5891
- /**
5892
- * An aborted navigation is a navigation that failed because a navigation
5893
- * guard returned `false` or called `next(false)`
5894
- */
5895
- NavigationFailureType[NavigationFailureType["aborted"] = 4] = "aborted";
5896
- /**
5897
- * A cancelled navigation is a navigation that failed because a more recent
5898
- * navigation finished started (not necessarily finished).
5899
- */
5900
- NavigationFailureType[NavigationFailureType["cancelled"] = 8] = "cancelled";
5901
- /**
5902
- * A duplicated navigation is a navigation that failed because it was
5903
- * initiated while already being at the exact same location.
5904
- */
5905
- NavigationFailureType[NavigationFailureType["duplicated"] = 16] = "duplicated";
5906
- })(NavigationFailureType || (NavigationFailureType = {}));
5907
- function isNavigationFailure(error, type) {
5908
- return error instanceof Error && NavigationFailureSymbol in error && (type == null || !!(error.type & type));
5909
- }
5910
-
5911
- /**
5912
- * RouteRecord being rendered by the closest ancestor Router View. Used for
5913
- * `onBeforeRouteUpdate` and `onBeforeRouteLeave`. rvlm stands for Router View
5914
- * Location Matched
5915
- *
5916
- * @internal
5917
- */
5918
- Symbol(process.env.NODE_ENV !== 'production' ? 'router view location matched' : '');
5919
- /**
5920
- * Allows overriding the router view depth to control which component in
5921
- * `matched` is rendered. rvd stands for Router View Depth
5922
- *
5923
- * @internal
5924
- */
5925
- Symbol(process.env.NODE_ENV !== 'production' ? 'router view depth' : '');
5926
- /**
5927
- * Allows overriding the router instance returned by `useRouter` in tests. r
5928
- * stands for router
5929
- *
5930
- * @internal
5931
- */
5932
- Symbol(process.env.NODE_ENV !== 'production' ? 'router' : '');
5933
- /**
5934
- * Allows overriding the current route returned by `useRoute` in tests. rl
5935
- * stands for route location
5936
- *
5937
- * @internal
5938
- */
5939
- Symbol(process.env.NODE_ENV !== 'production' ? 'route location' : '');
5940
- /**
5941
- * Allows overriding the current route used by router-view. Internally this is
5942
- * used when the `route` prop is passed.
5943
- *
5944
- * @internal
5945
- */
5946
- Symbol(process.env.NODE_ENV !== 'production' ? 'router view location' : '');
5947
-
5948
5868
  // Utilities
5949
5869
 
5950
5870
  // Types
@@ -5989,17 +5909,12 @@ function useLink(props, attrs) {
5989
5909
  return link.value.isExactActive?.value && deepEqual(link.value.route.value.query, route.value.query);
5990
5910
  });
5991
5911
  const href = computed(() => props.to ? link.value?.route.value.href : props.href);
5992
- async function navigateWithCheck(e) {
5993
- const result = await link.value?.navigate(e);
5994
- return !isNavigationFailure(result);
5995
- }
5996
5912
  return {
5997
5913
  isLink,
5998
5914
  isClickable,
5999
5915
  isActive,
6000
5916
  route: link.value?.route,
6001
5917
  navigate: link.value?.navigate,
6002
- navigateWithCheck,
6003
5918
  href,
6004
5919
  linkProps: reactive({
6005
5920
  href,
@@ -6479,9 +6394,12 @@ const VBtn = genericComponent()({
6479
6394
  if (props.value === undefined || typeof props.value === 'symbol') return undefined;
6480
6395
  return Object(props.value) === props.value ? JSON.stringify(props.value, null, 0) : props.value;
6481
6396
  });
6482
- async function onClick(e) {
6397
+ function onClick(e) {
6483
6398
  if (isDisabled.value || link.isLink.value && (e.metaKey || e.ctrlKey || e.shiftKey || e.button !== 0 || attrs.target === '_blank')) return;
6484
- if (await (link.navigateWithCheck?.(e) ?? true)) {
6399
+ if (link.isLink.value) {
6400
+ link.navigate?.(e);
6401
+ } else {
6402
+ // Group active state for links is handled by useSelectLink
6485
6403
  group?.toggle();
6486
6404
  }
6487
6405
  }
@@ -8948,12 +8866,11 @@ const VChip = genericComponent()({
8948
8866
  variant: props.variant
8949
8867
  };
8950
8868
  });
8951
- async function onClick(e) {
8869
+ function onClick(e) {
8952
8870
  emit('click', e);
8953
8871
  if (!isClickable.value) return;
8954
- if (await (link.navigateWithCheck?.(e) ?? true)) {
8955
- group?.toggle();
8956
- }
8872
+ link.navigate?.(e);
8873
+ group?.toggle();
8957
8874
  }
8958
8875
  function onKeyDown(e) {
8959
8876
  if (e.key === 'Enter' || e.key === ' ') {
@@ -13854,7 +13771,7 @@ const VSelect = genericComponent()({
13854
13771
  });
13855
13772
  }
13856
13773
  });
13857
- watch(() => props.items, (newVal, oldVal) => {
13774
+ watch(items, (newVal, oldVal) => {
13858
13775
  if (menu.value) return;
13859
13776
  if (isFocused.value && props.hideNoData && !oldVal.length && newVal.length) {
13860
13777
  menu.value = true;
@@ -14502,7 +14419,7 @@ const VAutocomplete = genericComponent()({
14502
14419
  });
14503
14420
  }
14504
14421
  });
14505
- watch(() => props.items, (newVal, oldVal) => {
14422
+ watch(items, (newVal, oldVal) => {
14506
14423
  if (menu.value) return;
14507
14424
  if (isFocused.value && !oldVal.length && newVal.length) {
14508
14425
  menu.value = true;
@@ -19868,7 +19785,7 @@ const VCombobox = genericComponent()({
19868
19785
  }, {
19869
19786
  immediate: true
19870
19787
  });
19871
- watch(() => props.items, (newVal, oldVal) => {
19788
+ watch(items, (newVal, oldVal) => {
19872
19789
  if (menu.value) return;
19873
19790
  if (isFocused.value && !oldVal.length && newVal.length) {
19874
19791
  menu.value = true;
@@ -32333,7 +32250,7 @@ function createVuetify$1() {
32333
32250
  };
32334
32251
  });
32335
32252
  }
32336
- const version$1 = "3.10.1";
32253
+ const version$1 = "3.10.2";
32337
32254
  createVuetify$1.version = version$1;
32338
32255
 
32339
32256
  // Vue's inject() can only be used in setup
@@ -32358,7 +32275,7 @@ const createVuetify = function () {
32358
32275
  ...options
32359
32276
  });
32360
32277
  };
32361
- const version = "3.10.1";
32278
+ const version = "3.10.2";
32362
32279
  createVuetify.version = version;
32363
32280
 
32364
32281
  export { index as blueprints, components, createVuetify, directives, useDate, useDefaults, useDisplay, useGoTo, useHotkey, useLayout, useLocale, useMask, useRtl, useTheme, version };