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