@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.
23 lines (22 loc) • 1.07 kB
TypeScript
import { EventEmitter, ChangeDetectorRef } from '@angular/core';
import { ControlValueAccessor } from '@angular/forms';
import * as i0 from "@angular/core";
export declare class ToggleSwitchComponent implements ControlValueAccessor {
private cdr;
id: string;
value: string;
label?: string;
checkedChange: EventEmitter<boolean>;
checked: boolean;
disabled: boolean;
constructor(cdr: ChangeDetectorRef);
onChange: (_: any) => void;
onTouched: () => void;
writeValue(value: boolean): void;
registerOnChange(fn: any): void;
registerOnTouched(fn: any): void;
setDisabledState(isDisabled: boolean): void;
toggle(): void;
static ɵfac: i0.ɵɵFactoryDeclaration<ToggleSwitchComponent, never>;
static ɵcmp: i0.ɵɵComponentDeclaration<ToggleSwitchComponent, "cardinal-toggle-switch", never, { "id": { "alias": "id"; "required": true; }; "value": { "alias": "value"; "required": true; }; "label": { "alias": "label"; "required": false; }; }, { "checkedChange": "checkedChange"; }, never, never, true, never>;
}