UNPKG

ddata-ui-input

Version:

DData UI Input module, components, models & services

52 lines (51 loc) 2.59 kB
import { EventEmitter } from '@angular/core'; import { AfterViewInit, ElementRef, OnInit } from '@angular/core'; import { BaseModelInterface, FieldsInterface } from 'ddata-core'; import { InputHelperServiceInterface } from '../../services/input/helper/input-helper-service.interface'; import * as i0 from "@angular/core"; export declare class DdataInputComponent implements OnInit, AfterViewInit { helperService: InputHelperServiceInterface; _field: string; _title: string; _label: string; _placeholder: string; _prepend: string; _append: string; _max: string; _isRequired: boolean; _model: BaseModelInterface<any> & FieldsInterface<any>; set model(value: BaseModelInterface<any> & FieldsInterface<any> | null); get model(): BaseModelInterface<any> & FieldsInterface<any>; set field(value: string); set append(value: string); set prepend(value: string); set labelText(value: string); disabled: boolean; isViewOnly: boolean; type: string; inputClass: string; labelClass: string; inputBlockClass: string; inputBlockExtraClass: string; viewOnlyClass: string; wrapperClass: string; showLabel: boolean; autoFocus: boolean; enableCharacterCounter: boolean; enableWordCounter: boolean; maxLength: number; maxWords: number; wordCounterWarningMessage: string; changed: EventEmitter<any>; readonly maxLengthReached: EventEmitter<boolean>; inputBox: ElementRef; random: string; displayWordCounterWarning: boolean; constructor(); ngOnInit(): void; ngAfterViewInit(): void; validateField(): void; setWordCounterWarning(value: boolean): void; static ɵfac: i0.ɵɵFactoryDeclaration<DdataInputComponent, never>; static ɵcmp: i0.ɵɵComponentDeclaration<DdataInputComponent, "dd-input", never, { "model": "model"; "field": "field"; "append": "append"; "prepend": "prepend"; "labelText": "labelText"; "disabled": "disabled"; "isViewOnly": "isViewOnly"; "type": "type"; "inputClass": "inputClass"; "labelClass": "labelClass"; "inputBlockClass": "inputBlockClass"; "inputBlockExtraClass": "inputBlockExtraClass"; "viewOnlyClass": "viewOnlyClass"; "wrapperClass": "wrapperClass"; "showLabel": "showLabel"; "autoFocus": "autoFocus"; "enableCharacterCounter": "enableCharacterCounter"; "enableWordCounter": "enableWordCounter"; "maxLength": "maxLength"; "maxWords": "maxWords"; "wordCounterWarningMessage": "wordCounterWarningMessage"; }, { "changed": "changed"; "maxLengthReached": "maxLengthReached"; }, never, never, false, never>; }