import { RefreshCw, FileText } from "lucide-react" import { cn } from "@/lib/utils" // Präsentations-Atome des SystemDrawers (Review P2-14: aus dem 934-Z-Monolithen extrahiert). // Die frühere SERVICES-Konstante (UI-Kopie der Dienste-Liste) ist weg: der Drawer rendert // jetzt direkt die Backend-Antwort von /api/system/services — EINE Quelle der Wahrheit. export function UpdateRow({ icon: Icon, iconClass, name, status, available, busy, actionLabel, onAction }: { icon: any; iconClass: string; name: string; status: string; available: boolean; busy?: boolean; actionLabel: string; onAction: () => void }) { return (
{name}
{status}
) } export function ServiceRow({ label, ok, system, busy, onRestart, onLogs }: { label: string; ok?: boolean; system?: boolean; busy?: boolean; onRestart: () => void; onLogs: () => void }) { return (
{label}{system && (root)}
) }