import { Component, Input } from '@angular/core';
import { UntypedFormControl } from '@angular/forms';
import * as i0 from "@angular/core";
import * as i1 from "@angular/material/slide-toggle";
import * as i2 from "@angular/forms";
export class ToggleComponent {
    constructor() {
        this.label = null;
        this.frmControl = new UntypedFormControl;
        this.readonly = false;
        this.disabled = false;
        this.appearance = null;
    }
    ngOnInit() {
    }
}
ToggleComponent.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "14.1.0", ngImport: i0, type: ToggleComponent, deps: [], target: i0.ɵɵFactoryTarget.Component });
ToggleComponent.ɵcmp = i0.ɵɵngDeclareComponent({ minVersion: "14.0.0", version: "14.1.0", type: ToggleComponent, selector: "eagna-toggle", inputs: { label: "label", frmControl: "frmControl", readonly: "readonly", disabled: "disabled", appearance: "appearance" }, ngImport: i0, template: "<mat-slide-toggle [formControl]=\"frmControl\" color=\"primary\">\r\n    {{label}}\r\n</mat-slide-toggle>", styles: [""], dependencies: [{ kind: "component", type: i1.MatSlideToggle, selector: "mat-slide-toggle", inputs: ["disabled", "disableRipple", "color", "tabIndex", "name", "id", "labelPosition", "aria-label", "aria-labelledby", "aria-describedby", "required", "checked"], outputs: ["change", "toggleChange"], exportAs: ["matSlideToggle"] }, { kind: "directive", type: i2.NgControlStatus, selector: "[formControlName],[ngModel],[formControl]" }, { kind: "directive", type: i2.FormControlDirective, selector: "[formControl]", inputs: ["formControl", "disabled", "ngModel"], outputs: ["ngModelChange"], exportAs: ["ngForm"] }] });
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "14.1.0", ngImport: i0, type: ToggleComponent, decorators: [{
            type: Component,
            args: [{ selector: 'eagna-toggle', template: "<mat-slide-toggle [formControl]=\"frmControl\" color=\"primary\">\r\n    {{label}}\r\n</mat-slide-toggle>" }]
        }], ctorParameters: function () { return []; }, propDecorators: { label: [{
                type: Input
            }], frmControl: [{
                type: Input
            }], readonly: [{
                type: Input
            }], disabled: [{
                type: Input
            }], appearance: [{
                type: Input
            }] } });
//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