jiaqingjiayi-xiaochengxu/甲情_甲意/node_modules/antd-mini/es/Calendar/utils.d.ts

15 lines
799 B
TypeScript
Raw Normal View History

2024-11-15 03:51:28 +00:00
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, monthRangeList: Dayjs[]): CellState[];
export declare function getSelectionModeFromValue(value?: CalendarValue): SelectionMode;
export declare function getScrollIntoViewId(value: CalendarValue): string;