Press n or j to go to the next uncovered block, b, p or k for the previous block.
| 1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 19 20 21 22 23 24 25 26 27 | 6x 6x 6x 6x 2x 2x 6x 2x | import { DynamicFormField } from './dynamic-form-field';
import { DynamicFormFieldEvaluatorFn } from './dynamic-form-field-evaluator-type';
export abstract class DynamicFormFieldEvaluator<
Field extends DynamicFormField = DynamicFormField,
EvaluatorFn extends DynamicFormFieldEvaluatorFn<Field> = DynamicFormFieldEvaluatorFn<Field>
> {
private _key: string;
private _type: string;
private _field: Field;
private _func: EvaluatorFn;
constructor(key: string, type: string, field: Field, func: EvaluatorFn) {
this._key = key;
this._type = type;
this._field = field;
this._func = func;
}
get key(): string { return this._key; }
get type(): string { return this._type; }
get field(): Field { return this._field; }
get func(): EvaluatorFn { return this._func; }
abstract get enabled(): boolean;
}
|