export function Card({ children, className = "" }: { children: React.ReactNode; className?: string }) {
return
{children}
;
}
export function Button({ children, className = "", ...props }: React.ButtonHTMLAttributes) {
return ;
}
export function Input(props: React.InputHTMLAttributes) {
return ;
}
export function Label({ children }: { children: React.ReactNode }) {
return ;
}
export function StatusBadge({ status }: { status: string }) {
const map: Record = {
completed: "bg-emerald-500/15 text-emerald-300",
processing: "bg-blue-500/15 text-blue-300",
queued: "bg-amber-500/15 text-amber-300",
failed: "bg-red-500/15 text-red-300",
stored: "bg-slate-500/15 text-slate-300",
processed: "bg-emerald-500/15 text-emerald-300",
};
return {status};
}
export function ConfirmDialog({
open,
title,
description,
confirmLabel = "Confirmar",
cancelLabel = "Cancelar",
loading = false,
onConfirm,
onCancel,
}: {
open: boolean;
title: string;
description: string;
confirmLabel?: string;
cancelLabel?: string;
loading?: boolean;
onConfirm: () => void;
onCancel: () => void;
}) {
if (!open) return null;
return (
);
}