import { ControlsCommon , ControlsContent , randomName } from '../controls.common' ; class PasswordContent implements ControlsContent { helperText : string ; name : string ; placeholder : string ; required : boolean ; type : string ; value : any ; label : string ; public constructor ( ) { this . type = 'password' ; this . name = randomName ( this . type ) ; this . label = 'Password Field' ; } } export class PasswordControl extends ControlsCommon { public name : string = 'password' ; public label : string = 'Password' ; public icon : string = 'fas fa-lock' ; public dndType : string = 'inputs' ; public content ( ) { return new PasswordContent ( ) ; } }