/**
 * This file is part of the MedSafe application which is commercial software created by MedVision360 B.V.
 * The source code is proprietary and confidential.
 *
 * Unauthorized copying of this file, via any medium is strictly prohibited.
 *
 * Copyright (c) by MedVision360 B.V. All rights reserved.
 *
 * For the application name: io.medrecord.medsafe
 */
import { __decorate } from "tslib";
import { Component, Input } from '@angular/core';
let InfoRowComponent = class InfoRowComponent {
    constructor() {
        this.hint = '';
    }
};
__decorate([
    Input()
], InfoRowComponent.prototype, "label", void 0);
__decorate([
    Input()
], InfoRowComponent.prototype, "labelHint", void 0);
__decorate([
    Input()
], InfoRowComponent.prototype, "small", void 0);
__decorate([
    Input()
], InfoRowComponent.prototype, "leftWidth", void 0);
__decorate([
    Input()
], InfoRowComponent.prototype, "leftSingleLine", void 0);
__decorate([
    Input()
], InfoRowComponent.prototype, "rightWidth", void 0);
__decorate([
    Input()
], InfoRowComponent.prototype, "rightFullWidth", void 0);
__decorate([
    Input()
], InfoRowComponent.prototype, "hint", void 0);
InfoRowComponent = __decorate([
    Component({
        selector: 'app-info-row',
        template: "<div class=\"container\" [class.small]=\"small\">\n  <div class=\"left\"\n       [style.width.px]=\"leftWidth\"\n       [class.single-line]=\"leftSingleLine\"\n       [title]=\"labelHint\">\n    <span>{{label}}</span>\n    <app-hint class=\"label-hint\" *ngIf=\"hint\" [hint]=\"hint\" type=\"light\"></app-hint>\n  </div>\n  <div class=\"right\" [style.width.px]=\"rightWidth\" [class.right_full-width]=\"rightFullWidth\">\n    <ng-content></ng-content>\n  </div>\n</div>\n",
        styles: ["/*!\n * This file is part of the MedSafe application which is commercial software created by MedVision360 B.V.\n *  The source code is proprietary and confidential.\n *\n *  Unauthorized copying of this file, via any medium is strictly prohibited.\n *\n *  Copyright (c) by MedVision360 B.V. All rights reserved.\n *\n *  For the application name: io.medrecord.medsafe\n */.container{display:flex;align-items:center;margin-bottom:10px}.container.small{font-size:12px}.left{align-self:flex-start;font-weight:700;width:250px;margin-right:30px;line-height:24px}.right{width:204px;line-height:24px;color:var(--cape-cod-color)}.right_full-width{flex-grow:1}.label-hint{display:inline-block;margin-left:4px;vertical-align:middle}"]
    })
], InfoRowComponent);
export { InfoRowComponent };
//# sourceMappingURL=data:application/json;base64,eyJ2ZXJzaW9uIjozLCJmaWxlIjoiaW5mby1yb3cuY29tcG9uZW50LmpzIiwic291cmNlUm9vdCI6Im5nOi8vQG1lZHJlY29yZC91aS1jb21wb25lbnRzLyIsInNvdXJjZXMiOlsibGliL3NoYXJlZC9jb21wb25lbnRzL2luZm8tcm93L2luZm8tcm93LmNvbXBvbmVudC50cyJdLCJuYW1lcyI6W10sIm1hcHBpbmdzIjoiQUFBQTs7Ozs7Ozs7O0dBU0c7O0FBRUgsT0FBTyxFQUFDLFNBQVMsRUFBRSxLQUFLLEVBQUMsTUFBTSxlQUFlLENBQUM7QUFPL0MsSUFBYSxnQkFBZ0IsR0FBN0IsTUFBYSxnQkFBZ0I7SUFBN0I7UUF1QkUsU0FBSSxHQUFHLEVBQUUsQ0FBQztJQUNaLENBQUM7Q0FBQSxDQUFBO0FBdEJDO0lBREMsS0FBSyxFQUFFOytDQUNNO0FBR2Q7SUFEQyxLQUFLLEVBQUU7bURBQ1U7QUFHbEI7SUFEQyxLQUFLLEVBQUU7K0NBQ087QUFHZjtJQURDLEtBQUssRUFBRTttREFDVTtBQUdsQjtJQURDLEtBQUssRUFBRTt3REFDZ0I7QUFHeEI7SUFEQyxLQUFLLEVBQUU7b0RBQ1c7QUFHbkI7SUFEQyxLQUFLLEVBQUU7d0RBQ2dCO0FBR3hCO0lBREMsS0FBSyxFQUFFOzhDQUNFO0FBdkJDLGdCQUFnQjtJQUw1QixTQUFTLENBQUM7UUFDVCxRQUFRLEVBQUUsY0FBYztRQUV4QixxZUFBd0M7O0tBQ3pDLENBQUM7R0FDVyxnQkFBZ0IsQ0F3QjVCO1NBeEJZLGdCQUFnQiIsInNvdXJjZXNDb250ZW50IjpbIi8qKlxuICogVGhpcyBmaWxlIGlzIHBhcnQgb2YgdGhlIE1lZF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