UNPKG

ngx-schema-forms

Version:

New features: - Ajv schema validator. - Angular forms compatible: Property tree is created using FormGroup, FormArray and FormControl classes. - Array now properly loads initial data from model. - WidgetTyep: WidgetRegistry now supports WidgetType, now wo

17 lines (16 loc) 707 B
import { FormGroup } from '@angular/forms'; import { Schema } from '../schema'; import { FormProperty } from './form-property'; import { FormPropertyErrors } from './form-property-errors'; import { GroupProperty } from './group-property'; declare const ObjectProperty_base: typeof FormGroup & (new (...args: any[]) => FormProperty); export declare class ObjectProperty extends ObjectProperty_base implements GroupProperty { fieldsetWidgetInstance: any; constructor(path: string, schema: Schema); _updateValue(): void; getErrors(): FormPropertyErrors | null; bindVisibility(): void; forEach(fn: (property: FormProperty) => void, opts?: { includeSelf: boolean; }): void; }