import { OnChanges, EventEmitter } from '@angular/core'; import { NgbDateParserFormatter, NgbDateStruct } from '@ng-bootstrap/ng-bootstrap'; import { CoreCommonService } from '../../providers/services/common.service'; import { CoreHttpService } from '../../utilities/services/http.service'; export declare class NgbDatePickerComponent extends NgbDateParserFormatter implements OnChanges { private coreCommonService; private coreHttpService; fieldControl: any; form: any; controlReady: EventEmitter; dynamicControlScope: any; parentScope: any; isBundle?: boolean; minDate: {}; maxDate: {}; private eventSubscriptionsList; constructor(coreCommonService: CoreCommonService, coreHttpService: CoreHttpService); /** * A callback method that is invoked if any data-bound properties change */ ngOnChanges(): void; /** * This method will handle control load * NOTE: Sequence of function calls need to be exactly same as below */ private handleControlLoad; /** * This method will register the events */ private registerEvents; /** * This method will register change emitter event */ private registerDateValueChange; /** * This method will register dropdown value changes */ private registerChangeEvent; /** * This method will call the schema functions by name */ callFunctionByName(fnName: string, ...params: any): Promise; /** * This method will listen for any update in date field */ private updateListenerDateField; /** * This method will notify when control is ready */ private notifyControlLoadComplete; /** * This method will close other opened date pickers * @param datePickerReference - date picker reference * @param logicalName - logical name */ closeOtherDatePicker(datePickerReference: any, logicalName: any): void; /** * This method will be called on select of any value from datepicker * @param event - event * @param logicalName - logical name */ onSelect(event: any, logicalName: any): void; /** * This method will add '/' after input of date in datepicker */ addSlash(event: any): void; /** * This method will Parse the given string to an NgbDateStruct * @param value - value */ parse(value: string): NgbDateStruct; /** * Formats the given NgbDateStruct to a string * @param date - date */ format(date: NgbDateStruct): string; /** * check if value is number or not */ isNumber(value: any): value is number; /** * converts value to integer */ toInteger(value: any): number; /** * change the value to required structure */ padNumber(value: number): string; /** * getter function to check mandatory fields */ get isMandatory(): boolean; }