import { Alert, Box, Button, Card, CircularProgress, TextField, Typography } from '@mui/material' import { Sparkles } from 'lucide-react' import { DS_TEXT, DS_SURFACE, DS_BORDER } from '../../lib/ds' interface Props { text: string onTextChange: (v: string) => void onParse: () => void parsing: boolean applied: boolean } export function AiAssistCard({ text, onTextChange, onParse, parsing, applied }: Props) { return ( KI-Hilfe — Formular automatisch ausfüllen Beschreiben Sie die Fläche in eigenen Worten — die KI füllt die Felder automatisch aus. onTextChange(e.target.value)} sx={{ mb: 1.5, bgcolor: 'white' }} /> {applied && ( Felder wurden automatisch ausgefüllt — bitte überprüfen und ergänzen. )} ) }