tdesign-vue
Version:
53 lines (52 loc) • 1.9 kB
TypeScript
import { TdDateRangePickerPanelProps } from '../date-picker/type';
import { PropType } from 'vue';
declare const _default: {
defaultTime: {
type: PropType<string[]>;
default: () => TdDateRangePickerPanelProps['defaultTime'];
};
onCellClick: PropType<(context: {
date: Date[];
partial: import("../date-picker/type").DateRangePickerPartial;
e: MouseEvent;
}) => void>;
onChange: PropType<(value: import("../date-picker/type").DateRangeValue, context: {
dayjsValue?: import("dayjs").Dayjs[];
partial: import("../date-picker/type").DateRangePickerPartial;
e?: MouseEvent;
trigger?: import("../date-picker/type").DatePickerTriggerSource;
}) => void>;
onConfirm: PropType<(context: {
date: Date[];
e: MouseEvent;
}) => void>;
onMonthChange: PropType<(context: {
month: number;
date: Date[];
partial: import("../date-picker/type").DateRangePickerPartial;
e?: MouseEvent;
trigger: import("../date-picker/type").DatePickerMonthChangeTrigger;
}) => void>;
onPanelClick: PropType<(context: {
e: MouseEvent;
}) => void>;
onPresetClick: PropType<(context: {
preset: import("../date-picker/type").PresetDate;
e: MouseEvent;
}) => void>;
onTimeChange: PropType<(context: {
time: string;
date: Date[];
partial: import("../date-picker/type").DateRangePickerPartial;
trigger: import("../date-picker/type").DatePickerTimeChangeTrigger;
e?: MouseEvent;
}) => void>;
onYearChange: PropType<(context: {
year: number;
date: Date[];
partial: import("../date-picker/type").DateRangePickerPartial;
trigger: import("../date-picker/type").DatePickerYearChangeTrigger;
e?: MouseEvent;
}) => void>;
};
export default _default;