UNPKG

angular-custom-datepicker

Version:
63 lines (62 loc) 2.31 kB
import { AfterViewInit, ElementRef, EventEmitter, OnChanges, OnInit, SimpleChanges } from '@angular/core'; import * as i0 from "@angular/core"; export declare class AngularCustomDatepickerComponent implements OnInit, AfterViewInit, OnChanges { private window; calendar: ElementRef; calendarInput: ElementRef; calendarIcon: ElementRef; faAngleLeft: import("@fortawesome/fontawesome-common-types").IconDefinition; faAngleRight: import("@fortawesome/fontawesome-common-types").IconDefinition; constructor(window: Window); clickedOutside(event: any): void; onResize(event: any): void; years: any[]; months: { id: number; val: string; }[]; date: any; show: boolean; days: any[]; lastDayofCurrentMonth: any; lastDayofPrevMonth: any; firstDayIndex: any; lastDayIndex: any; nextDays: any; displayDate: any; minDate: any; maxDate: any; leftIconDisabled: boolean; rightIconDisabled: boolean; currentDateOrignal: any; min: any; max: any; disabled: boolean; selectedValue: any; placeholder: string; SelectedDate: EventEmitter<any>; ngOnInit(): void; ngAfterViewInit(): void; ngOnChanges(changes: SimpleChanges): void; configureAndRenderCalendar(): void; calendarClick(): void; prevArrow(): void; nextArrow(): void; selectedDay: any; selectedMonth: any; selectedYear: any; dateClicked(val: any): void; yearSelected(e: any): void; monthSelected(e: any): void; dropUpOrDown(): "dropup" | "dropdown"; yearAssigner(): void; checkIfCalendarisFinished(month: any, year: any): void; checkIfDateisLessThanMinDate(d: any): boolean; checkIfDateisEqualtoMinDate(d: any): boolean; checkIfDateisEqualtoMaxDate(d: any): boolean; checkIfDateisGreaterThanMaxDate(d: any): boolean; renderSelectedDate(): void; setDisplayDateAccordingtoInput(): void; static ɵfac: i0.ɵɵFactoryDeclaration<AngularCustomDatepickerComponent, never>; static ɵcmp: i0.ɵɵComponentDeclaration<AngularCustomDatepickerComponent, "date-picker", never, { "min": "min"; "max": "max"; "disabled": "disabled"; "selectedValue": "selectedValue"; "placeholder": "placeholder"; }, { "SelectedDate": "SelectedDate"; }, never, never>; }