import {
  BarChart3,
  DollarSign,
  Handshake,
  Home,
  MessageCircle,
  Settings,
  Store,
  TrendingUp,
  Truck,
  Warehouse,
} from 'lucide-react'

interface SellerNavigationItem {
  id: string
  label: string
  icon: typeof Home
  path: string
  isActive: (pathname: string) => boolean
}

export const sellerNavigation: SellerNavigationItem[] = [
  {
    id: 'home',
    label: 'Главная',
    icon: Home,
    path: '/seller/home',
    isActive: (pathname) => pathname === '/seller/home',
  },
  {
    id: 'messenger',
    label: 'Мессенджер',
    icon: MessageCircle,
    path: '/seller/messenger',
    isActive: (pathname) => pathname.startsWith('/seller/messenger'),
  },
  {
    id: 'economics',
    label: 'Экономика',
    icon: DollarSign,
    path: '/seller/economics',
    isActive: (pathname) => pathname.startsWith('/seller/economics'),
  },
  {
    id: 'partners',
    label: 'Партнёры',
    icon: Handshake,
    path: '/seller/partners',
    isActive: (pathname) => pathname.startsWith('/seller/partners'),
  },
  {
    id: 'market',
    label: 'Маркет',
    icon: Store,
    path: '/seller/market',
    isActive: (pathname) => pathname.startsWith('/seller/market'),
  },
  {
    id: 'supplies',
    label: 'Мои поставки',
    icon: Truck,
    path: '/seller/supplies',
    isActive: (pathname) => pathname.startsWith('/seller/supplies'),
  },
  {
    id: 'warehouse',
    label: 'Склад',
    icon: Warehouse,
    path: '/seller/warehouse',
    isActive: (pathname) => pathname.startsWith('/seller/warehouse'),
  },
  {
    id: 'statistics',
    label: 'Статистика',
    icon: BarChart3,
    path: '/seller/statistics',
    isActive: (pathname) => pathname.startsWith('/seller/statistics'),
  },
  {
    id: 'exchange',
    label: 'Биржа',
    icon: TrendingUp,
    path: '/seller/exchange',
    isActive: (pathname) => pathname.startsWith('/seller/exchange'),
  },
  {
    id: 'settings',
    label: 'Настройки профиля',
    icon: Settings,
    path: '/seller/settings',
    isActive: (pathname) => pathname.startsWith('/seller/settings'),
  },
]
