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