import { default as React } from 'react'; import { DatePickerProps as AntDatePickerProps } from 'antd'; import { Dayjs } from 'dayjs'; import { BaseComponentProps, DataSetConfig, ValidationDisplayConfig } from '../../types/common'; /** * AndDatePicker Props 接口 */ export interface AndDatePickerProps extends Omit, BaseComponentProps, DataSetConfig, ValidationDisplayConfig { /** 变更动作 */ changeAction?: string; /** 值格式 (如 'YYYY-MM-DD') */ valueFormat?: string; /** 校验规则 */ rules?: any[]; /** 失焦时校验 */ validateOnBlur?: boolean; /** 修改时校验 */ validateOnChange?: boolean; /** 自定义变更处理函数 */ onChange?: (date: Dayjs | null, dateString: string | string[]) => void; /** 值 */ value?: string | Dayjs; /** 迭代器内行下标,供继承 dataSet 与 changeAction 中 @index 占位 */ index?: number; } /** * AndDatePicker 组件 * 封装 Ant Design DatePicker,支持数据绑定和动作解析 */ export declare const AndDatePicker: React.FC; export default AndDatePicker; //# sourceMappingURL=index.d.ts.map