UNPKG

my-test123

Version:
23 lines (22 loc) 668 B
import { Logger } from 'ngx-base'; import { WorkItem } from '../models/work-item'; /** * This service provides a pre-processing of the type information attached to the WITs. * It is used by the dynamic form components to retrieve the type information and to * create the FormGroup. */ export declare class WorkItemTypeControlService { private log; private FIXED_PROPERTIES; constructor(log: Logger); /** * Validator for numbers only. */ private numberValidator(); /** * Validator for enums. */ private enumValidator(validValues); toFormGroup(workItem: WorkItem): any; toAttributeArray(fields: any): any[]; }