import { h } from "./jsx"; import { Sidebar } from "./components/Sidebar"; import { PaliadinWidget } from "./components/PaliadinWidget"; import { BottomNav } from "./components/BottomNav"; import { Footer } from "./components/Footer"; import { PWAHead } from "./components/PWAHead"; // /tools/procedures — Litigation Builder (m/paliad#153 PRD §3). // // Replaces cronus's 4-tab catalog (U0-U4) with a persistence-backed // builder shell. Server-rendered chrome is minimal — the page-header // scenario picker, side panel, and canvas are all hydrated by // `builder.ts` at boot. The builder loads scenarios from // /api/builder/scenarios (B0 surface, t-paliad-340) and renders the // per-proceeding triplets with the existing verfahrensablauf-core calc. // // B1 — Builder shell + cold-open mode + single triplet end-to-end. // B2 — Multi-triplet stack + spawn nesting + per-event state machine. // B3+ — event-triggered + Akte modes, sharing, promotion (head-gated). export function renderProcedures(): string { const today = new Date().toISOString().split("T")[0]; return "" + ( Verfahren & Fristen — Paliad

Verfahren & Fristen

Litigation Builder — Szenarien bauen, Verfahren stapeln, Fristen behalten.

{/* Page header (PRD §3.1): scenario picker · save state · name · share · promote · Akte picker · Stichtag input. B1 wires the scenario picker + name action + Stichtag + save indicator. Akte / share / promote land at B4 / B5; the affordances render disabled in B1 so the layout is stable across slices. */}
 
{/* Entry-mode radio (PRD §0.2, §2). B1 ships cold-open active; event-triggered + akte ship at B3 / B4 and are disabled here so the layout stays stable across slices. */} {/* Two-column body: side panel (left, scenarios list) + canvas (right). */}
{/* B5 — read-only watermark for shared / promoted scenarios. builder.ts fills + unhides it when the active scenario is not editable by the current user. */}
{/* Cold-open placeholder — replaced by triplet stack once a scenario is loaded. */}

Noch kein Szenario geöffnet.

Starte ein neues Szenario, wähle aus deiner Liste oder übernimm eine Akte (B4).