/** * Use of this source code is governed by an MIT-style license that can be * found in the LICENSE file at https://github.com/NG-ZORRO/ng-zorro-antd/blob/master/LICENSE */ import { AfterContentInit, ChangeDetectorRef, ElementRef, OnChanges, OnDestroy, OnInit, Renderer2, SimpleChanges, TemplateRef } from '@angular/core'; import { AbstractControl, FormControlDirective, FormControlName, NgModel } from '@angular/forms'; import { BooleanInput } from '@ui-vts-kit/ng-vts/core/types'; import { VtsI18nService } from '@ui-vts-kit/ng-vts/i18n'; import { VtsFormDirective } from './form.directive'; import { VtsFormControlStatusType, VtsFormItemComponent } from './form-item.component'; import * as i0 from "@angular/core"; declare const iconTypeMap: { readonly error: "Close-fill"; readonly validating: "loading"; readonly success: "check-circle-fill"; readonly warning: "exclamation-circle-fill"; }; export declare class VtsFormControlComponent implements OnChanges, OnDestroy, OnInit, AfterContentInit, OnDestroy { private vtsFormItemComponent; private cdr; private vtsFormDirective; static ngAcceptInputType_vtsHasFeedback: BooleanInput; static ngAcceptInputType_vtsRequired: BooleanInput; static ngAcceptInputType_vtsNoColon: BooleanInput; static ngAcceptInputType_vtsDisableAutoTips: BooleanInput; private _hasFeedback; private validateChanges; private validateString; private destroyed$; private localeId; private autoErrorTip?; private get disableAutoTips(); status: VtsFormControlStatusType; validateControl: AbstractControl | NgModel | null; iconType: (typeof iconTypeMap)[keyof typeof iconTypeMap] | null; innerTip: string | TemplateRef<{ $implicit: AbstractControl | NgModel; }> | null; defaultValidateControl?: FormControlName | FormControlDirective; vtsSuccessTip?: string | TemplateRef<{ $implicit: AbstractControl | NgModel; }>; vtsWarningTip?: string | TemplateRef<{ $implicit: AbstractControl | NgModel; }>; vtsErrorTip?: string | TemplateRef<{ $implicit: AbstractControl | NgModel; }>; vtsValidatingTip?: string | TemplateRef<{ $implicit: AbstractControl | NgModel; }>; vtsExtra?: string | TemplateRef; vtsAutoTips: Record>; vtsDisableAutoTips: boolean | 'default'; set vtsHasFeedback(value: boolean); get vtsHasFeedback(): boolean; set vtsValidateStatus(value: string | AbstractControl | FormControlName | NgModel); private watchControl; private setStatus; private getControlStatus; private validateControlStatus; private getInnerTip; private updateAutoErrorTip; private subscribeAutoTips; constructor(elementRef: ElementRef, vtsFormItemComponent: VtsFormItemComponent, cdr: ChangeDetectorRef, renderer: Renderer2, i18n: VtsI18nService, vtsFormDirective: VtsFormDirective); ngOnChanges(changes: SimpleChanges): void; ngOnInit(): void; ngOnDestroy(): void; ngAfterContentInit(): void; static ɵfac: i0.ɵɵFactoryDeclaration; static ɵcmp: i0.ɵɵComponentDeclaration; } export {};