UNPKG

@edirect/form-engine

Version:

Achieve form logic reusage with forms expressed in json format.

16 lines (15 loc) 448 B
import Form from './Form.js'; import { TSchema, TScope } from '../types.js'; declare class Factory { workers: Record<string, Form>; constructor(); getGroupFormsIds(group: string): string[]; getFormInstance(namespace?: string, opts?: { schema?: TSchema; initialScope?: TScope; initialValues?: Record<string, any>; newInstance?: boolean; group?: string; }): Form; } export default Factory;