import { OnInit, OnChanges, EventEmitter, ElementRef, Renderer2, OnDestroy, AfterViewInit } from '@angular/core'; import { FormGroup } from '@angular/forms'; import { TranslateService } from '@ngx-translate/core'; import { PepLayoutType, PepCustomizationService, PepHorizontalAlignment, PepTextboxFieldType, PepUtilitiesService } from '@pepperi-addons/ngx-lib'; import { Observable } from 'rxjs'; import * as i0 from "@angular/core"; /** * This is a text box input component that can be use to * * @export * @class PepTextboxComponent * @implements {OnChanges} * @implements {OnInit} * @implements {OnDestroy} */ export declare class PepTextboxComponent implements OnChanges, OnInit, AfterViewInit, OnDestroy { private customizationService; private renderer; private element; private translate; private utilitiesService; dataQa: string; private _key; /** * The text box key * * @memberof PepTextboxComponent */ set key(value: string); get key(): string; private _value; /** * The value of the text box. * * @memberof PepTextboxComponent */ set value(value: string); get value(): string; get valueAsCurrentCulture(): string; protected formattedValue: string; private _minFractionDigits; set minFractionDigits(value: number); get minFractionDigits(): number; private _maxFractionDigits; set maxFractionDigits(value: number); get maxFractionDigits(): number; /** * The accessory sign. * * @memberof PepTextboxComponent */ accessory: string; /** * The title of the textbox. * * @memberof PepTextboxComponent */ label: string; /** * The placeholder (relevant only for children - if parent isn't null). * * @memberof PepTextboxComponent */ placeholder: string; /** * The type of the textbox. * * @type {PepTextboxFieldType} * @memberof PepTextboxComponent */ private _type; set type(value: PepTextboxFieldType); get type(): PepTextboxFieldType; private inputMode; /** * If the textbox is mandatory * * @memberof PepTextboxComponent */ private _mandatory; set mandatory(value: boolean); get mandatory(): boolean; /** * If the textbox is disabled. * * @memberof PepTextboxComponent */ disabled: boolean; /** * If the textbox is readonly * * @memberof PepTextboxComponent */ readonly: boolean; maxFieldCharacters: number; hint: string; textColor: string; xAlignment: PepHorizontalAlignment; rowSpan: number; minValue: number; maxValue: number; private _visible; set visible(visible: boolean); get visible(): boolean; form: FormGroup; isActive: boolean; showTitle: boolean; renderTitle: boolean; renderError: boolean; renderSymbol: boolean; layoutType: PepLayoutType; parentFieldKey: string; regex: string | RegExp; regexError: string; /** * The value change event. * * @type {EventEmitter} * @memberof PepTextboxComponent */ valueChange: EventEmitter; keyup: EventEmitter; input: ElementRef; private _calculateFormattedValue; get calculateFormattedValue(): boolean; controlType: string; standAlone: boolean; isInEditMode: boolean; private _isInFocus; set isInFocus(isInFocus: boolean); get isInFocus(): boolean; private _displayValueSubject; get displayValue$(): Observable; constructor(customizationService: PepCustomizationService, renderer: Renderer2, element: ElementRef, translate: TranslateService, utilitiesService: PepUtilitiesService); private setInputModeAttribute; private notifyDisplayValueChange; private setFormattedValue; private updateFormFieldValue; private changeDisplayValue; private setDefaultForm; ngOnInit(): void; ngAfterViewInit(): void; ngOnChanges(changes: any): void; ngOnDestroy(): void; onFocus(event: any): void; isDecimal(): boolean; isNumberType(): boolean; isValueValid(value: string): boolean; isDifferentValue(value: string): boolean; onChange(e: any): void; onKeyup(event: any): any; onBlur(e: any): void; anchorClicked(): void; cardTemplateClicked(event: any): void; static ɵfac: i0.ɵɵFactoryDeclaration; static ɵcmp: i0.ɵɵComponentDeclaration; }