CaseSummary
Kurzfassung unter dem Case-Kopf: belegte Kennzahlen als flache Faktenreihe mit Quelle im Tooltip, darunter die TL;DR in der Folge Problem, Eingriff, Ergebnis.
src/components/case/CaseSummary.astroSource contract in German. The marked authoring notes below retain their original language.
Usage contract
Use through the documented parent
Entry point: src/components/case/CasePage.astro
- Nur DS-Serie ohne Story mit hero.kpis; die Zahlen stammen aus dem eigenen Ergebnis-Kapitel des Cases, keine neue Kennzahl.
- tldr ist hero.tldr (genau drei Einträge), die Schlüssel kommen aus case.tldrKeys; der Sprung führt zu hero.results.
Examples
No dedicated demo is assigned. Use the documented entry point and consumers below; this is not evidence of a missing runtime component.
API
Extracted from the source with the TypeScript parser. Inherited and imported types remain references; implementation is authoritative.
interface Props {kpis?:{t:string;b:string;tip?:string}[];tldr?:{t:string;b:string}[];results?:string;locale:Locale;inCard?:boolean;props?:{k:string;v:string;s?:string}[];status?:{tone?:string;k:string;v:string}[];statusShort?:boolean}Astro.props
Bindings and defaults read from source; these do not add inferred types.
kpis = []tldr = []resultslocaleinCardprops = []status = []statusShort
Source usage
Website reference
This is static source evidence. A reachable module may contain conditional or unused branches. External consumers and staged static pages are outside this scan. No status authorizes deletion.
Website
- src/pages/en/work/[id].astro
- src/components/case/CasePage.astro
- src/components/case/CaseSummary.astro
Preview
- src/pages/vorschlag/cases/[id].astro
- src/components/case/CasePage.astro
- src/components/case/CaseSummary.astro
Consumers in source
Direct static, dynamic and type imports. Imports do not prove that a branch renders or that a proposal is published.
Dependencies
@/i18n·src/i18n/index.ts./CaseText.astro·src/components/case/CaseText.astro./CaseFactRow.astro·src/components/case/CaseFactRow.astro@/components/Zeichen.astro·src/components/Zeichen.astro./CasePropPop.astro·src/components/case/CasePropPop.astro@/lib/case-presentation·src/lib/case-presentation.ts