import Management from "../Pages/Management";
import * as R from "../routes/paths";
import Users from "../Pages/LiveStock/Users";
import Organizations from "../Pages/LiveStock/Organizations";
import Roles from "../Pages/LiveStock/Roles";
import Products from "../Pages/LiveStock/Products";
import { ProductsCategories } from "../Pages/LiveStock/ProductsCategories";
import Pricing from "../Pages/LiveStock/Pricing";
import IncentivePlans from "../Pages/LiveStock/IncentivePlans";
import Quota from "../Pages/LiveStock/Quota";
import Inventory from "../Pages/LiveStock/Inventory";
import Reporting from "../Pages/LiveStock/Reporting";
import LiveStockFarmers from "../Pages/LiveStock/LiveStockFarmers";
import LiveStocks from "../Pages/LiveStock/LiveStocks";
import Herds from "../Pages/LiveStock/Herds";
import Pos from "../Pages/LiveStock/Pos";
import PosCompanies from "../Pages/LiveStock/PosCompanies";
import PosAccounts from "../Pages/LiveStock/PosAccounts";
import RancherPlans from "../Pages/LiveStock/RancherPlans";
import Transactions from "../Pages/LiveStock/Transactions";
import Unions from "../Pages/LiveStock/Unions";
import Cooperatives from "../Pages/LiveStock/Cooperatives";
import CooperativeRanchers from "../Pages/LiveStock/CooperativeRanchers";
import SettingsOfUnits from "../Pages/LiveStock/SettingsOfUnits";
import Tagging from "../Pages/LiveStock/Tagging";
import TagDistribtution from "../Pages/LiveStock/TagDistribution";
import TagDistribtutionDetails from "../Pages/LiveStock/TagDistributionDetails";
import Tags from "../partials/LiveStock/tagging/Tags";
import Domains from "../Pages/Domains";

export const adminCategoryItems = [
  {
    name: "domains",
    path: R.DOMAINS,
    component: Domains,
  },
  {
    name: "permission_control",
    path: R.PERMISSION_ACCESS,
    component: Management,
  },
];

export const managementCategoryItems = [
  {
    name: "users",
    path: R.USERS,
    component: Users,
  },
  {
    name: "organizations",
    path: R.ORGANIZATIONS,
    component: Organizations,
  },
  {
    name: "roles_management",
    path: R.ROLES,
    component: Roles,
  },
];

export const unitCategoryItems = [
  {
    name: "unions",
    path: R.UNION_LIST,
    component: Unions,
  },
  {
    name: "cooperatives",
    path: R.COOPERATIVE_LIST,
    component: Cooperatives,
  },
  {
    name: "union_cooperatives",
    path: R.UNION_COOPERATIVE_LIST,
    component: Cooperatives,
  },
  {
    name: "cooperative_ranchers",
    path: R.COOPERATIVE_RANCHERS_LIST,
    component: CooperativeRanchers,
  },
  {
    name: "units_settings",
    path: R.UNITS_SETTINGS,
    component: SettingsOfUnits,
  },
];

export const feedInputCategoryItems = [
  {
    name: "feed_input_products",
    path: R.FEED_INPUT_PRODUCTS,
    component: Products,
  },
  {
    name: "product_categories",
    path: R.PRODUCT_CATEGORIES,
    component: ProductsCategories,
  },
  {
    name: "pricing",
    path: R.PRODUCT_PRICING,
    component: Pricing,
  },
];

export const quotaCategoryItems = [
  {
    name: "quota",
    path: R.QUOTAS,
    component: Quota,
  },
  {
    name: "quota_distributions",
    path: R.QUOTA_DISTRIBUTION,
    component: Quota,
  },
  {
    name: "inventory",
    path: R.INVENTORY,
    component: Inventory,
  },
  {
    name: "inventory_entries",
    path: R.INVENTORY_ENTRIES,
    component: Inventory,
  },
  {
    name: "reporting",
    path: R.REPORTING,
    component: Reporting,
  },
  {
    name: "reporting_details",
    path: R.REPORTING_DETAIL,
    component: Reporting,
  },

  {
    name: "incentive_plans",
    path: R.QUOTA_INCENTIVE_PLANS,
    component: IncentivePlans,
  },
];

export const livestockCategoryItems = [
  {
    name: "livestock_farmers",
    path: R.LIVESTOCK_FARMERS,
    component: LiveStockFarmers,
  },
  {
    name: "herds",
    path: R.HERDS,
    component: Herds,
  },
  {
    name: "farmer_details",
    path: R.LIVESTOCK_FARMER_DETAIL,
    component: Herds,
  },
  {
    name: "farmer_plans",
    path: R.LIVESTOCK_FARMERS_INCENTIVE_PLANS,
    component: RancherPlans,
  },
  {
    name: "livestocks",
    path: R.LIVESTOCKS,
    component: LiveStocks,
  },
  {
    name: "livestocks",
    path: R.LIVESTOCKS_HERDS_DETAIL,
    component: LiveStocks,
  },
];

export const taggingCategoryItems = [
  {
    name: "tagging",
    path: R.TAGGING,
    component: Tagging,
  },
  {
    name: "tagging_detail",
    path: R.TAGS_BATCH,
    component: Tags,
  },
  {
    name: "tag_distribution",
    path: R.TAG_DISTRIBUTION,
    component: TagDistribtution,
  },
  {
    name: "tag_distribution_detail",
    path: R.TAG_DISTRIBUTION_DETAIL,
    component: TagDistribtutionDetails,
  },
];

export const posCategoryItems = [
  {
    name: "pos_companies",
    path: R.POS_COMPANIES,
    component: PosCompanies,
  },
  {
    name: "pos_company_detail",
    path: R.POS_COMPANY_DETAIL,
    component: Pos,
  },
  {
    name: "pos",
    path: R.POS_POS_LIST,
    component: Pos,
  },
  {
    name: "pos_accounts",
    path: R.POS_COMPANY_ACCOUNTS,
    component: PosAccounts,
  },
];

export const transactionCategoryItems = [
  {
    name: "transactions",
    path: R.TRANSACTIONS,
    component: Transactions,
  },
];
