UNPKG

ng-jalali-date-time

Version:

Jalali date / month / range picker for Angular with Material Design support

38 lines (37 loc) 1.26 kB
import { OnInit, EventEmitter } from '@angular/core'; import { FormGroup } from '@angular/forms'; import { NgJalaliMonthValueInterface } from './ng-jalali-month.interface'; import { NgJalaliDateTimeService } from '../../ng-jalali-date-time.service'; import { NgJalaliDateTimeConfigInterface, NgJalaliDateTimeCssInterface } from '../../ng-jalali-date-time.interface'; import { JalaliLocale } from '../../shared/jalali.locale'; export declare class NgJalaliMonthComponent implements OnInit { private readonly service; form: FormGroup; name: string; appearance: string; config: NgJalaliDateTimeConfigInterface; css: NgJalaliDateTimeCssInterface; value: NgJalaliMonthValueInterface; label: string; show: boolean; random: string; month: string; year: string; current: string; reset: boolean; jalaliLocale: JalaliLocale; calendar: { month: string; title: string; }[][]; changed: EventEmitter<NgJalaliMonthValueInterface>; constructor(service: NgJalaliDateTimeService); ngOnInit(): void; validate(): { required: boolean; }; showCalendar(show: boolean): void; changeYear(change: number): void; setTitle(): void; setMonth(month: string): void; }