UNPKG

fastlion-amis

Version:

一种MIS页面生成工具

568 lines 102 kB
/** * @file DatePicker * @description 时间选择器组件 * @author fex */ /// <reference types="hoist-non-react-statics" /> import React from 'react'; import moment from 'moment'; import 'moment/locale/zh-cn'; import { ThemeProps } from '../theme'; import { LocaleProps } from '../locale'; export declare type ShortCutDate = { label: string; date: moment.Moment; }; export declare type ShortCutDateRange = { label: string; startDate?: moment.Moment; endDate?: moment.Moment; }; export declare type ShortCuts = { label: string; value: string; } | ShortCutDate | ShortCutDateRange; export interface DateProps 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<ShortCuts>; overlayPlacement: string; dateFormat?: string; initial?: 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; borderMode?: 'full' | 'half' | 'none'; embed?: boolean; schedules?: Array<{ startTime: Date; endTime: Date; content: any; className?: string; }>; scheduleClassNames?: Array<string>; largeMode?: boolean; onScheduleClick?: (scheduleData: any) => void; useMobileUI?: boolean; mobileCalendarMode?: 'picker' | 'calendar'; } export interface DatePickerState { isOpened: boolean; isFocused: boolean; isInitial: boolean; value: moment.Moment | undefined; } export declare class DatePicker extends React.Component<DateProps, DatePickerState> { static defaultProps: { viewMode: "time" | "years" | "months" | "days"; shortcuts: string; closeOnSelect: boolean; overlayPlacement: string; scheduleClassNames: string[]; }; state: DatePickerState; constructor(props: DateProps); dom: HTMLDivElement; componentDidUpdate(prevProps: DateProps): void; numerical(): void; focus(): void; handleFocus(): void; handleBlur(): void; handleKeyPress(e: React.KeyboardEvent): void; handleClick(): void; handlePopOverClick(e: React.MouseEvent<any>): void; open(fn?: () => void): void; close(): void; clearValue(e: React.MouseEvent<any>): void; handleChange(value: moment.Moment, judge?: boolean): void; selectinit(initials: string[], type: string, value: moment.Moment): void; selectRannge(item: any, shortcutArr?: (string | ShortCuts)[]): void; checkIsValidDate(currentDate: moment.Moment): boolean; getTarget(): HTMLDivElement; getParent(): HTMLDivElement; domRef: (ref: HTMLDivElement) => void; getAvailableShortcuts(key: string): any; renderShortCuts(shortcuts: string | Array<ShortCuts>): JSX.Element | null; render(): JSX.Element; } declare const _default: { new (props: (Omit<Pick<Omit<DateProps, keyof LocaleProps>, "classPrefix" | "classnames" | "embed" | "className" | "theme" | "value" | "initial" | "defaultValue" | "disabled" | "placeholder" | "onChange" | "format" | "useMobileUI" | "clearable" | "inputFormat" | "maxDate" | "minDate" | "borderMode" | "popOverContainer" | "timeFormat" | "dateFormat" | "utc" | "timeConstraints" | "schedules" | "largeMode" | "onScheduleClick" | "popoverClassName" | "mobileCalendarMode"> & Partial<Pick<Omit<DateProps, keyof LocaleProps>, "viewMode" | "closeOnSelect" | "shortcuts" | "overlayPlacement" | "scheduleClassNames">> & Partial<Pick<{ viewMode: "time" | "years" | "months" | "days"; shortcuts: string; closeOnSelect: boolean; overlayPlacement: string; scheduleClassNames: string[]; }, never>> & { locale?: string | undefined; translate?: ((str: string, ...args: any[]) => string) | undefined; }, keyof ThemeProps> & import("../theme").ThemeOutterProps) | Readonly<Omit<Pick<Omit<DateProps, keyof LocaleProps>, "classPrefix" | "classnames" | "embed" | "className" | "theme" | "value" | "initial" | "defaultValue" | "disabled" | "placeholder" | "onChange" | "format" | "useMobileUI" | "clearable" | "inputFormat" | "maxDate" | "minDate" | "borderMode" | "popOverContainer" | "timeFormat" | "dateFormat" | "utc" | "timeConstraints" | "schedules" | "largeMode" | "onScheduleClick" | "popoverClassName" | "mobileCalendarMode"> & Partial<Pick<Omit<DateProps, keyof LocaleProps>, "viewMode" | "closeOnSelect" | "shortcuts" | "overlayPlacement" | "scheduleClassNames">> & Partial<Pick<{ viewMode: "time" | "years" | "months" | "days"; shortcuts: string; closeOnSelect: boolean; overlayPlacement: string; scheduleClassNames: string[]; }, never>> & { locale?: string | undefined; translate?: ((str: string, ...args: any[]) => string) | undefined; }, keyof ThemeProps> & import("../theme").ThemeOutterProps>): { render(): JSX.Element; context: any; setState<K extends never>(state: {} | ((prevState: Readonly<{}>, props: Readonly<Omit<Pick<Omit<DateProps, keyof LocaleProps>, "classPrefix" | "classnames" | "embed" | "className" | "theme" | "value" | "initial" | "defaultValue" | "disabled" | "placeholder" | "onChange" | "format" | "useMobileUI" | "clearable" | "inputFormat" | "maxDate" | "minDate" | "borderMode" | "popOverContainer" | "timeFormat" | "dateFormat" | "utc" | "timeConstraints" | "schedules" | "largeMode" | "onScheduleClick" | "popoverClassName" | "mobileCalendarMode"> & Partial<Pick<Omit<DateProps, keyof LocaleProps>, "viewMode" | "closeOnSelect" | "shortcuts" | "overlayPlacement" | "scheduleClassNames">> & Partial<Pick<{ viewMode: "time" | "years" | "months" | "days"; shortcuts: string; closeOnSelect: boolean; overlayPlacement: string; scheduleClassNames: string[]; }, never>> & { locale?: string | undefined; translate?: ((str: string, ...args: any[]) => string) | undefined; }, keyof ThemeProps> & import("../theme").ThemeOutterProps>) => {} | Pick<{}, K> | null) | Pick<{}, K> | null, callback?: (() => void) | undefined): void; forceUpdate(callback?: (() => void) | undefined): void; readonly props: Readonly<Omit<Pick<Omit<DateProps, keyof LocaleProps>, "classPrefix" | "classnames" | "embed" | "className" | "theme" | "value" | "initial" | "defaultValue" | "disabled" | "placeholder" | "onChange" | "format" | "useMobileUI" | "clearable" | "inputFormat" | "maxDate" | "minDate" | "borderMode" | "popOverContainer" | "timeFormat" | "dateFormat" | "utc" | "timeConstraints" | "schedules" | "largeMode" | "onScheduleClick" | "popoverClassName" | "mobileCalendarMode"> & Partial<Pick<Omit<DateProps, keyof LocaleProps>, "viewMode" | "closeOnSelect" | "shortcuts" | "overlayPlacement" | "scheduleClassNames">> & Partial<Pick<{ viewMode: "time" | "years" | "months" | "days"; shortcuts: string; closeOnSelect: boolean; overlayPlacement: string; scheduleClassNames: string[]; }, never>> & { locale?: string | undefined; translate?: ((str: string, ...args: any[]) => string) | undefined; }, keyof ThemeProps> & import("../theme").ThemeOutterProps> & Readonly<{ children?: React.ReactNode; }>; state: Readonly<{}>; refs: { [key: string]: React.ReactInstance; }; componentDidMount?(): void; shouldComponentUpdate?(nextProps: Readonly<Omit<Pick<Omit<DateProps, keyof LocaleProps>, "classPrefix" | "classnames" | "embed" | "className" | "theme" | "value" | "initial" | "defaultValue" | "disabled" | "placeholder" | "onChange" | "format" | "useMobileUI" | "clearable" | "inputFormat" | "maxDate" | "minDate" | "borderMode" | "popOverContainer" | "timeFormat" | "dateFormat" | "utc" | "timeConstraints" | "schedules" | "largeMode" | "onScheduleClick" | "popoverClassName" | "mobileCalendarMode"> & Partial<Pick<Omit<DateProps, keyof LocaleProps>, "viewMode" | "closeOnSelect" | "shortcuts" | "overlayPlacement" | "scheduleClassNames">> & Partial<Pick<{ viewMode: "time" | "years" | "months" | "days"; shortcuts: string; closeOnSelect: boolean; overlayPlacement: string; scheduleClassNames: string[]; }, never>> & { locale?: string | undefined; translate?: ((str: string, ...args: any[]) => string) | undefined; }, keyof ThemeProps> & import("../theme").ThemeOutterProps>, nextState: Readonly<{}>, nextContext: any): boolean; componentWillUnmount?(): void; componentDidCatch?(error: Error, errorInfo: React.ErrorInfo): void; getSnapshotBeforeUpdate?(prevProps: Readonly<Omit<Pick<Omit<DateProps, keyof LocaleProps>, "classPrefix" | "classnames" | "embed" | "className" | "theme" | "value" | "initial" | "defaultValue" | "disabled" | "placeholder" | "onChange" | "format" | "useMobileUI" | "clearable" | "inputFormat" | "maxDate" | "minDate" | "borderMode" | "popOverContainer" | "timeFormat" | "dateFormat" | "utc" | "timeConstraints" | "schedules" | "largeMode" | "onScheduleClick" | "popoverClassName" | "mobileCalendarMode"> & Partial<Pick<Omit<DateProps, keyof LocaleProps>, "viewMode" | "closeOnSelect" | "shortcuts" | "overlayPlacement" | "scheduleClassNames">> & Partial<Pick<{ viewMode: "time" | "years" | "months" | "days"; shortcuts: string; closeOnSelect: boolean; overlayPlacement: string; scheduleClassNames: string[]; }, never>> & { locale?: string | undefined; translate?: ((str: string, ...args: any[]) => string) | undefined; }, keyof ThemeProps> & import("../theme").ThemeOutterProps>, prevState: Readonly<{}>): any; componentDidUpdate?(prevProps: Readonly<Omit<Pick<Omit<DateProps, keyof LocaleProps>, "classPrefix" | "classnames" | "embed" | "className" | "theme" | "value" | "initial" | "defaultValue" | "disabled" | "placeholder" | "onChange" | "format" | "useMobileUI" | "clearable" | "inputFormat" | "maxDate" | "minDate" | "borderMode" | "popOverContainer" | "timeFormat" | "dateFormat" | "utc" | "timeConstraints" | "schedules" | "largeMode" | "onScheduleClick" | "popoverClassName" | "mobileCalendarMode"> & Partial<Pick<Omit<DateProps, keyof LocaleProps>, "viewMode" | "closeOnSelect" | "shortcuts" | "overlayPlacement" | "scheduleClassNames">> & Partial<Pick<{ viewMode: "time" | "years" | "months" | "days"; shortcuts: string; closeOnSelect: boolean; overlayPlacement: string; scheduleClassNames: string[]; }, never>> & { locale?: string | undefined; translate?: ((str: string, ...args: any[]) => string) | undefined; }, keyof ThemeProps> & import("../theme").ThemeOutterProps>, prevState: Readonly<{}>, snapshot?: any): void; componentWillMount?(): void; UNSAFE_componentWillMount?(): void; componentWillReceiveProps?(nextProps: Readonly<Omit<Pick<Omit<DateProps, keyof LocaleProps>, "classPrefix" | "classnames" | "embed" | "className" | "theme" | "value" | "initial" | "defaultValue" | "disabled" | "placeholder" | "onChange" | "format" | "useMobileUI" | "clearable" | "inputFormat" | "maxDate" | "minDate" | "borderMode" | "popOverContainer" | "timeFormat" | "dateFormat" | "utc" | "timeConstraints" | "schedules" | "largeMode" | "onScheduleClick" | "popoverClassName" | "mobileCalendarMode"> & Partial<Pick<Omit<DateProps, keyof LocaleProps>, "viewMode" | "closeOnSelect" | "shortcuts" | "overlayPlacement" | "scheduleClassNames">> & Partial<Pick<{ viewMode: "time" | "years" | "months" | "days"; shortcuts: string; closeOnSelect: boolean; overlayPlacement: string; scheduleClassNames: string[]; }, never>> & { locale?: string | undefined; translate?: ((str: string, ...args: any[]) => string) | undefined; }, keyof ThemeProps> & import("../theme").ThemeOutterProps>, nextContext: any): void; UNSAFE_componentWillReceiveProps?(nextProps: Readonly<Omit<Pick<Omit<DateProps, keyof LocaleProps>, "classPrefix" | "classnames" | "embed" | "className" | "theme" | "value" | "initial" | "defaultValue" | "disabled" | "placeholder" | "onChange" | "format" | "useMobileUI" | "clearable" | "inputFormat" | "maxDate" | "minDate" | "borderMode" | "popOverContainer" | "timeFormat" | "dateFormat" | "utc" | "timeConstraints" | "schedules" | "largeMode" | "onScheduleClick" | "popoverClassName" | "mobileCalendarMode"> & Partial<Pick<Omit<DateProps, keyof LocaleProps>, "viewMode" | "closeOnSelect" | "shortcuts" | "overlayPlacement" | "scheduleClassNames">> & Partial<Pick<{ viewMode: "time" | "years" | "months" | "days"; shortcuts: string; closeOnSelect: boolean; overlayPlacement: string; scheduleClassNames: string[]; }, never>> & { locale?: string | undefined; translate?: ((str: string, ...args: any[]) => string) | undefined; }, keyof ThemeProps> & import("../theme").ThemeOutterProps>, nextContext: any): void; componentWillUpdate?(nextProps: Readonly<Omit<Pick<Omit<DateProps, keyof LocaleProps>, "classPrefix" | "classnames" | "embed" | "className" | "theme" | "value" | "initial" | "defaultValue" | "disabled" | "placeholder" | "onChange" | "format" | "useMobileUI" | "clearable" | "inputFormat" | "maxDate" | "minDate" | "borderMode" | "popOverContainer" | "timeFormat" | "dateFormat" | "utc" | "timeConstraints" | "schedules" | "largeMode" | "onScheduleClick" | "popoverClassName" | "mobileCalendarMode"> & Partial<Pick<Omit<DateProps, keyof LocaleProps>, "viewMode" | "closeOnSelect" | "shortcuts" | "overlayPlacement" | "scheduleClassNames">> & Partial<Pick<{ viewMode: "time" | "years" | "months" | "days"; shortcuts: string; closeOnSelect: boolean; overlayPlacement: string; scheduleClassNames: string[]; }, never>> & { locale?: string | undefined; translate?: ((str: string, ...args: any[]) => string) | undefined; }, keyof ThemeProps> & import("../theme").ThemeOutterProps>, nextState: Readonly<{}>, nextContext: any): void; UNSAFE_componentWillUpdate?(nextProps: Readonly<Omit<Pick<Omit<DateProps, keyof LocaleProps>, "classPrefix" | "classnames" | "embed" | "className" | "theme" | "value" | "initial" | "defaultValue" | "disabled" | "placeholder" | "onChange" | "format" | "useMobileUI" | "clearable" | "inputFormat" | "maxDate" | "minDate" | "borderMode" | "popOverContainer" | "timeFormat" | "dateFormat" | "utc" | "timeConstraints" | "schedules" | "largeMode" | "onScheduleClick" | "popoverClassName" | "mobileCalendarMode"> & Partial<Pick<Omit<DateProps, keyof LocaleProps>, "viewMode" | "closeOnSelect" | "shortcuts" | "overlayPlacement" | "scheduleClassNames">> & Partial<Pick<{ viewMode: "time" | "years" | "months" | "days"; shortcuts: string; closeOnSelect: boolean; overlayPlacement: string; scheduleClassNames: string[]; }, never>> & { locale?: string | undefined; translate?: ((str: string, ...args: any[]) => string) | undefined; }, keyof ThemeProps> & import("../theme").ThemeOutterProps>, nextState: Readonly<{}>, nextContext: any): void; }; new (props: Omit<Pick<Omit<DateProps, keyof LocaleProps>, "classPrefix" | "classnames" | "embed" | "className" | "theme" | "value" | "initial" | "defaultValue" | "disabled" | "placeholder" | "onChange" | "format" | "useMobileUI" | "clearable" | "inputFormat" | "maxDate" | "minDate" | "borderMode" | "popOverContainer" | "timeFormat" | "dateFormat" | "utc" | "timeConstraints" | "schedules" | "largeMode" | "onScheduleClick" | "popoverClassName" | "mobileCalendarMode"> & Partial<Pick<Omit<DateProps, keyof LocaleProps>, "viewMode" | "closeOnSelect" | "shortcuts" | "overlayPlacement" | "scheduleClassNames">> & Partial<Pick<{ viewMode: "time" | "years" | "months" | "days"; shortcuts: string; closeOnSelect: boolean; overlayPlacement: string; scheduleClassNames: string[]; }, never>> & { locale?: string | undefined; translate?: ((str: string, ...args: any[]) => string) | undefined; }, keyof ThemeProps> & import("../theme").ThemeOutterProps, context: any): { render(): JSX.Element; context: any; setState<K extends never>(state: {} | ((prevState: Readonly<{}>, props: Readonly<Omit<Pick<Omit<DateProps, keyof LocaleProps>, "classPrefix" | "classnames" | "embed" | "className" | "theme" | "value" | "initial" | "defaultValue" | "disabled" | "placeholder" | "onChange" | "format" | "useMobileUI" | "clearable" | "inputFormat" | "maxDate" | "minDate" | "borderMode" | "popOverContainer" | "timeFormat" | "dateFormat" | "utc" | "timeConstraints" | "schedules" | "largeMode" | "onScheduleClick" | "popoverClassName" | "mobileCalendarMode"> & Partial<Pick<Omit<DateProps, keyof LocaleProps>, "viewMode" | "closeOnSelect" | "shortcuts" | "overlayPlacement" | "scheduleClassNames">> & Partial<Pick<{ viewMode: "time" | "years" | "months" | "days"; shortcuts: string; closeOnSelect: boolean; overlayPlacement: string; scheduleClassNames: string[]; }, never>> & { locale?: string | undefined; translate?: ((str: string, ...args: any[]) => string) | undefined; }, keyof ThemeProps> & import("../theme").ThemeOutterProps>) => {} | Pick<{}, K> | null) | Pick<{}, K> | null, callback?: (() => void) | undefined): void; forceUpdate(callback?: (() => void) | undefined): void; readonly props: Readonly<Omit<Pick<Omit<DateProps, keyof LocaleProps>, "classPrefix" | "classnames" | "embed" | "className" | "theme" | "value" | "initial" | "defaultValue" | "disabled" | "placeholder" | "onChange" | "format" | "useMobileUI" | "clearable" | "inputFormat" | "maxDate" | "minDate" | "borderMode" | "popOverContainer" | "timeFormat" | "dateFormat" | "utc" | "timeConstraints" | "schedules" | "largeMode" | "onScheduleClick" | "popoverClassName" | "mobileCalendarMode"> & Partial<Pick<Omit<DateProps, keyof LocaleProps>, "viewMode" | "closeOnSelect" | "shortcuts" | "overlayPlacement" | "scheduleClassNames">> & Partial<Pick<{ viewMode: "time" | "years" | "months" | "days"; shortcuts: string; closeOnSelect: boolean; overlayPlacement: string; scheduleClassNames: string[]; }, never>> & { locale?: string | undefined; translate?: ((str: string, ...args: any[]) => string) | undefined; }, keyof ThemeProps> & import("../theme").ThemeOutterProps> & Readonly<{ children?: React.ReactNode; }>; state: Readonly<{}>; refs: { [key: string]: React.ReactInstance; }; componentDidMount?(): void; shouldComponentUpdate?(nextProps: Readonly<Omit<Pick<Omit<DateProps, keyof LocaleProps>, "classPrefix" | "classnames" | "embed" | "className" | "theme" | "value" | "initial" | "defaultValue" | "disabled" | "placeholder" | "onChange" | "format" | "useMobileUI" | "clearable" | "inputFormat" | "maxDate" | "minDate" | "borderMode" | "popOverContainer" | "timeFormat" | "dateFormat" | "utc" | "timeConstraints" | "schedules" | "largeMode" | "onScheduleClick" | "popoverClassName" | "mobileCalendarMode"> & Partial<Pick<Omit<DateProps, keyof LocaleProps>, "viewMode" | "closeOnSelect" | "shortcuts" | "overlayPlacement" | "scheduleClassNames">> & Partial<Pick<{ viewMode: "time" | "years" | "months" | "days"; shortcuts: string; closeOnSelect: boolean; overlayPlacement: string; scheduleClassNames: string[]; }, never>> & { locale?: string | undefined; translate?: ((str: string, ...args: any[]) => string) | undefined; }, keyof ThemeProps> & import("../theme").ThemeOutterProps>, nextState: Readonly<{}>, nextContext: any): boolean; componentWillUnmount?(): void; componentDidCatch?(error: Error, errorInfo: React.ErrorInfo): void; getSnapshotBeforeUpdate?(prevProps: Readonly<Omit<Pick<Omit<DateProps, keyof LocaleProps>, "classPrefix" | "classnames" | "embed" | "className" | "theme" | "value" | "initial" | "defaultValue" | "disabled" | "placeholder" | "onChange" | "format" | "useMobileUI" | "clearable" | "inputFormat" | "maxDate" | "minDate" | "borderMode" | "popOverContainer" | "timeFormat" | "dateFormat" | "utc" | "timeConstraints" | "schedules" | "largeMode" | "onScheduleClick" | "popoverClassName" | "mobileCalendarMode"> & Partial<Pick<Omit<DateProps, keyof LocaleProps>, "viewMode" | "closeOnSelect" | "shortcuts" | "overlayPlacement" | "scheduleClassNames">> & Partial<Pick<{ viewMode: "time" | "years" | "months" | "days"; shortcuts: string; closeOnSelect: boolean; overlayPlacement: string; scheduleClassNames: string[]; }, never>> & { locale?: string | undefined; translate?: ((str: string, ...args: any[]) => string) | undefined; }, keyof ThemeProps> & import("../theme").ThemeOutterProps>, prevState: Readonly<{}>): any; componentDidUpdate?(prevProps: Readonly<Omit<Pick<Omit<DateProps, keyof LocaleProps>, "classPrefix" | "classnames" | "embed" | "className" | "theme" | "value" | "initial" | "defaultValue" | "disabled" | "placeholder" | "onChange" | "format" | "useMobileUI" | "clearable" | "inputFormat" | "maxDate" | "minDate" | "borderMode" | "popOverContainer" | "timeFormat" | "dateFormat" | "utc" | "timeConstraints" | "schedules" | "largeMode" | "onScheduleClick" | "popoverClassName" | "mobileCalendarMode"> & Partial<Pick<Omit<DateProps, keyof LocaleProps>, "viewMode" | "closeOnSelect" | "shortcuts" | "overlayPlacement" | "scheduleClassNames">> & Partial<Pick<{ viewMode: "time" | "years" | "months" | "days"; shortcuts: string; closeOnSelect: boolean; overlayPlacement: string; scheduleClassNames: string[]; }, never>> & { locale?: string | undefined; translate?: ((str: string, ...args: any[]) => string) | undefined; }, keyof ThemeProps> & import("../theme").ThemeOutterProps>, prevState: Readonly<{}>, snapshot?: any): void; componentWillMount?(): void; UNSAFE_componentWillMount?(): void; componentWillReceiveProps?(nextProps: Readonly<Omit<Pick<Omit<DateProps, keyof LocaleProps>, "classPrefix" | "classnames" | "embed" | "className" | "theme" | "value" | "initial" | "defaultValue" | "disabled" | "placeholder" | "onChange" | "format" | "useMobileUI" | "clearable" | "inputFormat" | "maxDate" | "minDate" | "borderMode" | "popOverContainer" | "timeFormat" | "dateFormat" | "utc" | "timeConstraints" | "schedules" | "largeMode" | "onScheduleClick" | "popoverClassName" | "mobileCalendarMode"> & Partial<Pick<Omit<DateProps, keyof LocaleProps>, "viewMode" | "closeOnSelect" | "shortcuts" | "overlayPlacement" | "scheduleClassNames">> & Partial<Pick<{ viewMode: "time" | "years" | "months" | "days"; shortcuts: string; closeOnSelect: boolean; overlayPlacement: string; scheduleClassNames: string[]; }, never>> & { locale?: string | undefined; translate?: ((str: string, ...args: any[]) => string) | undefined; }, keyof ThemeProps> & import("../theme").ThemeOutterProps>, nextContext: any): void; UNSAFE_componentWillReceiveProps?(nextProps: Readonly<Omit<Pick<Omit<DateProps, keyof LocaleProps>, "classPrefix" | "classnames" | "embed" | "className" | "theme" | "value" | "initial" | "defaultValue" | "disabled" | "placeholder" | "onChange" | "format" | "useMobileUI" | "clearable" | "inputFormat" | "maxDate" | "minDate" | "borderMode" | "popOverContainer" | "timeFormat" | "dateFormat" | "utc" | "timeConstraints" | "schedules" | "largeMode" | "onScheduleClick" | "popoverClassName" | "mobileCalendarMode"> & Partial<Pick<Omit<DateProps, keyof LocaleProps>, "viewMode" | "closeOnSelect" | "shortcuts" | "overlayPlacement" | "scheduleClassNames">> & Partial<Pick<{ viewMode: "time" | "years" | "months" | "days"; shortcuts: string; closeOnSelect: boolean; overlayPlacement: string; scheduleClassNames: string[]; }, never>> & { locale?: string | undefined; translate?: ((str: string, ...args: any[]) => string) | undefined; }, keyof ThemeProps> & import("../theme").ThemeOutterProps>, nextContext: any): void; componentWillUpdate?(nextProps: Readonly<Omit<Pick<Omit<DateProps, keyof LocaleProps>, "classPrefix" | "classnames" | "embed" | "className" | "theme" | "value" | "initial" | "defaultValue" | "disabled" | "placeholder" | "onChange" | "format" | "useMobileUI" | "clearable" | "inputFormat" | "maxDate" | "minDate" | "borderMode" | "popOverContainer" | "timeFormat" | "dateFormat" | "utc" | "timeConstraints" | "schedules" | "largeMode" | "onScheduleClick" | "popoverClassName" | "mobileCalendarMode"> & Partial<Pick<Omit<DateProps, keyof LocaleProps>, "viewMode" | "closeOnSelect" | "shortcuts" | "overlayPlacement" | "scheduleClassNames">> & Partial<Pick<{ viewMode: "time" | "years" | "months" | "days"; shortcuts: string; closeOnSelect: boolean; overlayPlacement: string; scheduleClassNames: string[]; }, never>> & { locale?: string | undefined; translate?: ((str: string, ...args: any[]) => string) | undefined; }, keyof ThemeProps> & import("../theme").ThemeOutterProps>, nextState: Readonly<{}>, nextContext: any): void; UNSAFE_componentWillUpdate?(nextProps: Readonly<Omit<Pick<Omit<DateProps, keyof LocaleProps>, "classPrefix" | "classnames" | "embed" | "className" | "theme" | "value" | "initial" | "defaultValue" | "disabled" | "placeholder" | "onChange" | "format" | "useMobileUI" | "clearable" | "inputFormat" | "maxDate" | "minDate" | "borderMode" | "popOverContainer" | "timeFormat" | "dateFormat" | "utc" | "timeConstraints" | "schedules" | "largeMode" | "onScheduleClick" | "popoverClassName" | "mobileCalendarMode"> & Partial<Pick<Omit<DateProps, keyof LocaleProps>, "viewMode" | "closeOnSelect" | "shortcuts" | "overlayPlacement" | "scheduleClassNames">> & Partial<Pick<{ viewMode: "time" | "years" | "months" | "days"; shortcuts: string; closeOnSelect: boolean; overlayPlacement: string; scheduleClassNames: string[]; }, never>> & { locale?: string | undefined; translate?: ((str: string, ...args: any[]) => string) | undefined; }, keyof ThemeProps> & import("../theme").ThemeOutterProps>, nextState: Readonly<{}>, nextContext: any): void; }; displayName: string; contextType: React.Context<string>; ComposedComponent: React.ComponentType<{ new (props: (Pick<Omit<DateProps, keyof LocaleProps>, "classPrefix" | "classnames" | "embed" | "className" | "theme" | "value" | "initial" | "defaultValue" | "disabled" | "placeholder" | "onChange" | "format" | "useMobileUI" | "clearable" | "inputFormat" | "maxDate" | "minDate" | "borderMode" | "popOverContainer" | "timeFormat" | "dateFormat" | "utc" | "timeConstraints" | "schedules" | "largeMode" | "onScheduleClick" | "popoverClassName" | "mobileCalendarMode"> & Partial<Pick<Omit<DateProps, keyof LocaleProps>, "viewMode" | "closeOnSelect" | "shortcuts" | "overlayPlacement" | "scheduleClassNames">> & Partial<Pick<{ viewMode: "time" | "years" | "months" | "days"; shortcuts: string; closeOnSelect: boolean; overlayPlacement: string; scheduleClassNames: string[]; }, never>> & { locale?: string | undefined; translate?: ((str: string, ...args: any[]) => string) | undefined; }) | Readonly<Pick<Omit<DateProps, keyof LocaleProps>, "classPrefix" | "classnames" | "embed" | "className" | "theme" | "value" | "initial" | "defaultValue" | "disabled" | "placeholder" | "onChange" | "format" | "useMobileUI" | "clearable" | "inputFormat" | "maxDate" | "minDate" | "borderMode" | "popOverContainer" | "timeFormat" | "dateFormat" | "utc" | "timeConstraints" | "schedules" | "largeMode" | "onScheduleClick" | "popoverClassName" | "mobileCalendarMode"> & Partial<Pick<Omit<DateProps, keyof LocaleProps>, "viewMode" | "closeOnSelect" | "shortcuts" | "overlayPlacement" | "scheduleClassNames">> & Partial<Pick<{ viewMode: "time" | "years" | "months" | "days"; shortcuts: string; closeOnSelect: boolean; overlayPlacement: string; scheduleClassNames: string[]; }, never>> & { locale?: string | undefined; translate?: ((str: string, ...args: any[]) => string) | undefined; }>): { render(): JSX.Element; context: any; setState<K_1 extends never>(state: {} | ((prevState: Readonly<{}>, props: Readonly<Pick<Omit<DateProps, keyof LocaleProps>, "classPrefix" | "classnames" | "embed" | "className" | "theme" | "value" | "initial" | "defaultValue" | "disabled" | "placeholder" | "onChange" | "format" | "useMobileUI" | "clearable" | "inputFormat" | "maxDate" | "minDate" | "borderMode" | "popOverContainer" | "timeFormat" | "dateFormat" | "utc" | "timeConstraints" | "schedules" | "largeMode" | "onScheduleClick" | "popoverClassName" | "mobileCalendarMode"> & Partial<Pick<Omit<DateProps, keyof LocaleProps>, "viewMode" | "closeOnSelect" | "shortcuts" | "overlayPlacement" | "scheduleClassNames">> & Partial<Pick<{ viewMode: "time" | "years" | "months" | "days"; shortcuts: string; closeOnSelect: boolean; overlayPlacement: string; scheduleClassNames: string[]; }, never>> & { locale?: string | undefined; translate?: ((str: string, ...args: any[]) => string) | undefined; }>) => {} | Pick<{}, K_1> | null) | Pick<{}, K_1> | null, callback?: (() => void) | undefined): void; forceUpdate(callback?: (() => void) | undefined): void; readonly props: Readonly<Pick<Omit<DateProps, keyof LocaleProps>, "classPrefix" | "classnames" | "embed" | "className" | "theme" | "value" | "initial" | "defaultValue" | "disabled" | "placeholder" | "onChange" | "format" | "useMobileUI" | "clearable" | "inputFormat" | "maxDate" | "minDate" | "borderMode" | "popOverContainer" | "timeFormat" | "dateFormat" | "utc" | "timeConstraints" | "schedules" | "largeMode" | "onScheduleClick" | "popoverClassName" | "mobileCalendarMode"> & Partial<Pick<Omit<DateProps, keyof LocaleProps>, "viewMode" | "closeOnSelect" | "shortcuts" | "overlayPlacement" | "scheduleClassNames">> & Partial<Pick<{ viewMode: "time" | "years" | "months" | "days"; shortcuts: string; closeOnSelect: boolean; overlayPlacement: string; scheduleClassNames: string[]; }, never>> & { locale?: string | undefined; translate?: ((str: string, ...args: any[]) => string) | undefined; }> & Readonly<{ children?: React.ReactNode; }>; state: Readonly<{}>; refs: { [key: string]: React.ReactInstance; }; componentDidMount?(): void; shouldComponentUpdate?(nextProps: Readonly<Pick<Omit<DateProps, keyof LocaleProps>, "classPrefix" | "classnames" | "embed" | "className" | "theme" | "value" | "initial" | "defaultValue" | "disabled" | "placeholder" | "onChange" | "format" | "useMobileUI" | "clearable" | "inputFormat" | "maxDate" | "minDate" | "borderMode" | "popOverContainer" | "timeFormat" | "dateFormat" | "utc" | "timeConstraints" | "schedules" | "largeMode" | "onScheduleClick" | "popoverClassName" | "mobileCalendarMode"> & Partial<Pick<Omit<DateProps, keyof LocaleProps>, "viewMode" | "closeOnSelect" | "shortcuts" | "overlayPlacement" | "scheduleClassNames">> & Partial<Pick<{ viewMode: "time" | "years" | "months" | "days"; shortcuts: string; closeOnSelect: boolean; overlayPlacement: string; scheduleClassNames: string[]; }, never>> & { locale?: string | undefined; translate?: ((str: string, ...args: any[]) => string) | undefined; }>, nextState: Readonly<{}>, nextContext: any): boolean; componentWillUnmount?(): void; componentDidCatch?(error: Error, errorInfo: React.ErrorInfo): void; getSnapshotBeforeUpdate?(prevProps: Readonly<Pick<Omit<DateProps, keyof LocaleProps>, "classPrefix" | "classnames" | "embed" | "className" | "theme" | "value" | "initial" | "defaultValue" | "disabled" | "placeholder" | "onChange" | "format" | "useMobileUI" | "clearable" | "inputFormat" | "maxDate" | "minDate" | "borderMode" | "popOverContainer" | "timeFormat" | "dateFormat" | "utc" | "timeConstraints" | "schedules" | "largeMode" | "onScheduleClick" | "popoverClassName" | "mobileCalendarMode"> & Partial<Pick<Omit<DateProps, keyof LocaleProps>, "viewMode" | "closeOnSelect" | "shortcuts" | "overlayPlacement" | "scheduleClassNames">> & Partial<Pick<{ viewMode: "time" | "years" | "months" | "days"; shortcuts: string; closeOnSelect: boolean; overlayPlacement: string; scheduleClassNames: string[]; }, never>> & { locale?: string | undefined; translate?: ((str: string, ...args: any[]) => string) | undefined; }>, prevState: Readonly<{}>): any; componentDidUpdate?(prevProps: Readonly<Pick<Omit<DateProps, keyof LocaleProps>, "classPrefix" | "classnames" | "embed" | "className" | "theme" | "value" | "initial" | "defaultValue" | "disabled" | "placeholder" | "onChange" | "format" | "useMobileUI" | "clearable" | "inputFormat" | "maxDate" | "minDate" | "borderMode" | "popOverContainer" | "timeFormat" | "dateFormat" | "utc" | "timeConstraints" | "schedules" | "largeMode" | "onScheduleClick" | "popoverClassName" | "mobileCalendarMode"> & Partial<Pick<Omit<DateProps, keyof LocaleProps>, "viewMode" | "closeOnSelect" | "shortcuts" | "overlayPlacement" | "scheduleClassNames">> & Partial<Pick<{ viewMode: "time" | "years" | "months" | "days"; shortcuts: string; closeOnSelect: boolean; overlayPlacement: string; scheduleClassNames: string[]; }, never>> & { locale?: string | undefined; translate?: ((str: string, ...args: any[]) => string) | undefined; }>, prevState: Readonly<{}>, snapshot?: any): void; componentWillMount?(): void; UNSAFE_componentWillMount?(): void; componentWillReceiveProps?(nextProps: Readonly<Pick<Omit<DateProps, keyof LocaleProps>, "classPrefix" | "classnames" | "embed" | "className" | "theme" | "value" | "initial" | "defaultValue" | "disabled" | "placeholder" | "onChange" | "format" | "useMobileUI" | "clearable" | "inputFormat" | "maxDate" | "minDate" | "borderMode" | "popOverContainer" | "timeFormat" | "dateFormat" | "utc" | "timeConstraints" | "schedules" | "largeMode" | "onScheduleClick" | "popoverClassName" | "mobileCalendarMode"> & Partial<Pick<Omit<DateProps, keyof LocaleProps>, "viewMode" | "closeOnSelect" | "shortcuts" | "overlayPlacement" | "scheduleClassNames">> & Partial<Pick<{ viewMode: "time" | "years" | "months" | "days"; shortcuts: string; closeOnSelect: boolean; overlayPlacement: string; scheduleClassNames: string[]; }, never>> & { locale?: string | undefined; translate?: ((str: string, ...args: any[]) => string) | undefined; }>, nextContext: any): void; UNSAFE_componentWillReceiveProps?(nextProps: Readonly<Pick<Omit<DateProps, keyof LocaleProps>, "classPrefix" | "classnames" | "embed" | "className" | "theme" | "value" | "initial" | "defaultValue" | "disabled" | "placeholder" | "onChange" | "format" | "useMobileUI" | "clearable" | "inputFormat" | "maxDate" | "minDate" | "borderMode" | "popOverContainer" | "timeFormat" | "dateFormat" | "utc" | "timeConstraints" | "schedules" | "largeMode" | "onScheduleClick" | "popoverClassName" | "mobileCalendarMode"> & Partial<Pick<Omit<DateProps, keyof LocaleProps>, "viewMode" | "closeOnSelect" | "shortcuts" | "overlayPlacement" | "scheduleClassNames">> & Partial<Pick<{ viewMode: "time" | "years" | "months" | "days"; shortcuts: string; closeOnSelect: boolean; overlayPlacement: string; scheduleClassNames: string[]; }, never>> & { locale?: string | undefined; translate?: ((str: string, ...args: any[]) => string) | undefined; }>, nextContext: any): void; componentWillUpdate?(nextProps: Readonly<Pick<Omit<DateProps, keyof LocaleProps>, "classPrefix" | "classnames" | "embed" | "className" | "theme" | "value" | "initial" | "defaultValue" | "disabled" | "placeholder" | "onChange" | "format" | "useMobileUI" | "clearable" | "inputFormat" | "maxDate" | "minDate" | "borderMode" | "popOverContainer" | "timeFormat" | "dateFormat" | "utc" | "timeConstraints" | "schedules" | "largeMode" | "onScheduleClick" | "popoverClassName" | "mobileCalendarMode"> & Partial<Pick<Omit<DateProps, keyof LocaleProps>, "viewMode" | "closeOnSelect" | "shortcuts" | "overlayPlacement" | "scheduleClassNames">> & Partial<Pick<{ viewMode: "time" | "years" | "months" | "days"; shortcuts: string; closeOnSelect: boolean; overlayPlacement: string; scheduleClassNames: string[]; }, never>> & { locale?: string | undefined; translate?: ((str: string, ...args: any[]) => string) | undefined; }>, nextState: Readonly<{}>, nextContext: any): void; UNSAFE_componentWillUpdate?(nextProps: Readonly<Pick<Omit<DateProps, keyof LocaleProps>, "classPrefix" | "classnames" | "embed" | "className" | "theme" | "value" | "initial" | "defaultValue" | "disabled" | "placeholder" | "onChange" | "format" | "useMobileUI" | "clearable" | "inputFormat" | "maxDate" | "minDate" | "borderMode" | "popOverContainer" | "timeFormat" | "dateFormat" | "utc" | "timeConstraints" | "schedules" | "largeMode" | "onScheduleClick" | "popoverClassName" | "mobileCalendarMode"> & Partial<Pick<Omit<DateProps, keyof LocaleProps>, "viewMode" | "closeOnSelect" | "shortcuts" | "overlayPlacement" | "scheduleClassNames">> & Partial<Pick<{ viewMode: "time" | "years" | "months" | "days"; shortcuts: string; closeOnSelect: boolean; overlayPlacement: string; scheduleClassNames: string[]; }, never>> & { locale?: string | undefined; translate?: ((str: string, ...args: any[]) => string) | undefined; }>, nextState: Readonly<{}>, nextContext: any): void; }; new (props: Pick<Omit<DateProps, keyof LocaleProps>, "classPrefix" | "classnames" | "embed" | "className" | "theme" | "value" | "initial" | "defaultValue" | "disabled" | "placeholder" | "onChange" | "format" | "useMobileUI" | "clearable" | "inputFormat" | "maxDate" | "minDate" | "borderMode" | "popOverContainer" | "timeFormat" | "dateFormat" | "utc" | "timeConstraints" | "schedules" | "largeMode" | "onScheduleClick" | "popoverClassName" | "mobileCalendarMode"> & Partial<Pick<Omit<DateProps, keyof LocaleProps>, "viewMode" | "closeOnSelect" | "shortcuts" | "overlayPlacement" | "scheduleClassNames">> & Partial<Pick<{ viewMode: "time" | "years" | "months" | "days"; shortcuts: string; closeOnSelect: boolean; overlayPlacement: string; scheduleClassNames: string[]; }, never>> & { locale?: string | undefined; translate?: ((str: string, ...args: any[]) => string) | undefined; }, context: any): { render(): JSX.Element; context: any; setState<K_1 extends never>(state: {} | ((prevState: Readonly<{}>, props: Readonly<Pick<Omit<DateProps, keyof LocaleProps>, "classPrefix" | "classnames" | "embed" | "className" | "theme" | "value" | "initial" | "defaultValue" | "disabled" | "placeholder" | "onChange" | "format" | "useMobileUI" | "clearable" | "inputFormat" | "maxDate" | "minDate" | "borderMode" | "popOverContainer" | "timeFormat" | "dateFormat" | "utc" | "timeConstraints" | "schedules" | "largeMode" | "onScheduleClick" | "popoverClassName" | "mobileCalendarMode"> & Partial<Pick<Omit<DateProps, keyof LocaleProps>, "viewMode" | "closeOnSelect" | "shortcuts" | "overlayPlacement" | "scheduleClassNames">> & Partial<Pick<{ viewMode: "time" | "years" | "months" | "days"; shortcuts: string; closeOnSelect: boolean; overlayPlacement: string; scheduleClassNames: string[]; }, never>> & { locale?: string | undefined; translate?: ((str: string, ...args: any[]) => string) | undefined; }>) => {} | Pick<{}, K_1> | null) | Pick<{}, K_1> | null, callback?: (() => void) | undefined): void; forceUpdate(callback?: (() => void) | undefined): void; readonly props: Readonly<Pick<Omit<DateProps, keyof LocaleProps>, "classPrefix" | "classnames" | "embed" | "className" | "theme" | "value" | "initial" | "defaultValue" | "disabled" | "placeholder" | "onChange" | "format" | "useMobileUI" | "clearable" | "inputFormat" | "maxDate" | "minDate" | "borderMode" | "popOverContainer" | "timeFormat" | "dateFormat" | "utc" | "timeConstraints" | "schedules" | "largeMode" | "onScheduleClick" | "popoverClassName" | "mobileCalendarMode"> & Partial<Pick<Omit<DateProps, keyof LocaleProps>, "viewMode" | "closeOnSelect" | "shortcuts" | "overlayPlacement" | "scheduleClassNames">> & Partial<Pick<{ viewMode: "time" | "years" | "months" | "days"; shortcuts: string; closeOnSelect: boolean; overlayPlacement: string; scheduleClassNames: string[]; }, never>> & { locale?: string | undefined; translate?: ((str: string, ...args: any[]) => string) | undefined; }> & Readonly<{ children?: React.ReactNode; }>; state: Readonly<{}>; refs: { [key: string]: React.ReactInstance; }; componentDidMount?(): void; shouldComponentUpdate?(nextProps: Readonly<Pick<Omit<DateProps, keyof LocaleProps>, "classPrefix" | "classnames" | "embed" | "className" | "theme" | "value" | "initial" | "defaultValue" | "disabled" | "placeholder" | "onChange" | "format" | "useMobileUI" | "clearable" | "inputFormat" | "maxDate" | "minDate" | "borderMode" | "popOverContainer" | "timeFormat" | "dateFormat" | "utc" | "timeConstraints" | "schedules" | "largeMode" | "onScheduleClick" | "popoverClassName" | "mobileCalendarMode"> & Partial<Pick<Omit<DateProps, keyof LocaleProps>, "viewMode" | "closeOnSelect" | "shortcuts" | "overlayPlacement" | "scheduleClassNames">> & Partial<Pick<{ viewMode: "time" | "years" | "months" | "days"; shortcuts: string; closeOnSelect: boolean; overlayPlacement: string; scheduleClassNames: string[]; }, never>> & { locale?: string | undefined; translate?: ((str: string, ...args: any[]) => string) | undefined; }>, nextState: Readonly<{}>, nextContext: any): boolean; componentWillUnmount?(): void; componentDidCatch?(error: Error, errorInfo: React.ErrorInfo): void; getSnapshotBeforeUpdate?(prevProps: Readonly<Pick<Omit<DateProps, keyof LocaleProps>, "classPrefix" | "classnames" | "embed" | "className" | "theme" | "value" | "initial" | "defaultValue" | "disabled" | "placeholder" | "onChange" | "format" | "useMobileUI" | "clearable" | "inputFormat" | "maxDate" | "minDate" | "borderMode" | "popOverContainer" | "timeFormat" | "dateFormat" | "utc" | "timeConstraints" | "schedules" | "largeMode" | "onScheduleClick" | "popoverClassName" | "mobileCalendarMode"> & Partial<Pick<Omit<DateProps, keyof LocaleProps>, "viewMode" | "closeOnSelect" | "shortcuts" | "overlayPlacement" | "scheduleClassNames">> & Partial<Pick<{ viewMode: "time" | "years" | "months" | "days"; shortcuts: string; closeOnSelect: boolean; overlayPlacement: string; scheduleClassNames: string[]; }, never>> & { locale?: string | undefined; translate?: ((str: string, ...args: any[]) => string) | undefined; }>, prevState: Readonly<{}>): any; componentDidUpdate?(prevProps: Readonly<Pick<Omit<DateProps, keyof LocaleProps>, "classPrefix" | "classnames" | "embed" | "className" | "theme" | "value" | "initial" | "defaultValue" | "disabled" | "placeholder" | "onChange" | "format" | "useMobileUI" | "clearable" | "inputFormat" | "maxDate" | "minDate" | "borderMode" | "popOverContainer" | "timeFormat" | "dateFormat" | "utc" | "timeConstraints" | "schedules" | "largeMode" | "onScheduleClick" | "popoverClassName" | "mobileCalendarMode"> & Partial<Pick<Omit<DateProps, keyof LocaleProps>, "viewMode" | "closeOnSelect" | "shortcuts" | "overlayPlacement" | "scheduleClassNames">> & Partial<Pick<{ viewMode: "time" | "years" | "months" | "days"; shortcuts: string; closeOnSelect: boolean; overlayPlacement: string; scheduleClassNames: string[]; }, never>> & { locale?: string | undefined; translate?: ((str: string, ...args: any[]) => string) | undefined; }>, prevState: Readonly<{}>, snapshot?: any): void; componentWillMount?(): void; UNSAFE_componentWillMount?(): void; componentWillReceiveProps?(nextProps: Readonly<Pick<Omit<DateProps, keyof LocaleProps>, "classPrefix" | "classnames" | "embed" | "className" | "theme" | "value" | "initial" | "defaultValue" | "disabled" | "placeholder" | "onChange" | "format" | "useMobileUI" | "clearable" | "inputFormat" | "maxDate" | "minDate" | "borderMode" | "popOverContainer" | "timeFormat" | "dateFormat" | "utc" | "timeConstraints" | "schedules" | "largeMode" | "onScheduleClick" | "popoverClassName" | "mobileCalendarMode"> & Partial<Pick<Omit<DateProps, keyof LocaleProps>, "viewMode" | "closeOnSelect" | "shortcuts" | "overlayPlacement" | "scheduleClassNames">> & Partial<Pick<{ viewMode: "time" | "years" | "months" | "days"; shortcuts: string; closeOnSelect: boolean; overlayPlacement: string; scheduleClassNames: string[]; }, never>> & { locale?: string | undefined; translate?: ((str: string, ...args: any[]) => string) | undefined; }>, nextContext: any): void; UNSAFE_componentWillReceiveProps?(nextProps: Readonly<Pick<Omit<DateProps, keyof LocaleProps>, "classPrefix" | "classnames" | "embed" | "className" | "theme" | "value" | "initial" | "defaultValue" | "disabled" | "placeholder" | "onChange" | "format" | "useMobileUI" | "clearable" | "inputFormat" | "maxDate" | "minDate" | "borderMode" | "popOverContainer" | "timeFormat" | "dateFormat" | "utc" | "timeConstraints" | "schedules" | "largeMode" | "onScheduleClick" | "popoverClassName" | "mobileCalendarMode"> & Partial<Pick<Omit<DateProps, keyof LocaleProps>, "viewMode" | "closeOnSelect" | "shor