import SettingsComponent from "../../components/admin/settings/SettingsComponent.vue";
import CompanyComponent from "../../components/admin/settings/Company/CompanyComponent.vue";
import SiteComponent from "../../components/admin/settings/Site/SiteComponent.vue";
import MailComponent from "../../components/admin/settings/Mail/MailComponent.vue";
import OtpComponent from "../../components/admin/settings/Otp/OtpComponent.vue";
import SocialMediaComponent from "../../components/admin/settings/SocialMedia/SocialMediaComponent.vue";
import BannerComponent from "../../components/admin/settings/Banner/BannerComponent.vue";
import SocialLoginComponent from "../../components/admin/settings/SocialLogin/SocialLoginComponent.vue";
import WhyBestComponent from "../../components/admin/settings/WhyBest/WhyBestComponent.vue";
import WhyBestListComponent from "../../components/admin/settings/WhyBest/WhyBestListComponent.vue";
import WhyBestShowComponent from "../../components/admin/settings/WhyBest/WhyBestShowComponent.vue";
import FaqComponent from "../../components/admin/settings/Faq/FaqComponent.vue";
import FaqListComponent from "../../components/admin/settings/Faq/FaqListComponent.vue";
import FaqShowComponent from "../../components/admin/settings/Faq/FaqShowComponent.vue";
import CookiesComponent from "../../components/admin/settings/Cookies/CookiesComponent.vue";
import ThemeComponent from "../../components/admin/settings/Theme/ThemeComponent.vue";
import DeliveryDaysComponent from "../../components/admin/settings/DeliveryDays/DeliveryDaysComponent.vue";
import DeliveryDaysListComponent from "../../components/admin/settings/DeliveryDays/DeliveryDaysListComponent.vue";
import CurrencyComponent from "../../components/admin/settings/Currency/CurrencyComponent.vue";
import CurrencyListComponent from "../../components/admin/settings/Currency/CurrencyListComponent.vue";
import LicenseComponent from "../../components/admin/settings/License/LicenseComponent.vue";
import LanguageComponent from "../../components/admin/settings/Language/LanguageComponent.vue";
import LanguageListComponent from "../../components/admin/settings/Language/LanguageListComponent.vue";
import LanguageShowComponent from "../../components/admin/settings/Language/LanguageShowComponent.vue";
import RoleComponent from "../../components/admin/settings/Role/RoleComponent.vue";
import RoleListComponent from "../../components/admin/settings/Role/RoleListComponent.vue";
import RoleShowComponent from "../../components/admin/settings/Role/RoleShowComponent.vue";
import SmsGatewayComponent from "../../components/admin/settings/SmsGateway/SmsGatewayComponent.vue";
import PaymentGatewayComponent from "../../components/admin/settings/PaymentGateway/PaymentGatewayComponent.vue";
import PageComponent from "../../components/admin/settings/Page/PageComponent.vue";
import PageListComponent from "../../components/admin/settings/Page/PageListComponent.vue";
import PageShowComponent from "../../components/admin/settings/Page/PageShowComponent.vue";
import AboutUsComponent from "../../components/admin/settings/AboutUs/AboutUsComponent.vue";
import ImageGalleryComponent from "../../components/admin/settings/ImageGallery/ImageGalleryComponent.vue";
import ImageGalleryListComponent from "../../components/admin/settings/ImageGallery/ImageGalleryListComponent.vue";
import ImageGalleryShowComponent from "../../components/admin/settings/ImageGallery/ImageGalleryShowComponent.vue";
import NotificationComponent from "../../components/admin/settings/Notification/NotificationComponent.vue";
import ItemAttributeComponent from "../../components/admin/settings/ItemAttribute/ItemAttributeComponent.vue";
import ItemAttributeListComponent from "../../components/admin/settings/ItemAttribute/ItemAttributeListComponent.vue";
import NotificationAlertComponent from "../../components/admin/settings/NotificationAlert/NotificationAlertComponent.vue";
import DeliveryAreaComponent from "../../components/admin/settings/DeliveryArea/DeliveryAreaComponent.vue";
import DeliveryAreaListComponent from "../../components/admin/settings/DeliveryArea/DeliveryAreaListComponent.vue";
import AnalyticComponent from "../../components/admin/settings/Analytics/AnalyticComponent.vue";
import AnalyticListComponent from "../../components/admin/settings/Analytics/AnalyticListComponent.vue";
import AnalyticShowComponent from "../../components/admin/settings/Analytics/AnalyticShowComponent.vue";
import TaxComponent from "../../components/admin/settings/Tax/TaxComponent.vue";
import TaxListComponent from "../../components/admin/settings/Tax/TaxListComponent.vue";
import ItemCategoryListComponent from "../../components/admin/settings/ItemCategory/ItemCateogryListComponent.vue";
import ItemCategoryComponent from "../../components/admin/settings/ItemCategory/ItemCategoryComponent.vue";
import ItemCategoryShowComponent from "../../components/admin/settings/ItemCategory/ItemCategoryShowComponent.vue";

export default [
    {
        path: "/admin/settings",
        component: SettingsComponent,
        name: "admin.settings",
        redirect: { name: "admin.settings.company" },
        meta: {
            isFrontend: false,
            auth: true,
            permissionUrl: "settings",
            breadcrumb: "settings",
        },
        children: [
            {
                path: "company",
                component: CompanyComponent,
                name: "admin.settings.company",
                meta: {
                    isFrontend: false,
                    auth: true,
                    permissionUrl: "settings",
                    breadcrumb: "company",
                },
            },
            {
                path: "site",
                component: SiteComponent,
                name: "admin.settings.site",
                meta: {
                    isFrontend: false,
                    auth: true,
                    permissionUrl: "settings",
                    breadcrumb: "site",
                },
            },
            {
                path: "mail",
                component: MailComponent,
                name: "admin.settings.mail",
                meta: {
                    isFrontend: false,
                    auth: true,
                    permissionUrl: "settings",
                    breadcrumb: "mail",
                },
            },
            {
                path: "otp",
                component: OtpComponent,
                name: "admin.settings.otp",
                meta: {
                    isFrontend: false,
                    auth: true,
                    permissionUrl: "settings",
                    breadcrumb: "otp",
                },
            },
            {
                path: "social-media",
                component: SocialMediaComponent,
                name: "admin.settings.socialMedia",
                meta: {
                    isFrontend: false,
                    auth: true,
                    permissionUrl: "settings",
                    breadcrumb: "social_media",
                },
            },
            {
                path: "social-login",
                component: SocialLoginComponent,
                name: "admin.settings.socialLogin",
                meta: {
                    isFrontend: false,
                    auth: true,
                    permissionUrl: "settings",
                    breadcrumb: "social_login",
                },
            },
            {
                path: "banner",
                component: BannerComponent,
                name: "admin.settings.banner",
                meta: {
                    isFrontend: false,
                    auth: true,
                    permissionUrl: "settings",
                    breadcrumb: "banner",
                }
            },
            {
                path: "about-us",
                component: AboutUsComponent,
                name: "admin.settings.about-us",
                meta: {
                    isFrontend: false,
                    auth: true,
                    permissionUrl: "settings",
                    breadcrumb: "about_us",
                }
            },
            {
                path: "why-best",
                component: WhyBestComponent,
                name: "admin.settings.whyBest",
                redirect: { name: "admin.settings.whyBest.list" },
                meta: {
                    isFrontend: false,
                    auth: true,
                    permissionUrl: "settings",
                    breadcrumb: "why_best"
                },
                children: [
                    {
                        path: "list",
                        component: WhyBestListComponent,
                        name: "admin.settings.whyBest.list",
                        meta: {
                            isFrontend: false,
                            auth: true,
                            permissionUrl: "settings",
                            breadcrumb: ""
                        }
                    },
                    {
                        path: "show/:id",
                        component: WhyBestShowComponent,
                        name: "admin.settings.whyBest.show",
                        meta: {
                            isFrontend: false,
                            auth: true,
                            permissionUrl: "settings",
                            breadcrumb: "view"
                        }
                    }
                ]
            },
            {
                path: "image-gallery",
                component: ImageGalleryComponent,
                name: "admin.settings.imageGallery",
                redirect: { name: "admin.settings.imageGallery.list" },
                meta: {
                    isFrontend: false,
                    auth: true,
                    permissionUrl: "settings",
                    breadcrumb: "image_gallery"
                },
                children: [
                    {
                        path: "list",
                        component: ImageGalleryListComponent,
                        name: "admin.settings.imageGallery.list",
                        meta: {
                            isFrontend: false,
                            auth: true,
                            permissionUrl: "settings",
                            breadcrumb: ""
                        }
                    },
                    {
                        path: "show/:id",
                        component: ImageGalleryShowComponent,
                        name: "admin.settings.imageGallery.show",
                        meta: {
                            isFrontend: false,
                            auth: true,
                            permissionUrl: "settings",
                            breadcrumb: "view"
                        }
                    }
                ]
            },
            {
                path: "faq",
                component: FaqComponent,
                name: "admin.settings.faq",
                redirect: { name: "admin.settings.faq.list" },
                meta: {
                    isFrontend: false,
                    auth: true,
                    permissionUrl: "settings",
                    breadcrumb: "faq"
                },
                children: [
                    {
                        path: "list",
                        component: FaqListComponent,
                        name: "admin.settings.faq.list",
                        meta: {
                            isFrontend: false,
                            auth: true,
                            permissionUrl: "settings",
                            breadcrumb: ""
                        }
                    },
                    {
                        path: "show/:id",
                        component: FaqShowComponent,
                        name: "admin.settings.faq.show",
                        meta: {
                            isFrontend: false,
                            auth: true,
                            permissionUrl: "settings",
                            breadcrumb: "view"
                        }
                    }
                ]
            },
            {
                path: "cookies",
                component: CookiesComponent,
                name: "admin.settings.cookies",
                meta: {
                    isFrontend: false,
                    auth: true,
                    permissionUrl: "settings",
                    breadcrumb: "cookies",
                },
            },
            {
                path: "theme",
                component: ThemeComponent,
                name: "admin.settings.theme",
                meta: {
                    isFrontend: false,
                    auth: true,
                    permissionUrl: "settings",
                    breadcrumb: "theme",
                },
            },
            {
                path: "delivery-days",
                component: DeliveryDaysComponent,
                name: "admin.settings.delivery-days",
                redirect: { name: "admin.settings.delivery-days.list" },
                meta: {
                    isFrontend: false,
                    auth: true,
                    permissionUrl: "settings",
                    breadcrumb: "delivery_days",
                },
                children: [
                    {
                        path: "list",
                        component: DeliveryDaysListComponent,
                        name: "admin.settings.delivery-days.list",
                        meta: {
                            isFrontend: false,
                            auth: true,
                            permissionUrl: "settings",
                            breadcrumb: "",
                        },
                    },
                ],
            },
            {
                path: "delivery-areas",
                component: DeliveryAreaComponent,
                name: "admin.settings.delivery-areas",
                redirect: { name: "admin.settings.deliveryAreas.list" },
                meta: {
                    isFrontend: false,
                    auth: true,
                    permissionUrl: "settings",
                    breadcrumb: "delivery_areas",
                },
                children: [
                    {
                        path: "list",
                        component: DeliveryAreaListComponent,
                        name: "admin.settings.deliveryAreas.list",
                        meta: {
                            isFrontend: false,
                            auth: true,
                            permissionUrl: "settings",
                            breadcrumb: "",
                        },
                    },
                ],
            },
            {
                path: "currencies",
                component: CurrencyComponent,
                name: "admin.settings.currency",
                redirect: { name: "admin.settings.currency.list" },
                meta: {
                    isFrontend: false,
                    auth: true,
                    permissionUrl: "settings",
                    breadcrumb: "currencies",
                },
                children: [
                    {
                        path: "list",
                        component: CurrencyListComponent,
                        name: "admin.settings.currency.list",
                        meta: {
                            isFrontend: false,
                            auth: true,
                            permissionUrl: "settings",
                            breadcrumb: "",
                        },
                    },
                ],
            },
            {
                path: "languages",
                component: LanguageComponent,
                name: "admin.settings.language",
                redirect: { name: "admin.settings.language.list" },
                meta: {
                    isFrontend: false,
                    auth: true,
                    permissionUrl: "settings",
                    breadcrumb: "languages",
                },
                children: [
                    {
                        path: "list",
                        component: LanguageListComponent,
                        name: "admin.settings.language.list",
                        meta: {
                            isFrontend: false,
                            auth: true,
                            permissionUrl: "settings",
                            breadcrumb: "",
                        },
                    },
                    {
                        path: "show/:id",
                        component: LanguageShowComponent,
                        name: "admin.settings.language.show",
                        meta: {
                            isFrontend: false,
                            auth: true,
                            permissionUrl: "settings",
                            breadcrumb: "view",
                        },
                    },
                ],
            },
            {
                path: "role",
                component: RoleComponent,
                name: "admin.settings.role",
                redirect: { name: "admin.settings.role.list" },
                meta: {
                    isFrontend: false,
                    auth: true,
                    permissionUrl: "settings",
                    breadcrumb: "role_permissions",
                },
                children: [
                    {
                        path: "list",
                        component: RoleListComponent,
                        name: "admin.settings.role.list",
                        meta: {
                            isFrontend: false,
                            auth: true,
                            permissionUrl: "settings",
                            breadcrumb: "",
                        },
                    },
                    {
                        path: "show/:id",
                        component: RoleShowComponent,
                        name: "admin.settings.role.show",
                        meta: {
                            isFrontend: false,
                            auth: true,
                            permissionUrl: "settings",
                            breadcrumb: "view",
                        },
                    },
                ],
            },
            {
                path: "sms-gateway",
                component: SmsGatewayComponent,
                name: "admin.settings.smsGateway",
                meta: {
                    isFrontend: false,
                    auth: true,
                    permissionUrl: "settings",
                    breadcrumb: "sms_gateway",
                },
            },
            {
                path: "payment-gateway",
                component: PaymentGatewayComponent,
                name: "admin.settings.paymentGateway",
                meta: {
                    isFrontend: false,
                    auth: true,
                    permissionUrl: "settings",
                    breadcrumb: "payment_gateway",
                },
            },
            {
                path: "pages",
                component: PageComponent,
                name: "admin.settings.page",
                redirect: { name: "admin.settings.page.list" },
                meta: {
                    isFrontend: false,
                    auth: true,
                    permissionUrl: "settings",
                    breadcrumb: "pages",
                },
                children: [
                    {
                        path: "list",
                        component: PageListComponent,
                        name: "admin.settings.page.list",
                        meta: {
                            isFrontend: false,
                            auth: true,
                            permissionUrl: "settings",
                            breadcrumb: "",
                        },
                    },
                    {
                        path: "show/:id",
                        component: PageShowComponent,
                        name: "admin.settings.page.show",
                        meta: {
                            isFrontend: false,
                            auth: true,
                            permissionUrl: "settings",
                            breadcrumb: "view",
                        },
                    },
                ],
            },
            {
                path: "license",
                component: LicenseComponent,
                name: "admin.settings.license",
                meta: {
                    isFrontend: false,
                    auth: true,
                    permissionUrl: "settings",
                    breadcrumb: "license",
                }
            },
            {
                path: "notification",
                component: NotificationComponent,
                name: "admin.settings.notification",
                meta: {
                    isFrontend: false,
                    auth: true,
                    permissionUrl: "settings",
                    breadcrumb: "notification",
                },
            },
            {
                path: "item-attributes",
                component: ItemAttributeComponent,
                name: "admin.settings.itemAttribute",
                redirect: { name: "admin.settings.itemAttribute.list" },
                meta: {
                    isFrontend: false,
                    auth: true,
                    permissionUrl: "settings",
                    breadcrumb: "item_attributes",
                },
                children: [
                    {
                        path: "list",
                        component: ItemAttributeListComponent,
                        name: "admin.settings.itemAttribute.list",
                        meta: {
                            isFrontend: false,
                            auth: true,
                            permissionUrl: "settings",
                            breadcrumb: "",
                        },
                    },
                ],
            },
            {
                path: "notification-alert",
                component: NotificationAlertComponent,
                name: "admin.settings.notificationAlert",
                meta: {
                    isFrontend: false,
                    auth: true,
                    permissionUrl: "settings",
                    breadcrumb: "notification_alert",
                }
            },
            {
                path: "analytics",
                component: AnalyticComponent,
                name: "admin.settings.analytic",
                redirect: { name: "admin.settings.analytic.list" },
                meta: {
                    isFrontend: false,
                    auth: true,
                    permissionUrl: "settings",
                    breadcrumb: "analytics",
                },
                children: [
                    {

                        path: "list",
                        component: AnalyticListComponent,
                        name: "admin.settings.analytic.list",
                        meta: {
                            isFrontend: false,
                            auth: true,
                            permissionUrl: "settings",
                            breadcrumb: "",
                        },
                    },
                    {
                        path: "show/:id",
                        component: AnalyticShowComponent,
                        name: "admin.settings.analytic.show",
                        meta: {
                            isFrontend: false,
                            auth: true,
                            permissionUrl: "settings",
                            breadcrumb: "view",
                        },
                    },
                ]
            },
            {
                path: "taxes",
                component: TaxComponent,
                name: "admin.settings.tax",
                redirect: { name: "admin.settings.tax.list" },
                meta: {
                    isFrontend: false,
                    auth: true,
                    permissionUrl: "settings",
                    breadcrumb: "taxes",
                },
                children: [
                    {
                        path: "list",
                        component: TaxListComponent,
                        name: "admin.settings.tax.list",
                        meta: {
                            isFrontend: false,
                            auth: true,
                            permissionUrl: "settings",
                            breadcrumb: "",
                        },
                    },
                ],
            },
            {
                path: "item-categories",
                component: ItemCategoryComponent,
                name: "admin.settings.itemCategory",
                redirect: { name: "admin.settings.itemCategory.list" },
                meta: {
                    isFrontend: false,
                    auth: true,
                    permissionUrl: "settings",
                    breadcrumb: "item_categories",
                },
                children: [
                    {
                        path: "list",
                        component: ItemCategoryListComponent,
                        name: "admin.settings.itemCategory.list",
                        meta: {
                            isFrontend: false,
                            auth: true,
                            permissionUrl: "settings",
                            breadcrumb: "",
                        },
                    },
                    {
                        path: "show/:id",
                        component: ItemCategoryShowComponent,
                        name: "admin.settings.itemCategory.show",
                        meta: {
                            isFrontend: false,
                            auth: true,
                            permissionUrl: "settings",
                            breadcrumb: "view",
                        },
                    },
                ],
            },
        ],
    },
];
