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/forms";
import * as i3 from "@anglr/common";
/**
 * Component used for displaying input of type number
 */
export class InputNumberComponent extends PropertyTypeControlBase {
}
InputNumberComponent.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "17.0.4", ngImport: i0, type: InputNumberComponent, deps: null, target: i0.ɵɵFactoryTarget.Component });
InputNumberComponent.ɵcmp = i0.ɵɵngDeclareComponent({ minVersion: "14.0.0", version: "17.0.4", type: InputNumberComponent, selector: "input-number", usesInheritance: true, ngImport: i0, template: "<input class=\"properties-form-control\" type=\"text\" number [formControl]=\"_control | asRequired\">", 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: "directive", type: i2.NumberInputControlValueAccessor, selector: "input[number][formControlName],input[number][formControl],input[number][ngModel]" }, { kind: "directive", type: i2.NumberInputValidatorDirective, selector: "input[number][formControlName],input[number][formControl],input[number][ngModel]" }, { kind: "pipe", type: i3.AsRequiredTypePipe, name: "asRequired" }], changeDetection: i0.ChangeDetectionStrategy.OnPush });
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "17.0.4", ngImport: i0, type: InputNumberComponent, decorators: [{
            type: Component,
            args: [{ selector: 'input-number', changeDetection: ChangeDetectionStrategy.OnPush, template: "<input class=\"properties-form-control\" type=\"text\" number [formControl]=\"_control | asRequired\">", styles: [":host{display: block;}"] }]
        }] });
//# sourceMappingURL=inputNumber.component.js.map