angular2-json-schema-form
Version:
Angular 2 JSON Schema Form builder
8 lines (7 loc) • 607 B
TypeScript
export declare function buildLayout(jsf: any, widgetLibrary: any): any[];
export declare function buildLayoutFromSchema(jsf: any, widgetLibrary: any, layoutPointer?: string, schemaPointer?: string, dataPointer?: string, arrayItem?: boolean, arrayItemType?: string, removable?: boolean, forRefLibrary?: boolean): any;
export declare function mapLayout(layout: any[], fn: (v: any, i?: number, p?: string, l?: any) => any, layoutPointer?: string, rootLayout?: any[]): any[];
export declare function buildTitleMap(titleMap: any, enumList: any, fieldRequired?: boolean): {
name: string;
value: any;
}[];