import { ControlsCommon , ControlsContent , randomName } from '../controls.common' ; class DateContent implements ControlsContent { helperText : string ; name : string ; placeholder : string ; required : boolean ; type : string ; value : any ; label : string ; format : string ; public constructor ( ) { this . type = 'date' ; this . name = randomName ( this . type ) ; this . label = 'Date' ; } } export class DateControl extends ControlsCommon { public name : string = 'date' ; public label : string = 'Date' ; public icon : string = 'fas fa-calendar-alt' ; public dndType : string = 'inputs' ; public content ( ) { return new DateContent ( ) ; } }