import { __decorate } from "tslib";
import { Component, Input } from '@angular/core';
let LabelComponent = class LabelComponent {
    constructor() {
        this.hint = '';
    }
};
__decorate([
    Input()
], LabelComponent.prototype, "label", void 0);
__decorate([
    Input()
], LabelComponent.prototype, "labelDescription", void 0);
__decorate([
    Input()
], LabelComponent.prototype, "fieldId", void 0);
__decorate([
    Input()
], LabelComponent.prototype, "hint", void 0);
LabelComponent = __decorate([
    Component({
        selector: 'app-label',
        template: "<div *ngIf=\"label\"\n     class=\"d-flex align-items-center mb-1\">\n  <label [for]=\"fieldId\"\n         class=\"m-0\">{{label}} <span *ngIf=\"labelDescription\">({{ labelDescription }})</span></label>\n  <app-hint class=\"label-hint\"\n            type=\"light\"\n            *ngIf=\"hint\"\n            [hint]=\"hint\"\n  ></app-hint>\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 * 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 */:host label{color:var(--boulder-color);font-size:14px;display:inline-block;line-height:1;margin-bottom:10px;font-weight:600}:host label span{font-weight:400}:host .label-wrapper{display:flex}:host .label-wrapper label{font-size:14px;font-weight:600;display:inline-block;line-height:1;margin-bottom:10px;margin-right:5px}:host .label-wrapper app-hint{margin-left:5px;margin-right:10px}:host .label-wrapper .label-desc{font-weight:400}:host-context(.label-small) label{font-size:10px}:host-context(.label-uppercase) label{text-transform:uppercase}:host-context(.label-bold) label{font-weight:700}.label-hint{display:inline-block;margin-left:4px;vertical-align:middle}"]
    })
], LabelComponent);
export { LabelComponent };
//# sourceMappingURL=data:application/json;base64,eyJ2ZXJzaW9uIjozLCJmaWxlIjoibGFiZWwuY29tcG9uZW50LmpzIiwic291cmNlUm9vdCI6Im5nOi8vQG1lZHJlY29yZC91aS1jb21wb25lbnRzLyIsInNvdXJjZXMiOlsibGliL3NoYXJlZC9jb21wb25lbn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