repick-core
Version:
137 lines (136 loc) • 5.09 kB
TypeScript
export declare const actionBlur = "Blur";
export declare const actionCloseCalendar = "CloseCalendar";
export declare const actionDateClick = "DateClick";
export declare const actionEndOfWeek = "EndOfWeek";
export declare const actionInputBlur = "InputBlur";
export declare const actionInputChange = "InputChange";
export declare const actionInputFocus = "InputFocus";
export declare const actionInputKeyArrowDown = "InputKeyArrowDown";
export declare const actionInputKeyEnter = "InputKeyEnter";
export declare const actionKeyArrowDown = "KeyArrowDown";
export declare const actionKeyArrowLeft = "KeyArrowLeft";
export declare const actionKeyArrowRight = "KeyArrowRight";
export declare const actionKeyArrowUp = "KeyArrowUp";
export declare const actionKeyEnd = "KeyEnd";
export declare const actionKeyEnter = "KeyEnter";
export declare const actionKeyEscape = "KeyEscape";
export declare const actionKeyHome = "KeyHome";
export declare const actionKeyPageDown = "KeyPageDown";
export declare const actionKeyPageUp = "KeyPageUp";
export declare const actionKeyShiftPageDown = "KeyShiftPageDown";
export declare const actionKeyShiftPageUp = "KeyShiftPageUp";
export declare const actionNextDay = "NextDay";
export declare const actionNextMonth = "NextMonth";
export declare const actionNextWeek = "NextWeek";
export declare const actionNextYear = "NextYear";
export declare const actionOpenCalendar = "OpenCalendar";
export declare const actionPrevDay = "PrevDay";
export declare const actionPrevMonth = "PrevMonth";
export declare const actionPrevWeek = "PrevWeek";
export declare const actionPrevYear = "PrevYear";
export declare const actionSelectDate = "SelectDate";
export declare const actionSelectHighlighted = "SelectHighlighted";
export declare const actionStartOfWeek = "StartOfWeek";
export interface ActionBlur {
type: typeof actionBlur;
}
export interface ActionCloseCalendar {
type: typeof actionCloseCalendar;
}
export interface ActionDateClick {
type: typeof actionDateClick;
date: Date;
}
export interface ActionInputBlur {
type: typeof actionInputBlur;
}
export interface ActionInputChange {
type: typeof actionInputChange;
value: string;
}
export interface ActionInputFocus {
type: typeof actionInputFocus;
}
export interface ActionInputKeyArrowDown {
type: typeof actionInputKeyArrowDown;
}
export interface ActionInputKeyEnter {
type: typeof actionInputKeyEnter;
}
export interface ActionEndOfWeek {
type: typeof actionEndOfWeek;
}
export interface ActionKeyArrowDown {
type: typeof actionKeyArrowDown;
}
export interface ActionKeyArrowLeft {
type: typeof actionKeyArrowLeft;
}
export interface ActionKeyArrowRight {
type: typeof actionKeyArrowRight;
}
export interface ActionKeyArrowUp {
type: typeof actionKeyArrowUp;
}
export interface ActionKeyEnd {
type: typeof actionKeyEnd;
}
export interface ActionKeyEnter {
type: typeof actionKeyEnter;
}
export interface ActionKeyEscape {
type: typeof actionKeyEscape;
}
export interface ActionKeyHome {
type: typeof actionKeyHome;
}
export interface ActionKeyPageDown {
type: typeof actionKeyPageDown;
}
export interface ActionKeyPageUp {
type: typeof actionKeyPageUp;
}
export interface ActionKeyShiftPageDown {
type: typeof actionKeyShiftPageDown;
}
export interface ActionKeyShiftPageUp {
type: typeof actionKeyShiftPageUp;
}
export interface ActionNextDay {
type: typeof actionNextDay;
}
export interface ActionNextMonth {
type: typeof actionNextMonth;
}
export interface ActionNextWeek {
type: typeof actionNextWeek;
}
export interface ActionNextYear {
type: typeof actionNextYear;
}
export interface ActionOpenCalendar {
type: typeof actionOpenCalendar;
}
export interface ActionPrevDay {
type: typeof actionPrevDay;
}
export interface ActionPrevMonth {
type: typeof actionPrevMonth;
}
export interface ActionPrevWeek {
type: typeof actionPrevWeek;
}
export interface ActionPrevYear {
type: typeof actionPrevYear;
}
export interface ActionSelectDate {
type: typeof actionSelectDate;
date: string | number | Date;
}
export interface ActionSelectHighlighted {
type: typeof actionSelectHighlighted;
}
export interface ActionStartOfWeek {
type: typeof actionStartOfWeek;
}
export declare type RepickAction = ActionBlur | ActionCloseCalendar | ActionDateClick | ActionEndOfWeek | ActionInputBlur | ActionInputChange | ActionInputFocus | ActionInputKeyArrowDown | ActionInputKeyEnter | ActionKeyArrowDown | ActionKeyArrowLeft | ActionKeyArrowRight | ActionKeyArrowUp | ActionKeyEnd | ActionKeyEnter | ActionKeyEscape | ActionKeyHome | ActionKeyPageDown | ActionKeyPageUp | ActionKeyShiftPageDown | ActionKeyShiftPageUp | ActionNextDay | ActionNextMonth | ActionNextWeek | ActionNextYear | ActionOpenCalendar | ActionPrevDay | ActionPrevMonth | ActionPrevWeek | ActionPrevYear | ActionSelectDate | ActionSelectHighlighted | ActionStartOfWeek;