UNPKG

@fluent-form/core

Version:

An Angular dynamic forms library powered by Fluent API and JSON.

15 lines (14 loc) 603 B
import type { AbstractControl } from '@angular/forms'; import type { AnyArray, AnyObject } from '@ngify/core'; import type { AbstractControlSchema } from '../schemas'; import * as i0 from "@angular/core"; /** * @internal */ export declare class ValueUtil { private readonly schemaUtil; valueOfModel<M extends AnyObject | AnyArray>(model: M, schema: AbstractControlSchema): unknown; valueOfControl(control: AbstractControl, schema: AbstractControlSchema): unknown; static ɵfac: i0.ɵɵFactoryDeclaration<ValueUtil, never>; static ɵprov: i0.ɵɵInjectableDeclaration<ValueUtil>; }