UNPKG

armisa-models

Version:
60 lines (59 loc) 2.1 kB
import { IMainStateFactory } from '../../Types'; type ITypeShowDatePicker = 'days' | 'months' | 'years'; export interface IDateBoxFactory { value: string; setValue: (value: string) => void; mainStateFactory: IMainStateFactory; } export declare class DatePickerFactory { selfDateBoxFactory: IDateBoxFactory; forceUpdate: () => void; element?: HTMLElement; get any(): any; get today(): string; currentTypeOfShowDatePicker: ITypeShowDatePicker; currentDateMiladi: string; _currentDate: string; currentYear: number; currentMonth: number; currentDay: number; get currentDate(): string; set currentDate(value: string); constructor(selfDateBoxFactory: IDateBoxFactory, forceUpdate: () => void); onSelectDate: (date: string) => void; onSelectDateOnly: (date: string) => void; setMiladiDate: (date: string) => void; setCurrentDate: (date: string) => void; setCurrentTypeShow: (type: ITypeShowDatePicker) => void; onSelectMonth: (newMonth: number) => void; onSelectYear: (newYear: number) => void; onMouseEnter: (date: string) => void; onMouseOut: () => void; onClickTypeShowMonth: () => void; onClickTypeShowYears: () => void; onClickTypeShowDays: () => void; gotoNextDay: () => void; gotoPreviousDay: () => void; gotoNextWeek: () => void; gotoPreviousWeek: () => void; gotoNextMonth: () => void; gotoPreviousMonth: () => void; gotoNextSeason: () => void; gotoPreviousSeason: () => void; gotoToday: () => void; gotoNextYear: () => void; gotoPreviousYear: () => void; gotoNext4Year: () => void; gotoPrevious4Year: () => void; gotoNext10Year: () => void; gotoPrevious10Year: () => void; onEnterKeyHandler: () => void; onSpaceKeyHandler: () => void; onDownKeyHandler: () => void; onUpKeyHandler: () => void; onRightKeyHandler: () => void; onLeftKeyHandler: () => void; onPageUpKeyHandler: () => void; onPageDownKeyHandler: () => void; } export {};