WorkInspector
Vergleicht einen auswählbaren Arbeitsindex mit separatem Detailbereich für Case-Kontext, Beitrag, Ergebnis und Zugang.
src/components/site/work-content/WorkInspector.astroSource contract in German. The marked authoring notes below retain their original language.
Usage contract
Reference only
Entry point: src/pages/vorschlag/work-content-vergleich.astro
- Bestehender Vorschlag beziehungsweise Referenz; keine freigegebene Systemvariante. Ohne Max’ Auswahl- oder Löschentscheidung erhalten.
- Nur im bestehenden Inhaltsvergleich mit dessen Filter- und Auswahlsteuerung verwenden; gleiche Cases und Items für alle Varianten. Nicht gewählte Fassung ohne Max’ Entscheidung erhalten.
- item.id bildet Detail- und Titel-IDs; nur eine Instanz je Dokument beziehungsweise eindeutige Items. aria-controls, Auswahlzustand und Sichtbarkeit müssen durch das Labor gemeinsam aktualisiert werden.
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 { cases: WorkLabCase[]; items: WorkLabItem[] }Astro.props
Bindings and defaults read from source; these do not add inferred types.
casesitems
Source usage
Docs / preview only
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.
Preview
- src/pages/vorschlag/work-content-vergleich.astro
- src/components/site/work-content/WorkInspector.astro
Consumers in source
Direct static, dynamic and type imports. Imports do not prove that a branch renders or that a proposal is published.
src/pages/vorschlag/work-content-vergleich.astro:8import
Dependencies
../../../lib/work-content-lab·src/lib/work-content-lab.ts