UNPKG

ddata-ui-input

Version:

DData UI Input module, components, models & services

50 lines (49 loc) 2.48 kB
import { AfterViewInit, ElementRef, EventEmitter, 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 DdataTextareaComponent 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); inputClass: string; disabled: boolean; isViewOnly: boolean; labelClass: string; inputBlockClass: string; inputBlockExtraClass: string; viewOnlyClass: string; showLabel: boolean; autoFocus: boolean; wrapperClass: string; rows: string; enableCharacterCounter: boolean; enableWordCounter: boolean; maxLength: number; maxWords: number; wordCounterWarningMessage: string; changed: EventEmitter<any>; inputBox: ElementRef; random: string; displayWordCounterWarning: boolean; constructor(); ngOnInit(): void; ngAfterViewInit(): void; validateField(): void; setWordCounterWarning(value: boolean): void; static ɵfac: i0.ɵɵFactoryDeclaration<DdataTextareaComponent, never>; static ɵcmp: i0.ɵɵComponentDeclaration<DdataTextareaComponent, "dd-textarea", never, { "model": "model"; "field": "field"; "append": "append"; "prepend": "prepend"; "labelText": "labelText"; "inputClass": "inputClass"; "disabled": "disabled"; "isViewOnly": "isViewOnly"; "labelClass": "labelClass"; "inputBlockClass": "inputBlockClass"; "inputBlockExtraClass": "inputBlockExtraClass"; "viewOnlyClass": "viewOnlyClass"; "showLabel": "showLabel"; "autoFocus": "autoFocus"; "wrapperClass": "wrapperClass"; "rows": "rows"; "enableCharacterCounter": "enableCharacterCounter"; "enableWordCounter": "enableWordCounter"; "maxLength": "maxLength"; "maxWords": "maxWords"; "wordCounterWarningMessage": "wordCounterWarningMessage"; }, { "changed": "changed"; }, never, never, false, never>; }