| 1 | /* |
| 2 | * Copyright (c) 2024 sovity GmbH |
| 3 | * |
| 4 | * This program and the accompanying materials are made available under the |
| 5 | * terms of the Apache License, Version 2.0 which is available at |
| 6 | * https://www.apache.org/licenses/LICENSE-2.0 |
| 7 | * |
| 8 | * SPDX-License-Identifier: Apache-2.0 |
| 9 | * |
| 10 | * Contributors: |
| 11 | * sovity GmbH - initial implementation |
| 12 | */ |
| 13 | import {Component, Input} from '@angular/core'; |
| 14 | import {HeaderBarConfig} from './header-bar.model'; |
| 15 | |
| 16 | @Component({ |
| 17 | selector: 'app-header', |
| 18 | templateUrl: './header-bar.component.html', |
| 19 | }) |
| 20 | export class HeaderBarComponent { |
| 21 | @Input() headerConfig!: HeaderBarConfig; |
| 22 | |
| 23 | @Input() disabled = false; |
| 24 | } |