import { Route } from 'react-router-dom'

import Filaments from '../components/Dashboard/Management/Filaments'
import FilamentInfo from '../components/Dashboard/Management/Filaments/FilamentInfo.jsx'
import Parts from '../components/Dashboard/Management/Parts.jsx'
import PartInfo from '../components/Dashboard/Management/Parts/PartInfo.jsx'
import Products from '../components/Dashboard/Management/Products.jsx'
import ProductInfo from '../components/Dashboard/Management/Products/ProductInfo.jsx'
import Vendors from '../components/Dashboard/Management/Vendors'
import VendorInfo from '../components/Dashboard/Management/Vendors/VendorInfo'
import Materials from '../components/Dashboard/Management/Materials'
import Settings from '../components/Dashboard/Management/Settings'
import AuditLogs from '../components/Dashboard/Management/AuditLogs.jsx'
import NoteTypes from '../components/Dashboard/Management/NoteTypes.jsx'
import NoteTypeInfo from '../components/Dashboard/Management/NoteTypes/NoteTypeInfo.jsx'
import NoteInfo from '../components/Dashboard/Management/Notes/NoteInfo.jsx'
import Users from '../components/Dashboard/Management/Users.jsx'
import UserInfo from '../components/Dashboard/Management/Users/UserInfo.jsx'
import Hosts from '../components/Dashboard/Management/Hosts.jsx'
import HostInfo from '../components/Dashboard/Management/Hosts/HostInfo.jsx'
import DocumentSizes from '../components/Dashboard/Management/DocumentSizes.jsx'
import DocumentSizeInfo from '../components/Dashboard/Management/DocumentSizes/DocumentSizeInfo.jsx'
import DocumentTemplates from '../components/Dashboard/Management/DocumentTemplates.jsx'
import DocumentTemplateInfo from '../components/Dashboard/Management/DocumentTemplates/DocumentTemplateInfo.jsx'
import DocumentPrinters from '../components/Dashboard/Management/DocumentPrinters.jsx'
import DocumentPrinterInfo from '../components/Dashboard/Management/DocumentPrinters/DocumentPrinterInfo.jsx'
import DocumentTemplateDesign from '../components/Dashboard/Management/DocumentTemplates/DocumentTemplateDesign.jsx'

const ManagementRoutes = [
  <Route key='filaments' path='management/filaments' element={<Filaments />} />,
  <Route
    key='filaments-info'
    path='management/filaments/info'
    element={<FilamentInfo />}
  />,
  <Route key='parts' path='management/parts' element={<Parts />} />,
  <Route
    key='parts-info'
    path='management/parts/info'
    element={<PartInfo />}
  />,
  <Route key='products' path='management/products' element={<Products />} />,
  <Route
    key='products-info'
    path='management/products/info'
    element={<ProductInfo />}
  />,
  <Route key='vendors' path='management/vendors' element={<Vendors />} />,
  <Route key='hosts' path='management/hosts' element={<Hosts />} />,
  <Route
    key='hosts-info'
    path='management/hosts/info'
    element={<HostInfo />}
  />,
  <Route
    key='users-info'
    path='management/users/info'
    element={<UserInfo />}
  />,
  <Route
    key='vendors-info'
    path='management/vendors/info'
    element={<VendorInfo />}
  />,
  <Route key='materials' path='management/materials' element={<Materials />} />,
  <Route key='notetypes' path='management/notetypes' element={<NoteTypes />} />,
  <Route
    key='notetypes-info'
    path='management/notetypes/info'
    element={<NoteTypeInfo />}
  />,
  <Route key='note-info' path='management/notes/info' element={<NoteInfo />} />,
  <Route
    key='documentsizes'
    path='management/documentsizes'
    element={<DocumentSizes />}
  />,
  <Route
    key='documentsizes-info'
    path='management/documentsizes/info'
    element={<DocumentSizeInfo />}
  />,
  <Route
    key='documenttemplates'
    path='management/documenttemplates'
    element={<DocumentTemplates />}
  />,
  <Route
    key='documenttemplates-info'
    path='management/documenttemplates/info'
    element={<DocumentTemplateInfo />}
  />,
  <Route
    key='documentprinters'
    path='management/documentprinters'
    element={<DocumentPrinters />}
  />,
  <Route
    key='documentprinters-info'
    path='management/documentprinters/info'
    element={<DocumentPrinterInfo />}
  />,
  <Route
    key='documenttemplates-design'
    path='management/documenttemplates/design'
    element={<DocumentTemplateDesign />}
  />,
  <Route key='users' path='management/users' element={<Users />} />,
  <Route key='settings' path='management/settings' element={<Settings />} />,
  <Route key='auditlogs' path='management/auditlogs' element={<AuditLogs />} />
]

export default ManagementRoutes
