UNPKG

@icure/cardinal-prescription-be-angular

Version:

This is a Belgian-specific Angular application for healthcare professionals to manage electronic prescriptions with SAM. Created by iCure.

26 lines (25 loc) 1.39 kB
import { ElementRef, AfterViewInit, ChangeDetectorRef } from '@angular/core'; import { ControlValueAccessor } from '@angular/forms'; import * as i0 from "@angular/core"; export declare class TextareaInputComponent implements ControlValueAccessor, AfterViewInit { private cdr; label: string; id: string; required?: boolean | undefined; disabled: boolean; errorMessage?: string; autofocus?: boolean | undefined; textareaRef: ElementRef<HTMLTextAreaElement>; constructor(cdr: ChangeDetectorRef); value: string; onChange: (_: any) => void; onTouched: () => void; writeValue(value: string): void; registerOnChange(fn: any): void; registerOnTouched(fn: any): void; setDisabledState(isDisabled: boolean): void; ngAfterViewInit(): void; onInputChange(event: Event): void; static ɵfac: i0.ɵɵFactoryDeclaration<TextareaInputComponent, never>; static ɵcmp: i0.ɵɵComponentDeclaration<TextareaInputComponent, "cardinal-textarea-input", never, { "label": { "alias": "label"; "required": true; }; "id": { "alias": "id"; "required": true; }; "required": { "alias": "required"; "required": false; }; "disabled": { "alias": "disabled"; "required": false; }; "errorMessage": { "alias": "errorMessage"; "required": false; }; "autofocus": { "alias": "autofocus"; "required": false; }; }, {}, never, never, true, never>; }