import { Component, input, output } from '@angular/core'; /** Molecule: one section of a CIBG Huisstijl "controlestap" (wizard review step) — a heading with a "Wijzigen" link, and the section's ``s in a `.data-block > .block-wrapper > dl.row`. Domain-free; the caller supplies the heading and decides what "Wijzigen" does (typically jump back to a step). */ @Component({ selector: 'app-review-section', template: `

{{ heading() }}

@if (showEdit()) { }
`, }) export class ReviewSectionComponent { heading = input.required(); editLabel = input($localize`:@@reviewSection.wijzigen:Wijzigen`); editAriaLabel = input(''); showEdit = input(true); edit = output(); protected onEdit(ev: Event) { ev.preventDefault(); // fragment href resolves against , not the route this.edit.emit(); } }