import { EventEmitter, OnChanges } from '@angular/core'; import { FormControl } from '@angular/forms'; import { NgbCalendar, NgbDate, NgbDateStruct, NgbInputDatepicker } from '@ng-bootstrap/ng-bootstrap'; import * as i0 from "@angular/core"; export declare class CustomDateInputComponent implements OnChanges { private calendar; /** * @description the date picker HTML reference */ datePicker: NgbInputDatepicker; /** * @description the identifier associated with the date picker */ id: string; /** * @description the label associated with the date picker */ label: string; /** * @description the value to be displayed in the date picker */ value: FormControl; /** * @description the name of the date picker */ name: string; /** * @description an error messages to be displayed */ errorMessage: string; /** * @description whether the date picker is disabled */ disabled: boolean; /** * @description whether the date picker is embedded and not triggered from an input element */ embed: boolean; /** * @description whether the date picked expects a range to be selected */ ranged: boolean; /** * @description the minimum date which can be selected */ minDate?: NgbDateStruct; /** * @description the maximum date which can be selected */ maxDate?: NgbDateStruct; /** * @description the day numbers to be disabled */ daysToRestrict?: number[]; /** * @description the test identifier for the input element */ testId?: string; /** * @description specific dates to be disabled */ specificDatesToRestrict?: NgbDateStruct[]; /** * @description emits the date picker value when changed */ handleChange: EventEmitter; /** * @description an object which contains the configuration for the date picker button */ buttonConfiguration: any; /** * @description the date which the user is currently hovering over */ hoveredDate: NgbDate | null; /** * @description the from date (initial) where a range is required */ fromDate: NgbDate; /** * @description the end date where a range is required */ toDate: NgbDate | null; /** * @description determines whether the calendar date given should be disabled according to the restriction rules */ isDisabled: (...args: any[]) => boolean | undefined; /** * @author Alex Hodson * @description class constructor specifying the required properties and services */ constructor(calendar: NgbCalendar); /** * @author Alex Hodson * @description the method to be run when the component properties are changed */ ngOnChanges(): void; /** * @author Alex Hodson * @description emits the value stored in the date picker * @param date the selected date */ handleValueChange(date: NgbDate): void; /** * @author Alex Hodson * @description determines whether the specified date is the element being hovered over in the calendar * @param date the date in the calendar * @returns whether the given date is being hovered over */ isHovered(date: NgbDate): boolean | null; /** * @author Alex Hodson * @description determines whether the specified date is inside the selected date range * @param date the date in the calendar * @returns whether the given date is inside the to and from date */ isInside(date: NgbDate): boolean; /** * @author Alex Hodson * @description determines whether the specified date is part of the date range selection * @param date the date in the calendar * @returns whether the specified date is part of the selected range */ isRange(date: NgbDate): boolean | null; static ɵfac: i0.ɵɵFactoryDeclaration; static ɵcmp: i0.ɵɵComponentDeclaration; }