UNPKG

ng-jalali-date-time

Version:

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

46 lines (45 loc) 1.56 kB
import { OnInit, EventEmitter } from '@angular/core'; import { FormGroup } from '@angular/forms'; import { JalaliLocale } from '../../shared/jalali.locale'; import { NgJalaliRangeValueInterface } from './ng-jalali-range.interface'; import { JalaliCalendarInterface } from '../../shared/jalali.interface'; import { NgJalaliDateTimeService } from '../../ng-jalali-date-time.service'; import { NgJalaliDateTimeConfigInterface, NgJalaliDateTimeCssInterface } from '../../ng-jalali-date-time.interface'; export declare class NgJalaliRangeComponent implements OnInit { private readonly service; form: FormGroup; name: string; appearance: string; config: NgJalaliDateTimeConfigInterface; css: NgJalaliDateTimeCssInterface; value: NgJalaliRangeValueInterface; label: string; custom: { from: string; to: string; }; fMonth: string; fCalendar: JalaliCalendarInterface; fTitle: string; tMonth: string; tCalendar: JalaliCalendarInterface; tTitle: string; show: boolean; random: string; today: string; reset: boolean; jalaliLocale: JalaliLocale; week: string[]; changed: EventEmitter<NgJalaliRangeValueInterface>; constructor(service: NgJalaliDateTimeService); ngOnInit(): void; validate(): { required: boolean; }; showCalendar(show: boolean): void; changeMonth(type: string, change: number): void; setTitle(): void; setCustomTitle(): void; setCustomDate(from: string, to: string): void; setRange(type: any): void; }