import { EventEmitter, OnInit } from '@angular/core'; import { FormGroup } from '@angular/forms'; import { IAutoCompleteSearch } from '../autocomplete-search/autocomplete-search.component'; import { IButtonVW } from '../button/button.component'; import * as i0 from "@angular/core"; export interface FieldConfig { key: string; label: string; type: 'number' | 'text' | 'textarea' | 'select' | 'date' | 'checkbox' | 'radio' | 'group' | 'autocomplete' | 'money' | 'percentage' | 'hidden'; children?: FieldConfig[]; maxLength?: number; minlength?: number; min?: number; max?: number; maxDate?: Date; maxToday?: boolean; showCounter?: boolean; upperCase?: boolean; defaultValue?: any; mask?: string; icon?: string; btns?: IButtonVW[]; hint?: string; class?: string; half?: boolean; checkSN?: boolean; multiple?: boolean; dateToday?: boolean; rows?: number; disabled?: boolean; radioDirection?: 'row' | 'column'; search?: IAutoCompleteSearch; nameLabelKey?: string; nameValueKey?: string; options?: { value: string | number; label: string; disabled?: boolean; permitCode?: number; }[]; validations?: { name?: string; validator: any; message?: string; }[]; } export declare class FormFieldComponent implements OnInit { clickBtnEvent: EventEmitter; btns: IButtonVW[]; form: FormGroup; set field(value: FieldConfig | any); key: string; dateToday: boolean; label: string; nameLabelKey: string; nameValueKey: string; type: 'number' | 'text' | 'select' | 'date' | 'checkbox' | 'textarea' | 'radio' | 'group' | 'autocomplete' | 'money' | 'hidden' | 'percentage'; maxLength: number; showCounter: boolean; readonly: boolean; disable: boolean; multiple: boolean; icon: string; hint: string; half: boolean; maxDate: Date | null; maxToday: boolean; checkSN: boolean; upperCase: boolean; search: IAutoCompleteSearch; mask: string; rows: number; radioDirection: string; labelBold: boolean; options: { value: string | number; label: string; permitCode?: number; }[]; validations: { name: string; validator: any; message: string; }[]; emitSelectSearch: EventEmitter; readonly today: Date; get field(): FieldConfig; private _field; characterCount: { [key: string]: number; }; ngOnInit(): void; hasError(fieldKey: string): boolean; get getValue(): any; getErrorMessage(fieldKey: string): string; updateCharacterCount(fieldKey: string): void; handleProcessSelection(event: any): void; getBtn(btn: IButtonVW): IButtonVW; static ɵfac: i0.ɵɵFactoryDeclaration; static ɵcmp: i0.ɵɵComponentDeclaration; }