/** * @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 { FocusMonitor } from '@angular/cdk/a11y'; import { BooleanInput } from '@angular/cdk/coercion'; import { DoCheck, ElementRef, Injector, OnDestroy, OnInit } from '@angular/core'; import { ControlValueAccessor } from '@angular/forms'; import { NgControl } from '@angular/forms'; import { MatFormFieldControl } from '@angular/material/form-field'; import { CardCvvService } from '@asoftwareworld/card-validator/common'; import { Subject } from 'rxjs'; import * as i0 from "@angular/core"; export declare class AswCard implements ControlValueAccessor, MatFormFieldControl, OnInit, DoCheck, OnDestroy { private injector; private elementRef; private focusMonitor; private cardCvvService; static nextId: number; ngControl: NgControl | null; focused: boolean; errorState: boolean; cardNumber: string; cardIcon: any; onChange: any; onTouched: any; stateChanges: Subject; cardMaxlength: number; get empty(): boolean; get value(): any; set value(cardNumber: any); private value$; get required(): boolean; set required(value: BooleanInput); private required$; get disabled(): boolean; set disabled(value: BooleanInput); private disabled$; get placeholder(): string; set placeholder(placeholderValue: string); private placeholder$; get aswDefaultStyles(): boolean; set aswDefaultStyles(val: BooleanInput); private aswDefaultStyles$; aswInputClass?: string; id: string; describedByIds: string; get shouldLabelFloat(): boolean; constructor(injector: Injector, elementRef: ElementRef, focusMonitor: FocusMonitor, cardCvvService: CardCvvService); ngOnInit(): void; writeValue(value: string): void; registerOnChange(fn: any): void; registerOnTouched(fn: any): void; setDescribedByIds(ids: string[]): void; onContainerClick(event: MouseEvent): void; updateIcon(event: Event): void; private prettyCardNumber; updateOnTouch(): void; ngDoCheck(): void; ngOnDestroy(): void; static ɵfac: i0.ɵɵFactoryDeclaration; static ɵcmp: i0.ɵɵComponentDeclaration; }