@fluent-form/core
Version:
An Angular dynamic forms library powered by Fluent API and JSON.
12 lines (11 loc) • 541 B
TypeScript
import type { AnyObject, SafeAny } from '@ngify/core';
import * as i0 from "@angular/core";
export declare abstract class CodeEvaluator {
abstract evaluate(code: string, context: AnyObject): SafeAny;
}
export declare function isStaticExpression(str: string): boolean;
export declare class DynamicCodeEvaluator implements CodeEvaluator {
evaluate(code: string, context: AnyObject): any;
static ɵfac: i0.ɵɵFactoryDeclaration<DynamicCodeEvaluator, never>;
static ɵprov: i0.ɵɵInjectableDeclaration<DynamicCodeEvaluator>;
}