import { Component, computed, input, output } from '@angular/core'; import { ButtonComponent } from '@shared/ui/button/button.component'; import { ChoiceLinkComponent } from '@shared/ui/choice-link/choice-link.component'; import { Aanvraag, AanvraagType } from '@registratie/domain/aanvraag'; import { blockActions } from '@registratie/domain/block-actions'; const TYPE_LABELS: Record = { registratie: $localize`:@@aanvraagBlock.type.registratie:Inschrijving`, herregistratie: $localize`:@@aanvraagBlock.type.herregistratie:Herregistratie`, intake: $localize`:@@aanvraagBlock.type.intake:Herregistratie-intake`, }; /** Organism: one application on the dashboard's "Mijn aanvragen" list, rendered as a CIBG Huisstijl "keuzelijst" choice (choice-link). Which text/actions it shows is driven by the pure `blockActions(status)` and the status tag; the block only renders. Only a resumable Concept is clickable (stretched-link over the whole card) — a resolved status has nothing to navigate to, so it renders as a plain (non-interactive) card. */ @Component({ selector: 'app-aanvraag-block', imports: [ButtonComponent, ChoiceLinkComponent], styles: [` :host{display:contents} /* see choice-link.component.ts (keeps
  • a direct