/**-----------------------------------------------------------------------------------------
* Copyright © 2026 Progress Software Corporation. All rights reserved.
* Licensed under commercial license. See LICENSE.md in the project root for more information
*-------------------------------------------------------------------------------------------*/
import { AfterViewInit, ElementRef, Renderer2, QueryList, AfterViewChecked, SimpleChanges, OnChanges, OnDestroy } from '@angular/core';
import { NgControl } from '@angular/forms';
import { LocalizationService } from '@progress/kendo-angular-l10n';
import { ShowOptions } from './models/show-options';
import { ErrorComponent } from './error.component';
import { HintComponent } from './hint.component';
import { Orientation } from './models/orientation';
import { FormService } from '../common/formservice.service';
import { ResponsiveFormBreakPoint } from '../common/models/responsive-breakpoints';
import * as i0 from "@angular/core";
/**
* Represents the Kendo UI FormField component for Angular.
* Use this component to group form-bound controls (Kendo Angular components or native HTML controls).
* Applies styling and behavior rules.
*
* @example
* ```html
*
*
*
* Enter your name.
* First name is required.
*
* ```
*
* @remarks
* Supported children components are: {@link ErrorComponent}, {@link HintComponent}, {@link TextBoxComponent}, {@link NumericTextBoxComponent}, {@link MaskedTextBoxComponent}, {@link TextAreaComponent}, {@link DatePickerComponent}, {@link DateTimePickerComponent}, {@link DateInputComponent}, {@link OTPInputComponent}.
*/
export declare class FormFieldComponent implements AfterViewInit, AfterViewChecked, OnChanges, OnDestroy {
private renderer;
private localizationService;
private hostElement;
private formService;
hostClass: boolean;
/**
* @hidden
*/
direction: string;
get errorClass(): boolean;
get disabledClass(): boolean;
set formControls(formControls: QueryList);
controlElementRefs: QueryList;
kendoInput: any;
errorChildren: QueryList;
hintChildren: QueryList;
/**
* Specifies when to show the hint messages:
* * `initial`—Shows hints when the form control is `valid` or `untouched` and `pristine`.
* * `always`—Always shows hints.
*
* @default 'initial'
*/
showHints: ShowOptions;
/**
* Specifies the layout orientation of the form field.
*
* @hidden
*
* @default 'vertical'
*/
orientation: Orientation;
/**
* Specifies when to show the error messages:
* * `initial`—Shows errors when the form control is `invalid` and `touched` or `dirty`.
* * `always`—Always shows errors.
*
* @default 'initial'
*/
showErrors: ShowOptions;
/**
* Defines the colspan for the form field.
* Can be a number or an array of responsive breakpoints.
*/
colSpan: number | ResponsiveFormBreakPoint[];
/**
* @hidden
*/
get horizontal(): boolean;
/**
* @hidden
*/
get hasHints(): boolean;
/**
* @hidden
*/
get hasErrors(): boolean;
private control;
private subscriptions;
private rtl;
private _formWidth;
private _colSpanClass;
private _previousColSpan;
constructor(renderer: Renderer2, localizationService: LocalizationService, hostElement: ElementRef, formService: FormService);
ngAfterViewInit(): void;
ngAfterViewChecked(): void;
ngOnChanges(changes: SimpleChanges): void;
ngOnDestroy(): void;
private disabledKendoInput;
private disabledControl;
private disabledElement;
private validateFormControl;
private isControlGroup;
private isRadioControl;
private updateDescription;
private findControlElements;
private generateDescriptionIds;
private showHintsInitial;
private showErrorsInitial;
private setDescription;
private updateColSpanClass;
static ɵfac: i0.ɵɵFactoryDeclaration;
static ɵcmp: i0.ɵɵComponentDeclaration;
}