'use client' import React from 'react' import type { ApplicableRegulation } from '@/lib/sdk/compliance-scope-types' import type { ObligationStats } from '../_types' export function ApplicableRegsBanner({ regs }: { regs: ApplicableRegulation[] }) { if (regs.length === 0) return null return (

Anwendbare Regulierungen (aus Auto-Profiling)

{regs.map(reg => ( {reg.name} {reg.classification && ({reg.classification})} {reg.obligation_count} Pflichten ))}
) } export function NoProfileWarning() { return (
Kein Unternehmensprofil vorhanden. Auto-Profiling verwendet Beispieldaten.{' '} Profil anlegen →
) } export function OverdueAlert({ stats }: { stats: ObligationStats | null }) { if ((stats?.overdue ?? 0) <= 0) return null return (

Achtung: {stats?.overdue} ueberfaellige Pflicht(en)

Diese Pflichten erfordern sofortige Aufmerksamkeit.

) } export function EmptyList({ onCreate }: { onCreate: () => void }) { return (

Keine Pflichten gefunden

Klicken Sie auf "Pflicht hinzufuegen", um die erste Compliance-Pflicht zu erfassen.

) }