vuetify 3.10.4 → 3.10.5
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/json/attributes.json +3273 -3261
- package/dist/json/importMap-labs.json +20 -20
- package/dist/json/importMap.json +182 -182
- package/dist/json/tags.json +3 -0
- package/dist/json/web-types.json +6210 -6180
- package/dist/vuetify-labs.cjs +36 -38
- package/dist/vuetify-labs.css +4426 -4415
- package/dist/vuetify-labs.d.ts +113 -65
- package/dist/vuetify-labs.esm.js +36 -38
- package/dist/vuetify-labs.esm.js.map +1 -1
- package/dist/vuetify-labs.js +36 -38
- package/dist/vuetify-labs.min.css +2 -2
- package/dist/vuetify.cjs +36 -38
- package/dist/vuetify.cjs.map +1 -1
- package/dist/vuetify.css +5909 -5898
- package/dist/vuetify.d.ts +113 -65
- package/dist/vuetify.esm.js +36 -38
- package/dist/vuetify.esm.js.map +1 -1
- package/dist/vuetify.js +36 -38
- package/dist/vuetify.js.map +1 -1
- package/dist/vuetify.min.css +2 -2
- package/dist/vuetify.min.js +14 -15
- package/dist/vuetify.min.js.map +1 -1
- package/lib/components/VBadge/VBadge.css +10 -0
- package/lib/components/VBadge/VBadge.sass +9 -0
- package/lib/components/VDataTable/VDataTableGroupHeaderRow.d.ts +29 -0
- package/lib/components/VDataTable/VDataTableGroupHeaderRow.js +4 -1
- package/lib/components/VDataTable/VDataTableGroupHeaderRow.js.map +1 -1
- package/lib/components/VDataTable/VDataTableHeaders.d.ts +29 -0
- package/lib/components/VDataTable/VDataTableHeaders.js +3 -0
- package/lib/components/VDataTable/VDataTableHeaders.js.map +1 -1
- package/lib/components/VDataTable/VDataTableRow.d.ts +29 -0
- package/lib/components/VDataTable/VDataTableRow.js +3 -0
- package/lib/components/VDataTable/VDataTableRow.js.map +1 -1
- package/lib/components/VDataTable/VDataTableRows.d.ts +29 -0
- package/lib/components/VDataTable/VDataTableRows.js +4 -3
- package/lib/components/VDataTable/VDataTableRows.js.map +1 -1
- package/lib/components/VDivider/VDivider.css +1 -0
- package/lib/components/VDivider/VDivider.sass +1 -0
- package/lib/components/VKbd/_variables.scss +3 -1
- package/lib/components/VList/VListItem.js +1 -1
- package/lib/components/VList/VListItem.js.map +1 -1
- package/lib/components/VTable/VTable.js +20 -32
- package/lib/components/VTable/VTable.js.map +1 -1
- package/lib/entry-bundler.js +1 -1
- package/lib/framework.d.ts +65 -65
- package/lib/framework.js +1 -1
- package/lib/labs/rules/rules.js +3 -3
- package/lib/labs/rules/rules.js.map +1 -1
- package/package.json +1 -1
package/lib/framework.d.ts
CHANGED
|
@@ -2712,43 +2712,49 @@ declare module 'vue' {
|
|
|
2712
2712
|
$children?: VNodeChild
|
|
2713
2713
|
}
|
|
2714
2714
|
export interface GlobalComponents {
|
|
2715
|
-
|
|
2716
|
-
|
|
2715
|
+
VAvatar: typeof import('vuetify/components')['VAvatar']
|
|
2716
|
+
VApp: typeof import('vuetify/components')['VApp']
|
|
2717
2717
|
VAppBar: typeof import('vuetify/components')['VAppBar']
|
|
2718
2718
|
VAppBarNavIcon: typeof import('vuetify/components')['VAppBarNavIcon']
|
|
2719
2719
|
VAppBarTitle: typeof import('vuetify/components')['VAppBarTitle']
|
|
2720
|
-
|
|
2721
|
-
|
|
2720
|
+
VBadge: typeof import('vuetify/components')['VBadge']
|
|
2721
|
+
VAutocomplete: typeof import('vuetify/components')['VAutocomplete']
|
|
2722
|
+
VBottomSheet: typeof import('vuetify/components')['VBottomSheet']
|
|
2722
2723
|
VBanner: typeof import('vuetify/components')['VBanner']
|
|
2723
2724
|
VBannerActions: typeof import('vuetify/components')['VBannerActions']
|
|
2724
2725
|
VBannerText: typeof import('vuetify/components')['VBannerText']
|
|
2725
|
-
VAutocomplete: typeof import('vuetify/components')['VAutocomplete']
|
|
2726
|
-
VBottomNavigation: typeof import('vuetify/components')['VBottomNavigation']
|
|
2727
2726
|
VBreadcrumbs: typeof import('vuetify/components')['VBreadcrumbs']
|
|
2728
2727
|
VBreadcrumbsItem: typeof import('vuetify/components')['VBreadcrumbsItem']
|
|
2729
2728
|
VBreadcrumbsDivider: typeof import('vuetify/components')['VBreadcrumbsDivider']
|
|
2730
|
-
VBadge: typeof import('vuetify/components')['VBadge']
|
|
2731
|
-
VBottomSheet: typeof import('vuetify/components')['VBottomSheet']
|
|
2732
2729
|
VBtnGroup: typeof import('vuetify/components')['VBtnGroup']
|
|
2733
|
-
|
|
2730
|
+
VAlert: typeof import('vuetify/components')['VAlert']
|
|
2731
|
+
VAlertTitle: typeof import('vuetify/components')['VAlertTitle']
|
|
2734
2732
|
VCard: typeof import('vuetify/components')['VCard']
|
|
2735
2733
|
VCardActions: typeof import('vuetify/components')['VCardActions']
|
|
2736
2734
|
VCardItem: typeof import('vuetify/components')['VCardItem']
|
|
2737
2735
|
VCardSubtitle: typeof import('vuetify/components')['VCardSubtitle']
|
|
2738
2736
|
VCardText: typeof import('vuetify/components')['VCardText']
|
|
2739
2737
|
VCardTitle: typeof import('vuetify/components')['VCardTitle']
|
|
2738
|
+
VBtn: typeof import('vuetify/components')['VBtn']
|
|
2739
|
+
VBtnToggle: typeof import('vuetify/components')['VBtnToggle']
|
|
2740
|
+
VBottomNavigation: typeof import('vuetify/components')['VBottomNavigation']
|
|
2740
2741
|
VCheckbox: typeof import('vuetify/components')['VCheckbox']
|
|
2741
2742
|
VCheckboxBtn: typeof import('vuetify/components')['VCheckboxBtn']
|
|
2742
|
-
VBtnToggle: typeof import('vuetify/components')['VBtnToggle']
|
|
2743
|
-
VCode: typeof import('vuetify/components')['VCode']
|
|
2744
2743
|
VChip: typeof import('vuetify/components')['VChip']
|
|
2745
|
-
|
|
2744
|
+
VCombobox: typeof import('vuetify/components')['VCombobox']
|
|
2746
2745
|
VChipGroup: typeof import('vuetify/components')['VChipGroup']
|
|
2747
2746
|
VCarousel: typeof import('vuetify/components')['VCarousel']
|
|
2748
2747
|
VCarouselItem: typeof import('vuetify/components')['VCarouselItem']
|
|
2749
|
-
|
|
2748
|
+
VCode: typeof import('vuetify/components')['VCode']
|
|
2749
|
+
VColorPicker: typeof import('vuetify/components')['VColorPicker']
|
|
2750
2750
|
VCounter: typeof import('vuetify/components')['VCounter']
|
|
2751
2751
|
VDialog: typeof import('vuetify/components')['VDialog']
|
|
2752
|
+
VDatePicker: typeof import('vuetify/components')['VDatePicker']
|
|
2753
|
+
VDatePickerControls: typeof import('vuetify/components')['VDatePickerControls']
|
|
2754
|
+
VDatePickerHeader: typeof import('vuetify/components')['VDatePickerHeader']
|
|
2755
|
+
VDatePickerMonth: typeof import('vuetify/components')['VDatePickerMonth']
|
|
2756
|
+
VDatePickerMonths: typeof import('vuetify/components')['VDatePickerMonths']
|
|
2757
|
+
VDatePickerYears: typeof import('vuetify/components')['VDatePickerYears']
|
|
2752
2758
|
VDataTable: typeof import('vuetify/components')['VDataTable']
|
|
2753
2759
|
VDataTableHeaders: typeof import('vuetify/components')['VDataTableHeaders']
|
|
2754
2760
|
VDataTableFooter: typeof import('vuetify/components')['VDataTableFooter']
|
|
@@ -2756,35 +2762,27 @@ declare module 'vue' {
|
|
|
2756
2762
|
VDataTableRow: typeof import('vuetify/components')['VDataTableRow']
|
|
2757
2763
|
VDataTableVirtual: typeof import('vuetify/components')['VDataTableVirtual']
|
|
2758
2764
|
VDataTableServer: typeof import('vuetify/components')['VDataTableServer']
|
|
2765
|
+
VDivider: typeof import('vuetify/components')['VDivider']
|
|
2759
2766
|
VExpansionPanels: typeof import('vuetify/components')['VExpansionPanels']
|
|
2760
2767
|
VExpansionPanel: typeof import('vuetify/components')['VExpansionPanel']
|
|
2761
2768
|
VExpansionPanelText: typeof import('vuetify/components')['VExpansionPanelText']
|
|
2762
2769
|
VExpansionPanelTitle: typeof import('vuetify/components')['VExpansionPanelTitle']
|
|
2763
|
-
|
|
2764
|
-
|
|
2765
|
-
|
|
2766
|
-
VDatePickerMonth: typeof import('vuetify/components')['VDatePickerMonth']
|
|
2767
|
-
VDatePickerMonths: typeof import('vuetify/components')['VDatePickerMonths']
|
|
2768
|
-
VDatePickerYears: typeof import('vuetify/components')['VDatePickerYears']
|
|
2770
|
+
VFab: typeof import('vuetify/components')['VFab']
|
|
2771
|
+
VField: typeof import('vuetify/components')['VField']
|
|
2772
|
+
VFieldLabel: typeof import('vuetify/components')['VFieldLabel']
|
|
2769
2773
|
VEmptyState: typeof import('vuetify/components')['VEmptyState']
|
|
2770
2774
|
VFooter: typeof import('vuetify/components')['VFooter']
|
|
2771
|
-
VDivider: typeof import('vuetify/components')['VDivider']
|
|
2772
|
-
VFab: typeof import('vuetify/components')['VFab']
|
|
2773
2775
|
VIcon: typeof import('vuetify/components')['VIcon']
|
|
2774
2776
|
VComponentIcon: typeof import('vuetify/components')['VComponentIcon']
|
|
2775
2777
|
VSvgIcon: typeof import('vuetify/components')['VSvgIcon']
|
|
2776
2778
|
VLigatureIcon: typeof import('vuetify/components')['VLigatureIcon']
|
|
2777
2779
|
VClassIcon: typeof import('vuetify/components')['VClassIcon']
|
|
2778
|
-
|
|
2779
|
-
VFieldLabel: typeof import('vuetify/components')['VFieldLabel']
|
|
2780
|
+
VInfiniteScroll: typeof import('vuetify/components')['VInfiniteScroll']
|
|
2780
2781
|
VFileInput: typeof import('vuetify/components')['VFileInput']
|
|
2782
|
+
VKbd: typeof import('vuetify/components')['VKbd']
|
|
2781
2783
|
VImg: typeof import('vuetify/components')['VImg']
|
|
2782
|
-
VInfiniteScroll: typeof import('vuetify/components')['VInfiniteScroll']
|
|
2783
2784
|
VInput: typeof import('vuetify/components')['VInput']
|
|
2784
2785
|
VLabel: typeof import('vuetify/components')['VLabel']
|
|
2785
|
-
VItemGroup: typeof import('vuetify/components')['VItemGroup']
|
|
2786
|
-
VItem: typeof import('vuetify/components')['VItem']
|
|
2787
|
-
VKbd: typeof import('vuetify/components')['VKbd']
|
|
2788
2786
|
VList: typeof import('vuetify/components')['VList']
|
|
2789
2787
|
VListGroup: typeof import('vuetify/components')['VListGroup']
|
|
2790
2788
|
VListImg: typeof import('vuetify/components')['VListImg']
|
|
@@ -2794,80 +2792,79 @@ declare module 'vue' {
|
|
|
2794
2792
|
VListItemSubtitle: typeof import('vuetify/components')['VListItemSubtitle']
|
|
2795
2793
|
VListItemTitle: typeof import('vuetify/components')['VListItemTitle']
|
|
2796
2794
|
VListSubheader: typeof import('vuetify/components')['VListSubheader']
|
|
2795
|
+
VItemGroup: typeof import('vuetify/components')['VItemGroup']
|
|
2796
|
+
VItem: typeof import('vuetify/components')['VItem']
|
|
2797
|
+
VMessages: typeof import('vuetify/components')['VMessages']
|
|
2797
2798
|
VMain: typeof import('vuetify/components')['VMain']
|
|
2798
|
-
VNavigationDrawer: typeof import('vuetify/components')['VNavigationDrawer']
|
|
2799
2799
|
VMenu: typeof import('vuetify/components')['VMenu']
|
|
2800
|
-
|
|
2801
|
-
|
|
2800
|
+
VNavigationDrawer: typeof import('vuetify/components')['VNavigationDrawer']
|
|
2801
|
+
VOtpInput: typeof import('vuetify/components')['VOtpInput']
|
|
2802
2802
|
VPagination: typeof import('vuetify/components')['VPagination']
|
|
2803
|
+
VNumberInput: typeof import('vuetify/components')['VNumberInput']
|
|
2803
2804
|
VOverlay: typeof import('vuetify/components')['VOverlay']
|
|
2804
|
-
VOtpInput: typeof import('vuetify/components')['VOtpInput']
|
|
2805
|
-
VProgressCircular: typeof import('vuetify/components')['VProgressCircular']
|
|
2806
|
-
VRating: typeof import('vuetify/components')['VRating']
|
|
2807
|
-
VSelect: typeof import('vuetify/components')['VSelect']
|
|
2808
2805
|
VRadioGroup: typeof import('vuetify/components')['VRadioGroup']
|
|
2809
2806
|
VProgressLinear: typeof import('vuetify/components')['VProgressLinear']
|
|
2810
|
-
|
|
2807
|
+
VProgressCircular: typeof import('vuetify/components')['VProgressCircular']
|
|
2811
2808
|
VSelectionControl: typeof import('vuetify/components')['VSelectionControl']
|
|
2812
|
-
|
|
2813
|
-
|
|
2809
|
+
VRating: typeof import('vuetify/components')['VRating']
|
|
2810
|
+
VSkeletonLoader: typeof import('vuetify/components')['VSkeletonLoader']
|
|
2814
2811
|
VSlideGroup: typeof import('vuetify/components')['VSlideGroup']
|
|
2815
2812
|
VSlideGroupItem: typeof import('vuetify/components')['VSlideGroupItem']
|
|
2813
|
+
VSelect: typeof import('vuetify/components')['VSelect']
|
|
2814
|
+
VSelectionControlGroup: typeof import('vuetify/components')['VSelectionControlGroup']
|
|
2815
|
+
VSheet: typeof import('vuetify/components')['VSheet']
|
|
2816
2816
|
VSlider: typeof import('vuetify/components')['VSlider']
|
|
2817
|
-
|
|
2817
|
+
VSwitch: typeof import('vuetify/components')['VSwitch']
|
|
2818
|
+
VSnackbar: typeof import('vuetify/components')['VSnackbar']
|
|
2819
|
+
VTab: typeof import('vuetify/components')['VTab']
|
|
2820
|
+
VTabs: typeof import('vuetify/components')['VTabs']
|
|
2821
|
+
VTabsWindow: typeof import('vuetify/components')['VTabsWindow']
|
|
2822
|
+
VTabsWindowItem: typeof import('vuetify/components')['VTabsWindowItem']
|
|
2818
2823
|
VStepper: typeof import('vuetify/components')['VStepper']
|
|
2819
2824
|
VStepperActions: typeof import('vuetify/components')['VStepperActions']
|
|
2820
2825
|
VStepperHeader: typeof import('vuetify/components')['VStepperHeader']
|
|
2821
2826
|
VStepperItem: typeof import('vuetify/components')['VStepperItem']
|
|
2822
2827
|
VStepperWindow: typeof import('vuetify/components')['VStepperWindow']
|
|
2823
2828
|
VStepperWindowItem: typeof import('vuetify/components')['VStepperWindowItem']
|
|
2824
|
-
VSwitch: typeof import('vuetify/components')['VSwitch']
|
|
2825
|
-
VTable: typeof import('vuetify/components')['VTable']
|
|
2826
|
-
VTextarea: typeof import('vuetify/components')['VTextarea']
|
|
2827
2829
|
VSystemBar: typeof import('vuetify/components')['VSystemBar']
|
|
2828
|
-
VTab: typeof import('vuetify/components')['VTab']
|
|
2829
|
-
VTabs: typeof import('vuetify/components')['VTabs']
|
|
2830
|
-
VTabsWindow: typeof import('vuetify/components')['VTabsWindow']
|
|
2831
|
-
VTabsWindowItem: typeof import('vuetify/components')['VTabsWindowItem']
|
|
2832
2830
|
VTextField: typeof import('vuetify/components')['VTextField']
|
|
2833
|
-
|
|
2834
|
-
|
|
2835
|
-
VTimePickerClock: typeof import('vuetify/components')['VTimePickerClock']
|
|
2836
|
-
VTimePickerControls: typeof import('vuetify/components')['VTimePickerControls']
|
|
2831
|
+
VTable: typeof import('vuetify/components')['VTable']
|
|
2832
|
+
VTextarea: typeof import('vuetify/components')['VTextarea']
|
|
2837
2833
|
VTimeline: typeof import('vuetify/components')['VTimeline']
|
|
2838
2834
|
VTimelineItem: typeof import('vuetify/components')['VTimelineItem']
|
|
2839
|
-
VToolbar: typeof import('vuetify/components')['VToolbar']
|
|
2840
|
-
VToolbarTitle: typeof import('vuetify/components')['VToolbarTitle']
|
|
2841
|
-
VToolbarItems: typeof import('vuetify/components')['VToolbarItems']
|
|
2842
2835
|
VTreeview: typeof import('vuetify/components')['VTreeview']
|
|
2843
2836
|
VTreeviewItem: typeof import('vuetify/components')['VTreeviewItem']
|
|
2844
2837
|
VTreeviewGroup: typeof import('vuetify/components')['VTreeviewGroup']
|
|
2838
|
+
VTooltip: typeof import('vuetify/components')['VTooltip']
|
|
2839
|
+
VToolbar: typeof import('vuetify/components')['VToolbar']
|
|
2840
|
+
VToolbarTitle: typeof import('vuetify/components')['VToolbarTitle']
|
|
2841
|
+
VToolbarItems: typeof import('vuetify/components')['VToolbarItems']
|
|
2845
2842
|
VWindow: typeof import('vuetify/components')['VWindow']
|
|
2846
2843
|
VWindowItem: typeof import('vuetify/components')['VWindowItem']
|
|
2847
2844
|
VConfirmEdit: typeof import('vuetify/components')['VConfirmEdit']
|
|
2848
2845
|
VDataIterator: typeof import('vuetify/components')['VDataIterator']
|
|
2849
2846
|
VDefaultsProvider: typeof import('vuetify/components')['VDefaultsProvider']
|
|
2847
|
+
VForm: typeof import('vuetify/components')['VForm']
|
|
2848
|
+
VHover: typeof import('vuetify/components')['VHover']
|
|
2850
2849
|
VContainer: typeof import('vuetify/components')['VContainer']
|
|
2851
2850
|
VCol: typeof import('vuetify/components')['VCol']
|
|
2852
2851
|
VRow: typeof import('vuetify/components')['VRow']
|
|
2853
2852
|
VSpacer: typeof import('vuetify/components')['VSpacer']
|
|
2854
|
-
VForm: typeof import('vuetify/components')['VForm']
|
|
2855
|
-
VHover: typeof import('vuetify/components')['VHover']
|
|
2856
2853
|
VLayout: typeof import('vuetify/components')['VLayout']
|
|
2857
2854
|
VLayoutItem: typeof import('vuetify/components')['VLayoutItem']
|
|
2858
|
-
VLocaleProvider: typeof import('vuetify/components')['VLocaleProvider']
|
|
2859
2855
|
VLazy: typeof import('vuetify/components')['VLazy']
|
|
2856
|
+
VLocaleProvider: typeof import('vuetify/components')['VLocaleProvider']
|
|
2860
2857
|
VNoSsr: typeof import('vuetify/components')['VNoSsr']
|
|
2861
2858
|
VParallax: typeof import('vuetify/components')['VParallax']
|
|
2862
2859
|
VRadio: typeof import('vuetify/components')['VRadio']
|
|
2863
|
-
VResponsive: typeof import('vuetify/components')['VResponsive']
|
|
2864
2860
|
VRangeSlider: typeof import('vuetify/components')['VRangeSlider']
|
|
2861
|
+
VResponsive: typeof import('vuetify/components')['VResponsive']
|
|
2865
2862
|
VSnackbarQueue: typeof import('vuetify/components')['VSnackbarQueue']
|
|
2866
2863
|
VSparkline: typeof import('vuetify/components')['VSparkline']
|
|
2867
2864
|
VSpeedDial: typeof import('vuetify/components')['VSpeedDial']
|
|
2868
2865
|
VThemeProvider: typeof import('vuetify/components')['VThemeProvider']
|
|
2869
|
-
VValidation: typeof import('vuetify/components')['VValidation']
|
|
2870
2866
|
VVirtualScroll: typeof import('vuetify/components')['VVirtualScroll']
|
|
2867
|
+
VValidation: typeof import('vuetify/components')['VValidation']
|
|
2871
2868
|
VFabTransition: typeof import('vuetify/components')['VFabTransition']
|
|
2872
2869
|
VDialogBottomTransition: typeof import('vuetify/components')['VDialogBottomTransition']
|
|
2873
2870
|
VDialogTopTransition: typeof import('vuetify/components')['VDialogTopTransition']
|
|
@@ -2884,26 +2881,29 @@ declare module 'vue' {
|
|
|
2884
2881
|
VExpandTransition: typeof import('vuetify/components')['VExpandTransition']
|
|
2885
2882
|
VExpandXTransition: typeof import('vuetify/components')['VExpandXTransition']
|
|
2886
2883
|
VDialogTransition: typeof import('vuetify/components')['VDialogTransition']
|
|
2884
|
+
VTimePicker: typeof import('vuetify/components')['VTimePicker']
|
|
2885
|
+
VTimePickerClock: typeof import('vuetify/components')['VTimePickerClock']
|
|
2886
|
+
VTimePickerControls: typeof import('vuetify/components')['VTimePickerControls']
|
|
2887
2887
|
VCalendar: typeof import('vuetify/labs/components')['VCalendar']
|
|
2888
2888
|
VColorInput: typeof import('vuetify/labs/components')['VColorInput']
|
|
2889
2889
|
VFileUpload: typeof import('vuetify/labs/components')['VFileUpload']
|
|
2890
2890
|
VFileUploadItem: typeof import('vuetify/labs/components')['VFileUploadItem']
|
|
2891
|
-
VVideo: typeof import('vuetify/labs/components')['VVideo']
|
|
2892
|
-
VVideoControls: typeof import('vuetify/labs/components')['VVideoControls']
|
|
2893
|
-
VVideoVolume: typeof import('vuetify/labs/components')['VVideoVolume']
|
|
2894
|
-
VPie: typeof import('vuetify/labs/components')['VPie']
|
|
2895
|
-
VPieSegment: typeof import('vuetify/labs/components')['VPieSegment']
|
|
2896
|
-
VPieTooltip: typeof import('vuetify/labs/components')['VPieTooltip']
|
|
2897
|
-
VHotkey: typeof import('vuetify/labs/components')['VHotkey']
|
|
2898
2891
|
VIconBtn: typeof import('vuetify/labs/components')['VIconBtn']
|
|
2899
2892
|
VStepperVertical: typeof import('vuetify/labs/components')['VStepperVertical']
|
|
2900
2893
|
VStepperVerticalItem: typeof import('vuetify/labs/components')['VStepperVerticalItem']
|
|
2901
2894
|
VStepperVerticalActions: typeof import('vuetify/labs/components')['VStepperVerticalActions']
|
|
2895
|
+
VPie: typeof import('vuetify/labs/components')['VPie']
|
|
2896
|
+
VPieSegment: typeof import('vuetify/labs/components')['VPieSegment']
|
|
2897
|
+
VPieTooltip: typeof import('vuetify/labs/components')['VPieTooltip']
|
|
2898
|
+
VHotkey: typeof import('vuetify/labs/components')['VHotkey']
|
|
2899
|
+
VVideo: typeof import('vuetify/labs/components')['VVideo']
|
|
2900
|
+
VVideoControls: typeof import('vuetify/labs/components')['VVideoControls']
|
|
2901
|
+
VVideoVolume: typeof import('vuetify/labs/components')['VVideoVolume']
|
|
2902
2902
|
VPicker: typeof import('vuetify/labs/components')['VPicker']
|
|
2903
2903
|
VPickerTitle: typeof import('vuetify/labs/components')['VPickerTitle']
|
|
2904
2904
|
VDateInput: typeof import('vuetify/labs/components')['VDateInput']
|
|
2905
|
-
VPullToRefresh: typeof import('vuetify/labs/components')['VPullToRefresh']
|
|
2906
2905
|
VMaskInput: typeof import('vuetify/labs/components')['VMaskInput']
|
|
2906
|
+
VPullToRefresh: typeof import('vuetify/labs/components')['VPullToRefresh']
|
|
2907
2907
|
}
|
|
2908
2908
|
export interface GlobalDirectives {
|
|
2909
2909
|
vClickOutside: typeof import('vuetify/directives')['ClickOutside']
|
package/lib/framework.js
CHANGED
package/lib/labs/rules/rules.js
CHANGED
|
@@ -27,13 +27,13 @@ export function createRules(options, locale) {
|
|
|
27
27
|
return v => /^[A-Z]*$/.test(v) || t(err || '$vuetify.rules.capital');
|
|
28
28
|
},
|
|
29
29
|
maxLength: (len, err) => {
|
|
30
|
-
return v => !v || v.length <= len || t(err || '$vuetify.rules.maxLength',
|
|
30
|
+
return v => !v || v.length <= len || t(err || '$vuetify.rules.maxLength', len);
|
|
31
31
|
},
|
|
32
32
|
minLength: (len, err) => {
|
|
33
|
-
return v => !v || v.length >= len || t(err || '$vuetify.rules.minLength',
|
|
33
|
+
return v => !v || v.length >= len || t(err || '$vuetify.rules.minLength', len);
|
|
34
34
|
},
|
|
35
35
|
strictLength: (len, err) => {
|
|
36
|
-
return v => !v || v.length === len || t(err || '$vuetify.rules.strictLength',
|
|
36
|
+
return v => !v || v.length === len || t(err || '$vuetify.rules.strictLength', len);
|
|
37
37
|
},
|
|
38
38
|
exclude: (forbiddenCharacters, err) => {
|
|
39
39
|
return v => {
|
|
@@ -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","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',
|
|
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')\n }\n return rules.aliases\n }\n\n return rules?.resolve(fn) ?? toRef(fn)\n}\n"],"mappings":"AAAA;AACA,SAASA,QAAQ,EAAEC,MAAM,EAAEC,KAAK,QAAQ,KAAK;;AAE7C;;AAsCA,OAAO,SAASC,WAAWA,CAAEC,OAAiC,EAAEC,MAAsB,EAAE;EACtF,MAAM;IAAEC;EAAE,CAAC,GAAGD,MAAM;EAEpB,MAAME,OAAoB,GAAG;IAC3BC,QAAQ,EAAGC,GAAY,IAAK;MAC1B,OAAQC,CAAM,IAAK;QACjB;QACA,OAAOA,CAAC,KAAK,CAAC,IAAI,CAAC,CAACA,CAAC,IAAIJ,CAAC,CAACG,GAA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