import { OnChanges, OnInit, SimpleChanges } from '@angular/core'; import { FormGroup, Validators } from '@angular/forms'; import { EditableColumn, EditableColumnInput } from '../../interfaces/table-column'; import { RoleService } from '../../services/role.service'; export declare class FormBaseComponent implements OnInit, OnChanges { protected roleService: RoleService; /** * the columns to be used for generating the form */ columns: EditableColumn[]; /** * the formGroup to bind the form to */ formGroup: FormGroup; /** * whether the user can only see form or update its values as well */ readonly: boolean; /** * the class to used with the div that group the input and the label */ groupClass: string; random: number; Validators: typeof Validators; constructor(roleService: RoleService); ngOnInit(): void; ngOnChanges(changes: SimpleChanges): void; inputChanged(column: EditableColumnInput, value: any): void; }