@vuetify/nightly 3.7.6-master.2025-01-15 → 3.7.6-master.2025-01-16
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 +3190 -3190
- package/dist/json/importMap-labs.json +18 -18
- package/dist/json/importMap.json +164 -164
- package/dist/json/web-types.json +6252 -6232
- package/dist/vuetify-labs.css +2912 -2909
- package/dist/vuetify-labs.d.ts +129 -104
- package/dist/vuetify-labs.esm.js +53 -20
- package/dist/vuetify-labs.esm.js.map +1 -1
- package/dist/vuetify-labs.js +53 -20
- package/dist/vuetify-labs.min.css +2 -2
- package/dist/vuetify.css +3437 -3434
- package/dist/vuetify.d.ts +62 -65
- package/dist/vuetify.esm.js +33 -15
- package/dist/vuetify.esm.js.map +1 -1
- package/dist/vuetify.js +33 -15
- package/dist/vuetify.js.map +1 -1
- package/dist/vuetify.min.css +2 -2
- package/dist/vuetify.min.js +29 -23
- package/dist/vuetify.min.js.map +1 -1
- package/lib/components/VAutocomplete/VAutocomplete.mjs +6 -3
- package/lib/components/VAutocomplete/VAutocomplete.mjs.map +1 -1
- package/lib/components/VCombobox/VCombobox.mjs +6 -3
- package/lib/components/VCombobox/VCombobox.mjs.map +1 -1
- package/lib/components/VDialog/VDialog.css +5 -2
- package/lib/components/VDialog/VDialog.sass +6 -2
- package/lib/components/VSlideGroup/VSlideGroup.mjs +12 -2
- package/lib/components/VSlideGroup/VSlideGroup.mjs.map +1 -1
- package/lib/components/VSparkline/VBarline.mjs +3 -2
- package/lib/components/VSparkline/VBarline.mjs.map +1 -1
- package/lib/components/VSparkline/VTrendline.mjs +2 -1
- package/lib/components/VSparkline/VTrendline.mjs.map +1 -1
- package/lib/components/VSparkline/index.d.mts +7 -10
- package/lib/components/VSparkline/util/line.mjs +1 -1
- package/lib/components/VSparkline/util/line.mjs.map +1 -1
- package/lib/components/index.d.mts +7 -10
- package/lib/entry-bundler.mjs +1 -1
- package/lib/framework.mjs +1 -1
- package/lib/index.d.mts +55 -55
- package/lib/labs/VDateInput/VDateInput.mjs +19 -5
- package/lib/labs/VDateInput/VDateInput.mjs.map +1 -1
- package/lib/labs/VDateInput/index.d.mts +176 -97
- package/lib/labs/components.d.mts +227 -199
- package/package.json +1 -1
package/lib/framework.mjs
CHANGED
package/lib/index.d.mts
CHANGED
@@ -486,40 +486,41 @@ declare module 'vue' {
|
|
486
486
|
$children?: VNodeChild
|
487
487
|
}
|
488
488
|
export interface GlobalComponents {
|
489
|
-
VAvatar: typeof import('vuetify/components')['VAvatar']
|
490
|
-
VApp: typeof import('vuetify/components')['VApp']
|
491
|
-
VAlert: typeof import('vuetify/components')['VAlert']
|
492
|
-
VAlertTitle: typeof import('vuetify/components')['VAlertTitle']
|
493
489
|
VAppBar: typeof import('vuetify/components')['VAppBar']
|
494
490
|
VAppBarNavIcon: typeof import('vuetify/components')['VAppBarNavIcon']
|
495
491
|
VAppBarTitle: typeof import('vuetify/components')['VAppBarTitle']
|
492
|
+
VApp: typeof import('vuetify/components')['VApp']
|
493
|
+
VAvatar: typeof import('vuetify/components')['VAvatar']
|
494
|
+
VBottomNavigation: typeof import('vuetify/components')['VBottomNavigation']
|
495
|
+
VBadge: typeof import('vuetify/components')['VBadge']
|
496
|
+
VAutocomplete: typeof import('vuetify/components')['VAutocomplete']
|
496
497
|
VBanner: typeof import('vuetify/components')['VBanner']
|
497
498
|
VBannerActions: typeof import('vuetify/components')['VBannerActions']
|
498
499
|
VBannerText: typeof import('vuetify/components')['VBannerText']
|
499
|
-
|
500
|
-
|
501
|
-
VBottomSheet: typeof import('vuetify/components')['VBottomSheet']
|
502
|
-
VAutocomplete: typeof import('vuetify/components')['VAutocomplete']
|
503
|
-
VBtnGroup: typeof import('vuetify/components')['VBtnGroup']
|
504
|
-
VBtnToggle: typeof import('vuetify/components')['VBtnToggle']
|
505
|
-
VBtn: typeof import('vuetify/components')['VBtn']
|
500
|
+
VAlert: typeof import('vuetify/components')['VAlert']
|
501
|
+
VAlertTitle: typeof import('vuetify/components')['VAlertTitle']
|
506
502
|
VBreadcrumbs: typeof import('vuetify/components')['VBreadcrumbs']
|
507
503
|
VBreadcrumbsItem: typeof import('vuetify/components')['VBreadcrumbsItem']
|
508
504
|
VBreadcrumbsDivider: typeof import('vuetify/components')['VBreadcrumbsDivider']
|
505
|
+
VBottomSheet: typeof import('vuetify/components')['VBottomSheet']
|
506
|
+
VBtnGroup: typeof import('vuetify/components')['VBtnGroup']
|
507
|
+
VBtnToggle: typeof import('vuetify/components')['VBtnToggle']
|
509
508
|
VCard: typeof import('vuetify/components')['VCard']
|
510
509
|
VCardActions: typeof import('vuetify/components')['VCardActions']
|
511
510
|
VCardItem: typeof import('vuetify/components')['VCardItem']
|
512
511
|
VCardSubtitle: typeof import('vuetify/components')['VCardSubtitle']
|
513
512
|
VCardText: typeof import('vuetify/components')['VCardText']
|
514
513
|
VCardTitle: typeof import('vuetify/components')['VCardTitle']
|
515
|
-
VChipGroup: typeof import('vuetify/components')['VChipGroup']
|
516
514
|
VCarousel: typeof import('vuetify/components')['VCarousel']
|
517
515
|
VCarouselItem: typeof import('vuetify/components')['VCarouselItem']
|
516
|
+
VBtn: typeof import('vuetify/components')['VBtn']
|
518
517
|
VChip: typeof import('vuetify/components')['VChip']
|
519
|
-
|
518
|
+
VChipGroup: typeof import('vuetify/components')['VChipGroup']
|
520
519
|
VCheckbox: typeof import('vuetify/components')['VCheckbox']
|
521
520
|
VCheckboxBtn: typeof import('vuetify/components')['VCheckboxBtn']
|
522
521
|
VColorPicker: typeof import('vuetify/components')['VColorPicker']
|
522
|
+
VCounter: typeof import('vuetify/components')['VCounter']
|
523
|
+
VCode: typeof import('vuetify/components')['VCode']
|
523
524
|
VCombobox: typeof import('vuetify/components')['VCombobox']
|
524
525
|
VDataTable: typeof import('vuetify/components')['VDataTable']
|
525
526
|
VDataTableHeaders: typeof import('vuetify/components')['VDataTableHeaders']
|
@@ -528,37 +529,36 @@ declare module 'vue' {
|
|
528
529
|
VDataTableRow: typeof import('vuetify/components')['VDataTableRow']
|
529
530
|
VDataTableVirtual: typeof import('vuetify/components')['VDataTableVirtual']
|
530
531
|
VDataTableServer: typeof import('vuetify/components')['VDataTableServer']
|
531
|
-
|
532
|
+
VDialog: typeof import('vuetify/components')['VDialog']
|
533
|
+
VEmptyState: typeof import('vuetify/components')['VEmptyState']
|
534
|
+
VExpansionPanels: typeof import('vuetify/components')['VExpansionPanels']
|
535
|
+
VExpansionPanel: typeof import('vuetify/components')['VExpansionPanel']
|
536
|
+
VExpansionPanelText: typeof import('vuetify/components')['VExpansionPanelText']
|
537
|
+
VExpansionPanelTitle: typeof import('vuetify/components')['VExpansionPanelTitle']
|
538
|
+
VDivider: typeof import('vuetify/components')['VDivider']
|
532
539
|
VDatePicker: typeof import('vuetify/components')['VDatePicker']
|
533
540
|
VDatePickerControls: typeof import('vuetify/components')['VDatePickerControls']
|
534
541
|
VDatePickerHeader: typeof import('vuetify/components')['VDatePickerHeader']
|
535
542
|
VDatePickerMonth: typeof import('vuetify/components')['VDatePickerMonth']
|
536
543
|
VDatePickerMonths: typeof import('vuetify/components')['VDatePickerMonths']
|
537
544
|
VDatePickerYears: typeof import('vuetify/components')['VDatePickerYears']
|
538
|
-
|
539
|
-
VEmptyState: typeof import('vuetify/components')['VEmptyState']
|
545
|
+
VFab: typeof import('vuetify/components')['VFab']
|
540
546
|
VField: typeof import('vuetify/components')['VField']
|
541
547
|
VFieldLabel: typeof import('vuetify/components')['VFieldLabel']
|
542
|
-
|
548
|
+
VInfiniteScroll: typeof import('vuetify/components')['VInfiniteScroll']
|
543
549
|
VFileInput: typeof import('vuetify/components')['VFileInput']
|
544
|
-
|
545
|
-
|
546
|
-
|
547
|
-
VExpansionPanelTitle: typeof import('vuetify/components')['VExpansionPanelTitle']
|
550
|
+
VFooter: typeof import('vuetify/components')['VFooter']
|
551
|
+
VImg: typeof import('vuetify/components')['VImg']
|
552
|
+
VInput: typeof import('vuetify/components')['VInput']
|
548
553
|
VIcon: typeof import('vuetify/components')['VIcon']
|
549
554
|
VComponentIcon: typeof import('vuetify/components')['VComponentIcon']
|
550
555
|
VSvgIcon: typeof import('vuetify/components')['VSvgIcon']
|
551
556
|
VLigatureIcon: typeof import('vuetify/components')['VLigatureIcon']
|
552
557
|
VClassIcon: typeof import('vuetify/components')['VClassIcon']
|
553
|
-
VFooter: typeof import('vuetify/components')['VFooter']
|
554
|
-
VInfiniteScroll: typeof import('vuetify/components')['VInfiniteScroll']
|
555
|
-
VDialog: typeof import('vuetify/components')['VDialog']
|
556
|
-
VLabel: typeof import('vuetify/components')['VLabel']
|
557
|
-
VInput: typeof import('vuetify/components')['VInput']
|
558
|
-
VImg: typeof import('vuetify/components')['VImg']
|
559
558
|
VItemGroup: typeof import('vuetify/components')['VItemGroup']
|
560
559
|
VItem: typeof import('vuetify/components')['VItem']
|
561
560
|
VKbd: typeof import('vuetify/components')['VKbd']
|
561
|
+
VLabel: typeof import('vuetify/components')['VLabel']
|
562
562
|
VList: typeof import('vuetify/components')['VList']
|
563
563
|
VListGroup: typeof import('vuetify/components')['VListGroup']
|
564
564
|
VListImg: typeof import('vuetify/components')['VListImg']
|
@@ -568,71 +568,71 @@ declare module 'vue' {
|
|
568
568
|
VListItemSubtitle: typeof import('vuetify/components')['VListItemSubtitle']
|
569
569
|
VListItemTitle: typeof import('vuetify/components')['VListItemTitle']
|
570
570
|
VListSubheader: typeof import('vuetify/components')['VListSubheader']
|
571
|
+
VNavigationDrawer: typeof import('vuetify/components')['VNavigationDrawer']
|
571
572
|
VMenu: typeof import('vuetify/components')['VMenu']
|
573
|
+
VPagination: typeof import('vuetify/components')['VPagination']
|
574
|
+
VOverlay: typeof import('vuetify/components')['VOverlay']
|
575
|
+
VMain: typeof import('vuetify/components')['VMain']
|
572
576
|
VOtpInput: typeof import('vuetify/components')['VOtpInput']
|
573
577
|
VMessages: typeof import('vuetify/components')['VMessages']
|
574
|
-
VMain: typeof import('vuetify/components')['VMain']
|
575
|
-
VOverlay: typeof import('vuetify/components')['VOverlay']
|
576
578
|
VProgressCircular: typeof import('vuetify/components')['VProgressCircular']
|
577
|
-
|
578
|
-
VNavigationDrawer: typeof import('vuetify/components')['VNavigationDrawer']
|
579
|
+
VProgressLinear: typeof import('vuetify/components')['VProgressLinear']
|
579
580
|
VRating: typeof import('vuetify/components')['VRating']
|
580
|
-
VSelect: typeof import('vuetify/components')['VSelect']
|
581
581
|
VRadioGroup: typeof import('vuetify/components')['VRadioGroup']
|
582
|
-
|
582
|
+
VSelect: typeof import('vuetify/components')['VSelect']
|
583
|
+
VSkeletonLoader: typeof import('vuetify/components')['VSkeletonLoader']
|
583
584
|
VSelectionControl: typeof import('vuetify/components')['VSelectionControl']
|
584
|
-
VSlideGroup: typeof import('vuetify/components')['VSlideGroup']
|
585
|
-
VSlideGroupItem: typeof import('vuetify/components')['VSlideGroupItem']
|
586
|
-
VSelectionControlGroup: typeof import('vuetify/components')['VSelectionControlGroup']
|
587
585
|
VSnackbar: typeof import('vuetify/components')['VSnackbar']
|
588
586
|
VSheet: typeof import('vuetify/components')['VSheet']
|
589
587
|
VSlider: typeof import('vuetify/components')['VSlider']
|
588
|
+
VSelectionControlGroup: typeof import('vuetify/components')['VSelectionControlGroup']
|
589
|
+
VSystemBar: typeof import('vuetify/components')['VSystemBar']
|
590
|
+
VSlideGroup: typeof import('vuetify/components')['VSlideGroup']
|
591
|
+
VSlideGroupItem: typeof import('vuetify/components')['VSlideGroupItem']
|
592
|
+
VTable: typeof import('vuetify/components')['VTable']
|
593
|
+
VSwitch: typeof import('vuetify/components')['VSwitch']
|
594
|
+
VTimeline: typeof import('vuetify/components')['VTimeline']
|
595
|
+
VTimelineItem: typeof import('vuetify/components')['VTimelineItem']
|
596
|
+
VTextField: typeof import('vuetify/components')['VTextField']
|
590
597
|
VStepper: typeof import('vuetify/components')['VStepper']
|
591
598
|
VStepperActions: typeof import('vuetify/components')['VStepperActions']
|
592
599
|
VStepperHeader: typeof import('vuetify/components')['VStepperHeader']
|
593
600
|
VStepperItem: typeof import('vuetify/components')['VStepperItem']
|
594
601
|
VStepperWindow: typeof import('vuetify/components')['VStepperWindow']
|
595
602
|
VStepperWindowItem: typeof import('vuetify/components')['VStepperWindowItem']
|
596
|
-
|
597
|
-
VSystemBar: typeof import('vuetify/components')['VSystemBar']
|
598
|
-
VTextField: typeof import('vuetify/components')['VTextField']
|
603
|
+
VTextarea: typeof import('vuetify/components')['VTextarea']
|
599
604
|
VTab: typeof import('vuetify/components')['VTab']
|
600
605
|
VTabs: typeof import('vuetify/components')['VTabs']
|
601
606
|
VTabsWindow: typeof import('vuetify/components')['VTabsWindow']
|
602
607
|
VTabsWindowItem: typeof import('vuetify/components')['VTabsWindowItem']
|
603
|
-
VTable: typeof import('vuetify/components')['VTable']
|
604
|
-
VTimeline: typeof import('vuetify/components')['VTimeline']
|
605
|
-
VTimelineItem: typeof import('vuetify/components')['VTimelineItem']
|
606
|
-
VTextarea: typeof import('vuetify/components')['VTextarea']
|
607
608
|
VToolbar: typeof import('vuetify/components')['VToolbar']
|
608
609
|
VToolbarTitle: typeof import('vuetify/components')['VToolbarTitle']
|
609
610
|
VToolbarItems: typeof import('vuetify/components')['VToolbarItems']
|
611
|
+
VTooltip: typeof import('vuetify/components')['VTooltip']
|
610
612
|
VWindow: typeof import('vuetify/components')['VWindow']
|
611
613
|
VWindowItem: typeof import('vuetify/components')['VWindowItem']
|
612
|
-
VTooltip: typeof import('vuetify/components')['VTooltip']
|
613
|
-
VSkeletonLoader: typeof import('vuetify/components')['VSkeletonLoader']
|
614
614
|
VConfirmEdit: typeof import('vuetify/components')['VConfirmEdit']
|
615
|
-
VDataIterator: typeof import('vuetify/components')['VDataIterator']
|
616
615
|
VDefaultsProvider: typeof import('vuetify/components')['VDefaultsProvider']
|
616
|
+
VDataIterator: typeof import('vuetify/components')['VDataIterator']
|
617
617
|
VForm: typeof import('vuetify/components')['VForm']
|
618
|
+
VHover: typeof import('vuetify/components')['VHover']
|
618
619
|
VContainer: typeof import('vuetify/components')['VContainer']
|
619
620
|
VCol: typeof import('vuetify/components')['VCol']
|
620
621
|
VRow: typeof import('vuetify/components')['VRow']
|
621
622
|
VSpacer: typeof import('vuetify/components')['VSpacer']
|
622
|
-
VHover: typeof import('vuetify/components')['VHover']
|
623
|
-
VLazy: typeof import('vuetify/components')['VLazy']
|
624
623
|
VLayout: typeof import('vuetify/components')['VLayout']
|
625
624
|
VLayoutItem: typeof import('vuetify/components')['VLayoutItem']
|
626
|
-
VNoSsr: typeof import('vuetify/components')['VNoSsr']
|
627
625
|
VLocaleProvider: typeof import('vuetify/components')['VLocaleProvider']
|
626
|
+
VLazy: typeof import('vuetify/components')['VLazy']
|
628
627
|
VParallax: typeof import('vuetify/components')['VParallax']
|
628
|
+
VNoSsr: typeof import('vuetify/components')['VNoSsr']
|
629
629
|
VRangeSlider: typeof import('vuetify/components')['VRangeSlider']
|
630
630
|
VRadio: typeof import('vuetify/components')['VRadio']
|
631
631
|
VResponsive: typeof import('vuetify/components')['VResponsive']
|
632
632
|
VSparkline: typeof import('vuetify/components')['VSparkline']
|
633
633
|
VSpeedDial: typeof import('vuetify/components')['VSpeedDial']
|
634
|
-
VThemeProvider: typeof import('vuetify/components')['VThemeProvider']
|
635
634
|
VValidation: typeof import('vuetify/components')['VValidation']
|
635
|
+
VThemeProvider: typeof import('vuetify/components')['VThemeProvider']
|
636
636
|
VVirtualScroll: typeof import('vuetify/components')['VVirtualScroll']
|
637
637
|
VFabTransition: typeof import('vuetify/components')['VFabTransition']
|
638
638
|
VDialogBottomTransition: typeof import('vuetify/components')['VDialogBottomTransition']
|
@@ -650,16 +650,15 @@ declare module 'vue' {
|
|
650
650
|
VExpandTransition: typeof import('vuetify/components')['VExpandTransition']
|
651
651
|
VExpandXTransition: typeof import('vuetify/components')['VExpandXTransition']
|
652
652
|
VDialogTransition: typeof import('vuetify/components')['VDialogTransition']
|
653
|
+
VFileUpload: typeof import('vuetify/labs/components')['VFileUpload']
|
654
|
+
VFileUploadItem: typeof import('vuetify/labs/components')['VFileUploadItem']
|
653
655
|
VCalendar: typeof import('vuetify/labs/components')['VCalendar']
|
654
656
|
VCalendarDay: typeof import('vuetify/labs/components')['VCalendarDay']
|
655
657
|
VCalendarHeader: typeof import('vuetify/labs/components')['VCalendarHeader']
|
656
658
|
VCalendarInterval: typeof import('vuetify/labs/components')['VCalendarInterval']
|
657
659
|
VCalendarIntervalEvent: typeof import('vuetify/labs/components')['VCalendarIntervalEvent']
|
658
660
|
VCalendarMonthDay: typeof import('vuetify/labs/components')['VCalendarMonthDay']
|
659
|
-
|
660
|
-
VFileUploadItem: typeof import('vuetify/labs/components')['VFileUploadItem']
|
661
|
-
VPicker: typeof import('vuetify/labs/components')['VPicker']
|
662
|
-
VPickerTitle: typeof import('vuetify/labs/components')['VPickerTitle']
|
661
|
+
VNumberInput: typeof import('vuetify/labs/components')['VNumberInput']
|
663
662
|
VStepperVertical: typeof import('vuetify/labs/components')['VStepperVertical']
|
664
663
|
VStepperVerticalItem: typeof import('vuetify/labs/components')['VStepperVerticalItem']
|
665
664
|
VStepperVerticalActions: typeof import('vuetify/labs/components')['VStepperVerticalActions']
|
@@ -669,9 +668,10 @@ declare module 'vue' {
|
|
669
668
|
VTreeview: typeof import('vuetify/labs/components')['VTreeview']
|
670
669
|
VTreeviewItem: typeof import('vuetify/labs/components')['VTreeviewItem']
|
671
670
|
VTreeviewGroup: typeof import('vuetify/labs/components')['VTreeviewGroup']
|
671
|
+
VPicker: typeof import('vuetify/labs/components')['VPicker']
|
672
|
+
VPickerTitle: typeof import('vuetify/labs/components')['VPickerTitle']
|
672
673
|
VDateInput: typeof import('vuetify/labs/components')['VDateInput']
|
673
674
|
VPullToRefresh: typeof import('vuetify/labs/components')['VPullToRefresh']
|
674
|
-
VNumberInput: typeof import('vuetify/labs/components')['VNumberInput']
|
675
675
|
VSnackbarQueue: typeof import('vuetify/labs/components')['VSnackbarQueue']
|
676
676
|
}
|
677
677
|
}
|
@@ -10,8 +10,13 @@ import { useLocale } from "../../composables/locale.mjs";
|
|
10
10
|
import { useProxiedModel } from "../../composables/proxiedModel.mjs"; // Utilities
|
11
11
|
import { computed, shallowRef } from 'vue';
|
12
12
|
import { genericComponent, omit, propsFactory, useRender, wrapInArray } from "../../util/index.mjs"; // Types
|
13
|
+
// Types
|
13
14
|
export const makeVDateInputProps = propsFactory({
|
14
15
|
hideActions: Boolean,
|
16
|
+
location: {
|
17
|
+
type: String,
|
18
|
+
default: 'bottom start'
|
19
|
+
},
|
15
20
|
...makeFocusProps(),
|
16
21
|
...makeVConfirmEditProps(),
|
17
22
|
...makeVTextFieldProps({
|
@@ -21,7 +26,7 @@ export const makeVDateInputProps = propsFactory({
|
|
21
26
|
...omit(makeVDatePickerProps({
|
22
27
|
weeksInMonth: 'dynamic',
|
23
28
|
hideHeader: true
|
24
|
-
}), ['active'])
|
29
|
+
}), ['active', 'location'])
|
25
30
|
}, 'VDateInput');
|
26
31
|
export const VDateInput = genericComponent()({
|
27
32
|
name: 'VDateInput',
|
@@ -77,7 +82,7 @@ export const VDateInput = genericComponent()({
|
|
77
82
|
}
|
78
83
|
useRender(() => {
|
79
84
|
const confirmEditProps = VConfirmEdit.filterProps(props);
|
80
|
-
const datePickerProps = VDatePicker.filterProps(omit(props, ['active']));
|
85
|
+
const datePickerProps = VDatePicker.filterProps(omit(props, ['active', 'location']));
|
81
86
|
const textFieldProps = VTextField.filterProps(props);
|
82
87
|
return _createVNode(VTextField, _mergeProps(textFieldProps, {
|
83
88
|
"class": props.class,
|
@@ -95,18 +100,23 @@ export const VDateInput = genericComponent()({
|
|
95
100
|
"onUpdate:modelValue": $event => menu.value = $event,
|
96
101
|
"activator": "parent",
|
97
102
|
"min-width": "0",
|
103
|
+
"location": props.location,
|
98
104
|
"closeOnContentClick": false,
|
99
105
|
"openOnClick": false
|
100
106
|
}, {
|
101
107
|
default: () => [_createVNode(VConfirmEdit, _mergeProps(confirmEditProps, {
|
102
108
|
"modelValue": model.value,
|
103
109
|
"onUpdate:modelValue": $event => model.value = $event,
|
104
|
-
"onSave": onSave
|
110
|
+
"onSave": onSave,
|
111
|
+
"onCancel": () => menu.value = false
|
105
112
|
}), {
|
106
113
|
default: _ref2 => {
|
107
114
|
let {
|
108
115
|
actions,
|
109
|
-
model: proxyModel
|
116
|
+
model: proxyModel,
|
117
|
+
save,
|
118
|
+
cancel,
|
119
|
+
isPristine
|
110
120
|
} = _ref2;
|
111
121
|
return _createVNode(VDatePicker, _mergeProps(datePickerProps, {
|
112
122
|
"modelValue": props.hideActions ? model.value : proxyModel.value,
|
@@ -120,7 +130,11 @@ export const VDateInput = genericComponent()({
|
|
120
130
|
},
|
121
131
|
"onMousedown": e => e.preventDefault()
|
122
132
|
}), {
|
123
|
-
actions: !props.hideActions ?
|
133
|
+
actions: !props.hideActions ? () => slots.actions?.({
|
134
|
+
save,
|
135
|
+
cancel,
|
136
|
+
isPristine
|
137
|
+
}) ?? actions() : undefined
|
124
138
|
});
|
125
139
|
}
|
126
140
|
})]
|
@@ -1 +1 @@
|
|
1
|
-
{"version":3,"file":"VDateInput.mjs","names":["makeVConfirmEditProps","VConfirmEdit","makeVDatePickerProps","VDatePicker","VMenu","makeVTextFieldProps","VTextField","useDate","makeFocusProps","useFocus","useLocale","useProxiedModel","computed","shallowRef","genericComponent","omit","propsFactory","useRender","wrapInArray","makeVDateInputProps","hideActions","Boolean","placeholder","prependIcon","weeksInMonth","hideHeader","VDateInput","name","props","emits","val","setup","_ref","slots","t","adapter","isFocused","focus","blur","model","multiple","menu","display","value","length","start","end","isValid","format","isInteractive","disabled","readonly","onKeydown","e","key","target","date","onClick","preventDefault","stopPropagation","onSave","confirmEditProps","filterProps","datePickerProps","textFieldProps","_createVNode","_mergeProps","class","style","undefined","default","$event","_ref2","actions","proxyModel"],"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 { useLocale } from '@/composables/locale'\nimport { useProxiedModel } from '@/composables/proxiedModel'\n\n// Utilities\nimport { computed, shallowRef } from 'vue'\nimport { genericComponent, omit, propsFactory, useRender, wrapInArray } from '@/util'\n\n// Types\nexport interface VDateInputSlots {\n default: never\n}\n\nexport const makeVDateInputProps = propsFactory({\n hideActions: Boolean,\n\n ...makeFocusProps(),\n ...makeVConfirmEditProps(),\n ...makeVTextFieldProps({\n placeholder: 'mm/dd/yyyy',\n prependIcon: '$calendar',\n }),\n ...omit(makeVDatePickerProps({\n weeksInMonth: 'dynamic' as const,\n hideHeader: true,\n }), ['active']),\n}, 'VDateInput')\n\nexport const VDateInput = genericComponent()({\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(props, 'modelValue', props.multiple ? [] : null)\n const menu = shallowRef(false)\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(start, 'keyboardDate')} - ${adapter.format(end, 'keyboardDate')}`\n : ''\n }\n\n return adapter.isValid(model.value) ? adapter.format(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 = adapter.date(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 useRender(() => {\n const confirmEditProps = VConfirmEdit.filterProps(props)\n const datePickerProps = VDatePicker.filterProps(omit(props, ['active']))\n const textFieldProps = VTextField.filterProps(props)\n\n return (\n <VTextField\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 >\n <VMenu\n v-model={ menu.value }\n activator=\"parent\"\n min-width=\"0\"\n closeOnContentClick={ false }\n openOnClick={ false }\n >\n <VConfirmEdit\n { ...confirmEditProps }\n v-model={ model.value }\n onSave={ onSave }\n >\n {{\n default: ({ actions, model: proxyModel }) => {\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 ? actions : undefined,\n }}\n </VDatePicker>\n )\n },\n }}\n </VConfirmEdit>\n </VMenu>\n\n { slots.default?.() }\n </VTextField>\n )\n })\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,sDAExC;AAAA,SACSC,OAAO;AAAA,SACPC,cAAc,EAAEC,QAAQ;AAAA,SACxBC,SAAS;AAAA,SACTC,eAAe,8CAExB;AACA,SA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iE,WAAA,CAGZL,gBAAgB;YAAA,cACXtB,KAAK,CAACI,KAAK;YAAA,uBAAA4B,MAAA,IAAXhC,KAAK,CAACI,KAAK,GAAA4B,MAAA;YAAA,UACZX;UAAM;YAGbU,OAAO,EAAEE,KAAA,IAAoC;cAAA,IAAnC;gBAAEC,OAAO;gBAAElC,KAAK,EAAEmC;cAAW,CAAC,GAAAF,KAAA;cACtC,OAAAP,YAAA,CAAA9D,WAAA,EAAA+D,WAAA,CAESH,eAAe;gBAAA,cACPnC,KAAK,CAACR,WAAW,GAAGmB,KAAK,CAACI,KAAK,GAAG+B,UAAU,CAAC/B,KAAK;gBAAA,uBACzCb,GAAG,IAAI;kBAC3B,IAAI,CAACF,KAAK,CAACR,WAAW,EAAE;oBACtBsD,UAAU,CAAC/B,KAAK,GAAGb,GAAG;kBACxB,CAAC,MAAM;oBACLS,KAAK,CAACI,KAAK,GAAGb,GAAG;oBAEjB,IAAI,CAACF,KAAK,CAACY,QAAQ,EAAEC,IAAI,CAACE,KAAK,GAAG,KAAK;kBACzC;gBACF,CAAC;gBAAA,eACcU,CAAa,IAAKA,CAAC,CAACK,cAAc,CAAC;cAAC;gBAGjDe,OAAO,EAAE,CAAC7C,KAAK,CAACR,WAAW,GAAGqD,OAAO,GAAGJ;cAAS;YAIzD;UAAC;QAAA,IAKLpC,KAAK,CAACqC,OAAO,GAAG,CAAC;MAAA;IAGzB,CAAC,CAAC;EACJ;AACF,CAAC,CAAC","ignoreList":[]}
|
1
|
+
{"version":3,"file":"VDateInput.mjs","names":["makeVConfirmEditProps","VConfirmEdit","makeVDatePickerProps","VDatePicker","VMenu","makeVTextFieldProps","VTextField","useDate","makeFocusProps","useFocus","useLocale","useProxiedModel","computed","shallowRef","genericComponent","omit","propsFactory","useRender","wrapInArray","makeVDateInputProps","hideActions","Boolean","location","type","String","default","placeholder","prependIcon","weeksInMonth","hideHeader","VDateInput","name","props","emits","val","setup","_ref","slots","t","adapter","isFocused","focus","blur","model","multiple","menu","display","value","length","start","end","isValid","format","isInteractive","disabled","readonly","onKeydown","e","key","target","date","onClick","preventDefault","stopPropagation","onSave","confirmEditProps","filterProps","datePickerProps","textFieldProps","_createVNode","_mergeProps","class","style","undefined","$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 { useLocale } from '@/composables/locale'\nimport { useProxiedModel } from '@/composables/proxiedModel'\n\n// Utilities\nimport { computed, 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'\n\n// Types\nexport type VDateInputActionsSlot = {\n save: () => void\n cancel: () => void\n isPristine: boolean\n}\n\nexport type VDateInputSlots = {\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 weeksInMonth: 'dynamic' as const,\n hideHeader: true,\n }), ['active', 'location']),\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(props, 'modelValue', props.multiple ? [] : null)\n const menu = shallowRef(false)\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(start, 'keyboardDate')} - ${adapter.format(end, 'keyboardDate')}`\n : ''\n }\n\n return adapter.isValid(model.value) ? adapter.format(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 = adapter.date(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 useRender(() => {\n const confirmEditProps = VConfirmEdit.filterProps(props)\n const datePickerProps = VDatePicker.filterProps(omit(props, ['active', 'location']))\n const textFieldProps = VTextField.filterProps(props)\n\n return (\n <VTextField\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 >\n <VMenu\n v-model={ menu.value }\n activator=\"parent\"\n min-width=\"0\"\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 </VTextField>\n )\n })\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,sDAExC;AAAA,SACSC,OAAO;AAAA,SACPC,cAAc,EAAEC,QAAQ;AAAA,SACxBC,SAAS;AAAA,SACTC,eAAe,8CAExB;AACA,SAASC,QAAQ,EAAEC,UAAU,QAAQ,KAAK;AAAA,SACjCC,gBAAgB,EAAEC,IAAI,EAAEC,YAAY,EAAEC,SAAS,EAAEC,WAAW,gCAErE;AAIA;AAYA,OAAO,MAAMC,mBAAmB,GAAGH,YAAY,CAAC;EAC9CI,WAAW,EAAEC,OAAO;EACpBC,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,GAAGZ,IAAI,CAACb,oBAAoB,CAAC;IAC3B0B,YAAY,EAAE,SAAkB;IAChCC,UAAU,EAAE;EACd,CAAC,CAAC,EAAE,CAAC,QAAQ,EAAE,UAAU,CAAC;AAC5B,CAAC,EAAE,YAAY,CAAC;AAEhB,OAAO,MAAMC,UAAU,GA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