import { Component, Input } from '@angular/core';
import * as i0 from "@angular/core";
import * as i1 from "@angular/common";
import * as i2 from "../../../../common/data-pipes/pipes/safe-html.pipe";
export class SmzDocumentFieldComponent {
    constructor() { }
    ngOnInit() { }
    static { this.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "17.3.5", ngImport: i0, type: SmzDocumentFieldComponent, deps: [], target: i0.ɵɵFactoryTarget.Component }); }
    static { this.ɵcmp = i0.ɵɵngDeclareComponent({ minVersion: "14.0.0", version: "17.3.5", type: SmzDocumentFieldComponent, selector: "smz-document-field", inputs: { data: "data", config: "config" }, ngImport: i0, template: "<div\r\n  [style.background]=\"data.container.background\"\r\n  class=\"grid grid-nogutter items-start justify-center flex-col h-full relative\"\r\n  [ngClass]=\"data.container.styles\">\r\n\r\n  <div *ngIf=\"data.label.isVisible\"\r\n    [ngClass]=\"data.label.styles\"\r\n    [style.color]=\"data.label.color\"\r\n    [innerHtml]=\"data.label.value | safeHtml\"\r\n    >\r\n  </div>\r\n\r\n  <div\r\n    [style.font-weight]=\"data.text.fontWeight\"\r\n    [ngClass]=\"data.text.styles\"\r\n    [style.color]=\"data.text.color\"\r\n    [innerHtml]=\"data.text.value | safeHtml\"\r\n    >\r\n  </div>\r\n\r\n</div>", dependencies: [{ kind: "directive", type: i1.NgClass, selector: "[ngClass]", inputs: ["class", "ngClass"] }, { kind: "directive", type: i1.NgIf, selector: "[ngIf]", inputs: ["ngIf", "ngIfThen", "ngIfElse"] }, { kind: "pipe", type: i2.SafeHtmlPipe, name: "safeHtml" }] }); }
}
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "17.3.5", ngImport: i0, type: SmzDocumentFieldComponent, decorators: [{
            type: Component,
            args: [{ selector: 'smz-document-field', template: "<div\r\n  [style.background]=\"data.container.background\"\r\n  class=\"grid grid-nogutter items-start justify-center flex-col h-full relative\"\r\n  [ngClass]=\"data.container.styles\">\r\n\r\n  <div *ngIf=\"data.label.isVisible\"\r\n    [ngClass]=\"data.label.styles\"\r\n    [style.color]=\"data.label.color\"\r\n    [innerHtml]=\"data.label.value | safeHtml\"\r\n    >\r\n  </div>\r\n\r\n  <div\r\n    [style.font-weight]=\"data.text.fontWeight\"\r\n    [ngClass]=\"data.text.styles\"\r\n    [style.color]=\"data.text.color\"\r\n    [innerHtml]=\"data.text.value | safeHtml\"\r\n    >\r\n  </div>\r\n\r\n</div>" }]
        }], ctorParameters: () => [], propDecorators: { data: [{
                type: Input
            }], config: [{
                type: Input
            }] } });
//# sourceMappingURL=data:application/json;base64,eyJ2ZXJzaW9uIjozLCJmaWxlIjoiZmllbGQuY29tcG9uZW50LmpzIiwic291cmNlUm9vdCI6IiIsInNvdXJjZXMiOlsiLi4vLi4vLi4vLi4vLi4vLi4vLi4vLi4vcHJvamVjdHMvbmd4LXNtei11aS9zcmMvbGliL21vZHVsZXMvc216LWRvY3VtZW50cy9jb21wb25lbnRzL2ZpZWxkL2ZpZWxkLmNvbXBvbmVudC50cyIsIi4uLy4uLy4uLy4uLy4uLy4uLy4uLy4uL3Byb2plY3RzL25neC1zbXotdWkvc3JjL2xpYi9tb2R1bGVzL3Ntei1kb2N1bWVudHMvY29tcG9uZW50cy9maWVsZC9maWVsZC5jb21wb25lbnQuaHRtbCJdLCJuYW1lcyI6W10sIm1hcHBpbmdzIjoiQUFBQSxPQUFPLEVBQUUsU0FBUyxFQUFFLEtBQUssRUFBVSxNQUFNLGVBQWUsQ0FBQzs7OztBQVN6RCxNQUFNLE9BQU8seUJBQXlCO0lBR3BDLGdCQUFnQixDQUFDO0lBQ2pCLFFBQVEsS0FBSyxDQUFDOzhHQUpILHlCQUF5QjtrR0FBekIseUJBQXlCLHNHQ1R0Qyx3bUJBb0JNOzsyRkRYTyx5QkFBeUI7a0JBTHJDLFNBQVM7K0JBQ0Usb0JBQW9CO3dEQUtkLElBQUk7c0JBQW5CLEtBQUs7Z0JBQ1UsTUFBTTtzQkFBckIsS0FBSyIsInNvdXJjZXNDb250ZW50Ijp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