ngx-iban
Version:
This Angular (7+) library consists of three parts:
14 lines (13 loc) • 792 B
TypeScript
import { AbstractControl, ValidationErrors, Validator, ValidatorFn } from '@angular/forms';
import { OnChanges, SimpleChanges } from '@angular/core';
import * as i0 from "@angular/core";
export declare const ibanValidator: (countryCode?: string) => ValidatorFn;
export declare class IbanDirective implements Validator, OnChanges {
countryCode?: string;
private _onChange?;
validate(control: AbstractControl): ValidationErrors | null;
registerOnValidatorChange(fn: () => void): void;
ngOnChanges(changes: SimpleChanges): void;
static ɵfac: i0.ɵɵFactoryDeclaration<IbanDirective, never>;
static ɵdir: i0.ɵɵDirectiveDeclaration<IbanDirective, "[ngxIban]", never, { "countryCode": { "alias": "ngxIban"; "required": false; }; }, {}, never, never, true, never>;
}