/** * Defines the Input class * Author: Callan Heard */ /** Form input tracking based on Angular FormControl */ export declare class Input { /** Current input value */ private _value; /** Whether the input should be required */ private _required; /** Extra input value validation */ private _validator?; /** Initial value from constructor */ private _initial; /** Whether the input value is valid */ private _valid; /** Whether the input should be disabled */ disabled: boolean; /** Whether the input has been interacted with */ clean: boolean; /** Optional string identifier */ name: string; /** Current input value */ get value(): T; set value(v_: T); /** Whether the input should be required */ get required(): boolean; set required(v_: boolean); /** Whether the input value is valid */ get valid(): boolean; /** Initialise properties */ constructor( /** Current input value */ _value?: T, /** Whether the input should be required */ _required?: boolean, /** Extra input value validation */ _validator?: (v_: T) => boolean); /** Update valid value */ private _validate; /** Check valid on submit and set clean to false to highlight invalid */ canSubmit(): boolean; /** Reset value, clean and valid to initial state */ reset(): void; } //# sourceMappingURL=input.class.d.ts.map