@ng-flexy/form
Version:
Flexy components and tools to build Angular 8+ applications
11 lines (10 loc) • 778 B
TypeScript
import { FlexyFormFieldLayoutSchema } from '../models/layout-schema.model';
import { FlexyFormJsonMapperService } from './json-mapper.service';
import { FlexyFormComplexFieldLayoutJsonSchema } from '../models/layout-json-schema.model';
export declare class FlexyFormSchemaService {
private jsonMapperService;
constructor(jsonMapperService: FlexyFormJsonMapperService);
addGroupItemToSchema(parentSchemaRef: FlexyFormFieldLayoutSchema, itemKey: string, groupSchema: FlexyFormComplexFieldLayoutJsonSchema, controlGroupName: string, readonly: boolean): FlexyFormFieldLayoutSchema;
validateGroupKey(key: any, groupSchema: FlexyFormComplexFieldLayoutJsonSchema): string;
removeGroupItemToSchema(layoutSchemaRef: FlexyFormFieldLayoutSchema, index: any): string;
}