UNPKG

kwikui

Version:

KwikID's UI Component Library in Angular

35 lines (34 loc) 1.71 kB
import { EventEmitter, OnChanges, OnInit, SimpleChanges } from "@angular/core"; import { TuiDay, TuiMonth } from "@taiga-ui/cdk"; import { ControlValueAccessor, FormControl, FormGroup } from "@angular/forms"; import * as i0 from "@angular/core"; export declare class KwikUICalendarComponent implements OnInit, OnChanges, ControlValueAccessor { disabled: boolean; disableItems: Function; formControl: FormControl; formControlName: string; id: string; isShowAdjacentValues: boolean; min: TuiDay; max: TuiDay; value: TuiDay; onDayClick: EventEmitter<any>; onMonthChange: EventEmitter<any>; getKeyValue: EventEmitter<any>; formGroup: FormGroup; constructor(); ngOnInit(): void; ngOnChanges(changes: SimpleChanges): void; private validateInputProperty; setDisabled(): void; handleOnDayClick(day: TuiDay): void; handleOnMonthChange(month: TuiMonth): void; emitEvent(event: any, data: any): void; /** Method Implementations for Abstract Control */ writeValue(value: any): void; registerOnChange(fn: any): void; registerOnTouched(fn: any): void; setDisabledState?(isDisabled: boolean): void; static ɵfac: i0.ɵɵFactoryDeclaration<KwikUICalendarComponent, never>; static ɵcmp: i0.ɵɵComponentDeclaration<KwikUICalendarComponent, "kwikui-calendar", never, { "disabled": "disabled"; "disableItems": "disableItems"; "formControl": "formControl"; "formControlName": "formControlName"; "id": "id"; "isShowAdjacentValues": "isShowAdjacentValues"; "min": "min"; "max": "max"; "value": "value"; }, { "onDayClick": "onDayClick"; "onMonthChange": "onMonthChange"; "getKeyValue": "getKeyValue"; }, never, never>; }