@formql/core
Version:
FormQL - A framework for building dynamic forms
23 lines (22 loc) • 579 B
TypeScript
import { FormRules } from './rule.model';
import { FormAction } from './action.model';
import { GridPosition } from './style.model';
export interface FormComponent<T> {
componentId: string;
componentName: string;
value: T;
textMask: any;
schema: string;
label: string;
type: string;
tabIndex: string;
rules: FormRules;
dependents: string[];
action: FormAction;
position: GridPosition;
style: any;
configuration: any;
}
export interface ComponentGroup {
[key: string]: Array<FormComponent<any>>;
}