@vuetify/nightly 3.9.3-master.2025-08-01 → 3.9.3-master.2025-08-03

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 (60) hide show
  1. package/CHANGELOG.md +11 -4
  2. package/dist/json/attributes.json +2189 -2173
  3. package/dist/json/importMap-labs.json +44 -44
  4. package/dist/json/importMap.json +200 -200
  5. package/dist/json/tags.json +4 -0
  6. package/dist/json/web-types.json +3795 -3759
  7. package/dist/vuetify-labs.cjs +48 -18
  8. package/dist/vuetify-labs.css +6177 -6162
  9. package/dist/vuetify-labs.d.ts +133 -77
  10. package/dist/vuetify-labs.esm.js +48 -18
  11. package/dist/vuetify-labs.esm.js.map +1 -1
  12. package/dist/vuetify-labs.js +48 -18
  13. package/dist/vuetify-labs.min.css +2 -2
  14. package/dist/vuetify.cjs +48 -18
  15. package/dist/vuetify.cjs.map +1 -1
  16. package/dist/vuetify.css +3590 -3575
  17. package/dist/vuetify.d.ts +105 -77
  18. package/dist/vuetify.esm.js +48 -18
  19. package/dist/vuetify.esm.js.map +1 -1
  20. package/dist/vuetify.js +48 -18
  21. package/dist/vuetify.js.map +1 -1
  22. package/dist/vuetify.min.css +2 -2
  23. package/dist/vuetify.min.js +289 -283
  24. package/dist/vuetify.min.js.map +1 -1
  25. package/lib/components/VAlert/VAlert.css +9 -2
  26. package/lib/components/VAlert/VAlert.js +2 -2
  27. package/lib/components/VAlert/VAlert.js.map +1 -1
  28. package/lib/components/VAlert/VAlert.sass +10 -3
  29. package/lib/components/VAlert/_variables.scss +1 -1
  30. package/lib/components/VApp/VApp.js +5 -4
  31. package/lib/components/VApp/VApp.js.map +1 -1
  32. package/lib/components/VDatePicker/VDatePicker.d.ts +25 -0
  33. package/lib/components/VDatePicker/VDatePickerMonth.d.ts +25 -0
  34. package/lib/components/VStepper/VStepperItem.css +2 -0
  35. package/lib/components/VStepper/VStepperItem.sass +3 -0
  36. package/lib/components/VTreeview/VTreeviewItem.css +6 -0
  37. package/lib/components/VTreeview/VTreeviewItem.sass +7 -0
  38. package/lib/composables/calendar.d.ts +12 -0
  39. package/lib/composables/calendar.js +5 -1
  40. package/lib/composables/calendar.js.map +1 -1
  41. package/lib/composables/date/DateAdapter.d.ts +1 -1
  42. package/lib/composables/date/DateAdapter.js.map +1 -1
  43. package/lib/composables/date/adapters/string.d.ts +1 -1
  44. package/lib/composables/date/adapters/string.js +2 -2
  45. package/lib/composables/date/adapters/string.js.map +1 -1
  46. package/lib/composables/date/adapters/vuetify.d.ts +1 -1
  47. package/lib/composables/date/adapters/vuetify.js +25 -5
  48. package/lib/composables/date/adapters/vuetify.js.map +1 -1
  49. package/lib/composables/date/date.d.ts +1 -1
  50. package/lib/entry-bundler.d.ts +1 -1
  51. package/lib/entry-bundler.js +1 -1
  52. package/lib/framework.d.ts +77 -77
  53. package/lib/framework.js +1 -1
  54. package/lib/labs/VCalendar/VCalendar.d.ts +25 -0
  55. package/lib/labs/VDateInput/VDateInput.d.ts +25 -0
  56. package/lib/labs/entry-bundler.d.ts +1 -1
  57. package/lib/labs/rules/rules.d.ts +10 -3
  58. package/lib/labs/rules/rules.js +13 -5
  59. package/lib/labs/rules/rules.js.map +1 -1
  60. package/package.json +1 -1
@@ -198,7 +198,7 @@ interface DateAdapter<T = unknown> {
198
198
  getDiff(date: T, comparing: T | string, unit?: string): number;
199
199
  getWeekArray(date: T, firstDayOfWeek?: number | string): T[][];
200
200
  getWeekdays(firstDayOfWeek?: number | string, weekdayFormat?: 'long' | 'short' | 'narrow'): string[];
201
- getWeek(date: T, firstDayOfWeek?: number | string, firstWeekMinSize?: number): number;
201
+ getWeek(date: T, firstDayOfWeek?: number | string, firstDayOfYear?: number | string): number;
202
202
  getMonth(date: T): number;
203
203
  setMonth(date: T, month: number): T;
204
204
  getDate(date: T): number;
@@ -2547,7 +2547,7 @@ declare function createVuetify(vuetify?: VuetifyOptions): {
2547
2547
  getDiff: (date: unknown, comparing: unknown, unit?: string) => number;
2548
2548
  getWeekArray: (date: unknown, firstDayOfWeek?: number | string) => unknown[][];
2549
2549
  getWeekdays: (firstDayOfWeek?: number | string, weekdayFormat?: "long" | "short" | "narrow") => string[];
2550
- getWeek: (date: unknown, firstDayOfWeek?: number | string, firstWeekMinSize?: number) => number;
2550
+ getWeek: (date: unknown, firstDayOfWeek?: number | string, firstDayOfYear?: number | string) => number;
2551
2551
  getMonth: (date: unknown) => number;
2552
2552
  setMonth: (date: unknown, month: number) => unknown;
2553
2553
  getDate: (date: unknown) => number;
@@ -2606,30 +2606,40 @@ declare module 'vue' {
2606
2606
  }
2607
2607
  export interface GlobalComponents {
2608
2608
  VApp: typeof import('vuetify/components')['VApp']
2609
- VBanner: typeof import('vuetify/components')['VBanner']
2610
- VBannerActions: typeof import('vuetify/components')['VBannerActions']
2611
- VBannerText: typeof import('vuetify/components')['VBannerText']
2609
+ VAlert: typeof import('vuetify/components')['VAlert']
2610
+ VAlertTitle: typeof import('vuetify/components')['VAlertTitle']
2612
2611
  VAppBar: typeof import('vuetify/components')['VAppBar']
2613
2612
  VAppBarNavIcon: typeof import('vuetify/components')['VAppBarNavIcon']
2614
2613
  VAppBarTitle: typeof import('vuetify/components')['VAppBarTitle']
2615
- VAutocomplete: typeof import('vuetify/components')['VAutocomplete']
2616
- VBottomNavigation: typeof import('vuetify/components')['VBottomNavigation']
2617
2614
  VAvatar: typeof import('vuetify/components')['VAvatar']
2618
- VBtn: typeof import('vuetify/components')['VBtn']
2619
- VAlert: typeof import('vuetify/components')['VAlert']
2620
- VAlertTitle: typeof import('vuetify/components')['VAlertTitle']
2621
- VBtnGroup: typeof import('vuetify/components')['VBtnGroup']
2622
- VBtnToggle: typeof import('vuetify/components')['VBtnToggle']
2623
2615
  VBadge: typeof import('vuetify/components')['VBadge']
2616
+ VAutocomplete: typeof import('vuetify/components')['VAutocomplete']
2617
+ VBanner: typeof import('vuetify/components')['VBanner']
2618
+ VBannerActions: typeof import('vuetify/components')['VBannerActions']
2619
+ VBannerText: typeof import('vuetify/components')['VBannerText']
2620
+ VBottomNavigation: typeof import('vuetify/components')['VBottomNavigation']
2621
+ VBottomSheet: typeof import('vuetify/components')['VBottomSheet']
2624
2622
  VBreadcrumbs: typeof import('vuetify/components')['VBreadcrumbs']
2625
2623
  VBreadcrumbsItem: typeof import('vuetify/components')['VBreadcrumbsItem']
2626
2624
  VBreadcrumbsDivider: typeof import('vuetify/components')['VBreadcrumbsDivider']
2625
+ VBtnToggle: typeof import('vuetify/components')['VBtnToggle']
2626
+ VBtn: typeof import('vuetify/components')['VBtn']
2627
+ VCard: typeof import('vuetify/components')['VCard']
2628
+ VCardActions: typeof import('vuetify/components')['VCardActions']
2629
+ VCardItem: typeof import('vuetify/components')['VCardItem']
2630
+ VCardSubtitle: typeof import('vuetify/components')['VCardSubtitle']
2631
+ VCardText: typeof import('vuetify/components')['VCardText']
2632
+ VCardTitle: typeof import('vuetify/components')['VCardTitle']
2627
2633
  VCheckbox: typeof import('vuetify/components')['VCheckbox']
2628
2634
  VCheckboxBtn: typeof import('vuetify/components')['VCheckboxBtn']
2629
2635
  VChip: typeof import('vuetify/components')['VChip']
2636
+ VCode: typeof import('vuetify/components')['VCode']
2630
2637
  VChipGroup: typeof import('vuetify/components')['VChipGroup']
2631
2638
  VCombobox: typeof import('vuetify/components')['VCombobox']
2632
2639
  VColorPicker: typeof import('vuetify/components')['VColorPicker']
2640
+ VCarousel: typeof import('vuetify/components')['VCarousel']
2641
+ VCarouselItem: typeof import('vuetify/components')['VCarouselItem']
2642
+ VCounter: typeof import('vuetify/components')['VCounter']
2633
2643
  VDataTable: typeof import('vuetify/components')['VDataTable']
2634
2644
  VDataTableHeaders: typeof import('vuetify/components')['VDataTableHeaders']
2635
2645
  VDataTableFooter: typeof import('vuetify/components')['VDataTableFooter']
@@ -2637,46 +2647,37 @@ declare module 'vue' {
2637
2647
  VDataTableRow: typeof import('vuetify/components')['VDataTableRow']
2638
2648
  VDataTableVirtual: typeof import('vuetify/components')['VDataTableVirtual']
2639
2649
  VDataTableServer: typeof import('vuetify/components')['VDataTableServer']
2640
- VCounter: typeof import('vuetify/components')['VCounter']
2641
- VDialog: typeof import('vuetify/components')['VDialog']
2642
- VCarousel: typeof import('vuetify/components')['VCarousel']
2643
- VCarouselItem: typeof import('vuetify/components')['VCarouselItem']
2644
2650
  VDatePicker: typeof import('vuetify/components')['VDatePicker']
2645
2651
  VDatePickerControls: typeof import('vuetify/components')['VDatePickerControls']
2646
2652
  VDatePickerHeader: typeof import('vuetify/components')['VDatePickerHeader']
2647
2653
  VDatePickerMonth: typeof import('vuetify/components')['VDatePickerMonth']
2648
2654
  VDatePickerMonths: typeof import('vuetify/components')['VDatePickerMonths']
2649
2655
  VDatePickerYears: typeof import('vuetify/components')['VDatePickerYears']
2656
+ VDialog: typeof import('vuetify/components')['VDialog']
2657
+ VEmptyState: typeof import('vuetify/components')['VEmptyState']
2658
+ VBtnGroup: typeof import('vuetify/components')['VBtnGroup']
2650
2659
  VDivider: typeof import('vuetify/components')['VDivider']
2651
- VFab: typeof import('vuetify/components')['VFab']
2652
2660
  VExpansionPanels: typeof import('vuetify/components')['VExpansionPanels']
2653
2661
  VExpansionPanel: typeof import('vuetify/components')['VExpansionPanel']
2654
2662
  VExpansionPanelText: typeof import('vuetify/components')['VExpansionPanelText']
2655
2663
  VExpansionPanelTitle: typeof import('vuetify/components')['VExpansionPanelTitle']
2656
- VBottomSheet: typeof import('vuetify/components')['VBottomSheet']
2657
- VCard: typeof import('vuetify/components')['VCard']
2658
- VCardActions: typeof import('vuetify/components')['VCardActions']
2659
- VCardItem: typeof import('vuetify/components')['VCardItem']
2660
- VCardSubtitle: typeof import('vuetify/components')['VCardSubtitle']
2661
- VCardText: typeof import('vuetify/components')['VCardText']
2662
- VCardTitle: typeof import('vuetify/components')['VCardTitle']
2663
- VField: typeof import('vuetify/components')['VField']
2664
- VFieldLabel: typeof import('vuetify/components')['VFieldLabel']
2665
- VFileInput: typeof import('vuetify/components')['VFileInput']
2666
- VCode: typeof import('vuetify/components')['VCode']
2664
+ VFab: typeof import('vuetify/components')['VFab']
2667
2665
  VFooter: typeof import('vuetify/components')['VFooter']
2666
+ VFileInput: typeof import('vuetify/components')['VFileInput']
2668
2667
  VIcon: typeof import('vuetify/components')['VIcon']
2669
2668
  VComponentIcon: typeof import('vuetify/components')['VComponentIcon']
2670
2669
  VSvgIcon: typeof import('vuetify/components')['VSvgIcon']
2671
2670
  VLigatureIcon: typeof import('vuetify/components')['VLigatureIcon']
2672
2671
  VClassIcon: typeof import('vuetify/components')['VClassIcon']
2673
2672
  VImg: typeof import('vuetify/components')['VImg']
2674
- VInput: typeof import('vuetify/components')['VInput']
2673
+ VField: typeof import('vuetify/components')['VField']
2674
+ VFieldLabel: typeof import('vuetify/components')['VFieldLabel']
2675
+ VKbd: typeof import('vuetify/components')['VKbd']
2675
2676
  VInfiniteScroll: typeof import('vuetify/components')['VInfiniteScroll']
2676
2677
  VItemGroup: typeof import('vuetify/components')['VItemGroup']
2677
2678
  VItem: typeof import('vuetify/components')['VItem']
2679
+ VInput: typeof import('vuetify/components')['VInput']
2678
2680
  VLabel: typeof import('vuetify/components')['VLabel']
2679
- VKbd: typeof import('vuetify/components')['VKbd']
2680
2681
  VList: typeof import('vuetify/components')['VList']
2681
2682
  VListGroup: typeof import('vuetify/components')['VListGroup']
2682
2683
  VListImg: typeof import('vuetify/components')['VListImg']
@@ -2686,78 +2687,78 @@ declare module 'vue' {
2686
2687
  VListItemSubtitle: typeof import('vuetify/components')['VListItemSubtitle']
2687
2688
  VListItemTitle: typeof import('vuetify/components')['VListItemTitle']
2688
2689
  VListSubheader: typeof import('vuetify/components')['VListSubheader']
2689
- VNavigationDrawer: typeof import('vuetify/components')['VNavigationDrawer']
2690
2690
  VMain: typeof import('vuetify/components')['VMain']
2691
- VOtpInput: typeof import('vuetify/components')['VOtpInput']
2692
- VNumberInput: typeof import('vuetify/components')['VNumberInput']
2693
- VOverlay: typeof import('vuetify/components')['VOverlay']
2694
2691
  VMessages: typeof import('vuetify/components')['VMessages']
2695
2692
  VMenu: typeof import('vuetify/components')['VMenu']
2696
- VProgressLinear: typeof import('vuetify/components')['VProgressLinear']
2693
+ VNavigationDrawer: typeof import('vuetify/components')['VNavigationDrawer']
2694
+ VOtpInput: typeof import('vuetify/components')['VOtpInput']
2695
+ VOverlay: typeof import('vuetify/components')['VOverlay']
2696
+ VNumberInput: typeof import('vuetify/components')['VNumberInput']
2697
2697
  VPagination: typeof import('vuetify/components')['VPagination']
2698
+ VProgressLinear: typeof import('vuetify/components')['VProgressLinear']
2698
2699
  VRadioGroup: typeof import('vuetify/components')['VRadioGroup']
2699
- VRating: typeof import('vuetify/components')['VRating']
2700
2700
  VProgressCircular: typeof import('vuetify/components')['VProgressCircular']
2701
+ VRating: typeof import('vuetify/components')['VRating']
2701
2702
  VSelect: typeof import('vuetify/components')['VSelect']
2702
- VSelectionControl: typeof import('vuetify/components')['VSelectionControl']
2703
- VSheet: typeof import('vuetify/components')['VSheet']
2704
- VSkeletonLoader: typeof import('vuetify/components')['VSkeletonLoader']
2705
- VSelectionControlGroup: typeof import('vuetify/components')['VSelectionControlGroup']
2706
2703
  VSlideGroup: typeof import('vuetify/components')['VSlideGroup']
2707
2704
  VSlideGroupItem: typeof import('vuetify/components')['VSlideGroupItem']
2705
+ VSelectionControlGroup: typeof import('vuetify/components')['VSelectionControlGroup']
2708
2706
  VSlider: typeof import('vuetify/components')['VSlider']
2709
2707
  VSnackbar: typeof import('vuetify/components')['VSnackbar']
2708
+ VSheet: typeof import('vuetify/components')['VSheet']
2709
+ VSkeletonLoader: typeof import('vuetify/components')['VSkeletonLoader']
2710
+ VSelectionControl: typeof import('vuetify/components')['VSelectionControl']
2710
2711
  VSwitch: typeof import('vuetify/components')['VSwitch']
2711
- VStepper: typeof import('vuetify/components')['VStepper']
2712
- VStepperActions: typeof import('vuetify/components')['VStepperActions']
2713
- VStepperHeader: typeof import('vuetify/components')['VStepperHeader']
2714
- VStepperItem: typeof import('vuetify/components')['VStepperItem']
2715
- VStepperWindow: typeof import('vuetify/components')['VStepperWindow']
2716
- VStepperWindowItem: typeof import('vuetify/components')['VStepperWindowItem']
2717
- VTable: typeof import('vuetify/components')['VTable']
2718
2712
  VSystemBar: typeof import('vuetify/components')['VSystemBar']
2713
+ VTable: typeof import('vuetify/components')['VTable']
2714
+ VTextarea: typeof import('vuetify/components')['VTextarea']
2719
2715
  VTab: typeof import('vuetify/components')['VTab']
2720
2716
  VTabs: typeof import('vuetify/components')['VTabs']
2721
2717
  VTabsWindow: typeof import('vuetify/components')['VTabsWindow']
2722
2718
  VTabsWindowItem: typeof import('vuetify/components')['VTabsWindowItem']
2719
+ VTimeline: typeof import('vuetify/components')['VTimeline']
2720
+ VTimelineItem: typeof import('vuetify/components')['VTimelineItem']
2721
+ VTooltip: typeof import('vuetify/components')['VTooltip']
2722
+ VTimePicker: typeof import('vuetify/components')['VTimePicker']
2723
+ VTimePickerClock: typeof import('vuetify/components')['VTimePickerClock']
2724
+ VTimePickerControls: typeof import('vuetify/components')['VTimePickerControls']
2723
2725
  VTextField: typeof import('vuetify/components')['VTextField']
2724
2726
  VToolbar: typeof import('vuetify/components')['VToolbar']
2725
2727
  VToolbarTitle: typeof import('vuetify/components')['VToolbarTitle']
2726
2728
  VToolbarItems: typeof import('vuetify/components')['VToolbarItems']
2727
- VTimePicker: typeof import('vuetify/components')['VTimePicker']
2728
- VTimePickerClock: typeof import('vuetify/components')['VTimePickerClock']
2729
- VTimePickerControls: typeof import('vuetify/components')['VTimePickerControls']
2730
- VTextarea: typeof import('vuetify/components')['VTextarea']
2731
- VTimeline: typeof import('vuetify/components')['VTimeline']
2732
- VTimelineItem: typeof import('vuetify/components')['VTimelineItem']
2733
- VWindow: typeof import('vuetify/components')['VWindow']
2734
- VWindowItem: typeof import('vuetify/components')['VWindowItem']
2735
2729
  VTreeview: typeof import('vuetify/components')['VTreeview']
2736
2730
  VTreeviewItem: typeof import('vuetify/components')['VTreeviewItem']
2737
2731
  VTreeviewGroup: typeof import('vuetify/components')['VTreeviewGroup']
2738
- VTooltip: typeof import('vuetify/components')['VTooltip']
2732
+ VWindow: typeof import('vuetify/components')['VWindow']
2733
+ VWindowItem: typeof import('vuetify/components')['VWindowItem']
2739
2734
  VDataIterator: typeof import('vuetify/components')['VDataIterator']
2740
- VConfirmEdit: typeof import('vuetify/components')['VConfirmEdit']
2741
- VForm: typeof import('vuetify/components')['VForm']
2742
- VEmptyState: typeof import('vuetify/components')['VEmptyState']
2743
2735
  VDefaultsProvider: typeof import('vuetify/components')['VDefaultsProvider']
2736
+ VHover: typeof import('vuetify/components')['VHover']
2737
+ VForm: typeof import('vuetify/components')['VForm']
2744
2738
  VContainer: typeof import('vuetify/components')['VContainer']
2745
2739
  VCol: typeof import('vuetify/components')['VCol']
2746
2740
  VRow: typeof import('vuetify/components')['VRow']
2747
2741
  VSpacer: typeof import('vuetify/components')['VSpacer']
2748
- VLocaleProvider: typeof import('vuetify/components')['VLocaleProvider']
2749
2742
  VLayout: typeof import('vuetify/components')['VLayout']
2750
2743
  VLayoutItem: typeof import('vuetify/components')['VLayoutItem']
2744
+ VStepper: typeof import('vuetify/components')['VStepper']
2745
+ VStepperActions: typeof import('vuetify/components')['VStepperActions']
2746
+ VStepperHeader: typeof import('vuetify/components')['VStepperHeader']
2747
+ VStepperItem: typeof import('vuetify/components')['VStepperItem']
2748
+ VStepperWindow: typeof import('vuetify/components')['VStepperWindow']
2749
+ VStepperWindowItem: typeof import('vuetify/components')['VStepperWindowItem']
2751
2750
  VLazy: typeof import('vuetify/components')['VLazy']
2751
+ VLocaleProvider: typeof import('vuetify/components')['VLocaleProvider']
2752
2752
  VNoSsr: typeof import('vuetify/components')['VNoSsr']
2753
2753
  VParallax: typeof import('vuetify/components')['VParallax']
2754
2754
  VRadio: typeof import('vuetify/components')['VRadio']
2755
- VResponsive: typeof import('vuetify/components')['VResponsive']
2756
2755
  VRangeSlider: typeof import('vuetify/components')['VRangeSlider']
2757
- VSparkline: typeof import('vuetify/components')['VSparkline']
2756
+ VResponsive: typeof import('vuetify/components')['VResponsive']
2758
2757
  VSnackbarQueue: typeof import('vuetify/components')['VSnackbarQueue']
2758
+ VSparkline: typeof import('vuetify/components')['VSparkline']
2759
2759
  VSpeedDial: typeof import('vuetify/components')['VSpeedDial']
2760
2760
  VThemeProvider: typeof import('vuetify/components')['VThemeProvider']
2761
+ VValidation: typeof import('vuetify/components')['VValidation']
2761
2762
  VVirtualScroll: typeof import('vuetify/components')['VVirtualScroll']
2762
2763
  VFabTransition: typeof import('vuetify/components')['VFabTransition']
2763
2764
  VDialogBottomTransition: typeof import('vuetify/components')['VDialogBottomTransition']
@@ -2775,33 +2776,32 @@ declare module 'vue' {
2775
2776
  VExpandTransition: typeof import('vuetify/components')['VExpandTransition']
2776
2777
  VExpandXTransition: typeof import('vuetify/components')['VExpandXTransition']
2777
2778
  VDialogTransition: typeof import('vuetify/components')['VDialogTransition']
2778
- VValidation: typeof import('vuetify/components')['VValidation']
2779
- VHover: typeof import('vuetify/components')['VHover']
2780
- VCalendar: typeof import('vuetify/labs/components')['VCalendar']
2781
- VCalendarDay: typeof import('vuetify/labs/components')['VCalendarDay']
2782
- VCalendarHeader: typeof import('vuetify/labs/components')['VCalendarHeader']
2783
- VCalendarInterval: typeof import('vuetify/labs/components')['VCalendarInterval']
2784
- VCalendarIntervalEvent: typeof import('vuetify/labs/components')['VCalendarIntervalEvent']
2785
- VCalendarMonthDay: typeof import('vuetify/labs/components')['VCalendarMonthDay']
2786
- VPicker: typeof import('vuetify/labs/components')['VPicker']
2787
- VPickerTitle: typeof import('vuetify/labs/components')['VPickerTitle']
2779
+ VConfirmEdit: typeof import('vuetify/components')['VConfirmEdit']
2780
+ VIconBtn: typeof import('vuetify/labs/components')['VIconBtn']
2788
2781
  VFileUpload: typeof import('vuetify/labs/components')['VFileUpload']
2789
2782
  VFileUploadItem: typeof import('vuetify/labs/components')['VFileUploadItem']
2790
- VIconBtn: typeof import('vuetify/labs/components')['VIconBtn']
2791
- VHotkey: typeof import('vuetify/labs/components')['VHotkey']
2792
- VPie: typeof import('vuetify/labs/components')['VPie']
2793
- VPieSegment: typeof import('vuetify/labs/components')['VPieSegment']
2794
- VPieTooltip: typeof import('vuetify/labs/components')['VPieTooltip']
2795
2783
  VStepperVertical: typeof import('vuetify/labs/components')['VStepperVertical']
2796
2784
  VStepperVerticalItem: typeof import('vuetify/labs/components')['VStepperVerticalItem']
2797
2785
  VStepperVerticalActions: typeof import('vuetify/labs/components')['VStepperVerticalActions']
2786
+ VPicker: typeof import('vuetify/labs/components')['VPicker']
2787
+ VPickerTitle: typeof import('vuetify/labs/components')['VPickerTitle']
2798
2788
  VVideo: typeof import('vuetify/labs/components')['VVideo']
2799
2789
  VVideoControls: typeof import('vuetify/labs/components')['VVideoControls']
2800
2790
  VVideoVolume: typeof import('vuetify/labs/components')['VVideoVolume']
2791
+ VHotkey: typeof import('vuetify/labs/components')['VHotkey']
2801
2792
  VDateInput: typeof import('vuetify/labs/components')['VDateInput']
2802
2793
  VMaskInput: typeof import('vuetify/labs/components')['VMaskInput']
2803
2794
  VPullToRefresh: typeof import('vuetify/labs/components')['VPullToRefresh']
2804
2795
  VColorInput: typeof import('vuetify/labs/components')['VColorInput']
2796
+ VPie: typeof import('vuetify/labs/components')['VPie']
2797
+ VPieSegment: typeof import('vuetify/labs/components')['VPieSegment']
2798
+ VPieTooltip: typeof import('vuetify/labs/components')['VPieTooltip']
2799
+ VCalendar: typeof import('vuetify/labs/components')['VCalendar']
2800
+ VCalendarDay: typeof import('vuetify/labs/components')['VCalendarDay']
2801
+ VCalendarHeader: typeof import('vuetify/labs/components')['VCalendarHeader']
2802
+ VCalendarInterval: typeof import('vuetify/labs/components')['VCalendarInterval']
2803
+ VCalendarIntervalEvent: typeof import('vuetify/labs/components')['VCalendarIntervalEvent']
2804
+ VCalendarMonthDay: typeof import('vuetify/labs/components')['VCalendarMonthDay']
2805
2805
  }
2806
2806
  export interface GlobalDirectives {
2807
2807
  vClickOutside: typeof import('vuetify/directives')['ClickOutside']
package/lib/framework.js CHANGED
@@ -109,7 +109,7 @@ export function createVuetify() {
109
109
  };
110
110
  });
111
111
  }
112
- export const version = "3.9.3-master.2025-08-01";
112
+ export const version = "3.9.3-master.2025-08-03";
113
113
  createVuetify.version = version;
114
114
 
115
115
  // Vue's inject() can only be used in setup
@@ -28,6 +28,7 @@ export declare const makeVCalendarProps: <Defaults extends {
28
28
  weekdays?: unknown;
29
29
  weeksInMonth?: unknown;
30
30
  firstDayOfWeek?: unknown;
31
+ firstDayOfYear?: unknown;
31
32
  weekdayFormat?: unknown;
32
33
  hideHeader?: unknown;
33
34
  hideWeekNumber?: unknown;
@@ -245,6 +246,16 @@ export declare const makeVCalendarProps: <Defaults extends {
245
246
  type: import("vue").PropType<unknown extends Defaults["firstDayOfWeek"] ? string | number : string | number | Defaults["firstDayOfWeek"]>;
246
247
  default: unknown extends Defaults["firstDayOfWeek"] ? string | number : NonNullable<string | number> | Defaults["firstDayOfWeek"];
247
248
  };
249
+ firstDayOfYear: unknown extends Defaults["firstDayOfYear"] ? {
250
+ type: (StringConstructor | NumberConstructor)[];
251
+ default: undefined;
252
+ } : Omit<{
253
+ type: (StringConstructor | NumberConstructor)[];
254
+ default: undefined;
255
+ }, "type" | "default"> & {
256
+ type: import("vue").PropType<unknown extends Defaults["firstDayOfYear"] ? string | number : string | number | Defaults["firstDayOfYear"]>;
257
+ default: unknown extends Defaults["firstDayOfYear"] ? string | number : NonNullable<string | number> | Defaults["firstDayOfYear"];
258
+ };
248
259
  weekdayFormat: unknown extends Defaults["weekdayFormat"] ? import("vue").PropType<"long" | "short" | "narrow" | undefined> : {
249
260
  type: import("vue").PropType<unknown extends Defaults["weekdayFormat"] ? "long" | "short" | "narrow" | undefined : "long" | "short" | "narrow" | Defaults["weekdayFormat"] | undefined>;
250
261
  default: unknown extends Defaults["weekdayFormat"] ? "long" | "short" | "narrow" | undefined : NonNullable<"long" | "short" | "narrow" | undefined> | Defaults["weekdayFormat"];
@@ -315,6 +326,7 @@ export declare const VCalendar: {
315
326
  events?: any[] | undefined;
316
327
  modelValue?: unknown[] | undefined;
317
328
  firstDayOfWeek?: string | number | undefined;
329
+ firstDayOfYear?: string | number | undefined;
318
330
  allowedDates?: unknown[] | ((date: unknown) => boolean) | undefined;
319
331
  displayValue?: unknown;
320
332
  weekdayFormat?: "long" | "short" | "narrow" | undefined;
@@ -518,6 +530,7 @@ export declare const VCalendar: {
518
530
  weekdays: import("../../composables/calendar.js").CalendarWeekdays[];
519
531
  weeksInMonth: "static" | "dynamic";
520
532
  firstDayOfWeek: string | number;
533
+ firstDayOfYear: string | number;
521
534
  intervalDivisions: number;
522
535
  intervalDuration: number;
523
536
  intervalHeight: number;
@@ -617,6 +630,7 @@ export declare const VCalendar: {
617
630
  events?: any[] | undefined;
618
631
  modelValue?: unknown[] | undefined;
619
632
  firstDayOfWeek?: string | number | undefined;
633
+ firstDayOfYear?: string | number | undefined;
620
634
  allowedDates?: unknown[] | ((date: unknown) => boolean) | undefined;
621
635
  displayValue?: unknown;
622
636
  weekdayFormat?: "long" | "short" | "narrow" | undefined;
@@ -815,6 +829,7 @@ export declare const VCalendar: {
815
829
  weekdays: import("../../composables/calendar.js").CalendarWeekdays[];
816
830
  weeksInMonth: "static" | "dynamic";
817
831
  firstDayOfWeek: string | number;
832
+ firstDayOfYear: string | number;
818
833
  intervalDivisions: number;
819
834
  intervalDuration: number;
820
835
  intervalHeight: number;
@@ -855,6 +870,7 @@ export declare const VCalendar: {
855
870
  events?: any[] | undefined;
856
871
  modelValue?: unknown[] | undefined;
857
872
  firstDayOfWeek?: string | number | undefined;
873
+ firstDayOfYear?: string | number | undefined;
858
874
  allowedDates?: unknown[] | ((date: unknown) => boolean) | undefined;
859
875
  displayValue?: unknown;
860
876
  weekdayFormat?: "long" | "short" | "narrow" | undefined;
@@ -1058,6 +1074,7 @@ export declare const VCalendar: {
1058
1074
  weekdays: import("../../composables/calendar.js").CalendarWeekdays[];
1059
1075
  weeksInMonth: "static" | "dynamic";
1060
1076
  firstDayOfWeek: string | number;
1077
+ firstDayOfYear: string | number;
1061
1078
  intervalDivisions: number;
1062
1079
  intervalDuration: number;
1063
1080
  intervalHeight: number;
@@ -1210,6 +1227,10 @@ export declare const VCalendar: {
1210
1227
  type: (StringConstructor | NumberConstructor)[];
1211
1228
  default: undefined;
1212
1229
  };
1230
+ firstDayOfYear: {
1231
+ type: (StringConstructor | NumberConstructor)[];
1232
+ default: undefined;
1233
+ };
1213
1234
  weekdayFormat: import("vue").PropType<"long" | "short" | "narrow" | undefined>;
1214
1235
  hideHeader: BooleanConstructor;
1215
1236
  hideWeekNumber: BooleanConstructor;
@@ -1301,6 +1322,10 @@ export declare const VCalendar: {
1301
1322
  type: (StringConstructor | NumberConstructor)[];
1302
1323
  default: undefined;
1303
1324
  };
1325
+ firstDayOfYear: {
1326
+ type: (StringConstructor | NumberConstructor)[];
1327
+ default: undefined;
1328
+ };
1304
1329
  weekdayFormat: import("vue").PropType<"long" | "short" | "narrow" | undefined>;
1305
1330
  hideHeader: BooleanConstructor;
1306
1331
  hideWeekNumber: BooleanConstructor;
@@ -53,6 +53,7 @@ export declare const makeVDateInputProps: <Defaults extends {
53
53
  weekdays?: unknown;
54
54
  weeksInMonth?: unknown;
55
55
  firstDayOfWeek?: unknown;
56
+ firstDayOfYear?: unknown;
56
57
  allowedDates?: unknown;
57
58
  weekdayFormat?: unknown;
58
59
  hideWeekdays?: unknown;
@@ -403,6 +404,16 @@ export declare const makeVDateInputProps: <Defaults extends {
403
404
  type: PropType<unknown extends Defaults["firstDayOfWeek"] ? string | number : string | number | Defaults["firstDayOfWeek"]>;
404
405
  default: unknown extends Defaults["firstDayOfWeek"] ? string | number : NonNullable<string | number> | Defaults["firstDayOfWeek"];
405
406
  };
407
+ firstDayOfYear: unknown extends Defaults["firstDayOfYear"] ? {
408
+ type: (StringConstructor | NumberConstructor)[];
409
+ default: undefined;
410
+ } : Omit<{
411
+ type: (StringConstructor | NumberConstructor)[];
412
+ default: undefined;
413
+ }, "type" | "default"> & {
414
+ type: PropType<unknown extends Defaults["firstDayOfYear"] ? string | number : string | number | Defaults["firstDayOfYear"]>;
415
+ default: unknown extends Defaults["firstDayOfYear"] ? string | number : NonNullable<string | number> | Defaults["firstDayOfYear"];
416
+ };
406
417
  allowedDates: unknown extends Defaults["allowedDates"] ? PropType<unknown[] | ((date: unknown) => boolean)> : {
407
418
  type: PropType<unknown extends Defaults["allowedDates"] ? unknown[] | ((date: unknown) => boolean) : unknown[] | ((date: unknown) => boolean) | Defaults["allowedDates"]>;
408
419
  default: unknown extends Defaults["allowedDates"] ? unknown[] | ((date: unknown) => boolean) : NonNullable<unknown[] | ((date: unknown) => boolean)> | Defaults["allowedDates"];
@@ -933,6 +944,7 @@ export declare const VDateInput: {
933
944
  counterValue?: number | ((value: any) => number) | undefined;
934
945
  modelModifiers?: Record<string, boolean> | undefined;
935
946
  firstDayOfWeek?: string | number | undefined;
947
+ firstDayOfYear?: string | number | undefined;
936
948
  allowedDates?: unknown[] | ((date: unknown) => boolean) | undefined;
937
949
  weekdayFormat?: "long" | "short" | "narrow" | undefined;
938
950
  allowedMonths?: number[] | ((date: number) => boolean) | undefined;
@@ -2972,6 +2984,7 @@ export declare const VDateInput: {
2972
2984
  weekdays: import("../../composables/calendar.js").CalendarWeekdays[];
2973
2985
  weeksInMonth: "static" | "dynamic";
2974
2986
  firstDayOfWeek: string | number;
2987
+ firstDayOfYear: string | number;
2975
2988
  hideWeekdays: boolean;
2976
2989
  showWeek: boolean;
2977
2990
  displayFormat: string | ((date: unknown) => any);
@@ -3107,6 +3120,7 @@ export declare const VDateInput: {
3107
3120
  counterValue?: number | ((value: any) => number) | undefined;
3108
3121
  modelModifiers?: Record<string, boolean> | undefined;
3109
3122
  firstDayOfWeek?: string | number | undefined;
3123
+ firstDayOfYear?: string | number | undefined;
3110
3124
  allowedDates?: unknown[] | ((date: unknown) => boolean) | undefined;
3111
3125
  weekdayFormat?: "long" | "short" | "narrow" | undefined;
3112
3126
  allowedMonths?: number[] | ((date: number) => boolean) | undefined;
@@ -5140,6 +5154,7 @@ export declare const VDateInput: {
5140
5154
  weekdays: import("../../composables/calendar.js").CalendarWeekdays[];
5141
5155
  weeksInMonth: "static" | "dynamic";
5142
5156
  firstDayOfWeek: string | number;
5157
+ firstDayOfYear: string | number;
5143
5158
  hideWeekdays: boolean;
5144
5159
  showWeek: boolean;
5145
5160
  displayFormat: string | ((date: unknown) => any);
@@ -5254,6 +5269,7 @@ export declare const VDateInput: {
5254
5269
  counterValue?: number | ((value: any) => number) | undefined;
5255
5270
  modelModifiers?: Record<string, boolean> | undefined;
5256
5271
  firstDayOfWeek?: string | number | undefined;
5272
+ firstDayOfYear?: string | number | undefined;
5257
5273
  allowedDates?: unknown[] | ((date: unknown) => boolean) | undefined;
5258
5274
  weekdayFormat?: "long" | "short" | "narrow" | undefined;
5259
5275
  allowedMonths?: number[] | ((date: number) => boolean) | undefined;
@@ -7293,6 +7309,7 @@ export declare const VDateInput: {
7293
7309
  weekdays: import("../../composables/calendar.js").CalendarWeekdays[];
7294
7310
  weeksInMonth: "static" | "dynamic";
7295
7311
  firstDayOfWeek: string | number;
7312
+ firstDayOfYear: string | number;
7296
7313
  hideWeekdays: boolean;
7297
7314
  showWeek: boolean;
7298
7315
  displayFormat: string | ((date: unknown) => any);
@@ -7419,6 +7436,10 @@ export declare const VDateInput: {
7419
7436
  type: (StringConstructor | NumberConstructor)[];
7420
7437
  default: undefined;
7421
7438
  };
7439
+ firstDayOfYear: {
7440
+ type: (StringConstructor | NumberConstructor)[];
7441
+ default: undefined;
7442
+ };
7422
7443
  allowedDates: PropType<unknown[] | ((date: unknown) => boolean)>;
7423
7444
  weekdayFormat: PropType<"long" | "short" | "narrow" | undefined>;
7424
7445
  hideWeekdays: BooleanConstructor;
@@ -7658,6 +7679,10 @@ export declare const VDateInput: {
7658
7679
  type: (StringConstructor | NumberConstructor)[];
7659
7680
  default: undefined;
7660
7681
  };
7682
+ firstDayOfYear: {
7683
+ type: (StringConstructor | NumberConstructor)[];
7684
+ default: undefined;
7685
+ };
7661
7686
  allowedDates: PropType<unknown[] | ((date: unknown) => boolean)>;
7662
7687
  weekdayFormat: PropType<"long" | "short" | "narrow" | undefined>;
7663
7688
  hideWeekdays: BooleanConstructor;
@@ -60,7 +60,7 @@ export declare const createVuetify: (options?: VuetifyOptions) => {
60
60
  getDiff: (date: unknown, comparing: unknown, unit?: string) => number;
61
61
  getWeekArray: (date: unknown, firstDayOfWeek?: number | string) => unknown[][];
62
62
  getWeekdays: (firstDayOfWeek?: number | string, weekdayFormat?: "long" | "short" | "narrow") => string[];
63
- getWeek: (date: unknown, firstDayOfWeek?: number | string, firstWeekMinSize?: number) => number;
63
+ getWeek: (date: unknown, firstDayOfWeek?: number | string, firstDayOfYear?: number | string) => number;
64
64
  getMonth: (date: unknown) => number;
65
65
  setMonth: (date: unknown, month: number) => unknown;
66
66
  getDate: (date: unknown) => number;
@@ -23,8 +23,15 @@ export type RulesOptions = {
23
23
  };
24
24
  type ValidationRuleParams = [any, string?];
25
25
  export type ValidationAlias = string | [string, ...ValidationRuleParams];
26
- export type RulesInstance = (fn: () => ValidationProps['rules']) => Readonly<Ref<any[]>>;
27
- export declare function createRules(options: RulesOptions | undefined, locale: LocaleInstance): (fn: () => ValidationProps["rules"]) => import("vue").ComputedRef<(ValidationRule | [string, any, (string | undefined)?])[]>;
26
+ export type RulesInstance = {
27
+ resolve: (fn: () => ValidationProps['rules']) => Readonly<Ref<any[]>>;
28
+ aliases: RuleAliases;
29
+ };
30
+ export declare function createRules(options: RulesOptions | undefined, locale: LocaleInstance): {
31
+ resolve: (fn: () => ValidationProps["rules"]) => import("vue").ComputedRef<(ValidationRule | [string, any, (string | undefined)?])[]>;
32
+ aliases: RuleAliases;
33
+ };
28
34
  export declare const RulesSymbol: InjectionKey<RulesInstance>;
29
- export declare function useRules(fn: () => ValidationProps['rules']): Readonly<Ref<any[], any[]>> | Readonly<Ref<readonly (string | boolean | PromiseLike<import("../../composables/validation.js").ValidationResult> | ((value: any) => import("../../composables/validation.js").ValidationResult) | ((value: any) => PromiseLike<import("../../composables/validation.js").ValidationResult>) | [string, any, (string | undefined)?])[], readonly (string | boolean | PromiseLike<import("../../composables/validation.js").ValidationResult> | ((value: any) => import("../../composables/validation.js").ValidationResult) | ((value: any) => PromiseLike<import("../../composables/validation.js").ValidationResult>) | [string, any, (string | undefined)?])[]>>;
35
+ export declare function useRules(): RuleAliases;
36
+ export declare function useRules(fn: () => ValidationProps['rules']): Readonly<Ref<ValidationProps['rules']>> | Readonly<Ref<ValidationRule[]>>;
30
37
 
@@ -52,7 +52,7 @@ export function createRules(options, locale) {
52
52
  },
53
53
  ...options?.aliases
54
54
  };
55
- function resolveRules(fn) {
55
+ function resolve(fn) {
56
56
  return computed(() => fn().map(rule => {
57
57
  let ruleName = null;
58
58
  let ruleParams = [undefined];
@@ -72,12 +72,20 @@ export function createRules(options, locale) {
72
72
  }
73
73
  }));
74
74
  }
75
- return resolveRules;
75
+ return {
76
+ resolve,
77
+ aliases
78
+ };
76
79
  }
77
80
  export const RulesSymbol = Symbol.for('vuetify:rules');
78
81
  export function useRules(fn) {
79
- const resolveRules = inject(RulesSymbol, null);
80
- if (!resolveRules) return toRef(fn);
81
- return resolveRules(fn);
82
+ const rules = inject(RulesSymbol, null);
83
+ if (!fn) {
84
+ if (!rules) {
85
+ throw new Error('Could not find Vuetify rules injection');
86
+ }
87
+ return rules.aliases;
88
+ }
89
+ return rules?.resolve(fn) ?? toRef(fn);
82
90
  }
83
91
  //# sourceMappingURL=rules.js.map
@@ -1 +1 @@
1
- {"version":3,"file":"rules.js","names":["computed","inject","toRef","createRules","options","locale","t","aliases","required","err","v","email","test","number","Number","integer","capital","maxLength","len","length","minLength","strictLength","exclude","forbiddenCharacters","error","character","includes","notEmpty","pattern","resolveRules","fn","map","rule","ruleName","ruleParams","undefined","Array","isArray","slice","startsWith","RulesSymbol","Symbol","for","useRules"],"sources":["../../../src/labs/rules/rules.ts"],"sourcesContent":["// Utilities\nimport { computed, inject, toRef } from 'vue'\n\n// Types\nimport type { InjectionKey, Ref } from 'vue'\nimport type { LocaleInstance } from '@/composables/locale'\nimport type { ValidationProps, ValidationRule } from '@/composables/validation'\n\nexport type ValidationRuleBuilderWithoutOptions = (err?: string) => ValidationRule\nexport type ValidationRuleBuilderWithOptions<T> = (options: T, err?: string) => ValidationRule\nexport type ValidationRuleBuilder =\n | ValidationRuleBuilderWithoutOptions\n | ValidationRuleBuilderWithOptions<any>\n\nexport interface RuleAliases {\n [name: string]: ValidationRuleBuilder\n required: ValidationRuleBuilderWithoutOptions\n email: ValidationRuleBuilderWithoutOptions\n number: ValidationRuleBuilderWithoutOptions\n integer: ValidationRuleBuilderWithoutOptions\n capital: ValidationRuleBuilderWithoutOptions\n maxLength: ValidationRuleBuilderWithOptions<number>\n minLength: ValidationRuleBuilderWithOptions<number>\n strictLength: ValidationRuleBuilderWithOptions<number>\n exclude: ValidationRuleBuilderWithOptions<string[]>\n notEmpty: ValidationRuleBuilderWithoutOptions\n pattern: ValidationRuleBuilderWithOptions<RegExp>\n}\n\nexport type RulesOptions = {\n aliases?: Partial<RuleAliases>\n}\n\ntype ValidationRuleParams = [any, string?]\nexport type ValidationAlias = string | [string, ...ValidationRuleParams]\n\nexport type RulesInstance = (fn: () => ValidationProps['rules']) => Readonly<Ref<any[]>>\n\nexport function createRules (options: RulesOptions | undefined, locale: LocaleInstance) {\n const { t } = locale\n\n const aliases: RuleAliases = {\n required: (err?: string) => {\n return (v: any) => {\n // If the modifier .number is used, the 0 will be a number and it's a falsy value so we need to check for it\n return v === 0 || !!v || t(err || '$vuetify.rules.required')\n }\n },\n email: (err?: string) => {\n return (v: any) => (!v || (typeof v === 'string' && /^.+@\\S+\\.\\S+$/.test(v))) || t(err || '$vuetify.rules.email')\n },\n number: (err?: string) => {\n return (v: string) => !!Number(v) || t(err || '$vuetify.rules.number')\n },\n integer: (err?: string) => {\n return (v: string) => (/^[\\d]*$/.test(v)) || t(err || '$vuetify.rules.integer')\n },\n capital: (err?: string) => {\n return (v: string) => (/^[A-Z]*$/.test(v)) || t(err || '$vuetify.rules.capital')\n },\n maxLength: (len: number, err?: string) => {\n return (v: any) => (!v || v.length <= len) || t(err || '$vuetify.rules.maxLength', [len])\n },\n minLength: (len: number, err?: string) => {\n return (v: any) => (!v || v.length >= len) || t(err || '$vuetify.rules.minLength', [len])\n },\n strictLength: (len: number, err?: string) => {\n return (v: any) => (!v || v.length === len) || t(err || '$vuetify.rules.strictLength', [len])\n },\n exclude: (forbiddenCharacters: string[], err?: string) => {\n return (v: string) => {\n let error: string | true = true\n for (const character of forbiddenCharacters) {\n if (v.includes(character)) error = err || t('$vuetify.rules.exclude', character)\n }\n return error\n }\n },\n notEmpty: (err?: string) => {\n return (v: any) => (v && v.length > 0) || t(err || '$vuetify.rules.notEmpty')\n },\n pattern: (pattern: RegExp, err?: string) => {\n return (v: any) => (!v || pattern.test(v) || t(err || '$vuetify.rules.pattern'))\n },\n\n ...options?.aliases,\n }\n\n function resolveRules (fn: () => ValidationProps['rules']) {\n return computed(() => fn().map(rule => {\n let ruleName: string | null = null\n let ruleParams: ValidationRuleParams = [undefined]\n if (Array.isArray(rule)) {\n ruleName = rule[0]\n ruleParams = rule.slice(1) as ValidationRuleParams\n } else if (typeof rule === 'string') {\n ruleName = rule\n }\n\n if (ruleName !== null) {\n if (ruleName.startsWith('$')) {\n ruleName = ruleName.slice(1)\n }\n\n return aliases[ruleName]?.(...ruleParams)\n } else {\n return rule\n }\n }))\n }\n\n return resolveRules\n}\n\nexport const RulesSymbol: InjectionKey<RulesInstance> = Symbol.for('vuetify:rules')\n\nexport function useRules (fn: () => ValidationProps['rules']) {\n const resolveRules = inject(RulesSymbol, null)\n\n if (!resolveRules) return toRef(fn)\n\n return resolveRules(fn)\n}\n"],"mappings":"AAAA;AACA,SAASA,QAAQ,EAAEC,MAAM,EAAEC,KAAK,QAAQ,KAAK;;AAE7C;;AAmC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IAAIC,QAAuB,GAAG,IAAI;MAClC,IAAIC,UAAgC,GAAG,CAACC,SAAS,CAAC;MAClD,IAAIC,KAAK,CAACC,OAAO,CAACL,IAAI,CAAC,EAAE;QACvBC,QAAQ,GAAGD,IAAI,CAAC,CAAC,CAAC;QAClBE,UAAU,GAAGF,IAAI,CAACM,KAAK,CAAC,CAAC,CAAyB;MACpD,CAAC,MAAM,IAAI,OAAON,IAAI,KAAK,QAAQ,EAAE;QACnCC,QAAQ,GAAGD,IAAI;MACjB;MAEA,IAAIC,QAAQ,KAAK,IAAI,EAAE;QACrB,IAAIA,QAAQ,CAACM,UAAU,CAAC,GAAG,CAAC,EAAE;UAC5BN,QAAQ,GAAGA,QAAQ,CAACK,KAAK,CAAC,CAAC,CAAC;QAC9B;QAEA,OAAO/B,OAAO,CAAC0B,QAAQ,CAAC,GAAG,GAAGC,UAAU,CAAC;MAC3C,CAAC,MAAM;QACL,OAAOF,IAAI;MACb;IACF,CAAC,CAAC,CAAC;EACL;EAEA,OAAOH,YAAY;AACrB;AAEA,OAAO,MAAMW,WAAwC,GAAGC,MAAM,CAACC,GAAG,CAAC,eAAe,CAAC;AAEnF,OAAO,SAASC,QAAQA,CAAEb,EAAkC,EAAE;EAC5D,MAAMD,YAAY,GAAG5B,MAAM,CAACuC,WAAW,EAAE,IAAI,CAAC;EAE9C,IAAI,CAACX,YAAY,EAAE,OAAO3B,KAAK,CAAC4B,EAAE,CAAC;EAEnC,OAAOD,YAAY,CAACC,EAAE,CAAC;AACzB","ignoreList":[]}
1
+ {"version":3,"file":"rules.js","names":["computed","inject","toRef","createRules","options","locale","t","aliases","required","err","v","email","test","number","Number","integer","capital","maxLength","len","length","minLength","strictLength","exclude","forbiddenCharacters","error","character","includes","notEmpty","pattern","resolve","fn","map","rule","ruleName","ruleParams","undefined","Array","isArray","slice","startsWith","RulesSymbol","Symbol","for","useRules","rules","Error"],"sources":["../../../src/labs/rules/rules.ts"],"sourcesContent":["// Utilities\nimport { computed, inject, toRef } from 'vue'\n\n// Types\nimport type { InjectionKey, Ref } from 'vue'\nimport type { LocaleInstance } from '@/composables/locale'\nimport type { ValidationProps, ValidationRule } from '@/composables/validation'\n\nexport type ValidationRuleBuilderWithoutOptions = (err?: string) => ValidationRule\nexport type ValidationRuleBuilderWithOptions<T> = (options: T, err?: string) => ValidationRule\nexport type ValidationRuleBuilder =\n | ValidationRuleBuilderWithoutOptions\n | ValidationRuleBuilderWithOptions<any>\n\nexport interface RuleAliases {\n [name: string]: ValidationRuleBuilder\n required: ValidationRuleBuilderWithoutOptions\n email: ValidationRuleBuilderWithoutOptions\n number: ValidationRuleBuilderWithoutOptions\n integer: ValidationRuleBuilderWithoutOptions\n capital: ValidationRuleBuilderWithoutOptions\n maxLength: ValidationRuleBuilderWithOptions<number>\n minLength: ValidationRuleBuilderWithOptions<number>\n strictLength: ValidationRuleBuilderWithOptions<number>\n exclude: ValidationRuleBuilderWithOptions<string[]>\n notEmpty: ValidationRuleBuilderWithoutOptions\n pattern: ValidationRuleBuilderWithOptions<RegExp>\n}\n\nexport type RulesOptions = {\n aliases?: Partial<RuleAliases>\n}\n\ntype ValidationRuleParams = [any, string?]\nexport type ValidationAlias = string | [string, ...ValidationRuleParams]\n\nexport type RulesInstance = {\n resolve: (fn: () => ValidationProps['rules']) => Readonly<Ref<any[]>>\n aliases: RuleAliases\n}\n\nexport function createRules (options: RulesOptions | undefined, locale: LocaleInstance) {\n const { t } = locale\n\n const aliases: RuleAliases = {\n required: (err?: string) => {\n return (v: any) => {\n // If the modifier .number is used, the 0 will be a number and it's a falsy value so we need to check for it\n return v === 0 || !!v || t(err || '$vuetify.rules.required')\n }\n },\n email: (err?: string) => {\n return (v: any) => (!v || (typeof v === 'string' && /^.+@\\S+\\.\\S+$/.test(v))) || t(err || '$vuetify.rules.email')\n },\n number: (err?: string) => {\n return (v: string) => !!Number(v) || t(err || '$vuetify.rules.number')\n },\n integer: (err?: string) => {\n return (v: string) => (/^[\\d]*$/.test(v)) || t(err || '$vuetify.rules.integer')\n },\n capital: (err?: string) => {\n return (v: string) => (/^[A-Z]*$/.test(v)) || t(err || '$vuetify.rules.capital')\n },\n maxLength: (len: number, err?: string) => {\n return (v: any) => (!v || v.length <= len) || t(err || '$vuetify.rules.maxLength', [len])\n },\n minLength: (len: number, err?: string) => {\n return (v: any) => (!v || v.length >= len) || t(err || '$vuetify.rules.minLength', [len])\n },\n strictLength: (len: number, err?: string) => {\n return (v: any) => (!v || v.length === len) || t(err || '$vuetify.rules.strictLength', [len])\n },\n exclude: (forbiddenCharacters: string[], err?: string) => {\n return (v: string) => {\n let error: string | true = true\n for (const character of forbiddenCharacters) {\n if (v.includes(character)) error = err || t('$vuetify.rules.exclude', character)\n }\n return error\n }\n },\n notEmpty: (err?: string) => {\n return (v: any) => (v && v.length > 0) || t(err || '$vuetify.rules.notEmpty')\n },\n pattern: (pattern: RegExp, err?: string) => {\n return (v: any) => (!v || pattern.test(v) || t(err || '$vuetify.rules.pattern'))\n },\n\n ...options?.aliases,\n }\n\n function resolve (fn: () => ValidationProps['rules']) {\n return computed(() => fn().map(rule => {\n let ruleName: string | null = null\n let ruleParams: ValidationRuleParams = [undefined]\n if (Array.isArray(rule)) {\n ruleName = rule[0]\n ruleParams = rule.slice(1) as ValidationRuleParams\n } else if (typeof rule === 'string') {\n ruleName = rule\n }\n\n if (ruleName !== null) {\n if (ruleName.startsWith('$')) {\n ruleName = ruleName.slice(1)\n }\n\n return aliases[ruleName]?.(...ruleParams)\n } else {\n return rule\n }\n }))\n }\n\n return {\n resolve,\n aliases,\n }\n}\n\nexport const RulesSymbol: InjectionKey<RulesInstance> = Symbol.for('vuetify:rules')\n\nexport function useRules (): RuleAliases\nexport function useRules (fn: () => ValidationProps['rules']): Readonly<Ref<ValidationProps['rules']>> | Readonly<Ref<ValidationRule[]>>\n\nexport function useRules (fn?: () => ValidationProps['rules']) {\n const rules = inject(RulesSymbol, null)\n\n if (!fn) {\n if (!rules) {\n throw new Error('Could not find Vuetify rules injection')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C","ignoreList":[]}
package/package.json CHANGED
@@ -1,7 +1,7 @@
1
1
  {
2
2
  "name": "@vuetify/nightly",
3
3
  "description": "Vue Material Component Framework",
4
- "version": "3.9.3-master.2025-08-01",
4
+ "version": "3.9.3-master.2025-08-03",
5
5
  "author": {
6
6
  "name": "John Leider",
7
7
  "email": "john@vuetifyjs.com"