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 textarea
 */
export class TextareaComponent extends PropertyTypeControlBase {
}
TextareaComponent.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "17.0.4", ngImport: i0, type: TextareaComponent, deps: null, target: i0.ɵɵFactoryTarget.Component });
TextareaComponent.ɵcmp = i0.ɵɵngDeclareComponent({ minVersion: "14.0.0", version: "17.0.4", type: TextareaComponent, selector: "textarea-input", usesInheritance: true, ngImport: i0, template: "<textarea class=\"properties-form-control\" [formControl]=\"_control | asRequired\"></textarea>", styles: [":host{display: block;}"], dependencies: [{ kind: "directive", type: i1.DefaultValueAccessor, selector: "input:not([type=checkbox])[formControlName],textarea[formControlName],input:not([type=checkbox])[formControl],textarea[formControl],input:not([type=checkbox])[ngModel],textarea[ngModel],[ngDefaultControl]" }, { 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: TextareaComponent, decorators: [{
            type: Component,
            args: [{ selector: 'textarea-input', changeDetection: ChangeDetectionStrategy.OnPush, template: "<textarea class=\"properties-form-control\" [formControl]=\"_control | asRequired\"></textarea>", styles: [":host{display: block;}"] }]
        }] });
//# sourceMappingURL=textarea.component.js.map