import { Component, Input } from '@angular/core';
import { UntypedFormControl } from '@angular/forms';
import * as i0 from "@angular/core";
import * as i1 from "@angular/common";
import * as i2 from "@angular/material/checkbox";
import * as i3 from "@angular/forms";
export class CheckboxComponent {
    constructor() {
        this.frmControl = new UntypedFormControl(false);
        this.label = null;
        this.disabled = false;
        this.readonly = false;
        this.appearance = null;
        this.valign = false;
    }
    ngOnInit() { }
}
CheckboxComponent.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "14.1.0", ngImport: i0, type: CheckboxComponent, deps: [], target: i0.ɵɵFactoryTarget.Component });
CheckboxComponent.ɵcmp = i0.ɵɵngDeclareComponent({ minVersion: "14.0.0", version: "14.1.0", type: CheckboxComponent, selector: "eagna-checkbox", inputs: { frmControl: "frmControl", label: "label", disabled: "disabled", readonly: "readonly", appearance: "appearance", valign: "valign", id: "id" }, ngImport: i0, template: "<div class=\"fs-14 m-y-4 valign-middle\">\r\n    <mat-checkbox *ngIf=\"!valign\" [formControl]=\"frmControl\" color=\"primary\">\r\n        <span [innerHTML]=\"label\"></span></mat-checkbox>\r\n    <div *ngIf=\"valign\" style=\"align-items: center; display: flex; flex-direction: column;\">\r\n        <span style=\"display: flex; flex-direction: column; align-items: center;\" [innerHTML]=\"label\"></span>\r\n        <mat-checkbox [formControl]=\"frmControl\" color=\"primary\"></mat-checkbox>\r\n    </div>\r\n</div>", styles: [""], dependencies: [{ kind: "directive", type: i1.NgIf, selector: "[ngIf]", inputs: ["ngIf", "ngIfThen", "ngIfElse"] }, { kind: "component", type: i2.MatCheckbox, selector: "mat-checkbox", inputs: ["disableRipple", "color", "tabIndex", "aria-label", "aria-labelledby", "aria-describedby", "id", "required", "labelPosition", "name", "value", "checked", "disabled", "indeterminate"], outputs: ["change", "indeterminateChange"], exportAs: ["matCheckbox"] }, { kind: "directive", type: i3.NgControlStatus, selector: "[formControlName],[ngModel],[formControl]" }, { kind: "directive", type: i3.FormControlDirective, selector: "[formControl]", inputs: ["formControl", "disabled", "ngModel"], outputs: ["ngModelChange"], exportAs: ["ngForm"] }] });
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "14.1.0", ngImport: i0, type: CheckboxComponent, decorators: [{
            type: Component,
            args: [{ selector: 'eagna-checkbox', template: "<div class=\"fs-14 m-y-4 valign-middle\">\r\n    <mat-checkbox *ngIf=\"!valign\" [formControl]=\"frmControl\" color=\"primary\">\r\n        <span [innerHTML]=\"label\"></span></mat-checkbox>\r\n    <div *ngIf=\"valign\" style=\"align-items: center; display: flex; flex-direction: column;\">\r\n        <span style=\"display: flex; flex-direction: column; align-items: center;\" [innerHTML]=\"label\"></span>\r\n        <mat-checkbox [formControl]=\"frmControl\" color=\"primary\"></mat-checkbox>\r\n    </div>\r\n</div>" }]
        }], ctorParameters: function () { return []; }, propDecorators: { frmControl: [{
                type: Input
            }], label: [{
                type: Input
            }], disabled: [{
                type: Input
            }], readonly: [{
                type: Input
            }], appearance: [{
                type: Input
            }], valign: [{
                type: Input
            }], id: [{
                type: Input
            }] } });
//# sourceMappingURL=data:application/json;base64,eyJ2ZXJzaW9uIjozLCJmaWxlIjoiY2hlY2tib3guY29tcG9uZW50LmpzIiwic291cmNlUm9vdCI6IiIsInNvdXJjZXMiOlsiLi4vLi4vLi4vLi4vLi4vLi4vLi4vLi4vcHJvamVjdHMvZWFnbmEvc3JjL2xpYi9AY29tcG9uZW50cy9mb3Jtcy9jaGVja2JveC9jaGVja2JveC5jb21wb25lbnQudHMiLCIuLi8uLi8uLi8uLi8uLi8uLi8uLi8uLi9wcm9qZWN0cy9lYWduYS9zcmMvbGliL0Bjb21wb25lbnRzL2Zvcm1zL2NoZWNrYm94L2NoZWNrYm94LmNvbXBvbmVudC5odG1sIl0sIm5hbWVzIjpbXSwibWFwcGluZ3MiOiJBQUFBLE9BQU8sRUFBRSxTQUFTLEVBQVUsS0FBSyxFQUFFLE1BQU0sZUFBZSxDQUFDO0FBQ3pELE9BQU8sRUFBRSxrQkFBa0IsRUFBRSxN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