import {
  LayoutDashboard,
  ShoppingCart,
  Package,
  Warehouse,
  Users,
  RefreshCw,
  Bot,
  Megaphone,
  TrendingUp,
  BarChart3,
  Store,
  Globe,
  Settings,
  Shield,
  CreditCard,
  Receipt,
  LineChart,
  Webhook,
  LayoutGrid,
  Palette,
  Boxes,
  Truck,
  Bell,
  Target,
  Zap,
  Activity,
  Workflow,
  FileText,
  Briefcase,
  Calculator,
  MessageCircle,
  Image as ImageIcon,
  Sparkles,
  PieChart,
  Key,
  FileCode2,
  Navigation,
  Link2,
  Star,
  Search,
  Layers,
  type LucideIcon,
} from 'lucide-react';

export const NAV_ICONS: Record<string, LucideIcon> = {
  LayoutDashboard,
  ShoppingCart,
  Package,
  Warehouse,
  Users,
  RefreshCw,
  Bot,
  Megaphone,
  TrendingUp,
  BarChart3,
  Store,
  Globe,
  Settings,
  Shield,
  CreditCard,
  Receipt,
  LineChart,
  Webhook,
  LayoutGrid,
  Palette,
  Boxes,
  Truck,
  Bell,
  Target,
  Zap,
  Activity,
  Workflow,
  FileText,
  Briefcase,
  Calculator,
  MessageCircle,
  ImageIcon,
  Sparkles,
  PieChart,
  Key,
  FileCode2,
  Navigation,
  Link2,
  Star,
  Search,
  Layers,
  FileCode: FileCode2,
  FileCode2,
  Plug: Zap,
};

export function resolveNavIcon(name: string): LucideIcon {
  return NAV_ICONS[name] || LayoutDashboard;
}
