/**
 * 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';
var MeasurementsInfoRowComponent = /** @class */ (function () {
    function MeasurementsInfoRowComponent() {
        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);
    return MeasurementsInfoRowComponent;
}());
export { MeasurementsInfoRowComponent };
//# sourceMappingURL=data:application/json;base64,eyJ2ZXJzaW9uIjozLCJmaWxlIjoibWVhc3VyZW1lbnRzLWluZm8tcm93LmNvbXBvbmVudC5qcyIsInNvdXJjZVJvb3QiOiJuZzovL0BtZWRyZWNvcmQvdWktY29tcG9uZW50cy8iLCJzb3VyY2VzIjpbImxpYi9zaGFyZWQvY29tcG9uZW50cy9tZWFzdXJlbWVudHMtaW5mby1yb3cvbWVhc3VyZW1lbnRzLWluZm8tcm93LmNvbXBvbmVudC50cyJdLCJuYW1lcyI6W10sIm1hcHBpbmdzIjoiQUFBQTs7Ozs7Ozs7O0dBU0c7O0FBRUgsT0FBTyxFQUFDLFNBQVMsRUFBRSxLQUFLLEVBQUMsTUFBTSxlQUFlLENBQUM7QUFPL0M7SUFBQTtRQXVCRSxTQUFJLEdBQUcsRUFBRSxDQUFDO0lBQ1osQ0FBQztJQXRCQztRQURDLEtBQUssRUFBRTsrREFDTTtJQUdkO1FBREMsS0FBSyxFQUFFO21FQUNVO0lBR2xCO1FBREMsS0FBSyxFQUFFOytEQUNPO0lBR2Y7UUFEQyxLQUFLLEVBQUU7bUVBQ1U7SUFHbEI7UUFEQyxLQUFLLEVBQUU7d0VBQ2dCO0lBR3hCO1FBREMsS0FBSyxFQUFFO29FQUNXO0lBR25CO1FBREMsS0FBSyxFQUFFO3dFQUNnQjtJQUd4QjtRQURDLEtBQUssRUFBRTs4REFDRTtJQXZCQyw0QkFBNEI7UUFMeEMsU0FBUyxDQUFDO1lBQ1QsUUFBUSxFQUFFLDJCQUEyQjtZQUVyQyxxZEFBcUQ7O1NBQ3RELENB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