UNPKG

tibas-form-json-generator

Version:

Fully configured form generator via JSON data with a custom template for each attribute + onChange events.

38 lines (37 loc) 887 B
import { ParentFunctionEnum } from './parent.function.enum'; import { AttributeSourceTypeEnum } from './attribute-sourceType.enum'; export declare class AttributeModel { code: string; label: string; value: any; template: string; templateAtt: string; cssClass: string; typeSource: AttributeSourceTypeEnum; typeData: string; refTable: string; refValues: { id: number; code: string; label: any; }[]; onChange: string; required: boolean; defaultValueId: number; hiddenlevels: number[]; hidden: boolean; disable: boolean; maxlength: number; forumlaAttribute: { depends: string[]; function: string; }; forumlaItems: { depends: string[]; function: ParentFunctionEnum; }; mandatory: { depends: string[]; function: string; }; }