@vuetify/nightly 3.7.11-master.2025-02-10 → 3.7.11-master.2025-02-11
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 +5 -3
- package/dist/json/attributes.json +2845 -2857
- package/dist/json/importMap-labs.json +16 -16
- package/dist/json/importMap.json +194 -194
- package/dist/json/tags.json +0 -3
- package/dist/json/web-types.json +5209 -5236
- package/dist/vuetify-labs.css +3821 -3821
- package/dist/vuetify-labs.d.ts +20 -38
- package/dist/vuetify-labs.esm.js +6 -6
- package/dist/vuetify-labs.esm.js.map +1 -1
- package/dist/vuetify-labs.js +6 -6
- package/dist/vuetify-labs.min.css +2 -2
- package/dist/vuetify.css +4323 -4323
- package/dist/vuetify.d.ts +76 -88
- package/dist/vuetify.esm.js +4 -4
- package/dist/vuetify.esm.js.map +1 -1
- package/dist/vuetify.js +4 -4
- package/dist/vuetify.js.map +1 -1
- package/dist/vuetify.min.css +2 -2
- package/dist/vuetify.min.js +4 -4
- package/dist/vuetify.min.js.map +1 -1
- package/lib/components/VDatePicker/VDatePickerMonth.mjs +2 -2
- package/lib/components/VDatePicker/VDatePickerMonth.mjs.map +1 -1
- package/lib/components/VDatePicker/index.d.mts +12 -24
- package/lib/components/index.d.mts +12 -24
- package/lib/composables/calendar.mjs.map +1 -1
- package/lib/entry-bundler.mjs +1 -1
- package/lib/framework.mjs +1 -1
- package/lib/index.d.mts +64 -64
- package/lib/labs/VDateInput/VDateInput.mjs +2 -2
- package/lib/labs/VDateInput/VDateInput.mjs.map +1 -1
- package/lib/labs/VDateInput/index.d.mts +8 -14
- package/lib/labs/components.d.mts +8 -14
- package/package.json +1 -1
package/lib/index.d.mts
CHANGED
@@ -486,52 +486,40 @@ declare module 'vue' {
|
|
486
486
|
$children?: VNodeChild
|
487
487
|
}
|
488
488
|
export interface GlobalComponents {
|
489
|
-
VApp: typeof import('vuetify/components')['VApp']
|
490
489
|
VAppBar: typeof import('vuetify/components')['VAppBar']
|
491
490
|
VAppBarNavIcon: typeof import('vuetify/components')['VAppBarNavIcon']
|
492
491
|
VAppBarTitle: typeof import('vuetify/components')['VAppBarTitle']
|
493
492
|
VAlert: typeof import('vuetify/components')['VAlert']
|
494
493
|
VAlertTitle: typeof import('vuetify/components')['VAlertTitle']
|
494
|
+
VBadge: typeof import('vuetify/components')['VBadge']
|
495
495
|
VAvatar: typeof import('vuetify/components')['VAvatar']
|
496
|
-
VBottomSheet: typeof import('vuetify/components')['VBottomSheet']
|
497
496
|
VAutocomplete: typeof import('vuetify/components')['VAutocomplete']
|
498
|
-
VBadge: typeof import('vuetify/components')['VBadge']
|
499
|
-
VBreadcrumbs: typeof import('vuetify/components')['VBreadcrumbs']
|
500
|
-
VBreadcrumbsItem: typeof import('vuetify/components')['VBreadcrumbsItem']
|
501
|
-
VBreadcrumbsDivider: typeof import('vuetify/components')['VBreadcrumbsDivider']
|
502
|
-
VBtnToggle: typeof import('vuetify/components')['VBtnToggle']
|
503
497
|
VBottomNavigation: typeof import('vuetify/components')['VBottomNavigation']
|
504
|
-
VBtnGroup: typeof import('vuetify/components')['VBtnGroup']
|
505
|
-
VBtn: typeof import('vuetify/components')['VBtn']
|
506
|
-
VCarousel: typeof import('vuetify/components')['VCarousel']
|
507
|
-
VCarouselItem: typeof import('vuetify/components')['VCarouselItem']
|
508
|
-
VChip: typeof import('vuetify/components')['VChip']
|
509
498
|
VBanner: typeof import('vuetify/components')['VBanner']
|
510
499
|
VBannerActions: typeof import('vuetify/components')['VBannerActions']
|
511
500
|
VBannerText: typeof import('vuetify/components')['VBannerText']
|
501
|
+
VApp: typeof import('vuetify/components')['VApp']
|
502
|
+
VBottomSheet: typeof import('vuetify/components')['VBottomSheet']
|
503
|
+
VBtn: typeof import('vuetify/components')['VBtn']
|
504
|
+
VBreadcrumbs: typeof import('vuetify/components')['VBreadcrumbs']
|
505
|
+
VBreadcrumbsItem: typeof import('vuetify/components')['VBreadcrumbsItem']
|
506
|
+
VBreadcrumbsDivider: typeof import('vuetify/components')['VBreadcrumbsDivider']
|
512
507
|
VCheckbox: typeof import('vuetify/components')['VCheckbox']
|
513
508
|
VCheckboxBtn: typeof import('vuetify/components')['VCheckboxBtn']
|
509
|
+
VBtnGroup: typeof import('vuetify/components')['VBtnGroup']
|
510
|
+
VChip: typeof import('vuetify/components')['VChip']
|
511
|
+
VCarousel: typeof import('vuetify/components')['VCarousel']
|
512
|
+
VCarouselItem: typeof import('vuetify/components')['VCarouselItem']
|
514
513
|
VCard: typeof import('vuetify/components')['VCard']
|
515
514
|
VCardActions: typeof import('vuetify/components')['VCardActions']
|
516
515
|
VCardItem: typeof import('vuetify/components')['VCardItem']
|
517
516
|
VCardSubtitle: typeof import('vuetify/components')['VCardSubtitle']
|
518
517
|
VCardText: typeof import('vuetify/components')['VCardText']
|
519
518
|
VCardTitle: typeof import('vuetify/components')['VCardTitle']
|
520
|
-
|
521
|
-
VCounter: typeof import('vuetify/components')['VCounter']
|
522
|
-
VColorPicker: typeof import('vuetify/components')['VColorPicker']
|
523
|
-
VDatePicker: typeof import('vuetify/components')['VDatePicker']
|
524
|
-
VDatePickerControls: typeof import('vuetify/components')['VDatePickerControls']
|
525
|
-
VDatePickerHeader: typeof import('vuetify/components')['VDatePickerHeader']
|
526
|
-
VDatePickerMonth: typeof import('vuetify/components')['VDatePickerMonth']
|
527
|
-
VDatePickerMonths: typeof import('vuetify/components')['VDatePickerMonths']
|
528
|
-
VDatePickerYears: typeof import('vuetify/components')['VDatePickerYears']
|
529
|
-
VCombobox: typeof import('vuetify/components')['VCombobox']
|
519
|
+
VBtnToggle: typeof import('vuetify/components')['VBtnToggle']
|
530
520
|
VCode: typeof import('vuetify/components')['VCode']
|
531
|
-
|
532
|
-
|
533
|
-
VFab: typeof import('vuetify/components')['VFab']
|
534
|
-
VDivider: typeof import('vuetify/components')['VDivider']
|
521
|
+
VColorPicker: typeof import('vuetify/components')['VColorPicker']
|
522
|
+
VCounter: typeof import('vuetify/components')['VCounter']
|
535
523
|
VDataTable: typeof import('vuetify/components')['VDataTable']
|
536
524
|
VDataTableHeaders: typeof import('vuetify/components')['VDataTableHeaders']
|
537
525
|
VDataTableFooter: typeof import('vuetify/components')['VDataTableFooter']
|
@@ -539,27 +527,34 @@ declare module 'vue' {
|
|
539
527
|
VDataTableRow: typeof import('vuetify/components')['VDataTableRow']
|
540
528
|
VDataTableVirtual: typeof import('vuetify/components')['VDataTableVirtual']
|
541
529
|
VDataTableServer: typeof import('vuetify/components')['VDataTableServer']
|
530
|
+
VChipGroup: typeof import('vuetify/components')['VChipGroup']
|
531
|
+
VDialog: typeof import('vuetify/components')['VDialog']
|
532
|
+
VCombobox: typeof import('vuetify/components')['VCombobox']
|
533
|
+
VDivider: typeof import('vuetify/components')['VDivider']
|
534
|
+
VDatePicker: typeof import('vuetify/components')['VDatePicker']
|
535
|
+
VDatePickerControls: typeof import('vuetify/components')['VDatePickerControls']
|
536
|
+
VDatePickerHeader: typeof import('vuetify/components')['VDatePickerHeader']
|
537
|
+
VDatePickerMonth: typeof import('vuetify/components')['VDatePickerMonth']
|
538
|
+
VDatePickerMonths: typeof import('vuetify/components')['VDatePickerMonths']
|
539
|
+
VDatePickerYears: typeof import('vuetify/components')['VDatePickerYears']
|
542
540
|
VFileInput: typeof import('vuetify/components')['VFileInput']
|
543
|
-
VFooter: typeof import('vuetify/components')['VFooter']
|
544
|
-
VField: typeof import('vuetify/components')['VField']
|
545
|
-
VFieldLabel: typeof import('vuetify/components')['VFieldLabel']
|
546
541
|
VExpansionPanels: typeof import('vuetify/components')['VExpansionPanels']
|
547
542
|
VExpansionPanel: typeof import('vuetify/components')['VExpansionPanel']
|
548
543
|
VExpansionPanelText: typeof import('vuetify/components')['VExpansionPanelText']
|
549
544
|
VExpansionPanelTitle: typeof import('vuetify/components')['VExpansionPanelTitle']
|
545
|
+
VEmptyState: typeof import('vuetify/components')['VEmptyState']
|
546
|
+
VImg: typeof import('vuetify/components')['VImg']
|
547
|
+
VField: typeof import('vuetify/components')['VField']
|
548
|
+
VFieldLabel: typeof import('vuetify/components')['VFieldLabel']
|
549
|
+
VFooter: typeof import('vuetify/components')['VFooter']
|
550
|
+
VFab: typeof import('vuetify/components')['VFab']
|
550
551
|
VIcon: typeof import('vuetify/components')['VIcon']
|
551
552
|
VComponentIcon: typeof import('vuetify/components')['VComponentIcon']
|
552
553
|
VSvgIcon: typeof import('vuetify/components')['VSvgIcon']
|
553
554
|
VLigatureIcon: typeof import('vuetify/components')['VLigatureIcon']
|
554
555
|
VClassIcon: typeof import('vuetify/components')['VClassIcon']
|
555
|
-
VImg: typeof import('vuetify/components')['VImg']
|
556
556
|
VInfiniteScroll: typeof import('vuetify/components')['VInfiniteScroll']
|
557
|
-
VInput: typeof import('vuetify/components')['VInput']
|
558
|
-
VLabel: typeof import('vuetify/components')['VLabel']
|
559
|
-
VItemGroup: typeof import('vuetify/components')['VItemGroup']
|
560
|
-
VItem: typeof import('vuetify/components')['VItem']
|
561
557
|
VKbd: typeof import('vuetify/components')['VKbd']
|
562
|
-
VMain: typeof import('vuetify/components')['VMain']
|
563
558
|
VList: typeof import('vuetify/components')['VList']
|
564
559
|
VListGroup: typeof import('vuetify/components')['VListGroup']
|
565
560
|
VListImg: typeof import('vuetify/components')['VListImg']
|
@@ -569,60 +564,66 @@ declare module 'vue' {
|
|
569
564
|
VListItemSubtitle: typeof import('vuetify/components')['VListItemSubtitle']
|
570
565
|
VListItemTitle: typeof import('vuetify/components')['VListItemTitle']
|
571
566
|
VListSubheader: typeof import('vuetify/components')['VListSubheader']
|
572
|
-
|
567
|
+
VInput: typeof import('vuetify/components')['VInput']
|
568
|
+
VLabel: typeof import('vuetify/components')['VLabel']
|
569
|
+
VItemGroup: typeof import('vuetify/components')['VItemGroup']
|
570
|
+
VItem: typeof import('vuetify/components')['VItem']
|
573
571
|
VMessages: typeof import('vuetify/components')['VMessages']
|
574
|
-
|
575
|
-
VOverlay: typeof import('vuetify/components')['VOverlay']
|
576
|
-
VNavigationDrawer: typeof import('vuetify/components')['VNavigationDrawer']
|
577
|
-
VPagination: typeof import('vuetify/components')['VPagination']
|
572
|
+
VMenu: typeof import('vuetify/components')['VMenu']
|
578
573
|
VProgressLinear: typeof import('vuetify/components')['VProgressLinear']
|
579
|
-
|
574
|
+
VMain: typeof import('vuetify/components')['VMain']
|
575
|
+
VNavigationDrawer: typeof import('vuetify/components')['VNavigationDrawer']
|
576
|
+
VOverlay: typeof import('vuetify/components')['VOverlay']
|
580
577
|
VRadioGroup: typeof import('vuetify/components')['VRadioGroup']
|
581
578
|
VProgressCircular: typeof import('vuetify/components')['VProgressCircular']
|
582
|
-
|
579
|
+
VOtpInput: typeof import('vuetify/components')['VOtpInput']
|
580
|
+
VPagination: typeof import('vuetify/components')['VPagination']
|
581
|
+
VRating: typeof import('vuetify/components')['VRating']
|
583
582
|
VSelectionControl: typeof import('vuetify/components')['VSelectionControl']
|
584
|
-
|
583
|
+
VSelect: typeof import('vuetify/components')['VSelect']
|
585
584
|
VSelectionControlGroup: typeof import('vuetify/components')['VSelectionControlGroup']
|
586
|
-
VSheet: typeof import('vuetify/components')['VSheet']
|
587
|
-
VSlideGroup: typeof import('vuetify/components')['VSlideGroup']
|
588
|
-
VSlideGroupItem: typeof import('vuetify/components')['VSlideGroupItem']
|
589
585
|
VSlider: typeof import('vuetify/components')['VSlider']
|
590
|
-
|
591
|
-
|
592
|
-
VTabs: typeof import('vuetify/components')['VTabs']
|
593
|
-
VTabsWindow: typeof import('vuetify/components')['VTabsWindow']
|
594
|
-
VTabsWindowItem: typeof import('vuetify/components')['VTabsWindowItem']
|
586
|
+
VSheet: typeof import('vuetify/components')['VSheet']
|
587
|
+
VSkeletonLoader: typeof import('vuetify/components')['VSkeletonLoader']
|
595
588
|
VStepper: typeof import('vuetify/components')['VStepper']
|
596
589
|
VStepperActions: typeof import('vuetify/components')['VStepperActions']
|
597
590
|
VStepperHeader: typeof import('vuetify/components')['VStepperHeader']
|
598
591
|
VStepperItem: typeof import('vuetify/components')['VStepperItem']
|
599
592
|
VStepperWindow: typeof import('vuetify/components')['VStepperWindow']
|
600
593
|
VStepperWindowItem: typeof import('vuetify/components')['VStepperWindowItem']
|
594
|
+
VSlideGroup: typeof import('vuetify/components')['VSlideGroup']
|
595
|
+
VSlideGroupItem: typeof import('vuetify/components')['VSlideGroupItem']
|
601
596
|
VTable: typeof import('vuetify/components')['VTable']
|
602
|
-
|
597
|
+
VSnackbar: typeof import('vuetify/components')['VSnackbar']
|
603
598
|
VSystemBar: typeof import('vuetify/components')['VSystemBar']
|
599
|
+
VTab: typeof import('vuetify/components')['VTab']
|
600
|
+
VTabs: typeof import('vuetify/components')['VTabs']
|
601
|
+
VTabsWindow: typeof import('vuetify/components')['VTabsWindow']
|
602
|
+
VTabsWindowItem: typeof import('vuetify/components')['VTabsWindowItem']
|
603
|
+
VTimeline: typeof import('vuetify/components')['VTimeline']
|
604
|
+
VTimelineItem: typeof import('vuetify/components')['VTimelineItem']
|
605
|
+
VTextField: typeof import('vuetify/components')['VTextField']
|
604
606
|
VTextarea: typeof import('vuetify/components')['VTextarea']
|
607
|
+
VSwitch: typeof import('vuetify/components')['VSwitch']
|
605
608
|
VTooltip: typeof import('vuetify/components')['VTooltip']
|
606
609
|
VToolbar: typeof import('vuetify/components')['VToolbar']
|
607
610
|
VToolbarTitle: typeof import('vuetify/components')['VToolbarTitle']
|
608
611
|
VToolbarItems: typeof import('vuetify/components')['VToolbarItems']
|
609
612
|
VWindow: typeof import('vuetify/components')['VWindow']
|
610
613
|
VWindowItem: typeof import('vuetify/components')['VWindowItem']
|
611
|
-
VTimeline: typeof import('vuetify/components')['VTimeline']
|
612
|
-
VTimelineItem: typeof import('vuetify/components')['VTimelineItem']
|
613
|
-
VTextField: typeof import('vuetify/components')['VTextField']
|
614
|
-
VConfirmEdit: typeof import('vuetify/components')['VConfirmEdit']
|
615
614
|
VDataIterator: typeof import('vuetify/components')['VDataIterator']
|
615
|
+
VConfirmEdit: typeof import('vuetify/components')['VConfirmEdit']
|
616
616
|
VForm: typeof import('vuetify/components')['VForm']
|
617
|
-
VHover: typeof import('vuetify/components')['VHover']
|
618
617
|
VContainer: typeof import('vuetify/components')['VContainer']
|
619
618
|
VCol: typeof import('vuetify/components')['VCol']
|
620
619
|
VRow: typeof import('vuetify/components')['VRow']
|
621
620
|
VSpacer: typeof import('vuetify/components')['VSpacer']
|
621
|
+
VDefaultsProvider: typeof import('vuetify/components')['VDefaultsProvider']
|
622
|
+
VHover: typeof import('vuetify/components')['VHover']
|
623
|
+
VLazy: typeof import('vuetify/components')['VLazy']
|
624
|
+
VLocaleProvider: typeof import('vuetify/components')['VLocaleProvider']
|
622
625
|
VLayout: typeof import('vuetify/components')['VLayout']
|
623
626
|
VLayoutItem: typeof import('vuetify/components')['VLayoutItem']
|
624
|
-
VLocaleProvider: typeof import('vuetify/components')['VLocaleProvider']
|
625
|
-
VLazy: typeof import('vuetify/components')['VLazy']
|
626
627
|
VNoSsr: typeof import('vuetify/components')['VNoSsr']
|
627
628
|
VParallax: typeof import('vuetify/components')['VParallax']
|
628
629
|
VRadio: typeof import('vuetify/components')['VRadio']
|
@@ -649,7 +650,7 @@ declare module 'vue' {
|
|
649
650
|
VExpandTransition: typeof import('vuetify/components')['VExpandTransition']
|
650
651
|
VExpandXTransition: typeof import('vuetify/components')['VExpandXTransition']
|
651
652
|
VDialogTransition: typeof import('vuetify/components')['VDialogTransition']
|
652
|
-
|
653
|
+
VNumberInput: typeof import('vuetify/labs/components')['VNumberInput']
|
653
654
|
VCalendar: typeof import('vuetify/labs/components')['VCalendar']
|
654
655
|
VCalendarDay: typeof import('vuetify/labs/components')['VCalendarDay']
|
655
656
|
VCalendarHeader: typeof import('vuetify/labs/components')['VCalendarHeader']
|
@@ -658,20 +659,19 @@ declare module 'vue' {
|
|
658
659
|
VCalendarMonthDay: typeof import('vuetify/labs/components')['VCalendarMonthDay']
|
659
660
|
VFileUpload: typeof import('vuetify/labs/components')['VFileUpload']
|
660
661
|
VFileUploadItem: typeof import('vuetify/labs/components')['VFileUploadItem']
|
661
|
-
VPicker: typeof import('vuetify/labs/components')['VPicker']
|
662
|
-
VPickerTitle: typeof import('vuetify/labs/components')['VPickerTitle']
|
663
|
-
VNumberInput: typeof import('vuetify/labs/components')['VNumberInput']
|
664
662
|
VStepperVertical: typeof import('vuetify/labs/components')['VStepperVertical']
|
665
663
|
VStepperVerticalItem: typeof import('vuetify/labs/components')['VStepperVerticalItem']
|
666
664
|
VStepperVerticalActions: typeof import('vuetify/labs/components')['VStepperVerticalActions']
|
667
665
|
VTimePicker: typeof import('vuetify/labs/components')['VTimePicker']
|
668
666
|
VTimePickerClock: typeof import('vuetify/labs/components')['VTimePickerClock']
|
669
667
|
VTimePickerControls: typeof import('vuetify/labs/components')['VTimePickerControls']
|
668
|
+
VPicker: typeof import('vuetify/labs/components')['VPicker']
|
669
|
+
VPickerTitle: typeof import('vuetify/labs/components')['VPickerTitle']
|
670
670
|
VTreeview: typeof import('vuetify/labs/components')['VTreeview']
|
671
671
|
VTreeviewItem: typeof import('vuetify/labs/components')['VTreeviewItem']
|
672
672
|
VTreeviewGroup: typeof import('vuetify/labs/components')['VTreeviewGroup']
|
673
673
|
VDateInput: typeof import('vuetify/labs/components')['VDateInput']
|
674
|
-
VSnackbarQueue: typeof import('vuetify/labs/components')['VSnackbarQueue']
|
675
674
|
VPullToRefresh: typeof import('vuetify/labs/components')['VPullToRefresh']
|
675
|
+
VSnackbarQueue: typeof import('vuetify/labs/components')['VSnackbarQueue']
|
676
676
|
}
|
677
677
|
}
|
@@ -27,7 +27,7 @@ export const makeVDateInputProps = propsFactory({
|
|
27
27
|
...omit(makeVDatePickerProps({
|
28
28
|
weeksInMonth: 'dynamic',
|
29
29
|
hideHeader: true
|
30
|
-
}), ['active', 'location'])
|
30
|
+
}), ['active', 'location', 'rounded'])
|
31
31
|
}, 'VDateInput');
|
32
32
|
export const VDateInput = genericComponent()({
|
33
33
|
name: 'VDateInput',
|
@@ -88,7 +88,7 @@ export const VDateInput = genericComponent()({
|
|
88
88
|
}
|
89
89
|
useRender(() => {
|
90
90
|
const confirmEditProps = VConfirmEdit.filterProps(props);
|
91
|
-
const datePickerProps = VDatePicker.filterProps(omit(props, ['active', 'location']));
|
91
|
+
const datePickerProps = VDatePicker.filterProps(omit(props, ['active', 'location', 'rounded']));
|
92
92
|
const textFieldProps = VTextField.filterProps(props);
|
93
93
|
return _createVNode(VTextField, _mergeProps({
|
94
94
|
"ref": vDateInputRef
|
@@ -1 +1 @@
|
|
1
|
-
{"version":3,"file":"VDateInput.mjs","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","weeksInMonth","hideHeader","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","$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'\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(\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(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 = 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']))\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 <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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IAAXtC,KAAK,CAACW,KAAK,GAAA2B,MAAA;YAAA,UACZX,MAAM;YAAA,YACJY,CAAA,KAAM/B,IAAI,CAACG,KAAK,GAAG;UAAK;YAGjC7B,OAAO,EAAE0D,KAAA,IAA8D;cAAA,IAA7D;gBAAEC,OAAO;gBAAEzC,KAAK,EAAE0C,UAAU;gBAAEC,IAAI;gBAAEC,MAAM;gBAAEC;cAAW,CAAC,GAAAL,KAAA;cAChE,OAAAP,YAAA,CAAA3E,WAAA,EAAA4E,WAAA,CAESH,eAAe;gBAAA,cACP1C,KAAK,CAACZ,WAAW,GAAGuB,KAAK,CAACW,KAAK,GAAG+B,UAAU,CAAC/B,KAAK;gBAAA,uBACzCpB,GAAG,IAAI;kBAC3B,IAAI,CAACF,KAAK,CAACZ,WAAW,EAAE;oBACtBiE,UAAU,CAAC/B,KAAK,GAAGpB,GAAG;kBACxB,CAAC,MAAM;oBACLS,KAAK,CAACW,KAAK,GAAGpB,GAAG;oBAEjB,IAAI,CAACF,KAAK,CAACY,QAAQ,EAAEO,IAAI,CAACG,KAAK,GAAG,KAAK;kBACzC;gBACF,CAAC;gBAAA,eACcU,CAAa,IAAKA,CAAC,CAACI,cAAc,CAAC;cAAC;gBAGjDgB,OAAO,EAAE,CAACpD,KAAK,CAACZ,WAAW,GAAG,MAAMiB,KAAK,CAAC+C,OAAO,GAAG;kBAAEE,IAAI;kBAAEC,MAAM;kBAAEC;gBAAW,CAAC,CAAC,IAAIJ,OAAO,CAAC,CAAC,GAAGJ;cAAS;YAIlH;UAAC;QAAA,IAKL3C,KAAK,CAACZ,OAAO,GAAG,CAAC;MAAA;IAGzB,CAAC,CAAC;IAEF,OAAOjB,WAAW,CAAC,CAAC,CAAC,EAAE4C,aAAa,CAAC;EACvC;AACF,CAAC,CAAC","ignoreList":[]}
|
1
|
+
{"version":3,"file":"VDateInput.mjs","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","weeksInMonth","hideHeader","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","$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'\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', '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(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 = 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 <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 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,sDAExC;AAAA,SACSC,OAAO;AAAA,SACPC,cAAc,EAAEC,QAAQ;AAAA,SACxBC,WAAW;AAAA,SACXC,SAAS;AAAA,SACTC,eAAe,8CAExB;AACA,SAASC,QAAQ,EAAEC,GAAG,EAAEC,UAAU,QAAQ,KAAK;AAAA,SAC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K,GAAG+B,UAAU,CAAC/B,KAAK;gBAAA,uBACzCpB,GAAG,IAAI;kBAC3B,IAAI,CAACF,KAAK,CAACZ,WAAW,EAAE;oBACtBiE,UAAU,CAAC/B,KAAK,GAAGpB,GAAG;kBACxB,CAAC,MAAM;oBACLS,KAAK,CAACW,KAAK,GAAGpB,GAAG;oBAEjB,IAAI,CAACF,KAAK,CAACY,QAAQ,EAAEO,IAAI,CAACG,KAAK,GAAG,KAAK;kBACzC;gBACF,CAAC;gBAAA,eACcU,CAAa,IAAKA,CAAC,CAACI,cAAc,CAAC;cAAC;gBAGjDgB,OAAO,EAAE,CAACpD,KAAK,CAACZ,WAAW,GAAG,MAAMiB,KAAK,CAAC+C,OAAO,GAAG;kBAAEE,IAAI;kBAAEC,MAAM;kBAAEC;gBAAW,CAAC,CAAC,IAAIJ,OAAO,CAAC,CAAC,GAAGJ;cAAS;YAIlH;UAAC;QAAA,IAKL3C,KAAK,CAACZ,OAAO,GAAG,CAAC;MAAA;IAGzB,CAAC,CAAC;IAEF,OAAOjB,WAAW,CAAC,CAAC,CAAC,EAAE4C,aAAa,CAAC;EACvC;AACF,CAAC,CAAC","ignoreList":[]}
|
@@ -200,7 +200,6 @@ declare const VDateInput: {
|
|
200
200
|
modelModifiers?: Record<string, boolean> | undefined;
|
201
201
|
firstDayOfWeek?: string | number | undefined;
|
202
202
|
allowedDates?: unknown[] | ((date: unknown) => boolean) | undefined;
|
203
|
-
displayValue?: unknown;
|
204
203
|
} & {
|
205
204
|
$children?: vue.VNodeChild | (() => vue.VNodeChild) | {
|
206
205
|
actions?: ((arg: VDateInputActionsSlot) => vue.VNodeChild) | undefined;
|
@@ -316,7 +315,6 @@ declare const VDateInput: {
|
|
316
315
|
modelModifiers?: Record<string, boolean> | undefined;
|
317
316
|
firstDayOfWeek?: string | number | undefined;
|
318
317
|
allowedDates?: unknown[] | ((date: unknown) => boolean) | undefined;
|
319
|
-
displayValue?: unknown;
|
320
318
|
} & {
|
321
319
|
$children?: vue.VNodeChild | (() => vue.VNodeChild) | {
|
322
320
|
actions?: ((arg: VDateInputActionsSlot) => vue.VNodeChild) | undefined;
|
@@ -492,7 +490,6 @@ declare const VDateInput: {
|
|
492
490
|
modelModifiers?: Record<string, boolean> | undefined;
|
493
491
|
firstDayOfWeek?: string | number | undefined;
|
494
492
|
allowedDates?: unknown[] | ((date: unknown) => boolean) | undefined;
|
495
|
-
displayValue?: unknown;
|
496
493
|
} & {
|
497
494
|
$children?: vue.VNodeChild | (() => vue.VNodeChild) | {
|
498
495
|
actions?: ((arg: VDateInputActionsSlot) => vue.VNodeChild) | undefined;
|
@@ -662,7 +659,6 @@ declare const VDateInput: {
|
|
662
659
|
modelModifiers?: Record<string, boolean> | undefined;
|
663
660
|
firstDayOfWeek?: string | number | undefined;
|
664
661
|
allowedDates?: unknown[] | ((date: unknown) => boolean) | undefined;
|
665
|
-
displayValue?: unknown;
|
666
662
|
} & {
|
667
663
|
$children?: vue.VNodeChild | (() => vue.VNodeChild) | {
|
668
664
|
actions?: ((arg: VDateInputActionsSlot) => vue.VNodeChild) | undefined;
|
@@ -782,10 +778,6 @@ declare const VDateInput: {
|
|
782
778
|
validator(v: any): boolean;
|
783
779
|
};
|
784
780
|
modelValue: null;
|
785
|
-
rounded: {
|
786
|
-
type: (StringConstructor | BooleanConstructor | NumberConstructor)[];
|
787
|
-
default: undefined;
|
788
|
-
};
|
789
781
|
tile: BooleanConstructor;
|
790
782
|
bgColor: StringConstructor;
|
791
783
|
nextIcon: {
|
@@ -840,13 +832,16 @@ declare const VDateInput: {
|
|
840
832
|
};
|
841
833
|
firstDayOfWeek: (StringConstructor | NumberConstructor)[];
|
842
834
|
allowedDates: PropType<unknown[] | ((date: unknown) => boolean)>;
|
843
|
-
displayValue: PropType<unknown>;
|
844
835
|
hideWeekdays: BooleanConstructor;
|
845
836
|
showWeek: BooleanConstructor;
|
846
837
|
hideHeader: {
|
847
838
|
type: PropType<boolean>;
|
848
839
|
default: boolean;
|
849
840
|
};
|
841
|
+
rounded: {
|
842
|
+
type: (StringConstructor | BooleanConstructor | NumberConstructor)[];
|
843
|
+
default: undefined;
|
844
|
+
};
|
850
845
|
loading: (StringConstructor | BooleanConstructor)[];
|
851
846
|
appendInnerIcon: PropType<IconValue>;
|
852
847
|
clearable: BooleanConstructor;
|
@@ -1001,10 +996,6 @@ declare const VDateInput: {
|
|
1001
996
|
validator(v: any): boolean;
|
1002
997
|
};
|
1003
998
|
modelValue: null;
|
1004
|
-
rounded: {
|
1005
|
-
type: (StringConstructor | BooleanConstructor | NumberConstructor)[];
|
1006
|
-
default: undefined;
|
1007
|
-
};
|
1008
999
|
tile: BooleanConstructor;
|
1009
1000
|
bgColor: StringConstructor;
|
1010
1001
|
nextIcon: {
|
@@ -1059,13 +1050,16 @@ declare const VDateInput: {
|
|
1059
1050
|
};
|
1060
1051
|
firstDayOfWeek: (StringConstructor | NumberConstructor)[];
|
1061
1052
|
allowedDates: PropType<unknown[] | ((date: unknown) => boolean)>;
|
1062
|
-
displayValue: PropType<unknown>;
|
1063
1053
|
hideWeekdays: BooleanConstructor;
|
1064
1054
|
showWeek: BooleanConstructor;
|
1065
1055
|
hideHeader: {
|
1066
1056
|
type: PropType<boolean>;
|
1067
1057
|
default: boolean;
|
1068
1058
|
};
|
1059
|
+
rounded: {
|
1060
|
+
type: (StringConstructor | BooleanConstructor | NumberConstructor)[];
|
1061
|
+
default: undefined;
|
1062
|
+
};
|
1069
1063
|
loading: (StringConstructor | BooleanConstructor)[];
|
1070
1064
|
appendInnerIcon: PropType<IconValue>;
|
1071
1065
|
clearable: BooleanConstructor;
|
@@ -1967,7 +1967,6 @@ declare const VDateInput: {
|
|
1967
1967
|
modelModifiers?: Record<string, boolean> | undefined;
|
1968
1968
|
firstDayOfWeek?: string | number | undefined;
|
1969
1969
|
allowedDates?: unknown[] | ((date: unknown) => boolean) | undefined;
|
1970
|
-
displayValue?: unknown;
|
1971
1970
|
} & {
|
1972
1971
|
$children?: vue.VNodeChild | (() => vue.VNodeChild) | {
|
1973
1972
|
actions?: ((arg: VDateInputActionsSlot) => vue.VNodeChild) | undefined;
|
@@ -2083,7 +2082,6 @@ declare const VDateInput: {
|
|
2083
2082
|
modelModifiers?: Record<string, boolean> | undefined;
|
2084
2083
|
firstDayOfWeek?: string | number | undefined;
|
2085
2084
|
allowedDates?: unknown[] | ((date: unknown) => boolean) | undefined;
|
2086
|
-
displayValue?: unknown;
|
2087
2085
|
} & {
|
2088
2086
|
$children?: vue.VNodeChild | (() => vue.VNodeChild) | {
|
2089
2087
|
actions?: ((arg: VDateInputActionsSlot) => vue.VNodeChild) | undefined;
|
@@ -2259,7 +2257,6 @@ declare const VDateInput: {
|
|
2259
2257
|
modelModifiers?: Record<string, boolean> | undefined;
|
2260
2258
|
firstDayOfWeek?: string | number | undefined;
|
2261
2259
|
allowedDates?: unknown[] | ((date: unknown) => boolean) | undefined;
|
2262
|
-
displayValue?: unknown;
|
2263
2260
|
} & {
|
2264
2261
|
$children?: vue.VNodeChild | (() => vue.VNodeChild) | {
|
2265
2262
|
actions?: ((arg: VDateInputActionsSlot) => vue.VNodeChild) | undefined;
|
@@ -2429,7 +2426,6 @@ declare const VDateInput: {
|
|
2429
2426
|
modelModifiers?: Record<string, boolean> | undefined;
|
2430
2427
|
firstDayOfWeek?: string | number | undefined;
|
2431
2428
|
allowedDates?: unknown[] | ((date: unknown) => boolean) | undefined;
|
2432
|
-
displayValue?: unknown;
|
2433
2429
|
} & {
|
2434
2430
|
$children?: vue.VNodeChild | (() => vue.VNodeChild) | {
|
2435
2431
|
actions?: ((arg: VDateInputActionsSlot) => vue.VNodeChild) | undefined;
|
@@ -2549,10 +2545,6 @@ declare const VDateInput: {
|
|
2549
2545
|
validator(v: any): boolean;
|
2550
2546
|
};
|
2551
2547
|
modelValue: null;
|
2552
|
-
rounded: {
|
2553
|
-
type: (StringConstructor | BooleanConstructor | NumberConstructor)[];
|
2554
|
-
default: undefined;
|
2555
|
-
};
|
2556
2548
|
tile: BooleanConstructor;
|
2557
2549
|
bgColor: StringConstructor;
|
2558
2550
|
nextIcon: {
|
@@ -2607,13 +2599,16 @@ declare const VDateInput: {
|
|
2607
2599
|
};
|
2608
2600
|
firstDayOfWeek: (StringConstructor | NumberConstructor)[];
|
2609
2601
|
allowedDates: PropType<unknown[] | ((date: unknown) => boolean)>;
|
2610
|
-
displayValue: PropType<unknown>;
|
2611
2602
|
hideWeekdays: BooleanConstructor;
|
2612
2603
|
showWeek: BooleanConstructor;
|
2613
2604
|
hideHeader: {
|
2614
2605
|
type: PropType<boolean>;
|
2615
2606
|
default: boolean;
|
2616
2607
|
};
|
2608
|
+
rounded: {
|
2609
|
+
type: (StringConstructor | BooleanConstructor | NumberConstructor)[];
|
2610
|
+
default: undefined;
|
2611
|
+
};
|
2617
2612
|
loading: (StringConstructor | BooleanConstructor)[];
|
2618
2613
|
appendInnerIcon: PropType<IconValue>;
|
2619
2614
|
clearable: BooleanConstructor;
|
@@ -2768,10 +2763,6 @@ declare const VDateInput: {
|
|
2768
2763
|
validator(v: any): boolean;
|
2769
2764
|
};
|
2770
2765
|
modelValue: null;
|
2771
|
-
rounded: {
|
2772
|
-
type: (StringConstructor | BooleanConstructor | NumberConstructor)[];
|
2773
|
-
default: undefined;
|
2774
|
-
};
|
2775
2766
|
tile: BooleanConstructor;
|
2776
2767
|
bgColor: StringConstructor;
|
2777
2768
|
nextIcon: {
|
@@ -2826,13 +2817,16 @@ declare const VDateInput: {
|
|
2826
2817
|
};
|
2827
2818
|
firstDayOfWeek: (StringConstructor | NumberConstructor)[];
|
2828
2819
|
allowedDates: PropType<unknown[] | ((date: unknown) => boolean)>;
|
2829
|
-
displayValue: PropType<unknown>;
|
2830
2820
|
hideWeekdays: BooleanConstructor;
|
2831
2821
|
showWeek: BooleanConstructor;
|
2832
2822
|
hideHeader: {
|
2833
2823
|
type: PropType<boolean>;
|
2834
2824
|
default: boolean;
|
2835
2825
|
};
|
2826
|
+
rounded: {
|
2827
|
+
type: (StringConstructor | BooleanConstructor | NumberConstructor)[];
|
2828
|
+
default: undefined;
|
2829
|
+
};
|
2836
2830
|
loading: (StringConstructor | BooleanConstructor)[];
|
2837
2831
|
appendInnerIcon: PropType<IconValue>;
|
2838
2832
|
clearable: BooleanConstructor;
|
package/package.json
CHANGED