import { Component, ChangeDetectionStrategy } from '@angular/core';
import { HostDisplayBlockStyle } from '@anglr/common';
import { PropertyTypeControlBase } from '../propertyTypeControlBase';
import * as i0 from "@angular/core";
import * as i1 from "@angular/forms";
import * as i2 from "@anglr/common";
/**
 * Component used for displaying input of type boolean
 */
export class InputBooleanComponent extends PropertyTypeControlBase {
}
InputBooleanComponent.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "17.0.4", ngImport: i0, type: InputBooleanComponent, deps: null, target: i0.ɵɵFactoryTarget.Component });
InputBooleanComponent.ɵcmp = i0.ɵɵngDeclareComponent({ minVersion: "14.0.0", version: "17.0.4", type: InputBooleanComponent, selector: "input-boolean", usesInheritance: true, ngImport: i0, template: "<input class=\"properties-form-control\" type=\"checkbox\" [formControl]=\"_control | asRequired\">", styles: [":host{display: block;}"], dependencies: [{ kind: "directive", type: i1.CheckboxControlValueAccessor, selector: "input[type=checkbox][formControlName],input[type=checkbox][formControl],input[type=checkbox][ngModel]" }, { kind: "directive", type: i1.NgControlStatus, selector: "[formControlName],[ngModel],[formControl]" }, { kind: "directive", type: i1.FormControlDirective, selector: "[formControl]", inputs: ["formControl", "disabled", "ngModel"], outputs: ["ngModelChange"], exportAs: ["ngForm"] }, { kind: "pipe", type: i2.AsRequiredTypePipe, name: "asRequired" }], changeDetection: i0.ChangeDetectionStrategy.OnPush });
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "17.0.4", ngImport: i0, type: InputBooleanComponent, decorators: [{
            type: Component,
            args: [{ selector: 'input-boolean', changeDetection: ChangeDetectionStrategy.OnPush, template: "<input class=\"properties-form-control\" type=\"checkbox\" [formControl]=\"_control | asRequired\">", styles: [":host{display: block;}"] }]
        }] });
//# sourceMappingURL=inputBoolean.component.js.map