UNPKG

@fluent-form/core

Version:

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

14 lines (13 loc) 819 B
import { InjectionToken, type TemplateRef, type Type } from '@angular/core'; import type { SafeAny } from '@ngify/core'; import type { AbstractFormContentComponent, AbstractFormFieldContentComponent } from './components'; import type { SchemaConfig } from './interfaces'; import type { AbstractWidget } from './widgets/widget'; export declare const WIDGET_MAP: InjectionToken<Map<string, Type<AbstractWidget<unknown>>>>; export declare const SCHEMA_MAP: InjectionToken<Map<string, SchemaConfig<any>>>; export declare const NAMED_TEMPLATES: InjectionToken<{ name: string; templateRef: TemplateRef<SafeAny>; }[]>; export declare const FLUENT_FORM_CONTENT: InjectionToken<Type<AbstractFormContentComponent>>; export declare const FLUENT_FORM_FIELD_CONTENT: InjectionToken<Type<AbstractFormFieldContentComponent>>;