@opensig/opendesign
Version:
26 lines (25 loc) • 1.16 kB
TypeScript
import { default as dayjs, Dayjs } from 'dayjs';
import { DisabledYearFn } from '../types.ts';
type __VLS_Props = {
year: number;
selectedDate: Dayjs | null;
disabledYear?: DisabledYearFn;
minDate?: Dayjs | null;
maxDate?: Dayjs | null;
/** 已确认的范围起始年份(排序后) */
rangeStart?: Dayjs | null;
/** 已确认的范围结束年份(排序后) */
rangeEnd?: Dayjs | null;
/** 第一次点击的锚点年份(选择进行中时传入,顺序无意义) */
anchorYear?: Dayjs | null;
hoverYear?: Dayjs | null;
hideOutOfDecade?: boolean;
};
declare const _default: import('vue').DefineComponent<__VLS_Props, {}, {}, {}, {}, import('vue').ComponentOptionsMixin, import('vue').ComponentOptionsMixin, {} & {
select: (year: number) => any;
hover: (date: dayjs.Dayjs) => any;
}, string, import('vue').PublicProps, Readonly<__VLS_Props> & Readonly<{
onSelect?: ((year: number) => any) | undefined;
onHover?: ((date: dayjs.Dayjs) => any) | undefined;
}>, {}, {}, {}, {}, string, import('vue').ComponentProvideOptions, false, {}, HTMLDivElement>;
export default _default;