import React from 'react'; import { Moment } from 'moment'; import { HolidaysLimitType } from '@/utils/generatorDisabledCallback'; export interface FormDatePickerProps { value?: any; onChange?: any; pickerType?: any; valueFormat?: any; timeMode?: any; showTime?: any; format?: any; defaultValue?: any; placeholder?: string | string[]; disabledDate?: (v: Moment) => void; disabledTime?: (v: Moment) => void; } export interface DatePickerProps { value?: any; visible?: any; onChange?: any; onValueRelease?: any; getCompPropMapState?: any; compId?: any; hidden?: any; name?: any; fieldName?: any; required?: any; regexp?: any; message?: any; label?: any; labelCol?: any; wrapperCol?: any; selfSpan?: any; colSpan?: any; defaultValue?: any; isCurrent?: any; pickerType?: any; format?: any; validateStatus?: any; help?: any; style?: React.CSSProperties; showTime?: string; showWrapperContainer: boolean; wrapperContainer: any; titleTip?: any; tipIcon?: any; tipLocation?: any; tipContent?: any; tipPlacement?: any; limitRange?: any; customExpression?: any; customTip?: any; startTime?: any; endTime?: any; colon?: boolean; isFormChild?: boolean | undefined; readOnly: boolean; separator?: any; rules?: any[]; tipSize?: string; tipWidth?: string; tipHeight?: string; valueFormat?: string; timeMode?: string; /** * 可用多选日期 */ validMultiDate?: string[]; /** * 节假日限制 */ holidaysLimit: HolidaysLimitType; /** * 指定日期 */ selectTime?: string; } export interface WrapperDatePickerProps { children: React.ReactElement; } declare const DATEPICKER_WRAPPER_CLASSNAME = "ued-datePicker-wrap"; declare const WrapperDatePicker: React.FC; declare const DatePicker: React.ForwardRefExoticComponent>; export default DatePicker; export { DATEPICKER_WRAPPER_CLASSNAME, WrapperDatePicker };