UNPKG

lucy-calendar

Version:

LucyCalendar is a powerful and flexible date picker library for Angular applications, specifically designed for Ethiopian dates. It provides a user-friendly interface for selecting dates and supports various customization options to fit your needs.

30 lines (29 loc) 1.63 kB
import { ElementRef, ViewContainerRef, EventEmitter, Renderer2, OnInit, OnDestroy, SimpleChanges, OnChanges } from '@angular/core'; import * as i0 from "@angular/core"; export declare class LucyCalendarDirective implements OnInit, OnChanges, OnDestroy { private el; private viewContainerRef; private renderer; label: string; value: string | null; valueChange: EventEmitter<string | null>; dateValue: Date | null; dateValueChange: EventEmitter<Date | null>; placeholder: string | null; min: Date | null; max: Date | null; dateFormat: string; private componentRef; private isCalendarOpen; private calendarElement; constructor(el: ElementRef, viewContainerRef: ViewContainerRef, renderer: Renderer2); onClick(): void; onDocumentClick(event: MouseEvent): void; ngOnInit(): void; ngOnChanges(changes: SimpleChanges): void; ngOnDestroy(): void; private openCalendar; private closeCalendar; static ɵfac: i0.ɵɵFactoryDeclaration<LucyCalendarDirective, never>; static ɵdir: i0.ɵɵDirectiveDeclaration<LucyCalendarDirective, "[lucyCalendar]", never, { "label": { "alias": "label"; "required": false; }; "value": { "alias": "value"; "required": false; }; "dateValue": { "alias": "dateValue"; "required": false; }; "placeholder": { "alias": "placeholder"; "required": false; }; "min": { "alias": "min"; "required": false; }; "max": { "alias": "max"; "required": false; }; "dateFormat": { "alias": "dateFormat"; "required": false; }; }, { "valueChange": "valueChange"; "dateValueChange": "dateValueChange"; }, never, never, true, never>; }