@vuetify/nightly 3.7.17-dev.2025-03-18 → 3.7.18-dev.2025-03-19
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/CHANGELOG.md +18 -3
- package/dist/json/attributes.json +3587 -3543
- package/dist/json/importMap-labs.json +36 -36
- package/dist/json/importMap.json +166 -166
- package/dist/json/tags.json +11 -0
- package/dist/json/web-types.json +6725 -6620
- package/dist/vuetify-labs.cjs +31517 -0
- package/dist/vuetify-labs.css +4465 -4458
- package/dist/vuetify-labs.d.ts +155 -82
- package/dist/vuetify-labs.esm.js +53 -9
- package/dist/vuetify-labs.esm.js.map +1 -1
- package/dist/vuetify-labs.js +53 -9
- package/dist/vuetify-labs.min.css +2 -2
- package/dist/vuetify.cjs +29151 -0
- package/dist/vuetify.cjs.map +1 -0
- package/dist/vuetify.css +2280 -2273
- package/dist/vuetify.d.ts +115 -76
- package/dist/vuetify.esm.js +53 -8
- package/dist/vuetify.esm.js.map +1 -1
- package/dist/vuetify.js +53 -8
- package/dist/vuetify.js.map +1 -1
- package/dist/vuetify.min.css +2 -2
- package/dist/vuetify.min.js +18 -18
- package/dist/vuetify.min.js.map +1 -1
- package/lib/blueprints/md1.js +10 -0
- package/lib/blueprints/md1.js.map +1 -1
- package/lib/blueprints/md2.js +10 -0
- package/lib/blueprints/md2.js.map +1 -1
- package/lib/blueprints/md3.js +12 -0
- package/lib/blueprints/md3.js.map +1 -1
- package/lib/components/VBtnGroup/VBtnGroup.d.ts +6 -6
- package/lib/components/VBtnToggle/VBtnToggle.d.ts +6 -6
- package/lib/components/VColorPicker/VColorPicker.d.ts +13 -0
- package/lib/components/VConfirmEdit/VConfirmEdit.d.ts +13 -0
- package/lib/components/VConfirmEdit/VConfirmEdit.js +3 -2
- package/lib/components/VConfirmEdit/VConfirmEdit.js.map +1 -1
- package/lib/components/VDatePicker/VDatePicker.d.ts +33 -0
- package/lib/components/VDatePicker/VDatePicker.js +4 -0
- package/lib/components/VDatePicker/VDatePicker.js.map +1 -1
- package/lib/components/VDatePicker/VDatePickerControls.css +1 -0
- package/lib/components/VDatePicker/VDatePickerControls.d.ts +10 -0
- package/lib/components/VDatePicker/VDatePickerControls.js +8 -2
- package/lib/components/VDatePicker/VDatePickerControls.js.map +1 -1
- package/lib/components/VDatePicker/VDatePickerControls.sass +2 -0
- package/lib/components/VDatePicker/VDatePickerMonth.js +2 -2
- package/lib/components/VDatePicker/VDatePickerMonth.js.map +1 -1
- package/lib/components/VDatePicker/_variables.scss +1 -0
- package/lib/entry-bundler.js +1 -1
- package/lib/framework.d.ts +64 -64
- package/lib/framework.js +1 -1
- package/lib/labs/VDateInput/VDateInput.d.ts +39 -6
- package/lib/labs/VDateInput/VDateInput.js +0 -1
- package/lib/labs/VDateInput/VDateInput.js.map +1 -1
- package/lib/labs/VPicker/VPicker.css +6 -0
- package/lib/labs/VPicker/VPicker.d.ts +13 -0
- package/lib/labs/VPicker/VPicker.js +2 -0
- package/lib/labs/VPicker/VPicker.js.map +1 -1
- package/lib/labs/VPicker/VPicker.sass +6 -0
- package/lib/labs/VPicker/_variables.scss +4 -0
- package/lib/labs/VTimePicker/VTimePicker.d.ts +13 -0
- package/package.json +11 -1
package/lib/framework.d.ts
CHANGED
@@ -490,38 +490,41 @@ declare module 'vue' {
|
|
490
490
|
$children?: VNodeChild
|
491
491
|
}
|
492
492
|
export interface GlobalComponents {
|
493
|
-
|
494
|
-
VAlertTitle: typeof import('vuetify/components')['VAlertTitle']
|
495
|
-
VApp: typeof import('vuetify/components')['VApp']
|
493
|
+
VAutocomplete: typeof import('vuetify/components')['VAutocomplete']
|
496
494
|
VAppBar: typeof import('vuetify/components')['VAppBar']
|
497
495
|
VAppBarNavIcon: typeof import('vuetify/components')['VAppBarNavIcon']
|
498
496
|
VAppBarTitle: typeof import('vuetify/components')['VAppBarTitle']
|
499
|
-
VAvatar: typeof import('vuetify/components')['VAvatar']
|
500
497
|
VBadge: typeof import('vuetify/components')['VBadge']
|
501
|
-
|
502
|
-
VBreadcrumbsItem: typeof import('vuetify/components')['VBreadcrumbsItem']
|
503
|
-
VBreadcrumbsDivider: typeof import('vuetify/components')['VBreadcrumbsDivider']
|
498
|
+
VApp: typeof import('vuetify/components')['VApp']
|
504
499
|
VBottomNavigation: typeof import('vuetify/components')['VBottomNavigation']
|
505
|
-
|
500
|
+
VAvatar: typeof import('vuetify/components')['VAvatar']
|
501
|
+
VBottomSheet: typeof import('vuetify/components')['VBottomSheet']
|
502
|
+
VAlert: typeof import('vuetify/components')['VAlert']
|
503
|
+
VAlertTitle: typeof import('vuetify/components')['VAlertTitle']
|
506
504
|
VBanner: typeof import('vuetify/components')['VBanner']
|
507
505
|
VBannerActions: typeof import('vuetify/components')['VBannerActions']
|
508
506
|
VBannerText: typeof import('vuetify/components')['VBannerText']
|
507
|
+
VBreadcrumbs: typeof import('vuetify/components')['VBreadcrumbs']
|
508
|
+
VBreadcrumbsItem: typeof import('vuetify/components')['VBreadcrumbsItem']
|
509
|
+
VBreadcrumbsDivider: typeof import('vuetify/components')['VBreadcrumbsDivider']
|
510
|
+
VBtn: typeof import('vuetify/components')['VBtn']
|
509
511
|
VBtnGroup: typeof import('vuetify/components')['VBtnGroup']
|
512
|
+
VBtnToggle: typeof import('vuetify/components')['VBtnToggle']
|
513
|
+
VCarousel: typeof import('vuetify/components')['VCarousel']
|
514
|
+
VCarouselItem: typeof import('vuetify/components')['VCarouselItem']
|
510
515
|
VCard: typeof import('vuetify/components')['VCard']
|
511
516
|
VCardActions: typeof import('vuetify/components')['VCardActions']
|
512
517
|
VCardItem: typeof import('vuetify/components')['VCardItem']
|
513
518
|
VCardSubtitle: typeof import('vuetify/components')['VCardSubtitle']
|
514
519
|
VCardText: typeof import('vuetify/components')['VCardText']
|
515
520
|
VCardTitle: typeof import('vuetify/components')['VCardTitle']
|
516
|
-
VBtn: typeof import('vuetify/components')['VBtn']
|
517
|
-
VBottomSheet: typeof import('vuetify/components')['VBottomSheet']
|
518
521
|
VCheckbox: typeof import('vuetify/components')['VCheckbox']
|
519
522
|
VCheckboxBtn: typeof import('vuetify/components')['VCheckboxBtn']
|
520
|
-
VChip: typeof import('vuetify/components')['VChip']
|
521
|
-
VCode: typeof import('vuetify/components')['VCode']
|
522
523
|
VChipGroup: typeof import('vuetify/components')['VChipGroup']
|
523
524
|
VColorPicker: typeof import('vuetify/components')['VColorPicker']
|
524
525
|
VCombobox: typeof import('vuetify/components')['VCombobox']
|
526
|
+
VChip: typeof import('vuetify/components')['VChip']
|
527
|
+
VCode: typeof import('vuetify/components')['VCode']
|
525
528
|
VDataTable: typeof import('vuetify/components')['VDataTable']
|
526
529
|
VDataTableHeaders: typeof import('vuetify/components')['VDataTableHeaders']
|
527
530
|
VDataTableFooter: typeof import('vuetify/components')['VDataTableFooter']
|
@@ -529,43 +532,37 @@ declare module 'vue' {
|
|
529
532
|
VDataTableRow: typeof import('vuetify/components')['VDataTableRow']
|
530
533
|
VDataTableVirtual: typeof import('vuetify/components')['VDataTableVirtual']
|
531
534
|
VDataTableServer: typeof import('vuetify/components')['VDataTableServer']
|
532
|
-
|
535
|
+
VCounter: typeof import('vuetify/components')['VCounter']
|
533
536
|
VDatePicker: typeof import('vuetify/components')['VDatePicker']
|
534
537
|
VDatePickerControls: typeof import('vuetify/components')['VDatePickerControls']
|
535
538
|
VDatePickerHeader: typeof import('vuetify/components')['VDatePickerHeader']
|
536
539
|
VDatePickerMonth: typeof import('vuetify/components')['VDatePickerMonth']
|
537
540
|
VDatePickerMonths: typeof import('vuetify/components')['VDatePickerMonths']
|
538
541
|
VDatePickerYears: typeof import('vuetify/components')['VDatePickerYears']
|
539
|
-
VCounter: typeof import('vuetify/components')['VCounter']
|
540
542
|
VEmptyState: typeof import('vuetify/components')['VEmptyState']
|
541
|
-
VCarousel: typeof import('vuetify/components')['VCarousel']
|
542
|
-
VCarouselItem: typeof import('vuetify/components')['VCarouselItem']
|
543
543
|
VFab: typeof import('vuetify/components')['VFab']
|
544
|
+
VDialog: typeof import('vuetify/components')['VDialog']
|
545
|
+
VDivider: typeof import('vuetify/components')['VDivider']
|
544
546
|
VExpansionPanels: typeof import('vuetify/components')['VExpansionPanels']
|
545
547
|
VExpansionPanel: typeof import('vuetify/components')['VExpansionPanel']
|
546
548
|
VExpansionPanelText: typeof import('vuetify/components')['VExpansionPanelText']
|
547
549
|
VExpansionPanelTitle: typeof import('vuetify/components')['VExpansionPanelTitle']
|
548
|
-
VFooter: typeof import('vuetify/components')['VFooter']
|
549
550
|
VField: typeof import('vuetify/components')['VField']
|
550
551
|
VFieldLabel: typeof import('vuetify/components')['VFieldLabel']
|
551
|
-
VDialog: typeof import('vuetify/components')['VDialog']
|
552
552
|
VFileInput: typeof import('vuetify/components')['VFileInput']
|
553
|
-
VImg: typeof import('vuetify/components')['VImg']
|
554
553
|
VIcon: typeof import('vuetify/components')['VIcon']
|
555
554
|
VComponentIcon: typeof import('vuetify/components')['VComponentIcon']
|
556
555
|
VSvgIcon: typeof import('vuetify/components')['VSvgIcon']
|
557
556
|
VLigatureIcon: typeof import('vuetify/components')['VLigatureIcon']
|
558
557
|
VClassIcon: typeof import('vuetify/components')['VClassIcon']
|
559
|
-
VInput: typeof import('vuetify/components')['VInput']
|
560
558
|
VInfiniteScroll: typeof import('vuetify/components')['VInfiniteScroll']
|
561
|
-
|
559
|
+
VFooter: typeof import('vuetify/components')['VFooter']
|
560
|
+
VImg: typeof import('vuetify/components')['VImg']
|
561
|
+
VInput: typeof import('vuetify/components')['VInput']
|
562
562
|
VItemGroup: typeof import('vuetify/components')['VItemGroup']
|
563
563
|
VItem: typeof import('vuetify/components')['VItem']
|
564
|
+
VKbd: typeof import('vuetify/components')['VKbd']
|
564
565
|
VLabel: typeof import('vuetify/components')['VLabel']
|
565
|
-
VMain: typeof import('vuetify/components')['VMain']
|
566
|
-
VNavigationDrawer: typeof import('vuetify/components')['VNavigationDrawer']
|
567
|
-
VMessages: typeof import('vuetify/components')['VMessages']
|
568
|
-
VMenu: typeof import('vuetify/components')['VMenu']
|
569
566
|
VList: typeof import('vuetify/components')['VList']
|
570
567
|
VListGroup: typeof import('vuetify/components')['VListGroup']
|
571
568
|
VListImg: typeof import('vuetify/components')['VListImg']
|
@@ -575,71 +572,74 @@ declare module 'vue' {
|
|
575
572
|
VListItemSubtitle: typeof import('vuetify/components')['VListItemSubtitle']
|
576
573
|
VListItemTitle: typeof import('vuetify/components')['VListItemTitle']
|
577
574
|
VListSubheader: typeof import('vuetify/components')['VListSubheader']
|
575
|
+
VMain: typeof import('vuetify/components')['VMain']
|
576
|
+
VMenu: typeof import('vuetify/components')['VMenu']
|
577
|
+
VNavigationDrawer: typeof import('vuetify/components')['VNavigationDrawer']
|
578
578
|
VNumberInput: typeof import('vuetify/components')['VNumberInput']
|
579
|
-
|
580
|
-
VProgressCircular: typeof import('vuetify/components')['VProgressCircular']
|
579
|
+
VMessages: typeof import('vuetify/components')['VMessages']
|
581
580
|
VPagination: typeof import('vuetify/components')['VPagination']
|
582
|
-
VOtpInput: typeof import('vuetify/components')['VOtpInput']
|
583
581
|
VProgressLinear: typeof import('vuetify/components')['VProgressLinear']
|
582
|
+
VOverlay: typeof import('vuetify/components')['VOverlay']
|
583
|
+
VOtpInput: typeof import('vuetify/components')['VOtpInput']
|
584
|
+
VProgressCircular: typeof import('vuetify/components')['VProgressCircular']
|
585
|
+
VSelectionControlGroup: typeof import('vuetify/components')['VSelectionControlGroup']
|
584
586
|
VRadioGroup: typeof import('vuetify/components')['VRadioGroup']
|
585
587
|
VRating: typeof import('vuetify/components')['VRating']
|
586
|
-
VSkeletonLoader: typeof import('vuetify/components')['VSkeletonLoader']
|
587
|
-
VSelect: typeof import('vuetify/components')['VSelect']
|
588
|
-
VSelectionControlGroup: typeof import('vuetify/components')['VSelectionControlGroup']
|
589
588
|
VSelectionControl: typeof import('vuetify/components')['VSelectionControl']
|
590
|
-
VSlider: typeof import('vuetify/components')['VSlider']
|
591
589
|
VSheet: typeof import('vuetify/components')['VSheet']
|
590
|
+
VSelect: typeof import('vuetify/components')['VSelect']
|
591
|
+
VSkeletonLoader: typeof import('vuetify/components')['VSkeletonLoader']
|
592
|
+
VSlider: typeof import('vuetify/components')['VSlider']
|
593
|
+
VSlideGroup: typeof import('vuetify/components')['VSlideGroup']
|
594
|
+
VSlideGroupItem: typeof import('vuetify/components')['VSlideGroupItem']
|
595
|
+
VSnackbar: typeof import('vuetify/components')['VSnackbar']
|
596
|
+
VSwitch: typeof import('vuetify/components')['VSwitch']
|
592
597
|
VStepper: typeof import('vuetify/components')['VStepper']
|
593
598
|
VStepperActions: typeof import('vuetify/components')['VStepperActions']
|
594
599
|
VStepperHeader: typeof import('vuetify/components')['VStepperHeader']
|
595
600
|
VStepperItem: typeof import('vuetify/components')['VStepperItem']
|
596
601
|
VStepperWindow: typeof import('vuetify/components')['VStepperWindow']
|
597
602
|
VStepperWindowItem: typeof import('vuetify/components')['VStepperWindowItem']
|
598
|
-
VSlideGroup: typeof import('vuetify/components')['VSlideGroup']
|
599
|
-
VSlideGroupItem: typeof import('vuetify/components')['VSlideGroupItem']
|
600
|
-
VSwitch: typeof import('vuetify/components')['VSwitch']
|
601
|
-
VSnackbar: typeof import('vuetify/components')['VSnackbar']
|
602
|
-
VSystemBar: typeof import('vuetify/components')['VSystemBar']
|
603
603
|
VTab: typeof import('vuetify/components')['VTab']
|
604
604
|
VTabs: typeof import('vuetify/components')['VTabs']
|
605
605
|
VTabsWindow: typeof import('vuetify/components')['VTabsWindow']
|
606
606
|
VTabsWindowItem: typeof import('vuetify/components')['VTabsWindowItem']
|
607
|
-
|
608
|
-
VBtnToggle: typeof import('vuetify/components')['VBtnToggle']
|
607
|
+
VTextarea: typeof import('vuetify/components')['VTextarea']
|
609
608
|
VTextField: typeof import('vuetify/components')['VTextField']
|
610
|
-
|
609
|
+
VTable: typeof import('vuetify/components')['VTable']
|
610
|
+
VTimeline: typeof import('vuetify/components')['VTimeline']
|
611
|
+
VTimelineItem: typeof import('vuetify/components')['VTimelineItem']
|
611
612
|
VToolbar: typeof import('vuetify/components')['VToolbar']
|
612
613
|
VToolbarTitle: typeof import('vuetify/components')['VToolbarTitle']
|
613
614
|
VToolbarItems: typeof import('vuetify/components')['VToolbarItems']
|
614
|
-
|
615
|
+
VSystemBar: typeof import('vuetify/components')['VSystemBar']
|
616
|
+
VTooltip: typeof import('vuetify/components')['VTooltip']
|
615
617
|
VWindow: typeof import('vuetify/components')['VWindow']
|
616
618
|
VWindowItem: typeof import('vuetify/components')['VWindowItem']
|
617
|
-
VTimeline: typeof import('vuetify/components')['VTimeline']
|
618
|
-
VTimelineItem: typeof import('vuetify/components')['VTimelineItem']
|
619
|
-
VDataIterator: typeof import('vuetify/components')['VDataIterator']
|
620
619
|
VConfirmEdit: typeof import('vuetify/components')['VConfirmEdit']
|
621
|
-
|
620
|
+
VDataIterator: typeof import('vuetify/components')['VDataIterator']
|
622
621
|
VDefaultsProvider: typeof import('vuetify/components')['VDefaultsProvider']
|
622
|
+
VForm: typeof import('vuetify/components')['VForm']
|
623
623
|
VContainer: typeof import('vuetify/components')['VContainer']
|
624
624
|
VCol: typeof import('vuetify/components')['VCol']
|
625
625
|
VRow: typeof import('vuetify/components')['VRow']
|
626
626
|
VSpacer: typeof import('vuetify/components')['VSpacer']
|
627
627
|
VHover: typeof import('vuetify/components')['VHover']
|
628
|
+
VLazy: typeof import('vuetify/components')['VLazy']
|
629
|
+
VLocaleProvider: typeof import('vuetify/components')['VLocaleProvider']
|
628
630
|
VLayout: typeof import('vuetify/components')['VLayout']
|
629
631
|
VLayoutItem: typeof import('vuetify/components')['VLayoutItem']
|
630
|
-
VLocaleProvider: typeof import('vuetify/components')['VLocaleProvider']
|
631
|
-
VLazy: typeof import('vuetify/components')['VLazy']
|
632
632
|
VNoSsr: typeof import('vuetify/components')['VNoSsr']
|
633
633
|
VParallax: typeof import('vuetify/components')['VParallax']
|
634
|
-
VRangeSlider: typeof import('vuetify/components')['VRangeSlider']
|
635
|
-
VResponsive: typeof import('vuetify/components')['VResponsive']
|
636
634
|
VRadio: typeof import('vuetify/components')['VRadio']
|
637
|
-
|
635
|
+
VRangeSlider: typeof import('vuetify/components')['VRangeSlider']
|
638
636
|
VSnackbarQueue: typeof import('vuetify/components')['VSnackbarQueue']
|
637
|
+
VSparkline: typeof import('vuetify/components')['VSparkline']
|
639
638
|
VSpeedDial: typeof import('vuetify/components')['VSpeedDial']
|
640
|
-
|
639
|
+
VResponsive: typeof import('vuetify/components')['VResponsive']
|
641
640
|
VThemeProvider: typeof import('vuetify/components')['VThemeProvider']
|
642
641
|
VValidation: typeof import('vuetify/components')['VValidation']
|
642
|
+
VVirtualScroll: typeof import('vuetify/components')['VVirtualScroll']
|
643
643
|
VFabTransition: typeof import('vuetify/components')['VFabTransition']
|
644
644
|
VDialogBottomTransition: typeof import('vuetify/components')['VDialogBottomTransition']
|
645
645
|
VDialogTopTransition: typeof import('vuetify/components')['VDialogTopTransition']
|
@@ -656,25 +656,25 @@ declare module 'vue' {
|
|
656
656
|
VExpandTransition: typeof import('vuetify/components')['VExpandTransition']
|
657
657
|
VExpandXTransition: typeof import('vuetify/components')['VExpandXTransition']
|
658
658
|
VDialogTransition: typeof import('vuetify/components')['VDialogTransition']
|
659
|
-
VFileUpload: typeof import('vuetify/labs/components')['VFileUpload']
|
660
|
-
VFileUploadItem: typeof import('vuetify/labs/components')['VFileUploadItem']
|
661
|
-
VStepperVertical: typeof import('vuetify/labs/components')['VStepperVertical']
|
662
|
-
VStepperVerticalItem: typeof import('vuetify/labs/components')['VStepperVerticalItem']
|
663
|
-
VStepperVerticalActions: typeof import('vuetify/labs/components')['VStepperVerticalActions']
|
664
|
-
VTreeview: typeof import('vuetify/labs/components')['VTreeview']
|
665
|
-
VTreeviewItem: typeof import('vuetify/labs/components')['VTreeviewItem']
|
666
|
-
VTreeviewGroup: typeof import('vuetify/labs/components')['VTreeviewGroup']
|
667
|
-
VTimePicker: typeof import('vuetify/labs/components')['VTimePicker']
|
668
|
-
VTimePickerClock: typeof import('vuetify/labs/components')['VTimePickerClock']
|
669
|
-
VTimePickerControls: typeof import('vuetify/labs/components')['VTimePickerControls']
|
670
|
-
VPicker: typeof import('vuetify/labs/components')['VPicker']
|
671
|
-
VPickerTitle: typeof import('vuetify/labs/components')['VPickerTitle']
|
672
659
|
VCalendar: typeof import('vuetify/labs/components')['VCalendar']
|
673
660
|
VCalendarDay: typeof import('vuetify/labs/components')['VCalendarDay']
|
674
661
|
VCalendarHeader: typeof import('vuetify/labs/components')['VCalendarHeader']
|
675
662
|
VCalendarInterval: typeof import('vuetify/labs/components')['VCalendarInterval']
|
676
663
|
VCalendarIntervalEvent: typeof import('vuetify/labs/components')['VCalendarIntervalEvent']
|
677
664
|
VCalendarMonthDay: typeof import('vuetify/labs/components')['VCalendarMonthDay']
|
665
|
+
VPicker: typeof import('vuetify/labs/components')['VPicker']
|
666
|
+
VPickerTitle: typeof import('vuetify/labs/components')['VPickerTitle']
|
667
|
+
VFileUpload: typeof import('vuetify/labs/components')['VFileUpload']
|
668
|
+
VFileUploadItem: typeof import('vuetify/labs/components')['VFileUploadItem']
|
669
|
+
VTimePicker: typeof import('vuetify/labs/components')['VTimePicker']
|
670
|
+
VTimePickerClock: typeof import('vuetify/labs/components')['VTimePickerClock']
|
671
|
+
VTimePickerControls: typeof import('vuetify/labs/components')['VTimePickerControls']
|
672
|
+
VTreeview: typeof import('vuetify/labs/components')['VTreeview']
|
673
|
+
VTreeviewItem: typeof import('vuetify/labs/components')['VTreeviewItem']
|
674
|
+
VTreeviewGroup: typeof import('vuetify/labs/components')['VTreeviewGroup']
|
675
|
+
VStepperVertical: typeof import('vuetify/labs/components')['VStepperVertical']
|
676
|
+
VStepperVerticalItem: typeof import('vuetify/labs/components')['VStepperVerticalItem']
|
677
|
+
VStepperVerticalActions: typeof import('vuetify/labs/components')['VStepperVerticalActions']
|
678
678
|
VDateInput: typeof import('vuetify/labs/components')['VDateInput']
|
679
679
|
VPullToRefresh: typeof import('vuetify/labs/components')['VPullToRefresh']
|
680
680
|
}
|
package/lib/framework.js
CHANGED
@@ -37,6 +37,9 @@ export declare const makeVDateInputProps: <Defaults extends {
|
|
37
37
|
landscape?: unknown;
|
38
38
|
elevation?: unknown;
|
39
39
|
modelValue?: unknown;
|
40
|
+
controlHeight?: unknown;
|
41
|
+
divided?: unknown;
|
42
|
+
headerColor?: unknown;
|
40
43
|
tile?: unknown;
|
41
44
|
bgColor?: unknown;
|
42
45
|
nextIcon?: unknown;
|
@@ -261,6 +264,18 @@ export declare const makeVDateInputProps: <Defaults extends {
|
|
261
264
|
type: PropType<unknown extends Defaults["modelValue"] ? any : any>;
|
262
265
|
default: unknown extends Defaults["modelValue"] ? any : any;
|
263
266
|
};
|
267
|
+
controlHeight: unknown extends Defaults["controlHeight"] ? (StringConstructor | NumberConstructor)[] : {
|
268
|
+
type: PropType<unknown extends Defaults["controlHeight"] ? string | number : string | number | Defaults["controlHeight"]>;
|
269
|
+
default: unknown extends Defaults["controlHeight"] ? string | number : NonNullable<string | number> | Defaults["controlHeight"];
|
270
|
+
};
|
271
|
+
divided: unknown extends Defaults["divided"] ? BooleanConstructor : {
|
272
|
+
type: PropType<unknown extends Defaults["divided"] ? boolean : boolean | Defaults["divided"]>;
|
273
|
+
default: unknown extends Defaults["divided"] ? boolean : boolean | Defaults["divided"];
|
274
|
+
};
|
275
|
+
headerColor: unknown extends Defaults["headerColor"] ? StringConstructor : {
|
276
|
+
type: PropType<unknown extends Defaults["headerColor"] ? string : string | Defaults["headerColor"]>;
|
277
|
+
default: unknown extends Defaults["headerColor"] ? string : string | Defaults["headerColor"];
|
278
|
+
};
|
264
279
|
tile: unknown extends Defaults["tile"] ? BooleanConstructor : {
|
265
280
|
type: PropType<unknown extends Defaults["tile"] ? boolean : boolean | Defaults["tile"]>;
|
266
281
|
default: unknown extends Defaults["tile"] ? boolean : boolean | Defaults["tile"];
|
@@ -769,6 +784,7 @@ export declare const VDateInput: {
|
|
769
784
|
errorMessages: string | readonly string[] | null;
|
770
785
|
maxErrors: string | number;
|
771
786
|
rules: readonly import("../../composables/validation.js").ValidationRule[];
|
787
|
+
divided: boolean;
|
772
788
|
tile: boolean;
|
773
789
|
density: import("../../composables/density.js").Density;
|
774
790
|
prependIcon: import("../../composables/icons.js").IconValue;
|
@@ -787,6 +803,7 @@ export declare const VDateInput: {
|
|
787
803
|
hideHeader: boolean;
|
788
804
|
cancelText: string;
|
789
805
|
okText: string;
|
806
|
+
hideActions: boolean;
|
790
807
|
modeIcon: import("../../composables/icons.js").IconValue;
|
791
808
|
viewMode: "month" | "year" | "months";
|
792
809
|
showAdjacentMonths: boolean;
|
@@ -794,7 +811,6 @@ export declare const VDateInput: {
|
|
794
811
|
weeksInMonth: "static" | "dynamic";
|
795
812
|
hideWeekdays: boolean;
|
796
813
|
showWeek: boolean;
|
797
|
-
hideActions: boolean;
|
798
814
|
} & {
|
799
815
|
name?: string | undefined;
|
800
816
|
max?: unknown;
|
@@ -826,6 +842,8 @@ export declare const VDateInput: {
|
|
826
842
|
validateOn?: ("eager" | "lazy" | ("input" | "blur" | "submit" | "invalid-input") | "input lazy" | "blur lazy" | "submit lazy" | "invalid-input lazy" | "input eager" | "blur eager" | "submit eager" | "invalid-input eager" | "lazy input" | "lazy blur" | "lazy submit" | "lazy invalid-input" | "eager input" | "eager blur" | "eager submit" | "eager invalid-input") | undefined;
|
827
843
|
validationValue?: any;
|
828
844
|
rounded?: string | number | boolean | undefined;
|
845
|
+
controlHeight?: string | number | undefined;
|
846
|
+
headerColor?: string | undefined;
|
829
847
|
baseColor?: string | undefined;
|
830
848
|
bgColor?: string | undefined;
|
831
849
|
appendIcon?: import("../../composables/icons.js").IconValue | undefined;
|
@@ -930,6 +948,7 @@ export declare const VDateInput: {
|
|
930
948
|
maxErrors: string | number;
|
931
949
|
rules: readonly import("../../composables/validation.js").ValidationRule[];
|
932
950
|
rounded: string | number | boolean;
|
951
|
+
divided: boolean;
|
933
952
|
tile: boolean;
|
934
953
|
density: import("../../composables/density.js").Density;
|
935
954
|
prependIcon: import("../../composables/icons.js").IconValue;
|
@@ -949,6 +968,7 @@ export declare const VDateInput: {
|
|
949
968
|
hideHeader: boolean;
|
950
969
|
cancelText: string;
|
951
970
|
okText: string;
|
971
|
+
hideActions: boolean;
|
952
972
|
modeIcon: import("../../composables/icons.js").IconValue;
|
953
973
|
viewMode: "month" | "year" | "months";
|
954
974
|
showAdjacentMonths: boolean;
|
@@ -956,7 +976,6 @@ export declare const VDateInput: {
|
|
956
976
|
weeksInMonth: "static" | "dynamic";
|
957
977
|
hideWeekdays: boolean;
|
958
978
|
showWeek: boolean;
|
959
|
-
hideActions: boolean;
|
960
979
|
}, true, {}, import("vue").SlotsType<Partial<{
|
961
980
|
message: (arg: import("../../components/VMessages/VMessages.js").VMessageSlot) => import("vue").VNode[];
|
962
981
|
clear: (arg: import("../../components/VField/VField.js").DefaultInputSlot & {
|
@@ -1006,6 +1025,7 @@ export declare const VDateInput: {
|
|
1006
1025
|
errorMessages: string | readonly string[] | null;
|
1007
1026
|
maxErrors: string | number;
|
1008
1027
|
rules: readonly import("../../composables/validation.js").ValidationRule[];
|
1028
|
+
divided: boolean;
|
1009
1029
|
tile: boolean;
|
1010
1030
|
density: import("../../composables/density.js").Density;
|
1011
1031
|
prependIcon: import("../../composables/icons.js").IconValue;
|
@@ -1024,6 +1044,7 @@ export declare const VDateInput: {
|
|
1024
1044
|
hideHeader: boolean;
|
1025
1045
|
cancelText: string;
|
1026
1046
|
okText: string;
|
1047
|
+
hideActions: boolean;
|
1027
1048
|
modeIcon: import("../../composables/icons.js").IconValue;
|
1028
1049
|
viewMode: "month" | "year" | "months";
|
1029
1050
|
showAdjacentMonths: boolean;
|
@@ -1031,7 +1052,6 @@ export declare const VDateInput: {
|
|
1031
1052
|
weeksInMonth: "static" | "dynamic";
|
1032
1053
|
hideWeekdays: boolean;
|
1033
1054
|
showWeek: boolean;
|
1034
|
-
hideActions: boolean;
|
1035
1055
|
} & {
|
1036
1056
|
name?: string | undefined;
|
1037
1057
|
max?: unknown;
|
@@ -1063,6 +1083,8 @@ export declare const VDateInput: {
|
|
1063
1083
|
validateOn?: ("eager" | "lazy" | ("input" | "blur" | "submit" | "invalid-input") | "input lazy" | "blur lazy" | "submit lazy" | "invalid-input lazy" | "input eager" | "blur eager" | "submit eager" | "invalid-input eager" | "lazy input" | "lazy blur" | "lazy submit" | "lazy invalid-input" | "eager input" | "eager blur" | "eager submit" | "eager invalid-input") | undefined;
|
1064
1084
|
validationValue?: any;
|
1065
1085
|
rounded?: string | number | boolean | undefined;
|
1086
|
+
controlHeight?: string | number | undefined;
|
1087
|
+
headerColor?: string | undefined;
|
1066
1088
|
baseColor?: string | undefined;
|
1067
1089
|
bgColor?: string | undefined;
|
1068
1090
|
appendIcon?: import("../../composables/icons.js").IconValue | undefined;
|
@@ -1165,6 +1187,7 @@ export declare const VDateInput: {
|
|
1165
1187
|
maxErrors: string | number;
|
1166
1188
|
rules: readonly import("../../composables/validation.js").ValidationRule[];
|
1167
1189
|
rounded: string | number | boolean;
|
1190
|
+
divided: boolean;
|
1168
1191
|
tile: boolean;
|
1169
1192
|
density: import("../../composables/density.js").Density;
|
1170
1193
|
prependIcon: import("../../composables/icons.js").IconValue;
|
@@ -1184,6 +1207,7 @@ export declare const VDateInput: {
|
|
1184
1207
|
hideHeader: boolean;
|
1185
1208
|
cancelText: string;
|
1186
1209
|
okText: string;
|
1210
|
+
hideActions: boolean;
|
1187
1211
|
modeIcon: import("../../composables/icons.js").IconValue;
|
1188
1212
|
viewMode: "month" | "year" | "months";
|
1189
1213
|
showAdjacentMonths: boolean;
|
@@ -1191,7 +1215,6 @@ export declare const VDateInput: {
|
|
1191
1215
|
weeksInMonth: "static" | "dynamic";
|
1192
1216
|
hideWeekdays: boolean;
|
1193
1217
|
showWeek: boolean;
|
1194
|
-
hideActions: boolean;
|
1195
1218
|
}>;
|
1196
1219
|
__isFragment?: never;
|
1197
1220
|
__isTeleport?: never;
|
@@ -1220,6 +1243,7 @@ export declare const VDateInput: {
|
|
1220
1243
|
errorMessages: string | readonly string[] | null;
|
1221
1244
|
maxErrors: string | number;
|
1222
1245
|
rules: readonly import("../../composables/validation.js").ValidationRule[];
|
1246
|
+
divided: boolean;
|
1223
1247
|
tile: boolean;
|
1224
1248
|
density: import("../../composables/density.js").Density;
|
1225
1249
|
prependIcon: import("../../composables/icons.js").IconValue;
|
@@ -1238,6 +1262,7 @@ export declare const VDateInput: {
|
|
1238
1262
|
hideHeader: boolean;
|
1239
1263
|
cancelText: string;
|
1240
1264
|
okText: string;
|
1265
|
+
hideActions: boolean;
|
1241
1266
|
modeIcon: import("../../composables/icons.js").IconValue;
|
1242
1267
|
viewMode: "month" | "year" | "months";
|
1243
1268
|
showAdjacentMonths: boolean;
|
@@ -1245,7 +1270,6 @@ export declare const VDateInput: {
|
|
1245
1270
|
weeksInMonth: "static" | "dynamic";
|
1246
1271
|
hideWeekdays: boolean;
|
1247
1272
|
showWeek: boolean;
|
1248
|
-
hideActions: boolean;
|
1249
1273
|
} & {
|
1250
1274
|
name?: string | undefined;
|
1251
1275
|
max?: unknown;
|
@@ -1277,6 +1301,8 @@ export declare const VDateInput: {
|
|
1277
1301
|
validateOn?: ("eager" | "lazy" | ("input" | "blur" | "submit" | "invalid-input") | "input lazy" | "blur lazy" | "submit lazy" | "invalid-input lazy" | "input eager" | "blur eager" | "submit eager" | "invalid-input eager" | "lazy input" | "lazy blur" | "lazy submit" | "lazy invalid-input" | "eager input" | "eager blur" | "eager submit" | "eager invalid-input") | undefined;
|
1278
1302
|
validationValue?: any;
|
1279
1303
|
rounded?: string | number | boolean | undefined;
|
1304
|
+
controlHeight?: string | number | undefined;
|
1305
|
+
headerColor?: string | undefined;
|
1280
1306
|
baseColor?: string | undefined;
|
1281
1307
|
bgColor?: string | undefined;
|
1282
1308
|
appendIcon?: import("../../composables/icons.js").IconValue | undefined;
|
@@ -1381,6 +1407,7 @@ export declare const VDateInput: {
|
|
1381
1407
|
maxErrors: string | number;
|
1382
1408
|
rules: readonly import("../../composables/validation.js").ValidationRule[];
|
1383
1409
|
rounded: string | number | boolean;
|
1410
|
+
divided: boolean;
|
1384
1411
|
tile: boolean;
|
1385
1412
|
density: import("../../composables/density.js").Density;
|
1386
1413
|
prependIcon: import("../../composables/icons.js").IconValue;
|
@@ -1400,6 +1427,7 @@ export declare const VDateInput: {
|
|
1400
1427
|
hideHeader: boolean;
|
1401
1428
|
cancelText: string;
|
1402
1429
|
okText: string;
|
1430
|
+
hideActions: boolean;
|
1403
1431
|
modeIcon: import("../../composables/icons.js").IconValue;
|
1404
1432
|
viewMode: "month" | "year" | "months";
|
1405
1433
|
showAdjacentMonths: boolean;
|
@@ -1407,7 +1435,6 @@ export declare const VDateInput: {
|
|
1407
1435
|
weeksInMonth: "static" | "dynamic";
|
1408
1436
|
hideWeekdays: boolean;
|
1409
1437
|
showWeek: boolean;
|
1410
|
-
hideActions: boolean;
|
1411
1438
|
}, {}, string, import("vue").SlotsType<Partial<{
|
1412
1439
|
message: (arg: import("../../components/VMessages/VMessages.js").VMessageSlot) => import("vue").VNode[];
|
1413
1440
|
clear: (arg: import("../../components/VField/VField.js").DefaultInputSlot & {
|
@@ -1477,6 +1504,9 @@ export declare const VDateInput: {
|
|
1477
1504
|
validator(v: any): boolean;
|
1478
1505
|
};
|
1479
1506
|
modelValue: null;
|
1507
|
+
controlHeight: (StringConstructor | NumberConstructor)[];
|
1508
|
+
divided: BooleanConstructor;
|
1509
|
+
headerColor: StringConstructor;
|
1480
1510
|
tile: BooleanConstructor;
|
1481
1511
|
bgColor: StringConstructor;
|
1482
1512
|
nextIcon: {
|
@@ -1698,6 +1728,9 @@ export declare const VDateInput: {
|
|
1698
1728
|
validator(v: any): boolean;
|
1699
1729
|
};
|
1700
1730
|
modelValue: null;
|
1731
|
+
controlHeight: (StringConstructor | NumberConstructor)[];
|
1732
|
+
divided: BooleanConstructor;
|
1733
|
+
headerColor: StringConstructor;
|
1701
1734
|
tile: BooleanConstructor;
|
1702
1735
|
bgColor: StringConstructor;
|
1703
1736
|
nextIcon: {
|
@@ -13,7 +13,6 @@ import { computed, ref, shallowRef } from 'vue';
|
|
13
13
|
import { genericComponent, omit, propsFactory, useRender, wrapInArray } from "../../util/index.js"; // Types
|
14
14
|
// Types
|
15
15
|
export const makeVDateInputProps = propsFactory({
|
16
|
-
hideActions: Boolean,
|
17
16
|
location: {
|
18
17
|
type: String,
|
19
18
|
default: 'bottom start'
|
@@ -1 +1 @@
|
|
1
|
-
{"version":3,"file":"VDateInput.js","names":["makeVConfirmEditProps","VConfirmEdit","makeVDatePickerProps","VDatePicker","VMenu","makeVTextFieldProps","VTextField","useDate","makeFocusProps","useFocus","forwardRefs","useLocale","useProxiedModel","computed","ref","shallowRef","genericComponent","omit","propsFactory","useRender","wrapInArray","makeVDateInputProps","hideActions","Boolean","location","type","String","default","placeholder","prependIcon","hideHeader","showAdjacentMonths","VDateInput","name","props","emits","val","setup","_ref","slots","t","adapter","isFocused","focus","blur","model","multiple","Array","isArray","map","item","toJsDate","date","menu","vDateInputRef","display","value","length","start","end","isValid","format","isInteractive","disabled","readonly","onKeydown","e","key","target","onClick","preventDefault","stopPropagation","onSave","onUpdateModel","confirmEditProps","filterProps","datePickerProps","textFieldProps","_createVNode","_mergeProps","class","style","undefined","_Fragment","$event","onCancel","_ref2","actions","proxyModel","save","cancel","isPristine"],"sources":["../../../src/labs/VDateInput/VDateInput.tsx"],"sourcesContent":["// Components\nimport { makeVConfirmEditProps, VConfirmEdit } from '@/components/VConfirmEdit/VConfirmEdit'\nimport { makeVDatePickerProps, VDatePicker } from '@/components/VDatePicker/VDatePicker'\nimport { VMenu } from '@/components/VMenu/VMenu'\nimport { makeVTextFieldProps, VTextField } from '@/components/VTextField/VTextField'\n\n// Composables\nimport { useDate } from '@/composables/date'\nimport { makeFocusProps, useFocus } from '@/composables/focus'\nimport { forwardRefs } from '@/composables/forwardRefs'\nimport { useLocale } from '@/composables/locale'\nimport { useProxiedModel } from '@/composables/proxiedModel'\n\n// Utilities\nimport { computed, ref, shallowRef } from 'vue'\nimport { genericComponent, omit, propsFactory, useRender, wrapInArray } from '@/util'\n\n// Types\nimport type { PropType } from 'vue'\nimport type { StrategyProps } from '@/components/VOverlay/locationStrategies'\nimport type { VTextFieldSlots } from '@/components/VTextField/VTextField'\n\n// Types\nexport type VDateInputActionsSlot = {\n save: () => void\n cancel: () => void\n isPristine: boolean\n}\n\nexport type VDateInputSlots = Omit<VTextFieldSlots, 'default'> & {\n actions: VDateInputActionsSlot\n default: never\n}\n\nexport const makeVDateInputProps = propsFactory({\n hideActions: Boolean,\n location: {\n type: String as PropType<StrategyProps['location']>,\n default: 'bottom start',\n },\n ...makeFocusProps(),\n ...makeVConfirmEditProps(),\n ...makeVTextFieldProps({\n placeholder: 'mm/dd/yyyy',\n prependIcon: '$calendar',\n }),\n ...omit(makeVDatePickerProps({\n hideHeader: true,\n showAdjacentMonths: true,\n }), ['active', 'location', 'rounded']),\n}, 'VDateInput')\n\nexport const VDateInput = genericComponent<VDateInputSlots>()({\n name: 'VDateInput',\n\n props: makeVDateInputProps(),\n\n emits: {\n 'update:modelValue': (val: string) => true,\n },\n\n setup (props, { slots }) {\n const { t } = useLocale()\n const adapter = useDate()\n const { isFocused, focus, blur } = useFocus(props)\n const model = useProxiedModel(\n props,\n 'modelValue',\n props.multiple ? [] : null,\n val => Array.isArray(val) ? val.map(item => adapter.toJsDate(item)) : val ? adapter.toJsDate(val) : val,\n val => Array.isArray(val) ? val.map(item => adapter.date(item)) : val ? adapter.date(val) : val\n )\n\n const menu = shallowRef(false)\n const vDateInputRef = ref()\n\n const display = computed(() => {\n const value = wrapInArray(model.value)\n\n if (!value.length) return null\n\n if (props.multiple === true) {\n return t('$vuetify.datePicker.itemsSelected', value.length)\n }\n\n if (props.multiple === 'range') {\n const start = value[0]\n const end = value[value.length - 1]\n\n return adapter.isValid(start) && adapter.isValid(end)\n ? `${adapter.format(adapter.date(start), 'keyboardDate')} - ${adapter.format(adapter.date(end), 'keyboardDate')}`\n : ''\n }\n\n return adapter.isValid(model.value) ? adapter.format(adapter.date(model.value), 'keyboardDate') : ''\n })\n\n const isInteractive = computed(() => !props.disabled && !props.readonly)\n\n function onKeydown (e: KeyboardEvent) {\n if (e.key !== 'Enter') return\n\n if (!menu.value || !isFocused.value) {\n menu.value = true\n\n return\n }\n\n const target = e.target as HTMLInputElement\n\n model.value = target.value === '' ? null : target.value\n }\n\n function onClick (e: MouseEvent) {\n e.preventDefault()\n e.stopPropagation()\n\n menu.value = true\n }\n\n function onSave () {\n menu.value = false\n }\n\n function onUpdateModel (value: string) {\n if (value != null) return\n\n model.value = null\n }\n\n useRender(() => {\n const confirmEditProps = VConfirmEdit.filterProps(props)\n const datePickerProps = VDatePicker.filterProps(omit(props, ['active', 'location', 'rounded']))\n const textFieldProps = VTextField.filterProps(props)\n\n return (\n <VTextField\n ref={ vDateInputRef }\n { ...textFieldProps }\n class={ props.class }\n style={ props.style }\n modelValue={ display.value }\n onKeydown={ isInteractive.value ? onKeydown : undefined }\n focused={ menu.value || isFocused.value }\n onFocus={ focus }\n onBlur={ blur }\n onClick:control={ isInteractive.value ? onClick : undefined }\n onClick:prepend={ isInteractive.value ? onClick : undefined }\n onUpdate:modelValue={ onUpdateModel }\n >\n {{\n ...slots,\n default: () => (\n <>\n <VMenu\n v-model={ menu.value }\n activator=\"parent\"\n min-width=\"0\"\n eager={ isFocused.value }\n location={ props.location }\n closeOnContentClick={ false }\n openOnClick={ false }\n >\n <VConfirmEdit\n { ...confirmEditProps }\n v-model={ model.value }\n onSave={ onSave }\n onCancel={ () => menu.value = false }\n >\n {{\n default: ({ actions, model: proxyModel, save, cancel, isPristine }) => {\n return (\n <VDatePicker\n { ...datePickerProps }\n modelValue={ props.hideActions ? model.value : proxyModel.value }\n onUpdate:modelValue={ val => {\n if (!props.hideActions) {\n proxyModel.value = val\n } else {\n model.value = val\n\n if (!props.multiple) menu.value = false\n }\n }}\n onMousedown={ (e: MouseEvent) => e.preventDefault() }\n >\n {{\n actions: !props.hideActions ? () => slots.actions?.({ save, cancel, isPristine }) ?? actions() : undefined,\n }}\n </VDatePicker>\n )\n },\n }}\n </VConfirmEdit>\n </VMenu>\n\n { slots.default?.() }\n </>\n ),\n }}\n </VTextField>\n )\n })\n\n return forwardRefs({}, vDateInputRef)\n },\n})\n\nexport type VDateInput = InstanceType<typeof VDateInput>\n"],"mappings":";AAAA;AAAA,SACSA,qBAAqB,EAAEC,YAAY;AAAA,SACnCC,oBAAoB,EAAEC,WAAW;AAAA,SACjCC,KAAK;AAAA,SACLC,mBAAmB,EAAEC,UAAU,qDAExC;AAAA,SACSC,OAAO;AAAA,SACPC,cAAc,EAAEC,QAAQ;AAAA,SACxBC,WAAW;AAAA,SACXC,SAAS;AAAA,SACTC,eAAe,6CAExB;AACA,SAASC,QAAQ,EAAEC,GAAG,EAAEC,UAAU,QAAQ,KAAK;AAAA,SACtCC,gBAAgB,EAAEC,IAAI,EAAEC,YAAY,EAAEC,SAAS,EAAEC,WAAW,+BAErE;AAKA;AAYA,OAAO,MAAMC,mBAAmB,GAAGH,YAAY,CAAC;EAC9CI,WAAW,EAAEC,OAAO;EACpBC,QAAQ,EAAE;IACRC,IAAI,EAAEC,MAA6C;IACnDC,OAAO,EAAE;EACX,CAAC;EACD,GAAGnB,cAAc,CAAC,CAAC;EACnB,GAAGR,qBAAqB,CAAC,CAAC;EAC1B,GAAGK,mBAAmB,CAAC;IACrBuB,WAAW,EAAE,YAAY;IACzBC,WAAW,EAAE;EACf,CAAC,CAAC;EACF,GAAGZ,IAAI,CAACf,oBAAoB,CAAC;IAC3B4B,UAAU,EAAE,IAAI;IAChBC,kBAAkB,EAAE;EACtB,CAAC,CAAC,EAAE,CAAC,QAAQ,EAAE,UAAU,EAAE,SAAS,CAAC;AACvC,CAAC,EAAE,YAAY,CAAC;AAEhB,OAAO,MAAMC,UAAU,GAAGhB,gBAAgB,CAAkB,CAAC,CAAC;EAC5DiB,IAAI,EAAE,YAAY;EAElBC,KAAK,EAAEb,mBAAm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AAEC,MAAM;kBAAEC;gBAAW,CAAC,CAAC,IAAIJ,OAAO,CAAC,CAAC,GAAGL;cAAS;YAIlH;UAAC;QAAA,IAKL3C,KAAK,CAACZ,OAAO,GAAG,CAAC;MAEtB;IAIT,CAAC,CAAC;IAEF,OAAOjB,WAAW,CAAC,CAAC,CAAC,EAAE4C,aAAa,CAAC;EACvC;AACF,CAAC,CAAC","ignoreList":[]}
|
1
|
+
{"version":3,"file":"VDateInput.js","names":["makeVConfirmEditProps","VConfirmEdit","makeVDatePickerProps","VDatePicker","VMenu","makeVTextFieldProps","VTextField","useDate","makeFocusProps","useFocus","forwardRefs","useLocale","useProxiedModel","computed","ref","shallowRef","genericComponent","omit","propsFactory","useRender","wrapInArray","makeVDateInputProps","location","type","String","default","placeholder","prependIcon","hideHeader","showAdjacentMonths","VDateInput","name","props","emits","val","setup","_ref","slots","t","adapter","isFocused","focus","blur","model","multiple","Array","isArray","map","item","toJsDate","date","menu","vDateInputRef","display","value","length","start","end","isValid","format","isInteractive","disabled","readonly","onKeydown","e","key","target","onClick","preventDefault","stopPropagation","onSave","onUpdateModel","confirmEditProps","filterProps","datePickerProps","textFieldProps","_createVNode","_mergeProps","class","style","undefined","_Fragment","$event","onCancel","_ref2","actions","proxyModel","save","cancel","isPristine","hideActions"],"sources":["../../../src/labs/VDateInput/VDateInput.tsx"],"sourcesContent":["// Components\nimport { makeVConfirmEditProps, VConfirmEdit } from '@/components/VConfirmEdit/VConfirmEdit'\nimport { makeVDatePickerProps, VDatePicker } from '@/components/VDatePicker/VDatePicker'\nimport { VMenu } from '@/components/VMenu/VMenu'\nimport { makeVTextFieldProps, VTextField } from '@/components/VTextField/VTextField'\n\n// Composables\nimport { useDate } from '@/composables/date'\nimport { makeFocusProps, useFocus } from '@/composables/focus'\nimport { forwardRefs } from '@/composables/forwardRefs'\nimport { useLocale } from '@/composables/locale'\nimport { useProxiedModel } from '@/composables/proxiedModel'\n\n// Utilities\nimport { computed, ref, shallowRef } from 'vue'\nimport { genericComponent, omit, propsFactory, useRender, wrapInArray } from '@/util'\n\n// Types\nimport type { PropType } from 'vue'\nimport type { StrategyProps } from '@/components/VOverlay/locationStrategies'\nimport type { VTextFieldSlots } from '@/components/VTextField/VTextField'\n\n// Types\nexport type VDateInputActionsSlot = {\n save: () => void\n cancel: () => void\n isPristine: boolean\n}\n\nexport type VDateInputSlots = Omit<VTextFieldSlots, 'default'> & {\n actions: VDateInputActionsSlot\n default: never\n}\n\nexport const makeVDateInputProps = propsFactory({\n location: {\n type: String as PropType<StrategyProps['location']>,\n default: 'bottom start',\n },\n ...makeFocusProps(),\n ...makeVConfirmEditProps(),\n ...makeVTextFieldProps({\n placeholder: 'mm/dd/yyyy',\n prependIcon: '$calendar',\n }),\n ...omit(makeVDatePickerProps({\n hideHeader: true,\n showAdjacentMonths: true,\n }), ['active', 'location', 'rounded']),\n}, 'VDateInput')\n\nexport const VDateInput = genericComponent<VDateInputSlots>()({\n name: 'VDateInput',\n\n props: makeVDateInputProps(),\n\n emits: {\n 'update:modelValue': (val: string) => true,\n },\n\n setup (props, { slots }) {\n const { t } = useLocale()\n const adapter = useDate()\n const { isFocused, focus, blur } = useFocus(props)\n const model = useProxiedModel(\n props,\n 'modelValue',\n props.multiple ? [] : null,\n val => Array.isArray(val) ? val.map(item => adapter.toJsDate(item)) : val ? adapter.toJsDate(val) : val,\n val => Array.isArray(val) ? val.map(item => adapter.date(item)) : val ? adapter.date(val) : val\n )\n\n const menu = shallowRef(false)\n const vDateInputRef = ref()\n\n const display = computed(() => {\n const value = wrapInArray(model.value)\n\n if (!value.length) return null\n\n if (props.multiple === true) {\n return t('$vuetify.datePicker.itemsSelected', value.length)\n }\n\n if (props.multiple === 'range') {\n const start = value[0]\n const end = value[value.length - 1]\n\n return adapter.isValid(start) && adapter.isValid(end)\n ? `${adapter.format(adapter.date(start), 'keyboardDate')} - ${adapter.format(adapter.date(end), 'keyboardDate')}`\n : ''\n }\n\n return adapter.isValid(model.value) ? adapter.format(adapter.date(model.value), 'keyboardDate') : ''\n })\n\n const isInteractive = computed(() => !props.disabled && !props.readonly)\n\n function onKeydown (e: KeyboardEvent) {\n if (e.key !== 'Enter') return\n\n if (!menu.value || !isFocused.value) {\n menu.value = true\n\n return\n }\n\n const target = e.target as HTMLInputElement\n\n model.value = target.value === '' ? null : target.value\n }\n\n function onClick (e: MouseEvent) {\n e.preventDefault()\n e.stopPropagation()\n\n menu.value = true\n }\n\n function onSave () {\n menu.value = false\n }\n\n function onUpdateModel (value: string) {\n if (value != null) return\n\n model.value = null\n }\n\n useRender(() => {\n const confirmEditProps = VConfirmEdit.filterProps(props)\n const datePickerProps = VDatePicker.filterProps(omit(props, ['active', 'location', 'rounded']))\n const textFieldProps = VTextField.filterProps(props)\n\n return (\n <VTextField\n ref={ vDateInputRef }\n { ...textFieldProps }\n class={ props.class }\n style={ props.style }\n modelValue={ display.value }\n onKeydown={ isInteractive.value ? onKeydown : undefined }\n focused={ menu.value || isFocused.value }\n onFocus={ focus }\n onBlur={ blur }\n onClick:control={ isInteractive.value ? onClick : undefined }\n onClick:prepend={ isInteractive.value ? onClick : undefined }\n onUpdate:modelValue={ onUpdateModel }\n >\n {{\n ...slots,\n default: () => (\n <>\n <VMenu\n v-model={ menu.value }\n activator=\"parent\"\n min-width=\"0\"\n eager={ isFocused.value }\n location={ props.location }\n closeOnContentClick={ false }\n openOnClick={ false }\n >\n <VConfirmEdit\n { ...confirmEditProps }\n v-model={ model.value }\n onSave={ onSave }\n onCancel={ () => menu.value = false }\n >\n {{\n default: ({ actions, model: proxyModel, save, cancel, isPristine }) => {\n return (\n <VDatePicker\n { ...datePickerProps }\n modelValue={ props.hideActions ? model.value : proxyModel.value }\n onUpdate:modelValue={ val => {\n if (!props.hideActions) {\n proxyModel.value = val\n } else {\n model.value = val\n\n if (!props.multiple) menu.value = false\n }\n }}\n onMousedown={ (e: MouseEvent) => e.preventDefault() }\n >\n {{\n actions: !props.hideActions ? () => slots.actions?.({ save, cancel, isPristine }) ?? actions() : undefined,\n }}\n </VDatePicker>\n )\n },\n }}\n </VConfirmEdit>\n </VMenu>\n\n { slots.default?.() }\n </>\n ),\n }}\n </VTextField>\n )\n })\n\n return forwardRefs({}, vDateInputRef)\n },\n})\n\nexport type VDateInput = InstanceType<typeof VDateInput>\n"],"mappings":";AAAA;AAAA,SACSA,qBAAqB,EAAEC,YAAY;AAAA,SACnCC,oBAAoB,EAAEC,WAAW;AAAA,SACjCC,KAAK;AAAA,SACLC,mBAAmB,EAAEC,UAAU,qDAExC;AAAA,SACSC,OAAO;AAAA,SACPC,cAAc,EAAEC,QAAQ;AAAA,SACxBC,WAAW;AAAA,SACXC,SAAS;AAAA,SACTC,eAAe,6CAExB;AACA,SAASC,QAAQ,EAAEC,GAAG,EAAEC,UAAU,QAAQ,KAAK;AAAA,SACtCC,gBAAgB,EAAEC,IAAI,EAAEC,YAAY,EAAEC,SAAS,EAAEC,WAAW,+BAErE;AAKA;AAYA,OAAO,MAAMC,mBAAmB,GAAGH,YAAY,CAAC;EAC9CI,QAAQ,EAAE;IACRC,IAAI,EAAEC,MAA6C;IACnDC,OAAO,EAAE;EACX,CAAC;EACD,GAAGjB,cAAc,CAAC,CAAC;EACnB,GAAGR,qBAAqB,CAAC,CAAC;EAC1B,GAAGK,mBAAmB,CAAC;IACrBqB,WAAW,EAAE,YAAY;IACzBC,WAAW,EAAE;EACf,CAAC,CAAC;EACF,GAAGV,IAAI,CAACf,oBAAoB,CAAC;IAC3B0B,UAAU,EAAE,IAAI;IAChBC,kBAAkB,EAAE;EACtB,CAAC,CAAC,EAAE,CAAC,QAAQ,EAAE,UAAU,EAAE,SAAS,CAAC;AACvC,CAAC,EAAE,YAAY,CAAC;AAEhB,OAAO,MAAMC,UAAU,GAAGd,gBAAgB,CAAkB,CAAC,CAAC;EAC5De,IAAI,EAAE,YAAY;EAElBC,KAAK,EAAEX,mBAAmB,CAAC,CAAC;EAE5BY,KAAK,EAAE;IACL,mBAAmB,EAAGC,GAAW,IAAK;EAC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GL;cAAS;YAIlH;UAAC;QAAA,IAKL3C,KAAK,CAACZ,OAAO,GAAG,CAAC;MAEtB;IAIT,CAAC,CAAC;IAEF,OAAOf,WAAW,CAAC,CAAC,CAAC,EAAE0C,aAAa,CAAC;EACvC;AACF,CAAC,CAAC","ignoreList":[]}
|
@@ -38,6 +38,12 @@
|
|
38
38
|
margin-inline-end: 8px;
|
39
39
|
}
|
40
40
|
|
41
|
+
.v-picker--divided .v-picker__header {
|
42
|
+
border-bottom-color: rgba(var(--v-border-color), var(--v-border-opacity));
|
43
|
+
border-bottom-style: solid;
|
44
|
+
border-bottom-width: thin;
|
45
|
+
}
|
46
|
+
|
41
47
|
.v-picker--landscape {
|
42
48
|
grid-template-areas: "title" "header body" "header body";
|
43
49
|
}
|