1234567891011121314 |
- import { Dayjs } from 'dayjs';
- import { CellState, LocaleText, SelectionMode, CalendarValue } from './props';
- export declare function getMonthListFromRange(start: Dayjs, end: Dayjs): Dayjs[];
- export declare function defaultMonthRange(): [number, number];
- /**
- *
- * @param month 月份的某一天
- * @param weekStartsOn 日历以星期几开始
- * @returns 获取当月日历所有的日子
- */
- export declare function getDate(month: Dayjs, weekStartsOn: string): Dayjs[];
- export declare function renderCells(cellsMonth: Dayjs, weekStartsOn: string, value: CalendarValue, localeText: LocaleText): CellState[];
- export declare function getSelectionModeFromValue(value?: CalendarValue): SelectionMode;
- export declare function getScrollIntoViewId(value: CalendarValue): string;
|