/** * @license * Copyright ASW (A Software World) All Rights Reserved. * * Use of this source code is governed by an MIT-style license that can be * found in the LICENSE file */ import { Injector, OnInit, OnDestroy, DoCheck, ElementRef } from '@angular/core'; import { ControlValueAccessor, NgControl } from '@angular/forms'; import { FocusMonitor } from '@angular/cdk/a11y'; import { BooleanInput } from '@angular/cdk/coercion'; import { MatFormFieldControl } from '@angular/material/form-field'; import { Subject } from 'rxjs'; import { CardCvvService } from '@asoftwareworld/card-validator/common'; import * as i0 from "@angular/core"; export declare class AswCardCvv implements OnInit, OnDestroy, DoCheck, ControlValueAccessor, MatFormFieldControl { private injector; private elementRef; private focusMonitor; private cardCvvService; static nextId: number; cardCvv: string; onTouched: any; focused: boolean; cvvMaxlength: number; errorState: boolean; ngControl: NgControl | null; stateChanges: Subject; onChanges: any; get value(): any; set value(cardNumber: any); private value$; get placeholder(): string; set placeholder(placeholder: string); private placeholder$; get empty(): boolean; get required(): boolean; set required(req: BooleanInput); private required$; get disabled(): boolean; set disabled(value: BooleanInput); private disabled$; aswInputClass?: string; id: string; describedBy: string; get shouldLabelFloat(): boolean; constructor(injector: Injector, elementRef: ElementRef, focusMonitor: FocusMonitor, cardCvvService: CardCvvService); ngOnInit(): void; ngDoCheck(): void; writeValue(value: string): void; registerOnChange(fn: any): void; registerOnTouched(fn: any): void; setDescribedByIds(ids: string[]): void; onContainerClick(event: MouseEvent): void; updateCvv(event: Event): void; updateOnTouch(): void; ngOnDestroy(): void; static ɵfac: i0.ɵɵFactoryDeclaration; static ɵcmp: i0.ɵɵComponentDeclaration; }