import { ControlsCommon , ControlsContent , randomName } from '../controls.common' ; class ReferenceContent implements ControlsContent { helperText : string ; name : string ; placeholder : string ; required : boolean ; type : string ; value : any ; label : string ; typeID : number | number [ ] ; public constructor ( ) { this . type = 'ref' ; this . name = randomName ( this . type ) ; this . label = 'Ref' ; } } export class ReferenceControl extends ControlsCommon { public name : string = 'ref' ; public label : string = 'Reference' ; public icon : string = 'fas fa-retweet' ; public dndType : string = 'inputs' ; public content ( ) { return new ReferenceContent ( ) ; } }