import { Component, Input } from '@angular/core';
import * as i0 from "@angular/core";
import * as i1 from "@angular/common";
import * as i2 from "../parse-messages.pipe";
export class ValidationErrorsComponent {
    constructor() {
    }
    ngOnInit() {
    }
}
ValidationErrorsComponent.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "12.2.4", ngImport: i0, type: ValidationErrorsComponent, deps: [], target: i0.ɵɵFactoryTarget.Component });
ValidationErrorsComponent.ɵcmp = i0.ɵɵngDeclareComponent({ minVersion: "12.0.0", version: "12.2.4", type: ValidationErrorsComponent, selector: "ui-validation-errors", inputs: { errors: "errors" }, ngImport: i0, template: "<div *ngFor=\"let error of errors | parseMessages\">{{error}}</div>\n", styles: [":host{display:block;font-size:var(--field-comment-font-size);color:var(--color-error);line-height:var(--line-height);padding:var(--field-padding);padding-top:var(--field-comment-padding)}:host-context(ui-checkbox){padding:var(--checkRadio-error-padding)}:host-context(ui-radio-group){padding:var(--checkRadio-error-padding)}:host-context(ui-switch){padding:0;padding-top:var(--switch-error-padding)}"], directives: [{ type: i1.NgForOf, selector: "[ngFor][ngForOf]", inputs: ["ngForOf", "ngForTrackBy", "ngForTemplate"] }], pipes: { "parseMessages": i2.ParseMessagesPipe } });
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "12.2.4", ngImport: i0, type: ValidationErrorsComponent, decorators: [{
            type: Component,
            args: [{
                    selector: 'ui-validation-errors',
                    templateUrl: './validation-errors.component.html',
                    styleUrls: ['./validation-errors.component.scss']
                }]
        }], ctorParameters: function () { return []; }, propDecorators: { errors: [{
                type: Input
            }] } });
//# sourceMappingURL=data:application/json;base64,eyJ2ZXJzaW9uIjozLCJmaWxlIjoidmFsaWRhdGlvbi1lcnJvcnMuY29tcG9uZW50LmpzIiwic291cmNlUm9vdCI6IiIsInNvdXJjZXMiOlsiLi4vLi4vLi4vLi4vLi4vLi4vLi4vdWkta2l0L3NyYy9saWIvZm9ybS92YWxpZGF0aW9uL3ZhbGlkYXRpb24tZXJyb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