UNPKG

ddata-ui-input

Version:

DData UI Input module, components, models & services

15 lines (14 loc) 1.01 kB
import { BaseModelInterface, FieldsInterface, ValidatorServiceInterface } from 'ddata-core'; import { InputHelperServiceInterface } from './input-helper-service.interface'; export declare class InputHelperService implements InputHelperServiceInterface { validatorService: ValidatorServiceInterface; constructor(); validateField(model: BaseModelInterface<any> & FieldsInterface<any>, field: string): boolean; getTitle(model: BaseModelInterface<any> & FieldsInterface<any>, field: string): string; getLabel(model: BaseModelInterface<any> & FieldsInterface<any>, field: string): string; getPlaceholder(model: BaseModelInterface<any> & FieldsInterface<any>, field: string): string; getPrepend(model: BaseModelInterface<any> & FieldsInterface<any>, field: string): string; getAppend(model: BaseModelInterface<any> & FieldsInterface<any>, field: string): string; isRequired(model: BaseModelInterface<any> & FieldsInterface<any>, field: string): boolean; randChars(): string; }