import { Component, Input } from '@angular/core';
import { TranslateLibraryService } from './../../../services/translation-registry.service';
export class QmsReportCoverPortraitComponent {
    constructor(translate) {
        this.translate = translate;
    }
    ngOnInit() {
        this.translate.getLanguageSubject$.pipe().subscribe((res) => {
            if (res) {
                this.LANG = this.translate.getObjectLang(res);
            }
        });
    }
}
QmsReportCoverPortraitComponent.decorators = [
    { type: Component, args: [{
                selector: 'qms-report-cover-portrait',
                template: "<div class=\"qms-report-cover-portrait-container\">\r\n  <div class=\"cover-header\">\r\n    <div class=\"robin-container\">\r\n      <img [src]=\"logo\" />\r\n    </div>\r\n  </div>\r\n  <div class=\"cover-content\">\r\n    <div class=\"cover-title\">\r\n      <div class=\"report-module-name\">\r\n        <span class=\"module-name\">{{LANG.REPORT_FOR}} {{moduleName}}</span>\r\n      </div>\r\n      <div class=\"report-title\">\r\n        <span class=\"title\">{{title}}</span>\r\n      </div>\r\n    </div>\r\n    <div class=\"cover-information\" *ngIf=\"infoReport && infoReport.length\">\r\n      <div class=\"content-item\" *ngFor=\"let item of infoReport\" [class.underline]=\"item.underline\">\r\n        <span class=\"title\">{{item.title}} </span> <span class=\"content\">{{item.content}}</span>\r\n      </div>\r\n    </div>\r\n  </div>\r\n",
                styles: [".qms-report-cover-portrait-container{background-color:#fff;border:1px solid rgba(0,0,0,.24)}.qms-report-cover-portrait-container .cover-header{height:75px;display:flex;justify-content:flex-end;padding:25px 30px}.qms-report-cover-portrait-container .cover-header .robin-container{display:flex}.qms-report-cover-portrait-container .cover-content{margin-top:125px;margin-bottom:50px;padding:0 50px}.qms-report-cover-portrait-container .cover-content .report-module-name{margin-bottom:10px}.qms-report-cover-portrait-container .cover-content .report-module-name .module-name{max-width:100%;font-family:Open Sans;font-weight:400;font-size:14px;line-height:20px;word-break:break-word}.qms-report-cover-portrait-container .cover-content .report-title{height:137px;margin-bottom:10px}.qms-report-cover-portrait-container .cover-content .report-title .title{max-width:100%;font-weight:600;font-size:44px;line-height:52px;font-family:Raleway;word-break:break-word}.qms-report-cover-portrait-container .cover-content .cover-information{padding:24px;border:1px solid rgba(0,0,0,.24);border-radius:4px}.qms-report-cover-portrait-container .cover-content .cover-information .content-item{font-family:Open Sans;font-size:10px;line-height:16px;margin-bottom:16px}.qms-report-cover-portrait-container .cover-content .cover-information .content-item .title{font-weight:600}.qms-report-cover-portrait-container .cover-content .cover-information .content-item .content{font-weight:400}.qms-report-cover-portrait-container .cover-content .cover-information .underline{padding-bottom:16px;border-bottom:1px solid rgba(0,0,0,.6)}"]
            },] }
];
QmsReportCoverPortraitComponent.ctorParameters = () => [
    { type: TranslateLibraryService }
];
QmsReportCoverPortraitComponent.propDecorators = {
    infoReport: [{ type: Input }],
    logo: [{ type: Input }],
    moduleName: [{ type: Input }],
    title: [{ type: Input }]
};
//# sourceMappingURL=data:application/json;base64,eyJ2ZXJzaW9uIjozLCJmaWxlIjoicW1zLXJlcG9ydC1jb3Zlci1wb3J0cmFpdC5jb21wb25lbnQuanMiLCJzb3VyY2VSb290IjoiIiwic291cmNlcyI6WyIuLi8uLi8uLi8uLi8uLi8uLi8uLi9wcm9qZWN0cy9xbXMtYW5ndWxhci9zcmMvbGliL2NvbXBvbmVudHMvcmVwb3J0cy9xbXMtcmVwb3J0LWNvdmVyLXBvcnRyYWl0L3Ftcy1yZXBvcnQtY292ZXItcG9ydHJhaXQuY29tcG9uZW50LnRzIl0sIm5hbWVzIjpbXSwibWFwcGluZ3MiOiJBQUNBLE9BQU8sRUFBRSxTQUFTLEVBQUUsS0FBSyxFQUFVLE1BQU0sZUFBZSxDQUFDO0FBQ3pELE9BQU8sRUFBRSx1QkFBdUIsRUFBRSxNQUFNLGtEQUFrRCxDQUFDO0FBTzNGLE1BQU0sT0FBTywrQkFBK0I7SUFPMUMsWUFBbUIsU0FBa0M7UUFBbEMsY0FBUyxHQUFULFNBQVMsQ0FBeUI7SUFDckQsQ0FBQztJQUVELFFBQVE7UUFDTixJQUFJLENBQUMsU0FBUyxDQUFDLG1CQUFtQixDQUFDLElB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