// app/config/menu.ts (or lib/menu-data.ts)

import {
  Activity,
  Award,
  Banknote,
  BanknoteArrowUp,
  BriefcaseBusiness,
  ChartNoAxesCombined,
  ChartPie,
  CreditCard,
  DollarSign,
  GitCompareArrows,
  Globe,
  HandCoins,
  LockKeyhole,
  Package,
  RefreshCcw,
  Repeat2,
  TrendingUpDown,
  Wallet2,
} from "lucide-react"

export const menuGroups = [
  // Standalone menu items (no children)
  { label: "All Transactions", href: "/equity/alltransactions", icon: CreditCard },
  // Menu groups with children
  {
    label: "Equity",
    icon: ChartPie,
    children: [
      { label: "Stock", href: "/equity/stock", icon: ChartNoAxesCombined },
      { label: "Derivative", href: "/equity/derivative", icon: Repeat2 },
      { label: "Structure", href: "/equity/structure", icon: GitCompareArrows },
    ],
  },
  {
    label: "Fixed Income",
    icon: LockKeyhole,
    children: [
      { label: "Bond", href: "/fixedincome/bond", icon: Banknote },
      { label: "Bond Funds", href: "/fixedincome/bondfunds", icon: BanknoteArrowUp },
    ],
  },
  {
    label: "Commodity",
    icon: BriefcaseBusiness,
    children: [
      { label: "Commodity", href: "/commodity", icon: Package },
      { label: "Derivative", href: "/commodity/derivative", icon: Repeat2 },
    ],
  },
  {
    label: "Alternate Investments",
    icon: TrendingUpDown,
    children: [
      { label: "Other Assets", href: "/alternativeinvest/otherassets", icon: Globe },
    ],
  },
  {
    label: "Cash",
    icon: Wallet2,
    children: [
      { label: "Cash", href: "/cash", icon: HandCoins },
      { label: "Deposit", href: "/cash/deposit", icon: CreditCard },
      { label: "Leverage", href: "/cash/leverage", icon: Activity },
      { label: "Derivative", href: "/cash/derivative", icon: Repeat2 },
      { label: "Currency Conversion", href: "/cash/currencyconversion", icon: RefreshCcw },
      { label: "Cash Withdrawal", href: "/cash/cashwithdraw", icon: DollarSign },
    ],
  },
  { label: "Interest / Dividend Transaction", href: "/cash/interesttransaction", icon: Award },
]
