/** * Action Panel Component * Панель с действиями для управления AI обработкой */ import { Pause, Sparkles, Square, Wand2 } from "lucide-react" import { cn } from "@/lib/utils" interface ActionPanelProps { isProcessing: boolean hasFiles: boolean onAnalyze: () => void onProcess: () => void onPause: () => void onResume: () => void onCancel: () => void className?: string } export function ActionPanel({ isProcessing, hasFiles, onAnalyze, onProcess, onPause, // onResume, onCancel, className, }: ActionPanelProps) { return (
{/* Analyze Button */} {/* Process Button */}
{/* Control Buttons */} {isProcessing && (
)} {/* Quick Actions */}
) } interface QuickActionProps { label: string icon: string tooltip?: string disabled?: boolean onClick?: () => void } function QuickAction({ label, icon, tooltip, disabled, onClick }: QuickActionProps) { return ( ) }