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