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.

30 lines (29 loc) 1.71 kB
import { ElementRef, AfterViewInit, ChangeDetectorRef } from '@angular/core'; import { ControlValueAccessor } from '@angular/forms'; import * as i0 from "@angular/core"; export declare class TextInputComponent implements ControlValueAccessor, AfterViewInit { private cdr; label: string; id: string; type?: 'text' | 'number' | 'date' | 'password' | 'file'; required?: boolean | undefined; autofocus?: boolean | undefined; disabled?: boolean | undefined; min?: number; max?: number; accept?: string; errorMessage?: string; inputRef: ElementRef<HTMLInputElement>; value: string | number | Date | null; constructor(cdr: ChangeDetectorRef); onChange: (_: any) => void; onTouched: () => void; writeValue(value: any): void; registerOnChange(fn: any): void; registerOnTouched(fn: any): void; setDisabledState(isDisabled: boolean): void; ngAfterViewInit(): void; onInputChange(event: Event): void; static ɵfac: i0.ɵɵFactoryDeclaration<TextInputComponent, never>; static ɵcmp: i0.ɵɵComponentDeclaration<TextInputComponent, "cardinal-text-input", never, { "label": { "alias": "label"; "required": true; }; "id": { "alias": "id"; "required": true; }; "type": { "alias": "type"; "required": false; }; "required": { "alias": "required"; "required": false; }; "autofocus": { "alias": "autofocus"; "required": false; }; "disabled": { "alias": "disabled"; "required": false; }; "min": { "alias": "min"; "required": false; }; "max": { "alias": "max"; "required": false; }; "accept": { "alias": "accept"; "required": false; }; "errorMessage": { "alias": "errorMessage"; "required": false; }; }, {}, never, never, true, never>; }