<script setup>
import {useMenuFulfillmentCustomerPartners} from "~/composables/menu/fulfillmentCustomer/partners";
import {useMenuFulfillmentCustomerSales} from "~/composables/menu/fulfillmentCustomer/sales";
import {useMenuFulfillmentCustomerMaterials} from "~/composables/menu/fulfillmentCustomer/materials";
import {useMenuFulfillmentCustomerRequests} from "~/composables/menu/fulfillmentCustomer/requests";
import {useMenuFulfillmentCustomerSettings} from "~/composables/menu/fulfillmentCustomer/settings";


const partners = useMenuFulfillmentCustomerPartners()
const sales = useMenuFulfillmentCustomerSales()
const procurements = useProcurements()
const materials = useMenuFulfillmentCustomerMaterials()
// const manufacturings = useManufacturings()
const assets = useAssets()
const projects = useProjects()
// const analysis = useAnalysis()
// const integrations = useIntegrations()
const users = useUsers()
const requests = useMenuFulfillmentCustomerRequests()
//const reports = useReports()
const settings = useMenuFulfillmentCustomerSettings()

const menus = ref([
  {
    menu: true,
    text: 'Organization',
    value: 'dashboard',
    link: '/',
    icon: 'menu-icon tf-icons ti ti-layout-dashboard',
    active: false,
    child: false,
    children: []
  },
  {
    menu: true,
    // Fallback text is the English label; the actual label shown is looked up
    // in assets/langs/shared.js under this entry's `value` key.
    text: 'Products',
    translatedText: '',
    value: 'artikel',
    link: '/materials/products',
    icon: 'menu-icon tf-icons ti ti-archive',
    active: false,
    child: false,
    children: []
  },
  {
    menu: true,
    text: 'Orders',
    translatedText: '',
    value: 'auftrag',
    link: '/sales/orders',
    icon: 'menu-icon tf-icons ti ti-shopping-cart',
    active: false,
    child: false,
    children: []
  },
  {
    menu: true,
    text: 'Returns',
    translatedText: '',
    value: 'retouren',
    link: '/sales/my-returns',
    icon: 'menu-icon tf-icons ti ti-package-import',
    active: false,
    child: false,
    children: []
  },
  {
    menu: true,
    text: 'Inbound Notification',
    translatedText: '',
    value: 'warenanmeldung',
    link: '/procurements/my-orders',
    icon: 'menu-icon tf-icons ti ti-clipboard-list',
    active: false,
    child: false,
    children: []
  },
  {
    menu: true,
    text: 'Goods Receipt',
    translatedText: '',
    value: 'wareneingang',
    link: '/procurements/my-receipts',
    icon: 'menu-icon tf-icons ti ti-truck-delivery',
    active: false,
    child: false,
    children: []
  },
  {
    menu: true,
    text: 'Tickets',
    value: 'tickets',
    link: '/requests/my-tickets',
    icon: 'menu-icon tf-icons ti ti-ticket',
    active: false,
    child: false,
    children: []
  },
  // ...partners.value,
  // ...materials.value,
  // ...sales.value,
  // ...procurements.value,
  // ...manufacturings.value,
  // ...assets.value,
  // ...projects.value,
  // ...analysis.value,
  // ...integrations.value,
  // ...users.value,
  // ...requests.value,
  //...reports.value,
  // ...settings.value
])
</script>

<template>
  <BaseSideBar :menus="menus" />
</template>