CaseData
Verteilt lokalisierte Datenblöcke auf Zielvergleich, Register, Level, Phasen, Verteilungen, Scores, Zeitverlauf und Decision Object.
src/components/case/CaseData.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/CaseBlock.astro
- Nur die im DataBlock und in den Bedingungen vorhandenen Typen werden gerendert; neue Typen benötigen Schema und Dispatcher.
- Daten werden bereits lokalisiert erwartet; der Renderer prüft weder Quellen noch Release-Behauptungen.
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.
type DataBlock=Extract<CaseBlock,{type:'goals'|'stats'|'ledger'|'levels'|'phases'|'bars'|'scores'|'timeline'|'dobj'}>;interface Props {block:Localized<DataBlock>;locale:Locale;caseId?:string}Astro.props
Bindings and defaults read from source; these do not add inferred types.
blocklocalecaseId
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/CaseBlock.astro
- src/components/case/CaseData.astro
Documentation
- src/pages/design-system/[category].astro
- src/components/ds/DesignSystemPage.astro
- src/components/ds/CaseDemos.astro
- src/components/case/CaseBlock.astro
- src/components/case/CaseData.astro
Preview
- src/pages/vorschlag/cases/[id].astro
- src/components/case/CasePage.astro
- src/components/case/CaseBlock.astro
- src/components/case/CaseData.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
@/lib/cases·src/lib/cases.ts@/lib/case-schema·src/lib/case-schema.ts@/i18n·src/i18n/index.ts./CaseText.astro·src/components/case/CaseText.astro./Ledger.astro·src/components/case/Ledger.astro./CaseGoals.astro·src/components/case/CaseGoals.astro./CaseLevels.astro·src/components/case/CaseLevels.astro./CasePhases.astro·src/components/case/CasePhases.astro./CaseScores.astro·src/components/case/CaseScores.astro./CaseBars.astro·src/components/case/CaseBars.astro./CaseStepper.astro·src/components/case/CaseStepper.astro./DecisionObject.astro·src/components/case/DecisionObject.astro@/components/StatCard.astro·src/components/StatCard.astro@/components/Panel.astro·src/components/Panel.astro@/components/PanelHeader.astro·src/components/PanelHeader.astro@/components/PanelFooter.astro·src/components/PanelFooter.astro@/components/ui/badge·src/components/ui/badge.tsx