import { Overlay } from '@angular/cdk/overlay'; import { ElementRef, EventEmitter, OnInit, TemplateRef, ViewContainerRef, AfterViewInit } from '@angular/core'; import { ControlValueAccessor } from '@angular/forms'; import { CurrencyMaskConfig } from 'ngx-currency'; import { Maybe } from '../../types'; import { CalendarDay } from '../../../utils/calendar'; import { TextboxCurrencyConfigInterface } from './../../../models/textbox-currency-config.interface'; import { IconInterface } from './../../../models/icon-interface'; import { SizeType } from '../../types/size.type'; import * as i0 from "@angular/core"; declare type StatusType = 'normal' | 'error' | 'warning' | 'success'; export declare type LabelType = 'side' | 'float'; export interface TextboxComponentPropsInterface { type?: string; id?: string; size?: SizeType; name?: string; autocomplete?: string; autofocus?: string; readonly?: string; placeholder?: string; iconUrl?: string; hasError?: boolean; mask?: any; onlyNumber?: boolean; maxlength?: number; multiline?: boolean; disabled?: boolean; rows?: string; tabIndex?: string | number; currency?: boolean; currencyConfig?: TextboxCurrencyConfigInterface; startIcon?: IconInterface; endIcon?: IconInterface; caption?: string; status?: StatusType; statusIcon?: boolean; label?: string; labelType?: LabelType; } export declare class TextboxComponent implements OnInit, AfterViewInit, ControlValueAccessor, TextboxComponentPropsInterface { viewContainerRef: ViewContainerRef; private overlay; _value: string; type?: string; id?: string; size?: SizeType; name?: string; autocomplete?: string; autofocus?: string; readonly?: string; placeholder?: string; iconUrl?: string; hasError?: boolean; mask?: any; onlyNumber?: boolean; maxlength?: number; multiline?: boolean; disabled?: boolean; rows?: string; tabIndex?: string | number; currency?: boolean; currencyConfig?: TextboxCurrencyConfigInterface; startIcon?: IconInterface; endIcon?: IconInterface; caption?: string; status?: StatusType; statusIcon?: boolean; label?: string; labelType?: LabelType; minYear: number; maxYear: number; enterCallback: EventEmitter; iconClickCallback: EventEmitter; blurCallback: EventEmitter; focusCallback: EventEmitter; keyDownCallback: EventEmitter; changeCallback: EventEmitter; textbox?: ElementRef; datePickerMenuTemplateRef: TemplateRef; textboxWrapperElement: ElementRef; isNumeric: boolean; customCurrencyMaskConfig?: CurrencyMaskConfig; hasDatePicker?: Maybe; datePickerMenuIsShow?: Maybe; selectedDate?: Maybe; private overlayRef; constructor(viewContainerRef: ViewContainerRef, overlay: Overlay); ngOnInit(): void; ngAfterViewInit(): void; get value(): string; set value(val: string); onChange: (_: any) => void; onTouched: () => void; registerOnChange(fn: any): void; registerOnTouched(fn: any): void; writeValue(obj: any): void; setDisabledState(isDisabled: boolean): void; changeHandler(): void; enterHander(event: Event): void; blurHandler(event: Event): void; focusHandler(event: Event): void; keyDownHandler(event: Event): void; openDatePickerMenu(): void; closeDatePickerMenu(): void; selectDayHandler(data: CalendarDay): void; private createTreeMenuOverlay; focus(): void; static ɵfac: i0.ɵɵFactoryDeclaration; static ɵcmp: i0.ɵɵComponentDeclaration; } export {};