import { IconComponents, IconDeviceDesktopAnalytics, IconFlame, IconLogin, IconLogin2, IconPassword, IconSettings } from "@tabler/icons-react";
import SignIn from "../pages/auth/SignIn";
import SignUp from "../pages/auth/SignUp";
import PasswordReset from "../pages/auth/PasswordReset";
import MonitorPage from "../pages/MonitorPage";
import Settings from "../pages/Settings";
import Users from "../pages/Users";
import Roles from "../pages/Roles";
import Documents from "../pages/Documents";
import Reports from "../pages/Reports";
import Servers from "../pages/Servers";
import Boilers from "../pages/fuel/Fuel/Boilers";
import MapTest from "../pages/MapTest";
import PrintReport from "../pages/PrintReport";
import DBManager from "../pages/DBManager";
import MapLineTest from "../components/map/MapLineTest";
import FuelPage from "../pages/Fuel";
import { Building24Color, Cloud24Color, Database24Color, Diversity24Color, Document24Color, Form24Color, Gauge24Color, Map24Filled, Map24Regular, PeopleList24Color, Shield24Color } from "@fluentui/react-icons"
import LimitsPage from "../pages/fuel/Limits";
import ReportsPage from "../pages/fuel/Reports";
import FuelsPage from "../pages/fuel/Fuel/Fuels";

// Определение страниц с путями и компонентом для рендера

const pages = [
  {
    label: "",
    path: "/auth/signin",
    icon: <IconLogin2 />,
    component: <SignIn />,
    drawer: false,
    dashboard: false,
    enabled: true,
  },
  {
    label: "",
    path: "/auth/signup",
    icon: <IconLogin />,
    component: <SignUp />,
    drawer: false,
    dashboard: false,
    enabled: false,
  },
  {
    label: "",
    path: "/auth/password-reset",
    icon: <IconPassword />,
    component: <PasswordReset />,
    drawer: false,
    dashboard: false,
    enabled: true,
  },
  {
    label: "Настройки",
    path: "/settings",
    icon: <IconSettings />,
    component: <Settings />,
    drawer: false,
    dashboard: true,
    enabled: true,
  },
  {
    label: "Главная",
    path: "/",
    icon: <Map24Filled />,
    component: <MapTest />,
    // icon: <Home24Color />,
    // component: <Main />,
    drawer: true,
    dashboard: true,
    enabled: true,
  },
  {
    label: "Пользователи",
    path: "/user",
    icon: <PeopleList24Color />,
    component: <Users />,
    drawer: true,
    dashboard: true,
    enabled: true,
  },
  {
    label: "Роли",
    path: "/role",
    icon: <Shield24Color />,
    component: <Roles />,
    drawer: true,
    dashboard: true,
    enabled: true,
  },
  {
    label: "Документы",
    path: "/documents",
    icon: <Document24Color />,
    component: <Documents />,
    drawer: true,
    dashboard: true,
    enabled: true,
  },
  {
    label: "Отчеты",
    path: "/reports",
    icon: <Form24Color />,
    component: <Reports />,
    drawer: true,
    dashboard: true,
    enabled: true,
  },
  {
    label: "Серверы",
    path: "/servers",
    icon: <Cloud24Color />,
    component: <Servers />,
    drawer: true,
    dashboard: true,
    enabled: true,
  },
  {
    label: "Котельные",
    path: "/fuel/boilers",
    icon: <Building24Color />,
    component: <Boilers />,
    drawer: true,
    dashboard: true,
    enabled: true,
  },
  {
    label: "Виды топлива",
    path: "/fuel/fuels",
    icon: <Diversity24Color />,
    component: <FuelsPage />,
    drawer: true,
    dashboard: true,
    enabled: true,
  },
  {
    label: "Лимиты",
    path: "/fuel/limits",
    icon: <Gauge24Color />,
    component: <LimitsPage />,
    drawer: true,
    dashboard: true,
    enabled: true,
  },
  {
    label: "Отчеты",
    path: "/fuel/reports",
    icon: <Form24Color />,
    component: <ReportsPage />,
    drawer: false,
    dashboard: false,
    enabled: false,
  },
  // {
  //   label: "ИКС",
  //   path: "/map-test",
  //   icon: <Map24Filled />,
  //   component: <MapTest />,
  //   drawer: true,
  //   dashboard: true,
  //   enabled: true,
  // },
  {
    label: "Map line test",
    path: "/map-line-test",
    icon: <Map24Regular />,
    component: <MapLineTest />,
    drawer: true,
    dashboard: true,
    enabled: false,
  },
  {
    label: "Монитор",
    path: "/monitor",
    icon: <IconDeviceDesktopAnalytics />,
    component: <MonitorPage />,
    drawer: true,
    dashboard: true,
    enabled: false,
  },
  {
    label: "Print report test",
    path: "/print-report-test",
    icon: <IconComponents />,
    component: <PrintReport />,
    drawer: true,
    dashboard: true,
    enabled: false,
  },
  {
    label: "Тест БД",
    path: "/db-manager",
    icon: <Database24Color />,
    component: <DBManager />,
    drawer: true,
    dashboard: true,
    enabled: false,
  },
  {
    label: 'Fuel',
    path: '/fuel',
    icon: <IconFlame />,
    component: <FuelPage />,
    drawer: false,
    dashboard: false,
    enabled: false
  }
]

export {
  pages
}