UNPKG

ngx-hijri-datepicker

Version:
51 lines (50 loc) 2.81 kB
import { ElementRef, EventEmitter } from '@angular/core'; import moment from 'moment-hijri'; import * as i0 from "@angular/core"; export declare class NgxHijriDatepickerComponent { private elementRef; value: string | null; valueChange: EventEmitter<string>; placeholder: string; width: string; height: string; InputColor: string | null; InputBackgroundColor: string | null; IconColor: string | null; IconBackgroundColor: string | null; DayColor: string | null; BorderColor: string | null; DatepickerPopupHeaderColor: string | null; displayFormat: string; storageFormat: string | null; locale: 'en' | 'ar-SA'; storageLocale: 'en' | 'ar-SA'; selectedDate: moment.Moment | null; showDatePicker: boolean; showYearPopup: boolean; currentViewDate: moment.Moment; todayBtn: string; onChange: (value: string) => void; onTouched: () => void; get dayNamesMin(): string[]; constructor(elementRef: ElementRef); ngOnInit(): void; get resolvedStorageFormat(): string; get currentMonthName(): string; get daysInCurrentMonth(): any[]; prevMonth(): void; nextMonth(): void; selectDate(day: moment.Moment | null): void; toggleDatePicker(): void; onDocumentClick(targetElement: HTMLElement): void; get displayedDate(): string; selectToday(): void; writeValue(value: string): void; registerOnChange(fn: any): void; registerOnTouched(fn: any): void; toggleYearPopup(): void; selectYear(year: number): void; get hijriYears(): number[]; static ɵfac: i0.ɵɵFactoryDeclaration<NgxHijriDatepickerComponent, never>; static ɵcmp: i0.ɵɵComponentDeclaration<NgxHijriDatepickerComponent, "ngx-hijri-datepicker", never, { "value": { "alias": "value"; "required": false; }; "placeholder": { "alias": "placeholder"; "required": false; }; "width": { "alias": "width"; "required": false; }; "height": { "alias": "height"; "required": false; }; "InputColor": { "alias": "InputColor"; "required": false; }; "InputBackgroundColor": { "alias": "InputBackgroundColor"; "required": false; }; "IconColor": { "alias": "IconColor"; "required": false; }; "IconBackgroundColor": { "alias": "IconBackgroundColor"; "required": false; }; "DayColor": { "alias": "DayColor"; "required": false; }; "BorderColor": { "alias": "BorderColor"; "required": false; }; "DatepickerPopupHeaderColor": { "alias": "DatepickerPopupHeaderColor"; "required": false; }; "displayFormat": { "alias": "displayFormat"; "required": false; }; "storageFormat": { "alias": "storageFormat"; "required": false; }; "locale": { "alias": "locale"; "required": false; }; "storageLocale": { "alias": "storageLocale"; "required": false; }; }, { "valueChange": "valueChange"; }, never, never, false, never>; }