import { Component, Input } from '@angular/core';
import { TranslateLibraryService } from './../../../services/translation-registry.service';
export class QmsReportContentPortraitComponent {
    constructor(translate) {
        this.translate = translate;
    }
    ngOnInit() {
        this.translate.getLanguageSubject$.pipe().subscribe((res) => {
            if (res) {
                this.LANG = this.translate.getObjectLang(res);
            }
        });
    }
}
QmsReportContentPortraitComponent.decorators = [
    { type: Component, args: [{
                selector: 'qms-report-content-portrait',
                template: "<div class=\"qms-report-content-portrait-container\">\r\n  <div class=\"content-header\">\r\n    <div class=\"robin-container\">\r\n      <img [src]=\"logo\" />\r\n    </div>\r\n  </div>\r\n  <div class=\"content-body\"></div>\r\n  <div class=\"content-footer\">\r\n    <div class=\"info-item\" *ngFor=\"let item of infoReport\">\r\n      <span class=\"title\">{{item.title}}: </span><span class=\"content\">{{item.content}}</span>\r\n      <div class=\"dot\"></div>\r\n    </div>\r\n    <div class=\"current-page\">{{ LANG.PAGE }} {{currPage}} {{LANG.OF}} {{totalPage}}</div>\r\n  </div>\r\n</div>\r\n",
                styles: [".qms-report-content-portrait-container{background-color:#fff;border:1px solid rgba(0,0,0,.24)}.qms-report-content-portrait-container .content-header{height:75px;display:flex;justify-content:flex-end;padding:25px 30px}.qms-report-content-portrait-container .content-header .robin-container{display:flex}.qms-report-content-portrait-container .content-body{height:calc(100% - 75px - 75px)}.qms-report-content-portrait-container .content-footer{position:relative;height:75px;border-top:1px solid rgba(0,0,0,.6);padding:4px 0 50px;margin-left:50px;margin-right:50px;display:flex;flex-wrap:wrap}.qms-report-content-portrait-container .content-footer .info-item{font-family:Open Sans;font-size:8px;line-height:16px}.qms-report-content-portrait-container .content-footer .info-item .title{font-weight:600}.qms-report-content-portrait-container .content-footer .info-item .content{font-weight:400}.qms-report-content-portrait-container .content-footer .info-item .dot{display:inline-block;width:3px;height:3px;border-radius:50%;margin-left:5px;margin-right:5px;background-color:rgba(0,0,0,.24)}.qms-report-content-portrait-container .content-footer .info-item:last-child .dot{display:none}.qms-report-content-portrait-container .content-footer .current-page{font-size:10px;font-weight:400;position:absolute;bottom:10px;right:0}"]
            },] }
];
QmsReportContentPortraitComponent.ctorParameters = () => [
    { type: TranslateLibraryService }
];
QmsReportContentPortraitComponent.propDecorators = {
    currPage: [{ type: Input }],
    totalPage: [{ type: Input }],
    infoReport: [{ type: Input }],
    logo: [{ type: Input }]
};
//# sourceMappingURL=data:application/json;base64,eyJ2ZXJzaW9uIjozLCJmaWxlIjoicW1zLXJlcG9ydC1jb250ZW50LXBvcnRyYWl0LmNvbXBvbmVudC5qcyIsInNvdXJjZVJvb3QiOiIiLCJzb3VyY2VzIjpbIi4uLy4uLy4uLy4uLy4uLy4uLy4uL3Byb2plY3RzL3Ftcy1hbmd1bGFyL3NyYy9saWIvY29tcG9uZW50cy9yZXBvcnRzL3Ftcy1yZXBvcnQtY29udGVudC1wb3J0cmFpdC9xbXMtcmVwb3J0LWNvbnRlbnQtcG9ydHJhaXQuY29tcG9uZW50LnRzIl0sIm5hbWVzIjpbXSwibWFwcGluZ3MiOiJBQUFBLE9BQU8sRUFBRSxTQUFTLEVBQUUsS0FBSyxFQUFVLE1BQU0sZUFBZSxDQUFDO0FBRXpELE9BQU8sRUFBRSx1QkFBdUIsRUFBRSxNQUFNLGtEQUFrRCxDQUFDO0FBTzNGLE1BQU0sT0FBTyxpQ0FBaUM7SUFNNUMsWUFBbUIsU0FBa0M7UUFBbEMsY0FBUyxHQUFULFNBQVMsQ0FBeUI7SUFBSSxDQUFDO0lBRTFELFFBQVE7UUFDTixJQUFJLENBQUMsU0FBUyxDQUFDLG1CQUFtQixDQUFDLElBQUksRUFBRSxDQUFDLFNBQVMsQ0FBQyxDQUFDLEdBQUcsRUFBRSxFQUFFO1lBQzFELElBQUksR0FBRyxFQUFFO2dCQUNQLElBQUksQ0FBQyxJQUFJLEdBQUcsSUFBSSxDQUFDLFNBQVMsQ0FBQyxhQUFhLENBQUMsR0FBRyxDQUFDLENBQUM7YUFDL0M7UUFDSCxDQUFDLENBQUMsQ0FBQztJQU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