import { Component, Input, Output } from "@angular/core";
import { ValueField } from "../value-field";
import * as i0 from "@angular/core";
import * as i1 from "../form-field-label.component";
export class LabelFieldComponent {
}
LabelFieldComponent.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "13.3.0", ngImport: i0, type: LabelFieldComponent, deps: [], target: i0.ɵɵFactoryTarget.Component });
LabelFieldComponent.ɵcmp = i0.ɵɵngDeclareComponent({ minVersion: "12.0.0", version: "13.3.0", type: LabelFieldComponent, selector: "path-label-field", inputs: { field: "field" }, outputs: { field: "field" }, ngImport: i0, template: "<span class=\"row\">\r\n<path-form-field-label [class.col-sm-4]=\"field.width == 1\" [class.col-sm-2]=\"field.width == 2\" [hidden]=\"!field.labelVisible\" [label]=\"field.name\" [required]=\"field.required\"></path-form-field-label>\r\n<div [class.col-sm-8]=\"field.width == 1 && field.labelVisible\"\r\n     [class.col-sm-12]=\"field.width == 1 && !field.labelVisible\"\r\n     [class.col-sm-10]=\"field.width == 2 && field.labelVisible\"\r\n     [class.col-sm-12]=\"field.width == 2 && !field.labelVisible\">\r\n    <div class=\"input-group path-default-font\"><div class=\"form-control border-0\" [innerHTML]=\"field.value\"></div></div>\r\n</div>\r\n</span>", components: [{ type: i1.FormFieldLabelComponent, selector: "path-form-field-label", inputs: ["label", "required"] }] });
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "13.3.0", ngImport: i0, type: LabelFieldComponent, decorators: [{
            type: Component,
            args: [{ selector: "path-label-field", template: "<span class=\"row\">\r\n<path-form-field-label [class.col-sm-4]=\"field.width == 1\" [class.col-sm-2]=\"field.width == 2\" [hidden]=\"!field.labelVisible\" [label]=\"field.name\" [required]=\"field.required\"></path-form-field-label>\r\n<div [class.col-sm-8]=\"field.width == 1 && field.labelVisible\"\r\n     [class.col-sm-12]=\"field.width == 1 && !field.labelVisible\"\r\n     [class.col-sm-10]=\"field.width == 2 && field.labelVisible\"\r\n     [class.col-sm-12]=\"field.width == 2 && !field.labelVisible\">\r\n    <div class=\"input-group path-default-font\"><div class=\"form-control border-0\" [innerHTML]=\"field.value\"></div></div>\r\n</div>\r\n</span>" }]
        }], propDecorators: { field: [{
                type: Input,
                args: ["field"]
            }, {
                type: Output,
                args: ["field"]
            }] } });
export class LabelField extends ValueField {
}
//# sourceMappingURL=data:application/json;base64,eyJ2ZXJzaW9uIjozLCJmaWxlIjoibGFiZWwtZmllbGQuY29tcG9uZW50LmpzIiwic291cmNlUm9vdCI6IiIsInNvdXJjZXMiOlsiLi4vLi4vLi4vLi4vLi4vLi4vYXBwL3BhdGgtZnJhbWV3b3JrL2Zvcm0vZmllbGQvbGFiZWwvbGFiZWwtZmllbGQuY29tcG9uZW50LnRzIiwiLi4vLi4vLi4vLi4vLi4vLi4vYXBwL3BhdGgtZnJhbWV3b3JrL2Zvcm0vZmllbGQvbGFiZWwvbGFiZWwtZmllbGQuY29tcG9uZW50Lmh0bWwiXSwibmFtZXMiOltdLCJtYXBwaW5ncyI6IkFBQUEsT0FBTyxFQUFDLFNBQVMsRUFBRSxLQUFLLEVBQUUsTUFBTSxFQUFDLE1BQU0sZUFBZSxDQUFDO0FBQ3ZELE9BQU8sRUFBQyxVQUFVLEVBQUMsTUFBTSxnQkFBZ0IsQ0FBQzs7O0FBTTFDLE1BQU0sT0FBTyxtQkFBbUI7O2dIQUFuQixtQkFBbUI7b0dBQW5CLG1CQUFtQixpSENQaEMsd3BCQVFPOzJGRERNLG1CQUFtQjtrQkFKL0IsU0FBUzsrQkFDSSxrQkFBa0I7OEJBTTVCLEtBQUs7c0JBRkosS0FBSzt1QkFBQyxPQUFPOztzQkFDYixNQUFNO3VCQUFDLE9BQU87O0FBSW5CLE1BQU0sT0FBTyxVQUFXLFNBQVEsVUFBa0I7Q0FDakQiLCJzb3VyY2VzQ29udGVudCI6WyJpbXBvcnQge0NvbXBvbmVudCwgSW5wdXQsIE91dHB1dH0gZnJvbSBcIkBhbmd1bGFyL2NvcmVcIjtcclxuaW1wb3J0IHtWYWx1ZU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