import { ChangeDetectorRef, ElementRef, EventEmitter, Renderer2 } from "@angular/core"; import { ControlContainer, FormGroupDirective } from "@angular/forms"; import { CommonService } from "../../utilities/service/common.service"; import { SafeAbstractControl, SafeBoolean } from "../../utilities/type/type"; import { BzBaseComponent } from "../base/base.component"; import { CoreInputConfig } from "./base-input-config.service"; export declare class BzBaseInputComponent extends BzBaseComponent { protected _controlContainer: ControlContainer; protected _renderer2: Renderer2; protected _commonService: CommonService; formGroupDirective: FormGroupDirective; protected _cd: ChangeDetectorRef; protected _config: CoreInputConfig; disabledValue: boolean; isIcon: boolean; isButton: boolean; formControl: SafeAbstractControl; validation: boolean; statusClass: string; validStatusClass: string; validationErrorClass: string; onChanged: any; onTouched: any; isTriggerValid: boolean; protected _isFirstTime: boolean; type: string; placeholder: string; formControlName: string; errorStatus: Function; ariaId: string; validKey: string; onClick: EventEmitter; input: ElementRef; constructor(_controlContainer: ControlContainer, _renderer2: Renderer2, _commonService: CommonService, formGroupDirective: FormGroupDirective, _cd: ChangeDetectorRef, _config: CoreInputConfig); registerOnChange(fn: (item: any) => void): void; registerOnTouched(fn: () => void): void; /** * Set input touched. * * @author Federico Gambardella * @return {void} */ protected _setInputTouched(): void; /** * Set input state. * * @author Federico Gambardella * @return {void} */ protected setInputState(): void; /** * Check sumbit. * * @author Federico Gambardella * @return {void} */ protected _checkSumbit(): void; /** * Disable input. * * @author Federico Gambardella. * @param isDisabled * @return {void} */ protected _disablbleInput(isDisabled: boolean): void; /** * Set is error state color. * * @author Federico Gambardella * @return {void} */ protected _setIsErrorStateColor(isTriggered?: boolean): void; /** * Generate and set aria id. * * @author Federico Gambardella * @return {void} */ protected _setAriaId(): void; /** * Disabled element. * * @author Federico Gambardella * @param {HTMLElement} element * @param {boolean} isDisabled */ private _disabledElement; /** * Set error status color on validation status change. * * @author Federico Gambardella */ _setErrColorOnStatusChange(): void; /** * Check validation if triggered by event. * * @author Federico Gambardella * @param {boolean} isTriggered * @returns */ checkIfTriggerByEvent(isTriggered: SafeBoolean): boolean; /** * Check validation on event. * * @author Federico Gambardella */ protected _chekValidationOnEvent(): void; /** * Check validation. * * @author Federico Gambardella */ protected _checkValidation(): void; /** * Set required css class. * * @author Federico Gambardella */ protected _setRequiredCssClass(): void; }