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: "13.3.4", ngImport: i0, type: ValidationErrorsComponent, deps: [], target: i0.ɵɵFactoryTarget.Component });
ValidationErrorsComponent.ɵcmp = i0.ɵɵngDeclareComponent({ minVersion: "12.0.0", version: "13.3.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)}\n"], directives: [{ type: i1.NgForOf, selector: "[ngFor][ngForOf]", inputs: ["ngForOf", "ngForTrackBy", "ngForTemplate"] }], pipes: { "parseMessages": i2.ParseMessagesPipe } });
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "13.3.4", ngImport: i0, type: ValidationErrorsComponent, decorators: [{
            type: Component,
            args: [{ selector: 'ui-validation-errors', 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)}\n"] }]
        }], ctorParameters: function () { return []; }, propDecorators: { errors: [{
                type: Input
            }] } });
//# sourceMappingURL=data:application/json;base64,eyJ2ZXJzaW9uIjozLCJma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