UNPKG

@taiga-ui/kit

Version:
26 lines (25 loc) 1.18 kB
import { ChangeDetectorRef } from '@angular/core'; import { NgControl } from '@angular/forms'; import { AbstractTuiNullableControl, TuiBooleanHandler, TuiFocusableElementAccessor, TuiMonth } from '@taiga-ui/cdk'; import { TuiTextfieldSizeDirective, TuiWithOptionalMinMax } from '@taiga-ui/core'; export declare class TuiInputMonthComponent extends AbstractTuiNullableControl<TuiMonth> implements TuiWithOptionalMinMax<TuiMonth>, TuiFocusableElementAccessor { private readonly textfieldSize; min: TuiMonth; max: TuiMonth; disabledItemHandler: TuiBooleanHandler<TuiMonth>; open: boolean; private readonly textfield?; constructor(control: NgControl | null, changeDetectorRef: ChangeDetectorRef, textfieldSize: TuiTextfieldSizeDirective); get nativeFocusableElement(): HTMLInputElement | null; get focused(): boolean; get calendarIcon(): string; get canOpen(): boolean; onValueChange(value: string): void; onMonthClick(month: TuiMonth): void; onHovered(hovered: boolean): void; onFocused(focused: boolean): void; onOpenChange(open: boolean): void; toggle(): void; setDisabledState(): void; private close; }