UNPKG

cfc-ds

Version:

Design System do Conselho Federal de Contabilidade baseado no govbr-ds

41 lines (40 loc) 2.11 kB
import { EventEmitter, OnInit } from '@angular/core'; import { ControlValueAccessor } from '@angular/forms'; import * as i0 from "@angular/core"; export declare class TextareaComponent implements ControlValueAccessor, OnInit { id: string; label: string; placeholder: string; helperText: string; maxLength: number | null; required: boolean; isDisabled: boolean; resize: 'both' | 'horizontal' | 'vertical' | 'none'; state: 'default' | 'error' | 'success' | 'warning' | 'info'; showCharCount: boolean; rows: number; cols: number; textChange: EventEmitter<string>; value: string; focused: boolean; touched: boolean; get textareaId(): string; get countId(): string; get helperId(): string; get counterMode(): 'limit' | 'counter' | 'none'; get charCount(): number; get remainingChars(): number; get ariaDescribedBy(): string | null; ngOnInit(): void; onChange: any; onTouched: any; writeValue(value: string): void; registerOnChange(fn: any): void; registerOnTouched(fn: any): void; setDisabledState(isDisabled: boolean): void; onInput(event: any): void; onBlur(): void; onFocus(): void; static ɵfac: i0.ɵɵFactoryDeclaration<TextareaComponent, never>; static ɵcmp: i0.ɵɵComponentDeclaration<TextareaComponent, "cfc-textarea", never, { "id": { "alias": "id"; "required": false; }; "label": { "alias": "label"; "required": false; }; "placeholder": { "alias": "placeholder"; "required": false; }; "helperText": { "alias": "helperText"; "required": false; }; "maxLength": { "alias": "maxLength"; "required": false; }; "required": { "alias": "required"; "required": false; }; "isDisabled": { "alias": "isDisabled"; "required": false; }; "resize": { "alias": "resize"; "required": false; }; "state": { "alias": "state"; "required": false; }; "showCharCount": { "alias": "showCharCount"; "required": false; }; "rows": { "alias": "rows"; "required": false; }; "cols": { "alias": "cols"; "required": false; }; }, { "textChange": "textChange"; }, never, never, false, never>; }