File tree Expand file tree Collapse file tree 4 files changed +6
-7
lines changed Expand file tree Collapse file tree 4 files changed +6
-7
lines changed Original file line number Diff line number Diff line change 11<template >
22 <div
3- :id =" rootProps.uid ? `dp-menu-${rootProps.uid}` : undefined "
3+ :id =" rootProps.menuId "
44 ref =" dp-menu"
55 :tabindex =" inline.enabled ? undefined : '0'"
66 :role =" inline.enabled ? undefined : 'dialog'"
6565 </template >
6666 </template >
6767 </div >
68- <div class =" dp__instance_calendar" role = " document " >
68+ <div class =" dp__instance_calendar" >
6969 <component
7070 :is =" displayComponent"
7171 ref =" dyn-cmp"
Original file line number Diff line number Diff line change @@ -23,7 +23,7 @@ export const useUtilsWithContext = () => {
2323 } ;
2424
2525 const isOutOfYearRange = ( year : number ) => {
26- return year < + rootProps . yearRange [ 0 ] ! || year > + rootProps . yearRange [ 1 ] ! ;
26+ return year < + rootProps . yearRange [ 0 ] || year > + rootProps . yearRange [ 1 ] ;
2727 } ;
2828
2929 return {
Original file line number Diff line number Diff line change @@ -72,7 +72,7 @@ export interface RootProps {
7272 placeholder ?: string ;
7373 timePicker ?: boolean ;
7474 range ?: boolean | Partial < RangeConfig > ;
75- uid ?: string ; // todo
75+ menuId ?: string ;
7676 disabled ?: boolean ;
7777 readonly ?: boolean ;
7878 inline ?: boolean | { input ?: boolean } ;
Original file line number Diff line number Diff line change 1- import VueDatePickerRoot from './VueDatePicker/VueDatePickerRoot.vue' ;
2-
3- export { VueDatePickerRoot as VueDatePicker } ;
1+ export { default as VueDatePicker } from './VueDatePicker/VueDatePickerRoot.vue' ;
2+ export { TZDate } from '@date-fns/tz' ;
You can’t perform that action at this time.
0 commit comments