ModelAnatomy
Zeigt ein Pattern vollständig: lebendes Beispiel, nummerierte Teile mit Hervorhebung im Beispiel, Regeln als Richtig/Falsch und dieselben Daten als Datei für Agenten.
src/components/case/ModelAnatomy.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/CaseModel.astro
- variant anatomy; k-Einträge sind die Front Matter der Datei, chat ist das Beispiel (ChatMessage) oder ui card mit li [Titel, Text] (Callout), f verknüpft einen Teil mit head, steps, rows, notice, lock, acts bzw. mark, title, body, tone ok/danger macht einen Eintrag zur Regel.
- Die Datei wird aus Teilen und Regeln erzeugt, nie separat gepflegt; Beispieldaten synthetisch, Herkunft gehört in meta oder note.
- Teile sind fokussierbar und heben im Beispiel nur hervor; Richtig/Falsch steht für Screenreader als Text, nicht nur als Icon.
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 {block:ModelBlock;locale:Locale}Astro.props
Bindings and defaults read from source; these do not add inferred types.
blocklocale
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
Documentation
Preview
- src/pages/vorschlag/modal-lab.astro
- src/components/site/career-evidence/ModalVersion.astro
- src/components/case/CaseModel.astro
- src/components/case/ModelAnatomy.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@/components/Zeichen.astro·src/components/Zeichen.astro./CaseText.astro·src/components/case/CaseText.astro./ChatMessage.astro·src/components/case/ChatMessage.astro./Callout.astro·src/components/case/Callout.astro@/components/ui/badge·src/components/ui/badge.tsx@/lib/case-presentation·src/lib/case-presentation.ts