import { ChangeDetectionStrategy, Component, computed, input } from "@angular/core" @Component({ selector: "cc-axis-card-header", templateUrl: "./axisCardHeader.component.html", changeDetection: ChangeDetectionStrategy.OnPush, host: { class: "contents" } }) export class AxisCardHeaderComponent { readonly label = input.required() readonly hasCog = input(false) readonly cogPopoverId = input(null) readonly cogAnchorName = input(null) readonly cogTestId = input(null) readonly cogAnchorStyle = computed(() => { const anchor = this.cogAnchorName() return anchor ? `--${anchor}` : null }) }