/// import type { LocaleProps, ThemeProps } from 'jamis-core'; export type ShortCutDate = { label: string; date: moment.Moment; }; export type ShortCutDateRange = { label: string; startDate?: moment.Moment; endDate?: moment.Moment; }; export type ShortCuts = { label: string; value: string; } | ShortCutDate | ShortCutDateRange; export interface DatePickerProps extends LocaleProps, ThemeProps { viewMode: 'years' | 'months' | 'days' | 'time' | 'quarters'; className?: string; popoverClassName?: string; placeholder?: string; inputFormat?: string; timeFormat?: string; format?: string; closeOnSelect: boolean; disabled?: boolean; minDate?: moment.Moment; maxDate?: moment.Moment; clearable?: boolean; defaultValue?: any; utc?: boolean; onChange: (value: any) => void; value?: any; shortcuts: string | Array; overlayPlacement: string; dateFormat?: string; timeConstraints?: { hours?: { min: number; max: number; step: number; }; minutes?: { min: number; max: number; step: number; }; seconds: { min: number; max: number; step: number; }; }; popOverContainer?: any; label?: string | false; borderMode?: 'full' | 'half' | 'none'; embed?: boolean; schedules?: Array<{ startTime: Date; endTime: Date; content: any; className?: string; }>; scheduleClassNames?: Array; largeMode?: boolean; todayActiveStyle?: React.CSSProperties; onScheduleClick?: (scheduleData: any) => void; useMobileUI?: boolean; mobileCalendarMode?: 'picker' | 'calendar'; onFocus?: Function; onBlur?: Function; onRef?: any; }