/**
 * 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 TabsComponent = class TabsComponent {
    constructor() {
        this.items = [];
    }
};
__decorate([
    Input()
], TabsComponent.prototype, "items", void 0);
TabsComponent = __decorate([
    Component({
        selector: 'app-tabs',
        template: "<div class=\"item\" *ngFor=\"let item of items\" (click)=\"item.handler()\" [class.active]=\"item.isActive()\">\n  {{item.label}}\n\n  <div *ngIf=\"item.isActive()\" class=\"border\"></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 */:host{border-bottom:1px solid var(--mystic-color);display:flex;color:var(--primary-color);margin-bottom:24px}.item{margin-right:48px;font-weight:700;cursor:pointer;padding-bottom:10px}.active{position:relative;color:var(--cape-cod-color)}.border{height:2px;border-bottom:2px solid var(--boulder-color);position:absolute;bottom:-1px;left:0;right:0}"]
    })
], TabsComponent);
export { TabsComponent };
//# sourceMappingURL=data:application/json;base64,eyJ2ZXJzaW9uIjozLCJmaWxlIjoidGFicy5jb21wb25lbnQuanMiLCJzb3VyY2VSb290Ijoibmc6Ly9AbWVkcmVjb3JkL3VpLWNvbXBvbmVudHMvIiwic291cmNlcyI6WyJsaWIvc2hhcmVkL2NvbXBvbmVudHMvdGFicy90YWJzLmNvbXBvbmVudC50cyJdLCJuYW1lcyI6W10sIm1hcHBpbmdzIjoiQUFBQTs7Ozs7Ozs7O0dBU0c7O0FBRUgsT0FBTyxFQUFDLFNBQVMsRUFBRSxLQUFLLEVBQUMsTUFBTSxlQUFlLENBQ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