mirror of
https://github.com/Tria-plc/emaui.git
synced 2026-08-30 02:58:12 +00:00
59 lines
2.6 KiB
TypeScript
59 lines
2.6 KiB
TypeScript
export declare function pickCalendarProps<T extends Record<string, any>>(props: T): {
|
|
calendarProps: {
|
|
maxLevel: any;
|
|
minLevel: any;
|
|
defaultLevel: any;
|
|
level: any;
|
|
onLevelChange: any;
|
|
nextIcon: any;
|
|
previousIcon: any;
|
|
date: any;
|
|
defaultDate: any;
|
|
onDateChange: any;
|
|
numberOfColumns: any;
|
|
columnsToScroll: any;
|
|
ariaLabels: any;
|
|
nextLabel: any;
|
|
previousLabel: any;
|
|
onYearSelect: any;
|
|
onMonthSelect: any;
|
|
onYearMouseEnter: any;
|
|
onMonthMouseEnter: any;
|
|
onNextMonth: any;
|
|
onPreviousMonth: any;
|
|
onNextYear: any;
|
|
onPreviousYear: any;
|
|
onNextDecade: any;
|
|
onPreviousDecade: any;
|
|
withCellSpacing: any;
|
|
highlightToday: any;
|
|
__updateDateOnYearSelect: any;
|
|
__updateDateOnMonthSelect: any;
|
|
__setDateRef: any;
|
|
withWeekNumbers: any;
|
|
headerControlsOrder: any;
|
|
firstDayOfWeek: any;
|
|
weekdayFormat: any;
|
|
weekendDays: any;
|
|
getDayProps: any;
|
|
excludeDate: any;
|
|
renderDay: any;
|
|
hideOutsideDates: any;
|
|
hideWeekdays: any;
|
|
getDayAriaLabel: any;
|
|
monthLabelFormat: any;
|
|
monthsListFormat: any;
|
|
getMonthControlProps: any;
|
|
yearLabelFormat: any;
|
|
yearsListFormat: any;
|
|
getYearControlProps: any;
|
|
decadeLabelFormat: any;
|
|
allowSingleDateInRange: any;
|
|
allowDeselect: any;
|
|
minDate: any;
|
|
maxDate: any;
|
|
locale: any;
|
|
};
|
|
others: Omit<T, "date" | "locale" | "minDate" | "maxDate" | "firstDayOfWeek" | "weekendDays" | "renderDay" | "highlightToday" | "weekdayFormat" | "withWeekNumbers" | "getDayProps" | "excludeDate" | "hideOutsideDates" | "hideWeekdays" | "getDayAriaLabel" | "withCellSpacing" | "getYearControlProps" | "yearsListFormat" | "getMonthControlProps" | "monthsListFormat" | "level" | "nextIcon" | "previousIcon" | "nextLabel" | "previousLabel" | "headerControlsOrder" | "decadeLabelFormat" | "yearLabelFormat" | "monthLabelFormat" | "numberOfColumns" | "allowSingleDateInRange" | "allowDeselect" | "defaultLevel" | "onLevelChange" | "onYearSelect" | "onMonthSelect" | "onYearMouseEnter" | "onMonthMouseEnter" | "maxLevel" | "minLevel" | "__updateDateOnYearSelect" | "__updateDateOnMonthSelect" | "__setDateRef" | "__setLevelRef" | "defaultDate" | "onDateChange" | "columnsToScroll" | "ariaLabels" | "onNextDecade" | "onPreviousDecade" | "onNextYear" | "onPreviousYear" | "onNextMonth" | "onPreviousMonth">;
|
|
};
|