import { J as jsxRuntimeExports } from "./server-CZT6KZsz.js";
import { a as cn } from "./package-D5atLoEx.js";
import { M as tipoLabels, h as estadoLabels } from "./router-Bsssaenw.js";
const estadoStyles = {
  pendiente: "bg-muted text-muted-foreground border-border",
  en_relevamiento: "bg-info/10 text-info border-info/20",
  presupuestado: "bg-accent text-accent-foreground border-accent-foreground/10",
  aprobado: "bg-info/15 text-info border-info/20",
  en_ejecucion: "bg-warning/15 text-warning-foreground border-warning/30",
  finalizado: "bg-success/10 text-success border-success/20",
  cobrado: "bg-foreground text-background border-foreground"
};
const tipoStyles = {
  abono: "bg-info/10 text-info",
  reparacion: "bg-destructive/10 text-destructive",
  relevamiento: "bg-accent text-accent-foreground",
  urgencia: "bg-destructive text-destructive-foreground"
};
function EstadoBadge({ estado }) {
  return /* @__PURE__ */ jsxRuntimeExports.jsxs("span", { className: cn("inline-flex items-center gap-1.5 px-2 py-0.5 rounded-full text-xs font-medium border", estadoStyles[estado]), children: [
    /* @__PURE__ */ jsxRuntimeExports.jsx("span", { className: "size-1.5 rounded-full bg-current opacity-70" }),
    estadoLabels[estado]
  ] });
}
function TipoBadge({ tipo }) {
  return /* @__PURE__ */ jsxRuntimeExports.jsx("span", { className: cn("inline-flex items-center px-2 py-0.5 rounded text-xs font-medium font-mono uppercase tracking-wide", tipoStyles[tipo]), children: tipoLabels[tipo] });
}
const prioridadStyles = {
  baja: "bg-muted text-muted-foreground",
  normal: "bg-info/10 text-info",
  alta: "bg-warning/15 text-warning-foreground",
  urgente: "bg-destructive text-destructive-foreground"
};
function PrioridadBadge({ prioridad }) {
  return /* @__PURE__ */ jsxRuntimeExports.jsx("span", { className: cn("inline-flex items-center px-2 py-0.5 rounded text-[11px] font-semibold uppercase tracking-wider", prioridadStyles[prioridad]), children: prioridad });
}
export {
  EstadoBadge as E,
  PrioridadBadge as P,
  TipoBadge as T
};
