/**
 * 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 MeasurementsInfoRowComponent = class MeasurementsInfoRowComponent {
    constructor() {
        this.hint = '';
    }
};
__decorate([
    Input()
], MeasurementsInfoRowComponent.prototype, "label", void 0);
__decorate([
    Input()
], MeasurementsInfoRowComponent.prototype, "labelHint", void 0);
__decorate([
    Input()
], MeasurementsInfoRowComponent.prototype, "small", void 0);
__decorate([
    Input()
], MeasurementsInfoRowComponent.prototype, "leftWidth", void 0);
__decorate([
    Input()
], MeasurementsInfoRowComponent.prototype, "leftSingleLine", void 0);
__decorate([
    Input()
], MeasurementsInfoRowComponent.prototype, "rightWidth", void 0);
__decorate([
    Input()
], MeasurementsInfoRowComponent.prototype, "rightFullWidth", void 0);
__decorate([
    Input()
], MeasurementsInfoRowComponent.prototype, "hint", void 0);
MeasurementsInfoRowComponent = __decorate([
    Component({
        selector: 'app-measurements-info-row',
        template: "<div class=\"info-row\" [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\"></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 */.info-row{display:table;margin-bottom:.625rem;color:var(--boulder-color);line-height:1.5rem}.info-row.small{font-size:.75rem}.left{display:table-cell;font-weight:700;width:13rem}.right{display:table-cell}.right_full-width{flex-grow:1}.label-hint{display:inline-block;margin-left:.25rem;vertical-align:middle}"]
    })
], MeasurementsInfoRowComponent);
export { MeasurementsInfoRowComponent };
//# sourceMappingURL=data:application/json;base64,eyJ2ZXJzaW9uIjozLCJmaWxlIjoibWVhc3VyZW1lbnRzLWluZm8tcm93LmNvbXBvbmVudC5qcyIsInNvdXJjZVJvb3QiOiJuZzovL0BtZWRyZWNvcmQvdWktY29tcG9uZW50cy8iLCJzb3VyY2VzIjpbImxpYi9zaGFyZWQvY29tcG9uZW50cy9tZWFzdXJlbWVudHMtaW5mby1yb3cvbWVhc3VyZW1lbnRzLWluZm8tcm93LmNvbXBvbmVudC50cyJdLCJuYW1lcyI6W10sIm1hcHBpbmdzIjoiQUFBQTs7Ozs7Ozs7O0dBU0c7O0FBRUgsT0FBTyxFQUFDLFNBQVMsRUFBRSxLQUFLLEVBQUMsTUFBTSxlQUFlLENBQUM7QUFPL0MsSUFBYSw0QkFBNEIsR0FBekMsTUFBYSw0QkFBNEI7SUFBekM7UUF1QkUsU0FBSSxHQUFHLEVBQUUsQ0FBQztJQUNaLENBQUM7Q0FBQSxDQUFBO0FBdEJDO0lBREMsS0FBSyxFQUFFOzJEQUNNO0FBR2Q7SUFEQyxLQUFLLEVBQUU7K0RBQ1U7QUFHbEI7SUFEQyxLQUFLLEVBQUU7MkRBQ087QUFHZjtJQURDLEtBQUssRUFBRTsrREFDVTtBQUdsQjtJQURDLEtBQUssRUFBRTtvRUFDZ0I7QUFHeEI7SUFEQyxLQUFLLEVBQUU7Z0VBQ1c7QUFHbkI7SUFEQyxLQUFLLEVBQUU7b0VBQ2dCO0FBR3hCO0lBREMsS0FBSyxFQUFFOzBEQUNFO0FBdkJDLDRCQUE0QjtJQUx4QyxTQUFTLENBQUM7UUFDVCxRQUFRLEVBQUUsMkJBQTJCO1FBRXJDLHFkQUFxRDs7S0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